@ckeditor/ckeditor5-real-time-collaboration 46.1.1 → 47.0.0-alpha.0

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 _0x1fcab8=_0x3da6;function _0xc3f9(){const _0x1081bf=['change:hasPopup','.ck-balloon-panel_with-arrow','set','bindTemplate','27jBSsJg','Connected\x20users\x20list','aria-expanded','listenTo','contains','items','setAttribute','1938435BEYzaf','ck-presence-list__list','list','keystrokes','fire','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','26229CeFXaA','setTemplate','presencelist:show','927880hTSZgG','relatedTarget','.ck-presence-list__dropdown-list','div','focus','6044610sRWbnJ','hasPopup','2056pTZWZt','removeAttribute','render','1392301FvfEtU','createCollection','querySelector','543516LebzQR','25187229MpOrxj','element'];_0xc3f9=function(){return _0x1081bf;};return _0xc3f9();}(function(_0x23ab9f,_0x22cb82){const _0x1e7294=_0x3da6,_0x4fc604=_0x23ab9f();while(!![]){try{const _0x41aac9=parseInt(_0x1e7294(0x1b6))/0x1+parseInt(_0x1e7294(0x1ac))/0x2+parseInt(_0x1e7294(0x19a))/0x3*(parseInt(_0x1e7294(0x1b9))/0x4)+parseInt(_0x1e7294(0x1a1))/0x5+parseInt(_0x1e7294(0x1b1))/0x6+parseInt(_0x1e7294(0x1a9))/0x7*(-parseInt(_0x1e7294(0x1b3))/0x8)+-parseInt(_0x1e7294(0x1ba))/0x9;if(_0x41aac9===_0x22cb82)break;else _0x4fc604['push'](_0x4fc604['shift']());}catch(_0x17408f){_0x4fc604['push'](_0x4fc604['shift']());}}}(_0xc3f9,0xae00a));import{View as _0x3c7a56}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x52440d}from'ckeditor5/src/utils.js';import{getTranslation as _0x380b5}from'../../common-translations.js';function _0x3da6(_0x338828,_0x2ee648){const _0xc3f9cd=_0xc3f9();return _0x3da6=function(_0x3da65e,_0x22dd5e){_0x3da65e=_0x3da65e-0x199;let _0x2c348a=_0xc3f9cd[_0x3da65e];return _0x2c348a;},_0x3da6(_0x338828,_0x2ee648);}export class PresenceInlineListView extends _0x3c7a56{[_0x1fcab8(0x19f)];[_0x1fcab8(0x1a4)];constructor(_0x53f31a){const _0x16f3f5=_0x1fcab8;super(_0x53f31a);const _0x3eabf2=this[_0x16f3f5(0x199)];this[_0x16f3f5(0x19f)]=this[_0x16f3f5(0x1b7)](),this[_0x16f3f5(0x1a4)]=new _0x52440d(),this[_0x16f3f5(0x1be)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x16f3f5(0x1aa)]({'tag':_0x16f3f5(0x1af),'attributes':{'aria-haspopup':_0x3eabf2['if'](_0x16f3f5(0x1b2)),'aria-expanded':_0x3eabf2['to'](_0x16f3f5(0x1a8),_0x3ce5f7=>this[_0x16f3f5(0x1b2)]&&String(_0x3ce5f7)),'aria-label':_0x3eabf2['to'](_0x16f3f5(0x1b2),_0x231c30=>_0x380b5(_0x53f31a,_0x231c30?_0x16f3f5(0x1a7):_0x16f3f5(0x19b))),'role':_0x16f3f5(0x1a3),'tabindex':_0x3eabf2['to'](_0x16f3f5(0x1b2),_0x56bd3f=>!!_0x56bd3f&&0x0),'class':['ck',_0x16f3f5(0x1a2)]},'children':this[_0x16f3f5(0x19f)],'on':{'mouseenter':_0x3eabf2['to'](()=>this[_0x16f3f5(0x1a5)](_0x16f3f5(0x1ab))),'mouseleave':_0x3eabf2['to'](_0x19a9aa=>{const _0x52c383=_0x16f3f5,_0x4334c0=_0x19a9aa,_0x537949=document[_0x52c383(0x1b8)](_0x52c383(0x1ae)),_0x4adae3=document[_0x52c383(0x1b8)](_0x52c383(0x1bd));_0x537949?.[_0x52c383(0x19e)](_0x4334c0[_0x52c383(0x1ad)])||_0x4adae3?.[_0x52c383(0x19e)](_0x4334c0[_0x52c383(0x1ad)])||this[_0x52c383(0x1a5)](_0x52c383(0x1a6));})}}),this['on'](_0x16f3f5(0x1bc),(_0x4ef272,_0xc162c8,_0x12f4a5)=>{const _0x3dff7f=_0x16f3f5;this[_0x3dff7f(0x1bb)]&&(_0x12f4a5?this[_0x3dff7f(0x1bb)][_0x3dff7f(0x1a0)](_0x3dff7f(0x19c),String(this[_0x3dff7f(0x1a8)])):this[_0x3dff7f(0x1bb)][_0x3dff7f(0x1b4)](_0x3dff7f(0x19c)));});}[_0x1fcab8(0x1b0)](){const _0x2bb447=_0x1fcab8;this[_0x2bb447(0x1bb)][_0x2bb447(0x1b0)]();}[_0x1fcab8(0x1b5)](){const _0x586314=_0x1fcab8;super[_0x586314(0x1b5)](),this[_0x586314(0x1a4)][_0x586314(0x19d)](this[_0x586314(0x1bb)]);}}
23
+ const _0x736abf=_0x3d01;function _0x5260(){const _0x35ecaf=['querySelector','items','hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','presencelist:show','ck-presence-list__list','6CjsTuO','aria-expanded','7309652NmWFEP','38404641bfjtOK','presencelist:hide','removeAttribute','contains','Connected\x20users\x20list','.ck-balloon-panel_with-arrow','626956yaeWHq','isExpanded','3855087IDulBr','listenTo','fire','element','keystrokes','render','set','1060360RHMURA','40zQzWrT','.ck-presence-list__dropdown-list','bindTemplate','list','74IQbXRv','8XrOmaI','div','27165hFdJwR','115036kEcFfJ','change:hasPopup','createCollection','setTemplate','setAttribute','focus'];_0x5260=function(){return _0x35ecaf;};return _0x5260();}(function(_0x2ada64,_0x1b11ac){const _0x325d52=_0x3d01,_0xc50e53=_0x2ada64();while(!![]){try{const _0x3fe4b5=parseInt(_0x325d52(0xc9))/0x1+parseInt(_0x325d52(0xc5))/0x2*(-parseInt(_0x325d52(0xc8))/0x3)+-parseInt(_0x325d52(0xdf))/0x4*(parseInt(_0x325d52(0xe9))/0x5)+parseInt(_0x325d52(0xd6))/0x6*(-parseInt(_0x325d52(0xd8))/0x7)+-parseInt(_0x325d52(0xc6))/0x8*(parseInt(_0x325d52(0xe1))/0x9)+parseInt(_0x325d52(0xe8))/0xa+parseInt(_0x325d52(0xd9))/0xb;if(_0x3fe4b5===_0x1b11ac)break;else _0xc50e53['push'](_0xc50e53['shift']());}catch(_0x51ef7c){_0xc50e53['push'](_0xc50e53['shift']());}}}(_0x5260,0x9ee7d));function _0x3d01(_0x263b67,_0x3a1aa9){const _0x52607b=_0x5260();return _0x3d01=function(_0x3d01bf,_0x22e7f3){_0x3d01bf=_0x3d01bf-0xc5;let _0x5ac914=_0x52607b[_0x3d01bf];return _0x5ac914;},_0x3d01(_0x263b67,_0x3a1aa9);}import{View as _0x29eadb}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1459e7}from'ckeditor5/src/utils.js';import{getTranslation as _0x3a1855}from'../../common-translations.js';export class PresenceInlineListView extends _0x29eadb{[_0x736abf(0xd0)];[_0x736abf(0xe5)];constructor(_0x111c83){const _0x51445a=_0x736abf;super(_0x111c83);const _0x401cce=this[_0x51445a(0xeb)];this[_0x51445a(0xd0)]=this[_0x51445a(0xcb)](),this[_0x51445a(0xe5)]=new _0x1459e7(),this[_0x51445a(0xe7)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x51445a(0xcc)]({'tag':_0x51445a(0xc7),'attributes':{'aria-haspopup':_0x401cce['if'](_0x51445a(0xd1)),'aria-expanded':_0x401cce['to'](_0x51445a(0xe0),_0x1b4ddd=>this[_0x51445a(0xd1)]&&String(_0x1b4ddd)),'aria-label':_0x401cce['to'](_0x51445a(0xd1),_0x343ce5=>_0x3a1855(_0x111c83,_0x343ce5?_0x51445a(0xd2):_0x51445a(0xdd))),'role':_0x51445a(0xec),'tabindex':_0x401cce['to'](_0x51445a(0xd1),_0x24159a=>!!_0x24159a&&0x0),'class':['ck',_0x51445a(0xd5)]},'children':this[_0x51445a(0xd0)],'on':{'mouseenter':_0x401cce['to'](()=>this[_0x51445a(0xe3)](_0x51445a(0xd4))),'mouseleave':_0x401cce['to'](_0xad0c72=>{const _0x28bbc0=_0x51445a,_0x447c4c=_0xad0c72,_0x414284=document[_0x28bbc0(0xcf)](_0x28bbc0(0xea)),_0x4220d8=document[_0x28bbc0(0xcf)](_0x28bbc0(0xde));_0x414284?.[_0x28bbc0(0xdc)](_0x447c4c[_0x28bbc0(0xd3)])||_0x4220d8?.[_0x28bbc0(0xdc)](_0x447c4c[_0x28bbc0(0xd3)])||this[_0x28bbc0(0xe3)](_0x28bbc0(0xda));})}}),this['on'](_0x51445a(0xca),(_0x7e3ef9,_0x58bbdc,_0x2fe79f)=>{const _0x3bec3b=_0x51445a;this[_0x3bec3b(0xe4)]&&(_0x2fe79f?this[_0x3bec3b(0xe4)][_0x3bec3b(0xcd)](_0x3bec3b(0xd7),String(this[_0x3bec3b(0xe0)])):this[_0x3bec3b(0xe4)][_0x3bec3b(0xdb)](_0x3bec3b(0xd7)));});}[_0x736abf(0xce)](){const _0x470eba=_0x736abf;this[_0x470eba(0xe4)][_0x470eba(0xce)]();}[_0x736abf(0xe6)](){const _0x27e327=_0x736abf;super[_0x27e327(0xe6)](),this[_0x27e327(0xe5)][_0x27e327(0xe2)](this[_0x27e327(0xe4)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20e02f=_0x5b1c;(function(_0x574d0b,_0x1ec6c0){const _0x1cec43=_0x5b1c,_0xa1372b=_0x574d0b();while(!![]){try{const _0x3fa47f=-parseInt(_0x1cec43(0xc1))/0x1*(-parseInt(_0x1cec43(0xb2))/0x2)+parseInt(_0x1cec43(0xc0))/0x3*(-parseInt(_0x1cec43(0xaa))/0x4)+-parseInt(_0x1cec43(0xb8))/0x5+-parseInt(_0x1cec43(0xba))/0x6+parseInt(_0x1cec43(0xaf))/0x7*(parseInt(_0x1cec43(0xb4))/0x8)+-parseInt(_0x1cec43(0xb0))/0x9+parseInt(_0x1cec43(0xa6))/0xa*(parseInt(_0x1cec43(0xbc))/0xb);if(_0x3fa47f===_0x1ec6c0)break;else _0xa1372b['push'](_0xa1372b['shift']());}catch(_0x43b37c){_0xa1372b['push'](_0xa1372b['shift']());}}}(_0x3f8e,0x8e7c3));function _0x3f8e(){const _0x2c49cb=['30gNgKnH','first','locale','change','1016bCygYJ','counterView','listenTo','items','bindTemplate','77drYYix','5569416nXFYrt','div','11874YkwCsw','bind','574736hjpvpX','inlineListView','setTemplate','tooltipPosition','712265AvMPVO','ck-presence-list','2780760vXqFmS','ck-presence-list--collapsed','3898697kJUcxq','set','isCollapsed','ck-rounded-corners','2427CLEUfp','27AZnMYV','ck-reset','hasPopup'];_0x3f8e=function(){return _0x2c49cb;};return _0x3f8e();}import{View as _0x4b21ef}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xfc557f}from'./presencecounterview.js';import{PresenceInlineListView as _0x2f21da}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x5b1c(_0x5bdebe,_0x527dde){const _0x3f8eab=_0x3f8e();return _0x5b1c=function(_0x5b1c51,_0x24df63){_0x5b1c51=_0x5b1c51-0xa4;let _0x98ff00=_0x3f8eab[_0x5b1c51];return _0x98ff00;},_0x5b1c(_0x5bdebe,_0x527dde);}export class PresenceListView extends _0x4b21ef{[_0x20e02f(0xab)];[_0x20e02f(0xb5)];constructor(_0x1420cd,_0x1b7365=0x6){const _0x59931e=_0x20e02f;super(_0x1420cd);const _0x5ca870=this[_0x59931e(0xae)];this[_0x59931e(0xbd)](_0x59931e(0xbe),!0x0),this[_0x59931e(0xab)]=new _0xfc557f(this[_0x59931e(0xa8)],_0x1b7365),this[_0x59931e(0xb5)]=new _0x2f21da(_0x1420cd),this[_0x59931e(0xb5)][_0x59931e(0xb3)](_0x59931e(0xa5))['to'](this,_0x59931e(0xbe)),this[_0x59931e(0xac)](this[_0x59931e(0xb5)][_0x59931e(0xad)],_0x59931e(0xa9),()=>{const _0x3eb2f0=_0x59931e;for(const _0x252680 of this[_0x3eb2f0(0xb5)][_0x3eb2f0(0xad)])_0x252680[_0x3eb2f0(0xb7)]='s';this[_0x3eb2f0(0xb5)][_0x3eb2f0(0xad)][_0x3eb2f0(0xa7)]&&(this[_0x3eb2f0(0xb5)][_0x3eb2f0(0xad)][_0x3eb2f0(0xa7)][_0x3eb2f0(0xb7)]='se');}),this[_0x59931e(0xb6)]({'tag':_0x59931e(0xb1),'attributes':{'class':['ck',_0x59931e(0xb9),_0x59931e(0xa4),_0x59931e(0xbf),_0x5ca870['if'](_0x59931e(0xbe),_0x59931e(0xbb))]},'children':[this[_0x59931e(0xb5)]]});}}
23
+ const _0x196f76=_0x51b5;(function(_0x5bcc78,_0x433898){const _0x4a8cbd=_0x51b5,_0x5c0acd=_0x5bcc78();while(!![]){try{const _0x46c843=-parseInt(_0x4a8cbd(0x139))/0x1+-parseInt(_0x4a8cbd(0x13f))/0x2*(-parseInt(_0x4a8cbd(0x132))/0x3)+-parseInt(_0x4a8cbd(0x12c))/0x4+-parseInt(_0x4a8cbd(0x140))/0x5+-parseInt(_0x4a8cbd(0x131))/0x6+parseInt(_0x4a8cbd(0x147))/0x7*(-parseInt(_0x4a8cbd(0x12e))/0x8)+parseInt(_0x4a8cbd(0x130))/0x9*(parseInt(_0x4a8cbd(0x13a))/0xa);if(_0x46c843===_0x433898)break;else _0x5c0acd['push'](_0x5c0acd['shift']());}catch(_0x3c7211){_0x5c0acd['push'](_0x5c0acd['shift']());}}}(_0x2cd5,0xc74a3));import{View as _0x124282}from'ckeditor5/src/ui.js';function _0x51b5(_0x42add6,_0x2a950e){const _0x2cd59d=_0x2cd5();return _0x51b5=function(_0x51b5ee,_0x1bb4f5){_0x51b5ee=_0x51b5ee-0x12b;let _0x23056a=_0x2cd59d[_0x51b5ee];return _0x23056a;},_0x51b5(_0x42add6,_0x2a950e);}import{PresenceCounterView as _0x313289}from'./presencecounterview.js';function _0x2cd5(){const _0x11af27=['tooltipPosition','414180laQBkR','19664120XhnUCH','hasPopup','inlineListView','ck-presence-list','first','2PJTALb','4850385RBbUKV','bind','items','ck-reset','listenTo','div','bindTemplate','3270561HFfOpW','ck-rounded-corners','1574248EzdQVs','set','24cpXgxP','change','18dcyCmO','8912964NpwGyG','4645347CrXytJ','locale','isCollapsed','ck-presence-list--collapsed','setTemplate','counterView'];_0x2cd5=function(){return _0x11af27;};return _0x2cd5();}import{PresenceInlineListView as _0x1c496b}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x124282{[_0x196f76(0x137)];[_0x196f76(0x13c)];constructor(_0x58339e,_0x50bd12=0x6){const _0x4c6f17=_0x196f76;super(_0x58339e);const _0x3f13fe=this[_0x4c6f17(0x146)];this[_0x4c6f17(0x12d)](_0x4c6f17(0x134),!0x0),this[_0x4c6f17(0x137)]=new _0x313289(this[_0x4c6f17(0x133)],_0x50bd12),this[_0x4c6f17(0x13c)]=new _0x1c496b(_0x58339e),this[_0x4c6f17(0x13c)][_0x4c6f17(0x141)](_0x4c6f17(0x13b))['to'](this,_0x4c6f17(0x134)),this[_0x4c6f17(0x144)](this[_0x4c6f17(0x13c)][_0x4c6f17(0x142)],_0x4c6f17(0x12f),()=>{const _0x54a32b=_0x4c6f17;for(const _0x50268e of this[_0x54a32b(0x13c)][_0x54a32b(0x142)])_0x50268e[_0x54a32b(0x138)]='s';this[_0x54a32b(0x13c)][_0x54a32b(0x142)][_0x54a32b(0x13e)]&&(this[_0x54a32b(0x13c)][_0x54a32b(0x142)][_0x54a32b(0x13e)][_0x54a32b(0x138)]='se');}),this[_0x4c6f17(0x136)]({'tag':_0x4c6f17(0x145),'attributes':{'class':['ck',_0x4c6f17(0x13d),_0x4c6f17(0x143),_0x4c6f17(0x12b),_0x3f13fe['if'](_0x4c6f17(0x134),_0x4c6f17(0x135))]},'children':[this[_0x4c6f17(0x13c)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x475eeb=_0x3d85;(function(_0x41220d,_0x480571){var _0x289ac1=_0x3d85,_0x36496e=_0x41220d();while(!![]){try{var _0x4074cf=parseInt(_0x289ac1(0x1d1))/0x1+parseInt(_0x289ac1(0x1d9))/0x2+parseInt(_0x289ac1(0x1ce))/0x3+parseInt(_0x289ac1(0x1d4))/0x4*(parseInt(_0x289ac1(0x1cd))/0x5)+parseInt(_0x289ac1(0x1d2))/0x6+parseInt(_0x289ac1(0x1d3))/0x7+-parseInt(_0x289ac1(0x1da))/0x8*(parseInt(_0x289ac1(0x1cf))/0x9);if(_0x4074cf===_0x480571)break;else _0x36496e['push'](_0x36496e['shift']());}catch(_0x5bbb39){_0x36496e['push'](_0x36496e['shift']());}}}(_0x1818,0x2e35a));function _0x3d85(_0x51efe5,_0x4a18f3){var _0x181843=_0x1818();return _0x3d85=function(_0x3d8528,_0x576658){_0x3d8528=_0x3d8528-0x1cd;var _0x8c996d=_0x181843[_0x3d8528];return _0x8c996d;},_0x3d85(_0x51efe5,_0x4a18f3);}function _0x1818(){var _0x1e12ef=['1597050BbTiXv','1041968gSztPo','pluginName','isPremiumPlugin','requires','isOfficialPlugin','670514MNipfi','49744aADnSy','5nmhmCC','881982VtlPyX','2241DTjzEp','PresenceList','356307HdqyZA','1580136JSkAGf'];_0x1818=function(){return _0x1e12ef;};return _0x1818();}import{ContextPlugin as _0x1f4d02}from'ckeditor5/src/core.js';import{Sessions as _0x2c1c35}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4f45a9}from'./presencelist/presencelistui.js';export class PresenceList extends _0x1f4d02{static get[_0x475eeb(0x1d7)](){return[_0x2c1c35,_0x4f45a9];}static get[_0x475eeb(0x1d5)](){var _0xc6ef8d=_0x475eeb;return _0xc6ef8d(0x1d0);}static get[_0x475eeb(0x1d8)](){return!0x0;}static get[_0x475eeb(0x1d6)](){return!0x0;}}
23
+ function _0x2582(){var _0x507360=['4eGlWoq','isOfficialPlugin','850125ZiyLDM','isPremiumPlugin','24gcXAkk','3vnEKle','364pqXBED','358235LePIAt','3221834LbUOOp','20DvLWKv','4799169qDBeba','PresenceList','36JDMihI','requires','4428464dEvibx','pluginName','11278371fVfrWF','123376kPhKMw'];_0x2582=function(){return _0x507360;};return _0x2582();}var _0x34d931=_0x399c;(function(_0x24db29,_0x358f8b){var _0xddd22c=_0x399c,_0x4c7794=_0x24db29();while(!![]){try{var _0x254371=-parseInt(_0xddd22c(0xcb))/0x1*(-parseInt(_0xddd22c(0xc4))/0x2)+-parseInt(_0xddd22c(0xc9))/0x3*(parseInt(_0xddd22c(0xc0))/0x4)+parseInt(_0xddd22c(0xc6))/0x5*(parseInt(_0xddd22c(0xd0))/0x6)+-parseInt(_0xddd22c(0xca))/0x7*(-parseInt(_0xddd22c(0xc3))/0x8)+parseInt(_0xddd22c(0xce))/0x9*(-parseInt(_0xddd22c(0xcd))/0xa)+-parseInt(_0xddd22c(0xcc))/0xb*(parseInt(_0xddd22c(0xc8))/0xc)+parseInt(_0xddd22c(0xc2))/0xd;if(_0x254371===_0x358f8b)break;else _0x4c7794['push'](_0x4c7794['shift']());}catch(_0x3d2812){_0x4c7794['push'](_0x4c7794['shift']());}}}(_0x2582,0x9de59));function _0x399c(_0x1c5001,_0xecf65e){var _0x258250=_0x2582();return _0x399c=function(_0x399cce,_0x25a7ab){_0x399cce=_0x399cce-0xbf;var _0x310ce2=_0x258250[_0x399cce];return _0x310ce2;},_0x399c(_0x1c5001,_0xecf65e);}import{ContextPlugin as _0x56ee60}from'ckeditor5/src/core.js';import{Sessions as _0x1d4119}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x17c8e3}from'./presencelist/presencelistui.js';export class PresenceList extends _0x56ee60{static get[_0x34d931(0xbf)](){return[_0x1d4119,_0x17c8e3];}static get[_0x34d931(0xc1)](){var _0x29e907=_0x34d931;return _0x29e907(0xcf);}static get[_0x34d931(0xc5)](){return!0x0;}static get[_0x34d931(0xc7)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf9ada0=_0x58a0;(function(_0xc1b6b8,_0x4a6c8a){const _0x8cadc8=_0x58a0,_0x7eee21=_0xc1b6b8();while(!![]){try{const _0x6e2de0=-parseInt(_0x8cadc8(0xcd))/0x1*(parseInt(_0x8cadc8(0xa6))/0x2)+-parseInt(_0x8cadc8(0xc8))/0x3+-parseInt(_0x8cadc8(0xae))/0x4+-parseInt(_0x8cadc8(0x82))/0x5+parseInt(_0x8cadc8(0x9c))/0x6+parseInt(_0x8cadc8(0x85))/0x7*(-parseInt(_0x8cadc8(0xcf))/0x8)+parseInt(_0x8cadc8(0xc3))/0x9;if(_0x6e2de0===_0x4a6c8a)break;else _0x7eee21['push'](_0x7eee21['shift']());}catch(_0x157fc7){_0x7eee21['push'](_0x7eee21['shift']());}}}(_0x8611,0xd4da4));import{Context as _0x28fef4,ContextPlugin as _0x480b63}from'ckeditor5/src/core.js';import{CKEditorError as _0x2124e4}from'ckeditor5/src/utils.js';import{Users as _0x2301ea}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2b03a7,User as _0x22a081}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x306bd5}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x22ac7c}from'../realtimecollaborativeediting/sessions.js';class s extends _0x480b63{static [_0xf9ada0(0xad)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2b03a7)());[_0xf9ada0(0xac)];static get[_0xf9ada0(0xb1)](){const _0x10f3dc=_0xf9ada0;return[_0x306bd5,_0x10f3dc(0xc2),_0x22ac7c,_0x2301ea];}static get[_0xf9ada0(0xdd)](){const _0x3d5f65=_0xf9ada0;return _0x3d5f65(0xce);}static get[_0xf9ada0(0xd7)](){return!0x0;}static get[_0xf9ada0(0xd6)](){return!0x0;}constructor(_0x19b82a){const _0x57ebdb=_0xf9ada0;super(_0x19b82a),this[_0x57ebdb(0xac)]=new Map();}async[_0xf9ada0(0xa4)](){const _0x59265f=_0xf9ada0,_0x30afcf=this[_0x59265f(0x87)],_0x241448=_0x30afcf[_0x59265f(0x8b)][_0x59265f(0xb7)](_0x59265f(0xc2));if(_0x30afcf[_0x59265f(0x8b)][_0x59265f(0xb7)](_0x306bd5)[_0x59265f(0xc9)](this),_0x241448[_0x59265f(0x92)]={'addCommentThread':async({channelId:_0x146cdb,threadId:_0x2d8076,comments:_0x211f77,resolvedAt:_0x227f00,resolvedBy:_0x2d445,context:_0x25b937,attributes:_0x2c03e5})=>{const _0x8b3958=_0x59265f,_0x7d4fba=await this[_0x8b3958(0x84)](_0x146cdb)[_0x8b3958(0x7d)]({'commentThreadId':_0x2d8076,'comments':_0x211f77[_0x8b3958(0xa1)](_0x369963=>function(_0x302c97,_0x2cc4d6,_0x2fa005){const _0x338857=_0x8b3958;return{'commentThreadId':_0x2fa005,'commentId':_0x302c97[_0x338857(0x98)],'userId':_0x302c97[_0x338857(0x7f)],'content':_0x302c97[_0x338857(0x81)],'documentId':_0x2cc4d6,'createdAt':_0x302c97[_0x338857(0xb0)],'attributes':_0x302c97[_0x338857(0xd1)]||{}};}(_0x369963,_0x146cdb,_0x2d8076)),'resolvedAt':_0x227f00,'resolvedBy':_0x2d445,'context':_0x25b937,'attributes':_0x2c03e5})[_0x8b3958(0xc4)](it);return{'threadId':_0x7d4fba[_0x8b3958(0xc7)],'comments':_0x7d4fba[_0x8b3958(0x9a)]};},'getCommentThread':async({channelId:_0x95375b,threadId:_0x305965})=>{const _0x16f54b=_0x59265f,_0x14cefa=await this[_0x16f54b(0x84)](_0x95375b)[_0x16f54b(0xbb)](_0x305965)[_0x16f54b(0xc4)](nt)[_0x16f54b(0xc4)](it);return _0x14cefa?_0x14cefa[_0x16f54b(0xb3)]?null:(await this[_0x16f54b(0xa5)]([_0x14cefa]),{'threadId':_0x14cefa[_0x16f54b(0xc7)],'comments':_0x14cefa[_0x16f54b(0x9a)][_0x16f54b(0xa1)](st),'context':_0x14cefa[_0x16f54b(0x87)],'resolvedAt':_0x14cefa[_0x16f54b(0xb5)],'resolvedBy':_0x14cefa[_0x16f54b(0xc6)],'attributes':_0x14cefa[_0x16f54b(0xd1)]||{}}):null;},'updateCommentThread':async({channelId:_0x181e88,threadId:_0x51a968,context:_0x50cfba,unlinkedAt:_0x5d5e7a,attributes:_0x2e2f67})=>this[_0x59265f(0x84)](_0x181e88)[_0x59265f(0xd8)]({'commentThreadId':_0x51a968,'context':_0x50cfba,'attributes':_0x2e2f67,'unlinkedAt':_0x5d5e7a})[_0x59265f(0xc4)](nt)[_0x59265f(0xc4)](it),'resolveCommentThread':async({channelId:_0x464b10,threadId:_0x537285})=>{const _0x33019b=_0x59265f,_0x343d0c=await this[_0x33019b(0x84)](_0x464b10)[_0x33019b(0x9d)](_0x537285)[_0x33019b(0xc4)](nt)[_0x33019b(0xc4)](it);return{'threadId':_0x343d0c[_0x33019b(0xc7)],'resolvedAt':_0x343d0c[_0x33019b(0xb5)],'resolvedBy':_0x343d0c[_0x33019b(0xc6)]};},'reopenCommentThread':async({channelId:_0x2f9375,threadId:_0x293338})=>this[_0x59265f(0x84)](_0x2f9375)[_0x59265f(0xa3)](_0x293338)[_0x59265f(0xc4)](nt)[_0x59265f(0xc4)](it),'removeCommentThread':({channelId:_0x23e7b9,threadId:_0x56b5d5})=>this[_0x59265f(0x84)](_0x23e7b9)[_0x59265f(0x83)](_0x56b5d5)[_0x59265f(0xc4)](nt)[_0x59265f(0xc4)](it),'addComment':({channelId:_0x3e1786,threadId:_0x58ea38,commentId:_0x583f83,content:_0x231add,attributes:_0x163be9})=>this[_0x59265f(0x84)](_0x3e1786)[_0x59265f(0xa2)](_0x58ea38,_0x583f83,_0x231add,_0x163be9)[_0x59265f(0xc4)](it),'updateComment':({channelId:_0x107adf,threadId:_0x35c02c,commentId:_0x124087,content:_0x428b66,attributes:_0x5b707f})=>this[_0x59265f(0x84)](_0x107adf)[_0x59265f(0xb8)](_0x35c02c,_0x124087,_0x428b66,_0x5b707f)[_0x59265f(0xc4)](nt)[_0x59265f(0xc4)](it),'removeComment':({channelId:_0x607a97,threadId:_0x26d3a8,commentId:_0x945cc0})=>this[_0x59265f(0x84)](_0x607a97)[_0x59265f(0xbd)](_0x26d3a8,_0x945cc0)[_0x59265f(0xc4)](nt)[_0x59265f(0xc4)](it)},_0x30afcf instanceof _0x28fef4){const _0x196ae0=_0x30afcf[_0x59265f(0xb9)][_0x59265f(0xb7)](_0x59265f(0xb4)),_0x2c3490=_0x30afcf[_0x59265f(0x8b)][_0x59265f(0xb7)](_0x22ac7c);await this[_0x59265f(0xd5)](_0x196ae0);const _0x443a41=await this[_0x59265f(0xac)][_0x59265f(0xb7)](_0x196ae0)[_0x59265f(0x96)]();this[_0x59265f(0x8e)](_0x2c3490,_0x59265f(0x93)+_0x196ae0,(_0xfed671,{session:_0x2cea61})=>{const _0x562932=_0x59265f;_0x2cea61['id']===_0x2c3490[_0x562932(0xdc)]&&(_0xfed671[_0x562932(0xca)](),this[_0x562932(0x87)][_0x562932(0x8b)][_0x562932(0xb7)](_0x562932(0xbf))[_0x562932(0x9f)](_0x2cea61[_0x562932(0xbc)],_0x196ae0));}),_0x2c3490[_0x59265f(0x7e)](_0x196ae0,_0x443a41);}}async[_0xf9ada0(0xd5)](_0x15fbd8){const _0x136104=_0xf9ada0;if(this[_0x136104(0xac)][_0x136104(0x86)](_0x15fbd8))throw new _0x2124e4(_0x136104(0x8f),null,{'channelId':_0x15fbd8});const _0x4b7029=this[_0x136104(0x87)][_0x136104(0x8b)][_0x136104(0xb7)](_0x136104(0xc2)),_0x169452=new s[(_0x136104(0xad))](_0x15fbd8);this[_0x136104(0xac)][_0x136104(0x7c)](_0x15fbd8,_0x169452),this[_0x136104(0x8e)](_0x169452,_0x136104(0x91),(_0x7624fc,_0x2c9a44)=>{const _0x1a91f6=_0x136104,{commentThreadId:_0x126ecd,documentId:_0x58039b,context:_0x397d1b,attributes:_0x148063,resolvedAt:_0x390bc3,resolvedBy:_0x486fcb,comments:_0x83ba5c}=_0x2c9a44;_0x4b7029[_0x1a91f6(0xbb)](_0x126ecd)||_0x4b7029[_0x1a91f6(0x7d)]({'threadId':_0x126ecd,'channelId':_0x58039b,'comments':_0x83ba5c?_0x83ba5c[_0x1a91f6(0xa1)](st):[],'context':_0x397d1b,'attributes':_0x148063,'resolvedAt':_0x390bc3,'resolvedBy':_0x486fcb,'isFromAdapter':!0x0});}),this[_0x136104(0x8e)](_0x169452,_0x136104(0xde),(_0x23487b,{commentThreadId:_0x16d98c,documentId:_0x1e3642,context:_0x16b2e6,unlinkedAt:_0x225620,attributes:_0x473aa0})=>{const _0xda082a=_0x136104;_0x4b7029[_0xda082a(0xbb)](_0x16d98c)&&_0x4b7029[_0xda082a(0xd8)]({'threadId':_0x16d98c,'channelId':_0x1e3642,'context':_0x16b2e6,'unlinkedAt':_0x225620,'attributes':_0x473aa0,'isFromAdapter':!0x0});}),this[_0x136104(0x8e)](_0x169452,_0x136104(0x97),(_0x3c732d,{commentThreadId:_0x4dbd5b,resolvedBy:_0x2d2332,resolvedAt:_0x5de1d2})=>{const _0x37b05c=_0x136104,_0x5b160c=_0x4b7029[_0x37b05c(0xbb)](_0x4dbd5b);_0x5b160c&&_0x5b160c[_0x37b05c(0xd9)]({'resolvedBy':_0x2d2332,'resolvedAt':_0x5de1d2,'isFromAdapter':!0x0});}),this[_0x136104(0x8e)](_0x169452,_0x136104(0x8a),(_0x28b7ce,{commentThreadId:_0x52274e})=>{const _0x5eeaac=_0x136104,_0xcfa22e=_0x4b7029[_0x5eeaac(0xbb)](_0x52274e);_0xcfa22e&&_0xcfa22e[_0x5eeaac(0xaa)]({'isFromAdapter':!0x0});}),this[_0x136104(0x8e)](_0x169452,_0x136104(0xb2),(_0x5b5f12,{commentThreadId:_0x357c78})=>{const _0x382543=_0x136104,_0x4985a0=_0x4b7029[_0x382543(0xbb)](_0x357c78);_0x4985a0&&_0x4985a0[_0x382543(0xbe)]({'isFromAdapter':!0x0});}),this[_0x136104(0x8e)](_0x169452,_0x136104(0x95),(_0x5713da,_0x38c3e8)=>{const _0x37a508=_0x136104,_0x9965f5=_0x38c3e8[_0x37a508(0xc7)],_0x55363b=_0x4b7029[_0x37a508(0xbb)](_0x9965f5);_0x55363b&&_0x55363b[_0x37a508(0xa2)]({...st(_0x38c3e8),'isFromAdapter':!0x0});}),this[_0x136104(0x8e)](_0x169452,_0x136104(0xa0),(_0x22eedb,{commentThreadId:_0x381fd8,commentId:_0x193e6a,content:_0xb11ee4,attributes:_0x1e6dc8})=>{const _0x50d664=_0x136104,_0x58e855=_0x4b7029[_0x50d664(0xbb)](_0x381fd8);if(_0x58e855){const _0x2b7793=_0x58e855[_0x50d664(0xc0)](_0x193e6a);_0x2b7793&&_0x2b7793[_0x50d664(0x80)]({'content':_0xb11ee4,'attributes':_0x1e6dc8,'isFromAdapter':!0x0});}}),this[_0x136104(0x8e)](_0x169452,_0x136104(0xcc),(_0x282a72,{commentThreadId:_0x240dc7,commentId:_0x2166be})=>{const _0x37bb62=_0x136104,_0xbb4885=_0x4b7029[_0x37bb62(0xbb)](_0x240dc7);if(_0xbb4885){const _0x43d259=_0xbb4885[_0x37bb62(0xc0)](_0x2166be);_0x43d259&&_0x43d259[_0x37bb62(0xbe)]({'isFromAdapter':!0x0});}}),await this[_0x136104(0xc1)](_0x15fbd8);}[_0xf9ada0(0x88)](){const _0x116b1a=_0xf9ada0;if(this[_0x116b1a(0x87)]instanceof _0x28fef4){const _0x4a90fc=this[_0x116b1a(0x87)][_0x116b1a(0xb9)][_0x116b1a(0xb7)](_0x116b1a(0xb4));this[_0x116b1a(0xaf)](_0x4a90fc);}}[_0xf9ada0(0xaf)](_0x49a1e0){const _0x3ff561=_0xf9ada0;if(!this[_0x3ff561(0xac)][_0x3ff561(0x86)](_0x49a1e0))throw new _0x2124e4(_0x3ff561(0x89),null,{'channelId':_0x49a1e0});this[_0x3ff561(0x84)](_0x49a1e0)[_0x3ff561(0xd2)](),this[_0x3ff561(0xac)][_0x3ff561(0xcb)](_0x49a1e0);}async[_0xf9ada0(0x7b)](){const _0x3620ff=_0xf9ada0;for(const _0x5d4fb8 of this[_0x3620ff(0xac)][_0x3620ff(0x9e)]())await this[_0x3620ff(0xc1)](_0x5d4fb8);if(this[_0x3620ff(0x87)]instanceof _0x28fef4){const _0x10f3a4=this[_0x3620ff(0x87)][_0x3620ff(0xb9)][_0x3620ff(0xb7)](_0x3620ff(0xb4)),_0x5b1ae2=this[_0x3620ff(0x87)][_0x3620ff(0x8b)][_0x3620ff(0xb7)](_0x22ac7c);_0x5b1ae2[_0x3620ff(0xa7)](_0x10f3a4);const _0xd724b5=await this[_0x3620ff(0xac)][_0x3620ff(0xb7)](_0x10f3a4)[_0x3620ff(0x96)]();_0x5b1ae2[_0x3620ff(0x7e)](_0x10f3a4,_0xd724b5);}}async[_0xf9ada0(0xc1)](_0xd6c55b){const _0x3e80f3=_0xf9ada0,{connection:_0x553dea}=this[_0x3e80f3(0x87)][_0x3e80f3(0x8b)][_0x3e80f3(0xb7)](_0x306bd5),_0xdce707=this[_0x3e80f3(0x87)][_0x3e80f3(0x8b)][_0x3e80f3(0xb7)](_0x3e80f3(0xc2)),_0x3e1303=this[_0x3e80f3(0xac)][_0x3e80f3(0xb7)](_0xd6c55b),_0x3f1f8c=await _0x3e1303[_0x3e80f3(0x9b)](_0x553dea);await this[_0x3e80f3(0xa5)](_0x3f1f8c);const _0x14398f=new Set(Array[_0x3e80f3(0x8c)](_0xdce707[_0x3e80f3(0xba)]({'channelId':_0xd6c55b}),_0x2fc33e=>_0x2fc33e['id']));for(const _0x5f52a8 of _0x3f1f8c)_0x5f52a8[_0x3e80f3(0xb3)]||_0x14398f[_0x3e80f3(0xcb)](_0x5f52a8[_0x3e80f3(0xc7)]);for(const _0x5abd97 of _0x14398f)_0xdce707[_0x3e80f3(0xbb)](_0x5abd97)[_0x3e80f3(0xbe)]({'isFromAdapter':!0x0});for(const _0xa03622 of _0x3f1f8c){let _0x38da19=_0xdce707[_0x3e80f3(0xbb)](_0xa03622[_0x3e80f3(0xc7)]);const {commentThreadId:_0x1d61f5,context:_0x225d9f,attributes:_0x37390e,resolvedBy:_0x3fb09d,resolvedAt:_0x3fd2cb,unlinkedAt:_0x4944ce,deletedAt:_0x293c87}=_0xa03622;if(_0x293c87)continue;_0x38da19||(_0x38da19=_0xdce707[_0x3e80f3(0x7d)]({'channelId':_0xd6c55b,'threadId':_0x1d61f5,'context':_0x225d9f,'attributes':_0x37390e||{},'resolvedBy':_0x3fb09d,'resolvedAt':_0x3fd2cb,'unlinkedAt':_0x4944ce,'isFromAdapter':!0x0}));const _0x436fd4=new Set(Array[_0x3e80f3(0x8c)](_0x38da19[_0x3e80f3(0x9a)],_0x2d70ed=>_0x2d70ed['id']));for(const _0x42c3a5 of _0xa03622[_0x3e80f3(0x9a)])_0x436fd4[_0x3e80f3(0xcb)](_0x42c3a5[_0x3e80f3(0x98)]);for(const _0x19c5e0 of _0x436fd4)_0x38da19[_0x3e80f3(0xc0)](_0x19c5e0)[_0x3e80f3(0xbe)]({'isFromAdapter':!0x0});for(const _0x321da0 of _0xa03622[_0x3e80f3(0x9a)]){const _0x57c898=_0x38da19[_0x3e80f3(0xc0)](_0x321da0[_0x3e80f3(0x98)]);_0x57c898?_0x57c898[_0x3e80f3(0x81)]!==_0x321da0[_0x3e80f3(0x81)]&&_0x57c898[_0x3e80f3(0x80)]({'content':_0x321da0[_0x3e80f3(0x81)],'isFromAdapter':!0x0}):_0x38da19[_0x3e80f3(0xa2)](Object[_0x3e80f3(0xdf)](st(_0x321da0),{'isFromAdapter':!0x0}));}}}[_0xf9ada0(0x84)](_0x57df7b){const _0x572f7d=_0xf9ada0;if(!this[_0x572f7d(0xac)][_0x572f7d(0x86)](_0x57df7b))throw new _0x2124e4(_0x572f7d(0x94),null,{'channelId':_0x57df7b});return this[_0x572f7d(0xac)][_0x572f7d(0xb7)](_0x57df7b);}async[_0xf9ada0(0xa5)](_0x363041){const _0x1808f0=_0xf9ada0,_0x1ba3e4=this[_0x1808f0(0x87)][_0x1808f0(0x8b)][_0x1808f0(0xb7)](_0x2301ea),{connection:_0x21b84f}=this[_0x1808f0(0x87)][_0x1808f0(0x8b)][_0x1808f0(0xb7)](_0x306bd5),_0x57f4dd=new Set();for(const {resolvedBy:_0x46b4f9,comments:_0x289df6}of _0x363041){_0x46b4f9&&!_0x1ba3e4[_0x1808f0(0xdb)](_0x46b4f9)&&_0x57f4dd[_0x1808f0(0xc5)](_0x46b4f9);for(const {userId:_0x4ff291}of _0x289df6)_0x1ba3e4[_0x1808f0(0xdb)](_0x4ff291)||_0x57f4dd[_0x1808f0(0xc5)](_0x4ff291);}if(0x0===_0x57f4dd[_0x1808f0(0xb6)])return;const _0x15db6f=await _0x22a081[_0x1808f0(0xd4)](_0x21b84f,Array[_0x1808f0(0x8c)](_0x57f4dd));for(const _0x36791a of _0x15db6f)_0x1ba3e4[_0x1808f0(0xdb)](_0x36791a['id'])||_0x1ba3e4[_0x1808f0(0xda)](_0x36791a);}}function _0x8611(){const _0x4e38d8=['1865944qiNmag','_terminateService','createdAt','requires','commentThreadRemoved','deletedAt','collaboration.channelId','resolvedAt','size','get','updateComment','config','getCommentThreads','getCommentThread','permissions','removeComment','remove','Permissions','getComment','_connectService','CommentsRepository','46341360eILGHT','catch','add','resolvedBy','commentThreadId','5074254NLOhrk','addToReconnectionStack','off','delete','commentRemoved','1231075qoOWWf','CloudServicesCommentsAdapter','88mztApB','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','attributes','disconnect','cloud-services-internal-error:\x20Request\x20timeout.','getMany','_setUpService','isPremiumPlugin','isOfficialPlugin','updateCommentThread','resolve','addUser','getUser','mySessionId','pluginName','commentThreadUpdated','assign','reconnect','set','addCommentThread','register','authorId','update','content','3871345AOlyyO','removeCommentThread','_getService','1038422IRIFpC','has','context','destroy','cloudservicescommentsadapter-disconnect-not-exist','commentThreadReopened','plugins','from','404','listenTo','cloudservicescommentsadapter-connect-already-connected','code','commentThreadAdded','adapter','sessionAdd:','cloudservicescommentsadapter-service-not-exist','commentAdded','getConnectedSessions','commentThreadResolved','commentId','startsWith','comments','connect','9107148JfBNxJ','resolveCommentThread','keys','setPermissions','commentUpdated','map','addComment','reopenCommentThread','init','_fetchMissingUsersForThreads','2vYeZGa','unregister','cloud-services-internal-error:\x20Not\x20connected.','message','reopen','userId','_services','CommentsService'];_0x8611=function(){return _0x4e38d8;};return _0x8611();}export{s as CloudServicesCommentsAdapter};async function nt(_0x3ed976){const _0x4493b4=_0xf9ada0;if(_0x4493b4(0x8d)!==_0x3ed976[_0x4493b4(0x90)])throw _0x3ed976;}function _0x58a0(_0x321f8b,_0x13cd63){const _0x861169=_0x8611();return _0x58a0=function(_0x58a083,_0x3a56e1){_0x58a083=_0x58a083-0x7b;let _0x43fac6=_0x861169[_0x58a083];return _0x43fac6;},_0x58a0(_0x321f8b,_0x13cd63);}function it(_0x3187f2){const _0x443183=_0xf9ada0;if((_0x1d8ff4=_0x3187f2)[_0x443183(0xa9)][_0x443183(0x99)](_0x443183(0xd0))||_0x1d8ff4[_0x443183(0xa9)][_0x443183(0x99)](_0x443183(0xa8))||_0x1d8ff4[_0x443183(0xa9)][_0x443183(0x99)](_0x443183(0xd3)))return new Promise(()=>{});var _0x1d8ff4;throw _0x3187f2;}function st(_0x17a53){const _0x5bdd1b=_0xf9ada0;return{'threadId':_0x17a53[_0x5bdd1b(0xc7)],'commentId':_0x17a53[_0x5bdd1b(0x98)],'content':_0x17a53[_0x5bdd1b(0x81)],'createdAt':_0x17a53[_0x5bdd1b(0xb0)],'authorId':_0x17a53[_0x5bdd1b(0xab)],'attributes':_0x17a53[_0x5bdd1b(0xd1)]||{}};}
23
+ const _0x3682e9=_0x4338;(function(_0x23befd,_0x1e0f6a){const _0x26917f=_0x4338,_0x538f85=_0x23befd();while(!![]){try{const _0x31249a=-parseInt(_0x26917f(0xaa))/0x1*(-parseInt(_0x26917f(0xcc))/0x2)+parseInt(_0x26917f(0xae))/0x3+-parseInt(_0x26917f(0xf1))/0x4*(-parseInt(_0x26917f(0xc1))/0x5)+-parseInt(_0x26917f(0xd1))/0x6*(parseInt(_0x26917f(0x95))/0x7)+parseInt(_0x26917f(0xd9))/0x8+-parseInt(_0x26917f(0xda))/0x9*(parseInt(_0x26917f(0xe2))/0xa)+-parseInt(_0x26917f(0xc3))/0xb*(-parseInt(_0x26917f(0xc0))/0xc);if(_0x31249a===_0x1e0f6a)break;else _0x538f85['push'](_0x538f85['shift']());}catch(_0x4ef1df){_0x538f85['push'](_0x538f85['shift']());}}}(_0x1243,0x412cb));import{Context as _0x532037,ContextPlugin as _0x25de15}from'ckeditor5/src/core.js';import{CKEditorError as _0xaf916e}from'ckeditor5/src/utils.js';import{Users as _0x1b2000}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x545b82,User as _0x1772ce}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3d1e8a}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2cfbca}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x25de15{static [_0x3682e9(0xc2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x545b82)());[_0x3682e9(0xf9)];static get[_0x3682e9(0xf7)](){const _0x2b1da1=_0x3682e9;return[_0x3d1e8a,_0x2b1da1(0xa2),_0x2cfbca,_0x1b2000];}static get[_0x3682e9(0xa5)](){const _0x55579c=_0x3682e9;return _0x55579c(0xd8);}static get[_0x3682e9(0xb6)](){return!0x0;}static get[_0x3682e9(0xde)](){return!0x0;}constructor(_0x1dd31b){const _0x5c9820=_0x3682e9;super(_0x1dd31b),this[_0x5c9820(0xf9)]=new Map();}async[_0x3682e9(0xe6)](){const _0x517e45=_0x3682e9,_0x539373=this[_0x517e45(0xd4)],_0xbb8a02=_0x539373[_0x517e45(0xf6)][_0x517e45(0xc9)](_0x517e45(0xa2));if(_0x539373[_0x517e45(0xf6)][_0x517e45(0xc9)](_0x3d1e8a)[_0x517e45(0xf4)](this),_0xbb8a02[_0x517e45(0xa4)]={'addCommentThread':async({channelId:_0xb75ac7,threadId:_0x4d241a,comments:_0xc5d379,resolvedAt:_0x77529f,resolvedBy:_0x159ce5,context:_0x383639,attributes:_0x440d41})=>{const _0x499166=_0x517e45,_0x3d20d5=await this[_0x499166(0xb0)](_0xb75ac7)[_0x499166(0x9d)]({'commentThreadId':_0x4d241a,'comments':_0xc5d379[_0x499166(0xf2)](_0x11bd18=>function(_0x409e8e,_0x2618ef,_0x53cadc){const _0x265612=_0x499166;return{'commentThreadId':_0x53cadc,'commentId':_0x409e8e[_0x265612(0xa7)],'userId':_0x409e8e[_0x265612(0xa8)],'content':_0x409e8e[_0x265612(0xb9)],'documentId':_0x2618ef,'createdAt':_0x409e8e[_0x265612(0xd6)],'attributes':_0x409e8e[_0x265612(0xbe)]||{}};}(_0x11bd18,_0xb75ac7,_0x4d241a)),'resolvedAt':_0x77529f,'resolvedBy':_0x159ce5,'context':_0x383639,'attributes':_0x440d41})[_0x499166(0xcd)](k);return{'threadId':_0x3d20d5[_0x499166(0xd0)],'comments':_0x3d20d5[_0x499166(0xbb)]};},'getCommentThread':async({channelId:_0x431b11,threadId:_0x1e300a})=>{const _0x1ce607=_0x517e45,_0x41528e=await this[_0x1ce607(0xb0)](_0x431b11)[_0x1ce607(0xf8)](_0x1e300a)[_0x1ce607(0xcd)](F)[_0x1ce607(0xcd)](k);return _0x41528e?_0x41528e[_0x1ce607(0xbc)]?null:(await this[_0x1ce607(0xad)]([_0x41528e]),{'threadId':_0x41528e[_0x1ce607(0xd0)],'comments':_0x41528e[_0x1ce607(0xbb)][_0x1ce607(0xf2)](S),'context':_0x41528e[_0x1ce607(0xd4)],'resolvedAt':_0x41528e[_0x1ce607(0x98)],'resolvedBy':_0x41528e[_0x1ce607(0xa1)],'attributes':_0x41528e[_0x1ce607(0xbe)]||{}}):null;},'updateCommentThread':async({channelId:_0x594c6b,threadId:_0x53c831,context:_0x128bd6,unlinkedAt:_0x25f046,attributes:_0x526229})=>this[_0x517e45(0xb0)](_0x594c6b)[_0x517e45(0xc4)]({'commentThreadId':_0x53c831,'context':_0x128bd6,'attributes':_0x526229,'unlinkedAt':_0x25f046})[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'resolveCommentThread':async({channelId:_0x69e098,threadId:_0x2070b0})=>{const _0x434f82=_0x517e45,_0x122882=await this[_0x434f82(0xb0)](_0x69e098)[_0x434f82(0x99)](_0x2070b0)[_0x434f82(0xcd)](F)[_0x434f82(0xcd)](k);return{'threadId':_0x122882[_0x434f82(0xd0)],'resolvedAt':_0x122882[_0x434f82(0x98)],'resolvedBy':_0x122882[_0x434f82(0xa1)]};},'reopenCommentThread':async({channelId:_0x3a32dd,threadId:_0x2fc5e0})=>this[_0x517e45(0xb0)](_0x3a32dd)[_0x517e45(0xed)](_0x2fc5e0)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'removeCommentThread':({channelId:_0x5941ab,threadId:_0x54b4bf})=>this[_0x517e45(0xb0)](_0x5941ab)[_0x517e45(0xbd)](_0x54b4bf)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'addComment':({channelId:_0x1ebc9b,threadId:_0x350078,commentId:_0x342865,content:_0x2067c7,attributes:_0x1a8ceb})=>this[_0x517e45(0xb0)](_0x1ebc9b)[_0x517e45(0xce)](_0x350078,_0x342865,_0x2067c7,_0x1a8ceb)[_0x517e45(0xcd)](k),'updateComment':({channelId:_0x1beeba,threadId:_0x4a0fea,commentId:_0x31c1ea,content:_0x3894c5,attributes:_0x39adbc})=>this[_0x517e45(0xb0)](_0x1beeba)[_0x517e45(0xd7)](_0x4a0fea,_0x31c1ea,_0x3894c5,_0x39adbc)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k),'removeComment':({channelId:_0x488057,threadId:_0x11efb0,commentId:_0x35b925})=>this[_0x517e45(0xb0)](_0x488057)[_0x517e45(0xe7)](_0x11efb0,_0x35b925)[_0x517e45(0xcd)](F)[_0x517e45(0xcd)](k)},_0x539373 instanceof _0x532037){const _0x644a3d=_0x539373[_0x517e45(0xa3)][_0x517e45(0xc9)](_0x517e45(0xe8)),_0x4ec40a=_0x539373[_0x517e45(0xf6)][_0x517e45(0xc9)](_0x2cfbca);await this[_0x517e45(0xba)](_0x644a3d);const _0x5e8f35=await this[_0x517e45(0xf9)][_0x517e45(0xc9)](_0x644a3d)[_0x517e45(0xcf)]();this[_0x517e45(0x9e)](_0x4ec40a,_0x517e45(0xa0)+_0x644a3d,(_0x211264,{session:_0x8ab89e})=>{const _0x31b6cd=_0x517e45;_0x8ab89e['id']===_0x4ec40a[_0x31b6cd(0xb7)]&&(_0x211264[_0x31b6cd(0xc7)](),this[_0x31b6cd(0xd4)][_0x31b6cd(0xf6)][_0x31b6cd(0xc9)](_0x31b6cd(0xea))[_0x31b6cd(0x96)](_0x8ab89e[_0x31b6cd(0xd2)],_0x644a3d));}),_0x4ec40a[_0x517e45(0x9f)](_0x644a3d,_0x5e8f35);}}async[_0x3682e9(0xba)](_0x3442aa){const _0x8b5c67=_0x3682e9;if(this[_0x8b5c67(0xf9)][_0x8b5c67(0xb3)](_0x3442aa))throw new _0xaf916e(_0x8b5c67(0xb4),null,{'channelId':_0x3442aa});const _0x11ebbc=this[_0x8b5c67(0xd4)][_0x8b5c67(0xf6)][_0x8b5c67(0xc9)](_0x8b5c67(0xa2)),_0x30c17f=new CloudServicesCommentsAdapter[(_0x8b5c67(0xc2))](_0x3442aa);this[_0x8b5c67(0xf9)][_0x8b5c67(0x9b)](_0x3442aa,_0x30c17f),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0x9c),(_0x1e8999,_0x1e2de0)=>{const _0x1cac9d=_0x8b5c67,{commentThreadId:_0xdf99a,documentId:_0x127db7,context:_0xeeb907,attributes:_0x5a3524,resolvedAt:_0x2eb139,resolvedBy:_0xec0cc6,comments:_0x144bfc}=_0x1e2de0;_0x11ebbc[_0x1cac9d(0xf8)](_0xdf99a)||_0x11ebbc[_0x1cac9d(0x9d)]({'threadId':_0xdf99a,'channelId':_0x127db7,'comments':_0x144bfc?_0x144bfc[_0x1cac9d(0xf2)](S):[],'context':_0xeeb907,'attributes':_0x5a3524,'resolvedAt':_0x2eb139,'resolvedBy':_0xec0cc6,'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xfc),(_0x31d46c,{commentThreadId:_0xd63ce7,documentId:_0x21746a,context:_0x1845d7,unlinkedAt:_0x5b4173,attributes:_0x12096b})=>{const _0x3461d8=_0x8b5c67;_0x11ebbc[_0x3461d8(0xf8)](_0xd63ce7)&&_0x11ebbc[_0x3461d8(0xc4)]({'threadId':_0xd63ce7,'channelId':_0x21746a,'context':_0x1845d7,'unlinkedAt':_0x5b4173,'attributes':_0x12096b,'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xf3),(_0x30a196,{commentThreadId:_0x22e1db,resolvedBy:_0x41234c,resolvedAt:_0x69a64})=>{const _0x50bcf4=_0x8b5c67,_0x4d3ef3=_0x11ebbc[_0x50bcf4(0xf8)](_0x22e1db);_0x4d3ef3&&_0x4d3ef3[_0x50bcf4(0xec)]({'resolvedBy':_0x41234c,'resolvedAt':_0x69a64,'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xca),(_0x22a40a,{commentThreadId:_0x3fb3cb})=>{const _0x15c896=_0x8b5c67,_0x87ac33=_0x11ebbc[_0x15c896(0xf8)](_0x3fb3cb);_0x87ac33&&_0x87ac33[_0x15c896(0xa6)]({'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xf0),(_0x4a927a,{commentThreadId:_0xfdc930})=>{const _0x163a29=_0x8b5c67,_0x766781=_0x11ebbc[_0x163a29(0xf8)](_0xfdc930);_0x766781&&_0x766781[_0x163a29(0xee)]({'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xfb),(_0x2520b5,_0x2ba876)=>{const _0x2c5190=_0x8b5c67,_0x251968=_0x2ba876[_0x2c5190(0xd0)],_0x3dca07=_0x11ebbc[_0x2c5190(0xf8)](_0x251968);_0x3dca07&&_0x3dca07[_0x2c5190(0xce)]({...S(_0x2ba876),'isFromAdapter':!0x0});}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xaf),(_0x21a74d,{commentThreadId:_0x62b181,commentId:_0x10d99c,content:_0x1a6fb3,attributes:_0x311447})=>{const _0x452f56=_0x8b5c67,_0x3d8113=_0x11ebbc[_0x452f56(0xf8)](_0x62b181);if(_0x3d8113){const _0x4bd60a=_0x3d8113[_0x452f56(0xe3)](_0x10d99c);_0x4bd60a&&_0x4bd60a[_0x452f56(0xfa)]({'content':_0x1a6fb3,'attributes':_0x311447,'isFromAdapter':!0x0});}}),this[_0x8b5c67(0x9e)](_0x30c17f,_0x8b5c67(0xc5),(_0x13a099,{commentThreadId:_0x914be2,commentId:_0x44f6b9})=>{const _0x5dc31d=_0x8b5c67,_0x409418=_0x11ebbc[_0x5dc31d(0xf8)](_0x914be2);if(_0x409418){const _0xcce6f7=_0x409418[_0x5dc31d(0xe3)](_0x44f6b9);_0xcce6f7&&_0xcce6f7[_0x5dc31d(0xee)]({'isFromAdapter':!0x0});}}),await this[_0x8b5c67(0xef)](_0x3442aa);}[_0x3682e9(0xeb)](){const _0xefe7ce=_0x3682e9;if(this[_0xefe7ce(0xd4)]instanceof _0x532037){const _0x1e6697=this[_0xefe7ce(0xd4)][_0xefe7ce(0xa3)][_0xefe7ce(0xc9)](_0xefe7ce(0xe8));this[_0xefe7ce(0xf5)](_0x1e6697);}}[_0x3682e9(0xf5)](_0x42a11b){const _0x372c45=_0x3682e9;if(!this[_0x372c45(0xf9)][_0x372c45(0xb3)](_0x42a11b))throw new _0xaf916e(_0x372c45(0xdb),null,{'channelId':_0x42a11b});this[_0x372c45(0xb0)](_0x42a11b)[_0x372c45(0xb2)](),this[_0x372c45(0xf9)][_0x372c45(0xb1)](_0x42a11b);}async[_0x3682e9(0xac)](){const _0x1dd670=_0x3682e9;for(const _0x1923f5 of this[_0x1dd670(0xf9)][_0x1dd670(0xcb)]())await this[_0x1dd670(0xef)](_0x1923f5);if(this[_0x1dd670(0xd4)]instanceof _0x532037){const _0x11515e=this[_0x1dd670(0xd4)][_0x1dd670(0xa3)][_0x1dd670(0xc9)](_0x1dd670(0xe8)),_0x289fe0=this[_0x1dd670(0xd4)][_0x1dd670(0xf6)][_0x1dd670(0xc9)](_0x2cfbca);_0x289fe0[_0x1dd670(0xe4)](_0x11515e);const _0x5b8ffd=await this[_0x1dd670(0xf9)][_0x1dd670(0xc9)](_0x11515e)[_0x1dd670(0xcf)]();_0x289fe0[_0x1dd670(0x9f)](_0x11515e,_0x5b8ffd);}}async[_0x3682e9(0xef)](_0x596d22){const _0x22ad27=_0x3682e9,{connection:_0x4e6d9f}=this[_0x22ad27(0xd4)][_0x22ad27(0xf6)][_0x22ad27(0xc9)](_0x3d1e8a),_0x40d990=this[_0x22ad27(0xd4)][_0x22ad27(0xf6)][_0x22ad27(0xc9)](_0x22ad27(0xa2)),_0x1c9465=this[_0x22ad27(0xf9)][_0x22ad27(0xc9)](_0x596d22),_0x2f9b29=await _0x1c9465[_0x22ad27(0xa9)](_0x4e6d9f);await this[_0x22ad27(0xad)](_0x2f9b29);const _0x232a97=new Set(Array[_0x22ad27(0xb5)](_0x40d990[_0x22ad27(0x9a)]({'channelId':_0x596d22}),_0x15f8da=>_0x15f8da['id']));for(const _0xe763b2 of _0x2f9b29)_0xe763b2[_0x22ad27(0xbc)]||_0x232a97[_0x22ad27(0xb1)](_0xe763b2[_0x22ad27(0xd0)]);for(const _0x52cdcc of _0x232a97)_0x40d990[_0x22ad27(0xf8)](_0x52cdcc)[_0x22ad27(0xee)]({'isFromAdapter':!0x0});for(const _0xd451c6 of _0x2f9b29){let _0x50c48d=_0x40d990[_0x22ad27(0xf8)](_0xd451c6[_0x22ad27(0xd0)]);const {commentThreadId:_0x2af3e3,context:_0x41987e,attributes:_0x21f26d,resolvedBy:_0x10ce5f,resolvedAt:_0x16c788,unlinkedAt:_0x105fb2,deletedAt:_0xd590fa}=_0xd451c6;if(_0xd590fa)continue;_0x50c48d||(_0x50c48d=_0x40d990[_0x22ad27(0x9d)]({'channelId':_0x596d22,'threadId':_0x2af3e3,'context':_0x41987e,'attributes':_0x21f26d||{},'resolvedBy':_0x10ce5f,'resolvedAt':_0x16c788,'unlinkedAt':_0x105fb2,'isFromAdapter':!0x0}));const _0x396a2a=new Set(Array[_0x22ad27(0xb5)](_0x50c48d[_0x22ad27(0xbb)],_0x7a333e=>_0x7a333e['id']));for(const _0xb4b633 of _0xd451c6[_0x22ad27(0xbb)])_0x396a2a[_0x22ad27(0xb1)](_0xb4b633[_0x22ad27(0xa7)]);for(const _0x29e5f6 of _0x396a2a)_0x50c48d[_0x22ad27(0xe3)](_0x29e5f6)[_0x22ad27(0xee)]({'isFromAdapter':!0x0});for(const _0xa86727 of _0xd451c6[_0x22ad27(0xbb)]){const _0x1c6ff7=_0x50c48d[_0x22ad27(0xe3)](_0xa86727[_0x22ad27(0xa7)]);_0x1c6ff7?_0x1c6ff7[_0x22ad27(0xb9)]!==_0xa86727[_0x22ad27(0xb9)]&&_0x1c6ff7[_0x22ad27(0xfa)]({'content':_0xa86727[_0x22ad27(0xb9)],'isFromAdapter':!0x0}):_0x50c48d[_0x22ad27(0xce)](Object[_0x22ad27(0xe1)](S(_0xa86727),{'isFromAdapter':!0x0}));}}}[_0x3682e9(0xb0)](_0xe842f2){const _0x277934=_0x3682e9;if(!this[_0x277934(0xf9)][_0x277934(0xb3)](_0xe842f2))throw new _0xaf916e(_0x277934(0xab),null,{'channelId':_0xe842f2});return this[_0x277934(0xf9)][_0x277934(0xc9)](_0xe842f2);}async[_0x3682e9(0xad)](_0x5b8c4a){const _0x412d33=_0x3682e9,_0x55519d=this[_0x412d33(0xd4)][_0x412d33(0xf6)][_0x412d33(0xc9)](_0x1b2000),{connection:_0x866980}=this[_0x412d33(0xd4)][_0x412d33(0xf6)][_0x412d33(0xc9)](_0x3d1e8a),_0x54430f=new Set();for(const {resolvedBy:_0x5b9be7,comments:_0xbc3c86}of _0x5b8c4a){_0x5b9be7&&!_0x55519d[_0x412d33(0xe9)](_0x5b9be7)&&_0x54430f[_0x412d33(0x97)](_0x5b9be7);for(const {userId:_0x4a07da}of _0xbc3c86)_0x55519d[_0x412d33(0xe9)](_0x4a07da)||_0x54430f[_0x412d33(0x97)](_0x4a07da);}if(0x0===_0x54430f[_0x412d33(0xc8)])return;const _0x167d5a=await _0x1772ce[_0x412d33(0xd5)](_0x866980,Array[_0x412d33(0xb5)](_0x54430f));for(const _0x5a59fe of _0x167d5a)_0x55519d[_0x412d33(0xe9)](_0x5a59fe['id'])||_0x55519d[_0x412d33(0xc6)](_0x5a59fe);}}function _0x1243(){const _0x427417=['28035XoeHVT','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','message','isPremiumPlugin','code','startsWith','assign','1290GJMAou','getComment','unregister','404','init','removeComment','collaboration.channelId','getUser','Permissions','destroy','resolve','reopenCommentThread','remove','_connectService','commentThreadRemoved','8YMVtop','map','commentThreadResolved','addToReconnectionStack','_terminateService','plugins','requires','getCommentThread','_services','update','commentAdded','commentThreadUpdated','49RjHZoE','setPermissions','add','resolvedAt','resolveCommentThread','getCommentThreads','set','commentThreadAdded','addCommentThread','listenTo','register','sessionAdd:','resolvedBy','CommentsRepository','config','adapter','pluginName','reopen','commentId','authorId','connect','3PQLrhc','cloudservicescommentsadapter-service-not-exist','reconnect','_fetchMissingUsersForThreads','700599zvtBqM','commentUpdated','_getService','delete','disconnect','has','cloudservicescommentsadapter-connect-already-connected','from','isOfficialPlugin','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','content','_setUpService','comments','deletedAt','removeCommentThread','attributes','cloud-services-internal-error:\x20Not\x20connected.','956028lIIvlP','592645izHRmZ','CommentsService','11MAZcCl','updateCommentThread','commentRemoved','addUser','off','size','get','commentThreadReopened','keys','151552VhQipx','catch','addComment','getConnectedSessions','commentThreadId','179418FhReHu','permissions','userId','context','getMany','createdAt','updateComment','CloudServicesCommentsAdapter','804184tIkVVB'];_0x1243=function(){return _0x427417;};return _0x1243();}function _0x4338(_0x2cca5d,_0x3f72e7){const _0x1243fb=_0x1243();return _0x4338=function(_0x43380a,_0x35b37b){_0x43380a=_0x43380a-0x95;let _0x167c9a=_0x1243fb[_0x43380a];return _0x167c9a;},_0x4338(_0x2cca5d,_0x3f72e7);}async function F(_0x2a648f){const _0x172db9=_0x3682e9;if(_0x172db9(0xe5)!==_0x2a648f[_0x172db9(0xdf)])throw _0x2a648f;}function k(_0x3cdee8){const _0x2cd2f7=_0x3682e9;if((_0x241f0d=_0x3cdee8)[_0x2cd2f7(0xdd)][_0x2cd2f7(0xe0)](_0x2cd2f7(0xb8))||_0x241f0d[_0x2cd2f7(0xdd)][_0x2cd2f7(0xe0)](_0x2cd2f7(0xbf))||_0x241f0d[_0x2cd2f7(0xdd)][_0x2cd2f7(0xe0)](_0x2cd2f7(0xdc)))return new Promise(()=>{});var _0x241f0d;throw _0x3cdee8;}function S(_0x19ec28){const _0x545955=_0x3682e9;return{'threadId':_0x19ec28[_0x545955(0xd0)],'commentId':_0x19ec28[_0x545955(0xa7)],'content':_0x19ec28[_0x545955(0xb9)],'createdAt':_0x19ec28[_0x545955(0xd6)],'authorId':_0x19ec28[_0x545955(0xd3)],'attributes':_0x19ec28[_0x545955(0xbe)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x187d5b=_0xd56d;(function(_0x499943,_0x2c38b6){const _0x22453e=_0xd56d,_0x303b8d=_0x499943();while(!![]){try{const _0x336d7c=parseInt(_0x22453e(0x1a5))/0x1*(-parseInt(_0x22453e(0x19d))/0x2)+parseInt(_0x22453e(0x197))/0x3+-parseInt(_0x22453e(0x198))/0x4+-parseInt(_0x22453e(0x19c))/0x5+parseInt(_0x22453e(0x195))/0x6*(parseInt(_0x22453e(0x1a3))/0x7)+-parseInt(_0x22453e(0x19b))/0x8+parseInt(_0x22453e(0x191))/0x9*(parseInt(_0x22453e(0x19f))/0xa);if(_0x336d7c===_0x2c38b6)break;else _0x303b8d['push'](_0x303b8d['shift']());}catch(_0x101870){_0x303b8d['push'](_0x303b8d['shift']());}}}(_0x5b58,0xb7547));import{Plugin as _0x550243}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x5ba3be}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x353d67}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5b3495}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x550243{static get[_0x187d5b(0x1a2)](){const _0x788e19=_0x187d5b;return[_0x788e19(0x1b0),_0x5ba3be,_0x353d67,_0x5b3495];}static get[_0x187d5b(0x1ad)](){const _0x49f7a4=_0x187d5b;return _0x49f7a4(0x1a9);}static get[_0x187d5b(0x1ae)](){return!0x0;}static get[_0x187d5b(0x19e)](){return!0x0;}[_0x187d5b(0x196)](){const _0x1d6c07=_0x187d5b,_0xf16699=this[_0x1d6c07(0x1a1)][_0x1d6c07(0x1ab)][_0x1d6c07(0x1a7)](_0x5b3495),_0x57ba3c=this[_0x1d6c07(0x1a1)][_0x1d6c07(0x1ab)][_0x1d6c07(0x1a7)](_0x1d6c07(0x1a6)),_0x227f97=this[_0x1d6c07(0x1a1)][_0x1d6c07(0x1ab)][_0x1d6c07(0x1a7)](_0x5ba3be);return this[_0x1d6c07(0x1a1)][_0x1d6c07(0x1b1)][_0x1d6c07(0x199)](_0x1d6c07(0x1af),()=>{const _0x1f2f97=_0x1d6c07;this[_0x1f2f97(0x1aa)](_0xf16699,_0x1f2f97(0x192),(_0x5d8a0c,_0x4d24d3,_0x56413b)=>{const _0x339e49=_0x1f2f97;_0x57ba3c[_0x339e49(0x193)]=_0x339e49(0x19a)!==_0x56413b;});}),this[_0x1d6c07(0x1aa)](_0xf16699,_0x1d6c07(0x192),(_0x346334,_0x5130b2,_0x5d9672)=>{const _0x363741=_0x1d6c07;this[_0x363741(0x1a1)][_0x363741(0x1ab)][_0x363741(0x1a7)](_0x363741(0x194))[_0x363741(0x1a8)](_0x363741(0x19a)!==_0x5d9672);}),_0x227f97[_0x1d6c07(0x1a0)](this[_0x1d6c07(0x1a1)][_0x1d6c07(0x1ac)][_0x1d6c07(0x1a7)](_0x1d6c07(0x1b3)));}[_0x187d5b(0x1b2)](){const _0x1a45f4=_0x187d5b;this[_0x1a45f4(0x1a1)][_0x1a45f4(0x1ab)][_0x1a45f4(0x1a7)](_0x5ba3be)[_0x1a45f4(0x1a4)](this[_0x1a45f4(0x1a1)][_0x1a45f4(0x1ac)][_0x1a45f4(0x1a7)](_0x1a45f4(0x1b3))),super[_0x1a45f4(0x1b2)]();}}function _0xd56d(_0x330047,_0x47ed14){const _0x5b5868=_0x5b58();return _0xd56d=function(_0xd56d2e,_0x189534){_0xd56d2e=_0xd56d2e-0x191;let _0x2da1c9=_0x5b5868[_0xd56d2e];return _0x2da1c9;},_0xd56d(_0x330047,_0x47ed14);}function _0x5b58(){const _0x5de6f1=['isOfficialPlugin','ready','Comments','data','destroy','collaboration.channelId','1531971KmPXUu','change:state','isThreadsLoadingPaused','CommentsRepository','228nipask','init','3349110FHvMnF','5338664wkUhcg','once','connected','3426072hYsijM','2900540KSXfIw','455402tRMxaF','isPremiumPlugin','160SrJmbb','_setUpService','editor','requires','30373nZIAFR','_terminateService','4KCNVlZ','CommentsEditing','get','switchReadOnly','RealTimeCollaborativeComments','listenTo','plugins','config','pluginName'];_0x5b58=function(){return _0x5de6f1;};return _0x5b58();}
23
+ const _0x3f25c2=_0x3e13;(function(_0x2916a0,_0x16c94f){const _0x3394c3=_0x3e13,_0x26c47d=_0x2916a0();while(!![]){try{const _0x5e0f93=-parseInt(_0x3394c3(0x163))/0x1*(parseInt(_0x3394c3(0x164))/0x2)+-parseInt(_0x3394c3(0x14d))/0x3*(-parseInt(_0x3394c3(0x15c))/0x4)+parseInt(_0x3394c3(0x152))/0x5*(parseInt(_0x3394c3(0x149))/0x6)+-parseInt(_0x3394c3(0x143))/0x7+parseInt(_0x3394c3(0x147))/0x8+parseInt(_0x3394c3(0x14e))/0x9+parseInt(_0x3394c3(0x158))/0xa*(parseInt(_0x3394c3(0x14c))/0xb);if(_0x5e0f93===_0x16c94f)break;else _0x26c47d['push'](_0x26c47d['shift']());}catch(_0x15c199){_0x26c47d['push'](_0x26c47d['shift']());}}}(_0x3584,0x495d8));function _0x3584(){const _0x33e0fb=['1073392oNpnLu','init','50766aPoieD','CommentsEditing','switchReadOnly','283954SvGGAS','525828HXGlzM','4263012tzNRaD','destroy','isPremiumPlugin','connected','250ZIhMGe','listenTo','collaboration.channelId','get','plugins','change:state','80KKqwhp','pluginName','config','once','4cgzVzA','isOfficialPlugin','requires','RealTimeCollaborativeComments','data','_setUpService','CommentsRepository','34637OyMOZt','32XlvBRv','isThreadsLoadingPaused','Comments','3905888gDQucQ','_terminateService','editor','ready'];_0x3584=function(){return _0x33e0fb;};return _0x3584();}function _0x3e13(_0x1ee8ff,_0x3c2456){const _0x358463=_0x3584();return _0x3e13=function(_0x3e13e3,_0x2529ec){_0x3e13e3=_0x3e13e3-0x143;let _0xbde00a=_0x358463[_0x3e13e3];return _0xbde00a;},_0x3e13(_0x1ee8ff,_0x3c2456);}import{Plugin as _0x14fb29}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4ac3be}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x340c53}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x2ceeb2}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x14fb29{static get[_0x3f25c2(0x15e)](){const _0x2d47b8=_0x3f25c2;return[_0x2d47b8(0x166),_0x4ac3be,_0x340c53,_0x2ceeb2];}static get[_0x3f25c2(0x159)](){const _0x57ca6c=_0x3f25c2;return _0x57ca6c(0x15f);}static get[_0x3f25c2(0x15d)](){return!0x0;}static get[_0x3f25c2(0x150)](){return!0x0;}[_0x3f25c2(0x148)](){const _0x2c394f=_0x3f25c2,_0xdb770d=this[_0x2c394f(0x145)][_0x2c394f(0x156)][_0x2c394f(0x155)](_0x2ceeb2),_0x4e432e=this[_0x2c394f(0x145)][_0x2c394f(0x156)][_0x2c394f(0x155)](_0x2c394f(0x14a)),_0x261036=this[_0x2c394f(0x145)][_0x2c394f(0x156)][_0x2c394f(0x155)](_0x4ac3be);return this[_0x2c394f(0x145)][_0x2c394f(0x160)][_0x2c394f(0x15b)](_0x2c394f(0x146),()=>{const _0x37f04b=_0x2c394f;this[_0x37f04b(0x153)](_0xdb770d,_0x37f04b(0x157),(_0x1c9309,_0x8cdf6c,_0x2a4d09)=>{const _0x4e793a=_0x37f04b;_0x4e432e[_0x4e793a(0x165)]=_0x4e793a(0x151)!==_0x2a4d09;});}),this[_0x2c394f(0x153)](_0xdb770d,_0x2c394f(0x157),(_0x2ffb44,_0x2b683b,_0x55dcf8)=>{const _0x5f27ab=_0x2c394f;this[_0x5f27ab(0x145)][_0x5f27ab(0x156)][_0x5f27ab(0x155)](_0x5f27ab(0x162))[_0x5f27ab(0x14b)](_0x5f27ab(0x151)!==_0x55dcf8);}),_0x261036[_0x2c394f(0x161)](this[_0x2c394f(0x145)][_0x2c394f(0x15a)][_0x2c394f(0x155)](_0x2c394f(0x154)));}[_0x3f25c2(0x14f)](){const _0x55e841=_0x3f25c2;this[_0x55e841(0x145)][_0x55e841(0x156)][_0x55e841(0x155)](_0x4ac3be)[_0x55e841(0x144)](this[_0x55e841(0x145)][_0x55e841(0x15a)][_0x55e841(0x155)](_0x55e841(0x154))),super[_0x55e841(0x14f)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dd6e0=_0x3dbd;(function(_0x1e28d7,_0x4c2398){const _0x4aa5f6=_0x3dbd,_0x347124=_0x1e28d7();while(!![]){try{const _0x2a8d17=parseInt(_0x4aa5f6(0x1da))/0x1*(parseInt(_0x4aa5f6(0x122))/0x2)+parseInt(_0x4aa5f6(0x149))/0x3+-parseInt(_0x4aa5f6(0x1ee))/0x4*(-parseInt(_0x4aa5f6(0x1d6))/0x5)+parseInt(_0x4aa5f6(0x1b5))/0x6+parseInt(_0x4aa5f6(0x182))/0x7+parseInt(_0x4aa5f6(0x129))/0x8*(-parseInt(_0x4aa5f6(0x101))/0x9)+-parseInt(_0x4aa5f6(0x15b))/0xa*(parseInt(_0x4aa5f6(0x146))/0xb);if(_0x2a8d17===_0x4c2398)break;else _0x347124['push'](_0x347124['shift']());}catch(_0x4d9a88){_0x347124['push'](_0x347124['shift']());}}}(_0x2624,0x34086));import{Plugin as _0x39f00c,PendingActions as _0x2b33ae}from'ckeditor5/src/core.js';import{CKEditorError as _0x9abfc5,version as _0x4a7317,uid as _0x3332ff}from'ckeditor5/src/utils.js';import{Notification as _0x39330b}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x319a47,NoOperation as _0x1ad666,InsertOperation as _0x26ee34,MarkerOperation as _0xd8f5c1,RootAttributeOperation as _0x36e685,OperationFactory as _0xaa4d68,History as _0x341c1d}from'ckeditor5/src/engine.js';function _0x2624(){const _0xfca22f=['editor','_connectService','372349aHYUMy','disconnect','_decompressOperations','_getAffectedRoot','disconnected','$root','getMany','initData','enqueueChange','realtimecollaborationclient-init-document-already-initialized','createdAt','_currentBufferDelay','_handleReconnectionResponse','applyOperation','_lastServerVersion','_waitUntilSynced','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:_isEditingAllowed','init','round','1668076oxaPWH','_handleReconnectionError','_handleSendingSelectionMarkers','wasUndone','realtimecollaborationclient-init-service-internal-error','version','sendOperations','_compressor','clone','_initThrowingOnDataSet','InsertOperation','data','isEnabled','_setUpDataInit','realtimecollaborationclient','model','high','set','affectedSelectable','entries','realtimecollaborationclient-init-non-existent-root','setIdForTheLastOperation','decompress','_offset','isOfficialPlugin','insert','9PzROGA','_channelId','startsWith','rootsAttributes','suppressErrorInCollaboration','newRange','realtimecollaborationclient-handleserverresponse','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.','setPermissions','_saveOperationInBuffer','destroy','_bufferedOperations','editing','differ','_isPendingUpdate','_isDisconnection','change:_isPendingUpdate','_lastSyncedOperationId','lastSyncVersion','root','_isInit','includes','Permissions','batch','currentDocumentSession','position','stopListening','_sendBufferedOperationsDelayed','_handleServerResponse','_operationToId','keys','fromJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','2uvPrfH','_ignoredOperations','off','409','cloudServices.bundleVersion','from','remove','2597656XtdEBk','plugins','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_document','filter','error','_initSessionsHandling','Notification','collaboration.channelId','change:range','reconnect','serverHistory','toJSON','connection','cs:removeUser','CollaborativeEditingService','showWarning','cloudDocumentVersion','forEach','_service','CommentsOnly','define','_sendBufferedOperationsDelayId','locale','collaboration-missing-channelid','attributes','_handleInitialConnectionData','_isConnected','createRange','451jOmdka','rootName','isReadOnly','1204227BIXrld','getUser','loadRoot','metadata','change:hasDomSelection','Synchronization\x20issue','length','isUndoneOperation','realtimecollaborationclient-sendbufferedoperations','finally','directChange','map','reconnection:\x20flushed\x20session','_knownOperations','operationsReceived','isDocumentOperation','message','view','305850JhECdA','lastOperationId','_compressOperations','getOperations','addUser','sessionId','return','path','start','connected','_pendingAction','apply','connect','size','catch','_isLoaded','_updateServerHistory','push','_addKnownRoot','_bufferRootLoad','realtimecollaborationclient-init-connection-failed','createUserMarkerOperations','_applyOperationsSet','roots','_handleExternalOperations','register','_connectAfterSessionHasBeenFlushed','_disconnectService','_fetchMissingUsers','compress','_getOperationsFromInitData','get','userId','getRoot','mySessionId','permissions','rtc-destroyed','createRoot','channelSessions','2119418DCsmBw','then','_knownRootNames','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','pluginName','removeFromReconnectionStack','PENDING_ACTION_SENDING_DATA','state','_refreshUserSelectionMarkers','config','__className','_authorId','slice','affectsData','RealTimeCollaborationClient','404','offset','lastDocumentSession','fire','document:write','reset','baseVersion','real-time-collaboration','getIdOfTheLastOperation','_handleReceivedOperations','_hasSynchronizationProblem','_setPendingAction','addToReconnectionStack','_hasSelectionChanged','multi-root-editor-root-attributes-no-root','_operationIdentifier','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.','_crash','document','realtimecollaborationclient-init-session-connection-error','lastOperationAcceptedAt','_isEditingAllowed','_clearPendingAction','addRoot','_loadRoot','_disconnectionOperations','getDocumentDetails','_isAttached','code','sessionAdd:','rtc-offline','targetPosition','collaboration','cloud-services-internal-error:\x20Request\x20timeout.','add','marker','1789602NVAJqk','addOperation','cloud-services-internal-error:\x20Not\x20connected.','wereChangesApplied','isPremiumPlugin','_shouldSendUpdate','realtimecollaborationclient-error','getOperationAuthor','has','_sendBufferedOperations','string','disableReadOnlyMode','realtimecollaborationclient-init-service-incorrect-server-operation','stop','getConnectedSessions','createPositionFromPath','createPositionAt','move','end','requires','addRootAttribute','_shouldSendSelectionUpdate','ready','type','sessionCreatedAt','listenTo','history','_baseBufferDelay','enableReadOnlyMode','unregister','selection','markers','parse','5YmTuTh','bind'];_0x2624=function(){return _0xfca22f;};return _0x2624();}import{WebSocketGateway as _0x1464a6}from'./websocketgateway.js';import{Sessions as _0x560465}from'./sessions.js';import{UserMarkers as _0x3e8655}from'./usermarkers.js';import{getTranslation as _0xb83a0b}from'../common-translations.js';function _0x3dbd(_0x6a0d2f,_0x3ce31e){const _0x2624ba=_0x2624();return _0x3dbd=function(_0x3dbdf3,_0x7d9f1c){_0x3dbdf3=_0x3dbdf3-0xf5;let _0xe4b414=_0x2624ba[_0x3dbdf3];return _0xe4b414;},_0x3dbd(_0x6a0d2f,_0x3ce31e);}import{Compressor as _0x12ffe6}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4688ef}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x160948,CollaborativeEditingService as _0x56d904}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x39f00c{static [_0x1dd6e0(0x138)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x56d904)());[_0x1dd6e0(0xfe)];[_0x1dd6e0(0x160)];[_0x1dd6e0(0x134)];[_0x1dd6e0(0x102)];[_0x1dd6e0(0x13c)];[_0x1dd6e0(0x12c)];[_0x1dd6e0(0x1f5)];[_0x1dd6e0(0x10c)];[_0x1dd6e0(0x156)];[_0x1dd6e0(0x184)];[_0x1dd6e0(0x165)];[_0x1dd6e0(0x19e)];[_0x1dd6e0(0x13f)];[_0x1dd6e0(0x1d0)];[_0x1dd6e0(0x1e5)];[_0x1dd6e0(0x112)];[_0x1dd6e0(0x1aa)];[_0x1dd6e0(0x1a0)];static get[_0x1dd6e0(0x1c8)](){return[_0x1464a6,_0x560465,_0x3e8655,_0x2b33ae,_0x4688ef,_0x39330b];}static get[_0x1dd6e0(0x186)](){const _0x1bb8ce=_0x1dd6e0;return _0x1bb8ce(0x190);}static get[_0x1dd6e0(0xff)](){return!0x0;}static get[_0x1dd6e0(0x1b9)](){return!0x0;}get[_0x1dd6e0(0x13a)](){const _0x36d6a=_0x1dd6e0;return this[_0x36d6a(0x1e8)]+this[_0x36d6a(0xfe)];}get[_0x1dd6e0(0x1e8)](){const _0x29c838=_0x1dd6e0;return this[_0x29c838(0x134)][_0x29c838(0x1f3)]-this[_0x29c838(0xfe)];}get[_0x1dd6e0(0x113)](){const _0x3c6475=_0x1dd6e0,_0xe8ec84=this[_0x3c6475(0x134)][_0x3c6475(0x15e)]();for(let _0x536d6a=_0xe8ec84[_0x3c6475(0x14f)]-0x1;_0x536d6a>=0x0;_0x536d6a--){const _0x108b94=_0xe8ec84[_0x536d6a];if(!this[_0x3c6475(0x1aa)][_0x3c6475(0x1bd)](_0x108b94))return _0x108b94[_0x3c6475(0x197)]+0x1-this[_0x3c6475(0xfe)];}return 0x0;}constructor(_0x543cd5){const _0x1143ae=_0x1dd6e0;if(super(_0x543cd5),this[_0x1143ae(0xfe)]=0x0,this[_0x1143ae(0x160)]=null,this[_0x1143ae(0x134)]=new _0x341c1d(),this[_0x1143ae(0x1d8)][_0x1143ae(0x18b)][_0x1143ae(0x13e)](_0x1143ae(0x1b1),{}),this[_0x1143ae(0x102)]=this[_0x1143ae(0x1d8)][_0x1143ae(0x18b)][_0x1143ae(0x17a)](_0x1143ae(0x131)),!this[_0x1143ae(0x102)])throw new _0x9abfc5(_0x1143ae(0x141),this);const _0x5cba47=_0x543cd5[_0x1143ae(0x18b)][_0x1143ae(0x17a)](_0x1143ae(0x126))||_0x4a7317;this[_0x1143ae(0x13c)]=new l[(_0x1143ae(0x138))](_0x5cba47,this[_0x1143ae(0x102)]),this[_0x1143ae(0x12c)]=this[_0x1143ae(0x1d8)][_0x1143ae(0xf6)][_0x1143ae(0x1a3)],this[_0x1143ae(0x1f5)]=new _0x12ffe6(),this[_0x1143ae(0x10c)]=[],this[_0x1143ae(0x156)]=new WeakSet(),this[_0x1143ae(0x184)]=new Set(),this[_0x1143ae(0xf8)](_0x1143ae(0x10f),!0x1),this[_0x1143ae(0xf8)](_0x1143ae(0x19b),!0x1),this[_0x1143ae(0x165)]=null,this[_0x1143ae(0x19e)]=!0x1,this[_0x1143ae(0x13f)]=null,this[_0x1143ae(0x1d0)]=0x12c,this[_0x1143ae(0x1e5)]=this[_0x1143ae(0x1d0)],this[_0x1143ae(0x112)]=null,this[_0x1143ae(0x1aa)]=new WeakSet(),this[_0x1143ae(0x1a0)]=new F(this[_0x1143ae(0x1aa)]);}[_0x1dd6e0(0x1ec)](){const _0x37df08=_0x1dd6e0,_0x5f37ad=this[_0x37df08(0x1d8)],_0xd2fbbf=_0x5f37ad[_0x37df08(0x12a)][_0x37df08(0x17a)](_0x4688ef),_0xe877eb=_0x5f37ad[_0x37df08(0x12a)][_0x37df08(0x17a)](_0x1464a6);this[_0x37df08(0x1ce)](_0xd2fbbf,_0x37df08(0x1bc),(_0x1dbf88,_0x5658c2)=>{const _0x15c03b=_0x37df08,_0x12cc68=_0x5658c2[0x0];_0x12cc68[_0x15c03b(0x18d)]&&(_0x1dbf88[_0x15c03b(0x161)]=_0xd2fbbf[_0x15c03b(0x14a)](_0x12cc68[_0x15c03b(0x18d)]),_0x1dbf88[_0x15c03b(0x1c2)]()),null===_0x12cc68[_0x15c03b(0x18d)]&&(_0x1dbf88[_0x15c03b(0x161)]=null,_0x1dbf88[_0x15c03b(0x1c2)]());},{'priority':_0x37df08(0xf7)}),this[_0x37df08(0x1ce)](_0x5f37ad[_0x37df08(0xf6)][_0x37df08(0x1a3)][_0x37df08(0x1d3)],_0x37df08(0x132),(_0x48e2b2,_0x65f2ee)=>{const _0x4a4b90=_0x37df08;_0x65f2ee[_0x4a4b90(0x153)]&&this[_0x4a4b90(0x18a)]();}),this[_0x37df08(0x1ce)](_0x5f37ad[_0x37df08(0x10d)][_0x37df08(0x15a)],_0x37df08(0x14d),()=>{const _0x3f224d=_0x37df08;this[_0x3f224d(0x18a)]();}),this[_0x37df08(0x1f7)](),_0x5f37ad[_0x37df08(0xf6)]['on'](_0x37df08(0x1e7),(_0x2e7cba,_0x4aa027)=>{const _0x47f474=_0x37df08,_0x30d95f=_0x4aa027[0x0];_0x30d95f[_0x47f474(0x158)]&&(this[_0x47f474(0x10a)](_0x30d95f),this[_0x47f474(0x1ba)]()&&this[_0x47f474(0x11c)]());}),this[_0x37df08(0x1fb)](),this[_0x37df08(0x1d7)](_0x37df08(0x1a6))['to'](_0xe877eb,_0x37df08(0x189),this,_0x37df08(0x19b),(_0x1bc36c,_0x15ab85)=>_0x37df08(0x164)===_0x1bc36c&&!_0x15ab85),this['on'](_0x37df08(0x1eb),()=>{const _0x2a0d7d=_0x37df08;this[_0x2a0d7d(0x1a6)]?_0x5f37ad[_0x2a0d7d(0x1c0)](_0x2a0d7d(0x1af)):_0x5f37ad[_0x2a0d7d(0x1d1)](_0x2a0d7d(0x1af));}),this[_0x37df08(0x1a6)]?_0x5f37ad[_0x37df08(0x1c0)](_0x37df08(0x1af)):_0x5f37ad[_0x37df08(0x1d1)](_0x37df08(0x1af)),this[_0x37df08(0xf8)](_0x37df08(0x144),!0x1);}async[_0x1dd6e0(0x133)](){const _0x15a370=_0x1dd6e0,_0x178958=this[_0x15a370(0x1d8)][_0x15a370(0x12a)][_0x15a370(0x17a)](_0x560465),_0x4dabbf=this[_0x15a370(0x1d8)][_0x15a370(0x12a)][_0x15a370(0x17a)](_0x1464a6);try{this[_0x15a370(0x10f)]=!0x0,_0x178958[_0x15a370(0x1d2)](this[_0x15a370(0x102)]);const _0x3a4912=await this[_0x15a370(0x13c)][_0x15a370(0x133)](_0x4dabbf[_0x15a370(0x136)],this[_0x15a370(0x113)]);await this[_0x15a370(0x1e6)](_0x3a4912)&&(this[_0x15a370(0x10f)]=!0x1,this[_0x15a370(0x1a7)]());const _0x19d5d9=await this[_0x15a370(0x13c)][_0x15a370(0x1c3)]();_0x178958[_0x15a370(0x174)](this[_0x15a370(0x102)],_0x19d5d9),this[_0x15a370(0x1f0)](),this[_0x15a370(0x144)]=!0x0;}catch(_0x1d5635){if(function(_0x522a2b){const _0x219c8a=_0x15a370;return _0x219c8a(0x191)===_0x522a2b[_0x219c8a(0x1ad)];}(_0x1d5635)&&this[_0x15a370(0x160)])await this[_0x15a370(0x175)]();else{if(function(_0x2a580d){const _0x36135=_0x15a370;return _0x36135(0x125)===_0x2a580d[_0x36135(0x1ad)];}(_0x1d5635)){const _0xc233e5=_0xb83a0b(this[_0x15a370(0x1d8)][_0x15a370(0x140)],_0x15a370(0x12b));this[_0x15a370(0x1ef)](_0xc233e5);}else{if(!(_0x1d5635 instanceof V))throw _0x1d5635;this[_0x15a370(0x1ef)]();}}}}[_0x1dd6e0(0x10b)](){const _0x34e9f2=_0x1dd6e0,_0x188e10=this[_0x34e9f2(0x1d8)][_0x34e9f2(0x12a)][_0x34e9f2(0x17a)](_0x1464a6),_0x2a6756=this[_0x34e9f2(0x1d8)][_0x34e9f2(0x12a)][_0x34e9f2(0x17a)](_0x560465);this[_0x34e9f2(0x1d8)][_0x34e9f2(0x1d1)](_0x34e9f2(0x17f)),_0x2a6756[_0x34e9f2(0x181)][_0x34e9f2(0x1bd)](this[_0x34e9f2(0x102)])&&_0x2a6756[_0x34e9f2(0x1d2)](this[_0x34e9f2(0x102)]),_0x188e10[_0x34e9f2(0x187)](this),this[_0x34e9f2(0x176)](),super[_0x34e9f2(0x10b)]();}async[_0x1dd6e0(0x1e6)](_0x59314e){const _0x57179c=_0x1dd6e0;if(this[_0x57179c(0x160)]!==_0x59314e[_0x57179c(0x160)]&&this[_0x57179c(0x112)]!==_0x59314e[_0x57179c(0x15c)])throw new V();return this[_0x57179c(0x160)]=_0x59314e[_0x57179c(0x160)],this[_0x57179c(0x11d)]([],{..._0x59314e,'wereChangesApplied':!0x1,'data':_0x59314e[_0x57179c(0x1f9)]},_0x57179c(0x133));}async[_0x1dd6e0(0x1d9)](_0x4c1709,_0x49f65c=!0x1){const _0x149e98=_0x1dd6e0,{connection:_0x5c3179}=this[_0x149e98(0x1d8)][_0x149e98(0x12a)][_0x149e98(0x17a)](_0x1464a6);l[_0x149e98(0x138)][_0x149e98(0x1c3)](_0x5c3179,this[_0x149e98(0x102)])[_0x149e98(0x183)](_0x1d88ae=>this[_0x149e98(0x12f)](_0x1d88ae))[_0x149e98(0x169)](_0x380599=>{const _0x1db08b=_0x149e98;this[_0x1db08b(0x1a2)](_0x1db08b(0x1a4),_0x380599);}),this[_0x149e98(0x1ce)](this[_0x149e98(0x13c)],_0x149e98(0x157),this[_0x149e98(0x19a)][_0x149e98(0x1d7)](this)),this[_0x149e98(0x1ce)](this[_0x149e98(0x13c)],_0x149e98(0x12e),(_0x59dfea,_0x2f48f9)=>{const _0x4c4e11=_0x149e98;this[_0x4c4e11(0x1a2)](_0x4c4e11(0x1f2),_0x2f48f9);}),this[_0x149e98(0x1ce)](this[_0x149e98(0x13c)],_0x149e98(0x1de),()=>{const _0x35fabe=_0x149e98;this[_0x35fabe(0x144)]=!0x1;});const _0x5079fb=this[_0x149e98(0x1a0)][_0x149e98(0x199)](_0x4c1709);this[_0x149e98(0x10f)]=!0x0;const _0x2a709c=await this[_0x149e98(0x13c)][_0x149e98(0x167)](_0x5c3179,this[_0x149e98(0x15d)](_0x4c1709),_0x5079fb);if(this[_0x149e98(0x160)]=_0x2a709c[_0x149e98(0x160)],_0x49f65c){if(!_0x2a709c[_0x149e98(0x1b8)])return void this[_0x149e98(0x1ef)]();this[_0x149e98(0x10f)]=!0x1,this[_0x149e98(0x1a7)](),this[_0x149e98(0x134)][_0x149e98(0x196)](),this[_0x149e98(0xfe)]=_0x2a709c[_0x149e98(0x192)],this[_0x149e98(0x134)][_0x149e98(0x1f3)]=this[_0x149e98(0xfe)],await this[_0x149e98(0x11d)](_0x4c1709,_0x2a709c,_0x149e98(0x155));}else await this[_0x149e98(0x143)](_0x2a709c,_0x4c1709);this[_0x149e98(0x1f0)](),this[_0x149e98(0x144)]=!0x0;}[_0x1dd6e0(0x1f0)](){const _0x51fa26=_0x1dd6e0,_0x1fd3ac=this[_0x51fa26(0x1d8)][_0x51fa26(0x12a)][_0x51fa26(0x17a)](_0x560465),_0x4cb8e2=this[_0x51fa26(0x1d8)][_0x51fa26(0x12a)][_0x51fa26(0x17a)](_0x3e8655),_0x2da363=_0x1fd3ac[_0x51fa26(0x181)][_0x51fa26(0x17a)](this[_0x51fa26(0x102)]);_0x2da363&&_0x2da363[_0x51fa26(0x14f)]>0x1?_0x4cb8e2[_0x51fa26(0x170)]():this[_0x51fa26(0x1ce)](_0x1fd3ac,_0x51fa26(0x1ae)+this[_0x51fa26(0x102)],()=>{const _0x5ebcb7=_0x51fa26;0x2===_0x1fd3ac[_0x5ebcb7(0x181)][_0x5ebcb7(0x17a)](this[_0x5ebcb7(0x102)])[_0x5ebcb7(0x14f)]&&_0x4cb8e2[_0x5ebcb7(0x170)]();});}async[_0x1dd6e0(0x19a)](_0x493bc8,_0x4acb0e,_0x2a8924,_0x568365){const _0x432fa0=_0x1dd6e0;if(!this[_0x432fa0(0x10f)]&&this[_0x432fa0(0x12c)][_0x432fa0(0x1f3)]==_0x4acb0e){const _0x72f98a=this[_0x432fa0(0x1dc)](_0x2a8924,_0x568365);await this[_0x432fa0(0x177)](_0x72f98a),this[_0x432fa0(0x173)](_0x72f98a,_0x4acb0e,_0x2a8924[_0x432fa0(0x15c)])||this[_0x432fa0(0x1a2)](_0x432fa0(0x1c1));}}async[_0x1dd6e0(0x175)](){const _0x59fc1d=_0x1dd6e0;this[_0x59fc1d(0x176)]();const {locale:_0x12c6b7}=this[_0x59fc1d(0x1d8)];let _0x3edf64;try{_0x3edf64=await this[_0x59fc1d(0x13c)][_0x59fc1d(0x1ab)]();}catch{const _0xf99918=_0xb83a0b(_0x12c6b7,_0x59fc1d(0x185));return void this[_0x59fc1d(0x1ef)](_0xf99918);}const _0x2568e5=_0x3edf64[_0x59fc1d(0x119)]||_0x3edf64[_0x59fc1d(0x193)];if(this[_0x59fc1d(0x112)]!==_0x2568e5[_0x59fc1d(0x15c)]){const _0x95a25c=_0xb83a0b(_0x12c6b7,_0x59fc1d(0x108));return void this[_0x59fc1d(0x1ef)](_0x95a25c);}await this[_0x59fc1d(0x1d9)](this[_0x59fc1d(0x1d8)][_0x59fc1d(0xf6)][_0x59fc1d(0x1a3)][_0x59fc1d(0x1cf)][_0x59fc1d(0x15e)](),!0x0);}[_0x1dd6e0(0x176)](){const _0x12fd85=_0x1dd6e0;this[_0x12fd85(0x13c)][_0x12fd85(0x1db)](),this[_0x12fd85(0x10c)]=[],clearTimeout(this[_0x12fd85(0x13f)]),this[_0x12fd85(0x11b)](this[_0x12fd85(0x13c)]);}[_0x1dd6e0(0x12f)](_0x3f3ad2){const _0x50d682=_0x1dd6e0,_0x2b0f83=this[_0x50d682(0x1d8)][_0x50d682(0x12a)][_0x50d682(0x17a)](_0x560465);this[_0x50d682(0x1ce)](_0x2b0f83,_0x50d682(0x1ae)+this[_0x50d682(0x102)],(_0x1f7452,{session:_0x3ab2c3})=>{const _0x4057d4=_0x50d682;if(_0x3ab2c3['id']===_0x2b0f83[_0x4057d4(0x17d)]){_0x1f7452[_0x4057d4(0x124)]();const _0x242d58=this[_0x4057d4(0x1d8)][_0x4057d4(0x12a)][_0x4057d4(0x1bd)](_0x4057d4(0x13d))&&this[_0x4057d4(0x1d8)][_0x4057d4(0x12a)][_0x4057d4(0x17a)](_0x4057d4(0x13d));let _0x4c0c76=_0x3ab2c3[_0x4057d4(0x17e)];_0x242d58&&_0x242d58[_0x4057d4(0x1fa)]&&(_0x4c0c76=_0x4c0c76[_0x4057d4(0x12d)](_0x3a13fd=>_0x4057d4(0x195)!==_0x3a13fd)),this[_0x4057d4(0x1d8)][_0x4057d4(0x12a)][_0x4057d4(0x17a)](_0x4057d4(0x117))[_0x4057d4(0x109)](_0x4c0c76,this[_0x4057d4(0x102)]);}}),_0x2b0f83[_0x50d682(0x174)](this[_0x50d682(0x102)],_0x3f3ad2);}[_0x1dd6e0(0x1f7)](){const _0x30825e=_0x1dd6e0,_0x1f8db1=this[_0x30825e(0x1d8)][_0x30825e(0x1f9)][_0x30825e(0xf8)];this[_0x30825e(0x1d8)][_0x30825e(0x1f9)][_0x30825e(0xf8)]=(..._0x2b55b2)=>{const _0x3cbb3f=_0x30825e;if(!_0x2b55b2[_0x2b55b2[_0x3cbb3f(0x14f)]-0x1][_0x3cbb3f(0x105)])throw new _0x9abfc5(_0x3cbb3f(0x121),this);_0x1f8db1[_0x3cbb3f(0x166)](this[_0x3cbb3f(0x1d8)][_0x3cbb3f(0x1f9)],_0x2b55b2);};}[_0x1dd6e0(0x1fb)](){const _0x48ffe7=_0x1dd6e0;this[_0x48ffe7(0x1d8)][_0x48ffe7(0x1f9)]['on'](_0x48ffe7(0x1ec),(_0x2f14bc,[_0x3a778e])=>{const _0x4440c5=_0x48ffe7;if(this[_0x4440c5(0x12c)][_0x4440c5(0x1f3)])throw new _0x9abfc5(_0x4440c5(0x1e3),this);_0x2f14bc[_0x4440c5(0x1c2)](),this[_0x4440c5(0x19c)]();const _0x4ce3ab=this[_0x4440c5(0x1d8)][_0x4440c5(0x18b)][_0x4440c5(0x17a)](_0x4440c5(0x104)),_0x458e3a=this[_0x4440c5(0x179)](_0x3a778e,_0x4ce3ab);0x0==_0x458e3a[_0x4440c5(0x14f)]&&_0x458e3a[_0x4440c5(0x16c)](new _0x1ad666(0x0)),_0x2f14bc[_0x4440c5(0x161)]=this[_0x4440c5(0x1d9)](_0x458e3a)[_0x4440c5(0x183)](()=>{const _0x252694=_0x4440c5;this[_0x252694(0x1d8)][_0x252694(0x12a)][_0x252694(0x17a)](_0x1464a6)[_0x252694(0x19d)](this),this[_0x252694(0x1d8)][_0x252694(0x1f9)][_0x252694(0x194)](_0x252694(0x1cb));})[_0x4440c5(0x169)](_0x478c84=>this[_0x4440c5(0x1a2)](_0x4440c5(0x16f),_0x478c84))[_0x4440c5(0x152)](()=>this[_0x4440c5(0x1a7)]());},{'priority':_0x48ffe7(0xf7)}),this[_0x48ffe7(0x1d8)]['on'](_0x48ffe7(0x14b),async(_0x8f5348,[_0xe201ee,_0x453687])=>{const _0x3f28bf=_0x48ffe7;_0x8f5348[_0x3f28bf(0x1c2)]();const _0x4f50f9=this[_0x3f28bf(0x1d8)][_0x3f28bf(0xf6)][_0x3f28bf(0x1a3)][_0x3f28bf(0x17c)](_0xe201ee);if(!this[_0x3f28bf(0x184)][_0x3f28bf(0x1bd)](_0xe201ee)){const _0x42143c=_0x453687&&_0x453687[_0x3f28bf(0x1f9)]?_0x453687[_0x3f28bf(0x1f9)]:'',_0x293395=_0x453687&&_0x453687[_0x3f28bf(0x142)]?_0x453687[_0x3f28bf(0x142)]:{};await this[_0x3f28bf(0x1a9)](_0xe201ee,_0x42143c,_0x293395);}this[_0x3f28bf(0x1d8)][_0x3f28bf(0xf6)][_0x3f28bf(0x1e2)]({'isUndoable':!0x1},()=>{const _0x2a4480=_0x3f28bf;_0x4f50f9[_0x2a4480(0x16a)]=!0x0,this[_0x2a4480(0x1d8)][_0x2a4480(0xf6)][_0x2a4480(0x1a3)][_0x2a4480(0x10e)][_0x2a4480(0x16e)](_0x4f50f9);});},{'priority':_0x48ffe7(0xf7)});}async[_0x1dd6e0(0x177)](_0x51102c){const _0x316a04=_0x1dd6e0,_0x119088=this[_0x316a04(0x1d8)][_0x316a04(0x12a)][_0x316a04(0x17a)](_0x4688ef),{connection:_0x35b9f6}=this[_0x316a04(0x1d8)][_0x316a04(0x12a)][_0x316a04(0x17a)](_0x1464a6),_0x24ca02=new Set();for(const _0x2cd2ee of _0x51102c){const _0x231f45=_0x2cd2ee[_0x316a04(0x18d)];_0x231f45&&!_0x119088[_0x316a04(0x14a)](_0x231f45)&&_0x24ca02[_0x316a04(0x1b3)](_0x231f45);}if(0x0===_0x24ca02[_0x316a04(0x168)])return;const _0x56c7e7=await _0x160948[_0x316a04(0x1e0)](_0x35b9f6,Array[_0x316a04(0x127)](_0x24ca02));for(const _0xf3b7ac of _0x56c7e7)_0x119088[_0x316a04(0x14a)](_0xf3b7ac['id'])||_0x119088[_0x316a04(0x15f)](_0xf3b7ac);}[_0x1dd6e0(0x179)](_0x556da8,_0x1700a0={}){const _0x8d19=_0x1dd6e0,_0x16b132=this[_0x8d19(0x1d8)][_0x8d19(0xf6)],_0x38d981=[];let _0x1d2df1=0x0;const _0x26ca99=_0x8d19(0x1bf)==typeof _0x556da8?{'main':_0x556da8}:_0x556da8;for(const _0x157b1a of Object[_0x8d19(0x11f)](_0x26ca99)){if(!this[_0x8d19(0x12c)][_0x8d19(0x172)][_0x8d19(0x1bd)](_0x157b1a))throw new _0x9abfc5(_0x8d19(0xfb),this);const _0x317628=this[_0x8d19(0x1d8)][_0x8d19(0x1f9)][_0x8d19(0x1d5)](_0x26ca99[_0x157b1a]),_0x5b2707=this[_0x8d19(0x12c)][_0x8d19(0x17c)](_0x157b1a),_0x2332f6=new _0x26ee34(_0x16b132[_0x8d19(0x1c5)](_0x5b2707,0x0),_0x317628,_0x1d2df1++);_0x38d981[_0x8d19(0x16c)](_0x2332f6);for(const [_0x321e01,_0xea9ff6]of _0x317628[_0x8d19(0x1d4)]){const _0x14908a=_0x16b132[_0x8d19(0x145)](_0x16b132[_0x8d19(0x1c4)](_0x5b2707,_0xea9ff6[_0x8d19(0x163)][_0x8d19(0x162)][_0x8d19(0x18e)]()),_0x16b132[_0x8d19(0x1c4)](_0x5b2707,_0xea9ff6[_0x8d19(0x1c7)][_0x8d19(0x162)][_0x8d19(0x18e)]())),_0x4c26ac=new _0xd8f5c1(_0x321e01,null,_0x14908a,_0x16b132[_0x8d19(0x1d4)],!0x0,_0x1d2df1++);_0x38d981[_0x8d19(0x16c)](_0x4c26ac);}}if(_0x1700a0)for(const [_0x3d6eda,_0x5a9c79]of Object[_0x8d19(0xfa)](_0x1700a0)){const _0x4ca93e=_0x16b132[_0x8d19(0x1a3)][_0x8d19(0x17c)](_0x3d6eda);if(!_0x4ca93e)throw new _0x9abfc5(_0x8d19(0x19f),null);for(const [_0x2dee5c,_0xa3d24d]of Object[_0x8d19(0xfa)](_0x5a9c79))if(null!==_0xa3d24d){const _0x5b855e=new _0x36e685(_0x4ca93e,_0x2dee5c,null,_0xa3d24d,_0x1d2df1++);_0x38d981[_0x8d19(0x16c)](_0x5b855e);}}return _0x38d981;}async[_0x1dd6e0(0x1a9)](_0x207dd4,_0x15bcd3,_0x1ab844){const _0xdf0502=_0x1dd6e0;this[_0xdf0502(0x179)]({[_0x207dd4]:_0x15bcd3},{[_0x207dd4]:_0x1ab844})[_0xdf0502(0x13b)]((_0x31947f,_0x13fe54)=>{const _0xaa07c8=_0xdf0502;_0x31947f[_0xaa07c8(0x197)]=this[_0xaa07c8(0x12c)][_0xaa07c8(0x1f3)]+_0x13fe54,_0x31947f[_0xaa07c8(0x115)]=!0x0,this[_0xaa07c8(0x10a)](_0x31947f);}),this[_0xdf0502(0x11c)](),await this[_0xdf0502(0x1e9)]();}async[_0x1dd6e0(0x143)](_0x4662fb,_0x228d62){const _0x5cdc69=_0x1dd6e0;let _0x5a7786;this[_0x5cdc69(0xfe)]=_0x4662fb[_0x5cdc69(0x192)];const _0x42627e=_0x4662fb[_0x5cdc69(0x1b8)]&&!_0x4662fb[_0x5cdc69(0x1e1)],_0x7ea08e=_0x42627e?0x0:_0x4662fb[_0x5cdc69(0x1f9)][_0x5cdc69(0x197)];if(_0x228d62[_0x5cdc69(0x13b)](_0x3ab4b8=>{const _0xb5e41b=_0x5cdc69;_0x3ab4b8[_0xb5e41b(0x115)]=!0x0,_0x3ab4b8[_0xb5e41b(0x1e4)]=_0x4662fb[_0xb5e41b(0x1cd)],_0x3ab4b8[_0xb5e41b(0x18d)]=null;}),_0x42627e)_0x5a7786=_0x228d62,this[_0x5cdc69(0x171)](_0x5a7786,_0x42627e);else{if(_0x4662fb[_0x5cdc69(0x1e1)]){const _0x3d9940=this[_0x5cdc69(0x179)](_0x4662fb[_0x5cdc69(0x1e1)]);this[_0x5cdc69(0x12c)][_0x5cdc69(0x1cf)][_0x5cdc69(0x1f3)]=-_0x3d9940[_0x5cdc69(0x14f)],_0x3d9940[_0x5cdc69(0x13b)](_0x183785=>{const _0x28beb2=_0x5cdc69;_0x183785[_0x28beb2(0x197)]-=_0x3d9940[_0x28beb2(0x14f)],_0x183785[_0x28beb2(0x1e4)]=_0x4662fb[_0x28beb2(0x1cd)],_0x183785[_0x28beb2(0x115)]=!0x0,_0x183785[_0x28beb2(0x18d)]=null;}),this[_0x5cdc69(0x171)](_0x3d9940,!0x0),this[_0x5cdc69(0x134)][_0x5cdc69(0x1f3)]=-_0x3d9940[_0x5cdc69(0x14f)]+this[_0x5cdc69(0xfe)],this[_0x5cdc69(0x16b)](_0x3d9940);}this[_0x5cdc69(0x12c)][_0x5cdc69(0x1cf)][_0x5cdc69(0x1f3)]=_0x7ea08e,_0x5a7786=this[_0x5cdc69(0x1dc)](_0x4662fb[_0x5cdc69(0x1f9)],_0x4662fb[_0x5cdc69(0x14c)]),await this[_0x5cdc69(0x177)](_0x5a7786),this[_0x5cdc69(0x171)](_0x5a7786,_0x42627e);}_0x4662fb[_0x5cdc69(0x15c)]&&(this[_0x5cdc69(0x1a0)][_0x5cdc69(0xfc)](_0x5a7786,_0x4662fb[_0x5cdc69(0x15c)]),this[_0x5cdc69(0x112)]=_0x4662fb[_0x5cdc69(0x15c)]),this[_0x5cdc69(0x134)][_0x5cdc69(0x1f3)]=_0x7ea08e+this[_0x5cdc69(0xfe)],this[_0x5cdc69(0x16b)](_0x5a7786),_0x228d62[_0x5cdc69(0x12d)](_0x4fd3ea=>{const _0x3ba483=_0x5cdc69,_0x11d294=this[_0x3ba483(0x1dd)](_0x4fd3ea);return _0x11d294&&!this[_0x3ba483(0x184)][_0x3ba483(0x1bd)](_0x11d294);})[_0x5cdc69(0x13b)]((_0x21b7b4,_0xaa9389)=>{const _0x377c08=_0x5cdc69;_0x21b7b4[_0x377c08(0x197)]=this[_0x377c08(0x12c)][_0x377c08(0x1f3)]+_0xaa9389,this[_0x377c08(0x10a)](_0x21b7b4);}),this[_0x5cdc69(0x1ba)]()?(this[_0x5cdc69(0x1e5)]=0x0,this[_0x5cdc69(0x11c)](!0x0),await this[_0x5cdc69(0x1e9)]()):(this[_0x5cdc69(0x10f)]=!0x1,this[_0x5cdc69(0x1a7)]());}[_0x1dd6e0(0x1a2)](_0x49056d,_0x5d5e37){const _0x278ed3=_0x1dd6e0,_0x5b3c49=_0x5d5e37&&_0x5d5e37[_0x278ed3(0x159)];if(_0x5b3c49&&_0x5b3c49[_0x278ed3(0x103)](_0x278ed3(0xf5)))throw _0x5d5e37;const _0x49a628=this[_0x278ed3(0x1d8)][_0x278ed3(0x12a)][_0x278ed3(0x17a)](_0x1464a6);throw this[_0x278ed3(0x10f)]=!0x0,_0x49a628[_0x278ed3(0x1db)](),this[_0x278ed3(0x1d8)][_0x278ed3(0x1d1)](_0x278ed3(0x1bb)),new _0x9abfc5(_0x49056d,this[_0x278ed3(0x1d8)],_0x5b3c49?{'originalError':_0x5b3c49}:void 0x0);}[_0x1dd6e0(0x10a)](_0x3445f2){const _0x559854=_0x1dd6e0;this[_0x559854(0x156)][_0x559854(0x1bd)](_0x3445f2)||(this[_0x559854(0x156)][_0x559854(0x1b3)](_0x3445f2),this[_0x559854(0x10c)][_0x559854(0x16c)](_0x3445f2),this[_0x559854(0x165)]||_0x559854(0x1b4)==_0x3445f2[_0x559854(0x1cc)]&&!_0x3445f2[_0x559854(0x18f)]||this[_0x559854(0x19c)]());}[_0x1dd6e0(0x11c)](_0x3abf15=!0x1){const _0x426681=_0x1dd6e0;!_0x3abf15&&this[_0x426681(0x10f)]||(this[_0x426681(0x10f)]=!0x0,clearTimeout(this[_0x426681(0x13f)]),this[_0x426681(0x13f)]=setTimeout(()=>{const _0x343f0c=_0x426681;this[_0x343f0c(0x1be)]()[_0x343f0c(0x183)](_0x406a0e=>{const _0x54dc9b=_0x343f0c;_0x406a0e&&(this[_0x54dc9b(0x1a7)](),this[_0x54dc9b(0x10f)]=!0x1);})[_0x343f0c(0x169)](_0x51c09c=>{const _0x51528c=_0x343f0c;this[_0x51528c(0x1a7)](),this[_0x51528c(0x10f)]=!0x1,function(_0x5cde40){const _0x4a0fff=_0x51528c;return _0x5cde40[_0x4a0fff(0x159)][_0x4a0fff(0x103)](_0x4a0fff(0x1b7))||_0x5cde40[_0x4a0fff(0x159)][_0x4a0fff(0x103)](_0x4a0fff(0x1ea))||_0x5cde40[_0x4a0fff(0x159)][_0x4a0fff(0x103)](_0x4a0fff(0x1b2));}(_0x51c09c)||this[_0x51528c(0x1a2)](_0x51c09c[_0x51528c(0x159)],_0x51c09c);});},this[_0x426681(0x1e5)]));}[_0x1dd6e0(0x1e9)](){return new Promise(_0x43c0d4=>{const _0x407f61=_0x3dbd;this['on'](_0x407f61(0x111),()=>{_0x43c0d4();});});}async[_0x1dd6e0(0x1be)](){const _0x235540=_0x1dd6e0,_0x4794e3=this[_0x235540(0x1d8)][_0x235540(0x12a)][_0x235540(0x17a)](_0x3e8655);if(this[_0x235540(0x1ca)]()&&(_0x4794e3[_0x235540(0x170)](),this[_0x235540(0x19e)]=!0x1),!this[_0x235540(0x1ba)]())return!0x0;const _0x8954d8=[...this[_0x235540(0x10c)]];for(const _0xbd21aa of _0x8954d8)_0xbd21aa[_0x235540(0x1f1)]=this[_0x235540(0x12c)][_0x235540(0x1cf)][_0x235540(0x150)](_0xbd21aa);const _0x577806=this[_0x235540(0x1a0)][_0x235540(0x199)](_0x8954d8),_0x4eef10=H++,_0x2cbf25=this[_0x235540(0x15d)](_0x8954d8),_0x43e6a1=await this[_0x235540(0x13c)][_0x235540(0x1f4)](_0x2cbf25,_0x2cbf25[_0x235540(0x197)],_0x577806);try{return await this[_0x235540(0x11d)](_0x8954d8,_0x43e6a1,_0x4eef10);}catch(_0x435157){return this[_0x235540(0x1a2)](_0x235540(0x151),_0x435157);}}async[_0x1dd6e0(0x11d)](_0x22fd06,_0x179b6c,_0x380375){const _0x45e64c=_0x1dd6e0;if(_0x45e64c(0x12e)in _0x179b6c)throw _0x179b6c[_0x45e64c(0x12e)];let _0x571c89=!0x1;if(_0x179b6c[_0x45e64c(0x1b8)]){_0x179b6c[_0x45e64c(0x15c)]&&(this[_0x45e64c(0x112)]=_0x179b6c[_0x45e64c(0x15c)]),this[_0x45e64c(0x10c)]=this[_0x45e64c(0x10c)][_0x45e64c(0x12d)](_0x10fb43=>!_0x22fd06[_0x45e64c(0x116)](_0x10fb43));for(const _0x71c8f9 of _0x22fd06)_0x71c8f9[_0x45e64c(0x1e4)]=_0x45e64c(0x1a5)in _0x179b6c&&_0x179b6c[_0x45e64c(0x1a5)]||void 0x0;W(_0x22fd06,_0x179b6c[_0x45e64c(0x1f3)]-_0x22fd06[_0x45e64c(0x14f)]),this[_0x45e64c(0x16b)](_0x22fd06);const _0x3647cd=_0x22fd06[_0x45e64c(0x12d)](_0x3c75cd=>{const _0x358f24=_0x45e64c;if(!_0x3c75cd[_0x358f24(0x115)])return!0x1;const _0x3646c5=this[_0x358f24(0x1dd)](_0x3c75cd);return _0x3646c5&&!this[_0x358f24(0x184)][_0x358f24(0x1bd)](_0x3646c5);});W(_0x3647cd,this[_0x45e64c(0x12c)][_0x45e64c(0x1f3)]),this[_0x45e64c(0x171)](_0x3647cd),_0x571c89=!0x0,this[_0x45e64c(0x1e5)]=this[_0x45e64c(0x1d0)];}else{const _0x579835=this[_0x45e64c(0x1dc)](_0x179b6c[_0x45e64c(0x1f9)],_0x179b6c[_0x45e64c(0x14c)])[_0x45e64c(0x12d)](_0x1a0629=>_0x1a0629[_0x45e64c(0x197)]>=this[_0x45e64c(0x1e8)]);_0x579835[_0x45e64c(0x13b)](_0x45dc16=>this[_0x45e64c(0x16d)](_0x45dc16)),this[_0x45e64c(0x10c)]=this[_0x45e64c(0x10c)][_0x45e64c(0x12d)](_0x3560f0=>!_0x3560f0[_0x45e64c(0x115)]||!this[_0x45e64c(0x184)][_0x45e64c(0x1bd)](this[_0x45e64c(0x1dd)](_0x3560f0))),this[_0x45e64c(0x10c)][_0x45e64c(0x14f)]&&W(this[_0x45e64c(0x10c)],this[_0x45e64c(0x10c)][0x0][_0x45e64c(0x197)]),await this[_0x45e64c(0x177)](_0x579835),_0x571c89=this[_0x45e64c(0x173)](_0x579835,_0x179b6c[_0x45e64c(0x1f3)],_0x179b6c[_0x45e64c(0x15c)]),this[_0x45e64c(0x1e5)]=Math[_0x45e64c(0x1ed)](this[_0x45e64c(0x1e5)]/0x2);}return _0x571c89?!this[_0x45e64c(0x1ba)]()||(this[_0x45e64c(0x11c)](!0x0),!0x1):this[_0x45e64c(0x1a2)](_0x45e64c(0x107));}[_0x1dd6e0(0x173)](_0x2128c6,_0xa71064,_0x158a93){const _0x37b1f0=_0x1dd6e0;try{const _0x4f3e2a={'document':this[_0x37b1f0(0x12c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xf341f9,operationsB:_0x957dcd,originalOperations:_0xb1117f}=_0x319a47(_0x2128c6,this[_0x37b1f0(0x10c)],_0x4f3e2a);W(_0xf341f9,this[_0x37b1f0(0x12c)][_0x37b1f0(0x1f3)]),W(_0x957dcd,_0xa71064);for(const _0x82d0d6 of _0xf341f9){const _0x20118a=_0xb1117f[_0x37b1f0(0x17a)](_0x82d0d6);_0x82d0d6[_0x37b1f0(0x18d)]=_0x20118a?_0x20118a[_0x37b1f0(0x18d)]:null;}_0x158a93&&(this[_0x37b1f0(0x1a0)][_0x37b1f0(0xfc)](_0x2128c6,_0x158a93),this[_0x37b1f0(0x112)]=_0x158a93),this[_0x37b1f0(0x10c)]=[..._0x957dcd],this[_0x37b1f0(0x171)](_0xf341f9),this[_0x37b1f0(0x16b)](_0x2128c6);}catch(_0x37c1da){return console[_0x37b1f0(0x12e)](_0x37c1da),!0x1;}return!0x0;}[_0x1dd6e0(0x171)](_0x456fbc,_0x4e8883=!0x1){const _0x5d0901=_0x1dd6e0;this[_0x5d0901(0x1d8)][_0x5d0901(0xf6)][_0x5d0901(0x1e2)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4745f4=>{const _0x1f7c9e=_0x5d0901;for(const _0x1d9e35 of _0x456fbc)this[_0x1f7c9e(0x156)][_0x1f7c9e(0x1b3)](_0x1d9e35),this[_0x1f7c9e(0x16d)](_0x1d9e35),_0x4745f4[_0x1f7c9e(0x118)][_0x1f7c9e(0x1b6)](_0x1d9e35),this[_0x1f7c9e(0x1d8)][_0x1f7c9e(0xf6)][_0x1f7c9e(0x1e7)](_0x1d9e35);});}[_0x1dd6e0(0x16d)](_0x5101e6){const _0x4c3742=_0x1dd6e0,_0x173eea=this[_0x4c3742(0x1dd)](_0x5101e6);_0x173eea&&this[_0x4c3742(0x184)][_0x4c3742(0x1b3)](_0x173eea);}[_0x1dd6e0(0x1dd)](_0x38e7c9){const _0x2822a6=_0x1dd6e0;let _0x279d04,_0x543916;switch(_0x38e7c9[_0x2822a6(0x1cc)]){case _0x2822a6(0x100):_0x279d04=_0x38e7c9[_0x2822a6(0x11a)][_0x2822a6(0x114)];break;case _0x2822a6(0x1b4):if(_0x543916=_0x38e7c9[_0x2822a6(0x106)],!_0x543916)return null;_0x279d04=_0x543916[_0x2822a6(0x114)];break;case _0x2822a6(0x1c9):_0x279d04=_0x38e7c9[_0x2822a6(0x114)];break;case _0x2822a6(0x1a8):_0x279d04=_0x38e7c9[_0x2822a6(0xf9)];break;case _0x2822a6(0x1c6):_0x279d04=_0x38e7c9[_0x2822a6(0x1b0)][_0x2822a6(0x114)];break;default:return null;}return _0x279d04[_0x2822a6(0x147)];}[_0x1dd6e0(0x16b)](_0x4a1639){const _0x225922=_0x1dd6e0;_0x4a1639[_0x225922(0x13b)](_0x1320f3=>{const _0x40d595=_0x225922,_0x5542d7=_0x1320f3[_0x40d595(0x1f6)]();_0x5542d7[_0x40d595(0x18d)]=_0x1320f3[_0x40d595(0x18d)],_0x5542d7[_0x40d595(0x115)]=!!_0x1320f3[_0x40d595(0x115)],_0x5542d7[_0x40d595(0x1e4)]=_0x1320f3[_0x40d595(0x1e4)],_0x5542d7[_0x40d595(0x197)]+=this[_0x40d595(0xfe)],_0x1320f3[_0x40d595(0x110)]&&this[_0x40d595(0x1aa)][_0x40d595(0x1b3)](_0x5542d7),this[_0x40d595(0x134)][_0x40d595(0x1b6)](_0x5542d7);});}[_0x1dd6e0(0x1ef)](_0x53ed38){const _0x384466=_0x1dd6e0,_0x36520e=this[_0x384466(0x1d8)][_0x384466(0x12a)][_0x384466(0x17a)](_0x384466(0x130)),_0x57b64e=this[_0x384466(0x1d8)][_0x384466(0x140)];_0x53ed38||(_0x53ed38=_0xb83a0b(_0x57b64e,_0x384466(0x1a1))),_0x36520e[_0x384466(0x139)](_0x53ed38,{'title':_0xb83a0b(_0x57b64e,_0x384466(0x14e)),'namespace':_0x384466(0x198)}),this[_0x384466(0x19b)]=!0x0,clearTimeout(this[_0x384466(0x13f)]),this[_0x384466(0x10c)]=[],this[_0x384466(0x1d8)][_0x384466(0x12a)][_0x384466(0x17a)](_0x1464a6)[_0x384466(0x1db)]();}[_0x1dd6e0(0x19c)](){const _0x1aecde=_0x1dd6e0;this[_0x1aecde(0x165)]||(this[_0x1aecde(0x165)]=this[_0x1aecde(0x1d8)][_0x1aecde(0x12a)][_0x1aecde(0x17a)](_0x2b33ae)[_0x1aecde(0x1b3)](_0xb83a0b(this[_0x1aecde(0x1d8)][_0x1aecde(0x140)],_0x1aecde(0x188))));}[_0x1dd6e0(0x1a7)](){const _0x307aeb=_0x1dd6e0;this[_0x307aeb(0x165)]&&(this[_0x307aeb(0x1d8)][_0x307aeb(0x12a)][_0x307aeb(0x17a)](_0x2b33ae)[_0x307aeb(0x128)](this[_0x307aeb(0x165)]),this[_0x307aeb(0x165)]=null);}[_0x1dd6e0(0x15d)](_0x47a72f){const _0x320268=_0x1dd6e0,_0x4661c2=_0x47a72f[_0x320268(0x154)](_0x132481=>_0x132481[_0x320268(0x135)]());return this[_0x320268(0x1f5)][_0x320268(0x178)](_0x4661c2);}[_0x1dd6e0(0x1dc)](_0x30b163,_0x3e50a9){const _0x466353=_0x1dd6e0;return this[_0x466353(0x1f5)][_0x466353(0xfd)](_0x30b163)[_0x466353(0x154)]((_0x5ef37d,_0x23e26d)=>{const _0x4faf23=_0x466353,_0x2ce815=_0x4faf23(0x1ec)==_0x3e50a9[_0x23e26d][_0x4faf23(0x1cc)];if(_0x4faf23(0x1f8)==_0x5ef37d[_0x4faf23(0x18c)]){const _0x1e80ae=_0x5ef37d[_0x4faf23(0x11a)][_0x4faf23(0x114)];!this[_0x4faf23(0x12c)][_0x4faf23(0x17c)](_0x1e80ae)&&(this[_0x4faf23(0x12c)][_0x4faf23(0x180)](_0x4faf23(0x1df),_0x1e80ae)[_0x4faf23(0x1ac)]=!0x1);}const _0x32b3fa=_0xaa4d68[_0x4faf23(0x120)](_0x5ef37d,this[_0x4faf23(0x12c)]);return _0x32b3fa[_0x4faf23(0x1f1)]=_0x5ef37d[_0x4faf23(0x1f1)],_0x32b3fa[_0x4faf23(0x115)]=_0x2ce815,_0x32b3fa[_0x4faf23(0x18d)]=_0x2ce815?null:_0x3e50a9[_0x23e26d][_0x4faf23(0x17b)],_0x32b3fa[_0x4faf23(0x110)]=_0x4faf23(0x137)===_0x3e50a9[_0x23e26d][_0x4faf23(0x1cc)],_0x32b3fa[_0x4faf23(0x1e4)]=_0x3e50a9[_0x23e26d][_0x4faf23(0x1e4)],_0x32b3fa;});}[_0x1dd6e0(0x18a)](){const _0x14d4b6=_0x1dd6e0;this[_0x14d4b6(0x19e)]=!0x0,this[_0x14d4b6(0x1ca)]()?this[_0x14d4b6(0x11c)]():this[_0x14d4b6(0x19e)]=!0x1;}[_0x1dd6e0(0x1ca)](){const _0x1ee0c3=_0x1dd6e0,_0x31a253=this[_0x1ee0c3(0x1d8)][_0x1ee0c3(0x12a)][_0x1ee0c3(0x17a)](_0x560465)[_0x1ee0c3(0x181)][_0x1ee0c3(0x17a)](this[_0x1ee0c3(0x102)]);return!this[_0x1ee0c3(0x1d8)][_0x1ee0c3(0x148)]&&!!_0x31a253&&_0x31a253[_0x1ee0c3(0x14f)]>0x1&&this[_0x1ee0c3(0x19e)];}[_0x1dd6e0(0x1ba)](){const _0x155ad8=_0x1dd6e0;return this[_0x155ad8(0x10c)][_0x155ad8(0x14f)]>0x0||this[_0x155ad8(0x1ca)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x57989e,_0x19b7c2){const _0x23ac16=_0x1dd6e0;for(const _0x56eba4 of _0x57989e)_0x56eba4[_0x23ac16(0x197)]=_0x19b7c2++;}class F{[_0x1dd6e0(0x123)];[_0x1dd6e0(0x11e)];constructor(_0x57998f){const _0x1b9f15=_0x1dd6e0;this[_0x1b9f15(0x123)]=_0x57998f,this[_0x1b9f15(0x11e)]=new WeakMap();}[_0x1dd6e0(0x199)](_0x3f379c){const _0x4b5724=_0x1dd6e0;let _0xa2cb94=_0x3f379c[_0x4b5724(0x14f)];for(;_0xa2cb94--;){const _0x59a949=_0x3f379c[_0xa2cb94];if(!this[_0x4b5724(0x123)][_0x4b5724(0x1bd)](_0x59a949)){if(!this[_0x4b5724(0x11e)][_0x4b5724(0x1bd)](_0x59a949)){const _0x226d4b=_0x3332ff()[_0x4b5724(0x18e)](0x1,0x12);this[_0x4b5724(0x11e)][_0x4b5724(0xf8)](_0x59a949,_0x226d4b);}return this[_0x4b5724(0x11e)][_0x4b5724(0x17a)](_0x59a949);}}}[_0x1dd6e0(0xfc)](_0x4f082b,_0x3d9b49){const _0x3ef287=_0x1dd6e0;if(!_0x3d9b49)return;let _0x1ddc54=_0x4f082b[_0x3ef287(0x14f)];for(;_0x1ddc54--;){const _0x4c262f=_0x4f082b[_0x1ddc54];this[_0x3ef287(0x123)][_0x3ef287(0x1bd)](_0x4c262f)||this[_0x3ef287(0x11e)][_0x3ef287(0xf8)](_0x4c262f,_0x3d9b49);}}}
23
+ function _0x3e5c(){const _0x22019a=['isDocumentOperation','type','showWarning','realtimecollaborationclient-init-document-already-initialized','includes','InsertOperation','lastDocumentSession','pluginName','sessionCreatedAt','remove','multi-root-editor-root-attributes-no-root','operationsReceived','loadRoot','addRootAttribute','keys','_channelId','lastOperationAcceptedAt','change:hasDomSelection','cloudDocumentVersion','_isAttached','roots','realtimecollaborationclient-init-session-connection-error','sessionId','154115JZcgRz','realtimecollaborationclient-error','getDocumentDetails','size','newRange','cs:removeUser','getOperationAuthor','disconnect','getUser','realtimecollaborationclient-init-service-incorrect-server-operation','_operationToId','_isPendingUpdate','isPremiumPlugin','differ','map','CommentsOnly','off','_document','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.','_disconnectionOperations','bind','startsWith','position','sendOperations','message','7044212yIPReU','enableReadOnlyMode','editor','reconnect','parse','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','clone','getConnectedSessions','176976SLHKIt','register','unregister','realtimecollaborationclient-handleserverresponse','__className','userId','state','createdAt','_handleServerResponse','11702gDyjnx','from','isOfficialPlugin','addRoot','code','_shouldSendUpdate','sessionAdd:','string','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_loadRoot','get','868364vHrZtF','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','CollaborativeEditingService','6XQRUFC','isEnabled','_knownRootNames','createRange','664610oEvaPJ','wereChangesApplied','requires','22FuGyMS','_disconnectService','metadata','_getOperationsFromInitData','stop','finally','entries','_knownOperations','_sendBufferedOperationsDelayed','_ignoredOperations','batch','cloud-services-internal-error:\x20Request\x20timeout.','ready','_connectAfterSessionHasBeenFlushed','RealTimeCollaborationClient','_handleReconnectionError','addOperation','change:_isEditingAllowed','config','_lastServerVersion','Permissions','affectsData','Synchronization\x20issue','_applyOperationsSet','_authorId','$root','destroy','createRoot','_isConnected','initData','_saveOperationInBuffer','_isLoaded','serverHistory','79eKhZyU','createPositionAt','history','wasUndone','removeFromReconnectionStack','permissions','addToReconnectionStack','_clearPendingAction','realtimecollaborationclient','compress','isUndoneOperation','error','enqueueChange','getMany','_bufferedOperations','has','slice','end','fromJSON','root','listenTo','realtimecollaborationclient-init-service-internal-error','selection','return','_fetchMissingUsers','409','reconnection:\x20flushed\x20session','addUser','length','_sendBufferedOperations','_decompressOperations','round','high','404','plugins','_handleReconnectionResponse','reset','connection','_sendBufferedOperationsDelayId','createUserMarkerOperations','move','filter','_handleExternalOperations','_bufferRootLoad','view','attributes','change:range','document','offset','targetPosition','collaboration','_handleInitialConnectionData','connect','realtimecollaborationclient-sendbufferedoperations','lastSyncVersion','setPermissions','real-time-collaboration','currentDocumentSession','define','path','_lastSyncedOperationId','toJSON','applyOperation','getRoot','_waitUntilSynced','suppressErrorInCollaboration','_service','insert','_connectService','276DXoEuQ','data','affectedSelectable','decompress','createPositionFromPath','_addKnownRoot','marker','realtimecollaborationclient-init-non-existent-root','lastOperationId','_isInit','_shouldSendSelectionUpdate','_currentBufferDelay','_operationIdentifier','Notification','_offset','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.','locale','_hasSynchronizationProblem','mySessionId','model','apply','_compressor','set','document:write','_compressOperations','_hasSelectionChanged','_pendingAction','directChange','_initSessionsHandling','6byyTdD','_refreshUserSelectionMarkers','_setUpDataInit','stopListening','connected','editing','realtimecollaborationclient-init-connection-failed','getOperations','_handleSendingSelectionMarkers','forEach','cloudServices.bundleVersion','channelSessions','isReadOnly','push','_isDisconnection','477IBaasR','start','disconnected','_getAffectedRoot','version','baseVersion','_isEditingAllowed','rtc-destroyed','init','collaboration.channelId','disableReadOnlyMode','change:_isPendingUpdate','_updateServerHistory','fire','PENDING_ACTION_SENDING_DATA','catch','setIdForTheLastOperation','collaboration-missing-channelid','rootName','getIdOfTheLastOperation','_handleReceivedOperations','cloud-services-internal-error:\x20Not\x20connected.','_crash','rtc-offline','rootsAttributes','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','_initThrowingOnDataSet','_setPendingAction','markers','6144835yaXwkx','then','add'];_0x3e5c=function(){return _0x22019a;};return _0x3e5c();}const _0x4b0fcc=_0x4c83;(function(_0x2550ef,_0x659771){const _0x1c82ab=_0x4c83,_0x373ae3=_0x2550ef();while(!![]){try{const _0xdaae1b=parseInt(_0x1c82ab(0x20b))/0x1*(-parseInt(_0x1c82ab(0x1d5))/0x2)+parseInt(_0x1c82ab(0x26d))/0x3*(-parseInt(_0x1c82ab(0x1e0))/0x4)+-parseInt(_0x1c82ab(0x191))/0x5*(-parseInt(_0x1c82ab(0x1e3))/0x6)+-parseInt(_0x1c82ab(0x1c4))/0x7+-parseInt(_0x1c82ab(0x1cc))/0x8*(-parseInt(_0x1c82ab(0x27c))/0x9)+parseInt(_0x1c82ab(0x1e7))/0xa*(-parseInt(_0x1c82ab(0x1ea))/0xb)+-parseInt(_0x1c82ab(0x250))/0xc*(-parseInt(_0x1c82ab(0x1ab))/0xd);if(_0xdaae1b===_0x659771)break;else _0x373ae3['push'](_0x373ae3['shift']());}catch(_0x594f20){_0x373ae3['push'](_0x373ae3['shift']());}}}(_0x3e5c,0x9bdf1));import{Plugin as _0x10c99d,PendingActions as _0x2e2f84}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d2f3d,version as _0x12755d,uid as _0x1a4f9a}from'ckeditor5/src/utils.js';import{Notification as _0x46e125}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4d569e,NoOperation as _0x28c3c8,InsertOperation as _0x5e24d7,MarkerOperation as _0x1412d5,RootAttributeOperation as _0x2753a8,OperationFactory as _0x325a32,History as _0x2fb591}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x340236}from'./websocketgateway.js';import{Sessions as _0x3aebd6}from'./sessions.js';import{UserMarkers as _0x325712}from'./usermarkers.js';import{getTranslation as _0x806e7d}from'../common-translations.js';import{Compressor as _0x5ab17a}from'@ckeditor/ckeditor5-operations-compressor';function _0x4c83(_0xe2ddbb,_0x21043a){const _0x3e5c96=_0x3e5c();return _0x4c83=function(_0x4c8337,_0x117d70){_0x4c8337=_0x4c8337-0x18e;let _0x51f822=_0x3e5c96[_0x4c8337];return _0x51f822;},_0x4c83(_0xe2ddbb,_0x21043a);}import{Users as _0x8a5bc8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x29a552,CollaborativeEditingService as _0x3d2ac9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x10c99d{static [_0x4b0fcc(0x1e2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3d2ac9)());[_0x4b0fcc(0x25e)];[_0x4b0fcc(0x1aa)];[_0x4b0fcc(0x20a)];[_0x4b0fcc(0x1a3)];[_0x4b0fcc(0x24d)];[_0x4b0fcc(0x1bc)];[_0x4b0fcc(0x265)];[_0x4b0fcc(0x219)];[_0x4b0fcc(0x1f1)];[_0x4b0fcc(0x1e5)];[_0x4b0fcc(0x26a)];[_0x4b0fcc(0x269)];[_0x4b0fcc(0x231)];[_0x4b0fcc(0x296)];[_0x4b0fcc(0x25b)];[_0x4b0fcc(0x247)];[_0x4b0fcc(0x1be)];[_0x4b0fcc(0x25c)];static get[_0x4b0fcc(0x1e9)](){return[_0x340236,_0x3aebd6,_0x325712,_0x2e2f84,_0x8a5bc8,_0x46e125];}static get[_0x4b0fcc(0x19b)](){const _0x3d97ec=_0x4b0fcc;return _0x3d97ec(0x1f8);}static get[_0x4b0fcc(0x1d7)](){return!0x0;}static get[_0x4b0fcc(0x1b7)](){return!0x0;}get[_0x4b0fcc(0x1a6)](){const _0x47ff11=_0x4b0fcc;return this[_0x47ff11(0x1fd)]+this[_0x47ff11(0x25e)];}get[_0x4b0fcc(0x1fd)](){const _0x34f986=_0x4b0fcc;return this[_0x34f986(0x20a)][_0x34f986(0x280)]-this[_0x34f986(0x25e)];}get[_0x4b0fcc(0x241)](){const _0x107886=_0x4b0fcc,_0x188fe0=this[_0x107886(0x20a)][_0x107886(0x274)]();for(let _0x3914a8=_0x188fe0[_0x107886(0x227)]-0x1;_0x3914a8>=0x0;_0x3914a8--){const _0x3f5d23=_0x188fe0[_0x3914a8];if(!this[_0x107886(0x1be)][_0x107886(0x21a)](_0x3f5d23))return _0x3f5d23[_0x107886(0x281)]+0x1-this[_0x107886(0x25e)];}return 0x0;}constructor(_0x49e2aa){const _0x4a8380=_0x4b0fcc;if(super(_0x49e2aa),this[_0x4a8380(0x25e)]=0x0,this[_0x4a8380(0x1aa)]=null,this[_0x4a8380(0x20a)]=new _0x2fb591(),this[_0x4a8380(0x1c6)][_0x4a8380(0x1fc)][_0x4a8380(0x245)](_0x4a8380(0x23d),{}),this[_0x4a8380(0x1a3)]=this[_0x4a8380(0x1c6)][_0x4a8380(0x1fc)][_0x4a8380(0x1df)](_0x4a8380(0x285)),!this[_0x4a8380(0x1a3)])throw new _0x4d2f3d(_0x4a8380(0x28d),this);const _0x1a23aa=_0x49e2aa[_0x4a8380(0x1fc)][_0x4a8380(0x1df)](_0x4a8380(0x277))||_0x12755d;this[_0x4a8380(0x24d)]=new RealTimeCollaborationClient[(_0x4a8380(0x1e2))](_0x1a23aa,this[_0x4a8380(0x1a3)]),this[_0x4a8380(0x1bc)]=this[_0x4a8380(0x1c6)][_0x4a8380(0x263)][_0x4a8380(0x23a)],this[_0x4a8380(0x265)]=new _0x5ab17a(),this[_0x4a8380(0x219)]=[],this[_0x4a8380(0x1f1)]=new WeakSet(),this[_0x4a8380(0x1e5)]=new Set(),this[_0x4a8380(0x266)](_0x4a8380(0x1b6),!0x1),this[_0x4a8380(0x266)](_0x4a8380(0x261),!0x1),this[_0x4a8380(0x26a)]=null,this[_0x4a8380(0x269)]=!0x1,this[_0x4a8380(0x231)]=null,this[_0x4a8380(0x296)]=0x12c,this[_0x4a8380(0x25b)]=this[_0x4a8380(0x296)],this[_0x4a8380(0x247)]=null,this[_0x4a8380(0x1be)]=new WeakSet(),this[_0x4a8380(0x25c)]=new Z(this[_0x4a8380(0x1be)]);}[_0x4b0fcc(0x284)](){const _0x2849d1=_0x4b0fcc,_0x496da0=this[_0x2849d1(0x1c6)],_0x8e1bc=_0x496da0[_0x2849d1(0x22d)][_0x2849d1(0x1df)](_0x8a5bc8),_0x5acb63=_0x496da0[_0x2849d1(0x22d)][_0x2849d1(0x1df)](_0x340236);this[_0x2849d1(0x21f)](_0x8e1bc,_0x2849d1(0x1b1),(_0x53f615,_0x256ae1)=>{const _0x109928=_0x2849d1,_0x5b5437=_0x256ae1[0x0];_0x5b5437[_0x109928(0x202)]&&(_0x53f615[_0x109928(0x222)]=_0x8e1bc[_0x109928(0x1b3)](_0x5b5437[_0x109928(0x202)]),_0x53f615[_0x109928(0x1ee)]()),null===_0x5b5437[_0x109928(0x202)]&&(_0x53f615[_0x109928(0x222)]=null,_0x53f615[_0x109928(0x1ee)]());},{'priority':_0x2849d1(0x22b)}),this[_0x2849d1(0x21f)](_0x496da0[_0x2849d1(0x263)][_0x2849d1(0x23a)][_0x2849d1(0x221)],_0x2849d1(0x239),(_0x36c16b,_0x5bfe0e)=>{const _0x1c7224=_0x2849d1;_0x5bfe0e[_0x1c7224(0x26b)]&&this[_0x1c7224(0x26e)]();}),this[_0x2849d1(0x21f)](_0x496da0[_0x2849d1(0x272)][_0x2849d1(0x237)],_0x2849d1(0x1a5),()=>{const _0x4c8372=_0x2849d1;this[_0x4c8372(0x26e)]();}),this[_0x2849d1(0x18e)](),_0x496da0[_0x2849d1(0x263)]['on'](_0x2849d1(0x249),(_0x57edd2,_0x268058)=>{const _0x310294=_0x2849d1,_0xb06f46=_0x268058[0x0];_0xb06f46[_0x310294(0x194)]&&(this[_0x310294(0x208)](_0xb06f46),this[_0x310294(0x1da)]()&&this[_0x310294(0x1f2)]());}),this[_0x2849d1(0x26f)](),this[_0x2849d1(0x1bf)](_0x2849d1(0x282))['to'](_0x5acb63,_0x2849d1(0x1d2),this,_0x2849d1(0x261),(_0x328612,_0x4f4eed)=>_0x2849d1(0x271)===_0x328612&&!_0x4f4eed),this['on'](_0x2849d1(0x1fb),()=>{const _0xbb9152=_0x2849d1;this[_0xbb9152(0x282)]?_0x496da0[_0xbb9152(0x286)](_0xbb9152(0x293)):_0x496da0[_0xbb9152(0x1c5)](_0xbb9152(0x293));}),this[_0x2849d1(0x282)]?_0x496da0[_0x2849d1(0x286)](_0x2849d1(0x293)):_0x496da0[_0x2849d1(0x1c5)](_0x2849d1(0x293)),this[_0x2849d1(0x266)](_0x2849d1(0x206),!0x1);}async[_0x4b0fcc(0x1c7)](){const _0x40db29=_0x4b0fcc,_0x2002ba=this[_0x40db29(0x1c6)][_0x40db29(0x22d)][_0x40db29(0x1df)](_0x3aebd6),_0x10c234=this[_0x40db29(0x1c6)][_0x40db29(0x22d)][_0x40db29(0x1df)](_0x340236);try{this[_0x40db29(0x1b6)]=!0x0,_0x2002ba[_0x40db29(0x1ce)](this[_0x40db29(0x1a3)]);const _0x365ae4=await this[_0x40db29(0x24d)][_0x40db29(0x1c7)](_0x10c234[_0x40db29(0x230)],this[_0x40db29(0x241)]);await this[_0x40db29(0x22e)](_0x365ae4)&&(this[_0x40db29(0x1b6)]=!0x1,this[_0x40db29(0x212)]());const _0x424180=await this[_0x40db29(0x24d)][_0x40db29(0x1cb)]();_0x2002ba[_0x40db29(0x1cd)](this[_0x40db29(0x1a3)],_0x424180),this[_0x40db29(0x275)](),this[_0x40db29(0x206)]=!0x0;}catch(_0x40ddd1){if(function(_0x3f8cfc){const _0x1952ec=_0x40db29;return _0x1952ec(0x22c)===_0x3f8cfc[_0x1952ec(0x1d9)];}(_0x40ddd1)&&this[_0x40db29(0x1aa)])await this[_0x40db29(0x1f7)]();else{if(function(_0x17500b){const _0x3578c9=_0x40db29;return _0x3578c9(0x224)===_0x17500b[_0x3578c9(0x1d9)];}(_0x40ddd1)){const _0x1a59a5=_0x806e7d(this[_0x40db29(0x1c6)][_0x40db29(0x260)],_0x40db29(0x1e1));this[_0x40db29(0x1f9)](_0x1a59a5);}else{if(!(_0x40ddd1 instanceof X))throw _0x40ddd1;this[_0x40db29(0x1f9)]();}}}}[_0x4b0fcc(0x204)](){const _0x105635=_0x4b0fcc,_0x3736e7=this[_0x105635(0x1c6)][_0x105635(0x22d)][_0x105635(0x1df)](_0x340236),_0x59eea0=this[_0x105635(0x1c6)][_0x105635(0x22d)][_0x105635(0x1df)](_0x3aebd6);this[_0x105635(0x1c6)][_0x105635(0x1c5)](_0x105635(0x283)),_0x59eea0[_0x105635(0x278)][_0x105635(0x21a)](this[_0x105635(0x1a3)])&&_0x59eea0[_0x105635(0x1ce)](this[_0x105635(0x1a3)]),_0x3736e7[_0x105635(0x20f)](this),this[_0x105635(0x1eb)](),super[_0x105635(0x204)]();}async[_0x4b0fcc(0x22e)](_0x2ea5de){const _0x1db173=_0x4b0fcc;if(this[_0x1db173(0x1aa)]!==_0x2ea5de[_0x1db173(0x1aa)]&&this[_0x1db173(0x247)]!==_0x2ea5de[_0x1db173(0x258)])throw new X();return this[_0x1db173(0x1aa)]=_0x2ea5de[_0x1db173(0x1aa)],this[_0x1db173(0x1d4)]([],{..._0x2ea5de,'wereChangesApplied':!0x1,'data':_0x2ea5de[_0x1db173(0x251)]},_0x1db173(0x1c7));}async[_0x4b0fcc(0x24f)](_0x33fdc3,_0x6d0915=!0x1){const _0x2011c9=_0x4b0fcc,{connection:_0x196e94}=this[_0x2011c9(0x1c6)][_0x2011c9(0x22d)][_0x2011c9(0x1df)](_0x340236);RealTimeCollaborationClient[_0x2011c9(0x1e2)][_0x2011c9(0x1cb)](_0x196e94,this[_0x2011c9(0x1a3)])[_0x2011c9(0x192)](_0x17b074=>this[_0x2011c9(0x26c)](_0x17b074))[_0x2011c9(0x28b)](_0x2202b2=>{const _0x42132b=_0x2011c9;this[_0x42132b(0x292)](_0x42132b(0x1a9),_0x2202b2);}),this[_0x2011c9(0x21f)](this[_0x2011c9(0x24d)],_0x2011c9(0x19f),this[_0x2011c9(0x290)][_0x2011c9(0x1bf)](this)),this[_0x2011c9(0x21f)](this[_0x2011c9(0x24d)],_0x2011c9(0x216),(_0x4e8f1b,_0xa1600e)=>{const _0x388209=_0x2011c9;this[_0x388209(0x292)](_0x388209(0x220),_0xa1600e);}),this[_0x2011c9(0x21f)](this[_0x2011c9(0x24d)],_0x2011c9(0x27e),()=>{const _0x129f1d=_0x2011c9;this[_0x129f1d(0x206)]=!0x1;});const _0x5f5940=this[_0x2011c9(0x25c)][_0x2011c9(0x28f)](_0x33fdc3);this[_0x2011c9(0x1b6)]=!0x0;const _0x16c1cb=await this[_0x2011c9(0x24d)][_0x2011c9(0x23f)](_0x196e94,this[_0x2011c9(0x268)](_0x33fdc3),_0x5f5940);if(this[_0x2011c9(0x1aa)]=_0x16c1cb[_0x2011c9(0x1aa)],_0x6d0915){if(!_0x16c1cb[_0x2011c9(0x1e8)])return void this[_0x2011c9(0x1f9)]();this[_0x2011c9(0x1b6)]=!0x1,this[_0x2011c9(0x212)](),this[_0x2011c9(0x20a)][_0x2011c9(0x22f)](),this[_0x2011c9(0x25e)]=_0x16c1cb[_0x2011c9(0x23b)],this[_0x2011c9(0x20a)][_0x2011c9(0x280)]=this[_0x2011c9(0x25e)],await this[_0x2011c9(0x1d4)](_0x33fdc3,_0x16c1cb,_0x2011c9(0x225));}else await this[_0x2011c9(0x23e)](_0x16c1cb,_0x33fdc3);this[_0x2011c9(0x275)](),this[_0x2011c9(0x206)]=!0x0;}[_0x4b0fcc(0x275)](){const _0x25ac68=_0x4b0fcc,_0x5432be=this[_0x25ac68(0x1c6)][_0x25ac68(0x22d)][_0x25ac68(0x1df)](_0x3aebd6),_0x7ad2e4=this[_0x25ac68(0x1c6)][_0x25ac68(0x22d)][_0x25ac68(0x1df)](_0x325712),_0x54087f=_0x5432be[_0x25ac68(0x278)][_0x25ac68(0x1df)](this[_0x25ac68(0x1a3)]);_0x54087f&&_0x54087f[_0x25ac68(0x227)]>0x1?_0x7ad2e4[_0x25ac68(0x232)]():this[_0x25ac68(0x21f)](_0x5432be,_0x25ac68(0x1db)+this[_0x25ac68(0x1a3)],()=>{const _0x98114e=_0x25ac68;0x2===_0x5432be[_0x98114e(0x278)][_0x98114e(0x1df)](this[_0x98114e(0x1a3)])[_0x98114e(0x227)]&&_0x7ad2e4[_0x98114e(0x232)]();});}async[_0x4b0fcc(0x290)](_0x4ac3fc,_0x3a3c16,_0x2b5017,_0x459180){const _0x8221d=_0x4b0fcc;if(!this[_0x8221d(0x1b6)]&&this[_0x8221d(0x1bc)][_0x8221d(0x280)]==_0x3a3c16){const _0x7900cc=this[_0x8221d(0x229)](_0x2b5017,_0x459180);await this[_0x8221d(0x223)](_0x7900cc),this[_0x8221d(0x235)](_0x7900cc,_0x3a3c16,_0x2b5017[_0x8221d(0x258)])||this[_0x8221d(0x292)](_0x8221d(0x1b4));}}async[_0x4b0fcc(0x1f7)](){const _0x15896d=_0x4b0fcc;this[_0x15896d(0x1eb)]();const {locale:_0x3b4cfb}=this[_0x15896d(0x1c6)];let _0x1c44d1;try{_0x1c44d1=await this[_0x15896d(0x24d)][_0x15896d(0x1ad)]();}catch{const _0x2d53b8=_0x806e7d(_0x3b4cfb,_0x15896d(0x295));return void this[_0x15896d(0x1f9)](_0x2d53b8);}const _0x5aa7f0=_0x1c44d1[_0x15896d(0x244)]||_0x1c44d1[_0x15896d(0x19a)];if(this[_0x15896d(0x247)]!==_0x5aa7f0[_0x15896d(0x258)]){const _0x468732=_0x806e7d(_0x3b4cfb,_0x15896d(0x1bd));return void this[_0x15896d(0x1f9)](_0x468732);}await this[_0x15896d(0x24f)](this[_0x15896d(0x1c6)][_0x15896d(0x263)][_0x15896d(0x23a)][_0x15896d(0x20d)][_0x15896d(0x274)](),!0x0);}[_0x4b0fcc(0x1eb)](){const _0x7f0677=_0x4b0fcc;this[_0x7f0677(0x24d)][_0x7f0677(0x1b2)](),this[_0x7f0677(0x219)]=[],clearTimeout(this[_0x7f0677(0x231)]),this[_0x7f0677(0x270)](this[_0x7f0677(0x24d)]);}[_0x4b0fcc(0x26c)](_0x4370e3){const _0x52c38f=_0x4b0fcc,_0x40260b=this[_0x52c38f(0x1c6)][_0x52c38f(0x22d)][_0x52c38f(0x1df)](_0x3aebd6);this[_0x52c38f(0x21f)](_0x40260b,_0x52c38f(0x1db)+this[_0x52c38f(0x1a3)],(_0x521fc4,{session:_0x30e490})=>{const _0x447ac5=_0x52c38f;if(_0x30e490['id']===_0x40260b[_0x447ac5(0x262)]){_0x521fc4[_0x447ac5(0x1bb)]();const _0x509908=this[_0x447ac5(0x1c6)][_0x447ac5(0x22d)][_0x447ac5(0x21a)](_0x447ac5(0x1ba))&&this[_0x447ac5(0x1c6)][_0x447ac5(0x22d)][_0x447ac5(0x1df)](_0x447ac5(0x1ba));let _0x5d7e30=_0x30e490[_0x447ac5(0x210)];_0x509908&&_0x509908[_0x447ac5(0x1e4)]&&(_0x5d7e30=_0x5d7e30[_0x447ac5(0x234)](_0x502a17=>_0x447ac5(0x267)!==_0x502a17)),this[_0x447ac5(0x1c6)][_0x447ac5(0x22d)][_0x447ac5(0x1df)](_0x447ac5(0x1fe))[_0x447ac5(0x242)](_0x5d7e30,this[_0x447ac5(0x1a3)]);}}),_0x40260b[_0x52c38f(0x1cd)](this[_0x52c38f(0x1a3)],_0x4370e3);}[_0x4b0fcc(0x18e)](){const _0x4da63b=_0x4b0fcc,_0x5b71e0=this[_0x4da63b(0x1c6)][_0x4da63b(0x251)][_0x4da63b(0x266)];this[_0x4da63b(0x1c6)][_0x4da63b(0x251)][_0x4da63b(0x266)]=(..._0x256ad5)=>{const _0x8b3df9=_0x4da63b;if(!_0x256ad5[_0x256ad5[_0x8b3df9(0x227)]-0x1][_0x8b3df9(0x24c)])throw new _0x4d2f3d(_0x8b3df9(0x1dd),this);_0x5b71e0[_0x8b3df9(0x264)](this[_0x8b3df9(0x1c6)][_0x8b3df9(0x251)],_0x256ad5);};}[_0x4b0fcc(0x26f)](){const _0x5eca8e=_0x4b0fcc;this[_0x5eca8e(0x1c6)][_0x5eca8e(0x251)]['on'](_0x5eca8e(0x284),(_0x57b6d6,[_0x1c6b5d])=>{const _0x317128=_0x5eca8e;if(this[_0x317128(0x1bc)][_0x317128(0x280)])throw new _0x4d2f3d(_0x317128(0x197),this);_0x57b6d6[_0x317128(0x1ee)](),this[_0x317128(0x18f)]();const _0x30ddba=this[_0x317128(0x1c6)][_0x317128(0x1fc)][_0x317128(0x1df)](_0x317128(0x294)),_0x122cfc=this[_0x317128(0x1ed)](_0x1c6b5d,_0x30ddba);0x0==_0x122cfc[_0x317128(0x227)]&&_0x122cfc[_0x317128(0x27a)](new _0x28c3c8(0x0)),_0x57b6d6[_0x317128(0x222)]=this[_0x317128(0x24f)](_0x122cfc)[_0x317128(0x192)](()=>{const _0x99c46b=_0x317128;this[_0x99c46b(0x1c6)][_0x99c46b(0x22d)][_0x99c46b(0x1df)](_0x340236)[_0x99c46b(0x211)](this),this[_0x99c46b(0x1c6)][_0x99c46b(0x251)][_0x99c46b(0x289)](_0x99c46b(0x1f6));})[_0x317128(0x28b)](_0x4a857f=>this[_0x317128(0x292)](_0x317128(0x273),_0x4a857f))[_0x317128(0x1ef)](()=>this[_0x317128(0x212)]());},{'priority':_0x5eca8e(0x22b)}),this[_0x5eca8e(0x1c6)]['on'](_0x5eca8e(0x1a0),async(_0xd447da,[_0x35284d,_0x28d5c8])=>{const _0x4ec057=_0x5eca8e;_0xd447da[_0x4ec057(0x1ee)]();const _0x592576=this[_0x4ec057(0x1c6)][_0x4ec057(0x263)][_0x4ec057(0x23a)][_0x4ec057(0x24a)](_0x35284d);if(!this[_0x4ec057(0x1e5)][_0x4ec057(0x21a)](_0x35284d)){const _0x169ae0=_0x28d5c8&&_0x28d5c8[_0x4ec057(0x251)]?_0x28d5c8[_0x4ec057(0x251)]:'',_0x4139a5=_0x28d5c8&&_0x28d5c8[_0x4ec057(0x238)]?_0x28d5c8[_0x4ec057(0x238)]:{};await this[_0x4ec057(0x1de)](_0x35284d,_0x169ae0,_0x4139a5);}this[_0x4ec057(0x1c6)][_0x4ec057(0x263)][_0x4ec057(0x217)]({'isUndoable':!0x1},()=>{const _0x286dd0=_0x4ec057;_0x592576[_0x286dd0(0x209)]=!0x0,this[_0x286dd0(0x1c6)][_0x286dd0(0x263)][_0x286dd0(0x23a)][_0x286dd0(0x1b8)][_0x286dd0(0x236)](_0x592576);});},{'priority':_0x5eca8e(0x22b)});}async[_0x4b0fcc(0x223)](_0x402230){const _0x296329=_0x4b0fcc,_0x370998=this[_0x296329(0x1c6)][_0x296329(0x22d)][_0x296329(0x1df)](_0x8a5bc8),{connection:_0x585eaa}=this[_0x296329(0x1c6)][_0x296329(0x22d)][_0x296329(0x1df)](_0x340236),_0x101577=new Set();for(const _0x583856 of _0x402230){const _0xb21e1=_0x583856[_0x296329(0x202)];_0xb21e1&&!_0x370998[_0x296329(0x1b3)](_0xb21e1)&&_0x101577[_0x296329(0x193)](_0xb21e1);}if(0x0===_0x101577[_0x296329(0x1ae)])return;const _0x2d22fa=await _0x29a552[_0x296329(0x218)](_0x585eaa,Array[_0x296329(0x1d6)](_0x101577));for(const _0x1fa692 of _0x2d22fa)_0x370998[_0x296329(0x1b3)](_0x1fa692['id'])||_0x370998[_0x296329(0x226)](_0x1fa692);}[_0x4b0fcc(0x1ed)](_0x2dec25,_0x1dabd6={}){const _0x4f6a00=_0x4b0fcc,_0x724086=this[_0x4f6a00(0x1c6)][_0x4f6a00(0x263)],_0x353a76=[];let _0x4e9793=0x0;const _0x13372f=_0x4f6a00(0x1dc)==typeof _0x2dec25?{'main':_0x2dec25}:_0x2dec25;for(const _0x1a1251 of Object[_0x4f6a00(0x1a2)](_0x13372f)){if(!this[_0x4f6a00(0x1bc)][_0x4f6a00(0x1a8)][_0x4f6a00(0x21a)](_0x1a1251))throw new _0x4d2f3d(_0x4f6a00(0x257),this);const _0x403ca8=this[_0x4f6a00(0x1c6)][_0x4f6a00(0x251)][_0x4f6a00(0x1c8)](_0x13372f[_0x1a1251]),_0x3db5bd=this[_0x4f6a00(0x1bc)][_0x4f6a00(0x24a)](_0x1a1251),_0x4d25ba=new _0x5e24d7(_0x724086[_0x4f6a00(0x20c)](_0x3db5bd,0x0),_0x403ca8,_0x4e9793++);_0x353a76[_0x4f6a00(0x27a)](_0x4d25ba);for(const [_0x47ea64,_0x3fc065]of _0x403ca8[_0x4f6a00(0x190)]){const _0x26d8c5=_0x724086[_0x4f6a00(0x1e6)](_0x724086[_0x4f6a00(0x254)](_0x3db5bd,_0x3fc065[_0x4f6a00(0x27d)][_0x4f6a00(0x246)][_0x4f6a00(0x21b)]()),_0x724086[_0x4f6a00(0x254)](_0x3db5bd,_0x3fc065[_0x4f6a00(0x21c)][_0x4f6a00(0x246)][_0x4f6a00(0x21b)]())),_0x1a4762=new _0x1412d5(_0x47ea64,null,_0x26d8c5,_0x724086[_0x4f6a00(0x190)],!0x0,_0x4e9793++);_0x353a76[_0x4f6a00(0x27a)](_0x1a4762);}}if(_0x1dabd6)for(const [_0x2dab0a,_0x338b0c]of Object[_0x4f6a00(0x1f0)](_0x1dabd6)){const _0x9e974d=_0x724086[_0x4f6a00(0x23a)][_0x4f6a00(0x24a)](_0x2dab0a);if(!_0x9e974d)throw new _0x4d2f3d(_0x4f6a00(0x19e),null);for(const [_0x55c1a1,_0x21135c]of Object[_0x4f6a00(0x1f0)](_0x338b0c))if(null!==_0x21135c){const _0x7048d3=new _0x2753a8(_0x9e974d,_0x55c1a1,null,_0x21135c,_0x4e9793++);_0x353a76[_0x4f6a00(0x27a)](_0x7048d3);}}return _0x353a76;}async[_0x4b0fcc(0x1de)](_0x10e7df,_0x5caf11,_0x25209f){const _0x82c3a9=_0x4b0fcc;this[_0x82c3a9(0x1ed)]({[_0x10e7df]:_0x5caf11},{[_0x10e7df]:_0x25209f})[_0x82c3a9(0x276)]((_0xc30915,_0x2ae7e8)=>{const _0x47e408=_0x82c3a9;_0xc30915[_0x47e408(0x281)]=this[_0x47e408(0x1bc)][_0x47e408(0x280)]+_0x2ae7e8,_0xc30915[_0x47e408(0x259)]=!0x0,this[_0x47e408(0x208)](_0xc30915);}),this[_0x82c3a9(0x1f2)](),await this[_0x82c3a9(0x24b)]();}async[_0x4b0fcc(0x23e)](_0x33df2f,_0x10971f){const _0x4aa215=_0x4b0fcc;let _0x52fcf2;this[_0x4aa215(0x25e)]=_0x33df2f[_0x4aa215(0x23b)];const _0x5ac39b=_0x33df2f[_0x4aa215(0x1e8)]&&!_0x33df2f[_0x4aa215(0x207)],_0x3f2f38=_0x5ac39b?0x0:_0x33df2f[_0x4aa215(0x251)][_0x4aa215(0x281)];if(_0x10971f[_0x4aa215(0x276)](_0x349293=>{const _0x4e1f78=_0x4aa215;_0x349293[_0x4e1f78(0x259)]=!0x0,_0x349293[_0x4e1f78(0x1d3)]=_0x33df2f[_0x4e1f78(0x19c)],_0x349293[_0x4e1f78(0x202)]=null;}),_0x5ac39b)_0x52fcf2=_0x10971f,this[_0x4aa215(0x201)](_0x52fcf2,_0x5ac39b);else{if(_0x33df2f[_0x4aa215(0x207)]){const _0x3352df=this[_0x4aa215(0x1ed)](_0x33df2f[_0x4aa215(0x207)]);this[_0x4aa215(0x1bc)][_0x4aa215(0x20d)][_0x4aa215(0x280)]=-_0x3352df[_0x4aa215(0x227)],_0x3352df[_0x4aa215(0x276)](_0x5557ae=>{const _0x2dff23=_0x4aa215;_0x5557ae[_0x2dff23(0x281)]-=_0x3352df[_0x2dff23(0x227)],_0x5557ae[_0x2dff23(0x1d3)]=_0x33df2f[_0x2dff23(0x19c)],_0x5557ae[_0x2dff23(0x259)]=!0x0,_0x5557ae[_0x2dff23(0x202)]=null;}),this[_0x4aa215(0x201)](_0x3352df,!0x0),this[_0x4aa215(0x20a)][_0x4aa215(0x280)]=-_0x3352df[_0x4aa215(0x227)]+this[_0x4aa215(0x25e)],this[_0x4aa215(0x288)](_0x3352df);}this[_0x4aa215(0x1bc)][_0x4aa215(0x20d)][_0x4aa215(0x280)]=_0x3f2f38,_0x52fcf2=this[_0x4aa215(0x229)](_0x33df2f[_0x4aa215(0x251)],_0x33df2f[_0x4aa215(0x1ec)]),await this[_0x4aa215(0x223)](_0x52fcf2),this[_0x4aa215(0x201)](_0x52fcf2,_0x5ac39b);}_0x33df2f[_0x4aa215(0x258)]&&(this[_0x4aa215(0x25c)][_0x4aa215(0x28c)](_0x52fcf2,_0x33df2f[_0x4aa215(0x258)]),this[_0x4aa215(0x247)]=_0x33df2f[_0x4aa215(0x258)]),this[_0x4aa215(0x20a)][_0x4aa215(0x280)]=_0x3f2f38+this[_0x4aa215(0x25e)],this[_0x4aa215(0x288)](_0x52fcf2),_0x10971f[_0x4aa215(0x234)](_0x3099ea=>{const _0x541b3f=_0x4aa215,_0x2100d1=this[_0x541b3f(0x27f)](_0x3099ea);return _0x2100d1&&!this[_0x541b3f(0x1e5)][_0x541b3f(0x21a)](_0x2100d1);})[_0x4aa215(0x276)]((_0x542144,_0x440488)=>{const _0x339ffb=_0x4aa215;_0x542144[_0x339ffb(0x281)]=this[_0x339ffb(0x1bc)][_0x339ffb(0x280)]+_0x440488,this[_0x339ffb(0x208)](_0x542144);}),this[_0x4aa215(0x1da)]()?(this[_0x4aa215(0x25b)]=0x0,this[_0x4aa215(0x1f2)](!0x0),await this[_0x4aa215(0x24b)]()):(this[_0x4aa215(0x1b6)]=!0x1,this[_0x4aa215(0x212)]());}[_0x4b0fcc(0x292)](_0x3a99ed,_0x48b6d4){const _0x1ab09e=_0x4b0fcc,_0x4e213e=_0x48b6d4&&_0x48b6d4[_0x1ab09e(0x1c3)];if(_0x4e213e&&_0x4e213e[_0x1ab09e(0x1c0)](_0x1ab09e(0x213)))throw _0x48b6d4;const _0x5422c4=this[_0x1ab09e(0x1c6)][_0x1ab09e(0x22d)][_0x1ab09e(0x1df)](_0x340236);throw this[_0x1ab09e(0x1b6)]=!0x0,_0x5422c4[_0x1ab09e(0x1b2)](),this[_0x1ab09e(0x1c6)][_0x1ab09e(0x1c5)](_0x1ab09e(0x1ac)),new _0x4d2f3d(_0x3a99ed,this[_0x1ab09e(0x1c6)],_0x4e213e?{'originalError':_0x4e213e}:void 0x0);}[_0x4b0fcc(0x208)](_0x46e9f0){const _0x1145dc=_0x4b0fcc;this[_0x1145dc(0x1f1)][_0x1145dc(0x21a)](_0x46e9f0)||(this[_0x1145dc(0x1f1)][_0x1145dc(0x193)](_0x46e9f0),this[_0x1145dc(0x219)][_0x1145dc(0x27a)](_0x46e9f0),this[_0x1145dc(0x26a)]||_0x1145dc(0x256)==_0x46e9f0[_0x1145dc(0x195)]&&!_0x46e9f0[_0x1145dc(0x1ff)]||this[_0x1145dc(0x18f)]());}[_0x4b0fcc(0x1f2)](_0x1ce745=!0x1){const _0x2a07c1=_0x4b0fcc;!_0x1ce745&&this[_0x2a07c1(0x1b6)]||(this[_0x2a07c1(0x1b6)]=!0x0,clearTimeout(this[_0x2a07c1(0x231)]),this[_0x2a07c1(0x231)]=setTimeout(()=>{const _0x485172=_0x2a07c1;this[_0x485172(0x228)]()[_0x485172(0x192)](_0x459458=>{const _0x3a78de=_0x485172;_0x459458&&(this[_0x3a78de(0x212)](),this[_0x3a78de(0x1b6)]=!0x1);})[_0x485172(0x28b)](_0x5329ed=>{const _0x42928e=_0x485172;this[_0x42928e(0x212)](),this[_0x42928e(0x1b6)]=!0x1,function(_0x448715){const _0x2e330c=_0x42928e;return _0x448715[_0x2e330c(0x1c3)][_0x2e330c(0x1c0)](_0x2e330c(0x291))||_0x448715[_0x2e330c(0x1c3)][_0x2e330c(0x1c0)](_0x2e330c(0x1c9))||_0x448715[_0x2e330c(0x1c3)][_0x2e330c(0x1c0)](_0x2e330c(0x1f5));}(_0x5329ed)||this[_0x42928e(0x292)](_0x5329ed[_0x42928e(0x1c3)],_0x5329ed);});},this[_0x2a07c1(0x25b)]));}[_0x4b0fcc(0x24b)](){return new Promise(_0x1bf79c=>{const _0x43d72c=_0x4c83;this['on'](_0x43d72c(0x287),()=>{_0x1bf79c();});});}async[_0x4b0fcc(0x228)](){const _0x2e0500=_0x4b0fcc,_0x58bfab=this[_0x2e0500(0x1c6)][_0x2e0500(0x22d)][_0x2e0500(0x1df)](_0x325712);if(this[_0x2e0500(0x25a)]()&&(_0x58bfab[_0x2e0500(0x232)](),this[_0x2e0500(0x269)]=!0x1),!this[_0x2e0500(0x1da)]())return!0x0;const _0x398515=[...this[_0x2e0500(0x219)]];for(const _0xd0923c of _0x398515)_0xd0923c[_0x2e0500(0x20e)]=this[_0x2e0500(0x1bc)][_0x2e0500(0x20d)][_0x2e0500(0x215)](_0xd0923c);const _0x35c4f9=this[_0x2e0500(0x25c)][_0x2e0500(0x28f)](_0x398515),_0x2bc78f=Q++,_0x5365ff=this[_0x2e0500(0x268)](_0x398515),_0x23f32e=await this[_0x2e0500(0x24d)][_0x2e0500(0x1c2)](_0x5365ff,_0x5365ff[_0x2e0500(0x281)],_0x35c4f9);try{return await this[_0x2e0500(0x1d4)](_0x398515,_0x23f32e,_0x2bc78f);}catch(_0x488ac3){return this[_0x2e0500(0x292)](_0x2e0500(0x240),_0x488ac3);}}async[_0x4b0fcc(0x1d4)](_0x1868e4,_0x307954,_0x105cbb){const _0x589ef8=_0x4b0fcc;if(_0x589ef8(0x216)in _0x307954)throw _0x307954[_0x589ef8(0x216)];let _0x12cade=!0x1;if(_0x307954[_0x589ef8(0x1e8)]){_0x307954[_0x589ef8(0x258)]&&(this[_0x589ef8(0x247)]=_0x307954[_0x589ef8(0x258)]),this[_0x589ef8(0x219)]=this[_0x589ef8(0x219)][_0x589ef8(0x234)](_0x57fdc7=>!_0x1868e4[_0x589ef8(0x198)](_0x57fdc7));for(const _0x2dfc49 of _0x1868e4)_0x2dfc49[_0x589ef8(0x1d3)]=_0x589ef8(0x1a4)in _0x307954&&_0x307954[_0x589ef8(0x1a4)]||void 0x0;Y(_0x1868e4,_0x307954[_0x589ef8(0x280)]-_0x1868e4[_0x589ef8(0x227)]),this[_0x589ef8(0x288)](_0x1868e4);const _0x394f35=_0x1868e4[_0x589ef8(0x234)](_0xf4dd34=>{const _0x165d13=_0x589ef8;if(!_0xf4dd34[_0x165d13(0x259)])return!0x1;const _0x3d86f8=this[_0x165d13(0x27f)](_0xf4dd34);return _0x3d86f8&&!this[_0x165d13(0x1e5)][_0x165d13(0x21a)](_0x3d86f8);});Y(_0x394f35,this[_0x589ef8(0x1bc)][_0x589ef8(0x280)]),this[_0x589ef8(0x201)](_0x394f35),_0x12cade=!0x0,this[_0x589ef8(0x25b)]=this[_0x589ef8(0x296)];}else{const _0xb1f727=this[_0x589ef8(0x229)](_0x307954[_0x589ef8(0x251)],_0x307954[_0x589ef8(0x1ec)])[_0x589ef8(0x234)](_0xc03f2e=>_0xc03f2e[_0x589ef8(0x281)]>=this[_0x589ef8(0x1fd)]);_0xb1f727[_0x589ef8(0x276)](_0x16b753=>this[_0x589ef8(0x255)](_0x16b753)),this[_0x589ef8(0x219)]=this[_0x589ef8(0x219)][_0x589ef8(0x234)](_0x116105=>!_0x116105[_0x589ef8(0x259)]||!this[_0x589ef8(0x1e5)][_0x589ef8(0x21a)](this[_0x589ef8(0x27f)](_0x116105))),this[_0x589ef8(0x219)][_0x589ef8(0x227)]&&Y(this[_0x589ef8(0x219)],this[_0x589ef8(0x219)][0x0][_0x589ef8(0x281)]),await this[_0x589ef8(0x223)](_0xb1f727),_0x12cade=this[_0x589ef8(0x235)](_0xb1f727,_0x307954[_0x589ef8(0x280)],_0x307954[_0x589ef8(0x258)]),this[_0x589ef8(0x25b)]=Math[_0x589ef8(0x22a)](this[_0x589ef8(0x25b)]/0x2);}return _0x12cade?!this[_0x589ef8(0x1da)]()||(this[_0x589ef8(0x1f2)](!0x0),!0x1):this[_0x589ef8(0x292)](_0x589ef8(0x1cf));}[_0x4b0fcc(0x235)](_0x13a8b3,_0x3f092c,_0x5c5039){const _0x4e6e36=_0x4b0fcc;try{const _0x1fc64f={'document':this[_0x4e6e36(0x1bc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x53c4d7,operationsB:_0x1fc58c,originalOperations:_0x191965}=_0x4d569e(_0x13a8b3,this[_0x4e6e36(0x219)],_0x1fc64f);Y(_0x53c4d7,this[_0x4e6e36(0x1bc)][_0x4e6e36(0x280)]),Y(_0x1fc58c,_0x3f092c);for(const _0x58edd4 of _0x53c4d7){const _0x20e3bc=_0x191965[_0x4e6e36(0x1df)](_0x58edd4);_0x58edd4[_0x4e6e36(0x202)]=_0x20e3bc?_0x20e3bc[_0x4e6e36(0x202)]:null;}_0x5c5039&&(this[_0x4e6e36(0x25c)][_0x4e6e36(0x28c)](_0x13a8b3,_0x5c5039),this[_0x4e6e36(0x247)]=_0x5c5039),this[_0x4e6e36(0x219)]=[..._0x1fc58c],this[_0x4e6e36(0x201)](_0x53c4d7),this[_0x4e6e36(0x288)](_0x13a8b3);}catch(_0x2e3d70){return console[_0x4e6e36(0x216)](_0x2e3d70),!0x1;}return!0x0;}[_0x4b0fcc(0x201)](_0x54a653,_0xa64d73=!0x1){const _0x34e626=_0x4b0fcc;this[_0x34e626(0x1c6)][_0x34e626(0x263)][_0x34e626(0x217)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3ff30c=>{const _0x39912c=_0x34e626;for(const _0x47412b of _0x54a653)this[_0x39912c(0x1f1)][_0x39912c(0x193)](_0x47412b),this[_0x39912c(0x255)](_0x47412b),_0x3ff30c[_0x39912c(0x1f4)][_0x39912c(0x1fa)](_0x47412b),this[_0x39912c(0x1c6)][_0x39912c(0x263)][_0x39912c(0x249)](_0x47412b);});}[_0x4b0fcc(0x255)](_0xe07bb2){const _0xe3fbac=_0x4b0fcc,_0x54838e=this[_0xe3fbac(0x27f)](_0xe07bb2);_0x54838e&&this[_0xe3fbac(0x1e5)][_0xe3fbac(0x193)](_0x54838e);}[_0x4b0fcc(0x27f)](_0x480ef9){const _0x1d7c49=_0x4b0fcc;let _0xa98ae3,_0x49effb;switch(_0x480ef9[_0x1d7c49(0x195)]){case _0x1d7c49(0x24e):_0xa98ae3=_0x480ef9[_0x1d7c49(0x1c1)][_0x1d7c49(0x21e)];break;case _0x1d7c49(0x256):if(_0x49effb=_0x480ef9[_0x1d7c49(0x1af)],!_0x49effb)return null;_0xa98ae3=_0x49effb[_0x1d7c49(0x21e)];break;case _0x1d7c49(0x1a1):_0xa98ae3=_0x480ef9[_0x1d7c49(0x21e)];break;case _0x1d7c49(0x1d8):_0xa98ae3=_0x480ef9[_0x1d7c49(0x252)];break;case _0x1d7c49(0x233):_0xa98ae3=_0x480ef9[_0x1d7c49(0x23c)][_0x1d7c49(0x21e)];break;default:return null;}return _0xa98ae3[_0x1d7c49(0x28e)];}[_0x4b0fcc(0x288)](_0x4ffa15){const _0x443b88=_0x4b0fcc;_0x4ffa15[_0x443b88(0x276)](_0x2d67fa=>{const _0x3669ae=_0x443b88,_0x3cf98e=_0x2d67fa[_0x3669ae(0x1ca)]();_0x3cf98e[_0x3669ae(0x202)]=_0x2d67fa[_0x3669ae(0x202)],_0x3cf98e[_0x3669ae(0x259)]=!!_0x2d67fa[_0x3669ae(0x259)],_0x3cf98e[_0x3669ae(0x1d3)]=_0x2d67fa[_0x3669ae(0x1d3)],_0x3cf98e[_0x3669ae(0x281)]+=this[_0x3669ae(0x25e)],_0x2d67fa[_0x3669ae(0x27b)]&&this[_0x3669ae(0x1be)][_0x3669ae(0x193)](_0x3cf98e),this[_0x3669ae(0x20a)][_0x3669ae(0x1fa)](_0x3cf98e);});}[_0x4b0fcc(0x1f9)](_0xff216b){const _0x28e019=_0x4b0fcc,_0x5cb09e=this[_0x28e019(0x1c6)][_0x28e019(0x22d)][_0x28e019(0x1df)](_0x28e019(0x25d)),_0x415b93=this[_0x28e019(0x1c6)][_0x28e019(0x260)];_0xff216b||(_0xff216b=_0x806e7d(_0x415b93,_0x28e019(0x25f))),_0x5cb09e[_0x28e019(0x196)](_0xff216b,{'title':_0x806e7d(_0x415b93,_0x28e019(0x200)),'namespace':_0x28e019(0x243)}),this[_0x28e019(0x261)]=!0x0,clearTimeout(this[_0x28e019(0x231)]),this[_0x28e019(0x219)]=[],this[_0x28e019(0x1c6)][_0x28e019(0x22d)][_0x28e019(0x1df)](_0x340236)[_0x28e019(0x1b2)]();}[_0x4b0fcc(0x18f)](){const _0x4e62db=_0x4b0fcc;this[_0x4e62db(0x26a)]||(this[_0x4e62db(0x26a)]=this[_0x4e62db(0x1c6)][_0x4e62db(0x22d)][_0x4e62db(0x1df)](_0x2e2f84)[_0x4e62db(0x193)](_0x806e7d(this[_0x4e62db(0x1c6)][_0x4e62db(0x260)],_0x4e62db(0x28a))));}[_0x4b0fcc(0x212)](){const _0x5553c7=_0x4b0fcc;this[_0x5553c7(0x26a)]&&(this[_0x5553c7(0x1c6)][_0x5553c7(0x22d)][_0x5553c7(0x1df)](_0x2e2f84)[_0x5553c7(0x19d)](this[_0x5553c7(0x26a)]),this[_0x5553c7(0x26a)]=null);}[_0x4b0fcc(0x268)](_0x367d8f){const _0x3f9e59=_0x4b0fcc,_0x4a0228=_0x367d8f[_0x3f9e59(0x1b9)](_0x26d0db=>_0x26d0db[_0x3f9e59(0x248)]());return this[_0x3f9e59(0x265)][_0x3f9e59(0x214)](_0x4a0228);}[_0x4b0fcc(0x229)](_0x5b7406,_0x228701){const _0x4dfc1c=_0x4b0fcc;return this[_0x4dfc1c(0x265)][_0x4dfc1c(0x253)](_0x5b7406)[_0x4dfc1c(0x1b9)]((_0x39a3e8,_0x30398a)=>{const _0x56e5d5=_0x4dfc1c,_0x52b8cb=_0x56e5d5(0x284)==_0x228701[_0x30398a][_0x56e5d5(0x195)];if(_0x56e5d5(0x199)==_0x39a3e8[_0x56e5d5(0x1d0)]){const _0x10502d=_0x39a3e8[_0x56e5d5(0x1c1)][_0x56e5d5(0x21e)];!this[_0x56e5d5(0x1bc)][_0x56e5d5(0x24a)](_0x10502d)&&(this[_0x56e5d5(0x1bc)][_0x56e5d5(0x205)](_0x56e5d5(0x203),_0x10502d)[_0x56e5d5(0x1a7)]=!0x1);}const _0x56dd55=_0x325a32[_0x56e5d5(0x21d)](_0x39a3e8,this[_0x56e5d5(0x1bc)]);return _0x56dd55[_0x56e5d5(0x20e)]=_0x39a3e8[_0x56e5d5(0x20e)],_0x56dd55[_0x56e5d5(0x259)]=_0x52b8cb,_0x56dd55[_0x56e5d5(0x202)]=_0x52b8cb?null:_0x228701[_0x30398a][_0x56e5d5(0x1d1)],_0x56dd55[_0x56e5d5(0x27b)]=_0x56e5d5(0x1b0)===_0x228701[_0x30398a][_0x56e5d5(0x195)],_0x56dd55[_0x56e5d5(0x1d3)]=_0x228701[_0x30398a][_0x56e5d5(0x1d3)],_0x56dd55;});}[_0x4b0fcc(0x26e)](){const _0x23b343=_0x4b0fcc;this[_0x23b343(0x269)]=!0x0,this[_0x23b343(0x25a)]()?this[_0x23b343(0x1f2)]():this[_0x23b343(0x269)]=!0x1;}[_0x4b0fcc(0x25a)](){const _0x5ad4a1=_0x4b0fcc,_0x48cbe0=this[_0x5ad4a1(0x1c6)][_0x5ad4a1(0x22d)][_0x5ad4a1(0x1df)](_0x3aebd6)[_0x5ad4a1(0x278)][_0x5ad4a1(0x1df)](this[_0x5ad4a1(0x1a3)]);return!this[_0x5ad4a1(0x1c6)][_0x5ad4a1(0x279)]&&!!_0x48cbe0&&_0x48cbe0[_0x5ad4a1(0x227)]>0x1&&this[_0x5ad4a1(0x269)];}[_0x4b0fcc(0x1da)](){const _0x4d6b62=_0x4b0fcc;return this[_0x4d6b62(0x219)][_0x4d6b62(0x227)]>0x0||this[_0x4d6b62(0x25a)]();}}class X extends Error{}function Y(_0x3ade88,_0x4e3081){const _0x37fa58=_0x4b0fcc;for(const _0x2aab32 of _0x3ade88)_0x2aab32[_0x37fa58(0x281)]=_0x4e3081++;}class Z{[_0x4b0fcc(0x1f3)];[_0x4b0fcc(0x1b5)];constructor(_0x57c792){const _0x22837c=_0x4b0fcc;this[_0x22837c(0x1f3)]=_0x57c792,this[_0x22837c(0x1b5)]=new WeakMap();}[_0x4b0fcc(0x28f)](_0x2d5ef2){const _0x597d55=_0x4b0fcc;let _0x3eba35=_0x2d5ef2[_0x597d55(0x227)];for(;_0x3eba35--;){const _0x54b611=_0x2d5ef2[_0x3eba35];if(!this[_0x597d55(0x1f3)][_0x597d55(0x21a)](_0x54b611)){if(!this[_0x597d55(0x1b5)][_0x597d55(0x21a)](_0x54b611)){const _0x5afe94=_0x1a4f9a()[_0x597d55(0x21b)](0x1,0x12);this[_0x597d55(0x1b5)][_0x597d55(0x266)](_0x54b611,_0x5afe94);}return this[_0x597d55(0x1b5)][_0x597d55(0x1df)](_0x54b611);}}}[_0x4b0fcc(0x28c)](_0x73fe26,_0x59c60c){const _0x3638f0=_0x4b0fcc;if(!_0x59c60c)return;let _0x20a9f6=_0x73fe26[_0x3638f0(0x227)];for(;_0x20a9f6--;){const _0x510f98=_0x73fe26[_0x20a9f6];this[_0x3638f0(0x1f3)][_0x3638f0(0x21a)](_0x510f98)||this[_0x3638f0(0x1b5)][_0x3638f0(0x266)](_0x510f98,_0x59c60c);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47ccfb=_0x32a1;(function(_0x19f4c9,_0xfcbc20){const _0x36fb1c=_0x32a1,_0x4a529c=_0x19f4c9();while(!![]){try{const _0x55f45b=parseInt(_0x36fb1c(0xc3))/0x1*(-parseInt(_0x36fb1c(0xb1))/0x2)+-parseInt(_0x36fb1c(0xdd))/0x3*(parseInt(_0x36fb1c(0xbb))/0x4)+parseInt(_0x36fb1c(0xd6))/0x5+parseInt(_0x36fb1c(0xbd))/0x6*(parseInt(_0x36fb1c(0xc7))/0x7)+parseInt(_0x36fb1c(0xd9))/0x8+-parseInt(_0x36fb1c(0xe7))/0x9+parseInt(_0x36fb1c(0xe8))/0xa;if(_0x55f45b===_0xfcbc20)break;else _0x4a529c['push'](_0x4a529c['shift']());}catch(_0x4302ca){_0x4a529c['push'](_0x4a529c['shift']());}}}(_0xd08f,0x962d6));function _0x32a1(_0x462d5d,_0x54a230){const _0xd08fb6=_0xd08f();return _0x32a1=function(_0x32a160,_0x416385){_0x32a160=_0x32a160-0xaf;let _0x27907d=_0xd08fb6[_0x32a160];return _0x27907d;},_0x32a1(_0x462d5d,_0x54a230);}function _0xd08f(){const _0x51d096=['178074hrCrVM','isOfficialPlugin','register','values','assign','getUserBySessionId','_handleSessionAdd','requires','plugins','_handleSessionRemove','4rnIohe','channelSessions','48204yAJlqu','has','state','_users','connection','stopListening','3YwjftU','fire','_uniqueUsersCount','role','357IoBlQA','sessions-register-already-registered','sessionId','listenTo','remove','add','getUser','allConnectedUsers','_createUser','mySessionId','connected','init','_registeredSessions','isPremiumPlugin','getUserRole','3642570eoqmhq','defineMe','delete','1316736Ciwbqo','unregister','hiddenInPresenceList','get','2530086JzOBpI','sessionAdd:','context','Sessions','user','channelConnectedUsers','clear','getUserSessions','orderNumber','sessions-unregister-not-exist','8841753MyILFX','14051760eQBkHH','set','isMe','pluginName','change:state','size','forEach','addUser'];_0xd08f=function(){return _0x51d096;};return _0xd08f();}import{ContextPlugin as _0x52d865}from'ckeditor5/src/core.js';import{Collection as _0x3fc3d5,CKEditorError as _0x10780c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x241d94}from'./websocketgateway.js';import{Users as _0x206323}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x52d865{[_0x47ccfb(0xbc)];[_0x47ccfb(0xe2)];[_0x47ccfb(0xce)];[_0x47ccfb(0xd3)];[_0x47ccfb(0xc5)];[_0x47ccfb(0xc0)];static get[_0x47ccfb(0xeb)](){const _0x4e5375=_0x47ccfb;return _0x4e5375(0xe0);}static get[_0x47ccfb(0xb2)](){return!0x0;}static get[_0x47ccfb(0xd4)](){return!0x0;}static get[_0x47ccfb(0xb8)](){return[_0x241d94,_0x206323];}constructor(_0x2bf1dc){const _0x4ab8e7=_0x47ccfb;super(_0x2bf1dc),this[_0x4ab8e7(0xbc)]=new Map(),this[_0x4ab8e7(0xe2)]=new Map(),this[_0x4ab8e7(0xce)]=new _0x3fc3d5(),this[_0x4ab8e7(0xd3)]=new Map(),this[_0x4ab8e7(0xc5)]=0x0,this[_0x4ab8e7(0xc0)]=this[_0x4ab8e7(0xdf)][_0x4ab8e7(0xb9)][_0x4ab8e7(0xdc)](_0x206323);}[_0x47ccfb(0xd2)](){const _0xbc349d=_0x47ccfb,_0x1a77d5=this[_0xbc349d(0xdf)][_0xbc349d(0xb9)][_0xbc349d(0xdc)](_0x241d94);this[_0xbc349d(0xca)](_0x1a77d5,_0xbc349d(0xec),(_0x1e04e4,_0x18055c,_0x14387e)=>{const _0x19e67a=_0xbc349d;if(_0x19e67a(0xd1)!==_0x14387e)this[_0x19e67a(0xbc)][_0x19e67a(0xaf)](_0x35b93b=>_0x35b93b[_0x19e67a(0xe3)]()),this[_0x19e67a(0xe2)][_0x19e67a(0xaf)](_0x16e5ae=>_0x16e5ae[_0x19e67a(0xe3)]()),this[_0x19e67a(0xce)][_0x19e67a(0xe3)]();else{for(const [_0x32a8c9,_0x10243e]of this[_0x19e67a(0xd3)])for(const _0x33d9b7 of _0x10243e)this[_0x19e67a(0xb7)](_0x32a8c9,_0x33d9b7);}}),this[_0xbc349d(0xcf)](_0x1a77d5[_0xbc349d(0xc1)]['me'],!0x0);}[_0x47ccfb(0xb3)](_0x534af3,_0x350a67){const _0x42b44d=_0x47ccfb;if(this[_0x42b44d(0xd3)][_0x42b44d(0xbe)](_0x534af3))throw new _0x10780c(_0x42b44d(0xc8),null,{'channelId':_0x534af3});this[_0x42b44d(0xd3)][_0x42b44d(0xe9)](_0x534af3,_0x350a67),this[_0x42b44d(0xbc)][_0x42b44d(0xe9)](_0x534af3,new _0x3fc3d5()),this[_0x42b44d(0xe2)][_0x42b44d(0xe9)](_0x534af3,new _0x3fc3d5()),this[_0x42b44d(0xca)](_0x350a67,_0x42b44d(0xcc),(_0x58a1e1,_0x539bf3)=>this[_0x42b44d(0xb7)](_0x534af3,_0x539bf3)),this[_0x42b44d(0xca)](_0x350a67,_0x42b44d(0xcb),(_0x40ea53,_0x32ba6c)=>this[_0x42b44d(0xba)](_0x534af3,_0x32ba6c));for(const _0x26f263 of _0x350a67)this[_0x42b44d(0xb7)](_0x534af3,_0x26f263);}[_0x47ccfb(0xda)](_0x3065d4){const _0x44ac4f=_0x47ccfb;if(!this[_0x44ac4f(0xd3)][_0x44ac4f(0xbe)](_0x3065d4))throw new _0x10780c(_0x44ac4f(0xe6),null,{'channelId':_0x3065d4});const _0x1652d8=this[_0x44ac4f(0xd3)][_0x44ac4f(0xdc)](_0x3065d4);this[_0x44ac4f(0xc2)](_0x1652d8);for(const _0x352922 of _0x1652d8)_0x44ac4f(0xd1)===this[_0x44ac4f(0xdf)][_0x44ac4f(0xb9)][_0x44ac4f(0xdc)](_0x241d94)[_0x44ac4f(0xbf)]&&this[_0x44ac4f(0xba)](_0x3065d4,_0x352922);this[_0x44ac4f(0xd3)][_0x44ac4f(0xd8)](_0x3065d4),this[_0x44ac4f(0xbc)][_0x44ac4f(0xd8)](_0x3065d4),this[_0x44ac4f(0xe2)][_0x44ac4f(0xd8)](_0x3065d4);}get[_0x47ccfb(0xd0)](){const _0x4f354f=_0x47ccfb;return this[_0x4f354f(0xdf)][_0x4f354f(0xb9)][_0x4f354f(0xdc)](_0x241d94)[_0x4f354f(0xc1)][_0x4f354f(0xc9)];}[_0x47ccfb(0xb6)](_0x849678){const _0x202d04=_0x47ccfb;for(const _0x18333f of this[_0x202d04(0xbc)][_0x202d04(0xb4)]())for(const _0x5b3cba of _0x18333f)if(_0x5b3cba['id']===_0x849678)return _0x5b3cba[_0x202d04(0xe1)];}[_0x47ccfb(0xe4)](_0x378ea5,_0x49471a){const _0x38819b=_0x47ccfb,_0x5ef794=_0x49471a?[this[_0x38819b(0xbc)][_0x38819b(0xdc)](_0x49471a)]:this[_0x38819b(0xbc)][_0x38819b(0xb4)](),_0xb131b3=new Set();for(const _0x197055 of _0x5ef794)for(const _0x3a32b1 of _0x197055)_0x3a32b1[_0x38819b(0xe1)]['id']===_0x378ea5['id']&&_0xb131b3[_0x38819b(0xcc)](_0x3a32b1['id']);return _0xb131b3;}[_0x47ccfb(0xd5)](_0x4c7c1b){const _0x303c57=_0x47ccfb;for(const _0x5a750f of this[_0x303c57(0xbc)][_0x303c57(0xb4)]())for(const _0x40372c of _0x5a750f)if(_0x40372c[_0x303c57(0xe1)]===_0x4c7c1b)return _0x40372c[_0x303c57(0xc6)];}[_0x47ccfb(0xb7)](_0x3cb8b9,_0x1fbdd2){const _0x41f463=_0x47ccfb;if(_0x41f463(0xd1)!==this[_0x41f463(0xdf)][_0x41f463(0xb9)][_0x41f463(0xdc)](_0x241d94)[_0x41f463(0xbf)])return;const _0xbdeda3=_0x1fbdd2[_0x41f463(0xe1)],_0x252a6f=this[_0x41f463(0xc0)][_0x41f463(0xcd)](_0xbdeda3['id'])||this[_0x41f463(0xcf)](_0xbdeda3),_0x35f0b9=Object[_0x41f463(0xb5)]({},_0x1fbdd2,{'user':_0x252a6f});if(this[_0x41f463(0xbc)][_0x41f463(0xdc)](_0x3cb8b9)[_0x41f463(0xcc)](_0x35f0b9),!_0xbdeda3[_0x41f463(0xdb)]){const _0x1e2272=this[_0x41f463(0xe2)][_0x41f463(0xdc)](_0x3cb8b9);_0x1e2272[_0x41f463(0xbe)](_0x252a6f['id'])||_0x1e2272[_0x41f463(0xcc)](_0x252a6f),this[_0x41f463(0xce)][_0x41f463(0xbe)](_0x252a6f['id'])||_0xbdeda3[_0x41f463(0xdb)]||this[_0x41f463(0xce)][_0x41f463(0xcc)](_0x252a6f,_0x252a6f[_0x41f463(0xea)]?0x0:void 0x0);}this[_0x41f463(0xc4)](_0x41f463(0xde)+_0x3cb8b9,{'channelId':_0x3cb8b9,'session':_0x35f0b9});}[_0x47ccfb(0xba)](_0x506dca,_0x2a5ad0){const _0x2aacc1=_0x47ccfb;if(_0x2aacc1(0xd1)!==this[_0x2aacc1(0xdf)][_0x2aacc1(0xb9)][_0x2aacc1(0xdc)](_0x241d94)[_0x2aacc1(0xbf)])return;const _0x9ad453=this[_0x2aacc1(0xe2)][_0x2aacc1(0xdc)](_0x506dca),_0x3dcaf4=_0x2a5ad0[_0x2aacc1(0xe1)];_0x3dcaf4['id']&&(this[_0x2aacc1(0xbc)][_0x2aacc1(0xdc)](_0x506dca)[_0x2aacc1(0xcb)](_0x2a5ad0['id']),_0x9ad453[_0x2aacc1(0xbe)](_0x3dcaf4['id'])&&!this[_0x2aacc1(0xe4)](_0x3dcaf4,_0x506dca)[_0x2aacc1(0xed)]&&_0x9ad453[_0x2aacc1(0xcb)](_0x3dcaf4['id']),this[_0x2aacc1(0xce)][_0x2aacc1(0xdc)](_0x3dcaf4['id'])&&!this[_0x2aacc1(0xe4)](_0x3dcaf4)[_0x2aacc1(0xed)]&&this[_0x2aacc1(0xce)][_0x2aacc1(0xcb)](_0x3dcaf4['id']));}[_0x47ccfb(0xcf)](_0x39f20b,_0xb3e5f2){const _0x5bf353=_0x47ccfb,_0x3bd552=this[_0x5bf353(0xc0)][_0x5bf353(0xb0)](_0x39f20b);return _0xb3e5f2&&this[_0x5bf353(0xc0)][_0x5bf353(0xd7)](_0x39f20b['id']),_0x3bd552[_0x5bf353(0xe5)]=this[_0x5bf353(0xc5)]++,_0x3bd552;}}
23
+ const _0xa3c67f=_0x783f;(function(_0x54bde0,_0x38e0e7){const _0x28cdbd=_0x783f,_0x434d33=_0x54bde0();while(!![]){try{const _0x51ed33=parseInt(_0x28cdbd(0xee))/0x1+-parseInt(_0x28cdbd(0x119))/0x2*(-parseInt(_0x28cdbd(0xfb))/0x3)+-parseInt(_0x28cdbd(0xfe))/0x4+-parseInt(_0x28cdbd(0xf1))/0x5+-parseInt(_0x28cdbd(0xfc))/0x6+-parseInt(_0x28cdbd(0x105))/0x7+parseInt(_0x28cdbd(0xeb))/0x8;if(_0x51ed33===_0x38e0e7)break;else _0x434d33['push'](_0x434d33['shift']());}catch(_0x3eecb3){_0x434d33['push'](_0x434d33['shift']());}}}(_0x164a,0xd812a));function _0x164a(){const _0x4d42e3=['connection','size','plugins','_handleSessionRemove','_registeredSessions','hiddenInPresenceList','user','role','getUser','isOfficialPlugin','316OMdCOI','has','allConnectedUsers','_createUser','channelSessions','connected','orderNumber','defineMe','clear','getUserRole','addUser','remove','sessionId','getUserBySessionId','channelConnectedUsers','16315392TJzuOI','pluginName','set','1089310EuzQkT','requires','register','8187585rRZsiX','_users','assign','isMe','change:state','mySessionId','values','context','add','get','14151PfYEWn','4247994meldNx','getUserSessions','975668EMOonn','Sessions','isPremiumPlugin','sessionAdd:','stopListening','sessions-register-already-registered','init','2796871CstTvv','delete','fire','listenTo','forEach','state','_handleSessionAdd','unregister','_uniqueUsersCount','sessions-unregister-not-exist'];_0x164a=function(){return _0x4d42e3;};return _0x164a();}function _0x783f(_0x3ccdca,_0xd341f4){const _0x164a75=_0x164a();return _0x783f=function(_0x783f1,_0x5883c0){_0x783f1=_0x783f1-0xde;let _0x3abb83=_0x164a75[_0x783f1];return _0x3abb83;},_0x783f(_0x3ccdca,_0xd341f4);}import{ContextPlugin as _0x43de5c}from'ckeditor5/src/core.js';import{Collection as _0xe9ab4a,CKEditorError as _0x94944}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x47b7a8}from'./websocketgateway.js';import{Users as _0x4f954a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x43de5c{[_0xa3c67f(0xe0)];[_0xa3c67f(0xea)];[_0xa3c67f(0xde)];[_0xa3c67f(0x113)];[_0xa3c67f(0x10d)];[_0xa3c67f(0xf2)];static get[_0xa3c67f(0xec)](){const _0x2ac292=_0xa3c67f;return _0x2ac292(0xff);}static get[_0xa3c67f(0x118)](){return!0x0;}static get[_0xa3c67f(0x100)](){return!0x0;}static get[_0xa3c67f(0xef)](){return[_0x47b7a8,_0x4f954a];}constructor(_0x555c35){const _0x447fe3=_0xa3c67f;super(_0x555c35),this[_0x447fe3(0xe0)]=new Map(),this[_0x447fe3(0xea)]=new Map(),this[_0x447fe3(0xde)]=new _0xe9ab4a(),this[_0x447fe3(0x113)]=new Map(),this[_0x447fe3(0x10d)]=0x0,this[_0x447fe3(0xf2)]=this[_0x447fe3(0xf8)][_0x447fe3(0x111)][_0x447fe3(0xfa)](_0x4f954a);}[_0xa3c67f(0x104)](){const _0x4571c2=_0xa3c67f,_0x44a0f6=this[_0x4571c2(0xf8)][_0x4571c2(0x111)][_0x4571c2(0xfa)](_0x47b7a8);this[_0x4571c2(0x108)](_0x44a0f6,_0x4571c2(0xf5),(_0x4ff3e4,_0x2a64bb,_0x50d429)=>{const _0x1bb608=_0x4571c2;if(_0x1bb608(0xe1)!==_0x50d429)this[_0x1bb608(0xe0)][_0x1bb608(0x109)](_0x2eca13=>_0x2eca13[_0x1bb608(0xe4)]()),this[_0x1bb608(0xea)][_0x1bb608(0x109)](_0x539a26=>_0x539a26[_0x1bb608(0xe4)]()),this[_0x1bb608(0xde)][_0x1bb608(0xe4)]();else{for(const [_0x25c4db,_0x373b47]of this[_0x1bb608(0x113)])for(const _0x5c89c8 of _0x373b47)this[_0x1bb608(0x10b)](_0x25c4db,_0x5c89c8);}}),this[_0x4571c2(0xdf)](_0x44a0f6[_0x4571c2(0x10f)]['me'],!0x0);}[_0xa3c67f(0xf0)](_0x52fab1,_0xa6757e){const _0x3fe41c=_0xa3c67f;if(this[_0x3fe41c(0x113)][_0x3fe41c(0x11a)](_0x52fab1))throw new _0x94944(_0x3fe41c(0x103),null,{'channelId':_0x52fab1});this[_0x3fe41c(0x113)][_0x3fe41c(0xed)](_0x52fab1,_0xa6757e),this[_0x3fe41c(0xe0)][_0x3fe41c(0xed)](_0x52fab1,new _0xe9ab4a()),this[_0x3fe41c(0xea)][_0x3fe41c(0xed)](_0x52fab1,new _0xe9ab4a()),this[_0x3fe41c(0x108)](_0xa6757e,_0x3fe41c(0xf9),(_0x35d97d,_0x384cd6)=>this[_0x3fe41c(0x10b)](_0x52fab1,_0x384cd6)),this[_0x3fe41c(0x108)](_0xa6757e,_0x3fe41c(0xe7),(_0x20467f,_0x1a7184)=>this[_0x3fe41c(0x112)](_0x52fab1,_0x1a7184));for(const _0x30467f of _0xa6757e)this[_0x3fe41c(0x10b)](_0x52fab1,_0x30467f);}[_0xa3c67f(0x10c)](_0x53a48f){const _0x4e7123=_0xa3c67f;if(!this[_0x4e7123(0x113)][_0x4e7123(0x11a)](_0x53a48f))throw new _0x94944(_0x4e7123(0x10e),null,{'channelId':_0x53a48f});const _0x2d8e30=this[_0x4e7123(0x113)][_0x4e7123(0xfa)](_0x53a48f);this[_0x4e7123(0x102)](_0x2d8e30);for(const _0x39f954 of _0x2d8e30)_0x4e7123(0xe1)===this[_0x4e7123(0xf8)][_0x4e7123(0x111)][_0x4e7123(0xfa)](_0x47b7a8)[_0x4e7123(0x10a)]&&this[_0x4e7123(0x112)](_0x53a48f,_0x39f954);this[_0x4e7123(0x113)][_0x4e7123(0x106)](_0x53a48f),this[_0x4e7123(0xe0)][_0x4e7123(0x106)](_0x53a48f),this[_0x4e7123(0xea)][_0x4e7123(0x106)](_0x53a48f);}get[_0xa3c67f(0xf6)](){const _0x123b16=_0xa3c67f;return this[_0x123b16(0xf8)][_0x123b16(0x111)][_0x123b16(0xfa)](_0x47b7a8)[_0x123b16(0x10f)][_0x123b16(0xe8)];}[_0xa3c67f(0xe9)](_0x283faa){const _0x263557=_0xa3c67f;for(const _0x2b7191 of this[_0x263557(0xe0)][_0x263557(0xf7)]())for(const _0x3d9601 of _0x2b7191)if(_0x3d9601['id']===_0x283faa)return _0x3d9601[_0x263557(0x115)];}[_0xa3c67f(0xfd)](_0xca2996,_0x47025c){const _0x483af1=_0xa3c67f,_0x2d1dbe=_0x47025c?[this[_0x483af1(0xe0)][_0x483af1(0xfa)](_0x47025c)]:this[_0x483af1(0xe0)][_0x483af1(0xf7)](),_0x426c3e=new Set();for(const _0x144fb5 of _0x2d1dbe)for(const _0x1591e9 of _0x144fb5)_0x1591e9[_0x483af1(0x115)]['id']===_0xca2996['id']&&_0x426c3e[_0x483af1(0xf9)](_0x1591e9['id']);return _0x426c3e;}[_0xa3c67f(0xe5)](_0x1a6608){const _0x449a13=_0xa3c67f;for(const _0x40e587 of this[_0x449a13(0xe0)][_0x449a13(0xf7)]())for(const _0x3f1462 of _0x40e587)if(_0x3f1462[_0x449a13(0x115)]===_0x1a6608)return _0x3f1462[_0x449a13(0x116)];}[_0xa3c67f(0x10b)](_0x1cfd81,_0x51c562){const _0x3c1f42=_0xa3c67f;if(_0x3c1f42(0xe1)!==this[_0x3c1f42(0xf8)][_0x3c1f42(0x111)][_0x3c1f42(0xfa)](_0x47b7a8)[_0x3c1f42(0x10a)])return;const _0x4d1834=_0x51c562[_0x3c1f42(0x115)],_0x4eac27=this[_0x3c1f42(0xf2)][_0x3c1f42(0x117)](_0x4d1834['id'])||this[_0x3c1f42(0xdf)](_0x4d1834),_0x2e67c3=Object[_0x3c1f42(0xf3)]({},_0x51c562,{'user':_0x4eac27});if(this[_0x3c1f42(0xe0)][_0x3c1f42(0xfa)](_0x1cfd81)[_0x3c1f42(0xf9)](_0x2e67c3),!_0x4d1834[_0x3c1f42(0x114)]){const _0x3e6904=this[_0x3c1f42(0xea)][_0x3c1f42(0xfa)](_0x1cfd81);_0x3e6904[_0x3c1f42(0x11a)](_0x4eac27['id'])||_0x3e6904[_0x3c1f42(0xf9)](_0x4eac27),this[_0x3c1f42(0xde)][_0x3c1f42(0x11a)](_0x4eac27['id'])||_0x4d1834[_0x3c1f42(0x114)]||this[_0x3c1f42(0xde)][_0x3c1f42(0xf9)](_0x4eac27,_0x4eac27[_0x3c1f42(0xf4)]?0x0:void 0x0);}this[_0x3c1f42(0x107)](_0x3c1f42(0x101)+_0x1cfd81,{'channelId':_0x1cfd81,'session':_0x2e67c3});}[_0xa3c67f(0x112)](_0x59f11d,_0x33dee1){const _0x28025b=_0xa3c67f;if(_0x28025b(0xe1)!==this[_0x28025b(0xf8)][_0x28025b(0x111)][_0x28025b(0xfa)](_0x47b7a8)[_0x28025b(0x10a)])return;const _0x5ad1fa=this[_0x28025b(0xea)][_0x28025b(0xfa)](_0x59f11d),_0x332eae=_0x33dee1[_0x28025b(0x115)];_0x332eae['id']&&(this[_0x28025b(0xe0)][_0x28025b(0xfa)](_0x59f11d)[_0x28025b(0xe7)](_0x33dee1['id']),_0x5ad1fa[_0x28025b(0x11a)](_0x332eae['id'])&&!this[_0x28025b(0xfd)](_0x332eae,_0x59f11d)[_0x28025b(0x110)]&&_0x5ad1fa[_0x28025b(0xe7)](_0x332eae['id']),this[_0x28025b(0xde)][_0x28025b(0xfa)](_0x332eae['id'])&&!this[_0x28025b(0xfd)](_0x332eae)[_0x28025b(0x110)]&&this[_0x28025b(0xde)][_0x28025b(0xe7)](_0x332eae['id']));}[_0xa3c67f(0xdf)](_0x5b36dd,_0xc48c7f){const _0xd73af1=_0xa3c67f,_0x57d948=this[_0xd73af1(0xf2)][_0xd73af1(0xe6)](_0x5b36dd);return _0xc48c7f&&this[_0xd73af1(0xf2)][_0xd73af1(0xe3)](_0x5b36dd['id']),_0x57d948[_0xd73af1(0xe2)]=this[_0xd73af1(0x10d)]++,_0x57d948;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x530e04=_0x4846;(function(_0x641af8,_0x269345){const _0x56a15c=_0x4846,_0x41a890=_0x641af8();while(!![]){try{const _0x5256fa=-parseInt(_0x56a15c(0x1ae))/0x1+-parseInt(_0x56a15c(0x1b3))/0x2*(-parseInt(_0x56a15c(0x1c3))/0x3)+parseInt(_0x56a15c(0x1a2))/0x4+-parseInt(_0x56a15c(0x179))/0x5*(-parseInt(_0x56a15c(0x1db))/0x6)+-parseInt(_0x56a15c(0x1b8))/0x7*(parseInt(_0x56a15c(0x1c2))/0x8)+-parseInt(_0x56a15c(0x182))/0x9*(parseInt(_0x56a15c(0x192))/0xa)+parseInt(_0x56a15c(0x1e4))/0xb;if(_0x5256fa===_0x269345)break;else _0x41a890['push'](_0x41a890['shift']());}catch(_0x1d05ca){_0x41a890['push'](_0x41a890['shift']());}}}(_0x298b,0xc1d15));function _0x298b(){const _0x52cb33=['name','fromRange','has','data-session-id','stopListening','_createdBatches','createElement','clear','oldRange','getSelectionClass','setCustomProperty','getRange','orderNumber','isObject','$graveyard','applyOperation','$text','add','updateMarker','false','ck-user__marker\x20','createRange','user:','contenteditable','highest','textContent','getPositions','markerRange','10dKjYqA','mouseleave','UserMarkers','schema','afterInit','undo','isSimilar','requires','getAttribute','9414szgjwp','checkChild','outerHTML','addEventListener','conversion','model','getUserBySessionId','user:position','isInline','end','editor','detach','split','setAttribute','element','user:range:','350wlniZJ','nodeAfter','getStart','keydown','ck-user__selection','render','startsWith','markerToHighlight','start','getMarkerClass','getContainedElement','size','editing','get','isLimit','getNearestSelectionRange','4231672efDmNo','pluginName','color','userPositionMarker','classList','ck-user__marker-tooltip','getFirstRange','createUserMarkerOperations','update:user:range','document','delete','change:range','1527760zVtRSK','toRange','markerName','isPremiumPlugin','ck-user__marker_hovered','358rvykkK','mapper','batch','root','tableCell','371prWjdy','rootName','destroy','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','remove','commands','selection','createUIElement','marker','newRange','100360zrCYWC','3360sDNeqz','Escape','user:position:','span','init','innerHTML','spellcheck','deletionPosition','markerNameToElements','getCustomProperty','user:range','hasDomSelection','parent','view','type','markers','toDomElement','editingDowncast','markerToElement','hasContent','removeClass','reconvertMarker','enqueueChange','mouseenter','4234722LKjZJg','change','set','plugins','addMarker','_domEmitter','listenTo','mySessionId','isCollapsed','3884760lLrzhz','isOfficialPlugin','for','removeMarker','isDocumentOperation'];_0x298b=function(){return _0x52cb33;};return _0x298b();}import{Plugin as _0x3bca7e}from'ckeditor5/src/core.js';import{global as _0x19a0ff,DomEmitterMixin as _0x5eb613}from'ckeditor5/src/utils.js';import{Sessions as _0x1b6157}from'./sessions.js';import{ModelLiveRange as _0x4e34ce}from'ckeditor5/src/engine.js';function _0x4846(_0xec0c4d,_0x3db0c6){const _0x298b5a=_0x298b();return _0x4846=function(_0x484602,_0x1eace4){_0x484602=_0x484602-0x164;let _0x1d0bf3=_0x298b5a[_0x484602];return _0x1d0bf3;},_0x4846(_0xec0c4d,_0x3db0c6);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x3bca7e{[_0x530e04(0x1e0)]=new(_0x5eb613())();static get[_0x530e04(0x180)](){return[_0x1b6157];}static get[_0x530e04(0x1a3)](){const _0x5d21b8=_0x530e04;return _0x5d21b8(0x17b);}static get[_0x530e04(0x1e5)](){return!0x0;}static get[_0x530e04(0x1b1)](){return!0x0;}[_0x530e04(0x1c7)](){const _0x5f40bd=_0x530e04,_0x28c363=this[_0x5f40bd(0x18c)],_0x1cf905=_0x28c363[_0x5f40bd(0x1de)][_0x5f40bd(0x19f)](_0x1b6157);_0x28c363[_0x5f40bd(0x186)][_0x5f40bd(0x1e6)](_0x5f40bd(0x1d4))[_0x5f40bd(0x1d5)]({'model':_0x5f40bd(0x189),'view':(_0x53eb1a,{writer:_0x4054d4})=>function(_0x50db73,_0x265a2d,_0x335257,_0x2d9eee){const _0x270e43=_0x5f40bd,_0xedaea0=_0x50db73[_0x270e43(0x1b0)][_0x270e43(0x18e)](':')[0x2],_0x4f4dd3=_0x335257[_0x270e43(0x188)](_0xedaea0);if(!_0x4f4dd3||_0xedaea0===_0x335257[_0x270e43(0x1e2)])return;if(!_0x2d9eee[_0x270e43(0x187)][_0x270e43(0x17c)][_0x270e43(0x183)](_0x50db73[_0x270e43(0x178)][_0x270e43(0x19a)],_0x270e43(0x16d)))return;const _0x11d334={'class':_0x270e43(0x171)+_0x4f4dd3[_0x270e43(0x1a4)][_0x270e43(0x19b)](),'data-name':_0x4f4dd3[_0x270e43(0x1e9)],'data-session-id':_0xedaea0},_0x503c95=_0x2d9eee[_0x270e43(0x187)][_0x270e43(0x1d2)][_0x270e43(0x19f)](_0x50db73[_0x270e43(0x1b0)]),_0xf9e0b1=_0x503c95[_0x270e43(0x194)](),_0x1b3e29=_0xf9e0b1[_0x270e43(0x193)],_0x11fcf9=_0x2d9eee[_0x270e43(0x187)][_0x270e43(0x17c)];if(_0x1b3e29&&_0x11fcf9[_0x270e43(0x16a)](_0x1b3e29)&&_0x11fcf9[_0x270e43(0x18a)](_0x1b3e29)&&!_0x2d9eee[_0x270e43(0x187)][_0x270e43(0x1d2)][_0x270e43(0x19f)](_0x270e43(0x191)+_0xedaea0)[_0x270e43(0x168)]()[_0x270e43(0x1e3)])return;const _0x54ddb1=_0xf9e0b1[_0x270e43(0x1cf)];return _0x2d9eee[_0x270e43(0x187)][_0x270e43(0x17c)][_0x270e43(0x1a0)](_0x54ddb1)&&!_0x2d9eee[_0x270e43(0x187)][_0x270e43(0x1d6)](_0x54ddb1)&&(_0x11d334[_0x270e43(0x174)]=!0x1),function(_0x3b49ab,_0x143544,_0x5a2de3){const _0x4f8c5e=_0x270e43,_0x218815=_0x3b49ab[_0x4f8c5e(0x1bf)](_0x4f8c5e(0x1c6),_0x143544);return _0x3b49ab[_0x4f8c5e(0x167)](_0x4f8c5e(0x1a5),!0x0,_0x218815),_0x218815[_0x4f8c5e(0x197)]=function(_0x3f1559){const _0x1a5ed0=_0x4f8c5e,_0x4ccc48=this[_0x1a5ed0(0x1d3)](_0x3f1559),_0x10abd6=document[_0x1a5ed0(0x1ef)](_0x1a5ed0(0x1c6));return _0x10abd6[_0x1a5ed0(0x1a6)][_0x1a5ed0(0x16e)](_0x1a5ed0(0x1a7)),_0x10abd6[_0x1a5ed0(0x18f)](_0x1a5ed0(0x174),_0x1a5ed0(0x170)),_0x10abd6[_0x1a5ed0(0x18f)](_0x1a5ed0(0x1c9),_0x1a5ed0(0x170)),_0x10abd6[_0x1a5ed0(0x176)]=_0x5a2de3[_0x1a5ed0(0x1e9)],_0x4ccc48[_0x1a5ed0(0x1c8)]=_0x1a5ed0(0x1bb)+_0x10abd6[_0x1a5ed0(0x184)]+'⁠',_0x4ccc48[_0x1a5ed0(0x185)](_0x1a5ed0(0x1da),()=>{const _0x10c445=_0x1a5ed0;_0x4ccc48[_0x10c445(0x1a6)][_0x10c445(0x16e)](_0x10c445(0x1b2));}),_0x4ccc48[_0x1a5ed0(0x185)](_0x1a5ed0(0x17a),()=>{const _0x542ef3=_0x1a5ed0;_0x4ccc48[_0x542ef3(0x1a6)][_0x542ef3(0x1bc)](_0x542ef3(0x1b2));}),_0x4ccc48;},_0x218815[_0x4f8c5e(0x17f)]=function(_0x30c9f8){const _0x38f291=_0x4f8c5e;return!(!this[_0x38f291(0x1cc)](_0x38f291(0x1a5))||!_0x30c9f8[_0x38f291(0x1cc)](_0x38f291(0x1a5))||this[_0x38f291(0x181)](_0x38f291(0x1ec))!=_0x30c9f8[_0x38f291(0x181)](_0x38f291(0x1ec)));},_0x218815;}(_0x265a2d,_0x11d334,_0x4f4dd3);}(_0x53eb1a,_0x4054d4,_0x1cf905,_0x28c363)}),_0x28c363[_0x5f40bd(0x186)][_0x5f40bd(0x1e6)](_0x5f40bd(0x1d4))[_0x5f40bd(0x199)]({'model':_0x5f40bd(0x1cd),'view':_0x5e6062=>function(_0x51add5,_0x151b0e){const _0x4acc2b=_0x5f40bd,_0x13da4d=_0x51add5[_0x4acc2b(0x1b0)][_0x4acc2b(0x18e)](':')[0x2];if(_0x13da4d===_0x151b0e[_0x4acc2b(0x1e2)])return null;const _0x4dba9c=_0x151b0e[_0x4acc2b(0x188)](_0x13da4d);if(!_0x4dba9c)return{'id':_0x13da4d,'classes':[]};return{'id':_0x13da4d,'classes':[_0x4acc2b(0x196),_0x4dba9c[_0x4acc2b(0x1a4)][_0x4acc2b(0x166)]()],'attributes':{'data-session-id':_0x13da4d},'priority':0x7d0+_0x4dba9c[_0x4acc2b(0x169)]};}(_0x5e6062,_0x1cf905)}),function(_0xa8ebd6){const _0x3ca28c=_0x5f40bd,_0x32d4ba=_0xa8ebd6[_0x3ca28c(0x187)],_0x131ff1=new Map(),_0xc0ef0a=_0xa8ebd6[_0x3ca28c(0x1de)][_0x3ca28c(0x19f)](_0x1b6157);_0x32d4ba[_0x3ca28c(0x1d2)]['on'](_0x3ca28c(0x1aa),(_0x4b4675,_0x21df7d,_0x4d74c8,_0x20e710)=>{const _0x888576=_0x3ca28c;if(!_0x20e710&&_0x131ff1[_0x888576(0x19f)](_0x21df7d[_0x888576(0x1e9)]))return _0x131ff1[_0x888576(0x19f)](_0x21df7d[_0x888576(0x1e9)])[_0x888576(0x18d)](),void _0x131ff1[_0x888576(0x1ac)](_0x21df7d[_0x888576(0x1e9)]);const _0x40b72b=_0x21df7d[_0x888576(0x1e9)][_0x888576(0x18e)](':')[0x2];if(_0x40b72b===_0xc0ef0a[_0x888576(0x1e2)])return;const _0x5987d4=_0x888576(0x1c5)+_0x40b72b;_0x32d4ba[_0x888576(0x1d2)][_0x888576(0x1eb)](_0x5987d4)&&_0xa8ebd6[_0x888576(0x19e)][_0x888576(0x1d8)](_0x5987d4),_0x21df7d['on'](_0x888576(0x1ad),(_0x1d371c,_0x2f5dc7,_0x38d01f)=>{const _0x52dc14=_0x888576;if(_0x52dc14(0x16b)!=_0x2f5dc7[_0x52dc14(0x1b6)][_0x52dc14(0x1b9)]&&_0x52dc14(0x16b)==_0x21df7d[_0x52dc14(0x168)]()[_0x52dc14(0x1b6)][_0x52dc14(0x1b9)]&&!_0x131ff1[_0x52dc14(0x1eb)](_0x21df7d[_0x52dc14(0x1e9)])){const _0x45ee8f=_0x32d4ba[_0x52dc14(0x17c)][_0x52dc14(0x1a1)](_0x38d01f[_0x52dc14(0x1ca)]);if(_0x45ee8f){const _0xafcd1d=_0x4e34ce[_0x52dc14(0x1ea)](_0x45ee8f);_0x131ff1[_0x52dc14(0x1dd)](_0x21df7d[_0x52dc14(0x1e9)],_0xafcd1d),_0xafcd1d['on'](_0x52dc14(0x1ad),(_0x25a4a4,_0x5a8210,_0xc5946)=>{const _0x3b5f05=_0x52dc14;if(_0x3b5f05(0x16b)==_0xafcd1d[_0x3b5f05(0x1b6)][_0x3b5f05(0x1b9)]){const _0x302e44=_0x32d4ba[_0x3b5f05(0x17c)][_0x3b5f05(0x1a1)](_0xc5946[_0x3b5f05(0x1ca)]);_0x302e44?(_0xafcd1d[_0x3b5f05(0x19a)]=_0x302e44[_0x3b5f05(0x19a)],_0xafcd1d[_0x3b5f05(0x18b)]=_0x302e44[_0x3b5f05(0x18b)]):(_0x131ff1[_0x3b5f05(0x1ac)](_0x21df7d[_0x3b5f05(0x1e9)]),_0xafcd1d[_0x3b5f05(0x18d)]());}});}}});}),_0x32d4ba[_0x3ca28c(0x1ab)]['on'](_0x3ca28c(0x1dc),()=>{const _0xbc1655=_0x3ca28c;_0x131ff1[_0xbc1655(0x19d)]>0x0&&_0x32d4ba[_0xbc1655(0x1d9)]({'isUndoable':!0x1},_0x179fa4=>{const _0x88e253=_0xbc1655;for(const [_0x209cbe,_0x298a40]of _0x131ff1)_0x88e253(0x16b)==_0x32d4ba[_0x88e253(0x1d2)][_0x88e253(0x19f)](_0x209cbe)[_0x88e253(0x168)]()[_0x88e253(0x1b6)][_0x88e253(0x1b9)]&&(J(_0x209cbe[_0x88e253(0x18e)](':')[0x2],_0x298a40[_0x88e253(0x1af)](),_0x32d4ba,_0x179fa4),_0x298a40[_0x88e253(0x18d)]());_0x131ff1[_0x88e253(0x164)]();});});}(_0x28c363),this[_0x5f40bd(0x1e0)][_0x5f40bd(0x1e1)](_0x19a0ff[_0x5f40bd(0x1ab)],_0x5f40bd(0x195),(_0x167c94,{key:_0x19afcc})=>{const _0x50015d=_0x5f40bd;_0x50015d(0x1c4)===_0x19afcc&&function(_0x398273){const _0x483826=_0x50015d;_0x398273[_0x483826(0x19e)][_0x483826(0x1d0)][_0x483826(0x1dc)](_0x1e57b1=>{const _0x32b188=_0x483826;for(const _0x243ff7 of _0x398273[_0x32b188(0x187)][_0x32b188(0x1d2)]){if(!_0x243ff7[_0x32b188(0x1e9)][_0x32b188(0x198)](_0x32b188(0x189)))continue;const _0x2a3847=_0x398273[_0x32b188(0x19e)][_0x32b188(0x1b4)][_0x32b188(0x1cb)](_0x243ff7[_0x32b188(0x1e9)]);if(_0x2a3847){for(const _0x2c65e0 of _0x2a3847)_0x1e57b1[_0x32b188(0x1d7)](_0x32b188(0x1b2),_0x2c65e0);}}});}(_0x28c363);},{'useCapture':!0x0});}[_0x530e04(0x17d)](){const _0x2da78e=_0x530e04,_0x42be99=this[_0x2da78e(0x18c)],_0x268ca5=_0x42be99[_0x2da78e(0x1bd)][_0x2da78e(0x19f)](_0x2da78e(0x17e));_0x268ca5&&_0x42be99[_0x2da78e(0x187)]['on'](_0x2da78e(0x16c),(_0x112857,_0x507eb0)=>{const _0x23d237=_0x2da78e,_0x38066f=_0x507eb0[0x0];if(!_0x38066f[_0x23d237(0x1e8)])return;if(_0x23d237(0x1c0)!=_0x38066f[_0x23d237(0x1d1)]||!_0x38066f[_0x23d237(0x1e9)][_0x23d237(0x198)](_0x23d237(0x173)))return;const _0x3bc88e=_0x38066f[_0x23d237(0x1b5)];_0x268ca5[_0x23d237(0x1ee)][_0x23d237(0x1eb)](_0x3bc88e)&&(_0x38066f[_0x23d237(0x1c1)]=_0x38066f[_0x23d237(0x165)]?_0x42be99[_0x23d237(0x187)][_0x23d237(0x172)](_0x38066f[_0x23d237(0x165)][_0x23d237(0x19a)],_0x38066f[_0x23d237(0x165)][_0x23d237(0x18b)]):null);},{'priority':_0x2da78e(0x175)});}[_0x530e04(0x1ba)](){const _0x5c6e05=_0x530e04;return this[_0x5c6e05(0x1e0)][_0x5c6e05(0x1ed)](),super[_0x5c6e05(0x1ba)]();}[_0x530e04(0x1a9)](){const _0x2376db=_0x530e04,_0x40d90d=this[_0x2376db(0x18c)],_0x25311c=_0x40d90d[_0x2376db(0x187)][_0x2376db(0x1ab)],_0xb57798=_0x40d90d[_0x2376db(0x1de)][_0x2376db(0x19f)](_0x1b6157);_0x40d90d[_0x2376db(0x187)][_0x2376db(0x1d9)]({'isUndoable':!0x1},_0x4e5afa=>{const _0x51ba5f=_0x2376db,_0x58d8a9=_0x51ba5f(0x191)+_0xb57798[_0x51ba5f(0x1e2)],_0x5c3f47=_0x51ba5f(0x1c5)+_0xb57798[_0x51ba5f(0x1e2)],_0x4b5f4c=_0x40d90d[_0x51ba5f(0x187)][_0x51ba5f(0x1d2)][_0x51ba5f(0x1eb)](_0x58d8a9);_0x40d90d[_0x51ba5f(0x19e)][_0x51ba5f(0x1d0)][_0x51ba5f(0x1ce)]?J(_0xb57798[_0x51ba5f(0x1e2)],_0x25311c[_0x51ba5f(0x1be)][_0x51ba5f(0x1a8)](),_0x40d90d[_0x51ba5f(0x187)],_0x4e5afa):_0x4b5f4c&&(_0x4e5afa[_0x51ba5f(0x1e7)](_0x58d8a9),_0x4e5afa[_0x51ba5f(0x1e7)](_0x5c3f47));});}}function J(_0xd592ba,_0x5696f0,_0x5b7c94,_0x18c0ed){const _0x2b39a1=_0x530e04,_0x5bffed=_0x2b39a1(0x191)+_0xd592ba,_0x454327=_0x2b39a1(0x1c5)+_0xd592ba,_0x3fee13=_0x5696f0[_0x2b39a1(0x19c)]();let _0x37a00a=_0x5696f0[_0x2b39a1(0x19a)];if(_0x3fee13&&_0x3fee13['is'](_0x2b39a1(0x190),_0x2b39a1(0x1b7))){const _0x317375=function(_0x10fa94,_0x1e8d77){const _0x57ce16=_0x2b39a1;for(const _0x459d31 of _0x10fa94[_0x57ce16(0x177)]())if(_0x1e8d77[_0x57ce16(0x17c)][_0x57ce16(0x183)](_0x459d31,_0x57ce16(0x16d)))return _0x459d31;}(_0x5696f0,_0x5b7c94);_0x317375&&(_0x37a00a=_0x317375,_0x5696f0=_0x18c0ed[_0x2b39a1(0x172)](_0x37a00a));}const _0x11635d=_0x18c0ed[_0x2b39a1(0x172)](_0x37a00a);_0x5b7c94[_0x2b39a1(0x1d2)][_0x2b39a1(0x1eb)](_0x5bffed)?(_0x18c0ed[_0x2b39a1(0x16f)](_0x5bffed,{'range':_0x5696f0}),_0x18c0ed[_0x2b39a1(0x16f)](_0x454327,{'range':_0x11635d})):(_0x18c0ed[_0x2b39a1(0x1df)](_0x5bffed,{'range':_0x5696f0,'usingOperation':!0x0}),_0x18c0ed[_0x2b39a1(0x1df)](_0x454327,{'range':_0x11635d,'usingOperation':!0x0}));}
23
+ const _0x14f023=_0x2012;(function(_0x33cc6d,_0x189f58){const _0xce6add=_0x2012,_0x5d21c2=_0x33cc6d();while(!![]){try{const _0x43e5d8=-parseInt(_0xce6add(0xb0))/0x1+-parseInt(_0xce6add(0x9b))/0x2+-parseInt(_0xce6add(0xa2))/0x3*(parseInt(_0xce6add(0xc9))/0x4)+parseInt(_0xce6add(0xf9))/0x5+-parseInt(_0xce6add(0xca))/0x6*(parseInt(_0xce6add(0xa8))/0x7)+-parseInt(_0xce6add(0xd2))/0x8+parseInt(_0xce6add(0xa5))/0x9*(parseInt(_0xce6add(0xdd))/0xa);if(_0x43e5d8===_0x189f58)break;else _0x5d21c2['push'](_0x5d21c2['shift']());}catch(_0x1a8aff){_0x5d21c2['push'](_0x5d21c2['shift']());}}}(_0x43eb,0x77b4c));import{Plugin as _0x56f08b}from'ckeditor5/src/core.js';import{global as _0x45f07a,DomEmitterMixin as _0x273ace}from'ckeditor5/src/utils.js';function _0x2012(_0x460414,_0x16d947){const _0x43ebc4=_0x43eb();return _0x2012=function(_0x2012cd,_0x4a4971){_0x2012cd=_0x2012cd-0x9a;let _0x3c2781=_0x43ebc4[_0x2012cd];return _0x3c2781;},_0x2012(_0x460414,_0x16d947);}import{Sessions as _0x4e7c50}from'./sessions.js';import{ModelLiveRange as _0x46eb3b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x56f08b{[_0x14f023(0x11e)]=new(_0x273ace())();static get[_0x14f023(0xb5)](){return[_0x4e7c50];}static get[_0x14f023(0xbc)](){const _0x3de826=_0x14f023;return _0x3de826(0x9c);}static get[_0x14f023(0x108)](){return!0x0;}static get[_0x14f023(0xff)](){return!0x0;}[_0x14f023(0xa1)](){const _0x2e6587=_0x14f023,_0x1c147c=this[_0x2e6587(0xa9)],_0x52d014=_0x1c147c[_0x2e6587(0x121)][_0x2e6587(0xe4)](_0x4e7c50);_0x1c147c[_0x2e6587(0x10a)][_0x2e6587(0x10f)](_0x2e6587(0x101))[_0x2e6587(0xd4)]({'model':_0x2e6587(0x11a),'view':(_0x284573,{writer:_0x4c59ad})=>function(_0x3b663f,_0x124b97,_0x251b64,_0x3145c7){const _0x5e75ce=_0x2e6587,_0x485b80=_0x3b663f[_0x5e75ce(0xaf)][_0x5e75ce(0xc3)](':')[0x2],_0xc8451d=_0x251b64[_0x5e75ce(0xea)](_0x485b80);if(!_0xc8451d||_0x485b80===_0x251b64[_0x5e75ce(0xdc)])return;if(!_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x100)][_0x5e75ce(0xc6)](_0x3b663f[_0x5e75ce(0xda)][_0x5e75ce(0xfc)],_0x5e75ce(0x11d)))return;const _0x530c8f={'class':_0x5e75ce(0xbd)+_0xc8451d[_0x5e75ce(0x11b)][_0x5e75ce(0xed)](),'data-name':_0xc8451d[_0x5e75ce(0x9d)],'data-session-id':_0x485b80},_0x135d19=_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x11c)][_0x5e75ce(0xe4)](_0x3b663f[_0x5e75ce(0xaf)]),_0x1363b7=_0x135d19[_0x5e75ce(0xb6)](),_0x25ee74=_0x1363b7[_0x5e75ce(0xd1)],_0x176d9e=_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x100)];if(_0x25ee74&&_0x176d9e[_0x5e75ce(0x9e)](_0x25ee74)&&_0x176d9e[_0x5e75ce(0xd9)](_0x25ee74)&&!_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x11c)][_0x5e75ce(0xe4)](_0x5e75ce(0x9f)+_0x485b80)[_0x5e75ce(0x115)]()[_0x5e75ce(0xa6)])return;const _0x3e5f70=_0x1363b7[_0x5e75ce(0xa4)];return _0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0x100)][_0x5e75ce(0xef)](_0x3e5f70)&&!_0x3145c7[_0x5e75ce(0xfe)][_0x5e75ce(0xcd)](_0x3e5f70)&&(_0x530c8f[_0x5e75ce(0xcc)]=!0x1),function(_0x3f9a72,_0x10d97d,_0x19e98e){const _0x4a9b39=_0x5e75ce,_0x12f674=_0x3f9a72[_0x4a9b39(0xe6)](_0x4a9b39(0xc1),_0x10d97d);return _0x3f9a72[_0x4a9b39(0xf7)](_0x4a9b39(0xb2),!0x0,_0x12f674),_0x12f674[_0x4a9b39(0xde)]=function(_0xfa3505){const _0x426ae1=_0x4a9b39,_0x135d37=this[_0x426ae1(0xc8)](_0xfa3505),_0x9d6240=document[_0x426ae1(0xd0)](_0x426ae1(0xc1));return _0x9d6240[_0x426ae1(0xac)][_0x426ae1(0x103)](_0x426ae1(0x9a)),_0x9d6240[_0x426ae1(0xb8)](_0x426ae1(0xcc),_0x426ae1(0x112)),_0x9d6240[_0x426ae1(0xb8)](_0x426ae1(0xf3),_0x426ae1(0x112)),_0x9d6240[_0x426ae1(0xd7)]=_0x19e98e[_0x426ae1(0x9d)],_0x135d37[_0x426ae1(0xad)]=_0x426ae1(0xbb)+_0x9d6240[_0x426ae1(0xb9)]+'⁠',_0x135d37[_0x426ae1(0xbe)](_0x426ae1(0x11f),()=>{const _0x513240=_0x426ae1;_0x135d37[_0x513240(0xac)][_0x513240(0x103)](_0x513240(0xdf));}),_0x135d37[_0x426ae1(0xbe)](_0x426ae1(0x10c),()=>{const _0x1988fc=_0x426ae1;_0x135d37[_0x1988fc(0xac)][_0x1988fc(0xfb)](_0x1988fc(0xdf));}),_0x135d37;},_0x12f674[_0x4a9b39(0x111)]=function(_0x18f475){const _0x394004=_0x4a9b39;return!(!this[_0x394004(0xbf)](_0x394004(0xb2))||!_0x18f475[_0x394004(0xbf)](_0x394004(0xb2))||this[_0x394004(0xba)](_0x394004(0x124))!=_0x18f475[_0x394004(0xba)](_0x394004(0x124)));},_0x12f674;}(_0x124b97,_0x530c8f,_0xc8451d);}(_0x284573,_0x4c59ad,_0x52d014,_0x1c147c)}),_0x1c147c[_0x2e6587(0x10a)][_0x2e6587(0x10f)](_0x2e6587(0x101))[_0x2e6587(0xb7)]({'model':_0x2e6587(0x10e),'view':_0x3d0d03=>function(_0x12aa41,_0x417920){const _0x4979f5=_0x2e6587,_0x247883=_0x12aa41[_0x4979f5(0xaf)][_0x4979f5(0xc3)](':')[0x2];if(_0x247883===_0x417920[_0x4979f5(0xdc)])return null;const _0x514194=_0x417920[_0x4979f5(0xea)](_0x247883);if(!_0x514194)return{'id':_0x247883,'classes':[]};return{'id':_0x247883,'classes':[_0x4979f5(0x118),_0x514194[_0x4979f5(0x11b)][_0x4979f5(0xd5)]()],'attributes':{'data-session-id':_0x247883},'priority':0x7d0+_0x514194[_0x4979f5(0xf5)]};}(_0x3d0d03,_0x52d014)}),function(_0x1fc11){const _0x48feb2=_0x2e6587,_0x15f0f5=_0x1fc11[_0x48feb2(0xfe)],_0x22f63c=new Map(),_0x185618=_0x1fc11[_0x48feb2(0x121)][_0x48feb2(0xe4)](_0x4e7c50);_0x15f0f5[_0x48feb2(0x11c)]['on'](_0x48feb2(0xe2),(_0x3c9fe8,_0x254900,_0x6ea861,_0x32f037)=>{const _0x300611=_0x48feb2;if(!_0x32f037&&_0x22f63c[_0x300611(0xe4)](_0x254900[_0x300611(0x9d)]))return _0x22f63c[_0x300611(0xe4)](_0x254900[_0x300611(0x9d)])[_0x300611(0xe0)](),void _0x22f63c[_0x300611(0xa7)](_0x254900[_0x300611(0x9d)]);const _0x24b2bd=_0x254900[_0x300611(0x9d)][_0x300611(0xc3)](':')[0x2];if(_0x24b2bd===_0x185618[_0x300611(0xdc)])return;const _0x596ae3=_0x300611(0x117)+_0x24b2bd;_0x15f0f5[_0x300611(0x11c)][_0x300611(0xd6)](_0x596ae3)&&_0x1fc11[_0x300611(0x123)][_0x300611(0xec)](_0x596ae3),_0x254900['on'](_0x300611(0xee),(_0x466343,_0x59ae27,_0x506517)=>{const _0x3ee0ca=_0x300611;if(_0x3ee0ca(0xd8)!=_0x59ae27[_0x3ee0ca(0xe5)][_0x3ee0ca(0x105)]&&_0x3ee0ca(0xd8)==_0x254900[_0x3ee0ca(0x115)]()[_0x3ee0ca(0xe5)][_0x3ee0ca(0x105)]&&!_0x22f63c[_0x3ee0ca(0xd6)](_0x254900[_0x3ee0ca(0x9d)])){const _0x233d4c=_0x15f0f5[_0x3ee0ca(0x100)][_0x3ee0ca(0xaa)](_0x506517[_0x3ee0ca(0xeb)]);if(_0x233d4c){const _0x1dbd6a=_0x46eb3b[_0x3ee0ca(0x116)](_0x233d4c);_0x22f63c[_0x3ee0ca(0xc4)](_0x254900[_0x3ee0ca(0x9d)],_0x1dbd6a),_0x1dbd6a['on'](_0x3ee0ca(0xee),(_0x22f2c7,_0x733c49,_0x1358bc)=>{const _0x357786=_0x3ee0ca;if(_0x357786(0xd8)==_0x1dbd6a[_0x357786(0xe5)][_0x357786(0x105)]){const _0x118e88=_0x15f0f5[_0x357786(0x100)][_0x357786(0xaa)](_0x1358bc[_0x357786(0xeb)]);_0x118e88?(_0x1dbd6a[_0x357786(0xfc)]=_0x118e88[_0x357786(0xfc)],_0x1dbd6a[_0x357786(0xcf)]=_0x118e88[_0x357786(0xcf)]):(_0x22f63c[_0x357786(0xa7)](_0x254900[_0x357786(0x9d)]),_0x1dbd6a[_0x357786(0xe0)]());}});}}});}),_0x15f0f5[_0x48feb2(0x107)]['on'](_0x48feb2(0x114),()=>{const _0x5d56d6=_0x48feb2;_0x22f63c[_0x5d56d6(0xa0)]>0x0&&_0x15f0f5[_0x5d56d6(0xce)]({'isUndoable':!0x1},_0x2fe8bb=>{const _0x364e07=_0x5d56d6;for(const [_0x4c3158,_0x1ce8f7]of _0x22f63c)_0x364e07(0xd8)==_0x15f0f5[_0x364e07(0x11c)][_0x364e07(0xe4)](_0x4c3158)[_0x364e07(0x115)]()[_0x364e07(0xe5)][_0x364e07(0x105)]&&(te(_0x4c3158[_0x364e07(0xc3)](':')[0x2],_0x1ce8f7[_0x364e07(0xb3)](),_0x15f0f5,_0x2fe8bb),_0x1ce8f7[_0x364e07(0xe0)]());_0x22f63c[_0x364e07(0xae)]();});});}(_0x1c147c),this[_0x2e6587(0x11e)][_0x2e6587(0x106)](_0x45f07a[_0x2e6587(0x107)],_0x2e6587(0x10d),(_0x5388c4,{key:_0x1cc465})=>{const _0x4bebcc=_0x2e6587;_0x4bebcc(0xf1)===_0x1cc465&&function(_0x5aaa41){const _0x4d8aa0=_0x4bebcc;_0x5aaa41[_0x4d8aa0(0x123)][_0x4d8aa0(0xcb)][_0x4d8aa0(0x114)](_0x3fd5a6=>{const _0x2d1d2b=_0x4d8aa0;for(const _0x1db2b7 of _0x5aaa41[_0x2d1d2b(0xfe)][_0x2d1d2b(0x11c)]){if(!_0x1db2b7[_0x2d1d2b(0x9d)][_0x2d1d2b(0x102)](_0x2d1d2b(0x11a)))continue;const _0x4ef918=_0x5aaa41[_0x2d1d2b(0x123)][_0x2d1d2b(0xe9)][_0x2d1d2b(0xe7)](_0x1db2b7[_0x2d1d2b(0x9d)]);if(_0x4ef918){for(const _0x232fdc of _0x4ef918)_0x3fd5a6[_0x2d1d2b(0xc2)](_0x2d1d2b(0xdf),_0x232fdc);}}});}(_0x1c147c);},{'useCapture':!0x0});}[_0x14f023(0xf2)](){const _0x56a445=_0x14f023,_0x4a158c=this[_0x56a445(0xa9)],_0x1a6e26=_0x4a158c[_0x56a445(0xc5)][_0x56a445(0xe4)](_0x56a445(0xe8));_0x1a6e26&&_0x4a158c[_0x56a445(0xfe)]['on'](_0x56a445(0xdb),(_0x3e7f0b,_0x4162d7)=>{const _0x58bca8=_0x56a445,_0x5cf411=_0x4162d7[0x0];if(!_0x5cf411[_0x58bca8(0xfa)])return;if(_0x58bca8(0x10b)!=_0x5cf411[_0x58bca8(0xf4)]||!_0x5cf411[_0x58bca8(0x9d)][_0x58bca8(0x102)](_0x58bca8(0xc7)))return;const _0x56da97=_0x5cf411[_0x58bca8(0xa3)];_0x1a6e26[_0x58bca8(0x120)][_0x58bca8(0xd6)](_0x56da97)&&(_0x5cf411[_0x58bca8(0x119)]=_0x5cf411[_0x58bca8(0xf8)]?_0x4a158c[_0x58bca8(0xfe)][_0x58bca8(0xd3)](_0x5cf411[_0x58bca8(0xf8)][_0x58bca8(0xfc)],_0x5cf411[_0x58bca8(0xf8)][_0x58bca8(0xcf)]):null);},{'priority':_0x56a445(0x122)});}[_0x14f023(0x110)](){const _0x6019ab=_0x14f023;return this[_0x6019ab(0x11e)][_0x6019ab(0xab)](),super[_0x6019ab(0x110)]();}[_0x14f023(0x113)](){const _0x54055e=_0x14f023,_0x501790=this[_0x54055e(0xa9)],_0x49abe2=_0x501790[_0x54055e(0xfe)][_0x54055e(0x107)],_0x53e0ad=_0x501790[_0x54055e(0x121)][_0x54055e(0xe4)](_0x4e7c50);_0x501790[_0x54055e(0xfe)][_0x54055e(0xce)]({'isUndoable':!0x1},_0x32a46b=>{const _0x346efa=_0x54055e,_0x1ef14a=_0x346efa(0x9f)+_0x53e0ad[_0x346efa(0xdc)],_0x5c9197=_0x346efa(0x117)+_0x53e0ad[_0x346efa(0xdc)],_0xbedc5a=_0x501790[_0x346efa(0xfe)][_0x346efa(0x11c)][_0x346efa(0xd6)](_0x1ef14a);_0x501790[_0x346efa(0x123)][_0x346efa(0xcb)][_0x346efa(0xe1)]?te(_0x53e0ad[_0x346efa(0xdc)],_0x49abe2[_0x346efa(0xe3)][_0x346efa(0xb1)](),_0x501790[_0x346efa(0xfe)],_0x32a46b):_0xbedc5a&&(_0x32a46b[_0x346efa(0xfd)](_0x1ef14a),_0x32a46b[_0x346efa(0xfd)](_0x5c9197));});}}function te(_0x18dea8,_0x426c84,_0x4b180e,_0x8ebfbc){const _0x1f5e05=_0x14f023,_0x47e53c=_0x1f5e05(0x9f)+_0x18dea8,_0x1b1976=_0x1f5e05(0x117)+_0x18dea8,_0x4b8557=_0x426c84[_0x1f5e05(0x104)]();let _0x85109c=_0x426c84[_0x1f5e05(0xfc)];if(_0x4b8557&&_0x4b8557['is'](_0x1f5e05(0xf6),_0x1f5e05(0x109))){const _0x5b23bd=function(_0x597630,_0x48b213){const _0x561718=_0x1f5e05;for(const _0x44741e of _0x597630[_0x561718(0xc0)]())if(_0x48b213[_0x561718(0x100)][_0x561718(0xc6)](_0x44741e,_0x561718(0x11d)))return _0x44741e;}(_0x426c84,_0x4b180e);_0x5b23bd&&(_0x85109c=_0x5b23bd,_0x426c84=_0x8ebfbc[_0x1f5e05(0xd3)](_0x85109c));}const _0x11388f=_0x8ebfbc[_0x1f5e05(0xd3)](_0x85109c);_0x4b180e[_0x1f5e05(0x11c)][_0x1f5e05(0xd6)](_0x47e53c)?(_0x8ebfbc[_0x1f5e05(0xf0)](_0x47e53c,{'range':_0x426c84}),_0x8ebfbc[_0x1f5e05(0xf0)](_0x1b1976,{'range':_0x11388f})):(_0x8ebfbc[_0x1f5e05(0xb4)](_0x47e53c,{'range':_0x426c84,'usingOperation':!0x0}),_0x8ebfbc[_0x1f5e05(0xb4)](_0x1b1976,{'range':_0x11388f,'usingOperation':!0x0}));}function _0x43eb(){const _0x433c84=['isSimilar','false','createUserMarkerOperations','change','getRange','fromRange','user:position:','ck-user__selection','newRange','user:position','color','markers','$text','_domEmitter','mouseenter','_createdBatches','plugins','highest','editing','data-session-id','ck-user__marker-tooltip','1203920TPVaYx','UserMarkers','name','isObject','user:range:','size','init','12xqNdrU','batch','parent','3787227qGgOJD','isCollapsed','delete','217RIIIzv','editor','getNearestSelectionRange','stopListening','classList','innerHTML','clear','markerName','957697JWaspM','getFirstRange','userPositionMarker','toRange','addMarker','requires','getStart','markerToHighlight','setAttribute','outerHTML','getAttribute','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','pluginName','ck-user__marker\x20','addEventListener','getCustomProperty','getPositions','span','removeClass','split','set','commands','checkChild','user:','toDomElement','80956bQsmgX','29802IIJNmT','view','contenteditable','hasContent','enqueueChange','end','createElement','nodeAfter','5536912CJlCYt','createRange','markerToElement','getSelectionClass','has','textContent','$graveyard','isInline','markerRange','applyOperation','mySessionId','60dSIrII','render','ck-user__marker_hovered','detach','hasDomSelection','update:user:range','selection','get','root','createUIElement','markerNameToElements','undo','mapper','getUserBySessionId','deletionPosition','reconvertMarker','getMarkerClass','change:range','isLimit','updateMarker','Escape','afterInit','spellcheck','type','orderNumber','element','setCustomProperty','oldRange','2261010eqTJmB','isDocumentOperation','remove','start','removeMarker','model','isPremiumPlugin','schema','editingDowncast','startsWith','add','getContainedElement','rootName','listenTo','document','isOfficialPlugin','tableCell','conversion','marker','mouseleave','keydown','user:range','for','destroy'];_0x43eb=function(){return _0x433c84;};return _0x43eb();}