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

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 _0x11f451=_0x30d0;(function(_0x3aee27,_0x37d005){const _0x514c3e=_0x30d0,_0x497640=_0x3aee27();while(!![]){try{const _0x283781=parseInt(_0x514c3e(0x1cb))/0x1*(-parseInt(_0x514c3e(0x1d2))/0x2)+parseInt(_0x514c3e(0x1b4))/0x3+-parseInt(_0x514c3e(0x1d9))/0x4*(-parseInt(_0x514c3e(0x1b2))/0x5)+-parseInt(_0x514c3e(0x178))/0x6*(parseInt(_0x514c3e(0x1ca))/0x7)+parseInt(_0x514c3e(0x1ab))/0x8+-parseInt(_0x514c3e(0x180))/0x9*(parseInt(_0x514c3e(0x1aa))/0xa)+parseInt(_0x514c3e(0x193))/0xb;if(_0x283781===_0x37d005)break;else _0x497640['push'](_0x497640['shift']());}catch(_0x1c0d47){_0x497640['push'](_0x497640['shift']());}}}(_0x28de,0xe6721));import{Context as _0x340b39,ContextPlugin as _0xf9d760}from'ckeditor5/src/core.js';import{CKEditorError as _0x50e048}from'ckeditor5/src/utils.js';import{Users as _0x3b947e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x28de(){const _0xc01b4a=['plugins','getCommentThreads','remove','resolveCommentThread','map','isOfficialPlugin','removeCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getComment','connect','assign','commentUpdated','_services','code','19544778HyEDzs','getConnectedSessions','has','cloud-services-internal-error:\x20Not\x20connected.','get','getMany','unregister','add','Permissions','commentAdded','pluginName','adapter','config','404','_setUpService','reopenCommentThread','CommentsRepository','deletedAt','comments','set','collaboration.channelId','init','off','10410FHwDzS','3606336JtEAll','userId','cloudservicescommentsadapter-service-not-exist','resolve','size','cloudservicescommentsadapter-connect-already-connected','commentRemoved','5275afKBEw','permissions','1232691LnKZUc','addToReconnectionStack','mySessionId','resolvedAt','commentThreadUpdated','addUser','CommentsService','context','_terminateService','createdAt','sessionAdd:','addCommentThread','message','getCommentThread','keys','CloudServicesCommentsAdapter','authorId','catch','disconnect','from','startsWith','updateComment','14wTLBPY','895729hQAwxB','destroy','delete','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','_getService','resolvedBy','2VnIfwa','commentThreadId','cloud-services-internal-error:\x20Request\x20timeout.','removeComment','_fetchMissingUsersForThreads','commentThreadRemoved','attributes','2936pNwqxM','addComment','reconnect','getUser','content','register','4160652AYUcCm','commentThreadReopened','_connectService','isPremiumPlugin','reopen','commentThreadAdded','requires','setPermissions','1611aQKuqf','update','listenTo','commentId','updateCommentThread'];_0x28de=function(){return _0xc01b4a;};return _0x28de();}import{CommentsService as _0x35e020,User as _0x5591ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3ab68b from'../realtimecollaborativeediting/websocketgateway.js';function _0x30d0(_0x138d14,_0x5a31a3){const _0x28dee6=_0x28de();return _0x30d0=function(_0x30d048,_0x288506){_0x30d048=_0x30d048-0x176;let _0x1d138c=_0x28dee6[_0x30d048];return _0x1d138c;},_0x30d0(_0x138d14,_0x5a31a3);}import _0x2699e6 from'../realtimecollaborativeediting/sessions.js';class a extends _0xf9d760{static get[_0x11f451(0x17e)](){const _0xb7fd08=_0x11f451;return[_0x3ab68b,_0xb7fd08(0x1a3),_0x2699e6,_0x3b947e];}static get[_0x11f451(0x19d)](){const _0x5889e0=_0x11f451;return _0x5889e0(0x1c3);}static get[_0x11f451(0x18a)](){return!0x0;}static get[_0x11f451(0x17b)](){return!0x0;}constructor(_0xd15f9e){const _0xc6e72f=_0x11f451;super(_0xd15f9e),this[_0xc6e72f(0x191)]=new Map();}async[_0x11f451(0x1a8)](){const _0x1f653f=_0x11f451,_0xba9063=this[_0x1f653f(0x1bb)],_0x50914d=_0xba9063[_0x1f653f(0x185)][_0x1f653f(0x197)](_0x1f653f(0x1a3));if(_0xba9063[_0x1f653f(0x185)][_0x1f653f(0x197)](_0x3ab68b)[_0x1f653f(0x1b5)](this),_0x50914d[_0x1f653f(0x19e)]={'addCommentThread':async({channelId:_0x31de5f,threadId:_0x5645d3,comments:_0x3359ef,resolvedAt:_0x80f7a7,resolvedBy:_0x8a9a43,context:_0x3aff2c,attributes:_0x581c46})=>{const _0xe62a90=_0x1f653f,_0x3954e0=await this[_0xe62a90(0x1d0)](_0x31de5f)[_0xe62a90(0x1bf)]({'commentThreadId':_0x5645d3,'comments':_0x3359ef[_0xe62a90(0x189)](_0x4c8ed8=>function(_0x579ce2,_0x4d885c,_0x4b8cfd){const _0x4cdea5=_0xe62a90;return{'commentThreadId':_0x4b8cfd,'commentId':_0x579ce2[_0x4cdea5(0x183)],'userId':_0x579ce2[_0x4cdea5(0x1c4)],'content':_0x579ce2[_0x4cdea5(0x176)],'documentId':_0x4d885c,'createdAt':_0x579ce2[_0x4cdea5(0x1bd)],'attributes':_0x579ce2[_0x4cdea5(0x1d8)]||{}};}(_0x4c8ed8,_0x31de5f,_0x5645d3)),'resolvedAt':_0x80f7a7,'resolvedBy':_0x8a9a43,'context':_0x3aff2c,'attributes':_0x581c46})[_0xe62a90(0x1c5)](w);return{'threadId':_0x3954e0[_0xe62a90(0x1d3)],'comments':_0x3954e0[_0xe62a90(0x1a5)]};},'getCommentThread':async({channelId:_0x345a12,threadId:_0x13e99d})=>{const _0x4c69e4=_0x1f653f,_0x4bd460=await this[_0x4c69e4(0x1d0)](_0x345a12)[_0x4c69e4(0x1c1)](_0x13e99d)[_0x4c69e4(0x1c5)](w);return _0x4bd460[_0x4c69e4(0x1a4)]?null:(await this[_0x4c69e4(0x1d6)]([_0x4bd460]),{'threadId':_0x4bd460[_0x4c69e4(0x1d3)],'comments':_0x4bd460[_0x4c69e4(0x1a5)][_0x4c69e4(0x189)](b),'context':_0x4bd460[_0x4c69e4(0x1bb)],'resolvedAt':_0x4bd460[_0x4c69e4(0x1b7)],'resolvedBy':_0x4bd460[_0x4c69e4(0x1d1)],'attributes':_0x4bd460[_0x4c69e4(0x1d8)]||{}});},'updateCommentThread':async({channelId:_0x5ead92,threadId:_0x1643f3,context:_0x25f54d,unlinkedAt:_0x361e08,attributes:_0x39a644})=>this[_0x1f653f(0x1d0)](_0x5ead92)[_0x1f653f(0x184)]({'commentThreadId':_0x1643f3,'context':_0x25f54d,'attributes':_0x39a644,'unlinkedAt':_0x361e08})[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'resolveCommentThread':async({channelId:_0x3479ee,threadId:_0x84470b})=>{const _0x180e1f=_0x1f653f,_0x382226=await this[_0x180e1f(0x1d0)](_0x3479ee)[_0x180e1f(0x188)](_0x84470b)[_0x180e1f(0x1c5)](y)[_0x180e1f(0x1c5)](w);return{'threadId':_0x382226[_0x180e1f(0x1d3)],'resolvedAt':_0x382226[_0x180e1f(0x1b7)],'resolvedBy':_0x382226[_0x180e1f(0x1d1)]};},'reopenCommentThread':async({channelId:_0xff6f52,threadId:_0x523a59})=>this[_0x1f653f(0x1d0)](_0xff6f52)[_0x1f653f(0x1a2)](_0x523a59)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'removeCommentThread':({channelId:_0x21264f,threadId:_0x408bb6})=>this[_0x1f653f(0x1d0)](_0x21264f)[_0x1f653f(0x18b)](_0x408bb6)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'addComment':({channelId:_0x1e773e,threadId:_0x294480,commentId:_0x236a6b,content:_0x3ba550,attributes:_0x259cda})=>this[_0x1f653f(0x1d0)](_0x1e773e)[_0x1f653f(0x1da)](_0x294480,_0x236a6b,_0x3ba550,_0x259cda)[_0x1f653f(0x1c5)](w),'updateComment':({channelId:_0x4166b7,threadId:_0x32425c,commentId:_0x51dfde,content:_0xea8548,attributes:_0x482e67})=>this[_0x1f653f(0x1d0)](_0x4166b7)[_0x1f653f(0x1c9)](_0x32425c,_0x51dfde,_0xea8548,_0x482e67)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w),'removeComment':({channelId:_0x342bce,threadId:_0x26b97b,commentId:_0x5017ab})=>this[_0x1f653f(0x1d0)](_0x342bce)[_0x1f653f(0x1d5)](_0x26b97b,_0x5017ab)[_0x1f653f(0x1c5)](y)[_0x1f653f(0x1c5)](w)},_0xba9063 instanceof _0x340b39){const _0x5925a5=_0xba9063[_0x1f653f(0x19f)][_0x1f653f(0x197)](_0x1f653f(0x1a7)),_0x2df141=_0xba9063[_0x1f653f(0x185)][_0x1f653f(0x197)](_0x2699e6);await this[_0x1f653f(0x1a1)](_0x5925a5);const _0x246598=await this[_0x1f653f(0x191)][_0x1f653f(0x197)](_0x5925a5)[_0x1f653f(0x194)]();this[_0x1f653f(0x182)](_0x2df141,_0x1f653f(0x1be)+_0x5925a5,(_0x202ea2,{session:_0x4f7488})=>{const _0x49d2ab=_0x1f653f;_0x4f7488['id']===_0x2df141[_0x49d2ab(0x1b6)]&&(_0x202ea2[_0x49d2ab(0x1a9)](),this[_0x49d2ab(0x1bb)][_0x49d2ab(0x185)][_0x49d2ab(0x197)](_0x49d2ab(0x19b))[_0x49d2ab(0x17f)](_0x4f7488[_0x49d2ab(0x1b3)],_0x5925a5));}),_0x2df141[_0x1f653f(0x177)](_0x5925a5,_0x246598);}}async[_0x11f451(0x1a1)](_0x58a0f1){const _0x207f51=_0x11f451;if(this[_0x207f51(0x191)][_0x207f51(0x195)](_0x58a0f1))throw new _0x50e048(_0x207f51(0x1b0),null,{'channelId':_0x58a0f1});const _0x32ae41=this[_0x207f51(0x1bb)][_0x207f51(0x185)][_0x207f51(0x197)](_0x207f51(0x1a3)),_0x46eea3=new a[(_0x207f51(0x1ba))](_0x58a0f1);this[_0x207f51(0x191)][_0x207f51(0x1a6)](_0x58a0f1,_0x46eea3),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x17d),(_0x2edb1d,_0x4ae1cf)=>{const _0x106e9a=_0x207f51,{commentThreadId:_0x6de3b9,documentId:_0x8ba5f8,context:_0x4b57cd,attributes:_0x2fff46,resolvedAt:_0x11c1cb,resolvedBy:_0x3df898,comments:_0x91cfec}=_0x4ae1cf;_0x32ae41[_0x106e9a(0x1c1)](_0x6de3b9)||_0x32ae41[_0x106e9a(0x1bf)]({'threadId':_0x6de3b9,'channelId':_0x8ba5f8,'comments':_0x91cfec?_0x91cfec[_0x106e9a(0x189)](b):[],'context':_0x4b57cd,'attributes':_0x2fff46,'resolvedAt':_0x11c1cb,'resolvedBy':_0x3df898,'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1b8),(_0x1dbc5c,{commentThreadId:_0x20d35b,documentId:_0x4f048c,context:_0x3dee5a,unlinkedAt:_0x5f54f2,attributes:_0x4bfaf6})=>{const _0x414863=_0x207f51;_0x32ae41[_0x414863(0x1c1)](_0x20d35b)&&_0x32ae41[_0x414863(0x184)]({'threadId':_0x20d35b,'channelId':_0x4f048c,'context':_0x3dee5a,'unlinkedAt':_0x5f54f2,'attributes':_0x4bfaf6,'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1cf),(_0x31c8cb,{commentThreadId:_0x57198f,resolvedBy:_0x32f9fa,resolvedAt:_0x2eb1f6})=>{const _0x13e842=_0x207f51,_0x254dbd=_0x32ae41[_0x13e842(0x1c1)](_0x57198f);_0x254dbd&&_0x254dbd[_0x13e842(0x1ae)]({'resolvedBy':_0x32f9fa,'resolvedAt':_0x2eb1f6,'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x179),(_0x44eb21,{commentThreadId:_0x56f9f4})=>{const _0x2faf56=_0x207f51,_0x5de4ff=_0x32ae41[_0x2faf56(0x1c1)](_0x56f9f4);_0x5de4ff&&_0x5de4ff[_0x2faf56(0x17c)]({'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1d7),(_0x2653cc,{commentThreadId:_0x3dbfc4})=>{const _0x11b3f9=_0x207f51,_0x488a1c=_0x32ae41[_0x11b3f9(0x1c1)](_0x3dbfc4);_0x488a1c&&_0x488a1c[_0x11b3f9(0x187)]({'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x19c),(_0x425746,_0x73071d)=>{const _0x2de7a7=_0x207f51,_0x587736=_0x73071d[_0x2de7a7(0x1d3)],_0x43a0d3=_0x32ae41[_0x2de7a7(0x1c1)](_0x587736);_0x43a0d3&&_0x43a0d3[_0x2de7a7(0x1da)]({...b(_0x73071d),'isFromAdapter':!0x0});}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x190),(_0x585491,{commentThreadId:_0x1ca1bf,commentId:_0x1c2c70,content:_0x57b8a5,attributes:_0x2de6df})=>{const _0x43748b=_0x207f51,_0x520cea=_0x32ae41[_0x43748b(0x1c1)](_0x1ca1bf);if(_0x520cea){const _0x1ef748=_0x520cea[_0x43748b(0x18d)](_0x1c2c70);_0x1ef748&&_0x1ef748[_0x43748b(0x181)]({'content':_0x57b8a5,'attributes':_0x2de6df,'isFromAdapter':!0x0});}}),this[_0x207f51(0x182)](_0x46eea3,_0x207f51(0x1b1),(_0x3580e0,{commentThreadId:_0x390e45,commentId:_0x50e444})=>{const _0x538bd1=_0x207f51,_0xfbea60=_0x32ae41[_0x538bd1(0x1c1)](_0x390e45);if(_0xfbea60){const _0x4766a6=_0xfbea60[_0x538bd1(0x18d)](_0x50e444);_0x4766a6&&_0x4766a6[_0x538bd1(0x187)]({'isFromAdapter':!0x0});}}),await this[_0x207f51(0x17a)](_0x58a0f1);}[_0x11f451(0x1cc)](){const _0x4b068a=_0x11f451;if(this[_0x4b068a(0x1bb)]instanceof _0x340b39){const _0x4fa50b=this[_0x4b068a(0x1bb)][_0x4b068a(0x19f)][_0x4b068a(0x197)](_0x4b068a(0x1a7));this[_0x4b068a(0x1bc)](_0x4fa50b);}}[_0x11f451(0x1bc)](_0x461687){const _0x6dd47f=_0x11f451;if(!this[_0x6dd47f(0x191)][_0x6dd47f(0x195)](_0x461687))throw new _0x50e048(_0x6dd47f(0x1ce),null,{'channelId':_0x461687});this[_0x6dd47f(0x1d0)](_0x461687)[_0x6dd47f(0x1c6)](),this[_0x6dd47f(0x191)][_0x6dd47f(0x1cd)](_0x461687);}async[_0x11f451(0x1db)](){const _0x4b452e=_0x11f451;for(const _0x2bb554 of this[_0x4b452e(0x191)][_0x4b452e(0x1c2)]())await this[_0x4b452e(0x17a)](_0x2bb554);if(this[_0x4b452e(0x1bb)]instanceof _0x340b39){const _0x37d55a=this[_0x4b452e(0x1bb)][_0x4b452e(0x19f)][_0x4b452e(0x197)](_0x4b452e(0x1a7)),_0x309c0=this[_0x4b452e(0x1bb)][_0x4b452e(0x185)][_0x4b452e(0x197)](_0x2699e6);_0x309c0[_0x4b452e(0x199)](_0x37d55a);const _0x33b156=await this[_0x4b452e(0x191)][_0x4b452e(0x197)](_0x37d55a)[_0x4b452e(0x194)]();_0x309c0[_0x4b452e(0x177)](_0x37d55a,_0x33b156);}}async[_0x11f451(0x17a)](_0x60ef7d){const _0x1d2290=_0x11f451,{connection:_0x1b1d38}=this[_0x1d2290(0x1bb)][_0x1d2290(0x185)][_0x1d2290(0x197)](_0x3ab68b),_0x52baca=this[_0x1d2290(0x1bb)][_0x1d2290(0x185)][_0x1d2290(0x197)](_0x1d2290(0x1a3)),_0x302cff=this[_0x1d2290(0x191)][_0x1d2290(0x197)](_0x60ef7d),_0x11904f=await _0x302cff[_0x1d2290(0x18e)](_0x1b1d38);await this[_0x1d2290(0x1d6)](_0x11904f);const _0x5cb18a=new Set(Array[_0x1d2290(0x1c7)](_0x52baca[_0x1d2290(0x186)]({'channelId':_0x60ef7d}),_0xd55d0d=>_0xd55d0d['id']));for(const _0x6377e7 of _0x11904f)_0x6377e7[_0x1d2290(0x1a4)]||_0x5cb18a[_0x1d2290(0x1cd)](_0x6377e7[_0x1d2290(0x1d3)]);for(const _0x67524c of _0x5cb18a)_0x52baca[_0x1d2290(0x1c1)](_0x67524c)[_0x1d2290(0x187)]({'isFromAdapter':!0x0});for(const _0x300439 of _0x11904f){let _0x1beaa2=_0x52baca[_0x1d2290(0x1c1)](_0x300439[_0x1d2290(0x1d3)]);const {commentThreadId:_0x4f7688,context:_0xf6909c,attributes:_0x3ff305,resolvedBy:_0x2dbe27,resolvedAt:_0xdf1aa1,unlinkedAt:_0x4a21a6,deletedAt:_0x5dac33}=_0x300439;if(_0x5dac33)continue;_0x1beaa2||(_0x1beaa2=_0x52baca[_0x1d2290(0x1bf)]({'channelId':_0x60ef7d,'threadId':_0x4f7688,'context':_0xf6909c,'attributes':_0x3ff305||{},'resolvedBy':_0x2dbe27,'resolvedAt':_0xdf1aa1,'unlinkedAt':_0x4a21a6,'isFromAdapter':!0x0}));const _0x4cb347=new Set(Array[_0x1d2290(0x1c7)](_0x1beaa2[_0x1d2290(0x1a5)],_0x2b1eee=>_0x2b1eee['id']));for(const _0x59b1d5 of _0x300439[_0x1d2290(0x1a5)])_0x4cb347[_0x1d2290(0x1cd)](_0x59b1d5[_0x1d2290(0x183)]);for(const _0x68fe74 of _0x4cb347)_0x1beaa2[_0x1d2290(0x18d)](_0x68fe74)[_0x1d2290(0x187)]({'isFromAdapter':!0x0});for(const _0x1e26b6 of _0x300439[_0x1d2290(0x1a5)]){const _0x13cd16=_0x1beaa2[_0x1d2290(0x18d)](_0x1e26b6[_0x1d2290(0x183)]);_0x13cd16?_0x13cd16[_0x1d2290(0x176)]!==_0x1e26b6[_0x1d2290(0x176)]&&_0x13cd16[_0x1d2290(0x181)]({'content':_0x1e26b6[_0x1d2290(0x176)],'isFromAdapter':!0x0}):_0x1beaa2[_0x1d2290(0x1da)](Object[_0x1d2290(0x18f)](b(_0x1e26b6),{'isFromAdapter':!0x0}));}}}[_0x11f451(0x1d0)](_0x13e31b){const _0x3aaa1d=_0x11f451;if(!this[_0x3aaa1d(0x191)][_0x3aaa1d(0x195)](_0x13e31b))throw new _0x50e048(_0x3aaa1d(0x1ad),null,{'channelId':_0x13e31b});return this[_0x3aaa1d(0x191)][_0x3aaa1d(0x197)](_0x13e31b);}async[_0x11f451(0x1d6)](_0x4fdb6b){const _0x354ffa=_0x11f451,_0x5d36b0=this[_0x354ffa(0x1bb)][_0x354ffa(0x185)][_0x354ffa(0x197)](_0x3b947e),{connection:_0x120154}=this[_0x354ffa(0x1bb)][_0x354ffa(0x185)][_0x354ffa(0x197)](_0x3ab68b),_0x3aa79b=new Set();for(const {resolvedBy:_0x41c852,comments:_0x58c381}of _0x4fdb6b){_0x41c852&&!_0x5d36b0[_0x354ffa(0x1dc)](_0x41c852)&&_0x3aa79b[_0x354ffa(0x19a)](_0x41c852);for(const {userId:_0x43aa23}of _0x58c381)_0x5d36b0[_0x354ffa(0x1dc)](_0x43aa23)||_0x3aa79b[_0x354ffa(0x19a)](_0x43aa23);}if(0x0===_0x3aa79b[_0x354ffa(0x1af)])return;const _0x3cc1de=await _0x5591ab[_0x354ffa(0x198)](_0x120154,Array[_0x354ffa(0x1c7)](_0x3aa79b));for(const _0x2276fe of _0x3cc1de)_0x5d36b0[_0x354ffa(0x1dc)](_0x2276fe['id'])||_0x5d36b0[_0x354ffa(0x1b9)](_0x2276fe);}}a[_0x11f451(0x1ba)]=_0x35e020;export default a;async function y(_0x1516eb){const _0x593dbe=_0x11f451;if(_0x593dbe(0x1a0)!==_0x1516eb[_0x593dbe(0x192)])throw _0x1516eb;}function w(_0x5e9c13){const _0x4d973c=_0x11f451;if((_0x282821=_0x5e9c13)[_0x4d973c(0x1c0)][_0x4d973c(0x1c8)](_0x4d973c(0x18c))||_0x282821[_0x4d973c(0x1c0)][_0x4d973c(0x1c8)](_0x4d973c(0x196))||_0x282821[_0x4d973c(0x1c0)][_0x4d973c(0x1c8)](_0x4d973c(0x1d4)))return new Promise(()=>{});var _0x282821;throw _0x5e9c13;}function b(_0x287cdc){const _0x28b354=_0x11f451;return{'threadId':_0x287cdc[_0x28b354(0x1d3)],'commentId':_0x287cdc[_0x28b354(0x183)],'content':_0x287cdc[_0x28b354(0x176)],'createdAt':_0x287cdc[_0x28b354(0x1bd)],'authorId':_0x287cdc[_0x28b354(0x1ac)],'attributes':_0x287cdc[_0x28b354(0x1d8)]||{}};}
@@ -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 _0x250099=_0x28df;(function(_0x234882,_0x42d51a){const _0x5d9be9=_0x28df,_0x10340a=_0x234882();while(!![]){try{const _0x4a0689=parseInt(_0x5d9be9(0x9f))/0x1+-parseInt(_0x5d9be9(0x8b))/0x2*(parseInt(_0x5d9be9(0x97))/0x3)+-parseInt(_0x5d9be9(0x9d))/0x4*(-parseInt(_0x5d9be9(0xa2))/0x5)+-parseInt(_0x5d9be9(0x94))/0x6*(parseInt(_0x5d9be9(0x8c))/0x7)+parseInt(_0x5d9be9(0xaa))/0x8*(parseInt(_0x5d9be9(0x86))/0x9)+-parseInt(_0x5d9be9(0x89))/0xa+-parseInt(_0x5d9be9(0xa0))/0xb*(-parseInt(_0x5d9be9(0xa3))/0xc);if(_0x4a0689===_0x42d51a)break;else _0x10340a['push'](_0x10340a['shift']());}catch(_0x5486c8){_0x10340a['push'](_0x10340a['shift']());}}}(_0x53b0,0xad142));function _0x28df(_0x1ba847,_0xb2b432){const _0x53b0c9=_0x53b0();return _0x28df=function(_0x28df4f,_0x59fb63){_0x28df4f=_0x28df4f-0x86;let _0x4a1edf=_0x53b0c9[_0x28df4f];return _0x4a1edf;},_0x28df(_0x1ba847,_0xb2b432);}import{Plugin as _0x56a9a3}from'ckeditor5/src/core.js';function _0x53b0(){const _0x2f5b97=['once','pluginName','7977650EBDygd','change:state','16eHDPqh','3787SGDyrW','collaboration.channelId','ready','listenTo','_setUpService','isPremiumPlugin','switchReadOnly','isOfficialPlugin','8886KYcoib','requires','_terminateService','386556TULkdE','isThreadsLoadingPaused','destroy','editor','config','plugins','1592192pxDNcI','Comments','274978jJtfip','77DtKUlf','CommentsEditing','5PedFSM','2456364znBKKs','RealTimeCollaborativeComments','CommentsRepository','data','get','connected','init','9862616stYhit','9vuDPde'];_0x53b0=function(){return _0x2f5b97;};return _0x53b0();}import _0xc8caee from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x20a8b9 from'./realtimecollaborativeediting.js';import _0xabbb90 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x56a9a3{static get[_0x250099(0x95)](){const _0xccf148=_0x250099;return[_0xccf148(0x9e),_0xc8caee,_0x20a8b9,_0xabbb90];}static get[_0x250099(0x88)](){const _0xfa0ee8=_0x250099;return _0xfa0ee8(0xa4);}static get[_0x250099(0x93)](){return!0x0;}static get[_0x250099(0x91)](){return!0x0;}[_0x250099(0xa9)](){const _0x1e7a9f=_0x250099,_0x5d66d5=this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9c)][_0x1e7a9f(0xa7)](_0xabbb90),_0x38f154=this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9c)][_0x1e7a9f(0xa7)](_0x1e7a9f(0xa1)),_0x498f80=this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9c)][_0x1e7a9f(0xa7)](_0xc8caee);return this[_0x1e7a9f(0x9a)][_0x1e7a9f(0xa6)][_0x1e7a9f(0x87)](_0x1e7a9f(0x8e),()=>{const _0x3d8db0=_0x1e7a9f;this[_0x3d8db0(0x8f)](_0x5d66d5,_0x3d8db0(0x8a),(_0x2caa3a,_0x599fb3,_0xb8de06)=>{const _0x1fc290=_0x3d8db0;_0x38f154[_0x1fc290(0x98)]=_0x1fc290(0xa8)!==_0xb8de06;});}),this[_0x1e7a9f(0x8f)](_0x5d66d5,_0x1e7a9f(0x8a),(_0x56543d,_0x516ef6,_0x2d7550)=>{const _0x4f9f40=_0x1e7a9f;this[_0x4f9f40(0x9a)][_0x4f9f40(0x9c)][_0x4f9f40(0xa7)](_0x4f9f40(0xa5))[_0x4f9f40(0x92)](_0x4f9f40(0xa8)!==_0x2d7550);}),_0x498f80[_0x1e7a9f(0x90)](this[_0x1e7a9f(0x9a)][_0x1e7a9f(0x9b)][_0x1e7a9f(0xa7)](_0x1e7a9f(0x8d)));}[_0x250099(0x99)](){const _0x90ce38=_0x250099;this[_0x90ce38(0x9a)][_0x90ce38(0x9c)][_0x90ce38(0xa7)](_0xc8caee)[_0x90ce38(0x96)](this[_0x90ce38(0x9a)][_0x90ce38(0x9b)][_0x90ce38(0xa7)](_0x90ce38(0x8d))),super[_0x90ce38(0x99)]();}}
@@ -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 _0x156978=_0x71ed;(function(_0x571852,_0x401a3e){const _0x12d47a=_0x71ed,_0x304250=_0x571852();while(!![]){try{const _0x321a43=-parseInt(_0x12d47a(0x21c))/0x1+parseInt(_0x12d47a(0x231))/0x2+parseInt(_0x12d47a(0x1ec))/0x3+-parseInt(_0x12d47a(0x244))/0x4*(-parseInt(_0x12d47a(0x274))/0x5)+parseInt(_0x12d47a(0x1b4))/0x6*(parseInt(_0x12d47a(0x271))/0x7)+-parseInt(_0x12d47a(0x1a7))/0x8+parseInt(_0x12d47a(0x1ee))/0x9*(parseInt(_0x12d47a(0x256))/0xa);if(_0x321a43===_0x401a3e)break;else _0x304250['push'](_0x304250['shift']());}catch(_0x178a5a){_0x304250['push'](_0x304250['shift']());}}}(_0x13bf,0x5a960));import{Plugin as _0x2e69e7,PendingActions as _0x4d58ec}from'ckeditor5/src/core.js';import{CKEditorError as _0x39acff,version as _0x5ab13e,uid as _0x49117e}from'ckeditor5/src/utils.js';import{Notification as _0x128ece}from'ckeditor5/src/ui.js';import{transformSets as _0x21941f,NoOperation as _0xe56ff6,InsertOperation as _0x18402c,MarkerOperation as _0x237ef8,RootAttributeOperation as _0x51f432,OperationFactory as _0x1c2267,History as _0x2190ec}from'ckeditor5/src/engine.js';import _0x553c77 from'./websocketgateway.js';import _0x2ec14d from'./sessions.js';import _0x53ae2d from'./usermarkers.js';function _0x13bf(){const _0x2858e0=['rootName','lastDocumentSession','_clearPendingAction','cloudDocumentVersion','_connectAfterSessionHasBeenFlushed','_loadRoot','high','clone','isEnabled','from','differ','addToReconnectionStack','toJSON','Notification','disableReadOnlyMode','_compressor','locale','directChange','realtimecollaborationclient-init-document-already-initialized','_operationToId','_crash','_isPendingUpdate','_knownRootNames','register','getRoot','removeFromReconnectionStack','_operationIdentifier','return','$root','_applyOperationsSet','getUser','_compressOperations','forEach','cloud-services-internal-error:\x20Request\x20timeout.','Permissions','1233996ULgDNv','channelSessions','72keAlbe','_hasSelectionChanged','connection','_service','plugins','_lastSyncedOperationId','collaboration.channelId','initData','CollaborativeEditingService','_isLoaded','editor','_initSessionsHandling','operationsReceived','code','filter','disconnect','sessionId','startsWith','_disconnectService','_initThrowingOnDataSet','_isEditingAllowed','lastSyncVersion','isUndoneOperation','insert','view','reset','slice','fromJSON','realtimecollaborationclient-initservice-internal-error','_saveOperationInBuffer','404','realtimecollaborationclient-handleserverresponse','lastOperationId','_fetchMissingUsers','enqueueChange','sessionCreatedAt','unregister','_currentBufferDelay','data','_handleExternalOperations','addUser','pluginName','realtimecollaborationclient-sendbufferedoperations','_setPendingAction','listenTo','document','380058EAzNyJ','roots','_channelId','change:hasDomSelection','requires','fire','409','stop','_shouldSendSelectionUpdate','size','sessionAdd:','position','message','_isInit','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cs:removeUser','_authorId','reconnect','_connectService','history','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.','210830JBxzsW','realtimecollaborationclient-init-connection-failed','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.','currentDocumentSession','rtc-offline','baseVersion','init','push','_decompressOperations','_isAttached','wereChangesApplied','setPermissions','_handleReceivedOperations','remove','RealTimeCollaborationClient','apply','mySessionId','set','batch','511588WUuKYv','map','_setUpDataInit','sendOperations','markers','createRoot','suppressErrorInCollaboration','permissions','destroy','createPositionAt','connect','change:_isEditingAllowed','_getAffectedRoot','has','isOfficialPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-non-existent-root','_baseBufferDelay','11190oLuyAs','createPositionFromPath','offset','isDocumentOperation','__className','_handleSendingSelectionMarkers','then','targetPosition','_getOperationsFromInitData','newRange','_hasSynchronizationProblem','getConnectedSessions','config','collaboration','catch','real-time-collaboration','affectedSelectable','showWarning','_isConnected','isPremiumPlugin','_updateServerHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','define','_ignoredOperations','parse','_handleServerResponse','addRootAttribute','7RosPKC','path','_isDisconnection','10tQBGdQ','rtc-destroyed','PENDING_ACTION_SENDING_DATA','marker','InsertOperation','_waitUntilSynced','round','realtimecollaborationclient-init-session-connection-error','createRange','entries','change:_isPendingUpdate','selection','_refreshUserSelectionMarkers','get','keys','cloudServices.bundleVersion','getDocumentDetails','_sendBufferedOperationsDelayed','add','_lastServerVersion','finally','attributes','setIdForTheLastOperation','stopListening','end','decompress','ready','getIdOfTheLastOperation','addOperation','addRoot','includes','move','_handleReconnectionResponse','collaboration-missing-channelid','createUserMarkerOperations','cloud-services-internal-error:\x20Not\x20connected.','document:write','error','wasUndone','serverHistory','Synchronization\x20issue','string','root','connected','rootsAttributes','_offset','userId','bind','reconnection:\x20flushed\x20session','_handleReconnectionError','_bufferRootLoad','realtimecollaborationclient-initservice-incorrect-server-operation','_pendingAction','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','state','2361008kfFwRp','lastOperationAcceptedAt','disconnected','_handleInitialConnectionData','_sendBufferedOperationsDelayId','version','editing','getOperations','getOperationAuthor','_disconnectionOperations','loadRoot','model','_shouldSendUpdate','1588386MlLGDd','affectsData','multi-root-editor-root-attributes-no-root','isReadOnly','createdAt','start','getMany','_sendBufferedOperations','_addKnownRoot','off','_knownOperations','_bufferedOperations','enableReadOnlyMode','metadata','length','type','applyOperation','compress','_document','change:range','CommentsOnly'];_0x13bf=function(){return _0x2858e0;};return _0x13bf();}import{getTranslation as _0x23d5d8}from'../common-translations.js';import{Compressor as _0x58d3b2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1f61e1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x51bce5,CollaborativeEditingService as _0x1e6576}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x2e69e7{static get[_0x156978(0x220)](){return[_0x553c77,_0x2ec14d,_0x53ae2d,_0x4d58ec,_0x1f61e1,_0x128ece];}static get[_0x156978(0x217)](){const _0x16d90d=_0x156978;return _0x16d90d(0x23f);}static get[_0x156978(0x252)](){return!0x0;}static get[_0x156978(0x269)](){return!0x0;}get[_0x156978(0x1cc)](){const _0x4e725d=_0x156978;return this[_0x4e725d(0x287)]+this[_0x4e725d(0x19d)];}get[_0x156978(0x287)](){const _0x54a07a=_0x156978;return this[_0x54a07a(0x29b)][_0x54a07a(0x1ac)]-this[_0x54a07a(0x19d)];}get[_0x156978(0x203)](){const _0xd2815a=_0x156978,_0x2a42e2=this[_0xd2815a(0x29b)][_0xd2815a(0x1ae)]();for(let _0x48c119=_0x2a42e2[_0xd2815a(0x1c2)]-0x1;_0x48c119>=0x0;_0x48c119--){const _0x41d375=_0x2a42e2[_0x48c119];if(!this[_0xd2815a(0x1b0)][_0xd2815a(0x251)](_0x41d375))return _0x41d375[_0xd2815a(0x236)]+0x1-this[_0xd2815a(0x19d)];}return 0x0;}constructor(_0xfd3885){const _0x1cb5ef=_0x156978;if(super(_0xfd3885),this[_0x1cb5ef(0x19d)]=0x0,this[_0x1cb5ef(0x1fe)]=null,this[_0x1cb5ef(0x29b)]=new _0x2190ec(),this[_0x1cb5ef(0x1f8)][_0x1cb5ef(0x262)][_0x1cb5ef(0x26c)](_0x1cb5ef(0x263),{}),this[_0x1cb5ef(0x21e)]=this[_0x1cb5ef(0x1f8)][_0x1cb5ef(0x262)][_0x1cb5ef(0x281)](_0x1cb5ef(0x1f4)),!this[_0x1cb5ef(0x21e)])throw new _0x39acff(_0x1cb5ef(0x295),this);const _0x5c93c=_0xfd3885[_0x1cb5ef(0x262)][_0x1cb5ef(0x281)](_0x1cb5ef(0x283))||_0x5ab13e;this[_0x1cb5ef(0x1f1)]=new l[(_0x1cb5ef(0x1f6))](_0x5c93c,this[_0x1cb5ef(0x21e)]),this[_0x1cb5ef(0x1c6)]=this[_0x1cb5ef(0x1f8)][_0x1cb5ef(0x1b2)][_0x1cb5ef(0x21b)],this[_0x1cb5ef(0x1d8)]=new _0x58d3b2(),this[_0x1cb5ef(0x1bf)]=[],this[_0x1cb5ef(0x1be)]=new WeakSet(),this[_0x1cb5ef(0x1df)]=new Set(),this[_0x1cb5ef(0x242)](_0x1cb5ef(0x1de),!0x1),this[_0x1cb5ef(0x242)](_0x1cb5ef(0x260),!0x1),this[_0x1cb5ef(0x1a4)]=null,this[_0x1cb5ef(0x1ef)]=!0x1,this[_0x1cb5ef(0x1ab)]=null,this[_0x1cb5ef(0x255)]=0x12c,this[_0x1cb5ef(0x213)]=this[_0x1cb5ef(0x255)],this[_0x1cb5ef(0x1f3)]=null,this[_0x1cb5ef(0x1b0)]=new WeakSet(),this[_0x1cb5ef(0x1e3)]=new X(this[_0x1cb5ef(0x1b0)]);}[_0x156978(0x237)](){const _0x232969=_0x156978,_0x3385a3=this[_0x232969(0x1f8)],_0x110abd=_0x3385a3[_0x232969(0x1f2)][_0x232969(0x281)](_0x1f61e1),_0x21dcc6=_0x3385a3[_0x232969(0x1f2)][_0x232969(0x281)](_0x553c77);this[_0x232969(0x21a)](_0x110abd,_0x232969(0x1af),(_0x518e66,_0x118e21)=>{const _0x231eab=_0x232969,_0x42232a=_0x118e21[0x0];_0x42232a[_0x231eab(0x22c)]&&(_0x518e66[_0x231eab(0x1e4)]=_0x110abd[_0x231eab(0x1e7)](_0x42232a[_0x231eab(0x22c)]),_0x518e66[_0x231eab(0x223)]()),null===_0x42232a[_0x231eab(0x22c)]&&(_0x518e66[_0x231eab(0x1e4)]=null,_0x518e66[_0x231eab(0x223)]());},{'priority':_0x232969(0x1cf)}),this[_0x232969(0x21a)](_0x3385a3[_0x232969(0x1b2)][_0x232969(0x21b)][_0x232969(0x27f)],_0x232969(0x1c7),(_0x46c3b4,_0x442bad)=>{const _0x2484a8=_0x232969;_0x442bad[_0x2484a8(0x1da)]&&this[_0x2484a8(0x280)]();}),this[_0x232969(0x21a)](_0x3385a3[_0x232969(0x1ad)][_0x232969(0x206)],_0x232969(0x21f),()=>{const _0x490f5d=_0x232969;this[_0x490f5d(0x280)]();}),this[_0x232969(0x201)](),_0x3385a3[_0x232969(0x1b2)]['on'](_0x232969(0x1c4),(_0x232413,_0x170d77)=>{const _0x4ac3d5=_0x232969,_0xa830a1=_0x170d77[0x0];_0xa830a1[_0x4ac3d5(0x259)]&&(this[_0x4ac3d5(0x20b)](_0xa830a1),this[_0x4ac3d5(0x1b3)]()&&this[_0x4ac3d5(0x285)]());}),this[_0x232969(0x246)](),this[_0x232969(0x19f)](_0x232969(0x202))['to'](_0x21dcc6,_0x232969(0x1a6),this,_0x232969(0x260),(_0x59054c,_0x506531)=>_0x232969(0x29f)===_0x59054c&&!_0x506531),this['on'](_0x232969(0x24f),()=>{const _0x328cd8=_0x232969;this[_0x328cd8(0x202)]?_0x3385a3[_0x328cd8(0x1d7)](_0x328cd8(0x235)):_0x3385a3[_0x328cd8(0x1c0)](_0x328cd8(0x235));}),this[_0x232969(0x202)]?_0x3385a3[_0x232969(0x1d7)](_0x232969(0x235)):_0x3385a3[_0x232969(0x1c0)](_0x232969(0x235)),this[_0x232969(0x242)](_0x232969(0x268),!0x1);}async[_0x156978(0x22d)](){const _0x37834b=_0x156978,_0x206cfb=this[_0x37834b(0x1f8)][_0x37834b(0x1f2)][_0x37834b(0x281)](_0x2ec14d),_0x1c1355=this[_0x37834b(0x1f8)][_0x37834b(0x1f2)][_0x37834b(0x281)](_0x553c77);try{this[_0x37834b(0x1de)]=!0x0,_0x206cfb[_0x37834b(0x212)](this[_0x37834b(0x21e)]);const _0x11049d=await this[_0x37834b(0x1f1)][_0x37834b(0x22d)](_0x1c1355[_0x37834b(0x1f0)],this[_0x37834b(0x203)]);await this[_0x37834b(0x294)](_0x11049d)&&(this[_0x37834b(0x1de)]=!0x1,this[_0x37834b(0x1cb)]());const _0x10acc1=await this[_0x37834b(0x1f1)][_0x37834b(0x261)]();_0x206cfb[_0x37834b(0x1e0)](this[_0x37834b(0x21e)],_0x10acc1),this[_0x37834b(0x25b)](),this[_0x37834b(0x268)]=!0x0;}catch(_0x49e64c){if(function(_0x4bed3b){const _0x21d08f=_0x37834b;return _0x21d08f(0x20c)===_0x4bed3b[_0x21d08f(0x1fb)];}(_0x49e64c)&&this[_0x37834b(0x1fe)])await this[_0x37834b(0x1cd)]();else{if(function(_0x2943b1){const _0x4735ba=_0x37834b;return _0x4735ba(0x222)===_0x2943b1[_0x4735ba(0x1fb)];}(_0x49e64c)){const _0x4004a6=_0x23d5d8(this[_0x37834b(0x1f8)][_0x37834b(0x1d9)],_0x37834b(0x22a));this[_0x37834b(0x1a1)](_0x4004a6);}else{if(!(_0x49e64c instanceof J))throw _0x49e64c;this[_0x37834b(0x1a1)]();}}}}[_0x156978(0x24c)](){const _0x2dbabd=_0x156978,_0x64d9cf=this[_0x2dbabd(0x1f8)][_0x2dbabd(0x1f2)][_0x2dbabd(0x281)](_0x553c77),_0x595689=this[_0x2dbabd(0x1f8)][_0x2dbabd(0x1f2)][_0x2dbabd(0x281)](_0x2ec14d);this[_0x2dbabd(0x1f8)][_0x2dbabd(0x1c0)](_0x2dbabd(0x275)),_0x595689[_0x2dbabd(0x1ed)][_0x2dbabd(0x251)](this[_0x2dbabd(0x21e)])&&_0x595689[_0x2dbabd(0x212)](this[_0x2dbabd(0x21e)]),_0x64d9cf[_0x2dbabd(0x1e2)](this),this[_0x2dbabd(0x200)](),super[_0x2dbabd(0x24c)]();}async[_0x156978(0x294)](_0x577656){const _0x4e6f30=_0x156978;if(this[_0x4e6f30(0x1fe)]!==_0x577656[_0x4e6f30(0x1fe)]&&this[_0x4e6f30(0x1f3)]!==_0x577656[_0x4e6f30(0x20e)])throw new J();return this[_0x4e6f30(0x1fe)]=_0x577656[_0x4e6f30(0x1fe)],this[_0x4e6f30(0x26f)]([],{..._0x577656,'wereChangesApplied':!0x1,'data':_0x577656[_0x4e6f30(0x214)]},_0x4e6f30(0x22d));}async[_0x156978(0x22e)](_0x4bbb27,_0x1c90b2=!0x1){const _0x26e39a=_0x156978,{connection:_0xed46e2}=this[_0x26e39a(0x1f8)][_0x26e39a(0x1f2)][_0x26e39a(0x281)](_0x553c77);l[_0x26e39a(0x1f6)][_0x26e39a(0x261)](_0xed46e2,this[_0x26e39a(0x21e)])[_0x26e39a(0x25c)](_0x249dc7=>this[_0x26e39a(0x1f9)](_0x249dc7))[_0x26e39a(0x264)](_0x48c1c3=>{const _0x42decc=_0x26e39a;this[_0x42decc(0x1dd)](_0x42decc(0x27b),_0x48c1c3);}),this[_0x26e39a(0x21a)](this[_0x26e39a(0x1f1)],_0x26e39a(0x1fa),this[_0x26e39a(0x23d)][_0x26e39a(0x19f)](this)),this[_0x26e39a(0x21a)](this[_0x26e39a(0x1f1)],_0x26e39a(0x299),(_0x46f95f,_0x36aa68)=>{const _0x19c078=_0x26e39a;this[_0x19c078(0x1dd)](_0x19c078(0x20a),_0x36aa68);}),this[_0x26e39a(0x21a)](this[_0x26e39a(0x1f1)],_0x26e39a(0x1a9),()=>{const _0x5f0be0=_0x26e39a;this[_0x5f0be0(0x268)]=!0x1;});const _0x3e11f8=this[_0x26e39a(0x1e3)][_0x26e39a(0x28f)](_0x4bbb27);this[_0x26e39a(0x1de)]=!0x0;const _0x9494ab=await this[_0x26e39a(0x1f1)][_0x26e39a(0x24e)](_0xed46e2,this[_0x26e39a(0x1e8)](_0x4bbb27),_0x3e11f8);if(this[_0x26e39a(0x1fe)]=_0x9494ab[_0x26e39a(0x1fe)],_0x1c90b2){if(!_0x9494ab[_0x26e39a(0x23b)])return void this[_0x26e39a(0x1a1)]();this[_0x26e39a(0x1de)]=!0x1,this[_0x26e39a(0x1cb)](),this[_0x26e39a(0x29b)][_0x26e39a(0x207)](),this[_0x26e39a(0x19d)]=_0x9494ab[_0x26e39a(0x258)],this[_0x26e39a(0x29b)][_0x26e39a(0x1ac)]=this[_0x26e39a(0x19d)],await this[_0x26e39a(0x26f)](_0x4bbb27,_0x9494ab,_0x26e39a(0x1a0));}else await this[_0x26e39a(0x1aa)](_0x9494ab,_0x4bbb27);this[_0x26e39a(0x25b)](),this[_0x26e39a(0x268)]=!0x0;}[_0x156978(0x25b)](){const _0x3c7616=_0x156978,_0xa80eb6=this[_0x3c7616(0x1f8)][_0x3c7616(0x1f2)][_0x3c7616(0x281)](_0x2ec14d),_0x1ae476=this[_0x3c7616(0x1f8)][_0x3c7616(0x1f2)][_0x3c7616(0x281)](_0x53ae2d),_0x4ad3ba=_0xa80eb6[_0x3c7616(0x1ed)][_0x3c7616(0x281)](this[_0x3c7616(0x21e)]);_0x4ad3ba&&_0x4ad3ba[_0x3c7616(0x1c2)]>0x1?_0x1ae476[_0x3c7616(0x296)]():this[_0x3c7616(0x21a)](_0xa80eb6,_0x3c7616(0x226)+this[_0x3c7616(0x21e)],()=>{const _0x6ee290=_0x3c7616;0x2===_0xa80eb6[_0x6ee290(0x1ed)][_0x6ee290(0x281)](this[_0x6ee290(0x21e)])[_0x6ee290(0x1c2)]&&_0x1ae476[_0x6ee290(0x296)]();});}async[_0x156978(0x23d)](_0x2a5852,_0x524aab,_0x3fddcf,_0xc793a){const _0x339727=_0x156978;if(!this[_0x339727(0x1de)]&&this[_0x339727(0x1c6)][_0x339727(0x1ac)]==_0x524aab){const _0x31e4c6=this[_0x339727(0x239)](_0x3fddcf,_0xc793a);await this[_0x339727(0x20f)](_0x31e4c6),this[_0x339727(0x215)](_0x31e4c6,_0x524aab,_0x3fddcf[_0x339727(0x20e)])||this[_0x339727(0x1dd)](_0x339727(0x1a3));}}async[_0x156978(0x1cd)](){const _0x3cbc7c=_0x156978;this[_0x3cbc7c(0x200)]();const {locale:_0x4b2b10}=this[_0x3cbc7c(0x1f8)];let _0x538d1;try{_0x538d1=await this[_0x3cbc7c(0x1f1)][_0x3cbc7c(0x284)]();}catch(_0x3853e5){const _0x306891=_0x23d5d8(_0x4b2b10,_0x3cbc7c(0x1a5));return void this[_0x3cbc7c(0x1a1)](_0x306891);}const _0x3a915d=_0x538d1[_0x3cbc7c(0x234)]||_0x538d1[_0x3cbc7c(0x1ca)];if(this[_0x3cbc7c(0x1f3)]===_0x3a915d[_0x3cbc7c(0x20e)])await this[_0x3cbc7c(0x22e)](this[_0x3cbc7c(0x1f8)][_0x3cbc7c(0x1b2)][_0x3cbc7c(0x21b)][_0x3cbc7c(0x22f)][_0x3cbc7c(0x1ae)](),!0x0);else{const _0x52ae8f=_0x23d5d8(_0x4b2b10,_0x3cbc7c(0x233));this[_0x3cbc7c(0x1a1)](_0x52ae8f);}}[_0x156978(0x200)](){const _0x3a2d1a=_0x156978;this[_0x3a2d1a(0x1f1)][_0x3a2d1a(0x1fd)](),this[_0x3a2d1a(0x1bf)]=[],clearTimeout(this[_0x3a2d1a(0x1ab)]),this[_0x3a2d1a(0x28b)](this[_0x3a2d1a(0x1f1)]);}[_0x156978(0x1f9)](_0x4191ea){const _0x50d8e4=_0x156978,_0x53b161=this[_0x50d8e4(0x1f8)][_0x50d8e4(0x1f2)][_0x50d8e4(0x281)](_0x2ec14d);this[_0x50d8e4(0x21a)](_0x53b161,_0x50d8e4(0x226)+this[_0x50d8e4(0x21e)],(_0xddf295,{session:_0xbedf83})=>{const _0x557458=_0x50d8e4;if(_0xbedf83['id']===_0x53b161[_0x557458(0x241)]){_0xddf295[_0x557458(0x1bd)]();const _0x1d04b3=this[_0x557458(0x1f8)][_0x557458(0x1f2)][_0x557458(0x251)](_0x557458(0x1c8))&&this[_0x557458(0x1f8)][_0x557458(0x1f2)][_0x557458(0x281)](_0x557458(0x1c8));let _0x2ccaf3=_0xbedf83[_0x557458(0x24b)];_0x1d04b3&&_0x1d04b3[_0x557458(0x1d1)]&&(_0x2ccaf3=_0x2ccaf3[_0x557458(0x1fc)](_0x902e8=>_0x557458(0x298)!==_0x902e8)),this[_0x557458(0x1f8)][_0x557458(0x1f2)][_0x557458(0x281)](_0x557458(0x1eb))[_0x557458(0x23c)](_0x2ccaf3,this[_0x557458(0x21e)]);}}),_0x53b161[_0x50d8e4(0x1e0)](this[_0x50d8e4(0x21e)],_0x4191ea);}[_0x156978(0x201)](){const _0x384c6f=_0x156978,_0x587c9d=this[_0x384c6f(0x1f8)][_0x384c6f(0x214)][_0x384c6f(0x242)];this[_0x384c6f(0x1f8)][_0x384c6f(0x214)][_0x384c6f(0x242)]=(..._0x3764a3)=>{const _0x24844d=_0x384c6f;if(!_0x3764a3[_0x3764a3[_0x24844d(0x1c2)]-0x1][_0x24844d(0x24a)])throw new _0x39acff(_0x24844d(0x253),this);_0x587c9d[_0x24844d(0x240)](this[_0x24844d(0x1f8)][_0x24844d(0x214)],_0x3764a3);};}[_0x156978(0x246)](){const _0x31dbf1=_0x156978;this[_0x31dbf1(0x1f8)][_0x31dbf1(0x214)]['on'](_0x31dbf1(0x237),(_0x2069ba,[_0x5183ad])=>{const _0x49b551=_0x31dbf1;if(this[_0x49b551(0x1c6)][_0x49b551(0x1ac)])throw new _0x39acff(_0x49b551(0x1db),this);_0x2069ba[_0x49b551(0x223)](),this[_0x49b551(0x219)]();const _0x41c848=this[_0x49b551(0x1f8)][_0x49b551(0x262)][_0x49b551(0x281)](_0x49b551(0x2a0)),_0x411813=this[_0x49b551(0x25e)](_0x5183ad,_0x41c848);0x0==_0x411813[_0x49b551(0x1c2)]&&_0x411813[_0x49b551(0x238)](new _0xe56ff6(0x0)),_0x2069ba[_0x49b551(0x1e4)]=this[_0x49b551(0x22e)](_0x411813)[_0x49b551(0x25c)](()=>{const _0x33e174=_0x49b551;this[_0x33e174(0x1f8)][_0x33e174(0x1f2)][_0x33e174(0x281)](_0x553c77)[_0x33e174(0x1d4)](this),this[_0x33e174(0x1f8)][_0x33e174(0x214)][_0x33e174(0x221)](_0x33e174(0x28e));})[_0x49b551(0x264)](_0x3cd4fe=>this[_0x49b551(0x1dd)](_0x49b551(0x232),_0x3cd4fe))[_0x49b551(0x288)](()=>this[_0x49b551(0x1cb)]());},{'priority':_0x31dbf1(0x1cf)}),this[_0x31dbf1(0x1f8)]['on'](_0x31dbf1(0x1b1),async(_0x3d6bff,[_0x1487ce,_0x40d502])=>{const _0x37055c=_0x31dbf1;_0x3d6bff[_0x37055c(0x223)]();const _0x37111b=this[_0x37055c(0x1f8)][_0x37055c(0x1b2)][_0x37055c(0x21b)][_0x37055c(0x1e1)](_0x1487ce);if(!this[_0x37055c(0x1df)][_0x37055c(0x251)](_0x1487ce)){const _0x6af196=_0x40d502&&_0x40d502[_0x37055c(0x214)]?_0x40d502[_0x37055c(0x214)]:'',_0x57e620=_0x40d502&&_0x40d502[_0x37055c(0x289)]?_0x40d502[_0x37055c(0x289)]:{};await this[_0x37055c(0x1ce)](_0x1487ce,_0x6af196,_0x57e620);}this[_0x37055c(0x1f8)][_0x37055c(0x1b2)][_0x37055c(0x210)]({'isUndoable':!0x1},()=>{const _0xd9ee55=_0x37055c;_0x37111b[_0xd9ee55(0x1f7)]=!0x0,this[_0xd9ee55(0x1f8)][_0xd9ee55(0x1b2)][_0xd9ee55(0x21b)][_0xd9ee55(0x1d3)][_0xd9ee55(0x1a2)](_0x37111b);});},{'priority':_0x31dbf1(0x1cf)});}async[_0x156978(0x20f)](_0x59fa7c){const _0x531650=_0x156978,_0x3ef06a=this[_0x531650(0x1f8)][_0x531650(0x1f2)][_0x531650(0x281)](_0x1f61e1),{connection:_0x5c7a48}=this[_0x531650(0x1f8)][_0x531650(0x1f2)][_0x531650(0x281)](_0x553c77),_0x343d5c=new Set();for(const _0x175274 of _0x59fa7c){const _0x309697=_0x175274[_0x531650(0x22c)];_0x309697&&!_0x3ef06a[_0x531650(0x1e7)](_0x309697)&&_0x343d5c[_0x531650(0x286)](_0x309697);}if(0x0===_0x343d5c[_0x531650(0x225)])return;const _0x298876=await _0x51bce5[_0x531650(0x1ba)](_0x5c7a48,Array[_0x531650(0x1d2)](_0x343d5c));for(const _0x24169d of _0x298876)_0x3ef06a[_0x531650(0x1e7)](_0x24169d['id'])||_0x3ef06a[_0x531650(0x216)](_0x24169d);}[_0x156978(0x25e)](_0x11a069,_0xcb7fb3={}){const _0x1d6af0=_0x156978,_0x3f983d=this[_0x1d6af0(0x1f8)][_0x1d6af0(0x1b2)],_0x47b179=[];let _0x2d17f9=0x0;const _0x1b9613=_0x1d6af0(0x29d)==typeof _0x11a069?{'main':_0x11a069}:_0x11a069;for(const _0x21640c of Object[_0x1d6af0(0x282)](_0x1b9613)){if(!this[_0x1d6af0(0x1c6)][_0x1d6af0(0x21d)][_0x1d6af0(0x251)](_0x21640c))throw new _0x39acff(_0x1d6af0(0x254),this);const _0x33bd32=this[_0x1d6af0(0x1f8)][_0x1d6af0(0x214)][_0x1d6af0(0x26e)](_0x1b9613[_0x21640c]),_0x1234b7=this[_0x1d6af0(0x1c6)][_0x1d6af0(0x1e1)](_0x21640c),_0x12a425=new _0x18402c(_0x3f983d[_0x1d6af0(0x24d)](_0x1234b7,0x0),_0x33bd32,_0x2d17f9++);_0x47b179[_0x1d6af0(0x238)](_0x12a425);for(const [_0x212b28,_0x3e5023]of _0x33bd32[_0x1d6af0(0x248)]){const _0x3ac656=_0x3f983d[_0x1d6af0(0x27c)](_0x3f983d[_0x1d6af0(0x257)](_0x1234b7,_0x3e5023[_0x1d6af0(0x1b9)][_0x1d6af0(0x272)][_0x1d6af0(0x208)]()),_0x3f983d[_0x1d6af0(0x257)](_0x1234b7,_0x3e5023[_0x1d6af0(0x28c)][_0x1d6af0(0x272)][_0x1d6af0(0x208)]())),_0x25d226=new _0x237ef8(_0x212b28,null,_0x3ac656,_0x3f983d[_0x1d6af0(0x248)],!0x0,_0x2d17f9++);_0x47b179[_0x1d6af0(0x238)](_0x25d226);}}if(_0xcb7fb3)for(const [_0x46a52d,_0x3517a6]of Object[_0x1d6af0(0x27d)](_0xcb7fb3)){const _0x1298b4=_0x3f983d[_0x1d6af0(0x21b)][_0x1d6af0(0x1e1)](_0x46a52d);if(!_0x1298b4)throw new _0x39acff(_0x1d6af0(0x1b6),null);for(const [_0x40fff1,_0x313723]of Object[_0x1d6af0(0x27d)](_0x3517a6))if(null!==_0x313723){const _0x3314d3=new _0x51f432(_0x1298b4,_0x40fff1,null,_0x313723,_0x2d17f9++);_0x47b179[_0x1d6af0(0x238)](_0x3314d3);}}return _0x47b179;}async[_0x156978(0x1ce)](_0x562a74,_0x2f1b69,_0x2771ae){const _0xe36881=_0x156978;this[_0xe36881(0x25e)]({[_0x562a74]:_0x2f1b69},{[_0x562a74]:_0x2771ae})[_0xe36881(0x1e9)]((_0x173ffb,_0x16e895)=>{const _0x2d38d7=_0xe36881;_0x173ffb[_0x2d38d7(0x236)]=this[_0x2d38d7(0x1c6)][_0x2d38d7(0x1ac)]+_0x16e895,_0x173ffb[_0x2d38d7(0x229)]=!0x0,this[_0x2d38d7(0x20b)](_0x173ffb);}),this[_0xe36881(0x285)](),await this[_0xe36881(0x279)]();}async[_0x156978(0x1aa)](_0x1f3174,_0x235d65){const _0x355b33=_0x156978;let _0x46fdb9;this[_0x355b33(0x19d)]=_0x1f3174[_0x355b33(0x258)];const _0x3d10eb=_0x1f3174[_0x355b33(0x23b)]&&!_0x1f3174[_0x355b33(0x1f5)],_0x22caed=_0x3d10eb?0x0:_0x1f3174[_0x355b33(0x214)][_0x355b33(0x236)];if(_0x235d65[_0x355b33(0x1e9)](_0x16fa2f=>{const _0x27a0ec=_0x355b33;_0x16fa2f[_0x27a0ec(0x229)]=!0x0,_0x16fa2f[_0x27a0ec(0x1b8)]=_0x1f3174[_0x27a0ec(0x211)],_0x16fa2f[_0x27a0ec(0x22c)]=null;}),_0x3d10eb)_0x46fdb9=_0x235d65,this[_0x355b33(0x1e6)](_0x46fdb9,_0x3d10eb);else{if(_0x1f3174[_0x355b33(0x1f5)]){const _0x317b92=this[_0x355b33(0x25e)](_0x1f3174[_0x355b33(0x1f5)]);this[_0x355b33(0x1c6)][_0x355b33(0x22f)][_0x355b33(0x1ac)]=-_0x317b92[_0x355b33(0x1c2)],_0x317b92[_0x355b33(0x1e9)](_0x223d22=>{const _0x71181f=_0x355b33;_0x223d22[_0x71181f(0x236)]-=_0x317b92[_0x71181f(0x1c2)],_0x223d22[_0x71181f(0x1b8)]=_0x1f3174[_0x71181f(0x211)],_0x223d22[_0x71181f(0x229)]=!0x0,_0x223d22[_0x71181f(0x22c)]=null;}),this[_0x355b33(0x1e6)](_0x317b92,!0x0),this[_0x355b33(0x29b)][_0x355b33(0x1ac)]=-_0x317b92[_0x355b33(0x1c2)]+this[_0x355b33(0x19d)],this[_0x355b33(0x26a)](_0x317b92);}this[_0x355b33(0x1c6)][_0x355b33(0x22f)][_0x355b33(0x1ac)]=_0x22caed,_0x46fdb9=this[_0x355b33(0x239)](_0x1f3174[_0x355b33(0x214)],_0x1f3174[_0x355b33(0x1c1)]),await this[_0x355b33(0x20f)](_0x46fdb9),this[_0x355b33(0x1e6)](_0x46fdb9,_0x3d10eb);}_0x1f3174[_0x355b33(0x20e)]&&(this[_0x355b33(0x1e3)][_0x355b33(0x28a)](_0x46fdb9,_0x1f3174[_0x355b33(0x20e)]),this[_0x355b33(0x1f3)]=_0x1f3174[_0x355b33(0x20e)]),this[_0x355b33(0x29b)][_0x355b33(0x1ac)]=_0x22caed+this[_0x355b33(0x19d)],this[_0x355b33(0x26a)](_0x46fdb9),_0x235d65[_0x355b33(0x1fc)](_0x24d3c8=>{const _0xd2f263=_0x355b33,_0x48423b=this[_0xd2f263(0x250)](_0x24d3c8);return _0x48423b&&!this[_0xd2f263(0x1df)][_0xd2f263(0x251)](_0x48423b);})[_0x355b33(0x1e9)]((_0x544c93,_0x31b711)=>{const _0x4cc525=_0x355b33;_0x544c93[_0x4cc525(0x236)]=this[_0x4cc525(0x1c6)][_0x4cc525(0x1ac)]+_0x31b711,this[_0x4cc525(0x20b)](_0x544c93);}),this[_0x355b33(0x1b3)]()?(this[_0x355b33(0x213)]=0x0,this[_0x355b33(0x285)](!0x0),await this[_0x355b33(0x279)]()):(this[_0x355b33(0x1de)]=!0x1,this[_0x355b33(0x1cb)]());}[_0x156978(0x1dd)](_0x12e848,_0x55e3e5){const _0x535b53=_0x156978;throw this[_0x535b53(0x1de)]=!0x0,_0x55e3e5&&console[_0x535b53(0x299)](_0x55e3e5),new _0x39acff(_0x12e848,this[_0x535b53(0x1f8)]);}[_0x156978(0x20b)](_0x527d6b){const _0x4e914f=_0x156978;this[_0x4e914f(0x1be)][_0x4e914f(0x251)](_0x527d6b)||(this[_0x4e914f(0x1be)][_0x4e914f(0x286)](_0x527d6b),this[_0x4e914f(0x1bf)][_0x4e914f(0x238)](_0x527d6b),this[_0x4e914f(0x1a4)]||_0x4e914f(0x277)==_0x527d6b[_0x4e914f(0x1c3)]&&!_0x527d6b[_0x4e914f(0x1b5)]||this[_0x4e914f(0x219)]());}[_0x156978(0x285)](_0x14acda=!0x1){const _0x5bb633=_0x156978;!_0x14acda&&this[_0x5bb633(0x1de)]||(this[_0x5bb633(0x1de)]=!0x0,clearTimeout(this[_0x5bb633(0x1ab)]),this[_0x5bb633(0x1ab)]=setTimeout(()=>{const _0x9b1238=_0x5bb633;this[_0x9b1238(0x1bb)]()[_0x9b1238(0x25c)](_0xe99cd3=>{const _0x584c4b=_0x9b1238;_0xe99cd3&&(this[_0x584c4b(0x1cb)](),this[_0x584c4b(0x1de)]=!0x1);})[_0x9b1238(0x264)](_0x4dd252=>{const _0x52926d=_0x9b1238;if(this[_0x52926d(0x1cb)](),this[_0x52926d(0x1de)]=!0x1,!function(_0x3e2922){const _0x6c8e4e=_0x52926d;return _0x3e2922[_0x6c8e4e(0x228)][_0x6c8e4e(0x1ff)](_0x6c8e4e(0x297))||_0x3e2922[_0x6c8e4e(0x228)][_0x6c8e4e(0x1ff)](_0x6c8e4e(0x26b))||_0x3e2922[_0x6c8e4e(0x228)][_0x6c8e4e(0x1ff)](_0x6c8e4e(0x1ea));}(_0x4dd252))throw _0x4dd252;});},this[_0x5bb633(0x213)]));}[_0x156978(0x279)](){return new Promise(_0x485e2e=>{const _0x1950b2=_0x71ed;this['on'](_0x1950b2(0x27e),()=>{_0x485e2e();});});}async[_0x156978(0x1bb)](){const _0x19758f=_0x156978,_0x2869ed=this[_0x19758f(0x1f8)][_0x19758f(0x1f2)][_0x19758f(0x281)](_0x53ae2d);if(this[_0x19758f(0x224)]()&&(_0x2869ed[_0x19758f(0x296)](),this[_0x19758f(0x1ef)]=!0x1),!this[_0x19758f(0x1b3)]())return!0x0;const _0x2fa25a=[...this[_0x19758f(0x1bf)]];for(const _0x558c3f of _0x2fa25a)_0x558c3f[_0x19758f(0x29a)]=this[_0x19758f(0x1c6)][_0x19758f(0x22f)][_0x19758f(0x204)](_0x558c3f);const _0x29a70f=this[_0x19758f(0x1e3)][_0x19758f(0x28f)](_0x2fa25a),_0x266679=K++,_0x31fd4e=this[_0x19758f(0x1e8)](_0x2fa25a),_0x795f57=await this[_0x19758f(0x1f1)][_0x19758f(0x247)](_0x31fd4e,_0x31fd4e[_0x19758f(0x236)],_0x29a70f);try{return await this[_0x19758f(0x26f)](_0x2fa25a,_0x795f57,_0x266679);}catch(_0x441cbb){return this[_0x19758f(0x1dd)](_0x19758f(0x218),_0x441cbb);}}async[_0x156978(0x26f)](_0x57998a,_0x51c6c5,_0x43c846){const _0x691275=_0x156978;if(_0x691275(0x299)in _0x51c6c5)throw _0x51c6c5[_0x691275(0x299)];let _0x16f6f7=!0x1;if(_0x51c6c5[_0x691275(0x23b)]){_0x51c6c5[_0x691275(0x20e)]&&(this[_0x691275(0x1f3)]=_0x51c6c5[_0x691275(0x20e)]),this[_0x691275(0x1bf)]=this[_0x691275(0x1bf)][_0x691275(0x1fc)](_0x5de508=>!_0x57998a[_0x691275(0x292)](_0x5de508));for(const _0x3ef05c of _0x57998a)_0x3ef05c[_0x691275(0x1b8)]=_0x691275(0x1a8)in _0x51c6c5&&_0x51c6c5[_0x691275(0x1a8)]||void 0x0;Q(_0x57998a,_0x51c6c5[_0x691275(0x1ac)]-_0x57998a[_0x691275(0x1c2)]),this[_0x691275(0x26a)](_0x57998a);const _0x3b0f5f=_0x57998a[_0x691275(0x1fc)](_0x503022=>{const _0x2050af=_0x691275;if(!_0x503022[_0x2050af(0x229)])return!0x1;const _0x58488e=this[_0x2050af(0x250)](_0x503022);return _0x58488e&&!this[_0x2050af(0x1df)][_0x2050af(0x251)](_0x58488e);});Q(_0x3b0f5f,this[_0x691275(0x1c6)][_0x691275(0x1ac)]),this[_0x691275(0x1e6)](_0x3b0f5f),_0x16f6f7=!0x0,this[_0x691275(0x213)]=this[_0x691275(0x255)];}else{const _0x2ebd34=this[_0x691275(0x239)](_0x51c6c5[_0x691275(0x214)],_0x51c6c5[_0x691275(0x1c1)])[_0x691275(0x1fc)](_0x41875e=>_0x41875e[_0x691275(0x236)]>=this[_0x691275(0x287)]);_0x2ebd34[_0x691275(0x1e9)](_0xef545d=>this[_0x691275(0x1bc)](_0xef545d)),this[_0x691275(0x1bf)]=this[_0x691275(0x1bf)][_0x691275(0x1fc)](_0x27be30=>!_0x27be30[_0x691275(0x229)]||!this[_0x691275(0x1df)][_0x691275(0x251)](this[_0x691275(0x250)](_0x27be30))),this[_0x691275(0x1bf)][_0x691275(0x1c2)]&&Q(this[_0x691275(0x1bf)],this[_0x691275(0x1bf)][0x0][_0x691275(0x236)]),await this[_0x691275(0x20f)](_0x2ebd34),_0x16f6f7=this[_0x691275(0x215)](_0x2ebd34,_0x51c6c5[_0x691275(0x1ac)],_0x51c6c5[_0x691275(0x20e)]),this[_0x691275(0x213)]=Math[_0x691275(0x27a)](this[_0x691275(0x213)]/0x2);}return _0x16f6f7?!this[_0x691275(0x1b3)]()||(this[_0x691275(0x285)](!0x0),!0x1):this[_0x691275(0x1dd)](_0x691275(0x20d));}[_0x156978(0x215)](_0x147a50,_0x17ad85,_0x2b4a14){const _0x289b82=_0x156978;try{const _0x2b0f0d={'document':this[_0x289b82(0x1c6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4305b7,operationsB:_0x284466,originalOperations:_0x11c6bc}=_0x21941f(_0x147a50,this[_0x289b82(0x1bf)],_0x2b0f0d);Q(_0x4305b7,this[_0x289b82(0x1c6)][_0x289b82(0x1ac)]),Q(_0x284466,_0x17ad85);for(const _0x22a0d3 of _0x4305b7){const _0x4aa260=_0x11c6bc[_0x289b82(0x281)](_0x22a0d3);_0x22a0d3[_0x289b82(0x22c)]=_0x4aa260?_0x4aa260[_0x289b82(0x22c)]:null;}_0x2b4a14&&(this[_0x289b82(0x1e3)][_0x289b82(0x28a)](_0x147a50,_0x2b4a14),this[_0x289b82(0x1f3)]=_0x2b4a14),this[_0x289b82(0x1bf)]=[..._0x284466],this[_0x289b82(0x1e6)](_0x4305b7),this[_0x289b82(0x26a)](_0x147a50);}catch(_0x3aed14){return console[_0x289b82(0x299)](_0x3aed14),!0x1;}return!0x0;}[_0x156978(0x1e6)](_0x320cfb,_0x34162d=!0x1){const _0x1fdc34=_0x156978;this[_0x1fdc34(0x1f8)][_0x1fdc34(0x1b2)][_0x1fdc34(0x210)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1e0270=>{const _0x2a855c=_0x1fdc34;for(const _0xaa022b of _0x320cfb)this[_0x2a855c(0x1be)][_0x2a855c(0x286)](_0xaa022b),this[_0x2a855c(0x1bc)](_0xaa022b),_0x1e0270[_0x2a855c(0x243)][_0x2a855c(0x290)](_0xaa022b),this[_0x2a855c(0x1f8)][_0x2a855c(0x1b2)][_0x2a855c(0x1c4)](_0xaa022b);});}[_0x156978(0x1bc)](_0x370974){const _0x54a549=_0x156978,_0x33d09d=this[_0x54a549(0x250)](_0x370974);_0x33d09d&&this[_0x54a549(0x1df)][_0x54a549(0x286)](_0x33d09d);}[_0x156978(0x250)](_0x55b81a){const _0x3f9c93=_0x156978;let _0x57def1,_0xaff32a;switch(_0x55b81a[_0x3f9c93(0x1c3)]){case _0x3f9c93(0x205):_0x57def1=_0x55b81a[_0x3f9c93(0x227)][_0x3f9c93(0x29e)];break;case _0x3f9c93(0x277):if(_0xaff32a=_0x55b81a[_0x3f9c93(0x25f)],!_0xaff32a)return null;_0x57def1=_0xaff32a[_0x3f9c93(0x29e)];break;case _0x3f9c93(0x270):_0x57def1=_0x55b81a[_0x3f9c93(0x29e)];break;case _0x3f9c93(0x291):_0x57def1=_0x55b81a[_0x3f9c93(0x266)];break;case _0x3f9c93(0x293):_0x57def1=_0x55b81a[_0x3f9c93(0x25d)][_0x3f9c93(0x29e)];break;default:return null;}return _0x57def1[_0x3f9c93(0x1c9)];}[_0x156978(0x26a)](_0x9e0b00){const _0x547679=_0x156978;_0x9e0b00[_0x547679(0x1e9)](_0x28313d=>{const _0x3e018b=_0x547679,_0x15cc4a=_0x28313d[_0x3e018b(0x1d0)]();_0x15cc4a[_0x3e018b(0x22c)]=_0x28313d[_0x3e018b(0x22c)],_0x15cc4a[_0x3e018b(0x229)]=!!_0x28313d[_0x3e018b(0x229)],_0x15cc4a[_0x3e018b(0x1b8)]=_0x28313d[_0x3e018b(0x1b8)],_0x15cc4a[_0x3e018b(0x236)]+=this[_0x3e018b(0x19d)],_0x28313d[_0x3e018b(0x273)]&&this[_0x3e018b(0x1b0)][_0x3e018b(0x286)](_0x15cc4a),this[_0x3e018b(0x29b)][_0x3e018b(0x290)](_0x15cc4a);});}[_0x156978(0x1a1)](_0x40a82e){const _0x14ec23=_0x156978,_0x4a3c8b=this[_0x14ec23(0x1f8)][_0x14ec23(0x1f2)][_0x14ec23(0x281)](_0x14ec23(0x1d6)),_0x3d8ba7=this[_0x14ec23(0x1f8)][_0x14ec23(0x1d9)];_0x40a82e||(_0x40a82e=_0x23d5d8(_0x3d8ba7,_0x14ec23(0x230))),_0x4a3c8b[_0x14ec23(0x267)](_0x40a82e,{'title':_0x23d5d8(_0x3d8ba7,_0x14ec23(0x29c)),'namespace':_0x14ec23(0x265)}),this[_0x14ec23(0x260)]=!0x0,clearTimeout(this[_0x14ec23(0x1ab)]),this[_0x14ec23(0x1bf)]=[],this[_0x14ec23(0x1f8)][_0x14ec23(0x1f2)][_0x14ec23(0x281)](_0x553c77)[_0x14ec23(0x24c)]();}[_0x156978(0x219)](){const _0x21bff1=_0x156978;this[_0x21bff1(0x1a4)]||(this[_0x21bff1(0x1a4)]=this[_0x21bff1(0x1f8)][_0x21bff1(0x1f2)][_0x21bff1(0x281)](_0x4d58ec)[_0x21bff1(0x286)](_0x23d5d8(this[_0x21bff1(0x1f8)][_0x21bff1(0x1d9)],_0x21bff1(0x276))));}[_0x156978(0x1cb)](){const _0x4251e5=_0x156978;this[_0x4251e5(0x1a4)]&&(this[_0x4251e5(0x1f8)][_0x4251e5(0x1f2)][_0x4251e5(0x281)](_0x4d58ec)[_0x4251e5(0x23e)](this[_0x4251e5(0x1a4)]),this[_0x4251e5(0x1a4)]=null);}[_0x156978(0x1e8)](_0xf18ed1){const _0x592662=_0x156978,_0x2a4d22=_0xf18ed1[_0x592662(0x245)](_0xeccc6e=>_0xeccc6e[_0x592662(0x1d5)]());return this[_0x592662(0x1d8)][_0x592662(0x1c5)](_0x2a4d22);}[_0x156978(0x239)](_0x1266e4,_0x4e2f2d){const _0x441003=_0x156978;return this[_0x441003(0x1d8)][_0x441003(0x28d)](_0x1266e4)[_0x441003(0x245)]((_0x2a0a63,_0x503c9e)=>{const _0x259cea=_0x441003,_0x3f03b7=_0x259cea(0x237)==_0x4e2f2d[_0x503c9e][_0x259cea(0x1c3)];if(_0x259cea(0x278)==_0x2a0a63[_0x259cea(0x25a)]){const _0x274cca=_0x2a0a63[_0x259cea(0x227)][_0x259cea(0x29e)];!this[_0x259cea(0x1c6)][_0x259cea(0x1e1)](_0x274cca)&&(this[_0x259cea(0x1c6)][_0x259cea(0x249)](_0x259cea(0x1e5),_0x274cca)[_0x259cea(0x23a)]=!0x1);}const _0x602380=_0x1c2267[_0x259cea(0x209)](_0x2a0a63,this[_0x259cea(0x1c6)]);return _0x602380[_0x259cea(0x29a)]=_0x2a0a63[_0x259cea(0x29a)],_0x602380[_0x259cea(0x229)]=_0x3f03b7,_0x602380[_0x259cea(0x22c)]=_0x3f03b7?null:_0x4e2f2d[_0x503c9e][_0x259cea(0x19e)],_0x602380[_0x259cea(0x273)]=_0x259cea(0x22b)===_0x4e2f2d[_0x503c9e][_0x259cea(0x1c3)],_0x602380[_0x259cea(0x1b8)]=_0x4e2f2d[_0x503c9e][_0x259cea(0x1b8)],_0x602380;});}[_0x156978(0x280)](){const _0x243efe=_0x156978;this[_0x243efe(0x1ef)]=!0x0,this[_0x243efe(0x224)]()?this[_0x243efe(0x285)]():this[_0x243efe(0x1ef)]=!0x1;}[_0x156978(0x224)](){const _0x5e7c68=_0x156978,_0x1ef727=this[_0x5e7c68(0x1f8)][_0x5e7c68(0x1f2)][_0x5e7c68(0x281)](_0x2ec14d)[_0x5e7c68(0x1ed)][_0x5e7c68(0x281)](this[_0x5e7c68(0x21e)]);return!this[_0x5e7c68(0x1f8)][_0x5e7c68(0x1b7)]&&!!_0x1ef727&&_0x1ef727[_0x5e7c68(0x1c2)]>0x1&&this[_0x5e7c68(0x1ef)];}[_0x156978(0x1b3)](){const _0x1d4ba1=_0x156978;return this[_0x1d4ba1(0x1bf)][_0x1d4ba1(0x1c2)]>0x0||this[_0x1d4ba1(0x224)]();}}l[_0x156978(0x1f6)]=_0x1e6576;function _0x71ed(_0x33005a,_0x5ed7c4){const _0x13bfbc=_0x13bf();return _0x71ed=function(_0x71edff,_0x152b65){_0x71edff=_0x71edff-0x19d;let _0x524dbc=_0x13bfbc[_0x71edff];return _0x524dbc;},_0x71ed(_0x33005a,_0x5ed7c4);}export default l;class J extends Error{}function Q(_0x15d1a4,_0x2886cc){const _0x174f83=_0x156978;for(const _0x2be583 of _0x15d1a4)_0x2be583[_0x174f83(0x236)]=_0x2886cc++;}class X{constructor(_0x1ee1ea){const _0x1affd8=_0x156978;this[_0x1affd8(0x26d)]=_0x1ee1ea,this[_0x1affd8(0x1dc)]=new WeakMap();}[_0x156978(0x28f)](_0x4bed35){const _0x419e12=_0x156978;let _0xf1abae=_0x4bed35[_0x419e12(0x1c2)];for(;_0xf1abae--;){const _0x1dca39=_0x4bed35[_0xf1abae];if(!this[_0x419e12(0x26d)][_0x419e12(0x251)](_0x1dca39)){if(!this[_0x419e12(0x1dc)][_0x419e12(0x251)](_0x1dca39)){const _0x295877=_0x49117e()[_0x419e12(0x208)](0x1,0x12);this[_0x419e12(0x1dc)][_0x419e12(0x242)](_0x1dca39,_0x295877);}return this[_0x419e12(0x1dc)][_0x419e12(0x281)](_0x1dca39);}}}[_0x156978(0x28a)](_0x530397,_0x46007d){const _0xe0f0d8=_0x156978;if(!_0x46007d)return;let _0x57b65a=_0x530397[_0xe0f0d8(0x1c2)];for(;_0x57b65a--;){const _0x4003f1=_0x530397[_0x57b65a];this[_0xe0f0d8(0x26d)][_0xe0f0d8(0x251)](_0x4003f1)||this[_0xe0f0d8(0x1dc)][_0xe0f0d8(0x242)](_0x4003f1,_0x46007d);}}}
@@ -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 _0x22bf53=_0x24d9;function _0x3941(){const _0xc4a2e1=['channelSessions','addUser','defineMe','init','sessions-unregister-not-exist','100614mDAbqU','isOfficialPlugin','requires','unregister','sessionAdd:','delete','plugins','131640vClCVP','stopListening','change:state','listenTo','remove','sessionId','connected','71142vacluE','role','size','45NRzLWv','pluginName','orderNumber','set','sessions-register-already-registered','_users','_uniqueUsersCount','has','_handleSessionRemove','user','add','register','state','assign','allConnectedUsers','96184bJlMAO','52FKNDOc','720765LOGona','fire','connection','clear','_handleSessionAdd','147MtqgeQ','_createUser','getUserRole','isPremiumPlugin','3924613VNVJdD','mySessionId','values','context','channelConnectedUsers','516872aslvTC','get','Sessions','getUserSessions','_registeredSessions','isMe','10GrOffr','forEach','getUser','getUserBySessionId'];_0x3941=function(){return _0xc4a2e1;};return _0x3941();}(function(_0x2c4a07,_0x1c1937){const _0x10bb76=_0x24d9,_0x1162bc=_0x2c4a07();while(!![]){try{const _0x53a76c=-parseInt(_0x10bb76(0x137))/0x1+parseInt(_0x10bb76(0x159))/0x2+-parseInt(_0x10bb76(0x14b))/0x3+-parseInt(_0x10bb76(0x14a))/0x4*(-parseInt(_0x10bb76(0x130))/0x5)+-parseInt(_0x10bb76(0x129))/0x6*(parseInt(_0x10bb76(0x150))/0x7)+parseInt(_0x10bb76(0x149))/0x8*(-parseInt(_0x10bb76(0x13a))/0x9)+-parseInt(_0x10bb76(0x120))/0xa*(-parseInt(_0x10bb76(0x154))/0xb);if(_0x53a76c===_0x1c1937)break;else _0x1162bc['push'](_0x1162bc['shift']());}catch(_0x269f9f){_0x1162bc['push'](_0x1162bc['shift']());}}}(_0x3941,0x3915e));import{ContextPlugin as _0x9fcea9}from'ckeditor5/src/core.js';function _0x24d9(_0x3ae30c,_0x54ccf0){const _0x394160=_0x3941();return _0x24d9=function(_0x24d9da,_0x3dd7b0){_0x24d9da=_0x24d9da-0x11c;let _0x130074=_0x394160[_0x24d9da];return _0x130074;},_0x24d9(_0x3ae30c,_0x54ccf0);}import{Collection as _0x407876,CKEditorError as _0x954f09}from'ckeditor5/src/utils.js';import _0x5d656c from'./websocketgateway.js';import{Users as _0x57ea3e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x9fcea9{static get[_0x22bf53(0x13b)](){const _0x1bd8d9=_0x22bf53;return _0x1bd8d9(0x11c);}static get[_0x22bf53(0x12a)](){return!0x0;}static get[_0x22bf53(0x153)](){return!0x0;}static get[_0x22bf53(0x12b)](){return[_0x5d656c,_0x57ea3e];}constructor(_0x487d11){const _0x96517c=_0x22bf53;super(_0x487d11),this[_0x96517c(0x124)]=new Map(),this[_0x96517c(0x158)]=new Map(),this[_0x96517c(0x148)]=new _0x407876(),this[_0x96517c(0x11e)]=new Map(),this[_0x96517c(0x140)]=0x0,this[_0x96517c(0x13f)]=this[_0x96517c(0x157)][_0x96517c(0x12f)][_0x96517c(0x15a)](_0x57ea3e);}[_0x22bf53(0x127)](){const _0xecdc9e=_0x22bf53,_0x143a86=this[_0xecdc9e(0x157)][_0xecdc9e(0x12f)][_0xecdc9e(0x15a)](_0x5d656c);this[_0xecdc9e(0x133)](_0x143a86,_0xecdc9e(0x132),(_0x29c371,_0x55fe60,_0x1f8a0f)=>{const _0x3ee7a2=_0xecdc9e;if(_0x3ee7a2(0x136)!==_0x1f8a0f)this[_0x3ee7a2(0x124)][_0x3ee7a2(0x121)](_0x19b2ca=>_0x19b2ca[_0x3ee7a2(0x14e)]()),this[_0x3ee7a2(0x158)][_0x3ee7a2(0x121)](_0x360fc2=>_0x360fc2[_0x3ee7a2(0x14e)]()),this[_0x3ee7a2(0x148)][_0x3ee7a2(0x14e)]();else{for(const [_0x1619f8,_0x3ca503]of this[_0x3ee7a2(0x11e)])for(const _0x56e072 of _0x3ca503)this[_0x3ee7a2(0x14f)](_0x1619f8,_0x56e072);}}),this[_0xecdc9e(0x151)](_0x143a86[_0xecdc9e(0x14d)]['me'],!0x0);}[_0x22bf53(0x145)](_0x259ae0,_0x2a5a69){const _0x41695d=_0x22bf53;if(this[_0x41695d(0x11e)][_0x41695d(0x141)](_0x259ae0))throw new _0x954f09(_0x41695d(0x13e),null,{'channelId':_0x259ae0});this[_0x41695d(0x11e)][_0x41695d(0x13d)](_0x259ae0,_0x2a5a69),this[_0x41695d(0x124)][_0x41695d(0x13d)](_0x259ae0,new _0x407876()),this[_0x41695d(0x158)][_0x41695d(0x13d)](_0x259ae0,new _0x407876()),this[_0x41695d(0x133)](_0x2a5a69,_0x41695d(0x144),(_0xefc650,_0x4b722d)=>this[_0x41695d(0x14f)](_0x259ae0,_0x4b722d)),this[_0x41695d(0x133)](_0x2a5a69,_0x41695d(0x134),(_0x10ac24,_0x35f1f3)=>this[_0x41695d(0x142)](_0x259ae0,_0x35f1f3));for(const _0x118b1c of _0x2a5a69)this[_0x41695d(0x14f)](_0x259ae0,_0x118b1c);}[_0x22bf53(0x12c)](_0x22c22b){const _0x30da52=_0x22bf53;if(!this[_0x30da52(0x11e)][_0x30da52(0x141)](_0x22c22b))throw new _0x954f09(_0x30da52(0x128),null,{'channelId':_0x22c22b});const _0x4c7e74=this[_0x30da52(0x11e)][_0x30da52(0x15a)](_0x22c22b);this[_0x30da52(0x131)](_0x4c7e74);for(const _0x478972 of _0x4c7e74)_0x30da52(0x136)===this[_0x30da52(0x157)][_0x30da52(0x12f)][_0x30da52(0x15a)](_0x5d656c)[_0x30da52(0x146)]&&this[_0x30da52(0x142)](_0x22c22b,_0x478972);this[_0x30da52(0x11e)][_0x30da52(0x12e)](_0x22c22b),this[_0x30da52(0x124)][_0x30da52(0x12e)](_0x22c22b),this[_0x30da52(0x158)][_0x30da52(0x12e)](_0x22c22b);}get[_0x22bf53(0x155)](){const _0x125532=_0x22bf53;return this[_0x125532(0x157)][_0x125532(0x12f)][_0x125532(0x15a)](_0x5d656c)[_0x125532(0x14d)][_0x125532(0x135)];}[_0x22bf53(0x123)](_0x3d8c0c){const _0x496e23=_0x22bf53;for(const _0x2688c3 of this[_0x496e23(0x124)][_0x496e23(0x156)]())for(const _0x2ed29e of _0x2688c3)if(_0x2ed29e['id']===_0x3d8c0c)return _0x2ed29e[_0x496e23(0x143)];}[_0x22bf53(0x11d)](_0x28e63e,_0x102382){const _0xa7b695=_0x22bf53,_0x4ae7e9=_0x102382?[this[_0xa7b695(0x124)][_0xa7b695(0x15a)](_0x102382)]:this[_0xa7b695(0x124)][_0xa7b695(0x156)](),_0x528298=new Set();for(const _0x3a7804 of _0x4ae7e9)for(const _0x5b667b of _0x3a7804)_0x5b667b[_0xa7b695(0x143)]['id']===_0x28e63e['id']&&_0x528298[_0xa7b695(0x144)](_0x5b667b['id']);return _0x528298;}[_0x22bf53(0x152)](_0x588eba){const _0x3ba772=_0x22bf53;for(const _0x526d9b of this[_0x3ba772(0x124)][_0x3ba772(0x156)]())for(const _0x3eb58b of _0x526d9b)if(_0x3eb58b[_0x3ba772(0x143)]===_0x588eba)return _0x3eb58b[_0x3ba772(0x138)];}[_0x22bf53(0x14f)](_0x565d0f,_0x599515){const _0x277f06=_0x22bf53;if(_0x277f06(0x136)!==this[_0x277f06(0x157)][_0x277f06(0x12f)][_0x277f06(0x15a)](_0x5d656c)[_0x277f06(0x146)])return;const _0x55de35=_0x599515[_0x277f06(0x143)],_0x1bb343=this[_0x277f06(0x13f)][_0x277f06(0x122)](_0x55de35['id'])||this[_0x277f06(0x151)](_0x55de35),_0x1d4176=Object[_0x277f06(0x147)]({},_0x599515,{'user':_0x1bb343});this[_0x277f06(0x124)][_0x277f06(0x15a)](_0x565d0f)[_0x277f06(0x144)](_0x1d4176);const _0x1336dd=this[_0x277f06(0x158)][_0x277f06(0x15a)](_0x565d0f);_0x1336dd[_0x277f06(0x141)](_0x1bb343['id'])||_0x1336dd[_0x277f06(0x144)](_0x1bb343),this[_0x277f06(0x148)][_0x277f06(0x141)](_0x1bb343['id'])||this[_0x277f06(0x148)][_0x277f06(0x144)](_0x1bb343,_0x1bb343[_0x277f06(0x11f)]?0x0:void 0x0),this[_0x277f06(0x14c)](_0x277f06(0x12d)+_0x565d0f,{'channelId':_0x565d0f,'session':_0x1d4176});}[_0x22bf53(0x142)](_0x6ef349,_0x547a10){const _0x86df4e=_0x22bf53;if(_0x86df4e(0x136)!==this[_0x86df4e(0x157)][_0x86df4e(0x12f)][_0x86df4e(0x15a)](_0x5d656c)[_0x86df4e(0x146)])return;const _0x5d35cd=this[_0x86df4e(0x158)][_0x86df4e(0x15a)](_0x6ef349),_0x5d3519=_0x547a10[_0x86df4e(0x143)];_0x5d3519['id']&&(this[_0x86df4e(0x124)][_0x86df4e(0x15a)](_0x6ef349)[_0x86df4e(0x134)](_0x547a10['id']),_0x5d35cd[_0x86df4e(0x141)](_0x5d3519['id'])&&!this[_0x86df4e(0x11d)](_0x5d3519,_0x6ef349)[_0x86df4e(0x139)]&&_0x5d35cd[_0x86df4e(0x134)](_0x5d3519['id']),this[_0x86df4e(0x148)][_0x86df4e(0x15a)](_0x5d3519['id'])&&!this[_0x86df4e(0x11d)](_0x5d3519)[_0x86df4e(0x139)]&&this[_0x86df4e(0x148)][_0x86df4e(0x134)](_0x5d3519['id']));}[_0x22bf53(0x151)](_0x27887a,_0x341e31){const _0x501b39=_0x22bf53,_0xadedb3=this[_0x501b39(0x13f)][_0x501b39(0x125)](_0x27887a);return _0x341e31&&this[_0x501b39(0x13f)][_0x501b39(0x126)](_0x27887a['id']),_0xadedb3[_0x501b39(0x13c)]=this[_0x501b39(0x140)]++,_0xadedb3;}}
@@ -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 _0x3f9b11=_0x2afb;(function(_0x4c6f0d,_0x273a3c){const _0x3d7b50=_0x2afb,_0x46eb52=_0x4c6f0d();while(!![]){try{const _0x5154b6=parseInt(_0x3d7b50(0x196))/0x1*(-parseInt(_0x3d7b50(0x159))/0x2)+parseInt(_0x3d7b50(0x16a))/0x3*(parseInt(_0x3d7b50(0x1a9))/0x4)+parseInt(_0x3d7b50(0x144))/0x5*(parseInt(_0x3d7b50(0x17e))/0x6)+-parseInt(_0x3d7b50(0x162))/0x7*(parseInt(_0x3d7b50(0x156))/0x8)+parseInt(_0x3d7b50(0x185))/0x9+parseInt(_0x3d7b50(0x1a7))/0xa+parseInt(_0x3d7b50(0x14e))/0xb*(-parseInt(_0x3d7b50(0x188))/0xc);if(_0x5154b6===_0x273a3c)break;else _0x46eb52['push'](_0x46eb52['shift']());}catch(_0x2b94e4){_0x46eb52['push'](_0x46eb52['shift']());}}}(_0x4c74,0x8ac50));import{Plugin as _0x7e665f}from'ckeditor5/src/core.js';import{global as _0x3a402b,DomEmitterMixin as _0x3a64ae}from'ckeditor5/src/utils.js';import _0x1d3ca9 from'./sessions.js';function _0x2afb(_0x257c19,_0x599782){const _0x4c74db=_0x4c74();return _0x2afb=function(_0x2afb5b,_0x3f87a3){_0x2afb5b=_0x2afb5b-0x128;let _0xc8f5ea=_0x4c74db[_0x2afb5b];return _0xc8f5ea;},_0x2afb(_0x257c19,_0x599782);}import{LiveRange as _0x29e0d8}from'ckeditor5/src/engine.js';function _0x4c74(){const _0xc38a60=['root','getMarkerClass','remove','markerRange','userPositionMarker','ck-user__marker_hovered','schema','getPositions','UserMarkers','parent','isObject','rootName','isSimilar','726195SatDPK','markerNameToElements','update:user:range','addEventListener','get','createUserMarkerOperations','name','hasContent','selection','removeMarker','33NzQPEW','getAttribute','getSelectionClass','document','reconvertMarker','undo','toRange','isOfficialPlugin','1001608hZXJeC','applyOperation','afterInit','46csokOn','stopListening','toDomElement','user:position','render','delete','mySessionId','markerToHighlight','createRange','35ufqxyw','classList','addMarker','setCustomProperty','getStart','orderNumber','size','$text','3ilrHfU','clear','init','span','getContainedElement','markers','</span>⁠','split','oldRange','type','pluginName','_createdBatches','getUserBySessionId','mouseleave','getRange','start','updateMarker','highest','mapper','markerName','42qIhwcW','deletionPosition','newRange','user:range:','_domEmitter','nodeAfter','startsWith','200808bvpUMU','color','contenteditable','1662636geeJdi','for','view','isLimit','data-session-id','user:position:','getCustomProperty','isCollapsed','keydown','Escape','$graveyard','change:range','ck-user__selection','innerHTML','37286tGHOpb','enqueueChange','listenTo','editor','fromRange','checkChild','destroy','requires','batch','marker','ck-user__marker\x20','user:range','add','removeClass','getNearestSelectionRange','plugins','getFirstRange','5815840gQJqXI','conversion','3388292eSOdKN','user:','element','commands','editingDowncast','detach','hasDomSelection','isInline','change','⁠<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>','set','tableCell','createUIElement','editing','end','mouseenter','model','markerToElement','has','isPremiumPlugin'];_0x4c74=function(){return _0xc38a60;};return _0x4c74();}import'../../theme/usermarkers.css';export default class H extends _0x7e665f{constructor(){const _0x451175=_0x2afb;super(...arguments),this[_0x451175(0x182)]=new(_0x3a64ae())();}static get[_0x3f9b11(0x19d)](){return[_0x1d3ca9];}static get[_0x3f9b11(0x174)](){const _0x43d1fd=_0x3f9b11;return _0x43d1fd(0x13f);}static get[_0x3f9b11(0x155)](){return!0x0;}static get[_0x3f9b11(0x136)](){return!0x0;}[_0x3f9b11(0x16c)](){const _0x33f53f=_0x3f9b11,_0x1bfa3f=this[_0x33f53f(0x199)],_0xa8ec34=_0x1bfa3f[_0x33f53f(0x1a5)][_0x33f53f(0x148)](_0x1d3ca9);_0x1bfa3f[_0x33f53f(0x1a8)][_0x33f53f(0x189)](_0x33f53f(0x1ad))[_0x33f53f(0x134)]({'model':_0x33f53f(0x15c),'view':(_0x141305,{writer:_0x30d46b})=>function(_0x1a1dd4,_0x5a7ed9,_0x37c38c,_0x30f576){const _0xd4bdb=_0x33f53f,_0x93f059=_0x1a1dd4[_0xd4bdb(0x17d)][_0xd4bdb(0x171)](':')[0x2],_0x4dff08=_0x37c38c[_0xd4bdb(0x176)](_0x93f059);if(!_0x4dff08||_0x93f059===_0x37c38c[_0xd4bdb(0x15f)])return;if(!_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x13d)][_0xd4bdb(0x19b)](_0x1a1dd4[_0xd4bdb(0x13a)][_0xd4bdb(0x179)],_0xd4bdb(0x169)))return;const _0x33ed65={'class':_0xd4bdb(0x1a0)+_0x4dff08[_0xd4bdb(0x186)][_0xd4bdb(0x138)](),'data-name':_0x4dff08[_0xd4bdb(0x14a)],'data-session-id':_0x93f059},_0x3dfcf8=_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x16f)][_0xd4bdb(0x148)](_0x1a1dd4[_0xd4bdb(0x17d)]),_0x2a14fb=_0x3dfcf8[_0xd4bdb(0x166)](),_0x4e22b7=_0x2a14fb[_0xd4bdb(0x183)],_0x13bc31=_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x13d)];if(_0x4e22b7&&_0x13bc31[_0xd4bdb(0x141)](_0x4e22b7)&&_0x13bc31[_0xd4bdb(0x12a)](_0x4e22b7)&&!_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x16f)][_0xd4bdb(0x148)](_0xd4bdb(0x181)+_0x93f059)[_0xd4bdb(0x178)]()[_0xd4bdb(0x18f)])return;const _0x2cfe2e=_0x2a14fb[_0xd4bdb(0x140)];return _0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x13d)][_0xd4bdb(0x18b)](_0x2cfe2e)&&!_0x30f576[_0xd4bdb(0x133)][_0xd4bdb(0x14b)](_0x2cfe2e)&&(_0x33ed65[_0xd4bdb(0x187)]=!0x1),function(_0x220168,_0x17b842,_0x4a2c5d){const _0x3c0735=_0xd4bdb,_0x1b6ff7=_0x220168[_0x3c0735(0x12f)](_0x3c0735(0x16d),_0x17b842);return _0x220168[_0x3c0735(0x165)](_0x3c0735(0x13b),!0x0,_0x1b6ff7),_0x1b6ff7[_0x3c0735(0x15d)]=function(_0x5cff17){const _0xc44121=_0x3c0735,_0x183d84=this[_0xc44121(0x15b)](_0x5cff17);return _0x183d84[_0xc44121(0x195)]=_0xc44121(0x12c)+_0x4a2c5d[_0xc44121(0x14a)]+_0xc44121(0x170),_0x183d84[_0xc44121(0x147)](_0xc44121(0x132),()=>{const _0x3467cf=_0xc44121;_0x183d84[_0x3467cf(0x163)][_0x3467cf(0x1a2)](_0x3467cf(0x13c));}),_0x183d84[_0xc44121(0x147)](_0xc44121(0x177),()=>{const _0xb6bfce=_0xc44121;_0x183d84[_0xb6bfce(0x163)][_0xb6bfce(0x139)](_0xb6bfce(0x13c));}),_0x183d84;},_0x1b6ff7[_0x3c0735(0x143)]=function(_0x5d3725){const _0x14a282=_0x3c0735;return!(!this[_0x14a282(0x18e)](_0x14a282(0x13b))||!_0x5d3725[_0x14a282(0x18e)](_0x14a282(0x13b))||this[_0x14a282(0x14f)](_0x14a282(0x18c))!=_0x5d3725[_0x14a282(0x14f)](_0x14a282(0x18c)));},_0x1b6ff7;}(_0x5a7ed9,_0x33ed65,_0x4dff08);}(_0x141305,_0x30d46b,_0xa8ec34,_0x1bfa3f)}),_0x1bfa3f[_0x33f53f(0x1a8)][_0x33f53f(0x189)](_0x33f53f(0x1ad))[_0x33f53f(0x160)]({'model':_0x33f53f(0x1a1),'view':_0x7615fc=>function(_0x5caf1d,_0xe70779){const _0xfdebad=_0x33f53f,_0x40edae=_0x5caf1d[_0xfdebad(0x17d)][_0xfdebad(0x171)](':')[0x2];if(_0x40edae===_0xe70779[_0xfdebad(0x15f)])return null;const _0x7f7b80=_0xe70779[_0xfdebad(0x176)](_0x40edae);if(!_0x7f7b80)return{'id':_0x40edae,'classes':[]};return{'id':_0x40edae,'classes':[_0xfdebad(0x194),_0x7f7b80[_0xfdebad(0x186)][_0xfdebad(0x150)]()],'attributes':{'data-session-id':_0x40edae},'priority':0x7d0+_0x7f7b80[_0xfdebad(0x167)]};}(_0x7615fc,_0xa8ec34)}),function(_0x10c34b){const _0x425a5b=_0x33f53f,_0x1f3007=_0x10c34b[_0x425a5b(0x133)],_0x580e6b=new Map(),_0x294c95=_0x10c34b[_0x425a5b(0x1a5)][_0x425a5b(0x148)](_0x1d3ca9);_0x1f3007[_0x425a5b(0x16f)]['on'](_0x425a5b(0x146),(_0x12a44f,_0x5d7712,_0x45156a,_0x188a9e)=>{const _0x85c097=_0x425a5b;if(!_0x188a9e&&_0x580e6b[_0x85c097(0x148)](_0x5d7712[_0x85c097(0x14a)]))return _0x580e6b[_0x85c097(0x148)](_0x5d7712[_0x85c097(0x14a)])[_0x85c097(0x128)](),void _0x580e6b[_0x85c097(0x15e)](_0x5d7712[_0x85c097(0x14a)]);const _0x2f4b61=_0x5d7712[_0x85c097(0x14a)][_0x85c097(0x171)](':')[0x2];if(_0x2f4b61===_0x294c95[_0x85c097(0x15f)])return;const _0x2f9cd8=_0x85c097(0x18d)+_0x2f4b61;_0x1f3007[_0x85c097(0x16f)][_0x85c097(0x135)](_0x2f9cd8)&&_0x10c34b[_0x85c097(0x130)][_0x85c097(0x152)](_0x2f9cd8),_0x5d7712['on'](_0x85c097(0x193),(_0x997c9d,_0x515bb4,_0x17af79)=>{const _0x275ba1=_0x85c097;if(_0x275ba1(0x192)!=_0x515bb4[_0x275ba1(0x137)][_0x275ba1(0x142)]&&_0x275ba1(0x192)==_0x5d7712[_0x275ba1(0x178)]()[_0x275ba1(0x137)][_0x275ba1(0x142)]&&!_0x580e6b[_0x275ba1(0x135)](_0x5d7712[_0x275ba1(0x14a)])){const _0x54269f=_0x1f3007[_0x275ba1(0x13d)][_0x275ba1(0x1a4)](_0x17af79[_0x275ba1(0x17f)]);if(_0x54269f){const _0x12072d=_0x29e0d8[_0x275ba1(0x19a)](_0x54269f);_0x580e6b[_0x275ba1(0x12d)](_0x5d7712[_0x275ba1(0x14a)],_0x12072d),_0x12072d['on'](_0x275ba1(0x193),(_0x8379ae,_0x3b2d1c,_0x5a8248)=>{const _0x1455d5=_0x275ba1;if(_0x1455d5(0x192)==_0x12072d[_0x1455d5(0x137)][_0x1455d5(0x142)]){const _0x2b1ca5=_0x1f3007[_0x1455d5(0x13d)][_0x1455d5(0x1a4)](_0x5a8248[_0x1455d5(0x17f)]);_0x2b1ca5?(_0x12072d[_0x1455d5(0x179)]=_0x2b1ca5[_0x1455d5(0x179)],_0x12072d[_0x1455d5(0x131)]=_0x2b1ca5[_0x1455d5(0x131)]):(_0x580e6b[_0x1455d5(0x15e)](_0x5d7712[_0x1455d5(0x14a)]),_0x12072d[_0x1455d5(0x128)]());}});}}});}),_0x1f3007[_0x425a5b(0x151)]['on'](_0x425a5b(0x12b),()=>{const _0x18e4c8=_0x425a5b;_0x580e6b[_0x18e4c8(0x168)]>0x0&&_0x1f3007[_0x18e4c8(0x197)]({'isUndoable':!0x1},_0x2c52b1=>{const _0x37ee7c=_0x18e4c8;for(const [_0x325f2f,_0x503818]of _0x580e6b)_0x37ee7c(0x192)==_0x1f3007[_0x37ee7c(0x16f)][_0x37ee7c(0x148)](_0x325f2f)[_0x37ee7c(0x178)]()[_0x37ee7c(0x137)][_0x37ee7c(0x142)]&&(re(_0x325f2f[_0x37ee7c(0x171)](':')[0x2],_0x503818[_0x37ee7c(0x154)](),_0x1f3007,_0x2c52b1),_0x503818[_0x37ee7c(0x128)]());_0x580e6b[_0x37ee7c(0x16b)]();});});}(_0x1bfa3f),this[_0x33f53f(0x182)][_0x33f53f(0x198)](_0x3a402b[_0x33f53f(0x151)],_0x33f53f(0x190),(_0x33b8ae,{key:_0x242e15})=>{const _0x269096=_0x33f53f;_0x269096(0x191)===_0x242e15&&function(_0x1063cc){const _0x40080f=_0x269096;_0x1063cc[_0x40080f(0x130)][_0x40080f(0x18a)][_0x40080f(0x12b)](_0x5cccea=>{const _0x85c7d0=_0x40080f;for(const _0x499101 of _0x1063cc[_0x85c7d0(0x133)][_0x85c7d0(0x16f)]){if(!_0x499101[_0x85c7d0(0x14a)][_0x85c7d0(0x184)](_0x85c7d0(0x15c)))continue;const _0x1a990b=_0x1063cc[_0x85c7d0(0x130)][_0x85c7d0(0x17c)][_0x85c7d0(0x145)](_0x499101[_0x85c7d0(0x14a)]);if(_0x1a990b){for(const _0x553395 of _0x1a990b)_0x5cccea[_0x85c7d0(0x1a3)](_0x85c7d0(0x13c),_0x553395);}}});}(_0x1bfa3f);},{'useCapture':!0x0});}[_0x3f9b11(0x158)](){const _0x22a244=_0x3f9b11,_0x50a186=this[_0x22a244(0x199)],_0x3aa60f=_0x50a186[_0x22a244(0x1ac)][_0x22a244(0x148)](_0x22a244(0x153));_0x3aa60f&&_0x50a186[_0x22a244(0x133)]['on'](_0x22a244(0x157),(_0x204af0,_0x2737e1)=>{const _0xc6fb7f=_0x22a244,_0x43ac92=_0x2737e1[0x0];if(_0xc6fb7f(0x19f)!=_0x43ac92[_0xc6fb7f(0x173)]||!_0x43ac92[_0xc6fb7f(0x14a)][_0xc6fb7f(0x184)](_0xc6fb7f(0x1aa)))return;const _0x4b9859=_0x43ac92[_0xc6fb7f(0x19e)];_0x3aa60f[_0xc6fb7f(0x175)][_0xc6fb7f(0x135)](_0x4b9859)&&(_0x43ac92[_0xc6fb7f(0x180)]=_0x43ac92[_0xc6fb7f(0x172)]?_0x50a186[_0xc6fb7f(0x133)][_0xc6fb7f(0x161)](_0x43ac92[_0xc6fb7f(0x172)][_0xc6fb7f(0x179)],_0x43ac92[_0xc6fb7f(0x172)][_0xc6fb7f(0x131)]):null);},{'priority':_0x22a244(0x17b)});}[_0x3f9b11(0x19c)](){const _0x53f641=_0x3f9b11;return this[_0x53f641(0x182)][_0x53f641(0x15a)](),super[_0x53f641(0x19c)]();}[_0x3f9b11(0x149)](){const _0x25234b=_0x3f9b11,_0x443368=this[_0x25234b(0x199)],_0x416aa7=_0x443368[_0x25234b(0x133)][_0x25234b(0x151)],_0x1c3b65=_0x443368[_0x25234b(0x1a5)][_0x25234b(0x148)](_0x1d3ca9);_0x443368[_0x25234b(0x133)][_0x25234b(0x197)]({'isUndoable':!0x1},_0x3f5585=>{const _0x1f112f=_0x25234b,_0x31a6ae=_0x1f112f(0x181)+_0x1c3b65[_0x1f112f(0x15f)],_0x3203ad=_0x1f112f(0x18d)+_0x1c3b65[_0x1f112f(0x15f)],_0x57697e=_0x443368[_0x1f112f(0x133)][_0x1f112f(0x16f)][_0x1f112f(0x135)](_0x31a6ae);_0x443368[_0x1f112f(0x130)][_0x1f112f(0x18a)][_0x1f112f(0x129)]?re(_0x1c3b65[_0x1f112f(0x15f)],_0x416aa7[_0x1f112f(0x14c)][_0x1f112f(0x1a6)](),_0x443368[_0x1f112f(0x133)],_0x3f5585):_0x57697e&&(_0x3f5585[_0x1f112f(0x14d)](_0x31a6ae),_0x3f5585[_0x1f112f(0x14d)](_0x3203ad));});}}function re(_0x1f4b9b,_0x2f9b14,_0x5bd1fc,_0xa216c0){const _0x24d0c9=_0x3f9b11,_0x1d1084=_0x24d0c9(0x181)+_0x1f4b9b,_0x174dac=_0x24d0c9(0x18d)+_0x1f4b9b,_0x6c7eb6=_0x2f9b14[_0x24d0c9(0x16e)]();let _0x5af73b=_0x2f9b14[_0x24d0c9(0x179)];_0x6c7eb6&&_0x6c7eb6['is'](_0x24d0c9(0x1ab),_0x24d0c9(0x12e))&&(_0x5af73b=function(_0x2c607f,_0x375752){const _0x435aa5=_0x24d0c9;for(const _0x3a874a of _0x2c607f[_0x435aa5(0x13e)]())if(_0x375752[_0x435aa5(0x13d)][_0x435aa5(0x19b)](_0x3a874a,_0x435aa5(0x169)))return _0x3a874a;}(_0x2f9b14,_0x5bd1fc),_0x2f9b14=_0xa216c0[_0x24d0c9(0x161)](_0x5af73b));const _0x5ab258=_0xa216c0[_0x24d0c9(0x161)](_0x5af73b);_0x5bd1fc[_0x24d0c9(0x16f)][_0x24d0c9(0x135)](_0x1d1084)?(_0xa216c0[_0x24d0c9(0x17a)](_0x1d1084,{'range':_0x2f9b14}),_0xa216c0[_0x24d0c9(0x17a)](_0x174dac,{'range':_0x5ab258})):(_0xa216c0[_0x24d0c9(0x164)](_0x1d1084,{'range':_0x2f9b14,'usingOperation':!0x0}),_0xa216c0[_0x24d0c9(0x164)](_0x174dac,{'range':_0x5ab258,'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 _0x395889=_0x3868;function _0x1c92(){const _0x4e5b24=['_shouldPluginsReconnect','1356421cXpvcL','context','webSocketUrl','catch','add','DISCONNECTED','isInReconnectionStack','16RNJQNp','CONNECTED','showWarning','WebSocketGateway','plugins','constructor','set','154wqITsH','Connected\x20users\x20limit\x20exceeded','CONNECTING','_domEmitter','165295GbUUiq','reconnect','destroy','delete','error','init','2449935jwebGX','websocketgateway-missing-websocket-url','isOfficialPlugin','requires','bind','76278SAyuZe','1vKThpw','connection','create','24NETQBA','config','_isBrowserOffline','cloudservices-init','get','pluginName','limitExceeded','cloudServices.requestTimeout','websocketgateway-invalid-plugin-interface','token','define','_reconnect','all','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.','addToReconnectionStack','initialReconnectionInterval','function','cloudServices.connectionTimeout','disconnect','websocketgateway-missing-token','575422nLekYT','_reconnectionStack','online','listenTo','then','connected','state','change:me','removeFromReconnectionStack','websocketgateway-plugin-already-registered','CloudServices','has','3391410lzRBJr','2716281RSDPRu','28jLEzaG','stopListening','real-time-collaboration','offline','code','from','isPremiumPlugin','connect','cloudservices-reconnection-error'];_0x1c92=function(){return _0x4e5b24;};return _0x1c92();}function _0x3868(_0x45aa9f,_0x47cdac){const _0x1c922c=_0x1c92();return _0x3868=function(_0x3868ec,_0x48c6aa){_0x3868ec=_0x3868ec-0x13e;let _0x2dfe23=_0x1c922c[_0x3868ec];return _0x2dfe23;},_0x3868(_0x45aa9f,_0x47cdac);}(function(_0x3aab78,_0x2f360d){const _0x11075f=_0x3868,_0x578e3c=_0x3aab78();while(!![]){try{const _0xa43246=-parseInt(_0x11075f(0x171))/0x1*(parseInt(_0x11075f(0x188))/0x2)+parseInt(_0x11075f(0x16b))/0x3+-parseInt(_0x11075f(0x149))/0x4*(parseInt(_0x11075f(0x165))/0x5)+-parseInt(_0x11075f(0x170))/0x6*(-parseInt(_0x11075f(0x161))/0x7)+-parseInt(_0x11075f(0x15a))/0x8*(-parseInt(_0x11075f(0x148))/0x9)+-parseInt(_0x11075f(0x147))/0xa+parseInt(_0x11075f(0x153))/0xb*(-parseInt(_0x11075f(0x174))/0xc);if(_0xa43246===_0x2f360d)break;else _0x578e3c['push'](_0x578e3c['shift']());}catch(_0x316626){_0x578e3c['push'](_0x578e3c['shift']());}}}(_0x1c92,0x91476));import{ContextPlugin as _0x7dc437}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2c4f10,CKEditorError as _0xbe4abd}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xf00afa,WEB_SOCKET_GATEWAY_STATES as _0x3fa29e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x6b412c}from'ckeditor5/src/ui.js';class c extends _0x7dc437{static get[_0x395889(0x16e)](){const _0x2ee848=_0x395889;return[_0x2ee848(0x145),_0x6b412c];}static get[_0x395889(0x179)](){const _0x1300f4=_0x395889;return _0x1300f4(0x15d);}static get[_0x395889(0x16d)](){return!0x0;}static get[_0x395889(0x14f)](){return!0x0;}constructor(_0x24323f){const _0x4cda66=_0x395889;super(_0x24323f),this[_0x4cda66(0x160)](_0x4cda66(0x141),_0x3fa29e[_0x4cda66(0x15b)]),this[_0x4cda66(0x160)](_0x4cda66(0x176),!0x1),this[_0x4cda66(0x189)]=new Set(),this[_0x4cda66(0x152)]=!0x1,this[_0x4cda66(0x164)]=Object[_0x4cda66(0x173)](_0x2c4f10);}[_0x395889(0x16a)](){const _0x21493f=_0x395889,_0x3931cb=this[_0x21493f(0x154)],_0x15ddab=_0x3931cb[_0x21493f(0x15e)][_0x21493f(0x178)](_0x21493f(0x145)),_0x54a719=_0x3931cb[_0x21493f(0x15e)][_0x21493f(0x178)](_0x6b412c);if(!_0x15ddab[_0x21493f(0x17d)])throw new _0xbe4abd(_0x21493f(0x187),this);if(!_0x15ddab[_0x21493f(0x155)])throw new _0xbe4abd(_0x21493f(0x16c),this);return this[_0x21493f(0x164)][_0x21493f(0x13e)](window,_0x21493f(0x14c),()=>this[_0x21493f(0x176)]=!0x0),this[_0x21493f(0x164)][_0x21493f(0x13e)](window,_0x21493f(0x18a),()=>this[_0x21493f(0x176)]=!0x1),this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x17e)](_0x21493f(0x185),0xa),this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x17e)](_0x21493f(0x17b),0x14),c[_0x21493f(0x15d)][_0x21493f(0x150)](_0x15ddab[_0x21493f(0x17d)],_0x15ddab[_0x21493f(0x155)],{'timeout':0x3e8*this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x178)](_0x21493f(0x185)),'requestTimeout':0x3e8*this[_0x21493f(0x154)][_0x21493f(0x175)][_0x21493f(0x178)](_0x21493f(0x17b))})[_0x21493f(0x13f)](_0x541bc6=>{const _0x25e2be=_0x21493f;if(this[_0x25e2be(0x172)]=_0x541bc6,this[_0x25e2be(0x16f)](_0x25e2be(0x141))['to'](_0x541bc6,_0x25e2be(0x141),this,_0x25e2be(0x176),(_0x4abf3c,_0x4d6dfe)=>(_0x25e2be(0x140)!==_0x4abf3c&&(this[_0x25e2be(0x152)]=!0x0),_0x4d6dfe||_0x4abf3c!==_0x3fa29e[_0x25e2be(0x15b)]?_0x3fa29e[_0x25e2be(0x158)]:this[_0x25e2be(0x141)]==_0x3fa29e[_0x25e2be(0x158)]&&this[_0x25e2be(0x152)]?(this[_0x25e2be(0x152)]=!0x1,this[_0x25e2be(0x17f)](),_0x3fa29e[_0x25e2be(0x163)]):_0x3fa29e[_0x25e2be(0x15b)])),this[_0x25e2be(0x172)]['on'](_0x25e2be(0x169),(_0x3758ed,_0x2cdeaf)=>{const _0x556169=_0x25e2be;if(_0x556169(0x17a)!==_0x2cdeaf[_0x556169(0x14d)])throw console[_0x556169(0x169)](_0x2cdeaf),new _0xbe4abd(_0x556169(0x177),null,{'originalError':_0x2cdeaf});_0x54a719[_0x556169(0x15c)](_0x556169(0x181),{'title':_0x556169(0x162),'namespace':_0x556169(0x14b)});}),!_0x541bc6['me'])return new Promise(_0x251f40=>_0x541bc6['on'](_0x25e2be(0x142),_0x251f40));})[_0x21493f(0x156)](_0x31c56e=>{const _0x3ab694=_0x21493f;throw console[_0x3ab694(0x169)](_0x31c56e),new _0xbe4abd(_0x3ab694(0x177),null,{'originalError':_0x31c56e});});}[_0x395889(0x182)](_0x4080c9){const _0x194e83=_0x395889;if(_0x194e83(0x184)!=typeof _0x4080c9[_0x194e83(0x166)])throw new _0xbe4abd(_0x194e83(0x17c),this);if(this[_0x194e83(0x159)](_0x4080c9))throw new _0xbe4abd(_0x194e83(0x144),this,{'name':_0x4080c9[_0x194e83(0x15f)][_0x194e83(0x179)]});this[_0x194e83(0x189)][_0x194e83(0x157)](_0x4080c9);}[_0x395889(0x143)](_0x43e126){const _0x1349c8=_0x395889;this[_0x1349c8(0x189)][_0x1349c8(0x168)](_0x43e126);}[_0x395889(0x159)](_0x49730b){const _0x9a810f=_0x395889;return this[_0x9a810f(0x189)][_0x9a810f(0x146)](_0x49730b);}[_0x395889(0x17f)](){const _0x2bd980=_0x395889;return this[_0x2bd980(0x172)][_0x2bd980(0x166)]()[_0x2bd980(0x13f)](()=>Promise[_0x2bd980(0x180)](Array[_0x2bd980(0x14e)](this[_0x2bd980(0x189)],_0xbd8d4=>_0xbd8d4[_0x2bd980(0x166)]())))[_0x2bd980(0x13f)](()=>this[_0x2bd980(0x141)]=_0x3fa29e[_0x2bd980(0x15b)])[_0x2bd980(0x156)](_0x394a29=>{const _0x9b82d9=_0x2bd980;throw console[_0x9b82d9(0x169)](_0x394a29),new _0xbe4abd(_0x9b82d9(0x151),this[_0x9b82d9(0x154)]);});}[_0x395889(0x167)](){const _0x446a69=_0x395889;this[_0x446a69(0x172)]&&this[_0x446a69(0x172)][_0x446a69(0x186)](),this[_0x446a69(0x141)]=_0x3fa29e[_0x446a69(0x158)],this[_0x446a69(0x164)][_0x446a69(0x14a)](),super[_0x446a69(0x167)]();}}c[_0x395889(0x15d)]=_0xf00afa,c[_0x395889(0x183)]=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
+ var _0x4b0590=_0x1918;(function(_0x3e5aa2,_0x20579e){var _0x296d88=_0x1918,_0x42da3f=_0x3e5aa2();while(!![]){try{var _0x310ced=-parseInt(_0x296d88(0x186))/0x1*(parseInt(_0x296d88(0x185))/0x2)+parseInt(_0x296d88(0x17b))/0x3+-parseInt(_0x296d88(0x181))/0x4+parseInt(_0x296d88(0x17d))/0x5*(parseInt(_0x296d88(0x188))/0x6)+-parseInt(_0x296d88(0x17c))/0x7*(parseInt(_0x296d88(0x17a))/0x8)+parseInt(_0x296d88(0x183))/0x9+parseInt(_0x296d88(0x187))/0xa;if(_0x310ced===_0x20579e)break;else _0x42da3f['push'](_0x42da3f['shift']());}catch(_0x561d51){_0x42da3f['push'](_0x42da3f['shift']());}}}(_0x2cde,0x21116));function _0x1918(_0x127239,_0x22618f){var _0x2cde27=_0x2cde();return _0x1918=function(_0x191853,_0x2ed3b6){_0x191853=_0x191853-0x17a;var _0x2e2c5b=_0x2cde27[_0x191853];return _0x2e2c5b;},_0x1918(_0x127239,_0x22618f);}import{Plugin as _0x1e3711}from'ckeditor5/src/core.js';import _0x1f3fa4 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x1e3711{static get[_0x4b0590(0x180)](){return[_0x1f3fa4];}static get[_0x4b0590(0x182)](){var _0x276cf6=_0x4b0590;return _0x276cf6(0x17e);}static get[_0x4b0590(0x184)](){return!0x0;}static get[_0x4b0590(0x17f)](){return!0x0;}}function _0x2cde(){var _0x56b8ce=['pluginName','1228077Jvdrqv','isOfficialPlugin','404188ReeSZY','1uRNIVm','216720QJPzuN','1287462vLFqpq','1859632qmAWMc','702768KLdvut','7GjrNyS','5orCabL','RealTimeCollaborativeEditing','isPremiumPlugin','requires','147856rqhGUR'];_0x2cde=function(){return _0x56b8ce;};return _0x2cde();}