@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.4 → 47.4.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x492207=_0x3329;(function(_0x33305f,_0x5ac134){const _0x28f56a=_0x3329,_0x5a192b=_0x33305f();while(!![]){try{const _0x7627c9=parseInt(_0x28f56a(0x77))/0x1*(parseInt(_0x28f56a(0x68))/0x2)+-parseInt(_0x28f56a(0x65))/0x3*(parseInt(_0x28f56a(0x8c))/0x4)+-parseInt(_0x28f56a(0x74))/0x5+parseInt(_0x28f56a(0x7f))/0x6*(parseInt(_0x28f56a(0x71))/0x7)+parseInt(_0x28f56a(0x78))/0x8+-parseInt(_0x28f56a(0x70))/0x9*(-parseInt(_0x28f56a(0x79))/0xa)+-parseInt(_0x28f56a(0x88))/0xb;if(_0x7627c9===_0x5ac134)break;else _0x5a192b['push'](_0x5a192b['shift']());}catch(_0x3c1fe4){_0x5a192b['push'](_0x5a192b['shift']());}}}(_0x49ec,0xa1a9d));import{View as _0x5088c4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x405104}from'ckeditor5/src/utils.js';function _0x49ec(){const _0x259910=['isExpanded','listenTo','26otaaZk','list','focus','createCollection','keystrokes','Connected\x20users\x20list','hasPopup','relatedTarget','15201tpWwVj','7032634PaFpRW','items','aria-expanded','3630145IcaIjz','set','presencelist:show','1499BQZFWD','5237224yJAFKY','3510SDSXSM','change:hasPopup','setAttribute','bindTemplate','render','setTemplate','6KKkRtY','fire','ck-presence-list__list','.ck-presence-list__dropdown-list','contains','div','.ck-balloon-panel_with-arrow','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','9310961ifgbUr','removeAttribute','presencelist:hide','querySelector','112OZFDfF','3963ydosrA'];_0x49ec=function(){return _0x259910;};return _0x49ec();}function _0x3329(_0x1f8793,_0x5348f5){const _0x49ec85=_0x49ec();return _0x3329=function(_0x332967,_0x2eab1d){_0x332967=_0x332967-0x65;let _0x585a44=_0x49ec85[_0x332967];return _0x585a44;},_0x3329(_0x1f8793,_0x5348f5);}import{getTranslation as _0x1f8fcc}from'../../common-translations.js';export class PresenceInlineListView extends _0x5088c4{[_0x492207(0x72)];[_0x492207(0x6c)];constructor(_0x17eba5){const _0x316505=_0x492207;super(_0x17eba5);const _0x15750c=this[_0x316505(0x7c)];this[_0x316505(0x72)]=this[_0x316505(0x6b)](),this[_0x316505(0x6c)]=new _0x405104(),this[_0x316505(0x75)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x316505(0x7e)]({'tag':_0x316505(0x84),'attributes':{'aria-haspopup':_0x15750c['if'](_0x316505(0x6e)),'aria-expanded':_0x15750c['to'](_0x316505(0x66),_0x6133db=>this[_0x316505(0x6e)]&&String(_0x6133db)),'aria-label':_0x15750c['to'](_0x316505(0x6e),_0x2cb2fd=>_0x1f8fcc(_0x17eba5,_0x2cb2fd?_0x316505(0x87):_0x316505(0x6d))),'role':_0x316505(0x69),'tabindex':_0x15750c['to'](_0x316505(0x6e),_0x587ff9=>!!_0x587ff9&&0x0),'class':['ck',_0x316505(0x81)]},'children':this[_0x316505(0x72)],'on':{'mouseenter':_0x15750c['to'](()=>this[_0x316505(0x80)](_0x316505(0x76))),'mouseleave':_0x15750c['to'](_0x3b454b=>{const _0x6378b5=_0x316505,_0x35e907=_0x3b454b,_0x3ef3de=document[_0x6378b5(0x8b)](_0x6378b5(0x82)),_0x35c33a=document[_0x6378b5(0x8b)](_0x6378b5(0x85));_0x3ef3de?.[_0x6378b5(0x83)](_0x35e907[_0x6378b5(0x6f)])||_0x35c33a?.[_0x6378b5(0x83)](_0x35e907[_0x6378b5(0x6f)])||this[_0x6378b5(0x80)](_0x6378b5(0x8a));})}}),this['on'](_0x316505(0x7a),(_0x2224dd,_0x5d20e9,_0x49ffc6)=>{const _0x144828=_0x316505;this[_0x144828(0x86)]&&(_0x49ffc6?this[_0x144828(0x86)][_0x144828(0x7b)](_0x144828(0x73),String(this[_0x144828(0x66)])):this[_0x144828(0x86)][_0x144828(0x89)](_0x144828(0x73)));});}[_0x492207(0x6a)](){const _0x485128=_0x492207;this[_0x485128(0x86)][_0x485128(0x6a)]();}[_0x492207(0x7d)](){const _0x144b3c=_0x492207;super[_0x144b3c(0x7d)](),this[_0x144b3c(0x6c)][_0x144b3c(0x67)](this[_0x144b3c(0x86)]);}}
23
+ const _0x412f82=_0x2ebc;(function(_0x1f2cc4,_0x4dcc35){const _0x4214dd=_0x2ebc,_0x3b2c27=_0x1f2cc4();while(!![]){try{const _0x3ca8f3=parseInt(_0x4214dd(0x164))/0x1*(-parseInt(_0x4214dd(0x15e))/0x2)+-parseInt(_0x4214dd(0x15a))/0x3+parseInt(_0x4214dd(0x146))/0x4*(parseInt(_0x4214dd(0x15f))/0x5)+parseInt(_0x4214dd(0x163))/0x6*(parseInt(_0x4214dd(0x162))/0x7)+parseInt(_0x4214dd(0x14e))/0x8+-parseInt(_0x4214dd(0x143))/0x9+parseInt(_0x4214dd(0x154))/0xa;if(_0x3ca8f3===_0x4dcc35)break;else _0x3b2c27['push'](_0x3b2c27['shift']());}catch(_0x52d991){_0x3b2c27['push'](_0x3b2c27['shift']());}}}(_0x9451,0x60799));function _0x9451(){const _0x5f3665=['.ck-balloon-panel_with-arrow','bindTemplate','presencelist:hide','render','fire','1947610ajfYMN','setAttribute','aria-expanded','ck-presence-list__list','Connected\x20users\x20list','removeAttribute','1696695QDyGRA','list','.ck-presence-list__dropdown-list','setTemplate','8SyELbg','5TIThPD','listenTo','isExpanded','4673543ZJpDhb','6SEnxYz','155851JfGIEp','focus','relatedTarget','element','presencelist:show','set','1943550QXkONa','items','hasPopup','3068212rlAznE','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','querySelector','keystrokes','contains','createCollection','div','1364936FKYkEg'];_0x9451=function(){return _0x5f3665;};return _0x9451();}import{View as _0x44f906}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x17d320}from'ckeditor5/src/utils.js';import{getTranslation as _0x5daa21}from'../../common-translations.js';function _0x2ebc(_0x11ad5e,_0x362466){const _0x2ebc50=_0x9451();return _0x2ebc=function(_0x138e03,_0x1b5268){_0x138e03=_0x138e03-0x140;let _0x233725=_0x2ebc50[_0x138e03];return _0x233725;},_0x2ebc(_0x11ad5e,_0x362466);}export class PresenceInlineListView extends _0x44f906{[_0x412f82(0x144)];[_0x412f82(0x14a)];constructor(_0x372c02){const _0x53df36=_0x412f82;super(_0x372c02);const _0x48402e=this[_0x53df36(0x150)];this[_0x53df36(0x144)]=this[_0x53df36(0x14c)](),this[_0x53df36(0x14a)]=new _0x17d320(),this[_0x53df36(0x142)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x53df36(0x15d)]({'tag':_0x53df36(0x14d),'attributes':{'aria-haspopup':_0x48402e['if'](_0x53df36(0x145)),'aria-expanded':_0x48402e['to'](_0x53df36(0x161),_0x1dd367=>this[_0x53df36(0x145)]&&String(_0x1dd367)),'aria-label':_0x48402e['to'](_0x53df36(0x145),_0x207f24=>_0x5daa21(_0x372c02,_0x207f24?_0x53df36(0x147):_0x53df36(0x158))),'role':_0x53df36(0x15b),'tabindex':_0x48402e['to'](_0x53df36(0x145),_0x3fb2f3=>!!_0x3fb2f3&&0x0),'class':['ck',_0x53df36(0x157)]},'children':this[_0x53df36(0x144)],'on':{'mouseenter':_0x48402e['to'](()=>this[_0x53df36(0x153)](_0x53df36(0x141))),'mouseleave':_0x48402e['to'](_0x14819e=>{const _0x6a1f40=_0x53df36,_0xe9e9a0=_0x14819e,_0x2418e5=document[_0x6a1f40(0x149)](_0x6a1f40(0x15c)),_0x49cac9=document[_0x6a1f40(0x149)](_0x6a1f40(0x14f));_0x2418e5?.[_0x6a1f40(0x14b)](_0xe9e9a0[_0x6a1f40(0x166)])||_0x49cac9?.[_0x6a1f40(0x14b)](_0xe9e9a0[_0x6a1f40(0x166)])||this[_0x6a1f40(0x153)](_0x6a1f40(0x151));})}}),this['on'](_0x53df36(0x148),(_0x536d2a,_0x5523ec,_0x5994da)=>{const _0x586c8e=_0x53df36;this[_0x586c8e(0x140)]&&(_0x5994da?this[_0x586c8e(0x140)][_0x586c8e(0x155)](_0x586c8e(0x156),String(this[_0x586c8e(0x161)])):this[_0x586c8e(0x140)][_0x586c8e(0x159)](_0x586c8e(0x156)));});}[_0x412f82(0x165)](){const _0x348a21=_0x412f82;this[_0x348a21(0x140)][_0x348a21(0x165)]();}[_0x412f82(0x152)](){const _0x41e932=_0x412f82;super[_0x41e932(0x152)](),this[_0x41e932(0x14a)][_0x41e932(0x160)](this[_0x41e932(0x140)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23f93f=_0x31e5;(function(_0x1d2978,_0x4645e7){const _0x518052=_0x31e5,_0xddaa81=_0x1d2978();while(!![]){try{const _0x1a8319=parseInt(_0x518052(0xcb))/0x1+parseInt(_0x518052(0xc3))/0x2*(-parseInt(_0x518052(0xce))/0x3)+-parseInt(_0x518052(0xd8))/0x4+parseInt(_0x518052(0xd2))/0x5*(parseInt(_0x518052(0xc5))/0x6)+-parseInt(_0x518052(0xcf))/0x7*(-parseInt(_0x518052(0xd6))/0x8)+parseInt(_0x518052(0xd4))/0x9*(parseInt(_0x518052(0xd0))/0xa)+parseInt(_0x518052(0xc1))/0xb*(-parseInt(_0x518052(0xcc))/0xc);if(_0x1a8319===_0x4645e7)break;else _0xddaa81['push'](_0xddaa81['shift']());}catch(_0x37d91d){_0xddaa81['push'](_0xddaa81['shift']());}}}(_0x4a2a,0xc2b42));import{View as _0x5d22fb}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x49b094}from'./presencecounterview.js';import{PresenceInlineListView as _0x26f459}from'./presenceinlinelistview.js';function _0x4a2a(){const _0x580549=['2SjdYJx','ck-rounded-corners','120tAiOMC','items','ck-reset','div','bind','inlineListView','897616JrbOJp','7524dkWdcW','ck-presence-list--collapsed','386637CgRPaS','105pVsIFY','10OmyrOA','tooltipPosition','71525rKNXql','bindTemplate','6056109pMICzW','isCollapsed','418736LHiySU','listenTo','1516900DDelVs','counterView','ck-presence-list','change','setTemplate','locale','hasPopup','first','23441eNoFfx','set'];_0x4a2a=function(){return _0x580549;};return _0x4a2a();}import'../../../theme/presencelist.css';function _0x31e5(_0x11bb5d,_0x515fdc){const _0x4a2a02=_0x4a2a();return _0x31e5=function(_0x31e5f1,_0x1d975f){_0x31e5f1=_0x31e5f1-0xbe;let _0x33a0c3=_0x4a2a02[_0x31e5f1];return _0x33a0c3;},_0x31e5(_0x11bb5d,_0x515fdc);}export class PresenceListView extends _0x5d22fb{[_0x23f93f(0xd9)];[_0x23f93f(0xca)];constructor(_0x3df21c,_0x100771=0x6){const _0x370d64=_0x23f93f;super(_0x3df21c);const _0x28fea9=this[_0x370d64(0xd3)];this[_0x370d64(0xc2)](_0x370d64(0xd5),!0x0),this[_0x370d64(0xd9)]=new _0x49b094(this[_0x370d64(0xbe)],_0x100771),this[_0x370d64(0xca)]=new _0x26f459(_0x3df21c),this[_0x370d64(0xca)][_0x370d64(0xc9)](_0x370d64(0xbf))['to'](this,_0x370d64(0xd5)),this[_0x370d64(0xd7)](this[_0x370d64(0xca)][_0x370d64(0xc6)],_0x370d64(0xdb),()=>{const _0x4ebfea=_0x370d64;for(const _0x291979 of this[_0x4ebfea(0xca)][_0x4ebfea(0xc6)])_0x291979[_0x4ebfea(0xd1)]='s';this[_0x4ebfea(0xca)][_0x4ebfea(0xc6)][_0x4ebfea(0xc0)]&&(this[_0x4ebfea(0xca)][_0x4ebfea(0xc6)][_0x4ebfea(0xc0)][_0x4ebfea(0xd1)]='se');}),this[_0x370d64(0xdc)]({'tag':_0x370d64(0xc8),'attributes':{'class':['ck',_0x370d64(0xda),_0x370d64(0xc7),_0x370d64(0xc4),_0x28fea9['if'](_0x370d64(0xd5),_0x370d64(0xcd))]},'children':[this[_0x370d64(0xca)]]});}}
23
+ const _0x4ad783=_0x26ea;function _0x12e7(){const _0x3b413d=['648846oklJtZ','tooltipPosition','listenTo','bindTemplate','div','20630CGXBym','items','set','counterView','16OYONlM','inlineListView','bind','change','first','locale','5618529oXQXrk','6526315JltFCW','ck-presence-list--collapsed','ck-rounded-corners','ck-presence-list','ck-reset','7837768UfzKQn','setTemplate','hasPopup','6389170qwGNze','isCollapsed','77cgMoFA','4gyYBjj','4119600ExjVPN'];_0x12e7=function(){return _0x3b413d;};return _0x12e7();}(function(_0x3f9a75,_0x2ce5eb){const _0x1ef16b=_0x26ea,_0x323aff=_0x3f9a75();while(!![]){try{const _0xf02f40=-parseInt(_0x1ef16b(0x195))/0x1*(-parseInt(_0x1ef16b(0x191))/0x2)+parseInt(_0x1ef16b(0x18b))/0x3+-parseInt(_0x1ef16b(0x18a))/0x4*(-parseInt(_0x1ef16b(0x19c))/0x5)+-parseInt(_0x1ef16b(0x18c))/0x6*(parseInt(_0x1ef16b(0x189))/0x7)+-parseInt(_0x1ef16b(0x184))/0x8+-parseInt(_0x1ef16b(0x19b))/0x9+parseInt(_0x1ef16b(0x187))/0xa;if(_0xf02f40===_0x2ce5eb)break;else _0x323aff['push'](_0x323aff['shift']());}catch(_0x298981){_0x323aff['push'](_0x323aff['shift']());}}}(_0x12e7,0xa82e3));import{View as _0xd73b98}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x592d87}from'./presencecounterview.js';import{PresenceInlineListView as _0x1d08c2}from'./presenceinlinelistview.js';function _0x26ea(_0x4e5c04,_0x3d616d){const _0x12e752=_0x12e7();return _0x26ea=function(_0x26ea9a,_0x514588){_0x26ea9a=_0x26ea9a-0x182;let _0x41dab5=_0x12e752[_0x26ea9a];return _0x41dab5;},_0x26ea(_0x4e5c04,_0x3d616d);}import'../../../theme/presencelist.css';export class PresenceListView extends _0xd73b98{[_0x4ad783(0x194)];[_0x4ad783(0x196)];constructor(_0x4434c3,_0x623fcd=0x6){const _0x1eb1d2=_0x4ad783;super(_0x4434c3);const _0x5ce8e8=this[_0x1eb1d2(0x18f)];this[_0x1eb1d2(0x193)](_0x1eb1d2(0x188),!0x0),this[_0x1eb1d2(0x194)]=new _0x592d87(this[_0x1eb1d2(0x19a)],_0x623fcd),this[_0x1eb1d2(0x196)]=new _0x1d08c2(_0x4434c3),this[_0x1eb1d2(0x196)][_0x1eb1d2(0x197)](_0x1eb1d2(0x186))['to'](this,_0x1eb1d2(0x188)),this[_0x1eb1d2(0x18e)](this[_0x1eb1d2(0x196)][_0x1eb1d2(0x192)],_0x1eb1d2(0x198),()=>{const _0x3cdb75=_0x1eb1d2;for(const _0xd7cfb4 of this[_0x3cdb75(0x196)][_0x3cdb75(0x192)])_0xd7cfb4[_0x3cdb75(0x18d)]='s';this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)]&&(this[_0x3cdb75(0x196)][_0x3cdb75(0x192)][_0x3cdb75(0x199)][_0x3cdb75(0x18d)]='se');}),this[_0x1eb1d2(0x185)]({'tag':_0x1eb1d2(0x190),'attributes':{'class':['ck',_0x1eb1d2(0x182),_0x1eb1d2(0x183),_0x1eb1d2(0x19e),_0x5ce8e8['if'](_0x1eb1d2(0x188),_0x1eb1d2(0x19d))]},'children':[this[_0x1eb1d2(0x196)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x31ca4c=_0x6106;(function(_0x2497af,_0x6c730a){var _0x402923=_0x6106,_0x23ee6f=_0x2497af();while(!![]){try{var _0x2ebf2c=parseInt(_0x402923(0xf3))/0x1+-parseInt(_0x402923(0xef))/0x2+parseInt(_0x402923(0xf6))/0x3+parseInt(_0x402923(0xf0))/0x4+-parseInt(_0x402923(0xed))/0x5*(-parseInt(_0x402923(0xf7))/0x6)+parseInt(_0x402923(0xfa))/0x7*(-parseInt(_0x402923(0xf1))/0x8)+-parseInt(_0x402923(0xf9))/0x9;if(_0x2ebf2c===_0x6c730a)break;else _0x23ee6f['push'](_0x23ee6f['shift']());}catch(_0x31bbd5){_0x23ee6f['push'](_0x23ee6f['shift']());}}}(_0x45d8,0x39bcb));import{ContextPlugin as _0xb8cf5b}from'ckeditor5/src/core.js';import{Sessions as _0x1b4291}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5f0a1d}from'./presencelist/presencelistui.js';export class PresenceList extends _0xb8cf5b{static get[_0x31ca4c(0xf5)](){return[_0x1b4291,_0x5f0a1d];}static get[_0x31ca4c(0xf8)](){var _0x50834b=_0x31ca4c;return _0x50834b(0xee);}static get[_0x31ca4c(0xf2)](){return!0x0;}static get[_0x31ca4c(0xf4)](){return!0x0;}}function _0x6106(_0x7d557c,_0x38b7c7){var _0x45d859=_0x45d8();return _0x6106=function(_0x610603,_0x3052b6){_0x610603=_0x610603-0xed;var _0x59d5ec=_0x45d859[_0x610603];return _0x59d5ec;},_0x6106(_0x7d557c,_0x38b7c7);}function _0x45d8(){var _0x310280=['12hwpTaM','pluginName','4146147jWPeja','196vUYGnG','423210JeppPH','PresenceList','409948sJUsUy','1876136SIbdNC','57696LBkuOQ','isOfficialPlugin','297509UileaY','isPremiumPlugin','requires','504771MWEisY'];_0x45d8=function(){return _0x310280;};return _0x45d8();}
23
+ var _0x10649f=_0x2aff;(function(_0x31b047,_0x1a2bb7){var _0x1dc521=_0x2aff,_0x3f2c47=_0x31b047();while(!![]){try{var _0x2c3b45=parseInt(_0x1dc521(0xbf))/0x1+parseInt(_0x1dc521(0xba))/0x2*(parseInt(_0x1dc521(0xc1))/0x3)+-parseInt(_0x1dc521(0xbd))/0x4+parseInt(_0x1dc521(0xc6))/0x5+parseInt(_0x1dc521(0xbb))/0x6+-parseInt(_0x1dc521(0xc3))/0x7*(-parseInt(_0x1dc521(0xbe))/0x8)+-parseInt(_0x1dc521(0xbc))/0x9;if(_0x2c3b45===_0x1a2bb7)break;else _0x3f2c47['push'](_0x3f2c47['shift']());}catch(_0x4ac869){_0x3f2c47['push'](_0x3f2c47['shift']());}}}(_0x48b6,0xb4d50));import{ContextPlugin as _0x28fef0}from'ckeditor5/src/core.js';function _0x2aff(_0x15ff35,_0x2d27db){var _0x48b610=_0x48b6();return _0x2aff=function(_0x2aff87,_0x2b7a0c){_0x2aff87=_0x2aff87-0xba;var _0x56830d=_0x48b610[_0x2aff87];return _0x56830d;},_0x2aff(_0x15ff35,_0x2d27db);}function _0x48b6(){var _0x5145cf=['isPremiumPlugin','pluginName','2462490AsJgGC','PresenceList','24NvFKFE','7288338Qfegeg','20470437wJoeHk','1620420vjIHax','16mTUbYR','965167ytMyLU','isOfficialPlugin','154581SJcOwX','requires','453509mMISam'];_0x48b6=function(){return _0x5145cf;};return _0x48b6();}import{Sessions as _0x1f7c53}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4b48da}from'./presencelist/presencelistui.js';export class PresenceList extends _0x28fef0{static get[_0x10649f(0xc2)](){return[_0x1f7c53,_0x4b48da];}static get[_0x10649f(0xc5)](){var _0xc4048b=_0x10649f;return _0xc4048b(0xc7);}static get[_0x10649f(0xc0)](){return!0x0;}static get[_0x10649f(0xc4)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x208f37=_0x6993;function _0x5a8c(){const _0x3ecf8b=['collaboration.channelId','commentRemoved','getCommentThread','unregister','assign','_setUpService','updateCommentThread','2opzVUH','377804vHOIGD','getMany','commentThreadResolved','CommentsService','606496flfEOv','5185024DUyRNB','CloudServicesCommentsAdapter','reopen','update','getConnectedSessions','getUser','destroy','requires','adapter','startsWith','reopenCommentThread','isPremiumPlugin','commentId','config','attributes','deletedAt','commentThreadReopened','2856sYyVNd','_getService','catch','resolvedAt','get','from','commentUpdated','message','commentAdded','addToReconnectionStack','size','setPermissions','_services','disconnect','404','CommentsRepository','getCommentThreads','592875ESGgik','authorId','content','30pEmDlh','resolveCommentThread','6128630QBiPAK','cloudservicescommentsadapter-service-not-exist','isOfficialPlugin','listenTo','8246jcapAm','commentThreadAdded','reconnect','register','plugins','init','has','_connectService','context','addUser','keys','Permissions','createdAt','addCommentThread','map','_terminateService','set','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsersForThreads','connect','commentThreadUpdated','mySessionId','getComment','commentThreadRemoved','userId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','addComment','removeCommentThread','commentThreadId','1617687rpVLwg','cloudservicescommentsadapter-disconnect-not-exist','resolvedBy','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Request\x20timeout.','resolve','delete','sessionAdd:','code','remove','comments','permissions','off','updateComment','removeComment','add'];_0x5a8c=function(){return _0x3ecf8b;};return _0x5a8c();}(function(_0x4185ad,_0x66bf7c){const _0x2237c7=_0x6993,_0x4772a4=_0x4185ad();while(!![]){try{const _0x2c07a1=parseInt(_0x2237c7(0x1c9))/0x1*(-parseInt(_0x2237c7(0x1c8))/0x2)+parseInt(_0x2237c7(0x18a))/0x3+parseInt(_0x2237c7(0x1cd))/0x4*(-parseInt(_0x2237c7(0x18d))/0x5)+parseInt(_0x2237c7(0x1df))/0x6*(parseInt(_0x2237c7(0x193))/0x7)+parseInt(_0x2237c7(0x1ce))/0x8+-parseInt(_0x2237c7(0x1b1))/0x9+parseInt(_0x2237c7(0x18f))/0xa;if(_0x2c07a1===_0x66bf7c)break;else _0x4772a4['push'](_0x4772a4['shift']());}catch(_0x1885d8){_0x4772a4['push'](_0x4772a4['shift']());}}}(_0x5a8c,0x86c75));import{Context as _0x54ec97,ContextPlugin as _0x473a90}from'ckeditor5/src/core.js';import{CKEditorError as _0x37b358}from'ckeditor5/src/utils.js';import{Users as _0x449865}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x31831b,User as _0x5f5760}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x40134f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xad6dc5}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x473a90{static [_0x208f37(0x1cc)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x31831b)());[_0x208f37(0x185)];static get[_0x208f37(0x1d5)](){const _0x590675=_0x208f37;return[_0x40134f,_0x590675(0x188),_0xad6dc5,_0x449865];}static get[_0x208f37(0x1ad)](){const _0x4e1fdf=_0x208f37;return _0x4e1fdf(0x1cf);}static get[_0x208f37(0x191)](){return!0x0;}static get[_0x208f37(0x1d9)](){return!0x0;}constructor(_0x6d8f66){const _0x33b573=_0x208f37;super(_0x6d8f66),this[_0x33b573(0x185)]=new Map();}async[_0x208f37(0x198)](){const _0x53110b=_0x208f37,_0x20f87d=this[_0x53110b(0x19b)],_0x333a82=_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0x53110b(0x188));if(_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0x40134f)[_0x53110b(0x182)](this),_0x333a82[_0x53110b(0x1d6)]={'addCommentThread':async({channelId:_0x559980,threadId:_0xabdae6,comments:_0x4d9f84,resolvedAt:_0x58ab69,resolvedBy:_0x497b8a,context:_0x5228c7,attributes:_0x2267f4})=>{const _0x38f21f=_0x53110b,_0x429ac2=await this[_0x38f21f(0x1e0)](_0x559980)[_0x38f21f(0x1a0)]({'commentThreadId':_0xabdae6,'comments':_0x4d9f84[_0x38f21f(0x1a1)](_0x58bcc8=>function(_0x4b1e15,_0x225bd6,_0x531174){const _0x1f8090=_0x38f21f;return{'commentThreadId':_0x531174,'commentId':_0x4b1e15[_0x1f8090(0x1da)],'userId':_0x4b1e15[_0x1f8090(0x18b)],'content':_0x4b1e15[_0x1f8090(0x18c)],'documentId':_0x225bd6,'createdAt':_0x4b1e15[_0x1f8090(0x19f)],'attributes':_0x4b1e15[_0x1f8090(0x1dc)]||{}};}(_0x58bcc8,_0x559980,_0xabdae6)),'resolvedAt':_0x58ab69,'resolvedBy':_0x497b8a,'context':_0x5228c7,'attributes':_0x2267f4})[_0x38f21f(0x1e1)](A);return{'threadId':_0x429ac2[_0x38f21f(0x1b0)],'comments':_0x429ac2[_0x38f21f(0x1bb)]};},'getCommentThread':async({channelId:_0x5931ae,threadId:_0x9847f4})=>{const _0x195427=_0x53110b,_0x5aaa98=await this[_0x195427(0x1e0)](_0x5931ae)[_0x195427(0x1c3)](_0x9847f4)[_0x195427(0x1e1)](f)[_0x195427(0x1e1)](A);return _0x5aaa98?_0x5aaa98[_0x195427(0x1dd)]?null:(await this[_0x195427(0x1a5)]([_0x5aaa98]),{'threadId':_0x5aaa98[_0x195427(0x1b0)],'comments':_0x5aaa98[_0x195427(0x1bb)][_0x195427(0x1a1)](p),'context':_0x5aaa98[_0x195427(0x19b)],'resolvedAt':_0x5aaa98[_0x195427(0x1e2)],'resolvedBy':_0x5aaa98[_0x195427(0x1b3)],'attributes':_0x5aaa98[_0x195427(0x1dc)]||{}}):null;},'updateCommentThread':async({channelId:_0xa8c3e1,threadId:_0x401125,context:_0x5343de,unlinkedAt:_0xf0db88,attributes:_0x5b2f42})=>this[_0x53110b(0x1e0)](_0xa8c3e1)[_0x53110b(0x1c7)]({'commentThreadId':_0x401125,'context':_0x5343de,'attributes':_0x5b2f42,'unlinkedAt':_0xf0db88})[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'resolveCommentThread':async({channelId:_0x18ce2e,threadId:_0x322797})=>{const _0x4a3003=_0x53110b,_0x53df87=await this[_0x4a3003(0x1e0)](_0x18ce2e)[_0x4a3003(0x18e)](_0x322797)[_0x4a3003(0x1e1)](f)[_0x4a3003(0x1e1)](A);return{'threadId':_0x53df87[_0x4a3003(0x1b0)],'resolvedAt':_0x53df87[_0x4a3003(0x1e2)],'resolvedBy':_0x53df87[_0x4a3003(0x1b3)]};},'reopenCommentThread':async({channelId:_0x234fa4,threadId:_0x3e79ac})=>this[_0x53110b(0x1e0)](_0x234fa4)[_0x53110b(0x1d8)](_0x3e79ac)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'removeCommentThread':({channelId:_0x3206c8,threadId:_0x1c2322})=>this[_0x53110b(0x1e0)](_0x3206c8)[_0x53110b(0x1af)](_0x1c2322)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'addComment':({channelId:_0x52ec6b,threadId:_0x484db5,commentId:_0x30130a,content:_0x5332f7,attributes:_0x383e34})=>this[_0x53110b(0x1e0)](_0x52ec6b)[_0x53110b(0x1ae)](_0x484db5,_0x30130a,_0x5332f7,_0x383e34)[_0x53110b(0x1e1)](A),'updateComment':({channelId:_0x597294,threadId:_0x26ef80,commentId:_0x2f4878,content:_0x1785c0,attributes:_0x14cf48})=>this[_0x53110b(0x1e0)](_0x597294)[_0x53110b(0x1be)](_0x26ef80,_0x2f4878,_0x1785c0,_0x14cf48)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A),'removeComment':({channelId:_0x39aefb,threadId:_0x3bf720,commentId:_0x59ae4a})=>this[_0x53110b(0x1e0)](_0x39aefb)[_0x53110b(0x1bf)](_0x3bf720,_0x59ae4a)[_0x53110b(0x1e1)](f)[_0x53110b(0x1e1)](A)},_0x20f87d instanceof _0x54ec97){const _0x3dbcdc=_0x20f87d[_0x53110b(0x1db)][_0x53110b(0x17d)](_0x53110b(0x1c1)),_0x3cb7e5=_0x20f87d[_0x53110b(0x197)][_0x53110b(0x17d)](_0xad6dc5);await this[_0x53110b(0x1c6)](_0x3dbcdc);const _0x326c73=await this[_0x53110b(0x185)][_0x53110b(0x17d)](_0x3dbcdc)[_0x53110b(0x1d2)]();this[_0x53110b(0x192)](_0x3cb7e5,_0x53110b(0x1b8)+_0x3dbcdc,(_0x528d3f,{session:_0x129880})=>{const _0x2e54c6=_0x53110b;_0x129880['id']===_0x3cb7e5[_0x2e54c6(0x1a8)]&&(_0x528d3f[_0x2e54c6(0x1bd)](),this[_0x2e54c6(0x19b)][_0x2e54c6(0x197)][_0x2e54c6(0x17d)](_0x2e54c6(0x19e))[_0x2e54c6(0x184)](_0x129880[_0x2e54c6(0x1bc)],_0x3dbcdc));}),_0x3cb7e5[_0x53110b(0x196)](_0x3dbcdc,_0x326c73);}}async[_0x208f37(0x1c6)](_0x5b9554){const _0x371f9e=_0x208f37;if(this[_0x371f9e(0x185)][_0x371f9e(0x199)](_0x5b9554))throw new _0x37b358(_0x371f9e(0x1b4),null,{'channelId':_0x5b9554});const _0x2c6609=this[_0x371f9e(0x19b)][_0x371f9e(0x197)][_0x371f9e(0x17d)](_0x371f9e(0x188)),_0x1f0d26=new CloudServicesCommentsAdapter[(_0x371f9e(0x1cc))](_0x5b9554);this[_0x371f9e(0x185)][_0x371f9e(0x1a3)](_0x5b9554,_0x1f0d26),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x194),(_0x5c5ae9,_0x3ad99c)=>{const _0xc98622=_0x371f9e,{commentThreadId:_0x33fcf6,documentId:_0x4a6771,context:_0x4ecd9a,attributes:_0x4c53ac,resolvedAt:_0x417f90,resolvedBy:_0x52827a,comments:_0x326173}=_0x3ad99c;_0x2c6609[_0xc98622(0x1c3)](_0x33fcf6)||_0x2c6609[_0xc98622(0x1a0)]({'threadId':_0x33fcf6,'channelId':_0x4a6771,'comments':_0x326173?_0x326173[_0xc98622(0x1a1)](p):[],'context':_0x4ecd9a,'attributes':_0x4c53ac,'resolvedAt':_0x417f90,'resolvedBy':_0x52827a,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1a7),(_0x515da8,{commentThreadId:_0x343314,documentId:_0x3b4524,context:_0x26b01a,unlinkedAt:_0x13a23b,attributes:_0x1a8101})=>{const _0x2b164d=_0x371f9e;_0x2c6609[_0x2b164d(0x1c3)](_0x343314)&&_0x2c6609[_0x2b164d(0x1c7)]({'threadId':_0x343314,'channelId':_0x3b4524,'context':_0x26b01a,'unlinkedAt':_0x13a23b,'attributes':_0x1a8101,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1cb),(_0x40c147,{commentThreadId:_0x398bca,resolvedBy:_0x3d6bbd,resolvedAt:_0x50263a})=>{const _0x412b73=_0x371f9e,_0x51c919=_0x2c6609[_0x412b73(0x1c3)](_0x398bca);_0x51c919&&_0x51c919[_0x412b73(0x1b6)]({'resolvedBy':_0x3d6bbd,'resolvedAt':_0x50263a,'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1de),(_0x5ade4b,{commentThreadId:_0xba8079})=>{const _0x5f373a=_0x371f9e,_0x4fe6d0=_0x2c6609[_0x5f373a(0x1c3)](_0xba8079);_0x4fe6d0&&_0x4fe6d0[_0x5f373a(0x1d0)]({'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1aa),(_0x56f50e,{commentThreadId:_0x5556c0})=>{const _0x4265b4=_0x371f9e,_0x5ddcb4=_0x2c6609[_0x4265b4(0x1c3)](_0x5556c0);_0x5ddcb4&&_0x5ddcb4[_0x4265b4(0x1ba)]({'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x181),(_0x5ceba0,_0x1ff92c)=>{const _0x106a11=_0x371f9e,_0x416ebb=_0x1ff92c[_0x106a11(0x1b0)],_0x2d8fde=_0x2c6609[_0x106a11(0x1c3)](_0x416ebb);_0x2d8fde&&_0x2d8fde[_0x106a11(0x1ae)]({...p(_0x1ff92c),'isFromAdapter':!0x0});}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x17f),(_0x2f87fb,{commentThreadId:_0x50922b,commentId:_0x49de04,content:_0x1d2beb,attributes:_0x23b7fa})=>{const _0x442cfd=_0x371f9e,_0x3e3163=_0x2c6609[_0x442cfd(0x1c3)](_0x50922b);if(_0x3e3163){const _0x5bf2e4=_0x3e3163[_0x442cfd(0x1a9)](_0x49de04);_0x5bf2e4&&_0x5bf2e4[_0x442cfd(0x1d1)]({'content':_0x1d2beb,'attributes':_0x23b7fa,'isFromAdapter':!0x0});}}),this[_0x371f9e(0x192)](_0x1f0d26,_0x371f9e(0x1c2),(_0x176450,{commentThreadId:_0x2fa468,commentId:_0x4a8e19})=>{const _0x10ecaa=_0x371f9e,_0x42c21e=_0x2c6609[_0x10ecaa(0x1c3)](_0x2fa468);if(_0x42c21e){const _0x2871e5=_0x42c21e[_0x10ecaa(0x1a9)](_0x4a8e19);_0x2871e5&&_0x2871e5[_0x10ecaa(0x1ba)]({'isFromAdapter':!0x0});}}),await this[_0x371f9e(0x19a)](_0x5b9554);}[_0x208f37(0x1d4)](){const _0x32e0a0=_0x208f37;if(this[_0x32e0a0(0x19b)]instanceof _0x54ec97){const _0x53cb23=this[_0x32e0a0(0x19b)][_0x32e0a0(0x1db)][_0x32e0a0(0x17d)](_0x32e0a0(0x1c1));this[_0x32e0a0(0x1a2)](_0x53cb23);}}[_0x208f37(0x1a2)](_0x4e4921){const _0x44f386=_0x208f37;if(!this[_0x44f386(0x185)][_0x44f386(0x199)](_0x4e4921))throw new _0x37b358(_0x44f386(0x1b2),null,{'channelId':_0x4e4921});this[_0x44f386(0x1e0)](_0x4e4921)[_0x44f386(0x186)](),this[_0x44f386(0x185)][_0x44f386(0x1b7)](_0x4e4921);}async[_0x208f37(0x195)](){const _0x29c03d=_0x208f37;for(const _0x2e0ed9 of this[_0x29c03d(0x185)][_0x29c03d(0x19d)]())await this[_0x29c03d(0x19a)](_0x2e0ed9);if(this[_0x29c03d(0x19b)]instanceof _0x54ec97){const _0x37ef88=this[_0x29c03d(0x19b)][_0x29c03d(0x1db)][_0x29c03d(0x17d)](_0x29c03d(0x1c1)),_0x2917ed=this[_0x29c03d(0x19b)][_0x29c03d(0x197)][_0x29c03d(0x17d)](_0xad6dc5);_0x2917ed[_0x29c03d(0x1c4)](_0x37ef88);const _0x3ad8d6=await this[_0x29c03d(0x185)][_0x29c03d(0x17d)](_0x37ef88)[_0x29c03d(0x1d2)]();_0x2917ed[_0x29c03d(0x196)](_0x37ef88,_0x3ad8d6);}}async[_0x208f37(0x19a)](_0x1372fa){const _0x545ddc=_0x208f37,{connection:_0x1f19d1}=this[_0x545ddc(0x19b)][_0x545ddc(0x197)][_0x545ddc(0x17d)](_0x40134f),_0xae38ce=this[_0x545ddc(0x19b)][_0x545ddc(0x197)][_0x545ddc(0x17d)](_0x545ddc(0x188)),_0x6d488e=this[_0x545ddc(0x185)][_0x545ddc(0x17d)](_0x1372fa),_0x2d9585=await _0x6d488e[_0x545ddc(0x1a6)](_0x1f19d1);await this[_0x545ddc(0x1a5)](_0x2d9585);const _0x43a015=new Set(Array[_0x545ddc(0x17e)](_0xae38ce[_0x545ddc(0x189)]({'channelId':_0x1372fa}),_0x494fb6=>_0x494fb6['id']));for(const _0x535ce1 of _0x2d9585)_0x535ce1[_0x545ddc(0x1dd)]||_0x43a015[_0x545ddc(0x1b7)](_0x535ce1[_0x545ddc(0x1b0)]);for(const _0x43fa5a of _0x43a015)_0xae38ce[_0x545ddc(0x1c3)](_0x43fa5a)[_0x545ddc(0x1ba)]({'isFromAdapter':!0x0});for(const _0x3a13ae of _0x2d9585){let _0x27a427=_0xae38ce[_0x545ddc(0x1c3)](_0x3a13ae[_0x545ddc(0x1b0)]);const {commentThreadId:_0x4a5457,context:_0x2c1fc5,attributes:_0x35f85a,resolvedBy:_0x5dddae,resolvedAt:_0x381ecb,unlinkedAt:_0x53fbbf,deletedAt:_0x526a2b}=_0x3a13ae;if(_0x526a2b)continue;_0x27a427||(_0x27a427=_0xae38ce[_0x545ddc(0x1a0)]({'channelId':_0x1372fa,'threadId':_0x4a5457,'context':_0x2c1fc5,'attributes':_0x35f85a||{},'resolvedBy':_0x5dddae,'resolvedAt':_0x381ecb,'unlinkedAt':_0x53fbbf,'isFromAdapter':!0x0}));const _0x4a4595=new Set(Array[_0x545ddc(0x17e)](_0x27a427[_0x545ddc(0x1bb)],_0x55f6c4=>_0x55f6c4['id']));for(const _0x10bce2 of _0x3a13ae[_0x545ddc(0x1bb)])_0x4a4595[_0x545ddc(0x1b7)](_0x10bce2[_0x545ddc(0x1da)]);for(const _0x5149d9 of _0x4a4595)_0x27a427[_0x545ddc(0x1a9)](_0x5149d9)[_0x545ddc(0x1ba)]({'isFromAdapter':!0x0});for(const _0x15098d of _0x3a13ae[_0x545ddc(0x1bb)]){const _0x2ba851=_0x27a427[_0x545ddc(0x1a9)](_0x15098d[_0x545ddc(0x1da)]);_0x2ba851?_0x2ba851[_0x545ddc(0x18c)]!==_0x15098d[_0x545ddc(0x18c)]&&_0x2ba851[_0x545ddc(0x1d1)]({'content':_0x15098d[_0x545ddc(0x18c)],'isFromAdapter':!0x0}):_0x27a427[_0x545ddc(0x1ae)](Object[_0x545ddc(0x1c5)](p(_0x15098d),{'isFromAdapter':!0x0}));}}}[_0x208f37(0x1e0)](_0x5e2912){const _0x3a6421=_0x208f37;if(!this[_0x3a6421(0x185)][_0x3a6421(0x199)](_0x5e2912))throw new _0x37b358(_0x3a6421(0x190),null,{'channelId':_0x5e2912});return this[_0x3a6421(0x185)][_0x3a6421(0x17d)](_0x5e2912);}async[_0x208f37(0x1a5)](_0x23c413){const _0x448868=_0x208f37,_0x2ab76a=this[_0x448868(0x19b)][_0x448868(0x197)][_0x448868(0x17d)](_0x449865),{connection:_0x55aa57}=this[_0x448868(0x19b)][_0x448868(0x197)][_0x448868(0x17d)](_0x40134f),_0x2fd259=new Set();for(const {resolvedBy:_0x252724,comments:_0x2116e0}of _0x23c413){_0x252724&&!_0x2ab76a[_0x448868(0x1d3)](_0x252724)&&_0x2fd259[_0x448868(0x1c0)](_0x252724);for(const {userId:_0x3543ff}of _0x2116e0)_0x2ab76a[_0x448868(0x1d3)](_0x3543ff)||_0x2fd259[_0x448868(0x1c0)](_0x3543ff);}if(0x0===_0x2fd259[_0x448868(0x183)])return;const _0x347590=await _0x5f5760[_0x448868(0x1ca)](_0x55aa57,Array[_0x448868(0x17e)](_0x2fd259));for(const _0x5afb87 of _0x347590)_0x2ab76a[_0x448868(0x1d3)](_0x5afb87['id'])||_0x2ab76a[_0x448868(0x19c)](_0x5afb87);}}async function f(_0x3e3685){const _0x20a94d=_0x208f37;if(_0x20a94d(0x187)!==_0x3e3685[_0x20a94d(0x1b9)])throw _0x3e3685;}function _0x6993(_0xa80dc7,_0x310f49){const _0x5a8cb0=_0x5a8c();return _0x6993=function(_0x6993cf,_0x23232d){_0x6993cf=_0x6993cf-0x17d;let _0x350b0f=_0x5a8cb0[_0x6993cf];return _0x350b0f;},_0x6993(_0xa80dc7,_0x310f49);}function A(_0x5dc2b2){const _0x20eeb8=_0x208f37;if((_0x397f50=_0x5dc2b2)[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1ac))||_0x397f50[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1a4))||_0x397f50[_0x20eeb8(0x180)][_0x20eeb8(0x1d7)](_0x20eeb8(0x1b5)))return new Promise(()=>{});var _0x397f50;throw _0x5dc2b2;}function p(_0x53a338){const _0x2e3eef=_0x208f37;return{'threadId':_0x53a338[_0x2e3eef(0x1b0)],'commentId':_0x53a338[_0x2e3eef(0x1da)],'content':_0x53a338[_0x2e3eef(0x18c)],'createdAt':_0x53a338[_0x2e3eef(0x19f)],'authorId':_0x53a338[_0x2e3eef(0x1ab)],'attributes':_0x53a338[_0x2e3eef(0x1dc)]||{}};}
23
+ const _0x13e87f=_0x35a4;(function(_0x1b1ce0,_0x1ddb8f){const _0x501f70=_0x35a4,_0x280dd4=_0x1b1ce0();while(!![]){try{const _0x56ed91=parseInt(_0x501f70(0x1ec))/0x1+-parseInt(_0x501f70(0x1bc))/0x2*(-parseInt(_0x501f70(0x1bf))/0x3)+-parseInt(_0x501f70(0x1ae))/0x4*(parseInt(_0x501f70(0x207))/0x5)+parseInt(_0x501f70(0x1f6))/0x6+-parseInt(_0x501f70(0x1ef))/0x7+-parseInt(_0x501f70(0x1c5))/0x8+parseInt(_0x501f70(0x205))/0x9;if(_0x56ed91===_0x1ddb8f)break;else _0x280dd4['push'](_0x280dd4['shift']());}catch(_0x3cc058){_0x280dd4['push'](_0x280dd4['shift']());}}}(_0xbd53,0x480d2));import{Context as _0x28e16f,ContextPlugin as _0xe074ce}from'ckeditor5/src/core.js';function _0xbd53(){const _0xc50b6a=['3685320HAtDpK','commentThreadResolved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','size','collaboration.channelId','addComment','_getService','startsWith','getUser','getComment','_setUpService','resolveCommentThread','CloudServicesCommentsAdapter','content','cloudservicescommentsadapter-disconnect-not-exist','_terminateService','attributes','addToReconnectionStack','getCommentThread','404','pluginName','register','createdAt','commentThreadReopened','isPremiumPlugin','userId','addCommentThread','mySessionId','cloudservicescommentsadapter-connect-already-connected','getMany','get','init','assign','_connectService','isOfficialPlugin','reopen','keys','listenTo','_fetchMissingUsersForThreads','210922DiMoij','_services','adapter','3159191wndTrA','resolvedBy','config','reopenCommentThread','context','cloud-services-internal-error:\x20Request\x20timeout.','from','2420808uCYrJE','Permissions','commentId','requires','message','getCommentThreads','off','cloudservicescommentsadapter-service-not-exist','commentUpdated','commentThreadRemoved','sessionAdd:','comments','CommentsService','update','add','6306444axrMzb','disconnect','24955SLasya','CommentsRepository','updateCommentThread','destroy','code','commentRemoved','setPermissions','delete','remove','resolvedAt','updateComment','commentThreadUpdated','452FgPbgJ','set','connect','reconnect','has','deletedAt','commentThreadId','removeCommentThread','getConnectedSessions','removeComment','commentAdded','authorId','unregister','map','2ldPimL','catch','resolve','1367931NrMjxP','commentThreadAdded','plugins','permissions','addUser','cloud-services-internal-error:\x20Not\x20connected.'];_0xbd53=function(){return _0xc50b6a;};return _0xbd53();}import{CKEditorError as _0x52e6d1}from'ckeditor5/src/utils.js';import{Users as _0x2eaf9b}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x156a5b,User as _0x3559ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1eab12}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x10f6c9}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0xe074ce{static [_0x13e87f(0x202)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x156a5b)());[_0x13e87f(0x1ed)];static get[_0x13e87f(0x1f9)](){const _0x3e2006=_0x13e87f;return[_0x1eab12,_0x3e2006(0x208),_0x10f6c9,_0x2eaf9b];}static get[_0x13e87f(0x1d9)](){const _0x520dbc=_0x13e87f;return _0x520dbc(0x1d1);}static get[_0x13e87f(0x1e7)](){return!0x0;}static get[_0x13e87f(0x1dd)](){return!0x0;}constructor(_0x22ad45){const _0x515a7e=_0x13e87f;super(_0x22ad45),this[_0x515a7e(0x1ed)]=new Map();}async[_0x13e87f(0x1e4)](){const _0x50070b=_0x13e87f,_0x886534=this[_0x50070b(0x1f3)],_0x2934ae=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x50070b(0x208));if(_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x1eab12)[_0x50070b(0x1d6)](this),_0x2934ae[_0x50070b(0x1ee)]={'addCommentThread':async({channelId:_0x20687e,threadId:_0x1dcb50,comments:_0x347582,resolvedAt:_0x221ea4,resolvedBy:_0x1b5194,context:_0x15cf79,attributes:_0x32e751})=>{const _0x45313a=_0x50070b,_0x269f6b=await this[_0x45313a(0x1cb)](_0x20687e)[_0x45313a(0x1df)]({'commentThreadId':_0x1dcb50,'comments':_0x347582[_0x45313a(0x1bb)](_0x5ece07=>function(_0x2b1f81,_0x1d8d17,_0x40040c){const _0x15964b=_0x45313a;return{'commentThreadId':_0x40040c,'commentId':_0x2b1f81[_0x15964b(0x1f8)],'userId':_0x2b1f81[_0x15964b(0x1b9)],'content':_0x2b1f81[_0x15964b(0x1d2)],'documentId':_0x1d8d17,'createdAt':_0x2b1f81[_0x15964b(0x1db)],'attributes':_0x2b1f81[_0x15964b(0x1d5)]||{}};}(_0x5ece07,_0x20687e,_0x1dcb50)),'resolvedAt':_0x221ea4,'resolvedBy':_0x1b5194,'context':_0x15cf79,'attributes':_0x32e751})[_0x45313a(0x1bd)](k);return{'threadId':_0x269f6b[_0x45313a(0x1b4)],'comments':_0x269f6b[_0x45313a(0x201)]};},'getCommentThread':async({channelId:_0x2c556d,threadId:_0x118e74})=>{const _0x14306f=_0x50070b,_0x12f9a9=await this[_0x14306f(0x1cb)](_0x2c556d)[_0x14306f(0x1d7)](_0x118e74)[_0x14306f(0x1bd)](F)[_0x14306f(0x1bd)](k);return _0x12f9a9?_0x12f9a9[_0x14306f(0x1b3)]?null:(await this[_0x14306f(0x1eb)]([_0x12f9a9]),{'threadId':_0x12f9a9[_0x14306f(0x1b4)],'comments':_0x12f9a9[_0x14306f(0x201)][_0x14306f(0x1bb)](S),'context':_0x12f9a9[_0x14306f(0x1f3)],'resolvedAt':_0x12f9a9[_0x14306f(0x1ab)],'resolvedBy':_0x12f9a9[_0x14306f(0x1f0)],'attributes':_0x12f9a9[_0x14306f(0x1d5)]||{}}):null;},'updateCommentThread':async({channelId:_0x3ee579,threadId:_0x546b59,context:_0x4f32fe,unlinkedAt:_0x3fc4f7,attributes:_0x372c91})=>this[_0x50070b(0x1cb)](_0x3ee579)[_0x50070b(0x209)]({'commentThreadId':_0x546b59,'context':_0x4f32fe,'attributes':_0x372c91,'unlinkedAt':_0x3fc4f7})[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'resolveCommentThread':async({channelId:_0x23c5fb,threadId:_0x55490f})=>{const _0x37dd7d=_0x50070b,_0x50291d=await this[_0x37dd7d(0x1cb)](_0x23c5fb)[_0x37dd7d(0x1d0)](_0x55490f)[_0x37dd7d(0x1bd)](F)[_0x37dd7d(0x1bd)](k);return{'threadId':_0x50291d[_0x37dd7d(0x1b4)],'resolvedAt':_0x50291d[_0x37dd7d(0x1ab)],'resolvedBy':_0x50291d[_0x37dd7d(0x1f0)]};},'reopenCommentThread':async({channelId:_0x47650d,threadId:_0x4428e4})=>this[_0x50070b(0x1cb)](_0x47650d)[_0x50070b(0x1f2)](_0x4428e4)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeCommentThread':({channelId:_0x3d27e,threadId:_0x255a18})=>this[_0x50070b(0x1cb)](_0x3d27e)[_0x50070b(0x1b5)](_0x255a18)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'addComment':({channelId:_0x1001a1,threadId:_0x3a22f2,commentId:_0x284c24,content:_0x86ff0a,attributes:_0x44ef0d})=>this[_0x50070b(0x1cb)](_0x1001a1)[_0x50070b(0x1ca)](_0x3a22f2,_0x284c24,_0x86ff0a,_0x44ef0d)[_0x50070b(0x1bd)](k),'updateComment':({channelId:_0x636dcc,threadId:_0x520f4b,commentId:_0x1945fd,content:_0x4d5cde,attributes:_0x1c12e7})=>this[_0x50070b(0x1cb)](_0x636dcc)[_0x50070b(0x1ac)](_0x520f4b,_0x1945fd,_0x4d5cde,_0x1c12e7)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k),'removeComment':({channelId:_0x72139a,threadId:_0x52bfd1,commentId:_0x39c773})=>this[_0x50070b(0x1cb)](_0x72139a)[_0x50070b(0x1b7)](_0x52bfd1,_0x39c773)[_0x50070b(0x1bd)](F)[_0x50070b(0x1bd)](k)},_0x886534 instanceof _0x28e16f){const _0x17c3a3=_0x886534[_0x50070b(0x1f1)][_0x50070b(0x1e3)](_0x50070b(0x1c9)),_0x3e753d=_0x886534[_0x50070b(0x1c1)][_0x50070b(0x1e3)](_0x10f6c9);await this[_0x50070b(0x1cf)](_0x17c3a3);const _0x486295=await this[_0x50070b(0x1ed)][_0x50070b(0x1e3)](_0x17c3a3)[_0x50070b(0x1b6)]();this[_0x50070b(0x1ea)](_0x3e753d,_0x50070b(0x200)+_0x17c3a3,(_0xa2921,{session:_0x5dc320})=>{const _0x61bf8c=_0x50070b;_0x5dc320['id']===_0x3e753d[_0x61bf8c(0x1e0)]&&(_0xa2921[_0x61bf8c(0x1fc)](),this[_0x61bf8c(0x1f3)][_0x61bf8c(0x1c1)][_0x61bf8c(0x1e3)](_0x61bf8c(0x1f7))[_0x61bf8c(0x1a8)](_0x5dc320[_0x61bf8c(0x1c2)],_0x17c3a3));}),_0x3e753d[_0x50070b(0x1da)](_0x17c3a3,_0x486295);}}async[_0x13e87f(0x1cf)](_0x1605ba){const _0x26647a=_0x13e87f;if(this[_0x26647a(0x1ed)][_0x26647a(0x1b2)](_0x1605ba))throw new _0x52e6d1(_0x26647a(0x1e1),null,{'channelId':_0x1605ba});const _0x509a51=this[_0x26647a(0x1f3)][_0x26647a(0x1c1)][_0x26647a(0x1e3)](_0x26647a(0x208)),_0x1b5775=new CloudServicesCommentsAdapter[(_0x26647a(0x202))](_0x1605ba);this[_0x26647a(0x1ed)][_0x26647a(0x1af)](_0x1605ba,_0x1b5775),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c0),(_0x1e31aa,_0x53cee6)=>{const _0x32822c=_0x26647a,{commentThreadId:_0x5b3388,documentId:_0x220d65,context:_0xedf066,attributes:_0x3e018b,resolvedAt:_0x5360a6,resolvedBy:_0x33903e,comments:_0x1fbe8c}=_0x53cee6;_0x509a51[_0x32822c(0x1d7)](_0x5b3388)||_0x509a51[_0x32822c(0x1df)]({'threadId':_0x5b3388,'channelId':_0x220d65,'comments':_0x1fbe8c?_0x1fbe8c[_0x32822c(0x1bb)](S):[],'context':_0xedf066,'attributes':_0x3e018b,'resolvedAt':_0x5360a6,'resolvedBy':_0x33903e,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ad),(_0x595dd6,{commentThreadId:_0x21d18,documentId:_0x3edcf1,context:_0x383ec4,unlinkedAt:_0x14ba36,attributes:_0x2b8808})=>{const _0x14eb94=_0x26647a;_0x509a51[_0x14eb94(0x1d7)](_0x21d18)&&_0x509a51[_0x14eb94(0x209)]({'threadId':_0x21d18,'channelId':_0x3edcf1,'context':_0x383ec4,'unlinkedAt':_0x14ba36,'attributes':_0x2b8808,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1c6),(_0x444b9c,{commentThreadId:_0x2bdfca,resolvedBy:_0x56a192,resolvedAt:_0x57d0e5})=>{const _0x39ec42=_0x26647a,_0x5de70c=_0x509a51[_0x39ec42(0x1d7)](_0x2bdfca);_0x5de70c&&_0x5de70c[_0x39ec42(0x1be)]({'resolvedBy':_0x56a192,'resolvedAt':_0x57d0e5,'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1dc),(_0x2d403c,{commentThreadId:_0x4aeabb})=>{const _0x563d51=_0x26647a,_0x114cfa=_0x509a51[_0x563d51(0x1d7)](_0x4aeabb);_0x114cfa&&_0x114cfa[_0x563d51(0x1e8)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1ff),(_0x30887c,{commentThreadId:_0x58dd9c})=>{const _0x177b90=_0x26647a,_0x1bc10=_0x509a51[_0x177b90(0x1d7)](_0x58dd9c);_0x1bc10&&_0x1bc10[_0x177b90(0x1aa)]({'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1b8),(_0x34a77d,_0xdebd52)=>{const _0x37ab08=_0x26647a,_0x1d9f5f=_0xdebd52[_0x37ab08(0x1b4)],_0x555991=_0x509a51[_0x37ab08(0x1d7)](_0x1d9f5f);_0x555991&&_0x555991[_0x37ab08(0x1ca)]({...S(_0xdebd52),'isFromAdapter':!0x0});}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x1fe),(_0x2e6309,{commentThreadId:_0x469f7a,commentId:_0x40357a,content:_0x1457fe,attributes:_0x1e236})=>{const _0x48ac7f=_0x26647a,_0x1a4019=_0x509a51[_0x48ac7f(0x1d7)](_0x469f7a);if(_0x1a4019){const _0x1afc8d=_0x1a4019[_0x48ac7f(0x1ce)](_0x40357a);_0x1afc8d&&_0x1afc8d[_0x48ac7f(0x203)]({'content':_0x1457fe,'attributes':_0x1e236,'isFromAdapter':!0x0});}}),this[_0x26647a(0x1ea)](_0x1b5775,_0x26647a(0x20c),(_0x34824c,{commentThreadId:_0x433fe0,commentId:_0x5b68c7})=>{const _0x53fb42=_0x26647a,_0x121a8e=_0x509a51[_0x53fb42(0x1d7)](_0x433fe0);if(_0x121a8e){const _0x317fae=_0x121a8e[_0x53fb42(0x1ce)](_0x5b68c7);_0x317fae&&_0x317fae[_0x53fb42(0x1aa)]({'isFromAdapter':!0x0});}}),await this[_0x26647a(0x1e6)](_0x1605ba);}[_0x13e87f(0x20a)](){const _0x18afbf=_0x13e87f;if(this[_0x18afbf(0x1f3)]instanceof _0x28e16f){const _0x50fee0=this[_0x18afbf(0x1f3)][_0x18afbf(0x1f1)][_0x18afbf(0x1e3)](_0x18afbf(0x1c9));this[_0x18afbf(0x1d4)](_0x50fee0);}}[_0x13e87f(0x1d4)](_0x25482c){const _0x56c270=_0x13e87f;if(!this[_0x56c270(0x1ed)][_0x56c270(0x1b2)](_0x25482c))throw new _0x52e6d1(_0x56c270(0x1d3),null,{'channelId':_0x25482c});this[_0x56c270(0x1cb)](_0x25482c)[_0x56c270(0x206)](),this[_0x56c270(0x1ed)][_0x56c270(0x1a9)](_0x25482c);}async[_0x13e87f(0x1b1)](){const _0xa60954=_0x13e87f;for(const _0x205e88 of this[_0xa60954(0x1ed)][_0xa60954(0x1e9)]())await this[_0xa60954(0x1e6)](_0x205e88);if(this[_0xa60954(0x1f3)]instanceof _0x28e16f){const _0x37f37d=this[_0xa60954(0x1f3)][_0xa60954(0x1f1)][_0xa60954(0x1e3)](_0xa60954(0x1c9)),_0x5a3b42=this[_0xa60954(0x1f3)][_0xa60954(0x1c1)][_0xa60954(0x1e3)](_0x10f6c9);_0x5a3b42[_0xa60954(0x1ba)](_0x37f37d);const _0x191dcd=await this[_0xa60954(0x1ed)][_0xa60954(0x1e3)](_0x37f37d)[_0xa60954(0x1b6)]();_0x5a3b42[_0xa60954(0x1da)](_0x37f37d,_0x191dcd);}}async[_0x13e87f(0x1e6)](_0x32e3cb){const _0x2d74f4=_0x13e87f,{connection:_0x176cef}=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x1eab12),_0xbf3ec=this[_0x2d74f4(0x1f3)][_0x2d74f4(0x1c1)][_0x2d74f4(0x1e3)](_0x2d74f4(0x208)),_0x8326b2=this[_0x2d74f4(0x1ed)][_0x2d74f4(0x1e3)](_0x32e3cb),_0x40ad29=await _0x8326b2[_0x2d74f4(0x1b0)](_0x176cef);await this[_0x2d74f4(0x1eb)](_0x40ad29);const _0x4551b0=new Set(Array[_0x2d74f4(0x1f5)](_0xbf3ec[_0x2d74f4(0x1fb)]({'channelId':_0x32e3cb}),_0x1dec3a=>_0x1dec3a['id']));for(const _0x37371a of _0x40ad29)_0x37371a[_0x2d74f4(0x1b3)]||_0x4551b0[_0x2d74f4(0x1a9)](_0x37371a[_0x2d74f4(0x1b4)]);for(const _0x39f364 of _0x4551b0)_0xbf3ec[_0x2d74f4(0x1d7)](_0x39f364)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x76c051 of _0x40ad29){let _0x55e195=_0xbf3ec[_0x2d74f4(0x1d7)](_0x76c051[_0x2d74f4(0x1b4)]);const {commentThreadId:_0x1128be,context:_0x121ae8,attributes:_0x81818b,resolvedBy:_0x1012e8,resolvedAt:_0x3da9d5,unlinkedAt:_0x60fda4,deletedAt:_0xb1b329}=_0x76c051;if(_0xb1b329)continue;_0x55e195||(_0x55e195=_0xbf3ec[_0x2d74f4(0x1df)]({'channelId':_0x32e3cb,'threadId':_0x1128be,'context':_0x121ae8,'attributes':_0x81818b||{},'resolvedBy':_0x1012e8,'resolvedAt':_0x3da9d5,'unlinkedAt':_0x60fda4,'isFromAdapter':!0x0}));const _0xc9a6c0=new Set(Array[_0x2d74f4(0x1f5)](_0x55e195[_0x2d74f4(0x201)],_0xb7a81=>_0xb7a81['id']));for(const _0x5f80bc of _0x76c051[_0x2d74f4(0x201)])_0xc9a6c0[_0x2d74f4(0x1a9)](_0x5f80bc[_0x2d74f4(0x1f8)]);for(const _0x2e2f3b of _0xc9a6c0)_0x55e195[_0x2d74f4(0x1ce)](_0x2e2f3b)[_0x2d74f4(0x1aa)]({'isFromAdapter':!0x0});for(const _0x38a616 of _0x76c051[_0x2d74f4(0x201)]){const _0x368b6e=_0x55e195[_0x2d74f4(0x1ce)](_0x38a616[_0x2d74f4(0x1f8)]);_0x368b6e?_0x368b6e[_0x2d74f4(0x1d2)]!==_0x38a616[_0x2d74f4(0x1d2)]&&_0x368b6e[_0x2d74f4(0x203)]({'content':_0x38a616[_0x2d74f4(0x1d2)],'isFromAdapter':!0x0}):_0x55e195[_0x2d74f4(0x1ca)](Object[_0x2d74f4(0x1e5)](S(_0x38a616),{'isFromAdapter':!0x0}));}}}[_0x13e87f(0x1cb)](_0x7ac9cb){const _0x3c9c57=_0x13e87f;if(!this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1b2)](_0x7ac9cb))throw new _0x52e6d1(_0x3c9c57(0x1fd),null,{'channelId':_0x7ac9cb});return this[_0x3c9c57(0x1ed)][_0x3c9c57(0x1e3)](_0x7ac9cb);}async[_0x13e87f(0x1eb)](_0x34f9c4){const _0x2fdb02=_0x13e87f,_0x2bf7c8=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x2eaf9b),{connection:_0x4e818e}=this[_0x2fdb02(0x1f3)][_0x2fdb02(0x1c1)][_0x2fdb02(0x1e3)](_0x1eab12),_0x5ab3d3=new Set();for(const {resolvedBy:_0x214c1c,comments:_0x20cfcb}of _0x34f9c4){_0x214c1c&&!_0x2bf7c8[_0x2fdb02(0x1cd)](_0x214c1c)&&_0x5ab3d3[_0x2fdb02(0x204)](_0x214c1c);for(const {userId:_0x413160}of _0x20cfcb)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x413160)||_0x5ab3d3[_0x2fdb02(0x204)](_0x413160);}if(0x0===_0x5ab3d3[_0x2fdb02(0x1c8)])return;const _0x307644=await _0x3559ab[_0x2fdb02(0x1e2)](_0x4e818e,Array[_0x2fdb02(0x1f5)](_0x5ab3d3));for(const _0x3fc6cc of _0x307644)_0x2bf7c8[_0x2fdb02(0x1cd)](_0x3fc6cc['id'])||_0x2bf7c8[_0x2fdb02(0x1c3)](_0x3fc6cc);}}async function F(_0x809cb5){const _0x525a03=_0x13e87f;if(_0x525a03(0x1d8)!==_0x809cb5[_0x525a03(0x20b)])throw _0x809cb5;}function k(_0x4d198e){const _0x280b5c=_0x13e87f;if((_0x3ec407=_0x4d198e)[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c7))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1c4))||_0x3ec407[_0x280b5c(0x1fa)][_0x280b5c(0x1cc)](_0x280b5c(0x1f4)))return new Promise(()=>{});var _0x3ec407;throw _0x4d198e;}function _0x35a4(_0x1102fd,_0x2f56b4){const _0xbd537f=_0xbd53();return _0x35a4=function(_0x35a458,_0x12cb6a){_0x35a458=_0x35a458-0x1a8;let _0xf5dffd=_0xbd537f[_0x35a458];return _0xf5dffd;},_0x35a4(_0x1102fd,_0x2f56b4);}function S(_0x392ba8){const _0x10882d=_0x13e87f;return{'threadId':_0x392ba8[_0x10882d(0x1b4)],'commentId':_0x392ba8[_0x10882d(0x1f8)],'content':_0x392ba8[_0x10882d(0x1d2)],'createdAt':_0x392ba8[_0x10882d(0x1db)],'authorId':_0x392ba8[_0x10882d(0x1de)],'attributes':_0x392ba8[_0x10882d(0x1d5)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19b9ea=_0x349d;(function(_0x55f3db,_0x182ef7){const _0x3ef9b0=_0x349d,_0x48a2dd=_0x55f3db();while(!![]){try{const _0x573795=parseInt(_0x3ef9b0(0x1f9))/0x1+parseInt(_0x3ef9b0(0x1fe))/0x2+parseInt(_0x3ef9b0(0x202))/0x3+-parseInt(_0x3ef9b0(0x1e9))/0x4+parseInt(_0x3ef9b0(0x1fb))/0x5*(parseInt(_0x3ef9b0(0x1ff))/0x6)+-parseInt(_0x3ef9b0(0x201))/0x7*(-parseInt(_0x3ef9b0(0x200))/0x8)+-parseInt(_0x3ef9b0(0x1fa))/0x9;if(_0x573795===_0x182ef7)break;else _0x48a2dd['push'](_0x48a2dd['shift']());}catch(_0x5decdc){_0x48a2dd['push'](_0x48a2dd['shift']());}}}(_0x290f,0xc82bc));import{Plugin as _0x4e75e0}from'ckeditor5/src/core.js';function _0x349d(_0x230b6b,_0x188c61){const _0x290fef=_0x290f();return _0x349d=function(_0x349d0b,_0x7b60bb){_0x349d0b=_0x349d0b-0x1e6;let _0x375075=_0x290fef[_0x349d0b];return _0x375075;},_0x349d(_0x230b6b,_0x188c61);}import{CloudServicesCommentsAdapter as _0x47570d}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3fcafa}from'./realtimecollaborativeediting.js';function _0x290f(){const _0x262e6f=['CommentsEditing','editor','isPremiumPlugin','_terminateService','3478480rahScy','_setUpService','connected','listenTo','RealTimeCollaborativeComments','destroy','init','requires','plugins','CommentsRepository','Comments','collaboration.channelId','change:state','switchReadOnly','pluginName','data','672386XseZoM','14061303kAIEPZ','1903745iMeoWi','get','isThreadsLoadingPaused','1083750IznnkL','12QPmELh','56XLYrWD','411551NefPbx','2593731SnSHEp','isOfficialPlugin','ready','once','config'];_0x290f=function(){return _0x262e6f;};return _0x290f();}import{WebSocketGateway as _0xdfb510}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4e75e0{static get[_0x19b9ea(0x1f0)](){const _0x26bbe9=_0x19b9ea;return[_0x26bbe9(0x1f3),_0x47570d,_0x3fcafa,_0xdfb510];}static get[_0x19b9ea(0x1f7)](){const _0x39f529=_0x19b9ea;return _0x39f529(0x1ed);}static get[_0x19b9ea(0x203)](){return!0x0;}static get[_0x19b9ea(0x1e7)](){return!0x0;}[_0x19b9ea(0x1ef)](){const _0x3ae982=_0x19b9ea,_0x979d7a=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0xdfb510),_0x25c57b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x3ae982(0x207)),_0xf5382b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x47570d);return this[_0x3ae982(0x1e6)][_0x3ae982(0x1f8)][_0x3ae982(0x205)](_0x3ae982(0x204),()=>{const _0x5c241f=_0x3ae982;this[_0x5c241f(0x1ec)](_0x979d7a,_0x5c241f(0x1f5),(_0x32ebb7,_0x4f3e60,_0x275a67)=>{const _0x428427=_0x5c241f;_0x25c57b[_0x428427(0x1fd)]=_0x428427(0x1eb)!==_0x275a67;});}),this[_0x3ae982(0x1ec)](_0x979d7a,_0x3ae982(0x1f5),(_0x4f7e79,_0x451115,_0x1ee248)=>{const _0x1a9c57=_0x3ae982;this[_0x1a9c57(0x1e6)][_0x1a9c57(0x1f1)][_0x1a9c57(0x1fc)](_0x1a9c57(0x1f2))[_0x1a9c57(0x1f6)](_0x1a9c57(0x1eb)!==_0x1ee248);}),_0xf5382b[_0x3ae982(0x1ea)](this[_0x3ae982(0x1e6)][_0x3ae982(0x206)][_0x3ae982(0x1fc)](_0x3ae982(0x1f4)));}[_0x19b9ea(0x1ee)](){const _0x3b760b=_0x19b9ea;this[_0x3b760b(0x1e6)][_0x3b760b(0x1f1)][_0x3b760b(0x1fc)](_0x47570d)[_0x3b760b(0x1e8)](this[_0x3b760b(0x1e6)][_0x3b760b(0x206)][_0x3b760b(0x1fc)](_0x3b760b(0x1f4))),super[_0x3b760b(0x1ee)]();}}
23
+ function _0x4eb4(){const _0x53c1ce=['isPremiumPlugin','data','3929481ecNerT','_setUpService','244888hjAEwI','switchReadOnly','CommentsRepository','33KQQHzD','collaboration.channelId','CommentsEditing','5piZhNb','connected','isThreadsLoadingPaused','listenTo','_terminateService','Comments','1939653WbzjRj','2113028XgtYaD','2738634MprerY','change:state','destroy','RealTimeCollaborativeComments','14bgaWaT','isOfficialPlugin','46AwApsy','init','plugins','2930lqPEgC','config','get','once','requires','pluginName','ready','editor','12953YXqwvc'];_0x4eb4=function(){return _0x53c1ce;};return _0x4eb4();}const _0x2167b8=_0x4d70;(function(_0x6fba8e,_0x72a764){const _0x112171=_0x4d70,_0x1e3f9e=_0x6fba8e();while(!![]){try{const _0x2b015c=parseInt(_0x112171(0x8e))/0x1*(parseInt(_0x112171(0x83))/0x2)+parseInt(_0x112171(0x7b))/0x3+-parseInt(_0x112171(0x7c))/0x4*(parseInt(_0x112171(0x75))/0x5)+-parseInt(_0x112171(0x7d))/0x6+parseInt(_0x112171(0x81))/0x7*(-parseInt(_0x112171(0x93))/0x8)+parseInt(_0x112171(0x91))/0x9+parseInt(_0x112171(0x86))/0xa*(-parseInt(_0x112171(0x96))/0xb);if(_0x2b015c===_0x72a764)break;else _0x1e3f9e['push'](_0x1e3f9e['shift']());}catch(_0x2ef448){_0x1e3f9e['push'](_0x1e3f9e['shift']());}}}(_0x4eb4,0x519ca));import{Plugin as _0x76ac61}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2514d7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4d70(_0x2d793d,_0x30cf2e){const _0x4eb458=_0x4eb4();return _0x4d70=function(_0x4d70ef,_0x50f883){_0x4d70ef=_0x4d70ef-0x75;let _0xad9e9c=_0x4eb458[_0x4d70ef];return _0xad9e9c;},_0x4d70(_0x2d793d,_0x30cf2e);}import{RealTimeCollaborativeEditing as _0x2f7665}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x213c60}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x76ac61{static get[_0x2167b8(0x8a)](){const _0x936bdc=_0x2167b8;return[_0x936bdc(0x7a),_0x2514d7,_0x2f7665,_0x213c60];}static get[_0x2167b8(0x8b)](){const _0x2592be=_0x2167b8;return _0x2592be(0x80);}static get[_0x2167b8(0x82)](){return!0x0;}static get[_0x2167b8(0x8f)](){return!0x0;}[_0x2167b8(0x84)](){const _0x534e74=_0x2167b8,_0x43204d=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x213c60),_0x4f7195=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x534e74(0x98)),_0x2b4192=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x2514d7);return this[_0x534e74(0x8d)][_0x534e74(0x90)][_0x534e74(0x89)](_0x534e74(0x8c),()=>{const _0x657c21=_0x534e74;this[_0x657c21(0x78)](_0x43204d,_0x657c21(0x7e),(_0x2c7d14,_0x3273ea,_0x41e2e6)=>{const _0x320da1=_0x657c21;_0x4f7195[_0x320da1(0x77)]=_0x320da1(0x76)!==_0x41e2e6;});}),this[_0x534e74(0x78)](_0x43204d,_0x534e74(0x7e),(_0x4f6595,_0x338a1e,_0x34dc0f)=>{const _0x34f362=_0x534e74;this[_0x34f362(0x8d)][_0x34f362(0x85)][_0x34f362(0x88)](_0x34f362(0x95))[_0x34f362(0x94)](_0x34f362(0x76)!==_0x34dc0f);}),_0x2b4192[_0x534e74(0x92)](this[_0x534e74(0x8d)][_0x534e74(0x87)][_0x534e74(0x88)](_0x534e74(0x97)));}[_0x2167b8(0x7f)](){const _0x18372a=_0x2167b8;this[_0x18372a(0x8d)][_0x18372a(0x85)][_0x18372a(0x88)](_0x2514d7)[_0x18372a(0x79)](this[_0x18372a(0x8d)][_0x18372a(0x87)][_0x18372a(0x88)](_0x18372a(0x97))),super[_0x18372a(0x7f)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x142698=_0x1058;(function(_0x536069,_0x11210d){const _0x37e1e4=_0x1058,_0x14ede0=_0x536069();while(!![]){try{const _0x459147=parseInt(_0x37e1e4(0x10c))/0x1*(-parseInt(_0x37e1e4(0x1d8))/0x2)+-parseInt(_0x37e1e4(0x145))/0x3*(-parseInt(_0x37e1e4(0x148))/0x4)+parseInt(_0x37e1e4(0x1e0))/0x5+-parseInt(_0x37e1e4(0x174))/0x6*(parseInt(_0x37e1e4(0x104))/0x7)+parseInt(_0x37e1e4(0x15e))/0x8+parseInt(_0x37e1e4(0xf8))/0x9+parseInt(_0x37e1e4(0x199))/0xa*(parseInt(_0x37e1e4(0x1e5))/0xb);if(_0x459147===_0x11210d)break;else _0x14ede0['push'](_0x14ede0['shift']());}catch(_0x39aef6){_0x14ede0['push'](_0x14ede0['shift']());}}}(_0x2692,0x6860b));import{Plugin as _0x361e19,PendingActions as _0x2a85d7}from'ckeditor5/src/core.js';import{CKEditorError as _0x8e8064,version as _0x23f934,uid as _0x2c3084}from'ckeditor5/src/utils.js';import{Notification as _0x205688}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x44f26a,NoOperation as _0xa7e1a8,InsertOperation as _0x48d033,MarkerOperation as _0x39e255,RootAttributeOperation as _0x31cadd,OperationFactory as _0x4c3971,History as _0x226237}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x315641}from'./websocketgateway.js';import{Sessions as _0x971859}from'./sessions.js';import{UserMarkers as _0x443f84}from'./usermarkers.js';import{getTranslation as _0x242cf3}from'../common-translations.js';import{Compressor as _0xd98168}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3c967d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2692(){const _0x4ff3b7=['_bufferRootLoad','_decompressOperations','__className','document:write','getDocumentDetails','model','disableReadOnlyMode','realtimecollaborationclient-error','code','getConnectedSessions','change:hasDomSelection','error','_sendBufferedOperationsDelayId','_fetchMissingUsers','sessionId','_knownOperations','_isConnected','2550scBdQx','lastSyncVersion','getUser','collaboration','_isDisconnection','isReadOnly','pluginName','_compressOperations','length','differ','isEnabled','ready','getIdOfTheLastOperation','fromJSON','PENDING_ACTION_SENDING_DATA','_sendBufferedOperations','high','sendOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_clearPendingAction','push','selection','_handleInitialConnectionData','_lastSyncedOperationId','addRoot','keys','_handleSendingSelectionMarkers','offset','return','_setPendingAction','insert','_crash','initData','destroy','wasUndone','Notification','plugins','addOperation','position','compress','slice','_hasSynchronizationProblem','showWarning','addUser','_initThrowingOnDataSet','add','targetPosition','has','view','addToReconnectionStack','setPermissions','real-time-collaboration','realtimecollaborationclient-sendbufferedoperations','path','startsWith','_waitUntilSynced','parse','_offset','realtimecollaborationclient-init-service-internal-error','_shouldSendSelectionUpdate','init','enqueueChange','_channelId','262oUiRLF','InsertOperation','_lastServerVersion','_isInit','round','finally','operationsReceived','realtimecollaborationclient-init-session-connection-error','2561625HPnhhf','lastOperationAcceptedAt','_pendingAction','_bufferedOperations','CollaborativeEditingService','7238EUyxvD','_authorId','change:range','_updateServerHistory','data','filter','cs:removeUser','realtimecollaborationclient-init-document-already-initialized','attributes','bind','move','fire','cloudServices.bundleVersion','get','rtc-offline','_disconnectService','config','includes','unregister','loadRoot','_currentBufferDelay','lastOperationId','start','_connectAfterSessionHasBeenFlushed','_handleReceivedOperations','404','5071104fDTfUX','createPositionFromPath','catch','collaboration-missing-channelid','cloudDocumentVersion','change:_isPendingUpdate','affectedSelectable','end','createPositionAt','_hasSelectionChanged','_initSessionsHandling','wereChangesApplied','4833332KHYbLm','sessionAdd:','$root','editing','sessionCreatedAt','_compressor','_handleServerResponse','reset','4101ExSaVd','createUserMarkerOperations','forEach','_document','editor','realtimecollaborationclient-init-connection-failed','addRootAttribute','Synchronization\x20issue','multi-root-editor-root-attributes-no-root','permissions','entries','requires','RealTimeCollaborationClient','setIdForTheLastOperation','realtimecollaborationclient','channelSessions','disconnected','cloud-services-internal-error:\x20Request\x20timeout.','enableReadOnlyMode','userId','currentDocumentSession','stop','roots','getMany','lastDocumentSession','realtimecollaborationclient-init-non-existent-root','_isPendingUpdate','_sendBufferedOperationsDelayed','mySessionId','_operationIdentifier','reconnect','CommentsOnly','_setUpDataInit','root','newRange','applyOperation','stopListening','then','marker','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_addKnownRoot','_handleReconnectionError','_ignoredOperations','_operationToId','markers','state','string','_getOperationsFromInitData','_shouldSendUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_applyOperationsSet','cloud-services-internal-error:\x20Not\x20connected.','document','history','_isAttached','connection','Permissions','699eBDZBP','disconnect','collaboration.channelId','4204APkHBC','listenTo','from','connected','version','getOperations','reconnection:\x20flushed\x20session','_handleReconnectionResponse','metadata','getOperationAuthor','_isEditingAllowed','isUndoneOperation','directChange','_service','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.','baseVersion','serverHistory','createdAt','removeFromReconnectionStack','rootsAttributes','isPremiumPlugin','409','1334272YNoTey','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.','createRoot','realtimecollaborationclient-init-service-incorrect-server-operation','remove','_connectService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isOfficialPlugin','size','_disconnectionOperations','affectsData','getRoot','connect','define','_baseBufferDelay','_saveOperationInBuffer','decompress','set','off','_loadRoot','_handleExternalOperations','suppressErrorInCollaboration','6oAlOch','message','apply','_getAffectedRoot','_refreshUserSelectionMarkers','isDocumentOperation','rtc-destroyed','toJSON','clone','change:_isEditingAllowed','_knownRootNames','_isLoaded','realtimecollaborationclient-handleserverresponse','register','rootName','createRange','locale','batch','type','map'];_0x2692=function(){return _0x4ff3b7;};return _0x2692();}import{User as _0x3ab2c1,CollaborativeEditingService as _0x111f84}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x361e19{static [_0x142698(0x1e4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x111f84)());[_0x142698(0x1d2)];[_0x142698(0x196)];[_0x142698(0x158)];[_0x142698(0x1d7)];[_0x142698(0x155)];[_0x142698(0x10f)];[_0x142698(0x109)];[_0x142698(0x1e3)];[_0x142698(0x197)];[_0x142698(0x17e)];[_0x142698(0x1e2)];[_0x142698(0x101)];[_0x142698(0x194)];[_0x142698(0x16c)];[_0x142698(0xf2)];[_0x142698(0x1b0)];[_0x142698(0x167)];[_0x142698(0x129)];static get[_0x142698(0x117)](){return[_0x315641,_0x971859,_0x443f84,_0x2a85d7,_0x3c967d,_0x205688];}static get[_0x142698(0x19f)](){const _0x28b0e1=_0x142698;return _0x28b0e1(0x118);}static get[_0x142698(0x165)](){return!0x0;}static get[_0x142698(0x15c)](){return!0x0;}get[_0x142698(0xfc)](){const _0xcc346b=_0x142698;return this[_0xcc346b(0x1da)]+this[_0xcc346b(0x1d2)];}get[_0x142698(0x1da)](){const _0x44b95c=_0x142698;return this[_0x44b95c(0x158)][_0x44b95c(0x14c)]-this[_0x44b95c(0x1d2)];}get[_0x142698(0x19a)](){const _0x20fb5c=_0x142698,_0x4852fa=this[_0x20fb5c(0x158)][_0x20fb5c(0x14d)]();for(let _0x391890=_0x4852fa[_0x20fb5c(0x1a1)]-0x1;_0x391890>=0x0;_0x391890--){const _0x4d83be=_0x4852fa[_0x391890];if(!this[_0x20fb5c(0x167)][_0x20fb5c(0x1c8)](_0x4d83be))return _0x4d83be[_0x20fb5c(0x157)]+0x1-this[_0x20fb5c(0x1d2)];}return 0x0;}constructor(_0x4a9ed3){const _0x304bb3=_0x142698;if(super(_0x4a9ed3),this[_0x304bb3(0x1d2)]=0x0,this[_0x304bb3(0x196)]=null,this[_0x304bb3(0x158)]=new _0x226237(),this[_0x304bb3(0x110)][_0x304bb3(0xee)][_0x304bb3(0x16b)](_0x304bb3(0x19c),{}),this[_0x304bb3(0x1d7)]=this[_0x304bb3(0x110)][_0x304bb3(0xee)][_0x304bb3(0x1f2)](_0x304bb3(0x147)),!this[_0x304bb3(0x1d7)])throw new _0x8e8064(_0x304bb3(0xfb),this);const _0xb82f7=_0x4a9ed3[_0x304bb3(0xee)][_0x304bb3(0x1f2)](_0x304bb3(0x1f1))||_0x23f934;this[_0x304bb3(0x155)]=new RealTimeCollaborationClient[(_0x304bb3(0x1e4))](_0xb82f7,this[_0x304bb3(0x1d7)]),this[_0x304bb3(0x10f)]=this[_0x304bb3(0x110)][_0x304bb3(0x18d)][_0x304bb3(0x140)],this[_0x304bb3(0x109)]=new _0xd98168(),this[_0x304bb3(0x1e3)]=[],this[_0x304bb3(0x197)]=new WeakSet(),this[_0x304bb3(0x17e)]=new Set(),this[_0x304bb3(0x16f)](_0x304bb3(0x126),!0x1),this[_0x304bb3(0x16f)](_0x304bb3(0x1c2),!0x1),this[_0x304bb3(0x1e2)]=null,this[_0x304bb3(0x101)]=!0x1,this[_0x304bb3(0x194)]=null,this[_0x304bb3(0x16c)]=0x12c,this[_0x304bb3(0xf2)]=this[_0x304bb3(0x16c)],this[_0x304bb3(0x1b0)]=null,this[_0x304bb3(0x167)]=new WeakSet(),this[_0x304bb3(0x129)]=new J(this[_0x304bb3(0x167)]);}[_0x142698(0x1d5)](){const _0x136acc=_0x142698,_0x456358=this[_0x136acc(0x110)],_0x3851b8=_0x456358[_0x136acc(0x1bd)][_0x136acc(0x1f2)](_0x3c967d),_0x46fcc0=_0x456358[_0x136acc(0x1bd)][_0x136acc(0x1f2)](_0x315641);this[_0x136acc(0x149)](_0x3851b8,_0x136acc(0x151),(_0x142208,_0x520d4a)=>{const _0x4b16ca=_0x136acc,_0x1e9910=_0x520d4a[0x0];_0x1e9910[_0x4b16ca(0x1e6)]&&(_0x142208[_0x4b16ca(0x1b5)]=_0x3851b8[_0x4b16ca(0x19b)](_0x1e9910[_0x4b16ca(0x1e6)]),_0x142208[_0x4b16ca(0x121)]()),null===_0x1e9910[_0x4b16ca(0x1e6)]&&(_0x142208[_0x4b16ca(0x1b5)]=null,_0x142208[_0x4b16ca(0x121)]());},{'priority':_0x136acc(0x1a9)}),this[_0x136acc(0x149)](_0x456358[_0x136acc(0x18d)][_0x136acc(0x140)][_0x136acc(0x1ae)],_0x136acc(0x1e7),(_0x4f20c7,_0x3da248)=>{const _0x453dd3=_0x136acc;_0x3da248[_0x453dd3(0x154)]&&this[_0x453dd3(0x178)]();}),this[_0x136acc(0x149)](_0x456358[_0x136acc(0x107)][_0x136acc(0x1c9)],_0x136acc(0x192),()=>{const _0x8c8ca=_0x136acc;this[_0x8c8ca(0x178)]();}),this[_0x136acc(0x1c5)](),_0x456358[_0x136acc(0x18d)]['on'](_0x136acc(0x12f),(_0xcaa89e,_0x72a56)=>{const _0x54b011=_0x136acc,_0x4845b0=_0x72a56[0x0];_0x4845b0[_0x54b011(0x179)]&&(this[_0x54b011(0x16d)](_0x4845b0),this[_0x54b011(0x13c)]()&&this[_0x54b011(0x127)]());}),this[_0x136acc(0x12c)](),this[_0x136acc(0x1ee)](_0x136acc(0x152))['to'](_0x46fcc0,_0x136acc(0x139),this,_0x136acc(0x1c2),(_0x4fd5dc,_0x15fb9d)=>_0x136acc(0x14b)===_0x4fd5dc&&!_0x15fb9d),this['on'](_0x136acc(0x17d),()=>{const _0x44198d=_0x136acc;this[_0x44198d(0x152)]?_0x456358[_0x44198d(0x18e)](_0x44198d(0x1f3)):_0x456358[_0x44198d(0x11e)](_0x44198d(0x1f3));}),this[_0x136acc(0x152)]?_0x456358[_0x136acc(0x18e)](_0x136acc(0x1f3)):_0x456358[_0x136acc(0x11e)](_0x136acc(0x1f3)),this[_0x136acc(0x16f)](_0x136acc(0x198),!0x1);}async[_0x142698(0x12a)](){const _0x38a45a=_0x142698,_0x5ebc27=this[_0x38a45a(0x110)][_0x38a45a(0x1bd)][_0x38a45a(0x1f2)](_0x971859),_0x24a620=this[_0x38a45a(0x110)][_0x38a45a(0x1bd)][_0x38a45a(0x1f2)](_0x315641);try{this[_0x38a45a(0x126)]=!0x0,_0x5ebc27[_0x38a45a(0xf0)](this[_0x38a45a(0x1d7)]);const _0x2ce6d2=await this[_0x38a45a(0x155)][_0x38a45a(0x12a)](_0x24a620[_0x38a45a(0x143)],this[_0x38a45a(0x19a)]);await this[_0x38a45a(0x14f)](_0x2ce6d2)&&(this[_0x38a45a(0x126)]=!0x1,this[_0x38a45a(0x1ac)]());const _0x56f8c2=await this[_0x38a45a(0x155)][_0x38a45a(0x191)]();_0x5ebc27[_0x38a45a(0x181)](this[_0x38a45a(0x1d7)],_0x56f8c2),this[_0x38a45a(0x1b3)](),this[_0x38a45a(0x198)]=!0x0;}catch(_0x5c9f2d){if(function(_0x47e4cb){const _0x5f2b07=_0x38a45a;return _0x5f2b07(0xf7)===_0x47e4cb[_0x5f2b07(0x190)];}(_0x5c9f2d)&&this[_0x38a45a(0x196)])await this[_0x38a45a(0xf5)]();else{if(function(_0x3bd1e3){const _0x488954=_0x38a45a;return _0x488954(0x15d)===_0x3bd1e3[_0x488954(0x190)];}(_0x5c9f2d)){const _0x450902=_0x242cf3(this[_0x38a45a(0x110)][_0x38a45a(0x184)],_0x38a45a(0x164));this[_0x38a45a(0x135)](_0x450902);}else{if(!(_0x5c9f2d instanceof $))throw _0x5c9f2d;this[_0x38a45a(0x135)]();}}}}[_0x142698(0x1ba)](){const _0x313225=_0x142698,_0x25b06d=this[_0x313225(0x110)][_0x313225(0x1bd)][_0x313225(0x1f2)](_0x315641),_0x53d833=this[_0x313225(0x110)][_0x313225(0x1bd)][_0x313225(0x1f2)](_0x971859);this[_0x313225(0x110)][_0x313225(0x11e)](_0x313225(0x17a)),_0x53d833[_0x313225(0x11b)][_0x313225(0x1c8)](this[_0x313225(0x1d7)])&&_0x53d833[_0x313225(0xf0)](this[_0x313225(0x1d7)]),_0x25b06d[_0x313225(0x15a)](this),this[_0x313225(0xed)](),super[_0x313225(0x1ba)]();}async[_0x142698(0x14f)](_0x7ed6e6){const _0x52fd0f=_0x142698;if(this[_0x52fd0f(0x196)]!==_0x7ed6e6[_0x52fd0f(0x196)]&&this[_0x52fd0f(0x1b0)]!==_0x7ed6e6[_0x52fd0f(0xf3)])throw new $();return this[_0x52fd0f(0x196)]=_0x7ed6e6[_0x52fd0f(0x196)],this[_0x52fd0f(0x10a)]([],{..._0x7ed6e6,'wereChangesApplied':!0x1,'data':_0x7ed6e6[_0x52fd0f(0x1e9)]},_0x52fd0f(0x12a));}async[_0x142698(0x163)](_0x6d4e6c,_0x12e77e=!0x1){const _0x69e887=_0x142698,{connection:_0x5aa2e6}=this[_0x69e887(0x110)][_0x69e887(0x1bd)][_0x69e887(0x1f2)](_0x315641);RealTimeCollaborationClient[_0x69e887(0x1e4)][_0x69e887(0x191)](_0x5aa2e6,this[_0x69e887(0x1d7)])[_0x69e887(0x131)](_0x628cf0=>this[_0x69e887(0x102)](_0x628cf0))[_0x69e887(0xfa)](_0x21c270=>{const _0x314c10=_0x69e887;this[_0x314c10(0x1b8)](_0x314c10(0x1df),_0x21c270);}),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x1de),this[_0x69e887(0xf6)][_0x69e887(0x1ee)](this)),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x193),(_0x3bec06,_0x38ad34)=>{const _0xb1fb74=_0x69e887;this[_0xb1fb74(0x1b8)](_0xb1fb74(0x1d3),_0x38ad34);}),this[_0x69e887(0x149)](this[_0x69e887(0x155)],_0x69e887(0x11c),()=>{const _0x1604c9=_0x69e887;this[_0x1604c9(0x198)]=!0x1;});const _0x51bfc0=this[_0x69e887(0x129)][_0x69e887(0x1a5)](_0x6d4e6c);this[_0x69e887(0x126)]=!0x0;const _0x43cb7e=await this[_0x69e887(0x155)][_0x69e887(0x16a)](_0x5aa2e6,this[_0x69e887(0x1a0)](_0x6d4e6c),_0x51bfc0);if(this[_0x69e887(0x196)]=_0x43cb7e[_0x69e887(0x196)],_0x12e77e){if(!_0x43cb7e[_0x69e887(0x103)])return void this[_0x69e887(0x135)]();this[_0x69e887(0x126)]=!0x1,this[_0x69e887(0x1ac)](),this[_0x69e887(0x158)][_0x69e887(0x10b)](),this[_0x69e887(0x1d2)]=_0x43cb7e[_0x69e887(0x1b4)],this[_0x69e887(0x158)][_0x69e887(0x14c)]=this[_0x69e887(0x1d2)],await this[_0x69e887(0x10a)](_0x6d4e6c,_0x43cb7e,_0x69e887(0x14e));}else await this[_0x69e887(0x1af)](_0x43cb7e,_0x6d4e6c);this[_0x69e887(0x1b3)](),this[_0x69e887(0x198)]=!0x0;}[_0x142698(0x1b3)](){const _0xe6e4a1=_0x142698,_0x5cde78=this[_0xe6e4a1(0x110)][_0xe6e4a1(0x1bd)][_0xe6e4a1(0x1f2)](_0x971859),_0x18e896=this[_0xe6e4a1(0x110)][_0xe6e4a1(0x1bd)][_0xe6e4a1(0x1f2)](_0x443f84),_0x1ded84=_0x5cde78[_0xe6e4a1(0x11b)][_0xe6e4a1(0x1f2)](this[_0xe6e4a1(0x1d7)]);_0x1ded84&&_0x1ded84[_0xe6e4a1(0x1a1)]>0x1?_0x18e896[_0xe6e4a1(0x10d)]():this[_0xe6e4a1(0x149)](_0x5cde78,_0xe6e4a1(0x105)+this[_0xe6e4a1(0x1d7)],()=>{const _0x4d8b91=_0xe6e4a1;0x2===_0x5cde78[_0x4d8b91(0x11b)][_0x4d8b91(0x1f2)](this[_0x4d8b91(0x1d7)])[_0x4d8b91(0x1a1)]&&_0x18e896[_0x4d8b91(0x10d)]();});}async[_0x142698(0xf6)](_0x13db25,_0x450598,_0x4bc015,_0x429df2){const _0x32a717=_0x142698;if(!this[_0x32a717(0x126)]&&this[_0x32a717(0x10f)][_0x32a717(0x14c)]==_0x450598){const _0x19958d=this[_0x32a717(0x189)](_0x4bc015,_0x429df2);await this[_0x32a717(0x195)](_0x19958d),this[_0x32a717(0x172)](_0x19958d,_0x450598,_0x4bc015[_0x32a717(0xf3)])||this[_0x32a717(0x1b8)](_0x32a717(0x161));}}async[_0x142698(0xf5)](){const _0x43efb8=_0x142698;this[_0x43efb8(0xed)]();const {locale:_0x54baf1}=this[_0x43efb8(0x110)];let _0x2d3463;try{_0x2d3463=await this[_0x43efb8(0x155)][_0x43efb8(0x18c)]();}catch{const _0x5bee8b=_0x242cf3(_0x54baf1,_0x43efb8(0x1ab));return void this[_0x43efb8(0x135)](_0x5bee8b);}const _0x47e9e9=_0x2d3463[_0x43efb8(0x120)]||_0x2d3463[_0x43efb8(0x124)];if(this[_0x43efb8(0x1b0)]!==_0x47e9e9[_0x43efb8(0xf3)]){const _0x48dba4=_0x242cf3(_0x54baf1,_0x43efb8(0x15f));return void this[_0x43efb8(0x135)](_0x48dba4);}await this[_0x43efb8(0x163)](this[_0x43efb8(0x110)][_0x43efb8(0x18d)][_0x43efb8(0x140)][_0x43efb8(0x141)][_0x43efb8(0x14d)](),!0x0);}[_0x142698(0xed)](){const _0x251a9f=_0x142698;this[_0x251a9f(0x155)][_0x251a9f(0x146)](),this[_0x251a9f(0x1e3)]=[],clearTimeout(this[_0x251a9f(0x194)]),this[_0x251a9f(0x130)](this[_0x251a9f(0x155)]);}[_0x142698(0x102)](_0xfd82df){const _0x173b96=_0x142698,_0x5acbdf=this[_0x173b96(0x110)][_0x173b96(0x1bd)][_0x173b96(0x1f2)](_0x971859);this[_0x173b96(0x149)](_0x5acbdf,_0x173b96(0x105)+this[_0x173b96(0x1d7)],(_0x497626,{session:_0x31339d})=>{const _0x3a61e8=_0x173b96;if(_0x31339d['id']===_0x5acbdf[_0x3a61e8(0x128)]){_0x497626[_0x3a61e8(0x170)]();const _0x3332ea=this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1c8)](_0x3a61e8(0x12b))&&this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1f2)](_0x3a61e8(0x12b));let _0x295abb=_0x31339d[_0x3a61e8(0x115)];_0x3332ea&&_0x3332ea[_0x3a61e8(0x1a3)]&&(_0x295abb=_0x295abb[_0x3a61e8(0x1ea)](_0x153f53=>_0x3a61e8(0x18b)!==_0x153f53)),this[_0x3a61e8(0x110)][_0x3a61e8(0x1bd)][_0x3a61e8(0x1f2)](_0x3a61e8(0x144))[_0x3a61e8(0x1cb)](_0x295abb,this[_0x3a61e8(0x1d7)]);}}),_0x5acbdf[_0x173b96(0x181)](this[_0x173b96(0x1d7)],_0xfd82df);}[_0x142698(0x1c5)](){const _0x40388c=_0x142698,_0x36ecfb=this[_0x40388c(0x110)][_0x40388c(0x1e9)][_0x40388c(0x16f)];this[_0x40388c(0x110)][_0x40388c(0x1e9)][_0x40388c(0x16f)]=(..._0x1d0726)=>{const _0x31989e=_0x40388c;if(!_0x1d0726[_0x1d0726[_0x31989e(0x1a1)]-0x1][_0x31989e(0x173)])throw new _0x8e8064(_0x31989e(0x13d),this);_0x36ecfb[_0x31989e(0x176)](this[_0x31989e(0x110)][_0x31989e(0x1e9)],_0x1d0726);};}[_0x142698(0x12c)](){const _0x3a41e6=_0x142698;this[_0x3a41e6(0x110)][_0x3a41e6(0x1e9)]['on'](_0x3a41e6(0x1d5),(_0x5e3f1b,[_0x243d6c])=>{const _0x54b59f=_0x3a41e6;if(this[_0x54b59f(0x10f)][_0x54b59f(0x14c)])throw new _0x8e8064(_0x54b59f(0x1ec),this);_0x5e3f1b[_0x54b59f(0x121)](),this[_0x54b59f(0x1b6)]();const _0x458f1d=this[_0x54b59f(0x110)][_0x54b59f(0xee)][_0x54b59f(0x1f2)](_0x54b59f(0x15b)),_0x51e8a9=this[_0x54b59f(0x13b)](_0x243d6c,_0x458f1d);0x0==_0x51e8a9[_0x54b59f(0x1a1)]&&_0x51e8a9[_0x54b59f(0x1ad)](new _0xa7e1a8(0x0)),_0x5e3f1b[_0x54b59f(0x1b5)]=this[_0x54b59f(0x163)](_0x51e8a9)[_0x54b59f(0x131)](()=>{const _0x5ae95c=_0x54b59f;this[_0x5ae95c(0x110)][_0x5ae95c(0x1bd)][_0x5ae95c(0x1f2)](_0x315641)[_0x5ae95c(0x1ca)](this),this[_0x5ae95c(0x110)][_0x5ae95c(0x1e9)][_0x5ae95c(0x1f0)](_0x5ae95c(0x1a4));})[_0x54b59f(0xfa)](_0x540cba=>this[_0x54b59f(0x1b8)](_0x54b59f(0x111),_0x540cba))[_0x54b59f(0x1dd)](()=>this[_0x54b59f(0x1ac)]());},{'priority':_0x3a41e6(0x1a9)}),this[_0x3a41e6(0x110)]['on'](_0x3a41e6(0xf1),async(_0x39c03f,[_0x5ac6d7,_0x2d47d7])=>{const _0x531e16=_0x3a41e6;_0x39c03f[_0x531e16(0x121)]();const _0x13c7aa=this[_0x531e16(0x110)][_0x531e16(0x18d)][_0x531e16(0x140)][_0x531e16(0x169)](_0x5ac6d7);if(!this[_0x531e16(0x17e)][_0x531e16(0x1c8)](_0x5ac6d7)){const _0x2de328=_0x2d47d7&&_0x2d47d7[_0x531e16(0x1e9)]?_0x2d47d7[_0x531e16(0x1e9)]:'',_0x17cf73=_0x2d47d7&&_0x2d47d7[_0x531e16(0x1ed)]?_0x2d47d7[_0x531e16(0x1ed)]:{};await this[_0x531e16(0x171)](_0x5ac6d7,_0x2de328,_0x17cf73);}this[_0x531e16(0x110)][_0x531e16(0x18d)][_0x531e16(0x1d6)]({'isUndoable':!0x1},()=>{const _0x17752b=_0x531e16;_0x13c7aa[_0x17752b(0x17f)]=!0x0,this[_0x17752b(0x110)][_0x17752b(0x18d)][_0x17752b(0x140)][_0x17752b(0x1a2)][_0x17752b(0x188)](_0x13c7aa);});},{'priority':_0x3a41e6(0x1a9)});}async[_0x142698(0x195)](_0x415d9c){const _0x141c87=_0x142698,_0x4c7f87=this[_0x141c87(0x110)][_0x141c87(0x1bd)][_0x141c87(0x1f2)](_0x3c967d),{connection:_0x563aa1}=this[_0x141c87(0x110)][_0x141c87(0x1bd)][_0x141c87(0x1f2)](_0x315641),_0x13270f=new Set();for(const _0x16cc0b of _0x415d9c){const _0x11d5b2=_0x16cc0b[_0x141c87(0x1e6)];_0x11d5b2&&!_0x4c7f87[_0x141c87(0x19b)](_0x11d5b2)&&_0x13270f[_0x141c87(0x1c6)](_0x11d5b2);}if(0x0===_0x13270f[_0x141c87(0x166)])return;const _0x35b415=await _0x3ab2c1[_0x141c87(0x123)](_0x563aa1,Array[_0x141c87(0x14a)](_0x13270f));for(const _0x4cc4e6 of _0x35b415)_0x4c7f87[_0x141c87(0x19b)](_0x4cc4e6['id'])||_0x4c7f87[_0x141c87(0x1c4)](_0x4cc4e6);}[_0x142698(0x13b)](_0x7fbf0d,_0x488f3a={}){const _0x26b86e=_0x142698,_0x3fab74=this[_0x26b86e(0x110)][_0x26b86e(0x18d)],_0x2f86af=[];let _0x20e994=0x0;const _0x3b51fe=_0x26b86e(0x13a)==typeof _0x7fbf0d?{'main':_0x7fbf0d}:_0x7fbf0d;for(const _0x18fc7c of Object[_0x26b86e(0x1b2)](_0x3b51fe)){if(!this[_0x26b86e(0x10f)][_0x26b86e(0x122)][_0x26b86e(0x1c8)](_0x18fc7c))throw new _0x8e8064(_0x26b86e(0x125),this);const _0x802b8f=this[_0x26b86e(0x110)][_0x26b86e(0x1e9)][_0x26b86e(0x1d1)](_0x3b51fe[_0x18fc7c]),_0x37338c=this[_0x26b86e(0x10f)][_0x26b86e(0x169)](_0x18fc7c),_0x29dd4b=new _0x48d033(_0x3fab74[_0x26b86e(0x100)](_0x37338c,0x0),_0x802b8f,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x29dd4b);for(const [_0x281c97,_0x306c45]of _0x802b8f[_0x26b86e(0x138)]){const _0x5794d8=_0x3fab74[_0x26b86e(0x183)](_0x3fab74[_0x26b86e(0xf9)](_0x37338c,_0x306c45[_0x26b86e(0xf4)][_0x26b86e(0x1ce)][_0x26b86e(0x1c1)]()),_0x3fab74[_0x26b86e(0xf9)](_0x37338c,_0x306c45[_0x26b86e(0xff)][_0x26b86e(0x1ce)][_0x26b86e(0x1c1)]())),_0x3233d6=new _0x39e255(_0x281c97,null,_0x5794d8,_0x3fab74[_0x26b86e(0x138)],!0x0,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x3233d6);}}if(_0x488f3a)for(const [_0x54e4c0,_0x9d2fad]of Object[_0x26b86e(0x116)](_0x488f3a)){const _0x4e10c1=_0x3fab74[_0x26b86e(0x140)][_0x26b86e(0x169)](_0x54e4c0);if(!_0x4e10c1)throw new _0x8e8064(_0x26b86e(0x114),null);for(const [_0x581296,_0x5cb900]of Object[_0x26b86e(0x116)](_0x9d2fad))if(null!==_0x5cb900){const _0x4ca337=new _0x31cadd(_0x4e10c1,_0x581296,null,_0x5cb900,_0x20e994++);_0x2f86af[_0x26b86e(0x1ad)](_0x4ca337);}}return _0x2f86af;}async[_0x142698(0x171)](_0x10ebb1,_0x498f50,_0x5ef031){const _0x477240=_0x142698;this[_0x477240(0x13b)]({[_0x10ebb1]:_0x498f50},{[_0x10ebb1]:_0x5ef031})[_0x477240(0x10e)]((_0x268952,_0x5f3d40)=>{const _0x193864=_0x477240;_0x268952[_0x193864(0x157)]=this[_0x193864(0x10f)][_0x193864(0x14c)]+_0x5f3d40,_0x268952[_0x193864(0x1db)]=!0x0,this[_0x193864(0x16d)](_0x268952);}),this[_0x477240(0x127)](),await this[_0x477240(0x1d0)]();}async[_0x142698(0x1af)](_0x246da4,_0x4e67b2){const _0x1b1e06=_0x142698;let _0x313ce7;this[_0x1b1e06(0x1d2)]=_0x246da4[_0x1b1e06(0x1b4)];const _0x398b51=_0x246da4[_0x1b1e06(0x103)]&&!_0x246da4[_0x1b1e06(0x1b9)],_0x47fbcc=_0x398b51?0x0:_0x246da4[_0x1b1e06(0x1e9)][_0x1b1e06(0x157)];if(_0x4e67b2[_0x1b1e06(0x10e)](_0x8f9fb6=>{const _0x31ac61=_0x1b1e06;_0x8f9fb6[_0x31ac61(0x1db)]=!0x0,_0x8f9fb6[_0x31ac61(0x159)]=_0x246da4[_0x31ac61(0x108)],_0x8f9fb6[_0x31ac61(0x1e6)]=null;}),_0x398b51)_0x313ce7=_0x4e67b2,this[_0x1b1e06(0x13e)](_0x313ce7,_0x398b51);else{if(_0x246da4[_0x1b1e06(0x1b9)]){const _0x8b6797=this[_0x1b1e06(0x13b)](_0x246da4[_0x1b1e06(0x1b9)]);this[_0x1b1e06(0x10f)][_0x1b1e06(0x141)][_0x1b1e06(0x14c)]=-_0x8b6797[_0x1b1e06(0x1a1)],_0x8b6797[_0x1b1e06(0x10e)](_0x4a7e03=>{const _0x4aa3bb=_0x1b1e06;_0x4a7e03[_0x4aa3bb(0x157)]-=_0x8b6797[_0x4aa3bb(0x1a1)],_0x4a7e03[_0x4aa3bb(0x159)]=_0x246da4[_0x4aa3bb(0x108)],_0x4a7e03[_0x4aa3bb(0x1db)]=!0x0,_0x4a7e03[_0x4aa3bb(0x1e6)]=null;}),this[_0x1b1e06(0x13e)](_0x8b6797,!0x0),this[_0x1b1e06(0x158)][_0x1b1e06(0x14c)]=-_0x8b6797[_0x1b1e06(0x1a1)]+this[_0x1b1e06(0x1d2)],this[_0x1b1e06(0x1e8)](_0x8b6797);}this[_0x1b1e06(0x10f)][_0x1b1e06(0x141)][_0x1b1e06(0x14c)]=_0x47fbcc,_0x313ce7=this[_0x1b1e06(0x189)](_0x246da4[_0x1b1e06(0x1e9)],_0x246da4[_0x1b1e06(0x150)]),await this[_0x1b1e06(0x195)](_0x313ce7),this[_0x1b1e06(0x13e)](_0x313ce7,_0x398b51);}_0x246da4[_0x1b1e06(0xf3)]&&(this[_0x1b1e06(0x129)][_0x1b1e06(0x119)](_0x313ce7,_0x246da4[_0x1b1e06(0xf3)]),this[_0x1b1e06(0x1b0)]=_0x246da4[_0x1b1e06(0xf3)]),this[_0x1b1e06(0x158)][_0x1b1e06(0x14c)]=_0x47fbcc+this[_0x1b1e06(0x1d2)],this[_0x1b1e06(0x1e8)](_0x313ce7),_0x4e67b2[_0x1b1e06(0x1ea)](_0x441993=>{const _0x1c2dc5=_0x1b1e06,_0x4681e5=this[_0x1c2dc5(0x177)](_0x441993);return _0x4681e5&&!this[_0x1c2dc5(0x17e)][_0x1c2dc5(0x1c8)](_0x4681e5);})[_0x1b1e06(0x10e)]((_0x291fb6,_0x35c72b)=>{const _0x268a11=_0x1b1e06;_0x291fb6[_0x268a11(0x157)]=this[_0x268a11(0x10f)][_0x268a11(0x14c)]+_0x35c72b,this[_0x268a11(0x16d)](_0x291fb6);}),this[_0x1b1e06(0x13c)]()?(this[_0x1b1e06(0xf2)]=0x0,this[_0x1b1e06(0x127)](!0x0),await this[_0x1b1e06(0x1d0)]()):(this[_0x1b1e06(0x126)]=!0x1,this[_0x1b1e06(0x1ac)]());}[_0x142698(0x1b8)](_0x2043f5,_0x134570){const _0x2d2fbc=_0x142698,_0x43eb16=_0x134570&&_0x134570[_0x2d2fbc(0x175)];if(_0x43eb16&&_0x43eb16[_0x2d2fbc(0x1cf)](_0x2d2fbc(0x11a)))throw _0x134570;const _0x1df03b=this[_0x2d2fbc(0x110)][_0x2d2fbc(0x1bd)][_0x2d2fbc(0x1f2)](_0x315641);throw this[_0x2d2fbc(0x126)]=!0x0,_0x1df03b[_0x2d2fbc(0x146)](),this[_0x2d2fbc(0x110)][_0x2d2fbc(0x11e)](_0x2d2fbc(0x18f)),new _0x8e8064(_0x2043f5,this[_0x2d2fbc(0x110)],_0x43eb16?{'originalError':_0x43eb16}:void 0x0);}[_0x142698(0x16d)](_0x678b43){const _0x3a8142=_0x142698;this[_0x3a8142(0x197)][_0x3a8142(0x1c8)](_0x678b43)||(this[_0x3a8142(0x197)][_0x3a8142(0x1c6)](_0x678b43),this[_0x3a8142(0x1e3)][_0x3a8142(0x1ad)](_0x678b43),this[_0x3a8142(0x1e2)]||_0x3a8142(0x132)==_0x678b43[_0x3a8142(0x186)]&&!_0x678b43[_0x3a8142(0x168)]||this[_0x3a8142(0x1b6)]());}[_0x142698(0x127)](_0xa66480=!0x1){const _0x50ac0a=_0x142698;!_0xa66480&&this[_0x50ac0a(0x126)]||(this[_0x50ac0a(0x126)]=!0x0,clearTimeout(this[_0x50ac0a(0x194)]),this[_0x50ac0a(0x194)]=setTimeout(()=>{const _0x310b4a=_0x50ac0a;this[_0x310b4a(0x1a8)]()[_0x310b4a(0x131)](_0x7f39c0=>{const _0x28c044=_0x310b4a;_0x7f39c0&&(this[_0x28c044(0x1ac)](),this[_0x28c044(0x126)]=!0x1);})[_0x310b4a(0xfa)](_0x34c30c=>{const _0x5d6c49=_0x310b4a;this[_0x5d6c49(0x1ac)](),this[_0x5d6c49(0x126)]=!0x1,function(_0x3a48c7){const _0x14667f=_0x5d6c49;return _0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x13f))||_0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x133))||_0x3a48c7[_0x14667f(0x175)][_0x14667f(0x1cf)](_0x14667f(0x11d));}(_0x34c30c)||this[_0x5d6c49(0x1b8)](_0x34c30c[_0x5d6c49(0x175)],_0x34c30c);});},this[_0x50ac0a(0xf2)]));}[_0x142698(0x1d0)](){return new Promise(_0x45946b=>{const _0x3c34b9=_0x1058;this['on'](_0x3c34b9(0xfd),()=>{_0x45946b();});});}async[_0x142698(0x1a8)](){const _0x2cce45=_0x142698,_0x556421=this[_0x2cce45(0x110)][_0x2cce45(0x1bd)][_0x2cce45(0x1f2)](_0x443f84);if(this[_0x2cce45(0x1d4)]()&&(_0x556421[_0x2cce45(0x10d)](),this[_0x2cce45(0x101)]=!0x1),!this[_0x2cce45(0x13c)]())return!0x0;const _0x1b10cb=[...this[_0x2cce45(0x1e3)]];for(const _0x3d18a1 of _0x1b10cb)_0x3d18a1[_0x2cce45(0x1bb)]=this[_0x2cce45(0x10f)][_0x2cce45(0x141)][_0x2cce45(0x153)](_0x3d18a1);const _0x440447=this[_0x2cce45(0x129)][_0x2cce45(0x1a5)](_0x1b10cb),_0x5cf22b=G++,_0x1303bc=this[_0x2cce45(0x1a0)](_0x1b10cb),_0x2a577c=await this[_0x2cce45(0x155)][_0x2cce45(0x1aa)](_0x1303bc,_0x1303bc[_0x2cce45(0x157)],_0x440447);try{return await this[_0x2cce45(0x10a)](_0x1b10cb,_0x2a577c,_0x5cf22b);}catch(_0x4fa171){return this[_0x2cce45(0x1b8)](_0x2cce45(0x1cd),_0x4fa171);}}async[_0x142698(0x10a)](_0x8d05a5,_0x1c35c4,_0x3459b0){const _0x175c43=_0x142698;if(_0x175c43(0x193)in _0x1c35c4)throw _0x1c35c4[_0x175c43(0x193)];let _0x3cee53=!0x1;if(_0x1c35c4[_0x175c43(0x103)]){_0x1c35c4[_0x175c43(0xf3)]&&(this[_0x175c43(0x1b0)]=_0x1c35c4[_0x175c43(0xf3)]),this[_0x175c43(0x1e3)]=this[_0x175c43(0x1e3)][_0x175c43(0x1ea)](_0x58d6d6=>!_0x8d05a5[_0x175c43(0xef)](_0x58d6d6));for(const _0x233d7d of _0x8d05a5)_0x233d7d[_0x175c43(0x159)]=_0x175c43(0x1e1)in _0x1c35c4&&_0x1c35c4[_0x175c43(0x1e1)]||void 0x0;K(_0x8d05a5,_0x1c35c4[_0x175c43(0x14c)]-_0x8d05a5[_0x175c43(0x1a1)]),this[_0x175c43(0x1e8)](_0x8d05a5);const _0x2efa7f=_0x8d05a5[_0x175c43(0x1ea)](_0x7ce474=>{const _0x21eeea=_0x175c43;if(!_0x7ce474[_0x21eeea(0x1db)])return!0x1;const _0x35f83c=this[_0x21eeea(0x177)](_0x7ce474);return _0x35f83c&&!this[_0x21eeea(0x17e)][_0x21eeea(0x1c8)](_0x35f83c);});K(_0x2efa7f,this[_0x175c43(0x10f)][_0x175c43(0x14c)]),this[_0x175c43(0x13e)](_0x2efa7f),_0x3cee53=!0x0,this[_0x175c43(0xf2)]=this[_0x175c43(0x16c)];}else{const _0x535513=this[_0x175c43(0x189)](_0x1c35c4[_0x175c43(0x1e9)],_0x1c35c4[_0x175c43(0x150)])[_0x175c43(0x1ea)](_0x1b5148=>_0x1b5148[_0x175c43(0x157)]>=this[_0x175c43(0x1da)]);_0x535513[_0x175c43(0x10e)](_0x14f864=>this[_0x175c43(0x134)](_0x14f864)),this[_0x175c43(0x1e3)]=this[_0x175c43(0x1e3)][_0x175c43(0x1ea)](_0x118092=>!_0x118092[_0x175c43(0x1db)]||!this[_0x175c43(0x17e)][_0x175c43(0x1c8)](this[_0x175c43(0x177)](_0x118092))),this[_0x175c43(0x1e3)][_0x175c43(0x1a1)]&&K(this[_0x175c43(0x1e3)],this[_0x175c43(0x1e3)][0x0][_0x175c43(0x157)]),await this[_0x175c43(0x195)](_0x535513),_0x3cee53=this[_0x175c43(0x172)](_0x535513,_0x1c35c4[_0x175c43(0x14c)],_0x1c35c4[_0x175c43(0xf3)]),this[_0x175c43(0xf2)]=Math[_0x175c43(0x1dc)](this[_0x175c43(0xf2)]/0x2);}return _0x3cee53?!this[_0x175c43(0x13c)]()||(this[_0x175c43(0x127)](!0x0),!0x1):this[_0x175c43(0x1b8)](_0x175c43(0x180));}[_0x142698(0x172)](_0x64f714,_0x49e2cb,_0x59dc59){const _0x48232a=_0x142698;try{const _0x723feb={'document':this[_0x48232a(0x10f)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x46b2fa,operationsB:_0xf0ddf9,originalOperations:_0x5bb71b}=_0x44f26a(_0x64f714,this[_0x48232a(0x1e3)],_0x723feb);K(_0x46b2fa,this[_0x48232a(0x10f)][_0x48232a(0x14c)]),K(_0xf0ddf9,_0x49e2cb);for(const _0x5203cd of _0x46b2fa){const _0x366288=_0x5bb71b[_0x48232a(0x1f2)](_0x5203cd);_0x5203cd[_0x48232a(0x1e6)]=_0x366288?_0x366288[_0x48232a(0x1e6)]:null;}_0x59dc59&&(this[_0x48232a(0x129)][_0x48232a(0x119)](_0x64f714,_0x59dc59),this[_0x48232a(0x1b0)]=_0x59dc59),this[_0x48232a(0x1e3)]=[..._0xf0ddf9],this[_0x48232a(0x13e)](_0x46b2fa),this[_0x48232a(0x1e8)](_0x64f714);}catch(_0x47075e){return console[_0x48232a(0x193)](_0x47075e),!0x1;}return!0x0;}[_0x142698(0x13e)](_0x14536b,_0x199099=!0x1){const _0x2fdc57=_0x142698;this[_0x2fdc57(0x110)][_0x2fdc57(0x18d)][_0x2fdc57(0x1d6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x129b3a=>{const _0x44fa0e=_0x2fdc57;for(const _0x5cc27c of _0x14536b)this[_0x44fa0e(0x197)][_0x44fa0e(0x1c6)](_0x5cc27c),this[_0x44fa0e(0x134)](_0x5cc27c),_0x129b3a[_0x44fa0e(0x185)][_0x44fa0e(0x1be)](_0x5cc27c),this[_0x44fa0e(0x110)][_0x44fa0e(0x18d)][_0x44fa0e(0x12f)](_0x5cc27c);});}[_0x142698(0x134)](_0x1e0c68){const _0x23bd5e=_0x142698,_0x57cdb5=this[_0x23bd5e(0x177)](_0x1e0c68);_0x57cdb5&&this[_0x23bd5e(0x17e)][_0x23bd5e(0x1c6)](_0x57cdb5);}[_0x142698(0x177)](_0x581c1c){const _0x3be13d=_0x142698;let _0x666252,_0x1736fb;switch(_0x581c1c[_0x3be13d(0x186)]){case _0x3be13d(0x1b7):_0x666252=_0x581c1c[_0x3be13d(0x1bf)][_0x3be13d(0x12d)];break;case _0x3be13d(0x132):if(_0x1736fb=_0x581c1c[_0x3be13d(0x12e)],!_0x1736fb)return null;_0x666252=_0x1736fb[_0x3be13d(0x12d)];break;case _0x3be13d(0x112):_0x666252=_0x581c1c[_0x3be13d(0x12d)];break;case _0x3be13d(0x1b1):_0x666252=_0x581c1c[_0x3be13d(0xfe)];break;case _0x3be13d(0x1ef):_0x666252=_0x581c1c[_0x3be13d(0x1c7)][_0x3be13d(0x12d)];break;default:return null;}return _0x666252[_0x3be13d(0x182)];}[_0x142698(0x1e8)](_0xdef8be){const _0x45a88b=_0x142698;_0xdef8be[_0x45a88b(0x10e)](_0x18e8ef=>{const _0x2d2ddb=_0x45a88b,_0x2c806b=_0x18e8ef[_0x2d2ddb(0x17c)]();_0x2c806b[_0x2d2ddb(0x1e6)]=_0x18e8ef[_0x2d2ddb(0x1e6)],_0x2c806b[_0x2d2ddb(0x1db)]=!!_0x18e8ef[_0x2d2ddb(0x1db)],_0x2c806b[_0x2d2ddb(0x159)]=_0x18e8ef[_0x2d2ddb(0x159)],_0x2c806b[_0x2d2ddb(0x157)]+=this[_0x2d2ddb(0x1d2)],_0x18e8ef[_0x2d2ddb(0x19d)]&&this[_0x2d2ddb(0x167)][_0x2d2ddb(0x1c6)](_0x2c806b),this[_0x2d2ddb(0x158)][_0x2d2ddb(0x1be)](_0x2c806b);});}[_0x142698(0x135)](_0x403a1b){const _0xcb6ada=_0x142698,_0x442836=this[_0xcb6ada(0x110)][_0xcb6ada(0x1bd)][_0xcb6ada(0x1f2)](_0xcb6ada(0x1bc)),_0x2e199b=this[_0xcb6ada(0x110)][_0xcb6ada(0x184)];_0x403a1b||(_0x403a1b=_0x242cf3(_0x2e199b,_0xcb6ada(0x156))),_0x442836[_0xcb6ada(0x1c3)](_0x403a1b,{'title':_0x242cf3(_0x2e199b,_0xcb6ada(0x113)),'namespace':_0xcb6ada(0x1cc)}),this[_0xcb6ada(0x1c2)]=!0x0,clearTimeout(this[_0xcb6ada(0x194)]),this[_0xcb6ada(0x1e3)]=[],this[_0xcb6ada(0x110)][_0xcb6ada(0x1bd)][_0xcb6ada(0x1f2)](_0x315641)[_0xcb6ada(0x146)]();}[_0x142698(0x1b6)](){const _0x34d12c=_0x142698;this[_0x34d12c(0x1e2)]||(this[_0x34d12c(0x1e2)]=this[_0x34d12c(0x110)][_0x34d12c(0x1bd)][_0x34d12c(0x1f2)](_0x2a85d7)[_0x34d12c(0x1c6)](_0x242cf3(this[_0x34d12c(0x110)][_0x34d12c(0x184)],_0x34d12c(0x1a7))));}[_0x142698(0x1ac)](){const _0x4aabcc=_0x142698;this[_0x4aabcc(0x1e2)]&&(this[_0x4aabcc(0x110)][_0x4aabcc(0x1bd)][_0x4aabcc(0x1f2)](_0x2a85d7)[_0x4aabcc(0x162)](this[_0x4aabcc(0x1e2)]),this[_0x4aabcc(0x1e2)]=null);}[_0x142698(0x1a0)](_0x160807){const _0xc49c48=_0x142698,_0x1f6295=_0x160807[_0xc49c48(0x187)](_0x44c702=>_0x44c702[_0xc49c48(0x17b)]());return this[_0xc49c48(0x109)][_0xc49c48(0x1c0)](_0x1f6295);}[_0x142698(0x189)](_0x2e3730,_0x5415dd){const _0xb3336b=_0x142698;return this[_0xb3336b(0x109)][_0xb3336b(0x16e)](_0x2e3730)[_0xb3336b(0x187)]((_0x1451ef,_0x1b797d)=>{const _0xe9afb4=_0xb3336b,_0xc400d7=_0xe9afb4(0x1d5)==_0x5415dd[_0x1b797d][_0xe9afb4(0x186)];if(_0xe9afb4(0x1d9)==_0x1451ef[_0xe9afb4(0x18a)]){const _0xeca4b5=_0x1451ef[_0xe9afb4(0x1bf)][_0xe9afb4(0x12d)];!this[_0xe9afb4(0x10f)][_0xe9afb4(0x169)](_0xeca4b5)&&(this[_0xe9afb4(0x10f)][_0xe9afb4(0x160)](_0xe9afb4(0x106),_0xeca4b5)[_0xe9afb4(0x142)]=!0x1);}const _0x40960f=_0x4c3971[_0xe9afb4(0x1a6)](_0x1451ef,this[_0xe9afb4(0x10f)]);return _0x40960f[_0xe9afb4(0x1bb)]=_0x1451ef[_0xe9afb4(0x1bb)],_0x40960f[_0xe9afb4(0x1db)]=_0xc400d7,_0x40960f[_0xe9afb4(0x1e6)]=_0xc400d7?null:_0x5415dd[_0x1b797d][_0xe9afb4(0x11f)],_0x40960f[_0xe9afb4(0x19d)]=_0xe9afb4(0x1eb)===_0x5415dd[_0x1b797d][_0xe9afb4(0x186)],_0x40960f[_0xe9afb4(0x159)]=_0x5415dd[_0x1b797d][_0xe9afb4(0x159)],_0x40960f;});}[_0x142698(0x178)](){const _0x41ee2f=_0x142698;this[_0x41ee2f(0x101)]=!0x0,this[_0x41ee2f(0x1d4)]()?this[_0x41ee2f(0x127)]():this[_0x41ee2f(0x101)]=!0x1;}[_0x142698(0x1d4)](){const _0x4a33a7=_0x142698,_0x1facb0=this[_0x4a33a7(0x110)][_0x4a33a7(0x1bd)][_0x4a33a7(0x1f2)](_0x971859)[_0x4a33a7(0x11b)][_0x4a33a7(0x1f2)](this[_0x4a33a7(0x1d7)]);return!this[_0x4a33a7(0x110)][_0x4a33a7(0x19e)]&&!!_0x1facb0&&_0x1facb0[_0x4a33a7(0x1a1)]>0x1&&this[_0x4a33a7(0x101)];}[_0x142698(0x13c)](){const _0x337f0c=_0x142698;return this[_0x337f0c(0x1e3)][_0x337f0c(0x1a1)]>0x0||this[_0x337f0c(0x1d4)]();}}class $ extends Error{}function K(_0x150038,_0x1915a9){const _0x624196=_0x142698;for(const _0x4f0e34 of _0x150038)_0x4f0e34[_0x624196(0x157)]=_0x1915a9++;}function _0x1058(_0x5acf59,_0x1067f5){const _0x269200=_0x2692();return _0x1058=function(_0x10586b,_0xf032ed){_0x10586b=_0x10586b-0xed;let _0x3f17f5=_0x269200[_0x10586b];return _0x3f17f5;},_0x1058(_0x5acf59,_0x1067f5);}class J{[_0x142698(0x136)];[_0x142698(0x137)];constructor(_0x1026e3){const _0x9602e9=_0x142698;this[_0x9602e9(0x136)]=_0x1026e3,this[_0x9602e9(0x137)]=new WeakMap();}[_0x142698(0x1a5)](_0x1c8080){const _0x402d90=_0x142698;let _0x246f9f=_0x1c8080[_0x402d90(0x1a1)];for(;_0x246f9f--;){const _0x50e904=_0x1c8080[_0x246f9f];if(!this[_0x402d90(0x136)][_0x402d90(0x1c8)](_0x50e904)){if(!this[_0x402d90(0x137)][_0x402d90(0x1c8)](_0x50e904)){const _0x24542d=_0x2c3084()[_0x402d90(0x1c1)](0x1,0x12);this[_0x402d90(0x137)][_0x402d90(0x16f)](_0x50e904,_0x24542d);}return this[_0x402d90(0x137)][_0x402d90(0x1f2)](_0x50e904);}}}[_0x142698(0x119)](_0x341a9c,_0x6c08f5){const _0xe215ec=_0x142698;if(!_0x6c08f5)return;let _0x4c7271=_0x341a9c[_0xe215ec(0x1a1)];for(;_0x4c7271--;){const _0x17062b=_0x341a9c[_0x4c7271];this[_0xe215ec(0x136)][_0xe215ec(0x1c8)](_0x17062b)||this[_0xe215ec(0x137)][_0xe215ec(0x16f)](_0x17062b,_0x6c08f5);}}}
23
+ const _0xcfed1f=_0x47d3;(function(_0xf3532a,_0x1ac116){const _0x30b87f=_0x47d3,_0x42aafe=_0xf3532a();while(!![]){try{const _0x46049a=parseInt(_0x30b87f(0xc3))/0x1+parseInt(_0x30b87f(0x196))/0x2+-parseInt(_0x30b87f(0x12e))/0x3*(-parseInt(_0x30b87f(0xab))/0x4)+parseInt(_0x30b87f(0x100))/0x5*(-parseInt(_0x30b87f(0x155))/0x6)+parseInt(_0x30b87f(0x104))/0x7*(parseInt(_0x30b87f(0x142))/0x8)+-parseInt(_0x30b87f(0x109))/0x9+-parseInt(_0x30b87f(0xee))/0xa*(-parseInt(_0x30b87f(0x18c))/0xb);if(_0x46049a===_0x1ac116)break;else _0x42aafe['push'](_0x42aafe['shift']());}catch(_0x4de016){_0x42aafe['push'](_0x42aafe['shift']());}}}(_0x3c90,0x3cc20));function _0x47d3(_0x410b31,_0x499956){const _0x3c9064=_0x3c90();return _0x47d3=function(_0x47d3f1,_0x46d4c5){_0x47d3f1=_0x47d3f1-0xa1;let _0x54d1b5=_0x3c9064[_0x47d3f1];return _0x54d1b5;},_0x47d3(_0x410b31,_0x499956);}import{Plugin as _0x18af1c,PendingActions as _0x41a5ac}from'ckeditor5/src/core.js';import{CKEditorError as _0x36894a,version as _0x5d41a3,uid as _0x5817d0}from'ckeditor5/src/utils.js';import{Notification as _0x353412}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5a17a5,NoOperation as _0x86463b,InsertOperation as _0x33e75c,MarkerOperation as _0x131b16,RootAttributeOperation as _0x234bc6,OperationFactory as _0xc25501,History as _0x86a8bb}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5766cd}from'./websocketgateway.js';import{Sessions as _0x2e3072}from'./sessions.js';import{UserMarkers as _0x7fb4cd}from'./usermarkers.js';import{getTranslation as _0x4295fc}from'../common-translations.js';import{Compressor as _0x5952ce}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x347e05}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1b19e6,CollaborativeEditingService as _0x387e5d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3c90(){const _0x27fe49=['userId','start','config','_disconnectService','setIdForTheLastOperation','includes','initData','_setPendingAction','231762ToFQNJ','serverHistory','_isInit','filter','_waitUntilSynced','cloud-services-internal-error:\x20Request\x20timeout.','high','disableReadOnlyMode','applyOperation','unregister','cloudDocumentVersion','isDocumentOperation','_handleReceivedOperations','wasUndone','rtc-destroyed','InsertOperation','realtimecollaborationclient-init-session-connection-error','history','newRange','enableReadOnlyMode','_hasSynchronizationProblem','Notification','return','model','getMany','lastOperationAcceptedAt','directChange','remove','mySessionId','lastDocumentSession','insert','_knownOperations','addToReconnectionStack','409','_addKnownRoot','locale','disconnect','realtimecollaborationclient-error','Permissions','view','_connectService','collaboration-missing-channelid','length','1000vpqBWI','realtimecollaborationclient-init-non-existent-root','cs:removeUser','showWarning','from','createRoot','_authorId','editing','finally','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleReconnectionResponse','fire','push','operationsReceived','$root','_baseBufferDelay','_isAttached','collaboration','78045vKIxFz','init','add','slice','7qlNRNe','_initSessionsHandling','multi-root-editor-root-attributes-no-root','addUser','_connectAfterSessionHasBeenFlushed','3963789xLTgSO','bind','_crash','404','lastOperationId','requires','realtimecollaborationclient-init-service-incorrect-server-operation','_fetchMissingUsers','_document','_compressOperations','_operationToId','CollaborativeEditingService','addRootAttribute','stopListening','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','size','_isDisconnection','parse','real-time-collaboration','_clearPendingAction','end','off','move','markers','differ','change:range','cloudServices.bundleVersion','selection','getUser','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.','affectsData','_refreshUserSelectionMarkers','realtimecollaborationclient-init-service-internal-error','editor','_bufferRootLoad','apply','306ndHpHc','batch','_hasSelectionChanged','isPremiumPlugin','permissions','_knownRootNames','_compressor','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.','realtimecollaborationclient','connect','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-handleserverresponse','_handleReconnectionError','_getOperationsFromInitData','suppressErrorInCollaboration','reconnect','_operationIdentifier','createUserMarkerOperations','setPermissions','sessionId','1152712UJECCx','connection','_loadRoot','realtimecollaborationclient-init-document-already-initialized','define','_sendBufferedOperationsDelayId','_handleInitialConnectionData','wereChangesApplied','_bufferedOperations','metadata','_service','round','listenTo','root','isUndoneOperation','realtimecollaborationclient-sendbufferedoperations','get','plugins','_disconnectionOperations','138UhWGRN','_shouldSendUpdate','_decompressOperations','cloud-services-internal-error:\x20Not\x20connected.','destroy','string','position','collaboration.channelId','_setUpDataInit','connected','error','stop','attributes','_handleExternalOperations','sessionAdd:','pluginName','_lastServerVersion','addOperation','marker','clone','_isPendingUpdate','change:_isEditingAllowed','removeFromReconnectionStack','version','createdAt','channelSessions','toJSON','_isLoaded','roots','_sendBufferedOperationsDelayed','document:write','_getAffectedRoot','sessionCreatedAt','message','getOperationAuthor','__className','path','reconnection:\x20flushed\x20session','change:_isPendingUpdate','offset','then','getDocumentDetails','rtc-offline','currentDocumentSession','Synchronization\x20issue','keys','isEnabled','_lastSyncedOperationId','has','startsWith','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getConnectedSessions','_handleServerResponse','map','_handleSendingSelectionMarkers','5907vxnAZl','targetPosition','isReadOnly','data','createPositionAt','code','state','lastSyncVersion','set','decompress','380478JpCPyE','_currentBufferDelay','entries','_ignoredOperations','_isEditingAllowed','isOfficialPlugin','rootName','_offset','getOperations','_pendingAction','_sendBufferedOperations','_applyOperationsSet','ready','_isConnected','_channelId','enqueueChange','rootsAttributes','realtimecollaborationclient-init-connection-failed','reset','RealTimeCollaborationClient','loadRoot','createRange','change:hasDomSelection','disconnected','_updateServerHistory','getIdOfTheLastOperation','addRoot','catch','16804gnfJtJ','sendOperations','document','_initThrowingOnDataSet','createPositionFromPath','PENDING_ACTION_SENDING_DATA','compress','fromJSON','register','_saveOperationInBuffer','forEach','CommentsOnly','getRoot','baseVersion','_shouldSendSelectionUpdate','type'];_0x3c90=function(){return _0x27fe49;};return _0x3c90();}let K=0x1;export class RealTimeCollaborationClient extends _0x18af1c{static [_0xcfed1f(0x114)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x387e5d)());[_0xcfed1f(0x19d)];[_0xcfed1f(0x141)];[_0xcfed1f(0xc4)];[_0xcfed1f(0x1a4)];[_0xcfed1f(0x14c)];[_0xcfed1f(0x111)];[_0xcfed1f(0x134)];[_0xcfed1f(0x14a)];[_0xcfed1f(0xe2)];[_0xcfed1f(0x133)];[_0xcfed1f(0x19f)];[_0xcfed1f(0x130)];[_0xcfed1f(0x147)];[_0xcfed1f(0xfd)];[_0xcfed1f(0x197)];[_0xcfed1f(0x184)];[_0xcfed1f(0x154)];[_0xcfed1f(0x13e)];static get[_0xcfed1f(0x10e)](){return[_0x5766cd,_0x2e3072,_0x7fb4cd,_0x41a5ac,_0x347e05,_0x353412];}static get[_0xcfed1f(0x164)](){const _0xa8b00f=_0xcfed1f;return _0xa8b00f(0xa2);}static get[_0xcfed1f(0x19b)](){return!0x0;}static get[_0xcfed1f(0x131)](){return!0x0;}get[_0xcfed1f(0xcd)](){const _0x5c731b=_0xcfed1f;return this[_0x5c731b(0x165)]+this[_0x5c731b(0x19d)];}get[_0xcfed1f(0x165)](){const _0x4de164=_0xcfed1f;return this[_0x4de164(0xc4)][_0x4de164(0x16c)]-this[_0x4de164(0x19d)];}get[_0xcfed1f(0x193)](){const _0xad0366=_0xcfed1f,_0x4c2c15=this[_0xad0366(0xc4)][_0xad0366(0x19e)]();for(let _0x396060=_0x4c2c15[_0xad0366(0xed)]-0x1;_0x396060>=0x0;_0x396060--){const _0x45d268=_0x4c2c15[_0x396060];if(!this[_0xad0366(0x154)][_0xad0366(0x185)](_0x45d268))return _0x45d268[_0xad0366(0xb8)]+0x1-this[_0xad0366(0x19d)];}return 0x0;}constructor(_0x52f846){const _0xe4f4f0=_0xcfed1f;if(super(_0x52f846),this[_0xe4f4f0(0x19d)]=0x0,this[_0xe4f4f0(0x141)]=null,this[_0xe4f4f0(0xc4)]=new _0x86a8bb(),this[_0xe4f4f0(0x12b)][_0xe4f4f0(0xbd)][_0xe4f4f0(0x146)](_0xe4f4f0(0xff),{}),this[_0xe4f4f0(0x1a4)]=this[_0xe4f4f0(0x12b)][_0xe4f4f0(0xbd)][_0xe4f4f0(0x152)](_0xe4f4f0(0x15c)),!this[_0xe4f4f0(0x1a4)])throw new _0x36894a(_0xe4f4f0(0xec),this);const _0x4df8f3=_0x52f846[_0xe4f4f0(0xbd)][_0xe4f4f0(0x152)](_0xe4f4f0(0x124))||_0x5d41a3;this[_0xe4f4f0(0x14c)]=new RealTimeCollaborationClient[(_0xe4f4f0(0x114))](_0x4df8f3,this[_0xe4f4f0(0x1a4)]),this[_0xe4f4f0(0x111)]=this[_0xe4f4f0(0x12b)][_0xe4f4f0(0xda)][_0xe4f4f0(0xad)],this[_0xe4f4f0(0x134)]=new _0x5952ce(),this[_0xe4f4f0(0x14a)]=[],this[_0xe4f4f0(0xe2)]=new WeakSet(),this[_0xe4f4f0(0x133)]=new Set(),this[_0xe4f4f0(0x194)](_0xe4f4f0(0x169),!0x1),this[_0xe4f4f0(0x194)](_0xe4f4f0(0xd7),!0x1),this[_0xe4f4f0(0x19f)]=null,this[_0xe4f4f0(0x130)]=!0x1,this[_0xe4f4f0(0x147)]=null,this[_0xe4f4f0(0xfd)]=0x12c,this[_0xe4f4f0(0x197)]=this[_0xe4f4f0(0xfd)],this[_0xe4f4f0(0x184)]=null,this[_0xe4f4f0(0x154)]=new WeakSet(),this[_0xe4f4f0(0x13e)]=new X(this[_0xe4f4f0(0x154)]);}[_0xcfed1f(0x101)](){const _0x31decd=_0xcfed1f,_0x67f5f4=this[_0x31decd(0x12b)],_0x37f497=_0x67f5f4[_0x31decd(0x153)][_0x31decd(0x152)](_0x347e05),_0xb2d386=_0x67f5f4[_0x31decd(0x153)][_0x31decd(0x152)](_0x5766cd);this[_0x31decd(0x14e)](_0x37f497,_0x31decd(0x177),(_0x241b01,_0x2490e6)=>{const _0x829d4d=_0x31decd,_0x4349cc=_0x2490e6[0x0];_0x4349cc[_0x829d4d(0xf4)]&&(_0x241b01[_0x829d4d(0xd9)]=_0x37f497[_0x829d4d(0x126)](_0x4349cc[_0x829d4d(0xf4)]),_0x241b01[_0x829d4d(0x160)]()),null===_0x4349cc[_0x829d4d(0xf4)]&&(_0x241b01[_0x829d4d(0xd9)]=null,_0x241b01[_0x829d4d(0x160)]());},{'priority':_0x31decd(0xc9)}),this[_0x31decd(0x14e)](_0x67f5f4[_0x31decd(0xda)][_0x31decd(0xad)][_0x31decd(0x125)],_0x31decd(0x123),(_0xf09a05,_0x285c14)=>{const _0x1d90f1=_0x31decd;_0x285c14[_0x1d90f1(0xdd)]&&this[_0x1d90f1(0x129)]();}),this[_0x31decd(0x14e)](_0x67f5f4[_0x31decd(0xf5)][_0x31decd(0xea)],_0x31decd(0xa5),()=>{const _0x25df8c=_0x31decd;this[_0x25df8c(0x129)]();}),this[_0x31decd(0xae)](),_0x67f5f4[_0x31decd(0xda)]['on'](_0x31decd(0xcb),(_0x4ec408,_0x4a68a8)=>{const _0x33147e=_0x31decd,_0x24f9ba=_0x4a68a8[0x0];_0x24f9ba[_0x33147e(0xce)]&&(this[_0x33147e(0xb4)](_0x24f9ba),this[_0x33147e(0x156)]()&&this[_0x33147e(0x172)]());}),this[_0x31decd(0x15d)](),this[_0x31decd(0x10a)](_0x31decd(0x19a))['to'](_0xb2d386,_0x31decd(0x192),this,_0x31decd(0xd7),(_0xf6cc44,_0x3938b9)=>_0x31decd(0x15e)===_0xf6cc44&&!_0x3938b9),this['on'](_0x31decd(0x16a),()=>{const _0x187a1d=_0x31decd;this[_0x187a1d(0x19a)]?_0x67f5f4[_0x187a1d(0xca)](_0x187a1d(0x17f)):_0x67f5f4[_0x187a1d(0xd6)](_0x187a1d(0x17f));}),this[_0x31decd(0x19a)]?_0x67f5f4[_0x31decd(0xca)](_0x31decd(0x17f)):_0x67f5f4[_0x31decd(0xd6)](_0x31decd(0x17f)),this[_0x31decd(0x194)](_0x31decd(0x1a3),!0x1);}async[_0xcfed1f(0x13d)](){const _0x4665b4=_0xcfed1f,_0xdcbeae=this[_0x4665b4(0x12b)][_0x4665b4(0x153)][_0x4665b4(0x152)](_0x2e3072),_0x1e304b=this[_0x4665b4(0x12b)][_0x4665b4(0x153)][_0x4665b4(0x152)](_0x5766cd);try{this[_0x4665b4(0x169)]=!0x0,_0xdcbeae[_0x4665b4(0xcc)](this[_0x4665b4(0x1a4)]);const _0x4436e9=await this[_0x4665b4(0x14c)][_0x4665b4(0x13d)](_0x1e304b[_0x4665b4(0x143)],this[_0x4665b4(0x193)]);await this[_0x4665b4(0xf8)](_0x4436e9)&&(this[_0x4665b4(0x169)]=!0x1,this[_0x4665b4(0x11d)]());const _0x1ffc9e=await this[_0x4665b4(0x14c)][_0x4665b4(0x188)]();_0xdcbeae[_0x4665b4(0xb3)](this[_0x4665b4(0x1a4)],_0x1ffc9e),this[_0x4665b4(0x18b)](),this[_0x4665b4(0x1a3)]=!0x0;}catch(_0x2e3e6f){if(function(_0x5525d2){const _0x23763e=_0x4665b4;return _0x23763e(0x10c)===_0x5525d2[_0x23763e(0x191)];}(_0x2e3e6f)&&this[_0x4665b4(0x141)])await this[_0x4665b4(0x108)]();else{if(function(_0x2f665b){const _0x385f29=_0x4665b4;return _0x385f29(0xe4)===_0x2f665b[_0x385f29(0x191)];}(_0x2e3e6f)){const _0x33fd69=_0x4295fc(this[_0x4665b4(0x12b)][_0x4665b4(0xe6)],_0x4665b4(0x117));this[_0x4665b4(0x13a)](_0x33fd69);}else{if(!(_0x2e3e6f instanceof J))throw _0x2e3e6f;this[_0x4665b4(0x13a)]();}}}}[_0xcfed1f(0x159)](){const _0x6efbdc=_0xcfed1f,_0x23b95d=this[_0x6efbdc(0x12b)][_0x6efbdc(0x153)][_0x6efbdc(0x152)](_0x5766cd),_0x360b6d=this[_0x6efbdc(0x12b)][_0x6efbdc(0x153)][_0x6efbdc(0x152)](_0x2e3072);this[_0x6efbdc(0x12b)][_0x6efbdc(0xd6)](_0x6efbdc(0xd1)),_0x360b6d[_0x6efbdc(0x16e)][_0x6efbdc(0x185)](this[_0x6efbdc(0x1a4)])&&_0x360b6d[_0x6efbdc(0xcc)](this[_0x6efbdc(0x1a4)]),_0x23b95d[_0x6efbdc(0x16b)](this),this[_0x6efbdc(0xbe)](),super[_0x6efbdc(0x159)]();}async[_0xcfed1f(0xf8)](_0x7f45){const _0x3c3664=_0xcfed1f;if(this[_0x3c3664(0x141)]!==_0x7f45[_0x3c3664(0x141)]&&this[_0x3c3664(0x184)]!==_0x7f45[_0x3c3664(0x10d)])throw new J();return this[_0x3c3664(0x141)]=_0x7f45[_0x3c3664(0x141)],this[_0x3c3664(0x189)]([],{..._0x7f45,'wereChangesApplied':!0x1,'data':_0x7f45[_0x3c3664(0x18f)]},_0x3c3664(0x13d));}async[_0xcfed1f(0xeb)](_0x189287,_0x5d9f6c=!0x1){const _0x6f7ea=_0xcfed1f,{connection:_0x5b0cd8}=this[_0x6f7ea(0x12b)][_0x6f7ea(0x153)][_0x6f7ea(0x152)](_0x5766cd);RealTimeCollaborationClient[_0x6f7ea(0x114)][_0x6f7ea(0x188)](_0x5b0cd8,this[_0x6f7ea(0x1a4)])[_0x6f7ea(0x17d)](_0x586431=>this[_0x6f7ea(0x105)](_0x586431))[_0x6f7ea(0xaa)](_0x241f62=>{const _0x31b32b=_0x6f7ea;this[_0x31b32b(0x10b)](_0x31b32b(0xd3),_0x241f62);}),this[_0x6f7ea(0x14e)](this[_0x6f7ea(0x14c)],_0x6f7ea(0xfb),this[_0x6f7ea(0xcf)][_0x6f7ea(0x10a)](this)),this[_0x6f7ea(0x14e)](this[_0x6f7ea(0x14c)],_0x6f7ea(0x15f),(_0x410397,_0x4ca65e)=>{const _0x12c0e3=_0x6f7ea;this[_0x12c0e3(0x10b)](_0x12c0e3(0x12a),_0x4ca65e);}),this[_0x6f7ea(0x14e)](this[_0x6f7ea(0x14c)],_0x6f7ea(0xa6),()=>{const _0x2e490a=_0x6f7ea;this[_0x2e490a(0x1a3)]=!0x1;});const _0x19bdd6=this[_0x6f7ea(0x13e)][_0x6f7ea(0xa8)](_0x189287);this[_0x6f7ea(0x169)]=!0x0;const _0x580804=await this[_0x6f7ea(0x14c)][_0x6f7ea(0x137)](_0x5b0cd8,this[_0x6f7ea(0x112)](_0x189287),_0x19bdd6);if(this[_0x6f7ea(0x141)]=_0x580804[_0x6f7ea(0x141)],_0x5d9f6c){if(!_0x580804[_0x6f7ea(0x149)])return void this[_0x6f7ea(0x13a)]();this[_0x6f7ea(0x169)]=!0x1,this[_0x6f7ea(0x11d)](),this[_0x6f7ea(0xc4)][_0x6f7ea(0xa1)](),this[_0x6f7ea(0x19d)]=_0x580804[_0x6f7ea(0x17c)],this[_0x6f7ea(0xc4)][_0x6f7ea(0x16c)]=this[_0x6f7ea(0x19d)],await this[_0x6f7ea(0x189)](_0x189287,_0x580804,_0x6f7ea(0x17a));}else await this[_0x6f7ea(0x148)](_0x580804,_0x189287);this[_0x6f7ea(0x18b)](),this[_0x6f7ea(0x1a3)]=!0x0;}[_0xcfed1f(0x18b)](){const _0x564f6c=_0xcfed1f,_0x1c0953=this[_0x564f6c(0x12b)][_0x564f6c(0x153)][_0x564f6c(0x152)](_0x2e3072),_0x3e3898=this[_0x564f6c(0x12b)][_0x564f6c(0x153)][_0x564f6c(0x152)](_0x7fb4cd),_0x2c2d3f=_0x1c0953[_0x564f6c(0x16e)][_0x564f6c(0x152)](this[_0x564f6c(0x1a4)]);_0x2c2d3f&&_0x2c2d3f[_0x564f6c(0xed)]>0x1?_0x3e3898[_0x564f6c(0x13f)]():this[_0x564f6c(0x14e)](_0x1c0953,_0x564f6c(0x163)+this[_0x564f6c(0x1a4)],()=>{const _0x4d3caf=_0x564f6c;0x2===_0x1c0953[_0x4d3caf(0x16e)][_0x4d3caf(0x152)](this[_0x4d3caf(0x1a4)])[_0x4d3caf(0xed)]&&_0x3e3898[_0x4d3caf(0x13f)]();});}async[_0xcfed1f(0xcf)](_0x10775e,_0x47190d,_0x5a208a,_0x8f58da){const _0x4a3bb6=_0xcfed1f;if(!this[_0x4a3bb6(0x169)]&&this[_0x4a3bb6(0x111)][_0x4a3bb6(0x16c)]==_0x47190d){const _0x21069b=this[_0x4a3bb6(0x157)](_0x5a208a,_0x8f58da);await this[_0x4a3bb6(0x110)](_0x21069b),this[_0x4a3bb6(0x162)](_0x21069b,_0x47190d,_0x5a208a[_0x4a3bb6(0x10d)])||this[_0x4a3bb6(0x10b)](_0x4a3bb6(0x10f));}}async[_0xcfed1f(0x108)](){const _0x3b1c20=_0xcfed1f;this[_0x3b1c20(0xbe)]();const {locale:_0x290d9b}=this[_0x3b1c20(0x12b)];let _0x2bafc1;try{_0x2bafc1=await this[_0x3b1c20(0x14c)][_0x3b1c20(0x17e)]();}catch{const _0x5e240f=_0x4295fc(_0x290d9b,_0x3b1c20(0xf7));return void this[_0x3b1c20(0x13a)](_0x5e240f);}const _0xcf72d6=_0x2bafc1[_0x3b1c20(0x180)]||_0x2bafc1[_0x3b1c20(0xe0)];if(this[_0x3b1c20(0x184)]!==_0xcf72d6[_0x3b1c20(0x10d)]){const _0x3210de=_0x4295fc(_0x290d9b,_0x3b1c20(0x135));return void this[_0x3b1c20(0x13a)](_0x3210de);}await this[_0x3b1c20(0xeb)](this[_0x3b1c20(0x12b)][_0x3b1c20(0xda)][_0x3b1c20(0xad)][_0x3b1c20(0xd4)][_0x3b1c20(0x19e)](),!0x0);}[_0xcfed1f(0xbe)](){const _0x52f814=_0xcfed1f;this[_0x52f814(0x14c)][_0x52f814(0xe7)](),this[_0x52f814(0x14a)]=[],clearTimeout(this[_0x52f814(0x147)]),this[_0x52f814(0x116)](this[_0x52f814(0x14c)]);}[_0xcfed1f(0x105)](_0x238f7a){const _0x138775=_0xcfed1f,_0x34c446=this[_0x138775(0x12b)][_0x138775(0x153)][_0x138775(0x152)](_0x2e3072);this[_0x138775(0x14e)](_0x34c446,_0x138775(0x163)+this[_0x138775(0x1a4)],(_0x19abcc,{session:_0x114d84})=>{const _0x3106b9=_0x138775;if(_0x114d84['id']===_0x34c446[_0x3106b9(0xdf)]){_0x19abcc[_0x3106b9(0x11f)]();const _0x4f28e3=this[_0x3106b9(0x12b)][_0x3106b9(0x153)][_0x3106b9(0x185)](_0x3106b9(0xb6))&&this[_0x3106b9(0x12b)][_0x3106b9(0x153)][_0x3106b9(0x152)](_0x3106b9(0xb6));let _0x447502=_0x114d84[_0x3106b9(0x132)];_0x4f28e3&&_0x4f28e3[_0x3106b9(0x183)]&&(_0x447502=_0x447502[_0x3106b9(0xc6)](_0x2dee7b=>_0x3106b9(0x173)!==_0x2dee7b)),this[_0x3106b9(0x12b)][_0x3106b9(0x153)][_0x3106b9(0x152)](_0x3106b9(0xe9))[_0x3106b9(0x140)](_0x447502,this[_0x3106b9(0x1a4)]);}}),_0x34c446[_0x138775(0xb3)](this[_0x138775(0x1a4)],_0x238f7a);}[_0xcfed1f(0xae)](){const _0x33f777=_0xcfed1f,_0x214cd6=this[_0x33f777(0x12b)][_0x33f777(0x18f)][_0x33f777(0x194)];this[_0x33f777(0x12b)][_0x33f777(0x18f)][_0x33f777(0x194)]=(..._0x4c78ae)=>{const _0x47d340=_0x33f777;if(!_0x4c78ae[_0x4c78ae[_0x47d340(0xed)]-0x1][_0x47d340(0x13c)])throw new _0x36894a(_0x47d340(0x187),this);_0x214cd6[_0x47d340(0x12d)](this[_0x47d340(0x12b)][_0x47d340(0x18f)],_0x4c78ae);};}[_0xcfed1f(0x15d)](){const _0xf6c062=_0xcfed1f;this[_0xf6c062(0x12b)][_0xf6c062(0x18f)]['on'](_0xf6c062(0x101),(_0x54a082,[_0x53a658])=>{const _0x1596f5=_0xf6c062;if(this[_0x1596f5(0x111)][_0x1596f5(0x16c)])throw new _0x36894a(_0x1596f5(0x145),this);_0x54a082[_0x1596f5(0x160)](),this[_0x1596f5(0xc2)]();const _0x19afb3=this[_0x1596f5(0x12b)][_0x1596f5(0xbd)][_0x1596f5(0x152)](_0x1596f5(0x1a6)),_0x56abad=this[_0x1596f5(0x13b)](_0x53a658,_0x19afb3);0x0==_0x56abad[_0x1596f5(0xed)]&&_0x56abad[_0x1596f5(0xfa)](new _0x86463b(0x0)),_0x54a082[_0x1596f5(0xd9)]=this[_0x1596f5(0xeb)](_0x56abad)[_0x1596f5(0x17d)](()=>{const _0x5b3e20=_0x1596f5;this[_0x5b3e20(0x12b)][_0x5b3e20(0x153)][_0x5b3e20(0x152)](_0x5766cd)[_0x5b3e20(0xe3)](this),this[_0x5b3e20(0x12b)][_0x5b3e20(0x18f)][_0x5b3e20(0xf9)](_0x5b3e20(0x1a2));})[_0x1596f5(0xaa)](_0x317b8e=>this[_0x1596f5(0x10b)](_0x1596f5(0x1a7),_0x317b8e))[_0x1596f5(0xf6)](()=>this[_0x1596f5(0x11d)]());},{'priority':_0xf6c062(0xc9)}),this[_0xf6c062(0x12b)]['on'](_0xf6c062(0xa3),async(_0x286e31,[_0x4c1db1,_0x48f3ff])=>{const _0x1b9c49=_0xf6c062;_0x286e31[_0x1b9c49(0x160)]();const _0x2fa44d=this[_0x1b9c49(0x12b)][_0x1b9c49(0xda)][_0x1b9c49(0xad)][_0x1b9c49(0xb7)](_0x4c1db1);if(!this[_0x1b9c49(0x133)][_0x1b9c49(0x185)](_0x4c1db1)){const _0x100556=_0x48f3ff&&_0x48f3ff[_0x1b9c49(0x18f)]?_0x48f3ff[_0x1b9c49(0x18f)]:'',_0x2f22d1=_0x48f3ff&&_0x48f3ff[_0x1b9c49(0x161)]?_0x48f3ff[_0x1b9c49(0x161)]:{};await this[_0x1b9c49(0x144)](_0x4c1db1,_0x100556,_0x2f22d1);}this[_0x1b9c49(0x12b)][_0x1b9c49(0xda)][_0x1b9c49(0x1a5)]({'isUndoable':!0x1},()=>{const _0x47251e=_0x1b9c49;_0x2fa44d[_0x47251e(0x170)]=!0x0,this[_0x47251e(0x12b)][_0x47251e(0xda)][_0x47251e(0xad)][_0x47251e(0x122)][_0x47251e(0x12c)](_0x2fa44d);});},{'priority':_0xf6c062(0xc9)});}async[_0xcfed1f(0x110)](_0x358978){const _0x134d7d=_0xcfed1f,_0x14cda4=this[_0x134d7d(0x12b)][_0x134d7d(0x153)][_0x134d7d(0x152)](_0x347e05),{connection:_0x34792d}=this[_0x134d7d(0x12b)][_0x134d7d(0x153)][_0x134d7d(0x152)](_0x5766cd),_0x5e2adf=new Set();for(const _0xec89e9 of _0x358978){const _0x45f8ed=_0xec89e9[_0x134d7d(0xf4)];_0x45f8ed&&!_0x14cda4[_0x134d7d(0x126)](_0x45f8ed)&&_0x5e2adf[_0x134d7d(0x102)](_0x45f8ed);}if(0x0===_0x5e2adf[_0x134d7d(0x119)])return;const _0x5efb66=await _0x1b19e6[_0x134d7d(0xdb)](_0x34792d,Array[_0x134d7d(0xf2)](_0x5e2adf));for(const _0x5d5ce4 of _0x5efb66)_0x14cda4[_0x134d7d(0x126)](_0x5d5ce4['id'])||_0x14cda4[_0x134d7d(0x107)](_0x5d5ce4);}[_0xcfed1f(0x13b)](_0x125215,_0x2fa533={}){const _0x8a7246=_0xcfed1f,_0x182dcb=this[_0x8a7246(0x12b)][_0x8a7246(0xda)],_0x59eb22=[];let _0x5be896=0x0;const _0x215fa2=_0x8a7246(0x15a)==typeof _0x125215?{'main':_0x125215}:_0x125215;for(const _0x36ada9 of Object[_0x8a7246(0x182)](_0x215fa2)){if(!this[_0x8a7246(0x111)][_0x8a7246(0x171)][_0x8a7246(0x185)](_0x36ada9))throw new _0x36894a(_0x8a7246(0xef),this);const _0x5aaf54=this[_0x8a7246(0x12b)][_0x8a7246(0x18f)][_0x8a7246(0x11b)](_0x215fa2[_0x36ada9]),_0x3945e0=this[_0x8a7246(0x111)][_0x8a7246(0xb7)](_0x36ada9),_0x1f70f3=new _0x33e75c(_0x182dcb[_0x8a7246(0x190)](_0x3945e0,0x0),_0x5aaf54,_0x5be896++);_0x59eb22[_0x8a7246(0xfa)](_0x1f70f3);for(const [_0x437509,_0x10fc4f]of _0x5aaf54[_0x8a7246(0x121)]){const _0x4e3395=_0x182dcb[_0x8a7246(0xa4)](_0x182dcb[_0x8a7246(0xaf)](_0x3945e0,_0x10fc4f[_0x8a7246(0xbc)][_0x8a7246(0x179)][_0x8a7246(0x103)]()),_0x182dcb[_0x8a7246(0xaf)](_0x3945e0,_0x10fc4f[_0x8a7246(0x11e)][_0x8a7246(0x179)][_0x8a7246(0x103)]())),_0x42babb=new _0x131b16(_0x437509,null,_0x4e3395,_0x182dcb[_0x8a7246(0x121)],!0x0,_0x5be896++);_0x59eb22[_0x8a7246(0xfa)](_0x42babb);}}if(_0x2fa533)for(const [_0x5a76a9,_0x35ea2e]of Object[_0x8a7246(0x198)](_0x2fa533)){const _0x31a14a=_0x182dcb[_0x8a7246(0xad)][_0x8a7246(0xb7)](_0x5a76a9);if(!_0x31a14a)throw new _0x36894a(_0x8a7246(0x106),null);for(const [_0x3537b0,_0x11994d]of Object[_0x8a7246(0x198)](_0x35ea2e))if(null!==_0x11994d){const _0x18a4be=new _0x234bc6(_0x31a14a,_0x3537b0,null,_0x11994d,_0x5be896++);_0x59eb22[_0x8a7246(0xfa)](_0x18a4be);}}return _0x59eb22;}async[_0xcfed1f(0x144)](_0x2f2623,_0x5d8dc6,_0x6ccf58){const _0x11bdd4=_0xcfed1f;this[_0x11bdd4(0x13b)]({[_0x2f2623]:_0x5d8dc6},{[_0x2f2623]:_0x6ccf58})[_0x11bdd4(0xb5)]((_0x32b012,_0x569ff9)=>{const _0xd77f86=_0x11bdd4;_0x32b012[_0xd77f86(0xb8)]=this[_0xd77f86(0x111)][_0xd77f86(0x16c)]+_0x569ff9,_0x32b012[_0xd77f86(0xc5)]=!0x0,this[_0xd77f86(0xb4)](_0x32b012);}),this[_0x11bdd4(0x172)](),await this[_0x11bdd4(0xc7)]();}async[_0xcfed1f(0x148)](_0x18796d,_0x9cbcae){const _0x99a698=_0xcfed1f;let _0x17d760;this[_0x99a698(0x19d)]=_0x18796d[_0x99a698(0x17c)];const _0x4280e9=_0x18796d[_0x99a698(0x149)]&&!_0x18796d[_0x99a698(0xc1)],_0x344ddb=_0x4280e9?0x0:_0x18796d[_0x99a698(0x18f)][_0x99a698(0xb8)];if(_0x9cbcae[_0x99a698(0xb5)](_0x490b15=>{const _0x2ad1e7=_0x99a698;_0x490b15[_0x2ad1e7(0xc5)]=!0x0,_0x490b15[_0x2ad1e7(0x16d)]=_0x18796d[_0x2ad1e7(0x175)],_0x490b15[_0x2ad1e7(0xf4)]=null;}),_0x4280e9)_0x17d760=_0x9cbcae,this[_0x99a698(0x1a1)](_0x17d760,_0x4280e9);else{if(_0x18796d[_0x99a698(0xc1)]){const _0x5405c0=this[_0x99a698(0x13b)](_0x18796d[_0x99a698(0xc1)]);this[_0x99a698(0x111)][_0x99a698(0xd4)][_0x99a698(0x16c)]=-_0x5405c0[_0x99a698(0xed)],_0x5405c0[_0x99a698(0xb5)](_0xf30a05=>{const _0x34a61c=_0x99a698;_0xf30a05[_0x34a61c(0xb8)]-=_0x5405c0[_0x34a61c(0xed)],_0xf30a05[_0x34a61c(0x16d)]=_0x18796d[_0x34a61c(0x175)],_0xf30a05[_0x34a61c(0xc5)]=!0x0,_0xf30a05[_0x34a61c(0xf4)]=null;}),this[_0x99a698(0x1a1)](_0x5405c0,!0x0),this[_0x99a698(0xc4)][_0x99a698(0x16c)]=-_0x5405c0[_0x99a698(0xed)]+this[_0x99a698(0x19d)],this[_0x99a698(0xa7)](_0x5405c0);}this[_0x99a698(0x111)][_0x99a698(0xd4)][_0x99a698(0x16c)]=_0x344ddb,_0x17d760=this[_0x99a698(0x157)](_0x18796d[_0x99a698(0x18f)],_0x18796d[_0x99a698(0x14b)]),await this[_0x99a698(0x110)](_0x17d760),this[_0x99a698(0x1a1)](_0x17d760,_0x4280e9);}_0x18796d[_0x99a698(0x10d)]&&(this[_0x99a698(0x13e)][_0x99a698(0xbf)](_0x17d760,_0x18796d[_0x99a698(0x10d)]),this[_0x99a698(0x184)]=_0x18796d[_0x99a698(0x10d)]),this[_0x99a698(0xc4)][_0x99a698(0x16c)]=_0x344ddb+this[_0x99a698(0x19d)],this[_0x99a698(0xa7)](_0x17d760),_0x9cbcae[_0x99a698(0xc6)](_0x5dc9b2=>{const _0x3827bd=_0x99a698,_0x43623f=this[_0x3827bd(0x174)](_0x5dc9b2);return _0x43623f&&!this[_0x3827bd(0x133)][_0x3827bd(0x185)](_0x43623f);})[_0x99a698(0xb5)]((_0xd67802,_0x1708e3)=>{const _0x2e507f=_0x99a698;_0xd67802[_0x2e507f(0xb8)]=this[_0x2e507f(0x111)][_0x2e507f(0x16c)]+_0x1708e3,this[_0x2e507f(0xb4)](_0xd67802);}),this[_0x99a698(0x156)]()?(this[_0x99a698(0x197)]=0x0,this[_0x99a698(0x172)](!0x0),await this[_0x99a698(0xc7)]()):(this[_0x99a698(0x169)]=!0x1,this[_0x99a698(0x11d)]());}[_0xcfed1f(0x10b)](_0x5422b2,_0x1c2e93){const _0x8ce2db=_0xcfed1f,_0x316cc8=_0x1c2e93&&_0x1c2e93[_0x8ce2db(0x176)];if(_0x316cc8&&_0x316cc8[_0x8ce2db(0x186)](_0x8ce2db(0x136)))throw _0x1c2e93;const _0x29821c=this[_0x8ce2db(0x12b)][_0x8ce2db(0x153)][_0x8ce2db(0x152)](_0x5766cd);throw this[_0x8ce2db(0x169)]=!0x0,_0x29821c[_0x8ce2db(0xe7)](),this[_0x8ce2db(0x12b)][_0x8ce2db(0xd6)](_0x8ce2db(0xe8)),new _0x36894a(_0x5422b2,this[_0x8ce2db(0x12b)],_0x316cc8?{'originalError':_0x316cc8}:void 0x0);}[_0xcfed1f(0xb4)](_0xb27b83){const _0x5018cc=_0xcfed1f;this[_0x5018cc(0xe2)][_0x5018cc(0x185)](_0xb27b83)||(this[_0x5018cc(0xe2)][_0x5018cc(0x102)](_0xb27b83),this[_0x5018cc(0x14a)][_0x5018cc(0xfa)](_0xb27b83),this[_0x5018cc(0x19f)]||_0x5018cc(0x167)==_0xb27b83[_0x5018cc(0xba)]&&!_0xb27b83[_0x5018cc(0x128)]||this[_0x5018cc(0xc2)]());}[_0xcfed1f(0x172)](_0x11fb21=!0x1){const _0x40ade8=_0xcfed1f;!_0x11fb21&&this[_0x40ade8(0x169)]||(this[_0x40ade8(0x169)]=!0x0,clearTimeout(this[_0x40ade8(0x147)]),this[_0x40ade8(0x147)]=setTimeout(()=>{const _0x48cdd7=_0x40ade8;this[_0x48cdd7(0x1a0)]()[_0x48cdd7(0x17d)](_0x2e9f32=>{const _0x2b0399=_0x48cdd7;_0x2e9f32&&(this[_0x2b0399(0x11d)](),this[_0x2b0399(0x169)]=!0x1);})[_0x48cdd7(0xaa)](_0x206782=>{const _0x1df21d=_0x48cdd7;this[_0x1df21d(0x11d)](),this[_0x1df21d(0x169)]=!0x1,function(_0x14aaef){const _0x138e22=_0x1df21d;return _0x14aaef[_0x138e22(0x176)][_0x138e22(0x186)](_0x138e22(0x158))||_0x14aaef[_0x138e22(0x176)][_0x138e22(0x186)](_0x138e22(0x138))||_0x14aaef[_0x138e22(0x176)][_0x138e22(0x186)](_0x138e22(0xc8));}(_0x206782)||this[_0x1df21d(0x10b)](_0x206782[_0x1df21d(0x176)],_0x206782);});},this[_0x40ade8(0x197)]));}[_0xcfed1f(0xc7)](){return new Promise(_0x115bf3=>{const _0x375cd4=_0x47d3;this['on'](_0x375cd4(0x17b),()=>{_0x115bf3();});});}async[_0xcfed1f(0x1a0)](){const _0x224f48=_0xcfed1f,_0x4bff0e=this[_0x224f48(0x12b)][_0x224f48(0x153)][_0x224f48(0x152)](_0x7fb4cd);if(this[_0x224f48(0xb9)]()&&(_0x4bff0e[_0x224f48(0x13f)](),this[_0x224f48(0x130)]=!0x1),!this[_0x224f48(0x156)]())return!0x0;const _0x45019c=[...this[_0x224f48(0x14a)]];for(const _0x32b98c of _0x45019c)_0x32b98c[_0x224f48(0xd0)]=this[_0x224f48(0x111)][_0x224f48(0xd4)][_0x224f48(0x150)](_0x32b98c);const _0x37b0a7=this[_0x224f48(0x13e)][_0x224f48(0xa8)](_0x45019c),_0x8e4505=K++,_0x1e3581=this[_0x224f48(0x112)](_0x45019c),_0x11bb7e=await this[_0x224f48(0x14c)][_0x224f48(0xac)](_0x1e3581,_0x1e3581[_0x224f48(0xb8)],_0x37b0a7);try{return await this[_0x224f48(0x189)](_0x45019c,_0x11bb7e,_0x8e4505);}catch(_0x4821cd){return this[_0x224f48(0x10b)](_0x224f48(0x151),_0x4821cd);}}async[_0xcfed1f(0x189)](_0x404ef8,_0x718c34,_0x588853){const _0x30b097=_0xcfed1f;if(_0x30b097(0x15f)in _0x718c34)throw _0x718c34[_0x30b097(0x15f)];let _0x525768=!0x1;if(_0x718c34[_0x30b097(0x149)]){_0x718c34[_0x30b097(0x10d)]&&(this[_0x30b097(0x184)]=_0x718c34[_0x30b097(0x10d)]),this[_0x30b097(0x14a)]=this[_0x30b097(0x14a)][_0x30b097(0xc6)](_0x3b232e=>!_0x404ef8[_0x30b097(0xc0)](_0x3b232e));for(const _0x1f0b53 of _0x404ef8)_0x1f0b53[_0x30b097(0x16d)]=_0x30b097(0xdc)in _0x718c34&&_0x718c34[_0x30b097(0xdc)]||void 0x0;Q(_0x404ef8,_0x718c34[_0x30b097(0x16c)]-_0x404ef8[_0x30b097(0xed)]),this[_0x30b097(0xa7)](_0x404ef8);const _0x169d7a=_0x404ef8[_0x30b097(0xc6)](_0x2eb885=>{const _0x239471=_0x30b097;if(!_0x2eb885[_0x239471(0xc5)])return!0x1;const _0x163842=this[_0x239471(0x174)](_0x2eb885);return _0x163842&&!this[_0x239471(0x133)][_0x239471(0x185)](_0x163842);});Q(_0x169d7a,this[_0x30b097(0x111)][_0x30b097(0x16c)]),this[_0x30b097(0x1a1)](_0x169d7a),_0x525768=!0x0,this[_0x30b097(0x197)]=this[_0x30b097(0xfd)];}else{const _0x583d1d=this[_0x30b097(0x157)](_0x718c34[_0x30b097(0x18f)],_0x718c34[_0x30b097(0x14b)])[_0x30b097(0xc6)](_0x4c5ec2=>_0x4c5ec2[_0x30b097(0xb8)]>=this[_0x30b097(0x165)]);_0x583d1d[_0x30b097(0xb5)](_0x3cb7a0=>this[_0x30b097(0xe5)](_0x3cb7a0)),this[_0x30b097(0x14a)]=this[_0x30b097(0x14a)][_0x30b097(0xc6)](_0x54d603=>!_0x54d603[_0x30b097(0xc5)]||!this[_0x30b097(0x133)][_0x30b097(0x185)](this[_0x30b097(0x174)](_0x54d603))),this[_0x30b097(0x14a)][_0x30b097(0xed)]&&Q(this[_0x30b097(0x14a)],this[_0x30b097(0x14a)][0x0][_0x30b097(0xb8)]),await this[_0x30b097(0x110)](_0x583d1d),_0x525768=this[_0x30b097(0x162)](_0x583d1d,_0x718c34[_0x30b097(0x16c)],_0x718c34[_0x30b097(0x10d)]),this[_0x30b097(0x197)]=Math[_0x30b097(0x14d)](this[_0x30b097(0x197)]/0x2);}return _0x525768?!this[_0x30b097(0x156)]()||(this[_0x30b097(0x172)](!0x0),!0x1):this[_0x30b097(0x10b)](_0x30b097(0x139));}[_0xcfed1f(0x162)](_0x3b5230,_0x4e4883,_0x19fc97){const _0x3e80a4=_0xcfed1f;try{const _0x26e78c={'document':this[_0x3e80a4(0x111)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1746c0,operationsB:_0x1e7af0,originalOperations:_0x2df1dc}=_0x5a17a5(_0x3b5230,this[_0x3e80a4(0x14a)],_0x26e78c);Q(_0x1746c0,this[_0x3e80a4(0x111)][_0x3e80a4(0x16c)]),Q(_0x1e7af0,_0x4e4883);for(const _0x5d4270 of _0x1746c0){const _0x46e614=_0x2df1dc[_0x3e80a4(0x152)](_0x5d4270);_0x5d4270[_0x3e80a4(0xf4)]=_0x46e614?_0x46e614[_0x3e80a4(0xf4)]:null;}_0x19fc97&&(this[_0x3e80a4(0x13e)][_0x3e80a4(0xbf)](_0x3b5230,_0x19fc97),this[_0x3e80a4(0x184)]=_0x19fc97),this[_0x3e80a4(0x14a)]=[..._0x1e7af0],this[_0x3e80a4(0x1a1)](_0x1746c0),this[_0x3e80a4(0xa7)](_0x3b5230);}catch(_0x5a4a02){return console[_0x3e80a4(0x15f)](_0x5a4a02),!0x1;}return!0x0;}[_0xcfed1f(0x1a1)](_0x2d0c07,_0x5ec7b3=!0x1){const _0x1ebf2d=_0xcfed1f;this[_0x1ebf2d(0x12b)][_0x1ebf2d(0xda)][_0x1ebf2d(0x1a5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x429333=>{const _0x55ab74=_0x1ebf2d;for(const _0x1709ad of _0x2d0c07)this[_0x55ab74(0xe2)][_0x55ab74(0x102)](_0x1709ad),this[_0x55ab74(0xe5)](_0x1709ad),_0x429333[_0x55ab74(0x12f)][_0x55ab74(0x166)](_0x1709ad),this[_0x55ab74(0x12b)][_0x55ab74(0xda)][_0x55ab74(0xcb)](_0x1709ad);});}[_0xcfed1f(0xe5)](_0x5cf664){const _0x153c54=_0xcfed1f,_0x411ba3=this[_0x153c54(0x174)](_0x5cf664);_0x411ba3&&this[_0x153c54(0x133)][_0x153c54(0x102)](_0x411ba3);}[_0xcfed1f(0x174)](_0x15e706){const _0x327306=_0xcfed1f;let _0x247e62,_0x3ef503;switch(_0x15e706[_0x327306(0xba)]){case _0x327306(0xe1):_0x247e62=_0x15e706[_0x327306(0x15b)][_0x327306(0x14f)];break;case _0x327306(0x167):if(_0x3ef503=_0x15e706[_0x327306(0xd5)],!_0x3ef503)return null;_0x247e62=_0x3ef503[_0x327306(0x14f)];break;case _0x327306(0x115):_0x247e62=_0x15e706[_0x327306(0x14f)];break;case _0x327306(0xa9):_0x247e62=_0x15e706[_0x327306(0x118)];break;case _0x327306(0x120):_0x247e62=_0x15e706[_0x327306(0x18d)][_0x327306(0x14f)];break;default:return null;}return _0x247e62[_0x327306(0x19c)];}[_0xcfed1f(0xa7)](_0x3af9a4){const _0x2466d7=_0xcfed1f;_0x3af9a4[_0x2466d7(0xb5)](_0x2385c4=>{const _0x59f2f4=_0x2466d7,_0x5bc44f=_0x2385c4[_0x59f2f4(0x168)]();_0x5bc44f[_0x59f2f4(0xf4)]=_0x2385c4[_0x59f2f4(0xf4)],_0x5bc44f[_0x59f2f4(0xc5)]=!!_0x2385c4[_0x59f2f4(0xc5)],_0x5bc44f[_0x59f2f4(0x16d)]=_0x2385c4[_0x59f2f4(0x16d)],_0x5bc44f[_0x59f2f4(0xb8)]+=this[_0x59f2f4(0x19d)],_0x2385c4[_0x59f2f4(0x11a)]&&this[_0x59f2f4(0x154)][_0x59f2f4(0x102)](_0x5bc44f),this[_0x59f2f4(0xc4)][_0x59f2f4(0x166)](_0x5bc44f);});}[_0xcfed1f(0x13a)](_0x20e45a){const _0x398bf9=_0xcfed1f,_0x3eeebe=this[_0x398bf9(0x12b)][_0x398bf9(0x153)][_0x398bf9(0x152)](_0x398bf9(0xd8)),_0x4d4f03=this[_0x398bf9(0x12b)][_0x398bf9(0xe6)];_0x20e45a||(_0x20e45a=_0x4295fc(_0x4d4f03,_0x398bf9(0x127))),_0x3eeebe[_0x398bf9(0xf1)](_0x20e45a,{'title':_0x4295fc(_0x4d4f03,_0x398bf9(0x181)),'namespace':_0x398bf9(0x11c)}),this[_0x398bf9(0xd7)]=!0x0,clearTimeout(this[_0x398bf9(0x147)]),this[_0x398bf9(0x14a)]=[],this[_0x398bf9(0x12b)][_0x398bf9(0x153)][_0x398bf9(0x152)](_0x5766cd)[_0x398bf9(0xe7)]();}[_0xcfed1f(0xc2)](){const _0x4e4924=_0xcfed1f;this[_0x4e4924(0x19f)]||(this[_0x4e4924(0x19f)]=this[_0x4e4924(0x12b)][_0x4e4924(0x153)][_0x4e4924(0x152)](_0x41a5ac)[_0x4e4924(0x102)](_0x4295fc(this[_0x4e4924(0x12b)][_0x4e4924(0xe6)],_0x4e4924(0xb0))));}[_0xcfed1f(0x11d)](){const _0x274962=_0xcfed1f;this[_0x274962(0x19f)]&&(this[_0x274962(0x12b)][_0x274962(0x153)][_0x274962(0x152)](_0x41a5ac)[_0x274962(0xde)](this[_0x274962(0x19f)]),this[_0x274962(0x19f)]=null);}[_0xcfed1f(0x112)](_0x427658){const _0x1c7ef4=_0xcfed1f,_0x70a12f=_0x427658[_0x1c7ef4(0x18a)](_0x14c37a=>_0x14c37a[_0x1c7ef4(0x16f)]());return this[_0x1c7ef4(0x134)][_0x1c7ef4(0xb1)](_0x70a12f);}[_0xcfed1f(0x157)](_0x1dfd5c,_0x24ba00){const _0x5cc19a=_0xcfed1f;return this[_0x5cc19a(0x134)][_0x5cc19a(0x195)](_0x1dfd5c)[_0x5cc19a(0x18a)]((_0x3e7df6,_0x2bb610)=>{const _0x5a4b05=_0x5cc19a,_0xdd6549=_0x5a4b05(0x101)==_0x24ba00[_0x2bb610][_0x5a4b05(0xba)];if(_0x5a4b05(0xd2)==_0x3e7df6[_0x5a4b05(0x178)]){const _0x3f61dc=_0x3e7df6[_0x5a4b05(0x15b)][_0x5a4b05(0x14f)];!this[_0x5a4b05(0x111)][_0x5a4b05(0xb7)](_0x3f61dc)&&(this[_0x5a4b05(0x111)][_0x5a4b05(0xf3)](_0x5a4b05(0xfc),_0x3f61dc)[_0x5a4b05(0xfe)]=!0x1);}const _0x461339=_0xc25501[_0x5a4b05(0xb2)](_0x3e7df6,this[_0x5a4b05(0x111)]);return _0x461339[_0x5a4b05(0xd0)]=_0x3e7df6[_0x5a4b05(0xd0)],_0x461339[_0x5a4b05(0xc5)]=_0xdd6549,_0x461339[_0x5a4b05(0xf4)]=_0xdd6549?null:_0x24ba00[_0x2bb610][_0x5a4b05(0xbb)],_0x461339[_0x5a4b05(0x11a)]=_0x5a4b05(0xf0)===_0x24ba00[_0x2bb610][_0x5a4b05(0xba)],_0x461339[_0x5a4b05(0x16d)]=_0x24ba00[_0x2bb610][_0x5a4b05(0x16d)],_0x461339;});}[_0xcfed1f(0x129)](){const _0x593aee=_0xcfed1f;this[_0x593aee(0x130)]=!0x0,this[_0x593aee(0xb9)]()?this[_0x593aee(0x172)]():this[_0x593aee(0x130)]=!0x1;}[_0xcfed1f(0xb9)](){const _0x51ff8c=_0xcfed1f,_0x4e975f=this[_0x51ff8c(0x12b)][_0x51ff8c(0x153)][_0x51ff8c(0x152)](_0x2e3072)[_0x51ff8c(0x16e)][_0x51ff8c(0x152)](this[_0x51ff8c(0x1a4)]);return!this[_0x51ff8c(0x12b)][_0x51ff8c(0x18e)]&&!!_0x4e975f&&_0x4e975f[_0x51ff8c(0xed)]>0x1&&this[_0x51ff8c(0x130)];}[_0xcfed1f(0x156)](){const _0x5ef03f=_0xcfed1f;return this[_0x5ef03f(0x14a)][_0x5ef03f(0xed)]>0x0||this[_0x5ef03f(0xb9)]();}}class J extends Error{}function Q(_0x39eb7d,_0x57d8d5){const _0xb9f13e=_0xcfed1f;for(const _0x977871 of _0x39eb7d)_0x977871[_0xb9f13e(0xb8)]=_0x57d8d5++;}class X{[_0xcfed1f(0x199)];[_0xcfed1f(0x113)];constructor(_0x240b94){const _0x1e0be0=_0xcfed1f;this[_0x1e0be0(0x199)]=_0x240b94,this[_0x1e0be0(0x113)]=new WeakMap();}[_0xcfed1f(0xa8)](_0x1fda4b){const _0x2a5e1c=_0xcfed1f;let _0x473660=_0x1fda4b[_0x2a5e1c(0xed)];for(;_0x473660--;){const _0x395d95=_0x1fda4b[_0x473660];if(!this[_0x2a5e1c(0x199)][_0x2a5e1c(0x185)](_0x395d95)){if(!this[_0x2a5e1c(0x113)][_0x2a5e1c(0x185)](_0x395d95)){const _0x3c645d=_0x5817d0()[_0x2a5e1c(0x103)](0x1,0x12);this[_0x2a5e1c(0x113)][_0x2a5e1c(0x194)](_0x395d95,_0x3c645d);}return this[_0x2a5e1c(0x113)][_0x2a5e1c(0x152)](_0x395d95);}}}[_0xcfed1f(0xbf)](_0x4f65e3,_0x4d56b6){const _0x4e5165=_0xcfed1f;if(!_0x4d56b6)return;let _0x4ace4e=_0x4f65e3[_0x4e5165(0xed)];for(;_0x4ace4e--;){const _0x1f2d21=_0x4f65e3[_0x4ace4e];this[_0x4e5165(0x199)][_0x4e5165(0x185)](_0x1f2d21)||this[_0x4e5165(0x113)][_0x4e5165(0x194)](_0x1f2d21,_0x4d56b6);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bbd3f=_0x3efa;(function(_0x57f44c,_0x289fdb){const _0x378b76=_0x3efa,_0x41feef=_0x57f44c();while(!![]){try{const _0x1b7f6e=parseInt(_0x378b76(0x18d))/0x1+-parseInt(_0x378b76(0x183))/0x2*(-parseInt(_0x378b76(0x187))/0x3)+-parseInt(_0x378b76(0x1a5))/0x4+parseInt(_0x378b76(0x194))/0x5+parseInt(_0x378b76(0x1a8))/0x6+-parseInt(_0x378b76(0x178))/0x7+parseInt(_0x378b76(0x171))/0x8*(-parseInt(_0x378b76(0x1a6))/0x9);if(_0x1b7f6e===_0x289fdb)break;else _0x41feef['push'](_0x41feef['shift']());}catch(_0x3c28ea){_0x41feef['push'](_0x41feef['shift']());}}}(_0xb8c9,0x933c0));import{ContextPlugin as _0x3cd457}from'ckeditor5/src/core.js';import{Collection as _0x1adec7,CKEditorError as _0x14e4d8}from'ckeditor5/src/utils.js';function _0x3efa(_0x47ae08,_0x2b8e3b){const _0xb8c9bb=_0xb8c9();return _0x3efa=function(_0x3efacb,_0x486540){_0x3efacb=_0x3efacb-0x16b;let _0x5a626a=_0xb8c9bb[_0x3efacb];return _0x5a626a;},_0x3efa(_0x47ae08,_0x2b8e3b);}function _0xb8c9(){const _0x2968ae=['isPremiumPlugin','410092BErbAO','4707SgMoXl','plugins','138258ycLIjI','fire','forEach','sessionId','allConnectedUsers','assign','role','4936wPVKHJ','remove','get','clear','_uniqueUsersCount','getUser','add','4658437GHDFOK','isOfficialPlugin','delete','getUserBySessionId','getUserSessions','register','hiddenInPresenceList','isMe','_handleSessionRemove','user','unregister','78syAPan','connection','defineMe','set','35439lVMrrW','values','pluginName','context','Sessions','channelConnectedUsers','400998XQpzog','_handleSessionAdd','_registeredSessions','requires','state','orderNumber','sessions-unregister-not-exist','4045145uteedV','change:state','has','listenTo','size','connected','stopListening','addUser','init','sessionAdd:','getUserRole','_users','_createUser','mySessionId','channelSessions','sessions-register-already-registered'];_0xb8c9=function(){return _0x2968ae;};return _0xb8c9();}import{WebSocketGateway as _0x3a3ec2}from'./websocketgateway.js';import{Users as _0x2462a1}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3cd457{[_0x1bbd3f(0x1a2)];[_0x1bbd3f(0x18c)];[_0x1bbd3f(0x16e)];[_0x1bbd3f(0x18f)];[_0x1bbd3f(0x175)];[_0x1bbd3f(0x19f)];static get[_0x1bbd3f(0x189)](){const _0x42f716=_0x1bbd3f;return _0x42f716(0x18b);}static get[_0x1bbd3f(0x179)](){return!0x0;}static get[_0x1bbd3f(0x1a4)](){return!0x0;}static get[_0x1bbd3f(0x190)](){return[_0x3a3ec2,_0x2462a1];}constructor(_0x58100e){const _0x3d666e=_0x1bbd3f;super(_0x58100e),this[_0x3d666e(0x1a2)]=new Map(),this[_0x3d666e(0x18c)]=new Map(),this[_0x3d666e(0x16e)]=new _0x1adec7(),this[_0x3d666e(0x18f)]=new Map(),this[_0x3d666e(0x175)]=0x0,this[_0x3d666e(0x19f)]=this[_0x3d666e(0x18a)][_0x3d666e(0x1a7)][_0x3d666e(0x173)](_0x2462a1);}[_0x1bbd3f(0x19c)](){const _0x4114b4=_0x1bbd3f,_0x18446c=this[_0x4114b4(0x18a)][_0x4114b4(0x1a7)][_0x4114b4(0x173)](_0x3a3ec2);this[_0x4114b4(0x197)](_0x18446c,_0x4114b4(0x195),(_0x520b9b,_0x62a7e6,_0x12c67e)=>{const _0x5a5aef=_0x4114b4;if(_0x5a5aef(0x199)!==_0x12c67e)this[_0x5a5aef(0x1a2)][_0x5a5aef(0x16c)](_0x333cae=>_0x333cae[_0x5a5aef(0x174)]()),this[_0x5a5aef(0x18c)][_0x5a5aef(0x16c)](_0x4db512=>_0x4db512[_0x5a5aef(0x174)]()),this[_0x5a5aef(0x16e)][_0x5a5aef(0x174)]();else{for(const [_0x10b0a8,_0x4cefe9]of this[_0x5a5aef(0x18f)])for(const _0x489979 of _0x4cefe9)this[_0x5a5aef(0x18e)](_0x10b0a8,_0x489979);}}),this[_0x4114b4(0x1a0)](_0x18446c[_0x4114b4(0x184)]['me'],!0x0);}[_0x1bbd3f(0x17d)](_0x1852a5,_0xa3c4ac){const _0x2532b2=_0x1bbd3f;if(this[_0x2532b2(0x18f)][_0x2532b2(0x196)](_0x1852a5))throw new _0x14e4d8(_0x2532b2(0x1a3),null,{'channelId':_0x1852a5});this[_0x2532b2(0x18f)][_0x2532b2(0x186)](_0x1852a5,_0xa3c4ac),this[_0x2532b2(0x1a2)][_0x2532b2(0x186)](_0x1852a5,new _0x1adec7()),this[_0x2532b2(0x18c)][_0x2532b2(0x186)](_0x1852a5,new _0x1adec7()),this[_0x2532b2(0x197)](_0xa3c4ac,_0x2532b2(0x177),(_0x36683a,_0x138e9c)=>this[_0x2532b2(0x18e)](_0x1852a5,_0x138e9c)),this[_0x2532b2(0x197)](_0xa3c4ac,_0x2532b2(0x172),(_0x44ae72,_0x1905d9)=>this[_0x2532b2(0x180)](_0x1852a5,_0x1905d9));for(const _0x1ad374 of _0xa3c4ac)this[_0x2532b2(0x18e)](_0x1852a5,_0x1ad374);}[_0x1bbd3f(0x182)](_0x53d9eb){const _0xa389fe=_0x1bbd3f;if(!this[_0xa389fe(0x18f)][_0xa389fe(0x196)](_0x53d9eb))throw new _0x14e4d8(_0xa389fe(0x193),null,{'channelId':_0x53d9eb});const _0x4e32cb=this[_0xa389fe(0x18f)][_0xa389fe(0x173)](_0x53d9eb);this[_0xa389fe(0x19a)](_0x4e32cb);for(const _0x3832a7 of _0x4e32cb)_0xa389fe(0x199)===this[_0xa389fe(0x18a)][_0xa389fe(0x1a7)][_0xa389fe(0x173)](_0x3a3ec2)[_0xa389fe(0x191)]&&this[_0xa389fe(0x180)](_0x53d9eb,_0x3832a7);this[_0xa389fe(0x18f)][_0xa389fe(0x17a)](_0x53d9eb),this[_0xa389fe(0x1a2)][_0xa389fe(0x17a)](_0x53d9eb),this[_0xa389fe(0x18c)][_0xa389fe(0x17a)](_0x53d9eb);}get[_0x1bbd3f(0x1a1)](){const _0x1433b6=_0x1bbd3f;return this[_0x1433b6(0x18a)][_0x1433b6(0x1a7)][_0x1433b6(0x173)](_0x3a3ec2)[_0x1433b6(0x184)][_0x1433b6(0x16d)];}[_0x1bbd3f(0x17b)](_0x345f07){const _0x5aa9f4=_0x1bbd3f;for(const _0x43476f of this[_0x5aa9f4(0x1a2)][_0x5aa9f4(0x188)]())for(const _0x469ce7 of _0x43476f)if(_0x469ce7['id']===_0x345f07)return _0x469ce7[_0x5aa9f4(0x181)];}[_0x1bbd3f(0x17c)](_0x5e31cc,_0x50389){const _0x5a695a=_0x1bbd3f,_0x2f27d7=_0x50389?[this[_0x5a695a(0x1a2)][_0x5a695a(0x173)](_0x50389)]:this[_0x5a695a(0x1a2)][_0x5a695a(0x188)](),_0x5782ca=new Set();for(const _0x1785bd of _0x2f27d7)for(const _0x321d4c of _0x1785bd)_0x321d4c[_0x5a695a(0x181)]['id']===_0x5e31cc['id']&&_0x5782ca[_0x5a695a(0x177)](_0x321d4c['id']);return _0x5782ca;}[_0x1bbd3f(0x19e)](_0x2fb177){const _0x41a6d6=_0x1bbd3f;for(const _0x27600c of this[_0x41a6d6(0x1a2)][_0x41a6d6(0x188)]())for(const _0x3d5a2e of _0x27600c)if(_0x3d5a2e[_0x41a6d6(0x181)]===_0x2fb177)return _0x3d5a2e[_0x41a6d6(0x170)];}[_0x1bbd3f(0x18e)](_0x3e9273,_0x4fb870){const _0x28198d=_0x1bbd3f;if(_0x28198d(0x199)!==this[_0x28198d(0x18a)][_0x28198d(0x1a7)][_0x28198d(0x173)](_0x3a3ec2)[_0x28198d(0x191)])return;const _0x496e71=_0x4fb870[_0x28198d(0x181)],_0x7e54ef=this[_0x28198d(0x19f)][_0x28198d(0x176)](_0x496e71['id'])||this[_0x28198d(0x1a0)](_0x496e71),_0x21cff3=Object[_0x28198d(0x16f)]({},_0x4fb870,{'user':_0x7e54ef});if(this[_0x28198d(0x1a2)][_0x28198d(0x173)](_0x3e9273)[_0x28198d(0x177)](_0x21cff3),!_0x496e71[_0x28198d(0x17e)]){const _0x6d5f5a=this[_0x28198d(0x18c)][_0x28198d(0x173)](_0x3e9273);_0x6d5f5a[_0x28198d(0x196)](_0x7e54ef['id'])||_0x6d5f5a[_0x28198d(0x177)](_0x7e54ef),this[_0x28198d(0x16e)][_0x28198d(0x196)](_0x7e54ef['id'])||_0x496e71[_0x28198d(0x17e)]||this[_0x28198d(0x16e)][_0x28198d(0x177)](_0x7e54ef,_0x7e54ef[_0x28198d(0x17f)]?0x0:void 0x0);}this[_0x28198d(0x16b)](_0x28198d(0x19d)+_0x3e9273,{'channelId':_0x3e9273,'session':_0x21cff3});}[_0x1bbd3f(0x180)](_0xc73a12,_0x3bb1a7){const _0x2da6ca=_0x1bbd3f;if(_0x2da6ca(0x199)!==this[_0x2da6ca(0x18a)][_0x2da6ca(0x1a7)][_0x2da6ca(0x173)](_0x3a3ec2)[_0x2da6ca(0x191)])return;const _0x2f1df1=this[_0x2da6ca(0x18c)][_0x2da6ca(0x173)](_0xc73a12),_0x5956de=_0x3bb1a7[_0x2da6ca(0x181)];_0x5956de['id']&&(this[_0x2da6ca(0x1a2)][_0x2da6ca(0x173)](_0xc73a12)[_0x2da6ca(0x172)](_0x3bb1a7['id']),_0x2f1df1[_0x2da6ca(0x196)](_0x5956de['id'])&&!this[_0x2da6ca(0x17c)](_0x5956de,_0xc73a12)[_0x2da6ca(0x198)]&&_0x2f1df1[_0x2da6ca(0x172)](_0x5956de['id']),this[_0x2da6ca(0x16e)][_0x2da6ca(0x173)](_0x5956de['id'])&&!this[_0x2da6ca(0x17c)](_0x5956de)[_0x2da6ca(0x198)]&&this[_0x2da6ca(0x16e)][_0x2da6ca(0x172)](_0x5956de['id']));}[_0x1bbd3f(0x1a0)](_0xd43628,_0x1eae06){const _0x5d2c6a=_0x1bbd3f,_0x5c41e9=this[_0x5d2c6a(0x19f)][_0x5d2c6a(0x19b)](_0xd43628);return _0x1eae06&&this[_0x5d2c6a(0x19f)][_0x5d2c6a(0x185)](_0xd43628['id']),_0x5c41e9[_0x5d2c6a(0x192)]=this[_0x5d2c6a(0x175)]++,_0x5c41e9;}}
23
+ const _0x23638c=_0x7450;(function(_0xc67afc,_0xa2dea){const _0x9682cc=_0x7450,_0x564041=_0xc67afc();while(!![]){try{const _0xf4925f=-parseInt(_0x9682cc(0x164))/0x1*(-parseInt(_0x9682cc(0x146))/0x2)+-parseInt(_0x9682cc(0x13a))/0x3+parseInt(_0x9682cc(0x13d))/0x4+parseInt(_0x9682cc(0x14d))/0x5*(parseInt(_0x9682cc(0x166))/0x6)+-parseInt(_0x9682cc(0x147))/0x7*(-parseInt(_0x9682cc(0x14c))/0x8)+-parseInt(_0x9682cc(0x152))/0x9+parseInt(_0x9682cc(0x151))/0xa*(-parseInt(_0x9682cc(0x157))/0xb);if(_0xf4925f===_0xa2dea)break;else _0x564041['push'](_0x564041['shift']());}catch(_0x5cbc1b){_0x564041['push'](_0x564041['shift']());}}}(_0x47ad,0x9d1a8));import{ContextPlugin as _0x49283c}from'ckeditor5/src/core.js';import{Collection as _0x1010bf,CKEditorError as _0x2afa86}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4b347b}from'./websocketgateway.js';function _0x7450(_0x3eb769,_0x22d05){const _0x47adf7=_0x47ad();return _0x7450=function(_0x7450f7,_0x1ae973){_0x7450f7=_0x7450f7-0x13a;let _0x571bec=_0x47adf7[_0x7450f7];return _0x571bec;},_0x7450(_0x3eb769,_0x22d05);}import{Users as _0x5ae249}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x49283c{[_0x23638c(0x143)];[_0x23638c(0x16e)];[_0x23638c(0x170)];[_0x23638c(0x178)];[_0x23638c(0x159)];[_0x23638c(0x161)];static get[_0x23638c(0x16d)](){const _0x5d0eb8=_0x23638c;return _0x5d0eb8(0x169);}static get[_0x23638c(0x13b)](){return!0x0;}static get[_0x23638c(0x148)](){return!0x0;}static get[_0x23638c(0x13c)](){return[_0x4b347b,_0x5ae249];}constructor(_0x5d848a){const _0x3b2a2e=_0x23638c;super(_0x5d848a),this[_0x3b2a2e(0x143)]=new Map(),this[_0x3b2a2e(0x16e)]=new Map(),this[_0x3b2a2e(0x170)]=new _0x1010bf(),this[_0x3b2a2e(0x178)]=new Map(),this[_0x3b2a2e(0x159)]=0x0,this[_0x3b2a2e(0x161)]=this[_0x3b2a2e(0x16c)][_0x3b2a2e(0x14b)][_0x3b2a2e(0x16f)](_0x5ae249);}[_0x23638c(0x140)](){const _0x12109d=_0x23638c,_0x10cfeb=this[_0x12109d(0x16c)][_0x12109d(0x14b)][_0x12109d(0x16f)](_0x4b347b);this[_0x12109d(0x15e)](_0x10cfeb,_0x12109d(0x15c),(_0x340874,_0x657335,_0x5d47ba)=>{const _0x51b860=_0x12109d;if(_0x51b860(0x15b)!==_0x5d47ba)this[_0x51b860(0x143)][_0x51b860(0x13e)](_0x49968a=>_0x49968a[_0x51b860(0x162)]()),this[_0x51b860(0x16e)][_0x51b860(0x13e)](_0x5e1e02=>_0x5e1e02[_0x51b860(0x162)]()),this[_0x51b860(0x170)][_0x51b860(0x162)]();else{for(const [_0x564391,_0x13b444]of this[_0x51b860(0x178)])for(const _0x16e48d of _0x13b444)this[_0x51b860(0x177)](_0x564391,_0x16e48d);}}),this[_0x12109d(0x144)](_0x10cfeb[_0x12109d(0x163)]['me'],!0x0);}[_0x23638c(0x142)](_0x3e9c2d,_0x102433){const _0x1d589c=_0x23638c;if(this[_0x1d589c(0x178)][_0x1d589c(0x160)](_0x3e9c2d))throw new _0x2afa86(_0x1d589c(0x13f),null,{'channelId':_0x3e9c2d});this[_0x1d589c(0x178)][_0x1d589c(0x165)](_0x3e9c2d,_0x102433),this[_0x1d589c(0x143)][_0x1d589c(0x165)](_0x3e9c2d,new _0x1010bf()),this[_0x1d589c(0x16e)][_0x1d589c(0x165)](_0x3e9c2d,new _0x1010bf()),this[_0x1d589c(0x15e)](_0x102433,_0x1d589c(0x153),(_0x55bb91,_0x39a036)=>this[_0x1d589c(0x177)](_0x3e9c2d,_0x39a036)),this[_0x1d589c(0x15e)](_0x102433,_0x1d589c(0x154),(_0x3fe2e1,_0x5592cd)=>this[_0x1d589c(0x14a)](_0x3e9c2d,_0x5592cd));for(const _0x5639b9 of _0x102433)this[_0x1d589c(0x177)](_0x3e9c2d,_0x5639b9);}[_0x23638c(0x15a)](_0x27272d){const _0x20d2a3=_0x23638c;if(!this[_0x20d2a3(0x178)][_0x20d2a3(0x160)](_0x27272d))throw new _0x2afa86(_0x20d2a3(0x16b),null,{'channelId':_0x27272d});const _0x20836b=this[_0x20d2a3(0x178)][_0x20d2a3(0x16f)](_0x27272d);this[_0x20d2a3(0x173)](_0x20836b);for(const _0x5d0205 of _0x20836b)_0x20d2a3(0x15b)===this[_0x20d2a3(0x16c)][_0x20d2a3(0x14b)][_0x20d2a3(0x16f)](_0x4b347b)[_0x20d2a3(0x16a)]&&this[_0x20d2a3(0x14a)](_0x27272d,_0x5d0205);this[_0x20d2a3(0x178)][_0x20d2a3(0x15f)](_0x27272d),this[_0x20d2a3(0x143)][_0x20d2a3(0x15f)](_0x27272d),this[_0x20d2a3(0x16e)][_0x20d2a3(0x15f)](_0x27272d);}get[_0x23638c(0x167)](){const _0x29ebfa=_0x23638c;return this[_0x29ebfa(0x16c)][_0x29ebfa(0x14b)][_0x29ebfa(0x16f)](_0x4b347b)[_0x29ebfa(0x163)][_0x29ebfa(0x179)];}[_0x23638c(0x174)](_0x343a5c){const _0x400732=_0x23638c;for(const _0x250720 of this[_0x400732(0x143)][_0x400732(0x14f)]())for(const _0xf6f74a of _0x250720)if(_0xf6f74a['id']===_0x343a5c)return _0xf6f74a[_0x400732(0x145)];}[_0x23638c(0x176)](_0x3aa01a,_0x31c544){const _0x14f2db=_0x23638c,_0xea7946=_0x31c544?[this[_0x14f2db(0x143)][_0x14f2db(0x16f)](_0x31c544)]:this[_0x14f2db(0x143)][_0x14f2db(0x14f)](),_0xbd7391=new Set();for(const _0x2a4193 of _0xea7946)for(const _0x905c1f of _0x2a4193)_0x905c1f[_0x14f2db(0x145)]['id']===_0x3aa01a['id']&&_0xbd7391[_0x14f2db(0x153)](_0x905c1f['id']);return _0xbd7391;}[_0x23638c(0x149)](_0x30b5bd){const _0x2833d2=_0x23638c;for(const _0x50cd01 of this[_0x2833d2(0x143)][_0x2833d2(0x14f)]())for(const _0x10cf7e of _0x50cd01)if(_0x10cf7e[_0x2833d2(0x145)]===_0x30b5bd)return _0x10cf7e[_0x2833d2(0x158)];}[_0x23638c(0x177)](_0x2999ad,_0x188db4){const _0x5de4f3=_0x23638c;if(_0x5de4f3(0x15b)!==this[_0x5de4f3(0x16c)][_0x5de4f3(0x14b)][_0x5de4f3(0x16f)](_0x4b347b)[_0x5de4f3(0x16a)])return;const _0x5f03ca=_0x188db4[_0x5de4f3(0x145)],_0x83c73b=this[_0x5de4f3(0x161)][_0x5de4f3(0x156)](_0x5f03ca['id'])||this[_0x5de4f3(0x144)](_0x5f03ca),_0x5816fd=Object[_0x5de4f3(0x141)]({},_0x188db4,{'user':_0x83c73b});if(this[_0x5de4f3(0x143)][_0x5de4f3(0x16f)](_0x2999ad)[_0x5de4f3(0x153)](_0x5816fd),!_0x5f03ca[_0x5de4f3(0x14e)]){const _0x45ec7a=this[_0x5de4f3(0x16e)][_0x5de4f3(0x16f)](_0x2999ad);_0x45ec7a[_0x5de4f3(0x160)](_0x83c73b['id'])||_0x45ec7a[_0x5de4f3(0x153)](_0x83c73b),this[_0x5de4f3(0x170)][_0x5de4f3(0x160)](_0x83c73b['id'])||_0x5f03ca[_0x5de4f3(0x14e)]||this[_0x5de4f3(0x170)][_0x5de4f3(0x153)](_0x83c73b,_0x83c73b[_0x5de4f3(0x168)]?0x0:void 0x0);}this[_0x5de4f3(0x175)](_0x5de4f3(0x15d)+_0x2999ad,{'channelId':_0x2999ad,'session':_0x5816fd});}[_0x23638c(0x14a)](_0x12fff3,_0x3cb0c4){const _0x299973=_0x23638c;if(_0x299973(0x15b)!==this[_0x299973(0x16c)][_0x299973(0x14b)][_0x299973(0x16f)](_0x4b347b)[_0x299973(0x16a)])return;const _0x1023cc=this[_0x299973(0x16e)][_0x299973(0x16f)](_0x12fff3),_0x4e1f7d=_0x3cb0c4[_0x299973(0x145)];_0x4e1f7d['id']&&(this[_0x299973(0x143)][_0x299973(0x16f)](_0x12fff3)[_0x299973(0x154)](_0x3cb0c4['id']),_0x1023cc[_0x299973(0x160)](_0x4e1f7d['id'])&&!this[_0x299973(0x176)](_0x4e1f7d,_0x12fff3)[_0x299973(0x172)]&&_0x1023cc[_0x299973(0x154)](_0x4e1f7d['id']),this[_0x299973(0x170)][_0x299973(0x16f)](_0x4e1f7d['id'])&&!this[_0x299973(0x176)](_0x4e1f7d)[_0x299973(0x172)]&&this[_0x299973(0x170)][_0x299973(0x154)](_0x4e1f7d['id']));}[_0x23638c(0x144)](_0xa2f227,_0x3f3a23){const _0x31a3fd=_0x23638c,_0x3cca67=this[_0x31a3fd(0x161)][_0x31a3fd(0x171)](_0xa2f227);return _0x3f3a23&&this[_0x31a3fd(0x161)][_0x31a3fd(0x150)](_0xa2f227['id']),_0x3cca67[_0x31a3fd(0x155)]=this[_0x31a3fd(0x159)]++,_0x3cca67;}}function _0x47ad(){const _0x14aa1b=['connection','103718PIgfLj','set','3450NXmUcd','mySessionId','isMe','Sessions','state','sessions-unregister-not-exist','context','pluginName','channelConnectedUsers','get','allConnectedUsers','addUser','size','stopListening','getUserBySessionId','fire','getUserSessions','_handleSessionAdd','_registeredSessions','sessionId','457023bolUOK','isOfficialPlugin','requires','4752964trSZhm','forEach','sessions-register-already-registered','init','assign','register','channelSessions','_createUser','user','2JTjnHo','7ZxJkcw','isPremiumPlugin','getUserRole','_handleSessionRemove','plugins','7439176RjkFVc','1150cghWgk','hiddenInPresenceList','values','defineMe','20cJzfeT','2090385zdiWFJ','add','remove','orderNumber','getUser','7293022GELPFh','role','_uniqueUsersCount','unregister','connected','change:state','sessionAdd:','listenTo','delete','has','_users','clear'];_0x47ad=function(){return _0x14aa1b;};return _0x47ad();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ca79c=_0xd126;function _0x2538(){const _0x268868=['newRange','_createdBatches','516FiyRTo','createUIElement','user:position:','remove','1bbIhWx','getPositions','isPremiumPlugin','toRange','getContainedElement','UserMarkers','6269010bxnVeq','mouseleave','clear','schema','start','false','getNearestSelectionRange','isCollapsed','color','removeClass','setCustomProperty','toDomElement','_domEmitter','selection','spellcheck','markerRange','removeMarker','marker','getStart','ck-user__marker\x20','createElement','3lYyqgO','9uaoWwG','275219hbuNSu','addMarker','root','isOfficialPlugin','$graveyard','data-session-id','tableCell','oldRange','rootName','user:range:','listenTo','fromRange','editing','destroy','name','orderNumber','mouseenter','keydown','$text','for','model','textContent','ck-user__marker-tooltip','editingDowncast','hasDomSelection','detach','commands','userPositionMarker','contenteditable','createRange','startsWith','render','isInline','isSimilar','change:range','user:','conversion','requires','outerHTML','markerToElement','12086710JIzzvD','isDocumentOperation','getMarkerClass','reconvertMarker','document','getRange','delete','ck-user__selection','pluginName','enqueueChange','deletionPosition','update:user:range','split','updateMarker','add','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','set','getAttribute','6186zKTqIF','classList','setAttribute','has','undo','markers','highest','isLimit','span','431764iyRWua','innerHTML','hasContent','afterInit','296aGVFUe','getUserBySessionId','view','mapper','getSelectionClass','225576uyuGTQ','markerNameToElements','element','user:position','user:range','527654ZhmfYO','markerName','init','getCustomProperty','ck-user__marker_hovered','addEventListener','parent','stopListening','isObject','applyOperation','nodeAfter','getFirstRange','batch','change','editor','type','createUserMarkerOperations','plugins','size','mySessionId','end','markerToHighlight','4260iNgSWe','checkChild','Escape'];_0x2538=function(){return _0x268868;};return _0x2538();}function _0xd126(_0x3a8426,_0x28a8d6){const _0x253891=_0x2538();return _0xd126=function(_0xd1269a,_0x1868ee){_0xd1269a=_0xd1269a-0x125;let _0x1cb877=_0x253891[_0xd1269a];return _0x1cb877;},_0xd126(_0x3a8426,_0x28a8d6);}(function(_0x11cdda,_0x45dfcd){const _0x2fbec6=_0xd126,_0x4905ef=_0x11cdda();while(!![]){try{const _0x141e8c=parseInt(_0x2fbec6(0x19c))/0x1*(parseInt(_0x2fbec6(0x17d))/0x2)+parseInt(_0x2fbec6(0x129))/0x3*(parseInt(_0x2fbec6(0x16f))/0x4)+-parseInt(_0x2fbec6(0x193))/0x5*(-parseInt(_0x2fbec6(0x166))/0x6)+-parseInt(_0x2fbec6(0x12b))/0x7*(parseInt(_0x2fbec6(0x173))/0x8)+-parseInt(_0x2fbec6(0x12a))/0x9*(-parseInt(_0x2fbec6(0x153))/0xa)+parseInt(_0x2fbec6(0x1a2))/0xb+-parseInt(_0x2fbec6(0x198))/0xc*(parseInt(_0x2fbec6(0x178))/0xd);if(_0x141e8c===_0x45dfcd)break;else _0x4905ef['push'](_0x4905ef['shift']());}catch(_0x3fe0e8){_0x4905ef['push'](_0x4905ef['shift']());}}}(_0x2538,0xca1f8));import{Plugin as _0x5be099}from'ckeditor5/src/core.js';import{global as _0xea0329,DomEmitterMixin as _0x5b54a5}from'ckeditor5/src/utils.js';import{Sessions as _0x27c69c}from'./sessions.js';import{ModelLiveRange as _0x2cdbb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x5be099{[_0x3ca79c(0x1ae)]=new(_0x5b54a5())();static get[_0x3ca79c(0x150)](){return[_0x27c69c];}static get[_0x3ca79c(0x15b)](){const _0x217fcf=_0x3ca79c;return _0x217fcf(0x1a1);}static get[_0x3ca79c(0x12e)](){return!0x0;}static get[_0x3ca79c(0x19e)](){return!0x0;}[_0x3ca79c(0x17f)](){const _0x5f02ea=_0x3ca79c,_0x41c12f=this[_0x5f02ea(0x18b)],_0x155256=_0x41c12f[_0x5f02ea(0x18e)][_0x5f02ea(0x163)](_0x27c69c);_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x152)]({'model':_0x5f02ea(0x17b),'view':(_0x4b0ede,{writer:_0x28ee31})=>function(_0x381025,_0x3efa83,_0x16a297,_0x510f29){const _0x405a4f=_0x5f02ea,_0x59061b=_0x381025[_0x405a4f(0x17e)][_0x405a4f(0x15f)](':')[0x2],_0x307b23=_0x16a297[_0x405a4f(0x174)](_0x59061b);if(!_0x307b23||_0x59061b===_0x16a297[_0x405a4f(0x190)])return;if(!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x194)](_0x381025[_0x405a4f(0x1b1)][_0x405a4f(0x1a6)],_0x405a4f(0x13d)))return;const _0x20a414={'class':_0x405a4f(0x127)+_0x307b23[_0x405a4f(0x1aa)][_0x405a4f(0x155)](),'data-name':_0x307b23[_0x405a4f(0x139)],'data-session-id':_0x59061b},_0x505deb=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x381025[_0x405a4f(0x17e)]),_0x5ef4bb=_0x505deb[_0x405a4f(0x126)](),_0x33a790=_0x5ef4bb[_0x405a4f(0x187)],_0x4e2970=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)];if(_0x33a790&&_0x4e2970[_0x405a4f(0x185)](_0x33a790)&&_0x4e2970[_0x405a4f(0x14b)](_0x33a790)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x405a4f(0x134)+_0x59061b)[_0x405a4f(0x158)]()[_0x405a4f(0x1a9)])return;const _0x1641a8=_0x5ef4bb[_0x405a4f(0x183)];return _0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x16d)](_0x1641a8)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x171)](_0x1641a8)&&(_0x20a414[_0x405a4f(0x147)]=!0x1),function(_0x25a96d,_0x472e24,_0x412a4c){const _0x4a5ed2=_0x405a4f,_0x1ce1eb=_0x25a96d[_0x4a5ed2(0x199)](_0x4a5ed2(0x16e),_0x472e24);return _0x25a96d[_0x4a5ed2(0x1ac)](_0x4a5ed2(0x146),!0x0,_0x1ce1eb),_0x1ce1eb[_0x4a5ed2(0x14a)]=function(_0x5b026a){const _0x2c90d4=_0x4a5ed2,_0xca9501=this[_0x2c90d4(0x1ad)](_0x5b026a),_0x353357=document[_0x2c90d4(0x128)](_0x2c90d4(0x16e));return _0x353357[_0x2c90d4(0x167)][_0x2c90d4(0x161)](_0x2c90d4(0x141)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x147),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x1b0),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x140)]=_0x412a4c[_0x2c90d4(0x139)],_0xca9501[_0x2c90d4(0x170)]=_0x2c90d4(0x162)+_0x353357[_0x2c90d4(0x151)]+'⁠',_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x13b),()=>{const _0x5d7111=_0x2c90d4;_0xca9501[_0x5d7111(0x167)][_0x5d7111(0x161)](_0x5d7111(0x181));}),_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x1a3),()=>{const _0x360eee=_0x2c90d4;_0xca9501[_0x360eee(0x167)][_0x360eee(0x19b)](_0x360eee(0x181));}),_0xca9501;},_0x1ce1eb[_0x4a5ed2(0x14c)]=function(_0x338aa3){const _0x3be9bb=_0x4a5ed2;return!(!this[_0x3be9bb(0x180)](_0x3be9bb(0x146))||!_0x338aa3[_0x3be9bb(0x180)](_0x3be9bb(0x146))||this[_0x3be9bb(0x165)](_0x3be9bb(0x130))!=_0x338aa3[_0x3be9bb(0x165)](_0x3be9bb(0x130)));},_0x1ce1eb;}(_0x3efa83,_0x20a414,_0x307b23);}(_0x4b0ede,_0x28ee31,_0x155256,_0x41c12f)}),_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x192)]({'model':_0x5f02ea(0x17c),'view':_0x5b31f9=>function(_0x5c506e,_0x5555c9){const _0x2f9f80=_0x5f02ea,_0x2cce21=_0x5c506e[_0x2f9f80(0x17e)][_0x2f9f80(0x15f)](':')[0x2];if(_0x2cce21===_0x5555c9[_0x2f9f80(0x190)])return null;const _0x12c843=_0x5555c9[_0x2f9f80(0x174)](_0x2cce21);if(!_0x12c843)return{'id':_0x2cce21,'classes':[]};return{'id':_0x2cce21,'classes':[_0x2f9f80(0x15a),_0x12c843[_0x2f9f80(0x1aa)][_0x2f9f80(0x177)]()],'attributes':{'data-session-id':_0x2cce21},'priority':0x7d0+_0x12c843[_0x2f9f80(0x13a)]};}(_0x5b31f9,_0x155256)}),function(_0x49ea98){const _0x47b878=_0x5f02ea,_0xa4f0dd=_0x49ea98[_0x47b878(0x13f)],_0x1e0a26=new Map(),_0x3ef685=_0x49ea98[_0x47b878(0x18e)][_0x47b878(0x163)](_0x27c69c);_0xa4f0dd[_0x47b878(0x16b)]['on'](_0x47b878(0x15e),(_0x922422,_0x29f905,_0x172efd,_0x36a8a6)=>{const _0xc9e73f=_0x47b878;if(!_0x36a8a6&&_0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)]))return _0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)])[_0xc9e73f(0x144)](),void _0x1e0a26[_0xc9e73f(0x159)](_0x29f905[_0xc9e73f(0x139)]);const _0x20465a=_0x29f905[_0xc9e73f(0x139)][_0xc9e73f(0x15f)](':')[0x2];if(_0x20465a===_0x3ef685[_0xc9e73f(0x190)])return;const _0x5dc1c7=_0xc9e73f(0x19a)+_0x20465a;_0xa4f0dd[_0xc9e73f(0x16b)][_0xc9e73f(0x169)](_0x5dc1c7)&&_0x49ea98[_0xc9e73f(0x137)][_0xc9e73f(0x156)](_0x5dc1c7),_0x29f905['on'](_0xc9e73f(0x14d),(_0x3c9d4e,_0x20a60a,_0x133234)=>{const _0x5feb0e=_0xc9e73f;if(_0x5feb0e(0x12f)!=_0x20a60a[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&_0x5feb0e(0x12f)==_0x29f905[_0x5feb0e(0x158)]()[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&!_0x1e0a26[_0x5feb0e(0x169)](_0x29f905[_0x5feb0e(0x139)])){const _0x46aded=_0xa4f0dd[_0x5feb0e(0x1a5)][_0x5feb0e(0x1a8)](_0x133234[_0x5feb0e(0x15d)]);if(_0x46aded){const _0x4dfa3d=_0x2cdbb8[_0x5feb0e(0x136)](_0x46aded);_0x1e0a26[_0x5feb0e(0x164)](_0x29f905[_0x5feb0e(0x139)],_0x4dfa3d),_0x4dfa3d['on'](_0x5feb0e(0x14d),(_0x19f75a,_0x2cfc97,_0x81ca37)=>{const _0x53ee5a=_0x5feb0e;if(_0x53ee5a(0x12f)==_0x4dfa3d[_0x53ee5a(0x12d)][_0x53ee5a(0x133)]){const _0x551493=_0xa4f0dd[_0x53ee5a(0x1a5)][_0x53ee5a(0x1a8)](_0x81ca37[_0x53ee5a(0x15d)]);_0x551493?(_0x4dfa3d[_0x53ee5a(0x1a6)]=_0x551493[_0x53ee5a(0x1a6)],_0x4dfa3d[_0x53ee5a(0x191)]=_0x551493[_0x53ee5a(0x191)]):(_0x1e0a26[_0x53ee5a(0x159)](_0x29f905[_0x53ee5a(0x139)]),_0x4dfa3d[_0x53ee5a(0x144)]());}});}}});}),_0xa4f0dd[_0x47b878(0x157)]['on'](_0x47b878(0x18a),()=>{const _0x363898=_0x47b878;_0x1e0a26[_0x363898(0x18f)]>0x0&&_0xa4f0dd[_0x363898(0x15c)]({'isUndoable':!0x1},_0x27da9b=>{const _0xf2f1c3=_0x363898;for(const [_0x84a8c5,_0x14f0c0]of _0x1e0a26)_0xf2f1c3(0x12f)==_0xa4f0dd[_0xf2f1c3(0x16b)][_0xf2f1c3(0x163)](_0x84a8c5)[_0xf2f1c3(0x158)]()[_0xf2f1c3(0x12d)][_0xf2f1c3(0x133)]&&(Z(_0x84a8c5[_0xf2f1c3(0x15f)](':')[0x2],_0x14f0c0[_0xf2f1c3(0x19f)](),_0xa4f0dd,_0x27da9b),_0x14f0c0[_0xf2f1c3(0x144)]());_0x1e0a26[_0xf2f1c3(0x1a4)]();});});}(_0x41c12f),this[_0x5f02ea(0x1ae)][_0x5f02ea(0x135)](_0xea0329[_0x5f02ea(0x157)],_0x5f02ea(0x13c),(_0x44da52,{key:_0x58b69c})=>{const _0x1fedba=_0x5f02ea;_0x1fedba(0x195)===_0x58b69c&&function(_0x1484fd){const _0x256b94=_0x1fedba;_0x1484fd[_0x256b94(0x137)][_0x256b94(0x175)][_0x256b94(0x18a)](_0x57b137=>{const _0xbabf67=_0x256b94;for(const _0x3d659f of _0x1484fd[_0xbabf67(0x13f)][_0xbabf67(0x16b)]){if(!_0x3d659f[_0xbabf67(0x139)][_0xbabf67(0x149)](_0xbabf67(0x17b)))continue;const _0x1905b3=_0x1484fd[_0xbabf67(0x137)][_0xbabf67(0x176)][_0xbabf67(0x179)](_0x3d659f[_0xbabf67(0x139)]);if(_0x1905b3){for(const _0x29fe30 of _0x1905b3)_0x57b137[_0xbabf67(0x1ab)](_0xbabf67(0x181),_0x29fe30);}}});}(_0x41c12f);},{'useCapture':!0x0});}[_0x3ca79c(0x172)](){const _0x19b12d=_0x3ca79c,_0xfdca7a=this[_0x19b12d(0x18b)],_0x19230a=_0xfdca7a[_0x19b12d(0x145)][_0x19b12d(0x163)](_0x19b12d(0x16a));_0x19230a&&_0xfdca7a[_0x19b12d(0x13f)]['on'](_0x19b12d(0x186),(_0x56261e,_0x14d216)=>{const _0x41990c=_0x19b12d,_0x24fae2=_0x14d216[0x0];if(!_0x24fae2[_0x41990c(0x154)])return;if(_0x41990c(0x125)!=_0x24fae2[_0x41990c(0x18c)]||!_0x24fae2[_0x41990c(0x139)][_0x41990c(0x149)](_0x41990c(0x14e)))return;const _0x443c37=_0x24fae2[_0x41990c(0x189)];_0x19230a[_0x41990c(0x197)][_0x41990c(0x169)](_0x443c37)&&(_0x24fae2[_0x41990c(0x196)]=_0x24fae2[_0x41990c(0x132)]?_0xfdca7a[_0x41990c(0x13f)][_0x41990c(0x148)](_0x24fae2[_0x41990c(0x132)][_0x41990c(0x1a6)],_0x24fae2[_0x41990c(0x132)][_0x41990c(0x191)]):null);},{'priority':_0x19b12d(0x16c)});}[_0x3ca79c(0x138)](){const _0x27baf8=_0x3ca79c;return this[_0x27baf8(0x1ae)][_0x27baf8(0x184)](),super[_0x27baf8(0x138)]();}[_0x3ca79c(0x18d)](){const _0x9995b0=_0x3ca79c,_0x222be4=this[_0x9995b0(0x18b)],_0x5b39d0=_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x157)],_0x201d64=_0x222be4[_0x9995b0(0x18e)][_0x9995b0(0x163)](_0x27c69c);_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x15c)]({'isUndoable':!0x1},_0x257eb4=>{const _0x55c7c9=_0x9995b0,_0x13579d=_0x55c7c9(0x134)+_0x201d64[_0x55c7c9(0x190)],_0x594398=_0x55c7c9(0x19a)+_0x201d64[_0x55c7c9(0x190)],_0x510883=_0x222be4[_0x55c7c9(0x13f)][_0x55c7c9(0x16b)][_0x55c7c9(0x169)](_0x13579d);_0x222be4[_0x55c7c9(0x137)][_0x55c7c9(0x175)][_0x55c7c9(0x143)]?Z(_0x201d64[_0x55c7c9(0x190)],_0x5b39d0[_0x55c7c9(0x1af)][_0x55c7c9(0x188)](),_0x222be4[_0x55c7c9(0x13f)],_0x257eb4):_0x510883&&(_0x257eb4[_0x55c7c9(0x1b2)](_0x13579d),_0x257eb4[_0x55c7c9(0x1b2)](_0x594398));});}}function Z(_0x3d1933,_0x2b6969,_0x1ad735,_0x2e76ef){const _0x2b1b7d=_0x3ca79c,_0x3288af=_0x2b1b7d(0x134)+_0x3d1933,_0x143928=_0x2b1b7d(0x19a)+_0x3d1933,_0x3403f8=_0x2b6969[_0x2b1b7d(0x1a0)]();let _0x4546d8=_0x2b6969[_0x2b1b7d(0x1a6)];if(_0x3403f8&&_0x3403f8['is'](_0x2b1b7d(0x17a),_0x2b1b7d(0x131))){const _0x94ea64=function(_0xb4d7a0,_0x56701e){const _0x18011b=_0x2b1b7d;for(const _0x564e91 of _0xb4d7a0[_0x18011b(0x19d)]())if(_0x56701e[_0x18011b(0x1a5)][_0x18011b(0x194)](_0x564e91,_0x18011b(0x13d)))return _0x564e91;}(_0x2b6969,_0x1ad735);_0x94ea64&&(_0x4546d8=_0x94ea64,_0x2b6969=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8));}const _0x4a3106=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8);_0x1ad735[_0x2b1b7d(0x16b)][_0x2b1b7d(0x169)](_0x3288af)?(_0x2e76ef[_0x2b1b7d(0x160)](_0x3288af,{'range':_0x2b6969}),_0x2e76ef[_0x2b1b7d(0x160)](_0x143928,{'range':_0x4a3106})):(_0x2e76ef[_0x2b1b7d(0x12c)](_0x3288af,{'range':_0x2b6969,'usingOperation':!0x0}),_0x2e76ef[_0x2b1b7d(0x12c)](_0x143928,{'range':_0x4a3106,'usingOperation':!0x0}));}
23
+ const _0x44338f=_0x2b98;(function(_0x135b6e,_0x2dcb31){const _0x3addcd=_0x2b98,_0x4df1ae=_0x135b6e();while(!![]){try{const _0x5dd9d6=parseInt(_0x3addcd(0x71))/0x1+parseInt(_0x3addcd(0xb1))/0x2+parseInt(_0x3addcd(0x7d))/0x3*(-parseInt(_0x3addcd(0xe3))/0x4)+-parseInt(_0x3addcd(0x75))/0x5+parseInt(_0x3addcd(0x92))/0x6+parseInt(_0x3addcd(0x81))/0x7*(-parseInt(_0x3addcd(0x91))/0x8)+-parseInt(_0x3addcd(0xde))/0x9;if(_0x5dd9d6===_0x2dcb31)break;else _0x4df1ae['push'](_0x4df1ae['shift']());}catch(_0x22040b){_0x4df1ae['push'](_0x4df1ae['shift']());}}}(_0x54e2,0x5db72));import{Plugin as _0x3641dc}from'ckeditor5/src/core.js';import{global as _0x320e4f,DomEmitterMixin as _0x555c54}from'ckeditor5/src/utils.js';import{Sessions as _0x314c24}from'./sessions.js';function _0x2b98(_0x35c441,_0x51fa6a){const _0x54e29c=_0x54e2();return _0x2b98=function(_0x2b9877,_0x337449){_0x2b9877=_0x2b9877-0x66;let _0x4863b0=_0x54e29c[_0x2b9877];return _0x4863b0;},_0x2b98(_0x35c441,_0x51fa6a);}import{ModelLiveRange as _0x4e9912}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3641dc{[_0x44338f(0xc8)]=new(_0x555c54())();static get[_0x44338f(0x8c)](){return[_0x314c24];}static get[_0x44338f(0xe0)](){const _0x38dfc7=_0x44338f;return _0x38dfc7(0xc9);}static get[_0x44338f(0x6f)](){return!0x0;}static get[_0x44338f(0x8f)](){return!0x0;}[_0x44338f(0xc2)](){const _0xd6d3d4=_0x44338f,_0x2653a8=this[_0xd6d3d4(0x8e)],_0x4698e8=_0x2653a8[_0xd6d3d4(0x7a)][_0xd6d3d4(0x67)](_0x314c24);_0x2653a8[_0xd6d3d4(0xbf)][_0xd6d3d4(0xa5)](_0xd6d3d4(0xed))[_0xd6d3d4(0x77)]({'model':_0xd6d3d4(0x9b),'view':(_0x483f4a,{writer:_0x380c55})=>function(_0x4c3f1d,_0x43fc64,_0x57c843,_0x40e584){const _0xf23c8=_0xd6d3d4,_0x4f8376=_0x4c3f1d[_0xf23c8(0xba)][_0xf23c8(0xab)](':')[0x2],_0x2954ab=_0x57c843[_0xf23c8(0x83)](_0x4f8376);if(!_0x2954ab||_0x4f8376===_0x57c843[_0xf23c8(0xe7)])return;if(!_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xa0)][_0xf23c8(0xce)](_0x4c3f1d[_0xf23c8(0x8d)][_0xf23c8(0xe5)],_0xf23c8(0x88)))return;const _0x59c560={'class':_0xf23c8(0xb5)+_0x2954ab[_0xf23c8(0xc1)][_0xf23c8(0xa9)](),'data-name':_0x2954ab[_0xf23c8(0xd5)],'data-session-id':_0x4f8376},_0x550da0=_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0x70)][_0xf23c8(0x67)](_0x4c3f1d[_0xf23c8(0xba)]),_0x18cdc7=_0x550da0[_0xf23c8(0x78)](),_0x1608f9=_0x18cdc7[_0xf23c8(0x7e)],_0x3dab5f=_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xa0)];if(_0x1608f9&&_0x3dab5f[_0xf23c8(0xb2)](_0x1608f9)&&_0x3dab5f[_0xf23c8(0x89)](_0x1608f9)&&!_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0x70)][_0xf23c8(0x67)](_0xf23c8(0x6d)+_0x4f8376)[_0xf23c8(0xb4)]()[_0xf23c8(0x74)])return;const _0x31bea3=_0x18cdc7[_0xf23c8(0xa3)];return _0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xa0)][_0xf23c8(0x98)](_0x31bea3)&&!_0x40e584[_0xf23c8(0xdd)][_0xf23c8(0xd6)](_0x31bea3)&&(_0x59c560[_0xf23c8(0x9c)]=!0x1),function(_0x29776d,_0x4a7ceb,_0x22c288){const _0x13facd=_0xf23c8,_0xc7894d=_0x29776d[_0x13facd(0x85)](_0x13facd(0xeb),_0x4a7ceb);return _0x29776d[_0x13facd(0xd8)](_0x13facd(0xa1),!0x0,_0xc7894d),_0xc7894d[_0x13facd(0xe8)]=function(_0x260d5d){const _0x4b9ba3=_0x13facd,_0x777b4=this[_0x4b9ba3(0xe9)](_0x260d5d),_0x1d9314=document[_0x4b9ba3(0x93)](_0x4b9ba3(0xeb));return _0x1d9314[_0x4b9ba3(0xa6)][_0x4b9ba3(0x8b)](_0x4b9ba3(0x6b)),_0x1d9314[_0x4b9ba3(0x7b)](_0x4b9ba3(0x9c),_0x4b9ba3(0xd0)),_0x1d9314[_0x4b9ba3(0x7b)](_0x4b9ba3(0xaf),_0x4b9ba3(0xd0)),_0x1d9314[_0x4b9ba3(0xb9)]=_0x22c288[_0x4b9ba3(0xd5)],_0x777b4[_0x4b9ba3(0xdf)]=_0x4b9ba3(0xb3)+_0x1d9314[_0x4b9ba3(0xcc)]+'⁠',_0x777b4[_0x4b9ba3(0x94)](_0x4b9ba3(0xaa),()=>{const _0x52034b=_0x4b9ba3;_0x777b4[_0x52034b(0xa6)][_0x52034b(0x8b)](_0x52034b(0x9e));}),_0x777b4[_0x4b9ba3(0x94)](_0x4b9ba3(0xe6),()=>{const _0x13fb86=_0x4b9ba3;_0x777b4[_0x13fb86(0xa6)][_0x13fb86(0x79)](_0x13fb86(0x9e));}),_0x777b4;},_0xc7894d[_0x13facd(0xca)]=function(_0x47c3be){const _0x1234ac=_0x13facd;return!(!this[_0x1234ac(0x68)](_0x1234ac(0xa1))||!_0x47c3be[_0x1234ac(0x68)](_0x1234ac(0xa1))||this[_0x1234ac(0xb7)](_0x1234ac(0x90))!=_0x47c3be[_0x1234ac(0xb7)](_0x1234ac(0x90)));},_0xc7894d;}(_0x43fc64,_0x59c560,_0x2954ab);}(_0x483f4a,_0x380c55,_0x4698e8,_0x2653a8)}),_0x2653a8[_0xd6d3d4(0xbf)][_0xd6d3d4(0xa5)](_0xd6d3d4(0xed))[_0xd6d3d4(0xe1)]({'model':_0xd6d3d4(0x7c),'view':_0x3cdd0f=>function(_0x501233,_0x4ade0c){const _0x39ec5b=_0xd6d3d4,_0x509f94=_0x501233[_0x39ec5b(0xba)][_0x39ec5b(0xab)](':')[0x2];if(_0x509f94===_0x4ade0c[_0x39ec5b(0xe7)])return null;const _0x39128a=_0x4ade0c[_0x39ec5b(0x83)](_0x509f94);if(!_0x39128a)return{'id':_0x509f94,'classes':[]};return{'id':_0x509f94,'classes':[_0x39ec5b(0xe4),_0x39128a[_0x39ec5b(0xc1)][_0x39ec5b(0xe2)]()],'attributes':{'data-session-id':_0x509f94},'priority':0x7d0+_0x39128a[_0x39ec5b(0xd9)]};}(_0x3cdd0f,_0x4698e8)}),function(_0x5051ff){const _0x433672=_0xd6d3d4,_0x306bb4=_0x5051ff[_0x433672(0xdd)],_0x75c65b=new Map(),_0x456933=_0x5051ff[_0x433672(0x7a)][_0x433672(0x67)](_0x314c24);_0x306bb4[_0x433672(0x70)]['on'](_0x433672(0xcd),(_0x215e2a,_0x104d20,_0x5984e2,_0x4c0c8b)=>{const _0x51cc71=_0x433672;if(!_0x4c0c8b&&_0x75c65b[_0x51cc71(0x67)](_0x104d20[_0x51cc71(0xd5)]))return _0x75c65b[_0x51cc71(0x67)](_0x104d20[_0x51cc71(0xd5)])[_0x51cc71(0x72)](),void _0x75c65b[_0x51cc71(0x69)](_0x104d20[_0x51cc71(0xd5)]);const _0x1946a2=_0x104d20[_0x51cc71(0xd5)][_0x51cc71(0xab)](':')[0x2];if(_0x1946a2===_0x456933[_0x51cc71(0xe7)])return;const _0x22e75c=_0x51cc71(0x97)+_0x1946a2;_0x306bb4[_0x51cc71(0x70)][_0x51cc71(0xd3)](_0x22e75c)&&_0x5051ff[_0x51cc71(0xad)][_0x51cc71(0xd1)](_0x22e75c),_0x104d20['on'](_0x51cc71(0x66),(_0x5a3b79,_0x1cd156,_0xa95b55)=>{const _0x9c24d8=_0x51cc71;if(_0x9c24d8(0xb8)!=_0x1cd156[_0x9c24d8(0x6c)][_0x9c24d8(0xd2)]&&_0x9c24d8(0xb8)==_0x104d20[_0x9c24d8(0xb4)]()[_0x9c24d8(0x6c)][_0x9c24d8(0xd2)]&&!_0x75c65b[_0x9c24d8(0xd3)](_0x104d20[_0x9c24d8(0xd5)])){const _0x198d94=_0x306bb4[_0x9c24d8(0xa0)][_0x9c24d8(0xcf)](_0xa95b55[_0x9c24d8(0xdb)]);if(_0x198d94){const _0x3cb093=_0x4e9912[_0x9c24d8(0x8a)](_0x198d94);_0x75c65b[_0x9c24d8(0xbe)](_0x104d20[_0x9c24d8(0xd5)],_0x3cb093),_0x3cb093['on'](_0x9c24d8(0x66),(_0x1a64d9,_0xacd427,_0x1df21a)=>{const _0x527a6a=_0x9c24d8;if(_0x527a6a(0xb8)==_0x3cb093[_0x527a6a(0x6c)][_0x527a6a(0xd2)]){const _0x2ba326=_0x306bb4[_0x527a6a(0xa0)][_0x527a6a(0xcf)](_0x1df21a[_0x527a6a(0xdb)]);_0x2ba326?(_0x3cb093[_0x527a6a(0xe5)]=_0x2ba326[_0x527a6a(0xe5)],_0x3cb093[_0x527a6a(0x87)]=_0x2ba326[_0x527a6a(0x87)]):(_0x75c65b[_0x527a6a(0x69)](_0x104d20[_0x527a6a(0xd5)]),_0x3cb093[_0x527a6a(0x72)]());}});}}});}),_0x306bb4[_0x433672(0x9f)]['on'](_0x433672(0x80),()=>{const _0x207c75=_0x433672;_0x75c65b[_0x207c75(0xbc)]>0x0&&_0x306bb4[_0x207c75(0xa7)]({'isUndoable':!0x1},_0x4edf3b=>{const _0x2c7ddf=_0x207c75;for(const [_0x3755e1,_0x24ea9f]of _0x75c65b)_0x2c7ddf(0xb8)==_0x306bb4[_0x2c7ddf(0x70)][_0x2c7ddf(0x67)](_0x3755e1)[_0x2c7ddf(0xb4)]()[_0x2c7ddf(0x6c)][_0x2c7ddf(0xd2)]&&(re(_0x3755e1[_0x2c7ddf(0xab)](':')[0x2],_0x24ea9f[_0x2c7ddf(0xec)](),_0x306bb4,_0x4edf3b),_0x24ea9f[_0x2c7ddf(0x72)]());_0x75c65b[_0x2c7ddf(0xc4)]();});});}(_0x2653a8),this[_0xd6d3d4(0xc8)][_0xd6d3d4(0x84)](_0x320e4f[_0xd6d3d4(0x9f)],_0xd6d3d4(0x86),(_0x246c5b,{key:_0x18ae2d})=>{const _0x5edccc=_0xd6d3d4;_0x5edccc(0x95)===_0x18ae2d&&function(_0x34d20d){const _0x41dd25=_0x5edccc;_0x34d20d[_0x41dd25(0xad)][_0x41dd25(0x99)][_0x41dd25(0x80)](_0x5b029b=>{const _0x49d325=_0x41dd25;for(const _0x596b62 of _0x34d20d[_0x49d325(0xdd)][_0x49d325(0x70)]){if(!_0x596b62[_0x49d325(0xd5)][_0x49d325(0xa8)](_0x49d325(0x9b)))continue;const _0x3d22aa=_0x34d20d[_0x49d325(0xad)][_0x49d325(0xc6)][_0x49d325(0xb0)](_0x596b62[_0x49d325(0xd5)]);if(_0x3d22aa){for(const _0x42bcd8 of _0x3d22aa)_0x5b029b[_0x49d325(0xa2)](_0x49d325(0x9e),_0x42bcd8);}}});}(_0x2653a8);},{'useCapture':!0x0});}[_0x44338f(0x82)](){const _0x34c781=_0x44338f,_0x4e3a04=this[_0x34c781(0x8e)],_0x5aee35=_0x4e3a04[_0x34c781(0xc0)][_0x34c781(0x67)](_0x34c781(0xac));_0x5aee35&&_0x4e3a04[_0x34c781(0xdd)]['on'](_0x34c781(0xc3),(_0x21b4ad,_0x2b21ee)=>{const _0xc4990c=_0x34c781,_0x13aea8=_0x2b21ee[0x0];if(!_0x13aea8[_0xc4990c(0xea)])return;if(_0xc4990c(0x9a)!=_0x13aea8[_0xc4990c(0x73)]||!_0x13aea8[_0xc4990c(0xd5)][_0xc4990c(0xa8)](_0xc4990c(0xef)))return;const _0x1a1bc2=_0x13aea8[_0xc4990c(0xdc)];_0x5aee35[_0xc4990c(0xbb)][_0xc4990c(0xd3)](_0x1a1bc2)&&(_0x13aea8[_0xc4990c(0xd7)]=_0x13aea8[_0xc4990c(0x76)]?_0x4e3a04[_0xc4990c(0xdd)][_0xc4990c(0x9d)](_0x13aea8[_0xc4990c(0x76)][_0xc4990c(0xe5)],_0x13aea8[_0xc4990c(0x76)][_0xc4990c(0x87)]):null);},{'priority':_0x34c781(0xee)});}[_0x44338f(0x96)](){const _0x354a8c=_0x44338f;return this[_0x354a8c(0xc8)][_0x354a8c(0xae)](),super[_0x354a8c(0x96)]();}[_0x44338f(0x6e)](){const _0x6ffbc3=_0x44338f,_0x2766c9=this[_0x6ffbc3(0x8e)],_0x1233f9=_0x2766c9[_0x6ffbc3(0xdd)][_0x6ffbc3(0x9f)],_0x5775ec=_0x2766c9[_0x6ffbc3(0x7a)][_0x6ffbc3(0x67)](_0x314c24);_0x2766c9[_0x6ffbc3(0xdd)][_0x6ffbc3(0xa7)]({'isUndoable':!0x1},_0x4d2242=>{const _0x2875b6=_0x6ffbc3,_0x324efd=_0x2875b6(0x6d)+_0x5775ec[_0x2875b6(0xe7)],_0x37e0a5=_0x2875b6(0x97)+_0x5775ec[_0x2875b6(0xe7)],_0x5b0838=_0x2766c9[_0x2875b6(0xdd)][_0x2875b6(0x70)][_0x2875b6(0xd3)](_0x324efd);_0x2766c9[_0x2875b6(0xad)][_0x2875b6(0x99)][_0x2875b6(0xc7)]?re(_0x5775ec[_0x2875b6(0xe7)],_0x1233f9[_0x2875b6(0xbd)][_0x2875b6(0xb6)](),_0x2766c9[_0x2875b6(0xdd)],_0x4d2242):_0x5b0838&&(_0x4d2242[_0x2875b6(0xc5)](_0x324efd),_0x4d2242[_0x2875b6(0xc5)](_0x37e0a5));});}}function _0x54e2(){const _0x4acf28=['getSelectionClass','4pkosaj','ck-user__selection','start','mouseleave','mySessionId','render','toDomElement','isDocumentOperation','span','toRange','editingDowncast','highest','user:','change:range','get','getCustomProperty','delete','tableCell','ck-user__marker-tooltip','root','user:range:','createUserMarkerOperations','isOfficialPlugin','markers','627770onqVwU','detach','type','isCollapsed','264245fSUWuT','oldRange','markerToElement','getStart','remove','plugins','setAttribute','user:range','1032309dpaPGC','nodeAfter','addMarker','change','6391BhRHTw','afterInit','getUserBySessionId','listenTo','createUIElement','keydown','end','$text','isInline','fromRange','add','requires','markerRange','editor','isPremiumPlugin','data-session-id','3832FWXBgs','1318116keLJee','createElement','addEventListener','Escape','destroy','user:position:','isLimit','view','marker','user:position','contenteditable','createRange','ck-user__marker_hovered','document','schema','userPositionMarker','removeClass','parent','getContainedElement','for','classList','enqueueChange','startsWith','getMarkerClass','mouseenter','split','undo','editing','stopListening','spellcheck','markerNameToElements','1366256hxjDIn','isObject','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getRange','ck-user__marker\x20','getFirstRange','getAttribute','$graveyard','textContent','markerName','_createdBatches','size','selection','set','conversion','commands','color','init','applyOperation','clear','removeMarker','mapper','hasDomSelection','_domEmitter','UserMarkers','isSimilar','updateMarker','outerHTML','update:user:range','checkChild','getNearestSelectionRange','false','reconvertMarker','rootName','has','element','name','hasContent','newRange','setCustomProperty','orderNumber','getPositions','deletionPosition','batch','model','2812023psLCcR','innerHTML','pluginName','markerToHighlight'];_0x54e2=function(){return _0x4acf28;};return _0x54e2();}function re(_0x46b83e,_0x3aa620,_0xd576bf,_0x42e227){const _0x2c18eb=_0x44338f,_0x35e58e=_0x2c18eb(0x6d)+_0x46b83e,_0x2735ad=_0x2c18eb(0x97)+_0x46b83e,_0x4bce41=_0x3aa620[_0x2c18eb(0xa4)]();let _0x4dd758=_0x3aa620[_0x2c18eb(0xe5)];if(_0x4bce41&&_0x4bce41['is'](_0x2c18eb(0xd4),_0x2c18eb(0x6a))){const _0x18a11d=function(_0x53771b,_0x39f381){const _0x4e50c3=_0x2c18eb;for(const _0x475f8f of _0x53771b[_0x4e50c3(0xda)]())if(_0x39f381[_0x4e50c3(0xa0)][_0x4e50c3(0xce)](_0x475f8f,_0x4e50c3(0x88)))return _0x475f8f;}(_0x3aa620,_0xd576bf);_0x18a11d&&(_0x4dd758=_0x18a11d,_0x3aa620=_0x42e227[_0x2c18eb(0x9d)](_0x4dd758));}const _0x310ed7=_0x42e227[_0x2c18eb(0x9d)](_0x4dd758);_0xd576bf[_0x2c18eb(0x70)][_0x2c18eb(0xd3)](_0x35e58e)?(_0x42e227[_0x2c18eb(0xcb)](_0x35e58e,{'range':_0x3aa620}),_0x42e227[_0x2c18eb(0xcb)](_0x2735ad,{'range':_0x310ed7})):(_0x42e227[_0x2c18eb(0x7f)](_0x35e58e,{'range':_0x3aa620,'usingOperation':!0x0}),_0x42e227[_0x2c18eb(0x7f)](_0x2735ad,{'range':_0x310ed7,'usingOperation':!0x0}));}