@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.5 → 47.2.0-alpha.7

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 _0x329c69=_0x34c1;(function(_0x244a09,_0x3589a5){const _0x3ca77d=_0x34c1,_0x30e428=_0x244a09();while(!![]){try{const _0x4b4634=parseInt(_0x3ca77d(0xa8))/0x1+parseInt(_0x3ca77d(0xbf))/0x2+-parseInt(_0x3ca77d(0xc0))/0x3*(parseInt(_0x3ca77d(0x9b))/0x4)+-parseInt(_0x3ca77d(0xa7))/0x5+parseInt(_0x3ca77d(0x9e))/0x6*(-parseInt(_0x3ca77d(0xb2))/0x7)+parseInt(_0x3ca77d(0xaa))/0x8*(parseInt(_0x3ca77d(0xba))/0x9)+parseInt(_0x3ca77d(0xb0))/0xa;if(_0x4b4634===_0x3589a5)break;else _0x30e428['push'](_0x30e428['shift']());}catch(_0x2254d6){_0x30e428['push'](_0x30e428['shift']());}}}(_0x21df,0x79e71));import{View as _0x4e4fc5}from'ckeditor5/src/ui.js';function _0x34c1(_0x367331,_0x4b3948){const _0x21df86=_0x21df();return _0x34c1=function(_0x34c15c,_0x329791){_0x34c15c=_0x34c15c-0x9b;let _0x5cd35e=_0x21df86[_0x34c15c];return _0x5cd35e;},_0x34c1(_0x367331,_0x4b3948);}import{KeystrokeHandler as _0x7e1acf}from'ckeditor5/src/utils.js';import{getTranslation as _0x54fc91}from'../../common-translations.js';export class PresenceInlineListView extends _0x4e4fc5{[_0x329c69(0xb8)];[_0x329c69(0xb6)];constructor(_0x496b03){const _0x5630d0=_0x329c69;super(_0x496b03);const _0x403aa5=this[_0x5630d0(0xb5)];this[_0x5630d0(0xb8)]=this[_0x5630d0(0xa3)](),this[_0x5630d0(0xb6)]=new _0x7e1acf(),this[_0x5630d0(0xa6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5630d0(0xb4)]({'tag':_0x5630d0(0xa0),'attributes':{'aria-haspopup':_0x403aa5['if'](_0x5630d0(0xbe)),'aria-expanded':_0x403aa5['to'](_0x5630d0(0xb1),_0x3b9e81=>this[_0x5630d0(0xbe)]&&String(_0x3b9e81)),'aria-label':_0x403aa5['to'](_0x5630d0(0xbe),_0x30da6c=>_0x54fc91(_0x496b03,_0x30da6c?_0x5630d0(0xab):_0x5630d0(0x9f))),'role':_0x5630d0(0xa9),'tabindex':_0x403aa5['to'](_0x5630d0(0xbe),_0x247514=>!!_0x247514&&0x0),'class':['ck',_0x5630d0(0xa5)]},'children':this[_0x5630d0(0xb8)],'on':{'mouseenter':_0x403aa5['to'](()=>this[_0x5630d0(0xa4)](_0x5630d0(0xbb))),'mouseleave':_0x403aa5['to'](_0x264f81=>{const _0x167ed9=_0x5630d0,_0x94ee=_0x264f81,_0x5c7755=document[_0x167ed9(0xb9)](_0x167ed9(0xad)),_0x43dfb3=document[_0x167ed9(0xb9)](_0x167ed9(0x9d));_0x5c7755?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||_0x43dfb3?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||this[_0x167ed9(0xa4)](_0x167ed9(0xbd));})}}),this['on'](_0x5630d0(0xac),(_0x1b32bc,_0x3061de,_0x355539)=>{const _0x54774e=_0x5630d0;this[_0x54774e(0xaf)]&&(_0x355539?this[_0x54774e(0xaf)][_0x54774e(0xb3)](_0x54774e(0xa1),String(this[_0x54774e(0xb1)])):this[_0x54774e(0xaf)][_0x54774e(0xbc)](_0x54774e(0xa1)));});}[_0x329c69(0xae)](){const _0x3c4ad8=_0x329c69;this[_0x3c4ad8(0xaf)][_0x3c4ad8(0xae)]();}[_0x329c69(0xc1)](){const _0xb52ee1=_0x329c69;super[_0xb52ee1(0xc1)](),this[_0xb52ee1(0xb6)][_0xb52ee1(0xb7)](this[_0xb52ee1(0xaf)]);}}function _0x21df(){const _0xe80163=['presencelist:hide','hasPopup','1831338PQpYoP','2101617tsnPOE','render','4QHWZTg','relatedTarget','.ck-balloon-panel_with-arrow','43110GmMIyA','Connected\x20users\x20list','div','aria-expanded','contains','createCollection','fire','ck-presence-list__list','set','4473075BUYvga','364294aSbsFE','list','8QUNXsl','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','.ck-presence-list__dropdown-list','focus','element','10550920JxFiWQ','isExpanded','889uHRdQR','setAttribute','setTemplate','bindTemplate','keystrokes','listenTo','items','querySelector','6047163wARaQe','presencelist:show','removeAttribute'];_0x21df=function(){return _0xe80163;};return _0x21df();}
23
+ const _0xd59cf5=_0x5e9b;(function(_0x3ca565,_0x13d4f4){const _0x9156a=_0x5e9b,_0x51d890=_0x3ca565();while(!![]){try{const _0x3098f8=parseInt(_0x9156a(0xc3))/0x1+-parseInt(_0x9156a(0xb5))/0x2+-parseInt(_0x9156a(0xb4))/0x3+parseInt(_0x9156a(0xcf))/0x4*(parseInt(_0x9156a(0xba))/0x5)+parseInt(_0x9156a(0xb8))/0x6+-parseInt(_0x9156a(0xc8))/0x7+parseInt(_0x9156a(0xbe))/0x8;if(_0x3098f8===_0x13d4f4)break;else _0x51d890['push'](_0x51d890['shift']());}catch(_0x21cc36){_0x51d890['push'](_0x51d890['shift']());}}}(_0x11ed,0x7f526));import{View as _0x24db32}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1fadb4}from'ckeditor5/src/utils.js';import{getTranslation as _0x5db9ed}from'../../common-translations.js';function _0x5e9b(_0x1327a5,_0x331781){const _0x11ed90=_0x11ed();return _0x5e9b=function(_0x5e9b92,_0x1ff816){_0x5e9b92=_0x5e9b92-0xab;let _0x3da936=_0x11ed90[_0x5e9b92];return _0x3da936;},_0x5e9b(_0x1327a5,_0x331781);}export class PresenceInlineListView extends _0x24db32{[_0xd59cf5(0xb2)];[_0xd59cf5(0xb9)];constructor(_0x570f60){const _0x41d82e=_0xd59cf5;super(_0x570f60);const _0x118f6c=this[_0x41d82e(0xbb)];this[_0x41d82e(0xb2)]=this[_0x41d82e(0xbd)](),this[_0x41d82e(0xb9)]=new _0x1fadb4(),this[_0x41d82e(0xae)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x41d82e(0xad)]({'tag':_0x41d82e(0xb7),'attributes':{'aria-haspopup':_0x118f6c['if'](_0x41d82e(0xc0)),'aria-expanded':_0x118f6c['to'](_0x41d82e(0xb6),_0x33369f=>this[_0x41d82e(0xc0)]&&String(_0x33369f)),'aria-label':_0x118f6c['to'](_0x41d82e(0xc0),_0x541c1f=>_0x5db9ed(_0x570f60,_0x541c1f?_0x41d82e(0xc7):_0x41d82e(0xbc))),'role':_0x41d82e(0xca),'tabindex':_0x118f6c['to'](_0x41d82e(0xc0),_0x7eb2e4=>!!_0x7eb2e4&&0x0),'class':['ck',_0x41d82e(0xc9)]},'children':this[_0x41d82e(0xb2)],'on':{'mouseenter':_0x118f6c['to'](()=>this[_0x41d82e(0xbf)](_0x41d82e(0xac))),'mouseleave':_0x118f6c['to'](_0x2308df=>{const _0x3da74f=_0x41d82e,_0x2b7c7a=_0x2308df,_0x18987a=document[_0x3da74f(0xcb)](_0x3da74f(0xb3)),_0x14b455=document[_0x3da74f(0xcb)](_0x3da74f(0xcc));_0x18987a?.[_0x3da74f(0xc5)](_0x2b7c7a[_0x3da74f(0xc4)])||_0x14b455?.[_0x3da74f(0xc5)](_0x2b7c7a[_0x3da74f(0xc4)])||this[_0x3da74f(0xbf)](_0x3da74f(0xcd));})}}),this['on'](_0x41d82e(0xce),(_0x300612,_0x14868d,_0x2c49d5)=>{const _0x4ad19a=_0x41d82e;this[_0x4ad19a(0xab)]&&(_0x2c49d5?this[_0x4ad19a(0xab)][_0x4ad19a(0xc2)](_0x4ad19a(0xb1),String(this[_0x4ad19a(0xb6)])):this[_0x4ad19a(0xab)][_0x4ad19a(0xb0)](_0x4ad19a(0xb1)));});}[_0xd59cf5(0xc6)](){const _0x3e5513=_0xd59cf5;this[_0x3e5513(0xab)][_0x3e5513(0xc6)]();}[_0xd59cf5(0xaf)](){const _0x3198e7=_0xd59cf5;super[_0x3198e7(0xaf)](),this[_0x3198e7(0xb9)][_0x3198e7(0xc1)](this[_0x3198e7(0xab)]);}}function _0x11ed(){const _0x2aa012=['items','.ck-presence-list__dropdown-list','1655739zQLDRK','1631674yzrEpw','isExpanded','div','83676OUTseU','keystrokes','80yriwim','bindTemplate','Connected\x20users\x20list','createCollection','9425752kkjSXH','fire','hasPopup','listenTo','setAttribute','550638MTbqWk','relatedTarget','contains','focus','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','490721Eubume','ck-presence-list__list','list','querySelector','.ck-balloon-panel_with-arrow','presencelist:hide','change:hasPopup','54140mbJQAX','element','presencelist:show','setTemplate','set','render','removeAttribute','aria-expanded'];_0x11ed=function(){return _0x2aa012;};return _0x11ed();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16c184=_0x1519;(function(_0x15d67e,_0xb6ff3b){const _0xaeed82=_0x1519,_0xe6afc5=_0x15d67e();while(!![]){try{const _0x3105bf=-parseInt(_0xaeed82(0x193))/0x1+-parseInt(_0xaeed82(0x1ab))/0x2+parseInt(_0xaeed82(0x1a1))/0x3+parseInt(_0xaeed82(0x195))/0x4+parseInt(_0xaeed82(0x1a7))/0x5*(-parseInt(_0xaeed82(0x19e))/0x6)+parseInt(_0xaeed82(0x196))/0x7*(-parseInt(_0xaeed82(0x19c))/0x8)+parseInt(_0xaeed82(0x1a8))/0x9*(parseInt(_0xaeed82(0x197))/0xa);if(_0x3105bf===_0xb6ff3b)break;else _0xe6afc5['push'](_0xe6afc5['shift']());}catch(_0x53e281){_0xe6afc5['push'](_0xe6afc5['shift']());}}}(_0x4ab6,0x3460b));import{View as _0xe5960c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x38d113}from'./presencecounterview.js';import{PresenceInlineListView as _0x51f62c}from'./presenceinlinelistview.js';function _0x1519(_0x3c26e4,_0x2292fb){const _0x4ab677=_0x4ab6();return _0x1519=function(_0x15197c,_0x3b441a){_0x15197c=_0x15197c-0x18f;let _0x3c906c=_0x4ab677[_0x15197c];return _0x3c906c;},_0x1519(_0x3c26e4,_0x2292fb);}function _0x4ab6(){const _0x497cc2=['449704hAHzXd','counterView','6jomRwC','items','tooltipPosition','189177KnUXzM','bindTemplate','ck-presence-list--collapsed','listenTo','set','inlineListView','1556835JjolGe','603wCRuex','first','ck-reset','4208OpbiEj','ck-rounded-corners','bind','isCollapsed','ck-presence-list','373636AuDbYA','setTemplate','402864SkmMiC','7cVEKEB','118520KIeXqn','div','change','locale','hasPopup'];_0x4ab6=function(){return _0x497cc2;};return _0x4ab6();}import'../../../theme/presencelist.css';export class PresenceListView extends _0xe5960c{[_0x16c184(0x19d)];[_0x16c184(0x1a6)];constructor(_0xb51ba,_0x4a39d6=0x6){const _0x387a1d=_0x16c184;super(_0xb51ba);const _0x539ec3=this[_0x387a1d(0x1a2)];this[_0x387a1d(0x1a5)](_0x387a1d(0x191),!0x0),this[_0x387a1d(0x19d)]=new _0x38d113(this[_0x387a1d(0x19a)],_0x4a39d6),this[_0x387a1d(0x1a6)]=new _0x51f62c(_0xb51ba),this[_0x387a1d(0x1a6)][_0x387a1d(0x190)](_0x387a1d(0x19b))['to'](this,_0x387a1d(0x191)),this[_0x387a1d(0x1a4)](this[_0x387a1d(0x1a6)][_0x387a1d(0x19f)],_0x387a1d(0x199),()=>{const _0x196072=_0x387a1d;for(const _0x5c5c97 of this[_0x196072(0x1a6)][_0x196072(0x19f)])_0x5c5c97[_0x196072(0x1a0)]='s';this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)]&&(this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)][_0x196072(0x1a0)]='se');}),this[_0x387a1d(0x194)]({'tag':_0x387a1d(0x198),'attributes':{'class':['ck',_0x387a1d(0x192),_0x387a1d(0x1aa),_0x387a1d(0x18f),_0x539ec3['if'](_0x387a1d(0x191),_0x387a1d(0x1a3))]},'children':[this[_0x387a1d(0x1a6)]]});}}
23
+ const _0x549933=_0xd707;(function(_0x1fd422,_0x507ad1){const _0x3f8b5e=_0xd707,_0x1a6cdf=_0x1fd422();while(!![]){try{const _0x96e1dc=parseInt(_0x3f8b5e(0x153))/0x1+parseInt(_0x3f8b5e(0x142))/0x2*(parseInt(_0x3f8b5e(0x156))/0x3)+-parseInt(_0x3f8b5e(0x152))/0x4+-parseInt(_0x3f8b5e(0x15d))/0x5*(-parseInt(_0x3f8b5e(0x14e))/0x6)+parseInt(_0x3f8b5e(0x148))/0x7+-parseInt(_0x3f8b5e(0x14f))/0x8+parseInt(_0x3f8b5e(0x15a))/0x9*(-parseInt(_0x3f8b5e(0x151))/0xa);if(_0x96e1dc===_0x507ad1)break;else _0x1a6cdf['push'](_0x1a6cdf['shift']());}catch(_0xdd6deb){_0x1a6cdf['push'](_0x1a6cdf['shift']());}}}(_0x2ae6,0xa604a));function _0x2ae6(){const _0x57e68b=['36wGVHhI','div','ck-presence-list','bindTemplate','tooltipPosition','bind','567322nQYiRT','ck-presence-list--collapsed','ck-rounded-corners','counterView','listenTo','change','24870cmbFdf','2558584VilaWJ','ck-reset','4681990ImiFvA','3487636fkmtRo','1239274NaoLBV','inlineListView','locale','177474voQbAd','setTemplate','first','items','27qvHSdZ','isCollapsed','hasPopup','1075QCoror','set'];_0x2ae6=function(){return _0x57e68b;};return _0x2ae6();}import{View as _0xf6548d}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2c5a10}from'./presencecounterview.js';import{PresenceInlineListView as _0x1b1fdd}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0xd707(_0x243f9e,_0x47fe49){const _0x2ae66e=_0x2ae6();return _0xd707=function(_0xd707dd,_0x5e3cc9){_0xd707dd=_0xd707dd-0x142;let _0x165d63=_0x2ae66e[_0xd707dd];return _0x165d63;},_0xd707(_0x243f9e,_0x47fe49);}export class PresenceListView extends _0xf6548d{[_0x549933(0x14b)];[_0x549933(0x154)];constructor(_0x3c3484,_0x5d2c91=0x6){const _0x535bc7=_0x549933;super(_0x3c3484);const _0x18ae1c=this[_0x535bc7(0x145)];this[_0x535bc7(0x15e)](_0x535bc7(0x15b),!0x0),this[_0x535bc7(0x14b)]=new _0x2c5a10(this[_0x535bc7(0x155)],_0x5d2c91),this[_0x535bc7(0x154)]=new _0x1b1fdd(_0x3c3484),this[_0x535bc7(0x154)][_0x535bc7(0x147)](_0x535bc7(0x15c))['to'](this,_0x535bc7(0x15b)),this[_0x535bc7(0x14c)](this[_0x535bc7(0x154)][_0x535bc7(0x159)],_0x535bc7(0x14d),()=>{const _0x202588=_0x535bc7;for(const _0x3823ca of this[_0x202588(0x154)][_0x202588(0x159)])_0x3823ca[_0x202588(0x146)]='s';this[_0x202588(0x154)][_0x202588(0x159)][_0x202588(0x158)]&&(this[_0x202588(0x154)][_0x202588(0x159)][_0x202588(0x158)][_0x202588(0x146)]='se');}),this[_0x535bc7(0x157)]({'tag':_0x535bc7(0x143),'attributes':{'class':['ck',_0x535bc7(0x144),_0x535bc7(0x150),_0x535bc7(0x14a),_0x18ae1c['if'](_0x535bc7(0x15b),_0x535bc7(0x149))]},'children':[this[_0x535bc7(0x154)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x36ca62=_0x5a53;function _0x5a53(_0xf56ea,_0x338bdc){var _0x1f6285=_0x1f62();return _0x5a53=function(_0x5a5311,_0x32f4f8){_0x5a5311=_0x5a5311-0x18d;var _0x37b146=_0x1f6285[_0x5a5311];return _0x37b146;},_0x5a53(_0xf56ea,_0x338bdc);}function _0x1f62(){var _0x127311=['pluginName','728FfpIzK','25788BXJTiW','124197uDqDUk','PresenceList','1810kMpUhn','isOfficialPlugin','6UoDSkE','68719RgyWOG','259904qoqFhG','4NhlJkM','requires','230CabCfH','64618LRwfHS','34083ZbFQDP','22pVJsSK','isPremiumPlugin'];_0x1f62=function(){return _0x127311;};return _0x1f62();}(function(_0x726491,_0x32f6e6){var _0x3c6b77=_0x5a53,_0x196bf1=_0x726491();while(!![]){try{var _0x1d9533=-parseInt(_0x3c6b77(0x19d))/0x1*(-parseInt(_0x3c6b77(0x18f))/0x2)+-parseInt(_0x3c6b77(0x196))/0x3+-parseInt(_0x3c6b77(0x194))/0x4*(-parseInt(_0x3c6b77(0x198))/0x5)+parseInt(_0x3c6b77(0x19a))/0x6*(parseInt(_0x3c6b77(0x19b))/0x7)+parseInt(_0x3c6b77(0x19c))/0x8+parseInt(_0x3c6b77(0x190))/0x9*(-parseInt(_0x3c6b77(0x18e))/0xa)+parseInt(_0x3c6b77(0x191))/0xb*(parseInt(_0x3c6b77(0x195))/0xc);if(_0x1d9533===_0x32f6e6)break;else _0x196bf1['push'](_0x196bf1['shift']());}catch(_0x5a297f){_0x196bf1['push'](_0x196bf1['shift']());}}}(_0x1f62,0x1ba47));import{ContextPlugin as _0x347575}from'ckeditor5/src/core.js';import{Sessions as _0x187e7b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3c5bd9}from'./presencelist/presencelistui.js';export class PresenceList extends _0x347575{static get[_0x36ca62(0x18d)](){return[_0x187e7b,_0x3c5bd9];}static get[_0x36ca62(0x193)](){var _0x4fe8c5=_0x36ca62;return _0x4fe8c5(0x197);}static get[_0x36ca62(0x199)](){return!0x0;}static get[_0x36ca62(0x192)](){return!0x0;}}
23
+ var _0x40192d=_0x24dd;function _0x50ca(){var _0x4980b6=['pluginName','318453fObguN','requires','1295OsIOms','2567870qhXEQs','PresenceList','2dTuWDe','isPremiumPlugin','10652koiTGr','isOfficialPlugin','615ukopVk','1392840LtdmHH','188972UVYFQB','1110753suXDSe','8472dSSvoJ','11XGHYDo'];_0x50ca=function(){return _0x4980b6;};return _0x50ca();}function _0x24dd(_0x20c9a7,_0x401c3b){var _0x50caad=_0x50ca();return _0x24dd=function(_0x24ddae,_0x3b8c56){_0x24ddae=_0x24ddae-0x13b;var _0x2e0d31=_0x50caad[_0x24ddae];return _0x2e0d31;},_0x24dd(_0x20c9a7,_0x401c3b);}(function(_0x170e53,_0x33211c){var _0x208a5f=_0x24dd,_0xc0228c=_0x170e53();while(!![]){try{var _0x3eeb49=-parseInt(_0x208a5f(0x13d))/0x1*(-parseInt(_0x208a5f(0x143))/0x2)+-parseInt(_0x208a5f(0x148))/0x3+-parseInt(_0x208a5f(0x13f))/0x4*(-parseInt(_0x208a5f(0x141))/0x5)+parseInt(_0x208a5f(0x145))/0x6*(-parseInt(_0x208a5f(0x14a))/0x7)+parseInt(_0x208a5f(0x142))/0x8+parseInt(_0x208a5f(0x144))/0x9+-parseInt(_0x208a5f(0x13b))/0xa*(parseInt(_0x208a5f(0x146))/0xb);if(_0x3eeb49===_0x33211c)break;else _0xc0228c['push'](_0xc0228c['shift']());}catch(_0xda309){_0xc0228c['push'](_0xc0228c['shift']());}}}(_0x50ca,0x2e5bd));import{ContextPlugin as _0x3a20c1}from'ckeditor5/src/core.js';import{Sessions as _0x4a2697}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x156f43}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3a20c1{static get[_0x40192d(0x149)](){return[_0x4a2697,_0x156f43];}static get[_0x40192d(0x147)](){var _0x5d9b63=_0x40192d;return _0x5d9b63(0x13c);}static get[_0x40192d(0x140)](){return!0x0;}static get[_0x40192d(0x13e)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12cc2f=_0x5c79;(function(_0x4962f4,_0x2eaba6){const _0x51f7a8=_0x5c79,_0x5d721f=_0x4962f4();while(!![]){try{const _0x3754dc=-parseInt(_0x51f7a8(0x1e9))/0x1*(-parseInt(_0x51f7a8(0x1a7))/0x2)+parseInt(_0x51f7a8(0x1dc))/0x3*(parseInt(_0x51f7a8(0x1d5))/0x4)+parseInt(_0x51f7a8(0x1a8))/0x5*(parseInt(_0x51f7a8(0x1c2))/0x6)+parseInt(_0x51f7a8(0x1e4))/0x7+parseInt(_0x51f7a8(0x197))/0x8+-parseInt(_0x51f7a8(0x198))/0x9*(parseInt(_0x51f7a8(0x1be))/0xa)+parseInt(_0x51f7a8(0x1ac))/0xb*(-parseInt(_0x51f7a8(0x1ee))/0xc);if(_0x3754dc===_0x2eaba6)break;else _0x5d721f['push'](_0x5d721f['shift']());}catch(_0x11c510){_0x5d721f['push'](_0x5d721f['shift']());}}}(_0x2416,0x549b6));import{Context as _0x145262,ContextPlugin as _0x106e66}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d11b1}from'ckeditor5/src/utils.js';import{Users as _0x2b92ca}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29e0ad,User as _0x25743b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1f55cb}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57278a}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x106e66{static [_0x12cc2f(0x1cd)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x29e0ad)());[_0x12cc2f(0x1e2)];static get[_0x12cc2f(0x1b0)](){const _0x22036f=_0x12cc2f;return[_0x1f55cb,_0x22036f(0x1e0),_0x57278a,_0x2b92ca];}static get[_0x12cc2f(0x1b7)](){const _0x197a86=_0x12cc2f;return _0x197a86(0x1cb);}static get[_0x12cc2f(0x1c1)](){return!0x0;}static get[_0x12cc2f(0x1b2)](){return!0x0;}constructor(_0x3e5753){const _0x3fc63d=_0x12cc2f;super(_0x3e5753),this[_0x3fc63d(0x1e2)]=new Map();}async[_0x12cc2f(0x1b1)](){const _0x3160ca=_0x12cc2f,_0x178e62=this[_0x3160ca(0x1aa)],_0x22e310=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x3160ca(0x1e0));if(_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x1f55cb)[_0x3160ca(0x1d3)](this),_0x22e310[_0x3160ca(0x1b9)]={'addCommentThread':async({channelId:_0x3a6fca,threadId:_0x1dae85,comments:_0x2e64db,resolvedAt:_0x274e74,resolvedBy:_0x120f5b,context:_0x5264d5,attributes:_0x73d414})=>{const _0x391cab=_0x3160ca,_0x2dd835=await this[_0x391cab(0x19e)](_0x3a6fca)[_0x391cab(0x1ed)]({'commentThreadId':_0x1dae85,'comments':_0x2e64db[_0x391cab(0x1d2)](_0x4797ae=>function(_0x527074,_0x167523,_0x935387){const _0x1c9afc=_0x391cab;return{'commentThreadId':_0x935387,'commentId':_0x527074[_0x1c9afc(0x1c5)],'userId':_0x527074[_0x1c9afc(0x1d9)],'content':_0x527074[_0x1c9afc(0x1b5)],'documentId':_0x167523,'createdAt':_0x527074[_0x1c9afc(0x1c3)],'attributes':_0x527074[_0x1c9afc(0x1d6)]||{}};}(_0x4797ae,_0x3a6fca,_0x1dae85)),'resolvedAt':_0x274e74,'resolvedBy':_0x120f5b,'context':_0x5264d5,'attributes':_0x73d414})[_0x391cab(0x196)](T);return{'threadId':_0x2dd835[_0x391cab(0x1f2)],'comments':_0x2dd835[_0x391cab(0x1db)]};},'getCommentThread':async({channelId:_0x4ebef5,threadId:_0x276e90})=>{const _0x33b410=_0x3160ca,_0x38589a=await this[_0x33b410(0x19e)](_0x4ebef5)[_0x33b410(0x1a0)](_0x276e90)[_0x33b410(0x196)](ot)[_0x33b410(0x196)](T);return _0x38589a?_0x38589a[_0x33b410(0x1e7)]?null:(await this[_0x33b410(0x1de)]([_0x38589a]),{'threadId':_0x38589a[_0x33b410(0x1f2)],'comments':_0x38589a[_0x33b410(0x1db)][_0x33b410(0x1d2)](nt),'context':_0x38589a[_0x33b410(0x1aa)],'resolvedAt':_0x38589a[_0x33b410(0x1c8)],'resolvedBy':_0x38589a[_0x33b410(0x1b4)],'attributes':_0x38589a[_0x33b410(0x1d6)]||{}}):null;},'updateCommentThread':async({channelId:_0x553667,threadId:_0x34dde0,context:_0xae47d1,unlinkedAt:_0x1b67c5,attributes:_0x47dc85})=>this[_0x3160ca(0x19e)](_0x553667)[_0x3160ca(0x1c6)]({'commentThreadId':_0x34dde0,'context':_0xae47d1,'attributes':_0x47dc85,'unlinkedAt':_0x1b67c5})[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'resolveCommentThread':async({channelId:_0x463efd,threadId:_0x28fad5})=>{const _0x41bb5a=_0x3160ca,_0x2c494f=await this[_0x41bb5a(0x19e)](_0x463efd)[_0x41bb5a(0x1af)](_0x28fad5)[_0x41bb5a(0x196)](ot)[_0x41bb5a(0x196)](T);return{'threadId':_0x2c494f[_0x41bb5a(0x1f2)],'resolvedAt':_0x2c494f[_0x41bb5a(0x1c8)],'resolvedBy':_0x2c494f[_0x41bb5a(0x1b4)]};},'reopenCommentThread':async({channelId:_0x4cd26b,threadId:_0x190bb2})=>this[_0x3160ca(0x19e)](_0x4cd26b)[_0x3160ca(0x1c0)](_0x190bb2)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeCommentThread':({channelId:_0x1b76b1,threadId:_0x37c8c0})=>this[_0x3160ca(0x19e)](_0x1b76b1)[_0x3160ca(0x1c4)](_0x37c8c0)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'addComment':({channelId:_0x5b895f,threadId:_0xbe8819,commentId:_0x3e339d,content:_0x40b0d2,attributes:_0x11455e})=>this[_0x3160ca(0x19e)](_0x5b895f)[_0x3160ca(0x1ae)](_0xbe8819,_0x3e339d,_0x40b0d2,_0x11455e)[_0x3160ca(0x196)](T),'updateComment':({channelId:_0x57c3a3,threadId:_0x39b642,commentId:_0x35bc5e,content:_0x7bdbac,attributes:_0x4d8ac9})=>this[_0x3160ca(0x19e)](_0x57c3a3)[_0x3160ca(0x1a6)](_0x39b642,_0x35bc5e,_0x7bdbac,_0x4d8ac9)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeComment':({channelId:_0x49bfe1,threadId:_0x2abab3,commentId:_0x1619ed})=>this[_0x3160ca(0x19e)](_0x49bfe1)[_0x3160ca(0x1b8)](_0x2abab3,_0x1619ed)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T)},_0x178e62 instanceof _0x145262){const _0x462829=_0x178e62[_0x3160ca(0x1a5)][_0x3160ca(0x1a3)](_0x3160ca(0x1c9)),_0x58568b=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x57278a);await this[_0x3160ca(0x1f1)](_0x462829);const _0x1fa04a=await this[_0x3160ca(0x1e2)][_0x3160ca(0x1a3)](_0x462829)[_0x3160ca(0x1ab)]();this[_0x3160ca(0x1e5)](_0x58568b,_0x3160ca(0x1a1)+_0x462829,(_0x4ed55c,{session:_0x1e3a50})=>{const _0x43ba8d=_0x3160ca;_0x1e3a50['id']===_0x58568b[_0x43ba8d(0x1ef)]&&(_0x4ed55c[_0x43ba8d(0x1eb)](),this[_0x43ba8d(0x1aa)][_0x43ba8d(0x1ad)][_0x43ba8d(0x1a3)](_0x43ba8d(0x1bc))[_0x43ba8d(0x1d4)](_0x1e3a50[_0x43ba8d(0x1e8)],_0x462829));}),_0x58568b[_0x3160ca(0x19f)](_0x462829,_0x1fa04a);}}async[_0x12cc2f(0x1f1)](_0x145c52){const _0x4a60af=_0x12cc2f;if(this[_0x4a60af(0x1e2)][_0x4a60af(0x1d0)](_0x145c52))throw new _0x2d11b1(_0x4a60af(0x1a2),null,{'channelId':_0x145c52});const _0x42d956=this[_0x4a60af(0x1aa)][_0x4a60af(0x1ad)][_0x4a60af(0x1a3)](_0x4a60af(0x1e0)),_0x55f729=new CloudServicesCommentsAdapter[(_0x4a60af(0x1cd))](_0x145c52);this[_0x4a60af(0x1e2)][_0x4a60af(0x1f9)](_0x145c52,_0x55f729),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ca),(_0x28bb6e,_0x1be6c1)=>{const _0x3b2f3f=_0x4a60af,{commentThreadId:_0x24723c,documentId:_0x2f2cd1,context:_0xf2cdaa,attributes:_0x4c60c7,resolvedAt:_0x397c36,resolvedBy:_0x15f6c8,comments:_0x376ccc}=_0x1be6c1;_0x42d956[_0x3b2f3f(0x1a0)](_0x24723c)||_0x42d956[_0x3b2f3f(0x1ed)]({'threadId':_0x24723c,'channelId':_0x2f2cd1,'comments':_0x376ccc?_0x376ccc[_0x3b2f3f(0x1d2)](nt):[],'context':_0xf2cdaa,'attributes':_0x4c60c7,'resolvedAt':_0x397c36,'resolvedBy':_0x15f6c8,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ba),(_0x4d1be6,{commentThreadId:_0x586a52,documentId:_0x11f972,context:_0x342a01,unlinkedAt:_0x159130,attributes:_0x8301f4})=>{const _0x4fb87a=_0x4a60af;_0x42d956[_0x4fb87a(0x1a0)](_0x586a52)&&_0x42d956[_0x4fb87a(0x1c6)]({'threadId':_0x586a52,'channelId':_0x11f972,'context':_0x342a01,'unlinkedAt':_0x159130,'attributes':_0x8301f4,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1bb),(_0x5030eb,{commentThreadId:_0x15ece0,resolvedBy:_0x496958,resolvedAt:_0x3102f5})=>{const _0x5aba55=_0x4a60af,_0x3ad6ac=_0x42d956[_0x5aba55(0x1a0)](_0x15ece0);_0x3ad6ac&&_0x3ad6ac[_0x5aba55(0x1d8)]({'resolvedBy':_0x496958,'resolvedAt':_0x3102f5,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d7),(_0x1d99a7,{commentThreadId:_0x16abd5})=>{const _0xb8be06=_0x4a60af,_0x425809=_0x42d956[_0xb8be06(0x1a0)](_0x16abd5);_0x425809&&_0x425809[_0xb8be06(0x19a)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1c7),(_0x4f560c,{commentThreadId:_0x3adce6})=>{const _0x570e5a=_0x4a60af,_0x510a3e=_0x42d956[_0x570e5a(0x1a0)](_0x3adce6);_0x510a3e&&_0x510a3e[_0x570e5a(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d1),(_0x465d92,_0x5f54d6)=>{const _0x3f9109=_0x4a60af,_0x21122a=_0x5f54d6[_0x3f9109(0x1f2)],_0x1f99c1=_0x42d956[_0x3f9109(0x1a0)](_0x21122a);_0x1f99c1&&_0x1f99c1[_0x3f9109(0x1ae)]({...nt(_0x5f54d6),'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1f5),(_0xfabae8,{commentThreadId:_0x3ddabe,commentId:_0xa8e2f4,content:_0x17cc00,attributes:_0x1c2379})=>{const _0x976435=_0x4a60af,_0x4afda7=_0x42d956[_0x976435(0x1a0)](_0x3ddabe);if(_0x4afda7){const _0x1a391f=_0x4afda7[_0x976435(0x1e6)](_0xa8e2f4);_0x1a391f&&_0x1a391f[_0x976435(0x1ea)]({'content':_0x17cc00,'attributes':_0x1c2379,'isFromAdapter':!0x0});}}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ec),(_0x42b5a0,{commentThreadId:_0x7b7638,commentId:_0x2bfe32})=>{const _0x2fa286=_0x4a60af,_0x2439ed=_0x42d956[_0x2fa286(0x1a0)](_0x7b7638);if(_0x2439ed){const _0x563991=_0x2439ed[_0x2fa286(0x1e6)](_0x2bfe32);_0x563991&&_0x563991[_0x2fa286(0x1f6)]({'isFromAdapter':!0x0});}}),await this[_0x4a60af(0x1bd)](_0x145c52);}[_0x12cc2f(0x1f8)](){const _0x55b5d4=_0x12cc2f;if(this[_0x55b5d4(0x1aa)]instanceof _0x145262){const _0x2b5a9a=this[_0x55b5d4(0x1aa)][_0x55b5d4(0x1a5)][_0x55b5d4(0x1a3)](_0x55b5d4(0x1c9));this[_0x55b5d4(0x1a4)](_0x2b5a9a);}}[_0x12cc2f(0x1a4)](_0x308d88){const _0x4cb6d3=_0x12cc2f;if(!this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1d0)](_0x308d88))throw new _0x2d11b1(_0x4cb6d3(0x1e1),null,{'channelId':_0x308d88});this[_0x4cb6d3(0x19e)](_0x308d88)[_0x4cb6d3(0x1f0)](),this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1b3)](_0x308d88);}async[_0x12cc2f(0x1da)](){const _0x3d00cf=_0x12cc2f;for(const _0x3fa53f of this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1df)]())await this[_0x3d00cf(0x1bd)](_0x3fa53f);if(this[_0x3d00cf(0x1aa)]instanceof _0x145262){const _0x2de5c7=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1a5)][_0x3d00cf(0x1a3)](_0x3d00cf(0x1c9)),_0x2b96b9=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1ad)][_0x3d00cf(0x1a3)](_0x57278a);_0x2b96b9[_0x3d00cf(0x1fb)](_0x2de5c7);const _0x4b115e=await this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1a3)](_0x2de5c7)[_0x3d00cf(0x1ab)]();_0x2b96b9[_0x3d00cf(0x19f)](_0x2de5c7,_0x4b115e);}}async[_0x12cc2f(0x1bd)](_0x3ec7f3){const _0x2f265a=_0x12cc2f,{connection:_0xe891ca}=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x1f55cb),_0xe5fe0b=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x2f265a(0x1e0)),_0x2b4bd0=this[_0x2f265a(0x1e2)][_0x2f265a(0x1a3)](_0x3ec7f3),_0x1075f2=await _0x2b4bd0[_0x2f265a(0x1bf)](_0xe891ca);await this[_0x2f265a(0x1de)](_0x1075f2);const _0x2db2cf=new Set(Array[_0x2f265a(0x1e3)](_0xe5fe0b[_0x2f265a(0x19d)]({'channelId':_0x3ec7f3}),_0x54b2bf=>_0x54b2bf['id']));for(const _0x58dd33 of _0x1075f2)_0x58dd33[_0x2f265a(0x1e7)]||_0x2db2cf[_0x2f265a(0x1b3)](_0x58dd33[_0x2f265a(0x1f2)]);for(const _0x300fc9 of _0x2db2cf)_0xe5fe0b[_0x2f265a(0x1a0)](_0x300fc9)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4c9d85 of _0x1075f2){let _0xa88618=_0xe5fe0b[_0x2f265a(0x1a0)](_0x4c9d85[_0x2f265a(0x1f2)]);const {commentThreadId:_0x582712,context:_0x4d93e9,attributes:_0x431159,resolvedBy:_0x2bb1f2,resolvedAt:_0x513159,unlinkedAt:_0x537466,deletedAt:_0x362b6e}=_0x4c9d85;if(_0x362b6e)continue;_0xa88618||(_0xa88618=_0xe5fe0b[_0x2f265a(0x1ed)]({'channelId':_0x3ec7f3,'threadId':_0x582712,'context':_0x4d93e9,'attributes':_0x431159||{},'resolvedBy':_0x2bb1f2,'resolvedAt':_0x513159,'unlinkedAt':_0x537466,'isFromAdapter':!0x0}));const _0xfcce28=new Set(Array[_0x2f265a(0x1e3)](_0xa88618[_0x2f265a(0x1db)],_0x105ac3=>_0x105ac3['id']));for(const _0x3637f1 of _0x4c9d85[_0x2f265a(0x1db)])_0xfcce28[_0x2f265a(0x1b3)](_0x3637f1[_0x2f265a(0x1c5)]);for(const _0x2609b4 of _0xfcce28)_0xa88618[_0x2f265a(0x1e6)](_0x2609b4)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4d85d8 of _0x4c9d85[_0x2f265a(0x1db)]){const _0x49e1b3=_0xa88618[_0x2f265a(0x1e6)](_0x4d85d8[_0x2f265a(0x1c5)]);_0x49e1b3?_0x49e1b3[_0x2f265a(0x1b5)]!==_0x4d85d8[_0x2f265a(0x1b5)]&&_0x49e1b3[_0x2f265a(0x1ea)]({'content':_0x4d85d8[_0x2f265a(0x1b5)],'isFromAdapter':!0x0}):_0xa88618[_0x2f265a(0x1ae)](Object[_0x2f265a(0x1f4)](nt(_0x4d85d8),{'isFromAdapter':!0x0}));}}}[_0x12cc2f(0x19e)](_0x251e7d){const _0x209090=_0x12cc2f;if(!this[_0x209090(0x1e2)][_0x209090(0x1d0)](_0x251e7d))throw new _0x2d11b1(_0x209090(0x1dd),null,{'channelId':_0x251e7d});return this[_0x209090(0x1e2)][_0x209090(0x1a3)](_0x251e7d);}async[_0x12cc2f(0x1de)](_0x2d12b8){const _0x3b0284=_0x12cc2f,_0x2ffb80=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x2b92ca),{connection:_0x164385}=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x1f55cb),_0x25f58b=new Set();for(const {resolvedBy:_0x2bc11d,comments:_0x12446f}of _0x2d12b8){_0x2bc11d&&!_0x2ffb80[_0x3b0284(0x199)](_0x2bc11d)&&_0x25f58b[_0x3b0284(0x194)](_0x2bc11d);for(const {userId:_0x3baf33}of _0x12446f)_0x2ffb80[_0x3b0284(0x199)](_0x3baf33)||_0x25f58b[_0x3b0284(0x194)](_0x3baf33);}if(0x0===_0x25f58b[_0x3b0284(0x19c)])return;const _0x5e0284=await _0x25743b[_0x3b0284(0x1f7)](_0x164385,Array[_0x3b0284(0x1e3)](_0x25f58b));for(const _0x4a2c83 of _0x5e0284)_0x2ffb80[_0x3b0284(0x199)](_0x4a2c83['id'])||_0x2ffb80[_0x3b0284(0x195)](_0x4a2c83);}}async function ot(_0x266ae9){const _0x5d6cf9=_0x12cc2f;if(_0x5d6cf9(0x1f3)!==_0x266ae9[_0x5d6cf9(0x1ce)])throw _0x266ae9;}function _0x5c79(_0x147ce4,_0x1169de){const _0x241659=_0x2416();return _0x5c79=function(_0x5c7985,_0x3551f3){_0x5c7985=_0x5c7985-0x194;let _0x512e4d=_0x241659[_0x5c7985];return _0x512e4d;},_0x5c79(_0x147ce4,_0x1169de);}function T(_0x1c18f6){const _0x2992d5=_0x12cc2f;if((_0x560dee=_0x1c18f6)[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1b6))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1a9))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1fa)))return new Promise(()=>{});var _0x560dee;throw _0x1c18f6;}function _0x2416(){const _0x135db6=['reconnect','comments','15CBOASa','cloudservicescommentsadapter-service-not-exist','_fetchMissingUsersForThreads','keys','CommentsRepository','cloudservicescommentsadapter-disconnect-not-exist','_services','from','1106175iWoXBv','listenTo','getComment','deletedAt','permissions','5sDOfEu','update','off','commentRemoved','addCommentThread','24QXmoLN','mySessionId','disconnect','_setUpService','commentThreadId','404','assign','commentUpdated','remove','getMany','destroy','set','cloud-services-internal-error:\x20Request\x20timeout.','unregister','add','addUser','catch','4952376EyoKQB','41931tmFPeN','getUser','reopen','message','size','getCommentThreads','_getService','register','getCommentThread','sessionAdd:','cloudservicescommentsadapter-connect-already-connected','get','_terminateService','config','updateComment','147844KARQUX','16510DujPFJ','cloud-services-internal-error:\x20Not\x20connected.','context','getConnectedSessions','8995393SgSpNt','plugins','addComment','resolveCommentThread','requires','init','isPremiumPlugin','delete','resolvedBy','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','removeComment','adapter','commentThreadUpdated','commentThreadResolved','Permissions','_connectService','50BmOaGV','connect','reopenCommentThread','isOfficialPlugin','1182yOnIie','createdAt','removeCommentThread','commentId','updateCommentThread','commentThreadRemoved','resolvedAt','collaboration.channelId','commentThreadAdded','CloudServicesCommentsAdapter','startsWith','CommentsService','code','userId','has','commentAdded','map','addToReconnectionStack','setPermissions','166556KqeouF','attributes','commentThreadReopened','resolve','authorId'];_0x2416=function(){return _0x135db6;};return _0x2416();}function nt(_0x57141e){const _0x289aec=_0x12cc2f;return{'threadId':_0x57141e[_0x289aec(0x1f2)],'commentId':_0x57141e[_0x289aec(0x1c5)],'content':_0x57141e[_0x289aec(0x1b5)],'createdAt':_0x57141e[_0x289aec(0x1c3)],'authorId':_0x57141e[_0x289aec(0x1cf)],'attributes':_0x57141e[_0x289aec(0x1d6)]||{}};}
23
+ const _0x148c5d=_0x39dc;(function(_0x2e4d6a,_0x4c16dc){const _0x1f2c64=_0x39dc,_0x76cd93=_0x2e4d6a();while(!![]){try{const _0x5ada5e=-parseInt(_0x1f2c64(0x152))/0x1*(parseInt(_0x1f2c64(0x145))/0x2)+parseInt(_0x1f2c64(0x163))/0x3+parseInt(_0x1f2c64(0x124))/0x4*(-parseInt(_0x1f2c64(0x154))/0x5)+parseInt(_0x1f2c64(0x112))/0x6+-parseInt(_0x1f2c64(0x11a))/0x7*(-parseInt(_0x1f2c64(0x10d))/0x8)+parseInt(_0x1f2c64(0x111))/0x9+parseInt(_0x1f2c64(0x144))/0xa;if(_0x5ada5e===_0x4c16dc)break;else _0x76cd93['push'](_0x76cd93['shift']());}catch(_0x357fb4){_0x76cd93['push'](_0x76cd93['shift']());}}}(_0x412f,0x83995));import{Context as _0x586157,ContextPlugin as _0x42eda8}from'ckeditor5/src/core.js';import{CKEditorError as _0x256971}from'ckeditor5/src/utils.js';import{Users as _0x5582b6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x451b9b,User as _0x338c8f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x47d15c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x46de8c}from'../realtimecollaborativeediting/sessions.js';function _0x412f(){const _0x3a77f5=['commentThreadRemoved','resolveCommentThread','update','unregister','14izSSwN','mySessionId','_terminateService','disconnect','size','pluginName','getMany','_connectService','_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','96904VOPVWL','commentThreadResolved','commentThreadUpdated','addComment','remove','cloud-services-internal-error:\x20Request\x20timeout.','startsWith','message','add','map','commentId','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','delete','resolve','getComment','set','commentThreadAdded','commentThreadReopened','CommentsRepository','deletedAt','updateCommentThread','cloudservicescommentsadapter-connect-already-connected','attributes','404','getUser','isOfficialPlugin','reconnect','getCommentThread','init','updateComment','cloudservicescommentsadapter-service-not-exist','9311380DYZXlf','48kuXvUZ','CommentsService','sessionAdd:','reopen','setPermissions','destroy','get','assign','authorId','Permissions','_setUpService','comments','_services','23662neptrK','createdAt','205lGEaEg','adapter','catch','getCommentThreads','resolvedAt','has','connect','register','from','code','listenTo','keys','reopenCommentThread','commentRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1572096pFrHuo','context','commentAdded','permissions','addToReconnectionStack','_getService','off','plugins','removeCommentThread','addUser','CloudServicesCommentsAdapter','content','commentThreadId','config','collaboration.channelId','removeComment','1692248PFCZZp','userId','resolvedBy','getConnectedSessions','1315440NuJQNW','454746qsTUmh','commentUpdated','requires','addCommentThread'];_0x412f=function(){return _0x3a77f5;};return _0x412f();}export class CloudServicesCommentsAdapter extends _0x42eda8{static [_0x148c5d(0x146)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x451b9b)());[_0x148c5d(0x151)];static get[_0x148c5d(0x114)](){const _0x32b641=_0x148c5d;return[_0x47d15c,_0x32b641(0x137),_0x46de8c,_0x5582b6];}static get[_0x148c5d(0x11f)](){const _0x48cbd6=_0x148c5d;return _0x48cbd6(0x16d);}static get[_0x148c5d(0x13e)](){return!0x0;}static get[_0x148c5d(0x12f)](){return!0x0;}constructor(_0x100d72){const _0x560761=_0x148c5d;super(_0x100d72),this[_0x560761(0x151)]=new Map();}async[_0x148c5d(0x141)](){const _0x82ac5f=_0x148c5d,_0x54c857=this[_0x82ac5f(0x164)],_0x3b1ac6=_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x82ac5f(0x137));if(_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x47d15c)[_0x82ac5f(0x167)](this),_0x3b1ac6[_0x82ac5f(0x155)]={'addCommentThread':async({channelId:_0x8263e3,threadId:_0x574314,comments:_0xd0b59c,resolvedAt:_0x2fc4d0,resolvedBy:_0x4330d8,context:_0x4de3fc,attributes:_0x51d860})=>{const _0x430e1a=_0x82ac5f,_0x539af5=await this[_0x430e1a(0x168)](_0x8263e3)[_0x430e1a(0x115)]({'commentThreadId':_0x574314,'comments':_0xd0b59c[_0x430e1a(0x12d)](_0x30f53d=>function(_0x1808a1,_0x1a9923,_0x2afcea){const _0x4ae5c1=_0x430e1a;return{'commentThreadId':_0x2afcea,'commentId':_0x1808a1[_0x4ae5c1(0x12e)],'userId':_0x1808a1[_0x4ae5c1(0x14d)],'content':_0x1808a1[_0x4ae5c1(0x16e)],'documentId':_0x1a9923,'createdAt':_0x1808a1[_0x4ae5c1(0x153)],'attributes':_0x1808a1[_0x4ae5c1(0x13b)]||{}};}(_0x30f53d,_0x8263e3,_0x574314)),'resolvedAt':_0x2fc4d0,'resolvedBy':_0x4330d8,'context':_0x4de3fc,'attributes':_0x51d860})[_0x430e1a(0x156)](nt);return{'threadId':_0x539af5[_0x430e1a(0x16f)],'comments':_0x539af5[_0x430e1a(0x150)]};},'getCommentThread':async({channelId:_0x57f2d6,threadId:_0xd4a39e})=>{const _0x575da4=_0x82ac5f,_0x4914ea=await this[_0x575da4(0x168)](_0x57f2d6)[_0x575da4(0x140)](_0xd4a39e)[_0x575da4(0x156)](ot)[_0x575da4(0x156)](nt);return _0x4914ea?_0x4914ea[_0x575da4(0x138)]?null:(await this[_0x575da4(0x122)]([_0x4914ea]),{'threadId':_0x4914ea[_0x575da4(0x16f)],'comments':_0x4914ea[_0x575da4(0x150)][_0x575da4(0x12d)](st),'context':_0x4914ea[_0x575da4(0x164)],'resolvedAt':_0x4914ea[_0x575da4(0x158)],'resolvedBy':_0x4914ea[_0x575da4(0x10f)],'attributes':_0x4914ea[_0x575da4(0x13b)]||{}}):null;},'updateCommentThread':async({channelId:_0x3a66b8,threadId:_0x2b2f14,context:_0xa2d439,unlinkedAt:_0x5be112,attributes:_0x291090})=>this[_0x82ac5f(0x168)](_0x3a66b8)[_0x82ac5f(0x139)]({'commentThreadId':_0x2b2f14,'context':_0xa2d439,'attributes':_0x291090,'unlinkedAt':_0x5be112})[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'resolveCommentThread':async({channelId:_0x48e067,threadId:_0x1a2fa6})=>{const _0x26bafb=_0x82ac5f,_0x193910=await this[_0x26bafb(0x168)](_0x48e067)[_0x26bafb(0x117)](_0x1a2fa6)[_0x26bafb(0x156)](ot)[_0x26bafb(0x156)](nt);return{'threadId':_0x193910[_0x26bafb(0x16f)],'resolvedAt':_0x193910[_0x26bafb(0x158)],'resolvedBy':_0x193910[_0x26bafb(0x10f)]};},'reopenCommentThread':async({channelId:_0x156acf,threadId:_0x47be64})=>this[_0x82ac5f(0x168)](_0x156acf)[_0x82ac5f(0x160)](_0x47be64)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'removeCommentThread':({channelId:_0x576617,threadId:_0x53aeab})=>this[_0x82ac5f(0x168)](_0x576617)[_0x82ac5f(0x16b)](_0x53aeab)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'addComment':({channelId:_0x1b090c,threadId:_0x3c8a56,commentId:_0x5c217c,content:_0x54d93c,attributes:_0x54841b})=>this[_0x82ac5f(0x168)](_0x1b090c)[_0x82ac5f(0x127)](_0x3c8a56,_0x5c217c,_0x54d93c,_0x54841b)[_0x82ac5f(0x156)](nt),'updateComment':({channelId:_0x29f481,threadId:_0x16be1c,commentId:_0x1d44e7,content:_0x4dbe88,attributes:_0x459e14})=>this[_0x82ac5f(0x168)](_0x29f481)[_0x82ac5f(0x142)](_0x16be1c,_0x1d44e7,_0x4dbe88,_0x459e14)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'removeComment':({channelId:_0x57f709,threadId:_0x55cf1d,commentId:_0x5be17d})=>this[_0x82ac5f(0x168)](_0x57f709)[_0x82ac5f(0x172)](_0x55cf1d,_0x5be17d)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt)},_0x54c857 instanceof _0x586157){const _0x33ec17=_0x54c857[_0x82ac5f(0x170)][_0x82ac5f(0x14b)](_0x82ac5f(0x171)),_0x2102c=_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x46de8c);await this[_0x82ac5f(0x14f)](_0x33ec17);const _0x27075b=await this[_0x82ac5f(0x151)][_0x82ac5f(0x14b)](_0x33ec17)[_0x82ac5f(0x110)]();this[_0x82ac5f(0x15e)](_0x2102c,_0x82ac5f(0x147)+_0x33ec17,(_0x2d069e,{session:_0x3c8b74})=>{const _0x29a351=_0x82ac5f;_0x3c8b74['id']===_0x2102c[_0x29a351(0x11b)]&&(_0x2d069e[_0x29a351(0x169)](),this[_0x29a351(0x164)][_0x29a351(0x16a)][_0x29a351(0x14b)](_0x29a351(0x14e))[_0x29a351(0x149)](_0x3c8b74[_0x29a351(0x166)],_0x33ec17));}),_0x2102c[_0x82ac5f(0x15b)](_0x33ec17,_0x27075b);}}async[_0x148c5d(0x14f)](_0x1b478b){const _0x67073c=_0x148c5d;if(this[_0x67073c(0x151)][_0x67073c(0x159)](_0x1b478b))throw new _0x256971(_0x67073c(0x13a),null,{'channelId':_0x1b478b});const _0x13dcc7=this[_0x67073c(0x164)][_0x67073c(0x16a)][_0x67073c(0x14b)](_0x67073c(0x137)),_0x4fef11=new CloudServicesCommentsAdapter[(_0x67073c(0x146))](_0x1b478b);this[_0x67073c(0x151)][_0x67073c(0x134)](_0x1b478b,_0x4fef11),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x135),(_0x1f21c1,_0xcb9d69)=>{const _0x42f509=_0x67073c,{commentThreadId:_0x515eac,documentId:_0x33cd17,context:_0x58e5c4,attributes:_0x55b0d0,resolvedAt:_0x2f9bd0,resolvedBy:_0x5b0e23,comments:_0x27add1}=_0xcb9d69;_0x13dcc7[_0x42f509(0x140)](_0x515eac)||_0x13dcc7[_0x42f509(0x115)]({'threadId':_0x515eac,'channelId':_0x33cd17,'comments':_0x27add1?_0x27add1[_0x42f509(0x12d)](st):[],'context':_0x58e5c4,'attributes':_0x55b0d0,'resolvedAt':_0x2f9bd0,'resolvedBy':_0x5b0e23,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x126),(_0x492861,{commentThreadId:_0x2fdeb8,documentId:_0x240d59,context:_0x3bdf87,unlinkedAt:_0x41b0b0,attributes:_0x12dd79})=>{const _0x4eeca9=_0x67073c;_0x13dcc7[_0x4eeca9(0x140)](_0x2fdeb8)&&_0x13dcc7[_0x4eeca9(0x139)]({'threadId':_0x2fdeb8,'channelId':_0x240d59,'context':_0x3bdf87,'unlinkedAt':_0x41b0b0,'attributes':_0x12dd79,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x125),(_0x25d273,{commentThreadId:_0x23716c,resolvedBy:_0x273954,resolvedAt:_0x205ed1})=>{const _0x17ff32=_0x67073c,_0x121915=_0x13dcc7[_0x17ff32(0x140)](_0x23716c);_0x121915&&_0x121915[_0x17ff32(0x132)]({'resolvedBy':_0x273954,'resolvedAt':_0x205ed1,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x136),(_0x488fbf,{commentThreadId:_0x36d2a3})=>{const _0x45db3f=_0x67073c,_0x5e8e95=_0x13dcc7[_0x45db3f(0x140)](_0x36d2a3);_0x5e8e95&&_0x5e8e95[_0x45db3f(0x148)]({'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x116),(_0x590ffe,{commentThreadId:_0x248276})=>{const _0x49b20f=_0x67073c,_0x45dbd5=_0x13dcc7[_0x49b20f(0x140)](_0x248276);_0x45dbd5&&_0x45dbd5[_0x49b20f(0x128)]({'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x165),(_0x2cb9d5,_0x214607)=>{const _0x5f52be=_0x67073c,_0x1560f3=_0x214607[_0x5f52be(0x16f)],_0x489e93=_0x13dcc7[_0x5f52be(0x140)](_0x1560f3);_0x489e93&&_0x489e93[_0x5f52be(0x127)]({...st(_0x214607),'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x113),(_0x420010,{commentThreadId:_0x5c241c,commentId:_0x54dbd9,content:_0x195c14,attributes:_0x1b5ef3})=>{const _0x1b7431=_0x67073c,_0x3df7a3=_0x13dcc7[_0x1b7431(0x140)](_0x5c241c);if(_0x3df7a3){const _0x510fe3=_0x3df7a3[_0x1b7431(0x133)](_0x54dbd9);_0x510fe3&&_0x510fe3[_0x1b7431(0x118)]({'content':_0x195c14,'attributes':_0x1b5ef3,'isFromAdapter':!0x0});}}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x161),(_0xf3c19f,{commentThreadId:_0x558bcd,commentId:_0x33ba6f})=>{const _0x25b962=_0x67073c,_0x13150a=_0x13dcc7[_0x25b962(0x140)](_0x558bcd);if(_0x13150a){const _0x3b5652=_0x13150a[_0x25b962(0x133)](_0x33ba6f);_0x3b5652&&_0x3b5652[_0x25b962(0x128)]({'isFromAdapter':!0x0});}}),await this[_0x67073c(0x121)](_0x1b478b);}[_0x148c5d(0x14a)](){const _0x2259c0=_0x148c5d;if(this[_0x2259c0(0x164)]instanceof _0x586157){const _0xbd07fd=this[_0x2259c0(0x164)][_0x2259c0(0x170)][_0x2259c0(0x14b)](_0x2259c0(0x171));this[_0x2259c0(0x11c)](_0xbd07fd);}}[_0x148c5d(0x11c)](_0x34f6c6){const _0x1ae28e=_0x148c5d;if(!this[_0x1ae28e(0x151)][_0x1ae28e(0x159)](_0x34f6c6))throw new _0x256971(_0x1ae28e(0x123),null,{'channelId':_0x34f6c6});this[_0x1ae28e(0x168)](_0x34f6c6)[_0x1ae28e(0x11d)](),this[_0x1ae28e(0x151)][_0x1ae28e(0x131)](_0x34f6c6);}async[_0x148c5d(0x13f)](){const _0x2be89a=_0x148c5d;for(const _0x4e860f of this[_0x2be89a(0x151)][_0x2be89a(0x15f)]())await this[_0x2be89a(0x121)](_0x4e860f);if(this[_0x2be89a(0x164)]instanceof _0x586157){const _0x297b83=this[_0x2be89a(0x164)][_0x2be89a(0x170)][_0x2be89a(0x14b)](_0x2be89a(0x171)),_0x781559=this[_0x2be89a(0x164)][_0x2be89a(0x16a)][_0x2be89a(0x14b)](_0x46de8c);_0x781559[_0x2be89a(0x119)](_0x297b83);const _0xc593fc=await this[_0x2be89a(0x151)][_0x2be89a(0x14b)](_0x297b83)[_0x2be89a(0x110)]();_0x781559[_0x2be89a(0x15b)](_0x297b83,_0xc593fc);}}async[_0x148c5d(0x121)](_0x44f2e1){const _0xf2a3e8=_0x148c5d,{connection:_0x430f6d}=this[_0xf2a3e8(0x164)][_0xf2a3e8(0x16a)][_0xf2a3e8(0x14b)](_0x47d15c),_0x42e5e5=this[_0xf2a3e8(0x164)][_0xf2a3e8(0x16a)][_0xf2a3e8(0x14b)](_0xf2a3e8(0x137)),_0x5f59bf=this[_0xf2a3e8(0x151)][_0xf2a3e8(0x14b)](_0x44f2e1),_0x27ce05=await _0x5f59bf[_0xf2a3e8(0x15a)](_0x430f6d);await this[_0xf2a3e8(0x122)](_0x27ce05);const _0x26e34c=new Set(Array[_0xf2a3e8(0x15c)](_0x42e5e5[_0xf2a3e8(0x157)]({'channelId':_0x44f2e1}),_0x161bf2=>_0x161bf2['id']));for(const _0x3152a9 of _0x27ce05)_0x3152a9[_0xf2a3e8(0x138)]||_0x26e34c[_0xf2a3e8(0x131)](_0x3152a9[_0xf2a3e8(0x16f)]);for(const _0x21f495 of _0x26e34c)_0x42e5e5[_0xf2a3e8(0x140)](_0x21f495)[_0xf2a3e8(0x128)]({'isFromAdapter':!0x0});for(const _0x105bdd of _0x27ce05){let _0x531573=_0x42e5e5[_0xf2a3e8(0x140)](_0x105bdd[_0xf2a3e8(0x16f)]);const {commentThreadId:_0x51cc76,context:_0x5d05bc,attributes:_0x43c486,resolvedBy:_0x20151c,resolvedAt:_0x5a758a,unlinkedAt:_0x1fb7ff,deletedAt:_0x8b1b9}=_0x105bdd;if(_0x8b1b9)continue;_0x531573||(_0x531573=_0x42e5e5[_0xf2a3e8(0x115)]({'channelId':_0x44f2e1,'threadId':_0x51cc76,'context':_0x5d05bc,'attributes':_0x43c486||{},'resolvedBy':_0x20151c,'resolvedAt':_0x5a758a,'unlinkedAt':_0x1fb7ff,'isFromAdapter':!0x0}));const _0x106420=new Set(Array[_0xf2a3e8(0x15c)](_0x531573[_0xf2a3e8(0x150)],_0x2640a4=>_0x2640a4['id']));for(const _0x4af37f of _0x105bdd[_0xf2a3e8(0x150)])_0x106420[_0xf2a3e8(0x131)](_0x4af37f[_0xf2a3e8(0x12e)]);for(const _0x51e189 of _0x106420)_0x531573[_0xf2a3e8(0x133)](_0x51e189)[_0xf2a3e8(0x128)]({'isFromAdapter':!0x0});for(const _0x1b8aae of _0x105bdd[_0xf2a3e8(0x150)]){const _0x24ebea=_0x531573[_0xf2a3e8(0x133)](_0x1b8aae[_0xf2a3e8(0x12e)]);_0x24ebea?_0x24ebea[_0xf2a3e8(0x16e)]!==_0x1b8aae[_0xf2a3e8(0x16e)]&&_0x24ebea[_0xf2a3e8(0x118)]({'content':_0x1b8aae[_0xf2a3e8(0x16e)],'isFromAdapter':!0x0}):_0x531573[_0xf2a3e8(0x127)](Object[_0xf2a3e8(0x14c)](st(_0x1b8aae),{'isFromAdapter':!0x0}));}}}[_0x148c5d(0x168)](_0x55a6aa){const _0x498b57=_0x148c5d;if(!this[_0x498b57(0x151)][_0x498b57(0x159)](_0x55a6aa))throw new _0x256971(_0x498b57(0x143),null,{'channelId':_0x55a6aa});return this[_0x498b57(0x151)][_0x498b57(0x14b)](_0x55a6aa);}async[_0x148c5d(0x122)](_0x3f05f6){const _0x376a92=_0x148c5d,_0x19134f=this[_0x376a92(0x164)][_0x376a92(0x16a)][_0x376a92(0x14b)](_0x5582b6),{connection:_0x5de252}=this[_0x376a92(0x164)][_0x376a92(0x16a)][_0x376a92(0x14b)](_0x47d15c),_0x55bd9e=new Set();for(const {resolvedBy:_0x13e9ab,comments:_0x27db20}of _0x3f05f6){_0x13e9ab&&!_0x19134f[_0x376a92(0x13d)](_0x13e9ab)&&_0x55bd9e[_0x376a92(0x12c)](_0x13e9ab);for(const {userId:_0x5e2070}of _0x27db20)_0x19134f[_0x376a92(0x13d)](_0x5e2070)||_0x55bd9e[_0x376a92(0x12c)](_0x5e2070);}if(0x0===_0x55bd9e[_0x376a92(0x11e)])return;const _0x1ac21e=await _0x338c8f[_0x376a92(0x120)](_0x5de252,Array[_0x376a92(0x15c)](_0x55bd9e));for(const _0x4af791 of _0x1ac21e)_0x19134f[_0x376a92(0x13d)](_0x4af791['id'])||_0x19134f[_0x376a92(0x16c)](_0x4af791);}}function _0x39dc(_0x10ba23,_0x8e71af){const _0x412f60=_0x412f();return _0x39dc=function(_0x39dccf,_0x5f0aa5){_0x39dccf=_0x39dccf-0x10d;let _0x23ac78=_0x412f60[_0x39dccf];return _0x23ac78;},_0x39dc(_0x10ba23,_0x8e71af);}async function ot(_0x2c7c4b){const _0x2fcb1c=_0x148c5d;if(_0x2fcb1c(0x13c)!==_0x2c7c4b[_0x2fcb1c(0x15d)])throw _0x2c7c4b;}function nt(_0x28c0a4){const _0x147ace=_0x148c5d;if((_0xb01fe3=_0x28c0a4)[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x162))||_0xb01fe3[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x130))||_0xb01fe3[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x129)))return new Promise(()=>{});var _0xb01fe3;throw _0x28c0a4;}function st(_0x4f3fd){const _0x23abc5=_0x148c5d;return{'threadId':_0x4f3fd[_0x23abc5(0x16f)],'commentId':_0x4f3fd[_0x23abc5(0x12e)],'content':_0x4f3fd[_0x23abc5(0x16e)],'createdAt':_0x4f3fd[_0x23abc5(0x153)],'authorId':_0x4f3fd[_0x23abc5(0x10e)],'attributes':_0x4f3fd[_0x23abc5(0x13b)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31fcf9=_0xf1d4;(function(_0x1ad930,_0x5c836e){const _0x4fea82=_0xf1d4,_0x58b48c=_0x1ad930();while(!![]){try{const _0x33d78f=-parseInt(_0x4fea82(0x1b4))/0x1+-parseInt(_0x4fea82(0x1c2))/0x2*(-parseInt(_0x4fea82(0x1b7))/0x3)+parseInt(_0x4fea82(0x1c3))/0x4*(-parseInt(_0x4fea82(0x1bd))/0x5)+parseInt(_0x4fea82(0x1a1))/0x6+parseInt(_0x4fea82(0x1a9))/0x7+parseInt(_0x4fea82(0x1b9))/0x8*(-parseInt(_0x4fea82(0x1b6))/0x9)+parseInt(_0x4fea82(0x1a5))/0xa;if(_0x33d78f===_0x5c836e)break;else _0x58b48c['push'](_0x58b48c['shift']());}catch(_0x11f182){_0x58b48c['push'](_0x58b48c['shift']());}}}(_0x530c,0x2dbd6));import{Plugin as _0x4a998d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1ba27c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1586e8}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x9e70c3}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a998d{static get[_0x31fcf9(0x1a8)](){const _0x2161a3=_0x31fcf9;return[_0x2161a3(0x1af),_0x1ba27c,_0x1586e8,_0x9e70c3];}static get[_0x31fcf9(0x1b1)](){const _0x1ce799=_0x31fcf9;return _0x1ce799(0x1a2);}static get[_0x31fcf9(0x1bc)](){return!0x0;}static get[_0x31fcf9(0x1a4)](){return!0x0;}[_0x31fcf9(0x1c1)](){const _0x34c42c=_0x31fcf9,_0xd283eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x9e70c3),_0x45b1eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x34c42c(0x1aa)),_0xa39e28=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x1ba27c);return this[_0x34c42c(0x1a6)][_0x34c42c(0x1ae)][_0x34c42c(0x1b0)](_0x34c42c(0x1a3),()=>{const _0x2e028c=_0x34c42c;this[_0x2e028c(0x1be)](_0xd283eb,_0x2e028c(0x1b5),(_0x2eed70,_0x27cde8,_0x55d4a1)=>{const _0x266353=_0x2e028c;_0x45b1eb[_0x266353(0x1c0)]=_0x266353(0x1bb)!==_0x55d4a1;});}),this[_0x34c42c(0x1be)](_0xd283eb,_0x34c42c(0x1b5),(_0x26a70f,_0x538d09,_0x4f8f65)=>{const _0x3babb8=_0x34c42c;this[_0x3babb8(0x1a6)][_0x3babb8(0x1b8)][_0x3babb8(0x1ac)](_0x3babb8(0x1bf))[_0x3babb8(0x1b2)](_0x3babb8(0x1bb)!==_0x4f8f65);}),_0xa39e28[_0x34c42c(0x1b3)](this[_0x34c42c(0x1a6)][_0x34c42c(0x1a7)][_0x34c42c(0x1ac)](_0x34c42c(0x1ab)));}[_0x31fcf9(0x1ba)](){const _0x37faae=_0x31fcf9;this[_0x37faae(0x1a6)][_0x37faae(0x1b8)][_0x37faae(0x1ac)](_0x1ba27c)[_0x37faae(0x1ad)](this[_0x37faae(0x1a6)][_0x37faae(0x1a7)][_0x37faae(0x1ac)](_0x37faae(0x1ab))),super[_0x37faae(0x1ba)]();}}function _0xf1d4(_0x2aaf11,_0x3bad7e){const _0x530cbf=_0x530c();return _0xf1d4=function(_0xf1d47b,_0x133f28){_0xf1d47b=_0xf1d47b-0x1a1;let _0x4207c8=_0x530cbf[_0xf1d47b];return _0x4207c8;},_0xf1d4(_0x2aaf11,_0x3bad7e);}function _0x530c(){const _0x5d2899=['pluginName','switchReadOnly','_setUpService','234844IWfRXO','change:state','3008349NhmOeP','918006UrTUWL','plugins','8lWJHxl','destroy','connected','isOfficialPlugin','20oEjTFt','listenTo','CommentsRepository','isThreadsLoadingPaused','init','2OePrXf','335060TNEsDQ','2185224XMWpwO','RealTimeCollaborativeComments','ready','isPremiumPlugin','845660yUPdqQ','editor','config','requires','2357201sEpPvC','CommentsEditing','collaboration.channelId','get','_terminateService','data','Comments','once'];_0x530c=function(){return _0x5d2899;};return _0x530c();}
23
+ const _0x2eeb8f=_0x4d00;function _0x4d00(_0xfb61f8,_0x1cdb6a){const _0x186e28=_0x186e();return _0x4d00=function(_0x4d0014,_0x51f46e){_0x4d0014=_0x4d0014-0x1da;let _0x186346=_0x186e28[_0x4d0014];return _0x186346;},_0x4d00(_0xfb61f8,_0x1cdb6a);}(function(_0x167f3e,_0x3de924){const _0x3f4059=_0x4d00,_0x13b221=_0x167f3e();while(!![]){try{const _0x4c5881=parseInt(_0x3f4059(0x1e2))/0x1*(-parseInt(_0x3f4059(0x1fa))/0x2)+parseInt(_0x3f4059(0x1f3))/0x3+parseInt(_0x3f4059(0x1e7))/0x4+parseInt(_0x3f4059(0x1df))/0x5+-parseInt(_0x3f4059(0x1f5))/0x6+parseInt(_0x3f4059(0x1e0))/0x7*(-parseInt(_0x3f4059(0x1dd))/0x8)+-parseInt(_0x3f4059(0x1e3))/0x9*(-parseInt(_0x3f4059(0x1ea))/0xa);if(_0x4c5881===_0x3de924)break;else _0x13b221['push'](_0x13b221['shift']());}catch(_0x4538c3){_0x13b221['push'](_0x13b221['shift']());}}}(_0x186e,0x989f2));import{Plugin as _0x594e32}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x239481}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x186e(){const _0x1e4237=['7rzAGKK','once','109367ZaykDE','340749awdtpG','ready','data','isPremiumPlugin','3806360SZBSJK','CommentsEditing','change:state','100kjadao','Comments','collaboration.channelId','get','switchReadOnly','plugins','init','connected','CommentsRepository','1591815RXXdAs','destroy','6230754EYjhsI','config','RealTimeCollaborativeComments','listenTo','isOfficialPlugin','4BcOeQw','_terminateService','isThreadsLoadingPaused','editor','_setUpService','requires','4883384YJIzDn','pluginName','3159745DgwLOI'];_0x186e=function(){return _0x1e4237;};return _0x186e();}import{RealTimeCollaborativeEditing as _0x188f65}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x576657}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x594e32{static get[_0x2eeb8f(0x1dc)](){const _0x3984b4=_0x2eeb8f;return[_0x3984b4(0x1eb),_0x239481,_0x188f65,_0x576657];}static get[_0x2eeb8f(0x1de)](){const _0x2fca0c=_0x2eeb8f;return _0x2fca0c(0x1f7);}static get[_0x2eeb8f(0x1f9)](){return!0x0;}static get[_0x2eeb8f(0x1e6)](){return!0x0;}[_0x2eeb8f(0x1f0)](){const _0x52abda=_0x2eeb8f,_0x4bd4a2=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x576657),_0x2a92bb=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x52abda(0x1e8)),_0x24fc7d=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x239481);return this[_0x52abda(0x1da)][_0x52abda(0x1e5)][_0x52abda(0x1e1)](_0x52abda(0x1e4),()=>{const _0x548658=_0x52abda;this[_0x548658(0x1f8)](_0x4bd4a2,_0x548658(0x1e9),(_0x23f2fd,_0x33833a,_0x357a6f)=>{const _0x25104c=_0x548658;_0x2a92bb[_0x25104c(0x1fc)]=_0x25104c(0x1f1)!==_0x357a6f;});}),this[_0x52abda(0x1f8)](_0x4bd4a2,_0x52abda(0x1e9),(_0x19715d,_0x5e9f99,_0x322dec)=>{const _0x36a809=_0x52abda;this[_0x36a809(0x1da)][_0x36a809(0x1ef)][_0x36a809(0x1ed)](_0x36a809(0x1f2))[_0x36a809(0x1ee)](_0x36a809(0x1f1)!==_0x322dec);}),_0x24fc7d[_0x52abda(0x1db)](this[_0x52abda(0x1da)][_0x52abda(0x1f6)][_0x52abda(0x1ed)](_0x52abda(0x1ec)));}[_0x2eeb8f(0x1f4)](){const _0xab1f7b=_0x2eeb8f;this[_0xab1f7b(0x1da)][_0xab1f7b(0x1ef)][_0xab1f7b(0x1ed)](_0x239481)[_0xab1f7b(0x1fb)](this[_0xab1f7b(0x1da)][_0xab1f7b(0x1f6)][_0xab1f7b(0x1ed)](_0xab1f7b(0x1ec))),super[_0xab1f7b(0x1f4)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x590804=_0x3fe2;(function(_0x4a283a,_0x5b07c9){const _0x5b5650=_0x3fe2,_0x415190=_0x4a283a();while(!![]){try{const _0x3b7493=-parseInt(_0x5b5650(0x16b))/0x1+parseInt(_0x5b5650(0x1a3))/0x2+-parseInt(_0x5b5650(0x149))/0x3*(parseInt(_0x5b5650(0x1fc))/0x4)+-parseInt(_0x5b5650(0x144))/0x5+-parseInt(_0x5b5650(0x1ea))/0x6*(-parseInt(_0x5b5650(0x135))/0x7)+parseInt(_0x5b5650(0x1a9))/0x8+-parseInt(_0x5b5650(0x18e))/0x9*(-parseInt(_0x5b5650(0x1c5))/0xa);if(_0x3b7493===_0x5b07c9)break;else _0x415190['push'](_0x415190['shift']());}catch(_0x19c3aa){_0x415190['push'](_0x415190['shift']());}}}(_0x2b74,0x2a99a));import{Plugin as _0xae537,PendingActions as _0x49a0ed}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bac0b,version as _0x389919,uid as _0x30271c}from'ckeditor5/src/utils.js';import{Notification as _0x2a6059}from'ckeditor5/src/ui.js';function _0x2b74(){const _0x3d92be=['_offset','addRoot','addToReconnectionStack','root','init','path','_isPendingUpdate','start','_shouldSendSelectionUpdate','createRoot','_sendBufferedOperations','isOfficialPlugin','createPositionFromPath','_crash','removeFromReconnectionStack','3260dpOaYU','lastDocumentSession','setIdForTheLastOperation','_addKnownRoot','fire','_fetchMissingUsers','cs:removeUser','connect','collaboration.channelId','locale','_operationIdentifier','realtimecollaborationclient-init-service-incorrect-server-operation','showWarning','permissions','__className','_updateServerHistory','config','_saveOperationInBuffer','model','directChange','_operationToId','affectedSelectable','createUserMarkerOperations','listenTo','_handleServerResponse','_disconnectionOperations','_sendBufferedOperationsDelayId','message','_ignoredOperations','includes','document','enableReadOnlyMode','connected','Permissions','isEnabled','getConnectedSessions','finally','111252FZhlXj','history','marker','getOperationAuthor','_bufferRootLoad','PENDING_ACTION_SENDING_DATA','lastOperationId','$root','markers','return','sessionId','_currentBufferDelay','lastOperationAcceptedAt','createdAt','then','applyOperation','_handleReconnectionResponse','move','2216zzMAss','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectsData','addOperation','operationsReceived','keys','clone','map','offset','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_setUpDataInit','stopListening','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.','multi-root-editor-root-attributes-no-root','parse','enqueueChange','newRange','addUser','toJSON','realtimecollaborationclient-init-non-existent-root','off','string','get','round','_lastServerVersion','suppressErrorInCollaboration','apply','change:hasDomSelection','connection','batch','_refreshUserSelectionMarkers','InsertOperation','collaboration','_waitUntilSynced','pluginName','CommentsOnly','_handleInitialConnectionData','view','_handleReceivedOperations','_authorId','loadRoot','_lastSyncedOperationId','lastSyncVersion','_handleReconnectionError','push','rtc-offline','cloudServices.bundleVersion','editor','_isAttached','real-time-collaboration','realtimecollaborationclient-init-session-connection-error','getOperations','set','_getOperationsFromInitData','roots','size','reset','_bufferedOperations','_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','insert','createRange','getRoot','119TbhShY','requires','realtimecollaborationclient','slice','catch','state','Notification','_baseBufferDelay','addRootAttribute','_isConnected','wasUndone','length','baseVersion','realtimecollaborationclient-init-service-internal-error','document:write','1597805ZDPCqn','_isInit','_handleSendingSelectionMarkers','sendOperations','_service','840RbYBGo','_isLoaded','userId','fromJSON','_compressor','isDocumentOperation','channelSessions','_handleExternalOperations','unregister','getUser','createPositionAt','reconnect','_getAffectedRoot','_document','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','_loadRoot','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-handleserverresponse','_hasSynchronizationProblem','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','plugins','_initSessionsHandling','forEach','reconnection:\x20flushed\x20session','RealTimeCollaborationClient','stop','_isDisconnection','cloudDocumentVersion','startsWith','metadata','serverHistory','340495UQXjXH','from','differ','realtimecollaborationclient-sendbufferedoperations','_pendingAction','filter','sessionCreatedAt','realtimecollaborationclient-error','has','bind','high','initData','mySessionId','add','realtimecollaborationclient-init-connection-failed','CollaborativeEditingService','error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','_clearPendingAction','_knownOperations','_initThrowingOnDataSet','selection','rootName','_connectService','compress','attributes','_decompressOperations','rootsAttributes','wereChangesApplied','_disconnectService','sessionAdd:','_connectAfterSessionHasBeenFlushed','disconnected','_compressOperations','7758cxKYWz','decompress','version','change:_isPendingUpdate','disableReadOnlyMode','409','register','change:range','change:_isEditingAllowed','_channelId','getMany','destroy','remove','currentDocumentSession','rtc-destroyed','_sendBufferedOperationsDelayed','type','setPermissions','disconnect','entries','ready','512086xOEEkw','_hasSelectionChanged','code','isUndoneOperation','data','cloud-services-internal-error:\x20Request\x20timeout.','1099176piBVFD','_setPendingAction','define','end','getDocumentDetails','collaboration-missing-channelid','_applyOperationsSet','getIdOfTheLastOperation','targetPosition','position','Synchronization\x20issue','isReadOnly','404'];_0x2b74=function(){return _0x3d92be;};return _0x2b74();}import{transformOperationSets as _0x35f1db,NoOperation as _0x1125de,InsertOperation as _0x4953d9,MarkerOperation as _0x4b8200,RootAttributeOperation as _0x17c96e,OperationFactory as _0x35c5f8,History as _0x32dcfb}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1edf6e}from'./websocketgateway.js';import{Sessions as _0xeca481}from'./sessions.js';import{UserMarkers as _0xa483d3}from'./usermarkers.js';import{getTranslation as _0x59d0a9}from'../common-translations.js';import{Compressor as _0x1cfd92}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2dabef}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2a10b0,CollaborativeEditingService as _0x692b6a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let $=0x1;function _0x3fe2(_0x1a4f8c,_0x3ba2fa){const _0x2b744f=_0x2b74();return _0x3fe2=function(_0x3fe283,_0x5d6bbf){_0x3fe283=_0x3fe283-0x102;let _0x169b62=_0x2b744f[_0x3fe283];return _0x169b62;},_0x3fe2(_0x1a4f8c,_0x3ba2fa);}export class RealTimeCollaborationClient extends _0xae537{static [_0x590804(0x17a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x692b6a)());[_0x590804(0x1b6)];[_0x590804(0x1f4)];[_0x590804(0x16a)];[_0x590804(0x197)];[_0x590804(0x148)];[_0x590804(0x156)];[_0x590804(0x14d)];[_0x590804(0x12f)];[_0x590804(0x17f)];[_0x590804(0x15a)];[_0x590804(0x16f)];[_0x590804(0x1a4)];[_0x590804(0x1df)];[_0x590804(0x13c)];[_0x590804(0x1f5)];[_0x590804(0x11f)];[_0x590804(0x1de)];[_0x590804(0x1cf)];static get[_0x590804(0x136)](){return[_0x1edf6e,_0xeca481,_0xa483d3,_0x49a0ed,_0x2dabef,_0x2a6059];}static get[_0x590804(0x118)](){const _0x35e37c=_0x590804;return _0x35e37c(0x164);}static get[_0x590804(0x1c1)](){return!0x0;}static get[_0x590804(0x157)](){return!0x0;}get[_0x590804(0x167)](){const _0x19e900=_0x590804;return this[_0x19e900(0x10e)]+this[_0x19e900(0x1b6)];}get[_0x590804(0x10e)](){const _0x16732d=_0x590804;return this[_0x16732d(0x16a)][_0x16732d(0x190)]-this[_0x16732d(0x1b6)];}get[_0x590804(0x120)](){const _0x578248=_0x590804,_0x4a338a=this[_0x578248(0x16a)][_0x578248(0x129)]();for(let _0x2ce4ce=_0x4a338a[_0x578248(0x140)]-0x1;_0x2ce4ce>=0x0;_0x2ce4ce--){const _0x3fa6ef=_0x4a338a[_0x2ce4ce];if(!this[_0x578248(0x1de)][_0x578248(0x173)](_0x3fa6ef))return _0x3fa6ef[_0x578248(0x141)]+0x1-this[_0x578248(0x1b6)];}return 0x0;}constructor(_0x63c3ea){const _0x29a79a=_0x590804;if(super(_0x63c3ea),this[_0x29a79a(0x1b6)]=0x0,this[_0x29a79a(0x1f4)]=null,this[_0x29a79a(0x16a)]=new _0x32dcfb(),this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x1ab)](_0x29a79a(0x116),{}),this[_0x29a79a(0x197)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x1cd)),!this[_0x29a79a(0x197)])throw new _0x1bac0b(_0x29a79a(0x1ae),this);const _0x56f147=_0x63c3ea[_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x124))||_0x389919;this[_0x29a79a(0x148)]=new RealTimeCollaborationClient[(_0x29a79a(0x17a))](_0x56f147,this[_0x29a79a(0x197)]),this[_0x29a79a(0x156)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d7)][_0x29a79a(0x1e3)],this[_0x29a79a(0x14d)]=new _0x1cfd92(),this[_0x29a79a(0x12f)]=[],this[_0x29a79a(0x17f)]=new WeakSet(),this[_0x29a79a(0x15a)]=new Set(),this[_0x29a79a(0x12a)](_0x29a79a(0x1bc),!0x1),this[_0x29a79a(0x12a)](_0x29a79a(0x15d),!0x1),this[_0x29a79a(0x16f)]=null,this[_0x29a79a(0x1a4)]=!0x1,this[_0x29a79a(0x1df)]=null,this[_0x29a79a(0x13c)]=0x12c,this[_0x29a79a(0x1f5)]=this[_0x29a79a(0x13c)],this[_0x29a79a(0x11f)]=null,this[_0x29a79a(0x1de)]=new WeakSet(),this[_0x29a79a(0x1cf)]=new Q(this[_0x29a79a(0x1de)]);}[_0x590804(0x1ba)](){const _0x52a63f=_0x590804,_0x3b678e=this[_0x52a63f(0x125)],_0x43f254=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x2dabef),_0x5d74fb=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x1edf6e);this[_0x52a63f(0x1dc)](_0x43f254,_0x52a63f(0x1ed),(_0x5be822,_0x1dae5f)=>{const _0x399914=_0x52a63f,_0xe1ac98=_0x1dae5f[0x0];_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=_0x43f254[_0x399914(0x152)](_0xe1ac98[_0x399914(0x11d)]),_0x5be822[_0x399914(0x165)]()),null===_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=null,_0x5be822[_0x399914(0x165)]());},{'priority':_0x52a63f(0x175)}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x1d7)][_0x52a63f(0x1e3)][_0x52a63f(0x181)],_0x52a63f(0x195),(_0x2e9d0a,_0x4ebb8e)=>{const _0x48220d=_0x52a63f;_0x4ebb8e[_0x48220d(0x1d8)]&&this[_0x48220d(0x114)]();}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x17d)][_0x52a63f(0x11b)],_0x52a63f(0x111),()=>{const _0x284ed0=_0x52a63f;this[_0x284ed0(0x114)]();}),this[_0x52a63f(0x180)](),_0x3b678e[_0x52a63f(0x1d7)]['on'](_0x52a63f(0x1f9),(_0x19112d,_0x90da9)=>{const _0x186cf9=_0x52a63f,_0x2ee087=_0x90da9[0x0];_0x2ee087[_0x186cf9(0x14e)]&&(this[_0x186cf9(0x1d6)](_0x2ee087),this[_0x186cf9(0x15e)]()&&this[_0x186cf9(0x19d)]());}),this[_0x52a63f(0x206)](),this[_0x52a63f(0x174)](_0x52a63f(0x130))['to'](_0x5d74fb,_0x52a63f(0x13a),this,_0x52a63f(0x15d),(_0x14cb4b,_0x26928e)=>_0x52a63f(0x1e5)===_0x14cb4b&&!_0x26928e),this['on'](_0x52a63f(0x196),()=>{const _0xba03d7=_0x52a63f;this[_0xba03d7(0x130)]?_0x3b678e[_0xba03d7(0x192)](_0xba03d7(0x123)):_0x3b678e[_0xba03d7(0x1e4)](_0xba03d7(0x123));}),this[_0x52a63f(0x130)]?_0x3b678e[_0x52a63f(0x192)](_0x52a63f(0x123)):_0x3b678e[_0x52a63f(0x1e4)](_0x52a63f(0x123)),this[_0x52a63f(0x12a)](_0x52a63f(0x13e),!0x1);}async[_0x590804(0x154)](){const _0x3fc9b1=_0x590804,_0x7c0be7=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0xeca481),_0x24c73a=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0x1edf6e);try{this[_0x3fc9b1(0x1bc)]=!0x0,_0x7c0be7[_0x3fc9b1(0x151)](this[_0x3fc9b1(0x197)]);const _0x52e229=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x154)](_0x24c73a[_0x3fc9b1(0x112)],this[_0x3fc9b1(0x120)]);await this[_0x3fc9b1(0x1fa)](_0x52e229)&&(this[_0x3fc9b1(0x1bc)]=!0x1,this[_0x3fc9b1(0x17e)]());const _0x57b19a=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x1e8)]();_0x7c0be7[_0x3fc9b1(0x194)](this[_0x3fc9b1(0x197)],_0x57b19a),this[_0x3fc9b1(0x146)](),this[_0x3fc9b1(0x13e)]=!0x0;}catch(_0x269d1c){if(function(_0x430da0){const _0x419557=_0x3fc9b1;return _0x419557(0x1b5)===_0x430da0[_0x419557(0x1a5)];}(_0x269d1c)&&this[_0x3fc9b1(0x1f4)])await this[_0x3fc9b1(0x18b)]();else{if(function(_0x2dcbcb){const _0x341e28=_0x3fc9b1;return _0x341e28(0x193)===_0x2dcbcb[_0x341e28(0x1a5)];}(_0x269d1c)){const _0x4be191=_0x59d0a9(this[_0x3fc9b1(0x125)][_0x3fc9b1(0x1ce)],_0x3fc9b1(0x17c));this[_0x3fc9b1(0x121)](_0x4be191);}else{if(!(_0x269d1c instanceof K))throw _0x269d1c;this[_0x3fc9b1(0x121)]();}}}}[_0x590804(0x199)](){const _0x455d5d=_0x590804,_0x7e050c=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0x1edf6e),_0x892a5a=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0xeca481);this[_0x455d5d(0x125)][_0x455d5d(0x1e4)](_0x455d5d(0x19c)),_0x892a5a[_0x455d5d(0x14f)][_0x455d5d(0x173)](this[_0x455d5d(0x197)])&&_0x892a5a[_0x455d5d(0x151)](this[_0x455d5d(0x197)]),_0x7e050c[_0x455d5d(0x1c4)](this),this[_0x455d5d(0x189)](),super[_0x455d5d(0x199)]();}async[_0x590804(0x1fa)](_0x3958ee){const _0x49fdbb=_0x590804;if(this[_0x49fdbb(0x1f4)]!==_0x3958ee[_0x49fdbb(0x1f4)]&&this[_0x49fdbb(0x11f)]!==_0x3958ee[_0x49fdbb(0x1f0)])throw new K();return this[_0x49fdbb(0x1f4)]=_0x3958ee[_0x49fdbb(0x1f4)],this[_0x49fdbb(0x1dd)]([],{..._0x3958ee,'wereChangesApplied':!0x1,'data':_0x3958ee[_0x49fdbb(0x1a7)]},_0x49fdbb(0x154));}async[_0x590804(0x183)](_0x10d52f,_0x43c71e=!0x1){const _0x586869=_0x590804,{connection:_0x111a4c}=this[_0x586869(0x125)][_0x586869(0x160)][_0x586869(0x10c)](_0x1edf6e);RealTimeCollaborationClient[_0x586869(0x17a)][_0x586869(0x1e8)](_0x111a4c,this[_0x586869(0x197)])[_0x586869(0x1f8)](_0x3292b0=>this[_0x586869(0x161)](_0x3292b0))[_0x586869(0x139)](_0x495af1=>{const _0xc6a947=_0x586869;this[_0xc6a947(0x1c3)](_0xc6a947(0x128),_0x495af1);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x200),this[_0x586869(0x11c)][_0x586869(0x174)](this)),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x17b),(_0x2b87fe,_0x57eaa2)=>{const _0x26b1fd=_0x586869;this[_0x26b1fd(0x1c3)](_0x26b1fd(0x142),_0x57eaa2);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x18c),()=>{const _0x3a1bd5=_0x586869;this[_0x3a1bd5(0x13e)]=!0x1;});const _0x49af8f=this[_0x586869(0x1cf)][_0x586869(0x1b0)](_0x10d52f);this[_0x586869(0x1bc)]=!0x0;const _0x4cb415=await this[_0x586869(0x148)][_0x586869(0x1cc)](_0x111a4c,this[_0x586869(0x18d)](_0x10d52f),_0x49af8f);if(this[_0x586869(0x1f4)]=_0x4cb415[_0x586869(0x1f4)],_0x43c71e){if(!_0x4cb415[_0x586869(0x188)])return void this[_0x586869(0x121)]();this[_0x586869(0x1bc)]=!0x1,this[_0x586869(0x17e)](),this[_0x586869(0x16a)][_0x586869(0x12e)](),this[_0x586869(0x1b6)]=_0x4cb415[_0x586869(0x204)],this[_0x586869(0x16a)][_0x586869(0x190)]=this[_0x586869(0x1b6)],await this[_0x586869(0x1dd)](_0x10d52f,_0x4cb415,_0x586869(0x163));}else await this[_0x586869(0x11a)](_0x4cb415,_0x10d52f);this[_0x586869(0x146)](),this[_0x586869(0x13e)]=!0x0;}[_0x590804(0x146)](){const _0x2033e4=_0x590804,_0x5b7bae=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xeca481),_0x2f5d78=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xa483d3),_0x2ce7b7=_0x5b7bae[_0x2033e4(0x14f)][_0x2033e4(0x10c)](this[_0x2033e4(0x197)]);_0x2ce7b7&&_0x2ce7b7[_0x2033e4(0x140)]>0x1?_0x2f5d78[_0x2033e4(0x1db)]():this[_0x2033e4(0x1dc)](_0x5b7bae,_0x2033e4(0x18a)+this[_0x2033e4(0x197)],()=>{const _0x108c7d=_0x2033e4;0x2===_0x5b7bae[_0x108c7d(0x14f)][_0x108c7d(0x10c)](this[_0x108c7d(0x197)])[_0x108c7d(0x140)]&&_0x2f5d78[_0x108c7d(0x1db)]();});}async[_0x590804(0x11c)](_0x413075,_0x53f579,_0x7ce15b,_0x247496){const _0x571221=_0x590804;if(!this[_0x571221(0x1bc)]&&this[_0x571221(0x156)][_0x571221(0x190)]==_0x53f579){const _0x1fe920=this[_0x571221(0x186)](_0x7ce15b,_0x247496);await this[_0x571221(0x1ca)](_0x1fe920),this[_0x571221(0x150)](_0x1fe920,_0x53f579,_0x7ce15b[_0x571221(0x1f0)])||this[_0x571221(0x1c3)](_0x571221(0x1d0));}}async[_0x590804(0x18b)](){const _0x307ead=_0x590804;this[_0x307ead(0x189)]();const {locale:_0x10c35d}=this[_0x307ead(0x125)];let _0x58ef9f;try{_0x58ef9f=await this[_0x307ead(0x148)][_0x307ead(0x1ad)]();}catch{const _0x4f69dd=_0x59d0a9(_0x10c35d,_0x307ead(0x15f));return void this[_0x307ead(0x121)](_0x4f69dd);}const _0x580566=_0x58ef9f[_0x307ead(0x19b)]||_0x58ef9f[_0x307ead(0x1c6)];if(this[_0x307ead(0x11f)]!==_0x580566[_0x307ead(0x1f0)]){const _0x1bb0a0=_0x59d0a9(_0x10c35d,_0x307ead(0x102));return void this[_0x307ead(0x121)](_0x1bb0a0);}await this[_0x307ead(0x183)](this[_0x307ead(0x125)][_0x307ead(0x1d7)][_0x307ead(0x1e3)][_0x307ead(0x1eb)][_0x307ead(0x129)](),!0x0);}[_0x590804(0x189)](){const _0x162734=_0x590804;this[_0x162734(0x148)][_0x162734(0x1a0)](),this[_0x162734(0x12f)]=[],clearTimeout(this[_0x162734(0x1df)]),this[_0x162734(0x207)](this[_0x162734(0x148)]);}[_0x590804(0x161)](_0x5eec31){const _0x5bd437=_0x590804,_0x3e1180=this[_0x5bd437(0x125)][_0x5bd437(0x160)][_0x5bd437(0x10c)](_0xeca481);this[_0x5bd437(0x1dc)](_0x3e1180,_0x5bd437(0x18a)+this[_0x5bd437(0x197)],(_0x4c0dcd,{session:_0x411808})=>{const _0x164c15=_0x5bd437;if(_0x411808['id']===_0x3e1180[_0x164c15(0x177)]){_0x4c0dcd[_0x164c15(0x10a)]();const _0x3e8bd8=this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x173)](_0x164c15(0x119))&&this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x119));let _0x34c421=_0x411808[_0x164c15(0x1d2)];_0x3e8bd8&&_0x3e8bd8[_0x164c15(0x1e7)]&&(_0x34c421=_0x34c421[_0x164c15(0x170)](_0x3a4e9c=>_0x164c15(0x143)!==_0x3a4e9c)),this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x1e6))[_0x164c15(0x19f)](_0x34c421,this[_0x164c15(0x197)]);}}),_0x3e1180[_0x5bd437(0x194)](this[_0x5bd437(0x197)],_0x5eec31);}[_0x590804(0x180)](){const _0x20b12e=_0x590804,_0x4368db=this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)];this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)]=(..._0x3dd32e)=>{const _0x469f8f=_0x20b12e;if(!_0x3dd32e[_0x3dd32e[_0x469f8f(0x140)]-0x1][_0x469f8f(0x10f)])throw new _0x1bac0b(_0x469f8f(0x205),this);_0x4368db[_0x469f8f(0x110)](this[_0x469f8f(0x125)][_0x469f8f(0x1a7)],_0x3dd32e);};}[_0x590804(0x206)](){const _0x243d5b=_0x590804;this[_0x243d5b(0x125)][_0x243d5b(0x1a7)]['on'](_0x243d5b(0x1ba),(_0x2d3b7e,[_0x3a9ca4])=>{const _0x2586d6=_0x243d5b;if(this[_0x2586d6(0x156)][_0x2586d6(0x190)])throw new _0x1bac0b(_0x2586d6(0x131),this);_0x2d3b7e[_0x2586d6(0x165)](),this[_0x2586d6(0x1aa)]();const _0x4d79cc=this[_0x2586d6(0x125)][_0x2586d6(0x1d5)][_0x2586d6(0x10c)](_0x2586d6(0x187)),_0x513dbc=this[_0x2586d6(0x12b)](_0x3a9ca4,_0x4d79cc);0x0==_0x513dbc[_0x2586d6(0x140)]&&_0x513dbc[_0x2586d6(0x122)](new _0x1125de(0x0)),_0x2d3b7e[_0x2586d6(0x1f3)]=this[_0x2586d6(0x183)](_0x513dbc)[_0x2586d6(0x1f8)](()=>{const _0x50a469=_0x2586d6;this[_0x50a469(0x125)][_0x50a469(0x160)][_0x50a469(0x10c)](_0x1edf6e)[_0x50a469(0x1b8)](this),this[_0x50a469(0x125)][_0x50a469(0x1a7)][_0x50a469(0x1c9)](_0x50a469(0x1a2));})[_0x2586d6(0x139)](_0x2d28e9=>this[_0x2586d6(0x1c3)](_0x2586d6(0x179),_0x2d28e9))[_0x2586d6(0x1e9)](()=>this[_0x2586d6(0x17e)]());},{'priority':_0x243d5b(0x175)}),this[_0x243d5b(0x125)]['on'](_0x243d5b(0x11e),async(_0x39be0e,[_0x4d76a3,_0x229c46])=>{const _0x327ed7=_0x243d5b;_0x39be0e[_0x327ed7(0x165)]();const _0xf90078=this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x1e3)][_0x327ed7(0x134)](_0x4d76a3);if(!this[_0x327ed7(0x15a)][_0x327ed7(0x173)](_0x4d76a3)){const _0x3bb19c=_0x229c46&&_0x229c46[_0x327ed7(0x1a7)]?_0x229c46[_0x327ed7(0x1a7)]:'',_0x319aac=_0x229c46&&_0x229c46[_0x327ed7(0x185)]?_0x229c46[_0x327ed7(0x185)]:{};await this[_0x327ed7(0x159)](_0x4d76a3,_0x3bb19c,_0x319aac);}this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x105)]({'isUndoable':!0x1},()=>{const _0x449962=_0x327ed7;_0xf90078[_0x449962(0x14a)]=!0x0,this[_0x449962(0x125)][_0x449962(0x1d7)][_0x449962(0x1e3)][_0x449962(0x16d)][_0x449962(0x1ee)](_0xf90078);});},{'priority':_0x243d5b(0x175)});}async[_0x590804(0x1ca)](_0x49363c){const _0x1d8dbe=_0x590804,_0x5619c7=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x2dabef),{connection:_0x43df5f}=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x1edf6e),_0x4845cd=new Set();for(const _0x228f58 of _0x49363c){const _0x2685e1=_0x228f58[_0x1d8dbe(0x11d)];_0x2685e1&&!_0x5619c7[_0x1d8dbe(0x152)](_0x2685e1)&&_0x4845cd[_0x1d8dbe(0x178)](_0x2685e1);}if(0x0===_0x4845cd[_0x1d8dbe(0x12d)])return;const _0x2046ea=await _0x2a10b0[_0x1d8dbe(0x198)](_0x43df5f,Array[_0x1d8dbe(0x16c)](_0x4845cd));for(const _0x3b4458 of _0x2046ea)_0x5619c7[_0x1d8dbe(0x152)](_0x3b4458['id'])||_0x5619c7[_0x1d8dbe(0x107)](_0x3b4458);}[_0x590804(0x12b)](_0x51e2fa,_0x41fb50={}){const _0x243a7f=_0x590804,_0x36ef7a=this[_0x243a7f(0x125)][_0x243a7f(0x1d7)],_0x2520a1=[];let _0x4d8e74=0x0;const _0x4822eb=_0x243a7f(0x10b)==typeof _0x51e2fa?{'main':_0x51e2fa}:_0x51e2fa;for(const _0x4c410f of Object[_0x243a7f(0x201)](_0x4822eb)){if(!this[_0x243a7f(0x156)][_0x243a7f(0x12c)][_0x243a7f(0x173)](_0x4c410f))throw new _0x1bac0b(_0x243a7f(0x109),this);const _0x4d7b96=this[_0x243a7f(0x125)][_0x243a7f(0x1a7)][_0x243a7f(0x104)](_0x4822eb[_0x4c410f]),_0xdc51b4=this[_0x243a7f(0x156)][_0x243a7f(0x134)](_0x4c410f),_0x46c900=new _0x4953d9(_0x36ef7a[_0x243a7f(0x153)](_0xdc51b4,0x0),_0x4d7b96,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x46c900);for(const [_0x3c87eb,_0x3087cc]of _0x4d7b96[_0x243a7f(0x1f2)]){const _0xe84c6=_0x36ef7a[_0x243a7f(0x133)](_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1bd)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]()),_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1ac)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]())),_0x4a40db=new _0x4b8200(_0x3c87eb,null,_0xe84c6,_0x36ef7a[_0x243a7f(0x1f2)],!0x0,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x4a40db);}}if(_0x41fb50)for(const [_0x20b159,_0x3cb5bb]of Object[_0x243a7f(0x1a1)](_0x41fb50)){const _0x22ced9=_0x36ef7a[_0x243a7f(0x1e3)][_0x243a7f(0x134)](_0x20b159);if(!_0x22ced9)throw new _0x1bac0b(_0x243a7f(0x103),null);for(const [_0x1ca34b,_0x471cc3]of Object[_0x243a7f(0x1a1)](_0x3cb5bb))if(null!==_0x471cc3){const _0x5e75c1=new _0x17c96e(_0x22ced9,_0x1ca34b,null,_0x471cc3,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x5e75c1);}}return _0x2520a1;}async[_0x590804(0x159)](_0x26bcb3,_0x790fa3,_0x270499){const _0x4abf54=_0x590804;this[_0x4abf54(0x12b)]({[_0x26bcb3]:_0x790fa3},{[_0x26bcb3]:_0x270499})[_0x4abf54(0x162)]((_0x9d9c7c,_0x1ed303)=>{const _0x3cce17=_0x4abf54;_0x9d9c7c[_0x3cce17(0x141)]=this[_0x3cce17(0x156)][_0x3cce17(0x190)]+_0x1ed303,_0x9d9c7c[_0x3cce17(0x145)]=!0x0,this[_0x3cce17(0x1d6)](_0x9d9c7c);}),this[_0x4abf54(0x19d)](),await this[_0x4abf54(0x117)]();}async[_0x590804(0x11a)](_0x1351d9,_0x36efa){const _0x3984bb=_0x590804;let _0x4ff1af;this[_0x3984bb(0x1b6)]=_0x1351d9[_0x3984bb(0x204)];const _0x541d49=_0x1351d9[_0x3984bb(0x188)]&&!_0x1351d9[_0x3984bb(0x176)],_0xa966c0=_0x541d49?0x0:_0x1351d9[_0x3984bb(0x1a7)][_0x3984bb(0x141)];if(_0x36efa[_0x3984bb(0x162)](_0x4079e3=>{const _0x293d6c=_0x3984bb;_0x4079e3[_0x293d6c(0x145)]=!0x0,_0x4079e3[_0x293d6c(0x1f7)]=_0x1351d9[_0x293d6c(0x171)],_0x4079e3[_0x293d6c(0x11d)]=null;}),_0x541d49)_0x4ff1af=_0x36efa,this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);else{if(_0x1351d9[_0x3984bb(0x176)]){const _0x326a00=this[_0x3984bb(0x12b)](_0x1351d9[_0x3984bb(0x176)]);this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)],_0x326a00[_0x3984bb(0x162)](_0x4e1b6e=>{const _0x160efd=_0x3984bb;_0x4e1b6e[_0x160efd(0x141)]-=_0x326a00[_0x160efd(0x140)],_0x4e1b6e[_0x160efd(0x1f7)]=_0x1351d9[_0x160efd(0x171)],_0x4e1b6e[_0x160efd(0x145)]=!0x0,_0x4e1b6e[_0x160efd(0x11d)]=null;}),this[_0x3984bb(0x1af)](_0x326a00,!0x0),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)]+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x326a00);}this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=_0xa966c0,_0x4ff1af=this[_0x3984bb(0x186)](_0x1351d9[_0x3984bb(0x1a7)],_0x1351d9[_0x3984bb(0x169)]),await this[_0x3984bb(0x1ca)](_0x4ff1af),this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);}_0x1351d9[_0x3984bb(0x1f0)]&&(this[_0x3984bb(0x1cf)][_0x3984bb(0x1c7)](_0x4ff1af,_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x11f)]=_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=_0xa966c0+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x4ff1af),_0x36efa[_0x3984bb(0x170)](_0x2a00ab=>{const _0x11e6bd=_0x3984bb,_0x5b019b=this[_0x11e6bd(0x155)](_0x2a00ab);return _0x5b019b&&!this[_0x11e6bd(0x15a)][_0x11e6bd(0x173)](_0x5b019b);})[_0x3984bb(0x162)]((_0x3fddb1,_0x308d88)=>{const _0x2bf9a7=_0x3984bb;_0x3fddb1[_0x2bf9a7(0x141)]=this[_0x2bf9a7(0x156)][_0x2bf9a7(0x190)]+_0x308d88,this[_0x2bf9a7(0x1d6)](_0x3fddb1);}),this[_0x3984bb(0x15e)]()?(this[_0x3984bb(0x1f5)]=0x0,this[_0x3984bb(0x19d)](!0x0),await this[_0x3984bb(0x117)]()):(this[_0x3984bb(0x1bc)]=!0x1,this[_0x3984bb(0x17e)]());}[_0x590804(0x1c3)](_0x2d3598,_0x3fb864){const _0x5c552c=_0x590804,_0x332218=_0x3fb864&&_0x3fb864[_0x5c552c(0x1e0)];if(_0x332218&&_0x332218[_0x5c552c(0x168)](_0x5c552c(0x137)))throw _0x3fb864;const _0x2a7d02=this[_0x5c552c(0x125)][_0x5c552c(0x160)][_0x5c552c(0x10c)](_0x1edf6e);throw this[_0x5c552c(0x1bc)]=!0x0,_0x2a7d02[_0x5c552c(0x1a0)](),this[_0x5c552c(0x125)][_0x5c552c(0x1e4)](_0x5c552c(0x172)),new _0x1bac0b(_0x2d3598,this[_0x5c552c(0x125)],_0x332218?{'originalError':_0x332218}:void 0x0);}[_0x590804(0x1d6)](_0x4c4300){const _0x556e78=_0x590804;this[_0x556e78(0x17f)][_0x556e78(0x173)](_0x4c4300)||(this[_0x556e78(0x17f)][_0x556e78(0x178)](_0x4c4300),this[_0x556e78(0x12f)][_0x556e78(0x122)](_0x4c4300),this[_0x556e78(0x16f)]||_0x556e78(0x1ec)==_0x4c4300[_0x556e78(0x19e)]&&!_0x4c4300[_0x556e78(0x1fe)]||this[_0x556e78(0x1aa)]());}[_0x590804(0x19d)](_0x408bf6=!0x1){const _0x2804c4=_0x590804;!_0x408bf6&&this[_0x2804c4(0x1bc)]||(this[_0x2804c4(0x1bc)]=!0x0,clearTimeout(this[_0x2804c4(0x1df)]),this[_0x2804c4(0x1df)]=setTimeout(()=>{const _0x1646eb=_0x2804c4;this[_0x1646eb(0x1c0)]()[_0x1646eb(0x1f8)](_0x345538=>{const _0x2772f9=_0x1646eb;_0x345538&&(this[_0x2772f9(0x17e)](),this[_0x2772f9(0x1bc)]=!0x1);})[_0x1646eb(0x139)](_0x5b8c9e=>{const _0x46a333=_0x1646eb;this[_0x46a333(0x17e)](),this[_0x46a333(0x1bc)]=!0x1,function(_0x13be63){const _0x38909a=_0x46a333;return _0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x158))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x15b))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x1a8));}(_0x5b8c9e)||this[_0x46a333(0x1c3)](_0x5b8c9e[_0x46a333(0x1e0)],_0x5b8c9e);});},this[_0x2804c4(0x1f5)]));}[_0x590804(0x117)](){return new Promise(_0x35c8ca=>{const _0x57f25d=_0x3fe2;this['on'](_0x57f25d(0x191),()=>{_0x35c8ca();});});}async[_0x590804(0x1c0)](){const _0x1aef71=_0x590804,_0x17f0a5=this[_0x1aef71(0x125)][_0x1aef71(0x160)][_0x1aef71(0x10c)](_0xa483d3);if(this[_0x1aef71(0x1be)]()&&(_0x17f0a5[_0x1aef71(0x1db)](),this[_0x1aef71(0x1a4)]=!0x1),!this[_0x1aef71(0x15e)]())return!0x0;const _0x384823=[...this[_0x1aef71(0x12f)]];for(const _0x132f9f of _0x384823)_0x132f9f[_0x1aef71(0x13f)]=this[_0x1aef71(0x156)][_0x1aef71(0x1eb)][_0x1aef71(0x1a6)](_0x132f9f);const _0x50604d=this[_0x1aef71(0x1cf)][_0x1aef71(0x1b0)](_0x384823),_0x4de396=$++,_0x4208ab=this[_0x1aef71(0x18d)](_0x384823),_0x196efa=await this[_0x1aef71(0x148)][_0x1aef71(0x147)](_0x4208ab,_0x4208ab[_0x1aef71(0x141)],_0x50604d);try{return await this[_0x1aef71(0x1dd)](_0x384823,_0x196efa,_0x4de396);}catch(_0x448cf5){return this[_0x1aef71(0x1c3)](_0x1aef71(0x16e),_0x448cf5);}}async[_0x590804(0x1dd)](_0x585bee,_0x4d04f9,_0x220f92){const _0x502794=_0x590804;if(_0x502794(0x17b)in _0x4d04f9)throw _0x4d04f9[_0x502794(0x17b)];let _0x3bfcda=!0x1;if(_0x4d04f9[_0x502794(0x188)]){_0x4d04f9[_0x502794(0x1f0)]&&(this[_0x502794(0x11f)]=_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x1acd1f=>!_0x585bee[_0x502794(0x1e2)](_0x1acd1f));for(const _0x3cfa10 of _0x585bee)_0x3cfa10[_0x502794(0x1f7)]=_0x502794(0x1f6)in _0x4d04f9&&_0x4d04f9[_0x502794(0x1f6)]||void 0x0;J(_0x585bee,_0x4d04f9[_0x502794(0x190)]-_0x585bee[_0x502794(0x140)]),this[_0x502794(0x1d4)](_0x585bee);const _0x1bd875=_0x585bee[_0x502794(0x170)](_0x31a70a=>{const _0x2ec47a=_0x502794;if(!_0x31a70a[_0x2ec47a(0x145)])return!0x1;const _0xd0ebd4=this[_0x2ec47a(0x155)](_0x31a70a);return _0xd0ebd4&&!this[_0x2ec47a(0x15a)][_0x2ec47a(0x173)](_0xd0ebd4);});J(_0x1bd875,this[_0x502794(0x156)][_0x502794(0x190)]),this[_0x502794(0x1af)](_0x1bd875),_0x3bfcda=!0x0,this[_0x502794(0x1f5)]=this[_0x502794(0x13c)];}else{const _0x2075ad=this[_0x502794(0x186)](_0x4d04f9[_0x502794(0x1a7)],_0x4d04f9[_0x502794(0x169)])[_0x502794(0x170)](_0x25946f=>_0x25946f[_0x502794(0x141)]>=this[_0x502794(0x10e)]);_0x2075ad[_0x502794(0x162)](_0xf44d43=>this[_0x502794(0x1c8)](_0xf44d43)),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x415a0d=>!_0x415a0d[_0x502794(0x145)]||!this[_0x502794(0x15a)][_0x502794(0x173)](this[_0x502794(0x155)](_0x415a0d))),this[_0x502794(0x12f)][_0x502794(0x140)]&&J(this[_0x502794(0x12f)],this[_0x502794(0x12f)][0x0][_0x502794(0x141)]),await this[_0x502794(0x1ca)](_0x2075ad),_0x3bfcda=this[_0x502794(0x150)](_0x2075ad,_0x4d04f9[_0x502794(0x190)],_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x1f5)]=Math[_0x502794(0x10d)](this[_0x502794(0x1f5)]/0x2);}return _0x3bfcda?!this[_0x502794(0x15e)]()||(this[_0x502794(0x19d)](!0x0),!0x1):this[_0x502794(0x1c3)](_0x502794(0x15c));}[_0x590804(0x150)](_0x35079c,_0x4a4d3a,_0x4aaeb8){const _0x4f942a=_0x590804;try{const _0x2d32c5={'document':this[_0x4f942a(0x156)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1fc690,operationsB:_0x3c5b56,originalOperations:_0x219033}=_0x35f1db(_0x35079c,this[_0x4f942a(0x12f)],_0x2d32c5);J(_0x1fc690,this[_0x4f942a(0x156)][_0x4f942a(0x190)]),J(_0x3c5b56,_0x4a4d3a);for(const _0x179f61 of _0x1fc690){const _0x2e5f67=_0x219033[_0x4f942a(0x10c)](_0x179f61);_0x179f61[_0x4f942a(0x11d)]=_0x2e5f67?_0x2e5f67[_0x4f942a(0x11d)]:null;}_0x4aaeb8&&(this[_0x4f942a(0x1cf)][_0x4f942a(0x1c7)](_0x35079c,_0x4aaeb8),this[_0x4f942a(0x11f)]=_0x4aaeb8),this[_0x4f942a(0x12f)]=[..._0x3c5b56],this[_0x4f942a(0x1af)](_0x1fc690),this[_0x4f942a(0x1d4)](_0x35079c);}catch(_0x1eaaa0){return console[_0x4f942a(0x17b)](_0x1eaaa0),!0x1;}return!0x0;}[_0x590804(0x1af)](_0x361bbf,_0x54269b=!0x1){const _0x3f60e0=_0x590804;this[_0x3f60e0(0x125)][_0x3f60e0(0x1d7)][_0x3f60e0(0x105)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4178bf=>{const _0x4a0cec=_0x3f60e0;for(const _0x4b4f09 of _0x361bbf)this[_0x4a0cec(0x17f)][_0x4a0cec(0x178)](_0x4b4f09),this[_0x4a0cec(0x1c8)](_0x4b4f09),_0x4178bf[_0x4a0cec(0x113)][_0x4a0cec(0x1ff)](_0x4b4f09),this[_0x4a0cec(0x125)][_0x4a0cec(0x1d7)][_0x4a0cec(0x1f9)](_0x4b4f09);});}[_0x590804(0x1c8)](_0x5c343c){const _0xf5f52a=_0x590804,_0x40ccef=this[_0xf5f52a(0x155)](_0x5c343c);_0x40ccef&&this[_0xf5f52a(0x15a)][_0xf5f52a(0x178)](_0x40ccef);}[_0x590804(0x155)](_0x3d4936){const _0x336850=_0x590804;let _0x2e6372,_0x1a7c6b;switch(_0x3d4936[_0x336850(0x19e)]){case _0x336850(0x132):_0x2e6372=_0x3d4936[_0x336850(0x1b2)][_0x336850(0x1b9)];break;case _0x336850(0x1ec):if(_0x1a7c6b=_0x3d4936[_0x336850(0x106)],!_0x1a7c6b)return null;_0x2e6372=_0x1a7c6b[_0x336850(0x1b9)];break;case _0x336850(0x13d):_0x2e6372=_0x3d4936[_0x336850(0x1b9)];break;case _0x336850(0x1b7):_0x2e6372=_0x3d4936[_0x336850(0x1da)];break;case _0x336850(0x1fb):_0x2e6372=_0x3d4936[_0x336850(0x1b1)][_0x336850(0x1b9)];break;default:return null;}return _0x2e6372[_0x336850(0x182)];}[_0x590804(0x1d4)](_0x135b53){const _0x43842a=_0x590804;_0x135b53[_0x43842a(0x162)](_0x37db43=>{const _0xb1badd=_0x43842a,_0x42874d=_0x37db43[_0xb1badd(0x202)]();_0x42874d[_0xb1badd(0x11d)]=_0x37db43[_0xb1badd(0x11d)],_0x42874d[_0xb1badd(0x145)]=!!_0x37db43[_0xb1badd(0x145)],_0x42874d[_0xb1badd(0x1f7)]=_0x37db43[_0xb1badd(0x1f7)],_0x42874d[_0xb1badd(0x141)]+=this[_0xb1badd(0x1b6)],_0x37db43[_0xb1badd(0x166)]&&this[_0xb1badd(0x1de)][_0xb1badd(0x178)](_0x42874d),this[_0xb1badd(0x16a)][_0xb1badd(0x1ff)](_0x42874d);});}[_0x590804(0x121)](_0x4fa33a){const _0x24c35c=_0x590804,_0x2832d4=this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x24c35c(0x13b)),_0x5e119a=this[_0x24c35c(0x125)][_0x24c35c(0x1ce)];_0x4fa33a||(_0x4fa33a=_0x59d0a9(_0x5e119a,_0x24c35c(0x1fd))),_0x2832d4[_0x24c35c(0x1d1)](_0x4fa33a,{'title':_0x59d0a9(_0x5e119a,_0x24c35c(0x1b3)),'namespace':_0x24c35c(0x127)}),this[_0x24c35c(0x15d)]=!0x0,clearTimeout(this[_0x24c35c(0x1df)]),this[_0x24c35c(0x12f)]=[],this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x1edf6e)[_0x24c35c(0x1a0)]();}[_0x590804(0x1aa)](){const _0x95218f=_0x590804;this[_0x95218f(0x16f)]||(this[_0x95218f(0x16f)]=this[_0x95218f(0x125)][_0x95218f(0x160)][_0x95218f(0x10c)](_0x49a0ed)[_0x95218f(0x178)](_0x59d0a9(this[_0x95218f(0x125)][_0x95218f(0x1ce)],_0x95218f(0x1ef))));}[_0x590804(0x17e)](){const _0x90abae=_0x590804;this[_0x90abae(0x16f)]&&(this[_0x90abae(0x125)][_0x90abae(0x160)][_0x90abae(0x10c)](_0x49a0ed)[_0x90abae(0x19a)](this[_0x90abae(0x16f)]),this[_0x90abae(0x16f)]=null);}[_0x590804(0x18d)](_0x2eca0d){const _0x4da08e=_0x590804,_0x202ede=_0x2eca0d[_0x4da08e(0x203)](_0xc24c64=>_0xc24c64[_0x4da08e(0x108)]());return this[_0x4da08e(0x14d)][_0x4da08e(0x184)](_0x202ede);}[_0x590804(0x186)](_0x607a8e,_0x53d189){const _0x2e5641=_0x590804;return this[_0x2e5641(0x14d)][_0x2e5641(0x18f)](_0x607a8e)[_0x2e5641(0x203)]((_0x3144d0,_0x34b416)=>{const _0x2de2c2=_0x2e5641,_0x29657c=_0x2de2c2(0x1ba)==_0x53d189[_0x34b416][_0x2de2c2(0x19e)];if(_0x2de2c2(0x115)==_0x3144d0[_0x2de2c2(0x1d3)]){const _0x5430d3=_0x3144d0[_0x2de2c2(0x1b2)][_0x2de2c2(0x1b9)];!this[_0x2de2c2(0x156)][_0x2de2c2(0x134)](_0x5430d3)&&(this[_0x2de2c2(0x156)][_0x2de2c2(0x1bf)](_0x2de2c2(0x1f1),_0x5430d3)[_0x2de2c2(0x126)]=!0x1);}const _0x212347=_0x35c5f8[_0x2de2c2(0x14c)](_0x3144d0,this[_0x2de2c2(0x156)]);return _0x212347[_0x2de2c2(0x13f)]=_0x3144d0[_0x2de2c2(0x13f)],_0x212347[_0x2de2c2(0x145)]=_0x29657c,_0x212347[_0x2de2c2(0x11d)]=_0x29657c?null:_0x53d189[_0x34b416][_0x2de2c2(0x14b)],_0x212347[_0x2de2c2(0x166)]=_0x2de2c2(0x1cb)===_0x53d189[_0x34b416][_0x2de2c2(0x19e)],_0x212347[_0x2de2c2(0x1f7)]=_0x53d189[_0x34b416][_0x2de2c2(0x1f7)],_0x212347;});}[_0x590804(0x114)](){const _0x30414d=_0x590804;this[_0x30414d(0x1a4)]=!0x0,this[_0x30414d(0x1be)]()?this[_0x30414d(0x19d)]():this[_0x30414d(0x1a4)]=!0x1;}[_0x590804(0x1be)](){const _0x4fc48e=_0x590804,_0x42489e=this[_0x4fc48e(0x125)][_0x4fc48e(0x160)][_0x4fc48e(0x10c)](_0xeca481)[_0x4fc48e(0x14f)][_0x4fc48e(0x10c)](this[_0x4fc48e(0x197)]);return!this[_0x4fc48e(0x125)][_0x4fc48e(0x1b4)]&&!!_0x42489e&&_0x42489e[_0x4fc48e(0x140)]>0x1&&this[_0x4fc48e(0x1a4)];}[_0x590804(0x15e)](){const _0x1ebaae=_0x590804;return this[_0x1ebaae(0x12f)][_0x1ebaae(0x140)]>0x0||this[_0x1ebaae(0x1be)]();}}class K extends Error{}function J(_0x28d2b4,_0x109307){const _0x199eb9=_0x590804;for(const _0x40ddb8 of _0x28d2b4)_0x40ddb8[_0x199eb9(0x141)]=_0x109307++;}class Q{[_0x590804(0x1e1)];[_0x590804(0x1d9)];constructor(_0x5c6a5b){const _0x3182f6=_0x590804;this[_0x3182f6(0x1e1)]=_0x5c6a5b,this[_0x3182f6(0x1d9)]=new WeakMap();}[_0x590804(0x1b0)](_0x2e51cd){const _0x2e2c48=_0x590804;let _0xb58305=_0x2e51cd[_0x2e2c48(0x140)];for(;_0xb58305--;){const _0x4a9084=_0x2e51cd[_0xb58305];if(!this[_0x2e2c48(0x1e1)][_0x2e2c48(0x173)](_0x4a9084)){if(!this[_0x2e2c48(0x1d9)][_0x2e2c48(0x173)](_0x4a9084)){const _0x87685f=_0x30271c()[_0x2e2c48(0x138)](0x1,0x12);this[_0x2e2c48(0x1d9)][_0x2e2c48(0x12a)](_0x4a9084,_0x87685f);}return this[_0x2e2c48(0x1d9)][_0x2e2c48(0x10c)](_0x4a9084);}}}[_0x590804(0x1c7)](_0x242df5,_0x20834d){const _0x42549b=_0x590804;if(!_0x20834d)return;let _0x2f8167=_0x242df5[_0x42549b(0x140)];for(;_0x2f8167--;){const _0xb93ac8=_0x242df5[_0x2f8167];this[_0x42549b(0x1e1)][_0x42549b(0x173)](_0xb93ac8)||this[_0x42549b(0x1d9)][_0x42549b(0x12a)](_0xb93ac8,_0x20834d);}}}
23
+ const _0x311249=_0x1fad;function _0x1fad(_0x375a09,_0x51c59d){const _0xeddd8f=_0xeddd();return _0x1fad=function(_0x1fadf4,_0x286e84){_0x1fadf4=_0x1fadf4-0x90;let _0x150982=_0xeddd8f[_0x1fadf4];return _0x150982;},_0x1fad(_0x375a09,_0x51c59d);}(function(_0x19cb1a,_0x11826d){const _0x3f567e=_0x1fad,_0x121cff=_0x19cb1a();while(!![]){try{const _0x3b4475=-parseInt(_0x3f567e(0x157))/0x1*(-parseInt(_0x3f567e(0x18d))/0x2)+parseInt(_0x3f567e(0xe2))/0x3+-parseInt(_0x3f567e(0xef))/0x4+-parseInt(_0x3f567e(0x145))/0x5*(parseInt(_0x3f567e(0xf3))/0x6)+parseInt(_0x3f567e(0x17c))/0x7+-parseInt(_0x3f567e(0x17e))/0x8+-parseInt(_0x3f567e(0xa0))/0x9*(-parseInt(_0x3f567e(0x14f))/0xa);if(_0x3b4475===_0x11826d)break;else _0x121cff['push'](_0x121cff['shift']());}catch(_0x534efb){_0x121cff['push'](_0x121cff['shift']());}}}(_0xeddd,0xeca19));import{Plugin as _0x27e9f5,PendingActions as _0x2c5b7c}from'ckeditor5/src/core.js';import{CKEditorError as _0x40c897,version as _0x203da6,uid as _0x3b35a5}from'ckeditor5/src/utils.js';import{Notification as _0x44c26d}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x58c5c9,NoOperation as _0x2057d4,InsertOperation as _0x183675,MarkerOperation as _0x99ed8f,RootAttributeOperation as _0x3e23b1,OperationFactory as _0x404ae6,History as _0x412bb2}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a0ccc}from'./websocketgateway.js';import{Sessions as _0x51b161}from'./sessions.js';import{UserMarkers as _0x50f671}from'./usermarkers.js';function _0xeddd(){const _0x4a6073=['createRange','cs:removeUser','collaboration-missing-channelid','4563184IecGfV','from','reconnect','disconnected','132GaMtEV','startsWith','size','addUser','_knownRootNames','requires','change:hasDomSelection','_operationIdentifier','_compressor','catch','keys','enableReadOnlyMode','move','define','_isAttached','attributes','then','getIdOfTheLastOperation','markers','insert','real-time-collaboration','_handleSendingSelectionMarkers','rootName','lastOperationId','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','data','addOperation','error','filter','_sendBufferedOperationsDelayed','_handleInitialConnectionData','rtc-destroyed','stopListening','return','model','version','compress','isDocumentOperation','_initThrowingOnDataSet','__className','getRoot','fromJSON','newRange','getMany','_addKnownRoot','_hasSynchronizationProblem','connection','_initSessionsHandling','toJSON','rtc-offline','setIdForTheLastOperation','_getAffectedRoot','collaboration.channelId','differ','_connectService','createdAt','_offset','_handleReconnectionError','change:_isEditingAllowed','cloudDocumentVersion','$root','clone','channelSessions','lastOperationAcceptedAt','sendOperations','root','roots','baseVersion','document','reconnection:\x20flushed\x20session','serverHistory','view','_isConnected','enqueueChange','getConnectedSessions','_compressOperations','_channelId','change:_isPendingUpdate','_saveOperationInBuffer','length','has','297055hFAswr','_updateServerHistory','addRoot','realtimecollaborationclient-init-non-existent-root','round','PENDING_ACTION_SENDING_DATA','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','isUndoneOperation','config','10YeRNPf','_applyOperationsSet','type','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-init-service-incorrect-server-operation','position','string','change:range','1cyjfiz','createRoot','decompress','listenTo','affectsData','_lastSyncedOperationId','affectedSelectable','finally','includes','_waitUntilSynced','userId','removeFromReconnectionStack','code','high','isReadOnly','forEach','end','_setPendingAction','history','_setUpDataInit','_decompressOperations','path','_isEditingAllowed','document:write','set','state','connect','reset','mySessionId','operationsReceived','off','offset','createPositionFromPath','message','_bufferedOperations','initData','batch','1755488zfKgwO','createPositionAt','6095408ssCxHg','getOperations','connected','isOfficialPlugin','apply','map','disableReadOnlyMode','collaboration','InsertOperation','rootsAttributes','entries','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_service','isPremiumPlugin','_handleServerResponse','1464382bwmRGq','marker','cloud-services-internal-error:\x20Request\x20timeout.','_handleReconnectionResponse','_loadRoot','multi-root-editor-root-attributes-no-root','plugins','_document','wasUndone','editor','_isPendingUpdate','_handleExternalOperations','applyOperation','register','_operationToId','realtimecollaborationclient','pluginName','_sendBufferedOperations','lastDocumentSession','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_baseBufferDelay','_isInit','permissions','get','getUser','24065397EJTRya','add','_knownOperations','bind','ready','_handleReceivedOperations','_isLoaded','_lastServerVersion','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-sendbufferedoperations','_fetchMissingUsers','remove','CollaborativeEditingService','push','Notification','_disconnectionOperations','start','Synchronization\x20issue','loadRoot','selection','addRootAttribute','404','_shouldSendUpdate','realtimecollaborationclient-handleserverresponse','disconnect','realtimecollaborationclient-init-connection-failed','lastSyncVersion','stop','realtimecollaborationclient-init-service-internal-error','getOperationAuthor','_disconnectService','suppressErrorInCollaboration','currentDocumentSession','destroy','_hasSelectionChanged','wereChangesApplied','cloudServices.bundleVersion','_sendBufferedOperationsDelayId','directChange','_connectAfterSessionHasBeenFlushed','sessionId','_authorId','sessionAdd:','realtimecollaborationclient-error','showWarning','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.','CommentsOnly','_pendingAction','409','_clearPendingAction','_ignoredOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_refreshUserSelectionMarkers','metadata','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.','isEnabled','targetPosition','unregister','parse','_getOperationsFromInitData','createUserMarkerOperations','getDocumentDetails','_crash','_isDisconnection','_shouldSendSelectionUpdate','slice','1566291MwABBF','locale','_bufferRootLoad','fire','init','sessionCreatedAt','setPermissions','Permissions','_currentBufferDelay','RealTimeCollaborationClient'];_0xeddd=function(){return _0x4a6073;};return _0xeddd();}import{getTranslation as _0x367e81}from'../common-translations.js';import{Compressor as _0x49fb01}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x22875c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x22719e,CollaborativeEditingService as _0x90ae82}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;export class RealTimeCollaborationClient extends _0x27e9f5{static [_0x311249(0xac)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x90ae82)());[_0x311249(0x12c)];[_0x311249(0xc8)];[_0x311249(0x13a)];[_0x311249(0x140)];[_0x311249(0x18a)];[_0x311249(0x194)];[_0x311249(0xfb)];[_0x311249(0x179)];[_0x311249(0xa2)];[_0x311249(0xf7)];[_0x311249(0xcf)];[_0x311249(0xc2)];[_0x311249(0xc5)];[_0x311249(0x9b)];[_0x311249(0xea)];[_0x311249(0x15c)];[_0x311249(0xaf)];[_0x311249(0xfa)];static get[_0x311249(0xf8)](){return[_0x1a0ccc,_0x51b161,_0x50f671,_0x2c5b7c,_0x22875c,_0x44c26d];}static get[_0x311249(0x97)](){const _0x54555f=_0x311249;return _0x54555f(0xeb);}static get[_0x311249(0x181)](){return!0x0;}static get[_0x311249(0x18b)](){return!0x0;}get[_0x311249(0x12f)](){const _0x37b070=_0x311249;return this[_0x37b070(0xa7)]+this[_0x37b070(0x12c)];}get[_0x311249(0xa7)](){const _0x44d196=_0x311249;return this[_0x44d196(0x13a)][_0x44d196(0x117)]-this[_0x44d196(0x12c)];}get[_0x311249(0xba)](){const _0x290b08=_0x311249,_0x24682f=this[_0x290b08(0x13a)][_0x290b08(0x17f)]();for(let _0x240069=_0x24682f[_0x290b08(0x143)]-0x1;_0x240069>=0x0;_0x240069--){const _0x437a53=_0x24682f[_0x240069];if(!this[_0x290b08(0xaf)][_0x290b08(0x144)](_0x437a53))return _0x437a53[_0x290b08(0x137)]+0x1-this[_0x290b08(0x12c)];}return 0x0;}constructor(_0x480c7f){const _0x56cb7c=_0x311249;if(super(_0x480c7f),this[_0x56cb7c(0x12c)]=0x0,this[_0x56cb7c(0xc8)]=null,this[_0x56cb7c(0x13a)]=new _0x412bb2(),this[_0x56cb7c(0x90)][_0x56cb7c(0x14e)][_0x56cb7c(0x100)](_0x56cb7c(0x185),{}),this[_0x56cb7c(0x140)]=this[_0x56cb7c(0x90)][_0x56cb7c(0x14e)][_0x56cb7c(0x9e)](_0x56cb7c(0x128)),!this[_0x56cb7c(0x140)])throw new _0x40c897(_0x56cb7c(0xee),this);const _0x241489=_0x480c7f[_0x56cb7c(0x14e)][_0x56cb7c(0x9e)](_0x56cb7c(0xc4))||_0x203da6;this[_0x56cb7c(0x18a)]=new RealTimeCollaborationClient[(_0x56cb7c(0xac))](_0x241489,this[_0x56cb7c(0x140)]),this[_0x56cb7c(0x194)]=this[_0x56cb7c(0x90)][_0x56cb7c(0x116)][_0x56cb7c(0x138)],this[_0x56cb7c(0xfb)]=new _0x49fb01(),this[_0x56cb7c(0x179)]=[],this[_0x56cb7c(0xa2)]=new WeakSet(),this[_0x56cb7c(0xf7)]=new Set(),this[_0x56cb7c(0x16f)](_0x56cb7c(0x91),!0x1),this[_0x56cb7c(0x16f)](_0x56cb7c(0x121),!0x1),this[_0x56cb7c(0xcf)]=null,this[_0x56cb7c(0xc2)]=!0x1,this[_0x56cb7c(0xc5)]=null,this[_0x56cb7c(0x9b)]=0x12c,this[_0x56cb7c(0xea)]=this[_0x56cb7c(0x9b)],this[_0x56cb7c(0x15c)]=null,this[_0x56cb7c(0xaf)]=new WeakSet(),this[_0x56cb7c(0xfa)]=new K(this[_0x56cb7c(0xaf)]);}[_0x311249(0xe6)](){const _0x4f953e=_0x311249,_0x5054be=this[_0x4f953e(0x90)],_0xf2592=_0x5054be[_0x4f953e(0x193)][_0x4f953e(0x9e)](_0x22875c),_0x275a44=_0x5054be[_0x4f953e(0x193)][_0x4f953e(0x9e)](_0x1a0ccc);this[_0x4f953e(0x15a)](_0xf2592,_0x4f953e(0xbd),(_0x1e86f1,_0x4d54bc)=>{const _0x2e8f28=_0x4f953e,_0x53fec3=_0x4d54bc[0x0];_0x53fec3[_0x2e8f28(0xc9)]&&(_0x1e86f1[_0x2e8f28(0x115)]=_0xf2592[_0x2e8f28(0x9f)](_0x53fec3[_0x2e8f28(0xc9)]),_0x1e86f1[_0x2e8f28(0xbb)]()),null===_0x53fec3[_0x2e8f28(0xc9)]&&(_0x1e86f1[_0x2e8f28(0x115)]=null,_0x1e86f1[_0x2e8f28(0xbb)]());},{'priority':_0x4f953e(0x164)}),this[_0x4f953e(0x15a)](_0x5054be[_0x4f953e(0x116)][_0x4f953e(0x138)][_0x4f953e(0xb3)],_0x4f953e(0x156),(_0x2eb4e4,_0x5d8a07)=>{const _0x1b27da=_0x4f953e;_0x5d8a07[_0x1b27da(0xc6)]&&this[_0x1b27da(0xd4)]();}),this[_0x4f953e(0x15a)](_0x5054be[_0x4f953e(0x14c)][_0x4f953e(0x13b)],_0x4f953e(0xf9),()=>{const _0x28b3e0=_0x4f953e;this[_0x28b3e0(0xd4)]();}),this[_0x4f953e(0x11a)](),_0x5054be[_0x4f953e(0x116)]['on'](_0x4f953e(0x93),(_0x1d8927,_0x51310e)=>{const _0x1bfb38=_0x4f953e,_0x41352a=_0x51310e[0x0];_0x41352a[_0x1bfb38(0x119)]&&(this[_0x1bfb38(0x142)](_0x41352a),this[_0x1bfb38(0xb6)]()&&this[_0x1bfb38(0x111)]());}),this[_0x4f953e(0x16a)](),this[_0x4f953e(0xa3)](_0x4f953e(0x16d))['to'](_0x275a44,_0x4f953e(0x170),this,_0x4f953e(0x121),(_0x42024a,_0x295cf9)=>_0x4f953e(0x180)===_0x42024a&&!_0x295cf9),this['on'](_0x4f953e(0x12e),()=>{const _0xbf5c9=_0x4f953e;this[_0xbf5c9(0x16d)]?_0x5054be[_0xbf5c9(0x184)](_0xbf5c9(0x125)):_0x5054be[_0xbf5c9(0xfe)](_0xbf5c9(0x125));}),this[_0x4f953e(0x16d)]?_0x5054be[_0x4f953e(0x184)](_0x4f953e(0x125)):_0x5054be[_0x4f953e(0xfe)](_0x4f953e(0x125)),this[_0x4f953e(0x16f)](_0x4f953e(0x13c),!0x1);}async[_0x311249(0xf1)](){const _0x4a1ae9=_0x311249,_0x5cdaff=this[_0x4a1ae9(0x90)][_0x4a1ae9(0x193)][_0x4a1ae9(0x9e)](_0x51b161),_0x285deb=this[_0x4a1ae9(0x90)][_0x4a1ae9(0x193)][_0x4a1ae9(0x9e)](_0x1a0ccc);try{this[_0x4a1ae9(0x91)]=!0x0,_0x5cdaff[_0x4a1ae9(0xd9)](this[_0x4a1ae9(0x140)]);const _0x2aa23a=await this[_0x4a1ae9(0x18a)][_0x4a1ae9(0xf1)](_0x285deb[_0x4a1ae9(0x122)],this[_0x4a1ae9(0xba)]);await this[_0x4a1ae9(0x190)](_0x2aa23a)&&(this[_0x4a1ae9(0x91)]=!0x1,this[_0x4a1ae9(0xd1)]());const _0x1f9df4=await this[_0x4a1ae9(0x18a)][_0x4a1ae9(0x13e)]();_0x5cdaff[_0x4a1ae9(0x94)](this[_0x4a1ae9(0x140)],_0x1f9df4),this[_0x4a1ae9(0x108)](),this[_0x4a1ae9(0x13c)]=!0x0;}catch(_0x235e3e){if(function(_0x40f2b4){const _0x34fbe0=_0x4a1ae9;return _0x34fbe0(0xb5)===_0x40f2b4[_0x34fbe0(0x163)];}(_0x235e3e)&&this[_0x4a1ae9(0xc8)])await this[_0x4a1ae9(0xc7)]();else{if(function(_0x5db7bd){const _0x5a1407=_0x4a1ae9;return _0x5a1407(0xd0)===_0x5db7bd[_0x5a1407(0x163)];}(_0x235e3e)){const _0x1d1cd4=_0x367e81(this[_0x4a1ae9(0x90)][_0x4a1ae9(0xe3)],_0x4a1ae9(0x14b));this[_0x4a1ae9(0x12d)](_0x1d1cd4);}else{if(!(_0x235e3e instanceof G))throw _0x235e3e;this[_0x4a1ae9(0x12d)]();}}}}[_0x311249(0xc1)](){const _0x1e4465=_0x311249,_0x27af6a=this[_0x1e4465(0x90)][_0x1e4465(0x193)][_0x1e4465(0x9e)](_0x1a0ccc),_0x385171=this[_0x1e4465(0x90)][_0x1e4465(0x193)][_0x1e4465(0x9e)](_0x51b161);this[_0x1e4465(0x90)][_0x1e4465(0xfe)](_0x1e4465(0x113)),_0x385171[_0x1e4465(0x132)][_0x1e4465(0x144)](this[_0x1e4465(0x140)])&&_0x385171[_0x1e4465(0xd9)](this[_0x1e4465(0x140)]),_0x27af6a[_0x1e4465(0x162)](this),this[_0x1e4465(0xbe)](),super[_0x1e4465(0xc1)]();}async[_0x311249(0x190)](_0xd96533){const _0x462fee=_0x311249;if(this[_0x462fee(0xc8)]!==_0xd96533[_0x462fee(0xc8)]&&this[_0x462fee(0x15c)]!==_0xd96533[_0x462fee(0x10a)])throw new G();return this[_0x462fee(0xc8)]=_0xd96533[_0x462fee(0xc8)],this[_0x462fee(0x18c)]([],{..._0xd96533,'wereChangesApplied':!0x1,'data':_0xd96533[_0x462fee(0x10d)]},_0x462fee(0xf1));}async[_0x311249(0x12a)](_0x41ef15,_0x3a1124=!0x1){const _0x5a6dd4=_0x311249,{connection:_0x5b891b}=this[_0x5a6dd4(0x90)][_0x5a6dd4(0x193)][_0x5a6dd4(0x9e)](_0x1a0ccc);RealTimeCollaborationClient[_0x5a6dd4(0xac)][_0x5a6dd4(0x13e)](_0x5b891b,this[_0x5a6dd4(0x140)])[_0x5a6dd4(0x103)](_0x55187b=>this[_0x5a6dd4(0x123)](_0x55187b))[_0x5a6dd4(0xfc)](_0x40be2f=>{const _0x250331=_0x5a6dd4;this[_0x250331(0xde)](_0x250331(0x152),_0x40be2f);}),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0x174),this[_0x5a6dd4(0xa5)][_0x5a6dd4(0xa3)](this)),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0x10f),(_0xc5461a,_0x4cb630)=>{const _0x1c3279=_0x5a6dd4;this[_0x1c3279(0xde)](_0x1c3279(0xbc),_0x4cb630);}),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0xf2),()=>{const _0x39ccb1=_0x5a6dd4;this[_0x39ccb1(0x13c)]=!0x1;});const _0x34a57c=this[_0x5a6dd4(0xfa)][_0x5a6dd4(0x104)](_0x41ef15);this[_0x5a6dd4(0x91)]=!0x0;const _0x47db6d=await this[_0x5a6dd4(0x18a)][_0x5a6dd4(0x171)](_0x5b891b,this[_0x5a6dd4(0x13f)](_0x41ef15),_0x34a57c);if(this[_0x5a6dd4(0xc8)]=_0x47db6d[_0x5a6dd4(0xc8)],_0x3a1124){if(!_0x47db6d[_0x5a6dd4(0xc3)])return void this[_0x5a6dd4(0x12d)]();this[_0x5a6dd4(0x91)]=!0x1,this[_0x5a6dd4(0xd1)](),this[_0x5a6dd4(0x13a)][_0x5a6dd4(0x172)](),this[_0x5a6dd4(0x12c)]=_0x47db6d[_0x5a6dd4(0x176)],this[_0x5a6dd4(0x13a)][_0x5a6dd4(0x117)]=this[_0x5a6dd4(0x12c)],await this[_0x5a6dd4(0x18c)](_0x41ef15,_0x47db6d,_0x5a6dd4(0x139));}else await this[_0x5a6dd4(0x112)](_0x47db6d,_0x41ef15);this[_0x5a6dd4(0x108)](),this[_0x5a6dd4(0x13c)]=!0x0;}[_0x311249(0x108)](){const _0x509a6e=_0x311249,_0xe3c925=this[_0x509a6e(0x90)][_0x509a6e(0x193)][_0x509a6e(0x9e)](_0x51b161),_0x18fca4=this[_0x509a6e(0x90)][_0x509a6e(0x193)][_0x509a6e(0x9e)](_0x50f671),_0x2d3c9e=_0xe3c925[_0x509a6e(0x132)][_0x509a6e(0x9e)](this[_0x509a6e(0x140)]);_0x2d3c9e&&_0x2d3c9e[_0x509a6e(0x143)]>0x1?_0x18fca4[_0x509a6e(0xdc)]():this[_0x509a6e(0x15a)](_0xe3c925,_0x509a6e(0xca)+this[_0x509a6e(0x140)],()=>{const _0x56e032=_0x509a6e;0x2===_0xe3c925[_0x56e032(0x132)][_0x56e032(0x9e)](this[_0x56e032(0x140)])[_0x56e032(0x143)]&&_0x18fca4[_0x56e032(0xdc)]();});}async[_0x311249(0xa5)](_0x2ac99c,_0x5a9734,_0x207153,_0x43b9ea){const _0x32de56=_0x311249;if(!this[_0x32de56(0x91)]&&this[_0x32de56(0x194)][_0x32de56(0x117)]==_0x5a9734){const _0x155919=this[_0x32de56(0x16b)](_0x207153,_0x43b9ea);await this[_0x32de56(0xaa)](_0x155919),this[_0x32de56(0x92)](_0x155919,_0x5a9734,_0x207153[_0x32de56(0x10a)])||this[_0x32de56(0xde)](_0x32de56(0x153));}}async[_0x311249(0xc7)](){const _0x35f820=_0x311249;this[_0x35f820(0xbe)]();const {locale:_0x16d588}=this[_0x35f820(0x90)];let _0x44ad7c;try{_0x44ad7c=await this[_0x35f820(0x18a)][_0x35f820(0xdd)]();}catch{const _0x483ec8=_0x367e81(_0x16d588,_0x35f820(0x189));return void this[_0x35f820(0x12d)](_0x483ec8);}const _0x318e68=_0x44ad7c[_0x35f820(0xc0)]||_0x44ad7c[_0x35f820(0x99)];if(this[_0x35f820(0x15c)]!==_0x318e68[_0x35f820(0x10a)]){const _0x250ccf=_0x367e81(_0x16d588,_0x35f820(0xcd));return void this[_0x35f820(0x12d)](_0x250ccf);}await this[_0x35f820(0x12a)](this[_0x35f820(0x90)][_0x35f820(0x116)][_0x35f820(0x138)][_0x35f820(0x169)][_0x35f820(0x17f)](),!0x0);}[_0x311249(0xbe)](){const _0x15f274=_0x311249;this[_0x15f274(0x18a)][_0x15f274(0xb8)](),this[_0x15f274(0x179)]=[],clearTimeout(this[_0x15f274(0xc5)]),this[_0x15f274(0x114)](this[_0x15f274(0x18a)]);}[_0x311249(0x123)](_0x301278){const _0x20a423=_0x311249,_0xa16174=this[_0x20a423(0x90)][_0x20a423(0x193)][_0x20a423(0x9e)](_0x51b161);this[_0x20a423(0x15a)](_0xa16174,_0x20a423(0xca)+this[_0x20a423(0x140)],(_0xe3351f,{session:_0x5011fa})=>{const _0x3995f4=_0x20a423;if(_0x5011fa['id']===_0xa16174[_0x3995f4(0x173)]){_0xe3351f[_0x3995f4(0x175)]();const _0x3be41d=this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x144)](_0x3995f4(0xce))&&this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x9e)](_0x3995f4(0xce));let _0x20797b=_0x5011fa[_0x3995f4(0x9d)];_0x3be41d&&_0x3be41d[_0x3995f4(0xd7)]&&(_0x20797b=_0x20797b[_0x3995f4(0x110)](_0x1608ac=>_0x3995f4(0x16e)!==_0x1608ac)),this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x9e)](_0x3995f4(0xe9))[_0x3995f4(0xe8)](_0x20797b,this[_0x3995f4(0x140)]);}}),_0xa16174[_0x20a423(0x94)](this[_0x20a423(0x140)],_0x301278);}[_0x311249(0x11a)](){const _0x437c4c=_0x311249,_0x4da5e4=this[_0x437c4c(0x90)][_0x437c4c(0x10d)][_0x437c4c(0x16f)];this[_0x437c4c(0x90)][_0x437c4c(0x10d)][_0x437c4c(0x16f)]=(..._0x5b70b9)=>{const _0x39ec23=_0x437c4c;if(!_0x5b70b9[_0x5b70b9[_0x39ec23(0x143)]-0x1][_0x39ec23(0xbf)])throw new _0x40c897(_0x39ec23(0x9a),this);_0x4da5e4[_0x39ec23(0x182)](this[_0x39ec23(0x90)][_0x39ec23(0x10d)],_0x5b70b9);};}[_0x311249(0x16a)](){const _0x2f6aba=_0x311249;this[_0x2f6aba(0x90)][_0x2f6aba(0x10d)]['on'](_0x2f6aba(0xe6),(_0x333ec3,[_0xc65d0a])=>{const _0x4f43de=_0x2f6aba;if(this[_0x4f43de(0x194)][_0x4f43de(0x117)])throw new _0x40c897(_0x4f43de(0xa8),this);_0x333ec3[_0x4f43de(0xbb)](),this[_0x4f43de(0x168)]();const _0x303a39=this[_0x4f43de(0x90)][_0x4f43de(0x14e)][_0x4f43de(0x9e)](_0x4f43de(0x187)),_0x51b59b=this[_0x4f43de(0xdb)](_0xc65d0a,_0x303a39);0x0==_0x51b59b[_0x4f43de(0x143)]&&_0x51b59b[_0x4f43de(0xad)](new _0x2057d4(0x0)),_0x333ec3[_0x4f43de(0x115)]=this[_0x4f43de(0x12a)](_0x51b59b)[_0x4f43de(0x103)](()=>{const _0x2d2194=_0x4f43de;this[_0x2d2194(0x90)][_0x2d2194(0x193)][_0x2d2194(0x9e)](_0x1a0ccc)[_0x2d2194(0x10c)](this),this[_0x2d2194(0x90)][_0x2d2194(0x10d)][_0x2d2194(0xe5)](_0x2d2194(0xa4));})[_0x4f43de(0xfc)](_0x24ba24=>this[_0x4f43de(0xde)](_0x4f43de(0xb9),_0x24ba24))[_0x4f43de(0x15e)](()=>this[_0x4f43de(0xd1)]());},{'priority':_0x2f6aba(0x164)}),this[_0x2f6aba(0x90)]['on'](_0x2f6aba(0xb2),async(_0x5e0978,[_0x1ce4d5,_0x39cacc])=>{const _0x444ad8=_0x2f6aba;_0x5e0978[_0x444ad8(0xbb)]();const _0x638654=this[_0x444ad8(0x90)][_0x444ad8(0x116)][_0x444ad8(0x138)][_0x444ad8(0x11c)](_0x1ce4d5);if(!this[_0x444ad8(0xf7)][_0x444ad8(0x144)](_0x1ce4d5)){const _0x39c3bf=_0x39cacc&&_0x39cacc[_0x444ad8(0x10d)]?_0x39cacc[_0x444ad8(0x10d)]:'',_0x326203=_0x39cacc&&_0x39cacc[_0x444ad8(0x102)]?_0x39cacc[_0x444ad8(0x102)]:{};await this[_0x444ad8(0x191)](_0x1ce4d5,_0x39c3bf,_0x326203);}this[_0x444ad8(0x90)][_0x444ad8(0x116)][_0x444ad8(0x13d)]({'isUndoable':!0x1},()=>{const _0x2473cc=_0x444ad8;_0x638654[_0x2473cc(0xa6)]=!0x0,this[_0x2473cc(0x90)][_0x2473cc(0x116)][_0x2473cc(0x138)][_0x2473cc(0x129)][_0x2473cc(0xe4)](_0x638654);});},{'priority':_0x2f6aba(0x164)});}async[_0x311249(0xaa)](_0x17c43b){const _0x2a9aeb=_0x311249,_0x422cb6=this[_0x2a9aeb(0x90)][_0x2a9aeb(0x193)][_0x2a9aeb(0x9e)](_0x22875c),{connection:_0x3811c5}=this[_0x2a9aeb(0x90)][_0x2a9aeb(0x193)][_0x2a9aeb(0x9e)](_0x1a0ccc),_0xe5ad55=new Set();for(const _0x31d0a6 of _0x17c43b){const _0xe31689=_0x31d0a6[_0x2a9aeb(0xc9)];_0xe31689&&!_0x422cb6[_0x2a9aeb(0x9f)](_0xe31689)&&_0xe5ad55[_0x2a9aeb(0xa1)](_0xe31689);}if(0x0===_0xe5ad55[_0x2a9aeb(0xf5)])return;const _0x1a18bd=await _0x22719e[_0x2a9aeb(0x11f)](_0x3811c5,Array[_0x2a9aeb(0xf0)](_0xe5ad55));for(const _0x19d513 of _0x1a18bd)_0x422cb6[_0x2a9aeb(0x9f)](_0x19d513['id'])||_0x422cb6[_0x2a9aeb(0xf6)](_0x19d513);}[_0x311249(0xdb)](_0x250d8a,_0xf8f522={}){const _0x54df52=_0x311249,_0xe0ee2b=this[_0x54df52(0x90)][_0x54df52(0x116)],_0x1fbca6=[];let _0x53d946=0x0;const _0x55e40d=_0x54df52(0x155)==typeof _0x250d8a?{'main':_0x250d8a}:_0x250d8a;for(const _0x5015db of Object[_0x54df52(0xfd)](_0x55e40d)){if(!this[_0x54df52(0x194)][_0x54df52(0x136)][_0x54df52(0x144)](_0x5015db))throw new _0x40c897(_0x54df52(0x148),this);const _0x5bf517=this[_0x54df52(0x90)][_0x54df52(0x10d)][_0x54df52(0xda)](_0x55e40d[_0x5015db]),_0x1a6d15=this[_0x54df52(0x194)][_0x54df52(0x11c)](_0x5015db),_0x5de782=new _0x183675(_0xe0ee2b[_0x54df52(0x17d)](_0x1a6d15,0x0),_0x5bf517,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x5de782);for(const [_0x9bfe3e,_0x3fc626]of _0x5bf517[_0x54df52(0x105)]){const _0x590383=_0xe0ee2b[_0x54df52(0xec)](_0xe0ee2b[_0x54df52(0x177)](_0x1a6d15,_0x3fc626[_0x54df52(0xb0)][_0x54df52(0x16c)][_0x54df52(0xe1)]()),_0xe0ee2b[_0x54df52(0x177)](_0x1a6d15,_0x3fc626[_0x54df52(0x167)][_0x54df52(0x16c)][_0x54df52(0xe1)]())),_0x34a7b6=new _0x99ed8f(_0x9bfe3e,null,_0x590383,_0xe0ee2b[_0x54df52(0x105)],!0x0,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x34a7b6);}}if(_0xf8f522)for(const [_0xc258ff,_0x28e646]of Object[_0x54df52(0x188)](_0xf8f522)){const _0x795b4d=_0xe0ee2b[_0x54df52(0x138)][_0x54df52(0x11c)](_0xc258ff);if(!_0x795b4d)throw new _0x40c897(_0x54df52(0x192),null);for(const [_0x37aabd,_0x5b1704]of Object[_0x54df52(0x188)](_0x28e646))if(null!==_0x5b1704){const _0x147bf0=new _0x3e23b1(_0x795b4d,_0x37aabd,null,_0x5b1704,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x147bf0);}}return _0x1fbca6;}async[_0x311249(0x191)](_0x5126d9,_0x557a3d,_0x402f94){const _0x462c23=_0x311249;this[_0x462c23(0xdb)]({[_0x5126d9]:_0x557a3d},{[_0x5126d9]:_0x402f94})[_0x462c23(0x166)]((_0x484719,_0x149403)=>{const _0x50f6bd=_0x462c23;_0x484719[_0x50f6bd(0x137)]=this[_0x50f6bd(0x194)][_0x50f6bd(0x117)]+_0x149403,_0x484719[_0x50f6bd(0x9c)]=!0x0,this[_0x50f6bd(0x142)](_0x484719);}),this[_0x462c23(0x111)](),await this[_0x462c23(0x160)]();}async[_0x311249(0x112)](_0x3d4a35,_0x381e68){const _0x14d99b=_0x311249;let _0x12ddc5;this[_0x14d99b(0x12c)]=_0x3d4a35[_0x14d99b(0x176)];const _0x107209=_0x3d4a35[_0x14d99b(0xc3)]&&!_0x3d4a35[_0x14d99b(0x17a)],_0x293fb2=_0x107209?0x0:_0x3d4a35[_0x14d99b(0x10d)][_0x14d99b(0x137)];if(_0x381e68[_0x14d99b(0x166)](_0x2d1aaa=>{const _0x4de3ac=_0x14d99b;_0x2d1aaa[_0x4de3ac(0x9c)]=!0x0,_0x2d1aaa[_0x4de3ac(0x12b)]=_0x3d4a35[_0x4de3ac(0xe7)],_0x2d1aaa[_0x4de3ac(0xc9)]=null;}),_0x107209)_0x12ddc5=_0x381e68,this[_0x14d99b(0x150)](_0x12ddc5,_0x107209);else{if(_0x3d4a35[_0x14d99b(0x17a)]){const _0xad9179=this[_0x14d99b(0xdb)](_0x3d4a35[_0x14d99b(0x17a)]);this[_0x14d99b(0x194)][_0x14d99b(0x169)][_0x14d99b(0x117)]=-_0xad9179[_0x14d99b(0x143)],_0xad9179[_0x14d99b(0x166)](_0x23e0fd=>{const _0x258f15=_0x14d99b;_0x23e0fd[_0x258f15(0x137)]-=_0xad9179[_0x258f15(0x143)],_0x23e0fd[_0x258f15(0x12b)]=_0x3d4a35[_0x258f15(0xe7)],_0x23e0fd[_0x258f15(0x9c)]=!0x0,_0x23e0fd[_0x258f15(0xc9)]=null;}),this[_0x14d99b(0x150)](_0xad9179,!0x0),this[_0x14d99b(0x13a)][_0x14d99b(0x117)]=-_0xad9179[_0x14d99b(0x143)]+this[_0x14d99b(0x12c)],this[_0x14d99b(0x146)](_0xad9179);}this[_0x14d99b(0x194)][_0x14d99b(0x169)][_0x14d99b(0x117)]=_0x293fb2,_0x12ddc5=this[_0x14d99b(0x16b)](_0x3d4a35[_0x14d99b(0x10d)],_0x3d4a35[_0x14d99b(0xd5)]),await this[_0x14d99b(0xaa)](_0x12ddc5),this[_0x14d99b(0x150)](_0x12ddc5,_0x107209);}_0x3d4a35[_0x14d99b(0x10a)]&&(this[_0x14d99b(0xfa)][_0x14d99b(0x126)](_0x12ddc5,_0x3d4a35[_0x14d99b(0x10a)]),this[_0x14d99b(0x15c)]=_0x3d4a35[_0x14d99b(0x10a)]),this[_0x14d99b(0x13a)][_0x14d99b(0x117)]=_0x293fb2+this[_0x14d99b(0x12c)],this[_0x14d99b(0x146)](_0x12ddc5),_0x381e68[_0x14d99b(0x110)](_0x392402=>{const _0x17c3fd=_0x14d99b,_0x3f643c=this[_0x17c3fd(0x127)](_0x392402);return _0x3f643c&&!this[_0x17c3fd(0xf7)][_0x17c3fd(0x144)](_0x3f643c);})[_0x14d99b(0x166)]((_0x8a780c,_0x103569)=>{const _0x4601cb=_0x14d99b;_0x8a780c[_0x4601cb(0x137)]=this[_0x4601cb(0x194)][_0x4601cb(0x117)]+_0x103569,this[_0x4601cb(0x142)](_0x8a780c);}),this[_0x14d99b(0xb6)]()?(this[_0x14d99b(0xea)]=0x0,this[_0x14d99b(0x111)](!0x0),await this[_0x14d99b(0x160)]()):(this[_0x14d99b(0x91)]=!0x1,this[_0x14d99b(0xd1)]());}[_0x311249(0xde)](_0x2c98dd,_0x167303){const _0x13e048=_0x311249,_0x59c6be=_0x167303&&_0x167303[_0x13e048(0x178)];if(_0x59c6be&&_0x59c6be[_0x13e048(0xf4)](_0x13e048(0x96)))throw _0x167303;const _0x498c55=this[_0x13e048(0x90)][_0x13e048(0x193)][_0x13e048(0x9e)](_0x1a0ccc);throw this[_0x13e048(0x91)]=!0x0,_0x498c55[_0x13e048(0xb8)](),this[_0x13e048(0x90)][_0x13e048(0xfe)](_0x13e048(0xcb)),new _0x40c897(_0x2c98dd,this[_0x13e048(0x90)],_0x59c6be?{'originalError':_0x59c6be}:void 0x0);}[_0x311249(0x142)](_0x54bf4f){const _0x4024a8=_0x311249;this[_0x4024a8(0xa2)][_0x4024a8(0x144)](_0x54bf4f)||(this[_0x4024a8(0xa2)][_0x4024a8(0xa1)](_0x54bf4f),this[_0x4024a8(0x179)][_0x4024a8(0xad)](_0x54bf4f),this[_0x4024a8(0xcf)]||_0x4024a8(0x18e)==_0x54bf4f[_0x4024a8(0x151)]&&!_0x54bf4f[_0x4024a8(0x15b)]||this[_0x4024a8(0x168)]());}[_0x311249(0x111)](_0x1febc8=!0x1){const _0xfe3bf5=_0x311249;!_0x1febc8&&this[_0xfe3bf5(0x91)]||(this[_0xfe3bf5(0x91)]=!0x0,clearTimeout(this[_0xfe3bf5(0xc5)]),this[_0xfe3bf5(0xc5)]=setTimeout(()=>{const _0x353d1e=_0xfe3bf5;this[_0x353d1e(0x98)]()[_0x353d1e(0x103)](_0x541a1a=>{const _0x885fe1=_0x353d1e;_0x541a1a&&(this[_0x885fe1(0xd1)](),this[_0x885fe1(0x91)]=!0x1);})[_0x353d1e(0xfc)](_0x2db93d=>{const _0x4264e2=_0x353d1e;this[_0x4264e2(0xd1)](),this[_0x4264e2(0x91)]=!0x1,function(_0x3e276b){const _0x30a0ec=_0x4264e2;return _0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0x10b))||_0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0xd3))||_0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0x18f));}(_0x2db93d)||this[_0x4264e2(0xde)](_0x2db93d[_0x4264e2(0x178)],_0x2db93d);});},this[_0xfe3bf5(0xea)]));}[_0x311249(0x160)](){return new Promise(_0x39940a=>{const _0x242463=_0x1fad;this['on'](_0x242463(0x141),()=>{_0x39940a();});});}async[_0x311249(0x98)](){const _0x4b3cf2=_0x311249,_0x3ccde9=this[_0x4b3cf2(0x90)][_0x4b3cf2(0x193)][_0x4b3cf2(0x9e)](_0x50f671);if(this[_0x4b3cf2(0xe0)]()&&(_0x3ccde9[_0x4b3cf2(0xdc)](),this[_0x4b3cf2(0xc2)]=!0x1),!this[_0x4b3cf2(0xb6)]())return!0x0;const _0x3e5d85=[...this[_0x4b3cf2(0x179)]];for(const _0x4a4523 of _0x3e5d85)_0x4a4523[_0x4b3cf2(0x195)]=this[_0x4b3cf2(0x194)][_0x4b3cf2(0x169)][_0x4b3cf2(0x14d)](_0x4a4523);const _0x2a619b=this[_0x4b3cf2(0xfa)][_0x4b3cf2(0x104)](_0x3e5d85),_0x3fa8ae=q++,_0x5b4c63=this[_0x4b3cf2(0x13f)](_0x3e5d85),_0x5e58cf=await this[_0x4b3cf2(0x18a)][_0x4b3cf2(0x134)](_0x5b4c63,_0x5b4c63[_0x4b3cf2(0x137)],_0x2a619b);try{return await this[_0x4b3cf2(0x18c)](_0x3e5d85,_0x5e58cf,_0x3fa8ae);}catch(_0x3fabb7){return this[_0x4b3cf2(0xde)](_0x4b3cf2(0xa9),_0x3fabb7);}}async[_0x311249(0x18c)](_0x43e9e4,_0x1d98e8,_0x1873d7){const _0x2a216c=_0x311249;if(_0x2a216c(0x10f)in _0x1d98e8)throw _0x1d98e8[_0x2a216c(0x10f)];let _0x29d7f4=!0x1;if(_0x1d98e8[_0x2a216c(0xc3)]){_0x1d98e8[_0x2a216c(0x10a)]&&(this[_0x2a216c(0x15c)]=_0x1d98e8[_0x2a216c(0x10a)]),this[_0x2a216c(0x179)]=this[_0x2a216c(0x179)][_0x2a216c(0x110)](_0x400578=>!_0x43e9e4[_0x2a216c(0x15f)](_0x400578));for(const _0x63e4ab of _0x43e9e4)_0x63e4ab[_0x2a216c(0x12b)]=_0x2a216c(0x133)in _0x1d98e8&&_0x1d98e8[_0x2a216c(0x133)]||void 0x0;$(_0x43e9e4,_0x1d98e8[_0x2a216c(0x117)]-_0x43e9e4[_0x2a216c(0x143)]),this[_0x2a216c(0x146)](_0x43e9e4);const _0x26e81d=_0x43e9e4[_0x2a216c(0x110)](_0x3993b3=>{const _0x1591dc=_0x2a216c;if(!_0x3993b3[_0x1591dc(0x9c)])return!0x1;const _0x529096=this[_0x1591dc(0x127)](_0x3993b3);return _0x529096&&!this[_0x1591dc(0xf7)][_0x1591dc(0x144)](_0x529096);});$(_0x26e81d,this[_0x2a216c(0x194)][_0x2a216c(0x117)]),this[_0x2a216c(0x150)](_0x26e81d),_0x29d7f4=!0x0,this[_0x2a216c(0xea)]=this[_0x2a216c(0x9b)];}else{const _0x122316=this[_0x2a216c(0x16b)](_0x1d98e8[_0x2a216c(0x10d)],_0x1d98e8[_0x2a216c(0xd5)])[_0x2a216c(0x110)](_0x1e86cb=>_0x1e86cb[_0x2a216c(0x137)]>=this[_0x2a216c(0xa7)]);_0x122316[_0x2a216c(0x166)](_0x316fed=>this[_0x2a216c(0x120)](_0x316fed)),this[_0x2a216c(0x179)]=this[_0x2a216c(0x179)][_0x2a216c(0x110)](_0x5b7652=>!_0x5b7652[_0x2a216c(0x9c)]||!this[_0x2a216c(0xf7)][_0x2a216c(0x144)](this[_0x2a216c(0x127)](_0x5b7652))),this[_0x2a216c(0x179)][_0x2a216c(0x143)]&&$(this[_0x2a216c(0x179)],this[_0x2a216c(0x179)][0x0][_0x2a216c(0x137)]),await this[_0x2a216c(0xaa)](_0x122316),_0x29d7f4=this[_0x2a216c(0x92)](_0x122316,_0x1d98e8[_0x2a216c(0x117)],_0x1d98e8[_0x2a216c(0x10a)]),this[_0x2a216c(0xea)]=Math[_0x2a216c(0x149)](this[_0x2a216c(0xea)]/0x2);}return _0x29d7f4?!this[_0x2a216c(0xb6)]()||(this[_0x2a216c(0x111)](!0x0),!0x1):this[_0x2a216c(0xde)](_0x2a216c(0xb7));}[_0x311249(0x92)](_0x1666e5,_0x17fda9,_0x366b34){const _0x3c7c34=_0x311249;try{const _0x2a834f={'document':this[_0x3c7c34(0x194)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x16edff,operationsB:_0x473d79,originalOperations:_0x2d0967}=_0x58c5c9(_0x1666e5,this[_0x3c7c34(0x179)],_0x2a834f);$(_0x16edff,this[_0x3c7c34(0x194)][_0x3c7c34(0x117)]),$(_0x473d79,_0x17fda9);for(const _0x4d861d of _0x16edff){const _0xd18bf9=_0x2d0967[_0x3c7c34(0x9e)](_0x4d861d);_0x4d861d[_0x3c7c34(0xc9)]=_0xd18bf9?_0xd18bf9[_0x3c7c34(0xc9)]:null;}_0x366b34&&(this[_0x3c7c34(0xfa)][_0x3c7c34(0x126)](_0x1666e5,_0x366b34),this[_0x3c7c34(0x15c)]=_0x366b34),this[_0x3c7c34(0x179)]=[..._0x473d79],this[_0x3c7c34(0x150)](_0x16edff),this[_0x3c7c34(0x146)](_0x1666e5);}catch(_0x2e04cf){return console[_0x3c7c34(0x10f)](_0x2e04cf),!0x1;}return!0x0;}[_0x311249(0x150)](_0x1213f7,_0x1e53e2=!0x1){const _0xe61c3=_0x311249;this[_0xe61c3(0x90)][_0xe61c3(0x116)][_0xe61c3(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x15a61a=>{const _0x4e5540=_0xe61c3;for(const _0x10033b of _0x1213f7)this[_0x4e5540(0xa2)][_0x4e5540(0xa1)](_0x10033b),this[_0x4e5540(0x120)](_0x10033b),_0x15a61a[_0x4e5540(0x17b)][_0x4e5540(0x10e)](_0x10033b),this[_0x4e5540(0x90)][_0x4e5540(0x116)][_0x4e5540(0x93)](_0x10033b);});}[_0x311249(0x120)](_0x189b43){const _0x1b9122=_0x311249,_0x412c2e=this[_0x1b9122(0x127)](_0x189b43);_0x412c2e&&this[_0x1b9122(0xf7)][_0x1b9122(0xa1)](_0x412c2e);}[_0x311249(0x127)](_0x381fe1){const _0x52f361=_0x311249;let _0x1097b8,_0x226dd1;switch(_0x381fe1[_0x52f361(0x151)]){case _0x52f361(0x106):_0x1097b8=_0x381fe1[_0x52f361(0x154)][_0x52f361(0x135)];break;case _0x52f361(0x18e):if(_0x226dd1=_0x381fe1[_0x52f361(0x11e)],!_0x226dd1)return null;_0x1097b8=_0x226dd1[_0x52f361(0x135)];break;case _0x52f361(0xb4):_0x1097b8=_0x381fe1[_0x52f361(0x135)];break;case _0x52f361(0x147):_0x1097b8=_0x381fe1[_0x52f361(0x15d)];break;case _0x52f361(0xff):_0x1097b8=_0x381fe1[_0x52f361(0xd8)][_0x52f361(0x135)];break;default:return null;}return _0x1097b8[_0x52f361(0x109)];}[_0x311249(0x146)](_0x511e17){const _0x296480=_0x311249;_0x511e17[_0x296480(0x166)](_0x459a25=>{const _0x254f45=_0x296480,_0x330c6c=_0x459a25[_0x254f45(0x131)]();_0x330c6c[_0x254f45(0xc9)]=_0x459a25[_0x254f45(0xc9)],_0x330c6c[_0x254f45(0x9c)]=!!_0x459a25[_0x254f45(0x9c)],_0x330c6c[_0x254f45(0x12b)]=_0x459a25[_0x254f45(0x12b)],_0x330c6c[_0x254f45(0x137)]+=this[_0x254f45(0x12c)],_0x459a25[_0x254f45(0xdf)]&&this[_0x254f45(0xaf)][_0x254f45(0xa1)](_0x330c6c),this[_0x254f45(0x13a)][_0x254f45(0x10e)](_0x330c6c);});}[_0x311249(0x12d)](_0x3359b2){const _0x427b68=_0x311249,_0xdcf7c4=this[_0x427b68(0x90)][_0x427b68(0x193)][_0x427b68(0x9e)](_0x427b68(0xae)),_0x2a65f2=this[_0x427b68(0x90)][_0x427b68(0xe3)];_0x3359b2||(_0x3359b2=_0x367e81(_0x2a65f2,_0x427b68(0xd6))),_0xdcf7c4[_0x427b68(0xcc)](_0x3359b2,{'title':_0x367e81(_0x2a65f2,_0x427b68(0xb1)),'namespace':_0x427b68(0x107)}),this[_0x427b68(0x121)]=!0x0,clearTimeout(this[_0x427b68(0xc5)]),this[_0x427b68(0x179)]=[],this[_0x427b68(0x90)][_0x427b68(0x193)][_0x427b68(0x9e)](_0x1a0ccc)[_0x427b68(0xb8)]();}[_0x311249(0x168)](){const _0x245bb9=_0x311249;this[_0x245bb9(0xcf)]||(this[_0x245bb9(0xcf)]=this[_0x245bb9(0x90)][_0x245bb9(0x193)][_0x245bb9(0x9e)](_0x2c5b7c)[_0x245bb9(0xa1)](_0x367e81(this[_0x245bb9(0x90)][_0x245bb9(0xe3)],_0x245bb9(0x14a))));}[_0x311249(0xd1)](){const _0x5c0341=_0x311249;this[_0x5c0341(0xcf)]&&(this[_0x5c0341(0x90)][_0x5c0341(0x193)][_0x5c0341(0x9e)](_0x2c5b7c)[_0x5c0341(0xab)](this[_0x5c0341(0xcf)]),this[_0x5c0341(0xcf)]=null);}[_0x311249(0x13f)](_0x268977){const _0x43f326=_0x311249,_0x1bbbcf=_0x268977[_0x43f326(0x183)](_0xbc9ac5=>_0xbc9ac5[_0x43f326(0x124)]());return this[_0x43f326(0xfb)][_0x43f326(0x118)](_0x1bbbcf);}[_0x311249(0x16b)](_0x10ee54,_0xdfe8e){const _0xbb6223=_0x311249;return this[_0xbb6223(0xfb)][_0xbb6223(0x159)](_0x10ee54)[_0xbb6223(0x183)]((_0x1badb4,_0x40a968)=>{const _0x4662aa=_0xbb6223,_0x2b3b2d=_0x4662aa(0xe6)==_0xdfe8e[_0x40a968][_0x4662aa(0x151)];if(_0x4662aa(0x186)==_0x1badb4[_0x4662aa(0x11b)]){const _0x23333d=_0x1badb4[_0x4662aa(0x154)][_0x4662aa(0x135)];!this[_0x4662aa(0x194)][_0x4662aa(0x11c)](_0x23333d)&&(this[_0x4662aa(0x194)][_0x4662aa(0x158)](_0x4662aa(0x130),_0x23333d)[_0x4662aa(0x101)]=!0x1);}const _0x2ddc38=_0x404ae6[_0x4662aa(0x11d)](_0x1badb4,this[_0x4662aa(0x194)]);return _0x2ddc38[_0x4662aa(0x195)]=_0x1badb4[_0x4662aa(0x195)],_0x2ddc38[_0x4662aa(0x9c)]=_0x2b3b2d,_0x2ddc38[_0x4662aa(0xc9)]=_0x2b3b2d?null:_0xdfe8e[_0x40a968][_0x4662aa(0x161)],_0x2ddc38[_0x4662aa(0xdf)]=_0x4662aa(0xed)===_0xdfe8e[_0x40a968][_0x4662aa(0x151)],_0x2ddc38[_0x4662aa(0x12b)]=_0xdfe8e[_0x40a968][_0x4662aa(0x12b)],_0x2ddc38;});}[_0x311249(0xd4)](){const _0x27cf1c=_0x311249;this[_0x27cf1c(0xc2)]=!0x0,this[_0x27cf1c(0xe0)]()?this[_0x27cf1c(0x111)]():this[_0x27cf1c(0xc2)]=!0x1;}[_0x311249(0xe0)](){const _0x3083b1=_0x311249,_0x11094a=this[_0x3083b1(0x90)][_0x3083b1(0x193)][_0x3083b1(0x9e)](_0x51b161)[_0x3083b1(0x132)][_0x3083b1(0x9e)](this[_0x3083b1(0x140)]);return!this[_0x3083b1(0x90)][_0x3083b1(0x165)]&&!!_0x11094a&&_0x11094a[_0x3083b1(0x143)]>0x1&&this[_0x3083b1(0xc2)];}[_0x311249(0xb6)](){const _0x5571cd=_0x311249;return this[_0x5571cd(0x179)][_0x5571cd(0x143)]>0x0||this[_0x5571cd(0xe0)]();}}class G extends Error{}function $(_0x2a6750,_0x310970){const _0x26901d=_0x311249;for(const _0x148649 of _0x2a6750)_0x148649[_0x26901d(0x137)]=_0x310970++;}class K{[_0x311249(0xd2)];[_0x311249(0x95)];constructor(_0x5281b7){const _0x1044eb=_0x311249;this[_0x1044eb(0xd2)]=_0x5281b7,this[_0x1044eb(0x95)]=new WeakMap();}[_0x311249(0x104)](_0x34cbc6){const _0x3f6d38=_0x311249;let _0x43156e=_0x34cbc6[_0x3f6d38(0x143)];for(;_0x43156e--;){const _0x5059a8=_0x34cbc6[_0x43156e];if(!this[_0x3f6d38(0xd2)][_0x3f6d38(0x144)](_0x5059a8)){if(!this[_0x3f6d38(0x95)][_0x3f6d38(0x144)](_0x5059a8)){const _0x27daf6=_0x3b35a5()[_0x3f6d38(0xe1)](0x1,0x12);this[_0x3f6d38(0x95)][_0x3f6d38(0x16f)](_0x5059a8,_0x27daf6);}return this[_0x3f6d38(0x95)][_0x3f6d38(0x9e)](_0x5059a8);}}}[_0x311249(0x126)](_0x56e76f,_0x226713){const _0x433e39=_0x311249;if(!_0x226713)return;let _0x1982c0=_0x56e76f[_0x433e39(0x143)];for(;_0x1982c0--;){const _0x4dc1a4=_0x56e76f[_0x1982c0];this[_0x433e39(0xd2)][_0x433e39(0x144)](_0x4dc1a4)||this[_0x433e39(0x95)][_0x433e39(0x16f)](_0x4dc1a4,_0x226713);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c1861=_0x1e05;function _0x2edc(){const _0x3a37dc=['role','init','_registeredSessions','_createUser','stopListening','has','7349538oJmTgb','remove','163608RBVZhG','state','add','listenTo','user','register','isMe','_users','getUserBySessionId','75216sfptSS','fire','sessions-register-already-registered','connection','assign','_handleSessionAdd','7rvSDdP','129hWdoVe','441OmTHAl','addUser','pluginName','values','getUserRole','get','_handleSessionRemove','isPremiumPlugin','unregister','268412YuzCBb','forEach','getUser','sessionId','hiddenInPresenceList','plugins','sessionAdd:','25iFDIrN','sessions-unregister-not-exist','defineMe','delete','channelConnectedUsers','channelSessions','300FzwTPn','allConnectedUsers','context','2117921DSBMwL','requires','change:state','set','getUserSessions','mySessionId','539230ULSWJv','685916ZYxCkE','orderNumber','Sessions','143cXkFiK','connected','isOfficialPlugin','_uniqueUsersCount','clear','size'];_0x2edc=function(){return _0x3a37dc;};return _0x2edc();}(function(_0x37063d,_0x1ef930){const _0x2e730a=_0x1e05,_0x5b4418=_0x37063d();while(!![]){try{const _0x2d937d=parseInt(_0x2e730a(0x1ce))/0x1+-parseInt(_0x2e730a(0x1a6))/0x2*(-parseInt(_0x2e730a(0x1ad))/0x3)+parseInt(_0x2e730a(0x1b7))/0x4*(-parseInt(_0x2e730a(0x1be))/0x5)+parseInt(_0x2e730a(0x19b))/0x6*(parseInt(_0x2e730a(0x1ac))/0x7)+parseInt(_0x2e730a(0x19d))/0x8*(parseInt(_0x2e730a(0x1ae))/0x9)+parseInt(_0x2e730a(0x1cd))/0xa*(parseInt(_0x2e730a(0x1d1))/0xb)+parseInt(_0x2e730a(0x1c4))/0xc*(-parseInt(_0x2e730a(0x1c7))/0xd);if(_0x2d937d===_0x1ef930)break;else _0x5b4418['push'](_0x5b4418['shift']());}catch(_0x700d69){_0x5b4418['push'](_0x5b4418['shift']());}}}(_0x2edc,0xc8d71));import{ContextPlugin as _0x18521c}from'ckeditor5/src/core.js';import{Collection as _0x53c4af,CKEditorError as _0x2ee73f}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x35ef1c}from'./websocketgateway.js';function _0x1e05(_0xb9213a,_0x2de1dd){const _0x2edccb=_0x2edc();return _0x1e05=function(_0x1e0558,_0x2c692f){_0x1e0558=_0x1e0558-0x198;let _0x168ce5=_0x2edccb[_0x1e0558];return _0x168ce5;},_0x1e05(_0xb9213a,_0x2de1dd);}import{Users as _0x2e55e5}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x18521c{[_0x3c1861(0x1c3)];[_0x3c1861(0x1c2)];[_0x3c1861(0x1c5)];[_0x3c1861(0x1d9)];[_0x3c1861(0x1d4)];[_0x3c1861(0x1a4)];static get[_0x3c1861(0x1b0)](){const _0x58d693=_0x3c1861;return _0x58d693(0x1d0);}static get[_0x3c1861(0x1d3)](){return!0x0;}static get[_0x3c1861(0x1b5)](){return!0x0;}static get[_0x3c1861(0x1c8)](){return[_0x35ef1c,_0x2e55e5];}constructor(_0x928568){const _0x448a00=_0x3c1861;super(_0x928568),this[_0x448a00(0x1c3)]=new Map(),this[_0x448a00(0x1c2)]=new Map(),this[_0x448a00(0x1c5)]=new _0x53c4af(),this[_0x448a00(0x1d9)]=new Map(),this[_0x448a00(0x1d4)]=0x0,this[_0x448a00(0x1a4)]=this[_0x448a00(0x1c6)][_0x448a00(0x1bc)][_0x448a00(0x1b3)](_0x2e55e5);}[_0x3c1861(0x1d8)](){const _0xa086a4=_0x3c1861,_0x3543d6=this[_0xa086a4(0x1c6)][_0xa086a4(0x1bc)][_0xa086a4(0x1b3)](_0x35ef1c);this[_0xa086a4(0x1a0)](_0x3543d6,_0xa086a4(0x1c9),(_0x3f438d,_0x46eff4,_0x5bc532)=>{const _0x261c17=_0xa086a4;if(_0x261c17(0x1d2)!==_0x5bc532)this[_0x261c17(0x1c3)][_0x261c17(0x1b8)](_0xe2ee23=>_0xe2ee23[_0x261c17(0x1d5)]()),this[_0x261c17(0x1c2)][_0x261c17(0x1b8)](_0x3ba1f6=>_0x3ba1f6[_0x261c17(0x1d5)]()),this[_0x261c17(0x1c5)][_0x261c17(0x1d5)]();else{for(const [_0xbe2072,_0x579588]of this[_0x261c17(0x1d9)])for(const _0x559f12 of _0x579588)this[_0x261c17(0x1ab)](_0xbe2072,_0x559f12);}}),this[_0xa086a4(0x198)](_0x3543d6[_0xa086a4(0x1a9)]['me'],!0x0);}[_0x3c1861(0x1a2)](_0x24dba2,_0x4be62d){const _0x6103c0=_0x3c1861;if(this[_0x6103c0(0x1d9)][_0x6103c0(0x19a)](_0x24dba2))throw new _0x2ee73f(_0x6103c0(0x1a8),null,{'channelId':_0x24dba2});this[_0x6103c0(0x1d9)][_0x6103c0(0x1ca)](_0x24dba2,_0x4be62d),this[_0x6103c0(0x1c3)][_0x6103c0(0x1ca)](_0x24dba2,new _0x53c4af()),this[_0x6103c0(0x1c2)][_0x6103c0(0x1ca)](_0x24dba2,new _0x53c4af()),this[_0x6103c0(0x1a0)](_0x4be62d,_0x6103c0(0x19f),(_0x22d8c4,_0x13bfaf)=>this[_0x6103c0(0x1ab)](_0x24dba2,_0x13bfaf)),this[_0x6103c0(0x1a0)](_0x4be62d,_0x6103c0(0x19c),(_0x3ada96,_0x1fbce4)=>this[_0x6103c0(0x1b4)](_0x24dba2,_0x1fbce4));for(const _0x1a843e of _0x4be62d)this[_0x6103c0(0x1ab)](_0x24dba2,_0x1a843e);}[_0x3c1861(0x1b6)](_0x44fea3){const _0x10cc31=_0x3c1861;if(!this[_0x10cc31(0x1d9)][_0x10cc31(0x19a)](_0x44fea3))throw new _0x2ee73f(_0x10cc31(0x1bf),null,{'channelId':_0x44fea3});const _0xf87434=this[_0x10cc31(0x1d9)][_0x10cc31(0x1b3)](_0x44fea3);this[_0x10cc31(0x199)](_0xf87434);for(const _0x135c8a of _0xf87434)_0x10cc31(0x1d2)===this[_0x10cc31(0x1c6)][_0x10cc31(0x1bc)][_0x10cc31(0x1b3)](_0x35ef1c)[_0x10cc31(0x19e)]&&this[_0x10cc31(0x1b4)](_0x44fea3,_0x135c8a);this[_0x10cc31(0x1d9)][_0x10cc31(0x1c1)](_0x44fea3),this[_0x10cc31(0x1c3)][_0x10cc31(0x1c1)](_0x44fea3),this[_0x10cc31(0x1c2)][_0x10cc31(0x1c1)](_0x44fea3);}get[_0x3c1861(0x1cc)](){const _0x1cb46f=_0x3c1861;return this[_0x1cb46f(0x1c6)][_0x1cb46f(0x1bc)][_0x1cb46f(0x1b3)](_0x35ef1c)[_0x1cb46f(0x1a9)][_0x1cb46f(0x1ba)];}[_0x3c1861(0x1a5)](_0x15dd6d){const _0x1d3f95=_0x3c1861;for(const _0x3ceaed of this[_0x1d3f95(0x1c3)][_0x1d3f95(0x1b1)]())for(const _0x585c2a of _0x3ceaed)if(_0x585c2a['id']===_0x15dd6d)return _0x585c2a[_0x1d3f95(0x1a1)];}[_0x3c1861(0x1cb)](_0x1aa81d,_0xe1df22){const _0x5209c1=_0x3c1861,_0x577480=_0xe1df22?[this[_0x5209c1(0x1c3)][_0x5209c1(0x1b3)](_0xe1df22)]:this[_0x5209c1(0x1c3)][_0x5209c1(0x1b1)](),_0xd95586=new Set();for(const _0x3fe58f of _0x577480)for(const _0x18d772 of _0x3fe58f)_0x18d772[_0x5209c1(0x1a1)]['id']===_0x1aa81d['id']&&_0xd95586[_0x5209c1(0x19f)](_0x18d772['id']);return _0xd95586;}[_0x3c1861(0x1b2)](_0x3d24ef){const _0x569dfd=_0x3c1861;for(const _0x5c7194 of this[_0x569dfd(0x1c3)][_0x569dfd(0x1b1)]())for(const _0x3d1c04 of _0x5c7194)if(_0x3d1c04[_0x569dfd(0x1a1)]===_0x3d24ef)return _0x3d1c04[_0x569dfd(0x1d7)];}[_0x3c1861(0x1ab)](_0xc66381,_0x2527c6){const _0x2aa534=_0x3c1861;if(_0x2aa534(0x1d2)!==this[_0x2aa534(0x1c6)][_0x2aa534(0x1bc)][_0x2aa534(0x1b3)](_0x35ef1c)[_0x2aa534(0x19e)])return;const _0x5e1900=_0x2527c6[_0x2aa534(0x1a1)],_0x58e770=this[_0x2aa534(0x1a4)][_0x2aa534(0x1b9)](_0x5e1900['id'])||this[_0x2aa534(0x198)](_0x5e1900),_0x27ee0f=Object[_0x2aa534(0x1aa)]({},_0x2527c6,{'user':_0x58e770});if(this[_0x2aa534(0x1c3)][_0x2aa534(0x1b3)](_0xc66381)[_0x2aa534(0x19f)](_0x27ee0f),!_0x5e1900[_0x2aa534(0x1bb)]){const _0x53a4a8=this[_0x2aa534(0x1c2)][_0x2aa534(0x1b3)](_0xc66381);_0x53a4a8[_0x2aa534(0x19a)](_0x58e770['id'])||_0x53a4a8[_0x2aa534(0x19f)](_0x58e770),this[_0x2aa534(0x1c5)][_0x2aa534(0x19a)](_0x58e770['id'])||_0x5e1900[_0x2aa534(0x1bb)]||this[_0x2aa534(0x1c5)][_0x2aa534(0x19f)](_0x58e770,_0x58e770[_0x2aa534(0x1a3)]?0x0:void 0x0);}this[_0x2aa534(0x1a7)](_0x2aa534(0x1bd)+_0xc66381,{'channelId':_0xc66381,'session':_0x27ee0f});}[_0x3c1861(0x1b4)](_0x109904,_0x1c41fc){const _0x1b6e06=_0x3c1861;if(_0x1b6e06(0x1d2)!==this[_0x1b6e06(0x1c6)][_0x1b6e06(0x1bc)][_0x1b6e06(0x1b3)](_0x35ef1c)[_0x1b6e06(0x19e)])return;const _0x399c5d=this[_0x1b6e06(0x1c2)][_0x1b6e06(0x1b3)](_0x109904),_0x29f8ae=_0x1c41fc[_0x1b6e06(0x1a1)];_0x29f8ae['id']&&(this[_0x1b6e06(0x1c3)][_0x1b6e06(0x1b3)](_0x109904)[_0x1b6e06(0x19c)](_0x1c41fc['id']),_0x399c5d[_0x1b6e06(0x19a)](_0x29f8ae['id'])&&!this[_0x1b6e06(0x1cb)](_0x29f8ae,_0x109904)[_0x1b6e06(0x1d6)]&&_0x399c5d[_0x1b6e06(0x19c)](_0x29f8ae['id']),this[_0x1b6e06(0x1c5)][_0x1b6e06(0x1b3)](_0x29f8ae['id'])&&!this[_0x1b6e06(0x1cb)](_0x29f8ae)[_0x1b6e06(0x1d6)]&&this[_0x1b6e06(0x1c5)][_0x1b6e06(0x19c)](_0x29f8ae['id']));}[_0x3c1861(0x198)](_0x17f513,_0x422a60){const _0x314c65=_0x3c1861,_0x350b76=this[_0x314c65(0x1a4)][_0x314c65(0x1af)](_0x17f513);return _0x422a60&&this[_0x314c65(0x1a4)][_0x314c65(0x1c0)](_0x17f513['id']),_0x350b76[_0x314c65(0x1cf)]=this[_0x314c65(0x1d4)]++,_0x350b76;}}
23
+ function _0x1b99(){const _0x8b058d=['set','clear','_createUser','3604181pWcIQw','delete','fire','change:state','26257272PDfGUK','size','remove','get','role','getUserSessions','5ozCudy','isOfficialPlugin','587256UVlqTz','24130WnaphM','unregister','channelSessions','_uniqueUsersCount','listenTo','4614212JbfFDN','4565VuUbFU','sessionId','sessionAdd:','register','forEach','defineMe','allConnectedUsers','add','plugins','_handleSessionRemove','sessions-register-already-registered','2985672SIhDBB','isPremiumPlugin','context','mySessionId','99VHKJBS','channelConnectedUsers','sessions-unregister-not-exist','Sessions','isMe','stopListening','2eovZeH','assign','user','getUser','state','_users','_registeredSessions','orderNumber','hiddenInPresenceList','6BQjqRr','559823oOusYt','connection','values','_handleSessionAdd','getUserBySessionId','connected','init','requires','pluginName','addUser','getUserRole','has'];_0x1b99=function(){return _0x8b058d;};return _0x1b99();}const _0x26da09=_0x51b9;(function(_0x33b522,_0x30060f){const _0x207704=_0x51b9,_0x515806=_0x33b522();while(!![]){try{const _0xb47f45=-parseInt(_0x207704(0x110))/0x1*(-parseInt(_0x207704(0x106))/0x2)+-parseInt(_0x207704(0xfc))/0x3+-parseInt(_0x207704(0xf0))/0x4*(-parseInt(_0x207704(0xe8))/0x5)+-parseInt(_0x207704(0x10f))/0x6*(parseInt(_0x207704(0x11f))/0x7)+parseInt(_0x207704(0xea))/0x8*(-parseInt(_0x207704(0x100))/0x9)+-parseInt(_0x207704(0xeb))/0xa*(parseInt(_0x207704(0xf1))/0xb)+parseInt(_0x207704(0x123))/0xc;if(_0xb47f45===_0x30060f)break;else _0x515806['push'](_0x515806['shift']());}catch(_0x4f0f53){_0x515806['push'](_0x515806['shift']());}}}(_0x1b99,0x8e367));import{ContextPlugin as _0x3a14cd}from'ckeditor5/src/core.js';import{Collection as _0x22dfab,CKEditorError as _0x27dd70}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x509af8}from'./websocketgateway.js';function _0x51b9(_0x435737,_0x29e88c){const _0x1b9973=_0x1b99();return _0x51b9=function(_0x51b927,_0x3602cc){_0x51b927=_0x51b927-0xe3;let _0x41b42a=_0x1b9973[_0x51b927];return _0x41b42a;},_0x51b9(_0x435737,_0x29e88c);}import{Users as _0x5286f8}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3a14cd{[_0x26da09(0xed)];[_0x26da09(0x101)];[_0x26da09(0xf7)];[_0x26da09(0x10c)];[_0x26da09(0xee)];[_0x26da09(0x10b)];static get[_0x26da09(0x118)](){const _0x48f656=_0x26da09;return _0x48f656(0x103);}static get[_0x26da09(0xe9)](){return!0x0;}static get[_0x26da09(0xfd)](){return!0x0;}static get[_0x26da09(0x117)](){return[_0x509af8,_0x5286f8];}constructor(_0x306991){const _0x11982e=_0x26da09;super(_0x306991),this[_0x11982e(0xed)]=new Map(),this[_0x11982e(0x101)]=new Map(),this[_0x11982e(0xf7)]=new _0x22dfab(),this[_0x11982e(0x10c)]=new Map(),this[_0x11982e(0xee)]=0x0,this[_0x11982e(0x10b)]=this[_0x11982e(0xfe)][_0x11982e(0xf9)][_0x11982e(0xe5)](_0x5286f8);}[_0x26da09(0x116)](){const _0x4b564b=_0x26da09,_0x15a5c1=this[_0x4b564b(0xfe)][_0x4b564b(0xf9)][_0x4b564b(0xe5)](_0x509af8);this[_0x4b564b(0xef)](_0x15a5c1,_0x4b564b(0x122),(_0x1ca085,_0x1ec1b7,_0x46a348)=>{const _0x4e0891=_0x4b564b;if(_0x4e0891(0x115)!==_0x46a348)this[_0x4e0891(0xed)][_0x4e0891(0xf5)](_0x42211e=>_0x42211e[_0x4e0891(0x11d)]()),this[_0x4e0891(0x101)][_0x4e0891(0xf5)](_0x353467=>_0x353467[_0x4e0891(0x11d)]()),this[_0x4e0891(0xf7)][_0x4e0891(0x11d)]();else{for(const [_0xc47439,_0x3925b4]of this[_0x4e0891(0x10c)])for(const _0x589d5b of _0x3925b4)this[_0x4e0891(0x113)](_0xc47439,_0x589d5b);}}),this[_0x4b564b(0x11e)](_0x15a5c1[_0x4b564b(0x111)]['me'],!0x0);}[_0x26da09(0xf4)](_0x4555ea,_0x405e0e){const _0x12acb9=_0x26da09;if(this[_0x12acb9(0x10c)][_0x12acb9(0x11b)](_0x4555ea))throw new _0x27dd70(_0x12acb9(0xfb),null,{'channelId':_0x4555ea});this[_0x12acb9(0x10c)][_0x12acb9(0x11c)](_0x4555ea,_0x405e0e),this[_0x12acb9(0xed)][_0x12acb9(0x11c)](_0x4555ea,new _0x22dfab()),this[_0x12acb9(0x101)][_0x12acb9(0x11c)](_0x4555ea,new _0x22dfab()),this[_0x12acb9(0xef)](_0x405e0e,_0x12acb9(0xf8),(_0x3d2d70,_0x1cd7cb)=>this[_0x12acb9(0x113)](_0x4555ea,_0x1cd7cb)),this[_0x12acb9(0xef)](_0x405e0e,_0x12acb9(0xe4),(_0x5a5ef2,_0x188f24)=>this[_0x12acb9(0xfa)](_0x4555ea,_0x188f24));for(const _0x226562 of _0x405e0e)this[_0x12acb9(0x113)](_0x4555ea,_0x226562);}[_0x26da09(0xec)](_0x2782f1){const _0x4bf5e1=_0x26da09;if(!this[_0x4bf5e1(0x10c)][_0x4bf5e1(0x11b)](_0x2782f1))throw new _0x27dd70(_0x4bf5e1(0x102),null,{'channelId':_0x2782f1});const _0x40a987=this[_0x4bf5e1(0x10c)][_0x4bf5e1(0xe5)](_0x2782f1);this[_0x4bf5e1(0x105)](_0x40a987);for(const _0x389507 of _0x40a987)_0x4bf5e1(0x115)===this[_0x4bf5e1(0xfe)][_0x4bf5e1(0xf9)][_0x4bf5e1(0xe5)](_0x509af8)[_0x4bf5e1(0x10a)]&&this[_0x4bf5e1(0xfa)](_0x2782f1,_0x389507);this[_0x4bf5e1(0x10c)][_0x4bf5e1(0x120)](_0x2782f1),this[_0x4bf5e1(0xed)][_0x4bf5e1(0x120)](_0x2782f1),this[_0x4bf5e1(0x101)][_0x4bf5e1(0x120)](_0x2782f1);}get[_0x26da09(0xff)](){const _0x336b7e=_0x26da09;return this[_0x336b7e(0xfe)][_0x336b7e(0xf9)][_0x336b7e(0xe5)](_0x509af8)[_0x336b7e(0x111)][_0x336b7e(0xf2)];}[_0x26da09(0x114)](_0x1367b4){const _0x173bc4=_0x26da09;for(const _0x380f57 of this[_0x173bc4(0xed)][_0x173bc4(0x112)]())for(const _0x24a9d7 of _0x380f57)if(_0x24a9d7['id']===_0x1367b4)return _0x24a9d7[_0x173bc4(0x108)];}[_0x26da09(0xe7)](_0xd0069a,_0x31db17){const _0xa7d069=_0x26da09,_0x2d033d=_0x31db17?[this[_0xa7d069(0xed)][_0xa7d069(0xe5)](_0x31db17)]:this[_0xa7d069(0xed)][_0xa7d069(0x112)](),_0x580935=new Set();for(const _0x3778dd of _0x2d033d)for(const _0xe41233 of _0x3778dd)_0xe41233[_0xa7d069(0x108)]['id']===_0xd0069a['id']&&_0x580935[_0xa7d069(0xf8)](_0xe41233['id']);return _0x580935;}[_0x26da09(0x11a)](_0x4465a5){const _0x1c70ba=_0x26da09;for(const _0x270ee2 of this[_0x1c70ba(0xed)][_0x1c70ba(0x112)]())for(const _0x221775 of _0x270ee2)if(_0x221775[_0x1c70ba(0x108)]===_0x4465a5)return _0x221775[_0x1c70ba(0xe6)];}[_0x26da09(0x113)](_0xe3e408,_0xd70dbf){const _0x31ef3e=_0x26da09;if(_0x31ef3e(0x115)!==this[_0x31ef3e(0xfe)][_0x31ef3e(0xf9)][_0x31ef3e(0xe5)](_0x509af8)[_0x31ef3e(0x10a)])return;const _0x3dac2f=_0xd70dbf[_0x31ef3e(0x108)],_0x510a8c=this[_0x31ef3e(0x10b)][_0x31ef3e(0x109)](_0x3dac2f['id'])||this[_0x31ef3e(0x11e)](_0x3dac2f),_0x10ef9b=Object[_0x31ef3e(0x107)]({},_0xd70dbf,{'user':_0x510a8c});if(this[_0x31ef3e(0xed)][_0x31ef3e(0xe5)](_0xe3e408)[_0x31ef3e(0xf8)](_0x10ef9b),!_0x3dac2f[_0x31ef3e(0x10e)]){const _0x47b90e=this[_0x31ef3e(0x101)][_0x31ef3e(0xe5)](_0xe3e408);_0x47b90e[_0x31ef3e(0x11b)](_0x510a8c['id'])||_0x47b90e[_0x31ef3e(0xf8)](_0x510a8c),this[_0x31ef3e(0xf7)][_0x31ef3e(0x11b)](_0x510a8c['id'])||_0x3dac2f[_0x31ef3e(0x10e)]||this[_0x31ef3e(0xf7)][_0x31ef3e(0xf8)](_0x510a8c,_0x510a8c[_0x31ef3e(0x104)]?0x0:void 0x0);}this[_0x31ef3e(0x121)](_0x31ef3e(0xf3)+_0xe3e408,{'channelId':_0xe3e408,'session':_0x10ef9b});}[_0x26da09(0xfa)](_0xc82027,_0x533340){const _0x437620=_0x26da09;if(_0x437620(0x115)!==this[_0x437620(0xfe)][_0x437620(0xf9)][_0x437620(0xe5)](_0x509af8)[_0x437620(0x10a)])return;const _0x2d95c0=this[_0x437620(0x101)][_0x437620(0xe5)](_0xc82027),_0x1f8d97=_0x533340[_0x437620(0x108)];_0x1f8d97['id']&&(this[_0x437620(0xed)][_0x437620(0xe5)](_0xc82027)[_0x437620(0xe4)](_0x533340['id']),_0x2d95c0[_0x437620(0x11b)](_0x1f8d97['id'])&&!this[_0x437620(0xe7)](_0x1f8d97,_0xc82027)[_0x437620(0xe3)]&&_0x2d95c0[_0x437620(0xe4)](_0x1f8d97['id']),this[_0x437620(0xf7)][_0x437620(0xe5)](_0x1f8d97['id'])&&!this[_0x437620(0xe7)](_0x1f8d97)[_0x437620(0xe3)]&&this[_0x437620(0xf7)][_0x437620(0xe4)](_0x1f8d97['id']));}[_0x26da09(0x11e)](_0x14965e,_0x22551e){const _0xc94394=_0x26da09,_0x371ca8=this[_0xc94394(0x10b)][_0xc94394(0x119)](_0x14965e);return _0x22551e&&this[_0xc94394(0x10b)][_0xc94394(0xf6)](_0x14965e['id']),_0x371ca8[_0xc94394(0x10d)]=this[_0xc94394(0xee)]++,_0x371ca8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x203d(){const _0xf787ae=['isOfficialPlugin','type','addMarker','Escape','conversion','toRange','24836IYuSzG','ck-user__marker_hovered','user:position:','for','element','destroy','6081607xJogar','_createdBatches','getFirstRange','getRange','markerName','ck-user__marker-tooltip','isInline','oldRange','setCustomProperty','hasContent','orderNumber','false','model','change','enqueueChange','set','ck-user__marker\x20','name','4070620vKCSwO','6RgVHHP','update:user:range','classList','removeMarker','mouseleave','applyOperation','delete','createUIElement','markerToHighlight','schema','user:position','detach','parent','8260ELPHQV','has','textContent','checkChild','markers','editing','get','mouseenter','remove','userPositionMarker','markerNameToElements','change:range','getCustomProperty','2906316aSKTpa','741QOMMrB','isCollapsed','mySessionId','selection','getMarkerClass','getStart','isSimilar','split','plugins','33JvnmJv','user:','addEventListener','UserMarkers','createElement','853128jKKCYM','view','start','toDomElement','hasDomSelection','commands','getAttribute','fromRange','clear','deletionPosition','outerHTML','requires','createRange','stopListening','isPremiumPlugin','data-session-id','listenTo','newRange','innerHTML','afterInit','pluginName','getUserBySessionId','301MkdswJ','color','add','reconvertMarker','getSelectionClass','span','marker','size','rootName','createUserMarkerOperations','user:range','removeClass','markerRange','contenteditable','batch','$text','nodeAfter','root','editor','mapper','tableCell','startsWith','keydown','setAttribute','$graveyard','_domEmitter','render','user:range:','isLimit','end','isDocumentOperation','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getContainedElement','getPositions','document','markerToElement','init','spellcheck','isObject','getNearestSelectionRange','editingDowncast','updateMarker','undo','highest','6713555vfPkrf','ck-user__selection'];_0x203d=function(){return _0xf787ae;};return _0x203d();}const _0x2939f1=_0x45ab;(function(_0x17ce0d,_0x4d1b5a){const _0x14e48a=_0x45ab,_0x40dffa=_0x17ce0d();while(!![]){try{const _0x1a2ea8=parseInt(_0x14e48a(0x16e))/0x1*(parseInt(_0x14e48a(0x1c8))/0x2)+parseInt(_0x14e48a(0x1d6))/0x3*(-parseInt(_0x14e48a(0x1a2))/0x4)+parseInt(_0x14e48a(0x19a))/0x5*(-parseInt(_0x14e48a(0x1bb))/0x6)+parseInt(_0x14e48a(0x1a8))/0x7+parseInt(_0x14e48a(0x1e4))/0x8+parseInt(_0x14e48a(0x1d5))/0x9+parseInt(_0x14e48a(0x1ba))/0xa*(parseInt(_0x14e48a(0x1df))/0xb);if(_0x1a2ea8===_0x4d1b5a)break;else _0x40dffa['push'](_0x40dffa['shift']());}catch(_0xb93a8a){_0x40dffa['push'](_0x40dffa['shift']());}}}(_0x203d,0xd864c));import{Plugin as _0x59e84a}from'ckeditor5/src/core.js';import{global as _0x9153dd,DomEmitterMixin as _0x962584}from'ckeditor5/src/utils.js';import{Sessions as _0x249b1d}from'./sessions.js';import{ModelLiveRange as _0x51379d}from'ckeditor5/src/engine.js';function _0x45ab(_0x2fd70c,_0x1dc088){const _0x203db2=_0x203d();return _0x45ab=function(_0x45ab3a,_0x42d34a){_0x45ab3a=_0x45ab3a-0x159;let _0x2a98e7=_0x203db2[_0x45ab3a];return _0x2a98e7;},_0x45ab(_0x2fd70c,_0x1dc088);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x59e84a{[_0x2939f1(0x187)]=new(_0x962584())();static get[_0x2939f1(0x163)](){return[_0x249b1d];}static get[_0x2939f1(0x16c)](){const _0x520b2a=_0x2939f1;return _0x520b2a(0x1e2);}static get[_0x2939f1(0x19c)](){return!0x0;}static get[_0x2939f1(0x166)](){return!0x0;}[_0x2939f1(0x192)](){const _0x440d4d=_0x2939f1,_0x5580d7=this[_0x440d4d(0x180)],_0x3d8ecf=_0x5580d7[_0x440d4d(0x1de)][_0x440d4d(0x1ce)](_0x249b1d);_0x5580d7[_0x440d4d(0x1a0)][_0x440d4d(0x1a5)](_0x440d4d(0x196))[_0x440d4d(0x191)]({'model':_0x440d4d(0x1c5),'view':(_0x531af3,{writer:_0x54c9fb})=>function(_0x4d87f9,_0x51b0fb,_0x45fb0e,_0x4dbdcd){const _0x1a6ded=_0x440d4d,_0x1f2bd2=_0x4d87f9[_0x1a6ded(0x1ac)][_0x1a6ded(0x1dd)](':')[0x2],_0x403871=_0x45fb0e[_0x1a6ded(0x16d)](_0x1f2bd2);if(!_0x403871||_0x1f2bd2===_0x45fb0e[_0x1a6ded(0x1d8)])return;if(!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)][_0x1a6ded(0x1cb)](_0x4d87f9[_0x1a6ded(0x17a)][_0x1a6ded(0x15a)],_0x1a6ded(0x17d)))return;const _0x5db320={'class':_0x1a6ded(0x1b8)+_0x403871[_0x1a6ded(0x16f)][_0x1a6ded(0x1da)](),'data-name':_0x403871[_0x1a6ded(0x1b9)],'data-session-id':_0x1f2bd2},_0x373f78=_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1cc)][_0x1a6ded(0x1ce)](_0x4d87f9[_0x1a6ded(0x1ac)]),_0xf1b77f=_0x373f78[_0x1a6ded(0x1db)](),_0x17fe29=_0xf1b77f[_0x1a6ded(0x17e)],_0x2f85a4=_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)];if(_0x17fe29&&_0x2f85a4[_0x1a6ded(0x194)](_0x17fe29)&&_0x2f85a4[_0x1a6ded(0x1ae)](_0x17fe29)&&!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1cc)][_0x1a6ded(0x1ce)](_0x1a6ded(0x189)+_0x1f2bd2)[_0x1a6ded(0x1ab)]()[_0x1a6ded(0x1d7)])return;const _0x19f4d9=_0xf1b77f[_0x1a6ded(0x1c7)];return _0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)][_0x1a6ded(0x18a)](_0x19f4d9)&&!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1b1)](_0x19f4d9)&&(_0x5db320[_0x1a6ded(0x17b)]=!0x1),function(_0x31200b,_0x2dc6b5,_0xfd457d){const _0x36e2e3=_0x1a6ded,_0x1b889=_0x31200b[_0x36e2e3(0x1c2)](_0x36e2e3(0x173),_0x2dc6b5);return _0x31200b[_0x36e2e3(0x1b0)](_0x36e2e3(0x1d1),!0x0,_0x1b889),_0x1b889[_0x36e2e3(0x188)]=function(_0x496bd5){const _0x586de5=_0x36e2e3,_0x144d69=this[_0x586de5(0x15b)](_0x496bd5),_0x38139c=document[_0x586de5(0x1e3)](_0x586de5(0x173));return _0x38139c[_0x586de5(0x1bd)][_0x586de5(0x170)](_0x586de5(0x1ad)),_0x38139c[_0x586de5(0x185)](_0x586de5(0x17b),_0x586de5(0x1b3)),_0x38139c[_0x586de5(0x185)](_0x586de5(0x193),_0x586de5(0x1b3)),_0x38139c[_0x586de5(0x1ca)]=_0xfd457d[_0x586de5(0x1b9)],_0x144d69[_0x586de5(0x16a)]=_0x586de5(0x18d)+_0x38139c[_0x586de5(0x162)]+'⁠',_0x144d69[_0x586de5(0x1e1)](_0x586de5(0x1cf),()=>{const _0x3b33fc=_0x586de5;_0x144d69[_0x3b33fc(0x1bd)][_0x3b33fc(0x170)](_0x3b33fc(0x1a3));}),_0x144d69[_0x586de5(0x1e1)](_0x586de5(0x1bf),()=>{const _0x57894f=_0x586de5;_0x144d69[_0x57894f(0x1bd)][_0x57894f(0x1d0)](_0x57894f(0x1a3));}),_0x144d69;},_0x1b889[_0x36e2e3(0x1dc)]=function(_0x3bd82e){const _0x5a759a=_0x36e2e3;return!(!this[_0x5a759a(0x1d4)](_0x5a759a(0x1d1))||!_0x3bd82e[_0x5a759a(0x1d4)](_0x5a759a(0x1d1))||this[_0x5a759a(0x15e)](_0x5a759a(0x167))!=_0x3bd82e[_0x5a759a(0x15e)](_0x5a759a(0x167)));},_0x1b889;}(_0x51b0fb,_0x5db320,_0x403871);}(_0x531af3,_0x54c9fb,_0x3d8ecf,_0x5580d7)}),_0x5580d7[_0x440d4d(0x1a0)][_0x440d4d(0x1a5)](_0x440d4d(0x196))[_0x440d4d(0x1c3)]({'model':_0x440d4d(0x178),'view':_0x32dd50=>function(_0x21ffd8,_0x5c7a62){const _0x319f87=_0x440d4d,_0x4e80ce=_0x21ffd8[_0x319f87(0x1ac)][_0x319f87(0x1dd)](':')[0x2];if(_0x4e80ce===_0x5c7a62[_0x319f87(0x1d8)])return null;const _0xc9ab14=_0x5c7a62[_0x319f87(0x16d)](_0x4e80ce);if(!_0xc9ab14)return{'id':_0x4e80ce,'classes':[]};return{'id':_0x4e80ce,'classes':[_0x319f87(0x19b),_0xc9ab14[_0x319f87(0x16f)][_0x319f87(0x172)]()],'attributes':{'data-session-id':_0x4e80ce},'priority':0x7d0+_0xc9ab14[_0x319f87(0x1b2)]};}(_0x32dd50,_0x3d8ecf)}),function(_0x57124e){const _0x3c51d8=_0x440d4d,_0x239309=_0x57124e[_0x3c51d8(0x1b4)],_0x1cb2bf=new Map(),_0x29a427=_0x57124e[_0x3c51d8(0x1de)][_0x3c51d8(0x1ce)](_0x249b1d);_0x239309[_0x3c51d8(0x1cc)]['on'](_0x3c51d8(0x1bc),(_0x57cf2a,_0x231a15,_0x47f586,_0x420ace)=>{const _0x35a093=_0x3c51d8;if(!_0x420ace&&_0x1cb2bf[_0x35a093(0x1ce)](_0x231a15[_0x35a093(0x1b9)]))return _0x1cb2bf[_0x35a093(0x1ce)](_0x231a15[_0x35a093(0x1b9)])[_0x35a093(0x1c6)](),void _0x1cb2bf[_0x35a093(0x1c1)](_0x231a15[_0x35a093(0x1b9)]);const _0x418561=_0x231a15[_0x35a093(0x1b9)][_0x35a093(0x1dd)](':')[0x2];if(_0x418561===_0x29a427[_0x35a093(0x1d8)])return;const _0x52668b=_0x35a093(0x1a4)+_0x418561;_0x239309[_0x35a093(0x1cc)][_0x35a093(0x1c9)](_0x52668b)&&_0x57124e[_0x35a093(0x1cd)][_0x35a093(0x171)](_0x52668b),_0x231a15['on'](_0x35a093(0x1d3),(_0x4c7479,_0x46ff6b,_0x508de6)=>{const _0x1e6ff3=_0x35a093;if(_0x1e6ff3(0x186)!=_0x46ff6b[_0x1e6ff3(0x17f)][_0x1e6ff3(0x176)]&&_0x1e6ff3(0x186)==_0x231a15[_0x1e6ff3(0x1ab)]()[_0x1e6ff3(0x17f)][_0x1e6ff3(0x176)]&&!_0x1cb2bf[_0x1e6ff3(0x1c9)](_0x231a15[_0x1e6ff3(0x1b9)])){const _0x3cc822=_0x239309[_0x1e6ff3(0x1c4)][_0x1e6ff3(0x195)](_0x508de6[_0x1e6ff3(0x161)]);if(_0x3cc822){const _0x3d45e2=_0x51379d[_0x1e6ff3(0x15f)](_0x3cc822);_0x1cb2bf[_0x1e6ff3(0x1b7)](_0x231a15[_0x1e6ff3(0x1b9)],_0x3d45e2),_0x3d45e2['on'](_0x1e6ff3(0x1d3),(_0x41bfee,_0x16a88d,_0x3d0394)=>{const _0x22dadb=_0x1e6ff3;if(_0x22dadb(0x186)==_0x3d45e2[_0x22dadb(0x17f)][_0x22dadb(0x176)]){const _0x43902e=_0x239309[_0x22dadb(0x1c4)][_0x22dadb(0x195)](_0x3d0394[_0x22dadb(0x161)]);_0x43902e?(_0x3d45e2[_0x22dadb(0x15a)]=_0x43902e[_0x22dadb(0x15a)],_0x3d45e2[_0x22dadb(0x18b)]=_0x43902e[_0x22dadb(0x18b)]):(_0x1cb2bf[_0x22dadb(0x1c1)](_0x231a15[_0x22dadb(0x1b9)]),_0x3d45e2[_0x22dadb(0x1c6)]());}});}}});}),_0x239309[_0x3c51d8(0x190)]['on'](_0x3c51d8(0x1b5),()=>{const _0x249368=_0x3c51d8;_0x1cb2bf[_0x249368(0x175)]>0x0&&_0x239309[_0x249368(0x1b6)]({'isUndoable':!0x1},_0x322b88=>{const _0x2251fc=_0x249368;for(const [_0x5cc546,_0x50c60c]of _0x1cb2bf)_0x2251fc(0x186)==_0x239309[_0x2251fc(0x1cc)][_0x2251fc(0x1ce)](_0x5cc546)[_0x2251fc(0x1ab)]()[_0x2251fc(0x17f)][_0x2251fc(0x176)]&&(ee(_0x5cc546[_0x2251fc(0x1dd)](':')[0x2],_0x50c60c[_0x2251fc(0x1a1)](),_0x239309,_0x322b88),_0x50c60c[_0x2251fc(0x1c6)]());_0x1cb2bf[_0x2251fc(0x160)]();});});}(_0x5580d7),this[_0x440d4d(0x187)][_0x440d4d(0x168)](_0x9153dd[_0x440d4d(0x190)],_0x440d4d(0x184),(_0x47407a,{key:_0x17ed95})=>{const _0x2e7751=_0x440d4d;_0x2e7751(0x19f)===_0x17ed95&&function(_0x5e95fd){const _0x115955=_0x2e7751;_0x5e95fd[_0x115955(0x1cd)][_0x115955(0x159)][_0x115955(0x1b5)](_0x261999=>{const _0x18c0b6=_0x115955;for(const _0x5911d7 of _0x5e95fd[_0x18c0b6(0x1b4)][_0x18c0b6(0x1cc)]){if(!_0x5911d7[_0x18c0b6(0x1b9)][_0x18c0b6(0x183)](_0x18c0b6(0x1c5)))continue;const _0x359b1b=_0x5e95fd[_0x18c0b6(0x1cd)][_0x18c0b6(0x181)][_0x18c0b6(0x1d2)](_0x5911d7[_0x18c0b6(0x1b9)]);if(_0x359b1b){for(const _0x59c1e1 of _0x359b1b)_0x261999[_0x18c0b6(0x179)](_0x18c0b6(0x1a3),_0x59c1e1);}}});}(_0x5580d7);},{'useCapture':!0x0});}[_0x2939f1(0x16b)](){const _0x1fbd0d=_0x2939f1,_0xfd693=this[_0x1fbd0d(0x180)],_0x5ed5cc=_0xfd693[_0x1fbd0d(0x15d)][_0x1fbd0d(0x1ce)](_0x1fbd0d(0x198));_0x5ed5cc&&_0xfd693[_0x1fbd0d(0x1b4)]['on'](_0x1fbd0d(0x1c0),(_0x2b4621,_0x305d57)=>{const _0xbf5ca3=_0x1fbd0d,_0x1ec8bf=_0x305d57[0x0];if(!_0x1ec8bf[_0xbf5ca3(0x18c)])return;if(_0xbf5ca3(0x174)!=_0x1ec8bf[_0xbf5ca3(0x19d)]||!_0x1ec8bf[_0xbf5ca3(0x1b9)][_0xbf5ca3(0x183)](_0xbf5ca3(0x1e0)))return;const _0x220559=_0x1ec8bf[_0xbf5ca3(0x17c)];_0x5ed5cc[_0xbf5ca3(0x1a9)][_0xbf5ca3(0x1c9)](_0x220559)&&(_0x1ec8bf[_0xbf5ca3(0x169)]=_0x1ec8bf[_0xbf5ca3(0x1af)]?_0xfd693[_0xbf5ca3(0x1b4)][_0xbf5ca3(0x164)](_0x1ec8bf[_0xbf5ca3(0x1af)][_0xbf5ca3(0x15a)],_0x1ec8bf[_0xbf5ca3(0x1af)][_0xbf5ca3(0x18b)]):null);},{'priority':_0x1fbd0d(0x199)});}[_0x2939f1(0x1a7)](){const _0x2e52d1=_0x2939f1;return this[_0x2e52d1(0x187)][_0x2e52d1(0x165)](),super[_0x2e52d1(0x1a7)]();}[_0x2939f1(0x177)](){const _0x1ce08f=_0x2939f1,_0x456dad=this[_0x1ce08f(0x180)],_0x4f7b98=_0x456dad[_0x1ce08f(0x1b4)][_0x1ce08f(0x190)],_0xfe4089=_0x456dad[_0x1ce08f(0x1de)][_0x1ce08f(0x1ce)](_0x249b1d);_0x456dad[_0x1ce08f(0x1b4)][_0x1ce08f(0x1b6)]({'isUndoable':!0x1},_0xe31b39=>{const _0x1dda05=_0x1ce08f,_0x1afde0=_0x1dda05(0x189)+_0xfe4089[_0x1dda05(0x1d8)],_0x28fde0=_0x1dda05(0x1a4)+_0xfe4089[_0x1dda05(0x1d8)],_0x38757=_0x456dad[_0x1dda05(0x1b4)][_0x1dda05(0x1cc)][_0x1dda05(0x1c9)](_0x1afde0);_0x456dad[_0x1dda05(0x1cd)][_0x1dda05(0x159)][_0x1dda05(0x15c)]?ee(_0xfe4089[_0x1dda05(0x1d8)],_0x4f7b98[_0x1dda05(0x1d9)][_0x1dda05(0x1aa)](),_0x456dad[_0x1dda05(0x1b4)],_0xe31b39):_0x38757&&(_0xe31b39[_0x1dda05(0x1be)](_0x1afde0),_0xe31b39[_0x1dda05(0x1be)](_0x28fde0));});}}function ee(_0x1f7ec3,_0x27eb06,_0x43d100,_0x999fbd){const _0x2fd867=_0x2939f1,_0x2bcdc0=_0x2fd867(0x189)+_0x1f7ec3,_0xcd0a3a=_0x2fd867(0x1a4)+_0x1f7ec3,_0x1d19e6=_0x27eb06[_0x2fd867(0x18e)]();let _0x3ba757=_0x27eb06[_0x2fd867(0x15a)];if(_0x1d19e6&&_0x1d19e6['is'](_0x2fd867(0x1a6),_0x2fd867(0x182))){const _0x3e8d99=function(_0x4e0448,_0x259d6f){const _0xbe84e3=_0x2fd867;for(const _0x7e979b of _0x4e0448[_0xbe84e3(0x18f)]())if(_0x259d6f[_0xbe84e3(0x1c4)][_0xbe84e3(0x1cb)](_0x7e979b,_0xbe84e3(0x17d)))return _0x7e979b;}(_0x27eb06,_0x43d100);_0x3e8d99&&(_0x3ba757=_0x3e8d99,_0x27eb06=_0x999fbd[_0x2fd867(0x164)](_0x3ba757));}const _0x1d6543=_0x999fbd[_0x2fd867(0x164)](_0x3ba757);_0x43d100[_0x2fd867(0x1cc)][_0x2fd867(0x1c9)](_0x2bcdc0)?(_0x999fbd[_0x2fd867(0x197)](_0x2bcdc0,{'range':_0x27eb06}),_0x999fbd[_0x2fd867(0x197)](_0xcd0a3a,{'range':_0x1d6543})):(_0x999fbd[_0x2fd867(0x19e)](_0x2bcdc0,{'range':_0x27eb06,'usingOperation':!0x0}),_0x999fbd[_0x2fd867(0x19e)](_0xcd0a3a,{'range':_0x1d6543,'usingOperation':!0x0}));}
23
+ const _0xf08980=_0x316a;(function(_0x378d8f,_0x5b3817){const _0x5aa98b=_0x316a,_0xc851a2=_0x378d8f();while(!![]){try{const _0x5c327a=parseInt(_0x5aa98b(0x1c9))/0x1*(-parseInt(_0x5aa98b(0x14d))/0x2)+-parseInt(_0x5aa98b(0x1a4))/0x3+-parseInt(_0x5aa98b(0x1ca))/0x4*(parseInt(_0x5aa98b(0x1be))/0x5)+parseInt(_0x5aa98b(0x1a7))/0x6+parseInt(_0x5aa98b(0x19c))/0x7+-parseInt(_0x5aa98b(0x18b))/0x8*(parseInt(_0x5aa98b(0x1a9))/0x9)+-parseInt(_0x5aa98b(0x1c1))/0xa*(-parseInt(_0x5aa98b(0x148))/0xb);if(_0x5c327a===_0x5b3817)break;else _0xc851a2['push'](_0xc851a2['shift']());}catch(_0x1ae2d2){_0xc851a2['push'](_0xc851a2['shift']());}}}(_0x5a73,0xbbf05));import{Plugin as _0x536468}from'ckeditor5/src/core.js';function _0x316a(_0x4627e5,_0x94b004){const _0x5a734a=_0x5a73();return _0x316a=function(_0x316a73,_0xcb0436){_0x316a73=_0x316a73-0x13f;let _0x2d25e8=_0x5a734a[_0x316a73];return _0x2d25e8;},_0x316a(_0x4627e5,_0x94b004);}import{global as _0x125ebb,DomEmitterMixin as _0x471d09}from'ckeditor5/src/utils.js';import{Sessions as _0x11e1da}from'./sessions.js';import{ModelLiveRange as _0x499002}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x536468{[_0xf08980(0x1bd)]=new(_0x471d09())();static get[_0xf08980(0x198)](){return[_0x11e1da];}static get[_0xf08980(0x141)](){const _0x3caf98=_0xf08980;return _0x3caf98(0x15d);}static get[_0xf08980(0x19e)](){return!0x0;}static get[_0xf08980(0x140)](){return!0x0;}[_0xf08980(0x178)](){const _0x206b79=_0xf08980,_0x5453d8=this[_0x206b79(0x144)],_0x106d4f=_0x5453d8[_0x206b79(0x159)][_0x206b79(0x142)](_0x11e1da);_0x5453d8[_0x206b79(0x161)][_0x206b79(0x162)](_0x206b79(0x1ab))[_0x206b79(0x14e)]({'model':_0x206b79(0x1b0),'view':(_0x358f26,{writer:_0x340035})=>function(_0x5c4e60,_0x2f64c4,_0x34c8c5,_0x33dde1){const _0x5d61ee=_0x206b79,_0x5a8cff=_0x5c4e60[_0x5d61ee(0x157)][_0x5d61ee(0x1b7)](':')[0x2],_0xd27234=_0x34c8c5[_0x5d61ee(0x14a)](_0x5a8cff);if(!_0xd27234||_0x5a8cff===_0x34c8c5[_0x5d61ee(0x169)])return;if(!_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x15b)][_0x5d61ee(0x192)](_0x5c4e60[_0x5d61ee(0x17b)][_0x5d61ee(0x1c7)],_0x5d61ee(0x163)))return;const _0x433f4e={'class':_0x5d61ee(0x1b2)+_0xd27234[_0x5d61ee(0x14b)][_0x5d61ee(0x19f)](),'data-name':_0xd27234[_0x5d61ee(0x182)],'data-session-id':_0x5a8cff},_0x55d051=_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x179)][_0x5d61ee(0x142)](_0x5c4e60[_0x5d61ee(0x157)]),_0x59cf9d=_0x55d051[_0x5d61ee(0x165)](),_0x29122b=_0x59cf9d[_0x5d61ee(0x173)],_0x3885d5=_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x15b)];if(_0x29122b&&_0x3885d5[_0x5d61ee(0x186)](_0x29122b)&&_0x3885d5[_0x5d61ee(0x16c)](_0x29122b)&&!_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x179)][_0x5d61ee(0x142)](_0x5d61ee(0x1a0)+_0x5a8cff)[_0x5d61ee(0x167)]()[_0x5d61ee(0x152)])return;const _0x36e0f3=_0x59cf9d[_0x5d61ee(0x1a6)];return _0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x15b)][_0x5d61ee(0x17c)](_0x36e0f3)&&!_0x33dde1[_0x5d61ee(0x16a)][_0x5d61ee(0x183)](_0x36e0f3)&&(_0x433f4e[_0x5d61ee(0x1b4)]=!0x1),function(_0x13c0d9,_0x811e06,_0x15999b){const _0x3aea32=_0x5d61ee,_0x2f71e6=_0x13c0d9[_0x3aea32(0x193)](_0x3aea32(0x1a2),_0x811e06);return _0x13c0d9[_0x3aea32(0x1c4)](_0x3aea32(0x18a),!0x0,_0x2f71e6),_0x2f71e6[_0x3aea32(0x19b)]=function(_0xa70589){const _0x47806b=_0x3aea32,_0xe24baa=this[_0x47806b(0x1c5)](_0xa70589),_0x26176e=document[_0x47806b(0x150)](_0x47806b(0x1a2));return _0x26176e[_0x47806b(0x146)][_0x47806b(0x190)](_0x47806b(0x1b9)),_0x26176e[_0x47806b(0x194)](_0x47806b(0x1b4),_0x47806b(0x18c)),_0x26176e[_0x47806b(0x194)](_0x47806b(0x156),_0x47806b(0x18c)),_0x26176e[_0x47806b(0x13f)]=_0x15999b[_0x47806b(0x182)],_0xe24baa[_0x47806b(0x15f)]=_0x47806b(0x18d)+_0x26176e[_0x47806b(0x158)]+'⁠',_0xe24baa[_0x47806b(0x16b)](_0x47806b(0x151),()=>{const _0x4bbabd=_0x47806b;_0xe24baa[_0x4bbabd(0x146)][_0x4bbabd(0x190)](_0x4bbabd(0x195));}),_0xe24baa[_0x47806b(0x16b)](_0x47806b(0x1aa),()=>{const _0x2a5cbe=_0x47806b;_0xe24baa[_0x2a5cbe(0x146)][_0x2a5cbe(0x16d)](_0x2a5cbe(0x195));}),_0xe24baa;},_0x2f71e6[_0x3aea32(0x184)]=function(_0x2ebd8e){const _0x346116=_0x3aea32;return!(!this[_0x346116(0x1c2)](_0x346116(0x18a))||!_0x2ebd8e[_0x346116(0x1c2)](_0x346116(0x18a))||this[_0x346116(0x166)](_0x346116(0x17f))!=_0x2ebd8e[_0x346116(0x166)](_0x346116(0x17f)));},_0x2f71e6;}(_0x2f64c4,_0x433f4e,_0xd27234);}(_0x358f26,_0x340035,_0x106d4f,_0x5453d8)}),_0x5453d8[_0x206b79(0x161)][_0x206b79(0x162)](_0x206b79(0x1ab))[_0x206b79(0x164)]({'model':_0x206b79(0x160),'view':_0x4eaf7b=>function(_0x5b9d9b,_0x45b791){const _0x170f6c=_0x206b79,_0x97392a=_0x5b9d9b[_0x170f6c(0x157)][_0x170f6c(0x1b7)](':')[0x2];if(_0x97392a===_0x45b791[_0x170f6c(0x169)])return null;const _0x4ff67d=_0x45b791[_0x170f6c(0x14a)](_0x97392a);if(!_0x4ff67d)return{'id':_0x97392a,'classes':[]};return{'id':_0x97392a,'classes':[_0x170f6c(0x143),_0x4ff67d[_0x170f6c(0x14b)][_0x170f6c(0x1a8)]()],'attributes':{'data-session-id':_0x97392a},'priority':0x7d0+_0x4ff67d[_0x170f6c(0x1c6)]};}(_0x4eaf7b,_0x106d4f)}),function(_0x5632d5){const _0x1ab89c=_0x206b79,_0x3a5c40=_0x5632d5[_0x1ab89c(0x16a)],_0xdff60d=new Map(),_0x295a17=_0x5632d5[_0x1ab89c(0x159)][_0x1ab89c(0x142)](_0x11e1da);_0x3a5c40[_0x1ab89c(0x179)]['on'](_0x1ab89c(0x168),(_0x5b120a,_0x212c6d,_0x3992fb,_0x4dcc84)=>{const _0x78b975=_0x1ab89c;if(!_0x4dcc84&&_0xdff60d[_0x78b975(0x142)](_0x212c6d[_0x78b975(0x182)]))return _0xdff60d[_0x78b975(0x142)](_0x212c6d[_0x78b975(0x182)])[_0x78b975(0x1bc)](),void _0xdff60d[_0x78b975(0x174)](_0x212c6d[_0x78b975(0x182)]);const _0x419785=_0x212c6d[_0x78b975(0x182)][_0x78b975(0x1b7)](':')[0x2];if(_0x419785===_0x295a17[_0x78b975(0x169)])return;const _0x3f0024=_0x78b975(0x1c3)+_0x419785;_0x3a5c40[_0x78b975(0x179)][_0x78b975(0x1b6)](_0x3f0024)&&_0x5632d5[_0x78b975(0x181)][_0x78b975(0x170)](_0x3f0024),_0x212c6d['on'](_0x78b975(0x15a),(_0x1399c1,_0x59a71b,_0x24b5ae)=>{const _0x4ae1ed=_0x78b975;if(_0x4ae1ed(0x16e)!=_0x59a71b[_0x4ae1ed(0x1ac)][_0x4ae1ed(0x147)]&&_0x4ae1ed(0x16e)==_0x212c6d[_0x4ae1ed(0x167)]()[_0x4ae1ed(0x1ac)][_0x4ae1ed(0x147)]&&!_0xdff60d[_0x4ae1ed(0x1b6)](_0x212c6d[_0x4ae1ed(0x182)])){const _0x42ab7e=_0x3a5c40[_0x4ae1ed(0x15b)][_0x4ae1ed(0x1c0)](_0x24b5ae[_0x4ae1ed(0x177)]);if(_0x42ab7e){const _0x5b7a0a=_0x499002[_0x4ae1ed(0x154)](_0x42ab7e);_0xdff60d[_0x4ae1ed(0x1ae)](_0x212c6d[_0x4ae1ed(0x182)],_0x5b7a0a),_0x5b7a0a['on'](_0x4ae1ed(0x15a),(_0x4e580c,_0x162e83,_0x1d45b8)=>{const _0x412945=_0x4ae1ed;if(_0x412945(0x16e)==_0x5b7a0a[_0x412945(0x1ac)][_0x412945(0x147)]){const _0x38b3f4=_0x3a5c40[_0x412945(0x15b)][_0x412945(0x1c0)](_0x1d45b8[_0x412945(0x177)]);_0x38b3f4?(_0x5b7a0a[_0x412945(0x1c7)]=_0x38b3f4[_0x412945(0x1c7)],_0x5b7a0a[_0x412945(0x1bf)]=_0x38b3f4[_0x412945(0x1bf)]):(_0xdff60d[_0x412945(0x174)](_0x212c6d[_0x412945(0x182)]),_0x5b7a0a[_0x412945(0x1bc)]());}});}}});}),_0x3a5c40[_0x1ab89c(0x17d)]['on'](_0x1ab89c(0x18f),()=>{const _0x56751c=_0x1ab89c;_0xdff60d[_0x56751c(0x155)]>0x0&&_0x3a5c40[_0x56751c(0x176)]({'isUndoable':!0x1},_0x566ece=>{const _0x451ac7=_0x56751c;for(const [_0x578f10,_0x2df32b]of _0xdff60d)_0x451ac7(0x16e)==_0x3a5c40[_0x451ac7(0x179)][_0x451ac7(0x142)](_0x578f10)[_0x451ac7(0x167)]()[_0x451ac7(0x1ac)][_0x451ac7(0x147)]&&(Y(_0x578f10[_0x451ac7(0x1b7)](':')[0x2],_0x2df32b[_0x451ac7(0x1bb)](),_0x3a5c40,_0x566ece),_0x2df32b[_0x451ac7(0x1bc)]());_0xdff60d[_0x451ac7(0x19d)]();});});}(_0x5453d8),this[_0x206b79(0x1bd)][_0x206b79(0x1a5)](_0x125ebb[_0x206b79(0x17d)],_0x206b79(0x180),(_0x3313c7,{key:_0x242a77})=>{const _0x287de4=_0x206b79;_0x287de4(0x14f)===_0x242a77&&function(_0x5cb084){const _0x260ead=_0x287de4;_0x5cb084[_0x260ead(0x181)][_0x260ead(0x1b5)][_0x260ead(0x18f)](_0x1af5b7=>{const _0x5b9c8e=_0x260ead;for(const _0xa21f88 of _0x5cb084[_0x5b9c8e(0x16a)][_0x5b9c8e(0x179)]){if(!_0xa21f88[_0x5b9c8e(0x182)][_0x5b9c8e(0x14c)](_0x5b9c8e(0x1b0)))continue;const _0x4a019e=_0x5cb084[_0x5b9c8e(0x181)][_0x5b9c8e(0x188)][_0x5b9c8e(0x1b3)](_0xa21f88[_0x5b9c8e(0x182)]);if(_0x4a019e){for(const _0x4127c9 of _0x4a019e)_0x1af5b7[_0x5b9c8e(0x145)](_0x5b9c8e(0x195),_0x4127c9);}}});}(_0x5453d8);},{'useCapture':!0x0});}[_0xf08980(0x187)](){const _0x49a2b8=_0xf08980,_0x20b5d9=this[_0x49a2b8(0x144)],_0x1ed924=_0x20b5d9[_0x49a2b8(0x172)][_0x49a2b8(0x142)](_0x49a2b8(0x185));_0x1ed924&&_0x20b5d9[_0x49a2b8(0x16a)]['on'](_0x49a2b8(0x171),(_0x3f2138,_0x347ab1)=>{const _0x26c1ae=_0x49a2b8,_0x4cf52d=_0x347ab1[0x0];if(!_0x4cf52d[_0x26c1ae(0x1ba)])return;if(_0x26c1ae(0x17e)!=_0x4cf52d[_0x26c1ae(0x17a)]||!_0x4cf52d[_0x26c1ae(0x182)][_0x26c1ae(0x14c)](_0x26c1ae(0x189)))return;const _0x16b6b4=_0x4cf52d[_0x26c1ae(0x199)];_0x1ed924[_0x26c1ae(0x16f)][_0x26c1ae(0x1b6)](_0x16b6b4)&&(_0x4cf52d[_0x26c1ae(0x1a1)]=_0x4cf52d[_0x26c1ae(0x175)]?_0x20b5d9[_0x26c1ae(0x16a)][_0x26c1ae(0x197)](_0x4cf52d[_0x26c1ae(0x175)][_0x26c1ae(0x1c7)],_0x4cf52d[_0x26c1ae(0x175)][_0x26c1ae(0x1bf)]):null);},{'priority':_0x49a2b8(0x153)});}[_0xf08980(0x1ad)](){const _0x5c0351=_0xf08980;return this[_0x5c0351(0x1bd)][_0x5c0351(0x149)](),super[_0x5c0351(0x1ad)]();}[_0xf08980(0x196)](){const _0xe293f3=_0xf08980,_0x131c39=this[_0xe293f3(0x144)],_0x24f51b=_0x131c39[_0xe293f3(0x16a)][_0xe293f3(0x17d)],_0x4e3ab0=_0x131c39[_0xe293f3(0x159)][_0xe293f3(0x142)](_0x11e1da);_0x131c39[_0xe293f3(0x16a)][_0xe293f3(0x176)]({'isUndoable':!0x1},_0x936d=>{const _0x278413=_0xe293f3,_0x1b9b20=_0x278413(0x1a0)+_0x4e3ab0[_0x278413(0x169)],_0x49333f=_0x278413(0x1c3)+_0x4e3ab0[_0x278413(0x169)],_0x2de39c=_0x131c39[_0x278413(0x16a)][_0x278413(0x179)][_0x278413(0x1b6)](_0x1b9b20);_0x131c39[_0x278413(0x181)][_0x278413(0x1b5)][_0x278413(0x18e)]?Y(_0x4e3ab0[_0x278413(0x169)],_0x24f51b[_0x278413(0x1c8)][_0x278413(0x1af)](),_0x131c39[_0x278413(0x16a)],_0x936d):_0x2de39c&&(_0x936d[_0x278413(0x15e)](_0x1b9b20),_0x936d[_0x278413(0x15e)](_0x49333f));});}}function Y(_0x100809,_0x2235f4,_0x2e70d7,_0x2782c4){const _0x5605bc=_0xf08980,_0x221f72=_0x5605bc(0x1a0)+_0x100809,_0x4deefd=_0x5605bc(0x1c3)+_0x100809,_0x52cedb=_0x2235f4[_0x5605bc(0x191)]();let _0x26c552=_0x2235f4[_0x5605bc(0x1c7)];if(_0x52cedb&&_0x52cedb['is'](_0x5605bc(0x1b8),_0x5605bc(0x1b1))){const _0x4a9f62=function(_0x5d0478,_0x563076){const _0x21659b=_0x5605bc;for(const _0xf0cc50 of _0x5d0478[_0x21659b(0x15c)]())if(_0x563076[_0x21659b(0x15b)][_0x21659b(0x192)](_0xf0cc50,_0x21659b(0x163)))return _0xf0cc50;}(_0x2235f4,_0x2e70d7);_0x4a9f62&&(_0x26c552=_0x4a9f62,_0x2235f4=_0x2782c4[_0x5605bc(0x197)](_0x26c552));}const _0x2a09c6=_0x2782c4[_0x5605bc(0x197)](_0x26c552);_0x2e70d7[_0x5605bc(0x179)][_0x5605bc(0x1b6)](_0x221f72)?(_0x2782c4[_0x5605bc(0x1a3)](_0x221f72,{'range':_0x2235f4}),_0x2782c4[_0x5605bc(0x1a3)](_0x4deefd,{'range':_0x2a09c6})):(_0x2782c4[_0x5605bc(0x19a)](_0x221f72,{'range':_0x2235f4,'usingOperation':!0x0}),_0x2782c4[_0x5605bc(0x19a)](_0x4deefd,{'range':_0x2a09c6,'usingOperation':!0x0}));}function _0x5a73(){const _0x5ebadc=['marker','data-session-id','keydown','editing','name','hasContent','isSimilar','undo','isObject','afterInit','mapper','user:','userPositionMarker','853016aSPqlO','false','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','hasDomSelection','change','add','getContainedElement','checkChild','createUIElement','setAttribute','ck-user__marker_hovered','createUserMarkerOperations','createRange','requires','batch','addMarker','render','7924777NnmYbq','clear','isOfficialPlugin','getMarkerClass','user:range:','newRange','span','updateMarker','1559886DnMqpF','listenTo','parent','2615112iHrzoo','getSelectionClass','27pnIlNc','mouseleave','editingDowncast','root','destroy','set','getFirstRange','user:position','tableCell','ck-user__marker\x20','markerNameToElements','contenteditable','view','has','split','element','ck-user__marker-tooltip','isDocumentOperation','toRange','detach','_domEmitter','253245ILueai','end','getNearestSelectionRange','33410EoYOCI','getCustomProperty','user:position:','setCustomProperty','toDomElement','orderNumber','start','selection','198668ZxroSf','40rHsiZb','textContent','isPremiumPlugin','pluginName','get','ck-user__selection','editor','removeClass','classList','rootName','3113LhTYKU','stopListening','getUserBySessionId','color','startsWith','4Xaqtor','markerToElement','Escape','createElement','mouseenter','isCollapsed','highest','fromRange','size','spellcheck','markerName','outerHTML','plugins','change:range','schema','getPositions','UserMarkers','removeMarker','innerHTML','user:range','conversion','for','$text','markerToHighlight','getStart','getAttribute','getRange','update:user:range','mySessionId','model','addEventListener','isInline','remove','$graveyard','_createdBatches','reconvertMarker','applyOperation','commands','nodeAfter','delete','oldRange','enqueueChange','deletionPosition','init','markers','type','markerRange','isLimit','document'];_0x5a73=function(){return _0x5ebadc;};return _0x5a73();}