@ckeditor/ckeditor5-comments 45.2.1 → 46.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index-editor.css +69 -67
  3. package/dist/index.css +80 -78
  4. package/dist/index.js +11 -9
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +19 -19
  152. package/src/annotations/annotation.d.ts +4 -4
  153. package/src/annotations/annotation.js +2 -2
  154. package/src/annotations/annotationcollection.d.ts +2 -2
  155. package/src/annotations/annotationcollection.js +1 -1
  156. package/src/annotations/annotations.d.ts +4 -4
  157. package/src/annotations/annotations.js +1 -1
  158. package/src/annotations/annotationsuis.d.ts +4 -4
  159. package/src/annotations/annotationsuis.js +1 -1
  160. package/src/annotations/editorannotations.d.ts +4 -4
  161. package/src/annotations/editorannotations.js +1 -1
  162. package/src/annotations/inlineannotations.d.ts +5 -5
  163. package/src/annotations/inlineannotations.js +1 -1
  164. package/src/annotations/narrowsidebar.d.ts +5 -5
  165. package/src/annotations/narrowsidebar.js +1 -1
  166. package/src/annotations/sidebar.d.ts +14 -13
  167. package/src/annotations/sidebar.js +1 -1
  168. package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
  169. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  170. package/src/annotations/view/annotationview.d.ts +1 -1
  171. package/src/annotations/view/annotationview.js +1 -1
  172. package/src/annotations/view/sidebaritemview.d.ts +1 -1
  173. package/src/annotations/view/sidebaritemview.js +2 -1
  174. package/src/annotations/view/sidebarview.d.ts +4 -4
  175. package/src/annotations/view/sidebarview.js +2 -1
  176. package/src/annotations/widesidebar.d.ts +5 -5
  177. package/src/annotations/widesidebar.js +1 -1
  178. package/src/augmentation.d.ts +2 -2
  179. package/src/comments/addcommentthreadcommand.d.ts +48 -9
  180. package/src/comments/addcommentthreadcommand.js +1 -1
  181. package/src/comments/commentsarchive.d.ts +3 -3
  182. package/src/comments/commentsarchive.js +1 -1
  183. package/src/comments/commentsarchiveui.d.ts +4 -4
  184. package/src/comments/commentsarchiveui.js +1 -1
  185. package/src/comments/commentsediting.d.ts +7 -7
  186. package/src/comments/commentsediting.js +1 -1
  187. package/src/comments/commentsrepository.d.ts +14 -6
  188. package/src/comments/commentsrepository.js +3 -3
  189. package/src/comments/commentsui.d.ts +5 -5
  190. package/src/comments/commentsui.js +1 -1
  191. package/src/comments/integrations/clipboard.d.ts +1 -1
  192. package/src/comments/integrations/clipboard.js +1 -1
  193. package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
  194. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  195. package/src/comments/integrations/importword.d.ts +1 -1
  196. package/src/comments/integrations/importword.js +1 -1
  197. package/src/comments/integrations/showcommenthighlights.d.ts +1 -1
  198. package/src/comments/integrations/showcommenthighlights.js +1 -1
  199. package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
  200. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  201. package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
  202. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  203. package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
  204. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  205. package/src/comments/ui/commentthreadcontroller.d.ts +2 -2
  206. package/src/comments/ui/commentthreadcontroller.js +2 -2
  207. package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
  208. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  209. package/src/comments/ui/view/basecommentview.d.ts +1 -1
  210. package/src/comments/ui/view/basecommentview.js +1 -1
  211. package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
  212. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  213. package/src/comments/ui/view/commentcontentview.d.ts +1 -1
  214. package/src/comments/ui/view/commentcontentview.js +1 -1
  215. package/src/comments/ui/view/commentinputview.d.ts +4 -4
  216. package/src/comments/ui/view/commentinputview.js +1 -1
  217. package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
  218. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  219. package/src/comments/ui/view/commentslistview.d.ts +2 -2
  220. package/src/comments/ui/view/commentslistview.js +1 -1
  221. package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
  222. package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
  223. package/src/comments/ui/view/commentthreadheaderview.d.ts +2 -2
  224. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  225. package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
  226. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  227. package/src/comments/ui/view/commentthreadview.d.ts +2 -2
  228. package/src/comments/ui/view/commentthreadview.js +2 -2
  229. package/src/comments/ui/view/commentview.d.ts +3 -3
  230. package/src/comments/ui/view/commentview.js +2 -2
  231. package/src/comments.d.ts +10 -10
  232. package/src/comments.js +1 -1
  233. package/src/commentsonly.d.ts +2 -2
  234. package/src/commentsonly.js +1 -1
  235. package/src/config.d.ts +3 -3
  236. package/src/index.d.ts +29 -25
  237. package/src/index.js +1 -1
  238. package/src/utils/common-translations.js +1 -1
  239. package/src/utils/createmutationobserver.d.ts +1 -1
  240. package/src/utils/createmutationobserver.js +1 -1
  241. package/theme/comment.css +2 -1
  242. package/theme/commentinput.css +2 -1
@@ -9,13 +9,13 @@
9
9
  import { PendingActions, ContextPlugin, Editor, type Context } from 'ckeditor5/src/core.js';
10
10
  import { Collection } from 'ckeditor5/src/utils.js';
11
11
  import { Users, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
- import CommentThreadController from './ui/commentthreadcontroller.js';
12
+ import { CommentThreadController } from './ui/commentthreadcontroller.js';
13
13
  import '../../theme/comment.css';
14
14
  import '../../theme/commentthread.css';
15
15
  import '../../theme/commentinput.css';
16
- import Annotation, { type AnnotationTarget } from '../annotations/annotation.js';
17
- import Annotations from '../annotations/annotations.js';
18
- import type { default as BaseCommentThreadView } from './ui/view/basecommentthreadview.js';
16
+ import { Annotation, type AnnotationTarget } from '../annotations/annotation.js';
17
+ import { Annotations } from '../annotations/annotations.js';
18
+ import type { BaseCommentThreadView } from './ui/view/basecommentthreadview.js';
19
19
  /**
20
20
  * Stores the list of {@link module:comments/comments/commentsrepository~CommentThread}
21
21
  * and provides event-driven API for managing them. It is also responsible for using the comments adapter
@@ -50,7 +50,7 @@ import type { default as BaseCommentThreadView } from './ui/view/basecommentthre
50
50
  *
51
51
  * For more information about the comments adapter see {@link module:comments/comments/commentsrepository~CommentsAdapter}.
52
52
  */
53
- export default class CommentsRepository extends ContextPlugin {
53
+ export declare class CommentsRepository extends ContextPlugin {
54
54
  /**
55
55
  * The currently active comment thread.
56
56
  * An annotation with this thread will be marked as active.
@@ -206,6 +206,14 @@ export default class CommentsRepository extends ContextPlugin {
206
206
  skipEmpty?: boolean;
207
207
  toJSON: true;
208
208
  }): Array<CommentThreadDataJSON>;
209
+ /**
210
+ * Returns the annotation associated with the given comment thread.
211
+ */
212
+ getAnnotationForCommentThread(thread: CommentThread): Annotation | null;
213
+ /**
214
+ * Returns the comment thread associated with the given annotation.
215
+ */
216
+ getCommentThreadForAnnotation(annotation: Annotation): CommentThread | null;
209
217
  /**
210
218
  * Marks a comment thread with the given ID as active.
211
219
  * When `threadId` is `null`, the currently active comment thread will be deactivated.
@@ -237,7 +245,7 @@ export default class CommentsRepository extends ContextPlugin {
237
245
  */
238
246
  getPermissions(channelId?: string | symbol): CommentPermissionsConfig;
239
247
  }
240
- interface CommentPermissionsConfig {
248
+ export interface CommentPermissionsConfig {
241
249
  /**
242
250
  * Allows for removing other users' threads.
243
251
  */
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23caf3=_0x2c12;(function(_0x4dd04b,_0x49a982){const _0x16819b=_0x2c12,_0x19549c=_0x4dd04b();while(!![]){try{const _0x5519e1=-parseInt(_0x16819b(0x170))/0x1*(parseInt(_0x16819b(0x187))/0x2)+-parseInt(_0x16819b(0x115))/0x3*(-parseInt(_0x16819b(0x1a3))/0x4)+-parseInt(_0x16819b(0x1c9))/0x5*(-parseInt(_0x16819b(0x149))/0x6)+-parseInt(_0x16819b(0x1c8))/0x7+-parseInt(_0x16819b(0x15c))/0x8*(parseInt(_0x16819b(0x12f))/0x9)+parseInt(_0x16819b(0x121))/0xa+-parseInt(_0x16819b(0x164))/0xb;if(_0x5519e1===_0x49a982)break;else _0x19549c['push'](_0x19549c['shift']());}catch(_0x8d5c33){_0x19549c['push'](_0x19549c['shift']());}}}(_0xa99d,0x9a2b7));import{PendingActions as _0x416075,ContextPlugin as _0x1181f2,Editor as _0x2892cd}from'ckeditor5/src/core.js';import{Collection as _0x5bda39,uid as _0x55e281,CKEditorError as _0x176115,ObservableMixin as _0x9e3c52}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x237953,hashObject as _0x38d661,Users as _0x5c9b77}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x45a0b1,isEqual as _0x9c6c07,set as _0x5454e4,unset as _0x5d3ca3}from'es-toolkit/compat';import _0x2621b8 from'./ui/commentthreadcontroller.js';import _0x2755a0 from'./ui/view/commentthreadview.js';import _0x44a8c7 from'./ui/view/commentview.js';import{getTranslation as _0x53195a}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';function _0xa99d(){const _0x21bb40=['commentId','add','author','set','isOfficialPlugin','has','commentsrepository-add-comment-to-missing-comment-thread','_addComment','removeAttribute','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','getIndex','_isSubmitted','setActiveCommentThread','context','weight','isFromAdapter','push','12tQYohK','setPermissions','commentsrepository-remove-comment-missing-comment-thread','model','_addCommentThread','getCommentThread','commentsrepository-remove-missing-comment','isSubmitted','commentsrepository-update-comment-internal-error','map','commentsrepository-resolved-comment-thread','setUnlinkedAt','editorDestroyed','addComment','init','then','isAttached','bodyCollectionContainer','isExternal','_removeCommentThread','archivedAt','commentsrepository-active-missing-comment-thread','change:activeAnnotations','commentUpdated','change:_readOnlyChannels','function','resolvedAt','isActive','commentsrepository-add-comment-user-not-exists','_readOnlyChannels','length','_bindAnnotationToEditors','commentsrepository-remove-comment-internal-error','focusableElements','unlinkedAt','_updateCommentThread','licenseKey','1471351yELhch','10XfMVht','comments.copyMarkers','from','values','listenTo','focus','delete','external:','once','lowest','find','updateComment','_createCommentThreadView','innerHTML','change:authoredAt','getComment','activeCommentThread','addUser','requires','comment','commentsrepository-invalid-comment-content','commentsrepository-reopen-comment-thread','trim','commentsrepository-attach-missing-comment-thread','setContext','define','modifyAll','canComment','addCommentThread','commentsrepository-update-comment-invalid-content','attributes','commentsrepository-active-not-attached','view','commentsrepository-get-comment-invalid-id','CommentThreadView','_unbindEditors','comments.CommentView','_createNewComment','PendingActions','commentsrepository-invalid-comment-thread-id','_getExternalAuthor','reopen','admin','commentsrepository-remove-missing-comment-thread','_adapter','_viewToController','getByInnerView','commentsrepository-remove-comment-thread-internal-error','PENDING_ACTION_COMMENT_THREAD','catch','_update','1247175OHqkhF','reduce','_threadToController','getPermissions','get','openNewCommentThread','@external','isVisible','commentsrepository-add-comment-thread-internal-error','comments.editorConfig','_updateComment','bind','10230400GdhTsB','createCommentThreadController','threadId','getCommentThreads','commentsrepository-resolve-comment-thread-internal-error','adapter','hasCommentThread','isRemovable','escape','submitCommentThread','noChannel','submit','commentsrepository-missing-thread-and-adapter-method','isResolved','9837jLyJsR','plugins','commentsrepository-update-missing-comment','commentsrepository-update-comment-missing-comment-thread','removeCommentThread','CommentsRepository','stopListening','isReadOnly','comments.maxCommentCharsWhenCollapsed','resolve','string','resolvedBy','_removeComment','commentsrepository-invalid-commentid','_resolveCommentThread','change:isDirty','_isAttached','commentsrepository-missing-comment-thread','createElement','resolveCommentThread','assign','_add','_findOptimalIndex','reopenCommentThread','commentsrepository-update-comment-thread-internal-error','focusTracker','2062794xiwTDR','body','warn','activate','type','commentThreadInputView','fire','_hasTargetInContent','_remove','_submitCommentThread','commentInputView','content','comments.CommentThreadView','removeComment','commentsrepository-adapter-already-set','commentsListView','commentsrepository-invalid-comment-authorid','_permissions','_attachCommentThread','7096xYBRnN','div','editorReady','createdAt','highest','commentsrepository-duplicated-comment-thread-id','_detachCommentThread','remove','4648875NqikrV','getTime','innerView','deactivateAll','switchReadOnly','isDirty','attachTo','fetchCommentThread','authorName','write','refreshVisibility','_threads','5HUSgrd','textContent','destroy','updateCommentThread','_reopenCommentThread','creator','locale','commentsrepository-missing-target','comments.maxCommentsWhenCollapsed','commentsrepository-add-comment-internal-error','getUser','commentsrepository-reopen-comment-thread-internal-error','change:_permissions','commentsrepository-fetch-comment-thread','error','toJSON','isEditable','channelId','pluginName','max','_repository','comments','setAttribute','289610jJSLCP','CommentView','isPremiumPlugin','_removeActiveAnnotation','config','authoredAt','update','comments.maxThreadTotalWeight','filter','isResolvable','_updateActiveAnnotation'];_0xa99d=function(){return _0x21bb40;};return _0xa99d();}import'../../theme/commentinput.css';import _0x4f0ad8 from'../annotations/view/annotationview.js';import _0x3c6c5e from'../annotations/annotation.js';function _0x2c12(_0x20fc22,_0xed921e){const _0xa99d3=_0xa99d();return _0x2c12=function(_0x2c12dd,_0x20b56f){_0x2c12dd=_0x2c12dd-0xeb;let _0x27b10c=_0xa99d3[_0x2c12dd];return _0x27b10c;},_0x2c12(_0x20fc22,_0xed921e);}import _0x2e3309 from'../annotations/annotations.js';const Nt=Symbol(_0x23caf3(0x12b)),xt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x1181f2{[_0x23caf3(0x16f)];[_0x23caf3(0x117)];[_0x23caf3(0x10f)];static get[_0x23caf3(0xf4)](){return[_0x2e3309,_0x416075,_0x5c9b77];}static get[_0x23caf3(0x182)](){const _0x398972=_0x23caf3;return _0x398972(0x134);}static get[_0x23caf3(0x196)](){return!0x0;}static get[_0x23caf3(0x189)](){return!0x0;}constructor(_0x219566){const _0x55fbd6=_0x23caf3;super(_0x219566),this[_0x55fbd6(0x16f)]=new Map(),this[_0x55fbd6(0x117)]=new Map(),this[_0x55fbd6(0x10f)]=new Map(),this[_0x55fbd6(0x195)](_0x55fbd6(0x1c0),new Set()),this[_0x55fbd6(0x195)](_0x55fbd6(0x15a),new Map());const _0x3ab40e=this[_0x55fbd6(0x19f)][_0x55fbd6(0x18b)];_0x3ab40e[_0x55fbd6(0xfb)](_0x55fbd6(0x178),0x2),_0x3ab40e[_0x55fbd6(0xfb)](_0x55fbd6(0x18e),0x1f4),_0x3ab40e[_0x55fbd6(0xfb)](_0x55fbd6(0x137),0x8c),_0x3ab40e[_0x55fbd6(0xfb)](_0x55fbd6(0x155),_0x2755a0),_0x3ab40e[_0x55fbd6(0xfb)](_0x55fbd6(0x106),_0x44a8c7),_0x3ab40e[_0x55fbd6(0x119)](_0x55fbd6(0x11e))||console[_0x55fbd6(0x14b)](_0x55fbd6(0x19b));}[_0x23caf3(0x1b1)](){const _0x8eb8c4=_0x23caf3,_0x2e553a=this[_0x8eb8c4(0x19f)][_0x8eb8c4(0x130)][_0x8eb8c4(0x119)](_0x2e3309);this[_0x8eb8c4(0x195)](_0x8eb8c4(0xf2),null),this['on'](_0x8eb8c4(0xfe),(_0x259068,_0x3ee1f5)=>this[_0x8eb8c4(0x1a7)](_0x3ee1f5)),this['on'](_0x8eb8c4(0x12a),(_0x32134d,_0x2e58ca)=>this[_0x8eb8c4(0x152)](_0x2e58ca)),this['on'](_0x8eb8c4(0x142),(_0x5a1ed0,_0xdd63a9)=>this[_0x8eb8c4(0x13d)](_0xdd63a9)),this['on'](_0x8eb8c4(0x142),(_0x4b7461,_0x39730a)=>this[_0x8eb8c4(0x191)](_0x39730a),{'priority':_0x8eb8c4(0xeb)}),this['on'](_0x8eb8c4(0x146),(_0xd47bc2,_0x9e5e5b)=>this[_0x8eb8c4(0x174)](_0x9e5e5b)),this['on'](_0x8eb8c4(0x146),(_0x85e0af,_0x2974ca)=>this[_0x8eb8c4(0x191)](_0x2974ca),{'priority':_0x8eb8c4(0xeb)}),this['on'](_0x8eb8c4(0x133),(_0x5b2de0,_0x45eb5b)=>this[_0x8eb8c4(0x1b6)](_0x45eb5b)),this['on'](_0x8eb8c4(0x173),(_0x4ec92f,_0x695eb9)=>this[_0x8eb8c4(0x1c6)](_0x695eb9)),this['on'](_0x8eb8c4(0x173),(_0x3c1495,_0x5dd816)=>this[_0x8eb8c4(0x191)](_0x5dd816),{'priority':_0x8eb8c4(0xeb)}),this['on'](_0x8eb8c4(0x1b0),(_0x4f5a8a,_0x44c276)=>this[_0x8eb8c4(0x199)](_0x44c276)),this['on'](_0x8eb8c4(0xed),(_0x2bb7e7,_0x1b6928)=>this[_0x8eb8c4(0x11f)](_0x1b6928)),this['on'](_0x8eb8c4(0x156),(_0x2b2ee5,_0x922113)=>this[_0x8eb8c4(0x13b)](_0x922113)),this['on'](_0x8eb8c4(0x1b0),(_0x59f57f,{threadId:_0x7d44fa,isFromAdapter:_0xad14f3})=>{const _0x2d3cc6=_0x8eb8c4;if(_0xad14f3)return;const _0x4a9de3=this[_0x2d3cc6(0x1a8)](_0x7d44fa),_0x265450=_0x4a9de3&&this[_0x2d3cc6(0x117)][_0x2d3cc6(0x119)](_0x4a9de3);_0x265450&&_0x265450[_0x2d3cc6(0x102)][_0x2d3cc6(0x158)][_0x2d3cc6(0x1ce)](-0x1);},{'priority':_0x8eb8c4(0xeb)}),this[_0x8eb8c4(0x1cd)](_0x2e553a,_0x8eb8c4(0x1b9),(_0x2d4750,_0x4d479e,_0x4ee206)=>{const _0x1ba9a1=_0x8eb8c4,_0x1aae92=Array[_0x1ba9a1(0x1cb)](_0x4ee206)[_0x1ba9a1(0x1ac)](_0x2274cf=>this[_0x1ba9a1(0x10f)][_0x1ba9a1(0x119)](_0x2274cf[_0x1ba9a1(0x166)]))[_0x1ba9a1(0x18f)](Boolean)[0x0];this[_0x1ba9a1(0xf2)]=_0x1aae92?_0x1aae92[_0x1ba9a1(0x1a6)]:null;});}set[_0x23caf3(0x126)](_0x10a2ae){const _0x389271=_0x23caf3;if(this[_0x389271(0x10e)])throw new _0x176115(_0x389271(0x157));this[_0x389271(0x10e)]=_0x10a2ae;}get[_0x23caf3(0x126)](){const _0x31f922=_0x23caf3;return this[_0x31f922(0x10e)];}[_0x23caf3(0xfe)]({channelId:_0x4c6f41=Nt,threadId:_0x346a2f=_0x55e281(),comments:_0x399880=[],unlinkedAt:_0xfab813=null,resolvedAt:_0x31f4bd=null,resolvedBy:_0x4a6504=null,target:_0x1a59d8=null,context:_0x51bbbf=null,attributes:_0x2b807c={},isResolvable:_0x520ae7=!0x0,isSubmitted:_0x4546fd=!0x1,isFromAdapter:_0x2f0cd7=!0x1}={}){const _0x42c138=_0x23caf3;return this[_0x42c138(0x14f)](Pt(_0x42c138(0xfe),_0x4c6f41),{'channelId':_0x4c6f41,'threadId':_0x346a2f,'comments':_0x399880,'unlinkedAt':_0xfab813,'resolvedAt':_0x31f4bd,'resolvedBy':_0x4a6504,'target':_0x1a59d8,'context':_0x51bbbf,'attributes':_0x2b807c,'isFromAdapter':_0x2f0cd7,'isResolvable':_0x520ae7,'isSubmitted':_0x4546fd}),this[_0x42c138(0x1a8)](_0x346a2f);}[_0x23caf3(0x11a)]({channelId:_0x2d8c55=Nt,threadId:_0x39cca4=_0x55e281(),target:_0xe2c705,context:_0x1db6f7=null,isResolvable:_0x32539b=!0x0}){const _0x2d848c=_0x23caf3;if(this[_0x2d848c(0x1c0)][_0x2d848c(0x197)](_0x2d8c55)||this[_0x2d848c(0x1c0)][_0x2d848c(0x197)](void 0x0))return null;if(!_0xe2c705)throw new _0x176115(_0x2d848c(0x177));const _0x22c5b5=this[_0x2d848c(0xfe)]({'channelId':_0x2d8c55,'threadId':_0x39cca4,'target':_0xe2c705,'context':_0x1db6f7,'isResolvable':_0x32539b});if(!_0x22c5b5)return null;const _0x3f43a9=this[_0x2d848c(0x117)][_0x2d848c(0x119)](_0x22c5b5),_0x4ce6e2=_0x3f43a9[_0x2d848c(0x102)][_0x2d848c(0x14e)][_0x2d848c(0x153)],_0x247e1d=this[_0x2d848c(0x19f)][_0x2d848c(0x130)][_0x2d848c(0x119)](_0x2e3309),_0x11ffa0=_0x247e1d[_0x2d848c(0x110)](_0x3f43a9[_0x2d848c(0x102)]);return _0x247e1d[_0x2d848c(0x14c)](_0x11ffa0),_0x4ce6e2[_0x2d848c(0x1d1)](_0x2d848c(0x15e),()=>_0x4ce6e2[_0x2d848c(0x1ce)]()),_0x22c5b5;}[_0x23caf3(0x127)](_0x3a6473){const _0x5eff64=_0x23caf3;if(_0x5eff64(0x139)!=typeof _0x3a6473)throw new _0x176115(_0x5eff64(0x109));return this[_0x5eff64(0x16f)][_0x5eff64(0x197)](_0x3a6473);}[_0x23caf3(0x173)]({channelId:_0x370899=Nt,threadId:_0x1665b4,context:_0x5f8713,unlinkedAt:_0x104de9,attributes:_0x33c101,isFromAdapter:_0x473224=!0x1}){const _0x33b68b=_0x23caf3;return this[_0x33b68b(0x14f)](Pt(_0x33b68b(0x173),_0x370899),{'channelId':_0x370899,'threadId':_0x1665b4,'context':_0x5f8713,'unlinkedAt':_0x104de9,'attributes':_0x33c101,'isFromAdapter':_0x473224}),this[_0x33b68b(0x1a8)](_0x1665b4);}[_0x23caf3(0x1a8)](_0x123818){const _0x52c822=_0x23caf3;if(_0x52c822(0x139)!=typeof _0x123818)throw new _0x176115(_0x52c822(0x109));return this[_0x52c822(0x16f)][_0x52c822(0x119)](_0x123818);}[_0x23caf3(0x16b)]({channelId:_0xf5b082,threadId:_0x14d43e}={}){const _0x202c05=_0x23caf3,_0x1cb7d5=this[_0x202c05(0x1a8)](_0x14d43e);if(_0x1cb7d5)return Promise[_0x202c05(0x138)](_0x1cb7d5);if(!this[_0x202c05(0x126)])return Promise[_0x202c05(0x138)](void 0x0);if(_0x202c05(0x1bc)!=typeof this[_0x202c05(0x126)][_0x202c05(0x1a8)])throw new _0x176115(_0x202c05(0x12d),this[_0x202c05(0x19f)]);return this[_0x202c05(0x126)][_0x202c05(0x1a8)]({'channelId':_0xf5b082,'threadId':_0x14d43e})[_0x202c05(0x1b2)](_0x3e239f=>this[_0x202c05(0x127)](_0x14d43e)?this[_0x202c05(0x1a8)](_0x14d43e):_0x3e239f?this[_0x202c05(0xfe)](Object[_0x202c05(0x143)]({'isFromAdapter':!0x0,'channelId':_0xf5b082},_0x3e239f)):void 0x0)[_0x202c05(0x113)](_0x3f7854=>{const _0x845d80=_0x202c05;throw console[_0x845d80(0x17e)](_0x3f7854),new _0x176115(_0x845d80(0x17d),this[_0x845d80(0x19f)]);});}[_0x23caf3(0x124)]({channelId:_0x2a4aef,skipNotAttached:_0x34f79c=!0x1,skipEmpty:_0x3cc858=!0x1,toJSON:_0x317dfa=!0x1}={}){const _0x523da1=_0x23caf3,_0x3de8a0=[];for(const _0x44d2f2 of this[_0x523da1(0x16f)][_0x523da1(0x1cc)]())_0x2a4aef&&_0x44d2f2[_0x523da1(0x181)]!==_0x2a4aef||_0x34f79c&&!_0x44d2f2[_0x523da1(0x1b3)]||_0x3cc858&&0x0===_0x44d2f2[_0x523da1(0x1c1)]||_0x3de8a0[_0x523da1(0x1a2)](_0x44d2f2);return _0x317dfa?_0x3de8a0[_0x523da1(0x1ac)](_0x5c5855=>_0x5c5855[_0x523da1(0x17f)]()):_0x3de8a0;}[_0x23caf3(0x19e)](_0x4672d1){const _0x14a0d8=_0x23caf3,_0xf542ac=this[_0x14a0d8(0x19f)][_0x14a0d8(0x130)][_0x14a0d8(0x119)](_0x2e3309);if(!_0x4672d1)return void(this[_0x14a0d8(0xf2)]&&_0xf542ac[_0x14a0d8(0x167)]());const _0x351521=this[_0x14a0d8(0x1a8)](_0x4672d1);if(!_0x351521)throw new _0x176115(_0x14a0d8(0x1b8),null,{'threadId':_0x4672d1});if(!this[_0x14a0d8(0x117)][_0x14a0d8(0x197)](_0x351521))throw new _0x176115(_0x14a0d8(0x101),null,{'threadId':_0x4672d1});const _0x4e2937=_0xf542ac[_0x14a0d8(0x110)](this[_0x14a0d8(0x117)][_0x14a0d8(0x119)](_0x351521)[_0x14a0d8(0x102)]);_0xf542ac[_0x14a0d8(0x14c)](_0x4e2937);}[_0x23caf3(0x168)](_0x47227a,_0x4a014b){const _0x9cc3c1=_0x23caf3;_0x47227a?this[_0x9cc3c1(0x1c0)][_0x9cc3c1(0x193)](_0x4a014b):this[_0x9cc3c1(0x1c0)][_0x9cc3c1(0x1cf)](_0x4a014b),this[_0x9cc3c1(0x14f)](_0x9cc3c1(0x1bb),_0x9cc3c1(0x1c0),this[_0x9cc3c1(0x1c0)],this[_0x9cc3c1(0x1c0)]);}[_0x23caf3(0x136)](_0x4f70c9){const _0x50b57b=_0x23caf3;return this[_0x50b57b(0x1c0)][_0x50b57b(0x197)](_0x4f70c9)||this[_0x50b57b(0x1c0)][_0x50b57b(0x197)](void 0x0);}[_0x23caf3(0x122)](_0x56071d,_0x44db18){return new _0x2621b8(_0x56071d,_0x44db18);}[_0x23caf3(0x1a4)](_0x5ea3f2,_0x31b01d=Nt){const _0x30ca36=_0x23caf3;this[_0x30ca36(0x15a)][_0x30ca36(0x195)](_0x31b01d,_0x5ea3f2),this[_0x30ca36(0x14f)](_0x30ca36(0x17c),_0x30ca36(0x15a),this[_0x30ca36(0x15a)],this[_0x30ca36(0x15a)]);}[_0x23caf3(0x118)](_0x26c520=Nt){const _0xa20806=_0x23caf3;return this[_0xa20806(0x15a)][_0xa20806(0x197)](_0x26c520)?this[_0xa20806(0x15a)][_0xa20806(0x119)](_0x26c520):xt;}[_0x23caf3(0x1a7)]({channelId:_0x513eb4,threadId:_0x46f26c,comments:_0x3cf14c,unlinkedAt:_0x492dcd,resolvedAt:_0x52bb1c,resolvedBy:_0x34f2b0,target:_0x1cffbd,context:_0x313145,attributes:_0x11a96f,isFromAdapter:_0x1185e4,isResolvable:_0x3beeaa,isSubmitted:_0x212abf}){const _0x14be97=_0x23caf3;if(_0x14be97(0x139)!=typeof _0x46f26c)throw new _0x176115(_0x14be97(0x109),null,{'threadId':_0x46f26c});if(this[_0x14be97(0x127)](_0x46f26c))throw new _0x176115(_0x14be97(0x161),null,{'threadId':_0x46f26c});const _0x2a37e4=new CommentThread(this,{'channelId':_0x513eb4,'id':_0x46f26c,'context':_0x313145,'attributes':_0x11a96f,'unlinkedAt':_0x492dcd,'resolvedAt':_0x52bb1c,'resolvedBy':_0x34f2b0?this[_0x14be97(0x19f)][_0x14be97(0x130)][_0x14be97(0x119)](_0x5c9b77)[_0x14be97(0x17a)](_0x34f2b0):null,'isResolvable':_0x3beeaa,'isSubmitted':_0x212abf||_0x1185e4});this[_0x14be97(0x16f)][_0x14be97(0x195)](_0x46f26c,_0x2a37e4);for(const _0x4168b9 of _0x3cf14c)_0x2a37e4[_0x14be97(0x144)](this[_0x14be97(0x107)]({'threadId':_0x46f26c,..._0x4168b9}));return _0x1cffbd&&_0x2a37e4[_0x14be97(0x16a)](_0x1cffbd),_0x1185e4||!_0x2a37e4[_0x14be97(0x1c1)]?Promise[_0x14be97(0x138)]():this[_0x14be97(0x152)]({'channelId':_0x513eb4,'threadId':_0x46f26c});}[_0x23caf3(0x152)]({channelId:_0x51e13c,threadId:_0x40566a}){const _0x20998c=_0x23caf3;if(!this[_0x20998c(0x127)](_0x40566a))throw new _0x176115(_0x20998c(0x140),this);const _0xde6435=this[_0x20998c(0x1a8)](_0x40566a);if(_0xde6435[_0x20998c(0x19d)]=!0x0,!this[_0x20998c(0x126)]||_0x20998c(0x1bc)!=typeof this[_0x20998c(0x126)][_0x20998c(0xfe)])return Promise[_0x20998c(0x138)]();const {id:_0x4f8062,comments:_0x5599e3,resolvedAt:_0x45e0fa,resolvedBy:_0x1816bd,context:_0x183585,attributes:_0x5d5e4d}=_0xde6435,_0x4a14ec=this[_0x20998c(0x19f)][_0x20998c(0x130)][_0x20998c(0x119)](_0x20998c(0x108)),_0x5293bc=_0x4a14ec[_0x20998c(0x193)](_0x53195a(this[_0x20998c(0x19f)][_0x20998c(0x176)],_0x20998c(0x112)));return this[_0x20998c(0x126)][_0x20998c(0xfe)]({'channelId':_0x51e13c,'threadId':_0x4f8062,'comments':_0x5599e3[_0x20998c(0x1ac)](_0x19b525=>_0x19b525[_0x20998c(0x17f)]()),'resolvedAt':_0x45e0fa,'resolvedBy':_0x1816bd?_0x1816bd['id']:_0x1816bd,'context':_0x183585,'attributes':_0x5d5e4d})[_0x20998c(0x1b2)](({comments:_0x486ec8})=>{const _0x35c857=_0x20998c;_0x4a14ec[_0x35c857(0x163)](_0x5293bc);for(const _0x20162b of _0x486ec8)this[_0x35c857(0x11f)]({'channelId':_0x51e13c,'threadId':_0x40566a,'commentId':_0x20162b[_0x35c857(0x192)],'createdAt':_0x20162b[_0x35c857(0x15f)],'isFromAdapter':!0x0});})[_0x20998c(0x113)](_0x52c072=>{const _0x28d2a4=_0x20998c;throw console[_0x28d2a4(0x17e)](_0x52c072),new _0x176115(_0x28d2a4(0x11d),this);});}[_0x23caf3(0x15b)]({threadId:_0x1fe5b9,target:_0x3a30d4}){const _0x47b17d=_0x23caf3,_0x2b7c1c=this[_0x47b17d(0x1a8)](_0x1fe5b9);if(!_0x2b7c1c)throw new _0x176115(_0x47b17d(0xf9),this);const _0x11ac8d=this[_0x47b17d(0x19f)][_0x47b17d(0x130)][_0x47b17d(0x119)](_0x47b17d(0x108)),_0x2dbe66=this[_0x47b17d(0x19f)][_0x47b17d(0x130)][_0x47b17d(0x119)](_0x2e3309),_0x5e6647=this[_0x47b17d(0xee)](_0x2b7c1c),_0x1081b4=new _0x2621b8(_0x2b7c1c,_0x5e6647);let _0x17a879=null;_0x5e6647['on'](_0x47b17d(0x13e),(_0x2af151,_0x14db5a,_0x2f6b8d)=>{const _0x2af475=_0x47b17d;_0x2f6b8d?_0x17a879=_0x11ac8d[_0x2af475(0x193)](_0x53195a(this[_0x2af475(0x19f)][_0x2af475(0x176)],_0x2af475(0x112))):_0x17a879&&(_0x11ac8d[_0x2af475(0x163)](_0x17a879),_0x17a879=null);}),this[_0x47b17d(0x117)][_0x47b17d(0x195)](_0x2b7c1c,_0x1081b4),this[_0x47b17d(0x10f)][_0x47b17d(0x195)](_0x5e6647,_0x1081b4);const _0xc8115f=new _0x4f0ad8(this[_0x47b17d(0x19f)][_0x47b17d(0x176)],_0x5e6647);_0xc8115f[_0x47b17d(0x120)](_0x47b17d(0x1c1))['to'](_0x5e6647),_0xc8115f[_0x47b17d(0x120)](_0x47b17d(0x169))['to'](_0x5e6647,_0x47b17d(0x169),_0x5e6647,_0x47b17d(0x1c1),(_0x106580,_0x55ca18)=>_0x106580||!_0x55ca18),_0xc8115f[_0x47b17d(0x120)](_0x47b17d(0x1be))['to'](_0x5e6647),_0xc8115f[_0x47b17d(0x14d)]=_0x47b17d(0xf5);const _0x5ec87a=new _0x3c6c5e({'view':_0xc8115f,'target':_0x3a30d4,'type':_0x47b17d(0xf5),'isVisible':!_0x2b7c1c[_0x47b17d(0x1b7)]});return _0x5e6647['on'](_0x47b17d(0x129),()=>{const _0x8d20ee=_0x47b17d;_0x5ec87a[_0x8d20ee(0x14f)](_0x8d20ee(0x129));}),this[_0x47b17d(0x1c2)](_0x5e6647,_0x5ec87a),_0x2dbe66[_0x47b17d(0x193)](_0x5ec87a),_0x5ec87a;}[_0x23caf3(0x1c2)](_0x11b4b0,_0x517921){const _0x1ea67a=_0x23caf3;this[_0x1ea67a(0x1cd)](_0x11b4b0,_0x1ea67a(0x15e),(_0x42963e,_0x2f1b01)=>{const _0x563bea=_0x1ea67a,_0x433f8c=_0x2f1b01['ui'][_0x563bea(0x102)][_0x563bea(0x14a)][_0x563bea(0x1b4)];_0x517921[_0x563bea(0x1c4)][_0x563bea(0x193)](_0x433f8c),this[_0x563bea(0x19f)]instanceof _0x2892cd&&this[_0x563bea(0x19f)]['ui'][_0x563bea(0x148)][_0x563bea(0x193)](_0x433f8c);},{'priority':_0x1ea67a(0x160)}),this[_0x1ea67a(0x1cd)](_0x11b4b0,_0x1ea67a(0x1af),(_0x505ef8,_0x452ff2)=>{const _0x5a499e=_0x1ea67a,_0x7e191e=_0x452ff2['ui'][_0x5a499e(0x102)][_0x5a499e(0x14a)][_0x5a499e(0x1b4)];_0x517921[_0x5a499e(0x1c4)][_0x5a499e(0x197)](_0x7e191e)&&_0x517921[_0x5a499e(0x1c4)][_0x5a499e(0x163)](_0x7e191e),this[_0x5a499e(0x19f)]instanceof _0x2892cd&&this[_0x5a499e(0x19f)]['ui'][_0x5a499e(0x148)][_0x5a499e(0x163)](_0x7e191e);});}[_0x23caf3(0x105)](_0x590583){const _0x2d1e38=_0x23caf3;this[_0x2d1e38(0x135)](_0x590583,_0x2d1e38(0x15e)),this[_0x2d1e38(0x135)](_0x590583,_0x2d1e38(0x1af));}[_0x23caf3(0xee)](_0x4c1d52){const _0x5028dd=_0x23caf3,_0x30da16=this[_0x5028dd(0x19f)][_0x5028dd(0x130)][_0x5028dd(0x119)](_0x5c9b77),{config:_0x39e279,locale:_0x21dcbe}=this[_0x5028dd(0x19f)],_0x342b96=_0x237953(_0x39e279[_0x5028dd(0x119)](_0x5028dd(0x176)),_0x21dcbe);return new(0x0,(_0x39e279[_0x5028dd(0x119)](_0x5028dd(0x185)))[(_0x5028dd(0x104))])(_0x21dcbe,_0x4c1d52,_0x30da16['me'],{'editorConfig':{..._0x39e279[_0x5028dd(0x119)](_0x5028dd(0x11e)),'licenseKey':this[_0x5028dd(0x19f)][_0x5028dd(0x18b)][_0x5028dd(0x119)](_0x5028dd(0x1c7))},'copyMarkers':_0x39e279[_0x5028dd(0x119)](_0x5028dd(0x1ca)),'maxCommentsWhenCollapsed':_0x39e279[_0x5028dd(0x119)](_0x5028dd(0x178)),'maxThreadTotalWeight':_0x39e279[_0x5028dd(0x119)](_0x5028dd(0x18e)),'maxCommentCharsWhenCollapsed':_0x39e279[_0x5028dd(0x119)](_0x5028dd(0x137)),'formatDateTime':_0x342b96,'CommentView':_0x39e279[_0x5028dd(0x119)](_0x5028dd(0x185))[_0x5028dd(0x188)]});}[_0x23caf3(0x13d)]({threadId:_0x544d70,channelId:_0x406b15,resolvedAt:_0x817557,resolvedBy:_0x227b45,isFromAdapter:_0x59adde}){const _0x3ab3e9=_0x23caf3;if(!this[_0x3ab3e9(0x127)](_0x544d70))throw new _0x176115(_0x3ab3e9(0x140),null,{'threadId':_0x544d70});const _0x979c34=this[_0x3ab3e9(0x1a8)](_0x544d70);if(_0x979c34[_0x3ab3e9(0x12e)])throw new _0x176115(_0x3ab3e9(0x1ad),null,{'threadId':_0x544d70});const _0x2eac0e=this[_0x3ab3e9(0x19f)][_0x3ab3e9(0x130)][_0x3ab3e9(0x119)](_0x5c9b77);if(_0x979c34[_0x3ab3e9(0x13a)]=_0x2eac0e[_0x3ab3e9(0x17a)](_0x227b45),_0x979c34[_0x3ab3e9(0x1bd)]=_0x817557,_0x59adde||!this[_0x3ab3e9(0x126)]||_0x3ab3e9(0x1bc)!=typeof this[_0x3ab3e9(0x126)][_0x3ab3e9(0x142)])return Promise[_0x3ab3e9(0x138)]();const _0x26acb8=this[_0x3ab3e9(0x19f)][_0x3ab3e9(0x130)][_0x3ab3e9(0x119)](_0x3ab3e9(0x108)),_0x26fafa=_0x26acb8[_0x3ab3e9(0x193)](_0x53195a(this[_0x3ab3e9(0x19f)][_0x3ab3e9(0x176)],_0x3ab3e9(0x112)));return this[_0x3ab3e9(0x126)][_0x3ab3e9(0x142)]({'channelId':_0x406b15,'threadId':_0x544d70})[_0x3ab3e9(0x1b2)](({resolvedAt:_0x3fecf1,resolvedBy:_0x4e0b15})=>{const _0x18d840=_0x3ab3e9;_0x26acb8[_0x18d840(0x163)](_0x26fafa),_0x979c34[_0x18d840(0x13a)]['id']!==_0x4e0b15&&(_0x979c34[_0x18d840(0x13a)]=_0x2eac0e[_0x18d840(0x17a)](_0x4e0b15)),_0x979c34[_0x18d840(0x1bd)]=_0x3fecf1;})[_0x3ab3e9(0x113)](_0x52fbcf=>{const _0x3bf284=_0x3ab3e9;throw console[_0x3bf284(0x17e)](_0x52fbcf),new _0x176115(_0x3bf284(0x125),this);});}[_0x23caf3(0x174)]({threadId:_0x25842a,channelId:_0xa1992e,isFromAdapter:_0x105d67}){const _0x42cd92=_0x23caf3;if(!this[_0x42cd92(0x127)](_0x25842a))throw new _0x176115(_0x42cd92(0x140),null,{'threadId':_0x25842a});const _0x3dcf7c=this[_0x42cd92(0x1a8)](_0x25842a);if(!_0x3dcf7c[_0x42cd92(0x12e)])throw new _0x176115(_0x42cd92(0xf7),null,{'threadId':_0x25842a});if(_0x3dcf7c[_0x42cd92(0x13a)]=null,_0x3dcf7c[_0x42cd92(0x1bd)]=null,_0x105d67||!this[_0x42cd92(0x126)]||_0x42cd92(0x1bc)!=typeof this[_0x42cd92(0x126)][_0x42cd92(0x146)])return Promise[_0x42cd92(0x138)]();const _0x925bf=this[_0x42cd92(0x19f)][_0x42cd92(0x130)][_0x42cd92(0x119)](_0x42cd92(0x108)),_0x437305=_0x925bf[_0x42cd92(0x193)](_0x53195a(this[_0x42cd92(0x19f)][_0x42cd92(0x176)],_0x42cd92(0x112)));return this[_0x42cd92(0x126)][_0x42cd92(0x146)]({'channelId':_0xa1992e,'threadId':_0x25842a})[_0x42cd92(0x1b2)](()=>_0x925bf[_0x42cd92(0x163)](_0x437305))[_0x42cd92(0x113)](_0x273516=>{const _0x29fd46=_0x42cd92;throw console[_0x29fd46(0x17e)](_0x273516),new _0x176115(_0x29fd46(0x17b),this);});}[_0x23caf3(0x1b6)]({threadId:_0x5d10bd,isFromAdapter:_0x552733}){const _0x35f3b1=_0x23caf3,_0x35b2ea=this[_0x35f3b1(0x1a8)](_0x5d10bd);if(!_0x35b2ea)throw new _0x176115(_0x35f3b1(0x10d),this);if(this[_0x35f3b1(0x162)](_0x5d10bd),this[_0x35f3b1(0x16f)][_0x35f3b1(0x1cf)](_0x5d10bd),!_0x35b2ea[_0x35f3b1(0x1aa)]||_0x552733||!this[_0x35f3b1(0x126)]||_0x35f3b1(0x1bc)!=typeof this[_0x35f3b1(0x126)][_0x35f3b1(0x133)])return Promise[_0x35f3b1(0x138)]();const _0x2e6e40=this[_0x35f3b1(0x19f)][_0x35f3b1(0x130)][_0x35f3b1(0x119)](_0x35f3b1(0x108)),{channelId:_0x711317}=_0x35b2ea,_0x3b422f=_0x2e6e40[_0x35f3b1(0x193)](_0x53195a(this[_0x35f3b1(0x19f)][_0x35f3b1(0x176)],_0x35f3b1(0x112)));return this[_0x35f3b1(0x126)][_0x35f3b1(0x133)]({'channelId':_0x711317,'threadId':_0x5d10bd})[_0x35f3b1(0x1b2)](()=>_0x2e6e40[_0x35f3b1(0x163)](_0x3b422f))[_0x35f3b1(0x113)](_0x848a0b=>{const _0x5b7fda=_0x35f3b1;throw console[_0x5b7fda(0x17e)](_0x848a0b),new _0x176115(_0x5b7fda(0x111),this);});}[_0x23caf3(0x1c6)]({threadId:_0x382961,unlinkedAt:_0xf989d,context:_0x2a6474,attributes:_0x4eeb97,isFromAdapter:_0x13c7c7}){const _0x1351b4=_0x23caf3;if(_0x1351b4(0x139)!=typeof _0x382961)throw new _0x176115(_0x1351b4(0x109),null,{'threadId':_0x382961});if(!this[_0x1351b4(0x127)](_0x382961))throw new _0x176115(_0x1351b4(0x140),null,{'threadId':_0x382961});const _0x1df29c=this[_0x1351b4(0x1a8)](_0x382961);let _0x11737c=!0x1;if(void 0x0!==_0x2a6474&&_0x1df29c[_0x1351b4(0x19f)]!==_0x2a6474&&(_0x1df29c[_0x1351b4(0x19f)]=_0x2a6474,_0x11737c=!0x0),void 0x0!==_0xf989d&&_0x1df29c[_0x1351b4(0x1c5)]!==_0xf989d&&(_0x1df29c[_0x1351b4(0x1c5)]=_0xf989d,_0x11737c=!0x0),_0x4eeb97&&!_0x9c6c07(_0x4eeb97,_0x1df29c[_0x1351b4(0x100)])&&(_0x1df29c[_0x1351b4(0x100)]=_0x4eeb97,_0x11737c=!0x0),!_0x11737c)return Promise[_0x1351b4(0x138)]();if(!_0x1df29c[_0x1351b4(0x1aa)]||_0x13c7c7||!this[_0x1351b4(0x126)]||_0x1351b4(0x1bc)!=typeof this[_0x1351b4(0x126)][_0x1351b4(0x173)])return Promise[_0x1351b4(0x138)]();const _0x290538=this[_0x1351b4(0x19f)][_0x1351b4(0x130)][_0x1351b4(0x119)](_0x1351b4(0x108)),{channelId:_0x44658a}=_0x1df29c,_0x47ec6d=_0x290538[_0x1351b4(0x193)](_0x53195a(this[_0x1351b4(0x19f)][_0x1351b4(0x176)],_0x1351b4(0x112)));return this[_0x1351b4(0x126)][_0x1351b4(0x173)]({'channelId':_0x44658a,'threadId':_0x382961,'context':_0x2a6474,'unlinkedAt':_0xf989d,'attributes':_0x4eeb97})[_0x1351b4(0x1b2)](()=>_0x290538[_0x1351b4(0x163)](_0x47ec6d))[_0x1351b4(0x113)](_0x251153=>{const _0x115969=_0x1351b4;throw console[_0x115969(0x17e)](_0x251153),new _0x176115(_0x115969(0x147),this);});}[_0x23caf3(0x162)](_0x65fb6f){const _0x181207=_0x23caf3,_0x4a0802=this[_0x181207(0x19f)][_0x181207(0x130)][_0x181207(0x119)](_0x2e3309),_0x301a98=this[_0x181207(0x1a8)](_0x65fb6f);if(_0x301a98[_0x181207(0x13f)]=!0x1,this[_0x181207(0x117)][_0x181207(0x197)](_0x301a98)){const _0x4837c5=this[_0x181207(0x117)][_0x181207(0x119)](_0x301a98),_0x386083=_0x4837c5[_0x181207(0x102)],_0x3146aa=_0x4a0802[_0x181207(0x110)](_0x386083);this[_0x181207(0x117)][_0x181207(0x1cf)](_0x301a98),this[_0x181207(0x10f)][_0x181207(0x1cf)](_0x386083),_0x3146aa&&_0x4a0802[_0x181207(0x163)](_0x3146aa),_0x4837c5[_0x181207(0x172)](),_0x386083[_0x181207(0x172)]()[_0x181207(0x1b2)](()=>{const _0x44afe3=_0x181207;this[_0x44afe3(0x105)](_0x386083);});}}[_0x23caf3(0x191)]({threadId:_0x309764,resolvedAt:_0x92b534,unlinkedAt:_0x22e893}){const _0x312494=_0x23caf3,_0x553b6b=!!_0x92b534,_0x672aac=this[_0x312494(0x19f)][_0x312494(0x130)][_0x312494(0x119)](_0x2e3309),_0x1ea38b=this[_0x312494(0x1a8)](_0x309764);if(this[_0x312494(0x117)][_0x312494(0x197)](_0x1ea38b)){const _0x11c736=this[_0x312494(0x117)][_0x312494(0x119)](_0x1ea38b)[_0x312494(0x102)],_0x53110d=_0x672aac[_0x312494(0x110)](_0x11c736);_0x53110d&&(_0x553b6b&&_0x672aac[_0x312494(0x18a)](_0x53110d),_0x22e893?_0x53110d[_0x312494(0x11c)]=!0x1:_0x53110d[_0x312494(0x16e)]());}}[_0x23caf3(0x10a)](_0x4cbbbf){const _0x23237d=_0x23caf3,_0x895b63=this[_0x23237d(0x19f)][_0x23237d(0x130)][_0x23237d(0x119)](_0x5c9b77),_0x4f5c4e=_0x38d661(_0x23237d(0x1d0)+_0x4cbbbf),_0x17980b=_0x895b63[_0x23237d(0x17a)](_0x4f5c4e);return _0x17980b||_0x895b63[_0x23237d(0xf3)]({'id':_0x4f5c4e,'name':_0x4cbbbf});}[_0x23caf3(0x107)]({threadId:_0x4fc4f5,commentId:_0x3a7908=_0x55e281(),content:_0x3e2191,authorId:_0x2747e7,createdAt:_0x44e905,attributes:_0x2749cf}){const _0x49cf1e=_0x23caf3;if(_0x49cf1e(0x139)!=typeof _0x3a7908)throw new _0x176115(_0x49cf1e(0x13c));if(_0x49cf1e(0x139)!=typeof _0x2747e7)throw new _0x176115(_0x49cf1e(0x159));if(_0x49cf1e(0x139)!=typeof _0x3e2191||!_0x3e2191[_0x49cf1e(0xf8)]())throw new _0x176115(_0x49cf1e(0xf6));const _0x3bae47=this[_0x49cf1e(0x19f)][_0x49cf1e(0x130)][_0x49cf1e(0x119)](_0x5c9b77)[_0x49cf1e(0x17a)](_0x2747e7);if(!_0x3bae47)throw new _0x176115(_0x49cf1e(0x1bf),null,{'authorId':_0x2747e7});let _0x3f5944=null,_0x24305d=_0x44e905;return _0x2749cf?.[_0x49cf1e(0x11b)]&&(_0x3f5944=this[_0x49cf1e(0x10a)](_0x2749cf[_0x49cf1e(0x11b)][_0x49cf1e(0x16c)]),_0x24305d=new Date(_0x2749cf[_0x49cf1e(0x11b)][_0x49cf1e(0x15f)])),new Comment(this,{'threadId':_0x4fc4f5,'id':_0x3a7908,'author':_0x3f5944||_0x3bae47,'creator':_0x3bae47,'content':_0x3e2191,'createdAt':_0x44e905,'authoredAt':_0x24305d,'attributes':_0x2749cf});}[_0x23caf3(0x199)](_0x5ab1d3){const _0xd20a6=_0x23caf3;let {threadId:_0x27e074,content:_0x4b0074,attributes:_0x5abbc7,isFromAdapter:_0x4a7096}=_0x5ab1d3;const _0x214106=this[_0xd20a6(0x1a8)](_0x5ab1d3[_0xd20a6(0x123)]);if(!_0x214106)throw new _0x176115(_0xd20a6(0x198),this);const _0x56d539=this[_0xd20a6(0x107)](_0x5ab1d3),{id:_0x2df840}=_0x56d539;if(_0x214106[_0xd20a6(0x144)](_0x56d539),_0x4a7096||!this[_0xd20a6(0x126)]||_0xd20a6(0x1bc)!=typeof this[_0xd20a6(0x126)][_0xd20a6(0x1b0)]||!_0x214106[_0xd20a6(0x1aa)])return Promise[_0xd20a6(0x138)]();const _0x52d315=this[_0xd20a6(0x19f)][_0xd20a6(0x130)][_0xd20a6(0x119)](_0xd20a6(0x108)),{channelId:_0x4b8f9d}=_0x214106,_0x5a5178=_0x52d315[_0xd20a6(0x193)](_0x53195a(this[_0xd20a6(0x19f)][_0xd20a6(0x176)],_0xd20a6(0x112)));return _0x5abbc7||(_0x5abbc7={}),this[_0xd20a6(0x126)][_0xd20a6(0x1b0)]({'channelId':_0x4b8f9d,'threadId':_0x27e074,'commentId':_0x2df840,'content':_0x4b0074,'attributes':_0x5abbc7})[_0xd20a6(0x1b2)](_0x2a17f7=>{const _0x47686a=_0xd20a6;_0x52d315[_0x47686a(0x163)](_0x5a5178),_0x2a17f7&&this[_0x47686a(0x11f)]({'channelId':_0x4b8f9d,'threadId':_0x27e074,'commentId':_0x2df840,'createdAt':_0x2a17f7[_0x47686a(0x15f)],'isFromAdapter':!0x0});})[_0xd20a6(0x113)](_0x275adc=>{const _0x57a89d=_0xd20a6;throw console[_0x57a89d(0x17e)](_0x275adc),new _0x176115(_0x57a89d(0x179),this);});}[_0x23caf3(0x11f)]({threadId:_0x4e877e,commentId:_0x2e5c67,content:_0x34fe0d,createdAt:_0x130d80,attributes:_0x4a17ab,isFromAdapter:_0x530598}){const _0x1a32ac=_0x23caf3;if(void 0x0!==_0x34fe0d&&(_0x1a32ac(0x139)!=typeof _0x34fe0d||!_0x34fe0d[_0x1a32ac(0xf8)]()[_0x1a32ac(0x1c1)]))throw new _0x176115(_0x1a32ac(0xff));const _0x223bd4=this[_0x1a32ac(0x1a8)](_0x4e877e),_0x279575=_0x223bd4[_0x1a32ac(0xf1)](_0x2e5c67);if(!_0x279575)throw new _0x176115(_0x1a32ac(0x131),this);let _0x1be441=!0x1;if(_0x34fe0d&&_0x34fe0d!==_0x279575[_0x1a32ac(0x154)]&&(_0x279575[_0x1a32ac(0x180)]||_0x530598)&&(_0x279575[_0x1a32ac(0x154)]=_0x34fe0d,_0x1be441=!0x0),_0x130d80&&_0x130d80!==_0x279575[_0x1a32ac(0x15f)]&&(_0x279575[_0x1a32ac(0x15f)]=_0x130d80,_0x279575[_0x1a32ac(0x100)]&&_0x279575[_0x1a32ac(0x100)][_0x1a32ac(0x11b)]||(_0x279575[_0x1a32ac(0x18c)]=_0x130d80),_0x1be441=!0x0),_0x4a17ab&&!_0x9c6c07(_0x4a17ab,_0x279575[_0x1a32ac(0x100)])&&(_0x279575[_0x1a32ac(0x100)]=_0x4a17ab,_0x1be441=!0x0),!_0x1be441)return Promise[_0x1a32ac(0x138)]();if(_0x223bd4[_0x1a32ac(0x14f)](_0x1a32ac(0x1ba)),_0x530598||!this[_0x1a32ac(0x126)]||_0x1a32ac(0x1bc)!=typeof this[_0x1a32ac(0x126)][_0x1a32ac(0xed)])return Promise[_0x1a32ac(0x138)]();const _0x582619=this[_0x1a32ac(0x19f)][_0x1a32ac(0x130)][_0x1a32ac(0x119)](_0x1a32ac(0x108)),{channelId:_0x2c3c05}=this[_0x1a32ac(0x1a8)](_0x279575[_0x1a32ac(0x123)]),_0x35ff47=_0x582619[_0x1a32ac(0x193)](_0x53195a(this[_0x1a32ac(0x19f)][_0x1a32ac(0x176)],_0x1a32ac(0x112)));return this[_0x1a32ac(0x126)][_0x1a32ac(0xed)]({'channelId':_0x2c3c05,'threadId':_0x4e877e,'commentId':_0x2e5c67,'content':_0x34fe0d,'attributes':_0x4a17ab})[_0x1a32ac(0x1b2)](()=>_0x582619[_0x1a32ac(0x163)](_0x35ff47))[_0x1a32ac(0x113)](_0x31dbe1=>{const _0x17286b=_0x1a32ac;throw console[_0x17286b(0x17e)](_0x31dbe1),new _0x176115(_0x17286b(0x1ab),this);});}[_0x23caf3(0x13b)]({threadId:_0x5e3c5d,commentId:_0x11745f,isFromAdapter:_0x102cfc}){const _0x30afb5=_0x23caf3,_0x52b5d6=this[_0x30afb5(0x1a8)](_0x5e3c5d),_0x4d3781=_0x52b5d6[_0x30afb5(0xf1)](_0x11745f);if(!_0x4d3781)throw new _0x176115(_0x30afb5(0x1a9),this);if(_0x52b5d6[_0x30afb5(0x151)](_0x4d3781),_0x102cfc||!this[_0x30afb5(0x126)]||_0x30afb5(0x1bc)!=typeof this[_0x30afb5(0x126)][_0x30afb5(0x156)])return Promise[_0x30afb5(0x138)]();const _0x38b0e6=this[_0x30afb5(0x19f)][_0x30afb5(0x130)][_0x30afb5(0x119)](_0x30afb5(0x108)),{channelId:_0x13ae08}=_0x52b5d6,_0x22da41=_0x38b0e6[_0x30afb5(0x193)](_0x53195a(this[_0x30afb5(0x19f)][_0x30afb5(0x176)],_0x30afb5(0x112)));return this[_0x30afb5(0x126)][_0x30afb5(0x156)]({'channelId':_0x13ae08,'threadId':_0x5e3c5d,'commentId':_0x11745f})[_0x30afb5(0x1b2)](()=>_0x38b0e6[_0x30afb5(0x163)](_0x22da41))[_0x30afb5(0x113)](_0x5796ca=>{const _0x4c071d=_0x30afb5;throw console[_0x4c071d(0x17e)](_0x5796ca),new _0x176115(_0x4c071d(0x1c3),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x9e3c52(){[_0x23caf3(0x181)];['id'];[_0x23caf3(0x13f)];[_0x23caf3(0x19d)];[_0x23caf3(0x185)];[_0x23caf3(0x184)];constructor(_0x165f26,_0x27e5a2){const _0x37b18b=_0x23caf3;super();const _0x4955a5=_0x27e5a2[_0x37b18b(0x190)];this[_0x37b18b(0x181)]=_0x27e5a2[_0x37b18b(0x181)],this['id']=_0x27e5a2['id'],this[_0x37b18b(0x185)]=new _0x5bda39(),this[_0x37b18b(0x184)]=_0x165f26,this[_0x37b18b(0x13f)]=!0x1,this[_0x37b18b(0x19d)]=_0x27e5a2[_0x37b18b(0x1aa)],this[_0x37b18b(0x195)](_0x37b18b(0x150),!0x0),this[_0x37b18b(0x120)](_0x37b18b(0x136))['to'](_0x165f26,_0x37b18b(0x15a),_0x165f26,_0x37b18b(0x1c0),()=>_0x165f26[_0x37b18b(0x136)](this[_0x37b18b(0x181)])),this[_0x37b18b(0x120)](_0x37b18b(0x128))['to'](_0x165f26,_0x37b18b(0x15a),()=>_0x165f26[_0x37b18b(0x118)](this[_0x37b18b(0x181)])[_0x37b18b(0x10c)]),this[_0x37b18b(0x120)](_0x37b18b(0xfd))['to'](_0x165f26,_0x37b18b(0x15a),()=>{const _0x5eb8a1=_0x37b18b,_0x5697ee=_0x165f26[_0x5eb8a1(0x118)](this[_0x5eb8a1(0x181)]);return _0x5697ee[_0x5eb8a1(0x16d)]||_0x5697ee[_0x5eb8a1(0x10c)];}),this[_0x37b18b(0x120)](_0x37b18b(0x190))['to'](_0x165f26,_0x37b18b(0x15a),()=>_0x4955a5&&_0x165f26[_0x37b18b(0x118)](this[_0x37b18b(0x181)])[_0x37b18b(0x138)]),this[_0x37b18b(0x195)](_0x37b18b(0x19f),_0x27e5a2[_0x37b18b(0x19f)]),this[_0x37b18b(0x120)](_0x37b18b(0x1b7))['to'](this,_0x37b18b(0x1bd),this,_0x37b18b(0x1c5),(_0x48d64c,_0x4e6a8d)=>_0x48d64c?_0x4e6a8d?_0x48d64c<_0x4e6a8d?_0x48d64c:_0x4e6a8d:_0x48d64c:_0x4e6a8d),this[_0x37b18b(0x195)](_0x37b18b(0x1c5),_0x27e5a2[_0x37b18b(0x1c5)]||null),this[_0x37b18b(0x195)](_0x37b18b(0x1bd),_0x27e5a2[_0x37b18b(0x1bd)]||null),this[_0x37b18b(0x195)](_0x37b18b(0x13a),_0x27e5a2[_0x37b18b(0x13a)]||null),this[_0x37b18b(0x120)](_0x37b18b(0x12e))['to'](this,_0x37b18b(0x1bd),_0x31a9f5=>!!_0x31a9f5),this[_0x37b18b(0x195)](_0x37b18b(0x100),_0x27e5a2[_0x37b18b(0x100)]||{});}get[_0x23caf3(0x1a0)](){const _0x726ef2=_0x23caf3;return Array[_0x726ef2(0x1cb)](this[_0x726ef2(0x185)])[_0x726ef2(0x116)]((_0x4d818e,_0x1f4c61)=>_0x4d818e+_0x1f4c61[_0x726ef2(0x1a0)],0x0);}get[_0x23caf3(0x1c1)](){const _0x1e0eb3=_0x23caf3;return this[_0x1e0eb3(0x185)][_0x1e0eb3(0x1c1)];}get[_0x23caf3(0x1b3)](){const _0x91951b=_0x23caf3;return this[_0x91951b(0x13f)];}get[_0x23caf3(0x1aa)](){const _0x507ba0=_0x23caf3;return this[_0x507ba0(0x19d)];}[_0x23caf3(0x12c)](){const _0x21ec4a=_0x23caf3,{channelId:_0x5d7fed,id:_0x44c318}=this;this[_0x21ec4a(0x184)][_0x21ec4a(0x14f)](Pt(_0x21ec4a(0x12a),_0x5d7fed),{'channelId':_0x5d7fed,'threadId':_0x44c318});}[_0x23caf3(0x1ae)](_0x5f54b6){const _0x2f9df9=_0x23caf3;this[_0x2f9df9(0x114)]({'unlinkedAt':_0x5f54b6});}[_0x23caf3(0x138)]({resolvedAt:_0x284b35=new Date(),resolvedBy:_0x594f6b=null,isFromAdapter:_0x567b2d=!0x1}={}){const _0x324214=_0x23caf3,_0x2f265a=this[_0x324214(0x184)][_0x324214(0x19f)][_0x324214(0x130)][_0x324214(0x119)](_0x5c9b77)['me'],{channelId:_0x262fb1,id:_0x182fc0}=this;this[_0x324214(0x184)][_0x324214(0x14f)](Pt(_0x324214(0x142),_0x262fb1),{'channelId':_0x262fb1,'threadId':_0x182fc0,'resolvedAt':_0x284b35,'resolvedBy':_0x594f6b||_0x2f265a['id'],'isFromAdapter':_0x567b2d});}[_0x23caf3(0x10b)]({isFromAdapter:_0x134e27=!0x1}={}){const _0x69ed47=_0x23caf3,{channelId:_0x446686,id:_0x184e5c}=this;this[_0x69ed47(0x184)][_0x69ed47(0x14f)](Pt(_0x69ed47(0x146),_0x446686),{'channelId':_0x446686,'threadId':_0x184e5c,'isFromAdapter':_0x134e27});}[_0x23caf3(0xfa)](_0x29b51b){const _0x5205bb=_0x23caf3;this[_0x5205bb(0x19f)]||this[_0x5205bb(0x114)]({'context':_0x29b51b});}[_0x23caf3(0x186)](_0x3d0e7b,_0x3d5e27){const _0x30318c=_0x23caf3,_0x2c98d4=_0x45a0b1(this[_0x30318c(0x100)]);_0x5454e4(_0x2c98d4,_0x3d0e7b,_0x3d5e27),this[_0x30318c(0x114)]({'attributes':_0x2c98d4});}[_0x23caf3(0x19a)](_0x4ad134){const _0x25c03a=_0x23caf3,_0x5d9b5c=_0x45a0b1(this[_0x25c03a(0x100)]);_0x5d3ca3(_0x5d9b5c,_0x4ad134),this[_0x25c03a(0x114)]({'attributes':_0x5d9b5c});}[_0x23caf3(0x163)]({isFromAdapter:_0x124a76=!0x1}={}){const _0xcfe66=_0x23caf3,{channelId:_0x2d2494,id:_0x1b9d79}=this;this[_0xcfe66(0x184)][_0xcfe66(0x14f)](Pt(_0xcfe66(0x133),_0x2d2494),{'channelId':_0x2d2494,'threadId':_0x1b9d79,'isFromAdapter':_0x124a76});}[_0x23caf3(0x16a)](_0x3a2b30){const _0x5a2068=_0x23caf3;return this[_0x5a2068(0x184)][_0x5a2068(0x15b)]({'threadId':this['id'],'target':_0x3a2b30});}[_0x23caf3(0x1b0)](_0x5712a2){const _0x5f4455=_0x23caf3,{channelId:_0x8cdc14,id:_0x273072}=this;this[_0x5f4455(0x184)][_0x5f4455(0x14f)](Pt(_0x5f4455(0x1b0),_0x8cdc14,_0x273072),Object[_0x5f4455(0x143)]({'channelId':_0x8cdc14,'threadId':_0x273072},_0x5712a2));}[_0x23caf3(0xf1)](_0xb73db){const _0x1d7a41=_0x23caf3;if(_0x1d7a41(0x139)!=typeof _0xb73db)throw new _0x176115(_0x1d7a41(0x103),null,{'commentId':_0xb73db});return this[_0x1d7a41(0x185)][_0x1d7a41(0x119)](_0xb73db);}[_0x23caf3(0x17f)](){const _0x454a22=_0x23caf3;return{'threadId':this['id'],'context':this[_0x454a22(0x19f)],'unlinkedAt':this[_0x454a22(0x1c5)],'resolvedAt':this[_0x454a22(0x1bd)],'resolvedBy':this[_0x454a22(0x13a)]?this[_0x454a22(0x13a)]['id']:null,'archivedAt':this[_0x454a22(0x1b7)],'comments':this[_0x454a22(0x185)][_0x454a22(0x1ac)](_0xae9b30=>_0xae9b30[_0x454a22(0x17f)]()),'attributes':this[_0x454a22(0x100)]};}[_0x23caf3(0x144)](_0x4b0fea){const _0x5ba0ad=_0x23caf3;return this[_0x5ba0ad(0x1cd)](_0x4b0fea,_0x5ba0ad(0xf0),()=>{const _0x39bd0c=_0x5ba0ad,_0x25d149=this[_0x39bd0c(0x145)](_0x4b0fea),_0x769ed2=this[_0x39bd0c(0x185)];_0x25d149-0x1!=_0x769ed2[_0x39bd0c(0x19c)](_0x4b0fea)&&_0x25d149+0x1!=_0x769ed2[_0x39bd0c(0x19c)](_0x4b0fea)&&(this[_0x39bd0c(0x151)](_0x4b0fea),this[_0x39bd0c(0x144)](_0x4b0fea));}),this[_0x5ba0ad(0x185)][_0x5ba0ad(0x193)](_0x4b0fea,this[_0x5ba0ad(0x145)](_0x4b0fea));}[_0x23caf3(0x114)](_0x3db2bd){const _0x142a5c=_0x23caf3,{channelId:_0x6cde04,id:_0x18502b}=this;this[_0x142a5c(0x184)][_0x142a5c(0x14f)](Pt(_0x142a5c(0x173),_0x6cde04),{..._0x3db2bd,'channelId':_0x6cde04,'threadId':_0x18502b});}[_0x23caf3(0x151)](_0x577b37){const _0x5876f9=_0x23caf3;return this[_0x5876f9(0x135)](_0x577b37),_0x577b37[_0x5876f9(0x172)](),this[_0x5876f9(0x185)][_0x5876f9(0x163)](_0x577b37);}[_0x23caf3(0x145)](_0x50d61a){const _0x30613f=_0x23caf3,_0x5511ea=this[_0x30613f(0x185)][_0x30613f(0xec)](_0x49ac73=>new Date(_0x49ac73[_0x30613f(0x18c)])[_0x30613f(0x165)]()>new Date(_0x50d61a[_0x30613f(0x18c)])[_0x30613f(0x165)]());return _0x5511ea?this[_0x30613f(0x185)][_0x30613f(0x19c)](_0x5511ea):this[_0x30613f(0x1c1)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x9e3c52(){['id'];[_0x23caf3(0x123)];[_0x23caf3(0x194)];[_0x23caf3(0x175)];[_0x23caf3(0x1b5)];[_0x23caf3(0x15f)];[_0x23caf3(0x184)];constructor(_0x26a23a,_0x5b0ee9){const _0x18c9cb=_0x23caf3;super();const _0xe997aa=_0x26a23a[_0x18c9cb(0x19f)][_0x18c9cb(0x130)][_0x18c9cb(0x119)](_0x5c9b77)['me'],_0xcfea8=_0x26a23a[_0x18c9cb(0x1a8)](_0x5b0ee9[_0x18c9cb(0x123)]),_0x134161=0x0===_0xcfea8[_0x18c9cb(0x185)][_0x18c9cb(0x1c1)],_0xd12241=_0xe997aa===_0x5b0ee9[_0x18c9cb(0x194)];this['id']=_0x5b0ee9['id'],this[_0x18c9cb(0x123)]=_0x5b0ee9[_0x18c9cb(0x123)],this[_0x18c9cb(0x194)]=_0x5b0ee9[_0x18c9cb(0x194)],this[_0x18c9cb(0x175)]=_0x5b0ee9[_0x18c9cb(0x175)],this[_0x18c9cb(0x1b5)]=Boolean(_0x5b0ee9[_0x18c9cb(0x100)]&&_0x5b0ee9[_0x18c9cb(0x100)][_0x18c9cb(0x11b)]),this[_0x18c9cb(0x195)](_0x18c9cb(0x154),_0x5b0ee9[_0x18c9cb(0x154)]),this[_0x18c9cb(0x15f)]=_0x5b0ee9[_0x18c9cb(0x15f)]||new Date(),this[_0x18c9cb(0x195)](_0x18c9cb(0x18c),_0x5b0ee9[_0x18c9cb(0x18c)]||new Date()),this[_0x18c9cb(0x120)](_0x18c9cb(0x1bd))['to'](_0xcfea8,_0x18c9cb(0x1bd)),this[_0x18c9cb(0x195)](_0x18c9cb(0x100),_0x5b0ee9[_0x18c9cb(0x100)]||{}),this[_0x18c9cb(0x120)](_0x18c9cb(0x180))['to'](_0x26a23a,_0x18c9cb(0x15a),()=>{const _0x15b53b=_0x18c9cb,_0x5a86cf=_0x26a23a[_0x15b53b(0x118)](_0xcfea8[_0x15b53b(0x181)])[_0x15b53b(0x16d)],_0x506585=_0x26a23a[_0x15b53b(0x118)](_0xcfea8[_0x15b53b(0x181)])[_0x15b53b(0xfc)];return _0xd12241&&_0x5a86cf||!_0xd12241&&_0x506585;}),this[_0x18c9cb(0x120)](_0x18c9cb(0x128))['to'](_0xcfea8,_0x18c9cb(0x128),_0x26a23a,_0x18c9cb(0x15a),_0x3966c5=>{const _0x277d3d=_0x18c9cb,_0x26c22f=_0x26a23a[_0x277d3d(0x118)](_0xcfea8[_0x277d3d(0x181)])[_0x277d3d(0x16d)],_0x1ef5ac=_0x26a23a[_0x277d3d(0x118)](_0xcfea8[_0x277d3d(0x181)])[_0x277d3d(0xfc)];return _0xd12241&&_0x26c22f||_0x3966c5&&_0x134161||!_0xd12241&&_0x1ef5ac&&!_0x134161;}),this[_0x18c9cb(0x120)](_0x18c9cb(0x136))['to'](_0xcfea8,_0x18c9cb(0x136)),this[_0x18c9cb(0x184)]=_0x26a23a;}get[_0x23caf3(0x1a0)](){const _0x546073=_0x23caf3;return Math[_0x546073(0x183)](function(_0x2004d5){const _0x55d9dd=_0x546073,_0x44b6cd=document[_0x55d9dd(0x141)](_0x55d9dd(0x15d));return _0x44b6cd[_0x55d9dd(0xef)]=_0x2004d5,_0x44b6cd[_0x55d9dd(0x171)][_0x55d9dd(0x1c1)];}(this[_0x546073(0x154)]),0xc8);}[_0x23caf3(0x18d)](_0x2df34e){const _0x145575=_0x23caf3,{threadId:_0x41c38d,id:_0x2370c3}=this;if(!this[_0x145575(0x184)][_0x145575(0x127)](_0x41c38d))throw new _0x176115(_0x145575(0x132),this);const {channelId:_0x524648}=this[_0x145575(0x184)][_0x145575(0x1a8)](_0x41c38d);this[_0x145575(0x184)][_0x145575(0x14f)](Pt(_0x145575(0xed),_0x524648,_0x41c38d),{'channelId':_0x524648,'threadId':_0x41c38d,'commentId':_0x2370c3,..._0x2df34e});}[_0x23caf3(0x186)](_0x50a786,_0x5bd041){const _0x29e804=_0x23caf3,_0x35f7ff=_0x45a0b1(this[_0x29e804(0x100)]);_0x5454e4(_0x35f7ff,_0x50a786,_0x5bd041),this[_0x29e804(0x18d)]({'attributes':_0x35f7ff});}[_0x23caf3(0x19a)](_0x29cc44){const _0x23659=_0x23caf3,_0x31cdf4=_0x45a0b1(this[_0x23659(0x100)]);_0x5d3ca3(_0x31cdf4,_0x29cc44),this[_0x23659(0x18d)]({'attributes':_0x31cdf4});}[_0x23caf3(0x163)](_0xc9f24d={}){const _0x5ae7ca=_0x23caf3;if(!_0xc9f24d[_0x5ae7ca(0x1a1)]&&!this[_0x5ae7ca(0x128)])return;const {threadId:_0x5a07d6,id:_0x5bb8ac}=this;if(!this[_0x5ae7ca(0x184)][_0x5ae7ca(0x127)](_0x5a07d6))throw new _0x176115(_0x5ae7ca(0x1a5),this);const {channelId:_0x75dabd}=this[_0x5ae7ca(0x184)][_0x5ae7ca(0x1a8)](_0x5a07d6);this[_0x5ae7ca(0x184)][_0x5ae7ca(0x14f)](Pt(_0x5ae7ca(0x156),_0x75dabd,_0x5a07d6),{'channelId':_0x75dabd,'threadId':_0x5a07d6,'commentId':_0x5bb8ac,..._0xc9f24d});}[_0x23caf3(0x17f)](){const _0x9690b8=_0x23caf3;return{'commentId':this['id'],'content':this[_0x9690b8(0x154)],'createdAt':this[_0x9690b8(0x15f)],'authorId':this[_0x9690b8(0x175)]['id'],'attributes':this[_0x9690b8(0x100)]};}[_0x23caf3(0x172)](){const _0x73e088=_0x23caf3;this[_0x73e088(0x135)]();}}function Pt(_0x26b3b3,..._0x581146){for(const _0x320ff8 of _0x581146)void 0x0!==_0x320ff8&&(_0x26b3b3+=':'+String(_0x320ff8));return _0x26b3b3;}
23
+ const _0xc5bbf1=_0x3c7a;(function(_0x13ba9d,_0x2d8ef3){const _0x2ef6bd=_0x3c7a,_0x3da4e2=_0x13ba9d();while(!![]){try{const _0x2b5194=parseInt(_0x2ef6bd(0x278))/0x1+parseInt(_0x2ef6bd(0x241))/0x2+-parseInt(_0x2ef6bd(0x281))/0x3*(-parseInt(_0x2ef6bd(0x233))/0x4)+-parseInt(_0x2ef6bd(0x28c))/0x5*(parseInt(_0x2ef6bd(0x23d))/0x6)+parseInt(_0x2ef6bd(0x20d))/0x7+-parseInt(_0x2ef6bd(0x289))/0x8*(parseInt(_0x2ef6bd(0x1ee))/0x9)+-parseInt(_0x2ef6bd(0x1f0))/0xa;if(_0x2b5194===_0x2d8ef3)break;else _0x3da4e2['push'](_0x3da4e2['shift']());}catch(_0x461058){_0x3da4e2['push'](_0x3da4e2['shift']());}}}(_0x1cbd,0x9200c));function _0x3c7a(_0x5d6319,_0x53abca){const _0x1cbd3d=_0x1cbd();return _0x3c7a=function(_0x3c7aa6,_0x409c4e){_0x3c7aa6=_0x3c7aa6-0x1a9;let _0x2c842d=_0x1cbd3d[_0x3c7aa6];return _0x2c842d;},_0x3c7a(_0x5d6319,_0x53abca);}import{PendingActions as _0x494404,ContextPlugin as _0x3fc569,Editor as _0x2a3b64}from'ckeditor5/src/core.js';import{Collection as _0x2e4339,uid as _0x5caea1,CKEditorError as _0x303d15,ObservableMixin as _0x1f7be4}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x11973f,hashObject as _0x331700,Users as _0x14f7be}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x12c243,isEqual as _0x340a48,set as _0x32a80d,unset as _0x8645d0}from'es-toolkit/compat';function _0x1cbd(){const _0x295894=['setActiveCommentThread','write','licenseKey','resolvedBy','commentsrepository-fetch-comment-thread','hasCommentThread','get','_updateCommentThread','focusableElements','comments.CommentThreadView','max','context','trim','change:isDirty','author','20VwGcTz','view','reopen','setAttribute','_threadToController','commentsrepository-update-comment-missing-comment-thread','_getExternalAuthor','isResolved','commentsrepository-remove-comment-missing-comment-thread','@external','906kdkKeH','creator','type','isExternal','2315940NjgqFa','_removeCommentThread','_detachCommentThread','innerView','push','_createCommentThreadView','unlinkedAt','isPremiumPlugin','commentsrepository-update-missing-comment','refreshVisibility','activate','_unbindEditors','channelId','values','_attachCommentThread','comments.editorConfig','isReadOnly','comments.copyMarkers','commentId','resolveCommentThread','commentsrepository-invalid-comment-content','_isSubmitted','commentsrepository-reopen-comment-thread','plugins','pluginName','commentsrepository-update-comment-internal-error','innerHTML','commentsListView','isRemovable','_submitCommentThread','isActive','attributes','catch','bind','lowest','delete','isResolvable','content','submit','_createNewComment','destroy','getComment','locale','_permissions','archivedAt','_addCommentThread','removeAttribute','_updateComment','admin','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-update-comment-invalid-content','submitCommentThread','textContent','change:authoredAt','external:','387813gUuLpL','isVisible','comments','commentsrepository-attach-missing-comment-thread','_findOptimalIndex','CommentsRepository','from','filter','comment','121089SEDJHA','commentsrepository-add-comment-user-not-exists','getAnnotationForCommentThread','assign','weight','_resolveCommentThread','editorReady','commentsrepository-invalid-comment-authorid','1160MoopZU','updateComment','createCommentThreadController','30295aUTltu','authorName','reduce','model','isDirty','getCommentThread','commentsrepository-remove-comment-thread-internal-error','deactivateAll','remove','adapter','comments.maxThreadTotalWeight','_add','_removeActiveAnnotation','commentsrepository-active-not-attached','modifyAll','commentsrepository-missing-thread-and-adapter-method','openNewCommentThread','comments.CommentView','escape','attachTo','commentsrepository-add-comment-to-missing-comment-thread','_hasTargetInContent','find','setContext','_reopenCommentThread','fetchCommentThread','threadId','comments.maxCommentsWhenCollapsed','bodyCollectionContainer','commentsrepository-remove-missing-comment-thread','add','div','noChannel','listenTo','isFromAdapter','getPermissions','getUser','getIndex','CommentView','highest','change:activeAnnotations','isAttached','createElement','function','resolvedAt','commentsrepository-resolved-comment-thread','_update','editorDestroyed','switchReadOnly','body','reopenCommentThread','commentsrepository-active-missing-comment-thread','commentThreadInputView','getCommentThreadForAnnotation','error','once','updateCommentThread','commentsrepository-remove-comment-internal-error','resolve','comments.maxCommentCharsWhenCollapsed','_viewToController','commentUpdated','commentsrepository-invalid-comment-thread-id','createdAt','commentsrepository-missing-comment-thread','_bindAnnotationToEditors','commentsrepository-invalid-commentid','addCommentThread','_threads','getTime','warn','then','commentsrepository-get-comment-invalid-id','addComment','26883yMjGkV','isSubmitted','8685590EOwiaW','_adapter','_updateActiveAnnotation','PENDING_ACTION_COMMENT_THREAD','_addComment','requires','commentsrepository-add-comment-internal-error','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','isOfficialPlugin','setPermissions','commentsrepository-reopen-comment-thread-internal-error','removeComment','_readOnlyChannels','string','getByInnerView','map','commentsrepository-adapter-already-set','toJSON','PendingActions','commentsrepository-missing-target','activeCommentThread','_remove','CommentThreadView','commentsrepository-duplicated-comment-thread-id','addUser','focusTracker','define','focus','authoredAt','7469091WDicmC','getCommentThreads','change:_readOnlyChannels','isEditable','removeCommentThread','commentsrepository-update-comment-thread-internal-error','set','setUnlinkedAt','stopListening','canComment','commentsrepository-add-comment-thread-internal-error','commentInputView','_removeComment','fire','_repository','has','update','_isAttached','init','config','change:_permissions','commentsrepository-remove-missing-comment','length'];_0x1cbd=function(){return _0x295894;};return _0x1cbd();}import{CommentThreadController as _0x2fa8f6}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x49dcf0}from'./ui/view/commentthreadview.js';import{CommentView as _0x2f874f}from'./ui/view/commentview.js';import{getTranslation as _0x11b525}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0xb69a6b}from'../annotations/view/annotationview.js';import{Annotation as _0x20d744}from'../annotations/annotation.js';import{Annotations as _0x22725c}from'../annotations/annotations.js';const Tt=Symbol(_0xc5bbf1(0x1c4)),_t={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x3fc569{[_0xc5bbf1(0x1e8)];[_0xc5bbf1(0x237)];[_0xc5bbf1(0x1e0)];static get[_0xc5bbf1(0x1f5)](){return[_0x22725c,_0x494404,_0x14f7be];}static get[_0xc5bbf1(0x259)](){const _0x1e2742=_0xc5bbf1;return _0x1e2742(0x27d);}static get[_0xc5bbf1(0x1f8)](){return!0x0;}static get[_0xc5bbf1(0x248)](){return!0x0;}constructor(_0x368486){const _0x4d3d1c=_0xc5bbf1;super(_0x368486),this[_0x4d3d1c(0x1e8)]=new Map(),this[_0x4d3d1c(0x237)]=new Map(),this[_0x4d3d1c(0x1e0)]=new Map(),this[_0x4d3d1c(0x213)](_0x4d3d1c(0x1fc),new Set()),this[_0x4d3d1c(0x213)](_0x4d3d1c(0x26c),new Map());const _0x3b2318=this[_0x4d3d1c(0x22f)][_0x4d3d1c(0x220)];_0x3b2318[_0x4d3d1c(0x20a)](_0x4d3d1c(0x1bf),0x2),_0x3b2318[_0x4d3d1c(0x20a)](_0x4d3d1c(0x1ae),0x1f4),_0x3b2318[_0x4d3d1c(0x20a)](_0x4d3d1c(0x1df),0x8c),_0x3b2318[_0x4d3d1c(0x20a)](_0x4d3d1c(0x22d),_0x49dcf0),_0x3b2318[_0x4d3d1c(0x20a)](_0x4d3d1c(0x1b5),_0x2f874f),_0x3b2318[_0x4d3d1c(0x22a)](_0x4d3d1c(0x250))||console[_0x4d3d1c(0x1ea)](_0x4d3d1c(0x1f7));}[_0xc5bbf1(0x21f)](){const _0x21be9d=_0xc5bbf1,_0x51cf12=this[_0x21be9d(0x22f)][_0x21be9d(0x258)][_0x21be9d(0x22a)](_0x22725c);this[_0x21be9d(0x213)](_0x21be9d(0x204),null),this['on'](_0x21be9d(0x1e7),(_0x521e11,_0x100b3c)=>this[_0x21be9d(0x26e)](_0x100b3c)),this['on'](_0x21be9d(0x274),(_0x2d6988,_0x48432e)=>this[_0x21be9d(0x25e)](_0x48432e)),this['on'](_0x21be9d(0x254),(_0x41cde8,_0x44e189)=>this[_0x21be9d(0x286)](_0x44e189)),this['on'](_0x21be9d(0x254),(_0x43fc71,_0x14c4e0)=>this[_0x21be9d(0x1f2)](_0x14c4e0),{'priority':_0x21be9d(0x263)}),this['on'](_0x21be9d(0x1d6),(_0x4b2a4a,_0x489bd8)=>this[_0x21be9d(0x1bc)](_0x489bd8)),this['on'](_0x21be9d(0x1d6),(_0x1afec4,_0x332b23)=>this[_0x21be9d(0x1f2)](_0x332b23),{'priority':_0x21be9d(0x263)}),this['on'](_0x21be9d(0x211),(_0x47b02d,_0x545018)=>this[_0x21be9d(0x242)](_0x545018)),this['on'](_0x21be9d(0x1dc),(_0x39fc12,_0x3be983)=>this[_0x21be9d(0x22b)](_0x3be983)),this['on'](_0x21be9d(0x1dc),(_0x3865c1,_0x45696b)=>this[_0x21be9d(0x1f2)](_0x45696b),{'priority':_0x21be9d(0x263)}),this['on'](_0x21be9d(0x1ed),(_0x4a8022,_0x22f77f)=>this[_0x21be9d(0x1f4)](_0x22f77f)),this['on'](_0x21be9d(0x28a),(_0x11b4e0,_0x4fa207)=>this[_0x21be9d(0x270)](_0x4fa207)),this['on'](_0x21be9d(0x1fb),(_0x2e7853,_0x1e9012)=>this[_0x21be9d(0x219)](_0x1e9012)),this['on'](_0x21be9d(0x1ed),(_0x4bb43c,{threadId:_0x1c8d91,isFromAdapter:_0x525864})=>{const _0x5cec56=_0x21be9d;if(_0x525864)return;const _0x446250=this[_0x5cec56(0x1a9)](_0x1c8d91),_0x2803f6=_0x446250&&this[_0x5cec56(0x237)][_0x5cec56(0x22a)](_0x446250);_0x2803f6&&_0x2803f6[_0x5cec56(0x234)][_0x5cec56(0x25c)][_0x5cec56(0x20b)](-0x1);},{'priority':_0x21be9d(0x263)}),this[_0x21be9d(0x1c5)](_0x51cf12,_0x21be9d(0x1cc),(_0x19ef88,_0x585476,_0x37b9b0)=>{const _0x4240dc=_0x21be9d,_0x1d1d2e=Array[_0x4240dc(0x27e)](_0x37b9b0)[_0x4240dc(0x1ff)](_0x23773d=>this[_0x4240dc(0x1e0)][_0x4240dc(0x22a)](_0x23773d[_0x4240dc(0x244)]))[_0x4240dc(0x27f)](Boolean)[0x0];this[_0x4240dc(0x204)]=_0x1d1d2e?_0x1d1d2e[_0x4240dc(0x28f)]:null;});}set[_0xc5bbf1(0x1ad)](_0x4d5182){const _0x19a5a3=_0xc5bbf1;if(this[_0x19a5a3(0x1f1)])throw new _0x303d15(_0x19a5a3(0x200));this[_0x19a5a3(0x1f1)]=_0x4d5182;}get[_0xc5bbf1(0x1ad)](){const _0x15c9c7=_0xc5bbf1;return this[_0x15c9c7(0x1f1)];}[_0xc5bbf1(0x1e7)]({channelId:_0x264a32=Tt,threadId:_0xeee267=_0x5caea1(),comments:_0x224bc0=[],unlinkedAt:_0x12808a=null,resolvedAt:_0x1c3952=null,resolvedBy:_0x536dbd=null,target:_0x217304=null,context:_0x3c72c5=null,attributes:_0x480e4b={},isResolvable:_0x5f55c2=!0x0,isSubmitted:_0x55a155=!0x1,isFromAdapter:_0x37fd2e=!0x1}={}){const _0x32bf42=_0xc5bbf1;return this[_0x32bf42(0x21a)](bt(_0x32bf42(0x1e7),_0x264a32),{'channelId':_0x264a32,'threadId':_0xeee267,'comments':_0x224bc0,'unlinkedAt':_0x12808a,'resolvedAt':_0x1c3952,'resolvedBy':_0x536dbd,'target':_0x217304,'context':_0x3c72c5,'attributes':_0x480e4b,'isFromAdapter':_0x37fd2e,'isResolvable':_0x5f55c2,'isSubmitted':_0x55a155}),this[_0x32bf42(0x1a9)](_0xeee267);}[_0xc5bbf1(0x1b4)]({channelId:_0x48bf0a=Tt,threadId:_0x322d8c=_0x5caea1(),target:_0x232de5,context:_0xf0ba12=null,isResolvable:_0x2326b3=!0x0}){const _0x5b1168=_0xc5bbf1;if(this[_0x5b1168(0x1fc)][_0x5b1168(0x21c)](_0x48bf0a)||this[_0x5b1168(0x1fc)][_0x5b1168(0x21c)](void 0x0))return null;if(!_0x232de5)throw new _0x303d15(_0x5b1168(0x203));const _0x3e9321=this[_0x5b1168(0x1e7)]({'channelId':_0x48bf0a,'threadId':_0x322d8c,'target':_0x232de5,'context':_0xf0ba12,'isResolvable':_0x2326b3});if(!_0x3e9321)return null;const _0x33ad0e=this[_0x5b1168(0x237)][_0x5b1168(0x22a)](_0x3e9321),_0x39fa33=_0x33ad0e[_0x5b1168(0x234)][_0x5b1168(0x1d8)][_0x5b1168(0x218)],_0x1a3a60=this[_0x5b1168(0x22f)][_0x5b1168(0x258)][_0x5b1168(0x22a)](_0x22725c),_0x226255=_0x1a3a60[_0x5b1168(0x1fe)](_0x33ad0e[_0x5b1168(0x234)]);return _0x1a3a60[_0x5b1168(0x24b)](_0x226255),_0x39fa33[_0x5b1168(0x1db)](_0x5b1168(0x287),()=>_0x39fa33[_0x5b1168(0x20b)]()),_0x3e9321;}[_0xc5bbf1(0x229)](_0x236481){const _0x417218=_0xc5bbf1;if(_0x417218(0x1fd)!=typeof _0x236481)throw new _0x303d15(_0x417218(0x1e2));return this[_0x417218(0x1e8)][_0x417218(0x21c)](_0x236481);}[_0xc5bbf1(0x1dc)]({channelId:_0x47ee73=Tt,threadId:_0x5a2965,context:_0xd0a8e7,unlinkedAt:_0x51ab78,attributes:_0x1d345e,isFromAdapter:_0x524b3d=!0x1}){const _0x354c55=_0xc5bbf1;return this[_0x354c55(0x21a)](bt(_0x354c55(0x1dc),_0x47ee73),{'channelId':_0x47ee73,'threadId':_0x5a2965,'context':_0xd0a8e7,'unlinkedAt':_0x51ab78,'attributes':_0x1d345e,'isFromAdapter':_0x524b3d}),this[_0x354c55(0x1a9)](_0x5a2965);}[_0xc5bbf1(0x1a9)](_0x5dc7e5){const _0x53c2c8=_0xc5bbf1;if(_0x53c2c8(0x1fd)!=typeof _0x5dc7e5)throw new _0x303d15(_0x53c2c8(0x1e2));return this[_0x53c2c8(0x1e8)][_0x53c2c8(0x22a)](_0x5dc7e5);}[_0xc5bbf1(0x1bd)]({channelId:_0x26defe,threadId:_0x31126c}={}){const _0x535c16=_0xc5bbf1,_0x1cc4f2=this[_0x535c16(0x1a9)](_0x31126c);if(_0x1cc4f2)return Promise[_0x535c16(0x1de)](_0x1cc4f2);if(!this[_0x535c16(0x1ad)])return Promise[_0x535c16(0x1de)](void 0x0);if(_0x535c16(0x1cf)!=typeof this[_0x535c16(0x1ad)][_0x535c16(0x1a9)])throw new _0x303d15(_0x535c16(0x1b3),this[_0x535c16(0x22f)]);return this[_0x535c16(0x1ad)][_0x535c16(0x1a9)]({'channelId':_0x26defe,'threadId':_0x31126c})[_0x535c16(0x1eb)](_0xf106d9=>this[_0x535c16(0x229)](_0x31126c)?this[_0x535c16(0x1a9)](_0x31126c):_0xf106d9?this[_0x535c16(0x1e7)](Object[_0x535c16(0x284)]({'isFromAdapter':!0x0,'channelId':_0x26defe},_0xf106d9)):void 0x0)[_0x535c16(0x261)](_0x545819=>{const _0x887a0c=_0x535c16;throw console[_0x887a0c(0x1da)](_0x545819),new _0x303d15(_0x887a0c(0x228),this[_0x887a0c(0x22f)]);});}[_0xc5bbf1(0x20e)]({channelId:_0x363ac9,skipNotAttached:_0x53c6f7=!0x1,skipEmpty:_0x3e232c=!0x1,toJSON:_0x4f8ecf=!0x1}={}){const _0x221642=_0xc5bbf1,_0x3ce9db=[];for(const _0x14b595 of this[_0x221642(0x1e8)][_0x221642(0x24e)]())_0x363ac9&&_0x14b595[_0x221642(0x24d)]!==_0x363ac9||_0x53c6f7&&!_0x14b595[_0x221642(0x1cd)]||_0x3e232c&&0x0===_0x14b595[_0x221642(0x223)]||_0x3ce9db[_0x221642(0x245)](_0x14b595);return _0x4f8ecf?_0x3ce9db[_0x221642(0x1ff)](_0xea78a9=>_0xea78a9[_0x221642(0x201)]()):_0x3ce9db;}[_0xc5bbf1(0x283)](_0x157e63){const _0x25bd46=_0xc5bbf1,_0x5b8409=this[_0x25bd46(0x237)][_0x25bd46(0x22a)](_0x157e63);if(!_0x5b8409)return null;return this[_0x25bd46(0x22f)][_0x25bd46(0x258)][_0x25bd46(0x22a)](_0x22725c)[_0x25bd46(0x1fe)](_0x5b8409[_0x25bd46(0x234)])||null;}[_0xc5bbf1(0x1d9)](_0xd87d9f){const _0x16d833=_0xc5bbf1,_0x2cd043=this[_0x16d833(0x1e0)][_0x16d833(0x22a)](_0xd87d9f[_0x16d833(0x244)]);return _0x2cd043?_0x2cd043[_0x16d833(0x28f)]:null;}[_0xc5bbf1(0x224)](_0x3cb2d8){const _0x4efe6f=_0xc5bbf1,_0x3e82e6=this[_0x4efe6f(0x22f)][_0x4efe6f(0x258)][_0x4efe6f(0x22a)](_0x22725c);if(!_0x3cb2d8)return void(this[_0x4efe6f(0x204)]&&_0x3e82e6[_0x4efe6f(0x1ab)]());const _0x162dd5=this[_0x4efe6f(0x1a9)](_0x3cb2d8);if(!_0x162dd5)throw new _0x303d15(_0x4efe6f(0x1d7),null,{'threadId':_0x3cb2d8});if(!this[_0x4efe6f(0x237)][_0x4efe6f(0x21c)](_0x162dd5))throw new _0x303d15(_0x4efe6f(0x1b1),null,{'threadId':_0x3cb2d8});const _0x18822a=_0x3e82e6[_0x4efe6f(0x1fe)](this[_0x4efe6f(0x237)][_0x4efe6f(0x22a)](_0x162dd5)[_0x4efe6f(0x234)]);_0x3e82e6[_0x4efe6f(0x24b)](_0x18822a);}[_0xc5bbf1(0x1d4)](_0x215e5a,_0x2e71ff){const _0x1fb1a2=_0xc5bbf1;_0x215e5a?this[_0x1fb1a2(0x1fc)][_0x1fb1a2(0x1c2)](_0x2e71ff):this[_0x1fb1a2(0x1fc)][_0x1fb1a2(0x264)](_0x2e71ff),this[_0x1fb1a2(0x21a)](_0x1fb1a2(0x20f),_0x1fb1a2(0x1fc),this[_0x1fb1a2(0x1fc)],this[_0x1fb1a2(0x1fc)]);}[_0xc5bbf1(0x251)](_0x8a40be){const _0x3d58d0=_0xc5bbf1;return this[_0x3d58d0(0x1fc)][_0x3d58d0(0x21c)](_0x8a40be)||this[_0x3d58d0(0x1fc)][_0x3d58d0(0x21c)](void 0x0);}[_0xc5bbf1(0x28b)](_0x2391ca,_0x5c7ec8){return new _0x2fa8f6(_0x2391ca,_0x5c7ec8);}[_0xc5bbf1(0x1f9)](_0x3fd833,_0x5d710f=Tt){const _0x3e97ac=_0xc5bbf1;this[_0x3e97ac(0x26c)][_0x3e97ac(0x213)](_0x5d710f,_0x3fd833),this[_0x3e97ac(0x21a)](_0x3e97ac(0x221),_0x3e97ac(0x26c),this[_0x3e97ac(0x26c)],this[_0x3e97ac(0x26c)]);}[_0xc5bbf1(0x1c7)](_0x13245f=Tt){const _0x3a3140=_0xc5bbf1;return this[_0x3a3140(0x26c)][_0x3a3140(0x21c)](_0x13245f)?this[_0x3a3140(0x26c)][_0x3a3140(0x22a)](_0x13245f):_t;}[_0xc5bbf1(0x26e)]({channelId:_0x2040f4,threadId:_0x1a4f43,comments:_0x3b95e5,unlinkedAt:_0x5571dd,resolvedAt:_0x1f159a,resolvedBy:_0x463a1e,target:_0x294384,context:_0x3057c,attributes:_0x4fa3b3,isFromAdapter:_0x147d54,isResolvable:_0x36020,isSubmitted:_0x5968ce}){const _0x4deca1=_0xc5bbf1;if(_0x4deca1(0x1fd)!=typeof _0x1a4f43)throw new _0x303d15(_0x4deca1(0x1e2),null,{'threadId':_0x1a4f43});if(this[_0x4deca1(0x229)](_0x1a4f43))throw new _0x303d15(_0x4deca1(0x207),null,{'threadId':_0x1a4f43});const _0x31cd16=new CommentThread(this,{'channelId':_0x2040f4,'id':_0x1a4f43,'context':_0x3057c,'attributes':_0x4fa3b3,'unlinkedAt':_0x5571dd,'resolvedAt':_0x1f159a,'resolvedBy':_0x463a1e?this[_0x4deca1(0x22f)][_0x4deca1(0x258)][_0x4deca1(0x22a)](_0x14f7be)[_0x4deca1(0x1c8)](_0x463a1e):null,'isResolvable':_0x36020,'isSubmitted':_0x5968ce||_0x147d54});this[_0x4deca1(0x1e8)][_0x4deca1(0x213)](_0x1a4f43,_0x31cd16);for(const _0x32b350 of _0x3b95e5)_0x31cd16[_0x4deca1(0x1af)](this[_0x4deca1(0x268)]({'threadId':_0x1a4f43,..._0x32b350}));return _0x294384&&_0x31cd16[_0x4deca1(0x1b7)](_0x294384),_0x147d54||!_0x31cd16[_0x4deca1(0x223)]?Promise[_0x4deca1(0x1de)]():this[_0x4deca1(0x25e)]({'channelId':_0x2040f4,'threadId':_0x1a4f43});}[_0xc5bbf1(0x25e)]({channelId:_0x2272b2,threadId:_0x257d20}){const _0x47b468=_0xc5bbf1;if(!this[_0x47b468(0x229)](_0x257d20))throw new _0x303d15(_0x47b468(0x1e4),this);const _0x34051d=this[_0x47b468(0x1a9)](_0x257d20);if(_0x34051d[_0x47b468(0x256)]=!0x0,!this[_0x47b468(0x1ad)]||_0x47b468(0x1cf)!=typeof this[_0x47b468(0x1ad)][_0x47b468(0x1e7)])return Promise[_0x47b468(0x1de)]();const {id:_0x255fa5,comments:_0x5716d2,resolvedAt:_0x5d075f,resolvedBy:_0xe36705,context:_0x5605f2,attributes:_0x56a80d}=_0x34051d,_0x10d04a=this[_0x47b468(0x22f)][_0x47b468(0x258)][_0x47b468(0x22a)](_0x47b468(0x202)),_0x514b2d=_0x10d04a[_0x47b468(0x1c2)](_0x11b525(this[_0x47b468(0x22f)][_0x47b468(0x26b)],_0x47b468(0x1f3)));return this[_0x47b468(0x1ad)][_0x47b468(0x1e7)]({'channelId':_0x2272b2,'threadId':_0x255fa5,'comments':_0x5716d2[_0x47b468(0x1ff)](_0x526f4d=>_0x526f4d[_0x47b468(0x201)]()),'resolvedAt':_0x5d075f,'resolvedBy':_0xe36705?_0xe36705['id']:_0xe36705,'context':_0x5605f2,'attributes':_0x56a80d})[_0x47b468(0x1eb)](({comments:_0x33fadc})=>{const _0x413222=_0x47b468;_0x10d04a[_0x413222(0x1ac)](_0x514b2d);for(const _0xfc15f5 of _0x33fadc)this[_0x413222(0x270)]({'channelId':_0x2272b2,'threadId':_0x257d20,'commentId':_0xfc15f5[_0x413222(0x253)],'createdAt':_0xfc15f5[_0x413222(0x1e3)],'isFromAdapter':!0x0});})[_0x47b468(0x261)](_0x2cf18b=>{const _0x276d26=_0x47b468;throw console[_0x276d26(0x1da)](_0x2cf18b),new _0x303d15(_0x276d26(0x217),this);});}[_0xc5bbf1(0x24f)]({threadId:_0x139382,target:_0x48e27b}){const _0x1ad9b7=_0xc5bbf1,_0x2743f4=this[_0x1ad9b7(0x1a9)](_0x139382);if(!_0x2743f4)throw new _0x303d15(_0x1ad9b7(0x27b),this);const _0x18ba5e=this[_0x1ad9b7(0x22f)][_0x1ad9b7(0x258)][_0x1ad9b7(0x22a)](_0x1ad9b7(0x202)),_0x5aedf1=this[_0x1ad9b7(0x22f)][_0x1ad9b7(0x258)][_0x1ad9b7(0x22a)](_0x22725c),_0x3b2c01=this[_0x1ad9b7(0x246)](_0x2743f4),_0x511b52=new _0x2fa8f6(_0x2743f4,_0x3b2c01);let _0x4ed477=null;_0x3b2c01['on'](_0x1ad9b7(0x231),(_0x45da1f,_0x56b7ad,_0x35c710)=>{const _0x4b5a75=_0x1ad9b7;_0x35c710?_0x4ed477=_0x18ba5e[_0x4b5a75(0x1c2)](_0x11b525(this[_0x4b5a75(0x22f)][_0x4b5a75(0x26b)],_0x4b5a75(0x1f3))):_0x4ed477&&(_0x18ba5e[_0x4b5a75(0x1ac)](_0x4ed477),_0x4ed477=null);}),this[_0x1ad9b7(0x237)][_0x1ad9b7(0x213)](_0x2743f4,_0x511b52),this[_0x1ad9b7(0x1e0)][_0x1ad9b7(0x213)](_0x3b2c01,_0x511b52);const _0x2af636=new _0xb69a6b(this[_0x1ad9b7(0x22f)][_0x1ad9b7(0x26b)],_0x3b2c01);_0x2af636[_0x1ad9b7(0x262)](_0x1ad9b7(0x223))['to'](_0x3b2c01),_0x2af636[_0x1ad9b7(0x262)](_0x1ad9b7(0x290))['to'](_0x3b2c01,_0x1ad9b7(0x290),_0x3b2c01,_0x1ad9b7(0x223),(_0x1bc3a0,_0x111f23)=>_0x1bc3a0||!_0x111f23),_0x2af636[_0x1ad9b7(0x262)](_0x1ad9b7(0x25f))['to'](_0x3b2c01),_0x2af636[_0x1ad9b7(0x23f)]=_0x1ad9b7(0x280);const _0x315820=new _0x20d744({'view':_0x2af636,'target':_0x48e27b,'type':_0x1ad9b7(0x280),'isVisible':!_0x2743f4[_0x1ad9b7(0x26d)]});return _0x3b2c01['on'](_0x1ad9b7(0x1b6),()=>{const _0x2dc6c1=_0x1ad9b7;_0x315820[_0x2dc6c1(0x21a)](_0x2dc6c1(0x1b6));}),this[_0x1ad9b7(0x1e5)](_0x3b2c01,_0x315820),_0x5aedf1[_0x1ad9b7(0x1c2)](_0x315820),_0x315820;}[_0xc5bbf1(0x1e5)](_0x378df0,_0x2737b8){const _0x22ea18=_0xc5bbf1;this[_0x22ea18(0x1c5)](_0x378df0,_0x22ea18(0x287),(_0x432f06,_0x31f315)=>{const _0x39a698=_0x22ea18,_0x4caddc=_0x31f315['ui'][_0x39a698(0x234)][_0x39a698(0x1d5)][_0x39a698(0x1c0)];_0x2737b8[_0x39a698(0x22c)][_0x39a698(0x1c2)](_0x4caddc),this[_0x39a698(0x22f)]instanceof _0x2a3b64&&this[_0x39a698(0x22f)]['ui'][_0x39a698(0x209)][_0x39a698(0x1c2)](_0x4caddc);},{'priority':_0x22ea18(0x1cb)}),this[_0x22ea18(0x1c5)](_0x378df0,_0x22ea18(0x1d3),(_0x187309,_0x1cbb60)=>{const _0x50938c=_0x22ea18,_0x1e1407=_0x1cbb60['ui'][_0x50938c(0x234)][_0x50938c(0x1d5)][_0x50938c(0x1c0)];_0x2737b8[_0x50938c(0x22c)][_0x50938c(0x21c)](_0x1e1407)&&_0x2737b8[_0x50938c(0x22c)][_0x50938c(0x1ac)](_0x1e1407),this[_0x50938c(0x22f)]instanceof _0x2a3b64&&this[_0x50938c(0x22f)]['ui'][_0x50938c(0x209)][_0x50938c(0x1ac)](_0x1e1407);});}[_0xc5bbf1(0x24c)](_0xcfcee3){const _0x5915f1=_0xc5bbf1;this[_0x5915f1(0x215)](_0xcfcee3,_0x5915f1(0x287)),this[_0x5915f1(0x215)](_0xcfcee3,_0x5915f1(0x1d3));}[_0xc5bbf1(0x246)](_0x153509){const _0x6bee15=_0xc5bbf1,_0x5dab3f=this[_0x6bee15(0x22f)][_0x6bee15(0x258)][_0x6bee15(0x22a)](_0x14f7be),{config:_0x2ad9a3,locale:_0x59f8c1}=this[_0x6bee15(0x22f)],_0x123506=_0x11973f(_0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x26b)),_0x59f8c1);return new(0x0,(_0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x27a)))[(_0x6bee15(0x206))])(_0x59f8c1,_0x153509,_0x5dab3f['me'],{'editorConfig':{..._0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x250)),'licenseKey':this[_0x6bee15(0x22f)][_0x6bee15(0x220)][_0x6bee15(0x22a)](_0x6bee15(0x226))},'copyMarkers':_0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x252)),'maxCommentsWhenCollapsed':_0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x1bf)),'maxThreadTotalWeight':_0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x1ae)),'maxCommentCharsWhenCollapsed':_0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x1df)),'formatDateTime':_0x123506,'CommentView':_0x2ad9a3[_0x6bee15(0x22a)](_0x6bee15(0x27a))[_0x6bee15(0x1ca)]});}[_0xc5bbf1(0x286)]({threadId:_0xd72c4a,channelId:_0xeceea6,resolvedAt:_0x4aa653,resolvedBy:_0x3abd4d,isFromAdapter:_0x2d0df4}){const _0x139ed3=_0xc5bbf1;if(!this[_0x139ed3(0x229)](_0xd72c4a))throw new _0x303d15(_0x139ed3(0x1e4),null,{'threadId':_0xd72c4a});const _0x312a40=this[_0x139ed3(0x1a9)](_0xd72c4a);if(_0x312a40[_0x139ed3(0x23a)])throw new _0x303d15(_0x139ed3(0x1d1),null,{'threadId':_0xd72c4a});const _0x384215=this[_0x139ed3(0x22f)][_0x139ed3(0x258)][_0x139ed3(0x22a)](_0x14f7be);if(_0x312a40[_0x139ed3(0x227)]=_0x384215[_0x139ed3(0x1c8)](_0x3abd4d),_0x312a40[_0x139ed3(0x1d0)]=_0x4aa653,_0x2d0df4||!this[_0x139ed3(0x1ad)]||_0x139ed3(0x1cf)!=typeof this[_0x139ed3(0x1ad)][_0x139ed3(0x254)])return Promise[_0x139ed3(0x1de)]();const _0x44e013=this[_0x139ed3(0x22f)][_0x139ed3(0x258)][_0x139ed3(0x22a)](_0x139ed3(0x202)),_0x20cf3d=_0x44e013[_0x139ed3(0x1c2)](_0x11b525(this[_0x139ed3(0x22f)][_0x139ed3(0x26b)],_0x139ed3(0x1f3)));return this[_0x139ed3(0x1ad)][_0x139ed3(0x254)]({'channelId':_0xeceea6,'threadId':_0xd72c4a})[_0x139ed3(0x1eb)](({resolvedAt:_0x5d0baa,resolvedBy:_0x2e3846})=>{const _0x7cf085=_0x139ed3;_0x44e013[_0x7cf085(0x1ac)](_0x20cf3d),_0x312a40[_0x7cf085(0x227)]['id']!==_0x2e3846&&(_0x312a40[_0x7cf085(0x227)]=_0x384215[_0x7cf085(0x1c8)](_0x2e3846)),_0x312a40[_0x7cf085(0x1d0)]=_0x5d0baa;})[_0x139ed3(0x261)](_0x380c53=>{const _0x4ba992=_0x139ed3;throw console[_0x4ba992(0x1da)](_0x380c53),new _0x303d15(_0x4ba992(0x272),this);});}[_0xc5bbf1(0x1bc)]({threadId:_0x5b4c1a,channelId:_0x17330d,isFromAdapter:_0x3c8b85}){const _0x5f0699=_0xc5bbf1;if(!this[_0x5f0699(0x229)](_0x5b4c1a))throw new _0x303d15(_0x5f0699(0x1e4),null,{'threadId':_0x5b4c1a});const _0xae1954=this[_0x5f0699(0x1a9)](_0x5b4c1a);if(!_0xae1954[_0x5f0699(0x23a)])throw new _0x303d15(_0x5f0699(0x257),null,{'threadId':_0x5b4c1a});if(_0xae1954[_0x5f0699(0x227)]=null,_0xae1954[_0x5f0699(0x1d0)]=null,_0x3c8b85||!this[_0x5f0699(0x1ad)]||_0x5f0699(0x1cf)!=typeof this[_0x5f0699(0x1ad)][_0x5f0699(0x1d6)])return Promise[_0x5f0699(0x1de)]();const _0x813499=this[_0x5f0699(0x22f)][_0x5f0699(0x258)][_0x5f0699(0x22a)](_0x5f0699(0x202)),_0xf1e672=_0x813499[_0x5f0699(0x1c2)](_0x11b525(this[_0x5f0699(0x22f)][_0x5f0699(0x26b)],_0x5f0699(0x1f3)));return this[_0x5f0699(0x1ad)][_0x5f0699(0x1d6)]({'channelId':_0x17330d,'threadId':_0x5b4c1a})[_0x5f0699(0x1eb)](()=>_0x813499[_0x5f0699(0x1ac)](_0xf1e672))[_0x5f0699(0x261)](_0x25a88d=>{const _0x31f128=_0x5f0699;throw console[_0x31f128(0x1da)](_0x25a88d),new _0x303d15(_0x31f128(0x1fa),this);});}[_0xc5bbf1(0x242)]({threadId:_0x31acf2,isFromAdapter:_0x146a3d}){const _0x4d4085=_0xc5bbf1,_0x1a5399=this[_0x4d4085(0x1a9)](_0x31acf2);if(!_0x1a5399)throw new _0x303d15(_0x4d4085(0x1c1),this);if(this[_0x4d4085(0x243)](_0x31acf2),this[_0x4d4085(0x1e8)][_0x4d4085(0x264)](_0x31acf2),!_0x1a5399[_0x4d4085(0x1ef)]||_0x146a3d||!this[_0x4d4085(0x1ad)]||_0x4d4085(0x1cf)!=typeof this[_0x4d4085(0x1ad)][_0x4d4085(0x211)])return Promise[_0x4d4085(0x1de)]();const _0x49f592=this[_0x4d4085(0x22f)][_0x4d4085(0x258)][_0x4d4085(0x22a)](_0x4d4085(0x202)),{channelId:_0x443239}=_0x1a5399,_0x858368=_0x49f592[_0x4d4085(0x1c2)](_0x11b525(this[_0x4d4085(0x22f)][_0x4d4085(0x26b)],_0x4d4085(0x1f3)));return this[_0x4d4085(0x1ad)][_0x4d4085(0x211)]({'channelId':_0x443239,'threadId':_0x31acf2})[_0x4d4085(0x1eb)](()=>_0x49f592[_0x4d4085(0x1ac)](_0x858368))[_0x4d4085(0x261)](_0x5a283f=>{const _0x101cdc=_0x4d4085;throw console[_0x101cdc(0x1da)](_0x5a283f),new _0x303d15(_0x101cdc(0x1aa),this);});}[_0xc5bbf1(0x22b)]({threadId:_0x51490c,unlinkedAt:_0x4647c8,context:_0x7cf754,attributes:_0x143f04,isFromAdapter:_0x3eb09c}){const _0x473336=_0xc5bbf1;if(_0x473336(0x1fd)!=typeof _0x51490c)throw new _0x303d15(_0x473336(0x1e2),null,{'threadId':_0x51490c});if(!this[_0x473336(0x229)](_0x51490c))throw new _0x303d15(_0x473336(0x1e4),null,{'threadId':_0x51490c});const _0x5d7e3f=this[_0x473336(0x1a9)](_0x51490c);let _0x2ff1e8=!0x1;if(void 0x0!==_0x7cf754&&_0x5d7e3f[_0x473336(0x22f)]!==_0x7cf754&&(_0x5d7e3f[_0x473336(0x22f)]=_0x7cf754,_0x2ff1e8=!0x0),void 0x0!==_0x4647c8&&_0x5d7e3f[_0x473336(0x247)]!==_0x4647c8&&(_0x5d7e3f[_0x473336(0x247)]=_0x4647c8,_0x2ff1e8=!0x0),_0x143f04&&!_0x340a48(_0x143f04,_0x5d7e3f[_0x473336(0x260)])&&(_0x5d7e3f[_0x473336(0x260)]=_0x143f04,_0x2ff1e8=!0x0),!_0x2ff1e8)return Promise[_0x473336(0x1de)]();if(!_0x5d7e3f[_0x473336(0x1ef)]||_0x3eb09c||!this[_0x473336(0x1ad)]||_0x473336(0x1cf)!=typeof this[_0x473336(0x1ad)][_0x473336(0x1dc)])return Promise[_0x473336(0x1de)]();const _0x207549=this[_0x473336(0x22f)][_0x473336(0x258)][_0x473336(0x22a)](_0x473336(0x202)),{channelId:_0x24aee3}=_0x5d7e3f,_0x4216c4=_0x207549[_0x473336(0x1c2)](_0x11b525(this[_0x473336(0x22f)][_0x473336(0x26b)],_0x473336(0x1f3)));return this[_0x473336(0x1ad)][_0x473336(0x1dc)]({'channelId':_0x24aee3,'threadId':_0x51490c,'context':_0x7cf754,'unlinkedAt':_0x4647c8,'attributes':_0x143f04})[_0x473336(0x1eb)](()=>_0x207549[_0x473336(0x1ac)](_0x4216c4))[_0x473336(0x261)](_0x44458a=>{const _0x2779b2=_0x473336;throw console[_0x2779b2(0x1da)](_0x44458a),new _0x303d15(_0x2779b2(0x212),this);});}[_0xc5bbf1(0x243)](_0x4179d1){const _0x2d1d29=_0xc5bbf1,_0x982bfb=this[_0x2d1d29(0x22f)][_0x2d1d29(0x258)][_0x2d1d29(0x22a)](_0x22725c),_0x45888d=this[_0x2d1d29(0x1a9)](_0x4179d1);if(_0x45888d[_0x2d1d29(0x21e)]=!0x1,this[_0x2d1d29(0x237)][_0x2d1d29(0x21c)](_0x45888d)){const _0x2b8e8e=this[_0x2d1d29(0x237)][_0x2d1d29(0x22a)](_0x45888d),_0x48be52=_0x2b8e8e[_0x2d1d29(0x234)],_0x4921ef=_0x982bfb[_0x2d1d29(0x1fe)](_0x48be52);this[_0x2d1d29(0x237)][_0x2d1d29(0x264)](_0x45888d),this[_0x2d1d29(0x1e0)][_0x2d1d29(0x264)](_0x48be52),_0x4921ef&&_0x982bfb[_0x2d1d29(0x1ac)](_0x4921ef),_0x2b8e8e[_0x2d1d29(0x269)](),_0x48be52[_0x2d1d29(0x269)]()[_0x2d1d29(0x1eb)](()=>{const _0x7799e7=_0x2d1d29;this[_0x7799e7(0x24c)](_0x48be52);});}}[_0xc5bbf1(0x1f2)]({threadId:_0x2a2295,resolvedAt:_0x3f3dd6,unlinkedAt:_0x466f8f}){const _0x173fb2=_0xc5bbf1,_0x2c3e39=!!_0x3f3dd6,_0x26456f=this[_0x173fb2(0x22f)][_0x173fb2(0x258)][_0x173fb2(0x22a)](_0x22725c),_0x22ac77=this[_0x173fb2(0x1a9)](_0x2a2295);if(this[_0x173fb2(0x237)][_0x173fb2(0x21c)](_0x22ac77)){const _0x1d29ba=this[_0x173fb2(0x237)][_0x173fb2(0x22a)](_0x22ac77)[_0x173fb2(0x234)],_0x59c217=_0x26456f[_0x173fb2(0x1fe)](_0x1d29ba);_0x59c217&&(_0x2c3e39&&_0x26456f[_0x173fb2(0x1b0)](_0x59c217),_0x466f8f?_0x59c217[_0x173fb2(0x279)]=!0x1:_0x59c217[_0x173fb2(0x24a)]());}}[_0xc5bbf1(0x239)](_0x2a3fe6){const _0x4aac1c=_0xc5bbf1,_0x51bc76=this[_0x4aac1c(0x22f)][_0x4aac1c(0x258)][_0x4aac1c(0x22a)](_0x14f7be),_0x488192=_0x331700(_0x4aac1c(0x277)+_0x2a3fe6),_0xa22bac=_0x51bc76[_0x4aac1c(0x1c8)](_0x488192);return _0xa22bac||_0x51bc76[_0x4aac1c(0x208)]({'id':_0x488192,'name':_0x2a3fe6});}[_0xc5bbf1(0x268)]({threadId:_0x338a9f,commentId:_0x49e1bb=_0x5caea1(),content:_0x1554d4,authorId:_0x88a1c1,createdAt:_0x43429a,attributes:_0x33e6e6}){const _0x145b82=_0xc5bbf1;if(_0x145b82(0x1fd)!=typeof _0x49e1bb)throw new _0x303d15(_0x145b82(0x1e6));if(_0x145b82(0x1fd)!=typeof _0x88a1c1)throw new _0x303d15(_0x145b82(0x288));if(_0x145b82(0x1fd)!=typeof _0x1554d4||!_0x1554d4[_0x145b82(0x230)]())throw new _0x303d15(_0x145b82(0x255));const _0x1d3460=this[_0x145b82(0x22f)][_0x145b82(0x258)][_0x145b82(0x22a)](_0x14f7be)[_0x145b82(0x1c8)](_0x88a1c1);if(!_0x1d3460)throw new _0x303d15(_0x145b82(0x282),null,{'authorId':_0x88a1c1});let _0x967f1a=null,_0xc4d5b9=_0x43429a;return _0x33e6e6?.[_0x145b82(0x23c)]&&(_0x967f1a=this[_0x145b82(0x239)](_0x33e6e6[_0x145b82(0x23c)][_0x145b82(0x28d)]),_0xc4d5b9=new Date(_0x33e6e6[_0x145b82(0x23c)][_0x145b82(0x1e3)])),new Comment(this,{'threadId':_0x338a9f,'id':_0x49e1bb,'author':_0x967f1a||_0x1d3460,'creator':_0x1d3460,'content':_0x1554d4,'createdAt':_0x43429a,'authoredAt':_0xc4d5b9,'attributes':_0x33e6e6});}[_0xc5bbf1(0x1f4)](_0x4bbb8a){const _0x561efd=_0xc5bbf1;let {threadId:_0x23133e,content:_0x5b26bb,attributes:_0x583160,isFromAdapter:_0x2752b4}=_0x4bbb8a;const _0x500051=this[_0x561efd(0x1a9)](_0x4bbb8a[_0x561efd(0x1be)]);if(!_0x500051)throw new _0x303d15(_0x561efd(0x1b8),this);const _0x3f1731=this[_0x561efd(0x268)](_0x4bbb8a),{id:_0x2c204f}=_0x3f1731;if(_0x500051[_0x561efd(0x1af)](_0x3f1731),_0x2752b4||!this[_0x561efd(0x1ad)]||_0x561efd(0x1cf)!=typeof this[_0x561efd(0x1ad)][_0x561efd(0x1ed)]||!_0x500051[_0x561efd(0x1ef)])return Promise[_0x561efd(0x1de)]();const _0x12db20=this[_0x561efd(0x22f)][_0x561efd(0x258)][_0x561efd(0x22a)](_0x561efd(0x202)),{channelId:_0x24b06b}=_0x500051,_0x54363e=_0x12db20[_0x561efd(0x1c2)](_0x11b525(this[_0x561efd(0x22f)][_0x561efd(0x26b)],_0x561efd(0x1f3)));return _0x583160||(_0x583160={}),this[_0x561efd(0x1ad)][_0x561efd(0x1ed)]({'channelId':_0x24b06b,'threadId':_0x23133e,'commentId':_0x2c204f,'content':_0x5b26bb,'attributes':_0x583160})[_0x561efd(0x1eb)](_0x17af3c=>{const _0x26b612=_0x561efd;_0x12db20[_0x26b612(0x1ac)](_0x54363e),_0x17af3c&&this[_0x26b612(0x270)]({'channelId':_0x24b06b,'threadId':_0x23133e,'commentId':_0x2c204f,'createdAt':_0x17af3c[_0x26b612(0x1e3)],'isFromAdapter':!0x0});})[_0x561efd(0x261)](_0x149844=>{const _0x53d2ac=_0x561efd;throw console[_0x53d2ac(0x1da)](_0x149844),new _0x303d15(_0x53d2ac(0x1f6),this);});}[_0xc5bbf1(0x270)]({threadId:_0x1ded0e,commentId:_0x3cbf2a,content:_0x449d0e,createdAt:_0x3b1ec4,attributes:_0x4a8b4,isFromAdapter:_0x4d40ab}){const _0x5a42c3=_0xc5bbf1;if(void 0x0!==_0x449d0e&&(_0x5a42c3(0x1fd)!=typeof _0x449d0e||!_0x449d0e[_0x5a42c3(0x230)]()[_0x5a42c3(0x223)]))throw new _0x303d15(_0x5a42c3(0x273));const _0x4295ae=this[_0x5a42c3(0x1a9)](_0x1ded0e),_0x174a0e=_0x4295ae[_0x5a42c3(0x26a)](_0x3cbf2a);if(!_0x174a0e)throw new _0x303d15(_0x5a42c3(0x249),this);let _0x1677ea=!0x1;if(_0x449d0e&&_0x449d0e!==_0x174a0e[_0x5a42c3(0x266)]&&(_0x174a0e[_0x5a42c3(0x210)]||_0x4d40ab)&&(_0x174a0e[_0x5a42c3(0x266)]=_0x449d0e,_0x1677ea=!0x0),_0x3b1ec4&&_0x3b1ec4!==_0x174a0e[_0x5a42c3(0x1e3)]&&(_0x174a0e[_0x5a42c3(0x1e3)]=_0x3b1ec4,_0x174a0e[_0x5a42c3(0x260)]&&_0x174a0e[_0x5a42c3(0x260)][_0x5a42c3(0x23c)]||(_0x174a0e[_0x5a42c3(0x20c)]=_0x3b1ec4),_0x1677ea=!0x0),_0x4a8b4&&!_0x340a48(_0x4a8b4,_0x174a0e[_0x5a42c3(0x260)])&&(_0x174a0e[_0x5a42c3(0x260)]=_0x4a8b4,_0x1677ea=!0x0),!_0x1677ea)return Promise[_0x5a42c3(0x1de)]();if(_0x4295ae[_0x5a42c3(0x21a)](_0x5a42c3(0x1e1)),_0x4d40ab||!this[_0x5a42c3(0x1ad)]||_0x5a42c3(0x1cf)!=typeof this[_0x5a42c3(0x1ad)][_0x5a42c3(0x28a)])return Promise[_0x5a42c3(0x1de)]();const _0x3c94fb=this[_0x5a42c3(0x22f)][_0x5a42c3(0x258)][_0x5a42c3(0x22a)](_0x5a42c3(0x202)),{channelId:_0x4f0d83}=this[_0x5a42c3(0x1a9)](_0x174a0e[_0x5a42c3(0x1be)]),_0x465cd3=_0x3c94fb[_0x5a42c3(0x1c2)](_0x11b525(this[_0x5a42c3(0x22f)][_0x5a42c3(0x26b)],_0x5a42c3(0x1f3)));return this[_0x5a42c3(0x1ad)][_0x5a42c3(0x28a)]({'channelId':_0x4f0d83,'threadId':_0x1ded0e,'commentId':_0x3cbf2a,'content':_0x449d0e,'attributes':_0x4a8b4})[_0x5a42c3(0x1eb)](()=>_0x3c94fb[_0x5a42c3(0x1ac)](_0x465cd3))[_0x5a42c3(0x261)](_0x4cc3e9=>{const _0x231fb7=_0x5a42c3;throw console[_0x231fb7(0x1da)](_0x4cc3e9),new _0x303d15(_0x231fb7(0x25a),this);});}[_0xc5bbf1(0x219)]({threadId:_0x383415,commentId:_0x23b947,isFromAdapter:_0x1a0ca9}){const _0x25f02d=_0xc5bbf1,_0x417029=this[_0x25f02d(0x1a9)](_0x383415),_0x1dc5c6=_0x417029[_0x25f02d(0x26a)](_0x23b947);if(!_0x1dc5c6)throw new _0x303d15(_0x25f02d(0x222),this);if(_0x417029[_0x25f02d(0x205)](_0x1dc5c6),_0x1a0ca9||!this[_0x25f02d(0x1ad)]||_0x25f02d(0x1cf)!=typeof this[_0x25f02d(0x1ad)][_0x25f02d(0x1fb)])return Promise[_0x25f02d(0x1de)]();const _0x1e9244=this[_0x25f02d(0x22f)][_0x25f02d(0x258)][_0x25f02d(0x22a)](_0x25f02d(0x202)),{channelId:_0x54c126}=_0x417029,_0x4fd709=_0x1e9244[_0x25f02d(0x1c2)](_0x11b525(this[_0x25f02d(0x22f)][_0x25f02d(0x26b)],_0x25f02d(0x1f3)));return this[_0x25f02d(0x1ad)][_0x25f02d(0x1fb)]({'channelId':_0x54c126,'threadId':_0x383415,'commentId':_0x23b947})[_0x25f02d(0x1eb)](()=>_0x1e9244[_0x25f02d(0x1ac)](_0x4fd709))[_0x25f02d(0x261)](_0x3f371a=>{const _0x5c14bc=_0x25f02d;throw console[_0x5c14bc(0x1da)](_0x3f371a),new _0x303d15(_0x5c14bc(0x1dd),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x1f7be4(){[_0xc5bbf1(0x24d)];['id'];[_0xc5bbf1(0x21e)];[_0xc5bbf1(0x256)];[_0xc5bbf1(0x27a)];[_0xc5bbf1(0x21b)];constructor(_0x3eac60,_0x16685d){const _0x1fcd29=_0xc5bbf1;super();const _0xe733f1=_0x16685d[_0x1fcd29(0x265)];this[_0x1fcd29(0x24d)]=_0x16685d[_0x1fcd29(0x24d)],this['id']=_0x16685d['id'],this[_0x1fcd29(0x27a)]=new _0x2e4339(),this[_0x1fcd29(0x21b)]=_0x3eac60,this[_0x1fcd29(0x21e)]=!0x1,this[_0x1fcd29(0x256)]=_0x16685d[_0x1fcd29(0x1ef)],this[_0x1fcd29(0x213)](_0x1fcd29(0x1b9),!0x0),this[_0x1fcd29(0x262)](_0x1fcd29(0x251))['to'](_0x3eac60,_0x1fcd29(0x26c),_0x3eac60,_0x1fcd29(0x1fc),()=>_0x3eac60[_0x1fcd29(0x251)](this[_0x1fcd29(0x24d)])),this[_0x1fcd29(0x262)](_0x1fcd29(0x25d))['to'](_0x3eac60,_0x1fcd29(0x26c),()=>_0x3eac60[_0x1fcd29(0x1c7)](this[_0x1fcd29(0x24d)])[_0x1fcd29(0x271)]),this[_0x1fcd29(0x262)](_0x1fcd29(0x216))['to'](_0x3eac60,_0x1fcd29(0x26c),()=>{const _0x34870a=_0x1fcd29,_0x44e966=_0x3eac60[_0x34870a(0x1c7)](this[_0x34870a(0x24d)]);return _0x44e966[_0x34870a(0x225)]||_0x44e966[_0x34870a(0x271)];}),this[_0x1fcd29(0x262)](_0x1fcd29(0x265))['to'](_0x3eac60,_0x1fcd29(0x26c),()=>_0xe733f1&&_0x3eac60[_0x1fcd29(0x1c7)](this[_0x1fcd29(0x24d)])[_0x1fcd29(0x1de)]),this[_0x1fcd29(0x213)](_0x1fcd29(0x22f),_0x16685d[_0x1fcd29(0x22f)]),this[_0x1fcd29(0x262)](_0x1fcd29(0x26d))['to'](this,_0x1fcd29(0x1d0),this,_0x1fcd29(0x247),(_0x3e93d7,_0x19ba7a)=>_0x3e93d7?_0x19ba7a?_0x3e93d7<_0x19ba7a?_0x3e93d7:_0x19ba7a:_0x3e93d7:_0x19ba7a),this[_0x1fcd29(0x213)](_0x1fcd29(0x247),_0x16685d[_0x1fcd29(0x247)]||null),this[_0x1fcd29(0x213)](_0x1fcd29(0x1d0),_0x16685d[_0x1fcd29(0x1d0)]||null),this[_0x1fcd29(0x213)](_0x1fcd29(0x227),_0x16685d[_0x1fcd29(0x227)]||null),this[_0x1fcd29(0x262)](_0x1fcd29(0x23a))['to'](this,_0x1fcd29(0x1d0),_0xc335f9=>!!_0xc335f9),this[_0x1fcd29(0x213)](_0x1fcd29(0x260),_0x16685d[_0x1fcd29(0x260)]||{});}get[_0xc5bbf1(0x285)](){const _0x15f0ce=_0xc5bbf1;return Array[_0x15f0ce(0x27e)](this[_0x15f0ce(0x27a)])[_0x15f0ce(0x28e)]((_0x5e2a33,_0x233a5)=>_0x5e2a33+_0x233a5[_0x15f0ce(0x285)],0x0);}get[_0xc5bbf1(0x223)](){const _0x2c5c1c=_0xc5bbf1;return this[_0x2c5c1c(0x27a)][_0x2c5c1c(0x223)];}get[_0xc5bbf1(0x1cd)](){const _0x19a6a1=_0xc5bbf1;return this[_0x19a6a1(0x21e)];}get[_0xc5bbf1(0x1ef)](){const _0x514c17=_0xc5bbf1;return this[_0x514c17(0x256)];}[_0xc5bbf1(0x267)](){const _0x3be102=_0xc5bbf1,{channelId:_0x193d03,id:_0x5927ca}=this;this[_0x3be102(0x21b)][_0x3be102(0x21a)](bt(_0x3be102(0x274),_0x193d03),{'channelId':_0x193d03,'threadId':_0x5927ca});}[_0xc5bbf1(0x214)](_0x292e7c){const _0x19db9c=_0xc5bbf1;this[_0x19db9c(0x1d2)]({'unlinkedAt':_0x292e7c});}[_0xc5bbf1(0x1de)]({resolvedAt:_0x1fc420=new Date(),resolvedBy:_0x4da942=null,isFromAdapter:_0x3896a9=!0x1}={}){const _0x2d80f3=_0xc5bbf1,_0x445a56=this[_0x2d80f3(0x21b)][_0x2d80f3(0x22f)][_0x2d80f3(0x258)][_0x2d80f3(0x22a)](_0x14f7be)['me'],{channelId:_0x544abb,id:_0x400907}=this;this[_0x2d80f3(0x21b)][_0x2d80f3(0x21a)](bt(_0x2d80f3(0x254),_0x544abb),{'channelId':_0x544abb,'threadId':_0x400907,'resolvedAt':_0x1fc420,'resolvedBy':_0x4da942||_0x445a56['id'],'isFromAdapter':_0x3896a9});}[_0xc5bbf1(0x235)]({isFromAdapter:_0x37cba3=!0x1}={}){const _0x31c04d=_0xc5bbf1,{channelId:_0x26657b,id:_0x43f87c}=this;this[_0x31c04d(0x21b)][_0x31c04d(0x21a)](bt(_0x31c04d(0x1d6),_0x26657b),{'channelId':_0x26657b,'threadId':_0x43f87c,'isFromAdapter':_0x37cba3});}[_0xc5bbf1(0x1bb)](_0x42045b){const _0x23f804=_0xc5bbf1;this[_0x23f804(0x22f)]||this[_0x23f804(0x1d2)]({'context':_0x42045b});}[_0xc5bbf1(0x236)](_0x3f4459,_0x4d23c7){const _0x281e88=_0xc5bbf1,_0x382f10=_0x12c243(this[_0x281e88(0x260)]);_0x32a80d(_0x382f10,_0x3f4459,_0x4d23c7),this[_0x281e88(0x1d2)]({'attributes':_0x382f10});}[_0xc5bbf1(0x26f)](_0x21d247){const _0x2fabae=_0xc5bbf1,_0x2ef31f=_0x12c243(this[_0x2fabae(0x260)]);_0x8645d0(_0x2ef31f,_0x21d247),this[_0x2fabae(0x1d2)]({'attributes':_0x2ef31f});}[_0xc5bbf1(0x1ac)]({isFromAdapter:_0x4f3f5e=!0x1}={}){const _0x1f6668=_0xc5bbf1,{channelId:_0x280c17,id:_0x57e230}=this;this[_0x1f6668(0x21b)][_0x1f6668(0x21a)](bt(_0x1f6668(0x211),_0x280c17),{'channelId':_0x280c17,'threadId':_0x57e230,'isFromAdapter':_0x4f3f5e});}[_0xc5bbf1(0x1b7)](_0x392a11){const _0x58f641=_0xc5bbf1;return this[_0x58f641(0x21b)][_0x58f641(0x24f)]({'threadId':this['id'],'target':_0x392a11});}[_0xc5bbf1(0x1ed)](_0x3acb81){const _0x5ade59=_0xc5bbf1,{channelId:_0xafd820,id:_0x789944}=this;this[_0x5ade59(0x21b)][_0x5ade59(0x21a)](bt(_0x5ade59(0x1ed),_0xafd820,_0x789944),Object[_0x5ade59(0x284)]({'channelId':_0xafd820,'threadId':_0x789944},_0x3acb81));}[_0xc5bbf1(0x26a)](_0x3fb358){const _0x5a5f8c=_0xc5bbf1;if(_0x5a5f8c(0x1fd)!=typeof _0x3fb358)throw new _0x303d15(_0x5a5f8c(0x1ec),null,{'commentId':_0x3fb358});return this[_0x5a5f8c(0x27a)][_0x5a5f8c(0x22a)](_0x3fb358);}[_0xc5bbf1(0x201)](){const _0x1562be=_0xc5bbf1;return{'threadId':this['id'],'context':this[_0x1562be(0x22f)],'unlinkedAt':this[_0x1562be(0x247)],'resolvedAt':this[_0x1562be(0x1d0)],'resolvedBy':this[_0x1562be(0x227)]?this[_0x1562be(0x227)]['id']:null,'archivedAt':this[_0x1562be(0x26d)],'comments':this[_0x1562be(0x27a)][_0x1562be(0x1ff)](_0x48279e=>_0x48279e[_0x1562be(0x201)]()),'attributes':this[_0x1562be(0x260)]};}[_0xc5bbf1(0x1af)](_0x59f7bb){const _0x2dc7f1=_0xc5bbf1;return this[_0x2dc7f1(0x1c5)](_0x59f7bb,_0x2dc7f1(0x276),()=>{const _0x2b0fc8=_0x2dc7f1,_0x81ef43=this[_0x2b0fc8(0x27c)](_0x59f7bb),_0x545ac6=this[_0x2b0fc8(0x27a)];_0x81ef43-0x1!=_0x545ac6[_0x2b0fc8(0x1c9)](_0x59f7bb)&&_0x81ef43+0x1!=_0x545ac6[_0x2b0fc8(0x1c9)](_0x59f7bb)&&(this[_0x2b0fc8(0x205)](_0x59f7bb),this[_0x2b0fc8(0x1af)](_0x59f7bb));}),this[_0x2dc7f1(0x27a)][_0x2dc7f1(0x1c2)](_0x59f7bb,this[_0x2dc7f1(0x27c)](_0x59f7bb));}[_0xc5bbf1(0x1d2)](_0x3325a3){const _0x50d40d=_0xc5bbf1,{channelId:_0x213350,id:_0x22ab87}=this;this[_0x50d40d(0x21b)][_0x50d40d(0x21a)](bt(_0x50d40d(0x1dc),_0x213350),{..._0x3325a3,'channelId':_0x213350,'threadId':_0x22ab87});}[_0xc5bbf1(0x205)](_0x18c32f){const _0x21164a=_0xc5bbf1;return this[_0x21164a(0x215)](_0x18c32f),_0x18c32f[_0x21164a(0x269)](),this[_0x21164a(0x27a)][_0x21164a(0x1ac)](_0x18c32f);}[_0xc5bbf1(0x27c)](_0x376f1d){const _0xe63a34=_0xc5bbf1,_0x55d2df=this[_0xe63a34(0x27a)][_0xe63a34(0x1ba)](_0x278712=>new Date(_0x278712[_0xe63a34(0x20c)])[_0xe63a34(0x1e9)]()>new Date(_0x376f1d[_0xe63a34(0x20c)])[_0xe63a34(0x1e9)]());return _0x55d2df?this[_0xe63a34(0x27a)][_0xe63a34(0x1c9)](_0x55d2df):this[_0xe63a34(0x223)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x1f7be4(){['id'];[_0xc5bbf1(0x1be)];[_0xc5bbf1(0x232)];[_0xc5bbf1(0x23e)];[_0xc5bbf1(0x240)];[_0xc5bbf1(0x1e3)];[_0xc5bbf1(0x21b)];constructor(_0x10e292,_0x3313b3){const _0x23d27c=_0xc5bbf1;super();const _0x116025=_0x10e292[_0x23d27c(0x22f)][_0x23d27c(0x258)][_0x23d27c(0x22a)](_0x14f7be)['me'],_0x3338f1=_0x10e292[_0x23d27c(0x1a9)](_0x3313b3[_0x23d27c(0x1be)]),_0x1bbc2e=0x0===_0x3338f1[_0x23d27c(0x27a)][_0x23d27c(0x223)],_0x404653=_0x116025===_0x3313b3[_0x23d27c(0x232)];this['id']=_0x3313b3['id'],this[_0x23d27c(0x1be)]=_0x3313b3[_0x23d27c(0x1be)],this[_0x23d27c(0x232)]=_0x3313b3[_0x23d27c(0x232)],this[_0x23d27c(0x23e)]=_0x3313b3[_0x23d27c(0x23e)],this[_0x23d27c(0x240)]=Boolean(_0x3313b3[_0x23d27c(0x260)]&&_0x3313b3[_0x23d27c(0x260)][_0x23d27c(0x23c)]),this[_0x23d27c(0x213)](_0x23d27c(0x266),_0x3313b3[_0x23d27c(0x266)]),this[_0x23d27c(0x1e3)]=_0x3313b3[_0x23d27c(0x1e3)]||new Date(),this[_0x23d27c(0x213)](_0x23d27c(0x20c),_0x3313b3[_0x23d27c(0x20c)]||new Date()),this[_0x23d27c(0x262)](_0x23d27c(0x1d0))['to'](_0x3338f1,_0x23d27c(0x1d0)),this[_0x23d27c(0x213)](_0x23d27c(0x260),_0x3313b3[_0x23d27c(0x260)]||{}),this[_0x23d27c(0x262)](_0x23d27c(0x210))['to'](_0x10e292,_0x23d27c(0x26c),()=>{const _0x137fdd=_0x23d27c,_0x2faf50=_0x10e292[_0x137fdd(0x1c7)](_0x3338f1[_0x137fdd(0x24d)])[_0x137fdd(0x225)],_0x56c569=_0x10e292[_0x137fdd(0x1c7)](_0x3338f1[_0x137fdd(0x24d)])[_0x137fdd(0x1b2)];return _0x404653&&_0x2faf50||!_0x404653&&_0x56c569;}),this[_0x23d27c(0x262)](_0x23d27c(0x25d))['to'](_0x3338f1,_0x23d27c(0x25d),_0x10e292,_0x23d27c(0x26c),_0xc803be=>{const _0x22388b=_0x23d27c,_0x1c8143=_0x10e292[_0x22388b(0x1c7)](_0x3338f1[_0x22388b(0x24d)])[_0x22388b(0x225)],_0x4082c8=_0x10e292[_0x22388b(0x1c7)](_0x3338f1[_0x22388b(0x24d)])[_0x22388b(0x1b2)];return _0x404653&&_0x1c8143||_0xc803be&&_0x1bbc2e||!_0x404653&&_0x4082c8&&!_0x1bbc2e;}),this[_0x23d27c(0x262)](_0x23d27c(0x251))['to'](_0x3338f1,_0x23d27c(0x251)),this[_0x23d27c(0x21b)]=_0x10e292;}get[_0xc5bbf1(0x285)](){const _0x39c5bc=_0xc5bbf1;return Math[_0x39c5bc(0x22e)](function(_0x15abcf){const _0x2090cc=_0x39c5bc,_0x4b917d=document[_0x2090cc(0x1ce)](_0x2090cc(0x1c3));return _0x4b917d[_0x2090cc(0x25b)]=_0x15abcf,_0x4b917d[_0x2090cc(0x275)][_0x2090cc(0x223)];}(this[_0x39c5bc(0x266)]),0xc8);}[_0xc5bbf1(0x21d)](_0x4290e0){const _0x1d70af=_0xc5bbf1,{threadId:_0x5284d8,id:_0x7500d1}=this;if(!this[_0x1d70af(0x21b)][_0x1d70af(0x229)](_0x5284d8))throw new _0x303d15(_0x1d70af(0x238),this);const {channelId:_0x2dadfb}=this[_0x1d70af(0x21b)][_0x1d70af(0x1a9)](_0x5284d8);this[_0x1d70af(0x21b)][_0x1d70af(0x21a)](bt(_0x1d70af(0x28a),_0x2dadfb,_0x5284d8),{'channelId':_0x2dadfb,'threadId':_0x5284d8,'commentId':_0x7500d1,..._0x4290e0});}[_0xc5bbf1(0x236)](_0x420ef3,_0x1c3dd3){const _0x1a2c4f=_0xc5bbf1,_0x10f86e=_0x12c243(this[_0x1a2c4f(0x260)]);_0x32a80d(_0x10f86e,_0x420ef3,_0x1c3dd3),this[_0x1a2c4f(0x21d)]({'attributes':_0x10f86e});}[_0xc5bbf1(0x26f)](_0x464d3b){const _0x3e4d21=_0xc5bbf1,_0x1d2e78=_0x12c243(this[_0x3e4d21(0x260)]);_0x8645d0(_0x1d2e78,_0x464d3b),this[_0x3e4d21(0x21d)]({'attributes':_0x1d2e78});}[_0xc5bbf1(0x1ac)](_0x1be093={}){const _0x1b6835=_0xc5bbf1;if(!_0x1be093[_0x1b6835(0x1c6)]&&!this[_0x1b6835(0x25d)])return;const {threadId:_0xb8f72d,id:_0xfbd036}=this;if(!this[_0x1b6835(0x21b)][_0x1b6835(0x229)](_0xb8f72d))throw new _0x303d15(_0x1b6835(0x23b),this);const {channelId:_0x2e6306}=this[_0x1b6835(0x21b)][_0x1b6835(0x1a9)](_0xb8f72d);this[_0x1b6835(0x21b)][_0x1b6835(0x21a)](bt(_0x1b6835(0x1fb),_0x2e6306,_0xb8f72d),{'channelId':_0x2e6306,'threadId':_0xb8f72d,'commentId':_0xfbd036,..._0x1be093});}[_0xc5bbf1(0x201)](){const _0x36582c=_0xc5bbf1;return{'commentId':this['id'],'content':this[_0x36582c(0x266)],'createdAt':this[_0x36582c(0x1e3)],'authorId':this[_0x36582c(0x23e)]['id'],'attributes':this[_0x36582c(0x260)]};}[_0xc5bbf1(0x269)](){const _0x3daae4=_0xc5bbf1;this[_0x3daae4(0x215)]();}}function bt(_0x350c2a,..._0x200203){for(const _0x5daa5b of _0x200203)void 0x0!==_0x5daa5b&&(_0x350c2a+=':'+String(_0x5daa5b));return _0x350c2a;}
@@ -6,10 +6,10 @@
6
6
  * @module comments/comments/commentsui
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import CommentsRepository from './commentsrepository.js';
10
- import CommentsEditing from './commentsediting.js';
11
- import EditorAnnotations from '../annotations/editorannotations.js';
12
- import Annotations from '../annotations/annotations.js';
9
+ import { CommentsRepository } from './commentsrepository.js';
10
+ import { CommentsEditing } from './commentsediting.js';
11
+ import { EditorAnnotations } from '../annotations/editorannotations.js';
12
+ import { Annotations } from '../annotations/annotations.js';
13
13
  /**
14
14
  * Creates `comment` {@link module:ui/button/buttonview~ButtonView ui button} and binds with
15
15
  * {@link module:comments/comments/addcommentthreadcommand~AddCommentThreadCommand}.
@@ -17,7 +17,7 @@ import Annotations from '../annotations/annotations.js';
17
17
  * Because of CommentsRepository handles UI of CommentThreads responsibility of this plugin is limited to
18
18
  * adjusting comments UX for the editor purpose.
19
19
  */
20
- export default class CommentsUI extends Plugin {
20
+ export declare class CommentsUI extends Plugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dae72=_0x3e62;(function(_0x2ffb36,_0x4b50ad){const _0x13d49e=_0x3e62,_0x2a8ea4=_0x2ffb36();while(!![]){try{const _0x112849=-parseInt(_0x13d49e(0x1bb))/0x1+parseInt(_0x13d49e(0x19b))/0x2*(-parseInt(_0x13d49e(0x1c9))/0x3)+parseInt(_0x13d49e(0x1ab))/0x4+-parseInt(_0x13d49e(0x1ad))/0x5+parseInt(_0x13d49e(0x192))/0x6*(-parseInt(_0x13d49e(0x17d))/0x7)+parseInt(_0x13d49e(0x1be))/0x8*(-parseInt(_0x13d49e(0x1b8))/0x9)+parseInt(_0x13d49e(0x18c))/0xa;if(_0x112849===_0x4b50ad)break;else _0x2a8ea4['push'](_0x2a8ea4['shift']());}catch(_0x247153){_0x2a8ea4['push'](_0x2a8ea4['shift']());}}}(_0x5d97,0xadc3d));import{Plugin as _0x109d18}from'ckeditor5/src/core.js';import{IconAddComment as _0x52f048}from'ckeditor5/src/icons.js';import _0x5197cd from'./commentsrepository.js';import _0x2d7154 from'./commentsediting.js';function _0x5d97(){const _0x50b296=['addCommentThread','2558395YxyDbS','editor','init','tooltip','CommentThreadInputView','Comments','set','CommentsUI','execute','editing','has','commentsLicenseKeyUsageLimit','getRange','destroy','innerView','45207000ybSkwY','focus','focusTracker','commentsLicenseKeyInvalid','map','pluginName','18cjaeQU','_licenseKeyCheckInterval','comment:','requires','addComment','commentsLicenseKeyTrialLimit','plugins','commentsLicenseKeyExpired','listenTo','2bxHygs','config','length','highest','getCommentThread','locale','usageLimit','view','model','_createUIButton','stop','evaluationLimit','bind','hasCommentThread','isEnabled','commentsLicenseKeyDomainLimit','908108cGSbNh','low','461115xFyfUV','isFocused','menuBar:comment','commentsLicenseKeyNotAllowed','componentFactory','find','_threadToController','commentsLicenseKeyEvaluationLimit','_showLicenseError','isPremiumPlugin','getAllMarkersForId','316323IhHtZX','_viewToController','from','1307288dxebFR','Comment','addSourceCollector','152sAvpvM','commands','push','CommentsListView','expired','commentsLicenseKeyValid','comment','activeMarker','licenseKey','isOfficialPlugin','featureNotAllowed','2616681EJjgvC','hasMarkerForId','removeCommentThread','domainLimit','get','add','invalid','trialLimit','change:activeAnnotations'];_0x5d97=function(){return _0x50b296;};return _0x5d97();}import _0x45d858 from'../annotations/editorannotations.js';import{ButtonView as _0x3e5bf3,MenuBarMenuListItemButtonView as _0x205e98}from'ckeditor5/src/ui.js';import _0x15df3e from'../annotations/annotations.js';import _0x2bfbf8 from'./ui/view/commentslistview.js';function _0x3e62(_0x54ad76,_0x1bc334){const _0x5d97ea=_0x5d97();return _0x3e62=function(_0x3e62a7,_0x512f67){_0x3e62a7=_0x3e62a7-0x179;let _0x3b27e2=_0x5d97ea[_0x3e62a7];return _0x3b27e2;},_0x3e62(_0x54ad76,_0x1bc334);}import _0xa56e94 from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x2ec7ff}from'../utils/common-translations.js';export default class i extends _0x109d18{[_0x2dae72(0x1c6)];[_0x2dae72(0x193)];static get[_0x2dae72(0x191)](){const _0x1bd0d6=_0x2dae72;return _0x1bd0d6(0x184);}static get[_0x2dae72(0x1c7)](){return!0x0;}static get[_0x2dae72(0x1b6)](){return!0x0;}static get[_0x2dae72(0x195)](){return[_0x5197cd,_0x2d7154,_0x45d858,_0x15df3e];}get[_0x2dae72(0x1c1)](){return _0x2bfbf8;}get[_0x2dae72(0x181)](){return _0xa56e94;}[_0x2dae72(0x17f)](){const _0x4613d6=_0x2dae72,_0x451edb=this[_0x4613d6(0x17e)],_0xa63f83=_0x451edb[_0x4613d6(0x198)][_0x4613d6(0x1cd)](_0x5197cd),_0x1e32ec=_0x451edb[_0x4613d6(0x198)][_0x4613d6(0x1cd)](_0x2d7154),_0x5af86e=_0x451edb[_0x4613d6(0x198)][_0x4613d6(0x1cd)](_0x15df3e),_0x483d6a=_0x451edb[_0x4613d6(0x198)][_0x4613d6(0x1cd)](_0x45d858);_0x451edb['ui'][_0x4613d6(0x1b1)][_0x4613d6(0x1ce)](_0x4613d6(0x1c4),()=>{const _0x455943=_0x4613d6,_0x5c776b=this[_0x455943(0x1a4)](_0x3e5bf3);return _0x5c776b[_0x455943(0x180)]=!0x0,_0x5c776b;}),_0x451edb['ui'][_0x4613d6(0x1b1)][_0x4613d6(0x1ce)](_0x4613d6(0x1af),()=>this[_0x4613d6(0x1a4)](_0x205e98)),_0x483d6a[_0x4613d6(0x1bd)](()=>{const _0x408efa=_0x4613d6,_0x496246=[];for(const [_0x3132b8,_0x2ec797]of _0xa63f83[_0x408efa(0x1b3)]){const _0x2ab285=_0x1e32ec[_0x408efa(0x1b7)](_0x3132b8['id']),_0x5c80bb=_0x2ab285[_0x408efa(0x190)](_0x56b879=>_0x56b879[_0x408efa(0x189)]());_0x2ab285[_0x408efa(0x19d)]>0x0&&_0x496246[_0x408efa(0x1c0)]([_0x2ec797[_0x408efa(0x1a2)],_0x5c80bb]);}return _0x496246;}),this[_0x4613d6(0x19a)](_0x5af86e,_0x4613d6(0x17b),(_0x45bd17,_0x219fda,_0x4ca070)=>{const _0x2b069a=_0x4613d6,_0x53bd73=Array[_0x2b069a(0x1ba)](_0x4ca070)[_0x2b069a(0x190)](_0x5a61b2=>_0x5a61b2[_0x2b069a(0x18b)])[_0x2b069a(0x1b2)](_0x88abed=>_0xa63f83[_0x2b069a(0x1b9)][_0x2b069a(0x187)](_0x88abed));if(!_0x53bd73)return void(_0x1e32ec[_0x2b069a(0x1c5)]=null);const _0x57cd14=_0xa63f83[_0x2b069a(0x1b9)][_0x2b069a(0x1cd)](_0x53bd73)[_0x2b069a(0x1a3)]['id'],_0x366bd7=_0x2b069a(0x194)+_0x57cd14;_0x57cd14&&_0x1e32ec[_0x2b069a(0x1ca)](_0x57cd14)?_0x1e32ec[_0x2b069a(0x1c5)]=_0x366bd7:_0x1e32ec[_0x2b069a(0x1c5)]&&(_0x1e32ec[_0x2b069a(0x1c5)]=null);}),this[_0x4613d6(0x19a)](_0xa63f83,_0x4613d6(0x1cb),(_0x5c4dc6,{threadId:_0x555dea,isFromAdapter:_0x3b5e9c})=>{const _0x4544a7=_0x4613d6;!_0x3b5e9c&&_0x451edb['ui'][_0x4544a7(0x18e)][_0x4544a7(0x1ae)]&&_0x1e32ec[_0x4544a7(0x1ca)](_0x555dea)&&_0x451edb[_0x4544a7(0x186)][_0x4544a7(0x1a2)][_0x4544a7(0x18d)]();},{'priority':_0x4613d6(0x19e)}),this[_0x4613d6(0x19a)](_0xa63f83,_0x4613d6(0x196),(_0x30350a,{threadId:_0x283f5f,isFromAdapter:_0xde952d})=>{const _0x547ce5=_0x4613d6;if(_0xde952d||!_0x1e32ec[_0x547ce5(0x1ca)](_0x283f5f)||!_0xa63f83[_0x547ce5(0x1a8)](_0x283f5f))return;0x1===_0xa63f83[_0x547ce5(0x19f)](_0x283f5f)[_0x547ce5(0x19d)]&&(_0x451edb[_0x547ce5(0x186)][_0x547ce5(0x1a2)][_0x547ce5(0x18d)](),_0x30350a[_0x547ce5(0x1a5)]());},{'priority':_0x4613d6(0x1ac)}),this[_0x4613d6(0x1c6)]=this[_0x4613d6(0x17e)][_0x4613d6(0x19c)][_0x4613d6(0x1cd)](_0x4613d6(0x1c6));const _0x5591b4=this[_0x4613d6(0x17e)];this[_0x4613d6(0x193)]=setInterval(()=>{const _0x19daae=_0x4613d6;let _0xf78ae3;for(const _0x1a61da in _0x5591b4){const _0x518070=_0x1a61da,_0xc2968a=_0x5591b4[_0x518070];if(_0x19daae(0x1c3)==_0xc2968a||_0x19daae(0x18f)==_0xc2968a||_0x19daae(0x199)==_0xc2968a||_0x19daae(0x1aa)==_0xc2968a||_0x19daae(0x1b0)==_0xc2968a||_0x19daae(0x1b4)==_0xc2968a||_0x19daae(0x197)==_0xc2968a||_0x19daae(0x188)==_0xc2968a){delete _0x5591b4[_0x518070],_0xf78ae3=_0xc2968a,clearInterval(this[_0x19daae(0x193)]),this[_0x19daae(0x193)]=void 0x0;break;}}_0x19daae(0x18f)==_0xf78ae3&&_0x5591b4[_0x19daae(0x1b5)](_0x19daae(0x179)),_0x19daae(0x199)==_0xf78ae3&&_0x5591b4[_0x19daae(0x1b5)](_0x19daae(0x1c2)),_0x19daae(0x1aa)==_0xf78ae3&&_0x5591b4[_0x19daae(0x1b5)](_0x19daae(0x1cc)),_0x19daae(0x1b0)==_0xf78ae3&&_0x5591b4[_0x19daae(0x1b5)](_0x19daae(0x1c8),_0x19daae(0x182)),_0x19daae(0x1b4)==_0xf78ae3&&_0x5591b4[_0x19daae(0x1b5)](_0x19daae(0x1a6)),_0x19daae(0x197)==_0xf78ae3&&_0x5591b4[_0x19daae(0x1b5)](_0x19daae(0x17a)),_0x19daae(0x188)==_0xf78ae3&&_0x5591b4[_0x19daae(0x1b5)](_0x19daae(0x1a1));},0x3e8);}[_0x2dae72(0x18a)](){const _0x49e268=_0x2dae72;super[_0x49e268(0x18a)](),this[_0x49e268(0x193)]&&clearInterval(this[_0x49e268(0x193)]);}[_0x2dae72(0x1a4)](_0x7b66db){const _0x502356=_0x2dae72,_0x45ab4f=this[_0x502356(0x17e)],_0x8c6cf7=new _0x7b66db(_0x45ab4f[_0x502356(0x1a0)]),_0x3a633a=_0x45ab4f[_0x502356(0x1bf)][_0x502356(0x1cd)](_0x502356(0x17c));return _0x8c6cf7[_0x502356(0x183)]({'label':_0x2ec7ff(_0x45ab4f[_0x502356(0x1a0)],_0x502356(0x1bc)),'icon':_0x52f048}),_0x8c6cf7[_0x502356(0x1a7)](_0x502356(0x1a9))['to'](_0x3a633a),this[_0x502356(0x19a)](_0x8c6cf7,_0x502356(0x185),()=>{const _0x5df772=_0x502356;_0x3a633a[_0x5df772(0x185)]();}),_0x8c6cf7;}}
23
+ const _0x335e06=_0x5d3c;(function(_0x230bed,_0x4ac0b3){const _0x499845=_0x5d3c,_0x247b22=_0x230bed();while(!![]){try{const _0xa627d9=-parseInt(_0x499845(0x1fb))/0x1*(parseInt(_0x499845(0x1d2))/0x2)+-parseInt(_0x499845(0x1c8))/0x3+-parseInt(_0x499845(0x206))/0x4+parseInt(_0x499845(0x1de))/0x5*(parseInt(_0x499845(0x1bc))/0x6)+parseInt(_0x499845(0x1f7))/0x7+-parseInt(_0x499845(0x201))/0x8*(parseInt(_0x499845(0x1c3))/0x9)+parseInt(_0x499845(0x1fc))/0xa*(parseInt(_0x499845(0x1ec))/0xb);if(_0xa627d9===_0x4ac0b3)break;else _0x247b22['push'](_0x247b22['shift']());}catch(_0x53f2a0){_0x247b22['push'](_0x247b22['shift']());}}}(_0x168d,0x6b6a8));import{Plugin as _0x289514}from'ckeditor5/src/core.js';import{IconAddComment as _0x4de475}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x51d768}from'./commentsrepository.js';import{CommentsEditing as _0x5ece8f}from'./commentsediting.js';import{EditorAnnotations as _0x281007}from'../annotations/editorannotations.js';function _0x5d3c(_0x56d026,_0x43810e){const _0x168d04=_0x168d();return _0x5d3c=function(_0x5d3c63,_0xf39a31){_0x5d3c63=_0x5d3c63-0x1ba;let _0x43b6f1=_0x168d04[_0x5d3c63];return _0x43b6f1;},_0x5d3c(_0x56d026,_0x43810e);}import{ButtonView as _0x2c5ac9,MenuBarMenuListItemButtonView as _0x19a774}from'ckeditor5/src/ui.js';function _0x168d(){const _0x1b8dc8=['model','CommentThreadInputView','evaluationLimit','highest','commentsLicenseKeyUsageLimit','domainLimit','_licenseKeyCheckInterval','8657pwwApI','addCommentThread','stop','get','requires','usageLimit','push','addSourceCollector','activeMarker','plugins','getAllMarkersForId','2647435czybOY','set','commentsLicenseKeyTrialLimit','expired','53785pJupmJ','24730faHHMv','hasCommentThread','locale','hasMarkerForId','view','981096zUMNLz','isOfficialPlugin','init','getCommentThread','commands','3319992lgOMSL','Comments','commentsLicenseKeyEvaluationLimit','map','innerView','bind','trialLimit','change:activeAnnotations','addComment','has','_viewToController','_showLicenseError','componentFactory','comment:','1146njNZrc','editor','focus','commentsLicenseKeyNotAllowed','CommentsUI','commentsLicenseKeyDomainLimit','low','18AwdaHz','commentsLicenseKeyInvalid','config','commentsLicenseKeyValid','listenTo','1759062eakpOW','isFocused','tooltip','_threadToController','_createUIButton','isEnabled','licenseKey','from','destroy','focusTracker','16MYCBYJ','commentsLicenseKeyExpired','execute','removeCommentThread','find','comment','featureNotAllowed','hasContent','isPremiumPlugin','length','CommentsListView','add','5430aQrRHM','invalid','menuBar:comment','getRange','Comment','editing','pluginName'];_0x168d=function(){return _0x1b8dc8;};return _0x168d();}import{Annotations as _0x2c9e43}from'../annotations/annotations.js';import{CommentsListView as _0x5202c5}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x3af3e0}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x2b4b8e}from'../utils/common-translations.js';export class CommentsUI extends _0x289514{[_0x335e06(0x1ce)];[_0x335e06(0x1eb)];static get[_0x335e06(0x1e4)](){const _0x1ec0fd=_0x335e06;return _0x1ec0fd(0x1c0);}static get[_0x335e06(0x202)](){return!0x0;}static get[_0x335e06(0x1da)](){return!0x0;}static get[_0x335e06(0x1f0)](){return[_0x51d768,_0x5ece8f,_0x281007,_0x2c9e43];}get[_0x335e06(0x1dc)](){return _0x5202c5;}get[_0x335e06(0x1e6)](){return _0x3af3e0;}[_0x335e06(0x203)](){const _0x34b1f7=_0x335e06,_0x1d31e6=this[_0x34b1f7(0x1bd)],_0x20ca6d=_0x1d31e6[_0x34b1f7(0x1f5)][_0x34b1f7(0x1ef)](_0x51d768),_0x14a8cc=_0x1d31e6[_0x34b1f7(0x1f5)][_0x34b1f7(0x1ef)](_0x5ece8f),_0x2eea4c=_0x1d31e6[_0x34b1f7(0x1f5)][_0x34b1f7(0x1ef)](_0x2c9e43),_0x30221c=_0x1d31e6[_0x34b1f7(0x1f5)][_0x34b1f7(0x1ef)](_0x281007);_0x1d31e6['ui'][_0x34b1f7(0x1ba)][_0x34b1f7(0x1dd)](_0x34b1f7(0x1d7),()=>{const _0x12fb23=_0x34b1f7,_0x549aa4=this[_0x12fb23(0x1cc)](_0x2c5ac9);return _0x549aa4[_0x12fb23(0x1ca)]=!0x0,_0x549aa4;}),_0x1d31e6['ui'][_0x34b1f7(0x1ba)][_0x34b1f7(0x1dd)](_0x34b1f7(0x1e0),()=>this[_0x34b1f7(0x1cc)](_0x19a774)),_0x30221c[_0x34b1f7(0x1f3)](()=>{const _0x1cb2fd=_0x34b1f7,_0x8f9506=[];for(const [_0x4071b6,_0x1e5e5f]of _0x20ca6d[_0x1cb2fd(0x1cb)]){const _0x549f04=_0x14a8cc[_0x1cb2fd(0x1f6)](_0x4071b6['id']),_0x216e9d=_0x549f04[_0x1cb2fd(0x209)](_0x2a9429=>_0x2a9429[_0x1cb2fd(0x1e1)]());_0x549f04[_0x1cb2fd(0x1db)]>0x0&&_0x8f9506[_0x1cb2fd(0x1f2)]([_0x1e5e5f[_0x1cb2fd(0x200)],_0x216e9d]);}return _0x8f9506;}),this[_0x34b1f7(0x1c7)](_0x2eea4c,_0x34b1f7(0x20d),(_0x51e19a,_0x34e868,_0x251e01)=>{const _0x31c3e6=_0x34b1f7,_0x112eaa=Array[_0x31c3e6(0x1cf)](_0x251e01)[_0x31c3e6(0x209)](_0x4e125a=>_0x4e125a[_0x31c3e6(0x20a)])[_0x31c3e6(0x1d6)](_0x252227=>_0x20ca6d[_0x31c3e6(0x210)][_0x31c3e6(0x20f)](_0x252227));if(!_0x112eaa)return void(_0x14a8cc[_0x31c3e6(0x1f4)]=null);const _0x117a71=_0x20ca6d[_0x31c3e6(0x210)][_0x31c3e6(0x1ef)](_0x112eaa)[_0x31c3e6(0x1e5)]['id'],_0x268ec0=_0x31c3e6(0x1bb)+_0x117a71;_0x117a71&&_0x14a8cc[_0x31c3e6(0x1ff)](_0x117a71)?_0x14a8cc[_0x31c3e6(0x1f4)]=_0x268ec0:_0x14a8cc[_0x31c3e6(0x1f4)]&&(_0x14a8cc[_0x31c3e6(0x1f4)]=null);}),this[_0x34b1f7(0x1c7)](_0x20ca6d,_0x34b1f7(0x1d5),(_0x1c076b,{threadId:_0x2560f8,isFromAdapter:_0x2ac668})=>{const _0x5f2a0d=_0x34b1f7;!_0x2ac668&&_0x1d31e6['ui'][_0x5f2a0d(0x1d1)][_0x5f2a0d(0x1c9)]&&_0x14a8cc[_0x5f2a0d(0x1ff)](_0x2560f8)&&_0x1d31e6[_0x5f2a0d(0x1e3)][_0x5f2a0d(0x200)][_0x5f2a0d(0x1be)]();},{'priority':_0x34b1f7(0x1e8)}),this[_0x34b1f7(0x1c7)](_0x20ca6d,_0x34b1f7(0x20e),(_0xb48bd5,{threadId:_0x2ebcfd,isFromAdapter:_0x17573a})=>{const _0x3fe1a1=_0x34b1f7;if(_0x17573a||!_0x14a8cc[_0x3fe1a1(0x1ff)](_0x2ebcfd)||!_0x20ca6d[_0x3fe1a1(0x1fd)](_0x2ebcfd))return;0x1===_0x20ca6d[_0x3fe1a1(0x204)](_0x2ebcfd)[_0x3fe1a1(0x1db)]&&(_0x1d31e6[_0x3fe1a1(0x1e3)][_0x3fe1a1(0x200)][_0x3fe1a1(0x1be)](),_0xb48bd5[_0x3fe1a1(0x1ee)]());},{'priority':_0x34b1f7(0x1c2)}),this[_0x34b1f7(0x1ce)]=this[_0x34b1f7(0x1bd)][_0x34b1f7(0x1c5)][_0x34b1f7(0x1ef)](_0x34b1f7(0x1ce));const _0x2f8aaa=this[_0x34b1f7(0x1bd)];this[_0x34b1f7(0x1eb)]=setInterval(()=>{const _0x3ab90d=_0x34b1f7;let _0x56e493;for(const _0x58a444 in _0x2f8aaa){const _0x23727d=_0x58a444,_0x5e1b83=_0x2f8aaa[_0x23727d];if(_0x3ab90d(0x1c6)==_0x5e1b83||_0x3ab90d(0x1c4)==_0x5e1b83||_0x3ab90d(0x1d3)==_0x5e1b83||_0x3ab90d(0x1c1)==_0x5e1b83||_0x3ab90d(0x1bf)==_0x5e1b83||_0x3ab90d(0x208)==_0x5e1b83||_0x3ab90d(0x1f9)==_0x5e1b83||_0x3ab90d(0x1e9)==_0x5e1b83){delete _0x2f8aaa[_0x23727d],_0x56e493=_0x5e1b83,clearInterval(this[_0x3ab90d(0x1eb)]),this[_0x3ab90d(0x1eb)]=void 0x0;break;}}_0x3ab90d(0x1c4)==_0x56e493&&_0x2f8aaa[_0x3ab90d(0x211)](_0x3ab90d(0x1df)),_0x3ab90d(0x1d3)==_0x56e493&&_0x2f8aaa[_0x3ab90d(0x211)](_0x3ab90d(0x1fa)),_0x3ab90d(0x1c1)==_0x56e493&&_0x2f8aaa[_0x3ab90d(0x211)](_0x3ab90d(0x1ea)),_0x3ab90d(0x1bf)==_0x56e493&&_0x2f8aaa[_0x3ab90d(0x211)](_0x3ab90d(0x1d8),_0x3ab90d(0x207)),_0x3ab90d(0x208)==_0x56e493&&_0x2f8aaa[_0x3ab90d(0x211)](_0x3ab90d(0x1e7)),_0x3ab90d(0x1f9)==_0x56e493&&_0x2f8aaa[_0x3ab90d(0x211)](_0x3ab90d(0x20c)),_0x3ab90d(0x1e9)==_0x56e493&&_0x2f8aaa[_0x3ab90d(0x211)](_0x3ab90d(0x1f1));},0x3e8);}[_0x335e06(0x1d0)](){const _0x55df6e=_0x335e06;super[_0x55df6e(0x1d0)](),this[_0x55df6e(0x1eb)]&&clearInterval(this[_0x55df6e(0x1eb)]);}[_0x335e06(0x1cc)](_0x4f27ec){const _0x950cc4=_0x335e06,_0x2fc45c=this[_0x950cc4(0x1bd)],_0x225169=new _0x4f27ec(_0x2fc45c[_0x950cc4(0x1fe)]),_0x7e9f0f=_0x2fc45c[_0x950cc4(0x205)][_0x950cc4(0x1ef)](_0x950cc4(0x1ed));return _0x225169[_0x950cc4(0x1f8)]({'label':_0x2b4b8e(_0x2fc45c[_0x950cc4(0x1fe)],_0x950cc4(0x1e2)),'icon':_0x4de475}),_0x225169[_0x950cc4(0x20b)](_0x950cc4(0x1cd))['to'](_0x7e9f0f,_0x950cc4(0x1d9)),this[_0x950cc4(0x1c7)](_0x225169,_0x950cc4(0x1d4),()=>{const _0x5b5f6c=_0x950cc4;_0x7e9f0f[_0x5b5f6c(0x1d4)]();}),_0x225169;}}
@@ -10,7 +10,7 @@ import { ClipboardPipeline, ClipboardMarkersUtils } from 'ckeditor5/src/clipboar
10
10
  /**
11
11
  * Provides comments plugin integration for the clipboard feature.
12
12
  */
13
- export default class CommentsClipboard extends Plugin {
13
+ export declare class CommentsClipboard extends Plugin {
14
14
  /**
15
15
  * @inheritDoc
16
16
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3140(){const _0x3565c0=['7655796ToaIVr','config','dragstart','afterInit','ClipboardPipeline','plugins','_registerMarkerInClipboardPipeline','3864400TFUPir','editor','ClipboardMarkersUtils','content','1148851QmiLjs','always','comments.copyMarkers','listenTo','_mapCommentsCopyConfigToRegisterConfiguration','9267HIIuoS','39684wrNGBK','keys','highest','1496IWvOlt','19Yeckzx','784NxXMDf','hasCommentThread','markers','get','has','cut','6197992UbefqC','default','split','delete','never','40694uvEduE','define','_registerMarkerToCopy','CommentsRepository','all','comment','contentInsertion','requires','_removeMarkersWithoutThreads','120uUfuwF'];_0x3140=function(){return _0x3565c0;};return _0x3140();}const _0x405102=_0x2c68;function _0x2c68(_0x2d816a,_0x28ecf2){const _0x31401e=_0x3140();return _0x2c68=function(_0x2c689b,_0x29d6da){_0x2c689b=_0x2c689b-0x104;let _0x5de182=_0x31401e[_0x2c689b];return _0x5de182;},_0x2c68(_0x2d816a,_0x28ecf2);}(function(_0x2ae388,_0x2586aa){const _0x302fc7=_0x2c68,_0x424a1a=_0x2ae388();while(!![]){try{const _0x4c4550=-parseInt(_0x302fc7(0x114))/0x1*(-parseInt(_0x302fc7(0x120))/0x2)+-parseInt(_0x302fc7(0x10f))/0x3*(parseInt(_0x302fc7(0x113))/0x4)+parseInt(_0x302fc7(0x106))/0x5+-parseInt(_0x302fc7(0x110))/0x6*(parseInt(_0x302fc7(0x115))/0x7)+-parseInt(_0x302fc7(0x11b))/0x8+parseInt(_0x302fc7(0x12a))/0x9+-parseInt(_0x302fc7(0x129))/0xa*(-parseInt(_0x302fc7(0x10a))/0xb);if(_0x4c4550===_0x2586aa)break;else _0x424a1a['push'](_0x424a1a['shift']());}catch(_0x440dcc){_0x424a1a['push'](_0x424a1a['shift']());}}}(_0x3140,0x90ade));import{Plugin as _0x3010e6}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2740a2,ClipboardMarkersUtils as _0xce5b17}from'ckeditor5/src/clipboard.js';export default class dt extends _0x3010e6{constructor(_0x473890){const _0x3c01c2=_0x2c68;super(_0x473890),this[_0x3c01c2(0x107)][_0x3c01c2(0x12b)][_0x3c01c2(0x121)](_0x3c01c2(0x10c),_0x3c01c2(0x11c));}static get[_0x405102(0x127)](){return[_0xce5b17,_0x2740a2];}[_0x405102(0x12d)](){const _0x216aed=_0x405102,_0x5cdeb7=this[_0x216aed(0x107)][_0x216aed(0x104)][_0x216aed(0x118)](_0x216aed(0x12e));this[_0x216aed(0x105)](),this[_0x216aed(0x10d)](_0x5cdeb7,_0x216aed(0x126),(_0x253d7c,_0x4bea97)=>this[_0x216aed(0x128)](_0x4bea97[_0x216aed(0x109)][_0x216aed(0x117)]),{'priority':_0x216aed(0x112)});}[_0x405102(0x128)](_0x47dba8){const _0x2f5d38=_0x405102;if(!this[_0x2f5d38(0x107)][_0x2f5d38(0x104)][_0x2f5d38(0x119)](_0x2f5d38(0x123)))return _0x47dba8;const _0x375fe3=this[_0x2f5d38(0x107)][_0x2f5d38(0x104)][_0x2f5d38(0x118)](_0x2f5d38(0x123));for(const _0x5cd9cd of _0x47dba8[_0x2f5d38(0x111)]()){const [_0x18eb05,_0x204721]=_0x5cd9cd[_0x2f5d38(0x11d)](':');_0x2f5d38(0x125)!=_0x18eb05||_0x375fe3[_0x2f5d38(0x116)](_0x204721)||_0x47dba8[_0x2f5d38(0x11e)](_0x5cd9cd);}return _0x47dba8;}[_0x405102(0x105)](){const _0x484df8=_0x405102,_0x1c2d04=this[_0x484df8(0x107)][_0x484df8(0x104)][_0x484df8(0x118)](_0x484df8(0x108)),_0x3dbb97=this[_0x484df8(0x10e)](this[_0x484df8(0x107)][_0x484df8(0x12b)][_0x484df8(0x118)](_0x484df8(0x10c)));_0x3dbb97&&_0x1c2d04[_0x484df8(0x122)](_0x484df8(0x125),_0x3dbb97);}[_0x405102(0x10e)](_0x1b99dd){const _0x534e86=_0x405102;switch(_0x1b99dd){case _0x534e86(0x10b):return{'allowedActions':_0x534e86(0x124),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x534e86(0x11c):return{'allowedActions':[_0x534e86(0x11a),_0x534e86(0x12c)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x534e86(0x11f):return null;default:return null;}}}
23
+ const _0x3a3b95=_0x2332;(function(_0x2ca034,_0xb7f2df){const _0x513af3=_0x2332,_0x51cbc5=_0x2ca034();while(!![]){try{const _0x3e7330=parseInt(_0x513af3(0x136))/0x1+-parseInt(_0x513af3(0x11f))/0x2*(parseInt(_0x513af3(0x132))/0x3)+parseInt(_0x513af3(0x135))/0x4+parseInt(_0x513af3(0x13e))/0x5*(parseInt(_0x513af3(0x116))/0x6)+parseInt(_0x513af3(0x129))/0x7+-parseInt(_0x513af3(0x122))/0x8*(-parseInt(_0x513af3(0x12f))/0x9)+-parseInt(_0x513af3(0x117))/0xa;if(_0x3e7330===_0xb7f2df)break;else _0x51cbc5['push'](_0x51cbc5['shift']());}catch(_0xfba2ff){_0x51cbc5['push'](_0x51cbc5['shift']());}}}(_0x4653,0x5247b));import{Plugin as _0x4de136}from'ckeditor5/src/core.js';function _0x2332(_0x3fb892,_0x4e0dae){const _0x46531b=_0x4653();return _0x2332=function(_0x233228,_0x3447b9){_0x233228=_0x233228-0x115;let _0x343175=_0x46531b[_0x233228];return _0x343175;},_0x2332(_0x3fb892,_0x4e0dae);}import{ClipboardPipeline as _0x450339,ClipboardMarkersUtils as _0x3dc59d}from'ckeditor5/src/clipboard.js';function _0x4653(){const _0x4a77da=['_mapCommentsCopyConfigToRegisterConfiguration','2581348JeQrzQ','comments.copyMarkers','dragstart','markers','split','always','165762NNhJfl','contentInsertion','_registerMarkerInClipboardPipeline','108198iyiZlE','config','cut','658012ztKEpj','215658aiOsQz','CommentsRepository','plugins','hasCommentThread','comment','all','_registerMarkerToCopy','highest','6180egPBlB','content','1956jfJSim','5455020kXtfOd','ClipboardMarkersUtils','editor','define','ClipboardPipeline','requires','listenTo','_removeMarkersWithoutThreads','18vZrcYK','default','get','24ASrPjp','keys','delete','never','has','afterInit'];_0x4653=function(){return _0x4a77da;};return _0x4653();}export class CommentsClipboard extends _0x4de136{constructor(_0x53581f){const _0x2db1f0=_0x2332;super(_0x53581f),this[_0x2db1f0(0x119)][_0x2db1f0(0x133)][_0x2db1f0(0x11a)](_0x2db1f0(0x12a),_0x2db1f0(0x120));}static get[_0x3a3b95(0x11c)](){return[_0x3dc59d,_0x450339];}[_0x3a3b95(0x127)](){const _0x5805a4=_0x3a3b95,_0x5d8bd2=this[_0x5805a4(0x119)][_0x5805a4(0x138)][_0x5805a4(0x121)](_0x5805a4(0x11b));this[_0x5805a4(0x131)](),this[_0x5805a4(0x11d)](_0x5d8bd2,_0x5805a4(0x130),(_0x17e283,_0x4ff7fd)=>this[_0x5805a4(0x11e)](_0x4ff7fd[_0x5805a4(0x115)][_0x5805a4(0x12c)]),{'priority':_0x5805a4(0x13d)});}[_0x3a3b95(0x11e)](_0x3f39df){const _0x34d977=_0x3a3b95;if(!this[_0x34d977(0x119)][_0x34d977(0x138)][_0x34d977(0x126)](_0x34d977(0x137)))return _0x3f39df;const _0x47d3a9=this[_0x34d977(0x119)][_0x34d977(0x138)][_0x34d977(0x121)](_0x34d977(0x137));for(const _0x4d5b47 of _0x3f39df[_0x34d977(0x123)]()){const [_0x317ee7,_0x313c24]=_0x4d5b47[_0x34d977(0x12d)](':');_0x34d977(0x13a)!=_0x317ee7||_0x47d3a9[_0x34d977(0x139)](_0x313c24)||_0x3f39df[_0x34d977(0x124)](_0x4d5b47);}return _0x3f39df;}[_0x3a3b95(0x131)](){const _0x115f60=_0x3a3b95,_0x906e1a=this[_0x115f60(0x119)][_0x115f60(0x138)][_0x115f60(0x121)](_0x115f60(0x118)),_0x13e6f6=this[_0x115f60(0x128)](this[_0x115f60(0x119)][_0x115f60(0x133)][_0x115f60(0x121)](_0x115f60(0x12a)));_0x13e6f6&&_0x906e1a[_0x115f60(0x13c)](_0x115f60(0x13a),_0x13e6f6);}[_0x3a3b95(0x128)](_0x3e2108){const _0x58a98e=_0x3a3b95;switch(_0x3e2108){case _0x58a98e(0x12e):return{'allowedActions':_0x58a98e(0x13b),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x58a98e(0x120):return{'allowedActions':[_0x58a98e(0x134),_0x58a98e(0x12b)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x58a98e(0x125):return null;default:return null;}}}
@@ -9,7 +9,7 @@ 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
  */
12
- export default class CommentsRestrictedEditingMode extends Plugin {
12
+ export declare class CommentsRestrictedEditingMode extends Plugin {
13
13
  /**
14
14
  * @inheritDoc
15
15
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1df0ad=_0x53bd;(function(_0xfc5e57,_0x3df749){const _0x2202a2=_0x53bd,_0x1a9d04=_0xfc5e57();while(!![]){try{const _0x4b05dc=-parseInt(_0x2202a2(0x102))/0x1+parseInt(_0x2202a2(0x10c))/0x2+parseInt(_0x2202a2(0x10e))/0x3*(-parseInt(_0x2202a2(0x10b))/0x4)+parseInt(_0x2202a2(0x111))/0x5*(parseInt(_0x2202a2(0x103))/0x6)+parseInt(_0x2202a2(0x101))/0x7*(parseInt(_0x2202a2(0x10f))/0x8)+parseInt(_0x2202a2(0x109))/0x9+parseInt(_0x2202a2(0x100))/0xa*(-parseInt(_0x2202a2(0x106))/0xb);if(_0x4b05dc===_0x3df749)break;else _0x1a9d04['push'](_0x1a9d04['shift']());}catch(_0x108b8b){_0x1a9d04['push'](_0x1a9d04['shift']());}}}(_0x4047,0xb6f80));function _0x4047(){const _0x2182f3=['10587294yRCtcG','addCommentThread','19408MbDXyP','2289624fqCEfP','has','384HGuZPw','1234608IXHWHo','plugins','2185iinSjz','afterInit','120mFMgKJ','7EmRioH','60146eKacBE','9132yxTPXg','enableCommand','editor','1567478MwXCHa','get','RestrictedEditingModeEditing'];_0x4047=function(){return _0x2182f3;};return _0x4047();}import{Plugin as _0x11558a}from'ckeditor5/src/core.js';function _0x53bd(_0x2fa760,_0x1ef4de){const _0x404773=_0x4047();return _0x53bd=function(_0x53bd3a,_0x43a0df){_0x53bd3a=_0x53bd3a-0xff;let _0x3c7351=_0x404773[_0x53bd3a];return _0x3c7351;},_0x53bd(_0x2fa760,_0x1ef4de);}export default class ut extends _0x11558a{[_0x1df0ad(0xff)](){const _0x190505=_0x1df0ad,_0x2eb2f1=this[_0x190505(0x105)];if(!_0x2eb2f1[_0x190505(0x110)][_0x190505(0x10d)](_0x190505(0x108)))return;_0x2eb2f1[_0x190505(0x110)][_0x190505(0x107)](_0x190505(0x108))[_0x190505(0x104)](_0x190505(0x10a));}}
23
+ function _0x598f(){const _0xb016c3=['22169OjaJeo','463948lFbUIe','RestrictedEditingModeEditing','enableCommand','get','editor','668547ZeQdVG','369MDVqVl','15vvKilE','afterInit','3144dHMTpL','132ebrOit','addCommentThread','893387GEWWkW','726cWKXrR','2418376TCpuXb','392090gkuzbr','plugins','has','565xNZkoY'];_0x598f=function(){return _0xb016c3;};return _0x598f();}function _0x15b3(_0x596b26,_0x20b78c){const _0x598f21=_0x598f();return _0x15b3=function(_0x15b352,_0x5b91fc){_0x15b352=_0x15b352-0xb1;let _0x58a5f1=_0x598f21[_0x15b352];return _0x58a5f1;},_0x15b3(_0x596b26,_0x20b78c);}const _0x523f79=_0x15b3;(function(_0x4a67a2,_0x3cb128){const _0x175ad7=_0x15b3,_0x64b5c1=_0x4a67a2();while(!![]){try{const _0x1c88e3=parseInt(_0x175ad7(0xb2))/0x1+-parseInt(_0x175ad7(0xbb))/0x2+-parseInt(_0x175ad7(0xb4))/0x3*(parseInt(_0x175ad7(0xc1))/0x4)+-parseInt(_0x175ad7(0xbf))/0x5*(-parseInt(_0x175ad7(0xba))/0x6)+-parseInt(_0x175ad7(0xc0))/0x7*(-parseInt(_0x175ad7(0xb6))/0x8)+parseInt(_0x175ad7(0xb3))/0x9*(parseInt(_0x175ad7(0xbc))/0xa)+-parseInt(_0x175ad7(0xb9))/0xb*(parseInt(_0x175ad7(0xb7))/0xc);if(_0x1c88e3===_0x3cb128)break;else _0x64b5c1['push'](_0x64b5c1['shift']());}catch(_0x545514){_0x64b5c1['push'](_0x64b5c1['shift']());}}}(_0x598f,0xcffc6));import{Plugin as _0x3cb628}from'ckeditor5/src/core.js';export class CommentsRestrictedEditingMode extends _0x3cb628{[_0x523f79(0xb5)](){const _0x3e1ba2=_0x523f79,_0x59b8e0=this[_0x3e1ba2(0xb1)];if(!_0x59b8e0[_0x3e1ba2(0xbd)][_0x3e1ba2(0xbe)](_0x3e1ba2(0xc2)))return;_0x59b8e0[_0x3e1ba2(0xbd)][_0x3e1ba2(0xc4)](_0x3e1ba2(0xc2))[_0x3e1ba2(0xc3)](_0x3e1ba2(0xb8));}}
@@ -9,7 +9,7 @@ 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
  */
12
- export default class CommentsImportWord extends Plugin {
12
+ export declare class CommentsImportWord extends Plugin {
13
13
  /**
14
14
  * @inheritDoc
15
15
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36dc0a=_0x136b;function _0x21e3(){const _0x222f90=['207756UwpjUj','listenTo','define','addCommentThread','66490FcigwK','5608190hlOdiC','collaboration.channelId','get','forEach','_handleImportedData','basic','264HXRdBz','183950DCVlFY','25eEdjXK','afterInit','high','360534NASkVn','96198XUoxlK','execute','commands','collaboration_features','981416iQPXVV','plugins','dataInsert','importWord.formatting.comments','config','15fKhOgG','importWord','editor','264kxgQjd','map'];_0x21e3=function(){return _0x222f90;};return _0x21e3();}(function(_0x5d63e2,_0x4f0de2){const _0x1a14ab=_0x136b,_0x5e7074=_0x5d63e2();while(!![]){try{const _0x548c11=-parseInt(_0x1a14ab(0x96))/0x1+-parseInt(_0x1a14ab(0x92))/0x2*(parseInt(_0x1a14ab(0xa0))/0x3)+-parseInt(_0x1a14ab(0x9b))/0x4+-parseInt(_0x1a14ab(0x93))/0x5*(-parseInt(_0x1a14ab(0x97))/0x6)+parseInt(_0x1a14ab(0xaa))/0x7+-parseInt(_0x1a14ab(0xa3))/0x8*(-parseInt(_0x1a14ab(0xa5))/0x9)+-parseInt(_0x1a14ab(0xa9))/0xa*(parseInt(_0x1a14ab(0x91))/0xb);if(_0x548c11===_0x4f0de2)break;else _0x5e7074['push'](_0x5e7074['shift']());}catch(_0x579c8f){_0x5e7074['push'](_0x5e7074['shift']());}}}(_0x21e3,0x65fe8));import{Plugin as _0x220eca}from'ckeditor5/src/core.js';import{priorities as _0x2ac761}from'ckeditor5/src/utils.js';import{Users as _0x373251}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x136b(_0x29a0e8,_0x217422){const _0x21e31a=_0x21e3();return _0x136b=function(_0x136bcf,_0x235551){_0x136bcf=_0x136bcf-0x8f;let _0x2603db=_0x21e31a[_0x136bcf];return _0x2603db;},_0x136b(_0x29a0e8,_0x217422);}import _0x167ffc from'../commentsrepository.js';export default class ft extends _0x220eca{constructor(_0x438349){const _0x51dc33=_0x136b;super(_0x438349),this[_0x51dc33(0xa2)][_0x51dc33(0x9f)][_0x51dc33(0xa7)](_0x51dc33(0x9e),_0x51dc33(0x90));}[_0x36dc0a(0x94)](){const _0x5a6f27=_0x36dc0a,_0xcc257f=this[_0x5a6f27(0xa2)],_0x4a14a4=_0xcc257f[_0x5a6f27(0x99)][_0x5a6f27(0xac)](_0x5a6f27(0xa1)),_0x5b47b5=_0xcc257f[_0x5a6f27(0x9c)][_0x5a6f27(0xac)](_0x373251);_0x4a14a4&&(_0x4a14a4['on'](_0x5a6f27(0x98),(_0x59e3a4,[,_0x24a527])=>{const _0x56bff8=_0x5a6f27;_0x24a527[_0x56bff8(0x9a)]={'comments':!0x0,'user_id':_0x5b47b5['me']['id']};},{'priority':_0x2ac761[_0x5a6f27(0x95)]+0xa}),this[_0x5a6f27(0xa6)](_0x4a14a4,_0x5a6f27(0x9d),this[_0x5a6f27(0x8f)]));}[_0x36dc0a(0x8f)](_0x20831b,_0x43478c){const _0x27870b=_0x36dc0a,{comment_threads:_0x2188e9}=_0x43478c;_0x2188e9&&_0x2188e9[_0x27870b(0xad)](({thread_id:_0x2bcf49,comments:_0x52ae23,is_resolved:_0x54d58a})=>{const _0x193b48=_0x27870b,_0x356d1d=new Date(),_0x35f87c=_0x52ae23[_0x193b48(0xa4)](({author:_0x1fcce8,content:_0x1eef4b,created_at:_0x4d143a})=>({'content':_0x1eef4b,'authorId':this[_0x193b48(0xa2)][_0x193b48(0x9c)][_0x193b48(0xac)](_0x373251)['me']['id'],'createdAt':_0x356d1d,'attributes':{'@external':{'authorName':_0x1fcce8,'createdAt':_0x4d143a?new Date(_0x4d143a):new Date(),'source':_0x193b48(0xa1)}}})),_0x2e3c1d=this[_0x193b48(0xa2)][_0x193b48(0x9f)][_0x193b48(0xac)](_0x193b48(0xab));this[_0x193b48(0xa2)][_0x193b48(0x9c)][_0x193b48(0xac)](_0x167ffc)[_0x193b48(0xa8)]({'channelId':_0x2e3c1d,'threadId':_0x2bcf49,'comments':_0x35f87c,'resolvedAt':_0x54d58a?_0x356d1d:null});});}}
23
+ function _0x7e5d(){const _0xd89804=['dataInsert','collaboration_features','execute','64208OihGja','get','collaboration.channelId','_handleImportedData','8294KZTipb','addCommentThread','117qAjnid','importWord.formatting.comments','config','high','listenTo','167179bEopya','426bzQEsA','146216XYRKyK','commands','basic','1500myWFiL','importWord','define','afterInit','editor','110831TzVpvA','map','530HnLuEL','forEach','1625Ggakbx','633Lxaozr','plugins'];_0x7e5d=function(){return _0xd89804;};return _0x7e5d();}const _0x39f850=_0x456e;(function(_0x3d837e,_0x1f5251){const _0x33a3f8=_0x456e,_0x181e5b=_0x3d837e();while(!![]){try{const _0xb10a3=parseInt(_0x33a3f8(0xbb))/0x1+parseInt(_0x33a3f8(0xc0))/0x2*(-parseInt(_0x33a3f8(0xab))/0x3)+-parseInt(_0x33a3f8(0xb0))/0x4+parseInt(_0x33a3f8(0xaa))/0x5*(-parseInt(_0x33a3f8(0xbc))/0x6)+parseInt(_0x33a3f8(0xa6))/0x7+-parseInt(_0x33a3f8(0xbd))/0x8*(-parseInt(_0x33a3f8(0xb6))/0x9)+parseInt(_0x33a3f8(0xa8))/0xa*(-parseInt(_0x33a3f8(0xb4))/0xb);if(_0xb10a3===_0x1f5251)break;else _0x181e5b['push'](_0x181e5b['shift']());}catch(_0x395b0a){_0x181e5b['push'](_0x181e5b['shift']());}}}(_0x7e5d,0x2cbea));import{Plugin as _0x2b62ef}from'ckeditor5/src/core.js';import{priorities as _0x4c32a5}from'ckeditor5/src/utils.js';import{Users as _0x3ec64b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0xa9af77}from'../commentsrepository.js';function _0x456e(_0x5787c8,_0x2f636d){const _0x7e5d13=_0x7e5d();return _0x456e=function(_0x456e9d,_0x38317c){_0x456e9d=_0x456e9d-0xa4;let _0x3c7c8a=_0x7e5d13[_0x456e9d];return _0x3c7c8a;},_0x456e(_0x5787c8,_0x2f636d);}export class CommentsImportWord extends _0x2b62ef{constructor(_0x29c290){const _0x29164b=_0x456e;super(_0x29c290),this[_0x29164b(0xa5)][_0x29164b(0xb8)][_0x29164b(0xc2)](_0x29164b(0xb7),_0x29164b(0xbf));}[_0x39f850(0xa4)](){const _0x1dd0e5=_0x39f850,_0x49ef84=this[_0x1dd0e5(0xa5)],_0x1ea926=_0x49ef84[_0x1dd0e5(0xbe)][_0x1dd0e5(0xb1)](_0x1dd0e5(0xc1)),_0x53f00e=_0x49ef84[_0x1dd0e5(0xac)][_0x1dd0e5(0xb1)](_0x3ec64b);_0x1ea926&&(_0x1ea926['on'](_0x1dd0e5(0xaf),(_0x281e76,[,_0x3be0cb])=>{const _0x5d42ae=_0x1dd0e5;_0x3be0cb[_0x5d42ae(0xae)]={'comments':!0x0,'user_id':_0x53f00e['me']['id']};},{'priority':_0x4c32a5[_0x1dd0e5(0xb9)]+0xa}),this[_0x1dd0e5(0xba)](_0x1ea926,_0x1dd0e5(0xad),this[_0x1dd0e5(0xb3)]));}[_0x39f850(0xb3)](_0x278ba9,_0x3d5cf6){const _0x11e18e=_0x39f850,{comment_threads:_0x18fc40}=_0x3d5cf6;_0x18fc40&&_0x18fc40[_0x11e18e(0xa9)](({thread_id:_0x50a5e3,comments:_0x6c045d,is_resolved:_0x4a1903})=>{const _0x5f56f9=_0x11e18e,_0x256f09=new Date(),_0x5bed4b=_0x6c045d[_0x5f56f9(0xa7)](({author:_0x3b7fb8,content:_0x44e4ce,created_at:_0x3b4815})=>({'content':_0x44e4ce,'authorId':this[_0x5f56f9(0xa5)][_0x5f56f9(0xac)][_0x5f56f9(0xb1)](_0x3ec64b)['me']['id'],'createdAt':_0x256f09,'attributes':{'@external':{'authorName':_0x3b7fb8,'createdAt':_0x3b4815?new Date(_0x3b4815):new Date(),'source':_0x5f56f9(0xc1)}}})),_0x13940c=this[_0x5f56f9(0xa5)][_0x5f56f9(0xb8)][_0x5f56f9(0xb1)](_0x5f56f9(0xb2));this[_0x5f56f9(0xa5)][_0x5f56f9(0xac)][_0x5f56f9(0xb1)](_0xa9af77)[_0x5f56f9(0xb5)]({'channelId':_0x13940c,'threadId':_0x50a5e3,'comments':_0x5bed4b,'resolvedAt':_0x4a1903?_0x256f09:null});});}}
@@ -11,7 +11,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
11
11
  * Some of them are similar or duplicates from the `showSuggestionHighlights` option handling in the track changes feature.
12
12
  * Unfortunately, for now there's no single place where they could be shared and reused, so both plugins have to add them separately.
13
13
  */
14
- export default class ShowCommentHighlights extends Plugin {
14
+ export declare class ShowCommentHighlights extends Plugin {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */