@ckeditor/ckeditor5-real-time-collaboration 47.1.0 → 47.2.0-alpha.1

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
- function _0x30d9(_0x4674d7,_0x3999af){const _0x26a6bf=_0x26a6();return _0x30d9=function(_0x30d92b,_0x2b17e6){_0x30d92b=_0x30d92b-0x1bb;let _0x35d613=_0x26a6bf[_0x30d92b];return _0x35d613;},_0x30d9(_0x4674d7,_0x3999af);}const _0x1bdd93=_0x30d9;(function(_0x59c830,_0x172eba){const _0x47fc07=_0x30d9,_0x170055=_0x59c830();while(!![]){try{const _0x1b8182=-parseInt(_0x47fc07(0x1c3))/0x1*(parseInt(_0x47fc07(0x1ca))/0x2)+-parseInt(_0x47fc07(0x1e1))/0x3+-parseInt(_0x47fc07(0x1be))/0x4*(parseInt(_0x47fc07(0x1ce))/0x5)+-parseInt(_0x47fc07(0x1df))/0x6+parseInt(_0x47fc07(0x1d8))/0x7+parseInt(_0x47fc07(0x1c0))/0x8*(-parseInt(_0x47fc07(0x1c2))/0x9)+parseInt(_0x47fc07(0x1c4))/0xa;if(_0x1b8182===_0x172eba)break;else _0x170055['push'](_0x170055['shift']());}catch(_0x4f309e){_0x170055['push'](_0x170055['shift']());}}}(_0x26a6,0xe5002));import{View as _0x85c164}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x52f299}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a071f}from'../../common-translations.js';function _0x26a6(){const _0x4b4337=['element','1843016DtQAGg','items','isExpanded','list','presencelist:hide','removeAttribute','set','10993788AVQwza','focus','5271807aHLOYq','hasPopup','bindTemplate','listenTo','20dmAFtx','createCollection','256PSLmmo','ck-presence-list__list','138789HBCZID','11mXWUmk','67349330yntpbm','keystrokes','contains','.ck-presence-list__dropdown-list','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','264362YarpWb','change:hasPopup','querySelector','.ck-balloon-panel_with-arrow','523205ldfnkX','div','setTemplate','Connected\x20users\x20list','aria-expanded','relatedTarget','render','setAttribute','presencelist:show'];_0x26a6=function(){return _0x4b4337;};return _0x26a6();}export class PresenceInlineListView extends _0x85c164{[_0x1bdd93(0x1d9)];[_0x1bdd93(0x1c5)];constructor(_0x273c6c){const _0x50160f=_0x1bdd93;super(_0x273c6c);const _0x1960e7=this[_0x50160f(0x1bc)];this[_0x50160f(0x1d9)]=this[_0x50160f(0x1bf)](),this[_0x50160f(0x1c5)]=new _0x52f299(),this[_0x50160f(0x1de)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x50160f(0x1d0)]({'tag':_0x50160f(0x1cf),'attributes':{'aria-haspopup':_0x1960e7['if'](_0x50160f(0x1bb)),'aria-expanded':_0x1960e7['to'](_0x50160f(0x1da),_0x2f569e=>this[_0x50160f(0x1bb)]&&String(_0x2f569e)),'aria-label':_0x1960e7['to'](_0x50160f(0x1bb),_0x20ab42=>_0x5a071f(_0x273c6c,_0x20ab42?_0x50160f(0x1c9):_0x50160f(0x1d1))),'role':_0x50160f(0x1db),'tabindex':_0x1960e7['to'](_0x50160f(0x1bb),_0x54dd85=>!!_0x54dd85&&0x0),'class':['ck',_0x50160f(0x1c1)]},'children':this[_0x50160f(0x1d9)],'on':{'mouseenter':_0x1960e7['to'](()=>this[_0x50160f(0x1c8)](_0x50160f(0x1d6))),'mouseleave':_0x1960e7['to'](_0x551a3c=>{const _0x3a12c0=_0x50160f,_0x43b2b0=_0x551a3c,_0xa087d6=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1c7)),_0x34445e=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1cd));_0xa087d6?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||_0x34445e?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||this[_0x3a12c0(0x1c8)](_0x3a12c0(0x1dc));})}}),this['on'](_0x50160f(0x1cb),(_0x155d94,_0x7784d6,_0x3e5fc1)=>{const _0xfe19a2=_0x50160f;this[_0xfe19a2(0x1d7)]&&(_0x3e5fc1?this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1d5)](_0xfe19a2(0x1d2),String(this[_0xfe19a2(0x1da)])):this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1dd)](_0xfe19a2(0x1d2)));});}[_0x1bdd93(0x1e0)](){const _0x3147ff=_0x1bdd93;this[_0x3147ff(0x1d7)][_0x3147ff(0x1e0)]();}[_0x1bdd93(0x1d4)](){const _0x5d0688=_0x1bdd93;super[_0x5d0688(0x1d4)](),this[_0x5d0688(0x1c5)][_0x5d0688(0x1bd)](this[_0x5d0688(0x1d7)]);}}
23
+ const _0x4b23a1=_0x544b;function _0x361d(){const _0x475606=['fire','setAttribute','focus','.ck-presence-list__dropdown-list','7HqMFiH','createCollection','2563440olWgse','listenTo','div','set','contains','relatedTarget','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','28842viPhxg','Connected\x20users\x20list','keystrokes','3NSPfMl','items','1230258HOzChj','197012GEHKcW','hasPopup','presencelist:show','setTemplate','ck-presence-list__list','removeAttribute','isExpanded','785205ssnNaY','16ajgLPh','change:hasPopup','render','presencelist:hide','22653sbzhgk','.ck-balloon-panel_with-arrow','317160wDVdeF','2llpHBg','querySelector','list','aria-expanded','bindTemplate'];_0x361d=function(){return _0x475606;};return _0x361d();}(function(_0x27decb,_0x5d9d6d){const _0x1a87cf=_0x544b,_0x14126e=_0x27decb();while(!![]){try{const _0x577eac=parseInt(_0x1a87cf(0x16e))/0x1*(parseInt(_0x1a87cf(0x171))/0x2)+-parseInt(_0x1a87cf(0x187))/0x3*(-parseInt(_0x1a87cf(0x18a))/0x4)+-parseInt(_0x1a87cf(0x170))/0x5+parseInt(_0x1a87cf(0x189))/0x6*(parseInt(_0x1a87cf(0x17a))/0x7)+-parseInt(_0x1a87cf(0x16a))/0x8*(-parseInt(_0x1a87cf(0x169))/0x9)+-parseInt(_0x1a87cf(0x17c))/0xa+parseInt(_0x1a87cf(0x184))/0xb;if(_0x577eac===_0x5d9d6d)break;else _0x14126e['push'](_0x14126e['shift']());}catch(_0x25c588){_0x14126e['push'](_0x14126e['shift']());}}}(_0x361d,0x20c8d));function _0x544b(_0x525bf1,_0x2be745){const _0x361dfd=_0x361d();return _0x544b=function(_0x544b6d,_0x2f6825){_0x544b6d=_0x544b6d-0x167;let _0x3fbcc3=_0x361dfd[_0x544b6d];return _0x3fbcc3;},_0x544b(_0x525bf1,_0x2be745);}import{View as _0x1a5dd7}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x34e0c2}from'ckeditor5/src/utils.js';import{getTranslation as _0x56ba23}from'../../common-translations.js';export class PresenceInlineListView extends _0x1a5dd7{[_0x4b23a1(0x188)];[_0x4b23a1(0x186)];constructor(_0x1a6872){const _0x49b4be=_0x4b23a1;super(_0x1a6872);const _0x7a0349=this[_0x49b4be(0x175)];this[_0x49b4be(0x188)]=this[_0x49b4be(0x17b)](),this[_0x49b4be(0x186)]=new _0x34e0c2(),this[_0x49b4be(0x17f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x49b4be(0x18d)]({'tag':_0x49b4be(0x17e),'attributes':{'aria-haspopup':_0x7a0349['if'](_0x49b4be(0x18b)),'aria-expanded':_0x7a0349['to'](_0x49b4be(0x168),_0x21b4bd=>this[_0x49b4be(0x18b)]&&String(_0x21b4bd)),'aria-label':_0x7a0349['to'](_0x49b4be(0x18b),_0x3e4b86=>_0x56ba23(_0x1a6872,_0x3e4b86?_0x49b4be(0x183):_0x49b4be(0x185))),'role':_0x49b4be(0x173),'tabindex':_0x7a0349['to'](_0x49b4be(0x18b),_0x453afe=>!!_0x453afe&&0x0),'class':['ck',_0x49b4be(0x18e)]},'children':this[_0x49b4be(0x188)],'on':{'mouseenter':_0x7a0349['to'](()=>this[_0x49b4be(0x176)](_0x49b4be(0x18c))),'mouseleave':_0x7a0349['to'](_0x263f96=>{const _0x1b1aee=_0x49b4be,_0x1dd8c5=_0x263f96,_0x4dae76=document[_0x1b1aee(0x172)](_0x1b1aee(0x179)),_0xb2beaf=document[_0x1b1aee(0x172)](_0x1b1aee(0x16f));_0x4dae76?.[_0x1b1aee(0x180)](_0x1dd8c5[_0x1b1aee(0x181)])||_0xb2beaf?.[_0x1b1aee(0x180)](_0x1dd8c5[_0x1b1aee(0x181)])||this[_0x1b1aee(0x176)](_0x1b1aee(0x16d));})}}),this['on'](_0x49b4be(0x16b),(_0x209612,_0x2e1fb6,_0x4c11c9)=>{const _0x126aed=_0x49b4be;this[_0x126aed(0x182)]&&(_0x4c11c9?this[_0x126aed(0x182)][_0x126aed(0x177)](_0x126aed(0x174),String(this[_0x126aed(0x168)])):this[_0x126aed(0x182)][_0x126aed(0x167)](_0x126aed(0x174)));});}[_0x4b23a1(0x178)](){const _0x3090d4=_0x4b23a1;this[_0x3090d4(0x182)][_0x3090d4(0x178)]();}[_0x4b23a1(0x16c)](){const _0x46ce5f=_0x4b23a1;super[_0x46ce5f(0x16c)](),this[_0x46ce5f(0x186)][_0x46ce5f(0x17d)](this[_0x46ce5f(0x182)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2622ea=_0x5593;(function(_0x12c6dc,_0x1ffda0){const _0x5b7746=_0x5593,_0x3567c4=_0x12c6dc();while(!![]){try{const _0x167c78=-parseInt(_0x5b7746(0x1b7))/0x1+parseInt(_0x5b7746(0x1a6))/0x2*(-parseInt(_0x5b7746(0x1aa))/0x3)+parseInt(_0x5b7746(0x1a4))/0x4*(parseInt(_0x5b7746(0x1ba))/0x5)+parseInt(_0x5b7746(0x1b1))/0x6*(parseInt(_0x5b7746(0x1b6))/0x7)+parseInt(_0x5b7746(0x1af))/0x8*(parseInt(_0x5b7746(0x1ac))/0x9)+-parseInt(_0x5b7746(0x1b4))/0xa*(-parseInt(_0x5b7746(0x1b0))/0xb)+-parseInt(_0x5b7746(0x1bf))/0xc;if(_0x167c78===_0x1ffda0)break;else _0x3567c4['push'](_0x3567c4['shift']());}catch(_0x393b57){_0x3567c4['push'](_0x3567c4['shift']());}}}(_0x27b9,0xd65f2));import{View as _0x198819}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5eb100}from'./presencecounterview.js';function _0x27b9(){const _0x21cdc0=['tooltipPosition','648549XZXdom','inlineListView','locale','136LKCyzc','3476EFLQbb','65298ZEFjwJ','bindTemplate','ck-reset','13650sqmHWi','div','1050NIWdCz','829908IRvwMr','counterView','ck-rounded-corners','7912085LINCPy','set','first','listenTo','bind','34589160nsWwhs','ck-presence-list--collapsed','hasPopup','ck-presence-list','4tvzQFW','setTemplate','8260PvBSFI','isCollapsed','items','change','204qXJrcr'];_0x27b9=function(){return _0x21cdc0;};return _0x27b9();}import{PresenceInlineListView as _0x27cac6}from'./presenceinlinelistview.js';function _0x5593(_0x3c11d0,_0x58ccc5){const _0x27b982=_0x27b9();return _0x5593=function(_0x559313,_0x434199){_0x559313=_0x559313-0x1a2;let _0x5db346=_0x27b982[_0x559313];return _0x5db346;},_0x5593(_0x3c11d0,_0x58ccc5);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x198819{[_0x2622ea(0x1b8)];[_0x2622ea(0x1ad)];constructor(_0x28581b,_0x5ca71b=0x6){const _0x139d8e=_0x2622ea;super(_0x28581b);const _0x32231b=this[_0x139d8e(0x1b2)];this[_0x139d8e(0x1bb)](_0x139d8e(0x1a7),!0x0),this[_0x139d8e(0x1b8)]=new _0x5eb100(this[_0x139d8e(0x1ae)],_0x5ca71b),this[_0x139d8e(0x1ad)]=new _0x27cac6(_0x28581b),this[_0x139d8e(0x1ad)][_0x139d8e(0x1be)](_0x139d8e(0x1a2))['to'](this,_0x139d8e(0x1a7)),this[_0x139d8e(0x1bd)](this[_0x139d8e(0x1ad)][_0x139d8e(0x1a8)],_0x139d8e(0x1a9),()=>{const _0x35b349=_0x139d8e;for(const _0x2638f3 of this[_0x35b349(0x1ad)][_0x35b349(0x1a8)])_0x2638f3[_0x35b349(0x1ab)]='s';this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)]&&(this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)][_0x35b349(0x1ab)]='se');}),this[_0x139d8e(0x1a5)]({'tag':_0x139d8e(0x1b5),'attributes':{'class':['ck',_0x139d8e(0x1a3),_0x139d8e(0x1b3),_0x139d8e(0x1b9),_0x32231b['if'](_0x139d8e(0x1a7),_0x139d8e(0x1c0))]},'children':[this[_0x139d8e(0x1ad)]]});}}
23
+ const _0x1df384=_0x2b4c;(function(_0x5c86e3,_0x592a15){const _0x53e2b8=_0x2b4c,_0x394562=_0x5c86e3();while(!![]){try{const _0x53ac87=-parseInt(_0x53e2b8(0x1a7))/0x1*(-parseInt(_0x53e2b8(0x1ab))/0x2)+-parseInt(_0x53e2b8(0x1b3))/0x3*(parseInt(_0x53e2b8(0x1a1))/0x4)+parseInt(_0x53e2b8(0x1a5))/0x5*(-parseInt(_0x53e2b8(0x1b0))/0x6)+parseInt(_0x53e2b8(0x1a0))/0x7*(parseInt(_0x53e2b8(0x1b7))/0x8)+parseInt(_0x53e2b8(0x1a4))/0x9+parseInt(_0x53e2b8(0x1a3))/0xa+-parseInt(_0x53e2b8(0x19f))/0xb;if(_0x53ac87===_0x592a15)break;else _0x394562['push'](_0x394562['shift']());}catch(_0x55030a){_0x394562['push'](_0x394562['shift']());}}}(_0x4a32,0x2f9f8));import{View as _0x14fb87}from'ckeditor5/src/ui.js';function _0x2b4c(_0x52f0fc,_0x542733){const _0x4a3277=_0x4a32();return _0x2b4c=function(_0x2b4c0a,_0x26bb56){_0x2b4c0a=_0x2b4c0a-0x19f;let _0x4b0e8c=_0x4a3277[_0x2b4c0a];return _0x4b0e8c;},_0x2b4c(_0x52f0fc,_0x542733);}import{PresenceCounterView as _0x252c43}from'./presencecounterview.js';function _0x4a32(){const _0x381b50=['set','ck-reset','6055555InmVwl','7LelUyT','4444ABJcmY','listenTo','3861540sUgsxh','2613069HXhpos','84850nZTxjX','ck-presence-list','156463cHDxbW','change','ck-rounded-corners','div','2bpCLvp','ck-presence-list--collapsed','counterView','hasPopup','bindTemplate','54olZQLQ','inlineListView','bind','93NAyBTm','locale','tooltipPosition','items','798256SCWqSx','first','isCollapsed','setTemplate'];_0x4a32=function(){return _0x381b50;};return _0x4a32();}import{PresenceInlineListView as _0x275e88}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x14fb87{[_0x1df384(0x1ad)];[_0x1df384(0x1b1)];constructor(_0x369d10,_0x5c1fcf=0x6){const _0x5d9100=_0x1df384;super(_0x369d10);const _0x526347=this[_0x5d9100(0x1af)];this[_0x5d9100(0x1bb)](_0x5d9100(0x1b9),!0x0),this[_0x5d9100(0x1ad)]=new _0x252c43(this[_0x5d9100(0x1b4)],_0x5c1fcf),this[_0x5d9100(0x1b1)]=new _0x275e88(_0x369d10),this[_0x5d9100(0x1b1)][_0x5d9100(0x1b2)](_0x5d9100(0x1ae))['to'](this,_0x5d9100(0x1b9)),this[_0x5d9100(0x1a2)](this[_0x5d9100(0x1b1)][_0x5d9100(0x1b6)],_0x5d9100(0x1a8),()=>{const _0x26661d=_0x5d9100;for(const _0x50447a of this[_0x26661d(0x1b1)][_0x26661d(0x1b6)])_0x50447a[_0x26661d(0x1b5)]='s';this[_0x26661d(0x1b1)][_0x26661d(0x1b6)][_0x26661d(0x1b8)]&&(this[_0x26661d(0x1b1)][_0x26661d(0x1b6)][_0x26661d(0x1b8)][_0x26661d(0x1b5)]='se');}),this[_0x5d9100(0x1ba)]({'tag':_0x5d9100(0x1aa),'attributes':{'class':['ck',_0x5d9100(0x1a6),_0x5d9100(0x1bc),_0x5d9100(0x1a9),_0x526347['if'](_0x5d9100(0x1b9),_0x5d9100(0x1ac))]},'children':[this[_0x5d9100(0x1b1)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x422f92=_0x32ec;function _0x32ec(_0x1b6a09,_0x5dd8db){var _0x12106b=_0x1210();return _0x32ec=function(_0x32ec41,_0x5b1b6c){_0x32ec41=_0x32ec41-0xe3;var _0x2e91c3=_0x12106b[_0x32ec41];return _0x2e91c3;},_0x32ec(_0x1b6a09,_0x5dd8db);}(function(_0x2a8120,_0x12876d){var _0x24f4a8=_0x32ec,_0x14f1b4=_0x2a8120();while(!![]){try{var _0x4b5142=-parseInt(_0x24f4a8(0xee))/0x1+-parseInt(_0x24f4a8(0xec))/0x2+-parseInt(_0x24f4a8(0xe7))/0x3*(-parseInt(_0x24f4a8(0xed))/0x4)+parseInt(_0x24f4a8(0xf2))/0x5+parseInt(_0x24f4a8(0xe3))/0x6*(parseInt(_0x24f4a8(0xe5))/0x7)+parseInt(_0x24f4a8(0xf1))/0x8*(parseInt(_0x24f4a8(0xf0))/0x9)+-parseInt(_0x24f4a8(0xe4))/0xa*(parseInt(_0x24f4a8(0xe6))/0xb);if(_0x4b5142===_0x12876d)break;else _0x14f1b4['push'](_0x14f1b4['shift']());}catch(_0xf71150){_0x14f1b4['push'](_0x14f1b4['shift']());}}}(_0x1210,0x833f2));function _0x1210(){var _0x4697e5=['4900300RmECjQ','6VZgHkK','13364090ylzGhp','6499591oMIhjF','11FjWVaf','918462IMazmQ','PresenceList','pluginName','isOfficialPlugin','requires','1771836SBWCgI','8lhQIMI','783554dVBpGQ','isPremiumPlugin','35127QdNJHE','2096RQkvWN'];_0x1210=function(){return _0x4697e5;};return _0x1210();}import{ContextPlugin as _0x452439}from'ckeditor5/src/core.js';import{Sessions as _0x37af4d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1ddf68}from'./presencelist/presencelistui.js';export class PresenceList extends _0x452439{static get[_0x422f92(0xeb)](){return[_0x37af4d,_0x1ddf68];}static get[_0x422f92(0xe9)](){var _0x2492fd=_0x422f92;return _0x2492fd(0xe8);}static get[_0x422f92(0xea)](){return!0x0;}static get[_0x422f92(0xef)](){return!0x0;}}
23
+ var _0xdd9dce=_0x545d;(function(_0x4511da,_0x21a067){var _0x48136d=_0x545d,_0x4a2795=_0x4511da();while(!![]){try{var _0x5463e0=-parseInt(_0x48136d(0x78))/0x1*(-parseInt(_0x48136d(0x79))/0x2)+-parseInt(_0x48136d(0x7d))/0x3*(parseInt(_0x48136d(0x75))/0x4)+-parseInt(_0x48136d(0x7a))/0x5+parseInt(_0x48136d(0x71))/0x6+-parseInt(_0x48136d(0x73))/0x7*(parseInt(_0x48136d(0x7b))/0x8)+-parseInt(_0x48136d(0x72))/0x9*(-parseInt(_0x48136d(0x7f))/0xa)+parseInt(_0x48136d(0x76))/0xb;if(_0x5463e0===_0x21a067)break;else _0x4a2795['push'](_0x4a2795['shift']());}catch(_0x2b42c4){_0x4a2795['push'](_0x4a2795['shift']());}}}(_0x5831,0x1d837));import{ContextPlugin as _0x54aec5}from'ckeditor5/src/core.js';import{Sessions as _0x2969d7}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x31d60f}from'./presencelist/presencelistui.js';function _0x545d(_0x578429,_0x679512){var _0x583125=_0x5831();return _0x545d=function(_0x545d74,_0x3154b5){_0x545d74=_0x545d74-0x71;var _0x5816b6=_0x583125[_0x545d74];return _0x5816b6;},_0x545d(_0x578429,_0x679512);}function _0x5831(){var _0x5ccc61=['422556nmdKVK','36WGNQyU','709562oXWtCl','isPremiumPlugin','892etcuku','2205896gWWpyW','isOfficialPlugin','19ElHsEt','23594SmvZQd','727485LJtMOJ','16lFkwQj','pluginName','3237JtiAQS','requires','536570SsUoxH','PresenceList'];_0x5831=function(){return _0x5ccc61;};return _0x5831();}export class PresenceList extends _0x54aec5{static get[_0xdd9dce(0x7e)](){return[_0x2969d7,_0x31d60f];}static get[_0xdd9dce(0x7c)](){var _0x53491b=_0xdd9dce;return _0x53491b(0x80);}static get[_0xdd9dce(0x77)](){return!0x0;}static get[_0xdd9dce(0x74)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x410e11=_0x5e47;(function(_0x5068a5,_0x2f85b0){const _0x9aef24=_0x5e47,_0x276093=_0x5068a5();while(!![]){try{const _0x15bfa4=-parseInt(_0x9aef24(0xcf))/0x1*(-parseInt(_0x9aef24(0xd3))/0x2)+parseInt(_0x9aef24(0xbe))/0x3+-parseInt(_0x9aef24(0xf9))/0x4*(parseInt(_0x9aef24(0xb3))/0x5)+-parseInt(_0x9aef24(0x113))/0x6+-parseInt(_0x9aef24(0xcb))/0x7*(-parseInt(_0x9aef24(0xe5))/0x8)+-parseInt(_0x9aef24(0xf4))/0x9+parseInt(_0x9aef24(0xd2))/0xa;if(_0x15bfa4===_0x2f85b0)break;else _0x276093['push'](_0x276093['shift']());}catch(_0xf4142a){_0x276093['push'](_0x276093['shift']());}}}(_0x2867,0x73fe0));import{Context as _0x5a1bad,ContextPlugin as _0x42ae22}from'ckeditor5/src/core.js';import{CKEditorError as _0x593ee9}from'ckeditor5/src/utils.js';import{Users as _0x103349}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5d5c91,User as _0x58522e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x518c71}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5e47(_0x669e63,_0x418a40){const _0x286762=_0x2867();return _0x5e47=function(_0x5e47d9,_0x56f03e){_0x5e47d9=_0x5e47d9-0xb3;let _0x560962=_0x286762[_0x5e47d9];return _0x560962;},_0x5e47(_0x669e63,_0x418a40);}import{Sessions as _0x472212}from'../realtimecollaborativeediting/sessions.js';function _0x2867(){const _0x24be71=['message','isOfficialPlugin','updateCommentThread','set','CommentsService','catch','keys','requires','unregister','createdAt','getUser','addComment','cloudservicescommentsadapter-disconnect-not-exist','65880DoYKMa','getCommentThread','from','get','_connectService','4PBryHL','getConnectedSessions','commentId','_getService','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','connect','register','deletedAt','cloudservicescommentsadapter-service-not-exist','update','disconnect','context','startsWith','Permissions','listenTo','isPremiumPlugin','init','addCommentThread','destroy','commentRemoved','comments','getCommentThreads','permissions','setPermissions','pluginName','1720860ylCWFj','_fetchMissingUsersForThreads','assign','commentThreadUpdated','commentThreadId','add','1997955DRkMYz','reopenCommentThread','commentThreadRemoved','off','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','attributes','_services','plugins','resolvedAt','_setUpService','_terminateService','316290TwFBuF','resolvedBy','updateComment','404','reopen','collaboration.channelId','size','remove','CloudServicesCommentsAdapter','cloud-services-internal-error:\x20Request\x20timeout.','removeComment','reconnect','getMany','338905YfDWow','config','addToReconnectionStack','mySessionId','1roQinn','cloudservicescommentsadapter-connect-already-connected','commentThreadResolved','7888060oqyEay','65028qpVLVA','commentUpdated','userId','getComment','map','resolveCommentThread','sessionAdd:','delete','code','content','CommentsRepository','removeCommentThread','addUser','adapter','authorId','commentThreadAdded','commentThreadReopened','has','40QCUysn','resolve'];_0x2867=function(){return _0x24be71;};return _0x2867();}export class CloudServicesCommentsAdapter extends _0x42ae22{static [_0x410e11(0xeb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5d5c91)());[_0x410e11(0xb9)];static get[_0x410e11(0xee)](){const _0x504cac=_0x410e11;return[_0x518c71,_0x504cac(0xdd),_0x472212,_0x103349];}static get[_0x410e11(0x112)](){const _0x4fdefd=_0x410e11;return _0x4fdefd(0xc6);}static get[_0x410e11(0xe8)](){return!0x0;}static get[_0x410e11(0x109)](){return!0x0;}constructor(_0x14cdf5){const _0x526b7e=_0x410e11;super(_0x14cdf5),this[_0x526b7e(0xb9)]=new Map();}async[_0x410e11(0x10a)](){const _0x3cb19f=_0x410e11,_0x47c530=this[_0x3cb19f(0x105)],_0x5e6518=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x3cb19f(0xdd));if(_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x518c71)[_0x3cb19f(0xcd)](this),_0x5e6518[_0x3cb19f(0xe0)]={'addCommentThread':async({channelId:_0x4c2c37,threadId:_0xb35113,comments:_0xa79d4d,resolvedAt:_0x541a7b,resolvedBy:_0x1414d7,context:_0x3fd2b9,attributes:_0x241d1c})=>{const _0x5e3998=_0x3cb19f,_0x200a11=await this[_0x5e3998(0xfc)](_0x4c2c37)[_0x5e3998(0x10b)]({'commentThreadId':_0xb35113,'comments':_0xa79d4d[_0x5e3998(0xd7)](_0x335691=>function(_0x5d5cbd,_0x1cf711,_0x121df6){const _0x3ab536=_0x5e3998;return{'commentThreadId':_0x121df6,'commentId':_0x5d5cbd[_0x3ab536(0xfb)],'userId':_0x5d5cbd[_0x3ab536(0xe1)],'content':_0x5d5cbd[_0x3ab536(0xdc)],'documentId':_0x1cf711,'createdAt':_0x5d5cbd[_0x3ab536(0xf0)],'attributes':_0x5d5cbd[_0x3ab536(0xb8)]||{}};}(_0x335691,_0x4c2c37,_0xb35113)),'resolvedAt':_0x541a7b,'resolvedBy':_0x1414d7,'context':_0x3fd2b9,'attributes':_0x241d1c})[_0x5e3998(0xec)](A);return{'threadId':_0x200a11[_0x5e3998(0x117)],'comments':_0x200a11[_0x5e3998(0x10e)]};},'getCommentThread':async({channelId:_0x1d7863,threadId:_0x3b8dcb})=>{const _0x3c5108=_0x3cb19f,_0x5bb169=await this[_0x3c5108(0xfc)](_0x1d7863)[_0x3c5108(0xf5)](_0x3b8dcb)[_0x3c5108(0xec)](f)[_0x3c5108(0xec)](A);return _0x5bb169?_0x5bb169[_0x3c5108(0x101)]?null:(await this[_0x3c5108(0x114)]([_0x5bb169]),{'threadId':_0x5bb169[_0x3c5108(0x117)],'comments':_0x5bb169[_0x3c5108(0x10e)][_0x3c5108(0xd7)](p),'context':_0x5bb169[_0x3c5108(0x105)],'resolvedAt':_0x5bb169[_0x3c5108(0xbb)],'resolvedBy':_0x5bb169[_0x3c5108(0xbf)],'attributes':_0x5bb169[_0x3c5108(0xb8)]||{}}):null;},'updateCommentThread':async({channelId:_0x3bdcd2,threadId:_0x51ffa1,context:_0x582e40,unlinkedAt:_0x44ac56,attributes:_0x5b201d})=>this[_0x3cb19f(0xfc)](_0x3bdcd2)[_0x3cb19f(0xe9)]({'commentThreadId':_0x51ffa1,'context':_0x582e40,'attributes':_0x5b201d,'unlinkedAt':_0x44ac56})[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'resolveCommentThread':async({channelId:_0x39aad6,threadId:_0x27ec8b})=>{const _0xaabb46=_0x3cb19f,_0x389a60=await this[_0xaabb46(0xfc)](_0x39aad6)[_0xaabb46(0xd8)](_0x27ec8b)[_0xaabb46(0xec)](f)[_0xaabb46(0xec)](A);return{'threadId':_0x389a60[_0xaabb46(0x117)],'resolvedAt':_0x389a60[_0xaabb46(0xbb)],'resolvedBy':_0x389a60[_0xaabb46(0xbf)]};},'reopenCommentThread':async({channelId:_0x1c36b1,threadId:_0x2095aa})=>this[_0x3cb19f(0xfc)](_0x1c36b1)[_0x3cb19f(0xb4)](_0x2095aa)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeCommentThread':({channelId:_0x4449b1,threadId:_0x2c282c})=>this[_0x3cb19f(0xfc)](_0x4449b1)[_0x3cb19f(0xde)](_0x2c282c)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'addComment':({channelId:_0x588ba8,threadId:_0x59ff4f,commentId:_0x559fc0,content:_0xceb1a5,attributes:_0x23f152})=>this[_0x3cb19f(0xfc)](_0x588ba8)[_0x3cb19f(0xf2)](_0x59ff4f,_0x559fc0,_0xceb1a5,_0x23f152)[_0x3cb19f(0xec)](A),'updateComment':({channelId:_0x50ff51,threadId:_0x10a297,commentId:_0xcaf882,content:_0x15696b,attributes:_0x55fc55})=>this[_0x3cb19f(0xfc)](_0x50ff51)[_0x3cb19f(0xc0)](_0x10a297,_0xcaf882,_0x15696b,_0x55fc55)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeComment':({channelId:_0x53047f,threadId:_0xe8f1c7,commentId:_0x5bd4a4})=>this[_0x3cb19f(0xfc)](_0x53047f)[_0x3cb19f(0xc8)](_0xe8f1c7,_0x5bd4a4)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A)},_0x47c530 instanceof _0x5a1bad){const _0x414492=_0x47c530[_0x3cb19f(0xcc)][_0x3cb19f(0xf7)](_0x3cb19f(0xc3)),_0x30cadb=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x472212);await this[_0x3cb19f(0xbc)](_0x414492);const _0x2d47cc=await this[_0x3cb19f(0xb9)][_0x3cb19f(0xf7)](_0x414492)[_0x3cb19f(0xfa)]();this[_0x3cb19f(0x108)](_0x30cadb,_0x3cb19f(0xd9)+_0x414492,(_0x24118f,{session:_0x5c1ec4})=>{const _0x4e5c4f=_0x3cb19f;_0x5c1ec4['id']===_0x30cadb[_0x4e5c4f(0xce)]&&(_0x24118f[_0x4e5c4f(0xb6)](),this[_0x4e5c4f(0x105)][_0x4e5c4f(0xba)][_0x4e5c4f(0xf7)](_0x4e5c4f(0x107))[_0x4e5c4f(0x111)](_0x5c1ec4[_0x4e5c4f(0x110)],_0x414492));}),_0x30cadb[_0x3cb19f(0x100)](_0x414492,_0x2d47cc);}}async[_0x410e11(0xbc)](_0x41e8bd){const _0xe14d6e=_0x410e11;if(this[_0xe14d6e(0xb9)][_0xe14d6e(0xe4)](_0x41e8bd))throw new _0x593ee9(_0xe14d6e(0xd0),null,{'channelId':_0x41e8bd});const _0x386d0f=this[_0xe14d6e(0x105)][_0xe14d6e(0xba)][_0xe14d6e(0xf7)](_0xe14d6e(0xdd)),_0x20b759=new CloudServicesCommentsAdapter[(_0xe14d6e(0xeb))](_0x41e8bd);this[_0xe14d6e(0xb9)][_0xe14d6e(0xea)](_0x41e8bd,_0x20b759),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe2),(_0x4e1592,_0x5e5458)=>{const _0x39fb64=_0xe14d6e,{commentThreadId:_0x17c1e1,documentId:_0x5dc11c,context:_0x460be8,attributes:_0x45ed39,resolvedAt:_0x7ebf7b,resolvedBy:_0x571a9c,comments:_0x187dce}=_0x5e5458;_0x386d0f[_0x39fb64(0xf5)](_0x17c1e1)||_0x386d0f[_0x39fb64(0x10b)]({'threadId':_0x17c1e1,'channelId':_0x5dc11c,'comments':_0x187dce?_0x187dce[_0x39fb64(0xd7)](p):[],'context':_0x460be8,'attributes':_0x45ed39,'resolvedAt':_0x7ebf7b,'resolvedBy':_0x571a9c,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x116),(_0x2325e0,{commentThreadId:_0x55f1fa,documentId:_0x1ac745,context:_0x23fee9,unlinkedAt:_0x31277d,attributes:_0x3f4feb})=>{const _0x472480=_0xe14d6e;_0x386d0f[_0x472480(0xf5)](_0x55f1fa)&&_0x386d0f[_0x472480(0xe9)]({'threadId':_0x55f1fa,'channelId':_0x1ac745,'context':_0x23fee9,'unlinkedAt':_0x31277d,'attributes':_0x3f4feb,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd1),(_0x298862,{commentThreadId:_0x96e49e,resolvedBy:_0x1232fe,resolvedAt:_0x3ace43})=>{const _0x4d5f33=_0xe14d6e,_0x52d390=_0x386d0f[_0x4d5f33(0xf5)](_0x96e49e);_0x52d390&&_0x52d390[_0x4d5f33(0xe6)]({'resolvedBy':_0x1232fe,'resolvedAt':_0x3ace43,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe3),(_0x574a70,{commentThreadId:_0x1168ee})=>{const _0x15fab3=_0xe14d6e,_0x596271=_0x386d0f[_0x15fab3(0xf5)](_0x1168ee);_0x596271&&_0x596271[_0x15fab3(0xc2)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xb5),(_0x257cdf,{commentThreadId:_0x94a5f7})=>{const _0x511574=_0xe14d6e,_0x286586=_0x386d0f[_0x511574(0xf5)](_0x94a5f7);_0x286586&&_0x286586[_0x511574(0xc5)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xfd),(_0x1971cc,_0x112546)=>{const _0x52f0c3=_0xe14d6e,_0x127ab5=_0x112546[_0x52f0c3(0x117)],_0x41042b=_0x386d0f[_0x52f0c3(0xf5)](_0x127ab5);_0x41042b&&_0x41042b[_0x52f0c3(0xf2)]({...p(_0x112546),'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd4),(_0x5f4ba0,{commentThreadId:_0x3d672b,commentId:_0x72338f,content:_0x3bd850,attributes:_0x271d49})=>{const _0x1f5734=_0xe14d6e,_0x110e41=_0x386d0f[_0x1f5734(0xf5)](_0x3d672b);if(_0x110e41){const _0x19aff6=_0x110e41[_0x1f5734(0xd6)](_0x72338f);_0x19aff6&&_0x19aff6[_0x1f5734(0x103)]({'content':_0x3bd850,'attributes':_0x271d49,'isFromAdapter':!0x0});}}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x10d),(_0x2b7fe4,{commentThreadId:_0x15f529,commentId:_0x3ee7f4})=>{const _0x279742=_0xe14d6e,_0x9f2185=_0x386d0f[_0x279742(0xf5)](_0x15f529);if(_0x9f2185){const _0x47103c=_0x9f2185[_0x279742(0xd6)](_0x3ee7f4);_0x47103c&&_0x47103c[_0x279742(0xc5)]({'isFromAdapter':!0x0});}}),await this[_0xe14d6e(0xf8)](_0x41e8bd);}[_0x410e11(0x10c)](){const _0x101497=_0x410e11;if(this[_0x101497(0x105)]instanceof _0x5a1bad){const _0x36ea17=this[_0x101497(0x105)][_0x101497(0xcc)][_0x101497(0xf7)](_0x101497(0xc3));this[_0x101497(0xbd)](_0x36ea17);}}[_0x410e11(0xbd)](_0x27da35){const _0x19a4f9=_0x410e11;if(!this[_0x19a4f9(0xb9)][_0x19a4f9(0xe4)](_0x27da35))throw new _0x593ee9(_0x19a4f9(0xf3),null,{'channelId':_0x27da35});this[_0x19a4f9(0xfc)](_0x27da35)[_0x19a4f9(0x104)](),this[_0x19a4f9(0xb9)][_0x19a4f9(0xda)](_0x27da35);}async[_0x410e11(0xc9)](){const _0x51774b=_0x410e11;for(const _0x5db5eb of this[_0x51774b(0xb9)][_0x51774b(0xed)]())await this[_0x51774b(0xf8)](_0x5db5eb);if(this[_0x51774b(0x105)]instanceof _0x5a1bad){const _0x150d34=this[_0x51774b(0x105)][_0x51774b(0xcc)][_0x51774b(0xf7)](_0x51774b(0xc3)),_0x2dd4c5=this[_0x51774b(0x105)][_0x51774b(0xba)][_0x51774b(0xf7)](_0x472212);_0x2dd4c5[_0x51774b(0xef)](_0x150d34);const _0x142e30=await this[_0x51774b(0xb9)][_0x51774b(0xf7)](_0x150d34)[_0x51774b(0xfa)]();_0x2dd4c5[_0x51774b(0x100)](_0x150d34,_0x142e30);}}async[_0x410e11(0xf8)](_0x24932d){const _0x3d6705=_0x410e11,{connection:_0x38d8ef}=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x518c71),_0x57e838=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x3d6705(0xdd)),_0x186cc0=this[_0x3d6705(0xb9)][_0x3d6705(0xf7)](_0x24932d),_0x2fe296=await _0x186cc0[_0x3d6705(0xff)](_0x38d8ef);await this[_0x3d6705(0x114)](_0x2fe296);const _0x30ecf8=new Set(Array[_0x3d6705(0xf6)](_0x57e838[_0x3d6705(0x10f)]({'channelId':_0x24932d}),_0x163f71=>_0x163f71['id']));for(const _0x5690f9 of _0x2fe296)_0x5690f9[_0x3d6705(0x101)]||_0x30ecf8[_0x3d6705(0xda)](_0x5690f9[_0x3d6705(0x117)]);for(const _0x513eae of _0x30ecf8)_0x57e838[_0x3d6705(0xf5)](_0x513eae)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x4f6a6d of _0x2fe296){let _0x1c76d6=_0x57e838[_0x3d6705(0xf5)](_0x4f6a6d[_0x3d6705(0x117)]);const {commentThreadId:_0x5ee19e,context:_0x304c88,attributes:_0x27618b,resolvedBy:_0x288cad,resolvedAt:_0x1bf4f9,unlinkedAt:_0x621e64,deletedAt:_0x1a432c}=_0x4f6a6d;if(_0x1a432c)continue;_0x1c76d6||(_0x1c76d6=_0x57e838[_0x3d6705(0x10b)]({'channelId':_0x24932d,'threadId':_0x5ee19e,'context':_0x304c88,'attributes':_0x27618b||{},'resolvedBy':_0x288cad,'resolvedAt':_0x1bf4f9,'unlinkedAt':_0x621e64,'isFromAdapter':!0x0}));const _0x4037f9=new Set(Array[_0x3d6705(0xf6)](_0x1c76d6[_0x3d6705(0x10e)],_0xe63464=>_0xe63464['id']));for(const _0x56f068 of _0x4f6a6d[_0x3d6705(0x10e)])_0x4037f9[_0x3d6705(0xda)](_0x56f068[_0x3d6705(0xfb)]);for(const _0x3e9745 of _0x4037f9)_0x1c76d6[_0x3d6705(0xd6)](_0x3e9745)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x1aea02 of _0x4f6a6d[_0x3d6705(0x10e)]){const _0x1f9107=_0x1c76d6[_0x3d6705(0xd6)](_0x1aea02[_0x3d6705(0xfb)]);_0x1f9107?_0x1f9107[_0x3d6705(0xdc)]!==_0x1aea02[_0x3d6705(0xdc)]&&_0x1f9107[_0x3d6705(0x103)]({'content':_0x1aea02[_0x3d6705(0xdc)],'isFromAdapter':!0x0}):_0x1c76d6[_0x3d6705(0xf2)](Object[_0x3d6705(0x115)](p(_0x1aea02),{'isFromAdapter':!0x0}));}}}[_0x410e11(0xfc)](_0x2abbd3){const _0x3eb188=_0x410e11;if(!this[_0x3eb188(0xb9)][_0x3eb188(0xe4)](_0x2abbd3))throw new _0x593ee9(_0x3eb188(0x102),null,{'channelId':_0x2abbd3});return this[_0x3eb188(0xb9)][_0x3eb188(0xf7)](_0x2abbd3);}async[_0x410e11(0x114)](_0x3b9ed8){const _0x3b5c5a=_0x410e11,_0x5efe4d=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x103349),{connection:_0x1496ff}=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x518c71),_0x4c7053=new Set();for(const {resolvedBy:_0x2ab5a1,comments:_0x29d181}of _0x3b9ed8){_0x2ab5a1&&!_0x5efe4d[_0x3b5c5a(0xf1)](_0x2ab5a1)&&_0x4c7053[_0x3b5c5a(0x118)](_0x2ab5a1);for(const {userId:_0x4ebf60}of _0x29d181)_0x5efe4d[_0x3b5c5a(0xf1)](_0x4ebf60)||_0x4c7053[_0x3b5c5a(0x118)](_0x4ebf60);}if(0x0===_0x4c7053[_0x3b5c5a(0xc4)])return;const _0x1002bd=await _0x58522e[_0x3b5c5a(0xca)](_0x1496ff,Array[_0x3b5c5a(0xf6)](_0x4c7053));for(const _0x12587b of _0x1002bd)_0x5efe4d[_0x3b5c5a(0xf1)](_0x12587b['id'])||_0x5efe4d[_0x3b5c5a(0xdf)](_0x12587b);}}async function f(_0x3a72eb){const _0x49a87e=_0x410e11;if(_0x49a87e(0xc1)!==_0x3a72eb[_0x49a87e(0xdb)])throw _0x3a72eb;}function A(_0x841734){const _0x1d97f8=_0x410e11;if((_0x410f72=_0x841734)[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xb7))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xfe))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xc7)))return new Promise(()=>{});var _0x410f72;throw _0x841734;}function p(_0x4ed8a2){const _0x2a4829=_0x410e11;return{'threadId':_0x4ed8a2[_0x2a4829(0x117)],'commentId':_0x4ed8a2[_0x2a4829(0xfb)],'content':_0x4ed8a2[_0x2a4829(0xdc)],'createdAt':_0x4ed8a2[_0x2a4829(0xf0)],'authorId':_0x4ed8a2[_0x2a4829(0xd5)],'attributes':_0x4ed8a2[_0x2a4829(0xb8)]||{}};}
23
+ const _0x3cbc34=_0x5865;function _0x5f0c(){const _0x36fa2f=['assign','createdAt','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','disconnect','179058nIQLMn','code','reopen','452716jEMjpF','getCommentThread','CommentsRepository','cloud-services-internal-error:\x20Request\x20timeout.','resolvedBy','catch','content','commentRemoved','init','has','reconnect','reopenCommentThread','setPermissions','adapter','getMany','sessionAdd:','_fetchMissingUsersForThreads','commentThreadUpdated','unregister','removeComment','getUser','map','startsWith','set','_getService','1830516MVQuGt','off','config','userId','_services','264210ORljvG','keys','permissions','comments','listenTo','authorId','cloudservicescommentsadapter-service-not-exist','get','1144NFuLTi','commentThreadRemoved','context','plugins','commentUpdated','resolveCommentThread','updateComment','message','pluginName','remove','delete','requires','cloud-services-internal-error:\x20Not\x20connected.','from','connect','getCommentThreads','1323135RunrfU','getComment','addUser','add','commentAdded','addToReconnectionStack','size','addCommentThread','commentThreadAdded','update','_setUpService','957201XtjTQV','destroy','isOfficialPlugin','Permissions','deletedAt','cloudservicescommentsadapter-connect-already-connected','removeCommentThread','9849cCEhHy','commentThreadId','_connectService','addComment','register','55yahCkX','isPremiumPlugin','cloudservicescommentsadapter-disconnect-not-exist','404','mySessionId','_terminateService','commentId','getConnectedSessions','CommentsService','CloudServicesCommentsAdapter','resolvedAt','attributes','resolve','commentThreadReopened','collaboration.channelId','updateCommentThread','commentThreadResolved'];_0x5f0c=function(){return _0x36fa2f;};return _0x5f0c();}(function(_0x42dc5a,_0xe1b04e){const _0x5550d6=_0x5865,_0x3479b3=_0x42dc5a();while(!![]){try{const _0x29f7c9=-parseInt(_0x5550d6(0xf2))/0x1+-parseInt(_0x5550d6(0xd4))/0x2+parseInt(_0x5550d6(0xb0))/0x3+parseInt(_0x5550d6(0xed))/0x4+-parseInt(_0x5550d6(0xbc))/0x5*(parseInt(_0x5550d6(0xd1))/0x6)+parseInt(_0x5550d6(0xb7))/0x7*(parseInt(_0x5550d6(0xfa))/0x8)+parseInt(_0x5550d6(0xa5))/0x9;if(_0x29f7c9===_0xe1b04e)break;else _0x3479b3['push'](_0x3479b3['shift']());}catch(_0x1b0b66){_0x3479b3['push'](_0x3479b3['shift']());}}}(_0x5f0c,0x4ab97));import{Context as _0x93ab4e,ContextPlugin as _0x4aa5d6}from'ckeditor5/src/core.js';import{CKEditorError as _0xdce578}from'ckeditor5/src/utils.js';import{Users as _0x41e6ec}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x284c3f,User as _0x2914a2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xe1dfef}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xa5e03f}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4aa5d6{static [_0x3cbc34(0xc4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x284c3f)());[_0x3cbc34(0xf1)];static get[_0x3cbc34(0xa0)](){const _0x938d38=_0x3cbc34;return[_0xe1dfef,_0x938d38(0xd6),_0xa5e03f,_0x41e6ec];}static get[_0x3cbc34(0x102)](){const _0x36a985=_0x3cbc34;return _0x36a985(0xc5);}static get[_0x3cbc34(0xb2)](){return!0x0;}static get[_0x3cbc34(0xbd)](){return!0x0;}constructor(_0x453999){const _0x4ebaca=_0x3cbc34;super(_0x453999),this[_0x4ebaca(0xf1)]=new Map();}async[_0x3cbc34(0xdc)](){const _0x3b41c6=_0x3cbc34,_0x53277e=this[_0x3b41c6(0xfc)],_0x52f352=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0x3b41c6(0xd6));if(_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xe1dfef)[_0x3b41c6(0xaa)](this),_0x52f352[_0x3b41c6(0xe1)]={'addCommentThread':async({channelId:_0x49e118,threadId:_0x117158,comments:_0x303e4,resolvedAt:_0x3dc2d4,resolvedBy:_0x1e1412,context:_0x2241b6,attributes:_0x2c7cc0})=>{const _0x46cd40=_0x3b41c6,_0x5b7370=await this[_0x46cd40(0xec)](_0x49e118)[_0x46cd40(0xac)]({'commentThreadId':_0x117158,'comments':_0x303e4[_0x46cd40(0xe9)](_0x2c5ef7=>function(_0x47eac9,_0x2110ab,_0x34892){const _0x2f8243=_0x46cd40;return{'commentThreadId':_0x34892,'commentId':_0x47eac9[_0x2f8243(0xc2)],'userId':_0x47eac9[_0x2f8243(0xf7)],'content':_0x47eac9[_0x2f8243(0xda)],'documentId':_0x2110ab,'createdAt':_0x47eac9[_0x2f8243(0xce)],'attributes':_0x47eac9[_0x2f8243(0xc7)]||{}};}(_0x2c5ef7,_0x49e118,_0x117158)),'resolvedAt':_0x3dc2d4,'resolvedBy':_0x1e1412,'context':_0x2241b6,'attributes':_0x2c7cc0})[_0x46cd40(0xd9)](A);return{'threadId':_0x5b7370[_0x46cd40(0xb8)],'comments':_0x5b7370[_0x46cd40(0xf5)]};},'getCommentThread':async({channelId:_0x32c754,threadId:_0x2c25c3})=>{const _0x4fd641=_0x3b41c6,_0x17bdce=await this[_0x4fd641(0xec)](_0x32c754)[_0x4fd641(0xd5)](_0x2c25c3)[_0x4fd641(0xd9)](f)[_0x4fd641(0xd9)](A);return _0x17bdce?_0x17bdce[_0x4fd641(0xb4)]?null:(await this[_0x4fd641(0xe4)]([_0x17bdce]),{'threadId':_0x17bdce[_0x4fd641(0xb8)],'comments':_0x17bdce[_0x4fd641(0xf5)][_0x4fd641(0xe9)](p),'context':_0x17bdce[_0x4fd641(0xfc)],'resolvedAt':_0x17bdce[_0x4fd641(0xc6)],'resolvedBy':_0x17bdce[_0x4fd641(0xd8)],'attributes':_0x17bdce[_0x4fd641(0xc7)]||{}}):null;},'updateCommentThread':async({channelId:_0x7e130b,threadId:_0x581624,context:_0x5624cc,unlinkedAt:_0x5c20b8,attributes:_0x4e70ad})=>this[_0x3b41c6(0xec)](_0x7e130b)[_0x3b41c6(0xcb)]({'commentThreadId':_0x581624,'context':_0x5624cc,'attributes':_0x4e70ad,'unlinkedAt':_0x5c20b8})[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'resolveCommentThread':async({channelId:_0x2df391,threadId:_0xd711ea})=>{const _0x4fabe5=_0x3b41c6,_0x119101=await this[_0x4fabe5(0xec)](_0x2df391)[_0x4fabe5(0xff)](_0xd711ea)[_0x4fabe5(0xd9)](f)[_0x4fabe5(0xd9)](A);return{'threadId':_0x119101[_0x4fabe5(0xb8)],'resolvedAt':_0x119101[_0x4fabe5(0xc6)],'resolvedBy':_0x119101[_0x4fabe5(0xd8)]};},'reopenCommentThread':async({channelId:_0x8996ed,threadId:_0x423157})=>this[_0x3b41c6(0xec)](_0x8996ed)[_0x3b41c6(0xdf)](_0x423157)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeCommentThread':({channelId:_0x257a1e,threadId:_0x164b6f})=>this[_0x3b41c6(0xec)](_0x257a1e)[_0x3b41c6(0xb6)](_0x164b6f)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'addComment':({channelId:_0x197de3,threadId:_0x2ecdbd,commentId:_0x24ddf0,content:_0x4fe5f1,attributes:_0x3cc4a7})=>this[_0x3b41c6(0xec)](_0x197de3)[_0x3b41c6(0xba)](_0x2ecdbd,_0x24ddf0,_0x4fe5f1,_0x3cc4a7)[_0x3b41c6(0xd9)](A),'updateComment':({channelId:_0x244525,threadId:_0xec7fe7,commentId:_0x83cc3,content:_0x914340,attributes:_0x49509})=>this[_0x3b41c6(0xec)](_0x244525)[_0x3b41c6(0x100)](_0xec7fe7,_0x83cc3,_0x914340,_0x49509)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeComment':({channelId:_0x322eab,threadId:_0x5b8d98,commentId:_0x226713})=>this[_0x3b41c6(0xec)](_0x322eab)[_0x3b41c6(0xe7)](_0x5b8d98,_0x226713)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A)},_0x53277e instanceof _0x93ab4e){const _0x3809e7=_0x53277e[_0x3b41c6(0xef)][_0x3b41c6(0xf9)](_0x3b41c6(0xca)),_0x44a6e0=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xa5e03f);await this[_0x3b41c6(0xaf)](_0x3809e7);const _0x108d1a=await this[_0x3b41c6(0xf1)][_0x3b41c6(0xf9)](_0x3809e7)[_0x3b41c6(0xc3)]();this[_0x3b41c6(0xf6)](_0x44a6e0,_0x3b41c6(0xe3)+_0x3809e7,(_0x124bd7,{session:_0x25ccc9})=>{const _0x3aae70=_0x3b41c6;_0x25ccc9['id']===_0x44a6e0[_0x3aae70(0xc0)]&&(_0x124bd7[_0x3aae70(0xee)](),this[_0x3aae70(0xfc)][_0x3aae70(0xfd)][_0x3aae70(0xf9)](_0x3aae70(0xb3))[_0x3aae70(0xe0)](_0x25ccc9[_0x3aae70(0xf4)],_0x3809e7));}),_0x44a6e0[_0x3b41c6(0xbb)](_0x3809e7,_0x108d1a);}}async[_0x3cbc34(0xaf)](_0x2ccb49){const _0x1a1c60=_0x3cbc34;if(this[_0x1a1c60(0xf1)][_0x1a1c60(0xdd)](_0x2ccb49))throw new _0xdce578(_0x1a1c60(0xb5),null,{'channelId':_0x2ccb49});const _0x106748=this[_0x1a1c60(0xfc)][_0x1a1c60(0xfd)][_0x1a1c60(0xf9)](_0x1a1c60(0xd6)),_0x1c1051=new CloudServicesCommentsAdapter[(_0x1a1c60(0xc4))](_0x2ccb49);this[_0x1a1c60(0xf1)][_0x1a1c60(0xeb)](_0x2ccb49,_0x1c1051),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xad),(_0x42d623,_0xd16554)=>{const _0x2e1364=_0x1a1c60,{commentThreadId:_0x4e2962,documentId:_0x12f000,context:_0x35daf0,attributes:_0x2867a9,resolvedAt:_0x186d39,resolvedBy:_0x59e96e,comments:_0x2fd2f8}=_0xd16554;_0x106748[_0x2e1364(0xd5)](_0x4e2962)||_0x106748[_0x2e1364(0xac)]({'threadId':_0x4e2962,'channelId':_0x12f000,'comments':_0x2fd2f8?_0x2fd2f8[_0x2e1364(0xe9)](p):[],'context':_0x35daf0,'attributes':_0x2867a9,'resolvedAt':_0x186d39,'resolvedBy':_0x59e96e,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xe5),(_0x1e66b6,{commentThreadId:_0x55af51,documentId:_0xe07bcb,context:_0x45214f,unlinkedAt:_0xe13549,attributes:_0x186d26})=>{const _0x40173a=_0x1a1c60;_0x106748[_0x40173a(0xd5)](_0x55af51)&&_0x106748[_0x40173a(0xcb)]({'threadId':_0x55af51,'channelId':_0xe07bcb,'context':_0x45214f,'unlinkedAt':_0xe13549,'attributes':_0x186d26,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xcc),(_0x4321f8,{commentThreadId:_0x2652e7,resolvedBy:_0x3ef8df,resolvedAt:_0x32236c})=>{const _0x4eb822=_0x1a1c60,_0x5ee144=_0x106748[_0x4eb822(0xd5)](_0x2652e7);_0x5ee144&&_0x5ee144[_0x4eb822(0xc8)]({'resolvedBy':_0x3ef8df,'resolvedAt':_0x32236c,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xc9),(_0x504c59,{commentThreadId:_0x4c90f6})=>{const _0x7d59c3=_0x1a1c60,_0x3ffbc3=_0x106748[_0x7d59c3(0xd5)](_0x4c90f6);_0x3ffbc3&&_0x3ffbc3[_0x7d59c3(0xd3)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfb),(_0x38ec9e,{commentThreadId:_0x187be6})=>{const _0x1c448c=_0x1a1c60,_0x4e96e0=_0x106748[_0x1c448c(0xd5)](_0x187be6);_0x4e96e0&&_0x4e96e0[_0x1c448c(0x9e)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xa9),(_0x46e01e,_0x3ef435)=>{const _0x36359f=_0x1a1c60,_0xf5fb90=_0x3ef435[_0x36359f(0xb8)],_0x178fe5=_0x106748[_0x36359f(0xd5)](_0xf5fb90);_0x178fe5&&_0x178fe5[_0x36359f(0xba)]({...p(_0x3ef435),'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfe),(_0x14a97e,{commentThreadId:_0x5f04f5,commentId:_0x199f1d,content:_0x39e22c,attributes:_0x3e000b})=>{const _0x49f7f3=_0x1a1c60,_0x3386fc=_0x106748[_0x49f7f3(0xd5)](_0x5f04f5);if(_0x3386fc){const _0x1b8e3a=_0x3386fc[_0x49f7f3(0xa6)](_0x199f1d);_0x1b8e3a&&_0x1b8e3a[_0x49f7f3(0xae)]({'content':_0x39e22c,'attributes':_0x3e000b,'isFromAdapter':!0x0});}}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xdb),(_0x141ff9,{commentThreadId:_0x2f3562,commentId:_0x13e921})=>{const _0x457203=_0x1a1c60,_0x2b4182=_0x106748[_0x457203(0xd5)](_0x2f3562);if(_0x2b4182){const _0x50a486=_0x2b4182[_0x457203(0xa6)](_0x13e921);_0x50a486&&_0x50a486[_0x457203(0x9e)]({'isFromAdapter':!0x0});}}),await this[_0x1a1c60(0xb9)](_0x2ccb49);}[_0x3cbc34(0xb1)](){const _0x16206e=_0x3cbc34;if(this[_0x16206e(0xfc)]instanceof _0x93ab4e){const _0x50c2fa=this[_0x16206e(0xfc)][_0x16206e(0xef)][_0x16206e(0xf9)](_0x16206e(0xca));this[_0x16206e(0xc1)](_0x50c2fa);}}[_0x3cbc34(0xc1)](_0x4eef20){const _0x51599d=_0x3cbc34;if(!this[_0x51599d(0xf1)][_0x51599d(0xdd)](_0x4eef20))throw new _0xdce578(_0x51599d(0xbe),null,{'channelId':_0x4eef20});this[_0x51599d(0xec)](_0x4eef20)[_0x51599d(0xd0)](),this[_0x51599d(0xf1)][_0x51599d(0x9f)](_0x4eef20);}async[_0x3cbc34(0xde)](){const _0x437312=_0x3cbc34;for(const _0x43c560 of this[_0x437312(0xf1)][_0x437312(0xf3)]())await this[_0x437312(0xb9)](_0x43c560);if(this[_0x437312(0xfc)]instanceof _0x93ab4e){const _0x1a6b2f=this[_0x437312(0xfc)][_0x437312(0xef)][_0x437312(0xf9)](_0x437312(0xca)),_0x41c9f8=this[_0x437312(0xfc)][_0x437312(0xfd)][_0x437312(0xf9)](_0xa5e03f);_0x41c9f8[_0x437312(0xe6)](_0x1a6b2f);const _0x43394e=await this[_0x437312(0xf1)][_0x437312(0xf9)](_0x1a6b2f)[_0x437312(0xc3)]();_0x41c9f8[_0x437312(0xbb)](_0x1a6b2f,_0x43394e);}}async[_0x3cbc34(0xb9)](_0x521502){const _0x304484=_0x3cbc34,{connection:_0x30fca2}=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0xe1dfef),_0x272340=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0x304484(0xd6)),_0x36fb0f=this[_0x304484(0xf1)][_0x304484(0xf9)](_0x521502),_0x3f6128=await _0x36fb0f[_0x304484(0xa3)](_0x30fca2);await this[_0x304484(0xe4)](_0x3f6128);const _0xc2878d=new Set(Array[_0x304484(0xa2)](_0x272340[_0x304484(0xa4)]({'channelId':_0x521502}),_0x2c7166=>_0x2c7166['id']));for(const _0x226df7 of _0x3f6128)_0x226df7[_0x304484(0xb4)]||_0xc2878d[_0x304484(0x9f)](_0x226df7[_0x304484(0xb8)]);for(const _0x3dfc63 of _0xc2878d)_0x272340[_0x304484(0xd5)](_0x3dfc63)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x32b63f of _0x3f6128){let _0x36d3e0=_0x272340[_0x304484(0xd5)](_0x32b63f[_0x304484(0xb8)]);const {commentThreadId:_0x1b69af,context:_0x3b2fbd,attributes:_0x383a0e,resolvedBy:_0x161053,resolvedAt:_0x41f5c7,unlinkedAt:_0x532216,deletedAt:_0x5cc055}=_0x32b63f;if(_0x5cc055)continue;_0x36d3e0||(_0x36d3e0=_0x272340[_0x304484(0xac)]({'channelId':_0x521502,'threadId':_0x1b69af,'context':_0x3b2fbd,'attributes':_0x383a0e||{},'resolvedBy':_0x161053,'resolvedAt':_0x41f5c7,'unlinkedAt':_0x532216,'isFromAdapter':!0x0}));const _0x516cc3=new Set(Array[_0x304484(0xa2)](_0x36d3e0[_0x304484(0xf5)],_0x106cce=>_0x106cce['id']));for(const _0x58c833 of _0x32b63f[_0x304484(0xf5)])_0x516cc3[_0x304484(0x9f)](_0x58c833[_0x304484(0xc2)]);for(const _0x1fcfb7 of _0x516cc3)_0x36d3e0[_0x304484(0xa6)](_0x1fcfb7)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x36fbcf of _0x32b63f[_0x304484(0xf5)]){const _0x579d35=_0x36d3e0[_0x304484(0xa6)](_0x36fbcf[_0x304484(0xc2)]);_0x579d35?_0x579d35[_0x304484(0xda)]!==_0x36fbcf[_0x304484(0xda)]&&_0x579d35[_0x304484(0xae)]({'content':_0x36fbcf[_0x304484(0xda)],'isFromAdapter':!0x0}):_0x36d3e0[_0x304484(0xba)](Object[_0x304484(0xcd)](p(_0x36fbcf),{'isFromAdapter':!0x0}));}}}[_0x3cbc34(0xec)](_0x4db7aa){const _0x271286=_0x3cbc34;if(!this[_0x271286(0xf1)][_0x271286(0xdd)](_0x4db7aa))throw new _0xdce578(_0x271286(0xf8),null,{'channelId':_0x4db7aa});return this[_0x271286(0xf1)][_0x271286(0xf9)](_0x4db7aa);}async[_0x3cbc34(0xe4)](_0x1b2219){const _0x486cec=_0x3cbc34,_0x3c1ee0=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0x41e6ec),{connection:_0x23e4e9}=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0xe1dfef),_0x5cdd85=new Set();for(const {resolvedBy:_0x28415c,comments:_0x1be39f}of _0x1b2219){_0x28415c&&!_0x3c1ee0[_0x486cec(0xe8)](_0x28415c)&&_0x5cdd85[_0x486cec(0xa8)](_0x28415c);for(const {userId:_0x32bd8a}of _0x1be39f)_0x3c1ee0[_0x486cec(0xe8)](_0x32bd8a)||_0x5cdd85[_0x486cec(0xa8)](_0x32bd8a);}if(0x0===_0x5cdd85[_0x486cec(0xab)])return;const _0x39c356=await _0x2914a2[_0x486cec(0xe2)](_0x23e4e9,Array[_0x486cec(0xa2)](_0x5cdd85));for(const _0x4710db of _0x39c356)_0x3c1ee0[_0x486cec(0xe8)](_0x4710db['id'])||_0x3c1ee0[_0x486cec(0xa7)](_0x4710db);}}function _0x5865(_0x3436f6,_0x14aa79){const _0x5f0c69=_0x5f0c();return _0x5865=function(_0x58650d,_0x36378c){_0x58650d=_0x58650d-0x9e;let _0x5236cd=_0x5f0c69[_0x58650d];return _0x5236cd;},_0x5865(_0x3436f6,_0x14aa79);}async function f(_0x49fdc7){const _0x4cab16=_0x3cbc34;if(_0x4cab16(0xbf)!==_0x49fdc7[_0x4cab16(0xd2)])throw _0x49fdc7;}function A(_0x24ed98){const _0x1a61ee=_0x3cbc34;if((_0x540e9c=_0x24ed98)[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xcf))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xa1))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xd7)))return new Promise(()=>{});var _0x540e9c;throw _0x24ed98;}function p(_0x444775){const _0x40e209=_0x3cbc34;return{'threadId':_0x444775[_0x40e209(0xb8)],'commentId':_0x444775[_0x40e209(0xc2)],'content':_0x444775[_0x40e209(0xda)],'createdAt':_0x444775[_0x40e209(0xce)],'authorId':_0x444775[_0x40e209(0xf0)],'attributes':_0x444775[_0x40e209(0xc7)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x573e11=_0x3c4a;(function(_0x277371,_0x5ec3e2){const _0x34d944=_0x3c4a,_0x2e504e=_0x277371();while(!![]){try{const _0x4363ce=parseInt(_0x34d944(0xa3))/0x1+-parseInt(_0x34d944(0xa8))/0x2*(parseInt(_0x34d944(0xb1))/0x3)+-parseInt(_0x34d944(0xaa))/0x4*(parseInt(_0x34d944(0xa1))/0x5)+parseInt(_0x34d944(0xaf))/0x6*(parseInt(_0x34d944(0xab))/0x7)+parseInt(_0x34d944(0xc1))/0x8+-parseInt(_0x34d944(0xc3))/0x9*(-parseInt(_0x34d944(0xa6))/0xa)+parseInt(_0x34d944(0xbb))/0xb*(-parseInt(_0x34d944(0xc4))/0xc);if(_0x4363ce===_0x5ec3e2)break;else _0x2e504e['push'](_0x2e504e['shift']());}catch(_0x45042c){_0x2e504e['push'](_0x2e504e['shift']());}}}(_0x3705,0x94efc));import{Plugin as _0x37aa95}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x25505e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4e0015}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x547818}from'./realtimecollaborativeediting/websocketgateway.js';function _0x3c4a(_0xe63d39,_0x3b9851){const _0x37055e=_0x3705();return _0x3c4a=function(_0x3c4a29,_0x3db4aa){_0x3c4a29=_0x3c4a29-0xa1;let _0x57607f=_0x37055e[_0x3c4a29];return _0x57607f;},_0x3c4a(_0xe63d39,_0x3b9851);}export class RealTimeCollaborativeComments extends _0x37aa95{static get[_0x573e11(0xb7)](){const _0x58cb6e=_0x573e11;return[_0x58cb6e(0xbe),_0x25505e,_0x4e0015,_0x547818];}static get[_0x573e11(0xc0)](){const _0x3b2c21=_0x573e11;return _0x3b2c21(0xba);}static get[_0x573e11(0xbf)](){return!0x0;}static get[_0x573e11(0xac)](){return!0x0;}[_0x573e11(0xb6)](){const _0x5bbd0a=_0x573e11,_0x4c2680=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x547818),_0x3c64d5=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xae)),_0x5128f9=this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xc2)][_0x5bbd0a(0xc5)](_0x25505e);return this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xa7)][_0x5bbd0a(0xa9)](_0x5bbd0a(0xad),()=>{const _0x396fcd=_0x5bbd0a;this[_0x396fcd(0xbc)](_0x4c2680,_0x396fcd(0xb3),(_0xd8018e,_0x1729ea,_0x2238d7)=>{const _0x3ea2a2=_0x396fcd;_0x3c64d5[_0x3ea2a2(0xb2)]=_0x3ea2a2(0xa2)!==_0x2238d7;});}),this[_0x5bbd0a(0xbc)](_0x4c2680,_0x5bbd0a(0xb3),(_0xc51735,_0xaf13b9,_0x222871)=>{const _0x23db45=_0x5bbd0a;this[_0x23db45(0xa4)][_0x23db45(0xc2)][_0x23db45(0xc5)](_0x23db45(0xb4))[_0x23db45(0xa5)](_0x23db45(0xa2)!==_0x222871);}),_0x5128f9[_0x5bbd0a(0xbd)](this[_0x5bbd0a(0xa4)][_0x5bbd0a(0xb9)][_0x5bbd0a(0xc5)](_0x5bbd0a(0xb5)));}[_0x573e11(0xb0)](){const _0x3d588c=_0x573e11;this[_0x3d588c(0xa4)][_0x3d588c(0xc2)][_0x3d588c(0xc5)](_0x25505e)[_0x3d588c(0xb8)](this[_0x3d588c(0xa4)][_0x3d588c(0xb9)][_0x3d588c(0xc5)](_0x3d588c(0xb5))),super[_0x3d588c(0xb0)]();}}function _0x3705(){const _0x9046f2=['5ixZurG','connected','274943udpeGH','editor','switchReadOnly','1203810XvUoUm','data','21402AXzdnO','once','1060432ZNNvHH','245CLTbbu','isPremiumPlugin','ready','CommentsEditing','1962QtIVZp','destroy','6MuAIyL','isThreadsLoadingPaused','change:state','CommentsRepository','collaboration.channelId','init','requires','_terminateService','config','RealTimeCollaborativeComments','738111EiGnna','listenTo','_setUpService','Comments','isOfficialPlugin','pluginName','4139416spdwGw','plugins','27GHhIdt','48mUTnTl','get'];_0x3705=function(){return _0x9046f2;};return _0x3705();}
23
+ const _0x2320f4=_0xcf9b;(function(_0x3b7bd6,_0x506668){const _0x4a2e03=_0xcf9b,_0x4d3d93=_0x3b7bd6();while(!![]){try{const _0x139a80=-parseInt(_0x4a2e03(0x1da))/0x1*(parseInt(_0x4a2e03(0x1f7))/0x2)+-parseInt(_0x4a2e03(0x1f2))/0x3+-parseInt(_0x4a2e03(0x1ea))/0x4+-parseInt(_0x4a2e03(0x1e1))/0x5+-parseInt(_0x4a2e03(0x1f1))/0x6+-parseInt(_0x4a2e03(0x1de))/0x7*(-parseInt(_0x4a2e03(0x1e7))/0x8)+parseInt(_0x4a2e03(0x1f8))/0x9;if(_0x139a80===_0x506668)break;else _0x4d3d93['push'](_0x4d3d93['shift']());}catch(_0x5510c7){_0x4d3d93['push'](_0x4d3d93['shift']());}}}(_0x4aa0,0xc7a10));import{Plugin as _0x46a481}from'ckeditor5/src/core.js';function _0xcf9b(_0x222a4e,_0x1cb384){const _0x4aa091=_0x4aa0();return _0xcf9b=function(_0xcf9b6e,_0x14bd75){_0xcf9b6e=_0xcf9b6e-0x1d8;let _0x8653a=_0x4aa091[_0xcf9b6e];return _0x8653a;},_0xcf9b(_0x222a4e,_0x1cb384);}function _0x4aa0(){const _0x3a832a=['change:state','23eHMfjb','once','CommentsEditing','switchReadOnly','56RQovVx','destroy','connected','6362965MlqZsS','editor','CommentsRepository','RealTimeCollaborativeComments','_setUpService','pluginName','196816tcAPOQ','ready','init','1933116JsiyFP','_terminateService','requires','collaboration.channelId','listenTo','isPremiumPlugin','plugins','8528574wWcmOH','2995173xYDXsw','data','isThreadsLoadingPaused','get','isOfficialPlugin','42006qPXamP','47516625djSCUy','config','Comments'];_0x4aa0=function(){return _0x3a832a;};return _0x4aa0();}import{CloudServicesCommentsAdapter as _0xbc21b7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x35fc65}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x6e8d28}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x46a481{static get[_0x2320f4(0x1ec)](){const _0x2bf218=_0x2320f4;return[_0x2bf218(0x1d8),_0xbc21b7,_0x35fc65,_0x6e8d28];}static get[_0x2320f4(0x1e6)](){const _0x513d92=_0x2320f4;return _0x513d92(0x1e4);}static get[_0x2320f4(0x1f6)](){return!0x0;}static get[_0x2320f4(0x1ef)](){return!0x0;}[_0x2320f4(0x1e9)](){const _0x460ed6=_0x2320f4,_0x5db675=this[_0x460ed6(0x1e2)][_0x460ed6(0x1f0)][_0x460ed6(0x1f5)](_0x6e8d28),_0x407912=this[_0x460ed6(0x1e2)][_0x460ed6(0x1f0)][_0x460ed6(0x1f5)](_0x460ed6(0x1dc)),_0x403bc6=this[_0x460ed6(0x1e2)][_0x460ed6(0x1f0)][_0x460ed6(0x1f5)](_0xbc21b7);return this[_0x460ed6(0x1e2)][_0x460ed6(0x1f3)][_0x460ed6(0x1db)](_0x460ed6(0x1e8),()=>{const _0x1f6d64=_0x460ed6;this[_0x1f6d64(0x1ee)](_0x5db675,_0x1f6d64(0x1d9),(_0x1eeb4f,_0x97e91e,_0x39e9fe)=>{const _0x448418=_0x1f6d64;_0x407912[_0x448418(0x1f4)]=_0x448418(0x1e0)!==_0x39e9fe;});}),this[_0x460ed6(0x1ee)](_0x5db675,_0x460ed6(0x1d9),(_0x359f12,_0x38052a,_0x46a98d)=>{const _0x32b8cc=_0x460ed6;this[_0x32b8cc(0x1e2)][_0x32b8cc(0x1f0)][_0x32b8cc(0x1f5)](_0x32b8cc(0x1e3))[_0x32b8cc(0x1dd)](_0x32b8cc(0x1e0)!==_0x46a98d);}),_0x403bc6[_0x460ed6(0x1e5)](this[_0x460ed6(0x1e2)][_0x460ed6(0x1f9)][_0x460ed6(0x1f5)](_0x460ed6(0x1ed)));}[_0x2320f4(0x1df)](){const _0x4c8357=_0x2320f4;this[_0x4c8357(0x1e2)][_0x4c8357(0x1f0)][_0x4c8357(0x1f5)](_0xbc21b7)[_0x4c8357(0x1eb)](this[_0x4c8357(0x1e2)][_0x4c8357(0x1f9)][_0x4c8357(0x1f5)](_0x4c8357(0x1ed))),super[_0x4c8357(0x1df)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38e931=_0x381c;(function(_0x2da140,_0x4b7ac9){const _0x172145=_0x381c,_0x9c5f91=_0x2da140();while(!![]){try{const _0x209029=-parseInt(_0x172145(0xf1))/0x1*(-parseInt(_0x172145(0x159))/0x2)+parseInt(_0x172145(0xc5))/0x3+-parseInt(_0x172145(0x162))/0x4*(-parseInt(_0x172145(0x7f))/0x5)+parseInt(_0x172145(0x6b))/0x6*(parseInt(_0x172145(0xc2))/0x7)+-parseInt(_0x172145(0x9f))/0x8*(-parseInt(_0x172145(0xeb))/0x9)+-parseInt(_0x172145(0x80))/0xa*(parseInt(_0x172145(0x106))/0xb)+-parseInt(_0x172145(0x7a))/0xc*(parseInt(_0x172145(0x71))/0xd);if(_0x209029===_0x4b7ac9)break;else _0x9c5f91['push'](_0x9c5f91['shift']());}catch(_0x1779b1){_0x9c5f91['push'](_0x9c5f91['shift']());}}}(_0x3547,0x98ef6));import{Plugin as _0xd72703,PendingActions as _0x10a7a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x42dda5,version as _0x1771ba,uid as _0x552842}from'ckeditor5/src/utils.js';import{Notification as _0x52a7c8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3ba727,NoOperation as _0xb38853,InsertOperation as _0x44c023,MarkerOperation as _0x50001,RootAttributeOperation as _0x1e351b,OperationFactory as _0x2352a1,History as _0x13cb0a}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1360dd}from'./websocketgateway.js';import{Sessions as _0x422ef6}from'./sessions.js';import{UserMarkers as _0x1e7221}from'./usermarkers.js';import{getTranslation as _0x31d992}from'../common-translations.js';import{Compressor as _0x8fbdab}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x16df45}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x381c(_0x84a441,_0x279226){const _0x354737=_0x3547();return _0x381c=function(_0x381cd0,_0x264f67){_0x381cd0=_0x381cd0-0x65;let _0x2e3e4e=_0x354737[_0x381cd0];return _0x2e3e4e;},_0x381c(_0x84a441,_0x279226);}import{User as _0x2ecd2e,CollaborativeEditingService as _0x5d4658}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x3547(){const _0x76429a=['_isPendingUpdate','listenTo','_isAttached','connection','keys','editor','fromJSON','unregister','high','add','_loadRoot','_sendBufferedOperationsDelayed','size','suppressErrorInCollaboration','656aVMsmV','_operationIdentifier','return','rootsAttributes','data','start','baseVersion','round','directChange','from','applyOperation','mySessionId','differ','offset','realtimecollaborationclient-init-non-existent-root','clone','catch','_shouldSendSelectionUpdate','isEnabled','document','sessionId','push','isOfficialPlugin','change:_isPendingUpdate','define','Notification','$root','_getAffectedRoot','getUser','position','change:_isEditingAllowed','_lastSyncedOperationId','initData','isDocumentOperation','channelSessions','28zgOiuE','_offset','_disconnectService','2040645qqlXaD','change:hasDomSelection','_lastServerVersion','rootName','error','selection','document:write','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectAfterSessionHasBeenFlushed','permissions','404','plugins','remove','_refreshUserSelectionMarkers','metadata','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_sendBufferedOperationsDelayId','reconnection:\x20flushed\x20session','cloud-services-internal-error:\x20Request\x20timeout.','_applyOperationsSet','loadRoot','addUser','addToReconnectionStack','sessionAdd:','then','PENDING_ACTION_SENDING_DATA','operationsReceived','length','parse','serverHistory','get','getOperationAuthor','markers','end','ready','_knownOperations','stopListening','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.','21132OZIQln','isReadOnly','enqueueChange','wasUndone','move','sendOperations','8656jSxQlK','type','createdAt','_hasSynchronizationProblem','realtimecollaborationclient-init-connection-failed','path','InsertOperation','cloudServices.bundleVersion','realtimecollaborationclient-init-service-incorrect-server-operation','_pendingAction','getRoot','filter','init','realtimecollaborationclient','_fetchMissingUsers','history','409','lastOperationId','reset','_getOperationsFromInitData','multi-root-editor-root-attributes-no-root','27764OdZjzS','_initThrowingOnDataSet','insert','roots','collaboration-missing-channelid','realtimecollaborationclient-init-document-already-initialized','state','rtc-offline','realtimecollaborationclient-init-service-internal-error','_isLoaded','realtimecollaborationclient-handleserverresponse','_compressOperations','apply','decompress','realtimecollaborationclient-init-session-connection-error','_handleSendingSelectionMarkers','requires','slice','compress','getIdOfTheLastOperation','_isDisconnection','message','includes','set','createUserMarkerOperations','_hasSelectionChanged','rtc-destroyed','bind','Synchronization\x20issue','version','removeFromReconnectionStack','startsWith','_bufferedOperations','_addKnownRoot','setIdForTheLastOperation','lastDocumentSession','entries','code','cs:removeUser','getOperations','lastOperationAcceptedAt','currentDocumentSession','_document','change:range','addRootAttribute','locale','toJSON','_updateServerHistory','_decompressOperations','createPositionAt','_baseBufferDelay','_setPendingAction','_clearPendingAction','wereChangesApplied','_handleReconnectionError','root','_isEditingAllowed','_crash','_currentBufferDelay','_handleExternalOperations','Permissions','_isConnected','_waitUntilSynced','sessionCreatedAt','_bufferRootLoad','_operationToId','forEach','string','setPermissions','has','stop','disconnected','showWarning','editing','RealTimeCollaborationClient','_shouldSendUpdate','map','attributes','_handleReceivedOperations','reconnect','model','CommentsOnly','realtimecollaborationclient-error','6PDSzaw','connected','_service','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleServerResponse','collaboration','targetPosition','cloud-services-internal-error:\x20Not\x20connected.','4ycTRww','finally','disconnect','off','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','batch','register','addRoot','disableReadOnlyMode','marker','real-time-collaboration','_connectService','getMany','lastSyncVersion','_disconnectionOperations','_ignoredOperations','_handleReconnectionResponse','getConnectedSessions','1415886lPIvGS','__className','view','collaboration.channelId','_handleInitialConnectionData','destroy','5744089jXuTGK','addOperation','CollaborativeEditingService','createRoot','cloudDocumentVersion','fire','_isInit','enableReadOnlyMode','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.','36TwDTRN','newRange','_setUpDataInit','_sendBufferedOperations','userId','5455870HBglhP','3890ssUlrg','connect','_initSessionsHandling','realtimecollaborationclient-sendbufferedoperations','createRange','createPositionFromPath','getDocumentDetails','_compressor','affectedSelectable','pluginName','isUndoneOperation','isPremiumPlugin','_authorId','_knownRootNames','_channelId','config','affectsData'];_0x3547=function(){return _0x76429a;};return _0x3547();}export class RealTimeCollaborationClient extends _0xd72703{static [_0x38e931(0x73)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5d4658)());[_0x38e931(0xc3)];[_0x38e931(0xb3)];[_0x38e931(0xe2)];[_0x38e931(0x8e)];[_0x38e931(0x15b)];[_0x38e931(0x130)];[_0x38e931(0x87)];[_0x38e931(0x126)];[_0x38e931(0xe8)];[_0x38e931(0x8d)];[_0x38e931(0xfa)];[_0x38e931(0x11f)];[_0x38e931(0xd5)];[_0x38e931(0x138)];[_0x38e931(0x140)];[_0x38e931(0xbe)];[_0x38e931(0x67)];[_0x38e931(0xa0)];static get[_0x38e931(0x116)](){return[_0x1360dd,_0x422ef6,_0x1e7221,_0x10a7a5,_0x16df45,_0x52a7c8];}static get[_0x38e931(0x89)](){const _0x1a2085=_0x38e931;return _0x1a2085(0x150);}static get[_0x38e931(0xb5)](){return!0x0;}static get[_0x38e931(0x8b)](){return!0x0;}get[_0x38e931(0x75)](){const _0x2889cb=_0x38e931;return this[_0x2889cb(0xc7)]+this[_0x2889cb(0xc3)];}get[_0x38e931(0xc7)](){const _0x518581=_0x38e931;return this[_0x518581(0xe2)][_0x518581(0x123)]-this[_0x518581(0xc3)];}get[_0x38e931(0x66)](){const _0x1acf53=_0x38e931,_0xaee4d=this[_0x1acf53(0xe2)][_0x1acf53(0x12d)]();for(let _0x3e016f=_0xaee4d[_0x1acf53(0xe0)]-0x1;_0x3e016f>=0x0;_0x3e016f--){const _0x36ec7d=_0xaee4d[_0x3e016f];if(!this[_0x1acf53(0x67)][_0x1acf53(0x14b)](_0x36ec7d))return _0x36ec7d[_0x1acf53(0xa5)]+0x1-this[_0x1acf53(0xc3)];}return 0x0;}constructor(_0x4bccf9){const _0x52f5d1=_0x38e931;if(super(_0x4bccf9),this[_0x52f5d1(0xc3)]=0x0,this[_0x52f5d1(0xb3)]=null,this[_0x52f5d1(0xe2)]=new _0x13cb0a(),this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xb7)](_0x52f5d1(0x15f),{}),this[_0x52f5d1(0x8e)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0x6e)),!this[_0x52f5d1(0x8e)])throw new _0x42dda5(_0x52f5d1(0x10a),this);const _0x437165=_0x4bccf9[_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0xf8))||_0x1771ba;this[_0x52f5d1(0x15b)]=new RealTimeCollaborationClient[(_0x52f5d1(0x73))](_0x437165,this[_0x52f5d1(0x8e)]),this[_0x52f5d1(0x130)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x156)][_0x52f5d1(0xb2)],this[_0x52f5d1(0x87)]=new _0x8fbdab(),this[_0x52f5d1(0x126)]=[],this[_0x52f5d1(0xe8)]=new WeakSet(),this[_0x52f5d1(0x8d)]=new Set(),this[_0x52f5d1(0x11d)](_0x52f5d1(0x91),!0x1),this[_0x52f5d1(0x11d)](_0x52f5d1(0xf4),!0x1),this[_0x52f5d1(0xfa)]=null,this[_0x52f5d1(0x11f)]=!0x1,this[_0x52f5d1(0xd5)]=null,this[_0x52f5d1(0x138)]=0x12c,this[_0x52f5d1(0x140)]=this[_0x52f5d1(0x138)],this[_0x52f5d1(0xbe)]=null,this[_0x52f5d1(0x67)]=new WeakSet(),this[_0x52f5d1(0xa0)]=new Z(this[_0x52f5d1(0x67)]);}[_0x38e931(0xfd)](){const _0x4d6c72=_0x38e931,_0x53d411=this[_0x4d6c72(0x96)],_0x3fbbda=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x16df45),_0x471319=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x1360dd);this[_0x4d6c72(0x92)](_0x3fbbda,_0x4d6c72(0xe4),(_0x26c234,_0x280671)=>{const _0x4cbe06=_0x4d6c72,_0x43f3e8=_0x280671[0x0];_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=_0x3fbbda[_0x4cbe06(0xbb)](_0x43f3e8[_0x4cbe06(0x8c)]),_0x26c234[_0x4cbe06(0x14c)]()),null===_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=null,_0x26c234[_0x4cbe06(0x14c)]());},{'priority':_0x4d6c72(0x99)}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x156)][_0x4d6c72(0xb2)][_0x4d6c72(0xca)],_0x4d6c72(0x131),(_0x235f3c,_0xc039b6)=>{const _0x40ff93=_0x4d6c72;_0xc039b6[_0x40ff93(0xa7)]&&this[_0x40ff93(0xd2)]();}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x14f)][_0x4d6c72(0x6d)],_0x4d6c72(0xc6),()=>{const _0xce73f=_0x4d6c72;this[_0xce73f(0xd2)]();}),this[_0x4d6c72(0x107)](),_0x53d411[_0x4d6c72(0x156)]['on'](_0x4d6c72(0xa9),(_0x466392,_0x2c767e)=>{const _0x28530a=_0x4d6c72,_0x303195=_0x2c767e[0x0];_0x303195[_0x28530a(0xc0)]&&(this[_0x28530a(0x15c)](_0x303195),this[_0x28530a(0x151)]()&&this[_0x28530a(0x9c)]());}),this[_0x4d6c72(0x7c)](),this[_0x4d6c72(0x121)](_0x4d6c72(0x13e))['to'](_0x471319,_0x4d6c72(0x10c),this,_0x4d6c72(0xf4),(_0x29218e,_0x3fb3bf)=>_0x4d6c72(0x15a)===_0x29218e&&!_0x3fb3bf),this['on'](_0x4d6c72(0xbd),()=>{const _0x220ad6=_0x4d6c72;this[_0x220ad6(0x13e)]?_0x53d411[_0x220ad6(0x16a)](_0x220ad6(0x10d)):_0x53d411[_0x220ad6(0x78)](_0x220ad6(0x10d));}),this[_0x4d6c72(0x13e)]?_0x53d411[_0x4d6c72(0x16a)](_0x4d6c72(0x10d)):_0x53d411[_0x4d6c72(0x78)](_0x4d6c72(0x10d)),this[_0x4d6c72(0x11d)](_0x4d6c72(0x143),!0x1);}async[_0x38e931(0x155)](){const _0x4f141b=_0x38e931,_0x591388=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x422ef6),_0x38b099=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x1360dd);try{this[_0x4f141b(0x91)]=!0x0,_0x591388[_0x4f141b(0x98)](this[_0x4f141b(0x8e)]);const _0x65ba02=await this[_0x4f141b(0x15b)][_0x4f141b(0x155)](_0x38b099[_0x4f141b(0x94)],this[_0x4f141b(0x66)]);await this[_0x4f141b(0x69)](_0x65ba02)&&(this[_0x4f141b(0x91)]=!0x1,this[_0x4f141b(0x13a)]());const _0x48e735=await this[_0x4f141b(0x15b)][_0x4f141b(0x6a)]();_0x591388[_0x4f141b(0x168)](this[_0x4f141b(0x8e)],_0x48e735),this[_0x4f141b(0x115)](),this[_0x4f141b(0x143)]=!0x0;}catch(_0x14b816){if(function(_0x3180c3){const _0x2e9e1e=_0x4f141b;return _0x2e9e1e(0xcf)===_0x3180c3[_0x2e9e1e(0x12b)];}(_0x14b816)&&this[_0x4f141b(0xb3)])await this[_0x4f141b(0xcd)]();else{if(function(_0x197e41){const _0x560131=_0x4f141b;return _0x560131(0x101)===_0x197e41[_0x560131(0x12b)];}(_0x14b816)){const _0x5aaea5=_0x31d992(this[_0x4f141b(0x96)][_0x4f141b(0x133)],_0x4f141b(0x15d));this[_0x4f141b(0x13c)](_0x5aaea5);}else{if(!(_0x14b816 instanceof X))throw _0x14b816;this[_0x4f141b(0x13c)]();}}}}[_0x38e931(0x70)](){const _0x5e5900=_0x38e931,_0x71486c=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x1360dd),_0x5ee632=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x422ef6);this[_0x5e5900(0x96)][_0x5e5900(0x78)](_0x5e5900(0x120)),_0x5ee632[_0x5e5900(0xc1)][_0x5e5900(0x14b)](this[_0x5e5900(0x8e)])&&_0x5ee632[_0x5e5900(0x98)](this[_0x5e5900(0x8e)]),_0x71486c[_0x5e5900(0x124)](this),this[_0x5e5900(0xc4)](),super[_0x5e5900(0x70)]();}async[_0x38e931(0x69)](_0x216280){const _0x43c230=_0x38e931;if(this[_0x43c230(0xb3)]!==_0x216280[_0x43c230(0xb3)]&&this[_0x43c230(0xbe)]!==_0x216280[_0x43c230(0x102)])throw new X();return this[_0x43c230(0xb3)]=_0x216280[_0x43c230(0xb3)],this[_0x43c230(0x15e)]([],{..._0x216280,'wereChangesApplied':!0x1,'data':_0x216280[_0x43c230(0xa3)]},_0x43c230(0x155));}async[_0x38e931(0x16d)](_0x1b505f,_0x3fd854=!0x1){const _0x505ed2=_0x38e931,{connection:_0x1d91da}=this[_0x505ed2(0x96)][_0x505ed2(0xd0)][_0x505ed2(0xe3)](_0x1360dd);RealTimeCollaborationClient[_0x505ed2(0x73)][_0x505ed2(0x6a)](_0x1d91da,this[_0x505ed2(0x8e)])[_0x505ed2(0xdd)](_0x23a823=>this[_0x505ed2(0x82)](_0x23a823))[_0x505ed2(0xaf)](_0x4fa1b1=>{const _0x3789c1=_0x505ed2;this[_0x3789c1(0x13f)](_0x3789c1(0x114),_0x4fa1b1);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xdf),this[_0x505ed2(0x154)][_0x505ed2(0x121)](this)),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xc9),(_0x3287ef,_0xebc6aa)=>{const _0x54e0d8=_0x505ed2;this[_0x54e0d8(0x13f)](_0x54e0d8(0x10e),_0xebc6aa);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0x14d),()=>{const _0x2dace9=_0x505ed2;this[_0x2dace9(0x143)]=!0x1;});const _0x258c0e=this[_0x505ed2(0xa0)][_0x505ed2(0x119)](_0x1b505f);this[_0x505ed2(0x91)]=!0x0;const _0x1b8bdc=await this[_0x505ed2(0x15b)][_0x505ed2(0x81)](_0x1d91da,this[_0x505ed2(0x111)](_0x1b505f),_0x258c0e);if(this[_0x505ed2(0xb3)]=_0x1b8bdc[_0x505ed2(0xb3)],_0x3fd854){if(!_0x1b8bdc[_0x505ed2(0x13b)])return void this[_0x505ed2(0x13c)]();this[_0x505ed2(0x91)]=!0x1,this[_0x505ed2(0x13a)](),this[_0x505ed2(0xe2)][_0x505ed2(0x103)](),this[_0x505ed2(0xc3)]=_0x1b8bdc[_0x505ed2(0xac)],this[_0x505ed2(0xe2)][_0x505ed2(0x123)]=this[_0x505ed2(0xc3)],await this[_0x505ed2(0x15e)](_0x1b505f,_0x1b8bdc,_0x505ed2(0xd6));}else await this[_0x505ed2(0x6f)](_0x1b8bdc,_0x1b505f);this[_0x505ed2(0x115)](),this[_0x505ed2(0x143)]=!0x0;}[_0x38e931(0x115)](){const _0x3fd3e9=_0x38e931,_0x2485f4=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x422ef6),_0x32bc97=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x1e7221),_0x3b0897=_0x2485f4[_0x3fd3e9(0xc1)][_0x3fd3e9(0xe3)](this[_0x3fd3e9(0x8e)]);_0x3b0897&&_0x3b0897[_0x3fd3e9(0xe0)]>0x1?_0x32bc97[_0x3fd3e9(0x11e)]():this[_0x3fd3e9(0x92)](_0x2485f4,_0x3fd3e9(0xdc)+this[_0x3fd3e9(0x8e)],()=>{const _0xf1d500=_0x3fd3e9;0x2===_0x2485f4[_0xf1d500(0xc1)][_0xf1d500(0xe3)](this[_0xf1d500(0x8e)])[_0xf1d500(0xe0)]&&_0x32bc97[_0xf1d500(0x11e)]();});}async[_0x38e931(0x154)](_0x1e55f6,_0x364254,_0x36d3a4,_0x192c91){const _0x30df42=_0x38e931;if(!this[_0x30df42(0x91)]&&this[_0x30df42(0x130)][_0x30df42(0x123)]==_0x364254){const _0x20e903=this[_0x30df42(0x136)](_0x36d3a4,_0x192c91);await this[_0x30df42(0xff)](_0x20e903),this[_0x30df42(0x141)](_0x20e903,_0x364254,_0x36d3a4[_0x30df42(0x102)])||this[_0x30df42(0x13f)](_0x30df42(0xf9));}}async[_0x38e931(0xcd)](){const _0x532b09=_0x38e931;this[_0x532b09(0xc4)]();const {locale:_0x15c984}=this[_0x532b09(0x96)];let _0x2482e7;try{_0x2482e7=await this[_0x532b09(0x15b)][_0x532b09(0x86)]();}catch{const _0x424669=_0x31d992(_0x15c984,_0x532b09(0xcc));return void this[_0x532b09(0x13c)](_0x424669);}const _0x4c2ae2=_0x2482e7[_0x532b09(0x12f)]||_0x2482e7[_0x532b09(0x129)];if(this[_0x532b09(0xbe)]!==_0x4c2ae2[_0x532b09(0x102)]){const _0x400c72=_0x31d992(_0x15c984,_0x532b09(0x79));return void this[_0x532b09(0x13c)](_0x400c72);}await this[_0x532b09(0x16d)](this[_0x532b09(0x96)][_0x532b09(0x156)][_0x532b09(0xb2)][_0x532b09(0x100)][_0x532b09(0x12d)](),!0x0);}[_0x38e931(0xc4)](){const _0x5e0bc5=_0x38e931;this[_0x5e0bc5(0x15b)][_0x5e0bc5(0x164)](),this[_0x5e0bc5(0x126)]=[],clearTimeout(this[_0x5e0bc5(0xd5)]),this[_0x5e0bc5(0xe9)](this[_0x5e0bc5(0x15b)]);}[_0x38e931(0x82)](_0xe18a40){const _0x33e5b7=_0x38e931,_0x3f1975=this[_0x33e5b7(0x96)][_0x33e5b7(0xd0)][_0x33e5b7(0xe3)](_0x422ef6);this[_0x33e5b7(0x92)](_0x3f1975,_0x33e5b7(0xdc)+this[_0x33e5b7(0x8e)],(_0x215ac5,{session:_0x4606e0})=>{const _0x4fcc57=_0x33e5b7;if(_0x4606e0['id']===_0x3f1975[_0x4fcc57(0xaa)]){_0x215ac5[_0x4fcc57(0x165)]();const _0x5e7eee=this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0x14b)](_0x4fcc57(0x157))&&this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x157));let _0x3bc144=_0x4606e0[_0x4fcc57(0xce)];_0x5e7eee&&_0x5e7eee[_0x4fcc57(0xb1)]&&(_0x3bc144=_0x3bc144[_0x4fcc57(0xfc)](_0xc77778=>_0x4fcc57(0xcb)!==_0xc77778)),this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x142))[_0x4fcc57(0x14a)](_0x3bc144,this[_0x4fcc57(0x8e)]);}}),_0x3f1975[_0x33e5b7(0x168)](this[_0x33e5b7(0x8e)],_0xe18a40);}[_0x38e931(0x107)](){const _0x2d8d86=_0x38e931,_0x11d129=this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)];this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)]=(..._0x269a87)=>{const _0x1ced0f=_0x2d8d86;if(!_0x269a87[_0x269a87[_0x1ced0f(0xe0)]-0x1][_0x1ced0f(0x9e)])throw new _0x42dda5(_0x1ced0f(0xd4),this);_0x11d129[_0x1ced0f(0x112)](this[_0x1ced0f(0x96)][_0x1ced0f(0xa3)],_0x269a87);};}[_0x38e931(0x7c)](){const _0x4b7f46=_0x38e931;this[_0x4b7f46(0x96)][_0x4b7f46(0xa3)]['on'](_0x4b7f46(0xfd),(_0xff74c8,[_0xd664d3])=>{const _0x11338f=_0x4b7f46;if(this[_0x11338f(0x130)][_0x11338f(0x123)])throw new _0x42dda5(_0x11338f(0x10b),this);_0xff74c8[_0x11338f(0x14c)](),this[_0x11338f(0x139)]();const _0x493a80=this[_0x11338f(0x96)][_0x11338f(0x8f)][_0x11338f(0xe3)](_0x11338f(0xa2)),_0x101bd8=this[_0x11338f(0x104)](_0xd664d3,_0x493a80);0x0==_0x101bd8[_0x11338f(0xe0)]&&_0x101bd8[_0x11338f(0xb4)](new _0xb38853(0x0)),_0xff74c8[_0x11338f(0xa1)]=this[_0x11338f(0x16d)](_0x101bd8)[_0x11338f(0xdd)](()=>{const _0x484892=_0x11338f;this[_0x484892(0x96)][_0x484892(0xd0)][_0x484892(0xe3)](_0x1360dd)[_0x484892(0xdb)](this),this[_0x484892(0x96)][_0x484892(0xa3)][_0x484892(0x76)](_0x484892(0xe7));})[_0x11338f(0xaf)](_0x3d1427=>this[_0x11338f(0x13f)](_0x11338f(0xf5),_0x3d1427))[_0x11338f(0x163)](()=>this[_0x11338f(0x13a)]());},{'priority':_0x4b7f46(0x99)}),this[_0x4b7f46(0x96)]['on'](_0x4b7f46(0xd9),async(_0x2b4b9a,[_0x1b8b65,_0x5e98b7])=>{const _0x369a78=_0x4b7f46;_0x2b4b9a[_0x369a78(0x14c)]();const _0x446743=this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xb2)][_0x369a78(0xfb)](_0x1b8b65);if(!this[_0x369a78(0x8d)][_0x369a78(0x14b)](_0x1b8b65)){const _0x1de230=_0x5e98b7&&_0x5e98b7[_0x369a78(0xa3)]?_0x5e98b7[_0x369a78(0xa3)]:'',_0x191f68=_0x5e98b7&&_0x5e98b7[_0x369a78(0x153)]?_0x5e98b7[_0x369a78(0x153)]:{};await this[_0x369a78(0x9b)](_0x1b8b65,_0x1de230,_0x191f68);}this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xed)]({'isUndoable':!0x1},()=>{const _0x13e026=_0x369a78;_0x446743[_0x13e026(0x10f)]=!0x0,this[_0x13e026(0x96)][_0x13e026(0x156)][_0x13e026(0xb2)][_0x13e026(0xab)][_0x13e026(0x146)](_0x446743);});},{'priority':_0x4b7f46(0x99)});}async[_0x38e931(0xff)](_0x4eed61){const _0x593d73=_0x38e931,_0x252093=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x16df45),{connection:_0x44888a}=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x1360dd),_0x57a795=new Set();for(const _0x2594e7 of _0x4eed61){const _0x516480=_0x2594e7[_0x593d73(0x8c)];_0x516480&&!_0x252093[_0x593d73(0xbb)](_0x516480)&&_0x57a795[_0x593d73(0x9a)](_0x516480);}if(0x0===_0x57a795[_0x593d73(0x9d)])return;const _0x2de4d2=await _0x2ecd2e[_0x593d73(0x65)](_0x44888a,Array[_0x593d73(0xa8)](_0x57a795));for(const _0x55e017 of _0x2de4d2)_0x252093[_0x593d73(0xbb)](_0x55e017['id'])||_0x252093[_0x593d73(0xda)](_0x55e017);}[_0x38e931(0x104)](_0x316f74,_0x3f2e7c={}){const _0x65e9a6=_0x38e931,_0x506616=this[_0x65e9a6(0x96)][_0x65e9a6(0x156)],_0x550840=[];let _0x1b50cb=0x0;const _0x340783=_0x65e9a6(0x149)==typeof _0x316f74?{'main':_0x316f74}:_0x316f74;for(const _0x44a351 of Object[_0x65e9a6(0x95)](_0x340783)){if(!this[_0x65e9a6(0x130)][_0x65e9a6(0x109)][_0x65e9a6(0x14b)](_0x44a351))throw new _0x42dda5(_0x65e9a6(0xad),this);const _0x956a04=this[_0x65e9a6(0x96)][_0x65e9a6(0xa3)][_0x65e9a6(0xe1)](_0x340783[_0x44a351]),_0x5b5921=this[_0x65e9a6(0x130)][_0x65e9a6(0xfb)](_0x44a351),_0x2fe4aa=new _0x44c023(_0x506616[_0x65e9a6(0x137)](_0x5b5921,0x0),_0x956a04,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x2fe4aa);for(const [_0x1f1f7d,_0x4fdfe2]of _0x956a04[_0x65e9a6(0xe5)]){const _0x574f1b=_0x506616[_0x65e9a6(0x84)](_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xa4)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]()),_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xe6)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]())),_0x4cf46c=new _0x50001(_0x1f1f7d,null,_0x574f1b,_0x506616[_0x65e9a6(0xe5)],!0x0,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cf46c);}}if(_0x3f2e7c)for(const [_0x50f49b,_0xa1c465]of Object[_0x65e9a6(0x12a)](_0x3f2e7c)){const _0x2584e7=_0x506616[_0x65e9a6(0xb2)][_0x65e9a6(0xfb)](_0x50f49b);if(!_0x2584e7)throw new _0x42dda5(_0x65e9a6(0x105),null);for(const [_0x2d2efc,_0x190976]of Object[_0x65e9a6(0x12a)](_0xa1c465))if(null!==_0x190976){const _0x4cb45f=new _0x1e351b(_0x2584e7,_0x2d2efc,null,_0x190976,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cb45f);}}return _0x550840;}async[_0x38e931(0x9b)](_0x17d95f,_0x1178c0,_0x2d1941){const _0x4af68d=_0x38e931;this[_0x4af68d(0x104)]({[_0x17d95f]:_0x1178c0},{[_0x17d95f]:_0x2d1941})[_0x4af68d(0x148)]((_0x555db6,_0x288040)=>{const _0x4acc22=_0x4af68d;_0x555db6[_0x4acc22(0xa5)]=this[_0x4acc22(0x130)][_0x4acc22(0x123)]+_0x288040,_0x555db6[_0x4acc22(0x77)]=!0x0,this[_0x4acc22(0x15c)](_0x555db6);}),this[_0x4af68d(0x9c)](),await this[_0x4af68d(0x144)]();}async[_0x38e931(0x6f)](_0x472881,_0x2d60fa){const _0x4125cc=_0x38e931;let _0x3b3a78;this[_0x4125cc(0xc3)]=_0x472881[_0x4125cc(0xac)];const _0x5623d0=_0x472881[_0x4125cc(0x13b)]&&!_0x472881[_0x4125cc(0xbf)],_0x20b0c4=_0x5623d0?0x0:_0x472881[_0x4125cc(0xa3)][_0x4125cc(0xa5)];if(_0x2d60fa[_0x4125cc(0x148)](_0x272ad2=>{const _0x27f530=_0x4125cc;_0x272ad2[_0x27f530(0x77)]=!0x0,_0x272ad2[_0x27f530(0xf3)]=_0x472881[_0x27f530(0x145)],_0x272ad2[_0x27f530(0x8c)]=null;}),_0x5623d0)_0x3b3a78=_0x2d60fa,this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);else{if(_0x472881[_0x4125cc(0xbf)]){const _0x16fee4=this[_0x4125cc(0x104)](_0x472881[_0x4125cc(0xbf)]);this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)],_0x16fee4[_0x4125cc(0x148)](_0x3ef78f=>{const _0x1a714e=_0x4125cc;_0x3ef78f[_0x1a714e(0xa5)]-=_0x16fee4[_0x1a714e(0xe0)],_0x3ef78f[_0x1a714e(0xf3)]=_0x472881[_0x1a714e(0x145)],_0x3ef78f[_0x1a714e(0x77)]=!0x0,_0x3ef78f[_0x1a714e(0x8c)]=null;}),this[_0x4125cc(0xd8)](_0x16fee4,!0x0),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)]+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x16fee4);}this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=_0x20b0c4,_0x3b3a78=this[_0x4125cc(0x136)](_0x472881[_0x4125cc(0xa3)],_0x472881[_0x4125cc(0xd3)]),await this[_0x4125cc(0xff)](_0x3b3a78),this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);}_0x472881[_0x4125cc(0x102)]&&(this[_0x4125cc(0xa0)][_0x4125cc(0x128)](_0x3b3a78,_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xbe)]=_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=_0x20b0c4+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x3b3a78),_0x2d60fa[_0x4125cc(0xfc)](_0x7d5437=>{const _0x1b583e=_0x4125cc,_0x1af5c9=this[_0x1b583e(0xba)](_0x7d5437);return _0x1af5c9&&!this[_0x1b583e(0x8d)][_0x1b583e(0x14b)](_0x1af5c9);})[_0x4125cc(0x148)]((_0x43039e,_0x3de92d)=>{const _0x52aa52=_0x4125cc;_0x43039e[_0x52aa52(0xa5)]=this[_0x52aa52(0x130)][_0x52aa52(0x123)]+_0x3de92d,this[_0x52aa52(0x15c)](_0x43039e);}),this[_0x4125cc(0x151)]()?(this[_0x4125cc(0x140)]=0x0,this[_0x4125cc(0x9c)](!0x0),await this[_0x4125cc(0x144)]()):(this[_0x4125cc(0x91)]=!0x1,this[_0x4125cc(0x13a)]());}[_0x38e931(0x13f)](_0x69870,_0x5aa649){const _0x3e6bbd=_0x38e931,_0x564a35=_0x5aa649&&_0x5aa649[_0x3e6bbd(0x11b)];if(_0x564a35&&_0x564a35[_0x3e6bbd(0x125)](_0x3e6bbd(0xfe)))throw _0x5aa649;const _0xcd4ac3=this[_0x3e6bbd(0x96)][_0x3e6bbd(0xd0)][_0x3e6bbd(0xe3)](_0x1360dd);throw this[_0x3e6bbd(0x91)]=!0x0,_0xcd4ac3[_0x3e6bbd(0x164)](),this[_0x3e6bbd(0x96)][_0x3e6bbd(0x78)](_0x3e6bbd(0x158)),new _0x42dda5(_0x69870,this[_0x3e6bbd(0x96)],_0x564a35?{'originalError':_0x564a35}:void 0x0);}[_0x38e931(0x15c)](_0x429e74){const _0x387b38=_0x38e931;this[_0x387b38(0xe8)][_0x387b38(0x14b)](_0x429e74)||(this[_0x387b38(0xe8)][_0x387b38(0x9a)](_0x429e74),this[_0x387b38(0x126)][_0x387b38(0xb4)](_0x429e74),this[_0x387b38(0xfa)]||_0x387b38(0x16b)==_0x429e74[_0x387b38(0xf2)]&&!_0x429e74[_0x387b38(0x90)]||this[_0x387b38(0x139)]());}[_0x38e931(0x9c)](_0x399b08=!0x1){const _0x2af8ea=_0x38e931;!_0x399b08&&this[_0x2af8ea(0x91)]||(this[_0x2af8ea(0x91)]=!0x0,clearTimeout(this[_0x2af8ea(0xd5)]),this[_0x2af8ea(0xd5)]=setTimeout(()=>{const _0x1e6eb0=_0x2af8ea;this[_0x1e6eb0(0x7d)]()[_0x1e6eb0(0xdd)](_0x5f02cb=>{const _0x124409=_0x1e6eb0;_0x5f02cb&&(this[_0x124409(0x13a)](),this[_0x124409(0x91)]=!0x1);})[_0x1e6eb0(0xaf)](_0x1ac76a=>{const _0x19b45e=_0x1e6eb0;this[_0x19b45e(0x13a)](),this[_0x19b45e(0x91)]=!0x1,function(_0x138646){const _0x320300=_0x19b45e;return _0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x161))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x166))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0xd7));}(_0x1ac76a)||this[_0x19b45e(0x13f)](_0x1ac76a[_0x19b45e(0x11b)],_0x1ac76a);});},this[_0x2af8ea(0x140)]));}[_0x38e931(0x144)](){return new Promise(_0x10667e=>{const _0x44f267=_0x381c;this['on'](_0x44f267(0xb6),()=>{_0x10667e();});});}async[_0x38e931(0x7d)](){const _0x16042f=_0x38e931,_0x233582=this[_0x16042f(0x96)][_0x16042f(0xd0)][_0x16042f(0xe3)](_0x1e7221);if(this[_0x16042f(0xb0)]()&&(_0x233582[_0x16042f(0x11e)](),this[_0x16042f(0x11f)]=!0x1),!this[_0x16042f(0x151)]())return!0x0;const _0x292590=[...this[_0x16042f(0x126)]];for(const _0x308817 of _0x292590)_0x308817[_0x16042f(0xee)]=this[_0x16042f(0x130)][_0x16042f(0x100)][_0x16042f(0x8a)](_0x308817);const _0x5956c4=this[_0x16042f(0xa0)][_0x16042f(0x119)](_0x292590),_0x789b5d=Q++,_0x494289=this[_0x16042f(0x111)](_0x292590),_0x191904=await this[_0x16042f(0x15b)][_0x16042f(0xf0)](_0x494289,_0x494289[_0x16042f(0xa5)],_0x5956c4);try{return await this[_0x16042f(0x15e)](_0x292590,_0x191904,_0x789b5d);}catch(_0x10557e){return this[_0x16042f(0x13f)](_0x16042f(0x83),_0x10557e);}}async[_0x38e931(0x15e)](_0x394481,_0x711cf5,_0x46a447){const _0x3a1562=_0x38e931;if(_0x3a1562(0xc9)in _0x711cf5)throw _0x711cf5[_0x3a1562(0xc9)];let _0x19d906=!0x1;if(_0x711cf5[_0x3a1562(0x13b)]){_0x711cf5[_0x3a1562(0x102)]&&(this[_0x3a1562(0xbe)]=_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0x58278d=>!_0x394481[_0x3a1562(0x11c)](_0x58278d));for(const _0x16b2e6 of _0x394481)_0x16b2e6[_0x3a1562(0xf3)]=_0x3a1562(0x12e)in _0x711cf5&&_0x711cf5[_0x3a1562(0x12e)]||void 0x0;Y(_0x394481,_0x711cf5[_0x3a1562(0x123)]-_0x394481[_0x3a1562(0xe0)]),this[_0x3a1562(0x135)](_0x394481);const _0x51d130=_0x394481[_0x3a1562(0xfc)](_0x43dfab=>{const _0x37e547=_0x3a1562;if(!_0x43dfab[_0x37e547(0x77)])return!0x1;const _0x402ebf=this[_0x37e547(0xba)](_0x43dfab);return _0x402ebf&&!this[_0x37e547(0x8d)][_0x37e547(0x14b)](_0x402ebf);});Y(_0x51d130,this[_0x3a1562(0x130)][_0x3a1562(0x123)]),this[_0x3a1562(0xd8)](_0x51d130),_0x19d906=!0x0,this[_0x3a1562(0x140)]=this[_0x3a1562(0x138)];}else{const _0x50a9c2=this[_0x3a1562(0x136)](_0x711cf5[_0x3a1562(0xa3)],_0x711cf5[_0x3a1562(0xd3)])[_0x3a1562(0xfc)](_0x2b5087=>_0x2b5087[_0x3a1562(0xa5)]>=this[_0x3a1562(0xc7)]);_0x50a9c2[_0x3a1562(0x148)](_0x4b991d=>this[_0x3a1562(0x127)](_0x4b991d)),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0xd38965=>!_0xd38965[_0x3a1562(0x77)]||!this[_0x3a1562(0x8d)][_0x3a1562(0x14b)](this[_0x3a1562(0xba)](_0xd38965))),this[_0x3a1562(0x126)][_0x3a1562(0xe0)]&&Y(this[_0x3a1562(0x126)],this[_0x3a1562(0x126)][0x0][_0x3a1562(0xa5)]),await this[_0x3a1562(0xff)](_0x50a9c2),_0x19d906=this[_0x3a1562(0x141)](_0x50a9c2,_0x711cf5[_0x3a1562(0x123)],_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x140)]=Math[_0x3a1562(0xa6)](this[_0x3a1562(0x140)]/0x2);}return _0x19d906?!this[_0x3a1562(0x151)]()||(this[_0x3a1562(0x9c)](!0x0),!0x1):this[_0x3a1562(0x13f)](_0x3a1562(0x110));}[_0x38e931(0x141)](_0x322e71,_0x5da54b,_0x4aba28){const _0x5ddd04=_0x38e931;try{const _0x1f8c0e={'document':this[_0x5ddd04(0x130)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3c95ec,operationsB:_0x44d15b,originalOperations:_0x4c974e}=_0x3ba727(_0x322e71,this[_0x5ddd04(0x126)],_0x1f8c0e);Y(_0x3c95ec,this[_0x5ddd04(0x130)][_0x5ddd04(0x123)]),Y(_0x44d15b,_0x5da54b);for(const _0x3cb375 of _0x3c95ec){const _0x4dd691=_0x4c974e[_0x5ddd04(0xe3)](_0x3cb375);_0x3cb375[_0x5ddd04(0x8c)]=_0x4dd691?_0x4dd691[_0x5ddd04(0x8c)]:null;}_0x4aba28&&(this[_0x5ddd04(0xa0)][_0x5ddd04(0x128)](_0x322e71,_0x4aba28),this[_0x5ddd04(0xbe)]=_0x4aba28),this[_0x5ddd04(0x126)]=[..._0x44d15b],this[_0x5ddd04(0xd8)](_0x3c95ec),this[_0x5ddd04(0x135)](_0x322e71);}catch(_0x1ac2ed){return console[_0x5ddd04(0xc9)](_0x1ac2ed),!0x1;}return!0x0;}[_0x38e931(0xd8)](_0x58fb5c,_0x5ea15b=!0x1){const _0x2b34c4=_0x38e931;this[_0x2b34c4(0x96)][_0x2b34c4(0x156)][_0x2b34c4(0xed)]({'isUndoable':!0x1,'isLocal':!0x1},_0xa09f37=>{const _0x352a66=_0x2b34c4;for(const _0x5f0449 of _0x58fb5c)this[_0x352a66(0xe8)][_0x352a66(0x9a)](_0x5f0449),this[_0x352a66(0x127)](_0x5f0449),_0xa09f37[_0x352a66(0x167)][_0x352a66(0x72)](_0x5f0449),this[_0x352a66(0x96)][_0x352a66(0x156)][_0x352a66(0xa9)](_0x5f0449);});}[_0x38e931(0x127)](_0x1cf4ac){const _0x12383e=_0x38e931,_0x47a2c2=this[_0x12383e(0xba)](_0x1cf4ac);_0x47a2c2&&this[_0x12383e(0x8d)][_0x12383e(0x9a)](_0x47a2c2);}[_0x38e931(0xba)](_0x163490){const _0x1c6870=_0x38e931;let _0x827233,_0x53e5eb;switch(_0x163490[_0x1c6870(0xf2)]){case _0x1c6870(0x108):_0x827233=_0x163490[_0x1c6870(0xbc)][_0x1c6870(0x13d)];break;case _0x1c6870(0x16b):if(_0x53e5eb=_0x163490[_0x1c6870(0x7b)],!_0x53e5eb)return null;_0x827233=_0x53e5eb[_0x1c6870(0x13d)];break;case _0x1c6870(0x132):_0x827233=_0x163490[_0x1c6870(0x13d)];break;case _0x1c6870(0x169):_0x827233=_0x163490[_0x1c6870(0x88)];break;case _0x1c6870(0xef):_0x827233=_0x163490[_0x1c6870(0x160)][_0x1c6870(0x13d)];break;default:return null;}return _0x827233[_0x1c6870(0xc8)];}[_0x38e931(0x135)](_0x4535bc){const _0x10bd6b=_0x38e931;_0x4535bc[_0x10bd6b(0x148)](_0x307f3e=>{const _0x3291a7=_0x10bd6b,_0x20b51d=_0x307f3e[_0x3291a7(0xae)]();_0x20b51d[_0x3291a7(0x8c)]=_0x307f3e[_0x3291a7(0x8c)],_0x20b51d[_0x3291a7(0x77)]=!!_0x307f3e[_0x3291a7(0x77)],_0x20b51d[_0x3291a7(0xf3)]=_0x307f3e[_0x3291a7(0xf3)],_0x20b51d[_0x3291a7(0xa5)]+=this[_0x3291a7(0xc3)],_0x307f3e[_0x3291a7(0x11a)]&&this[_0x3291a7(0x67)][_0x3291a7(0x9a)](_0x20b51d),this[_0x3291a7(0xe2)][_0x3291a7(0x72)](_0x20b51d);});}[_0x38e931(0x13c)](_0x3aa61e){const _0x153619=_0x38e931,_0x373ea6=this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x153619(0xb8)),_0xaccac9=this[_0x153619(0x96)][_0x153619(0x133)];_0x3aa61e||(_0x3aa61e=_0x31d992(_0xaccac9,_0x153619(0xea))),_0x373ea6[_0x153619(0x14e)](_0x3aa61e,{'title':_0x31d992(_0xaccac9,_0x153619(0x122)),'namespace':_0x153619(0x16c)}),this[_0x153619(0xf4)]=!0x0,clearTimeout(this[_0x153619(0xd5)]),this[_0x153619(0x126)]=[],this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x1360dd)[_0x153619(0x164)]();}[_0x38e931(0x139)](){const _0x28f4df=_0x38e931;this[_0x28f4df(0xfa)]||(this[_0x28f4df(0xfa)]=this[_0x28f4df(0x96)][_0x28f4df(0xd0)][_0x28f4df(0xe3)](_0x10a7a5)[_0x28f4df(0x9a)](_0x31d992(this[_0x28f4df(0x96)][_0x28f4df(0x133)],_0x28f4df(0xde))));}[_0x38e931(0x13a)](){const _0x43c8dd=_0x38e931;this[_0x43c8dd(0xfa)]&&(this[_0x43c8dd(0x96)][_0x43c8dd(0xd0)][_0x43c8dd(0xe3)](_0x10a7a5)[_0x43c8dd(0xd1)](this[_0x43c8dd(0xfa)]),this[_0x43c8dd(0xfa)]=null);}[_0x38e931(0x111)](_0x50f09a){const _0x2c5ab8=_0x38e931,_0x4d6ebf=_0x50f09a[_0x2c5ab8(0x152)](_0x19bd67=>_0x19bd67[_0x2c5ab8(0x134)]());return this[_0x2c5ab8(0x87)][_0x2c5ab8(0x118)](_0x4d6ebf);}[_0x38e931(0x136)](_0x194013,_0x199e9e){const _0x41f40b=_0x38e931;return this[_0x41f40b(0x87)][_0x41f40b(0x113)](_0x194013)[_0x41f40b(0x152)]((_0x5c290f,_0x4c07e8)=>{const _0x288cbc=_0x41f40b,_0x478e97=_0x288cbc(0xfd)==_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)];if(_0x288cbc(0xf7)==_0x5c290f[_0x288cbc(0x6c)]){const _0x244958=_0x5c290f[_0x288cbc(0xbc)][_0x288cbc(0x13d)];!this[_0x288cbc(0x130)][_0x288cbc(0xfb)](_0x244958)&&(this[_0x288cbc(0x130)][_0x288cbc(0x74)](_0x288cbc(0xb9),_0x244958)[_0x288cbc(0x93)]=!0x1);}const _0x1c63a0=_0x2352a1[_0x288cbc(0x97)](_0x5c290f,this[_0x288cbc(0x130)]);return _0x1c63a0[_0x288cbc(0xee)]=_0x5c290f[_0x288cbc(0xee)],_0x1c63a0[_0x288cbc(0x77)]=_0x478e97,_0x1c63a0[_0x288cbc(0x8c)]=_0x478e97?null:_0x199e9e[_0x4c07e8][_0x288cbc(0x7e)],_0x1c63a0[_0x288cbc(0x11a)]=_0x288cbc(0x12c)===_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)],_0x1c63a0[_0x288cbc(0xf3)]=_0x199e9e[_0x4c07e8][_0x288cbc(0xf3)],_0x1c63a0;});}[_0x38e931(0xd2)](){const _0x47477b=_0x38e931;this[_0x47477b(0x11f)]=!0x0,this[_0x47477b(0xb0)]()?this[_0x47477b(0x9c)]():this[_0x47477b(0x11f)]=!0x1;}[_0x38e931(0xb0)](){const _0x32505d=_0x38e931,_0x455821=this[_0x32505d(0x96)][_0x32505d(0xd0)][_0x32505d(0xe3)](_0x422ef6)[_0x32505d(0xc1)][_0x32505d(0xe3)](this[_0x32505d(0x8e)]);return!this[_0x32505d(0x96)][_0x32505d(0xec)]&&!!_0x455821&&_0x455821[_0x32505d(0xe0)]>0x1&&this[_0x32505d(0x11f)];}[_0x38e931(0x151)](){const _0x469269=_0x38e931;return this[_0x469269(0x126)][_0x469269(0xe0)]>0x0||this[_0x469269(0xb0)]();}}class X extends Error{}function Y(_0x5145ab,_0x19b64b){const _0x522c99=_0x38e931;for(const _0x462e87 of _0x5145ab)_0x462e87[_0x522c99(0xa5)]=_0x19b64b++;}class Z{[_0x38e931(0x68)];[_0x38e931(0x147)];constructor(_0x34a4eb){const _0x55b797=_0x38e931;this[_0x55b797(0x68)]=_0x34a4eb,this[_0x55b797(0x147)]=new WeakMap();}[_0x38e931(0x119)](_0x5d8ec2){const _0x549752=_0x38e931;let _0x3809cd=_0x5d8ec2[_0x549752(0xe0)];for(;_0x3809cd--;){const _0x3e926f=_0x5d8ec2[_0x3809cd];if(!this[_0x549752(0x68)][_0x549752(0x14b)](_0x3e926f)){if(!this[_0x549752(0x147)][_0x549752(0x14b)](_0x3e926f)){const _0x58270e=_0x552842()[_0x549752(0x117)](0x1,0x12);this[_0x549752(0x147)][_0x549752(0x11d)](_0x3e926f,_0x58270e);}return this[_0x549752(0x147)][_0x549752(0xe3)](_0x3e926f);}}}[_0x38e931(0x128)](_0x3d9e1b,_0x549544){const _0x4a7b45=_0x38e931;if(!_0x549544)return;let _0x29a2b2=_0x3d9e1b[_0x4a7b45(0xe0)];for(;_0x29a2b2--;){const _0x1b62db=_0x3d9e1b[_0x29a2b2];this[_0x4a7b45(0x68)][_0x4a7b45(0x14b)](_0x1b62db)||this[_0x4a7b45(0x147)][_0x4a7b45(0x11d)](_0x1b62db,_0x549544);}}}
23
+ const _0x5252ab=_0x3ad3;(function(_0x1eb65f,_0x2c23f9){const _0x144796=_0x3ad3,_0x1735e8=_0x1eb65f();while(!![]){try{const _0x4e02e8=parseInt(_0x144796(0x1b9))/0x1+parseInt(_0x144796(0x1f0))/0x2+-parseInt(_0x144796(0x119))/0x3*(-parseInt(_0x144796(0x15b))/0x4)+-parseInt(_0x144796(0x1da))/0x5*(parseInt(_0x144796(0x141))/0x6)+parseInt(_0x144796(0x171))/0x7+-parseInt(_0x144796(0x113))/0x8+-parseInt(_0x144796(0x118))/0x9;if(_0x4e02e8===_0x2c23f9)break;else _0x1735e8['push'](_0x1735e8['shift']());}catch(_0x48987b){_0x1735e8['push'](_0x1735e8['shift']());}}}(_0x5bc0,0x2d36a));import{Plugin as _0x2c5d87,PendingActions as _0x4e5abd}from'ckeditor5/src/core.js';function _0x5bc0(){const _0x21a02d=['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.','collaboration-missing-channelid','filter','_updateServerHistory','baseVersion','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient','collaboration.channelId','enqueueChange','532184IbEvzg','collaboration','_service','createPositionFromPath','realtimecollaborationclient-init-connection-failed','4147236MgcvGR','277467lFjUYj','setIdForTheLastOperation','editor','start','error','_sendBufferedOperationsDelayed','addToReconnectionStack','_sendBufferedOperations','roots','_decompressOperations','stop','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','addUser','disconnect','code','catch','end','CommentsOnly','sessionCreatedAt','channelSessions','fromJSON','map','rtc-offline','parse','_refreshUserSelectionMarkers','_initThrowingOnDataSet','realtimecollaborationclient-init-document-already-initialized','createUserMarkerOperations','reconnection:\x20flushed\x20session','createRange','_document','register','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','position','_setUpDataInit','cloudServices.bundleVersion','state','requires','156IfqgOm','return','affectedSelectable','initData','currentDocumentSession','_getOperationsFromInitData','_clearPendingAction','lastOperationAcceptedAt','setPermissions','_lastServerVersion','targetPosition','size','init','getIdOfTheLastOperation','realtimecollaborationclient-init-session-connection-error','data','markers','locale','metadata','reset','cs:removeUser','toJSON','sessionAdd:','isEnabled','_setPendingAction','connection','4dZuwoC','_isDisconnection','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','createPositionAt','startsWith','includes','sendOperations','cloudDocumentVersion','reconnect','_knownRootNames','high','string','$root','409','forEach','_isEditingAllowed','round','_handleExternalOperations','PENDING_ACTION_SENDING_DATA','_handleSendingSelectionMarkers','getOperationAuthor','1876280YggqGt','bind','_operationIdentifier','InsertOperation','model','has','_isInit','_connectAfterSessionHasBeenFlushed','clone','differ','createRoot','batch','userId','_waitUntilSynced','_operationToId','getMany','isUndoneOperation','decompress','length','404','serverHistory','attributes','_isConnected','createdAt','_hasSelectionChanged','_disconnectionOperations','realtimecollaborationclient-sendbufferedoperations','marker','disconnected','_offset','_hasSynchronizationProblem','listenTo','_handleReconnectionResponse','disableReadOnlyMode','addRootAttribute','keys','enableReadOnlyMode','get','version','getRoot','addRoot','Permissions','applyOperation','_handleInitialConnectionData','newRange','getUser','Notification','message','fire','pluginName','_fetchMissingUsers','cloud-services-internal-error:\x20Not\x20connected.','move','_handleReceivedOperations','push','view','_ignoredOperations','operationsReceived','compress','_loadRoot','wasUndone','lastDocumentSession','_handleServerResponse','define','remove','change:range','rootsAttributes','ready','showWarning','from','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.','config','347979gjjbXI','editing','document:write','_shouldSendSelectionUpdate','apply','realtimecollaborationclient-error','selection','rootName','isOfficialPlugin','_lastSyncedOperationId','history','document','type','CollaborativeEditingService','getOperations','_compressor','_shouldSendUpdate','addOperation','wereChangesApplied','getDocumentDetails','_crash','_compressOperations','_channelId','_connectService','connected','_addKnownRoot','_initSessionsHandling','change:_isEditingAllowed','permissions','lastSyncVersion','real-time-collaboration','_isAttached','isDocumentOperation','25790EckSUr','getConnectedSessions','root','_bufferedOperations','suppressErrorInCollaboration','_isPendingUpdate','_bufferRootLoad','connect','isReadOnly','rtc-destroyed','_sendBufferedOperationsDelayId','_isLoaded','_authorId','sessionId','change:_isPendingUpdate','affectsData','directChange','slice','_knownOperations','removeFromReconnectionStack','finally','realtimecollaborationclient-init-non-existent-root','276242ZDdnib','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastOperationId','_getAffectedRoot','path','loadRoot','Synchronization\x20issue','_applyOperationsSet','destroy','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_pendingAction','unregister','stopListening','_disconnectService','isPremiumPlugin','RealTimeCollaborationClient','_handleReconnectionError','off','__className','change:hasDomSelection','realtimecollaborationclient-handleserverresponse','entries','realtimecollaborationclient-init-service-internal-error','plugins','then','insert','add','set','_currentBufferDelay','offset'];_0x5bc0=function(){return _0x21a02d;};return _0x5bc0();}import{CKEditorError as _0x25a09c,version as _0x21e66f,uid as _0x4c800a}from'ckeditor5/src/utils.js';import{Notification as _0x576338}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3859c,NoOperation as _0x40a7c9,InsertOperation as _0x1c0880,MarkerOperation as _0x1061cc,RootAttributeOperation as _0x573987,OperationFactory as _0x2588b0,History as _0xffb01f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x42967a}from'./websocketgateway.js';import{Sessions as _0x25c1d1}from'./sessions.js';import{UserMarkers as _0x31d116}from'./usermarkers.js';function _0x3ad3(_0x31e098,_0x390130){const _0x5bc0dc=_0x5bc0();return _0x3ad3=function(_0x3ad3d0,_0x94c291){_0x3ad3d0=_0x3ad3d0-0x102;let _0x42cd08=_0x5bc0dc[_0x3ad3d0];return _0x42cd08;},_0x3ad3(_0x31e098,_0x390130);}import{getTranslation as _0x2c0bb1}from'../common-translations.js';import{Compressor as _0x21e82c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x55ae0c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x808d1d,CollaborativeEditingService as _0x4f6b4f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;export class RealTimeCollaborationClient extends _0x2c5d87{static [_0x5252ab(0x1c6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4f6b4f)());[_0x5252ab(0x18e)];[_0x5252ab(0x1e7)];[_0x5252ab(0x185)];[_0x5252ab(0x1cf)];[_0x5252ab(0x115)];[_0x5252ab(0x138)];[_0x5252ab(0x1c8)];[_0x5252ab(0x1dd)];[_0x5252ab(0x1ec)];[_0x5252ab(0x165)];[_0x5252ab(0x1fa)];[_0x5252ab(0x189)];[_0x5252ab(0x1e4)];[_0x5252ab(0x125)];[_0x5252ab(0x107)];[_0x5252ab(0x1c2)];[_0x5252ab(0x18a)];[_0x5252ab(0x173)];static get[_0x5252ab(0x140)](){return[_0x42967a,_0x25c1d1,_0x31d116,_0x4e5abd,_0x55ae0c,_0x576338];}static get[_0x5252ab(0x1a2)](){const _0x43eaf1=_0x5252ab;return _0x43eaf1(0x1ff);}static get[_0x5252ab(0x1c1)](){return!0x0;}static get[_0x5252ab(0x1fe)](){return!0x0;}get[_0x5252ab(0x163)](){const _0x3cb28f=_0x5252ab;return this[_0x3cb28f(0x14a)]+this[_0x3cb28f(0x18e)];}get[_0x5252ab(0x14a)](){const _0x421b30=_0x5252ab;return this[_0x421b30(0x185)][_0x421b30(0x197)]-this[_0x421b30(0x18e)];}get[_0x5252ab(0x1d6)](){const _0x425760=_0x5252ab,_0x35d097=this[_0x425760(0x185)][_0x425760(0x1c7)]();for(let _0x593d37=_0x35d097[_0x425760(0x183)]-0x1;_0x593d37>=0x0;_0x593d37--){const _0x4fb0a4=_0x35d097[_0x593d37];if(!this[_0x425760(0x18a)][_0x425760(0x176)](_0x4fb0a4))return _0x4fb0a4[_0x425760(0x10d)]+0x1-this[_0x425760(0x18e)];}return 0x0;}constructor(_0x34f3d4){const _0xa7638c=_0x5252ab;if(super(_0x34f3d4),this[_0xa7638c(0x18e)]=0x0,this[_0xa7638c(0x1e7)]=null,this[_0xa7638c(0x185)]=new _0xffb01f(),this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x1b0)](_0xa7638c(0x114),{}),this[_0xa7638c(0x1cf)]=this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x111)),!this[_0xa7638c(0x1cf)])throw new _0x25a09c(_0xa7638c(0x10a),this);const _0x159d83=_0x34f3d4[_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x13e))||_0x21e66f;this[_0xa7638c(0x115)]=new RealTimeCollaborationClient[(_0xa7638c(0x1c6))](_0x159d83,this[_0xa7638c(0x1cf)]),this[_0xa7638c(0x138)]=this[_0xa7638c(0x11b)][_0xa7638c(0x175)][_0xa7638c(0x1c4)],this[_0xa7638c(0x1c8)]=new _0x21e82c(),this[_0xa7638c(0x1dd)]=[],this[_0xa7638c(0x1ec)]=new WeakSet(),this[_0xa7638c(0x165)]=new Set(),this[_0xa7638c(0x106)](_0xa7638c(0x1df),!0x1),this[_0xa7638c(0x106)](_0xa7638c(0x18f),!0x1),this[_0xa7638c(0x1fa)]=null,this[_0xa7638c(0x189)]=!0x1,this[_0xa7638c(0x1e4)]=null,this[_0xa7638c(0x125)]=0x12c,this[_0xa7638c(0x107)]=this[_0xa7638c(0x125)],this[_0xa7638c(0x1c2)]=null,this[_0xa7638c(0x18a)]=new WeakSet(),this[_0xa7638c(0x173)]=new X(this[_0xa7638c(0x18a)]);}[_0x5252ab(0x14d)](){const _0x475ad9=_0x5252ab,_0x4e9c8b=this[_0x475ad9(0x11b)],_0xadafe9=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x55ae0c),_0xdabcaa=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x42967a);this[_0x475ad9(0x190)](_0xadafe9,_0x475ad9(0x170),(_0x560449,_0x1eb5d6)=>{const _0xf2f920=_0x475ad9,_0x406e22=_0x1eb5d6[0x0];_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=_0xadafe9[_0xf2f920(0x19e)](_0x406e22[_0xf2f920(0x1e6)]),_0x560449[_0xf2f920(0x123)]()),null===_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=null,_0x560449[_0xf2f920(0x123)]());},{'priority':_0x475ad9(0x166)}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x175)][_0x475ad9(0x1c4)][_0x475ad9(0x1bf)],_0x475ad9(0x1b2),(_0x245f5e,_0x45e59c)=>{const _0x53d58e=_0x475ad9;_0x45e59c[_0x53d58e(0x1ea)]&&this[_0x53d58e(0x132)]();}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x1ba)][_0x475ad9(0x1a8)],_0x475ad9(0x203),()=>{const _0x15a70b=_0x475ad9;this[_0x15a70b(0x132)]();}),this[_0x475ad9(0x133)](),_0x4e9c8b[_0x475ad9(0x175)]['on'](_0x475ad9(0x19b),(_0x56c4d0,_0xac3ad5)=>{const _0x51c3a4=_0x475ad9,_0x1594e0=_0xac3ad5[0x0];_0x1594e0[_0x51c3a4(0x1d9)]&&(this[_0x51c3a4(0x13a)](_0x1594e0),this[_0x51c3a4(0x1c9)]()&&this[_0x51c3a4(0x11e)]());}),this[_0x475ad9(0x13d)](),this[_0x475ad9(0x172)](_0x475ad9(0x16b))['to'](_0xdabcaa,_0x475ad9(0x13f),this,_0x475ad9(0x18f),(_0x438f7d,_0x443ff2)=>_0x475ad9(0x1d1)===_0x438f7d&&!_0x443ff2),this['on'](_0x475ad9(0x1d4),()=>{const _0x331863=_0x475ad9;this[_0x331863(0x16b)]?_0x4e9c8b[_0x331863(0x192)](_0x331863(0x130)):_0x4e9c8b[_0x331863(0x195)](_0x331863(0x130));}),this[_0x475ad9(0x16b)]?_0x4e9c8b[_0x475ad9(0x192)](_0x475ad9(0x130)):_0x4e9c8b[_0x475ad9(0x195)](_0x475ad9(0x130)),this[_0x475ad9(0x106)](_0x475ad9(0x187),!0x1);}async[_0x5252ab(0x164)](){const _0x43f8d5=_0x5252ab,_0xf0ceae=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x25c1d1),_0x476789=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x42967a);try{this[_0x43f8d5(0x1df)]=!0x0,_0xf0ceae[_0x43f8d5(0x1fb)](this[_0x43f8d5(0x1cf)]);const _0x48b53a=await this[_0x43f8d5(0x115)][_0x43f8d5(0x164)](_0x476789[_0x43f8d5(0x15a)],this[_0x43f8d5(0x1d6)]);await this[_0x43f8d5(0x191)](_0x48b53a)&&(this[_0x43f8d5(0x1df)]=!0x1,this[_0x43f8d5(0x147)]());const _0x158191=await this[_0x43f8d5(0x115)][_0x43f8d5(0x1db)]();_0xf0ceae[_0x43f8d5(0x139)](this[_0x43f8d5(0x1cf)],_0x158191),this[_0x43f8d5(0x16f)](),this[_0x43f8d5(0x187)]=!0x0;}catch(_0x3a8ad9){if(function(_0x37dbff){const _0x4f74a1=_0x43f8d5;return _0x4f74a1(0x184)===_0x37dbff[_0x4f74a1(0x128)];}(_0x3a8ad9)&&this[_0x43f8d5(0x1e7)])await this[_0x43f8d5(0x178)]();else{if(function(_0x467564){const _0x2dec87=_0x43f8d5;return _0x2dec87(0x169)===_0x467564[_0x2dec87(0x128)];}(_0x3a8ad9)){const _0x5013c6=_0x2c0bb1(this[_0x43f8d5(0x11b)][_0x43f8d5(0x152)],_0x43f8d5(0x124));this[_0x43f8d5(0x200)](_0x5013c6);}else{if(!(_0x3a8ad9 instanceof J))throw _0x3a8ad9;this[_0x43f8d5(0x200)]();}}}}[_0x5252ab(0x1f8)](){const _0x2cd6d6=_0x5252ab,_0x567fa6=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x42967a),_0x3f9e58=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x25c1d1);this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x195)](_0x2cd6d6(0x1e3)),_0x3f9e58[_0x2cd6d6(0x12d)][_0x2cd6d6(0x176)](this[_0x2cd6d6(0x1cf)])&&_0x3f9e58[_0x2cd6d6(0x1fb)](this[_0x2cd6d6(0x1cf)]),_0x567fa6[_0x2cd6d6(0x1ed)](this),this[_0x2cd6d6(0x1fd)](),super[_0x2cd6d6(0x1f8)]();}async[_0x5252ab(0x191)](_0x559440){const _0x302ff3=_0x5252ab;if(this[_0x302ff3(0x1e7)]!==_0x559440[_0x302ff3(0x1e7)]&&this[_0x302ff3(0x1c2)]!==_0x559440[_0x302ff3(0x1f2)])throw new J();return this[_0x302ff3(0x1e7)]=_0x559440[_0x302ff3(0x1e7)],this[_0x302ff3(0x1af)]([],{..._0x559440,'wereChangesApplied':!0x1,'data':_0x559440[_0x302ff3(0x150)]},_0x302ff3(0x164));}async[_0x5252ab(0x1d0)](_0x5790b0,_0x2c9f6c=!0x1){const _0x3e8f17=_0x5252ab,{connection:_0x43f8ec}=this[_0x3e8f17(0x11b)][_0x3e8f17(0x102)][_0x3e8f17(0x196)](_0x42967a);RealTimeCollaborationClient[_0x3e8f17(0x1c6)][_0x3e8f17(0x1db)](_0x43f8ec,this[_0x3e8f17(0x1cf)])[_0x3e8f17(0x103)](_0x378e02=>this[_0x3e8f17(0x1d3)](_0x378e02))[_0x3e8f17(0x129)](_0x25e081=>{const _0x28a8aa=_0x3e8f17;this[_0x28a8aa(0x1cd)](_0x28a8aa(0x14f),_0x25e081);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x1aa),this[_0x3e8f17(0x1a6)][_0x3e8f17(0x172)](this)),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x11d),(_0x584410,_0x383d05)=>{const _0x470b5e=_0x3e8f17;this[_0x470b5e(0x1cd)](_0x470b5e(0x206),_0x383d05);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x18d),()=>{const _0x10b582=_0x3e8f17;this[_0x10b582(0x187)]=!0x1;});const _0x217945=this[_0x3e8f17(0x173)][_0x3e8f17(0x14e)](_0x5790b0);this[_0x3e8f17(0x1df)]=!0x0;const _0x39091c=await this[_0x3e8f17(0x115)][_0x3e8f17(0x1e1)](_0x43f8ec,this[_0x3e8f17(0x1ce)](_0x5790b0),_0x217945);if(this[_0x3e8f17(0x1e7)]=_0x39091c[_0x3e8f17(0x1e7)],_0x2c9f6c){if(!_0x39091c[_0x3e8f17(0x1cb)])return void this[_0x3e8f17(0x200)]();this[_0x3e8f17(0x1df)]=!0x1,this[_0x3e8f17(0x147)](),this[_0x3e8f17(0x185)][_0x3e8f17(0x154)](),this[_0x3e8f17(0x18e)]=_0x39091c[_0x3e8f17(0x108)],this[_0x3e8f17(0x185)][_0x3e8f17(0x197)]=this[_0x3e8f17(0x18e)],await this[_0x3e8f17(0x1af)](_0x5790b0,_0x39091c,_0x3e8f17(0x136));}else await this[_0x3e8f17(0x19c)](_0x39091c,_0x5790b0);this[_0x3e8f17(0x16f)](),this[_0x3e8f17(0x187)]=!0x0;}[_0x5252ab(0x16f)](){const _0x5d2707=_0x5252ab,_0x553b8a=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x25c1d1),_0x3c2f8f=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x31d116),_0x2d261b=_0x553b8a[_0x5d2707(0x12d)][_0x5d2707(0x196)](this[_0x5d2707(0x1cf)]);_0x2d261b&&_0x2d261b[_0x5d2707(0x183)]>0x1?_0x3c2f8f[_0x5d2707(0x135)]():this[_0x5d2707(0x190)](_0x553b8a,_0x5d2707(0x157)+this[_0x5d2707(0x1cf)],()=>{const _0x4e1682=_0x5d2707;0x2===_0x553b8a[_0x4e1682(0x12d)][_0x4e1682(0x196)](this[_0x4e1682(0x1cf)])[_0x4e1682(0x183)]&&_0x3c2f8f[_0x4e1682(0x135)]();});}async[_0x5252ab(0x1a6)](_0x5f241c,_0x115074,_0x512094,_0x17cf04){const _0x477f05=_0x5252ab;if(!this[_0x477f05(0x1df)]&&this[_0x477f05(0x138)][_0x477f05(0x197)]==_0x115074){const _0x37015b=this[_0x477f05(0x122)](_0x512094,_0x17cf04);await this[_0x477f05(0x1a3)](_0x37015b),this[_0x477f05(0x16d)](_0x37015b,_0x115074,_0x512094[_0x477f05(0x1f2)])||this[_0x477f05(0x1cd)](_0x477f05(0x13b));}}async[_0x5252ab(0x178)](){const _0x2c88e8=_0x5252ab;this[_0x2c88e8(0x1fd)]();const {locale:_0x58e7dd}=this[_0x2c88e8(0x11b)];let _0x119dc2;try{_0x119dc2=await this[_0x2c88e8(0x115)][_0x2c88e8(0x1cc)]();}catch{const _0xa64908=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1f9));return void this[_0x2c88e8(0x200)](_0xa64908);}const _0xb826f3=_0x119dc2[_0x2c88e8(0x145)]||_0x119dc2[_0x2c88e8(0x1ae)];if(this[_0x2c88e8(0x1c2)]!==_0xb826f3[_0x2c88e8(0x1f2)]){const _0x322940=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1b7));return void this[_0x2c88e8(0x200)](_0x322940);}await this[_0x2c88e8(0x1d0)](this[_0x2c88e8(0x11b)][_0x2c88e8(0x175)][_0x2c88e8(0x1c4)][_0x2c88e8(0x1c3)][_0x2c88e8(0x1c7)](),!0x0);}[_0x5252ab(0x1fd)](){const _0x20b4c0=_0x5252ab;this[_0x20b4c0(0x115)][_0x20b4c0(0x127)](),this[_0x20b4c0(0x1dd)]=[],clearTimeout(this[_0x20b4c0(0x1e4)]),this[_0x20b4c0(0x1fc)](this[_0x20b4c0(0x115)]);}[_0x5252ab(0x1d3)](_0x1a3f0b){const _0x32db32=_0x5252ab,_0x49f1f4=this[_0x32db32(0x11b)][_0x32db32(0x102)][_0x32db32(0x196)](_0x25c1d1);this[_0x32db32(0x190)](_0x49f1f4,_0x32db32(0x157)+this[_0x32db32(0x1cf)],(_0x4c4770,{session:_0x5b508b})=>{const _0x373d5f=_0x32db32;if(_0x5b508b['id']===_0x49f1f4[_0x373d5f(0x15d)]){_0x4c4770[_0x373d5f(0x201)]();const _0x56074f=this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x176)](_0x373d5f(0x12b))&&this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x12b));let _0x269b1d=_0x5b508b[_0x373d5f(0x1d5)];_0x56074f&&_0x56074f[_0x373d5f(0x158)]&&(_0x269b1d=_0x269b1d[_0x373d5f(0x10b)](_0xe5e237=>_0x373d5f(0x1bb)!==_0xe5e237)),this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x19a))[_0x373d5f(0x149)](_0x269b1d,this[_0x373d5f(0x1cf)]);}}),_0x49f1f4[_0x32db32(0x139)](this[_0x32db32(0x1cf)],_0x1a3f0b);}[_0x5252ab(0x133)](){const _0x536a3d=_0x5252ab,_0x5ee156=this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)];this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)]=(..._0x1b4f94)=>{const _0x38d7e6=_0x536a3d;if(!_0x1b4f94[_0x1b4f94[_0x38d7e6(0x183)]-0x1][_0x38d7e6(0x1de)])throw new _0x25a09c(_0x38d7e6(0x1f1),this);_0x5ee156[_0x38d7e6(0x1bd)](this[_0x38d7e6(0x11b)][_0x38d7e6(0x150)],_0x1b4f94);};}[_0x5252ab(0x13d)](){const _0x4be5a0=_0x5252ab;this[_0x4be5a0(0x11b)][_0x4be5a0(0x150)]['on'](_0x4be5a0(0x14d),(_0x47cd4c,[_0x2cb853])=>{const _0x2171d2=_0x4be5a0;if(this[_0x2171d2(0x138)][_0x2171d2(0x197)])throw new _0x25a09c(_0x2171d2(0x134),this);_0x47cd4c[_0x2171d2(0x123)](),this[_0x2171d2(0x159)]();const _0x445282=this[_0x2171d2(0x11b)][_0x2171d2(0x1b8)][_0x2171d2(0x196)](_0x2171d2(0x1b3)),_0x2f2c63=this[_0x2171d2(0x146)](_0x2cb853,_0x445282);0x0==_0x2f2c63[_0x2171d2(0x183)]&&_0x2f2c63[_0x2171d2(0x1a7)](new _0x40a7c9(0x0)),_0x47cd4c[_0x2171d2(0x142)]=this[_0x2171d2(0x1d0)](_0x2f2c63)[_0x2171d2(0x103)](()=>{const _0x270af9=_0x2171d2;this[_0x270af9(0x11b)][_0x270af9(0x102)][_0x270af9(0x196)](_0x42967a)[_0x270af9(0x11f)](this),this[_0x270af9(0x11b)][_0x270af9(0x150)][_0x270af9(0x1a1)](_0x270af9(0x1b4));})[_0x2171d2(0x129)](_0x54f77a=>this[_0x2171d2(0x1cd)](_0x2171d2(0x117),_0x54f77a))[_0x2171d2(0x1ee)](()=>this[_0x2171d2(0x147)]());},{'priority':_0x4be5a0(0x166)}),this[_0x4be5a0(0x11b)]['on'](_0x4be5a0(0x1f5),async(_0x7beb65,[_0x234a69,_0x5ddd0b])=>{const _0x1b68e6=_0x4be5a0;_0x7beb65[_0x1b68e6(0x123)]();const _0x4ee814=this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x1c4)][_0x1b68e6(0x198)](_0x234a69);if(!this[_0x1b68e6(0x165)][_0x1b68e6(0x176)](_0x234a69)){const _0x34900f=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x150)]?_0x5ddd0b[_0x1b68e6(0x150)]:'',_0x557754=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x186)]?_0x5ddd0b[_0x1b68e6(0x186)]:{};await this[_0x1b68e6(0x1ac)](_0x234a69,_0x34900f,_0x557754);}this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x112)]({'isUndoable':!0x1},()=>{const _0x100063=_0x1b68e6;_0x4ee814[_0x100063(0x1e5)]=!0x0,this[_0x100063(0x11b)][_0x100063(0x175)][_0x100063(0x1c4)][_0x100063(0x17a)][_0x100063(0x1e0)](_0x4ee814);});},{'priority':_0x4be5a0(0x166)});}async[_0x5252ab(0x1a3)](_0x332927){const _0x37699a=_0x5252ab,_0x5f055d=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x55ae0c),{connection:_0x51f1d2}=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x42967a),_0x1cccea=new Set();for(const _0x1c8feb of _0x332927){const _0x22d693=_0x1c8feb[_0x37699a(0x1e6)];_0x22d693&&!_0x5f055d[_0x37699a(0x19e)](_0x22d693)&&_0x1cccea[_0x37699a(0x105)](_0x22d693);}if(0x0===_0x1cccea[_0x37699a(0x14c)])return;const _0x115b76=await _0x808d1d[_0x37699a(0x180)](_0x51f1d2,Array[_0x37699a(0x1b6)](_0x1cccea));for(const _0x3415af of _0x115b76)_0x5f055d[_0x37699a(0x19e)](_0x3415af['id'])||_0x5f055d[_0x37699a(0x126)](_0x3415af);}[_0x5252ab(0x146)](_0x26043d,_0x4e68f5={}){const _0x452560=_0x5252ab,_0x2bdef0=this[_0x452560(0x11b)][_0x452560(0x175)],_0x4c069f=[];let _0x232386=0x0;const _0x305c4b=_0x452560(0x167)==typeof _0x26043d?{'main':_0x26043d}:_0x26043d;for(const _0x306c5f of Object[_0x452560(0x194)](_0x305c4b)){if(!this[_0x452560(0x138)][_0x452560(0x121)][_0x452560(0x176)](_0x306c5f))throw new _0x25a09c(_0x452560(0x1ef),this);const _0x30efaf=this[_0x452560(0x11b)][_0x452560(0x150)][_0x452560(0x131)](_0x305c4b[_0x306c5f]),_0x370876=this[_0x452560(0x138)][_0x452560(0x198)](_0x306c5f),_0x34fe84=new _0x1c0880(_0x2bdef0[_0x452560(0x15f)](_0x370876,0x0),_0x30efaf,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x34fe84);for(const [_0x19d649,_0x26b7df]of _0x30efaf[_0x452560(0x151)]){const _0x22ae98=_0x2bdef0[_0x452560(0x137)](_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x11c)][_0x452560(0x1f4)][_0x452560(0x1eb)]()),_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x12a)][_0x452560(0x1f4)][_0x452560(0x1eb)]())),_0x5e72d9=new _0x1061cc(_0x19d649,null,_0x22ae98,_0x2bdef0[_0x452560(0x151)],!0x0,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x5e72d9);}}if(_0x4e68f5)for(const [_0x4500a3,_0xf124c8]of Object[_0x452560(0x205)](_0x4e68f5)){const _0x43ff70=_0x2bdef0[_0x452560(0x1c4)][_0x452560(0x198)](_0x4500a3);if(!_0x43ff70)throw new _0x25a09c(_0x452560(0x10e),null);for(const [_0x5b7f1a,_0x482447]of Object[_0x452560(0x205)](_0xf124c8))if(null!==_0x482447){const _0x362e2a=new _0x573987(_0x43ff70,_0x5b7f1a,null,_0x482447,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x362e2a);}}return _0x4c069f;}async[_0x5252ab(0x1ac)](_0x2c7a4a,_0x55d16c,_0xf6c33e){const _0xc61ef2=_0x5252ab;this[_0xc61ef2(0x146)]({[_0x2c7a4a]:_0x55d16c},{[_0x2c7a4a]:_0xf6c33e})[_0xc61ef2(0x16a)]((_0x2b6c03,_0x2eeaf5)=>{const _0x23af71=_0xc61ef2;_0x2b6c03[_0x23af71(0x10d)]=this[_0x23af71(0x138)][_0x23af71(0x197)]+_0x2eeaf5,_0x2b6c03[_0x23af71(0x177)]=!0x0,this[_0x23af71(0x13a)](_0x2b6c03);}),this[_0xc61ef2(0x11e)](),await this[_0xc61ef2(0x17e)]();}async[_0x5252ab(0x19c)](_0xcf9ee3,_0x15cf17){const _0x3afc15=_0x5252ab;let _0x5cff44;this[_0x3afc15(0x18e)]=_0xcf9ee3[_0x3afc15(0x108)];const _0xf5a850=_0xcf9ee3[_0x3afc15(0x1cb)]&&!_0xcf9ee3[_0x3afc15(0x144)],_0x531ae7=_0xf5a850?0x0:_0xcf9ee3[_0x3afc15(0x150)][_0x3afc15(0x10d)];if(_0x15cf17[_0x3afc15(0x16a)](_0x278c84=>{const _0x52cfdb=_0x3afc15;_0x278c84[_0x52cfdb(0x177)]=!0x0,_0x278c84[_0x52cfdb(0x188)]=_0xcf9ee3[_0x52cfdb(0x12c)],_0x278c84[_0x52cfdb(0x1e6)]=null;}),_0xf5a850)_0x5cff44=_0x15cf17,this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);else{if(_0xcf9ee3[_0x3afc15(0x144)]){const _0x1cff8c=this[_0x3afc15(0x146)](_0xcf9ee3[_0x3afc15(0x144)]);this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)],_0x1cff8c[_0x3afc15(0x16a)](_0x11b12d=>{const _0x2674c4=_0x3afc15;_0x11b12d[_0x2674c4(0x10d)]-=_0x1cff8c[_0x2674c4(0x183)],_0x11b12d[_0x2674c4(0x188)]=_0xcf9ee3[_0x2674c4(0x12c)],_0x11b12d[_0x2674c4(0x177)]=!0x0,_0x11b12d[_0x2674c4(0x1e6)]=null;}),this[_0x3afc15(0x1f7)](_0x1cff8c,!0x0),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)]+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x1cff8c);}this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=_0x531ae7,_0x5cff44=this[_0x3afc15(0x122)](_0xcf9ee3[_0x3afc15(0x150)],_0xcf9ee3[_0x3afc15(0x153)]),await this[_0x3afc15(0x1a3)](_0x5cff44),this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);}_0xcf9ee3[_0x3afc15(0x1f2)]&&(this[_0x3afc15(0x173)][_0x3afc15(0x11a)](_0x5cff44,_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x1c2)]=_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=_0x531ae7+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x5cff44),_0x15cf17[_0x3afc15(0x10b)](_0x3854ed=>{const _0x586bdc=_0x3afc15,_0x5ec232=this[_0x586bdc(0x1f3)](_0x3854ed);return _0x5ec232&&!this[_0x586bdc(0x165)][_0x586bdc(0x176)](_0x5ec232);})[_0x3afc15(0x16a)]((_0x3d05a4,_0x34e6ce)=>{const _0x28706d=_0x3afc15;_0x3d05a4[_0x28706d(0x10d)]=this[_0x28706d(0x138)][_0x28706d(0x197)]+_0x34e6ce,this[_0x28706d(0x13a)](_0x3d05a4);}),this[_0x3afc15(0x1c9)]()?(this[_0x3afc15(0x107)]=0x0,this[_0x3afc15(0x11e)](!0x0),await this[_0x3afc15(0x17e)]()):(this[_0x3afc15(0x1df)]=!0x1,this[_0x3afc15(0x147)]());}[_0x5252ab(0x1cd)](_0x33dcda,_0x4eda05){const _0x39eb7f=_0x5252ab,_0x5c65a7=_0x4eda05&&_0x4eda05[_0x39eb7f(0x1a0)];if(_0x5c65a7&&_0x5c65a7[_0x39eb7f(0x160)](_0x39eb7f(0x110)))throw _0x4eda05;const _0x5d2cc4=this[_0x39eb7f(0x11b)][_0x39eb7f(0x102)][_0x39eb7f(0x196)](_0x42967a);throw this[_0x39eb7f(0x1df)]=!0x0,_0x5d2cc4[_0x39eb7f(0x127)](),this[_0x39eb7f(0x11b)][_0x39eb7f(0x195)](_0x39eb7f(0x1be)),new _0x25a09c(_0x33dcda,this[_0x39eb7f(0x11b)],_0x5c65a7?{'originalError':_0x5c65a7}:void 0x0);}[_0x5252ab(0x13a)](_0x5b9d8e){const _0x469217=_0x5252ab;this[_0x469217(0x1ec)][_0x469217(0x176)](_0x5b9d8e)||(this[_0x469217(0x1ec)][_0x469217(0x105)](_0x5b9d8e),this[_0x469217(0x1dd)][_0x469217(0x1a7)](_0x5b9d8e),this[_0x469217(0x1fa)]||_0x469217(0x18c)==_0x5b9d8e[_0x469217(0x1c5)]&&!_0x5b9d8e[_0x469217(0x1e9)]||this[_0x469217(0x159)]());}[_0x5252ab(0x11e)](_0x1c6419=!0x1){const _0x18172c=_0x5252ab;!_0x1c6419&&this[_0x18172c(0x1df)]||(this[_0x18172c(0x1df)]=!0x0,clearTimeout(this[_0x18172c(0x1e4)]),this[_0x18172c(0x1e4)]=setTimeout(()=>{const _0x5144c2=_0x18172c;this[_0x5144c2(0x120)]()[_0x5144c2(0x103)](_0x241817=>{const _0x39011d=_0x5144c2;_0x241817&&(this[_0x39011d(0x147)](),this[_0x39011d(0x1df)]=!0x1);})[_0x5144c2(0x129)](_0x278c8d=>{const _0x210dc8=_0x5144c2;this[_0x210dc8(0x147)](),this[_0x210dc8(0x1df)]=!0x1,function(_0x210d57){const _0x231f77=_0x210dc8;return _0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x1a4))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x10f))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x15e));}(_0x278c8d)||this[_0x210dc8(0x1cd)](_0x278c8d[_0x210dc8(0x1a0)],_0x278c8d);});},this[_0x18172c(0x107)]));}[_0x5252ab(0x17e)](){return new Promise(_0x1a2b48=>{const _0x410b5a=_0x3ad3;this['on'](_0x410b5a(0x1e8),()=>{_0x1a2b48();});});}async[_0x5252ab(0x120)](){const _0x3f0611=_0x5252ab,_0x290049=this[_0x3f0611(0x11b)][_0x3f0611(0x102)][_0x3f0611(0x196)](_0x31d116);if(this[_0x3f0611(0x1bc)]()&&(_0x290049[_0x3f0611(0x135)](),this[_0x3f0611(0x189)]=!0x1),!this[_0x3f0611(0x1c9)]())return!0x0;const _0x9569ae=[...this[_0x3f0611(0x1dd)]];for(const _0x24982f of _0x9569ae)_0x24982f[_0x3f0611(0x1ad)]=this[_0x3f0611(0x138)][_0x3f0611(0x1c3)][_0x3f0611(0x181)](_0x24982f);const _0x227bad=this[_0x3f0611(0x173)][_0x3f0611(0x14e)](_0x9569ae),_0x4bad79=K++,_0x42ba9d=this[_0x3f0611(0x1ce)](_0x9569ae),_0x4c8456=await this[_0x3f0611(0x115)][_0x3f0611(0x162)](_0x42ba9d,_0x42ba9d[_0x3f0611(0x10d)],_0x227bad);try{return await this[_0x3f0611(0x1af)](_0x9569ae,_0x4c8456,_0x4bad79);}catch(_0x30d98a){return this[_0x3f0611(0x1cd)](_0x3f0611(0x18b),_0x30d98a);}}async[_0x5252ab(0x1af)](_0x2669a6,_0x2897fa,_0x171515){const _0x12e9db=_0x5252ab;if(_0x12e9db(0x11d)in _0x2897fa)throw _0x2897fa[_0x12e9db(0x11d)];let _0x49a3d4=!0x1;if(_0x2897fa[_0x12e9db(0x1cb)]){_0x2897fa[_0x12e9db(0x1f2)]&&(this[_0x12e9db(0x1c2)]=_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x1db515=>!_0x2669a6[_0x12e9db(0x161)](_0x1db515));for(const _0x589e9c of _0x2669a6)_0x589e9c[_0x12e9db(0x188)]=_0x12e9db(0x148)in _0x2897fa&&_0x2897fa[_0x12e9db(0x148)]||void 0x0;Q(_0x2669a6,_0x2897fa[_0x12e9db(0x197)]-_0x2669a6[_0x12e9db(0x183)]),this[_0x12e9db(0x10c)](_0x2669a6);const _0x57f3b9=_0x2669a6[_0x12e9db(0x10b)](_0x46021e=>{const _0x562d65=_0x12e9db;if(!_0x46021e[_0x562d65(0x177)])return!0x1;const _0x1257fe=this[_0x562d65(0x1f3)](_0x46021e);return _0x1257fe&&!this[_0x562d65(0x165)][_0x562d65(0x176)](_0x1257fe);});Q(_0x57f3b9,this[_0x12e9db(0x138)][_0x12e9db(0x197)]),this[_0x12e9db(0x1f7)](_0x57f3b9),_0x49a3d4=!0x0,this[_0x12e9db(0x107)]=this[_0x12e9db(0x125)];}else{const _0x52d083=this[_0x12e9db(0x122)](_0x2897fa[_0x12e9db(0x150)],_0x2897fa[_0x12e9db(0x153)])[_0x12e9db(0x10b)](_0x3b5acb=>_0x3b5acb[_0x12e9db(0x10d)]>=this[_0x12e9db(0x14a)]);_0x52d083[_0x12e9db(0x16a)](_0x48c0b0=>this[_0x12e9db(0x1d2)](_0x48c0b0)),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x2ca2b8=>!_0x2ca2b8[_0x12e9db(0x177)]||!this[_0x12e9db(0x165)][_0x12e9db(0x176)](this[_0x12e9db(0x1f3)](_0x2ca2b8))),this[_0x12e9db(0x1dd)][_0x12e9db(0x183)]&&Q(this[_0x12e9db(0x1dd)],this[_0x12e9db(0x1dd)][0x0][_0x12e9db(0x10d)]),await this[_0x12e9db(0x1a3)](_0x52d083),_0x49a3d4=this[_0x12e9db(0x16d)](_0x52d083,_0x2897fa[_0x12e9db(0x197)],_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x107)]=Math[_0x12e9db(0x16c)](this[_0x12e9db(0x107)]/0x2);}return _0x49a3d4?!this[_0x12e9db(0x1c9)]()||(this[_0x12e9db(0x11e)](!0x0),!0x1):this[_0x12e9db(0x1cd)](_0x12e9db(0x204));}[_0x5252ab(0x16d)](_0x516d2a,_0xe243e9,_0x41c532){const _0x165996=_0x5252ab;try{const _0x532854={'document':this[_0x165996(0x138)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x41be43,operationsB:_0x2d84c8,originalOperations:_0x51498f}=_0x3859c(_0x516d2a,this[_0x165996(0x1dd)],_0x532854);Q(_0x41be43,this[_0x165996(0x138)][_0x165996(0x197)]),Q(_0x2d84c8,_0xe243e9);for(const _0x4137f9 of _0x41be43){const _0x1c5fb4=_0x51498f[_0x165996(0x196)](_0x4137f9);_0x4137f9[_0x165996(0x1e6)]=_0x1c5fb4?_0x1c5fb4[_0x165996(0x1e6)]:null;}_0x41c532&&(this[_0x165996(0x173)][_0x165996(0x11a)](_0x516d2a,_0x41c532),this[_0x165996(0x1c2)]=_0x41c532),this[_0x165996(0x1dd)]=[..._0x2d84c8],this[_0x165996(0x1f7)](_0x41be43),this[_0x165996(0x10c)](_0x516d2a);}catch(_0x891558){return console[_0x165996(0x11d)](_0x891558),!0x1;}return!0x0;}[_0x5252ab(0x1f7)](_0x3fc31d,_0x5decf3=!0x1){const _0x301950=_0x5252ab;this[_0x301950(0x11b)][_0x301950(0x175)][_0x301950(0x112)]({'isUndoable':!0x1,'isLocal':!0x1},_0x106d98=>{const _0x1710d0=_0x301950;for(const _0x5c9f94 of _0x3fc31d)this[_0x1710d0(0x1ec)][_0x1710d0(0x105)](_0x5c9f94),this[_0x1710d0(0x1d2)](_0x5c9f94),_0x106d98[_0x1710d0(0x17c)][_0x1710d0(0x1ca)](_0x5c9f94),this[_0x1710d0(0x11b)][_0x1710d0(0x175)][_0x1710d0(0x19b)](_0x5c9f94);});}[_0x5252ab(0x1d2)](_0x5b69b0){const _0x22a452=_0x5252ab,_0x31feb4=this[_0x22a452(0x1f3)](_0x5b69b0);_0x31feb4&&this[_0x22a452(0x165)][_0x22a452(0x105)](_0x31feb4);}[_0x5252ab(0x1f3)](_0x3bcf53){const _0x3b6130=_0x5252ab;let _0x1a814c,_0x57155;switch(_0x3bcf53[_0x3b6130(0x1c5)]){case _0x3b6130(0x104):_0x1a814c=_0x3bcf53[_0x3b6130(0x13c)][_0x3b6130(0x1dc)];break;case _0x3b6130(0x18c):if(_0x57155=_0x3bcf53[_0x3b6130(0x19d)],!_0x57155)return null;_0x1a814c=_0x57155[_0x3b6130(0x1dc)];break;case _0x3b6130(0x193):_0x1a814c=_0x3bcf53[_0x3b6130(0x1dc)];break;case _0x3b6130(0x199):_0x1a814c=_0x3bcf53[_0x3b6130(0x143)];break;case _0x3b6130(0x1a5):_0x1a814c=_0x3bcf53[_0x3b6130(0x14b)][_0x3b6130(0x1dc)];break;default:return null;}return _0x1a814c[_0x3b6130(0x1c0)];}[_0x5252ab(0x10c)](_0x101005){const _0x1b155b=_0x5252ab;_0x101005[_0x1b155b(0x16a)](_0x36af75=>{const _0x3195b7=_0x1b155b,_0x148920=_0x36af75[_0x3195b7(0x179)]();_0x148920[_0x3195b7(0x1e6)]=_0x36af75[_0x3195b7(0x1e6)],_0x148920[_0x3195b7(0x177)]=!!_0x36af75[_0x3195b7(0x177)],_0x148920[_0x3195b7(0x188)]=_0x36af75[_0x3195b7(0x188)],_0x148920[_0x3195b7(0x10d)]+=this[_0x3195b7(0x18e)],_0x36af75[_0x3195b7(0x15c)]&&this[_0x3195b7(0x18a)][_0x3195b7(0x105)](_0x148920),this[_0x3195b7(0x185)][_0x3195b7(0x1ca)](_0x148920);});}[_0x5252ab(0x200)](_0x59432c){const _0x46142a=_0x5252ab,_0x46c784=this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x46142a(0x19f)),_0x3fe67a=this[_0x46142a(0x11b)][_0x46142a(0x152)];_0x59432c||(_0x59432c=_0x2c0bb1(_0x3fe67a,_0x46142a(0x109))),_0x46c784[_0x46142a(0x1b5)](_0x59432c,{'title':_0x2c0bb1(_0x3fe67a,_0x46142a(0x1f6)),'namespace':_0x46142a(0x1d7)}),this[_0x46142a(0x18f)]=!0x0,clearTimeout(this[_0x46142a(0x1e4)]),this[_0x46142a(0x1dd)]=[],this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x42967a)[_0x46142a(0x127)]();}[_0x5252ab(0x159)](){const _0x5de8c5=_0x5252ab;this[_0x5de8c5(0x1fa)]||(this[_0x5de8c5(0x1fa)]=this[_0x5de8c5(0x11b)][_0x5de8c5(0x102)][_0x5de8c5(0x196)](_0x4e5abd)[_0x5de8c5(0x105)](_0x2c0bb1(this[_0x5de8c5(0x11b)][_0x5de8c5(0x152)],_0x5de8c5(0x16e))));}[_0x5252ab(0x147)](){const _0x3c8f5b=_0x5252ab;this[_0x3c8f5b(0x1fa)]&&(this[_0x3c8f5b(0x11b)][_0x3c8f5b(0x102)][_0x3c8f5b(0x196)](_0x4e5abd)[_0x3c8f5b(0x1b1)](this[_0x3c8f5b(0x1fa)]),this[_0x3c8f5b(0x1fa)]=null);}[_0x5252ab(0x1ce)](_0x26338b){const _0x3bcb87=_0x5252ab,_0x30266e=_0x26338b[_0x3bcb87(0x12f)](_0x1af426=>_0x1af426[_0x3bcb87(0x156)]());return this[_0x3bcb87(0x1c8)][_0x3bcb87(0x1ab)](_0x30266e);}[_0x5252ab(0x122)](_0x5599bb,_0x125060){const _0x27ccf5=_0x5252ab;return this[_0x27ccf5(0x1c8)][_0x27ccf5(0x182)](_0x5599bb)[_0x27ccf5(0x12f)]((_0x43afd8,_0x4d53cf)=>{const _0x14adaf=_0x27ccf5,_0x2b2b30=_0x14adaf(0x14d)==_0x125060[_0x4d53cf][_0x14adaf(0x1c5)];if(_0x14adaf(0x174)==_0x43afd8[_0x14adaf(0x202)]){const _0x34e244=_0x43afd8[_0x14adaf(0x13c)][_0x14adaf(0x1dc)];!this[_0x14adaf(0x138)][_0x14adaf(0x198)](_0x34e244)&&(this[_0x14adaf(0x138)][_0x14adaf(0x17b)](_0x14adaf(0x168),_0x34e244)[_0x14adaf(0x1d8)]=!0x1);}const _0x31a6b8=_0x2588b0[_0x14adaf(0x12e)](_0x43afd8,this[_0x14adaf(0x138)]);return _0x31a6b8[_0x14adaf(0x1ad)]=_0x43afd8[_0x14adaf(0x1ad)],_0x31a6b8[_0x14adaf(0x177)]=_0x2b2b30,_0x31a6b8[_0x14adaf(0x1e6)]=_0x2b2b30?null:_0x125060[_0x4d53cf][_0x14adaf(0x17d)],_0x31a6b8[_0x14adaf(0x15c)]=_0x14adaf(0x155)===_0x125060[_0x4d53cf][_0x14adaf(0x1c5)],_0x31a6b8[_0x14adaf(0x188)]=_0x125060[_0x4d53cf][_0x14adaf(0x188)],_0x31a6b8;});}[_0x5252ab(0x132)](){const _0x48c7ae=_0x5252ab;this[_0x48c7ae(0x189)]=!0x0,this[_0x48c7ae(0x1bc)]()?this[_0x48c7ae(0x11e)]():this[_0x48c7ae(0x189)]=!0x1;}[_0x5252ab(0x1bc)](){const _0x4d2556=_0x5252ab,_0x24bfc2=this[_0x4d2556(0x11b)][_0x4d2556(0x102)][_0x4d2556(0x196)](_0x25c1d1)[_0x4d2556(0x12d)][_0x4d2556(0x196)](this[_0x4d2556(0x1cf)]);return!this[_0x4d2556(0x11b)][_0x4d2556(0x1e2)]&&!!_0x24bfc2&&_0x24bfc2[_0x4d2556(0x183)]>0x1&&this[_0x4d2556(0x189)];}[_0x5252ab(0x1c9)](){const _0x347824=_0x5252ab;return this[_0x347824(0x1dd)][_0x347824(0x183)]>0x0||this[_0x347824(0x1bc)]();}}class J extends Error{}function Q(_0x23f7a5,_0x59d08d){const _0x101996=_0x5252ab;for(const _0x3ecfc1 of _0x23f7a5)_0x3ecfc1[_0x101996(0x10d)]=_0x59d08d++;}class X{[_0x5252ab(0x1a9)];[_0x5252ab(0x17f)];constructor(_0x20453f){const _0x40ff42=_0x5252ab;this[_0x40ff42(0x1a9)]=_0x20453f,this[_0x40ff42(0x17f)]=new WeakMap();}[_0x5252ab(0x14e)](_0x46673a){const _0x11d3c9=_0x5252ab;let _0x25d230=_0x46673a[_0x11d3c9(0x183)];for(;_0x25d230--;){const _0x18e357=_0x46673a[_0x25d230];if(!this[_0x11d3c9(0x1a9)][_0x11d3c9(0x176)](_0x18e357)){if(!this[_0x11d3c9(0x17f)][_0x11d3c9(0x176)](_0x18e357)){const _0x2363de=_0x4c800a()[_0x11d3c9(0x1eb)](0x1,0x12);this[_0x11d3c9(0x17f)][_0x11d3c9(0x106)](_0x18e357,_0x2363de);}return this[_0x11d3c9(0x17f)][_0x11d3c9(0x196)](_0x18e357);}}}[_0x5252ab(0x11a)](_0x19f3c5,_0x4c436a){const _0x2ac55d=_0x5252ab;if(!_0x4c436a)return;let _0x8f4748=_0x19f3c5[_0x2ac55d(0x183)];for(;_0x8f4748--;){const _0x428f77=_0x19f3c5[_0x8f4748];this[_0x2ac55d(0x1a9)][_0x2ac55d(0x176)](_0x428f77)||this[_0x2ac55d(0x17f)][_0x2ac55d(0x106)](_0x428f77,_0x4c436a);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe3c558=_0x10a4;(function(_0x46408c,_0x5a437a){const _0x3c348d=_0x10a4,_0x54b6f9=_0x46408c();while(!![]){try{const _0x3a68ff=parseInt(_0x3c348d(0x114))/0x1+-parseInt(_0x3c348d(0xfa))/0x2+-parseInt(_0x3c348d(0xf1))/0x3*(parseInt(_0x3c348d(0xda))/0x4)+-parseInt(_0x3c348d(0xd9))/0x5+-parseInt(_0x3c348d(0xe1))/0x6+-parseInt(_0x3c348d(0x112))/0x7*(parseInt(_0x3c348d(0xf5))/0x8)+parseInt(_0x3c348d(0x101))/0x9;if(_0x3a68ff===_0x5a437a)break;else _0x54b6f9['push'](_0x54b6f9['shift']());}catch(_0x50d178){_0x54b6f9['push'](_0x54b6f9['shift']());}}}(_0x4e43,0x1ed22));function _0x10a4(_0x4959ed,_0xa483e8){const _0x4e4372=_0x4e43();return _0x10a4=function(_0x10a4ec,_0x131d7a){_0x10a4ec=_0x10a4ec-0xd8;let _0x1a37e8=_0x4e4372[_0x10a4ec];return _0x1a37e8;},_0x10a4(_0x4959ed,_0xa483e8);}import{ContextPlugin as _0x4c768b}from'ckeditor5/src/core.js';import{Collection as _0x7444ce,CKEditorError as _0xdb5015}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xc773bb}from'./websocketgateway.js';import{Users as _0x352ba6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4e43(){const _0x113eb6=['orderNumber','isPremiumPlugin','plugins','channelConnectedUsers','register','70203Sxoath','isMe','138116qMDBNi','_uniqueUsersCount','hiddenInPresenceList','1118165gNefLK','53860dtdkCU','has','get','_createUser','_handleSessionAdd','context','getUserSessions','530586BWWbUy','defineMe','channelSessions','connection','sessions-unregister-not-exist','fire','role','getUserRole','delete','values','isOfficialPlugin','allConnectedUsers','init','_handleSessionRemove','add','Sessions','6kWHirC','pluginName','forEach','_registeredSessions','72GGHjZu','state','getUserBySessionId','change:state','assign','67440rgyuKs','listenTo','remove','clear','sessionAdd:','_users','unregister','4059909nyFIji','mySessionId','set','requires','addUser','user','connected','size','sessionId','stopListening','sessions-register-already-registered','getUser'];_0x4e43=function(){return _0x113eb6;};return _0x4e43();}export class Sessions extends _0x4c768b{[_0xe3c558(0xe3)];[_0xe3c558(0x110)];[_0xe3c558(0xec)];[_0xe3c558(0xf4)];[_0xe3c558(0x115)];[_0xe3c558(0xff)];static get[_0xe3c558(0xf2)](){const _0x259a76=_0xe3c558;return _0x259a76(0xf0);}static get[_0xe3c558(0xeb)](){return!0x0;}static get[_0xe3c558(0x10e)](){return!0x0;}static get[_0xe3c558(0x104)](){return[_0xc773bb,_0x352ba6];}constructor(_0x275ab6){const _0x448b46=_0xe3c558;super(_0x275ab6),this[_0x448b46(0xe3)]=new Map(),this[_0x448b46(0x110)]=new Map(),this[_0x448b46(0xec)]=new _0x7444ce(),this[_0x448b46(0xf4)]=new Map(),this[_0x448b46(0x115)]=0x0,this[_0x448b46(0xff)]=this[_0x448b46(0xdf)][_0x448b46(0x10f)][_0x448b46(0xdc)](_0x352ba6);}[_0xe3c558(0xed)](){const _0x2978ae=_0xe3c558,_0x1126b5=this[_0x2978ae(0xdf)][_0x2978ae(0x10f)][_0x2978ae(0xdc)](_0xc773bb);this[_0x2978ae(0xfb)](_0x1126b5,_0x2978ae(0xf8),(_0x2cc1a1,_0x3824db,_0x27763f)=>{const _0x5ccbaf=_0x2978ae;if(_0x5ccbaf(0x107)!==_0x27763f)this[_0x5ccbaf(0xe3)][_0x5ccbaf(0xf3)](_0x366ae8=>_0x366ae8[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0x110)][_0x5ccbaf(0xf3)](_0x3b8059=>_0x3b8059[_0x5ccbaf(0xfd)]()),this[_0x5ccbaf(0xec)][_0x5ccbaf(0xfd)]();else{for(const [_0x28b044,_0x132676]of this[_0x5ccbaf(0xf4)])for(const _0x2f8170 of _0x132676)this[_0x5ccbaf(0xde)](_0x28b044,_0x2f8170);}}),this[_0x2978ae(0xdd)](_0x1126b5[_0x2978ae(0xe4)]['me'],!0x0);}[_0xe3c558(0x111)](_0x551ae3,_0x30b693){const _0x2585be=_0xe3c558;if(this[_0x2585be(0xf4)][_0x2585be(0xdb)](_0x551ae3))throw new _0xdb5015(_0x2585be(0x10b),null,{'channelId':_0x551ae3});this[_0x2585be(0xf4)][_0x2585be(0x103)](_0x551ae3,_0x30b693),this[_0x2585be(0xe3)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0x110)][_0x2585be(0x103)](_0x551ae3,new _0x7444ce()),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xef),(_0x3141a4,_0x53fa08)=>this[_0x2585be(0xde)](_0x551ae3,_0x53fa08)),this[_0x2585be(0xfb)](_0x30b693,_0x2585be(0xfc),(_0x1771ac,_0x4d1f16)=>this[_0x2585be(0xee)](_0x551ae3,_0x4d1f16));for(const _0x4b3c76 of _0x30b693)this[_0x2585be(0xde)](_0x551ae3,_0x4b3c76);}[_0xe3c558(0x100)](_0x1d06fb){const _0x5e410e=_0xe3c558;if(!this[_0x5e410e(0xf4)][_0x5e410e(0xdb)](_0x1d06fb))throw new _0xdb5015(_0x5e410e(0xe5),null,{'channelId':_0x1d06fb});const _0x22b902=this[_0x5e410e(0xf4)][_0x5e410e(0xdc)](_0x1d06fb);this[_0x5e410e(0x10a)](_0x22b902);for(const _0x25fb3d of _0x22b902)_0x5e410e(0x107)===this[_0x5e410e(0xdf)][_0x5e410e(0x10f)][_0x5e410e(0xdc)](_0xc773bb)[_0x5e410e(0xf6)]&&this[_0x5e410e(0xee)](_0x1d06fb,_0x25fb3d);this[_0x5e410e(0xf4)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0xe3)][_0x5e410e(0xe9)](_0x1d06fb),this[_0x5e410e(0x110)][_0x5e410e(0xe9)](_0x1d06fb);}get[_0xe3c558(0x102)](){const _0xef557d=_0xe3c558;return this[_0xef557d(0xdf)][_0xef557d(0x10f)][_0xef557d(0xdc)](_0xc773bb)[_0xef557d(0xe4)][_0xef557d(0x109)];}[_0xe3c558(0xf7)](_0x4c2d78){const _0x3e2bc2=_0xe3c558;for(const _0x1e4fab of this[_0x3e2bc2(0xe3)][_0x3e2bc2(0xea)]())for(const _0x5488a3 of _0x1e4fab)if(_0x5488a3['id']===_0x4c2d78)return _0x5488a3[_0x3e2bc2(0x106)];}[_0xe3c558(0xe0)](_0x1ce8e6,_0x1dc1b0){const _0x32a063=_0xe3c558,_0x15e358=_0x1dc1b0?[this[_0x32a063(0xe3)][_0x32a063(0xdc)](_0x1dc1b0)]:this[_0x32a063(0xe3)][_0x32a063(0xea)](),_0x9ad977=new Set();for(const _0x395c25 of _0x15e358)for(const _0x1cbe6a of _0x395c25)_0x1cbe6a[_0x32a063(0x106)]['id']===_0x1ce8e6['id']&&_0x9ad977[_0x32a063(0xef)](_0x1cbe6a['id']);return _0x9ad977;}[_0xe3c558(0xe8)](_0x474625){const _0x5cbba0=_0xe3c558;for(const _0x386eec of this[_0x5cbba0(0xe3)][_0x5cbba0(0xea)]())for(const _0x30d539 of _0x386eec)if(_0x30d539[_0x5cbba0(0x106)]===_0x474625)return _0x30d539[_0x5cbba0(0xe7)];}[_0xe3c558(0xde)](_0xe85f05,_0x472e22){const _0x126d19=_0xe3c558;if(_0x126d19(0x107)!==this[_0x126d19(0xdf)][_0x126d19(0x10f)][_0x126d19(0xdc)](_0xc773bb)[_0x126d19(0xf6)])return;const _0x32b08b=_0x472e22[_0x126d19(0x106)],_0xbd9703=this[_0x126d19(0xff)][_0x126d19(0x10c)](_0x32b08b['id'])||this[_0x126d19(0xdd)](_0x32b08b),_0x6e909e=Object[_0x126d19(0xf9)]({},_0x472e22,{'user':_0xbd9703});if(this[_0x126d19(0xe3)][_0x126d19(0xdc)](_0xe85f05)[_0x126d19(0xef)](_0x6e909e),!_0x32b08b[_0x126d19(0xd8)]){const _0x48694f=this[_0x126d19(0x110)][_0x126d19(0xdc)](_0xe85f05);_0x48694f[_0x126d19(0xdb)](_0xbd9703['id'])||_0x48694f[_0x126d19(0xef)](_0xbd9703),this[_0x126d19(0xec)][_0x126d19(0xdb)](_0xbd9703['id'])||_0x32b08b[_0x126d19(0xd8)]||this[_0x126d19(0xec)][_0x126d19(0xef)](_0xbd9703,_0xbd9703[_0x126d19(0x113)]?0x0:void 0x0);}this[_0x126d19(0xe6)](_0x126d19(0xfe)+_0xe85f05,{'channelId':_0xe85f05,'session':_0x6e909e});}[_0xe3c558(0xee)](_0x4912c4,_0x4cd2df){const _0x4d284c=_0xe3c558;if(_0x4d284c(0x107)!==this[_0x4d284c(0xdf)][_0x4d284c(0x10f)][_0x4d284c(0xdc)](_0xc773bb)[_0x4d284c(0xf6)])return;const _0x4f2837=this[_0x4d284c(0x110)][_0x4d284c(0xdc)](_0x4912c4),_0x3b339d=_0x4cd2df[_0x4d284c(0x106)];_0x3b339d['id']&&(this[_0x4d284c(0xe3)][_0x4d284c(0xdc)](_0x4912c4)[_0x4d284c(0xfc)](_0x4cd2df['id']),_0x4f2837[_0x4d284c(0xdb)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d,_0x4912c4)[_0x4d284c(0x108)]&&_0x4f2837[_0x4d284c(0xfc)](_0x3b339d['id']),this[_0x4d284c(0xec)][_0x4d284c(0xdc)](_0x3b339d['id'])&&!this[_0x4d284c(0xe0)](_0x3b339d)[_0x4d284c(0x108)]&&this[_0x4d284c(0xec)][_0x4d284c(0xfc)](_0x3b339d['id']));}[_0xe3c558(0xdd)](_0x4fb77c,_0x3beb50){const _0x54a821=_0xe3c558,_0x19ca31=this[_0x54a821(0xff)][_0x54a821(0x105)](_0x4fb77c);return _0x3beb50&&this[_0x54a821(0xff)][_0x54a821(0xe2)](_0x4fb77c['id']),_0x19ca31[_0x54a821(0x10d)]=this[_0x54a821(0x115)]++,_0x19ca31;}}
23
+ const _0x328eaf=_0x33d1;(function(_0x571527,_0x2eaf9f){const _0x152d52=_0x33d1,_0x38b5ac=_0x571527();while(!![]){try{const _0x182cb4=parseInt(_0x152d52(0x108))/0x1+-parseInt(_0x152d52(0x109))/0x2*(parseInt(_0x152d52(0x112))/0x3)+parseInt(_0x152d52(0x104))/0x4+-parseInt(_0x152d52(0xf9))/0x5*(parseInt(_0x152d52(0x114))/0x6)+-parseInt(_0x152d52(0x107))/0x7*(parseInt(_0x152d52(0x121))/0x8)+parseInt(_0x152d52(0xf1))/0x9+-parseInt(_0x152d52(0xf6))/0xa;if(_0x182cb4===_0x2eaf9f)break;else _0x38b5ac['push'](_0x38b5ac['shift']());}catch(_0x1304c2){_0x38b5ac['push'](_0x38b5ac['shift']());}}}(_0x4b45,0x3480e));import{ContextPlugin as _0x51279f}from'ckeditor5/src/core.js';import{Collection as _0x265759,CKEditorError as _0x39c750}from'ckeditor5/src/utils.js';function _0x4b45(){const _0x4d22c5=['connection','pluginName','context','sessionId','mySessionId','_createUser','delete','channelSessions','Sessions','1643380lbaJKa','init','listenTo','663145WzeYWI','295072oXrrDC','104GTXtOi','addUser','connected','register','unregister','orderNumber','getUserBySessionId','add','get','3573QYEPuD','set','4224hvyBia','sessions-register-already-registered','hiddenInPresenceList','fire','clear','has','isMe','user','role','channelConnectedUsers','change:state','remove','sessions-unregister-not-exist','8jeXFHF','isPremiumPlugin','assign','_handleSessionRemove','requires','getUser','sessionAdd:','plugins','getUserRole','values','size','defineMe','stopListening','_handleSessionAdd','state','2403279mKuzSx','forEach','_uniqueUsersCount','isOfficialPlugin','_registeredSessions','4956270symOjW','_users','allConnectedUsers','750HtkEQV','getUserSessions'];_0x4b45=function(){return _0x4d22c5;};return _0x4b45();}import{WebSocketGateway as _0x4ad0f5}from'./websocketgateway.js';function _0x33d1(_0xb8856f,_0x45a48c){const _0x4b451f=_0x4b45();return _0x33d1=function(_0x33d173,_0x3e5a2b){_0x33d173=_0x33d173-0xee;let _0x3211f8=_0x4b451f[_0x33d173];return _0x3211f8;},_0x33d1(_0xb8856f,_0x45a48c);}import{Users as _0x39ae97}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x51279f{[_0x328eaf(0x102)];[_0x328eaf(0x11d)];[_0x328eaf(0xf8)];[_0x328eaf(0xf5)];[_0x328eaf(0xf3)];[_0x328eaf(0xf7)];static get[_0x328eaf(0xfc)](){const _0x258481=_0x328eaf;return _0x258481(0x103);}static get[_0x328eaf(0xf4)](){return!0x0;}static get[_0x328eaf(0x122)](){return!0x0;}static get[_0x328eaf(0x125)](){return[_0x4ad0f5,_0x39ae97];}constructor(_0x197454){const _0x3c3575=_0x328eaf;super(_0x197454),this[_0x3c3575(0x102)]=new Map(),this[_0x3c3575(0x11d)]=new Map(),this[_0x3c3575(0xf8)]=new _0x265759(),this[_0x3c3575(0xf5)]=new Map(),this[_0x3c3575(0xf3)]=0x0,this[_0x3c3575(0xf7)]=this[_0x3c3575(0xfd)][_0x3c3575(0x128)][_0x3c3575(0x111)](_0x39ae97);}[_0x328eaf(0x105)](){const _0x720235=_0x328eaf,_0x3f6f5f=this[_0x720235(0xfd)][_0x720235(0x128)][_0x720235(0x111)](_0x4ad0f5);this[_0x720235(0x106)](_0x3f6f5f,_0x720235(0x11e),(_0x20618f,_0xc1ec05,_0x20e71b)=>{const _0x179911=_0x720235;if(_0x179911(0x10b)!==_0x20e71b)this[_0x179911(0x102)][_0x179911(0xf2)](_0x349044=>_0x349044[_0x179911(0x118)]()),this[_0x179911(0x11d)][_0x179911(0xf2)](_0x17b539=>_0x17b539[_0x179911(0x118)]()),this[_0x179911(0xf8)][_0x179911(0x118)]();else{for(const [_0x1bf209,_0x4569d7]of this[_0x179911(0xf5)])for(const _0x3b5e7f of _0x4569d7)this[_0x179911(0xef)](_0x1bf209,_0x3b5e7f);}}),this[_0x720235(0x100)](_0x3f6f5f[_0x720235(0xfb)]['me'],!0x0);}[_0x328eaf(0x10c)](_0x2bc589,_0x3ea78f){const _0x3160f7=_0x328eaf;if(this[_0x3160f7(0xf5)][_0x3160f7(0x119)](_0x2bc589))throw new _0x39c750(_0x3160f7(0x115),null,{'channelId':_0x2bc589});this[_0x3160f7(0xf5)][_0x3160f7(0x113)](_0x2bc589,_0x3ea78f),this[_0x3160f7(0x102)][_0x3160f7(0x113)](_0x2bc589,new _0x265759()),this[_0x3160f7(0x11d)][_0x3160f7(0x113)](_0x2bc589,new _0x265759()),this[_0x3160f7(0x106)](_0x3ea78f,_0x3160f7(0x110),(_0x4ae2c9,_0x1c124e)=>this[_0x3160f7(0xef)](_0x2bc589,_0x1c124e)),this[_0x3160f7(0x106)](_0x3ea78f,_0x3160f7(0x11f),(_0xac69f0,_0x29473a)=>this[_0x3160f7(0x124)](_0x2bc589,_0x29473a));for(const _0xa471e of _0x3ea78f)this[_0x3160f7(0xef)](_0x2bc589,_0xa471e);}[_0x328eaf(0x10d)](_0x146621){const _0x25e67f=_0x328eaf;if(!this[_0x25e67f(0xf5)][_0x25e67f(0x119)](_0x146621))throw new _0x39c750(_0x25e67f(0x120),null,{'channelId':_0x146621});const _0x4171b4=this[_0x25e67f(0xf5)][_0x25e67f(0x111)](_0x146621);this[_0x25e67f(0xee)](_0x4171b4);for(const _0x3ed47b of _0x4171b4)_0x25e67f(0x10b)===this[_0x25e67f(0xfd)][_0x25e67f(0x128)][_0x25e67f(0x111)](_0x4ad0f5)[_0x25e67f(0xf0)]&&this[_0x25e67f(0x124)](_0x146621,_0x3ed47b);this[_0x25e67f(0xf5)][_0x25e67f(0x101)](_0x146621),this[_0x25e67f(0x102)][_0x25e67f(0x101)](_0x146621),this[_0x25e67f(0x11d)][_0x25e67f(0x101)](_0x146621);}get[_0x328eaf(0xff)](){const _0x5dc598=_0x328eaf;return this[_0x5dc598(0xfd)][_0x5dc598(0x128)][_0x5dc598(0x111)](_0x4ad0f5)[_0x5dc598(0xfb)][_0x5dc598(0xfe)];}[_0x328eaf(0x10f)](_0x274bcc){const _0x35706b=_0x328eaf;for(const _0x5a4867 of this[_0x35706b(0x102)][_0x35706b(0x12a)]())for(const _0x471d47 of _0x5a4867)if(_0x471d47['id']===_0x274bcc)return _0x471d47[_0x35706b(0x11b)];}[_0x328eaf(0xfa)](_0x13d8c3,_0x443d11){const _0x599d61=_0x328eaf,_0x8d3c93=_0x443d11?[this[_0x599d61(0x102)][_0x599d61(0x111)](_0x443d11)]:this[_0x599d61(0x102)][_0x599d61(0x12a)](),_0x5cab0f=new Set();for(const _0x1e9a3d of _0x8d3c93)for(const _0x391e49 of _0x1e9a3d)_0x391e49[_0x599d61(0x11b)]['id']===_0x13d8c3['id']&&_0x5cab0f[_0x599d61(0x110)](_0x391e49['id']);return _0x5cab0f;}[_0x328eaf(0x129)](_0x1216ab){const _0x315726=_0x328eaf;for(const _0x17b412 of this[_0x315726(0x102)][_0x315726(0x12a)]())for(const _0x3677cc of _0x17b412)if(_0x3677cc[_0x315726(0x11b)]===_0x1216ab)return _0x3677cc[_0x315726(0x11c)];}[_0x328eaf(0xef)](_0x1b6f22,_0x10fdb6){const _0x36b1af=_0x328eaf;if(_0x36b1af(0x10b)!==this[_0x36b1af(0xfd)][_0x36b1af(0x128)][_0x36b1af(0x111)](_0x4ad0f5)[_0x36b1af(0xf0)])return;const _0x6a3836=_0x10fdb6[_0x36b1af(0x11b)],_0x44b4e6=this[_0x36b1af(0xf7)][_0x36b1af(0x126)](_0x6a3836['id'])||this[_0x36b1af(0x100)](_0x6a3836),_0x9a9f98=Object[_0x36b1af(0x123)]({},_0x10fdb6,{'user':_0x44b4e6});if(this[_0x36b1af(0x102)][_0x36b1af(0x111)](_0x1b6f22)[_0x36b1af(0x110)](_0x9a9f98),!_0x6a3836[_0x36b1af(0x116)]){const _0x450933=this[_0x36b1af(0x11d)][_0x36b1af(0x111)](_0x1b6f22);_0x450933[_0x36b1af(0x119)](_0x44b4e6['id'])||_0x450933[_0x36b1af(0x110)](_0x44b4e6),this[_0x36b1af(0xf8)][_0x36b1af(0x119)](_0x44b4e6['id'])||_0x6a3836[_0x36b1af(0x116)]||this[_0x36b1af(0xf8)][_0x36b1af(0x110)](_0x44b4e6,_0x44b4e6[_0x36b1af(0x11a)]?0x0:void 0x0);}this[_0x36b1af(0x117)](_0x36b1af(0x127)+_0x1b6f22,{'channelId':_0x1b6f22,'session':_0x9a9f98});}[_0x328eaf(0x124)](_0x2c57c1,_0x1d9168){const _0x423d6d=_0x328eaf;if(_0x423d6d(0x10b)!==this[_0x423d6d(0xfd)][_0x423d6d(0x128)][_0x423d6d(0x111)](_0x4ad0f5)[_0x423d6d(0xf0)])return;const _0x366fb5=this[_0x423d6d(0x11d)][_0x423d6d(0x111)](_0x2c57c1),_0x5f5509=_0x1d9168[_0x423d6d(0x11b)];_0x5f5509['id']&&(this[_0x423d6d(0x102)][_0x423d6d(0x111)](_0x2c57c1)[_0x423d6d(0x11f)](_0x1d9168['id']),_0x366fb5[_0x423d6d(0x119)](_0x5f5509['id'])&&!this[_0x423d6d(0xfa)](_0x5f5509,_0x2c57c1)[_0x423d6d(0x12b)]&&_0x366fb5[_0x423d6d(0x11f)](_0x5f5509['id']),this[_0x423d6d(0xf8)][_0x423d6d(0x111)](_0x5f5509['id'])&&!this[_0x423d6d(0xfa)](_0x5f5509)[_0x423d6d(0x12b)]&&this[_0x423d6d(0xf8)][_0x423d6d(0x11f)](_0x5f5509['id']));}[_0x328eaf(0x100)](_0x44cc77,_0x14d621){const _0x38241f=_0x328eaf,_0x43a350=this[_0x38241f(0xf7)][_0x38241f(0x10a)](_0x44cc77);return _0x14d621&&this[_0x38241f(0xf7)][_0x38241f(0x12c)](_0x44cc77['id']),_0x43a350[_0x38241f(0x10e)]=this[_0x38241f(0xf3)]++,_0x43a350;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45b43e=_0x3d0c;(function(_0x547831,_0xadbe2){const _0x1a3e80=_0x3d0c,_0x361a85=_0x547831();while(!![]){try{const _0x1d71d8=parseInt(_0x1a3e80(0xc4))/0x1+parseInt(_0x1a3e80(0xeb))/0x2+-parseInt(_0x1a3e80(0xc0))/0x3+-parseInt(_0x1a3e80(0x88))/0x4+-parseInt(_0x1a3e80(0x8a))/0x5*(parseInt(_0x1a3e80(0xd2))/0x6)+parseInt(_0x1a3e80(0xa6))/0x7+parseInt(_0x1a3e80(0xac))/0x8;if(_0x1d71d8===_0xadbe2)break;else _0x361a85['push'](_0x361a85['shift']());}catch(_0x1a98c1){_0x361a85['push'](_0x361a85['shift']());}}}(_0x4e18,0xd3e0f));import{Plugin as _0x1dc661}from'ckeditor5/src/core.js';import{global as _0x4cd33d,DomEmitterMixin as _0x2e0f01}from'ckeditor5/src/utils.js';function _0x4e18(){const _0x4d63a7=['2681928bCeGns','user:','enqueueChange','oldRange','isOfficialPlugin','tableCell','editor','change','commands','nodeAfter','start','markerToElement','model','createRange','getContainedElement','toRange','_domEmitter','textContent','removeClass','user:range','5174235kpbGkq','userPositionMarker','clear','stopListening','459299yCrCth','markerName','span','mouseleave','selection','mySessionId','parent','mapper','setCustomProperty','$text','removeMarker','UserMarkers','isPremiumPlugin','reconvertMarker','229926cLmdrG','batch','requires','newRange','ck-user__marker-tooltip','document','update:user:range','color','editing','undo','createUserMarkerOperations','pluginName','size','set','deletionPosition','$graveyard','mouseenter','isInline','marker','getMarkerClass','toDomElement','markerRange','contenteditable','data-session-id','rootName','3015560bWaZKg','root','keydown','has','getCustomProperty','_createdBatches','spellcheck','hasContent','change:range','setAttribute','add','isObject','isDocumentOperation','view','markers','getFirstRange','remove','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','conversion','destroy','isLimit','detach','split','getUserBySessionId','highest','isCollapsed','classList','orderNumber','delete','ck-user__marker_hovered','editingDowncast','getStart','end','startsWith','user:position','updateMarker','createUIElement','getSelectionClass','2899300xHhSIv','afterInit','85EOcHkW','ck-user__marker\x20','hasDomSelection','addEventListener','getAttribute','type','user:position:','createElement','schema','markerNameToElements','addMarker','user:range:','innerHTML','for','ck-user__selection','render','name','element','isSimilar','getRange','checkChild','init','applyOperation','plugins','false','getNearestSelectionRange','markerToHighlight','getPositions','11665934DZCOIz','outerHTML','Escape','fromRange','get','listenTo'];_0x4e18=function(){return _0x4d63a7;};return _0x4e18();}import{Sessions as _0x379960}from'./sessions.js';import{ModelLiveRange as _0x1c7809}from'ckeditor5/src/engine.js';function _0x3d0c(_0x38a043,_0x535d95){const _0x4e185b=_0x4e18();return _0x3d0c=function(_0x3d0cf6,_0x43fb6b){_0x3d0cf6=_0x3d0cf6-0x80;let _0x2d8a8b=_0x4e185b[_0x3d0cf6];return _0x2d8a8b;},_0x3d0c(_0x38a043,_0x535d95);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x1dc661{[_0x45b43e(0xbc)]=new(_0x2e0f01())();static get[_0x45b43e(0xd4)](){return[_0x379960];}static get[_0x45b43e(0xdd)](){const _0x3c0246=_0x45b43e;return _0x3c0246(0xcf);}static get[_0x45b43e(0xb0)](){return!0x0;}static get[_0x45b43e(0xd0)](){return!0x0;}[_0x45b43e(0x9f)](){const _0x2b2796=_0x45b43e,_0x2b85fa=this[_0x2b2796(0xb2)],_0x5783d3=_0x2b85fa[_0x2b2796(0xa1)][_0x2b2796(0xaa)](_0x379960);_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xb7)]({'model':_0x2b2796(0x84),'view':(_0x5cfe95,{writer:_0x1b811c})=>function(_0x431e61,_0x32d5bc,_0x10e846,_0xdc5bde){const _0x21cd8a=_0x2b2796,_0xa33d02=_0x431e61[_0x21cd8a(0xc5)][_0x21cd8a(0x101)](':')[0x2],_0x1f7b0b=_0x10e846[_0x21cd8a(0x102)](_0xa33d02);if(!_0x1f7b0b||_0xa33d02===_0x10e846[_0x21cd8a(0xc9)])return;if(!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0x9e)](_0x431e61[_0x21cd8a(0xe7)][_0x21cd8a(0xb6)],_0x21cd8a(0xcd)))return;const _0x4a61ef={'class':_0x21cd8a(0x8b)+_0x1f7b0b[_0x21cd8a(0xd9)][_0x21cd8a(0xe5)](),'data-name':_0x1f7b0b[_0x21cd8a(0x9a)],'data-session-id':_0xa33d02},_0xf89ff4=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x431e61[_0x21cd8a(0xc5)]),_0x59d9ff=_0xf89ff4[_0x21cd8a(0x81)](),_0x5ac3ba=_0x59d9ff[_0x21cd8a(0xb5)],_0x2e749b=_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)];if(_0x5ac3ba&&_0x2e749b[_0x21cd8a(0xf6)](_0x5ac3ba)&&_0x2e749b[_0x21cd8a(0xe3)](_0x5ac3ba)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf9)][_0x21cd8a(0xaa)](_0x21cd8a(0x95)+_0xa33d02)[_0x21cd8a(0x9d)]()[_0x21cd8a(0x104)])return;const _0xdcb081=_0x59d9ff[_0x21cd8a(0xca)];return _0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0x92)][_0x21cd8a(0xff)](_0xdcb081)&&!_0xdc5bde[_0x21cd8a(0xb8)][_0x21cd8a(0xf2)](_0xdcb081)&&(_0x4a61ef[_0x21cd8a(0xe8)]=!0x1),function(_0x99d1c5,_0x2c87d0,_0x1436f6){const _0x470f39=_0x21cd8a,_0x4efc1f=_0x99d1c5[_0x470f39(0x86)](_0x470f39(0xc6),_0x2c87d0);return _0x99d1c5[_0x470f39(0xcc)](_0x470f39(0xc1),!0x0,_0x4efc1f),_0x4efc1f[_0x470f39(0x99)]=function(_0x489d99){const _0x2f0e67=_0x470f39,_0x182e0c=this[_0x2f0e67(0xe6)](_0x489d99),_0x18df95=document[_0x2f0e67(0x91)](_0x2f0e67(0xc6));return _0x18df95[_0x2f0e67(0x105)][_0x2f0e67(0xf5)](_0x2f0e67(0xd6)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xe8),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xf4)](_0x2f0e67(0xf1),_0x2f0e67(0xa2)),_0x18df95[_0x2f0e67(0xbd)]=_0x1436f6[_0x2f0e67(0x9a)],_0x182e0c[_0x2f0e67(0x96)]=_0x2f0e67(0xfc)+_0x18df95[_0x2f0e67(0xa7)]+'⁠',_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xe2),()=>{const _0x4309ee=_0x2f0e67;_0x182e0c[_0x4309ee(0x105)][_0x4309ee(0xf5)](_0x4309ee(0x108));}),_0x182e0c[_0x2f0e67(0x8d)](_0x2f0e67(0xc7),()=>{const _0x5ceaca=_0x2f0e67;_0x182e0c[_0x5ceaca(0x105)][_0x5ceaca(0xfb)](_0x5ceaca(0x108));}),_0x182e0c;},_0x4efc1f[_0x470f39(0x9c)]=function(_0x1ceeee){const _0x566f20=_0x470f39;return!(!this[_0x566f20(0xef)](_0x566f20(0xc1))||!_0x1ceeee[_0x566f20(0xef)](_0x566f20(0xc1))||this[_0x566f20(0x8e)](_0x566f20(0xe9))!=_0x1ceeee[_0x566f20(0x8e)](_0x566f20(0xe9)));},_0x4efc1f;}(_0x32d5bc,_0x4a61ef,_0x1f7b0b);}(_0x5cfe95,_0x1b811c,_0x5783d3,_0x2b85fa)}),_0x2b85fa[_0x2b2796(0xfd)][_0x2b2796(0x97)](_0x2b2796(0x80))[_0x2b2796(0xa4)]({'model':_0x2b2796(0xbf),'view':_0x3220e8=>function(_0x133080,_0xee595d){const _0x4b5e09=_0x2b2796,_0x26d6ce=_0x133080[_0x4b5e09(0xc5)][_0x4b5e09(0x101)](':')[0x2];if(_0x26d6ce===_0xee595d[_0x4b5e09(0xc9)])return null;const _0x3b7892=_0xee595d[_0x4b5e09(0x102)](_0x26d6ce);if(!_0x3b7892)return{'id':_0x26d6ce,'classes':[]};return{'id':_0x26d6ce,'classes':[_0x4b5e09(0x98),_0x3b7892[_0x4b5e09(0xd9)][_0x4b5e09(0x87)]()],'attributes':{'data-session-id':_0x26d6ce},'priority':0x7d0+_0x3b7892[_0x4b5e09(0x106)]};}(_0x3220e8,_0x5783d3)}),function(_0xb0e7d2){const _0x2fb7b0=_0x2b2796,_0x53757c=_0xb0e7d2[_0x2fb7b0(0xb8)],_0x15d5a2=new Map(),_0x5a7e6e=_0xb0e7d2[_0x2fb7b0(0xa1)][_0x2fb7b0(0xaa)](_0x379960);_0x53757c[_0x2fb7b0(0xf9)]['on'](_0x2fb7b0(0xd8),(_0x3448ed,_0x1d019d,_0x23a397,_0x44adb2)=>{const _0x380f01=_0x2fb7b0;if(!_0x44adb2&&_0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)]))return _0x15d5a2[_0x380f01(0xaa)](_0x1d019d[_0x380f01(0x9a)])[_0x380f01(0x100)](),void _0x15d5a2[_0x380f01(0x107)](_0x1d019d[_0x380f01(0x9a)]);const _0x5d82cd=_0x1d019d[_0x380f01(0x9a)][_0x380f01(0x101)](':')[0x2];if(_0x5d82cd===_0x5a7e6e[_0x380f01(0xc9)])return;const _0x33d140=_0x380f01(0x90)+_0x5d82cd;_0x53757c[_0x380f01(0xf9)][_0x380f01(0xee)](_0x33d140)&&_0xb0e7d2[_0x380f01(0xda)][_0x380f01(0xd1)](_0x33d140),_0x1d019d['on'](_0x380f01(0xf3),(_0xf5e427,_0xac79a3,_0x3ab2d0)=>{const _0x3feb04=_0x380f01;if(_0x3feb04(0xe1)!=_0xac79a3[_0x3feb04(0xec)][_0x3feb04(0xea)]&&_0x3feb04(0xe1)==_0x1d019d[_0x3feb04(0x9d)]()[_0x3feb04(0xec)][_0x3feb04(0xea)]&&!_0x15d5a2[_0x3feb04(0xee)](_0x1d019d[_0x3feb04(0x9a)])){const _0x4f9b99=_0x53757c[_0x3feb04(0x92)][_0x3feb04(0xa3)](_0x3ab2d0[_0x3feb04(0xe0)]);if(_0x4f9b99){const _0x3034e0=_0x1c7809[_0x3feb04(0xa9)](_0x4f9b99);_0x15d5a2[_0x3feb04(0xdf)](_0x1d019d[_0x3feb04(0x9a)],_0x3034e0),_0x3034e0['on'](_0x3feb04(0xf3),(_0x54db72,_0x2eaeac,_0x5145e1)=>{const _0x21ff6e=_0x3feb04;if(_0x21ff6e(0xe1)==_0x3034e0[_0x21ff6e(0xec)][_0x21ff6e(0xea)]){const _0x4eca8b=_0x53757c[_0x21ff6e(0x92)][_0x21ff6e(0xa3)](_0x5145e1[_0x21ff6e(0xe0)]);_0x4eca8b?(_0x3034e0[_0x21ff6e(0xb6)]=_0x4eca8b[_0x21ff6e(0xb6)],_0x3034e0[_0x21ff6e(0x82)]=_0x4eca8b[_0x21ff6e(0x82)]):(_0x15d5a2[_0x21ff6e(0x107)](_0x1d019d[_0x21ff6e(0x9a)]),_0x3034e0[_0x21ff6e(0x100)]());}});}}});}),_0x53757c[_0x2fb7b0(0xd7)]['on'](_0x2fb7b0(0xb3),()=>{const _0xfc6b8e=_0x2fb7b0;_0x15d5a2[_0xfc6b8e(0xde)]>0x0&&_0x53757c[_0xfc6b8e(0xae)]({'isUndoable':!0x1},_0x17cf35=>{const _0x8f1f59=_0xfc6b8e;for(const [_0x5b4da1,_0x287039]of _0x15d5a2)_0x8f1f59(0xe1)==_0x53757c[_0x8f1f59(0xf9)][_0x8f1f59(0xaa)](_0x5b4da1)[_0x8f1f59(0x9d)]()[_0x8f1f59(0xec)][_0x8f1f59(0xea)]&&(te(_0x5b4da1[_0x8f1f59(0x101)](':')[0x2],_0x287039[_0x8f1f59(0xbb)](),_0x53757c,_0x17cf35),_0x287039[_0x8f1f59(0x100)]());_0x15d5a2[_0x8f1f59(0xc2)]();});});}(_0x2b85fa),this[_0x2b2796(0xbc)][_0x2b2796(0xab)](_0x4cd33d[_0x2b2796(0xd7)],_0x2b2796(0xed),(_0x413208,{key:_0x131ca2})=>{const _0x5a79a4=_0x2b2796;_0x5a79a4(0xa8)===_0x131ca2&&function(_0x1ad148){const _0xfec328=_0x5a79a4;_0x1ad148[_0xfec328(0xda)][_0xfec328(0xf8)][_0xfec328(0xb3)](_0x1b7933=>{const _0x5b3cb1=_0xfec328;for(const _0x4c32e2 of _0x1ad148[_0x5b3cb1(0xb8)][_0x5b3cb1(0xf9)]){if(!_0x4c32e2[_0x5b3cb1(0x9a)][_0x5b3cb1(0x83)](_0x5b3cb1(0x84)))continue;const _0x4b1ca7=_0x1ad148[_0x5b3cb1(0xda)][_0x5b3cb1(0xcb)][_0x5b3cb1(0x93)](_0x4c32e2[_0x5b3cb1(0x9a)]);if(_0x4b1ca7){for(const _0x3a5e44 of _0x4b1ca7)_0x1b7933[_0x5b3cb1(0xbe)](_0x5b3cb1(0x108),_0x3a5e44);}}});}(_0x2b85fa);},{'useCapture':!0x0});}[_0x45b43e(0x89)](){const _0x22d6f9=_0x45b43e,_0x3463fb=this[_0x22d6f9(0xb2)],_0xcead9f=_0x3463fb[_0x22d6f9(0xb4)][_0x22d6f9(0xaa)](_0x22d6f9(0xdb));_0xcead9f&&_0x3463fb[_0x22d6f9(0xb8)]['on'](_0x22d6f9(0xa0),(_0x583026,_0x3b7ad4)=>{const _0x115b07=_0x22d6f9,_0x14f3ce=_0x3b7ad4[0x0];if(!_0x14f3ce[_0x115b07(0xf7)])return;if(_0x115b07(0xe4)!=_0x14f3ce[_0x115b07(0x8f)]||!_0x14f3ce[_0x115b07(0x9a)][_0x115b07(0x83)](_0x115b07(0xad)))return;const _0x8606fb=_0x14f3ce[_0x115b07(0xd3)];_0xcead9f[_0x115b07(0xf0)][_0x115b07(0xee)](_0x8606fb)&&(_0x14f3ce[_0x115b07(0xd5)]=_0x14f3ce[_0x115b07(0xaf)]?_0x3463fb[_0x115b07(0xb8)][_0x115b07(0xb9)](_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0xb6)],_0x14f3ce[_0x115b07(0xaf)][_0x115b07(0x82)]):null);},{'priority':_0x22d6f9(0x103)});}[_0x45b43e(0xfe)](){const _0x12f748=_0x45b43e;return this[_0x12f748(0xbc)][_0x12f748(0xc3)](),super[_0x12f748(0xfe)]();}[_0x45b43e(0xdc)](){const _0x2f2c21=_0x45b43e,_0x2e0d29=this[_0x2f2c21(0xb2)],_0x42d88e=_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xd7)],_0x1ea8c1=_0x2e0d29[_0x2f2c21(0xa1)][_0x2f2c21(0xaa)](_0x379960);_0x2e0d29[_0x2f2c21(0xb8)][_0x2f2c21(0xae)]({'isUndoable':!0x1},_0x2fc6ba=>{const _0xa4c15b=_0x2f2c21,_0x341986=_0xa4c15b(0x95)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x2b14ef=_0xa4c15b(0x90)+_0x1ea8c1[_0xa4c15b(0xc9)],_0x4f7a2b=_0x2e0d29[_0xa4c15b(0xb8)][_0xa4c15b(0xf9)][_0xa4c15b(0xee)](_0x341986);_0x2e0d29[_0xa4c15b(0xda)][_0xa4c15b(0xf8)][_0xa4c15b(0x8c)]?te(_0x1ea8c1[_0xa4c15b(0xc9)],_0x42d88e[_0xa4c15b(0xc8)][_0xa4c15b(0xfa)](),_0x2e0d29[_0xa4c15b(0xb8)],_0x2fc6ba):_0x4f7a2b&&(_0x2fc6ba[_0xa4c15b(0xce)](_0x341986),_0x2fc6ba[_0xa4c15b(0xce)](_0x2b14ef));});}}function te(_0x518ab1,_0x5d97fb,_0x3aa7a8,_0xcfc921){const _0x213bee=_0x45b43e,_0x46951c=_0x213bee(0x95)+_0x518ab1,_0x13fef4=_0x213bee(0x90)+_0x518ab1,_0x24106c=_0x5d97fb[_0x213bee(0xba)]();let _0x11d903=_0x5d97fb[_0x213bee(0xb6)];if(_0x24106c&&_0x24106c['is'](_0x213bee(0x9b),_0x213bee(0xb1))){const _0xa53973=function(_0x45e44a,_0x2db8d7){const _0x189067=_0x213bee;for(const _0x27da9b of _0x45e44a[_0x189067(0xa5)]())if(_0x2db8d7[_0x189067(0x92)][_0x189067(0x9e)](_0x27da9b,_0x189067(0xcd)))return _0x27da9b;}(_0x5d97fb,_0x3aa7a8);_0xa53973&&(_0x11d903=_0xa53973,_0x5d97fb=_0xcfc921[_0x213bee(0xb9)](_0x11d903));}const _0x5ab1b9=_0xcfc921[_0x213bee(0xb9)](_0x11d903);_0x3aa7a8[_0x213bee(0xf9)][_0x213bee(0xee)](_0x46951c)?(_0xcfc921[_0x213bee(0x85)](_0x46951c,{'range':_0x5d97fb}),_0xcfc921[_0x213bee(0x85)](_0x13fef4,{'range':_0x5ab1b9})):(_0xcfc921[_0x213bee(0x94)](_0x46951c,{'range':_0x5d97fb,'usingOperation':!0x0}),_0xcfc921[_0x213bee(0x94)](_0x13fef4,{'range':_0x5ab1b9,'usingOperation':!0x0}));}
23
+ function _0x38c2(){const _0x40a89f=['getPositions','nodeAfter','requires','user:range:','setCustomProperty','isObject','createElement','marker','hasDomSelection','toRange','for','ck-user__marker-tooltip','destroy','spellcheck','$graveyard','user:position','newRange','mapper','markerToElement','ck-user__marker_hovered','orderNumber','render','removeClass','5815voazsu','removeMarker','stopListening','clear','getStart','isInline','isCollapsed','set','toDomElement','addMarker','reconvertMarker','delete','parent','getCustomProperty','editor','detach','oldRange','2120656RqqBGd','isSimilar','enqueueChange','init','user:position:','tableCell','highest','7vUQZIw','ck-user__marker\x20','span','isOfficialPlugin','isDocumentOperation','createUIElement','change:range','editingDowncast','isLimit','color','_createdBatches','pluginName','afterInit','fromRange','createRange','user:','false','getUserBySessionId','element','getNearestSelectionRange','checkChild','data-session-id','markerNameToElements','13346217CFIRmN','contenteditable','plugins','type','startsWith','markerRange','user:range','setAttribute','schema','getMarkerClass','2156310cMNaqH','add','getContainedElement','conversion','943074aDXqeR','mouseleave','view','1vfGLEq','rootName','isPremiumPlugin','3772IMWiLd','split','outerHTML','listenTo','445378OVlndO','createUserMarkerOperations','markerToHighlight','end','document','classList','size','getFirstRange','mouseenter','userPositionMarker','markerName','get','markers','getAttribute','deletionPosition','start','UserMarkers','$text','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','name','3611496ckbtwa','has','applyOperation','update:user:range','getSelectionClass','updateMarker','model','selection','change','_domEmitter','root','commands','hasContent','remove','mySessionId','editing','keydown','addEventListener','getRange','innerHTML','textContent','undo','Escape','ck-user__selection'];_0x38c2=function(){return _0x40a89f;};return _0x38c2();}const _0x301b89=_0xe35a;(function(_0xe476e,_0x4adfc2){const _0x256332=_0xe35a,_0x23387d=_0xe476e();while(!![]){try{const _0x2913f9=-parseInt(_0x256332(0x1e7))/0x1*(parseInt(_0x256332(0x163))/0x2)+-parseInt(_0x256332(0x178))/0x3+-parseInt(_0x256332(0x1ea))/0x4*(-parseInt(_0x256332(0x1a7))/0x5)+parseInt(_0x256332(0x1e4))/0x6*(parseInt(_0x256332(0x1bf))/0x7)+-parseInt(_0x256332(0x1b8))/0x8+parseInt(_0x256332(0x1d6))/0x9+-parseInt(_0x256332(0x1e0))/0xa;if(_0x2913f9===_0x4adfc2)break;else _0x23387d['push'](_0x23387d['shift']());}catch(_0x224300){_0x23387d['push'](_0x23387d['shift']());}}}(_0x38c2,0xca87f));import{Plugin as _0xf91e2a}from'ckeditor5/src/core.js';import{global as _0x4dab5e,DomEmitterMixin as _0x50fafe}from'ckeditor5/src/utils.js';import{Sessions as _0x197125}from'./sessions.js';function _0xe35a(_0x1d5697,_0xdcf0d3){const _0x38c21d=_0x38c2();return _0xe35a=function(_0xe35ad8,_0x364f01){_0xe35ad8=_0xe35ad8-0x163;let _0x499a8e=_0x38c21d[_0xe35ad8];return _0x499a8e;},_0xe35a(_0x1d5697,_0xdcf0d3);}import{ModelLiveRange as _0x7d951e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xf91e2a{[_0x301b89(0x181)]=new(_0x50fafe())();static get[_0x301b89(0x192)](){return[_0x197125];}static get[_0x301b89(0x1ca)](){const _0x41d079=_0x301b89;return _0x41d079(0x173);}static get[_0x301b89(0x1c2)](){return!0x0;}static get[_0x301b89(0x1e9)](){return!0x0;}[_0x301b89(0x1bb)](){const _0x36e8a8=_0x301b89,_0x6b1850=this[_0x36e8a8(0x1b5)],_0x87d7be=_0x6b1850[_0x36e8a8(0x1d8)][_0x36e8a8(0x16e)](_0x197125);_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x1a2)]({'model':_0x36e8a8(0x19f),'view':(_0x58bd91,{writer:_0x5cb50f})=>function(_0x3d7d5a,_0x57703e,_0x168249,_0x2b1c33){const _0x37a3ca=_0x36e8a8,_0x4ed228=_0x3d7d5a[_0x37a3ca(0x16d)][_0x37a3ca(0x1eb)](':')[0x2],_0x1a232=_0x168249[_0x37a3ca(0x1d0)](_0x4ed228);if(!_0x1a232||_0x4ed228===_0x168249[_0x37a3ca(0x186)])return;if(!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1d3)](_0x3d7d5a[_0x37a3ca(0x1db)][_0x37a3ca(0x172)],_0x37a3ca(0x174)))return;const _0x326a96={'class':_0x37a3ca(0x1c0)+_0x1a232[_0x37a3ca(0x1c8)][_0x37a3ca(0x1df)](),'data-name':_0x1a232[_0x37a3ca(0x177)],'data-session-id':_0x4ed228},_0x3244e7=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x3d7d5a[_0x37a3ca(0x16d)]),_0x3f94f9=_0x3244e7[_0x37a3ca(0x1ab)](),_0x561c20=_0x3f94f9[_0x37a3ca(0x191)],_0x43f729=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)];if(_0x561c20&&_0x43f729[_0x37a3ca(0x195)](_0x561c20)&&_0x43f729[_0x37a3ca(0x1ac)](_0x561c20)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x37a3ca(0x193)+_0x4ed228)[_0x37a3ca(0x18a)]()[_0x37a3ca(0x1ad)])return;const _0x5e6831=_0x3f94f9[_0x37a3ca(0x1b3)];return _0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1c7)](_0x5e6831)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x184)](_0x5e6831)&&(_0x326a96[_0x37a3ca(0x1d7)]=!0x1),function(_0x356efa,_0x3c256e,_0x1a3c43){const _0x2fdf0e=_0x37a3ca,_0x54b69b=_0x356efa[_0x2fdf0e(0x1c4)](_0x2fdf0e(0x1c1),_0x3c256e);return _0x356efa[_0x2fdf0e(0x194)](_0x2fdf0e(0x16c),!0x0,_0x54b69b),_0x54b69b[_0x2fdf0e(0x1a5)]=function(_0xda511c){const _0x37ca0e=_0x2fdf0e,_0x3e3396=this[_0x37ca0e(0x1af)](_0xda511c),_0x212ce8=document[_0x37ca0e(0x196)](_0x37ca0e(0x1c1));return _0x212ce8[_0x37ca0e(0x168)][_0x37ca0e(0x1e1)](_0x37ca0e(0x19b)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x1d7),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x19d),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x18c)]=_0x1a3c43[_0x37ca0e(0x177)],_0x3e3396[_0x37ca0e(0x18b)]=_0x37ca0e(0x175)+_0x212ce8[_0x37ca0e(0x1ec)]+'⁠',_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x16b),()=>{const _0x232cac=_0x37ca0e;_0x3e3396[_0x232cac(0x168)][_0x232cac(0x1e1)](_0x232cac(0x1a3));}),_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x1e5),()=>{const _0x22db78=_0x37ca0e;_0x3e3396[_0x22db78(0x168)][_0x22db78(0x185)](_0x22db78(0x1a3));}),_0x3e3396;},_0x54b69b[_0x2fdf0e(0x1b9)]=function(_0xc88fbf){const _0x730dd5=_0x2fdf0e;return!(!this[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||!_0xc88fbf[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||this[_0x730dd5(0x170)](_0x730dd5(0x1d4))!=_0xc88fbf[_0x730dd5(0x170)](_0x730dd5(0x1d4)));},_0x54b69b;}(_0x57703e,_0x326a96,_0x1a232);}(_0x58bd91,_0x5cb50f,_0x87d7be,_0x6b1850)}),_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x165)]({'model':_0x36e8a8(0x1dc),'view':_0x3c82c7=>function(_0x28cc23,_0x3aaf2f){const _0x556900=_0x36e8a8,_0x4c2085=_0x28cc23[_0x556900(0x16d)][_0x556900(0x1eb)](':')[0x2];if(_0x4c2085===_0x3aaf2f[_0x556900(0x186)])return null;const _0x564f94=_0x3aaf2f[_0x556900(0x1d0)](_0x4c2085);if(!_0x564f94)return{'id':_0x4c2085,'classes':[]};return{'id':_0x4c2085,'classes':[_0x556900(0x18f),_0x564f94[_0x556900(0x1c8)][_0x556900(0x17c)]()],'attributes':{'data-session-id':_0x4c2085},'priority':0x7d0+_0x564f94[_0x556900(0x1a4)]};}(_0x3c82c7,_0x87d7be)}),function(_0x232113){const _0x42cc2b=_0x36e8a8,_0x374382=_0x232113[_0x42cc2b(0x17e)],_0x2b8e1b=new Map(),_0x5a0a9d=_0x232113[_0x42cc2b(0x1d8)][_0x42cc2b(0x16e)](_0x197125);_0x374382[_0x42cc2b(0x16f)]['on'](_0x42cc2b(0x17b),(_0x2b2a91,_0x444111,_0x1e1afd,_0x2a78bc)=>{const _0x171a08=_0x42cc2b;if(!_0x2a78bc&&_0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)]))return _0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)])[_0x171a08(0x1b6)](),void _0x2b8e1b[_0x171a08(0x1b2)](_0x444111[_0x171a08(0x177)]);const _0x1f0510=_0x444111[_0x171a08(0x177)][_0x171a08(0x1eb)](':')[0x2];if(_0x1f0510===_0x5a0a9d[_0x171a08(0x186)])return;const _0x1d7232=_0x171a08(0x1bc)+_0x1f0510;_0x374382[_0x171a08(0x16f)][_0x171a08(0x179)](_0x1d7232)&&_0x232113[_0x171a08(0x187)][_0x171a08(0x1b1)](_0x1d7232),_0x444111['on'](_0x171a08(0x1c5),(_0x47bac6,_0x4dc28e,_0x38ae3d)=>{const _0x236ece=_0x171a08;if(_0x236ece(0x19e)!=_0x4dc28e[_0x236ece(0x182)][_0x236ece(0x1e8)]&&_0x236ece(0x19e)==_0x444111[_0x236ece(0x18a)]()[_0x236ece(0x182)][_0x236ece(0x1e8)]&&!_0x2b8e1b[_0x236ece(0x179)](_0x444111[_0x236ece(0x177)])){const _0x4c6e53=_0x374382[_0x236ece(0x1de)][_0x236ece(0x1d2)](_0x38ae3d[_0x236ece(0x171)]);if(_0x4c6e53){const _0x46aa70=_0x7d951e[_0x236ece(0x1cc)](_0x4c6e53);_0x2b8e1b[_0x236ece(0x1ae)](_0x444111[_0x236ece(0x177)],_0x46aa70),_0x46aa70['on'](_0x236ece(0x1c5),(_0x507ec5,_0x113352,_0x34e24f)=>{const _0x14fc5f=_0x236ece;if(_0x14fc5f(0x19e)==_0x46aa70[_0x14fc5f(0x182)][_0x14fc5f(0x1e8)]){const _0x46b25e=_0x374382[_0x14fc5f(0x1de)][_0x14fc5f(0x1d2)](_0x34e24f[_0x14fc5f(0x171)]);_0x46b25e?(_0x46aa70[_0x14fc5f(0x172)]=_0x46b25e[_0x14fc5f(0x172)],_0x46aa70[_0x14fc5f(0x166)]=_0x46b25e[_0x14fc5f(0x166)]):(_0x2b8e1b[_0x14fc5f(0x1b2)](_0x444111[_0x14fc5f(0x177)]),_0x46aa70[_0x14fc5f(0x1b6)]());}});}}});}),_0x374382[_0x42cc2b(0x167)]['on'](_0x42cc2b(0x180),()=>{const _0x1e216d=_0x42cc2b;_0x2b8e1b[_0x1e216d(0x169)]>0x0&&_0x374382[_0x1e216d(0x1ba)]({'isUndoable':!0x1},_0x3604ea=>{const _0x5ab8e9=_0x1e216d;for(const [_0x3d1f3b,_0x4ffe18]of _0x2b8e1b)_0x5ab8e9(0x19e)==_0x374382[_0x5ab8e9(0x16f)][_0x5ab8e9(0x16e)](_0x3d1f3b)[_0x5ab8e9(0x18a)]()[_0x5ab8e9(0x182)][_0x5ab8e9(0x1e8)]&&(re(_0x3d1f3b[_0x5ab8e9(0x1eb)](':')[0x2],_0x4ffe18[_0x5ab8e9(0x199)](),_0x374382,_0x3604ea),_0x4ffe18[_0x5ab8e9(0x1b6)]());_0x2b8e1b[_0x5ab8e9(0x1aa)]();});});}(_0x6b1850),this[_0x36e8a8(0x181)][_0x36e8a8(0x1ed)](_0x4dab5e[_0x36e8a8(0x167)],_0x36e8a8(0x188),(_0x5b3d26,{key:_0x5bf19f})=>{const _0x191e9e=_0x36e8a8;_0x191e9e(0x18e)===_0x5bf19f&&function(_0xdb2247){const _0x296be9=_0x191e9e;_0xdb2247[_0x296be9(0x187)][_0x296be9(0x1e6)][_0x296be9(0x180)](_0x3115c1=>{const _0x44dda6=_0x296be9;for(const _0x182a5a of _0xdb2247[_0x44dda6(0x17e)][_0x44dda6(0x16f)]){if(!_0x182a5a[_0x44dda6(0x177)][_0x44dda6(0x1da)](_0x44dda6(0x19f)))continue;const _0x37e249=_0xdb2247[_0x44dda6(0x187)][_0x44dda6(0x1a1)][_0x44dda6(0x1d5)](_0x182a5a[_0x44dda6(0x177)]);if(_0x37e249){for(const _0x363371 of _0x37e249)_0x3115c1[_0x44dda6(0x1a6)](_0x44dda6(0x1a3),_0x363371);}}});}(_0x6b1850);},{'useCapture':!0x0});}[_0x301b89(0x1cb)](){const _0x18f77b=_0x301b89,_0x59f94b=this[_0x18f77b(0x1b5)],_0x3ac403=_0x59f94b[_0x18f77b(0x183)][_0x18f77b(0x16e)](_0x18f77b(0x18d));_0x3ac403&&_0x59f94b[_0x18f77b(0x17e)]['on'](_0x18f77b(0x17a),(_0x33c448,_0x4118c5)=>{const _0xf695cd=_0x18f77b,_0x36ec10=_0x4118c5[0x0];if(!_0x36ec10[_0xf695cd(0x1c3)])return;if(_0xf695cd(0x197)!=_0x36ec10[_0xf695cd(0x1d9)]||!_0x36ec10[_0xf695cd(0x177)][_0xf695cd(0x1da)](_0xf695cd(0x1ce)))return;const _0x1a50ce=_0x36ec10[_0xf695cd(0x176)];_0x3ac403[_0xf695cd(0x1c9)][_0xf695cd(0x179)](_0x1a50ce)&&(_0x36ec10[_0xf695cd(0x1a0)]=_0x36ec10[_0xf695cd(0x1b7)]?_0x59f94b[_0xf695cd(0x17e)][_0xf695cd(0x1cd)](_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x172)],_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x166)]):null);},{'priority':_0x18f77b(0x1be)});}[_0x301b89(0x19c)](){const _0x52e60d=_0x301b89;return this[_0x52e60d(0x181)][_0x52e60d(0x1a9)](),super[_0x52e60d(0x19c)]();}[_0x301b89(0x164)](){const _0xb58fe1=_0x301b89,_0x342894=this[_0xb58fe1(0x1b5)],_0x3b0bd4=_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x167)],_0x2cf006=_0x342894[_0xb58fe1(0x1d8)][_0xb58fe1(0x16e)](_0x197125);_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x1ba)]({'isUndoable':!0x1},_0x4895a0=>{const _0x2f7cf8=_0xb58fe1,_0x5a3ffb=_0x2f7cf8(0x193)+_0x2cf006[_0x2f7cf8(0x186)],_0x32d3c7=_0x2f7cf8(0x1bc)+_0x2cf006[_0x2f7cf8(0x186)],_0x107caf=_0x342894[_0x2f7cf8(0x17e)][_0x2f7cf8(0x16f)][_0x2f7cf8(0x179)](_0x5a3ffb);_0x342894[_0x2f7cf8(0x187)][_0x2f7cf8(0x1e6)][_0x2f7cf8(0x198)]?re(_0x2cf006[_0x2f7cf8(0x186)],_0x3b0bd4[_0x2f7cf8(0x17f)][_0x2f7cf8(0x16a)](),_0x342894[_0x2f7cf8(0x17e)],_0x4895a0):_0x107caf&&(_0x4895a0[_0x2f7cf8(0x1a8)](_0x5a3ffb),_0x4895a0[_0x2f7cf8(0x1a8)](_0x32d3c7));});}}function re(_0x1443b4,_0x5741c5,_0xe04af,_0x5ab6bd){const _0x2ba879=_0x301b89,_0x2b4015=_0x2ba879(0x193)+_0x1443b4,_0x2d6499=_0x2ba879(0x1bc)+_0x1443b4,_0x4291d7=_0x5741c5[_0x2ba879(0x1e2)]();let _0x235a26=_0x5741c5[_0x2ba879(0x172)];if(_0x4291d7&&_0x4291d7['is'](_0x2ba879(0x1d1),_0x2ba879(0x1bd))){const _0x3ef17e=function(_0x3d43cb,_0x4e475a){const _0x11db44=_0x2ba879;for(const _0x134e7c of _0x3d43cb[_0x11db44(0x190)]())if(_0x4e475a[_0x11db44(0x1de)][_0x11db44(0x1d3)](_0x134e7c,_0x11db44(0x174)))return _0x134e7c;}(_0x5741c5,_0xe04af);_0x3ef17e&&(_0x235a26=_0x3ef17e,_0x5741c5=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26));}const _0x23be99=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26);_0xe04af[_0x2ba879(0x16f)][_0x2ba879(0x179)](_0x2b4015)?(_0x5ab6bd[_0x2ba879(0x17d)](_0x2b4015,{'range':_0x5741c5}),_0x5ab6bd[_0x2ba879(0x17d)](_0x2d6499,{'range':_0x23be99})):(_0x5ab6bd[_0x2ba879(0x1b0)](_0x2b4015,{'range':_0x5741c5,'usingOperation':!0x0}),_0x5ab6bd[_0x2ba879(0x1b0)](_0x2d6499,{'range':_0x23be99,'usingOperation':!0x0}));}