@ckeditor/ckeditor5-real-time-collaboration 43.3.0-alpha.1 → 43.3.0-alpha.3

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 (168) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/common-translations.js +1 -1
  149. package/src/index.js +1 -1
  150. package/src/presencelist/presencelistui.js +1 -1
  151. package/src/presencelist/view/presencecounterview.js +1 -1
  152. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  153. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  154. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  155. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  156. package/src/presencelist/view/presencelistview.js +1 -1
  157. package/src/presencelist.js +1 -1
  158. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
  159. package/src/realtimecollaborativecomments.js +1 -1
  160. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
  161. package/src/realtimecollaborativeediting/sessions.js +1 -1
  162. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  163. package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
  164. package/src/realtimecollaborativeediting.js +1 -1
  165. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
  166. package/src/realtimecollaborativerevisionhistory.js +1 -1
  167. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
  168. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fcc7d=_0x1e59;(function(_0x2d741a,_0x44c760){const _0x4635ce=_0x1e59,_0x3db5dd=_0x2d741a();while(!![]){try{const _0x3051e3=parseInt(_0x4635ce(0x100))/0x1*(-parseInt(_0x4635ce(0xd9))/0x2)+-parseInt(_0x4635ce(0x10f))/0x3*(-parseInt(_0x4635ce(0xdf))/0x4)+-parseInt(_0x4635ce(0x126))/0x5+-parseInt(_0x4635ce(0xf9))/0x6*(-parseInt(_0x4635ce(0x115))/0x7)+parseInt(_0x4635ce(0xe1))/0x8*(-parseInt(_0x4635ce(0x106))/0x9)+-parseInt(_0x4635ce(0x11f))/0xa*(parseInt(_0x4635ce(0x128))/0xb)+parseInt(_0x4635ce(0x103))/0xc;if(_0x3051e3===_0x44c760)break;else _0x3db5dd['push'](_0x3db5dd['shift']());}catch(_0xea39cc){_0x3db5dd['push'](_0x3db5dd['shift']());}}}(_0x58dd,0x30723));import{Context as _0x33a863,ContextPlugin as _0x3906ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x49256e}from'ckeditor5/src/utils.js';import{Users as _0x359e1a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x43b9f8,User as _0x3b2053}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xf3cbc4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x419264 from'../realtimecollaborativeediting/sessions.js';class a extends _0x3906ef{static get[_0x2fcc7d(0x131)](){const _0x2bb4ff=_0x2fcc7d;return[_0xf3cbc4,_0x2bb4ff(0x10e),_0x419264,_0x359e1a];}static get[_0x2fcc7d(0x123)](){const _0x3258e7=_0x2fcc7d;return _0x3258e7(0xd2);}static get[_0x2fcc7d(0xfa)](){return!0x0;}static get[_0x2fcc7d(0xf3)](){return!0x0;}constructor(_0xbf805a){const _0x3c8a46=_0x2fcc7d;super(_0xbf805a),this[_0x3c8a46(0xcf)]=new Map();}async[_0x2fcc7d(0x12d)](){const _0xa91dca=_0x2fcc7d,_0x55f3ae=this[_0xa91dca(0x110)],_0x518201=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xa91dca(0x10e));if(_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0xf3cbc4)[_0xa91dca(0x125)](this),_0x518201[_0xa91dca(0x11d)]={'addCommentThread':async({channelId:_0x285a36,threadId:_0x180e18,comments:_0x53c112,resolvedAt:_0x1cf34b,resolvedBy:_0x2a4dbf,context:_0x44b73b,attributes:_0x20bd6f})=>{const _0x4f76b5=_0xa91dca,_0x3f4247=await this[_0x4f76b5(0x102)](_0x285a36)[_0x4f76b5(0x114)]({'commentThreadId':_0x180e18,'comments':_0x53c112[_0x4f76b5(0x12f)](_0x5b1e77=>function(_0x4d0854,_0xe30b9e,_0x171b74){const _0x23464d=_0x4f76b5;return{'commentThreadId':_0x171b74,'commentId':_0x4d0854[_0x23464d(0xda)],'userId':_0x4d0854[_0x23464d(0xdc)],'content':_0x4d0854[_0x23464d(0xfc)],'documentId':_0xe30b9e,'createdAt':_0x4d0854[_0x23464d(0xf2)],'attributes':_0x4d0854[_0x23464d(0x109)]||{}};}(_0x5b1e77,_0x285a36,_0x180e18)),'resolvedAt':_0x1cf34b,'resolvedBy':_0x2a4dbf,'context':_0x44b73b,'attributes':_0x20bd6f})[_0x4f76b5(0xeb)](w);return{'threadId':_0x3f4247[_0x4f76b5(0x101)],'comments':_0x3f4247[_0x4f76b5(0xd3)]};},'getCommentThread':async({channelId:_0x212397,threadId:_0x2bf50a})=>{const _0x237006=_0xa91dca,_0x4968f1=await this[_0x237006(0x102)](_0x212397)[_0x237006(0xec)](_0x2bf50a)[_0x237006(0xeb)](w);return _0x4968f1[_0x237006(0xf4)]?null:(await this[_0x237006(0xf6)]([_0x4968f1]),{'threadId':_0x4968f1[_0x237006(0x101)],'comments':_0x4968f1[_0x237006(0xd3)][_0x237006(0x12f)](b),'context':_0x4968f1[_0x237006(0x110)],'resolvedAt':_0x4968f1[_0x237006(0xf1)],'resolvedBy':_0x4968f1[_0x237006(0x121)],'attributes':_0x4968f1[_0x237006(0x109)]||{}});},'updateCommentThread':async({channelId:_0x158a57,threadId:_0x21ca6d,context:_0x4cab3f,unlinkedAt:_0x279d6e,attributes:_0x2fbb21})=>this[_0xa91dca(0x102)](_0x158a57)[_0xa91dca(0xf0)]({'commentThreadId':_0x21ca6d,'context':_0x4cab3f,'attributes':_0x2fbb21,'unlinkedAt':_0x279d6e})[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'resolveCommentThread':async({channelId:_0x3904a0,threadId:_0x116d79})=>{const _0x2d3248=_0xa91dca,_0x1d0f77=await this[_0x2d3248(0x102)](_0x3904a0)[_0x2d3248(0xd1)](_0x116d79)[_0x2d3248(0xeb)](y)[_0x2d3248(0xeb)](w);return{'threadId':_0x1d0f77[_0x2d3248(0x101)],'resolvedAt':_0x1d0f77[_0x2d3248(0xf1)],'resolvedBy':_0x1d0f77[_0x2d3248(0x121)]};},'reopenCommentThread':async({channelId:_0x56cf5e,threadId:_0x3fa5e6})=>this[_0xa91dca(0x102)](_0x56cf5e)[_0xa91dca(0x122)](_0x3fa5e6)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeCommentThread':({channelId:_0x16fb0f,threadId:_0x5c45d2})=>this[_0xa91dca(0x102)](_0x16fb0f)[_0xa91dca(0xef)](_0x5c45d2)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'addComment':({channelId:_0x13940b,threadId:_0x467a2e,commentId:_0x4092e0,content:_0x31e46f,attributes:_0xa9e4c0})=>this[_0xa91dca(0x102)](_0x13940b)[_0xa91dca(0xe7)](_0x467a2e,_0x4092e0,_0x31e46f,_0xa9e4c0)[_0xa91dca(0xeb)](w),'updateComment':({channelId:_0x3802fe,threadId:_0x5a2697,commentId:_0x269c73,content:_0x139643,attributes:_0x214192})=>this[_0xa91dca(0x102)](_0x3802fe)[_0xa91dca(0x107)](_0x5a2697,_0x269c73,_0x139643,_0x214192)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w),'removeComment':({channelId:_0x3c10a8,threadId:_0x5d5eed,commentId:_0x5d300f})=>this[_0xa91dca(0x102)](_0x3c10a8)[_0xa91dca(0x11e)](_0x5d5eed,_0x5d300f)[_0xa91dca(0xeb)](y)[_0xa91dca(0xeb)](w)},_0x55f3ae instanceof _0x33a863){const _0x44de62=_0x55f3ae[_0xa91dca(0x120)][_0xa91dca(0xff)](_0xa91dca(0x12e)),_0x113fe8=_0x55f3ae[_0xa91dca(0x10a)][_0xa91dca(0xff)](_0x419264);await this[_0xa91dca(0x108)](_0x44de62);const _0x1eac52=await this[_0xa91dca(0xcf)][_0xa91dca(0xff)](_0x44de62)[_0xa91dca(0x116)]();this[_0xa91dca(0xd8)](_0x113fe8,_0xa91dca(0xd0)+_0x44de62,(_0x2b7f73,{session:_0x3640bd})=>{const _0x24284c=_0xa91dca;_0x3640bd['id']===_0x113fe8[_0x24284c(0x129)]&&(_0x2b7f73[_0x24284c(0xfb)](),this[_0x24284c(0x110)][_0x24284c(0x10a)][_0x24284c(0xff)](_0x24284c(0x10b))[_0x24284c(0xd4)](_0x3640bd[_0x24284c(0x119)],_0x44de62));}),_0x113fe8[_0xa91dca(0xfd)](_0x44de62,_0x1eac52);}}async[_0x2fcc7d(0x108)](_0x494023){const _0x180d87=_0x2fcc7d;if(this[_0x180d87(0xcf)][_0x180d87(0x134)](_0x494023))throw new _0x49256e(_0x180d87(0xe8),null,{'channelId':_0x494023});const _0x1bd2ce=this[_0x180d87(0x110)][_0x180d87(0x10a)][_0x180d87(0xff)](_0x180d87(0x10e)),_0x583259=new a[(_0x180d87(0xd7))](_0x494023);this[_0x180d87(0xcf)][_0x180d87(0x12b)](_0x494023,_0x583259),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x136),(_0x5573a7,_0x4db20d)=>{const _0x4622e4=_0x180d87,{commentThreadId:_0x59ddd4,documentId:_0x537ef2,context:_0x497d28,attributes:_0x52018d,resolvedAt:_0x3287c4,resolvedBy:_0x368ddf,comments:_0x920785}=_0x4db20d;_0x1bd2ce[_0x4622e4(0xec)](_0x59ddd4)||_0x1bd2ce[_0x4622e4(0x114)]({'threadId':_0x59ddd4,'channelId':_0x537ef2,'comments':_0x920785?_0x920785[_0x4622e4(0x12f)](b):[],'context':_0x497d28,'attributes':_0x52018d,'resolvedAt':_0x3287c4,'resolvedBy':_0x368ddf,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x12a),(_0x42b814,{commentThreadId:_0x506be7,documentId:_0xa1960d,context:_0x5c714c,unlinkedAt:_0x44b3d3,attributes:_0x3509d8})=>{const _0x517989=_0x180d87;_0x1bd2ce[_0x517989(0xec)](_0x506be7)&&_0x1bd2ce[_0x517989(0xf0)]({'threadId':_0x506be7,'channelId':_0xa1960d,'context':_0x5c714c,'unlinkedAt':_0x44b3d3,'attributes':_0x3509d8,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xf7),(_0x25e0e0,{commentThreadId:_0x5cdf1f,resolvedBy:_0x2994bc,resolvedAt:_0x5445a6})=>{const _0x56e136=_0x180d87,_0xae95a5=_0x1bd2ce[_0x56e136(0xec)](_0x5cdf1f);_0xae95a5&&_0xae95a5[_0x56e136(0x10c)]({'resolvedBy':_0x2994bc,'resolvedAt':_0x5445a6,'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x104),(_0x37848c,{commentThreadId:_0x40d7cb})=>{const _0x5ed345=_0x180d87,_0x1051ae=_0x1bd2ce[_0x5ed345(0xec)](_0x40d7cb);_0x1051ae&&_0x1051ae[_0x5ed345(0x105)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11b),(_0x1f8cfd,{commentThreadId:_0x36186a})=>{const _0x40760b=_0x180d87,_0xa99bce=_0x1bd2ce[_0x40760b(0xec)](_0x36186a);_0xa99bce&&_0xa99bce[_0x40760b(0x135)]({'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xd6),(_0x54831c,_0x5465e0)=>{const _0x441b00=_0x180d87,_0x45805f=_0x5465e0[_0x441b00(0x101)],_0x459573=_0x1bd2ce[_0x441b00(0xec)](_0x45805f);_0x459573&&_0x459573[_0x441b00(0xe7)]({...b(_0x5465e0),'isFromAdapter':!0x0});}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0xe9),(_0x4e401c,{commentThreadId:_0x52aad5,commentId:_0x1064cf,content:_0x4e92ba,attributes:_0x324a0b})=>{const _0x328b29=_0x180d87,_0x5e7bf0=_0x1bd2ce[_0x328b29(0xec)](_0x52aad5);if(_0x5e7bf0){const _0x6130b=_0x5e7bf0[_0x328b29(0xf5)](_0x1064cf);_0x6130b&&_0x6130b[_0x328b29(0xe5)]({'content':_0x4e92ba,'attributes':_0x324a0b,'isFromAdapter':!0x0});}}),this[_0x180d87(0xd8)](_0x583259,_0x180d87(0x11a),(_0x11bf59,{commentThreadId:_0x25d45f,commentId:_0x46a5e1})=>{const _0x4c3cec=_0x180d87,_0x27478c=_0x1bd2ce[_0x4c3cec(0xec)](_0x25d45f);if(_0x27478c){const _0x4905d5=_0x27478c[_0x4c3cec(0xf5)](_0x46a5e1);_0x4905d5&&_0x4905d5[_0x4c3cec(0x135)]({'isFromAdapter':!0x0});}}),await this[_0x180d87(0xfe)](_0x494023);}[_0x2fcc7d(0xdd)](){const _0x553f0e=_0x2fcc7d;if(this[_0x553f0e(0x110)]instanceof _0x33a863){const _0x15e863=this[_0x553f0e(0x110)][_0x553f0e(0x120)][_0x553f0e(0xff)](_0x553f0e(0x12e));this[_0x553f0e(0xdb)](_0x15e863);}}[_0x2fcc7d(0xdb)](_0x4ebca0){const _0x4911b3=_0x2fcc7d;if(!this[_0x4911b3(0xcf)][_0x4911b3(0x134)](_0x4ebca0))throw new _0x49256e(_0x4911b3(0xd5),null,{'channelId':_0x4ebca0});this[_0x4911b3(0x102)](_0x4ebca0)[_0x4911b3(0x12c)](),this[_0x4911b3(0xcf)][_0x4911b3(0x10d)](_0x4ebca0);}async[_0x2fcc7d(0xe3)](){const _0x4d8f79=_0x2fcc7d;for(const _0x421969 of this[_0x4d8f79(0xcf)][_0x4d8f79(0x130)]())await this[_0x4d8f79(0xfe)](_0x421969);if(this[_0x4d8f79(0x110)]instanceof _0x33a863){const _0x29ab1a=this[_0x4d8f79(0x110)][_0x4d8f79(0x120)][_0x4d8f79(0xff)](_0x4d8f79(0x12e)),_0x79c67=this[_0x4d8f79(0x110)][_0x4d8f79(0x10a)][_0x4d8f79(0xff)](_0x419264);_0x79c67[_0x4d8f79(0x127)](_0x29ab1a);const _0x40ee6c=await this[_0x4d8f79(0xcf)][_0x4d8f79(0xff)](_0x29ab1a)[_0x4d8f79(0x116)]();_0x79c67[_0x4d8f79(0xfd)](_0x29ab1a,_0x40ee6c);}}async[_0x2fcc7d(0xfe)](_0x18ace3){const _0x5a03e7=_0x2fcc7d,{connection:_0xad85c8}=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0xf3cbc4),_0x9f0908=this[_0x5a03e7(0x110)][_0x5a03e7(0x10a)][_0x5a03e7(0xff)](_0x5a03e7(0x10e)),_0x2fa5eb=this[_0x5a03e7(0xcf)][_0x5a03e7(0xff)](_0x18ace3),_0x48f417=await _0x2fa5eb[_0x5a03e7(0x111)](_0xad85c8);await this[_0x5a03e7(0xf6)](_0x48f417);const _0x41e59c=new Set(Array[_0x5a03e7(0x11c)](_0x9f0908[_0x5a03e7(0xde)]({'channelId':_0x18ace3}),_0x5dcfc6=>_0x5dcfc6['id']));for(const _0x1ef9d9 of _0x48f417)_0x1ef9d9[_0x5a03e7(0xf4)]||_0x41e59c[_0x5a03e7(0x10d)](_0x1ef9d9[_0x5a03e7(0x101)]);for(const _0x26229f of _0x41e59c)_0x9f0908[_0x5a03e7(0xec)](_0x26229f)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x576606 of _0x48f417){let _0x3217c0=_0x9f0908[_0x5a03e7(0xec)](_0x576606[_0x5a03e7(0x101)]);const {commentThreadId:_0x27be9f,context:_0x1c4bb5,attributes:_0x3f3525,resolvedBy:_0x4a5868,resolvedAt:_0x4a1845,unlinkedAt:_0x30e892,deletedAt:_0x15dc1a}=_0x576606;if(_0x15dc1a)continue;_0x3217c0||(_0x3217c0=_0x9f0908[_0x5a03e7(0x114)]({'channelId':_0x18ace3,'threadId':_0x27be9f,'context':_0x1c4bb5,'attributes':_0x3f3525||{},'resolvedBy':_0x4a5868,'resolvedAt':_0x4a1845,'unlinkedAt':_0x30e892,'isFromAdapter':!0x0}));const _0x5c8941=new Set(Array[_0x5a03e7(0x11c)](_0x3217c0[_0x5a03e7(0xd3)],_0x3c370c=>_0x3c370c['id']));for(const _0x10fa8f of _0x576606[_0x5a03e7(0xd3)])_0x5c8941[_0x5a03e7(0x10d)](_0x10fa8f[_0x5a03e7(0xda)]);for(const _0x2fc551 of _0x5c8941)_0x3217c0[_0x5a03e7(0xf5)](_0x2fc551)[_0x5a03e7(0x135)]({'isFromAdapter':!0x0});for(const _0x4a9dc7 of _0x576606[_0x5a03e7(0xd3)]){const _0x1b5943=_0x3217c0[_0x5a03e7(0xf5)](_0x4a9dc7[_0x5a03e7(0xda)]);_0x1b5943?_0x1b5943[_0x5a03e7(0xfc)]!==_0x4a9dc7[_0x5a03e7(0xfc)]&&_0x1b5943[_0x5a03e7(0xe5)]({'content':_0x4a9dc7[_0x5a03e7(0xfc)],'isFromAdapter':!0x0}):_0x3217c0[_0x5a03e7(0xe7)](Object[_0x5a03e7(0xea)](b(_0x4a9dc7),{'isFromAdapter':!0x0}));}}}[_0x2fcc7d(0x102)](_0x3d792a){const _0x4417b2=_0x2fcc7d;if(!this[_0x4417b2(0xcf)][_0x4417b2(0x134)](_0x3d792a))throw new _0x49256e(_0x4417b2(0xe4),null,{'channelId':_0x3d792a});return this[_0x4417b2(0xcf)][_0x4417b2(0xff)](_0x3d792a);}async[_0x2fcc7d(0xf6)](_0x59f631){const _0x556d92=_0x2fcc7d,_0x48d6c8=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0x359e1a),{connection:_0xfbb839}=this[_0x556d92(0x110)][_0x556d92(0x10a)][_0x556d92(0xff)](_0xf3cbc4),_0x140ffa=new Set();for(const {resolvedBy:_0x49b5a3,comments:_0x57731d}of _0x59f631){_0x49b5a3&&!_0x48d6c8[_0x556d92(0x112)](_0x49b5a3)&&_0x140ffa[_0x556d92(0xe6)](_0x49b5a3);for(const {userId:_0x1a7206}of _0x57731d)_0x48d6c8[_0x556d92(0x112)](_0x1a7206)||_0x140ffa[_0x556d92(0xe6)](_0x1a7206);}if(0x0===_0x140ffa[_0x556d92(0x124)])return;const _0x32139a=await _0x3b2053[_0x556d92(0x132)](_0xfbb839,Array[_0x556d92(0x11c)](_0x140ffa));for(const _0x4c7913 of _0x32139a)_0x48d6c8[_0x556d92(0x112)](_0x4c7913['id'])||_0x48d6c8[_0x556d92(0xf8)](_0x4c7913);}}a[_0x2fcc7d(0xd7)]=_0x43b9f8;function _0x58dd(){const _0x4989b4=['55SILqVr','mySessionId','commentThreadUpdated','set','disconnect','init','collaboration.channelId','map','keys','requires','getMany','cloud-services-internal-error:\x20Request\x20timeout.','has','remove','commentThreadAdded','_services','sessionAdd:','resolveCommentThread','CloudServicesCommentsAdapter','comments','setPermissions','cloudservicescommentsadapter-disconnect-not-exist','commentAdded','CommentsService','listenTo','126038ErOTVS','commentId','_terminateService','authorId','destroy','getCommentThreads','55612POjzcs','cloud-services-internal-error:\x20Not\x20connected.','270768PWvdAi','code','reconnect','cloudservicescommentsadapter-service-not-exist','update','add','addComment','cloudservicescommentsadapter-connect-already-connected','commentUpdated','assign','catch','getCommentThread','404','startsWith','removeCommentThread','updateCommentThread','resolvedAt','createdAt','isPremiumPlugin','deletedAt','getComment','_fetchMissingUsersForThreads','commentThreadResolved','addUser','3192ICzfss','isOfficialPlugin','off','content','register','_connectService','get','1ysTEyd','commentThreadId','_getService','7743072bziSeW','commentThreadReopened','reopen','63vtJMTY','updateComment','_setUpService','attributes','plugins','Permissions','resolve','delete','CommentsRepository','69NqcVgf','context','connect','getUser','message','addCommentThread','105mCoNzf','getConnectedSessions','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','commentRemoved','commentThreadRemoved','from','adapter','removeComment','335290YkXKkN','config','resolvedBy','reopenCommentThread','pluginName','size','addToReconnectionStack','1534920oxgLVa','unregister'];_0x58dd=function(){return _0x4989b4;};return _0x58dd();}export default a;function _0x1e59(_0x408487,_0x1d00c0){const _0x58dd74=_0x58dd();return _0x1e59=function(_0x1e597c,_0x15d515){_0x1e597c=_0x1e597c-0xcf;let _0x11752f=_0x58dd74[_0x1e597c];return _0x11752f;},_0x1e59(_0x408487,_0x1d00c0);}async function y(_0x33a3cd){const _0x40b0ae=_0x2fcc7d;if(_0x40b0ae(0xed)!==_0x33a3cd[_0x40b0ae(0xe2)])throw _0x33a3cd;}function w(_0x152ab8){const _0x32a6f6=_0x2fcc7d;if((_0x30519b=_0x152ab8)[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x118))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0xe0))||_0x30519b[_0x32a6f6(0x113)][_0x32a6f6(0xee)](_0x32a6f6(0x133)))return new Promise(()=>{});var _0x30519b;throw _0x152ab8;}function b(_0x1d13eb){const _0x23e601=_0x2fcc7d;return{'threadId':_0x1d13eb[_0x23e601(0x101)],'commentId':_0x1d13eb[_0x23e601(0xda)],'content':_0x1d13eb[_0x23e601(0xfc)],'createdAt':_0x1d13eb[_0x23e601(0xf2)],'authorId':_0x1d13eb[_0x23e601(0x117)],'attributes':_0x1d13eb[_0x23e601(0x109)]||{}};}
23
+ const _0x55d6df=_0x3121;(function(_0xc2b7c6,_0x151cae){const _0x4a52f2=_0x3121,_0x1d5892=_0xc2b7c6();while(!![]){try{const _0x22e630=-parseInt(_0x4a52f2(0xd9))/0x1*(-parseInt(_0x4a52f2(0xf0))/0x2)+parseInt(_0x4a52f2(0xe1))/0x3*(-parseInt(_0x4a52f2(0xe9))/0x4)+parseInt(_0x4a52f2(0xd0))/0x5*(parseInt(_0x4a52f2(0xe3))/0x6)+-parseInt(_0x4a52f2(0xd5))/0x7*(parseInt(_0x4a52f2(0xa8))/0x8)+parseInt(_0x4a52f2(0xbb))/0x9*(parseInt(_0x4a52f2(0xf2))/0xa)+-parseInt(_0x4a52f2(0x9b))/0xb+parseInt(_0x4a52f2(0xb3))/0xc;if(_0x22e630===_0x151cae)break;else _0x1d5892['push'](_0x1d5892['shift']());}catch(_0x6fdceb){_0x1d5892['push'](_0x1d5892['shift']());}}}(_0x4d32,0xdacc6));import{Context as _0x146c78,ContextPlugin as _0x3c7ec1}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e6679}from'ckeditor5/src/utils.js';import{Users as _0x472d76}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x43c497,User as _0x35f639}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x28def from'../realtimecollaborativeediting/websocketgateway.js';import _0x395d5b from'../realtimecollaborativeediting/sessions.js';class a extends _0x3c7ec1{static get[_0x55d6df(0xad)](){const _0x495e53=_0x55d6df;return[_0x28def,_0x495e53(0x95),_0x395d5b,_0x472d76];}static get[_0x55d6df(0xc1)](){const _0x26fc97=_0x55d6df;return _0x26fc97(0xc0);}static get[_0x55d6df(0xa7)](){return!0x0;}static get[_0x55d6df(0xe8)](){return!0x0;}constructor(_0x4387c0){const _0x2f19ce=_0x55d6df;super(_0x4387c0),this[_0x2f19ce(0xc3)]=new Map();}async[_0x55d6df(0x9c)](){const _0x303f4f=_0x55d6df,_0x358d35=this[_0x303f4f(0xdb)],_0x13db1e=_0x358d35[_0x303f4f(0xab)][_0x303f4f(0xd2)](_0x303f4f(0x95));if(_0x358d35[_0x303f4f(0xab)][_0x303f4f(0xd2)](_0x28def)[_0x303f4f(0xb4)](this),_0x13db1e[_0x303f4f(0xa9)]={'addCommentThread':async({channelId:_0x5db07d,threadId:_0x2c115e,comments:_0x107b70,resolvedAt:_0xadcf06,resolvedBy:_0x207d93,context:_0x1b0e3a,attributes:_0x565490})=>{const _0x5b4352=_0x303f4f,_0x5862db=await this[_0x5b4352(0xaa)](_0x5db07d)[_0x5b4352(0xa6)]({'commentThreadId':_0x2c115e,'comments':_0x107b70[_0x5b4352(0xb6)](_0x2ab835=>function(_0x410828,_0x5d5508,_0x547cb3){const _0x57693d=_0x5b4352;return{'commentThreadId':_0x547cb3,'commentId':_0x410828[_0x57693d(0xb0)],'userId':_0x410828[_0x57693d(0xcb)],'content':_0x410828[_0x57693d(0xd6)],'documentId':_0x5d5508,'createdAt':_0x410828[_0x57693d(0xf5)],'attributes':_0x410828[_0x57693d(0x9f)]||{}};}(_0x2ab835,_0x5db07d,_0x2c115e)),'resolvedAt':_0xadcf06,'resolvedBy':_0x207d93,'context':_0x1b0e3a,'attributes':_0x565490})[_0x5b4352(0xd1)](R);return{'threadId':_0x5862db[_0x5b4352(0xbe)],'comments':_0x5862db[_0x5b4352(0x92)]};},'getCommentThread':async({channelId:_0x35d3ca,threadId:_0x57106a})=>{const _0xa6efe4=_0x303f4f,_0x541418=await this[_0xa6efe4(0xaa)](_0x35d3ca)[_0xa6efe4(0xc8)](_0x57106a)[_0xa6efe4(0xd1)](R);return _0x541418[_0xa6efe4(0xa2)]?null:(await this[_0xa6efe4(0xb8)]([_0x541418]),{'threadId':_0x541418[_0xa6efe4(0xbe)],'comments':_0x541418[_0xa6efe4(0x92)][_0xa6efe4(0xb6)](S),'context':_0x541418[_0xa6efe4(0xdb)],'resolvedAt':_0x541418[_0xa6efe4(0xde)],'resolvedBy':_0x541418[_0xa6efe4(0x97)],'attributes':_0x541418[_0xa6efe4(0x9f)]||{}});},'updateCommentThread':async({channelId:_0x37dce8,threadId:_0x3815f5,context:_0x162fdd,unlinkedAt:_0x428eed,attributes:_0x3c389a})=>this[_0x303f4f(0xaa)](_0x37dce8)[_0x303f4f(0xca)]({'commentThreadId':_0x3815f5,'context':_0x162fdd,'attributes':_0x3c389a,'unlinkedAt':_0x428eed})[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'resolveCommentThread':async({channelId:_0x26929e,threadId:_0x4984b7})=>{const _0x2a1d6b=_0x303f4f,_0x418e25=await this[_0x2a1d6b(0xaa)](_0x26929e)[_0x2a1d6b(0xd4)](_0x4984b7)[_0x2a1d6b(0xd1)](B)[_0x2a1d6b(0xd1)](R);return{'threadId':_0x418e25[_0x2a1d6b(0xbe)],'resolvedAt':_0x418e25[_0x2a1d6b(0xde)],'resolvedBy':_0x418e25[_0x2a1d6b(0x97)]};},'reopenCommentThread':async({channelId:_0x60ade8,threadId:_0x97d9fe})=>this[_0x303f4f(0xaa)](_0x60ade8)[_0x303f4f(0xc4)](_0x97d9fe)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'removeCommentThread':({channelId:_0x3b6dce,threadId:_0x5748dc})=>this[_0x303f4f(0xaa)](_0x3b6dce)[_0x303f4f(0xc7)](_0x5748dc)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'addComment':({channelId:_0x59846a,threadId:_0x2d2880,commentId:_0x51adc5,content:_0x1f3729,attributes:_0x205258})=>this[_0x303f4f(0xaa)](_0x59846a)[_0x303f4f(0xf1)](_0x2d2880,_0x51adc5,_0x1f3729,_0x205258)[_0x303f4f(0xd1)](R),'updateComment':({channelId:_0x38598c,threadId:_0x38e935,commentId:_0x3ef258,content:_0x4c6e19,attributes:_0x2d2308})=>this[_0x303f4f(0xaa)](_0x38598c)[_0x303f4f(0xcf)](_0x38e935,_0x3ef258,_0x4c6e19,_0x2d2308)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R),'removeComment':({channelId:_0x33496c,threadId:_0x23979b,commentId:_0x4b34f9})=>this[_0x303f4f(0xaa)](_0x33496c)[_0x303f4f(0xaf)](_0x23979b,_0x4b34f9)[_0x303f4f(0xd1)](B)[_0x303f4f(0xd1)](R)},_0x358d35 instanceof _0x146c78){const _0x24b59a=_0x358d35[_0x303f4f(0xe6)][_0x303f4f(0xd2)](_0x303f4f(0xf3)),_0xf9df9c=_0x358d35[_0x303f4f(0xab)][_0x303f4f(0xd2)](_0x395d5b);await this[_0x303f4f(0xef)](_0x24b59a);const _0xa2eef5=await this[_0x303f4f(0xc3)][_0x303f4f(0xd2)](_0x24b59a)[_0x303f4f(0x98)]();this[_0x303f4f(0xe5)](_0xf9df9c,_0x303f4f(0xeb)+_0x24b59a,(_0x51cf67,{session:_0x27c59c})=>{const _0x377111=_0x303f4f;_0x27c59c['id']===_0xf9df9c[_0x377111(0x99)]&&(_0x51cf67[_0x377111(0xe0)](),this[_0x377111(0xdb)][_0x377111(0xab)][_0x377111(0xd2)](_0x377111(0xdc))[_0x377111(0xb9)](_0x27c59c[_0x377111(0xcc)],_0x24b59a));}),_0xf9df9c[_0x303f4f(0xc6)](_0x24b59a,_0xa2eef5);}}async[_0x55d6df(0xef)](_0x28ef9d){const _0x11378d=_0x55d6df;if(this[_0x11378d(0xc3)][_0x11378d(0xf9)](_0x28ef9d))throw new _0x4e6679(_0x11378d(0xbd),null,{'channelId':_0x28ef9d});const _0x1b6dbb=this[_0x11378d(0xdb)][_0x11378d(0xab)][_0x11378d(0xd2)](_0x11378d(0x95)),_0x5224ca=new a[(_0x11378d(0xea))](_0x28ef9d);this[_0x11378d(0xc3)][_0x11378d(0xe4)](_0x28ef9d,_0x5224ca),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xbc),(_0x11ed3a,_0x45223c)=>{const _0x74ba27=_0x11378d,{commentThreadId:_0x20db50,documentId:_0x4a2d08,context:_0x375fca,attributes:_0x562fcd,resolvedAt:_0x1a3ed0,resolvedBy:_0x56e105,comments:_0x1081c6}=_0x45223c;_0x1b6dbb[_0x74ba27(0xc8)](_0x20db50)||_0x1b6dbb[_0x74ba27(0xa6)]({'threadId':_0x20db50,'channelId':_0x4a2d08,'comments':_0x1081c6?_0x1081c6[_0x74ba27(0xb6)](S):[],'context':_0x375fca,'attributes':_0x562fcd,'resolvedAt':_0x1a3ed0,'resolvedBy':_0x56e105,'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0x9e),(_0x47decc,{commentThreadId:_0x41aa68,documentId:_0x2ec1dd,context:_0x2a9754,unlinkedAt:_0x401cfd,attributes:_0x32b768})=>{const _0x2008f7=_0x11378d;_0x1b6dbb[_0x2008f7(0xc8)](_0x41aa68)&&_0x1b6dbb[_0x2008f7(0xca)]({'threadId':_0x41aa68,'channelId':_0x2ec1dd,'context':_0x2a9754,'unlinkedAt':_0x401cfd,'attributes':_0x32b768,'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xee),(_0x1a8c47,{commentThreadId:_0x2ae796,resolvedBy:_0x4aa034,resolvedAt:_0x37a033})=>{const _0x32bae5=_0x11378d,_0x254c9e=_0x1b6dbb[_0x32bae5(0xc8)](_0x2ae796);_0x254c9e&&_0x254c9e[_0x32bae5(0x96)]({'resolvedBy':_0x4aa034,'resolvedAt':_0x37a033,'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xcd),(_0x3a4cd4,{commentThreadId:_0x26ae30})=>{const _0xe261f9=_0x11378d,_0x5a49da=_0x1b6dbb[_0xe261f9(0xc8)](_0x26ae30);_0x5a49da&&_0x5a49da[_0xe261f9(0xc2)]({'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xc5),(_0x5d794a,{commentThreadId:_0x210a63})=>{const _0x47f22e=_0x11378d,_0x4d33fd=_0x1b6dbb[_0x47f22e(0xc8)](_0x210a63);_0x4d33fd&&_0x4d33fd[_0x47f22e(0xd3)]({'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xce),(_0x38a6b2,_0x9ae04f)=>{const _0x537c94=_0x11378d,_0x14ddae=_0x9ae04f[_0x537c94(0xbe)],_0x153792=_0x1b6dbb[_0x537c94(0xc8)](_0x14ddae);_0x153792&&_0x153792[_0x537c94(0xf1)]({...S(_0x9ae04f),'isFromAdapter':!0x0});}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0x9d),(_0x2783db,{commentThreadId:_0x1c2fba,commentId:_0x24ab4e,content:_0x35fdef,attributes:_0x251c57})=>{const _0x203eb7=_0x11378d,_0x1416af=_0x1b6dbb[_0x203eb7(0xc8)](_0x1c2fba);if(_0x1416af){const _0x25cc11=_0x1416af[_0x203eb7(0xae)](_0x24ab4e);_0x25cc11&&_0x25cc11[_0x203eb7(0xb7)]({'content':_0x35fdef,'attributes':_0x251c57,'isFromAdapter':!0x0});}}),this[_0x11378d(0xe5)](_0x5224ca,_0x11378d(0xe7),(_0x38d1f0,{commentThreadId:_0x5868c8,commentId:_0x159047})=>{const _0x233ccc=_0x11378d,_0x12680f=_0x1b6dbb[_0x233ccc(0xc8)](_0x5868c8);if(_0x12680f){const _0x32f259=_0x12680f[_0x233ccc(0xae)](_0x159047);_0x32f259&&_0x32f259[_0x233ccc(0xd3)]({'isFromAdapter':!0x0});}}),await this[_0x11378d(0xd7)](_0x28ef9d);}[_0x55d6df(0xda)](){const _0x168be2=_0x55d6df;if(this[_0x168be2(0xdb)]instanceof _0x146c78){const _0x3b6678=this[_0x168be2(0xdb)][_0x168be2(0xe6)][_0x168be2(0xd2)](_0x168be2(0xf3));this[_0x168be2(0xa1)](_0x3b6678);}}[_0x55d6df(0xa1)](_0x4cefc9){const _0x29a473=_0x55d6df;if(!this[_0x29a473(0xc3)][_0x29a473(0xf9)](_0x4cefc9))throw new _0x4e6679(_0x29a473(0x93),null,{'channelId':_0x4cefc9});this[_0x29a473(0xaa)](_0x4cefc9)[_0x29a473(0xe2)](),this[_0x29a473(0xc3)][_0x29a473(0xa0)](_0x4cefc9);}async[_0x55d6df(0xac)](){const _0x32620e=_0x55d6df;for(const _0x1d804c of this[_0x32620e(0xc3)][_0x32620e(0xa4)]())await this[_0x32620e(0xd7)](_0x1d804c);if(this[_0x32620e(0xdb)]instanceof _0x146c78){const _0x4fffb8=this[_0x32620e(0xdb)][_0x32620e(0xe6)][_0x32620e(0xd2)](_0x32620e(0xf3)),_0x742d71=this[_0x32620e(0xdb)][_0x32620e(0xab)][_0x32620e(0xd2)](_0x395d5b);_0x742d71[_0x32620e(0xf7)](_0x4fffb8);const _0x2126bc=await this[_0x32620e(0xc3)][_0x32620e(0xd2)](_0x4fffb8)[_0x32620e(0x98)]();_0x742d71[_0x32620e(0xc6)](_0x4fffb8,_0x2126bc);}}async[_0x55d6df(0xd7)](_0x18d0ed){const _0x1bb32a=_0x55d6df,{connection:_0x28cb96}=this[_0x1bb32a(0xdb)][_0x1bb32a(0xab)][_0x1bb32a(0xd2)](_0x28def),_0x218af0=this[_0x1bb32a(0xdb)][_0x1bb32a(0xab)][_0x1bb32a(0xd2)](_0x1bb32a(0x95)),_0x38c4d6=this[_0x1bb32a(0xc3)][_0x1bb32a(0xd2)](_0x18d0ed),_0x5da918=await _0x38c4d6[_0x1bb32a(0xa5)](_0x28cb96);await this[_0x1bb32a(0xb8)](_0x5da918);const _0x364f4f=new Set(Array[_0x1bb32a(0xdd)](_0x218af0[_0x1bb32a(0xdf)]({'channelId':_0x18d0ed}),_0x1d8ffb=>_0x1d8ffb['id']));for(const _0x7280a9 of _0x5da918)_0x7280a9[_0x1bb32a(0xa2)]||_0x364f4f[_0x1bb32a(0xa0)](_0x7280a9[_0x1bb32a(0xbe)]);for(const _0x589b34 of _0x364f4f)_0x218af0[_0x1bb32a(0xc8)](_0x589b34)[_0x1bb32a(0xd3)]({'isFromAdapter':!0x0});for(const _0x4cdeff of _0x5da918){let _0x4e59f5=_0x218af0[_0x1bb32a(0xc8)](_0x4cdeff[_0x1bb32a(0xbe)]);const {commentThreadId:_0x1186eb,context:_0x51da2e,attributes:_0x24b262,resolvedBy:_0x44d976,resolvedAt:_0x287a79,unlinkedAt:_0x5ba1d6,deletedAt:_0x2a32e3}=_0x4cdeff;if(_0x2a32e3)continue;_0x4e59f5||(_0x4e59f5=_0x218af0[_0x1bb32a(0xa6)]({'channelId':_0x18d0ed,'threadId':_0x1186eb,'context':_0x51da2e,'attributes':_0x24b262||{},'resolvedBy':_0x44d976,'resolvedAt':_0x287a79,'unlinkedAt':_0x5ba1d6,'isFromAdapter':!0x0}));const _0x424d31=new Set(Array[_0x1bb32a(0xdd)](_0x4e59f5[_0x1bb32a(0x92)],_0x10fb5a=>_0x10fb5a['id']));for(const _0x2c48d7 of _0x4cdeff[_0x1bb32a(0x92)])_0x424d31[_0x1bb32a(0xa0)](_0x2c48d7[_0x1bb32a(0xb0)]);for(const _0x3e1dbb of _0x424d31)_0x4e59f5[_0x1bb32a(0xae)](_0x3e1dbb)[_0x1bb32a(0xd3)]({'isFromAdapter':!0x0});for(const _0x3e6d7f of _0x4cdeff[_0x1bb32a(0x92)]){const _0x170409=_0x4e59f5[_0x1bb32a(0xae)](_0x3e6d7f[_0x1bb32a(0xb0)]);_0x170409?_0x170409[_0x1bb32a(0xd6)]!==_0x3e6d7f[_0x1bb32a(0xd6)]&&_0x170409[_0x1bb32a(0xb7)]({'content':_0x3e6d7f[_0x1bb32a(0xd6)],'isFromAdapter':!0x0}):_0x4e59f5[_0x1bb32a(0xf1)](Object[_0x1bb32a(0xb5)](S(_0x3e6d7f),{'isFromAdapter':!0x0}));}}}[_0x55d6df(0xaa)](_0x365e07){const _0x314ddc=_0x55d6df;if(!this[_0x314ddc(0xc3)][_0x314ddc(0xf9)](_0x365e07))throw new _0x4e6679(_0x314ddc(0xc9),null,{'channelId':_0x365e07});return this[_0x314ddc(0xc3)][_0x314ddc(0xd2)](_0x365e07);}async[_0x55d6df(0xb8)](_0x135e2f){const _0x45ae9c=_0x55d6df,_0x35c0e8=this[_0x45ae9c(0xdb)][_0x45ae9c(0xab)][_0x45ae9c(0xd2)](_0x472d76),{connection:_0x174cbd}=this[_0x45ae9c(0xdb)][_0x45ae9c(0xab)][_0x45ae9c(0xd2)](_0x28def),_0x33552f=new Set();for(const {resolvedBy:_0x19932c,comments:_0x35c574}of _0x135e2f){_0x19932c&&!_0x35c0e8[_0x45ae9c(0xf6)](_0x19932c)&&_0x33552f[_0x45ae9c(0xba)](_0x19932c);for(const {userId:_0xe90480}of _0x35c574)_0x35c0e8[_0x45ae9c(0xf6)](_0xe90480)||_0x33552f[_0x45ae9c(0xba)](_0xe90480);}if(0x0===_0x33552f[_0x45ae9c(0xd8)])return;const _0x504a42=await _0x35f639[_0x45ae9c(0xed)](_0x174cbd,Array[_0x45ae9c(0xdd)](_0x33552f));for(const _0x2da903 of _0x504a42)_0x35c0e8[_0x45ae9c(0xf6)](_0x2da903['id'])||_0x35c0e8[_0x45ae9c(0xec)](_0x2da903);}}a[_0x55d6df(0xea)]=_0x43c497;export default a;async function B(_0x1bed27){const _0x2304f2=_0x55d6df;if(_0x2304f2(0xa3)!==_0x1bed27[_0x2304f2(0xf4)])throw _0x1bed27;}function _0x4d32(){const _0x286db1=['4248Dbuvyy','set','listenTo','config','commentRemoved','isPremiumPlugin','20XXcJma','CommentsService','sessionAdd:','addUser','getMany','commentThreadResolved','_setUpService','2315904oXYWfn','addComment','5859090dSKaIJ','collaboration.channelId','code','createdAt','getUser','unregister','startsWith','has','comments','cloudservicescommentsadapter-disconnect-not-exist','userId','CommentsRepository','resolve','resolvedBy','getConnectedSessions','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','15389572ayjctA','init','commentUpdated','commentThreadUpdated','attributes','delete','_terminateService','deletedAt','404','keys','connect','addCommentThread','isOfficialPlugin','128tYWIYf','adapter','_getService','plugins','reconnect','requires','getComment','removeComment','commentId','cloud-services-internal-error:\x20Not\x20connected.','message','22732872MsfjLt','addToReconnectionStack','assign','map','update','_fetchMissingUsersForThreads','setPermissions','add','9xTxnAk','commentThreadAdded','cloudservicescommentsadapter-connect-already-connected','commentThreadId','cloud-services-internal-error:\x20Request\x20timeout.','CloudServicesCommentsAdapter','pluginName','reopen','_services','reopenCommentThread','commentThreadRemoved','register','removeCommentThread','getCommentThread','cloudservicescommentsadapter-service-not-exist','updateCommentThread','authorId','permissions','commentThreadReopened','commentAdded','updateComment','2045eJdjPX','catch','get','remove','resolveCommentThread','620858QdCZlt','content','_connectService','size','1LweXmd','destroy','context','Permissions','from','resolvedAt','getCommentThreads','off','128091PXAcrz','disconnect'];_0x4d32=function(){return _0x286db1;};return _0x4d32();}function _0x3121(_0x5dda97,_0x228282){const _0x4d324c=_0x4d32();return _0x3121=function(_0x312126,_0x1589e){_0x312126=_0x312126-0x92;let _0x5d4b76=_0x4d324c[_0x312126];return _0x5d4b76;},_0x3121(_0x5dda97,_0x228282);}function R(_0x27fa50){const _0x23214b=_0x55d6df;if((_0x137120=_0x27fa50)[_0x23214b(0xb2)][_0x23214b(0xf8)](_0x23214b(0x9a))||_0x137120[_0x23214b(0xb2)][_0x23214b(0xf8)](_0x23214b(0xb1))||_0x137120[_0x23214b(0xb2)][_0x23214b(0xf8)](_0x23214b(0xbf)))return new Promise(()=>{});var _0x137120;throw _0x27fa50;}function S(_0x50cdda){const _0x1bb131=_0x55d6df;return{'threadId':_0x50cdda[_0x1bb131(0xbe)],'commentId':_0x50cdda[_0x1bb131(0xb0)],'content':_0x50cdda[_0x1bb131(0xd6)],'createdAt':_0x50cdda[_0x1bb131(0xf5)],'authorId':_0x50cdda[_0x1bb131(0x94)],'attributes':_0x50cdda[_0x1bb131(0x9f)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34352f=_0x5d33;(function(_0x5e3b72,_0x4e1978){const _0xeba0c=_0x5d33,_0x349738=_0x5e3b72();while(!![]){try{const _0x4f9b70=parseInt(_0xeba0c(0x138))/0x1+parseInt(_0xeba0c(0x129))/0x2+-parseInt(_0xeba0c(0x12f))/0x3*(parseInt(_0xeba0c(0x13d))/0x4)+-parseInt(_0xeba0c(0x124))/0x5*(-parseInt(_0xeba0c(0x13c))/0x6)+parseInt(_0xeba0c(0x137))/0x7+parseInt(_0xeba0c(0x13b))/0x8+-parseInt(_0xeba0c(0x12a))/0x9;if(_0x4f9b70===_0x4e1978)break;else _0x349738['push'](_0x349738['shift']());}catch(_0x5320e9){_0x349738['push'](_0x349738['shift']());}}}(_0x4e69,0x81bb0));import{Plugin as _0x98fcb7}from'ckeditor5/src/core.js';import _0x5916c5 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4e69(){const _0x1527d6=['requires','2459394SIiivX','586852YmSGXv','data','CommentsRepository','2837192ypOjec','6HGcLvP','168DVRDum','change:state','get','init','isThreadsLoadingPaused','Comments','pluginName','CommentsEditing','connected','4098450CLYOzQ','isPremiumPlugin','destroy','plugins','switchReadOnly','563912NYIlyB','16551045WIJieo','config','collaboration.channelId','_setUpService','RealTimeCollaborativeComments','1722BBAZvT','_terminateService','listenTo','once','editor','isOfficialPlugin','ready'];_0x4e69=function(){return _0x1527d6;};return _0x4e69();}function _0x5d33(_0x57273f,_0x11f05a){const _0x4e69e2=_0x4e69();return _0x5d33=function(_0x5d33c2,_0x910fe2){_0x5d33c2=_0x5d33c2-0x120;let _0x299617=_0x4e69e2[_0x5d33c2];return _0x299617;},_0x5d33(_0x57273f,_0x11f05a);}import _0x1f8ee3 from'./realtimecollaborativeediting.js';import _0x30e56b from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x98fcb7{static get[_0x34352f(0x136)](){const _0x2f4740=_0x34352f;return[_0x2f4740(0x120),_0x5916c5,_0x1f8ee3,_0x30e56b];}static get[_0x34352f(0x121)](){const _0x2880dc=_0x34352f;return _0x2880dc(0x12e);}static get[_0x34352f(0x134)](){return!0x0;}static get[_0x34352f(0x125)](){return!0x0;}[_0x34352f(0x140)](){const _0xe4568c=_0x34352f,_0x141eaf=this[_0xe4568c(0x133)][_0xe4568c(0x127)][_0xe4568c(0x13f)](_0x30e56b),_0x7384d0=this[_0xe4568c(0x133)][_0xe4568c(0x127)][_0xe4568c(0x13f)](_0xe4568c(0x122)),_0x4350ee=this[_0xe4568c(0x133)][_0xe4568c(0x127)][_0xe4568c(0x13f)](_0x5916c5);return this[_0xe4568c(0x133)][_0xe4568c(0x139)][_0xe4568c(0x132)](_0xe4568c(0x135),()=>{const _0x14df9f=_0xe4568c;this[_0x14df9f(0x131)](_0x141eaf,_0x14df9f(0x13e),(_0x3c3b2f,_0x3cac1b,_0x312683)=>{const _0x721c2d=_0x14df9f;_0x7384d0[_0x721c2d(0x141)]=_0x721c2d(0x123)!==_0x312683;});}),this[_0xe4568c(0x131)](_0x141eaf,_0xe4568c(0x13e),(_0x32c174,_0x2005d1,_0xaeaa38)=>{const _0xa50322=_0xe4568c;this[_0xa50322(0x133)][_0xa50322(0x127)][_0xa50322(0x13f)](_0xa50322(0x13a))[_0xa50322(0x128)](_0xa50322(0x123)!==_0xaeaa38);}),_0x4350ee[_0xe4568c(0x12d)](this[_0xe4568c(0x133)][_0xe4568c(0x12b)][_0xe4568c(0x13f)](_0xe4568c(0x12c)));}[_0x34352f(0x126)](){const _0x2833f1=_0x34352f;this[_0x2833f1(0x133)][_0x2833f1(0x127)][_0x2833f1(0x13f)](_0x5916c5)[_0x2833f1(0x130)](this[_0x2833f1(0x133)][_0x2833f1(0x12b)][_0x2833f1(0x13f)](_0x2833f1(0x12c))),super[_0x2833f1(0x126)]();}}
23
+ const _0x4f68ae=_0x30b8;(function(_0x408cfd,_0x474688){const _0xc40879=_0x30b8,_0x423ffd=_0x408cfd();while(!![]){try{const _0x335dfd=parseInt(_0xc40879(0x6a))/0x1+-parseInt(_0xc40879(0x74))/0x2*(-parseInt(_0xc40879(0x78))/0x3)+parseInt(_0xc40879(0x7e))/0x4+parseInt(_0xc40879(0x7a))/0x5*(parseInt(_0xc40879(0x66))/0x6)+parseInt(_0xc40879(0x83))/0x7+-parseInt(_0xc40879(0x70))/0x8+-parseInt(_0xc40879(0x86))/0x9;if(_0x335dfd===_0x474688)break;else _0x423ffd['push'](_0x423ffd['shift']());}catch(_0x339293){_0x423ffd['push'](_0x423ffd['shift']());}}}(_0x1bcd,0xd2cd5));import{Plugin as _0x147f77}from'ckeditor5/src/core.js';function _0x1bcd(){const _0x3731da=['208603irvwFn','destroy','RealTimeCollaborativeComments','data','requires','switchReadOnly','3295448IKysiA','change:state','CommentsRepository','isPremiumPlugin','6LgnNWu','listenTo','Comments','_terminateService','1709133uGjEXJ','CommentsEditing','9995WMMlWS','isOfficialPlugin','plugins','once','1202688xjTdpN','connected','isThreadsLoadingPaused','editor','config','682010xnQdIk','init','pluginName','23199237FrOucF','collaboration.channelId','4614FUsDGY','_setUpService','get','ready'];_0x1bcd=function(){return _0x3731da;};return _0x1bcd();}function _0x30b8(_0x3b07a6,_0xc2d2c6){const _0x1bcd49=_0x1bcd();return _0x30b8=function(_0x30b8fe,_0x47fbd2){_0x30b8fe=_0x30b8fe-0x66;let _0x2b9227=_0x1bcd49[_0x30b8fe];return _0x2b9227;},_0x30b8(_0x3b07a6,_0xc2d2c6);}import _0x423c76 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x32c40c from'./realtimecollaborativeediting.js';import _0x3e47db from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x147f77{static get[_0x4f68ae(0x6e)](){const _0x504bf5=_0x4f68ae;return[_0x504bf5(0x76),_0x423c76,_0x32c40c,_0x3e47db];}static get[_0x4f68ae(0x85)](){const _0x55a75d=_0x4f68ae;return _0x55a75d(0x6c);}static get[_0x4f68ae(0x7b)](){return!0x0;}static get[_0x4f68ae(0x73)](){return!0x0;}[_0x4f68ae(0x84)](){const _0x184158=_0x4f68ae,_0x7986ea=this[_0x184158(0x81)][_0x184158(0x7c)][_0x184158(0x68)](_0x3e47db),_0x5d1e58=this[_0x184158(0x81)][_0x184158(0x7c)][_0x184158(0x68)](_0x184158(0x79)),_0x105e75=this[_0x184158(0x81)][_0x184158(0x7c)][_0x184158(0x68)](_0x423c76);return this[_0x184158(0x81)][_0x184158(0x6d)][_0x184158(0x7d)](_0x184158(0x69),()=>{const _0x2a0828=_0x184158;this[_0x2a0828(0x75)](_0x7986ea,_0x2a0828(0x71),(_0x20c06a,_0x6047ed,_0x4b1ce2)=>{const _0x3712fc=_0x2a0828;_0x5d1e58[_0x3712fc(0x80)]=_0x3712fc(0x7f)!==_0x4b1ce2;});}),this[_0x184158(0x75)](_0x7986ea,_0x184158(0x71),(_0x193ed0,_0x5b8099,_0x5dc61d)=>{const _0x5693b9=_0x184158;this[_0x5693b9(0x81)][_0x5693b9(0x7c)][_0x5693b9(0x68)](_0x5693b9(0x72))[_0x5693b9(0x6f)](_0x5693b9(0x7f)!==_0x5dc61d);}),_0x105e75[_0x184158(0x67)](this[_0x184158(0x81)][_0x184158(0x82)][_0x184158(0x68)](_0x184158(0x87)));}[_0x4f68ae(0x6b)](){const _0x4dcc4e=_0x4f68ae;this[_0x4dcc4e(0x81)][_0x4dcc4e(0x7c)][_0x4dcc4e(0x68)](_0x423c76)[_0x4dcc4e(0x77)](this[_0x4dcc4e(0x81)][_0x4dcc4e(0x82)][_0x4dcc4e(0x68)](_0x4dcc4e(0x87))),super[_0x4dcc4e(0x6b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d5074=_0xf2e4;(function(_0x4f0a10,_0x240432){const _0x36222e=_0xf2e4,_0xa96c91=_0x4f0a10();while(!![]){try{const _0x9c6cc7=-parseInt(_0x36222e(0xd5))/0x1+-parseInt(_0x36222e(0xe7))/0x2+-parseInt(_0x36222e(0xd2))/0x3+parseInt(_0x36222e(0x182))/0x4+-parseInt(_0x36222e(0x171))/0x5*(parseInt(_0x36222e(0x17b))/0x6)+-parseInt(_0x36222e(0x154))/0x7*(parseInt(_0x36222e(0x12d))/0x8)+-parseInt(_0x36222e(0x133))/0x9*(-parseInt(_0x36222e(0x17c))/0xa);if(_0x9c6cc7===_0x240432)break;else _0xa96c91['push'](_0xa96c91['shift']());}catch(_0x1ecce3){_0xa96c91['push'](_0xa96c91['shift']());}}}(_0x218e,0x62159));import{Plugin as _0x175e0a,PendingActions as _0x2c2c98}from'ckeditor5/src/core.js';function _0xf2e4(_0x8ed82c,_0x5f5c53){const _0x218e52=_0x218e();return _0xf2e4=function(_0xf2e409,_0x2d65ba){_0xf2e409=_0xf2e409-0xbd;let _0x232d41=_0x218e52[_0xf2e409];return _0x232d41;},_0xf2e4(_0x8ed82c,_0x5f5c53);}import{CKEditorError as _0x381efc,version as _0x254525,uid as _0x1e9653}from'ckeditor5/src/utils.js';import{Notification as _0x3439c1}from'ckeditor5/src/ui.js';import{transformSets as _0x3cfa3f,NoOperation as _0x57e10d,InsertOperation as _0x2162f1,MarkerOperation as _0x1fc7f6,RootAttributeOperation as _0x2d8418,OperationFactory as _0x2db1e0,History as _0x543617}from'ckeditor5/src/engine.js';import _0x5d0a1a from'./websocketgateway.js';import _0x35f662 from'./sessions.js';import _0x4a12bc from'./usermarkers.js';import{getTranslation as _0x268628}from'../common-translations.js';import{Compressor as _0x2acc9b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2ccde}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3c2ccf,CollaborativeEditingService as _0xf048b9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x175e0a{static get[_0x4d5074(0x12a)](){return[_0x5d0a1a,_0x35f662,_0x4a12bc,_0x2c2c98,_0x2ccde,_0x3439c1];}static get[_0x4d5074(0x1a1)](){const _0x5e5d9f=_0x4d5074;return _0x5e5d9f(0x144);}static get[_0x4d5074(0x145)](){return!0x0;}static get[_0x4d5074(0x112)](){return!0x0;}get[_0x4d5074(0xce)](){const _0x4df2ad=_0x4d5074;return this[_0x4df2ad(0x188)]+this[_0x4df2ad(0x13f)];}get[_0x4d5074(0x188)](){const _0x5475cc=_0x4d5074;return this[_0x5475cc(0x1b5)][_0x5475cc(0x132)]-this[_0x5475cc(0x13f)];}get[_0x4d5074(0x152)](){const _0x4e6199=_0x4d5074,_0x5af9a0=this[_0x4e6199(0x1b5)][_0x4e6199(0x160)]();for(let _0x3dd90d=_0x5af9a0[_0x4e6199(0x1a8)]-0x1;_0x3dd90d>=0x0;_0x3dd90d--){const _0x3c400d=_0x5af9a0[_0x3dd90d];if(!this[_0x4e6199(0xfe)][_0x4e6199(0x13b)](_0x3c400d))return _0x3c400d[_0x4e6199(0x16f)]+0x1-this[_0x4e6199(0x13f)];}return 0x0;}constructor(_0x50e33f){const _0x1bf9f6=_0x4d5074;if(super(_0x50e33f),this[_0x1bf9f6(0x13f)]=0x0,this[_0x1bf9f6(0x167)]=null,this[_0x1bf9f6(0x1b5)]=new _0x543617(),this[_0x1bf9f6(0xdd)][_0x1bf9f6(0x169)][_0x1bf9f6(0x13c)](_0x1bf9f6(0xc2),{}),this[_0x1bf9f6(0x106)]=this[_0x1bf9f6(0xdd)][_0x1bf9f6(0x169)][_0x1bf9f6(0xea)](_0x1bf9f6(0xf8)),!this[_0x1bf9f6(0x106)])throw new _0x381efc(_0x1bf9f6(0x161),this);const _0x233aa7=_0x50e33f[_0x1bf9f6(0x169)][_0x1bf9f6(0xea)](_0x1bf9f6(0xf4))||_0x254525;this[_0x1bf9f6(0x1b9)]=new l[(_0x1bf9f6(0x1bc))](_0x233aa7,this[_0x1bf9f6(0x106)]),this[_0x1bf9f6(0xe4)]=this[_0x1bf9f6(0xdd)][_0x1bf9f6(0x163)][_0x1bf9f6(0x10e)],this[_0x1bf9f6(0x1af)]=new _0x2acc9b(),this[_0x1bf9f6(0x107)]=[],this[_0x1bf9f6(0x113)]=new WeakSet(),this[_0x1bf9f6(0x148)]=new Set(),this[_0x1bf9f6(0x10c)](_0x1bf9f6(0x170),!0x1),this[_0x1bf9f6(0x10c)](_0x1bf9f6(0xe6),!0x1),this[_0x1bf9f6(0x195)]=null,this[_0x1bf9f6(0xd1)]=!0x1,this[_0x1bf9f6(0xc9)]=null,this[_0x1bf9f6(0x156)]=0x12c,this[_0x1bf9f6(0x16a)]=this[_0x1bf9f6(0x156)],this[_0x1bf9f6(0x137)]=null,this[_0x1bf9f6(0xfe)]=new WeakSet(),this[_0x1bf9f6(0x1b4)]=new X(this[_0x1bf9f6(0xfe)]);}[_0x4d5074(0x16b)](){const _0x3269a8=_0x4d5074,_0x1acfc5=this[_0x3269a8(0xdd)],_0x5cb534=_0x1acfc5[_0x3269a8(0x101)][_0x3269a8(0xea)](_0x2ccde),_0x14d660=_0x1acfc5[_0x3269a8(0x101)][_0x3269a8(0xea)](_0x5d0a1a);this[_0x3269a8(0xf7)](_0x5cb534,_0x3269a8(0xc8),(_0x4c84df,_0x1c7a1a)=>{const _0x8310db=_0x3269a8,_0x1bddaa=_0x1c7a1a[0x0];_0x1bddaa[_0x8310db(0x11a)]&&(_0x4c84df[_0x8310db(0xdc)]=_0x5cb534[_0x8310db(0x191)](_0x1bddaa[_0x8310db(0x11a)]),_0x4c84df[_0x8310db(0x19d)]()),null===_0x1bddaa[_0x8310db(0x11a)]&&(_0x4c84df[_0x8310db(0xdc)]=null,_0x4c84df[_0x8310db(0x19d)]());},{'priority':_0x3269a8(0xbf)}),this[_0x3269a8(0xf7)](_0x1acfc5[_0x3269a8(0x163)][_0x3269a8(0x10e)][_0x3269a8(0x1ba)],_0x3269a8(0x130),(_0x1b5ee0,_0x3d44c8)=>{const _0x630590=_0x3269a8;_0x3d44c8[_0x630590(0x147)]&&this[_0x630590(0x1be)]();}),this[_0x3269a8(0xf7)](_0x1acfc5[_0x3269a8(0x12c)][_0x3269a8(0xe0)],_0x3269a8(0x192),()=>{const _0xf5a106=_0x3269a8;this[_0xf5a106(0x1be)]();}),this[_0x3269a8(0x11c)](),_0x1acfc5[_0x3269a8(0x163)]['on'](_0x3269a8(0x10b),(_0x147a46,_0x74b060)=>{const _0x422de7=_0x3269a8,_0x2c1c8a=_0x74b060[0x0];_0x2c1c8a[_0x422de7(0xf3)]&&(this[_0x422de7(0x1b3)](_0x2c1c8a),this[_0x422de7(0x1bd)]()&&this[_0x422de7(0x150)]());}),this[_0x3269a8(0xf5)](),this[_0x3269a8(0xd8)](_0x3269a8(0xe8))['to'](_0x14d660,_0x3269a8(0x12e),this,_0x3269a8(0xe6),(_0x2842f5,_0x32c017)=>_0x3269a8(0x153)===_0x2842f5&&!_0x32c017),this['on'](_0x3269a8(0x14c),()=>{const _0x13f7d2=_0x3269a8;this[_0x13f7d2(0xe8)]?_0x1acfc5[_0x13f7d2(0x136)](_0x13f7d2(0xfa)):_0x1acfc5[_0x13f7d2(0x128)](_0x13f7d2(0xfa));}),this[_0x3269a8(0xe8)]?_0x1acfc5[_0x3269a8(0x136)](_0x3269a8(0xfa)):_0x1acfc5[_0x3269a8(0x128)](_0x3269a8(0xfa)),this[_0x3269a8(0x10c)](_0x3269a8(0xcb),!0x1);}async[_0x4d5074(0x14a)](){const _0x5da8f2=_0x4d5074,_0x636447=this[_0x5da8f2(0xdd)][_0x5da8f2(0x101)][_0x5da8f2(0xea)](_0x35f662),_0x2594be=this[_0x5da8f2(0xdd)][_0x5da8f2(0x101)][_0x5da8f2(0xea)](_0x5d0a1a);try{this[_0x5da8f2(0x170)]=!0x0,_0x636447[_0x5da8f2(0x194)](this[_0x5da8f2(0x106)]);const _0x22442a=await this[_0x5da8f2(0x1b9)][_0x5da8f2(0x14a)](_0x2594be[_0x5da8f2(0xee)],this[_0x5da8f2(0x152)]);await this[_0x5da8f2(0x134)](_0x22442a)&&(this[_0x5da8f2(0x170)]=!0x1,this[_0x5da8f2(0x193)]());const _0x22a79f=await this[_0x5da8f2(0x1b9)][_0x5da8f2(0x190)]();_0x636447[_0x5da8f2(0x17d)](this[_0x5da8f2(0x106)],_0x22a79f),this[_0x5da8f2(0x138)](),this[_0x5da8f2(0xcb)]=!0x0;}catch(_0x367962){if(function(_0x271e33){const _0x33948e=_0x5da8f2;return _0x33948e(0xc5)===_0x271e33[_0x33948e(0x14f)];}(_0x367962)&&this[_0x5da8f2(0x167)])await this[_0x5da8f2(0x103)]();else{if(function(_0x583804){const _0x1d3456=_0x5da8f2;return _0x1d3456(0xbd)===_0x583804[_0x1d3456(0x14f)];}(_0x367962)){const _0x4fb218=_0x268628(this[_0x5da8f2(0xdd)][_0x5da8f2(0xe9)],_0x5da8f2(0x10a));this[_0x5da8f2(0x189)](_0x4fb218);}else{if(!(_0x367962 instanceof J))throw _0x367962;this[_0x5da8f2(0x189)]();}}}}[_0x4d5074(0x1a2)](){const _0x49d0=_0x4d5074,_0x27a7d5=this[_0x49d0(0xdd)][_0x49d0(0x101)][_0x49d0(0xea)](_0x5d0a1a),_0x14ed59=this[_0x49d0(0xdd)][_0x49d0(0x101)][_0x49d0(0xea)](_0x35f662);this[_0x49d0(0xdd)][_0x49d0(0x128)](_0x49d0(0x168)),_0x14ed59[_0x49d0(0xc0)][_0x49d0(0x13b)](this[_0x49d0(0x106)])&&_0x14ed59[_0x49d0(0x194)](this[_0x49d0(0x106)]),_0x27a7d5[_0x49d0(0xd0)](this),this[_0x49d0(0x181)](),super[_0x49d0(0x1a2)]();}async[_0x4d5074(0x134)](_0x5ad4d9){const _0x1d55f4=_0x4d5074;if(this[_0x1d55f4(0x167)]!==_0x5ad4d9[_0x1d55f4(0x167)]&&this[_0x1d55f4(0x137)]!==_0x5ad4d9[_0x1d55f4(0x131)])throw new J();return this[_0x1d55f4(0x167)]=_0x5ad4d9[_0x1d55f4(0x167)],this[_0x1d55f4(0x1b1)]([],{..._0x5ad4d9,'wereChangesApplied':!0x1,'data':_0x5ad4d9[_0x1d55f4(0x12b)]},_0x1d55f4(0x14a));}async[_0x4d5074(0x135)](_0x598fed,_0x46ad73=!0x1){const _0x1a7a68=_0x4d5074,{connection:_0x5452af}=this[_0x1a7a68(0xdd)][_0x1a7a68(0x101)][_0x1a7a68(0xea)](_0x5d0a1a);l[_0x1a7a68(0x1bc)][_0x1a7a68(0x190)](_0x5452af,this[_0x1a7a68(0x106)])[_0x1a7a68(0xf6)](_0x352610=>this[_0x1a7a68(0x139)](_0x352610))[_0x1a7a68(0x110)](_0x2a8a2e=>{const _0x4a967d=_0x1a7a68;this[_0x4a967d(0xd4)](_0x4a967d(0xc1),_0x2a8a2e);}),this[_0x1a7a68(0xf7)](this[_0x1a7a68(0x1b9)],_0x1a7a68(0xf2),this[_0x1a7a68(0x13e)][_0x1a7a68(0xd8)](this)),this[_0x1a7a68(0xf7)](this[_0x1a7a68(0x1b9)],_0x1a7a68(0x19c),(_0x3f9276,_0x22300b)=>{const _0x19b6bd=_0x1a7a68;this[_0x19b6bd(0xd4)](_0x19b6bd(0x14d),_0x22300b);}),this[_0x1a7a68(0xf7)](this[_0x1a7a68(0x1b9)],_0x1a7a68(0x1ab),()=>{const _0x2ffdbc=_0x1a7a68;this[_0x2ffdbc(0xcb)]=!0x1;});const _0x2ff10b=this[_0x1a7a68(0x1b4)][_0x1a7a68(0x17a)](_0x598fed);this[_0x1a7a68(0x170)]=!0x0;const _0x2b359=await this[_0x1a7a68(0x1b9)][_0x1a7a68(0xec)](_0x5452af,this[_0x1a7a68(0x14b)](_0x598fed),_0x2ff10b);if(this[_0x1a7a68(0x167)]=_0x2b359[_0x1a7a68(0x167)],_0x46ad73){if(!_0x2b359[_0x1a7a68(0xfc)])return void this[_0x1a7a68(0x189)]();this[_0x1a7a68(0x170)]=!0x1,this[_0x1a7a68(0x193)](),this[_0x1a7a68(0x1b5)][_0x1a7a68(0xcf)](),this[_0x1a7a68(0x13f)]=_0x2b359[_0x1a7a68(0x1bf)],this[_0x1a7a68(0x1b5)][_0x1a7a68(0x132)]=this[_0x1a7a68(0x13f)],await this[_0x1a7a68(0x1b1)](_0x598fed,_0x2b359,_0x1a7a68(0x11f));}else await this[_0x1a7a68(0x12f)](_0x2b359,_0x598fed);this[_0x1a7a68(0x138)](),this[_0x1a7a68(0xcb)]=!0x0;}[_0x4d5074(0x138)](){const _0x4c2520=_0x4d5074,_0x229b86=this[_0x4c2520(0xdd)][_0x4c2520(0x101)][_0x4c2520(0xea)](_0x35f662),_0x5c9669=this[_0x4c2520(0xdd)][_0x4c2520(0x101)][_0x4c2520(0xea)](_0x4a12bc),_0x41132a=_0x229b86[_0x4c2520(0xc0)][_0x4c2520(0xea)](this[_0x4c2520(0x106)]);_0x41132a&&_0x41132a[_0x4c2520(0x1a8)]>0x1?_0x5c9669[_0x4c2520(0xe1)]():this[_0x4c2520(0xf7)](_0x229b86,_0x4c2520(0x1a4)+this[_0x4c2520(0x106)],()=>{const _0x3d4233=_0x4c2520;0x2===_0x229b86[_0x3d4233(0xc0)][_0x3d4233(0xea)](this[_0x3d4233(0x106)])[_0x3d4233(0x1a8)]&&_0x5c9669[_0x3d4233(0xe1)]();});}async[_0x4d5074(0x13e)](_0x48fa28,_0x2e0a93,_0x3bbb95,_0x338951){const _0x48a0b0=_0x4d5074;if(!this[_0x48a0b0(0x170)]&&this[_0x48a0b0(0xe4)][_0x48a0b0(0x132)]==_0x2e0a93){const _0x590135=this[_0x48a0b0(0xca)](_0x3bbb95,_0x338951);await this[_0x48a0b0(0x177)](_0x590135),this[_0x48a0b0(0x1a5)](_0x590135,_0x2e0a93,_0x3bbb95[_0x48a0b0(0x131)])||this[_0x48a0b0(0xd4)](_0x48a0b0(0x109));}}async[_0x4d5074(0x103)](){const _0x26ddbb=_0x4d5074;this[_0x26ddbb(0x181)]();const {locale:_0x115c45}=this[_0x26ddbb(0xdd)];let _0x1349c3;try{_0x1349c3=await this[_0x26ddbb(0x1b9)][_0x26ddbb(0xe5)]();}catch(_0x3ab755){const _0x732f8f=_0x268628(_0x115c45,_0x26ddbb(0xeb));return void this[_0x26ddbb(0x189)](_0x732f8f);}const _0x558ae2=_0x1349c3[_0x26ddbb(0x1ad)]||_0x1349c3[_0x26ddbb(0x13a)];if(this[_0x26ddbb(0x137)]===_0x558ae2[_0x26ddbb(0x131)])await this[_0x26ddbb(0x135)](this[_0x26ddbb(0xdd)][_0x26ddbb(0x163)][_0x26ddbb(0x10e)][_0x26ddbb(0x15a)][_0x26ddbb(0x160)](),!0x0);else{const _0x12f873=_0x268628(_0x115c45,_0x26ddbb(0x15e));this[_0x26ddbb(0x189)](_0x12f873);}}[_0x4d5074(0x181)](){const _0x1ee42d=_0x4d5074;this[_0x1ee42d(0x1b9)][_0x1ee42d(0x11e)](),this[_0x1ee42d(0x107)]=[],clearTimeout(this[_0x1ee42d(0xc9)]),this[_0x1ee42d(0x116)](this[_0x1ee42d(0x1b9)]);}[_0x4d5074(0x139)](_0x109d3e){const _0x4f2ed7=_0x4d5074,_0x42e17e=this[_0x4f2ed7(0xdd)][_0x4f2ed7(0x101)][_0x4f2ed7(0xea)](_0x35f662);this[_0x4f2ed7(0xf7)](_0x42e17e,_0x4f2ed7(0x1a4)+this[_0x4f2ed7(0x106)],(_0x116d9c,{session:_0x4906fd})=>{const _0x180349=_0x4f2ed7;if(_0x4906fd['id']===_0x42e17e[_0x180349(0x100)]){_0x116d9c[_0x180349(0xfd)]();const _0x5c07bc=this[_0x180349(0xdd)][_0x180349(0x101)][_0x180349(0x13b)](_0x180349(0xc3))&&this[_0x180349(0xdd)][_0x180349(0x101)][_0x180349(0xea)](_0x180349(0xc3));let _0x39d02b=_0x4906fd[_0x180349(0x178)];_0x5c07bc&&_0x5c07bc[_0x180349(0x157)]&&(_0x39d02b=_0x39d02b[_0x180349(0x142)](_0x5e6ea3=>_0x180349(0x1ae)!==_0x5e6ea3)),this[_0x180349(0xdd)][_0x180349(0x101)][_0x180349(0xea)](_0x180349(0xcd))[_0x180349(0xd3)](_0x39d02b,this[_0x180349(0x106)]);}}),_0x42e17e[_0x4f2ed7(0x17d)](this[_0x4f2ed7(0x106)],_0x109d3e);}[_0x4d5074(0x11c)](){const _0x596053=_0x4d5074,_0x7f0f91=this[_0x596053(0xdd)][_0x596053(0x12b)][_0x596053(0x10c)];this[_0x596053(0xdd)][_0x596053(0x12b)][_0x596053(0x10c)]=(..._0x131b55)=>{const _0x5166cb=_0x596053;if(!_0x131b55[_0x131b55[_0x5166cb(0x1a8)]-0x1][_0x5166cb(0xe3)])throw new _0x381efc(_0x5166cb(0xd6),this);_0x7f0f91[_0x5166cb(0xd7)](this[_0x5166cb(0xdd)][_0x5166cb(0x12b)],_0x131b55);};}[_0x4d5074(0xf5)](){const _0x3588cd=_0x4d5074;this[_0x3588cd(0xdd)][_0x3588cd(0x12b)]['on'](_0x3588cd(0x16b),(_0x212555,[_0xd037e2])=>{const _0x338759=_0x3588cd;if(this[_0x338759(0xe4)][_0x338759(0x132)])throw new _0x381efc(_0x338759(0x199),this);_0x212555[_0x338759(0x19d)](),this[_0x338759(0x15b)]();const _0x2a0065=this[_0x338759(0xdd)][_0x338759(0x169)][_0x338759(0xea)](_0x338759(0xda)),_0x23e9cd=this[_0x338759(0x198)](_0xd037e2,_0x2a0065);0x0==_0x23e9cd[_0x338759(0x1a8)]&&_0x23e9cd[_0x338759(0x15d)](new _0x57e10d(0x0)),_0x212555[_0x338759(0xdc)]=this[_0x338759(0x135)](_0x23e9cd)[_0x338759(0xf6)](()=>{const _0x4a60a1=_0x338759;this[_0x4a60a1(0xdd)][_0x4a60a1(0x101)][_0x4a60a1(0xea)](_0x5d0a1a)[_0x4a60a1(0x180)](this),this[_0x4a60a1(0xdd)][_0x4a60a1(0x12b)][_0x4a60a1(0x155)](_0x4a60a1(0x18d));})[_0x338759(0x110)](_0x80c98d=>this[_0x338759(0xd4)](_0x338759(0x108),_0x80c98d))[_0x338759(0xc6)](()=>this[_0x338759(0x193)]());},{'priority':_0x3588cd(0xbf)}),this[_0x3588cd(0xdd)]['on'](_0x3588cd(0x17e),async(_0x3da823,[_0x5819be,_0x2b399a])=>{const _0x4efe2f=_0x3588cd;_0x3da823[_0x4efe2f(0x19d)]();const _0x1e508d=this[_0x4efe2f(0xdd)][_0x4efe2f(0x163)][_0x4efe2f(0x10e)][_0x4efe2f(0xfb)](_0x5819be);if(!this[_0x4efe2f(0x148)][_0x4efe2f(0x13b)](_0x5819be)){const _0x21a448=_0x2b399a&&_0x2b399a[_0x4efe2f(0x12b)]?_0x2b399a[_0x4efe2f(0x12b)]:'',_0x1b3efa=_0x2b399a&&_0x2b399a[_0x4efe2f(0xff)]?_0x2b399a[_0x4efe2f(0xff)]:{};await this[_0x4efe2f(0x174)](_0x5819be,_0x21a448,_0x1b3efa);}this[_0x4efe2f(0xdd)][_0x4efe2f(0x163)][_0x4efe2f(0xc7)]({'isUndoable':!0x1},()=>{const _0x187c92=_0x4efe2f;_0x1e508d[_0x187c92(0x17f)]=!0x0,this[_0x187c92(0xdd)][_0x187c92(0x163)][_0x187c92(0x10e)][_0x187c92(0x1a9)][_0x187c92(0x184)](_0x1e508d);});},{'priority':_0x3588cd(0xbf)});}async[_0x4d5074(0x177)](_0x5804b1){const _0x3719cf=_0x4d5074,_0x2091dc=this[_0x3719cf(0xdd)][_0x3719cf(0x101)][_0x3719cf(0xea)](_0x2ccde),{connection:_0x542827}=this[_0x3719cf(0xdd)][_0x3719cf(0x101)][_0x3719cf(0xea)](_0x5d0a1a),_0x9b2589=new Set();for(const _0xb9703b of _0x5804b1){const _0x3b9489=_0xb9703b[_0x3719cf(0x11a)];_0x3b9489&&!_0x2091dc[_0x3719cf(0x191)](_0x3b9489)&&_0x9b2589[_0x3719cf(0x118)](_0x3b9489);}if(0x0===_0x9b2589[_0x3719cf(0x162)])return;const _0x51ff3a=await _0x3c2ccf[_0x3719cf(0x121)](_0x542827,Array[_0x3719cf(0x149)](_0x9b2589));for(const _0x2f8696 of _0x51ff3a)_0x2091dc[_0x3719cf(0x191)](_0x2f8696['id'])||_0x2091dc[_0x3719cf(0x176)](_0x2f8696);}[_0x4d5074(0x198)](_0x2e33b1,_0x4a84f1={}){const _0x30412a=_0x4d5074,_0x176b23=this[_0x30412a(0xdd)][_0x30412a(0x163)],_0x285a44=[];let _0x5aa0db=0x0;const _0x379ecd=_0x30412a(0x13d)==typeof _0x2e33b1?{'main':_0x2e33b1}:_0x2e33b1;for(const _0x287b35 of Object[_0x30412a(0xbe)](_0x379ecd)){if(!this[_0x30412a(0xe4)][_0x30412a(0x18c)][_0x30412a(0x13b)](_0x287b35))throw new _0x381efc(_0x30412a(0x196),this);const _0x4d8193=this[_0x30412a(0xdd)][_0x30412a(0x12b)][_0x30412a(0x183)](_0x379ecd[_0x287b35]),_0x5be88e=this[_0x30412a(0xe4)][_0x30412a(0xfb)](_0x287b35),_0x5e7813=new _0x2162f1(_0x176b23[_0x30412a(0x14e)](_0x5be88e,0x0),_0x4d8193,_0x5aa0db++);_0x285a44[_0x30412a(0x15d)](_0x5e7813);for(const [_0x38830f,_0x14a58e]of _0x4d8193[_0x30412a(0xc4)]){const _0x392523=_0x176b23[_0x30412a(0xef)](_0x176b23[_0x30412a(0xde)](_0x5be88e,_0x14a58e[_0x30412a(0x16e)][_0x30412a(0x1aa)][_0x30412a(0x185)]()),_0x176b23[_0x30412a(0xde)](_0x5be88e,_0x14a58e[_0x30412a(0x123)][_0x30412a(0x1aa)][_0x30412a(0x185)]())),_0x508fb6=new _0x1fc7f6(_0x38830f,null,_0x392523,_0x176b23[_0x30412a(0xc4)],!0x0,_0x5aa0db++);_0x285a44[_0x30412a(0x15d)](_0x508fb6);}}if(_0x4a84f1)for(const [_0x164530,_0x191ebc]of Object[_0x30412a(0xed)](_0x4a84f1)){const _0x40d28c=_0x176b23[_0x30412a(0x10e)][_0x30412a(0xfb)](_0x164530);if(!_0x40d28c)throw new _0x381efc(_0x30412a(0x197),null);for(const [_0x14cc2e,_0x1bdbb8]of Object[_0x30412a(0xed)](_0x191ebc))if(null!==_0x1bdbb8){const _0x32cec2=new _0x2d8418(_0x40d28c,_0x14cc2e,null,_0x1bdbb8,_0x5aa0db++);_0x285a44[_0x30412a(0x15d)](_0x32cec2);}}return _0x285a44;}async[_0x4d5074(0x174)](_0x1e8282,_0x4aa345,_0x1fadd6){const _0x316bde=_0x4d5074;this[_0x316bde(0x198)]({[_0x1e8282]:_0x4aa345},{[_0x1e8282]:_0x1fadd6})[_0x316bde(0x19e)]((_0x2c487c,_0x4dacc6)=>{const _0x4c62b1=_0x316bde;_0x2c487c[_0x4c62b1(0x16f)]=this[_0x4c62b1(0xe4)][_0x4c62b1(0x132)]+_0x4dacc6,_0x2c487c[_0x4c62b1(0x115)]=!0x0,this[_0x4c62b1(0x1b3)](_0x2c487c);}),this[_0x316bde(0x150)](),await this[_0x316bde(0x111)]();}async[_0x4d5074(0x12f)](_0x264af0,_0x5036ec){const _0xc92b1b=_0x4d5074;let _0x35319c;this[_0xc92b1b(0x13f)]=_0x264af0[_0xc92b1b(0x1bf)];const _0x50fcf5=_0x264af0[_0xc92b1b(0xfc)]&&!_0x264af0[_0xc92b1b(0x104)],_0x56b860=_0x50fcf5?0x0:_0x264af0[_0xc92b1b(0x12b)][_0xc92b1b(0x16f)];if(_0x5036ec[_0xc92b1b(0x19e)](_0xa635e4=>{const _0x28c064=_0xc92b1b;_0xa635e4[_0x28c064(0x115)]=!0x0,_0xa635e4[_0x28c064(0x19a)]=_0x264af0[_0x28c064(0x16c)],_0xa635e4[_0x28c064(0x11a)]=null;}),_0x50fcf5)_0x35319c=_0x5036ec,this[_0xc92b1b(0x1b7)](_0x35319c,_0x50fcf5);else{if(_0x264af0[_0xc92b1b(0x104)]){const _0x203563=this[_0xc92b1b(0x198)](_0x264af0[_0xc92b1b(0x104)]);this[_0xc92b1b(0xe4)][_0xc92b1b(0x15a)][_0xc92b1b(0x132)]=-_0x203563[_0xc92b1b(0x1a8)],_0x203563[_0xc92b1b(0x19e)](_0x2c01e1=>{const _0x3a7633=_0xc92b1b;_0x2c01e1[_0x3a7633(0x16f)]-=_0x203563[_0x3a7633(0x1a8)],_0x2c01e1[_0x3a7633(0x19a)]=_0x264af0[_0x3a7633(0x16c)],_0x2c01e1[_0x3a7633(0x115)]=!0x0,_0x2c01e1[_0x3a7633(0x11a)]=null;}),this[_0xc92b1b(0x1b7)](_0x203563,!0x0),this[_0xc92b1b(0x1b5)][_0xc92b1b(0x132)]=-_0x203563[_0xc92b1b(0x1a8)]+this[_0xc92b1b(0x13f)],this[_0xc92b1b(0x124)](_0x203563);}this[_0xc92b1b(0xe4)][_0xc92b1b(0x15a)][_0xc92b1b(0x132)]=_0x56b860,_0x35319c=this[_0xc92b1b(0xca)](_0x264af0[_0xc92b1b(0x12b)],_0x264af0[_0xc92b1b(0x1b6)]),await this[_0xc92b1b(0x177)](_0x35319c),this[_0xc92b1b(0x1b7)](_0x35319c,_0x50fcf5);}_0x264af0[_0xc92b1b(0x131)]&&(this[_0xc92b1b(0x1b4)][_0xc92b1b(0x105)](_0x35319c,_0x264af0[_0xc92b1b(0x131)]),this[_0xc92b1b(0x137)]=_0x264af0[_0xc92b1b(0x131)]),this[_0xc92b1b(0x1b5)][_0xc92b1b(0x132)]=_0x56b860+this[_0xc92b1b(0x13f)],this[_0xc92b1b(0x124)](_0x35319c),_0x5036ec[_0xc92b1b(0x142)](_0x248f4e=>{const _0x523d82=_0xc92b1b,_0x4fe846=this[_0x523d82(0x122)](_0x248f4e);return _0x4fe846&&!this[_0x523d82(0x148)][_0x523d82(0x13b)](_0x4fe846);})[_0xc92b1b(0x19e)]((_0x3f7a4d,_0x55fa3b)=>{const _0x129661=_0xc92b1b;_0x3f7a4d[_0x129661(0x16f)]=this[_0x129661(0xe4)][_0x129661(0x132)]+_0x55fa3b,this[_0x129661(0x1b3)](_0x3f7a4d);}),this[_0xc92b1b(0x1bd)]()?(this[_0xc92b1b(0x16a)]=0x0,this[_0xc92b1b(0x150)](!0x0),await this[_0xc92b1b(0x111)]()):(this[_0xc92b1b(0x170)]=!0x1,this[_0xc92b1b(0x193)]());}[_0x4d5074(0xd4)](_0x4f8296,_0x265e72){const _0x66de10=_0x4d5074;throw this[_0x66de10(0x170)]=!0x0,_0x265e72&&console[_0x66de10(0x19c)](_0x265e72),new _0x381efc(_0x4f8296,this[_0x66de10(0xdd)]);}[_0x4d5074(0x1b3)](_0x273b77){const _0x39c7b7=_0x4d5074;this[_0x39c7b7(0x113)][_0x39c7b7(0x13b)](_0x273b77)||(this[_0x39c7b7(0x113)][_0x39c7b7(0x118)](_0x273b77),this[_0x39c7b7(0x107)][_0x39c7b7(0x15d)](_0x273b77),this[_0x39c7b7(0x195)]||_0x39c7b7(0x127)==_0x273b77[_0x39c7b7(0x140)]&&!_0x273b77[_0x39c7b7(0xf1)]||this[_0x39c7b7(0x15b)]());}[_0x4d5074(0x150)](_0x17590f=!0x1){const _0x3af820=_0x4d5074;!_0x17590f&&this[_0x3af820(0x170)]||(this[_0x3af820(0x170)]=!0x0,clearTimeout(this[_0x3af820(0xc9)]),this[_0x3af820(0xc9)]=setTimeout(()=>{const _0x48c666=_0x3af820;this[_0x48c666(0x114)]()[_0x48c666(0xf6)](_0x449f8d=>{const _0x4d9ba4=_0x48c666;_0x449f8d&&(this[_0x4d9ba4(0x193)](),this[_0x4d9ba4(0x170)]=!0x1);})[_0x48c666(0x110)](_0x132961=>{const _0x59ba54=_0x48c666;if(this[_0x59ba54(0x193)](),this[_0x59ba54(0x170)]=!0x1,!function(_0x2c1e08){const _0x428aa8=_0x59ba54;return _0x2c1e08[_0x428aa8(0x151)][_0x428aa8(0x1b8)](_0x428aa8(0x126))||_0x2c1e08[_0x428aa8(0x151)][_0x428aa8(0x1b8)](_0x428aa8(0x165))||_0x2c1e08[_0x428aa8(0x151)][_0x428aa8(0x1b8)](_0x428aa8(0x172));}(_0x132961))throw _0x132961;});},this[_0x3af820(0x16a)]));}[_0x4d5074(0x111)](){return new Promise(_0xb3a096=>{const _0x28fe63=_0xf2e4;this['on'](_0x28fe63(0x10d),()=>{_0xb3a096();});});}async[_0x4d5074(0x114)](){const _0x5e5d47=_0x4d5074,_0x2566cc=this[_0x5e5d47(0xdd)][_0x5e5d47(0x101)][_0x5e5d47(0xea)](_0x4a12bc);if(this[_0x5e5d47(0x143)]()&&(_0x2566cc[_0x5e5d47(0xe1)](),this[_0x5e5d47(0xd1)]=!0x1),!this[_0x5e5d47(0x1bd)]())return!0x0;const _0x1ba280=[...this[_0x5e5d47(0x107)]];for(const _0xacf4a6 of _0x1ba280)_0xacf4a6[_0x5e5d47(0x18f)]=this[_0x5e5d47(0xe4)][_0x5e5d47(0x15a)][_0x5e5d47(0x1a0)](_0xacf4a6);const _0x415f43=this[_0x5e5d47(0x1b4)][_0x5e5d47(0x17a)](_0x1ba280),_0x4fdce4=K++,_0x16c54e=this[_0x5e5d47(0x14b)](_0x1ba280),_0x2e7452=await this[_0x5e5d47(0x1b9)][_0x5e5d47(0x119)](_0x16c54e,_0x16c54e[_0x5e5d47(0x16f)],_0x415f43);try{return await this[_0x5e5d47(0x1b1)](_0x1ba280,_0x2e7452,_0x4fdce4);}catch(_0x241b7a){return this[_0x5e5d47(0xd4)](_0x5e5d47(0xf0),_0x241b7a);}}async[_0x4d5074(0x1b1)](_0x11b5e4,_0xe718f6,_0x18582a){const _0x413230=_0x4d5074;if(_0x413230(0x19c)in _0xe718f6)throw _0xe718f6[_0x413230(0x19c)];let _0x1f0549=!0x1;if(_0xe718f6[_0x413230(0xfc)]){_0xe718f6[_0x413230(0x131)]&&(this[_0x413230(0x137)]=_0xe718f6[_0x413230(0x131)]),this[_0x413230(0x107)]=this[_0x413230(0x107)][_0x413230(0x142)](_0x46dffe=>!_0x11b5e4[_0x413230(0x146)](_0x46dffe));for(const _0x80e255 of _0x11b5e4)_0x80e255[_0x413230(0x19a)]=_0x413230(0x18b)in _0xe718f6&&_0xe718f6[_0x413230(0x18b)]||void 0x0;Q(_0x11b5e4,_0xe718f6[_0x413230(0x132)]-_0x11b5e4[_0x413230(0x1a8)]),this[_0x413230(0x124)](_0x11b5e4);const _0x417847=_0x11b5e4[_0x413230(0x142)](_0x3f8b26=>{const _0x398fd0=_0x413230;if(!_0x3f8b26[_0x398fd0(0x115)])return!0x1;const _0x1a4178=this[_0x398fd0(0x122)](_0x3f8b26);return _0x1a4178&&!this[_0x398fd0(0x148)][_0x398fd0(0x13b)](_0x1a4178);});Q(_0x417847,this[_0x413230(0xe4)][_0x413230(0x132)]),this[_0x413230(0x1b7)](_0x417847),_0x1f0549=!0x0,this[_0x413230(0x16a)]=this[_0x413230(0x156)];}else{const _0x2b199d=this[_0x413230(0xca)](_0xe718f6[_0x413230(0x12b)],_0xe718f6[_0x413230(0x1b6)])[_0x413230(0x142)](_0x2c3a1e=>_0x2c3a1e[_0x413230(0x16f)]>=this[_0x413230(0x188)]);_0x2b199d[_0x413230(0x19e)](_0x307ea5=>this[_0x413230(0xdb)](_0x307ea5)),this[_0x413230(0x107)]=this[_0x413230(0x107)][_0x413230(0x142)](_0x1a798f=>!_0x1a798f[_0x413230(0x115)]||!this[_0x413230(0x148)][_0x413230(0x13b)](this[_0x413230(0x122)](_0x1a798f))),this[_0x413230(0x107)][_0x413230(0x1a8)]&&Q(this[_0x413230(0x107)],this[_0x413230(0x107)][0x0][_0x413230(0x16f)]),await this[_0x413230(0x177)](_0x2b199d),_0x1f0549=this[_0x413230(0x1a5)](_0x2b199d,_0xe718f6[_0x413230(0x132)],_0xe718f6[_0x413230(0x131)]),this[_0x413230(0x16a)]=Math[_0x413230(0x102)](this[_0x413230(0x16a)]/0x2);}return _0x1f0549?!this[_0x413230(0x1bd)]()||(this[_0x413230(0x150)](!0x0),!0x1):this[_0x413230(0xd4)](_0x413230(0x179));}[_0x4d5074(0x1a5)](_0x4b3109,_0x485775,_0x181db3){const _0x549042=_0x4d5074;try{const _0x20ae79={'document':this[_0x549042(0xe4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4e969a,operationsB:_0x493c75,originalOperations:_0x3e65bf}=_0x3cfa3f(_0x4b3109,this[_0x549042(0x107)],_0x20ae79);Q(_0x4e969a,this[_0x549042(0xe4)][_0x549042(0x132)]),Q(_0x493c75,_0x485775);for(const _0x3042fc of _0x4e969a){const _0x5e5d83=_0x3e65bf[_0x549042(0xea)](_0x3042fc);_0x3042fc[_0x549042(0x11a)]=_0x5e5d83?_0x5e5d83[_0x549042(0x11a)]:null;}_0x181db3&&(this[_0x549042(0x1b4)][_0x549042(0x105)](_0x4b3109,_0x181db3),this[_0x549042(0x137)]=_0x181db3),this[_0x549042(0x107)]=[..._0x493c75],this[_0x549042(0x1b7)](_0x4e969a),this[_0x549042(0x124)](_0x4b3109);}catch(_0x5d5724){return console[_0x549042(0x19c)](_0x5d5724),!0x1;}return!0x0;}[_0x4d5074(0x1b7)](_0x4e706b,_0x27d488=!0x1){const _0xeac1b7=_0x4d5074;this[_0xeac1b7(0xdd)][_0xeac1b7(0x163)][_0xeac1b7(0xc7)]({'isUndoable':!0x1,'isLocal':!0x1},_0x59d9ce=>{const _0x4bf9ca=_0xeac1b7;for(const _0x25c405 of _0x4e706b)this[_0x4bf9ca(0x113)][_0x4bf9ca(0x118)](_0x25c405),this[_0x4bf9ca(0xdb)](_0x25c405),_0x59d9ce[_0x4bf9ca(0x166)][_0x4bf9ca(0x125)](_0x25c405),this[_0x4bf9ca(0xdd)][_0x4bf9ca(0x163)][_0x4bf9ca(0x10b)](_0x25c405);});}[_0x4d5074(0xdb)](_0x5d1a44){const _0x201972=_0x4d5074,_0x46132a=this[_0x201972(0x122)](_0x5d1a44);_0x46132a&&this[_0x201972(0x148)][_0x201972(0x118)](_0x46132a);}[_0x4d5074(0x122)](_0x54c379){const _0x3fdd73=_0x4d5074;let _0x2b7077,_0x458055;switch(_0x54c379[_0x3fdd73(0x140)]){case _0x3fdd73(0x120):_0x2b7077=_0x54c379[_0x3fdd73(0xd9)][_0x3fdd73(0x164)];break;case _0x3fdd73(0x127):if(_0x458055=_0x54c379[_0x3fdd73(0x1bb)],!_0x458055)return null;_0x2b7077=_0x458055[_0x3fdd73(0x164)];break;case _0x3fdd73(0x19b):_0x2b7077=_0x54c379[_0x3fdd73(0x164)];break;case _0x3fdd73(0x173):_0x2b7077=_0x54c379[_0x3fdd73(0x15f)];break;case _0x3fdd73(0x19f):_0x2b7077=_0x54c379[_0x3fdd73(0x15c)][_0x3fdd73(0x164)];break;default:return null;}return _0x2b7077[_0x3fdd73(0x18a)];}[_0x4d5074(0x124)](_0x4e24a5){const _0x5ecc71=_0x4d5074;_0x4e24a5[_0x5ecc71(0x19e)](_0x5a57f0=>{const _0x1c13a4=_0x5ecc71,_0x1a018b=_0x5a57f0[_0x1c13a4(0x1a3)]();_0x1a018b[_0x1c13a4(0x11a)]=_0x5a57f0[_0x1c13a4(0x11a)],_0x1a018b[_0x1c13a4(0x115)]=!!_0x5a57f0[_0x1c13a4(0x115)],_0x1a018b[_0x1c13a4(0x19a)]=_0x5a57f0[_0x1c13a4(0x19a)],_0x1a018b[_0x1c13a4(0x16f)]+=this[_0x1c13a4(0x13f)],_0x5a57f0[_0x1c13a4(0x1a6)]&&this[_0x1c13a4(0xfe)][_0x1c13a4(0x118)](_0x1a018b),this[_0x1c13a4(0x1b5)][_0x1c13a4(0x125)](_0x1a018b);});}[_0x4d5074(0x189)](_0x45a77e){const _0x418250=_0x4d5074,_0x4da708=this[_0x418250(0xdd)][_0x418250(0x101)][_0x418250(0xea)](_0x418250(0x129)),_0x43bc71=this[_0x418250(0xdd)][_0x418250(0xe9)];_0x45a77e||(_0x45a77e=_0x268628(_0x43bc71,_0x418250(0x1a7))),_0x4da708[_0x418250(0x158)](_0x45a77e,{'title':_0x268628(_0x43bc71,_0x418250(0x18e)),'namespace':_0x418250(0x1c0)}),this[_0x418250(0xe6)]=!0x0,clearTimeout(this[_0x418250(0xc9)]),this[_0x418250(0x107)]=[],this[_0x418250(0xdd)][_0x418250(0x101)][_0x418250(0xea)](_0x5d0a1a)[_0x418250(0x1a2)]();}[_0x4d5074(0x15b)](){const _0x124c17=_0x4d5074;this[_0x124c17(0x195)]||(this[_0x124c17(0x195)]=this[_0x124c17(0xdd)][_0x124c17(0x101)][_0x124c17(0xea)](_0x2c2c98)[_0x124c17(0x118)](_0x268628(this[_0x124c17(0xdd)][_0x124c17(0xe9)],_0x124c17(0xcc))));}[_0x4d5074(0x193)](){const _0x206721=_0x4d5074;this[_0x206721(0x195)]&&(this[_0x206721(0xdd)][_0x206721(0x101)][_0x206721(0xea)](_0x2c2c98)[_0x206721(0x11d)](this[_0x206721(0x195)]),this[_0x206721(0x195)]=null);}[_0x4d5074(0x14b)](_0x5163b7){const _0x38b772=_0x4d5074,_0x536c16=_0x5163b7[_0x38b772(0x1ac)](_0x5101a5=>_0x5101a5[_0x38b772(0x117)]());return this[_0x38b772(0x1af)][_0x38b772(0xf9)](_0x536c16);}[_0x4d5074(0xca)](_0xdc7e91,_0xbe8a57){const _0x1ffc27=_0x4d5074;return this[_0x1ffc27(0x1af)][_0x1ffc27(0xe2)](_0xdc7e91)[_0x1ffc27(0x1ac)]((_0x571c33,_0x25076a)=>{const _0x1aca44=_0x1ffc27,_0xe5d1dd=_0x1aca44(0x16b)==_0xbe8a57[_0x25076a][_0x1aca44(0x140)];if(_0x1aca44(0x187)==_0x571c33[_0x1aca44(0xdf)]){const _0x308cf6=_0x571c33[_0x1aca44(0xd9)][_0x1aca44(0x164)];!this[_0x1aca44(0xe4)][_0x1aca44(0xfb)](_0x308cf6)&&(this[_0x1aca44(0xe4)][_0x1aca44(0x16d)](_0x1aca44(0x186),_0x308cf6)[_0x1aca44(0x175)]=!0x1);}const _0x3eb9ef=_0x2db1e0[_0x1aca44(0x10f)](_0x571c33,this[_0x1aca44(0xe4)]);return _0x3eb9ef[_0x1aca44(0x18f)]=_0x571c33[_0x1aca44(0x18f)],_0x3eb9ef[_0x1aca44(0x115)]=_0xe5d1dd,_0x3eb9ef[_0x1aca44(0x11a)]=_0xe5d1dd?null:_0xbe8a57[_0x25076a][_0x1aca44(0x141)],_0x3eb9ef[_0x1aca44(0x1a6)]=_0x1aca44(0x1b2)===_0xbe8a57[_0x25076a][_0x1aca44(0x140)],_0x3eb9ef[_0x1aca44(0x19a)]=_0xbe8a57[_0x25076a][_0x1aca44(0x19a)],_0x3eb9ef;});}[_0x4d5074(0x1be)](){const _0x4c28f7=_0x4d5074;this[_0x4c28f7(0xd1)]=!0x0,this[_0x4c28f7(0x143)]()?this[_0x4c28f7(0x150)]():this[_0x4c28f7(0xd1)]=!0x1;}[_0x4d5074(0x143)](){const _0x4a3258=_0x4d5074,_0x49fd23=this[_0x4a3258(0xdd)][_0x4a3258(0x101)][_0x4a3258(0xea)](_0x35f662)[_0x4a3258(0xc0)][_0x4a3258(0xea)](this[_0x4a3258(0x106)]);return!this[_0x4a3258(0xdd)][_0x4a3258(0x159)]&&!!_0x49fd23&&_0x49fd23[_0x4a3258(0x1a8)]>0x1&&this[_0x4a3258(0xd1)];}[_0x4d5074(0x1bd)](){const _0x203017=_0x4d5074;return this[_0x203017(0x107)][_0x203017(0x1a8)]>0x0||this[_0x203017(0x143)]();}}l[_0x4d5074(0x1bc)]=_0xf048b9;function _0x218e(){const _0x5d246a=['applyOperation','set','change:_isPendingUpdate','document','fromJSON','catch','_waitUntilSynced','isPremiumPlugin','_knownOperations','_sendBufferedOperations','_isInit','stopListening','toJSON','add','sendOperations','_authorId','_operationToId','_initThrowingOnDataSet','remove','disconnect','reconnection:\x20flushed\x20session','insert','getMany','_getAffectedRoot','end','_updateServerHistory','addOperation','cloud-services-internal-error:\x20Not\x20connected.','marker','enableReadOnlyMode','Notification','requires','data','editing','4709208NROYMV','state','_handleInitialConnectionData','change:range','lastOperationId','version','45ybTUkA','_handleReconnectionResponse','_connectService','disableReadOnlyMode','_lastSyncedOperationId','_handleSendingSelectionMarkers','_initSessionsHandling','lastDocumentSession','has','define','string','_handleReceivedOperations','_offset','type','userId','filter','_shouldSendSelectionUpdate','RealTimeCollaborationClient','isOfficialPlugin','includes','directChange','_knownRootNames','from','reconnect','_compressOperations','change:_isEditingAllowed','realtimecollaborationclient-initservice-internal-error','createPositionAt','code','_sendBufferedOperationsDelayed','message','lastSyncVersion','connected','7EwohGt','fire','_baseBufferDelay','isEnabled','showWarning','isReadOnly','history','_setPendingAction','targetPosition','push','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.','affectedSelectable','getOperations','collaboration-missing-channelid','size','model','root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','batch','sessionId','rtc-destroyed','config','_currentBufferDelay','init','sessionCreatedAt','createRoot','start','baseVersion','_isPendingUpdate','944285tmhUYc','cloud-services-internal-error:\x20Request\x20timeout.','addRoot','_loadRoot','_isAttached','addUser','_fetchMissingUsers','permissions','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','6OumMdG','4603750REFqYZ','register','loadRoot','_isLoaded','addToReconnectionStack','_disconnectService','1300104XwhTLv','parse','_bufferRootLoad','slice','$root','InsertOperation','_lastServerVersion','_handleReconnectionError','rootName','lastOperationAcceptedAt','roots','ready','Synchronization\x20issue','wasUndone','getConnectedSessions','getUser','change:hasDomSelection','_clearPendingAction','unregister','_pendingAction','realtimecollaborationclient-init-non-existent-root','multi-root-editor-root-attributes-no-root','_getOperationsFromInitData','realtimecollaborationclient-init-document-already-initialized','createdAt','addRootAttribute','error','stop','forEach','move','isUndoneOperation','pluginName','destroy','clone','sessionAdd:','_handleExternalOperations','_isDisconnection','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.','length','differ','path','disconnected','map','currentDocumentSession','document:write','_compressor','_ignoredOperations','_handleServerResponse','cs:removeUser','_saveOperationInBuffer','_operationIdentifier','serverHistory','metadata','_applyOperationsSet','startsWith','_service','selection','newRange','CollaborativeEditingService','_shouldSendUpdate','_refreshUserSelectionMarkers','offset','real-time-collaboration','409','keys','high','channelSessions','realtimecollaborationclient-init-session-connection-error','collaboration','CommentsOnly','markers','404','finally','enqueueChange','getOperationAuthor','_sendBufferedOperationsDelayId','_decompressOperations','_isConnected','PENDING_ACTION_SENDING_DATA','Permissions','cloudDocumentVersion','reset','removeFromReconnectionStack','_hasSelectionChanged','1832067LMOsvP','setPermissions','_crash','418054MPypGR','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','apply','bind','position','rootsAttributes','_addKnownRoot','return','editor','createPositionFromPath','__className','view','createUserMarkerOperations','decompress','suppressErrorInCollaboration','_document','getDocumentDetails','_hasSynchronizationProblem','837794edOsDF','_isEditingAllowed','locale','get','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connect','entries','connection','createRange','realtimecollaborationclient-sendbufferedoperations','affectsData','operationsReceived','isDocumentOperation','cloudServices.bundleVersion','_setUpDataInit','then','listenTo','collaboration.channelId','compress','rtc-offline','getRoot','wereChangesApplied','off','_disconnectionOperations','attributes','mySessionId','plugins','round','_connectAfterSessionHasBeenFlushed','initData','setIdForTheLastOperation','_channelId','_bufferedOperations','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-initservice-incorrect-server-operation','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.'];_0x218e=function(){return _0x5d246a;};return _0x218e();}export default l;class J extends Error{}function Q(_0x4b57a3,_0x21bc66){const _0x431d9b=_0x4d5074;for(const _0x43e298 of _0x4b57a3)_0x43e298[_0x431d9b(0x16f)]=_0x21bc66++;}class X{constructor(_0x5ece54){const _0x46c0a2=_0x4d5074;this[_0x46c0a2(0x1b0)]=_0x5ece54,this[_0x46c0a2(0x11b)]=new WeakMap();}[_0x4d5074(0x17a)](_0x25b7b1){const _0x4e41d4=_0x4d5074;let _0x227b84=_0x25b7b1[_0x4e41d4(0x1a8)];for(;_0x227b84--;){const _0x2aa771=_0x25b7b1[_0x227b84];if(!this[_0x4e41d4(0x1b0)][_0x4e41d4(0x13b)](_0x2aa771)){if(!this[_0x4e41d4(0x11b)][_0x4e41d4(0x13b)](_0x2aa771)){const _0x12b71c=_0x1e9653()[_0x4e41d4(0x185)](0x1,0x12);this[_0x4e41d4(0x11b)][_0x4e41d4(0x10c)](_0x2aa771,_0x12b71c);}return this[_0x4e41d4(0x11b)][_0x4e41d4(0xea)](_0x2aa771);}}}[_0x4d5074(0x105)](_0x3ba96a,_0x3fbcf4){const _0x4de7f0=_0x4d5074;if(!_0x3fbcf4)return;let _0x4cbfa0=_0x3ba96a[_0x4de7f0(0x1a8)];for(;_0x4cbfa0--;){const _0x3de155=_0x3ba96a[_0x4cbfa0];this[_0x4de7f0(0x1b0)][_0x4de7f0(0x13b)](_0x3de155)||this[_0x4de7f0(0x11b)][_0x4de7f0(0x10c)](_0x3de155,_0x3fbcf4);}}}
23
+ const _0x20565c=_0x22eb;(function(_0x87e05,_0x5763e5){const _0x4f85e2=_0x22eb,_0xe76a33=_0x87e05();while(!![]){try{const _0x488c58=parseInt(_0x4f85e2(0x167))/0x1+parseInt(_0x4f85e2(0x180))/0x2+parseInt(_0x4f85e2(0x172))/0x3+-parseInt(_0x4f85e2(0x190))/0x4+parseInt(_0x4f85e2(0x18f))/0x5+-parseInt(_0x4f85e2(0x176))/0x6*(-parseInt(_0x4f85e2(0x171))/0x7)+parseInt(_0x4f85e2(0x138))/0x8*(-parseInt(_0x4f85e2(0x10f))/0x9);if(_0x488c58===_0x5763e5)break;else _0xe76a33['push'](_0xe76a33['shift']());}catch(_0x202093){_0xe76a33['push'](_0xe76a33['shift']());}}}(_0x3d43,0x953fd));import{Plugin as _0x10512a,PendingActions as _0x9e3f39}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f200e,version as _0x31cb36,uid as _0x256992}from'ckeditor5/src/utils.js';import{Notification as _0x4127a5}from'ckeditor5/src/ui.js';import{transformSets as _0xbb1d04,NoOperation as _0x4e29a9,InsertOperation as _0x33d2f9,MarkerOperation as _0x3fdd8f,RootAttributeOperation as _0x247570,OperationFactory as _0x116930,History as _0x4f5937}from'ckeditor5/src/engine.js';import _0x294822 from'./websocketgateway.js';import _0x2f4c0c from'./sessions.js';import _0x4fe910 from'./usermarkers.js';import{getTranslation as _0xcde7f2}from'../common-translations.js';import{Compressor as _0x4202d3}from'@ckeditor/ckeditor5-operations-compressor';function _0x22eb(_0x34f6ce,_0x50fa8b){const _0x3d431c=_0x3d43();return _0x22eb=function(_0x22eb3c,_0x29bbce){_0x22eb3c=_0x22eb3c-0x10a;let _0x54da3c=_0x3d431c[_0x22eb3c];return _0x54da3c;},_0x22eb(_0x34f6ce,_0x50fa8b);}import{Users as _0x2c4c1a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x40c789,CollaborativeEditingService as _0x418210}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x10512a{static get[_0x20565c(0x1bb)](){return[_0x294822,_0x2f4c0c,_0x4fe910,_0x9e3f39,_0x2c4c1a,_0x4127a5];}static get[_0x20565c(0x1ca)](){const _0x454ab1=_0x20565c;return _0x454ab1(0x189);}static get[_0x20565c(0x206)](){return!0x0;}static get[_0x20565c(0x203)](){return!0x0;}get[_0x20565c(0x178)](){const _0x6ffb12=_0x20565c;return this[_0x6ffb12(0x19d)]+this[_0x6ffb12(0x147)];}get[_0x20565c(0x19d)](){const _0x415374=_0x20565c;return this[_0x415374(0x1ae)][_0x415374(0x17d)]-this[_0x415374(0x147)];}get[_0x20565c(0x1af)](){const _0x1a5f5a=_0x20565c,_0x4595a5=this[_0x1a5f5a(0x1ae)][_0x1a5f5a(0x17f)]();for(let _0x2ed018=_0x4595a5[_0x1a5f5a(0x1bd)]-0x1;_0x2ed018>=0x0;_0x2ed018--){const _0x48b424=_0x4595a5[_0x2ed018];if(!this[_0x1a5f5a(0x137)][_0x1a5f5a(0x1ad)](_0x48b424))return _0x48b424[_0x1a5f5a(0x15d)]+0x1-this[_0x1a5f5a(0x147)];}return 0x0;}constructor(_0x3852db){const _0x36562b=_0x20565c;if(super(_0x3852db),this[_0x36562b(0x147)]=0x0,this[_0x36562b(0x10d)]=null,this[_0x36562b(0x1ae)]=new _0x4f5937(),this[_0x36562b(0x1c0)][_0x36562b(0x161)][_0x36562b(0x119)](_0x36562b(0x170),{}),this[_0x36562b(0x1b2)]=this[_0x36562b(0x1c0)][_0x36562b(0x161)][_0x36562b(0x151)](_0x36562b(0x1ee)),!this[_0x36562b(0x1b2)])throw new _0x2f200e(_0x36562b(0x193),this);const _0x40ddcf=_0x3852db[_0x36562b(0x161)][_0x36562b(0x151)](_0x36562b(0x110))||_0x31cb36;this[_0x36562b(0x1b0)]=new l[(_0x36562b(0x1d8))](_0x40ddcf,this[_0x36562b(0x1b2)]),this[_0x36562b(0x174)]=this[_0x36562b(0x1c0)][_0x36562b(0x144)][_0x36562b(0x19e)],this[_0x36562b(0x1cd)]=new _0x4202d3(),this[_0x36562b(0x11f)]=[],this[_0x36562b(0x12b)]=new WeakSet(),this[_0x36562b(0x1aa)]=new Set(),this[_0x36562b(0x12f)](_0x36562b(0x13d),!0x1),this[_0x36562b(0x12f)](_0x36562b(0x18e),!0x1),this[_0x36562b(0x129)]=null,this[_0x36562b(0x15a)]=!0x1,this[_0x36562b(0x208)]=null,this[_0x36562b(0x142)]=0x12c,this[_0x36562b(0x1cf)]=this[_0x36562b(0x142)],this[_0x36562b(0x1d3)]=null,this[_0x36562b(0x137)]=new WeakSet(),this[_0x36562b(0x13a)]=new X(this[_0x36562b(0x137)]);}[_0x20565c(0x132)](){const _0x43f6d0=_0x20565c,_0x2684a2=this[_0x43f6d0(0x1c0)],_0x5f548a=_0x2684a2[_0x43f6d0(0x195)][_0x43f6d0(0x151)](_0x2c4c1a),_0x582663=_0x2684a2[_0x43f6d0(0x195)][_0x43f6d0(0x151)](_0x294822);this[_0x43f6d0(0x1e0)](_0x5f548a,_0x43f6d0(0x1dd),(_0x373923,_0x22ff72)=>{const _0x489bd2=_0x43f6d0,_0x40438e=_0x22ff72[0x0];_0x40438e[_0x489bd2(0x1f1)]&&(_0x373923[_0x489bd2(0x140)]=_0x5f548a[_0x489bd2(0x16a)](_0x40438e[_0x489bd2(0x1f1)]),_0x373923[_0x489bd2(0x17b)]()),null===_0x40438e[_0x489bd2(0x1f1)]&&(_0x373923[_0x489bd2(0x140)]=null,_0x373923[_0x489bd2(0x17b)]());},{'priority':_0x43f6d0(0x14c)}),this[_0x43f6d0(0x1e0)](_0x2684a2[_0x43f6d0(0x144)][_0x43f6d0(0x19e)][_0x43f6d0(0x19f)],_0x43f6d0(0x116),(_0x5ea36c,_0x5e344f)=>{const _0x36efc3=_0x43f6d0;_0x5e344f[_0x36efc3(0x113)]&&this[_0x36efc3(0x1e1)]();}),this[_0x43f6d0(0x1e0)](_0x2684a2[_0x43f6d0(0x168)][_0x43f6d0(0x201)],_0x43f6d0(0x1b3),()=>{const _0x569cd0=_0x43f6d0;this[_0x569cd0(0x1e1)]();}),this[_0x43f6d0(0x1cc)](),_0x2684a2[_0x43f6d0(0x144)]['on'](_0x43f6d0(0x1e4),(_0x27e2e8,_0x51012f)=>{const _0x1e8de8=_0x43f6d0,_0x5d1c18=_0x51012f[0x0];_0x5d1c18[_0x1e8de8(0x1dc)]&&(this[_0x1e8de8(0x13e)](_0x5d1c18),this[_0x1e8de8(0x1e9)]()&&this[_0x1e8de8(0x18b)]());}),this[_0x43f6d0(0x185)](),this[_0x43f6d0(0x1f8)](_0x43f6d0(0x1c2))['to'](_0x582663,_0x43f6d0(0x20b),this,_0x43f6d0(0x18e),(_0x31eabc,_0x449aa0)=>_0x43f6d0(0x1a7)===_0x31eabc&&!_0x449aa0),this['on'](_0x43f6d0(0x121),()=>{const _0x1b79d5=_0x43f6d0;this[_0x1b79d5(0x1c2)]?_0x2684a2[_0x1b79d5(0x152)](_0x1b79d5(0x188)):_0x2684a2[_0x1b79d5(0x146)](_0x1b79d5(0x188));}),this[_0x43f6d0(0x1c2)]?_0x2684a2[_0x43f6d0(0x152)](_0x43f6d0(0x188)):_0x2684a2[_0x43f6d0(0x146)](_0x43f6d0(0x188)),this[_0x43f6d0(0x12f)](_0x43f6d0(0x157),!0x1);}async[_0x20565c(0x1ed)](){const _0x4c74c9=_0x20565c,_0x5029e3=this[_0x4c74c9(0x1c0)][_0x4c74c9(0x195)][_0x4c74c9(0x151)](_0x2f4c0c),_0x3b172d=this[_0x4c74c9(0x1c0)][_0x4c74c9(0x195)][_0x4c74c9(0x151)](_0x294822);try{this[_0x4c74c9(0x13d)]=!0x0,_0x5029e3[_0x4c74c9(0x1b5)](this[_0x4c74c9(0x1b2)]);const _0x4b87f7=await this[_0x4c74c9(0x1b0)][_0x4c74c9(0x1ed)](_0x3b172d[_0x4c74c9(0x1d1)],this[_0x4c74c9(0x1af)]);await this[_0x4c74c9(0x1a1)](_0x4b87f7)&&(this[_0x4c74c9(0x13d)]=!0x1,this[_0x4c74c9(0x1c4)]());const _0x104a51=await this[_0x4c74c9(0x1b0)][_0x4c74c9(0x131)]();_0x5029e3[_0x4c74c9(0x1f4)](this[_0x4c74c9(0x1b2)],_0x104a51),this[_0x4c74c9(0x202)](),this[_0x4c74c9(0x157)]=!0x0;}catch(_0x5158a9){if(function(_0x585671){const _0x9d06bf=_0x4c74c9;return _0x9d06bf(0x122)===_0x585671[_0x9d06bf(0x184)];}(_0x5158a9)&&this[_0x4c74c9(0x10d)])await this[_0x4c74c9(0x1e7)]();else{if(function(_0x2b2ef6){const _0x5fa8ca=_0x4c74c9;return _0x5fa8ca(0x12a)===_0x2b2ef6[_0x5fa8ca(0x184)];}(_0x5158a9)){const _0x2153e3=_0xcde7f2(this[_0x4c74c9(0x1c0)][_0x4c74c9(0x1b1)],_0x4c74c9(0x13c));this[_0x4c74c9(0x11e)](_0x2153e3);}else{if(!(_0x5158a9 instanceof J))throw _0x5158a9;this[_0x4c74c9(0x11e)]();}}}}[_0x20565c(0x196)](){const _0x311235=_0x20565c,_0xb5bbd0=this[_0x311235(0x1c0)][_0x311235(0x195)][_0x311235(0x151)](_0x294822),_0x29e32e=this[_0x311235(0x1c0)][_0x311235(0x195)][_0x311235(0x151)](_0x2f4c0c);this[_0x311235(0x1c0)][_0x311235(0x146)](_0x311235(0x15b)),_0x29e32e[_0x311235(0x1fe)][_0x311235(0x1ad)](this[_0x311235(0x1b2)])&&_0x29e32e[_0x311235(0x1b5)](this[_0x311235(0x1b2)]),_0xb5bbd0[_0x311235(0x1ef)](this),this[_0x311235(0x156)](),super[_0x311235(0x196)]();}async[_0x20565c(0x1a1)](_0x17d384){const _0x45d9ba=_0x20565c;if(this[_0x45d9ba(0x10d)]!==_0x17d384[_0x45d9ba(0x10d)]&&this[_0x45d9ba(0x1d3)]!==_0x17d384[_0x45d9ba(0x16f)])throw new J();return this[_0x45d9ba(0x10d)]=_0x17d384[_0x45d9ba(0x10d)],this[_0x45d9ba(0x16e)]([],{..._0x17d384,'wereChangesApplied':!0x1,'data':_0x17d384[_0x45d9ba(0x14e)]},_0x45d9ba(0x1ed));}async[_0x20565c(0x20a)](_0x4b13f5,_0x11ce23=!0x1){const _0x45f515=_0x20565c,{connection:_0x384fb3}=this[_0x45f515(0x1c0)][_0x45f515(0x195)][_0x45f515(0x151)](_0x294822);l[_0x45f515(0x1d8)][_0x45f515(0x131)](_0x384fb3,this[_0x45f515(0x1b2)])[_0x45f515(0x10a)](_0xd2d679=>this[_0x45f515(0x13b)](_0xd2d679))[_0x45f515(0x181)](_0x4bb287=>{const _0x1f58a4=_0x45f515;this[_0x1f58a4(0x139)](_0x1f58a4(0x207),_0x4bb287);}),this[_0x45f515(0x1e0)](this[_0x45f515(0x1b0)],_0x45f515(0x173),this[_0x45f515(0x1fa)][_0x45f515(0x1f8)](this)),this[_0x45f515(0x1e0)](this[_0x45f515(0x1b0)],_0x45f515(0x1c1),(_0x206a07,_0x4d0943)=>{const _0x42959f=_0x45f515;this[_0x42959f(0x139)](_0x42959f(0x13f),_0x4d0943);}),this[_0x45f515(0x1e0)](this[_0x45f515(0x1b0)],_0x45f515(0x1c9),()=>{const _0xdb503c=_0x45f515;this[_0xdb503c(0x157)]=!0x1;});const _0x16173c=this[_0x45f515(0x13a)][_0x45f515(0x154)](_0x4b13f5);this[_0x45f515(0x13d)]=!0x0;const _0x4a8627=await this[_0x45f515(0x1b0)][_0x45f515(0x169)](_0x384fb3,this[_0x45f515(0x1a0)](_0x4b13f5),_0x16173c);if(this[_0x45f515(0x10d)]=_0x4a8627[_0x45f515(0x10d)],_0x11ce23){if(!_0x4a8627[_0x45f515(0x1c3)])return void this[_0x45f515(0x11e)]();this[_0x45f515(0x13d)]=!0x1,this[_0x45f515(0x1c4)](),this[_0x45f515(0x1ae)][_0x45f515(0x158)](),this[_0x45f515(0x147)]=_0x4a8627[_0x45f515(0x124)],this[_0x45f515(0x1ae)][_0x45f515(0x17d)]=this[_0x45f515(0x147)],await this[_0x45f515(0x16e)](_0x4b13f5,_0x4a8627,_0x45f515(0x1d0));}else await this[_0x45f515(0x204)](_0x4a8627,_0x4b13f5);this[_0x45f515(0x202)](),this[_0x45f515(0x157)]=!0x0;}[_0x20565c(0x202)](){const _0x3672a6=_0x20565c,_0x4e1bcd=this[_0x3672a6(0x1c0)][_0x3672a6(0x195)][_0x3672a6(0x151)](_0x2f4c0c),_0x54dc98=this[_0x3672a6(0x1c0)][_0x3672a6(0x195)][_0x3672a6(0x151)](_0x4fe910),_0x43e3c0=_0x4e1bcd[_0x3672a6(0x1fe)][_0x3672a6(0x151)](this[_0x3672a6(0x1b2)]);_0x43e3c0&&_0x43e3c0[_0x3672a6(0x1bd)]>0x1?_0x54dc98[_0x3672a6(0x1fc)]():this[_0x3672a6(0x1e0)](_0x4e1bcd,_0x3672a6(0x1d9)+this[_0x3672a6(0x1b2)],()=>{const _0x4a03c9=_0x3672a6;0x2===_0x4e1bcd[_0x4a03c9(0x1fe)][_0x4a03c9(0x151)](this[_0x4a03c9(0x1b2)])[_0x4a03c9(0x1bd)]&&_0x54dc98[_0x4a03c9(0x1fc)]();});}async[_0x20565c(0x1fa)](_0x354b16,_0x190981,_0x551598,_0x63d9e){const _0x14b300=_0x20565c;if(!this[_0x14b300(0x13d)]&&this[_0x14b300(0x174)][_0x14b300(0x17d)]==_0x190981){const _0x244fa4=this[_0x14b300(0x1d7)](_0x551598,_0x63d9e);await this[_0x14b300(0x1b8)](_0x244fa4),this[_0x14b300(0x1c7)](_0x244fa4,_0x190981,_0x551598[_0x14b300(0x16f)])||this[_0x14b300(0x139)](_0x14b300(0x1ec));}}async[_0x20565c(0x1e7)](){const _0x4a14e1=_0x20565c;this[_0x4a14e1(0x156)]();const {locale:_0x15b544}=this[_0x4a14e1(0x1c0)];let _0xf81218;try{_0xf81218=await this[_0x4a14e1(0x1b0)][_0x4a14e1(0x17e)]();}catch(_0x79f9e7){const _0x17eeaf=_0xcde7f2(_0x15b544,_0x4a14e1(0x1ea));return void this[_0x4a14e1(0x11e)](_0x17eeaf);}const _0x2e2bb9=_0xf81218[_0x4a14e1(0x16b)]||_0xf81218[_0x4a14e1(0x12c)];if(this[_0x4a14e1(0x1d3)]===_0x2e2bb9[_0x4a14e1(0x16f)])await this[_0x4a14e1(0x20a)](this[_0x4a14e1(0x1c0)][_0x4a14e1(0x144)][_0x4a14e1(0x19e)][_0x4a14e1(0x182)][_0x4a14e1(0x17f)](),!0x0);else{const _0x305223=_0xcde7f2(_0x15b544,_0x4a14e1(0x200));this[_0x4a14e1(0x11e)](_0x305223);}}[_0x20565c(0x156)](){const _0x4d62fb=_0x20565c;this[_0x4d62fb(0x1b0)][_0x4d62fb(0x1a6)](),this[_0x4d62fb(0x11f)]=[],clearTimeout(this[_0x4d62fb(0x208)]),this[_0x4d62fb(0x1be)](this[_0x4d62fb(0x1b0)]);}[_0x20565c(0x13b)](_0x46cbd2){const _0x5ea4c5=_0x20565c,_0x2659ae=this[_0x5ea4c5(0x1c0)][_0x5ea4c5(0x195)][_0x5ea4c5(0x151)](_0x2f4c0c);this[_0x5ea4c5(0x1e0)](_0x2659ae,_0x5ea4c5(0x1d9)+this[_0x5ea4c5(0x1b2)],(_0x98cebe,{session:_0x1ce7a4})=>{const _0x1bc40a=_0x5ea4c5;if(_0x1ce7a4['id']===_0x2659ae[_0x1bc40a(0x1c5)]){_0x98cebe[_0x1bc40a(0x130)]();const _0x8a6229=this[_0x1bc40a(0x1c0)][_0x1bc40a(0x195)][_0x1bc40a(0x1ad)](_0x1bc40a(0x15c))&&this[_0x1bc40a(0x1c0)][_0x1bc40a(0x195)][_0x1bc40a(0x151)](_0x1bc40a(0x15c));let _0x254e77=_0x1ce7a4[_0x1bc40a(0x1f7)];_0x8a6229&&_0x8a6229[_0x1bc40a(0x1db)]&&(_0x254e77=_0x254e77[_0x1bc40a(0x118)](_0x32b0e7=>_0x1bc40a(0x143)!==_0x32b0e7)),this[_0x1bc40a(0x1c0)][_0x1bc40a(0x195)][_0x1bc40a(0x151)](_0x1bc40a(0x112))[_0x1bc40a(0x18c)](_0x254e77,this[_0x1bc40a(0x1b2)]);}}),_0x2659ae[_0x5ea4c5(0x1f4)](this[_0x5ea4c5(0x1b2)],_0x46cbd2);}[_0x20565c(0x1cc)](){const _0x21ed59=_0x20565c,_0x20d8f8=this[_0x21ed59(0x1c0)][_0x21ed59(0x14e)][_0x21ed59(0x12f)];this[_0x21ed59(0x1c0)][_0x21ed59(0x14e)][_0x21ed59(0x12f)]=(..._0x15c332)=>{const _0x142f7e=_0x21ed59;if(!_0x15c332[_0x15c332[_0x142f7e(0x1bd)]-0x1][_0x142f7e(0x11c)])throw new _0x2f200e(_0x142f7e(0x127),this);_0x20d8f8[_0x142f7e(0x14f)](this[_0x142f7e(0x1c0)][_0x142f7e(0x14e)],_0x15c332);};}[_0x20565c(0x185)](){const _0x219dd6=_0x20565c;this[_0x219dd6(0x1c0)][_0x219dd6(0x14e)]['on'](_0x219dd6(0x132),(_0x5ace07,[_0x3b32a2])=>{const _0x576fd3=_0x219dd6;if(this[_0x576fd3(0x174)][_0x576fd3(0x17d)])throw new _0x2f200e(_0x576fd3(0x148),this);_0x5ace07[_0x576fd3(0x17b)](),this[_0x576fd3(0x11b)]();const _0x478bf2=this[_0x576fd3(0x1c0)][_0x576fd3(0x161)][_0x576fd3(0x151)](_0x576fd3(0x17a)),_0x32eb02=this[_0x576fd3(0x186)](_0x3b32a2,_0x478bf2);0x0==_0x32eb02[_0x576fd3(0x1bd)]&&_0x32eb02[_0x576fd3(0x16c)](new _0x4e29a9(0x0)),_0x5ace07[_0x576fd3(0x140)]=this[_0x576fd3(0x20a)](_0x32eb02)[_0x576fd3(0x10a)](()=>{const _0x3cd7bb=_0x576fd3;this[_0x3cd7bb(0x1c0)][_0x3cd7bb(0x195)][_0x3cd7bb(0x151)](_0x294822)[_0x3cd7bb(0x1ab)](this),this[_0x3cd7bb(0x1c0)][_0x3cd7bb(0x14e)][_0x3cd7bb(0x1b9)](_0x3cd7bb(0x1d6));})[_0x576fd3(0x181)](_0x3eb513=>this[_0x576fd3(0x139)](_0x576fd3(0x1fd),_0x3eb513))[_0x576fd3(0x191)](()=>this[_0x576fd3(0x1c4)]());},{'priority':_0x219dd6(0x14c)}),this[_0x219dd6(0x1c0)]['on'](_0x219dd6(0x209),async(_0x58177e,[_0x5357b4,_0x9950ed])=>{const _0x5290b2=_0x219dd6;_0x58177e[_0x5290b2(0x17b)]();const _0x3169b5=this[_0x5290b2(0x1c0)][_0x5290b2(0x144)][_0x5290b2(0x19e)][_0x5290b2(0x1e3)](_0x5357b4);if(!this[_0x5290b2(0x1aa)][_0x5290b2(0x1ad)](_0x5357b4)){const _0xdbcc81=_0x9950ed&&_0x9950ed[_0x5290b2(0x14e)]?_0x9950ed[_0x5290b2(0x14e)]:'',_0x14d458=_0x9950ed&&_0x9950ed[_0x5290b2(0x1c8)]?_0x9950ed[_0x5290b2(0x1c8)]:{};await this[_0x5290b2(0x1ff)](_0x5357b4,_0xdbcc81,_0x14d458);}this[_0x5290b2(0x1c0)][_0x5290b2(0x144)][_0x5290b2(0x179)]({'isUndoable':!0x1},()=>{const _0x2fd161=_0x5290b2;_0x3169b5[_0x2fd161(0x1da)]=!0x0,this[_0x2fd161(0x1c0)][_0x2fd161(0x144)][_0x2fd161(0x19e)][_0x2fd161(0x1fb)][_0x2fd161(0x1df)](_0x3169b5);});},{'priority':_0x219dd6(0x14c)});}async[_0x20565c(0x1b8)](_0x2a0d4f){const _0x17b790=_0x20565c,_0x33d48a=this[_0x17b790(0x1c0)][_0x17b790(0x195)][_0x17b790(0x151)](_0x2c4c1a),{connection:_0x31065d}=this[_0x17b790(0x1c0)][_0x17b790(0x195)][_0x17b790(0x151)](_0x294822),_0x500e68=new Set();for(const _0x4a7b68 of _0x2a0d4f){const _0x13471f=_0x4a7b68[_0x17b790(0x1f1)];_0x13471f&&!_0x33d48a[_0x17b790(0x16a)](_0x13471f)&&_0x500e68[_0x17b790(0x1f0)](_0x13471f);}if(0x0===_0x500e68[_0x17b790(0x192)])return;const _0x4c2129=await _0x40c789[_0x17b790(0x164)](_0x31065d,Array[_0x17b790(0x1c6)](_0x500e68));for(const _0x50d7a7 of _0x4c2129)_0x33d48a[_0x17b790(0x16a)](_0x50d7a7['id'])||_0x33d48a[_0x17b790(0x16d)](_0x50d7a7);}[_0x20565c(0x186)](_0x1b6564,_0x39ee5c={}){const _0x21cf4d=_0x20565c,_0x259bf1=this[_0x21cf4d(0x1c0)][_0x21cf4d(0x144)],_0x46e684=[];let _0x48a66d=0x0;const _0x36738e=_0x21cf4d(0x1f3)==typeof _0x1b6564?{'main':_0x1b6564}:_0x1b6564;for(const _0x4935f7 of Object[_0x21cf4d(0x123)](_0x36738e)){if(!this[_0x21cf4d(0x174)][_0x21cf4d(0x18d)][_0x21cf4d(0x1ad)](_0x4935f7))throw new _0x2f200e(_0x21cf4d(0x128),this);const _0x413482=this[_0x21cf4d(0x1c0)][_0x21cf4d(0x14e)][_0x21cf4d(0x1f6)](_0x36738e[_0x4935f7]),_0x390992=this[_0x21cf4d(0x174)][_0x21cf4d(0x1e3)](_0x4935f7),_0x59964f=new _0x33d2f9(_0x259bf1[_0x21cf4d(0x153)](_0x390992,0x0),_0x413482,_0x48a66d++);_0x46e684[_0x21cf4d(0x16c)](_0x59964f);for(const [_0x59c732,_0x760569]of _0x413482[_0x21cf4d(0x115)]){const _0xbd0d65=_0x259bf1[_0x21cf4d(0x11d)](_0x259bf1[_0x21cf4d(0x14a)](_0x390992,_0x760569[_0x21cf4d(0x1b4)][_0x21cf4d(0x162)][_0x21cf4d(0x141)]()),_0x259bf1[_0x21cf4d(0x14a)](_0x390992,_0x760569[_0x21cf4d(0x125)][_0x21cf4d(0x162)][_0x21cf4d(0x141)]())),_0x54ac25=new _0x3fdd8f(_0x59c732,null,_0xbd0d65,_0x259bf1[_0x21cf4d(0x115)],!0x0,_0x48a66d++);_0x46e684[_0x21cf4d(0x16c)](_0x54ac25);}}if(_0x39ee5c)for(const [_0x1dea6d,_0x595222]of Object[_0x21cf4d(0x12d)](_0x39ee5c)){const _0xd118fa=_0x259bf1[_0x21cf4d(0x19e)][_0x21cf4d(0x1e3)](_0x1dea6d);if(!_0xd118fa)throw new _0x2f200e(_0x21cf4d(0x163),null);for(const [_0x562b43,_0x49f782]of Object[_0x21cf4d(0x12d)](_0x595222))if(null!==_0x49f782){const _0x297dee=new _0x247570(_0xd118fa,_0x562b43,null,_0x49f782,_0x48a66d++);_0x46e684[_0x21cf4d(0x16c)](_0x297dee);}}return _0x46e684;}async[_0x20565c(0x1ff)](_0x241124,_0x5b4feb,_0x386a1e){const _0x2ebd4a=_0x20565c;this[_0x2ebd4a(0x186)]({[_0x241124]:_0x5b4feb},{[_0x241124]:_0x386a1e})[_0x2ebd4a(0x1a8)]((_0xc3a984,_0x51223f)=>{const _0x550ba0=_0x2ebd4a;_0xc3a984[_0x550ba0(0x15d)]=this[_0x550ba0(0x174)][_0x550ba0(0x17d)]+_0x51223f,_0xc3a984[_0x550ba0(0x114)]=!0x0,this[_0x550ba0(0x13e)](_0xc3a984);}),this[_0x2ebd4a(0x18b)](),await this[_0x2ebd4a(0x111)]();}async[_0x20565c(0x204)](_0x5acfec,_0x4e976f){const _0x17839c=_0x20565c;let _0x5f4c32;this[_0x17839c(0x147)]=_0x5acfec[_0x17839c(0x124)];const _0x300ff1=_0x5acfec[_0x17839c(0x1c3)]&&!_0x5acfec[_0x17839c(0x1b6)],_0x3ad812=_0x300ff1?0x0:_0x5acfec[_0x17839c(0x14e)][_0x17839c(0x15d)];if(_0x4e976f[_0x17839c(0x1a8)](_0x4aa541=>{const _0x42f6b1=_0x17839c;_0x4aa541[_0x42f6b1(0x114)]=!0x0,_0x4aa541[_0x42f6b1(0x175)]=_0x5acfec[_0x42f6b1(0x199)],_0x4aa541[_0x42f6b1(0x1f1)]=null;}),_0x300ff1)_0x5f4c32=_0x4e976f,this[_0x17839c(0x1a2)](_0x5f4c32,_0x300ff1);else{if(_0x5acfec[_0x17839c(0x1b6)]){const _0x3ec09f=this[_0x17839c(0x186)](_0x5acfec[_0x17839c(0x1b6)]);this[_0x17839c(0x174)][_0x17839c(0x182)][_0x17839c(0x17d)]=-_0x3ec09f[_0x17839c(0x1bd)],_0x3ec09f[_0x17839c(0x1a8)](_0x588f86=>{const _0x4fcb7f=_0x17839c;_0x588f86[_0x4fcb7f(0x15d)]-=_0x3ec09f[_0x4fcb7f(0x1bd)],_0x588f86[_0x4fcb7f(0x175)]=_0x5acfec[_0x4fcb7f(0x199)],_0x588f86[_0x4fcb7f(0x114)]=!0x0,_0x588f86[_0x4fcb7f(0x1f1)]=null;}),this[_0x17839c(0x1a2)](_0x3ec09f,!0x0),this[_0x17839c(0x1ae)][_0x17839c(0x17d)]=-_0x3ec09f[_0x17839c(0x1bd)]+this[_0x17839c(0x147)],this[_0x17839c(0x155)](_0x3ec09f);}this[_0x17839c(0x174)][_0x17839c(0x182)][_0x17839c(0x17d)]=_0x3ad812,_0x5f4c32=this[_0x17839c(0x1d7)](_0x5acfec[_0x17839c(0x14e)],_0x5acfec[_0x17839c(0x14b)]),await this[_0x17839c(0x1b8)](_0x5f4c32),this[_0x17839c(0x1a2)](_0x5f4c32,_0x300ff1);}_0x5acfec[_0x17839c(0x16f)]&&(this[_0x17839c(0x13a)][_0x17839c(0x1ba)](_0x5f4c32,_0x5acfec[_0x17839c(0x16f)]),this[_0x17839c(0x1d3)]=_0x5acfec[_0x17839c(0x16f)]),this[_0x17839c(0x1ae)][_0x17839c(0x17d)]=_0x3ad812+this[_0x17839c(0x147)],this[_0x17839c(0x155)](_0x5f4c32),_0x4e976f[_0x17839c(0x118)](_0x3e276f=>{const _0x1b81be=_0x17839c,_0x16cb5f=this[_0x1b81be(0x150)](_0x3e276f);return _0x16cb5f&&!this[_0x1b81be(0x1aa)][_0x1b81be(0x1ad)](_0x16cb5f);})[_0x17839c(0x1a8)]((_0x3da888,_0x4e0e58)=>{const _0x4e7195=_0x17839c;_0x3da888[_0x4e7195(0x15d)]=this[_0x4e7195(0x174)][_0x4e7195(0x17d)]+_0x4e0e58,this[_0x4e7195(0x13e)](_0x3da888);}),this[_0x17839c(0x1e9)]()?(this[_0x17839c(0x1cf)]=0x0,this[_0x17839c(0x18b)](!0x0),await this[_0x17839c(0x111)]()):(this[_0x17839c(0x13d)]=!0x1,this[_0x17839c(0x1c4)]());}[_0x20565c(0x139)](_0x2d1895,_0x1f02c8){const _0x2d8c7b=_0x20565c;throw this[_0x2d8c7b(0x13d)]=!0x0,_0x1f02c8&&console[_0x2d8c7b(0x1c1)](_0x1f02c8),new _0x2f200e(_0x2d1895,this[_0x2d8c7b(0x1c0)]);}[_0x20565c(0x13e)](_0x280352){const _0x18457b=_0x20565c;this[_0x18457b(0x12b)][_0x18457b(0x1ad)](_0x280352)||(this[_0x18457b(0x12b)][_0x18457b(0x1f0)](_0x280352),this[_0x18457b(0x11f)][_0x18457b(0x16c)](_0x280352),this[_0x18457b(0x129)]||_0x18457b(0x17c)==_0x280352[_0x18457b(0x165)]&&!_0x280352[_0x18457b(0x19a)]||this[_0x18457b(0x11b)]());}[_0x20565c(0x18b)](_0x118084=!0x1){const _0x2f0a53=_0x20565c;!_0x118084&&this[_0x2f0a53(0x13d)]||(this[_0x2f0a53(0x13d)]=!0x0,clearTimeout(this[_0x2f0a53(0x208)]),this[_0x2f0a53(0x208)]=setTimeout(()=>{const _0x2a552f=_0x2f0a53;this[_0x2a552f(0x166)]()[_0x2a552f(0x10a)](_0x4d757b=>{const _0xe826ee=_0x2a552f;_0x4d757b&&(this[_0xe826ee(0x1c4)](),this[_0xe826ee(0x13d)]=!0x1);})[_0x2a552f(0x181)](_0x39ba8f=>{const _0x13d37f=_0x2a552f;if(this[_0x13d37f(0x1c4)](),this[_0x13d37f(0x13d)]=!0x1,!function(_0x47181f){const _0xc8a732=_0x13d37f;return _0x47181f[_0xc8a732(0x205)][_0xc8a732(0x187)](_0xc8a732(0x10e))||_0x47181f[_0xc8a732(0x205)][_0xc8a732(0x187)](_0xc8a732(0x1e8))||_0x47181f[_0xc8a732(0x205)][_0xc8a732(0x187)](_0xc8a732(0x11a));}(_0x39ba8f))throw _0x39ba8f;});},this[_0x2f0a53(0x1cf)]));}[_0x20565c(0x111)](){return new Promise(_0x31ab09=>{const _0x337bd4=_0x22eb;this['on'](_0x337bd4(0x177),()=>{_0x31ab09();});});}async[_0x20565c(0x166)](){const _0x4c22a5=_0x20565c,_0x20f007=this[_0x4c22a5(0x1c0)][_0x4c22a5(0x195)][_0x4c22a5(0x151)](_0x4fe910);if(this[_0x4c22a5(0x10b)]()&&(_0x20f007[_0x4c22a5(0x1fc)](),this[_0x4c22a5(0x15a)]=!0x1),!this[_0x4c22a5(0x1e9)]())return!0x0;const _0x8fc3e8=[...this[_0x4c22a5(0x11f)]];for(const _0x4280e9 of _0x8fc3e8)_0x4280e9[_0x4c22a5(0x1d5)]=this[_0x4c22a5(0x174)][_0x4c22a5(0x182)][_0x4c22a5(0x1a9)](_0x4280e9);const _0x42e372=this[_0x4c22a5(0x13a)][_0x4c22a5(0x154)](_0x8fc3e8),_0x509261=K++,_0x55836a=this[_0x4c22a5(0x1a0)](_0x8fc3e8),_0x3f2792=await this[_0x4c22a5(0x1b0)][_0x4c22a5(0x1e5)](_0x55836a,_0x55836a[_0x4c22a5(0x15d)],_0x42e372);try{return await this[_0x4c22a5(0x16e)](_0x8fc3e8,_0x3f2792,_0x509261);}catch(_0x47b76b){return this[_0x4c22a5(0x139)](_0x4c22a5(0x10c),_0x47b76b);}}async[_0x20565c(0x16e)](_0x108d51,_0x40ecfd,_0x49d0aa){const _0x1fdebb=_0x20565c;if(_0x1fdebb(0x1c1)in _0x40ecfd)throw _0x40ecfd[_0x1fdebb(0x1c1)];let _0x388054=!0x1;if(_0x40ecfd[_0x1fdebb(0x1c3)]){_0x40ecfd[_0x1fdebb(0x16f)]&&(this[_0x1fdebb(0x1d3)]=_0x40ecfd[_0x1fdebb(0x16f)]),this[_0x1fdebb(0x11f)]=this[_0x1fdebb(0x11f)][_0x1fdebb(0x118)](_0x18bda0=>!_0x108d51[_0x1fdebb(0x149)](_0x18bda0));for(const _0x39c662 of _0x108d51)_0x39c662[_0x1fdebb(0x175)]=_0x1fdebb(0x198)in _0x40ecfd&&_0x40ecfd[_0x1fdebb(0x198)]||void 0x0;Q(_0x108d51,_0x40ecfd[_0x1fdebb(0x17d)]-_0x108d51[_0x1fdebb(0x1bd)]),this[_0x1fdebb(0x155)](_0x108d51);const _0x43bc80=_0x108d51[_0x1fdebb(0x118)](_0x45dd29=>{const _0x5c77dc=_0x1fdebb;if(!_0x45dd29[_0x5c77dc(0x114)])return!0x1;const _0x2589fc=this[_0x5c77dc(0x150)](_0x45dd29);return _0x2589fc&&!this[_0x5c77dc(0x1aa)][_0x5c77dc(0x1ad)](_0x2589fc);});Q(_0x43bc80,this[_0x1fdebb(0x174)][_0x1fdebb(0x17d)]),this[_0x1fdebb(0x1a2)](_0x43bc80),_0x388054=!0x0,this[_0x1fdebb(0x1cf)]=this[_0x1fdebb(0x142)];}else{const _0x37d192=this[_0x1fdebb(0x1d7)](_0x40ecfd[_0x1fdebb(0x14e)],_0x40ecfd[_0x1fdebb(0x14b)])[_0x1fdebb(0x118)](_0x5e0ce4=>_0x5e0ce4[_0x1fdebb(0x15d)]>=this[_0x1fdebb(0x19d)]);_0x37d192[_0x1fdebb(0x1a8)](_0xa08fc4=>this[_0x1fdebb(0x19b)](_0xa08fc4)),this[_0x1fdebb(0x11f)]=this[_0x1fdebb(0x11f)][_0x1fdebb(0x118)](_0x17a842=>!_0x17a842[_0x1fdebb(0x114)]||!this[_0x1fdebb(0x1aa)][_0x1fdebb(0x1ad)](this[_0x1fdebb(0x150)](_0x17a842))),this[_0x1fdebb(0x11f)][_0x1fdebb(0x1bd)]&&Q(this[_0x1fdebb(0x11f)],this[_0x1fdebb(0x11f)][0x0][_0x1fdebb(0x15d)]),await this[_0x1fdebb(0x1b8)](_0x37d192),_0x388054=this[_0x1fdebb(0x1c7)](_0x37d192,_0x40ecfd[_0x1fdebb(0x17d)],_0x40ecfd[_0x1fdebb(0x16f)]),this[_0x1fdebb(0x1cf)]=Math[_0x1fdebb(0x160)](this[_0x1fdebb(0x1cf)]/0x2);}return _0x388054?!this[_0x1fdebb(0x1e9)]()||(this[_0x1fdebb(0x18b)](!0x0),!0x1):this[_0x1fdebb(0x139)](_0x1fdebb(0x1d4));}[_0x20565c(0x1c7)](_0x1edcd4,_0x364f90,_0x3bbcf6){const _0x55f195=_0x20565c;try{const _0x3c4d08={'document':this[_0x55f195(0x174)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x26387c,operationsB:_0x49b52c,originalOperations:_0x4e291c}=_0xbb1d04(_0x1edcd4,this[_0x55f195(0x11f)],_0x3c4d08);Q(_0x26387c,this[_0x55f195(0x174)][_0x55f195(0x17d)]),Q(_0x49b52c,_0x364f90);for(const _0x2d328d of _0x26387c){const _0x4da016=_0x4e291c[_0x55f195(0x151)](_0x2d328d);_0x2d328d[_0x55f195(0x1f1)]=_0x4da016?_0x4da016[_0x55f195(0x1f1)]:null;}_0x3bbcf6&&(this[_0x55f195(0x13a)][_0x55f195(0x1ba)](_0x1edcd4,_0x3bbcf6),this[_0x55f195(0x1d3)]=_0x3bbcf6),this[_0x55f195(0x11f)]=[..._0x49b52c],this[_0x55f195(0x1a2)](_0x26387c),this[_0x55f195(0x155)](_0x1edcd4);}catch(_0x1a6db1){return console[_0x55f195(0x1c1)](_0x1a6db1),!0x1;}return!0x0;}[_0x20565c(0x1a2)](_0x2345a8,_0x1dd9ff=!0x1){const _0x3dc740=_0x20565c;this[_0x3dc740(0x1c0)][_0x3dc740(0x144)][_0x3dc740(0x179)]({'isUndoable':!0x1,'isLocal':!0x1},_0x32e800=>{const _0x4b7b76=_0x3dc740;for(const _0x501196 of _0x2345a8)this[_0x4b7b76(0x12b)][_0x4b7b76(0x1f0)](_0x501196),this[_0x4b7b76(0x19b)](_0x501196),_0x32e800[_0x4b7b76(0x1bc)][_0x4b7b76(0x20c)](_0x501196),this[_0x4b7b76(0x1c0)][_0x4b7b76(0x144)][_0x4b7b76(0x1e4)](_0x501196);});}[_0x20565c(0x19b)](_0x1d01ca){const _0x362f17=_0x20565c,_0x432dba=this[_0x362f17(0x150)](_0x1d01ca);_0x432dba&&this[_0x362f17(0x1aa)][_0x362f17(0x1f0)](_0x432dba);}[_0x20565c(0x150)](_0x527b2e){const _0x100bfc=_0x20565c;let _0x4cf2fb,_0x413834;switch(_0x527b2e[_0x100bfc(0x165)]){case _0x100bfc(0x1de):_0x4cf2fb=_0x527b2e[_0x100bfc(0x1b7)][_0x100bfc(0x18a)];break;case _0x100bfc(0x17c):if(_0x413834=_0x527b2e[_0x100bfc(0x133)],!_0x413834)return null;_0x4cf2fb=_0x413834[_0x100bfc(0x18a)];break;case _0x100bfc(0x1e6):_0x4cf2fb=_0x527b2e[_0x100bfc(0x18a)];break;case _0x100bfc(0x1e2):_0x4cf2fb=_0x527b2e[_0x100bfc(0x19c)];break;case _0x100bfc(0x117):_0x4cf2fb=_0x527b2e[_0x100bfc(0x15e)][_0x100bfc(0x18a)];break;default:return null;}return _0x4cf2fb[_0x100bfc(0x183)];}[_0x20565c(0x155)](_0x97a7b5){const _0x343fbd=_0x20565c;_0x97a7b5[_0x343fbd(0x1a8)](_0x29c725=>{const _0x35cba5=_0x343fbd,_0x3bc6e3=_0x29c725[_0x35cba5(0x1bf)]();_0x3bc6e3[_0x35cba5(0x1f1)]=_0x29c725[_0x35cba5(0x1f1)],_0x3bc6e3[_0x35cba5(0x114)]=!!_0x29c725[_0x35cba5(0x114)],_0x3bc6e3[_0x35cba5(0x175)]=_0x29c725[_0x35cba5(0x175)],_0x3bc6e3[_0x35cba5(0x15d)]+=this[_0x35cba5(0x147)],_0x29c725[_0x35cba5(0x1f2)]&&this[_0x35cba5(0x137)][_0x35cba5(0x1f0)](_0x3bc6e3),this[_0x35cba5(0x1ae)][_0x35cba5(0x20c)](_0x3bc6e3);});}[_0x20565c(0x11e)](_0x139ce7){const _0x2b2b59=_0x20565c,_0x1e2b3c=this[_0x2b2b59(0x1c0)][_0x2b2b59(0x195)][_0x2b2b59(0x151)](_0x2b2b59(0x12e)),_0x5b7814=this[_0x2b2b59(0x1c0)][_0x2b2b59(0x1b1)];_0x139ce7||(_0x139ce7=_0xcde7f2(_0x5b7814,_0x2b2b59(0x159))),_0x1e2b3c[_0x2b2b59(0x134)](_0x139ce7,{'title':_0xcde7f2(_0x5b7814,_0x2b2b59(0x120)),'namespace':_0x2b2b59(0x1ce)}),this[_0x2b2b59(0x18e)]=!0x0,clearTimeout(this[_0x2b2b59(0x208)]),this[_0x2b2b59(0x11f)]=[],this[_0x2b2b59(0x1c0)][_0x2b2b59(0x195)][_0x2b2b59(0x151)](_0x294822)[_0x2b2b59(0x196)]();}[_0x20565c(0x11b)](){const _0x1233af=_0x20565c;this[_0x1233af(0x129)]||(this[_0x1233af(0x129)]=this[_0x1233af(0x1c0)][_0x1233af(0x195)][_0x1233af(0x151)](_0x9e3f39)[_0x1233af(0x1f0)](_0xcde7f2(this[_0x1233af(0x1c0)][_0x1233af(0x1b1)],_0x1233af(0x1eb))));}[_0x20565c(0x1c4)](){const _0x48d368=_0x20565c;this[_0x48d368(0x129)]&&(this[_0x48d368(0x1c0)][_0x48d368(0x195)][_0x48d368(0x151)](_0x9e3f39)[_0x48d368(0x1a4)](this[_0x48d368(0x129)]),this[_0x48d368(0x129)]=null);}[_0x20565c(0x1a0)](_0x20724d){const _0x1cac50=_0x20565c,_0x4087ae=_0x20724d[_0x1cac50(0x14d)](_0x39eeb2=>_0x39eeb2[_0x1cac50(0x126)]());return this[_0x1cac50(0x1cd)][_0x1cac50(0x135)](_0x4087ae);}[_0x20565c(0x1d7)](_0x22d5cd,_0x398e07){const _0x388ef4=_0x20565c;return this[_0x388ef4(0x1cd)][_0x388ef4(0x136)](_0x22d5cd)[_0x388ef4(0x14d)]((_0x271eb7,_0x2c1137)=>{const _0x35f182=_0x388ef4,_0x546fa9=_0x35f182(0x132)==_0x398e07[_0x2c1137][_0x35f182(0x165)];if(_0x35f182(0x1f9)==_0x271eb7[_0x35f182(0x1ac)]){const _0x4c3fc5=_0x271eb7[_0x35f182(0x1b7)][_0x35f182(0x18a)];!this[_0x35f182(0x174)][_0x35f182(0x1e3)](_0x4c3fc5)&&(this[_0x35f182(0x174)][_0x35f182(0x197)](_0x35f182(0x1cb),_0x4c3fc5)[_0x35f182(0x1a5)]=!0x1);}const _0x545534=_0x116930[_0x35f182(0x1d2)](_0x271eb7,this[_0x35f182(0x174)]);return _0x545534[_0x35f182(0x1d5)]=_0x271eb7[_0x35f182(0x1d5)],_0x545534[_0x35f182(0x114)]=_0x546fa9,_0x545534[_0x35f182(0x1f1)]=_0x546fa9?null:_0x398e07[_0x2c1137][_0x35f182(0x194)],_0x545534[_0x35f182(0x1f2)]=_0x35f182(0x1a3)===_0x398e07[_0x2c1137][_0x35f182(0x165)],_0x545534[_0x35f182(0x175)]=_0x398e07[_0x2c1137][_0x35f182(0x175)],_0x545534;});}[_0x20565c(0x1e1)](){const _0x17b45d=_0x20565c;this[_0x17b45d(0x15a)]=!0x0,this[_0x17b45d(0x10b)]()?this[_0x17b45d(0x18b)]():this[_0x17b45d(0x15a)]=!0x1;}[_0x20565c(0x10b)](){const _0x30b27f=_0x20565c,_0x32e1a3=this[_0x30b27f(0x1c0)][_0x30b27f(0x195)][_0x30b27f(0x151)](_0x2f4c0c)[_0x30b27f(0x1fe)][_0x30b27f(0x151)](this[_0x30b27f(0x1b2)]);return!this[_0x30b27f(0x1c0)][_0x30b27f(0x1f5)]&&!!_0x32e1a3&&_0x32e1a3[_0x30b27f(0x1bd)]>0x1&&this[_0x30b27f(0x15a)];}[_0x20565c(0x1e9)](){const _0x4d31c6=_0x20565c;return this[_0x4d31c6(0x11f)][_0x4d31c6(0x1bd)]>0x0||this[_0x4d31c6(0x10b)]();}}l[_0x20565c(0x1d8)]=_0x418210;function _0x3d43(){const _0x3e4943=['affectsData','_addKnownRoot','affectedSelectable','_lastServerVersion','document','selection','_compressOperations','_handleReconnectionResponse','_applyOperationsSet','cs:removeUser','remove','_isAttached','disconnect','connected','forEach','isUndoneOperation','_knownRootNames','addToReconnectionStack','__className','has','serverHistory','lastSyncVersion','_service','locale','_channelId','change:hasDomSelection','start','unregister','initData','position','_fetchMissingUsers','fire','setIdForTheLastOperation','requires','batch','length','stopListening','clone','editor','error','_isEditingAllowed','wereChangesApplied','_clearPendingAction','mySessionId','from','_handleExternalOperations','attributes','disconnected','pluginName','$root','_initThrowingOnDataSet','_compressor','real-time-collaboration','_currentBufferDelay','reconnection:\x20flushed\x20session','connection','fromJSON','_lastSyncedOperationId','realtimecollaborationclient-handleserverresponse','wasUndone','ready','_decompressOperations','CollaborativeEditingService','sessionAdd:','_isLoaded','isEnabled','isDocumentOperation','getOperationAuthor','insert','_bufferRootLoad','listenTo','_refreshUserSelectionMarkers','addRoot','getRoot','applyOperation','sendOperations','addRootAttribute','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-initservice-incorrect-server-operation','reconnect','collaboration.channelId','removeFromReconnectionStack','add','_authorId','_isDisconnection','string','register','isReadOnly','parse','permissions','bind','InsertOperation','_handleReceivedOperations','differ','createUserMarkerOperations','realtimecollaborationclient-init-connection-failed','channelSessions','_loadRoot','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.','view','_handleSendingSelectionMarkers','isPremiumPlugin','_handleInitialConnectionData','message','isOfficialPlugin','realtimecollaborationclient-init-session-connection-error','_sendBufferedOperationsDelayId','loadRoot','_connectService','state','addOperation','then','_shouldSendSelectionUpdate','realtimecollaborationclient-sendbufferedoperations','sessionId','cloud-services-internal-error:\x20Not\x20connected.','2691099AkWmsJ','cloudServices.bundleVersion','_waitUntilSynced','Permissions','directChange','_isInit','markers','change:range','move','filter','define','cloud-services-internal-error:\x20Request\x20timeout.','_setPendingAction','suppressErrorInCollaboration','createRange','_handleReconnectionError','_bufferedOperations','Synchronization\x20issue','change:_isEditingAllowed','404','keys','offset','end','toJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-non-existent-root','_pendingAction','409','_knownOperations','lastDocumentSession','entries','Notification','set','off','getConnectedSessions','init','newRange','showWarning','compress','decompress','_disconnectionOperations','24zQRFMW','_crash','_operationIdentifier','_initSessionsHandling','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isPendingUpdate','_saveOperationInBuffer','realtimecollaborationclient-initservice-internal-error','return','slice','_baseBufferDelay','document:write','model','_ignoredOperations','enableReadOnlyMode','_offset','realtimecollaborationclient-init-document-already-initialized','includes','createPositionFromPath','metadata','high','map','data','apply','_getAffectedRoot','get','disableReadOnlyMode','createPositionAt','getIdOfTheLastOperation','_updateServerHistory','_disconnectService','_isConnected','reset','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.','_hasSelectionChanged','rtc-destroyed','CommentsOnly','baseVersion','targetPosition','_operationToId','round','config','path','multi-root-editor-root-attributes-no-root','getMany','type','_sendBufferedOperations','1151102PSfytX','editing','connect','getUser','currentDocumentSession','push','addUser','_handleServerResponse','lastOperationId','collaboration','14RSxRXp','119370sBpQnK','operationsReceived','_document','createdAt','555996LHmmPn','change:_isPendingUpdate','cloudDocumentVersion','enqueueChange','rootsAttributes','stop','marker','version','getDocumentDetails','getOperations','1770216SSjOog','catch','history','rootName','code','_setUpDataInit','_getOperationsFromInitData','startsWith','rtc-offline','RealTimeCollaborationClient','root','_sendBufferedOperationsDelayed','setPermissions','roots','_hasSynchronizationProblem','1229010WYFvNR','3995104OuVhxF','finally','size','collaboration-missing-channelid','userId','plugins','destroy','createRoot','lastOperationAcceptedAt','sessionCreatedAt'];_0x3d43=function(){return _0x3e4943;};return _0x3d43();}export default l;class J extends Error{}function Q(_0x3164ad,_0x5d79b1){const _0x5c764f=_0x20565c;for(const _0x48a2a4 of _0x3164ad)_0x48a2a4[_0x5c764f(0x15d)]=_0x5d79b1++;}class X{constructor(_0x3b9651){const _0x24b21a=_0x20565c;this[_0x24b21a(0x145)]=_0x3b9651,this[_0x24b21a(0x15f)]=new WeakMap();}[_0x20565c(0x154)](_0x5e837c){const _0x27f9ca=_0x20565c;let _0x104dec=_0x5e837c[_0x27f9ca(0x1bd)];for(;_0x104dec--;){const _0x1421ec=_0x5e837c[_0x104dec];if(!this[_0x27f9ca(0x145)][_0x27f9ca(0x1ad)](_0x1421ec)){if(!this[_0x27f9ca(0x15f)][_0x27f9ca(0x1ad)](_0x1421ec)){const _0x422be3=_0x256992()[_0x27f9ca(0x141)](0x1,0x12);this[_0x27f9ca(0x15f)][_0x27f9ca(0x12f)](_0x1421ec,_0x422be3);}return this[_0x27f9ca(0x15f)][_0x27f9ca(0x151)](_0x1421ec);}}}[_0x20565c(0x1ba)](_0x474ece,_0x54814c){const _0x202668=_0x20565c;if(!_0x54814c)return;let _0x3bd4a7=_0x474ece[_0x202668(0x1bd)];for(;_0x3bd4a7--;){const _0x3def40=_0x474ece[_0x3bd4a7];this[_0x202668(0x145)][_0x202668(0x1ad)](_0x3def40)||this[_0x202668(0x15f)][_0x202668(0x12f)](_0x3def40,_0x54814c);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7178(){const _0x5da9bb=['getUserRole','getUser','_registeredSessions','_uniqueUsersCount','4282474qyIQbZ','sessionAdd:','sessions-register-already-registered','26565aYweKr','has','delete','isPremiumPlugin','state','requires','43960YoiXkh','forEach','fire','getUserBySessionId','set','role','sessionId','user','_handleSessionRemove','channelSessions','add','_createUser','size','connection','register','8174896gbsWxV','2276436AXzrAb','mySessionId','listenTo','connected','init','get','context','channelConnectedUsers','clear','plugins','orderNumber','stopListening','remove','getUserSessions','isOfficialPlugin','assign','_users','unregister','defineMe','8QYAhFX','sessions-unregister-not-exist','1625118cWjhHo','pluginName','addUser','_handleSessionAdd','136806oLbCxv','Sessions','change:state','values','allConnectedUsers','isMe'];_0x7178=function(){return _0x5da9bb;};return _0x7178();}const _0x5b7465=_0x31db;(function(_0x53e8f4,_0x18fdff){const _0x2c8be9=_0x31db,_0x2fdb8e=_0x53e8f4();while(!![]){try{const _0x4da30d=-parseInt(_0x2c8be9(0xb2))/0x1+parseInt(_0x2c8be9(0xc2))/0x2+-parseInt(_0x2c8be9(0x9b))/0x3*(-parseInt(_0x2c8be9(0x99))/0x4)+parseInt(_0x2c8be9(0xac))/0x5+parseInt(_0x2c8be9(0x9f))/0x6+-parseInt(_0x2c8be9(0xa9))/0x7+-parseInt(_0x2c8be9(0xc1))/0x8;if(_0x4da30d===_0x18fdff)break;else _0x2fdb8e['push'](_0x2fdb8e['shift']());}catch(_0x2f758a){_0x2fdb8e['push'](_0x2fdb8e['shift']());}}}(_0x7178,0x8baec));function _0x31db(_0x38c5f7,_0x431d07){const _0x71782=_0x7178();return _0x31db=function(_0x31db53,_0x5423b8){_0x31db53=_0x31db53-0x8c;let _0x200cf4=_0x71782[_0x31db53];return _0x200cf4;},_0x31db(_0x38c5f7,_0x431d07);}import{ContextPlugin as _0x7df99e}from'ckeditor5/src/core.js';import{Collection as _0x87170f,CKEditorError as _0x521701}from'ckeditor5/src/utils.js';import _0x5048a0 from'./websocketgateway.js';import{Users as _0x4a6c50}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x7df99e{static get[_0x5b7465(0x9c)](){const _0x51f4e8=_0x5b7465;return _0x51f4e8(0xa0);}static get[_0x5b7465(0x94)](){return!0x0;}static get[_0x5b7465(0xaf)](){return!0x0;}static get[_0x5b7465(0xb1)](){return[_0x5048a0,_0x4a6c50];}constructor(_0x31f1b5){const _0x5d2e34=_0x5b7465;super(_0x31f1b5),this[_0x5d2e34(0xbb)]=new Map(),this[_0x5d2e34(0x8d)]=new Map(),this[_0x5d2e34(0xa3)]=new _0x87170f(),this[_0x5d2e34(0xa7)]=new Map(),this[_0x5d2e34(0xa8)]=0x0,this[_0x5d2e34(0x96)]=this[_0x5d2e34(0x8c)][_0x5d2e34(0x8f)][_0x5d2e34(0xc7)](_0x4a6c50);}[_0x5b7465(0xc6)](){const _0x4fa2f7=_0x5b7465,_0x3c3066=this[_0x4fa2f7(0x8c)][_0x4fa2f7(0x8f)][_0x4fa2f7(0xc7)](_0x5048a0);this[_0x4fa2f7(0xc4)](_0x3c3066,_0x4fa2f7(0xa1),(_0x96a19c,_0x135695,_0x113f77)=>{const _0x1fa3ba=_0x4fa2f7;if(_0x1fa3ba(0xc5)!==_0x113f77)this[_0x1fa3ba(0xbb)][_0x1fa3ba(0xb3)](_0x4004db=>_0x4004db[_0x1fa3ba(0x8e)]()),this[_0x1fa3ba(0x8d)][_0x1fa3ba(0xb3)](_0xde5eec=>_0xde5eec[_0x1fa3ba(0x8e)]()),this[_0x1fa3ba(0xa3)][_0x1fa3ba(0x8e)]();else{for(const [_0x5e646d,_0x56228f]of this[_0x1fa3ba(0xa7)])for(const _0x4e0224 of _0x56228f)this[_0x1fa3ba(0x9e)](_0x5e646d,_0x4e0224);}}),this[_0x4fa2f7(0xbd)](_0x3c3066[_0x4fa2f7(0xbf)]['me'],!0x0);}[_0x5b7465(0xc0)](_0x150c67,_0x439818){const _0x1fcb06=_0x5b7465;if(this[_0x1fcb06(0xa7)][_0x1fcb06(0xad)](_0x150c67))throw new _0x521701(_0x1fcb06(0xab),null,{'channelId':_0x150c67});this[_0x1fcb06(0xa7)][_0x1fcb06(0xb6)](_0x150c67,_0x439818),this[_0x1fcb06(0xbb)][_0x1fcb06(0xb6)](_0x150c67,new _0x87170f()),this[_0x1fcb06(0x8d)][_0x1fcb06(0xb6)](_0x150c67,new _0x87170f()),this[_0x1fcb06(0xc4)](_0x439818,_0x1fcb06(0xbc),(_0xc2999c,_0x18ba1d)=>this[_0x1fcb06(0x9e)](_0x150c67,_0x18ba1d)),this[_0x1fcb06(0xc4)](_0x439818,_0x1fcb06(0x92),(_0x1f5e36,_0x3dd064)=>this[_0x1fcb06(0xba)](_0x150c67,_0x3dd064));for(const _0x39e623 of _0x439818)this[_0x1fcb06(0x9e)](_0x150c67,_0x39e623);}[_0x5b7465(0x97)](_0x4e040c){const _0x6fd21a=_0x5b7465;if(!this[_0x6fd21a(0xa7)][_0x6fd21a(0xad)](_0x4e040c))throw new _0x521701(_0x6fd21a(0x9a),null,{'channelId':_0x4e040c});const _0x3a1d16=this[_0x6fd21a(0xa7)][_0x6fd21a(0xc7)](_0x4e040c);this[_0x6fd21a(0x91)](_0x3a1d16);for(const _0x1d1c44 of _0x3a1d16)_0x6fd21a(0xc5)===this[_0x6fd21a(0x8c)][_0x6fd21a(0x8f)][_0x6fd21a(0xc7)](_0x5048a0)[_0x6fd21a(0xb0)]&&this[_0x6fd21a(0xba)](_0x4e040c,_0x1d1c44);this[_0x6fd21a(0xa7)][_0x6fd21a(0xae)](_0x4e040c),this[_0x6fd21a(0xbb)][_0x6fd21a(0xae)](_0x4e040c),this[_0x6fd21a(0x8d)][_0x6fd21a(0xae)](_0x4e040c);}get[_0x5b7465(0xc3)](){const _0x2f3b4b=_0x5b7465;return this[_0x2f3b4b(0x8c)][_0x2f3b4b(0x8f)][_0x2f3b4b(0xc7)](_0x5048a0)[_0x2f3b4b(0xbf)][_0x2f3b4b(0xb8)];}[_0x5b7465(0xb5)](_0xab4c9a){const _0x22dc2d=_0x5b7465;for(const _0x5d1e28 of this[_0x22dc2d(0xbb)][_0x22dc2d(0xa2)]())for(const _0x418182 of _0x5d1e28)if(_0x418182['id']===_0xab4c9a)return _0x418182[_0x22dc2d(0xb9)];}[_0x5b7465(0x93)](_0x453f40,_0x318cb8){const _0x42c196=_0x5b7465,_0x2ec981=_0x318cb8?[this[_0x42c196(0xbb)][_0x42c196(0xc7)](_0x318cb8)]:this[_0x42c196(0xbb)][_0x42c196(0xa2)](),_0x1f5da3=new Set();for(const _0x27a7de of _0x2ec981)for(const _0x28589d of _0x27a7de)_0x28589d[_0x42c196(0xb9)]['id']===_0x453f40['id']&&_0x1f5da3[_0x42c196(0xbc)](_0x28589d['id']);return _0x1f5da3;}[_0x5b7465(0xa5)](_0x450628){const _0xeeb960=_0x5b7465;for(const _0x4378d0 of this[_0xeeb960(0xbb)][_0xeeb960(0xa2)]())for(const _0x515392 of _0x4378d0)if(_0x515392[_0xeeb960(0xb9)]===_0x450628)return _0x515392[_0xeeb960(0xb7)];}[_0x5b7465(0x9e)](_0x5f028a,_0x55924e){const _0xda94b4=_0x5b7465;if(_0xda94b4(0xc5)!==this[_0xda94b4(0x8c)][_0xda94b4(0x8f)][_0xda94b4(0xc7)](_0x5048a0)[_0xda94b4(0xb0)])return;const _0x7b8466=_0x55924e[_0xda94b4(0xb9)],_0x5a54a4=this[_0xda94b4(0x96)][_0xda94b4(0xa6)](_0x7b8466['id'])||this[_0xda94b4(0xbd)](_0x7b8466),_0xb13177=Object[_0xda94b4(0x95)]({},_0x55924e,{'user':_0x5a54a4});this[_0xda94b4(0xbb)][_0xda94b4(0xc7)](_0x5f028a)[_0xda94b4(0xbc)](_0xb13177);const _0x4f26f9=this[_0xda94b4(0x8d)][_0xda94b4(0xc7)](_0x5f028a);_0x4f26f9[_0xda94b4(0xad)](_0x5a54a4['id'])||_0x4f26f9[_0xda94b4(0xbc)](_0x5a54a4),this[_0xda94b4(0xa3)][_0xda94b4(0xad)](_0x5a54a4['id'])||this[_0xda94b4(0xa3)][_0xda94b4(0xbc)](_0x5a54a4,_0x5a54a4[_0xda94b4(0xa4)]?0x0:void 0x0),this[_0xda94b4(0xb4)](_0xda94b4(0xaa)+_0x5f028a,{'channelId':_0x5f028a,'session':_0xb13177});}[_0x5b7465(0xba)](_0x1f193d,_0x586e81){const _0x2bfd4b=_0x5b7465;if(_0x2bfd4b(0xc5)!==this[_0x2bfd4b(0x8c)][_0x2bfd4b(0x8f)][_0x2bfd4b(0xc7)](_0x5048a0)[_0x2bfd4b(0xb0)])return;const _0x37c448=this[_0x2bfd4b(0x8d)][_0x2bfd4b(0xc7)](_0x1f193d),_0x3fca5a=_0x586e81[_0x2bfd4b(0xb9)];_0x3fca5a['id']&&(this[_0x2bfd4b(0xbb)][_0x2bfd4b(0xc7)](_0x1f193d)[_0x2bfd4b(0x92)](_0x586e81['id']),_0x37c448[_0x2bfd4b(0xad)](_0x3fca5a['id'])&&!this[_0x2bfd4b(0x93)](_0x3fca5a,_0x1f193d)[_0x2bfd4b(0xbe)]&&_0x37c448[_0x2bfd4b(0x92)](_0x3fca5a['id']),this[_0x2bfd4b(0xa3)][_0x2bfd4b(0xc7)](_0x3fca5a['id'])&&!this[_0x2bfd4b(0x93)](_0x3fca5a)[_0x2bfd4b(0xbe)]&&this[_0x2bfd4b(0xa3)][_0x2bfd4b(0x92)](_0x3fca5a['id']));}[_0x5b7465(0xbd)](_0x3fb901,_0x30ec8a){const _0x410d30=_0x5b7465,_0xf2183f=this[_0x410d30(0x96)][_0x410d30(0x9d)](_0x3fb901);return _0x30ec8a&&this[_0x410d30(0x96)][_0x410d30(0x98)](_0x3fb901['id']),_0xf2183f[_0x410d30(0x90)]=this[_0x410d30(0xa8)]++,_0xf2183f;}}
23
+ const _0x470794=_0xa73d;(function(_0x57d57d,_0x20bf9e){const _0x479771=_0xa73d,_0x14c35d=_0x57d57d();while(!![]){try{const _0x31402d=parseInt(_0x479771(0x1a9))/0x1*(-parseInt(_0x479771(0x19e))/0x2)+parseInt(_0x479771(0x185))/0x3*(-parseInt(_0x479771(0x195))/0x4)+parseInt(_0x479771(0x187))/0x5+-parseInt(_0x479771(0x1ab))/0x6*(-parseInt(_0x479771(0x191))/0x7)+-parseInt(_0x479771(0x1bd))/0x8*(-parseInt(_0x479771(0x1a7))/0x9)+parseInt(_0x479771(0x1a8))/0xa*(-parseInt(_0x479771(0x1b2))/0xb)+parseInt(_0x479771(0x198))/0xc*(parseInt(_0x479771(0x1ac))/0xd);if(_0x31402d===_0x20bf9e)break;else _0x14c35d['push'](_0x14c35d['shift']());}catch(_0x2ab6db){_0x14c35d['push'](_0x14c35d['shift']());}}}(_0x3cb7,0xe5e63));function _0xa73d(_0xaf0d6,_0x23573f){const _0x3cb750=_0x3cb7();return _0xa73d=function(_0xa73dc1,_0x3246ae){_0xa73dc1=_0xa73dc1-0x181;let _0x37e433=_0x3cb750[_0xa73dc1];return _0x37e433;},_0xa73d(_0xaf0d6,_0x23573f);}import{ContextPlugin as _0x4964b6}from'ckeditor5/src/core.js';import{Collection as _0x51fa77,CKEditorError as _0x58c680}from'ckeditor5/src/utils.js';import _0x256aec from'./websocketgateway.js';import{Users as _0x2ff257}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x4964b6{static get[_0x470794(0x18b)](){const _0x520a2b=_0x470794;return _0x520a2b(0x1a6);}static get[_0x470794(0x18e)](){return!0x0;}static get[_0x470794(0x194)](){return!0x0;}static get[_0x470794(0x197)](){return[_0x256aec,_0x2ff257];}constructor(_0x223bec){const _0x35a491=_0x470794;super(_0x223bec),this[_0x35a491(0x1a4)]=new Map(),this[_0x35a491(0x19d)]=new Map(),this[_0x35a491(0x1b9)]=new _0x51fa77(),this[_0x35a491(0x1a3)]=new Map(),this[_0x35a491(0x1aa)]=0x0,this[_0x35a491(0x19c)]=this[_0x35a491(0x196)][_0x35a491(0x1c0)][_0x35a491(0x1b4)](_0x2ff257);}[_0x470794(0x19f)](){const _0x23a21a=_0x470794,_0x43ec06=this[_0x23a21a(0x196)][_0x23a21a(0x1c0)][_0x23a21a(0x1b4)](_0x256aec);this[_0x23a21a(0x1be)](_0x43ec06,_0x23a21a(0x1af),(_0x35b958,_0x2e85a4,_0x5d128a)=>{const _0x45976e=_0x23a21a;if(_0x45976e(0x1b0)!==_0x5d128a)this[_0x45976e(0x1a4)][_0x45976e(0x1bb)](_0x5d9be7=>_0x5d9be7[_0x45976e(0x1ae)]()),this[_0x45976e(0x19d)][_0x45976e(0x1bb)](_0x8e18e2=>_0x8e18e2[_0x45976e(0x1ae)]()),this[_0x45976e(0x1b9)][_0x45976e(0x1ae)]();else{for(const [_0x2f60c4,_0x305c9b]of this[_0x45976e(0x1a3)])for(const _0x1487be of _0x305c9b)this[_0x45976e(0x189)](_0x2f60c4,_0x1487be);}}),this[_0x23a21a(0x190)](_0x43ec06[_0x23a21a(0x1bc)]['me'],!0x0);}[_0x470794(0x1a2)](_0x1145cb,_0x44ddce){const _0x27a15d=_0x470794;if(this[_0x27a15d(0x1a3)][_0x27a15d(0x199)](_0x1145cb))throw new _0x58c680(_0x27a15d(0x182),null,{'channelId':_0x1145cb});this[_0x27a15d(0x1a3)][_0x27a15d(0x1b5)](_0x1145cb,_0x44ddce),this[_0x27a15d(0x1a4)][_0x27a15d(0x1b5)](_0x1145cb,new _0x51fa77()),this[_0x27a15d(0x19d)][_0x27a15d(0x1b5)](_0x1145cb,new _0x51fa77()),this[_0x27a15d(0x1be)](_0x44ddce,_0x27a15d(0x188),(_0x3a820e,_0x52ea07)=>this[_0x27a15d(0x189)](_0x1145cb,_0x52ea07)),this[_0x27a15d(0x1be)](_0x44ddce,_0x27a15d(0x1b3),(_0x496b01,_0x56d899)=>this[_0x27a15d(0x1b7)](_0x1145cb,_0x56d899));for(const _0x10d12d of _0x44ddce)this[_0x27a15d(0x189)](_0x1145cb,_0x10d12d);}[_0x470794(0x18d)](_0x46f6de){const _0x129f68=_0x470794;if(!this[_0x129f68(0x1a3)][_0x129f68(0x199)](_0x46f6de))throw new _0x58c680(_0x129f68(0x19b),null,{'channelId':_0x46f6de});const _0x1b2603=this[_0x129f68(0x1a3)][_0x129f68(0x1b4)](_0x46f6de);this[_0x129f68(0x193)](_0x1b2603);for(const _0x4ea2f5 of _0x1b2603)_0x129f68(0x1b0)===this[_0x129f68(0x196)][_0x129f68(0x1c0)][_0x129f68(0x1b4)](_0x256aec)[_0x129f68(0x18a)]&&this[_0x129f68(0x1b7)](_0x46f6de,_0x4ea2f5);this[_0x129f68(0x1a3)][_0x129f68(0x19a)](_0x46f6de),this[_0x129f68(0x1a4)][_0x129f68(0x19a)](_0x46f6de),this[_0x129f68(0x19d)][_0x129f68(0x19a)](_0x46f6de);}get[_0x470794(0x18c)](){const _0x255b82=_0x470794;return this[_0x255b82(0x196)][_0x255b82(0x1c0)][_0x255b82(0x1b4)](_0x256aec)[_0x255b82(0x1bc)][_0x255b82(0x1b1)];}[_0x470794(0x1a5)](_0x29ecfe){const _0x3d8da5=_0x470794;for(const _0x395893 of this[_0x3d8da5(0x1a4)][_0x3d8da5(0x18f)]())for(const _0x2430ff of _0x395893)if(_0x2430ff['id']===_0x29ecfe)return _0x2430ff[_0x3d8da5(0x1a1)];}[_0x470794(0x181)](_0x21cc07,_0x3aebaf){const _0x75a2ba=_0x470794,_0x172caf=_0x3aebaf?[this[_0x75a2ba(0x1a4)][_0x75a2ba(0x1b4)](_0x3aebaf)]:this[_0x75a2ba(0x1a4)][_0x75a2ba(0x18f)](),_0x19285c=new Set();for(const _0x25a56a of _0x172caf)for(const _0x5dacfa of _0x25a56a)_0x5dacfa[_0x75a2ba(0x1a1)]['id']===_0x21cc07['id']&&_0x19285c[_0x75a2ba(0x188)](_0x5dacfa['id']);return _0x19285c;}[_0x470794(0x1a0)](_0x57fad4){const _0x4ca1e6=_0x470794;for(const _0x8c96ea of this[_0x4ca1e6(0x1a4)][_0x4ca1e6(0x18f)]())for(const _0x28e90d of _0x8c96ea)if(_0x28e90d[_0x4ca1e6(0x1a1)]===_0x57fad4)return _0x28e90d[_0x4ca1e6(0x1c1)];}[_0x470794(0x189)](_0x3be3f0,_0x27f728){const _0x5ff797=_0x470794;if(_0x5ff797(0x1b0)!==this[_0x5ff797(0x196)][_0x5ff797(0x1c0)][_0x5ff797(0x1b4)](_0x256aec)[_0x5ff797(0x18a)])return;const _0x2adcde=_0x27f728[_0x5ff797(0x1a1)],_0x34c47b=this[_0x5ff797(0x19c)][_0x5ff797(0x1ba)](_0x2adcde['id'])||this[_0x5ff797(0x190)](_0x2adcde),_0x160115=Object[_0x5ff797(0x183)]({},_0x27f728,{'user':_0x34c47b});this[_0x5ff797(0x1a4)][_0x5ff797(0x1b4)](_0x3be3f0)[_0x5ff797(0x188)](_0x160115);const _0xafc42a=this[_0x5ff797(0x19d)][_0x5ff797(0x1b4)](_0x3be3f0);_0xafc42a[_0x5ff797(0x199)](_0x34c47b['id'])||_0xafc42a[_0x5ff797(0x188)](_0x34c47b),this[_0x5ff797(0x1b9)][_0x5ff797(0x199)](_0x34c47b['id'])||this[_0x5ff797(0x1b9)][_0x5ff797(0x188)](_0x34c47b,_0x34c47b[_0x5ff797(0x184)]?0x0:void 0x0),this[_0x5ff797(0x1b6)](_0x5ff797(0x1b8)+_0x3be3f0,{'channelId':_0x3be3f0,'session':_0x160115});}[_0x470794(0x1b7)](_0x1ddf12,_0x356815){const _0x3b4c46=_0x470794;if(_0x3b4c46(0x1b0)!==this[_0x3b4c46(0x196)][_0x3b4c46(0x1c0)][_0x3b4c46(0x1b4)](_0x256aec)[_0x3b4c46(0x18a)])return;const _0x1c004c=this[_0x3b4c46(0x19d)][_0x3b4c46(0x1b4)](_0x1ddf12),_0x8c824d=_0x356815[_0x3b4c46(0x1a1)];_0x8c824d['id']&&(this[_0x3b4c46(0x1a4)][_0x3b4c46(0x1b4)](_0x1ddf12)[_0x3b4c46(0x1b3)](_0x356815['id']),_0x1c004c[_0x3b4c46(0x199)](_0x8c824d['id'])&&!this[_0x3b4c46(0x181)](_0x8c824d,_0x1ddf12)[_0x3b4c46(0x1ad)]&&_0x1c004c[_0x3b4c46(0x1b3)](_0x8c824d['id']),this[_0x3b4c46(0x1b9)][_0x3b4c46(0x1b4)](_0x8c824d['id'])&&!this[_0x3b4c46(0x181)](_0x8c824d)[_0x3b4c46(0x1ad)]&&this[_0x3b4c46(0x1b9)][_0x3b4c46(0x1b3)](_0x8c824d['id']));}[_0x470794(0x190)](_0x17b1b5,_0x50322e){const _0x390d72=_0x470794,_0x3d15f6=this[_0x390d72(0x19c)][_0x390d72(0x1bf)](_0x17b1b5);return _0x50322e&&this[_0x390d72(0x19c)][_0x390d72(0x192)](_0x17b1b5['id']),_0x3d15f6[_0x390d72(0x186)]=this[_0x390d72(0x1aa)]++,_0x3d15f6;}}function _0x3cb7(){const _0x30866c=['state','pluginName','mySessionId','unregister','isOfficialPlugin','values','_createUser','7cOhITv','defineMe','stopListening','isPremiumPlugin','8tBSFww','context','requires','18265944TglqSd','has','delete','sessions-unregister-not-exist','_users','channelConnectedUsers','2883562pLvKzh','init','getUserRole','user','register','_registeredSessions','channelSessions','getUserBySessionId','Sessions','2400831ipOZqg','756130hnMuhf','1jwGHbU','_uniqueUsersCount','7389372iPkmAx','13PduTeO','size','clear','change:state','connected','sessionId','264hcSKih','remove','get','set','fire','_handleSessionRemove','sessionAdd:','allConnectedUsers','getUser','forEach','connection','40RYjfSw','listenTo','addUser','plugins','role','getUserSessions','sessions-register-already-registered','assign','isMe','2160189yQvVlp','orderNumber','7753835fFvyhZ','add','_handleSessionAdd'];_0x3cb7=function(){return _0x30866c;};return _0x3cb7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cb544=_0x1744;(function(_0x316f64,_0x411593){const _0x28f4dd=_0x1744,_0x4f1aa0=_0x316f64();while(!![]){try{const _0x11f4d7=parseInt(_0x28f4dd(0x109))/0x1*(-parseInt(_0x28f4dd(0xd9))/0x2)+-parseInt(_0x28f4dd(0x13a))/0x3*(parseInt(_0x28f4dd(0xf1))/0x4)+-parseInt(_0x28f4dd(0x113))/0x5+parseInt(_0x28f4dd(0xd1))/0x6*(-parseInt(_0x28f4dd(0x126))/0x7)+parseInt(_0x28f4dd(0xfd))/0x8+parseInt(_0x28f4dd(0xe1))/0x9*(-parseInt(_0x28f4dd(0xb9))/0xa)+-parseInt(_0x28f4dd(0xf2))/0xb*(-parseInt(_0x28f4dd(0xf7))/0xc);if(_0x11f4d7===_0x411593)break;else _0x4f1aa0['push'](_0x4f1aa0['shift']());}catch(_0x2dcbee){_0x4f1aa0['push'](_0x4f1aa0['shift']());}}}(_0x47a1,0x5338f));import{Plugin as _0x326810}from'ckeditor5/src/core.js';function _0x47a1(){const _0x4e803d=['removeClass','markerNameToElements','1160yHDOXQ','checkChild','getUserBySessionId','hasContent','getSelectionClass','start','user:range','remove','document','keydown','userPositionMarker','$graveyard','afterInit','get','addEventListener','Escape','conversion','split','nodeAfter','createRange','createUIElement','requires','color','isCollapsed','41958lJZeTi','removeMarker','updateMarker','getNearestSelectionRange','ck-user__selection','listenTo','for','_domEmitter','4AjlYjz','setCustomProperty','getCustomProperty','mySessionId','markerRange','mapper','UserMarkers','startsWith','29979nVjZhT','markerToElement','markers','markerToHighlight','update:user:range','contenteditable','delete','getStart','rootName','undo','innerHTML','view','parent','batch','highest','editor','325484HuAnDN','330bTjEpD','change','user:range:','size','clear','971352CpNQkb','user:position','selection','span','deletionPosition','model','617128JAttPX','has','toDomElement','type','editingDowncast','stopListening','enqueueChange','root','destroy','</span>⁠','add','editing','305227VVlRMG','oldRange','data-session-id','detach','end','user:','isLimit','getContainedElement','isOfficialPlugin','mouseleave','2886080dDlJxf','commands','fromRange','marker','render','mouseenter','plugins','isObject','getPositions','_createdBatches','markerName','isSimilar','getAttribute','pluginName','toRange','reconvertMarker','getFirstRange','ck-user__marker\x20','init','21JYvAOT','hasDomSelection','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','addMarker','applyOperation','name','$text','isInline','orderNumber','newRange','tableCell','ck-user__marker_hovered','schema','element','createUserMarkerOperations','getMarkerClass','classList','set','getRange','change:range','21GsfNUb','isPremiumPlugin','user:position:'];_0x47a1=function(){return _0x4e803d;};return _0x47a1();}import{global as _0x425bfe,DomEmitterMixin as _0x22b59e}from'ckeditor5/src/utils.js';import _0x1e84e6 from'./sessions.js';import{LiveRange as _0x20cf46}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1744(_0x56f1cc,_0x6a3ad){const _0x47a1bc=_0x47a1();return _0x1744=function(_0x174497,_0x15bb12){_0x174497=_0x174497-0xb9;let _0x1567a1=_0x47a1bc[_0x174497];return _0x1567a1;},_0x1744(_0x56f1cc,_0x6a3ad);}export default class H extends _0x326810{constructor(){const _0x54b77e=_0x1744;super(...arguments),this[_0x54b77e(0xd8)]=new(_0x22b59e())();}static get[_0x4cb544(0xce)](){return[_0x1e84e6];}static get[_0x4cb544(0x120)](){const _0x1bc0ef=_0x4cb544;return _0x1bc0ef(0xdf);}static get[_0x4cb544(0x111)](){return!0x0;}static get[_0x4cb544(0x13b)](){return!0x0;}[_0x4cb544(0x125)](){const _0x16bcf9=_0x4cb544,_0x599205=this[_0x16bcf9(0xf0)],_0x51b8cd=_0x599205[_0x16bcf9(0x119)][_0x16bcf9(0xc6)](_0x1e84e6);_0x599205[_0x16bcf9(0xc9)][_0x16bcf9(0xd7)](_0x16bcf9(0x101))[_0x16bcf9(0xe2)]({'model':_0x16bcf9(0xf8),'view':(_0x23c9c3,{writer:_0x1ec2cf})=>function(_0xc289f8,_0x5289e5,_0xd1fc68,_0x3355a4){const _0x45459d=_0x16bcf9,_0x20dcf4=_0xc289f8[_0x45459d(0x11d)][_0x45459d(0xca)](':')[0x2],_0xf453ac=_0xd1fc68[_0x45459d(0xbb)](_0x20dcf4);if(!_0xf453ac||_0x20dcf4===_0xd1fc68[_0x45459d(0xdc)])return;if(!_0x3355a4[_0x45459d(0xfc)][_0x45459d(0x132)][_0x45459d(0xba)](_0xc289f8[_0x45459d(0xdd)][_0x45459d(0xbe)],_0x45459d(0x12c)))return;const _0x558874={'class':_0x45459d(0x124)+_0xf453ac[_0x45459d(0xcf)][_0x45459d(0x135)](),'data-name':_0xf453ac[_0x45459d(0x12b)],'data-session-id':_0x20dcf4},_0x5afebc=_0x3355a4[_0x45459d(0xfc)][_0x45459d(0xe3)][_0x45459d(0xc6)](_0xc289f8[_0x45459d(0x11d)]),_0x75d639=_0x5afebc[_0x45459d(0xe8)](),_0x3c60ed=_0x75d639[_0x45459d(0xcb)],_0x3fdd6d=_0x3355a4[_0x45459d(0xfc)][_0x45459d(0x132)];if(_0x3c60ed&&_0x3fdd6d[_0x45459d(0x11a)](_0x3c60ed)&&_0x3fdd6d[_0x45459d(0x12d)](_0x3c60ed)&&!_0x3355a4[_0x45459d(0xfc)][_0x45459d(0xe3)][_0x45459d(0xc6)](_0x45459d(0xf4)+_0x20dcf4)[_0x45459d(0x138)]()[_0x45459d(0xd0)])return;const _0x3529e6=_0x75d639[_0x45459d(0xed)];return _0x3355a4[_0x45459d(0xfc)][_0x45459d(0x132)][_0x45459d(0x10f)](_0x3529e6)&&!_0x3355a4[_0x45459d(0xfc)][_0x45459d(0xbc)](_0x3529e6)&&(_0x558874[_0x45459d(0xe6)]=!0x1),function(_0x42441c,_0x26bfbc,_0x4cb9d7){const _0x57b93d=_0x45459d,_0x17baf8=_0x42441c[_0x57b93d(0xcd)](_0x57b93d(0xfa),_0x26bfbc);return _0x42441c[_0x57b93d(0xda)](_0x57b93d(0xc3),!0x0,_0x17baf8),_0x17baf8[_0x57b93d(0x117)]=function(_0x4f5e49){const _0x3b8601=_0x57b93d,_0x45684f=this[_0x3b8601(0xff)](_0x4f5e49);return _0x45684f[_0x3b8601(0xeb)]=_0x3b8601(0x128)+_0x4cb9d7[_0x3b8601(0x12b)]+_0x3b8601(0x106),_0x45684f[_0x3b8601(0xc7)](_0x3b8601(0x118),()=>{const _0x11d89f=_0x3b8601;_0x45684f[_0x11d89f(0x136)][_0x11d89f(0x107)](_0x11d89f(0x131));}),_0x45684f[_0x3b8601(0xc7)](_0x3b8601(0x112),()=>{const _0x9f0a3a=_0x3b8601;_0x45684f[_0x9f0a3a(0x136)][_0x9f0a3a(0xc0)](_0x9f0a3a(0x131));}),_0x45684f;},_0x17baf8[_0x57b93d(0x11e)]=function(_0x4b43f3){const _0x554e98=_0x57b93d;return!(!this[_0x554e98(0xdb)](_0x554e98(0xc3))||!_0x4b43f3[_0x554e98(0xdb)](_0x554e98(0xc3))||this[_0x554e98(0x11f)](_0x554e98(0x10b))!=_0x4b43f3[_0x554e98(0x11f)](_0x554e98(0x10b)));},_0x17baf8;}(_0x5289e5,_0x558874,_0xf453ac);}(_0x23c9c3,_0x1ec2cf,_0x51b8cd,_0x599205)}),_0x599205[_0x16bcf9(0xc9)][_0x16bcf9(0xd7)](_0x16bcf9(0x101))[_0x16bcf9(0xe4)]({'model':_0x16bcf9(0xbf),'view':_0x14c98f=>function(_0x4a7596,_0x1010b6){const _0x46315b=_0x16bcf9,_0x45c7ef=_0x4a7596[_0x46315b(0x11d)][_0x46315b(0xca)](':')[0x2];if(_0x45c7ef===_0x1010b6[_0x46315b(0xdc)])return null;const _0x48a443=_0x1010b6[_0x46315b(0xbb)](_0x45c7ef);if(!_0x48a443)return{'id':_0x45c7ef,'classes':[]};return{'id':_0x45c7ef,'classes':[_0x46315b(0xd5),_0x48a443[_0x46315b(0xcf)][_0x46315b(0xbd)]()],'attributes':{'data-session-id':_0x45c7ef},'priority':0x7d0+_0x48a443[_0x46315b(0x12e)]};}(_0x14c98f,_0x51b8cd)}),function(_0x33473b){const _0x6934f0=_0x16bcf9,_0xfac686=_0x33473b[_0x6934f0(0xfc)],_0x4490b2=new Map(),_0x4f174e=_0x33473b[_0x6934f0(0x119)][_0x6934f0(0xc6)](_0x1e84e6);_0xfac686[_0x6934f0(0xe3)]['on'](_0x6934f0(0xe5),(_0xdc64f2,_0x49ce4f,_0x1f2c90,_0x3811b4)=>{const _0x410c39=_0x6934f0;if(!_0x3811b4&&_0x4490b2[_0x410c39(0xc6)](_0x49ce4f[_0x410c39(0x12b)]))return _0x4490b2[_0x410c39(0xc6)](_0x49ce4f[_0x410c39(0x12b)])[_0x410c39(0x10c)](),void _0x4490b2[_0x410c39(0xe7)](_0x49ce4f[_0x410c39(0x12b)]);const _0x44b6a9=_0x49ce4f[_0x410c39(0x12b)][_0x410c39(0xca)](':')[0x2];if(_0x44b6a9===_0x4f174e[_0x410c39(0xdc)])return;const _0x127d8=_0x410c39(0x13c)+_0x44b6a9;_0xfac686[_0x410c39(0xe3)][_0x410c39(0xfe)](_0x127d8)&&_0x33473b[_0x410c39(0x108)][_0x410c39(0x122)](_0x127d8),_0x49ce4f['on'](_0x410c39(0x139),(_0x103528,_0x5aa2e0,_0x387e20)=>{const _0x444e11=_0x410c39;if(_0x444e11(0xc4)!=_0x5aa2e0[_0x444e11(0x104)][_0x444e11(0xe9)]&&_0x444e11(0xc4)==_0x49ce4f[_0x444e11(0x138)]()[_0x444e11(0x104)][_0x444e11(0xe9)]&&!_0x4490b2[_0x444e11(0xfe)](_0x49ce4f[_0x444e11(0x12b)])){const _0x5f0826=_0xfac686[_0x444e11(0x132)][_0x444e11(0xd4)](_0x387e20[_0x444e11(0xfb)]);if(_0x5f0826){const _0x2ed6ed=_0x20cf46[_0x444e11(0x115)](_0x5f0826);_0x4490b2[_0x444e11(0x137)](_0x49ce4f[_0x444e11(0x12b)],_0x2ed6ed),_0x2ed6ed['on'](_0x444e11(0x139),(_0x52fc85,_0x51e45f,_0x4794db)=>{const _0x2c769d=_0x444e11;if(_0x2c769d(0xc4)==_0x2ed6ed[_0x2c769d(0x104)][_0x2c769d(0xe9)]){const _0x5544e8=_0xfac686[_0x2c769d(0x132)][_0x2c769d(0xd4)](_0x4794db[_0x2c769d(0xfb)]);_0x5544e8?(_0x2ed6ed[_0x2c769d(0xbe)]=_0x5544e8[_0x2c769d(0xbe)],_0x2ed6ed[_0x2c769d(0x10d)]=_0x5544e8[_0x2c769d(0x10d)]):(_0x4490b2[_0x2c769d(0xe7)](_0x49ce4f[_0x2c769d(0x12b)]),_0x2ed6ed[_0x2c769d(0x10c)]());}});}}});}),_0xfac686[_0x6934f0(0xc1)]['on'](_0x6934f0(0xf3),()=>{const _0x504d00=_0x6934f0;_0x4490b2[_0x504d00(0xf5)]>0x0&&_0xfac686[_0x504d00(0x103)]({'isUndoable':!0x1},_0x5a64b9=>{const _0x2508ce=_0x504d00;for(const [_0x185efe,_0x3b26a5]of _0x4490b2)_0x2508ce(0xc4)==_0xfac686[_0x2508ce(0xe3)][_0x2508ce(0xc6)](_0x185efe)[_0x2508ce(0x138)]()[_0x2508ce(0x104)][_0x2508ce(0xe9)]&&(re(_0x185efe[_0x2508ce(0xca)](':')[0x2],_0x3b26a5[_0x2508ce(0x121)](),_0xfac686,_0x5a64b9),_0x3b26a5[_0x2508ce(0x10c)]());_0x4490b2[_0x2508ce(0xf6)]();});});}(_0x599205),this[_0x16bcf9(0xd8)][_0x16bcf9(0xd6)](_0x425bfe[_0x16bcf9(0xc1)],_0x16bcf9(0xc2),(_0x516d44,{key:_0x524c08})=>{const _0x2abd7e=_0x16bcf9;_0x2abd7e(0xc8)===_0x524c08&&function(_0x43a6a7){const _0x4a257d=_0x2abd7e;_0x43a6a7[_0x4a257d(0x108)][_0x4a257d(0xec)][_0x4a257d(0xf3)](_0x152902=>{const _0x42569e=_0x4a257d;for(const _0x22fcac of _0x43a6a7[_0x42569e(0xfc)][_0x42569e(0xe3)]){if(!_0x22fcac[_0x42569e(0x12b)][_0x42569e(0xe0)](_0x42569e(0xf8)))continue;const _0xeade6f=_0x43a6a7[_0x42569e(0x108)][_0x42569e(0xde)][_0x42569e(0x13e)](_0x22fcac[_0x42569e(0x12b)]);if(_0xeade6f){for(const _0x269141 of _0xeade6f)_0x152902[_0x42569e(0x13d)](_0x42569e(0x131),_0x269141);}}});}(_0x599205);},{'useCapture':!0x0});}[_0x4cb544(0xc5)](){const _0x34e6c4=_0x4cb544,_0x46b3cd=this[_0x34e6c4(0xf0)],_0x3707ce=_0x46b3cd[_0x34e6c4(0x114)][_0x34e6c4(0xc6)](_0x34e6c4(0xea));_0x3707ce&&_0x46b3cd[_0x34e6c4(0xfc)]['on'](_0x34e6c4(0x12a),(_0x455571,_0x38de05)=>{const _0x224170=_0x34e6c4,_0x1b1096=_0x38de05[0x0];if(_0x224170(0x116)!=_0x1b1096[_0x224170(0x100)]||!_0x1b1096[_0x224170(0x12b)][_0x224170(0xe0)](_0x224170(0x10e)))return;const _0x349534=_0x1b1096[_0x224170(0xee)];_0x3707ce[_0x224170(0x11c)][_0x224170(0xfe)](_0x349534)&&(_0x1b1096[_0x224170(0x12f)]=_0x1b1096[_0x224170(0x10a)]?_0x46b3cd[_0x224170(0xfc)][_0x224170(0xcc)](_0x1b1096[_0x224170(0x10a)][_0x224170(0xbe)],_0x1b1096[_0x224170(0x10a)][_0x224170(0x10d)]):null);},{'priority':_0x34e6c4(0xef)});}[_0x4cb544(0x105)](){const _0x4df4dc=_0x4cb544;return this[_0x4df4dc(0xd8)][_0x4df4dc(0x102)](),super[_0x4df4dc(0x105)]();}[_0x4cb544(0x134)](){const _0x4fb1a9=_0x4cb544,_0x2d4248=this[_0x4fb1a9(0xf0)],_0x4adfa1=_0x2d4248[_0x4fb1a9(0xfc)][_0x4fb1a9(0xc1)],_0x4af6d6=_0x2d4248[_0x4fb1a9(0x119)][_0x4fb1a9(0xc6)](_0x1e84e6);_0x2d4248[_0x4fb1a9(0xfc)][_0x4fb1a9(0x103)]({'isUndoable':!0x1},_0x2b62c8=>{const _0x2fe18d=_0x4fb1a9,_0x5e1c8a=_0x2fe18d(0xf4)+_0x4af6d6[_0x2fe18d(0xdc)],_0x57d281=_0x2fe18d(0x13c)+_0x4af6d6[_0x2fe18d(0xdc)],_0x146553=_0x2d4248[_0x2fe18d(0xfc)][_0x2fe18d(0xe3)][_0x2fe18d(0xfe)](_0x5e1c8a);_0x2d4248[_0x2fe18d(0x108)][_0x2fe18d(0xec)][_0x2fe18d(0x127)]?re(_0x4af6d6[_0x2fe18d(0xdc)],_0x4adfa1[_0x2fe18d(0xf9)][_0x2fe18d(0x123)](),_0x2d4248[_0x2fe18d(0xfc)],_0x2b62c8):_0x146553&&(_0x2b62c8[_0x2fe18d(0xd2)](_0x5e1c8a),_0x2b62c8[_0x2fe18d(0xd2)](_0x57d281));});}}function re(_0xab0da9,_0x216add,_0x37380f,_0x5b5fd7){const _0x11eb00=_0x4cb544,_0x4ca7f3=_0x11eb00(0xf4)+_0xab0da9,_0x25e430=_0x11eb00(0x13c)+_0xab0da9,_0x31ffea=_0x216add[_0x11eb00(0x110)]();let _0x4e60d8=_0x216add[_0x11eb00(0xbe)];_0x31ffea&&_0x31ffea['is'](_0x11eb00(0x133),_0x11eb00(0x130))&&(_0x4e60d8=function(_0x41ee52,_0x37915f){const _0x32a82c=_0x11eb00;for(const _0x491e07 of _0x41ee52[_0x32a82c(0x11b)]())if(_0x37915f[_0x32a82c(0x132)][_0x32a82c(0xba)](_0x491e07,_0x32a82c(0x12c)))return _0x491e07;}(_0x216add,_0x37380f),_0x216add=_0x5b5fd7[_0x11eb00(0xcc)](_0x4e60d8));const _0x2386d7=_0x5b5fd7[_0x11eb00(0xcc)](_0x4e60d8);_0x37380f[_0x11eb00(0xe3)][_0x11eb00(0xfe)](_0x4ca7f3)?(_0x5b5fd7[_0x11eb00(0xd3)](_0x4ca7f3,{'range':_0x216add}),_0x5b5fd7[_0x11eb00(0xd3)](_0x25e430,{'range':_0x2386d7})):(_0x5b5fd7[_0x11eb00(0x129)](_0x4ca7f3,{'range':_0x216add,'usingOperation':!0x0}),_0x5b5fd7[_0x11eb00(0x129)](_0x25e430,{'range':_0x2386d7,'usingOperation':!0x0}));}
23
+ const _0x6992f7=_0x6afa;(function(_0x30283a,_0x472205){const _0x2d7832=_0x6afa,_0x58f0d8=_0x30283a();while(!![]){try{const _0x59bd65=parseInt(_0x2d7832(0x1e8))/0x1*(-parseInt(_0x2d7832(0x25a))/0x2)+parseInt(_0x2d7832(0x258))/0x3+parseInt(_0x2d7832(0x1f1))/0x4*(-parseInt(_0x2d7832(0x251))/0x5)+-parseInt(_0x2d7832(0x242))/0x6+parseInt(_0x2d7832(0x24a))/0x7+-parseInt(_0x2d7832(0x223))/0x8*(-parseInt(_0x2d7832(0x252))/0x9)+-parseInt(_0x2d7832(0x239))/0xa*(parseInt(_0x2d7832(0x1de))/0xb);if(_0x59bd65===_0x472205)break;else _0x58f0d8['push'](_0x58f0d8['shift']());}catch(_0x147355){_0x58f0d8['push'](_0x58f0d8['shift']());}}}(_0x5b86,0xdbc2c));import{Plugin as _0x248f95}from'ckeditor5/src/core.js';function _0x5b86(){const _0x43d003=['markerToElement','afterInit','getRange','model','tableCell','getSelectionClass','$graveyard','set','ck-user__marker_hovered','4897210TiQEAB','listenTo','startsWith','getAttribute','getNearestSelectionRange','document','mySessionId','highest','user:position:','9288804KyNYhj','editor','user:range','isInline','rootName','change:range','stopListening','getContainedElement','9080379ZFLibA','size','toRange','batch','getCustomProperty','data-session-id','marker','4205fFTVeL','9ScsDDO','markerNameToElements','</span>⁠','enqueueChange','color','commands','4720284KpeOWT','addEventListener','3389534LVYuKr','updateMarker','add','Escape','editingDowncast','user:','remove','_domEmitter','has','11EbLMOJ','nodeAfter','undo','getPositions','createUserMarkerOperations','get','newRange','getUserBySessionId','orderNumber','UserMarkers','1BzXHeZ','userPositionMarker','innerHTML','isCollapsed','hasContent','markerName','markers','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','pluginName','176bSoZcd','classList','removeClass','mouseenter','user:position','requires','parent','createUIElement','setCustomProperty','change','schema','markerToHighlight','isSimilar','selection','root','start','getMarkerClass','toDomElement','update:user:range','deletionPosition','isOfficialPlugin','oldRange','hasDomSelection','mapper','end','keydown','init','contenteditable','ck-user__marker\x20','render','plugins','for','name','isPremiumPlugin','_createdBatches','element','span','conversion','createRange','reconvertMarker','mouseleave','markerRange','$text','removeMarker','detach','getFirstRange','view','getStart','addMarker','destroy','14393128PTZAEj','ck-user__selection','isLimit','split','delete','checkChild','fromRange','isObject','clear','type','editing','user:range:','applyOperation'];_0x5b86=function(){return _0x43d003;};return _0x5b86();}import{global as _0x31b1c4,DomEmitterMixin as _0x21843e}from'ckeditor5/src/utils.js';import _0x10941d from'./sessions.js';import{LiveRange as _0x25a681}from'ckeditor5/src/engine.js';function _0x6afa(_0x56918e,_0x520357){const _0x5b86e6=_0x5b86();return _0x6afa=function(_0x6afa7c,_0xd5d66a){_0x6afa7c=_0x6afa7c-0x1db;let _0x589643=_0x5b86e6[_0x6afa7c];return _0x589643;},_0x6afa(_0x56918e,_0x520357);}import'../../theme/usermarkers.css';export default class H extends _0x248f95{constructor(){const _0x13902f=_0x6afa;super(...arguments),this[_0x13902f(0x1dc)]=new(_0x21843e())();}static get[_0x6992f7(0x1f6)](){return[_0x10941d];}static get[_0x6992f7(0x1f0)](){const _0x370f91=_0x6992f7;return _0x370f91(0x1e7);}static get[_0x6992f7(0x205)](){return!0x0;}static get[_0x6992f7(0x212)](){return!0x0;}[_0x6992f7(0x20b)](){const _0x27c827=_0x6992f7,_0x45a522=this[_0x27c827(0x243)],_0x371b8b=_0x45a522[_0x27c827(0x20f)][_0x27c827(0x1e3)](_0x10941d);_0x45a522[_0x27c827(0x216)][_0x27c827(0x210)](_0x27c827(0x25e))[_0x27c827(0x230)]({'model':_0x27c827(0x1f5),'view':(_0x3773be,{writer:_0x38b580})=>function(_0x49fd5a,_0x48afad,_0x59b5f5,_0x594ce2){const _0x13f819=_0x27c827,_0x5c1443=_0x49fd5a[_0x13f819(0x1ed)][_0x13f819(0x226)](':')[0x2],_0x270933=_0x59b5f5[_0x13f819(0x1e5)](_0x5c1443);if(!_0x270933||_0x5c1443===_0x59b5f5[_0x13f819(0x23f)])return;if(!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)][_0x13f819(0x228)](_0x49fd5a[_0x13f819(0x21a)][_0x13f819(0x200)],_0x13f819(0x21b)))return;const _0xb38b7e={'class':_0x13f819(0x20d)+_0x270933[_0x13f819(0x256)][_0x13f819(0x201)](),'data-name':_0x270933[_0x13f819(0x211)],'data-session-id':_0x5c1443},_0x4a55e4=_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ee)][_0x13f819(0x1e3)](_0x49fd5a[_0x13f819(0x1ed)]),_0x2ea279=_0x4a55e4[_0x13f819(0x220)](),_0x2fb6cc=_0x2ea279[_0x13f819(0x1df)],_0x17fd19=_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)];if(_0x2fb6cc&&_0x17fd19[_0x13f819(0x22a)](_0x2fb6cc)&&_0x17fd19[_0x13f819(0x245)](_0x2fb6cc)&&!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ee)][_0x13f819(0x1e3)](_0x13f819(0x22e)+_0x5c1443)[_0x13f819(0x232)]()[_0x13f819(0x1eb)])return;const _0x19e8de=_0x2ea279[_0x13f819(0x1f7)];return _0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)][_0x13f819(0x225)](_0x19e8de)&&!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ec)](_0x19e8de)&&(_0xb38b7e[_0x13f819(0x20c)]=!0x1),function(_0x13a477,_0x3b2028,_0x2df893){const _0x1bf62d=_0x13f819,_0xaec115=_0x13a477[_0x1bf62d(0x1f8)](_0x1bf62d(0x215),_0x3b2028);return _0x13a477[_0x1bf62d(0x1f9)](_0x1bf62d(0x1e9),!0x0,_0xaec115),_0xaec115[_0x1bf62d(0x20e)]=function(_0x2924ac){const _0x5a393f=_0x1bf62d,_0x1d8065=this[_0x5a393f(0x202)](_0x2924ac);return _0x1d8065[_0x5a393f(0x1ea)]=_0x5a393f(0x1ef)+_0x2df893[_0x5a393f(0x211)]+_0x5a393f(0x254),_0x1d8065[_0x5a393f(0x259)](_0x5a393f(0x1f4),()=>{const _0x46d7a3=_0x5a393f;_0x1d8065[_0x46d7a3(0x1f2)][_0x46d7a3(0x25c)](_0x46d7a3(0x238));}),_0x1d8065[_0x5a393f(0x259)](_0x5a393f(0x219),()=>{const _0x2f2f52=_0x5a393f;_0x1d8065[_0x2f2f52(0x1f2)][_0x2f2f52(0x1db)](_0x2f2f52(0x238));}),_0x1d8065;},_0xaec115[_0x1bf62d(0x1fd)]=function(_0x5d5285){const _0x52b60e=_0x1bf62d;return!(!this[_0x52b60e(0x24e)](_0x52b60e(0x1e9))||!_0x5d5285[_0x52b60e(0x24e)](_0x52b60e(0x1e9))||this[_0x52b60e(0x23c)](_0x52b60e(0x24f))!=_0x5d5285[_0x52b60e(0x23c)](_0x52b60e(0x24f)));},_0xaec115;}(_0x48afad,_0xb38b7e,_0x270933);}(_0x3773be,_0x38b580,_0x371b8b,_0x45a522)}),_0x45a522[_0x27c827(0x216)][_0x27c827(0x210)](_0x27c827(0x25e))[_0x27c827(0x1fc)]({'model':_0x27c827(0x244),'view':_0x5d484d=>function(_0x10e1c6,_0x43ec8e){const _0x174006=_0x27c827,_0x33ae30=_0x10e1c6[_0x174006(0x1ed)][_0x174006(0x226)](':')[0x2];if(_0x33ae30===_0x43ec8e[_0x174006(0x23f)])return null;const _0x340699=_0x43ec8e[_0x174006(0x1e5)](_0x33ae30);if(!_0x340699)return{'id':_0x33ae30,'classes':[]};return{'id':_0x33ae30,'classes':[_0x174006(0x224),_0x340699[_0x174006(0x256)][_0x174006(0x235)]()],'attributes':{'data-session-id':_0x33ae30},'priority':0x7d0+_0x340699[_0x174006(0x1e6)]};}(_0x5d484d,_0x371b8b)}),function(_0x2b1701){const _0x2558f5=_0x27c827,_0x1f735e=_0x2b1701[_0x2558f5(0x233)],_0x1359d7=new Map(),_0x1e84ae=_0x2b1701[_0x2558f5(0x20f)][_0x2558f5(0x1e3)](_0x10941d);_0x1f735e[_0x2558f5(0x1ee)]['on'](_0x2558f5(0x203),(_0x4c0219,_0x1ca216,_0x524bc4,_0x4b0fc8)=>{const _0x1344da=_0x2558f5;if(!_0x4b0fc8&&_0x1359d7[_0x1344da(0x1e3)](_0x1ca216[_0x1344da(0x211)]))return _0x1359d7[_0x1344da(0x1e3)](_0x1ca216[_0x1344da(0x211)])[_0x1344da(0x21d)](),void _0x1359d7[_0x1344da(0x227)](_0x1ca216[_0x1344da(0x211)]);const _0x2bdab1=_0x1ca216[_0x1344da(0x211)][_0x1344da(0x226)](':')[0x2];if(_0x2bdab1===_0x1e84ae[_0x1344da(0x23f)])return;const _0x24c627=_0x1344da(0x241)+_0x2bdab1;_0x1f735e[_0x1344da(0x1ee)][_0x1344da(0x1dd)](_0x24c627)&&_0x2b1701[_0x1344da(0x22d)][_0x1344da(0x218)](_0x24c627),_0x1ca216['on'](_0x1344da(0x247),(_0x2b0702,_0x2e174d,_0x209375)=>{const _0x54db75=_0x1344da;if(_0x54db75(0x236)!=_0x2e174d[_0x54db75(0x1ff)][_0x54db75(0x246)]&&_0x54db75(0x236)==_0x1ca216[_0x54db75(0x232)]()[_0x54db75(0x1ff)][_0x54db75(0x246)]&&!_0x1359d7[_0x54db75(0x1dd)](_0x1ca216[_0x54db75(0x211)])){const _0x158c69=_0x1f735e[_0x54db75(0x1fb)][_0x54db75(0x23d)](_0x209375[_0x54db75(0x204)]);if(_0x158c69){const _0x20bad8=_0x25a681[_0x54db75(0x229)](_0x158c69);_0x1359d7[_0x54db75(0x237)](_0x1ca216[_0x54db75(0x211)],_0x20bad8),_0x20bad8['on'](_0x54db75(0x247),(_0xb4c937,_0x1329c7,_0x1d9a9d)=>{const _0xa21991=_0x54db75;if(_0xa21991(0x236)==_0x20bad8[_0xa21991(0x1ff)][_0xa21991(0x246)]){const _0x36b3a6=_0x1f735e[_0xa21991(0x1fb)][_0xa21991(0x23d)](_0x1d9a9d[_0xa21991(0x204)]);_0x36b3a6?(_0x20bad8[_0xa21991(0x200)]=_0x36b3a6[_0xa21991(0x200)],_0x20bad8[_0xa21991(0x209)]=_0x36b3a6[_0xa21991(0x209)]):(_0x1359d7[_0xa21991(0x227)](_0x1ca216[_0xa21991(0x211)]),_0x20bad8[_0xa21991(0x21d)]());}});}}});}),_0x1f735e[_0x2558f5(0x23e)]['on'](_0x2558f5(0x1fa),()=>{const _0x116642=_0x2558f5;_0x1359d7[_0x116642(0x24b)]>0x0&&_0x1f735e[_0x116642(0x255)]({'isUndoable':!0x1},_0xbe427c=>{const _0x162ec1=_0x116642;for(const [_0x257869,_0x1255c8]of _0x1359d7)_0x162ec1(0x236)==_0x1f735e[_0x162ec1(0x1ee)][_0x162ec1(0x1e3)](_0x257869)[_0x162ec1(0x232)]()[_0x162ec1(0x1ff)][_0x162ec1(0x246)]&&(re(_0x257869[_0x162ec1(0x226)](':')[0x2],_0x1255c8[_0x162ec1(0x24c)](),_0x1f735e,_0xbe427c),_0x1255c8[_0x162ec1(0x21d)]());_0x1359d7[_0x162ec1(0x22b)]();});});}(_0x45a522),this[_0x27c827(0x1dc)][_0x27c827(0x23a)](_0x31b1c4[_0x27c827(0x23e)],_0x27c827(0x20a),(_0x144480,{key:_0x5801bd})=>{const _0x334196=_0x27c827;_0x334196(0x25d)===_0x5801bd&&function(_0x5675b6){const _0x494ab8=_0x334196;_0x5675b6[_0x494ab8(0x22d)][_0x494ab8(0x21f)][_0x494ab8(0x1fa)](_0x46003b=>{const _0x555102=_0x494ab8;for(const _0x47484f of _0x5675b6[_0x555102(0x233)][_0x555102(0x1ee)]){if(!_0x47484f[_0x555102(0x211)][_0x555102(0x23b)](_0x555102(0x1f5)))continue;const _0x326bf5=_0x5675b6[_0x555102(0x22d)][_0x555102(0x208)][_0x555102(0x253)](_0x47484f[_0x555102(0x211)]);if(_0x326bf5){for(const _0x45b42e of _0x326bf5)_0x46003b[_0x555102(0x1f3)](_0x555102(0x238),_0x45b42e);}}});}(_0x45a522);},{'useCapture':!0x0});}[_0x6992f7(0x231)](){const _0x85d9a2=_0x6992f7,_0x3a1fe3=this[_0x85d9a2(0x243)],_0x3eb11f=_0x3a1fe3[_0x85d9a2(0x257)][_0x85d9a2(0x1e3)](_0x85d9a2(0x1e0));_0x3eb11f&&_0x3a1fe3[_0x85d9a2(0x233)]['on'](_0x85d9a2(0x22f),(_0x2c0683,_0x24e683)=>{const _0x4c1af3=_0x85d9a2,_0x1062bd=_0x24e683[0x0];if(_0x4c1af3(0x250)!=_0x1062bd[_0x4c1af3(0x22c)]||!_0x1062bd[_0x4c1af3(0x211)][_0x4c1af3(0x23b)](_0x4c1af3(0x25f)))return;const _0x52907c=_0x1062bd[_0x4c1af3(0x24d)];_0x3eb11f[_0x4c1af3(0x213)][_0x4c1af3(0x1dd)](_0x52907c)&&(_0x1062bd[_0x4c1af3(0x1e4)]=_0x1062bd[_0x4c1af3(0x206)]?_0x3a1fe3[_0x4c1af3(0x233)][_0x4c1af3(0x217)](_0x1062bd[_0x4c1af3(0x206)][_0x4c1af3(0x200)],_0x1062bd[_0x4c1af3(0x206)][_0x4c1af3(0x209)]):null);},{'priority':_0x85d9a2(0x240)});}[_0x6992f7(0x222)](){const _0x12e1cf=_0x6992f7;return this[_0x12e1cf(0x1dc)][_0x12e1cf(0x248)](),super[_0x12e1cf(0x222)]();}[_0x6992f7(0x1e2)](){const _0x3a9be5=_0x6992f7,_0x15cdfa=this[_0x3a9be5(0x243)],_0x2ca717=_0x15cdfa[_0x3a9be5(0x233)][_0x3a9be5(0x23e)],_0xd9a498=_0x15cdfa[_0x3a9be5(0x20f)][_0x3a9be5(0x1e3)](_0x10941d);_0x15cdfa[_0x3a9be5(0x233)][_0x3a9be5(0x255)]({'isUndoable':!0x1},_0x808978=>{const _0x5806bd=_0x3a9be5,_0x16042c=_0x5806bd(0x22e)+_0xd9a498[_0x5806bd(0x23f)],_0x5a3aa9=_0x5806bd(0x241)+_0xd9a498[_0x5806bd(0x23f)],_0x579535=_0x15cdfa[_0x5806bd(0x233)][_0x5806bd(0x1ee)][_0x5806bd(0x1dd)](_0x16042c);_0x15cdfa[_0x5806bd(0x22d)][_0x5806bd(0x21f)][_0x5806bd(0x207)]?re(_0xd9a498[_0x5806bd(0x23f)],_0x2ca717[_0x5806bd(0x1fe)][_0x5806bd(0x21e)](),_0x15cdfa[_0x5806bd(0x233)],_0x808978):_0x579535&&(_0x808978[_0x5806bd(0x21c)](_0x16042c),_0x808978[_0x5806bd(0x21c)](_0x5a3aa9));});}}function re(_0x438517,_0x36d36d,_0x197220,_0x5ba7fe){const _0x2df5d2=_0x6992f7,_0x26f5af=_0x2df5d2(0x22e)+_0x438517,_0x429bce=_0x2df5d2(0x241)+_0x438517,_0xae4e08=_0x36d36d[_0x2df5d2(0x249)]();let _0x5e0d90=_0x36d36d[_0x2df5d2(0x200)];_0xae4e08&&_0xae4e08['is'](_0x2df5d2(0x214),_0x2df5d2(0x234))&&(_0x5e0d90=function(_0x1afb4d,_0xab3d05){const _0xf66c1d=_0x2df5d2;for(const _0x327348 of _0x1afb4d[_0xf66c1d(0x1e1)]())if(_0xab3d05[_0xf66c1d(0x1fb)][_0xf66c1d(0x228)](_0x327348,_0xf66c1d(0x21b)))return _0x327348;}(_0x36d36d,_0x197220),_0x36d36d=_0x5ba7fe[_0x2df5d2(0x217)](_0x5e0d90));const _0x4ac247=_0x5ba7fe[_0x2df5d2(0x217)](_0x5e0d90);_0x197220[_0x2df5d2(0x1ee)][_0x2df5d2(0x1dd)](_0x26f5af)?(_0x5ba7fe[_0x2df5d2(0x25b)](_0x26f5af,{'range':_0x36d36d}),_0x5ba7fe[_0x2df5d2(0x25b)](_0x429bce,{'range':_0x4ac247})):(_0x5ba7fe[_0x2df5d2(0x221)](_0x26f5af,{'range':_0x36d36d,'usingOperation':!0x0}),_0x5ba7fe[_0x2df5d2(0x221)](_0x429bce,{'range':_0x4ac247,'usingOperation':!0x0}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xce391e=_0x38e4;function _0x37ed(){const _0x553135=['online','555069mzWUeJ','limitExceeded','function','cloudservices-reconnection-error','init','then','state','isInReconnectionStack','CloudServices','_shouldPluginsReconnect','_domEmitter','cloudServices.connectionTimeout','101405VcqwWl','pluginName','websocketgateway-missing-token','470OsxJtR','catch','bind','CONNECTED','error','DISCONNECTED','websocketgateway-missing-websocket-url','websocketgateway-plugin-already-registered','has','showWarning','webSocketUrl','727447UUinQH','37bdfQDk','cloudservices-init','WebSocketGateway','get','create','5503542XyhKxv','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','reconnect','8FLKnRU','all','connection','initialReconnectionInterval','delete','config','real-time-collaboration','from','listenTo','cloudServices.requestTimeout','add','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','set','_isBrowserOffline','define','disconnect','20CLUVeT','_reconnectionStack','token','plugins','context','change:me','destroy','connected','isOfficialPlugin','code','stopListening','33300JjzZrG','CONNECTING','Connected\x20users\x20limit\x20exceeded','requires','offline','8222CPyGqb','connect','_reconnect','constructor','isPremiumPlugin','addToReconnectionStack','549588cbdgVW'];_0x37ed=function(){return _0x553135;};return _0x37ed();}(function(_0x1f2dba,_0x246df4){const _0xd493ff=_0x38e4,_0x5dfd5f=_0x1f2dba();while(!![]){try{const _0x55026f=parseInt(_0xd493ff(0x12e))/0x1*(-parseInt(_0xd493ff(0x157))/0x2)+-parseInt(_0xd493ff(0x15f))/0x3+parseInt(_0xd493ff(0x147))/0x4*(parseInt(_0xd493ff(0x16b))/0x5)+-parseInt(_0xd493ff(0x15d))/0x6+parseInt(_0xd493ff(0x12d))/0x7*(parseInt(_0xd493ff(0x137))/0x8)+-parseInt(_0xd493ff(0x152))/0x9*(parseInt(_0xd493ff(0x16e))/0xa)+parseInt(_0xd493ff(0x133))/0xb;if(_0x55026f===_0x246df4)break;else _0x5dfd5f['push'](_0x5dfd5f['shift']());}catch(_0x5c1613){_0x5dfd5f['push'](_0x5dfd5f['shift']());}}}(_0x37ed,0x1926c));import{ContextPlugin as _0x4d44b0}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x339d0b,CKEditorError as _0x452c68}from'ckeditor5/src/utils.js';function _0x38e4(_0xd45e9e,_0x304554){const _0x37ed75=_0x37ed();return _0x38e4=function(_0x38e433,_0xfd66d4){_0x38e433=_0x38e433-0x128;let _0x51e654=_0x37ed75[_0x38e433];return _0x51e654;},_0x38e4(_0xd45e9e,_0x304554);}import{WebSocketGateway as _0x5506c1,WEB_SOCKET_GATEWAY_STATES as _0x2ad552}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x7f011e}from'ckeditor5/src/ui.js';class c extends _0x4d44b0{static get[_0xce391e(0x155)](){const _0x1271c1=_0xce391e;return[_0x1271c1(0x167),_0x7f011e];}static get[_0xce391e(0x16c)](){const _0x40d186=_0xce391e;return _0x40d186(0x130);}static get[_0xce391e(0x14f)](){return!0x0;}static get[_0xce391e(0x15b)](){return!0x0;}constructor(_0x16658d){const _0x21d88d=_0xce391e;super(_0x16658d),this[_0x21d88d(0x143)](_0x21d88d(0x165),_0x2ad552[_0x21d88d(0x171)]),this[_0x21d88d(0x143)](_0x21d88d(0x144),!0x1),this[_0x21d88d(0x148)]=new Set(),this[_0x21d88d(0x168)]=!0x1,this[_0x21d88d(0x169)]=Object[_0x21d88d(0x132)](_0x339d0b);}[_0xce391e(0x163)](){const _0x32bc81=_0xce391e,_0x492336=this[_0x32bc81(0x14b)],_0xf6396d=_0x492336[_0x32bc81(0x14a)][_0x32bc81(0x131)](_0x32bc81(0x167)),_0x1f76ab=_0x492336[_0x32bc81(0x14a)][_0x32bc81(0x131)](_0x7f011e);if(!_0xf6396d[_0x32bc81(0x149)])throw new _0x452c68(_0x32bc81(0x16d),this);if(!_0xf6396d[_0x32bc81(0x12c)])throw new _0x452c68(_0x32bc81(0x128),this);return this[_0x32bc81(0x169)][_0x32bc81(0x13f)](window,_0x32bc81(0x156),()=>this[_0x32bc81(0x144)]=!0x0),this[_0x32bc81(0x169)][_0x32bc81(0x13f)](window,_0x32bc81(0x15e),()=>this[_0x32bc81(0x144)]=!0x1),this[_0x32bc81(0x14b)][_0x32bc81(0x13c)][_0x32bc81(0x145)](_0x32bc81(0x16a),0xa),this[_0x32bc81(0x14b)][_0x32bc81(0x13c)][_0x32bc81(0x145)](_0x32bc81(0x140),0x14),c[_0x32bc81(0x130)][_0x32bc81(0x158)](_0xf6396d[_0x32bc81(0x149)],_0xf6396d[_0x32bc81(0x12c)],{'timeout':0x3e8*this[_0x32bc81(0x14b)][_0x32bc81(0x13c)][_0x32bc81(0x131)](_0x32bc81(0x16a)),'requestTimeout':0x3e8*this[_0x32bc81(0x14b)][_0x32bc81(0x13c)][_0x32bc81(0x131)](_0x32bc81(0x140))})[_0x32bc81(0x164)](_0xe8a242=>{const _0x53ad1=_0x32bc81;if(this[_0x53ad1(0x139)]=_0xe8a242,this[_0x53ad1(0x170)](_0x53ad1(0x165))['to'](_0xe8a242,_0x53ad1(0x165),this,_0x53ad1(0x144),(_0x2a85c9,_0x23aa22)=>(_0x53ad1(0x14e)!==_0x2a85c9&&(this[_0x53ad1(0x168)]=!0x0),_0x23aa22||_0x2a85c9!==_0x2ad552[_0x53ad1(0x171)]?_0x2ad552[_0x53ad1(0x173)]:this[_0x53ad1(0x165)]==_0x2ad552[_0x53ad1(0x173)]&&this[_0x53ad1(0x168)]?(this[_0x53ad1(0x168)]=!0x1,this[_0x53ad1(0x159)](),_0x2ad552[_0x53ad1(0x153)]):_0x2ad552[_0x53ad1(0x171)])),this[_0x53ad1(0x139)]['on'](_0x53ad1(0x172),(_0xe6b0af,_0x108769)=>{const _0x4b6842=_0x53ad1;if(_0x4b6842(0x160)!==_0x108769[_0x4b6842(0x150)])throw console[_0x4b6842(0x172)](_0x108769),new _0x452c68(_0x4b6842(0x12f),null,{'originalError':_0x108769});_0x1f76ab[_0x4b6842(0x12b)](_0x4b6842(0x142),{'title':_0x4b6842(0x154),'namespace':_0x4b6842(0x13d)});}),!_0xe8a242['me'])return new Promise(_0x403948=>_0xe8a242['on'](_0x53ad1(0x14c),_0x403948));})[_0x32bc81(0x16f)](_0xf02044=>{const _0x313782=_0x32bc81;throw console[_0x313782(0x172)](_0xf02044),new _0x452c68(_0x313782(0x12f),null,{'originalError':_0xf02044});});}[_0xce391e(0x15c)](_0x378dce){const _0x22b460=_0xce391e;if(_0x22b460(0x161)!=typeof _0x378dce[_0x22b460(0x136)])throw new _0x452c68(_0x22b460(0x134),this);if(this[_0x22b460(0x166)](_0x378dce))throw new _0x452c68(_0x22b460(0x129),this,{'name':_0x378dce[_0x22b460(0x15a)][_0x22b460(0x16c)]});this[_0x22b460(0x148)][_0x22b460(0x141)](_0x378dce);}[_0xce391e(0x135)](_0x368242){const _0x28aa68=_0xce391e;this[_0x28aa68(0x148)][_0x28aa68(0x13b)](_0x368242);}[_0xce391e(0x166)](_0x1c72fb){const _0x28ff27=_0xce391e;return this[_0x28ff27(0x148)][_0x28ff27(0x12a)](_0x1c72fb);}[_0xce391e(0x159)](){const _0x5c2414=_0xce391e;return this[_0x5c2414(0x139)][_0x5c2414(0x136)]()[_0x5c2414(0x164)](()=>Promise[_0x5c2414(0x138)](Array[_0x5c2414(0x13e)](this[_0x5c2414(0x148)],_0x3836c4=>_0x3836c4[_0x5c2414(0x136)]())))[_0x5c2414(0x164)](()=>this[_0x5c2414(0x165)]=_0x2ad552[_0x5c2414(0x171)])[_0x5c2414(0x16f)](_0x35a38a=>{const _0x167cc3=_0x5c2414;throw console[_0x167cc3(0x172)](_0x35a38a),new _0x452c68(_0x167cc3(0x162),this[_0x167cc3(0x14b)]);});}[_0xce391e(0x14d)](){const _0x15a162=_0xce391e;this[_0x15a162(0x139)]&&this[_0x15a162(0x139)][_0x15a162(0x146)](),this[_0x15a162(0x165)]=_0x2ad552[_0x15a162(0x173)],this[_0x15a162(0x169)][_0x15a162(0x151)](),super[_0x15a162(0x14d)]();}}c[_0xce391e(0x130)]=_0x5506c1,c[_0xce391e(0x13a)]=0x3e8;export default c;
23
+ const _0x1f2095=_0x3962;(function(_0x2a6bcc,_0x2bdaac){const _0x4bd0a4=_0x3962,_0x7d0a20=_0x2a6bcc();while(!![]){try{const _0x3f91f6=-parseInt(_0x4bd0a4(0xe6))/0x1+parseInt(_0x4bd0a4(0xe9))/0x2+-parseInt(_0x4bd0a4(0xbb))/0x3+-parseInt(_0x4bd0a4(0xd4))/0x4*(-parseInt(_0x4bd0a4(0xe3))/0x5)+parseInt(_0x4bd0a4(0xca))/0x6*(parseInt(_0x4bd0a4(0xaa))/0x7)+parseInt(_0x4bd0a4(0xb9))/0x8*(parseInt(_0x4bd0a4(0xdc))/0x9)+-parseInt(_0x4bd0a4(0xc4))/0xa;if(_0x3f91f6===_0x2bdaac)break;else _0x7d0a20['push'](_0x7d0a20['shift']());}catch(_0x49a8ca){_0x7d0a20['push'](_0x7d0a20['shift']());}}}(_0x114b,0x9581f));import{ContextPlugin as _0x2aa08f}from'ckeditor5/src/core.js';function _0x114b(){const _0x33718d=['websocketgateway-missing-token','WebSocketGateway','change:me','then','_isBrowserOffline','_reconnect','pluginName','initialReconnectionInterval','token','config','context','1995288lZogGQ','define','3054417WnkpvJ','isPremiumPlugin','removeFromReconnectionStack','get','from','code','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','connect','connection','7489190aQFfbY','listenTo','add','isInReconnectionStack','disconnect','CloudServices','118914YWkkVp','Connected\x20users\x20limit\x20exceeded','state','limitExceeded','offline','plugins','has','bind','cloudServices.connectionTimeout','webSocketUrl','72188CIRnNS','cloudservices-reconnection-error','stopListening','delete','cloudservices-init','isOfficialPlugin','CONNECTING','real-time-collaboration','9lCiUOD','websocketgateway-invalid-plugin-interface','destroy','CONNECTED','websocketgateway-missing-websocket-url','showWarning','all','245gQIRia','online','websocketgateway-plugin-already-registered','81545IBBsts','set','addToReconnectionStack','315902HlKfcd','function','requires','catch','DISCONNECTED','_reconnectionStack','_domEmitter','constructor','reconnect','init','_shouldPluginsReconnect','connected','413drloSH','cloudServices.requestTimeout','error','create'];_0x114b=function(){return _0x33718d;};return _0x114b();}function _0x3962(_0x42382d,_0x34b0e6){const _0x114b27=_0x114b();return _0x3962=function(_0x3962d3,_0x4580ab){_0x3962d3=_0x3962d3-0xaa;let _0x42f18e=_0x114b27[_0x3962d3];return _0x42f18e;},_0x3962(_0x42382d,_0x34b0e6);}import{DomEmitterMixin as _0x5e8483,CKEditorError as _0x4d1734}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x25b68d,WEB_SOCKET_GATEWAY_STATES as _0x29acfe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x30570f}from'ckeditor5/src/ui.js';class c extends _0x2aa08f{static get[_0x1f2095(0xeb)](){const _0x2895a8=_0x1f2095;return[_0x2895a8(0xc9),_0x30570f];}static get[_0x1f2095(0xb4)](){const _0x3d7700=_0x1f2095;return _0x3d7700(0xaf);}static get[_0x1f2095(0xd9)](){return!0x0;}static get[_0x1f2095(0xbc)](){return!0x0;}constructor(_0x38604b){const _0x3b22b1=_0x1f2095;super(_0x38604b),this[_0x3b22b1(0xe7)](_0x3b22b1(0xcc),_0x29acfe[_0x3b22b1(0xdf)]),this[_0x3b22b1(0xe7)](_0x3b22b1(0xb2),!0x1),this[_0x3b22b1(0xee)]=new Set(),this[_0x3b22b1(0xf3)]=!0x1,this[_0x3b22b1(0xef)]=Object[_0x3b22b1(0xad)](_0x5e8483);}[_0x1f2095(0xf2)](){const _0x32bdee=_0x1f2095,_0x16f85f=this[_0x32bdee(0xb8)],_0x10e06c=_0x16f85f[_0x32bdee(0xcf)][_0x32bdee(0xbe)](_0x32bdee(0xc9)),_0x56a427=_0x16f85f[_0x32bdee(0xcf)][_0x32bdee(0xbe)](_0x30570f);if(!_0x10e06c[_0x32bdee(0xb6)])throw new _0x4d1734(_0x32bdee(0xae),this);if(!_0x10e06c[_0x32bdee(0xd3)])throw new _0x4d1734(_0x32bdee(0xe0),this);return this[_0x32bdee(0xef)][_0x32bdee(0xc5)](window,_0x32bdee(0xce),()=>this[_0x32bdee(0xb2)]=!0x0),this[_0x32bdee(0xef)][_0x32bdee(0xc5)](window,_0x32bdee(0xe4),()=>this[_0x32bdee(0xb2)]=!0x1),this[_0x32bdee(0xb8)][_0x32bdee(0xb7)][_0x32bdee(0xba)](_0x32bdee(0xd2),0xa),this[_0x32bdee(0xb8)][_0x32bdee(0xb7)][_0x32bdee(0xba)](_0x32bdee(0xab),0x14),c[_0x32bdee(0xaf)][_0x32bdee(0xc2)](_0x10e06c[_0x32bdee(0xb6)],_0x10e06c[_0x32bdee(0xd3)],{'timeout':0x3e8*this[_0x32bdee(0xb8)][_0x32bdee(0xb7)][_0x32bdee(0xbe)](_0x32bdee(0xd2)),'requestTimeout':0x3e8*this[_0x32bdee(0xb8)][_0x32bdee(0xb7)][_0x32bdee(0xbe)](_0x32bdee(0xab))})[_0x32bdee(0xb1)](_0x57185e=>{const _0x5ecf0a=_0x32bdee;if(this[_0x5ecf0a(0xc3)]=_0x57185e,this[_0x5ecf0a(0xd1)](_0x5ecf0a(0xcc))['to'](_0x57185e,_0x5ecf0a(0xcc),this,_0x5ecf0a(0xb2),(_0x294f59,_0x657052)=>(_0x5ecf0a(0xf4)!==_0x294f59&&(this[_0x5ecf0a(0xf3)]=!0x0),_0x657052||_0x294f59!==_0x29acfe[_0x5ecf0a(0xdf)]?_0x29acfe[_0x5ecf0a(0xed)]:this[_0x5ecf0a(0xcc)]==_0x29acfe[_0x5ecf0a(0xed)]&&this[_0x5ecf0a(0xf3)]?(this[_0x5ecf0a(0xf3)]=!0x1,this[_0x5ecf0a(0xb3)](),_0x29acfe[_0x5ecf0a(0xda)]):_0x29acfe[_0x5ecf0a(0xdf)])),this[_0x5ecf0a(0xc3)]['on'](_0x5ecf0a(0xac),(_0x151d4f,_0x52eb13)=>{const _0x2a9588=_0x5ecf0a;if(_0x2a9588(0xcd)!==_0x52eb13[_0x2a9588(0xc0)])throw console[_0x2a9588(0xac)](_0x52eb13),new _0x4d1734(_0x2a9588(0xd8),null,{'originalError':_0x52eb13});_0x56a427[_0x2a9588(0xe1)](_0x2a9588(0xc1),{'title':_0x2a9588(0xcb),'namespace':_0x2a9588(0xdb)});}),!_0x57185e['me'])return new Promise(_0xcddec3=>_0x57185e['on'](_0x5ecf0a(0xb0),_0xcddec3));})[_0x32bdee(0xec)](_0x4cc91d=>{const _0x265753=_0x32bdee;throw console[_0x265753(0xac)](_0x4cc91d),new _0x4d1734(_0x265753(0xd8),null,{'originalError':_0x4cc91d});});}[_0x1f2095(0xe8)](_0x1dee93){const _0x3abf59=_0x1f2095;if(_0x3abf59(0xea)!=typeof _0x1dee93[_0x3abf59(0xf1)])throw new _0x4d1734(_0x3abf59(0xdd),this);if(this[_0x3abf59(0xc7)](_0x1dee93))throw new _0x4d1734(_0x3abf59(0xe5),this,{'name':_0x1dee93[_0x3abf59(0xf0)][_0x3abf59(0xb4)]});this[_0x3abf59(0xee)][_0x3abf59(0xc6)](_0x1dee93);}[_0x1f2095(0xbd)](_0x22d90e){const _0x2de603=_0x1f2095;this[_0x2de603(0xee)][_0x2de603(0xd7)](_0x22d90e);}[_0x1f2095(0xc7)](_0x1e549d){const _0x1c47a3=_0x1f2095;return this[_0x1c47a3(0xee)][_0x1c47a3(0xd0)](_0x1e549d);}[_0x1f2095(0xb3)](){const _0x4de639=_0x1f2095;return this[_0x4de639(0xc3)][_0x4de639(0xf1)]()[_0x4de639(0xb1)](()=>Promise[_0x4de639(0xe2)](Array[_0x4de639(0xbf)](this[_0x4de639(0xee)],_0x420445=>_0x420445[_0x4de639(0xf1)]())))[_0x4de639(0xb1)](()=>this[_0x4de639(0xcc)]=_0x29acfe[_0x4de639(0xdf)])[_0x4de639(0xec)](_0x2427fc=>{const _0x360ebd=_0x4de639;throw console[_0x360ebd(0xac)](_0x2427fc),new _0x4d1734(_0x360ebd(0xd5),this[_0x360ebd(0xb8)]);});}[_0x1f2095(0xde)](){const _0x950bda=_0x1f2095;this[_0x950bda(0xc3)]&&this[_0x950bda(0xc3)][_0x950bda(0xc8)](),this[_0x950bda(0xcc)]=_0x29acfe[_0x950bda(0xed)],this[_0x950bda(0xef)][_0x950bda(0xd6)](),super[_0x950bda(0xde)]();}}c[_0x1f2095(0xaf)]=_0x25b68d,c[_0x1f2095(0xb5)]=0x3e8;export default c;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x39493b=_0xd278;(function(_0xca4f47,_0x57aeb9){var _0x4df3be=_0xd278,_0x12ef13=_0xca4f47();while(!![]){try{var _0x2626ec=-parseInt(_0x4df3be(0xd0))/0x1+parseInt(_0x4df3be(0xcb))/0x2*(-parseInt(_0x4df3be(0xc8))/0x3)+-parseInt(_0x4df3be(0xce))/0x4+parseInt(_0x4df3be(0xc5))/0x5*(parseInt(_0x4df3be(0xc4))/0x6)+-parseInt(_0x4df3be(0xca))/0x7+-parseInt(_0x4df3be(0xd1))/0x8*(parseInt(_0x4df3be(0xcd))/0x9)+-parseInt(_0x4df3be(0xcc))/0xa*(-parseInt(_0x4df3be(0xc6))/0xb);if(_0x2626ec===_0x57aeb9)break;else _0x12ef13['push'](_0x12ef13['shift']());}catch(_0x5d40e6){_0x12ef13['push'](_0x12ef13['shift']());}}}(_0x19c0,0x9f39b));import{Plugin as _0x2c70f3}from'ckeditor5/src/core.js';import _0x4e7bf from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x19c0(){var _0x3eb74a=['2637296sOmDml','pluginName','66653pLTXcZ','4432416WscRCN','RealTimeCollaborativeEditing','isOfficialPlugin','830538ZRSxur','5YYuquJ','429VKtXsP','requires','276zWnwpH','isPremiumPlugin','7700798yHwTXC','6562cUkXcs','961490lyZqti','18AHjkBG'];_0x19c0=function(){return _0x3eb74a;};return _0x19c0();}function _0xd278(_0x416c0d,_0x508fdc){var _0x19c03c=_0x19c0();return _0xd278=function(_0xd278bb,_0x478aa5){_0xd278bb=_0xd278bb-0xc4;var _0x56e3c3=_0x19c03c[_0xd278bb];return _0x56e3c3;},_0xd278(_0x416c0d,_0x508fdc);}export default class n extends _0x2c70f3{static get[_0x39493b(0xc7)](){return[_0x4e7bf];}static get[_0x39493b(0xcf)](){var _0x15cb09=_0x39493b;return _0x15cb09(0xd2);}static get[_0x39493b(0xd3)](){return!0x0;}static get[_0x39493b(0xc9)](){return!0x0;}}
23
+ function _0x5e7c(){var _0x50150f=['271320iIskLX','5AkWyVL','requires','isOfficialPlugin','RealTimeCollaborativeEditing','21hIBHFj','4669042ZZxZjP','172202UdJCFI','isPremiumPlugin','9BwzSkO','pluginName','460848hFpiow','5201560frDxjy','952540jwXlMI','803597jXsEfg'];_0x5e7c=function(){return _0x50150f;};return _0x5e7c();}var _0x278826=_0x2274;function _0x2274(_0x44cc7b,_0x106ea9){var _0x5e7c56=_0x5e7c();return _0x2274=function(_0x2274d5,_0x284fdc){_0x2274d5=_0x2274d5-0xdf;var _0x430edd=_0x5e7c56[_0x2274d5];return _0x430edd;},_0x2274(_0x44cc7b,_0x106ea9);}(function(_0x274f52,_0x50d2fe){var _0x2a67f7=_0x2274,_0x289323=_0x274f52();while(!![]){try{var _0x539f3f=parseInt(_0x2a67f7(0xdf))/0x1+-parseInt(_0x2a67f7(0xe7))/0x2*(parseInt(_0x2a67f7(0xe5))/0x3)+parseInt(_0x2a67f7(0xed))/0x4*(parseInt(_0x2a67f7(0xe1))/0x5)+-parseInt(_0x2a67f7(0xeb))/0x6+parseInt(_0x2a67f7(0xe6))/0x7+parseInt(_0x2a67f7(0xec))/0x8*(-parseInt(_0x2a67f7(0xe9))/0x9)+parseInt(_0x2a67f7(0xe0))/0xa;if(_0x539f3f===_0x50d2fe)break;else _0x289323['push'](_0x289323['shift']());}catch(_0x372380){_0x289323['push'](_0x289323['shift']());}}}(_0x5e7c,0x63290));import{Plugin as _0x5f1785}from'ckeditor5/src/core.js';import _0xd4a8ac from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5f1785{static get[_0x278826(0xe2)](){return[_0xd4a8ac];}static get[_0x278826(0xea)](){var _0x2ef332=_0x278826;return _0x2ef332(0xe4);}static get[_0x278826(0xe3)](){return!0x0;}static get[_0x278826(0xe8)](){return!0x0;}}