@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.9 → 46.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/augmentation.d.ts +2 -2
  151. package/src/common-translations.js +1 -1
  152. package/src/config.d.ts +1 -1
  153. package/src/index.d.ts +15 -11
  154. package/src/index.js +1 -1
  155. package/src/presencelist/presencelistui.d.ts +2 -2
  156. package/src/presencelist/presencelistui.js +1 -1
  157. package/src/presencelist/view/presencecounterview.d.ts +1 -1
  158. package/src/presencelist/view/presencecounterview.js +1 -1
  159. package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
  160. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  161. package/src/presencelist/view/presencedropdownlistview.d.ts +1 -28
  162. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  163. package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
  164. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  165. package/src/presencelist/view/presenceinlinelistview.d.ts +3 -3
  166. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  167. package/src/presencelist/view/presencelistview.d.ts +0 -15
  168. package/src/presencelist/view/presencelistview.js +1 -1
  169. package/src/presencelist.d.ts +3 -3
  170. package/src/presencelist.js +1 -1
  171. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +3 -3
  172. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  173. package/src/realtimecollaborativecomments.d.ts +4 -4
  174. package/src/realtimecollaborativecomments.js +1 -1
  175. package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +4 -4
  176. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  177. package/src/realtimecollaborativeediting/sessions.d.ts +7 -7
  178. package/src/realtimecollaborativeediting/sessions.js +1 -1
  179. package/src/realtimecollaborativeediting/usermarkers.d.ts +2 -2
  180. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  181. package/src/realtimecollaborativeediting/websocketgateway.d.ts +7 -8
  182. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  183. package/src/realtimecollaborativeediting.d.ts +2 -2
  184. package/src/realtimecollaborativeediting.js +1 -1
  185. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +4 -4
  186. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  187. package/src/realtimecollaborativerevisionhistory.d.ts +3 -3
  188. package/src/realtimecollaborativerevisionhistory.js +1 -1
  189. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +3 -3
  190. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  191. package/src/realtimecollaborativetrackchanges.d.ts +3 -3
  192. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49bd1f=_0x6b23;(function(_0x43b944,_0x44b309){const _0x465e23=_0x6b23,_0x549894=_0x43b944();while(!![]){try{const _0xb14edd=parseInt(_0x465e23(0x1c3))/0x1*(-parseInt(_0x465e23(0x1c6))/0x2)+-parseInt(_0x465e23(0x1bd))/0x3*(parseInt(_0x465e23(0x1b9))/0x4)+parseInt(_0x465e23(0x1c1))/0x5+parseInt(_0x465e23(0x1b2))/0x6+-parseInt(_0x465e23(0x1b7))/0x7+parseInt(_0x465e23(0x1c4))/0x8+parseInt(_0x465e23(0x1ba))/0x9*(parseInt(_0x465e23(0x1b5))/0xa);if(_0xb14edd===_0x44b309)break;else _0x549894['push'](_0x549894['shift']());}catch(_0x404aa2){_0x549894['push'](_0x549894['shift']());}}}(_0x4be9,0x5e340));function _0x4be9(){const _0x126ee0=['1008819ozNmMv','userView','36zneRfc','4876038SIgbbB','span','ck-presence-list__dropdown-list-item','142986pvYZcD','color','ck-presence-list__marker','bindTemplate','2575790ufWjxN','button','424955VqygOw','1717264EGiMgG','true','2smtiYr','element','getBackgroundColorClass','presentation','fire','focus','tag','execute','673728DTrupU','setTemplate','name','10ThSOqz','ck-user__full-name'];_0x4be9=function(){return _0x126ee0;};return _0x4be9();}function _0x6b23(_0x3056c5,_0xa1ba44){const _0x4be91e=_0x4be9();return _0x6b23=function(_0x6b23b6,_0x118008){_0x6b23b6=_0x6b23b6-0x1ac;let _0x47f95e=_0x4be91e[_0x6b23b6];return _0x47f95e;},_0x6b23(_0x3056c5,_0xa1ba44);}import{ListItemView as _0x4bda1c}from'ckeditor5/src/ui.js';import{UserView as _0x52b5bd}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4bda1c{[_0x49bd1f(0x1b8)];constructor(_0x5d4969,_0xb892d6,_0xc3a022){const _0x26e549=_0x49bd1f;super(_0x5d4969);const _0x105d84=this[_0x26e549(0x1c0)];this[_0x26e549(0x1b8)]=new _0x52b5bd(_0x5d4969,_0xb892d6);const _0x452d7e={'tag':'li','attributes':{'class':['ck',_0x26e549(0x1bc)],'tabindex':-0x1,'role':_0x26e549(0x1ad),'aria-label':_0xb892d6[_0x26e549(0x1b4)]},'children':[this[_0x26e549(0x1b8)],{'tag':_0x26e549(0x1bb),'attributes':{'class':['ck',_0x26e549(0x1b6)]},'children':[{'text':_0xb892d6[_0x26e549(0x1b4)]}]},{'tag':_0x26e549(0x1bb),'attributes':{'class':['ck',_0x26e549(0x1bf),_0xb892d6[_0x26e549(0x1be)][_0x26e549(0x1ac)]()],'aria-hidden':_0x26e549(0x1c5)}}]};_0xc3a022&&(_0x452d7e[_0x26e549(0x1b0)]=_0x26e549(0x1c2),_0x452d7e['on']={'click':_0x105d84['to'](()=>this[_0x26e549(0x1ae)](_0x26e549(0x1b1)))}),this[_0x26e549(0x1b3)](_0x452d7e);}[_0x49bd1f(0x1af)](){const _0x4e131a=_0x49bd1f;this[_0x4e131a(0x1c7)][_0x4e131a(0x1af)]();}}
23
+ const _0x1f9664=_0x31b4;function _0x31b4(_0xa56d6f,_0x5304b3){const _0x33a2a3=_0x33a2();return _0x31b4=function(_0x31b453,_0x4a6b88){_0x31b453=_0x31b453-0x9e;let _0x349b49=_0x33a2a3[_0x31b453];return _0x349b49;},_0x31b4(_0xa56d6f,_0x5304b3);}(function(_0x40f325,_0x8b0a32){const _0x2410c2=_0x31b4,_0x92b5bb=_0x40f325();while(!![]){try{const _0x4d9814=-parseInt(_0x2410c2(0xad))/0x1+-parseInt(_0x2410c2(0xb4))/0x2+-parseInt(_0x2410c2(0xb7))/0x3*(parseInt(_0x2410c2(0xae))/0x4)+parseInt(_0x2410c2(0xa0))/0x5+-parseInt(_0x2410c2(0xb1))/0x6+parseInt(_0x2410c2(0xa7))/0x7*(-parseInt(_0x2410c2(0xaa))/0x8)+parseInt(_0x2410c2(0xaf))/0x9*(parseInt(_0x2410c2(0xb3))/0xa);if(_0x4d9814===_0x8b0a32)break;else _0x92b5bb['push'](_0x92b5bb['shift']());}catch(_0x33cf8f){_0x92b5bb['push'](_0x92b5bb['shift']());}}}(_0x33a2,0x410da));import{ListItemView as _0x13bf06}from'ckeditor5/src/ui.js';import{UserView as _0x8f531a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x33a2(){const _0x35f802=['527988LGJvbA','tag','focus','9609JVqmcj','getBackgroundColorClass','name','ck-presence-list__marker','execute','1722915PUKMXA','element','fire','ck-user__full-name','bindTemplate','userView','ck-presence-list__dropdown-list-item','54754YFpKgD','span','presentation','352iBDPcO','button','setTemplate','192757zuVciZ','572hcZSZI','45TBsHoB','true','3165672QrOHxg','color','3416870iPpzMB'];_0x33a2=function(){return _0x35f802;};return _0x33a2();}export class PresenceDropdownListItemView extends _0x13bf06{[_0x1f9664(0xa5)];constructor(_0x400716,_0x5d458c,_0x365e67){const _0x1560ae=_0x1f9664;super(_0x400716);const _0x141e5b=this[_0x1560ae(0xa4)];this[_0x1560ae(0xa5)]=new _0x8f531a(_0x400716,_0x5d458c);const _0x1cf032={'tag':'li','attributes':{'class':['ck',_0x1560ae(0xa6)],'tabindex':-0x1,'role':_0x1560ae(0xa9),'aria-label':_0x5d458c[_0x1560ae(0xb9)]},'children':[this[_0x1560ae(0xa5)],{'tag':_0x1560ae(0xa8),'attributes':{'class':['ck',_0x1560ae(0xa3)]},'children':[{'text':_0x5d458c[_0x1560ae(0xb9)]}]},{'tag':_0x1560ae(0xa8),'attributes':{'class':['ck',_0x1560ae(0x9e),_0x5d458c[_0x1560ae(0xb2)][_0x1560ae(0xb8)]()],'aria-hidden':_0x1560ae(0xb0)}}]};_0x365e67&&(_0x1cf032[_0x1560ae(0xb5)]=_0x1560ae(0xab),_0x1cf032['on']={'click':_0x141e5b['to'](()=>this[_0x1560ae(0xa2)](_0x1560ae(0x9f)))}),this[_0x1560ae(0xac)](_0x1cf032);}[_0x1f9664(0xb6)](){const _0x1d7e5b=_0x1f9664;this[_0x1d7e5b(0xa1)][_0x1d7e5b(0xb6)]();}}
@@ -2,31 +2,4 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module real-time-collaboration/presencelist/view/presencedropdownlistview
7
- * @publicApi
8
- */
9
- import { ListView, View } from 'ckeditor5/src/ui.js';
10
- import { type Locale } from 'ckeditor5/src/utils.js';
11
- /**
12
- * `PresenceDropdownListView` is a view that represents the dropdown variant of users list.
13
- *
14
- * It is displayed when the user count is equal to or greater than the value specified in
15
- * {@link module:real-time-collaboration/config~PresenceListConfig#collapseAt `config.presenceList.collapseAt`}.
16
- */
17
- export default class PresenceDropdownListView extends View {
18
- /**
19
- * @inheritDoc
20
- */
21
- constructor(locale: Locale, isButtonsList?: boolean);
22
- }
23
- /**
24
- * Wrapper view for the presence dropdown list.
25
- */
26
- export declare class PresenceDropdownListWrapperView extends ListView {
27
- constructor(locale: Locale, isButtonsList?: boolean);
28
- /**
29
- * @inheritDoc
30
- */
31
- render(): void;
32
- }
5
+ export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16638c=_0x244b;(function(_0x566c69,_0x3a6446){const _0x2fbff9=_0x244b,_0x438be3=_0x566c69();while(!![]){try{const _0x17c620=-parseInt(_0x2fbff9(0x1cd))/0x1+parseInt(_0x2fbff9(0x1cc))/0x2*(-parseInt(_0x2fbff9(0x1af))/0x3)+parseInt(_0x2fbff9(0x1cb))/0x4+parseInt(_0x2fbff9(0x1a9))/0x5*(-parseInt(_0x2fbff9(0x1c6))/0x6)+-parseInt(_0x2fbff9(0x1ba))/0x7*(-parseInt(_0x2fbff9(0x1b5))/0x8)+-parseInt(_0x2fbff9(0x1a8))/0x9*(parseInt(_0x2fbff9(0x1ab))/0xa)+parseInt(_0x2fbff9(0x1b2))/0xb;if(_0x17c620===_0x3a6446)break;else _0x438be3['push'](_0x438be3['shift']());}catch(_0x5ddb2f){_0x438be3['push'](_0x438be3['shift']());}}}(_0x3f75,0x84e9f));function _0x244b(_0x1dceb9,_0x1edbc4){const _0x3f753c=_0x3f75();return _0x244b=function(_0x244b16,_0x5c5fd4){_0x244b16=_0x244b16-0x1a4;let _0x59888=_0x3f753c[_0x244b16];return _0x59888;},_0x244b(_0x1dceb9,_0x1edbc4);}import{ListView as _0x4bbc72,View as _0x2388ff}from'ckeditor5/src/ui.js';import{global as _0x4c3952}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c4caa}from'../../common-translations.js';function _0x3f75(){const _0x36a165=['8MSfwXL','querySelector','application','checkIfScrollable','bindTemplate','2860998ErGWMl','window','ck-reset','ck-presence-list__dropdown-list','clientHeight','listenTo','set','innerHeight','presencelist:hide','relatedTarget','change','div','363396oiUovv','.ck-presence-list__list','ck-presence-list__dropdown-list-wrapper_scrollable','listWrapperView','items','2286588DeFHWh','104xQplrd','713768sLdrZl','.ck-balloon-panel_with-arrow','ariaLabelledBy','role','contains','Connected\x20users\x20list\x20dropdown\x20menu','_isScrollable','setTemplate','max','9jxmHez','20wkeVIs','render','1872130FFiXpn','resize','ck-list','fire','52092CmDcVy','ariaLabel','scrollHeight','17712497GgCbZy','ck-presence-list__dropdown-list-wrapper','element'];_0x3f75=function(){return _0x36a165;};return _0x3f75();}export default class x extends _0x2388ff{[_0x16638c(0x1c9)];constructor(_0x27c8e4,_0x316d18){const _0x4a2977=_0x16638c;super(_0x27c8e4);const _0x808a33=this[_0x4a2977(0x1b9)];this[_0x4a2977(0x1c9)]=new PresenceDropdownListWrapperView(_0x27c8e4,_0x316d18),this[_0x4a2977(0x1a6)]({'tag':_0x4a2977(0x1c5),'attributes':{'tabindex':-0x1,'role':_0x4a2977(0x1b7),'class':['ck',_0x4a2977(0x1bd)],'aria-label':_0x3c4caa(_0x27c8e4,_0x4a2977(0x1a4))},'children':[this[_0x4a2977(0x1c9)]],'on':{'mouseleave':_0x808a33['to'](_0x32a0c6=>{const _0x1f3298=_0x4a2977,_0x1d414b=_0x32a0c6,_0x5d17e2=document[_0x1f3298(0x1b6)](_0x1f3298(0x1c7)),_0x2591db=document[_0x1f3298(0x1b6)](_0x1f3298(0x1ce));_0x5d17e2?.[_0x1f3298(0x1d1)](_0x1d414b[_0x1f3298(0x1c3)])||_0x2591db?.[_0x1f3298(0x1d1)](_0x1d414b[_0x1f3298(0x1c3)])||this[_0x1f3298(0x1ae)](_0x1f3298(0x1c2));})}});}}export class PresenceDropdownListWrapperView extends _0x4bbc72{constructor(_0xd29471,_0x3ee742){const _0x37a1a2=_0x16638c;super(_0xd29471);const _0x304f4a=this[_0x37a1a2(0x1b9)];this[_0x37a1a2(0x1c0)](_0x37a1a2(0x1a5),!0x1),this[_0x37a1a2(0x1a6)]({'tag':_0x3ee742?_0x37a1a2(0x1c5):'ul','attributes':{'class':['ck',_0x37a1a2(0x1bc),_0x37a1a2(0x1ad),_0x37a1a2(0x1b3),_0x304f4a['if'](_0x37a1a2(0x1a5),_0x37a1a2(0x1c8))],'role':_0x304f4a['to'](_0x37a1a2(0x1d0)),'aria-label':_0x304f4a['to'](_0x37a1a2(0x1b0)),'aria-labelledby':_0x304f4a['to'](_0x37a1a2(0x1cf))},'children':this[_0x37a1a2(0x1ca)]}),this[_0x37a1a2(0x1bf)](_0x4c3952[_0x37a1a2(0x1bb)],_0x37a1a2(0x1ac),()=>this[_0x37a1a2(0x1b8)]()),this[_0x37a1a2(0x1ca)]['on'](_0x37a1a2(0x1c4),()=>this[_0x37a1a2(0x1b8)]());}[_0x16638c(0x1aa)](){const _0x4006a3=_0x16638c;super[_0x4006a3(0x1aa)](),this[_0x4006a3(0x1b8)]();}[_0x16638c(0x1b8)](){const _0x3fcf23=_0x16638c,_0x43fe95=this[_0x3fcf23(0x1b4)];_0x43fe95&&(this[_0x3fcf23(0x1a5)]=Math[_0x3fcf23(0x1a7)](_0x43fe95[_0x3fcf23(0x1b1)],_0x43fe95[_0x3fcf23(0x1be)])>0.8*window[_0x3fcf23(0x1c1)]);}}
23
+ const _0x2d5690=_0x1c50;function _0x1c50(_0x38b8ff,_0x22444d){const _0x59a851=_0x59a8();return _0x1c50=function(_0x1c50ac,_0x17fdf9){_0x1c50ac=_0x1c50ac-0x193;let _0x54b97f=_0x59a851[_0x1c50ac];return _0x54b97f;},_0x1c50(_0x38b8ff,_0x22444d);}function _0x59a8(){const _0x3925b0=['resize','div','.ck-presence-list__list','items','setTemplate','118608gIVsTM','set','clientHeight','ck-presence-list__dropdown-list-wrapper','45HekTrQ','285138PeRXae','application','listenTo','ck-presence-list__dropdown-list-wrapper_scrollable','presencelist:hide','_isScrollable','role','window','change','.ck-balloon-panel_with-arrow','fire','ariaLabelledBy','listWrapperView','querySelector','38068uRLdBR','Connected\x20users\x20list\x20dropdown\x20menu','scrollHeight','532086ToFMTn','266IJNpqQ','relatedTarget','1238120mbGtHU','11pjFZDO','79401TwHVxM','ariaLabel','checkIfScrollable','element','render','max','ck-reset','ck-list','ck-presence-list__dropdown-list','bindTemplate','contains','innerHeight'];_0x59a8=function(){return _0x3925b0;};return _0x59a8();}(function(_0xc07546,_0x5513a0){const _0xca072c=_0x1c50,_0x3bd38e=_0xc07546();while(!![]){try{const _0x115c3c=parseInt(_0xca072c(0x198))/0x1*(parseInt(_0xca072c(0x195))/0x2)+-parseInt(_0xca072c(0x199))/0x3+parseInt(_0xca072c(0x1bd))/0x4*(parseInt(_0xca072c(0x1ae))/0x5)+-parseInt(_0xca072c(0x194))/0x6+parseInt(_0xca072c(0x1aa))/0x7+parseInt(_0xca072c(0x197))/0x8+-parseInt(_0xca072c(0x1af))/0x9;if(_0x115c3c===_0x5513a0)break;else _0x3bd38e['push'](_0x3bd38e['shift']());}catch(_0x378440){_0x3bd38e['push'](_0x3bd38e['shift']());}}}(_0x59a8,0x1b57b));import{ListView as _0x3318d5,View as _0xd7169d}from'ckeditor5/src/ui.js';import{global as _0x3b79dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x28da8d}from'../../common-translations.js';export class PresenceDropdownListView extends _0xd7169d{[_0x2d5690(0x1bb)];constructor(_0x1d88b8,_0x322c0f){const _0x576f78=_0x2d5690;super(_0x1d88b8);const _0x178d29=this[_0x576f78(0x1a2)];this[_0x576f78(0x1bb)]=new PresenceDropdownListWrapperView(_0x1d88b8,_0x322c0f),this[_0x576f78(0x1a9)]({'tag':_0x576f78(0x1a6),'attributes':{'tabindex':-0x1,'role':_0x576f78(0x1b0),'class':['ck',_0x576f78(0x1a1)],'aria-label':_0x28da8d(_0x1d88b8,_0x576f78(0x1be))},'children':[this[_0x576f78(0x1bb)]],'on':{'mouseleave':_0x178d29['to'](_0x18da8c=>{const _0x71aad1=_0x576f78,_0x3a9a61=_0x18da8c,_0x2a13aa=document[_0x71aad1(0x1bc)](_0x71aad1(0x1a7)),_0x59bc1f=document[_0x71aad1(0x1bc)](_0x71aad1(0x1b8));_0x2a13aa?.[_0x71aad1(0x1a3)](_0x3a9a61[_0x71aad1(0x196)])||_0x59bc1f?.[_0x71aad1(0x1a3)](_0x3a9a61[_0x71aad1(0x196)])||this[_0x71aad1(0x1b9)](_0x71aad1(0x1b3));})}});}}export class PresenceDropdownListWrapperView extends _0x3318d5{constructor(_0x516ceb,_0x21c7c3){const _0x1d0510=_0x2d5690;super(_0x516ceb);const _0x368a97=this[_0x1d0510(0x1a2)];this[_0x1d0510(0x1ab)](_0x1d0510(0x1b4),!0x1),this[_0x1d0510(0x1a9)]({'tag':_0x21c7c3?_0x1d0510(0x1a6):'ul','attributes':{'class':['ck',_0x1d0510(0x19f),_0x1d0510(0x1a0),_0x1d0510(0x1ad),_0x368a97['if'](_0x1d0510(0x1b4),_0x1d0510(0x1b2))],'role':_0x368a97['to'](_0x1d0510(0x1b5)),'aria-label':_0x368a97['to'](_0x1d0510(0x19a)),'aria-labelledby':_0x368a97['to'](_0x1d0510(0x1ba))},'children':this[_0x1d0510(0x1a8)]}),this[_0x1d0510(0x1b1)](_0x3b79dd[_0x1d0510(0x1b6)],_0x1d0510(0x1a5),()=>this[_0x1d0510(0x19b)]()),this[_0x1d0510(0x1a8)]['on'](_0x1d0510(0x1b7),()=>this[_0x1d0510(0x19b)]());}[_0x2d5690(0x19d)](){const _0x1a31bb=_0x2d5690;super[_0x1a31bb(0x19d)](),this[_0x1a31bb(0x19b)]();}[_0x2d5690(0x19b)](){const _0x38b264=_0x2d5690,_0x51ab2f=this[_0x38b264(0x19c)];_0x51ab2f&&(this[_0x38b264(0x1b4)]=Math[_0x38b264(0x19e)](_0x51ab2f[_0x38b264(0x193)],_0x51ab2f[_0x38b264(0x1ac)])>0.8*window[_0x38b264(0x1a4)]);}}
@@ -5,7 +5,7 @@
5
5
  import { View } from 'ckeditor5/src/ui.js';
6
6
  import type { Locale } from 'ckeditor5/src/utils.js';
7
7
  import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
- export default class PresenceInlineListItemView extends View {
8
+ export declare class PresenceInlineListItemView extends View {
9
9
  isFocusable: boolean;
10
10
  hasTooltip: boolean;
11
11
  tooltipPosition: string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c48c0=_0x5d90;(function(_0xc912c6,_0x2a5f5f){const _0x23086a=_0x5d90,_0xa36ac=_0xc912c6();while(!![]){try{const _0x16dd40=parseInt(_0x23086a(0xeb))/0x1*(-parseInt(_0x23086a(0x100))/0x2)+-parseInt(_0x23086a(0xf2))/0x3*(parseInt(_0x23086a(0xea))/0x4)+-parseInt(_0x23086a(0xf9))/0x5+-parseInt(_0x23086a(0xf3))/0x6+parseInt(_0x23086a(0x109))/0x7+parseInt(_0x23086a(0xfe))/0x8*(-parseInt(_0x23086a(0xff))/0x9)+parseInt(_0x23086a(0xed))/0xa*(parseInt(_0x23086a(0x102))/0xb);if(_0x16dd40===_0x2a5f5f)break;else _0xa36ac['push'](_0xa36ac['shift']());}catch(_0x586cc9){_0xa36ac['push'](_0xa36ac['shift']());}}}(_0x1bab,0x34f4e));import{LabelView as _0x273346,View as _0x3da4c6}from'ckeditor5/src/ui.js';import{UserView as _0xf042b9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d90(_0x2607cd,_0x236b94){const _0x1bab25=_0x1bab();return _0x5d90=function(_0x5d9063,_0x3d2acf){_0x5d9063=_0x5d9063-0xe8;let _0x53d687=_0x1bab25[_0x5d9063];return _0x53d687;},_0x5d90(_0x2607cd,_0x236b94);}export default class y extends _0x3da4c6{[_0x1c48c0(0xf1)];[_0x1c48c0(0xec)];constructor(_0x195755,_0x594cc6,_0x4483a9){const _0x33b666=_0x1c48c0;super(_0x195755);const _0x252574=this[_0x33b666(0x101)];this[_0x33b666(0xfc)](_0x33b666(0xf8),!0x1),this[_0x33b666(0xfc)](_0x33b666(0x107),!0x0),this[_0x33b666(0xfc)](_0x33b666(0xef),''),this[_0x33b666(0xf1)]=new _0xf042b9(_0x195755,_0x594cc6),this[_0x33b666(0xec)]=new at(_0x195755,_0x594cc6);const _0x2cf829=new _0x273346(_0x195755);_0x2cf829[_0x33b666(0xf4)][_0x33b666(0xfb)]=_0x33b666(0xe8),_0x2cf829[_0x33b666(0x108)]=_0x594cc6[_0x33b666(0xf0)];const _0x1c360d={'tag':_0x33b666(0xfd),'attributes':{'class':['ck',_0x33b666(0x103)],'role':_0x33b666(0xfa),'tabindex':_0x252574['to'](_0x33b666(0xf8),_0x5c2e46=>!!_0x5c2e46&&0x0),'aria-labelledby':_0x2cf829['id'],'data-cke-tooltip-text':this[_0x33b666(0xf1)][_0x33b666(0xf0)],'data-cke-tooltip-position':_0x252574['to'](_0x33b666(0xef)),'data-cke-tooltip-disabled':_0x252574['to'](_0x33b666(0x107),_0x6cd59c=>!_0x6cd59c),'data-cke-tooltip-class':_0x33b666(0xf7)},'children':[this[_0x33b666(0xf1)],this[_0x33b666(0xec)],_0x2cf829]};_0x4483a9&&(_0x1c360d[_0x33b666(0xfb)]=_0x33b666(0xf6),_0x1c360d['on']={'click':_0x252574['to'](()=>this[_0x33b666(0x104)](_0x33b666(0xf5)))}),this[_0x33b666(0xe9)](_0x1c360d);}}class at extends _0x3da4c6{constructor(_0x283bd5,_0x21382e){const _0x44c5e3=_0x1c48c0;super(_0x283bd5),this[_0x44c5e3(0xe9)]({'tag':_0x44c5e3(0xe8),'attributes':{'class':['ck',_0x44c5e3(0x10a),_0x21382e[_0x44c5e3(0x106)][_0x44c5e3(0x105)]()],'aria-hidden':_0x44c5e3(0xee)}});}}function _0x1bab(){const _0x5b01dd=['execute','button','ck-presence-list__list-item__tooltip','isFocusable','879385HuSFhn','listitem','tag','set','div','40HuTHMf','606897oyTHyO','644046wGHlxT','bindTemplate','1376309HDAqAU','ck-presence-list__list-item','fire','getBackgroundColorClass','color','hasTooltip','text','604156zcRySK','ck-presence-list__marker','span','setTemplate','4bHHPpt','1xiCHCS','markerView','90XqZbFp','true','tooltipPosition','name','userView','238593CYmgjk','485238HqoLyf','template'];_0x1bab=function(){return _0x5b01dd;};return _0x1bab();}
23
+ function _0x4efa(){const _0x2d6466=['10uzsDNt','tag','1261346Tqkzmq','4200231UwICfB','execute','fire','getBackgroundColorClass','12319200SJSMfa','color','userView','div','tooltipPosition','hasTooltip','ck-presence-list__list-item','3695592GcDwyn','span','setTemplate','text','1185488RiRKpc','markerView','ck-presence-list__list-item__tooltip','isFocusable','name','template','set','true','listitem','bindTemplate','ck-presence-list__marker','button','5855496ubQSuE','2159140RsCLSB'];_0x4efa=function(){return _0x2d6466;};return _0x4efa();}const _0x379a60=_0x5048;(function(_0x4c0d1f,_0x292231){const _0x19da97=_0x5048,_0x1f7365=_0x4c0d1f();while(!![]){try{const _0x54869e=-parseInt(_0x19da97(0x9d))/0x1+-parseInt(_0x19da97(0xba))/0x2+parseInt(_0x19da97(0xa9))/0x3+-parseInt(_0x19da97(0xad))/0x4*(-parseInt(_0x19da97(0xbb))/0x5)+-parseInt(_0x19da97(0xb9))/0x6+parseInt(_0x19da97(0x9e))/0x7+parseInt(_0x19da97(0xa2))/0x8;if(_0x54869e===_0x292231)break;else _0x1f7365['push'](_0x1f7365['shift']());}catch(_0x1b05d9){_0x1f7365['push'](_0x1f7365['shift']());}}}(_0x4efa,0x9e21d));import{LabelView as _0x46ab9a,View as _0x2ec67c}from'ckeditor5/src/ui.js';import{UserView as _0x65f404}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5048(_0x1e311c,_0x5f0724){const _0x4efa26=_0x4efa();return _0x5048=function(_0x50489e,_0x10ff2a){_0x50489e=_0x50489e-0x9c;let _0x33e6b1=_0x4efa26[_0x50489e];return _0x33e6b1;},_0x5048(_0x1e311c,_0x5f0724);}export class PresenceInlineListItemView extends _0x2ec67c{[_0x379a60(0xa4)];[_0x379a60(0xae)];constructor(_0x456d65,_0x964914,_0x42fbee){const _0x321b36=_0x379a60;super(_0x456d65);const _0x578fff=this[_0x321b36(0xb6)];this[_0x321b36(0xb3)](_0x321b36(0xb0),!0x1),this[_0x321b36(0xb3)](_0x321b36(0xa7),!0x0),this[_0x321b36(0xb3)](_0x321b36(0xa6),''),this[_0x321b36(0xa4)]=new _0x65f404(_0x456d65,_0x964914),this[_0x321b36(0xae)]=new at(_0x456d65,_0x964914);const _0x3534e9=new _0x46ab9a(_0x456d65);_0x3534e9[_0x321b36(0xb2)][_0x321b36(0x9c)]=_0x321b36(0xaa),_0x3534e9[_0x321b36(0xac)]=_0x964914[_0x321b36(0xb1)];const _0x1c60cd={'tag':_0x321b36(0xa5),'attributes':{'class':['ck',_0x321b36(0xa8)],'role':_0x321b36(0xb5),'tabindex':_0x578fff['to'](_0x321b36(0xb0),_0x55f66c=>!!_0x55f66c&&0x0),'aria-labelledby':_0x3534e9['id'],'data-cke-tooltip-text':this[_0x321b36(0xa4)][_0x321b36(0xb1)],'data-cke-tooltip-position':_0x578fff['to'](_0x321b36(0xa6)),'data-cke-tooltip-disabled':_0x578fff['to'](_0x321b36(0xa7),_0x487122=>!_0x487122),'data-cke-tooltip-class':_0x321b36(0xaf)},'children':[this[_0x321b36(0xa4)],this[_0x321b36(0xae)],_0x3534e9]};_0x42fbee&&(_0x1c60cd[_0x321b36(0x9c)]=_0x321b36(0xb8),_0x1c60cd['on']={'click':_0x578fff['to'](()=>this[_0x321b36(0xa0)](_0x321b36(0x9f)))}),this[_0x321b36(0xab)](_0x1c60cd);}}class at extends _0x2ec67c{constructor(_0x262687,_0x29c659){const _0x3c4dee=_0x379a60;super(_0x262687),this[_0x3c4dee(0xab)]({'tag':_0x3c4dee(0xaa),'attributes':{'class':['ck',_0x3c4dee(0xb7),_0x29c659[_0x3c4dee(0xa3)][_0x3c4dee(0xa1)]()],'aria-hidden':_0x3c4dee(0xb4)}});}}
@@ -3,10 +3,10 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
6
- import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
7
- import type PresenceCounterView from './presencecounterview.js';
6
+ import { type PresenceInlineListItemView } from './presenceinlinelistitemview.js';
7
+ import { type PresenceCounterView } from './presencecounterview.js';
8
8
  import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
9
- export default class PresenceInlineListView extends View implements FocusableView {
9
+ export declare class PresenceInlineListView extends View implements FocusableView {
10
10
  /**
11
11
  * The collection of `PresenceInlineListItemView` instances.
12
12
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cea9c=_0xae36;(function(_0x39e6df,_0x219f6d){const _0x154c11=_0xae36,_0x24cabb=_0x39e6df();while(!![]){try{const _0x423cb0=parseInt(_0x154c11(0x151))/0x1+parseInt(_0x154c11(0x145))/0x2+parseInt(_0x154c11(0x149))/0x3+-parseInt(_0x154c11(0x14d))/0x4+-parseInt(_0x154c11(0x157))/0x5*(parseInt(_0x154c11(0x137))/0x6)+parseInt(_0x154c11(0x139))/0x7*(-parseInt(_0x154c11(0x152))/0x8)+parseInt(_0x154c11(0x14c))/0x9*(parseInt(_0x154c11(0x14a))/0xa);if(_0x423cb0===_0x219f6d)break;else _0x24cabb['push'](_0x24cabb['shift']());}catch(_0x31b7e6){_0x24cabb['push'](_0x24cabb['shift']());}}}(_0x3cd8,0xd6383));import{View as _0xb3dd44}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x461e31}from'ckeditor5/src/utils.js';function _0xae36(_0x4a2852,_0x10fe13){const _0x3cd825=_0x3cd8();return _0xae36=function(_0xae3670,_0x2fd1cb){_0xae3670=_0xae3670-0x132;let _0x4191a=_0x3cd825[_0xae3670];return _0x4191a;},_0xae36(_0x4a2852,_0x10fe13);}import{getTranslation as _0x38404e}from'../../common-translations.js';function _0x3cd8(){const _0x277250=['presencelist:hide','items','ck-presence-list__list','1278492IlmloF','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','10791305XhJowk','presencelist:show','Connected\x20users\x20list','removeAttribute','keystrokes','.ck-presence-list__dropdown-list','setTemplate','change:hasPopup','relatedTarget','render','contains','setAttribute','1378312uAdULb','querySelector','.ck-balloon-panel_with-arrow','bindTemplate','1919886NFMMRw','580cvGSjV','aria-expanded','357975GGGvzL','1247204mHTLfV','hasPopup','isExpanded','createCollection','160201DEflUy','8AwkpAw','element','set','focus','list','25iRiDgU','div','fire','listenTo'];_0x3cd8=function(){return _0x277250;};return _0x3cd8();}export default class ts extends _0xb3dd44{[_0x5cea9c(0x135)];[_0x5cea9c(0x13d)];constructor(_0x4d5b59){const _0x1dd75b=_0x5cea9c;super(_0x4d5b59);const _0x445f04=this[_0x1dd75b(0x148)];this[_0x1dd75b(0x135)]=this[_0x1dd75b(0x150)](),this[_0x1dd75b(0x13d)]=new _0x461e31(),this[_0x1dd75b(0x154)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1dd75b(0x13f)]({'tag':_0x1dd75b(0x158),'attributes':{'aria-haspopup':_0x445f04['if'](_0x1dd75b(0x14e)),'aria-expanded':_0x445f04['to'](_0x1dd75b(0x14f),_0x386628=>this[_0x1dd75b(0x14e)]&&String(_0x386628)),'aria-label':_0x445f04['to'](_0x1dd75b(0x14e),_0x29fed5=>_0x38404e(_0x4d5b59,_0x29fed5?_0x1dd75b(0x138):_0x1dd75b(0x13b))),'role':_0x1dd75b(0x156),'tabindex':_0x445f04['to'](_0x1dd75b(0x14e),_0x4dd7c1=>!!_0x4dd7c1&&0x0),'class':['ck',_0x1dd75b(0x136)]},'children':this[_0x1dd75b(0x135)],'on':{'mouseenter':_0x445f04['to'](()=>this[_0x1dd75b(0x132)](_0x1dd75b(0x13a))),'mouseleave':_0x445f04['to'](_0x5cf94e=>{const _0x40856d=_0x1dd75b,_0x10acb7=_0x5cf94e,_0x2c6e24=document[_0x40856d(0x146)](_0x40856d(0x13e)),_0x7860f0=document[_0x40856d(0x146)](_0x40856d(0x147));_0x2c6e24?.[_0x40856d(0x143)](_0x10acb7[_0x40856d(0x141)])||_0x7860f0?.[_0x40856d(0x143)](_0x10acb7[_0x40856d(0x141)])||this[_0x40856d(0x132)](_0x40856d(0x134));})}}),this['on'](_0x1dd75b(0x140),(_0x4bcd4b,_0x2352ca,_0x387491)=>{const _0x52e201=_0x1dd75b;this[_0x52e201(0x153)]&&(_0x387491?this[_0x52e201(0x153)][_0x52e201(0x144)](_0x52e201(0x14b),String(this[_0x52e201(0x14f)])):this[_0x52e201(0x153)][_0x52e201(0x13c)](_0x52e201(0x14b)));});}[_0x5cea9c(0x155)](){const _0x49d82b=_0x5cea9c;this[_0x49d82b(0x153)][_0x49d82b(0x155)]();}[_0x5cea9c(0x142)](){const _0x5ae741=_0x5cea9c;super[_0x5ae741(0x142)](),this[_0x5ae741(0x13d)][_0x5ae741(0x133)](this[_0x5ae741(0x153)]);}}
23
+ const _0x4ed799=_0xa9ed;(function(_0x229748,_0xae6ef0){const _0x380c55=_0xa9ed,_0x346350=_0x229748();while(!![]){try{const _0x4dd14d=-parseInt(_0x380c55(0x1b0))/0x1+-parseInt(_0x380c55(0x1ca))/0x2+parseInt(_0x380c55(0x1b1))/0x3+-parseInt(_0x380c55(0x1c9))/0x4+parseInt(_0x380c55(0x1c4))/0x5*(parseInt(_0x380c55(0x1bf))/0x6)+parseInt(_0x380c55(0x1a6))/0x7+parseInt(_0x380c55(0x1ae))/0x8*(parseInt(_0x380c55(0x1ba))/0x9);if(_0x4dd14d===_0xae6ef0)break;else _0x346350['push'](_0x346350['shift']());}catch(_0x39d73b){_0x346350['push'](_0x346350['shift']());}}}(_0x15ce,0x25ded));import{View as _0x3f5ee3}from'ckeditor5/src/ui.js';function _0xa9ed(_0x1c484c,_0x4979b9){const _0x15ce19=_0x15ce();return _0xa9ed=function(_0xa9edb1,_0xb36139){_0xa9edb1=_0xa9edb1-0x1a5;let _0x3c86e1=_0x15ce19[_0xa9edb1];return _0x3c86e1;},_0xa9ed(_0x1c484c,_0x4979b9);}function _0x15ce(){const _0x54d619=['items','ck-presence-list__list','297764ZRGosZ','53956TZOovn','contains','441413bcFOsC','isExpanded','element','keystrokes','aria-expanded','presencelist:show','presencelist:hide','relatedTarget','16bAffaq','div','177221JUVZtv','304104TKXMtc','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','hasPopup','setTemplate','fire','.ck-presence-list__dropdown-list','bindTemplate','createCollection','querySelector','30249nSApEA','setAttribute','set','Connected\x20users\x20list','focus','393912XtMWxO','.ck-balloon-panel_with-arrow','render','removeAttribute','change:hasPopup','20xIirXQ','listenTo','list'];_0x15ce=function(){return _0x54d619;};return _0x15ce();}import{KeystrokeHandler as _0x2eb67b}from'ckeditor5/src/utils.js';import{getTranslation as _0x17f35b}from'../../common-translations.js';export class PresenceInlineListView extends _0x3f5ee3{[_0x4ed799(0x1c7)];[_0x4ed799(0x1a9)];constructor(_0x1b641f){const _0x2dd51a=_0x4ed799;super(_0x1b641f);const _0x118d1e=this[_0x2dd51a(0x1b7)];this[_0x2dd51a(0x1c7)]=this[_0x2dd51a(0x1b8)](),this[_0x2dd51a(0x1a9)]=new _0x2eb67b(),this[_0x2dd51a(0x1bc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2dd51a(0x1b4)]({'tag':_0x2dd51a(0x1af),'attributes':{'aria-haspopup':_0x118d1e['if'](_0x2dd51a(0x1b3)),'aria-expanded':_0x118d1e['to'](_0x2dd51a(0x1a7),_0xec6b6f=>this[_0x2dd51a(0x1b3)]&&String(_0xec6b6f)),'aria-label':_0x118d1e['to'](_0x2dd51a(0x1b3),_0x5ec4bc=>_0x17f35b(_0x1b641f,_0x5ec4bc?_0x2dd51a(0x1b2):_0x2dd51a(0x1bd))),'role':_0x2dd51a(0x1c6),'tabindex':_0x118d1e['to'](_0x2dd51a(0x1b3),_0x43cb9e=>!!_0x43cb9e&&0x0),'class':['ck',_0x2dd51a(0x1c8)]},'children':this[_0x2dd51a(0x1c7)],'on':{'mouseenter':_0x118d1e['to'](()=>this[_0x2dd51a(0x1b5)](_0x2dd51a(0x1ab))),'mouseleave':_0x118d1e['to'](_0x556a64=>{const _0x3aab6e=_0x2dd51a,_0x466d72=_0x556a64,_0x273572=document[_0x3aab6e(0x1b9)](_0x3aab6e(0x1b6)),_0x2f2673=document[_0x3aab6e(0x1b9)](_0x3aab6e(0x1c0));_0x273572?.[_0x3aab6e(0x1a5)](_0x466d72[_0x3aab6e(0x1ad)])||_0x2f2673?.[_0x3aab6e(0x1a5)](_0x466d72[_0x3aab6e(0x1ad)])||this[_0x3aab6e(0x1b5)](_0x3aab6e(0x1ac));})}}),this['on'](_0x2dd51a(0x1c3),(_0x1dee2b,_0x1dd5f9,_0x5412a2)=>{const _0x36e12a=_0x2dd51a;this[_0x36e12a(0x1a8)]&&(_0x5412a2?this[_0x36e12a(0x1a8)][_0x36e12a(0x1bb)](_0x36e12a(0x1aa),String(this[_0x36e12a(0x1a7)])):this[_0x36e12a(0x1a8)][_0x36e12a(0x1c2)](_0x36e12a(0x1aa)));});}[_0x4ed799(0x1be)](){const _0x428add=_0x4ed799;this[_0x428add(0x1a8)][_0x428add(0x1be)]();}[_0x4ed799(0x1c1)](){const _0x253e98=_0x4ed799;super[_0x253e98(0x1c1)](),this[_0x253e98(0x1a9)][_0x253e98(0x1c5)](this[_0x253e98(0x1a8)]);}}
@@ -2,19 +2,4 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module real-time-collaboration/presencelist/view/presencelistview
7
- * @publicApi
8
- */
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import type { Locale } from 'ckeditor5/src/utils.js';
11
5
  import '../../../theme/presencelist.css';
12
- /**
13
- * `PresenceListView` is the default view for the presence list. It shows the inline list of users, and an optional user counter.
14
- */
15
- export default class PresenceListView extends View {
16
- /**
17
- * @inheritDoc
18
- */
19
- constructor(locale: Locale, collapseAt?: number);
20
- }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37eb08=_0x4244;(function(_0x49cb7b,_0x20e0b9){const _0x39c47b=_0x4244,_0x4abf7e=_0x49cb7b();while(!![]){try{const _0x12ecb9=-parseInt(_0x39c47b(0x9b))/0x1*(parseInt(_0x39c47b(0x9e))/0x2)+parseInt(_0x39c47b(0x96))/0x3*(-parseInt(_0x39c47b(0xaf))/0x4)+parseInt(_0x39c47b(0x9a))/0x5*(parseInt(_0x39c47b(0xa3))/0x6)+parseInt(_0x39c47b(0xad))/0x7*(-parseInt(_0x39c47b(0xa1))/0x8)+-parseInt(_0x39c47b(0xac))/0x9*(-parseInt(_0x39c47b(0x9c))/0xa)+parseInt(_0x39c47b(0xa6))/0xb+-parseInt(_0x39c47b(0xb5))/0xc*(-parseInt(_0x39c47b(0xb4))/0xd);if(_0x12ecb9===_0x20e0b9)break;else _0x4abf7e['push'](_0x4abf7e['shift']());}catch(_0x59333b){_0x4abf7e['push'](_0x4abf7e['shift']());}}}(_0x22a7,0x9edbe));function _0x4244(_0x3f0425,_0x5c07dc){const _0x22a732=_0x22a7();return _0x4244=function(_0x4244e6,_0x4711b6){_0x4244e6=_0x4244e6-0x96;let _0xa85a37=_0x22a732[_0x4244e6];return _0xa85a37;},_0x4244(_0x3f0425,_0x5c07dc);}import{View as _0x4d5439}from'ckeditor5/src/ui.js';import _0x5b6009 from'./presencecounterview.js';import _0x4e74af from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x22a7(){const _0x2983ba=['counterView','inlineListView','ck-presence-list','65QlGjNY','666804VbsLxO','3XQksSS','items','first','ck-reset','3220kiOMRL','3389HrwwCi','6121590gLHdOa','setTemplate','4KKmTJg','ck-rounded-corners','change','1665288yLwhDP','div','132CFjMrr','ck-presence-list--collapsed','listenTo','736692brzdjp','bindTemplate','tooltipPosition','hasPopup','locale','isCollapsed','9GlCxrv','7YqEUMj','set','422036XSLoVe','bind'];_0x22a7=function(){return _0x2983ba;};return _0x22a7();}export default class j extends _0x4d5439{[_0x37eb08(0xb1)];[_0x37eb08(0xb2)];constructor(_0x1f1d84,_0x163f6d=0x6){const _0x2c05a5=_0x37eb08;super(_0x1f1d84);const _0x1ec5ee=this[_0x2c05a5(0xa7)];this[_0x2c05a5(0xae)](_0x2c05a5(0xab),!0x0),this[_0x2c05a5(0xb1)]=new _0x5b6009(this[_0x2c05a5(0xaa)],_0x163f6d),this[_0x2c05a5(0xb2)]=new _0x4e74af(_0x1f1d84),this[_0x2c05a5(0xb2)][_0x2c05a5(0xb0)](_0x2c05a5(0xa9))['to'](this,_0x2c05a5(0xab)),this[_0x2c05a5(0xa5)](this[_0x2c05a5(0xb2)][_0x2c05a5(0x97)],_0x2c05a5(0xa0),()=>{const _0x22b888=_0x2c05a5;for(const _0x380a4b of this[_0x22b888(0xb2)][_0x22b888(0x97)])_0x380a4b[_0x22b888(0xa8)]='s';this[_0x22b888(0xb2)][_0x22b888(0x97)][_0x22b888(0x98)]&&(this[_0x22b888(0xb2)][_0x22b888(0x97)][_0x22b888(0x98)][_0x22b888(0xa8)]='se');}),this[_0x2c05a5(0x9d)]({'tag':_0x2c05a5(0xa2),'attributes':{'class':['ck',_0x2c05a5(0xb3),_0x2c05a5(0x99),_0x2c05a5(0x9f),_0x1ec5ee['if'](_0x2c05a5(0xab),_0x2c05a5(0xa4))]},'children':[this[_0x2c05a5(0xb2)]]});}}
23
+ const _0x2a9e46=_0x4c63;(function(_0x199d34,_0x21e938){const _0x425e64=_0x4c63,_0x13542b=_0x199d34();while(!![]){try{const _0x1369db=-parseInt(_0x425e64(0x1b8))/0x1+parseInt(_0x425e64(0x1ae))/0x2*(-parseInt(_0x425e64(0x1bf))/0x3)+-parseInt(_0x425e64(0x1bb))/0x4+parseInt(_0x425e64(0x1b9))/0x5*(-parseInt(_0x425e64(0x1b1))/0x6)+parseInt(_0x425e64(0x1b5))/0x7*(-parseInt(_0x425e64(0x1c2))/0x8)+parseInt(_0x425e64(0x1b2))/0x9+parseInt(_0x425e64(0x1b4))/0xa;if(_0x1369db===_0x21e938)break;else _0x13542b['push'](_0x13542b['shift']());}catch(_0x56a17c){_0x13542b['push'](_0x13542b['shift']());}}}(_0x3036,0xe016a));import{View as _0x25e0e7}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5bf10e}from'./presencecounterview.js';function _0x3036(){const _0x2c3c11=['items','hasPopup','692217JDNbGz','set','ck-presence-list','3696AOwPvh','tooltipPosition','ck-reset','ck-rounded-corners','counterView','locale','ck-presence-list--collapsed','div','inlineListView','2xTwbAV','change','isCollapsed','2025378oFKrHZ','14435910Khgdqi','bindTemplate','20572290yXWJbm','2170bJiNKX','bind','listenTo','284933FyFauM','5xsOGqB','first','6987592KZgBTH','setTemplate'];_0x3036=function(){return _0x2c3c11;};return _0x3036();}import{PresenceInlineListView as _0xe098a1}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4c63(_0x3a7a5a,_0xc40884){const _0x303649=_0x3036();return _0x4c63=function(_0x4c6345,_0x59086f){_0x4c6345=_0x4c6345-0x1a6;let _0x85aaea=_0x303649[_0x4c6345];return _0x85aaea;},_0x4c63(_0x3a7a5a,_0xc40884);}export class PresenceListView extends _0x25e0e7{[_0x2a9e46(0x1a9)];[_0x2a9e46(0x1ad)];constructor(_0x5319e3,_0x54be8c=0x6){const _0x339a91=_0x2a9e46;super(_0x5319e3);const _0x59e10d=this[_0x339a91(0x1b3)];this[_0x339a91(0x1c0)](_0x339a91(0x1b0),!0x0),this[_0x339a91(0x1a9)]=new _0x5bf10e(this[_0x339a91(0x1aa)],_0x54be8c),this[_0x339a91(0x1ad)]=new _0xe098a1(_0x5319e3),this[_0x339a91(0x1ad)][_0x339a91(0x1b6)](_0x339a91(0x1be))['to'](this,_0x339a91(0x1b0)),this[_0x339a91(0x1b7)](this[_0x339a91(0x1ad)][_0x339a91(0x1bd)],_0x339a91(0x1af),()=>{const _0x12e044=_0x339a91;for(const _0x19fc21 of this[_0x12e044(0x1ad)][_0x12e044(0x1bd)])_0x19fc21[_0x12e044(0x1a6)]='s';this[_0x12e044(0x1ad)][_0x12e044(0x1bd)][_0x12e044(0x1ba)]&&(this[_0x12e044(0x1ad)][_0x12e044(0x1bd)][_0x12e044(0x1ba)][_0x12e044(0x1a6)]='se');}),this[_0x339a91(0x1bc)]({'tag':_0x339a91(0x1ac),'attributes':{'class':['ck',_0x339a91(0x1c1),_0x339a91(0x1a7),_0x339a91(0x1a8),_0x59e10d['if'](_0x339a91(0x1b0),_0x339a91(0x1ab))]},'children':[this[_0x339a91(0x1ad)]]});}}
@@ -7,8 +7,8 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { ContextPlugin } from 'ckeditor5/src/core.js';
10
- import Sessions from './realtimecollaborativeediting/sessions.js';
11
- import PresenceListUI from './presencelist/presencelistui.js';
10
+ import { Sessions } from './realtimecollaborativeediting/sessions.js';
11
+ import { PresenceListUI } from './presencelist/presencelistui.js';
12
12
  /**
13
13
  * The `PresenceList` plugin provides a UI which displays all {@link module:collaboration-core/users~Users users} that are
14
14
  * currently connected to the edited document. The users are displayed as a row of avatars.
@@ -17,7 +17,7 @@ import PresenceListUI from './presencelist/presencelistui.js';
17
17
  *
18
18
  * The presence list UI collapses to a dropdown if six or more users are connected.
19
19
  */
20
- export default class PresenceList extends ContextPlugin {
20
+ export declare class PresenceList extends ContextPlugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b9a(){var _0x3f9512=['PresenceList','2544829ktddcd','12299004eGMwAP','pluginName','20XknDrp','requires','30115wtRgBk','isOfficialPlugin','isPremiumPlugin','6RMvUWt','1387029aLyYGk','1586560kdszAG','6993488OeJDFK','56260ZxfegS'];_0x4b9a=function(){return _0x3f9512;};return _0x4b9a();}var _0x3e918d=_0x36d8;(function(_0x56bf58,_0x103fbe){var _0x4a9462=_0x36d8,_0x2adf83=_0x56bf58();while(!![]){try{var _0x1a6531=parseInt(_0x4a9462(0x9e))/0x1+-parseInt(_0x4a9462(0x9c))/0x2+parseInt(_0x4a9462(0x9b))/0x3+parseInt(_0x4a9462(0x95))/0x4*(-parseInt(_0x4a9462(0x97))/0x5)+parseInt(_0x4a9462(0x9a))/0x6*(parseInt(_0x4a9462(0x92))/0x7)+-parseInt(_0x4a9462(0x9d))/0x8+parseInt(_0x4a9462(0x93))/0x9;if(_0x1a6531===_0x103fbe)break;else _0x2adf83['push'](_0x2adf83['shift']());}catch(_0x81c6a2){_0x2adf83['push'](_0x2adf83['shift']());}}}(_0x4b9a,0x868d5));import{ContextPlugin as _0x128446}from'ckeditor5/src/core.js';import _0xf6681a from'./realtimecollaborativeediting/sessions.js';import _0x4f5fe5 from'./presencelist/presencelistui.js';function _0x36d8(_0x16ad0f,_0x3248e0){var _0x4b9aae=_0x4b9a();return _0x36d8=function(_0x36d873,_0x208e90){_0x36d873=_0x36d873-0x91;var _0x4fffb3=_0x4b9aae[_0x36d873];return _0x4fffb3;},_0x36d8(_0x16ad0f,_0x3248e0);}export default class s extends _0x128446{static get[_0x3e918d(0x96)](){return[_0xf6681a,_0x4f5fe5];}static get[_0x3e918d(0x94)](){var _0x2f32e=_0x3e918d;return _0x2f32e(0x91);}static get[_0x3e918d(0x98)](){return!0x0;}static get[_0x3e918d(0x99)](){return!0x0;}}
23
+ var _0x452f21=_0x2ef9;(function(_0x36f3c0,_0x31b7f){var _0x3c5d56=_0x2ef9,_0x36155e=_0x36f3c0();while(!![]){try{var _0x46d194=-parseInt(_0x3c5d56(0x139))/0x1+parseInt(_0x3c5d56(0x13d))/0x2*(-parseInt(_0x3c5d56(0x138))/0x3)+parseInt(_0x3c5d56(0x13b))/0x4*(-parseInt(_0x3c5d56(0x141))/0x5)+-parseInt(_0x3c5d56(0x142))/0x6+-parseInt(_0x3c5d56(0x148))/0x7*(-parseInt(_0x3c5d56(0x13c))/0x8)+-parseInt(_0x3c5d56(0x13e))/0x9*(-parseInt(_0x3c5d56(0x147))/0xa)+parseInt(_0x3c5d56(0x143))/0xb*(parseInt(_0x3c5d56(0x144))/0xc);if(_0x46d194===_0x31b7f)break;else _0x36155e['push'](_0x36155e['shift']());}catch(_0x4be1fe){_0x36155e['push'](_0x36155e['shift']());}}}(_0x2683,0xa6b64));function _0x2683(){var _0x58b31b=['4089113kfnMWe','3eXaPSq','232335ZAqzMG','PresenceList','1420932hyEOKZ','8WldgbA','2383710tciWGB','68589tFwixl','requires','isOfficialPlugin','5Ugkfyq','1890876HkwbUI','396fNSVZE','431328aYRtnD','pluginName','isPremiumPlugin','1180nzgSKy'];_0x2683=function(){return _0x58b31b;};return _0x2683();}import{ContextPlugin as _0xd7c170}from'ckeditor5/src/core.js';import{Sessions as _0x28d790}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x221a35}from'./presencelist/presencelistui.js';function _0x2ef9(_0xc3da10,_0x399303){var _0x268320=_0x2683();return _0x2ef9=function(_0x2ef9d8,_0x3b6e7c){_0x2ef9d8=_0x2ef9d8-0x138;var _0x1385d9=_0x268320[_0x2ef9d8];return _0x1385d9;},_0x2ef9(_0xc3da10,_0x399303);}export class PresenceList extends _0xd7c170{static get[_0x452f21(0x13f)](){return[_0x28d790,_0x221a35];}static get[_0x452f21(0x145)](){var _0x51027d=_0x452f21;return _0x51027d(0x13a);}static get[_0x452f21(0x140)](){return!0x0;}static get[_0x452f21(0x146)](){return!0x0;}}
@@ -9,15 +9,15 @@
9
9
  import { Context, ContextPlugin, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
11
11
  import { CommentsService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
12
- import WebSocketGateway, { type ReconnectContextPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
13
- import Sessions from '../realtimecollaborativeediting/sessions.js';
12
+ import { WebSocketGateway, type RtcReconnectContextPlugin } from '../realtimecollaborativeediting/websocketgateway.js';
13
+ import { Sessions } from '../realtimecollaborativeediting/sessions.js';
14
14
  /**
15
15
  * The Cloud Services Comments Adapter plugin.
16
16
  *
17
17
  * Visit the {@glink features/collaboration/context-and-collaboration-features Context and Collaboration Features} guide
18
18
  * to learn how to use it.
19
19
  */
20
- export default class CloudServicesCommentsAdapter extends ContextPlugin implements ReconnectContextPlugin {
20
+ export declare class CloudServicesCommentsAdapter extends ContextPlugin implements RtcReconnectContextPlugin {
21
21
  static CommentsService: typeof CommentsService;
22
22
  /**
23
23
  * @inheritDoc
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bf626=_0x1504;(function(_0xf6cbe0,_0x2fe975){const _0x2201fb=_0x1504,_0x2e0c43=_0xf6cbe0();while(!![]){try{const _0x315179=parseInt(_0x2201fb(0xad))/0x1+-parseInt(_0x2201fb(0xaf))/0x2+-parseInt(_0x2201fb(0x9d))/0x3*(parseInt(_0x2201fb(0x9f))/0x4)+parseInt(_0x2201fb(0x79))/0x5*(parseInt(_0x2201fb(0xb3))/0x6)+parseInt(_0x2201fb(0x85))/0x7*(parseInt(_0x2201fb(0xd9))/0x8)+parseInt(_0x2201fb(0x83))/0x9+parseInt(_0x2201fb(0xa8))/0xa;if(_0x315179===_0x2fe975)break;else _0x2e0c43['push'](_0x2e0c43['shift']());}catch(_0x54968b){_0x2e0c43['push'](_0x2e0c43['shift']());}}}(_0x1ac6,0x87454));import{Context as _0xe42da1,ContextPlugin as _0x71719d}from'ckeditor5/src/core.js';import{CKEditorError as _0x8626b6}from'ckeditor5/src/utils.js';import{Users as _0x234dcc}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x85be1f,User as _0x36de1a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3c6612 from'../realtimecollaborativeediting/websocketgateway.js';import _0x7d7a00 from'../realtimecollaborativeediting/sessions.js';class a extends _0x71719d{static [_0x3bf626(0x8e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x85be1f)());[_0x3bf626(0x9b)];static get[_0x3bf626(0x97)](){const _0x29b7ed=_0x3bf626;return[_0x3c6612,_0x29b7ed(0x7e),_0x7d7a00,_0x234dcc];}static get[_0x3bf626(0xc8)](){const _0x14031c=_0x3bf626;return _0x14031c(0xd8);}static get[_0x3bf626(0x8b)](){return!0x0;}static get[_0x3bf626(0xa9)](){return!0x0;}constructor(_0x41f999){const _0x48dd99=_0x3bf626;super(_0x41f999),this[_0x48dd99(0x9b)]=new Map();}async[_0x3bf626(0xb8)](){const _0x1ee9ae=_0x3bf626,_0x243927=this[_0x1ee9ae(0xca)],_0x363a9f=_0x243927[_0x1ee9ae(0x9e)][_0x1ee9ae(0x8f)](_0x1ee9ae(0x7e));if(_0x243927[_0x1ee9ae(0x9e)][_0x1ee9ae(0x8f)](_0x3c6612)[_0x1ee9ae(0xa2)](this),_0x363a9f[_0x1ee9ae(0xde)]={'addCommentThread':async({channelId:_0x577ad1,threadId:_0x1f4f6e,comments:_0x38cb0e,resolvedAt:_0x51f88c,resolvedBy:_0x7eb9aa,context:_0x34a576,attributes:_0x3dc215})=>{const _0x2b41be=_0x1ee9ae,_0xb860a9=await this[_0x2b41be(0xc2)](_0x577ad1)[_0x2b41be(0xab)]({'commentThreadId':_0x1f4f6e,'comments':_0x38cb0e[_0x2b41be(0x9c)](_0x14c40a=>function(_0x15fb77,_0x35ef9a,_0x33f91d){const _0x2fd4c5=_0x2b41be;return{'commentThreadId':_0x33f91d,'commentId':_0x15fb77[_0x2fd4c5(0xba)],'userId':_0x15fb77[_0x2fd4c5(0x8c)],'content':_0x15fb77[_0x2fd4c5(0xc3)],'documentId':_0x35ef9a,'createdAt':_0x15fb77[_0x2fd4c5(0xd6)],'attributes':_0x15fb77[_0x2fd4c5(0xdd)]||{}};}(_0x14c40a,_0x577ad1,_0x1f4f6e)),'resolvedAt':_0x51f88c,'resolvedBy':_0x7eb9aa,'context':_0x34a576,'attributes':_0x3dc215})[_0x2b41be(0xd2)](R);return{'threadId':_0xb860a9[_0x2b41be(0x84)],'comments':_0xb860a9[_0x2b41be(0xb1)]};},'getCommentThread':async({channelId:_0x113e27,threadId:_0x14f927})=>{const _0x130ab2=_0x1ee9ae,_0x368412=await this[_0x130ab2(0xc2)](_0x113e27)[_0x130ab2(0x8d)](_0x14f927)[_0x130ab2(0xd2)](R);return _0x368412[_0x130ab2(0x81)]?null:(await this[_0x130ab2(0x86)]([_0x368412]),{'threadId':_0x368412[_0x130ab2(0x84)],'comments':_0x368412[_0x130ab2(0xb1)][_0x130ab2(0x9c)](_),'context':_0x368412[_0x130ab2(0xca)],'resolvedAt':_0x368412[_0x130ab2(0x88)],'resolvedBy':_0x368412[_0x130ab2(0xac)],'attributes':_0x368412[_0x130ab2(0xdd)]||{}});},'updateCommentThread':async({channelId:_0x485eb3,threadId:_0x5e7777,context:_0x14a2d3,unlinkedAt:_0x4c04ba,attributes:_0x3b52c0})=>this[_0x1ee9ae(0xc2)](_0x485eb3)[_0x1ee9ae(0x9a)]({'commentThreadId':_0x5e7777,'context':_0x14a2d3,'attributes':_0x3b52c0,'unlinkedAt':_0x4c04ba})[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'resolveCommentThread':async({channelId:_0x575b7a,threadId:_0xfe7238})=>{const _0x532c5=_0x1ee9ae,_0x5e191c=await this[_0x532c5(0xc2)](_0x575b7a)[_0x532c5(0x94)](_0xfe7238)[_0x532c5(0xd2)](S)[_0x532c5(0xd2)](R);return{'threadId':_0x5e191c[_0x532c5(0x84)],'resolvedAt':_0x5e191c[_0x532c5(0x88)],'resolvedBy':_0x5e191c[_0x532c5(0xac)]};},'reopenCommentThread':async({channelId:_0x1ace67,threadId:_0x1a8751})=>this[_0x1ee9ae(0xc2)](_0x1ace67)[_0x1ee9ae(0xc0)](_0x1a8751)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'removeCommentThread':({channelId:_0xdc1da9,threadId:_0x2edefa})=>this[_0x1ee9ae(0xc2)](_0xdc1da9)[_0x1ee9ae(0xaa)](_0x2edefa)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'addComment':({channelId:_0x2d5f79,threadId:_0x2af2c9,commentId:_0xce798c,content:_0x52691e,attributes:_0x31ea81})=>this[_0x1ee9ae(0xc2)](_0x2d5f79)[_0x1ee9ae(0xcd)](_0x2af2c9,_0xce798c,_0x52691e,_0x31ea81)[_0x1ee9ae(0xd2)](R),'updateComment':({channelId:_0x3ca3aa,threadId:_0x4e9cf9,commentId:_0x2ec91f,content:_0x484994,attributes:_0x517828})=>this[_0x1ee9ae(0xc2)](_0x3ca3aa)[_0x1ee9ae(0xae)](_0x4e9cf9,_0x2ec91f,_0x484994,_0x517828)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R),'removeComment':({channelId:_0x17c775,threadId:_0x121c72,commentId:_0x101f75})=>this[_0x1ee9ae(0xc2)](_0x17c775)[_0x1ee9ae(0x7b)](_0x121c72,_0x101f75)[_0x1ee9ae(0xd2)](S)[_0x1ee9ae(0xd2)](R)},_0x243927 instanceof _0xe42da1){const _0x50cd40=_0x243927[_0x1ee9ae(0xd5)][_0x1ee9ae(0x8f)](_0x1ee9ae(0xbc)),_0x448a4c=_0x243927[_0x1ee9ae(0x9e)][_0x1ee9ae(0x8f)](_0x7d7a00);await this[_0x1ee9ae(0x90)](_0x50cd40);const _0x30d33a=await this[_0x1ee9ae(0x9b)][_0x1ee9ae(0x8f)](_0x50cd40)[_0x1ee9ae(0x87)]();this[_0x1ee9ae(0xcf)](_0x448a4c,_0x1ee9ae(0xce)+_0x50cd40,(_0x5d7065,{session:_0x4ef915})=>{const _0x3fb279=_0x1ee9ae;_0x4ef915['id']===_0x448a4c[_0x3fb279(0xd0)]&&(_0x5d7065[_0x3fb279(0xbe)](),this[_0x3fb279(0xca)][_0x3fb279(0x9e)][_0x3fb279(0x8f)](_0x3fb279(0x96))[_0x3fb279(0xa4)](_0x4ef915[_0x3fb279(0x89)],_0x50cd40));}),_0x448a4c[_0x1ee9ae(0xb2)](_0x50cd40,_0x30d33a);}}async[_0x3bf626(0x90)](_0x40e3e4){const _0x3394b4=_0x3bf626;if(this[_0x3394b4(0x9b)][_0x3394b4(0xc1)](_0x40e3e4))throw new _0x8626b6(_0x3394b4(0x7d),null,{'channelId':_0x40e3e4});const _0x497343=this[_0x3394b4(0xca)][_0x3394b4(0x9e)][_0x3394b4(0x8f)](_0x3394b4(0x7e)),_0x4f9cd2=new a[(_0x3394b4(0x8e))](_0x40e3e4);this[_0x3394b4(0x9b)][_0x3394b4(0xa0)](_0x40e3e4,_0x4f9cd2),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xb0),(_0x1bd2a0,_0x50b018)=>{const _0x2af4e3=_0x3394b4,{commentThreadId:_0xaf0578,documentId:_0x558ba4,context:_0x138956,attributes:_0x275064,resolvedAt:_0x388bcc,resolvedBy:_0x2b2396,comments:_0x1895d7}=_0x50b018;_0x497343[_0x2af4e3(0x8d)](_0xaf0578)||_0x497343[_0x2af4e3(0xab)]({'threadId':_0xaf0578,'channelId':_0x558ba4,'comments':_0x1895d7?_0x1895d7[_0x2af4e3(0x9c)](_):[],'context':_0x138956,'attributes':_0x275064,'resolvedAt':_0x388bcc,'resolvedBy':_0x2b2396,'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0x93),(_0x3de6b4,{commentThreadId:_0x119bed,documentId:_0x50622a,context:_0x3c07b2,unlinkedAt:_0x2f8825,attributes:_0x521137})=>{const _0x18d8d8=_0x3394b4;_0x497343[_0x18d8d8(0x8d)](_0x119bed)&&_0x497343[_0x18d8d8(0x9a)]({'threadId':_0x119bed,'channelId':_0x50622a,'context':_0x3c07b2,'unlinkedAt':_0x2f8825,'attributes':_0x521137,'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xa1),(_0x3d3b34,{commentThreadId:_0x2731e1,resolvedBy:_0x2fef95,resolvedAt:_0x466cf3})=>{const _0x20f295=_0x3394b4,_0xd3f16a=_0x497343[_0x20f295(0x8d)](_0x2731e1);_0xd3f16a&&_0xd3f16a[_0x20f295(0xc9)]({'resolvedBy':_0x2fef95,'resolvedAt':_0x466cf3,'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0x92),(_0x4f419b,{commentThreadId:_0x113047})=>{const _0x146af6=_0x3394b4,_0x6b421c=_0x497343[_0x146af6(0x8d)](_0x113047);_0x6b421c&&_0x6b421c[_0x146af6(0xd7)]({'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xb4),(_0x4f4c94,{commentThreadId:_0x274a9f})=>{const _0x34eda6=_0x3394b4,_0x19b0bb=_0x497343[_0x34eda6(0x8d)](_0x274a9f);_0x19b0bb&&_0x19b0bb[_0x34eda6(0x7a)]({'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xc4),(_0x57048c,_0xa8adb5)=>{const _0x1862a5=_0x3394b4,_0x2abbd7=_0xa8adb5[_0x1862a5(0x84)],_0xbab365=_0x497343[_0x1862a5(0x8d)](_0x2abbd7);_0xbab365&&_0xbab365[_0x1862a5(0xcd)]({..._(_0xa8adb5),'isFromAdapter':!0x0});}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xb7),(_0x5b6c92,{commentThreadId:_0x4e3e3d,commentId:_0x3c93e3,content:_0x4d2a99,attributes:_0x13166d})=>{const _0x35f689=_0x3394b4,_0x18b966=_0x497343[_0x35f689(0x8d)](_0x4e3e3d);if(_0x18b966){const _0x40210a=_0x18b966[_0x35f689(0xd1)](_0x3c93e3);_0x40210a&&_0x40210a[_0x35f689(0xa6)]({'content':_0x4d2a99,'attributes':_0x13166d,'isFromAdapter':!0x0});}}),this[_0x3394b4(0xcf)](_0x4f9cd2,_0x3394b4(0xda),(_0x3e559a,{commentThreadId:_0xf083fa,commentId:_0x42f7df})=>{const _0x547cb1=_0x3394b4,_0x210291=_0x497343[_0x547cb1(0x8d)](_0xf083fa);if(_0x210291){const _0x44accc=_0x210291[_0x547cb1(0xd1)](_0x42f7df);_0x44accc&&_0x44accc[_0x547cb1(0x7a)]({'isFromAdapter':!0x0});}}),await this[_0x3394b4(0x7f)](_0x40e3e4);}[_0x3bf626(0xdc)](){const _0xd01062=_0x3bf626;if(this[_0xd01062(0xca)]instanceof _0xe42da1){const _0x2a1f2b=this[_0xd01062(0xca)][_0xd01062(0xd5)][_0xd01062(0x8f)](_0xd01062(0xbc));this[_0xd01062(0xa5)](_0x2a1f2b);}}[_0x3bf626(0xa5)](_0x3ebf2d){const _0xfe2787=_0x3bf626;if(!this[_0xfe2787(0x9b)][_0xfe2787(0xc1)](_0x3ebf2d))throw new _0x8626b6(_0xfe2787(0x80),null,{'channelId':_0x3ebf2d});this[_0xfe2787(0xc2)](_0x3ebf2d)[_0xfe2787(0x99)](),this[_0xfe2787(0x9b)][_0xfe2787(0x95)](_0x3ebf2d);}async[_0x3bf626(0xa7)](){const _0x7eed4b=_0x3bf626;for(const _0x5bc1c6 of this[_0x7eed4b(0x9b)][_0x7eed4b(0xbb)]())await this[_0x7eed4b(0x7f)](_0x5bc1c6);if(this[_0x7eed4b(0xca)]instanceof _0xe42da1){const _0x276e2e=this[_0x7eed4b(0xca)][_0x7eed4b(0xd5)][_0x7eed4b(0x8f)](_0x7eed4b(0xbc)),_0x12692b=this[_0x7eed4b(0xca)][_0x7eed4b(0x9e)][_0x7eed4b(0x8f)](_0x7d7a00);_0x12692b[_0x7eed4b(0xcb)](_0x276e2e);const _0x336a7f=await this[_0x7eed4b(0x9b)][_0x7eed4b(0x8f)](_0x276e2e)[_0x7eed4b(0x87)]();_0x12692b[_0x7eed4b(0xb2)](_0x276e2e,_0x336a7f);}}async[_0x3bf626(0x7f)](_0x2857a6){const _0x1094bb=_0x3bf626,{connection:_0x3b311e}=this[_0x1094bb(0xca)][_0x1094bb(0x9e)][_0x1094bb(0x8f)](_0x3c6612),_0x218834=this[_0x1094bb(0xca)][_0x1094bb(0x9e)][_0x1094bb(0x8f)](_0x1094bb(0x7e)),_0x54bd31=this[_0x1094bb(0x9b)][_0x1094bb(0x8f)](_0x2857a6),_0x46efa2=await _0x54bd31[_0x1094bb(0xbf)](_0x3b311e);await this[_0x1094bb(0x86)](_0x46efa2);const _0x40689a=new Set(Array[_0x1094bb(0x82)](_0x218834[_0x1094bb(0xd4)]({'channelId':_0x2857a6}),_0x26c3d8=>_0x26c3d8['id']));for(const _0x5e6082 of _0x46efa2)_0x5e6082[_0x1094bb(0x81)]||_0x40689a[_0x1094bb(0x95)](_0x5e6082[_0x1094bb(0x84)]);for(const _0x4f8711 of _0x40689a)_0x218834[_0x1094bb(0x8d)](_0x4f8711)[_0x1094bb(0x7a)]({'isFromAdapter':!0x0});for(const _0x3cfde2 of _0x46efa2){let _0x8d9a5b=_0x218834[_0x1094bb(0x8d)](_0x3cfde2[_0x1094bb(0x84)]);const {commentThreadId:_0x32704e,context:_0x5d045b,attributes:_0x3bc787,resolvedBy:_0x4997b0,resolvedAt:_0x157349,unlinkedAt:_0x421daa,deletedAt:_0xf6232c}=_0x3cfde2;if(_0xf6232c)continue;_0x8d9a5b||(_0x8d9a5b=_0x218834[_0x1094bb(0xab)]({'channelId':_0x2857a6,'threadId':_0x32704e,'context':_0x5d045b,'attributes':_0x3bc787||{},'resolvedBy':_0x4997b0,'resolvedAt':_0x157349,'unlinkedAt':_0x421daa,'isFromAdapter':!0x0}));const _0xaf1b85=new Set(Array[_0x1094bb(0x82)](_0x8d9a5b[_0x1094bb(0xb1)],_0x3dc929=>_0x3dc929['id']));for(const _0x407dfb of _0x3cfde2[_0x1094bb(0xb1)])_0xaf1b85[_0x1094bb(0x95)](_0x407dfb[_0x1094bb(0xba)]);for(const _0x5642e8 of _0xaf1b85)_0x8d9a5b[_0x1094bb(0xd1)](_0x5642e8)[_0x1094bb(0x7a)]({'isFromAdapter':!0x0});for(const _0x58aede of _0x3cfde2[_0x1094bb(0xb1)]){const _0x20ee8b=_0x8d9a5b[_0x1094bb(0xd1)](_0x58aede[_0x1094bb(0xba)]);_0x20ee8b?_0x20ee8b[_0x1094bb(0xc3)]!==_0x58aede[_0x1094bb(0xc3)]&&_0x20ee8b[_0x1094bb(0xa6)]({'content':_0x58aede[_0x1094bb(0xc3)],'isFromAdapter':!0x0}):_0x8d9a5b[_0x1094bb(0xcd)](Object[_0x1094bb(0x98)](_(_0x58aede),{'isFromAdapter':!0x0}));}}}[_0x3bf626(0xc2)](_0x302059){const _0x2b0c61=_0x3bf626;if(!this[_0x2b0c61(0x9b)][_0x2b0c61(0xc1)](_0x302059))throw new _0x8626b6(_0x2b0c61(0xdb),null,{'channelId':_0x302059});return this[_0x2b0c61(0x9b)][_0x2b0c61(0x8f)](_0x302059);}async[_0x3bf626(0x86)](_0x305fb9){const _0x5b8ebf=_0x3bf626,_0x598395=this[_0x5b8ebf(0xca)][_0x5b8ebf(0x9e)][_0x5b8ebf(0x8f)](_0x234dcc),{connection:_0x45df04}=this[_0x5b8ebf(0xca)][_0x5b8ebf(0x9e)][_0x5b8ebf(0x8f)](_0x3c6612),_0x4c265e=new Set();for(const {resolvedBy:_0x113096,comments:_0x552fc8}of _0x305fb9){_0x113096&&!_0x598395[_0x5b8ebf(0xc6)](_0x113096)&&_0x4c265e[_0x5b8ebf(0x8a)](_0x113096);for(const {userId:_0x47fe4d}of _0x552fc8)_0x598395[_0x5b8ebf(0xc6)](_0x47fe4d)||_0x4c265e[_0x5b8ebf(0x8a)](_0x47fe4d);}if(0x0===_0x4c265e[_0x5b8ebf(0xa3)])return;const _0x365777=await _0x36de1a[_0x5b8ebf(0xc5)](_0x45df04,Array[_0x5b8ebf(0x82)](_0x4c265e));for(const _0x21be56 of _0x365777)_0x598395[_0x5b8ebf(0xc6)](_0x21be56['id'])||_0x598395[_0x5b8ebf(0x7c)](_0x21be56);}}function _0x1ac6(){const _0x5dfa6d=['removeCommentThread','addCommentThread','resolvedBy','479851exaucf','updateComment','2036910ssQhQk','commentThreadAdded','comments','register','168732MfhfIp','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','code','commentUpdated','init','cloud-services-internal-error:\x20Not\x20connected.','commentId','keys','collaboration.channelId','userId','off','connect','reopenCommentThread','has','_getService','content','commentAdded','getMany','getUser','startsWith','pluginName','resolve','context','unregister','404','addComment','sessionAdd:','listenTo','mySessionId','getComment','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','config','createdAt','reopen','CloudServicesCommentsAdapter','32AsTXlJ','commentRemoved','cloudservicescommentsadapter-service-not-exist','destroy','attributes','adapter','35NDQODh','remove','removeComment','addUser','cloudservicescommentsadapter-connect-already-connected','CommentsRepository','_connectService','cloudservicescommentsadapter-disconnect-not-exist','deletedAt','from','4029309CnPuCR','commentThreadId','1049475qbhwpM','_fetchMissingUsersForThreads','getConnectedSessions','resolvedAt','permissions','add','isOfficialPlugin','authorId','getCommentThread','CommentsService','get','_setUpService','message','commentThreadReopened','commentThreadUpdated','resolveCommentThread','delete','Permissions','requires','assign','disconnect','updateCommentThread','_services','map','3AqqAKk','plugins','3012920LiGKWR','set','commentThreadResolved','addToReconnectionStack','size','setPermissions','_terminateService','update','reconnect','6016470lqOGFI','isPremiumPlugin'];_0x1ac6=function(){return _0x5dfa6d;};return _0x1ac6();}export default a;async function S(_0x1f474c){const _0x51f3be=_0x3bf626;if(_0x51f3be(0xcc)!==_0x1f474c[_0x51f3be(0xb6)])throw _0x1f474c;}function _0x1504(_0x3fc4db,_0x4a6d9a){const _0x1ac61a=_0x1ac6();return _0x1504=function(_0x150483,_0x59be27){_0x150483=_0x150483-0x79;let _0xcfc24c=_0x1ac61a[_0x150483];return _0xcfc24c;},_0x1504(_0x3fc4db,_0x4a6d9a);}function R(_0x8950d8){const _0x14fa06=_0x3bf626;if((_0x5a140b=_0x8950d8)[_0x14fa06(0x91)][_0x14fa06(0xc7)](_0x14fa06(0xd3))||_0x5a140b[_0x14fa06(0x91)][_0x14fa06(0xc7)](_0x14fa06(0xb9))||_0x5a140b[_0x14fa06(0x91)][_0x14fa06(0xc7)](_0x14fa06(0xb5)))return new Promise(()=>{});var _0x5a140b;throw _0x8950d8;}function _(_0x3dd343){const _0x2690da=_0x3bf626;return{'threadId':_0x3dd343[_0x2690da(0x84)],'commentId':_0x3dd343[_0x2690da(0xba)],'content':_0x3dd343[_0x2690da(0xc3)],'createdAt':_0x3dd343[_0x2690da(0xd6)],'authorId':_0x3dd343[_0x2690da(0xbd)],'attributes':_0x3dd343[_0x2690da(0xdd)]||{}};}
23
+ const _0x4f4ff0=_0x40d1;(function(_0x3fd9b3,_0x492adf){const _0x4ac898=_0x40d1,_0x356562=_0x3fd9b3();while(!![]){try{const _0x4c543a=parseInt(_0x4ac898(0x1e8))/0x1+-parseInt(_0x4ac898(0x1cd))/0x2*(parseInt(_0x4ac898(0x200))/0x3)+parseInt(_0x4ac898(0x1f9))/0x4+parseInt(_0x4ac898(0x203))/0x5+parseInt(_0x4ac898(0x1c6))/0x6+-parseInt(_0x4ac898(0x1e7))/0x7+parseInt(_0x4ac898(0x1c7))/0x8*(parseInt(_0x4ac898(0x1ca))/0x9);if(_0x4c543a===_0x492adf)break;else _0x356562['push'](_0x356562['shift']());}catch(_0x469767){_0x356562['push'](_0x356562['shift']());}}}(_0xee24,0xed761));import{Context as _0x2cc1ba,ContextPlugin as _0x56d4bd}from'ckeditor5/src/core.js';import{CKEditorError as _0xe6358f}from'ckeditor5/src/utils.js';function _0xee24(){const _0x5db0b7=['4654300EswAhm','requires','context','set','off','destroy','resolve','CloudServicesCommentsAdapter','resolvedBy','404','commentId','startsWith','assign','remove','from','userId','updateCommentThread','cloudservicescommentsadapter-disconnect-not-exist','collaboration.channelId','deletedAt','getConnectedSessions','commentThreadAdded','isOfficialPlugin','authorId','connect','add','keys','size','mySessionId','commentThreadId','unregister','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','Permissions','adapter','resolveCommentThread','getMany','cloud-services-internal-error:\x20Not\x20connected.','config','delete','removeCommentThread','1116534HzxYoF','7956232YAgEpV','disconnect','commentThreadResolved','9jEsAKP','plugins','getCommentThread','2VprSMS','catch','removeComment','resolvedAt','cloudservicescommentsadapter-connect-already-connected','get','reopenCommentThread','createdAt','addUser','commentThreadReopened','_connectService','permissions','register','_fetchMissingUsersForThreads','updateComment','attributes','sessionAdd:','content','comments','commentAdded','commentUpdated','commentThreadUpdated','setPermissions','update','commentThreadRemoved','map','13223231dvXoAD','1230499FLmVyB','cloudservicescommentsadapter-service-not-exist','getComment','_terminateService','reopen','commentRemoved','isPremiumPlugin','listenTo','addComment','message','_services','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','addCommentThread','CommentsService','getUser','_getService','5225712oZEDTU','_setUpService','CommentsRepository','pluginName','code','has','getCommentThreads','5360193draYcu','init','reconnect'];_0xee24=function(){return _0x5db0b7;};return _0xee24();}import{Users as _0x2987d5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40d1(_0x237aed,_0x3c0c16){const _0xee24f=_0xee24();return _0x40d1=function(_0x40d106,_0x48fe48){_0x40d106=_0x40d106-0x1b4;let _0x224951=_0xee24f[_0x40d106];return _0x224951;},_0x40d1(_0x237aed,_0x3c0c16);}import{CommentsService as _0x14a4e4,User as _0x32e93}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5c4384}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3a5202}from'../realtimecollaborativeediting/sessions.js';class s extends _0x56d4bd{static [_0x4f4ff0(0x1f6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x14a4e4)());[_0x4f4ff0(0x1f2)];static get[_0x4f4ff0(0x204)](){const _0x5b04d9=_0x4f4ff0;return[_0x5c4384,_0x5b04d9(0x1fb),_0x3a5202,_0x2987d5];}static get[_0x4f4ff0(0x1fc)](){const _0x573c04=_0x4f4ff0;return _0x573c04(0x20a);}static get[_0x4f4ff0(0x1b4)](){return!0x0;}static get[_0x4f4ff0(0x1ee)](){return!0x0;}constructor(_0x42bbe3){const _0x23c063=_0x4f4ff0;super(_0x42bbe3),this[_0x23c063(0x1f2)]=new Map();}async[_0x4f4ff0(0x201)](){const _0x45bf98=_0x4f4ff0,_0x3b5663=this[_0x45bf98(0x205)],_0x487898=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x45bf98(0x1fb));if(_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x5c4384)[_0x45bf98(0x1f4)](this),_0x487898[_0x45bf98(0x1bf)]={'addCommentThread':async({channelId:_0x11befb,threadId:_0x51deca,comments:_0x25a781,resolvedAt:_0x1adfda,resolvedBy:_0x436da1,context:_0x51d695,attributes:_0x1831cc})=>{const _0x1d325d=_0x45bf98,_0x38ab48=await this[_0x1d325d(0x1f8)](_0x11befb)[_0x1d325d(0x1f5)]({'commentThreadId':_0x51deca,'comments':_0x25a781[_0x1d325d(0x1e6)](_0xb25668=>function(_0x2fabb9,_0x3a88d6,_0x537af0){const _0x2981f1=_0x1d325d;return{'commentThreadId':_0x537af0,'commentId':_0x2fabb9[_0x2981f1(0x20d)],'userId':_0x2fabb9[_0x2981f1(0x1b5)],'content':_0x2fabb9[_0x2981f1(0x1de)],'documentId':_0x3a88d6,'createdAt':_0x2fabb9[_0x2981f1(0x1d4)],'attributes':_0x2fabb9[_0x2981f1(0x1dc)]||{}};}(_0xb25668,_0x11befb,_0x51deca)),'resolvedAt':_0x1adfda,'resolvedBy':_0x436da1,'context':_0x51d695,'attributes':_0x1831cc})[_0x1d325d(0x1ce)](k);return{'threadId':_0x38ab48[_0x1d325d(0x1bb)],'comments':_0x38ab48[_0x1d325d(0x1df)]};},'getCommentThread':async({channelId:_0x359f62,threadId:_0xee073a})=>{const _0x1a0f04=_0x45bf98,_0x155a1a=await this[_0x1a0f04(0x1f8)](_0x359f62)[_0x1a0f04(0x1cc)](_0xee073a)[_0x1a0f04(0x1ce)](k);return _0x155a1a[_0x1a0f04(0x216)]?null:(await this[_0x1a0f04(0x1da)]([_0x155a1a]),{'threadId':_0x155a1a[_0x1a0f04(0x1bb)],'comments':_0x155a1a[_0x1a0f04(0x1df)][_0x1a0f04(0x1e6)](B),'context':_0x155a1a[_0x1a0f04(0x205)],'resolvedAt':_0x155a1a[_0x1a0f04(0x1d0)],'resolvedBy':_0x155a1a[_0x1a0f04(0x20b)],'attributes':_0x155a1a[_0x1a0f04(0x1dc)]||{}});},'updateCommentThread':async({channelId:_0x5095a8,threadId:_0x1eeff4,context:_0x366f5d,unlinkedAt:_0x3c02b7,attributes:_0x50387b})=>this[_0x45bf98(0x1f8)](_0x5095a8)[_0x45bf98(0x213)]({'commentThreadId':_0x1eeff4,'context':_0x366f5d,'attributes':_0x50387b,'unlinkedAt':_0x3c02b7})[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'resolveCommentThread':async({channelId:_0x30c93d,threadId:_0x23424e})=>{const _0x8416da=_0x45bf98,_0x112560=await this[_0x8416da(0x1f8)](_0x30c93d)[_0x8416da(0x1c0)](_0x23424e)[_0x8416da(0x1ce)](F)[_0x8416da(0x1ce)](k);return{'threadId':_0x112560[_0x8416da(0x1bb)],'resolvedAt':_0x112560[_0x8416da(0x1d0)],'resolvedBy':_0x112560[_0x8416da(0x20b)]};},'reopenCommentThread':async({channelId:_0x15e23c,threadId:_0xddb858})=>this[_0x45bf98(0x1f8)](_0x15e23c)[_0x45bf98(0x1d3)](_0xddb858)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeCommentThread':({channelId:_0x2d2f2c,threadId:_0x1b9a19})=>this[_0x45bf98(0x1f8)](_0x2d2f2c)[_0x45bf98(0x1c5)](_0x1b9a19)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'addComment':({channelId:_0x13aea8,threadId:_0x2e5b09,commentId:_0x4af9ea,content:_0x58600e,attributes:_0x24e30b})=>this[_0x45bf98(0x1f8)](_0x13aea8)[_0x45bf98(0x1f0)](_0x2e5b09,_0x4af9ea,_0x58600e,_0x24e30b)[_0x45bf98(0x1ce)](k),'updateComment':({channelId:_0x17c973,threadId:_0x28f08f,commentId:_0x1b864c,content:_0x13784a,attributes:_0x10d337})=>this[_0x45bf98(0x1f8)](_0x17c973)[_0x45bf98(0x1db)](_0x28f08f,_0x1b864c,_0x13784a,_0x10d337)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeComment':({channelId:_0x256ca6,threadId:_0x1b1f4f,commentId:_0x4fe482})=>this[_0x45bf98(0x1f8)](_0x256ca6)[_0x45bf98(0x1cf)](_0x1b1f4f,_0x4fe482)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k)},_0x3b5663 instanceof _0x2cc1ba){const _0x6f60d2=_0x3b5663[_0x45bf98(0x1c3)][_0x45bf98(0x1d2)](_0x45bf98(0x215)),_0x37517f=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x3a5202);await this[_0x45bf98(0x1fa)](_0x6f60d2);const _0x1f1621=await this[_0x45bf98(0x1f2)][_0x45bf98(0x1d2)](_0x6f60d2)[_0x45bf98(0x217)]();this[_0x45bf98(0x1ef)](_0x37517f,_0x45bf98(0x1dd)+_0x6f60d2,(_0x5d56ec,{session:_0xd2cd44})=>{const _0x3ccb8f=_0x45bf98;_0xd2cd44['id']===_0x37517f[_0x3ccb8f(0x1ba)]&&(_0x5d56ec[_0x3ccb8f(0x207)](),this[_0x3ccb8f(0x205)][_0x3ccb8f(0x1cb)][_0x3ccb8f(0x1d2)](_0x3ccb8f(0x1be))[_0x3ccb8f(0x1e3)](_0xd2cd44[_0x3ccb8f(0x1d8)],_0x6f60d2));}),_0x37517f[_0x45bf98(0x1d9)](_0x6f60d2,_0x1f1621);}}async[_0x4f4ff0(0x1fa)](_0x54e4f6){const _0x4799a7=_0x4f4ff0;if(this[_0x4799a7(0x1f2)][_0x4799a7(0x1fe)](_0x54e4f6))throw new _0xe6358f(_0x4799a7(0x1d1),null,{'channelId':_0x54e4f6});const _0x15395a=this[_0x4799a7(0x205)][_0x4799a7(0x1cb)][_0x4799a7(0x1d2)](_0x4799a7(0x1fb)),_0x57b5a2=new s[(_0x4799a7(0x1f6))](_0x54e4f6);this[_0x4799a7(0x1f2)][_0x4799a7(0x206)](_0x54e4f6,_0x57b5a2),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x218),(_0x50a1e2,_0x4e3346)=>{const _0x2f5bfe=_0x4799a7,{commentThreadId:_0x5b5a35,documentId:_0x36ecd4,context:_0x3371ce,attributes:_0x3a7b99,resolvedAt:_0x3c1e14,resolvedBy:_0x4a3e35,comments:_0x9a9063}=_0x4e3346;_0x15395a[_0x2f5bfe(0x1cc)](_0x5b5a35)||_0x15395a[_0x2f5bfe(0x1f5)]({'threadId':_0x5b5a35,'channelId':_0x36ecd4,'comments':_0x9a9063?_0x9a9063[_0x2f5bfe(0x1e6)](B):[],'context':_0x3371ce,'attributes':_0x3a7b99,'resolvedAt':_0x3c1e14,'resolvedBy':_0x4a3e35,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e2),(_0x15bbdf,{commentThreadId:_0x3ca403,documentId:_0x469c89,context:_0x3a8ff8,unlinkedAt:_0x5622fc,attributes:_0x44cfc7})=>{const _0x192092=_0x4799a7;_0x15395a[_0x192092(0x1cc)](_0x3ca403)&&_0x15395a[_0x192092(0x213)]({'threadId':_0x3ca403,'channelId':_0x469c89,'context':_0x3a8ff8,'unlinkedAt':_0x5622fc,'attributes':_0x44cfc7,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1c9),(_0x2414c1,{commentThreadId:_0x29e6c3,resolvedBy:_0xc00fe6,resolvedAt:_0x127def})=>{const _0x1d1b67=_0x4799a7,_0x31a0a0=_0x15395a[_0x1d1b67(0x1cc)](_0x29e6c3);_0x31a0a0&&_0x31a0a0[_0x1d1b67(0x209)]({'resolvedBy':_0xc00fe6,'resolvedAt':_0x127def,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1d6),(_0x513fe4,{commentThreadId:_0xd93415})=>{const _0x53f386=_0x4799a7,_0x257022=_0x15395a[_0x53f386(0x1cc)](_0xd93415);_0x257022&&_0x257022[_0x53f386(0x1ec)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e5),(_0x28336e,{commentThreadId:_0x3ee4ab})=>{const _0x50d4a0=_0x4799a7,_0x59ac8b=_0x15395a[_0x50d4a0(0x1cc)](_0x3ee4ab);_0x59ac8b&&_0x59ac8b[_0x50d4a0(0x210)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e0),(_0x1c2881,_0x461d25)=>{const _0x2aef35=_0x4799a7,_0x50c22f=_0x461d25[_0x2aef35(0x1bb)],_0x337f25=_0x15395a[_0x2aef35(0x1cc)](_0x50c22f);_0x337f25&&_0x337f25[_0x2aef35(0x1f0)]({...B(_0x461d25),'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e1),(_0x3ba5f6,{commentThreadId:_0x13b113,commentId:_0x3de5ff,content:_0x14ad26,attributes:_0x4ec2c5})=>{const _0x5006b6=_0x4799a7,_0x454652=_0x15395a[_0x5006b6(0x1cc)](_0x13b113);if(_0x454652){const _0x4481a4=_0x454652[_0x5006b6(0x1ea)](_0x3de5ff);_0x4481a4&&_0x4481a4[_0x5006b6(0x1e4)]({'content':_0x14ad26,'attributes':_0x4ec2c5,'isFromAdapter':!0x0});}}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1ed),(_0x58982b,{commentThreadId:_0x29dd5f,commentId:_0x16a414})=>{const _0x3973ca=_0x4799a7,_0x380791=_0x15395a[_0x3973ca(0x1cc)](_0x29dd5f);if(_0x380791){const _0x32df62=_0x380791[_0x3973ca(0x1ea)](_0x16a414);_0x32df62&&_0x32df62[_0x3973ca(0x210)]({'isFromAdapter':!0x0});}}),await this[_0x4799a7(0x1d7)](_0x54e4f6);}[_0x4f4ff0(0x208)](){const _0x146270=_0x4f4ff0;if(this[_0x146270(0x205)]instanceof _0x2cc1ba){const _0x204c1e=this[_0x146270(0x205)][_0x146270(0x1c3)][_0x146270(0x1d2)](_0x146270(0x215));this[_0x146270(0x1eb)](_0x204c1e);}}[_0x4f4ff0(0x1eb)](_0x42fcc1){const _0x3849ac=_0x4f4ff0;if(!this[_0x3849ac(0x1f2)][_0x3849ac(0x1fe)](_0x42fcc1))throw new _0xe6358f(_0x3849ac(0x214),null,{'channelId':_0x42fcc1});this[_0x3849ac(0x1f8)](_0x42fcc1)[_0x3849ac(0x1c8)](),this[_0x3849ac(0x1f2)][_0x3849ac(0x1c4)](_0x42fcc1);}async[_0x4f4ff0(0x202)](){const _0x1b2077=_0x4f4ff0;for(const _0x27933b of this[_0x1b2077(0x1f2)][_0x1b2077(0x1b8)]())await this[_0x1b2077(0x1d7)](_0x27933b);if(this[_0x1b2077(0x205)]instanceof _0x2cc1ba){const _0x4428f9=this[_0x1b2077(0x205)][_0x1b2077(0x1c3)][_0x1b2077(0x1d2)](_0x1b2077(0x215)),_0x37897f=this[_0x1b2077(0x205)][_0x1b2077(0x1cb)][_0x1b2077(0x1d2)](_0x3a5202);_0x37897f[_0x1b2077(0x1bc)](_0x4428f9);const _0x555222=await this[_0x1b2077(0x1f2)][_0x1b2077(0x1d2)](_0x4428f9)[_0x1b2077(0x217)]();_0x37897f[_0x1b2077(0x1d9)](_0x4428f9,_0x555222);}}async[_0x4f4ff0(0x1d7)](_0x1af5aa){const _0x544fac=_0x4f4ff0,{connection:_0x5293ba}=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x5c4384),_0x504702=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x544fac(0x1fb)),_0x550b5d=this[_0x544fac(0x1f2)][_0x544fac(0x1d2)](_0x1af5aa),_0x54c708=await _0x550b5d[_0x544fac(0x1b6)](_0x5293ba);await this[_0x544fac(0x1da)](_0x54c708);const _0x136b0a=new Set(Array[_0x544fac(0x211)](_0x504702[_0x544fac(0x1ff)]({'channelId':_0x1af5aa}),_0x3de92f=>_0x3de92f['id']));for(const _0x1858b2 of _0x54c708)_0x1858b2[_0x544fac(0x216)]||_0x136b0a[_0x544fac(0x1c4)](_0x1858b2[_0x544fac(0x1bb)]);for(const _0x4f80bb of _0x136b0a)_0x504702[_0x544fac(0x1cc)](_0x4f80bb)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x5c679f of _0x54c708){let _0xf739d=_0x504702[_0x544fac(0x1cc)](_0x5c679f[_0x544fac(0x1bb)]);const {commentThreadId:_0x5b69c1,context:_0x5d6bde,attributes:_0x289d92,resolvedBy:_0x1155be,resolvedAt:_0x282b5a,unlinkedAt:_0x2699c1,deletedAt:_0x1e61d2}=_0x5c679f;if(_0x1e61d2)continue;_0xf739d||(_0xf739d=_0x504702[_0x544fac(0x1f5)]({'channelId':_0x1af5aa,'threadId':_0x5b69c1,'context':_0x5d6bde,'attributes':_0x289d92||{},'resolvedBy':_0x1155be,'resolvedAt':_0x282b5a,'unlinkedAt':_0x2699c1,'isFromAdapter':!0x0}));const _0x38b09e=new Set(Array[_0x544fac(0x211)](_0xf739d[_0x544fac(0x1df)],_0x996678=>_0x996678['id']));for(const _0x2e22ed of _0x5c679f[_0x544fac(0x1df)])_0x38b09e[_0x544fac(0x1c4)](_0x2e22ed[_0x544fac(0x20d)]);for(const _0x276de0 of _0x38b09e)_0xf739d[_0x544fac(0x1ea)](_0x276de0)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x6f832f of _0x5c679f[_0x544fac(0x1df)]){const _0x5ef2ff=_0xf739d[_0x544fac(0x1ea)](_0x6f832f[_0x544fac(0x20d)]);_0x5ef2ff?_0x5ef2ff[_0x544fac(0x1de)]!==_0x6f832f[_0x544fac(0x1de)]&&_0x5ef2ff[_0x544fac(0x1e4)]({'content':_0x6f832f[_0x544fac(0x1de)],'isFromAdapter':!0x0}):_0xf739d[_0x544fac(0x1f0)](Object[_0x544fac(0x20f)](B(_0x6f832f),{'isFromAdapter':!0x0}));}}}[_0x4f4ff0(0x1f8)](_0xcd9dae){const _0x34f027=_0x4f4ff0;if(!this[_0x34f027(0x1f2)][_0x34f027(0x1fe)](_0xcd9dae))throw new _0xe6358f(_0x34f027(0x1e9),null,{'channelId':_0xcd9dae});return this[_0x34f027(0x1f2)][_0x34f027(0x1d2)](_0xcd9dae);}async[_0x4f4ff0(0x1da)](_0x2a1ffc){const _0x254e1d=_0x4f4ff0,_0xfcc028=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x2987d5),{connection:_0x4f84ae}=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x5c4384),_0x22a39f=new Set();for(const {resolvedBy:_0x21a3a0,comments:_0x3d8d4c}of _0x2a1ffc){_0x21a3a0&&!_0xfcc028[_0x254e1d(0x1f7)](_0x21a3a0)&&_0x22a39f[_0x254e1d(0x1b7)](_0x21a3a0);for(const {userId:_0x63af33}of _0x3d8d4c)_0xfcc028[_0x254e1d(0x1f7)](_0x63af33)||_0x22a39f[_0x254e1d(0x1b7)](_0x63af33);}if(0x0===_0x22a39f[_0x254e1d(0x1b9)])return;const _0x2e7def=await _0x32e93[_0x254e1d(0x1c1)](_0x4f84ae,Array[_0x254e1d(0x211)](_0x22a39f));for(const _0x304a7a of _0x2e7def)_0xfcc028[_0x254e1d(0x1f7)](_0x304a7a['id'])||_0xfcc028[_0x254e1d(0x1d5)](_0x304a7a);}}export{s as CloudServicesCommentsAdapter};async function F(_0x39139a){const _0x3451fc=_0x4f4ff0;if(_0x3451fc(0x20c)!==_0x39139a[_0x3451fc(0x1fd)])throw _0x39139a;}function k(_0x17f055){const _0x1f0f90=_0x4f4ff0;if((_0x278b9d=_0x17f055)[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1bd))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1c2))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1f3)))return new Promise(()=>{});var _0x278b9d;throw _0x17f055;}function B(_0x550708){const _0x5a0b6a=_0x4f4ff0;return{'threadId':_0x550708[_0x5a0b6a(0x1bb)],'commentId':_0x550708[_0x5a0b6a(0x20d)],'content':_0x550708[_0x5a0b6a(0x1de)],'createdAt':_0x550708[_0x5a0b6a(0x1d4)],'authorId':_0x550708[_0x5a0b6a(0x212)],'attributes':_0x550708[_0x5a0b6a(0x1dc)]||{}};}
@@ -7,16 +7,16 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
- import CloudServicesCommentsAdapter from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
11
- import RealTimeCollaborativeEditing from './realtimecollaborativeediting.js';
12
- import WebSocketGateway from './realtimecollaborativeediting/websocketgateway.js';
10
+ import { CloudServicesCommentsAdapter } from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
11
+ import { RealTimeCollaborativeEditing } from './realtimecollaborativeediting.js';
12
+ import { WebSocketGateway } from './realtimecollaborativeediting/websocketgateway.js';
13
13
  /**
14
14
  * Enables the real-time collaborative comments feature.
15
15
  *
16
16
  * Check the {@glink features/collaboration/real-time-collaboration/real-time-collaboration-integration Real-time collaboration guide}
17
17
  * to see how to launch the editor in the real-time collaboration mode.
18
18
  */
19
- export default class RealTimeCollaborativeComments extends Plugin {
19
+ export declare class RealTimeCollaborativeComments extends Plugin {
20
20
  /**
21
21
  * @inheritDoc
22
22
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x915632=_0x3383;(function(_0x2d23ad,_0x4c6b3f){const _0x712e28=_0x3383,_0xa2fe35=_0x2d23ad();while(!![]){try{const _0x242d6a=parseInt(_0x712e28(0x170))/0x1*(parseInt(_0x712e28(0x165))/0x2)+parseInt(_0x712e28(0x16e))/0x3+-parseInt(_0x712e28(0x167))/0x4+parseInt(_0x712e28(0x17a))/0x5*(-parseInt(_0x712e28(0x15b))/0x6)+-parseInt(_0x712e28(0x173))/0x7+parseInt(_0x712e28(0x16a))/0x8*(-parseInt(_0x712e28(0x179))/0x9)+parseInt(_0x712e28(0x16d))/0xa;if(_0x242d6a===_0x4c6b3f)break;else _0xa2fe35['push'](_0xa2fe35['shift']());}catch(_0x697ea0){_0xa2fe35['push'](_0xa2fe35['shift']());}}}(_0x343e,0x54854));import{Plugin as _0x228e10}from'ckeditor5/src/core.js';import _0x38a357 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x3383(_0x342310,_0x49e7ee){const _0x343e94=_0x343e();return _0x3383=function(_0x338380,_0x301860){_0x338380=_0x338380-0x15a;let _0x32cf08=_0x343e94[_0x338380];return _0x32cf08;},_0x3383(_0x342310,_0x49e7ee);}function _0x343e(){const _0x4dec82=['Comments','collaboration.channelId','16CZTbsm','plugins','editor','10023050HJGmpO','716829GBxlTk','isPremiumPlugin','505xUQJjT','pluginName','init','688639jVSrPh','switchReadOnly','once','get','_terminateService','CommentsEditing','2349531oArNZJ','736585iIOEQb','RealTimeCollaborativeComments','data','isThreadsLoadingPaused','6FtVWGz','requires','change:state','listenTo','ready','config','isOfficialPlugin','connected','_setUpService','CommentsRepository','1480fuhDHo','destroy','2003760eiWupD'];_0x343e=function(){return _0x4dec82;};return _0x343e();}import _0x57ae7f from'./realtimecollaborativeediting.js';import _0x5f0ec4 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x228e10{static get[_0x915632(0x15c)](){const _0xbb5cf8=_0x915632;return[_0xbb5cf8(0x168),_0x38a357,_0x57ae7f,_0x5f0ec4];}static get[_0x915632(0x171)](){const _0x4a2c8f=_0x915632;return _0x4a2c8f(0x17b);}static get[_0x915632(0x161)](){return!0x0;}static get[_0x915632(0x16f)](){return!0x0;}[_0x915632(0x172)](){const _0x411142=_0x915632,_0x3561ab=this[_0x411142(0x16c)][_0x411142(0x16b)][_0x411142(0x176)](_0x5f0ec4),_0x2d94c8=this[_0x411142(0x16c)][_0x411142(0x16b)][_0x411142(0x176)](_0x411142(0x178)),_0x13fe41=this[_0x411142(0x16c)][_0x411142(0x16b)][_0x411142(0x176)](_0x38a357);return this[_0x411142(0x16c)][_0x411142(0x17c)][_0x411142(0x175)](_0x411142(0x15f),()=>{const _0x3a2fd3=_0x411142;this[_0x3a2fd3(0x15e)](_0x3561ab,_0x3a2fd3(0x15d),(_0xd01811,_0x40d684,_0x2ae51d)=>{const _0x3795b6=_0x3a2fd3;_0x2d94c8[_0x3795b6(0x15a)]=_0x3795b6(0x162)!==_0x2ae51d;});}),this[_0x411142(0x15e)](_0x3561ab,_0x411142(0x15d),(_0x4e0114,_0x381725,_0x3e2a49)=>{const _0x11ec09=_0x411142;this[_0x11ec09(0x16c)][_0x11ec09(0x16b)][_0x11ec09(0x176)](_0x11ec09(0x164))[_0x11ec09(0x174)](_0x11ec09(0x162)!==_0x3e2a49);}),_0x13fe41[_0x411142(0x163)](this[_0x411142(0x16c)][_0x411142(0x160)][_0x411142(0x176)](_0x411142(0x169)));}[_0x915632(0x166)](){const _0x56a2fa=_0x915632;this[_0x56a2fa(0x16c)][_0x56a2fa(0x16b)][_0x56a2fa(0x176)](_0x38a357)[_0x56a2fa(0x177)](this[_0x56a2fa(0x16c)][_0x56a2fa(0x160)][_0x56a2fa(0x176)](_0x56a2fa(0x169))),super[_0x56a2fa(0x166)]();}}
23
+ function _0x3406(_0x401c0a,_0x2a9289){const _0x1fc9d1=_0x1fc9();return _0x3406=function(_0x34063b,_0x3360df){_0x34063b=_0x34063b-0xd0;let _0x42b514=_0x1fc9d1[_0x34063b];return _0x42b514;},_0x3406(_0x401c0a,_0x2a9289);}const _0x2f39cd=_0x3406;(function(_0x181c4a,_0x1da38a){const _0x39a4b4=_0x3406,_0x47b728=_0x181c4a();while(!![]){try{const _0x5a8393=-parseInt(_0x39a4b4(0xec))/0x1*(parseInt(_0x39a4b4(0xd6))/0x2)+parseInt(_0x39a4b4(0xd9))/0x3*(-parseInt(_0x39a4b4(0xd5))/0x4)+-parseInt(_0x39a4b4(0xef))/0x5*(parseInt(_0x39a4b4(0xe0))/0x6)+parseInt(_0x39a4b4(0xf3))/0x7+-parseInt(_0x39a4b4(0xdc))/0x8+parseInt(_0x39a4b4(0xe3))/0x9*(-parseInt(_0x39a4b4(0xe7))/0xa)+parseInt(_0x39a4b4(0xe6))/0xb;if(_0x5a8393===_0x1da38a)break;else _0x47b728['push'](_0x47b728['shift']());}catch(_0x28fbb0){_0x47b728['push'](_0x47b728['shift']());}}}(_0x1fc9,0xea53f));import{Plugin as _0x51c646}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3b5a2b}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x298b95}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4af96a}from'./realtimecollaborativeediting/websocketgateway.js';function _0x1fc9(){const _0x9aac3a=['CommentsRepository','11294976bXWkyj','pluginName','requires','get','switchReadOnly','ready','60ESsaMy','2RAhLzU','isPremiumPlugin','CommentsEditing','156855joavjS','change:state','isOfficialPlugin','526768zbvhYE','data','destroy','Comments','102hTqtGp','editor','init','234vlxgsU','plugins','RealTimeCollaborativeComments','56661836achGhv','641440sZgQMW','once','isThreadsLoadingPaused','_terminateService','connected','1491330yxHfPw','collaboration.channelId','_setUpService','528130WPwPqr','config','listenTo'];_0x1fc9=function(){return _0x9aac3a;};return _0x1fc9();}export class RealTimeCollaborativeComments extends _0x51c646{static get[_0x2f39cd(0xd1)](){const _0x55fa7a=_0x2f39cd;return[_0x55fa7a(0xdf),_0x3b5a2b,_0x298b95,_0x4af96a];}static get[_0x2f39cd(0xd0)](){const _0xdc5745=_0x2f39cd;return _0xdc5745(0xe5);}static get[_0x2f39cd(0xdb)](){return!0x0;}static get[_0x2f39cd(0xd7)](){return!0x0;}[_0x2f39cd(0xe2)](){const _0x6e0124=_0x2f39cd,_0xfc2574=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x4af96a),_0x8523aa=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x6e0124(0xd8)),_0x4d7b7b=this[_0x6e0124(0xe1)][_0x6e0124(0xe4)][_0x6e0124(0xd2)](_0x3b5a2b);return this[_0x6e0124(0xe1)][_0x6e0124(0xdd)][_0x6e0124(0xe8)](_0x6e0124(0xd4),()=>{const _0x382066=_0x6e0124;this[_0x382066(0xf1)](_0xfc2574,_0x382066(0xda),(_0x4ba2a2,_0x265952,_0x5af6d6)=>{const _0x4bf3db=_0x382066;_0x8523aa[_0x4bf3db(0xe9)]=_0x4bf3db(0xeb)!==_0x5af6d6;});}),this[_0x6e0124(0xf1)](_0xfc2574,_0x6e0124(0xda),(_0x2d86a0,_0x2d917a,_0x6cdf2f)=>{const _0x463de5=_0x6e0124;this[_0x463de5(0xe1)][_0x463de5(0xe4)][_0x463de5(0xd2)](_0x463de5(0xf2))[_0x463de5(0xd3)](_0x463de5(0xeb)!==_0x6cdf2f);}),_0x4d7b7b[_0x6e0124(0xee)](this[_0x6e0124(0xe1)][_0x6e0124(0xf0)][_0x6e0124(0xd2)](_0x6e0124(0xed)));}[_0x2f39cd(0xde)](){const _0x257ec6=_0x2f39cd;this[_0x257ec6(0xe1)][_0x257ec6(0xe4)][_0x257ec6(0xd2)](_0x3b5a2b)[_0x257ec6(0xea)](this[_0x257ec6(0xe1)][_0x257ec6(0xf0)][_0x257ec6(0xd2)](_0x257ec6(0xed))),super[_0x257ec6(0xde)]();}}
@@ -8,15 +8,15 @@
8
8
  */
9
9
  import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { Notification } from 'ckeditor5/src/ui.js';
11
- import WebSocketGateway from './websocketgateway.js';
12
- import Sessions from './sessions.js';
13
- import UserMarkers from './usermarkers.js';
11
+ import { WebSocketGateway } from './websocketgateway.js';
12
+ import { Sessions } from './sessions.js';
13
+ import { UserMarkers } from './usermarkers.js';
14
14
  import { Users, type CollaborationHistory } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
15
  import { CollaborativeEditingService } from '@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';
16
16
  /**
17
17
  * Handles the real-time collaborative editing.
18
18
  */
19
- export default class RealTimeCollaborationClient extends Plugin {
19
+ export declare class RealTimeCollaborationClient extends Plugin {
20
20
  static CollaborativeEditingService: typeof CollaborativeEditingService;
21
21
  /**
22
22
  * The ID of the current editing session to which the client is connected (or was connected before losing the connection).