@ckeditor/ckeditor5-real-time-collaboration 47.6.0-alpha.7 → 47.6.0-alpha.9

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 _0x1ac708=_0x3f3e;(function(_0x5868bf,_0x1645a5){const _0x328f4b=_0x3f3e,_0x4264ac=_0x5868bf();while(!![]){try{const _0x50a40c=-parseInt(_0x328f4b(0x184))/0x1*(parseInt(_0x328f4b(0x182))/0x2)+parseInt(_0x328f4b(0x16b))/0x3+-parseInt(_0x328f4b(0x17b))/0x4*(parseInt(_0x328f4b(0x176))/0x5)+parseInt(_0x328f4b(0x180))/0x6*(-parseInt(_0x328f4b(0x187))/0x7)+parseInt(_0x328f4b(0x171))/0x8*(parseInt(_0x328f4b(0x16e))/0x9)+-parseInt(_0x328f4b(0x16d))/0xa*(-parseInt(_0x328f4b(0x175))/0xb)+parseInt(_0x328f4b(0x18b))/0xc;if(_0x50a40c===_0x1645a5)break;else _0x4264ac['push'](_0x4264ac['shift']());}catch(_0x4fd189){_0x4264ac['push'](_0x4264ac['shift']());}}}(_0x5f19,0x905ba));function _0x5f19(){const _0x1e434c=['4050729ASPKYY','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','8bNJnqb','hasPopup','set','keystrokes','7579knqVBC','5802865mIYDSj','listenTo','.ck-balloon-panel_with-arrow','render','element','4FpBtVj','ck-presence-list__list','bindTemplate','relatedTarget','contains','3425028BHzPsM','presencelist:show','2HMBSKT','focus','623894GRFNtD','.ck-presence-list__dropdown-list','Connected\x20users\x20list','14kFCaIP','setTemplate','querySelector','items','13977708iiRmKJ','change:hasPopup','removeAttribute','createCollection','list','presencelist:hide','fire','aria-expanded','isExpanded','2456238FcSfwp','setAttribute','15730FpoyKq'];_0x5f19=function(){return _0x1e434c;};return _0x5f19();}import{View as _0x13f6dd}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x320171}from'ckeditor5/src/utils.js';function _0x3f3e(_0x1ad1a3,_0x3a0047){const _0x5f1929=_0x5f19();return _0x3f3e=function(_0x3f3e9b,_0x4f4c98){_0x3f3e9b=_0x3f3e9b-0x169;let _0x120086=_0x5f1929[_0x3f3e9b];return _0x120086;},_0x3f3e(_0x1ad1a3,_0x3a0047);}import{getTranslation as _0x5dd166}from'../../common-translations.js';export class PresenceInlineListView extends _0x13f6dd{[_0x1ac708(0x18a)];[_0x1ac708(0x174)];constructor(_0x5a3bda){const _0x46a6b4=_0x1ac708;super(_0x5a3bda);const _0x44cd77=this[_0x46a6b4(0x17d)];this[_0x46a6b4(0x18a)]=this[_0x46a6b4(0x18e)](),this[_0x46a6b4(0x174)]=new _0x320171(),this[_0x46a6b4(0x173)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x46a6b4(0x188)]({'tag':_0x46a6b4(0x16f),'attributes':{'aria-haspopup':_0x44cd77['if'](_0x46a6b4(0x172)),'aria-expanded':_0x44cd77['to'](_0x46a6b4(0x16a),_0x131130=>this[_0x46a6b4(0x172)]&&String(_0x131130)),'aria-label':_0x44cd77['to'](_0x46a6b4(0x172),_0x261bea=>_0x5dd166(_0x5a3bda,_0x261bea?_0x46a6b4(0x170):_0x46a6b4(0x186))),'role':_0x46a6b4(0x18f),'tabindex':_0x44cd77['to'](_0x46a6b4(0x172),_0x183934=>!!_0x183934&&0x0),'class':['ck',_0x46a6b4(0x17c)]},'children':this[_0x46a6b4(0x18a)],'on':{'mouseenter':_0x44cd77['to'](()=>this[_0x46a6b4(0x191)](_0x46a6b4(0x181))),'mouseleave':_0x44cd77['to'](_0x5ebea7=>{const _0x34bc5d=_0x46a6b4,_0xdea7e1=_0x5ebea7,_0x1b71a2=document[_0x34bc5d(0x189)](_0x34bc5d(0x185)),_0xff5671=document[_0x34bc5d(0x189)](_0x34bc5d(0x178));_0x1b71a2?.[_0x34bc5d(0x17f)](_0xdea7e1[_0x34bc5d(0x17e)])||_0xff5671?.[_0x34bc5d(0x17f)](_0xdea7e1[_0x34bc5d(0x17e)])||this[_0x34bc5d(0x191)](_0x34bc5d(0x190));})}}),this['on'](_0x46a6b4(0x18c),(_0x1a7dde,_0x53edc0,_0x42c224)=>{const _0x3117b5=_0x46a6b4;this[_0x3117b5(0x17a)]&&(_0x42c224?this[_0x3117b5(0x17a)][_0x3117b5(0x16c)](_0x3117b5(0x169),String(this[_0x3117b5(0x16a)])):this[_0x3117b5(0x17a)][_0x3117b5(0x18d)](_0x3117b5(0x169)));});}[_0x1ac708(0x183)](){const _0x1bceea=_0x1ac708;this[_0x1bceea(0x17a)][_0x1bceea(0x183)]();}[_0x1ac708(0x179)](){const _0x14ec8e=_0x1ac708;super[_0x14ec8e(0x179)](),this[_0x14ec8e(0x174)][_0x14ec8e(0x177)](this[_0x14ec8e(0x17a)]);}}
23
+ function _0x2e37(_0x3e3fc3,_0x583b58){const _0x68242f=_0x6824();return _0x2e37=function(_0x2e372d,_0x38b018){_0x2e372d=_0x2e372d-0xd0;let _0xc205a6=_0x68242f[_0x2e372d];return _0xc205a6;},_0x2e37(_0x3e3fc3,_0x583b58);}const _0x4f722f=_0x2e37;(function(_0x8be917,_0x849c44){const _0x3b0da6=_0x2e37,_0x4134ce=_0x8be917();while(!![]){try{const _0x357f0f=parseInt(_0x3b0da6(0xd2))/0x1+parseInt(_0x3b0da6(0xf4))/0x2+-parseInt(_0x3b0da6(0xf1))/0x3+-parseInt(_0x3b0da6(0xe2))/0x4+parseInt(_0x3b0da6(0xee))/0x5+-parseInt(_0x3b0da6(0xec))/0x6+parseInt(_0x3b0da6(0xdb))/0x7*(parseInt(_0x3b0da6(0xde))/0x8);if(_0x357f0f===_0x849c44)break;else _0x4134ce['push'](_0x4134ce['shift']());}catch(_0x4b2687){_0x4134ce['push'](_0x4134ce['shift']());}}}(_0x6824,0x5bae5));import{View as _0x52ad04}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5cf447}from'ckeditor5/src/utils.js';function _0x6824(){const _0x7e60f=['removeAttribute','16dknCln','ck-presence-list__list','.ck-balloon-panel_with-arrow','bindTemplate','744620bnCsum','setTemplate','.ck-presence-list__dropdown-list','change:hasPopup','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','element','div','aria-expanded','createCollection','531900tQuZwf','Connected\x20users\x20list','1764840JegvHh','contains','setAttribute','1233582sCuNza','fire','querySelector','518754bBIVgU','list','render','237171PXOBHs','presencelist:show','presencelist:hide','set','relatedTarget','focus','items','keystrokes','hasPopup','742028iqObvu','listenTo'];_0x6824=function(){return _0x7e60f;};return _0x6824();}import{getTranslation as _0x5429dc}from'../../common-translations.js';export class PresenceInlineListView extends _0x52ad04{[_0x4f722f(0xd8)];[_0x4f722f(0xd9)];constructor(_0x505e74){const _0x45cffe=_0x4f722f;super(_0x505e74);const _0x5f0c83=this[_0x45cffe(0xe1)];this[_0x45cffe(0xd8)]=this[_0x45cffe(0xeb)](),this[_0x45cffe(0xd9)]=new _0x5cf447(),this[_0x45cffe(0xd5)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x45cffe(0xe3)]({'tag':_0x45cffe(0xe9),'attributes':{'aria-haspopup':_0x5f0c83['if'](_0x45cffe(0xda)),'aria-expanded':_0x5f0c83['to'](_0x45cffe(0xe6),_0x1a2852=>this[_0x45cffe(0xda)]&&String(_0x1a2852)),'aria-label':_0x5f0c83['to'](_0x45cffe(0xda),_0x3b2517=>_0x5429dc(_0x505e74,_0x3b2517?_0x45cffe(0xe7):_0x45cffe(0xed))),'role':_0x45cffe(0xd0),'tabindex':_0x5f0c83['to'](_0x45cffe(0xda),_0xac83ca=>!!_0xac83ca&&0x0),'class':['ck',_0x45cffe(0xdf)]},'children':this[_0x45cffe(0xd8)],'on':{'mouseenter':_0x5f0c83['to'](()=>this[_0x45cffe(0xf2)](_0x45cffe(0xd3))),'mouseleave':_0x5f0c83['to'](_0x3972af=>{const _0x11036e=_0x45cffe,_0x5ea510=_0x3972af,_0x41ef15=document[_0x11036e(0xf3)](_0x11036e(0xe4)),_0x2f3a80=document[_0x11036e(0xf3)](_0x11036e(0xe0));_0x41ef15?.[_0x11036e(0xef)](_0x5ea510[_0x11036e(0xd6)])||_0x2f3a80?.[_0x11036e(0xef)](_0x5ea510[_0x11036e(0xd6)])||this[_0x11036e(0xf2)](_0x11036e(0xd4));})}}),this['on'](_0x45cffe(0xe5),(_0x59e925,_0x463dbc,_0xde4ad3)=>{const _0x300c9c=_0x45cffe;this[_0x300c9c(0xe8)]&&(_0xde4ad3?this[_0x300c9c(0xe8)][_0x300c9c(0xf0)](_0x300c9c(0xea),String(this[_0x300c9c(0xe6)])):this[_0x300c9c(0xe8)][_0x300c9c(0xdd)](_0x300c9c(0xea)));});}[_0x4f722f(0xd7)](){const _0x26c2b0=_0x4f722f;this[_0x26c2b0(0xe8)][_0x26c2b0(0xd7)]();}[_0x4f722f(0xd1)](){const _0x3cf67d=_0x4f722f;super[_0x3cf67d(0xd1)](),this[_0x3cf67d(0xd9)][_0x3cf67d(0xdc)](this[_0x3cf67d(0xe8)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x595f38=_0xf8ce;(function(_0x42ed55,_0x388409){const _0x285621=_0xf8ce,_0x243a36=_0x42ed55();while(!![]){try{const _0x21019b=-parseInt(_0x285621(0x183))/0x1*(-parseInt(_0x285621(0x18f))/0x2)+parseInt(_0x285621(0x19e))/0x3*(-parseInt(_0x285621(0x187))/0x4)+parseInt(_0x285621(0x19c))/0x5+parseInt(_0x285621(0x194))/0x6*(parseInt(_0x285621(0x186))/0x7)+parseInt(_0x285621(0x195))/0x8*(-parseInt(_0x285621(0x182))/0x9)+parseInt(_0x285621(0x19b))/0xa+-parseInt(_0x285621(0x18e))/0xb*(-parseInt(_0x285621(0x192))/0xc);if(_0x21019b===_0x388409)break;else _0x243a36['push'](_0x243a36['shift']());}catch(_0xb01ac2){_0x243a36['push'](_0x243a36['shift']());}}}(_0x478d,0x36773));import{View as _0x104c28}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x180640}from'./presencecounterview.js';import{PresenceInlineListView as _0xa90592}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x104c28{[_0x595f38(0x18c)];[_0x595f38(0x191)];constructor(_0x535bf5,_0x4ac5c3=0x6){const _0x540b90=_0x595f38;super(_0x535bf5);const _0x302683=this[_0x540b90(0x190)];this[_0x540b90(0x180)](_0x540b90(0x189),!0x0),this[_0x540b90(0x18c)]=new _0x180640(this[_0x540b90(0x193)],_0x4ac5c3),this[_0x540b90(0x191)]=new _0xa90592(_0x535bf5),this[_0x540b90(0x191)][_0x540b90(0x18d)](_0x540b90(0x181))['to'](this,_0x540b90(0x189)),this[_0x540b90(0x198)](this[_0x540b90(0x191)][_0x540b90(0x18b)],_0x540b90(0x197),()=>{const _0x1999f2=_0x540b90;for(const _0x388645 of this[_0x1999f2(0x191)][_0x1999f2(0x18b)])_0x388645[_0x1999f2(0x199)]='s';this[_0x1999f2(0x191)][_0x1999f2(0x18b)][_0x1999f2(0x188)]&&(this[_0x1999f2(0x191)][_0x1999f2(0x18b)][_0x1999f2(0x188)][_0x1999f2(0x199)]='se');}),this[_0x540b90(0x196)]({'tag':_0x540b90(0x19a),'attributes':{'class':['ck',_0x540b90(0x18a),_0x540b90(0x19d),_0x540b90(0x185),_0x302683['if'](_0x540b90(0x189),_0x540b90(0x184))]},'children':[this[_0x540b90(0x191)]]});}}function _0xf8ce(_0x283a9d,_0x41ec69){const _0x478dbb=_0x478d();return _0xf8ce=function(_0xf8ce6f,_0x2449f9){_0xf8ce6f=_0xf8ce6f-0x180;let _0x324385=_0x478dbb[_0xf8ce6f];return _0x324385;},_0xf8ce(_0x283a9d,_0x41ec69);}function _0x478d(){const _0x4762bb=['locale','13476YLrcsX','637752OEsTOR','setTemplate','change','listenTo','tooltipPosition','div','4416110pDJeWf','634365ZxWqay','ck-reset','438618bgYcOE','set','hasPopup','45hrGxcJ','1894cwmuLU','ck-presence-list--collapsed','ck-rounded-corners','280WBKQfn','8VwBUab','first','isCollapsed','ck-presence-list','items','counterView','bind','22EwHVVZ','218gZkijl','bindTemplate','inlineListView','295968aktCut'];_0x478d=function(){return _0x4762bb;};return _0x478d();}
23
+ const _0x2e1b06=_0x1830;function _0x1830(_0x48eff1,_0x5b9d8e){const _0x2991ec=_0x2991();return _0x1830=function(_0x183057,_0x59ce9d){_0x183057=_0x183057-0x68;let _0x609cc6=_0x2991ec[_0x183057];return _0x609cc6;},_0x1830(_0x48eff1,_0x5b9d8e);}(function(_0x506a58,_0x5c7688){const _0x22ca81=_0x1830,_0x2d81d7=_0x506a58();while(!![]){try{const _0x30332=-parseInt(_0x22ca81(0x7d))/0x1*(-parseInt(_0x22ca81(0x6d))/0x2)+-parseInt(_0x22ca81(0x85))/0x3+-parseInt(_0x22ca81(0x81))/0x4*(-parseInt(_0x22ca81(0x79))/0x5)+parseInt(_0x22ca81(0x77))/0x6+-parseInt(_0x22ca81(0x7b))/0x7+parseInt(_0x22ca81(0x7f))/0x8*(parseInt(_0x22ca81(0x82))/0x9)+parseInt(_0x22ca81(0x6e))/0xa*(parseInt(_0x22ca81(0x7a))/0xb);if(_0x30332===_0x5c7688)break;else _0x2d81d7['push'](_0x2d81d7['shift']());}catch(_0x1e039c){_0x2d81d7['push'](_0x2d81d7['shift']());}}}(_0x2991,0x7b653));import{View as _0x3e400f}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xfd914}from'./presencecounterview.js';import{PresenceInlineListView as _0x188ca2}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3e400f{[_0x2e1b06(0x74)];[_0x2e1b06(0x6a)];constructor(_0x4a5b35,_0x1413d0=0x6){const _0x179a04=_0x2e1b06;super(_0x4a5b35);const _0x5b5496=this[_0x179a04(0x83)];this[_0x179a04(0x72)](_0x179a04(0x69),!0x0),this[_0x179a04(0x74)]=new _0xfd914(this[_0x179a04(0x78)],_0x1413d0),this[_0x179a04(0x6a)]=new _0x188ca2(_0x4a5b35),this[_0x179a04(0x6a)][_0x179a04(0x80)](_0x179a04(0x76))['to'](this,_0x179a04(0x69)),this[_0x179a04(0x71)](this[_0x179a04(0x6a)][_0x179a04(0x7e)],_0x179a04(0x6b),()=>{const _0x55a901=_0x179a04;for(const _0x372b8b of this[_0x55a901(0x6a)][_0x55a901(0x7e)])_0x372b8b[_0x55a901(0x6f)]='s';this[_0x55a901(0x6a)][_0x55a901(0x7e)][_0x55a901(0x6c)]&&(this[_0x55a901(0x6a)][_0x55a901(0x7e)][_0x55a901(0x6c)][_0x55a901(0x6f)]='se');}),this[_0x179a04(0x70)]({'tag':_0x179a04(0x7c),'attributes':{'class':['ck',_0x179a04(0x68),_0x179a04(0x84),_0x179a04(0x75),_0x5b5496['if'](_0x179a04(0x69),_0x179a04(0x73))]},'children':[this[_0x179a04(0x6a)]]});}}function _0x2991(){const _0x4812a7=['first','144PKKAdV','50QFwXle','tooltipPosition','setTemplate','listenTo','set','ck-presence-list--collapsed','counterView','ck-rounded-corners','hasPopup','509970DmGLuS','locale','5glKize','374550AtKhvN','5415207bddviZ','div','10972StJRlR','items','8DbVhQj','bind','1709668OFXizD','4629627aTPFwP','bindTemplate','ck-reset','2124063XfBoAR','ck-presence-list','isCollapsed','inlineListView','change'];_0x2991=function(){return _0x4812a7;};return _0x2991();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x45ef(){var _0x149ebd=['550396yDtkUp','12XMkHMj','isPremiumPlugin','PresenceList','842976ZBnPBC','10124488rIlwIa','503711KzCycw','pluginName','1916397HwzyQl','isOfficialPlugin','requires','1455945FIktZZ','296984PlDpgs'];_0x45ef=function(){return _0x149ebd;};return _0x45ef();}function _0x2887(_0xb90253,_0x5023c1){var _0x45ef9d=_0x45ef();return _0x2887=function(_0x288743,_0x31134c){_0x288743=_0x288743-0x1c9;var _0x14c36b=_0x45ef9d[_0x288743];return _0x14c36b;},_0x2887(_0xb90253,_0x5023c1);}var _0x4648ae=_0x2887;(function(_0x4a0409,_0x586d9e){var _0x453450=_0x2887,_0x112233=_0x4a0409();while(!![]){try{var _0x52b16f=parseInt(_0x453450(0x1d1))/0x1+parseInt(_0x453450(0x1cb))/0x2+parseInt(_0x453450(0x1cf))/0x3+-parseInt(_0x453450(0x1ca))/0x4+parseInt(_0x453450(0x1c9))/0x5*(parseInt(_0x453450(0x1cc))/0x6)+parseInt(_0x453450(0x1d3))/0x7+-parseInt(_0x453450(0x1d0))/0x8;if(_0x52b16f===_0x586d9e)break;else _0x112233['push'](_0x112233['shift']());}catch(_0x4d7598){_0x112233['push'](_0x112233['shift']());}}}(_0x45ef,0x8caf3));import{ContextPlugin as _0x5abcc6}from'ckeditor5/src/core.js';import{Sessions as _0x22179b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1a4005}from'./presencelist/presencelistui.js';export class PresenceList extends _0x5abcc6{static get[_0x4648ae(0x1d5)](){return[_0x22179b,_0x1a4005];}static get[_0x4648ae(0x1d2)](){var _0xc10de2=_0x4648ae;return _0xc10de2(0x1ce);}static get[_0x4648ae(0x1d4)](){return!0x0;}static get[_0x4648ae(0x1cd)](){return!0x0;}}
23
+ var _0x4ab06f=_0x505f;(function(_0x3b2a6f,_0x3b99fe){var _0x38ac31=_0x505f,_0x3af80d=_0x3b2a6f();while(!![]){try{var _0x413ca9=-parseInt(_0x38ac31(0x1f2))/0x1*(-parseInt(_0x38ac31(0x200))/0x2)+parseInt(_0x38ac31(0x1ff))/0x3*(-parseInt(_0x38ac31(0x1f4))/0x4)+-parseInt(_0x38ac31(0x1fa))/0x5+parseInt(_0x38ac31(0x1fc))/0x6*(parseInt(_0x38ac31(0x1fd))/0x7)+-parseInt(_0x38ac31(0x1f8))/0x8*(parseInt(_0x38ac31(0x1f3))/0x9)+-parseInt(_0x38ac31(0x1f6))/0xa*(parseInt(_0x38ac31(0x1f0))/0xb)+parseInt(_0x38ac31(0x201))/0xc*(parseInt(_0x38ac31(0x1f7))/0xd);if(_0x413ca9===_0x3b99fe)break;else _0x3af80d['push'](_0x3af80d['shift']());}catch(_0x92d918){_0x3af80d['push'](_0x3af80d['shift']());}}}(_0x4120,0x9f626));import{ContextPlugin as _0xf23fb0}from'ckeditor5/src/core.js';import{Sessions as _0x623420}from'./realtimecollaborativeediting/sessions.js';function _0x4120(){var _0x21ea85=['12hgcCnW','11PLEVwB','PresenceList','4OExknF','4458249jPVKmc','4dOVfur','isPremiumPlugin','9698630dcOvLY','15990923PbNjBh','16zGDJyk','isOfficialPlugin','936710ayvhmW','pluginName','18iHMeUA','1940169SYNSuO','requires','1181757pTaoxt','566556tcelps'];_0x4120=function(){return _0x21ea85;};return _0x4120();}import{PresenceListUI as _0x482bcb}from'./presencelist/presencelistui.js';function _0x505f(_0x1a78dd,_0x341ce5){var _0x41206b=_0x4120();return _0x505f=function(_0x505f76,_0x2d6ac0){_0x505f76=_0x505f76-0x1f0;var _0x613c38=_0x41206b[_0x505f76];return _0x613c38;},_0x505f(_0x1a78dd,_0x341ce5);}export class PresenceList extends _0xf23fb0{static get[_0x4ab06f(0x1fe)](){return[_0x623420,_0x482bcb];}static get[_0x4ab06f(0x1fb)](){var _0x47813a=_0x4ab06f;return _0x47813a(0x1f1);}static get[_0x4ab06f(0x1f9)](){return!0x0;}static get[_0x4ab06f(0x1f5)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2801e0=_0xa04a;(function(_0x4f5e85,_0x39285a){const _0x4d87db=_0xa04a,_0x18473e=_0x4f5e85();while(!![]){try{const _0x3c1194=parseInt(_0x4d87db(0x216))/0x1*(-parseInt(_0x4d87db(0x1e3))/0x2)+-parseInt(_0x4d87db(0x213))/0x3+-parseInt(_0x4d87db(0x219))/0x4+parseInt(_0x4d87db(0x1ed))/0x5+-parseInt(_0x4d87db(0x1e7))/0x6+parseInt(_0x4d87db(0x1ee))/0x7*(-parseInt(_0x4d87db(0x1df))/0x8)+parseInt(_0x4d87db(0x221))/0x9;if(_0x3c1194===_0x39285a)break;else _0x18473e['push'](_0x18473e['shift']());}catch(_0x12f3b8){_0x18473e['push'](_0x18473e['shift']());}}}(_0x5867,0xdd0d8));import{Context as _0x1f1ee4,ContextPlugin as _0x2676b9}from'ckeditor5/src/core.js';import{CKEditorError as _0x4477e4}from'ckeditor5/src/utils.js';import{Users as _0x1c3691}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4eca42,User as _0x5b0116}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2e568c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2335c2}from'../realtimecollaborativeediting/sessions.js';function _0x5867(){const _0x132ffb=['createdAt','getCommentThreads','1831424SWqkqe','getCommentThread','removeCommentThread','code','adapter','commentThreadRemoved','content','commentUpdated','30308994GZTGYZ','keys','userId','cloudservicescommentsadapter-service-not-exist','commentRemoved','CommentsRepository','permissions','startsWith','sessionAdd:','isPremiumPlugin','reconnect','set','_connectService','listenTo','register','setPermissions','authorId','getConnectedSessions','size','Permissions','add','cloud-services-internal-error:\x20Request\x20timeout.','remove','attributes','_fetchMissingUsersForThreads','_terminateService','updateCommentThread','off','deletedAt','_setUpService','removeComment','config','update','plugins','collaboration.channelId','16yfBVIu','delete','destroy','addUser','1846986WQAbbX','has','cloud-services-internal-error:\x20Not\x20connected.','getComment','1836420tAmbIt','commentThreadResolved','reopenCommentThread','message','commentThreadId','resolvedAt','8653370yHflnU','3297133LOAmdH','addComment','404','getUser','cloudservicescommentsadapter-disconnect-not-exist','unregister','disconnect','updateComment','CloudServicesCommentsAdapter','isOfficialPlugin','map','addToReconnectionStack','commentId','_getService','context','cloudservicescommentsadapter-connect-already-connected','_services','reopen','get','catch','commentAdded','resolveCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','resolvedBy','pluginName','comments','commentThreadUpdated','commentThreadReopened','from','commentThreadAdded','addCommentThread','resolve','requires','connect','init','getMany','4690353HWJVeT','assign','CommentsService','1RgSjUn'];_0x5867=function(){return _0x132ffb;};return _0x5867();}export class CloudServicesCommentsAdapter extends _0x2676b9{static [_0x2801e0(0x215)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4eca42)());[_0x2801e0(0x1fe)];static get[_0x2801e0(0x20f)](){const _0x41c12e=_0x2801e0;return[_0x2e568c,_0x41c12e(0x1c1),_0x2335c2,_0x1c3691];}static get[_0x2801e0(0x207)](){const _0x29fad9=_0x2801e0;return _0x29fad9(0x1f6);}static get[_0x2801e0(0x1f7)](){return!0x0;}static get[_0x2801e0(0x1c5)](){return!0x0;}constructor(_0x3d6d52){const _0x1907b8=_0x2801e0;super(_0x3d6d52),this[_0x1907b8(0x1fe)]=new Map();}async[_0x2801e0(0x211)](){const _0xa78b39=_0x2801e0,_0x4b9a6b=this[_0xa78b39(0x1fc)],_0xc17cdb=_0x4b9a6b[_0xa78b39(0x1dd)][_0xa78b39(0x200)](_0xa78b39(0x1c1));if(_0x4b9a6b[_0xa78b39(0x1dd)][_0xa78b39(0x200)](_0x2e568c)[_0xa78b39(0x1f9)](this),_0xc17cdb[_0xa78b39(0x21d)]={'addCommentThread':async({channelId:_0x296bbd,threadId:_0x25cbcf,comments:_0x4fea61,resolvedAt:_0x418993,resolvedBy:_0x304c73,context:_0x2fbf61,attributes:_0x59af78})=>{const _0x358d1=_0xa78b39,_0x5a29a7=await this[_0x358d1(0x1fb)](_0x296bbd)[_0x358d1(0x20d)]({'commentThreadId':_0x25cbcf,'comments':_0x4fea61[_0x358d1(0x1f8)](_0xfb5a2d=>function(_0x173a4a,_0x93c8a7,_0xaea54a){const _0x4acfa9=_0x358d1;return{'commentThreadId':_0xaea54a,'commentId':_0x173a4a[_0x4acfa9(0x1fa)],'userId':_0x173a4a[_0x4acfa9(0x1cc)],'content':_0x173a4a[_0x4acfa9(0x21f)],'documentId':_0x93c8a7,'createdAt':_0x173a4a[_0x4acfa9(0x217)],'attributes':_0x173a4a[_0x4acfa9(0x1d3)]||{}};}(_0xfb5a2d,_0x296bbd,_0x25cbcf)),'resolvedAt':_0x418993,'resolvedBy':_0x304c73,'context':_0x2fbf61,'attributes':_0x59af78})[_0x358d1(0x201)](A);return{'threadId':_0x5a29a7[_0x358d1(0x1eb)],'comments':_0x5a29a7[_0x358d1(0x208)]};},'getCommentThread':async({channelId:_0x34f9a7,threadId:_0x4518f0})=>{const _0x18241f=_0xa78b39,_0x430193=await this[_0x18241f(0x1fb)](_0x34f9a7)[_0x18241f(0x21a)](_0x4518f0)[_0x18241f(0x201)](f)[_0x18241f(0x201)](A);return _0x430193?_0x430193[_0x18241f(0x1d8)]?null:(await this[_0x18241f(0x1d4)]([_0x430193]),{'threadId':_0x430193[_0x18241f(0x1eb)],'comments':_0x430193[_0x18241f(0x208)][_0x18241f(0x1f8)](p),'context':_0x430193[_0x18241f(0x1fc)],'resolvedAt':_0x430193[_0x18241f(0x1ec)],'resolvedBy':_0x430193[_0x18241f(0x206)],'attributes':_0x430193[_0x18241f(0x1d3)]||{}}):null;},'updateCommentThread':async({channelId:_0xc3d338,threadId:_0x4f675d,context:_0x3a5176,unlinkedAt:_0x159e98,attributes:_0x5d1a5e})=>this[_0xa78b39(0x1fb)](_0xc3d338)[_0xa78b39(0x1d6)]({'commentThreadId':_0x4f675d,'context':_0x3a5176,'attributes':_0x5d1a5e,'unlinkedAt':_0x159e98})[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'resolveCommentThread':async({channelId:_0x3dc789,threadId:_0x20bda8})=>{const _0x357fbc=_0xa78b39,_0x446cef=await this[_0x357fbc(0x1fb)](_0x3dc789)[_0x357fbc(0x203)](_0x20bda8)[_0x357fbc(0x201)](f)[_0x357fbc(0x201)](A);return{'threadId':_0x446cef[_0x357fbc(0x1eb)],'resolvedAt':_0x446cef[_0x357fbc(0x1ec)],'resolvedBy':_0x446cef[_0x357fbc(0x206)]};},'reopenCommentThread':async({channelId:_0xdcef5f,threadId:_0x46290a})=>this[_0xa78b39(0x1fb)](_0xdcef5f)[_0xa78b39(0x1e9)](_0x46290a)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'removeCommentThread':({channelId:_0x13e42e,threadId:_0x3ee65c})=>this[_0xa78b39(0x1fb)](_0x13e42e)[_0xa78b39(0x21b)](_0x3ee65c)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'addComment':({channelId:_0x5bb008,threadId:_0x400230,commentId:_0x19af51,content:_0x3a57e0,attributes:_0x555752})=>this[_0xa78b39(0x1fb)](_0x5bb008)[_0xa78b39(0x1ef)](_0x400230,_0x19af51,_0x3a57e0,_0x555752)[_0xa78b39(0x201)](A),'updateComment':({channelId:_0x3b57d9,threadId:_0x4bb5d9,commentId:_0x3d033b,content:_0xffd1de,attributes:_0x6a7966})=>this[_0xa78b39(0x1fb)](_0x3b57d9)[_0xa78b39(0x1f5)](_0x4bb5d9,_0x3d033b,_0xffd1de,_0x6a7966)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A),'removeComment':({channelId:_0x346982,threadId:_0x1fb5f6,commentId:_0x3a4cf7})=>this[_0xa78b39(0x1fb)](_0x346982)[_0xa78b39(0x1da)](_0x1fb5f6,_0x3a4cf7)[_0xa78b39(0x201)](f)[_0xa78b39(0x201)](A)},_0x4b9a6b instanceof _0x1f1ee4){const _0x45d62b=_0x4b9a6b[_0xa78b39(0x1db)][_0xa78b39(0x200)](_0xa78b39(0x1de)),_0x3d0c65=_0x4b9a6b[_0xa78b39(0x1dd)][_0xa78b39(0x200)](_0x2335c2);await this[_0xa78b39(0x1d9)](_0x45d62b);const _0x5af2a7=await this[_0xa78b39(0x1fe)][_0xa78b39(0x200)](_0x45d62b)[_0xa78b39(0x1cd)]();this[_0xa78b39(0x1c9)](_0x3d0c65,_0xa78b39(0x1c4)+_0x45d62b,(_0x259c83,{session:_0x5a96ca})=>{const _0x5a90d1=_0xa78b39;_0x5a96ca['id']===_0x3d0c65[_0x5a90d1(0x205)]&&(_0x259c83[_0x5a90d1(0x1d7)](),this[_0x5a90d1(0x1fc)][_0x5a90d1(0x1dd)][_0x5a90d1(0x200)](_0x5a90d1(0x1cf))[_0x5a90d1(0x1cb)](_0x5a96ca[_0x5a90d1(0x1c2)],_0x45d62b));}),_0x3d0c65[_0xa78b39(0x1ca)](_0x45d62b,_0x5af2a7);}}async[_0x2801e0(0x1d9)](_0x261a9c){const _0xaf61f9=_0x2801e0;if(this[_0xaf61f9(0x1fe)][_0xaf61f9(0x1e4)](_0x261a9c))throw new _0x4477e4(_0xaf61f9(0x1fd),null,{'channelId':_0x261a9c});const _0x4335f1=this[_0xaf61f9(0x1fc)][_0xaf61f9(0x1dd)][_0xaf61f9(0x200)](_0xaf61f9(0x1c1)),_0x4b7aac=new CloudServicesCommentsAdapter[(_0xaf61f9(0x215))](_0x261a9c);this[_0xaf61f9(0x1fe)][_0xaf61f9(0x1c7)](_0x261a9c,_0x4b7aac),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x20c),(_0x35d909,_0x3cbc32)=>{const _0x1e947d=_0xaf61f9,{commentThreadId:_0x202133,documentId:_0xe0110b,context:_0x52d222,attributes:_0xea29b3,resolvedAt:_0x264dc0,resolvedBy:_0xb0533f,comments:_0x42faf5}=_0x3cbc32;_0x4335f1[_0x1e947d(0x21a)](_0x202133)||_0x4335f1[_0x1e947d(0x20d)]({'threadId':_0x202133,'channelId':_0xe0110b,'comments':_0x42faf5?_0x42faf5[_0x1e947d(0x1f8)](p):[],'context':_0x52d222,'attributes':_0xea29b3,'resolvedAt':_0x264dc0,'resolvedBy':_0xb0533f,'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x209),(_0x29e423,{commentThreadId:_0x506095,documentId:_0x18d208,context:_0x5797d6,unlinkedAt:_0x10744a,attributes:_0x3dbe33})=>{const _0x1721e3=_0xaf61f9;_0x4335f1[_0x1721e3(0x21a)](_0x506095)&&_0x4335f1[_0x1721e3(0x1d6)]({'threadId':_0x506095,'channelId':_0x18d208,'context':_0x5797d6,'unlinkedAt':_0x10744a,'attributes':_0x3dbe33,'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x1e8),(_0x312290,{commentThreadId:_0x447934,resolvedBy:_0x382c38,resolvedAt:_0x313cf7})=>{const _0xb6d44d=_0xaf61f9,_0x20ed6d=_0x4335f1[_0xb6d44d(0x21a)](_0x447934);_0x20ed6d&&_0x20ed6d[_0xb6d44d(0x20e)]({'resolvedBy':_0x382c38,'resolvedAt':_0x313cf7,'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x20a),(_0x2f765c,{commentThreadId:_0x4c3ee9})=>{const _0x1a56ce=_0xaf61f9,_0x530689=_0x4335f1[_0x1a56ce(0x21a)](_0x4c3ee9);_0x530689&&_0x530689[_0x1a56ce(0x1ff)]({'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x21e),(_0x1ff77c,{commentThreadId:_0x142d69})=>{const _0x33ddb5=_0xaf61f9,_0x372d1e=_0x4335f1[_0x33ddb5(0x21a)](_0x142d69);_0x372d1e&&_0x372d1e[_0x33ddb5(0x1d2)]({'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x202),(_0x2b696e,_0x598450)=>{const _0x40a5c7=_0xaf61f9,_0x4d2036=_0x598450[_0x40a5c7(0x1eb)],_0x301213=_0x4335f1[_0x40a5c7(0x21a)](_0x4d2036);_0x301213&&_0x301213[_0x40a5c7(0x1ef)]({...p(_0x598450),'isFromAdapter':!0x0});}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x220),(_0x33230c,{commentThreadId:_0xb9f228,commentId:_0x5893b8,content:_0x450359,attributes:_0x5b5857})=>{const _0x4f6cac=_0xaf61f9,_0x1b055b=_0x4335f1[_0x4f6cac(0x21a)](_0xb9f228);if(_0x1b055b){const _0x3acdaf=_0x1b055b[_0x4f6cac(0x1e6)](_0x5893b8);_0x3acdaf&&_0x3acdaf[_0x4f6cac(0x1dc)]({'content':_0x450359,'attributes':_0x5b5857,'isFromAdapter':!0x0});}}),this[_0xaf61f9(0x1c9)](_0x4b7aac,_0xaf61f9(0x225),(_0x1e3e58,{commentThreadId:_0x4b4c0d,commentId:_0x19edac})=>{const _0x440590=_0xaf61f9,_0x16763b=_0x4335f1[_0x440590(0x21a)](_0x4b4c0d);if(_0x16763b){const _0x12a9d4=_0x16763b[_0x440590(0x1e6)](_0x19edac);_0x12a9d4&&_0x12a9d4[_0x440590(0x1d2)]({'isFromAdapter':!0x0});}}),await this[_0xaf61f9(0x1c8)](_0x261a9c);}[_0x2801e0(0x1e1)](){const _0x402b4c=_0x2801e0;if(this[_0x402b4c(0x1fc)]instanceof _0x1f1ee4){const _0x40ab6c=this[_0x402b4c(0x1fc)][_0x402b4c(0x1db)][_0x402b4c(0x200)](_0x402b4c(0x1de));this[_0x402b4c(0x1d5)](_0x40ab6c);}}[_0x2801e0(0x1d5)](_0x8b3525){const _0x20252a=_0x2801e0;if(!this[_0x20252a(0x1fe)][_0x20252a(0x1e4)](_0x8b3525))throw new _0x4477e4(_0x20252a(0x1f2),null,{'channelId':_0x8b3525});this[_0x20252a(0x1fb)](_0x8b3525)[_0x20252a(0x1f4)](),this[_0x20252a(0x1fe)][_0x20252a(0x1e0)](_0x8b3525);}async[_0x2801e0(0x1c6)](){const _0x85cc00=_0x2801e0;for(const _0x188eb6 of this[_0x85cc00(0x1fe)][_0x85cc00(0x222)]())await this[_0x85cc00(0x1c8)](_0x188eb6);if(this[_0x85cc00(0x1fc)]instanceof _0x1f1ee4){const _0x5d091d=this[_0x85cc00(0x1fc)][_0x85cc00(0x1db)][_0x85cc00(0x200)](_0x85cc00(0x1de)),_0x20d41e=this[_0x85cc00(0x1fc)][_0x85cc00(0x1dd)][_0x85cc00(0x200)](_0x2335c2);_0x20d41e[_0x85cc00(0x1f3)](_0x5d091d);const _0x33941b=await this[_0x85cc00(0x1fe)][_0x85cc00(0x200)](_0x5d091d)[_0x85cc00(0x1cd)]();_0x20d41e[_0x85cc00(0x1ca)](_0x5d091d,_0x33941b);}}async[_0x2801e0(0x1c8)](_0x10d9d3){const _0x2bf544=_0x2801e0,{connection:_0x293b3d}=this[_0x2bf544(0x1fc)][_0x2bf544(0x1dd)][_0x2bf544(0x200)](_0x2e568c),_0x1c49ad=this[_0x2bf544(0x1fc)][_0x2bf544(0x1dd)][_0x2bf544(0x200)](_0x2bf544(0x1c1)),_0x553dd8=this[_0x2bf544(0x1fe)][_0x2bf544(0x200)](_0x10d9d3),_0x55ff90=await _0x553dd8[_0x2bf544(0x210)](_0x293b3d);await this[_0x2bf544(0x1d4)](_0x55ff90);const _0x45a9bf=new Set(Array[_0x2bf544(0x20b)](_0x1c49ad[_0x2bf544(0x218)]({'channelId':_0x10d9d3}),_0x5d8885=>_0x5d8885['id']));for(const _0x4dc638 of _0x55ff90)_0x4dc638[_0x2bf544(0x1d8)]||_0x45a9bf[_0x2bf544(0x1e0)](_0x4dc638[_0x2bf544(0x1eb)]);for(const _0x102032 of _0x45a9bf)_0x1c49ad[_0x2bf544(0x21a)](_0x102032)[_0x2bf544(0x1d2)]({'isFromAdapter':!0x0});for(const _0x1e5a13 of _0x55ff90){let _0xbe726a=_0x1c49ad[_0x2bf544(0x21a)](_0x1e5a13[_0x2bf544(0x1eb)]);const {commentThreadId:_0xd76c2b,context:_0x3f488a,attributes:_0x5417f4,resolvedBy:_0x24ab8b,resolvedAt:_0x36d31a,unlinkedAt:_0x13fa6b,deletedAt:_0x4f2230}=_0x1e5a13;if(_0x4f2230)continue;_0xbe726a||(_0xbe726a=_0x1c49ad[_0x2bf544(0x20d)]({'channelId':_0x10d9d3,'threadId':_0xd76c2b,'context':_0x3f488a,'attributes':_0x5417f4||{},'resolvedBy':_0x24ab8b,'resolvedAt':_0x36d31a,'unlinkedAt':_0x13fa6b,'isFromAdapter':!0x0}));const _0x2692df=new Set(Array[_0x2bf544(0x20b)](_0xbe726a[_0x2bf544(0x208)],_0x5daf8c=>_0x5daf8c['id']));for(const _0x5b9928 of _0x1e5a13[_0x2bf544(0x208)])_0x2692df[_0x2bf544(0x1e0)](_0x5b9928[_0x2bf544(0x1fa)]);for(const _0x1da8a9 of _0x2692df)_0xbe726a[_0x2bf544(0x1e6)](_0x1da8a9)[_0x2bf544(0x1d2)]({'isFromAdapter':!0x0});for(const _0x4638cb of _0x1e5a13[_0x2bf544(0x208)]){const _0x3bd8c7=_0xbe726a[_0x2bf544(0x1e6)](_0x4638cb[_0x2bf544(0x1fa)]);_0x3bd8c7?_0x3bd8c7[_0x2bf544(0x21f)]!==_0x4638cb[_0x2bf544(0x21f)]&&_0x3bd8c7[_0x2bf544(0x1dc)]({'content':_0x4638cb[_0x2bf544(0x21f)],'isFromAdapter':!0x0}):_0xbe726a[_0x2bf544(0x1ef)](Object[_0x2bf544(0x214)](p(_0x4638cb),{'isFromAdapter':!0x0}));}}}[_0x2801e0(0x1fb)](_0x1c6e2a){const _0x4de5cd=_0x2801e0;if(!this[_0x4de5cd(0x1fe)][_0x4de5cd(0x1e4)](_0x1c6e2a))throw new _0x4477e4(_0x4de5cd(0x224),null,{'channelId':_0x1c6e2a});return this[_0x4de5cd(0x1fe)][_0x4de5cd(0x200)](_0x1c6e2a);}async[_0x2801e0(0x1d4)](_0x561dc0){const _0x3fec50=_0x2801e0,_0x27f182=this[_0x3fec50(0x1fc)][_0x3fec50(0x1dd)][_0x3fec50(0x200)](_0x1c3691),{connection:_0x15d3eb}=this[_0x3fec50(0x1fc)][_0x3fec50(0x1dd)][_0x3fec50(0x200)](_0x2e568c),_0x534472=new Set();for(const {resolvedBy:_0x44071a,comments:_0x583b22}of _0x561dc0){_0x44071a&&!_0x27f182[_0x3fec50(0x1f1)](_0x44071a)&&_0x534472[_0x3fec50(0x1d0)](_0x44071a);for(const {userId:_0x1ab71e}of _0x583b22)_0x27f182[_0x3fec50(0x1f1)](_0x1ab71e)||_0x534472[_0x3fec50(0x1d0)](_0x1ab71e);}if(0x0===_0x534472[_0x3fec50(0x1ce)])return;const _0xa875fa=await _0x5b0116[_0x3fec50(0x212)](_0x15d3eb,Array[_0x3fec50(0x20b)](_0x534472));for(const _0x36f281 of _0xa875fa)_0x27f182[_0x3fec50(0x1f1)](_0x36f281['id'])||_0x27f182[_0x3fec50(0x1e2)](_0x36f281);}}async function f(_0x1c6fad){const _0x335496=_0x2801e0;if(_0x335496(0x1f0)!==_0x1c6fad[_0x335496(0x21c)])throw _0x1c6fad;}function _0xa04a(_0x35c37f,_0x59a3e0){const _0x5867a2=_0x5867();return _0xa04a=function(_0xa04a1f,_0x3e6f28){_0xa04a1f=_0xa04a1f-0x1c1;let _0x9912f6=_0x5867a2[_0xa04a1f];return _0x9912f6;},_0xa04a(_0x35c37f,_0x59a3e0);}function A(_0x2caa66){const _0x129ee6=_0x2801e0;if((_0xc6cbab=_0x2caa66)[_0x129ee6(0x1ea)][_0x129ee6(0x1c3)](_0x129ee6(0x204))||_0xc6cbab[_0x129ee6(0x1ea)][_0x129ee6(0x1c3)](_0x129ee6(0x1e5))||_0xc6cbab[_0x129ee6(0x1ea)][_0x129ee6(0x1c3)](_0x129ee6(0x1d1)))return new Promise(()=>{});var _0xc6cbab;throw _0x2caa66;}function p(_0x3a9d2c){const _0x549e9f=_0x2801e0;return{'threadId':_0x3a9d2c[_0x549e9f(0x1eb)],'commentId':_0x3a9d2c[_0x549e9f(0x1fa)],'content':_0x3a9d2c[_0x549e9f(0x21f)],'createdAt':_0x3a9d2c[_0x549e9f(0x217)],'authorId':_0x3a9d2c[_0x549e9f(0x223)],'attributes':_0x3a9d2c[_0x549e9f(0x1d3)]||{}};}
23
+ const _0x49fb37=_0x4b8f;function _0x19d0(){const _0x2deda7=['authorId','deletedAt','code','off','getMany','keys','has','_fetchMissingUsersForThreads','map','remove','cloud-services-internal-error:\x20Request\x20timeout.','updateCommentThread','connect','catch','CommentsRepository','3409581DYByTm','config','commentId','pluginName','mySessionId','plugins','set','isPremiumPlugin','updateComment','resolveCommentThread','commentThreadReopened','reconnect','reopenCommentThread','CommentsService','delete','commentThreadResolved','startsWith','getCommentThread','sessionAdd:','attributes','_connectService','from','2310580OzykDj','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_services','removeComment','addCommentThread','983326JhfEbr','adapter','init','context','message','addUser','getUser','requires','comments','18010vmlOsJ','CloudServicesCommentsAdapter','assign','927RrfhQz','isOfficialPlugin','addToReconnectionStack','commentUpdated','resolve','5VMVleV','destroy','_getService','Permissions','commentThreadUpdated','resolvedBy','createdAt','14ifdgBp','setPermissions','collaboration.channelId','get','commentThreadAdded','unregister','cloudservicescommentsadapter-connect-already-connected','4513288hMBsvp','_setUpService','register','_terminateService','commentRemoved','343326NQDLdV','userId','resolvedAt','listenTo','content','addComment','update','removeCommentThread','commentThreadId','add','getCommentThreads','reopen','commentAdded','getConnectedSessions','getComment','permissions','commentThreadRemoved','disconnect','cloudservicescommentsadapter-disconnect-not-exist','404','size','707724rhoPtT'];_0x19d0=function(){return _0x2deda7;};return _0x19d0();}(function(_0x38d187,_0xf5038f){const _0x3fc300=_0x4b8f,_0x5408c2=_0x38d187();while(!![]){try{const _0xecaeaa=parseInt(_0x3fc300(0x10b))/0x1+parseInt(_0x3fc300(0x144))/0x2+-parseInt(_0x3fc300(0xee))/0x3+-parseInt(_0x3fc300(0x104))/0x4+parseInt(_0x3fc300(0x11c))/0x5*(parseInt(_0x3fc300(0x12f))/0x6)+-parseInt(_0x3fc300(0x123))/0x7*(-parseInt(_0x3fc300(0x12a))/0x8)+-parseInt(_0x3fc300(0x117))/0x9*(parseInt(_0x3fc300(0x114))/0xa);if(_0xecaeaa===_0xf5038f)break;else _0x5408c2['push'](_0x5408c2['shift']());}catch(_0x5c36e2){_0x5408c2['push'](_0x5408c2['shift']());}}}(_0x19d0,0x981d0));import{Context as _0x522e86,ContextPlugin as _0x416798}from'ckeditor5/src/core.js';import{CKEditorError as _0x377c1d}from'ckeditor5/src/utils.js';import{Users as _0x2e8535}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5aab1b,User as _0x4bc6ff}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3b76fb}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4b8f(_0x2439ad,_0x3704ba){const _0x19d06c=_0x19d0();return _0x4b8f=function(_0x4b8f8e,_0x192013){_0x4b8f8e=_0x4b8f8e-0xe3;let _0x23a1cf=_0x19d06c[_0x4b8f8e];return _0x23a1cf;},_0x4b8f(_0x2439ad,_0x3704ba);}import{Sessions as _0x8b5674}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x416798{static [_0x49fb37(0xfb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5aab1b)());[_0x49fb37(0x108)];static get[_0x49fb37(0x112)](){const _0x182c32=_0x49fb37;return[_0x3b76fb,_0x182c32(0xed),_0x8b5674,_0x2e8535];}static get[_0x49fb37(0xf1)](){const _0x1a753d=_0x49fb37;return _0x1a753d(0x115);}static get[_0x49fb37(0x118)](){return!0x0;}static get[_0x49fb37(0xf5)](){return!0x0;}constructor(_0x5ec3e2){const _0x34953d=_0x49fb37;super(_0x5ec3e2),this[_0x34953d(0x108)]=new Map();}async[_0x49fb37(0x10d)](){const _0x390035=_0x49fb37,_0x57ff9d=this[_0x390035(0x10e)],_0x3bfd80=_0x57ff9d[_0x390035(0xf3)][_0x390035(0x126)](_0x390035(0xed));if(_0x57ff9d[_0x390035(0xf3)][_0x390035(0x126)](_0x3b76fb)[_0x390035(0x119)](this),_0x3bfd80[_0x390035(0x10c)]={'addCommentThread':async({channelId:_0x16d2b3,threadId:_0x5c7686,comments:_0x564a86,resolvedAt:_0x33b66c,resolvedBy:_0x274160,context:_0x2d2d93,attributes:_0x4be7be})=>{const _0x247beb=_0x390035,_0x1ef35d=await this[_0x247beb(0x11e)](_0x16d2b3)[_0x247beb(0x10a)]({'commentThreadId':_0x5c7686,'comments':_0x564a86[_0x247beb(0xe7)](_0x5f17c0=>function(_0x29711c,_0x2fc61f,_0x2fc2fd){const _0x16c11c=_0x247beb;return{'commentThreadId':_0x2fc2fd,'commentId':_0x29711c[_0x16c11c(0xf0)],'userId':_0x29711c[_0x16c11c(0x145)],'content':_0x29711c[_0x16c11c(0x133)],'documentId':_0x2fc61f,'createdAt':_0x29711c[_0x16c11c(0x122)],'attributes':_0x29711c[_0x16c11c(0x101)]||{}};}(_0x5f17c0,_0x16d2b3,_0x5c7686)),'resolvedAt':_0x33b66c,'resolvedBy':_0x274160,'context':_0x2d2d93,'attributes':_0x4be7be})[_0x247beb(0xec)](tt);return{'threadId':_0x1ef35d[_0x247beb(0x137)],'comments':_0x1ef35d[_0x247beb(0x113)]};},'getCommentThread':async({channelId:_0x1bb1fd,threadId:_0x4c2aee})=>{const _0x1b3550=_0x390035,_0x165dc8=await this[_0x1b3550(0x11e)](_0x1bb1fd)[_0x1b3550(0xff)](_0x4c2aee)[_0x1b3550(0xec)](Z)[_0x1b3550(0xec)](tt);return _0x165dc8?_0x165dc8[_0x1b3550(0x146)]?null:(await this[_0x1b3550(0xe6)]([_0x165dc8]),{'threadId':_0x165dc8[_0x1b3550(0x137)],'comments':_0x165dc8[_0x1b3550(0x113)][_0x1b3550(0xe7)](et),'context':_0x165dc8[_0x1b3550(0x10e)],'resolvedAt':_0x165dc8[_0x1b3550(0x131)],'resolvedBy':_0x165dc8[_0x1b3550(0x121)],'attributes':_0x165dc8[_0x1b3550(0x101)]||{}}):null;},'updateCommentThread':async({channelId:_0x57ba5f,threadId:_0x1555ff,context:_0x17c5ba,unlinkedAt:_0x264d26,attributes:_0x5a6234})=>this[_0x390035(0x11e)](_0x57ba5f)[_0x390035(0xea)]({'commentThreadId':_0x1555ff,'context':_0x17c5ba,'attributes':_0x5a6234,'unlinkedAt':_0x264d26})[_0x390035(0xec)](Z)[_0x390035(0xec)](tt),'resolveCommentThread':async({channelId:_0x135f4e,threadId:_0x3a8f54})=>{const _0x506291=_0x390035,_0x26d97a=await this[_0x506291(0x11e)](_0x135f4e)[_0x506291(0xf7)](_0x3a8f54)[_0x506291(0xec)](Z)[_0x506291(0xec)](tt);return{'threadId':_0x26d97a[_0x506291(0x137)],'resolvedAt':_0x26d97a[_0x506291(0x131)],'resolvedBy':_0x26d97a[_0x506291(0x121)]};},'reopenCommentThread':async({channelId:_0x5c1e4e,threadId:_0x143d17})=>this[_0x390035(0x11e)](_0x5c1e4e)[_0x390035(0xfa)](_0x143d17)[_0x390035(0xec)](Z)[_0x390035(0xec)](tt),'removeCommentThread':({channelId:_0xed9369,threadId:_0x196ba4})=>this[_0x390035(0x11e)](_0xed9369)[_0x390035(0x136)](_0x196ba4)[_0x390035(0xec)](Z)[_0x390035(0xec)](tt),'addComment':({channelId:_0x3678e5,threadId:_0x44979a,commentId:_0x2fcb22,content:_0x36f558,attributes:_0x1fb221})=>this[_0x390035(0x11e)](_0x3678e5)[_0x390035(0x134)](_0x44979a,_0x2fcb22,_0x36f558,_0x1fb221)[_0x390035(0xec)](tt),'updateComment':({channelId:_0x1ac30d,threadId:_0xfd7a66,commentId:_0x3d9d05,content:_0x5f2357,attributes:_0x107e1d})=>this[_0x390035(0x11e)](_0x1ac30d)[_0x390035(0xf6)](_0xfd7a66,_0x3d9d05,_0x5f2357,_0x107e1d)[_0x390035(0xec)](Z)[_0x390035(0xec)](tt),'removeComment':({channelId:_0xa68fbf,threadId:_0x935bb2,commentId:_0x11855e})=>this[_0x390035(0x11e)](_0xa68fbf)[_0x390035(0x109)](_0x935bb2,_0x11855e)[_0x390035(0xec)](Z)[_0x390035(0xec)](tt)},_0x57ff9d instanceof _0x522e86){const _0x3e2d6b=_0x57ff9d[_0x390035(0xef)][_0x390035(0x126)](_0x390035(0x125)),_0x503ed8=_0x57ff9d[_0x390035(0xf3)][_0x390035(0x126)](_0x8b5674);await this[_0x390035(0x12b)](_0x3e2d6b);const _0x6cb7ff=await this[_0x390035(0x108)][_0x390035(0x126)](_0x3e2d6b)[_0x390035(0x13c)]();this[_0x390035(0x132)](_0x503ed8,_0x390035(0x100)+_0x3e2d6b,(_0x3c3bb2,{session:_0x3454d6})=>{const _0x50ea9d=_0x390035;_0x3454d6['id']===_0x503ed8[_0x50ea9d(0xf2)]&&(_0x3c3bb2[_0x50ea9d(0x148)](),this[_0x50ea9d(0x10e)][_0x50ea9d(0xf3)][_0x50ea9d(0x126)](_0x50ea9d(0x11f))[_0x50ea9d(0x124)](_0x3454d6[_0x50ea9d(0x13e)],_0x3e2d6b));}),_0x503ed8[_0x390035(0x12c)](_0x3e2d6b,_0x6cb7ff);}}async[_0x49fb37(0x12b)](_0x410a4e){const _0x4292d5=_0x49fb37;if(this[_0x4292d5(0x108)][_0x4292d5(0xe5)](_0x410a4e))throw new _0x377c1d(_0x4292d5(0x129),null,{'channelId':_0x410a4e});const _0x41563a=this[_0x4292d5(0x10e)][_0x4292d5(0xf3)][_0x4292d5(0x126)](_0x4292d5(0xed)),_0x1caa7b=new CloudServicesCommentsAdapter[(_0x4292d5(0xfb))](_0x410a4e);this[_0x4292d5(0x108)][_0x4292d5(0xf4)](_0x410a4e,_0x1caa7b),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0x127),(_0x17d94a,_0x37e76d)=>{const _0x3c9686=_0x4292d5,{commentThreadId:_0x5299ec,documentId:_0x2cfb8a,context:_0x17668c,attributes:_0x1abf24,resolvedAt:_0x5115c6,resolvedBy:_0x2edabe,comments:_0x5d4461}=_0x37e76d;_0x41563a[_0x3c9686(0xff)](_0x5299ec)||_0x41563a[_0x3c9686(0x10a)]({'threadId':_0x5299ec,'channelId':_0x2cfb8a,'comments':_0x5d4461?_0x5d4461[_0x3c9686(0xe7)](et):[],'context':_0x17668c,'attributes':_0x1abf24,'resolvedAt':_0x5115c6,'resolvedBy':_0x2edabe,'isFromAdapter':!0x0});}),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0x120),(_0x246506,{commentThreadId:_0x1e0797,documentId:_0x31a45d,context:_0x38f3c1,unlinkedAt:_0x51950f,attributes:_0x3d3977})=>{const _0x55f60d=_0x4292d5;_0x41563a[_0x55f60d(0xff)](_0x1e0797)&&_0x41563a[_0x55f60d(0xea)]({'threadId':_0x1e0797,'channelId':_0x31a45d,'context':_0x38f3c1,'unlinkedAt':_0x51950f,'attributes':_0x3d3977,'isFromAdapter':!0x0});}),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0xfd),(_0x3f0881,{commentThreadId:_0x10db93,resolvedBy:_0x359379,resolvedAt:_0x1575b6})=>{const _0x13f523=_0x4292d5,_0xe1a94c=_0x41563a[_0x13f523(0xff)](_0x10db93);_0xe1a94c&&_0xe1a94c[_0x13f523(0x11b)]({'resolvedBy':_0x359379,'resolvedAt':_0x1575b6,'isFromAdapter':!0x0});}),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0xf8),(_0x2a58ef,{commentThreadId:_0x5e6fed})=>{const _0x32feee=_0x4292d5,_0x4b31c1=_0x41563a[_0x32feee(0xff)](_0x5e6fed);_0x4b31c1&&_0x4b31c1[_0x32feee(0x13a)]({'isFromAdapter':!0x0});}),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0x13f),(_0x54fa09,{commentThreadId:_0x21802f})=>{const _0x49f9d=_0x4292d5,_0x17c29e=_0x41563a[_0x49f9d(0xff)](_0x21802f);_0x17c29e&&_0x17c29e[_0x49f9d(0xe8)]({'isFromAdapter':!0x0});}),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0x13b),(_0x1e2f8c,_0x3ee016)=>{const _0x191700=_0x4292d5,_0xaf0509=_0x3ee016[_0x191700(0x137)],_0x3c0ae6=_0x41563a[_0x191700(0xff)](_0xaf0509);_0x3c0ae6&&_0x3c0ae6[_0x191700(0x134)]({...et(_0x3ee016),'isFromAdapter':!0x0});}),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0x11a),(_0x5e9e2c,{commentThreadId:_0x4d1d78,commentId:_0x145921,content:_0x164c13,attributes:_0x14adde})=>{const _0x3e8909=_0x4292d5,_0x5bff04=_0x41563a[_0x3e8909(0xff)](_0x4d1d78);if(_0x5bff04){const _0x51e820=_0x5bff04[_0x3e8909(0x13d)](_0x145921);_0x51e820&&_0x51e820[_0x3e8909(0x135)]({'content':_0x164c13,'attributes':_0x14adde,'isFromAdapter':!0x0});}}),this[_0x4292d5(0x132)](_0x1caa7b,_0x4292d5(0x12e),(_0x4679bc,{commentThreadId:_0x11c822,commentId:_0x2e2f49})=>{const _0x5140f3=_0x4292d5,_0x54e34b=_0x41563a[_0x5140f3(0xff)](_0x11c822);if(_0x54e34b){const _0x1a5eb6=_0x54e34b[_0x5140f3(0x13d)](_0x2e2f49);_0x1a5eb6&&_0x1a5eb6[_0x5140f3(0xe8)]({'isFromAdapter':!0x0});}}),await this[_0x4292d5(0x102)](_0x410a4e);}[_0x49fb37(0x11d)](){const _0x1a3a47=_0x49fb37;if(this[_0x1a3a47(0x10e)]instanceof _0x522e86){const _0x494b7e=this[_0x1a3a47(0x10e)][_0x1a3a47(0xef)][_0x1a3a47(0x126)](_0x1a3a47(0x125));this[_0x1a3a47(0x12d)](_0x494b7e);}}[_0x49fb37(0x12d)](_0x4daa05){const _0x42bce0=_0x49fb37;if(!this[_0x42bce0(0x108)][_0x42bce0(0xe5)](_0x4daa05))throw new _0x377c1d(_0x42bce0(0x141),null,{'channelId':_0x4daa05});this[_0x42bce0(0x11e)](_0x4daa05)[_0x42bce0(0x140)](),this[_0x42bce0(0x108)][_0x42bce0(0xfc)](_0x4daa05);}async[_0x49fb37(0xf9)](){const _0x40c38d=_0x49fb37;for(const _0x538cc7 of this[_0x40c38d(0x108)][_0x40c38d(0xe4)]())await this[_0x40c38d(0x102)](_0x538cc7);if(this[_0x40c38d(0x10e)]instanceof _0x522e86){const _0x53382e=this[_0x40c38d(0x10e)][_0x40c38d(0xef)][_0x40c38d(0x126)](_0x40c38d(0x125)),_0x46cf00=this[_0x40c38d(0x10e)][_0x40c38d(0xf3)][_0x40c38d(0x126)](_0x8b5674);_0x46cf00[_0x40c38d(0x128)](_0x53382e);const _0x4c72f9=await this[_0x40c38d(0x108)][_0x40c38d(0x126)](_0x53382e)[_0x40c38d(0x13c)]();_0x46cf00[_0x40c38d(0x12c)](_0x53382e,_0x4c72f9);}}async[_0x49fb37(0x102)](_0xf32497){const _0x2bf0ad=_0x49fb37,{connection:_0x10c4ab}=this[_0x2bf0ad(0x10e)][_0x2bf0ad(0xf3)][_0x2bf0ad(0x126)](_0x3b76fb),_0x380b01=this[_0x2bf0ad(0x10e)][_0x2bf0ad(0xf3)][_0x2bf0ad(0x126)](_0x2bf0ad(0xed)),_0x407b91=this[_0x2bf0ad(0x108)][_0x2bf0ad(0x126)](_0xf32497),_0x1549ea=await _0x407b91[_0x2bf0ad(0xeb)](_0x10c4ab);await this[_0x2bf0ad(0xe6)](_0x1549ea);const _0x55895b=new Set(Array[_0x2bf0ad(0x103)](_0x380b01[_0x2bf0ad(0x139)]({'channelId':_0xf32497}),_0x25d0dd=>_0x25d0dd['id']));for(const _0xbe0573 of _0x1549ea)_0xbe0573[_0x2bf0ad(0x146)]||_0x55895b[_0x2bf0ad(0xfc)](_0xbe0573[_0x2bf0ad(0x137)]);for(const _0x93b7a8 of _0x55895b)_0x380b01[_0x2bf0ad(0xff)](_0x93b7a8)[_0x2bf0ad(0xe8)]({'isFromAdapter':!0x0});for(const _0x3a8004 of _0x1549ea){let _0x2bd9b2=_0x380b01[_0x2bf0ad(0xff)](_0x3a8004[_0x2bf0ad(0x137)]);const {commentThreadId:_0x131490,context:_0xfd3a24,attributes:_0x5eea0d,resolvedBy:_0x4a4c31,resolvedAt:_0x5369c7,unlinkedAt:_0x5a7ecd,deletedAt:_0x57c441}=_0x3a8004;if(_0x57c441)continue;_0x2bd9b2||(_0x2bd9b2=_0x380b01[_0x2bf0ad(0x10a)]({'channelId':_0xf32497,'threadId':_0x131490,'context':_0xfd3a24,'attributes':_0x5eea0d||{},'resolvedBy':_0x4a4c31,'resolvedAt':_0x5369c7,'unlinkedAt':_0x5a7ecd,'isFromAdapter':!0x0}));const _0x3bf092=new Set(Array[_0x2bf0ad(0x103)](_0x2bd9b2[_0x2bf0ad(0x113)],_0x42617b=>_0x42617b['id']));for(const _0x4b4d86 of _0x3a8004[_0x2bf0ad(0x113)])_0x3bf092[_0x2bf0ad(0xfc)](_0x4b4d86[_0x2bf0ad(0xf0)]);for(const _0x26211b of _0x3bf092)_0x2bd9b2[_0x2bf0ad(0x13d)](_0x26211b)[_0x2bf0ad(0xe8)]({'isFromAdapter':!0x0});for(const _0x2de0d1 of _0x3a8004[_0x2bf0ad(0x113)]){const _0x3f7e65=_0x2bd9b2[_0x2bf0ad(0x13d)](_0x2de0d1[_0x2bf0ad(0xf0)]);_0x3f7e65?_0x3f7e65[_0x2bf0ad(0x133)]!==_0x2de0d1[_0x2bf0ad(0x133)]&&_0x3f7e65[_0x2bf0ad(0x135)]({'content':_0x2de0d1[_0x2bf0ad(0x133)],'isFromAdapter':!0x0}):_0x2bd9b2[_0x2bf0ad(0x134)](Object[_0x2bf0ad(0x116)](et(_0x2de0d1),{'isFromAdapter':!0x0}));}}}[_0x49fb37(0x11e)](_0x2cf928){const _0x555808=_0x49fb37;if(!this[_0x555808(0x108)][_0x555808(0xe5)](_0x2cf928))throw new _0x377c1d(_0x555808(0x106),null,{'channelId':_0x2cf928});return this[_0x555808(0x108)][_0x555808(0x126)](_0x2cf928);}async[_0x49fb37(0xe6)](_0x44b85e){const _0x42b971=_0x49fb37,_0xf6b8e1=this[_0x42b971(0x10e)][_0x42b971(0xf3)][_0x42b971(0x126)](_0x2e8535),{connection:_0x154811}=this[_0x42b971(0x10e)][_0x42b971(0xf3)][_0x42b971(0x126)](_0x3b76fb),_0x479bf8=new Set();for(const {resolvedBy:_0xac9748,comments:_0xe14cce}of _0x44b85e){_0xac9748&&!_0xf6b8e1[_0x42b971(0x111)](_0xac9748)&&_0x479bf8[_0x42b971(0x138)](_0xac9748);for(const {userId:_0x187b7a}of _0xe14cce)_0xf6b8e1[_0x42b971(0x111)](_0x187b7a)||_0x479bf8[_0x42b971(0x138)](_0x187b7a);}if(0x0===_0x479bf8[_0x42b971(0x143)])return;const _0x294562=await _0x4bc6ff[_0x42b971(0xe3)](_0x154811,Array[_0x42b971(0x103)](_0x479bf8));for(const _0x5a2a43 of _0x294562)_0xf6b8e1[_0x42b971(0x111)](_0x5a2a43['id'])||_0xf6b8e1[_0x42b971(0x110)](_0x5a2a43);}}async function Z(_0x488dd8){const _0xa86e41=_0x49fb37;if(_0xa86e41(0x142)!==_0x488dd8[_0xa86e41(0x147)])throw _0x488dd8;}function tt(_0x2a7c29){const _0x5e54a8=_0x49fb37;if((_0x35f013=_0x2a7c29)[_0x5e54a8(0x10f)][_0x5e54a8(0xfe)](_0x5e54a8(0x107))||_0x35f013[_0x5e54a8(0x10f)][_0x5e54a8(0xfe)](_0x5e54a8(0x105))||_0x35f013[_0x5e54a8(0x10f)][_0x5e54a8(0xfe)](_0x5e54a8(0xe9)))return new Promise(()=>{});var _0x35f013;throw _0x2a7c29;}function et(_0x39ed9e){const _0x1682cf=_0x49fb37;return{'threadId':_0x39ed9e[_0x1682cf(0x137)],'commentId':_0x39ed9e[_0x1682cf(0xf0)],'content':_0x39ed9e[_0x1682cf(0x133)],'createdAt':_0x39ed9e[_0x1682cf(0x122)],'authorId':_0x39ed9e[_0x1682cf(0x130)],'attributes':_0x39ed9e[_0x1682cf(0x101)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2da44a=_0x35c7;(function(_0x203f13,_0x30400c){const _0x457e6c=_0x35c7,_0x4be79c=_0x203f13();while(!![]){try{const _0xa1c45c=-parseInt(_0x457e6c(0x16e))/0x1*(-parseInt(_0x457e6c(0x167))/0x2)+parseInt(_0x457e6c(0x16b))/0x3*(-parseInt(_0x457e6c(0x159))/0x4)+-parseInt(_0x457e6c(0x173))/0x5*(-parseInt(_0x457e6c(0x162))/0x6)+parseInt(_0x457e6c(0x157))/0x7+parseInt(_0x457e6c(0x151))/0x8*(-parseInt(_0x457e6c(0x163))/0x9)+parseInt(_0x457e6c(0x16d))/0xa+-parseInt(_0x457e6c(0x154))/0xb;if(_0xa1c45c===_0x30400c)break;else _0x4be79c['push'](_0x4be79c['shift']());}catch(_0x220321){_0x4be79c['push'](_0x4be79c['shift']());}}}(_0x4f70,0x2dbc0));import{Plugin as _0x451a8d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3ebfcb}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x52da5b}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5c2b06}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x451a8d{static get[_0x2da44a(0x150)](){const _0x153cbf=_0x2da44a;return[_0x153cbf(0x15f),_0x3ebfcb,_0x52da5b,_0x5c2b06];}static get[_0x2da44a(0x15e)](){const _0x2a0a23=_0x2da44a;return _0x2a0a23(0x161);}static get[_0x2da44a(0x15c)](){return!0x0;}static get[_0x2da44a(0x15a)](){return!0x0;}[_0x2da44a(0x156)](){const _0x5edfbd=_0x2da44a,_0x221afd=this[_0x5edfbd(0x155)][_0x5edfbd(0x165)][_0x5edfbd(0x171)](_0x5c2b06),_0x32f924=this[_0x5edfbd(0x155)][_0x5edfbd(0x165)][_0x5edfbd(0x171)](_0x5edfbd(0x152)),_0x475aae=this[_0x5edfbd(0x155)][_0x5edfbd(0x165)][_0x5edfbd(0x171)](_0x3ebfcb);return this[_0x5edfbd(0x155)][_0x5edfbd(0x16f)][_0x5edfbd(0x153)](_0x5edfbd(0x16a),()=>{const _0x8a3a0a=_0x5edfbd;this[_0x8a3a0a(0x15d)](_0x221afd,_0x8a3a0a(0x168),(_0x3a6b5e,_0x5a4077,_0x19df2f)=>{const _0x5b63dd=_0x8a3a0a;_0x32f924[_0x5b63dd(0x158)]=_0x5b63dd(0x164)!==_0x19df2f;});}),this[_0x5edfbd(0x15d)](_0x221afd,_0x5edfbd(0x168),(_0x1143ef,_0x5c60d5,_0x22b3ae)=>{const _0x4e0871=_0x5edfbd;this[_0x4e0871(0x155)][_0x4e0871(0x165)][_0x4e0871(0x171)](_0x4e0871(0x170))[_0x4e0871(0x160)](_0x4e0871(0x164)!==_0x22b3ae);}),_0x475aae[_0x5edfbd(0x15b)](this[_0x5edfbd(0x155)][_0x5edfbd(0x166)][_0x5edfbd(0x171)](_0x5edfbd(0x16c)));}[_0x2da44a(0x172)](){const _0x393777=_0x2da44a;this[_0x393777(0x155)][_0x393777(0x165)][_0x393777(0x171)](_0x3ebfcb)[_0x393777(0x169)](this[_0x393777(0x155)][_0x393777(0x166)][_0x393777(0x171)](_0x393777(0x16c))),super[_0x393777(0x172)]();}}function _0x35c7(_0x518548,_0x263a14){const _0x4f70e8=_0x4f70();return _0x35c7=function(_0x35c740,_0x4c47c4){_0x35c740=_0x35c740-0x150;let _0x564fcc=_0x4f70e8[_0x35c740];return _0x564fcc;},_0x35c7(_0x518548,_0x263a14);}function _0x4f70(){const _0x23bd33=['isThreadsLoadingPaused','84988gBbIII','isPremiumPlugin','_setUpService','isOfficialPlugin','listenTo','pluginName','Comments','switchReadOnly','RealTimeCollaborativeComments','11946ilBLje','1624383EJevpx','connected','plugins','config','93786ZnyFWB','change:state','_terminateService','ready','33MdRBKt','collaboration.channelId','2949600PKcxPq','1mHGkiG','data','CommentsRepository','get','destroy','485slados','requires','8oANVbH','CommentsEditing','once','139953tEVmQm','editor','init','554925dJXQzA'];_0x4f70=function(){return _0x23bd33;};return _0x4f70();}
23
+ function _0x4620(_0x29a0dc,_0x462d5e){const _0x382b9d=_0x382b();return _0x4620=function(_0x4620e1,_0x559c55){_0x4620e1=_0x4620e1-0x12e;let _0x3cd3ee=_0x382b9d[_0x4620e1];return _0x3cd3ee;},_0x4620(_0x29a0dc,_0x462d5e);}const _0x1a7053=_0x4620;function _0x382b(){const _0x3173e0=['135VUbWoU','pluginName','once','listenTo','isOfficialPlugin','requires','change:state','config','6871218oobjQW','init','Comments','editor','193636hlOliS','424KRHjFr','plugins','get','_setUpService','_terminateService','isThreadsLoadingPaused','RealTimeCollaborativeComments','CommentsEditing','destroy','switchReadOnly','9NwUant','7512420wvBfFw','8035074xfSzfL','connected','105119YdQjqk','isPremiumPlugin','490613XWxGoq','collaboration.channelId','CommentsRepository','ready','652034LCOXko','data'];_0x382b=function(){return _0x3173e0;};return _0x382b();}(function(_0x34f17a,_0x54d207){const _0x19f418=_0x4620,_0x2f646d=_0x34f17a();while(!![]){try{const _0x5d1c45=parseInt(_0x19f418(0x142))/0x1+parseInt(_0x19f418(0x146))/0x2*(parseInt(_0x19f418(0x13c))/0x3)+-parseInt(_0x19f418(0x131))/0x4*(-parseInt(_0x19f418(0x148))/0x5)+-parseInt(_0x19f418(0x150))/0x6+parseInt(_0x19f418(0x140))/0x7*(-parseInt(_0x19f418(0x132))/0x8)+-parseInt(_0x19f418(0x13e))/0x9+parseInt(_0x19f418(0x13d))/0xa;if(_0x5d1c45===_0x54d207)break;else _0x2f646d['push'](_0x2f646d['shift']());}catch(_0x2a3590){_0x2f646d['push'](_0x2f646d['shift']());}}}(_0x382b,0xa9343));import{Plugin as _0x218081}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3c505d}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x368741}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0xb4ae76}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x218081{static get[_0x1a7053(0x14d)](){const _0x472270=_0x1a7053;return[_0x472270(0x12f),_0x3c505d,_0x368741,_0xb4ae76];}static get[_0x1a7053(0x149)](){const _0x581006=_0x1a7053;return _0x581006(0x138);}static get[_0x1a7053(0x14c)](){return!0x0;}static get[_0x1a7053(0x141)](){return!0x0;}[_0x1a7053(0x12e)](){const _0x2ad6ae=_0x1a7053,_0x3a3a3f=this[_0x2ad6ae(0x130)][_0x2ad6ae(0x133)][_0x2ad6ae(0x134)](_0xb4ae76),_0x3a9827=this[_0x2ad6ae(0x130)][_0x2ad6ae(0x133)][_0x2ad6ae(0x134)](_0x2ad6ae(0x139)),_0x5cd6d7=this[_0x2ad6ae(0x130)][_0x2ad6ae(0x133)][_0x2ad6ae(0x134)](_0x3c505d);return this[_0x2ad6ae(0x130)][_0x2ad6ae(0x147)][_0x2ad6ae(0x14a)](_0x2ad6ae(0x145),()=>{const _0xdcca89=_0x2ad6ae;this[_0xdcca89(0x14b)](_0x3a3a3f,_0xdcca89(0x14e),(_0x175db5,_0x5a1b0e,_0x4353c1)=>{const _0x4e3821=_0xdcca89;_0x3a9827[_0x4e3821(0x137)]=_0x4e3821(0x13f)!==_0x4353c1;});}),this[_0x2ad6ae(0x14b)](_0x3a3a3f,_0x2ad6ae(0x14e),(_0x20ac49,_0x26e0a7,_0x19a1a2)=>{const _0x2be6ca=_0x2ad6ae;this[_0x2be6ca(0x130)][_0x2be6ca(0x133)][_0x2be6ca(0x134)](_0x2be6ca(0x144))[_0x2be6ca(0x13b)](_0x2be6ca(0x13f)!==_0x19a1a2);}),_0x5cd6d7[_0x2ad6ae(0x135)](this[_0x2ad6ae(0x130)][_0x2ad6ae(0x14f)][_0x2ad6ae(0x134)](_0x2ad6ae(0x143)));}[_0x1a7053(0x13a)](){const _0x5edb91=_0x1a7053;this[_0x5edb91(0x130)][_0x5edb91(0x133)][_0x5edb91(0x134)](_0x3c505d)[_0x5edb91(0x136)](this[_0x5edb91(0x130)][_0x5edb91(0x14f)][_0x5edb91(0x134)](_0x5edb91(0x143))),super[_0x5edb91(0x13a)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aae05=_0x13e1;(function(_0x5d347e,_0x3c4a24){const _0x35b571=_0x13e1,_0x459ed8=_0x5d347e();while(!![]){try{const _0xf82d33=-parseInt(_0x35b571(0xbb))/0x1*(parseInt(_0x35b571(0xd6))/0x2)+-parseInt(_0x35b571(0xea))/0x3*(-parseInt(_0x35b571(0xec))/0x4)+parseInt(_0x35b571(0x19e))/0x5+parseInt(_0x35b571(0x1ab))/0x6*(-parseInt(_0x35b571(0x120))/0x7)+parseInt(_0x35b571(0x12a))/0x8*(-parseInt(_0x35b571(0x19c))/0x9)+-parseInt(_0x35b571(0xff))/0xa*(parseInt(_0x35b571(0x192))/0xb)+parseInt(_0x35b571(0x127))/0xc;if(_0xf82d33===_0x3c4a24)break;else _0x459ed8['push'](_0x459ed8['shift']());}catch(_0x28f711){_0x459ed8['push'](_0x459ed8['shift']());}}}(_0x253b,0x856ae));import{Plugin as _0x147f9f,PendingActions as _0x426c8a}from'ckeditor5/src/core.js';import{CKEditorError as _0x459c11,version as _0x1efc13,uid as _0x1b2700}from'ckeditor5/src/utils.js';import{Notification as _0x628b19}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x24d92f,NoOperation as _0x473bad,InsertOperation as _0x3dc9f1,MarkerOperation as _0x5da2a5,RootAttributeOperation as _0x158e0d,OperationFactory as _0x1137fb,History as _0x165df5}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x39f35a}from'./websocketgateway.js';import{Sessions as _0x39fe52}from'./sessions.js';import{UserMarkers as _0x2ab935}from'./usermarkers.js';import{getTranslation as _0x100d42}from'../common-translations.js';import{Compressor as _0xab5a34}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5159f1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5c94ad,CollaborativeEditingService as _0x366e31}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x13e1(_0xdb3842,_0x2fb78){const _0x253bdf=_0x253b();return _0x13e1=function(_0x13e1c4,_0x56c40c){_0x13e1c4=_0x13e1c4-0xaf;let _0x29852d=_0x253bdf[_0x13e1c4];return _0x29852d;},_0x13e1(_0xdb3842,_0x2fb78);}export class RealTimeCollaborationClient extends _0x147f9f{static [_0x3aae05(0x106)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x366e31)());[_0x3aae05(0x10a)];[_0x3aae05(0x136)];[_0x3aae05(0x112)];[_0x3aae05(0x11e)];[_0x3aae05(0x153)];[_0x3aae05(0x113)];[_0x3aae05(0xdd)];[_0x3aae05(0xc4)];[_0x3aae05(0xf8)];[_0x3aae05(0xd5)];[_0x3aae05(0x1a3)];[_0x3aae05(0x1a8)];[_0x3aae05(0x144)];[_0x3aae05(0xfb)];[_0x3aae05(0xc6)];[_0x3aae05(0x197)];[_0x3aae05(0x147)];[_0x3aae05(0x14d)];static get[_0x3aae05(0x160)](){return[_0x39f35a,_0x39fe52,_0x2ab935,_0x426c8a,_0x5159f1,_0x628b19];}static get[_0x3aae05(0xdb)](){const _0xf2c91e=_0x3aae05;return _0xf2c91e(0xaf);}static get[_0x3aae05(0x1af)](){return!0x0;}static get[_0x3aae05(0x166)](){return!0x0;}get[_0x3aae05(0xe7)](){const _0x30ccc8=_0x3aae05;return this[_0x30ccc8(0xc3)]+this[_0x30ccc8(0x10a)];}get[_0x3aae05(0xc3)](){const _0x1b7df4=_0x3aae05;return this[_0x1b7df4(0x112)][_0x1b7df4(0x118)]-this[_0x1b7df4(0x10a)];}get[_0x3aae05(0x148)](){const _0x1737eb=_0x3aae05,_0x13939e=this[_0x1737eb(0x112)][_0x1737eb(0x18a)]();for(let _0x31fe43=_0x13939e[_0x1737eb(0xb1)]-0x1;_0x31fe43>=0x0;_0x31fe43--){const _0x7125ab=_0x13939e[_0x31fe43];if(!this[_0x1737eb(0x147)][_0x1737eb(0x109)](_0x7125ab))return _0x7125ab[_0x1737eb(0xcb)]+0x1-this[_0x1737eb(0x10a)];}return 0x0;}constructor(_0x2e8b1e){const _0x1b952f=_0x3aae05;if(super(_0x2e8b1e),this[_0x1b952f(0x10a)]=0x0,this[_0x1b952f(0x136)]=null,this[_0x1b952f(0x112)]=new _0x165df5(),this[_0x1b952f(0x14c)][_0x1b952f(0xcc)][_0x1b952f(0x13b)](_0x1b952f(0x111),{}),this[_0x1b952f(0x11e)]=this[_0x1b952f(0x14c)][_0x1b952f(0xcc)][_0x1b952f(0x175)](_0x1b952f(0x1b5)),!this[_0x1b952f(0x11e)])throw new _0x459c11(_0x1b952f(0x134),this);const _0x32a54a=_0x2e8b1e[_0x1b952f(0xcc)][_0x1b952f(0x175)](_0x1b952f(0x17b))||_0x1efc13;this[_0x1b952f(0x153)]=new RealTimeCollaborationClient[(_0x1b952f(0x106))](_0x32a54a,this[_0x1b952f(0x11e)]),this[_0x1b952f(0x113)]=this[_0x1b952f(0x14c)][_0x1b952f(0x1a6)][_0x1b952f(0x12f)],this[_0x1b952f(0xdd)]=new _0xab5a34(),this[_0x1b952f(0xc4)]=[],this[_0x1b952f(0xf8)]=new WeakSet(),this[_0x1b952f(0xd5)]=new Set(),this[_0x1b952f(0xbc)](_0x1b952f(0x181),!0x1),this[_0x1b952f(0xbc)](_0x1b952f(0x157),!0x1),this[_0x1b952f(0x1a3)]=null,this[_0x1b952f(0x1a8)]=!0x1,this[_0x1b952f(0x144)]=null,this[_0x1b952f(0xfb)]=0x12c,this[_0x1b952f(0xc6)]=this[_0x1b952f(0xfb)],this[_0x1b952f(0x197)]=null,this[_0x1b952f(0x147)]=new WeakSet(),this[_0x1b952f(0x14d)]=new Z(this[_0x1b952f(0x147)]);}[_0x3aae05(0xc2)](){const _0x1bce00=_0x3aae05,_0x902658=this[_0x1bce00(0x14c)],_0x39e70b=_0x902658[_0x1bce00(0x190)][_0x1bce00(0x175)](_0x5159f1),_0x3f4364=_0x902658[_0x1bce00(0x190)][_0x1bce00(0x175)](_0x39f35a);this[_0x1bce00(0x10e)](_0x39e70b,_0x1bce00(0x183),(_0x1f278e,_0x120487)=>{const _0x1f537a=_0x1bce00,_0x1404b3=_0x120487[0x0];_0x1404b3[_0x1f537a(0x176)]&&(_0x1f278e[_0x1f537a(0x1a9)]=_0x39e70b[_0x1f537a(0xf3)](_0x1404b3[_0x1f537a(0x176)]),_0x1f278e[_0x1f537a(0x15d)]()),null===_0x1404b3[_0x1f537a(0x176)]&&(_0x1f278e[_0x1f537a(0x1a9)]=null,_0x1f278e[_0x1f537a(0x15d)]());},{'priority':_0x1bce00(0x17d)}),this[_0x1bce00(0x10e)](_0x902658[_0x1bce00(0x1a6)][_0x1bce00(0x12f)][_0x1bce00(0xd1)],_0x1bce00(0xc5),(_0xe65166,_0x5753f4)=>{const _0x1ced07=_0x1bce00;_0x5753f4[_0x1ced07(0xe4)]&&this[_0x1ced07(0x13a)]();}),this[_0x1bce00(0x10e)](_0x902658[_0x1bce00(0x188)][_0x1bce00(0x1a5)],_0x1bce00(0x150),()=>{const _0x11892c=_0x1bce00;this[_0x11892c(0x13a)]();}),this[_0x1bce00(0x19b)](),_0x902658[_0x1bce00(0x1a6)]['on'](_0x1bce00(0x19a),(_0x198752,_0x47c9d9)=>{const _0x96e3ed=_0x1bce00,_0x1cf1eb=_0x47c9d9[0x0];_0x1cf1eb[_0x96e3ed(0xfd)]&&(this[_0x96e3ed(0x107)](_0x1cf1eb),this[_0x96e3ed(0x16f)]()&&this[_0x96e3ed(0xca)]());}),this[_0x1bce00(0xd9)](),this[_0x1bce00(0x116)](_0x1bce00(0xc0))['to'](_0x3f4364,_0x1bce00(0xda),this,_0x1bce00(0x157),(_0x218c2e,_0xff9e40)=>_0x1bce00(0x110)===_0x218c2e&&!_0xff9e40),this['on'](_0x1bce00(0x1ae),()=>{const _0x3086a7=_0x1bce00;this[_0x3086a7(0xc0)]?_0x902658[_0x3086a7(0xef)](_0x3086a7(0x193)):_0x902658[_0x3086a7(0xe9)](_0x3086a7(0x193));}),this[_0x1bce00(0xc0)]?_0x902658[_0x1bce00(0xef)](_0x1bce00(0x193)):_0x902658[_0x1bce00(0xe9)](_0x1bce00(0x193)),this[_0x1bce00(0xbc)](_0x1bce00(0x11b),!0x1);}async[_0x3aae05(0x18d)](){const _0x3b18ab=_0x3aae05,_0x3ef285=this[_0x3b18ab(0x14c)][_0x3b18ab(0x190)][_0x3b18ab(0x175)](_0x39fe52),_0x11dbc7=this[_0x3b18ab(0x14c)][_0x3b18ab(0x190)][_0x3b18ab(0x175)](_0x39f35a);try{this[_0x3b18ab(0x181)]=!0x0,_0x3ef285[_0x3b18ab(0xf7)](this[_0x3b18ab(0x11e)]);const _0x2b134f=await this[_0x3b18ab(0x153)][_0x3b18ab(0x18d)](_0x11dbc7[_0x3b18ab(0x15b)],this[_0x3b18ab(0x148)]);await this[_0x3b18ab(0x1ad)](_0x2b134f)&&(this[_0x3b18ab(0x181)]=!0x1,this[_0x3b18ab(0x10d)]());const _0x4445ae=await this[_0x3b18ab(0x153)][_0x3b18ab(0xba)]();_0x3ef285[_0x3b18ab(0x125)](this[_0x3b18ab(0x11e)],_0x4445ae),this[_0x3b18ab(0x142)](),this[_0x3b18ab(0x11b)]=!0x0;}catch(_0x4871f9){if(function(_0x46200e){const _0x2c0244=_0x3b18ab;return _0x2c0244(0xf4)===_0x46200e[_0x2c0244(0x171)];}(_0x4871f9)&&this[_0x3b18ab(0x136)])await this[_0x3b18ab(0x180)]();else{if(function(_0x4c8133){const _0x360566=_0x3b18ab;return _0x360566(0xb5)===_0x4c8133[_0x360566(0x171)];}(_0x4871f9)){const _0x37cb47=_0x100d42(this[_0x3b18ab(0x14c)][_0x3b18ab(0x12e)],_0x3b18ab(0x16c));this[_0x3b18ab(0x1b2)](_0x37cb47);}else{if(!(_0x4871f9 instanceof X))throw _0x4871f9;this[_0x3b18ab(0x1b2)]();}}}}[_0x3aae05(0x14a)](){const _0x40d002=_0x3aae05,_0x29cefa=this[_0x40d002(0x14c)][_0x40d002(0x190)][_0x40d002(0x175)](_0x39f35a),_0x13784d=this[_0x40d002(0x14c)][_0x40d002(0x190)][_0x40d002(0x175)](_0x39fe52);this[_0x40d002(0x14c)][_0x40d002(0xe9)](_0x40d002(0xbf)),_0x13784d[_0x40d002(0x131)][_0x40d002(0x109)](this[_0x40d002(0x11e)])&&_0x13784d[_0x40d002(0xf7)](this[_0x40d002(0x11e)]),_0x29cefa[_0x40d002(0x173)](this),this[_0x40d002(0x199)](),super[_0x40d002(0x14a)]();}async[_0x3aae05(0x1ad)](_0x3f0c9a){const _0x41b1cb=_0x3aae05;if(this[_0x41b1cb(0x136)]!==_0x3f0c9a[_0x41b1cb(0x136)]&&this[_0x41b1cb(0x197)]!==_0x3f0c9a[_0x41b1cb(0x137)])throw new X();return this[_0x41b1cb(0x136)]=_0x3f0c9a[_0x41b1cb(0x136)],this[_0x41b1cb(0x138)]([],{..._0x3f0c9a,'wereChangesApplied':!0x1,'data':_0x3f0c9a[_0x41b1cb(0x155)]},_0x41b1cb(0x18d));}async[_0x3aae05(0x128)](_0x2aecc2,_0x4317a5=!0x1){const _0x2b51f3=_0x3aae05,{connection:_0x1fcbf3}=this[_0x2b51f3(0x14c)][_0x2b51f3(0x190)][_0x2b51f3(0x175)](_0x39f35a);RealTimeCollaborationClient[_0x2b51f3(0x106)][_0x2b51f3(0xba)](_0x1fcbf3,this[_0x2b51f3(0x11e)])[_0x2b51f3(0xfa)](_0x6a5380=>this[_0x2b51f3(0x10b)](_0x6a5380))[_0x2b51f3(0x11c)](_0x4e62fa=>{const _0x121329=_0x2b51f3;this[_0x121329(0xfe)](_0x121329(0xdf),_0x4e62fa);}),this[_0x2b51f3(0x10e)](this[_0x2b51f3(0x153)],_0x2b51f3(0x195),this[_0x2b51f3(0x164)][_0x2b51f3(0x116)](this)),this[_0x2b51f3(0x10e)](this[_0x2b51f3(0x153)],_0x2b51f3(0x191),(_0x1fa7c2,_0x38df5d)=>{const _0x592392=_0x2b51f3;this[_0x592392(0xfe)](_0x592392(0x18f),_0x38df5d);}),this[_0x2b51f3(0x10e)](this[_0x2b51f3(0x153)],_0x2b51f3(0x16b),()=>{const _0x40d4ef=_0x2b51f3;this[_0x40d4ef(0x11b)]=!0x1;});const _0x237639=this[_0x2b51f3(0x14d)][_0x2b51f3(0xb0)](_0x2aecc2);this[_0x2b51f3(0x181)]=!0x0;const _0x3361b9=await this[_0x2b51f3(0x153)][_0x2b51f3(0xb2)](_0x1fcbf3,this[_0x2b51f3(0x149)](_0x2aecc2),_0x237639);if(this[_0x2b51f3(0x136)]=_0x3361b9[_0x2b51f3(0x136)],_0x4317a5){if(!_0x3361b9[_0x2b51f3(0x1ac)])return void this[_0x2b51f3(0x1b2)]();this[_0x2b51f3(0x181)]=!0x1,this[_0x2b51f3(0x10d)](),this[_0x2b51f3(0x112)][_0x2b51f3(0xb9)](),this[_0x2b51f3(0x10a)]=_0x3361b9[_0x2b51f3(0x158)],this[_0x2b51f3(0x112)][_0x2b51f3(0x118)]=this[_0x2b51f3(0x10a)],await this[_0x2b51f3(0x138)](_0x2aecc2,_0x3361b9,_0x2b51f3(0x187));}else await this[_0x2b51f3(0xe2)](_0x3361b9,_0x2aecc2);this[_0x2b51f3(0x142)](),this[_0x2b51f3(0x11b)]=!0x0;}[_0x3aae05(0x142)](){const _0x2c4b6d=_0x3aae05,_0x2af222=this[_0x2c4b6d(0x14c)][_0x2c4b6d(0x190)][_0x2c4b6d(0x175)](_0x39fe52),_0x455d64=this[_0x2c4b6d(0x14c)][_0x2c4b6d(0x190)][_0x2c4b6d(0x175)](_0x2ab935),_0x317bd4=_0x2af222[_0x2c4b6d(0x131)][_0x2c4b6d(0x175)](this[_0x2c4b6d(0x11e)]);_0x317bd4&&_0x317bd4[_0x2c4b6d(0xb1)]>0x1?_0x455d64[_0x2c4b6d(0x11a)]():this[_0x2c4b6d(0x10e)](_0x2af222,_0x2c4b6d(0x12c)+this[_0x2c4b6d(0x11e)],()=>{const _0xb1d042=_0x2c4b6d;0x2===_0x2af222[_0xb1d042(0x131)][_0xb1d042(0x175)](this[_0xb1d042(0x11e)])[_0xb1d042(0xb1)]&&_0x455d64[_0xb1d042(0x11a)]();});}async[_0x3aae05(0x164)](_0x246465,_0x2617bb,_0x255c35,_0x448b69){const _0x53fb61=_0x3aae05;if(!this[_0x53fb61(0x181)]&&this[_0x53fb61(0x113)][_0x53fb61(0x118)]==_0x2617bb){const _0x4375ec=this[_0x53fb61(0x1b1)](_0x255c35,_0x448b69);await this[_0x53fb61(0xeb)](_0x4375ec),this[_0x53fb61(0xb6)](_0x4375ec,_0x2617bb,_0x255c35[_0x53fb61(0x137)])||this[_0x53fb61(0xfe)](_0x53fb61(0x108));}}async[_0x3aae05(0x180)](){const _0x3875aa=_0x3aae05;this[_0x3875aa(0x199)]();const {locale:_0x2d8993}=this[_0x3875aa(0x14c)];let _0x15b739;try{_0x15b739=await this[_0x3875aa(0x153)][_0x3875aa(0x102)]();}catch{const _0x4ebf57=_0x100d42(_0x2d8993,_0x3875aa(0x14b));return void this[_0x3875aa(0x1b2)](_0x4ebf57);}const _0x2f8098=_0x15b739[_0x3875aa(0x16a)]||_0x15b739[_0x3875aa(0xcf)];if(this[_0x3875aa(0x197)]!==_0x2f8098[_0x3875aa(0x137)]){const _0x5f5155=_0x100d42(_0x2d8993,_0x3875aa(0xbe));return void this[_0x3875aa(0x1b2)](_0x5f5155);}await this[_0x3875aa(0x128)](this[_0x3875aa(0x14c)][_0x3875aa(0x1a6)][_0x3875aa(0x12f)][_0x3875aa(0xe0)][_0x3875aa(0x18a)](),!0x0);}[_0x3aae05(0x199)](){const _0x38b454=_0x3aae05;this[_0x38b454(0x153)][_0x38b454(0x170)](),this[_0x38b454(0xc4)]=[],clearTimeout(this[_0x38b454(0x144)]),this[_0x38b454(0x154)](this[_0x38b454(0x153)]);}[_0x3aae05(0x10b)](_0x51786f){const _0x4f3dac=_0x3aae05,_0x2e50f2=this[_0x4f3dac(0x14c)][_0x4f3dac(0x190)][_0x4f3dac(0x175)](_0x39fe52);this[_0x4f3dac(0x10e)](_0x2e50f2,_0x4f3dac(0x12c)+this[_0x4f3dac(0x11e)],(_0x8953f8,{session:_0x36e3aa})=>{const _0x2c9d02=_0x4f3dac;if(_0x36e3aa['id']===_0x2e50f2[_0x2c9d02(0x17c)]){_0x8953f8[_0x2c9d02(0x10f)]();const _0xf53cc9=this[_0x2c9d02(0x14c)][_0x2c9d02(0x190)][_0x2c9d02(0x109)](_0x2c9d02(0x18e))&&this[_0x2c9d02(0x14c)][_0x2c9d02(0x190)][_0x2c9d02(0x175)](_0x2c9d02(0x18e));let _0x44c1f4=_0x36e3aa[_0x2c9d02(0x184)];_0xf53cc9&&_0xf53cc9[_0x2c9d02(0x163)]&&(_0x44c1f4=_0x44c1f4[_0x2c9d02(0x114)](_0x495e18=>_0x2c9d02(0x196)!==_0x495e18)),this[_0x2c9d02(0x14c)][_0x2c9d02(0x190)][_0x2c9d02(0x175)](_0x2c9d02(0x143))[_0x2c9d02(0x185)](_0x44c1f4,this[_0x2c9d02(0x11e)]);}}),_0x2e50f2[_0x4f3dac(0x125)](this[_0x4f3dac(0x11e)],_0x51786f);}[_0x3aae05(0x19b)](){const _0x47a731=_0x3aae05,_0x1fe6d0=this[_0x47a731(0x14c)][_0x47a731(0x155)][_0x47a731(0xbc)];this[_0x47a731(0x14c)][_0x47a731(0x155)][_0x47a731(0xbc)]=(..._0x5a53d2)=>{const _0x3bbd04=_0x47a731;if(!_0x5a53d2[_0x5a53d2[_0x3bbd04(0xb1)]-0x1][_0x3bbd04(0xd0)])throw new _0x459c11(_0x3bbd04(0x105),this);_0x1fe6d0[_0x3bbd04(0xe1)](this[_0x3bbd04(0x14c)][_0x3bbd04(0x155)],_0x5a53d2);};}[_0x3aae05(0xd9)](){const _0x28bd2b=_0x3aae05;this[_0x28bd2b(0x14c)][_0x28bd2b(0x155)]['on'](_0x28bd2b(0xc2),(_0x39da79,[_0x30b3b6])=>{const _0x2b5442=_0x28bd2b;if(this[_0x2b5442(0x113)][_0x2b5442(0x118)])throw new _0x459c11(_0x2b5442(0xf0),this);_0x39da79[_0x2b5442(0x15d)](),this[_0x2b5442(0xd3)]();const _0x4d716d=this[_0x2b5442(0x14c)][_0x2b5442(0xcc)][_0x2b5442(0x175)](_0x2b5442(0xc7)),_0x2c00a5=this[_0x2b5442(0xc1)](_0x30b3b6,_0x4d716d);0x0==_0x2c00a5[_0x2b5442(0xb1)]&&_0x2c00a5[_0x2b5442(0x17a)](new _0x473bad(0x0)),_0x39da79[_0x2b5442(0x1a9)]=this[_0x2b5442(0x128)](_0x2c00a5)[_0x2b5442(0xfa)](()=>{const _0x58ccb9=_0x2b5442;this[_0x58ccb9(0x14c)][_0x58ccb9(0x190)][_0x58ccb9(0x175)](_0x39f35a)[_0x58ccb9(0xf1)](this),this[_0x58ccb9(0x14c)][_0x58ccb9(0x155)][_0x58ccb9(0x117)](_0x58ccb9(0x12b));})[_0x2b5442(0x11c)](_0xa7a8eb=>this[_0x2b5442(0xfe)](_0x2b5442(0x17e),_0xa7a8eb))[_0x2b5442(0x124)](()=>this[_0x2b5442(0x10d)]());},{'priority':_0x28bd2b(0x17d)}),this[_0x28bd2b(0x14c)]['on'](_0x28bd2b(0x100),async(_0xecb4f4,[_0x2ffe92,_0x2ff01d])=>{const _0x52051f=_0x28bd2b;_0xecb4f4[_0x52051f(0x15d)]();const _0x26c6cf=this[_0x52051f(0x14c)][_0x52051f(0x1a6)][_0x52051f(0x12f)][_0x52051f(0xb4)](_0x2ffe92);if(!this[_0x52051f(0xd5)][_0x52051f(0x109)](_0x2ffe92)){const _0x6bae08=_0x2ff01d&&_0x2ff01d[_0x52051f(0x155)]?_0x2ff01d[_0x52051f(0x155)]:'',_0x1e77e9=_0x2ff01d&&_0x2ff01d[_0x52051f(0xed)]?_0x2ff01d[_0x52051f(0xed)]:{};await this[_0x52051f(0x13d)](_0x2ffe92,_0x6bae08,_0x1e77e9);}this[_0x52051f(0x14c)][_0x52051f(0x1a6)][_0x52051f(0x165)]({'isUndoable':!0x1},()=>{const _0x1ed005=_0x52051f;_0x26c6cf[_0x1ed005(0x141)]=!0x0,this[_0x1ed005(0x14c)][_0x1ed005(0x1a6)][_0x1ed005(0x12f)][_0x1ed005(0x167)][_0x1ed005(0x161)](_0x26c6cf);});},{'priority':_0x28bd2b(0x17d)});}async[_0x3aae05(0xeb)](_0x2015f7){const _0x292aa8=_0x3aae05,_0x43941e=this[_0x292aa8(0x14c)][_0x292aa8(0x190)][_0x292aa8(0x175)](_0x5159f1),{connection:_0x474fd5}=this[_0x292aa8(0x14c)][_0x292aa8(0x190)][_0x292aa8(0x175)](_0x39f35a),_0x723ee6=new Set();for(const _0x417a27 of _0x2015f7){const _0x1b42c3=_0x417a27[_0x292aa8(0x176)];_0x1b42c3&&!_0x43941e[_0x292aa8(0xf3)](_0x1b42c3)&&_0x723ee6[_0x292aa8(0x19d)](_0x1b42c3);}if(0x0===_0x723ee6[_0x292aa8(0x186)])return;const _0x23b008=await _0x5c94ad[_0x292aa8(0x115)](_0x474fd5,Array[_0x292aa8(0x126)](_0x723ee6));for(const _0x7e0944 of _0x23b008)_0x43941e[_0x292aa8(0xf3)](_0x7e0944['id'])||_0x43941e[_0x292aa8(0x174)](_0x7e0944);}[_0x3aae05(0xc1)](_0x375d05,_0xc01ce={}){const _0x38204f=_0x3aae05,_0x50b1c2=this[_0x38204f(0x14c)][_0x38204f(0x1a6)],_0x19a845=[];let _0x8132e9=0x0;const _0x1fd38b=_0x38204f(0x1b0)==typeof _0x375d05?{'main':_0x375d05}:_0x375d05;for(const _0x3872dd of Object[_0x38204f(0x1a0)](_0x1fd38b)){if(!this[_0x38204f(0x113)][_0x38204f(0x1a7)][_0x38204f(0x109)](_0x3872dd))throw new _0x459c11(_0x38204f(0x17f),this);const _0xb47ee4=this[_0x38204f(0x14c)][_0x38204f(0x155)][_0x38204f(0xde)](_0x1fd38b[_0x3872dd]),_0x65fe06=this[_0x38204f(0x113)][_0x38204f(0xb4)](_0x3872dd),_0x451e6d=new _0x3dc9f1(_0x50b1c2[_0x38204f(0x10c)](_0x65fe06,0x0),_0xb47ee4,_0x8132e9++);_0x19a845[_0x38204f(0x17a)](_0x451e6d);for(const [_0x53d53d,_0x544638]of _0xb47ee4[_0x38204f(0x140)]){const _0x2fa710=_0x50b1c2[_0x38204f(0xd8)](_0x50b1c2[_0x38204f(0x169)](_0x65fe06,_0x544638[_0x38204f(0xdc)][_0x38204f(0x168)][_0x38204f(0x159)]()),_0x50b1c2[_0x38204f(0x169)](_0x65fe06,_0x544638[_0x38204f(0x151)][_0x38204f(0x168)][_0x38204f(0x159)]())),_0x5616d2=new _0x5da2a5(_0x53d53d,null,_0x2fa710,_0x50b1c2[_0x38204f(0x140)],!0x0,_0x8132e9++);_0x19a845[_0x38204f(0x17a)](_0x5616d2);}}if(_0xc01ce)for(const [_0x30df63,_0x472b71]of Object[_0x38204f(0x152)](_0xc01ce)){const _0x472eb2=_0x50b1c2[_0x38204f(0x12f)][_0x38204f(0xb4)](_0x30df63);if(!_0x472eb2)throw new _0x459c11(_0x38204f(0x13e),null);for(const [_0x49a1c2,_0x55f3ae]of Object[_0x38204f(0x152)](_0x472b71))if(null!==_0x55f3ae){const _0xb18792=new _0x158e0d(_0x472eb2,_0x49a1c2,null,_0x55f3ae,_0x8132e9++);_0x19a845[_0x38204f(0x17a)](_0xb18792);}}return _0x19a845;}async[_0x3aae05(0x13d)](_0x2b6d0e,_0x4d76e2,_0x4f4942){const _0x2671f5=_0x3aae05;this[_0x2671f5(0xc1)]({[_0x2b6d0e]:_0x4d76e2},{[_0x2b6d0e]:_0x4f4942})[_0x2671f5(0x15e)]((_0x3d780c,_0x584e61)=>{const _0x21f02c=_0x2671f5;_0x3d780c[_0x21f02c(0xcb)]=this[_0x21f02c(0x113)][_0x21f02c(0x118)]+_0x584e61,_0x3d780c[_0x21f02c(0x12d)]=!0x0,this[_0x21f02c(0x107)](_0x3d780c);}),this[_0x2671f5(0xca)](),await this[_0x2671f5(0x119)]();}async[_0x3aae05(0xe2)](_0x6661,_0x542a27){const _0x3e4305=_0x3aae05;let _0x3b545c;this[_0x3e4305(0x10a)]=_0x6661[_0x3e4305(0x158)];const _0x2935d3=_0x6661[_0x3e4305(0x1ac)]&&!_0x6661[_0x3e4305(0x194)],_0x3f1dca=_0x2935d3?0x0:_0x6661[_0x3e4305(0x155)][_0x3e4305(0xcb)];if(_0x542a27[_0x3e4305(0x15e)](_0x262456=>{const _0x10cdd3=_0x3e4305;_0x262456[_0x10cdd3(0x12d)]=!0x0,_0x262456[_0x10cdd3(0x146)]=_0x6661[_0x10cdd3(0xd4)],_0x262456[_0x10cdd3(0x176)]=null;}),_0x2935d3)_0x3b545c=_0x542a27,this[_0x3e4305(0xe6)](_0x3b545c,_0x2935d3);else{if(_0x6661[_0x3e4305(0x194)]){const _0x3418e1=this[_0x3e4305(0xc1)](_0x6661[_0x3e4305(0x194)]);this[_0x3e4305(0x113)][_0x3e4305(0xe0)][_0x3e4305(0x118)]=-_0x3418e1[_0x3e4305(0xb1)],_0x3418e1[_0x3e4305(0x15e)](_0x5f3ff7=>{const _0x355686=_0x3e4305;_0x5f3ff7[_0x355686(0xcb)]-=_0x3418e1[_0x355686(0xb1)],_0x5f3ff7[_0x355686(0x146)]=_0x6661[_0x355686(0xd4)],_0x5f3ff7[_0x355686(0x12d)]=!0x0,_0x5f3ff7[_0x355686(0x176)]=null;}),this[_0x3e4305(0xe6)](_0x3418e1,!0x0),this[_0x3e4305(0x112)][_0x3e4305(0x118)]=-_0x3418e1[_0x3e4305(0xb1)]+this[_0x3e4305(0x10a)],this[_0x3e4305(0xf2)](_0x3418e1);}this[_0x3e4305(0x113)][_0x3e4305(0xe0)][_0x3e4305(0x118)]=_0x3f1dca,_0x3b545c=this[_0x3e4305(0x1b1)](_0x6661[_0x3e4305(0x155)],_0x6661[_0x3e4305(0x1aa)]),await this[_0x3e4305(0xeb)](_0x3b545c),this[_0x3e4305(0xe6)](_0x3b545c,_0x2935d3);}_0x6661[_0x3e4305(0x137)]&&(this[_0x3e4305(0x14d)][_0x3e4305(0x103)](_0x3b545c,_0x6661[_0x3e4305(0x137)]),this[_0x3e4305(0x197)]=_0x6661[_0x3e4305(0x137)]),this[_0x3e4305(0x112)][_0x3e4305(0x118)]=_0x3f1dca+this[_0x3e4305(0x10a)],this[_0x3e4305(0xf2)](_0x3b545c),_0x542a27[_0x3e4305(0x114)](_0x5d615b=>{const _0x365f1b=_0x3e4305,_0x140275=this[_0x365f1b(0xf5)](_0x5d615b);return _0x140275&&!this[_0x365f1b(0xd5)][_0x365f1b(0x109)](_0x140275);})[_0x3e4305(0x15e)]((_0xd18ea0,_0x1bbe9d)=>{const _0x29e016=_0x3e4305;_0xd18ea0[_0x29e016(0xcb)]=this[_0x29e016(0x113)][_0x29e016(0x118)]+_0x1bbe9d,this[_0x29e016(0x107)](_0xd18ea0);}),this[_0x3e4305(0x16f)]()?(this[_0x3e4305(0xc6)]=0x0,this[_0x3e4305(0xca)](!0x0),await this[_0x3e4305(0x119)]()):(this[_0x3e4305(0x181)]=!0x1,this[_0x3e4305(0x10d)]());}[_0x3aae05(0xfe)](_0x191e0f,_0x27e2b8){const _0x46e351=_0x3aae05,_0x6ecb2b=_0x27e2b8&&_0x27e2b8[_0x46e351(0xce)];if(_0x6ecb2b&&_0x6ecb2b[_0x46e351(0xfc)](_0x46e351(0x1b6)))throw _0x27e2b8;const _0x25440f=this[_0x46e351(0x14c)][_0x46e351(0x190)][_0x46e351(0x175)](_0x39f35a);throw this[_0x46e351(0x181)]=!0x0,_0x25440f[_0x46e351(0x170)](),this[_0x46e351(0x14c)][_0x46e351(0xe9)](_0x46e351(0x1b3)),new _0x459c11(_0x191e0f,this[_0x46e351(0x14c)],_0x6ecb2b?{'originalError':_0x6ecb2b}:void 0x0);}[_0x3aae05(0x107)](_0x4575e){const _0x2f0274=_0x3aae05;this[_0x2f0274(0xf8)][_0x2f0274(0x109)](_0x4575e)||(this[_0x2f0274(0xf8)][_0x2f0274(0x19d)](_0x4575e),this[_0x2f0274(0xc4)][_0x2f0274(0x17a)](_0x4575e),this[_0x2f0274(0x1a3)]||_0x2f0274(0xc9)==_0x4575e[_0x2f0274(0x1a1)]&&!_0x4575e[_0x2f0274(0x139)]||this[_0x2f0274(0xd3)]());}[_0x3aae05(0xca)](_0x5f2218=!0x1){const _0x6ebd87=_0x3aae05;!_0x5f2218&&this[_0x6ebd87(0x181)]||(this[_0x6ebd87(0x181)]=!0x0,clearTimeout(this[_0x6ebd87(0x144)]),this[_0x6ebd87(0x144)]=setTimeout(()=>{const _0x5e748d=_0x6ebd87;this[_0x5e748d(0x18c)]()[_0x5e748d(0xfa)](_0x2f7035=>{const _0x1ecd8a=_0x5e748d;_0x2f7035&&(this[_0x1ecd8a(0x10d)](),this[_0x1ecd8a(0x181)]=!0x1);})[_0x5e748d(0x11c)](_0x3a5879=>{const _0x2b8ed9=_0x5e748d;this[_0x2b8ed9(0x10d)](),this[_0x2b8ed9(0x181)]=!0x1,function(_0xd48cd9){const _0x44791b=_0x2b8ed9;return _0xd48cd9[_0x44791b(0xce)][_0x44791b(0xfc)](_0x44791b(0xe8))||_0xd48cd9[_0x44791b(0xce)][_0x44791b(0xfc)](_0x44791b(0xd7))||_0xd48cd9[_0x44791b(0xce)][_0x44791b(0xfc)](_0x44791b(0x13f));}(_0x3a5879)||this[_0x2b8ed9(0xfe)](_0x3a5879[_0x2b8ed9(0xce)],_0x3a5879);});},this[_0x6ebd87(0xc6)]));}[_0x3aae05(0x119)](){return new Promise(_0x40967c=>{const _0x1c8014=_0x13e1;this['on'](_0x1c8014(0xbd),()=>{_0x40967c();});});}async[_0x3aae05(0x18c)](){const _0x45f6bc=_0x3aae05,_0x511b11=this[_0x45f6bc(0x14c)][_0x45f6bc(0x190)][_0x45f6bc(0x175)](_0x2ab935);if(this[_0x45f6bc(0x13c)]()&&(_0x511b11[_0x45f6bc(0x11a)](),this[_0x45f6bc(0x1a8)]=!0x1),!this[_0x45f6bc(0x16f)]())return!0x0;const _0x39ad94=[...this[_0x45f6bc(0xc4)]];for(const _0x49761b of _0x39ad94)_0x49761b[_0x45f6bc(0x19f)]=this[_0x45f6bc(0x113)][_0x45f6bc(0xe0)][_0x45f6bc(0x15f)](_0x49761b);const _0x582ca7=this[_0x45f6bc(0x14d)][_0x45f6bc(0xb0)](_0x39ad94),_0x178257=Q++,_0x20f8a3=this[_0x45f6bc(0x149)](_0x39ad94),_0x5b05fe=await this[_0x45f6bc(0x153)][_0x45f6bc(0x135)](_0x20f8a3,_0x20f8a3[_0x45f6bc(0xcb)],_0x582ca7);try{return await this[_0x45f6bc(0x138)](_0x39ad94,_0x5b05fe,_0x178257);}catch(_0x6ad1ee){return this[_0x45f6bc(0xfe)](_0x45f6bc(0xee),_0x6ad1ee);}}async[_0x3aae05(0x138)](_0x1bb18f,_0x3c679e,_0x5147be){const _0x1250df=_0x3aae05;if(_0x1250df(0x191)in _0x3c679e)throw _0x3c679e[_0x1250df(0x191)];let _0x512465=!0x1;if(_0x3c679e[_0x1250df(0x1ac)]){_0x3c679e[_0x1250df(0x137)]&&(this[_0x1250df(0x197)]=_0x3c679e[_0x1250df(0x137)]),this[_0x1250df(0xc4)]=this[_0x1250df(0xc4)][_0x1250df(0x114)](_0x155dce=>!_0x1bb18f[_0x1250df(0x123)](_0x155dce));for(const _0x58368f of _0x1bb18f)_0x58368f[_0x1250df(0x146)]=_0x1250df(0x156)in _0x3c679e&&_0x3c679e[_0x1250df(0x156)]||void 0x0;Y(_0x1bb18f,_0x3c679e[_0x1250df(0x118)]-_0x1bb18f[_0x1250df(0xb1)]),this[_0x1250df(0xf2)](_0x1bb18f);const _0x13a18c=_0x1bb18f[_0x1250df(0x114)](_0x2d9ed1=>{const _0x2192bf=_0x1250df;if(!_0x2d9ed1[_0x2192bf(0x12d)])return!0x1;const _0x1986e1=this[_0x2192bf(0xf5)](_0x2d9ed1);return _0x1986e1&&!this[_0x2192bf(0xd5)][_0x2192bf(0x109)](_0x1986e1);});Y(_0x13a18c,this[_0x1250df(0x113)][_0x1250df(0x118)]),this[_0x1250df(0xe6)](_0x13a18c),_0x512465=!0x0,this[_0x1250df(0xc6)]=this[_0x1250df(0xfb)];}else{const _0x55dc12=this[_0x1250df(0x1b1)](_0x3c679e[_0x1250df(0x155)],_0x3c679e[_0x1250df(0x1aa)])[_0x1250df(0x114)](_0xcbf303=>_0xcbf303[_0x1250df(0xcb)]>=this[_0x1250df(0xc3)]);_0x55dc12[_0x1250df(0x15e)](_0x44656c=>this[_0x1250df(0x132)](_0x44656c)),this[_0x1250df(0xc4)]=this[_0x1250df(0xc4)][_0x1250df(0x114)](_0x3fc30c=>!_0x3fc30c[_0x1250df(0x12d)]||!this[_0x1250df(0xd5)][_0x1250df(0x109)](this[_0x1250df(0xf5)](_0x3fc30c))),this[_0x1250df(0xc4)][_0x1250df(0xb1)]&&Y(this[_0x1250df(0xc4)],this[_0x1250df(0xc4)][0x0][_0x1250df(0xcb)]),await this[_0x1250df(0xeb)](_0x55dc12),_0x512465=this[_0x1250df(0xb6)](_0x55dc12,_0x3c679e[_0x1250df(0x118)],_0x3c679e[_0x1250df(0x137)]),this[_0x1250df(0xc6)]=Math[_0x1250df(0xe3)](this[_0x1250df(0xc6)]/0x2);}return _0x512465?!this[_0x1250df(0x16f)]()||(this[_0x1250df(0xca)](!0x0),!0x1):this[_0x1250df(0xfe)](_0x1250df(0x177));}[_0x3aae05(0xb6)](_0x253f6f,_0x34cb0a,_0x60cae3){const _0x49dbd3=_0x3aae05;try{const _0x7a76b6={'document':this[_0x49dbd3(0x113)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x206e30,operationsB:_0x5648e1,originalOperations:_0x2bedb3}=_0x24d92f(_0x253f6f,this[_0x49dbd3(0xc4)],_0x7a76b6);Y(_0x206e30,this[_0x49dbd3(0x113)][_0x49dbd3(0x118)]),Y(_0x5648e1,_0x34cb0a);for(const _0x170cd7 of _0x206e30){const _0x3279b5=_0x2bedb3[_0x49dbd3(0x175)](_0x170cd7);_0x170cd7[_0x49dbd3(0x176)]=_0x3279b5?_0x3279b5[_0x49dbd3(0x176)]:null;}_0x60cae3&&(this[_0x49dbd3(0x14d)][_0x49dbd3(0x103)](_0x253f6f,_0x60cae3),this[_0x49dbd3(0x197)]=_0x60cae3),this[_0x49dbd3(0xc4)]=[..._0x5648e1],this[_0x49dbd3(0xe6)](_0x206e30),this[_0x49dbd3(0xf2)](_0x253f6f);}catch(_0x3f7d99){return console[_0x49dbd3(0x191)](_0x3f7d99),!0x1;}return!0x0;}[_0x3aae05(0xe6)](_0x305f35,_0x4bf753=!0x1){const _0xc0cff6=_0x3aae05;this[_0xc0cff6(0x14c)][_0xc0cff6(0x1a6)][_0xc0cff6(0x165)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5e98ef=>{const _0x13d51f=_0xc0cff6;for(const _0x1b9f70 of _0x305f35)this[_0x13d51f(0xf8)][_0x13d51f(0x19d)](_0x1b9f70),this[_0x13d51f(0x132)](_0x1b9f70),_0x5e98ef[_0x13d51f(0x198)][_0x13d51f(0x11f)](_0x1b9f70),this[_0x13d51f(0x14c)][_0x13d51f(0x1a6)][_0x13d51f(0x19a)](_0x1b9f70);});}[_0x3aae05(0x132)](_0xbd7ada){const _0x49ee6e=_0x3aae05,_0x2d59c5=this[_0x49ee6e(0xf5)](_0xbd7ada);_0x2d59c5&&this[_0x49ee6e(0xd5)][_0x49ee6e(0x19d)](_0x2d59c5);}[_0x3aae05(0xf5)](_0x33c82f){const _0x220213=_0x3aae05;let _0x47ae5f,_0x935169;switch(_0x33c82f[_0x220213(0x1a1)]){case _0x220213(0x16d):_0x47ae5f=_0x33c82f[_0x220213(0x145)][_0x220213(0xf6)];break;case _0x220213(0xc9):if(_0x935169=_0x33c82f[_0x220213(0x182)],!_0x935169)return null;_0x47ae5f=_0x935169[_0x220213(0xf6)];break;case _0x220213(0x14f):_0x47ae5f=_0x33c82f[_0x220213(0xf6)];break;case _0x220213(0x15a):_0x47ae5f=_0x33c82f[_0x220213(0x101)];break;case _0x220213(0x122):_0x47ae5f=_0x33c82f[_0x220213(0xd2)][_0x220213(0xf6)];break;default:return null;}return _0x47ae5f[_0x220213(0x130)];}[_0x3aae05(0xf2)](_0x5db553){const _0x41f4d8=_0x3aae05;_0x5db553[_0x41f4d8(0x15e)](_0x3be993=>{const _0x1b43ac=_0x41f4d8,_0xf9a918=_0x3be993[_0x1b43ac(0x179)]();_0xf9a918[_0x1b43ac(0x176)]=_0x3be993[_0x1b43ac(0x176)],_0xf9a918[_0x1b43ac(0x12d)]=!!_0x3be993[_0x1b43ac(0x12d)],_0xf9a918[_0x1b43ac(0x146)]=_0x3be993[_0x1b43ac(0x146)],_0xf9a918[_0x1b43ac(0xcb)]+=this[_0x1b43ac(0x10a)],_0x3be993[_0x1b43ac(0x16e)]&&this[_0x1b43ac(0x147)][_0x1b43ac(0x19d)](_0xf9a918),this[_0x1b43ac(0x112)][_0x1b43ac(0x11f)](_0xf9a918);});}[_0x3aae05(0x1b2)](_0x7bb7f1){const _0x55f211=_0x3aae05,_0x35b699=this[_0x55f211(0x14c)][_0x55f211(0x190)][_0x55f211(0x175)](_0x55f211(0x1a4)),_0x4c86f5=this[_0x55f211(0x14c)][_0x55f211(0x12e)];_0x7bb7f1||(_0x7bb7f1=_0x100d42(_0x4c86f5,_0x55f211(0x14e))),_0x35b699[_0x55f211(0x1b4)](_0x7bb7f1,{'title':_0x100d42(_0x4c86f5,_0x55f211(0x15c)),'namespace':_0x55f211(0x189)}),this[_0x55f211(0x157)]=!0x0,clearTimeout(this[_0x55f211(0x144)]),this[_0x55f211(0xc4)]=[],this[_0x55f211(0x14c)][_0x55f211(0x190)][_0x55f211(0x175)](_0x39f35a)[_0x55f211(0x170)]();}[_0x3aae05(0xd3)](){const _0x5b0a98=_0x3aae05;this[_0x5b0a98(0x1a3)]||(this[_0x5b0a98(0x1a3)]=this[_0x5b0a98(0x14c)][_0x5b0a98(0x190)][_0x5b0a98(0x175)](_0x426c8a)[_0x5b0a98(0x19d)](_0x100d42(this[_0x5b0a98(0x14c)][_0x5b0a98(0x12e)],_0x5b0a98(0xb7))));}[_0x3aae05(0x10d)](){const _0x5348cc=_0x3aae05;this[_0x5348cc(0x1a3)]&&(this[_0x5348cc(0x14c)][_0x5348cc(0x190)][_0x5348cc(0x175)](_0x426c8a)[_0x5348cc(0xb8)](this[_0x5348cc(0x1a3)]),this[_0x5348cc(0x1a3)]=null);}[_0x3aae05(0x149)](_0x483a4c){const _0x507b3c=_0x3aae05,_0x319978=_0x483a4c[_0x507b3c(0x172)](_0x5dd774=>_0x5dd774[_0x507b3c(0x129)]());return this[_0x507b3c(0xdd)][_0x507b3c(0x162)](_0x319978);}[_0x3aae05(0x1b1)](_0x5bdb7c,_0x626a87){const _0x5ddc34=_0x3aae05;return this[_0x5ddc34(0xdd)][_0x5ddc34(0xe5)](_0x5bdb7c)[_0x5ddc34(0x172)]((_0x503e8e,_0x8cee98)=>{const _0x5c2dfa=_0x5ddc34,_0x523809=_0x5c2dfa(0xc2)==_0x626a87[_0x8cee98][_0x5c2dfa(0x1a1)];if(_0x5c2dfa(0x133)==_0x503e8e[_0x5c2dfa(0x11d)]){const _0x154633=_0x503e8e[_0x5c2dfa(0x145)][_0x5c2dfa(0xf6)];!this[_0x5c2dfa(0x113)][_0x5c2dfa(0xb4)](_0x154633)&&(this[_0x5c2dfa(0x113)][_0x5c2dfa(0x18b)](_0x5c2dfa(0xcd),_0x154633)[_0x5c2dfa(0xb3)]=!0x1);}const _0x233234=_0x1137fb[_0x5c2dfa(0xf9)](_0x503e8e,this[_0x5c2dfa(0x113)]);return _0x233234[_0x5c2dfa(0x19f)]=_0x503e8e[_0x5c2dfa(0x19f)],_0x233234[_0x5c2dfa(0x12d)]=_0x523809,_0x233234[_0x5c2dfa(0x176)]=_0x523809?null:_0x626a87[_0x8cee98][_0x5c2dfa(0x104)],_0x233234[_0x5c2dfa(0x16e)]=_0x5c2dfa(0x1a2)===_0x626a87[_0x8cee98][_0x5c2dfa(0x1a1)],_0x233234[_0x5c2dfa(0x146)]=_0x626a87[_0x8cee98][_0x5c2dfa(0x146)],_0x233234;});}[_0x3aae05(0x13a)](){const _0x51174c=_0x3aae05;this[_0x51174c(0x1a8)]=!0x0,this[_0x51174c(0x13c)]()?this[_0x51174c(0xca)]():this[_0x51174c(0x1a8)]=!0x1;}[_0x3aae05(0x13c)](){const _0x430fa2=_0x3aae05,_0x5458f6=this[_0x430fa2(0x14c)][_0x430fa2(0x190)][_0x430fa2(0x175)](_0x39fe52)[_0x430fa2(0x131)][_0x430fa2(0x175)](this[_0x430fa2(0x11e)]);return!this[_0x430fa2(0x14c)][_0x430fa2(0x121)]&&!!_0x5458f6&&_0x5458f6[_0x430fa2(0xb1)]>0x1&&this[_0x430fa2(0x1a8)];}[_0x3aae05(0x16f)](){const _0x340a3e=_0x3aae05;return this[_0x340a3e(0xc4)][_0x340a3e(0xb1)]>0x0||this[_0x340a3e(0x13c)]();}}class X extends Error{}function _0x253b(){const _0x325c93=['cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createRange','_setUpDataInit','state','pluginName','start','_compressor','parse','realtimecollaborationclient-init-session-connection-error','history','apply','_handleInitialConnectionData','round','directChange','decompress','_applyOperationsSet','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','enableReadOnlyMode','87akZdCD','_fetchMissingUsers','44300kbJDKT','attributes','realtimecollaborationclient-sendbufferedoperations','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','addToReconnectionStack','_updateServerHistory','getUser','404','_getAffectedRoot','root','unregister','_knownOperations','fromJSON','then','_baseBufferDelay','startsWith','isDocumentOperation','_crash','16720SBRjep','loadRoot','affectedSelectable','getDocumentDetails','setIdForTheLastOperation','userId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','CollaborativeEditingService','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','has','_offset','_initSessionsHandling','createPositionAt','_clearPendingAction','listenTo','off','connected','collaboration','serverHistory','_document','filter','getMany','bind','fire','version','_waitUntilSynced','createUserMarkerOperations','_isConnected','catch','__className','_channelId','addOperation','118853HIxVgR','isReadOnly','move','includes','finally','register','from','16449756yMbdtW','_connectService','toJSON','15448kNTiNz','ready','sessionAdd:','_isInit','locale','document','rootName','channelSessions','_addKnownRoot','InsertOperation','collaboration-missing-channelid','sendOperations','sessionId','lastOperationId','_handleServerResponse','affectsData','_refreshUserSelectionMarkers','define','_shouldSendSelectionUpdate','_loadRoot','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Request\x20timeout.','markers','_isLoaded','_handleSendingSelectionMarkers','Permissions','_sendBufferedOperationsDelayId','position','createdAt','_disconnectionOperations','lastSyncVersion','_compressOperations','destroy','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editor','_operationIdentifier','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRootAttribute','change:hasDomSelection','end','entries','_service','stopListening','data','lastOperationAcceptedAt','_hasSynchronizationProblem','offset','slice','addRoot','connection','Synchronization\x20issue','stop','forEach','isUndoneOperation','requires','_bufferRootLoad','compress','isEnabled','_handleReceivedOperations','enqueueChange','isPremiumPlugin','differ','path','createPositionFromPath','currentDocumentSession','disconnected','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','insert','_isDisconnection','_shouldSendUpdate','disconnect','code','map','removeFromReconnectionStack','addUser','get','_authorId','realtimecollaborationclient-handleserverresponse','_operationToId','clone','push','cloudServices.bundleVersion','mySessionId','high','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-non-existent-root','_connectAfterSessionHasBeenFlushed','_isPendingUpdate','newRange','getOperationAuthor','permissions','setPermissions','size','reconnection:\x20flushed\x20session','editing','real-time-collaboration','getOperations','createRoot','_sendBufferedOperations','reconnect','CommentsOnly','realtimecollaborationclient-init-service-internal-error','plugins','error','308SpDNuF','rtc-offline','initData','operationsReceived','document:write','_lastSyncedOperationId','batch','_disconnectService','applyOperation','_initThrowingOnDataSet','4266YMcwMO','add','3404660zroXBx','wasUndone','keys','type','cs:removeUser','_pendingAction','Notification','view','model','roots','_hasSelectionChanged','return','metadata','66sEFNjG','wereChangesApplied','_handleReconnectionResponse','change:_isEditingAllowed','isOfficialPlugin','string','_decompressOperations','_handleReconnectionError','realtimecollaborationclient-error','showWarning','collaboration.channelId','realtimecollaborationclient','RealTimeCollaborationClient','getIdOfTheLastOperation','length','connect','_isAttached','getRoot','409','_handleExternalOperations','PENDING_ACTION_SENDING_DATA','remove','reset','getConnectedSessions','1JIoIJr','set','change:_isPendingUpdate','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.','rtc-destroyed','_isEditingAllowed','_getOperationsFromInitData','init','_lastServerVersion','_bufferedOperations','change:range','_currentBufferDelay','rootsAttributes','_ignoredOperations','marker','_sendBufferedOperationsDelayed','baseVersion','config','$root','message','lastDocumentSession','suppressErrorInCollaboration','selection','targetPosition','_setPendingAction','sessionCreatedAt','_knownRootNames','1355126WaWHkr'];_0x253b=function(){return _0x325c93;};return _0x253b();}function Y(_0x362848,_0x43a178){const _0x517520=_0x3aae05;for(const _0x3d2e35 of _0x362848)_0x3d2e35[_0x517520(0xcb)]=_0x43a178++;}class Z{[_0x3aae05(0xc8)];[_0x3aae05(0x178)];constructor(_0x3f4f9c){const _0xa525b4=_0x3aae05;this[_0xa525b4(0xc8)]=_0x3f4f9c,this[_0xa525b4(0x178)]=new WeakMap();}[_0x3aae05(0xb0)](_0x3e3a50){const _0x49ea70=_0x3aae05;let _0x170b8c=_0x3e3a50[_0x49ea70(0xb1)];for(;_0x170b8c--;){const _0x17d398=_0x3e3a50[_0x170b8c];if(!this[_0x49ea70(0xc8)][_0x49ea70(0x109)](_0x17d398)){if(!this[_0x49ea70(0x178)][_0x49ea70(0x109)](_0x17d398)){const _0x131903=_0x1b2700()[_0x49ea70(0x159)](0x1,0x12);this[_0x49ea70(0x178)][_0x49ea70(0xbc)](_0x17d398,_0x131903);}return this[_0x49ea70(0x178)][_0x49ea70(0x175)](_0x17d398);}}}[_0x3aae05(0x103)](_0x28a980,_0x22be11){const _0x516e14=_0x3aae05;if(!_0x22be11)return;let _0x238d76=_0x28a980[_0x516e14(0xb1)];for(;_0x238d76--;){const _0x4e9a71=_0x28a980[_0x238d76];this[_0x516e14(0xc8)][_0x516e14(0x109)](_0x4e9a71)||this[_0x516e14(0x178)][_0x516e14(0xbc)](_0x4e9a71,_0x22be11);}}}
23
+ const _0xc70820=_0x37d1;(function(_0x115cfc,_0x4b0901){const _0x4d6b3f=_0x37d1,_0x16dc62=_0x115cfc();while(!![]){try{const _0x2315fc=parseInt(_0x4d6b3f(0x1d4))/0x1+parseInt(_0x4d6b3f(0x1ff))/0x2*(parseInt(_0x4d6b3f(0x20b))/0x3)+parseInt(_0x4d6b3f(0x25b))/0x4*(parseInt(_0x4d6b3f(0x2bf))/0x5)+-parseInt(_0x4d6b3f(0x263))/0x6*(parseInt(_0x4d6b3f(0x292))/0x7)+-parseInt(_0x4d6b3f(0x2c7))/0x8*(-parseInt(_0x4d6b3f(0x26d))/0x9)+-parseInt(_0x4d6b3f(0x1f1))/0xa+-parseInt(_0x4d6b3f(0x26f))/0xb;if(_0x2315fc===_0x4b0901)break;else _0x16dc62['push'](_0x16dc62['shift']());}catch(_0x8d448e){_0x16dc62['push'](_0x16dc62['shift']());}}}(_0x4497,0xe07b2));import{Plugin as _0x51cc96,PendingActions as _0x231216}from'ckeditor5/src/core.js';import{CKEditorError as _0x316eb9,version as _0x5b908a,uid as _0x53ec91}from'ckeditor5/src/utils.js';import{Notification as _0x411551}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x1ad7cc,NoOperation as _0x3e78fa,InsertOperation as _0x1ef410,MarkerOperation as _0x50a293,RootAttributeOperation as _0x455524,OperationFactory as _0x1e9177,History as _0x2edee0}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4220bc}from'./websocketgateway.js';import{Sessions as _0x32076f}from'./sessions.js';import{UserMarkers as _0x352f56}from'./usermarkers.js';import{getTranslation as _0x158304}from'../common-translations.js';import{Compressor as _0x37c28a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x7dbe1c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4407af,CollaborativeEditingService as _0x37df7f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x51cc96{static [_0xc70820(0x2b6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x37df7f)());[_0xc70820(0x26c)];[_0xc70820(0x276)];[_0xc70820(0x1cb)];[_0xc70820(0x29b)];[_0xc70820(0x1e0)];[_0xc70820(0x20d)];[_0xc70820(0x29e)];[_0xc70820(0x1d6)];[_0xc70820(0x262)];[_0xc70820(0x1c7)];[_0xc70820(0x2af)];[_0xc70820(0x24b)];[_0xc70820(0x1dd)];[_0xc70820(0x1fa)];[_0xc70820(0x251)];[_0xc70820(0x202)];[_0xc70820(0x2a1)];[_0xc70820(0x223)];static get[_0xc70820(0x22b)](){return[_0x4220bc,_0x32076f,_0x352f56,_0x231216,_0x7dbe1c,_0x411551];}static get[_0xc70820(0x230)](){const _0x4cedab=_0xc70820;return _0x4cedab(0x23c);}static get[_0xc70820(0x264)](){return!0x0;}static get[_0xc70820(0x28b)](){return!0x0;}get[_0xc70820(0x20e)](){const _0x1c88e1=_0xc70820;return this[_0x1c88e1(0x234)]+this[_0x1c88e1(0x26c)];}get[_0xc70820(0x234)](){const _0x37fb6d=_0xc70820;return this[_0x37fb6d(0x1cb)][_0x37fb6d(0x240)]-this[_0x37fb6d(0x26c)];}get[_0xc70820(0x2a8)](){const _0x70f6d3=_0xc70820,_0x11e143=this[_0x70f6d3(0x1cb)][_0x70f6d3(0x22d)]();for(let _0x4b4435=_0x11e143[_0x70f6d3(0x2ba)]-0x1;_0x4b4435>=0x0;_0x4b4435--){const _0x1fb212=_0x11e143[_0x4b4435];if(!this[_0x70f6d3(0x2a1)][_0x70f6d3(0x227)](_0x1fb212))return _0x1fb212[_0x70f6d3(0x297)]+0x1-this[_0x70f6d3(0x26c)];}return 0x0;}constructor(_0x1ba0cb){const _0x5ca52a=_0xc70820;if(super(_0x1ba0cb),this[_0x5ca52a(0x26c)]=0x0,this[_0x5ca52a(0x276)]=null,this[_0x5ca52a(0x1cb)]=new _0x2edee0(),this[_0x5ca52a(0x24a)][_0x5ca52a(0x2bc)][_0x5ca52a(0x273)](_0x5ca52a(0x1ed),{}),this[_0x5ca52a(0x29b)]=this[_0x5ca52a(0x24a)][_0x5ca52a(0x2bc)][_0x5ca52a(0x1e2)](_0x5ca52a(0x2bd)),!this[_0x5ca52a(0x29b)])throw new _0x316eb9(_0x5ca52a(0x25a),this);const _0x396e02=_0x1ba0cb[_0x5ca52a(0x2bc)][_0x5ca52a(0x1e2)](_0x5ca52a(0x1cc))||_0x5b908a;this[_0x5ca52a(0x1e0)]=new RealTimeCollaborationClient[(_0x5ca52a(0x2b6))](_0x396e02,this[_0x5ca52a(0x29b)]),this[_0x5ca52a(0x20d)]=this[_0x5ca52a(0x24a)][_0x5ca52a(0x1f4)][_0x5ca52a(0x28c)],this[_0x5ca52a(0x29e)]=new _0x37c28a(),this[_0x5ca52a(0x1d6)]=[],this[_0x5ca52a(0x262)]=new WeakSet(),this[_0x5ca52a(0x1c7)]=new Set(),this[_0x5ca52a(0x2c9)](_0x5ca52a(0x1e8),!0x1),this[_0x5ca52a(0x2c9)](_0x5ca52a(0x2c4),!0x1),this[_0x5ca52a(0x2af)]=null,this[_0x5ca52a(0x24b)]=!0x1,this[_0x5ca52a(0x1dd)]=null,this[_0x5ca52a(0x1fa)]=0x12c,this[_0x5ca52a(0x251)]=this[_0x5ca52a(0x1fa)],this[_0x5ca52a(0x202)]=null,this[_0x5ca52a(0x2a1)]=new WeakSet(),this[_0x5ca52a(0x223)]=new F(this[_0x5ca52a(0x2a1)]);}[_0xc70820(0x1f9)](){const _0x37a95e=_0xc70820,_0x2cf213=this[_0x37a95e(0x24a)],_0x8c83ce=_0x2cf213[_0x37a95e(0x1e5)][_0x37a95e(0x1e2)](_0x7dbe1c),_0x540e01=_0x2cf213[_0x37a95e(0x1e5)][_0x37a95e(0x1e2)](_0x4220bc);this[_0x37a95e(0x270)](_0x8c83ce,_0x37a95e(0x26a),(_0x2f3937,_0xd2aae9)=>{const _0x12ddfa=_0x37a95e,_0x4e1ddc=_0xd2aae9[0x0];_0x4e1ddc[_0x12ddfa(0x215)]&&(_0x2f3937[_0x12ddfa(0x27e)]=_0x8c83ce[_0x12ddfa(0x248)](_0x4e1ddc[_0x12ddfa(0x215)]),_0x2f3937[_0x12ddfa(0x24c)]()),null===_0x4e1ddc[_0x12ddfa(0x215)]&&(_0x2f3937[_0x12ddfa(0x27e)]=null,_0x2f3937[_0x12ddfa(0x24c)]());},{'priority':_0x37a95e(0x253)}),this[_0x37a95e(0x270)](_0x2cf213[_0x37a95e(0x1f4)][_0x37a95e(0x28c)][_0x37a95e(0x295)],_0x37a95e(0x238),(_0x1a089c,_0x3bbcc8)=>{const _0x10fe5e=_0x37a95e;_0x3bbcc8[_0x10fe5e(0x285)]&&this[_0x10fe5e(0x28a)]();}),this[_0x37a95e(0x270)](_0x2cf213[_0x37a95e(0x2bb)][_0x37a95e(0x229)],_0x37a95e(0x226),()=>{const _0xffa67=_0x37a95e;this[_0xffa67(0x28a)]();}),this[_0x37a95e(0x1de)](),_0x2cf213[_0x37a95e(0x1f4)]['on'](_0x37a95e(0x221),(_0x3e7aee,_0x8ac549)=>{const _0xfa4dad=_0x37a95e,_0x391048=_0x8ac549[0x0];_0x391048[_0xfa4dad(0x1d8)]&&(this[_0xfa4dad(0x205)](_0x391048),this[_0xfa4dad(0x2ab)]()&&this[_0xfa4dad(0x1f2)]());}),this[_0x37a95e(0x20f)](),this[_0x37a95e(0x1e6)](_0x37a95e(0x2b0))['to'](_0x540e01,_0x37a95e(0x27c),this,_0x37a95e(0x2c4),(_0x52027f,_0x1c2cf7)=>_0x37a95e(0x210)===_0x52027f&&!_0x1c2cf7),this['on'](_0x37a95e(0x1ea),()=>{const _0x243c7a=_0x37a95e;this[_0x243c7a(0x2b0)]?_0x2cf213[_0x243c7a(0x224)](_0x243c7a(0x24e)):_0x2cf213[_0x243c7a(0x1d1)](_0x243c7a(0x24e));}),this[_0x37a95e(0x2b0)]?_0x2cf213[_0x37a95e(0x224)](_0x37a95e(0x24e)):_0x2cf213[_0x37a95e(0x1d1)](_0x37a95e(0x24e)),this[_0x37a95e(0x2c9)](_0x37a95e(0x2a6),!0x1);}async[_0xc70820(0x2c2)](){const _0xf6cdcd=_0xc70820,_0x1db915=this[_0xf6cdcd(0x24a)][_0xf6cdcd(0x1e5)][_0xf6cdcd(0x1e2)](_0x32076f),_0x54f6f3=this[_0xf6cdcd(0x24a)][_0xf6cdcd(0x1e5)][_0xf6cdcd(0x1e2)](_0x4220bc);try{this[_0xf6cdcd(0x1e8)]=!0x0,_0x1db915[_0xf6cdcd(0x231)](this[_0xf6cdcd(0x29b)]);const _0x253136=await this[_0xf6cdcd(0x1e0)][_0xf6cdcd(0x2c2)](_0x54f6f3[_0xf6cdcd(0x241)],this[_0xf6cdcd(0x2a8)]);await this[_0xf6cdcd(0x1fb)](_0x253136)&&(this[_0xf6cdcd(0x1e8)]=!0x1,this[_0xf6cdcd(0x237)]());const _0x1a7a16=await this[_0xf6cdcd(0x1e0)][_0xf6cdcd(0x26e)]();_0x1db915[_0xf6cdcd(0x22c)](this[_0xf6cdcd(0x29b)],_0x1a7a16),this[_0xf6cdcd(0x1f5)](),this[_0xf6cdcd(0x2a6)]=!0x0;}catch(_0x599d3f){if(function(_0x4a2746){const _0x11b3da=_0xf6cdcd;return _0x11b3da(0x233)===_0x4a2746[_0x11b3da(0x266)];}(_0x599d3f)&&this[_0xf6cdcd(0x276)])await this[_0xf6cdcd(0x252)]();else{if(function(_0xc1cb1d){const _0x2992fb=_0xf6cdcd;return _0x2992fb(0x20c)===_0xc1cb1d[_0x2992fb(0x266)];}(_0x599d3f)){const _0x311f52=_0x158304(this[_0xf6cdcd(0x24a)][_0xf6cdcd(0x2c3)],_0xf6cdcd(0x259));this[_0xf6cdcd(0x29c)](_0x311f52);}else{if(!(_0x599d3f instanceof V))throw _0x599d3f;this[_0xf6cdcd(0x29c)]();}}}}[_0xc70820(0x29f)](){const _0x229c7c=_0xc70820,_0xeb2d04=this[_0x229c7c(0x24a)][_0x229c7c(0x1e5)][_0x229c7c(0x1e2)](_0x4220bc),_0x54d42c=this[_0x229c7c(0x24a)][_0x229c7c(0x1e5)][_0x229c7c(0x1e2)](_0x32076f);this[_0x229c7c(0x24a)][_0x229c7c(0x1d1)](_0x229c7c(0x260)),_0x54d42c[_0x229c7c(0x1fc)][_0x229c7c(0x227)](this[_0x229c7c(0x29b)])&&_0x54d42c[_0x229c7c(0x231)](this[_0x229c7c(0x29b)]),_0xeb2d04[_0x229c7c(0x220)](this),this[_0x229c7c(0x243)](),super[_0x229c7c(0x29f)]();}async[_0xc70820(0x1fb)](_0x3d7b17){const _0x20f9e6=_0xc70820;if(this[_0x20f9e6(0x276)]!==_0x3d7b17[_0x20f9e6(0x276)]&&this[_0x20f9e6(0x202)]!==_0x3d7b17[_0x20f9e6(0x29d)])throw new V();return this[_0x20f9e6(0x276)]=_0x3d7b17[_0x20f9e6(0x276)],this[_0x20f9e6(0x1d0)]([],{..._0x3d7b17,'wereChangesApplied':!0x1,'data':_0x3d7b17[_0x20f9e6(0x23f)]},_0x20f9e6(0x2c2));}async[_0xc70820(0x1fe)](_0x49f81d,_0x325e42=!0x1){const _0x266af9=_0xc70820,{connection:_0x2257fa}=this[_0x266af9(0x24a)][_0x266af9(0x1e5)][_0x266af9(0x1e2)](_0x4220bc);RealTimeCollaborationClient[_0x266af9(0x2b6)][_0x266af9(0x26e)](_0x2257fa,this[_0x266af9(0x29b)])[_0x266af9(0x291)](_0x5917cd=>this[_0x266af9(0x217)](_0x5917cd))[_0x266af9(0x21e)](_0x407b7e=>{const _0x160030=_0x266af9;this[_0x160030(0x2b4)](_0x160030(0x232),_0x407b7e);}),this[_0x266af9(0x270)](this[_0x266af9(0x1e0)],_0x266af9(0x1c9),this[_0x266af9(0x261)][_0x266af9(0x1e6)](this)),this[_0x266af9(0x270)](this[_0x266af9(0x1e0)],_0x266af9(0x22e),(_0xc269d7,_0x543118)=>{const _0x786727=_0x266af9;this[_0x786727(0x2b4)](_0x786727(0x1c4),_0x543118);}),this[_0x266af9(0x270)](this[_0x266af9(0x1e0)],_0x266af9(0x282),()=>{const _0x1dfb0a=_0x266af9;this[_0x1dfb0a(0x2a6)]=!0x1;});const _0x439335=this[_0x266af9(0x223)][_0x266af9(0x298)](_0x49f81d);this[_0x266af9(0x1e8)]=!0x0;const _0x13fb1a=await this[_0x266af9(0x1e0)][_0x266af9(0x23d)](_0x2257fa,this[_0x266af9(0x249)](_0x49f81d),_0x439335);if(this[_0x266af9(0x276)]=_0x13fb1a[_0x266af9(0x276)],_0x325e42){if(!_0x13fb1a[_0x266af9(0x299)])return void this[_0x266af9(0x29c)]();this[_0x266af9(0x1e8)]=!0x1,this[_0x266af9(0x237)](),this[_0x266af9(0x1cb)][_0x266af9(0x1c8)](),this[_0x266af9(0x26c)]=_0x13fb1a[_0x266af9(0x2a0)],this[_0x266af9(0x1cb)][_0x266af9(0x240)]=this[_0x266af9(0x26c)],await this[_0x266af9(0x1d0)](_0x49f81d,_0x13fb1a,_0x266af9(0x1f7));}else await this[_0x266af9(0x265)](_0x13fb1a,_0x49f81d);this[_0x266af9(0x1f5)](),this[_0x266af9(0x2a6)]=!0x0;}[_0xc70820(0x1f5)](){const _0x20d6ed=_0xc70820,_0x328455=this[_0x20d6ed(0x24a)][_0x20d6ed(0x1e5)][_0x20d6ed(0x1e2)](_0x32076f),_0x3490c7=this[_0x20d6ed(0x24a)][_0x20d6ed(0x1e5)][_0x20d6ed(0x1e2)](_0x352f56),_0x205e11=_0x328455[_0x20d6ed(0x1fc)][_0x20d6ed(0x1e2)](this[_0x20d6ed(0x29b)]);_0x205e11&&_0x205e11[_0x20d6ed(0x2ba)]>0x1?_0x3490c7[_0x20d6ed(0x258)]():this[_0x20d6ed(0x270)](_0x328455,_0x20d6ed(0x1f0)+this[_0x20d6ed(0x29b)],()=>{const _0x50a997=_0x20d6ed;0x2===_0x328455[_0x50a997(0x1fc)][_0x50a997(0x1e2)](this[_0x50a997(0x29b)])[_0x50a997(0x2ba)]&&_0x3490c7[_0x50a997(0x258)]();});}async[_0xc70820(0x261)](_0x2ebf14,_0x36be24,_0x15fab8,_0x276750){const _0x37da8d=_0xc70820;if(!this[_0x37da8d(0x1e8)]&&this[_0x37da8d(0x20d)][_0x37da8d(0x240)]==_0x36be24){const _0x33b6e6=this[_0x37da8d(0x277)](_0x15fab8,_0x276750);await this[_0x37da8d(0x268)](_0x33b6e6),this[_0x37da8d(0x25e)](_0x33b6e6,_0x36be24,_0x15fab8[_0x37da8d(0x29d)])||this[_0x37da8d(0x2b4)](_0x37da8d(0x2a7));}}async[_0xc70820(0x252)](){const _0x369f31=_0xc70820;this[_0x369f31(0x243)]();const {locale:_0x17f52d}=this[_0x369f31(0x24a)];let _0x59c8b6;try{_0x59c8b6=await this[_0x369f31(0x1e0)][_0x369f31(0x27b)]();}catch{const _0x5167c7=_0x158304(_0x17f52d,_0x369f31(0x257));return void this[_0x369f31(0x29c)](_0x5167c7);}const _0x4b243d=_0x59c8b6[_0x369f31(0x1d3)]||_0x59c8b6[_0x369f31(0x27f)];if(this[_0x369f31(0x202)]!==_0x4b243d[_0x369f31(0x29d)]){const _0x1dfef6=_0x158304(_0x17f52d,_0x369f31(0x247));return void this[_0x369f31(0x29c)](_0x1dfef6);}await this[_0x369f31(0x1fe)](this[_0x369f31(0x24a)][_0x369f31(0x1f4)][_0x369f31(0x28c)][_0x369f31(0x28d)][_0x369f31(0x22d)](),!0x0);}[_0xc70820(0x243)](){const _0x2150bc=_0xc70820;this[_0x2150bc(0x1e0)][_0x2150bc(0x27d)](),this[_0x2150bc(0x1d6)]=[],clearTimeout(this[_0x2150bc(0x1dd)]),this[_0x2150bc(0x219)](this[_0x2150bc(0x1e0)]);}[_0xc70820(0x217)](_0x43111e){const _0x2f9d57=_0xc70820,_0x47b78f=this[_0x2f9d57(0x24a)][_0x2f9d57(0x1e5)][_0x2f9d57(0x1e2)](_0x32076f);this[_0x2f9d57(0x270)](_0x47b78f,_0x2f9d57(0x1f0)+this[_0x2f9d57(0x29b)],(_0xe5f2de,{session:_0x4f6ca6})=>{const _0x3baf51=_0x2f9d57;if(_0x4f6ca6['id']===_0x47b78f[_0x3baf51(0x242)]){_0xe5f2de[_0x3baf51(0x1ce)]();const _0x39599e=this[_0x3baf51(0x24a)][_0x3baf51(0x1e5)][_0x3baf51(0x227)](_0x3baf51(0x27a))&&this[_0x3baf51(0x24a)][_0x3baf51(0x1e5)][_0x3baf51(0x1e2)](_0x3baf51(0x27a));let _0x2ae79f=_0x4f6ca6[_0x3baf51(0x1cf)];_0x39599e&&_0x39599e[_0x3baf51(0x2a4)]&&(_0x2ae79f=_0x2ae79f[_0x3baf51(0x293)](_0x2449df=>_0x3baf51(0x206)!==_0x2449df)),this[_0x3baf51(0x24a)][_0x3baf51(0x1e5)][_0x3baf51(0x1e2)](_0x3baf51(0x24d))[_0x3baf51(0x208)](_0x2ae79f,this[_0x3baf51(0x29b)]);}}),_0x47b78f[_0x2f9d57(0x22c)](this[_0x2f9d57(0x29b)],_0x43111e);}[_0xc70820(0x1de)](){const _0x446fcb=_0xc70820,_0x60940d=this[_0x446fcb(0x24a)][_0x446fcb(0x23f)][_0x446fcb(0x2c9)];this[_0x446fcb(0x24a)][_0x446fcb(0x23f)][_0x446fcb(0x2c9)]=(..._0x2d1db2)=>{const _0x2e14f6=_0x446fcb;if(!_0x2d1db2[_0x2d1db2[_0x2e14f6(0x2ba)]-0x1][_0x2e14f6(0x2a5)])throw new _0x316eb9(_0x2e14f6(0x1db),this);_0x60940d[_0x2e14f6(0x25c)](this[_0x2e14f6(0x24a)][_0x2e14f6(0x23f)],_0x2d1db2);};}[_0xc70820(0x20f)](){const _0x439d2c=_0xc70820;this[_0x439d2c(0x24a)][_0x439d2c(0x23f)]['on'](_0x439d2c(0x1f9),(_0x5e3b29,[_0x53c706])=>{const _0x132fea=_0x439d2c;if(this[_0x132fea(0x20d)][_0x132fea(0x240)])throw new _0x316eb9(_0x132fea(0x225),this);_0x5e3b29[_0x132fea(0x24c)](),this[_0x132fea(0x21f)]();const _0x4269f7=this[_0x132fea(0x24a)][_0x132fea(0x2bc)][_0x132fea(0x1e2)](_0x132fea(0x25f)),_0x3937ec=this[_0x132fea(0x1e7)](_0x53c706,_0x4269f7);0x0==_0x3937ec[_0x132fea(0x2ba)]&&_0x3937ec[_0x132fea(0x286)](new _0x3e78fa(0x0)),_0x5e3b29[_0x132fea(0x27e)]=this[_0x132fea(0x1fe)](_0x3937ec)[_0x132fea(0x291)](()=>{const _0x148951=_0x132fea;this[_0x148951(0x24a)][_0x148951(0x1e5)][_0x148951(0x1e2)](_0x4220bc)[_0x148951(0x204)](this),this[_0x148951(0x24a)][_0x148951(0x23f)][_0x148951(0x278)](_0x148951(0x23a));})[_0x132fea(0x21e)](_0x56c6a8=>this[_0x132fea(0x2b4)](_0x132fea(0x2ae),_0x56c6a8))[_0x132fea(0x2ad)](()=>this[_0x132fea(0x237)]());},{'priority':_0x439d2c(0x253)}),this[_0x439d2c(0x24a)]['on'](_0x439d2c(0x1eb),async(_0x41c40f,[_0xdb4b9b,_0x5960ed])=>{const _0x527762=_0x439d2c;_0x41c40f[_0x527762(0x24c)]();const _0x36205c=this[_0x527762(0x24a)][_0x527762(0x1f4)][_0x527762(0x28c)][_0x527762(0x250)](_0xdb4b9b);if(!this[_0x527762(0x1c7)][_0x527762(0x227)](_0xdb4b9b)){const _0x9525e1=_0x5960ed&&_0x5960ed[_0x527762(0x23f)]?_0x5960ed[_0x527762(0x23f)]:'',_0x441a91=_0x5960ed&&_0x5960ed[_0x527762(0x21d)]?_0x5960ed[_0x527762(0x21d)]:{};await this[_0x527762(0x22f)](_0xdb4b9b,_0x9525e1,_0x441a91);}this[_0x527762(0x24a)][_0x527762(0x1f4)][_0x527762(0x284)]({'isUndoable':!0x1},()=>{const _0x326744=_0x527762;_0x36205c[_0x326744(0x245)]=!0x0,this[_0x326744(0x24a)][_0x326744(0x1f4)][_0x326744(0x28c)][_0x326744(0x269)][_0x326744(0x28e)](_0x36205c);});},{'priority':_0x439d2c(0x253)});}async[_0xc70820(0x268)](_0x4698c6){const _0x2fafb9=_0xc70820,_0x15a2e1=this[_0x2fafb9(0x24a)][_0x2fafb9(0x1e5)][_0x2fafb9(0x1e2)](_0x7dbe1c),{connection:_0x2d7567}=this[_0x2fafb9(0x24a)][_0x2fafb9(0x1e5)][_0x2fafb9(0x1e2)](_0x4220bc),_0x4b58df=new Set();for(const _0x216117 of _0x4698c6){const _0x11da75=_0x216117[_0x2fafb9(0x215)];_0x11da75&&!_0x15a2e1[_0x2fafb9(0x248)](_0x11da75)&&_0x4b58df[_0x2fafb9(0x287)](_0x11da75);}if(0x0===_0x4b58df[_0x2fafb9(0x212)])return;const _0x13484e=await _0x4407af[_0x2fafb9(0x2b3)](_0x2d7567,Array[_0x2fafb9(0x2aa)](_0x4b58df));for(const _0x4ad796 of _0x13484e)_0x15a2e1[_0x2fafb9(0x248)](_0x4ad796['id'])||_0x15a2e1[_0x2fafb9(0x1e9)](_0x4ad796);}[_0xc70820(0x1e7)](_0x21d9ec,_0x2036bf={}){const _0x518e4b=_0xc70820,_0x110ccc=this[_0x518e4b(0x24a)][_0x518e4b(0x1f4)],_0x40558a=[];let _0x23b20c=0x0;const _0x1dbb61=_0x518e4b(0x218)==typeof _0x21d9ec?{'main':_0x21d9ec}:_0x21d9ec;for(const _0x11dd77 of Object[_0x518e4b(0x21a)](_0x1dbb61)){if(!this[_0x518e4b(0x20d)][_0x518e4b(0x1f6)][_0x518e4b(0x227)](_0x11dd77))throw new _0x316eb9(_0x518e4b(0x2b1),this);const _0xbb4e7a=this[_0x518e4b(0x24a)][_0x518e4b(0x23f)][_0x518e4b(0x23b)](_0x1dbb61[_0x11dd77]),_0x27c430=this[_0x518e4b(0x20d)][_0x518e4b(0x250)](_0x11dd77),_0x1e03b4=new _0x1ef410(_0x110ccc[_0x518e4b(0x275)](_0x27c430,0x0),_0xbb4e7a,_0x23b20c++);_0x40558a[_0x518e4b(0x286)](_0x1e03b4);for(const [_0x585163,_0x38466a]of _0xbb4e7a[_0x518e4b(0x235)]){const _0x6f404b=_0x110ccc[_0x518e4b(0x211)](_0x110ccc[_0x518e4b(0x29a)](_0x27c430,_0x38466a[_0x518e4b(0x288)][_0x518e4b(0x213)][_0x518e4b(0x2c5)]()),_0x110ccc[_0x518e4b(0x29a)](_0x27c430,_0x38466a[_0x518e4b(0x1c6)][_0x518e4b(0x213)][_0x518e4b(0x2c5)]())),_0x4f0119=new _0x50a293(_0x585163,null,_0x6f404b,_0x110ccc[_0x518e4b(0x235)],!0x0,_0x23b20c++);_0x40558a[_0x518e4b(0x286)](_0x4f0119);}}if(_0x2036bf)for(const [_0x4aaf04,_0x593c17]of Object[_0x518e4b(0x1fd)](_0x2036bf)){const _0x2e8aee=_0x110ccc[_0x518e4b(0x28c)][_0x518e4b(0x250)](_0x4aaf04);if(!_0x2e8aee)throw new _0x316eb9(_0x518e4b(0x1cd),null);for(const [_0x2b8577,_0x205797]of Object[_0x518e4b(0x1fd)](_0x593c17))if(null!==_0x205797){const _0x2e1c53=new _0x455524(_0x2e8aee,_0x2b8577,null,_0x205797,_0x23b20c++);_0x40558a[_0x518e4b(0x286)](_0x2e1c53);}}return _0x40558a;}async[_0xc70820(0x22f)](_0x1a37bb,_0x374df1,_0x7d082c){const _0x4ea47d=_0xc70820;this[_0x4ea47d(0x1e7)]({[_0x1a37bb]:_0x374df1},{[_0x1a37bb]:_0x7d082c})[_0x4ea47d(0x2c6)]((_0x5416a2,_0x55213a)=>{const _0x270f33=_0x4ea47d;_0x5416a2[_0x270f33(0x297)]=this[_0x270f33(0x20d)][_0x270f33(0x240)]+_0x55213a,_0x5416a2[_0x270f33(0x2b9)]=!0x0,this[_0x270f33(0x205)](_0x5416a2);}),this[_0x4ea47d(0x1f2)](),await this[_0x4ea47d(0x255)]();}async[_0xc70820(0x265)](_0x5d9078,_0x10c431){const _0x50b7f2=_0xc70820;let _0x22e78d;this[_0x50b7f2(0x26c)]=_0x5d9078[_0x50b7f2(0x2a0)];const _0x561032=_0x5d9078[_0x50b7f2(0x299)]&&!_0x5d9078[_0x50b7f2(0x2c1)],_0x25ff82=_0x561032?0x0:_0x5d9078[_0x50b7f2(0x23f)][_0x50b7f2(0x297)];if(_0x10c431[_0x50b7f2(0x2c6)](_0x4eab6e=>{const _0x16eb64=_0x50b7f2;_0x4eab6e[_0x16eb64(0x2b9)]=!0x0,_0x4eab6e[_0x16eb64(0x214)]=_0x5d9078[_0x16eb64(0x281)],_0x4eab6e[_0x16eb64(0x215)]=null;}),_0x561032)_0x22e78d=_0x10c431,this[_0x50b7f2(0x2a2)](_0x22e78d,_0x561032);else{if(_0x5d9078[_0x50b7f2(0x2c1)]){const _0x5a50e0=this[_0x50b7f2(0x1e7)](_0x5d9078[_0x50b7f2(0x2c1)]);this[_0x50b7f2(0x20d)][_0x50b7f2(0x28d)][_0x50b7f2(0x240)]=-_0x5a50e0[_0x50b7f2(0x2ba)],_0x5a50e0[_0x50b7f2(0x2c6)](_0x135fa3=>{const _0x225fb4=_0x50b7f2;_0x135fa3[_0x225fb4(0x297)]-=_0x5a50e0[_0x225fb4(0x2ba)],_0x135fa3[_0x225fb4(0x214)]=_0x5d9078[_0x225fb4(0x281)],_0x135fa3[_0x225fb4(0x2b9)]=!0x0,_0x135fa3[_0x225fb4(0x215)]=null;}),this[_0x50b7f2(0x2a2)](_0x5a50e0,!0x0),this[_0x50b7f2(0x1cb)][_0x50b7f2(0x240)]=-_0x5a50e0[_0x50b7f2(0x2ba)]+this[_0x50b7f2(0x26c)],this[_0x50b7f2(0x222)](_0x5a50e0);}this[_0x50b7f2(0x20d)][_0x50b7f2(0x28d)][_0x50b7f2(0x240)]=_0x25ff82,_0x22e78d=this[_0x50b7f2(0x277)](_0x5d9078[_0x50b7f2(0x23f)],_0x5d9078[_0x50b7f2(0x22a)]),await this[_0x50b7f2(0x268)](_0x22e78d),this[_0x50b7f2(0x2a2)](_0x22e78d,_0x561032);}_0x5d9078[_0x50b7f2(0x29d)]&&(this[_0x50b7f2(0x223)][_0x50b7f2(0x2be)](_0x22e78d,_0x5d9078[_0x50b7f2(0x29d)]),this[_0x50b7f2(0x202)]=_0x5d9078[_0x50b7f2(0x29d)]),this[_0x50b7f2(0x1cb)][_0x50b7f2(0x240)]=_0x25ff82+this[_0x50b7f2(0x26c)],this[_0x50b7f2(0x222)](_0x22e78d),_0x10c431[_0x50b7f2(0x293)](_0x456329=>{const _0x43277f=_0x50b7f2,_0x31f562=this[_0x43277f(0x1df)](_0x456329);return _0x31f562&&!this[_0x43277f(0x1c7)][_0x43277f(0x227)](_0x31f562);})[_0x50b7f2(0x2c6)]((_0x54e2f1,_0x144252)=>{const _0x104fcc=_0x50b7f2;_0x54e2f1[_0x104fcc(0x297)]=this[_0x104fcc(0x20d)][_0x104fcc(0x240)]+_0x144252,this[_0x104fcc(0x205)](_0x54e2f1);}),this[_0x50b7f2(0x2ab)]()?(this[_0x50b7f2(0x251)]=0x0,this[_0x50b7f2(0x1f2)](!0x0),await this[_0x50b7f2(0x255)]()):(this[_0x50b7f2(0x1e8)]=!0x1,this[_0x50b7f2(0x237)]());}[_0xc70820(0x2b4)](_0x5a6b0a,_0x200b78){const _0x3880f8=_0xc70820,_0x54d7c7=_0x200b78&&_0x200b78[_0x3880f8(0x20a)];if(_0x54d7c7&&_0x54d7c7[_0x3880f8(0x21b)](_0x3880f8(0x2b2)))throw _0x200b78;const _0x33225a=this[_0x3880f8(0x24a)][_0x3880f8(0x1e5)][_0x3880f8(0x1e2)](_0x4220bc);throw this[_0x3880f8(0x1e8)]=!0x0,_0x33225a[_0x3880f8(0x27d)](),this[_0x3880f8(0x24a)][_0x3880f8(0x1d1)](_0x3880f8(0x24f)),new _0x316eb9(_0x5a6b0a,this[_0x3880f8(0x24a)],_0x54d7c7?{'originalError':_0x54d7c7}:void 0x0);}[_0xc70820(0x205)](_0x5e2f71){const _0x58fed9=_0xc70820;this[_0x58fed9(0x262)][_0x58fed9(0x227)](_0x5e2f71)||(this[_0x58fed9(0x262)][_0x58fed9(0x287)](_0x5e2f71),this[_0x58fed9(0x1d6)][_0x58fed9(0x286)](_0x5e2f71),this[_0x58fed9(0x2af)]||_0x58fed9(0x290)==_0x5e2f71[_0x58fed9(0x1d2)]&&!_0x5e2f71[_0x58fed9(0x283)]||this[_0x58fed9(0x21f)]());}[_0xc70820(0x1f2)](_0x1cb38d=!0x1){const _0xc4c467=_0xc70820;!_0x1cb38d&&this[_0xc4c467(0x1e8)]||(this[_0xc4c467(0x1e8)]=!0x0,clearTimeout(this[_0xc4c467(0x1dd)]),this[_0xc4c467(0x1dd)]=setTimeout(()=>{const _0x562704=_0xc4c467;this[_0x562704(0x207)]()[_0x562704(0x291)](_0x5680c3=>{const _0x30bae2=_0x562704;_0x5680c3&&(this[_0x30bae2(0x237)](),this[_0x30bae2(0x1e8)]=!0x1);})[_0x562704(0x21e)](_0xfd4708=>{const _0x2ad479=_0x562704;this[_0x2ad479(0x237)](),this[_0x2ad479(0x1e8)]=!0x1,function(_0x4548eb){const _0x145b55=_0x2ad479;return _0x4548eb[_0x145b55(0x20a)][_0x145b55(0x21b)](_0x145b55(0x1ef))||_0x4548eb[_0x145b55(0x20a)][_0x145b55(0x21b)](_0x145b55(0x2a9))||_0x4548eb[_0x145b55(0x20a)][_0x145b55(0x21b)](_0x145b55(0x1f3));}(_0xfd4708)||this[_0x2ad479(0x2b4)](_0xfd4708[_0x2ad479(0x20a)],_0xfd4708);});},this[_0xc4c467(0x251)]));}[_0xc70820(0x255)](){return new Promise(_0x12cda4=>{const _0x356cbd=_0x37d1;this['on'](_0x356cbd(0x254),()=>{_0x12cda4();});});}async[_0xc70820(0x207)](){const _0xd30713=_0xc70820,_0x24a070=this[_0xd30713(0x24a)][_0xd30713(0x1e5)][_0xd30713(0x1e2)](_0x352f56);if(this[_0xd30713(0x256)]()&&(_0x24a070[_0xd30713(0x258)](),this[_0xd30713(0x24b)]=!0x1),!this[_0xd30713(0x2ab)]())return!0x0;const _0x34581f=[...this[_0xd30713(0x1d6)]];for(const _0x4b8ecd of _0x34581f)_0x4b8ecd[_0xd30713(0x2b5)]=this[_0xd30713(0x20d)][_0xd30713(0x28d)][_0xd30713(0x246)](_0x4b8ecd);const _0x15f4d9=this[_0xd30713(0x223)][_0xd30713(0x298)](_0x34581f),_0x76d1bf=H++,_0x24cdb2=this[_0xd30713(0x249)](_0x34581f),_0x27802a=await this[_0xd30713(0x1e0)][_0xd30713(0x236)](_0x24cdb2,_0x24cdb2[_0xd30713(0x297)],_0x15f4d9);try{return await this[_0xd30713(0x1d0)](_0x34581f,_0x27802a,_0x76d1bf);}catch(_0x37c152){return this[_0xd30713(0x2b4)](_0xd30713(0x2a3),_0x37c152);}}async[_0xc70820(0x1d0)](_0x323fd8,_0x2eb419,_0xc3f875){const _0x4e658d=_0xc70820;if(_0x4e658d(0x22e)in _0x2eb419)throw _0x2eb419[_0x4e658d(0x22e)];let _0x275713=!0x1;if(_0x2eb419[_0x4e658d(0x299)]){_0x2eb419[_0x4e658d(0x29d)]&&(this[_0x4e658d(0x202)]=_0x2eb419[_0x4e658d(0x29d)]),this[_0x4e658d(0x1d6)]=this[_0x4e658d(0x1d6)][_0x4e658d(0x293)](_0x2bc8d5=>!_0x323fd8[_0x4e658d(0x239)](_0x2bc8d5));for(const _0x3739bc of _0x323fd8)_0x3739bc[_0x4e658d(0x214)]=_0x4e658d(0x1c3)in _0x2eb419&&_0x2eb419[_0x4e658d(0x1c3)]||void 0x0;W(_0x323fd8,_0x2eb419[_0x4e658d(0x240)]-_0x323fd8[_0x4e658d(0x2ba)]),this[_0x4e658d(0x222)](_0x323fd8);const _0x42ffc7=_0x323fd8[_0x4e658d(0x293)](_0x1ec691=>{const _0x5b5c4c=_0x4e658d;if(!_0x1ec691[_0x5b5c4c(0x2b9)])return!0x1;const _0x441f96=this[_0x5b5c4c(0x1df)](_0x1ec691);return _0x441f96&&!this[_0x5b5c4c(0x1c7)][_0x5b5c4c(0x227)](_0x441f96);});W(_0x42ffc7,this[_0x4e658d(0x20d)][_0x4e658d(0x240)]),this[_0x4e658d(0x2a2)](_0x42ffc7),_0x275713=!0x0,this[_0x4e658d(0x251)]=this[_0x4e658d(0x1fa)];}else{const _0x391d54=this[_0x4e658d(0x277)](_0x2eb419[_0x4e658d(0x23f)],_0x2eb419[_0x4e658d(0x22a)])[_0x4e658d(0x293)](_0x3cea87=>_0x3cea87[_0x4e658d(0x297)]>=this[_0x4e658d(0x234)]);_0x391d54[_0x4e658d(0x2c6)](_0x21a399=>this[_0x4e658d(0x1e3)](_0x21a399)),this[_0x4e658d(0x1d6)]=this[_0x4e658d(0x1d6)][_0x4e658d(0x293)](_0x234006=>!_0x234006[_0x4e658d(0x2b9)]||!this[_0x4e658d(0x1c7)][_0x4e658d(0x227)](this[_0x4e658d(0x1df)](_0x234006))),this[_0x4e658d(0x1d6)][_0x4e658d(0x2ba)]&&W(this[_0x4e658d(0x1d6)],this[_0x4e658d(0x1d6)][0x0][_0x4e658d(0x297)]),await this[_0x4e658d(0x268)](_0x391d54),_0x275713=this[_0x4e658d(0x25e)](_0x391d54,_0x2eb419[_0x4e658d(0x240)],_0x2eb419[_0x4e658d(0x29d)]),this[_0x4e658d(0x251)]=Math[_0x4e658d(0x2c0)](this[_0x4e658d(0x251)]/0x2);}return _0x275713?!this[_0x4e658d(0x2ab)]()||(this[_0x4e658d(0x1f2)](!0x0),!0x1):this[_0x4e658d(0x2b4)](_0x4e658d(0x2b8));}[_0xc70820(0x25e)](_0x225b0,_0x4d0c47,_0x5ee685){const _0x399e5c=_0xc70820;try{const _0x4fd40f={'document':this[_0x399e5c(0x20d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4abaf0,operationsB:_0xf8ada5,originalOperations:_0x446202}=_0x1ad7cc(_0x225b0,this[_0x399e5c(0x1d6)],_0x4fd40f);W(_0x4abaf0,this[_0x399e5c(0x20d)][_0x399e5c(0x240)]),W(_0xf8ada5,_0x4d0c47);for(const _0x202177 of _0x4abaf0){const _0x1a64c2=_0x446202[_0x399e5c(0x1e2)](_0x202177);_0x202177[_0x399e5c(0x215)]=_0x1a64c2?_0x1a64c2[_0x399e5c(0x215)]:null;}_0x5ee685&&(this[_0x399e5c(0x223)][_0x399e5c(0x2be)](_0x225b0,_0x5ee685),this[_0x399e5c(0x202)]=_0x5ee685),this[_0x399e5c(0x1d6)]=[..._0xf8ada5],this[_0x399e5c(0x2a2)](_0x4abaf0),this[_0x399e5c(0x222)](_0x225b0);}catch(_0x6dc1a9){return console[_0x399e5c(0x22e)](_0x6dc1a9),!0x1;}return!0x0;}[_0xc70820(0x2a2)](_0xb1e6a1,_0x9d6596=!0x1){const _0x5284d4=_0xc70820;this[_0x5284d4(0x24a)][_0x5284d4(0x1f4)][_0x5284d4(0x284)]({'isUndoable':!0x1,'isLocal':!0x1},_0xa60f65=>{const _0x6b003e=_0x5284d4;for(const _0x58b523 of _0xb1e6a1)this[_0x6b003e(0x262)][_0x6b003e(0x287)](_0x58b523),this[_0x6b003e(0x1e3)](_0x58b523),_0xa60f65[_0x6b003e(0x200)][_0x6b003e(0x1d5)](_0x58b523),this[_0x6b003e(0x24a)][_0x6b003e(0x1f4)][_0x6b003e(0x221)](_0x58b523);});}[_0xc70820(0x1e3)](_0xac8783){const _0x455f0e=_0xc70820,_0x2d5aff=this[_0x455f0e(0x1df)](_0xac8783);_0x2d5aff&&this[_0x455f0e(0x1c7)][_0x455f0e(0x287)](_0x2d5aff);}[_0xc70820(0x1df)](_0x4b2739){const _0x16b137=_0xc70820;let _0x19fadf,_0x120381;switch(_0x4b2739[_0x16b137(0x1d2)]){case _0x16b137(0x21c):_0x19fadf=_0x4b2739[_0x16b137(0x209)][_0x16b137(0x25d)];break;case _0x16b137(0x290):if(_0x120381=_0x4b2739[_0x16b137(0x294)],!_0x120381)return null;_0x19fadf=_0x120381[_0x16b137(0x25d)];break;case _0x16b137(0x203):_0x19fadf=_0x4b2739[_0x16b137(0x25d)];break;case _0x16b137(0x1ec):_0x19fadf=_0x4b2739[_0x16b137(0x1d9)];break;case _0x16b137(0x272):_0x19fadf=_0x4b2739[_0x16b137(0x279)][_0x16b137(0x25d)];break;default:return null;}return _0x19fadf[_0x16b137(0x1d7)];}[_0xc70820(0x222)](_0x578088){const _0x5c6a20=_0xc70820;_0x578088[_0x5c6a20(0x2c6)](_0x3f48e4=>{const _0x20479e=_0x5c6a20,_0x21fccf=_0x3f48e4[_0x20479e(0x1e4)]();_0x21fccf[_0x20479e(0x215)]=_0x3f48e4[_0x20479e(0x215)],_0x21fccf[_0x20479e(0x2b9)]=!!_0x3f48e4[_0x20479e(0x2b9)],_0x21fccf[_0x20479e(0x214)]=_0x3f48e4[_0x20479e(0x214)],_0x21fccf[_0x20479e(0x297)]+=this[_0x20479e(0x26c)],_0x3f48e4[_0x20479e(0x2ac)]&&this[_0x20479e(0x2a1)][_0x20479e(0x287)](_0x21fccf),this[_0x20479e(0x1cb)][_0x20479e(0x1d5)](_0x21fccf);});}[_0xc70820(0x29c)](_0x531362){const _0x14ff0b=_0xc70820,_0x4946bb=this[_0x14ff0b(0x24a)][_0x14ff0b(0x1e5)][_0x14ff0b(0x1e2)](_0x14ff0b(0x23e)),_0x31b1ad=this[_0x14ff0b(0x24a)][_0x14ff0b(0x2c3)];_0x531362||(_0x531362=_0x158304(_0x31b1ad,_0x14ff0b(0x2b7))),_0x4946bb[_0x14ff0b(0x271)](_0x531362,{'title':_0x158304(_0x31b1ad,_0x14ff0b(0x28f)),'namespace':_0x14ff0b(0x216)}),this[_0x14ff0b(0x2c4)]=!0x0,clearTimeout(this[_0x14ff0b(0x1dd)]),this[_0x14ff0b(0x1d6)]=[],this[_0x14ff0b(0x24a)][_0x14ff0b(0x1e5)][_0x14ff0b(0x1e2)](_0x4220bc)[_0x14ff0b(0x27d)]();}[_0xc70820(0x21f)](){const _0x5e37f2=_0xc70820;this[_0x5e37f2(0x2af)]||(this[_0x5e37f2(0x2af)]=this[_0x5e37f2(0x24a)][_0x5e37f2(0x1e5)][_0x5e37f2(0x1e2)](_0x231216)[_0x5e37f2(0x287)](_0x158304(this[_0x5e37f2(0x24a)][_0x5e37f2(0x2c3)],_0x5e37f2(0x267))));}[_0xc70820(0x237)](){const _0x21fbc7=_0xc70820;this[_0x21fbc7(0x2af)]&&(this[_0x21fbc7(0x24a)][_0x21fbc7(0x1e5)][_0x21fbc7(0x1e2)](_0x231216)[_0x21fbc7(0x1c5)](this[_0x21fbc7(0x2af)]),this[_0x21fbc7(0x2af)]=null);}[_0xc70820(0x249)](_0x3ef3d1){const _0x107820=_0xc70820,_0x1e08a=_0x3ef3d1[_0x107820(0x228)](_0x513862=>_0x513862[_0x107820(0x1ca)]());return this[_0x107820(0x29e)][_0x107820(0x1e1)](_0x1e08a);}[_0xc70820(0x277)](_0x29f925,_0x55977a){const _0x2da2da=_0xc70820;return this[_0x2da2da(0x29e)][_0x2da2da(0x26b)](_0x29f925)[_0x2da2da(0x228)]((_0x1e7ad0,_0x3483b3)=>{const _0x35108b=_0x2da2da,_0x41efb7=_0x35108b(0x1f9)==_0x55977a[_0x3483b3][_0x35108b(0x1d2)];if(_0x35108b(0x2c8)==_0x1e7ad0[_0x35108b(0x280)]){const _0x25232f=_0x1e7ad0[_0x35108b(0x209)][_0x35108b(0x25d)];!this[_0x35108b(0x20d)][_0x35108b(0x250)](_0x25232f)&&(this[_0x35108b(0x20d)][_0x35108b(0x1ee)](_0x35108b(0x274),_0x25232f)[_0x35108b(0x296)]=!0x1);}const _0x21af47=_0x1e9177[_0x35108b(0x1da)](_0x1e7ad0,this[_0x35108b(0x20d)]);return _0x21af47[_0x35108b(0x2b5)]=_0x1e7ad0[_0x35108b(0x2b5)],_0x21af47[_0x35108b(0x2b9)]=_0x41efb7,_0x21af47[_0x35108b(0x215)]=_0x41efb7?null:_0x55977a[_0x3483b3][_0x35108b(0x201)],_0x21af47[_0x35108b(0x2ac)]=_0x35108b(0x244)===_0x55977a[_0x3483b3][_0x35108b(0x1d2)],_0x21af47[_0x35108b(0x214)]=_0x55977a[_0x3483b3][_0x35108b(0x214)],_0x21af47;});}[_0xc70820(0x28a)](){const _0x5382ee=_0xc70820;this[_0x5382ee(0x24b)]=!0x0,this[_0x5382ee(0x256)]()?this[_0x5382ee(0x1f2)]():this[_0x5382ee(0x24b)]=!0x1;}[_0xc70820(0x256)](){const _0x4c5faa=_0xc70820,_0x40935f=this[_0x4c5faa(0x24a)][_0x4c5faa(0x1e5)][_0x4c5faa(0x1e2)](_0x32076f)[_0x4c5faa(0x1fc)][_0x4c5faa(0x1e2)](this[_0x4c5faa(0x29b)]);return!this[_0x4c5faa(0x24a)][_0x4c5faa(0x289)]&&!!_0x40935f&&_0x40935f[_0x4c5faa(0x2ba)]>0x1&&this[_0x4c5faa(0x24b)];}[_0xc70820(0x2ab)](){const _0x2d9739=_0xc70820;return this[_0x2d9739(0x1d6)][_0x2d9739(0x2ba)]>0x0||this[_0x2d9739(0x256)]();}}function _0x37d1(_0x311b92,_0x106d81){const _0x44972b=_0x4497();return _0x37d1=function(_0x37d17d,_0x51a77b){_0x37d17d=_0x37d17d-0x1c3;let _0x149f80=_0x44972b[_0x37d17d];return _0x149f80;},_0x37d1(_0x311b92,_0x106d81);}class V extends Error{}function W(_0x2d3f68,_0x5ae1fd){const _0x28e497=_0xc70820;for(const _0x2fd506 of _0x2d3f68)_0x2fd506[_0x28e497(0x297)]=_0x5ae1fd++;}class F{[_0xc70820(0x1dc)];[_0xc70820(0x1f8)];constructor(_0x46b733){const _0x2bce73=_0xc70820;this[_0x2bce73(0x1dc)]=_0x46b733,this[_0x2bce73(0x1f8)]=new WeakMap();}[_0xc70820(0x298)](_0x267033){const _0x2016a0=_0xc70820;let _0x56aceb=_0x267033[_0x2016a0(0x2ba)];for(;_0x56aceb--;){const _0xe8ae2e=_0x267033[_0x56aceb];if(!this[_0x2016a0(0x1dc)][_0x2016a0(0x227)](_0xe8ae2e)){if(!this[_0x2016a0(0x1f8)][_0x2016a0(0x227)](_0xe8ae2e)){const _0x59fb52=_0x53ec91()[_0x2016a0(0x2c5)](0x1,0x12);this[_0x2016a0(0x1f8)][_0x2016a0(0x2c9)](_0xe8ae2e,_0x59fb52);}return this[_0x2016a0(0x1f8)][_0x2016a0(0x1e2)](_0xe8ae2e);}}}[_0xc70820(0x2be)](_0x34409f,_0x853715){const _0x4a9173=_0xc70820;if(!_0x853715)return;let _0x3061e3=_0x34409f[_0x4a9173(0x2ba)];for(;_0x3061e3--;){const _0x305c47=_0x34409f[_0x3061e3];this[_0x4a9173(0x1dc)][_0x4a9173(0x227)](_0x305c47)||this[_0x4a9173(0x1f8)][_0x4a9173(0x2c9)](_0x305c47,_0x853715);}}}function _0x4497(){const _0xf0f41b=['bind','_getOperationsFromInitData','_isPendingUpdate','addUser','change:_isEditingAllowed','loadRoot','addRoot','collaboration','createRoot','cloud-services-internal-error:\x20Not\x20connected.','sessionAdd:','7672940ezUkEU','_sendBufferedOperationsDelayed','cloud-services-internal-error:\x20Request\x20timeout.','model','_handleSendingSelectionMarkers','roots','reconnection:\x20flushed\x20session','_operationToId','init','_baseBufferDelay','_handleReconnectionResponse','channelSessions','entries','_connectService','2wrZRgX','batch','userId','_lastSyncedOperationId','addRootAttribute','addToReconnectionStack','_saveOperationInBuffer','document:write','_sendBufferedOperations','setPermissions','position','message','4647282jhvVnD','409','_document','cloudDocumentVersion','_setUpDataInit','connected','createRange','size','path','createdAt','_authorId','real-time-collaboration','_initSessionsHandling','string','stopListening','keys','startsWith','insert','attributes','catch','_setPendingAction','removeFromReconnectionStack','applyOperation','_updateServerHistory','_operationIdentifier','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','change:hasDomSelection','has','map','view','metadata','requires','register','getOperations','error','_loadRoot','pluginName','unregister','realtimecollaborationclient-init-session-connection-error','404','_lastServerVersion','markers','sendOperations','_clearPendingAction','change:range','includes','ready','parse','RealTimeCollaborationClient','connect','Notification','data','version','connection','mySessionId','_disconnectService','cs:removeUser','_isLoaded','isUndoneOperation','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.','getUser','_compressOperations','editor','_hasSelectionChanged','stop','Permissions','rtc-offline','realtimecollaborationclient-error','getRoot','_currentBufferDelay','_connectAfterSessionHasBeenFlushed','high','change:_isPendingUpdate','_waitUntilSynced','_shouldSendSelectionUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createUserMarkerOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','collaboration-missing-channelid','4giJBzG','apply','root','_handleExternalOperations','rootsAttributes','rtc-destroyed','_handleReceivedOperations','_knownOperations','1336494imdvta','isOfficialPlugin','_handleInitialConnectionData','code','PENDING_ACTION_SENDING_DATA','_fetchMissingUsers','differ','getOperationAuthor','decompress','_offset','7625097IsSUPf','getConnectedSessions','17480375sPfLBC','listenTo','showWarning','move','define','$root','createPositionAt','sessionId','_decompressOperations','fire','targetPosition','CommentsOnly','getDocumentDetails','state','disconnect','return','lastDocumentSession','__className','sessionCreatedAt','disconnected','affectsData','enqueueChange','directChange','push','add','start','isReadOnly','_refreshUserSelectionMarkers','isPremiumPlugin','document','history','_bufferRootLoad','Synchronization\x20issue','marker','then','28xTtJzN','filter','newRange','selection','_isAttached','baseVersion','getIdOfTheLastOperation','wereChangesApplied','createPositionFromPath','_channelId','_handleReconnectionError','lastOperationId','_compressor','destroy','offset','_disconnectionOperations','_applyOperationsSet','realtimecollaborationclient-sendbufferedoperations','isEnabled','suppressErrorInCollaboration','_isConnected','realtimecollaborationclient-init-service-incorrect-server-operation','lastSyncVersion','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','from','_shouldSendUpdate','_isDisconnection','finally','realtimecollaborationclient-init-connection-failed','_pendingAction','_isEditingAllowed','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient','getMany','_crash','wasUndone','CollaborativeEditingService','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.','realtimecollaborationclient-handleserverresponse','_isInit','length','editing','config','collaboration.channelId','setIdForTheLastOperation','6861495wofqgx','round','initData','reconnect','locale','_hasSynchronizationProblem','slice','forEach','8eNjRQr','InsertOperation','set','lastOperationAcceptedAt','realtimecollaborationclient-init-service-internal-error','remove','end','_knownRootNames','reset','operationsReceived','toJSON','serverHistory','cloudServices.bundleVersion','multi-root-editor-root-attributes-no-root','off','permissions','_handleServerResponse','enableReadOnlyMode','type','currentDocumentSession','398263ourEcj','addOperation','_bufferedOperations','rootName','isDocumentOperation','affectedSelectable','fromJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_ignoredOperations','_sendBufferedOperationsDelayId','_initThrowingOnDataSet','_getAffectedRoot','_service','compress','get','_addKnownRoot','clone','plugins'];_0x4497=function(){return _0xf0f41b;};return _0x4497();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fd77e=_0x3246;(function(_0x418454,_0x592f8d){const _0x2fd496=_0x3246,_0x31aabc=_0x418454();while(!![]){try{const _0x43cf7f=-parseInt(_0x2fd496(0x169))/0x1*(-parseInt(_0x2fd496(0x184))/0x2)+-parseInt(_0x2fd496(0x17c))/0x3+-parseInt(_0x2fd496(0x185))/0x4+-parseInt(_0x2fd496(0x16b))/0x5+-parseInt(_0x2fd496(0x164))/0x6+parseInt(_0x2fd496(0x167))/0x7+-parseInt(_0x2fd496(0x177))/0x8*(-parseInt(_0x2fd496(0x187))/0x9);if(_0x43cf7f===_0x592f8d)break;else _0x31aabc['push'](_0x31aabc['shift']());}catch(_0x2ef77c){_0x31aabc['push'](_0x31aabc['shift']());}}}(_0xf53f,0x5c062));function _0xf53f(){const _0x572cf6=['requires','3475675wPqHkc','forEach','sessions-register-already-registered','orderNumber','sessionId','state','getUser','context','change:state','unregister','_users','role','8ieiRNM','channelConnectedUsers','mySessionId','_handleSessionRemove','getUserRole','1370412cEbFiX','isOfficialPlugin','connected','connection','values','size','_registeredSessions','isMe','78544DyVSwW','125116WLdgky','stopListening','4680567YJvASJ','getUserSessions','assign','delete','Sessions','register','init','allConnectedUsers','isPremiumPlugin','get','has','listenTo','channelSessions','sessions-unregister-not-exist','sessionAdd:','hiddenInPresenceList','_uniqueUsersCount','_handleSessionAdd','addUser','user','getUserBySessionId','remove','pluginName','fire','add','set','_createUser','205194QrYBrr','plugins','clear','3946236MFptQp','defineMe','13oUNunZ'];_0xf53f=function(){return _0x572cf6;};return _0xf53f();}import{ContextPlugin as _0x1ca577}from'ckeditor5/src/core.js';function _0x3246(_0x3d5c24,_0x4c3435){const _0xf53fe0=_0xf53f();return _0x3246=function(_0x32461e,_0x16a29){_0x32461e=_0x32461e-0x157;let _0x17a8d4=_0xf53fe0[_0x32461e];return _0x17a8d4;},_0x3246(_0x3d5c24,_0x4c3435);}import{Collection as _0x9c025f,CKEditorError as _0x43d89a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x224c8d}from'./websocketgateway.js';import{Users as _0x4ca89a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1ca577{[_0x2fd77e(0x193)];[_0x2fd77e(0x178)];[_0x2fd77e(0x18e)];[_0x2fd77e(0x182)];[_0x2fd77e(0x159)];[_0x2fd77e(0x175)];static get[_0x2fd77e(0x15f)](){const _0x5b22f5=_0x2fd77e;return _0x5b22f5(0x18b);}static get[_0x2fd77e(0x17d)](){return!0x0;}static get[_0x2fd77e(0x18f)](){return!0x0;}static get[_0x2fd77e(0x16a)](){return[_0x224c8d,_0x4ca89a];}constructor(_0x32eb52){const _0x1cf5b5=_0x2fd77e;super(_0x32eb52),this[_0x1cf5b5(0x193)]=new Map(),this[_0x1cf5b5(0x178)]=new Map(),this[_0x1cf5b5(0x18e)]=new _0x9c025f(),this[_0x1cf5b5(0x182)]=new Map(),this[_0x1cf5b5(0x159)]=0x0,this[_0x1cf5b5(0x175)]=this[_0x1cf5b5(0x172)][_0x1cf5b5(0x165)][_0x1cf5b5(0x190)](_0x4ca89a);}[_0x2fd77e(0x18d)](){const _0xfa9251=_0x2fd77e,_0x2291c6=this[_0xfa9251(0x172)][_0xfa9251(0x165)][_0xfa9251(0x190)](_0x224c8d);this[_0xfa9251(0x192)](_0x2291c6,_0xfa9251(0x173),(_0x5a623a,_0x4147f8,_0x3b69dc)=>{const _0x5cdac4=_0xfa9251;if(_0x5cdac4(0x17e)!==_0x3b69dc)this[_0x5cdac4(0x193)][_0x5cdac4(0x16c)](_0x105daa=>_0x105daa[_0x5cdac4(0x166)]()),this[_0x5cdac4(0x178)][_0x5cdac4(0x16c)](_0x46ae21=>_0x46ae21[_0x5cdac4(0x166)]()),this[_0x5cdac4(0x18e)][_0x5cdac4(0x166)]();else{for(const [_0x34523d,_0x9d2c26]of this[_0x5cdac4(0x182)])for(const _0x2a5a11 of _0x9d2c26)this[_0x5cdac4(0x15a)](_0x34523d,_0x2a5a11);}}),this[_0xfa9251(0x163)](_0x2291c6[_0xfa9251(0x17f)]['me'],!0x0);}[_0x2fd77e(0x18c)](_0x3881b2,_0x3e232c){const _0x5f54bb=_0x2fd77e;if(this[_0x5f54bb(0x182)][_0x5f54bb(0x191)](_0x3881b2))throw new _0x43d89a(_0x5f54bb(0x16d),null,{'channelId':_0x3881b2});this[_0x5f54bb(0x182)][_0x5f54bb(0x162)](_0x3881b2,_0x3e232c),this[_0x5f54bb(0x193)][_0x5f54bb(0x162)](_0x3881b2,new _0x9c025f()),this[_0x5f54bb(0x178)][_0x5f54bb(0x162)](_0x3881b2,new _0x9c025f()),this[_0x5f54bb(0x192)](_0x3e232c,_0x5f54bb(0x161),(_0x216dfa,_0x4b5ee1)=>this[_0x5f54bb(0x15a)](_0x3881b2,_0x4b5ee1)),this[_0x5f54bb(0x192)](_0x3e232c,_0x5f54bb(0x15e),(_0x53fc40,_0x1e5cc4)=>this[_0x5f54bb(0x17a)](_0x3881b2,_0x1e5cc4));for(const _0xee9edb of _0x3e232c)this[_0x5f54bb(0x15a)](_0x3881b2,_0xee9edb);}[_0x2fd77e(0x174)](_0x1acac7){const _0x7cd4ca=_0x2fd77e;if(!this[_0x7cd4ca(0x182)][_0x7cd4ca(0x191)](_0x1acac7))throw new _0x43d89a(_0x7cd4ca(0x194),null,{'channelId':_0x1acac7});const _0x330e1a=this[_0x7cd4ca(0x182)][_0x7cd4ca(0x190)](_0x1acac7);this[_0x7cd4ca(0x186)](_0x330e1a);for(const _0x2cbc06 of _0x330e1a)_0x7cd4ca(0x17e)===this[_0x7cd4ca(0x172)][_0x7cd4ca(0x165)][_0x7cd4ca(0x190)](_0x224c8d)[_0x7cd4ca(0x170)]&&this[_0x7cd4ca(0x17a)](_0x1acac7,_0x2cbc06);this[_0x7cd4ca(0x182)][_0x7cd4ca(0x18a)](_0x1acac7),this[_0x7cd4ca(0x193)][_0x7cd4ca(0x18a)](_0x1acac7),this[_0x7cd4ca(0x178)][_0x7cd4ca(0x18a)](_0x1acac7);}get[_0x2fd77e(0x179)](){const _0x1f42f2=_0x2fd77e;return this[_0x1f42f2(0x172)][_0x1f42f2(0x165)][_0x1f42f2(0x190)](_0x224c8d)[_0x1f42f2(0x17f)][_0x1f42f2(0x16f)];}[_0x2fd77e(0x15d)](_0x21f824){const _0x1bfc77=_0x2fd77e;for(const _0x520b34 of this[_0x1bfc77(0x193)][_0x1bfc77(0x180)]())for(const _0x331d41 of _0x520b34)if(_0x331d41['id']===_0x21f824)return _0x331d41[_0x1bfc77(0x15c)];}[_0x2fd77e(0x188)](_0x3a9222,_0x59253f){const _0x1c5b4b=_0x2fd77e,_0x44485d=_0x59253f?[this[_0x1c5b4b(0x193)][_0x1c5b4b(0x190)](_0x59253f)]:this[_0x1c5b4b(0x193)][_0x1c5b4b(0x180)](),_0x213899=new Set();for(const _0x302655 of _0x44485d)for(const _0x2e2491 of _0x302655)_0x2e2491[_0x1c5b4b(0x15c)]['id']===_0x3a9222['id']&&_0x213899[_0x1c5b4b(0x161)](_0x2e2491['id']);return _0x213899;}[_0x2fd77e(0x17b)](_0x71d3a0){const _0x3d3d82=_0x2fd77e;for(const _0x3f3d9a of this[_0x3d3d82(0x193)][_0x3d3d82(0x180)]())for(const _0x17fe6e of _0x3f3d9a)if(_0x17fe6e[_0x3d3d82(0x15c)]===_0x71d3a0)return _0x17fe6e[_0x3d3d82(0x176)];}[_0x2fd77e(0x15a)](_0x49abd4,_0x4353a6){const _0x53bac1=_0x2fd77e;if(_0x53bac1(0x17e)!==this[_0x53bac1(0x172)][_0x53bac1(0x165)][_0x53bac1(0x190)](_0x224c8d)[_0x53bac1(0x170)])return;const _0x4caf97=_0x4353a6[_0x53bac1(0x15c)],_0x2c09c4=this[_0x53bac1(0x175)][_0x53bac1(0x171)](_0x4caf97['id'])||this[_0x53bac1(0x163)](_0x4caf97),_0x3ba723=Object[_0x53bac1(0x189)]({},_0x4353a6,{'user':_0x2c09c4});if(this[_0x53bac1(0x193)][_0x53bac1(0x190)](_0x49abd4)[_0x53bac1(0x161)](_0x3ba723),!_0x4caf97[_0x53bac1(0x158)]){const _0x1f3735=this[_0x53bac1(0x178)][_0x53bac1(0x190)](_0x49abd4);_0x1f3735[_0x53bac1(0x191)](_0x2c09c4['id'])||_0x1f3735[_0x53bac1(0x161)](_0x2c09c4),this[_0x53bac1(0x18e)][_0x53bac1(0x191)](_0x2c09c4['id'])||_0x4caf97[_0x53bac1(0x158)]||this[_0x53bac1(0x18e)][_0x53bac1(0x161)](_0x2c09c4,_0x2c09c4[_0x53bac1(0x183)]?0x0:void 0x0);}this[_0x53bac1(0x160)](_0x53bac1(0x157)+_0x49abd4,{'channelId':_0x49abd4,'session':_0x3ba723});}[_0x2fd77e(0x17a)](_0x384a69,_0x2a29ab){const _0x86ee38=_0x2fd77e;if(_0x86ee38(0x17e)!==this[_0x86ee38(0x172)][_0x86ee38(0x165)][_0x86ee38(0x190)](_0x224c8d)[_0x86ee38(0x170)])return;const _0x54df2b=this[_0x86ee38(0x178)][_0x86ee38(0x190)](_0x384a69),_0x2d4d8a=_0x2a29ab[_0x86ee38(0x15c)];_0x2d4d8a['id']&&(this[_0x86ee38(0x193)][_0x86ee38(0x190)](_0x384a69)[_0x86ee38(0x15e)](_0x2a29ab['id']),_0x54df2b[_0x86ee38(0x191)](_0x2d4d8a['id'])&&!this[_0x86ee38(0x188)](_0x2d4d8a,_0x384a69)[_0x86ee38(0x181)]&&_0x54df2b[_0x86ee38(0x15e)](_0x2d4d8a['id']),this[_0x86ee38(0x18e)][_0x86ee38(0x190)](_0x2d4d8a['id'])&&!this[_0x86ee38(0x188)](_0x2d4d8a)[_0x86ee38(0x181)]&&this[_0x86ee38(0x18e)][_0x86ee38(0x15e)](_0x2d4d8a['id']));}[_0x2fd77e(0x163)](_0x22aef5,_0xc8fdc7){const _0x17d2c3=_0x2fd77e,_0x5caaa5=this[_0x17d2c3(0x175)][_0x17d2c3(0x15b)](_0x22aef5);return _0xc8fdc7&&this[_0x17d2c3(0x175)][_0x17d2c3(0x168)](_0x22aef5['id']),_0x5caaa5[_0x17d2c3(0x16e)]=this[_0x17d2c3(0x159)]++,_0x5caaa5;}}
23
+ const _0x27aabd=_0x563a;function _0x563a(_0x6ac2b7,_0x278074){const _0x1b27b7=_0x1b27();return _0x563a=function(_0x563a30,_0x3ad9f5){_0x563a30=_0x563a30-0x1a5;let _0x4e6d08=_0x1b27b7[_0x563a30];return _0x4e6d08;},_0x563a(_0x6ac2b7,_0x278074);}(function(_0x39b53b,_0x3d615a){const _0x6e5bc7=_0x563a,_0x3f566b=_0x39b53b();while(!![]){try{const _0x33d5ed=parseInt(_0x6e5bc7(0x1b1))/0x1+-parseInt(_0x6e5bc7(0x1cf))/0x2*(parseInt(_0x6e5bc7(0x1d7))/0x3)+-parseInt(_0x6e5bc7(0x1cd))/0x4+parseInt(_0x6e5bc7(0x1c7))/0x5+parseInt(_0x6e5bc7(0x1d9))/0x6+parseInt(_0x6e5bc7(0x1e1))/0x7+parseInt(_0x6e5bc7(0x1b4))/0x8;if(_0x33d5ed===_0x3d615a)break;else _0x3f566b['push'](_0x3f566b['shift']());}catch(_0x54b47f){_0x3f566b['push'](_0x3f566b['shift']());}}}(_0x1b27,0x20f03));import{ContextPlugin as _0x3adca2}from'ckeditor5/src/core.js';function _0x1b27(){const _0x4303c9=['251176eYgerH','init','defineMe','user','connected','pluginName','channelConnectedUsers','_createUser','sessions-register-already-registered','has','values','getUserBySessionId','isMe','forEach','sessionId','hiddenInPresenceList','Sessions','addUser','add','180420zptFOE','fire','_handleSessionAdd','_uniqueUsersCount','get','unregister','240884oxOfGD','allConnectedUsers','143510IGsDdd','delete','getUserRole','mySessionId','context','register','plugins','clear','3SDpAHF','requires','201846xSeGWS','isPremiumPlugin','state','_registeredSessions','orderNumber','_handleSessionRemove','assign','set','965412LvfFxA','getUser','role','channelSessions','listenTo','remove','_users','change:state','sessionAdd:','size','stopListening','getUserSessions','isOfficialPlugin','27853moiIzC','sessions-unregister-not-exist','connection'];_0x1b27=function(){return _0x4303c9;};return _0x1b27();}import{Collection as _0x13a6a0,CKEditorError as _0x4a168a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4797ec}from'./websocketgateway.js';import{Users as _0x543392}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3adca2{[_0x27aabd(0x1a7)];[_0x27aabd(0x1ba)];[_0x27aabd(0x1ce)];[_0x27aabd(0x1dc)];[_0x27aabd(0x1ca)];[_0x27aabd(0x1aa)];static get[_0x27aabd(0x1b9)](){const _0x4764df=_0x27aabd;return _0x4764df(0x1c4);}static get[_0x27aabd(0x1b0)](){return!0x0;}static get[_0x27aabd(0x1da)](){return!0x0;}static get[_0x27aabd(0x1d8)](){return[_0x4797ec,_0x543392];}constructor(_0x53c9b0){const _0x5a566f=_0x27aabd;super(_0x53c9b0),this[_0x5a566f(0x1a7)]=new Map(),this[_0x5a566f(0x1ba)]=new Map(),this[_0x5a566f(0x1ce)]=new _0x13a6a0(),this[_0x5a566f(0x1dc)]=new Map(),this[_0x5a566f(0x1ca)]=0x0,this[_0x5a566f(0x1aa)]=this[_0x5a566f(0x1d3)][_0x5a566f(0x1d5)][_0x5a566f(0x1cb)](_0x543392);}[_0x27aabd(0x1b5)](){const _0x51d533=_0x27aabd,_0x3e732f=this[_0x51d533(0x1d3)][_0x51d533(0x1d5)][_0x51d533(0x1cb)](_0x4797ec);this[_0x51d533(0x1a8)](_0x3e732f,_0x51d533(0x1ab),(_0x50ee52,_0x24ab77,_0x1b7aec)=>{const _0x2ad2a4=_0x51d533;if(_0x2ad2a4(0x1b8)!==_0x1b7aec)this[_0x2ad2a4(0x1a7)][_0x2ad2a4(0x1c1)](_0x953fbf=>_0x953fbf[_0x2ad2a4(0x1d6)]()),this[_0x2ad2a4(0x1ba)][_0x2ad2a4(0x1c1)](_0x741e49=>_0x741e49[_0x2ad2a4(0x1d6)]()),this[_0x2ad2a4(0x1ce)][_0x2ad2a4(0x1d6)]();else{for(const [_0xcb81d9,_0x26d8b9]of this[_0x2ad2a4(0x1dc)])for(const _0x2eeef9 of _0x26d8b9)this[_0x2ad2a4(0x1c9)](_0xcb81d9,_0x2eeef9);}}),this[_0x51d533(0x1bb)](_0x3e732f[_0x51d533(0x1b3)]['me'],!0x0);}[_0x27aabd(0x1d4)](_0x26c7d2,_0x24c186){const _0x3d8a0f=_0x27aabd;if(this[_0x3d8a0f(0x1dc)][_0x3d8a0f(0x1bd)](_0x26c7d2))throw new _0x4a168a(_0x3d8a0f(0x1bc),null,{'channelId':_0x26c7d2});this[_0x3d8a0f(0x1dc)][_0x3d8a0f(0x1e0)](_0x26c7d2,_0x24c186),this[_0x3d8a0f(0x1a7)][_0x3d8a0f(0x1e0)](_0x26c7d2,new _0x13a6a0()),this[_0x3d8a0f(0x1ba)][_0x3d8a0f(0x1e0)](_0x26c7d2,new _0x13a6a0()),this[_0x3d8a0f(0x1a8)](_0x24c186,_0x3d8a0f(0x1c6),(_0xf96bb8,_0x3c289a)=>this[_0x3d8a0f(0x1c9)](_0x26c7d2,_0x3c289a)),this[_0x3d8a0f(0x1a8)](_0x24c186,_0x3d8a0f(0x1a9),(_0x1ff93e,_0x8ae818)=>this[_0x3d8a0f(0x1de)](_0x26c7d2,_0x8ae818));for(const _0x4fb9f6 of _0x24c186)this[_0x3d8a0f(0x1c9)](_0x26c7d2,_0x4fb9f6);}[_0x27aabd(0x1cc)](_0x548ffc){const _0x5ed61e=_0x27aabd;if(!this[_0x5ed61e(0x1dc)][_0x5ed61e(0x1bd)](_0x548ffc))throw new _0x4a168a(_0x5ed61e(0x1b2),null,{'channelId':_0x548ffc});const _0xf86eea=this[_0x5ed61e(0x1dc)][_0x5ed61e(0x1cb)](_0x548ffc);this[_0x5ed61e(0x1ae)](_0xf86eea);for(const _0x465256 of _0xf86eea)_0x5ed61e(0x1b8)===this[_0x5ed61e(0x1d3)][_0x5ed61e(0x1d5)][_0x5ed61e(0x1cb)](_0x4797ec)[_0x5ed61e(0x1db)]&&this[_0x5ed61e(0x1de)](_0x548ffc,_0x465256);this[_0x5ed61e(0x1dc)][_0x5ed61e(0x1d0)](_0x548ffc),this[_0x5ed61e(0x1a7)][_0x5ed61e(0x1d0)](_0x548ffc),this[_0x5ed61e(0x1ba)][_0x5ed61e(0x1d0)](_0x548ffc);}get[_0x27aabd(0x1d2)](){const _0x2f38db=_0x27aabd;return this[_0x2f38db(0x1d3)][_0x2f38db(0x1d5)][_0x2f38db(0x1cb)](_0x4797ec)[_0x2f38db(0x1b3)][_0x2f38db(0x1c2)];}[_0x27aabd(0x1bf)](_0x252169){const _0x38e28d=_0x27aabd;for(const _0x308eb9 of this[_0x38e28d(0x1a7)][_0x38e28d(0x1be)]())for(const _0xc0eb09 of _0x308eb9)if(_0xc0eb09['id']===_0x252169)return _0xc0eb09[_0x38e28d(0x1b7)];}[_0x27aabd(0x1af)](_0xb5c714,_0x5b457f){const _0x5c88cc=_0x27aabd,_0x647990=_0x5b457f?[this[_0x5c88cc(0x1a7)][_0x5c88cc(0x1cb)](_0x5b457f)]:this[_0x5c88cc(0x1a7)][_0x5c88cc(0x1be)](),_0x23bcee=new Set();for(const _0x3eb60d of _0x647990)for(const _0x5629f9 of _0x3eb60d)_0x5629f9[_0x5c88cc(0x1b7)]['id']===_0xb5c714['id']&&_0x23bcee[_0x5c88cc(0x1c6)](_0x5629f9['id']);return _0x23bcee;}[_0x27aabd(0x1d1)](_0x44a57a){const _0x167f24=_0x27aabd;for(const _0x4e97ea of this[_0x167f24(0x1a7)][_0x167f24(0x1be)]())for(const _0x2f07f7 of _0x4e97ea)if(_0x2f07f7[_0x167f24(0x1b7)]===_0x44a57a)return _0x2f07f7[_0x167f24(0x1a6)];}[_0x27aabd(0x1c9)](_0x4207d1,_0x59ee16){const _0x189d11=_0x27aabd;if(_0x189d11(0x1b8)!==this[_0x189d11(0x1d3)][_0x189d11(0x1d5)][_0x189d11(0x1cb)](_0x4797ec)[_0x189d11(0x1db)])return;const _0x53eef1=_0x59ee16[_0x189d11(0x1b7)],_0x3f42fe=this[_0x189d11(0x1aa)][_0x189d11(0x1a5)](_0x53eef1['id'])||this[_0x189d11(0x1bb)](_0x53eef1),_0x16347f=Object[_0x189d11(0x1df)]({},_0x59ee16,{'user':_0x3f42fe});if(this[_0x189d11(0x1a7)][_0x189d11(0x1cb)](_0x4207d1)[_0x189d11(0x1c6)](_0x16347f),!_0x53eef1[_0x189d11(0x1c3)]){const _0x3034cb=this[_0x189d11(0x1ba)][_0x189d11(0x1cb)](_0x4207d1);_0x3034cb[_0x189d11(0x1bd)](_0x3f42fe['id'])||_0x3034cb[_0x189d11(0x1c6)](_0x3f42fe),this[_0x189d11(0x1ce)][_0x189d11(0x1bd)](_0x3f42fe['id'])||_0x53eef1[_0x189d11(0x1c3)]||this[_0x189d11(0x1ce)][_0x189d11(0x1c6)](_0x3f42fe,_0x3f42fe[_0x189d11(0x1c0)]?0x0:void 0x0);}this[_0x189d11(0x1c8)](_0x189d11(0x1ac)+_0x4207d1,{'channelId':_0x4207d1,'session':_0x16347f});}[_0x27aabd(0x1de)](_0x3dd1e6,_0x4cd007){const _0x415864=_0x27aabd;if(_0x415864(0x1b8)!==this[_0x415864(0x1d3)][_0x415864(0x1d5)][_0x415864(0x1cb)](_0x4797ec)[_0x415864(0x1db)])return;const _0x2346b9=this[_0x415864(0x1ba)][_0x415864(0x1cb)](_0x3dd1e6),_0x57fe8f=_0x4cd007[_0x415864(0x1b7)];_0x57fe8f['id']&&(this[_0x415864(0x1a7)][_0x415864(0x1cb)](_0x3dd1e6)[_0x415864(0x1a9)](_0x4cd007['id']),_0x2346b9[_0x415864(0x1bd)](_0x57fe8f['id'])&&!this[_0x415864(0x1af)](_0x57fe8f,_0x3dd1e6)[_0x415864(0x1ad)]&&_0x2346b9[_0x415864(0x1a9)](_0x57fe8f['id']),this[_0x415864(0x1ce)][_0x415864(0x1cb)](_0x57fe8f['id'])&&!this[_0x415864(0x1af)](_0x57fe8f)[_0x415864(0x1ad)]&&this[_0x415864(0x1ce)][_0x415864(0x1a9)](_0x57fe8f['id']));}[_0x27aabd(0x1bb)](_0x3f53cc,_0x286fbe){const _0x199bda=_0x27aabd,_0x377d9a=this[_0x199bda(0x1aa)][_0x199bda(0x1c5)](_0x3f53cc);return _0x286fbe&&this[_0x199bda(0x1aa)][_0x199bda(0x1b6)](_0x3f53cc['id']),_0x377d9a[_0x199bda(0x1dd)]=this[_0x199bda(0x1ca)]++,_0x377d9a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x206897=_0x5995;(function(_0x877c5c,_0x52d0c9){const _0x4064c5=_0x5995,_0x37b2c1=_0x877c5c();while(!![]){try{const _0x15f172=parseInt(_0x4064c5(0x19e))/0x1+-parseInt(_0x4064c5(0x163))/0x2+parseInt(_0x4064c5(0x1be))/0x3+-parseInt(_0x4064c5(0x1c5))/0x4*(parseInt(_0x4064c5(0x18b))/0x5)+-parseInt(_0x4064c5(0x1a5))/0x6*(-parseInt(_0x4064c5(0x1b6))/0x7)+parseInt(_0x4064c5(0x1c1))/0x8*(parseInt(_0x4064c5(0x1b7))/0x9)+-parseInt(_0x4064c5(0x170))/0xa;if(_0x15f172===_0x52d0c9)break;else _0x37b2c1['push'](_0x37b2c1['shift']());}catch(_0x4f3da0){_0x37b2c1['push'](_0x37b2c1['shift']());}}}(_0x1025,0x90a2b));import{Plugin as _0x450e94}from'ckeditor5/src/core.js';function _0x1025(){const _0x451191=['6dQATiQ','nodeAfter','getPositions','hasDomSelection','data-session-id','createElement','enqueueChange','contenteditable','addEventListener','rootName','tableCell','getStart','innerHTML','remove','deletionPosition','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','set','8045569xzbPRb','63FAzDXS','getCustomProperty','for','reconvertMarker','end','undo','detach','646599AeZkkb','selection','getAttribute','944536DowSQr','user:range:','user:position:','requires','408uwPZnj','toRange','delete','isDocumentOperation','mouseleave','mySessionId','getFirstRange','ck-user__selection','pluginName','highest','Escape','size','startsWith','document','markerToElement','isInline','getUserBySessionId','markerToHighlight','getNearestSelectionRange','_createdBatches','split','type','mapper','afterInit','view','$graveyard','spellcheck','span','plugins','marker','ck-user__marker-tooltip','removeMarker','add','fromRange','clear','markerNameToElements','user:','setAttribute','applyOperation','newRange','setCustomProperty','1134084nAVBQJ','getRange','name','markerRange','createUIElement','editing','change','get','isSimilar','isOfficialPlugin','schema','markerName','_domEmitter','10102980yYeyQB','update:user:range','getMarkerClass','ck-user__marker_hovered','isPremiumPlugin','createUserMarkerOperations','commands','isObject','orderNumber','stopListening','markers','render','hasContent','checkChild','addMarker','isCollapsed','user:range','getContainedElement','change:range','batch','textContent','outerHTML','UserMarkers','ck-user__marker\x20','root','updateMarker','editor','46585hrhnUV','model','user:position','toDomElement','getSelectionClass','parent','$text','classList','editingDowncast','start','oldRange','has','userPositionMarker','destroy','mouseenter','listenTo','false','keydown','init','928732ATBjHg','isLimit','element','removeClass','conversion','color','createRange'];_0x1025=function(){return _0x451191;};return _0x1025();}import{global as _0x40feb9,DomEmitterMixin as _0x57e05d}from'ckeditor5/src/utils.js';import{Sessions as _0x1d3c67}from'./sessions.js';import{ModelLiveRange as _0xb012ff}from'ckeditor5/src/engine.js';function _0x5995(_0x5b0480,_0x175e9b){const _0x102528=_0x1025();return _0x5995=function(_0x59958a,_0x1876b0){_0x59958a=_0x59958a-0x158;let _0x4394f6=_0x102528[_0x59958a];return _0x4394f6;},_0x5995(_0x5b0480,_0x175e9b);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x450e94{[_0x206897(0x16f)]=new(_0x57e05d())();static get[_0x206897(0x1c4)](){return[_0x1d3c67];}static get[_0x206897(0x1cd)](){const _0xe83449=_0x206897;return _0xe83449(0x186);}static get[_0x206897(0x16c)](){return!0x0;}static get[_0x206897(0x174)](){return!0x0;}[_0x206897(0x19d)](){const _0x2c2921=_0x206897,_0x12d321=this[_0x2c2921(0x18a)],_0x3c50c1=_0x12d321[_0x2c2921(0x1e1)][_0x2c2921(0x16a)](_0x1d3c67);_0x12d321[_0x2c2921(0x1a2)][_0x2c2921(0x1b9)](_0x2c2921(0x193))[_0x2c2921(0x1d3)]({'model':_0x2c2921(0x18d),'view':(_0x43fec1,{writer:_0x5142ac})=>function(_0x4b4aa8,_0x3d4905,_0x1ebba9,_0x5ef765){const _0x118af3=_0x2c2921,_0x5b9575=_0x4b4aa8[_0x118af3(0x16e)][_0x118af3(0x1d9)](':')[0x2],_0x46f55c=_0x1ebba9[_0x118af3(0x1d5)](_0x5b9575);if(!_0x46f55c||_0x5b9575===_0x1ebba9[_0x118af3(0x1ca)])return;if(!_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x16d)][_0x118af3(0x17d)](_0x4b4aa8[_0x118af3(0x166)][_0x118af3(0x194)],_0x118af3(0x191)))return;const _0x1fc1d5={'class':_0x118af3(0x187)+_0x46f55c[_0x118af3(0x1a3)][_0x118af3(0x172)](),'data-name':_0x46f55c[_0x118af3(0x165)],'data-session-id':_0x5b9575},_0x5915c8=_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x17a)][_0x118af3(0x16a)](_0x4b4aa8[_0x118af3(0x16e)]),_0xaa6fd6=_0x5915c8[_0x118af3(0x1b0)](),_0x345573=_0xaa6fd6[_0x118af3(0x1a6)],_0x22998f=_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x16d)];if(_0x345573&&_0x22998f[_0x118af3(0x177)](_0x345573)&&_0x22998f[_0x118af3(0x1d4)](_0x345573)&&!_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x17a)][_0x118af3(0x16a)](_0x118af3(0x1c2)+_0x5b9575)[_0x118af3(0x164)]()[_0x118af3(0x17f)])return;const _0x20e4cd=_0xaa6fd6[_0x118af3(0x190)];return _0x5ef765[_0x118af3(0x18c)][_0x118af3(0x16d)][_0x118af3(0x19f)](_0x20e4cd)&&!_0x5ef765[_0x118af3(0x18c)][_0x118af3(0x17c)](_0x20e4cd)&&(_0x1fc1d5[_0x118af3(0x1ac)]=!0x1),function(_0x23089d,_0xf47f18,_0x5b18dc){const _0x5e200e=_0x118af3,_0x3a7141=_0x23089d[_0x5e200e(0x167)](_0x5e200e(0x1e0),_0xf47f18);return _0x23089d[_0x5e200e(0x162)](_0x5e200e(0x197),!0x0,_0x3a7141),_0x3a7141[_0x5e200e(0x17b)]=function(_0x3230e9){const _0x475536=_0x5e200e,_0x391743=this[_0x475536(0x18e)](_0x3230e9),_0x1e8ef9=document[_0x475536(0x1aa)](_0x475536(0x1e0));return _0x1e8ef9[_0x475536(0x192)][_0x475536(0x15a)](_0x475536(0x158)),_0x1e8ef9[_0x475536(0x15f)](_0x475536(0x1ac),_0x475536(0x19b)),_0x1e8ef9[_0x475536(0x15f)](_0x475536(0x1df),_0x475536(0x19b)),_0x1e8ef9[_0x475536(0x184)]=_0x5b18dc[_0x475536(0x165)],_0x391743[_0x475536(0x1b1)]=_0x475536(0x1b4)+_0x1e8ef9[_0x475536(0x185)]+'⁠',_0x391743[_0x475536(0x1ad)](_0x475536(0x199),()=>{const _0x1b24a0=_0x475536;_0x391743[_0x1b24a0(0x192)][_0x1b24a0(0x15a)](_0x1b24a0(0x173));}),_0x391743[_0x475536(0x1ad)](_0x475536(0x1c9),()=>{const _0x41738a=_0x475536;_0x391743[_0x41738a(0x192)][_0x41738a(0x1b2)](_0x41738a(0x173));}),_0x391743;},_0x3a7141[_0x5e200e(0x16b)]=function(_0x48dce6){const _0x20398a=_0x5e200e;return!(!this[_0x20398a(0x1b8)](_0x20398a(0x197))||!_0x48dce6[_0x20398a(0x1b8)](_0x20398a(0x197))||this[_0x20398a(0x1c0)](_0x20398a(0x1a9))!=_0x48dce6[_0x20398a(0x1c0)](_0x20398a(0x1a9)));},_0x3a7141;}(_0x3d4905,_0x1fc1d5,_0x46f55c);}(_0x43fec1,_0x5142ac,_0x3c50c1,_0x12d321)}),_0x12d321[_0x2c2921(0x1a2)][_0x2c2921(0x1b9)](_0x2c2921(0x193))[_0x2c2921(0x1d6)]({'model':_0x2c2921(0x180),'view':_0x33e6ec=>function(_0x29805f,_0xb0e2ce){const _0x940647=_0x2c2921,_0x43bb2e=_0x29805f[_0x940647(0x16e)][_0x940647(0x1d9)](':')[0x2];if(_0x43bb2e===_0xb0e2ce[_0x940647(0x1ca)])return null;const _0x267abb=_0xb0e2ce[_0x940647(0x1d5)](_0x43bb2e);if(!_0x267abb)return{'id':_0x43bb2e,'classes':[]};return{'id':_0x43bb2e,'classes':[_0x940647(0x1cc),_0x267abb[_0x940647(0x1a3)][_0x940647(0x18f)]()],'attributes':{'data-session-id':_0x43bb2e},'priority':0x7d0+_0x267abb[_0x940647(0x178)]};}(_0x33e6ec,_0x3c50c1)}),function(_0x5a6cfc){const _0x39da52=_0x2c2921,_0x1030df=_0x5a6cfc[_0x39da52(0x18c)],_0x4078e9=new Map(),_0x181c0e=_0x5a6cfc[_0x39da52(0x1e1)][_0x39da52(0x16a)](_0x1d3c67);_0x1030df[_0x39da52(0x17a)]['on'](_0x39da52(0x171),(_0x361883,_0x59b64f,_0x3f045f,_0x22ff9c)=>{const _0x1495ca=_0x39da52;if(!_0x22ff9c&&_0x4078e9[_0x1495ca(0x16a)](_0x59b64f[_0x1495ca(0x165)]))return _0x4078e9[_0x1495ca(0x16a)](_0x59b64f[_0x1495ca(0x165)])[_0x1495ca(0x1bd)](),void _0x4078e9[_0x1495ca(0x1c7)](_0x59b64f[_0x1495ca(0x165)]);const _0x2f8d4c=_0x59b64f[_0x1495ca(0x165)][_0x1495ca(0x1d9)](':')[0x2];if(_0x2f8d4c===_0x181c0e[_0x1495ca(0x1ca)])return;const _0x520438=_0x1495ca(0x1c3)+_0x2f8d4c;_0x1030df[_0x1495ca(0x17a)][_0x1495ca(0x196)](_0x520438)&&_0x5a6cfc[_0x1495ca(0x168)][_0x1495ca(0x1ba)](_0x520438),_0x59b64f['on'](_0x1495ca(0x182),(_0xf988a5,_0x403de1,_0x156982)=>{const _0x599a95=_0x1495ca;if(_0x599a95(0x1de)!=_0x403de1[_0x599a95(0x188)][_0x599a95(0x1ae)]&&_0x599a95(0x1de)==_0x59b64f[_0x599a95(0x164)]()[_0x599a95(0x188)][_0x599a95(0x1ae)]&&!_0x4078e9[_0x599a95(0x196)](_0x59b64f[_0x599a95(0x165)])){const _0x4c1e8b=_0x1030df[_0x599a95(0x16d)][_0x599a95(0x1d7)](_0x156982[_0x599a95(0x1b3)]);if(_0x4c1e8b){const _0xc53b57=_0xb012ff[_0x599a95(0x15b)](_0x4c1e8b);_0x4078e9[_0x599a95(0x1b5)](_0x59b64f[_0x599a95(0x165)],_0xc53b57),_0xc53b57['on'](_0x599a95(0x182),(_0x20fd5c,_0x58b536,_0xba9f86)=>{const _0x314309=_0x599a95;if(_0x314309(0x1de)==_0xc53b57[_0x314309(0x188)][_0x314309(0x1ae)]){const _0x3b38d5=_0x1030df[_0x314309(0x16d)][_0x314309(0x1d7)](_0xba9f86[_0x314309(0x1b3)]);_0x3b38d5?(_0xc53b57[_0x314309(0x194)]=_0x3b38d5[_0x314309(0x194)],_0xc53b57[_0x314309(0x1bb)]=_0x3b38d5[_0x314309(0x1bb)]):(_0x4078e9[_0x314309(0x1c7)](_0x59b64f[_0x314309(0x165)]),_0xc53b57[_0x314309(0x1bd)]());}});}}});}),_0x1030df[_0x39da52(0x1d2)]['on'](_0x39da52(0x169),()=>{const _0x3e6daa=_0x39da52;_0x4078e9[_0x3e6daa(0x1d0)]>0x0&&_0x1030df[_0x3e6daa(0x1ab)]({'isUndoable':!0x1},_0x528bec=>{const _0x52ceab=_0x3e6daa;for(const [_0x2a8366,_0xa19b2a]of _0x4078e9)_0x52ceab(0x1de)==_0x1030df[_0x52ceab(0x17a)][_0x52ceab(0x16a)](_0x2a8366)[_0x52ceab(0x164)]()[_0x52ceab(0x188)][_0x52ceab(0x1ae)]&&(te(_0x2a8366[_0x52ceab(0x1d9)](':')[0x2],_0xa19b2a[_0x52ceab(0x1c6)](),_0x1030df,_0x528bec),_0xa19b2a[_0x52ceab(0x1bd)]());_0x4078e9[_0x52ceab(0x15c)]();});});}(_0x12d321),this[_0x2c2921(0x16f)][_0x2c2921(0x19a)](_0x40feb9[_0x2c2921(0x1d2)],_0x2c2921(0x19c),(_0xa2924d,{key:_0x3ddaae})=>{const _0x2b4ca8=_0x2c2921;_0x2b4ca8(0x1cf)===_0x3ddaae&&function(_0x4e9f4f){const _0x1a5fbd=_0x2b4ca8;_0x4e9f4f[_0x1a5fbd(0x168)][_0x1a5fbd(0x1dd)][_0x1a5fbd(0x169)](_0x281d79=>{const _0x571392=_0x1a5fbd;for(const _0x4cf982 of _0x4e9f4f[_0x571392(0x18c)][_0x571392(0x17a)]){if(!_0x4cf982[_0x571392(0x165)][_0x571392(0x1d1)](_0x571392(0x18d)))continue;const _0x879e8c=_0x4e9f4f[_0x571392(0x168)][_0x571392(0x1db)][_0x571392(0x15d)](_0x4cf982[_0x571392(0x165)]);if(_0x879e8c){for(const _0x4f96c3 of _0x879e8c)_0x281d79[_0x571392(0x1a1)](_0x571392(0x173),_0x4f96c3);}}});}(_0x12d321);},{'useCapture':!0x0});}[_0x206897(0x1dc)](){const _0x297f50=_0x206897,_0x2e250d=this[_0x297f50(0x18a)],_0x2dd017=_0x2e250d[_0x297f50(0x176)][_0x297f50(0x16a)](_0x297f50(0x1bc));_0x2dd017&&_0x2e250d[_0x297f50(0x18c)]['on'](_0x297f50(0x160),(_0x15eb90,_0x5ad9e1)=>{const _0x32da22=_0x297f50,_0xe09d1a=_0x5ad9e1[0x0];if(!_0xe09d1a[_0x32da22(0x1c8)])return;if(_0x32da22(0x1e2)!=_0xe09d1a[_0x32da22(0x1da)]||!_0xe09d1a[_0x32da22(0x165)][_0x32da22(0x1d1)](_0x32da22(0x15e)))return;const _0x3cb6f6=_0xe09d1a[_0x32da22(0x183)];_0x2dd017[_0x32da22(0x1d8)][_0x32da22(0x196)](_0x3cb6f6)&&(_0xe09d1a[_0x32da22(0x161)]=_0xe09d1a[_0x32da22(0x195)]?_0x2e250d[_0x32da22(0x18c)][_0x32da22(0x1a4)](_0xe09d1a[_0x32da22(0x195)][_0x32da22(0x194)],_0xe09d1a[_0x32da22(0x195)][_0x32da22(0x1bb)]):null);},{'priority':_0x297f50(0x1ce)});}[_0x206897(0x198)](){const _0xaadc50=_0x206897;return this[_0xaadc50(0x16f)][_0xaadc50(0x179)](),super[_0xaadc50(0x198)]();}[_0x206897(0x175)](){const _0x36b985=_0x206897,_0x1f9c6a=this[_0x36b985(0x18a)],_0x198ef1=_0x1f9c6a[_0x36b985(0x18c)][_0x36b985(0x1d2)],_0x4db3d2=_0x1f9c6a[_0x36b985(0x1e1)][_0x36b985(0x16a)](_0x1d3c67);_0x1f9c6a[_0x36b985(0x18c)][_0x36b985(0x1ab)]({'isUndoable':!0x1},_0x4bdb8e=>{const _0x5ba17a=_0x36b985,_0x57eab1=_0x5ba17a(0x1c2)+_0x4db3d2[_0x5ba17a(0x1ca)],_0x22ee5f=_0x5ba17a(0x1c3)+_0x4db3d2[_0x5ba17a(0x1ca)],_0x39ba49=_0x1f9c6a[_0x5ba17a(0x18c)][_0x5ba17a(0x17a)][_0x5ba17a(0x196)](_0x57eab1);_0x1f9c6a[_0x5ba17a(0x168)][_0x5ba17a(0x1dd)][_0x5ba17a(0x1a8)]?te(_0x4db3d2[_0x5ba17a(0x1ca)],_0x198ef1[_0x5ba17a(0x1bf)][_0x5ba17a(0x1cb)](),_0x1f9c6a[_0x5ba17a(0x18c)],_0x4bdb8e):_0x39ba49&&(_0x4bdb8e[_0x5ba17a(0x159)](_0x57eab1),_0x4bdb8e[_0x5ba17a(0x159)](_0x22ee5f));});}}function te(_0xa7d634,_0x3a9036,_0x2cf520,_0x392fd1){const _0x1c8ce6=_0x206897,_0x3d91b8=_0x1c8ce6(0x1c2)+_0xa7d634,_0x1e01e4=_0x1c8ce6(0x1c3)+_0xa7d634,_0x3f2684=_0x3a9036[_0x1c8ce6(0x181)]();let _0x3d0f9b=_0x3a9036[_0x1c8ce6(0x194)];if(_0x3f2684&&_0x3f2684['is'](_0x1c8ce6(0x1a0),_0x1c8ce6(0x1af))){const _0x12b865=function(_0x777c33,_0x35d747){const _0xb6eb79=_0x1c8ce6;for(const _0x53e47e of _0x777c33[_0xb6eb79(0x1a7)]())if(_0x35d747[_0xb6eb79(0x16d)][_0xb6eb79(0x17d)](_0x53e47e,_0xb6eb79(0x191)))return _0x53e47e;}(_0x3a9036,_0x2cf520);_0x12b865&&(_0x3d0f9b=_0x12b865,_0x3a9036=_0x392fd1[_0x1c8ce6(0x1a4)](_0x3d0f9b));}const _0x3b5e90=_0x392fd1[_0x1c8ce6(0x1a4)](_0x3d0f9b);_0x2cf520[_0x1c8ce6(0x17a)][_0x1c8ce6(0x196)](_0x3d91b8)?(_0x392fd1[_0x1c8ce6(0x189)](_0x3d91b8,{'range':_0x3a9036}),_0x392fd1[_0x1c8ce6(0x189)](_0x1e01e4,{'range':_0x3b5e90})):(_0x392fd1[_0x1c8ce6(0x17e)](_0x3d91b8,{'range':_0x3a9036,'usingOperation':!0x0}),_0x392fd1[_0x1c8ce6(0x17e)](_0x1e01e4,{'range':_0x3b5e90,'usingOperation':!0x0}));}
23
+ const _0x4a7cd1=_0x5866;(function(_0x1c3ab4,_0x59c10f){const _0x22ea8c=_0x5866,_0x2a175b=_0x1c3ab4();while(!![]){try{const _0x367ff3=parseInt(_0x22ea8c(0x125))/0x1+-parseInt(_0x22ea8c(0x13b))/0x2+parseInt(_0x22ea8c(0x120))/0x3*(-parseInt(_0x22ea8c(0x12d))/0x4)+-parseInt(_0x22ea8c(0x17a))/0x5+parseInt(_0x22ea8c(0x159))/0x6*(parseInt(_0x22ea8c(0x13a))/0x7)+-parseInt(_0x22ea8c(0x118))/0x8*(-parseInt(_0x22ea8c(0x183))/0x9)+-parseInt(_0x22ea8c(0x15a))/0xa;if(_0x367ff3===_0x59c10f)break;else _0x2a175b['push'](_0x2a175b['shift']());}catch(_0x135165){_0x2a175b['push'](_0x2a175b['shift']());}}}(_0x173e,0x5e5e5));import{Plugin as _0x1d4b66}from'ckeditor5/src/core.js';import{global as _0x5113fe,DomEmitterMixin as _0x2e6ea8}from'ckeditor5/src/utils.js';function _0x173e(){const _0x2839ec=['990600fngrIU','parent','getSelectionClass','type','ck-user__marker_hovered','spellcheck','markerRange','_createdBatches','span','5804991jzyDMR','oldRange','rootName','setCustomProperty','checkChild','Escape','isPremiumPlugin','user:range:','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getMarkerClass','delete','isCollapsed','undo','addMarker','end','name','remove','getStart','user:position:','enqueueChange','applyOperation','contenteditable','createUserMarkerOperations','user:range','schema','plugins','markerNameToElements','element','mySessionId','getNearestSelectionRange','data-session-id','createRange','8FIElhU','getPositions','isLimit','ck-user__marker-tooltip','getContainedElement','updateMarker','false','update:user:range','9jgxviz','fromRange','user:position','deletionPosition','split','401656tZQcek','nodeAfter','listenTo','document','render','removeMarker','conversion','removeClass','126708SrYkAg','detach','UserMarkers','pluginName','userPositionMarker','change','newRange','highest','innerHTML','toDomElement','selection','setAttribute','afterInit','35jPzVSz','161960soVqZV','markerToHighlight','markerToElement','requires','editingDowncast','toRange','editing','stopListening','size','start','clear','reconvertMarker','isInline','set','user:','has','add','ck-user__marker\x20','for','marker','_domEmitter','ck-user__selection','mouseleave','root','createElement','getFirstRange','destroy','getRange','markers','editor','425562sCFMOv','6406260zGUlse','markerName','startsWith','hasDomSelection','init','outerHTML','isObject','isSimilar','mouseenter','model','mapper','commands','getUserBySessionId','isOfficialPlugin','getAttribute','createUIElement','$text','view','keydown','tableCell','color','batch','addEventListener','getCustomProperty','orderNumber','hasContent','$graveyard','textContent','change:range','classList','get','isDocumentOperation'];_0x173e=function(){return _0x2839ec;};return _0x173e();}import{Sessions as _0x57e5b1}from'./sessions.js';import{ModelLiveRange as _0x9e3660}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x1d4b66{[_0x4a7cd1(0x14f)]=new(_0x2e6ea8())();static get[_0x4a7cd1(0x13e)](){return[_0x57e5b1];}static get[_0x4a7cd1(0x130)](){const _0x29e295=_0x4a7cd1;return _0x29e295(0x12f);}static get[_0x4a7cd1(0x167)](){return!0x0;}static get[_0x4a7cd1(0x189)](){return!0x0;}[_0x4a7cd1(0x15e)](){const _0x4f90ee=_0x4a7cd1,_0xe1f977=this[_0x4f90ee(0x158)],_0x5918fa=_0xe1f977[_0x4f90ee(0x111)][_0x4f90ee(0x178)](_0x57e5b1);_0xe1f977[_0x4f90ee(0x12b)][_0x4f90ee(0x14d)](_0x4f90ee(0x13f))[_0x4f90ee(0x13d)]({'model':_0x4f90ee(0x122),'view':(_0x307100,{writer:_0x400ed6})=>function(_0x3ba9a5,_0x580cf2,_0x30db72,_0x10b298){const _0x33eb8f=_0x4f90ee,_0x22b7ec=_0x3ba9a5[_0x33eb8f(0x15b)][_0x33eb8f(0x124)](':')[0x2],_0x4f136c=_0x30db72[_0x33eb8f(0x166)](_0x22b7ec);if(!_0x4f136c||_0x22b7ec===_0x30db72[_0x33eb8f(0x114)])return;if(!_0x10b298[_0x33eb8f(0x163)][_0x33eb8f(0x19b)][_0x33eb8f(0x187)](_0x3ba9a5[_0x33eb8f(0x180)][_0x33eb8f(0x144)],_0x33eb8f(0x16a)))return;const _0x2d6350={'class':_0x33eb8f(0x14c)+_0x4f136c[_0x33eb8f(0x16e)][_0x33eb8f(0x18c)](),'data-name':_0x4f136c[_0x33eb8f(0x192)],'data-session-id':_0x22b7ec},_0x5976b8=_0x10b298[_0x33eb8f(0x163)][_0x33eb8f(0x157)][_0x33eb8f(0x178)](_0x3ba9a5[_0x33eb8f(0x15b)]),_0x263b89=_0x5976b8[_0x33eb8f(0x194)](),_0x5de52c=_0x263b89[_0x33eb8f(0x126)],_0x4ff729=_0x10b298[_0x33eb8f(0x163)][_0x33eb8f(0x19b)];if(_0x5de52c&&_0x4ff729[_0x33eb8f(0x160)](_0x5de52c)&&_0x4ff729[_0x33eb8f(0x147)](_0x5de52c)&&!_0x10b298[_0x33eb8f(0x163)][_0x33eb8f(0x157)][_0x33eb8f(0x178)](_0x33eb8f(0x18a)+_0x22b7ec)[_0x33eb8f(0x156)]()[_0x33eb8f(0x18e)])return;const _0x5b93c9=_0x263b89[_0x33eb8f(0x17b)];return _0x10b298[_0x33eb8f(0x163)][_0x33eb8f(0x19b)][_0x33eb8f(0x11a)](_0x5b93c9)&&!_0x10b298[_0x33eb8f(0x163)][_0x33eb8f(0x173)](_0x5b93c9)&&(_0x2d6350[_0x33eb8f(0x198)]=!0x1),function(_0x3cde66,_0x2872d2,_0x58f0a0){const _0x507452=_0x33eb8f,_0x58bd6c=_0x3cde66[_0x507452(0x169)](_0x507452(0x182),_0x2872d2);return _0x3cde66[_0x507452(0x186)](_0x507452(0x131),!0x0,_0x58bd6c),_0x58bd6c[_0x507452(0x129)]=function(_0x1b878d){const _0x2c78cc=_0x507452,_0x304898=this[_0x2c78cc(0x136)](_0x1b878d),_0x498798=document[_0x2c78cc(0x153)](_0x2c78cc(0x182));return _0x498798[_0x2c78cc(0x177)][_0x2c78cc(0x14b)](_0x2c78cc(0x11b)),_0x498798[_0x2c78cc(0x138)](_0x2c78cc(0x198),_0x2c78cc(0x11e)),_0x498798[_0x2c78cc(0x138)](_0x2c78cc(0x17f),_0x2c78cc(0x11e)),_0x498798[_0x2c78cc(0x175)]=_0x58f0a0[_0x2c78cc(0x192)],_0x304898[_0x2c78cc(0x135)]=_0x2c78cc(0x18b)+_0x498798[_0x2c78cc(0x15f)]+'⁠',_0x304898[_0x2c78cc(0x170)](_0x2c78cc(0x162),()=>{const _0x4d6581=_0x2c78cc;_0x304898[_0x4d6581(0x177)][_0x4d6581(0x14b)](_0x4d6581(0x17e));}),_0x304898[_0x2c78cc(0x170)](_0x2c78cc(0x151),()=>{const _0x472554=_0x2c78cc;_0x304898[_0x472554(0x177)][_0x472554(0x193)](_0x472554(0x17e));}),_0x304898;},_0x58bd6c[_0x507452(0x161)]=function(_0x6526c2){const _0x228814=_0x507452;return!(!this[_0x228814(0x171)](_0x228814(0x131))||!_0x6526c2[_0x228814(0x171)](_0x228814(0x131))||this[_0x228814(0x168)](_0x228814(0x116))!=_0x6526c2[_0x228814(0x168)](_0x228814(0x116)));},_0x58bd6c;}(_0x580cf2,_0x2d6350,_0x4f136c);}(_0x307100,_0x400ed6,_0x5918fa,_0xe1f977)}),_0xe1f977[_0x4f90ee(0x12b)][_0x4f90ee(0x14d)](_0x4f90ee(0x13f))[_0x4f90ee(0x13c)]({'model':_0x4f90ee(0x19a),'view':_0x248e90=>function(_0x3cbdbb,_0x344f7c){const _0x129d67=_0x4f90ee,_0x59b72e=_0x3cbdbb[_0x129d67(0x15b)][_0x129d67(0x124)](':')[0x2];if(_0x59b72e===_0x344f7c[_0x129d67(0x114)])return null;const _0x498ef5=_0x344f7c[_0x129d67(0x166)](_0x59b72e);if(!_0x498ef5)return{'id':_0x59b72e,'classes':[]};return{'id':_0x59b72e,'classes':[_0x129d67(0x150),_0x498ef5[_0x129d67(0x16e)][_0x129d67(0x17c)]()],'attributes':{'data-session-id':_0x59b72e},'priority':0x7d0+_0x498ef5[_0x129d67(0x172)]};}(_0x248e90,_0x5918fa)}),function(_0x2625f9){const _0x297010=_0x4f90ee,_0x569307=_0x2625f9[_0x297010(0x163)],_0x3a5db3=new Map(),_0x3b21a9=_0x2625f9[_0x297010(0x111)][_0x297010(0x178)](_0x57e5b1);_0x569307[_0x297010(0x157)]['on'](_0x297010(0x11f),(_0x5e589e,_0x20f965,_0x5bdb66,_0x28273f)=>{const _0x4518a1=_0x297010;if(!_0x28273f&&_0x3a5db3[_0x4518a1(0x178)](_0x20f965[_0x4518a1(0x192)]))return _0x3a5db3[_0x4518a1(0x178)](_0x20f965[_0x4518a1(0x192)])[_0x4518a1(0x12e)](),void _0x3a5db3[_0x4518a1(0x18d)](_0x20f965[_0x4518a1(0x192)]);const _0x5e8450=_0x20f965[_0x4518a1(0x192)][_0x4518a1(0x124)](':')[0x2];if(_0x5e8450===_0x3b21a9[_0x4518a1(0x114)])return;const _0x17362d=_0x4518a1(0x195)+_0x5e8450;_0x569307[_0x4518a1(0x157)][_0x4518a1(0x14a)](_0x17362d)&&_0x2625f9[_0x4518a1(0x141)][_0x4518a1(0x146)](_0x17362d),_0x20f965['on'](_0x4518a1(0x176),(_0xc3ed76,_0x31909a,_0x239f51)=>{const _0x1cd3ca=_0x4518a1;if(_0x1cd3ca(0x174)!=_0x31909a[_0x1cd3ca(0x152)][_0x1cd3ca(0x185)]&&_0x1cd3ca(0x174)==_0x20f965[_0x1cd3ca(0x156)]()[_0x1cd3ca(0x152)][_0x1cd3ca(0x185)]&&!_0x3a5db3[_0x1cd3ca(0x14a)](_0x20f965[_0x1cd3ca(0x192)])){const _0x1f729d=_0x569307[_0x1cd3ca(0x19b)][_0x1cd3ca(0x115)](_0x239f51[_0x1cd3ca(0x123)]);if(_0x1f729d){const _0x526634=_0x9e3660[_0x1cd3ca(0x121)](_0x1f729d);_0x3a5db3[_0x1cd3ca(0x148)](_0x20f965[_0x1cd3ca(0x192)],_0x526634),_0x526634['on'](_0x1cd3ca(0x176),(_0x1848ad,_0x543dd5,_0x5534b7)=>{const _0x216c77=_0x1cd3ca;if(_0x216c77(0x174)==_0x526634[_0x216c77(0x152)][_0x216c77(0x185)]){const _0x39bd95=_0x569307[_0x216c77(0x19b)][_0x216c77(0x115)](_0x5534b7[_0x216c77(0x123)]);_0x39bd95?(_0x526634[_0x216c77(0x144)]=_0x39bd95[_0x216c77(0x144)],_0x526634[_0x216c77(0x191)]=_0x39bd95[_0x216c77(0x191)]):(_0x3a5db3[_0x216c77(0x18d)](_0x20f965[_0x216c77(0x192)]),_0x526634[_0x216c77(0x12e)]());}});}}});}),_0x569307[_0x297010(0x128)]['on'](_0x297010(0x132),()=>{const _0x303ead=_0x297010;_0x3a5db3[_0x303ead(0x143)]>0x0&&_0x569307[_0x303ead(0x196)]({'isUndoable':!0x1},_0x5bc6bb=>{const _0x4526d5=_0x303ead;for(const [_0xe258ab,_0x5cd5f2]of _0x3a5db3)_0x4526d5(0x174)==_0x569307[_0x4526d5(0x157)][_0x4526d5(0x178)](_0xe258ab)[_0x4526d5(0x156)]()[_0x4526d5(0x152)][_0x4526d5(0x185)]&&(J(_0xe258ab[_0x4526d5(0x124)](':')[0x2],_0x5cd5f2[_0x4526d5(0x140)](),_0x569307,_0x5bc6bb),_0x5cd5f2[_0x4526d5(0x12e)]());_0x3a5db3[_0x4526d5(0x145)]();});});}(_0xe1f977),this[_0x4f90ee(0x14f)][_0x4f90ee(0x127)](_0x5113fe[_0x4f90ee(0x128)],_0x4f90ee(0x16c),(_0x47fc7d,{key:_0x13bc74})=>{const _0x55757e=_0x4f90ee;_0x55757e(0x188)===_0x13bc74&&function(_0x5b1ef1){const _0x4ed4f6=_0x55757e;_0x5b1ef1[_0x4ed4f6(0x141)][_0x4ed4f6(0x16b)][_0x4ed4f6(0x132)](_0x1bca8e=>{const _0x281945=_0x4ed4f6;for(const _0x2b0b23 of _0x5b1ef1[_0x281945(0x163)][_0x281945(0x157)]){if(!_0x2b0b23[_0x281945(0x192)][_0x281945(0x15c)](_0x281945(0x122)))continue;const _0x9b19ff=_0x5b1ef1[_0x281945(0x141)][_0x281945(0x164)][_0x281945(0x112)](_0x2b0b23[_0x281945(0x192)]);if(_0x9b19ff){for(const _0x4e7f67 of _0x9b19ff)_0x1bca8e[_0x281945(0x12c)](_0x281945(0x17e),_0x4e7f67);}}});}(_0xe1f977);},{'useCapture':!0x0});}[_0x4a7cd1(0x139)](){const _0x165a3f=_0x4a7cd1,_0x56e958=this[_0x165a3f(0x158)],_0x3ebb92=_0x56e958[_0x165a3f(0x165)][_0x165a3f(0x178)](_0x165a3f(0x18f));_0x3ebb92&&_0x56e958[_0x165a3f(0x163)]['on'](_0x165a3f(0x197),(_0x311c79,_0x1ee4b9)=>{const _0x2994b4=_0x165a3f,_0x475b93=_0x1ee4b9[0x0];if(!_0x475b93[_0x2994b4(0x179)])return;if(_0x2994b4(0x14e)!=_0x475b93[_0x2994b4(0x17d)]||!_0x475b93[_0x2994b4(0x192)][_0x2994b4(0x15c)](_0x2994b4(0x149)))return;const _0x1aaf0b=_0x475b93[_0x2994b4(0x16f)];_0x3ebb92[_0x2994b4(0x181)][_0x2994b4(0x14a)](_0x1aaf0b)&&(_0x475b93[_0x2994b4(0x133)]=_0x475b93[_0x2994b4(0x184)]?_0x56e958[_0x2994b4(0x163)][_0x2994b4(0x117)](_0x475b93[_0x2994b4(0x184)][_0x2994b4(0x144)],_0x475b93[_0x2994b4(0x184)][_0x2994b4(0x191)]):null);},{'priority':_0x165a3f(0x134)});}[_0x4a7cd1(0x155)](){const _0x579bba=_0x4a7cd1;return this[_0x579bba(0x14f)][_0x579bba(0x142)](),super[_0x579bba(0x155)]();}[_0x4a7cd1(0x199)](){const _0xa3e7f8=_0x4a7cd1,_0x354eea=this[_0xa3e7f8(0x158)],_0x4ba87e=_0x354eea[_0xa3e7f8(0x163)][_0xa3e7f8(0x128)],_0x3a4d93=_0x354eea[_0xa3e7f8(0x111)][_0xa3e7f8(0x178)](_0x57e5b1);_0x354eea[_0xa3e7f8(0x163)][_0xa3e7f8(0x196)]({'isUndoable':!0x1},_0x9c7239=>{const _0x4152cb=_0xa3e7f8,_0x5e8d4c=_0x4152cb(0x18a)+_0x3a4d93[_0x4152cb(0x114)],_0x135fef=_0x4152cb(0x195)+_0x3a4d93[_0x4152cb(0x114)],_0x4d47e2=_0x354eea[_0x4152cb(0x163)][_0x4152cb(0x157)][_0x4152cb(0x14a)](_0x5e8d4c);_0x354eea[_0x4152cb(0x141)][_0x4152cb(0x16b)][_0x4152cb(0x15d)]?J(_0x3a4d93[_0x4152cb(0x114)],_0x4ba87e[_0x4152cb(0x137)][_0x4152cb(0x154)](),_0x354eea[_0x4152cb(0x163)],_0x9c7239):_0x4d47e2&&(_0x9c7239[_0x4152cb(0x12a)](_0x5e8d4c),_0x9c7239[_0x4152cb(0x12a)](_0x135fef));});}}function _0x5866(_0x32e7af,_0x4b2eaf){const _0x173e36=_0x173e();return _0x5866=function(_0x586602,_0x5250ba){_0x586602=_0x586602-0x111;let _0x12504e=_0x173e36[_0x586602];return _0x12504e;},_0x5866(_0x32e7af,_0x4b2eaf);}function J(_0x5c095e,_0x494c1c,_0x2fcfce,_0x5a7287){const _0x5c35f1=_0x4a7cd1,_0xb51aed=_0x5c35f1(0x18a)+_0x5c095e,_0x24cd04=_0x5c35f1(0x195)+_0x5c095e,_0x57834b=_0x494c1c[_0x5c35f1(0x11c)]();let _0x19accf=_0x494c1c[_0x5c35f1(0x144)];if(_0x57834b&&_0x57834b['is'](_0x5c35f1(0x113),_0x5c35f1(0x16d))){const _0x517dc0=function(_0xcc1cdf,_0x11dddd){const _0x39dcf9=_0x5c35f1;for(const _0x15ce08 of _0xcc1cdf[_0x39dcf9(0x119)]())if(_0x11dddd[_0x39dcf9(0x19b)][_0x39dcf9(0x187)](_0x15ce08,_0x39dcf9(0x16a)))return _0x15ce08;}(_0x494c1c,_0x2fcfce);_0x517dc0&&(_0x19accf=_0x517dc0,_0x494c1c=_0x5a7287[_0x5c35f1(0x117)](_0x19accf));}const _0x59228e=_0x5a7287[_0x5c35f1(0x117)](_0x19accf);_0x2fcfce[_0x5c35f1(0x157)][_0x5c35f1(0x14a)](_0xb51aed)?(_0x5a7287[_0x5c35f1(0x11d)](_0xb51aed,{'range':_0x494c1c}),_0x5a7287[_0x5c35f1(0x11d)](_0x24cd04,{'range':_0x59228e})):(_0x5a7287[_0x5c35f1(0x190)](_0xb51aed,{'range':_0x494c1c,'usingOperation':!0x0}),_0x5a7287[_0x5c35f1(0x190)](_0x24cd04,{'range':_0x59228e,'usingOperation':!0x0}));}