@ckeditor/ckeditor5-real-time-collaboration 47.6.1 → 47.6.2

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 _0xb4e549=_0x28c8;function _0x28c8(_0x5dd071,_0x410a52){const _0x40568b=_0x4056();return _0x28c8=function(_0x28c801,_0xfe5d6a){_0x28c801=_0x28c801-0x1df;let _0x2fc544=_0x40568b[_0x28c801];return _0x2fc544;},_0x28c8(_0x5dd071,_0x410a52);}(function(_0x37fd05,_0x25e392){const _0xd97255=_0x28c8,_0x4d68bd=_0x37fd05();while(!![]){try{const _0x179fca=-parseInt(_0xd97255(0x1e1))/0x1*(-parseInt(_0xd97255(0x1ed))/0x2)+-parseInt(_0xd97255(0x1fa))/0x3*(parseInt(_0xd97255(0x1e2))/0x4)+parseInt(_0xd97255(0x1f2))/0x5*(-parseInt(_0xd97255(0x1f4))/0x6)+-parseInt(_0xd97255(0x1f3))/0x7+parseInt(_0xd97255(0x1e0))/0x8+parseInt(_0xd97255(0x202))/0x9+-parseInt(_0xd97255(0x1fe))/0xa*(-parseInt(_0xd97255(0x1ef))/0xb);if(_0x179fca===_0x25e392)break;else _0x4d68bd['push'](_0x4d68bd['shift']());}catch(_0x3506ea){_0x4d68bd['push'](_0x4d68bd['shift']());}}}(_0x4056,0x5a716));import{View as _0x525c8f}from'ckeditor5/src/ui.js';function _0x4056(){const _0x599e37=['ck-presence-list__list','presencelist:hide','isExpanded','presencelist:show','4929704GDyAXY','357FhYTjN','4FPYbzM','querySelector','render','setTemplate','contains','list','element','.ck-presence-list__dropdown-list','createCollection','div','keystrokes','94UtvEtY','listenTo','22VXnMvI','fire','change:hasPopup','195YqLHbH','1539643NSscsx','19326RaeyPM','items','relatedTarget','set','setAttribute','.ck-balloon-panel_with-arrow','1729374kZNiGV','focus','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','1256210ynhzRo','aria-expanded','removeAttribute','Connected\x20users\x20list','3674214WJptNJ','hasPopup'];_0x4056=function(){return _0x599e37;};return _0x4056();}import{KeystrokeHandler as _0x2fecaf}from'ckeditor5/src/utils.js';import{getTranslation as _0x3329e7}from'../../common-translations.js';export class PresenceInlineListView extends _0x525c8f{[_0xb4e549(0x1f5)];[_0xb4e549(0x1ec)];constructor(_0x4d3069){const _0x2b368b=_0xb4e549;super(_0x4d3069);const _0x282fb6=this[_0x2b368b(0x1fc)];this[_0x2b368b(0x1f5)]=this[_0x2b368b(0x1ea)](),this[_0x2b368b(0x1ec)]=new _0x2fecaf(),this[_0x2b368b(0x1f7)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2b368b(0x1e5)]({'tag':_0x2b368b(0x1eb),'attributes':{'aria-haspopup':_0x282fb6['if'](_0x2b368b(0x203)),'aria-expanded':_0x282fb6['to'](_0x2b368b(0x206),_0x1cb8d8=>this[_0x2b368b(0x203)]&&String(_0x1cb8d8)),'aria-label':_0x282fb6['to'](_0x2b368b(0x203),_0x3c357e=>_0x3329e7(_0x4d3069,_0x3c357e?_0x2b368b(0x1fd):_0x2b368b(0x201))),'role':_0x2b368b(0x1e7),'tabindex':_0x282fb6['to'](_0x2b368b(0x203),_0x132f1b=>!!_0x132f1b&&0x0),'class':['ck',_0x2b368b(0x204)]},'children':this[_0x2b368b(0x1f5)],'on':{'mouseenter':_0x282fb6['to'](()=>this[_0x2b368b(0x1f0)](_0x2b368b(0x1df))),'mouseleave':_0x282fb6['to'](_0x3f63f0=>{const _0x55462a=_0x2b368b,_0x3a5f60=_0x3f63f0,_0x2bbbc2=document[_0x55462a(0x1e3)](_0x55462a(0x1e9)),_0x5b4a5e=document[_0x55462a(0x1e3)](_0x55462a(0x1f9));_0x2bbbc2?.[_0x55462a(0x1e6)](_0x3a5f60[_0x55462a(0x1f6)])||_0x5b4a5e?.[_0x55462a(0x1e6)](_0x3a5f60[_0x55462a(0x1f6)])||this[_0x55462a(0x1f0)](_0x55462a(0x205));})}}),this['on'](_0x2b368b(0x1f1),(_0x1abe6c,_0x113952,_0x1a749b)=>{const _0x5a10e5=_0x2b368b;this[_0x5a10e5(0x1e8)]&&(_0x1a749b?this[_0x5a10e5(0x1e8)][_0x5a10e5(0x1f8)](_0x5a10e5(0x1ff),String(this[_0x5a10e5(0x206)])):this[_0x5a10e5(0x1e8)][_0x5a10e5(0x200)](_0x5a10e5(0x1ff)));});}[_0xb4e549(0x1fb)](){const _0x3aebfe=_0xb4e549;this[_0x3aebfe(0x1e8)][_0x3aebfe(0x1fb)]();}[_0xb4e549(0x1e4)](){const _0x2e1c02=_0xb4e549;super[_0x2e1c02(0x1e4)](),this[_0x2e1c02(0x1ec)][_0x2e1c02(0x1ee)](this[_0x2e1c02(0x1e8)]);}}
23
+ const _0x4293f2=_0x5a84;function _0x5a84(_0x307ac1,_0x3e5db2){const _0x1a8b6f=_0x1a8b();return _0x5a84=function(_0x5a846e,_0x23566){_0x5a846e=_0x5a846e-0xe6;let _0x2ae26b=_0x1a8b6f[_0x5a846e];return _0x2ae26b;},_0x5a84(_0x307ac1,_0x3e5db2);}(function(_0x917c4,_0x5d25df){const _0x1006f1=_0x5a84,_0x1fd96a=_0x917c4();while(!![]){try{const _0x14704c=-parseInt(_0x1006f1(0x106))/0x1+parseInt(_0x1006f1(0xf8))/0x2*(-parseInt(_0x1006f1(0xf3))/0x3)+-parseInt(_0x1006f1(0xf7))/0x4+-parseInt(_0x1006f1(0xf4))/0x5*(parseInt(_0x1006f1(0x107))/0x6)+-parseInt(_0x1006f1(0xfc))/0x7*(-parseInt(_0x1006f1(0x10b))/0x8)+-parseInt(_0x1006f1(0xfd))/0x9+-parseInt(_0x1006f1(0xed))/0xa*(-parseInt(_0x1006f1(0xf0))/0xb);if(_0x14704c===_0x5d25df)break;else _0x1fd96a['push'](_0x1fd96a['shift']());}catch(_0x549391){_0x1fd96a['push'](_0x1fd96a['shift']());}}}(_0x1a8b,0x948ab));import{View as _0x319362}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xb2034f}from'ckeditor5/src/utils.js';import{getTranslation as _0x519977}from'../../common-translations.js';function _0x1a8b(){const _0x5981a8=['12KwnOtS','5469505fTXPgL','fire','hasPopup','286924icuLVy','295772IlHPqM','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','contains','174167VbuEMA','166725kVUmMn','.ck-balloon-panel_with-arrow','setTemplate','list','element','setAttribute','keystrokes','presencelist:hide','querySelector','497904emNKJB','6SdXyKf','change:hasPopup','ck-presence-list__list','items','264MYlPqn','render','aria-expanded','bindTemplate','relatedTarget','presencelist:show','focus','div','Connected\x20users\x20list','removeAttribute','212470vXrcEr','listenTo','set','1067FPEXzT','isExpanded','.ck-presence-list__dropdown-list'];_0x1a8b=function(){return _0x5981a8;};return _0x1a8b();}export class PresenceInlineListView extends _0x319362{[_0x4293f2(0x10a)];[_0x4293f2(0x103)];constructor(_0x412bf1){const _0x276ea2=_0x4293f2;super(_0x412bf1);const _0x47b2b6=this[_0x276ea2(0xe6)];this[_0x276ea2(0x10a)]=this[_0x276ea2(0xf9)](),this[_0x276ea2(0x103)]=new _0xb2034f(),this[_0x276ea2(0xef)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x276ea2(0xff)]({'tag':_0x276ea2(0xea),'attributes':{'aria-haspopup':_0x47b2b6['if'](_0x276ea2(0xf6)),'aria-expanded':_0x47b2b6['to'](_0x276ea2(0xf1),_0x35f957=>this[_0x276ea2(0xf6)]&&String(_0x35f957)),'aria-label':_0x47b2b6['to'](_0x276ea2(0xf6),_0x4a2b9f=>_0x519977(_0x412bf1,_0x4a2b9f?_0x276ea2(0xfa):_0x276ea2(0xeb))),'role':_0x276ea2(0x100),'tabindex':_0x47b2b6['to'](_0x276ea2(0xf6),_0x3709a8=>!!_0x3709a8&&0x0),'class':['ck',_0x276ea2(0x109)]},'children':this[_0x276ea2(0x10a)],'on':{'mouseenter':_0x47b2b6['to'](()=>this[_0x276ea2(0xf5)](_0x276ea2(0xe8))),'mouseleave':_0x47b2b6['to'](_0x406425=>{const _0x3c9c2c=_0x276ea2,_0x37d268=_0x406425,_0xc51547=document[_0x3c9c2c(0x105)](_0x3c9c2c(0xf2)),_0x566034=document[_0x3c9c2c(0x105)](_0x3c9c2c(0xfe));_0xc51547?.[_0x3c9c2c(0xfb)](_0x37d268[_0x3c9c2c(0xe7)])||_0x566034?.[_0x3c9c2c(0xfb)](_0x37d268[_0x3c9c2c(0xe7)])||this[_0x3c9c2c(0xf5)](_0x3c9c2c(0x104));})}}),this['on'](_0x276ea2(0x108),(_0x21a9c6,_0x159194,_0x380a98)=>{const _0x53a519=_0x276ea2;this[_0x53a519(0x101)]&&(_0x380a98?this[_0x53a519(0x101)][_0x53a519(0x102)](_0x53a519(0x10d),String(this[_0x53a519(0xf1)])):this[_0x53a519(0x101)][_0x53a519(0xec)](_0x53a519(0x10d)));});}[_0x4293f2(0xe9)](){const _0x227eb0=_0x4293f2;this[_0x227eb0(0x101)][_0x227eb0(0xe9)]();}[_0x4293f2(0x10c)](){const _0x130734=_0x4293f2;super[_0x130734(0x10c)](),this[_0x130734(0x103)][_0x130734(0xee)](this[_0x130734(0x101)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4044(_0x376f88,_0x1a183b){const _0x1e5fd6=_0x1e5f();return _0x4044=function(_0x404418,_0x528b03){_0x404418=_0x404418-0x1d5;let _0x13a151=_0x1e5fd6[_0x404418];return _0x13a151;},_0x4044(_0x376f88,_0x1a183b);}const _0x155cf9=_0x4044;(function(_0x2dd817,_0x33a9a7){const _0x549de9=_0x4044,_0x16416b=_0x2dd817();while(!![]){try{const _0x2f4264=parseInt(_0x549de9(0x1da))/0x1*(parseInt(_0x549de9(0x1e6))/0x2)+parseInt(_0x549de9(0x1d9))/0x3+parseInt(_0x549de9(0x1ef))/0x4*(-parseInt(_0x549de9(0x1ed))/0x5)+parseInt(_0x549de9(0x1e4))/0x6*(-parseInt(_0x549de9(0x1f2))/0x7)+parseInt(_0x549de9(0x1eb))/0x8+parseInt(_0x549de9(0x1d7))/0x9*(parseInt(_0x549de9(0x1d8))/0xa)+-parseInt(_0x549de9(0x1e9))/0xb;if(_0x2f4264===_0x33a9a7)break;else _0x16416b['push'](_0x16416b['shift']());}catch(_0x5559a4){_0x16416b['push'](_0x16416b['shift']());}}}(_0x1e5f,0x9c8ab));import{View as _0x15ea9d}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x99fcc5}from'./presencecounterview.js';import{PresenceInlineListView as _0x5b90ad}from'./presenceinlinelistview.js';function _0x1e5f(){const _0x491aae=['bindTemplate','ck-rounded-corners','892507ZaYjPD','listenTo','7307488TIihtz','set','1570ZuifAk','setTemplate','7404aYEtCb','locale','inlineListView','3779027BQqHxp','first','ck-reset','36MrmDme','1436950nmyfwh','66453HhAHPg','10RuPRva','items','isCollapsed','tooltipPosition','counterView','bind','ck-presence-list--collapsed','hasPopup','ck-presence-list','change','6VkndbZ','div','66608ynGOGn'];_0x1e5f=function(){return _0x491aae;};return _0x1e5f();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x15ea9d{[_0x155cf9(0x1de)];[_0x155cf9(0x1f1)];constructor(_0x4e476e,_0x121037=0x6){const _0x459665=_0x155cf9;super(_0x4e476e);const _0x523b49=this[_0x459665(0x1e7)];this[_0x459665(0x1ec)](_0x459665(0x1dc),!0x0),this[_0x459665(0x1de)]=new _0x99fcc5(this[_0x459665(0x1f0)],_0x121037),this[_0x459665(0x1f1)]=new _0x5b90ad(_0x4e476e),this[_0x459665(0x1f1)][_0x459665(0x1df)](_0x459665(0x1e1))['to'](this,_0x459665(0x1dc)),this[_0x459665(0x1ea)](this[_0x459665(0x1f1)][_0x459665(0x1db)],_0x459665(0x1e3),()=>{const _0x2d0124=_0x459665;for(const _0x42c44d of this[_0x2d0124(0x1f1)][_0x2d0124(0x1db)])_0x42c44d[_0x2d0124(0x1dd)]='s';this[_0x2d0124(0x1f1)][_0x2d0124(0x1db)][_0x2d0124(0x1d5)]&&(this[_0x2d0124(0x1f1)][_0x2d0124(0x1db)][_0x2d0124(0x1d5)][_0x2d0124(0x1dd)]='se');}),this[_0x459665(0x1ee)]({'tag':_0x459665(0x1e5),'attributes':{'class':['ck',_0x459665(0x1e2),_0x459665(0x1d6),_0x459665(0x1e8),_0x523b49['if'](_0x459665(0x1dc),_0x459665(0x1e0))]},'children':[this[_0x459665(0x1f1)]]});}}
23
+ const _0x5bed3f=_0x417a;function _0x10e2(){const _0x3868a0=['isCollapsed','10sbugzy','locale','ck-presence-list','hasPopup','561885KLFrrW','4671306kBlMkP','27482eNfMpr','ck-presence-list--collapsed','11StgrNP','ck-rounded-corners','bindTemplate','8755830cIWrNn','setTemplate','listenTo','change','inlineListView','ck-reset','tooltipPosition','826017pwmYlY','set','counterView','div','items','bind','2VhFcqb','8893250uYDsvj','656OepnQI','1021444hhAGdt','first'];_0x10e2=function(){return _0x3868a0;};return _0x10e2();}(function(_0x574c88,_0x274595){const _0x3cecfe=_0x417a,_0x46bc14=_0x574c88();while(!![]){try{const _0x5ebd88=-parseInt(_0x3cecfe(0x1f7))/0x1*(-parseInt(_0x3cecfe(0x1df))/0x2)+-parseInt(_0x3cecfe(0x1e9))/0x3+-parseInt(_0x3cecfe(0x1e2))/0x4*(-parseInt(_0x3cecfe(0x1e5))/0x5)+-parseInt(_0x3cecfe(0x1ea))/0x6+-parseInt(_0x3cecfe(0x1eb))/0x7*(-parseInt(_0x3cecfe(0x1e1))/0x8)+parseInt(_0x3cecfe(0x1f0))/0x9+-parseInt(_0x3cecfe(0x1e0))/0xa*(parseInt(_0x3cecfe(0x1ed))/0xb);if(_0x5ebd88===_0x274595)break;else _0x46bc14['push'](_0x46bc14['shift']());}catch(_0x116ccb){_0x46bc14['push'](_0x46bc14['shift']());}}}(_0x10e2,0xbd8b2));import{View as _0x19edfa}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x126dc4}from'./presencecounterview.js';import{PresenceInlineListView as _0x45e48f}from'./presenceinlinelistview.js';function _0x417a(_0x15e8b4,_0x586ba2){const _0x10e297=_0x10e2();return _0x417a=function(_0x417a63,_0x102c0b){_0x417a63=_0x417a63-0x1db;let _0x2d74ab=_0x10e297[_0x417a63];return _0x2d74ab;},_0x417a(_0x15e8b4,_0x586ba2);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x19edfa{[_0x5bed3f(0x1db)];[_0x5bed3f(0x1f4)];constructor(_0x4c6380,_0x3fee19=0x6){const _0xa97611=_0x5bed3f;super(_0x4c6380);const _0x4d2527=this[_0xa97611(0x1ef)];this[_0xa97611(0x1f8)](_0xa97611(0x1e4),!0x0),this[_0xa97611(0x1db)]=new _0x126dc4(this[_0xa97611(0x1e6)],_0x3fee19),this[_0xa97611(0x1f4)]=new _0x45e48f(_0x4c6380),this[_0xa97611(0x1f4)][_0xa97611(0x1de)](_0xa97611(0x1e8))['to'](this,_0xa97611(0x1e4)),this[_0xa97611(0x1f2)](this[_0xa97611(0x1f4)][_0xa97611(0x1dd)],_0xa97611(0x1f3),()=>{const _0x4cb00e=_0xa97611;for(const _0x320e7f of this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)])_0x320e7f[_0x4cb00e(0x1f6)]='s';this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)][_0x4cb00e(0x1e3)]&&(this[_0x4cb00e(0x1f4)][_0x4cb00e(0x1dd)][_0x4cb00e(0x1e3)][_0x4cb00e(0x1f6)]='se');}),this[_0xa97611(0x1f1)]({'tag':_0xa97611(0x1dc),'attributes':{'class':['ck',_0xa97611(0x1e7),_0xa97611(0x1f5),_0xa97611(0x1ee),_0x4d2527['if'](_0xa97611(0x1e4),_0xa97611(0x1ec))]},'children':[this[_0xa97611(0x1f4)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x171b1b=_0x3a69;function _0x2320(){var _0x438f7c=['3307950cPEIXc','310zpPJte','PresenceList','30185OgRJHH','pluginName','86014PCWdLK','462ATCwyF','isPremiumPlugin','6099agukiS','212932YTjFHF','99aewVDG','21fdkafH','requires','isOfficialPlugin','1241008auqrjo','785000ksClbe'];_0x2320=function(){return _0x438f7c;};return _0x2320();}(function(_0x10db12,_0x4f7a56){var _0x2b9a39=_0x3a69,_0x26ca78=_0x10db12();while(!![]){try{var _0x1a0a74=-parseInt(_0x2b9a39(0x1b6))/0x1+-parseInt(_0x2b9a39(0x1b2))/0x2*(parseInt(_0x2b9a39(0x1a9))/0x3)+parseInt(_0x2b9a39(0x1aa))/0x4+-parseInt(_0x2b9a39(0x1b4))/0x5*(-parseInt(_0x2b9a39(0x1a7))/0x6)+parseInt(_0x2b9a39(0x1ac))/0x7*(parseInt(_0x2b9a39(0x1af))/0x8)+parseInt(_0x2b9a39(0x1b1))/0x9+parseInt(_0x2b9a39(0x1b0))/0xa*(-parseInt(_0x2b9a39(0x1ab))/0xb);if(_0x1a0a74===_0x4f7a56)break;else _0x26ca78['push'](_0x26ca78['shift']());}catch(_0x326979){_0x26ca78['push'](_0x26ca78['shift']());}}}(_0x2320,0x3b6b5));function _0x3a69(_0x57346d,_0x5d0fbf){var _0x232057=_0x2320();return _0x3a69=function(_0x3a6987,_0x5f27de){_0x3a6987=_0x3a6987-0x1a7;var _0x36999f=_0x232057[_0x3a6987];return _0x36999f;},_0x3a69(_0x57346d,_0x5d0fbf);}import{ContextPlugin as _0x8a0165}from'ckeditor5/src/core.js';import{Sessions as _0x385b5}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x25172d}from'./presencelist/presencelistui.js';export class PresenceList extends _0x8a0165{static get[_0x171b1b(0x1ad)](){return[_0x385b5,_0x25172d];}static get[_0x171b1b(0x1b5)](){var _0x35237f=_0x171b1b;return _0x35237f(0x1b3);}static get[_0x171b1b(0x1ae)](){return!0x0;}static get[_0x171b1b(0x1a8)](){return!0x0;}}
23
+ var _0x1dc7c1=_0x5553;(function(_0x1f4eb6,_0x2cd141){var _0x51f25d=_0x5553,_0xb5af66=_0x1f4eb6();while(!![]){try{var _0x958024=-parseInt(_0x51f25d(0x153))/0x1+-parseInt(_0x51f25d(0x154))/0x2*(parseInt(_0x51f25d(0x14d))/0x3)+-parseInt(_0x51f25d(0x14e))/0x4*(parseInt(_0x51f25d(0x155))/0x5)+parseInt(_0x51f25d(0x157))/0x6*(-parseInt(_0x51f25d(0x14f))/0x7)+-parseInt(_0x51f25d(0x14c))/0x8*(-parseInt(_0x51f25d(0x149))/0x9)+parseInt(_0x51f25d(0x152))/0xa*(parseInt(_0x51f25d(0x159))/0xb)+parseInt(_0x51f25d(0x156))/0xc;if(_0x958024===_0x2cd141)break;else _0xb5af66['push'](_0xb5af66['shift']());}catch(_0x295369){_0xb5af66['push'](_0xb5af66['shift']());}}}(_0x1be7,0x36795));import{ContextPlugin as _0xa1762e}from'ckeditor5/src/core.js';import{Sessions as _0x68e59e}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0xa06163}from'./presencelist/presencelistui.js';function _0x5553(_0x41fee2,_0x54c145){var _0x1be7a6=_0x1be7();return _0x5553=function(_0x5553b7,_0x46532b){_0x5553b7=_0x5553b7-0x149;var _0x49a8cb=_0x1be7a6[_0x5553b7];return _0x49a8cb;},_0x5553(_0x41fee2,_0x54c145);}function _0x1be7(){var _0x1406f9=['isOfficialPlugin','16hLQJSC','177pRLZfe','1692AjBppz','51583lKFNKn','PresenceList','requires','20shBQIr','320644aBikZA','11080tGIKQR','2930IiLySx','14084676uHYvPK','120rMoAjV','isPremiumPlugin','478973snkbIP','22851oMISdw','pluginName'];_0x1be7=function(){return _0x1406f9;};return _0x1be7();}export class PresenceList extends _0xa1762e{static get[_0x1dc7c1(0x151)](){return[_0x68e59e,_0xa06163];}static get[_0x1dc7c1(0x14a)](){var _0x1d2d23=_0x1dc7c1;return _0x1d2d23(0x150);}static get[_0x1dc7c1(0x14b)](){return!0x0;}static get[_0x1dc7c1(0x158)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18f196=_0x4932;(function(_0x1a9bd0,_0x47c32f){const _0x34692b=_0x4932,_0x1f2d9c=_0x1a9bd0();while(!![]){try{const _0x115dfa=-parseInt(_0x34692b(0x239))/0x1+parseInt(_0x34692b(0x23e))/0x2*(-parseInt(_0x34692b(0x22b))/0x3)+parseInt(_0x34692b(0x232))/0x4+-parseInt(_0x34692b(0x1fe))/0x5*(parseInt(_0x34692b(0x1f1))/0x6)+-parseInt(_0x34692b(0x231))/0x7+-parseInt(_0x34692b(0x211))/0x8+parseInt(_0x34692b(0x1fc))/0x9;if(_0x115dfa===_0x47c32f)break;else _0x1f2d9c['push'](_0x1f2d9c['shift']());}catch(_0x51ab72){_0x1f2d9c['push'](_0x1f2d9c['shift']());}}}(_0x43a5,0xc3f83));function _0x43a5(){const _0x2da289=['context','194NfMQjh','permissions','assign','update','getComment','listenTo','updateComment','resolve','authorId','register','commentRemoved','init','isOfficialPlugin','cloudservicescommentsadapter-connect-already-connected','removeCommentThread','off','set','deletedAt','startsWith','addUser','content','connect','removeComment','delete','4931418kbBwDi','userId','commentThreadUpdated','from','getConnectedSessions','addToReconnectionStack','cloud-services-internal-error:\x20Not\x20connected.','CloudServicesCommentsAdapter','isPremiumPlugin','_services','updateCommentThread','28293777MxoKhc','commentThreadRemoved','5eJkuFc','_getService','CommentsRepository','code','setPermissions','add','commentId','attributes','plugins','404','_connectService','keys','reconnect','_fetchMissingUsersForThreads','resolveCommentThread','CommentsService','remove','getUser','commentThreadId','5317800bUrENw','adapter','reopenCommentThread','get','commentThreadResolved','unregister','reopen','cloudservicescommentsadapter-disconnect-not-exist','size','commentThreadReopened','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','mySessionId','comments','cloud-services-internal-error:\x20Request\x20timeout.','sessionAdd:','Permissions','disconnect','resolvedBy','commentUpdated','cloudservicescommentsadapter-service-not-exist','commentAdded','message','_setUpService','commentThreadAdded','createdAt','7977tXbsVj','addCommentThread','_terminateService','map','getMany','collaboration.channelId','9253335zGZnhj','5352004FSUJtl','catch','getCommentThread','resolvedAt','requires','getCommentThreads','destroy','612607FPMLvS','addComment','config','has'];_0x43a5=function(){return _0x2da289;};return _0x43a5();}import{Context as _0x117303,ContextPlugin as _0x1ed8c7}from'ckeditor5/src/core.js';import{CKEditorError as _0x198838}from'ckeditor5/src/utils.js';import{Users as _0x1d178e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1bbdca,User as _0x2bea89}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4932(_0x4be5c4,_0x5b8a86){const _0x43a541=_0x43a5();return _0x4932=function(_0x49326b,_0x1f9c99){_0x49326b=_0x49326b-0x1f1;let _0x5a8b8e=_0x43a541[_0x49326b];return _0x5a8b8e;},_0x4932(_0x4be5c4,_0x5b8a86);}import{WebSocketGateway as _0x46373c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x484141}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1ed8c7{static [_0x18f196(0x20d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1bbdca)());[_0x18f196(0x1fa)];static get[_0x18f196(0x236)](){const _0x5a6433=_0x18f196;return[_0x46373c,_0x5a6433(0x200),_0x484141,_0x1d178e];}static get[_0x18f196(0x21c)](){const _0x576c8e=_0x18f196;return _0x576c8e(0x1f8);}static get[_0x18f196(0x24a)](){return!0x0;}static get[_0x18f196(0x1f9)](){return!0x0;}constructor(_0x4c26f0){const _0x3c23cf=_0x18f196;super(_0x4c26f0),this[_0x3c23cf(0x1fa)]=new Map();}async[_0x18f196(0x249)](){const _0x110b39=_0x18f196,_0x5ad483=this[_0x110b39(0x23d)],_0x6553fc=_0x5ad483[_0x110b39(0x206)][_0x110b39(0x214)](_0x110b39(0x200));if(_0x5ad483[_0x110b39(0x206)][_0x110b39(0x214)](_0x46373c)[_0x110b39(0x1f6)](this),_0x6553fc[_0x110b39(0x212)]={'addCommentThread':async({channelId:_0xeca2ef,threadId:_0x2fe5d7,comments:_0x11834a,resolvedAt:_0x46174e,resolvedBy:_0x28e90a,context:_0x186002,attributes:_0x373684})=>{const _0x39f55c=_0x110b39,_0x103f9a=await this[_0x39f55c(0x1ff)](_0xeca2ef)[_0x39f55c(0x22c)]({'commentThreadId':_0x2fe5d7,'comments':_0x11834a[_0x39f55c(0x22e)](_0x2059f4=>function(_0x14ee57,_0x11decb,_0x4f43cf){const _0x7ba655=_0x39f55c;return{'commentThreadId':_0x4f43cf,'commentId':_0x14ee57[_0x7ba655(0x204)],'userId':_0x14ee57[_0x7ba655(0x246)],'content':_0x14ee57[_0x7ba655(0x252)],'documentId':_0x11decb,'createdAt':_0x14ee57[_0x7ba655(0x22a)],'attributes':_0x14ee57[_0x7ba655(0x205)]||{}};}(_0x2059f4,_0xeca2ef,_0x2fe5d7)),'resolvedAt':_0x46174e,'resolvedBy':_0x28e90a,'context':_0x186002,'attributes':_0x373684})[_0x39f55c(0x233)](et);return{'threadId':_0x103f9a[_0x39f55c(0x210)],'comments':_0x103f9a[_0x39f55c(0x21e)]};},'getCommentThread':async({channelId:_0x1022b0,threadId:_0x4b1536})=>{const _0x2cb855=_0x110b39,_0xef2845=await this[_0x2cb855(0x1ff)](_0x1022b0)[_0x2cb855(0x234)](_0x4b1536)[_0x2cb855(0x233)](st)[_0x2cb855(0x233)](et);return _0xef2845?_0xef2845[_0x2cb855(0x24f)]?null:(await this[_0x2cb855(0x20b)]([_0xef2845]),{'threadId':_0xef2845[_0x2cb855(0x210)],'comments':_0xef2845[_0x2cb855(0x21e)][_0x2cb855(0x22e)](rt),'context':_0xef2845[_0x2cb855(0x23d)],'resolvedAt':_0xef2845[_0x2cb855(0x235)],'resolvedBy':_0xef2845[_0x2cb855(0x223)],'attributes':_0xef2845[_0x2cb855(0x205)]||{}}):null;},'updateCommentThread':async({channelId:_0x34c333,threadId:_0x4b742a,context:_0x5e427d,unlinkedAt:_0x49ad2f,attributes:_0x199ecb})=>this[_0x110b39(0x1ff)](_0x34c333)[_0x110b39(0x1fb)]({'commentThreadId':_0x4b742a,'context':_0x5e427d,'attributes':_0x199ecb,'unlinkedAt':_0x49ad2f})[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'resolveCommentThread':async({channelId:_0xd39d3f,threadId:_0x3af214})=>{const _0x18276c=_0x110b39,_0x2dd954=await this[_0x18276c(0x1ff)](_0xd39d3f)[_0x18276c(0x20c)](_0x3af214)[_0x18276c(0x233)](st)[_0x18276c(0x233)](et);return{'threadId':_0x2dd954[_0x18276c(0x210)],'resolvedAt':_0x2dd954[_0x18276c(0x235)],'resolvedBy':_0x2dd954[_0x18276c(0x223)]};},'reopenCommentThread':async({channelId:_0x1d1782,threadId:_0x25d0cd})=>this[_0x110b39(0x1ff)](_0x1d1782)[_0x110b39(0x213)](_0x25d0cd)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'removeCommentThread':({channelId:_0x478409,threadId:_0x17eef6})=>this[_0x110b39(0x1ff)](_0x478409)[_0x110b39(0x24c)](_0x17eef6)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'addComment':({channelId:_0x4535a7,threadId:_0xe0844,commentId:_0x13ccbe,content:_0xdb4c7f,attributes:_0x2ff64a})=>this[_0x110b39(0x1ff)](_0x4535a7)[_0x110b39(0x23a)](_0xe0844,_0x13ccbe,_0xdb4c7f,_0x2ff64a)[_0x110b39(0x233)](et),'updateComment':({channelId:_0x453726,threadId:_0x594f1d,commentId:_0x56e297,content:_0x141d47,attributes:_0x4df0ce})=>this[_0x110b39(0x1ff)](_0x453726)[_0x110b39(0x244)](_0x594f1d,_0x56e297,_0x141d47,_0x4df0ce)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et),'removeComment':({channelId:_0x476b70,threadId:_0x4c08ff,commentId:_0x4cef57})=>this[_0x110b39(0x1ff)](_0x476b70)[_0x110b39(0x254)](_0x4c08ff,_0x4cef57)[_0x110b39(0x233)](st)[_0x110b39(0x233)](et)},_0x5ad483 instanceof _0x117303){const _0x1f934e=_0x5ad483[_0x110b39(0x23b)][_0x110b39(0x214)](_0x110b39(0x230)),_0x1631f6=_0x5ad483[_0x110b39(0x206)][_0x110b39(0x214)](_0x484141);await this[_0x110b39(0x228)](_0x1f934e);const _0x3d41c1=await this[_0x110b39(0x1fa)][_0x110b39(0x214)](_0x1f934e)[_0x110b39(0x1f5)]();this[_0x110b39(0x243)](_0x1631f6,_0x110b39(0x220)+_0x1f934e,(_0x48b5e6,{session:_0x304feb})=>{const _0x38746a=_0x110b39;_0x304feb['id']===_0x1631f6[_0x38746a(0x21d)]&&(_0x48b5e6[_0x38746a(0x24d)](),this[_0x38746a(0x23d)][_0x38746a(0x206)][_0x38746a(0x214)](_0x38746a(0x221))[_0x38746a(0x202)](_0x304feb[_0x38746a(0x23f)],_0x1f934e));}),_0x1631f6[_0x110b39(0x247)](_0x1f934e,_0x3d41c1);}}async[_0x18f196(0x228)](_0x239e88){const _0x503c91=_0x18f196;if(this[_0x503c91(0x1fa)][_0x503c91(0x23c)](_0x239e88))throw new _0x198838(_0x503c91(0x24b),null,{'channelId':_0x239e88});const _0x1daa57=this[_0x503c91(0x23d)][_0x503c91(0x206)][_0x503c91(0x214)](_0x503c91(0x200)),_0x3f7659=new CloudServicesCommentsAdapter[(_0x503c91(0x20d))](_0x239e88);this[_0x503c91(0x1fa)][_0x503c91(0x24e)](_0x239e88,_0x3f7659),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x229),(_0x37a7f1,_0x4b69a0)=>{const _0x11f0eb=_0x503c91,{commentThreadId:_0x3edfb7,documentId:_0x3275fe,context:_0x52076e,attributes:_0x5802a5,resolvedAt:_0x282435,resolvedBy:_0x3dc18e,comments:_0x37a97e}=_0x4b69a0;_0x1daa57[_0x11f0eb(0x234)](_0x3edfb7)||_0x1daa57[_0x11f0eb(0x22c)]({'threadId':_0x3edfb7,'channelId':_0x3275fe,'comments':_0x37a97e?_0x37a97e[_0x11f0eb(0x22e)](rt):[],'context':_0x52076e,'attributes':_0x5802a5,'resolvedAt':_0x282435,'resolvedBy':_0x3dc18e,'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x1f3),(_0x5e3770,{commentThreadId:_0x26f8d4,documentId:_0x5e150c,context:_0x5d209e,unlinkedAt:_0x3d5410,attributes:_0x7141a2})=>{const _0x86c6f3=_0x503c91;_0x1daa57[_0x86c6f3(0x234)](_0x26f8d4)&&_0x1daa57[_0x86c6f3(0x1fb)]({'threadId':_0x26f8d4,'channelId':_0x5e150c,'context':_0x5d209e,'unlinkedAt':_0x3d5410,'attributes':_0x7141a2,'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x215),(_0x579649,{commentThreadId:_0x12d9cf,resolvedBy:_0xdfe3ce,resolvedAt:_0xf0f710})=>{const _0x526186=_0x503c91,_0x62b3c8=_0x1daa57[_0x526186(0x234)](_0x12d9cf);_0x62b3c8&&_0x62b3c8[_0x526186(0x245)]({'resolvedBy':_0xdfe3ce,'resolvedAt':_0xf0f710,'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x21a),(_0x2e3312,{commentThreadId:_0x423309})=>{const _0x27d7ba=_0x503c91,_0x21514e=_0x1daa57[_0x27d7ba(0x234)](_0x423309);_0x21514e&&_0x21514e[_0x27d7ba(0x217)]({'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x1fd),(_0x252753,{commentThreadId:_0x3f0fb6})=>{const _0x2f3f39=_0x503c91,_0x14fef3=_0x1daa57[_0x2f3f39(0x234)](_0x3f0fb6);_0x14fef3&&_0x14fef3[_0x2f3f39(0x20e)]({'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x226),(_0x976ffc,_0x1ae513)=>{const _0x37bb08=_0x503c91,_0x10a9b4=_0x1ae513[_0x37bb08(0x210)],_0xa67c8a=_0x1daa57[_0x37bb08(0x234)](_0x10a9b4);_0xa67c8a&&_0xa67c8a[_0x37bb08(0x23a)]({...rt(_0x1ae513),'isFromAdapter':!0x0});}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x224),(_0x134161,{commentThreadId:_0x1ffa85,commentId:_0x37728b,content:_0x155fbf,attributes:_0x45e97a})=>{const _0x14f46d=_0x503c91,_0x1ad20e=_0x1daa57[_0x14f46d(0x234)](_0x1ffa85);if(_0x1ad20e){const _0x446fa1=_0x1ad20e[_0x14f46d(0x242)](_0x37728b);_0x446fa1&&_0x446fa1[_0x14f46d(0x241)]({'content':_0x155fbf,'attributes':_0x45e97a,'isFromAdapter':!0x0});}}),this[_0x503c91(0x243)](_0x3f7659,_0x503c91(0x248),(_0x119301,{commentThreadId:_0x48e78d,commentId:_0x53d4bc})=>{const _0x18db76=_0x503c91,_0x1b27f2=_0x1daa57[_0x18db76(0x234)](_0x48e78d);if(_0x1b27f2){const _0x45f893=_0x1b27f2[_0x18db76(0x242)](_0x53d4bc);_0x45f893&&_0x45f893[_0x18db76(0x20e)]({'isFromAdapter':!0x0});}}),await this[_0x503c91(0x208)](_0x239e88);}[_0x18f196(0x238)](){const _0x91d9b3=_0x18f196;if(this[_0x91d9b3(0x23d)]instanceof _0x117303){const _0x505521=this[_0x91d9b3(0x23d)][_0x91d9b3(0x23b)][_0x91d9b3(0x214)](_0x91d9b3(0x230));this[_0x91d9b3(0x22d)](_0x505521);}}[_0x18f196(0x22d)](_0x8f359f){const _0x1d7de3=_0x18f196;if(!this[_0x1d7de3(0x1fa)][_0x1d7de3(0x23c)](_0x8f359f))throw new _0x198838(_0x1d7de3(0x218),null,{'channelId':_0x8f359f});this[_0x1d7de3(0x1ff)](_0x8f359f)[_0x1d7de3(0x222)](),this[_0x1d7de3(0x1fa)][_0x1d7de3(0x255)](_0x8f359f);}async[_0x18f196(0x20a)](){const _0x10b4f5=_0x18f196;for(const _0x23bfe6 of this[_0x10b4f5(0x1fa)][_0x10b4f5(0x209)]())await this[_0x10b4f5(0x208)](_0x23bfe6);if(this[_0x10b4f5(0x23d)]instanceof _0x117303){const _0x160526=this[_0x10b4f5(0x23d)][_0x10b4f5(0x23b)][_0x10b4f5(0x214)](_0x10b4f5(0x230)),_0x13573e=this[_0x10b4f5(0x23d)][_0x10b4f5(0x206)][_0x10b4f5(0x214)](_0x484141);_0x13573e[_0x10b4f5(0x216)](_0x160526);const _0x103153=await this[_0x10b4f5(0x1fa)][_0x10b4f5(0x214)](_0x160526)[_0x10b4f5(0x1f5)]();_0x13573e[_0x10b4f5(0x247)](_0x160526,_0x103153);}}async[_0x18f196(0x208)](_0x3e0e05){const _0x52f517=_0x18f196,{connection:_0x53a553}=this[_0x52f517(0x23d)][_0x52f517(0x206)][_0x52f517(0x214)](_0x46373c),_0x17aa1f=this[_0x52f517(0x23d)][_0x52f517(0x206)][_0x52f517(0x214)](_0x52f517(0x200)),_0x57fe14=this[_0x52f517(0x1fa)][_0x52f517(0x214)](_0x3e0e05),_0x4ceccc=await _0x57fe14[_0x52f517(0x253)](_0x53a553);await this[_0x52f517(0x20b)](_0x4ceccc);const _0x2b7748=new Set(Array[_0x52f517(0x1f4)](_0x17aa1f[_0x52f517(0x237)]({'channelId':_0x3e0e05}),_0x2845e8=>_0x2845e8['id']));for(const _0x412210 of _0x4ceccc)_0x412210[_0x52f517(0x24f)]||_0x2b7748[_0x52f517(0x255)](_0x412210[_0x52f517(0x210)]);for(const _0x27fa8b of _0x2b7748)_0x17aa1f[_0x52f517(0x234)](_0x27fa8b)[_0x52f517(0x20e)]({'isFromAdapter':!0x0});for(const _0x5ce0a9 of _0x4ceccc){let _0x23d7db=_0x17aa1f[_0x52f517(0x234)](_0x5ce0a9[_0x52f517(0x210)]);const {commentThreadId:_0x521d7c,context:_0x256ec8,attributes:_0x384ced,resolvedBy:_0x287c0f,resolvedAt:_0xae5d7e,unlinkedAt:_0x3a4ac9,deletedAt:_0x48a1aa}=_0x5ce0a9;if(_0x48a1aa)continue;_0x23d7db||(_0x23d7db=_0x17aa1f[_0x52f517(0x22c)]({'channelId':_0x3e0e05,'threadId':_0x521d7c,'context':_0x256ec8,'attributes':_0x384ced||{},'resolvedBy':_0x287c0f,'resolvedAt':_0xae5d7e,'unlinkedAt':_0x3a4ac9,'isFromAdapter':!0x0}));const _0x12f26b=new Set(Array[_0x52f517(0x1f4)](_0x23d7db[_0x52f517(0x21e)],_0x1210a4=>_0x1210a4['id']));for(const _0x2f2390 of _0x5ce0a9[_0x52f517(0x21e)])_0x12f26b[_0x52f517(0x255)](_0x2f2390[_0x52f517(0x204)]);for(const _0xb55ee7 of _0x12f26b)_0x23d7db[_0x52f517(0x242)](_0xb55ee7)[_0x52f517(0x20e)]({'isFromAdapter':!0x0});for(const _0x2655d6 of _0x5ce0a9[_0x52f517(0x21e)]){const _0x40cb1c=_0x23d7db[_0x52f517(0x242)](_0x2655d6[_0x52f517(0x204)]);_0x40cb1c?_0x40cb1c[_0x52f517(0x252)]!==_0x2655d6[_0x52f517(0x252)]&&_0x40cb1c[_0x52f517(0x241)]({'content':_0x2655d6[_0x52f517(0x252)],'isFromAdapter':!0x0}):_0x23d7db[_0x52f517(0x23a)](Object[_0x52f517(0x240)](rt(_0x2655d6),{'isFromAdapter':!0x0}));}}}[_0x18f196(0x1ff)](_0x2257a6){const _0x51eabc=_0x18f196;if(!this[_0x51eabc(0x1fa)][_0x51eabc(0x23c)](_0x2257a6))throw new _0x198838(_0x51eabc(0x225),null,{'channelId':_0x2257a6});return this[_0x51eabc(0x1fa)][_0x51eabc(0x214)](_0x2257a6);}async[_0x18f196(0x20b)](_0x23abd9){const _0x1929f7=_0x18f196,_0xbc30b2=this[_0x1929f7(0x23d)][_0x1929f7(0x206)][_0x1929f7(0x214)](_0x1d178e),{connection:_0x1b3f04}=this[_0x1929f7(0x23d)][_0x1929f7(0x206)][_0x1929f7(0x214)](_0x46373c),_0x22e912=new Set();for(const {resolvedBy:_0x29771f,comments:_0x5a0ae4}of _0x23abd9){_0x29771f&&!_0xbc30b2[_0x1929f7(0x20f)](_0x29771f)&&_0x22e912[_0x1929f7(0x203)](_0x29771f);for(const {userId:_0xa986ab}of _0x5a0ae4)_0xbc30b2[_0x1929f7(0x20f)](_0xa986ab)||_0x22e912[_0x1929f7(0x203)](_0xa986ab);}if(0x0===_0x22e912[_0x1929f7(0x219)])return;const _0x83a574=await _0x2bea89[_0x1929f7(0x22f)](_0x1b3f04,Array[_0x1929f7(0x1f4)](_0x22e912));for(const _0x23f805 of _0x83a574)_0xbc30b2[_0x1929f7(0x20f)](_0x23f805['id'])||_0xbc30b2[_0x1929f7(0x251)](_0x23f805);}}async function st(_0x275add){const _0x44ccef=_0x18f196;if(_0x44ccef(0x207)!==_0x275add[_0x44ccef(0x201)])throw _0x275add;}function et(_0x2cb0db){const _0x2c5097=_0x18f196;if((_0x357d9a=_0x2cb0db)[_0x2c5097(0x227)][_0x2c5097(0x250)](_0x2c5097(0x21b))||_0x357d9a[_0x2c5097(0x227)][_0x2c5097(0x250)](_0x2c5097(0x1f7))||_0x357d9a[_0x2c5097(0x227)][_0x2c5097(0x250)](_0x2c5097(0x21f)))return new Promise(()=>{});var _0x357d9a;throw _0x2cb0db;}function rt(_0x45e98c){const _0x369013=_0x18f196;return{'threadId':_0x45e98c[_0x369013(0x210)],'commentId':_0x45e98c[_0x369013(0x204)],'content':_0x45e98c[_0x369013(0x252)],'createdAt':_0x45e98c[_0x369013(0x22a)],'authorId':_0x45e98c[_0x369013(0x1f2)],'attributes':_0x45e98c[_0x369013(0x205)]||{}};}
23
+ const _0x53117a=_0x8b7a;(function(_0x48fc53,_0x53c715){const _0x5abc52=_0x8b7a,_0x520b94=_0x48fc53();while(!![]){try{const _0x392c70=-parseInt(_0x5abc52(0xa4))/0x1+parseInt(_0x5abc52(0xcd))/0x2*(parseInt(_0x5abc52(0xe2))/0x3)+-parseInt(_0x5abc52(0xae))/0x4+parseInt(_0x5abc52(0xb0))/0x5+-parseInt(_0x5abc52(0xb7))/0x6*(-parseInt(_0x5abc52(0xb4))/0x7)+parseInt(_0x5abc52(0xdf))/0x8*(parseInt(_0x5abc52(0xcc))/0x9)+-parseInt(_0x5abc52(0xd4))/0xa*(parseInt(_0x5abc52(0xb5))/0xb);if(_0x392c70===_0x53c715)break;else _0x520b94['push'](_0x520b94['shift']());}catch(_0x85b8c2){_0x520b94['push'](_0x520b94['shift']());}}}(_0x5cdd,0x198ed));import{Context as _0x5874a4,ContextPlugin as _0x1b8071}from'ckeditor5/src/core.js';function _0x5cdd(){const _0x43c5c2=['cloud-services-internal-error:\x20Request\x20timeout.','reopen','comments','commentThreadId','commentRemoved','commentThreadReopened','keys','27YTuqsq','50YcEgut','updateCommentThread','map','resolveCommentThread','setPermissions','unregister','getCommentThread','10pfcXvl','collaboration.channelId','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','catch','get','Permissions','cloudservicescommentsadapter-connect-already-connected','assign','config','cloudservicescommentsadapter-disconnect-not-exist','395784ocyTiv','sessionAdd:','getConnectedSessions','15570VqgWVO','_terminateService','addToReconnectionStack','_setUpService','listenTo','commentThreadRemoved','delete','_services','_getService','reconnect','commentThreadUpdated','removeCommentThread','attributes','off','addComment','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','_connectService','connect','destroy','reopenCommentThread','authorId','has','CloudServicesCommentsAdapter','userId','startsWith','code','getComment','init','update','set','remove','_fetchMissingUsersForThreads','isPremiumPlugin','add','context','getMany','cloudservicescommentsadapter-service-not-exist','CommentsService','commentThreadResolved','addCommentThread','101906AClsOg','commentThreadAdded','requires','commentId','commentUpdated','resolvedAt','from','404','content','getCommentThreads','786284euQcGG','isOfficialPlugin','851170ZtdvCQ','addUser','message','pluginName','665fWkvDp','1223926OXOgcV','commentAdded','4170ZvuYdV','register','disconnect','resolve','deletedAt','permissions','mySessionId','updateComment','adapter','plugins','removeComment','createdAt','getUser','size'];_0x5cdd=function(){return _0x43c5c2;};return _0x5cdd();}function _0x8b7a(_0x34231e,_0x2a7d15){const _0x5cdd6b=_0x5cdd();return _0x8b7a=function(_0x8b7afe,_0x1cb667){_0x8b7afe=_0x8b7afe-0x9b;let _0x20a0a9=_0x5cdd6b[_0x8b7afe];return _0x20a0a9;},_0x8b7a(_0x34231e,_0x2a7d15);}import{CKEditorError as _0x30cf86}from'ckeditor5/src/utils.js';import{Users as _0x22227d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3f892e,User as _0x1ee747}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x37f22d}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5106ee}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1b8071{static [_0x53117a(0xa1)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3f892e)());[_0x53117a(0xe9)];static get[_0x53117a(0xa6)](){const _0x556456=_0x53117a;return[_0x37f22d,_0x556456(0xf2),_0x5106ee,_0x22227d];}static get[_0x53117a(0xb3)](){const _0xd34bc8=_0x53117a;return _0xd34bc8(0xf9);}static get[_0x53117a(0xaf)](){return!0x0;}static get[_0x53117a(0x9c)](){return!0x0;}constructor(_0x9f4598){const _0x577877=_0x53117a;super(_0x9f4598),this[_0x577877(0xe9)]=new Map();}async[_0x53117a(0xfe)](){const _0x2e29f2=_0x53117a,_0x103eda=this[_0x2e29f2(0x9e)],_0x1c5e03=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x2e29f2(0xf2));if(_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x37f22d)[_0x2e29f2(0xe4)](this),_0x1c5e03[_0x2e29f2(0xbf)]={'addCommentThread':async({channelId:_0xe78910,threadId:_0x21a432,comments:_0x1abfa9,resolvedAt:_0x1f89a6,resolvedBy:_0x40f417,context:_0x2b11d0,attributes:_0x428d70})=>{const _0x570256=_0x2e29f2,_0x2c080e=await this[_0x570256(0xea)](_0xe78910)[_0x570256(0xa3)]({'commentThreadId':_0x21a432,'comments':_0x1abfa9[_0x570256(0xcf)](_0x4d6d22=>function(_0x435fa8,_0x539b17,_0x2d4c2c){const _0x519ac2=_0x570256;return{'commentThreadId':_0x2d4c2c,'commentId':_0x435fa8[_0x519ac2(0xa7)],'userId':_0x435fa8[_0x519ac2(0xf7)],'content':_0x435fa8[_0x519ac2(0xac)],'documentId':_0x539b17,'createdAt':_0x435fa8[_0x519ac2(0xc2)],'attributes':_0x435fa8[_0x519ac2(0xee)]||{}};}(_0x4d6d22,_0xe78910,_0x21a432)),'resolvedAt':_0x1f89a6,'resolvedBy':_0x40f417,'context':_0x2b11d0,'attributes':_0x428d70})[_0x570256(0xd8)](z);return{'threadId':_0x2c080e[_0x570256(0xc8)],'comments':_0x2c080e[_0x570256(0xc7)]};},'getCommentThread':async({channelId:_0x407d8c,threadId:_0x38993a})=>{const _0x5a6d43=_0x2e29f2,_0x114a58=await this[_0x5a6d43(0xea)](_0x407d8c)[_0x5a6d43(0xd3)](_0x38993a)[_0x5a6d43(0xd8)](N)[_0x5a6d43(0xd8)](z);return _0x114a58?_0x114a58[_0x5a6d43(0xbb)]?null:(await this[_0x5a6d43(0x9b)]([_0x114a58]),{'threadId':_0x114a58[_0x5a6d43(0xc8)],'comments':_0x114a58[_0x5a6d43(0xc7)][_0x5a6d43(0xcf)](H),'context':_0x114a58[_0x5a6d43(0x9e)],'resolvedAt':_0x114a58[_0x5a6d43(0xa9)],'resolvedBy':_0x114a58[_0x5a6d43(0xd6)],'attributes':_0x114a58[_0x5a6d43(0xee)]||{}}):null;},'updateCommentThread':async({channelId:_0x5216c6,threadId:_0x31d399,context:_0x446ebc,unlinkedAt:_0x5aa0fc,attributes:_0x376408})=>this[_0x2e29f2(0xea)](_0x5216c6)[_0x2e29f2(0xce)]({'commentThreadId':_0x31d399,'context':_0x446ebc,'attributes':_0x376408,'unlinkedAt':_0x5aa0fc})[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'resolveCommentThread':async({channelId:_0x13a948,threadId:_0x3c5ae1})=>{const _0x1c1a77=_0x2e29f2,_0x2744d7=await this[_0x1c1a77(0xea)](_0x13a948)[_0x1c1a77(0xd0)](_0x3c5ae1)[_0x1c1a77(0xd8)](N)[_0x1c1a77(0xd8)](z);return{'threadId':_0x2744d7[_0x1c1a77(0xc8)],'resolvedAt':_0x2744d7[_0x1c1a77(0xa9)],'resolvedBy':_0x2744d7[_0x1c1a77(0xd6)]};},'reopenCommentThread':async({channelId:_0x3abf11,threadId:_0x211cf4})=>this[_0x2e29f2(0xea)](_0x3abf11)[_0x2e29f2(0xf6)](_0x211cf4)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeCommentThread':({channelId:_0x2b4794,threadId:_0x3203c9})=>this[_0x2e29f2(0xea)](_0x2b4794)[_0x2e29f2(0xed)](_0x3203c9)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'addComment':({channelId:_0x445a28,threadId:_0x2f07b2,commentId:_0x173659,content:_0xe86d88,attributes:_0x118d71})=>this[_0x2e29f2(0xea)](_0x445a28)[_0x2e29f2(0xf0)](_0x2f07b2,_0x173659,_0xe86d88,_0x118d71)[_0x2e29f2(0xd8)](z),'updateComment':({channelId:_0x2b3f0a,threadId:_0x2037bc,commentId:_0x4433fa,content:_0x522379,attributes:_0x470f78})=>this[_0x2e29f2(0xea)](_0x2b3f0a)[_0x2e29f2(0xbe)](_0x2037bc,_0x4433fa,_0x522379,_0x470f78)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z),'removeComment':({channelId:_0x48695c,threadId:_0x20bf62,commentId:_0x1f2adc})=>this[_0x2e29f2(0xea)](_0x48695c)[_0x2e29f2(0xc1)](_0x20bf62,_0x1f2adc)[_0x2e29f2(0xd8)](N)[_0x2e29f2(0xd8)](z)},_0x103eda instanceof _0x5874a4){const _0x353e45=_0x103eda[_0x2e29f2(0xdd)][_0x2e29f2(0xd9)](_0x2e29f2(0xd5)),_0x463f25=_0x103eda[_0x2e29f2(0xc0)][_0x2e29f2(0xd9)](_0x5106ee);await this[_0x2e29f2(0xe5)](_0x353e45);const _0x9c76f5=await this[_0x2e29f2(0xe9)][_0x2e29f2(0xd9)](_0x353e45)[_0x2e29f2(0xe1)]();this[_0x2e29f2(0xe6)](_0x463f25,_0x2e29f2(0xe0)+_0x353e45,(_0x4e585a,{session:_0x19c9b6})=>{const _0xf89d54=_0x2e29f2;_0x19c9b6['id']===_0x463f25[_0xf89d54(0xbd)]&&(_0x4e585a[_0xf89d54(0xef)](),this[_0xf89d54(0x9e)][_0xf89d54(0xc0)][_0xf89d54(0xd9)](_0xf89d54(0xda))[_0xf89d54(0xd1)](_0x19c9b6[_0xf89d54(0xbc)],_0x353e45));}),_0x463f25[_0x2e29f2(0xb8)](_0x353e45,_0x9c76f5);}}async[_0x53117a(0xe5)](_0x47c7a2){const _0x1a0b28=_0x53117a;if(this[_0x1a0b28(0xe9)][_0x1a0b28(0xf8)](_0x47c7a2))throw new _0x30cf86(_0x1a0b28(0xdb),null,{'channelId':_0x47c7a2});const _0x195c0d=this[_0x1a0b28(0x9e)][_0x1a0b28(0xc0)][_0x1a0b28(0xd9)](_0x1a0b28(0xf2)),_0x1158eb=new CloudServicesCommentsAdapter[(_0x1a0b28(0xa1))](_0x47c7a2);this[_0x1a0b28(0xe9)][_0x1a0b28(0x100)](_0x47c7a2,_0x1158eb),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa5),(_0x5017a3,_0x1a6431)=>{const _0x10d271=_0x1a0b28,{commentThreadId:_0x80eb69,documentId:_0x2c7cbd,context:_0x2f1063,attributes:_0x2931ad,resolvedAt:_0x1f56e2,resolvedBy:_0x21fec1,comments:_0x36c8d7}=_0x1a6431;_0x195c0d[_0x10d271(0xd3)](_0x80eb69)||_0x195c0d[_0x10d271(0xa3)]({'threadId':_0x80eb69,'channelId':_0x2c7cbd,'comments':_0x36c8d7?_0x36c8d7[_0x10d271(0xcf)](H):[],'context':_0x2f1063,'attributes':_0x2931ad,'resolvedAt':_0x1f56e2,'resolvedBy':_0x21fec1,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xec),(_0x16fd3b,{commentThreadId:_0x5cd069,documentId:_0x1d9aeb,context:_0x12898f,unlinkedAt:_0x30b53e,attributes:_0x18a0cf})=>{const _0x3bb97b=_0x1a0b28;_0x195c0d[_0x3bb97b(0xd3)](_0x5cd069)&&_0x195c0d[_0x3bb97b(0xce)]({'threadId':_0x5cd069,'channelId':_0x1d9aeb,'context':_0x12898f,'unlinkedAt':_0x30b53e,'attributes':_0x18a0cf,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa2),(_0x1d5e0a,{commentThreadId:_0x16d595,resolvedBy:_0x30fa0c,resolvedAt:_0x344f33})=>{const _0x32c380=_0x1a0b28,_0x3a46bb=_0x195c0d[_0x32c380(0xd3)](_0x16d595);_0x3a46bb&&_0x3a46bb[_0x32c380(0xba)]({'resolvedBy':_0x30fa0c,'resolvedAt':_0x344f33,'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xca),(_0x317d3b,{commentThreadId:_0x32f775})=>{const _0x307099=_0x1a0b28,_0xaa6d62=_0x195c0d[_0x307099(0xd3)](_0x32f775);_0xaa6d62&&_0xaa6d62[_0x307099(0xc6)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xe7),(_0x2115fa,{commentThreadId:_0x288605})=>{const _0x2a9bf5=_0x1a0b28,_0x2ca621=_0x195c0d[_0x2a9bf5(0xd3)](_0x288605);_0x2ca621&&_0x2ca621[_0x2a9bf5(0x101)]({'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xb6),(_0x669980,_0xa98c80)=>{const _0x2319e7=_0x1a0b28,_0x348c62=_0xa98c80[_0x2319e7(0xc8)],_0x2c25a2=_0x195c0d[_0x2319e7(0xd3)](_0x348c62);_0x2c25a2&&_0x2c25a2[_0x2319e7(0xf0)]({...H(_0xa98c80),'isFromAdapter':!0x0});}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xa8),(_0x1b2c6b,{commentThreadId:_0x51f401,commentId:_0x3dc6c0,content:_0x3a6456,attributes:_0x4538fd})=>{const _0x953e17=_0x1a0b28,_0x221bb8=_0x195c0d[_0x953e17(0xd3)](_0x51f401);if(_0x221bb8){const _0x416ba7=_0x221bb8[_0x953e17(0xfd)](_0x3dc6c0);_0x416ba7&&_0x416ba7[_0x953e17(0xff)]({'content':_0x3a6456,'attributes':_0x4538fd,'isFromAdapter':!0x0});}}),this[_0x1a0b28(0xe6)](_0x1158eb,_0x1a0b28(0xc9),(_0xdfe83,{commentThreadId:_0x35a581,commentId:_0x2bbc35})=>{const _0x54b2b2=_0x1a0b28,_0x5ef8db=_0x195c0d[_0x54b2b2(0xd3)](_0x35a581);if(_0x5ef8db){const _0x51c740=_0x5ef8db[_0x54b2b2(0xfd)](_0x2bbc35);_0x51c740&&_0x51c740[_0x54b2b2(0x101)]({'isFromAdapter':!0x0});}}),await this[_0x1a0b28(0xf3)](_0x47c7a2);}[_0x53117a(0xf5)](){const _0x1bcae2=_0x53117a;if(this[_0x1bcae2(0x9e)]instanceof _0x5874a4){const _0x3bde14=this[_0x1bcae2(0x9e)][_0x1bcae2(0xdd)][_0x1bcae2(0xd9)](_0x1bcae2(0xd5));this[_0x1bcae2(0xe3)](_0x3bde14);}}[_0x53117a(0xe3)](_0x2b0394){const _0x382e88=_0x53117a;if(!this[_0x382e88(0xe9)][_0x382e88(0xf8)](_0x2b0394))throw new _0x30cf86(_0x382e88(0xde),null,{'channelId':_0x2b0394});this[_0x382e88(0xea)](_0x2b0394)[_0x382e88(0xb9)](),this[_0x382e88(0xe9)][_0x382e88(0xe8)](_0x2b0394);}async[_0x53117a(0xeb)](){const _0x23e9ba=_0x53117a;for(const _0x29b19c of this[_0x23e9ba(0xe9)][_0x23e9ba(0xcb)]())await this[_0x23e9ba(0xf3)](_0x29b19c);if(this[_0x23e9ba(0x9e)]instanceof _0x5874a4){const _0x244f1c=this[_0x23e9ba(0x9e)][_0x23e9ba(0xdd)][_0x23e9ba(0xd9)](_0x23e9ba(0xd5)),_0x215548=this[_0x23e9ba(0x9e)][_0x23e9ba(0xc0)][_0x23e9ba(0xd9)](_0x5106ee);_0x215548[_0x23e9ba(0xd2)](_0x244f1c);const _0x3144a8=await this[_0x23e9ba(0xe9)][_0x23e9ba(0xd9)](_0x244f1c)[_0x23e9ba(0xe1)]();_0x215548[_0x23e9ba(0xb8)](_0x244f1c,_0x3144a8);}}async[_0x53117a(0xf3)](_0x12de3c){const _0xc6b66a=_0x53117a,{connection:_0x1610c8}=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0x37f22d),_0x2dd3c3=this[_0xc6b66a(0x9e)][_0xc6b66a(0xc0)][_0xc6b66a(0xd9)](_0xc6b66a(0xf2)),_0x5ae082=this[_0xc6b66a(0xe9)][_0xc6b66a(0xd9)](_0x12de3c),_0x4a5789=await _0x5ae082[_0xc6b66a(0xf4)](_0x1610c8);await this[_0xc6b66a(0x9b)](_0x4a5789);const _0x1f1c24=new Set(Array[_0xc6b66a(0xaa)](_0x2dd3c3[_0xc6b66a(0xad)]({'channelId':_0x12de3c}),_0x13606f=>_0x13606f['id']));for(const _0x49a986 of _0x4a5789)_0x49a986[_0xc6b66a(0xbb)]||_0x1f1c24[_0xc6b66a(0xe8)](_0x49a986[_0xc6b66a(0xc8)]);for(const _0x5df257 of _0x1f1c24)_0x2dd3c3[_0xc6b66a(0xd3)](_0x5df257)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x1114d9 of _0x4a5789){let _0x14d5ea=_0x2dd3c3[_0xc6b66a(0xd3)](_0x1114d9[_0xc6b66a(0xc8)]);const {commentThreadId:_0x3172ed,context:_0x50e7f1,attributes:_0x138d6e,resolvedBy:_0x5e8660,resolvedAt:_0x5a037c,unlinkedAt:_0x560e08,deletedAt:_0x4793ba}=_0x1114d9;if(_0x4793ba)continue;_0x14d5ea||(_0x14d5ea=_0x2dd3c3[_0xc6b66a(0xa3)]({'channelId':_0x12de3c,'threadId':_0x3172ed,'context':_0x50e7f1,'attributes':_0x138d6e||{},'resolvedBy':_0x5e8660,'resolvedAt':_0x5a037c,'unlinkedAt':_0x560e08,'isFromAdapter':!0x0}));const _0x14caa5=new Set(Array[_0xc6b66a(0xaa)](_0x14d5ea[_0xc6b66a(0xc7)],_0x453c6d=>_0x453c6d['id']));for(const _0x164030 of _0x1114d9[_0xc6b66a(0xc7)])_0x14caa5[_0xc6b66a(0xe8)](_0x164030[_0xc6b66a(0xa7)]);for(const _0x5244e1 of _0x14caa5)_0x14d5ea[_0xc6b66a(0xfd)](_0x5244e1)[_0xc6b66a(0x101)]({'isFromAdapter':!0x0});for(const _0x553e57 of _0x1114d9[_0xc6b66a(0xc7)]){const _0x29f302=_0x14d5ea[_0xc6b66a(0xfd)](_0x553e57[_0xc6b66a(0xa7)]);_0x29f302?_0x29f302[_0xc6b66a(0xac)]!==_0x553e57[_0xc6b66a(0xac)]&&_0x29f302[_0xc6b66a(0xff)]({'content':_0x553e57[_0xc6b66a(0xac)],'isFromAdapter':!0x0}):_0x14d5ea[_0xc6b66a(0xf0)](Object[_0xc6b66a(0xdc)](H(_0x553e57),{'isFromAdapter':!0x0}));}}}[_0x53117a(0xea)](_0x504469){const _0x48d60c=_0x53117a;if(!this[_0x48d60c(0xe9)][_0x48d60c(0xf8)](_0x504469))throw new _0x30cf86(_0x48d60c(0xa0),null,{'channelId':_0x504469});return this[_0x48d60c(0xe9)][_0x48d60c(0xd9)](_0x504469);}async[_0x53117a(0x9b)](_0x45a6e3){const _0x4d755b=_0x53117a,_0x29a723=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x22227d),{connection:_0x2a9e3c}=this[_0x4d755b(0x9e)][_0x4d755b(0xc0)][_0x4d755b(0xd9)](_0x37f22d),_0x5bb918=new Set();for(const {resolvedBy:_0x40a8a6,comments:_0x5bd900}of _0x45a6e3){_0x40a8a6&&!_0x29a723[_0x4d755b(0xc3)](_0x40a8a6)&&_0x5bb918[_0x4d755b(0x9d)](_0x40a8a6);for(const {userId:_0x54287a}of _0x5bd900)_0x29a723[_0x4d755b(0xc3)](_0x54287a)||_0x5bb918[_0x4d755b(0x9d)](_0x54287a);}if(0x0===_0x5bb918[_0x4d755b(0xc4)])return;const _0x843ec7=await _0x1ee747[_0x4d755b(0x9f)](_0x2a9e3c,Array[_0x4d755b(0xaa)](_0x5bb918));for(const _0x5979f2 of _0x843ec7)_0x29a723[_0x4d755b(0xc3)](_0x5979f2['id'])||_0x29a723[_0x4d755b(0xb1)](_0x5979f2);}}async function N(_0x337e37){const _0x2c6883=_0x53117a;if(_0x2c6883(0xab)!==_0x337e37[_0x2c6883(0xfc)])throw _0x337e37;}function z(_0x4a5210){const _0x2a137a=_0x53117a;if((_0x579794=_0x4a5210)[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xd7))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xf1))||_0x579794[_0x2a137a(0xb2)][_0x2a137a(0xfb)](_0x2a137a(0xc5)))return new Promise(()=>{});var _0x579794;throw _0x4a5210;}function H(_0x53ced3){const _0x553338=_0x53117a;return{'threadId':_0x53ced3[_0x553338(0xc8)],'commentId':_0x53ced3[_0x553338(0xa7)],'content':_0x53ced3[_0x553338(0xac)],'createdAt':_0x53ced3[_0x553338(0xc2)],'authorId':_0x53ced3[_0x553338(0xfa)],'attributes':_0x53ced3[_0x553338(0xee)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b162c=_0x4750;function _0x4750(_0x537791,_0x30062a){const _0x54eab2=_0x54ea();return _0x4750=function(_0x475058,_0x5bfb40){_0x475058=_0x475058-0xb6;let _0x4bdf5a=_0x54eab2[_0x475058];return _0x4bdf5a;},_0x4750(_0x537791,_0x30062a);}function _0x54ea(){const _0x363fbe=['1350078WBigSW','editor','25FzTLAd','1806440frtfWA','listenTo','isOfficialPlugin','2572970YaegqL','CommentsRepository','ready','2606175huiRXr','collaboration.channelId','_terminateService','Comments','9WplPll','RealTimeCollaborativeComments','16800212uplxqZ','isThreadsLoadingPaused','change:state','config','requires','394294hyeVpa','once','_setUpService','init','destroy','CommentsEditing','35oQoqsQ','connected','pluginName','plugins','switchReadOnly','6sIicgB','get','data','930236rqNOrg','isPremiumPlugin'];_0x54ea=function(){return _0x363fbe;};return _0x54ea();}(function(_0xb9843f,_0x4baa2e){const _0x1265d7=_0x4750,_0x50bc67=_0xb9843f();while(!![]){try{const _0x3f58cb=-parseInt(_0x1265d7(0xcc))/0x1*(-parseInt(_0x1265d7(0xc1))/0x2)+parseInt(_0x1265d7(0xb6))/0x3+parseInt(_0x1265d7(0xcf))/0x4*(parseInt(_0x1265d7(0xd3))/0x5)+parseInt(_0x1265d7(0xd1))/0x6*(-parseInt(_0x1265d7(0xc7))/0x7)+parseInt(_0x1265d7(0xd4))/0x8*(-parseInt(_0x1265d7(0xba))/0x9)+parseInt(_0x1265d7(0xd7))/0xa+-parseInt(_0x1265d7(0xbc))/0xb;if(_0x3f58cb===_0x4baa2e)break;else _0x50bc67['push'](_0x50bc67['shift']());}catch(_0x1d86c3){_0x50bc67['push'](_0x50bc67['shift']());}}}(_0x54ea,0x90e81));import{Plugin as _0x215b8c}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x59766f}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2309b0}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1ffa79}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x215b8c{static get[_0x5b162c(0xc0)](){const _0x92567a=_0x5b162c;return[_0x92567a(0xb9),_0x59766f,_0x2309b0,_0x1ffa79];}static get[_0x5b162c(0xc9)](){const _0xe7432a=_0x5b162c;return _0xe7432a(0xbb);}static get[_0x5b162c(0xd6)](){return!0x0;}static get[_0x5b162c(0xd0)](){return!0x0;}[_0x5b162c(0xc4)](){const _0x2bec73=_0x5b162c,_0x9dc5cf=this[_0x2bec73(0xd2)][_0x2bec73(0xca)][_0x2bec73(0xcd)](_0x1ffa79),_0x43f351=this[_0x2bec73(0xd2)][_0x2bec73(0xca)][_0x2bec73(0xcd)](_0x2bec73(0xc6)),_0x5a5728=this[_0x2bec73(0xd2)][_0x2bec73(0xca)][_0x2bec73(0xcd)](_0x59766f);return this[_0x2bec73(0xd2)][_0x2bec73(0xce)][_0x2bec73(0xc2)](_0x2bec73(0xd9),()=>{const _0x41632e=_0x2bec73;this[_0x41632e(0xd5)](_0x9dc5cf,_0x41632e(0xbe),(_0x541c34,_0x4ca213,_0x28085f)=>{const _0x2de328=_0x41632e;_0x43f351[_0x2de328(0xbd)]=_0x2de328(0xc8)!==_0x28085f;});}),this[_0x2bec73(0xd5)](_0x9dc5cf,_0x2bec73(0xbe),(_0x1cfda8,_0x3136fe,_0x1cacd0)=>{const _0x579050=_0x2bec73;this[_0x579050(0xd2)][_0x579050(0xca)][_0x579050(0xcd)](_0x579050(0xd8))[_0x579050(0xcb)](_0x579050(0xc8)!==_0x1cacd0);}),_0x5a5728[_0x2bec73(0xc3)](this[_0x2bec73(0xd2)][_0x2bec73(0xbf)][_0x2bec73(0xcd)](_0x2bec73(0xb7)));}[_0x5b162c(0xc5)](){const _0x14ae8f=_0x5b162c;this[_0x14ae8f(0xd2)][_0x14ae8f(0xca)][_0x14ae8f(0xcd)](_0x59766f)[_0x14ae8f(0xb8)](this[_0x14ae8f(0xd2)][_0x14ae8f(0xbf)][_0x14ae8f(0xcd)](_0x14ae8f(0xb7))),super[_0x14ae8f(0xc5)]();}}
23
+ function _0x4b46(_0x10cdfd,_0x57cb91){const _0x2f56d9=_0x2f56();return _0x4b46=function(_0x4b4654,_0x491904){_0x4b4654=_0x4b4654-0x127;let _0x57876b=_0x2f56d9[_0x4b4654];return _0x57876b;},_0x4b46(_0x10cdfd,_0x57cb91);}const _0x108b78=_0x4b46;(function(_0x2b2883,_0x2b4d5a){const _0x165ed8=_0x4b46,_0xe8c4=_0x2b2883();while(!![]){try{const _0x1792e6=parseInt(_0x165ed8(0x145))/0x1+parseInt(_0x165ed8(0x128))/0x2*(parseInt(_0x165ed8(0x130))/0x3)+parseInt(_0x165ed8(0x137))/0x4+-parseInt(_0x165ed8(0x13e))/0x5*(parseInt(_0x165ed8(0x148))/0x6)+-parseInt(_0x165ed8(0x139))/0x7*(parseInt(_0x165ed8(0x132))/0x8)+parseInt(_0x165ed8(0x12b))/0x9+parseInt(_0x165ed8(0x13d))/0xa;if(_0x1792e6===_0x2b4d5a)break;else _0xe8c4['push'](_0xe8c4['shift']());}catch(_0x384654){_0xe8c4['push'](_0xe8c4['shift']());}}}(_0x2f56,0x66734));function _0x2f56(){const _0x424424=['listenTo','CommentsEditing','1541576IaQCes','isOfficialPlugin','586901NkzQDB','pluginName','CommentsRepository','isThreadsLoadingPaused','5028430UXirvU','14955mrrXJr','connected','_setUpService','change:state','config','get','collaboration.channelId','156818XdCAEN','data','editor','516pYmoPe','plugins','once','2nMmEII','RealTimeCollaborativeComments','_terminateService','684729ceriXq','requires','Comments','destroy','ready','427881ojaraQ','switchReadOnly','56unAFLg','isPremiumPlugin','init'];_0x2f56=function(){return _0x424424;};return _0x2f56();}import{Plugin as _0x4b3cd8}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x38b542}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x36a680}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4049ee}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4b3cd8{static get[_0x108b78(0x12c)](){const _0xb968a2=_0x108b78;return[_0xb968a2(0x12d),_0x38b542,_0x36a680,_0x4049ee];}static get[_0x108b78(0x13a)](){const _0x2d1f0f=_0x108b78;return _0x2d1f0f(0x129);}static get[_0x108b78(0x138)](){return!0x0;}static get[_0x108b78(0x133)](){return!0x0;}[_0x108b78(0x134)](){const _0x372deb=_0x108b78,_0x565f87=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x4049ee),_0x204030=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x372deb(0x136)),_0x32f1ba=this[_0x372deb(0x147)][_0x372deb(0x149)][_0x372deb(0x143)](_0x38b542);return this[_0x372deb(0x147)][_0x372deb(0x146)][_0x372deb(0x127)](_0x372deb(0x12f),()=>{const _0x6d47be=_0x372deb;this[_0x6d47be(0x135)](_0x565f87,_0x6d47be(0x141),(_0x40b7f5,_0x5a42cf,_0x1ba1b6)=>{const _0x2d9c94=_0x6d47be;_0x204030[_0x2d9c94(0x13c)]=_0x2d9c94(0x13f)!==_0x1ba1b6;});}),this[_0x372deb(0x135)](_0x565f87,_0x372deb(0x141),(_0x226748,_0x41d356,_0x267688)=>{const _0x491128=_0x372deb;this[_0x491128(0x147)][_0x491128(0x149)][_0x491128(0x143)](_0x491128(0x13b))[_0x491128(0x131)](_0x491128(0x13f)!==_0x267688);}),_0x32f1ba[_0x372deb(0x140)](this[_0x372deb(0x147)][_0x372deb(0x142)][_0x372deb(0x143)](_0x372deb(0x144)));}[_0x108b78(0x12e)](){const _0x283de7=_0x108b78;this[_0x283de7(0x147)][_0x283de7(0x149)][_0x283de7(0x143)](_0x38b542)[_0x283de7(0x12a)](this[_0x283de7(0x147)][_0x283de7(0x142)][_0x283de7(0x143)](_0x283de7(0x144))),super[_0x283de7(0x12e)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x141c1f=_0x473d;(function(_0xb92a2c,_0xf425d6){const _0x4c450c=_0x473d,_0x2948bd=_0xb92a2c();while(!![]){try{const _0x34a7f5=-parseInt(_0x4c450c(0x1e3))/0x1+parseInt(_0x4c450c(0x1b1))/0x2*(parseInt(_0x4c450c(0x19e))/0x3)+parseInt(_0x4c450c(0x140))/0x4+parseInt(_0x4c450c(0x10b))/0x5+-parseInt(_0x4c450c(0x1c2))/0x6*(-parseInt(_0x4c450c(0x155))/0x7)+-parseInt(_0x4c450c(0xf3))/0x8+-parseInt(_0x4c450c(0x15e))/0x9;if(_0x34a7f5===_0xf425d6)break;else _0x2948bd['push'](_0x2948bd['shift']());}catch(_0x4fdd26){_0x2948bd['push'](_0x2948bd['shift']());}}}(_0x5964,0x989fa));import{Plugin as _0x10c34c,PendingActions as _0x2d2a98}from'ckeditor5/src/core.js';import{CKEditorError as _0x22a0d9,version as _0x4249e7,uid as _0xf1e7a9}from'ckeditor5/src/utils.js';import{Notification as _0x4cfd6f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x28f197,NoOperation as _0x5c32a7,InsertOperation as _0x347ca1,MarkerOperation as _0x2b0e6e,RootAttributeOperation as _0x30380c,OperationFactory as _0x7e0226,History as _0x348aca}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x525e93}from'./websocketgateway.js';import{Sessions as _0x44a0d6}from'./sessions.js';import{UserMarkers as _0x137e7c}from'./usermarkers.js';import{getTranslation as _0x30d5b9}from'../common-translations.js';function _0x473d(_0x44aef1,_0x11eb9e){const _0x59646d=_0x5964();return _0x473d=function(_0x473dfa,_0x5aa918){_0x473dfa=_0x473dfa-0xea;let _0x405b61=_0x59646d[_0x473dfa];return _0x405b61;},_0x473d(_0x44aef1,_0x11eb9e);}import{Compressor as _0x5a3f98}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1c5424}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2f4b57,CollaborativeEditingService as _0xe2d626}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5964(){const _0x1828b6=['_initThrowingOnDataSet','mySessionId','cloud-services-internal-error:\x20Not\x20connected.','getMany','set','offset','_bufferedOperations','isOfficialPlugin','document:write','Notification','reset','_isAttached','collaboration-missing-channelid','624300OSeohU','rootName','fire','string','targetPosition','addRootAttribute','CollaborativeEditingService','stopListening','catch','_lastServerVersion','slice','_updateServerHistory','multi-root-editor-root-attributes-no-root','sendOperations','sessionCreatedAt','initData','currentDocumentSession','_saveOperationInBuffer','isReadOnly','isEnabled','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.','1582AVURXM','_refreshUserSelectionMarkers','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','off','start','getIdOfTheLastOperation','disableReadOnlyMode','define','realtimecollaborationclient-error','5298525dZMGoq','unregister','differ','_handleSendingSelectionMarkers','_channelId','_authorId','round','_setUpDataInit','_connectAfterSessionHasBeenFlushed','wereChangesApplied','disconnected','_decompressOperations','ready','serverHistory','_document','_isConnected','_compressor','_sendBufferedOperationsDelayId','from','realtimecollaborationclient-init-non-existent-root','404','lastOperationAcceptedAt','register','_handleInitialConnectionData','createUserMarkerOperations','_ignoredOperations','_fetchMissingUsers','_pendingAction','cs:removeUser','startsWith','userId','bind','decompress','state','_isEditingAllowed','entries','listenTo','newRange','_handleExternalOperations','_operationIdentifier','cloudDocumentVersion','plugins','change:_isPendingUpdate','roots','rootsAttributes','filter','addRoot','code','realtimecollaborationclient-init-connection-failed','Permissions','requires','selection','change:_isEditingAllowed','createPositionFromPath','sessionId','remove','_knownRootNames','suppressErrorInCollaboration','wasUndone','connect','directChange','lastOperationId','realtimecollaborationclient-init-service-incorrect-server-operation','Synchronization\x20issue','1800774NqtRMK','409','enableReadOnlyMode','_shouldSendSelectionUpdate','_handleReconnectionResponse','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','push','clone','_applyOperationsSet','$root','_getAffectedRoot','editor','root','removeFromReconnectionStack','addUser','showWarning','isPremiumPlugin','realtimecollaborationclient-handleserverresponse','2tWLZBR','_initSessionsHandling','_clearPendingAction','return','isDocumentOperation','connected','path','addToReconnectionStack','pluginName','_isPendingUpdate','message','_connectService','_bufferRootLoad','map','cloudServices.bundleVersion','rtc-offline','getDocumentDetails','6450BfAKOK','marker','version','reconnection:\x20flushed\x20session','__className','_waitUntilSynced','high','createdAt','data','getOperations','history','add','operationsReceived','_sendBufferedOperations','change:hasDomSelection','setIdForTheLastOperation','_handleReconnectionError','_isInit','_loadRoot','locale','realtimecollaborationclient-init-service-internal-error','_handleServerResponse','markers','compress','apply','_isLoaded','_operationToId','_service','metadata','_isDisconnection','realtimecollaborationclient-init-session-connection-error','_disconnectService','attributes','239800RvxUFx','realtimecollaborationclient-init-document-already-initialized','error','RealTimeCollaborationClient','PENDING_ACTION_SENDING_DATA','insert','_shouldSendUpdate','getRoot','_currentBufferDelay','realtimecollaborationclient-sendbufferedoperations','_addKnownRoot','collaboration','batch','_handleReceivedOperations','_hasSelectionChanged','document','createRoot','_hasSynchronizationProblem','_offset','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','2607664SGwSPd','getUser','_crash','position','CommentsOnly','channelSessions','view','_compressOperations','_baseBufferDelay','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.','affectedSelectable','sessionAdd:','_disconnectionOperations','getOperationAuthor','destroy','addOperation','finally','_knownOperations','end','setPermissions','toJSON','disconnect','isUndoneOperation','type','3901730DJKhyE','affectsData','InsertOperation','stop','connection','init','loadRoot','config','then','size','change:range','move','keys','_sendBufferedOperationsDelayed','forEach','_setPendingAction','rtc-destroyed','getConnectedSessions','model','has','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','parse','permissions','applyOperation','baseVersion','get','_getOperationsFromInitData','lastSyncVersion','includes','createPositionAt','reconnect','length','fromJSON','lastDocumentSession','editing','_lastSyncedOperationId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient','createRange','enqueueChange'];_0x5964=function(){return _0x1828b6;};return _0x5964();}let q=0x1;export class RealTimeCollaborationClient extends _0x10c34c{static [_0x141c1f(0x146)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xe2d626)());[_0x141c1f(0xf0)];[_0x141c1f(0x194)];[_0x141c1f(0x16b)];[_0x141c1f(0x162)];[_0x141c1f(0x1dd)];[_0x141c1f(0x16c)];[_0x141c1f(0x16e)];[_0x141c1f(0x139)];[_0x141c1f(0x104)];[_0x141c1f(0x196)];[_0x141c1f(0x179)];[_0x141c1f(0xec)];[_0x141c1f(0x16f)];[_0x141c1f(0xfb)];[_0x141c1f(0x1eb)];[_0x141c1f(0x12e)];[_0x141c1f(0xff)];[_0x141c1f(0x185)];static get[_0x141c1f(0x190)](){return[_0x525e93,_0x44a0d6,_0x137e7c,_0x2d2a98,_0x1c5424,_0x4cfd6f];}static get[_0x141c1f(0x1b9)](){const _0x5807a6=_0x141c1f;return _0x5807a6(0x1e6);}static get[_0x141c1f(0x13a)](){return!0x0;}static get[_0x141c1f(0x1af)](){return!0x0;}get[_0x141c1f(0x186)](){const _0x538b05=_0x141c1f;return this[_0x538b05(0x149)]+this[_0x538b05(0xf0)];}get[_0x141c1f(0x149)](){const _0x37b4d6=_0x141c1f;return this[_0x37b4d6(0x16b)][_0x37b4d6(0x1c4)]-this[_0x37b4d6(0xf0)];}get[_0x141c1f(0x126)](){const _0x33200c=_0x141c1f,_0x79793d=this[_0x33200c(0x16b)][_0x33200c(0x1cb)]();for(let _0x386295=_0x79793d[_0x33200c(0x12a)]-0x1;_0x386295>=0x0;_0x386295--){const _0x1ac1b=_0x79793d[_0x386295];if(!this[_0x33200c(0xff)][_0x33200c(0x11e)](_0x1ac1b))return _0x1ac1b[_0x33200c(0x123)]+0x1-this[_0x33200c(0xf0)];}return 0x0;}constructor(_0x48f1cc){const _0x172f58=_0x141c1f;if(super(_0x48f1cc),this[_0x172f58(0xf0)]=0x0,this[_0x172f58(0x194)]=null,this[_0x172f58(0x16b)]=new _0x348aca(),this[_0x172f58(0x1aa)][_0x172f58(0x112)][_0x172f58(0x15c)](_0x172f58(0x1ee),{}),this[_0x172f58(0x162)]=this[_0x172f58(0x1aa)][_0x172f58(0x112)][_0x172f58(0x124)](_0x172f58(0x1a3)),!this[_0x172f58(0x162)])throw new _0x22a0d9(_0x172f58(0x13f),this);const _0x467902=_0x48f1cc[_0x172f58(0x112)][_0x172f58(0x124)](_0x172f58(0x1bf))||_0x4249e7;this[_0x172f58(0x1dd)]=new RealTimeCollaborationClient[(_0x172f58(0x146))](_0x467902,this[_0x172f58(0x162)]),this[_0x172f58(0x16c)]=this[_0x172f58(0x1aa)][_0x172f58(0x11d)][_0x172f58(0xed)],this[_0x172f58(0x16e)]=new _0x5a3f98(),this[_0x172f58(0x139)]=[],this[_0x172f58(0x104)]=new WeakSet(),this[_0x172f58(0x196)]=new Set(),this[_0x172f58(0x137)](_0x172f58(0x1ba),!0x1),this[_0x172f58(0x137)](_0x172f58(0xef),!0x1),this[_0x172f58(0x179)]=null,this[_0x172f58(0xec)]=!0x1,this[_0x172f58(0x16f)]=null,this[_0x172f58(0xfb)]=0x12c,this[_0x172f58(0x1eb)]=this[_0x172f58(0xfb)],this[_0x172f58(0x12e)]=null,this[_0x172f58(0xff)]=new WeakSet(),this[_0x172f58(0x185)]=new K(this[_0x172f58(0xff)]);}[_0x141c1f(0x110)](){const _0x15c915=_0x141c1f,_0x184b15=this[_0x15c915(0x1aa)],_0x25e87b=_0x184b15[_0x15c915(0x187)][_0x15c915(0x124)](_0x1c5424),_0x34f6f0=_0x184b15[_0x15c915(0x187)][_0x15c915(0x124)](_0x525e93);this[_0x15c915(0x182)](_0x25e87b,_0x15c915(0x100),(_0x3e6af8,_0x4fbb37)=>{const _0x193e0b=_0x15c915,_0x324809=_0x4fbb37[0x0];_0x324809[_0x193e0b(0x163)]&&(_0x3e6af8[_0x193e0b(0x1b4)]=_0x25e87b[_0x193e0b(0xf4)](_0x324809[_0x193e0b(0x163)]),_0x3e6af8[_0x193e0b(0x10e)]()),null===_0x324809[_0x193e0b(0x163)]&&(_0x3e6af8[_0x193e0b(0x1b4)]=null,_0x3e6af8[_0x193e0b(0x10e)]());},{'priority':_0x15c915(0x1c8)}),this[_0x15c915(0x182)](_0x184b15[_0x15c915(0x11d)][_0x15c915(0xed)][_0x15c915(0x191)],_0x15c915(0x115),(_0x27fd56,_0x42824d)=>{const _0x1b546c=_0x15c915;_0x42824d[_0x1b546c(0x19a)]&&this[_0x1b546c(0x156)]();}),this[_0x15c915(0x182)](_0x184b15[_0x15c915(0x12d)][_0x15c915(0xf9)],_0x15c915(0x1d0),()=>{const _0x354c47=_0x15c915;this[_0x354c47(0x156)]();}),this[_0x15c915(0x133)](),_0x184b15[_0x15c915(0x11d)]['on'](_0x15c915(0x122),(_0x185ebb,_0x4e257a)=>{const _0x148cce=_0x15c915,_0x3cc65a=_0x4e257a[0x0];_0x3cc65a[_0x148cce(0x1b5)]&&(this[_0x148cce(0x151)](_0x3cc65a),this[_0x148cce(0x1e9)]()&&this[_0x148cce(0x118)]());}),this[_0x15c915(0x165)](),this[_0x15c915(0x17d)](_0x15c915(0x180))['to'](_0x34f6f0,_0x15c915(0x17f),this,_0x15c915(0xef),(_0x495012,_0x3169a9)=>_0x15c915(0x1b6)===_0x495012&&!_0x3169a9),this['on'](_0x15c915(0x192),()=>{const _0x16d014=_0x15c915;this[_0x16d014(0x180)]?_0x184b15[_0x16d014(0x15b)](_0x16d014(0x1c0)):_0x184b15[_0x16d014(0x1a0)](_0x16d014(0x1c0));}),this[_0x15c915(0x180)]?_0x184b15[_0x15c915(0x15b)](_0x15c915(0x1c0)):_0x184b15[_0x15c915(0x1a0)](_0x15c915(0x1c0)),this[_0x15c915(0x137)](_0x15c915(0x16d),!0x1);}async[_0x141c1f(0x129)](){const _0x3aa9ba=_0x141c1f,_0x200cc0=this[_0x3aa9ba(0x1aa)][_0x3aa9ba(0x187)][_0x3aa9ba(0x124)](_0x44a0d6),_0x26e63a=this[_0x3aa9ba(0x1aa)][_0x3aa9ba(0x187)][_0x3aa9ba(0x124)](_0x525e93);try{this[_0x3aa9ba(0x1ba)]=!0x0,_0x200cc0[_0x3aa9ba(0x15f)](this[_0x3aa9ba(0x162)]);const _0xd7cef=await this[_0x3aa9ba(0x1dd)][_0x3aa9ba(0x129)](_0x26e63a[_0x3aa9ba(0x10f)],this[_0x3aa9ba(0x126)]);await this[_0x3aa9ba(0x1a2)](_0xd7cef)&&(this[_0x3aa9ba(0x1ba)]=!0x1,this[_0x3aa9ba(0x1b3)]());const _0x651539=await this[_0x3aa9ba(0x1dd)][_0x3aa9ba(0x11c)]();_0x200cc0[_0x3aa9ba(0x174)](this[_0x3aa9ba(0x162)],_0x651539),this[_0x3aa9ba(0x161)](),this[_0x3aa9ba(0x16d)]=!0x0;}catch(_0x1fa678){if(function(_0x3cd624){const _0x2309dd=_0x3aa9ba;return _0x2309dd(0x172)===_0x3cd624[_0x2309dd(0x18d)];}(_0x1fa678)&&this[_0x3aa9ba(0x194)])await this[_0x3aa9ba(0x166)]();else{if(function(_0x2fbb45){const _0x442997=_0x3aa9ba;return _0x442997(0x19f)===_0x2fbb45[_0x442997(0x18d)];}(_0x1fa678)){const _0x40655f=_0x30d5b9(this[_0x3aa9ba(0x1aa)][_0x3aa9ba(0x1d5)],_0x3aa9ba(0x12f));this[_0x3aa9ba(0x1d2)](_0x40655f);}else{if(!(_0x1fa678 instanceof G))throw _0x1fa678;this[_0x3aa9ba(0x1d2)]();}}}}[_0x141c1f(0x101)](){const _0x5b755a=_0x141c1f,_0x5783aa=this[_0x5b755a(0x1aa)][_0x5b755a(0x187)][_0x5b755a(0x124)](_0x525e93),_0x580a9c=this[_0x5b755a(0x1aa)][_0x5b755a(0x187)][_0x5b755a(0x124)](_0x44a0d6);this[_0x5b755a(0x1aa)][_0x5b755a(0x1a0)](_0x5b755a(0x11b)),_0x580a9c[_0x5b755a(0xf8)][_0x5b755a(0x11e)](this[_0x5b755a(0x162)])&&_0x580a9c[_0x5b755a(0x15f)](this[_0x5b755a(0x162)]),_0x5783aa[_0x5b755a(0x1ac)](this),this[_0x5b755a(0x1e1)](),super[_0x5b755a(0x101)]();}async[_0x141c1f(0x1a2)](_0x6f51b){const _0x49a5f3=_0x141c1f;if(this[_0x49a5f3(0x194)]!==_0x6f51b[_0x49a5f3(0x194)]&&this[_0x49a5f3(0x12e)]!==_0x6f51b[_0x49a5f3(0x19b)])throw new G();return this[_0x49a5f3(0x194)]=_0x6f51b[_0x49a5f3(0x194)],this[_0x49a5f3(0x1d7)]([],{..._0x6f51b,'wereChangesApplied':!0x1,'data':_0x6f51b[_0x49a5f3(0x1ca)]},_0x49a5f3(0x129));}async[_0x141c1f(0x1bc)](_0x4676e1,_0xd09b62=!0x1){const _0x3ec08d=_0x141c1f,{connection:_0x4bde50}=this[_0x3ec08d(0x1aa)][_0x3ec08d(0x187)][_0x3ec08d(0x124)](_0x525e93);RealTimeCollaborationClient[_0x3ec08d(0x146)][_0x3ec08d(0x11c)](_0x4bde50,this[_0x3ec08d(0x162)])[_0x3ec08d(0x113)](_0x231bfa=>this[_0x3ec08d(0x1b2)](_0x231bfa))[_0x3ec08d(0x148)](_0x5b9a73=>{const _0x532a3e=_0x3ec08d;this[_0x532a3e(0xf5)](_0x532a3e(0x1e0),_0x5b9a73);}),this[_0x3ec08d(0x182)](this[_0x3ec08d(0x1dd)],_0x3ec08d(0x1ce),this[_0x3ec08d(0xeb)][_0x3ec08d(0x17d)](this)),this[_0x3ec08d(0x182)](this[_0x3ec08d(0x1dd)],_0x3ec08d(0x1e5),(_0xfa4e97,_0x11fbba)=>{const _0x2b4486=_0x3ec08d;this[_0x2b4486(0xf5)](_0x2b4486(0x1d6),_0x11fbba);}),this[_0x3ec08d(0x182)](this[_0x3ec08d(0x1dd)],_0x3ec08d(0x168),()=>{const _0x1a62ea=_0x3ec08d;this[_0x1a62ea(0x16d)]=!0x1;});const _0xdbb6e3=this[_0x3ec08d(0x185)][_0x3ec08d(0x15a)](_0x4676e1);this[_0x3ec08d(0x1ba)]=!0x0;const _0x28a75d=await this[_0x3ec08d(0x1dd)][_0x3ec08d(0x199)](_0x4bde50,this[_0x3ec08d(0xfa)](_0x4676e1),_0xdbb6e3);if(this[_0x3ec08d(0x194)]=_0x28a75d[_0x3ec08d(0x194)],_0xd09b62){if(!_0x28a75d[_0x3ec08d(0x167)])return void this[_0x3ec08d(0x1d2)]();this[_0x3ec08d(0x1ba)]=!0x1,this[_0x3ec08d(0x1b3)](),this[_0x3ec08d(0x16b)][_0x3ec08d(0x13d)](),this[_0x3ec08d(0xf0)]=_0x28a75d[_0x3ec08d(0x138)],this[_0x3ec08d(0x16b)][_0x3ec08d(0x1c4)]=this[_0x3ec08d(0xf0)],await this[_0x3ec08d(0x1d7)](_0x4676e1,_0x28a75d,_0x3ec08d(0x1c5));}else await this[_0x3ec08d(0x175)](_0x28a75d,_0x4676e1);this[_0x3ec08d(0x161)](),this[_0x3ec08d(0x16d)]=!0x0;}[_0x141c1f(0x161)](){const _0x5400aa=_0x141c1f,_0xb221ec=this[_0x5400aa(0x1aa)][_0x5400aa(0x187)][_0x5400aa(0x124)](_0x44a0d6),_0x35549b=this[_0x5400aa(0x1aa)][_0x5400aa(0x187)][_0x5400aa(0x124)](_0x137e7c),_0x53f14e=_0xb221ec[_0x5400aa(0xf8)][_0x5400aa(0x124)](this[_0x5400aa(0x162)]);_0x53f14e&&_0x53f14e[_0x5400aa(0x12a)]>0x1?_0x35549b[_0x5400aa(0x176)]():this[_0x5400aa(0x182)](_0xb221ec,_0x5400aa(0xfe)+this[_0x5400aa(0x162)],()=>{const _0x154cc0=_0x5400aa;0x2===_0xb221ec[_0x154cc0(0xf8)][_0x154cc0(0x124)](this[_0x154cc0(0x162)])[_0x154cc0(0x12a)]&&_0x35549b[_0x154cc0(0x176)]();});}async[_0x141c1f(0xeb)](_0xbcbc93,_0x4e9369,_0x8b9c82,_0x12e285){const _0x4d2517=_0x141c1f;if(!this[_0x4d2517(0x1ba)]&&this[_0x4d2517(0x16c)][_0x4d2517(0x1c4)]==_0x4e9369){const _0x136a06=this[_0x4d2517(0x169)](_0x8b9c82,_0x12e285);await this[_0x4d2517(0x178)](_0x136a06),this[_0x4d2517(0x184)](_0x136a06,_0x4e9369,_0x8b9c82[_0x4d2517(0x19b)])||this[_0x4d2517(0xf5)](_0x4d2517(0x19c));}}async[_0x141c1f(0x166)](){const _0x53b171=_0x141c1f;this[_0x53b171(0x1e1)]();const {locale:_0x14a224}=this[_0x53b171(0x1aa)];let _0x423b30;try{_0x423b30=await this[_0x53b171(0x1dd)][_0x53b171(0x1c1)]();}catch{const _0x5d9362=_0x30d5b9(_0x14a224,_0x53b171(0xf1));return void this[_0x53b171(0x1d2)](_0x5d9362);}const _0x11833a=_0x423b30[_0x53b171(0x150)]||_0x423b30[_0x53b171(0x12c)];if(this[_0x53b171(0x12e)]!==_0x11833a[_0x53b171(0x19b)]){const _0x2fafbe=_0x30d5b9(_0x14a224,_0x53b171(0x154));return void this[_0x53b171(0x1d2)](_0x2fafbe);}await this[_0x53b171(0x1bc)](this[_0x53b171(0x1aa)][_0x53b171(0x11d)][_0x53b171(0xed)][_0x53b171(0x1cc)][_0x53b171(0x1cb)](),!0x0);}[_0x141c1f(0x1e1)](){const _0x25da81=_0x141c1f;this[_0x25da81(0x1dd)][_0x25da81(0x108)](),this[_0x25da81(0x139)]=[],clearTimeout(this[_0x25da81(0x16f)]),this[_0x25da81(0x147)](this[_0x25da81(0x1dd)]);}[_0x141c1f(0x1b2)](_0x4a6628){const _0x132a0e=_0x141c1f,_0x1b9a65=this[_0x132a0e(0x1aa)][_0x132a0e(0x187)][_0x132a0e(0x124)](_0x44a0d6);this[_0x132a0e(0x182)](_0x1b9a65,_0x132a0e(0xfe)+this[_0x132a0e(0x162)],(_0x5084d4,{session:_0x23facc})=>{const _0x10da6e=_0x132a0e;if(_0x23facc['id']===_0x1b9a65[_0x10da6e(0x134)]){_0x5084d4[_0x10da6e(0x158)]();const _0x5e530e=this[_0x10da6e(0x1aa)][_0x10da6e(0x187)][_0x10da6e(0x11e)](_0x10da6e(0xf7))&&this[_0x10da6e(0x1aa)][_0x10da6e(0x187)][_0x10da6e(0x124)](_0x10da6e(0xf7));let _0x14854f=_0x23facc[_0x10da6e(0x121)];_0x5e530e&&_0x5e530e[_0x10da6e(0x153)]&&(_0x14854f=_0x14854f[_0x10da6e(0x18b)](_0x3b3ba7=>_0x10da6e(0x13b)!==_0x3b3ba7)),this[_0x10da6e(0x1aa)][_0x10da6e(0x187)][_0x10da6e(0x124)](_0x10da6e(0x18f))[_0x10da6e(0x106)](_0x14854f,this[_0x10da6e(0x162)]);}}),_0x1b9a65[_0x132a0e(0x174)](this[_0x132a0e(0x162)],_0x4a6628);}[_0x141c1f(0x133)](){const _0x2eb9bc=_0x141c1f,_0x28bce7=this[_0x2eb9bc(0x1aa)][_0x2eb9bc(0x1ca)][_0x2eb9bc(0x137)];this[_0x2eb9bc(0x1aa)][_0x2eb9bc(0x1ca)][_0x2eb9bc(0x137)]=(..._0x37b216)=>{const _0x41b339=_0x2eb9bc;if(!_0x37b216[_0x37b216[_0x41b339(0x12a)]-0x1][_0x41b339(0x197)])throw new _0x22a0d9(_0x41b339(0x157),this);_0x28bce7[_0x41b339(0x1da)](this[_0x41b339(0x1aa)][_0x41b339(0x1ca)],_0x37b216);};}[_0x141c1f(0x165)](){const _0x43f87d=_0x141c1f;this[_0x43f87d(0x1aa)][_0x43f87d(0x1ca)]['on'](_0x43f87d(0x110),(_0x38479a,[_0x1238f4])=>{const _0xde27af=_0x43f87d;if(this[_0xde27af(0x16c)][_0xde27af(0x1c4)])throw new _0x22a0d9(_0xde27af(0x1e4),this);_0x38479a[_0xde27af(0x10e)](),this[_0xde27af(0x11a)]();const _0x2fde91=this[_0xde27af(0x1aa)][_0xde27af(0x112)][_0xde27af(0x124)](_0xde27af(0x18a)),_0x5b6e55=this[_0xde27af(0x125)](_0x1238f4,_0x2fde91);0x0==_0x5b6e55[_0xde27af(0x12a)]&&_0x5b6e55[_0xde27af(0x1a5)](new _0x5c32a7(0x0)),_0x38479a[_0xde27af(0x1b4)]=this[_0xde27af(0x1bc)](_0x5b6e55)[_0xde27af(0x113)](()=>{const _0x5d5023=_0xde27af;this[_0x5d5023(0x1aa)][_0x5d5023(0x187)][_0x5d5023(0x124)](_0x525e93)[_0x5d5023(0x1b8)](this),this[_0x5d5023(0x1aa)][_0x5d5023(0x1ca)][_0x5d5023(0x142)](_0x5d5023(0x16a));})[_0xde27af(0x148)](_0x4edf02=>this[_0xde27af(0xf5)](_0xde27af(0x18e),_0x4edf02))[_0xde27af(0x103)](()=>this[_0xde27af(0x1b3)]());},{'priority':_0x43f87d(0x1c8)}),this[_0x43f87d(0x1aa)]['on'](_0x43f87d(0x111),async(_0x325a81,[_0x747ad0,_0x13b1a3])=>{const _0xce2862=_0x43f87d;_0x325a81[_0xce2862(0x10e)]();const _0x446e25=this[_0xce2862(0x1aa)][_0xce2862(0x11d)][_0xce2862(0xed)][_0xce2862(0x1ea)](_0x747ad0);if(!this[_0xce2862(0x196)][_0xce2862(0x11e)](_0x747ad0)){const _0x39a4e6=_0x13b1a3&&_0x13b1a3[_0xce2862(0x1ca)]?_0x13b1a3[_0xce2862(0x1ca)]:'',_0x2bd3e4=_0x13b1a3&&_0x13b1a3[_0xce2862(0x1e2)]?_0x13b1a3[_0xce2862(0x1e2)]:{};await this[_0xce2862(0x1d4)](_0x747ad0,_0x39a4e6,_0x2bd3e4);}this[_0xce2862(0x1aa)][_0xce2862(0x11d)][_0xce2862(0x132)]({'isUndoable':!0x1},()=>{const _0x4346fe=_0xce2862;_0x446e25[_0x4346fe(0x1db)]=!0x0,this[_0x4346fe(0x1aa)][_0x4346fe(0x11d)][_0x4346fe(0xed)][_0x4346fe(0x160)][_0x4346fe(0x1bd)](_0x446e25);});},{'priority':_0x43f87d(0x1c8)});}async[_0x141c1f(0x178)](_0x526541){const _0x432d19=_0x141c1f,_0x56a6f0=this[_0x432d19(0x1aa)][_0x432d19(0x187)][_0x432d19(0x124)](_0x1c5424),{connection:_0x5572e9}=this[_0x432d19(0x1aa)][_0x432d19(0x187)][_0x432d19(0x124)](_0x525e93),_0x5640b6=new Set();for(const _0x58b3f8 of _0x526541){const _0x5ce022=_0x58b3f8[_0x432d19(0x163)];_0x5ce022&&!_0x56a6f0[_0x432d19(0xf4)](_0x5ce022)&&_0x5640b6[_0x432d19(0x1cd)](_0x5ce022);}if(0x0===_0x5640b6[_0x432d19(0x114)])return;const _0x1a84fc=await _0x2f4b57[_0x432d19(0x136)](_0x5572e9,Array[_0x432d19(0x170)](_0x5640b6));for(const _0x3af7da of _0x1a84fc)_0x56a6f0[_0x432d19(0xf4)](_0x3af7da['id'])||_0x56a6f0[_0x432d19(0x1ad)](_0x3af7da);}[_0x141c1f(0x125)](_0x113a73,_0x8dc441={}){const _0x141609=_0x141c1f,_0x3986ec=this[_0x141609(0x1aa)][_0x141609(0x11d)],_0x347048=[];let _0xc30328=0x0;const _0xfca536=_0x141609(0x143)==typeof _0x113a73?{'main':_0x113a73}:_0x113a73;for(const _0x4ebdc7 of Object[_0x141609(0x117)](_0xfca536)){if(!this[_0x141609(0x16c)][_0x141609(0x189)][_0x141609(0x11e)](_0x4ebdc7))throw new _0x22a0d9(_0x141609(0x171),this);const _0x13e344=this[_0x141609(0x1aa)][_0x141609(0x1ca)][_0x141609(0x120)](_0xfca536[_0x4ebdc7]),_0x11272b=this[_0x141609(0x16c)][_0x141609(0x1ea)](_0x4ebdc7),_0x469a10=new _0x347ca1(_0x3986ec[_0x141609(0x128)](_0x11272b,0x0),_0x13e344,_0xc30328++);_0x347048[_0x141609(0x1a5)](_0x469a10);for(const [_0x5ea9e5,_0x2157fc]of _0x13e344[_0x141609(0x1d8)]){const _0x9e9e3d=_0x3986ec[_0x141609(0x131)](_0x3986ec[_0x141609(0x193)](_0x11272b,_0x2157fc[_0x141609(0x159)][_0x141609(0x1b7)][_0x141609(0x14a)]()),_0x3986ec[_0x141609(0x193)](_0x11272b,_0x2157fc[_0x141609(0x105)][_0x141609(0x1b7)][_0x141609(0x14a)]())),_0x153c25=new _0x2b0e6e(_0x5ea9e5,null,_0x9e9e3d,_0x3986ec[_0x141609(0x1d8)],!0x0,_0xc30328++);_0x347048[_0x141609(0x1a5)](_0x153c25);}}if(_0x8dc441)for(const [_0x38d538,_0x3b02cc]of Object[_0x141609(0x181)](_0x8dc441)){const _0x116206=_0x3986ec[_0x141609(0xed)][_0x141609(0x1ea)](_0x38d538);if(!_0x116206)throw new _0x22a0d9(_0x141609(0x14c),null);for(const [_0x56ddcf,_0x20235d]of Object[_0x141609(0x181)](_0x3b02cc))if(null!==_0x20235d){const _0x389e58=new _0x30380c(_0x116206,_0x56ddcf,null,_0x20235d,_0xc30328++);_0x347048[_0x141609(0x1a5)](_0x389e58);}}return _0x347048;}async[_0x141c1f(0x1d4)](_0x11eb21,_0x237fc6,_0x1c28b){const _0x39ab70=_0x141c1f;this[_0x39ab70(0x125)]({[_0x11eb21]:_0x237fc6},{[_0x11eb21]:_0x1c28b})[_0x39ab70(0x119)]((_0x594e78,_0x12a5cc)=>{const _0xcbaa50=_0x39ab70;_0x594e78[_0xcbaa50(0x123)]=this[_0xcbaa50(0x16c)][_0xcbaa50(0x1c4)]+_0x12a5cc,_0x594e78[_0xcbaa50(0x1d3)]=!0x0,this[_0xcbaa50(0x151)](_0x594e78);}),this[_0x39ab70(0x118)](),await this[_0x39ab70(0x1c7)]();}async[_0x141c1f(0x175)](_0x7bf992,_0xda483a){const _0xfe263=_0x141c1f;let _0x9537db;this[_0xfe263(0xf0)]=_0x7bf992[_0xfe263(0x138)];const _0x5e9e33=_0x7bf992[_0xfe263(0x167)]&&!_0x7bf992[_0xfe263(0x14f)],_0x1658cf=_0x5e9e33?0x0:_0x7bf992[_0xfe263(0x1ca)][_0xfe263(0x123)];if(_0xda483a[_0xfe263(0x119)](_0x87192=>{const _0x192387=_0xfe263;_0x87192[_0x192387(0x1d3)]=!0x0,_0x87192[_0x192387(0x1c9)]=_0x7bf992[_0x192387(0x14e)],_0x87192[_0x192387(0x163)]=null;}),_0x5e9e33)_0x9537db=_0xda483a,this[_0xfe263(0x1a7)](_0x9537db,_0x5e9e33);else{if(_0x7bf992[_0xfe263(0x14f)]){const _0x282a7b=this[_0xfe263(0x125)](_0x7bf992[_0xfe263(0x14f)]);this[_0xfe263(0x16c)][_0xfe263(0x1cc)][_0xfe263(0x1c4)]=-_0x282a7b[_0xfe263(0x12a)],_0x282a7b[_0xfe263(0x119)](_0x395f9d=>{const _0x3cf537=_0xfe263;_0x395f9d[_0x3cf537(0x123)]-=_0x282a7b[_0x3cf537(0x12a)],_0x395f9d[_0x3cf537(0x1c9)]=_0x7bf992[_0x3cf537(0x14e)],_0x395f9d[_0x3cf537(0x1d3)]=!0x0,_0x395f9d[_0x3cf537(0x163)]=null;}),this[_0xfe263(0x1a7)](_0x282a7b,!0x0),this[_0xfe263(0x16b)][_0xfe263(0x1c4)]=-_0x282a7b[_0xfe263(0x12a)]+this[_0xfe263(0xf0)],this[_0xfe263(0x14b)](_0x282a7b);}this[_0xfe263(0x16c)][_0xfe263(0x1cc)][_0xfe263(0x1c4)]=_0x1658cf,_0x9537db=this[_0xfe263(0x169)](_0x7bf992[_0xfe263(0x1ca)],_0x7bf992[_0xfe263(0x1de)]),await this[_0xfe263(0x178)](_0x9537db),this[_0xfe263(0x1a7)](_0x9537db,_0x5e9e33);}_0x7bf992[_0xfe263(0x19b)]&&(this[_0xfe263(0x185)][_0xfe263(0x1d1)](_0x9537db,_0x7bf992[_0xfe263(0x19b)]),this[_0xfe263(0x12e)]=_0x7bf992[_0xfe263(0x19b)]),this[_0xfe263(0x16b)][_0xfe263(0x1c4)]=_0x1658cf+this[_0xfe263(0xf0)],this[_0xfe263(0x14b)](_0x9537db),_0xda483a[_0xfe263(0x18b)](_0x2a73bd=>{const _0x21ce3b=_0xfe263,_0x6d5a3a=this[_0x21ce3b(0x1a9)](_0x2a73bd);return _0x6d5a3a&&!this[_0x21ce3b(0x196)][_0x21ce3b(0x11e)](_0x6d5a3a);})[_0xfe263(0x119)]((_0x52344f,_0x5d094f)=>{const _0x5691a4=_0xfe263;_0x52344f[_0x5691a4(0x123)]=this[_0x5691a4(0x16c)][_0x5691a4(0x1c4)]+_0x5d094f,this[_0x5691a4(0x151)](_0x52344f);}),this[_0xfe263(0x1e9)]()?(this[_0xfe263(0x1eb)]=0x0,this[_0xfe263(0x118)](!0x0),await this[_0xfe263(0x1c7)]()):(this[_0xfe263(0x1ba)]=!0x1,this[_0xfe263(0x1b3)]());}[_0x141c1f(0xf5)](_0x12e22d,_0x20b370){const _0x1b369d=_0x141c1f,_0x1a8d09=_0x20b370&&_0x20b370[_0x1b369d(0x1bb)];if(_0x1a8d09&&_0x1a8d09[_0x1b369d(0x17b)](_0x1b369d(0x130)))throw _0x20b370;const _0xce2cfc=this[_0x1b369d(0x1aa)][_0x1b369d(0x187)][_0x1b369d(0x124)](_0x525e93);throw this[_0x1b369d(0x1ba)]=!0x0,_0xce2cfc[_0x1b369d(0x108)](),this[_0x1b369d(0x1aa)][_0x1b369d(0x1a0)](_0x1b369d(0x15d)),new _0x22a0d9(_0x12e22d,this[_0x1b369d(0x1aa)],_0x1a8d09?{'originalError':_0x1a8d09}:void 0x0);}[_0x141c1f(0x151)](_0x408a11){const _0x484146=_0x141c1f;this[_0x484146(0x104)][_0x484146(0x11e)](_0x408a11)||(this[_0x484146(0x104)][_0x484146(0x1cd)](_0x408a11),this[_0x484146(0x139)][_0x484146(0x1a5)](_0x408a11),this[_0x484146(0x179)]||_0x484146(0x1c3)==_0x408a11[_0x484146(0x10a)]&&!_0x408a11[_0x484146(0x10c)]||this[_0x484146(0x11a)]());}[_0x141c1f(0x118)](_0x50eecc=!0x1){const _0x5b9167=_0x141c1f;!_0x50eecc&&this[_0x5b9167(0x1ba)]||(this[_0x5b9167(0x1ba)]=!0x0,clearTimeout(this[_0x5b9167(0x16f)]),this[_0x5b9167(0x16f)]=setTimeout(()=>{const _0x52f09a=_0x5b9167;this[_0x52f09a(0x1cf)]()[_0x52f09a(0x113)](_0x1d1ef1=>{const _0x4ad008=_0x52f09a;_0x1d1ef1&&(this[_0x4ad008(0x1b3)](),this[_0x4ad008(0x1ba)]=!0x1);})[_0x52f09a(0x148)](_0xe9b590=>{const _0x55f221=_0x52f09a;this[_0x55f221(0x1b3)](),this[_0x55f221(0x1ba)]=!0x1,function(_0x2c3b6e){const _0x4c74ac=_0x55f221;return _0x2c3b6e[_0x4c74ac(0x1bb)][_0x4c74ac(0x17b)](_0x4c74ac(0x135))||_0x2c3b6e[_0x4c74ac(0x1bb)][_0x4c74ac(0x17b)](_0x4c74ac(0x11f))||_0x2c3b6e[_0x4c74ac(0x1bb)][_0x4c74ac(0x17b)](_0x4c74ac(0x1a4));}(_0xe9b590)||this[_0x55f221(0xf5)](_0xe9b590[_0x55f221(0x1bb)],_0xe9b590);});},this[_0x5b9167(0x1eb)]));}[_0x141c1f(0x1c7)](){return new Promise(_0x1a963c=>{const _0x5be0cc=_0x473d;this['on'](_0x5be0cc(0x188),()=>{_0x1a963c();});});}async[_0x141c1f(0x1cf)](){const _0x468d45=_0x141c1f,_0x1ff24d=this[_0x468d45(0x1aa)][_0x468d45(0x187)][_0x468d45(0x124)](_0x137e7c);if(this[_0x468d45(0x1a1)]()&&(_0x1ff24d[_0x468d45(0x176)](),this[_0x468d45(0xec)]=!0x1),!this[_0x468d45(0x1e9)]())return!0x0;const _0x53ef57=[...this[_0x468d45(0x139)]];for(const _0x12e197 of _0x53ef57)_0x12e197[_0x468d45(0x198)]=this[_0x468d45(0x16c)][_0x468d45(0x1cc)][_0x468d45(0x109)](_0x12e197);const _0x5287b9=this[_0x468d45(0x185)][_0x468d45(0x15a)](_0x53ef57),_0x52befc=q++,_0x1c0b3f=this[_0x468d45(0xfa)](_0x53ef57),_0x287dd8=await this[_0x468d45(0x1dd)][_0x468d45(0x14d)](_0x1c0b3f,_0x1c0b3f[_0x468d45(0x123)],_0x5287b9);try{return await this[_0x468d45(0x1d7)](_0x53ef57,_0x287dd8,_0x52befc);}catch(_0x291bd1){return this[_0x468d45(0xf5)](_0x468d45(0x1ec),_0x291bd1);}}async[_0x141c1f(0x1d7)](_0x584d7b,_0x56ca2c,_0x415f65){const _0x6ed504=_0x141c1f;if(_0x6ed504(0x1e5)in _0x56ca2c)throw _0x56ca2c[_0x6ed504(0x1e5)];let _0x86ccda=!0x1;if(_0x56ca2c[_0x6ed504(0x167)]){_0x56ca2c[_0x6ed504(0x19b)]&&(this[_0x6ed504(0x12e)]=_0x56ca2c[_0x6ed504(0x19b)]),this[_0x6ed504(0x139)]=this[_0x6ed504(0x139)][_0x6ed504(0x18b)](_0x2e5400=>!_0x584d7b[_0x6ed504(0x127)](_0x2e5400));for(const _0x5d8804 of _0x584d7b)_0x5d8804[_0x6ed504(0x1c9)]=_0x6ed504(0x173)in _0x56ca2c&&_0x56ca2c[_0x6ed504(0x173)]||void 0x0;$(_0x584d7b,_0x56ca2c[_0x6ed504(0x1c4)]-_0x584d7b[_0x6ed504(0x12a)]),this[_0x6ed504(0x14b)](_0x584d7b);const _0x4b7487=_0x584d7b[_0x6ed504(0x18b)](_0x2e59e2=>{const _0x4650d5=_0x6ed504;if(!_0x2e59e2[_0x4650d5(0x1d3)])return!0x1;const _0x40eeff=this[_0x4650d5(0x1a9)](_0x2e59e2);return _0x40eeff&&!this[_0x4650d5(0x196)][_0x4650d5(0x11e)](_0x40eeff);});$(_0x4b7487,this[_0x6ed504(0x16c)][_0x6ed504(0x1c4)]),this[_0x6ed504(0x1a7)](_0x4b7487),_0x86ccda=!0x0,this[_0x6ed504(0x1eb)]=this[_0x6ed504(0xfb)];}else{const _0x86b854=this[_0x6ed504(0x169)](_0x56ca2c[_0x6ed504(0x1ca)],_0x56ca2c[_0x6ed504(0x1de)])[_0x6ed504(0x18b)](_0x404583=>_0x404583[_0x6ed504(0x123)]>=this[_0x6ed504(0x149)]);_0x86b854[_0x6ed504(0x119)](_0x1e1e87=>this[_0x6ed504(0x1ed)](_0x1e1e87)),this[_0x6ed504(0x139)]=this[_0x6ed504(0x139)][_0x6ed504(0x18b)](_0x2976be=>!_0x2976be[_0x6ed504(0x1d3)]||!this[_0x6ed504(0x196)][_0x6ed504(0x11e)](this[_0x6ed504(0x1a9)](_0x2976be))),this[_0x6ed504(0x139)][_0x6ed504(0x12a)]&&$(this[_0x6ed504(0x139)],this[_0x6ed504(0x139)][0x0][_0x6ed504(0x123)]),await this[_0x6ed504(0x178)](_0x86b854),_0x86ccda=this[_0x6ed504(0x184)](_0x86b854,_0x56ca2c[_0x6ed504(0x1c4)],_0x56ca2c[_0x6ed504(0x19b)]),this[_0x6ed504(0x1eb)]=Math[_0x6ed504(0x164)](this[_0x6ed504(0x1eb)]/0x2);}return _0x86ccda?!this[_0x6ed504(0x1e9)]()||(this[_0x6ed504(0x118)](!0x0),!0x1):this[_0x6ed504(0xf5)](_0x6ed504(0x1b0));}[_0x141c1f(0x184)](_0xbe2aa2,_0x53cd08,_0x24632f){const _0x1b63d6=_0x141c1f;try{const _0x4556ba={'document':this[_0x1b63d6(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3f930d,operationsB:_0x37b08e,originalOperations:_0x5c8355}=_0x28f197(_0xbe2aa2,this[_0x1b63d6(0x139)],_0x4556ba);$(_0x3f930d,this[_0x1b63d6(0x16c)][_0x1b63d6(0x1c4)]),$(_0x37b08e,_0x53cd08);for(const _0x2cbe73 of _0x3f930d){const _0x231089=_0x5c8355[_0x1b63d6(0x124)](_0x2cbe73);_0x2cbe73[_0x1b63d6(0x163)]=_0x231089?_0x231089[_0x1b63d6(0x163)]:null;}_0x24632f&&(this[_0x1b63d6(0x185)][_0x1b63d6(0x1d1)](_0xbe2aa2,_0x24632f),this[_0x1b63d6(0x12e)]=_0x24632f),this[_0x1b63d6(0x139)]=[..._0x37b08e],this[_0x1b63d6(0x1a7)](_0x3f930d),this[_0x1b63d6(0x14b)](_0xbe2aa2);}catch(_0x568f20){return console[_0x1b63d6(0x1e5)](_0x568f20),!0x1;}return!0x0;}[_0x141c1f(0x1a7)](_0x567724,_0x4832be=!0x1){const _0x1e072a=_0x141c1f;this[_0x1e072a(0x1aa)][_0x1e072a(0x11d)][_0x1e072a(0x132)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3ad2a4=>{const _0x1f014c=_0x1e072a;for(const _0x22b1c8 of _0x567724)this[_0x1f014c(0x104)][_0x1f014c(0x1cd)](_0x22b1c8),this[_0x1f014c(0x1ed)](_0x22b1c8),_0x3ad2a4[_0x1f014c(0xea)][_0x1f014c(0x102)](_0x22b1c8),this[_0x1f014c(0x1aa)][_0x1f014c(0x11d)][_0x1f014c(0x122)](_0x22b1c8);});}[_0x141c1f(0x1ed)](_0x1c0663){const _0x5bd339=_0x141c1f,_0x243ec9=this[_0x5bd339(0x1a9)](_0x1c0663);_0x243ec9&&this[_0x5bd339(0x196)][_0x5bd339(0x1cd)](_0x243ec9);}[_0x141c1f(0x1a9)](_0x478296){const _0x1da920=_0x141c1f;let _0xc31ff2,_0x194e85;switch(_0x478296[_0x1da920(0x10a)]){case _0x1da920(0x1e8):_0xc31ff2=_0x478296[_0x1da920(0xf6)][_0x1da920(0x1ab)];break;case _0x1da920(0x1c3):if(_0x194e85=_0x478296[_0x1da920(0x183)],!_0x194e85)return null;_0xc31ff2=_0x194e85[_0x1da920(0x1ab)];break;case _0x1da920(0x145):_0xc31ff2=_0x478296[_0x1da920(0x1ab)];break;case _0x1da920(0x18c):_0xc31ff2=_0x478296[_0x1da920(0xfd)];break;case _0x1da920(0x116):_0xc31ff2=_0x478296[_0x1da920(0x144)][_0x1da920(0x1ab)];break;default:return null;}return _0xc31ff2[_0x1da920(0x141)];}[_0x141c1f(0x14b)](_0x28171e){const _0x143ef8=_0x141c1f;_0x28171e[_0x143ef8(0x119)](_0x482ef6=>{const _0x3c424c=_0x143ef8,_0xe5627=_0x482ef6[_0x3c424c(0x1a6)]();_0xe5627[_0x3c424c(0x163)]=_0x482ef6[_0x3c424c(0x163)],_0xe5627[_0x3c424c(0x1d3)]=!!_0x482ef6[_0x3c424c(0x1d3)],_0xe5627[_0x3c424c(0x1c9)]=_0x482ef6[_0x3c424c(0x1c9)],_0xe5627[_0x3c424c(0x123)]+=this[_0x3c424c(0xf0)],_0x482ef6[_0x3c424c(0x1df)]&&this[_0x3c424c(0xff)][_0x3c424c(0x1cd)](_0xe5627),this[_0x3c424c(0x16b)][_0x3c424c(0x102)](_0xe5627);});}[_0x141c1f(0x1d2)](_0x195043){const _0x586ba0=_0x141c1f,_0x34e458=this[_0x586ba0(0x1aa)][_0x586ba0(0x187)][_0x586ba0(0x124)](_0x586ba0(0x13c)),_0x2aec93=this[_0x586ba0(0x1aa)][_0x586ba0(0x1d5)];_0x195043||(_0x195043=_0x30d5b9(_0x2aec93,_0x586ba0(0xfc))),_0x34e458[_0x586ba0(0x1ae)](_0x195043,{'title':_0x30d5b9(_0x2aec93,_0x586ba0(0x19d)),'namespace':_0x586ba0(0xf2)}),this[_0x586ba0(0xef)]=!0x0,clearTimeout(this[_0x586ba0(0x16f)]),this[_0x586ba0(0x139)]=[],this[_0x586ba0(0x1aa)][_0x586ba0(0x187)][_0x586ba0(0x124)](_0x525e93)[_0x586ba0(0x108)]();}[_0x141c1f(0x11a)](){const _0x28b20e=_0x141c1f;this[_0x28b20e(0x179)]||(this[_0x28b20e(0x179)]=this[_0x28b20e(0x1aa)][_0x28b20e(0x187)][_0x28b20e(0x124)](_0x2d2a98)[_0x28b20e(0x1cd)](_0x30d5b9(this[_0x28b20e(0x1aa)][_0x28b20e(0x1d5)],_0x28b20e(0x1e7))));}[_0x141c1f(0x1b3)](){const _0x4377d1=_0x141c1f;this[_0x4377d1(0x179)]&&(this[_0x4377d1(0x1aa)][_0x4377d1(0x187)][_0x4377d1(0x124)](_0x2d2a98)[_0x4377d1(0x195)](this[_0x4377d1(0x179)]),this[_0x4377d1(0x179)]=null);}[_0x141c1f(0xfa)](_0x42d2ae){const _0x5f39af=_0x141c1f,_0x4e317b=_0x42d2ae[_0x5f39af(0x1be)](_0x235a7f=>_0x235a7f[_0x5f39af(0x107)]());return this[_0x5f39af(0x16e)][_0x5f39af(0x1d9)](_0x4e317b);}[_0x141c1f(0x169)](_0x4784a0,_0x3f1404){const _0x4bcd96=_0x141c1f;return this[_0x4bcd96(0x16e)][_0x4bcd96(0x17e)](_0x4784a0)[_0x4bcd96(0x1be)]((_0x12028d,_0x545230)=>{const _0x767384=_0x4bcd96,_0x2884d5=_0x767384(0x110)==_0x3f1404[_0x545230][_0x767384(0x10a)];if(_0x767384(0x10d)==_0x12028d[_0x767384(0x1c6)]){const _0x5d2ff1=_0x12028d[_0x767384(0xf6)][_0x767384(0x1ab)];!this[_0x767384(0x16c)][_0x767384(0x1ea)](_0x5d2ff1)&&(this[_0x767384(0x16c)][_0x767384(0xee)](_0x767384(0x1a8),_0x5d2ff1)[_0x767384(0x13e)]=!0x1);}const _0x477202=_0x7e0226[_0x767384(0x12b)](_0x12028d,this[_0x767384(0x16c)]);return _0x477202[_0x767384(0x198)]=_0x12028d[_0x767384(0x198)],_0x477202[_0x767384(0x1d3)]=_0x2884d5,_0x477202[_0x767384(0x163)]=_0x2884d5?null:_0x3f1404[_0x545230][_0x767384(0x17c)],_0x477202[_0x767384(0x1df)]=_0x767384(0x17a)===_0x3f1404[_0x545230][_0x767384(0x10a)],_0x477202[_0x767384(0x1c9)]=_0x3f1404[_0x545230][_0x767384(0x1c9)],_0x477202;});}[_0x141c1f(0x156)](){const _0x19d7ec=_0x141c1f;this[_0x19d7ec(0xec)]=!0x0,this[_0x19d7ec(0x1a1)]()?this[_0x19d7ec(0x118)]():this[_0x19d7ec(0xec)]=!0x1;}[_0x141c1f(0x1a1)](){const _0x169fd2=_0x141c1f,_0x9e31d0=this[_0x169fd2(0x1aa)][_0x169fd2(0x187)][_0x169fd2(0x124)](_0x44a0d6)[_0x169fd2(0xf8)][_0x169fd2(0x124)](this[_0x169fd2(0x162)]);return!this[_0x169fd2(0x1aa)][_0x169fd2(0x152)]&&!!_0x9e31d0&&_0x9e31d0[_0x169fd2(0x12a)]>0x1&&this[_0x169fd2(0xec)];}[_0x141c1f(0x1e9)](){const _0x5e0bca=_0x141c1f;return this[_0x5e0bca(0x139)][_0x5e0bca(0x12a)]>0x0||this[_0x5e0bca(0x1a1)]();}}class G extends Error{}function $(_0x4bc94a,_0x4f117d){const _0x211854=_0x141c1f;for(const _0x33bc29 of _0x4bc94a)_0x33bc29[_0x211854(0x123)]=_0x4f117d++;}class K{[_0x141c1f(0x177)];[_0x141c1f(0x1dc)];constructor(_0x5b6988){const _0x35828d=_0x141c1f;this[_0x35828d(0x177)]=_0x5b6988,this[_0x35828d(0x1dc)]=new WeakMap();}[_0x141c1f(0x15a)](_0x920896){const _0x261738=_0x141c1f;let _0x5e4c32=_0x920896[_0x261738(0x12a)];for(;_0x5e4c32--;){const _0x25a384=_0x920896[_0x5e4c32];if(!this[_0x261738(0x177)][_0x261738(0x11e)](_0x25a384)){if(!this[_0x261738(0x1dc)][_0x261738(0x11e)](_0x25a384)){const _0x22992c=_0xf1e7a9()[_0x261738(0x14a)](0x1,0x12);this[_0x261738(0x1dc)][_0x261738(0x137)](_0x25a384,_0x22992c);}return this[_0x261738(0x1dc)][_0x261738(0x124)](_0x25a384);}}}[_0x141c1f(0x1d1)](_0x409ab2,_0x10201b){const _0x94dc6f=_0x141c1f;if(!_0x10201b)return;let _0x36030a=_0x409ab2[_0x94dc6f(0x12a)];for(;_0x36030a--;){const _0x14d718=_0x409ab2[_0x36030a];this[_0x94dc6f(0x177)][_0x94dc6f(0x11e)](_0x14d718)||this[_0x94dc6f(0x1dc)][_0x94dc6f(0x137)](_0x14d718,_0x10201b);}}}
23
+ const _0x505943=_0x2673;(function(_0x333f10,_0x3c5109){const _0x45e6b6=_0x2673,_0x5f4a1f=_0x333f10();while(!![]){try{const _0x2013e2=-parseInt(_0x45e6b6(0x2d4))/0x1+parseInt(_0x45e6b6(0x204))/0x2+parseInt(_0x45e6b6(0x209))/0x3*(parseInt(_0x45e6b6(0x280))/0x4)+-parseInt(_0x45e6b6(0x1d9))/0x5*(-parseInt(_0x45e6b6(0x278))/0x6)+parseInt(_0x45e6b6(0x22a))/0x7+-parseInt(_0x45e6b6(0x224))/0x8*(-parseInt(_0x45e6b6(0x296))/0x9)+-parseInt(_0x45e6b6(0x282))/0xa*(parseInt(_0x45e6b6(0x250))/0xb);if(_0x2013e2===_0x3c5109)break;else _0x5f4a1f['push'](_0x5f4a1f['shift']());}catch(_0x1b4644){_0x5f4a1f['push'](_0x5f4a1f['shift']());}}}(_0x12c1,0xf251b));import{Plugin as _0x1a4335,PendingActions as _0x1a4c78}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c76e3,version as _0x5a8c68,uid as _0x2cc8bc}from'ckeditor5/src/utils.js';import{Notification as _0x25ab24}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x39265c,NoOperation as _0x507943,InsertOperation as _0x1ee6a8,MarkerOperation as _0x2a5813,RootAttributeOperation as _0xe66668,OperationFactory as _0x3fd96c,History as _0x1f7d08}from'ckeditor5/src/engine.js';function _0x12c1(){const _0x36eb22=['isDocumentOperation','realtimecollaborationclient','_handleReconnectionError','fromJSON','_initThrowingOnDataSet','set','directChange','lastOperationAcceptedAt','from','affectedSelectable','_disconnectService','_waitUntilSynced','has','_lastSyncedOperationId','CollaborativeEditingService','serverHistory','_connectAfterSessionHasBeenFlushed','disconnect','1786450bLAEXZ','_applyOperationsSet','getDocumentDetails','off','fire','30nPTiKL','isReadOnly','_channelId','userId','type','suppressErrorInCollaboration','size','collaboration','PENDING_ACTION_SENDING_DATA','createUserMarkerOperations','addRootAttribute','newRange','clone','disconnected','_isAttached','Synchronization\x20issue','string','multi-root-editor-root-attributes-no-root','sessionAdd:','createPositionAt','getConnectedSessions','view','real-time-collaboration','connection','startsWith','_isConnected','finally','99808wFcaef','_compressOperations','addUser','enableReadOnlyMode','addRoot','parse','4671450mLEBgB','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createdAt','initData','createPositionFromPath','_disconnectionOperations','reconnection:\x20flushed\x20session','rtc-offline','_decompressOperations','realtimecollaborationclient-init-session-connection-error','document:write','_compressor','_handleReceivedOperations','_currentBufferDelay','_pendingAction','realtimecollaborationclient-init-service-incorrect-server-operation','remove','_getAffectedRoot','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.','Permissions','_connectService','rtc-destroyed','change:_isPendingUpdate','forEach','wereChangesApplied','disableReadOnlyMode','mySessionId','editing','getOperations','_loadRoot','setIdForTheLastOperation','_addKnownRoot','_knownRootNames','stopListening','getRoot','404','_isInit','getIdOfTheLastOperation','11qaeCGe','affectsData','$root','_setUpDataInit','differ','applyOperation','_operationIdentifier','cloudServices.bundleVersion','_service','stop','change:hasDomSelection','reconnect','rootsAttributes','slice','roots','isPremiumPlugin','history','CommentsOnly','_knownOperations','_saveOperationInBuffer','realtimecollaborationclient-init-service-internal-error','wasUndone','round','_updateServerHistory','ready','_handleReconnectionResponse','_isLoaded','editor','InsertOperation','_sendBufferedOperationsDelayId','_baseBufferDelay','metadata','sessionCreatedAt','_hasSynchronizationProblem','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connect','batch','init','keys','root','6pyLAqE','push','isOfficialPlugin','realtimecollaborationclient-init-non-existent-root','marker','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','map','sessionId','543016xrpePo','start','19250520yFVVMW','_handleServerResponse','_isPendingUpdate','code','_handleExternalOperations','sendOperations','channelSessions','getOperationAuthor','position','realtimecollaborationclient-error','lastSyncVersion','change:range','_isDisconnection','filter','setPermissions','catch','409','_bufferedOperations','lastDocumentSession','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','45ztKKCy','_document','move','getUser','_authorId','cloudDocumentVersion','_handleInitialConnectionData','error','getMany','_sendBufferedOperations','high','cs:removeUser','_isEditingAllowed','data','insert','collaboration-missing-channelid','_shouldSendSelectionUpdate','selection','_hasSelectionChanged','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.','_operationToId','showWarning','add','addOperation','isEnabled','config','_lastServerVersion','length','define','_bufferRootLoad','reset','isUndoneOperation','compress','loadRoot','_sendBufferedOperationsDelayed','version','_initSessionsHandling','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','baseVersion','entries','model','bind','register','createRange','includes','toJSON','enqueueChange','document','_fetchMissingUsers','markers','_shouldSendUpdate','RealTimeCollaborationClient','Notification','state','createRoot','pluginName','plugins','currentDocumentSession','apply','removeFromReconnectionStack','end','772507CJPWDW','_ignoredOperations','realtimecollaborationclient-sendbufferedoperations','unregister','connected','get','cloud-services-internal-error:\x20Not\x20connected.','path','requires','then','targetPosition','realtimecollaborationclient-init-document-already-initialized','3548015VqEKQG','realtimecollaborationclient-init-connection-failed','locale','_refreshUserSelectionMarkers','__className','listenTo','_setPendingAction','rootName','destroy','message','_handleSendingSelectionMarkers','_offset','_clearPendingAction','operationsReceived','addToReconnectionStack','attributes','realtimecollaborationclient-handleserverresponse','return','_getOperationsFromInitData','lastOperationId','offset','change:_isEditingAllowed','permissions','_crash','decompress'];_0x12c1=function(){return _0x36eb22;};return _0x12c1();}import{WebSocketGateway as _0x2642bf}from'./websocketgateway.js';function _0x2673(_0x1f2db1,_0x48c905){const _0x12c191=_0x12c1();return _0x2673=function(_0x2673a1,_0x2bb1ee){_0x2673a1=_0x2673a1-0x1d7;let _0x1545f7=_0x12c191[_0x2673a1];return _0x1545f7;},_0x2673(_0x1f2db1,_0x48c905);}import{Sessions as _0x52f8ac}from'./sessions.js';import{UserMarkers as _0x20e009}from'./usermarkers.js';import{getTranslation as _0x461b5b}from'../common-translations.js';import{Compressor as _0x3e0cbe}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x21098e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5f0e5c,CollaborativeEditingService as _0x28d6ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;export class RealTimeCollaborationClient extends _0x1a4335{static [_0x505943(0x200)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x28d6ce)());[_0x505943(0x1e4)];[_0x505943(0x27f)];[_0x505943(0x201)];[_0x505943(0x20b)];[_0x505943(0x258)];[_0x505943(0x297)];[_0x505943(0x235)];[_0x505943(0x293)];[_0x505943(0x262)];[_0x505943(0x24a)];[_0x505943(0x238)];[_0x505943(0x2a8)];[_0x505943(0x26d)];[_0x505943(0x26e)];[_0x505943(0x237)];[_0x505943(0x1ff)];[_0x505943(0x22f)];[_0x505943(0x256)];static get[_0x505943(0x2dc)](){return[_0x2642bf,_0x52f8ac,_0x20e009,_0x1a4c78,_0x21098e,_0x25ab24];}static get[_0x505943(0x2ce)](){const _0x5152a7=_0x505943;return _0x5152a7(0x2ca);}static get[_0x505943(0x27a)](){return!0x0;}static get[_0x505943(0x25f)](){return!0x0;}get[_0x505943(0x29b)](){const _0x4777e5=_0x505943;return this[_0x4777e5(0x2b0)]+this[_0x4777e5(0x1e4)];}get[_0x505943(0x2b0)](){const _0x16dbf6=_0x505943;return this[_0x16dbf6(0x201)][_0x16dbf6(0x2b9)]-this[_0x16dbf6(0x1e4)];}get[_0x505943(0x28c)](){const _0x5ad13a=_0x505943,_0x290b7f=this[_0x5ad13a(0x201)][_0x5ad13a(0x246)]();for(let _0x539b6f=_0x290b7f[_0x5ad13a(0x2b1)]-0x1;_0x539b6f>=0x0;_0x539b6f--){const _0x396405=_0x290b7f[_0x539b6f];if(!this[_0x5ad13a(0x22f)][_0x5ad13a(0x1fe)](_0x396405))return _0x396405[_0x5ad13a(0x2bd)]+0x1-this[_0x5ad13a(0x1e4)];}return 0x0;}constructor(_0x2b604d){const _0x220c76=_0x505943;if(super(_0x2b604d),this[_0x220c76(0x1e4)]=0x0,this[_0x220c76(0x27f)]=null,this[_0x220c76(0x201)]=new _0x1f7d08(),this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2b2)](_0x220c76(0x210),{}),this[_0x220c76(0x20b)]=this[_0x220c76(0x26b)][_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x2bc)),!this[_0x220c76(0x20b)])throw new _0x1c76e3(_0x220c76(0x2a5),this);const _0x52aedc=_0x2b604d[_0x220c76(0x2af)][_0x220c76(0x2d9)](_0x220c76(0x257))||_0x5a8c68;this[_0x220c76(0x258)]=new RealTimeCollaborationClient[(_0x220c76(0x200))](_0x52aedc,this[_0x220c76(0x20b)]),this[_0x220c76(0x297)]=this[_0x220c76(0x26b)][_0x220c76(0x2bf)][_0x220c76(0x2c6)],this[_0x220c76(0x235)]=new _0x3e0cbe(),this[_0x220c76(0x293)]=[],this[_0x220c76(0x262)]=new WeakSet(),this[_0x220c76(0x24a)]=new Set(),this[_0x220c76(0x1f7)](_0x220c76(0x284),!0x1),this[_0x220c76(0x1f7)](_0x220c76(0x271),!0x1),this[_0x220c76(0x238)]=null,this[_0x220c76(0x2a8)]=!0x1,this[_0x220c76(0x26d)]=null,this[_0x220c76(0x26e)]=0x12c,this[_0x220c76(0x237)]=this[_0x220c76(0x26e)],this[_0x220c76(0x1ff)]=null,this[_0x220c76(0x22f)]=new WeakSet(),this[_0x220c76(0x256)]=new U(this[_0x220c76(0x22f)]);}[_0x505943(0x275)](){const _0x58846a=_0x505943,_0xa31efc=this[_0x58846a(0x26b)],_0x5d46ce=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x21098e),_0x292714=_0xa31efc[_0x58846a(0x2cf)][_0x58846a(0x2d9)](_0x2642bf);this[_0x58846a(0x1de)](_0x5d46ce,_0x58846a(0x289),(_0xba2bc5,_0x4a85ac)=>{const _0x5baf5b=_0x58846a,_0x1d0a28=_0x4a85ac[0x0];_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=_0x5d46ce[_0x5baf5b(0x299)](_0x1d0a28[_0x5baf5b(0x29a)]),_0xba2bc5[_0x5baf5b(0x259)]()),null===_0x1d0a28[_0x5baf5b(0x29a)]&&(_0xba2bc5[_0x5baf5b(0x1ea)]=null,_0xba2bc5[_0x5baf5b(0x259)]());},{'priority':_0x58846a(0x2a0)}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x2bf)][_0x58846a(0x2c6)][_0x58846a(0x2a7)],_0x58846a(0x28d),(_0x228414,_0x3663dd)=>{const _0x4001ea=_0x58846a;_0x3663dd[_0x4001ea(0x1f8)]&&this[_0x4001ea(0x1dc)]();}),this[_0x58846a(0x1de)](_0xa31efc[_0x58846a(0x245)][_0x58846a(0x21e)],_0x58846a(0x25a),()=>{const _0x3afc93=_0x58846a;this[_0x3afc93(0x1dc)]();}),this[_0x58846a(0x1f6)](),_0xa31efc[_0x58846a(0x2bf)]['on'](_0x58846a(0x255),(_0x1979d9,_0x359648)=>{const _0xf925f4=_0x58846a,_0x3c6b73=_0x359648[0x0];_0x3c6b73[_0xf925f4(0x1f2)]&&(this[_0xf925f4(0x263)](_0x3c6b73),this[_0xf925f4(0x2c9)]()&&this[_0xf925f4(0x2b8)]());}),this[_0x58846a(0x253)](),this[_0x58846a(0x2c0)](_0x58846a(0x2a2))['to'](_0x292714,_0x58846a(0x2cc),this,_0x58846a(0x271),(_0x61df9d,_0x3883bd)=>_0x58846a(0x2d8)===_0x61df9d&&!_0x3883bd),this['on'](_0x58846a(0x1ee),()=>{const _0x24d965=_0x58846a;this[_0x24d965(0x2a2)]?_0xa31efc[_0x24d965(0x243)](_0x24d965(0x231)):_0xa31efc[_0x24d965(0x227)](_0x24d965(0x231));}),this[_0x58846a(0x2a2)]?_0xa31efc[_0x58846a(0x243)](_0x58846a(0x231)):_0xa31efc[_0x58846a(0x227)](_0x58846a(0x231)),this[_0x58846a(0x1f7)](_0x58846a(0x222),!0x1);}async[_0x505943(0x25b)](){const _0x23e99a=_0x505943,_0x3142b6=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x52f8ac),_0x93ede9=this[_0x23e99a(0x26b)][_0x23e99a(0x2cf)][_0x23e99a(0x2d9)](_0x2642bf);try{this[_0x23e99a(0x284)]=!0x0,_0x3142b6[_0x23e99a(0x2d7)](this[_0x23e99a(0x20b)]);const _0xf10563=await this[_0x23e99a(0x258)][_0x23e99a(0x25b)](_0x93ede9[_0x23e99a(0x220)],this[_0x23e99a(0x28c)]);await this[_0x23e99a(0x269)](_0xf10563)&&(this[_0x23e99a(0x284)]=!0x1,this[_0x23e99a(0x1e5)]());const _0x43058d=await this[_0x23e99a(0x258)][_0x23e99a(0x21d)]();_0x3142b6[_0x23e99a(0x2c1)](this[_0x23e99a(0x20b)],_0x43058d),this[_0x23e99a(0x1e3)](),this[_0x23e99a(0x222)]=!0x0;}catch(_0x4b09a2){if(function(_0x299417){const _0x556377=_0x23e99a;return _0x556377(0x24d)===_0x299417[_0x556377(0x285)];}(_0x4b09a2)&&this[_0x23e99a(0x27f)])await this[_0x23e99a(0x202)]();else{if(function(_0x5327b5){const _0xf4ba96=_0x23e99a;return _0xf4ba96(0x292)===_0x5327b5[_0xf4ba96(0x285)];}(_0x4b09a2)){const _0x3b260f=_0x461b5b(this[_0x23e99a(0x26b)][_0x23e99a(0x1db)],_0x23e99a(0x272));this[_0x23e99a(0x1f4)](_0x3b260f);}else{if(!(_0x4b09a2 instanceof D))throw _0x4b09a2;this[_0x23e99a(0x1f4)]();}}}}[_0x505943(0x1e1)](){const _0x4550bc=_0x505943,_0x9afe96=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x2642bf),_0x23aee9=this[_0x4550bc(0x26b)][_0x4550bc(0x2cf)][_0x4550bc(0x2d9)](_0x52f8ac);this[_0x4550bc(0x26b)][_0x4550bc(0x227)](_0x4550bc(0x23f)),_0x23aee9[_0x4550bc(0x288)][_0x4550bc(0x1fe)](this[_0x4550bc(0x20b)])&&_0x23aee9[_0x4550bc(0x2d7)](this[_0x4550bc(0x20b)]),_0x9afe96[_0x4550bc(0x2d2)](this),this[_0x4550bc(0x1fc)](),super[_0x4550bc(0x1e1)]();}async[_0x505943(0x269)](_0x3a47d8){const _0x5d6809=_0x505943;if(this[_0x5d6809(0x27f)]!==_0x3a47d8[_0x5d6809(0x27f)]&&this[_0x5d6809(0x1ff)]!==_0x3a47d8[_0x5d6809(0x1ec)])throw new D();return this[_0x5d6809(0x27f)]=_0x3a47d8[_0x5d6809(0x27f)],this[_0x5d6809(0x283)]([],{..._0x3a47d8,'wereChangesApplied':!0x1,'data':_0x3a47d8[_0x5d6809(0x2a3)]},_0x5d6809(0x25b));}async[_0x505943(0x23e)](_0x33b1b5,_0x54b02d=!0x1){const _0x3a9682=_0x505943,{connection:_0x576868}=this[_0x3a9682(0x26b)][_0x3a9682(0x2cf)][_0x3a9682(0x2d9)](_0x2642bf);RealTimeCollaborationClient[_0x3a9682(0x200)][_0x3a9682(0x21d)](_0x576868,this[_0x3a9682(0x20b)])[_0x3a9682(0x2dd)](_0x311add=>this[_0x3a9682(0x2ba)](_0x311add))[_0x3a9682(0x291)](_0x12b763=>{const _0x47e82a=_0x3a9682;this[_0x47e82a(0x1f0)](_0x47e82a(0x233),_0x12b763);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x1e6),this[_0x3a9682(0x236)][_0x3a9682(0x2c0)](this)),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x29d),(_0x181dd1,_0x4f1273)=>{const _0x215aa3=_0x3a9682;this[_0x215aa3(0x1f0)](_0x215aa3(0x264),_0x4f1273);}),this[_0x3a9682(0x1de)](this[_0x3a9682(0x258)],_0x3a9682(0x216),()=>{const _0x18641d=_0x3a9682;this[_0x18641d(0x222)]=!0x1;});const _0x591c7d=this[_0x3a9682(0x256)][_0x3a9682(0x24f)](_0x33b1b5);this[_0x3a9682(0x284)]=!0x0;const _0x171138=await this[_0x3a9682(0x258)][_0x3a9682(0x273)](_0x576868,this[_0x3a9682(0x225)](_0x33b1b5),_0x591c7d);if(this[_0x3a9682(0x27f)]=_0x171138[_0x3a9682(0x27f)],_0x54b02d){if(!_0x171138[_0x3a9682(0x242)])return void this[_0x3a9682(0x1f4)]();this[_0x3a9682(0x284)]=!0x1,this[_0x3a9682(0x1e5)](),this[_0x3a9682(0x201)][_0x3a9682(0x2b4)](),this[_0x3a9682(0x1e4)]=_0x171138[_0x3a9682(0x1ed)],this[_0x3a9682(0x201)][_0x3a9682(0x2b9)]=this[_0x3a9682(0x1e4)],await this[_0x3a9682(0x283)](_0x33b1b5,_0x171138,_0x3a9682(0x230));}else await this[_0x3a9682(0x29c)](_0x171138,_0x33b1b5);this[_0x3a9682(0x1e3)](),this[_0x3a9682(0x222)]=!0x0;}[_0x505943(0x1e3)](){const _0x5ce75d=_0x505943,_0xa09822=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x52f8ac),_0x276faa=this[_0x5ce75d(0x26b)][_0x5ce75d(0x2cf)][_0x5ce75d(0x2d9)](_0x20e009),_0x13d1cf=_0xa09822[_0x5ce75d(0x288)][_0x5ce75d(0x2d9)](this[_0x5ce75d(0x20b)]);_0x13d1cf&&_0x13d1cf[_0x5ce75d(0x2b1)]>0x1?_0x276faa[_0x5ce75d(0x212)]():this[_0x5ce75d(0x1de)](_0xa09822,_0x5ce75d(0x21b)+this[_0x5ce75d(0x20b)],()=>{const _0x38f848=_0x5ce75d;0x2===_0xa09822[_0x38f848(0x288)][_0x38f848(0x2d9)](this[_0x38f848(0x20b)])[_0x38f848(0x2b1)]&&_0x276faa[_0x38f848(0x212)]();});}async[_0x505943(0x236)](_0x32f4ba,_0x461927,_0x397403,_0x51c871){const _0x33fd92=_0x505943;if(!this[_0x33fd92(0x284)]&&this[_0x33fd92(0x297)][_0x33fd92(0x2b9)]==_0x461927){const _0x1ed78a=this[_0x33fd92(0x232)](_0x397403,_0x51c871);await this[_0x33fd92(0x2c7)](_0x1ed78a),this[_0x33fd92(0x286)](_0x1ed78a,_0x461927,_0x397403[_0x33fd92(0x1ec)])||this[_0x33fd92(0x1f0)](_0x33fd92(0x239));}}async[_0x505943(0x202)](){const _0x1a8d55=_0x505943;this[_0x1a8d55(0x1fc)]();const {locale:_0x43bbd1}=this[_0x1a8d55(0x26b)];let _0x5578af;try{_0x5578af=await this[_0x1a8d55(0x258)][_0x1a8d55(0x206)]();}catch{const _0x4437bb=_0x461b5b(_0x43bbd1,_0x1a8d55(0x295));return void this[_0x1a8d55(0x1f4)](_0x4437bb);}const _0xf9d932=_0x5578af[_0x1a8d55(0x2d0)]||_0x5578af[_0x1a8d55(0x294)];if(this[_0x1a8d55(0x1ff)]!==_0xf9d932[_0x1a8d55(0x1ec)]){const _0x1c585a=_0x461b5b(_0x43bbd1,_0x1a8d55(0x2a9));return void this[_0x1a8d55(0x1f4)](_0x1c585a);}await this[_0x1a8d55(0x23e)](this[_0x1a8d55(0x26b)][_0x1a8d55(0x2bf)][_0x1a8d55(0x2c6)][_0x1a8d55(0x260)][_0x1a8d55(0x246)](),!0x0);}[_0x505943(0x1fc)](){const _0x1e3a1c=_0x505943;this[_0x1e3a1c(0x258)][_0x1e3a1c(0x203)](),this[_0x1e3a1c(0x293)]=[],clearTimeout(this[_0x1e3a1c(0x26d)]),this[_0x1e3a1c(0x24b)](this[_0x1e3a1c(0x258)]);}[_0x505943(0x2ba)](_0x1cceb4){const _0x15acc6=_0x505943,_0x3d4198=this[_0x15acc6(0x26b)][_0x15acc6(0x2cf)][_0x15acc6(0x2d9)](_0x52f8ac);this[_0x15acc6(0x1de)](_0x3d4198,_0x15acc6(0x21b)+this[_0x15acc6(0x20b)],(_0x400093,{session:_0x59f6ac})=>{const _0x152676=_0x15acc6;if(_0x59f6ac['id']===_0x3d4198[_0x152676(0x244)]){_0x400093[_0x152676(0x207)]();const _0x111ba3=this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x1fe)](_0x152676(0x261))&&this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x261));let _0x352c7f=_0x59f6ac[_0x152676(0x1ef)];_0x111ba3&&_0x111ba3[_0x152676(0x2ae)]&&(_0x352c7f=_0x352c7f[_0x152676(0x28f)](_0x28f471=>_0x152676(0x234)!==_0x28f471)),this[_0x152676(0x26b)][_0x152676(0x2cf)][_0x152676(0x2d9)](_0x152676(0x23d))[_0x152676(0x290)](_0x352c7f,this[_0x152676(0x20b)]);}}),_0x3d4198[_0x15acc6(0x2c1)](this[_0x15acc6(0x20b)],_0x1cceb4);}[_0x505943(0x1f6)](){const _0x50c1b1=_0x505943,_0x1000c5=this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)];this[_0x50c1b1(0x26b)][_0x50c1b1(0x2a3)][_0x50c1b1(0x1f7)]=(..._0x4c68d6)=>{const _0x2bc855=_0x50c1b1;if(!_0x4c68d6[_0x4c68d6[_0x2bc855(0x2b1)]-0x1][_0x2bc855(0x20e)])throw new _0x1c76e3(_0x2bc855(0x27d),this);_0x1000c5[_0x2bc855(0x2d1)](this[_0x2bc855(0x26b)][_0x2bc855(0x2a3)],_0x4c68d6);};}[_0x505943(0x253)](){const _0x5ae876=_0x505943;this[_0x5ae876(0x26b)][_0x5ae876(0x2a3)]['on'](_0x5ae876(0x275),(_0x499775,[_0x26d0ad])=>{const _0x4dcba0=_0x5ae876;if(this[_0x4dcba0(0x297)][_0x4dcba0(0x2b9)])throw new _0x1c76e3(_0x4dcba0(0x1d8),this);_0x499775[_0x4dcba0(0x259)](),this[_0x4dcba0(0x1df)]();const _0x4edf79=this[_0x4dcba0(0x26b)][_0x4dcba0(0x2af)][_0x4dcba0(0x2d9)](_0x4dcba0(0x25c)),_0x1e61bd=this[_0x4dcba0(0x1eb)](_0x26d0ad,_0x4edf79);0x0==_0x1e61bd[_0x4dcba0(0x2b1)]&&_0x1e61bd[_0x4dcba0(0x279)](new _0x507943(0x0)),_0x499775[_0x4dcba0(0x1ea)]=this[_0x4dcba0(0x23e)](_0x1e61bd)[_0x4dcba0(0x2dd)](()=>{const _0x53fb38=_0x4dcba0;this[_0x53fb38(0x26b)][_0x53fb38(0x2cf)][_0x53fb38(0x2d9)](_0x2642bf)[_0x53fb38(0x1e7)](this),this[_0x53fb38(0x26b)][_0x53fb38(0x2a3)][_0x53fb38(0x208)](_0x53fb38(0x268));})[_0x4dcba0(0x291)](_0x584655=>this[_0x4dcba0(0x1f0)](_0x4dcba0(0x1da),_0x584655))[_0x4dcba0(0x223)](()=>this[_0x4dcba0(0x1e5)]());},{'priority':_0x5ae876(0x2a0)}),this[_0x5ae876(0x26b)]['on'](_0x5ae876(0x2b7),async(_0x20cfed,[_0x53fd7b,_0xa1f3ff])=>{const _0x12a11b=_0x5ae876;_0x20cfed[_0x12a11b(0x259)]();const _0x51245a=this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c6)][_0x12a11b(0x24c)](_0x53fd7b);if(!this[_0x12a11b(0x24a)][_0x12a11b(0x1fe)](_0x53fd7b)){const _0x3b306e=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x2a3)]?_0xa1f3ff[_0x12a11b(0x2a3)]:'',_0x3aad0d=_0xa1f3ff&&_0xa1f3ff[_0x12a11b(0x1e8)]?_0xa1f3ff[_0x12a11b(0x1e8)]:{};await this[_0x12a11b(0x247)](_0x53fd7b,_0x3b306e,_0x3aad0d);}this[_0x12a11b(0x26b)][_0x12a11b(0x2bf)][_0x12a11b(0x2c5)]({'isUndoable':!0x1},()=>{const _0x5a6dbd=_0x12a11b;_0x51245a[_0x5a6dbd(0x26a)]=!0x0,this[_0x5a6dbd(0x26b)][_0x5a6dbd(0x2bf)][_0x5a6dbd(0x2c6)][_0x5a6dbd(0x254)][_0x5a6dbd(0x2b3)](_0x51245a);});},{'priority':_0x5ae876(0x2a0)});}async[_0x505943(0x2c7)](_0x4fa5c8){const _0x4c3912=_0x505943,_0x5d2e6f=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x21098e),{connection:_0x4499a5}=this[_0x4c3912(0x26b)][_0x4c3912(0x2cf)][_0x4c3912(0x2d9)](_0x2642bf),_0x53dfa6=new Set();for(const _0x4e68e6 of _0x4fa5c8){const _0x1569a9=_0x4e68e6[_0x4c3912(0x29a)];_0x1569a9&&!_0x5d2e6f[_0x4c3912(0x299)](_0x1569a9)&&_0x53dfa6[_0x4c3912(0x2ac)](_0x1569a9);}if(0x0===_0x53dfa6[_0x4c3912(0x20f)])return;const _0x3227a6=await _0x5f0e5c[_0x4c3912(0x29e)](_0x4499a5,Array[_0x4c3912(0x1fa)](_0x53dfa6));for(const _0x585a0b of _0x3227a6)_0x5d2e6f[_0x4c3912(0x299)](_0x585a0b['id'])||_0x5d2e6f[_0x4c3912(0x226)](_0x585a0b);}[_0x505943(0x1eb)](_0x8d0ae1,_0x5a1e46={}){const _0x57f113=_0x505943,_0x239783=this[_0x57f113(0x26b)][_0x57f113(0x2bf)],_0x5e6e5d=[];let _0x31eb27=0x0;const _0x5bdc58=_0x57f113(0x219)==typeof _0x8d0ae1?{'main':_0x8d0ae1}:_0x8d0ae1;for(const _0x2c1f04 of Object[_0x57f113(0x276)](_0x5bdc58)){if(!this[_0x57f113(0x297)][_0x57f113(0x25e)][_0x57f113(0x1fe)](_0x2c1f04))throw new _0x1c76e3(_0x57f113(0x27b),this);const _0x104cbb=this[_0x57f113(0x26b)][_0x57f113(0x2a3)][_0x57f113(0x229)](_0x5bdc58[_0x2c1f04]),_0x3aec39=this[_0x57f113(0x297)][_0x57f113(0x24c)](_0x2c1f04),_0x3bc031=new _0x1ee6a8(_0x239783[_0x57f113(0x21c)](_0x3aec39,0x0),_0x104cbb,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x3bc031);for(const [_0x1c39bd,_0x51384a]of _0x104cbb[_0x57f113(0x2c8)]){const _0xf57a52=_0x239783[_0x57f113(0x2c2)](_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x281)][_0x57f113(0x2db)][_0x57f113(0x25d)]()),_0x239783[_0x57f113(0x22e)](_0x3aec39,_0x51384a[_0x57f113(0x2d3)][_0x57f113(0x2db)][_0x57f113(0x25d)]())),_0x371198=new _0x2a5813(_0x1c39bd,null,_0xf57a52,_0x239783[_0x57f113(0x2c8)],!0x0,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x371198);}}if(_0x5a1e46)for(const [_0x50c886,_0x5931c3]of Object[_0x57f113(0x2be)](_0x5a1e46)){const _0x2ae036=_0x239783[_0x57f113(0x2c6)][_0x57f113(0x24c)](_0x50c886);if(!_0x2ae036)throw new _0x1c76e3(_0x57f113(0x21a),null);for(const [_0x5d2d72,_0x142146]of Object[_0x57f113(0x2be)](_0x5931c3))if(null!==_0x142146){const _0x192af5=new _0xe66668(_0x2ae036,_0x5d2d72,null,_0x142146,_0x31eb27++);_0x5e6e5d[_0x57f113(0x279)](_0x192af5);}}return _0x5e6e5d;}async[_0x505943(0x247)](_0x3e202b,_0x1d9617,_0x3340e4){const _0x39b48a=_0x505943;this[_0x39b48a(0x1eb)]({[_0x3e202b]:_0x1d9617},{[_0x3e202b]:_0x3340e4})[_0x39b48a(0x241)]((_0x164bc2,_0x4c705c)=>{const _0x516fd3=_0x39b48a;_0x164bc2[_0x516fd3(0x2bd)]=this[_0x516fd3(0x297)][_0x516fd3(0x2b9)]+_0x4c705c,_0x164bc2[_0x516fd3(0x24e)]=!0x0,this[_0x516fd3(0x263)](_0x164bc2);}),this[_0x39b48a(0x2b8)](),await this[_0x39b48a(0x1fd)]();}async[_0x505943(0x29c)](_0x5622ec,_0x40e374){const _0x4a6f40=_0x505943;let _0x29deb9;this[_0x4a6f40(0x1e4)]=_0x5622ec[_0x4a6f40(0x1ed)];const _0x4d2294=_0x5622ec[_0x4a6f40(0x242)]&&!_0x5622ec[_0x4a6f40(0x22d)],_0x2fa021=_0x4d2294?0x0:_0x5622ec[_0x4a6f40(0x2a3)][_0x4a6f40(0x2bd)];if(_0x40e374[_0x4a6f40(0x241)](_0x347fbf=>{const _0x2d8f00=_0x4a6f40;_0x347fbf[_0x2d8f00(0x24e)]=!0x0,_0x347fbf[_0x2d8f00(0x22c)]=_0x5622ec[_0x2d8f00(0x270)],_0x347fbf[_0x2d8f00(0x29a)]=null;}),_0x4d2294)_0x29deb9=_0x40e374,this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);else{if(_0x5622ec[_0x4a6f40(0x22d)]){const _0x94b2ad=this[_0x4a6f40(0x1eb)](_0x5622ec[_0x4a6f40(0x22d)]);this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)],_0x94b2ad[_0x4a6f40(0x241)](_0x3f4617=>{const _0x39de77=_0x4a6f40;_0x3f4617[_0x39de77(0x2bd)]-=_0x94b2ad[_0x39de77(0x2b1)],_0x3f4617[_0x39de77(0x22c)]=_0x5622ec[_0x39de77(0x270)],_0x3f4617[_0x39de77(0x24e)]=!0x0,_0x3f4617[_0x39de77(0x29a)]=null;}),this[_0x4a6f40(0x205)](_0x94b2ad,!0x0),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=-_0x94b2ad[_0x4a6f40(0x2b1)]+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x94b2ad);}this[_0x4a6f40(0x297)][_0x4a6f40(0x260)][_0x4a6f40(0x2b9)]=_0x2fa021,_0x29deb9=this[_0x4a6f40(0x232)](_0x5622ec[_0x4a6f40(0x2a3)],_0x5622ec[_0x4a6f40(0x26f)]),await this[_0x4a6f40(0x2c7)](_0x29deb9),this[_0x4a6f40(0x205)](_0x29deb9,_0x4d2294);}_0x5622ec[_0x4a6f40(0x1ec)]&&(this[_0x4a6f40(0x256)][_0x4a6f40(0x248)](_0x29deb9,_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x1ff)]=_0x5622ec[_0x4a6f40(0x1ec)]),this[_0x4a6f40(0x201)][_0x4a6f40(0x2b9)]=_0x2fa021+this[_0x4a6f40(0x1e4)],this[_0x4a6f40(0x267)](_0x29deb9),_0x40e374[_0x4a6f40(0x28f)](_0x26d6f5=>{const _0x494c95=_0x4a6f40,_0x3b8e84=this[_0x494c95(0x23b)](_0x26d6f5);return _0x3b8e84&&!this[_0x494c95(0x24a)][_0x494c95(0x1fe)](_0x3b8e84);})[_0x4a6f40(0x241)]((_0xa15c3f,_0x2e22fa)=>{const _0x421b6c=_0x4a6f40;_0xa15c3f[_0x421b6c(0x2bd)]=this[_0x421b6c(0x297)][_0x421b6c(0x2b9)]+_0x2e22fa,this[_0x421b6c(0x263)](_0xa15c3f);}),this[_0x4a6f40(0x2c9)]()?(this[_0x4a6f40(0x237)]=0x0,this[_0x4a6f40(0x2b8)](!0x0),await this[_0x4a6f40(0x1fd)]()):(this[_0x4a6f40(0x284)]=!0x1,this[_0x4a6f40(0x1e5)]());}[_0x505943(0x1f0)](_0x3128c6,_0x4bef51){const _0x18ea16=_0x505943,_0x14219b=_0x4bef51&&_0x4bef51[_0x18ea16(0x1e2)];if(_0x14219b&&_0x14219b[_0x18ea16(0x221)](_0x18ea16(0x1f3)))throw _0x4bef51;const _0xc1b960=this[_0x18ea16(0x26b)][_0x18ea16(0x2cf)][_0x18ea16(0x2d9)](_0x2642bf);throw this[_0x18ea16(0x284)]=!0x0,_0xc1b960[_0x18ea16(0x203)](),this[_0x18ea16(0x26b)][_0x18ea16(0x227)](_0x18ea16(0x28b)),new _0x1c76e3(_0x3128c6,this[_0x18ea16(0x26b)],_0x14219b?{'originalError':_0x14219b}:void 0x0);}[_0x505943(0x263)](_0x56aef2){const _0x40b398=_0x505943;this[_0x40b398(0x262)][_0x40b398(0x1fe)](_0x56aef2)||(this[_0x40b398(0x262)][_0x40b398(0x2ac)](_0x56aef2),this[_0x40b398(0x293)][_0x40b398(0x279)](_0x56aef2),this[_0x40b398(0x238)]||_0x40b398(0x27c)==_0x56aef2[_0x40b398(0x20d)]&&!_0x56aef2[_0x40b398(0x251)]||this[_0x40b398(0x1df)]());}[_0x505943(0x2b8)](_0x53088a=!0x1){const _0x50ed45=_0x505943;!_0x53088a&&this[_0x50ed45(0x284)]||(this[_0x50ed45(0x284)]=!0x0,clearTimeout(this[_0x50ed45(0x26d)]),this[_0x50ed45(0x26d)]=setTimeout(()=>{const _0x243e97=_0x50ed45;this[_0x243e97(0x29f)]()[_0x243e97(0x2dd)](_0x160a41=>{const _0x59d0bb=_0x243e97;_0x160a41&&(this[_0x59d0bb(0x1e5)](),this[_0x59d0bb(0x284)]=!0x1);})[_0x243e97(0x291)](_0x275cf6=>{const _0x3bed36=_0x243e97;this[_0x3bed36(0x1e5)](),this[_0x3bed36(0x284)]=!0x1,function(_0x363094){const _0x290d84=_0x3bed36;return _0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2da))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x22b))||_0x363094[_0x290d84(0x1e2)][_0x290d84(0x221)](_0x290d84(0x2bb));}(_0x275cf6)||this[_0x3bed36(0x1f0)](_0x275cf6[_0x3bed36(0x1e2)],_0x275cf6);});},this[_0x50ed45(0x237)]));}[_0x505943(0x1fd)](){return new Promise(_0x578962=>{const _0x23ef70=_0x2673;this['on'](_0x23ef70(0x240),()=>{_0x578962();});});}async[_0x505943(0x29f)](){const _0x2e1022=_0x505943,_0x150182=this[_0x2e1022(0x26b)][_0x2e1022(0x2cf)][_0x2e1022(0x2d9)](_0x20e009);if(this[_0x2e1022(0x2a6)]()&&(_0x150182[_0x2e1022(0x212)](),this[_0x2e1022(0x2a8)]=!0x1),!this[_0x2e1022(0x2c9)]())return!0x0;const _0x4146f4=[...this[_0x2e1022(0x293)]];for(const _0x40bf0e of _0x4146f4)_0x40bf0e[_0x2e1022(0x265)]=this[_0x2e1022(0x297)][_0x2e1022(0x260)][_0x2e1022(0x2b5)](_0x40bf0e);const _0x26dee0=this[_0x2e1022(0x256)][_0x2e1022(0x24f)](_0x4146f4),_0x59db1c=j++,_0x32e6bb=this[_0x2e1022(0x225)](_0x4146f4),_0x2f6d52=await this[_0x2e1022(0x258)][_0x2e1022(0x287)](_0x32e6bb,_0x32e6bb[_0x2e1022(0x2bd)],_0x26dee0);try{return await this[_0x2e1022(0x283)](_0x4146f4,_0x2f6d52,_0x59db1c);}catch(_0x3dfc02){return this[_0x2e1022(0x1f0)](_0x2e1022(0x2d6),_0x3dfc02);}}async[_0x505943(0x283)](_0x2acc1b,_0x3535d2,_0x1352ef){const _0x233ece=_0x505943;if(_0x233ece(0x29d)in _0x3535d2)throw _0x3535d2[_0x233ece(0x29d)];let _0x2aa098=!0x1;if(_0x3535d2[_0x233ece(0x242)]){_0x3535d2[_0x233ece(0x1ec)]&&(this[_0x233ece(0x1ff)]=_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0x41e7b3=>!_0x2acc1b[_0x233ece(0x2c3)](_0x41e7b3));for(const _0x2f2431 of _0x2acc1b)_0x2f2431[_0x233ece(0x22c)]=_0x233ece(0x1f9)in _0x3535d2&&_0x3535d2[_0x233ece(0x1f9)]||void 0x0;P(_0x2acc1b,_0x3535d2[_0x233ece(0x2b9)]-_0x2acc1b[_0x233ece(0x2b1)]),this[_0x233ece(0x267)](_0x2acc1b);const _0x1586ff=_0x2acc1b[_0x233ece(0x28f)](_0x14d22d=>{const _0x1fe5cf=_0x233ece;if(!_0x14d22d[_0x1fe5cf(0x24e)])return!0x1;const _0xbc58f7=this[_0x1fe5cf(0x23b)](_0x14d22d);return _0xbc58f7&&!this[_0x1fe5cf(0x24a)][_0x1fe5cf(0x1fe)](_0xbc58f7);});P(_0x1586ff,this[_0x233ece(0x297)][_0x233ece(0x2b9)]),this[_0x233ece(0x205)](_0x1586ff),_0x2aa098=!0x0,this[_0x233ece(0x237)]=this[_0x233ece(0x26e)];}else{const _0x5986e2=this[_0x233ece(0x232)](_0x3535d2[_0x233ece(0x2a3)],_0x3535d2[_0x233ece(0x26f)])[_0x233ece(0x28f)](_0x28da2e=>_0x28da2e[_0x233ece(0x2bd)]>=this[_0x233ece(0x2b0)]);_0x5986e2[_0x233ece(0x241)](_0x1750e0=>this[_0x233ece(0x249)](_0x1750e0)),this[_0x233ece(0x293)]=this[_0x233ece(0x293)][_0x233ece(0x28f)](_0xffca6a=>!_0xffca6a[_0x233ece(0x24e)]||!this[_0x233ece(0x24a)][_0x233ece(0x1fe)](this[_0x233ece(0x23b)](_0xffca6a))),this[_0x233ece(0x293)][_0x233ece(0x2b1)]&&P(this[_0x233ece(0x293)],this[_0x233ece(0x293)][0x0][_0x233ece(0x2bd)]),await this[_0x233ece(0x2c7)](_0x5986e2),_0x2aa098=this[_0x233ece(0x286)](_0x5986e2,_0x3535d2[_0x233ece(0x2b9)],_0x3535d2[_0x233ece(0x1ec)]),this[_0x233ece(0x237)]=Math[_0x233ece(0x266)](this[_0x233ece(0x237)]/0x2);}return _0x2aa098?!this[_0x233ece(0x2c9)]()||(this[_0x233ece(0x2b8)](!0x0),!0x1):this[_0x233ece(0x1f0)](_0x233ece(0x1e9));}[_0x505943(0x286)](_0x5cbda5,_0x5344fd,_0x2ecea0){const _0xbc5b3b=_0x505943;try{const _0x53ad41={'document':this[_0xbc5b3b(0x297)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x94413f,operationsB:_0x175c93,originalOperations:_0xd5214b}=_0x39265c(_0x5cbda5,this[_0xbc5b3b(0x293)],_0x53ad41);P(_0x94413f,this[_0xbc5b3b(0x297)][_0xbc5b3b(0x2b9)]),P(_0x175c93,_0x5344fd);for(const _0x15f4d2 of _0x94413f){const _0x21137d=_0xd5214b[_0xbc5b3b(0x2d9)](_0x15f4d2);_0x15f4d2[_0xbc5b3b(0x29a)]=_0x21137d?_0x21137d[_0xbc5b3b(0x29a)]:null;}_0x2ecea0&&(this[_0xbc5b3b(0x256)][_0xbc5b3b(0x248)](_0x5cbda5,_0x2ecea0),this[_0xbc5b3b(0x1ff)]=_0x2ecea0),this[_0xbc5b3b(0x293)]=[..._0x175c93],this[_0xbc5b3b(0x205)](_0x94413f),this[_0xbc5b3b(0x267)](_0x5cbda5);}catch(_0x4bbc7f){return console[_0xbc5b3b(0x29d)](_0x4bbc7f),!0x1;}return!0x0;}[_0x505943(0x205)](_0x1e9521,_0x5215d0=!0x1){const _0x2d791c=_0x505943;this[_0x2d791c(0x26b)][_0x2d791c(0x2bf)][_0x2d791c(0x2c5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x420dbc=>{const _0x5bc609=_0x2d791c;for(const _0x53d1a4 of _0x1e9521)this[_0x5bc609(0x262)][_0x5bc609(0x2ac)](_0x53d1a4),this[_0x5bc609(0x249)](_0x53d1a4),_0x420dbc[_0x5bc609(0x274)][_0x5bc609(0x2ad)](_0x53d1a4),this[_0x5bc609(0x26b)][_0x5bc609(0x2bf)][_0x5bc609(0x255)](_0x53d1a4);});}[_0x505943(0x249)](_0x289f84){const _0x2b9ffb=_0x505943,_0x1a31a1=this[_0x2b9ffb(0x23b)](_0x289f84);_0x1a31a1&&this[_0x2b9ffb(0x24a)][_0x2b9ffb(0x2ac)](_0x1a31a1);}[_0x505943(0x23b)](_0x24b653){const _0x1af272=_0x505943;let _0x33a764,_0x3c204e;switch(_0x24b653[_0x1af272(0x20d)]){case _0x1af272(0x2a4):_0x33a764=_0x24b653[_0x1af272(0x28a)][_0x1af272(0x277)];break;case _0x1af272(0x27c):if(_0x3c204e=_0x24b653[_0x1af272(0x214)],!_0x3c204e)return null;_0x33a764=_0x3c204e[_0x1af272(0x277)];break;case _0x1af272(0x213):_0x33a764=_0x24b653[_0x1af272(0x277)];break;case _0x1af272(0x228):_0x33a764=_0x24b653[_0x1af272(0x1fb)];break;case _0x1af272(0x298):_0x33a764=_0x24b653[_0x1af272(0x1d7)][_0x1af272(0x277)];break;default:return null;}return _0x33a764[_0x1af272(0x1e0)];}[_0x505943(0x267)](_0x2a757a){const _0x3e469a=_0x505943;_0x2a757a[_0x3e469a(0x241)](_0x23d78d=>{const _0x121761=_0x3e469a,_0x33e1e3=_0x23d78d[_0x121761(0x215)]();_0x33e1e3[_0x121761(0x29a)]=_0x23d78d[_0x121761(0x29a)],_0x33e1e3[_0x121761(0x24e)]=!!_0x23d78d[_0x121761(0x24e)],_0x33e1e3[_0x121761(0x22c)]=_0x23d78d[_0x121761(0x22c)],_0x33e1e3[_0x121761(0x2bd)]+=this[_0x121761(0x1e4)],_0x23d78d[_0x121761(0x28e)]&&this[_0x121761(0x22f)][_0x121761(0x2ac)](_0x33e1e3),this[_0x121761(0x201)][_0x121761(0x2ad)](_0x33e1e3);});}[_0x505943(0x1f4)](_0x427d2e){const _0x40dfda=_0x505943,_0x255053=this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x40dfda(0x2cb)),_0x408ab7=this[_0x40dfda(0x26b)][_0x40dfda(0x1db)];_0x427d2e||(_0x427d2e=_0x461b5b(_0x408ab7,_0x40dfda(0x23c))),_0x255053[_0x40dfda(0x2ab)](_0x427d2e,{'title':_0x461b5b(_0x408ab7,_0x40dfda(0x218)),'namespace':_0x40dfda(0x21f)}),this[_0x40dfda(0x271)]=!0x0,clearTimeout(this[_0x40dfda(0x26d)]),this[_0x40dfda(0x293)]=[],this[_0x40dfda(0x26b)][_0x40dfda(0x2cf)][_0x40dfda(0x2d9)](_0x2642bf)[_0x40dfda(0x203)]();}[_0x505943(0x1df)](){const _0x58e3fc=_0x505943;this[_0x58e3fc(0x238)]||(this[_0x58e3fc(0x238)]=this[_0x58e3fc(0x26b)][_0x58e3fc(0x2cf)][_0x58e3fc(0x2d9)](_0x1a4c78)[_0x58e3fc(0x2ac)](_0x461b5b(this[_0x58e3fc(0x26b)][_0x58e3fc(0x1db)],_0x58e3fc(0x211))));}[_0x505943(0x1e5)](){const _0x4f9f3d=_0x505943;this[_0x4f9f3d(0x238)]&&(this[_0x4f9f3d(0x26b)][_0x4f9f3d(0x2cf)][_0x4f9f3d(0x2d9)](_0x1a4c78)[_0x4f9f3d(0x23a)](this[_0x4f9f3d(0x238)]),this[_0x4f9f3d(0x238)]=null);}[_0x505943(0x225)](_0x7da548){const _0x1fe58b=_0x505943,_0x40acef=_0x7da548[_0x1fe58b(0x27e)](_0x21b05f=>_0x21b05f[_0x1fe58b(0x2c4)]());return this[_0x1fe58b(0x235)][_0x1fe58b(0x2b6)](_0x40acef);}[_0x505943(0x232)](_0xc1643,_0x3edd35){const _0x104701=_0x505943;return this[_0x104701(0x235)][_0x104701(0x1f1)](_0xc1643)[_0x104701(0x27e)]((_0x2b2124,_0x5ec632)=>{const _0x48d88=_0x104701,_0x5dccfe=_0x48d88(0x275)==_0x3edd35[_0x5ec632][_0x48d88(0x20d)];if(_0x48d88(0x26c)==_0x2b2124[_0x48d88(0x1dd)]){const _0x5b7442=_0x2b2124[_0x48d88(0x28a)][_0x48d88(0x277)];!this[_0x48d88(0x297)][_0x48d88(0x24c)](_0x5b7442)&&(this[_0x48d88(0x297)][_0x48d88(0x2cd)](_0x48d88(0x252),_0x5b7442)[_0x48d88(0x217)]=!0x1);}const _0x4eb246=_0x3fd96c[_0x48d88(0x1f5)](_0x2b2124,this[_0x48d88(0x297)]);return _0x4eb246[_0x48d88(0x265)]=_0x2b2124[_0x48d88(0x265)],_0x4eb246[_0x48d88(0x24e)]=_0x5dccfe,_0x4eb246[_0x48d88(0x29a)]=_0x5dccfe?null:_0x3edd35[_0x5ec632][_0x48d88(0x20c)],_0x4eb246[_0x48d88(0x28e)]=_0x48d88(0x2a1)===_0x3edd35[_0x5ec632][_0x48d88(0x20d)],_0x4eb246[_0x48d88(0x22c)]=_0x3edd35[_0x5ec632][_0x48d88(0x22c)],_0x4eb246;});}[_0x505943(0x1dc)](){const _0x30bde0=_0x505943;this[_0x30bde0(0x2a8)]=!0x0,this[_0x30bde0(0x2a6)]()?this[_0x30bde0(0x2b8)]():this[_0x30bde0(0x2a8)]=!0x1;}[_0x505943(0x2a6)](){const _0x46747e=_0x505943,_0x34ecbc=this[_0x46747e(0x26b)][_0x46747e(0x2cf)][_0x46747e(0x2d9)](_0x52f8ac)[_0x46747e(0x288)][_0x46747e(0x2d9)](this[_0x46747e(0x20b)]);return!this[_0x46747e(0x26b)][_0x46747e(0x20a)]&&!!_0x34ecbc&&_0x34ecbc[_0x46747e(0x2b1)]>0x1&&this[_0x46747e(0x2a8)];}[_0x505943(0x2c9)](){const _0x1aba4b=_0x505943;return this[_0x1aba4b(0x293)][_0x1aba4b(0x2b1)]>0x0||this[_0x1aba4b(0x2a6)]();}}class D extends Error{}function P(_0x1d368,_0x55fd0e){const _0x387bfe=_0x505943;for(const _0x772e6 of _0x1d368)_0x772e6[_0x387bfe(0x2bd)]=_0x55fd0e++;}class U{[_0x505943(0x2d5)];[_0x505943(0x2aa)];constructor(_0x1afa7b){const _0x465b37=_0x505943;this[_0x465b37(0x2d5)]=_0x1afa7b,this[_0x465b37(0x2aa)]=new WeakMap();}[_0x505943(0x24f)](_0x265cef){const _0x3a7a49=_0x505943;let _0x1d1bfe=_0x265cef[_0x3a7a49(0x2b1)];for(;_0x1d1bfe--;){const _0x1b39b0=_0x265cef[_0x1d1bfe];if(!this[_0x3a7a49(0x2d5)][_0x3a7a49(0x1fe)](_0x1b39b0)){if(!this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1fe)](_0x1b39b0)){const _0x4b7d3a=_0x2cc8bc()[_0x3a7a49(0x25d)](0x1,0x12);this[_0x3a7a49(0x2aa)][_0x3a7a49(0x1f7)](_0x1b39b0,_0x4b7d3a);}return this[_0x3a7a49(0x2aa)][_0x3a7a49(0x2d9)](_0x1b39b0);}}}[_0x505943(0x248)](_0x492fa7,_0x2a4049){const _0x93190=_0x505943;if(!_0x2a4049)return;let _0xe7f072=_0x492fa7[_0x93190(0x2b1)];for(;_0xe7f072--;){const _0x315152=_0x492fa7[_0xe7f072];this[_0x93190(0x2d5)][_0x93190(0x1fe)](_0x315152)||this[_0x93190(0x2aa)][_0x93190(0x1f7)](_0x315152,_0x2a4049);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x170b50=_0x8003;(function(_0x2756c1,_0x3c4ab7){const _0x11cf54=_0x8003,_0x249aac=_0x2756c1();while(!![]){try{const _0x26db4a=parseInt(_0x11cf54(0x19c))/0x1*(-parseInt(_0x11cf54(0x193))/0x2)+parseInt(_0x11cf54(0x1c1))/0x3+-parseInt(_0x11cf54(0x19e))/0x4+parseInt(_0x11cf54(0x1a2))/0x5*(parseInt(_0x11cf54(0x1be))/0x6)+-parseInt(_0x11cf54(0x195))/0x7+parseInt(_0x11cf54(0x1a3))/0x8+-parseInt(_0x11cf54(0x1a5))/0x9*(-parseInt(_0x11cf54(0x19d))/0xa);if(_0x26db4a===_0x3c4ab7)break;else _0x249aac['push'](_0x249aac['shift']());}catch(_0x10d423){_0x249aac['push'](_0x249aac['shift']());}}}(_0x48c9,0xe36a7));import{ContextPlugin as _0x54e2e6}from'ckeditor5/src/core.js';function _0x48c9(){const _0x17fc56=['3134445xrLUiS','defineMe','forEach','context','values','size','channelSessions','listenTo','unregister','state','sessionAdd:','connected','channelConnectedUsers','sessions-register-already-registered','isMe','getUserBySessionId','isOfficialPlugin','8nfuHgj','change:state','11731930kgPlaL','pluginName','orderNumber','remove','delete','connection','mySessionId','423874ZixKMO','20DjMhTU','2875832isOZty','has','add','requires','220TgcOje','6963136aVkmdz','_handleSessionRemove','9751806UXqXXz','fire','getUserSessions','init','set','plugins','addUser','stopListening','role','sessions-unregister-not-exist','_createUser','getUserRole','Sessions','get','assign','allConnectedUsers','isPremiumPlugin','_uniqueUsersCount','_users','register','clear','_registeredSessions','sessionId','_handleSessionAdd','user','128136rZsAsd','hiddenInPresenceList','getUser'];_0x48c9=function(){return _0x17fc56;};return _0x48c9();}import{Collection as _0x28bf9a,CKEditorError as _0x29b2bd}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2f2c0e}from'./websocketgateway.js';import{Users as _0xba84}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x8003(_0x397418,_0x1f6e09){const _0x48c9fc=_0x48c9();return _0x8003=function(_0x80035d,_0x53da4b){_0x80035d=_0x80035d-0x193;let _0x3987ab=_0x48c9fc[_0x80035d];return _0x3987ab;},_0x8003(_0x397418,_0x1f6e09);}export class Sessions extends _0x54e2e6{[_0x170b50(0x1c7)];[_0x170b50(0x1cd)];[_0x170b50(0x1b4)];[_0x170b50(0x1ba)];[_0x170b50(0x1b6)];[_0x170b50(0x1b7)];static get[_0x170b50(0x196)](){const _0x4c4c2e=_0x170b50;return _0x4c4c2e(0x1b1);}static get[_0x170b50(0x1d1)](){return!0x0;}static get[_0x170b50(0x1b5)](){return!0x0;}static get[_0x170b50(0x1a1)](){return[_0x2f2c0e,_0xba84];}constructor(_0x1ba244){const _0x177792=_0x170b50;super(_0x1ba244),this[_0x177792(0x1c7)]=new Map(),this[_0x177792(0x1cd)]=new Map(),this[_0x177792(0x1b4)]=new _0x28bf9a(),this[_0x177792(0x1ba)]=new Map(),this[_0x177792(0x1b6)]=0x0,this[_0x177792(0x1b7)]=this[_0x177792(0x1c4)][_0x177792(0x1aa)][_0x177792(0x1b2)](_0xba84);}[_0x170b50(0x1a8)](){const _0x18c925=_0x170b50,_0x1bcb02=this[_0x18c925(0x1c4)][_0x18c925(0x1aa)][_0x18c925(0x1b2)](_0x2f2c0e);this[_0x18c925(0x1c8)](_0x1bcb02,_0x18c925(0x194),(_0x19361a,_0x3c9554,_0x302184)=>{const _0xf70cd4=_0x18c925;if(_0xf70cd4(0x1cc)!==_0x302184)this[_0xf70cd4(0x1c7)][_0xf70cd4(0x1c3)](_0x84c35c=>_0x84c35c[_0xf70cd4(0x1b9)]()),this[_0xf70cd4(0x1cd)][_0xf70cd4(0x1c3)](_0x1206ea=>_0x1206ea[_0xf70cd4(0x1b9)]()),this[_0xf70cd4(0x1b4)][_0xf70cd4(0x1b9)]();else{for(const [_0x3b6ea2,_0x4e5f9b]of this[_0xf70cd4(0x1ba)])for(const _0x5dd7bc of _0x4e5f9b)this[_0xf70cd4(0x1bc)](_0x3b6ea2,_0x5dd7bc);}}),this[_0x18c925(0x1af)](_0x1bcb02[_0x18c925(0x19a)]['me'],!0x0);}[_0x170b50(0x1b8)](_0x327bd4,_0x44e4e4){const _0x2ba7d5=_0x170b50;if(this[_0x2ba7d5(0x1ba)][_0x2ba7d5(0x19f)](_0x327bd4))throw new _0x29b2bd(_0x2ba7d5(0x1ce),null,{'channelId':_0x327bd4});this[_0x2ba7d5(0x1ba)][_0x2ba7d5(0x1a9)](_0x327bd4,_0x44e4e4),this[_0x2ba7d5(0x1c7)][_0x2ba7d5(0x1a9)](_0x327bd4,new _0x28bf9a()),this[_0x2ba7d5(0x1cd)][_0x2ba7d5(0x1a9)](_0x327bd4,new _0x28bf9a()),this[_0x2ba7d5(0x1c8)](_0x44e4e4,_0x2ba7d5(0x1a0),(_0x13caf3,_0x73eab5)=>this[_0x2ba7d5(0x1bc)](_0x327bd4,_0x73eab5)),this[_0x2ba7d5(0x1c8)](_0x44e4e4,_0x2ba7d5(0x198),(_0x3a5a72,_0x2dfb05)=>this[_0x2ba7d5(0x1a4)](_0x327bd4,_0x2dfb05));for(const _0x452ebd of _0x44e4e4)this[_0x2ba7d5(0x1bc)](_0x327bd4,_0x452ebd);}[_0x170b50(0x1c9)](_0x19293d){const _0x156905=_0x170b50;if(!this[_0x156905(0x1ba)][_0x156905(0x19f)](_0x19293d))throw new _0x29b2bd(_0x156905(0x1ae),null,{'channelId':_0x19293d});const _0x41714c=this[_0x156905(0x1ba)][_0x156905(0x1b2)](_0x19293d);this[_0x156905(0x1ac)](_0x41714c);for(const _0x1afed8 of _0x41714c)_0x156905(0x1cc)===this[_0x156905(0x1c4)][_0x156905(0x1aa)][_0x156905(0x1b2)](_0x2f2c0e)[_0x156905(0x1ca)]&&this[_0x156905(0x1a4)](_0x19293d,_0x1afed8);this[_0x156905(0x1ba)][_0x156905(0x199)](_0x19293d),this[_0x156905(0x1c7)][_0x156905(0x199)](_0x19293d),this[_0x156905(0x1cd)][_0x156905(0x199)](_0x19293d);}get[_0x170b50(0x19b)](){const _0x2f1988=_0x170b50;return this[_0x2f1988(0x1c4)][_0x2f1988(0x1aa)][_0x2f1988(0x1b2)](_0x2f2c0e)[_0x2f1988(0x19a)][_0x2f1988(0x1bb)];}[_0x170b50(0x1d0)](_0x34c752){const _0x383e16=_0x170b50;for(const _0x5bf24a of this[_0x383e16(0x1c7)][_0x383e16(0x1c5)]())for(const _0x44df34 of _0x5bf24a)if(_0x44df34['id']===_0x34c752)return _0x44df34[_0x383e16(0x1bd)];}[_0x170b50(0x1a7)](_0x2bea80,_0x290d1d){const _0x5b3a41=_0x170b50,_0x3f7d06=_0x290d1d?[this[_0x5b3a41(0x1c7)][_0x5b3a41(0x1b2)](_0x290d1d)]:this[_0x5b3a41(0x1c7)][_0x5b3a41(0x1c5)](),_0x59e960=new Set();for(const _0x1653ac of _0x3f7d06)for(const _0x31a77d of _0x1653ac)_0x31a77d[_0x5b3a41(0x1bd)]['id']===_0x2bea80['id']&&_0x59e960[_0x5b3a41(0x1a0)](_0x31a77d['id']);return _0x59e960;}[_0x170b50(0x1b0)](_0xa712a){const _0x170e2b=_0x170b50;for(const _0x47df8f of this[_0x170e2b(0x1c7)][_0x170e2b(0x1c5)]())for(const _0x37cb7b of _0x47df8f)if(_0x37cb7b[_0x170e2b(0x1bd)]===_0xa712a)return _0x37cb7b[_0x170e2b(0x1ad)];}[_0x170b50(0x1bc)](_0x267b38,_0x286b1c){const _0x1c8929=_0x170b50;if(_0x1c8929(0x1cc)!==this[_0x1c8929(0x1c4)][_0x1c8929(0x1aa)][_0x1c8929(0x1b2)](_0x2f2c0e)[_0x1c8929(0x1ca)])return;const _0x555fa2=_0x286b1c[_0x1c8929(0x1bd)],_0x1c9dd0=this[_0x1c8929(0x1b7)][_0x1c8929(0x1c0)](_0x555fa2['id'])||this[_0x1c8929(0x1af)](_0x555fa2),_0x28d089=Object[_0x1c8929(0x1b3)]({},_0x286b1c,{'user':_0x1c9dd0});if(this[_0x1c8929(0x1c7)][_0x1c8929(0x1b2)](_0x267b38)[_0x1c8929(0x1a0)](_0x28d089),!_0x555fa2[_0x1c8929(0x1bf)]){const _0x1a7e1a=this[_0x1c8929(0x1cd)][_0x1c8929(0x1b2)](_0x267b38);_0x1a7e1a[_0x1c8929(0x19f)](_0x1c9dd0['id'])||_0x1a7e1a[_0x1c8929(0x1a0)](_0x1c9dd0),this[_0x1c8929(0x1b4)][_0x1c8929(0x19f)](_0x1c9dd0['id'])||_0x555fa2[_0x1c8929(0x1bf)]||this[_0x1c8929(0x1b4)][_0x1c8929(0x1a0)](_0x1c9dd0,_0x1c9dd0[_0x1c8929(0x1cf)]?0x0:void 0x0);}this[_0x1c8929(0x1a6)](_0x1c8929(0x1cb)+_0x267b38,{'channelId':_0x267b38,'session':_0x28d089});}[_0x170b50(0x1a4)](_0x2cb80a,_0x161b95){const _0x2e874c=_0x170b50;if(_0x2e874c(0x1cc)!==this[_0x2e874c(0x1c4)][_0x2e874c(0x1aa)][_0x2e874c(0x1b2)](_0x2f2c0e)[_0x2e874c(0x1ca)])return;const _0x367306=this[_0x2e874c(0x1cd)][_0x2e874c(0x1b2)](_0x2cb80a),_0x56bf38=_0x161b95[_0x2e874c(0x1bd)];_0x56bf38['id']&&(this[_0x2e874c(0x1c7)][_0x2e874c(0x1b2)](_0x2cb80a)[_0x2e874c(0x198)](_0x161b95['id']),_0x367306[_0x2e874c(0x19f)](_0x56bf38['id'])&&!this[_0x2e874c(0x1a7)](_0x56bf38,_0x2cb80a)[_0x2e874c(0x1c6)]&&_0x367306[_0x2e874c(0x198)](_0x56bf38['id']),this[_0x2e874c(0x1b4)][_0x2e874c(0x1b2)](_0x56bf38['id'])&&!this[_0x2e874c(0x1a7)](_0x56bf38)[_0x2e874c(0x1c6)]&&this[_0x2e874c(0x1b4)][_0x2e874c(0x198)](_0x56bf38['id']));}[_0x170b50(0x1af)](_0x1c82fc,_0x32a562){const _0x2295e3=_0x170b50,_0x257ef6=this[_0x2295e3(0x1b7)][_0x2295e3(0x1ab)](_0x1c82fc);return _0x32a562&&this[_0x2295e3(0x1b7)][_0x2295e3(0x1c2)](_0x1c82fc['id']),_0x257ef6[_0x2295e3(0x197)]=this[_0x2295e3(0x1b6)]++,_0x257ef6;}}
23
+ function _0x3628(_0x55fa6c,_0x165770){const _0x31e761=_0x31e7();return _0x3628=function(_0x3628a4,_0x56a9ec){_0x3628a4=_0x3628a4-0x98;let _0x5144d2=_0x31e761[_0x3628a4];return _0x5144d2;},_0x3628(_0x55fa6c,_0x165770);}const _0x35012b=_0x3628;(function(_0x58f670,_0x58e17d){const _0x26f35c=_0x3628,_0x2b16e5=_0x58f670();while(!![]){try{const _0xa80bc0=parseInt(_0x26f35c(0xb0))/0x1+-parseInt(_0x26f35c(0xd0))/0x2*(parseInt(_0x26f35c(0xc8))/0x3)+-parseInt(_0x26f35c(0xa7))/0x4+parseInt(_0x26f35c(0xcf))/0x5*(-parseInt(_0x26f35c(0x9a))/0x6)+-parseInt(_0x26f35c(0xd1))/0x7*(-parseInt(_0x26f35c(0xaa))/0x8)+parseInt(_0x26f35c(0xab))/0x9*(-parseInt(_0x26f35c(0xbf))/0xa)+parseInt(_0x26f35c(0xae))/0xb;if(_0xa80bc0===_0x58e17d)break;else _0x2b16e5['push'](_0x2b16e5['shift']());}catch(_0x57198e){_0x2b16e5['push'](_0x2b16e5['shift']());}}}(_0x31e7,0x8bd43));import{ContextPlugin as _0x5392f4}from'ckeditor5/src/core.js';import{Collection as _0x26a926,CKEditorError as _0x1c7c06}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xf4c53a}from'./websocketgateway.js';import{Users as _0x404da3}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5392f4{[_0x35012b(0xc3)];[_0x35012b(0xbc)];[_0x35012b(0xa0)];[_0x35012b(0xc7)];[_0x35012b(0xad)];[_0x35012b(0x9b)];static get[_0x35012b(0xbd)](){const _0x715672=_0x35012b;return _0x715672(0xcd);}static get[_0x35012b(0xa3)](){return!0x0;}static get[_0x35012b(0xb2)](){return!0x0;}static get[_0x35012b(0xb8)](){return[_0xf4c53a,_0x404da3];}constructor(_0x4fc2e7){const _0x1d8dd7=_0x35012b;super(_0x4fc2e7),this[_0x1d8dd7(0xc3)]=new Map(),this[_0x1d8dd7(0xbc)]=new Map(),this[_0x1d8dd7(0xa0)]=new _0x26a926(),this[_0x1d8dd7(0xc7)]=new Map(),this[_0x1d8dd7(0xad)]=0x0,this[_0x1d8dd7(0x9b)]=this[_0x1d8dd7(0xa5)][_0x1d8dd7(0xac)][_0x1d8dd7(0xd7)](_0x404da3);}[_0x35012b(0xc0)](){const _0x12ddd1=_0x35012b,_0xab0f62=this[_0x12ddd1(0xa5)][_0x12ddd1(0xac)][_0x12ddd1(0xd7)](_0xf4c53a);this[_0x12ddd1(0xa9)](_0xab0f62,_0x12ddd1(0xb9),(_0x2a9245,_0x1353ad,_0x17ed3e)=>{const _0x4dbf24=_0x12ddd1;if(_0x4dbf24(0xaf)!==_0x17ed3e)this[_0x4dbf24(0xc3)][_0x4dbf24(0xbb)](_0x156e45=>_0x156e45[_0x4dbf24(0xb3)]()),this[_0x4dbf24(0xbc)][_0x4dbf24(0xbb)](_0x13e324=>_0x13e324[_0x4dbf24(0xb3)]()),this[_0x4dbf24(0xa0)][_0x4dbf24(0xb3)]();else{for(const [_0x157666,_0x559101]of this[_0x4dbf24(0xc7)])for(const _0x58c3f0 of _0x559101)this[_0x4dbf24(0xa8)](_0x157666,_0x58c3f0);}}),this[_0x12ddd1(0xc5)](_0xab0f62[_0x12ddd1(0xcb)]['me'],!0x0);}[_0x35012b(0xa6)](_0x218ab8,_0x323667){const _0x35f914=_0x35012b;if(this[_0x35f914(0xc7)][_0x35f914(0xd5)](_0x218ab8))throw new _0x1c7c06(_0x35f914(0x9c),null,{'channelId':_0x218ab8});this[_0x35f914(0xc7)][_0x35f914(0xb4)](_0x218ab8,_0x323667),this[_0x35f914(0xc3)][_0x35f914(0xb4)](_0x218ab8,new _0x26a926()),this[_0x35f914(0xbc)][_0x35f914(0xb4)](_0x218ab8,new _0x26a926()),this[_0x35f914(0xa9)](_0x323667,_0x35f914(0xb7),(_0x23a6dd,_0x2da9ea)=>this[_0x35f914(0xa8)](_0x218ab8,_0x2da9ea)),this[_0x35f914(0xa9)](_0x323667,_0x35f914(0xc2),(_0x433a7f,_0x43053c)=>this[_0x35f914(0xa1)](_0x218ab8,_0x43053c));for(const _0x59b974 of _0x323667)this[_0x35f914(0xa8)](_0x218ab8,_0x59b974);}[_0x35012b(0xc9)](_0x272f74){const _0x199ba3=_0x35012b;if(!this[_0x199ba3(0xc7)][_0x199ba3(0xd5)](_0x272f74))throw new _0x1c7c06(_0x199ba3(0x9f),null,{'channelId':_0x272f74});const _0x1d5ecc=this[_0x199ba3(0xc7)][_0x199ba3(0xd7)](_0x272f74);this[_0x199ba3(0xca)](_0x1d5ecc);for(const _0x565d19 of _0x1d5ecc)_0x199ba3(0xaf)===this[_0x199ba3(0xa5)][_0x199ba3(0xac)][_0x199ba3(0xd7)](_0xf4c53a)[_0x199ba3(0xcc)]&&this[_0x199ba3(0xa1)](_0x272f74,_0x565d19);this[_0x199ba3(0xc7)][_0x199ba3(0xb5)](_0x272f74),this[_0x199ba3(0xc3)][_0x199ba3(0xb5)](_0x272f74),this[_0x199ba3(0xbc)][_0x199ba3(0xb5)](_0x272f74);}get[_0x35012b(0xa2)](){const _0x416786=_0x35012b;return this[_0x416786(0xa5)][_0x416786(0xac)][_0x416786(0xd7)](_0xf4c53a)[_0x416786(0xcb)][_0x416786(0x9d)];}[_0x35012b(0xd2)](_0x5bd43f){const _0x206087=_0x35012b;for(const _0x2496eb of this[_0x206087(0xc3)][_0x206087(0x98)]())for(const _0x16e7fa of _0x2496eb)if(_0x16e7fa['id']===_0x5bd43f)return _0x16e7fa[_0x206087(0xd4)];}[_0x35012b(0xc4)](_0x38520c,_0x39c864){const _0x3069c2=_0x35012b,_0x497a52=_0x39c864?[this[_0x3069c2(0xc3)][_0x3069c2(0xd7)](_0x39c864)]:this[_0x3069c2(0xc3)][_0x3069c2(0x98)](),_0x35ee6d=new Set();for(const _0x3b8d6b of _0x497a52)for(const _0x50d5e5 of _0x3b8d6b)_0x50d5e5[_0x3069c2(0xd4)]['id']===_0x38520c['id']&&_0x35ee6d[_0x3069c2(0xb7)](_0x50d5e5['id']);return _0x35ee6d;}[_0x35012b(0xb6)](_0x5365a0){const _0x1a438d=_0x35012b;for(const _0x10ece3 of this[_0x1a438d(0xc3)][_0x1a438d(0x98)]())for(const _0xaac846 of _0x10ece3)if(_0xaac846[_0x1a438d(0xd4)]===_0x5365a0)return _0xaac846[_0x1a438d(0xba)];}[_0x35012b(0xa8)](_0x200f1f,_0x1c51e2){const _0x31d910=_0x35012b;if(_0x31d910(0xaf)!==this[_0x31d910(0xa5)][_0x31d910(0xac)][_0x31d910(0xd7)](_0xf4c53a)[_0x31d910(0xcc)])return;const _0x49d40a=_0x1c51e2[_0x31d910(0xd4)],_0x49f2bc=this[_0x31d910(0x9b)][_0x31d910(0xd6)](_0x49d40a['id'])||this[_0x31d910(0xc5)](_0x49d40a),_0x2fa35e=Object[_0x31d910(0xa4)]({},_0x1c51e2,{'user':_0x49f2bc});if(this[_0x31d910(0xc3)][_0x31d910(0xd7)](_0x200f1f)[_0x31d910(0xb7)](_0x2fa35e),!_0x49d40a[_0x31d910(0xbe)]){const _0x13bea7=this[_0x31d910(0xbc)][_0x31d910(0xd7)](_0x200f1f);_0x13bea7[_0x31d910(0xd5)](_0x49f2bc['id'])||_0x13bea7[_0x31d910(0xb7)](_0x49f2bc),this[_0x31d910(0xa0)][_0x31d910(0xd5)](_0x49f2bc['id'])||_0x49d40a[_0x31d910(0xbe)]||this[_0x31d910(0xa0)][_0x31d910(0xb7)](_0x49f2bc,_0x49f2bc[_0x31d910(0x99)]?0x0:void 0x0);}this[_0x31d910(0xce)](_0x31d910(0xc6)+_0x200f1f,{'channelId':_0x200f1f,'session':_0x2fa35e});}[_0x35012b(0xa1)](_0x3e1974,_0x4642d2){const _0x2c84bf=_0x35012b;if(_0x2c84bf(0xaf)!==this[_0x2c84bf(0xa5)][_0x2c84bf(0xac)][_0x2c84bf(0xd7)](_0xf4c53a)[_0x2c84bf(0xcc)])return;const _0x2001b8=this[_0x2c84bf(0xbc)][_0x2c84bf(0xd7)](_0x3e1974),_0x482560=_0x4642d2[_0x2c84bf(0xd4)];_0x482560['id']&&(this[_0x2c84bf(0xc3)][_0x2c84bf(0xd7)](_0x3e1974)[_0x2c84bf(0xc2)](_0x4642d2['id']),_0x2001b8[_0x2c84bf(0xd5)](_0x482560['id'])&&!this[_0x2c84bf(0xc4)](_0x482560,_0x3e1974)[_0x2c84bf(0xb1)]&&_0x2001b8[_0x2c84bf(0xc2)](_0x482560['id']),this[_0x2c84bf(0xa0)][_0x2c84bf(0xd7)](_0x482560['id'])&&!this[_0x2c84bf(0xc4)](_0x482560)[_0x2c84bf(0xb1)]&&this[_0x2c84bf(0xa0)][_0x2c84bf(0xc2)](_0x482560['id']));}[_0x35012b(0xc5)](_0xbfa033,_0x2ba3b5){const _0x55e8cb=_0x35012b,_0x384d4c=this[_0x55e8cb(0x9b)][_0x55e8cb(0xd3)](_0xbfa033);return _0x2ba3b5&&this[_0x55e8cb(0x9b)][_0x55e8cb(0x9e)](_0xbfa033['id']),_0x384d4c[_0x55e8cb(0xc1)]=this[_0x55e8cb(0xad)]++,_0x384d4c;}}function _0x31e7(){const _0x54ac9f=['allConnectedUsers','_handleSessionRemove','mySessionId','isOfficialPlugin','assign','context','register','973656tKlhZJ','_handleSessionAdd','listenTo','262488hSUZBb','177111PyeHhl','plugins','_uniqueUsersCount','6080283HORfni','connected','736957dVlnCT','size','isPremiumPlugin','clear','set','delete','getUserRole','add','requires','change:state','role','forEach','channelConnectedUsers','pluginName','hiddenInPresenceList','140lvpBcz','init','orderNumber','remove','channelSessions','getUserSessions','_createUser','sessionAdd:','_registeredSessions','685572XWOkLX','unregister','stopListening','connection','state','Sessions','fire','70oknZna','10vgsDSu','231tfoeWq','getUserBySessionId','addUser','user','has','getUser','get','values','isMe','59226prOdtT','_users','sessions-register-already-registered','sessionId','defineMe','sessions-unregister-not-exist'];_0x31e7=function(){return _0x54ac9f;};return _0x31e7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f94(_0x4813e1,_0x5b6bd3){const _0x32c3b8=_0x32c3();return _0x1f94=function(_0x1f9413,_0x580fc5){_0x1f9413=_0x1f9413-0x125;let _0x107a49=_0x32c3b8[_0x1f9413];return _0x107a49;},_0x1f94(_0x4813e1,_0x5b6bd3);}const _0x5e8d7f=_0x1f94;(function(_0x560b31,_0x53f014){const _0x5a8497=_0x1f94,_0x596c5e=_0x560b31();while(!![]){try{const _0x522b1c=parseInt(_0x5a8497(0x17f))/0x1*(-parseInt(_0x5a8497(0x132))/0x2)+-parseInt(_0x5a8497(0x193))/0x3+-parseInt(_0x5a8497(0x1aa))/0x4*(parseInt(_0x5a8497(0x17e))/0x5)+parseInt(_0x5a8497(0x191))/0x6*(parseInt(_0x5a8497(0x129))/0x7)+-parseInt(_0x5a8497(0x1a3))/0x8*(-parseInt(_0x5a8497(0x178))/0x9)+parseInt(_0x5a8497(0x13a))/0xa*(parseInt(_0x5a8497(0x15e))/0xb)+-parseInt(_0x5a8497(0x19a))/0xc*(-parseInt(_0x5a8497(0x174))/0xd);if(_0x522b1c===_0x53f014)break;else _0x596c5e['push'](_0x596c5e['shift']());}catch(_0x21f9e6){_0x596c5e['push'](_0x596c5e['shift']());}}}(_0x32c3,0x25102));import{Plugin as _0x28753b}from'ckeditor5/src/core.js';import{global as _0x35da09,DomEmitterMixin as _0x523aa1}from'ckeditor5/src/utils.js';function _0x32c3(){const _0x534b77=['change','enqueueChange','user:position','orderNumber','Escape','$graveyard','clear','getAttribute','mySessionId','1638263nFfcHh','getRange','createRange','color','rootName','editing','split','markerName','ck-user__marker_hovered','listenTo','fromRange','markerRange','startsWith','requires','deletionPosition','mapper','highest','commands','ck-user__marker-tooltip','delete','span','addMarker','921037kQLIsw','add','undo','getStart','991773oxEqVn','false','schema','batch','markerToHighlight','checkChild','862115yxwLLp','6gSdtef','start','isOfficialPlugin','change:range','spellcheck','name','toDomElement','setCustomProperty','detach','keydown','parent','textContent','getUserBySessionId','update:user:range','conversion','render','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','type','309378WzXsJQ','classList','221448zKYuiz','markers','user:range','hasContent','addEventListener','plugins','getCustomProperty','24SEMlVu','isInline','stopListening','outerHTML','applyOperation','markerToElement','mouseenter','createElement','contenteditable','8NulDhj','element','user:','$text','user:position:','isLimit','init','4RhgDGM','root','removeMarker','nodeAfter','selection','pluginName','getFirstRange','document','remove','isDocumentOperation','updateMarker','size','UserMarkers','14lUVYBf','isCollapsed','reconvertMarker','_createdBatches','editor','getSelectionClass','destroy','markerNameToElements','createUIElement','84946upixyX','tableCell','view','ck-user__selection','afterInit','toRange','end','model','20NxKwZk','getNearestSelectionRange','_domEmitter','has','get','isSimilar','isObject','getMarkerClass','createUserMarkerOperations','setAttribute','newRange','getContainedElement','user:range:','editingDowncast','hasDomSelection','getPositions','removeClass','for','userPositionMarker','innerHTML','oldRange','data-session-id','mouseleave','isPremiumPlugin','set','marker','ck-user__marker\x20'];_0x32c3=function(){return _0x534b77;};return _0x32c3();}import{Sessions as _0x3e09bc}from'./sessions.js';import{ModelLiveRange as _0x23859d}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x28753b{[_0x5e8d7f(0x13c)]=new(_0x523aa1())();static get[_0x5e8d7f(0x16b)](){return[_0x3e09bc];}static get[_0x5e8d7f(0x1af)](){const _0x4a3584=_0x5e8d7f;return _0x4a3584(0x128);}static get[_0x5e8d7f(0x181)](){return!0x0;}static get[_0x5e8d7f(0x151)](){return!0x0;}[_0x5e8d7f(0x1a9)](){const _0x1f6d49=_0x5e8d7f,_0x23fc4b=this[_0x1f6d49(0x12d)],_0x2f1ab5=_0x23fc4b[_0x1f6d49(0x198)][_0x1f6d49(0x13e)](_0x3e09bc);_0x23fc4b[_0x1f6d49(0x18d)][_0x1f6d49(0x14b)](_0x1f6d49(0x147))[_0x1f6d49(0x19f)]({'model':_0x1f6d49(0x157),'view':(_0x20fc6f,{writer:_0x55a0b3})=>function(_0x124b6a,_0x437ae5,_0x47acf7,_0x5031be){const _0x28cf9e=_0x1f6d49,_0x1e19b1=_0x124b6a[_0x28cf9e(0x165)][_0x28cf9e(0x164)](':')[0x2],_0x1931aa=_0x47acf7[_0x28cf9e(0x18b)](_0x1e19b1);if(!_0x1931aa||_0x1e19b1===_0x47acf7[_0x28cf9e(0x15d)])return;if(!_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x17a)][_0x28cf9e(0x17d)](_0x124b6a[_0x28cf9e(0x169)][_0x28cf9e(0x180)],_0x28cf9e(0x1a6)))return;const _0x5be588={'class':_0x28cf9e(0x154)+_0x1931aa[_0x28cf9e(0x161)][_0x28cf9e(0x141)](),'data-name':_0x1931aa[_0x28cf9e(0x184)],'data-session-id':_0x1e19b1},_0x9ea87b=_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x194)][_0x28cf9e(0x13e)](_0x124b6a[_0x28cf9e(0x165)]),_0x12bfc2=_0x9ea87b[_0x28cf9e(0x177)](),_0x163f22=_0x12bfc2[_0x28cf9e(0x1ad)],_0x3144db=_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x17a)];if(_0x163f22&&_0x3144db[_0x28cf9e(0x140)](_0x163f22)&&_0x3144db[_0x28cf9e(0x19b)](_0x163f22)&&!_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x194)][_0x28cf9e(0x13e)](_0x28cf9e(0x146)+_0x1e19b1)[_0x28cf9e(0x15f)]()[_0x28cf9e(0x12a)])return;const _0x5ae3db=_0x12bfc2[_0x28cf9e(0x189)];return _0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x17a)][_0x28cf9e(0x1a8)](_0x5ae3db)&&!_0x5031be[_0x28cf9e(0x139)][_0x28cf9e(0x196)](_0x5ae3db)&&(_0x5be588[_0x28cf9e(0x1a2)]=!0x1),function(_0x1e6dc0,_0x4507e9,_0x45a011){const _0x1ff092=_0x28cf9e,_0x51829c=_0x1e6dc0[_0x1ff092(0x131)](_0x1ff092(0x172),_0x4507e9);return _0x1e6dc0[_0x1ff092(0x186)](_0x1ff092(0x14c),!0x0,_0x51829c),_0x51829c[_0x1ff092(0x18e)]=function(_0x5a2bbe){const _0x48741e=_0x1ff092,_0x3a7b14=this[_0x48741e(0x185)](_0x5a2bbe),_0x27fc88=document[_0x48741e(0x1a1)](_0x48741e(0x172));return _0x27fc88[_0x48741e(0x192)][_0x48741e(0x175)](_0x48741e(0x170)),_0x27fc88[_0x48741e(0x143)](_0x48741e(0x1a2),_0x48741e(0x179)),_0x27fc88[_0x48741e(0x143)](_0x48741e(0x183),_0x48741e(0x179)),_0x27fc88[_0x48741e(0x18a)]=_0x45a011[_0x48741e(0x184)],_0x3a7b14[_0x48741e(0x14d)]=_0x48741e(0x18f)+_0x27fc88[_0x48741e(0x19d)]+'⁠',_0x3a7b14[_0x48741e(0x197)](_0x48741e(0x1a0),()=>{const _0x9b0746=_0x48741e;_0x3a7b14[_0x9b0746(0x192)][_0x9b0746(0x175)](_0x9b0746(0x166));}),_0x3a7b14[_0x48741e(0x197)](_0x48741e(0x150),()=>{const _0x402969=_0x48741e;_0x3a7b14[_0x402969(0x192)][_0x402969(0x1b2)](_0x402969(0x166));}),_0x3a7b14;},_0x51829c[_0x1ff092(0x13f)]=function(_0x198b22){const _0x5bd33d=_0x1ff092;return!(!this[_0x5bd33d(0x199)](_0x5bd33d(0x14c))||!_0x198b22[_0x5bd33d(0x199)](_0x5bd33d(0x14c))||this[_0x5bd33d(0x15c)](_0x5bd33d(0x14f))!=_0x198b22[_0x5bd33d(0x15c)](_0x5bd33d(0x14f)));},_0x51829c;}(_0x437ae5,_0x5be588,_0x1931aa);}(_0x20fc6f,_0x55a0b3,_0x2f1ab5,_0x23fc4b)}),_0x23fc4b[_0x1f6d49(0x18d)][_0x1f6d49(0x14b)](_0x1f6d49(0x147))[_0x1f6d49(0x17c)]({'model':_0x1f6d49(0x195),'view':_0x25291e=>function(_0xd2d8aa,_0x47c5bb){const _0x20b033=_0x1f6d49,_0x2eb077=_0xd2d8aa[_0x20b033(0x165)][_0x20b033(0x164)](':')[0x2];if(_0x2eb077===_0x47c5bb[_0x20b033(0x15d)])return null;const _0x155e63=_0x47c5bb[_0x20b033(0x18b)](_0x2eb077);if(!_0x155e63)return{'id':_0x2eb077,'classes':[]};return{'id':_0x2eb077,'classes':[_0x20b033(0x135),_0x155e63[_0x20b033(0x161)][_0x20b033(0x12e)]()],'attributes':{'data-session-id':_0x2eb077},'priority':0x7d0+_0x155e63[_0x20b033(0x158)]};}(_0x25291e,_0x2f1ab5)}),function(_0x176e63){const _0x4a6969=_0x1f6d49,_0x209d75=_0x176e63[_0x4a6969(0x139)],_0x37cc64=new Map(),_0x355793=_0x176e63[_0x4a6969(0x198)][_0x4a6969(0x13e)](_0x3e09bc);_0x209d75[_0x4a6969(0x194)]['on'](_0x4a6969(0x18c),(_0x3fe3a4,_0x43e4ad,_0x3ac896,_0x1300ca)=>{const _0x513374=_0x4a6969;if(!_0x1300ca&&_0x37cc64[_0x513374(0x13e)](_0x43e4ad[_0x513374(0x184)]))return _0x37cc64[_0x513374(0x13e)](_0x43e4ad[_0x513374(0x184)])[_0x513374(0x187)](),void _0x37cc64[_0x513374(0x171)](_0x43e4ad[_0x513374(0x184)]);const _0x2fbc14=_0x43e4ad[_0x513374(0x184)][_0x513374(0x164)](':')[0x2];if(_0x2fbc14===_0x355793[_0x513374(0x15d)])return;const _0x10cd6f=_0x513374(0x1a7)+_0x2fbc14;_0x209d75[_0x513374(0x194)][_0x513374(0x13d)](_0x10cd6f)&&_0x176e63[_0x513374(0x163)][_0x513374(0x12b)](_0x10cd6f),_0x43e4ad['on'](_0x513374(0x182),(_0x411306,_0x214f62,_0x3434c2)=>{const _0x47e05a=_0x513374;if(_0x47e05a(0x15a)!=_0x214f62[_0x47e05a(0x1ab)][_0x47e05a(0x162)]&&_0x47e05a(0x15a)==_0x43e4ad[_0x47e05a(0x15f)]()[_0x47e05a(0x1ab)][_0x47e05a(0x162)]&&!_0x37cc64[_0x47e05a(0x13d)](_0x43e4ad[_0x47e05a(0x184)])){const _0x1243bf=_0x209d75[_0x47e05a(0x17a)][_0x47e05a(0x13b)](_0x3434c2[_0x47e05a(0x16c)]);if(_0x1243bf){const _0xdf0428=_0x23859d[_0x47e05a(0x168)](_0x1243bf);_0x37cc64[_0x47e05a(0x152)](_0x43e4ad[_0x47e05a(0x184)],_0xdf0428),_0xdf0428['on'](_0x47e05a(0x182),(_0xaa0e9d,_0x4c5b64,_0xb1188c)=>{const _0x339e27=_0x47e05a;if(_0x339e27(0x15a)==_0xdf0428[_0x339e27(0x1ab)][_0x339e27(0x162)]){const _0x292923=_0x209d75[_0x339e27(0x17a)][_0x339e27(0x13b)](_0xb1188c[_0x339e27(0x16c)]);_0x292923?(_0xdf0428[_0x339e27(0x180)]=_0x292923[_0x339e27(0x180)],_0xdf0428[_0x339e27(0x138)]=_0x292923[_0x339e27(0x138)]):(_0x37cc64[_0x339e27(0x171)](_0x43e4ad[_0x339e27(0x184)]),_0xdf0428[_0x339e27(0x187)]());}});}}});}),_0x209d75[_0x4a6969(0x1b1)]['on'](_0x4a6969(0x155),()=>{const _0x426149=_0x4a6969;_0x37cc64[_0x426149(0x127)]>0x0&&_0x209d75[_0x426149(0x156)]({'isUndoable':!0x1},_0x1adfa7=>{const _0x4b15e4=_0x426149;for(const [_0x2f7aab,_0x905b93]of _0x37cc64)_0x4b15e4(0x15a)==_0x209d75[_0x4b15e4(0x194)][_0x4b15e4(0x13e)](_0x2f7aab)[_0x4b15e4(0x15f)]()[_0x4b15e4(0x1ab)][_0x4b15e4(0x162)]&&(Y(_0x2f7aab[_0x4b15e4(0x164)](':')[0x2],_0x905b93[_0x4b15e4(0x137)](),_0x209d75,_0x1adfa7),_0x905b93[_0x4b15e4(0x187)]());_0x37cc64[_0x4b15e4(0x15b)]();});});}(_0x23fc4b),this[_0x1f6d49(0x13c)][_0x1f6d49(0x167)](_0x35da09[_0x1f6d49(0x1b1)],_0x1f6d49(0x188),(_0x46623b,{key:_0x54cb8d})=>{const _0x5c3967=_0x1f6d49;_0x5c3967(0x159)===_0x54cb8d&&function(_0x553259){const _0x2936ce=_0x5c3967;_0x553259[_0x2936ce(0x163)][_0x2936ce(0x134)][_0x2936ce(0x155)](_0x450480=>{const _0x20135b=_0x2936ce;for(const _0x16f01b of _0x553259[_0x20135b(0x139)][_0x20135b(0x194)]){if(!_0x16f01b[_0x20135b(0x184)][_0x20135b(0x16a)](_0x20135b(0x157)))continue;const _0x19150e=_0x553259[_0x20135b(0x163)][_0x20135b(0x16d)][_0x20135b(0x130)](_0x16f01b[_0x20135b(0x184)]);if(_0x19150e){for(const _0x58d16e of _0x19150e)_0x450480[_0x20135b(0x14a)](_0x20135b(0x166),_0x58d16e);}}});}(_0x23fc4b);},{'useCapture':!0x0});}[_0x5e8d7f(0x136)](){const _0xbc2718=_0x5e8d7f,_0x52358b=this[_0xbc2718(0x12d)],_0x503959=_0x52358b[_0xbc2718(0x16f)][_0xbc2718(0x13e)](_0xbc2718(0x176));_0x503959&&_0x52358b[_0xbc2718(0x139)]['on'](_0xbc2718(0x19e),(_0x414388,_0x48bac9)=>{const _0x1c4a82=_0xbc2718,_0x4041a3=_0x48bac9[0x0];if(!_0x4041a3[_0x1c4a82(0x125)])return;if(_0x1c4a82(0x153)!=_0x4041a3[_0x1c4a82(0x190)]||!_0x4041a3[_0x1c4a82(0x184)][_0x1c4a82(0x16a)](_0x1c4a82(0x1a5)))return;const _0x70eb62=_0x4041a3[_0x1c4a82(0x17b)];_0x503959[_0x1c4a82(0x12c)][_0x1c4a82(0x13d)](_0x70eb62)&&(_0x4041a3[_0x1c4a82(0x144)]=_0x4041a3[_0x1c4a82(0x14e)]?_0x52358b[_0x1c4a82(0x139)][_0x1c4a82(0x160)](_0x4041a3[_0x1c4a82(0x14e)][_0x1c4a82(0x180)],_0x4041a3[_0x1c4a82(0x14e)][_0x1c4a82(0x138)]):null);},{'priority':_0xbc2718(0x16e)});}[_0x5e8d7f(0x12f)](){const _0x13571c=_0x5e8d7f;return this[_0x13571c(0x13c)][_0x13571c(0x19c)](),super[_0x13571c(0x12f)]();}[_0x5e8d7f(0x142)](){const _0x13b789=_0x5e8d7f,_0x4c43e0=this[_0x13b789(0x12d)],_0x42ec23=_0x4c43e0[_0x13b789(0x139)][_0x13b789(0x1b1)],_0x1fe4f6=_0x4c43e0[_0x13b789(0x198)][_0x13b789(0x13e)](_0x3e09bc);_0x4c43e0[_0x13b789(0x139)][_0x13b789(0x156)]({'isUndoable':!0x1},_0x55dbeb=>{const _0x5e479c=_0x13b789,_0x430e13=_0x5e479c(0x146)+_0x1fe4f6[_0x5e479c(0x15d)],_0x2f4ffa=_0x5e479c(0x1a7)+_0x1fe4f6[_0x5e479c(0x15d)],_0x19dbc3=_0x4c43e0[_0x5e479c(0x139)][_0x5e479c(0x194)][_0x5e479c(0x13d)](_0x430e13);_0x4c43e0[_0x5e479c(0x163)][_0x5e479c(0x134)][_0x5e479c(0x148)]?Y(_0x1fe4f6[_0x5e479c(0x15d)],_0x42ec23[_0x5e479c(0x1ae)][_0x5e479c(0x1b0)](),_0x4c43e0[_0x5e479c(0x139)],_0x55dbeb):_0x19dbc3&&(_0x55dbeb[_0x5e479c(0x1ac)](_0x430e13),_0x55dbeb[_0x5e479c(0x1ac)](_0x2f4ffa));});}}function Y(_0x50cdbc,_0x367abd,_0x4113c6,_0xc07cab){const _0x1e39c2=_0x5e8d7f,_0x42548b=_0x1e39c2(0x146)+_0x50cdbc,_0x294ee3=_0x1e39c2(0x1a7)+_0x50cdbc,_0x2ad8a7=_0x367abd[_0x1e39c2(0x145)]();let _0x41dcb0=_0x367abd[_0x1e39c2(0x180)];if(_0x2ad8a7&&_0x2ad8a7['is'](_0x1e39c2(0x1a4),_0x1e39c2(0x133))){const _0x1e9c3e=function(_0x713113,_0x581065){const _0x37c5c3=_0x1e39c2;for(const _0x16cc78 of _0x713113[_0x37c5c3(0x149)]())if(_0x581065[_0x37c5c3(0x17a)][_0x37c5c3(0x17d)](_0x16cc78,_0x37c5c3(0x1a6)))return _0x16cc78;}(_0x367abd,_0x4113c6);_0x1e9c3e&&(_0x41dcb0=_0x1e9c3e,_0x367abd=_0xc07cab[_0x1e39c2(0x160)](_0x41dcb0));}const _0x3dbf31=_0xc07cab[_0x1e39c2(0x160)](_0x41dcb0);_0x4113c6[_0x1e39c2(0x194)][_0x1e39c2(0x13d)](_0x42548b)?(_0xc07cab[_0x1e39c2(0x126)](_0x42548b,{'range':_0x367abd}),_0xc07cab[_0x1e39c2(0x126)](_0x294ee3,{'range':_0x3dbf31})):(_0xc07cab[_0x1e39c2(0x173)](_0x42548b,{'range':_0x367abd,'usingOperation':!0x0}),_0xc07cab[_0x1e39c2(0x173)](_0x294ee3,{'range':_0x3dbf31,'usingOperation':!0x0}));}
23
+ const _0x1bc87f=_0x3f64;(function(_0x46def3,_0xd8725e){const _0x38ee0b=_0x3f64,_0x4aec59=_0x46def3();while(!![]){try{const _0x35bdd5=-parseInt(_0x38ee0b(0x130))/0x1+parseInt(_0x38ee0b(0x18b))/0x2+-parseInt(_0x38ee0b(0x15d))/0x3+parseInt(_0x38ee0b(0x145))/0x4*(parseInt(_0x38ee0b(0x157))/0x5)+-parseInt(_0x38ee0b(0x17b))/0x6+-parseInt(_0x38ee0b(0x13f))/0x7+parseInt(_0x38ee0b(0x117))/0x8;if(_0x35bdd5===_0xd8725e)break;else _0x4aec59['push'](_0x4aec59['shift']());}catch(_0x19badb){_0x4aec59['push'](_0x4aec59['shift']());}}}(_0x3723,0x45c08));function _0x3f64(_0x1e088b,_0x2041f9){const _0x37234c=_0x3723();return _0x3f64=function(_0x3f6490,_0x360223){_0x3f6490=_0x3f6490-0x112;let _0x1756a8=_0x37234c[_0x3f6490];return _0x1756a8;},_0x3f64(_0x1e088b,_0x2041f9);}import{Plugin as _0x536526}from'ckeditor5/src/core.js';import{global as _0x5b8abf,DomEmitterMixin as _0x9ccdb3}from'ckeditor5/src/utils.js';import{Sessions as _0x221bf1}from'./sessions.js';import{ModelLiveRange as _0x335d88}from'ckeditor5/src/engine.js';function _0x3723(){const _0x24fff0=['getSelectionClass','remove','124bYvwnK','toDomElement','contenteditable','createUIElement','markerNameToElements','user:','split','listenTo','outerHTML','afterInit','conversion','schema','getAttribute','type','view','user:range:','$graveyard','updateMarker','39230DFoaCZ','pluginName','hasDomSelection','spellcheck','editing','mouseenter','1536156vriRJT','innerHTML','removeMarker','tableCell','highest','clear','createElement','set','classList','ck-user__marker_hovered','delete','markerRange','ck-user__marker\x20','batch','toRange','nodeAfter','rootName','fromRange','isCollapsed','start','markerToElement','getContainedElement','oldRange','ck-user__marker-tooltip','applyOperation','mouseleave','getUserBySessionId','markers','name','keydown','1886304aRzfLm','user:position','_domEmitter','addMarker','enqueueChange','userPositionMarker','has','isInline','init','user:range','plugins','markerToHighlight','selection','change','destroy','isLimit','1035128ukUfUq','detach','get','ck-user__selection','for','false','document','editor','addEventListener','add','span','orderNumber','UserMarkers','_createdBatches','isSimilar','getNearestSelectionRange','stopListening','marker','data-session-id','size','getPositions','6858144kEBbXv','undo','color','markerName','commands','createRange','root','deletionPosition','model','mapper','newRange','isOfficialPlugin','Escape','reconvertMarker','render','checkChild','textContent','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','update:user:range','end','parent','isObject','user:position:','element','requires','65479JPAimF','getRange','getFirstRange','getCustomProperty','removeClass','startsWith','mySessionId','setAttribute','isPremiumPlugin','hasContent','getMarkerClass','$text','setCustomProperty','editingDowncast','change:range','3083073Hbtbfr','createUserMarkerOperations','isDocumentOperation','getStart'];_0x3723=function(){return _0x24fff0;};return _0x3723();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x536526{[_0x1bc87f(0x17d)]=new(_0x9ccdb3())();static get[_0x1bc87f(0x12f)](){return[_0x221bf1];}static get[_0x1bc87f(0x158)](){const _0x8e6d68=_0x1bc87f;return _0x8e6d68(0x197);}static get[_0x1bc87f(0x122)](){return!0x0;}static get[_0x1bc87f(0x138)](){return!0x0;}[_0x1bc87f(0x183)](){const _0x12d1c6=_0x1bc87f,_0x3075e1=this[_0x12d1c6(0x192)],_0x584338=_0x3075e1[_0x12d1c6(0x185)][_0x12d1c6(0x18d)](_0x221bf1);_0x3075e1[_0x12d1c6(0x14f)][_0x12d1c6(0x18f)](_0x12d1c6(0x13d))[_0x12d1c6(0x171)]({'model':_0x12d1c6(0x17c),'view':(_0x4c3f9e,{writer:_0x1f6b37})=>function(_0x17b99e,_0x28ed4,_0x47239c,_0x5667dc){const _0xf70ba9=_0x12d1c6,_0x11f7ba=_0x17b99e[_0xf70ba9(0x11a)][_0xf70ba9(0x14b)](':')[0x2],_0x4cc746=_0x47239c[_0xf70ba9(0x177)](_0x11f7ba);if(!_0x4cc746||_0x11f7ba===_0x47239c[_0xf70ba9(0x136)])return;if(!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)][_0xf70ba9(0x126)](_0x17b99e[_0xf70ba9(0x168)][_0xf70ba9(0x170)],_0xf70ba9(0x13b)))return;const _0x285603={'class':_0xf70ba9(0x169)+_0x4cc746[_0xf70ba9(0x119)][_0xf70ba9(0x13a)](),'data-name':_0x4cc746[_0xf70ba9(0x179)],'data-session-id':_0x11f7ba},_0x36c446=_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x178)][_0xf70ba9(0x18d)](_0x17b99e[_0xf70ba9(0x11a)]),_0x469581=_0x36c446[_0xf70ba9(0x142)](),_0x457948=_0x469581[_0xf70ba9(0x16c)],_0xd57ccf=_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)];if(_0x457948&&_0xd57ccf[_0xf70ba9(0x12c)](_0x457948)&&_0xd57ccf[_0xf70ba9(0x182)](_0x457948)&&!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x178)][_0xf70ba9(0x18d)](_0xf70ba9(0x154)+_0x11f7ba)[_0xf70ba9(0x131)]()[_0xf70ba9(0x16f)])return;const _0x33fd94=_0x469581[_0xf70ba9(0x12b)];return _0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x150)][_0xf70ba9(0x18a)](_0x33fd94)&&!_0x5667dc[_0xf70ba9(0x11f)][_0xf70ba9(0x139)](_0x33fd94)&&(_0x285603[_0xf70ba9(0x147)]=!0x1),function(_0x112726,_0x4e31a3,_0x53c9ae){const _0x5d240f=_0xf70ba9,_0x1d0226=_0x112726[_0x5d240f(0x148)](_0x5d240f(0x195),_0x4e31a3);return _0x112726[_0x5d240f(0x13c)](_0x5d240f(0x180),!0x0,_0x1d0226),_0x1d0226[_0x5d240f(0x125)]=function(_0x254316){const _0x551994=_0x5d240f,_0x3f7981=this[_0x551994(0x146)](_0x254316),_0x1e90b4=document[_0x551994(0x163)](_0x551994(0x195));return _0x1e90b4[_0x551994(0x165)][_0x551994(0x194)](_0x551994(0x174)),_0x1e90b4[_0x551994(0x137)](_0x551994(0x147),_0x551994(0x190)),_0x1e90b4[_0x551994(0x137)](_0x551994(0x15a),_0x551994(0x190)),_0x1e90b4[_0x551994(0x127)]=_0x53c9ae[_0x551994(0x179)],_0x3f7981[_0x551994(0x15e)]=_0x551994(0x128)+_0x1e90b4[_0x551994(0x14d)]+'⁠',_0x3f7981[_0x551994(0x193)](_0x551994(0x15c),()=>{const _0x11158e=_0x551994;_0x3f7981[_0x11158e(0x165)][_0x11158e(0x194)](_0x11158e(0x166));}),_0x3f7981[_0x551994(0x193)](_0x551994(0x176),()=>{const _0x5585a5=_0x551994;_0x3f7981[_0x5585a5(0x165)][_0x5585a5(0x144)](_0x5585a5(0x166));}),_0x3f7981;},_0x1d0226[_0x5d240f(0x199)]=function(_0x506d03){const _0x3c7811=_0x5d240f;return!(!this[_0x3c7811(0x133)](_0x3c7811(0x180))||!_0x506d03[_0x3c7811(0x133)](_0x3c7811(0x180))||this[_0x3c7811(0x151)](_0x3c7811(0x114))!=_0x506d03[_0x3c7811(0x151)](_0x3c7811(0x114)));},_0x1d0226;}(_0x28ed4,_0x285603,_0x4cc746);}(_0x4c3f9e,_0x1f6b37,_0x584338,_0x3075e1)}),_0x3075e1[_0x12d1c6(0x14f)][_0x12d1c6(0x18f)](_0x12d1c6(0x13d))[_0x12d1c6(0x186)]({'model':_0x12d1c6(0x184),'view':_0x22e1c6=>function(_0x49f313,_0x23d467){const _0x506021=_0x12d1c6,_0x79b270=_0x49f313[_0x506021(0x11a)][_0x506021(0x14b)](':')[0x2];if(_0x79b270===_0x23d467[_0x506021(0x136)])return null;const _0x590fa3=_0x23d467[_0x506021(0x177)](_0x79b270);if(!_0x590fa3)return{'id':_0x79b270,'classes':[]};return{'id':_0x79b270,'classes':[_0x506021(0x18e),_0x590fa3[_0x506021(0x119)][_0x506021(0x143)]()],'attributes':{'data-session-id':_0x79b270},'priority':0x7d0+_0x590fa3[_0x506021(0x196)]};}(_0x22e1c6,_0x584338)}),function(_0x9c607a){const _0x303da7=_0x12d1c6,_0x5a0614=_0x9c607a[_0x303da7(0x11f)],_0xedf9c9=new Map(),_0x531652=_0x9c607a[_0x303da7(0x185)][_0x303da7(0x18d)](_0x221bf1);_0x5a0614[_0x303da7(0x178)]['on'](_0x303da7(0x129),(_0x32cd9b,_0x3e6c10,_0x59a22a,_0x9fd3cc)=>{const _0x19a911=_0x303da7;if(!_0x9fd3cc&&_0xedf9c9[_0x19a911(0x18d)](_0x3e6c10[_0x19a911(0x179)]))return _0xedf9c9[_0x19a911(0x18d)](_0x3e6c10[_0x19a911(0x179)])[_0x19a911(0x18c)](),void _0xedf9c9[_0x19a911(0x167)](_0x3e6c10[_0x19a911(0x179)]);const _0x14a553=_0x3e6c10[_0x19a911(0x179)][_0x19a911(0x14b)](':')[0x2];if(_0x14a553===_0x531652[_0x19a911(0x136)])return;const _0x5d4e9d=_0x19a911(0x12d)+_0x14a553;_0x5a0614[_0x19a911(0x178)][_0x19a911(0x181)](_0x5d4e9d)&&_0x9c607a[_0x19a911(0x15b)][_0x19a911(0x124)](_0x5d4e9d),_0x3e6c10['on'](_0x19a911(0x13e),(_0xef2e9a,_0x169b18,_0x2e8f40)=>{const _0x55b0c1=_0x19a911;if(_0x55b0c1(0x155)!=_0x169b18[_0x55b0c1(0x11d)][_0x55b0c1(0x16d)]&&_0x55b0c1(0x155)==_0x3e6c10[_0x55b0c1(0x131)]()[_0x55b0c1(0x11d)][_0x55b0c1(0x16d)]&&!_0xedf9c9[_0x55b0c1(0x181)](_0x3e6c10[_0x55b0c1(0x179)])){const _0xa86563=_0x5a0614[_0x55b0c1(0x150)][_0x55b0c1(0x19a)](_0x2e8f40[_0x55b0c1(0x11e)]);if(_0xa86563){const _0x5a0992=_0x335d88[_0x55b0c1(0x16e)](_0xa86563);_0xedf9c9[_0x55b0c1(0x164)](_0x3e6c10[_0x55b0c1(0x179)],_0x5a0992),_0x5a0992['on'](_0x55b0c1(0x13e),(_0x32afd9,_0x271b63,_0x5a5bb0)=>{const _0x3b43c5=_0x55b0c1;if(_0x3b43c5(0x155)==_0x5a0992[_0x3b43c5(0x11d)][_0x3b43c5(0x16d)]){const _0x3d0fa3=_0x5a0614[_0x3b43c5(0x150)][_0x3b43c5(0x19a)](_0x5a5bb0[_0x3b43c5(0x11e)]);_0x3d0fa3?(_0x5a0992[_0x3b43c5(0x170)]=_0x3d0fa3[_0x3b43c5(0x170)],_0x5a0992[_0x3b43c5(0x12a)]=_0x3d0fa3[_0x3b43c5(0x12a)]):(_0xedf9c9[_0x3b43c5(0x167)](_0x3e6c10[_0x3b43c5(0x179)]),_0x5a0992[_0x3b43c5(0x18c)]());}});}}});}),_0x5a0614[_0x303da7(0x191)]['on'](_0x303da7(0x188),()=>{const _0x5398fd=_0x303da7;_0xedf9c9[_0x5398fd(0x115)]>0x0&&_0x5a0614[_0x5398fd(0x17f)]({'isUndoable':!0x1},_0x22b56d=>{const _0x5ecc2b=_0x5398fd;for(const [_0x205131,_0x5945f3]of _0xedf9c9)_0x5ecc2b(0x155)==_0x5a0614[_0x5ecc2b(0x178)][_0x5ecc2b(0x18d)](_0x205131)[_0x5ecc2b(0x131)]()[_0x5ecc2b(0x11d)][_0x5ecc2b(0x16d)]&&(q(_0x205131[_0x5ecc2b(0x14b)](':')[0x2],_0x5945f3[_0x5ecc2b(0x16b)](),_0x5a0614,_0x22b56d),_0x5945f3[_0x5ecc2b(0x18c)]());_0xedf9c9[_0x5ecc2b(0x162)]();});});}(_0x3075e1),this[_0x12d1c6(0x17d)][_0x12d1c6(0x14c)](_0x5b8abf[_0x12d1c6(0x191)],_0x12d1c6(0x17a),(_0x1f43a9,{key:_0x5d6987})=>{const _0x358235=_0x12d1c6;_0x358235(0x123)===_0x5d6987&&function(_0x1c5a9c){const _0x314e27=_0x358235;_0x1c5a9c[_0x314e27(0x15b)][_0x314e27(0x153)][_0x314e27(0x188)](_0x41d6b3=>{const _0x59a07b=_0x314e27;for(const _0x3f126b of _0x1c5a9c[_0x59a07b(0x11f)][_0x59a07b(0x178)]){if(!_0x3f126b[_0x59a07b(0x179)][_0x59a07b(0x135)](_0x59a07b(0x17c)))continue;const _0x326f1f=_0x1c5a9c[_0x59a07b(0x15b)][_0x59a07b(0x120)][_0x59a07b(0x149)](_0x3f126b[_0x59a07b(0x179)]);if(_0x326f1f){for(const _0x469131 of _0x326f1f)_0x41d6b3[_0x59a07b(0x134)](_0x59a07b(0x166),_0x469131);}}});}(_0x3075e1);},{'useCapture':!0x0});}[_0x1bc87f(0x14e)](){const _0x384227=_0x1bc87f,_0x53b189=this[_0x384227(0x192)],_0x5f45fa=_0x53b189[_0x384227(0x11b)][_0x384227(0x18d)](_0x384227(0x118));_0x5f45fa&&_0x53b189[_0x384227(0x11f)]['on'](_0x384227(0x175),(_0x27af90,_0xfbb288)=>{const _0x4158a8=_0x384227,_0x5efdb9=_0xfbb288[0x0];if(!_0x5efdb9[_0x4158a8(0x141)])return;if(_0x4158a8(0x113)!=_0x5efdb9[_0x4158a8(0x152)]||!_0x5efdb9[_0x4158a8(0x179)][_0x4158a8(0x135)](_0x4158a8(0x14a)))return;const _0x521d9d=_0x5efdb9[_0x4158a8(0x16a)];_0x5f45fa[_0x4158a8(0x198)][_0x4158a8(0x181)](_0x521d9d)&&(_0x5efdb9[_0x4158a8(0x121)]=_0x5efdb9[_0x4158a8(0x173)]?_0x53b189[_0x4158a8(0x11f)][_0x4158a8(0x11c)](_0x5efdb9[_0x4158a8(0x173)][_0x4158a8(0x170)],_0x5efdb9[_0x4158a8(0x173)][_0x4158a8(0x12a)]):null);},{'priority':_0x384227(0x161)});}[_0x1bc87f(0x189)](){const _0x137a60=_0x1bc87f;return this[_0x137a60(0x17d)][_0x137a60(0x112)](),super[_0x137a60(0x189)]();}[_0x1bc87f(0x140)](){const _0x1bd2ba=_0x1bc87f,_0x56cb7e=this[_0x1bd2ba(0x192)],_0x333e26=_0x56cb7e[_0x1bd2ba(0x11f)][_0x1bd2ba(0x191)],_0x2fe22a=_0x56cb7e[_0x1bd2ba(0x185)][_0x1bd2ba(0x18d)](_0x221bf1);_0x56cb7e[_0x1bd2ba(0x11f)][_0x1bd2ba(0x17f)]({'isUndoable':!0x1},_0x486f53=>{const _0x2582eb=_0x1bd2ba,_0x33b672=_0x2582eb(0x154)+_0x2fe22a[_0x2582eb(0x136)],_0xd14d6e=_0x2582eb(0x12d)+_0x2fe22a[_0x2582eb(0x136)],_0xa66bd=_0x56cb7e[_0x2582eb(0x11f)][_0x2582eb(0x178)][_0x2582eb(0x181)](_0x33b672);_0x56cb7e[_0x2582eb(0x15b)][_0x2582eb(0x153)][_0x2582eb(0x159)]?q(_0x2fe22a[_0x2582eb(0x136)],_0x333e26[_0x2582eb(0x187)][_0x2582eb(0x132)](),_0x56cb7e[_0x2582eb(0x11f)],_0x486f53):_0xa66bd&&(_0x486f53[_0x2582eb(0x15f)](_0x33b672),_0x486f53[_0x2582eb(0x15f)](_0xd14d6e));});}}function q(_0x3798a4,_0x49c938,_0xb80bbc,_0x2f7e3c){const _0x4ff699=_0x1bc87f,_0x2693dd=_0x4ff699(0x154)+_0x3798a4,_0x42d917=_0x4ff699(0x12d)+_0x3798a4,_0x22adf8=_0x49c938[_0x4ff699(0x172)]();let _0x356e10=_0x49c938[_0x4ff699(0x170)];if(_0x22adf8&&_0x22adf8['is'](_0x4ff699(0x12e),_0x4ff699(0x160))){const _0x19dc43=function(_0x5ac2ff,_0x56e41c){const _0x516bca=_0x4ff699;for(const _0x92f84e of _0x5ac2ff[_0x516bca(0x116)]())if(_0x56e41c[_0x516bca(0x150)][_0x516bca(0x126)](_0x92f84e,_0x516bca(0x13b)))return _0x92f84e;}(_0x49c938,_0xb80bbc);_0x19dc43&&(_0x356e10=_0x19dc43,_0x49c938=_0x2f7e3c[_0x4ff699(0x11c)](_0x356e10));}const _0x20d142=_0x2f7e3c[_0x4ff699(0x11c)](_0x356e10);_0xb80bbc[_0x4ff699(0x178)][_0x4ff699(0x181)](_0x2693dd)?(_0x2f7e3c[_0x4ff699(0x156)](_0x2693dd,{'range':_0x49c938}),_0x2f7e3c[_0x4ff699(0x156)](_0x42d917,{'range':_0x20d142})):(_0x2f7e3c[_0x4ff699(0x17e)](_0x2693dd,{'range':_0x49c938,'usingOperation':!0x0}),_0x2f7e3c[_0x4ff699(0x17e)](_0x42d917,{'range':_0x20d142,'usingOperation':!0x0}));}