@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.2 → 47.2.0-alpha.4

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 (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28361a=_0x1431;(function(_0x19efe8,_0x5bed8a){const _0x227b40=_0x1431,_0x18c7b0=_0x19efe8();while(!![]){try{const _0xeb5a7c=parseInt(_0x227b40(0x198))/0x1+parseInt(_0x227b40(0x19a))/0x2*(-parseInt(_0x227b40(0x197))/0x3)+-parseInt(_0x227b40(0x189))/0x4*(parseInt(_0x227b40(0x193))/0x5)+parseInt(_0x227b40(0x191))/0x6+-parseInt(_0x227b40(0x199))/0x7+parseInt(_0x227b40(0x196))/0x8+parseInt(_0x227b40(0x19b))/0x9;if(_0xeb5a7c===_0x5bed8a)break;else _0x18c7b0['push'](_0x18c7b0['shift']());}catch(_0x56da22){_0x18c7b0['push'](_0x18c7b0['shift']());}}}(_0x285e,0x26221));import{View as _0x592bac}from'ckeditor5/src/ui.js';function _0x285e(){const _0x563fa2=['1441800PyRAAI','div','items','render','querySelector','change:hasPopup','list','setTemplate','set','createCollection','contains','listenTo','ck-presence-list__list','hasPopup','relatedTarget','keystrokes','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setAttribute','isExpanded','Connected\x20users\x20list','402728bSXZqx','aria-expanded','focus','.ck-balloon-panel_with-arrow','element','presencelist:hide','bindTemplate','fire','1632240IcdHVz','.ck-presence-list__dropdown-list','5MdzkIq','presencelist:show','removeAttribute','1285440YTlpTt','966uuHBWQ','110501RPDPWo','1381226gFWdqm','1548MkinmG'];_0x285e=function(){return _0x563fa2;};return _0x285e();}import{KeystrokeHandler as _0x38dad3}from'ckeditor5/src/utils.js';import{getTranslation as _0x12c244}from'../../common-translations.js';function _0x1431(_0x589bb6,_0x3425dc){const _0x285ed3=_0x285e();return _0x1431=function(_0x14313f,_0x591297){_0x14313f=_0x14313f-0x182;let _0x4f26dc=_0x285ed3[_0x14313f];return _0x4f26dc;},_0x1431(_0x589bb6,_0x3425dc);}export class PresenceInlineListView extends _0x592bac{[_0x28361a(0x19d)];[_0x28361a(0x184)];constructor(_0x4cc81d){const _0x47279e=_0x28361a;super(_0x4cc81d);const _0x326e30=this[_0x47279e(0x18f)];this[_0x47279e(0x19d)]=this[_0x47279e(0x1a4)](),this[_0x47279e(0x184)]=new _0x38dad3(),this[_0x47279e(0x1a3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47279e(0x1a2)]({'tag':_0x47279e(0x19c),'attributes':{'aria-haspopup':_0x326e30['if'](_0x47279e(0x182)),'aria-expanded':_0x326e30['to'](_0x47279e(0x187),_0x16c773=>this[_0x47279e(0x182)]&&String(_0x16c773)),'aria-label':_0x326e30['to'](_0x47279e(0x182),_0x377c0f=>_0x12c244(_0x4cc81d,_0x377c0f?_0x47279e(0x185):_0x47279e(0x188))),'role':_0x47279e(0x1a1),'tabindex':_0x326e30['to'](_0x47279e(0x182),_0x1eedb=>!!_0x1eedb&&0x0),'class':['ck',_0x47279e(0x1a7)]},'children':this[_0x47279e(0x19d)],'on':{'mouseenter':_0x326e30['to'](()=>this[_0x47279e(0x190)](_0x47279e(0x194))),'mouseleave':_0x326e30['to'](_0x4ca7df=>{const _0x381dac=_0x47279e,_0x31192a=_0x4ca7df,_0x51f819=document[_0x381dac(0x19f)](_0x381dac(0x192)),_0x1a47a1=document[_0x381dac(0x19f)](_0x381dac(0x18c));_0x51f819?.[_0x381dac(0x1a5)](_0x31192a[_0x381dac(0x183)])||_0x1a47a1?.[_0x381dac(0x1a5)](_0x31192a[_0x381dac(0x183)])||this[_0x381dac(0x190)](_0x381dac(0x18e));})}}),this['on'](_0x47279e(0x1a0),(_0x5e75e0,_0x514300,_0x5c8662)=>{const _0x557c02=_0x47279e;this[_0x557c02(0x18d)]&&(_0x5c8662?this[_0x557c02(0x18d)][_0x557c02(0x186)](_0x557c02(0x18a),String(this[_0x557c02(0x187)])):this[_0x557c02(0x18d)][_0x557c02(0x195)](_0x557c02(0x18a)));});}[_0x28361a(0x18b)](){const _0x5ecfff=_0x28361a;this[_0x5ecfff(0x18d)][_0x5ecfff(0x18b)]();}[_0x28361a(0x19e)](){const _0x28e224=_0x28361a;super[_0x28e224(0x19e)](),this[_0x28e224(0x184)][_0x28e224(0x1a6)](this[_0x28e224(0x18d)]);}}
23
+ const _0x548f22=_0x53c4;(function(_0x1fc120,_0x5b0f79){const _0x30ade1=_0x53c4,_0x3aa1b0=_0x1fc120();while(!![]){try{const _0x404d9f=parseInt(_0x30ade1(0x212))/0x1*(parseInt(_0x30ade1(0x1f6))/0x2)+parseInt(_0x30ade1(0x20e))/0x3+parseInt(_0x30ade1(0x218))/0x4*(parseInt(_0x30ade1(0x211))/0x5)+parseInt(_0x30ade1(0x205))/0x6+parseInt(_0x30ade1(0x210))/0x7*(-parseInt(_0x30ade1(0x1ff))/0x8)+parseInt(_0x30ade1(0x1f2))/0x9*(-parseInt(_0x30ade1(0x1f7))/0xa)+parseInt(_0x30ade1(0x1fd))/0xb*(-parseInt(_0x30ade1(0x207))/0xc);if(_0x404d9f===_0x5b0f79)break;else _0x3aa1b0['push'](_0x3aa1b0['shift']());}catch(_0x348632){_0x3aa1b0['push'](_0x3aa1b0['shift']());}}}(_0x30a3,0xe017a));import{View as _0x4da6d2}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x349a06}from'ckeditor5/src/utils.js';function _0x53c4(_0x52fffc,_0x1f4e2e){const _0x30a3e3=_0x30a3();return _0x53c4=function(_0x53c4c6,_0x249822){_0x53c4c6=_0x53c4c6-0x1f0;let _0x2857e5=_0x30a3e3[_0x53c4c6];return _0x2857e5;},_0x53c4(_0x52fffc,_0x1f4e2e);}import{getTranslation as _0x504c4c}from'../../common-translations.js';export class PresenceInlineListView extends _0x4da6d2{[_0x548f22(0x20c)];[_0x548f22(0x214)];constructor(_0x28d78e){const _0x594592=_0x548f22;super(_0x28d78e);const _0x21f8ca=this[_0x594592(0x1fc)];this[_0x594592(0x20c)]=this[_0x594592(0x1f9)](),this[_0x594592(0x214)]=new _0x349a06(),this[_0x594592(0x1fa)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x594592(0x1f0)]({'tag':_0x594592(0x201),'attributes':{'aria-haspopup':_0x21f8ca['if'](_0x594592(0x1fb)),'aria-expanded':_0x21f8ca['to'](_0x594592(0x206),_0x18421=>this[_0x594592(0x1fb)]&&String(_0x18421)),'aria-label':_0x21f8ca['to'](_0x594592(0x1fb),_0x32b10e=>_0x504c4c(_0x28d78e,_0x32b10e?_0x594592(0x216):_0x594592(0x204))),'role':_0x594592(0x203),'tabindex':_0x21f8ca['to'](_0x594592(0x1fb),_0x435c6a=>!!_0x435c6a&&0x0),'class':['ck',_0x594592(0x20b)]},'children':this[_0x594592(0x20c)],'on':{'mouseenter':_0x21f8ca['to'](()=>this[_0x594592(0x1f5)](_0x594592(0x209))),'mouseleave':_0x21f8ca['to'](_0x282292=>{const _0x1a8319=_0x594592,_0x446da0=_0x282292,_0x1ea8f9=document[_0x1a8319(0x20d)](_0x1a8319(0x208)),_0x7601bb=document[_0x1a8319(0x20d)](_0x1a8319(0x20f));_0x1ea8f9?.[_0x1a8319(0x20a)](_0x446da0[_0x1a8319(0x1f1)])||_0x7601bb?.[_0x1a8319(0x20a)](_0x446da0[_0x1a8319(0x1f1)])||this[_0x1a8319(0x1f5)](_0x1a8319(0x1f4));})}}),this['on'](_0x594592(0x215),(_0x508a41,_0x5c94e9,_0x5ac8eb)=>{const _0x4c0098=_0x594592;this[_0x4c0098(0x202)]&&(_0x5ac8eb?this[_0x4c0098(0x202)][_0x4c0098(0x1fe)](_0x4c0098(0x200),String(this[_0x4c0098(0x206)])):this[_0x4c0098(0x202)][_0x4c0098(0x1f8)](_0x4c0098(0x200)));});}[_0x548f22(0x213)](){const _0x2128e6=_0x548f22;this[_0x2128e6(0x202)][_0x2128e6(0x213)]();}[_0x548f22(0x1f3)](){const _0x38cc39=_0x548f22;super[_0x38cc39(0x1f3)](),this[_0x38cc39(0x214)][_0x38cc39(0x217)](this[_0x38cc39(0x202)]);}}function _0x30a3(){const _0x5e9958=['bindTemplate','20427OfgiSW','setAttribute','134984GIXfGs','aria-expanded','div','element','list','Connected\x20users\x20list','2032020wngfHz','isExpanded','6108FnEmKg','.ck-presence-list__dropdown-list','presencelist:show','contains','ck-presence-list__list','items','querySelector','4816416KliYcA','.ck-balloon-panel_with-arrow','147xBpLaj','2136405pucMFX','368813yFCicG','focus','keystrokes','change:hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','listenTo','8DpMdqT','setTemplate','relatedTarget','63iFfldw','render','presencelist:hide','fire','2KmiwBv','1357270PbVtcL','removeAttribute','createCollection','set','hasPopup'];_0x30a3=function(){return _0x5e9958;};return _0x30a3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5428ac=_0x5f40;(function(_0x2ec9fa,_0x2d25f7){const _0x24ee46=_0x5f40,_0x476b23=_0x2ec9fa();while(!![]){try{const _0x3a256d=parseInt(_0x24ee46(0x13e))/0x1*(parseInt(_0x24ee46(0x13f))/0x2)+parseInt(_0x24ee46(0x145))/0x3+-parseInt(_0x24ee46(0x152))/0x4+parseInt(_0x24ee46(0x150))/0x5*(parseInt(_0x24ee46(0x143))/0x6)+parseInt(_0x24ee46(0x153))/0x7+-parseInt(_0x24ee46(0x14b))/0x8+-parseInt(_0x24ee46(0x147))/0x9*(parseInt(_0x24ee46(0x13b))/0xa);if(_0x3a256d===_0x2d25f7)break;else _0x476b23['push'](_0x476b23['shift']());}catch(_0x24d9ef){_0x476b23['push'](_0x476b23['shift']());}}}(_0x1d17,0x82c97));function _0x5f40(_0x26011d,_0x25d6bc){const _0x1d1761=_0x1d17();return _0x5f40=function(_0x5f40ae,_0x56df97){_0x5f40ae=_0x5f40ae-0x13a;let _0x3b1b49=_0x1d1761[_0x5f40ae];return _0x3b1b49;},_0x5f40(_0x26011d,_0x25d6bc);}import{View as _0xb0a7ea}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3c2ce3}from'./presencecounterview.js';function _0x1d17(){const _0x3ee750=['4824001hrTLDz','ck-rounded-corners','locale','ck-presence-list--collapsed','ck-presence-list','10mXBzSX','setTemplate','counterView','1MIqLqX','1661110YYhjZb','hasPopup','inlineListView','bind','373554qQOgdq','items','3172617qsQfWm','tooltipPosition','4314339yLqbtm','set','first','change','5699032iRlTHr','div','isCollapsed','bindTemplate','listenTo','15jobaKE','ck-reset','4146244zWZMZW'];_0x1d17=function(){return _0x3ee750;};return _0x1d17();}import{PresenceInlineListView as _0x51c231}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0xb0a7ea{[_0x5428ac(0x13d)];[_0x5428ac(0x141)];constructor(_0x4eadaf,_0x1d11d1=0x6){const _0x5cd0c5=_0x5428ac;super(_0x4eadaf);const _0xb6c114=this[_0x5cd0c5(0x14e)];this[_0x5cd0c5(0x148)](_0x5cd0c5(0x14d),!0x0),this[_0x5cd0c5(0x13d)]=new _0x3c2ce3(this[_0x5cd0c5(0x155)],_0x1d11d1),this[_0x5cd0c5(0x141)]=new _0x51c231(_0x4eadaf),this[_0x5cd0c5(0x141)][_0x5cd0c5(0x142)](_0x5cd0c5(0x140))['to'](this,_0x5cd0c5(0x14d)),this[_0x5cd0c5(0x14f)](this[_0x5cd0c5(0x141)][_0x5cd0c5(0x144)],_0x5cd0c5(0x14a),()=>{const _0x1b761c=_0x5cd0c5;for(const _0x58166b of this[_0x1b761c(0x141)][_0x1b761c(0x144)])_0x58166b[_0x1b761c(0x146)]='s';this[_0x1b761c(0x141)][_0x1b761c(0x144)][_0x1b761c(0x149)]&&(this[_0x1b761c(0x141)][_0x1b761c(0x144)][_0x1b761c(0x149)][_0x1b761c(0x146)]='se');}),this[_0x5cd0c5(0x13c)]({'tag':_0x5cd0c5(0x14c),'attributes':{'class':['ck',_0x5cd0c5(0x13a),_0x5cd0c5(0x151),_0x5cd0c5(0x154),_0xb6c114['if'](_0x5cd0c5(0x14d),_0x5cd0c5(0x156))]},'children':[this[_0x5cd0c5(0x141)]]});}}
23
+ const _0x24d4b5=_0x2a19;(function(_0x9d7a64,_0x32f5bd){const _0x4c1ba9=_0x2a19,_0x421f72=_0x9d7a64();while(!![]){try{const _0x379c46=parseInt(_0x4c1ba9(0x128))/0x1+parseInt(_0x4c1ba9(0x12d))/0x2+-parseInt(_0x4c1ba9(0x12a))/0x3+-parseInt(_0x4c1ba9(0x134))/0x4*(-parseInt(_0x4c1ba9(0x12c))/0x5)+-parseInt(_0x4c1ba9(0x12e))/0x6*(parseInt(_0x4c1ba9(0x12f))/0x7)+parseInt(_0x4c1ba9(0x139))/0x8+-parseInt(_0x4c1ba9(0x126))/0x9*(-parseInt(_0x4c1ba9(0x125))/0xa);if(_0x379c46===_0x32f5bd)break;else _0x421f72['push'](_0x421f72['shift']());}catch(_0x3bce01){_0x421f72['push'](_0x421f72['shift']());}}}(_0x3e16,0xe02fb));function _0x3e16(){const _0x3ca67c=['2313xUUvtu','bind','419663bxNDrH','first','1863573cYckwr','change','98355OvRGCQ','890344BbJpeD','2627652zPTuht','28RkNeJb','inlineListView','ck-presence-list--collapsed','tooltipPosition','locale','84YdnWNw','items','ck-reset','div','listenTo','12041688MDxusR','setTemplate','ck-rounded-corners','hasPopup','counterView','ck-presence-list','bindTemplate','set','isCollapsed','19770FkyHrU'];_0x3e16=function(){return _0x3ca67c;};return _0x3e16();}import{View as _0x4da0f9}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x18b6d1}from'./presencecounterview.js';import{PresenceInlineListView as _0x5f0ead}from'./presenceinlinelistview.js';function _0x2a19(_0x16473c,_0x442bd3){const _0x3e1658=_0x3e16();return _0x2a19=function(_0x2a1977,_0x20c531){_0x2a1977=_0x2a1977-0x121;let _0x24ecad=_0x3e1658[_0x2a1977];return _0x24ecad;},_0x2a19(_0x16473c,_0x442bd3);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x4da0f9{[_0x24d4b5(0x13d)];[_0x24d4b5(0x130)];constructor(_0x5cffc8,_0x563199=0x6){const _0x3260f9=_0x24d4b5;super(_0x5cffc8);const _0x333c1a=this[_0x3260f9(0x122)];this[_0x3260f9(0x123)](_0x3260f9(0x124),!0x0),this[_0x3260f9(0x13d)]=new _0x18b6d1(this[_0x3260f9(0x133)],_0x563199),this[_0x3260f9(0x130)]=new _0x5f0ead(_0x5cffc8),this[_0x3260f9(0x130)][_0x3260f9(0x127)](_0x3260f9(0x13c))['to'](this,_0x3260f9(0x124)),this[_0x3260f9(0x138)](this[_0x3260f9(0x130)][_0x3260f9(0x135)],_0x3260f9(0x12b),()=>{const _0x557cbe=_0x3260f9;for(const _0x6fa69b of this[_0x557cbe(0x130)][_0x557cbe(0x135)])_0x6fa69b[_0x557cbe(0x132)]='s';this[_0x557cbe(0x130)][_0x557cbe(0x135)][_0x557cbe(0x129)]&&(this[_0x557cbe(0x130)][_0x557cbe(0x135)][_0x557cbe(0x129)][_0x557cbe(0x132)]='se');}),this[_0x3260f9(0x13a)]({'tag':_0x3260f9(0x137),'attributes':{'class':['ck',_0x3260f9(0x121),_0x3260f9(0x136),_0x3260f9(0x13b),_0x333c1a['if'](_0x3260f9(0x124),_0x3260f9(0x131))]},'children':[this[_0x3260f9(0x130)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c36(_0x3faf19,_0x53c7cc){var _0x4ea3a6=_0x4ea3();return _0x3c36=function(_0x3c3691,_0xabd10b){_0x3c3691=_0x3c3691-0x90;var _0x5a8b49=_0x4ea3a6[_0x3c3691];return _0x5a8b49;},_0x3c36(_0x3faf19,_0x53c7cc);}var _0x15f26d=_0x3c36;(function(_0x532f08,_0x51187e){var _0x2178bb=_0x3c36,_0x1e3a85=_0x532f08();while(!![]){try{var _0xc8c1e6=parseInt(_0x2178bb(0x92))/0x1+parseInt(_0x2178bb(0x96))/0x2*(-parseInt(_0x2178bb(0x93))/0x3)+-parseInt(_0x2178bb(0x9b))/0x4+parseInt(_0x2178bb(0x9d))/0x5+-parseInt(_0x2178bb(0x94))/0x6+parseInt(_0x2178bb(0x98))/0x7*(parseInt(_0x2178bb(0x9c))/0x8)+parseInt(_0x2178bb(0x90))/0x9;if(_0xc8c1e6===_0x51187e)break;else _0x1e3a85['push'](_0x1e3a85['shift']());}catch(_0x219f00){_0x1e3a85['push'](_0x1e3a85['shift']());}}}(_0x4ea3,0x9ba55));import{ContextPlugin as _0x3a5b19}from'ckeditor5/src/core.js';function _0x4ea3(){var _0x388ae5=['5365836xpkNSU','isPremiumPlugin','272198QuLMLR','isOfficialPlugin','14jzNyey','PresenceList','pluginName','3660752iWvlok','3561568xpdkbZ','2976855XOPvSe','11727171OvwpvP','requires','202633YslAAN','12PAyntw'];_0x4ea3=function(){return _0x388ae5;};return _0x4ea3();}import{Sessions as _0x56c69d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5958f7}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3a5b19{static get[_0x15f26d(0x91)](){return[_0x56c69d,_0x5958f7];}static get[_0x15f26d(0x9a)](){var _0x3f41a7=_0x15f26d;return _0x3f41a7(0x99);}static get[_0x15f26d(0x97)](){return!0x0;}static get[_0x15f26d(0x95)](){return!0x0;}}
23
+ var _0x36ca62=_0x5a53;function _0x5a53(_0xf56ea,_0x338bdc){var _0x1f6285=_0x1f62();return _0x5a53=function(_0x5a5311,_0x32f4f8){_0x5a5311=_0x5a5311-0x18d;var _0x37b146=_0x1f6285[_0x5a5311];return _0x37b146;},_0x5a53(_0xf56ea,_0x338bdc);}function _0x1f62(){var _0x127311=['pluginName','728FfpIzK','25788BXJTiW','124197uDqDUk','PresenceList','1810kMpUhn','isOfficialPlugin','6UoDSkE','68719RgyWOG','259904qoqFhG','4NhlJkM','requires','230CabCfH','64618LRwfHS','34083ZbFQDP','22pVJsSK','isPremiumPlugin'];_0x1f62=function(){return _0x127311;};return _0x1f62();}(function(_0x726491,_0x32f6e6){var _0x3c6b77=_0x5a53,_0x196bf1=_0x726491();while(!![]){try{var _0x1d9533=-parseInt(_0x3c6b77(0x19d))/0x1*(-parseInt(_0x3c6b77(0x18f))/0x2)+-parseInt(_0x3c6b77(0x196))/0x3+-parseInt(_0x3c6b77(0x194))/0x4*(-parseInt(_0x3c6b77(0x198))/0x5)+parseInt(_0x3c6b77(0x19a))/0x6*(parseInt(_0x3c6b77(0x19b))/0x7)+parseInt(_0x3c6b77(0x19c))/0x8+parseInt(_0x3c6b77(0x190))/0x9*(-parseInt(_0x3c6b77(0x18e))/0xa)+parseInt(_0x3c6b77(0x191))/0xb*(parseInt(_0x3c6b77(0x195))/0xc);if(_0x1d9533===_0x32f6e6)break;else _0x196bf1['push'](_0x196bf1['shift']());}catch(_0x5a297f){_0x196bf1['push'](_0x196bf1['shift']());}}}(_0x1f62,0x1ba47));import{ContextPlugin as _0x347575}from'ckeditor5/src/core.js';import{Sessions as _0x187e7b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3c5bd9}from'./presencelist/presencelistui.js';export class PresenceList extends _0x347575{static get[_0x36ca62(0x18d)](){return[_0x187e7b,_0x3c5bd9];}static get[_0x36ca62(0x193)](){var _0x4fe8c5=_0x36ca62;return _0x4fe8c5(0x197);}static get[_0x36ca62(0x199)](){return!0x0;}static get[_0x36ca62(0x192)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44f586=_0xa435;(function(_0x18b09d,_0x28d656){const _0x2a3684=_0xa435,_0x1ad413=_0x18b09d();while(!![]){try{const _0x3a5173=-parseInt(_0x2a3684(0x141))/0x1+-parseInt(_0x2a3684(0x149))/0x2+parseInt(_0x2a3684(0x12d))/0x3+parseInt(_0x2a3684(0xe5))/0x4+-parseInt(_0x2a3684(0xfe))/0x5*(-parseInt(_0x2a3684(0x12b))/0x6)+-parseInt(_0x2a3684(0x137))/0x7*(parseInt(_0x2a3684(0x101))/0x8)+-parseInt(_0x2a3684(0x112))/0x9;if(_0x3a5173===_0x28d656)break;else _0x1ad413['push'](_0x1ad413['shift']());}catch(_0x306f4a){_0x1ad413['push'](_0x1ad413['shift']());}}}(_0x880b,0xb3e05));import{Context as _0x3b18b5,ContextPlugin as _0x2af771}from'ckeditor5/src/core.js';function _0x880b(){const _0x2bf69f=['commentThreadId','resolvedAt','createdAt','message','commentThreadResolved','_connectService','_fetchMissingUsersForThreads','addCommentThread','getConnectedSessions','resolvedBy','authorId','plugins','2083626dbDyxZ','_getService','off','requires','getCommentThread','commentAdded','updateCommentThread','commentThreadAdded','404','context','listenTo','reconnect','config','collaboration.channelId','size','cloudservicescommentsadapter-service-not-exist','adapter','commentThreadReopened','getUser','deletedAt','userId','startsWith','register','attributes','init','6pZYuId','setPermissions','3568236bYoOeO','cloudservicescommentsadapter-disconnect-not-exist','commentThreadUpdated','resolveCommentThread','addUser','add','addToReconnectionStack','from','getCommentThreads','destroy','7EyiAdD','CommentsService','disconnect','removeCommentThread','CloudServicesCommentsAdapter','addComment','resolve','_terminateService','has','remove','533870pyGxgx','unregister','cloud-services-internal-error:\x20Request\x20timeout.','updateComment','update','reopen','CommentsRepository','code','1413734evDGal','3685688Pzibyh','commentUpdated','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','assign','Permissions','pluginName','set','catch','comments','isPremiumPlugin','connect','getMany','reopenCommentThread','sessionAdd:','map','keys','commentRemoved','removeComment','_setUpService','get','commentThreadRemoved','isOfficialPlugin','5484905FqSerC','commentId','getComment','7990328pFKqbQ','content','permissions','_services','mySessionId'];_0x880b=function(){return _0x2bf69f;};return _0x880b();}import{CKEditorError as _0x5ac336}from'ckeditor5/src/utils.js';import{Users as _0x38cea0}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x23d7dd,User as _0xb8ec6c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2b91d9}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x22dc34}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x2af771{static [_0x44f586(0x138)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x23d7dd)());[_0x44f586(0x104)];static get[_0x44f586(0x115)](){const _0x20ca59=_0x44f586;return[_0x2b91d9,_0x20ca59(0x147),_0x22dc34,_0x38cea0];}static get[_0x44f586(0xed)](){const _0x3e3131=_0x44f586;return _0x3e3131(0x13b);}static get[_0x44f586(0xfd)](){return!0x0;}static get[_0x44f586(0xf1)](){return!0x0;}constructor(_0x34b997){const _0x3f7d5c=_0x44f586;super(_0x34b997),this[_0x3f7d5c(0x104)]=new Map();}async[_0x44f586(0x12a)](){const _0x27eb8=_0x44f586,_0xba913c=this[_0x27eb8(0x11b)],_0x3f7705=_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x27eb8(0x147));if(_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x2b91d9)[_0x27eb8(0x133)](this),_0x3f7705[_0x27eb8(0x122)]={'addCommentThread':async({channelId:_0x5e9f2c,threadId:_0x3fb630,comments:_0xb430a2,resolvedAt:_0x4a3ae5,resolvedBy:_0x3eb7a0,context:_0x3a2e54,attributes:_0x531aee})=>{const _0x5435e7=_0x27eb8,_0x5af8f4=await this[_0x5435e7(0x113)](_0x5e9f2c)[_0x5435e7(0x10d)]({'commentThreadId':_0x3fb630,'comments':_0xb430a2[_0x5435e7(0xf6)](_0x151c4c=>function(_0x1997f2,_0x57c950,_0x4ef8ef){const _0x116507=_0x5435e7;return{'commentThreadId':_0x4ef8ef,'commentId':_0x1997f2[_0x116507(0xff)],'userId':_0x1997f2[_0x116507(0x110)],'content':_0x1997f2[_0x116507(0x102)],'documentId':_0x57c950,'createdAt':_0x1997f2[_0x116507(0x108)],'attributes':_0x1997f2[_0x116507(0x129)]||{}};}(_0x151c4c,_0x5e9f2c,_0x3fb630)),'resolvedAt':_0x4a3ae5,'resolvedBy':_0x3eb7a0,'context':_0x3a2e54,'attributes':_0x531aee})[_0x5435e7(0xef)](B);return{'threadId':_0x5af8f4[_0x5435e7(0x106)],'comments':_0x5af8f4[_0x5435e7(0xf0)]};},'getCommentThread':async({channelId:_0x285753,threadId:_0x4db455})=>{const _0x3b61ce=_0x27eb8,_0x5779ad=await this[_0x3b61ce(0x113)](_0x285753)[_0x3b61ce(0x116)](_0x4db455)[_0x3b61ce(0xef)](F)[_0x3b61ce(0xef)](B);return _0x5779ad?_0x5779ad[_0x3b61ce(0x125)]?null:(await this[_0x3b61ce(0x10c)]([_0x5779ad]),{'threadId':_0x5779ad[_0x3b61ce(0x106)],'comments':_0x5779ad[_0x3b61ce(0xf0)][_0x3b61ce(0xf6)](P),'context':_0x5779ad[_0x3b61ce(0x11b)],'resolvedAt':_0x5779ad[_0x3b61ce(0x107)],'resolvedBy':_0x5779ad[_0x3b61ce(0x10f)],'attributes':_0x5779ad[_0x3b61ce(0x129)]||{}}):null;},'updateCommentThread':async({channelId:_0x53ad67,threadId:_0x3c515e,context:_0x4affed,unlinkedAt:_0x19383e,attributes:_0x5324d2})=>this[_0x27eb8(0x113)](_0x53ad67)[_0x27eb8(0x118)]({'commentThreadId':_0x3c515e,'context':_0x4affed,'attributes':_0x5324d2,'unlinkedAt':_0x19383e})[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'resolveCommentThread':async({channelId:_0x584798,threadId:_0x230ce0})=>{const _0x3bddab=_0x27eb8,_0x28e6da=await this[_0x3bddab(0x113)](_0x584798)[_0x3bddab(0x130)](_0x230ce0)[_0x3bddab(0xef)](F)[_0x3bddab(0xef)](B);return{'threadId':_0x28e6da[_0x3bddab(0x106)],'resolvedAt':_0x28e6da[_0x3bddab(0x107)],'resolvedBy':_0x28e6da[_0x3bddab(0x10f)]};},'reopenCommentThread':async({channelId:_0x565d09,threadId:_0x3ec0e8})=>this[_0x27eb8(0x113)](_0x565d09)[_0x27eb8(0xf4)](_0x3ec0e8)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'removeCommentThread':({channelId:_0x1d8c1f,threadId:_0x4ffe0b})=>this[_0x27eb8(0x113)](_0x1d8c1f)[_0x27eb8(0x13a)](_0x4ffe0b)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'addComment':({channelId:_0x208699,threadId:_0x5ad196,commentId:_0x4b1991,content:_0xf35d43,attributes:_0x502d42})=>this[_0x27eb8(0x113)](_0x208699)[_0x27eb8(0x13c)](_0x5ad196,_0x4b1991,_0xf35d43,_0x502d42)[_0x27eb8(0xef)](B),'updateComment':({channelId:_0x4b0527,threadId:_0x5b2158,commentId:_0x588d10,content:_0x1dc362,attributes:_0x4ffff1})=>this[_0x27eb8(0x113)](_0x4b0527)[_0x27eb8(0x144)](_0x5b2158,_0x588d10,_0x1dc362,_0x4ffff1)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'removeComment':({channelId:_0x54b5e9,threadId:_0x34e4cf,commentId:_0x211b8f})=>this[_0x27eb8(0x113)](_0x54b5e9)[_0x27eb8(0xf9)](_0x34e4cf,_0x211b8f)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B)},_0xba913c instanceof _0x3b18b5){const _0x6f4ce2=_0xba913c[_0x27eb8(0x11e)][_0x27eb8(0xfb)](_0x27eb8(0x11f)),_0x40544d=_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x22dc34);await this[_0x27eb8(0xfa)](_0x6f4ce2);const _0x3e73af=await this[_0x27eb8(0x104)][_0x27eb8(0xfb)](_0x6f4ce2)[_0x27eb8(0x10e)]();this[_0x27eb8(0x11c)](_0x40544d,_0x27eb8(0xf5)+_0x6f4ce2,(_0x5f4bf3,{session:_0x4be123})=>{const _0x29c795=_0x27eb8;_0x4be123['id']===_0x40544d[_0x29c795(0x105)]&&(_0x5f4bf3[_0x29c795(0x114)](),this[_0x29c795(0x11b)][_0x29c795(0x111)][_0x29c795(0xfb)](_0x29c795(0xec))[_0x29c795(0x12c)](_0x4be123[_0x29c795(0x103)],_0x6f4ce2));}),_0x40544d[_0x27eb8(0x128)](_0x6f4ce2,_0x3e73af);}}async[_0x44f586(0xfa)](_0x4aa2ad){const _0x3c0111=_0x44f586;if(this[_0x3c0111(0x104)][_0x3c0111(0x13f)](_0x4aa2ad))throw new _0x5ac336(_0x3c0111(0xe7),null,{'channelId':_0x4aa2ad});const _0xc6f74a=this[_0x3c0111(0x11b)][_0x3c0111(0x111)][_0x3c0111(0xfb)](_0x3c0111(0x147)),_0x5b61e1=new CloudServicesCommentsAdapter[(_0x3c0111(0x138))](_0x4aa2ad);this[_0x3c0111(0x104)][_0x3c0111(0xee)](_0x4aa2ad,_0x5b61e1),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x119),(_0x541942,_0x167efd)=>{const _0x1a679c=_0x3c0111,{commentThreadId:_0x15501b,documentId:_0x45cd4d,context:_0x3e42a0,attributes:_0x1d12b9,resolvedAt:_0x3ea450,resolvedBy:_0x4969c2,comments:_0x544098}=_0x167efd;_0xc6f74a[_0x1a679c(0x116)](_0x15501b)||_0xc6f74a[_0x1a679c(0x10d)]({'threadId':_0x15501b,'channelId':_0x45cd4d,'comments':_0x544098?_0x544098[_0x1a679c(0xf6)](P):[],'context':_0x3e42a0,'attributes':_0x1d12b9,'resolvedAt':_0x3ea450,'resolvedBy':_0x4969c2,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x12f),(_0x2764ed,{commentThreadId:_0x24e5c1,documentId:_0x78e598,context:_0x266325,unlinkedAt:_0x3ebc38,attributes:_0x41cae3})=>{const _0x2cebb2=_0x3c0111;_0xc6f74a[_0x2cebb2(0x116)](_0x24e5c1)&&_0xc6f74a[_0x2cebb2(0x118)]({'threadId':_0x24e5c1,'channelId':_0x78e598,'context':_0x266325,'unlinkedAt':_0x3ebc38,'attributes':_0x41cae3,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x10a),(_0x4d21e2,{commentThreadId:_0x541cc1,resolvedBy:_0xb3eda3,resolvedAt:_0xf18771})=>{const _0x23a4e5=_0x3c0111,_0x217784=_0xc6f74a[_0x23a4e5(0x116)](_0x541cc1);_0x217784&&_0x217784[_0x23a4e5(0x13d)]({'resolvedBy':_0xb3eda3,'resolvedAt':_0xf18771,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x123),(_0x5d6c41,{commentThreadId:_0x46440d})=>{const _0xbdbe6c=_0x3c0111,_0x33c158=_0xc6f74a[_0xbdbe6c(0x116)](_0x46440d);_0x33c158&&_0x33c158[_0xbdbe6c(0x146)]({'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xfc),(_0xc6d18e,{commentThreadId:_0x17e318})=>{const _0x20d0cb=_0x3c0111,_0x4ed9f6=_0xc6f74a[_0x20d0cb(0x116)](_0x17e318);_0x4ed9f6&&_0x4ed9f6[_0x20d0cb(0x140)]({'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x117),(_0x133371,_0xbd2bda)=>{const _0x2d4490=_0x3c0111,_0x5e063d=_0xbd2bda[_0x2d4490(0x106)],_0x43eca9=_0xc6f74a[_0x2d4490(0x116)](_0x5e063d);_0x43eca9&&_0x43eca9[_0x2d4490(0x13c)]({...P(_0xbd2bda),'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xe6),(_0x49a25e,{commentThreadId:_0x3b5c76,commentId:_0x560e64,content:_0x453dc3,attributes:_0x4d9f6c})=>{const _0x50a1cf=_0x3c0111,_0x11e7c1=_0xc6f74a[_0x50a1cf(0x116)](_0x3b5c76);if(_0x11e7c1){const _0xd50943=_0x11e7c1[_0x50a1cf(0x100)](_0x560e64);_0xd50943&&_0xd50943[_0x50a1cf(0x145)]({'content':_0x453dc3,'attributes':_0x4d9f6c,'isFromAdapter':!0x0});}}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xf8),(_0x5cd8c,{commentThreadId:_0x136b64,commentId:_0x46192f})=>{const _0x1daf1b=_0x3c0111,_0x56f7ae=_0xc6f74a[_0x1daf1b(0x116)](_0x136b64);if(_0x56f7ae){const _0x344b3b=_0x56f7ae[_0x1daf1b(0x100)](_0x46192f);_0x344b3b&&_0x344b3b[_0x1daf1b(0x140)]({'isFromAdapter':!0x0});}}),await this[_0x3c0111(0x10b)](_0x4aa2ad);}[_0x44f586(0x136)](){const _0x32c9ad=_0x44f586;if(this[_0x32c9ad(0x11b)]instanceof _0x3b18b5){const _0x204358=this[_0x32c9ad(0x11b)][_0x32c9ad(0x11e)][_0x32c9ad(0xfb)](_0x32c9ad(0x11f));this[_0x32c9ad(0x13e)](_0x204358);}}[_0x44f586(0x13e)](_0x25cc45){const _0x41a6a2=_0x44f586;if(!this[_0x41a6a2(0x104)][_0x41a6a2(0x13f)](_0x25cc45))throw new _0x5ac336(_0x41a6a2(0x12e),null,{'channelId':_0x25cc45});this[_0x41a6a2(0x113)](_0x25cc45)[_0x41a6a2(0x139)](),this[_0x41a6a2(0x104)][_0x41a6a2(0xe9)](_0x25cc45);}async[_0x44f586(0x11d)](){const _0x1be2ae=_0x44f586;for(const _0x2e6408 of this[_0x1be2ae(0x104)][_0x1be2ae(0xf7)]())await this[_0x1be2ae(0x10b)](_0x2e6408);if(this[_0x1be2ae(0x11b)]instanceof _0x3b18b5){const _0x46d83b=this[_0x1be2ae(0x11b)][_0x1be2ae(0x11e)][_0x1be2ae(0xfb)](_0x1be2ae(0x11f)),_0x45efed=this[_0x1be2ae(0x11b)][_0x1be2ae(0x111)][_0x1be2ae(0xfb)](_0x22dc34);_0x45efed[_0x1be2ae(0x142)](_0x46d83b);const _0x4eeaca=await this[_0x1be2ae(0x104)][_0x1be2ae(0xfb)](_0x46d83b)[_0x1be2ae(0x10e)]();_0x45efed[_0x1be2ae(0x128)](_0x46d83b,_0x4eeaca);}}async[_0x44f586(0x10b)](_0x441c5a){const _0x40d8a3=_0x44f586,{connection:_0x1912f7}=this[_0x40d8a3(0x11b)][_0x40d8a3(0x111)][_0x40d8a3(0xfb)](_0x2b91d9),_0x53e230=this[_0x40d8a3(0x11b)][_0x40d8a3(0x111)][_0x40d8a3(0xfb)](_0x40d8a3(0x147)),_0x59d3ca=this[_0x40d8a3(0x104)][_0x40d8a3(0xfb)](_0x441c5a),_0x241f5b=await _0x59d3ca[_0x40d8a3(0xf2)](_0x1912f7);await this[_0x40d8a3(0x10c)](_0x241f5b);const _0x5581cf=new Set(Array[_0x40d8a3(0x134)](_0x53e230[_0x40d8a3(0x135)]({'channelId':_0x441c5a}),_0x1af1d3=>_0x1af1d3['id']));for(const _0x5aaa4b of _0x241f5b)_0x5aaa4b[_0x40d8a3(0x125)]||_0x5581cf[_0x40d8a3(0xe9)](_0x5aaa4b[_0x40d8a3(0x106)]);for(const _0x4d7836 of _0x5581cf)_0x53e230[_0x40d8a3(0x116)](_0x4d7836)[_0x40d8a3(0x140)]({'isFromAdapter':!0x0});for(const _0x34123d of _0x241f5b){let _0x3f7394=_0x53e230[_0x40d8a3(0x116)](_0x34123d[_0x40d8a3(0x106)]);const {commentThreadId:_0x1347f6,context:_0x58e863,attributes:_0x590052,resolvedBy:_0xad4baf,resolvedAt:_0x502612,unlinkedAt:_0x25ea71,deletedAt:_0x39d71c}=_0x34123d;if(_0x39d71c)continue;_0x3f7394||(_0x3f7394=_0x53e230[_0x40d8a3(0x10d)]({'channelId':_0x441c5a,'threadId':_0x1347f6,'context':_0x58e863,'attributes':_0x590052||{},'resolvedBy':_0xad4baf,'resolvedAt':_0x502612,'unlinkedAt':_0x25ea71,'isFromAdapter':!0x0}));const _0x465fc=new Set(Array[_0x40d8a3(0x134)](_0x3f7394[_0x40d8a3(0xf0)],_0x5e7d00=>_0x5e7d00['id']));for(const _0x14279b of _0x34123d[_0x40d8a3(0xf0)])_0x465fc[_0x40d8a3(0xe9)](_0x14279b[_0x40d8a3(0xff)]);for(const _0x4e3299 of _0x465fc)_0x3f7394[_0x40d8a3(0x100)](_0x4e3299)[_0x40d8a3(0x140)]({'isFromAdapter':!0x0});for(const _0xf36802 of _0x34123d[_0x40d8a3(0xf0)]){const _0x5c0bf6=_0x3f7394[_0x40d8a3(0x100)](_0xf36802[_0x40d8a3(0xff)]);_0x5c0bf6?_0x5c0bf6[_0x40d8a3(0x102)]!==_0xf36802[_0x40d8a3(0x102)]&&_0x5c0bf6[_0x40d8a3(0x145)]({'content':_0xf36802[_0x40d8a3(0x102)],'isFromAdapter':!0x0}):_0x3f7394[_0x40d8a3(0x13c)](Object[_0x40d8a3(0xeb)](P(_0xf36802),{'isFromAdapter':!0x0}));}}}[_0x44f586(0x113)](_0x20a3b3){const _0x49f733=_0x44f586;if(!this[_0x49f733(0x104)][_0x49f733(0x13f)](_0x20a3b3))throw new _0x5ac336(_0x49f733(0x121),null,{'channelId':_0x20a3b3});return this[_0x49f733(0x104)][_0x49f733(0xfb)](_0x20a3b3);}async[_0x44f586(0x10c)](_0x1f28e9){const _0xe97b1c=_0x44f586,_0x19ffe3=this[_0xe97b1c(0x11b)][_0xe97b1c(0x111)][_0xe97b1c(0xfb)](_0x38cea0),{connection:_0x426747}=this[_0xe97b1c(0x11b)][_0xe97b1c(0x111)][_0xe97b1c(0xfb)](_0x2b91d9),_0x2e5fb2=new Set();for(const {resolvedBy:_0x144a0e,comments:_0x5e6e28}of _0x1f28e9){_0x144a0e&&!_0x19ffe3[_0xe97b1c(0x124)](_0x144a0e)&&_0x2e5fb2[_0xe97b1c(0x132)](_0x144a0e);for(const {userId:_0x1a4731}of _0x5e6e28)_0x19ffe3[_0xe97b1c(0x124)](_0x1a4731)||_0x2e5fb2[_0xe97b1c(0x132)](_0x1a4731);}if(0x0===_0x2e5fb2[_0xe97b1c(0x120)])return;const _0x1565ae=await _0xb8ec6c[_0xe97b1c(0xf3)](_0x426747,Array[_0xe97b1c(0x134)](_0x2e5fb2));for(const _0xe3c411 of _0x1565ae)_0x19ffe3[_0xe97b1c(0x124)](_0xe3c411['id'])||_0x19ffe3[_0xe97b1c(0x131)](_0xe3c411);}}async function F(_0x4677fd){const _0x1bd70a=_0x44f586;if(_0x1bd70a(0x11a)!==_0x4677fd[_0x1bd70a(0x148)])throw _0x4677fd;}function B(_0x118669){const _0x3bc81d=_0x44f586;if((_0x316c40=_0x118669)[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0xea))||_0x316c40[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0xe8))||_0x316c40[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0x143)))return new Promise(()=>{});var _0x316c40;throw _0x118669;}function _0xa435(_0x5eac6f,_0x1a22cc){const _0x880b92=_0x880b();return _0xa435=function(_0xa4352f,_0x1c240b){_0xa4352f=_0xa4352f-0xe5;let _0x4f6b9a=_0x880b92[_0xa4352f];return _0x4f6b9a;},_0xa435(_0x5eac6f,_0x1a22cc);}function P(_0x5a4094){const _0x217b22=_0x44f586;return{'threadId':_0x5a4094[_0x217b22(0x106)],'commentId':_0x5a4094[_0x217b22(0xff)],'content':_0x5a4094[_0x217b22(0x102)],'createdAt':_0x5a4094[_0x217b22(0x108)],'authorId':_0x5a4094[_0x217b22(0x126)],'attributes':_0x5a4094[_0x217b22(0x129)]||{}};}
23
+ const _0x49ccac=_0x3736;(function(_0x101132,_0x2bfbc3){const _0x24cd09=_0x3736,_0x163f4b=_0x101132();while(!![]){try{const _0x108972=-parseInt(_0x24cd09(0x1e4))/0x1+-parseInt(_0x24cd09(0x1d0))/0x2+parseInt(_0x24cd09(0x1bc))/0x3+-parseInt(_0x24cd09(0x1d7))/0x4+parseInt(_0x24cd09(0x1b8))/0x5*(parseInt(_0x24cd09(0x1cb))/0x6)+-parseInt(_0x24cd09(0x1fb))/0x7+parseInt(_0x24cd09(0x1da))/0x8;if(_0x108972===_0x2bfbc3)break;else _0x163f4b['push'](_0x163f4b['shift']());}catch(_0x5eec9c){_0x163f4b['push'](_0x163f4b['shift']());}}}(_0x5ee1,0x6673e));import{Context as _0x5a0a34,ContextPlugin as _0x54a041}from'ckeditor5/src/core.js';import{CKEditorError as _0x1836ed}from'ckeditor5/src/utils.js';function _0x5ee1(){const _0x2ecf46=['size','get','21282ZVkDRo','from','pluginName','commentAdded','getComment','356212SVexjC','addToReconnectionStack','init','assign','requires','adapter','delete','1721204dOBkIl','commentThreadRemoved','CommentsService','2636352wLfahz','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','connect','isOfficialPlugin','commentThreadReopened','content','updateCommentThread','resolveCommentThread','commentUpdated','522282BIalVY','getUser','sessionAdd:','resolvedBy','config','_getService','isPremiumPlugin','addComment','updateComment','getMany','CommentsRepository','commentThreadUpdated','permissions','add','_fetchMissingUsersForThreads','update','message','removeComment','_terminateService','cloudservicescommentsadapter-disconnect-not-exist','getConnectedSessions','_services','map','1053500KtyKhd','reconnect','setPermissions','addUser','getCommentThread','unregister','commentThreadAdded','commentThreadId','userId','destroy','cloudservicescommentsadapter-service-not-exist','resolve','keys','attributes','authorId','404','has','code','collaboration.channelId','mySessionId','listenTo','CloudServicesCommentsAdapter','addCommentThread','_connectService','comments','set','disconnect','deletedAt','cloud-services-internal-error:\x20Not\x20connected.','commentId','context','reopenCommentThread','remove','790fmrJXy','reopen','cloudservicescommentsadapter-connect-already-connected','resolvedAt','2432595RWKsVK','createdAt','plugins','_setUpService','commentRemoved','off','startsWith','Permissions','removeCommentThread','register','commentThreadResolved','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.'];_0x5ee1=function(){return _0x2ecf46;};return _0x5ee1();}import{Users as _0x384de9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3b3db5,User as _0x4907ac}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x13a8eb}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3736(_0x523943,_0x4cb6ef){const _0x5ee170=_0x5ee1();return _0x3736=function(_0x373656,_0x337ef7){_0x373656=_0x373656-0x1a5;let _0x2a339e=_0x5ee170[_0x373656];return _0x2a339e;},_0x3736(_0x523943,_0x4cb6ef);}import{Sessions as _0x423b45}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x54a041{static [_0x49ccac(0x1d9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3b3db5)());[_0x49ccac(0x1f9)];static get[_0x49ccac(0x1d4)](){const _0x1e775c=_0x49ccac;return[_0x13a8eb,_0x1e775c(0x1ee),_0x423b45,_0x384de9];}static get[_0x49ccac(0x1cd)](){const _0x3a654f=_0x49ccac;return _0x3a654f(0x1ac);}static get[_0x49ccac(0x1de)](){return!0x0;}static get[_0x49ccac(0x1ea)](){return!0x0;}constructor(_0x3b473a){const _0x3df89b=_0x49ccac;super(_0x3b473a),this[_0x3df89b(0x1f9)]=new Map();}async[_0x49ccac(0x1d2)](){const _0x4846f2=_0x49ccac,_0x4ea9a9=this[_0x4846f2(0x1b5)],_0x5ade0e=_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x4846f2(0x1ee));if(_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x13a8eb)[_0x4846f2(0x1d1)](this),_0x5ade0e[_0x4846f2(0x1d5)]={'addCommentThread':async({channelId:_0x48c0a4,threadId:_0x15cfa9,comments:_0x9d8be2,resolvedAt:_0x2cd263,resolvedBy:_0x14f59a,context:_0x3e2fd9,attributes:_0x330155})=>{const _0x41707d=_0x4846f2,_0x5c805c=await this[_0x41707d(0x1e9)](_0x48c0a4)[_0x41707d(0x1ad)]({'commentThreadId':_0x15cfa9,'comments':_0x9d8be2[_0x41707d(0x1fa)](_0x4e89cd=>function(_0x1d9bda,_0x1cee98,_0x95d952){const _0x3d3d42=_0x41707d;return{'commentThreadId':_0x95d952,'commentId':_0x1d9bda[_0x3d3d42(0x1b4)],'userId':_0x1d9bda[_0x3d3d42(0x1a5)],'content':_0x1d9bda[_0x3d3d42(0x1e0)],'documentId':_0x1cee98,'createdAt':_0x1d9bda[_0x3d3d42(0x1bd)],'attributes':_0x1d9bda[_0x3d3d42(0x208)]||{}};}(_0x4e89cd,_0x48c0a4,_0x15cfa9)),'resolvedAt':_0x2cd263,'resolvedBy':_0x14f59a,'context':_0x3e2fd9,'attributes':_0x330155})[_0x41707d(0x1c7)](k);return{'threadId':_0x5c805c[_0x41707d(0x202)],'comments':_0x5c805c[_0x41707d(0x1af)]};},'getCommentThread':async({channelId:_0x41973f,threadId:_0x257c95})=>{const _0xefcabf=_0x4846f2,_0x3a2a68=await this[_0xefcabf(0x1e9)](_0x41973f)[_0xefcabf(0x1ff)](_0x257c95)[_0xefcabf(0x1c7)](F)[_0xefcabf(0x1c7)](k);return _0x3a2a68?_0x3a2a68[_0xefcabf(0x1b2)]?null:(await this[_0xefcabf(0x1f2)]([_0x3a2a68]),{'threadId':_0x3a2a68[_0xefcabf(0x202)],'comments':_0x3a2a68[_0xefcabf(0x1af)][_0xefcabf(0x1fa)](S),'context':_0x3a2a68[_0xefcabf(0x1b5)],'resolvedAt':_0x3a2a68[_0xefcabf(0x1bb)],'resolvedBy':_0x3a2a68[_0xefcabf(0x1e7)],'attributes':_0x3a2a68[_0xefcabf(0x208)]||{}}):null;},'updateCommentThread':async({channelId:_0x116ce2,threadId:_0x6a6671,context:_0x78443e,unlinkedAt:_0x59d0fa,attributes:_0x34acb3})=>this[_0x4846f2(0x1e9)](_0x116ce2)[_0x4846f2(0x1e1)]({'commentThreadId':_0x6a6671,'context':_0x78443e,'attributes':_0x34acb3,'unlinkedAt':_0x59d0fa})[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'resolveCommentThread':async({channelId:_0x2367a7,threadId:_0x77ddac})=>{const _0x12db32=_0x4846f2,_0x30e406=await this[_0x12db32(0x1e9)](_0x2367a7)[_0x12db32(0x1e2)](_0x77ddac)[_0x12db32(0x1c7)](F)[_0x12db32(0x1c7)](k);return{'threadId':_0x30e406[_0x12db32(0x202)],'resolvedAt':_0x30e406[_0x12db32(0x1bb)],'resolvedBy':_0x30e406[_0x12db32(0x1e7)]};},'reopenCommentThread':async({channelId:_0x2943ea,threadId:_0xba6a04})=>this[_0x4846f2(0x1e9)](_0x2943ea)[_0x4846f2(0x1b6)](_0xba6a04)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'removeCommentThread':({channelId:_0x4f16ce,threadId:_0x3bf9e4})=>this[_0x4846f2(0x1e9)](_0x4f16ce)[_0x4846f2(0x1c4)](_0x3bf9e4)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'addComment':({channelId:_0xed42b5,threadId:_0x11b381,commentId:_0x21695f,content:_0x36fdda,attributes:_0x9ce59e})=>this[_0x4846f2(0x1e9)](_0xed42b5)[_0x4846f2(0x1eb)](_0x11b381,_0x21695f,_0x36fdda,_0x9ce59e)[_0x4846f2(0x1c7)](k),'updateComment':({channelId:_0x23b521,threadId:_0x4bdd51,commentId:_0x392237,content:_0x2bea3f,attributes:_0x8f8fed})=>this[_0x4846f2(0x1e9)](_0x23b521)[_0x4846f2(0x1ec)](_0x4bdd51,_0x392237,_0x2bea3f,_0x8f8fed)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'removeComment':({channelId:_0xa33da5,threadId:_0x3c7a52,commentId:_0xa8efa5})=>this[_0x4846f2(0x1e9)](_0xa33da5)[_0x4846f2(0x1f5)](_0x3c7a52,_0xa8efa5)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k)},_0x4ea9a9 instanceof _0x5a0a34){const _0x5c7c25=_0x4ea9a9[_0x4846f2(0x1e8)][_0x4846f2(0x1ca)](_0x4846f2(0x1a9)),_0x13d611=_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x423b45);await this[_0x4846f2(0x1bf)](_0x5c7c25);const _0xc39414=await this[_0x4846f2(0x1f9)][_0x4846f2(0x1ca)](_0x5c7c25)[_0x4846f2(0x1f8)]();this[_0x4846f2(0x1ab)](_0x13d611,_0x4846f2(0x1e6)+_0x5c7c25,(_0x4e0245,{session:_0x14ef2e})=>{const _0x10cf60=_0x4846f2;_0x14ef2e['id']===_0x13d611[_0x10cf60(0x1aa)]&&(_0x4e0245[_0x10cf60(0x1c1)](),this[_0x10cf60(0x1b5)][_0x10cf60(0x1be)][_0x10cf60(0x1ca)](_0x10cf60(0x1c3))[_0x10cf60(0x1fd)](_0x14ef2e[_0x10cf60(0x1f0)],_0x5c7c25));}),_0x13d611[_0x4846f2(0x1c5)](_0x5c7c25,_0xc39414);}}async[_0x49ccac(0x1bf)](_0x3c0baf){const _0x58a8f8=_0x49ccac;if(this[_0x58a8f8(0x1f9)][_0x58a8f8(0x1a7)](_0x3c0baf))throw new _0x1836ed(_0x58a8f8(0x1ba),null,{'channelId':_0x3c0baf});const _0x389668=this[_0x58a8f8(0x1b5)][_0x58a8f8(0x1be)][_0x58a8f8(0x1ca)](_0x58a8f8(0x1ee)),_0x420942=new CloudServicesCommentsAdapter[(_0x58a8f8(0x1d9))](_0x3c0baf);this[_0x58a8f8(0x1f9)][_0x58a8f8(0x1b0)](_0x3c0baf,_0x420942),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x201),(_0x5df879,_0x52ad87)=>{const _0x1a077c=_0x58a8f8,{commentThreadId:_0x21aa1c,documentId:_0x326db5,context:_0x424c4d,attributes:_0x2ad92b,resolvedAt:_0x4dc0e1,resolvedBy:_0x529a12,comments:_0xdba8a4}=_0x52ad87;_0x389668[_0x1a077c(0x1ff)](_0x21aa1c)||_0x389668[_0x1a077c(0x1ad)]({'threadId':_0x21aa1c,'channelId':_0x326db5,'comments':_0xdba8a4?_0xdba8a4[_0x1a077c(0x1fa)](S):[],'context':_0x424c4d,'attributes':_0x2ad92b,'resolvedAt':_0x4dc0e1,'resolvedBy':_0x529a12,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1ef),(_0x4f3b7b,{commentThreadId:_0x4633ba,documentId:_0x567f58,context:_0x2385ca,unlinkedAt:_0x1bea3f,attributes:_0x476c94})=>{const _0xfec5b4=_0x58a8f8;_0x389668[_0xfec5b4(0x1ff)](_0x4633ba)&&_0x389668[_0xfec5b4(0x1e1)]({'threadId':_0x4633ba,'channelId':_0x567f58,'context':_0x2385ca,'unlinkedAt':_0x1bea3f,'attributes':_0x476c94,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1c6),(_0x2cf98c,{commentThreadId:_0x3f29e6,resolvedBy:_0x256490,resolvedAt:_0x23f681})=>{const _0x455eed=_0x58a8f8,_0x51a489=_0x389668[_0x455eed(0x1ff)](_0x3f29e6);_0x51a489&&_0x51a489[_0x455eed(0x206)]({'resolvedBy':_0x256490,'resolvedAt':_0x23f681,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1df),(_0xdaf1ae,{commentThreadId:_0x477a1f})=>{const _0x5aa881=_0x58a8f8,_0x160ab9=_0x389668[_0x5aa881(0x1ff)](_0x477a1f);_0x160ab9&&_0x160ab9[_0x5aa881(0x1b9)]({'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1d8),(_0xba2485,{commentThreadId:_0x113044})=>{const _0x228083=_0x58a8f8,_0x7c5b2f=_0x389668[_0x228083(0x1ff)](_0x113044);_0x7c5b2f&&_0x7c5b2f[_0x228083(0x1b7)]({'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1ce),(_0x4d6474,_0x32bf64)=>{const _0x18f13f=_0x58a8f8,_0x9dd678=_0x32bf64[_0x18f13f(0x202)],_0x407db6=_0x389668[_0x18f13f(0x1ff)](_0x9dd678);_0x407db6&&_0x407db6[_0x18f13f(0x1eb)]({...S(_0x32bf64),'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1e3),(_0x38a37f,{commentThreadId:_0x4db8c1,commentId:_0x44e1ff,content:_0x6295bb,attributes:_0x1df101})=>{const _0x2b3a43=_0x58a8f8,_0x358393=_0x389668[_0x2b3a43(0x1ff)](_0x4db8c1);if(_0x358393){const _0x1d9be1=_0x358393[_0x2b3a43(0x1cf)](_0x44e1ff);_0x1d9be1&&_0x1d9be1[_0x2b3a43(0x1f3)]({'content':_0x6295bb,'attributes':_0x1df101,'isFromAdapter':!0x0});}}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1c0),(_0x21f672,{commentThreadId:_0x2f2c82,commentId:_0x2f7614})=>{const _0x22c69e=_0x58a8f8,_0xc702bd=_0x389668[_0x22c69e(0x1ff)](_0x2f2c82);if(_0xc702bd){const _0x14f8f0=_0xc702bd[_0x22c69e(0x1cf)](_0x2f7614);_0x14f8f0&&_0x14f8f0[_0x22c69e(0x1b7)]({'isFromAdapter':!0x0});}}),await this[_0x58a8f8(0x1ae)](_0x3c0baf);}[_0x49ccac(0x204)](){const _0x6272ff=_0x49ccac;if(this[_0x6272ff(0x1b5)]instanceof _0x5a0a34){const _0x366a09=this[_0x6272ff(0x1b5)][_0x6272ff(0x1e8)][_0x6272ff(0x1ca)](_0x6272ff(0x1a9));this[_0x6272ff(0x1f6)](_0x366a09);}}[_0x49ccac(0x1f6)](_0x5c687f){const _0x3c9313=_0x49ccac;if(!this[_0x3c9313(0x1f9)][_0x3c9313(0x1a7)](_0x5c687f))throw new _0x1836ed(_0x3c9313(0x1f7),null,{'channelId':_0x5c687f});this[_0x3c9313(0x1e9)](_0x5c687f)[_0x3c9313(0x1b1)](),this[_0x3c9313(0x1f9)][_0x3c9313(0x1d6)](_0x5c687f);}async[_0x49ccac(0x1fc)](){const _0x1a6aa2=_0x49ccac;for(const _0x4dff77 of this[_0x1a6aa2(0x1f9)][_0x1a6aa2(0x207)]())await this[_0x1a6aa2(0x1ae)](_0x4dff77);if(this[_0x1a6aa2(0x1b5)]instanceof _0x5a0a34){const _0x40880e=this[_0x1a6aa2(0x1b5)][_0x1a6aa2(0x1e8)][_0x1a6aa2(0x1ca)](_0x1a6aa2(0x1a9)),_0x184f6d=this[_0x1a6aa2(0x1b5)][_0x1a6aa2(0x1be)][_0x1a6aa2(0x1ca)](_0x423b45);_0x184f6d[_0x1a6aa2(0x200)](_0x40880e);const _0x5d6483=await this[_0x1a6aa2(0x1f9)][_0x1a6aa2(0x1ca)](_0x40880e)[_0x1a6aa2(0x1f8)]();_0x184f6d[_0x1a6aa2(0x1c5)](_0x40880e,_0x5d6483);}}async[_0x49ccac(0x1ae)](_0x2cfb8d){const _0x5a7c1e=_0x49ccac,{connection:_0xed1e8b}=this[_0x5a7c1e(0x1b5)][_0x5a7c1e(0x1be)][_0x5a7c1e(0x1ca)](_0x13a8eb),_0x30e5c6=this[_0x5a7c1e(0x1b5)][_0x5a7c1e(0x1be)][_0x5a7c1e(0x1ca)](_0x5a7c1e(0x1ee)),_0x28c8ef=this[_0x5a7c1e(0x1f9)][_0x5a7c1e(0x1ca)](_0x2cfb8d),_0x13256c=await _0x28c8ef[_0x5a7c1e(0x1dd)](_0xed1e8b);await this[_0x5a7c1e(0x1f2)](_0x13256c);const _0x222cd9=new Set(Array[_0x5a7c1e(0x1cc)](_0x30e5c6[_0x5a7c1e(0x1dc)]({'channelId':_0x2cfb8d}),_0x156faf=>_0x156faf['id']));for(const _0x1b6de3 of _0x13256c)_0x1b6de3[_0x5a7c1e(0x1b2)]||_0x222cd9[_0x5a7c1e(0x1d6)](_0x1b6de3[_0x5a7c1e(0x202)]);for(const _0x237912 of _0x222cd9)_0x30e5c6[_0x5a7c1e(0x1ff)](_0x237912)[_0x5a7c1e(0x1b7)]({'isFromAdapter':!0x0});for(const _0x1e655d of _0x13256c){let _0x5096ae=_0x30e5c6[_0x5a7c1e(0x1ff)](_0x1e655d[_0x5a7c1e(0x202)]);const {commentThreadId:_0x31c6dd,context:_0x257325,attributes:_0x1f4a97,resolvedBy:_0x4e8294,resolvedAt:_0x4d8c9d,unlinkedAt:_0xa3023c,deletedAt:_0x4b9d36}=_0x1e655d;if(_0x4b9d36)continue;_0x5096ae||(_0x5096ae=_0x30e5c6[_0x5a7c1e(0x1ad)]({'channelId':_0x2cfb8d,'threadId':_0x31c6dd,'context':_0x257325,'attributes':_0x1f4a97||{},'resolvedBy':_0x4e8294,'resolvedAt':_0x4d8c9d,'unlinkedAt':_0xa3023c,'isFromAdapter':!0x0}));const _0x5027ec=new Set(Array[_0x5a7c1e(0x1cc)](_0x5096ae[_0x5a7c1e(0x1af)],_0x4feda9=>_0x4feda9['id']));for(const _0x350dca of _0x1e655d[_0x5a7c1e(0x1af)])_0x5027ec[_0x5a7c1e(0x1d6)](_0x350dca[_0x5a7c1e(0x1b4)]);for(const _0x552733 of _0x5027ec)_0x5096ae[_0x5a7c1e(0x1cf)](_0x552733)[_0x5a7c1e(0x1b7)]({'isFromAdapter':!0x0});for(const _0x4ffba9 of _0x1e655d[_0x5a7c1e(0x1af)]){const _0x16cae7=_0x5096ae[_0x5a7c1e(0x1cf)](_0x4ffba9[_0x5a7c1e(0x1b4)]);_0x16cae7?_0x16cae7[_0x5a7c1e(0x1e0)]!==_0x4ffba9[_0x5a7c1e(0x1e0)]&&_0x16cae7[_0x5a7c1e(0x1f3)]({'content':_0x4ffba9[_0x5a7c1e(0x1e0)],'isFromAdapter':!0x0}):_0x5096ae[_0x5a7c1e(0x1eb)](Object[_0x5a7c1e(0x1d3)](S(_0x4ffba9),{'isFromAdapter':!0x0}));}}}[_0x49ccac(0x1e9)](_0x104a1b){const _0x6b8799=_0x49ccac;if(!this[_0x6b8799(0x1f9)][_0x6b8799(0x1a7)](_0x104a1b))throw new _0x1836ed(_0x6b8799(0x205),null,{'channelId':_0x104a1b});return this[_0x6b8799(0x1f9)][_0x6b8799(0x1ca)](_0x104a1b);}async[_0x49ccac(0x1f2)](_0x368ff9){const _0x5e4587=_0x49ccac,_0x508957=this[_0x5e4587(0x1b5)][_0x5e4587(0x1be)][_0x5e4587(0x1ca)](_0x384de9),{connection:_0x1d59dd}=this[_0x5e4587(0x1b5)][_0x5e4587(0x1be)][_0x5e4587(0x1ca)](_0x13a8eb),_0x49a3e4=new Set();for(const {resolvedBy:_0x270340,comments:_0x40cd80}of _0x368ff9){_0x270340&&!_0x508957[_0x5e4587(0x1e5)](_0x270340)&&_0x49a3e4[_0x5e4587(0x1f1)](_0x270340);for(const {userId:_0x5df6cd}of _0x40cd80)_0x508957[_0x5e4587(0x1e5)](_0x5df6cd)||_0x49a3e4[_0x5e4587(0x1f1)](_0x5df6cd);}if(0x0===_0x49a3e4[_0x5e4587(0x1c9)])return;const _0x306bbe=await _0x4907ac[_0x5e4587(0x1ed)](_0x1d59dd,Array[_0x5e4587(0x1cc)](_0x49a3e4));for(const _0x3e46e0 of _0x306bbe)_0x508957[_0x5e4587(0x1e5)](_0x3e46e0['id'])||_0x508957[_0x5e4587(0x1fe)](_0x3e46e0);}}async function F(_0x63dedf){const _0x49b67c=_0x49ccac;if(_0x49b67c(0x1a6)!==_0x63dedf[_0x49b67c(0x1a8)])throw _0x63dedf;}function k(_0x2652ef){const _0x2c007c=_0x49ccac;if((_0x357a0e=_0x2652ef)[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1c8))||_0x357a0e[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1b3))||_0x357a0e[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1db)))return new Promise(()=>{});var _0x357a0e;throw _0x2652ef;}function S(_0x4bdc29){const _0x2374bc=_0x49ccac;return{'threadId':_0x4bdc29[_0x2374bc(0x202)],'commentId':_0x4bdc29[_0x2374bc(0x1b4)],'content':_0x4bdc29[_0x2374bc(0x1e0)],'createdAt':_0x4bdc29[_0x2374bc(0x1bd)],'authorId':_0x4bdc29[_0x2374bc(0x203)],'attributes':_0x4bdc29[_0x2374bc(0x208)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x149ed4=_0x1934;(function(_0x3b25da,_0x1fddcb){const _0x215700=_0x1934,_0x5a0c22=_0x3b25da();while(!![]){try{const _0x35b3e6=parseInt(_0x215700(0x184))/0x1*(parseInt(_0x215700(0x19f))/0x2)+-parseInt(_0x215700(0x19d))/0x3*(-parseInt(_0x215700(0x194))/0x4)+-parseInt(_0x215700(0x185))/0x5+parseInt(_0x215700(0x18b))/0x6*(-parseInt(_0x215700(0x17c))/0x7)+parseInt(_0x215700(0x195))/0x8*(parseInt(_0x215700(0x17b))/0x9)+parseInt(_0x215700(0x199))/0xa*(parseInt(_0x215700(0x197))/0xb)+parseInt(_0x215700(0x17e))/0xc*(-parseInt(_0x215700(0x183))/0xd);if(_0x35b3e6===_0x1fddcb)break;else _0x5a0c22['push'](_0x5a0c22['shift']());}catch(_0x1d57e7){_0x5a0c22['push'](_0x5a0c22['shift']());}}}(_0x3311,0x5017b));import{Plugin as _0xb0719a}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x36a274}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4a1c5b}from'./realtimecollaborativeediting.js';function _0x1934(_0x33094b,_0x162d2c){const _0x3311e5=_0x3311();return _0x1934=function(_0x1934f1,_0x4c0af3){_0x1934f1=_0x1934f1-0x17a;let _0x269823=_0x3311e5[_0x1934f1];return _0x269823;},_0x1934(_0x33094b,_0x162d2c);}function _0x3311(){const _0xbac723=['RealTimeCollaborativeComments','878736YfFUqy','config','5147964wDQxac','91twJZdM','editor','330684TPmIZs','connected','_setUpService','pluginName','switchReadOnly','247WPIjod','1PkoSoW','653725sMtqZh','CommentsEditing','CommentsRepository','Comments','isOfficialPlugin','isThreadsLoadingPaused','183162xlhbFu','ready','data','collaboration.channelId','once','requires','listenTo','init','_terminateService','320956vnOpUk','8vmWLVO','change:state','3163985HRNzns','isPremiumPlugin','10WqUaiQ','get','destroy','plugins','3xboBAj'];_0x3311=function(){return _0xbac723;};return _0x3311();}import{WebSocketGateway as _0x5ae0c6}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xb0719a{static get[_0x149ed4(0x190)](){const _0x3d26ee=_0x149ed4;return[_0x3d26ee(0x188),_0x36a274,_0x4a1c5b,_0x5ae0c6];}static get[_0x149ed4(0x181)](){const _0x3c30c2=_0x149ed4;return _0x3c30c2(0x19e);}static get[_0x149ed4(0x189)](){return!0x0;}static get[_0x149ed4(0x198)](){return!0x0;}[_0x149ed4(0x192)](){const _0xe36223=_0x149ed4,_0x436bbf=this[_0xe36223(0x17d)][_0xe36223(0x19c)][_0xe36223(0x19a)](_0x5ae0c6),_0x591848=this[_0xe36223(0x17d)][_0xe36223(0x19c)][_0xe36223(0x19a)](_0xe36223(0x186)),_0x5b5c4b=this[_0xe36223(0x17d)][_0xe36223(0x19c)][_0xe36223(0x19a)](_0x36a274);return this[_0xe36223(0x17d)][_0xe36223(0x18d)][_0xe36223(0x18f)](_0xe36223(0x18c),()=>{const _0x1dccbf=_0xe36223;this[_0x1dccbf(0x191)](_0x436bbf,_0x1dccbf(0x196),(_0x3ca509,_0x3ee7fe,_0x3e4498)=>{const _0x45804d=_0x1dccbf;_0x591848[_0x45804d(0x18a)]=_0x45804d(0x17f)!==_0x3e4498;});}),this[_0xe36223(0x191)](_0x436bbf,_0xe36223(0x196),(_0x4963d5,_0x5f2618,_0x19de31)=>{const _0x26b463=_0xe36223;this[_0x26b463(0x17d)][_0x26b463(0x19c)][_0x26b463(0x19a)](_0x26b463(0x187))[_0x26b463(0x182)](_0x26b463(0x17f)!==_0x19de31);}),_0x5b5c4b[_0xe36223(0x180)](this[_0xe36223(0x17d)][_0xe36223(0x17a)][_0xe36223(0x19a)](_0xe36223(0x18e)));}[_0x149ed4(0x19b)](){const _0x48da3d=_0x149ed4;this[_0x48da3d(0x17d)][_0x48da3d(0x19c)][_0x48da3d(0x19a)](_0x36a274)[_0x48da3d(0x193)](this[_0x48da3d(0x17d)][_0x48da3d(0x17a)][_0x48da3d(0x19a)](_0x48da3d(0x18e))),super[_0x48da3d(0x19b)]();}}
23
+ const _0x31fcf9=_0xf1d4;(function(_0x1ad930,_0x5c836e){const _0x4fea82=_0xf1d4,_0x58b48c=_0x1ad930();while(!![]){try{const _0x33d78f=-parseInt(_0x4fea82(0x1b4))/0x1+-parseInt(_0x4fea82(0x1c2))/0x2*(-parseInt(_0x4fea82(0x1b7))/0x3)+parseInt(_0x4fea82(0x1c3))/0x4*(-parseInt(_0x4fea82(0x1bd))/0x5)+parseInt(_0x4fea82(0x1a1))/0x6+parseInt(_0x4fea82(0x1a9))/0x7+parseInt(_0x4fea82(0x1b9))/0x8*(-parseInt(_0x4fea82(0x1b6))/0x9)+parseInt(_0x4fea82(0x1a5))/0xa;if(_0x33d78f===_0x5c836e)break;else _0x58b48c['push'](_0x58b48c['shift']());}catch(_0x11f182){_0x58b48c['push'](_0x58b48c['shift']());}}}(_0x530c,0x2dbd6));import{Plugin as _0x4a998d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1ba27c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1586e8}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x9e70c3}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a998d{static get[_0x31fcf9(0x1a8)](){const _0x2161a3=_0x31fcf9;return[_0x2161a3(0x1af),_0x1ba27c,_0x1586e8,_0x9e70c3];}static get[_0x31fcf9(0x1b1)](){const _0x1ce799=_0x31fcf9;return _0x1ce799(0x1a2);}static get[_0x31fcf9(0x1bc)](){return!0x0;}static get[_0x31fcf9(0x1a4)](){return!0x0;}[_0x31fcf9(0x1c1)](){const _0x34c42c=_0x31fcf9,_0xd283eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x9e70c3),_0x45b1eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x34c42c(0x1aa)),_0xa39e28=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x1ba27c);return this[_0x34c42c(0x1a6)][_0x34c42c(0x1ae)][_0x34c42c(0x1b0)](_0x34c42c(0x1a3),()=>{const _0x2e028c=_0x34c42c;this[_0x2e028c(0x1be)](_0xd283eb,_0x2e028c(0x1b5),(_0x2eed70,_0x27cde8,_0x55d4a1)=>{const _0x266353=_0x2e028c;_0x45b1eb[_0x266353(0x1c0)]=_0x266353(0x1bb)!==_0x55d4a1;});}),this[_0x34c42c(0x1be)](_0xd283eb,_0x34c42c(0x1b5),(_0x26a70f,_0x538d09,_0x4f8f65)=>{const _0x3babb8=_0x34c42c;this[_0x3babb8(0x1a6)][_0x3babb8(0x1b8)][_0x3babb8(0x1ac)](_0x3babb8(0x1bf))[_0x3babb8(0x1b2)](_0x3babb8(0x1bb)!==_0x4f8f65);}),_0xa39e28[_0x34c42c(0x1b3)](this[_0x34c42c(0x1a6)][_0x34c42c(0x1a7)][_0x34c42c(0x1ac)](_0x34c42c(0x1ab)));}[_0x31fcf9(0x1ba)](){const _0x37faae=_0x31fcf9;this[_0x37faae(0x1a6)][_0x37faae(0x1b8)][_0x37faae(0x1ac)](_0x1ba27c)[_0x37faae(0x1ad)](this[_0x37faae(0x1a6)][_0x37faae(0x1a7)][_0x37faae(0x1ac)](_0x37faae(0x1ab))),super[_0x37faae(0x1ba)]();}}function _0xf1d4(_0x2aaf11,_0x3bad7e){const _0x530cbf=_0x530c();return _0xf1d4=function(_0xf1d47b,_0x133f28){_0xf1d47b=_0xf1d47b-0x1a1;let _0x4207c8=_0x530cbf[_0xf1d47b];return _0x4207c8;},_0xf1d4(_0x2aaf11,_0x3bad7e);}function _0x530c(){const _0x5d2899=['pluginName','switchReadOnly','_setUpService','234844IWfRXO','change:state','3008349NhmOeP','918006UrTUWL','plugins','8lWJHxl','destroy','connected','isOfficialPlugin','20oEjTFt','listenTo','CommentsRepository','isThreadsLoadingPaused','init','2OePrXf','335060TNEsDQ','2185224XMWpwO','RealTimeCollaborativeComments','ready','isPremiumPlugin','845660yUPdqQ','editor','config','requires','2357201sEpPvC','CommentsEditing','collaboration.channelId','get','_terminateService','data','Comments','once'];_0x530c=function(){return _0x5d2899;};return _0x530c();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e676d=_0x16ad;(function(_0x11fcb9,_0x5d15c7){const _0x1b34f1=_0x16ad,_0x595a65=_0x11fcb9();while(!![]){try{const _0x12f60a=parseInt(_0x1b34f1(0x147))/0x1+parseInt(_0x1b34f1(0xfa))/0x2+-parseInt(_0x1b34f1(0x100))/0x3+parseInt(_0x1b34f1(0x12e))/0x4+parseInt(_0x1b34f1(0x1d2))/0x5+parseInt(_0x1b34f1(0x16b))/0x6+parseInt(_0x1b34f1(0x1e5))/0x7*(parseInt(_0x1b34f1(0x151))/0x8);if(_0x12f60a===_0x5d15c7)break;else _0x595a65['push'](_0x595a65['shift']());}catch(_0x306871){_0x595a65['push'](_0x595a65['shift']());}}}(_0x577d,0x2489d));import{Plugin as _0x1e19db,PendingActions as _0x2e23c2}from'ckeditor5/src/core.js';import{CKEditorError as _0x49fa3b,version as _0x3b727f,uid as _0x182e2c}from'ckeditor5/src/utils.js';import{Notification as _0x4f5eea}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4a555e,NoOperation as _0x27e38f,InsertOperation as _0x53d1c3,MarkerOperation as _0x4fa8bc,RootAttributeOperation as _0x725b45,OperationFactory as _0xdbfab6,History as _0x53c737}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x46d954}from'./websocketgateway.js';import{Sessions as _0x19bfc9}from'./sessions.js';import{UserMarkers as _0x16c185}from'./usermarkers.js';import{getTranslation as _0x39755b}from'../common-translations.js';import{Compressor as _0x442e7b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2a2d9c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2c333a,CollaborativeEditingService as _0x4b126a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x577d(){const _0x300f9b=['operationsReceived','pluginName','bind','permissions','state','root','45480OerKhL','404','getDocumentDetails','realtimecollaborationclient','_applyOperationsSet','history','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sessionId','_fetchMissingUsers','move','_handleServerResponse','isPremiumPlugin','_isEditingAllowed','directChange','listenTo','lastSyncVersion','error','setPermissions','_initThrowingOnDataSet','position','_handleReceivedOperations','batch','_compressOperations','_loadRoot','_compressor','rtc-offline','push','_hasSynchronizationProblem','cs:removeUser','_crash','CollaborativeEditingService','selection','connected','stop','_document','_operationToId','_updateServerHistory','reconnection:\x20flushed\x20session','keys','init','addOperation','forEach','_hasSelectionChanged','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.','stopListening','off','editor','markers','_handleSendingSelectionMarkers','__className','_handleInitialConnectionData','toJSON','userId','attributes','suppressErrorInCollaboration','serverHistory','config','_pendingAction','disconnect','slice','isOfficialPlugin','then','_saveOperationInBuffer','createRoot','document:write','newRange','message','_bufferedOperations','loadRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','PENDING_ACTION_SENDING_DATA','get','cloud-services-internal-error:\x20Request\x20timeout.','isEnabled','isDocumentOperation','view','Synchronization\x20issue','_lastServerVersion','_clearPendingAction','getIdOfTheLastOperation','realtimecollaborationclient-init-service-incorrect-server-operation','createdAt','targetPosition','RealTimeCollaborationClient','sendOperations','marker','collaboration','_isInit','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getMany','initData','locale','data','ready','_operationIdentifier','multi-root-editor-root-attributes-no-root','offset','_getAffectedRoot','start','409','model','_channelId','baseVersion','917080aPmsKp','compress','return','type','set','realtimecollaborationclient-handleserverresponse','metadata','_decompressOperations','realtimecollaborationclient-error','lastOperationId','mySessionId','plugins','_baseBufferDelay','real-time-collaboration','addRootAttribute','editing','_knownOperations','isReadOnly','size','7FSOMvd','reset','getRoot','_refreshUserSelectionMarkers','Permissions','wasUndone','addRoot','getConnectedSessions','map','disconnected','setIdForTheLastOperation','connect','finally','_disconnectionOperations','roots','rootsAttributes','string','_initSessionsHandling','_isAttached','insert','_connectAfterSessionHasBeenFlushed','version','createRange','document','fromJSON','141346yBLGEt','rtc-destroyed','has','fire','showWarning','addUser','799356AaFjed','rootName','_bufferRootLoad','_shouldSendSelectionUpdate','_isDisconnection','requires','CommentsOnly','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.','lastDocumentSession','change:_isPendingUpdate','round','createPositionAt','_handleReconnectionError','isUndoneOperation','_lastSyncedOperationId','_ignoredOperations','includes','entries','reconnect','sessionAdd:','filter','realtimecollaborationclient-init-service-internal-error','decompress','realtimecollaborationclient-init-non-existent-root','wereChangesApplied','from','channelSessions','getOperations','_setPendingAction','_authorId','unregister','_waitUntilSynced','InsertOperation','end','affectsData','realtimecollaborationclient-sendbufferedoperations','code','change:range','cloudServices.bundleVersion','_setUpDataInit','createPositionFromPath','differ','_isPendingUpdate','length','collaboration.channelId','realtimecollaborationclient-init-session-connection-error','477932KGACIp','_sendBufferedOperationsDelayId','startsWith','getOperationAuthor','define','_knownRootNames','_disconnectService','_sendBufferedOperations','_isConnected','getUser','sessionCreatedAt','currentDocumentSession','lastOperationAcceptedAt','high','Notification','_service','removeFromReconnectionStack','connection','change:_isEditingAllowed','destroy','_offset','enableReadOnlyMode','_isLoaded','addToReconnectionStack','register','15346TPZGEf','cloud-services-internal-error:\x20Not\x20connected.','_sendBufferedOperationsDelayed','collaboration-missing-channelid','parse','_handleReconnectionResponse','remove','_getOperationsFromInitData','createUserMarkerOperations','_shouldSendUpdate','156920phbpuK','_addKnownRoot','_currentBufferDelay','change:hasDomSelection','path','realtimecollaborationclient-init-document-already-initialized','_handleExternalOperations','applyOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','realtimecollaborationclient-init-connection-failed','$root','add','disableReadOnlyMode','affectedSelectable','enqueueChange','cloudDocumentVersion','catch','apply','clone'];_0x577d=function(){return _0x300f9b;};return _0x577d();}export class RealTimeCollaborationClient extends _0x1e19db{static [_0x3e676d(0x189)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4b126a)());[_0x3e676d(0x142)];[_0x3e676d(0x172)];[_0x3e676d(0x1a2)];[_0x3e676d(0x1d0)];[_0x3e676d(0x13d)];[_0x3e676d(0x18d)];[_0x3e676d(0x183)];[_0x3e676d(0x1ae)];[_0x3e676d(0x1e2)];[_0x3e676d(0x133)];[_0x3e676d(0x1a4)];[_0x3e676d(0x195)];[_0x3e676d(0x12f)];[_0x3e676d(0x1de)];[_0x3e676d(0x153)];[_0x3e676d(0x10e)];[_0x3e676d(0x1f2)];[_0x3e676d(0x1c9)];static get[_0x3e676d(0x105)](){return[_0x46d954,_0x19bfc9,_0x16c185,_0x2e23c2,_0x2a2d9c,_0x4f5eea];}static get[_0x3e676d(0x166)](){const _0x5b4e49=_0x3e676d;return _0x5b4e49(0x1be);}static get[_0x3e676d(0x1a7)](){return!0x0;}static get[_0x3e676d(0x176)](){return!0x0;}get[_0x3e676d(0x161)](){const _0x53afb4=_0x3e676d;return this[_0x53afb4(0x1b8)]+this[_0x53afb4(0x142)];}get[_0x3e676d(0x1b8)](){const _0x41b03f=_0x3e676d;return this[_0x41b03f(0x1a2)][_0x41b03f(0xf6)]-this[_0x41b03f(0x142)];}get[_0x3e676d(0x17a)](){const _0x11a4e2=_0x3e676d,_0x1d3f40=this[_0x11a4e2(0x1a2)][_0x11a4e2(0x11b)]();for(let _0x16c9b4=_0x1d3f40[_0x11a4e2(0x12b)]-0x1;_0x16c9b4>=0x0;_0x16c9b4--){const _0x1d77f7=_0x1d3f40[_0x16c9b4];if(!this[_0x11a4e2(0x1f2)][_0x11a4e2(0xfc)](_0x1d77f7))return _0x1d77f7[_0x11a4e2(0x1d1)]+0x1-this[_0x11a4e2(0x142)];}return 0x0;}constructor(_0x531108){const _0x4e362b=_0x3e676d;if(super(_0x531108),this[_0x4e362b(0x142)]=0x0,this[_0x4e362b(0x172)]=null,this[_0x4e362b(0x1a2)]=new _0x53c737(),this[_0x4e362b(0x199)][_0x4e362b(0x1a3)][_0x4e362b(0x132)](_0x4e362b(0x1c1),{}),this[_0x4e362b(0x1d0)]=this[_0x4e362b(0x199)][_0x4e362b(0x1a3)][_0x4e362b(0x1b2)](_0x4e362b(0x12c)),!this[_0x4e362b(0x1d0)])throw new _0x49fa3b(_0x4e362b(0x14a),this);const _0x544895=_0x531108[_0x4e362b(0x1a3)][_0x4e362b(0x1b2)](_0x4e362b(0x126))||_0x3b727f;this[_0x4e362b(0x13d)]=new RealTimeCollaborationClient[(_0x4e362b(0x189))](_0x544895,this[_0x4e362b(0x1d0)]),this[_0x4e362b(0x18d)]=this[_0x4e362b(0x199)][_0x4e362b(0x1cf)][_0x4e362b(0xf8)],this[_0x4e362b(0x183)]=new _0x442e7b(),this[_0x4e362b(0x1ae)]=[],this[_0x4e362b(0x1e2)]=new WeakSet(),this[_0x4e362b(0x133)]=new Set(),this[_0x4e362b(0x1d6)](_0x4e362b(0x12a),!0x1),this[_0x4e362b(0x1d6)](_0x4e362b(0x186),!0x1),this[_0x4e362b(0x1a4)]=null,this[_0x4e362b(0x195)]=!0x1,this[_0x4e362b(0x12f)]=null,this[_0x4e362b(0x1de)]=0x12c,this[_0x4e362b(0x153)]=this[_0x4e362b(0x1de)],this[_0x4e362b(0x10e)]=null,this[_0x4e362b(0x1f2)]=new WeakSet(),this[_0x4e362b(0x1c9)]=new Z(this[_0x4e362b(0x1f2)]);}[_0x3e676d(0x192)](){const _0x291b29=_0x3e676d,_0x3bfb71=this[_0x291b29(0x199)],_0x272e6a=_0x3bfb71[_0x291b29(0x1dd)][_0x291b29(0x1b2)](_0x2a2d9c),_0x58cf2c=_0x3bfb71[_0x291b29(0x1dd)][_0x291b29(0x1b2)](_0x46d954);this[_0x291b29(0x179)](_0x272e6a,_0x291b29(0x131),(_0x298832,_0x233272)=>{const _0x250580=_0x291b29,_0x5bf32a=_0x233272[0x0];_0x5bf32a[_0x250580(0x11d)]&&(_0x298832[_0x250580(0x1d4)]=_0x272e6a[_0x250580(0x137)](_0x5bf32a[_0x250580(0x11d)]),_0x298832[_0x250580(0x18c)]()),null===_0x5bf32a[_0x250580(0x11d)]&&(_0x298832[_0x250580(0x1d4)]=null,_0x298832[_0x250580(0x18c)]());},{'priority':_0x291b29(0x13b)}),this[_0x291b29(0x179)](_0x3bfb71[_0x291b29(0x1cf)][_0x291b29(0xf8)][_0x291b29(0x18a)],_0x291b29(0x125),(_0x1177d9,_0x16faf6)=>{const _0x378976=_0x291b29;_0x16faf6[_0x378976(0x178)]&&this[_0x378976(0x1e8)]();}),this[_0x291b29(0x179)](_0x3bfb71[_0x291b29(0x1e1)][_0x291b29(0x1b6)],_0x291b29(0x154),()=>{const _0x3574a5=_0x291b29;this[_0x3574a5(0x1e8)]();}),this[_0x291b29(0x17d)](),_0x3bfb71[_0x291b29(0x1cf)]['on'](_0x291b29(0x158),(_0x10743f,_0x3efc04)=>{const _0x39afeb=_0x291b29,_0x58f13f=_0x3efc04[0x0];_0x58f13f[_0x39afeb(0x1b5)]&&(this[_0x39afeb(0x1a9)](_0x58f13f),this[_0x39afeb(0x150)]()&&this[_0x39afeb(0x149)]());}),this[_0x291b29(0x127)](),this[_0x291b29(0x167)](_0x291b29(0x177))['to'](_0x58cf2c,_0x291b29(0x169),this,_0x291b29(0x186),(_0x1613fb,_0x2f555b)=>_0x291b29(0x18b)===_0x1613fb&&!_0x2f555b),this['on'](_0x291b29(0x140),()=>{const _0x958c5a=_0x291b29;this[_0x958c5a(0x177)]?_0x3bfb71[_0x958c5a(0x15e)](_0x958c5a(0x184)):_0x3bfb71[_0x958c5a(0x143)](_0x958c5a(0x184));}),this[_0x291b29(0x177)]?_0x3bfb71[_0x291b29(0x15e)](_0x291b29(0x184)):_0x3bfb71[_0x291b29(0x143)](_0x291b29(0x184)),this[_0x291b29(0x1d6)](_0x291b29(0x136),!0x1);}async[_0x3e676d(0x112)](){const _0x11669a=_0x3e676d,_0x27b0fd=this[_0x11669a(0x199)][_0x11669a(0x1dd)][_0x11669a(0x1b2)](_0x19bfc9),_0x27e7cf=this[_0x11669a(0x199)][_0x11669a(0x1dd)][_0x11669a(0x1b2)](_0x46d954);try{this[_0x11669a(0x12a)]=!0x0,_0x27b0fd[_0x11669a(0x11e)](this[_0x11669a(0x1d0)]);const _0xfa6fb=await this[_0x11669a(0x13d)][_0x11669a(0x112)](_0x27e7cf[_0x11669a(0x13f)],this[_0x11669a(0x17a)]);await this[_0x11669a(0x14c)](_0xfa6fb)&&(this[_0x11669a(0x12a)]=!0x1,this[_0x11669a(0x1b9)]());const _0x9f1d52=await this[_0x11669a(0x13d)][_0x11669a(0x1ec)]();_0x27b0fd[_0x11669a(0x146)](this[_0x11669a(0x1d0)],_0x9f1d52),this[_0x11669a(0x19b)](),this[_0x11669a(0x136)]=!0x0;}catch(_0x2f19ee){if(function(_0x1ca3ad){const _0x40fb50=_0x11669a;return _0x40fb50(0x16c)===_0x1ca3ad[_0x40fb50(0x124)];}(_0x2f19ee)&&this[_0x11669a(0x172)])await this[_0x11669a(0xf5)]();else{if(function(_0x45ba32){const _0x28333d=_0x11669a;return _0x28333d(0x1ce)===_0x45ba32[_0x28333d(0x124)];}(_0x2f19ee)){const _0x1749c1=_0x39755b(this[_0x11669a(0x199)][_0x11669a(0x1c6)],_0x11669a(0x171));this[_0x11669a(0x10c)](_0x1749c1);}else{if(!(_0x2f19ee instanceof X))throw _0x2f19ee;this[_0x11669a(0x10c)]();}}}}[_0x3e676d(0x141)](){const _0x56ee4b=_0x3e676d,_0x59bc77=this[_0x56ee4b(0x199)][_0x56ee4b(0x1dd)][_0x56ee4b(0x1b2)](_0x46d954),_0x1cbf5d=this[_0x56ee4b(0x199)][_0x56ee4b(0x1dd)][_0x56ee4b(0x1b2)](_0x19bfc9);this[_0x56ee4b(0x199)][_0x56ee4b(0x143)](_0x56ee4b(0xfb)),_0x1cbf5d[_0x56ee4b(0x11a)][_0x56ee4b(0xfc)](this[_0x56ee4b(0x1d0)])&&_0x1cbf5d[_0x56ee4b(0x11e)](this[_0x56ee4b(0x1d0)]),_0x59bc77[_0x56ee4b(0x13e)](this),this[_0x56ee4b(0x134)](),super[_0x56ee4b(0x141)]();}async[_0x3e676d(0x14c)](_0x22464b){const _0x4630fc=_0x3e676d;if(this[_0x4630fc(0x172)]!==_0x22464b[_0x4630fc(0x172)]&&this[_0x4630fc(0x10e)]!==_0x22464b[_0x4630fc(0x1db)])throw new X();return this[_0x4630fc(0x172)]=_0x22464b[_0x4630fc(0x172)],this[_0x4630fc(0x175)]([],{..._0x22464b,'wereChangesApplied':!0x1,'data':_0x22464b[_0x4630fc(0x1c7)]},_0x4630fc(0x112));}async[_0x3e676d(0x15a)](_0x3417f4,_0x25d6a0=!0x1){const _0x1a5eb1=_0x3e676d,{connection:_0x383337}=this[_0x1a5eb1(0x199)][_0x1a5eb1(0x1dd)][_0x1a5eb1(0x1b2)](_0x46d954);RealTimeCollaborationClient[_0x1a5eb1(0x189)][_0x1a5eb1(0x1ec)](_0x383337,this[_0x1a5eb1(0x1d0)])[_0x1a5eb1(0x1a8)](_0x1768b1=>this[_0x1a5eb1(0xf2)](_0x1768b1))[_0x1a5eb1(0x162)](_0x268ce9=>{const _0x37fbee=_0x1a5eb1;this[_0x37fbee(0x188)](_0x37fbee(0x12d),_0x268ce9);}),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x165),this[_0x1a5eb1(0x17f)][_0x1a5eb1(0x167)](this)),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x17b),(_0x4ad8ba,_0x247683)=>{const _0x21a6b2=_0x1a5eb1;this[_0x21a6b2(0x188)](_0x21a6b2(0x115),_0x247683);}),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x1ee),()=>{const _0x4b3ad1=_0x1a5eb1;this[_0x4b3ad1(0x136)]=!0x1;});const _0x19c3d9=this[_0x1a5eb1(0x1c9)][_0x1a5eb1(0x1ba)](_0x3417f4);this[_0x1a5eb1(0x12a)]=!0x0;const _0x104049=await this[_0x1a5eb1(0x13d)][_0x1a5eb1(0x1f0)](_0x383337,this[_0x1a5eb1(0x181)](_0x3417f4),_0x19c3d9);if(this[_0x1a5eb1(0x172)]=_0x104049[_0x1a5eb1(0x172)],_0x25d6a0){if(!_0x104049[_0x1a5eb1(0x118)])return void this[_0x1a5eb1(0x10c)]();this[_0x1a5eb1(0x12a)]=!0x1,this[_0x1a5eb1(0x1b9)](),this[_0x1a5eb1(0x1a2)][_0x1a5eb1(0x1e6)](),this[_0x1a5eb1(0x142)]=_0x104049[_0x1a5eb1(0x1cb)],this[_0x1a5eb1(0x1a2)][_0x1a5eb1(0xf6)]=this[_0x1a5eb1(0x142)],await this[_0x1a5eb1(0x175)](_0x3417f4,_0x104049,_0x1a5eb1(0x190));}else await this[_0x1a5eb1(0x19d)](_0x104049,_0x3417f4);this[_0x1a5eb1(0x19b)](),this[_0x1a5eb1(0x136)]=!0x0;}[_0x3e676d(0x19b)](){const _0x144c5f=_0x3e676d,_0x414ef3=this[_0x144c5f(0x199)][_0x144c5f(0x1dd)][_0x144c5f(0x1b2)](_0x19bfc9),_0x1b28c1=this[_0x144c5f(0x199)][_0x144c5f(0x1dd)][_0x144c5f(0x1b2)](_0x16c185),_0x41ac45=_0x414ef3[_0x144c5f(0x11a)][_0x144c5f(0x1b2)](this[_0x144c5f(0x1d0)]);_0x41ac45&&_0x41ac45[_0x144c5f(0x12b)]>0x1?_0x1b28c1[_0x144c5f(0x14f)]():this[_0x144c5f(0x179)](_0x414ef3,_0x144c5f(0x113)+this[_0x144c5f(0x1d0)],()=>{const _0x4f77fe=_0x144c5f;0x2===_0x414ef3[_0x4f77fe(0x11a)][_0x4f77fe(0x1b2)](this[_0x4f77fe(0x1d0)])[_0x4f77fe(0x12b)]&&_0x1b28c1[_0x4f77fe(0x14f)]();});}async[_0x3e676d(0x17f)](_0x20d424,_0x1c9f0a,_0x5e7cb6,_0x55a266){const _0x5b8791=_0x3e676d;if(!this[_0x5b8791(0x12a)]&&this[_0x5b8791(0x18d)][_0x5b8791(0xf6)]==_0x1c9f0a){const _0x26f981=this[_0x5b8791(0x1d9)](_0x5e7cb6,_0x55a266);await this[_0x5b8791(0x173)](_0x26f981),this[_0x5b8791(0x157)](_0x26f981,_0x1c9f0a,_0x5e7cb6[_0x5b8791(0x1db)])||this[_0x5b8791(0x188)](_0x5b8791(0x1bb));}}async[_0x3e676d(0xf5)](){const _0x1fa275=_0x3e676d;this[_0x1fa275(0x134)]();const {locale:_0x49d075}=this[_0x1fa275(0x199)];let _0xb76c87;try{_0xb76c87=await this[_0x1fa275(0x13d)][_0x1fa275(0x16d)]();}catch{const _0x3ef3b4=_0x39755b(_0x49d075,_0x1fa275(0x159));return void this[_0x1fa275(0x10c)](_0x3ef3b4);}const _0x233f69=_0xb76c87[_0x1fa275(0x139)]||_0xb76c87[_0x1fa275(0x108)];if(this[_0x1fa275(0x10e)]!==_0x233f69[_0x1fa275(0x1db)]){const _0x22011e=_0x39755b(_0x49d075,_0x1fa275(0x107));return void this[_0x1fa275(0x10c)](_0x22011e);}await this[_0x1fa275(0x15a)](this[_0x1fa275(0x199)][_0x1fa275(0x1cf)][_0x1fa275(0xf8)][_0x1fa275(0x170)][_0x1fa275(0x11b)](),!0x0);}[_0x3e676d(0x134)](){const _0x3648bf=_0x3e676d;this[_0x3648bf(0x13d)][_0x3648bf(0x1a5)](),this[_0x3648bf(0x1ae)]=[],clearTimeout(this[_0x3648bf(0x12f)]),this[_0x3648bf(0x197)](this[_0x3648bf(0x13d)]);}[_0x3e676d(0xf2)](_0x99e3b1){const _0x10ed75=_0x3e676d,_0x5b21bc=this[_0x10ed75(0x199)][_0x10ed75(0x1dd)][_0x10ed75(0x1b2)](_0x19bfc9);this[_0x10ed75(0x179)](_0x5b21bc,_0x10ed75(0x113)+this[_0x10ed75(0x1d0)],(_0x3e05a0,{session:_0x4dcbb3})=>{const _0x211b16=_0x10ed75;if(_0x4dcbb3['id']===_0x5b21bc[_0x211b16(0x1dc)]){_0x3e05a0[_0x211b16(0x198)]();const _0x1604b7=this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0xfc)](_0x211b16(0x106))&&this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0x1b2)](_0x211b16(0x106));let _0x16990d=_0x4dcbb3[_0x211b16(0x168)];_0x1604b7&&_0x1604b7[_0x211b16(0x1b4)]&&(_0x16990d=_0x16990d[_0x211b16(0x114)](_0x43a9d9=>_0x211b16(0x1ab)!==_0x43a9d9)),this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0x1b2)](_0x211b16(0x1e9))[_0x211b16(0x17c)](_0x16990d,this[_0x211b16(0x1d0)]);}}),_0x5b21bc[_0x10ed75(0x146)](this[_0x10ed75(0x1d0)],_0x99e3b1);}[_0x3e676d(0x17d)](){const _0x4e80b6=_0x3e676d,_0x52e42b=this[_0x4e80b6(0x199)][_0x4e80b6(0x1c7)][_0x4e80b6(0x1d6)];this[_0x4e80b6(0x199)][_0x4e80b6(0x1c7)][_0x4e80b6(0x1d6)]=(..._0x4628d1)=>{const _0x6d3389=_0x4e80b6;if(!_0x4628d1[_0x4628d1[_0x6d3389(0x12b)]-0x1][_0x6d3389(0x1a1)])throw new _0x49fa3b(_0x6d3389(0x1b0),this);_0x52e42b[_0x6d3389(0x163)](this[_0x6d3389(0x199)][_0x6d3389(0x1c7)],_0x4628d1);};}[_0x3e676d(0x127)](){const _0x1264b2=_0x3e676d;this[_0x1264b2(0x199)][_0x1264b2(0x1c7)]['on'](_0x1264b2(0x192),(_0x4aebf0,[_0x33158c])=>{const _0x60847c=_0x1264b2;if(this[_0x60847c(0x18d)][_0x60847c(0xf6)])throw new _0x49fa3b(_0x60847c(0x156),this);_0x4aebf0[_0x60847c(0x18c)](),this[_0x60847c(0x11c)]();const _0xa8d96e=this[_0x60847c(0x199)][_0x60847c(0x1a3)][_0x60847c(0x1b2)](_0x60847c(0x1f4)),_0x4d3792=this[_0x60847c(0x14e)](_0x33158c,_0xa8d96e);0x0==_0x4d3792[_0x60847c(0x12b)]&&_0x4d3792[_0x60847c(0x185)](new _0x27e38f(0x0)),_0x4aebf0[_0x60847c(0x1d4)]=this[_0x60847c(0x15a)](_0x4d3792)[_0x60847c(0x1a8)](()=>{const _0x48c9ce=_0x60847c;this[_0x48c9ce(0x199)][_0x48c9ce(0x1dd)][_0x48c9ce(0x1b2)](_0x46d954)[_0x48c9ce(0x145)](this),this[_0x48c9ce(0x199)][_0x48c9ce(0x1c7)][_0x48c9ce(0xfd)](_0x48c9ce(0x1c8));})[_0x60847c(0x162)](_0x536cc5=>this[_0x60847c(0x188)](_0x60847c(0x15b),_0x536cc5))[_0x60847c(0x1f1)](()=>this[_0x60847c(0x1b9)]());},{'priority':_0x1264b2(0x13b)}),this[_0x1264b2(0x199)]['on'](_0x1264b2(0x1af),async(_0x3c7b8c,[_0x432d3d,_0x10d8a5])=>{const _0x513260=_0x1264b2;_0x3c7b8c[_0x513260(0x18c)]();const _0x16790c=this[_0x513260(0x199)][_0x513260(0x1cf)][_0x513260(0xf8)][_0x513260(0x1e7)](_0x432d3d);if(!this[_0x513260(0x133)][_0x513260(0xfc)](_0x432d3d)){const _0xe99029=_0x10d8a5&&_0x10d8a5[_0x513260(0x1c7)]?_0x10d8a5[_0x513260(0x1c7)]:'',_0x16d2ae=_0x10d8a5&&_0x10d8a5[_0x513260(0x1a0)]?_0x10d8a5[_0x513260(0x1a0)]:{};await this[_0x513260(0x182)](_0x432d3d,_0xe99029,_0x16d2ae);}this[_0x513260(0x199)][_0x513260(0x1cf)][_0x513260(0x160)]({'isUndoable':!0x1},()=>{const _0x6eb88a=_0x513260;_0x16790c[_0x6eb88a(0x144)]=!0x0,this[_0x6eb88a(0x199)][_0x6eb88a(0x1cf)][_0x6eb88a(0xf8)][_0x6eb88a(0x129)][_0x6eb88a(0x102)](_0x16790c);});},{'priority':_0x1264b2(0x13b)});}async[_0x3e676d(0x173)](_0x3c6283){const _0x3235d7=_0x3e676d,_0x1b20c3=this[_0x3235d7(0x199)][_0x3235d7(0x1dd)][_0x3235d7(0x1b2)](_0x2a2d9c),{connection:_0x579abd}=this[_0x3235d7(0x199)][_0x3235d7(0x1dd)][_0x3235d7(0x1b2)](_0x46d954),_0x4e052b=new Set();for(const _0x3d001e of _0x3c6283){const _0x116c67=_0x3d001e[_0x3235d7(0x11d)];_0x116c67&&!_0x1b20c3[_0x3235d7(0x137)](_0x116c67)&&_0x4e052b[_0x3235d7(0x15d)](_0x116c67);}if(0x0===_0x4e052b[_0x3235d7(0x1e4)])return;const _0x4f8f9a=await _0x2c333a[_0x3235d7(0x1c4)](_0x579abd,Array[_0x3235d7(0x119)](_0x4e052b));for(const _0x315bb4 of _0x4f8f9a)_0x1b20c3[_0x3235d7(0x137)](_0x315bb4['id'])||_0x1b20c3[_0x3235d7(0xff)](_0x315bb4);}[_0x3e676d(0x14e)](_0x351609,_0x4f78b3={}){const _0x565c31=_0x3e676d,_0x2d55f7=this[_0x565c31(0x199)][_0x565c31(0x1cf)],_0x408341=[];let _0x23ba42=0x0;const _0x1e9540=_0x565c31(0xf1)==typeof _0x351609?{'main':_0x351609}:_0x351609;for(const _0x2d8c75 of Object[_0x565c31(0x191)](_0x1e9540)){if(!this[_0x565c31(0x18d)][_0x565c31(0x1f3)][_0x565c31(0xfc)](_0x2d8c75))throw new _0x49fa3b(_0x565c31(0x117),this);const _0x344d59=this[_0x565c31(0x199)][_0x565c31(0x1c7)][_0x565c31(0x14b)](_0x1e9540[_0x2d8c75]),_0x328ed0=this[_0x565c31(0x18d)][_0x565c31(0x1e7)](_0x2d8c75),_0x42f07b=new _0x53d1c3(_0x2d55f7[_0x565c31(0x10b)](_0x328ed0,0x0),_0x344d59,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0x42f07b);for(const [_0x3997a5,_0x54a107]of _0x344d59[_0x565c31(0x19a)]){const _0xb966c5=_0x2d55f7[_0x565c31(0xf7)](_0x2d55f7[_0x565c31(0x128)](_0x328ed0,_0x54a107[_0x565c31(0x1cd)][_0x565c31(0x155)][_0x565c31(0x1a6)]()),_0x2d55f7[_0x565c31(0x128)](_0x328ed0,_0x54a107[_0x565c31(0x121)][_0x565c31(0x155)][_0x565c31(0x1a6)]())),_0x23eeac=new _0x4fa8bc(_0x3997a5,null,_0xb966c5,_0x2d55f7[_0x565c31(0x19a)],!0x0,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0x23eeac);}}if(_0x4f78b3)for(const [_0x324679,_0x1e1a1f]of Object[_0x565c31(0x111)](_0x4f78b3)){const _0x4c6bc9=_0x2d55f7[_0x565c31(0xf8)][_0x565c31(0x1e7)](_0x324679);if(!_0x4c6bc9)throw new _0x49fa3b(_0x565c31(0x1ca),null);for(const [_0x2df6c6,_0x35be7a]of Object[_0x565c31(0x111)](_0x1e1a1f))if(null!==_0x35be7a){const _0xb0457a=new _0x725b45(_0x4c6bc9,_0x2df6c6,null,_0x35be7a,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0xb0457a);}}return _0x408341;}async[_0x3e676d(0x182)](_0x1be60f,_0x2cd54e,_0x3ba9ed){const _0x4c4969=_0x3e676d;this[_0x4c4969(0x14e)]({[_0x1be60f]:_0x2cd54e},{[_0x1be60f]:_0x3ba9ed})[_0x4c4969(0x194)]((_0x42fd26,_0x2eeeeb)=>{const _0x2e7e67=_0x4c4969;_0x42fd26[_0x2e7e67(0x1d1)]=this[_0x2e7e67(0x18d)][_0x2e7e67(0xf6)]+_0x2eeeeb,_0x42fd26[_0x2e7e67(0x1c2)]=!0x0,this[_0x2e7e67(0x1a9)](_0x42fd26);}),this[_0x4c4969(0x149)](),await this[_0x4c4969(0x11f)]();}async[_0x3e676d(0x19d)](_0x1f662e,_0x352cee){const _0x1fd809=_0x3e676d;let _0x2333ba;this[_0x1fd809(0x142)]=_0x1f662e[_0x1fd809(0x1cb)];const _0x52da65=_0x1f662e[_0x1fd809(0x118)]&&!_0x1f662e[_0x1fd809(0x1c5)],_0x32ccb9=_0x52da65?0x0:_0x1f662e[_0x1fd809(0x1c7)][_0x1fd809(0x1d1)];if(_0x352cee[_0x1fd809(0x194)](_0x30e2e2=>{const _0x2f47c8=_0x1fd809;_0x30e2e2[_0x2f47c8(0x1c2)]=!0x0,_0x30e2e2[_0x2f47c8(0x1bc)]=_0x1f662e[_0x2f47c8(0x138)],_0x30e2e2[_0x2f47c8(0x11d)]=null;}),_0x52da65)_0x2333ba=_0x352cee,this[_0x1fd809(0x16f)](_0x2333ba,_0x52da65);else{if(_0x1f662e[_0x1fd809(0x1c5)]){const _0x1d82a7=this[_0x1fd809(0x14e)](_0x1f662e[_0x1fd809(0x1c5)]);this[_0x1fd809(0x18d)][_0x1fd809(0x170)][_0x1fd809(0xf6)]=-_0x1d82a7[_0x1fd809(0x12b)],_0x1d82a7[_0x1fd809(0x194)](_0x5e2dad=>{const _0x2c277c=_0x1fd809;_0x5e2dad[_0x2c277c(0x1d1)]-=_0x1d82a7[_0x2c277c(0x12b)],_0x5e2dad[_0x2c277c(0x1bc)]=_0x1f662e[_0x2c277c(0x138)],_0x5e2dad[_0x2c277c(0x1c2)]=!0x0,_0x5e2dad[_0x2c277c(0x11d)]=null;}),this[_0x1fd809(0x16f)](_0x1d82a7,!0x0),this[_0x1fd809(0x1a2)][_0x1fd809(0xf6)]=-_0x1d82a7[_0x1fd809(0x12b)]+this[_0x1fd809(0x142)],this[_0x1fd809(0x18f)](_0x1d82a7);}this[_0x1fd809(0x18d)][_0x1fd809(0x170)][_0x1fd809(0xf6)]=_0x32ccb9,_0x2333ba=this[_0x1fd809(0x1d9)](_0x1f662e[_0x1fd809(0x1c7)],_0x1f662e[_0x1fd809(0x1d8)]),await this[_0x1fd809(0x173)](_0x2333ba),this[_0x1fd809(0x16f)](_0x2333ba,_0x52da65);}_0x1f662e[_0x1fd809(0x1db)]&&(this[_0x1fd809(0x1c9)][_0x1fd809(0x1ef)](_0x2333ba,_0x1f662e[_0x1fd809(0x1db)]),this[_0x1fd809(0x10e)]=_0x1f662e[_0x1fd809(0x1db)]),this[_0x1fd809(0x1a2)][_0x1fd809(0xf6)]=_0x32ccb9+this[_0x1fd809(0x142)],this[_0x1fd809(0x18f)](_0x2333ba),_0x352cee[_0x1fd809(0x114)](_0x1f9309=>{const _0x3faf3b=_0x1fd809,_0x1fb407=this[_0x3faf3b(0x1cc)](_0x1f9309);return _0x1fb407&&!this[_0x3faf3b(0x133)][_0x3faf3b(0xfc)](_0x1fb407);})[_0x1fd809(0x194)]((_0x4479cf,_0x395990)=>{const _0xf32cd0=_0x1fd809;_0x4479cf[_0xf32cd0(0x1d1)]=this[_0xf32cd0(0x18d)][_0xf32cd0(0xf6)]+_0x395990,this[_0xf32cd0(0x1a9)](_0x4479cf);}),this[_0x1fd809(0x150)]()?(this[_0x1fd809(0x153)]=0x0,this[_0x1fd809(0x149)](!0x0),await this[_0x1fd809(0x11f)]()):(this[_0x1fd809(0x12a)]=!0x1,this[_0x1fd809(0x1b9)]());}[_0x3e676d(0x188)](_0x3a33d8,_0x270e51){const _0x49ca69=_0x3e676d,_0x2bbdd9=_0x270e51&&_0x270e51[_0x49ca69(0x1ad)];if(_0x2bbdd9&&_0x2bbdd9[_0x49ca69(0x130)](_0x49ca69(0x16e)))throw _0x270e51;const _0x6a14df=this[_0x49ca69(0x199)][_0x49ca69(0x1dd)][_0x49ca69(0x1b2)](_0x46d954);throw this[_0x49ca69(0x12a)]=!0x0,_0x6a14df[_0x49ca69(0x1a5)](),this[_0x49ca69(0x199)][_0x49ca69(0x143)](_0x49ca69(0x1da)),new _0x49fa3b(_0x3a33d8,this[_0x49ca69(0x199)],_0x2bbdd9?{'originalError':_0x2bbdd9}:void 0x0);}[_0x3e676d(0x1a9)](_0x44a09b){const _0x2c2eae=_0x3e676d;this[_0x2c2eae(0x1e2)][_0x2c2eae(0xfc)](_0x44a09b)||(this[_0x2c2eae(0x1e2)][_0x2c2eae(0x15d)](_0x44a09b),this[_0x2c2eae(0x1ae)][_0x2c2eae(0x185)](_0x44a09b),this[_0x2c2eae(0x1a4)]||_0x2c2eae(0x1c0)==_0x44a09b[_0x2c2eae(0x1d5)]&&!_0x44a09b[_0x2c2eae(0x122)]||this[_0x2c2eae(0x11c)]());}[_0x3e676d(0x149)](_0x563637=!0x1){const _0x369111=_0x3e676d;!_0x563637&&this[_0x369111(0x12a)]||(this[_0x369111(0x12a)]=!0x0,clearTimeout(this[_0x369111(0x12f)]),this[_0x369111(0x12f)]=setTimeout(()=>{const _0x3e1a4d=_0x369111;this[_0x3e1a4d(0x135)]()[_0x3e1a4d(0x1a8)](_0x1e45f5=>{const _0x2ba2fb=_0x3e1a4d;_0x1e45f5&&(this[_0x2ba2fb(0x1b9)](),this[_0x2ba2fb(0x12a)]=!0x1);})[_0x3e1a4d(0x162)](_0x3e1a3d=>{const _0x15594a=_0x3e1a4d;this[_0x15594a(0x1b9)](),this[_0x15594a(0x12a)]=!0x1,function(_0x47e442){const _0x47d52a=_0x15594a;return _0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x148))||_0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x1c3))||_0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x1b3));}(_0x3e1a3d)||this[_0x15594a(0x188)](_0x3e1a3d[_0x15594a(0x1ad)],_0x3e1a3d);});},this[_0x369111(0x153)]));}[_0x3e676d(0x11f)](){return new Promise(_0x2850c1=>{const _0x6bdff=_0x16ad;this['on'](_0x6bdff(0x109),()=>{_0x2850c1();});});}async[_0x3e676d(0x135)](){const _0x179e36=_0x3e676d,_0x5b0ec2=this[_0x179e36(0x199)][_0x179e36(0x1dd)][_0x179e36(0x1b2)](_0x16c185);if(this[_0x179e36(0x103)]()&&(_0x5b0ec2[_0x179e36(0x14f)](),this[_0x179e36(0x195)]=!0x1),!this[_0x179e36(0x150)]())return!0x0;const _0x10e6f8=[...this[_0x179e36(0x1ae)]];for(const _0x1105d3 of _0x10e6f8)_0x1105d3[_0x179e36(0x1ea)]=this[_0x179e36(0x18d)][_0x179e36(0x170)][_0x179e36(0x10d)](_0x1105d3);const _0x3c9e6e=this[_0x179e36(0x1c9)][_0x179e36(0x1ba)](_0x10e6f8),_0x28ae23=Q++,_0x4c3cdc=this[_0x179e36(0x181)](_0x10e6f8),_0x3f748a=await this[_0x179e36(0x13d)][_0x179e36(0x1bf)](_0x4c3cdc,_0x4c3cdc[_0x179e36(0x1d1)],_0x3c9e6e);try{return await this[_0x179e36(0x175)](_0x10e6f8,_0x3f748a,_0x28ae23);}catch(_0x5627c6){return this[_0x179e36(0x188)](_0x179e36(0x123),_0x5627c6);}}async[_0x3e676d(0x175)](_0x3ef044,_0x2bcf0e,_0x88588a){const _0x44bc69=_0x3e676d;if(_0x44bc69(0x17b)in _0x2bcf0e)throw _0x2bcf0e[_0x44bc69(0x17b)];let _0x53da9e=!0x1;if(_0x2bcf0e[_0x44bc69(0x118)]){_0x2bcf0e[_0x44bc69(0x1db)]&&(this[_0x44bc69(0x10e)]=_0x2bcf0e[_0x44bc69(0x1db)]),this[_0x44bc69(0x1ae)]=this[_0x44bc69(0x1ae)][_0x44bc69(0x114)](_0x220689=>!_0x3ef044[_0x44bc69(0x110)](_0x220689));for(const _0x27f78f of _0x3ef044)_0x27f78f[_0x44bc69(0x1bc)]=_0x44bc69(0x13a)in _0x2bcf0e&&_0x2bcf0e[_0x44bc69(0x13a)]||void 0x0;Y(_0x3ef044,_0x2bcf0e[_0x44bc69(0xf6)]-_0x3ef044[_0x44bc69(0x12b)]),this[_0x44bc69(0x18f)](_0x3ef044);const _0x200728=_0x3ef044[_0x44bc69(0x114)](_0x2ac4f6=>{const _0x17222a=_0x44bc69;if(!_0x2ac4f6[_0x17222a(0x1c2)])return!0x1;const _0x181e82=this[_0x17222a(0x1cc)](_0x2ac4f6);return _0x181e82&&!this[_0x17222a(0x133)][_0x17222a(0xfc)](_0x181e82);});Y(_0x200728,this[_0x44bc69(0x18d)][_0x44bc69(0xf6)]),this[_0x44bc69(0x16f)](_0x200728),_0x53da9e=!0x0,this[_0x44bc69(0x153)]=this[_0x44bc69(0x1de)];}else{const _0x529f7b=this[_0x44bc69(0x1d9)](_0x2bcf0e[_0x44bc69(0x1c7)],_0x2bcf0e[_0x44bc69(0x1d8)])[_0x44bc69(0x114)](_0x4b4951=>_0x4b4951[_0x44bc69(0x1d1)]>=this[_0x44bc69(0x1b8)]);_0x529f7b[_0x44bc69(0x194)](_0x2c267f=>this[_0x44bc69(0x152)](_0x2c267f)),this[_0x44bc69(0x1ae)]=this[_0x44bc69(0x1ae)][_0x44bc69(0x114)](_0x3aa1d8=>!_0x3aa1d8[_0x44bc69(0x1c2)]||!this[_0x44bc69(0x133)][_0x44bc69(0xfc)](this[_0x44bc69(0x1cc)](_0x3aa1d8))),this[_0x44bc69(0x1ae)][_0x44bc69(0x12b)]&&Y(this[_0x44bc69(0x1ae)],this[_0x44bc69(0x1ae)][0x0][_0x44bc69(0x1d1)]),await this[_0x44bc69(0x173)](_0x529f7b),_0x53da9e=this[_0x44bc69(0x157)](_0x529f7b,_0x2bcf0e[_0x44bc69(0xf6)],_0x2bcf0e[_0x44bc69(0x1db)]),this[_0x44bc69(0x153)]=Math[_0x44bc69(0x10a)](this[_0x44bc69(0x153)]/0x2);}return _0x53da9e?!this[_0x44bc69(0x150)]()||(this[_0x44bc69(0x149)](!0x0),!0x1):this[_0x44bc69(0x188)](_0x44bc69(0x1d7));}[_0x3e676d(0x157)](_0xb64061,_0x2b23a6,_0x2ae67d){const _0x32ba25=_0x3e676d;try{const _0x3730b7={'document':this[_0x32ba25(0x18d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x7d811c,operationsB:_0x1841e3,originalOperations:_0xfbbd08}=_0x4a555e(_0xb64061,this[_0x32ba25(0x1ae)],_0x3730b7);Y(_0x7d811c,this[_0x32ba25(0x18d)][_0x32ba25(0xf6)]),Y(_0x1841e3,_0x2b23a6);for(const _0x25511e of _0x7d811c){const _0x12f262=_0xfbbd08[_0x32ba25(0x1b2)](_0x25511e);_0x25511e[_0x32ba25(0x11d)]=_0x12f262?_0x12f262[_0x32ba25(0x11d)]:null;}_0x2ae67d&&(this[_0x32ba25(0x1c9)][_0x32ba25(0x1ef)](_0xb64061,_0x2ae67d),this[_0x32ba25(0x10e)]=_0x2ae67d),this[_0x32ba25(0x1ae)]=[..._0x1841e3],this[_0x32ba25(0x16f)](_0x7d811c),this[_0x32ba25(0x18f)](_0xb64061);}catch(_0xd861c7){return console[_0x32ba25(0x17b)](_0xd861c7),!0x1;}return!0x0;}[_0x3e676d(0x16f)](_0x36f5e8,_0x475a1a=!0x1){const _0x52aeaa=_0x3e676d;this[_0x52aeaa(0x199)][_0x52aeaa(0x1cf)][_0x52aeaa(0x160)]({'isUndoable':!0x1,'isLocal':!0x1},_0x33f304=>{const _0x5bb777=_0x52aeaa;for(const _0x1a45c7 of _0x36f5e8)this[_0x5bb777(0x1e2)][_0x5bb777(0x15d)](_0x1a45c7),this[_0x5bb777(0x152)](_0x1a45c7),_0x33f304[_0x5bb777(0x180)][_0x5bb777(0x193)](_0x1a45c7),this[_0x5bb777(0x199)][_0x5bb777(0x1cf)][_0x5bb777(0x158)](_0x1a45c7);});}[_0x3e676d(0x152)](_0x43acfb){const _0x4b1375=_0x3e676d,_0x3a37bc=this[_0x4b1375(0x1cc)](_0x43acfb);_0x3a37bc&&this[_0x4b1375(0x133)][_0x4b1375(0x15d)](_0x3a37bc);}[_0x3e676d(0x1cc)](_0x286e83){const _0x3f30ae=_0x3e676d;let _0x27a19e,_0x1d733f;switch(_0x286e83[_0x3f30ae(0x1d5)]){case _0x3f30ae(0xf4):_0x27a19e=_0x286e83[_0x3f30ae(0x17e)][_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1c0):if(_0x1d733f=_0x286e83[_0x3f30ae(0x1ac)],!_0x1d733f)return null;_0x27a19e=_0x1d733f[_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1e0):_0x27a19e=_0x286e83[_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1eb):_0x27a19e=_0x286e83[_0x3f30ae(0x15f)];break;case _0x3f30ae(0x174):_0x27a19e=_0x286e83[_0x3f30ae(0x1bd)][_0x3f30ae(0x16a)];break;default:return null;}return _0x27a19e[_0x3f30ae(0x101)];}[_0x3e676d(0x18f)](_0x1520f0){const _0x3dc8d6=_0x3e676d;_0x1520f0[_0x3dc8d6(0x194)](_0x21651c=>{const _0x12cfb1=_0x3dc8d6,_0x5a18c=_0x21651c[_0x12cfb1(0x164)]();_0x5a18c[_0x12cfb1(0x11d)]=_0x21651c[_0x12cfb1(0x11d)],_0x5a18c[_0x12cfb1(0x1c2)]=!!_0x21651c[_0x12cfb1(0x1c2)],_0x5a18c[_0x12cfb1(0x1bc)]=_0x21651c[_0x12cfb1(0x1bc)],_0x5a18c[_0x12cfb1(0x1d1)]+=this[_0x12cfb1(0x142)],_0x21651c[_0x12cfb1(0x104)]&&this[_0x12cfb1(0x1f2)][_0x12cfb1(0x15d)](_0x5a18c),this[_0x12cfb1(0x1a2)][_0x12cfb1(0x193)](_0x5a18c);});}[_0x3e676d(0x10c)](_0x3356e7){const _0x10c941=_0x3e676d,_0xce7920=this[_0x10c941(0x199)][_0x10c941(0x1dd)][_0x10c941(0x1b2)](_0x10c941(0x13c)),_0x1ea029=this[_0x10c941(0x199)][_0x10c941(0x1c6)];_0x3356e7||(_0x3356e7=_0x39755b(_0x1ea029,_0x10c941(0x196))),_0xce7920[_0x10c941(0xfe)](_0x3356e7,{'title':_0x39755b(_0x1ea029,_0x10c941(0x1b7)),'namespace':_0x10c941(0x1df)}),this[_0x10c941(0x186)]=!0x0,clearTimeout(this[_0x10c941(0x12f)]),this[_0x10c941(0x1ae)]=[],this[_0x10c941(0x199)][_0x10c941(0x1dd)][_0x10c941(0x1b2)](_0x46d954)[_0x10c941(0x1a5)]();}[_0x3e676d(0x11c)](){const _0x2dc561=_0x3e676d;this[_0x2dc561(0x1a4)]||(this[_0x2dc561(0x1a4)]=this[_0x2dc561(0x199)][_0x2dc561(0x1dd)][_0x2dc561(0x1b2)](_0x2e23c2)[_0x2dc561(0x15d)](_0x39755b(this[_0x2dc561(0x199)][_0x2dc561(0x1c6)],_0x2dc561(0x1b1))));}[_0x3e676d(0x1b9)](){const _0x6c4e4c=_0x3e676d;this[_0x6c4e4c(0x1a4)]&&(this[_0x6c4e4c(0x199)][_0x6c4e4c(0x1dd)][_0x6c4e4c(0x1b2)](_0x2e23c2)[_0x6c4e4c(0x14d)](this[_0x6c4e4c(0x1a4)]),this[_0x6c4e4c(0x1a4)]=null);}[_0x3e676d(0x181)](_0x46a33a){const _0x2f4618=_0x3e676d,_0x4eb7fe=_0x46a33a[_0x2f4618(0x1ed)](_0x7e98b0=>_0x7e98b0[_0x2f4618(0x19e)]());return this[_0x2f4618(0x183)][_0x2f4618(0x1d3)](_0x4eb7fe);}[_0x3e676d(0x1d9)](_0x14bc62,_0x67b09a){const _0x1b05bc=_0x3e676d;return this[_0x1b05bc(0x183)][_0x1b05bc(0x116)](_0x14bc62)[_0x1b05bc(0x1ed)]((_0x1f3220,_0x456d1e)=>{const _0x59174d=_0x1b05bc,_0x1a9630=_0x59174d(0x192)==_0x67b09a[_0x456d1e][_0x59174d(0x1d5)];if(_0x59174d(0x120)==_0x1f3220[_0x59174d(0x19c)]){const _0x35a5c3=_0x1f3220[_0x59174d(0x17e)][_0x59174d(0x16a)];!this[_0x59174d(0x18d)][_0x59174d(0x1e7)](_0x35a5c3)&&(this[_0x59174d(0x18d)][_0x59174d(0x1aa)](_0x59174d(0x15c),_0x35a5c3)[_0x59174d(0xf3)]=!0x1);}const _0x24e0d9=_0xdbfab6[_0x59174d(0xf9)](_0x1f3220,this[_0x59174d(0x18d)]);return _0x24e0d9[_0x59174d(0x1ea)]=_0x1f3220[_0x59174d(0x1ea)],_0x24e0d9[_0x59174d(0x1c2)]=_0x1a9630,_0x24e0d9[_0x59174d(0x11d)]=_0x1a9630?null:_0x67b09a[_0x456d1e][_0x59174d(0x19f)],_0x24e0d9[_0x59174d(0x104)]=_0x59174d(0x187)===_0x67b09a[_0x456d1e][_0x59174d(0x1d5)],_0x24e0d9[_0x59174d(0x1bc)]=_0x67b09a[_0x456d1e][_0x59174d(0x1bc)],_0x24e0d9;});}[_0x3e676d(0x1e8)](){const _0x474b8b=_0x3e676d;this[_0x474b8b(0x195)]=!0x0,this[_0x474b8b(0x103)]()?this[_0x474b8b(0x149)]():this[_0x474b8b(0x195)]=!0x1;}[_0x3e676d(0x103)](){const _0x4f6ccf=_0x3e676d,_0x5a2f95=this[_0x4f6ccf(0x199)][_0x4f6ccf(0x1dd)][_0x4f6ccf(0x1b2)](_0x19bfc9)[_0x4f6ccf(0x11a)][_0x4f6ccf(0x1b2)](this[_0x4f6ccf(0x1d0)]);return!this[_0x4f6ccf(0x199)][_0x4f6ccf(0x1e3)]&&!!_0x5a2f95&&_0x5a2f95[_0x4f6ccf(0x12b)]>0x1&&this[_0x4f6ccf(0x195)];}[_0x3e676d(0x150)](){const _0x21d0ca=_0x3e676d;return this[_0x21d0ca(0x1ae)][_0x21d0ca(0x12b)]>0x0||this[_0x21d0ca(0x103)]();}}class X extends Error{}function _0x16ad(_0x3ebd7c,_0x30df53){const _0x577d75=_0x577d();return _0x16ad=function(_0x16ad18,_0x1cb20){_0x16ad18=_0x16ad18-0xf1;let _0x32ff40=_0x577d75[_0x16ad18];return _0x32ff40;},_0x16ad(_0x3ebd7c,_0x30df53);}function Y(_0x1a21f1,_0x33a344){const _0x1800b0=_0x3e676d;for(const _0x5bb53c of _0x1a21f1)_0x5bb53c[_0x1800b0(0x1d1)]=_0x33a344++;}class Z{[_0x3e676d(0x10f)];[_0x3e676d(0x18e)];constructor(_0x3cc574){const _0x15d9a9=_0x3e676d;this[_0x15d9a9(0x10f)]=_0x3cc574,this[_0x15d9a9(0x18e)]=new WeakMap();}[_0x3e676d(0x1ba)](_0x4114e7){const _0x5eace6=_0x3e676d;let _0x30969d=_0x4114e7[_0x5eace6(0x12b)];for(;_0x30969d--;){const _0x3a72ed=_0x4114e7[_0x30969d];if(!this[_0x5eace6(0x10f)][_0x5eace6(0xfc)](_0x3a72ed)){if(!this[_0x5eace6(0x18e)][_0x5eace6(0xfc)](_0x3a72ed)){const _0x3f7505=_0x182e2c()[_0x5eace6(0x1a6)](0x1,0x12);this[_0x5eace6(0x18e)][_0x5eace6(0x1d6)](_0x3a72ed,_0x3f7505);}return this[_0x5eace6(0x18e)][_0x5eace6(0x1b2)](_0x3a72ed);}}}[_0x3e676d(0x1ef)](_0x18aad9,_0x29dd9a){const _0x47329d=_0x3e676d;if(!_0x29dd9a)return;let _0x4687f2=_0x18aad9[_0x47329d(0x12b)];for(;_0x4687f2--;){const _0xa4d508=_0x18aad9[_0x4687f2];this[_0x47329d(0x10f)][_0x47329d(0xfc)](_0xa4d508)||this[_0x47329d(0x18e)][_0x47329d(0x1d6)](_0xa4d508,_0x29dd9a);}}}
23
+ const _0x298827=_0x3480;(function(_0xd3c1bc,_0x33c054){const _0x44a857=_0x3480,_0x11a8a0=_0xd3c1bc();while(!![]){try{const _0x119b31=-parseInt(_0x44a857(0x19a))/0x1*(-parseInt(_0x44a857(0x10e))/0x2)+parseInt(_0x44a857(0x1b7))/0x3+-parseInt(_0x44a857(0x159))/0x4+parseInt(_0x44a857(0x179))/0x5+parseInt(_0x44a857(0x122))/0x6+-parseInt(_0x44a857(0x162))/0x7+-parseInt(_0x44a857(0x191))/0x8*(parseInt(_0x44a857(0x187))/0x9);if(_0x119b31===_0x33c054)break;else _0x11a8a0['push'](_0x11a8a0['shift']());}catch(_0x1fd493){_0x11a8a0['push'](_0x11a8a0['shift']());}}}(_0x45ff,0x74387));import{Plugin as _0x2fd581,PendingActions as _0x5ebdf4}from'ckeditor5/src/core.js';function _0x45ff(){const _0x19c7ee=['_connectService','rtc-destroyed','history','getConnectedSessions','_service','createPositionFromPath','showWarning','remove','state','view','RealTimeCollaborationClient','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','add','operationsReceived','getIdOfTheLastOperation','realtimecollaborationclient-init-non-existent-root','_offset','isDocumentOperation','channelSessions','isOfficialPlugin','_authorId','_isDisconnection','_handleExternalOperations','then','_isAttached','real-time-collaboration','isReadOnly','_isConnected','_operationIdentifier','offset','toJSON','getDocumentDetails','ready','directChange','locale','position','2OviXYl','code','decompress','_hasSelectionChanged','_handleSendingSelectionMarkers','differ','cloud-services-internal-error:\x20Not\x20connected.','_clearPendingAction','getMany','lastOperationId','realtimecollaborationclient-error','initData','path','has','move','_addKnownRoot','404','_getOperationsFromInitData','409','message','5542110eUZbZu','userId','CollaborativeEditingService','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-init-document-already-initialized','_initSessionsHandling','map','addUser','keys','filter','version','reset','getUser','_applyOperationsSet','enqueueChange','disableReadOnlyMode','_hasSynchronizationProblem','register','disconnected','off','sessionCreatedAt','stopListening','change:_isEditingAllowed','attributes','addOperation','_bufferedOperations','connection','destroy','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','_isInit','_initThrowingOnDataSet','createUserMarkerOperations','set','_disconnectionOperations','reconnection:\x20flushed\x20session','model','finally','slice','get','realtimecollaborationclient','_refreshUserSelectionMarkers','realtimecollaborationclient-init-connection-failed','applyOperation','createRoot','editing','__className','addRoot','realtimecollaborationclient-init-service-internal-error','serverHistory','_loadRoot','_handleReceivedOperations','_handleReconnectionResponse','_document','_lastSyncedOperationId','2093264UyDMfE','multi-root-editor-root-attributes-no-root','push','requires','error','_handleInitialConnectionData','suppressErrorInCollaboration','_sendBufferedOperations','document:write','6090413ADPYwy','type','rtc-offline','sessionId','stop','_saveOperationInBuffer','from','Permissions','permissions','_fetchMissingUsers','cs:removeUser','_lastServerVersion','_shouldSendUpdate','_isLoaded','$root','collaboration.channelId','realtimecollaborationclient-sendbufferedoperations','isEnabled','_waitUntilSynced','cloud-services-internal-error:\x20Request\x20timeout.','_currentBufferDelay','disconnect','_sendBufferedOperationsDelayId','1849445CiQjpU','isPremiumPlugin','loadRoot','roots','_crash','document','_pendingAction','selection','enableReadOnlyMode','setPermissions','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','pluginName','_getAffectedRoot','entries','3663iktwwP','_compressOperations','removeFromReconnectionStack','_baseBufferDelay','targetPosition','lastSyncVersion','config','Notification','define','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','2168DcbPWs','mySessionId','length','_operationToId','plugins','_knownRootNames','reconnect','insert','_disconnectService','285267IqsJkS','wasUndone','apply','lastDocumentSession','change:_isPendingUpdate','collaboration','_ignoredOperations','connected','_isPendingUpdate','_decompressOperations','_sendBufferedOperationsDelayed','root','CommentsOnly','rootName','change:range','compress','realtimecollaborationclient-init-service-incorrect-server-operation','addRootAttribute','high','_updateServerHistory','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.','affectsData','InsertOperation','listenTo','string','_bufferRootLoad','_shouldSendSelectionUpdate','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.','getOperationAuthor','1202610OGyWhW','_connectAfterSessionHasBeenFlushed','forEach','sendOperations','return','bind','cloudDocumentVersion','getOperations','_handleServerResponse','sessionAdd:','fromJSON','_knownOperations','startsWith','Synchronization\x20issue','batch','_handleReconnectionError','createdAt','rootsAttributes','includes','createPositionAt','init','change:hasDomSelection','_channelId','_compressor','parse','setIdForTheLastOperation','clone','metadata','size','collaboration-missing-channelid','cloudServices.bundleVersion','end','currentDocumentSession','catch','fire','realtimecollaborationclient-handleserverresponse','affectedSelectable','start','editor','lastOperationAcceptedAt','round','connect','newRange','createRange','baseVersion','realtimecollaborationclient-init-session-connection-error','getRoot','data','wereChangesApplied','_setPendingAction','unregister','addToReconnectionStack','_setUpDataInit','markers','marker','isUndoneOperation'];_0x45ff=function(){return _0x19c7ee;};return _0x45ff();}import{CKEditorError as _0x401e17,version as _0x162174,uid as _0x2fee4f}from'ckeditor5/src/utils.js';import{Notification as _0x1d80c4}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xdb339c,NoOperation as _0x164433,InsertOperation as _0x57377d,MarkerOperation as _0x282766,RootAttributeOperation as _0x4afce1,OperationFactory as _0x11a091,History as _0x56f613}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x50ca4f}from'./websocketgateway.js';import{Sessions as _0x33a942}from'./sessions.js';function _0x3480(_0x31ef01,_0x2ec90f){const _0x45ffea=_0x45ff();return _0x3480=function(_0x348072,_0xe44d50){_0x348072=_0x348072-0xc9;let _0x1aa8d3=_0x45ffea[_0x348072];return _0x1aa8d3;},_0x3480(_0x31ef01,_0x2ec90f);}import{UserMarkers as _0x57b63e}from'./usermarkers.js';import{getTranslation as _0x53794}from'../common-translations.js';import{Compressor as _0x5e70fd}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4e6cae}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x42a46c,CollaborativeEditingService as _0x1f63ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x2fd581{static [_0x298827(0x124)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1f63ec)());[_0x298827(0xfa)];[_0x298827(0x165)];[_0x298827(0x153)];[_0x298827(0x1cd)];[_0x298827(0xee)];[_0x298827(0x157)];[_0x298827(0xc9)];[_0x298827(0x13b)];[_0x298827(0x1c2)];[_0x298827(0x196)];[_0x298827(0x17f)];[_0x298827(0x111)];[_0x298827(0x178)];[_0x298827(0x18a)];[_0x298827(0x176)];[_0x298827(0x158)];[_0x298827(0x144)];[_0x298827(0x106)];static get[_0x298827(0x15c)](){return[_0x50ca4f,_0x33a942,_0x57b63e,_0x5ebdf4,_0x4e6cae,_0x1d80c4];}static get[_0x298827(0x184)](){const _0xa290ec=_0x298827;return _0xa290ec(0xf4);}static get[_0x298827(0xfd)](){return!0x0;}static get[_0x298827(0x17a)](){return!0x0;}get[_0x298827(0x1bd)](){const _0x56eb80=_0x298827;return this[_0x56eb80(0x16d)]+this[_0x56eb80(0xfa)];}get[_0x298827(0x16d)](){const _0x6c0301=_0x298827;return this[_0x6c0301(0x153)][_0x6c0301(0x12c)]-this[_0x6c0301(0xfa)];}get[_0x298827(0x18c)](){const _0x1c411b=_0x298827,_0x8852e5=this[_0x1c411b(0x153)][_0x1c411b(0x1be)]();for(let _0x3debf=_0x8852e5[_0x1c411b(0x193)]-0x1;_0x3debf>=0x0;_0x3debf--){const _0x3b965d=_0x8852e5[_0x3debf];if(!this[_0x1c411b(0x144)][_0x1c411b(0x11b)](_0x3b965d))return _0x3b965d[_0x1c411b(0xde)]+0x1-this[_0x1c411b(0xfa)];}return 0x0;}constructor(_0x416a10){const _0x395314=_0x298827;if(super(_0x416a10),this[_0x395314(0xfa)]=0x0,this[_0x395314(0x165)]=null,this[_0x395314(0x153)]=new _0x56f613(),this[_0x395314(0xd8)][_0x395314(0x18d)][_0x395314(0x18f)](_0x395314(0x19f),{}),this[_0x395314(0x1cd)]=this[_0x395314(0xd8)][_0x395314(0x18d)][_0x395314(0x149)](_0x395314(0x171)),!this[_0x395314(0x1cd)])throw new _0x401e17(_0x395314(0xcf),this);const _0x1ee832=_0x416a10[_0x395314(0x18d)][_0x395314(0x149)](_0x395314(0xd0))||_0x162174;this[_0x395314(0xee)]=new RealTimeCollaborationClient[(_0x395314(0x124))](_0x1ee832,this[_0x395314(0x1cd)]),this[_0x395314(0x157)]=this[_0x395314(0xd8)][_0x395314(0x146)][_0x395314(0x17e)],this[_0x395314(0xc9)]=new _0x5e70fd(),this[_0x395314(0x13b)]=[],this[_0x395314(0x1c2)]=new WeakSet(),this[_0x395314(0x196)]=new Set(),this[_0x395314(0x143)](_0x395314(0x1a2),!0x1),this[_0x395314(0x143)](_0x395314(0x132),!0x1),this[_0x395314(0x17f)]=null,this[_0x395314(0x111)]=!0x1,this[_0x395314(0x178)]=null,this[_0x395314(0x18a)]=0x12c,this[_0x395314(0x176)]=this[_0x395314(0x18a)],this[_0x395314(0x158)]=null,this[_0x395314(0x144)]=new WeakSet(),this[_0x395314(0x106)]=new J(this[_0x395314(0x144)]);}[_0x298827(0x1cb)](){const _0xc040fa=_0x298827,_0x1ebb9d=this[_0xc040fa(0xd8)],_0x278530=_0x1ebb9d[_0xc040fa(0x195)][_0xc040fa(0x149)](_0x4e6cae),_0x4d23a2=_0x1ebb9d[_0xc040fa(0x195)][_0xc040fa(0x149)](_0x50ca4f);this[_0xc040fa(0x1b1)](_0x278530,_0xc040fa(0x1b6),(_0x4e98e3,_0x176b4d)=>{const _0x10294b=_0xc040fa,_0x5771a1=_0x176b4d[0x0];_0x5771a1[_0x10294b(0xfe)]&&(_0x4e98e3[_0x10294b(0x1bb)]=_0x278530[_0x10294b(0x12e)](_0x5771a1[_0x10294b(0xfe)]),_0x4e98e3[_0x10294b(0x166)]()),null===_0x5771a1[_0x10294b(0xfe)]&&(_0x4e98e3[_0x10294b(0x1bb)]=null,_0x4e98e3[_0x10294b(0x166)]());},{'priority':_0xc040fa(0x1ac)}),this[_0xc040fa(0x1b1)](_0x1ebb9d[_0xc040fa(0x146)][_0xc040fa(0x17e)][_0xc040fa(0x180)],_0xc040fa(0x1a8),(_0x24190b,_0x4d7fa6)=>{const _0x2924cf=_0xc040fa;_0x4d7fa6[_0x2924cf(0x10b)]&&this[_0x2924cf(0x14b)]();}),this[_0xc040fa(0x1b1)](_0x1ebb9d[_0xc040fa(0x14f)][_0xc040fa(0xf3)],_0xc040fa(0x1cc),()=>{const _0x1f9eb7=_0xc040fa;this[_0x1f9eb7(0x14b)]();}),this[_0xc040fa(0x141)](),_0x1ebb9d[_0xc040fa(0x146)]['on'](_0xc040fa(0x14d),(_0x5b5c0d,_0x18639a)=>{const _0x34399a=_0xc040fa,_0x1ef625=_0x18639a[0x0];_0x1ef625[_0x34399a(0xfb)]&&(this[_0x34399a(0x167)](_0x1ef625),this[_0x34399a(0x16e)]()&&this[_0x34399a(0x1a4)]());}),this[_0xc040fa(0xe6)](),this[_0xc040fa(0x1bc)](_0xc040fa(0x13e))['to'](_0x4d23a2,_0xc040fa(0xf2),this,_0xc040fa(0x132),(_0x5f5119,_0x4afaa8)=>_0xc040fa(0x1a1)===_0x5f5119&&!_0x4afaa8),this['on'](_0xc040fa(0x138),()=>{const _0x229b00=_0xc040fa;this[_0x229b00(0x13e)]?_0x1ebb9d[_0x229b00(0x131)](_0x229b00(0x164)):_0x1ebb9d[_0x229b00(0x181)](_0x229b00(0x164));}),this[_0xc040fa(0x13e)]?_0x1ebb9d[_0xc040fa(0x131)](_0xc040fa(0x164)):_0x1ebb9d[_0xc040fa(0x181)](_0xc040fa(0x164)),this[_0xc040fa(0x143)](_0xc040fa(0x105),!0x1);}async[_0x298827(0x197)](){const _0x4e35b9=_0x298827,_0x49392c=this[_0x4e35b9(0xd8)][_0x4e35b9(0x195)][_0x4e35b9(0x149)](_0x33a942),_0x3a8cc0=this[_0x4e35b9(0xd8)][_0x4e35b9(0x195)][_0x4e35b9(0x149)](_0x50ca4f);try{this[_0x4e35b9(0x1a2)]=!0x0,_0x49392c[_0x4e35b9(0xe4)](this[_0x4e35b9(0x1cd)]);const _0x22b566=await this[_0x4e35b9(0xee)][_0x4e35b9(0x197)](_0x3a8cc0[_0x4e35b9(0x13c)],this[_0x4e35b9(0x18c)]);await this[_0x4e35b9(0x156)](_0x22b566)&&(this[_0x4e35b9(0x1a2)]=!0x1,this[_0x4e35b9(0x115)]());const _0x21dd42=await this[_0x4e35b9(0xee)][_0x4e35b9(0xed)]();_0x49392c[_0x4e35b9(0x133)](this[_0x4e35b9(0x1cd)],_0x21dd42),this[_0x4e35b9(0x112)](),this[_0x4e35b9(0x105)]=!0x0;}catch(_0x40ee12){if(function(_0x39da31){const _0x52b08e=_0x4e35b9;return _0x52b08e(0x11e)===_0x39da31[_0x52b08e(0x10f)];}(_0x40ee12)&&this[_0x4e35b9(0x165)])await this[_0x4e35b9(0x1b8)]();else{if(function(_0x2bb39c){const _0x3546fd=_0x4e35b9;return _0x3546fd(0x120)===_0x2bb39c[_0x3546fd(0x10f)];}(_0x40ee12)){const _0x3e7f2a=_0x53794(this[_0x4e35b9(0xd8)][_0x4e35b9(0x10c)],_0x4e35b9(0x183));this[_0x4e35b9(0x1c6)](_0x3e7f2a);}else{if(!(_0x40ee12 instanceof $))throw _0x40ee12;this[_0x4e35b9(0x1c6)]();}}}}[_0x298827(0x13d)](){const _0x10acb1=_0x298827,_0x1b2c5e=this[_0x10acb1(0xd8)][_0x10acb1(0x195)][_0x10acb1(0x149)](_0x50ca4f),_0x3a1aab=this[_0x10acb1(0xd8)][_0x10acb1(0x195)][_0x10acb1(0x149)](_0x33a942);this[_0x10acb1(0xd8)][_0x10acb1(0x181)](_0x10acb1(0xeb)),_0x3a1aab[_0x10acb1(0xfc)][_0x10acb1(0x11b)](this[_0x10acb1(0x1cd)])&&_0x3a1aab[_0x10acb1(0xe4)](this[_0x10acb1(0x1cd)]),_0x1b2c5e[_0x10acb1(0x189)](this),this[_0x10acb1(0x199)](),super[_0x10acb1(0x13d)]();}async[_0x298827(0x156)](_0x411c78){const _0x4af6d4=_0x298827;if(this[_0x4af6d4(0x165)]!==_0x411c78[_0x4af6d4(0x165)]&&this[_0x4af6d4(0x158)]!==_0x411c78[_0x4af6d4(0x117)])throw new $();return this[_0x4af6d4(0x165)]=_0x411c78[_0x4af6d4(0x165)],this[_0x4af6d4(0x1bf)]([],{..._0x411c78,'wereChangesApplied':!0x1,'data':_0x411c78[_0x4af6d4(0xe1)]},_0x4af6d4(0x197));}async[_0x298827(0xea)](_0x18dd74,_0x488a6f=!0x1){const _0x4335a6=_0x298827,{connection:_0x59a28b}=this[_0x4335a6(0xd8)][_0x4335a6(0x195)][_0x4335a6(0x149)](_0x50ca4f);RealTimeCollaborationClient[_0x4335a6(0x124)][_0x4335a6(0xed)](_0x59a28b,this[_0x4335a6(0x1cd)])[_0x4335a6(0x101)](_0x44742a=>this[_0x4335a6(0x127)](_0x44742a))[_0x4335a6(0xd3)](_0x201397=>{const _0x508101=_0x4335a6;this[_0x508101(0x17d)](_0x508101(0xdf),_0x201397);}),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0xf7),this[_0x4335a6(0x155)][_0x4335a6(0x1bc)](this)),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0x15d),(_0x2cb99f,_0x49613d)=>{const _0x6f9ccb=_0x4335a6;this[_0x6f9ccb(0x17d)](_0x6f9ccb(0x152),_0x49613d);}),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0x134),()=>{const _0x1ca917=_0x4335a6;this[_0x1ca917(0x105)]=!0x1;});const _0x1c3cbf=this[_0x4335a6(0x106)][_0x4335a6(0xf8)](_0x18dd74);this[_0x4335a6(0x1a2)]=!0x0;const _0x1639bf=await this[_0x4335a6(0xee)][_0x4335a6(0xdb)](_0x59a28b,this[_0x4335a6(0x188)](_0x18dd74),_0x1c3cbf);if(this[_0x4335a6(0x165)]=_0x1639bf[_0x4335a6(0x165)],_0x488a6f){if(!_0x1639bf[_0x4335a6(0xe2)])return void this[_0x4335a6(0x1c6)]();this[_0x4335a6(0x1a2)]=!0x1,this[_0x4335a6(0x115)](),this[_0x4335a6(0x153)][_0x4335a6(0x12d)](),this[_0x4335a6(0xfa)]=_0x1639bf[_0x4335a6(0x107)],this[_0x4335a6(0x153)][_0x4335a6(0x12c)]=this[_0x4335a6(0xfa)],await this[_0x4335a6(0x1bf)](_0x18dd74,_0x1639bf,_0x4335a6(0x145));}else await this[_0x4335a6(0x15e)](_0x1639bf,_0x18dd74);this[_0x4335a6(0x112)](),this[_0x4335a6(0x105)]=!0x0;}[_0x298827(0x112)](){const _0x6a8d20=_0x298827,_0x1c9e45=this[_0x6a8d20(0xd8)][_0x6a8d20(0x195)][_0x6a8d20(0x149)](_0x33a942),_0x14685a=this[_0x6a8d20(0xd8)][_0x6a8d20(0x195)][_0x6a8d20(0x149)](_0x57b63e),_0x5a40aa=_0x1c9e45[_0x6a8d20(0xfc)][_0x6a8d20(0x149)](this[_0x6a8d20(0x1cd)]);_0x5a40aa&&_0x5a40aa[_0x6a8d20(0x193)]>0x1?_0x14685a[_0x6a8d20(0x142)]():this[_0x6a8d20(0x1b1)](_0x1c9e45,_0x6a8d20(0x1c0)+this[_0x6a8d20(0x1cd)],()=>{const _0x4b9ddb=_0x6a8d20;0x2===_0x1c9e45[_0x4b9ddb(0xfc)][_0x4b9ddb(0x149)](this[_0x4b9ddb(0x1cd)])[_0x4b9ddb(0x193)]&&_0x14685a[_0x4b9ddb(0x142)]();});}async[_0x298827(0x155)](_0x26992d,_0x4de62b,_0x43ddcc,_0x1dabbe){const _0x453624=_0x298827;if(!this[_0x453624(0x1a2)]&&this[_0x453624(0x157)][_0x453624(0x12c)]==_0x4de62b){const _0x2b7c0e=this[_0x453624(0x1a3)](_0x43ddcc,_0x1dabbe);await this[_0x453624(0x16b)](_0x2b7c0e),this[_0x453624(0x100)](_0x2b7c0e,_0x4de62b,_0x43ddcc[_0x453624(0x117)])||this[_0x453624(0x17d)](_0x453624(0x1aa));}}async[_0x298827(0x1b8)](){const _0x196f78=_0x298827;this[_0x196f78(0x199)]();const {locale:_0x52e426}=this[_0x196f78(0xd8)];let _0x595044;try{_0x595044=await this[_0x196f78(0xee)][_0x196f78(0x109)]();}catch{const _0x1f4bdb=_0x53794(_0x52e426,_0x196f78(0xf5));return void this[_0x196f78(0x1c6)](_0x1f4bdb);}const _0x324376=_0x595044[_0x196f78(0xd2)]||_0x595044[_0x196f78(0x19d)];if(this[_0x196f78(0x158)]!==_0x324376[_0x196f78(0x117)]){const _0xc5a495=_0x53794(_0x52e426,_0x196f78(0x1ae));return void this[_0x196f78(0x1c6)](_0xc5a495);}await this[_0x196f78(0xea)](this[_0x196f78(0xd8)][_0x196f78(0x146)][_0x196f78(0x17e)][_0x196f78(0xec)][_0x196f78(0x1be)](),!0x0);}[_0x298827(0x199)](){const _0x1d2717=_0x298827;this[_0x1d2717(0xee)][_0x1d2717(0x177)](),this[_0x1d2717(0x13b)]=[],clearTimeout(this[_0x1d2717(0x178)]),this[_0x1d2717(0x137)](this[_0x1d2717(0xee)]);}[_0x298827(0x127)](_0x5ab1a7){const _0x4320e0=_0x298827,_0x55c06f=this[_0x4320e0(0xd8)][_0x4320e0(0x195)][_0x4320e0(0x149)](_0x33a942);this[_0x4320e0(0x1b1)](_0x55c06f,_0x4320e0(0x1c0)+this[_0x4320e0(0x1cd)],(_0x29fd05,{session:_0x1b3bb5})=>{const _0x569215=_0x4320e0;if(_0x1b3bb5['id']===_0x55c06f[_0x569215(0x192)]){_0x29fd05[_0x569215(0x135)]();const _0x12da4c=this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x11b)](_0x569215(0x1a6))&&this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x149)](_0x569215(0x1a6));let _0x589cc2=_0x1b3bb5[_0x569215(0x16a)];_0x12da4c&&_0x12da4c[_0x569215(0x173)]&&(_0x589cc2=_0x589cc2[_0x569215(0x12b)](_0xd211fd=>_0x569215(0x161)!==_0xd211fd)),this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x149)](_0x569215(0x169))[_0x569215(0x182)](_0x589cc2,this[_0x569215(0x1cd)]);}}),_0x55c06f[_0x4320e0(0x133)](this[_0x4320e0(0x1cd)],_0x5ab1a7);}[_0x298827(0x141)](){const _0x5a4aef=_0x298827,_0x5dbd85=this[_0x5a4aef(0xd8)][_0x5a4aef(0xe1)][_0x5a4aef(0x143)];this[_0x5a4aef(0xd8)][_0x5a4aef(0xe1)][_0x5a4aef(0x143)]=(..._0x2318b1)=>{const _0x12d362=_0x5a4aef;if(!_0x2318b1[_0x2318b1[_0x12d362(0x193)]-0x1][_0x12d362(0x15f)])throw new _0x401e17(_0x12d362(0x190),this);_0x5dbd85[_0x12d362(0x19c)](this[_0x12d362(0xd8)][_0x12d362(0xe1)],_0x2318b1);};}[_0x298827(0xe6)](){const _0x431725=_0x298827;this[_0x431725(0xd8)][_0x431725(0xe1)]['on'](_0x431725(0x1cb),(_0x32c8c9,[_0x38f189])=>{const _0x1f5d88=_0x431725;if(this[_0x1f5d88(0x157)][_0x1f5d88(0x12c)])throw new _0x401e17(_0x1f5d88(0x126),this);_0x32c8c9[_0x1f5d88(0x166)](),this[_0x1f5d88(0xe3)]();const _0x47f2e2=this[_0x1f5d88(0xd8)][_0x1f5d88(0x18d)][_0x1f5d88(0x149)](_0x1f5d88(0x1c8)),_0x27ce2c=this[_0x1f5d88(0x11f)](_0x38f189,_0x47f2e2);0x0==_0x27ce2c[_0x1f5d88(0x193)]&&_0x27ce2c[_0x1f5d88(0x15b)](new _0x164433(0x0)),_0x32c8c9[_0x1f5d88(0x1bb)]=this[_0x1f5d88(0xea)](_0x27ce2c)[_0x1f5d88(0x101)](()=>{const _0x4ceb1e=_0x1f5d88;this[_0x4ceb1e(0xd8)][_0x4ceb1e(0x195)][_0x4ceb1e(0x149)](_0x50ca4f)[_0x4ceb1e(0xe5)](this),this[_0x4ceb1e(0xd8)][_0x4ceb1e(0xe1)][_0x4ceb1e(0xd4)](_0x4ceb1e(0x10a));})[_0x1f5d88(0xd3)](_0x5dc13e=>this[_0x1f5d88(0x17d)](_0x1f5d88(0x14c),_0x5dc13e))[_0x1f5d88(0x147)](()=>this[_0x1f5d88(0x115)]());},{'priority':_0x431725(0x1ac)}),this[_0x431725(0xd8)]['on'](_0x431725(0x17b),async(_0x1df247,[_0x11922e,_0x2c4346])=>{const _0x548ace=_0x431725;_0x1df247[_0x548ace(0x166)]();const _0x23ecd7=this[_0x548ace(0xd8)][_0x548ace(0x146)][_0x548ace(0x17e)][_0x548ace(0xe0)](_0x11922e);if(!this[_0x548ace(0x196)][_0x548ace(0x11b)](_0x11922e)){const _0x532cb2=_0x2c4346&&_0x2c4346[_0x548ace(0xe1)]?_0x2c4346[_0x548ace(0xe1)]:'',_0x3976e4=_0x2c4346&&_0x2c4346[_0x548ace(0x139)]?_0x2c4346[_0x548ace(0x139)]:{};await this[_0x548ace(0x154)](_0x11922e,_0x532cb2,_0x3976e4);}this[_0x548ace(0xd8)][_0x548ace(0x146)][_0x548ace(0x130)]({'isUndoable':!0x1},()=>{const _0x569a1e=_0x548ace;_0x23ecd7[_0x569a1e(0x16f)]=!0x0,this[_0x569a1e(0xd8)][_0x569a1e(0x146)][_0x569a1e(0x17e)][_0x569a1e(0x113)][_0x569a1e(0x1b3)](_0x23ecd7);});},{'priority':_0x431725(0x1ac)});}async[_0x298827(0x16b)](_0x51f1f8){const _0xdd68e9=_0x298827,_0x43ac5d=this[_0xdd68e9(0xd8)][_0xdd68e9(0x195)][_0xdd68e9(0x149)](_0x4e6cae),{connection:_0x26bd9b}=this[_0xdd68e9(0xd8)][_0xdd68e9(0x195)][_0xdd68e9(0x149)](_0x50ca4f),_0xb9898=new Set();for(const _0x20ac95 of _0x51f1f8){const _0x589552=_0x20ac95[_0xdd68e9(0xfe)];_0x589552&&!_0x43ac5d[_0xdd68e9(0x12e)](_0x589552)&&_0xb9898[_0xdd68e9(0xf6)](_0x589552);}if(0x0===_0xb9898[_0xdd68e9(0xce)])return;const _0x47fe55=await _0x42a46c[_0xdd68e9(0x116)](_0x26bd9b,Array[_0xdd68e9(0x168)](_0xb9898));for(const _0x28752a of _0x47fe55)_0x43ac5d[_0xdd68e9(0x12e)](_0x28752a['id'])||_0x43ac5d[_0xdd68e9(0x129)](_0x28752a);}[_0x298827(0x11f)](_0x55a931,_0x5d845f={}){const _0x3c81c2=_0x298827,_0x259d62=this[_0x3c81c2(0xd8)][_0x3c81c2(0x146)],_0x1b947c=[];let _0x3b0c80=0x0;const _0x5490e0=_0x3c81c2(0x1b2)==typeof _0x55a931?{'main':_0x55a931}:_0x55a931;for(const _0x240999 of Object[_0x3c81c2(0x12a)](_0x5490e0)){if(!this[_0x3c81c2(0x157)][_0x3c81c2(0x17c)][_0x3c81c2(0x11b)](_0x240999))throw new _0x401e17(_0x3c81c2(0xf9),this);const _0x4ea413=this[_0x3c81c2(0xd8)][_0x3c81c2(0xe1)][_0x3c81c2(0xca)](_0x5490e0[_0x240999]),_0x2b9a58=this[_0x3c81c2(0x157)][_0x3c81c2(0xe0)](_0x240999),_0x1970e2=new _0x57377d(_0x259d62[_0x3c81c2(0x1ca)](_0x2b9a58,0x0),_0x4ea413,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x1970e2);for(const [_0x31a97b,_0x46ce67]of _0x4ea413[_0x3c81c2(0xe7)]){const _0x48d6fe=_0x259d62[_0x3c81c2(0xdd)](_0x259d62[_0x3c81c2(0xef)](_0x2b9a58,_0x46ce67[_0x3c81c2(0xd7)][_0x3c81c2(0x11a)][_0x3c81c2(0x148)]()),_0x259d62[_0x3c81c2(0xef)](_0x2b9a58,_0x46ce67[_0x3c81c2(0xd1)][_0x3c81c2(0x11a)][_0x3c81c2(0x148)]())),_0x1cfbf1=new _0x282766(_0x31a97b,null,_0x48d6fe,_0x259d62[_0x3c81c2(0xe7)],!0x0,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x1cfbf1);}}if(_0x5d845f)for(const [_0x48273a,_0x37d9b1]of Object[_0x3c81c2(0x186)](_0x5d845f)){const _0x456685=_0x259d62[_0x3c81c2(0x17e)][_0x3c81c2(0xe0)](_0x48273a);if(!_0x456685)throw new _0x401e17(_0x3c81c2(0x15a),null);for(const [_0x35c577,_0xe6884e]of Object[_0x3c81c2(0x186)](_0x37d9b1))if(null!==_0xe6884e){const _0x106946=new _0x4afce1(_0x456685,_0x35c577,null,_0xe6884e,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x106946);}}return _0x1b947c;}async[_0x298827(0x154)](_0x27a18b,_0x4e1a55,_0xd54924){const _0x5189fa=_0x298827;this[_0x5189fa(0x11f)]({[_0x27a18b]:_0x4e1a55},{[_0x27a18b]:_0xd54924})[_0x5189fa(0x1b9)]((_0x369025,_0x441115)=>{const _0x11113d=_0x5189fa;_0x369025[_0x11113d(0xde)]=this[_0x11113d(0x157)][_0x11113d(0x12c)]+_0x441115,_0x369025[_0x11113d(0x140)]=!0x0,this[_0x11113d(0x167)](_0x369025);}),this[_0x5189fa(0x1a4)](),await this[_0x5189fa(0x174)]();}async[_0x298827(0x15e)](_0x3784a4,_0xf36d46){const _0x535191=_0x298827;let _0x15092e;this[_0x535191(0xfa)]=_0x3784a4[_0x535191(0x107)];const _0x3b12f0=_0x3784a4[_0x535191(0xe2)]&&!_0x3784a4[_0x535191(0x119)],_0x15c2b4=_0x3b12f0?0x0:_0x3784a4[_0x535191(0xe1)][_0x535191(0xde)];if(_0xf36d46[_0x535191(0x1b9)](_0xe26f94=>{const _0x138401=_0x535191;_0xe26f94[_0x138401(0x140)]=!0x0,_0xe26f94[_0x138401(0x1c7)]=_0x3784a4[_0x138401(0x136)],_0xe26f94[_0x138401(0xfe)]=null;}),_0x3b12f0)_0x15092e=_0xf36d46,this[_0x535191(0x12f)](_0x15092e,_0x3b12f0);else{if(_0x3784a4[_0x535191(0x119)]){const _0x3d3943=this[_0x535191(0x11f)](_0x3784a4[_0x535191(0x119)]);this[_0x535191(0x157)][_0x535191(0xec)][_0x535191(0x12c)]=-_0x3d3943[_0x535191(0x193)],_0x3d3943[_0x535191(0x1b9)](_0x3c7f35=>{const _0x39d983=_0x535191;_0x3c7f35[_0x39d983(0xde)]-=_0x3d3943[_0x39d983(0x193)],_0x3c7f35[_0x39d983(0x1c7)]=_0x3784a4[_0x39d983(0x136)],_0x3c7f35[_0x39d983(0x140)]=!0x0,_0x3c7f35[_0x39d983(0xfe)]=null;}),this[_0x535191(0x12f)](_0x3d3943,!0x0),this[_0x535191(0x153)][_0x535191(0x12c)]=-_0x3d3943[_0x535191(0x193)]+this[_0x535191(0xfa)],this[_0x535191(0x1ad)](_0x3d3943);}this[_0x535191(0x157)][_0x535191(0xec)][_0x535191(0x12c)]=_0x15c2b4,_0x15092e=this[_0x535191(0x1a3)](_0x3784a4[_0x535191(0xe1)],_0x3784a4[_0x535191(0xcd)]),await this[_0x535191(0x16b)](_0x15092e),this[_0x535191(0x12f)](_0x15092e,_0x3b12f0);}_0x3784a4[_0x535191(0x117)]&&(this[_0x535191(0x106)][_0x535191(0xcb)](_0x15092e,_0x3784a4[_0x535191(0x117)]),this[_0x535191(0x158)]=_0x3784a4[_0x535191(0x117)]),this[_0x535191(0x153)][_0x535191(0x12c)]=_0x15c2b4+this[_0x535191(0xfa)],this[_0x535191(0x1ad)](_0x15092e),_0xf36d46[_0x535191(0x12b)](_0x4951a5=>{const _0x2242ee=_0x535191,_0x10ec1a=this[_0x2242ee(0x185)](_0x4951a5);return _0x10ec1a&&!this[_0x2242ee(0x196)][_0x2242ee(0x11b)](_0x10ec1a);})[_0x535191(0x1b9)]((_0x5eb8fa,_0x95ea87)=>{const _0x15c55f=_0x535191;_0x5eb8fa[_0x15c55f(0xde)]=this[_0x15c55f(0x157)][_0x15c55f(0x12c)]+_0x95ea87,this[_0x15c55f(0x167)](_0x5eb8fa);}),this[_0x535191(0x16e)]()?(this[_0x535191(0x176)]=0x0,this[_0x535191(0x1a4)](!0x0),await this[_0x535191(0x174)]()):(this[_0x535191(0x1a2)]=!0x1,this[_0x535191(0x115)]());}[_0x298827(0x17d)](_0x43cfe9,_0x4e8da8){const _0x48e847=_0x298827,_0x534f7a=_0x4e8da8&&_0x4e8da8[_0x48e847(0x121)];if(_0x534f7a&&_0x534f7a[_0x48e847(0x1c3)](_0x48e847(0x14a)))throw _0x4e8da8;const _0x155136=this[_0x48e847(0xd8)][_0x48e847(0x195)][_0x48e847(0x149)](_0x50ca4f);throw this[_0x48e847(0x1a2)]=!0x0,_0x155136[_0x48e847(0x177)](),this[_0x48e847(0xd8)][_0x48e847(0x181)](_0x48e847(0x118)),new _0x401e17(_0x43cfe9,this[_0x48e847(0xd8)],_0x534f7a?{'originalError':_0x534f7a}:void 0x0);}[_0x298827(0x167)](_0xf559ce){const _0x33f2ec=_0x298827;this[_0x33f2ec(0x1c2)][_0x33f2ec(0x11b)](_0xf559ce)||(this[_0x33f2ec(0x1c2)][_0x33f2ec(0xf6)](_0xf559ce),this[_0x33f2ec(0x13b)][_0x33f2ec(0x15b)](_0xf559ce),this[_0x33f2ec(0x17f)]||_0x33f2ec(0xe8)==_0xf559ce[_0x33f2ec(0x163)]&&!_0xf559ce[_0x33f2ec(0x1af)]||this[_0x33f2ec(0xe3)]());}[_0x298827(0x1a4)](_0x536ebb=!0x1){const _0x572838=_0x298827;!_0x536ebb&&this[_0x572838(0x1a2)]||(this[_0x572838(0x1a2)]=!0x0,clearTimeout(this[_0x572838(0x178)]),this[_0x572838(0x178)]=setTimeout(()=>{const _0x523d05=_0x572838;this[_0x523d05(0x160)]()[_0x523d05(0x101)](_0x2a20dd=>{const _0x120c77=_0x523d05;_0x2a20dd&&(this[_0x120c77(0x115)](),this[_0x120c77(0x1a2)]=!0x1);})[_0x523d05(0xd3)](_0x5652a4=>{const _0x32aaec=_0x523d05;this[_0x32aaec(0x115)](),this[_0x32aaec(0x1a2)]=!0x1,function(_0x40802d){const _0x20a701=_0x32aaec;return _0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x114))||_0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x125))||_0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x175));}(_0x5652a4)||this[_0x32aaec(0x17d)](_0x5652a4[_0x32aaec(0x121)],_0x5652a4);});},this[_0x572838(0x176)]));}[_0x298827(0x174)](){return new Promise(_0x15a136=>{const _0x4cbbd5=_0x3480;this['on'](_0x4cbbd5(0x19e),()=>{_0x15a136();});});}async[_0x298827(0x160)](){const _0x4a0a4f=_0x298827,_0x1909f8=this[_0x4a0a4f(0xd8)][_0x4a0a4f(0x195)][_0x4a0a4f(0x149)](_0x57b63e);if(this[_0x4a0a4f(0x1b4)]()&&(_0x1909f8[_0x4a0a4f(0x142)](),this[_0x4a0a4f(0x111)]=!0x1),!this[_0x4a0a4f(0x16e)]())return!0x0;const _0x14b041=[...this[_0x4a0a4f(0x13b)]];for(const _0x27d88c of _0x14b041)_0x27d88c[_0x4a0a4f(0x19b)]=this[_0x4a0a4f(0x157)][_0x4a0a4f(0xec)][_0x4a0a4f(0xe9)](_0x27d88c);const _0x41de2b=this[_0x4a0a4f(0x106)][_0x4a0a4f(0xf8)](_0x14b041),_0x3ed92f=G++,_0x54052c=this[_0x4a0a4f(0x188)](_0x14b041),_0x410dad=await this[_0x4a0a4f(0xee)][_0x4a0a4f(0x1ba)](_0x54052c,_0x54052c[_0x4a0a4f(0xde)],_0x41de2b);try{return await this[_0x4a0a4f(0x1bf)](_0x14b041,_0x410dad,_0x3ed92f);}catch(_0x20b79b){return this[_0x4a0a4f(0x17d)](_0x4a0a4f(0x172),_0x20b79b);}}async[_0x298827(0x1bf)](_0x44f07c,_0x5cd2e9,_0x102dbf){const _0x30dcb8=_0x298827;if(_0x30dcb8(0x15d)in _0x5cd2e9)throw _0x5cd2e9[_0x30dcb8(0x15d)];let _0x4b63a5=!0x1;if(_0x5cd2e9[_0x30dcb8(0xe2)]){_0x5cd2e9[_0x30dcb8(0x117)]&&(this[_0x30dcb8(0x158)]=_0x5cd2e9[_0x30dcb8(0x117)]),this[_0x30dcb8(0x13b)]=this[_0x30dcb8(0x13b)][_0x30dcb8(0x12b)](_0xf82e4b=>!_0x44f07c[_0x30dcb8(0x1c9)](_0xf82e4b));for(const _0x289192 of _0x44f07c)_0x289192[_0x30dcb8(0x1c7)]=_0x30dcb8(0xd9)in _0x5cd2e9&&_0x5cd2e9[_0x30dcb8(0xd9)]||void 0x0;K(_0x44f07c,_0x5cd2e9[_0x30dcb8(0x12c)]-_0x44f07c[_0x30dcb8(0x193)]),this[_0x30dcb8(0x1ad)](_0x44f07c);const _0x2b7e19=_0x44f07c[_0x30dcb8(0x12b)](_0x53221a=>{const _0x474056=_0x30dcb8;if(!_0x53221a[_0x474056(0x140)])return!0x1;const _0xad3dbe=this[_0x474056(0x185)](_0x53221a);return _0xad3dbe&&!this[_0x474056(0x196)][_0x474056(0x11b)](_0xad3dbe);});K(_0x2b7e19,this[_0x30dcb8(0x157)][_0x30dcb8(0x12c)]),this[_0x30dcb8(0x12f)](_0x2b7e19),_0x4b63a5=!0x0,this[_0x30dcb8(0x176)]=this[_0x30dcb8(0x18a)];}else{const _0x1550b9=this[_0x30dcb8(0x1a3)](_0x5cd2e9[_0x30dcb8(0xe1)],_0x5cd2e9[_0x30dcb8(0xcd)])[_0x30dcb8(0x12b)](_0x5af321=>_0x5af321[_0x30dcb8(0xde)]>=this[_0x30dcb8(0x16d)]);_0x1550b9[_0x30dcb8(0x1b9)](_0x1729de=>this[_0x30dcb8(0x11d)](_0x1729de)),this[_0x30dcb8(0x13b)]=this[_0x30dcb8(0x13b)][_0x30dcb8(0x12b)](_0x372e22=>!_0x372e22[_0x30dcb8(0x140)]||!this[_0x30dcb8(0x196)][_0x30dcb8(0x11b)](this[_0x30dcb8(0x185)](_0x372e22))),this[_0x30dcb8(0x13b)][_0x30dcb8(0x193)]&&K(this[_0x30dcb8(0x13b)],this[_0x30dcb8(0x13b)][0x0][_0x30dcb8(0xde)]),await this[_0x30dcb8(0x16b)](_0x1550b9),_0x4b63a5=this[_0x30dcb8(0x100)](_0x1550b9,_0x5cd2e9[_0x30dcb8(0x12c)],_0x5cd2e9[_0x30dcb8(0x117)]),this[_0x30dcb8(0x176)]=Math[_0x30dcb8(0xda)](this[_0x30dcb8(0x176)]/0x2);}return _0x4b63a5?!this[_0x30dcb8(0x16e)]()||(this[_0x30dcb8(0x1a4)](!0x0),!0x1):this[_0x30dcb8(0x17d)](_0x30dcb8(0xd5));}[_0x298827(0x100)](_0x561a57,_0x5644ad,_0x1583c2){const _0x55d735=_0x298827;try{const _0x3ebf0e={'document':this[_0x55d735(0x157)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1734bc,operationsB:_0x343570,originalOperations:_0x207c0d}=_0xdb339c(_0x561a57,this[_0x55d735(0x13b)],_0x3ebf0e);K(_0x1734bc,this[_0x55d735(0x157)][_0x55d735(0x12c)]),K(_0x343570,_0x5644ad);for(const _0x3c0a82 of _0x1734bc){const _0x3e8c7f=_0x207c0d[_0x55d735(0x149)](_0x3c0a82);_0x3c0a82[_0x55d735(0xfe)]=_0x3e8c7f?_0x3e8c7f[_0x55d735(0xfe)]:null;}_0x1583c2&&(this[_0x55d735(0x106)][_0x55d735(0xcb)](_0x561a57,_0x1583c2),this[_0x55d735(0x158)]=_0x1583c2),this[_0x55d735(0x13b)]=[..._0x343570],this[_0x55d735(0x12f)](_0x1734bc),this[_0x55d735(0x1ad)](_0x561a57);}catch(_0x1e0ddb){return console[_0x55d735(0x15d)](_0x1e0ddb),!0x1;}return!0x0;}[_0x298827(0x12f)](_0x402908,_0x55cf86=!0x1){const _0x13412a=_0x298827;this[_0x13412a(0xd8)][_0x13412a(0x146)][_0x13412a(0x130)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f2583=>{const _0x1178dd=_0x13412a;for(const _0x4c5e99 of _0x402908)this[_0x1178dd(0x1c2)][_0x1178dd(0xf6)](_0x4c5e99),this[_0x1178dd(0x11d)](_0x4c5e99),_0x4f2583[_0x1178dd(0x1c5)][_0x1178dd(0x13a)](_0x4c5e99),this[_0x1178dd(0xd8)][_0x1178dd(0x146)][_0x1178dd(0x14d)](_0x4c5e99);});}[_0x298827(0x11d)](_0x2c5f66){const _0x597129=_0x298827,_0x20bb8d=this[_0x597129(0x185)](_0x2c5f66);_0x20bb8d&&this[_0x597129(0x196)][_0x597129(0xf6)](_0x20bb8d);}[_0x298827(0x185)](_0x5f205d){const _0x50f734=_0x298827;let _0x59fbf8,_0x211579;switch(_0x5f205d[_0x50f734(0x163)]){case _0x50f734(0x198):_0x59fbf8=_0x5f205d[_0x50f734(0x10d)][_0x50f734(0x1a5)];break;case _0x50f734(0xe8):if(_0x211579=_0x5f205d[_0x50f734(0xdc)],!_0x211579)return null;_0x59fbf8=_0x211579[_0x50f734(0x1a5)];break;case _0x50f734(0x1ab):_0x59fbf8=_0x5f205d[_0x50f734(0x1a5)];break;case _0x50f734(0x151):_0x59fbf8=_0x5f205d[_0x50f734(0xd6)];break;case _0x50f734(0x11c):_0x59fbf8=_0x5f205d[_0x50f734(0x18b)][_0x50f734(0x1a5)];break;default:return null;}return _0x59fbf8[_0x50f734(0x1a7)];}[_0x298827(0x1ad)](_0x305830){const _0x771fe7=_0x298827;_0x305830[_0x771fe7(0x1b9)](_0x2d0e5a=>{const _0x2981f0=_0x771fe7,_0x67cd1c=_0x2d0e5a[_0x2981f0(0xcc)]();_0x67cd1c[_0x2981f0(0xfe)]=_0x2d0e5a[_0x2981f0(0xfe)],_0x67cd1c[_0x2981f0(0x140)]=!!_0x2d0e5a[_0x2981f0(0x140)],_0x67cd1c[_0x2981f0(0x1c7)]=_0x2d0e5a[_0x2981f0(0x1c7)],_0x67cd1c[_0x2981f0(0xde)]+=this[_0x2981f0(0xfa)],_0x2d0e5a[_0x2981f0(0xff)]&&this[_0x2981f0(0x144)][_0x2981f0(0xf6)](_0x67cd1c),this[_0x2981f0(0x153)][_0x2981f0(0x13a)](_0x67cd1c);});}[_0x298827(0x1c6)](_0x110191){const _0x3cf7a6=_0x298827,_0x17ea03=this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x195)][_0x3cf7a6(0x149)](_0x3cf7a6(0x18e)),_0x56b125=this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x10c)];_0x110191||(_0x110191=_0x53794(_0x56b125,_0x3cf7a6(0x1b5))),_0x17ea03[_0x3cf7a6(0xf0)](_0x110191,{'title':_0x53794(_0x56b125,_0x3cf7a6(0x1c4)),'namespace':_0x3cf7a6(0x103)}),this[_0x3cf7a6(0x132)]=!0x0,clearTimeout(this[_0x3cf7a6(0x178)]),this[_0x3cf7a6(0x13b)]=[],this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x195)][_0x3cf7a6(0x149)](_0x50ca4f)[_0x3cf7a6(0x177)]();}[_0x298827(0xe3)](){const _0x1c20cb=_0x298827;this[_0x1c20cb(0x17f)]||(this[_0x1c20cb(0x17f)]=this[_0x1c20cb(0xd8)][_0x1c20cb(0x195)][_0x1c20cb(0x149)](_0x5ebdf4)[_0x1c20cb(0xf6)](_0x53794(this[_0x1c20cb(0xd8)][_0x1c20cb(0x10c)],_0x1c20cb(0x13f))));}[_0x298827(0x115)](){const _0x4145de=_0x298827;this[_0x4145de(0x17f)]&&(this[_0x4145de(0xd8)][_0x4145de(0x195)][_0x4145de(0x149)](_0x5ebdf4)[_0x4145de(0xf1)](this[_0x4145de(0x17f)]),this[_0x4145de(0x17f)]=null);}[_0x298827(0x188)](_0x3a480f){const _0x521361=_0x298827,_0xf9c466=_0x3a480f[_0x521361(0x128)](_0x3d9b7e=>_0x3d9b7e[_0x521361(0x108)]());return this[_0x521361(0xc9)][_0x521361(0x1a9)](_0xf9c466);}[_0x298827(0x1a3)](_0x1fa276,_0x4482fd){const _0x354f0a=_0x298827;return this[_0x354f0a(0xc9)][_0x354f0a(0x110)](_0x1fa276)[_0x354f0a(0x128)]((_0x400cae,_0x5ba327)=>{const _0x4cb470=_0x354f0a,_0x5be476=_0x4cb470(0x1cb)==_0x4482fd[_0x5ba327][_0x4cb470(0x163)];if(_0x4cb470(0x1b0)==_0x400cae[_0x4cb470(0x150)]){const _0x9a9d3f=_0x400cae[_0x4cb470(0x10d)][_0x4cb470(0x1a5)];!this[_0x4cb470(0x157)][_0x4cb470(0xe0)](_0x9a9d3f)&&(this[_0x4cb470(0x157)][_0x4cb470(0x14e)](_0x4cb470(0x170),_0x9a9d3f)[_0x4cb470(0x102)]=!0x1);}const _0x17b29b=_0x11a091[_0x4cb470(0x1c1)](_0x400cae,this[_0x4cb470(0x157)]);return _0x17b29b[_0x4cb470(0x19b)]=_0x400cae[_0x4cb470(0x19b)],_0x17b29b[_0x4cb470(0x140)]=_0x5be476,_0x17b29b[_0x4cb470(0xfe)]=_0x5be476?null:_0x4482fd[_0x5ba327][_0x4cb470(0x123)],_0x17b29b[_0x4cb470(0xff)]=_0x4cb470(0x16c)===_0x4482fd[_0x5ba327][_0x4cb470(0x163)],_0x17b29b[_0x4cb470(0x1c7)]=_0x4482fd[_0x5ba327][_0x4cb470(0x1c7)],_0x17b29b;});}[_0x298827(0x14b)](){const _0x4d56c2=_0x298827;this[_0x4d56c2(0x111)]=!0x0,this[_0x4d56c2(0x1b4)]()?this[_0x4d56c2(0x1a4)]():this[_0x4d56c2(0x111)]=!0x1;}[_0x298827(0x1b4)](){const _0x5b226a=_0x298827,_0x27a377=this[_0x5b226a(0xd8)][_0x5b226a(0x195)][_0x5b226a(0x149)](_0x33a942)[_0x5b226a(0xfc)][_0x5b226a(0x149)](this[_0x5b226a(0x1cd)]);return!this[_0x5b226a(0xd8)][_0x5b226a(0x104)]&&!!_0x27a377&&_0x27a377[_0x5b226a(0x193)]>0x1&&this[_0x5b226a(0x111)];}[_0x298827(0x16e)](){const _0x2c98fe=_0x298827;return this[_0x2c98fe(0x13b)][_0x2c98fe(0x193)]>0x0||this[_0x2c98fe(0x1b4)]();}}class $ extends Error{}function K(_0x313052,_0x4a3520){const _0x28c46c=_0x298827;for(const _0x434f47 of _0x313052)_0x434f47[_0x28c46c(0xde)]=_0x4a3520++;}class J{[_0x298827(0x1a0)];[_0x298827(0x194)];constructor(_0x3610e3){const _0x312a5a=_0x298827;this[_0x312a5a(0x1a0)]=_0x3610e3,this[_0x312a5a(0x194)]=new WeakMap();}[_0x298827(0xf8)](_0x506318){const _0x2fa26d=_0x298827;let _0x3299f7=_0x506318[_0x2fa26d(0x193)];for(;_0x3299f7--;){const _0x33a196=_0x506318[_0x3299f7];if(!this[_0x2fa26d(0x1a0)][_0x2fa26d(0x11b)](_0x33a196)){if(!this[_0x2fa26d(0x194)][_0x2fa26d(0x11b)](_0x33a196)){const _0x511b1b=_0x2fee4f()[_0x2fa26d(0x148)](0x1,0x12);this[_0x2fa26d(0x194)][_0x2fa26d(0x143)](_0x33a196,_0x511b1b);}return this[_0x2fa26d(0x194)][_0x2fa26d(0x149)](_0x33a196);}}}[_0x298827(0xcb)](_0x12103f,_0x43f001){const _0x5ba696=_0x298827;if(!_0x43f001)return;let _0x5979a9=_0x12103f[_0x5ba696(0x193)];for(;_0x5979a9--;){const _0xd25cf=_0x12103f[_0x5979a9];this[_0x5ba696(0x1a0)][_0x5ba696(0x11b)](_0xd25cf)||this[_0x5ba696(0x194)][_0x5ba696(0x143)](_0xd25cf,_0x43f001);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e8eae=_0x5032;function _0x5032(_0xa09d69,_0x32afde){const _0x3de738=_0x3de7();return _0x5032=function(_0x503212,_0x3fb92b){_0x503212=_0x503212-0x1c6;let _0x4b468f=_0x3de738[_0x503212];return _0x4b468f;},_0x5032(_0xa09d69,_0x32afde);}(function(_0xebe44a,_0x58fe9d){const _0x230aad=_0x5032,_0x273eef=_0xebe44a();while(!![]){try{const _0x46fa01=-parseInt(_0x230aad(0x1fc))/0x1+-parseInt(_0x230aad(0x1d5))/0x2+parseInt(_0x230aad(0x1ec))/0x3*(-parseInt(_0x230aad(0x1f0))/0x4)+parseInt(_0x230aad(0x1ca))/0x5+-parseInt(_0x230aad(0x1de))/0x6+-parseInt(_0x230aad(0x1c6))/0x7*(-parseInt(_0x230aad(0x1c8))/0x8)+parseInt(_0x230aad(0x1f6))/0x9*(parseInt(_0x230aad(0x1c7))/0xa);if(_0x46fa01===_0x58fe9d)break;else _0x273eef['push'](_0x273eef['shift']());}catch(_0x4fb727){_0x273eef['push'](_0x273eef['shift']());}}}(_0x3de7,0xc2d86));import{ContextPlugin as _0x202012}from'ckeditor5/src/core.js';import{Collection as _0x488783,CKEditorError as _0x1191e5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x621787}from'./websocketgateway.js';import{Users as _0x420da4}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x202012{[_0x2e8eae(0x1d8)];[_0x2e8eae(0x1e0)];[_0x2e8eae(0x1eb)];[_0x2e8eae(0x1e3)];[_0x2e8eae(0x1da)];[_0x2e8eae(0x1e1)];static get[_0x2e8eae(0x1ce)](){const _0x253c88=_0x2e8eae;return _0x253c88(0x1ff);}static get[_0x2e8eae(0x1ed)](){return!0x0;}static get[_0x2e8eae(0x1e5)](){return!0x0;}static get[_0x2e8eae(0x202)](){return[_0x621787,_0x420da4];}constructor(_0x305213){const _0x1ae289=_0x2e8eae;super(_0x305213),this[_0x1ae289(0x1d8)]=new Map(),this[_0x1ae289(0x1e0)]=new Map(),this[_0x1ae289(0x1eb)]=new _0x488783(),this[_0x1ae289(0x1e3)]=new Map(),this[_0x1ae289(0x1da)]=0x0,this[_0x1ae289(0x1e1)]=this[_0x1ae289(0x1ee)][_0x1ae289(0x1d3)][_0x1ae289(0x1f3)](_0x420da4);}[_0x2e8eae(0x1fd)](){const _0x2046ad=_0x2e8eae,_0x31dcbc=this[_0x2046ad(0x1ee)][_0x2046ad(0x1d3)][_0x2046ad(0x1f3)](_0x621787);this[_0x2046ad(0x1e6)](_0x31dcbc,_0x2046ad(0x1d4),(_0x80d61a,_0x27c6ab,_0x5541ca)=>{const _0xeb76e7=_0x2046ad;if(_0xeb76e7(0x1fe)!==_0x5541ca)this[_0xeb76e7(0x1d8)][_0xeb76e7(0x1d9)](_0x22f426=>_0x22f426[_0xeb76e7(0x1f8)]()),this[_0xeb76e7(0x1e0)][_0xeb76e7(0x1d9)](_0x24325e=>_0x24325e[_0xeb76e7(0x1f8)]()),this[_0xeb76e7(0x1eb)][_0xeb76e7(0x1f8)]();else{for(const [_0x4dd13a,_0x2e6142]of this[_0xeb76e7(0x1e3)])for(const _0x3dff7c of _0x2e6142)this[_0xeb76e7(0x1d2)](_0x4dd13a,_0x3dff7c);}}),this[_0x2046ad(0x1df)](_0x31dcbc[_0x2046ad(0x1d7)]['me'],!0x0);}[_0x2e8eae(0x1d1)](_0x61b905,_0xfc97c0){const _0x2ccfd3=_0x2e8eae;if(this[_0x2ccfd3(0x1e3)][_0x2ccfd3(0x1ef)](_0x61b905))throw new _0x1191e5(_0x2ccfd3(0x1f4),null,{'channelId':_0x61b905});this[_0x2ccfd3(0x1e3)][_0x2ccfd3(0x1e4)](_0x61b905,_0xfc97c0),this[_0x2ccfd3(0x1d8)][_0x2ccfd3(0x1e4)](_0x61b905,new _0x488783()),this[_0x2ccfd3(0x1e0)][_0x2ccfd3(0x1e4)](_0x61b905,new _0x488783()),this[_0x2ccfd3(0x1e6)](_0xfc97c0,_0x2ccfd3(0x1fb),(_0x387c3d,_0x2a1a2c)=>this[_0x2ccfd3(0x1d2)](_0x61b905,_0x2a1a2c)),this[_0x2ccfd3(0x1e6)](_0xfc97c0,_0x2ccfd3(0x1cc),(_0x40ceff,_0x19123b)=>this[_0x2ccfd3(0x1cf)](_0x61b905,_0x19123b));for(const _0x3ecaec of _0xfc97c0)this[_0x2ccfd3(0x1d2)](_0x61b905,_0x3ecaec);}[_0x2e8eae(0x1d0)](_0x4edb6c){const _0x58cebc=_0x2e8eae;if(!this[_0x58cebc(0x1e3)][_0x58cebc(0x1ef)](_0x4edb6c))throw new _0x1191e5(_0x58cebc(0x1c9),null,{'channelId':_0x4edb6c});const _0x1982b6=this[_0x58cebc(0x1e3)][_0x58cebc(0x1f3)](_0x4edb6c);this[_0x58cebc(0x1fa)](_0x1982b6);for(const _0x1c046e of _0x1982b6)_0x58cebc(0x1fe)===this[_0x58cebc(0x1ee)][_0x58cebc(0x1d3)][_0x58cebc(0x1f3)](_0x621787)[_0x58cebc(0x1e7)]&&this[_0x58cebc(0x1cf)](_0x4edb6c,_0x1c046e);this[_0x58cebc(0x1e3)][_0x58cebc(0x1dc)](_0x4edb6c),this[_0x58cebc(0x1d8)][_0x58cebc(0x1dc)](_0x4edb6c),this[_0x58cebc(0x1e0)][_0x58cebc(0x1dc)](_0x4edb6c);}get[_0x2e8eae(0x1e9)](){const _0x27a05d=_0x2e8eae;return this[_0x27a05d(0x1ee)][_0x27a05d(0x1d3)][_0x27a05d(0x1f3)](_0x621787)[_0x27a05d(0x1d7)][_0x27a05d(0x1f2)];}[_0x2e8eae(0x1db)](_0x2646aa){const _0x1792b8=_0x2e8eae;for(const _0x185649 of this[_0x1792b8(0x1d8)][_0x1792b8(0x204)]())for(const _0x14c15a of _0x185649)if(_0x14c15a['id']===_0x2646aa)return _0x14c15a[_0x1792b8(0x1f7)];}[_0x2e8eae(0x1dd)](_0x42ac28,_0x2f7434){const _0x3536dc=_0x2e8eae,_0x233ed3=_0x2f7434?[this[_0x3536dc(0x1d8)][_0x3536dc(0x1f3)](_0x2f7434)]:this[_0x3536dc(0x1d8)][_0x3536dc(0x204)](),_0x22b999=new Set();for(const _0x2e9758 of _0x233ed3)for(const _0x4aa4a1 of _0x2e9758)_0x4aa4a1[_0x3536dc(0x1f7)]['id']===_0x42ac28['id']&&_0x22b999[_0x3536dc(0x1fb)](_0x4aa4a1['id']);return _0x22b999;}[_0x2e8eae(0x1cd)](_0x4fdf12){const _0x3ff0cd=_0x2e8eae;for(const _0x19bf21 of this[_0x3ff0cd(0x1d8)][_0x3ff0cd(0x204)]())for(const _0x5f793 of _0x19bf21)if(_0x5f793[_0x3ff0cd(0x1f7)]===_0x4fdf12)return _0x5f793[_0x3ff0cd(0x1ea)];}[_0x2e8eae(0x1d2)](_0x3717ec,_0x2145b2){const _0x4f6973=_0x2e8eae;if(_0x4f6973(0x1fe)!==this[_0x4f6973(0x1ee)][_0x4f6973(0x1d3)][_0x4f6973(0x1f3)](_0x621787)[_0x4f6973(0x1e7)])return;const _0x3b2953=_0x2145b2[_0x4f6973(0x1f7)],_0x4d01ff=this[_0x4f6973(0x1e1)][_0x4f6973(0x1f1)](_0x3b2953['id'])||this[_0x4f6973(0x1df)](_0x3b2953),_0x376cdc=Object[_0x4f6973(0x1e2)]({},_0x2145b2,{'user':_0x4d01ff});if(this[_0x4f6973(0x1d8)][_0x4f6973(0x1f3)](_0x3717ec)[_0x4f6973(0x1fb)](_0x376cdc),!_0x3b2953[_0x4f6973(0x203)]){const _0x3a22bb=this[_0x4f6973(0x1e0)][_0x4f6973(0x1f3)](_0x3717ec);_0x3a22bb[_0x4f6973(0x1ef)](_0x4d01ff['id'])||_0x3a22bb[_0x4f6973(0x1fb)](_0x4d01ff),this[_0x4f6973(0x1eb)][_0x4f6973(0x1ef)](_0x4d01ff['id'])||_0x3b2953[_0x4f6973(0x203)]||this[_0x4f6973(0x1eb)][_0x4f6973(0x1fb)](_0x4d01ff,_0x4d01ff[_0x4f6973(0x201)]?0x0:void 0x0);}this[_0x4f6973(0x200)](_0x4f6973(0x1d6)+_0x3717ec,{'channelId':_0x3717ec,'session':_0x376cdc});}[_0x2e8eae(0x1cf)](_0x64543f,_0x38194c){const _0x301bd2=_0x2e8eae;if(_0x301bd2(0x1fe)!==this[_0x301bd2(0x1ee)][_0x301bd2(0x1d3)][_0x301bd2(0x1f3)](_0x621787)[_0x301bd2(0x1e7)])return;const _0x2b4715=this[_0x301bd2(0x1e0)][_0x301bd2(0x1f3)](_0x64543f),_0x9000c9=_0x38194c[_0x301bd2(0x1f7)];_0x9000c9['id']&&(this[_0x301bd2(0x1d8)][_0x301bd2(0x1f3)](_0x64543f)[_0x301bd2(0x1cc)](_0x38194c['id']),_0x2b4715[_0x301bd2(0x1ef)](_0x9000c9['id'])&&!this[_0x301bd2(0x1dd)](_0x9000c9,_0x64543f)[_0x301bd2(0x1e8)]&&_0x2b4715[_0x301bd2(0x1cc)](_0x9000c9['id']),this[_0x301bd2(0x1eb)][_0x301bd2(0x1f3)](_0x9000c9['id'])&&!this[_0x301bd2(0x1dd)](_0x9000c9)[_0x301bd2(0x1e8)]&&this[_0x301bd2(0x1eb)][_0x301bd2(0x1cc)](_0x9000c9['id']));}[_0x2e8eae(0x1df)](_0x3c851d,_0x4ad932){const _0x4bbd2b=_0x2e8eae,_0xd590da=this[_0x4bbd2b(0x1e1)][_0x4bbd2b(0x1f9)](_0x3c851d);return _0x4ad932&&this[_0x4bbd2b(0x1e1)][_0x4bbd2b(0x1f5)](_0x3c851d['id']),_0xd590da[_0x4bbd2b(0x1cb)]=this[_0x4bbd2b(0x1da)]++,_0xd590da;}}function _0x3de7(){const _0x1555af=['assign','_registeredSessions','set','isPremiumPlugin','listenTo','state','size','mySessionId','role','allConnectedUsers','6cYGavu','isOfficialPlugin','context','has','1240324iFFcuD','getUser','sessionId','get','sessions-register-already-registered','defineMe','9bFWFQF','user','clear','addUser','stopListening','add','225857pbdBGh','init','connected','Sessions','fire','isMe','requires','hiddenInPresenceList','values','1188439TVjDZz','8048150ODRTuZ','8LRuHkp','sessions-unregister-not-exist','7812255VCGkGF','orderNumber','remove','getUserRole','pluginName','_handleSessionRemove','unregister','register','_handleSessionAdd','plugins','change:state','1003218qSDEOY','sessionAdd:','connection','channelSessions','forEach','_uniqueUsersCount','getUserBySessionId','delete','getUserSessions','2347974BgewcA','_createUser','channelConnectedUsers','_users'];_0x3de7=function(){return _0x1555af;};return _0x3de7();}
23
+ const _0x5c095e=_0x4ace;(function(_0x118e49,_0x204966){const _0x5b8378=_0x4ace,_0x22227e=_0x118e49();while(!![]){try{const _0x306da1=parseInt(_0x5b8378(0xff))/0x1+-parseInt(_0x5b8378(0xfe))/0x2+parseInt(_0x5b8378(0xf5))/0x3+-parseInt(_0x5b8378(0xf0))/0x4+parseInt(_0x5b8378(0x11f))/0x5*(parseInt(_0x5b8378(0xf4))/0x6)+-parseInt(_0x5b8378(0x126))/0x7*(parseInt(_0x5b8378(0xf6))/0x8)+-parseInt(_0x5b8378(0x122))/0x9*(-parseInt(_0x5b8378(0x116))/0xa);if(_0x306da1===_0x204966)break;else _0x22227e['push'](_0x22227e['shift']());}catch(_0x3e1bb9){_0x22227e['push'](_0x22227e['shift']());}}}(_0x121b,0x97cf2));import{ContextPlugin as _0x48048f}from'ckeditor5/src/core.js';import{Collection as _0x2d4651,CKEditorError as _0x4c3e27}from'ckeditor5/src/utils.js';function _0x4ace(_0x54b9f7,_0x46b2d5){const _0x121bda=_0x121b();return _0x4ace=function(_0x4aced6,_0x12682d){_0x4aced6=_0x4aced6-0xee;let _0x3a5705=_0x121bda[_0x4aced6];return _0x3a5705;},_0x4ace(_0x54b9f7,_0x46b2d5);}import{WebSocketGateway as _0x38afb0}from'./websocketgateway.js';function _0x121b(){const _0x5e7d95=['connection','67205SnMFXN','sessions-unregister-not-exist','channelConnectedUsers','226422LHvoHm','hiddenInPresenceList','values','stopListening','21OhHaWw','getUserSessions','getUserRole','state','clear','_handleSessionRemove','_uniqueUsersCount','get','unregister','3761388MniRnH','role','assign','mySessionId','12ANBGCR','2124099MdwUaW','1919408KSpcjX','Sessions','getUser','has','plugins','channelSessions','size','sessionId','51398JgdjqW','38081OQHCNy','isOfficialPlugin','sessionAdd:','fire','isMe','connected','init','allConnectedUsers','isPremiumPlugin','addUser','register','delete','_registeredSessions','_handleSessionAdd','sessions-register-already-registered','pluginName','_createUser','add','remove','requires','defineMe','getUserBySessionId','context','610vodpje','_users','set','user','forEach','change:state','listenTo','orderNumber'];_0x121b=function(){return _0x5e7d95;};return _0x121b();}import{Users as _0x637149}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x48048f{[_0x5c095e(0xfb)];[_0x5c095e(0x121)];[_0x5c095e(0x106)];[_0x5c095e(0x10b)];[_0x5c095e(0x12c)];[_0x5c095e(0x117)];static get[_0x5c095e(0x10e)](){const _0xe72231=_0x5c095e;return _0xe72231(0xf7);}static get[_0x5c095e(0x100)](){return!0x0;}static get[_0x5c095e(0x107)](){return!0x0;}static get[_0x5c095e(0x112)](){return[_0x38afb0,_0x637149];}constructor(_0x4d9f0d){const _0x23cd71=_0x5c095e;super(_0x4d9f0d),this[_0x23cd71(0xfb)]=new Map(),this[_0x23cd71(0x121)]=new Map(),this[_0x23cd71(0x106)]=new _0x2d4651(),this[_0x23cd71(0x10b)]=new Map(),this[_0x23cd71(0x12c)]=0x0,this[_0x23cd71(0x117)]=this[_0x23cd71(0x115)][_0x23cd71(0xfa)][_0x23cd71(0xee)](_0x637149);}[_0x5c095e(0x105)](){const _0x4c0c16=_0x5c095e,_0x312586=this[_0x4c0c16(0x115)][_0x4c0c16(0xfa)][_0x4c0c16(0xee)](_0x38afb0);this[_0x4c0c16(0x11c)](_0x312586,_0x4c0c16(0x11b),(_0x3e3a93,_0x8e6396,_0x2a627f)=>{const _0x347fbb=_0x4c0c16;if(_0x347fbb(0x104)!==_0x2a627f)this[_0x347fbb(0xfb)][_0x347fbb(0x11a)](_0x40358b=>_0x40358b[_0x347fbb(0x12a)]()),this[_0x347fbb(0x121)][_0x347fbb(0x11a)](_0x16a846=>_0x16a846[_0x347fbb(0x12a)]()),this[_0x347fbb(0x106)][_0x347fbb(0x12a)]();else{for(const [_0x4e009f,_0x2bdd79]of this[_0x347fbb(0x10b)])for(const _0x33469f of _0x2bdd79)this[_0x347fbb(0x10c)](_0x4e009f,_0x33469f);}}),this[_0x4c0c16(0x10f)](_0x312586[_0x4c0c16(0x11e)]['me'],!0x0);}[_0x5c095e(0x109)](_0x55009d,_0x254d44){const _0xb79e3e=_0x5c095e;if(this[_0xb79e3e(0x10b)][_0xb79e3e(0xf9)](_0x55009d))throw new _0x4c3e27(_0xb79e3e(0x10d),null,{'channelId':_0x55009d});this[_0xb79e3e(0x10b)][_0xb79e3e(0x118)](_0x55009d,_0x254d44),this[_0xb79e3e(0xfb)][_0xb79e3e(0x118)](_0x55009d,new _0x2d4651()),this[_0xb79e3e(0x121)][_0xb79e3e(0x118)](_0x55009d,new _0x2d4651()),this[_0xb79e3e(0x11c)](_0x254d44,_0xb79e3e(0x110),(_0x1ea439,_0x4e0d45)=>this[_0xb79e3e(0x10c)](_0x55009d,_0x4e0d45)),this[_0xb79e3e(0x11c)](_0x254d44,_0xb79e3e(0x111),(_0x3875ae,_0x16f227)=>this[_0xb79e3e(0x12b)](_0x55009d,_0x16f227));for(const _0xb4ccee of _0x254d44)this[_0xb79e3e(0x10c)](_0x55009d,_0xb4ccee);}[_0x5c095e(0xef)](_0x290b3b){const _0x59e744=_0x5c095e;if(!this[_0x59e744(0x10b)][_0x59e744(0xf9)](_0x290b3b))throw new _0x4c3e27(_0x59e744(0x120),null,{'channelId':_0x290b3b});const _0x46568f=this[_0x59e744(0x10b)][_0x59e744(0xee)](_0x290b3b);this[_0x59e744(0x125)](_0x46568f);for(const _0x54600b of _0x46568f)_0x59e744(0x104)===this[_0x59e744(0x115)][_0x59e744(0xfa)][_0x59e744(0xee)](_0x38afb0)[_0x59e744(0x129)]&&this[_0x59e744(0x12b)](_0x290b3b,_0x54600b);this[_0x59e744(0x10b)][_0x59e744(0x10a)](_0x290b3b),this[_0x59e744(0xfb)][_0x59e744(0x10a)](_0x290b3b),this[_0x59e744(0x121)][_0x59e744(0x10a)](_0x290b3b);}get[_0x5c095e(0xf3)](){const _0x99e215=_0x5c095e;return this[_0x99e215(0x115)][_0x99e215(0xfa)][_0x99e215(0xee)](_0x38afb0)[_0x99e215(0x11e)][_0x99e215(0xfd)];}[_0x5c095e(0x114)](_0xe6a92f){const _0x59e45a=_0x5c095e;for(const _0x22d98b of this[_0x59e45a(0xfb)][_0x59e45a(0x124)]())for(const _0x1026be of _0x22d98b)if(_0x1026be['id']===_0xe6a92f)return _0x1026be[_0x59e45a(0x119)];}[_0x5c095e(0x127)](_0x55ebd5,_0x5ab7f6){const _0x19c71f=_0x5c095e,_0x1f1a41=_0x5ab7f6?[this[_0x19c71f(0xfb)][_0x19c71f(0xee)](_0x5ab7f6)]:this[_0x19c71f(0xfb)][_0x19c71f(0x124)](),_0x260111=new Set();for(const _0x4532b6 of _0x1f1a41)for(const _0x59626d of _0x4532b6)_0x59626d[_0x19c71f(0x119)]['id']===_0x55ebd5['id']&&_0x260111[_0x19c71f(0x110)](_0x59626d['id']);return _0x260111;}[_0x5c095e(0x128)](_0x4959a4){const _0x4c8be3=_0x5c095e;for(const _0x17015b of this[_0x4c8be3(0xfb)][_0x4c8be3(0x124)]())for(const _0x10b560 of _0x17015b)if(_0x10b560[_0x4c8be3(0x119)]===_0x4959a4)return _0x10b560[_0x4c8be3(0xf1)];}[_0x5c095e(0x10c)](_0x3be893,_0x26b030){const _0x5a44b3=_0x5c095e;if(_0x5a44b3(0x104)!==this[_0x5a44b3(0x115)][_0x5a44b3(0xfa)][_0x5a44b3(0xee)](_0x38afb0)[_0x5a44b3(0x129)])return;const _0x72d6ff=_0x26b030[_0x5a44b3(0x119)],_0x7ecb18=this[_0x5a44b3(0x117)][_0x5a44b3(0xf8)](_0x72d6ff['id'])||this[_0x5a44b3(0x10f)](_0x72d6ff),_0x33d3de=Object[_0x5a44b3(0xf2)]({},_0x26b030,{'user':_0x7ecb18});if(this[_0x5a44b3(0xfb)][_0x5a44b3(0xee)](_0x3be893)[_0x5a44b3(0x110)](_0x33d3de),!_0x72d6ff[_0x5a44b3(0x123)]){const _0x37ba37=this[_0x5a44b3(0x121)][_0x5a44b3(0xee)](_0x3be893);_0x37ba37[_0x5a44b3(0xf9)](_0x7ecb18['id'])||_0x37ba37[_0x5a44b3(0x110)](_0x7ecb18),this[_0x5a44b3(0x106)][_0x5a44b3(0xf9)](_0x7ecb18['id'])||_0x72d6ff[_0x5a44b3(0x123)]||this[_0x5a44b3(0x106)][_0x5a44b3(0x110)](_0x7ecb18,_0x7ecb18[_0x5a44b3(0x103)]?0x0:void 0x0);}this[_0x5a44b3(0x102)](_0x5a44b3(0x101)+_0x3be893,{'channelId':_0x3be893,'session':_0x33d3de});}[_0x5c095e(0x12b)](_0x55ebcc,_0x51d24d){const _0x3a9a23=_0x5c095e;if(_0x3a9a23(0x104)!==this[_0x3a9a23(0x115)][_0x3a9a23(0xfa)][_0x3a9a23(0xee)](_0x38afb0)[_0x3a9a23(0x129)])return;const _0xfc32ca=this[_0x3a9a23(0x121)][_0x3a9a23(0xee)](_0x55ebcc),_0x5e76c2=_0x51d24d[_0x3a9a23(0x119)];_0x5e76c2['id']&&(this[_0x3a9a23(0xfb)][_0x3a9a23(0xee)](_0x55ebcc)[_0x3a9a23(0x111)](_0x51d24d['id']),_0xfc32ca[_0x3a9a23(0xf9)](_0x5e76c2['id'])&&!this[_0x3a9a23(0x127)](_0x5e76c2,_0x55ebcc)[_0x3a9a23(0xfc)]&&_0xfc32ca[_0x3a9a23(0x111)](_0x5e76c2['id']),this[_0x3a9a23(0x106)][_0x3a9a23(0xee)](_0x5e76c2['id'])&&!this[_0x3a9a23(0x127)](_0x5e76c2)[_0x3a9a23(0xfc)]&&this[_0x3a9a23(0x106)][_0x3a9a23(0x111)](_0x5e76c2['id']));}[_0x5c095e(0x10f)](_0x41f462,_0x51428d){const _0x61154=_0x5c095e,_0x4fc5a0=this[_0x61154(0x117)][_0x61154(0x108)](_0x41f462);return _0x51428d&&this[_0x61154(0x117)][_0x61154(0x113)](_0x41f462['id']),_0x4fc5a0[_0x61154(0x11d)]=this[_0x61154(0x12c)]++,_0x4fc5a0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x397b(_0x4dcf7e,_0x54fa0a){const _0x471164=_0x4711();return _0x397b=function(_0x397bcd,_0x1041b5){_0x397bcd=_0x397bcd-0xa4;let _0x570e5f=_0x471164[_0x397bcd];return _0x570e5f;},_0x397b(_0x4dcf7e,_0x54fa0a);}const _0x2de0e8=_0x397b;(function(_0xe50d3f,_0x330694){const _0x549b3e=_0x397b,_0x4cbc72=_0xe50d3f();while(!![]){try{const _0x5e6490=parseInt(_0x549b3e(0xb5))/0x1*(-parseInt(_0x549b3e(0x103))/0x2)+parseInt(_0x549b3e(0x11c))/0x3*(-parseInt(_0x549b3e(0x120))/0x4)+parseInt(_0x549b3e(0x127))/0x5+parseInt(_0x549b3e(0x10b))/0x6*(parseInt(_0x549b3e(0x104))/0x7)+-parseInt(_0x549b3e(0x116))/0x8*(parseInt(_0x549b3e(0xd4))/0x9)+parseInt(_0x549b3e(0x12d))/0xa*(-parseInt(_0x549b3e(0xa7))/0xb)+parseInt(_0x549b3e(0xb3))/0xc;if(_0x5e6490===_0x330694)break;else _0x4cbc72['push'](_0x4cbc72['shift']());}catch(_0x49bd71){_0x4cbc72['push'](_0x4cbc72['shift']());}}}(_0x4711,0x1f30a));import{Plugin as _0x423333}from'ckeditor5/src/core.js';import{global as _0xe419ce,DomEmitterMixin as _0x35534d}from'ckeditor5/src/utils.js';function _0x4711(){const _0x1529ea=['168OZeoZu','isCollapsed','start','view','_createdBatches','set','getSelectionClass','textContent','toDomElement','delete','user:position:','357992uhfChI','undo','type','editingDowncast','for','markerToElement','11019KzCPLn','isDocumentOperation','markerToHighlight','markerName','60YJIday','root','getFirstRange','mouseenter','userPositionMarker','getCustomProperty','markerNameToElements','714785uZDAWo','requires','batch','applyOperation','update:user:range','split','1407910CmvoAP','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','highest','stopListening','document','pluginName','11UyThsC','color','init','user:range','editing','createUIElement','conversion','getMarkerClass','toRange','fromRange','user:','commands','5570076XIRPql','end','9WfDXpG','getContainedElement','$text','detach','newRange','ck-user__marker_hovered','createUserMarkerOperations','data-session-id','getStart','addEventListener','getAttribute','false','user:range:','getUserBySessionId','enqueueChange','updateMarker','oldRange','schema','clear','createElement','size','mouseleave','isPremiumPlugin','_domEmitter','mySessionId','spellcheck','orderNumber','rootName','innerHTML','span','change:range','27TcYwYM','isOfficialPlugin','markers','outerHTML','afterInit','keydown','ck-user__marker\x20','user:position','reconvertMarker','tableCell','isLimit','setAttribute','getRange','parent','UserMarkers','classList','render','mapper','getPositions','Escape','removeMarker','element','change','plugins','contenteditable','listenTo','editor','getNearestSelectionRange','ck-user__selection','add','$graveyard','isObject','markerRange','get','setCustomProperty','startsWith','hasDomSelection','name','deletionPosition','selection','hasContent','isInline','createRange','has','marker','checkChild','model','56598gmQerR','26362lGbQsJ','destroy','removeClass','remove','nodeAfter','addMarker','isSimilar'];_0x4711=function(){return _0x1529ea;};return _0x4711();}import{Sessions as _0x438698}from'./sessions.js';import{ModelLiveRange as _0x263824}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x423333{[_0x2de0e8(0xcc)]=new(_0x35534d())();static get[_0x2de0e8(0x128)](){return[_0x438698];}static get[_0x2de0e8(0xa6)](){const _0x30d408=_0x2de0e8;return _0x30d408(0xe2);}static get[_0x2de0e8(0xd5)](){return!0x0;}static get[_0x2de0e8(0xcb)](){return!0x0;}[_0x2de0e8(0xa9)](){const _0x9445bf=_0x2de0e8,_0x140dc8=this[_0x9445bf(0xee)],_0x73355e=_0x140dc8[_0x9445bf(0xeb)][_0x9445bf(0xf5)](_0x438698);_0x140dc8[_0x9445bf(0xad)][_0x9445bf(0x11a)](_0x9445bf(0x119))[_0x9445bf(0x11b)]({'model':_0x9445bf(0xdb),'view':(_0x25ff08,{writer:_0x74c545})=>function(_0x10be1f,_0xd3ecc5,_0x14d213,_0x2a4f29){const _0x421603=_0x9445bf,_0x88747a=_0x10be1f[_0x421603(0x11f)][_0x421603(0x12c)](':')[0x2],_0x465f75=_0x14d213[_0x421603(0xc2)](_0x88747a);if(!_0x465f75||_0x88747a===_0x14d213[_0x421603(0xcd)])return;if(!_0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)][_0x421603(0x101)](_0x10be1f[_0x421603(0xf4)][_0x421603(0x10d)],_0x421603(0xb7)))return;const _0x42873a={'class':_0x421603(0xda)+_0x465f75[_0x421603(0xa8)][_0x421603(0xae)](),'data-name':_0x465f75[_0x421603(0xf9)],'data-session-id':_0x88747a},_0x4e6a7b=_0x2a4f29[_0x421603(0x102)][_0x421603(0xd6)][_0x421603(0xf5)](_0x10be1f[_0x421603(0x11f)]),_0x54564f=_0x4e6a7b[_0x421603(0xbd)](),_0x1e7e28=_0x54564f[_0x421603(0x108)],_0x312b87=_0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)];if(_0x1e7e28&&_0x312b87[_0x421603(0xf3)](_0x1e7e28)&&_0x312b87[_0x421603(0xfd)](_0x1e7e28)&&!_0x2a4f29[_0x421603(0x102)][_0x421603(0xd6)][_0x421603(0xf5)](_0x421603(0xc1)+_0x88747a)[_0x421603(0xe0)]()[_0x421603(0x10c)])return;const _0x1bdd7a=_0x54564f[_0x421603(0xe1)];return _0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)][_0x421603(0xde)](_0x1bdd7a)&&!_0x2a4f29[_0x421603(0x102)][_0x421603(0xfc)](_0x1bdd7a)&&(_0x42873a[_0x421603(0xec)]=!0x1),function(_0x477f65,_0x150744,_0x16d42d){const _0x2c3f35=_0x421603,_0x4b6eb3=_0x477f65[_0x2c3f35(0xac)](_0x2c3f35(0xd2),_0x150744);return _0x477f65[_0x2c3f35(0xf6)](_0x2c3f35(0x124),!0x0,_0x4b6eb3),_0x4b6eb3[_0x2c3f35(0xe4)]=function(_0x240465){const _0x2fe12c=_0x2c3f35,_0x3f00ee=this[_0x2fe12c(0x113)](_0x240465),_0x59578c=document[_0x2fe12c(0xc8)](_0x2fe12c(0xd2));return _0x59578c[_0x2fe12c(0xe3)][_0x2fe12c(0xf1)](_0x2fe12c(0x12f)),_0x59578c[_0x2fe12c(0xdf)](_0x2fe12c(0xec),_0x2fe12c(0xc0)),_0x59578c[_0x2fe12c(0xdf)](_0x2fe12c(0xce),_0x2fe12c(0xc0)),_0x59578c[_0x2fe12c(0x112)]=_0x16d42d[_0x2fe12c(0xf9)],_0x3f00ee[_0x2fe12c(0xd1)]=_0x2fe12c(0x12e)+_0x59578c[_0x2fe12c(0xd7)]+'⁠',_0x3f00ee[_0x2fe12c(0xbe)](_0x2fe12c(0x123),()=>{const _0x4b7416=_0x2fe12c;_0x3f00ee[_0x4b7416(0xe3)][_0x4b7416(0xf1)](_0x4b7416(0xba));}),_0x3f00ee[_0x2fe12c(0xbe)](_0x2fe12c(0xca),()=>{const _0x3e3302=_0x2fe12c;_0x3f00ee[_0x3e3302(0xe3)][_0x3e3302(0x107)](_0x3e3302(0xba));}),_0x3f00ee;},_0x4b6eb3[_0x2c3f35(0x10a)]=function(_0x4c982d){const _0x3f3aa5=_0x2c3f35;return!(!this[_0x3f3aa5(0x125)](_0x3f3aa5(0x124))||!_0x4c982d[_0x3f3aa5(0x125)](_0x3f3aa5(0x124))||this[_0x3f3aa5(0xbf)](_0x3f3aa5(0xbc))!=_0x4c982d[_0x3f3aa5(0xbf)](_0x3f3aa5(0xbc)));},_0x4b6eb3;}(_0xd3ecc5,_0x42873a,_0x465f75);}(_0x25ff08,_0x74c545,_0x73355e,_0x140dc8)}),_0x140dc8[_0x9445bf(0xad)][_0x9445bf(0x11a)](_0x9445bf(0x119))[_0x9445bf(0x11e)]({'model':_0x9445bf(0xaa),'view':_0x17da1b=>function(_0x3f1bc6,_0x326d36){const _0x1b17e5=_0x9445bf,_0x2d7a71=_0x3f1bc6[_0x1b17e5(0x11f)][_0x1b17e5(0x12c)](':')[0x2];if(_0x2d7a71===_0x326d36[_0x1b17e5(0xcd)])return null;const _0x5ea34d=_0x326d36[_0x1b17e5(0xc2)](_0x2d7a71);if(!_0x5ea34d)return{'id':_0x2d7a71,'classes':[]};return{'id':_0x2d7a71,'classes':[_0x1b17e5(0xf0),_0x5ea34d[_0x1b17e5(0xa8)][_0x1b17e5(0x111)]()],'attributes':{'data-session-id':_0x2d7a71},'priority':0x7d0+_0x5ea34d[_0x1b17e5(0xcf)]};}(_0x17da1b,_0x73355e)}),function(_0x2da6b9){const _0x4ac1ce=_0x9445bf,_0x3754d8=_0x2da6b9[_0x4ac1ce(0x102)],_0x1f0783=new Map(),_0x1dabc6=_0x2da6b9[_0x4ac1ce(0xeb)][_0x4ac1ce(0xf5)](_0x438698);_0x3754d8[_0x4ac1ce(0xd6)]['on'](_0x4ac1ce(0x12b),(_0x5ea393,_0x1f7070,_0x3807b8,_0x3c1c29)=>{const _0x198add=_0x4ac1ce;if(!_0x3c1c29&&_0x1f0783[_0x198add(0xf5)](_0x1f7070[_0x198add(0xf9)]))return _0x1f0783[_0x198add(0xf5)](_0x1f7070[_0x198add(0xf9)])[_0x198add(0xb8)](),void _0x1f0783[_0x198add(0x114)](_0x1f7070[_0x198add(0xf9)]);const _0x330b6d=_0x1f7070[_0x198add(0xf9)][_0x198add(0x12c)](':')[0x2];if(_0x330b6d===_0x1dabc6[_0x198add(0xcd)])return;const _0x2e4459=_0x198add(0x115)+_0x330b6d;_0x3754d8[_0x198add(0xd6)][_0x198add(0xff)](_0x2e4459)&&_0x2da6b9[_0x198add(0xab)][_0x198add(0xdc)](_0x2e4459),_0x1f7070['on'](_0x198add(0xd3),(_0xa0dce2,_0x3f876b,_0x463988)=>{const _0x34b9f9=_0x198add;if(_0x34b9f9(0xf2)!=_0x3f876b[_0x34b9f9(0x121)][_0x34b9f9(0xd0)]&&_0x34b9f9(0xf2)==_0x1f7070[_0x34b9f9(0xe0)]()[_0x34b9f9(0x121)][_0x34b9f9(0xd0)]&&!_0x1f0783[_0x34b9f9(0xff)](_0x1f7070[_0x34b9f9(0xf9)])){const _0x3c83d7=_0x3754d8[_0x34b9f9(0xc6)][_0x34b9f9(0xef)](_0x463988[_0x34b9f9(0xfa)]);if(_0x3c83d7){const _0x248eb6=_0x263824[_0x34b9f9(0xb0)](_0x3c83d7);_0x1f0783[_0x34b9f9(0x110)](_0x1f7070[_0x34b9f9(0xf9)],_0x248eb6),_0x248eb6['on'](_0x34b9f9(0xd3),(_0x4286ce,_0x4c3f70,_0x58f5e0)=>{const _0x3fcaba=_0x34b9f9;if(_0x3fcaba(0xf2)==_0x248eb6[_0x3fcaba(0x121)][_0x3fcaba(0xd0)]){const _0x230a3f=_0x3754d8[_0x3fcaba(0xc6)][_0x3fcaba(0xef)](_0x58f5e0[_0x3fcaba(0xfa)]);_0x230a3f?(_0x248eb6[_0x3fcaba(0x10d)]=_0x230a3f[_0x3fcaba(0x10d)],_0x248eb6[_0x3fcaba(0xb4)]=_0x230a3f[_0x3fcaba(0xb4)]):(_0x1f0783[_0x3fcaba(0x114)](_0x1f7070[_0x3fcaba(0xf9)]),_0x248eb6[_0x3fcaba(0xb8)]());}});}}});}),_0x3754d8[_0x4ac1ce(0xa5)]['on'](_0x4ac1ce(0xea),()=>{const _0x5f3bc7=_0x4ac1ce;_0x1f0783[_0x5f3bc7(0xc9)]>0x0&&_0x3754d8[_0x5f3bc7(0xc3)]({'isUndoable':!0x1},_0x2f8e75=>{const _0x434545=_0x5f3bc7;for(const [_0x1cf4e5,_0x56a19c]of _0x1f0783)_0x434545(0xf2)==_0x3754d8[_0x434545(0xd6)][_0x434545(0xf5)](_0x1cf4e5)[_0x434545(0xe0)]()[_0x434545(0x121)][_0x434545(0xd0)]&&(te(_0x1cf4e5[_0x434545(0x12c)](':')[0x2],_0x56a19c[_0x434545(0xaf)](),_0x3754d8,_0x2f8e75),_0x56a19c[_0x434545(0xb8)]());_0x1f0783[_0x434545(0xc7)]();});});}(_0x140dc8),this[_0x9445bf(0xcc)][_0x9445bf(0xed)](_0xe419ce[_0x9445bf(0xa5)],_0x9445bf(0xd9),(_0x4ef458,{key:_0x19bce2})=>{const _0x3ef3a1=_0x9445bf;_0x3ef3a1(0xe7)===_0x19bce2&&function(_0x193e08){const _0x3c08eb=_0x3ef3a1;_0x193e08[_0x3c08eb(0xab)][_0x3c08eb(0x10e)][_0x3c08eb(0xea)](_0xaf924a=>{const _0x59efd9=_0x3c08eb;for(const _0x443ac9 of _0x193e08[_0x59efd9(0x102)][_0x59efd9(0xd6)]){if(!_0x443ac9[_0x59efd9(0xf9)][_0x59efd9(0xf7)](_0x59efd9(0xdb)))continue;const _0x1746ed=_0x193e08[_0x59efd9(0xab)][_0x59efd9(0xe5)][_0x59efd9(0x126)](_0x443ac9[_0x59efd9(0xf9)]);if(_0x1746ed){for(const _0x324cec of _0x1746ed)_0xaf924a[_0x59efd9(0x106)](_0x59efd9(0xba),_0x324cec);}}});}(_0x140dc8);},{'useCapture':!0x0});}[_0x2de0e8(0xd8)](){const _0x389493=_0x2de0e8,_0x175c61=this[_0x389493(0xee)],_0x58dfa5=_0x175c61[_0x389493(0xb2)][_0x389493(0xf5)](_0x389493(0x117));_0x58dfa5&&_0x175c61[_0x389493(0x102)]['on'](_0x389493(0x12a),(_0x1f2628,_0x1b5bce)=>{const _0x1c5ab2=_0x389493,_0x3e52c1=_0x1b5bce[0x0];if(!_0x3e52c1[_0x1c5ab2(0x11d)])return;if(_0x1c5ab2(0x100)!=_0x3e52c1[_0x1c5ab2(0x118)]||!_0x3e52c1[_0x1c5ab2(0xf9)][_0x1c5ab2(0xf7)](_0x1c5ab2(0xb1)))return;const _0x5f0732=_0x3e52c1[_0x1c5ab2(0x129)];_0x58dfa5[_0x1c5ab2(0x10f)][_0x1c5ab2(0xff)](_0x5f0732)&&(_0x3e52c1[_0x1c5ab2(0xb9)]=_0x3e52c1[_0x1c5ab2(0xc5)]?_0x175c61[_0x1c5ab2(0x102)][_0x1c5ab2(0xfe)](_0x3e52c1[_0x1c5ab2(0xc5)][_0x1c5ab2(0x10d)],_0x3e52c1[_0x1c5ab2(0xc5)][_0x1c5ab2(0xb4)]):null);},{'priority':_0x389493(0x130)});}[_0x2de0e8(0x105)](){const _0x487ff6=_0x2de0e8;return this[_0x487ff6(0xcc)][_0x487ff6(0xa4)](),super[_0x487ff6(0x105)]();}[_0x2de0e8(0xbb)](){const _0x1c9c4e=_0x2de0e8,_0x4c783f=this[_0x1c9c4e(0xee)],_0x1be352=_0x4c783f[_0x1c9c4e(0x102)][_0x1c9c4e(0xa5)],_0x3b74d2=_0x4c783f[_0x1c9c4e(0xeb)][_0x1c9c4e(0xf5)](_0x438698);_0x4c783f[_0x1c9c4e(0x102)][_0x1c9c4e(0xc3)]({'isUndoable':!0x1},_0x5a070c=>{const _0x101816=_0x1c9c4e,_0x2f8962=_0x101816(0xc1)+_0x3b74d2[_0x101816(0xcd)],_0x3109f2=_0x101816(0x115)+_0x3b74d2[_0x101816(0xcd)],_0x164512=_0x4c783f[_0x101816(0x102)][_0x101816(0xd6)][_0x101816(0xff)](_0x2f8962);_0x4c783f[_0x101816(0xab)][_0x101816(0x10e)][_0x101816(0xf8)]?te(_0x3b74d2[_0x101816(0xcd)],_0x1be352[_0x101816(0xfb)][_0x101816(0x122)](),_0x4c783f[_0x101816(0x102)],_0x5a070c):_0x164512&&(_0x5a070c[_0x101816(0xe8)](_0x2f8962),_0x5a070c[_0x101816(0xe8)](_0x3109f2));});}}function te(_0x21d0a1,_0xcbcc34,_0x28e800,_0x391d9b){const _0x2b4457=_0x2de0e8,_0x582707=_0x2b4457(0xc1)+_0x21d0a1,_0x15976a=_0x2b4457(0x115)+_0x21d0a1,_0x2c384f=_0xcbcc34[_0x2b4457(0xb6)]();let _0x48047e=_0xcbcc34[_0x2b4457(0x10d)];if(_0x2c384f&&_0x2c384f['is'](_0x2b4457(0xe9),_0x2b4457(0xdd))){const _0x3570ca=function(_0xedb342,_0x581834){const _0x11d39f=_0x2b4457;for(const _0x3fb299 of _0xedb342[_0x11d39f(0xe6)]())if(_0x581834[_0x11d39f(0xc6)][_0x11d39f(0x101)](_0x3fb299,_0x11d39f(0xb7)))return _0x3fb299;}(_0xcbcc34,_0x28e800);_0x3570ca&&(_0x48047e=_0x3570ca,_0xcbcc34=_0x391d9b[_0x2b4457(0xfe)](_0x48047e));}const _0x46b186=_0x391d9b[_0x2b4457(0xfe)](_0x48047e);_0x28e800[_0x2b4457(0xd6)][_0x2b4457(0xff)](_0x582707)?(_0x391d9b[_0x2b4457(0xc4)](_0x582707,{'range':_0xcbcc34}),_0x391d9b[_0x2b4457(0xc4)](_0x15976a,{'range':_0x46b186})):(_0x391d9b[_0x2b4457(0x109)](_0x582707,{'range':_0xcbcc34,'usingOperation':!0x0}),_0x391d9b[_0x2b4457(0x109)](_0x15976a,{'range':_0x46b186,'usingOperation':!0x0}));}
23
+ const _0x13d916=_0x4e72;function _0x4e72(_0x2617fd,_0x23396a){const _0x47e781=_0x47e7();return _0x4e72=function(_0x4e7245,_0x35fd98){_0x4e7245=_0x4e7245-0x1a2;let _0x418115=_0x47e781[_0x4e7245];return _0x418115;},_0x4e72(_0x2617fd,_0x23396a);}(function(_0x188b81,_0x200ded){const _0x1dbafb=_0x4e72,_0x15b611=_0x188b81();while(!![]){try{const _0x41a96b=parseInt(_0x1dbafb(0x1b5))/0x1*(parseInt(_0x1dbafb(0x1b9))/0x2)+-parseInt(_0x1dbafb(0x212))/0x3*(parseInt(_0x1dbafb(0x1f2))/0x4)+parseInt(_0x1dbafb(0x1f5))/0x5*(-parseInt(_0x1dbafb(0x21f))/0x6)+parseInt(_0x1dbafb(0x1ad))/0x7*(-parseInt(_0x1dbafb(0x1f7))/0x8)+parseInt(_0x1dbafb(0x1a7))/0x9+parseInt(_0x1dbafb(0x1b4))/0xa*(parseInt(_0x1dbafb(0x1c6))/0xb)+-parseInt(_0x1dbafb(0x1c2))/0xc;if(_0x41a96b===_0x200ded)break;else _0x15b611['push'](_0x15b611['shift']());}catch(_0x4ff0c9){_0x15b611['push'](_0x15b611['shift']());}}}(_0x47e7,0xaaaab));import{Plugin as _0x88f661}from'ckeditor5/src/core.js';import{global as _0x2f0687,DomEmitterMixin as _0x57a315}from'ckeditor5/src/utils.js';function _0x47e7(){const _0x33c838=['highest','clear','user:range','getFirstRange','createUIElement','getStart','isSimilar','hasContent','false','user:position:','init','add','contenteditable','marker','conversion','detach','getContainedElement','5261319JYVwSa','classList','addMarker','rootName','schema','getUserBySessionId','2795919kSjGPy','start','ck-user__selection','mapper','toDomElement','newRange','undo','126120uGXoxE','1603UWyqOS','batch','startsWith','$text','712ONQGMZ','oldRange','createElement','$graveyard','isCollapsed','stopListening','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','addEventListener','spellcheck','4926696WVaaNW','deletionPosition','toRange','split','1144NOZPEN','_createdBatches','requires','selection','setCustomProperty','markerName','markerToHighlight','element','set','data-session-id','root','getRange','commands','user:range:','change:range','getNearestSelectionRange','afterInit','applyOperation','getSelectionClass','delete','enqueueChange','parent','size','editingDowncast','user:position','fromRange','updateMarker','isInline','getMarkerClass','isDocumentOperation','textContent','tableCell','reconvertMarker','plugins','ck-user__marker_hovered','document','mouseleave','color','Escape','has','UserMarkers','listenTo','for','span','1276vIZSfA','innerHTML','createRange','90210yxbpVC','editing','8KDvlfG','name','destroy','checkChild','setAttribute','model','markerRange','_domEmitter','keydown','view','nodeAfter','removeClass','userPositionMarker','removeMarker','getAttribute','outerHTML','markers','markerNameToElements','remove','editor','markerToElement','isObject','isPremiumPlugin','end','ck-user__marker-tooltip','pluginName','createUserMarkerOperations','2391spoWvp','hasDomSelection','isOfficialPlugin','orderNumber','user:','getPositions','change','render','mouseenter','type','isLimit','getCustomProperty','ck-user__marker\x20','234gnqadV','update:user:range','mySessionId','get'];_0x47e7=function(){return _0x33c838;};return _0x47e7();}import{Sessions as _0x4fdefe}from'./sessions.js';import{ModelLiveRange as _0x4e68c5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x88f661{[_0x13d916(0x1fe)]=new(_0x57a315())();static get[_0x13d916(0x1c8)](){return[_0x4fdefe];}static get[_0x13d916(0x210)](){const _0xc4a13f=_0x13d916;return _0xc4a13f(0x1ee);}static get[_0x13d916(0x214)](){return!0x0;}static get[_0x13d916(0x20d)](){return!0x0;}[_0x13d916(0x22d)](){const _0x738190=_0x13d916,_0x1c6132=this[_0x738190(0x20a)],_0x7870b6=_0x1c6132[_0x738190(0x1e7)][_0x738190(0x222)](_0x4fdefe);_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x20b)]({'model':_0x738190(0x1de),'view':(_0x209270,{writer:_0x53cfe8})=>function(_0x14e578,_0x39b2a0,_0x36837f,_0xa49963){const _0x520805=_0x738190,_0x50b752=_0x14e578[_0x520805(0x1cb)][_0x520805(0x1c5)](':')[0x2],_0x5e1c73=_0x36837f[_0x520805(0x1ac)](_0x50b752);if(!_0x5e1c73||_0x50b752===_0x36837f[_0x520805(0x221)])return;if(!_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x1fa)](_0x14e578[_0x520805(0x1fd)][_0x520805(0x1ae)],_0x520805(0x1b8)))return;const _0x723a20={'class':_0x520805(0x21e)+_0x5e1c73[_0x520805(0x1eb)][_0x520805(0x1e2)](),'data-name':_0x5e1c73[_0x520805(0x1f8)],'data-session-id':_0x50b752},_0x91d3b8=_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x14e578[_0x520805(0x1cb)]),_0x21bc64=_0x91d3b8[_0x520805(0x228)](),_0x44dce1=_0x21bc64[_0x520805(0x201)],_0x41a6eb=_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)];if(_0x44dce1&&_0x41a6eb[_0x520805(0x20c)](_0x44dce1)&&_0x41a6eb[_0x520805(0x1e1)](_0x44dce1)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x520805(0x1d3)+_0x50b752)[_0x520805(0x1d1)]()[_0x520805(0x1bd)])return;const _0x534748=_0x21bc64[_0x520805(0x1db)];return _0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x21c)](_0x534748)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x22a)](_0x534748)&&(_0x723a20[_0x520805(0x1a2)]=!0x1),function(_0x1fc79c,_0x7a2f8c,_0x42f502){const _0x1cb9d2=_0x520805,_0x4d94e8=_0x1fc79c[_0x1cb9d2(0x227)](_0x1cb9d2(0x1f1),_0x7a2f8c);return _0x1fc79c[_0x1cb9d2(0x1ca)](_0x1cb9d2(0x203),!0x0,_0x4d94e8),_0x4d94e8[_0x1cb9d2(0x219)]=function(_0x417981){const _0xaac44a=_0x1cb9d2,_0x18b275=this[_0xaac44a(0x1b1)](_0x417981),_0x4d70f2=document[_0xaac44a(0x1bb)](_0xaac44a(0x1f1));return _0x4d70f2[_0xaac44a(0x1a8)][_0xaac44a(0x22e)](_0xaac44a(0x20f)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1a2),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1c1),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1e4)]=_0x42f502[_0xaac44a(0x1f8)],_0x18b275[_0xaac44a(0x1f3)]=_0xaac44a(0x1bf)+_0x4d70f2[_0xaac44a(0x206)]+'⁠',_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x21a),()=>{const _0x461a69=_0xaac44a;_0x18b275[_0x461a69(0x1a8)][_0x461a69(0x22e)](_0x461a69(0x1e8));}),_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x1ea),()=>{const _0x589599=_0xaac44a;_0x18b275[_0x589599(0x1a8)][_0x589599(0x209)](_0x589599(0x1e8));}),_0x18b275;},_0x4d94e8[_0x1cb9d2(0x229)]=function(_0x4f6d7c){const _0x27f147=_0x1cb9d2;return!(!this[_0x27f147(0x21d)](_0x27f147(0x203))||!_0x4f6d7c[_0x27f147(0x21d)](_0x27f147(0x203))||this[_0x27f147(0x205)](_0x27f147(0x1cf))!=_0x4f6d7c[_0x27f147(0x205)](_0x27f147(0x1cf)));},_0x4d94e8;}(_0x39b2a0,_0x723a20,_0x5e1c73);}(_0x209270,_0x53cfe8,_0x7870b6,_0x1c6132)}),_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x1cc)]({'model':_0x738190(0x225),'view':_0x5ba3af=>function(_0x492acb,_0x5d01fb){const _0x2d5b42=_0x738190,_0x1767e3=_0x492acb[_0x2d5b42(0x1cb)][_0x2d5b42(0x1c5)](':')[0x2];if(_0x1767e3===_0x5d01fb[_0x2d5b42(0x221)])return null;const _0x10fadb=_0x5d01fb[_0x2d5b42(0x1ac)](_0x1767e3);if(!_0x10fadb)return{'id':_0x1767e3,'classes':[]};return{'id':_0x1767e3,'classes':[_0x2d5b42(0x1af),_0x10fadb[_0x2d5b42(0x1eb)][_0x2d5b42(0x1d8)]()],'attributes':{'data-session-id':_0x1767e3},'priority':0x7d0+_0x10fadb[_0x2d5b42(0x215)]};}(_0x5ba3af,_0x7870b6)}),function(_0x5457f2){const _0x17c611=_0x738190,_0x566346=_0x5457f2[_0x17c611(0x1fc)],_0x5c7158=new Map(),_0x1228af=_0x5457f2[_0x17c611(0x1e7)][_0x17c611(0x222)](_0x4fdefe);_0x566346[_0x17c611(0x207)]['on'](_0x17c611(0x220),(_0x32611c,_0x276c4b,_0x4990b3,_0xbe29cb)=>{const _0x55ec48=_0x17c611;if(!_0xbe29cb&&_0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)]))return _0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)])[_0x55ec48(0x1a5)](),void _0x5c7158[_0x55ec48(0x1d9)](_0x276c4b[_0x55ec48(0x1f8)]);const _0x4036dc=_0x276c4b[_0x55ec48(0x1f8)][_0x55ec48(0x1c5)](':')[0x2];if(_0x4036dc===_0x1228af[_0x55ec48(0x221)])return;const _0x1c8b7c=_0x55ec48(0x22c)+_0x4036dc;_0x566346[_0x55ec48(0x207)][_0x55ec48(0x1ed)](_0x1c8b7c)&&_0x5457f2[_0x55ec48(0x1f6)][_0x55ec48(0x1e6)](_0x1c8b7c),_0x276c4b['on'](_0x55ec48(0x1d4),(_0x12beca,_0x1fd3bf,_0x19b2ea)=>{const _0x2573bf=_0x55ec48;if(_0x2573bf(0x1bc)!=_0x1fd3bf[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&_0x2573bf(0x1bc)==_0x276c4b[_0x2573bf(0x1d1)]()[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&!_0x5c7158[_0x2573bf(0x1ed)](_0x276c4b[_0x2573bf(0x1f8)])){const _0x2c3aab=_0x566346[_0x2573bf(0x1ab)][_0x2573bf(0x1d5)](_0x19b2ea[_0x2573bf(0x1c3)]);if(_0x2c3aab){const _0x567b87=_0x4e68c5[_0x2573bf(0x1df)](_0x2c3aab);_0x5c7158[_0x2573bf(0x1ce)](_0x276c4b[_0x2573bf(0x1f8)],_0x567b87),_0x567b87['on'](_0x2573bf(0x1d4),(_0x23c383,_0x5087cc,_0x122a2f)=>{const _0x45a623=_0x2573bf;if(_0x45a623(0x1bc)==_0x567b87[_0x45a623(0x1d0)][_0x45a623(0x1aa)]){const _0x5e4543=_0x566346[_0x45a623(0x1ab)][_0x45a623(0x1d5)](_0x122a2f[_0x45a623(0x1c3)]);_0x5e4543?(_0x567b87[_0x45a623(0x1ae)]=_0x5e4543[_0x45a623(0x1ae)],_0x567b87[_0x45a623(0x20e)]=_0x5e4543[_0x45a623(0x20e)]):(_0x5c7158[_0x45a623(0x1d9)](_0x276c4b[_0x45a623(0x1f8)]),_0x567b87[_0x45a623(0x1a5)]());}});}}});}),_0x566346[_0x17c611(0x1e9)]['on'](_0x17c611(0x218),()=>{const _0x5bec4f=_0x17c611;_0x5c7158[_0x5bec4f(0x1dc)]>0x0&&_0x566346[_0x5bec4f(0x1da)]({'isUndoable':!0x1},_0x47adab=>{const _0x30c5a1=_0x5bec4f;for(const [_0x5258c4,_0x592e24]of _0x5c7158)_0x30c5a1(0x1bc)==_0x566346[_0x30c5a1(0x207)][_0x30c5a1(0x222)](_0x5258c4)[_0x30c5a1(0x1d1)]()[_0x30c5a1(0x1d0)][_0x30c5a1(0x1aa)]&&(Z(_0x5258c4[_0x30c5a1(0x1c5)](':')[0x2],_0x592e24[_0x30c5a1(0x1c4)](),_0x566346,_0x47adab),_0x592e24[_0x30c5a1(0x1a5)]());_0x5c7158[_0x30c5a1(0x224)]();});});}(_0x1c6132),this[_0x738190(0x1fe)][_0x738190(0x1ef)](_0x2f0687[_0x738190(0x1e9)],_0x738190(0x1ff),(_0x48ba01,{key:_0x5c0011})=>{const _0x3ef4d3=_0x738190;_0x3ef4d3(0x1ec)===_0x5c0011&&function(_0x12a7bc){const _0x2038f5=_0x3ef4d3;_0x12a7bc[_0x2038f5(0x1f6)][_0x2038f5(0x200)][_0x2038f5(0x218)](_0x3da900=>{const _0x5138fe=_0x2038f5;for(const _0x452115 of _0x12a7bc[_0x5138fe(0x1fc)][_0x5138fe(0x207)]){if(!_0x452115[_0x5138fe(0x1f8)][_0x5138fe(0x1b7)](_0x5138fe(0x1de)))continue;const _0x3218a1=_0x12a7bc[_0x5138fe(0x1f6)][_0x5138fe(0x1b0)][_0x5138fe(0x208)](_0x452115[_0x5138fe(0x1f8)]);if(_0x3218a1){for(const _0x443630 of _0x3218a1)_0x3da900[_0x5138fe(0x202)](_0x5138fe(0x1e8),_0x443630);}}});}(_0x1c6132);},{'useCapture':!0x0});}[_0x13d916(0x1d6)](){const _0x3295d6=_0x13d916,_0x1222e0=this[_0x3295d6(0x20a)],_0x43a67d=_0x1222e0[_0x3295d6(0x1d2)][_0x3295d6(0x222)](_0x3295d6(0x1b3));_0x43a67d&&_0x1222e0[_0x3295d6(0x1fc)]['on'](_0x3295d6(0x1d7),(_0x36ab77,_0x2c285e)=>{const _0x27effd=_0x3295d6,_0x19f8e3=_0x2c285e[0x0];if(!_0x19f8e3[_0x27effd(0x1e3)])return;if(_0x27effd(0x1a3)!=_0x19f8e3[_0x27effd(0x21b)]||!_0x19f8e3[_0x27effd(0x1f8)][_0x27effd(0x1b7)](_0x27effd(0x216)))return;const _0x3a8a15=_0x19f8e3[_0x27effd(0x1b6)];_0x43a67d[_0x27effd(0x1c7)][_0x27effd(0x1ed)](_0x3a8a15)&&(_0x19f8e3[_0x27effd(0x1b2)]=_0x19f8e3[_0x27effd(0x1ba)]?_0x1222e0[_0x27effd(0x1fc)][_0x27effd(0x1f4)](_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x1ae)],_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x20e)]):null);},{'priority':_0x3295d6(0x223)});}[_0x13d916(0x1f9)](){const _0x3ab861=_0x13d916;return this[_0x3ab861(0x1fe)][_0x3ab861(0x1be)](),super[_0x3ab861(0x1f9)]();}[_0x13d916(0x211)](){const _0x33f86a=_0x13d916,_0x2b417c=this[_0x33f86a(0x20a)],_0x4c1658=_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1e9)],_0x22886c=_0x2b417c[_0x33f86a(0x1e7)][_0x33f86a(0x222)](_0x4fdefe);_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1da)]({'isUndoable':!0x1},_0x282431=>{const _0x510fe5=_0x33f86a,_0x4044e1=_0x510fe5(0x1d3)+_0x22886c[_0x510fe5(0x221)],_0x597563=_0x510fe5(0x22c)+_0x22886c[_0x510fe5(0x221)],_0xab243=_0x2b417c[_0x510fe5(0x1fc)][_0x510fe5(0x207)][_0x510fe5(0x1ed)](_0x4044e1);_0x2b417c[_0x510fe5(0x1f6)][_0x510fe5(0x200)][_0x510fe5(0x213)]?Z(_0x22886c[_0x510fe5(0x221)],_0x4c1658[_0x510fe5(0x1c9)][_0x510fe5(0x226)](),_0x2b417c[_0x510fe5(0x1fc)],_0x282431):_0xab243&&(_0x282431[_0x510fe5(0x204)](_0x4044e1),_0x282431[_0x510fe5(0x204)](_0x597563));});}}function Z(_0x34906e,_0x302bf9,_0x5e8093,_0xf029a8){const _0x118571=_0x13d916,_0x570538=_0x118571(0x1d3)+_0x34906e,_0x3bb748=_0x118571(0x22c)+_0x34906e,_0x279625=_0x302bf9[_0x118571(0x1a6)]();let _0x1629be=_0x302bf9[_0x118571(0x1ae)];if(_0x279625&&_0x279625['is'](_0x118571(0x1cd),_0x118571(0x1e5))){const _0xab1b3b=function(_0x60e3c4,_0x40c3c9){const _0x980f12=_0x118571;for(const _0x960d53 of _0x60e3c4[_0x980f12(0x217)]())if(_0x40c3c9[_0x980f12(0x1ab)][_0x980f12(0x1fa)](_0x960d53,_0x980f12(0x1b8)))return _0x960d53;}(_0x302bf9,_0x5e8093);_0xab1b3b&&(_0x1629be=_0xab1b3b,_0x302bf9=_0xf029a8[_0x118571(0x1f4)](_0x1629be));}const _0x286e74=_0xf029a8[_0x118571(0x1f4)](_0x1629be);_0x5e8093[_0x118571(0x207)][_0x118571(0x1ed)](_0x570538)?(_0xf029a8[_0x118571(0x1e0)](_0x570538,{'range':_0x302bf9}),_0xf029a8[_0x118571(0x1e0)](_0x3bb748,{'range':_0x286e74})):(_0xf029a8[_0x118571(0x1a9)](_0x570538,{'range':_0x302bf9,'usingOperation':!0x0}),_0xf029a8[_0x118571(0x1a9)](_0x3bb748,{'range':_0x286e74,'usingOperation':!0x0}));}