@ckeditor/ckeditor5-real-time-collaboration 44.3.0 → 45.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 (185) hide show
  1. package/LICENSE.md +0 -1
  2. package/build/real-time-collaboration.js +1 -1
  3. package/build/translations/be.js +1 -0
  4. package/ckeditor5-metadata.json +4 -4
  5. package/dist/index-editor.css +66 -24
  6. package/dist/index.css +67 -25
  7. package/dist/index.js +6 -6
  8. package/dist/translations/af.js +1 -1
  9. package/dist/translations/af.umd.js +1 -1
  10. package/dist/translations/ar.js +1 -1
  11. package/dist/translations/ar.umd.js +1 -1
  12. package/dist/translations/ast.js +1 -1
  13. package/dist/translations/ast.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/be.d.ts +8 -0
  17. package/dist/translations/be.js +23 -0
  18. package/dist/translations/be.umd.js +23 -0
  19. package/dist/translations/bg.js +1 -1
  20. package/dist/translations/bg.umd.js +1 -1
  21. package/dist/translations/bn.js +1 -1
  22. package/dist/translations/bn.umd.js +1 -1
  23. package/dist/translations/bs.js +1 -1
  24. package/dist/translations/bs.umd.js +1 -1
  25. package/dist/translations/ca.js +1 -1
  26. package/dist/translations/ca.umd.js +1 -1
  27. package/dist/translations/cs.js +1 -1
  28. package/dist/translations/cs.umd.js +1 -1
  29. package/dist/translations/da.js +1 -1
  30. package/dist/translations/da.umd.js +1 -1
  31. package/dist/translations/de-ch.js +1 -1
  32. package/dist/translations/de-ch.umd.js +1 -1
  33. package/dist/translations/de.js +1 -1
  34. package/dist/translations/de.umd.js +1 -1
  35. package/dist/translations/el.js +1 -1
  36. package/dist/translations/el.umd.js +1 -1
  37. package/dist/translations/en-au.js +1 -1
  38. package/dist/translations/en-au.umd.js +1 -1
  39. package/dist/translations/en-gb.js +1 -1
  40. package/dist/translations/en-gb.umd.js +1 -1
  41. package/dist/translations/en.js +1 -1
  42. package/dist/translations/en.umd.js +1 -1
  43. package/dist/translations/eo.js +1 -1
  44. package/dist/translations/eo.umd.js +1 -1
  45. package/dist/translations/es-co.js +1 -1
  46. package/dist/translations/es-co.umd.js +1 -1
  47. package/dist/translations/es.js +1 -1
  48. package/dist/translations/es.umd.js +1 -1
  49. package/dist/translations/et.js +1 -1
  50. package/dist/translations/et.umd.js +1 -1
  51. package/dist/translations/eu.js +1 -1
  52. package/dist/translations/eu.umd.js +1 -1
  53. package/dist/translations/fa.js +1 -1
  54. package/dist/translations/fa.umd.js +1 -1
  55. package/dist/translations/fi.js +1 -1
  56. package/dist/translations/fi.umd.js +1 -1
  57. package/dist/translations/fr.js +1 -1
  58. package/dist/translations/fr.umd.js +1 -1
  59. package/dist/translations/gl.js +1 -1
  60. package/dist/translations/gl.umd.js +1 -1
  61. package/dist/translations/gu.js +1 -1
  62. package/dist/translations/gu.umd.js +1 -1
  63. package/dist/translations/he.js +1 -1
  64. package/dist/translations/he.umd.js +1 -1
  65. package/dist/translations/hi.js +1 -1
  66. package/dist/translations/hi.umd.js +1 -1
  67. package/dist/translations/hr.js +1 -1
  68. package/dist/translations/hr.umd.js +1 -1
  69. package/dist/translations/hu.js +1 -1
  70. package/dist/translations/hu.umd.js +1 -1
  71. package/dist/translations/hy.js +1 -1
  72. package/dist/translations/hy.umd.js +1 -1
  73. package/dist/translations/id.js +1 -1
  74. package/dist/translations/id.umd.js +1 -1
  75. package/dist/translations/it.js +1 -1
  76. package/dist/translations/it.umd.js +1 -1
  77. package/dist/translations/ja.js +1 -1
  78. package/dist/translations/ja.umd.js +1 -1
  79. package/dist/translations/jv.js +1 -1
  80. package/dist/translations/jv.umd.js +1 -1
  81. package/dist/translations/kk.js +1 -1
  82. package/dist/translations/kk.umd.js +1 -1
  83. package/dist/translations/km.js +1 -1
  84. package/dist/translations/km.umd.js +1 -1
  85. package/dist/translations/kn.js +1 -1
  86. package/dist/translations/kn.umd.js +1 -1
  87. package/dist/translations/ko.js +1 -1
  88. package/dist/translations/ko.umd.js +1 -1
  89. package/dist/translations/ku.js +1 -1
  90. package/dist/translations/ku.umd.js +1 -1
  91. package/dist/translations/lt.js +1 -1
  92. package/dist/translations/lt.umd.js +1 -1
  93. package/dist/translations/lv.js +1 -1
  94. package/dist/translations/lv.umd.js +1 -1
  95. package/dist/translations/ms.js +1 -1
  96. package/dist/translations/ms.umd.js +1 -1
  97. package/dist/translations/nb.js +1 -1
  98. package/dist/translations/nb.umd.js +1 -1
  99. package/dist/translations/ne.js +1 -1
  100. package/dist/translations/ne.umd.js +1 -1
  101. package/dist/translations/nl.js +1 -1
  102. package/dist/translations/nl.umd.js +1 -1
  103. package/dist/translations/no.js +1 -1
  104. package/dist/translations/no.umd.js +1 -1
  105. package/dist/translations/oc.js +1 -1
  106. package/dist/translations/oc.umd.js +1 -1
  107. package/dist/translations/pl.js +1 -1
  108. package/dist/translations/pl.umd.js +1 -1
  109. package/dist/translations/pt-br.js +1 -1
  110. package/dist/translations/pt-br.umd.js +1 -1
  111. package/dist/translations/pt.js +1 -1
  112. package/dist/translations/pt.umd.js +1 -1
  113. package/dist/translations/ro.js +1 -1
  114. package/dist/translations/ro.umd.js +1 -1
  115. package/dist/translations/ru.js +1 -1
  116. package/dist/translations/ru.umd.js +1 -1
  117. package/dist/translations/si.js +1 -1
  118. package/dist/translations/si.umd.js +1 -1
  119. package/dist/translations/sk.js +1 -1
  120. package/dist/translations/sk.umd.js +1 -1
  121. package/dist/translations/sl.js +1 -1
  122. package/dist/translations/sl.umd.js +1 -1
  123. package/dist/translations/sq.js +1 -1
  124. package/dist/translations/sq.umd.js +1 -1
  125. package/dist/translations/sr-latn.js +1 -1
  126. package/dist/translations/sr-latn.umd.js +1 -1
  127. package/dist/translations/sr.js +1 -1
  128. package/dist/translations/sr.umd.js +1 -1
  129. package/dist/translations/sv.js +1 -1
  130. package/dist/translations/sv.umd.js +1 -1
  131. package/dist/translations/th.js +1 -1
  132. package/dist/translations/th.umd.js +1 -1
  133. package/dist/translations/ti.js +1 -1
  134. package/dist/translations/ti.umd.js +1 -1
  135. package/dist/translations/tk.js +1 -1
  136. package/dist/translations/tk.umd.js +1 -1
  137. package/dist/translations/tr.js +1 -1
  138. package/dist/translations/tr.umd.js +1 -1
  139. package/dist/translations/tt.js +1 -1
  140. package/dist/translations/tt.umd.js +1 -1
  141. package/dist/translations/ug.js +1 -1
  142. package/dist/translations/ug.umd.js +1 -1
  143. package/dist/translations/uk.js +1 -1
  144. package/dist/translations/uk.umd.js +1 -1
  145. package/dist/translations/ur.js +1 -1
  146. package/dist/translations/ur.umd.js +1 -1
  147. package/dist/translations/uz.js +1 -1
  148. package/dist/translations/uz.umd.js +1 -1
  149. package/dist/translations/vi.js +1 -1
  150. package/dist/translations/vi.umd.js +1 -1
  151. package/dist/translations/zh-cn.js +1 -1
  152. package/dist/translations/zh-cn.umd.js +1 -1
  153. package/dist/translations/zh.js +1 -1
  154. package/dist/translations/zh.umd.js +1 -1
  155. package/lang/translations/be.po +55 -0
  156. package/package.json +21 -16
  157. package/src/common-translations.js +1 -1
  158. package/src/index.d.ts +1 -0
  159. package/src/index.js +1 -1
  160. package/src/presencelist/presencelistui.d.ts +12 -0
  161. package/src/presencelist/presencelistui.js +1 -1
  162. package/src/presencelist/view/presencecounterview.d.ts +2 -2
  163. package/src/presencelist/view/presencecounterview.js +1 -1
  164. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  165. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  166. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  167. package/src/presencelist/view/presenceinlinelistview.d.ts +2 -1
  168. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  169. package/src/presencelist/view/presencelistview.d.ts +1 -1
  170. package/src/presencelist/view/presencelistview.js +1 -1
  171. package/src/presencelist.d.ts +2 -1
  172. package/src/presencelist.js +1 -1
  173. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -1
  174. package/src/realtimecollaborativecomments.js +1 -1
  175. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -1
  176. package/src/realtimecollaborativeediting/sessions.js +1 -1
  177. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  178. package/src/realtimecollaborativeediting/websocketgateway.js +2 -1
  179. package/src/realtimecollaborativeediting.js +1 -1
  180. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
  181. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -1
  182. package/src/realtimecollaborativerevisionhistory.js +1 -1
  183. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -1
  184. package/src/realtimecollaborativetrackchanges.js +1 -1
  185. package/theme/presencelist.css +68 -26
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e5a17=_0x4450;(function(_0x2b530c,_0x25314f){const _0x35ed4c=_0x4450,_0x5e6cbc=_0x2b530c();while(!![]){try{const _0x5d7577=-parseInt(_0x35ed4c(0x1d9))/0x1+parseInt(_0x35ed4c(0x1c6))/0x2+-parseInt(_0x35ed4c(0x1db))/0x3*(-parseInt(_0x35ed4c(0x1cf))/0x4)+-parseInt(_0x35ed4c(0x1d7))/0x5*(-parseInt(_0x35ed4c(0x1cd))/0x6)+-parseInt(_0x35ed4c(0x1cc))/0x7*(parseInt(_0x35ed4c(0x1d0))/0x8)+parseInt(_0x35ed4c(0x1df))/0x9*(parseInt(_0x35ed4c(0x1ce))/0xa)+-parseInt(_0x35ed4c(0x1d2))/0xb*(parseInt(_0x35ed4c(0x1d3))/0xc);if(_0x5d7577===_0x25314f)break;else _0x5e6cbc['push'](_0x5e6cbc['shift']());}catch(_0x361f55){_0x5e6cbc['push'](_0x5e6cbc['shift']());}}}(_0xbe36,0xcf964));import{ListItemView as _0x349236}from'ckeditor5/src/ui.js';function _0x4450(_0x3f7e92,_0x2c02f7){const _0xbe3626=_0xbe36();return _0x4450=function(_0x44501f,_0x454828){_0x44501f=_0x44501f-0x1c5;let _0x19311=_0xbe3626[_0x44501f];return _0x19311;},_0x4450(_0x3f7e92,_0x2c02f7);}import{UserView as _0x4f23f3}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x349236{constructor(_0x4019bc,_0x9e9680,_0x948639){const _0x516a35=_0x4450;super(_0x4019bc);const _0x238614=this[_0x516a35(0x1d5)];this[_0x516a35(0x1dc)]=new _0x4f23f3(_0x4019bc,_0x9e9680);const _0x37c1be={'tag':'li','attributes':{'class':['ck',_0x516a35(0x1d6)],'tabindex':-0x1,'role':_0x516a35(0x1c9),'aria-label':_0x9e9680[_0x516a35(0x1c7)]},'children':[this[_0x516a35(0x1dc)],{'tag':_0x516a35(0x1e2),'attributes':{'class':['ck',_0x516a35(0x1e0)]},'children':[{'text':_0x9e9680[_0x516a35(0x1c7)]}]},{'tag':_0x516a35(0x1e2),'attributes':{'class':['ck',_0x516a35(0x1dd),_0x9e9680[_0x516a35(0x1d4)][_0x516a35(0x1c5)]()],'aria-hidden':_0x516a35(0x1de)}}]};_0x948639&&(_0x37c1be[_0x516a35(0x1e1)]=_0x516a35(0x1ca),_0x37c1be['on']={'click':_0x238614['to'](()=>this[_0x516a35(0x1d8)](_0x516a35(0x1d1)))}),this[_0x516a35(0x1c8)](_0x37c1be);}[_0x1e5a17(0x1cb)](){const _0x5346c9=_0x1e5a17;this[_0x5346c9(0x1da)][_0x5346c9(0x1cb)]();}}function _0xbe36(){const _0x161e46=['4348280dAjZDJ','1064lQxTVO','execute','11bWuwmn','19037580sTKKOP','color','bindTemplate','ck-presence-list__dropdown-list-item','6074165apdEFy','fire','823240MshgFS','element','3nvVICP','userView','ck-presence-list__marker','true','5660514xXwmdI','ck-user__full-name','tag','span','getBackgroundColorClass','804298onNuRR','name','setTemplate','presentation','button','focus','3843viqBna','6rZNYur','10NTUWHf'];_0xbe36=function(){return _0x161e46;};return _0xbe36();}
23
+ const _0x51157b=_0x338f;(function(_0x3743b4,_0x53a1c4){const _0x3039ee=_0x338f,_0x40b501=_0x3743b4();while(!![]){try{const _0x396a3e=parseInt(_0x3039ee(0x1a6))/0x1*(parseInt(_0x3039ee(0x1a3))/0x2)+parseInt(_0x3039ee(0x1a0))/0x3*(parseInt(_0x3039ee(0x194))/0x4)+parseInt(_0x3039ee(0x19e))/0x5*(-parseInt(_0x3039ee(0x1aa))/0x6)+parseInt(_0x3039ee(0x192))/0x7+-parseInt(_0x3039ee(0x197))/0x8*(-parseInt(_0x3039ee(0x1a5))/0x9)+-parseInt(_0x3039ee(0x19c))/0xa*(-parseInt(_0x3039ee(0x1a2))/0xb)+parseInt(_0x3039ee(0x19d))/0xc*(-parseInt(_0x3039ee(0x1ad))/0xd);if(_0x396a3e===_0x53a1c4)break;else _0x40b501['push'](_0x40b501['shift']());}catch(_0x52022c){_0x40b501['push'](_0x40b501['shift']());}}}(_0x7aa7,0xb7049));function _0x338f(_0xcf063d,_0x19d97e){const _0x7aa75c=_0x7aa7();return _0x338f=function(_0x338fda,_0xabaac2){_0x338fda=_0x338fda-0x190;let _0x37634f=_0x7aa75c[_0x338fda];return _0x37634f;},_0x338f(_0xcf063d,_0x19d97e);}import{ListItemView as _0x74fb1b}from'ckeditor5/src/ui.js';import{UserView as _0x1abf9d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x7aa7(){const _0x48a68b=['ck-user__full-name','9393335qcSyVM','button','56pfnWEM','getBackgroundColorClass','setTemplate','24CdCZuG','color','fire','focus','execute','20SfbvVg','57027708Pnkldp','4990BYGlcZ','span','277743vxhCFp','name','5437729PCuWJn','14426HPCHcN','true','3930318vIDhLw','177JRlngr','bindTemplate','ck-presence-list__dropdown-list-item','presentation','4278iDoqNc','element','ck-presence-list__marker','13sSXNtP','userView','tag'];_0x7aa7=function(){return _0x48a68b;};return _0x7aa7();}export default class k extends _0x74fb1b{[_0x51157b(0x1ae)];constructor(_0x52282f,_0x1784f8,_0x454d8b){const _0x5390ee=_0x51157b;super(_0x52282f);const _0x1bfa64=this[_0x5390ee(0x1a7)];this[_0x5390ee(0x1ae)]=new _0x1abf9d(_0x52282f,_0x1784f8);const _0x23b982={'tag':'li','attributes':{'class':['ck',_0x5390ee(0x1a8)],'tabindex':-0x1,'role':_0x5390ee(0x1a9),'aria-label':_0x1784f8[_0x5390ee(0x1a1)]},'children':[this[_0x5390ee(0x1ae)],{'tag':_0x5390ee(0x19f),'attributes':{'class':['ck',_0x5390ee(0x191)]},'children':[{'text':_0x1784f8[_0x5390ee(0x1a1)]}]},{'tag':_0x5390ee(0x19f),'attributes':{'class':['ck',_0x5390ee(0x1ac),_0x1784f8[_0x5390ee(0x198)][_0x5390ee(0x195)]()],'aria-hidden':_0x5390ee(0x1a4)}}]};_0x454d8b&&(_0x23b982[_0x5390ee(0x190)]=_0x5390ee(0x193),_0x23b982['on']={'click':_0x1bfa64['to'](()=>this[_0x5390ee(0x199)](_0x5390ee(0x19b)))}),this[_0x5390ee(0x196)](_0x23b982);}[_0x51157b(0x19a)](){const _0x237599=_0x51157b;this[_0x237599(0x1ab)][_0x237599(0x19a)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x73bdd7=_0x2627;function _0x2627(_0x3faa68,_0x3ecdf2){const _0xec8ece=_0xec8e();return _0x2627=function(_0x2627d3,_0x4e9fe5){_0x2627d3=_0x2627d3-0x109;let _0x405c25=_0xec8ece[_0x2627d3];return _0x405c25;},_0x2627(_0x3faa68,_0x3ecdf2);}(function(_0x1b7aca,_0x14e299){const _0x163ab1=_0x2627,_0x59d9cd=_0x1b7aca();while(!![]){try{const _0x13a4ef=-parseInt(_0x163ab1(0x122))/0x1+-parseInt(_0x163ab1(0x10a))/0x2+-parseInt(_0x163ab1(0x116))/0x3+parseInt(_0x163ab1(0x113))/0x4+parseInt(_0x163ab1(0x126))/0x5+-parseInt(_0x163ab1(0x112))/0x6+parseInt(_0x163ab1(0x10f))/0x7*(parseInt(_0x163ab1(0x110))/0x8);if(_0x13a4ef===_0x14e299)break;else _0x59d9cd['push'](_0x59d9cd['shift']());}catch(_0x5088d5){_0x59d9cd['push'](_0x59d9cd['shift']());}}}(_0xec8e,0xa982b));import{ListView as _0x36fe81,View as _0x5ddbac}from'ckeditor5/src/ui.js';function _0xec8e(){const _0x167ba1=['ck-presence-list__dropdown-list-wrapper_scrollable','items','window','1006347emUuvn','checkIfScrollable','resize','ck-presence-list__dropdown-list','1138845HxFNei','innerHeight','Connected\x20users\x20list\x20dropdown\x20menu','div','ariaLabelledBy','set','render','ck-reset','488768LWXWYD','bindTemplate','ck-presence-list__dropdown-list-wrapper','ck-list','scrollHeight','1981ULWDMr','82024tgpwXG','listWrapperView','5880210qppczw','3960324MSWGwT','role','ariaLabel','3583104jdgrJh','element','max','application','listenTo','_isScrollable','clientHeight','setTemplate','change'];_0xec8e=function(){return _0x167ba1;};return _0xec8e();}import{global as _0x5d9b2c}from'ckeditor5/src/utils.js';import{getTranslation as _0x42bda5}from'../../common-translations.js';export default class j extends _0x5ddbac{constructor(_0xe2f51c,_0x4736c5){const _0x2ecd84=_0x2627;super(_0xe2f51c),this[_0x2ecd84(0x111)]=new PresenceDropdownListWrapperView(_0xe2f51c,_0x4736c5),this[_0x2ecd84(0x11d)]({'tag':_0x2ecd84(0x129),'attributes':{'tabindex':-0x1,'role':_0x2ecd84(0x119),'class':['ck',_0x2ecd84(0x125)],'aria-label':_0x42bda5(_0xe2f51c,_0x2ecd84(0x128))},'children':[this[_0x2ecd84(0x111)]]});}}export class PresenceDropdownListWrapperView extends _0x36fe81{constructor(_0x2b7f66,_0x421220){const _0x38d19d=_0x2627;super(_0x2b7f66);const _0x398bd8=this[_0x38d19d(0x10b)];this[_0x38d19d(0x12b)](_0x38d19d(0x11b),!0x1),this[_0x38d19d(0x11d)]({'tag':_0x421220?_0x38d19d(0x129):'ul','attributes':{'class':['ck',_0x38d19d(0x109),_0x38d19d(0x10d),_0x38d19d(0x10c),_0x398bd8['if'](_0x38d19d(0x11b),_0x38d19d(0x11f))],'role':_0x398bd8['to'](_0x38d19d(0x114)),'aria-label':_0x398bd8['to'](_0x38d19d(0x115)),'aria-labelledby':_0x398bd8['to'](_0x38d19d(0x12a))},'children':this[_0x38d19d(0x120)]}),this[_0x38d19d(0x11a)](_0x5d9b2c[_0x38d19d(0x121)],_0x38d19d(0x124),()=>this[_0x38d19d(0x123)]()),this[_0x38d19d(0x120)]['on'](_0x38d19d(0x11e),()=>this[_0x38d19d(0x123)]());}[_0x73bdd7(0x12c)](){const _0x1677c7=_0x73bdd7;super[_0x1677c7(0x12c)](),this[_0x1677c7(0x123)]();}[_0x73bdd7(0x123)](){const _0x824584=_0x73bdd7,_0xc31589=this[_0x824584(0x117)];_0xc31589&&(this[_0x824584(0x11b)]=Math[_0x824584(0x118)](_0xc31589[_0x824584(0x10e)],_0xc31589[_0x824584(0x11c)])>0.8*window[_0x824584(0x127)]);}}
23
+ const _0x1ba01a=_0x43fe;(function(_0x46586e,_0x2c3b2d){const _0x2fc25a=_0x43fe,_0x3021ab=_0x46586e();while(!![]){try{const _0x2d9cb5=parseInt(_0x2fc25a(0x12f))/0x1*(parseInt(_0x2fc25a(0x152))/0x2)+-parseInt(_0x2fc25a(0x148))/0x3*(parseInt(_0x2fc25a(0x150))/0x4)+parseInt(_0x2fc25a(0x144))/0x5*(-parseInt(_0x2fc25a(0x139))/0x6)+-parseInt(_0x2fc25a(0x133))/0x7*(parseInt(_0x2fc25a(0x135))/0x8)+parseInt(_0x2fc25a(0x132))/0x9*(-parseInt(_0x2fc25a(0x130))/0xa)+parseInt(_0x2fc25a(0x14a))/0xb+parseInt(_0x2fc25a(0x123))/0xc*(parseInt(_0x2fc25a(0x127))/0xd);if(_0x2d9cb5===_0x2c3b2d)break;else _0x3021ab['push'](_0x3021ab['shift']());}catch(_0x48e622){_0x3021ab['push'](_0x3021ab['shift']());}}}(_0x562f,0x5d39d));function _0x43fe(_0x1d3bcf,_0x380198){const _0x562f22=_0x562f();return _0x43fe=function(_0x43fec7,_0x1ddcd3){_0x43fec7=_0x43fec7-0x123;let _0x105505=_0x562f22[_0x43fec7];return _0x105505;},_0x43fe(_0x1d3bcf,_0x380198);}import{ListView as _0x470f84,View as _0x28b618}from'ckeditor5/src/ui.js';import{global as _0x4352c6}from'ckeditor5/src/utils.js';import{getTranslation as _0xdd54a0}from'../../common-translations.js';export default class x extends _0x28b618{[_0x1ba01a(0x12a)];constructor(_0x420a8b,_0x4b30a7){const _0x372d81=_0x1ba01a;super(_0x420a8b);const _0x59251a=this[_0x372d81(0x138)];this[_0x372d81(0x12a)]=new PresenceDropdownListWrapperView(_0x420a8b,_0x4b30a7),this[_0x372d81(0x145)]({'tag':_0x372d81(0x14b),'attributes':{'tabindex':-0x1,'role':_0x372d81(0x13b),'class':['ck',_0x372d81(0x14c)],'aria-label':_0xdd54a0(_0x420a8b,_0x372d81(0x13e))},'children':[this[_0x372d81(0x12a)]],'on':{'mouseleave':_0x59251a['to'](_0x171736=>{const _0x2d0bad=_0x372d81,_0xad5add=_0x171736,_0x524260=document[_0x2d0bad(0x13c)](_0x2d0bad(0x140)),_0x2875ee=document[_0x2d0bad(0x13c)](_0x2d0bad(0x12c));_0x524260?.[_0x2d0bad(0x146)](_0xad5add[_0x2d0bad(0x137)])||_0x2875ee?.[_0x2d0bad(0x146)](_0xad5add[_0x2d0bad(0x137)])||this[_0x2d0bad(0x12e)](_0x2d0bad(0x141));})}});}}function _0x562f(){const _0x1b8a9a=['checkIfScrollable','listWrapperView','ck-presence-list__dropdown-list-wrapper','.ck-balloon-panel_with-arrow','ariaLabelledBy','fire','293TusxBI','110GIoSNk','scrollHeight','269559CQOKBz','7kHMMuh','ck-reset','6047448uwQuaS','change','relatedTarget','bindTemplate','6MzLGki','element','application','querySelector','window','Connected\x20users\x20list\x20dropdown\x20menu','items','.ck-presence-list__list','presencelist:hide','ck-list','innerHeight','809815ErOraZ','setTemplate','contains','role','1454478ADFUaD','max','4298811DeXCKz','div','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper_scrollable','clientHeight','listenTo','4GJjNHN','resize','572sxVMbD','12bRgGOM','render','ariaLabel','_isScrollable','21312655YOjual','set'];_0x562f=function(){return _0x1b8a9a;};return _0x562f();}export class PresenceDropdownListWrapperView extends _0x470f84{constructor(_0x443b43,_0x430800){const _0x5aa19c=_0x1ba01a;super(_0x443b43);const _0x39acdd=this[_0x5aa19c(0x138)];this[_0x5aa19c(0x128)](_0x5aa19c(0x126),!0x1),this[_0x5aa19c(0x145)]({'tag':_0x430800?_0x5aa19c(0x14b):'ul','attributes':{'class':['ck',_0x5aa19c(0x134),_0x5aa19c(0x142),_0x5aa19c(0x12b),_0x39acdd['if'](_0x5aa19c(0x126),_0x5aa19c(0x14d))],'role':_0x39acdd['to'](_0x5aa19c(0x147)),'aria-label':_0x39acdd['to'](_0x5aa19c(0x125)),'aria-labelledby':_0x39acdd['to'](_0x5aa19c(0x12d))},'children':this[_0x5aa19c(0x13f)]}),this[_0x5aa19c(0x14f)](_0x4352c6[_0x5aa19c(0x13d)],_0x5aa19c(0x151),()=>this[_0x5aa19c(0x129)]()),this[_0x5aa19c(0x13f)]['on'](_0x5aa19c(0x136),()=>this[_0x5aa19c(0x129)]());}[_0x1ba01a(0x124)](){const _0x4508c0=_0x1ba01a;super[_0x4508c0(0x124)](),this[_0x4508c0(0x129)]();}[_0x1ba01a(0x129)](){const _0x58648d=_0x1ba01a,_0x239ff6=this[_0x58648d(0x13a)];_0x239ff6&&(this[_0x58648d(0x126)]=Math[_0x58648d(0x149)](_0x239ff6[_0x58648d(0x131)],_0x239ff6[_0x58648d(0x14e)])>0.8*window[_0x58648d(0x143)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1474ea,_0x62de90){const _0x3fa9af=_0x852c,_0x40c312=_0x1474ea();while(!![]){try{const _0x41166d=parseInt(_0x3fa9af(0x1ad))/0x1*(-parseInt(_0x3fa9af(0x1c5))/0x2)+parseInt(_0x3fa9af(0x1c4))/0x3*(-parseInt(_0x3fa9af(0x1b3))/0x4)+parseInt(_0x3fa9af(0x1b7))/0x5+-parseInt(_0x3fa9af(0x1c1))/0x6*(-parseInt(_0x3fa9af(0x1b1))/0x7)+-parseInt(_0x3fa9af(0x1bc))/0x8*(-parseInt(_0x3fa9af(0x1b9))/0x9)+-parseInt(_0x3fa9af(0x1c2))/0xa*(parseInt(_0x3fa9af(0x1b2))/0xb)+parseInt(_0x3fa9af(0x1ab))/0xc;if(_0x41166d===_0x62de90)break;else _0x40c312['push'](_0x40c312['shift']());}catch(_0x54ec08){_0x40c312['push'](_0x40c312['shift']());}}}(_0x5156,0xe629e));import{LabelView as _0x192271,View as _0xee3eb0}from'ckeditor5/src/ui.js';import{UserView as _0x14618c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0xee3eb0{constructor(_0x549d73,_0x2d8036,_0x19ea99){const _0x34bb97=_0x852c;super(_0x549d73);const _0x189e61=this[_0x34bb97(0x1b0)];this[_0x34bb97(0x1ba)](_0x34bb97(0x1bd),!0x1),this[_0x34bb97(0x1ba)](_0x34bb97(0x1c6),!0x0),this[_0x34bb97(0x1ba)](_0x34bb97(0x1be),''),this[_0x34bb97(0x1cb)]=new _0x14618c(_0x549d73,_0x2d8036),this[_0x34bb97(0x1af)]=new dt(_0x549d73,_0x2d8036);const _0x27abb0=new _0x192271(_0x549d73);_0x27abb0[_0x34bb97(0x1ac)][_0x34bb97(0x1c7)]=_0x34bb97(0x1c3),_0x27abb0[_0x34bb97(0x1bf)]=_0x2d8036[_0x34bb97(0x1ca)];const _0x676524={'tag':_0x34bb97(0x1b5),'attributes':{'class':['ck',_0x34bb97(0x1c9)],'role':_0x34bb97(0x1c0),'tabindex':_0x189e61['to'](_0x34bb97(0x1bd),_0x2fe03a=>!!_0x2fe03a&&0x0),'aria-labelledby':_0x27abb0['id'],'data-cke-tooltip-text':this[_0x34bb97(0x1cb)][_0x34bb97(0x1ca)],'data-cke-tooltip-position':_0x189e61['to'](_0x34bb97(0x1be)),'data-cke-tooltip-disabled':_0x189e61['to'](_0x34bb97(0x1c6),_0x1fc3da=>!_0x1fc3da),'data-cke-tooltip-class':_0x34bb97(0x1aa)},'children':[this[_0x34bb97(0x1cb)],this[_0x34bb97(0x1af)],_0x27abb0]};_0x19ea99&&(_0x676524[_0x34bb97(0x1c7)]=_0x34bb97(0x1ae),_0x676524['on']={'click':_0x189e61['to'](()=>this[_0x34bb97(0x1b4)](_0x34bb97(0x1bb)))}),this[_0x34bb97(0x1a9)](_0x676524);}}function _0x852c(_0x1b1bdd,_0x9ca3d1){const _0x5156b4=_0x5156();return _0x852c=function(_0x852c40,_0x3401a7){_0x852c40=_0x852c40-0x1a8;let _0x2826c4=_0x5156b4[_0x852c40];return _0x2826c4;},_0x852c(_0x1b1bdd,_0x9ca3d1);}function _0x5156(){const _0x290868=['button','markerView','bindTemplate','7vXcrvx','104401UkrJRr','4GCaJpJ','fire','div','true','1051610BzNjGm','color','189LhDVRa','set','execute','69264icMjCz','isFocusable','tooltipPosition','text','listitem','6082716bsXHPn','250uoIMRT','span','3662151pJOzWX','188NbRkYa','hasTooltip','tag','ck-presence-list__marker','ck-presence-list__list-item','name','userView','getBackgroundColorClass','setTemplate','ck-presence-list__list-item__tooltip','34331976dNpDRi','template','19853EwrJit'];_0x5156=function(){return _0x290868;};return _0x5156();}class dt extends _0xee3eb0{constructor(_0x54ac63,_0x31a3b3){const _0x32eb48=_0x852c;super(_0x54ac63),this[_0x32eb48(0x1a9)]({'tag':_0x32eb48(0x1c3),'attributes':{'class':['ck',_0x32eb48(0x1c8),_0x31a3b3[_0x32eb48(0x1b8)][_0x32eb48(0x1a8)]()],'aria-hidden':_0x32eb48(0x1b6)}});}}
23
+ const _0x4979fa=_0x56e7;(function(_0x23f3ee,_0x30ea73){const _0x43eb70=_0x56e7,_0x4a8f55=_0x23f3ee();while(!![]){try{const _0x690f18=parseInt(_0x43eb70(0x177))/0x1+-parseInt(_0x43eb70(0x17e))/0x2*(parseInt(_0x43eb70(0x195))/0x3)+parseInt(_0x43eb70(0x179))/0x4*(-parseInt(_0x43eb70(0x17c))/0x5)+parseInt(_0x43eb70(0x186))/0x6+parseInt(_0x43eb70(0x181))/0x7*(parseInt(_0x43eb70(0x185))/0x8)+-parseInt(_0x43eb70(0x176))/0x9+parseInt(_0x43eb70(0x17f))/0xa*(parseInt(_0x43eb70(0x194))/0xb);if(_0x690f18===_0x30ea73)break;else _0x4a8f55['push'](_0x4a8f55['shift']());}catch(_0x319431){_0x4a8f55['push'](_0x4a8f55['shift']());}}}(_0x1b4b,0xc87f2));function _0x1b4b(){const _0x311bb3=['ck-presence-list__list-item__tooltip','568AyHZPC','set','span','29720KPclsS','execute','14hoIuiF','10rGkwlj','markerView','82649hUJjmn','template','setTemplate','hasTooltip','48DKPEFn','1295160niLBzi','getBackgroundColorClass','fire','tag','text','name','ck-presence-list__marker','userView','bindTemplate','ck-presence-list__list-item','isFocusable','tooltipPosition','div','color','17077588zIcNQC','239049UKzQlm','listitem','true','button','2738169XEdnhK','688094ayHlUq'];_0x1b4b=function(){return _0x311bb3;};return _0x1b4b();}import{LabelView as _0x18a98a,View as _0x2ff856}from'ckeditor5/src/ui.js';import{UserView as _0x1b5b9b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x2ff856{[_0x4979fa(0x18d)];[_0x4979fa(0x180)];constructor(_0x458928,_0x575a12,_0x6b56c0){const _0x3e85db=_0x4979fa;super(_0x458928);const _0x222cc7=this[_0x3e85db(0x18e)];this[_0x3e85db(0x17a)](_0x3e85db(0x190),!0x1),this[_0x3e85db(0x17a)](_0x3e85db(0x184),!0x0),this[_0x3e85db(0x17a)](_0x3e85db(0x191),''),this[_0x3e85db(0x18d)]=new _0x1b5b9b(_0x458928,_0x575a12),this[_0x3e85db(0x180)]=new at(_0x458928,_0x575a12);const _0x217a59=new _0x18a98a(_0x458928);_0x217a59[_0x3e85db(0x182)][_0x3e85db(0x189)]=_0x3e85db(0x17b),_0x217a59[_0x3e85db(0x18a)]=_0x575a12[_0x3e85db(0x18b)];const _0x4bcfb2={'tag':_0x3e85db(0x192),'attributes':{'class':['ck',_0x3e85db(0x18f)],'role':_0x3e85db(0x196),'tabindex':_0x222cc7['to'](_0x3e85db(0x190),_0x193f60=>!!_0x193f60&&0x0),'aria-labelledby':_0x217a59['id'],'data-cke-tooltip-text':this[_0x3e85db(0x18d)][_0x3e85db(0x18b)],'data-cke-tooltip-position':_0x222cc7['to'](_0x3e85db(0x191)),'data-cke-tooltip-disabled':_0x222cc7['to'](_0x3e85db(0x184),_0x1fd87e=>!_0x1fd87e),'data-cke-tooltip-class':_0x3e85db(0x178)},'children':[this[_0x3e85db(0x18d)],this[_0x3e85db(0x180)],_0x217a59]};_0x6b56c0&&(_0x4bcfb2[_0x3e85db(0x189)]=_0x3e85db(0x175),_0x4bcfb2['on']={'click':_0x222cc7['to'](()=>this[_0x3e85db(0x188)](_0x3e85db(0x17d)))}),this[_0x3e85db(0x183)](_0x4bcfb2);}}function _0x56e7(_0x13fc20,_0x30dafa){const _0x1b4bcc=_0x1b4b();return _0x56e7=function(_0x56e7aa,_0x25ac86){_0x56e7aa=_0x56e7aa-0x174;let _0xb0dee7=_0x1b4bcc[_0x56e7aa];return _0xb0dee7;},_0x56e7(_0x13fc20,_0x30dafa);}class at extends _0x2ff856{constructor(_0x419828,_0x3d57ad){const _0x1b0ae1=_0x4979fa;super(_0x419828),this[_0x1b0ae1(0x183)]({'tag':_0x1b0ae1(0x17b),'attributes':{'class':['ck',_0x1b0ae1(0x18c),_0x3d57ad[_0x1b0ae1(0x193)][_0x1b0ae1(0x187)]()],'aria-hidden':_0x1b0ae1(0x174)}});}}
@@ -4,12 +4,13 @@
4
4
  */
5
5
  import { View, type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
6
6
  import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
7
+ import type PresenceCounterView from './presencecounterview.js';
7
8
  import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
8
9
  export default class PresenceInlineListView extends View implements FocusableView {
9
10
  /**
10
11
  * The collection of `PresenceInlineListItemView` instances.
11
12
  */
12
- readonly items: ViewCollection<PresenceInlineListItemView>;
13
+ readonly items: ViewCollection<PresenceInlineListItemView | PresenceCounterView>;
13
14
  /**
14
15
  * The keystroke handler for the presence inline list view.
15
16
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35faaa=_0x534e;(function(_0x3c9bf9,_0xbc59f4){const _0x4be255=_0x534e,_0x127d2f=_0x3c9bf9();while(!![]){try{const _0x7726e9=-parseInt(_0x4be255(0x19f))/0x1+-parseInt(_0x4be255(0x1a5))/0x2+parseInt(_0x4be255(0x1b4))/0x3*(-parseInt(_0x4be255(0x1a1))/0x4)+-parseInt(_0x4be255(0x1af))/0x5*(-parseInt(_0x4be255(0x1b7))/0x6)+parseInt(_0x4be255(0x1be))/0x7+parseInt(_0x4be255(0x1b3))/0x8+parseInt(_0x4be255(0x1a8))/0x9*(parseInt(_0x4be255(0x1a4))/0xa);if(_0x7726e9===_0xbc59f4)break;else _0x127d2f['push'](_0x127d2f['shift']());}catch(_0x2f03bf){_0x127d2f['push'](_0x127d2f['shift']());}}}(_0x7316,0x1b0b9));import{View as _0x36a0a2}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5e0aec}from'ckeditor5/src/utils.js';import{getTranslation as _0xbfa781}from'../../common-translations.js';function _0x534e(_0x35353d,_0x528b47){const _0x731673=_0x7316();return _0x534e=function(_0x534ef7,_0x1dbc61){_0x534ef7=_0x534ef7-0x19f;let _0x54c170=_0x731673[_0x534ef7];return _0x54c170;},_0x534e(_0x35353d,_0x528b47);}function _0x7316(){const _0x241929=['187880tKhjwk','3Ritsrs','element','isExpanded','498DNYDHX','set','render','fire','hasPopup','list','ck-presence-list__list','1002050zhrTwY','execute','246ThTjaU','removeAttribute','819044GTxveI','setTemplate','listenTo','30PNFusY','174234sGdzNe','bindTemplate','Connected\x20users\x20list','387837QBNkjt','setAttribute','change:hasPopup','focus','div','aria-expanded','keystrokes','6445DNhDJj','items','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)'];_0x7316=function(){return _0x241929;};return _0x7316();}export default class es extends _0x36a0a2{constructor(_0x56cff3){const _0x4003d9=_0x534e;super(_0x56cff3);const _0x18a070=this[_0x4003d9(0x1a6)];this[_0x4003d9(0x1b0)]=this[_0x4003d9(0x1b1)](),this[_0x4003d9(0x1ae)]=new _0x5e0aec(),this[_0x4003d9(0x1b8)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4003d9(0x1a2)]({'tag':_0x4003d9(0x1ac),'attributes':{'aria-haspopup':_0x18a070['if'](_0x4003d9(0x1bb)),'aria-expanded':_0x18a070['to'](_0x4003d9(0x1b6),_0x438a63=>this[_0x4003d9(0x1bb)]&&String(_0x438a63)),'aria-label':_0x18a070['to'](_0x4003d9(0x1bb),_0x2b0a2d=>_0xbfa781(_0x56cff3,_0x2b0a2d?_0x4003d9(0x1b2):_0x4003d9(0x1a7))),'role':_0x4003d9(0x1bc),'tabindex':_0x18a070['to'](_0x4003d9(0x1bb),_0x54d5d8=>!!_0x54d5d8&&0x0),'class':['ck',_0x4003d9(0x1bd)]},'children':this[_0x4003d9(0x1b0)],'on':{'click':_0x18a070['to'](()=>this[_0x4003d9(0x1ba)](_0x4003d9(0x1bf)))}}),this['on'](_0x4003d9(0x1aa),(_0x41d9b2,_0x235a2d,_0x1c53bd)=>{const _0x5f33ab=_0x4003d9;this[_0x5f33ab(0x1b5)]&&(_0x1c53bd?this[_0x5f33ab(0x1b5)][_0x5f33ab(0x1a9)](_0x5f33ab(0x1ad),String(this[_0x5f33ab(0x1b6)])):this[_0x5f33ab(0x1b5)][_0x5f33ab(0x1a0)](_0x5f33ab(0x1ad)));});}[_0x35faaa(0x1ab)](){const _0x175cc2=_0x35faaa;this[_0x175cc2(0x1b5)][_0x175cc2(0x1ab)]();}[_0x35faaa(0x1b9)](){const _0x572026=_0x35faaa;super[_0x572026(0x1b9)](),this[_0x572026(0x1ae)][_0x572026(0x1a3)](this[_0x572026(0x1b5)]);}}
23
+ const _0x3019a7=_0x2d76;(function(_0x462514,_0x3d5546){const _0x404eb5=_0x2d76,_0x5bae9d=_0x462514();while(!![]){try{const _0x372d5b=-parseInt(_0x404eb5(0x1ba))/0x1*(-parseInt(_0x404eb5(0x1b7))/0x2)+-parseInt(_0x404eb5(0x1c9))/0x3+-parseInt(_0x404eb5(0x1b1))/0x4+parseInt(_0x404eb5(0x1b0))/0x5*(parseInt(_0x404eb5(0x1c0))/0x6)+-parseInt(_0x404eb5(0x1c6))/0x7*(-parseInt(_0x404eb5(0x1b3))/0x8)+-parseInt(_0x404eb5(0x1bf))/0x9*(parseInt(_0x404eb5(0x1cd))/0xa)+parseInt(_0x404eb5(0x1b5))/0xb;if(_0x372d5b===_0x3d5546)break;else _0x5bae9d['push'](_0x5bae9d['shift']());}catch(_0x454732){_0x5bae9d['push'](_0x5bae9d['shift']());}}}(_0x2295,0x32c99));import{View as _0x209099}from'ckeditor5/src/ui.js';function _0x2295(){const _0x2b2a62=['890820sFVNjk','.ck-presence-list__dropdown-list','8KbidlE','change:hasPopup','5007860bEpLBH','presencelist:show','32YBZVfq','removeAttribute','element','20633pawLyp','list','aria-expanded','Connected\x20users\x20list','querySelector','3129264UAOAZD','150rGKEep','focus','ck-presence-list__list','items','keystrokes','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','1971837BWfVTf','presencelist:hide','render','1171884XHDzvp','contains','hasPopup','listenTo','10pNllxO','isExpanded','setAttribute','div','setTemplate','set','fire','relatedTarget','createCollection','.ck-balloon-panel_with-arrow','bindTemplate','20395qssWvy'];_0x2295=function(){return _0x2b2a62;};return _0x2295();}function _0x2d76(_0x475761,_0x382376){const _0x2295b4=_0x2295();return _0x2d76=function(_0x2d7600,_0x45219d){_0x2d7600=_0x2d7600-0x1ac;let _0x510b17=_0x2295b4[_0x2d7600];return _0x510b17;},_0x2d76(_0x475761,_0x382376);}import{KeystrokeHandler as _0x5dd3d6}from'ckeditor5/src/utils.js';import{getTranslation as _0xa386e}from'../../common-translations.js';export default class ts extends _0x209099{[_0x3019a7(0x1c3)];[_0x3019a7(0x1c4)];constructor(_0x1ebfcb){const _0x194707=_0x3019a7;super(_0x1ebfcb);const _0x1ee17c=this[_0x194707(0x1af)];this[_0x194707(0x1c3)]=this[_0x194707(0x1ad)](),this[_0x194707(0x1c4)]=new _0x5dd3d6(),this[_0x194707(0x1d2)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x194707(0x1d1)]({'tag':_0x194707(0x1d0),'attributes':{'aria-haspopup':_0x1ee17c['if'](_0x194707(0x1cb)),'aria-expanded':_0x1ee17c['to'](_0x194707(0x1ce),_0x5562da=>this[_0x194707(0x1cb)]&&String(_0x5562da)),'aria-label':_0x1ee17c['to'](_0x194707(0x1cb),_0xaa3193=>_0xa386e(_0x1ebfcb,_0xaa3193?_0x194707(0x1c5):_0x194707(0x1bd))),'role':_0x194707(0x1bb),'tabindex':_0x1ee17c['to'](_0x194707(0x1cb),_0x5c70b6=>!!_0x5c70b6&&0x0),'class':['ck',_0x194707(0x1c2)]},'children':this[_0x194707(0x1c3)],'on':{'mouseenter':_0x1ee17c['to'](()=>this[_0x194707(0x1d3)](_0x194707(0x1b6))),'mouseleave':_0x1ee17c['to'](_0x2418c5=>{const _0x22efdf=_0x194707,_0x4b8d34=_0x2418c5,_0x243702=document[_0x22efdf(0x1be)](_0x22efdf(0x1b2)),_0x15eda9=document[_0x22efdf(0x1be)](_0x22efdf(0x1ae));_0x243702?.[_0x22efdf(0x1ca)](_0x4b8d34[_0x22efdf(0x1ac)])||_0x15eda9?.[_0x22efdf(0x1ca)](_0x4b8d34[_0x22efdf(0x1ac)])||this[_0x22efdf(0x1d3)](_0x22efdf(0x1c7));})}}),this['on'](_0x194707(0x1b4),(_0xb611ef,_0x407f37,_0x29f374)=>{const _0xa73bd3=_0x194707;this[_0xa73bd3(0x1b9)]&&(_0x29f374?this[_0xa73bd3(0x1b9)][_0xa73bd3(0x1cf)](_0xa73bd3(0x1bc),String(this[_0xa73bd3(0x1ce)])):this[_0xa73bd3(0x1b9)][_0xa73bd3(0x1b8)](_0xa73bd3(0x1bc)));});}[_0x3019a7(0x1c1)](){const _0x49a678=_0x3019a7;this[_0x49a678(0x1b9)][_0x49a678(0x1c1)]();}[_0x3019a7(0x1c8)](){const _0x20338a=_0x3019a7;super[_0x20338a(0x1c8)](),this[_0x20338a(0x1c4)][_0x20338a(0x1cc)](this[_0x20338a(0x1b9)]);}}
@@ -16,5 +16,5 @@ export default class PresenceListView extends View {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
19
- constructor(locale: Locale);
19
+ constructor(locale: Locale, collapseAt?: number);
20
20
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xcd33(_0x1b9977,_0x4d365d){const _0x317dd4=_0x317d();return _0xcd33=function(_0xcd33b7,_0x278682){_0xcd33b7=_0xcd33b7-0x19d;let _0x4cc78b=_0x317dd4[_0xcd33b7];return _0x4cc78b;},_0xcd33(_0x1b9977,_0x4d365d);}(function(_0xf63e29,_0x4426f1){const _0x326b69=_0xcd33,_0x380cea=_0xf63e29();while(!![]){try{const _0x422e09=-parseInt(_0x326b69(0x1a0))/0x1*(parseInt(_0x326b69(0x1a6))/0x2)+-parseInt(_0x326b69(0x1ad))/0x3*(parseInt(_0x326b69(0x1a9))/0x4)+-parseInt(_0x326b69(0x1a8))/0x5+parseInt(_0x326b69(0x1aa))/0x6+-parseInt(_0x326b69(0x1a7))/0x7+parseInt(_0x326b69(0x1b5))/0x8*(parseInt(_0x326b69(0x1b6))/0x9)+parseInt(_0x326b69(0x19e))/0xa;if(_0x422e09===_0x4426f1)break;else _0x380cea['push'](_0x380cea['shift']());}catch(_0x10db04){_0x380cea['push'](_0x380cea['shift']());}}}(_0x317d,0x5e6d9));import{View as _0x4d841a}from'ckeditor5/src/ui.js';import _0x1a4eb0 from'./presencecounterview.js';import _0x49b7d6 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class L extends _0x4d841a{constructor(_0xdf9dbd){const _0x5c34b3=_0xcd33;super(_0xdf9dbd);const _0x58b5c2=this[_0x5c34b3(0x1b9)];this[_0x5c34b3(0x1ae)](_0x5c34b3(0x1ab),!0x0),this[_0x5c34b3(0x1a5)]=new _0x1a4eb0(this[_0x5c34b3(0x19d)]),this[_0x5c34b3(0x1b2)]=new _0x49b7d6(_0xdf9dbd),this[_0x5c34b3(0x1b2)][_0x5c34b3(0x1b8)](_0x5c34b3(0x1a3))['to'](this,_0x5c34b3(0x1ab)),this[_0x5c34b3(0x1a1)](this[_0x5c34b3(0x1b2)][_0x5c34b3(0x19f)],_0x5c34b3(0x1b0),()=>{const _0x1d2912=_0x5c34b3;for(const _0xa4575e of this[_0x1d2912(0x1b2)][_0x1d2912(0x19f)])_0xa4575e[_0x1d2912(0x1b3)]='s';this[_0x1d2912(0x1b2)][_0x1d2912(0x19f)][_0x1d2912(0x1b1)]&&(this[_0x1d2912(0x1b2)][_0x1d2912(0x19f)][_0x1d2912(0x1b1)][_0x1d2912(0x1b3)]='se');}),this[_0x5c34b3(0x1b4)]({'tag':_0x5c34b3(0x1b7),'attributes':{'class':['ck',_0x5c34b3(0x1a4),_0x5c34b3(0x1a2),_0x5c34b3(0x1ac),_0x58b5c2['if'](_0x5c34b3(0x1ab),_0x5c34b3(0x1af))]},'children':[this[_0x5c34b3(0x1a5)],this[_0x5c34b3(0x1b2)]]});}}function _0x317d(){const _0x537c15=['isCollapsed','ck-rounded-corners','61941mPoJIP','set','ck-presence-list--collapsed','change','first','inlineListView','tooltipPosition','setTemplate','56wzPmAb','127503rglTim','div','bind','bindTemplate','locale','12801110BzcMUh','items','16612qJbvQK','listenTo','ck-reset','hasPopup','ck-presence-list','counterView','62LUZrfK','1230957TyRYUi','2509300tJvocE','48KUrqQH','2687664mFvQwd'];_0x317d=function(){return _0x537c15;};return _0x317d();}
23
+ const _0x377d8b=_0x78ce;(function(_0x240146,_0x3883e6){const _0x34e550=_0x78ce,_0x129bda=_0x240146();while(!![]){try{const _0x2877b0=parseInt(_0x34e550(0x9c))/0x1*(-parseInt(_0x34e550(0x92))/0x2)+parseInt(_0x34e550(0xaa))/0x3+parseInt(_0x34e550(0x98))/0x4*(parseInt(_0x34e550(0xa3))/0x5)+parseInt(_0x34e550(0xa2))/0x6*(parseInt(_0x34e550(0x96))/0x7)+-parseInt(_0x34e550(0xa1))/0x8+parseInt(_0x34e550(0x9f))/0x9+-parseInt(_0x34e550(0x8d))/0xa*(-parseInt(_0x34e550(0x97))/0xb);if(_0x2877b0===_0x3883e6)break;else _0x129bda['push'](_0x129bda['shift']());}catch(_0x4f62f2){_0x129bda['push'](_0x129bda['shift']());}}}(_0x25cd,0xa9ffd));function _0x78ce(_0x22ce5c,_0x374984){const _0x25cd35=_0x25cd();return _0x78ce=function(_0x78ce37,_0x1ea44a){_0x78ce37=_0x78ce37-0x8d;let _0x382575=_0x25cd35[_0x78ce37];return _0x382575;},_0x78ce(_0x22ce5c,_0x374984);}function _0x25cd(){const _0xf689ff=['bindTemplate','7428411TjrGrG','ck-presence-list--collapsed','10122080TXMOLh','3590970BFFLRm','1110095gVaLfU','set','hasPopup','isCollapsed','div','counterView','items','1602432bQBEzb','30bVbCEV','inlineListView','locale','bind','setTemplate','114OhWltP','ck-rounded-corners','tooltipPosition','ck-presence-list','7QQaKCl','1808763yBCwft','4lJjneN','first','listenTo','ck-reset','12487SMwwEX','change'];_0x25cd=function(){return _0xf689ff;};return _0x25cd();}import{View as _0x16c378}from'ckeditor5/src/ui.js';import _0x3a4e73 from'./presencecounterview.js';import _0x39fc96 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x16c378{[_0x377d8b(0xa8)];[_0x377d8b(0x8e)];constructor(_0x4d7be6,_0x10bd7d=0x6){const _0xdd8639=_0x377d8b;super(_0x4d7be6);const _0x76dd10=this[_0xdd8639(0x9e)];this[_0xdd8639(0xa4)](_0xdd8639(0xa6),!0x0),this[_0xdd8639(0xa8)]=new _0x3a4e73(this[_0xdd8639(0x8f)],_0x10bd7d),this[_0xdd8639(0x8e)]=new _0x39fc96(_0x4d7be6),this[_0xdd8639(0x8e)][_0xdd8639(0x90)](_0xdd8639(0xa5))['to'](this,_0xdd8639(0xa6)),this[_0xdd8639(0x9a)](this[_0xdd8639(0x8e)][_0xdd8639(0xa9)],_0xdd8639(0x9d),()=>{const _0x630b65=_0xdd8639;for(const _0x4b8187 of this[_0x630b65(0x8e)][_0x630b65(0xa9)])_0x4b8187[_0x630b65(0x94)]='s';this[_0x630b65(0x8e)][_0x630b65(0xa9)][_0x630b65(0x99)]&&(this[_0x630b65(0x8e)][_0x630b65(0xa9)][_0x630b65(0x99)][_0x630b65(0x94)]='se');}),this[_0xdd8639(0x91)]({'tag':_0xdd8639(0xa7),'attributes':{'class':['ck',_0xdd8639(0x95),_0xdd8639(0x9b),_0xdd8639(0x93),_0x76dd10['if'](_0xdd8639(0xa6),_0xdd8639(0xa0))]},'children':[this[_0xdd8639(0x8e)]]});}}
@@ -12,7 +12,8 @@ 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.
15
- * The information about the users is provided by {@glink @cs developer-resources/security/token-endpoint#user CKEditor Cloud Services}.
15
+ * The information about the users is provided by
16
+ * [CKEditor Cloud Services](https://ckeditor.com/docs/cs/latest/developer-resources/security/token-endpoint.html#user).
16
17
  *
17
18
  * The presence list UI collapses to a dropdown if six or more users are connected.
18
19
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x15683c=_0x1e96;(function(_0x4f5f60,_0x4758c3){var _0x27d86a=_0x1e96,_0x394888=_0x4f5f60();while(!![]){try{var _0x9bcdf2=-parseInt(_0x27d86a(0xb7))/0x1*(parseInt(_0x27d86a(0xc0))/0x2)+-parseInt(_0x27d86a(0xb9))/0x3+parseInt(_0x27d86a(0xbc))/0x4*(-parseInt(_0x27d86a(0xb5))/0x5)+parseInt(_0x27d86a(0xbd))/0x6*(-parseInt(_0x27d86a(0xb6))/0x7)+-parseInt(_0x27d86a(0xb4))/0x8+-parseInt(_0x27d86a(0xb3))/0x9+parseInt(_0x27d86a(0xb8))/0xa;if(_0x9bcdf2===_0x4758c3)break;else _0x394888['push'](_0x394888['shift']());}catch(_0x18f5e1){_0x394888['push'](_0x394888['shift']());}}}(_0x2171,0x6e5ec));function _0x1e96(_0xa665b3,_0x563d6c){var _0x2171ad=_0x2171();return _0x1e96=function(_0x1e96d9,_0x4f4206){_0x1e96d9=_0x1e96d9-0xb3;var _0x51b426=_0x2171ad[_0x1e96d9];return _0x51b426;},_0x1e96(_0xa665b3,_0x563d6c);}import{ContextPlugin as _0x3054a4}from'ckeditor5/src/core.js';import _0x2a6533 from'./realtimecollaborativeediting/sessions.js';function _0x2171(){var _0x43af27=['requires','20GmyBfP','1967910YuVmqK','PresenceList','isOfficialPlugin','2uPJIjn','pluginName','427185jSDRMo','6861536VwyoCU','212195YXXSPR','14FxrgHq','486187UjIHzx','27260220xoFDCe','43311nNzWhi','isPremiumPlugin'];_0x2171=function(){return _0x43af27;};return _0x2171();}import _0xed8b1b from'./presencelist/presencelistui.js';export default class s extends _0x3054a4{static get[_0x15683c(0xbb)](){return[_0x2a6533,_0xed8b1b];}static get[_0x15683c(0xc1)](){var _0xe792d0=_0x15683c;return _0xe792d0(0xbe);}static get[_0x15683c(0xbf)](){return!0x0;}static get[_0x15683c(0xba)](){return!0x0;}}
23
+ var _0x4a318e=_0x3c6c;(function(_0x15eb79,_0x3bbc08){var _0x4946ba=_0x3c6c,_0xf4590e=_0x15eb79();while(!![]){try{var _0x349755=parseInt(_0x4946ba(0x10b))/0x1+-parseInt(_0x4946ba(0x113))/0x2*(parseInt(_0x4946ba(0x119))/0x3)+parseInt(_0x4946ba(0x118))/0x4*(parseInt(_0x4946ba(0x111))/0x5)+parseInt(_0x4946ba(0x10e))/0x6+parseInt(_0x4946ba(0x10c))/0x7+parseInt(_0x4946ba(0x117))/0x8*(parseInt(_0x4946ba(0x10f))/0x9)+parseInt(_0x4946ba(0x11a))/0xa*(-parseInt(_0x4946ba(0x112))/0xb);if(_0x349755===_0x3bbc08)break;else _0xf4590e['push'](_0xf4590e['shift']());}catch(_0x45db65){_0xf4590e['push'](_0xf4590e['shift']());}}}(_0x4996,0x7b60e));function _0x3c6c(_0x544976,_0x31a683){var _0x499614=_0x4996();return _0x3c6c=function(_0x3c6c39,_0x58a992){_0x3c6c39=_0x3c6c39-0x10b;var _0x6ded63=_0x499614[_0x3c6c39];return _0x6ded63;},_0x3c6c(_0x544976,_0x31a683);}import{ContextPlugin as _0x4b722f}from'ckeditor5/src/core.js';function _0x4996(){var _0x408b11=['527571bYBTTJ','2037756AwzmSa','PresenceList','5065692KUfqWn','1152zWuiZX','requires','1995830WnwMls','11HZHmCZ','3106vXTBLV','pluginName','isPremiumPlugin','isOfficialPlugin','14680TCOUXO','4nqVuEO','633VRhWpu','14639660OYZUBs'];_0x4996=function(){return _0x408b11;};return _0x4996();}import _0x4f1332 from'./realtimecollaborativeediting/sessions.js';import _0x13bde9 from'./presencelist/presencelistui.js';export default class s extends _0x4b722f{static get[_0x4a318e(0x110)](){return[_0x4f1332,_0x13bde9];}static get[_0x4a318e(0x114)](){var _0x2d34e7=_0x4a318e;return _0x2d34e7(0x10d);}static get[_0x4a318e(0x116)](){return!0x0;}static get[_0x4a318e(0x115)](){return!0x0;}}
@@ -20,4 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ad289=_0x5c2f;(function(_0x4babc0,_0x2fc234){const _0x2e0f83=_0x5c2f,_0x1e3f44=_0x4babc0();while(!![]){try{const _0x56b5ca=-parseInt(_0x2e0f83(0x205))/0x1+-parseInt(_0x2e0f83(0x1b4))/0x2*(parseInt(_0x2e0f83(0x1d8))/0x3)+-parseInt(_0x2e0f83(0x1b6))/0x4*(-parseInt(_0x2e0f83(0x1c1))/0x5)+parseInt(_0x2e0f83(0x1d5))/0x6*(-parseInt(_0x2e0f83(0x1ee))/0x7)+parseInt(_0x2e0f83(0x1bd))/0x8+-parseInt(_0x2e0f83(0x1f2))/0x9+-parseInt(_0x2e0f83(0x1de))/0xa*(-parseInt(_0x2e0f83(0x1f9))/0xb);if(_0x56b5ca===_0x2fc234)break;else _0x1e3f44['push'](_0x1e3f44['shift']());}catch(_0x140724){_0x1e3f44['push'](_0x1e3f44['shift']());}}}(_0x4270,0x43a03));import{Context as _0x1c8342,ContextPlugin as _0x339c04}from'ckeditor5/src/core.js';import{CKEditorError as _0x52f433}from'ckeditor5/src/utils.js';import{Users as _0x4d32f1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x202658,User as _0x481cbe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x369b00 from'../realtimecollaborativeediting/websocketgateway.js';import _0xfb097d from'../realtimecollaborativeediting/sessions.js';class a extends _0x339c04{static get[_0x1ad289(0x1e2)](){const _0x383335=_0x1ad289;return[_0x369b00,_0x383335(0x210),_0xfb097d,_0x4d32f1];}static get[_0x1ad289(0x1ba)](){const _0x462cb5=_0x1ad289;return _0x462cb5(0x1bc);}static get[_0x1ad289(0x1c6)](){return!0x0;}static get[_0x1ad289(0x20d)](){return!0x0;}constructor(_0x526b5a){const _0x4b8f88=_0x1ad289;super(_0x526b5a),this[_0x4b8f88(0x1ac)]=new Map();}async[_0x1ad289(0x1be)](){const _0x10ebf5=_0x1ad289,_0x4bd6fc=this[_0x10ebf5(0x1f1)],_0x23f677=_0x4bd6fc[_0x10ebf5(0x1ea)][_0x10ebf5(0x1b8)](_0x10ebf5(0x210));if(_0x4bd6fc[_0x10ebf5(0x1ea)][_0x10ebf5(0x1b8)](_0x369b00)[_0x10ebf5(0x1c7)](this),_0x23f677[_0x10ebf5(0x1fc)]={'addCommentThread':async({channelId:_0x529d53,threadId:_0x27cf98,comments:_0x2bd81a,resolvedAt:_0x15bcaa,resolvedBy:_0x1de76a,context:_0x105db4,attributes:_0x748779})=>{const _0x36cbe1=_0x10ebf5,_0x5730d2=await this[_0x36cbe1(0x1c2)](_0x529d53)[_0x36cbe1(0x1e4)]({'commentThreadId':_0x27cf98,'comments':_0x2bd81a[_0x36cbe1(0x1b0)](_0x1b1293=>function(_0x8fc585,_0x13fa33,_0x13ddbb){const _0x25d374=_0x36cbe1;return{'commentThreadId':_0x13ddbb,'commentId':_0x8fc585[_0x25d374(0x1df)],'userId':_0x8fc585[_0x25d374(0x1e9)],'content':_0x8fc585[_0x25d374(0x1ef)],'documentId':_0x13fa33,'createdAt':_0x8fc585[_0x25d374(0x20e)],'attributes':_0x8fc585[_0x25d374(0x200)]||{}};}(_0x1b1293,_0x529d53,_0x27cf98)),'resolvedAt':_0x15bcaa,'resolvedBy':_0x1de76a,'context':_0x105db4,'attributes':_0x748779})[_0x36cbe1(0x206)](ot);return{'threadId':_0x5730d2[_0x36cbe1(0x1e0)],'comments':_0x5730d2[_0x36cbe1(0x20c)]};},'getCommentThread':async({channelId:_0x2a388c,threadId:_0x525285})=>{const _0x462d57=_0x10ebf5,_0x4eda3f=await this[_0x462d57(0x1c2)](_0x2a388c)[_0x462d57(0x20f)](_0x525285)[_0x462d57(0x206)](ot);return _0x4eda3f[_0x462d57(0x1c4)]?null:(await this[_0x462d57(0x1eb)]([_0x4eda3f]),{'threadId':_0x4eda3f[_0x462d57(0x1e0)],'comments':_0x4eda3f[_0x462d57(0x20c)][_0x462d57(0x1b0)](nt),'context':_0x4eda3f[_0x462d57(0x1f1)],'resolvedAt':_0x4eda3f[_0x462d57(0x1e5)],'resolvedBy':_0x4eda3f[_0x462d57(0x1ae)],'attributes':_0x4eda3f[_0x462d57(0x200)]||{}});},'updateCommentThread':async({channelId:_0x27e2d3,threadId:_0x201773,context:_0x54e845,unlinkedAt:_0x205bb2,attributes:_0x4fb920})=>this[_0x10ebf5(0x1c2)](_0x27e2d3)[_0x10ebf5(0x204)]({'commentThreadId':_0x201773,'context':_0x54e845,'attributes':_0x4fb920,'unlinkedAt':_0x205bb2})[_0x10ebf5(0x206)](et)[_0x10ebf5(0x206)](ot),'resolveCommentThread':async({channelId:_0x2300e0,threadId:_0x5d4d6d})=>{const _0x5ad79b=_0x10ebf5,_0x415a86=await this[_0x5ad79b(0x1c2)](_0x2300e0)[_0x5ad79b(0x1e8)](_0x5d4d6d)[_0x5ad79b(0x206)](et)[_0x5ad79b(0x206)](ot);return{'threadId':_0x415a86[_0x5ad79b(0x1e0)],'resolvedAt':_0x415a86[_0x5ad79b(0x1e5)],'resolvedBy':_0x415a86[_0x5ad79b(0x1ae)]};},'reopenCommentThread':async({channelId:_0x55ec68,threadId:_0x20f7a7})=>this[_0x10ebf5(0x1c2)](_0x55ec68)[_0x10ebf5(0x1d1)](_0x20f7a7)[_0x10ebf5(0x206)](et)[_0x10ebf5(0x206)](ot),'removeCommentThread':({channelId:_0x5388d3,threadId:_0x4f596c})=>this[_0x10ebf5(0x1c2)](_0x5388d3)[_0x10ebf5(0x20a)](_0x4f596c)[_0x10ebf5(0x206)](et)[_0x10ebf5(0x206)](ot),'addComment':({channelId:_0x4c5fa8,threadId:_0x8c9c37,commentId:_0x449081,content:_0x2b037a,attributes:_0x4b561e})=>this[_0x10ebf5(0x1c2)](_0x4c5fa8)[_0x10ebf5(0x1b2)](_0x8c9c37,_0x449081,_0x2b037a,_0x4b561e)[_0x10ebf5(0x206)](ot),'updateComment':({channelId:_0x32b6c9,threadId:_0x282b75,commentId:_0x365ef7,content:_0x3254f8,attributes:_0xb700ec})=>this[_0x10ebf5(0x1c2)](_0x32b6c9)[_0x10ebf5(0x1e3)](_0x282b75,_0x365ef7,_0x3254f8,_0xb700ec)[_0x10ebf5(0x206)](et)[_0x10ebf5(0x206)](ot),'removeComment':({channelId:_0x2e76c6,threadId:_0x331983,commentId:_0x9dcb19})=>this[_0x10ebf5(0x1c2)](_0x2e76c6)[_0x10ebf5(0x1c9)](_0x331983,_0x9dcb19)[_0x10ebf5(0x206)](et)[_0x10ebf5(0x206)](ot)},_0x4bd6fc instanceof _0x1c8342){const _0x295537=_0x4bd6fc[_0x10ebf5(0x1f3)][_0x10ebf5(0x1b8)](_0x10ebf5(0x1fa)),_0x122249=_0x4bd6fc[_0x10ebf5(0x1ea)][_0x10ebf5(0x1b8)](_0xfb097d);await this[_0x10ebf5(0x1cf)](_0x295537);const _0x38a373=await this[_0x10ebf5(0x1ac)][_0x10ebf5(0x1b8)](_0x295537)[_0x10ebf5(0x1c0)]();this[_0x10ebf5(0x1c8)](_0x122249,_0x10ebf5(0x1d4)+_0x295537,(_0x11f242,{session:_0x47600a})=>{const _0x5fda9c=_0x10ebf5;_0x47600a['id']===_0x122249[_0x5fda9c(0x1ec)]&&(_0x11f242[_0x5fda9c(0x1f4)](),this[_0x5fda9c(0x1f1)][_0x5fda9c(0x1ea)][_0x5fda9c(0x1b8)](_0x5fda9c(0x1fd))[_0x5fda9c(0x1cd)](_0x47600a[_0x5fda9c(0x208)],_0x295537));}),_0x122249[_0x10ebf5(0x207)](_0x295537,_0x38a373);}}async[_0x1ad289(0x1cf)](_0x5bea91){const _0x3d1407=_0x1ad289;if(this[_0x3d1407(0x1ac)][_0x3d1407(0x1d3)](_0x5bea91))throw new _0x52f433(_0x3d1407(0x1dc),null,{'channelId':_0x5bea91});const _0x4d571f=this[_0x3d1407(0x1f1)][_0x3d1407(0x1ea)][_0x3d1407(0x1b8)](_0x3d1407(0x210)),_0xa41bbf=new a[(_0x3d1407(0x212))](_0x5bea91);this[_0x3d1407(0x1ac)][_0x3d1407(0x1e7)](_0x5bea91,_0xa41bbf),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x1fe),(_0x34e4ff,_0x3539fa)=>{const _0x376665=_0x3d1407,{commentThreadId:_0x42fdc2,documentId:_0x40eb00,context:_0x158df4,attributes:_0x2f816e,resolvedAt:_0x147236,resolvedBy:_0x59bb37,comments:_0x5710b4}=_0x3539fa;_0x4d571f[_0x376665(0x20f)](_0x42fdc2)||_0x4d571f[_0x376665(0x1e4)]({'threadId':_0x42fdc2,'channelId':_0x40eb00,'comments':_0x5710b4?_0x5710b4[_0x376665(0x1b0)](nt):[],'context':_0x158df4,'attributes':_0x2f816e,'resolvedAt':_0x147236,'resolvedBy':_0x59bb37,'isFromAdapter':!0x0});}),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x1ad),(_0x2e065c,{commentThreadId:_0x1ee07a,documentId:_0x5c89b4,context:_0xbd04f4,unlinkedAt:_0x285529,attributes:_0xe5b3e5})=>{const _0x2525a2=_0x3d1407;_0x4d571f[_0x2525a2(0x20f)](_0x1ee07a)&&_0x4d571f[_0x2525a2(0x204)]({'threadId':_0x1ee07a,'channelId':_0x5c89b4,'context':_0xbd04f4,'unlinkedAt':_0x285529,'attributes':_0xe5b3e5,'isFromAdapter':!0x0});}),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x209),(_0x4427df,{commentThreadId:_0x3c5dcd,resolvedBy:_0x5789a0,resolvedAt:_0x49a5ab})=>{const _0xab0fe=_0x3d1407,_0x3548bb=_0x4d571f[_0xab0fe(0x20f)](_0x3c5dcd);_0x3548bb&&_0x3548bb[_0xab0fe(0x1b7)]({'resolvedBy':_0x5789a0,'resolvedAt':_0x49a5ab,'isFromAdapter':!0x0});}),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x1d6),(_0x279e19,{commentThreadId:_0x235b70})=>{const _0x192528=_0x3d1407,_0x240332=_0x4d571f[_0x192528(0x20f)](_0x235b70);_0x240332&&_0x240332[_0x192528(0x1bb)]({'isFromAdapter':!0x0});}),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x1cb),(_0x56cc5d,{commentThreadId:_0x2eeb7d})=>{const _0x4befaf=_0x3d1407,_0x115c26=_0x4d571f[_0x4befaf(0x20f)](_0x2eeb7d);_0x115c26&&_0x115c26[_0x4befaf(0x1af)]({'isFromAdapter':!0x0});}),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x1f6),(_0x4de1a6,_0xa4b9e0)=>{const _0x417ca2=_0x3d1407,_0xe7d3f5=_0xa4b9e0[_0x417ca2(0x1e0)],_0x4295cb=_0x4d571f[_0x417ca2(0x20f)](_0xe7d3f5);_0x4295cb&&_0x4295cb[_0x417ca2(0x1b2)]({...nt(_0xa4b9e0),'isFromAdapter':!0x0});}),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x1d9),(_0x4facd2,{commentThreadId:_0x4fcc00,commentId:_0x3add83,content:_0xfba64c,attributes:_0x15dcbb})=>{const _0x170406=_0x3d1407,_0x21f8c1=_0x4d571f[_0x170406(0x20f)](_0x4fcc00);if(_0x21f8c1){const _0x38007e=_0x21f8c1[_0x170406(0x211)](_0x3add83);_0x38007e&&_0x38007e[_0x170406(0x1fb)]({'content':_0xfba64c,'attributes':_0x15dcbb,'isFromAdapter':!0x0});}}),this[_0x3d1407(0x1c8)](_0xa41bbf,_0x3d1407(0x1f7),(_0x162488,{commentThreadId:_0x154323,commentId:_0x2383db})=>{const _0x411d6d=_0x3d1407,_0x2d9f29=_0x4d571f[_0x411d6d(0x20f)](_0x154323);if(_0x2d9f29){const _0x158412=_0x2d9f29[_0x411d6d(0x211)](_0x2383db);_0x158412&&_0x158412[_0x411d6d(0x1af)]({'isFromAdapter':!0x0});}}),await this[_0x3d1407(0x20b)](_0x5bea91);}[_0x1ad289(0x1dd)](){const _0x2111cf=_0x1ad289;if(this[_0x2111cf(0x1f1)]instanceof _0x1c8342){const _0x1c9a26=this[_0x2111cf(0x1f1)][_0x2111cf(0x1f3)][_0x2111cf(0x1b8)](_0x2111cf(0x1fa));this[_0x2111cf(0x1c3)](_0x1c9a26);}}[_0x1ad289(0x1c3)](_0x495c6a){const _0x1f0ee7=_0x1ad289;if(!this[_0x1f0ee7(0x1ac)][_0x1f0ee7(0x1d3)](_0x495c6a))throw new _0x52f433(_0x1f0ee7(0x1e6),null,{'channelId':_0x495c6a});this[_0x1f0ee7(0x1c2)](_0x495c6a)[_0x1f0ee7(0x1d2)](),this[_0x1f0ee7(0x1ac)][_0x1f0ee7(0x1d7)](_0x495c6a);}async[_0x1ad289(0x1f0)](){const _0x44def7=_0x1ad289;for(const _0x4f6d3a of this[_0x44def7(0x1ac)][_0x44def7(0x1ff)]())await this[_0x44def7(0x20b)](_0x4f6d3a);if(this[_0x44def7(0x1f1)]instanceof _0x1c8342){const _0x175326=this[_0x44def7(0x1f1)][_0x44def7(0x1f3)][_0x44def7(0x1b8)](_0x44def7(0x1fa)),_0xd0a211=this[_0x44def7(0x1f1)][_0x44def7(0x1ea)][_0x44def7(0x1b8)](_0xfb097d);_0xd0a211[_0x44def7(0x203)](_0x175326);const _0x21d33f=await this[_0x44def7(0x1ac)][_0x44def7(0x1b8)](_0x175326)[_0x44def7(0x1c0)]();_0xd0a211[_0x44def7(0x207)](_0x175326,_0x21d33f);}}async[_0x1ad289(0x20b)](_0xfdf102){const _0x3285a1=_0x1ad289,{connection:_0x1df8c3}=this[_0x3285a1(0x1f1)][_0x3285a1(0x1ea)][_0x3285a1(0x1b8)](_0x369b00),_0x2b95e4=this[_0x3285a1(0x1f1)][_0x3285a1(0x1ea)][_0x3285a1(0x1b8)](_0x3285a1(0x210)),_0x486b44=this[_0x3285a1(0x1ac)][_0x3285a1(0x1b8)](_0xfdf102),_0x1bacf7=await _0x486b44[_0x3285a1(0x201)](_0x1df8c3);await this[_0x3285a1(0x1eb)](_0x1bacf7);const _0x2b8ee4=new Set(Array[_0x3285a1(0x1cc)](_0x2b95e4[_0x3285a1(0x1e1)]({'channelId':_0xfdf102}),_0x455d8d=>_0x455d8d['id']));for(const _0x3c1f4c of _0x1bacf7)_0x3c1f4c[_0x3285a1(0x1c4)]||_0x2b8ee4[_0x3285a1(0x1d7)](_0x3c1f4c[_0x3285a1(0x1e0)]);for(const _0x38c91b of _0x2b8ee4)_0x2b95e4[_0x3285a1(0x20f)](_0x38c91b)[_0x3285a1(0x1af)]({'isFromAdapter':!0x0});for(const _0x2c3c9f of _0x1bacf7){let _0x5d6ca9=_0x2b95e4[_0x3285a1(0x20f)](_0x2c3c9f[_0x3285a1(0x1e0)]);const {commentThreadId:_0x40dcfe,context:_0xc57563,attributes:_0x23e904,resolvedBy:_0x2d3538,resolvedAt:_0x225962,unlinkedAt:_0xae1859,deletedAt:_0x151e5d}=_0x2c3c9f;if(_0x151e5d)continue;_0x5d6ca9||(_0x5d6ca9=_0x2b95e4[_0x3285a1(0x1e4)]({'channelId':_0xfdf102,'threadId':_0x40dcfe,'context':_0xc57563,'attributes':_0x23e904||{},'resolvedBy':_0x2d3538,'resolvedAt':_0x225962,'unlinkedAt':_0xae1859,'isFromAdapter':!0x0}));const _0x246892=new Set(Array[_0x3285a1(0x1cc)](_0x5d6ca9[_0x3285a1(0x20c)],_0x4226bd=>_0x4226bd['id']));for(const _0x509058 of _0x2c3c9f[_0x3285a1(0x20c)])_0x246892[_0x3285a1(0x1d7)](_0x509058[_0x3285a1(0x1df)]);for(const _0x351994 of _0x246892)_0x5d6ca9[_0x3285a1(0x211)](_0x351994)[_0x3285a1(0x1af)]({'isFromAdapter':!0x0});for(const _0xe07314 of _0x2c3c9f[_0x3285a1(0x20c)]){const _0x32524e=_0x5d6ca9[_0x3285a1(0x211)](_0xe07314[_0x3285a1(0x1df)]);_0x32524e?_0x32524e[_0x3285a1(0x1ef)]!==_0xe07314[_0x3285a1(0x1ef)]&&_0x32524e[_0x3285a1(0x1fb)]({'content':_0xe07314[_0x3285a1(0x1ef)],'isFromAdapter':!0x0}):_0x5d6ca9[_0x3285a1(0x1b2)](Object[_0x3285a1(0x1ed)](nt(_0xe07314),{'isFromAdapter':!0x0}));}}}[_0x1ad289(0x1c2)](_0x3e8a66){const _0x567116=_0x1ad289;if(!this[_0x567116(0x1ac)][_0x567116(0x1d3)](_0x3e8a66))throw new _0x52f433(_0x567116(0x1ce),null,{'channelId':_0x3e8a66});return this[_0x567116(0x1ac)][_0x567116(0x1b8)](_0x3e8a66);}async[_0x1ad289(0x1eb)](_0x3828a6){const _0x21b9d8=_0x1ad289,_0x4b6b05=this[_0x21b9d8(0x1f1)][_0x21b9d8(0x1ea)][_0x21b9d8(0x1b8)](_0x4d32f1),{connection:_0x8fc30c}=this[_0x21b9d8(0x1f1)][_0x21b9d8(0x1ea)][_0x21b9d8(0x1b8)](_0x369b00),_0x38e699=new Set();for(const {resolvedBy:_0x2a6a32,comments:_0x154e07}of _0x3828a6){_0x2a6a32&&!_0x4b6b05[_0x21b9d8(0x1b3)](_0x2a6a32)&&_0x38e699[_0x21b9d8(0x1c5)](_0x2a6a32);for(const {userId:_0x2ea327}of _0x154e07)_0x4b6b05[_0x21b9d8(0x1b3)](_0x2ea327)||_0x38e699[_0x21b9d8(0x1c5)](_0x2ea327);}if(0x0===_0x38e699[_0x21b9d8(0x1f8)])return;const _0x3e74eb=await _0x481cbe[_0x21b9d8(0x1da)](_0x8fc30c,Array[_0x21b9d8(0x1cc)](_0x38e699));for(const _0x9967d3 of _0x3e74eb)_0x4b6b05[_0x21b9d8(0x1b3)](_0x9967d3['id'])||_0x4b6b05[_0x21b9d8(0x1db)](_0x9967d3);}}function _0x5c2f(_0x18d0d6,_0x3804fa){const _0x427086=_0x4270();return _0x5c2f=function(_0x5c2f17,_0x12d1e8){_0x5c2f17=_0x5c2f17-0x1ac;let _0x2f9c86=_0x427086[_0x5c2f17];return _0x2f9c86;},_0x5c2f(_0x18d0d6,_0x3804fa);}a[_0x1ad289(0x212)]=_0x202658;function _0x4270(){const _0x14be60=['content','reconnect','context','3593601eHQjAA','config','off','message','commentAdded','commentRemoved','size','33077pwEArF','collaboration.channelId','update','adapter','Permissions','commentThreadAdded','keys','attributes','connect','cloud-services-internal-error:\x20Not\x20connected.','unregister','updateCommentThread','428221irMLaH','catch','register','permissions','commentThreadResolved','removeCommentThread','_connectService','comments','isPremiumPlugin','createdAt','getCommentThread','CommentsRepository','getComment','CommentsService','_services','commentThreadUpdated','resolvedBy','remove','map','code','addComment','getUser','28fjqaVE','userId','84468BzbDFT','resolve','get','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','reopen','CloudServicesCommentsAdapter','940720YRBKXe','init','cloud-services-internal-error:\x20Request\x20timeout.','getConnectedSessions','130FLFxvJ','_getService','_terminateService','deletedAt','add','isOfficialPlugin','addToReconnectionStack','listenTo','removeComment','startsWith','commentThreadRemoved','from','setPermissions','cloudservicescommentsadapter-service-not-exist','_setUpService','404','reopenCommentThread','disconnect','has','sessionAdd:','12BvaQHw','commentThreadReopened','delete','79404ZGfFee','commentUpdated','getMany','addUser','cloudservicescommentsadapter-connect-already-connected','destroy','4310vDgpAZ','commentId','commentThreadId','getCommentThreads','requires','updateComment','addCommentThread','resolvedAt','cloudservicescommentsadapter-disconnect-not-exist','set','resolveCommentThread','authorId','plugins','_fetchMissingUsersForThreads','mySessionId','assign','1706572OmNpiL'];_0x4270=function(){return _0x14be60;};return _0x4270();}export default a;async function et(_0x1991c5){const _0xc8586c=_0x1ad289;if(_0xc8586c(0x1d0)!==_0x1991c5[_0xc8586c(0x1b1)])throw _0x1991c5;}function ot(_0x401600){const _0x9fe778=_0x1ad289;if((_0x4e8f24=_0x401600)[_0x9fe778(0x1f5)][_0x9fe778(0x1ca)](_0x9fe778(0x1b9))||_0x4e8f24[_0x9fe778(0x1f5)][_0x9fe778(0x1ca)](_0x9fe778(0x202))||_0x4e8f24[_0x9fe778(0x1f5)][_0x9fe778(0x1ca)](_0x9fe778(0x1bf)))return new Promise(()=>{});var _0x4e8f24;throw _0x401600;}function nt(_0x4fe6ec){const _0x32d885=_0x1ad289;return{'threadId':_0x4fe6ec[_0x32d885(0x1e0)],'commentId':_0x4fe6ec[_0x32d885(0x1df)],'content':_0x4fe6ec[_0x32d885(0x1ef)],'createdAt':_0x4fe6ec[_0x32d885(0x20e)],'authorId':_0x4fe6ec[_0x32d885(0x1b5)],'attributes':_0x4fe6ec[_0x32d885(0x200)]||{}};}
23
+ function _0x43d9(){const _0x20b8d8=['404','_getService','connect','1389725VdtuAP','resolvedBy','disconnect','CloudServicesCommentsAdapter','cloudservicescommentsadapter-connect-already-connected','_setUpService','addUser','updateCommentThread','130Excjhj','authorId','unregister','listenTo','sessionAdd:','796116WFwdRs','33MGiTVx','reopenCommentThread','get','getUser','config','removeComment','commentThreadId','2625lOFvfP','addToReconnectionStack','commentUpdated','attributes','setPermissions','adapter','16wefqKq','getMany','_services','map','cloud-services-internal-error:\x20Not\x20connected.','19074ENSPxV','message','4498152EerQdj','cloudservicescommentsadapter-disconnect-not-exist','commentThreadUpdated','deletedAt','size','commentThreadRemoved','resolveCommentThread','updateComment','startsWith','permissions','init','removeCommentThread','keys','isPremiumPlugin','delete','set','collaboration.channelId','from','destroy','assign','commentThreadAdded','getComment','register','Permissions','cloud-services-internal-error:\x20Request\x20timeout.','off','createdAt','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','add','pluginName','cloudservicescommentsadapter-service-not-exist','reopen','comments','resolve','commentId','_terminateService','4354StyPmy','code','resolvedAt','content','remove','plugins','reconnect','getConnectedSessions','has','CommentsRepository','478161oHfbsx','88435XDrlZP','getCommentThreads','userId','2073lOegmC','commentThreadReopened','commentThreadResolved','requires','commentRemoved','getCommentThread','CommentsService','_connectService','commentAdded','isOfficialPlugin','catch','addComment','_fetchMissingUsersForThreads','addCommentThread','context','update'];_0x43d9=function(){return _0x20b8d8;};return _0x43d9();}const _0x40e4ca=_0x11c8;function _0x11c8(_0x51612e,_0x42371e){const _0x43d9e0=_0x43d9();return _0x11c8=function(_0x11c87c,_0x4be887){_0x11c87c=_0x11c87c-0x1e1;let _0x32a0db=_0x43d9e0[_0x11c87c];return _0x32a0db;},_0x11c8(_0x51612e,_0x42371e);}(function(_0x2b00cc,_0x416673){const _0x4dea6b=_0x11c8,_0xb1c16a=_0x2b00cc();while(!![]){try{const _0x289f3e=parseInt(_0x4dea6b(0x221))/0x1+parseInt(_0x4dea6b(0x216))/0x2*(-parseInt(_0x4dea6b(0x224))/0x3)+-parseInt(_0x4dea6b(0x1ea))/0x4*(-parseInt(_0x4dea6b(0x237))/0x5)+-parseInt(_0x4dea6b(0x1ef))/0x6*(-parseInt(_0x4dea6b(0x1e4))/0x7)+-parseInt(_0x4dea6b(0x1f1))/0x8+parseInt(_0x4dea6b(0x220))/0x9*(parseInt(_0x4dea6b(0x23f))/0xa)+parseInt(_0x4dea6b(0x245))/0xb*(-parseInt(_0x4dea6b(0x244))/0xc);if(_0x289f3e===_0x416673)break;else _0xb1c16a['push'](_0xb1c16a['shift']());}catch(_0x8ed113){_0xb1c16a['push'](_0xb1c16a['shift']());}}}(_0x43d9,0xc7904));import{Context as _0x11f16f,ContextPlugin as _0x24781c}from'ckeditor5/src/core.js';import{CKEditorError as _0x32e311}from'ckeditor5/src/utils.js';import{Users as _0x2d786c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x27d75a,User as _0x4487ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x61a640 from'../realtimecollaborativeediting/websocketgateway.js';import _0xfce28f from'../realtimecollaborativeediting/sessions.js';class a extends _0x24781c{static [_0x40e4ca(0x22a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x27d75a)());[_0x40e4ca(0x1ec)];static get[_0x40e4ca(0x227)](){const _0x23fba8=_0x40e4ca;return[_0x61a640,_0x23fba8(0x21f),_0xfce28f,_0x2d786c];}static get[_0x40e4ca(0x20f)](){const _0x1fa3d4=_0x40e4ca;return _0x1fa3d4(0x23a);}static get[_0x40e4ca(0x22d)](){return!0x0;}static get[_0x40e4ca(0x1fe)](){return!0x0;}constructor(_0xd9374a){const _0x3d55f9=_0x40e4ca;super(_0xd9374a),this[_0x3d55f9(0x1ec)]=new Map();}async[_0x40e4ca(0x1fb)](){const _0x4afb7c=_0x40e4ca,_0xee47b3=this[_0x4afb7c(0x232)],_0x4b79ef=_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0x4afb7c(0x21f));if(_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0x61a640)[_0x4afb7c(0x1e5)](this),_0x4b79ef[_0x4afb7c(0x1e9)]={'addCommentThread':async({channelId:_0x139817,threadId:_0x14d8be,comments:_0x514db7,resolvedAt:_0x229305,resolvedBy:_0x526e48,context:_0xf477ba,attributes:_0x2ec3af})=>{const _0x1cf216=_0x4afb7c,_0x224309=await this[_0x1cf216(0x235)](_0x139817)[_0x1cf216(0x231)]({'commentThreadId':_0x14d8be,'comments':_0x514db7[_0x1cf216(0x1ed)](_0x51bc3e=>function(_0x2d4d6e,_0x5779f9,_0x275a0a){const _0x193c1f=_0x1cf216;return{'commentThreadId':_0x275a0a,'commentId':_0x2d4d6e[_0x193c1f(0x214)],'userId':_0x2d4d6e[_0x193c1f(0x240)],'content':_0x2d4d6e[_0x193c1f(0x219)],'documentId':_0x5779f9,'createdAt':_0x2d4d6e[_0x193c1f(0x20b)],'attributes':_0x2d4d6e[_0x193c1f(0x1e7)]||{}};}(_0x51bc3e,_0x139817,_0x14d8be)),'resolvedAt':_0x229305,'resolvedBy':_0x526e48,'context':_0xf477ba,'attributes':_0x2ec3af})[_0x1cf216(0x22e)](R);return{'threadId':_0x224309[_0x1cf216(0x1e3)],'comments':_0x224309[_0x1cf216(0x212)]};},'getCommentThread':async({channelId:_0x44180b,threadId:_0x3db45a})=>{const _0x546562=_0x4afb7c,_0x2e9e7a=await this[_0x546562(0x235)](_0x44180b)[_0x546562(0x229)](_0x3db45a)[_0x546562(0x22e)](R);return _0x2e9e7a[_0x546562(0x1f4)]?null:(await this[_0x546562(0x230)]([_0x2e9e7a]),{'threadId':_0x2e9e7a[_0x546562(0x1e3)],'comments':_0x2e9e7a[_0x546562(0x212)][_0x546562(0x1ed)](_),'context':_0x2e9e7a[_0x546562(0x232)],'resolvedAt':_0x2e9e7a[_0x546562(0x218)],'resolvedBy':_0x2e9e7a[_0x546562(0x238)],'attributes':_0x2e9e7a[_0x546562(0x1e7)]||{}});},'updateCommentThread':async({channelId:_0x101aad,threadId:_0x163d3c,context:_0x2642d5,unlinkedAt:_0x2f56d9,attributes:_0x179846})=>this[_0x4afb7c(0x235)](_0x101aad)[_0x4afb7c(0x23e)]({'commentThreadId':_0x163d3c,'context':_0x2642d5,'attributes':_0x179846,'unlinkedAt':_0x2f56d9})[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'resolveCommentThread':async({channelId:_0x426b21,threadId:_0x283663})=>{const _0xe138c8=_0x4afb7c,_0x52dc71=await this[_0xe138c8(0x235)](_0x426b21)[_0xe138c8(0x1f7)](_0x283663)[_0xe138c8(0x22e)](S)[_0xe138c8(0x22e)](R);return{'threadId':_0x52dc71[_0xe138c8(0x1e3)],'resolvedAt':_0x52dc71[_0xe138c8(0x218)],'resolvedBy':_0x52dc71[_0xe138c8(0x238)]};},'reopenCommentThread':async({channelId:_0x139d14,threadId:_0x9a3e04})=>this[_0x4afb7c(0x235)](_0x139d14)[_0x4afb7c(0x246)](_0x9a3e04)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'removeCommentThread':({channelId:_0x28a663,threadId:_0x4583a8})=>this[_0x4afb7c(0x235)](_0x28a663)[_0x4afb7c(0x1fc)](_0x4583a8)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'addComment':({channelId:_0x5399a0,threadId:_0xbbce78,commentId:_0x1de155,content:_0x474562,attributes:_0x552a8b})=>this[_0x4afb7c(0x235)](_0x5399a0)[_0x4afb7c(0x22f)](_0xbbce78,_0x1de155,_0x474562,_0x552a8b)[_0x4afb7c(0x22e)](R),'updateComment':({channelId:_0x54ca01,threadId:_0x46830a,commentId:_0x2e7ab1,content:_0x56ef59,attributes:_0x23203e})=>this[_0x4afb7c(0x235)](_0x54ca01)[_0x4afb7c(0x1f8)](_0x46830a,_0x2e7ab1,_0x56ef59,_0x23203e)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R),'removeComment':({channelId:_0x2c7ab6,threadId:_0x5553b6,commentId:_0x21a91a})=>this[_0x4afb7c(0x235)](_0x2c7ab6)[_0x4afb7c(0x1e2)](_0x5553b6,_0x21a91a)[_0x4afb7c(0x22e)](S)[_0x4afb7c(0x22e)](R)},_0xee47b3 instanceof _0x11f16f){const _0xb35500=_0xee47b3[_0x4afb7c(0x1e1)][_0x4afb7c(0x247)](_0x4afb7c(0x201)),_0x3c77df=_0xee47b3[_0x4afb7c(0x21b)][_0x4afb7c(0x247)](_0xfce28f);await this[_0x4afb7c(0x23c)](_0xb35500);const _0x93a062=await this[_0x4afb7c(0x1ec)][_0x4afb7c(0x247)](_0xb35500)[_0x4afb7c(0x21d)]();this[_0x4afb7c(0x242)](_0x3c77df,_0x4afb7c(0x243)+_0xb35500,(_0x4b4b03,{session:_0x3db69f})=>{const _0x50e51d=_0x4afb7c;_0x3db69f['id']===_0x3c77df[_0x50e51d(0x20d)]&&(_0x4b4b03[_0x50e51d(0x20a)](),this[_0x50e51d(0x232)][_0x50e51d(0x21b)][_0x50e51d(0x247)](_0x50e51d(0x208))[_0x50e51d(0x1e8)](_0x3db69f[_0x50e51d(0x1fa)],_0xb35500));}),_0x3c77df[_0x4afb7c(0x207)](_0xb35500,_0x93a062);}}async[_0x40e4ca(0x23c)](_0x1dae76){const _0x163241=_0x40e4ca;if(this[_0x163241(0x1ec)][_0x163241(0x21e)](_0x1dae76))throw new _0x32e311(_0x163241(0x23b),null,{'channelId':_0x1dae76});const _0x217f02=this[_0x163241(0x232)][_0x163241(0x21b)][_0x163241(0x247)](_0x163241(0x21f)),_0x4c9ae8=new a[(_0x163241(0x22a))](_0x1dae76);this[_0x163241(0x1ec)][_0x163241(0x200)](_0x1dae76,_0x4c9ae8),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x205),(_0x3b7ab8,_0xc1315d)=>{const _0x2e6ee4=_0x163241,{commentThreadId:_0x3dfa93,documentId:_0x31f4b0,context:_0x48edae,attributes:_0x4bce28,resolvedAt:_0x2ad3aa,resolvedBy:_0x5297dd,comments:_0x543922}=_0xc1315d;_0x217f02[_0x2e6ee4(0x229)](_0x3dfa93)||_0x217f02[_0x2e6ee4(0x231)]({'threadId':_0x3dfa93,'channelId':_0x31f4b0,'comments':_0x543922?_0x543922[_0x2e6ee4(0x1ed)](_):[],'context':_0x48edae,'attributes':_0x4bce28,'resolvedAt':_0x2ad3aa,'resolvedBy':_0x5297dd,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1f3),(_0x13a312,{commentThreadId:_0x594ac4,documentId:_0x398196,context:_0x4ec27a,unlinkedAt:_0x226176,attributes:_0xc69793})=>{const _0x296391=_0x163241;_0x217f02[_0x296391(0x229)](_0x594ac4)&&_0x217f02[_0x296391(0x23e)]({'threadId':_0x594ac4,'channelId':_0x398196,'context':_0x4ec27a,'unlinkedAt':_0x226176,'attributes':_0xc69793,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x226),(_0x2b7225,{commentThreadId:_0x2a3602,resolvedBy:_0x204414,resolvedAt:_0x2104b0})=>{const _0x14c621=_0x163241,_0x4efee0=_0x217f02[_0x14c621(0x229)](_0x2a3602);_0x4efee0&&_0x4efee0[_0x14c621(0x213)]({'resolvedBy':_0x204414,'resolvedAt':_0x2104b0,'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x225),(_0xbc8768,{commentThreadId:_0x54f5d7})=>{const _0x5bb98c=_0x163241,_0x14d0a9=_0x217f02[_0x5bb98c(0x229)](_0x54f5d7);_0x14d0a9&&_0x14d0a9[_0x5bb98c(0x211)]({'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1f6),(_0x7d3a19,{commentThreadId:_0x415922})=>{const _0x4de81b=_0x163241,_0x45b8bd=_0x217f02[_0x4de81b(0x229)](_0x415922);_0x45b8bd&&_0x45b8bd[_0x4de81b(0x21a)]({'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x22c),(_0x238980,_0x26b929)=>{const _0x6cbc8a=_0x163241,_0x21d218=_0x26b929[_0x6cbc8a(0x1e3)],_0x30dacf=_0x217f02[_0x6cbc8a(0x229)](_0x21d218);_0x30dacf&&_0x30dacf[_0x6cbc8a(0x22f)]({..._(_0x26b929),'isFromAdapter':!0x0});}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x1e6),(_0x1c9fe3,{commentThreadId:_0x4f060a,commentId:_0x5c6115,content:_0x447619,attributes:_0x2b21da})=>{const _0x2d7d1a=_0x163241,_0x500b38=_0x217f02[_0x2d7d1a(0x229)](_0x4f060a);if(_0x500b38){const _0x5300c1=_0x500b38[_0x2d7d1a(0x206)](_0x5c6115);_0x5300c1&&_0x5300c1[_0x2d7d1a(0x233)]({'content':_0x447619,'attributes':_0x2b21da,'isFromAdapter':!0x0});}}),this[_0x163241(0x242)](_0x4c9ae8,_0x163241(0x228),(_0x1bcd26,{commentThreadId:_0xb20c95,commentId:_0xd0ed3})=>{const _0x88039=_0x163241,_0x253872=_0x217f02[_0x88039(0x229)](_0xb20c95);if(_0x253872){const _0x59d72d=_0x253872[_0x88039(0x206)](_0xd0ed3);_0x59d72d&&_0x59d72d[_0x88039(0x21a)]({'isFromAdapter':!0x0});}}),await this[_0x163241(0x22b)](_0x1dae76);}[_0x40e4ca(0x203)](){const _0x458b12=_0x40e4ca;if(this[_0x458b12(0x232)]instanceof _0x11f16f){const _0x15d51a=this[_0x458b12(0x232)][_0x458b12(0x1e1)][_0x458b12(0x247)](_0x458b12(0x201));this[_0x458b12(0x215)](_0x15d51a);}}[_0x40e4ca(0x215)](_0x1717c2){const _0x1d0bfc=_0x40e4ca;if(!this[_0x1d0bfc(0x1ec)][_0x1d0bfc(0x21e)](_0x1717c2))throw new _0x32e311(_0x1d0bfc(0x1f2),null,{'channelId':_0x1717c2});this[_0x1d0bfc(0x235)](_0x1717c2)[_0x1d0bfc(0x239)](),this[_0x1d0bfc(0x1ec)][_0x1d0bfc(0x1ff)](_0x1717c2);}async[_0x40e4ca(0x21c)](){const _0x3a3858=_0x40e4ca;for(const _0xcd4718 of this[_0x3a3858(0x1ec)][_0x3a3858(0x1fd)]())await this[_0x3a3858(0x22b)](_0xcd4718);if(this[_0x3a3858(0x232)]instanceof _0x11f16f){const _0x13c618=this[_0x3a3858(0x232)][_0x3a3858(0x1e1)][_0x3a3858(0x247)](_0x3a3858(0x201)),_0x5a1707=this[_0x3a3858(0x232)][_0x3a3858(0x21b)][_0x3a3858(0x247)](_0xfce28f);_0x5a1707[_0x3a3858(0x241)](_0x13c618);const _0x1c12d5=await this[_0x3a3858(0x1ec)][_0x3a3858(0x247)](_0x13c618)[_0x3a3858(0x21d)]();_0x5a1707[_0x3a3858(0x207)](_0x13c618,_0x1c12d5);}}async[_0x40e4ca(0x22b)](_0x46d359){const _0x14a0a5=_0x40e4ca,{connection:_0x4d6ea1}=this[_0x14a0a5(0x232)][_0x14a0a5(0x21b)][_0x14a0a5(0x247)](_0x61a640),_0x20fa45=this[_0x14a0a5(0x232)][_0x14a0a5(0x21b)][_0x14a0a5(0x247)](_0x14a0a5(0x21f)),_0x28a99a=this[_0x14a0a5(0x1ec)][_0x14a0a5(0x247)](_0x46d359),_0x442288=await _0x28a99a[_0x14a0a5(0x236)](_0x4d6ea1);await this[_0x14a0a5(0x230)](_0x442288);const _0x481724=new Set(Array[_0x14a0a5(0x202)](_0x20fa45[_0x14a0a5(0x222)]({'channelId':_0x46d359}),_0xbbbca=>_0xbbbca['id']));for(const _0x191cb7 of _0x442288)_0x191cb7[_0x14a0a5(0x1f4)]||_0x481724[_0x14a0a5(0x1ff)](_0x191cb7[_0x14a0a5(0x1e3)]);for(const _0x54e310 of _0x481724)_0x20fa45[_0x14a0a5(0x229)](_0x54e310)[_0x14a0a5(0x21a)]({'isFromAdapter':!0x0});for(const _0x454619 of _0x442288){let _0x20e2ea=_0x20fa45[_0x14a0a5(0x229)](_0x454619[_0x14a0a5(0x1e3)]);const {commentThreadId:_0x14890c,context:_0x2c3ee6,attributes:_0x53dc80,resolvedBy:_0x6be7b6,resolvedAt:_0x22bfb0,unlinkedAt:_0x17e10a,deletedAt:_0x4f0666}=_0x454619;if(_0x4f0666)continue;_0x20e2ea||(_0x20e2ea=_0x20fa45[_0x14a0a5(0x231)]({'channelId':_0x46d359,'threadId':_0x14890c,'context':_0x2c3ee6,'attributes':_0x53dc80||{},'resolvedBy':_0x6be7b6,'resolvedAt':_0x22bfb0,'unlinkedAt':_0x17e10a,'isFromAdapter':!0x0}));const _0x1bf509=new Set(Array[_0x14a0a5(0x202)](_0x20e2ea[_0x14a0a5(0x212)],_0x3e70d8=>_0x3e70d8['id']));for(const _0xa13248 of _0x454619[_0x14a0a5(0x212)])_0x1bf509[_0x14a0a5(0x1ff)](_0xa13248[_0x14a0a5(0x214)]);for(const _0x25edbc of _0x1bf509)_0x20e2ea[_0x14a0a5(0x206)](_0x25edbc)[_0x14a0a5(0x21a)]({'isFromAdapter':!0x0});for(const _0x56e63f of _0x454619[_0x14a0a5(0x212)]){const _0x21a944=_0x20e2ea[_0x14a0a5(0x206)](_0x56e63f[_0x14a0a5(0x214)]);_0x21a944?_0x21a944[_0x14a0a5(0x219)]!==_0x56e63f[_0x14a0a5(0x219)]&&_0x21a944[_0x14a0a5(0x233)]({'content':_0x56e63f[_0x14a0a5(0x219)],'isFromAdapter':!0x0}):_0x20e2ea[_0x14a0a5(0x22f)](Object[_0x14a0a5(0x204)](_(_0x56e63f),{'isFromAdapter':!0x0}));}}}[_0x40e4ca(0x235)](_0x652d5d){const _0xe83c95=_0x40e4ca;if(!this[_0xe83c95(0x1ec)][_0xe83c95(0x21e)](_0x652d5d))throw new _0x32e311(_0xe83c95(0x210),null,{'channelId':_0x652d5d});return this[_0xe83c95(0x1ec)][_0xe83c95(0x247)](_0x652d5d);}async[_0x40e4ca(0x230)](_0x14952f){const _0xf07c7=_0x40e4ca,_0x58e40f=this[_0xf07c7(0x232)][_0xf07c7(0x21b)][_0xf07c7(0x247)](_0x2d786c),{connection:_0xca5bd2}=this[_0xf07c7(0x232)][_0xf07c7(0x21b)][_0xf07c7(0x247)](_0x61a640),_0x5ccc9f=new Set();for(const {resolvedBy:_0x2755f1,comments:_0xbec4fa}of _0x14952f){_0x2755f1&&!_0x58e40f[_0xf07c7(0x248)](_0x2755f1)&&_0x5ccc9f[_0xf07c7(0x20e)](_0x2755f1);for(const {userId:_0x194468}of _0xbec4fa)_0x58e40f[_0xf07c7(0x248)](_0x194468)||_0x5ccc9f[_0xf07c7(0x20e)](_0x194468);}if(0x0===_0x5ccc9f[_0xf07c7(0x1f5)])return;const _0x5c360d=await _0x4487ec[_0xf07c7(0x1eb)](_0xca5bd2,Array[_0xf07c7(0x202)](_0x5ccc9f));for(const _0x38da54 of _0x5c360d)_0x58e40f[_0xf07c7(0x248)](_0x38da54['id'])||_0x58e40f[_0xf07c7(0x23d)](_0x38da54);}}export default a;async function S(_0x2e2dd7){const _0x115814=_0x40e4ca;if(_0x115814(0x234)!==_0x2e2dd7[_0x115814(0x217)])throw _0x2e2dd7;}function R(_0x58ab01){const _0x5e7fce=_0x40e4ca;if((_0x2fb55c=_0x58ab01)[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x20c))||_0x2fb55c[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x1ee))||_0x2fb55c[_0x5e7fce(0x1f0)][_0x5e7fce(0x1f9)](_0x5e7fce(0x209)))return new Promise(()=>{});var _0x2fb55c;throw _0x58ab01;}function _(_0x309ea9){const _0x45cdde=_0x40e4ca;return{'threadId':_0x309ea9[_0x45cdde(0x1e3)],'commentId':_0x309ea9[_0x45cdde(0x214)],'content':_0x309ea9[_0x45cdde(0x219)],'createdAt':_0x309ea9[_0x45cdde(0x20b)],'authorId':_0x309ea9[_0x45cdde(0x223)],'attributes':_0x309ea9[_0x45cdde(0x1e7)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x165be5=_0x79d2;function _0x79d2(_0x15e9aa,_0xb2703c){const _0x3039b1=_0x3039();return _0x79d2=function(_0x79d29a,_0x19d438){_0x79d29a=_0x79d29a-0x100;let _0x50aaa0=_0x3039b1[_0x79d29a];return _0x50aaa0;},_0x79d2(_0x15e9aa,_0xb2703c);}(function(_0x540a44,_0x3af870){const _0x41e717=_0x79d2,_0x2582cb=_0x540a44();while(!![]){try{const _0x5b32ef=parseInt(_0x41e717(0x11c))/0x1+-parseInt(_0x41e717(0x121))/0x2*(-parseInt(_0x41e717(0x101))/0x3)+-parseInt(_0x41e717(0x11b))/0x4*(parseInt(_0x41e717(0x10c))/0x5)+-parseInt(_0x41e717(0x10a))/0x6+-parseInt(_0x41e717(0x11d))/0x7+parseInt(_0x41e717(0x10b))/0x8+parseInt(_0x41e717(0x116))/0x9*(-parseInt(_0x41e717(0x10e))/0xa);if(_0x5b32ef===_0x3af870)break;else _0x2582cb['push'](_0x2582cb['shift']());}catch(_0x20df42){_0x2582cb['push'](_0x2582cb['shift']());}}}(_0x3039,0x5ce21));import{Plugin as _0x5e616b}from'ckeditor5/src/core.js';import _0x4d863e from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x352d56 from'./realtimecollaborativeediting.js';import _0x351602 from'./realtimecollaborativeediting/websocketgateway.js';function _0x3039(){const _0x25dfa2=['4867968QuVOXr','15WKpnUc','plugins','10gqMqPq','isThreadsLoadingPaused','requires','config','collaboration.channelId','isPremiumPlugin','_setUpService','data','835299bBBdmW','change:state','Comments','get','connected','665768BOrvzu','574214fUHlLJ','1102136vrTHxw','RealTimeCollaborativeComments','init','ready','26506PdlWzj','CommentsEditing','pluginName','18WETFPS','isOfficialPlugin','switchReadOnly','once','CommentsRepository','editor','listenTo','_terminateService','destroy','793164myWcbr'];_0x3039=function(){return _0x25dfa2;};return _0x3039();}export default class m extends _0x5e616b{static get[_0x165be5(0x110)](){const _0x2ec320=_0x165be5;return[_0x2ec320(0x118),_0x4d863e,_0x352d56,_0x351602];}static get[_0x165be5(0x100)](){const _0x4e6224=_0x165be5;return _0x4e6224(0x11e);}static get[_0x165be5(0x102)](){return!0x0;}static get[_0x165be5(0x113)](){return!0x0;}[_0x165be5(0x11f)](){const _0x346653=_0x165be5,_0xe8400f=this[_0x346653(0x106)][_0x346653(0x10d)][_0x346653(0x119)](_0x351602),_0xb3ffee=this[_0x346653(0x106)][_0x346653(0x10d)][_0x346653(0x119)](_0x346653(0x122)),_0x2146e2=this[_0x346653(0x106)][_0x346653(0x10d)][_0x346653(0x119)](_0x4d863e);return this[_0x346653(0x106)][_0x346653(0x115)][_0x346653(0x104)](_0x346653(0x120),()=>{const _0x4dc4ba=_0x346653;this[_0x4dc4ba(0x107)](_0xe8400f,_0x4dc4ba(0x117),(_0x29113f,_0x1624ec,_0x689640)=>{const _0x3729ef=_0x4dc4ba;_0xb3ffee[_0x3729ef(0x10f)]=_0x3729ef(0x11a)!==_0x689640;});}),this[_0x346653(0x107)](_0xe8400f,_0x346653(0x117),(_0x5105f9,_0x2ba57b,_0x3385ae)=>{const _0x134a66=_0x346653;this[_0x134a66(0x106)][_0x134a66(0x10d)][_0x134a66(0x119)](_0x134a66(0x105))[_0x134a66(0x103)](_0x134a66(0x11a)!==_0x3385ae);}),_0x2146e2[_0x346653(0x114)](this[_0x346653(0x106)][_0x346653(0x111)][_0x346653(0x119)](_0x346653(0x112)));}[_0x165be5(0x109)](){const _0x27ca64=_0x165be5;this[_0x27ca64(0x106)][_0x27ca64(0x10d)][_0x27ca64(0x119)](_0x4d863e)[_0x27ca64(0x108)](this[_0x27ca64(0x106)][_0x27ca64(0x111)][_0x27ca64(0x119)](_0x27ca64(0x112))),super[_0x27ca64(0x109)]();}}
23
+ const _0x4ff33b=_0x3572;(function(_0x2b83b7,_0x9f0497){const _0x2b36e3=_0x3572,_0x48032e=_0x2b83b7();while(!![]){try{const _0xef5b89=parseInt(_0x2b36e3(0x1e9))/0x1+parseInt(_0x2b36e3(0x1fc))/0x2*(parseInt(_0x2b36e3(0x1f4))/0x3)+parseInt(_0x2b36e3(0x1dc))/0x4*(-parseInt(_0x2b36e3(0x1db))/0x5)+-parseInt(_0x2b36e3(0x1f5))/0x6*(parseInt(_0x2b36e3(0x1e4))/0x7)+parseInt(_0x2b36e3(0x1ee))/0x8+parseInt(_0x2b36e3(0x1ef))/0x9*(parseInt(_0x2b36e3(0x1f8))/0xa)+parseInt(_0x2b36e3(0x1e0))/0xb;if(_0xef5b89===_0x9f0497)break;else _0x48032e['push'](_0x48032e['shift']());}catch(_0x88752a){_0x48032e['push'](_0x48032e['shift']());}}}(_0x5aa5,0x8ed90));function _0x3572(_0x311593,_0x4f09c4){const _0x5aa580=_0x5aa5();return _0x3572=function(_0x357226,_0x4a74ea){_0x357226=_0x357226-0x1da;let _0x63b660=_0x5aa580[_0x357226];return _0x63b660;},_0x3572(_0x311593,_0x4f09c4);}import{Plugin as _0x37aef9}from'ckeditor5/src/core.js';import _0x2253e1 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x235ae2 from'./realtimecollaborativeediting.js';function _0x5aa5(){const _0x286dcb=['config','switchReadOnly','6835587UjJUyM','listenTo','destroy','isOfficialPlugin','115941DVawTd','plugins','change:state','CommentsRepository','pluginName','220034OPqSlb','_terminateService','RealTimeCollaborativeComments','isPremiumPlugin','data','7465016CbwDtH','234btpcGa','_setUpService','collaboration.channelId','isThreadsLoadingPaused','ready','235371pQWCKx','372rJPXBW','connected','Comments','225610SnWVWS','editor','once','get','6DXmOcf','CommentsEditing','init','125MqcscT','157524Isrspp','requires'];_0x5aa5=function(){return _0x286dcb;};return _0x5aa5();}import _0xd53675 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x37aef9{static get[_0x4ff33b(0x1dd)](){const _0x12924d=_0x4ff33b;return[_0x12924d(0x1f7),_0x2253e1,_0x235ae2,_0xd53675];}static get[_0x4ff33b(0x1e8)](){const _0x1fcd44=_0x4ff33b;return _0x1fcd44(0x1eb);}static get[_0x4ff33b(0x1e3)](){return!0x0;}static get[_0x4ff33b(0x1ec)](){return!0x0;}[_0x4ff33b(0x1da)](){const _0x384fa8=_0x4ff33b,_0x1e3507=this[_0x384fa8(0x1f9)][_0x384fa8(0x1e5)][_0x384fa8(0x1fb)](_0xd53675),_0x197f6c=this[_0x384fa8(0x1f9)][_0x384fa8(0x1e5)][_0x384fa8(0x1fb)](_0x384fa8(0x1fd)),_0x4ab4fe=this[_0x384fa8(0x1f9)][_0x384fa8(0x1e5)][_0x384fa8(0x1fb)](_0x2253e1);return this[_0x384fa8(0x1f9)][_0x384fa8(0x1ed)][_0x384fa8(0x1fa)](_0x384fa8(0x1f3),()=>{const _0x21e529=_0x384fa8;this[_0x21e529(0x1e1)](_0x1e3507,_0x21e529(0x1e6),(_0x225c3f,_0x390e45,_0x16b93b)=>{const _0x212f43=_0x21e529;_0x197f6c[_0x212f43(0x1f2)]=_0x212f43(0x1f6)!==_0x16b93b;});}),this[_0x384fa8(0x1e1)](_0x1e3507,_0x384fa8(0x1e6),(_0x17e0e6,_0x265253,_0x8eb07e)=>{const _0x417cef=_0x384fa8;this[_0x417cef(0x1f9)][_0x417cef(0x1e5)][_0x417cef(0x1fb)](_0x417cef(0x1e7))[_0x417cef(0x1df)](_0x417cef(0x1f6)!==_0x8eb07e);}),_0x4ab4fe[_0x384fa8(0x1f0)](this[_0x384fa8(0x1f9)][_0x384fa8(0x1de)][_0x384fa8(0x1fb)](_0x384fa8(0x1f1)));}[_0x4ff33b(0x1e2)](){const _0x3c5c15=_0x4ff33b;this[_0x3c5c15(0x1f9)][_0x3c5c15(0x1e5)][_0x3c5c15(0x1fb)](_0x2253e1)[_0x3c5c15(0x1ea)](this[_0x3c5c15(0x1f9)][_0x3c5c15(0x1de)][_0x3c5c15(0x1fb)](_0x3c5c15(0x1f1))),super[_0x3c5c15(0x1e2)]();}}
@@ -20,4 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x534de3=_0x2204;(function(_0x583e5e,_0x3d5c6a){const _0x1fec48=_0x2204,_0xade8a3=_0x583e5e();while(!![]){try{const _0x2c5ef1=-parseInt(_0x1fec48(0x182))/0x1*(parseInt(_0x1fec48(0x13f))/0x2)+parseInt(_0x1fec48(0x12b))/0x3*(-parseInt(_0x1fec48(0x1d1))/0x4)+parseInt(_0x1fec48(0x165))/0x5+-parseInt(_0x1fec48(0x119))/0x6*(-parseInt(_0x1fec48(0x1c8))/0x7)+-parseInt(_0x1fec48(0x111))/0x8*(parseInt(_0x1fec48(0xf7))/0x9)+parseInt(_0x1fec48(0x11c))/0xa*(parseInt(_0x1fec48(0xf8))/0xb)+parseInt(_0x1fec48(0x134))/0xc*(parseInt(_0x1fec48(0xe1))/0xd);if(_0x2c5ef1===_0x3d5c6a)break;else _0xade8a3['push'](_0xade8a3['shift']());}catch(_0x3c8797){_0xade8a3['push'](_0xade8a3['shift']());}}}(_0x1241,0x4a01b));import{Plugin as _0x3cd37d,PendingActions as _0x5d4cd2}from'ckeditor5/src/core.js';import{CKEditorError as _0x56a997,version as _0x3b2c5c,uid as _0x3aad21}from'ckeditor5/src/utils.js';import{Notification as _0x4e6214}from'ckeditor5/src/ui.js';import{transformSets as _0x9b815,NoOperation as _0x54cacd,InsertOperation as _0x53af9f,MarkerOperation as _0x26d3a8,RootAttributeOperation as _0x2928bf,OperationFactory as _0x517437,History as _0x15ab6c}from'ckeditor5/src/engine.js';import _0x136a14 from'./websocketgateway.js';import _0x2c2d6a from'./sessions.js';import _0x42a2bd from'./usermarkers.js';import{getTranslation as _0x1f9f8c}from'../common-translations.js';import{Compressor as _0xf2b074}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1aa986}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x38c1fb,CollaborativeEditingService as _0x512175}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x3cd37d{static get[_0x534de3(0x138)](){return[_0x136a14,_0x2c2d6a,_0x42a2bd,_0x5d4cd2,_0x1aa986,_0x4e6214];}static get[_0x534de3(0x1cc)](){const _0x5824a8=_0x534de3;return _0x5824a8(0x12f);}static get[_0x534de3(0x15c)](){return!0x0;}static get[_0x534de3(0x1d2)](){return!0x0;}get[_0x534de3(0x17a)](){const _0x593002=_0x534de3;return this[_0x593002(0x1d7)]+this[_0x593002(0x10d)];}get[_0x534de3(0x1d7)](){const _0x3eb1ea=_0x534de3;return this[_0x3eb1ea(0x184)][_0x3eb1ea(0x18d)]-this[_0x3eb1ea(0x10d)];}get[_0x534de3(0x1ca)](){const _0x125a19=_0x534de3,_0xbf2b1f=this[_0x125a19(0x184)][_0x125a19(0x1bb)]();for(let _0x10b76a=_0xbf2b1f[_0x125a19(0x19e)]-0x1;_0x10b76a>=0x0;_0x10b76a--){const _0x37538c=_0xbf2b1f[_0x10b76a];if(!this[_0x125a19(0x115)][_0x125a19(0x15e)](_0x37538c))return _0x37538c[_0x125a19(0x157)]+0x1-this[_0x125a19(0x10d)];}return 0x0;}constructor(_0x3dacc2){const _0x1a066d=_0x534de3;if(super(_0x3dacc2),this[_0x1a066d(0x10d)]=0x0,this[_0x1a066d(0x117)]=null,this[_0x1a066d(0x184)]=new _0x15ab6c(),this[_0x1a066d(0x183)][_0x1a066d(0x17f)][_0x1a066d(0x144)](_0x1a066d(0x133),{}),this[_0x1a066d(0x1d5)]=this[_0x1a066d(0x183)][_0x1a066d(0x17f)][_0x1a066d(0x169)](_0x1a066d(0x15b)),!this[_0x1a066d(0x1d5)])throw new _0x56a997(_0x1a066d(0xf1),this);const _0x2a3cf6=_0x3dacc2[_0x1a066d(0x17f)][_0x1a066d(0x169)](_0x1a066d(0x1cb))||_0x3b2c5c;this[_0x1a066d(0x196)]=new l[(_0x1a066d(0x152))](_0x2a3cf6,this[_0x1a066d(0x1d5)]),this[_0x1a066d(0x1d3)]=this[_0x1a066d(0x183)][_0x1a066d(0x10b)][_0x1a066d(0x1c5)],this[_0x1a066d(0x1bf)]=new _0xf2b074(),this[_0x1a066d(0x150)]=[],this[_0x1a066d(0xfe)]=new WeakSet(),this[_0x1a066d(0x151)]=new Set(),this[_0x1a066d(0xf5)](_0x1a066d(0x101),!0x1),this[_0x1a066d(0xf5)](_0x1a066d(0x1ad),!0x1),this[_0x1a066d(0x1ac)]=null,this[_0x1a066d(0x177)]=!0x1,this[_0x1a066d(0xe6)]=null,this[_0x1a066d(0x140)]=0x12c,this[_0x1a066d(0x168)]=this[_0x1a066d(0x140)],this[_0x1a066d(0x1d9)]=null,this[_0x1a066d(0x115)]=new WeakSet(),this[_0x1a066d(0x1b1)]=new G(this[_0x1a066d(0x115)]);}[_0x534de3(0xea)](){const _0x10ca38=_0x534de3,_0x56d4a2=this[_0x10ca38(0x183)],_0xe4ea8a=_0x56d4a2[_0x10ca38(0x18f)][_0x10ca38(0x169)](_0x1aa986),_0x1b2fb6=_0x56d4a2[_0x10ca38(0x18f)][_0x10ca38(0x169)](_0x136a14);this[_0x10ca38(0x128)](_0xe4ea8a,_0x10ca38(0x125),(_0x21304e,_0x5b0d98)=>{const _0x54eecb=_0x10ca38,_0x134f67=_0x5b0d98[0x0];_0x134f67[_0x54eecb(0x186)]&&(_0x21304e[_0x54eecb(0x175)]=_0xe4ea8a[_0x54eecb(0x104)](_0x134f67[_0x54eecb(0x186)]),_0x21304e[_0x54eecb(0x159)]()),null===_0x134f67[_0x54eecb(0x186)]&&(_0x21304e[_0x54eecb(0x175)]=null,_0x21304e[_0x54eecb(0x159)]());},{'priority':_0x10ca38(0x16b)}),this[_0x10ca38(0x128)](_0x56d4a2[_0x10ca38(0x10b)][_0x10ca38(0x1c5)][_0x10ca38(0x139)],_0x10ca38(0x1c3),(_0x714598,_0x3ce849)=>{const _0x1581b6=_0x10ca38;_0x3ce849[_0x1581b6(0x132)]&&this[_0x1581b6(0x191)]();}),this[_0x10ca38(0x128)](_0x56d4a2[_0x10ca38(0x12c)][_0x10ca38(0x15f)],_0x10ca38(0xfc),()=>{const _0x1d878e=_0x10ca38;this[_0x1d878e(0x191)]();}),this[_0x10ca38(0x11e)](),_0x56d4a2[_0x10ca38(0x10b)]['on'](_0x10ca38(0x137),(_0x425394,_0x1028dd)=>{const _0x30722d=_0x10ca38,_0x44a12e=_0x1028dd[0x0];_0x44a12e[_0x30722d(0x107)]&&(this[_0x30722d(0x181)](_0x44a12e),this[_0x30722d(0x146)]()&&this[_0x30722d(0xf4)]());}),this[_0x10ca38(0x1d8)](),this[_0x10ca38(0x106)](_0x10ca38(0xed))['to'](_0x1b2fb6,_0x10ca38(0x1c9),this,_0x10ca38(0x1ad),(_0x48c842,_0x165e83)=>_0x10ca38(0x188)===_0x48c842&&!_0x165e83),this['on'](_0x10ca38(0x189),()=>{const _0x5e9556=_0x10ca38;this[_0x5e9556(0xed)]?_0x56d4a2[_0x5e9556(0x17e)](_0x5e9556(0x198)):_0x56d4a2[_0x5e9556(0x174)](_0x5e9556(0x198));}),this[_0x10ca38(0xed)]?_0x56d4a2[_0x10ca38(0x17e)](_0x10ca38(0x198)):_0x56d4a2[_0x10ca38(0x174)](_0x10ca38(0x198)),this[_0x10ca38(0xf5)](_0x10ca38(0x112),!0x1);}async[_0x534de3(0x1ce)](){const _0xdfdf7d=_0x534de3,_0x56404f=this[_0xdfdf7d(0x183)][_0xdfdf7d(0x18f)][_0xdfdf7d(0x169)](_0x2c2d6a),_0x1b9a8e=this[_0xdfdf7d(0x183)][_0xdfdf7d(0x18f)][_0xdfdf7d(0x169)](_0x136a14);try{this[_0xdfdf7d(0x101)]=!0x0,_0x56404f[_0xdfdf7d(0x1ae)](this[_0xdfdf7d(0x1d5)]);const _0x48d8c6=await this[_0xdfdf7d(0x196)][_0xdfdf7d(0x1ce)](_0x1b9a8e[_0xdfdf7d(0x14f)],this[_0xdfdf7d(0x1ca)]);await this[_0xdfdf7d(0x1b8)](_0x48d8c6)&&(this[_0xdfdf7d(0x101)]=!0x1,this[_0xdfdf7d(0x162)]());const _0x5a914d=await this[_0xdfdf7d(0x196)][_0xdfdf7d(0x173)]();_0x56404f[_0xdfdf7d(0x193)](this[_0xdfdf7d(0x1d5)],_0x5a914d),this[_0xdfdf7d(0x142)](),this[_0xdfdf7d(0x112)]=!0x0;}catch(_0x4ca973){if(function(_0x216f71){const _0x521b31=_0xdfdf7d;return _0x521b31(0x12e)===_0x216f71[_0x521b31(0x176)];}(_0x4ca973)&&this[_0xdfdf7d(0x117)])await this[_0xdfdf7d(0x197)]();else{if(function(_0x9cf882){const _0x431eda=_0xdfdf7d;return _0x431eda(0x13a)===_0x9cf882[_0x431eda(0x176)];}(_0x4ca973)){const _0x1a2e33=_0x1f9f8c(this[_0xdfdf7d(0x183)][_0xdfdf7d(0x14b)],_0xdfdf7d(0x1ab));this[_0xdfdf7d(0x1b0)](_0x1a2e33);}else{if(!(_0x4ca973 instanceof H))throw _0x4ca973;this[_0xdfdf7d(0x1b0)]();}}}}[_0x534de3(0x148)](){const _0x2c0226=_0x534de3,_0x318bc3=this[_0x2c0226(0x183)][_0x2c0226(0x18f)][_0x2c0226(0x169)](_0x136a14),_0x18e37b=this[_0x2c0226(0x183)][_0x2c0226(0x18f)][_0x2c0226(0x169)](_0x2c2d6a);this[_0x2c0226(0x183)][_0x2c0226(0x174)](_0x2c0226(0xe4)),_0x18e37b[_0x2c0226(0x10e)][_0x2c0226(0x15e)](this[_0x2c0226(0x1d5)])&&_0x18e37b[_0x2c0226(0x1ae)](this[_0x2c0226(0x1d5)]),_0x318bc3[_0x2c0226(0x180)](this),this[_0x2c0226(0x131)](),super[_0x2c0226(0x148)]();}async[_0x534de3(0x1b8)](_0x3ed2c8){const _0x21d6ef=_0x534de3;if(this[_0x21d6ef(0x117)]!==_0x3ed2c8[_0x21d6ef(0x117)]&&this[_0x21d6ef(0x1d9)]!==_0x3ed2c8[_0x21d6ef(0x194)])throw new H();return this[_0x21d6ef(0x117)]=_0x3ed2c8[_0x21d6ef(0x117)],this[_0x21d6ef(0x1af)]([],{..._0x3ed2c8,'wereChangesApplied':!0x1,'data':_0x3ed2c8[_0x21d6ef(0x109)]},_0x21d6ef(0x1ce));}async[_0x534de3(0xfb)](_0x12f5fb,_0x5e1d69=!0x1){const _0x3ced8a=_0x534de3,{connection:_0x28477a}=this[_0x3ced8a(0x183)][_0x3ced8a(0x18f)][_0x3ced8a(0x169)](_0x136a14);l[_0x3ced8a(0x152)][_0x3ced8a(0x173)](_0x28477a,this[_0x3ced8a(0x1d5)])[_0x3ced8a(0xd9)](_0x4325da=>this[_0x3ced8a(0x155)](_0x4325da))[_0x3ced8a(0x16a)](_0x4a7e0a=>{const _0x34335f=_0x3ced8a;this[_0x34335f(0xe5)](_0x34335f(0x141),_0x4a7e0a);}),this[_0x3ced8a(0x128)](this[_0x3ced8a(0x196)],_0x3ced8a(0x12d),this[_0x3ced8a(0x1a2)][_0x3ced8a(0x106)](this)),this[_0x3ced8a(0x128)](this[_0x3ced8a(0x196)],_0x3ced8a(0x1dd),(_0xbc3290,_0x383a3e)=>{const _0x36260a=_0x3ced8a;this[_0x36260a(0xe5)](_0x36260a(0x13e),_0x383a3e);}),this[_0x3ced8a(0x128)](this[_0x3ced8a(0x196)],_0x3ced8a(0x199),()=>{const _0x52f982=_0x3ced8a;this[_0x52f982(0x112)]=!0x1;});const _0x2b0002=this[_0x3ced8a(0x1b1)][_0x3ced8a(0x1db)](_0x12f5fb);this[_0x3ced8a(0x101)]=!0x0;const _0x543a4c=await this[_0x3ced8a(0x196)][_0x3ced8a(0xff)](_0x28477a,this[_0x3ced8a(0xd8)](_0x12f5fb),_0x2b0002);if(this[_0x3ced8a(0x117)]=_0x543a4c[_0x3ced8a(0x117)],_0x5e1d69){if(!_0x543a4c[_0x3ced8a(0x1ba)])return void this[_0x3ced8a(0x1b0)]();this[_0x3ced8a(0x101)]=!0x1,this[_0x3ced8a(0x162)](),this[_0x3ced8a(0x184)][_0x3ced8a(0x1a5)](),this[_0x3ced8a(0x10d)]=_0x543a4c[_0x3ced8a(0x105)],this[_0x3ced8a(0x184)][_0x3ced8a(0x18d)]=this[_0x3ced8a(0x10d)],await this[_0x3ced8a(0x1af)](_0x12f5fb,_0x543a4c,_0x3ced8a(0xf3));}else await this[_0x3ced8a(0x14e)](_0x543a4c,_0x12f5fb);this[_0x3ced8a(0x142)](),this[_0x3ced8a(0x112)]=!0x0;}[_0x534de3(0x142)](){const _0x51a6df=_0x534de3,_0x2a8bec=this[_0x51a6df(0x183)][_0x51a6df(0x18f)][_0x51a6df(0x169)](_0x2c2d6a),_0x4f0ab5=this[_0x51a6df(0x183)][_0x51a6df(0x18f)][_0x51a6df(0x169)](_0x42a2bd),_0x263c89=_0x2a8bec[_0x51a6df(0x10e)][_0x51a6df(0x169)](this[_0x51a6df(0x1d5)]);_0x263c89&&_0x263c89[_0x51a6df(0x19e)]>0x1?_0x4f0ab5[_0x51a6df(0x190)]():this[_0x51a6df(0x128)](_0x2a8bec,_0x51a6df(0x1a3)+this[_0x51a6df(0x1d5)],()=>{const _0xbeb6f1=_0x51a6df;0x2===_0x2a8bec[_0xbeb6f1(0x10e)][_0xbeb6f1(0x169)](this[_0xbeb6f1(0x1d5)])[_0xbeb6f1(0x19e)]&&_0x4f0ab5[_0xbeb6f1(0x190)]();});}async[_0x534de3(0x1a2)](_0x3580e3,_0x27cdea,_0x6677c1,_0x359f60){const _0x32791c=_0x534de3;if(!this[_0x32791c(0x101)]&&this[_0x32791c(0x1d3)][_0x32791c(0x18d)]==_0x27cdea){const _0x46a0eb=this[_0x32791c(0x1b4)](_0x6677c1,_0x359f60);await this[_0x32791c(0x1a4)](_0x46a0eb),this[_0x32791c(0x1b2)](_0x46a0eb,_0x27cdea,_0x6677c1[_0x32791c(0x194)])||this[_0x32791c(0xe5)](_0x32791c(0xde));}}async[_0x534de3(0x197)](){const _0x5c2241=_0x534de3;this[_0x5c2241(0x131)]();const {locale:_0x5ea3f5}=this[_0x5c2241(0x183)];let _0x39a505;try{_0x39a505=await this[_0x5c2241(0x196)][_0x5c2241(0x14d)]();}catch(_0x2b484b){const _0x3e6f08=_0x1f9f8c(_0x5ea3f5,_0x5c2241(0x1b9));return void this[_0x5c2241(0x1b0)](_0x3e6f08);}const _0x597048=_0x39a505[_0x5c2241(0x122)]||_0x39a505[_0x5c2241(0x126)];if(this[_0x5c2241(0x1d9)]===_0x597048[_0x5c2241(0x194)])await this[_0x5c2241(0xfb)](this[_0x5c2241(0x183)][_0x5c2241(0x10b)][_0x5c2241(0x1c5)][_0x5c2241(0x10f)][_0x5c2241(0x1bb)](),!0x0);else{const _0x4b4ede=_0x1f9f8c(_0x5ea3f5,_0x5c2241(0x1bc));this[_0x5c2241(0x1b0)](_0x4b4ede);}}[_0x534de3(0x131)](){const _0x420d9e=_0x534de3;this[_0x420d9e(0x196)][_0x420d9e(0x129)](),this[_0x420d9e(0x150)]=[],clearTimeout(this[_0x420d9e(0xe6)]),this[_0x420d9e(0x15d)](this[_0x420d9e(0x196)]);}[_0x534de3(0x155)](_0x4b0d14){const _0x29b8de=_0x534de3,_0x2e1efb=this[_0x29b8de(0x183)][_0x29b8de(0x18f)][_0x29b8de(0x169)](_0x2c2d6a);this[_0x29b8de(0x128)](_0x2e1efb,_0x29b8de(0x1a3)+this[_0x29b8de(0x1d5)],(_0x3de649,{session:_0x361306})=>{const _0xd61ba0=_0x29b8de;if(_0x361306['id']===_0x2e1efb[_0xd61ba0(0x1bd)]){_0x3de649[_0xd61ba0(0x178)]();const _0x198592=this[_0xd61ba0(0x183)][_0xd61ba0(0x18f)][_0xd61ba0(0x15e)](_0xd61ba0(0x118))&&this[_0xd61ba0(0x183)][_0xd61ba0(0x18f)][_0xd61ba0(0x169)](_0xd61ba0(0x118));let _0x156e1e=_0x361306[_0xd61ba0(0x1de)];_0x198592&&_0x198592[_0xd61ba0(0x10a)]&&(_0x156e1e=_0x156e1e[_0xd61ba0(0x187)](_0x12bda3=>_0xd61ba0(0x160)!==_0x12bda3)),this[_0xd61ba0(0x183)][_0xd61ba0(0x18f)][_0xd61ba0(0x169)](_0xd61ba0(0xe0))[_0xd61ba0(0x1a1)](_0x156e1e,this[_0xd61ba0(0x1d5)]);}}),_0x2e1efb[_0x29b8de(0x193)](this[_0x29b8de(0x1d5)],_0x4b0d14);}[_0x534de3(0x11e)](){const _0x45b982=_0x534de3,_0x321485=this[_0x45b982(0x183)][_0x45b982(0x109)][_0x45b982(0xf5)];this[_0x45b982(0x183)][_0x45b982(0x109)][_0x45b982(0xf5)]=(..._0xbac63b)=>{const _0x542a5f=_0x45b982;if(!_0xbac63b[_0xbac63b[_0x542a5f(0x19e)]-0x1][_0x542a5f(0x19a)])throw new _0x56a997(_0x542a5f(0x192),this);_0x321485[_0x542a5f(0x154)](this[_0x542a5f(0x183)][_0x542a5f(0x109)],_0xbac63b);};}[_0x534de3(0x1d8)](){const _0x294d19=_0x534de3;this[_0x294d19(0x183)][_0x294d19(0x109)]['on'](_0x294d19(0xea),(_0x14a360,[_0x2ffa08])=>{const _0x546005=_0x294d19;if(this[_0x546005(0x1d3)][_0x546005(0x18d)])throw new _0x56a997(_0x546005(0x1c0),this);_0x14a360[_0x546005(0x159)](),this[_0x546005(0x153)]();const _0x3f603d=this[_0x546005(0x183)][_0x546005(0x17f)][_0x546005(0x169)](_0x546005(0x15a)),_0x431a28=this[_0x546005(0xdb)](_0x2ffa08,_0x3f603d);0x0==_0x431a28[_0x546005(0x19e)]&&_0x431a28[_0x546005(0x1c1)](new _0x54cacd(0x0)),_0x14a360[_0x546005(0x175)]=this[_0x546005(0xfb)](_0x431a28)[_0x546005(0xd9)](()=>{const _0xa30d7c=_0x546005;this[_0xa30d7c(0x183)][_0xa30d7c(0x18f)][_0xa30d7c(0x169)](_0x136a14)[_0xa30d7c(0x1c4)](this),this[_0xa30d7c(0x183)][_0xa30d7c(0x109)][_0xa30d7c(0x170)](_0xa30d7c(0xef));})[_0x546005(0x16a)](_0x1a8e8d=>this[_0x546005(0xe5)](_0x546005(0x185),_0x1a8e8d))[_0x546005(0x11b)](()=>this[_0x546005(0x162)]());},{'priority':_0x294d19(0x16b)}),this[_0x294d19(0x183)]['on'](_0x294d19(0x16f),async(_0x502a7c,[_0x61af41,_0x331a61])=>{const _0x1cf41e=_0x294d19;_0x502a7c[_0x1cf41e(0x159)]();const _0x53d3d0=this[_0x1cf41e(0x183)][_0x1cf41e(0x10b)][_0x1cf41e(0x1c5)][_0x1cf41e(0x11a)](_0x61af41);if(!this[_0x1cf41e(0x151)][_0x1cf41e(0x15e)](_0x61af41)){const _0x578004=_0x331a61&&_0x331a61[_0x1cf41e(0x109)]?_0x331a61[_0x1cf41e(0x109)]:'',_0xc7693a=_0x331a61&&_0x331a61[_0x1cf41e(0x195)]?_0x331a61[_0x1cf41e(0x195)]:{};await this[_0x1cf41e(0xee)](_0x61af41,_0x578004,_0xc7693a);}this[_0x1cf41e(0x183)][_0x1cf41e(0x10b)][_0x1cf41e(0xf2)]({'isUndoable':!0x1},()=>{const _0x45ef5c=_0x1cf41e;_0x53d3d0[_0x45ef5c(0x17d)]=!0x0,this[_0x45ef5c(0x183)][_0x45ef5c(0x10b)][_0x45ef5c(0x1c5)][_0x45ef5c(0x13d)][_0x45ef5c(0xe8)](_0x53d3d0);});},{'priority':_0x294d19(0x16b)});}async[_0x534de3(0x1a4)](_0x53b63c){const _0x191c8b=_0x534de3,_0x68bdf6=this[_0x191c8b(0x183)][_0x191c8b(0x18f)][_0x191c8b(0x169)](_0x1aa986),{connection:_0x494d57}=this[_0x191c8b(0x183)][_0x191c8b(0x18f)][_0x191c8b(0x169)](_0x136a14),_0x1e97d3=new Set();for(const _0x1e9865 of _0x53b63c){const _0x2135fb=_0x1e9865[_0x191c8b(0x186)];_0x2135fb&&!_0x68bdf6[_0x191c8b(0x104)](_0x2135fb)&&_0x1e97d3[_0x191c8b(0xec)](_0x2135fb);}if(0x0===_0x1e97d3[_0x191c8b(0x123)])return;const _0x515eaa=await _0x38c1fb[_0x191c8b(0xf6)](_0x494d57,Array[_0x191c8b(0x18b)](_0x1e97d3));for(const _0x4d09e0 of _0x515eaa)_0x68bdf6[_0x191c8b(0x104)](_0x4d09e0['id'])||_0x68bdf6[_0x191c8b(0x1a9)](_0x4d09e0);}[_0x534de3(0xdb)](_0x572407,_0x980753={}){const _0x4027d7=_0x534de3,_0x56d417=this[_0x4027d7(0x183)][_0x4027d7(0x10b)],_0x47aade=[];let _0x34852c=0x0;const _0x587a5a=_0x4027d7(0x103)==typeof _0x572407?{'main':_0x572407}:_0x572407;for(const _0x10c598 of Object[_0x4027d7(0x127)](_0x587a5a)){if(!this[_0x4027d7(0x1d3)][_0x4027d7(0x1b3)][_0x4027d7(0x15e)](_0x10c598))throw new _0x56a997(_0x4027d7(0x16c),this);const _0x21f8cb=this[_0x4027d7(0x183)][_0x4027d7(0x109)][_0x4027d7(0x19d)](_0x587a5a[_0x10c598]),_0x19f3cb=this[_0x4027d7(0x1d3)][_0x4027d7(0x11a)](_0x10c598),_0x2318c7=new _0x53af9f(_0x56d417[_0x4027d7(0x156)](_0x19f3cb,0x0),_0x21f8cb,_0x34852c++);_0x47aade[_0x4027d7(0x1c1)](_0x2318c7);for(const [_0x3c0738,_0x24509b]of _0x21f8cb[_0x4027d7(0xd7)]){const _0x3de185=_0x56d417[_0x4027d7(0xe9)](_0x56d417[_0x4027d7(0x1aa)](_0x19f3cb,_0x24509b[_0x4027d7(0x19f)][_0x4027d7(0x114)][_0x4027d7(0x1b6)]()),_0x56d417[_0x4027d7(0x1aa)](_0x19f3cb,_0x24509b[_0x4027d7(0xda)][_0x4027d7(0x114)][_0x4027d7(0x1b6)]())),_0x5a1a03=new _0x26d3a8(_0x3c0738,null,_0x3de185,_0x56d417[_0x4027d7(0xd7)],!0x0,_0x34852c++);_0x47aade[_0x4027d7(0x1c1)](_0x5a1a03);}}if(_0x980753)for(const [_0xf8e0af,_0x477d46]of Object[_0x4027d7(0x113)](_0x980753)){const _0x55d784=_0x56d417[_0x4027d7(0x1c5)][_0x4027d7(0x11a)](_0xf8e0af);if(!_0x55d784)throw new _0x56a997(_0x4027d7(0x1a8),null);for(const [_0x3b0631,_0x200163]of Object[_0x4027d7(0x113)](_0x477d46))if(null!==_0x200163){const _0x20ff19=new _0x2928bf(_0x55d784,_0x3b0631,null,_0x200163,_0x34852c++);_0x47aade[_0x4027d7(0x1c1)](_0x20ff19);}}return _0x47aade;}async[_0x534de3(0xee)](_0x3f3a94,_0x5056f3,_0x187027){const _0x1d47d6=_0x534de3;this[_0x1d47d6(0xdb)]({[_0x3f3a94]:_0x5056f3},{[_0x3f3a94]:_0x187027})[_0x1d47d6(0x102)]((_0x56f756,_0x5a7fad)=>{const _0x544032=_0x1d47d6;_0x56f756[_0x544032(0x157)]=this[_0x544032(0x1d3)][_0x544032(0x18d)]+_0x5a7fad,_0x56f756[_0x544032(0x11f)]=!0x0,this[_0x544032(0x181)](_0x56f756);}),this[_0x1d47d6(0xf4)](),await this[_0x1d47d6(0x172)]();}async[_0x534de3(0x14e)](_0x48696c,_0x4a9913){const _0x42af77=_0x534de3;let _0x2ecd43;this[_0x42af77(0x10d)]=_0x48696c[_0x42af77(0x105)];const _0x4319d2=_0x48696c[_0x42af77(0x1ba)]&&!_0x48696c[_0x42af77(0x1c6)],_0x1a382f=_0x4319d2?0x0:_0x48696c[_0x42af77(0x109)][_0x42af77(0x157)];if(_0x4a9913[_0x42af77(0x102)](_0x16b176=>{const _0x150bae=_0x42af77;_0x16b176[_0x150bae(0x11f)]=!0x0,_0x16b176[_0x150bae(0x16d)]=_0x48696c[_0x150bae(0x18a)],_0x16b176[_0x150bae(0x186)]=null;}),_0x4319d2)_0x2ecd43=_0x4a9913,this[_0x42af77(0x1c7)](_0x2ecd43,_0x4319d2);else{if(_0x48696c[_0x42af77(0x1c6)]){const _0x3b327e=this[_0x42af77(0xdb)](_0x48696c[_0x42af77(0x1c6)]);this[_0x42af77(0x1d3)][_0x42af77(0x10f)][_0x42af77(0x18d)]=-_0x3b327e[_0x42af77(0x19e)],_0x3b327e[_0x42af77(0x102)](_0xaf6082=>{const _0x3e17dd=_0x42af77;_0xaf6082[_0x3e17dd(0x157)]-=_0x3b327e[_0x3e17dd(0x19e)],_0xaf6082[_0x3e17dd(0x16d)]=_0x48696c[_0x3e17dd(0x18a)],_0xaf6082[_0x3e17dd(0x11f)]=!0x0,_0xaf6082[_0x3e17dd(0x186)]=null;}),this[_0x42af77(0x1c7)](_0x3b327e,!0x0),this[_0x42af77(0x184)][_0x42af77(0x18d)]=-_0x3b327e[_0x42af77(0x19e)]+this[_0x42af77(0x10d)],this[_0x42af77(0xe3)](_0x3b327e);}this[_0x42af77(0x1d3)][_0x42af77(0x10f)][_0x42af77(0x18d)]=_0x1a382f,_0x2ecd43=this[_0x42af77(0x1b4)](_0x48696c[_0x42af77(0x109)],_0x48696c[_0x42af77(0x1d0)]),await this[_0x42af77(0x1a4)](_0x2ecd43),this[_0x42af77(0x1c7)](_0x2ecd43,_0x4319d2);}_0x48696c[_0x42af77(0x194)]&&(this[_0x42af77(0x1b1)][_0x42af77(0xdf)](_0x2ecd43,_0x48696c[_0x42af77(0x194)]),this[_0x42af77(0x1d9)]=_0x48696c[_0x42af77(0x194)]),this[_0x42af77(0x184)][_0x42af77(0x18d)]=_0x1a382f+this[_0x42af77(0x10d)],this[_0x42af77(0xe3)](_0x2ecd43),_0x4a9913[_0x42af77(0x187)](_0x3583b1=>{const _0x458872=_0x42af77,_0x8f61b=this[_0x458872(0x164)](_0x3583b1);return _0x8f61b&&!this[_0x458872(0x151)][_0x458872(0x15e)](_0x8f61b);})[_0x42af77(0x102)]((_0x1f3750,_0xfd2cd0)=>{const _0x1614b0=_0x42af77;_0x1f3750[_0x1614b0(0x157)]=this[_0x1614b0(0x1d3)][_0x1614b0(0x18d)]+_0xfd2cd0,this[_0x1614b0(0x181)](_0x1f3750);}),this[_0x42af77(0x146)]()?(this[_0x42af77(0x168)]=0x0,this[_0x42af77(0xf4)](!0x0),await this[_0x42af77(0x172)]()):(this[_0x42af77(0x101)]=!0x1,this[_0x42af77(0x162)]());}[_0x534de3(0xe5)](_0x3c8567,_0x4c0811){const _0x30106f=_0x534de3,_0x426807=_0x4c0811&&_0x4c0811[_0x30106f(0x1a7)];if(_0x426807&&_0x426807[_0x30106f(0x18c)](_0x30106f(0xf0)))throw _0x4c0811;const _0x524e78=this[_0x30106f(0x183)][_0x30106f(0x18f)][_0x30106f(0x169)](_0x136a14);throw this[_0x30106f(0x101)]=!0x0,_0x524e78[_0x30106f(0x129)](),this[_0x30106f(0x183)][_0x30106f(0x174)](_0x30106f(0x163)),new _0x56a997(_0x3c8567,this[_0x30106f(0x183)],_0x426807?{'originalError':_0x426807}:void 0x0);}[_0x534de3(0x181)](_0xcf6cbe){const _0x843965=_0x534de3;this[_0x843965(0xfe)][_0x843965(0x15e)](_0xcf6cbe)||(this[_0x843965(0xfe)][_0x843965(0xec)](_0xcf6cbe),this[_0x843965(0x150)][_0x843965(0x1c1)](_0xcf6cbe),this[_0x843965(0x1ac)]||_0x843965(0x120)==_0xcf6cbe[_0x843965(0x1df)]&&!_0xcf6cbe[_0x843965(0x116)]||this[_0x843965(0x153)]());}[_0x534de3(0xf4)](_0x13c41c=!0x1){const _0x5268be=_0x534de3;!_0x13c41c&&this[_0x5268be(0x101)]||(this[_0x5268be(0x101)]=!0x0,clearTimeout(this[_0x5268be(0xe6)]),this[_0x5268be(0xe6)]=setTimeout(()=>{const _0x36d07c=_0x5268be;this[_0x36d07c(0x161)]()[_0x36d07c(0xd9)](_0x17b598=>{const _0x17e039=_0x36d07c;_0x17b598&&(this[_0x17e039(0x162)](),this[_0x17e039(0x101)]=!0x1);})[_0x36d07c(0x16a)](_0x5440f2=>{const _0x27342f=_0x36d07c;this[_0x27342f(0x162)](),this[_0x27342f(0x101)]=!0x1,function(_0x368614){const _0x2ad77d=_0x27342f;return _0x368614[_0x2ad77d(0x1a7)][_0x2ad77d(0x18c)](_0x2ad77d(0x135))||_0x368614[_0x2ad77d(0x1a7)][_0x2ad77d(0x18c)](_0x2ad77d(0x1c2))||_0x368614[_0x2ad77d(0x1a7)][_0x2ad77d(0x18c)](_0x2ad77d(0x1cd));}(_0x5440f2)||this[_0x27342f(0xe5)](_0x5440f2[_0x27342f(0x1a7)],_0x5440f2);});},this[_0x5268be(0x168)]));}[_0x534de3(0x172)](){return new Promise(_0x2fbaa=>{const _0x123453=_0x2204;this['on'](_0x123453(0x1be),()=>{_0x2fbaa();});});}async[_0x534de3(0x161)](){const _0x5631de=_0x534de3,_0x38aa52=this[_0x5631de(0x183)][_0x5631de(0x18f)][_0x5631de(0x169)](_0x42a2bd);if(this[_0x5631de(0x130)]()&&(_0x38aa52[_0x5631de(0x190)](),this[_0x5631de(0x177)]=!0x1),!this[_0x5631de(0x146)]())return!0x0;const _0x18e8be=[...this[_0x5631de(0x150)]];for(const _0x12f3e1 of _0x18e8be)_0x12f3e1[_0x5631de(0xf9)]=this[_0x5631de(0x1d3)][_0x5631de(0x10f)][_0x5631de(0x145)](_0x12f3e1);const _0x5910da=this[_0x5631de(0x1b1)][_0x5631de(0x1db)](_0x18e8be),_0x589263=F++,_0x2d6ed4=this[_0x5631de(0xd8)](_0x18e8be),_0x3859e3=await this[_0x5631de(0x196)][_0x5631de(0x18e)](_0x2d6ed4,_0x2d6ed4[_0x5631de(0x157)],_0x5910da);try{return await this[_0x5631de(0x1af)](_0x18e8be,_0x3859e3,_0x589263);}catch(_0x112ef7){return this[_0x5631de(0xe5)](_0x5631de(0x10c),_0x112ef7);}}async[_0x534de3(0x1af)](_0x18bd7f,_0x402100,_0x5d8584){const _0x38d89d=_0x534de3;if(_0x38d89d(0x1dd)in _0x402100)throw _0x402100[_0x38d89d(0x1dd)];let _0x5d8832=!0x1;if(_0x402100[_0x38d89d(0x1ba)]){_0x402100[_0x38d89d(0x194)]&&(this[_0x38d89d(0x1d9)]=_0x402100[_0x38d89d(0x194)]),this[_0x38d89d(0x150)]=this[_0x38d89d(0x150)][_0x38d89d(0x187)](_0x114853=>!_0x18bd7f[_0x38d89d(0x13b)](_0x114853));for(const _0x2d9efe of _0x18bd7f)_0x2d9efe[_0x38d89d(0x16d)]=_0x38d89d(0xe7)in _0x402100&&_0x402100[_0x38d89d(0xe7)]||void 0x0;q(_0x18bd7f,_0x402100[_0x38d89d(0x18d)]-_0x18bd7f[_0x38d89d(0x19e)]),this[_0x38d89d(0xe3)](_0x18bd7f);const _0x2c4045=_0x18bd7f[_0x38d89d(0x187)](_0x50cebb=>{const _0x2a08ec=_0x38d89d;if(!_0x50cebb[_0x2a08ec(0x11f)])return!0x1;const _0x1d563e=this[_0x2a08ec(0x164)](_0x50cebb);return _0x1d563e&&!this[_0x2a08ec(0x151)][_0x2a08ec(0x15e)](_0x1d563e);});q(_0x2c4045,this[_0x38d89d(0x1d3)][_0x38d89d(0x18d)]),this[_0x38d89d(0x1c7)](_0x2c4045),_0x5d8832=!0x0,this[_0x38d89d(0x168)]=this[_0x38d89d(0x140)];}else{const _0x11f8d3=this[_0x38d89d(0x1b4)](_0x402100[_0x38d89d(0x109)],_0x402100[_0x38d89d(0x1d0)])[_0x38d89d(0x187)](_0x31f82b=>_0x31f82b[_0x38d89d(0x157)]>=this[_0x38d89d(0x1d7)]);_0x11f8d3[_0x38d89d(0x102)](_0x50defe=>this[_0x38d89d(0x147)](_0x50defe)),this[_0x38d89d(0x150)]=this[_0x38d89d(0x150)][_0x38d89d(0x187)](_0x42a23a=>!_0x42a23a[_0x38d89d(0x11f)]||!this[_0x38d89d(0x151)][_0x38d89d(0x15e)](this[_0x38d89d(0x164)](_0x42a23a))),this[_0x38d89d(0x150)][_0x38d89d(0x19e)]&&q(this[_0x38d89d(0x150)],this[_0x38d89d(0x150)][0x0][_0x38d89d(0x157)]),await this[_0x38d89d(0x1a4)](_0x11f8d3),_0x5d8832=this[_0x38d89d(0x1b2)](_0x11f8d3,_0x402100[_0x38d89d(0x18d)],_0x402100[_0x38d89d(0x194)]),this[_0x38d89d(0x168)]=Math[_0x38d89d(0x158)](this[_0x38d89d(0x168)]/0x2);}return _0x5d8832?!this[_0x38d89d(0x146)]()||(this[_0x38d89d(0xf4)](!0x0),!0x1):this[_0x38d89d(0xe5)](_0x38d89d(0x12a));}[_0x534de3(0x1b2)](_0x4f79bf,_0x466396,_0x495ed7){const _0x497a2a=_0x534de3;try{const _0x46acc1={'document':this[_0x497a2a(0x1d3)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x29392d,operationsB:_0x15f061,originalOperations:_0x4e10e8}=_0x9b815(_0x4f79bf,this[_0x497a2a(0x150)],_0x46acc1);q(_0x29392d,this[_0x497a2a(0x1d3)][_0x497a2a(0x18d)]),q(_0x15f061,_0x466396);for(const _0x5091ae of _0x29392d){const _0x59966c=_0x4e10e8[_0x497a2a(0x169)](_0x5091ae);_0x5091ae[_0x497a2a(0x186)]=_0x59966c?_0x59966c[_0x497a2a(0x186)]:null;}_0x495ed7&&(this[_0x497a2a(0x1b1)][_0x497a2a(0xdf)](_0x4f79bf,_0x495ed7),this[_0x497a2a(0x1d9)]=_0x495ed7),this[_0x497a2a(0x150)]=[..._0x15f061],this[_0x497a2a(0x1c7)](_0x29392d),this[_0x497a2a(0xe3)](_0x4f79bf);}catch(_0x1f904f){return console[_0x497a2a(0x1dd)](_0x1f904f),!0x1;}return!0x0;}[_0x534de3(0x1c7)](_0x2d87af,_0x5bc096=!0x1){const _0x2aed21=_0x534de3;this[_0x2aed21(0x183)][_0x2aed21(0x10b)][_0x2aed21(0xf2)]({'isUndoable':!0x1,'isLocal':!0x1},_0x49e3e3=>{const _0x5018cd=_0x2aed21;for(const _0x231f6f of _0x2d87af)this[_0x5018cd(0xfe)][_0x5018cd(0xec)](_0x231f6f),this[_0x5018cd(0x147)](_0x231f6f),_0x49e3e3[_0x5018cd(0x1d6)][_0x5018cd(0x110)](_0x231f6f),this[_0x5018cd(0x183)][_0x5018cd(0x10b)][_0x5018cd(0x137)](_0x231f6f);});}[_0x534de3(0x147)](_0x23f6be){const _0xe8992c=_0x534de3,_0x49cfbc=this[_0xe8992c(0x164)](_0x23f6be);_0x49cfbc&&this[_0xe8992c(0x151)][_0xe8992c(0xec)](_0x49cfbc);}[_0x534de3(0x164)](_0x2a2868){const _0x5cda42=_0x534de3;let _0x40e94b,_0x3bacb3;switch(_0x2a2868[_0x5cda42(0x1df)]){case _0x5cda42(0xfa):_0x40e94b=_0x2a2868[_0x5cda42(0x1cf)][_0x5cda42(0x14a)];break;case _0x5cda42(0x120):if(_0x3bacb3=_0x2a2868[_0x5cda42(0x166)],!_0x3bacb3)return null;_0x40e94b=_0x3bacb3[_0x5cda42(0x14a)];break;case _0x5cda42(0x17b):_0x40e94b=_0x2a2868[_0x5cda42(0x14a)];break;case _0x5cda42(0x1a0):_0x40e94b=_0x2a2868[_0x5cda42(0x179)];break;case _0x5cda42(0xfd):_0x40e94b=_0x2a2868[_0x5cda42(0xe2)][_0x5cda42(0x14a)];break;default:return null;}return _0x40e94b[_0x5cda42(0x1b5)];}[_0x534de3(0xe3)](_0x28c2d7){const _0x14ca5c=_0x534de3;_0x28c2d7[_0x14ca5c(0x102)](_0x3b45d3=>{const _0x225ef6=_0x14ca5c,_0xd7bb06=_0x3b45d3[_0x225ef6(0x171)]();_0xd7bb06[_0x225ef6(0x186)]=_0x3b45d3[_0x225ef6(0x186)],_0xd7bb06[_0x225ef6(0x11f)]=!!_0x3b45d3[_0x225ef6(0x11f)],_0xd7bb06[_0x225ef6(0x16d)]=_0x3b45d3[_0x225ef6(0x16d)],_0xd7bb06[_0x225ef6(0x157)]+=this[_0x225ef6(0x10d)],_0x3b45d3[_0x225ef6(0x1a6)]&&this[_0x225ef6(0x115)][_0x225ef6(0xec)](_0xd7bb06),this[_0x225ef6(0x184)][_0x225ef6(0x110)](_0xd7bb06);});}[_0x534de3(0x1b0)](_0x3c03ac){const _0x257b90=_0x534de3,_0x409a28=this[_0x257b90(0x183)][_0x257b90(0x18f)][_0x257b90(0x169)](_0x257b90(0x100)),_0x5c754f=this[_0x257b90(0x183)][_0x257b90(0x14b)];_0x3c03ac||(_0x3c03ac=_0x1f9f8c(_0x5c754f,_0x257b90(0x17c))),_0x409a28[_0x257b90(0x1da)](_0x3c03ac,{'title':_0x1f9f8c(_0x5c754f,_0x257b90(0x1dc)),'namespace':_0x257b90(0xdd)}),this[_0x257b90(0x1ad)]=!0x0,clearTimeout(this[_0x257b90(0xe6)]),this[_0x257b90(0x150)]=[],this[_0x257b90(0x183)][_0x257b90(0x18f)][_0x257b90(0x169)](_0x136a14)[_0x257b90(0x129)]();}[_0x534de3(0x153)](){const _0x57e85d=_0x534de3;this[_0x57e85d(0x1ac)]||(this[_0x57e85d(0x1ac)]=this[_0x57e85d(0x183)][_0x57e85d(0x18f)][_0x57e85d(0x169)](_0x5d4cd2)[_0x57e85d(0xec)](_0x1f9f8c(this[_0x57e85d(0x183)][_0x57e85d(0x14b)],_0x57e85d(0x19c))));}[_0x534de3(0x162)](){const _0x63149c=_0x534de3;this[_0x63149c(0x1ac)]&&(this[_0x63149c(0x183)][_0x63149c(0x18f)][_0x63149c(0x169)](_0x5d4cd2)[_0x63149c(0x143)](this[_0x63149c(0x1ac)]),this[_0x63149c(0x1ac)]=null);}[_0x534de3(0xd8)](_0x5ce065){const _0x4773c1=_0x534de3,_0x27442a=_0x5ce065[_0x4773c1(0x19b)](_0x481a86=>_0x481a86[_0x4773c1(0x167)]());return this[_0x4773c1(0x1bf)][_0x4773c1(0x14c)](_0x27442a);}[_0x534de3(0x1b4)](_0x3b1eb8,_0x5a8d40){const _0x3fe172=_0x534de3;return this[_0x3fe172(0x1bf)][_0x3fe172(0x1b7)](_0x3b1eb8)[_0x3fe172(0x19b)]((_0x2e5687,_0x48e103)=>{const _0x240faa=_0x3fe172,_0xfa3143=_0x240faa(0xea)==_0x5a8d40[_0x48e103][_0x240faa(0x1df)];if(_0x240faa(0x149)==_0x2e5687[_0x240faa(0xdc)]){const _0x530277=_0x2e5687[_0x240faa(0x1cf)][_0x240faa(0x14a)];!this[_0x240faa(0x1d3)][_0x240faa(0x11a)](_0x530277)&&(this[_0x240faa(0x1d3)][_0x240faa(0x108)](_0x240faa(0xeb),_0x530277)[_0x240faa(0x121)]=!0x1);}const _0x5d51a2=_0x517437[_0x240faa(0x16e)](_0x2e5687,this[_0x240faa(0x1d3)]);return _0x5d51a2[_0x240faa(0xf9)]=_0x2e5687[_0x240faa(0xf9)],_0x5d51a2[_0x240faa(0x11f)]=_0xfa3143,_0x5d51a2[_0x240faa(0x186)]=_0xfa3143?null:_0x5a8d40[_0x48e103][_0x240faa(0x124)],_0x5d51a2[_0x240faa(0x1a6)]=_0x240faa(0x136)===_0x5a8d40[_0x48e103][_0x240faa(0x1df)],_0x5d51a2[_0x240faa(0x16d)]=_0x5a8d40[_0x48e103][_0x240faa(0x16d)],_0x5d51a2;});}[_0x534de3(0x191)](){const _0x41c921=_0x534de3;this[_0x41c921(0x177)]=!0x0,this[_0x41c921(0x130)]()?this[_0x41c921(0xf4)]():this[_0x41c921(0x177)]=!0x1;}[_0x534de3(0x130)](){const _0x5c7072=_0x534de3,_0x974a71=this[_0x5c7072(0x183)][_0x5c7072(0x18f)][_0x5c7072(0x169)](_0x2c2d6a)[_0x5c7072(0x10e)][_0x5c7072(0x169)](this[_0x5c7072(0x1d5)]);return!this[_0x5c7072(0x183)][_0x5c7072(0x11d)]&&!!_0x974a71&&_0x974a71[_0x5c7072(0x19e)]>0x1&&this[_0x5c7072(0x177)];}[_0x534de3(0x146)](){const _0x33c90f=_0x534de3;return this[_0x33c90f(0x150)][_0x33c90f(0x19e)]>0x0||this[_0x33c90f(0x130)]();}}function _0x1241(){const _0x20e034=['locale','compress','getDocumentDetails','_handleInitialConnectionData','connection','_bufferedOperations','_knownRootNames','CollaborativeEditingService','_setPendingAction','apply','_initSessionsHandling','createPositionAt','baseVersion','round','stop','rootsAttributes','collaboration.channelId','isOfficialPlugin','stopListening','has','view','document:write','_sendBufferedOperations','_clearPendingAction','realtimecollaborationclient-error','_getAffectedRoot','2786650ibZqFh','newRange','toJSON','_currentBufferDelay','get','catch','high','realtimecollaborationclient-init-non-existent-root','createdAt','fromJSON','loadRoot','fire','clone','_waitUntilSynced','getConnectedSessions','enableReadOnlyMode','return','code','_hasSelectionChanged','off','affectedSelectable','cloudDocumentVersion','addRootAttribute','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isLoaded','disableReadOnlyMode','config','removeFromReconnectionStack','_saveOperationInBuffer','1jHhneI','editor','serverHistory','realtimecollaborationclient-init-connection-failed','_authorId','filter','connected','change:_isEditingAllowed','sessionCreatedAt','from','startsWith','version','sendOperations','plugins','createUserMarkerOperations','_refreshUserSelectionMarkers','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','register','lastOperationId','attributes','_service','_connectAfterSessionHasBeenFlushed','rtc-offline','disconnected','suppressErrorInCollaboration','map','PENDING_ACTION_SENDING_DATA','parse','length','start','addRoot','setPermissions','_handleReceivedOperations','sessionAdd:','_fetchMissingUsers','reset','_isDisconnection','message','multi-root-editor-root-attributes-no-root','addUser','createPositionFromPath','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_pendingAction','_hasSynchronizationProblem','unregister','_handleServerResponse','_handleReconnectionError','_operationIdentifier','_handleExternalOperations','roots','_decompressOperations','rootName','slice','decompress','_handleReconnectionResponse','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','wereChangesApplied','getOperations','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','mySessionId','change:_isPendingUpdate','_compressor','realtimecollaborationclient-init-document-already-initialized','push','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:range','addToReconnectionStack','document','initData','_applyOperationsSet','1343741vcEdnY','state','lastSyncVersion','cloudServices.bundleVersion','pluginName','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','position','metadata','1473568XOYIcb','isPremiumPlugin','_document','_ignoredOperations','_channelId','batch','_lastServerVersion','_setUpDataInit','_lastSyncedOperationId','showWarning','getIdOfTheLastOperation','Synchronization\x20issue','error','permissions','type','markers','_compressOperations','then','end','_getOperationsFromInitData','__className','real-time-collaboration','realtimecollaborationclient-init-service-incorrect-server-operation','setIdForTheLastOperation','Permissions','104seFYwd','targetPosition','_updateServerHistory','rtc-destroyed','_crash','_sendBufferedOperationsDelayId','lastOperationAcceptedAt','_bufferRootLoad','createRange','init','$root','add','_isEditingAllowed','_loadRoot','ready','realtimecollaborationclient','collaboration-missing-channelid','enqueueChange','reconnection:\x20flushed\x20session','_sendBufferedOperationsDelayed','set','getMany','177183DFeptq','209EhcUwZ','wasUndone','insert','_connectService','change:hasDomSelection','move','_knownOperations','connect','Notification','_isPendingUpdate','forEach','string','getUser','offset','bind','isDocumentOperation','createRoot','data','isEnabled','model','realtimecollaborationclient-sendbufferedoperations','_offset','channelSessions','history','addOperation','232EKJeKx','_isConnected','entries','path','_disconnectionOperations','affectsData','sessionId','CommentsOnly','12CLHAlj','getRoot','finally','93630sHQIpJ','isReadOnly','_initThrowingOnDataSet','_isInit','marker','_isAttached','currentDocumentSession','size','userId','getOperationAuthor','lastDocumentSession','keys','listenTo','disconnect','realtimecollaborationclient-handleserverresponse','3XjcvKi','editing','operationsReceived','404','RealTimeCollaborationClient','_shouldSendSelectionUpdate','_disconnectService','directChange','collaboration','248208UWxyjE','cloud-services-internal-error:\x20Not\x20connected.','cs:removeUser','applyOperation','requires','selection','409','includes','_operationToId','differ','realtimecollaborationclient-init-service-internal-error','84358FTmQRs','_baseBufferDelay','realtimecollaborationclient-init-session-connection-error','_handleSendingSelectionMarkers','remove','define','isUndoneOperation','_shouldSendUpdate','_addKnownRoot','destroy','InsertOperation','root'];_0x1241=function(){return _0x20e034;};return _0x1241();}l[_0x534de3(0x152)]=_0x512175;export default l;function _0x2204(_0x880ee6,_0x2594bb){const _0x12414f=_0x1241();return _0x2204=function(_0x22046f,_0x216653){_0x22046f=_0x22046f-0xd7;let _0x3f0e43=_0x12414f[_0x22046f];return _0x3f0e43;},_0x2204(_0x880ee6,_0x2594bb);}class H extends Error{}function q(_0xcc8a1c,_0x498e61){const _0xec122b=_0x534de3;for(const _0x29e3d8 of _0xcc8a1c)_0x29e3d8[_0xec122b(0x157)]=_0x498e61++;}class G{constructor(_0x4a38e3){const _0x51854c=_0x534de3;this[_0x51854c(0x1d4)]=_0x4a38e3,this[_0x51854c(0x13c)]=new WeakMap();}[_0x534de3(0x1db)](_0x4a9fe9){const _0x4fe944=_0x534de3;let _0x26a031=_0x4a9fe9[_0x4fe944(0x19e)];for(;_0x26a031--;){const _0x575937=_0x4a9fe9[_0x26a031];if(!this[_0x4fe944(0x1d4)][_0x4fe944(0x15e)](_0x575937)){if(!this[_0x4fe944(0x13c)][_0x4fe944(0x15e)](_0x575937)){const _0x144cd6=_0x3aad21()[_0x4fe944(0x1b6)](0x1,0x12);this[_0x4fe944(0x13c)][_0x4fe944(0xf5)](_0x575937,_0x144cd6);}return this[_0x4fe944(0x13c)][_0x4fe944(0x169)](_0x575937);}}}[_0x534de3(0xdf)](_0x8f85d7,_0x73882a){const _0x263b82=_0x534de3;if(!_0x73882a)return;let _0xe64036=_0x8f85d7[_0x263b82(0x19e)];for(;_0xe64036--;){const _0x1a77e7=_0x8f85d7[_0xe64036];this[_0x263b82(0x1d4)][_0x263b82(0x15e)](_0x1a77e7)||this[_0x263b82(0x13c)][_0x263b82(0xf5)](_0x1a77e7,_0x73882a);}}}
23
+ const _0x1476db=_0x92ac;(function(_0x4bb195,_0x216406){const _0x200076=_0x92ac,_0xc22331=_0x4bb195();while(!![]){try{const _0x1c1ae2=parseInt(_0x200076(0x2b0))/0x1+-parseInt(_0x200076(0x247))/0x2+-parseInt(_0x200076(0x2e1))/0x3+parseInt(_0x200076(0x2be))/0x4+-parseInt(_0x200076(0x2af))/0x5+parseInt(_0x200076(0x226))/0x6+parseInt(_0x200076(0x1ee))/0x7;if(_0x1c1ae2===_0x216406)break;else _0xc22331['push'](_0xc22331['shift']());}catch(_0x14468a){_0xc22331['push'](_0xc22331['shift']());}}}(_0x47a6,0x69c78));import{Plugin as _0x162b61,PendingActions as _0x1bd6ad}from'ckeditor5/src/core.js';import{CKEditorError as _0x590191,version as _0x2568ec,uid as _0x1bff2c}from'ckeditor5/src/utils.js';import{Notification as _0x272b52}from'ckeditor5/src/ui.js';import{transformSets as _0x153093,NoOperation as _0x5d7728,InsertOperation as _0xd8a022,MarkerOperation as _0x1fdfb4,RootAttributeOperation as _0x568806,OperationFactory as _0x26a5eb,History as _0x41ffaa}from'ckeditor5/src/engine.js';import _0x4dc931 from'./websocketgateway.js';import _0xbbb5a9 from'./sessions.js';function _0x92ac(_0x4c9c73,_0x1fc625){const _0x47a6eb=_0x47a6();return _0x92ac=function(_0x92ac8e,_0x57ece1){_0x92ac8e=_0x92ac8e-0x1e7;let _0x4f45a=_0x47a6eb[_0x92ac8e];return _0x4f45a;},_0x92ac(_0x4c9c73,_0x1fc625);}import _0x3a0ced from'./usermarkers.js';import{getTranslation as _0x4f485d}from'../common-translations.js';import{Compressor as _0x5e3aa3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x554773}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x19450e,CollaborativeEditingService as _0x4f29f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x162b61{static [_0x1476db(0x231)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4f29f1)());[_0x1476db(0x275)];[_0x1476db(0x28d)];[_0x1476db(0x272)];[_0x1476db(0x253)];[_0x1476db(0x1e9)];[_0x1476db(0x20b)];[_0x1476db(0x215)];[_0x1476db(0x241)];[_0x1476db(0x2b2)];[_0x1476db(0x297)];[_0x1476db(0x228)];[_0x1476db(0x2ba)];[_0x1476db(0x242)];[_0x1476db(0x1f4)];[_0x1476db(0x240)];[_0x1476db(0x25a)];[_0x1476db(0x2ac)];[_0x1476db(0x243)];static get[_0x1476db(0x2bf)](){return[_0x4dc931,_0xbbb5a9,_0x3a0ced,_0x1bd6ad,_0x554773,_0x272b52];}static get[_0x1476db(0x294)](){const _0x58dfed=_0x1476db;return _0x58dfed(0x2e9);}static get[_0x1476db(0x23e)](){return!0x0;}static get[_0x1476db(0x2ae)](){return!0x0;}get[_0x1476db(0x287)](){const _0x3a1cca=_0x1476db;return this[_0x3a1cca(0x2ab)]+this[_0x3a1cca(0x275)];}get[_0x1476db(0x2ab)](){const _0x49058b=_0x1476db;return this[_0x49058b(0x272)][_0x49058b(0x2e6)]-this[_0x49058b(0x275)];}get[_0x1476db(0x2dc)](){const _0x3bc054=_0x1476db,_0x2bfaf2=this[_0x3bc054(0x272)][_0x3bc054(0x225)]();for(let _0x1dc097=_0x2bfaf2[_0x3bc054(0x252)]-0x1;_0x1dc097>=0x0;_0x1dc097--){const _0x19c102=_0x2bfaf2[_0x1dc097];if(!this[_0x3bc054(0x2ac)][_0x3bc054(0x214)](_0x19c102))return _0x19c102[_0x3bc054(0x1f7)]+0x1-this[_0x3bc054(0x275)];}return 0x0;}constructor(_0x576569){const _0x268180=_0x1476db;if(super(_0x576569),this[_0x268180(0x275)]=0x0,this[_0x268180(0x28d)]=null,this[_0x268180(0x272)]=new _0x41ffaa(),this[_0x268180(0x1fc)][_0x268180(0x2a3)][_0x268180(0x2cd)](_0x268180(0x269),{}),this[_0x268180(0x253)]=this[_0x268180(0x1fc)][_0x268180(0x2a3)][_0x268180(0x268)](_0x268180(0x1f5)),!this[_0x268180(0x253)])throw new _0x590191(_0x268180(0x213),this);const _0x14e250=_0x576569[_0x268180(0x2a3)][_0x268180(0x268)](_0x268180(0x1e7))||_0x2568ec;this[_0x268180(0x1e9)]=new l[(_0x268180(0x231))](_0x14e250,this[_0x268180(0x253)]),this[_0x268180(0x20b)]=this[_0x268180(0x1fc)][_0x268180(0x20c)][_0x268180(0x2e7)],this[_0x268180(0x215)]=new _0x5e3aa3(),this[_0x268180(0x241)]=[],this[_0x268180(0x2b2)]=new WeakSet(),this[_0x268180(0x297)]=new Set(),this[_0x268180(0x271)](_0x268180(0x218),!0x1),this[_0x268180(0x271)](_0x268180(0x21a),!0x1),this[_0x268180(0x228)]=null,this[_0x268180(0x2ba)]=!0x1,this[_0x268180(0x242)]=null,this[_0x268180(0x1f4)]=0x12c,this[_0x268180(0x240)]=this[_0x268180(0x1f4)],this[_0x268180(0x25a)]=null,this[_0x268180(0x2ac)]=new WeakSet(),this[_0x268180(0x243)]=new Y(this[_0x268180(0x2ac)]);}[_0x1476db(0x20a)](){const _0x5c9fc9=_0x1476db,_0x253f8f=this[_0x5c9fc9(0x1fc)],_0x6ba067=_0x253f8f[_0x5c9fc9(0x2d4)][_0x5c9fc9(0x268)](_0x554773),_0x30dc1f=_0x253f8f[_0x5c9fc9(0x2d4)][_0x5c9fc9(0x268)](_0x4dc931);this[_0x5c9fc9(0x2a2)](_0x6ba067,_0x5c9fc9(0x251),(_0x22e530,_0x56952f)=>{const _0x23473e=_0x5c9fc9,_0x45c63a=_0x56952f[0x0];_0x45c63a[_0x23473e(0x24c)]&&(_0x22e530[_0x23473e(0x238)]=_0x6ba067[_0x23473e(0x2b8)](_0x45c63a[_0x23473e(0x24c)]),_0x22e530[_0x23473e(0x281)]()),null===_0x45c63a[_0x23473e(0x24c)]&&(_0x22e530[_0x23473e(0x238)]=null,_0x22e530[_0x23473e(0x281)]());},{'priority':_0x5c9fc9(0x201)}),this[_0x5c9fc9(0x2a2)](_0x253f8f[_0x5c9fc9(0x20c)][_0x5c9fc9(0x2e7)][_0x5c9fc9(0x2d8)],_0x5c9fc9(0x2d1),(_0x5acc76,_0x2d1aee)=>{const _0x3b1cf4=_0x5c9fc9;_0x2d1aee[_0x3b1cf4(0x212)]&&this[_0x3b1cf4(0x2e5)]();}),this[_0x5c9fc9(0x2a2)](_0x253f8f[_0x5c9fc9(0x1f9)][_0x5c9fc9(0x254)],_0x5c9fc9(0x1fd),()=>{const _0x527fdc=_0x5c9fc9;this[_0x527fdc(0x2e5)]();}),this[_0x5c9fc9(0x22f)](),_0x253f8f[_0x5c9fc9(0x20c)]['on'](_0x5c9fc9(0x2ca),(_0x370942,_0x2352a5)=>{const _0xca7dd5=_0x5c9fc9,_0x1b3304=_0x2352a5[0x0];_0x1b3304[_0xca7dd5(0x239)]&&(this[_0xca7dd5(0x248)](_0x1b3304),this[_0xca7dd5(0x20f)]()&&this[_0xca7dd5(0x1f0)]());}),this[_0x5c9fc9(0x264)](),this[_0x5c9fc9(0x2b4)](_0x5c9fc9(0x1ef))['to'](_0x30dc1f,_0x5c9fc9(0x249),this,_0x5c9fc9(0x21a),(_0x5a49a7,_0x2847a9)=>_0x5c9fc9(0x2b3)===_0x5a49a7&&!_0x2847a9),this['on'](_0x5c9fc9(0x262),()=>{const _0x234330=_0x5c9fc9;this[_0x234330(0x1ef)]?_0x253f8f[_0x234330(0x2e3)](_0x234330(0x26c)):_0x253f8f[_0x234330(0x23a)](_0x234330(0x26c));}),this[_0x5c9fc9(0x1ef)]?_0x253f8f[_0x5c9fc9(0x2e3)](_0x5c9fc9(0x26c)):_0x253f8f[_0x5c9fc9(0x23a)](_0x5c9fc9(0x26c)),this[_0x5c9fc9(0x271)](_0x5c9fc9(0x21d),!0x1);}async[_0x1476db(0x2e2)](){const _0x24d6e7=_0x1476db,_0x108586=this[_0x24d6e7(0x1fc)][_0x24d6e7(0x2d4)][_0x24d6e7(0x268)](_0xbbb5a9),_0x4e6c23=this[_0x24d6e7(0x1fc)][_0x24d6e7(0x2d4)][_0x24d6e7(0x268)](_0x4dc931);try{this[_0x24d6e7(0x218)]=!0x0,_0x108586[_0x24d6e7(0x20d)](this[_0x24d6e7(0x253)]);const _0x507428=await this[_0x24d6e7(0x1e9)][_0x24d6e7(0x2e2)](_0x4e6c23[_0x24d6e7(0x2c5)],this[_0x24d6e7(0x2dc)]);await this[_0x24d6e7(0x28b)](_0x507428)&&(this[_0x24d6e7(0x218)]=!0x1,this[_0x24d6e7(0x2b6)]());const _0x1022c7=await this[_0x24d6e7(0x1e9)][_0x24d6e7(0x295)]();_0x108586[_0x24d6e7(0x25e)](this[_0x24d6e7(0x253)],_0x1022c7),this[_0x24d6e7(0x273)](),this[_0x24d6e7(0x21d)]=!0x0;}catch(_0x341c6a){if(function(_0x5453a5){const _0x391bd6=_0x24d6e7;return _0x391bd6(0x27a)===_0x5453a5[_0x391bd6(0x27e)];}(_0x341c6a)&&this[_0x24d6e7(0x28d)])await this[_0x24d6e7(0x230)]();else{if(function(_0x3a0dfa){const _0x19cae6=_0x24d6e7;return _0x19cae6(0x29b)===_0x3a0dfa[_0x19cae6(0x27e)];}(_0x341c6a)){const _0x3f10a1=_0x4f485d(this[_0x24d6e7(0x1fc)][_0x24d6e7(0x26d)],_0x24d6e7(0x23c));this[_0x24d6e7(0x2de)](_0x3f10a1);}else{if(!(_0x341c6a instanceof Q))throw _0x341c6a;this[_0x24d6e7(0x2de)]();}}}}[_0x1476db(0x236)](){const _0x17dd8f=_0x1476db,_0x539a66=this[_0x17dd8f(0x1fc)][_0x17dd8f(0x2d4)][_0x17dd8f(0x268)](_0x4dc931),_0x3ef75a=this[_0x17dd8f(0x1fc)][_0x17dd8f(0x2d4)][_0x17dd8f(0x268)](_0xbbb5a9);this[_0x17dd8f(0x1fc)][_0x17dd8f(0x23a)](_0x17dd8f(0x2dd)),_0x3ef75a[_0x17dd8f(0x227)][_0x17dd8f(0x214)](this[_0x17dd8f(0x253)])&&_0x3ef75a[_0x17dd8f(0x20d)](this[_0x17dd8f(0x253)]),_0x539a66[_0x17dd8f(0x219)](this),this[_0x17dd8f(0x2a9)](),super[_0x17dd8f(0x236)]();}async[_0x1476db(0x28b)](_0x8bbcee){const _0x209953=_0x1476db;if(this[_0x209953(0x28d)]!==_0x8bbcee[_0x209953(0x28d)]&&this[_0x209953(0x25a)]!==_0x8bbcee[_0x209953(0x28c)])throw new Q();return this[_0x209953(0x28d)]=_0x8bbcee[_0x209953(0x28d)],this[_0x209953(0x1ec)]([],{..._0x8bbcee,'wereChangesApplied':!0x1,'data':_0x8bbcee[_0x209953(0x2a7)]},_0x209953(0x2e2));}async[_0x1476db(0x222)](_0x5cd919,_0x4e4259=!0x1){const _0x27700b=_0x1476db,{connection:_0x21e175}=this[_0x27700b(0x1fc)][_0x27700b(0x2d4)][_0x27700b(0x268)](_0x4dc931);l[_0x27700b(0x231)][_0x27700b(0x295)](_0x21e175,this[_0x27700b(0x253)])[_0x27700b(0x286)](_0x474892=>this[_0x27700b(0x2e4)](_0x474892))[_0x27700b(0x291)](_0x4c4e88=>{const _0x112dda=_0x27700b;this[_0x112dda(0x1ea)](_0x112dda(0x267),_0x4c4e88);}),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x2b7),this[_0x27700b(0x260)][_0x27700b(0x2b4)](this)),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x279),(_0x1339cb,_0x221da8)=>{const _0x437168=_0x27700b;this[_0x437168(0x1ea)](_0x437168(0x22e),_0x221da8);}),this[_0x27700b(0x2a2)](this[_0x27700b(0x1e9)],_0x27700b(0x2bc),()=>{const _0x1dc302=_0x27700b;this[_0x1dc302(0x21d)]=!0x1;});const _0x4a08cd=this[_0x27700b(0x243)][_0x27700b(0x237)](_0x5cd919);this[_0x27700b(0x218)]=!0x0;const _0x4ce023=await this[_0x27700b(0x1e9)][_0x27700b(0x2c2)](_0x21e175,this[_0x27700b(0x217)](_0x5cd919),_0x4a08cd);if(this[_0x27700b(0x28d)]=_0x4ce023[_0x27700b(0x28d)],_0x4e4259){if(!_0x4ce023[_0x27700b(0x1ff)])return void this[_0x27700b(0x2de)]();this[_0x27700b(0x218)]=!0x1,this[_0x27700b(0x2b6)](),this[_0x27700b(0x272)][_0x27700b(0x1fa)](),this[_0x27700b(0x275)]=_0x4ce023[_0x27700b(0x229)],this[_0x27700b(0x272)][_0x27700b(0x2e6)]=this[_0x27700b(0x275)],await this[_0x27700b(0x1ec)](_0x5cd919,_0x4ce023,_0x27700b(0x277));}else await this[_0x27700b(0x250)](_0x4ce023,_0x5cd919);this[_0x27700b(0x273)](),this[_0x27700b(0x21d)]=!0x0;}[_0x1476db(0x273)](){const _0x256104=_0x1476db,_0x4ea684=this[_0x256104(0x1fc)][_0x256104(0x2d4)][_0x256104(0x268)](_0xbbb5a9),_0xb16d1=this[_0x256104(0x1fc)][_0x256104(0x2d4)][_0x256104(0x268)](_0x3a0ced),_0x4e3a56=_0x4ea684[_0x256104(0x227)][_0x256104(0x268)](this[_0x256104(0x253)]);_0x4e3a56&&_0x4e3a56[_0x256104(0x252)]>0x1?_0xb16d1[_0x256104(0x21f)]():this[_0x256104(0x2a2)](_0x4ea684,_0x256104(0x24b)+this[_0x256104(0x253)],()=>{const _0xfed881=_0x256104;0x2===_0x4ea684[_0xfed881(0x227)][_0xfed881(0x268)](this[_0xfed881(0x253)])[_0xfed881(0x252)]&&_0xb16d1[_0xfed881(0x21f)]();});}async[_0x1476db(0x260)](_0x3bdf6f,_0x2798f8,_0x214ee3,_0x55c4d3){const _0x35b00d=_0x1476db;if(!this[_0x35b00d(0x218)]&&this[_0x35b00d(0x20b)][_0x35b00d(0x2e6)]==_0x2798f8){const _0x1ebfc4=this[_0x35b00d(0x2e8)](_0x214ee3,_0x55c4d3);await this[_0x35b00d(0x266)](_0x1ebfc4),this[_0x35b00d(0x23f)](_0x1ebfc4,_0x2798f8,_0x214ee3[_0x35b00d(0x28c)])||this[_0x35b00d(0x1ea)](_0x35b00d(0x2aa));}}async[_0x1476db(0x230)](){const _0x4a43f9=_0x1476db;this[_0x4a43f9(0x2a9)]();const {locale:_0x58b441}=this[_0x4a43f9(0x1fc)];let _0x37f6d6;try{_0x37f6d6=await this[_0x4a43f9(0x1e9)][_0x4a43f9(0x233)]();}catch(_0x1d9e40){const _0x44694f=_0x4f485d(_0x58b441,_0x4a43f9(0x2bb));return void this[_0x4a43f9(0x2de)](_0x44694f);}const _0x58ceab=_0x37f6d6[_0x4a43f9(0x256)]||_0x37f6d6[_0x4a43f9(0x259)];if(this[_0x4a43f9(0x25a)]===_0x58ceab[_0x4a43f9(0x28c)])await this[_0x4a43f9(0x222)](this[_0x4a43f9(0x1fc)][_0x4a43f9(0x20c)][_0x4a43f9(0x2e7)][_0x4a43f9(0x1f8)][_0x4a43f9(0x225)](),!0x0);else{const _0x5b769c=_0x4f485d(_0x58b441,_0x4a43f9(0x2a4));this[_0x4a43f9(0x2de)](_0x5b769c);}}[_0x1476db(0x2a9)](){const _0x3ad218=_0x1476db;this[_0x3ad218(0x1e9)][_0x3ad218(0x221)](),this[_0x3ad218(0x241)]=[],clearTimeout(this[_0x3ad218(0x242)]),this[_0x3ad218(0x1f6)](this[_0x3ad218(0x1e9)]);}[_0x1476db(0x2e4)](_0x343f6d){const _0x591c89=_0x1476db,_0x5ea969=this[_0x591c89(0x1fc)][_0x591c89(0x2d4)][_0x591c89(0x268)](_0xbbb5a9);this[_0x591c89(0x2a2)](_0x5ea969,_0x591c89(0x24b)+this[_0x591c89(0x253)],(_0x53028d,{session:_0x460c7f})=>{const _0x315b16=_0x591c89;if(_0x460c7f['id']===_0x5ea969[_0x315b16(0x2c8)]){_0x53028d[_0x315b16(0x20e)]();const _0x2a3f7b=this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x214)](_0x315b16(0x282))&&this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x268)](_0x315b16(0x282));let _0x24f12d=_0x460c7f[_0x315b16(0x2e0)];_0x2a3f7b&&_0x2a3f7b[_0x315b16(0x25f)]&&(_0x24f12d=_0x24f12d[_0x315b16(0x2cb)](_0x39d238=>_0x315b16(0x208)!==_0x39d238)),this[_0x315b16(0x1fc)][_0x315b16(0x2d4)][_0x315b16(0x268)](_0x315b16(0x2b1))[_0x315b16(0x2d3)](_0x24f12d,this[_0x315b16(0x253)]);}}),_0x5ea969[_0x591c89(0x25e)](this[_0x591c89(0x253)],_0x343f6d);}[_0x1476db(0x22f)](){const _0x15dc16=_0x1476db,_0x4492cc=this[_0x15dc16(0x1fc)][_0x15dc16(0x2a7)][_0x15dc16(0x271)];this[_0x15dc16(0x1fc)][_0x15dc16(0x2a7)][_0x15dc16(0x271)]=(..._0x115c8a)=>{const _0x26f2c3=_0x15dc16;if(!_0x115c8a[_0x115c8a[_0x26f2c3(0x252)]-0x1][_0x26f2c3(0x2b9)])throw new _0x590191(_0x26f2c3(0x2c4),this);_0x4492cc[_0x26f2c3(0x26b)](this[_0x26f2c3(0x1fc)][_0x26f2c3(0x2a7)],_0x115c8a);};}[_0x1476db(0x264)](){const _0x4ed35f=_0x1476db;this[_0x4ed35f(0x1fc)][_0x4ed35f(0x2a7)]['on'](_0x4ed35f(0x20a),(_0x32701b,[_0x43dac2])=>{const _0x5a49b7=_0x4ed35f;if(this[_0x5a49b7(0x20b)][_0x5a49b7(0x2e6)])throw new _0x590191(_0x5a49b7(0x2da),this);_0x32701b[_0x5a49b7(0x281)](),this[_0x5a49b7(0x245)]();const _0x355dcb=this[_0x5a49b7(0x1fc)][_0x5a49b7(0x2a3)][_0x5a49b7(0x268)](_0x5a49b7(0x23b)),_0x231b01=this[_0x5a49b7(0x25b)](_0x43dac2,_0x355dcb);0x0==_0x231b01[_0x5a49b7(0x252)]&&_0x231b01[_0x5a49b7(0x2df)](new _0x5d7728(0x0)),_0x32701b[_0x5a49b7(0x238)]=this[_0x5a49b7(0x222)](_0x231b01)[_0x5a49b7(0x286)](()=>{const _0x53f5c6=_0x5a49b7;this[_0x53f5c6(0x1fc)][_0x53f5c6(0x2d4)][_0x53f5c6(0x268)](_0x4dc931)[_0x53f5c6(0x26a)](this),this[_0x53f5c6(0x1fc)][_0x53f5c6(0x2a7)][_0x53f5c6(0x299)](_0x53f5c6(0x2ce));})[_0x5a49b7(0x291)](_0x43ac78=>this[_0x5a49b7(0x1ea)](_0x5a49b7(0x22d),_0x43ac78))[_0x5a49b7(0x296)](()=>this[_0x5a49b7(0x2b6)]());},{'priority':_0x4ed35f(0x201)}),this[_0x4ed35f(0x1fc)]['on'](_0x4ed35f(0x2b5),async(_0x1db954,[_0x47a11f,_0x50bad0])=>{const _0x432f35=_0x4ed35f;_0x1db954[_0x432f35(0x281)]();const _0x2a0083=this[_0x432f35(0x1fc)][_0x432f35(0x20c)][_0x432f35(0x2e7)][_0x432f35(0x2c9)](_0x47a11f);if(!this[_0x432f35(0x297)][_0x432f35(0x214)](_0x47a11f)){const _0x1aecf8=_0x50bad0&&_0x50bad0[_0x432f35(0x2a7)]?_0x50bad0[_0x432f35(0x2a7)]:'',_0x5094d2=_0x50bad0&&_0x50bad0[_0x432f35(0x22a)]?_0x50bad0[_0x432f35(0x22a)]:{};await this[_0x432f35(0x200)](_0x47a11f,_0x1aecf8,_0x5094d2);}this[_0x432f35(0x1fc)][_0x432f35(0x20c)][_0x432f35(0x205)]({'isUndoable':!0x1},()=>{const _0x249399=_0x432f35;_0x2a0083[_0x249399(0x26f)]=!0x0,this[_0x249399(0x1fc)][_0x249399(0x20c)][_0x249399(0x2e7)][_0x249399(0x244)][_0x249399(0x209)](_0x2a0083);});},{'priority':_0x4ed35f(0x201)});}async[_0x1476db(0x266)](_0x1ce82a){const _0x41af0c=_0x1476db,_0x2e04ee=this[_0x41af0c(0x1fc)][_0x41af0c(0x2d4)][_0x41af0c(0x268)](_0x554773),{connection:_0x31e116}=this[_0x41af0c(0x1fc)][_0x41af0c(0x2d4)][_0x41af0c(0x268)](_0x4dc931),_0x4c27f7=new Set();for(const _0x2dd9e4 of _0x1ce82a){const _0x2a83ba=_0x2dd9e4[_0x41af0c(0x24c)];_0x2a83ba&&!_0x2e04ee[_0x41af0c(0x2b8)](_0x2a83ba)&&_0x4c27f7[_0x41af0c(0x293)](_0x2a83ba);}if(0x0===_0x4c27f7[_0x41af0c(0x203)])return;const _0x169908=await _0x19450e[_0x41af0c(0x22c)](_0x31e116,Array[_0x41af0c(0x26e)](_0x4c27f7));for(const _0x3613d4 of _0x169908)_0x2e04ee[_0x41af0c(0x2b8)](_0x3613d4['id'])||_0x2e04ee[_0x41af0c(0x255)](_0x3613d4);}[_0x1476db(0x25b)](_0x16c0c8,_0x24293e={}){const _0x546c44=_0x1476db,_0x2b7005=this[_0x546c44(0x1fc)][_0x546c44(0x20c)],_0x265505=[];let _0x122c9d=0x0;const _0x14bde2=_0x546c44(0x24f)==typeof _0x16c0c8?{'main':_0x16c0c8}:_0x16c0c8;for(const _0x5489d5 of Object[_0x546c44(0x216)](_0x14bde2)){if(!this[_0x546c44(0x20b)][_0x546c44(0x278)][_0x546c44(0x214)](_0x5489d5))throw new _0x590191(_0x546c44(0x2a1),this);const _0x31b46c=this[_0x546c44(0x1fc)][_0x546c44(0x2a7)][_0x546c44(0x28a)](_0x14bde2[_0x5489d5]),_0x3f5a9b=this[_0x546c44(0x20b)][_0x546c44(0x2c9)](_0x5489d5),_0x4f9a78=new _0xd8a022(_0x2b7005[_0x546c44(0x2bd)](_0x3f5a9b,0x0),_0x31b46c,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x4f9a78);for(const [_0x1c96d0,_0x2ac0c6]of _0x31b46c[_0x546c44(0x27f)]){const _0x14bca3=_0x2b7005[_0x546c44(0x235)](_0x2b7005[_0x546c44(0x2d2)](_0x3f5a9b,_0x2ac0c6[_0x546c44(0x220)][_0x546c44(0x298)][_0x546c44(0x2c7)]()),_0x2b7005[_0x546c44(0x2d2)](_0x3f5a9b,_0x2ac0c6[_0x546c44(0x223)][_0x546c44(0x298)][_0x546c44(0x2c7)]())),_0x5e5622=new _0x1fdfb4(_0x1c96d0,null,_0x14bca3,_0x2b7005[_0x546c44(0x27f)],!0x0,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x5e5622);}}if(_0x24293e)for(const [_0x26998f,_0x4b0692]of Object[_0x546c44(0x257)](_0x24293e)){const _0xe3fb52=_0x2b7005[_0x546c44(0x2e7)][_0x546c44(0x2c9)](_0x26998f);if(!_0xe3fb52)throw new _0x590191(_0x546c44(0x1eb),null);for(const [_0x377f70,_0x30ed77]of Object[_0x546c44(0x257)](_0x4b0692))if(null!==_0x30ed77){const _0x56d9e6=new _0x568806(_0xe3fb52,_0x377f70,null,_0x30ed77,_0x122c9d++);_0x265505[_0x546c44(0x2df)](_0x56d9e6);}}return _0x265505;}async[_0x1476db(0x200)](_0x2283b0,_0x184d3a,_0x32961d){const _0x3cde24=_0x1476db;this[_0x3cde24(0x25b)]({[_0x2283b0]:_0x184d3a},{[_0x2283b0]:_0x32961d})[_0x3cde24(0x2a6)]((_0x27f343,_0x40213b)=>{const _0x382825=_0x3cde24;_0x27f343[_0x382825(0x1f7)]=this[_0x382825(0x20b)][_0x382825(0x2e6)]+_0x40213b,_0x27f343[_0x382825(0x224)]=!0x0,this[_0x382825(0x248)](_0x27f343);}),this[_0x3cde24(0x1f0)](),await this[_0x3cde24(0x27d)]();}async[_0x1476db(0x250)](_0xa0897e,_0xff501a){const _0x2ccea4=_0x1476db;let _0x54a6f9;this[_0x2ccea4(0x275)]=_0xa0897e[_0x2ccea4(0x229)];const _0x2dd08e=_0xa0897e[_0x2ccea4(0x1ff)]&&!_0xa0897e[_0x2ccea4(0x288)],_0x50e8cf=_0x2dd08e?0x0:_0xa0897e[_0x2ccea4(0x2a7)][_0x2ccea4(0x1f7)];if(_0xff501a[_0x2ccea4(0x2a6)](_0x5291ce=>{const _0x164ba6=_0x2ccea4;_0x5291ce[_0x164ba6(0x224)]=!0x0,_0x5291ce[_0x164ba6(0x2d9)]=_0xa0897e[_0x164ba6(0x2db)],_0x5291ce[_0x164ba6(0x24c)]=null;}),_0x2dd08e)_0x54a6f9=_0xff501a,this[_0x2ccea4(0x270)](_0x54a6f9,_0x2dd08e);else{if(_0xa0897e[_0x2ccea4(0x288)]){const _0xa81228=this[_0x2ccea4(0x25b)](_0xa0897e[_0x2ccea4(0x288)]);this[_0x2ccea4(0x20b)][_0x2ccea4(0x1f8)][_0x2ccea4(0x2e6)]=-_0xa81228[_0x2ccea4(0x252)],_0xa81228[_0x2ccea4(0x2a6)](_0x3ac07b=>{const _0x27f1ba=_0x2ccea4;_0x3ac07b[_0x27f1ba(0x1f7)]-=_0xa81228[_0x27f1ba(0x252)],_0x3ac07b[_0x27f1ba(0x2d9)]=_0xa0897e[_0x27f1ba(0x2db)],_0x3ac07b[_0x27f1ba(0x224)]=!0x0,_0x3ac07b[_0x27f1ba(0x24c)]=null;}),this[_0x2ccea4(0x270)](_0xa81228,!0x0),this[_0x2ccea4(0x272)][_0x2ccea4(0x2e6)]=-_0xa81228[_0x2ccea4(0x252)]+this[_0x2ccea4(0x275)],this[_0x2ccea4(0x24d)](_0xa81228);}this[_0x2ccea4(0x20b)][_0x2ccea4(0x1f8)][_0x2ccea4(0x2e6)]=_0x50e8cf,_0x54a6f9=this[_0x2ccea4(0x2e8)](_0xa0897e[_0x2ccea4(0x2a7)],_0xa0897e[_0x2ccea4(0x289)]),await this[_0x2ccea4(0x266)](_0x54a6f9),this[_0x2ccea4(0x270)](_0x54a6f9,_0x2dd08e);}_0xa0897e[_0x2ccea4(0x28c)]&&(this[_0x2ccea4(0x243)][_0x2ccea4(0x1e8)](_0x54a6f9,_0xa0897e[_0x2ccea4(0x28c)]),this[_0x2ccea4(0x25a)]=_0xa0897e[_0x2ccea4(0x28c)]),this[_0x2ccea4(0x272)][_0x2ccea4(0x2e6)]=_0x50e8cf+this[_0x2ccea4(0x275)],this[_0x2ccea4(0x24d)](_0x54a6f9),_0xff501a[_0x2ccea4(0x2cb)](_0x386a71=>{const _0x35b1a3=_0x2ccea4,_0x585d29=this[_0x35b1a3(0x1f1)](_0x386a71);return _0x585d29&&!this[_0x35b1a3(0x297)][_0x35b1a3(0x214)](_0x585d29);})[_0x2ccea4(0x2a6)]((_0x4b1bd6,_0x416049)=>{const _0xefe33=_0x2ccea4;_0x4b1bd6[_0xefe33(0x1f7)]=this[_0xefe33(0x20b)][_0xefe33(0x2e6)]+_0x416049,this[_0xefe33(0x248)](_0x4b1bd6);}),this[_0x2ccea4(0x20f)]()?(this[_0x2ccea4(0x240)]=0x0,this[_0x2ccea4(0x1f0)](!0x0),await this[_0x2ccea4(0x27d)]()):(this[_0x2ccea4(0x218)]=!0x1,this[_0x2ccea4(0x2b6)]());}[_0x1476db(0x1ea)](_0x1fedbe,_0x55229a){const _0x4fae9f=_0x1476db,_0xa6644f=_0x55229a&&_0x55229a[_0x4fae9f(0x24e)];if(_0xa6644f&&_0xa6644f[_0x4fae9f(0x2d0)](_0x4fae9f(0x210)))throw _0x55229a;const _0x426bf0=this[_0x4fae9f(0x1fc)][_0x4fae9f(0x2d4)][_0x4fae9f(0x268)](_0x4dc931);throw this[_0x4fae9f(0x218)]=!0x0,_0x426bf0[_0x4fae9f(0x221)](),this[_0x4fae9f(0x1fc)][_0x4fae9f(0x23a)](_0x4fae9f(0x274)),new _0x590191(_0x1fedbe,this[_0x4fae9f(0x1fc)],_0xa6644f?{'originalError':_0xa6644f}:void 0x0);}[_0x1476db(0x248)](_0x52263c){const _0x363afe=_0x1476db;this[_0x363afe(0x2b2)][_0x363afe(0x214)](_0x52263c)||(this[_0x363afe(0x2b2)][_0x363afe(0x293)](_0x52263c),this[_0x363afe(0x241)][_0x363afe(0x2df)](_0x52263c),this[_0x363afe(0x228)]||_0x363afe(0x1ed)==_0x52263c[_0x363afe(0x2a8)]&&!_0x52263c[_0x363afe(0x276)]||this[_0x363afe(0x245)]());}[_0x1476db(0x1f0)](_0x595407=!0x1){const _0x19cfc4=_0x1476db;!_0x595407&&this[_0x19cfc4(0x218)]||(this[_0x19cfc4(0x218)]=!0x0,clearTimeout(this[_0x19cfc4(0x242)]),this[_0x19cfc4(0x242)]=setTimeout(()=>{const _0x366856=_0x19cfc4;this[_0x366856(0x2cf)]()[_0x366856(0x286)](_0x2ae7a5=>{const _0x186e15=_0x366856;_0x2ae7a5&&(this[_0x186e15(0x2b6)](),this[_0x186e15(0x218)]=!0x1);})[_0x366856(0x291)](_0x314fb5=>{const _0x498619=_0x366856;this[_0x498619(0x2b6)](),this[_0x498619(0x218)]=!0x1,function(_0x2fb9bd){const _0xba9e5a=_0x498619;return _0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x204))||_0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x29e))||_0x2fb9bd[_0xba9e5a(0x24e)][_0xba9e5a(0x2d0)](_0xba9e5a(0x29c));}(_0x314fb5)||this[_0x498619(0x1ea)](_0x314fb5[_0x498619(0x24e)],_0x314fb5);});},this[_0x19cfc4(0x240)]));}[_0x1476db(0x27d)](){return new Promise(_0xa057c5=>{const _0x292edd=_0x92ac;this['on'](_0x292edd(0x234),()=>{_0xa057c5();});});}async[_0x1476db(0x2cf)](){const _0x2965fe=_0x1476db,_0x24eabe=this[_0x2965fe(0x1fc)][_0x2965fe(0x2d4)][_0x2965fe(0x268)](_0x3a0ced);if(this[_0x2965fe(0x2c1)]()&&(_0x24eabe[_0x2965fe(0x21f)](),this[_0x2965fe(0x2ba)]=!0x1),!this[_0x2965fe(0x20f)]())return!0x0;const _0x217223=[...this[_0x2965fe(0x241)]];for(const _0x4aa5c9 of _0x217223)_0x4aa5c9[_0x2965fe(0x211)]=this[_0x2965fe(0x20b)][_0x2965fe(0x1f8)][_0x2965fe(0x1fe)](_0x4aa5c9);const _0x7a01db=this[_0x2965fe(0x243)][_0x2965fe(0x237)](_0x217223),_0x215d70=J++,_0x447b3f=this[_0x2965fe(0x217)](_0x217223),_0x530f9f=await this[_0x2965fe(0x1e9)][_0x2965fe(0x2d7)](_0x447b3f,_0x447b3f[_0x2965fe(0x1f7)],_0x7a01db);try{return await this[_0x2965fe(0x1ec)](_0x217223,_0x530f9f,_0x215d70);}catch(_0x508b17){return this[_0x2965fe(0x1ea)](_0x2965fe(0x2c6),_0x508b17);}}async[_0x1476db(0x1ec)](_0x3f217a,_0x1f025b,_0x264701){const _0x29bd87=_0x1476db;if(_0x29bd87(0x279)in _0x1f025b)throw _0x1f025b[_0x29bd87(0x279)];let _0x2196eb=!0x1;if(_0x1f025b[_0x29bd87(0x1ff)]){_0x1f025b[_0x29bd87(0x28c)]&&(this[_0x29bd87(0x25a)]=_0x1f025b[_0x29bd87(0x28c)]),this[_0x29bd87(0x241)]=this[_0x29bd87(0x241)][_0x29bd87(0x2cb)](_0x4e682=>!_0x3f217a[_0x29bd87(0x284)](_0x4e682));for(const _0x3c70f7 of _0x3f217a)_0x3c70f7[_0x29bd87(0x2d9)]=_0x29bd87(0x28f)in _0x1f025b&&_0x1f025b[_0x29bd87(0x28f)]||void 0x0;X(_0x3f217a,_0x1f025b[_0x29bd87(0x2e6)]-_0x3f217a[_0x29bd87(0x252)]),this[_0x29bd87(0x24d)](_0x3f217a);const _0x10dced=_0x3f217a[_0x29bd87(0x2cb)](_0x588bdf=>{const _0x2f530a=_0x29bd87;if(!_0x588bdf[_0x2f530a(0x224)])return!0x1;const _0x2d8098=this[_0x2f530a(0x1f1)](_0x588bdf);return _0x2d8098&&!this[_0x2f530a(0x297)][_0x2f530a(0x214)](_0x2d8098);});X(_0x10dced,this[_0x29bd87(0x20b)][_0x29bd87(0x2e6)]),this[_0x29bd87(0x270)](_0x10dced),_0x2196eb=!0x0,this[_0x29bd87(0x240)]=this[_0x29bd87(0x1f4)];}else{const _0x1c98b2=this[_0x29bd87(0x2e8)](_0x1f025b[_0x29bd87(0x2a7)],_0x1f025b[_0x29bd87(0x289)])[_0x29bd87(0x2cb)](_0x415cd3=>_0x415cd3[_0x29bd87(0x1f7)]>=this[_0x29bd87(0x2ab)]);_0x1c98b2[_0x29bd87(0x2a6)](_0x1c36d0=>this[_0x29bd87(0x263)](_0x1c36d0)),this[_0x29bd87(0x241)]=this[_0x29bd87(0x241)][_0x29bd87(0x2cb)](_0x50664b=>!_0x50664b[_0x29bd87(0x224)]||!this[_0x29bd87(0x297)][_0x29bd87(0x214)](this[_0x29bd87(0x1f1)](_0x50664b))),this[_0x29bd87(0x241)][_0x29bd87(0x252)]&&X(this[_0x29bd87(0x241)],this[_0x29bd87(0x241)][0x0][_0x29bd87(0x1f7)]),await this[_0x29bd87(0x266)](_0x1c98b2),_0x2196eb=this[_0x29bd87(0x23f)](_0x1c98b2,_0x1f025b[_0x29bd87(0x2e6)],_0x1f025b[_0x29bd87(0x28c)]),this[_0x29bd87(0x240)]=Math[_0x29bd87(0x207)](this[_0x29bd87(0x240)]/0x2);}return _0x2196eb?!this[_0x29bd87(0x20f)]()||(this[_0x29bd87(0x1f0)](!0x0),!0x1):this[_0x29bd87(0x1ea)](_0x29bd87(0x283));}[_0x1476db(0x23f)](_0x4b88f0,_0x8413d4,_0xd9d491){const _0x2eb849=_0x1476db;try{const _0x7e0186={'document':this[_0x2eb849(0x20b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2de1fa,operationsB:_0x1635b8,originalOperations:_0xca8b05}=_0x153093(_0x4b88f0,this[_0x2eb849(0x241)],_0x7e0186);X(_0x2de1fa,this[_0x2eb849(0x20b)][_0x2eb849(0x2e6)]),X(_0x1635b8,_0x8413d4);for(const _0x21ac92 of _0x2de1fa){const _0x16e5f3=_0xca8b05[_0x2eb849(0x268)](_0x21ac92);_0x21ac92[_0x2eb849(0x24c)]=_0x16e5f3?_0x16e5f3[_0x2eb849(0x24c)]:null;}_0xd9d491&&(this[_0x2eb849(0x243)][_0x2eb849(0x1e8)](_0x4b88f0,_0xd9d491),this[_0x2eb849(0x25a)]=_0xd9d491),this[_0x2eb849(0x241)]=[..._0x1635b8],this[_0x2eb849(0x270)](_0x2de1fa),this[_0x2eb849(0x24d)](_0x4b88f0);}catch(_0x147e61){return console[_0x2eb849(0x279)](_0x147e61),!0x1;}return!0x0;}[_0x1476db(0x270)](_0x2a11ff,_0x1ee656=!0x1){const _0x1c9041=_0x1476db;this[_0x1c9041(0x1fc)][_0x1c9041(0x20c)][_0x1c9041(0x205)]({'isUndoable':!0x1,'isLocal':!0x1},_0x31bead=>{const _0x2a62b6=_0x1c9041;for(const _0xac590d of _0x2a11ff)this[_0x2a62b6(0x2b2)][_0x2a62b6(0x293)](_0xac590d),this[_0x2a62b6(0x263)](_0xac590d),_0x31bead[_0x2a62b6(0x27c)][_0x2a62b6(0x2c3)](_0xac590d),this[_0x2a62b6(0x1fc)][_0x2a62b6(0x20c)][_0x2a62b6(0x2ca)](_0xac590d);});}[_0x1476db(0x263)](_0x2636bb){const _0x31b176=_0x1476db,_0x19c4de=this[_0x31b176(0x1f1)](_0x2636bb);_0x19c4de&&this[_0x31b176(0x297)][_0x31b176(0x293)](_0x19c4de);}[_0x1476db(0x1f1)](_0xde424f){const _0x40bbbb=_0x1476db;let _0x438829,_0x4a095d;switch(_0xde424f[_0x40bbbb(0x2a8)]){case _0x40bbbb(0x25c):_0x438829=_0xde424f[_0x40bbbb(0x261)][_0x40bbbb(0x21b)];break;case _0x40bbbb(0x1ed):if(_0x4a095d=_0xde424f[_0x40bbbb(0x25d)],!_0x4a095d)return null;_0x438829=_0x4a095d[_0x40bbbb(0x21b)];break;case _0x40bbbb(0x27b):_0x438829=_0xde424f[_0x40bbbb(0x21b)];break;case _0x40bbbb(0x23d):_0x438829=_0xde424f[_0x40bbbb(0x290)];break;case _0x40bbbb(0x265):_0x438829=_0xde424f[_0x40bbbb(0x21c)][_0x40bbbb(0x21b)];break;default:return null;}return _0x438829[_0x40bbbb(0x1f3)];}[_0x1476db(0x24d)](_0x45c9b0){const _0x39430e=_0x1476db;_0x45c9b0[_0x39430e(0x2a6)](_0x176012=>{const _0x20a926=_0x39430e,_0x273d0f=_0x176012[_0x20a926(0x24a)]();_0x273d0f[_0x20a926(0x24c)]=_0x176012[_0x20a926(0x24c)],_0x273d0f[_0x20a926(0x224)]=!!_0x176012[_0x20a926(0x224)],_0x273d0f[_0x20a926(0x2d9)]=_0x176012[_0x20a926(0x2d9)],_0x273d0f[_0x20a926(0x1f7)]+=this[_0x20a926(0x275)],_0x176012[_0x20a926(0x285)]&&this[_0x20a926(0x2ac)][_0x20a926(0x293)](_0x273d0f),this[_0x20a926(0x272)][_0x20a926(0x2c3)](_0x273d0f);});}[_0x1476db(0x2de)](_0x5f41c4){const _0x358b60=_0x1476db,_0x55fa25=this[_0x358b60(0x1fc)][_0x358b60(0x2d4)][_0x358b60(0x268)](_0x358b60(0x2ad)),_0x55f901=this[_0x358b60(0x1fc)][_0x358b60(0x26d)];_0x5f41c4||(_0x5f41c4=_0x4f485d(_0x55f901,_0x358b60(0x258))),_0x55fa25[_0x358b60(0x29f)](_0x5f41c4,{'title':_0x4f485d(_0x55f901,_0x358b60(0x1f2)),'namespace':_0x358b60(0x232)}),this[_0x358b60(0x21a)]=!0x0,clearTimeout(this[_0x358b60(0x242)]),this[_0x358b60(0x241)]=[],this[_0x358b60(0x1fc)][_0x358b60(0x2d4)][_0x358b60(0x268)](_0x4dc931)[_0x358b60(0x221)]();}[_0x1476db(0x245)](){const _0x513de9=_0x1476db;this[_0x513de9(0x228)]||(this[_0x513de9(0x228)]=this[_0x513de9(0x1fc)][_0x513de9(0x2d4)][_0x513de9(0x268)](_0x1bd6ad)[_0x513de9(0x293)](_0x4f485d(this[_0x513de9(0x1fc)][_0x513de9(0x26d)],_0x513de9(0x2d6))));}[_0x1476db(0x2b6)](){const _0x46aef4=_0x1476db;this[_0x46aef4(0x228)]&&(this[_0x46aef4(0x1fc)][_0x46aef4(0x2d4)][_0x46aef4(0x268)](_0x1bd6ad)[_0x46aef4(0x28e)](this[_0x46aef4(0x228)]),this[_0x46aef4(0x228)]=null);}[_0x1476db(0x217)](_0x1a7508){const _0x2e0ff0=_0x1476db,_0x445a56=_0x1a7508[_0x2e0ff0(0x206)](_0x3f93eb=>_0x3f93eb[_0x2e0ff0(0x2a0)]());return this[_0x2e0ff0(0x215)][_0x2e0ff0(0x2a5)](_0x445a56);}[_0x1476db(0x2e8)](_0x45ceb8,_0xc1f4de){const _0xd19a45=_0x1476db;return this[_0xd19a45(0x215)][_0xd19a45(0x2cc)](_0x45ceb8)[_0xd19a45(0x206)]((_0x2b8c8a,_0x67c0da)=>{const _0x5a7071=_0xd19a45,_0x5b9863=_0x5a7071(0x20a)==_0xc1f4de[_0x67c0da][_0x5a7071(0x2a8)];if(_0x5a7071(0x22b)==_0x2b8c8a[_0x5a7071(0x2c0)]){const _0x2eb966=_0x2b8c8a[_0x5a7071(0x261)][_0x5a7071(0x21b)];!this[_0x5a7071(0x20b)][_0x5a7071(0x2c9)](_0x2eb966)&&(this[_0x5a7071(0x20b)][_0x5a7071(0x280)](_0x5a7071(0x29d),_0x2eb966)[_0x5a7071(0x1fb)]=!0x1);}const _0x34fc02=_0x26a5eb[_0x5a7071(0x29a)](_0x2b8c8a,this[_0x5a7071(0x20b)]);return _0x34fc02[_0x5a7071(0x211)]=_0x2b8c8a[_0x5a7071(0x211)],_0x34fc02[_0x5a7071(0x224)]=_0x5b9863,_0x34fc02[_0x5a7071(0x24c)]=_0x5b9863?null:_0xc1f4de[_0x67c0da][_0x5a7071(0x2d5)],_0x34fc02[_0x5a7071(0x285)]=_0x5a7071(0x246)===_0xc1f4de[_0x67c0da][_0x5a7071(0x2a8)],_0x34fc02[_0x5a7071(0x2d9)]=_0xc1f4de[_0x67c0da][_0x5a7071(0x2d9)],_0x34fc02;});}[_0x1476db(0x2e5)](){const _0x446004=_0x1476db;this[_0x446004(0x2ba)]=!0x0,this[_0x446004(0x2c1)]()?this[_0x446004(0x1f0)]():this[_0x446004(0x2ba)]=!0x1;}[_0x1476db(0x2c1)](){const _0x29de67=_0x1476db,_0x29646c=this[_0x29de67(0x1fc)][_0x29de67(0x2d4)][_0x29de67(0x268)](_0xbbb5a9)[_0x29de67(0x227)][_0x29de67(0x268)](this[_0x29de67(0x253)]);return!this[_0x29de67(0x1fc)][_0x29de67(0x292)]&&!!_0x29646c&&_0x29646c[_0x29de67(0x252)]>0x1&&this[_0x29de67(0x2ba)];}[_0x1476db(0x20f)](){const _0x36ccc3=_0x1476db;return this[_0x36ccc3(0x241)][_0x36ccc3(0x252)]>0x0||this[_0x36ccc3(0x2c1)]();}}export default l;class Q extends Error{}function X(_0x2484b2,_0x34f76e){const _0x10c9cf=_0x1476db;for(const _0x19980d of _0x2484b2)_0x19980d[_0x10c9cf(0x1f7)]=_0x34f76e++;}class Y{[_0x1476db(0x202)];[_0x1476db(0x21e)];constructor(_0xac231f){const _0x180446=_0x1476db;this[_0x180446(0x202)]=_0xac231f,this[_0x180446(0x21e)]=new WeakMap();}[_0x1476db(0x237)](_0x2d5b5c){const _0x57af43=_0x1476db;let _0x5b653a=_0x2d5b5c[_0x57af43(0x252)];for(;_0x5b653a--;){const _0x326494=_0x2d5b5c[_0x5b653a];if(!this[_0x57af43(0x202)][_0x57af43(0x214)](_0x326494)){if(!this[_0x57af43(0x21e)][_0x57af43(0x214)](_0x326494)){const _0x3a9f31=_0x1bff2c()[_0x57af43(0x2c7)](0x1,0x12);this[_0x57af43(0x21e)][_0x57af43(0x271)](_0x326494,_0x3a9f31);}return this[_0x57af43(0x21e)][_0x57af43(0x268)](_0x326494);}}}[_0x1476db(0x1e8)](_0x254aa1,_0x1248d8){const _0x118a17=_0x1476db;if(!_0x1248d8)return;let _0x56e33c=_0x254aa1[_0x118a17(0x252)];for(;_0x56e33c--;){const _0xa70660=_0x254aa1[_0x56e33c];this[_0x118a17(0x202)][_0x118a17(0x214)](_0xa70660)||this[_0x118a17(0x21e)][_0x118a17(0x271)](_0xa70660,_0x1248d8);}}}function _0x47a6(){const _0x481bcf=['_shouldSendSelectionUpdate','connect','addOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connection','realtimecollaborationclient-sendbufferedoperations','slice','mySessionId','getRoot','applyOperation','filter','decompress','define','ready','_sendBufferedOperations','startsWith','change:range','createPositionFromPath','setPermissions','plugins','userId','PENDING_ACTION_SENDING_DATA','sendOperations','selection','createdAt','realtimecollaborationclient-init-document-already-initialized','sessionCreatedAt','lastSyncVersion','rtc-destroyed','_handleReconnectionError','push','permissions','190947yxvjWN','reconnect','disableReadOnlyMode','_initSessionsHandling','_refreshUserSelectionMarkers','version','document','_decompressOperations','RealTimeCollaborationClient','cloudServices.bundleVersion','setIdForTheLastOperation','_service','_crash','multi-root-editor-root-attributes-no-root','_handleServerResponse','marker','3746722nzYdkl','_isEditingAllowed','_sendBufferedOperationsDelayed','_getAffectedRoot','Synchronization\x20issue','rootName','_baseBufferDelay','collaboration.channelId','stopListening','baseVersion','history','editing','reset','_isAttached','editor','change:hasDomSelection','isUndoneOperation','wereChangesApplied','_loadRoot','high','_ignoredOperations','size','cloud-services-internal-error:\x20Not\x20connected.','enqueueChange','map','round','document:write','_bufferRootLoad','init','_document','model','unregister','off','_shouldSendUpdate','realtimecollaborationclient','wasUndone','directChange','collaboration-missing-channelid','has','_compressor','keys','_compressOperations','_isPendingUpdate','removeFromReconnectionStack','_hasSynchronizationProblem','root','targetPosition','_isConnected','_operationToId','createUserMarkerOperations','start','disconnect','_connectService','end','_isInit','getOperations','2917338YfuAuN','channelSessions','_pendingAction','offset','attributes','InsertOperation','getMany','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-service-internal-error','_initThrowingOnDataSet','_connectAfterSessionHasBeenFlushed','CollaborativeEditingService','real-time-collaboration','getDocumentDetails','change:_isPendingUpdate','createRange','destroy','getIdOfTheLastOperation','return','isDocumentOperation','enableReadOnlyMode','rootsAttributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRoot','isOfficialPlugin','_handleExternalOperations','_currentBufferDelay','_bufferedOperations','_sendBufferedOperationsDelayId','_operationIdentifier','differ','_setPendingAction','cs:removeUser','929192ULOVFI','_saveOperationInBuffer','state','clone','sessionAdd:','_authorId','_updateServerHistory','message','string','_handleInitialConnectionData','getOperationAuthor','length','_channelId','view','addUser','currentDocumentSession','entries','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastDocumentSession','_lastSyncedOperationId','_getOperationsFromInitData','insert','newRange','register','isEnabled','_handleReceivedOperations','position','change:_isEditingAllowed','_addKnownRoot','_setUpDataInit','move','_fetchMissingUsers','realtimecollaborationclient-init-session-connection-error','get','collaboration','addToReconnectionStack','apply','rtc-offline','locale','from','_isLoaded','_applyOperationsSet','set','serverHistory','_handleSendingSelectionMarkers','realtimecollaborationclient-error','_offset','affectsData','reconnection:\x20flushed\x20session','roots','error','404','addRootAttribute','batch','_waitUntilSynced','code','markers','createRoot','stop','CommentsOnly','realtimecollaborationclient-handleserverresponse','includes','_isDisconnection','then','cloudDocumentVersion','initData','metadata','parse','_handleReconnectionResponse','lastOperationId','sessionId','remove','lastOperationAcceptedAt','affectedSelectable','catch','isReadOnly','add','pluginName','getConnectedSessions','finally','_knownRootNames','path','fire','fromJSON','409','cloud-services-internal-error:\x20Request\x20timeout.','$root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','showWarning','toJSON','realtimecollaborationclient-init-non-existent-root','listenTo','config','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','forEach','data','type','_disconnectService','realtimecollaborationclient-init-service-incorrect-server-operation','_lastServerVersion','_disconnectionOperations','Notification','isPremiumPlugin','2751480TXBQFc','95479gflPFd','Permissions','_knownOperations','connected','bind','loadRoot','_clearPendingAction','operationsReceived','getUser','suppressErrorInCollaboration','_hasSelectionChanged','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnected','createPositionAt','1579460eAdmtJ','requires','__className'];_0x47a6=function(){return _0x481bcf;};return _0x47a6();}