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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f321a=_0x1847;function _0x1847(_0x516ad5,_0x478de3){const _0x2dfc0e=_0x2dfc();return _0x1847=function(_0x184774,_0x4531e4){_0x184774=_0x184774-0x198;let _0xbee212=_0x2dfc0e[_0x184774];return _0xbee212;},_0x1847(_0x516ad5,_0x478de3);}(function(_0x9adbde,_0x5c4ecb){const _0x10f536=_0x1847,_0x466ae5=_0x9adbde();while(!![]){try{const _0x2c7206=parseInt(_0x10f536(0x1b5))/0x1+parseInt(_0x10f536(0x1bd))/0x2*(parseInt(_0x10f536(0x198))/0x3)+-parseInt(_0x10f536(0x1a1))/0x4+-parseInt(_0x10f536(0x1ad))/0x5*(parseInt(_0x10f536(0x19b))/0x6)+-parseInt(_0x10f536(0x1aa))/0x7+parseInt(_0x10f536(0x1a8))/0x8*(parseInt(_0x10f536(0x1a6))/0x9)+-parseInt(_0x10f536(0x1a4))/0xa*(-parseInt(_0x10f536(0x1bb))/0xb);if(_0x2c7206===_0x5c4ecb)break;else _0x466ae5['push'](_0x466ae5['shift']());}catch(_0x2dada9){_0x466ae5['push'](_0x466ae5['shift']());}}}(_0x2dfc,0x35d10));function _0x2dfc(){const _0x1e1917=['listenTo','1590vSTewA','Connected\x20users\x20list','1435689lXEVMV','.ck-presence-list__dropdown-list','8nynBRD','createCollection','2434922NJAdtN','bindTemplate','keystrokes','786925XqtNjc','list','setAttribute','items','isExpanded','.ck-balloon-panel_with-arrow','removeAttribute','ck-presence-list__list','17161BrPITO','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','hasPopup','focus','div','element','47201TttJrz','set','8IlGbue','setTemplate','change:hasPopup','35094VsOtNW','fire','contains','6ZgLkkV','presencelist:show','relatedTarget','querySelector','render','aria-expanded','720320XqWxYz','presencelist:hide'];_0x2dfc=function(){return _0x1e1917;};return _0x2dfc();}import{View as _0x2955e6}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2674fb}from'ckeditor5/src/utils.js';import{getTranslation as _0x43306f}from'../../common-translations.js';export class PresenceInlineListView extends _0x2955e6{[_0x4f321a(0x1b0)];[_0x4f321a(0x1ac)];constructor(_0x103aff){const _0x32fcca=_0x4f321a;super(_0x103aff);const _0x3ea59c=this[_0x32fcca(0x1ab)];this[_0x32fcca(0x1b0)]=this[_0x32fcca(0x1a9)](),this[_0x32fcca(0x1ac)]=new _0x2674fb(),this[_0x32fcca(0x1bc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x32fcca(0x1be)]({'tag':_0x32fcca(0x1b9),'attributes':{'aria-haspopup':_0x3ea59c['if'](_0x32fcca(0x1b7)),'aria-expanded':_0x3ea59c['to'](_0x32fcca(0x1b1),_0x568a4d=>this[_0x32fcca(0x1b7)]&&String(_0x568a4d)),'aria-label':_0x3ea59c['to'](_0x32fcca(0x1b7),_0x40ad4c=>_0x43306f(_0x103aff,_0x40ad4c?_0x32fcca(0x1b6):_0x32fcca(0x1a5))),'role':_0x32fcca(0x1ae),'tabindex':_0x3ea59c['to'](_0x32fcca(0x1b7),_0x3de08e=>!!_0x3de08e&&0x0),'class':['ck',_0x32fcca(0x1b4)]},'children':this[_0x32fcca(0x1b0)],'on':{'mouseenter':_0x3ea59c['to'](()=>this[_0x32fcca(0x199)](_0x32fcca(0x19c))),'mouseleave':_0x3ea59c['to'](_0xaef4a1=>{const _0x65879c=_0x32fcca,_0x541c3c=_0xaef4a1,_0x32cc5c=document[_0x65879c(0x19e)](_0x65879c(0x1a7)),_0x25be8b=document[_0x65879c(0x19e)](_0x65879c(0x1b2));_0x32cc5c?.[_0x65879c(0x19a)](_0x541c3c[_0x65879c(0x19d)])||_0x25be8b?.[_0x65879c(0x19a)](_0x541c3c[_0x65879c(0x19d)])||this[_0x65879c(0x199)](_0x65879c(0x1a2));})}}),this['on'](_0x32fcca(0x1bf),(_0x2a57d6,_0x3fe881,_0xc1ac13)=>{const _0xdeb31=_0x32fcca;this[_0xdeb31(0x1ba)]&&(_0xc1ac13?this[_0xdeb31(0x1ba)][_0xdeb31(0x1af)](_0xdeb31(0x1a0),String(this[_0xdeb31(0x1b1)])):this[_0xdeb31(0x1ba)][_0xdeb31(0x1b3)](_0xdeb31(0x1a0)));});}[_0x4f321a(0x1b8)](){const _0x60104e=_0x4f321a;this[_0x60104e(0x1ba)][_0x60104e(0x1b8)]();}[_0x4f321a(0x19f)](){const _0x8726cc=_0x4f321a;super[_0x8726cc(0x19f)](),this[_0x8726cc(0x1ac)][_0x8726cc(0x1a3)](this[_0x8726cc(0x1ba)]);}}
23
+ const _0xe8b0c5=_0x5d0c;(function(_0x282916,_0x24d01a){const _0x491422=_0x5d0c,_0x1dba40=_0x282916();while(!![]){try{const _0x563dd3=parseInt(_0x491422(0xa8))/0x1*(-parseInt(_0x491422(0x91))/0x2)+-parseInt(_0x491422(0xa9))/0x3*(-parseInt(_0x491422(0xa4))/0x4)+-parseInt(_0x491422(0x93))/0x5+parseInt(_0x491422(0x94))/0x6+parseInt(_0x491422(0x8a))/0x7+parseInt(_0x491422(0x97))/0x8*(parseInt(_0x491422(0x8d))/0x9)+-parseInt(_0x491422(0xa1))/0xa*(parseInt(_0x491422(0x8e))/0xb);if(_0x563dd3===_0x24d01a)break;else _0x1dba40['push'](_0x1dba40['shift']());}catch(_0xccb1eb){_0x1dba40['push'](_0x1dba40['shift']());}}}(_0x5149,0x50f2d));function _0x5149(){const _0x34ccd3=['bindTemplate','list','focus','set','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','855463DUDNBS','fire','ck-presence-list__list','297LBFVUE','20845aityiD','render','isExpanded','8DzIpoJ','hasPopup','700580fxRSSM','1148220RKzYfo','setTemplate','presencelist:show','111664NoqNZG','Connected\x20users\x20list','aria-expanded','listenTo','change:hasPopup','element','presencelist:hide','removeAttribute','querySelector','setAttribute','3580iuGlhi','items','.ck-balloon-panel_with-arrow','43400RpntyE','relatedTarget','createCollection','.ck-presence-list__dropdown-list','44363mUDGjw','153CCdiiE','keystrokes','contains'];_0x5149=function(){return _0x34ccd3;};return _0x5149();}import{View as _0x2ce0b5}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x38b419}from'ckeditor5/src/utils.js';import{getTranslation as _0x4aeca5}from'../../common-translations.js';function _0x5d0c(_0x40f6b6,_0x3d2366){const _0x514987=_0x5149();return _0x5d0c=function(_0x5d0c68,_0x278261){_0x5d0c68=_0x5d0c68-0x86;let _0x26c9bc=_0x514987[_0x5d0c68];return _0x26c9bc;},_0x5d0c(_0x40f6b6,_0x3d2366);}export class PresenceInlineListView extends _0x2ce0b5{[_0xe8b0c5(0xa2)];[_0xe8b0c5(0xaa)];constructor(_0x212b07){const _0x4839d6=_0xe8b0c5;super(_0x212b07);const _0xac4fc2=this[_0x4839d6(0xac)];this[_0x4839d6(0xa2)]=this[_0x4839d6(0xa6)](),this[_0x4839d6(0xaa)]=new _0x38b419(),this[_0x4839d6(0x87)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4839d6(0x95)]({'tag':_0x4839d6(0x88),'attributes':{'aria-haspopup':_0xac4fc2['if'](_0x4839d6(0x92)),'aria-expanded':_0xac4fc2['to'](_0x4839d6(0x90),_0x112ec6=>this[_0x4839d6(0x92)]&&String(_0x112ec6)),'aria-label':_0xac4fc2['to'](_0x4839d6(0x92),_0x5959dc=>_0x4aeca5(_0x212b07,_0x5959dc?_0x4839d6(0x89):_0x4839d6(0x98))),'role':_0x4839d6(0xad),'tabindex':_0xac4fc2['to'](_0x4839d6(0x92),_0xe4e31b=>!!_0xe4e31b&&0x0),'class':['ck',_0x4839d6(0x8c)]},'children':this[_0x4839d6(0xa2)],'on':{'mouseenter':_0xac4fc2['to'](()=>this[_0x4839d6(0x8b)](_0x4839d6(0x96))),'mouseleave':_0xac4fc2['to'](_0x1dc954=>{const _0x6dc26b=_0x4839d6,_0x3dfe73=_0x1dc954,_0x175aa6=document[_0x6dc26b(0x9f)](_0x6dc26b(0xa7)),_0x22af3a=document[_0x6dc26b(0x9f)](_0x6dc26b(0xa3));_0x175aa6?.[_0x6dc26b(0xab)](_0x3dfe73[_0x6dc26b(0xa5)])||_0x22af3a?.[_0x6dc26b(0xab)](_0x3dfe73[_0x6dc26b(0xa5)])||this[_0x6dc26b(0x8b)](_0x6dc26b(0x9d));})}}),this['on'](_0x4839d6(0x9b),(_0x120236,_0x5dff48,_0x1c8338)=>{const _0x59bee5=_0x4839d6;this[_0x59bee5(0x9c)]&&(_0x1c8338?this[_0x59bee5(0x9c)][_0x59bee5(0xa0)](_0x59bee5(0x99),String(this[_0x59bee5(0x90)])):this[_0x59bee5(0x9c)][_0x59bee5(0x9e)](_0x59bee5(0x99)));});}[_0xe8b0c5(0x86)](){const _0x29fbb5=_0xe8b0c5;this[_0x29fbb5(0x9c)][_0x29fbb5(0x86)]();}[_0xe8b0c5(0x8f)](){const _0x229b79=_0xe8b0c5;super[_0x229b79(0x8f)](),this[_0x229b79(0xaa)][_0x229b79(0x9a)](this[_0x229b79(0x9c)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a3e51=_0x513e;function _0x513e(_0x654fb8,_0x31c91d){const _0x17f396=_0x17f3();return _0x513e=function(_0x513ed1,_0x441f64){_0x513ed1=_0x513ed1-0x1eb;let _0x5cdb04=_0x17f396[_0x513ed1];return _0x5cdb04;},_0x513e(_0x654fb8,_0x31c91d);}(function(_0x22678e,_0x433c2b){const _0x380b5e=_0x513e,_0x149170=_0x22678e();while(!![]){try{const _0x2bde1c=parseInt(_0x380b5e(0x201))/0x1*(parseInt(_0x380b5e(0x1f9))/0x2)+parseInt(_0x380b5e(0x1ff))/0x3*(-parseInt(_0x380b5e(0x202))/0x4)+-parseInt(_0x380b5e(0x1eb))/0x5*(-parseInt(_0x380b5e(0x206))/0x6)+-parseInt(_0x380b5e(0x1ef))/0x7+parseInt(_0x380b5e(0x1ee))/0x8+parseInt(_0x380b5e(0x1ed))/0x9*(-parseInt(_0x380b5e(0x209))/0xa)+parseInt(_0x380b5e(0x204))/0xb*(parseInt(_0x380b5e(0x1fa))/0xc);if(_0x2bde1c===_0x433c2b)break;else _0x149170['push'](_0x149170['shift']());}catch(_0x315b78){_0x149170['push'](_0x149170['shift']());}}}(_0x17f3,0x5083a));import{View as _0x4acc18}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x31746c}from'./presencecounterview.js';function _0x17f3(){const _0x409f9a=['36975zynLMN','isCollapsed','7xRSaXh','184UWjfJx','set','913oQkWdw','ck-rounded-corners','600jyznvb','hasPopup','first','908680BXUbZm','30055WuWHED','items','9UnveBh','374608ZjUeYz','961527WdXfdM','inlineListView','listenTo','tooltipPosition','counterView','div','setTemplate','ck-presence-list','ck-reset','change','69636IeBckL','33732IajWoI','ck-presence-list--collapsed','bind','locale','bindTemplate'];_0x17f3=function(){return _0x409f9a;};return _0x17f3();}import{PresenceInlineListView as _0x32e279}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4acc18{[_0x4a3e51(0x1f3)];[_0x4a3e51(0x1f0)];constructor(_0x351cb4,_0x1bd3fb=0x6){const _0x2b974f=_0x4a3e51;super(_0x351cb4);const _0x5b387e=this[_0x2b974f(0x1fe)];this[_0x2b974f(0x203)](_0x2b974f(0x200),!0x0),this[_0x2b974f(0x1f3)]=new _0x31746c(this[_0x2b974f(0x1fd)],_0x1bd3fb),this[_0x2b974f(0x1f0)]=new _0x32e279(_0x351cb4),this[_0x2b974f(0x1f0)][_0x2b974f(0x1fc)](_0x2b974f(0x207))['to'](this,_0x2b974f(0x200)),this[_0x2b974f(0x1f1)](this[_0x2b974f(0x1f0)][_0x2b974f(0x1ec)],_0x2b974f(0x1f8),()=>{const _0x5f004d=_0x2b974f;for(const _0x125717 of this[_0x5f004d(0x1f0)][_0x5f004d(0x1ec)])_0x125717[_0x5f004d(0x1f2)]='s';this[_0x5f004d(0x1f0)][_0x5f004d(0x1ec)][_0x5f004d(0x208)]&&(this[_0x5f004d(0x1f0)][_0x5f004d(0x1ec)][_0x5f004d(0x208)][_0x5f004d(0x1f2)]='se');}),this[_0x2b974f(0x1f5)]({'tag':_0x2b974f(0x1f4),'attributes':{'class':['ck',_0x2b974f(0x1f6),_0x2b974f(0x1f7),_0x2b974f(0x205),_0x5b387e['if'](_0x2b974f(0x200),_0x2b974f(0x1fb))]},'children':[this[_0x2b974f(0x1f0)]]});}}
23
+ function _0x1fed(){const _0x54c7b3=['855TBMBPB','inlineListView','5611495vEsFwT','set','3174777JlIfRp','2391692HqaHmH','70triUnj','5026BeyMlm','hasPopup','setTemplate','items','counterView','div','tooltipPosition','isCollapsed','listenTo','ck-reset','ck-presence-list','8354168YhsqfI','change','964489RVlMlM','ck-presence-list--collapsed','7rMoemE','first','ck-rounded-corners','600294OwLbQT','locale','bind','bindTemplate'];_0x1fed=function(){return _0x54c7b3;};return _0x1fed();}const _0x3a1064=_0x31ab;(function(_0x3e0e30,_0x57dee7){const _0x1ec473=_0x31ab,_0x1f7d3d=_0x3e0e30();while(!![]){try{const _0x3b019f=-parseInt(_0x1ec473(0x77))/0x1+-parseInt(_0x1ec473(0x87))/0x2*(-parseInt(_0x1ec473(0x80))/0x3)+parseInt(_0x1ec473(0x85))/0x4+-parseInt(_0x1ec473(0x82))/0x5+parseInt(_0x1ec473(0x7c))/0x6*(parseInt(_0x1ec473(0x79))/0x7)+-parseInt(_0x1ec473(0x75))/0x8+-parseInt(_0x1ec473(0x84))/0x9*(-parseInt(_0x1ec473(0x86))/0xa);if(_0x3b019f===_0x57dee7)break;else _0x1f7d3d['push'](_0x1f7d3d['shift']());}catch(_0x47aad5){_0x1f7d3d['push'](_0x1f7d3d['shift']());}}}(_0x1fed,0xb7b05));function _0x31ab(_0x4ef4e1,_0x4d2614){const _0x1fed84=_0x1fed();return _0x31ab=function(_0x31abfe,_0x1b411f){_0x31abfe=_0x31abfe-0x74;let _0x85ec84=_0x1fed84[_0x31abfe];return _0x85ec84;},_0x31ab(_0x4ef4e1,_0x4d2614);}import{View as _0x4702c5}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x4c352a}from'./presencecounterview.js';import{PresenceInlineListView as _0xa05478}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4702c5{[_0x3a1064(0x8b)];[_0x3a1064(0x81)];constructor(_0x3b8263,_0x56ac2d=0x6){const _0x543f22=_0x3a1064;super(_0x3b8263);const _0x455e62=this[_0x543f22(0x7f)];this[_0x543f22(0x83)](_0x543f22(0x8e),!0x0),this[_0x543f22(0x8b)]=new _0x4c352a(this[_0x543f22(0x7d)],_0x56ac2d),this[_0x543f22(0x81)]=new _0xa05478(_0x3b8263),this[_0x543f22(0x81)][_0x543f22(0x7e)](_0x543f22(0x88))['to'](this,_0x543f22(0x8e)),this[_0x543f22(0x8f)](this[_0x543f22(0x81)][_0x543f22(0x8a)],_0x543f22(0x76),()=>{const _0x4ee108=_0x543f22;for(const _0x2b7e5c of this[_0x4ee108(0x81)][_0x4ee108(0x8a)])_0x2b7e5c[_0x4ee108(0x8d)]='s';this[_0x4ee108(0x81)][_0x4ee108(0x8a)][_0x4ee108(0x7a)]&&(this[_0x4ee108(0x81)][_0x4ee108(0x8a)][_0x4ee108(0x7a)][_0x4ee108(0x8d)]='se');}),this[_0x543f22(0x89)]({'tag':_0x543f22(0x8c),'attributes':{'class':['ck',_0x543f22(0x74),_0x543f22(0x90),_0x543f22(0x7b),_0x455e62['if'](_0x543f22(0x8e),_0x543f22(0x78))]},'children':[this[_0x543f22(0x81)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x43e5e9=_0x4aff;(function(_0x34d817,_0xa57f01){var _0x556469=_0x4aff,_0x3d84f2=_0x34d817();while(!![]){try{var _0x2885c2=parseInt(_0x556469(0x7b))/0x1*(parseInt(_0x556469(0x81))/0x2)+-parseInt(_0x556469(0x79))/0x3+parseInt(_0x556469(0x78))/0x4+parseInt(_0x556469(0x74))/0x5+parseInt(_0x556469(0x82))/0x6*(parseInt(_0x556469(0x75))/0x7)+parseInt(_0x556469(0x7d))/0x8+parseInt(_0x556469(0x76))/0x9*(-parseInt(_0x556469(0x77))/0xa);if(_0x2885c2===_0xa57f01)break;else _0x3d84f2['push'](_0x3d84f2['shift']());}catch(_0x381359){_0x3d84f2['push'](_0x3d84f2['shift']());}}}(_0x2278,0x97bf8));function _0x2278(){var _0x26e416=['679401NGSlOt','30BBpNgp','120492HJbVaH','2312259gxumbg','PresenceList','1piMWRa','isPremiumPlugin','1736856IBflGg','requires','isOfficialPlugin','pluginName','581998HxTiFn','5477682titIjP','838020gzaNwQ','7OoDgur'];_0x2278=function(){return _0x26e416;};return _0x2278();}function _0x4aff(_0x525b58,_0x4baf7e){var _0x22780d=_0x2278();return _0x4aff=function(_0x4affa7,_0x108d9f){_0x4affa7=_0x4affa7-0x74;var _0x407022=_0x22780d[_0x4affa7];return _0x407022;},_0x4aff(_0x525b58,_0x4baf7e);}import{ContextPlugin as _0x49e5ab}from'ckeditor5/src/core.js';import{Sessions as _0x1affec}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x217178}from'./presencelist/presencelistui.js';export class PresenceList extends _0x49e5ab{static get[_0x43e5e9(0x7e)](){return[_0x1affec,_0x217178];}static get[_0x43e5e9(0x80)](){var _0x5977f1=_0x43e5e9;return _0x5977f1(0x7a);}static get[_0x43e5e9(0x7f)](){return!0x0;}static get[_0x43e5e9(0x7c)](){return!0x0;}}
23
+ function _0x53e5(){var _0x494576=['662635OYuWuu','pluginName','1651029uvetfL','isOfficialPlugin','1kodyZh','6337200onfYXs','1582480frfKHp','9853676hBfaDe','12632YssHUg','10533590lCUCQZ','11OayKHu','PresenceList','8577ZLjztD','78MLkNjx','requires','isPremiumPlugin'];_0x53e5=function(){return _0x494576;};return _0x53e5();}var _0x593b76=_0x1516;(function(_0x6f166d,_0x1af0f8){var _0x4cf3ce=_0x1516,_0x34732b=_0x6f166d();while(!![]){try{var _0x2d935c=parseInt(_0x4cf3ce(0x18d))/0x1*(parseInt(_0x4cf3ce(0x18f))/0x2)+-parseInt(_0x4cf3ce(0x18b))/0x3+-parseInt(_0x4cf3ce(0x18e))/0x4+-parseInt(_0x4cf3ce(0x189))/0x5*(parseInt(_0x4cf3ce(0x196))/0x6)+parseInt(_0x4cf3ce(0x190))/0x7+-parseInt(_0x4cf3ce(0x191))/0x8*(-parseInt(_0x4cf3ce(0x195))/0x9)+parseInt(_0x4cf3ce(0x192))/0xa*(parseInt(_0x4cf3ce(0x193))/0xb);if(_0x2d935c===_0x1af0f8)break;else _0x34732b['push'](_0x34732b['shift']());}catch(_0x364402){_0x34732b['push'](_0x34732b['shift']());}}}(_0x53e5,0xdb9e8));import{ContextPlugin as _0x22c088}from'ckeditor5/src/core.js';function _0x1516(_0x1054c7,_0x2aeeec){var _0x53e517=_0x53e5();return _0x1516=function(_0x1516be,_0xda5aa1){_0x1516be=_0x1516be-0x189;var _0x3367f0=_0x53e517[_0x1516be];return _0x3367f0;},_0x1516(_0x1054c7,_0x2aeeec);}import{Sessions as _0x36c418}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x13d11e}from'./presencelist/presencelistui.js';export class PresenceList extends _0x22c088{static get[_0x593b76(0x197)](){return[_0x36c418,_0x13d11e];}static get[_0x593b76(0x18a)](){var _0x58c6b4=_0x593b76;return _0x58c6b4(0x194);}static get[_0x593b76(0x18c)](){return!0x0;}static get[_0x593b76(0x198)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f1847=_0x3129;function _0x3aba(){const _0x1e444a=['attributes','addCommentThread','keys','commentThreadUpdated','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','catch','resolveCommentThread','authorId','addToReconnectionStack','adapter','requires','3754324phkxhH','collaboration.channelId','startsWith','content','delete','comments','cloudservicescommentsadapter-disconnect-not-exist','userId','isPremiumPlugin','sessionAdd:','260216QQSGFw','12234XDeCLD','getConnectedSessions','permissions','CommentsService','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','commentThreadResolved','init','update','_services','24IguTQs','commentThreadAdded','_getService','reopenCommentThread','commentRemoved','register','add','1032hDVtzb','addComment','CloudServicesCommentsAdapter','assign','pluginName','updateCommentThread','resolvedBy','config','resolvedAt','off','cloudservicescommentsadapter-service-not-exist','connect','reopen','remove','message','getMany','getUser','Permissions','updateComment','getCommentThreads','cloud-services-internal-error:\x20Request\x20timeout.','set','map','unregister','addUser','code','size','commentThreadId','resolve','removeCommentThread','commentThreadRemoved','get','commentAdded','reconnect','destroy','commentUpdated','has','_setUpService','286970FMNeDX','_fetchMissingUsersForThreads','plugins','commentId','commentThreadReopened','404','isOfficialPlugin','2EiNTid','342XucdQv','getComment','getCommentThread','cloudservicescommentsadapter-connect-already-connected','from','context','removeComment','setPermissions','createdAt','_connectService','_terminateService','2701260qJgrAA','listenTo','626437PRyDqg','deletedAt','disconnect','4629911uiFtBq'];_0x3aba=function(){return _0x1e444a;};return _0x3aba();}(function(_0x4ac351,_0xe0b4e5){const _0x2a18be=_0x3129,_0x1e3a5d=_0x4ac351();while(!![]){try{const _0x453543=parseInt(_0x2a18be(0x1ee))/0x1*(-parseInt(_0x2a18be(0x1e0))/0x2)+parseInt(_0x2a18be(0x1a2))/0x3*(parseInt(_0x2a18be(0x1b3))/0x4)+parseInt(_0x2a18be(0x1d9))/0x5*(parseInt(_0x2a18be(0x1ac))/0x6)+-parseInt(_0x2a18be(0x197))/0x7+parseInt(_0x2a18be(0x1a1))/0x8*(parseInt(_0x2a18be(0x1e1))/0x9)+-parseInt(_0x2a18be(0x1ec))/0xa+-parseInt(_0x2a18be(0x18a))/0xb;if(_0x453543===_0xe0b4e5)break;else _0x1e3a5d['push'](_0x1e3a5d['shift']());}catch(_0x1627f2){_0x1e3a5d['push'](_0x1e3a5d['shift']());}}}(_0x3aba,0xa217a));function _0x3129(_0x4a1ba4,_0x100af0){const _0x3aba59=_0x3aba();return _0x3129=function(_0x31297e,_0x40bb9a){_0x31297e=_0x31297e-0x189;let _0x507733=_0x3aba59[_0x31297e];return _0x507733;},_0x3129(_0x4a1ba4,_0x100af0);}import{Context as _0xf4fcc,ContextPlugin as _0x1d83c1}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ceae6}from'ckeditor5/src/utils.js';import{Users as _0x292fdc}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4163a1,User as _0x3cf29e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x339273}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x52068b}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1d83c1{static [_0x1f1847(0x1a5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4163a1)());[_0x1f1847(0x1ab)];static get[_0x1f1847(0x196)](){const _0x5ef311=_0x1f1847;return[_0x339273,_0x5ef311(0x18f),_0x52068b,_0x292fdc];}static get[_0x1f1847(0x1b7)](){const _0xb6edf4=_0x1f1847;return _0xb6edf4(0x1b5);}static get[_0x1f1847(0x1df)](){return!0x0;}static get[_0x1f1847(0x19f)](){return!0x0;}constructor(_0x1ecf41){const _0x43e586=_0x1f1847;super(_0x1ecf41),this[_0x43e586(0x1ab)]=new Map();}async[_0x1f1847(0x1a9)](){const _0x3717e5=_0x1f1847,_0x206595=this[_0x3717e5(0x1e6)],_0x16d5dd=_0x206595[_0x3717e5(0x1db)][_0x3717e5(0x1d2)](_0x3717e5(0x18f));if(_0x206595[_0x3717e5(0x1db)][_0x3717e5(0x1d2)](_0x339273)[_0x3717e5(0x194)](this),_0x16d5dd[_0x3717e5(0x195)]={'addCommentThread':async({channelId:_0xab467e,threadId:_0x3a1812,comments:_0x3cdd2a,resolvedAt:_0x4aafc3,resolvedBy:_0x2c0183,context:_0x25e829,attributes:_0x1ac04d})=>{const _0x341a14=_0x3717e5,_0x4f391b=await this[_0x341a14(0x1ae)](_0xab467e)[_0x341a14(0x18c)]({'commentThreadId':_0x3a1812,'comments':_0x3cdd2a[_0x341a14(0x1c9)](_0x1e1da6=>function(_0x55db46,_0x491bc5,_0x3c5d56){const _0x3f680b=_0x341a14;return{'commentThreadId':_0x3c5d56,'commentId':_0x55db46[_0x3f680b(0x1dc)],'userId':_0x55db46[_0x3f680b(0x193)],'content':_0x55db46[_0x3f680b(0x19a)],'documentId':_0x491bc5,'createdAt':_0x55db46[_0x3f680b(0x1e9)],'attributes':_0x55db46[_0x3f680b(0x18b)]||{}};}(_0x1e1da6,_0xab467e,_0x3a1812)),'resolvedAt':_0x4aafc3,'resolvedBy':_0x2c0183,'context':_0x25e829,'attributes':_0x1ac04d})[_0x341a14(0x191)](k);return{'threadId':_0x4f391b[_0x341a14(0x1ce)],'comments':_0x4f391b[_0x341a14(0x19c)]};},'getCommentThread':async({channelId:_0x1e6d77,threadId:_0x476b3a})=>{const _0x12ccc6=_0x3717e5,_0x4f6686=await this[_0x12ccc6(0x1ae)](_0x1e6d77)[_0x12ccc6(0x1e3)](_0x476b3a)[_0x12ccc6(0x191)](F)[_0x12ccc6(0x191)](k);return _0x4f6686?_0x4f6686[_0x12ccc6(0x1ef)]?null:(await this[_0x12ccc6(0x1da)]([_0x4f6686]),{'threadId':_0x4f6686[_0x12ccc6(0x1ce)],'comments':_0x4f6686[_0x12ccc6(0x19c)][_0x12ccc6(0x1c9)](S),'context':_0x4f6686[_0x12ccc6(0x1e6)],'resolvedAt':_0x4f6686[_0x12ccc6(0x1bb)],'resolvedBy':_0x4f6686[_0x12ccc6(0x1b9)],'attributes':_0x4f6686[_0x12ccc6(0x18b)]||{}}):null;},'updateCommentThread':async({channelId:_0x35f9d6,threadId:_0x2521b7,context:_0x16f85e,unlinkedAt:_0x569b97,attributes:_0x4961da})=>this[_0x3717e5(0x1ae)](_0x35f9d6)[_0x3717e5(0x1b8)]({'commentThreadId':_0x2521b7,'context':_0x16f85e,'attributes':_0x4961da,'unlinkedAt':_0x569b97})[_0x3717e5(0x191)](F)[_0x3717e5(0x191)](k),'resolveCommentThread':async({channelId:_0xb763af,threadId:_0x57d2ca})=>{const _0x332fdd=_0x3717e5,_0xdcaa7a=await this[_0x332fdd(0x1ae)](_0xb763af)[_0x332fdd(0x192)](_0x57d2ca)[_0x332fdd(0x191)](F)[_0x332fdd(0x191)](k);return{'threadId':_0xdcaa7a[_0x332fdd(0x1ce)],'resolvedAt':_0xdcaa7a[_0x332fdd(0x1bb)],'resolvedBy':_0xdcaa7a[_0x332fdd(0x1b9)]};},'reopenCommentThread':async({channelId:_0x1b0509,threadId:_0x12f7a4})=>this[_0x3717e5(0x1ae)](_0x1b0509)[_0x3717e5(0x1af)](_0x12f7a4)[_0x3717e5(0x191)](F)[_0x3717e5(0x191)](k),'removeCommentThread':({channelId:_0x1006f4,threadId:_0xe80fe6})=>this[_0x3717e5(0x1ae)](_0x1006f4)[_0x3717e5(0x1d0)](_0xe80fe6)[_0x3717e5(0x191)](F)[_0x3717e5(0x191)](k),'addComment':({channelId:_0x2d6fad,threadId:_0x21df1f,commentId:_0xde49a2,content:_0x833096,attributes:_0x30a684})=>this[_0x3717e5(0x1ae)](_0x2d6fad)[_0x3717e5(0x1b4)](_0x21df1f,_0xde49a2,_0x833096,_0x30a684)[_0x3717e5(0x191)](k),'updateComment':({channelId:_0x5185b7,threadId:_0x2d3c85,commentId:_0x412413,content:_0x257df2,attributes:_0x13a98a})=>this[_0x3717e5(0x1ae)](_0x5185b7)[_0x3717e5(0x1c5)](_0x2d3c85,_0x412413,_0x257df2,_0x13a98a)[_0x3717e5(0x191)](F)[_0x3717e5(0x191)](k),'removeComment':({channelId:_0x191779,threadId:_0x401ffd,commentId:_0x570ed2})=>this[_0x3717e5(0x1ae)](_0x191779)[_0x3717e5(0x1e7)](_0x401ffd,_0x570ed2)[_0x3717e5(0x191)](F)[_0x3717e5(0x191)](k)},_0x206595 instanceof _0xf4fcc){const _0x19f025=_0x206595[_0x3717e5(0x1ba)][_0x3717e5(0x1d2)](_0x3717e5(0x198)),_0x5d385d=_0x206595[_0x3717e5(0x1db)][_0x3717e5(0x1d2)](_0x52068b);await this[_0x3717e5(0x1d8)](_0x19f025);const _0x3223d7=await this[_0x3717e5(0x1ab)][_0x3717e5(0x1d2)](_0x19f025)[_0x3717e5(0x1a3)]();this[_0x3717e5(0x1ed)](_0x5d385d,_0x3717e5(0x1a0)+_0x19f025,(_0x340a6d,{session:_0xf684f6})=>{const _0x176d1c=_0x3717e5;_0xf684f6['id']===_0x5d385d[_0x176d1c(0x1a7)]&&(_0x340a6d[_0x176d1c(0x1bc)](),this[_0x176d1c(0x1e6)][_0x176d1c(0x1db)][_0x176d1c(0x1d2)](_0x176d1c(0x1c4))[_0x176d1c(0x1e8)](_0xf684f6[_0x176d1c(0x1a4)],_0x19f025));}),_0x5d385d[_0x3717e5(0x1b1)](_0x19f025,_0x3223d7);}}async[_0x1f1847(0x1d8)](_0x3099e4){const _0x439985=_0x1f1847;if(this[_0x439985(0x1ab)][_0x439985(0x1d7)](_0x3099e4))throw new _0x2ceae6(_0x439985(0x1e4),null,{'channelId':_0x3099e4});const _0x49d09b=this[_0x439985(0x1e6)][_0x439985(0x1db)][_0x439985(0x1d2)](_0x439985(0x18f)),_0x415640=new CloudServicesCommentsAdapter[(_0x439985(0x1a5))](_0x3099e4);this[_0x439985(0x1ab)][_0x439985(0x1c8)](_0x3099e4,_0x415640),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x1ad),(_0x629efa,_0x6f4827)=>{const _0x365848=_0x439985,{commentThreadId:_0x5d2542,documentId:_0x1c9cb2,context:_0x3e58b3,attributes:_0x5cb76e,resolvedAt:_0x10f0e1,resolvedBy:_0x3ec93b,comments:_0x2c6d50}=_0x6f4827;_0x49d09b[_0x365848(0x1e3)](_0x5d2542)||_0x49d09b[_0x365848(0x18c)]({'threadId':_0x5d2542,'channelId':_0x1c9cb2,'comments':_0x2c6d50?_0x2c6d50[_0x365848(0x1c9)](S):[],'context':_0x3e58b3,'attributes':_0x5cb76e,'resolvedAt':_0x10f0e1,'resolvedBy':_0x3ec93b,'isFromAdapter':!0x0});}),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x18e),(_0x2df59a,{commentThreadId:_0x49693e,documentId:_0x4947ee,context:_0x3f2917,unlinkedAt:_0x4acd19,attributes:_0x1022c1})=>{const _0x3d8451=_0x439985;_0x49d09b[_0x3d8451(0x1e3)](_0x49693e)&&_0x49d09b[_0x3d8451(0x1b8)]({'threadId':_0x49693e,'channelId':_0x4947ee,'context':_0x3f2917,'unlinkedAt':_0x4acd19,'attributes':_0x1022c1,'isFromAdapter':!0x0});}),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x1a8),(_0x10d883,{commentThreadId:_0x115ecc,resolvedBy:_0x43df46,resolvedAt:_0x3a323e})=>{const _0x31a156=_0x439985,_0x5d2985=_0x49d09b[_0x31a156(0x1e3)](_0x115ecc);_0x5d2985&&_0x5d2985[_0x31a156(0x1cf)]({'resolvedBy':_0x43df46,'resolvedAt':_0x3a323e,'isFromAdapter':!0x0});}),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x1dd),(_0x201420,{commentThreadId:_0x32c0b0})=>{const _0x44fc73=_0x439985,_0x119687=_0x49d09b[_0x44fc73(0x1e3)](_0x32c0b0);_0x119687&&_0x119687[_0x44fc73(0x1bf)]({'isFromAdapter':!0x0});}),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x1d1),(_0x100482,{commentThreadId:_0x28d2b7})=>{const _0x11f251=_0x439985,_0xb2379=_0x49d09b[_0x11f251(0x1e3)](_0x28d2b7);_0xb2379&&_0xb2379[_0x11f251(0x1c0)]({'isFromAdapter':!0x0});}),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x1d3),(_0x8cf5b1,_0x1382bc)=>{const _0x3ba82f=_0x439985,_0x206f2c=_0x1382bc[_0x3ba82f(0x1ce)],_0x3fe4c0=_0x49d09b[_0x3ba82f(0x1e3)](_0x206f2c);_0x3fe4c0&&_0x3fe4c0[_0x3ba82f(0x1b4)]({...S(_0x1382bc),'isFromAdapter':!0x0});}),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x1d6),(_0x2db417,{commentThreadId:_0x4ec9fb,commentId:_0x3059e4,content:_0x5c1ace,attributes:_0x267b4f})=>{const _0x5f87e8=_0x439985,_0x4494d1=_0x49d09b[_0x5f87e8(0x1e3)](_0x4ec9fb);if(_0x4494d1){const _0x433c8e=_0x4494d1[_0x5f87e8(0x1e2)](_0x3059e4);_0x433c8e&&_0x433c8e[_0x5f87e8(0x1aa)]({'content':_0x5c1ace,'attributes':_0x267b4f,'isFromAdapter':!0x0});}}),this[_0x439985(0x1ed)](_0x415640,_0x439985(0x1b0),(_0xa0a98,{commentThreadId:_0x7f04ca,commentId:_0x13d327})=>{const _0x260b75=_0x439985,_0x1d0290=_0x49d09b[_0x260b75(0x1e3)](_0x7f04ca);if(_0x1d0290){const _0x33a479=_0x1d0290[_0x260b75(0x1e2)](_0x13d327);_0x33a479&&_0x33a479[_0x260b75(0x1c0)]({'isFromAdapter':!0x0});}}),await this[_0x439985(0x1ea)](_0x3099e4);}[_0x1f1847(0x1d5)](){const _0x732217=_0x1f1847;if(this[_0x732217(0x1e6)]instanceof _0xf4fcc){const _0x3adfaa=this[_0x732217(0x1e6)][_0x732217(0x1ba)][_0x732217(0x1d2)](_0x732217(0x198));this[_0x732217(0x1eb)](_0x3adfaa);}}[_0x1f1847(0x1eb)](_0x43ac9d){const _0x26fcd0=_0x1f1847;if(!this[_0x26fcd0(0x1ab)][_0x26fcd0(0x1d7)](_0x43ac9d))throw new _0x2ceae6(_0x26fcd0(0x19d),null,{'channelId':_0x43ac9d});this[_0x26fcd0(0x1ae)](_0x43ac9d)[_0x26fcd0(0x189)](),this[_0x26fcd0(0x1ab)][_0x26fcd0(0x19b)](_0x43ac9d);}async[_0x1f1847(0x1d4)](){const _0x19b711=_0x1f1847;for(const _0x454742 of this[_0x19b711(0x1ab)][_0x19b711(0x18d)]())await this[_0x19b711(0x1ea)](_0x454742);if(this[_0x19b711(0x1e6)]instanceof _0xf4fcc){const _0x2f55bd=this[_0x19b711(0x1e6)][_0x19b711(0x1ba)][_0x19b711(0x1d2)](_0x19b711(0x198)),_0xe13efe=this[_0x19b711(0x1e6)][_0x19b711(0x1db)][_0x19b711(0x1d2)](_0x52068b);_0xe13efe[_0x19b711(0x1ca)](_0x2f55bd);const _0x52a463=await this[_0x19b711(0x1ab)][_0x19b711(0x1d2)](_0x2f55bd)[_0x19b711(0x1a3)]();_0xe13efe[_0x19b711(0x1b1)](_0x2f55bd,_0x52a463);}}async[_0x1f1847(0x1ea)](_0x11549e){const _0x397a16=_0x1f1847,{connection:_0x398df6}=this[_0x397a16(0x1e6)][_0x397a16(0x1db)][_0x397a16(0x1d2)](_0x339273),_0x5b235b=this[_0x397a16(0x1e6)][_0x397a16(0x1db)][_0x397a16(0x1d2)](_0x397a16(0x18f)),_0x32b89d=this[_0x397a16(0x1ab)][_0x397a16(0x1d2)](_0x11549e),_0x110010=await _0x32b89d[_0x397a16(0x1be)](_0x398df6);await this[_0x397a16(0x1da)](_0x110010);const _0x1016e3=new Set(Array[_0x397a16(0x1e5)](_0x5b235b[_0x397a16(0x1c6)]({'channelId':_0x11549e}),_0xc737fb=>_0xc737fb['id']));for(const _0x4a31f7 of _0x110010)_0x4a31f7[_0x397a16(0x1ef)]||_0x1016e3[_0x397a16(0x19b)](_0x4a31f7[_0x397a16(0x1ce)]);for(const _0x645028 of _0x1016e3)_0x5b235b[_0x397a16(0x1e3)](_0x645028)[_0x397a16(0x1c0)]({'isFromAdapter':!0x0});for(const _0x305c41 of _0x110010){let _0x37ed29=_0x5b235b[_0x397a16(0x1e3)](_0x305c41[_0x397a16(0x1ce)]);const {commentThreadId:_0x27a12b,context:_0x42bff4,attributes:_0x575c5c,resolvedBy:_0x170258,resolvedAt:_0x2f273e,unlinkedAt:_0x274eb7,deletedAt:_0x2c5a5f}=_0x305c41;if(_0x2c5a5f)continue;_0x37ed29||(_0x37ed29=_0x5b235b[_0x397a16(0x18c)]({'channelId':_0x11549e,'threadId':_0x27a12b,'context':_0x42bff4,'attributes':_0x575c5c||{},'resolvedBy':_0x170258,'resolvedAt':_0x2f273e,'unlinkedAt':_0x274eb7,'isFromAdapter':!0x0}));const _0x2497d2=new Set(Array[_0x397a16(0x1e5)](_0x37ed29[_0x397a16(0x19c)],_0x427113=>_0x427113['id']));for(const _0x2e6046 of _0x305c41[_0x397a16(0x19c)])_0x2497d2[_0x397a16(0x19b)](_0x2e6046[_0x397a16(0x1dc)]);for(const _0x1378dd of _0x2497d2)_0x37ed29[_0x397a16(0x1e2)](_0x1378dd)[_0x397a16(0x1c0)]({'isFromAdapter':!0x0});for(const _0x923428 of _0x305c41[_0x397a16(0x19c)]){const _0x291020=_0x37ed29[_0x397a16(0x1e2)](_0x923428[_0x397a16(0x1dc)]);_0x291020?_0x291020[_0x397a16(0x19a)]!==_0x923428[_0x397a16(0x19a)]&&_0x291020[_0x397a16(0x1aa)]({'content':_0x923428[_0x397a16(0x19a)],'isFromAdapter':!0x0}):_0x37ed29[_0x397a16(0x1b4)](Object[_0x397a16(0x1b6)](S(_0x923428),{'isFromAdapter':!0x0}));}}}[_0x1f1847(0x1ae)](_0x29aa0f){const _0x1f0023=_0x1f1847;if(!this[_0x1f0023(0x1ab)][_0x1f0023(0x1d7)](_0x29aa0f))throw new _0x2ceae6(_0x1f0023(0x1bd),null,{'channelId':_0x29aa0f});return this[_0x1f0023(0x1ab)][_0x1f0023(0x1d2)](_0x29aa0f);}async[_0x1f1847(0x1da)](_0x4da72c){const _0xaa70fb=_0x1f1847,_0x48d870=this[_0xaa70fb(0x1e6)][_0xaa70fb(0x1db)][_0xaa70fb(0x1d2)](_0x292fdc),{connection:_0x1f1769}=this[_0xaa70fb(0x1e6)][_0xaa70fb(0x1db)][_0xaa70fb(0x1d2)](_0x339273),_0x4b5c38=new Set();for(const {resolvedBy:_0xd56a24,comments:_0x176bd8}of _0x4da72c){_0xd56a24&&!_0x48d870[_0xaa70fb(0x1c3)](_0xd56a24)&&_0x4b5c38[_0xaa70fb(0x1b2)](_0xd56a24);for(const {userId:_0x4af2c1}of _0x176bd8)_0x48d870[_0xaa70fb(0x1c3)](_0x4af2c1)||_0x4b5c38[_0xaa70fb(0x1b2)](_0x4af2c1);}if(0x0===_0x4b5c38[_0xaa70fb(0x1cd)])return;const _0x2e380e=await _0x3cf29e[_0xaa70fb(0x1c2)](_0x1f1769,Array[_0xaa70fb(0x1e5)](_0x4b5c38));for(const _0x167bdb of _0x2e380e)_0x48d870[_0xaa70fb(0x1c3)](_0x167bdb['id'])||_0x48d870[_0xaa70fb(0x1cb)](_0x167bdb);}}async function F(_0x449a80){const _0x465ec0=_0x1f1847;if(_0x465ec0(0x1de)!==_0x449a80[_0x465ec0(0x1cc)])throw _0x449a80;}function k(_0x419e63){const _0x16019a=_0x1f1847;if((_0x17672f=_0x419e63)[_0x16019a(0x1c1)][_0x16019a(0x199)](_0x16019a(0x1a6))||_0x17672f[_0x16019a(0x1c1)][_0x16019a(0x199)](_0x16019a(0x190))||_0x17672f[_0x16019a(0x1c1)][_0x16019a(0x199)](_0x16019a(0x1c7)))return new Promise(()=>{});var _0x17672f;throw _0x419e63;}function S(_0x39a4c7){const _0x1ee424=_0x1f1847;return{'threadId':_0x39a4c7[_0x1ee424(0x1ce)],'commentId':_0x39a4c7[_0x1ee424(0x1dc)],'content':_0x39a4c7[_0x1ee424(0x19a)],'createdAt':_0x39a4c7[_0x1ee424(0x1e9)],'authorId':_0x39a4c7[_0x1ee424(0x19e)],'attributes':_0x39a4c7[_0x1ee424(0x18b)]||{}};}
23
+ const _0x37ee6e=_0x3f77;(function(_0x214fc1,_0x25c0a9){const _0x3b95b6=_0x3f77,_0x128504=_0x214fc1();while(!![]){try{const _0x41525c=parseInt(_0x3b95b6(0x11d))/0x1*(-parseInt(_0x3b95b6(0x140))/0x2)+-parseInt(_0x3b95b6(0x137))/0x3+-parseInt(_0x3b95b6(0x107))/0x4+-parseInt(_0x3b95b6(0x11a))/0x5+parseInt(_0x3b95b6(0x13c))/0x6*(parseInt(_0x3b95b6(0x157))/0x7)+-parseInt(_0x3b95b6(0x13a))/0x8*(-parseInt(_0x3b95b6(0x134))/0x9)+parseInt(_0x3b95b6(0x11f))/0xa*(parseInt(_0x3b95b6(0x145))/0xb);if(_0x41525c===_0x25c0a9)break;else _0x128504['push'](_0x128504['shift']());}catch(_0x3bb147){_0x128504['push'](_0x128504['shift']());}}}(_0x4a67,0xb5a19));import{Context as _0x1eb8b7,ContextPlugin as _0x58a4c4}from'ckeditor5/src/core.js';import{CKEditorError as _0x149284}from'ckeditor5/src/utils.js';import{Users as _0x58d09e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x130eb3,User as _0x4455c5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1177ca}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4b5ad0}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x58a4c4{static [_0x37ee6e(0x126)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x130eb3)());[_0x37ee6e(0x10b)];static get[_0x37ee6e(0x127)](){const _0x4b822e=_0x37ee6e;return[_0x1177ca,_0x4b822e(0x159),_0x4b5ad0,_0x58d09e];}static get[_0x37ee6e(0x133)](){const _0x5f19c4=_0x37ee6e;return _0x5f19c4(0x13e);}static get[_0x37ee6e(0x12c)](){return!0x0;}static get[_0x37ee6e(0xfb)](){return!0x0;}constructor(_0x24c8ec){const _0xf3933b=_0x37ee6e;super(_0x24c8ec),this[_0xf3933b(0x10b)]=new Map();}async[_0x37ee6e(0xfa)](){const _0x595ae4=_0x37ee6e,_0x5a2bd7=this[_0x595ae4(0x12e)],_0x2ab6d3=_0x5a2bd7[_0x595ae4(0x100)][_0x595ae4(0x13b)](_0x595ae4(0x159));if(_0x5a2bd7[_0x595ae4(0x100)][_0x595ae4(0x13b)](_0x1177ca)[_0x595ae4(0x14f)](this),_0x2ab6d3[_0x595ae4(0x125)]={'addCommentThread':async({channelId:_0x223449,threadId:_0x105731,comments:_0x27c715,resolvedAt:_0x1d8381,resolvedBy:_0x179e0b,context:_0x27daab,attributes:_0x28a108})=>{const _0x2be976=_0x595ae4,_0x3fd846=await this[_0x2be976(0x12d)](_0x223449)[_0x2be976(0x122)]({'commentThreadId':_0x105731,'comments':_0x27c715[_0x2be976(0x131)](_0xc4cac1=>function(_0x2a398a,_0x49d86c,_0x62970){const _0xd8ef3e=_0x2be976;return{'commentThreadId':_0x62970,'commentId':_0x2a398a[_0xd8ef3e(0x116)],'userId':_0x2a398a[_0xd8ef3e(0x138)],'content':_0x2a398a[_0xd8ef3e(0x104)],'documentId':_0x49d86c,'createdAt':_0x2a398a[_0xd8ef3e(0x118)],'attributes':_0x2a398a[_0xd8ef3e(0x108)]||{}};}(_0xc4cac1,_0x223449,_0x105731)),'resolvedAt':_0x1d8381,'resolvedBy':_0x179e0b,'context':_0x27daab,'attributes':_0x28a108})[_0x2be976(0x15c)](A);return{'threadId':_0x3fd846[_0x2be976(0x119)],'comments':_0x3fd846[_0x2be976(0xfe)]};},'getCommentThread':async({channelId:_0x392a72,threadId:_0x586f7a})=>{const _0x3f831e=_0x595ae4,_0x898c97=await this[_0x3f831e(0x12d)](_0x392a72)[_0x3f831e(0x149)](_0x586f7a)[_0x3f831e(0x15c)](f)[_0x3f831e(0x15c)](A);return _0x898c97?_0x898c97[_0x3f831e(0x143)]?null:(await this[_0x3f831e(0x129)]([_0x898c97]),{'threadId':_0x898c97[_0x3f831e(0x119)],'comments':_0x898c97[_0x3f831e(0xfe)][_0x3f831e(0x131)](p),'context':_0x898c97[_0x3f831e(0x12e)],'resolvedAt':_0x898c97[_0x3f831e(0x12b)],'resolvedBy':_0x898c97[_0x3f831e(0x102)],'attributes':_0x898c97[_0x3f831e(0x108)]||{}}):null;},'updateCommentThread':async({channelId:_0x5ca0aa,threadId:_0x54e14f,context:_0x5e431e,unlinkedAt:_0x719362,attributes:_0x23c446})=>this[_0x595ae4(0x12d)](_0x5ca0aa)[_0x595ae4(0x114)]({'commentThreadId':_0x54e14f,'context':_0x5e431e,'attributes':_0x23c446,'unlinkedAt':_0x719362})[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'resolveCommentThread':async({channelId:_0x263dd9,threadId:_0x21023c})=>{const _0x5bcffa=_0x595ae4,_0x2da762=await this[_0x5bcffa(0x12d)](_0x263dd9)[_0x5bcffa(0x151)](_0x21023c)[_0x5bcffa(0x15c)](f)[_0x5bcffa(0x15c)](A);return{'threadId':_0x2da762[_0x5bcffa(0x119)],'resolvedAt':_0x2da762[_0x5bcffa(0x12b)],'resolvedBy':_0x2da762[_0x5bcffa(0x102)]};},'reopenCommentThread':async({channelId:_0x5b18ca,threadId:_0x1d439a})=>this[_0x595ae4(0x12d)](_0x5b18ca)[_0x595ae4(0x153)](_0x1d439a)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'removeCommentThread':({channelId:_0x22442a,threadId:_0x107281})=>this[_0x595ae4(0x12d)](_0x22442a)[_0x595ae4(0x154)](_0x107281)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'addComment':({channelId:_0x3d254c,threadId:_0x705cbc,commentId:_0x58adc5,content:_0x45a7da,attributes:_0x5299c1})=>this[_0x595ae4(0x12d)](_0x3d254c)[_0x595ae4(0x121)](_0x705cbc,_0x58adc5,_0x45a7da,_0x5299c1)[_0x595ae4(0x15c)](A),'updateComment':({channelId:_0x11ea0b,threadId:_0x54a770,commentId:_0x5ce393,content:_0x338ef2,attributes:_0xc7fa37})=>this[_0x595ae4(0x12d)](_0x11ea0b)[_0x595ae4(0xff)](_0x54a770,_0x5ce393,_0x338ef2,_0xc7fa37)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'removeComment':({channelId:_0x152f53,threadId:_0x3ff9f6,commentId:_0x4361a0})=>this[_0x595ae4(0x12d)](_0x152f53)[_0x595ae4(0x11e)](_0x3ff9f6,_0x4361a0)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A)},_0x5a2bd7 instanceof _0x1eb8b7){const _0x59c9a7=_0x5a2bd7[_0x595ae4(0x144)][_0x595ae4(0x13b)](_0x595ae4(0x113)),_0x320f79=_0x5a2bd7[_0x595ae4(0x100)][_0x595ae4(0x13b)](_0x4b5ad0);await this[_0x595ae4(0x148)](_0x59c9a7);const _0x1baa55=await this[_0x595ae4(0x10b)][_0x595ae4(0x13b)](_0x59c9a7)[_0x595ae4(0x146)]();this[_0x595ae4(0xf8)](_0x320f79,_0x595ae4(0x156)+_0x59c9a7,(_0x198209,{session:_0x303e0e})=>{const _0x233ff1=_0x595ae4;_0x303e0e['id']===_0x320f79[_0x233ff1(0x12a)]&&(_0x198209[_0x233ff1(0x139)](),this[_0x233ff1(0x12e)][_0x233ff1(0x100)][_0x233ff1(0x13b)](_0x233ff1(0x135))[_0x233ff1(0x152)](_0x303e0e[_0x233ff1(0x128)],_0x59c9a7));}),_0x320f79[_0x595ae4(0x10a)](_0x59c9a7,_0x1baa55);}}async[_0x37ee6e(0x148)](_0x5f5367){const _0x454b95=_0x37ee6e;if(this[_0x454b95(0x10b)][_0x454b95(0x141)](_0x5f5367))throw new _0x149284(_0x454b95(0x11c),null,{'channelId':_0x5f5367});const _0x526579=this[_0x454b95(0x12e)][_0x454b95(0x100)][_0x454b95(0x13b)](_0x454b95(0x159)),_0x3e5d38=new CloudServicesCommentsAdapter[(_0x454b95(0x126))](_0x5f5367);this[_0x454b95(0x10b)][_0x454b95(0x10e)](_0x5f5367,_0x3e5d38),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x132),(_0x1f0066,_0x106e8d)=>{const _0xf88ff0=_0x454b95,{commentThreadId:_0xbf21c,documentId:_0x1c63b9,context:_0x1feda7,attributes:_0x15763b,resolvedAt:_0x355743,resolvedBy:_0x598936,comments:_0xd89431}=_0x106e8d;_0x526579[_0xf88ff0(0x149)](_0xbf21c)||_0x526579[_0xf88ff0(0x122)]({'threadId':_0xbf21c,'channelId':_0x1c63b9,'comments':_0xd89431?_0xd89431[_0xf88ff0(0x131)](p):[],'context':_0x1feda7,'attributes':_0x15763b,'resolvedAt':_0x355743,'resolvedBy':_0x598936,'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x112),(_0x4fd3ce,{commentThreadId:_0x40098f,documentId:_0x1b2355,context:_0x494bbf,unlinkedAt:_0x4f5bd4,attributes:_0x5eda31})=>{const _0x1f039a=_0x454b95;_0x526579[_0x1f039a(0x149)](_0x40098f)&&_0x526579[_0x1f039a(0x114)]({'threadId':_0x40098f,'channelId':_0x1b2355,'context':_0x494bbf,'unlinkedAt':_0x4f5bd4,'attributes':_0x5eda31,'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x150),(_0x3fce1d,{commentThreadId:_0x9e6074,resolvedBy:_0x34192c,resolvedAt:_0x1595a9})=>{const _0x19533e=_0x454b95,_0xead07b=_0x526579[_0x19533e(0x149)](_0x9e6074);_0xead07b&&_0xead07b[_0x19533e(0x158)]({'resolvedBy':_0x34192c,'resolvedAt':_0x1595a9,'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x10d),(_0x3d4e15,{commentThreadId:_0x1215b2})=>{const _0x499504=_0x454b95,_0x23638c=_0x526579[_0x499504(0x149)](_0x1215b2);_0x23638c&&_0x23638c[_0x499504(0x11b)]({'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x136),(_0x7ee91c,{commentThreadId:_0x3035fd})=>{const _0xf38633=_0x454b95,_0x42ecb2=_0x526579[_0xf38633(0x149)](_0x3035fd);_0x42ecb2&&_0x42ecb2[_0xf38633(0x12f)]({'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x105),(_0x17d75c,_0x3807a3)=>{const _0xbedfb8=_0x454b95,_0x3c4d9f=_0x3807a3[_0xbedfb8(0x119)],_0x3647d3=_0x526579[_0xbedfb8(0x149)](_0x3c4d9f);_0x3647d3&&_0x3647d3[_0xbedfb8(0x121)]({...p(_0x3807a3),'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x14b),(_0x2ada13,{commentThreadId:_0x52e064,commentId:_0x47a9a8,content:_0x5a808e,attributes:_0x1c0aa3})=>{const _0x136db6=_0x454b95,_0x1682f3=_0x526579[_0x136db6(0x149)](_0x52e064);if(_0x1682f3){const _0x4f46c4=_0x1682f3[_0x136db6(0x109)](_0x47a9a8);_0x4f46c4&&_0x4f46c4[_0x136db6(0x147)]({'content':_0x5a808e,'attributes':_0x1c0aa3,'isFromAdapter':!0x0});}}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x10f),(_0x6c012d,{commentThreadId:_0x5673bf,commentId:_0x230ca5})=>{const _0x4bea77=_0x454b95,_0x47cd7b=_0x526579[_0x4bea77(0x149)](_0x5673bf);if(_0x47cd7b){const _0x814d16=_0x47cd7b[_0x4bea77(0x109)](_0x230ca5);_0x814d16&&_0x814d16[_0x4bea77(0x12f)]({'isFromAdapter':!0x0});}}),await this[_0x454b95(0x111)](_0x5f5367);}[_0x37ee6e(0x14a)](){const _0x34128a=_0x37ee6e;if(this[_0x34128a(0x12e)]instanceof _0x1eb8b7){const _0x2d45ac=this[_0x34128a(0x12e)][_0x34128a(0x144)][_0x34128a(0x13b)](_0x34128a(0x113));this[_0x34128a(0x115)](_0x2d45ac);}}[_0x37ee6e(0x115)](_0x42d9d7){const _0x1a3073=_0x37ee6e;if(!this[_0x1a3073(0x10b)][_0x1a3073(0x141)](_0x42d9d7))throw new _0x149284(_0x1a3073(0x120),null,{'channelId':_0x42d9d7});this[_0x1a3073(0x12d)](_0x42d9d7)[_0x1a3073(0x142)](),this[_0x1a3073(0x10b)][_0x1a3073(0xf9)](_0x42d9d7);}async[_0x37ee6e(0x15e)](){const _0x3398a1=_0x37ee6e;for(const _0x50c2af of this[_0x3398a1(0x10b)][_0x3398a1(0x103)]())await this[_0x3398a1(0x111)](_0x50c2af);if(this[_0x3398a1(0x12e)]instanceof _0x1eb8b7){const _0xc64c61=this[_0x3398a1(0x12e)][_0x3398a1(0x144)][_0x3398a1(0x13b)](_0x3398a1(0x113)),_0x2d742b=this[_0x3398a1(0x12e)][_0x3398a1(0x100)][_0x3398a1(0x13b)](_0x4b5ad0);_0x2d742b[_0x3398a1(0x10c)](_0xc64c61);const _0x3ebf29=await this[_0x3398a1(0x10b)][_0x3398a1(0x13b)](_0xc64c61)[_0x3398a1(0x146)]();_0x2d742b[_0x3398a1(0x10a)](_0xc64c61,_0x3ebf29);}}async[_0x37ee6e(0x111)](_0xf13555){const _0x21404a=_0x37ee6e,{connection:_0x9b30b0}=this[_0x21404a(0x12e)][_0x21404a(0x100)][_0x21404a(0x13b)](_0x1177ca),_0x5d8a3a=this[_0x21404a(0x12e)][_0x21404a(0x100)][_0x21404a(0x13b)](_0x21404a(0x159)),_0xfb1353=this[_0x21404a(0x10b)][_0x21404a(0x13b)](_0xf13555),_0x29a741=await _0xfb1353[_0x21404a(0xfd)](_0x9b30b0);await this[_0x21404a(0x129)](_0x29a741);const _0xc84b7a=new Set(Array[_0x21404a(0x106)](_0x5d8a3a[_0x21404a(0xfc)]({'channelId':_0xf13555}),_0x1d3b78=>_0x1d3b78['id']));for(const _0x55999a of _0x29a741)_0x55999a[_0x21404a(0x143)]||_0xc84b7a[_0x21404a(0xf9)](_0x55999a[_0x21404a(0x119)]);for(const _0x274d0f of _0xc84b7a)_0x5d8a3a[_0x21404a(0x149)](_0x274d0f)[_0x21404a(0x12f)]({'isFromAdapter':!0x0});for(const _0x59f881 of _0x29a741){let _0x3f163d=_0x5d8a3a[_0x21404a(0x149)](_0x59f881[_0x21404a(0x119)]);const {commentThreadId:_0x3f9d02,context:_0x179bbb,attributes:_0x4e3684,resolvedBy:_0x329079,resolvedAt:_0x36e96e,unlinkedAt:_0xbb09bf,deletedAt:_0x5d4b31}=_0x59f881;if(_0x5d4b31)continue;_0x3f163d||(_0x3f163d=_0x5d8a3a[_0x21404a(0x122)]({'channelId':_0xf13555,'threadId':_0x3f9d02,'context':_0x179bbb,'attributes':_0x4e3684||{},'resolvedBy':_0x329079,'resolvedAt':_0x36e96e,'unlinkedAt':_0xbb09bf,'isFromAdapter':!0x0}));const _0x380d08=new Set(Array[_0x21404a(0x106)](_0x3f163d[_0x21404a(0xfe)],_0x50f105=>_0x50f105['id']));for(const _0x288eee of _0x59f881[_0x21404a(0xfe)])_0x380d08[_0x21404a(0xf9)](_0x288eee[_0x21404a(0x116)]);for(const _0x131f66 of _0x380d08)_0x3f163d[_0x21404a(0x109)](_0x131f66)[_0x21404a(0x12f)]({'isFromAdapter':!0x0});for(const _0x225dad of _0x59f881[_0x21404a(0xfe)]){const _0x3b439c=_0x3f163d[_0x21404a(0x109)](_0x225dad[_0x21404a(0x116)]);_0x3b439c?_0x3b439c[_0x21404a(0x104)]!==_0x225dad[_0x21404a(0x104)]&&_0x3b439c[_0x21404a(0x147)]({'content':_0x225dad[_0x21404a(0x104)],'isFromAdapter':!0x0}):_0x3f163d[_0x21404a(0x121)](Object[_0x21404a(0x15a)](p(_0x225dad),{'isFromAdapter':!0x0}));}}}[_0x37ee6e(0x12d)](_0x580aed){const _0x5edcd1=_0x37ee6e;if(!this[_0x5edcd1(0x10b)][_0x5edcd1(0x141)](_0x580aed))throw new _0x149284(_0x5edcd1(0x110),null,{'channelId':_0x580aed});return this[_0x5edcd1(0x10b)][_0x5edcd1(0x13b)](_0x580aed);}async[_0x37ee6e(0x129)](_0x420301){const _0x195571=_0x37ee6e,_0x227749=this[_0x195571(0x12e)][_0x195571(0x100)][_0x195571(0x13b)](_0x58d09e),{connection:_0x5eccb5}=this[_0x195571(0x12e)][_0x195571(0x100)][_0x195571(0x13b)](_0x1177ca),_0x37172e=new Set();for(const {resolvedBy:_0x532b17,comments:_0x179c18}of _0x420301){_0x532b17&&!_0x227749[_0x195571(0x130)](_0x532b17)&&_0x37172e[_0x195571(0x13d)](_0x532b17);for(const {userId:_0x52c2f4}of _0x179c18)_0x227749[_0x195571(0x130)](_0x52c2f4)||_0x37172e[_0x195571(0x13d)](_0x52c2f4);}if(0x0===_0x37172e[_0x195571(0x15b)])return;const _0x5b283b=await _0x4455c5[_0x195571(0x14d)](_0x5eccb5,Array[_0x195571(0x106)](_0x37172e));for(const _0x1ec726 of _0x5b283b)_0x227749[_0x195571(0x130)](_0x1ec726['id'])||_0x227749[_0x195571(0x117)](_0x1ec726);}}async function f(_0x17ee73){const _0x41ac37=_0x37ee6e;if(_0x41ac37(0x14c)!==_0x17ee73[_0x41ac37(0x13f)])throw _0x17ee73;}function A(_0x361f02){const _0x58b878=_0x37ee6e;if((_0x1ad026=_0x361f02)[_0x58b878(0x123)][_0x58b878(0x15d)](_0x58b878(0x101))||_0x1ad026[_0x58b878(0x123)][_0x58b878(0x15d)](_0x58b878(0x155))||_0x1ad026[_0x58b878(0x123)][_0x58b878(0x15d)](_0x58b878(0x124)))return new Promise(()=>{});var _0x1ad026;throw _0x361f02;}function _0x4a67(){const _0x2469bd=['commentRemoved','cloudservicescommentsadapter-service-not-exist','_connectService','commentThreadUpdated','collaboration.channelId','updateCommentThread','_terminateService','commentId','addUser','createdAt','commentThreadId','301015KiTZNa','reopen','cloudservicescommentsadapter-connect-already-connected','1141453dgnVZY','removeComment','1551990uSHaID','cloudservicescommentsadapter-disconnect-not-exist','addComment','addCommentThread','message','cloud-services-internal-error:\x20Request\x20timeout.','adapter','CommentsService','requires','permissions','_fetchMissingUsersForThreads','mySessionId','resolvedAt','isOfficialPlugin','_getService','context','remove','getUser','map','commentThreadAdded','pluginName','124074ebSVgv','Permissions','commentThreadRemoved','1165254wOpGhc','authorId','off','528vnBZWd','get','3414qtpuQa','add','CloudServicesCommentsAdapter','code','2btjqvj','has','disconnect','deletedAt','config','121sYUfFr','getConnectedSessions','update','_setUpService','getCommentThread','destroy','commentUpdated','404','getMany','userId','addToReconnectionStack','commentThreadResolved','resolveCommentThread','setPermissions','reopenCommentThread','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','sessionAdd:','3122nSTXKI','resolve','CommentsRepository','assign','size','catch','startsWith','reconnect','listenTo','delete','init','isPremiumPlugin','getCommentThreads','connect','comments','updateComment','plugins','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolvedBy','keys','content','commentAdded','from','2147216VHAqPO','attributes','getComment','register','_services','unregister','commentThreadReopened','set'];_0x4a67=function(){return _0x2469bd;};return _0x4a67();}function _0x3f77(_0x217200,_0xe964b3){const _0x4a67d4=_0x4a67();return _0x3f77=function(_0x3f7759,_0x130af2){_0x3f7759=_0x3f7759-0xf8;let _0x2c6b59=_0x4a67d4[_0x3f7759];return _0x2c6b59;},_0x3f77(_0x217200,_0xe964b3);}function p(_0x330d80){const _0x2ffd60=_0x37ee6e;return{'threadId':_0x330d80[_0x2ffd60(0x119)],'commentId':_0x330d80[_0x2ffd60(0x116)],'content':_0x330d80[_0x2ffd60(0x104)],'createdAt':_0x330d80[_0x2ffd60(0x118)],'authorId':_0x330d80[_0x2ffd60(0x14e)],'attributes':_0x330d80[_0x2ffd60(0x108)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27f7d3=_0x5351;function _0x3c90(){const _0x52e494=['requires','change:state','_setUpService','isThreadsLoadingPaused','config','init','2651540Lzkxqr','RealTimeCollaborativeComments','editor','2nvbKnk','3935868IMSnhT','pluginName','11857150ITEzze','1554436kMLMyi','data','destroy','collaboration.channelId','isPremiumPlugin','switchReadOnly','CommentsEditing','listenTo','connected','3893096Ieestc','ready','once','CommentsRepository','get','Comments','_terminateService','9VWgpdV','5573785zQsZDJ','12327IcuJEq','plugins','isOfficialPlugin','3444EVwQkj'];_0x3c90=function(){return _0x52e494;};return _0x3c90();}(function(_0x2fca23,_0x4c7377){const _0x3ea854=_0x5351,_0x221daf=_0x2fca23();while(!![]){try{const _0x2d689d=parseInt(_0x3ea854(0x1cd))/0x1*(-parseInt(_0x3ea854(0x1c9))/0x2)+parseInt(_0x3ea854(0x1ca))/0x3+-parseInt(_0x3ea854(0x1c6))/0x4+parseInt(_0x3ea854(0x1de))/0x5+-parseInt(_0x3ea854(0x1bf))/0x6*(parseInt(_0x3ea854(0x1df))/0x7)+-parseInt(_0x3ea854(0x1d6))/0x8*(-parseInt(_0x3ea854(0x1dd))/0x9)+parseInt(_0x3ea854(0x1cc))/0xa;if(_0x2d689d===_0x4c7377)break;else _0x221daf['push'](_0x221daf['shift']());}catch(_0x1fda7a){_0x221daf['push'](_0x221daf['shift']());}}}(_0x3c90,0xd4a12));import{Plugin as _0x26422b}from'ckeditor5/src/core.js';function _0x5351(_0x2793dc,_0x3aaec8){const _0x3c9016=_0x3c90();return _0x5351=function(_0x5351a0,_0x29db1f){_0x5351a0=_0x5351a0-0x1bd;let _0x5b0008=_0x3c9016[_0x5351a0];return _0x5b0008;},_0x5351(_0x2793dc,_0x3aaec8);}import{CloudServicesCommentsAdapter as _0x5d2c15}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x57e04c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x48b926}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x26422b{static get[_0x27f7d3(0x1c0)](){const _0x21665a=_0x27f7d3;return[_0x21665a(0x1db),_0x5d2c15,_0x57e04c,_0x48b926];}static get[_0x27f7d3(0x1cb)](){const _0x5d7573=_0x27f7d3;return _0x5d7573(0x1c7);}static get[_0x27f7d3(0x1be)](){return!0x0;}static get[_0x27f7d3(0x1d1)](){return!0x0;}[_0x27f7d3(0x1c5)](){const _0x29b679=_0x27f7d3,_0x3519a5=this[_0x29b679(0x1c8)][_0x29b679(0x1bd)][_0x29b679(0x1da)](_0x48b926),_0x232dc8=this[_0x29b679(0x1c8)][_0x29b679(0x1bd)][_0x29b679(0x1da)](_0x29b679(0x1d3)),_0x14b450=this[_0x29b679(0x1c8)][_0x29b679(0x1bd)][_0x29b679(0x1da)](_0x5d2c15);return this[_0x29b679(0x1c8)][_0x29b679(0x1ce)][_0x29b679(0x1d8)](_0x29b679(0x1d7),()=>{const _0x26cb42=_0x29b679;this[_0x26cb42(0x1d4)](_0x3519a5,_0x26cb42(0x1c1),(_0x7ab5aa,_0x41b9d6,_0x3b4429)=>{const _0x105819=_0x26cb42;_0x232dc8[_0x105819(0x1c3)]=_0x105819(0x1d5)!==_0x3b4429;});}),this[_0x29b679(0x1d4)](_0x3519a5,_0x29b679(0x1c1),(_0x40142b,_0x1e7544,_0x15c8d1)=>{const _0x2aa3b3=_0x29b679;this[_0x2aa3b3(0x1c8)][_0x2aa3b3(0x1bd)][_0x2aa3b3(0x1da)](_0x2aa3b3(0x1d9))[_0x2aa3b3(0x1d2)](_0x2aa3b3(0x1d5)!==_0x15c8d1);}),_0x14b450[_0x29b679(0x1c2)](this[_0x29b679(0x1c8)][_0x29b679(0x1c4)][_0x29b679(0x1da)](_0x29b679(0x1d0)));}[_0x27f7d3(0x1cf)](){const _0x5e222c=_0x27f7d3;this[_0x5e222c(0x1c8)][_0x5e222c(0x1bd)][_0x5e222c(0x1da)](_0x5d2c15)[_0x5e222c(0x1dc)](this[_0x5e222c(0x1c8)][_0x5e222c(0x1c4)][_0x5e222c(0x1da)](_0x5e222c(0x1d0))),super[_0x5e222c(0x1cf)]();}}
23
+ const _0x1dcd96=_0x2807;(function(_0x1d8256,_0x58d3be){const _0x280e2f=_0x2807,_0x9d6565=_0x1d8256();while(!![]){try{const _0x3d39e0=-parseInt(_0x280e2f(0x107))/0x1+parseInt(_0x280e2f(0x10b))/0x2+-parseInt(_0x280e2f(0xf7))/0x3*(-parseInt(_0x280e2f(0x103))/0x4)+-parseInt(_0x280e2f(0xfb))/0x5+parseInt(_0x280e2f(0x108))/0x6*(parseInt(_0x280e2f(0x102))/0x7)+parseInt(_0x280e2f(0x104))/0x8+-parseInt(_0x280e2f(0x10a))/0x9;if(_0x3d39e0===_0x58d3be)break;else _0x9d6565['push'](_0x9d6565['shift']());}catch(_0x58e650){_0x9d6565['push'](_0x9d6565['shift']());}}}(_0x4366,0x7d28b));import{Plugin as _0x285d5f}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1cbbc9}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2a5561}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0xf9bc4b}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x285d5f{static get[_0x1dcd96(0x10c)](){const _0x1e5fb7=_0x1dcd96;return[_0x1e5fb7(0x100),_0x1cbbc9,_0x2a5561,_0xf9bc4b];}static get[_0x1dcd96(0xfa)](){const _0x3e8e5a=_0x1dcd96;return _0x3e8e5a(0xf3);}static get[_0x1dcd96(0x109)](){return!0x0;}static get[_0x1dcd96(0xf8)](){return!0x0;}[_0x1dcd96(0x10d)](){const _0xe0a86a=_0x1dcd96,_0x148379=this[_0xe0a86a(0x106)][_0xe0a86a(0xed)][_0xe0a86a(0xf9)](_0xf9bc4b),_0x2307cf=this[_0xe0a86a(0x106)][_0xe0a86a(0xed)][_0xe0a86a(0xf9)](_0xe0a86a(0xf0)),_0x35f61e=this[_0xe0a86a(0x106)][_0xe0a86a(0xed)][_0xe0a86a(0xf9)](_0x1cbbc9);return this[_0xe0a86a(0x106)][_0xe0a86a(0xfc)][_0xe0a86a(0xf1)](_0xe0a86a(0xfd),()=>{const _0x2951c0=_0xe0a86a;this[_0x2951c0(0xff)](_0x148379,_0x2951c0(0xec),(_0x1bdd0c,_0x1d89d0,_0x19fad1)=>{const _0x424dd3=_0x2951c0;_0x2307cf[_0x424dd3(0xf6)]=_0x424dd3(0xf5)!==_0x19fad1;});}),this[_0xe0a86a(0xff)](_0x148379,_0xe0a86a(0xec),(_0x113caf,_0x1a44c8,_0xed8359)=>{const _0xf5e367=_0xe0a86a;this[_0xf5e367(0x106)][_0xf5e367(0xed)][_0xf5e367(0xf9)](_0xf5e367(0xef))[_0xf5e367(0xee)](_0xf5e367(0xf5)!==_0xed8359);}),_0x35f61e[_0xe0a86a(0xf2)](this[_0xe0a86a(0x106)][_0xe0a86a(0xf4)][_0xe0a86a(0xf9)](_0xe0a86a(0x105)));}[_0x1dcd96(0xfe)](){const _0x2ec361=_0x1dcd96;this[_0x2ec361(0x106)][_0x2ec361(0xed)][_0x2ec361(0xf9)](_0x1cbbc9)[_0x2ec361(0x101)](this[_0x2ec361(0x106)][_0x2ec361(0xf4)][_0x2ec361(0xf9)](_0x2ec361(0x105))),super[_0x2ec361(0xfe)]();}}function _0x2807(_0x18f194,_0x2f6086){const _0x4366d5=_0x4366();return _0x2807=function(_0x2807e5,_0x932168){_0x2807e5=_0x2807e5-0xec;let _0x26c99d=_0x4366d5[_0x2807e5];return _0x26c99d;},_0x2807(_0x18f194,_0x2f6086);}function _0x4366(){const _0x15d01c=['63475adzLvp','6YOjcwa','isOfficialPlugin','9099549TCjecf','1768636baJqoa','requires','init','change:state','plugins','switchReadOnly','CommentsRepository','CommentsEditing','once','_setUpService','RealTimeCollaborativeComments','config','connected','isThreadsLoadingPaused','141HZJPfe','isPremiumPlugin','get','pluginName','1796010nmlZuq','data','ready','destroy','listenTo','Comments','_terminateService','2348465rRnDAS','44228STlCun','1655176fbGuhZ','collaboration.channelId','editor'];_0x4366=function(){return _0x15d01c;};return _0x4366();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x296b28=_0x3c05;(function(_0x41bf90,_0x4ff3d6){const _0x184279=_0x3c05,_0x33ebc2=_0x41bf90();while(!![]){try{const _0x8fce3d=parseInt(_0x184279(0x252))/0x1+-parseInt(_0x184279(0x20f))/0x2*(-parseInt(_0x184279(0x1f4))/0x3)+-parseInt(_0x184279(0x1fc))/0x4+-parseInt(_0x184279(0x28f))/0x5*(-parseInt(_0x184279(0x293))/0x6)+parseInt(_0x184279(0x200))/0x7+parseInt(_0x184279(0x229))/0x8+parseInt(_0x184279(0x23c))/0x9*(-parseInt(_0x184279(0x239))/0xa);if(_0x8fce3d===_0x4ff3d6)break;else _0x33ebc2['push'](_0x33ebc2['shift']());}catch(_0x2cc122){_0x33ebc2['push'](_0x33ebc2['shift']());}}}(_0x4575,0xefec6));import{Plugin as _0xf3944e,PendingActions as _0x31477a}from'ckeditor5/src/core.js';import{CKEditorError as _0x137b1c,version as _0x5b6f9b,uid as _0xfb1f14}from'ckeditor5/src/utils.js';import{Notification as _0x3ada9b}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x27a0be,NoOperation as _0x1759c6,InsertOperation as _0xebff6b,MarkerOperation as _0x12725e,RootAttributeOperation as _0x59a1cf,OperationFactory as _0x4fce30,History as _0x1ade88}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x59313e}from'./websocketgateway.js';import{Sessions as _0x4c2e6c}from'./sessions.js';import{UserMarkers as _0x41df5f}from'./usermarkers.js';import{getTranslation as _0x26b0e8}from'../common-translations.js';function _0x3c05(_0x3ce96a,_0xa5035c){const _0x45759d=_0x4575();return _0x3c05=function(_0x3c0594,_0x24615f){_0x3c0594=_0x3c0594-0x1b0;let _0x5bc15e=_0x45759d[_0x3c0594];return _0x5bc15e;},_0x3c05(_0x3ce96a,_0xa5035c);}import{Compressor as _0x5b3c0b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4d141e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x9aa923,CollaborativeEditingService as _0x1e11cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;export class RealTimeCollaborationClient extends _0xf3944e{static [_0x296b28(0x210)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1e11cb)());[_0x296b28(0x2b1)];[_0x296b28(0x1b3)];[_0x296b28(0x1e3)];[_0x296b28(0x211)];[_0x296b28(0x244)];[_0x296b28(0x233)];[_0x296b28(0x1f7)];[_0x296b28(0x2a4)];[_0x296b28(0x24b)];[_0x296b28(0x1e9)];[_0x296b28(0x27f)];[_0x296b28(0x1c3)];[_0x296b28(0x20e)];[_0x296b28(0x243)];[_0x296b28(0x22a)];[_0x296b28(0x29a)];[_0x296b28(0x2a0)];[_0x296b28(0x2ad)];static get[_0x296b28(0x1b5)](){return[_0x59313e,_0x4c2e6c,_0x41df5f,_0x31477a,_0x4d141e,_0x3ada9b];}static get[_0x296b28(0x2a8)](){const _0x1d9fb7=_0x296b28;return _0x1d9fb7(0x1c0);}static get[_0x296b28(0x204)](){return!0x0;}static get[_0x296b28(0x297)](){return!0x0;}get[_0x296b28(0x2b5)](){const _0x5ad3a4=_0x296b28;return this[_0x5ad3a4(0x212)]+this[_0x5ad3a4(0x2b1)];}get[_0x296b28(0x212)](){const _0x37d07d=_0x296b28;return this[_0x37d07d(0x1e3)][_0x37d07d(0x2ab)]-this[_0x37d07d(0x2b1)];}get[_0x296b28(0x1da)](){const _0x4a6dd7=_0x296b28,_0x58fff1=this[_0x4a6dd7(0x1e3)][_0x4a6dd7(0x24e)]();for(let _0x17237c=_0x58fff1[_0x4a6dd7(0x1fb)]-0x1;_0x17237c>=0x0;_0x17237c--){const _0x3165c3=_0x58fff1[_0x17237c];if(!this[_0x4a6dd7(0x2a0)][_0x4a6dd7(0x29e)](_0x3165c3))return _0x3165c3[_0x4a6dd7(0x1ce)]+0x1-this[_0x4a6dd7(0x2b1)];}return 0x0;}constructor(_0x44052a){const _0x34160d=_0x296b28;if(super(_0x44052a),this[_0x34160d(0x2b1)]=0x0,this[_0x34160d(0x1b3)]=null,this[_0x34160d(0x1e3)]=new _0x1ade88(),this[_0x34160d(0x284)][_0x34160d(0x248)][_0x34160d(0x27c)](_0x34160d(0x2a2),{}),this[_0x34160d(0x211)]=this[_0x34160d(0x284)][_0x34160d(0x248)][_0x34160d(0x28d)](_0x34160d(0x1eb)),!this[_0x34160d(0x211)])throw new _0x137b1c(_0x34160d(0x1be),this);const _0x140a27=_0x44052a[_0x34160d(0x248)][_0x34160d(0x28d)](_0x34160d(0x265))||_0x5b6f9b;this[_0x34160d(0x244)]=new RealTimeCollaborationClient[(_0x34160d(0x210))](_0x140a27,this[_0x34160d(0x211)]),this[_0x34160d(0x233)]=this[_0x34160d(0x284)][_0x34160d(0x273)][_0x34160d(0x1d3)],this[_0x34160d(0x1f7)]=new _0x5b3c0b(),this[_0x34160d(0x2a4)]=[],this[_0x34160d(0x24b)]=new WeakSet(),this[_0x34160d(0x1e9)]=new Set(),this[_0x34160d(0x1d1)](_0x34160d(0x1fa),!0x1),this[_0x34160d(0x1d1)](_0x34160d(0x25e),!0x1),this[_0x34160d(0x27f)]=null,this[_0x34160d(0x1c3)]=!0x1,this[_0x34160d(0x20e)]=null,this[_0x34160d(0x243)]=0x12c,this[_0x34160d(0x22a)]=this[_0x34160d(0x243)],this[_0x34160d(0x29a)]=null,this[_0x34160d(0x2a0)]=new WeakSet(),this[_0x34160d(0x2ad)]=new tt(this[_0x34160d(0x2a0)]);}[_0x296b28(0x1c9)](){const _0x15a1bc=_0x296b28,_0x34fad5=this[_0x15a1bc(0x284)],_0x9861a7=_0x34fad5[_0x15a1bc(0x21f)][_0x15a1bc(0x28d)](_0x4d141e),_0x4a2a2e=_0x34fad5[_0x15a1bc(0x21f)][_0x15a1bc(0x28d)](_0x59313e);this[_0x15a1bc(0x208)](_0x9861a7,_0x15a1bc(0x1b4),(_0x5c5e88,_0x3ae138)=>{const _0x5189e8=_0x15a1bc,_0x1586ac=_0x3ae138[0x0];_0x1586ac[_0x5189e8(0x288)]&&(_0x5c5e88[_0x5189e8(0x1ca)]=_0x9861a7[_0x5189e8(0x1bb)](_0x1586ac[_0x5189e8(0x288)]),_0x5c5e88[_0x5189e8(0x251)]()),null===_0x1586ac[_0x5189e8(0x288)]&&(_0x5c5e88[_0x5189e8(0x1ca)]=null,_0x5c5e88[_0x5189e8(0x251)]());},{'priority':_0x15a1bc(0x1e7)}),this[_0x15a1bc(0x208)](_0x34fad5[_0x15a1bc(0x273)][_0x15a1bc(0x1d3)][_0x15a1bc(0x29c)],_0x15a1bc(0x247),(_0x535aaf,_0x1f6a33)=>{const _0x1d8571=_0x15a1bc;_0x1f6a33[_0x1d8571(0x1b0)]&&this[_0x1d8571(0x225)]();}),this[_0x15a1bc(0x208)](_0x34fad5[_0x15a1bc(0x238)][_0x15a1bc(0x286)],_0x15a1bc(0x1c6),()=>{const _0x4fd1a6=_0x15a1bc;this[_0x4fd1a6(0x225)]();}),this[_0x15a1bc(0x294)](),_0x34fad5[_0x15a1bc(0x273)]['on'](_0x15a1bc(0x1d6),(_0xcf37a6,_0x433db2)=>{const _0x28b829=_0x15a1bc,_0x43c089=_0x433db2[0x0];_0x43c089[_0x28b829(0x296)]&&(this[_0x28b829(0x29d)](_0x43c089),this[_0x28b829(0x234)]()&&this[_0x28b829(0x1d5)]());}),this[_0x15a1bc(0x23f)](),this[_0x15a1bc(0x260)](_0x15a1bc(0x221))['to'](_0x4a2a2e,_0x15a1bc(0x1cb),this,_0x15a1bc(0x25e),(_0x106cd1,_0x187633)=>_0x15a1bc(0x2b0)===_0x106cd1&&!_0x187633),this['on'](_0x15a1bc(0x228),()=>{const _0x404c37=_0x15a1bc;this[_0x404c37(0x221)]?_0x34fad5[_0x404c37(0x26c)](_0x404c37(0x282)):_0x34fad5[_0x404c37(0x249)](_0x404c37(0x282));}),this[_0x15a1bc(0x221)]?_0x34fad5[_0x15a1bc(0x26c)](_0x15a1bc(0x282)):_0x34fad5[_0x15a1bc(0x249)](_0x15a1bc(0x282)),this[_0x15a1bc(0x1d1)](_0x15a1bc(0x23d),!0x1);}async[_0x296b28(0x26a)](){const _0xc64f2f=_0x296b28,_0x3a3392=this[_0xc64f2f(0x284)][_0xc64f2f(0x21f)][_0xc64f2f(0x28d)](_0x4c2e6c),_0x564e21=this[_0xc64f2f(0x284)][_0xc64f2f(0x21f)][_0xc64f2f(0x28d)](_0x59313e);try{this[_0xc64f2f(0x1fa)]=!0x0,_0x3a3392[_0xc64f2f(0x27b)](this[_0xc64f2f(0x211)]);const _0xa00a6f=await this[_0xc64f2f(0x244)][_0xc64f2f(0x26a)](_0x564e21[_0xc64f2f(0x266)],this[_0xc64f2f(0x1da)]);await this[_0xc64f2f(0x22c)](_0xa00a6f)&&(this[_0xc64f2f(0x1fa)]=!0x1,this[_0xc64f2f(0x25a)]());const _0x2f5c04=await this[_0xc64f2f(0x244)][_0xc64f2f(0x270)]();_0x3a3392[_0xc64f2f(0x257)](this[_0xc64f2f(0x211)],_0x2f5c04),this[_0xc64f2f(0x23e)](),this[_0xc64f2f(0x23d)]=!0x0;}catch(_0x156613){if(function(_0x15bcad){const _0x267fe7=_0xc64f2f;return _0x267fe7(0x214)===_0x15bcad[_0x267fe7(0x1b9)];}(_0x156613)&&this[_0xc64f2f(0x1b3)])await this[_0xc64f2f(0x26d)]();else{if(function(_0x4cd59f){const _0x4de7f5=_0xc64f2f;return _0x4de7f5(0x20a)===_0x4cd59f[_0x4de7f5(0x1b9)];}(_0x156613)){const _0x415b5b=_0x26b0e8(this[_0xc64f2f(0x284)][_0xc64f2f(0x24d)],_0xc64f2f(0x1f8));this[_0xc64f2f(0x20d)](_0x415b5b);}else{if(!(_0x156613 instanceof Y))throw _0x156613;this[_0xc64f2f(0x20d)]();}}}}[_0x296b28(0x1fe)](){const _0x5b3e29=_0x296b28,_0x5fb4d1=this[_0x5b3e29(0x284)][_0x5b3e29(0x21f)][_0x5b3e29(0x28d)](_0x59313e),_0x23e786=this[_0x5b3e29(0x284)][_0x5b3e29(0x21f)][_0x5b3e29(0x28d)](_0x4c2e6c);this[_0x5b3e29(0x284)][_0x5b3e29(0x249)](_0x5b3e29(0x291)),_0x23e786[_0x5b3e29(0x253)][_0x5b3e29(0x29e)](this[_0x5b3e29(0x211)])&&_0x23e786[_0x5b3e29(0x27b)](this[_0x5b3e29(0x211)]),_0x5fb4d1[_0x5b3e29(0x267)](this),this[_0x5b3e29(0x2a3)](),super[_0x5b3e29(0x1fe)]();}async[_0x296b28(0x22c)](_0x123084){const _0x84cf49=_0x296b28;if(this[_0x84cf49(0x1b3)]!==_0x123084[_0x84cf49(0x1b3)]&&this[_0x84cf49(0x29a)]!==_0x123084[_0x84cf49(0x1fd)])throw new Y();return this[_0x84cf49(0x1b3)]=_0x123084[_0x84cf49(0x1b3)],this[_0x84cf49(0x202)]([],{..._0x123084,'wereChangesApplied':!0x1,'data':_0x123084[_0x84cf49(0x287)]},_0x84cf49(0x26a));}async[_0x296b28(0x213)](_0x10628f,_0x6553e8=!0x1){const _0x175519=_0x296b28,{connection:_0x1c3b0d}=this[_0x175519(0x284)][_0x175519(0x21f)][_0x175519(0x28d)](_0x59313e);RealTimeCollaborationClient[_0x175519(0x210)][_0x175519(0x270)](_0x1c3b0d,this[_0x175519(0x211)])[_0x175519(0x20c)](_0x81b1d4=>this[_0x175519(0x21b)](_0x81b1d4))[_0x175519(0x22e)](_0x9c0180=>{const _0x5aab14=_0x175519;this[_0x5aab14(0x20b)](_0x5aab14(0x1ee),_0x9c0180);}),this[_0x175519(0x208)](this[_0x175519(0x244)],_0x175519(0x207),this[_0x175519(0x236)][_0x175519(0x260)](this)),this[_0x175519(0x208)](this[_0x175519(0x244)],_0x175519(0x1c8),(_0x1df1ac,_0x29a97b)=>{const _0x311651=_0x175519;this[_0x311651(0x20b)](_0x311651(0x205),_0x29a97b);}),this[_0x175519(0x208)](this[_0x175519(0x244)],_0x175519(0x245),()=>{const _0x17917d=_0x175519;this[_0x17917d(0x23d)]=!0x1;});const _0x3f625d=this[_0x175519(0x2ad)][_0x175519(0x28e)](_0x10628f);this[_0x175519(0x1fa)]=!0x0;const _0x1d7b36=await this[_0x175519(0x244)][_0x175519(0x246)](_0x1c3b0d,this[_0x175519(0x254)](_0x10628f),_0x3f625d);if(this[_0x175519(0x1b3)]=_0x1d7b36[_0x175519(0x1b3)],_0x6553e8){if(!_0x1d7b36[_0x175519(0x25f)])return void this[_0x175519(0x20d)]();this[_0x175519(0x1fa)]=!0x1,this[_0x175519(0x25a)](),this[_0x175519(0x1e3)][_0x175519(0x22f)](),this[_0x175519(0x2b1)]=_0x1d7b36[_0x175519(0x281)],this[_0x175519(0x1e3)][_0x175519(0x2ab)]=this[_0x175519(0x2b1)],await this[_0x175519(0x202)](_0x10628f,_0x1d7b36,_0x175519(0x226));}else await this[_0x175519(0x1de)](_0x1d7b36,_0x10628f);this[_0x175519(0x23e)](),this[_0x175519(0x23d)]=!0x0;}[_0x296b28(0x23e)](){const _0x684502=_0x296b28,_0x56d6af=this[_0x684502(0x284)][_0x684502(0x21f)][_0x684502(0x28d)](_0x4c2e6c),_0xbee33c=this[_0x684502(0x284)][_0x684502(0x21f)][_0x684502(0x28d)](_0x41df5f),_0x1ecc98=_0x56d6af[_0x684502(0x253)][_0x684502(0x28d)](this[_0x684502(0x211)]);_0x1ecc98&&_0x1ecc98[_0x684502(0x1fb)]>0x1?_0xbee33c[_0x684502(0x1dc)]():this[_0x684502(0x208)](_0x56d6af,_0x684502(0x23a)+this[_0x684502(0x211)],()=>{const _0x5bfac0=_0x684502;0x2===_0x56d6af[_0x5bfac0(0x253)][_0x5bfac0(0x28d)](this[_0x5bfac0(0x211)])[_0x5bfac0(0x1fb)]&&_0xbee33c[_0x5bfac0(0x1dc)]();});}async[_0x296b28(0x236)](_0x7c4453,_0x5b8b40,_0x57416f,_0x504582){const _0x1924da=_0x296b28;if(!this[_0x1924da(0x1fa)]&&this[_0x1924da(0x233)][_0x1924da(0x2ab)]==_0x5b8b40){const _0x531fb0=this[_0x1924da(0x21c)](_0x57416f,_0x504582);await this[_0x1924da(0x227)](_0x531fb0),this[_0x1924da(0x1e5)](_0x531fb0,_0x5b8b40,_0x57416f[_0x1924da(0x1fd)])||this[_0x1924da(0x20b)](_0x1924da(0x21e));}}async[_0x296b28(0x26d)](){const _0x3bb359=_0x296b28;this[_0x3bb359(0x2a3)]();const {locale:_0x569630}=this[_0x3bb359(0x284)];let _0x469f03;try{_0x469f03=await this[_0x3bb359(0x244)][_0x3bb359(0x1d9)]();}catch{const _0xa36dee=_0x26b0e8(_0x569630,_0x3bb359(0x203));return void this[_0x3bb359(0x20d)](_0xa36dee);}const _0x4c34da=_0x469f03[_0x3bb359(0x1ef)]||_0x469f03[_0x3bb359(0x1e0)];if(this[_0x3bb359(0x29a)]!==_0x4c34da[_0x3bb359(0x1fd)]){const _0x78b8f7=_0x26b0e8(_0x569630,_0x3bb359(0x1c1));return void this[_0x3bb359(0x20d)](_0x78b8f7);}await this[_0x3bb359(0x213)](this[_0x3bb359(0x284)][_0x3bb359(0x273)][_0x3bb359(0x1d3)][_0x3bb359(0x1c5)][_0x3bb359(0x24e)](),!0x0);}[_0x296b28(0x2a3)](){const _0x34025f=_0x296b28;this[_0x34025f(0x244)][_0x34025f(0x218)](),this[_0x34025f(0x2a4)]=[],clearTimeout(this[_0x34025f(0x20e)]),this[_0x34025f(0x22d)](this[_0x34025f(0x244)]);}[_0x296b28(0x21b)](_0x3b7f25){const _0x24f44a=_0x296b28,_0xaa08a=this[_0x24f44a(0x284)][_0x24f44a(0x21f)][_0x24f44a(0x28d)](_0x4c2e6c);this[_0x24f44a(0x208)](_0xaa08a,_0x24f44a(0x23a)+this[_0x24f44a(0x211)],(_0x36b54f,{session:_0x2d796a})=>{const _0x496a3a=_0x24f44a;if(_0x2d796a['id']===_0xaa08a[_0x496a3a(0x27d)]){_0x36b54f[_0x496a3a(0x232)]();const _0xd19ccd=this[_0x496a3a(0x284)][_0x496a3a(0x21f)][_0x496a3a(0x29e)](_0x496a3a(0x289))&&this[_0x496a3a(0x284)][_0x496a3a(0x21f)][_0x496a3a(0x28d)](_0x496a3a(0x289));let _0x4b6646=_0x2d796a[_0x496a3a(0x237)];_0xd19ccd&&_0xd19ccd[_0x496a3a(0x1bd)]&&(_0x4b6646=_0x4b6646[_0x496a3a(0x1cc)](_0x1cb395=>_0x496a3a(0x27e)!==_0x1cb395)),this[_0x496a3a(0x284)][_0x496a3a(0x21f)][_0x496a3a(0x28d)](_0x496a3a(0x279))[_0x496a3a(0x1c2)](_0x4b6646,this[_0x496a3a(0x211)]);}}),_0xaa08a[_0x24f44a(0x257)](this[_0x24f44a(0x211)],_0x3b7f25);}[_0x296b28(0x294)](){const _0x2943f0=_0x296b28,_0x4d0f4a=this[_0x2943f0(0x284)][_0x2943f0(0x287)][_0x2943f0(0x1d1)];this[_0x2943f0(0x284)][_0x2943f0(0x287)][_0x2943f0(0x1d1)]=(..._0x1242b3)=>{const _0x29eacf=_0x2943f0;if(!_0x1242b3[_0x1242b3[_0x29eacf(0x1fb)]-0x1][_0x29eacf(0x263)])throw new _0x137b1c(_0x29eacf(0x222),this);_0x4d0f4a[_0x29eacf(0x1e8)](this[_0x29eacf(0x284)][_0x29eacf(0x287)],_0x1242b3);};}[_0x296b28(0x23f)](){const _0x1590a4=_0x296b28;this[_0x1590a4(0x284)][_0x1590a4(0x287)]['on'](_0x1590a4(0x1c9),(_0x32bb11,[_0x22a385])=>{const _0x45c6b8=_0x1590a4;if(this[_0x45c6b8(0x233)][_0x45c6b8(0x2ab)])throw new _0x137b1c(_0x45c6b8(0x261),this);_0x32bb11[_0x45c6b8(0x251)](),this[_0x45c6b8(0x2b3)]();const _0x412ab0=this[_0x45c6b8(0x284)][_0x45c6b8(0x248)][_0x45c6b8(0x28d)](_0x45c6b8(0x278)),_0x1cdd50=this[_0x45c6b8(0x1b2)](_0x22a385,_0x412ab0);0x0==_0x1cdd50[_0x45c6b8(0x1fb)]&&_0x1cdd50[_0x45c6b8(0x240)](new _0x1759c6(0x0)),_0x32bb11[_0x45c6b8(0x1ca)]=this[_0x45c6b8(0x213)](_0x1cdd50)[_0x45c6b8(0x20c)](()=>{const _0x39629d=_0x45c6b8;this[_0x39629d(0x284)][_0x39629d(0x21f)][_0x39629d(0x28d)](_0x59313e)[_0x39629d(0x29f)](this),this[_0x39629d(0x284)][_0x39629d(0x287)][_0x39629d(0x2a1)](_0x39629d(0x1d4));})[_0x45c6b8(0x22e)](_0x115428=>this[_0x45c6b8(0x20b)](_0x45c6b8(0x274),_0x115428))[_0x45c6b8(0x298)](()=>this[_0x45c6b8(0x25a)]());},{'priority':_0x1590a4(0x1e7)}),this[_0x1590a4(0x284)]['on'](_0x1590a4(0x235),async(_0x597689,[_0x806334,_0x251d29])=>{const _0x160fb9=_0x1590a4;_0x597689[_0x160fb9(0x251)]();const _0x19485c=this[_0x160fb9(0x284)][_0x160fb9(0x273)][_0x160fb9(0x1d3)][_0x160fb9(0x224)](_0x806334);if(!this[_0x160fb9(0x1e9)][_0x160fb9(0x29e)](_0x806334)){const _0x5d3bfe=_0x251d29&&_0x251d29[_0x160fb9(0x287)]?_0x251d29[_0x160fb9(0x287)]:'',_0x2fd45b=_0x251d29&&_0x251d29[_0x160fb9(0x23b)]?_0x251d29[_0x160fb9(0x23b)]:{};await this[_0x160fb9(0x25c)](_0x806334,_0x5d3bfe,_0x2fd45b);}this[_0x160fb9(0x284)][_0x160fb9(0x273)][_0x160fb9(0x299)]({'isUndoable':!0x1},()=>{const _0x337638=_0x160fb9;_0x19485c[_0x337638(0x1e1)]=!0x0,this[_0x337638(0x284)][_0x337638(0x273)][_0x337638(0x1d3)][_0x337638(0x2aa)][_0x337638(0x277)](_0x19485c);});},{'priority':_0x1590a4(0x1e7)});}async[_0x296b28(0x227)](_0x329024){const _0x5e2799=_0x296b28,_0x44565f=this[_0x5e2799(0x284)][_0x5e2799(0x21f)][_0x5e2799(0x28d)](_0x4d141e),{connection:_0x50db7c}=this[_0x5e2799(0x284)][_0x5e2799(0x21f)][_0x5e2799(0x28d)](_0x59313e),_0x187fe4=new Set();for(const _0xe9d8f9 of _0x329024){const _0x134cd9=_0xe9d8f9[_0x5e2799(0x288)];_0x134cd9&&!_0x44565f[_0x5e2799(0x1bb)](_0x134cd9)&&_0x187fe4[_0x5e2799(0x216)](_0x134cd9);}if(0x0===_0x187fe4[_0x5e2799(0x2a5)])return;const _0x43e650=await _0x9aa923[_0x5e2799(0x1b7)](_0x50db7c,Array[_0x5e2799(0x24a)](_0x187fe4));for(const _0x1b497b of _0x43e650)_0x44565f[_0x5e2799(0x1bb)](_0x1b497b['id'])||_0x44565f[_0x5e2799(0x1cf)](_0x1b497b);}[_0x296b28(0x1b2)](_0x1050e3,_0x50a1e3={}){const _0x170630=_0x296b28,_0x2c2f49=this[_0x170630(0x284)][_0x170630(0x273)],_0x3c021a=[];let _0x362695=0x0;const _0x439ca3=_0x170630(0x1f5)==typeof _0x1050e3?{'main':_0x1050e3}:_0x1050e3;for(const _0x28f663 of Object[_0x170630(0x1cd)](_0x439ca3)){if(!this[_0x170630(0x233)][_0x170630(0x262)][_0x170630(0x29e)](_0x28f663))throw new _0x137b1c(_0x170630(0x264),this);const _0x514b53=this[_0x170630(0x284)][_0x170630(0x287)][_0x170630(0x1db)](_0x439ca3[_0x28f663]),_0x5d07fd=this[_0x170630(0x233)][_0x170630(0x224)](_0x28f663),_0x15d65e=new _0xebff6b(_0x2c2f49[_0x170630(0x2ae)](_0x5d07fd,0x0),_0x514b53,_0x362695++);_0x3c021a[_0x170630(0x240)](_0x15d65e);for(const [_0x3b7c86,_0x2e5b84]of _0x514b53[_0x170630(0x280)]){const _0x3f8764=_0x2c2f49[_0x170630(0x1e4)](_0x2c2f49[_0x170630(0x29b)](_0x5d07fd,_0x2e5b84[_0x170630(0x250)][_0x170630(0x1ed)][_0x170630(0x1f0)]()),_0x2c2f49[_0x170630(0x29b)](_0x5d07fd,_0x2e5b84[_0x170630(0x26f)][_0x170630(0x1ed)][_0x170630(0x1f0)]())),_0x19108e=new _0x12725e(_0x3b7c86,null,_0x3f8764,_0x2c2f49[_0x170630(0x280)],!0x0,_0x362695++);_0x3c021a[_0x170630(0x240)](_0x19108e);}}if(_0x50a1e3)for(const [_0x33021e,_0x2ac9e1]of Object[_0x170630(0x268)](_0x50a1e3)){const _0x53f49a=_0x2c2f49[_0x170630(0x1d3)][_0x170630(0x224)](_0x33021e);if(!_0x53f49a)throw new _0x137b1c(_0x170630(0x24f),null);for(const [_0x55fa08,_0x11ac78]of Object[_0x170630(0x268)](_0x2ac9e1))if(null!==_0x11ac78){const _0xefae0e=new _0x59a1cf(_0x53f49a,_0x55fa08,null,_0x11ac78,_0x362695++);_0x3c021a[_0x170630(0x240)](_0xefae0e);}}return _0x3c021a;}async[_0x296b28(0x25c)](_0x1ce1b3,_0x5d992d,_0x1e5c7c){const _0x3cb797=_0x296b28;this[_0x3cb797(0x1b2)]({[_0x1ce1b3]:_0x5d992d},{[_0x1ce1b3]:_0x1e5c7c})[_0x3cb797(0x24c)]((_0x38d3bd,_0x38e417)=>{const _0x3c9cd3=_0x3cb797;_0x38d3bd[_0x3c9cd3(0x1ce)]=this[_0x3c9cd3(0x233)][_0x3c9cd3(0x2ab)]+_0x38e417,_0x38d3bd[_0x3c9cd3(0x1bc)]=!0x0,this[_0x3c9cd3(0x29d)](_0x38d3bd);}),this[_0x3cb797(0x1d5)](),await this[_0x3cb797(0x1ec)]();}async[_0x296b28(0x1de)](_0x313dda,_0x72a4c){const _0x44ecc8=_0x296b28;let _0x8dd956;this[_0x44ecc8(0x2b1)]=_0x313dda[_0x44ecc8(0x281)];const _0x5adc80=_0x313dda[_0x44ecc8(0x25f)]&&!_0x313dda[_0x44ecc8(0x1ba)],_0x510f40=_0x5adc80?0x0:_0x313dda[_0x44ecc8(0x287)][_0x44ecc8(0x1ce)];if(_0x72a4c[_0x44ecc8(0x24c)](_0x4de196=>{const _0x5dfa81=_0x44ecc8;_0x4de196[_0x5dfa81(0x1bc)]=!0x0,_0x4de196[_0x5dfa81(0x1c4)]=_0x313dda[_0x5dfa81(0x275)],_0x4de196[_0x5dfa81(0x288)]=null;}),_0x5adc80)_0x8dd956=_0x72a4c,this[_0x44ecc8(0x26e)](_0x8dd956,_0x5adc80);else{if(_0x313dda[_0x44ecc8(0x1ba)]){const _0x53adba=this[_0x44ecc8(0x1b2)](_0x313dda[_0x44ecc8(0x1ba)]);this[_0x44ecc8(0x233)][_0x44ecc8(0x1c5)][_0x44ecc8(0x2ab)]=-_0x53adba[_0x44ecc8(0x1fb)],_0x53adba[_0x44ecc8(0x24c)](_0x2540b4=>{const _0x267285=_0x44ecc8;_0x2540b4[_0x267285(0x1ce)]-=_0x53adba[_0x267285(0x1fb)],_0x2540b4[_0x267285(0x1c4)]=_0x313dda[_0x267285(0x275)],_0x2540b4[_0x267285(0x1bc)]=!0x0,_0x2540b4[_0x267285(0x288)]=null;}),this[_0x44ecc8(0x26e)](_0x53adba,!0x0),this[_0x44ecc8(0x1e3)][_0x44ecc8(0x2ab)]=-_0x53adba[_0x44ecc8(0x1fb)]+this[_0x44ecc8(0x2b1)],this[_0x44ecc8(0x2a6)](_0x53adba);}this[_0x44ecc8(0x233)][_0x44ecc8(0x1c5)][_0x44ecc8(0x2ab)]=_0x510f40,_0x8dd956=this[_0x44ecc8(0x21c)](_0x313dda[_0x44ecc8(0x287)],_0x313dda[_0x44ecc8(0x271)]),await this[_0x44ecc8(0x227)](_0x8dd956),this[_0x44ecc8(0x26e)](_0x8dd956,_0x5adc80);}_0x313dda[_0x44ecc8(0x1fd)]&&(this[_0x44ecc8(0x2ad)][_0x44ecc8(0x215)](_0x8dd956,_0x313dda[_0x44ecc8(0x1fd)]),this[_0x44ecc8(0x29a)]=_0x313dda[_0x44ecc8(0x1fd)]),this[_0x44ecc8(0x1e3)][_0x44ecc8(0x2ab)]=_0x510f40+this[_0x44ecc8(0x2b1)],this[_0x44ecc8(0x2a6)](_0x8dd956),_0x72a4c[_0x44ecc8(0x1cc)](_0x5d057a=>{const _0x7a36b=_0x44ecc8,_0x53d16c=this[_0x7a36b(0x217)](_0x5d057a);return _0x53d16c&&!this[_0x7a36b(0x1e9)][_0x7a36b(0x29e)](_0x53d16c);})[_0x44ecc8(0x24c)]((_0x44a00d,_0x15fb59)=>{const _0xe0b409=_0x44ecc8;_0x44a00d[_0xe0b409(0x1ce)]=this[_0xe0b409(0x233)][_0xe0b409(0x2ab)]+_0x15fb59,this[_0xe0b409(0x29d)](_0x44a00d);}),this[_0x44ecc8(0x234)]()?(this[_0x44ecc8(0x22a)]=0x0,this[_0x44ecc8(0x1d5)](!0x0),await this[_0x44ecc8(0x1ec)]()):(this[_0x44ecc8(0x1fa)]=!0x1,this[_0x44ecc8(0x25a)]());}[_0x296b28(0x20b)](_0x221fc4,_0x81c2bd){const _0x4a65e2=_0x296b28,_0x57355d=_0x81c2bd&&_0x81c2bd[_0x4a65e2(0x1e2)];if(_0x57355d&&_0x57355d[_0x4a65e2(0x1f2)](_0x4a65e2(0x206)))throw _0x81c2bd;const _0x3fe39c=this[_0x4a65e2(0x284)][_0x4a65e2(0x21f)][_0x4a65e2(0x28d)](_0x59313e);throw this[_0x4a65e2(0x1fa)]=!0x0,_0x3fe39c[_0x4a65e2(0x218)](),this[_0x4a65e2(0x284)][_0x4a65e2(0x249)](_0x4a65e2(0x1d7)),new _0x137b1c(_0x221fc4,this[_0x4a65e2(0x284)],_0x57355d?{'originalError':_0x57355d}:void 0x0);}[_0x296b28(0x29d)](_0xa9fd2f){const _0x674f7b=_0x296b28;this[_0x674f7b(0x24b)][_0x674f7b(0x29e)](_0xa9fd2f)||(this[_0x674f7b(0x24b)][_0x674f7b(0x216)](_0xa9fd2f),this[_0x674f7b(0x2a4)][_0x674f7b(0x240)](_0xa9fd2f),this[_0x674f7b(0x27f)]||_0x674f7b(0x2a9)==_0xa9fd2f[_0x674f7b(0x209)]&&!_0xa9fd2f[_0x674f7b(0x26b)]||this[_0x674f7b(0x2b3)]());}[_0x296b28(0x1d5)](_0x533dda=!0x1){const _0x28b20a=_0x296b28;!_0x533dda&&this[_0x28b20a(0x1fa)]||(this[_0x28b20a(0x1fa)]=!0x0,clearTimeout(this[_0x28b20a(0x20e)]),this[_0x28b20a(0x20e)]=setTimeout(()=>{const _0x11a1f1=_0x28b20a;this[_0x11a1f1(0x1f3)]()[_0x11a1f1(0x20c)](_0xf26d95=>{const _0x34b52c=_0x11a1f1;_0xf26d95&&(this[_0x34b52c(0x25a)](),this[_0x34b52c(0x1fa)]=!0x1);})[_0x11a1f1(0x22e)](_0x4590c8=>{const _0x3dd310=_0x11a1f1;this[_0x3dd310(0x25a)](),this[_0x3dd310(0x1fa)]=!0x1,function(_0x155f6e){const _0x19d3a5=_0x3dd310;return _0x155f6e[_0x19d3a5(0x1e2)][_0x19d3a5(0x1f2)](_0x19d3a5(0x1c7))||_0x155f6e[_0x19d3a5(0x1e2)][_0x19d3a5(0x1f2)](_0x19d3a5(0x1df))||_0x155f6e[_0x19d3a5(0x1e2)][_0x19d3a5(0x1f2)](_0x19d3a5(0x219));}(_0x4590c8)||this[_0x3dd310(0x20b)](_0x4590c8[_0x3dd310(0x1e2)],_0x4590c8);});},this[_0x28b20a(0x22a)]));}[_0x296b28(0x1ec)](){return new Promise(_0x459d99=>{const _0x5e0129=_0x3c05;this['on'](_0x5e0129(0x285),()=>{_0x459d99();});});}async[_0x296b28(0x1f3)](){const _0x237bd2=_0x296b28,_0x12f4bd=this[_0x237bd2(0x284)][_0x237bd2(0x21f)][_0x237bd2(0x28d)](_0x41df5f);if(this[_0x237bd2(0x283)]()&&(_0x12f4bd[_0x237bd2(0x1dc)](),this[_0x237bd2(0x1c3)]=!0x1),!this[_0x237bd2(0x234)]())return!0x0;const _0x1fdb89=[...this[_0x237bd2(0x2a4)]];for(const _0x41318d of _0x1fdb89)_0x41318d[_0x237bd2(0x2a7)]=this[_0x237bd2(0x233)][_0x237bd2(0x1c5)][_0x237bd2(0x201)](_0x41318d);const _0x1ed46b=this[_0x237bd2(0x2ad)][_0x237bd2(0x28e)](_0x1fdb89),_0x430521=X++,_0x5c1022=this[_0x237bd2(0x254)](_0x1fdb89),_0x445a68=await this[_0x237bd2(0x244)][_0x237bd2(0x27a)](_0x5c1022,_0x5c1022[_0x237bd2(0x1ce)],_0x1ed46b);try{return await this[_0x237bd2(0x202)](_0x1fdb89,_0x445a68,_0x430521);}catch(_0x6194a2){return this[_0x237bd2(0x20b)](_0x237bd2(0x1b8),_0x6194a2);}}async[_0x296b28(0x202)](_0x16622e,_0x3c4d71,_0x1fdf18){const _0x3ef2aa=_0x296b28;if(_0x3ef2aa(0x1c8)in _0x3c4d71)throw _0x3c4d71[_0x3ef2aa(0x1c8)];let _0x5dfed4=!0x1;if(_0x3c4d71[_0x3ef2aa(0x25f)]){_0x3c4d71[_0x3ef2aa(0x1fd)]&&(this[_0x3ef2aa(0x29a)]=_0x3c4d71[_0x3ef2aa(0x1fd)]),this[_0x3ef2aa(0x2a4)]=this[_0x3ef2aa(0x2a4)][_0x3ef2aa(0x1cc)](_0x390016=>!_0x16622e[_0x3ef2aa(0x21a)](_0x390016));for(const _0x3c165e of _0x16622e)_0x3c165e[_0x3ef2aa(0x1c4)]=_0x3ef2aa(0x1f9)in _0x3c4d71&&_0x3c4d71[_0x3ef2aa(0x1f9)]||void 0x0;Z(_0x16622e,_0x3c4d71[_0x3ef2aa(0x2ab)]-_0x16622e[_0x3ef2aa(0x1fb)]),this[_0x3ef2aa(0x2a6)](_0x16622e);const _0x571d96=_0x16622e[_0x3ef2aa(0x1cc)](_0x579dc6=>{const _0x29a4d1=_0x3ef2aa;if(!_0x579dc6[_0x29a4d1(0x1bc)])return!0x1;const _0x1fdcd8=this[_0x29a4d1(0x217)](_0x579dc6);return _0x1fdcd8&&!this[_0x29a4d1(0x1e9)][_0x29a4d1(0x29e)](_0x1fdcd8);});Z(_0x571d96,this[_0x3ef2aa(0x233)][_0x3ef2aa(0x2ab)]),this[_0x3ef2aa(0x26e)](_0x571d96),_0x5dfed4=!0x0,this[_0x3ef2aa(0x22a)]=this[_0x3ef2aa(0x243)];}else{const _0xfd6381=this[_0x3ef2aa(0x21c)](_0x3c4d71[_0x3ef2aa(0x287)],_0x3c4d71[_0x3ef2aa(0x271)])[_0x3ef2aa(0x1cc)](_0x23e2d5=>_0x23e2d5[_0x3ef2aa(0x1ce)]>=this[_0x3ef2aa(0x212)]);_0xfd6381[_0x3ef2aa(0x24c)](_0x62470b=>this[_0x3ef2aa(0x1f6)](_0x62470b)),this[_0x3ef2aa(0x2a4)]=this[_0x3ef2aa(0x2a4)][_0x3ef2aa(0x1cc)](_0x146fd2=>!_0x146fd2[_0x3ef2aa(0x1bc)]||!this[_0x3ef2aa(0x1e9)][_0x3ef2aa(0x29e)](this[_0x3ef2aa(0x217)](_0x146fd2))),this[_0x3ef2aa(0x2a4)][_0x3ef2aa(0x1fb)]&&Z(this[_0x3ef2aa(0x2a4)],this[_0x3ef2aa(0x2a4)][0x0][_0x3ef2aa(0x1ce)]),await this[_0x3ef2aa(0x227)](_0xfd6381),_0x5dfed4=this[_0x3ef2aa(0x1e5)](_0xfd6381,_0x3c4d71[_0x3ef2aa(0x2ab)],_0x3c4d71[_0x3ef2aa(0x1fd)]),this[_0x3ef2aa(0x22a)]=Math[_0x3ef2aa(0x1e6)](this[_0x3ef2aa(0x22a)]/0x2);}return _0x5dfed4?!this[_0x3ef2aa(0x234)]()||(this[_0x3ef2aa(0x1d5)](!0x0),!0x1):this[_0x3ef2aa(0x20b)](_0x3ef2aa(0x276));}[_0x296b28(0x1e5)](_0x14ac66,_0x1e2c77,_0x4f4f7a){const _0x305fb0=_0x296b28;try{const _0x2e2f3b={'document':this[_0x305fb0(0x233)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5506d7,operationsB:_0x2ff564,originalOperations:_0x195fcf}=_0x27a0be(_0x14ac66,this[_0x305fb0(0x2a4)],_0x2e2f3b);Z(_0x5506d7,this[_0x305fb0(0x233)][_0x305fb0(0x2ab)]),Z(_0x2ff564,_0x1e2c77);for(const _0x406bf3 of _0x5506d7){const _0x5b921b=_0x195fcf[_0x305fb0(0x28d)](_0x406bf3);_0x406bf3[_0x305fb0(0x288)]=_0x5b921b?_0x5b921b[_0x305fb0(0x288)]:null;}_0x4f4f7a&&(this[_0x305fb0(0x2ad)][_0x305fb0(0x215)](_0x14ac66,_0x4f4f7a),this[_0x305fb0(0x29a)]=_0x4f4f7a),this[_0x305fb0(0x2a4)]=[..._0x2ff564],this[_0x305fb0(0x26e)](_0x5506d7),this[_0x305fb0(0x2a6)](_0x14ac66);}catch(_0x1c3eb4){return console[_0x305fb0(0x1c8)](_0x1c3eb4),!0x1;}return!0x0;}[_0x296b28(0x26e)](_0x3b7a81,_0x4687a9=!0x1){const _0x4d21aa=_0x296b28;this[_0x4d21aa(0x284)][_0x4d21aa(0x273)][_0x4d21aa(0x299)]({'isUndoable':!0x1,'isLocal':!0x1},_0x13750d=>{const _0x598688=_0x4d21aa;for(const _0x229a69 of _0x3b7a81)this[_0x598688(0x24b)][_0x598688(0x216)](_0x229a69),this[_0x598688(0x1f6)](_0x229a69),_0x13750d[_0x598688(0x21d)][_0x598688(0x1ea)](_0x229a69),this[_0x598688(0x284)][_0x598688(0x273)][_0x598688(0x1d6)](_0x229a69);});}[_0x296b28(0x1f6)](_0x382e34){const _0x179180=_0x296b28,_0x2386c6=this[_0x179180(0x217)](_0x382e34);_0x2386c6&&this[_0x179180(0x1e9)][_0x179180(0x216)](_0x2386c6);}[_0x296b28(0x217)](_0x343733){const _0x13d140=_0x296b28;let _0x10ae34,_0xac76eb;switch(_0x343733[_0x13d140(0x209)]){case _0x13d140(0x231):_0x10ae34=_0x343733[_0x13d140(0x230)][_0x13d140(0x292)];break;case _0x13d140(0x2a9):if(_0xac76eb=_0x343733[_0x13d140(0x1d2)],!_0xac76eb)return null;_0x10ae34=_0xac76eb[_0x13d140(0x292)];break;case _0x13d140(0x290):_0x10ae34=_0x343733[_0x13d140(0x292)];break;case _0x13d140(0x25d):_0x10ae34=_0x343733[_0x13d140(0x22b)];break;case _0x13d140(0x255):_0x10ae34=_0x343733[_0x13d140(0x1f1)][_0x13d140(0x292)];break;default:return null;}return _0x10ae34[_0x13d140(0x295)];}[_0x296b28(0x2a6)](_0x415927){const _0x122335=_0x296b28;_0x415927[_0x122335(0x24c)](_0x5aef6c=>{const _0x30ec43=_0x122335,_0x1ca601=_0x5aef6c[_0x30ec43(0x259)]();_0x1ca601[_0x30ec43(0x288)]=_0x5aef6c[_0x30ec43(0x288)],_0x1ca601[_0x30ec43(0x1bc)]=!!_0x5aef6c[_0x30ec43(0x1bc)],_0x1ca601[_0x30ec43(0x1c4)]=_0x5aef6c[_0x30ec43(0x1c4)],_0x1ca601[_0x30ec43(0x1ce)]+=this[_0x30ec43(0x2b1)],_0x5aef6c[_0x30ec43(0x2b4)]&&this[_0x30ec43(0x2a0)][_0x30ec43(0x216)](_0x1ca601),this[_0x30ec43(0x1e3)][_0x30ec43(0x1ea)](_0x1ca601);});}[_0x296b28(0x20d)](_0xb6496a){const _0x11747d=_0x296b28,_0x2dde5c=this[_0x11747d(0x284)][_0x11747d(0x21f)][_0x11747d(0x28d)](_0x11747d(0x2b2)),_0x400faa=this[_0x11747d(0x284)][_0x11747d(0x24d)];_0xb6496a||(_0xb6496a=_0x26b0e8(_0x400faa,_0x11747d(0x1d0))),_0x2dde5c[_0x11747d(0x2af)](_0xb6496a,{'title':_0x26b0e8(_0x400faa,_0x11747d(0x28b)),'namespace':_0x11747d(0x223)}),this[_0x11747d(0x25e)]=!0x0,clearTimeout(this[_0x11747d(0x20e)]),this[_0x11747d(0x2a4)]=[],this[_0x11747d(0x284)][_0x11747d(0x21f)][_0x11747d(0x28d)](_0x59313e)[_0x11747d(0x218)]();}[_0x296b28(0x2b3)](){const _0x14c3f5=_0x296b28;this[_0x14c3f5(0x27f)]||(this[_0x14c3f5(0x27f)]=this[_0x14c3f5(0x284)][_0x14c3f5(0x21f)][_0x14c3f5(0x28d)](_0x31477a)[_0x14c3f5(0x216)](_0x26b0e8(this[_0x14c3f5(0x284)][_0x14c3f5(0x24d)],_0x14c3f5(0x28c))));}[_0x296b28(0x25a)](){const _0x4e3788=_0x296b28;this[_0x4e3788(0x27f)]&&(this[_0x4e3788(0x284)][_0x4e3788(0x21f)][_0x4e3788(0x28d)](_0x31477a)[_0x4e3788(0x242)](this[_0x4e3788(0x27f)]),this[_0x4e3788(0x27f)]=null);}[_0x296b28(0x254)](_0x129d33){const _0x2ecf42=_0x296b28,_0x47b054=_0x129d33[_0x2ecf42(0x220)](_0x5e74bd=>_0x5e74bd[_0x2ecf42(0x272)]());return this[_0x2ecf42(0x1f7)][_0x2ecf42(0x25b)](_0x47b054);}[_0x296b28(0x21c)](_0x1424fe,_0xc200c5){const _0x540ffc=_0x296b28;return this[_0x540ffc(0x1f7)][_0x540ffc(0x1bf)](_0x1424fe)[_0x540ffc(0x220)]((_0x100154,_0x1a5a57)=>{const _0x1e0d9a=_0x540ffc,_0x4eb918=_0x1e0d9a(0x1c9)==_0xc200c5[_0x1a5a57][_0x1e0d9a(0x209)];if(_0x1e0d9a(0x241)==_0x100154[_0x1e0d9a(0x1dd)]){const _0x2b26a1=_0x100154[_0x1e0d9a(0x230)][_0x1e0d9a(0x292)];!this[_0x1e0d9a(0x233)][_0x1e0d9a(0x224)](_0x2b26a1)&&(this[_0x1e0d9a(0x233)][_0x1e0d9a(0x1d8)](_0x1e0d9a(0x28a),_0x2b26a1)[_0x1e0d9a(0x1b1)]=!0x1);}const _0x3a3465=_0x4fce30[_0x1e0d9a(0x256)](_0x100154,this[_0x1e0d9a(0x233)]);return _0x3a3465[_0x1e0d9a(0x2a7)]=_0x100154[_0x1e0d9a(0x2a7)],_0x3a3465[_0x1e0d9a(0x1bc)]=_0x4eb918,_0x3a3465[_0x1e0d9a(0x288)]=_0x4eb918?null:_0xc200c5[_0x1a5a57][_0x1e0d9a(0x1b6)],_0x3a3465[_0x1e0d9a(0x2b4)]=_0x1e0d9a(0x1ff)===_0xc200c5[_0x1a5a57][_0x1e0d9a(0x209)],_0x3a3465[_0x1e0d9a(0x1c4)]=_0xc200c5[_0x1a5a57][_0x1e0d9a(0x1c4)],_0x3a3465;});}[_0x296b28(0x225)](){const _0x446659=_0x296b28;this[_0x446659(0x1c3)]=!0x0,this[_0x446659(0x283)]()?this[_0x446659(0x1d5)]():this[_0x446659(0x1c3)]=!0x1;}[_0x296b28(0x283)](){const _0xe3bbeb=_0x296b28,_0x3c74b5=this[_0xe3bbeb(0x284)][_0xe3bbeb(0x21f)][_0xe3bbeb(0x28d)](_0x4c2e6c)[_0xe3bbeb(0x253)][_0xe3bbeb(0x28d)](this[_0xe3bbeb(0x211)]);return!this[_0xe3bbeb(0x284)][_0xe3bbeb(0x2ac)]&&!!_0x3c74b5&&_0x3c74b5[_0xe3bbeb(0x1fb)]>0x1&&this[_0xe3bbeb(0x1c3)];}[_0x296b28(0x234)](){const _0x163530=_0x296b28;return this[_0x163530(0x2a4)][_0x163530(0x1fb)]>0x0||this[_0x163530(0x283)]();}}function _0x4575(){const _0x5c6082=['404','setIdForTheLastOperation','add','_getAffectedRoot','disconnect','cloud-services-internal-error:\x20Request\x20timeout.','includes','_initSessionsHandling','_decompressOperations','batch','realtimecollaborationclient-init-service-incorrect-server-operation','plugins','map','_isEditingAllowed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','real-time-collaboration','getRoot','_refreshUserSelectionMarkers','reconnection:\x20flushed\x20session','_fetchMissingUsers','change:_isEditingAllowed','14241848wyerkC','_currentBufferDelay','affectedSelectable','_handleReconnectionResponse','stopListening','catch','reset','position','insert','off','_document','_shouldSendUpdate','loadRoot','_handleReceivedOperations','permissions','editing','5114800CFArcT','sessionAdd:','attributes','63nSncQh','_isConnected','_handleSendingSelectionMarkers','_setUpDataInit','push','InsertOperation','remove','_baseBufferDelay','_service','disconnected','connect','change:range','config','enableReadOnlyMode','from','_knownOperations','forEach','locale','getOperations','multi-root-editor-root-attributes-no-root','start','stop','975207ALNtQV','channelSessions','_compressOperations','move','fromJSON','register','_operationToId','clone','_clearPendingAction','compress','_loadRoot','addRoot','_hasSynchronizationProblem','wereChangesApplied','bind','realtimecollaborationclient-init-document-already-initialized','roots','suppressErrorInCollaboration','realtimecollaborationclient-init-non-existent-root','cloudServices.bundleVersion','connection','removeFromReconnectionStack','entries','_ignoredOperations','reconnect','affectsData','disableReadOnlyMode','_connectAfterSessionHasBeenFlushed','_applyOperationsSet','end','getConnectedSessions','metadata','toJSON','model','realtimecollaborationclient-init-connection-failed','sessionCreatedAt','realtimecollaborationclient-handleserverresponse','_bufferRootLoad','rootsAttributes','Permissions','sendOperations','unregister','define','mySessionId','document:write','_pendingAction','markers','offset','rtc-offline','_shouldSendSelectionUpdate','editor','change:_isPendingUpdate','view','data','_authorId','CommentsOnly','$root','Synchronization\x20issue','PENDING_ACTION_SENDING_DATA','get','getIdOfTheLastOperation','30hSEQVL','addRootAttribute','rtc-destroyed','root','1577172SPTnnT','_initThrowingOnDataSet','rootName','isDocumentOperation','isPremiumPlugin','finally','enqueueChange','_lastSyncedOperationId','createPositionFromPath','selection','_saveOperationInBuffer','has','addToReconnectionStack','_disconnectionOperations','fire','collaboration','_disconnectService','_bufferedOperations','size','_updateServerHistory','wasUndone','pluginName','marker','differ','version','isReadOnly','_operationIdentifier','createPositionAt','showWarning','connected','_offset','Notification','_setPendingAction','_isDisconnection','cloudDocumentVersion','directChange','_isAttached','_getOperationsFromInitData','sessionId','getOperationAuthor','requires','userId','getMany','realtimecollaborationclient-sendbufferedoperations','code','initData','getUser','_isInit','isEnabled','collaboration-missing-channelid','decompress','RealTimeCollaborationClient','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setPermissions','_hasSelectionChanged','createdAt','history','change:hasDomSelection','cloud-services-internal-error:\x20Not\x20connected.','error','init','return','state','filter','keys','baseVersion','addUser','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.','set','newRange','document','ready','_sendBufferedOperationsDelayed','applyOperation','realtimecollaborationclient-error','createRoot','getDocumentDetails','lastSyncVersion','parse','createUserMarkerOperations','__className','_handleInitialConnectionData','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','lastDocumentSession','_isLoaded','message','serverHistory','createRange','_handleExternalOperations','round','high','apply','_knownRootNames','addOperation','collaboration.channelId','_waitUntilSynced','path','realtimecollaborationclient-init-session-connection-error','currentDocumentSession','slice','targetPosition','startsWith','_sendBufferedOperations','5119041kVeQqg','string','_addKnownRoot','_compressor','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastOperationAcceptedAt','_isPendingUpdate','length','6099876OTyAdy','lastOperationId','destroy','cs:removeUser','343686SpNmiH','isUndoneOperation','_handleServerResponse','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isOfficialPlugin','realtimecollaborationclient-init-service-internal-error','realtimecollaborationclient','operationsReceived','listenTo','type','409','_crash','then','_handleReconnectionError','_sendBufferedOperationsDelayId','2jrjXTY','CollaborativeEditingService','_channelId','_lastServerVersion','_connectService'];_0x4575=function(){return _0x5c6082;};return _0x4575();}class Y extends Error{}function Z(_0x4f6d32,_0x1a2ca4){const _0x3b275e=_0x296b28;for(const _0x64da25 of _0x4f6d32)_0x64da25[_0x3b275e(0x1ce)]=_0x1a2ca4++;}class tt{[_0x296b28(0x269)];[_0x296b28(0x258)];constructor(_0x49e2b1){const _0x300693=_0x296b28;this[_0x300693(0x269)]=_0x49e2b1,this[_0x300693(0x258)]=new WeakMap();}[_0x296b28(0x28e)](_0x331b35){const _0x479c88=_0x296b28;let _0x4de7fe=_0x331b35[_0x479c88(0x1fb)];for(;_0x4de7fe--;){const _0x492244=_0x331b35[_0x4de7fe];if(!this[_0x479c88(0x269)][_0x479c88(0x29e)](_0x492244)){if(!this[_0x479c88(0x258)][_0x479c88(0x29e)](_0x492244)){const _0x3e04ab=_0xfb1f14()[_0x479c88(0x1f0)](0x1,0x12);this[_0x479c88(0x258)][_0x479c88(0x1d1)](_0x492244,_0x3e04ab);}return this[_0x479c88(0x258)][_0x479c88(0x28d)](_0x492244);}}}[_0x296b28(0x215)](_0x1e39d6,_0x6b83c1){const _0x46e38c=_0x296b28;if(!_0x6b83c1)return;let _0x4020d9=_0x1e39d6[_0x46e38c(0x1fb)];for(;_0x4020d9--;){const _0x383e72=_0x1e39d6[_0x4020d9];this[_0x46e38c(0x269)][_0x46e38c(0x29e)](_0x383e72)||this[_0x46e38c(0x258)][_0x46e38c(0x1d1)](_0x383e72,_0x6b83c1);}}}
23
+ const _0x4c2f90=_0xb467;(function(_0xcfadbd,_0x2c2f3f){const _0xb6d6f7=_0xb467,_0x2b07c2=_0xcfadbd();while(!![]){try{const _0x5d8c81=-parseInt(_0xb6d6f7(0x120))/0x1*(-parseInt(_0xb6d6f7(0x142))/0x2)+parseInt(_0xb6d6f7(0x207))/0x3+parseInt(_0xb6d6f7(0x14f))/0x4+-parseInt(_0xb6d6f7(0x1e6))/0x5*(parseInt(_0xb6d6f7(0x141))/0x6)+-parseInt(_0xb6d6f7(0x168))/0x7+parseInt(_0xb6d6f7(0x121))/0x8*(-parseInt(_0xb6d6f7(0x176))/0x9)+-parseInt(_0xb6d6f7(0x1cc))/0xa*(parseInt(_0xb6d6f7(0x17e))/0xb);if(_0x5d8c81===_0x2c2f3f)break;else _0x2b07c2['push'](_0x2b07c2['shift']());}catch(_0x326c50){_0x2b07c2['push'](_0x2b07c2['shift']());}}}(_0x1d48,0x99cd8));import{Plugin as _0x9a2cf6,PendingActions as _0x2ed9bb}from'ckeditor5/src/core.js';function _0xb467(_0x21b3c2,_0x1a2c38){const _0x1d488a=_0x1d48();return _0xb467=function(_0xb467d3,_0x2302b1){_0xb467d3=_0xb467d3-0x10e;let _0x273245=_0x1d488a[_0xb467d3];return _0x273245;},_0xb467(_0x21b3c2,_0x1a2c38);}import{CKEditorError as _0x5f1da6,version as _0xf30e5b,uid as _0x5db42c}from'ckeditor5/src/utils.js';import{Notification as _0x1e8d5f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x2e044e,NoOperation as _0x2614bd,InsertOperation as _0x3144d5,MarkerOperation as _0x36097e,RootAttributeOperation as _0x264554,OperationFactory as _0x55a088,History as _0x5a4289}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0xe0244f}from'./websocketgateway.js';import{Sessions as _0x1a8020}from'./sessions.js';import{UserMarkers as _0x907312}from'./usermarkers.js';import{getTranslation as _0x2dd504}from'../common-translations.js';import{Compressor as _0x42a01f}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x304b52}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4148c5,CollaborativeEditingService as _0x1dee05}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x9a2cf6{static [_0x4c2f90(0x174)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1dee05)());[_0x4c2f90(0x1e7)];[_0x4c2f90(0x1ae)];[_0x4c2f90(0x1d0)];[_0x4c2f90(0x112)];[_0x4c2f90(0x1eb)];[_0x4c2f90(0x1c5)];[_0x4c2f90(0x1b1)];[_0x4c2f90(0x1cf)];[_0x4c2f90(0x170)];[_0x4c2f90(0x18a)];[_0x4c2f90(0x161)];[_0x4c2f90(0x1c8)];[_0x4c2f90(0x1bb)];[_0x4c2f90(0x140)];[_0x4c2f90(0x14d)];[_0x4c2f90(0x18b)];[_0x4c2f90(0x1b7)];[_0x4c2f90(0x208)];static get[_0x4c2f90(0x12e)](){return[_0xe0244f,_0x1a8020,_0x907312,_0x2ed9bb,_0x304b52,_0x1e8d5f];}static get[_0x4c2f90(0x1a5)](){const _0x6dc601=_0x4c2f90;return _0x6dc601(0x1c3);}static get[_0x4c2f90(0x206)](){return!0x0;}static get[_0x4c2f90(0x118)](){return!0x0;}get[_0x4c2f90(0x190)](){const _0x1cf48b=_0x4c2f90;return this[_0x1cf48b(0x127)]+this[_0x1cf48b(0x1e7)];}get[_0x4c2f90(0x127)](){const _0x3195c6=_0x4c2f90;return this[_0x3195c6(0x1d0)][_0x3195c6(0x173)]-this[_0x3195c6(0x1e7)];}get[_0x4c2f90(0x182)](){const _0x4260aa=_0x4c2f90,_0x1b8d41=this[_0x4260aa(0x1d0)][_0x4260aa(0x16e)]();for(let _0x45cf56=_0x1b8d41[_0x4260aa(0x1a4)]-0x1;_0x45cf56>=0x0;_0x45cf56--){const _0x5deef5=_0x1b8d41[_0x45cf56];if(!this[_0x4260aa(0x1b7)][_0x4260aa(0x1c1)](_0x5deef5))return _0x5deef5[_0x4260aa(0x18d)]+0x1-this[_0x4260aa(0x1e7)];}return 0x0;}constructor(_0x2bc582){const _0x27aaa2=_0x4c2f90;if(super(_0x2bc582),this[_0x27aaa2(0x1e7)]=0x0,this[_0x27aaa2(0x1ae)]=null,this[_0x27aaa2(0x1d0)]=new _0x5a4289(),this[_0x27aaa2(0x1ef)][_0x27aaa2(0x166)][_0x27aaa2(0x1ac)](_0x27aaa2(0x175),{}),this[_0x27aaa2(0x112)]=this[_0x27aaa2(0x1ef)][_0x27aaa2(0x166)][_0x27aaa2(0x1e5)](_0x27aaa2(0x1a8)),!this[_0x27aaa2(0x112)])throw new _0x5f1da6(_0x27aaa2(0x178),this);const _0x1b7fc1=_0x2bc582[_0x27aaa2(0x166)][_0x27aaa2(0x1e5)](_0x27aaa2(0x185))||_0xf30e5b;this[_0x27aaa2(0x1eb)]=new RealTimeCollaborationClient[(_0x27aaa2(0x174))](_0x1b7fc1,this[_0x27aaa2(0x112)]),this[_0x27aaa2(0x1c5)]=this[_0x27aaa2(0x1ef)][_0x27aaa2(0x15d)][_0x27aaa2(0x169)],this[_0x27aaa2(0x1b1)]=new _0x42a01f(),this[_0x27aaa2(0x1cf)]=[],this[_0x27aaa2(0x170)]=new WeakSet(),this[_0x27aaa2(0x18a)]=new Set(),this[_0x27aaa2(0x1b5)](_0x27aaa2(0x198),!0x1),this[_0x27aaa2(0x1b5)](_0x27aaa2(0x17b),!0x1),this[_0x27aaa2(0x161)]=null,this[_0x27aaa2(0x1c8)]=!0x1,this[_0x27aaa2(0x1bb)]=null,this[_0x27aaa2(0x140)]=0x12c,this[_0x27aaa2(0x14d)]=this[_0x27aaa2(0x140)],this[_0x27aaa2(0x18b)]=null,this[_0x27aaa2(0x1b7)]=new WeakSet(),this[_0x27aaa2(0x208)]=new J(this[_0x27aaa2(0x1b7)]);}[_0x4c2f90(0x1c9)](){const _0x92bce9=_0x4c2f90,_0x215857=this[_0x92bce9(0x1ef)],_0x365d7b=_0x215857[_0x92bce9(0x1d7)][_0x92bce9(0x1e5)](_0x304b52),_0x5bd200=_0x215857[_0x92bce9(0x1d7)][_0x92bce9(0x1e5)](_0xe0244f);this[_0x92bce9(0x154)](_0x365d7b,_0x92bce9(0x213),(_0x13438d,_0x2db94c)=>{const _0x1d1005=_0x92bce9,_0xeec53b=_0x2db94c[0x0];_0xeec53b[_0x1d1005(0x15e)]&&(_0x13438d[_0x1d1005(0x19c)]=_0x365d7b[_0x1d1005(0x1f1)](_0xeec53b[_0x1d1005(0x15e)]),_0x13438d[_0x1d1005(0x113)]()),null===_0xeec53b[_0x1d1005(0x15e)]&&(_0x13438d[_0x1d1005(0x19c)]=null,_0x13438d[_0x1d1005(0x113)]());},{'priority':_0x92bce9(0x1e8)}),this[_0x92bce9(0x154)](_0x215857[_0x92bce9(0x15d)][_0x92bce9(0x169)][_0x92bce9(0x10e)],_0x92bce9(0x1bd),(_0x126c18,_0x33b0bf)=>{const _0x20b369=_0x92bce9;_0x33b0bf[_0x20b369(0x203)]&&this[_0x20b369(0x189)]();}),this[_0x92bce9(0x154)](_0x215857[_0x92bce9(0x1ca)][_0x92bce9(0x1ec)],_0x92bce9(0x191),()=>{const _0x5e4b21=_0x92bce9;this[_0x5e4b21(0x189)]();}),this[_0x92bce9(0x200)](),_0x215857[_0x92bce9(0x15d)]['on'](_0x92bce9(0x1d9),(_0x507846,_0x4438a7)=>{const _0x1fcf36=_0x92bce9,_0x336d11=_0x4438a7[0x0];_0x336d11[_0x1fcf36(0x20f)]&&(this[_0x1fcf36(0x1de)](_0x336d11),this[_0x1fcf36(0x196)]()&&this[_0x1fcf36(0x186)]());}),this[_0x92bce9(0x1d6)](),this[_0x92bce9(0x1e9)](_0x92bce9(0x1ea))['to'](_0x5bd200,_0x92bce9(0x17c),this,_0x92bce9(0x17b),(_0x48b8c8,_0x2303d8)=>_0x92bce9(0x1a3)===_0x48b8c8&&!_0x2303d8),this['on'](_0x92bce9(0x1dc),()=>{const _0x1ee116=_0x92bce9;this[_0x1ee116(0x1ea)]?_0x215857[_0x1ee116(0x149)](_0x1ee116(0x1a1)):_0x215857[_0x1ee116(0x17a)](_0x1ee116(0x1a1));}),this[_0x92bce9(0x1ea)]?_0x215857[_0x92bce9(0x149)](_0x92bce9(0x1a1)):_0x215857[_0x92bce9(0x17a)](_0x92bce9(0x1a1)),this[_0x92bce9(0x1b5)](_0x92bce9(0x1e3),!0x1);}async[_0x4c2f90(0x212)](){const _0x177d83=_0x4c2f90,_0x1ed6fa=this[_0x177d83(0x1ef)][_0x177d83(0x1d7)][_0x177d83(0x1e5)](_0x1a8020),_0x2d7104=this[_0x177d83(0x1ef)][_0x177d83(0x1d7)][_0x177d83(0x1e5)](_0xe0244f);try{this[_0x177d83(0x198)]=!0x0,_0x1ed6fa[_0x177d83(0x129)](this[_0x177d83(0x112)]);const _0x58aa26=await this[_0x177d83(0x1eb)][_0x177d83(0x212)](_0x2d7104[_0x177d83(0x150)],this[_0x177d83(0x182)]);await this[_0x177d83(0x1f2)](_0x58aa26)&&(this[_0x177d83(0x198)]=!0x1,this[_0x177d83(0x1cd)]());const _0xf28196=await this[_0x177d83(0x1eb)][_0x177d83(0x157)]();_0x1ed6fa[_0x177d83(0x1b0)](this[_0x177d83(0x112)],_0xf28196),this[_0x177d83(0x1aa)](),this[_0x177d83(0x1e3)]=!0x0;}catch(_0x476e7d){if(function(_0x134f92){const _0x364ed2=_0x177d83;return _0x364ed2(0x205)===_0x134f92[_0x364ed2(0x1b4)];}(_0x476e7d)&&this[_0x177d83(0x1ae)])await this[_0x177d83(0x1b9)]();else{if(function(_0x43d5ab){const _0x5cc338=_0x177d83;return _0x5cc338(0x17f)===_0x43d5ab[_0x5cc338(0x1b4)];}(_0x476e7d)){const _0x3c0c9b=_0x2dd504(this[_0x177d83(0x1ef)][_0x177d83(0x16b)],_0x177d83(0x1c0));this[_0x177d83(0x19a)](_0x3c0c9b);}else{if(!(_0x476e7d instanceof $))throw _0x476e7d;this[_0x177d83(0x19a)]();}}}}[_0x4c2f90(0x165)](){const _0x389d45=_0x4c2f90,_0x15d10b=this[_0x389d45(0x1ef)][_0x389d45(0x1d7)][_0x389d45(0x1e5)](_0xe0244f),_0x19c571=this[_0x389d45(0x1ef)][_0x389d45(0x1d7)][_0x389d45(0x1e5)](_0x1a8020);this[_0x389d45(0x1ef)][_0x389d45(0x17a)](_0x389d45(0x1a9)),_0x19c571[_0x389d45(0x14c)][_0x389d45(0x1c1)](this[_0x389d45(0x112)])&&_0x19c571[_0x389d45(0x129)](this[_0x389d45(0x112)]),_0x15d10b[_0x389d45(0x13f)](this),this[_0x389d45(0x155)](),super[_0x389d45(0x165)]();}async[_0x4c2f90(0x1f2)](_0x1e2c67){const _0x5b6ae3=_0x4c2f90;if(this[_0x5b6ae3(0x1ae)]!==_0x1e2c67[_0x5b6ae3(0x1ae)]&&this[_0x5b6ae3(0x18b)]!==_0x1e2c67[_0x5b6ae3(0x143)])throw new $();return this[_0x5b6ae3(0x1ae)]=_0x1e2c67[_0x5b6ae3(0x1ae)],this[_0x5b6ae3(0x211)]([],{..._0x1e2c67,'wereChangesApplied':!0x1,'data':_0x1e2c67[_0x5b6ae3(0x194)]},_0x5b6ae3(0x212));}async[_0x4c2f90(0x17d)](_0x59e830,_0x23f294=!0x1){const _0x40b4d1=_0x4c2f90,{connection:_0x53e7d9}=this[_0x40b4d1(0x1ef)][_0x40b4d1(0x1d7)][_0x40b4d1(0x1e5)](_0xe0244f);RealTimeCollaborationClient[_0x40b4d1(0x174)][_0x40b4d1(0x157)](_0x53e7d9,this[_0x40b4d1(0x112)])[_0x40b4d1(0x1ff)](_0x49f705=>this[_0x40b4d1(0x111)](_0x49f705))[_0x40b4d1(0x145)](_0x496343=>{const _0x1f2610=_0x40b4d1;this[_0x1f2610(0x209)](_0x1f2610(0x126),_0x496343);}),this[_0x40b4d1(0x154)](this[_0x40b4d1(0x1eb)],_0x40b4d1(0x12c),this[_0x40b4d1(0x1b6)][_0x40b4d1(0x1e9)](this)),this[_0x40b4d1(0x154)](this[_0x40b4d1(0x1eb)],_0x40b4d1(0x1d2),(_0x12b8fd,_0x153a04)=>{const _0x20fd97=_0x40b4d1;this[_0x20fd97(0x209)](_0x20fd97(0x187),_0x153a04);}),this[_0x40b4d1(0x154)](this[_0x40b4d1(0x1eb)],_0x40b4d1(0x117),()=>{const _0x34a1f8=_0x40b4d1;this[_0x34a1f8(0x1e3)]=!0x1;});const _0x47080b=this[_0x40b4d1(0x208)][_0x40b4d1(0x184)](_0x59e830);this[_0x40b4d1(0x198)]=!0x0;const _0x567318=await this[_0x40b4d1(0x1eb)][_0x40b4d1(0x18e)](_0x53e7d9,this[_0x40b4d1(0x1a7)](_0x59e830),_0x47080b);if(this[_0x40b4d1(0x1ae)]=_0x567318[_0x40b4d1(0x1ae)],_0x23f294){if(!_0x567318[_0x40b4d1(0x18f)])return void this[_0x40b4d1(0x19a)]();this[_0x40b4d1(0x198)]=!0x1,this[_0x40b4d1(0x1cd)](),this[_0x40b4d1(0x1d0)][_0x40b4d1(0x20c)](),this[_0x40b4d1(0x1e7)]=_0x567318[_0x40b4d1(0x188)],this[_0x40b4d1(0x1d0)][_0x40b4d1(0x173)]=this[_0x40b4d1(0x1e7)],await this[_0x40b4d1(0x211)](_0x59e830,_0x567318,_0x40b4d1(0x1cb));}else await this[_0x40b4d1(0x147)](_0x567318,_0x59e830);this[_0x40b4d1(0x1aa)](),this[_0x40b4d1(0x1e3)]=!0x0;}[_0x4c2f90(0x1aa)](){const _0x23f92e=_0x4c2f90,_0x3b2fcd=this[_0x23f92e(0x1ef)][_0x23f92e(0x1d7)][_0x23f92e(0x1e5)](_0x1a8020),_0x3a0a9a=this[_0x23f92e(0x1ef)][_0x23f92e(0x1d7)][_0x23f92e(0x1e5)](_0x907312),_0x242ec4=_0x3b2fcd[_0x23f92e(0x14c)][_0x23f92e(0x1e5)](this[_0x23f92e(0x112)]);_0x242ec4&&_0x242ec4[_0x23f92e(0x1a4)]>0x1?_0x3a0a9a[_0x23f92e(0x1d1)]():this[_0x23f92e(0x154)](_0x3b2fcd,_0x23f92e(0x1f3)+this[_0x23f92e(0x112)],()=>{const _0x4a0f3c=_0x23f92e;0x2===_0x3b2fcd[_0x4a0f3c(0x14c)][_0x4a0f3c(0x1e5)](this[_0x4a0f3c(0x112)])[_0x4a0f3c(0x1a4)]&&_0x3a0a9a[_0x4a0f3c(0x1d1)]();});}async[_0x4c2f90(0x1b6)](_0x19f334,_0x3c7966,_0x4c7ea,_0x227da0){const _0x443abd=_0x4c2f90;if(!this[_0x443abd(0x198)]&&this[_0x443abd(0x1c5)][_0x443abd(0x173)]==_0x3c7966){const _0x3a3ca5=this[_0x443abd(0x195)](_0x4c7ea,_0x227da0);await this[_0x443abd(0x210)](_0x3a3ca5),this[_0x443abd(0x1f8)](_0x3a3ca5,_0x3c7966,_0x4c7ea[_0x443abd(0x143)])||this[_0x443abd(0x209)](_0x443abd(0x137));}}async[_0x4c2f90(0x1b9)](){const _0x395c71=_0x4c2f90;this[_0x395c71(0x155)]();const {locale:_0x2f549a}=this[_0x395c71(0x1ef)];let _0x20c410;try{_0x20c410=await this[_0x395c71(0x1eb)][_0x395c71(0x11f)]();}catch{const _0x338fe2=_0x2dd504(_0x2f549a,_0x395c71(0x13d));return void this[_0x395c71(0x19a)](_0x338fe2);}const _0x7e4adc=_0x20c410[_0x395c71(0x1ee)]||_0x20c410[_0x395c71(0x163)];if(this[_0x395c71(0x18b)]!==_0x7e4adc[_0x395c71(0x143)]){const _0x543b99=_0x2dd504(_0x2f549a,_0x395c71(0x164));return void this[_0x395c71(0x19a)](_0x543b99);}await this[_0x395c71(0x17d)](this[_0x395c71(0x1ef)][_0x395c71(0x15d)][_0x395c71(0x169)][_0x395c71(0x1b3)][_0x395c71(0x16e)](),!0x0);}[_0x4c2f90(0x155)](){const _0x28d27f=_0x4c2f90;this[_0x28d27f(0x1eb)][_0x28d27f(0x1fe)](),this[_0x28d27f(0x1cf)]=[],clearTimeout(this[_0x28d27f(0x1bb)]),this[_0x28d27f(0x11e)](this[_0x28d27f(0x1eb)]);}[_0x4c2f90(0x111)](_0x5b1f87){const _0x334c36=_0x4c2f90,_0x1a914f=this[_0x334c36(0x1ef)][_0x334c36(0x1d7)][_0x334c36(0x1e5)](_0x1a8020);this[_0x334c36(0x154)](_0x1a914f,_0x334c36(0x1f3)+this[_0x334c36(0x112)],(_0x46be3d,{session:_0x4f44f7})=>{const _0x5b65cf=_0x334c36;if(_0x4f44f7['id']===_0x1a914f[_0x5b65cf(0x202)]){_0x46be3d[_0x5b65cf(0x1d5)]();const _0x32c589=this[_0x5b65cf(0x1ef)][_0x5b65cf(0x1d7)][_0x5b65cf(0x1c1)](_0x5b65cf(0x1f5))&&this[_0x5b65cf(0x1ef)][_0x5b65cf(0x1d7)][_0x5b65cf(0x1e5)](_0x5b65cf(0x1f5));let _0x6341c0=_0x4f44f7[_0x5b65cf(0x20d)];_0x32c589&&_0x32c589[_0x5b65cf(0x1dd)]&&(_0x6341c0=_0x6341c0[_0x5b65cf(0x151)](_0x122159=>_0x5b65cf(0x1db)!==_0x122159)),this[_0x5b65cf(0x1ef)][_0x5b65cf(0x1d7)][_0x5b65cf(0x1e5)](_0x5b65cf(0x15b))[_0x5b65cf(0x171)](_0x6341c0,this[_0x5b65cf(0x112)]);}}),_0x1a914f[_0x334c36(0x1b0)](this[_0x334c36(0x112)],_0x5b1f87);}[_0x4c2f90(0x200)](){const _0x200e9c=_0x4c2f90,_0x1b413f=this[_0x200e9c(0x1ef)][_0x200e9c(0x194)][_0x200e9c(0x1b5)];this[_0x200e9c(0x1ef)][_0x200e9c(0x194)][_0x200e9c(0x1b5)]=(..._0x40a933)=>{const _0x1c6d8d=_0x200e9c;if(!_0x40a933[_0x40a933[_0x1c6d8d(0x1a4)]-0x1][_0x1c6d8d(0x1f7)])throw new _0x5f1da6(_0x1c6d8d(0x119),this);_0x1b413f[_0x1c6d8d(0x132)](this[_0x1c6d8d(0x1ef)][_0x1c6d8d(0x194)],_0x40a933);};}[_0x4c2f90(0x1d6)](){const _0x2e5cdc=_0x4c2f90;this[_0x2e5cdc(0x1ef)][_0x2e5cdc(0x194)]['on'](_0x2e5cdc(0x1c9),(_0x3f9ff2,[_0x46132c])=>{const _0x3d3501=_0x2e5cdc;if(this[_0x3d3501(0x1c5)][_0x3d3501(0x173)])throw new _0x5f1da6(_0x3d3501(0x181),this);_0x3f9ff2[_0x3d3501(0x113)](),this[_0x3d3501(0x1fb)]();const _0xf2d7db=this[_0x3d3501(0x1ef)][_0x3d3501(0x166)][_0x3d3501(0x1e5)](_0x3d3501(0x136)),_0x1da450=this[_0x3d3501(0x1af)](_0x46132c,_0xf2d7db);0x0==_0x1da450[_0x3d3501(0x1a4)]&&_0x1da450[_0x3d3501(0x1bf)](new _0x2614bd(0x0)),_0x3f9ff2[_0x3d3501(0x19c)]=this[_0x3d3501(0x17d)](_0x1da450)[_0x3d3501(0x1ff)](()=>{const _0x41cdb2=_0x3d3501;this[_0x41cdb2(0x1ef)][_0x41cdb2(0x1d7)][_0x41cdb2(0x1e5)](_0xe0244f)[_0x41cdb2(0x110)](this),this[_0x41cdb2(0x1ef)][_0x41cdb2(0x194)][_0x41cdb2(0x1bc)](_0x41cdb2(0x146));})[_0x3d3501(0x145)](_0x5ca5ad=>this[_0x3d3501(0x209)](_0x3d3501(0x19b),_0x5ca5ad))[_0x3d3501(0x1f6)](()=>this[_0x3d3501(0x1cd)]());},{'priority':_0x2e5cdc(0x1e8)}),this[_0x2e5cdc(0x1ef)]['on'](_0x2e5cdc(0x1fd),async(_0x8a8cbb,[_0x461b78,_0x1e947e])=>{const _0x9d5d4=_0x2e5cdc;_0x8a8cbb[_0x9d5d4(0x113)]();const _0x63346e=this[_0x9d5d4(0x1ef)][_0x9d5d4(0x15d)][_0x9d5d4(0x169)][_0x9d5d4(0x199)](_0x461b78);if(!this[_0x9d5d4(0x18a)][_0x9d5d4(0x1c1)](_0x461b78)){const _0x587666=_0x1e947e&&_0x1e947e[_0x9d5d4(0x194)]?_0x1e947e[_0x9d5d4(0x194)]:'',_0x30a40b=_0x1e947e&&_0x1e947e[_0x9d5d4(0x128)]?_0x1e947e[_0x9d5d4(0x128)]:{};await this[_0x9d5d4(0x1a0)](_0x461b78,_0x587666,_0x30a40b);}this[_0x9d5d4(0x1ef)][_0x9d5d4(0x15d)][_0x9d5d4(0x193)]({'isUndoable':!0x1},()=>{const _0x5405e7=_0x9d5d4;_0x63346e[_0x5405e7(0x130)]=!0x0,this[_0x5405e7(0x1ef)][_0x5405e7(0x15d)][_0x5405e7(0x169)][_0x5405e7(0x214)][_0x5405e7(0x13c)](_0x63346e);});},{'priority':_0x2e5cdc(0x1e8)});}async[_0x4c2f90(0x210)](_0x486c44){const _0x595285=_0x4c2f90,_0x583c57=this[_0x595285(0x1ef)][_0x595285(0x1d7)][_0x595285(0x1e5)](_0x304b52),{connection:_0x28d90a}=this[_0x595285(0x1ef)][_0x595285(0x1d7)][_0x595285(0x1e5)](_0xe0244f),_0x1bc579=new Set();for(const _0x33f2e0 of _0x486c44){const _0x2d4e39=_0x33f2e0[_0x595285(0x15e)];_0x2d4e39&&!_0x583c57[_0x595285(0x1f1)](_0x2d4e39)&&_0x1bc579[_0x595285(0x1fa)](_0x2d4e39);}if(0x0===_0x1bc579[_0x595285(0x1fc)])return;const _0x101146=await _0x4148c5[_0x595285(0x152)](_0x28d90a,Array[_0x595285(0x1a2)](_0x1bc579));for(const _0x1a2861 of _0x101146)_0x583c57[_0x595285(0x1f1)](_0x1a2861['id'])||_0x583c57[_0x595285(0x15a)](_0x1a2861);}[_0x4c2f90(0x1af)](_0x3224a6,_0x457b16={}){const _0x3bc649=_0x4c2f90,_0x30097d=this[_0x3bc649(0x1ef)][_0x3bc649(0x15d)],_0x5da050=[];let _0x4cebc8=0x0;const _0x260041=_0x3bc649(0x183)==typeof _0x3224a6?{'main':_0x3224a6}:_0x3224a6;for(const _0x589711 of Object[_0x3bc649(0x123)](_0x260041)){if(!this[_0x3bc649(0x1c5)][_0x3bc649(0x139)][_0x3bc649(0x1c1)](_0x589711))throw new _0x5f1da6(_0x3bc649(0x1df),this);const _0x323958=this[_0x3bc649(0x1ef)][_0x3bc649(0x194)][_0x3bc649(0x19e)](_0x260041[_0x589711]),_0x3c4f5e=this[_0x3bc649(0x1c5)][_0x3bc649(0x199)](_0x589711),_0x4c2e32=new _0x3144d5(_0x30097d[_0x3bc649(0x135)](_0x3c4f5e,0x0),_0x323958,_0x4cebc8++);_0x5da050[_0x3bc649(0x1bf)](_0x4c2e32);for(const [_0x1af019,_0x48111b]of _0x323958[_0x3bc649(0x1ce)]){const _0xcfe310=_0x30097d[_0x3bc649(0x162)](_0x30097d[_0x3bc649(0x1c7)](_0x3c4f5e,_0x48111b[_0x3bc649(0x13b)][_0x3bc649(0x159)][_0x3bc649(0x1b8)]()),_0x30097d[_0x3bc649(0x1c7)](_0x3c4f5e,_0x48111b[_0x3bc649(0x12b)][_0x3bc649(0x159)][_0x3bc649(0x1b8)]())),_0x122762=new _0x36097e(_0x1af019,null,_0xcfe310,_0x30097d[_0x3bc649(0x1ce)],!0x0,_0x4cebc8++);_0x5da050[_0x3bc649(0x1bf)](_0x122762);}}if(_0x457b16)for(const [_0x1db494,_0x4a24f9]of Object[_0x3bc649(0x1ad)](_0x457b16)){const _0x2175ca=_0x30097d[_0x3bc649(0x169)][_0x3bc649(0x199)](_0x1db494);if(!_0x2175ca)throw new _0x5f1da6(_0x3bc649(0x167),null);for(const [_0x503fb0,_0x2c54d6]of Object[_0x3bc649(0x1ad)](_0x4a24f9))if(null!==_0x2c54d6){const _0x5bdd65=new _0x264554(_0x2175ca,_0x503fb0,null,_0x2c54d6,_0x4cebc8++);_0x5da050[_0x3bc649(0x1bf)](_0x5bdd65);}}return _0x5da050;}async[_0x4c2f90(0x1a0)](_0x658898,_0x141e8f,_0x4a874e){const _0x448054=_0x4c2f90;this[_0x448054(0x1af)]({[_0x658898]:_0x141e8f},{[_0x658898]:_0x4a874e})[_0x448054(0x1c6)]((_0x319cb1,_0x1c8417)=>{const _0x346d06=_0x448054;_0x319cb1[_0x346d06(0x18d)]=this[_0x346d06(0x1c5)][_0x346d06(0x173)]+_0x1c8417,_0x319cb1[_0x346d06(0x125)]=!0x0,this[_0x346d06(0x1de)](_0x319cb1);}),this[_0x448054(0x186)](),await this[_0x448054(0x11a)]();}async[_0x4c2f90(0x147)](_0x3fc96a,_0x46bb06){const _0xa29a28=_0x4c2f90;let _0x593757;this[_0xa29a28(0x1e7)]=_0x3fc96a[_0xa29a28(0x188)];const _0x5192ea=_0x3fc96a[_0xa29a28(0x18f)]&&!_0x3fc96a[_0xa29a28(0x124)],_0x4a9599=_0x5192ea?0x0:_0x3fc96a[_0xa29a28(0x194)][_0xa29a28(0x18d)];if(_0x46bb06[_0xa29a28(0x1c6)](_0xab6985=>{const _0x36cb00=_0xa29a28;_0xab6985[_0x36cb00(0x125)]=!0x0,_0xab6985[_0x36cb00(0x1ab)]=_0x3fc96a[_0x36cb00(0x1d8)],_0xab6985[_0x36cb00(0x15e)]=null;}),_0x5192ea)_0x593757=_0x46bb06,this[_0xa29a28(0x115)](_0x593757,_0x5192ea);else{if(_0x3fc96a[_0xa29a28(0x124)]){const _0x1e14e5=this[_0xa29a28(0x1af)](_0x3fc96a[_0xa29a28(0x124)]);this[_0xa29a28(0x1c5)][_0xa29a28(0x1b3)][_0xa29a28(0x173)]=-_0x1e14e5[_0xa29a28(0x1a4)],_0x1e14e5[_0xa29a28(0x1c6)](_0x774465=>{const _0x351014=_0xa29a28;_0x774465[_0x351014(0x18d)]-=_0x1e14e5[_0x351014(0x1a4)],_0x774465[_0x351014(0x1ab)]=_0x3fc96a[_0x351014(0x1d8)],_0x774465[_0x351014(0x125)]=!0x0,_0x774465[_0x351014(0x15e)]=null;}),this[_0xa29a28(0x115)](_0x1e14e5,!0x0),this[_0xa29a28(0x1d0)][_0xa29a28(0x173)]=-_0x1e14e5[_0xa29a28(0x1a4)]+this[_0xa29a28(0x1e7)],this[_0xa29a28(0x134)](_0x1e14e5);}this[_0xa29a28(0x1c5)][_0xa29a28(0x1b3)][_0xa29a28(0x173)]=_0x4a9599,_0x593757=this[_0xa29a28(0x195)](_0x3fc96a[_0xa29a28(0x194)],_0x3fc96a[_0xa29a28(0x15c)]),await this[_0xa29a28(0x210)](_0x593757),this[_0xa29a28(0x115)](_0x593757,_0x5192ea);}_0x3fc96a[_0xa29a28(0x143)]&&(this[_0xa29a28(0x208)][_0xa29a28(0x14e)](_0x593757,_0x3fc96a[_0xa29a28(0x143)]),this[_0xa29a28(0x18b)]=_0x3fc96a[_0xa29a28(0x143)]),this[_0xa29a28(0x1d0)][_0xa29a28(0x173)]=_0x4a9599+this[_0xa29a28(0x1e7)],this[_0xa29a28(0x134)](_0x593757),_0x46bb06[_0xa29a28(0x151)](_0xa509b9=>{const _0x58b778=_0xa29a28,_0x159638=this[_0x58b778(0x1da)](_0xa509b9);return _0x159638&&!this[_0x58b778(0x18a)][_0x58b778(0x1c1)](_0x159638);})[_0xa29a28(0x1c6)]((_0x2fce75,_0x35d38b)=>{const _0x1698cd=_0xa29a28;_0x2fce75[_0x1698cd(0x18d)]=this[_0x1698cd(0x1c5)][_0x1698cd(0x173)]+_0x35d38b,this[_0x1698cd(0x1de)](_0x2fce75);}),this[_0xa29a28(0x196)]()?(this[_0xa29a28(0x14d)]=0x0,this[_0xa29a28(0x186)](!0x0),await this[_0xa29a28(0x11a)]()):(this[_0xa29a28(0x198)]=!0x1,this[_0xa29a28(0x1cd)]());}[_0x4c2f90(0x209)](_0x1a860b,_0x45d2d6){const _0x3a3596=_0x4c2f90,_0x4508b7=_0x45d2d6&&_0x45d2d6[_0x3a3596(0x148)];if(_0x4508b7&&_0x4508b7[_0x3a3596(0x12d)](_0x3a3596(0x16a)))throw _0x45d2d6;const _0x353ffd=this[_0x3a3596(0x1ef)][_0x3a3596(0x1d7)][_0x3a3596(0x1e5)](_0xe0244f);throw this[_0x3a3596(0x198)]=!0x0,_0x353ffd[_0x3a3596(0x1fe)](),this[_0x3a3596(0x1ef)][_0x3a3596(0x17a)](_0x3a3596(0x1f4)),new _0x5f1da6(_0x1a860b,this[_0x3a3596(0x1ef)],_0x4508b7?{'originalError':_0x4508b7}:void 0x0);}[_0x4c2f90(0x1de)](_0xf86f05){const _0x51d078=_0x4c2f90;this[_0x51d078(0x170)][_0x51d078(0x1c1)](_0xf86f05)||(this[_0x51d078(0x170)][_0x51d078(0x1fa)](_0xf86f05),this[_0x51d078(0x1cf)][_0x51d078(0x1bf)](_0xf86f05),this[_0x51d078(0x161)]||_0x51d078(0x10f)==_0xf86f05[_0x51d078(0x133)]&&!_0xf86f05[_0x51d078(0x1be)]||this[_0x51d078(0x1fb)]());}[_0x4c2f90(0x186)](_0x25c4dd=!0x1){const _0x178626=_0x4c2f90;!_0x25c4dd&&this[_0x178626(0x198)]||(this[_0x178626(0x198)]=!0x0,clearTimeout(this[_0x178626(0x1bb)]),this[_0x178626(0x1bb)]=setTimeout(()=>{const _0x414368=_0x178626;this[_0x414368(0x15f)]()[_0x414368(0x1ff)](_0x575ecc=>{const _0x1cca72=_0x414368;_0x575ecc&&(this[_0x1cca72(0x1cd)](),this[_0x1cca72(0x198)]=!0x1);})[_0x414368(0x145)](_0x55d286=>{const _0x1308f2=_0x414368;this[_0x1308f2(0x1cd)](),this[_0x1308f2(0x198)]=!0x1,function(_0x5680cb){const _0x448657=_0x1308f2;return _0x5680cb[_0x448657(0x148)][_0x448657(0x12d)](_0x448657(0x116))||_0x5680cb[_0x448657(0x148)][_0x448657(0x12d)](_0x448657(0x160))||_0x5680cb[_0x448657(0x148)][_0x448657(0x12d)](_0x448657(0x12f));}(_0x55d286)||this[_0x1308f2(0x209)](_0x55d286[_0x1308f2(0x148)],_0x55d286);});},this[_0x178626(0x14d)]));}[_0x4c2f90(0x11a)](){return new Promise(_0x2bbd84=>{const _0x26c87f=_0xb467;this['on'](_0x26c87f(0x114),()=>{_0x2bbd84();});});}async[_0x4c2f90(0x15f)](){const _0x4bc4ee=_0x4c2f90,_0x5b747a=this[_0x4bc4ee(0x1ef)][_0x4bc4ee(0x1d7)][_0x4bc4ee(0x1e5)](_0x907312);if(this[_0x4bc4ee(0x1e2)]()&&(_0x5b747a[_0x4bc4ee(0x1d1)](),this[_0x4bc4ee(0x1c8)]=!0x1),!this[_0x4bc4ee(0x196)]())return!0x0;const _0x3e169b=[...this[_0x4bc4ee(0x1cf)]];for(const _0x4aa4d7 of _0x3e169b)_0x4aa4d7[_0x4bc4ee(0x138)]=this[_0x4bc4ee(0x1c5)][_0x4bc4ee(0x1b3)][_0x4bc4ee(0x1e4)](_0x4aa4d7);const _0x551316=this[_0x4bc4ee(0x208)][_0x4bc4ee(0x184)](_0x3e169b),_0x5e6ea4=G++,_0x448bb1=this[_0x4bc4ee(0x1a7)](_0x3e169b),_0x258052=await this[_0x4bc4ee(0x1eb)][_0x4bc4ee(0x16c)](_0x448bb1,_0x448bb1[_0x4bc4ee(0x18d)],_0x551316);try{return await this[_0x4bc4ee(0x211)](_0x3e169b,_0x258052,_0x5e6ea4);}catch(_0x8cafde){return this[_0x4bc4ee(0x209)](_0x4bc4ee(0x20b),_0x8cafde);}}async[_0x4c2f90(0x211)](_0xde0a9a,_0x8993a0,_0x1f138b){const _0x1b8a2a=_0x4c2f90;if(_0x1b8a2a(0x1d2)in _0x8993a0)throw _0x8993a0[_0x1b8a2a(0x1d2)];let _0x477075=!0x1;if(_0x8993a0[_0x1b8a2a(0x18f)]){_0x8993a0[_0x1b8a2a(0x143)]&&(this[_0x1b8a2a(0x18b)]=_0x8993a0[_0x1b8a2a(0x143)]),this[_0x1b8a2a(0x1cf)]=this[_0x1b8a2a(0x1cf)][_0x1b8a2a(0x151)](_0x92d65b=>!_0xde0a9a[_0x1b8a2a(0x1e0)](_0x92d65b));for(const _0x155a3f of _0xde0a9a)_0x155a3f[_0x1b8a2a(0x1ab)]=_0x1b8a2a(0x19f)in _0x8993a0&&_0x8993a0[_0x1b8a2a(0x19f)]||void 0x0;K(_0xde0a9a,_0x8993a0[_0x1b8a2a(0x173)]-_0xde0a9a[_0x1b8a2a(0x1a4)]),this[_0x1b8a2a(0x134)](_0xde0a9a);const _0x30bc75=_0xde0a9a[_0x1b8a2a(0x151)](_0x5e589c=>{const _0x1cda07=_0x1b8a2a;if(!_0x5e589c[_0x1cda07(0x125)])return!0x1;const _0x2a07e7=this[_0x1cda07(0x1da)](_0x5e589c);return _0x2a07e7&&!this[_0x1cda07(0x18a)][_0x1cda07(0x1c1)](_0x2a07e7);});K(_0x30bc75,this[_0x1b8a2a(0x1c5)][_0x1b8a2a(0x173)]),this[_0x1b8a2a(0x115)](_0x30bc75),_0x477075=!0x0,this[_0x1b8a2a(0x14d)]=this[_0x1b8a2a(0x140)];}else{const _0x4b5347=this[_0x1b8a2a(0x195)](_0x8993a0[_0x1b8a2a(0x194)],_0x8993a0[_0x1b8a2a(0x15c)])[_0x1b8a2a(0x151)](_0x5a0c5b=>_0x5a0c5b[_0x1b8a2a(0x18d)]>=this[_0x1b8a2a(0x127)]);_0x4b5347[_0x1b8a2a(0x1c6)](_0x5a684a=>this[_0x1b8a2a(0x156)](_0x5a684a)),this[_0x1b8a2a(0x1cf)]=this[_0x1b8a2a(0x1cf)][_0x1b8a2a(0x151)](_0xf069f3=>!_0xf069f3[_0x1b8a2a(0x125)]||!this[_0x1b8a2a(0x18a)][_0x1b8a2a(0x1c1)](this[_0x1b8a2a(0x1da)](_0xf069f3))),this[_0x1b8a2a(0x1cf)][_0x1b8a2a(0x1a4)]&&K(this[_0x1b8a2a(0x1cf)],this[_0x1b8a2a(0x1cf)][0x0][_0x1b8a2a(0x18d)]),await this[_0x1b8a2a(0x210)](_0x4b5347),_0x477075=this[_0x1b8a2a(0x1f8)](_0x4b5347,_0x8993a0[_0x1b8a2a(0x173)],_0x8993a0[_0x1b8a2a(0x143)]),this[_0x1b8a2a(0x14d)]=Math[_0x1b8a2a(0x13a)](this[_0x1b8a2a(0x14d)]/0x2);}return _0x477075?!this[_0x1b8a2a(0x196)]()||(this[_0x1b8a2a(0x186)](!0x0),!0x1):this[_0x1b8a2a(0x209)](_0x1b8a2a(0x180));}[_0x4c2f90(0x1f8)](_0x31dc21,_0x4be0c8,_0x45c7a7){const _0x13d3f3=_0x4c2f90;try{const _0x474e6d={'document':this[_0x13d3f3(0x1c5)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2fe015,operationsB:_0x2e09ae,originalOperations:_0xc8b55b}=_0x2e044e(_0x31dc21,this[_0x13d3f3(0x1cf)],_0x474e6d);K(_0x2fe015,this[_0x13d3f3(0x1c5)][_0x13d3f3(0x173)]),K(_0x2e09ae,_0x4be0c8);for(const _0x24b8d1 of _0x2fe015){const _0x302921=_0xc8b55b[_0x13d3f3(0x1e5)](_0x24b8d1);_0x24b8d1[_0x13d3f3(0x15e)]=_0x302921?_0x302921[_0x13d3f3(0x15e)]:null;}_0x45c7a7&&(this[_0x13d3f3(0x208)][_0x13d3f3(0x14e)](_0x31dc21,_0x45c7a7),this[_0x13d3f3(0x18b)]=_0x45c7a7),this[_0x13d3f3(0x1cf)]=[..._0x2e09ae],this[_0x13d3f3(0x115)](_0x2fe015),this[_0x13d3f3(0x134)](_0x31dc21);}catch(_0x549f82){return console[_0x13d3f3(0x1d2)](_0x549f82),!0x1;}return!0x0;}[_0x4c2f90(0x115)](_0x982c4c,_0x2b7208=!0x1){const _0x324d0a=_0x4c2f90;this[_0x324d0a(0x1ef)][_0x324d0a(0x15d)][_0x324d0a(0x193)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4e7ec3=>{const _0x142cfe=_0x324d0a;for(const _0x55b82e of _0x982c4c)this[_0x142cfe(0x170)][_0x142cfe(0x1fa)](_0x55b82e),this[_0x142cfe(0x156)](_0x55b82e),_0x4e7ec3[_0x142cfe(0x1b2)][_0x142cfe(0x144)](_0x55b82e),this[_0x142cfe(0x1ef)][_0x142cfe(0x15d)][_0x142cfe(0x1d9)](_0x55b82e);});}[_0x4c2f90(0x156)](_0x1bd907){const _0x227bc4=_0x4c2f90,_0xfe0c1d=this[_0x227bc4(0x1da)](_0x1bd907);_0xfe0c1d&&this[_0x227bc4(0x18a)][_0x227bc4(0x1fa)](_0xfe0c1d);}[_0x4c2f90(0x1da)](_0x427129){const _0x5d0603=_0x4c2f90;let _0x8065c2,_0x4aa122;switch(_0x427129[_0x5d0603(0x133)]){case _0x5d0603(0x12a):_0x8065c2=_0x427129[_0x5d0603(0x11c)][_0x5d0603(0x20a)];break;case _0x5d0603(0x10f):if(_0x4aa122=_0x427129[_0x5d0603(0x197)],!_0x4aa122)return null;_0x8065c2=_0x4aa122[_0x5d0603(0x20a)];break;case _0x5d0603(0x16d):_0x8065c2=_0x427129[_0x5d0603(0x20a)];break;case _0x5d0603(0x192):_0x8065c2=_0x427129[_0x5d0603(0x1f9)];break;case _0x5d0603(0x1d3):_0x8065c2=_0x427129[_0x5d0603(0x201)][_0x5d0603(0x20a)];break;default:return null;}return _0x8065c2[_0x5d0603(0x1d4)];}[_0x4c2f90(0x134)](_0x206a4d){const _0x5d7dd7=_0x4c2f90;_0x206a4d[_0x5d7dd7(0x1c6)](_0xb3c2bb=>{const _0x6f909a=_0x5d7dd7,_0x196288=_0xb3c2bb[_0x6f909a(0x14b)]();_0x196288[_0x6f909a(0x15e)]=_0xb3c2bb[_0x6f909a(0x15e)],_0x196288[_0x6f909a(0x125)]=!!_0xb3c2bb[_0x6f909a(0x125)],_0x196288[_0x6f909a(0x1ab)]=_0xb3c2bb[_0x6f909a(0x1ab)],_0x196288[_0x6f909a(0x18d)]+=this[_0x6f909a(0x1e7)],_0xb3c2bb[_0x6f909a(0x13e)]&&this[_0x6f909a(0x1b7)][_0x6f909a(0x1fa)](_0x196288),this[_0x6f909a(0x1d0)][_0x6f909a(0x144)](_0x196288);});}[_0x4c2f90(0x19a)](_0x54bfc0){const _0x1ee67a=_0x4c2f90,_0x3b8c80=this[_0x1ee67a(0x1ef)][_0x1ee67a(0x1d7)][_0x1ee67a(0x1e5)](_0x1ee67a(0x20e)),_0x40161a=this[_0x1ee67a(0x1ef)][_0x1ee67a(0x16b)];_0x54bfc0||(_0x54bfc0=_0x2dd504(_0x40161a,_0x1ee67a(0x14a))),_0x3b8c80[_0x1ee67a(0x177)](_0x54bfc0,{'title':_0x2dd504(_0x40161a,_0x1ee67a(0x1f0)),'namespace':_0x1ee67a(0x1c4)}),this[_0x1ee67a(0x17b)]=!0x0,clearTimeout(this[_0x1ee67a(0x1bb)]),this[_0x1ee67a(0x1cf)]=[],this[_0x1ee67a(0x1ef)][_0x1ee67a(0x1d7)][_0x1ee67a(0x1e5)](_0xe0244f)[_0x1ee67a(0x1fe)]();}[_0x4c2f90(0x1fb)](){const _0x21e845=_0x4c2f90;this[_0x21e845(0x161)]||(this[_0x21e845(0x161)]=this[_0x21e845(0x1ef)][_0x21e845(0x1d7)][_0x21e845(0x1e5)](_0x2ed9bb)[_0x21e845(0x1fa)](_0x2dd504(this[_0x21e845(0x1ef)][_0x21e845(0x16b)],_0x21e845(0x153))));}[_0x4c2f90(0x1cd)](){const _0x2069cf=_0x4c2f90;this[_0x2069cf(0x161)]&&(this[_0x2069cf(0x1ef)][_0x2069cf(0x1d7)][_0x2069cf(0x1e5)](_0x2ed9bb)[_0x2069cf(0x1a6)](this[_0x2069cf(0x161)]),this[_0x2069cf(0x161)]=null);}[_0x4c2f90(0x1a7)](_0x343275){const _0x29163f=_0x4c2f90,_0x5a4697=_0x343275[_0x29163f(0x179)](_0x1055f6=>_0x1055f6[_0x29163f(0x11d)]());return this[_0x29163f(0x1b1)][_0x29163f(0x11b)](_0x5a4697);}[_0x4c2f90(0x195)](_0x23fe74,_0x31ff76){const _0x11da20=_0x4c2f90;return this[_0x11da20(0x1b1)][_0x11da20(0x16f)](_0x23fe74)[_0x11da20(0x179)]((_0x3de99c,_0x554813)=>{const _0x98028b=_0x11da20,_0xf9fdc1=_0x98028b(0x1c9)==_0x31ff76[_0x554813][_0x98028b(0x133)];if(_0x98028b(0x1c2)==_0x3de99c[_0x98028b(0x122)]){const _0x448625=_0x3de99c[_0x98028b(0x11c)][_0x98028b(0x20a)];!this[_0x98028b(0x1c5)][_0x98028b(0x199)](_0x448625)&&(this[_0x98028b(0x1c5)][_0x98028b(0x131)](_0x98028b(0x158),_0x448625)[_0x98028b(0x19d)]=!0x1);}const _0x32bad3=_0x55a088[_0x98028b(0x1e1)](_0x3de99c,this[_0x98028b(0x1c5)]);return _0x32bad3[_0x98028b(0x138)]=_0x3de99c[_0x98028b(0x138)],_0x32bad3[_0x98028b(0x125)]=_0xf9fdc1,_0x32bad3[_0x98028b(0x15e)]=_0xf9fdc1?null:_0x31ff76[_0x554813][_0x98028b(0x204)],_0x32bad3[_0x98028b(0x13e)]=_0x98028b(0x18c)===_0x31ff76[_0x554813][_0x98028b(0x133)],_0x32bad3[_0x98028b(0x1ab)]=_0x31ff76[_0x554813][_0x98028b(0x1ab)],_0x32bad3;});}[_0x4c2f90(0x189)](){const _0x4ac30f=_0x4c2f90;this[_0x4ac30f(0x1c8)]=!0x0,this[_0x4ac30f(0x1e2)]()?this[_0x4ac30f(0x186)]():this[_0x4ac30f(0x1c8)]=!0x1;}[_0x4c2f90(0x1e2)](){const _0x2f0f02=_0x4c2f90,_0x101ef9=this[_0x2f0f02(0x1ef)][_0x2f0f02(0x1d7)][_0x2f0f02(0x1e5)](_0x1a8020)[_0x2f0f02(0x14c)][_0x2f0f02(0x1e5)](this[_0x2f0f02(0x112)]);return!this[_0x2f0f02(0x1ef)][_0x2f0f02(0x172)]&&!!_0x101ef9&&_0x101ef9[_0x2f0f02(0x1a4)]>0x1&&this[_0x2f0f02(0x1c8)];}[_0x4c2f90(0x196)](){const _0x139f16=_0x4c2f90;return this[_0x139f16(0x1cf)][_0x139f16(0x1a4)]>0x0||this[_0x139f16(0x1e2)]();}}class $ extends Error{}function K(_0x6abdca,_0x4ff2f2){const _0x165334=_0x4c2f90;for(const _0x2e7efd of _0x6abdca)_0x2e7efd[_0x165334(0x18d)]=_0x4ff2f2++;}class J{[_0x4c2f90(0x1ed)];[_0x4c2f90(0x1ba)];constructor(_0x321145){const _0x5b6543=_0x4c2f90;this[_0x5b6543(0x1ed)]=_0x321145,this[_0x5b6543(0x1ba)]=new WeakMap();}[_0x4c2f90(0x184)](_0x1d9ff4){const _0x5ec66b=_0x4c2f90;let _0x156d41=_0x1d9ff4[_0x5ec66b(0x1a4)];for(;_0x156d41--;){const _0x40270c=_0x1d9ff4[_0x156d41];if(!this[_0x5ec66b(0x1ed)][_0x5ec66b(0x1c1)](_0x40270c)){if(!this[_0x5ec66b(0x1ba)][_0x5ec66b(0x1c1)](_0x40270c)){const _0x309c4a=_0x5db42c()[_0x5ec66b(0x1b8)](0x1,0x12);this[_0x5ec66b(0x1ba)][_0x5ec66b(0x1b5)](_0x40270c,_0x309c4a);}return this[_0x5ec66b(0x1ba)][_0x5ec66b(0x1e5)](_0x40270c);}}}[_0x4c2f90(0x14e)](_0x46b9f0,_0x282c14){const _0x5efbd9=_0x4c2f90;if(!_0x282c14)return;let _0x47f9f6=_0x46b9f0[_0x5efbd9(0x1a4)];for(;_0x47f9f6--;){const _0x51f81a=_0x46b9f0[_0x47f9f6];this[_0x5efbd9(0x1ed)][_0x5efbd9(0x1c1)](_0x51f81a)||this[_0x5efbd9(0x1ba)][_0x5efbd9(0x1b5)](_0x51f81a,_0x282c14);}}}function _0x1d48(){const _0x3feb44=['serverHistory','createUserMarkerOperations','error','move','rootName','off','_setUpDataInit','plugins','sessionCreatedAt','applyOperation','_getAffectedRoot','document:write','change:_isEditingAllowed','isEnabled','_saveOperationInBuffer','realtimecollaborationclient-init-non-existent-root','includes','fromJSON','_shouldSendSelectionUpdate','_isConnected','isUndoneOperation','get','220180agXeCd','_offset','high','bind','_isEditingAllowed','_service','view','_ignoredOperations','currentDocumentSession','editor','Synchronization\x20issue','getUser','_handleReconnectionResponse','sessionAdd:','realtimecollaborationclient-error','CommentsOnly','finally','suppressErrorInCollaboration','_handleExternalOperations','affectedSelectable','add','_setPendingAction','size','loadRoot','disconnect','then','_initThrowingOnDataSet','targetPosition','mySessionId','directChange','userId','404','isOfficialPlugin','1087608OKMnTy','_operationIdentifier','_crash','root','realtimecollaborationclient-sendbufferedoperations','reset','permissions','Notification','isDocumentOperation','_fetchMissingUsers','_handleServerResponse','reconnect','getOperationAuthor','differ','selection','marker','addToReconnectionStack','_initSessionsHandling','_channelId','stop','change:_isPendingUpdate','_applyOperationsSet','cloud-services-internal-error:\x20Not\x20connected.','disconnected','isPremiumPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_waitUntilSynced','compress','position','toJSON','stopListening','getDocumentDetails','6CRUwKW','11056NotaTJ','__className','keys','initData','_isInit','realtimecollaborationclient-init-session-connection-error','_lastServerVersion','attributes','unregister','insert','end','operationsReceived','startsWith','requires','cloud-services-internal-error:\x20Request\x20timeout.','_isLoaded','createRoot','apply','type','_updateServerHistory','createPositionAt','rootsAttributes','realtimecollaborationclient-init-service-incorrect-server-operation','wasUndone','roots','round','start','_bufferRootLoad','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isDisconnection','removeFromReconnectionStack','_baseBufferDelay','48iLOmEt','357106sgAgxu','lastOperationId','addOperation','catch','ready','_handleInitialConnectionData','message','disableReadOnlyMode','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.','clone','channelSessions','_currentBufferDelay','setIdForTheLastOperation','3921564aKVHdm','connection','filter','getMany','PENDING_ACTION_SENDING_DATA','listenTo','_disconnectService','_addKnownRoot','getConnectedSessions','$root','path','addUser','Permissions','metadata','model','_authorId','_sendBufferedOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_pendingAction','createRange','lastDocumentSession','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.','destroy','config','multi-root-editor-root-attributes-no-root','7003836zOFewL','document','realtimecollaborationclient','locale','sendOperations','addRootAttribute','getOperations','decompress','_knownOperations','setPermissions','isReadOnly','version','CollaborativeEditingService','collaboration','2061NUQdgQ','showWarning','collaboration-missing-channelid','map','enableReadOnlyMode','_hasSynchronizationProblem','state','_connectService','15235SMJMgp','409','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-document-already-initialized','lastSyncVersion','string','getIdOfTheLastOperation','cloudServices.bundleVersion','_sendBufferedOperationsDelayed','realtimecollaborationclient-init-service-internal-error','offset','_refreshUserSelectionMarkers','_knownRootNames','_lastSyncedOperationId','cs:removeUser','baseVersion','connect','wereChangesApplied','cloudDocumentVersion','change:hasDomSelection','addRoot','enqueueChange','data','_decompressOperations','_shouldSendUpdate','newRange','_isPendingUpdate','getRoot','_handleReconnectionError','realtimecollaborationclient-init-connection-failed','return','_isAttached','parse','lastOperationAcceptedAt','_loadRoot','rtc-offline','from','connected','length','pluginName','remove','_compressOperations','collaboration.channelId','rtc-destroyed','_handleSendingSelectionMarkers','createdAt','define','entries','sessionId','_getOperationsFromInitData','register','_compressor','batch','history','code','set','_handleReceivedOperations','_disconnectionOperations','slice','_connectAfterSessionHasBeenFlushed','_operationToId','_sendBufferedOperationsDelayId','fire','change:range','affectsData','push','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','has','InsertOperation','RealTimeCollaborationClient','real-time-collaboration','_document','forEach','createPositionFromPath','_hasSelectionChanged','init','editing','reconnection:\x20flushed\x20session','830eappZj','_clearPendingAction','markers','_bufferedOperations'];_0x1d48=function(){return _0x3feb44;};return _0x1d48();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3867(_0x156c94,_0x311d61){const _0x5ddcc9=_0x5ddc();return _0x3867=function(_0x386733,_0x32bcc2){_0x386733=_0x386733-0xe7;let _0x87b012=_0x5ddcc9[_0x386733];return _0x87b012;},_0x3867(_0x156c94,_0x311d61);}const _0x367942=_0x3867;(function(_0x340aa1,_0x361736){const _0x19d35c=_0x3867,_0x545b4b=_0x340aa1();while(!![]){try{const _0x3adf5a=parseInt(_0x19d35c(0x117))/0x1+-parseInt(_0x19d35c(0xf0))/0x2*(parseInt(_0x19d35c(0x122))/0x3)+-parseInt(_0x19d35c(0x11d))/0x4*(-parseInt(_0x19d35c(0x11f))/0x5)+parseInt(_0x19d35c(0x114))/0x6*(parseInt(_0x19d35c(0x107))/0x7)+parseInt(_0x19d35c(0xf3))/0x8+parseInt(_0x19d35c(0x10c))/0x9+-parseInt(_0x19d35c(0xfa))/0xa;if(_0x3adf5a===_0x361736)break;else _0x545b4b['push'](_0x545b4b['shift']());}catch(_0x5661f2){_0x545b4b['push'](_0x545b4b['shift']());}}}(_0x5ddc,0x6cb73));import{ContextPlugin as _0x1733c3}from'ckeditor5/src/core.js';import{Collection as _0x401908,CKEditorError as _0x5d376d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1ec276}from'./websocketgateway.js';import{Users as _0x261a2a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1733c3{[_0x367942(0x10f)];[_0x367942(0x11b)];[_0x367942(0x120)];[_0x367942(0x125)];[_0x367942(0x121)];[_0x367942(0xee)];static get[_0x367942(0x106)](){const _0x15faaf=_0x367942;return _0x15faaf(0x11c);}static get[_0x367942(0xfc)](){return!0x0;}static get[_0x367942(0x104)](){return!0x0;}static get[_0x367942(0x10b)](){return[_0x1ec276,_0x261a2a];}constructor(_0x189d65){const _0x4daf56=_0x367942;super(_0x189d65),this[_0x4daf56(0x10f)]=new Map(),this[_0x4daf56(0x11b)]=new Map(),this[_0x4daf56(0x120)]=new _0x401908(),this[_0x4daf56(0x125)]=new Map(),this[_0x4daf56(0x121)]=0x0,this[_0x4daf56(0xee)]=this[_0x4daf56(0xed)][_0x4daf56(0x113)][_0x4daf56(0x10a)](_0x261a2a);}[_0x367942(0xe7)](){const _0x5d6b0b=_0x367942,_0x374c47=this[_0x5d6b0b(0xed)][_0x5d6b0b(0x113)][_0x5d6b0b(0x10a)](_0x1ec276);this[_0x5d6b0b(0xf8)](_0x374c47,_0x5d6b0b(0xf9),(_0x171222,_0xeecc04,_0x2924b9)=>{const _0x22a655=_0x5d6b0b;if(_0x22a655(0xf6)!==_0x2924b9)this[_0x22a655(0x10f)][_0x22a655(0x119)](_0x5efaf0=>_0x5efaf0[_0x22a655(0xfb)]()),this[_0x22a655(0x11b)][_0x22a655(0x119)](_0x5d2340=>_0x5d2340[_0x22a655(0xfb)]()),this[_0x22a655(0x120)][_0x22a655(0xfb)]();else{for(const [_0x186b17,_0x5631cc]of this[_0x22a655(0x125)])for(const _0x39aee1 of _0x5631cc)this[_0x22a655(0x124)](_0x186b17,_0x39aee1);}}),this[_0x5d6b0b(0xec)](_0x374c47[_0x5d6b0b(0xe9)]['me'],!0x0);}[_0x367942(0x102)](_0x310628,_0x35d2ef){const _0x2a1758=_0x367942;if(this[_0x2a1758(0x125)][_0x2a1758(0xfd)](_0x310628))throw new _0x5d376d(_0x2a1758(0xe8),null,{'channelId':_0x310628});this[_0x2a1758(0x125)][_0x2a1758(0x108)](_0x310628,_0x35d2ef),this[_0x2a1758(0x10f)][_0x2a1758(0x108)](_0x310628,new _0x401908()),this[_0x2a1758(0x11b)][_0x2a1758(0x108)](_0x310628,new _0x401908()),this[_0x2a1758(0xf8)](_0x35d2ef,_0x2a1758(0x10e),(_0x4247bc,_0x526787)=>this[_0x2a1758(0x124)](_0x310628,_0x526787)),this[_0x2a1758(0xf8)](_0x35d2ef,_0x2a1758(0xf4),(_0x177531,_0x1265c2)=>this[_0x2a1758(0x10d)](_0x310628,_0x1265c2));for(const _0x162f47 of _0x35d2ef)this[_0x2a1758(0x124)](_0x310628,_0x162f47);}[_0x367942(0x11a)](_0x302123){const _0x3a9b18=_0x367942;if(!this[_0x3a9b18(0x125)][_0x3a9b18(0xfd)](_0x302123))throw new _0x5d376d(_0x3a9b18(0xea),null,{'channelId':_0x302123});const _0x541f29=this[_0x3a9b18(0x125)][_0x3a9b18(0x10a)](_0x302123);this[_0x3a9b18(0x109)](_0x541f29);for(const _0x2f69b1 of _0x541f29)_0x3a9b18(0xf6)===this[_0x3a9b18(0xed)][_0x3a9b18(0x113)][_0x3a9b18(0x10a)](_0x1ec276)[_0x3a9b18(0xff)]&&this[_0x3a9b18(0x10d)](_0x302123,_0x2f69b1);this[_0x3a9b18(0x125)][_0x3a9b18(0x115)](_0x302123),this[_0x3a9b18(0x10f)][_0x3a9b18(0x115)](_0x302123),this[_0x3a9b18(0x11b)][_0x3a9b18(0x115)](_0x302123);}get[_0x367942(0x112)](){const _0x307e5b=_0x367942;return this[_0x307e5b(0xed)][_0x307e5b(0x113)][_0x307e5b(0x10a)](_0x1ec276)[_0x307e5b(0xe9)][_0x307e5b(0x101)];}[_0x367942(0x11e)](_0x241615){const _0x380d23=_0x367942;for(const _0x2943aa of this[_0x380d23(0x10f)][_0x380d23(0x118)]())for(const _0x459772 of _0x2943aa)if(_0x459772['id']===_0x241615)return _0x459772[_0x380d23(0x103)];}[_0x367942(0x111)](_0x1f0e00,_0x3089f6){const _0x16aa98=_0x367942,_0x168df8=_0x3089f6?[this[_0x16aa98(0x10f)][_0x16aa98(0x10a)](_0x3089f6)]:this[_0x16aa98(0x10f)][_0x16aa98(0x118)](),_0x541e39=new Set();for(const _0x4896c8 of _0x168df8)for(const _0x1693b9 of _0x4896c8)_0x1693b9[_0x16aa98(0x103)]['id']===_0x1f0e00['id']&&_0x541e39[_0x16aa98(0x10e)](_0x1693b9['id']);return _0x541e39;}[_0x367942(0xeb)](_0x3e24cf){const _0xd5a6e5=_0x367942;for(const _0x375413 of this[_0xd5a6e5(0x10f)][_0xd5a6e5(0x118)]())for(const _0x1a4993 of _0x375413)if(_0x1a4993[_0xd5a6e5(0x103)]===_0x3e24cf)return _0x1a4993[_0xd5a6e5(0xf2)];}[_0x367942(0x124)](_0xec5cdd,_0x19377f){const _0x91338a=_0x367942;if(_0x91338a(0xf6)!==this[_0x91338a(0xed)][_0x91338a(0x113)][_0x91338a(0x10a)](_0x1ec276)[_0x91338a(0xff)])return;const _0x102132=_0x19377f[_0x91338a(0x103)],_0x105cf7=this[_0x91338a(0xee)][_0x91338a(0x123)](_0x102132['id'])||this[_0x91338a(0xec)](_0x102132),_0x20aa8a=Object[_0x91338a(0xf1)]({},_0x19377f,{'user':_0x105cf7});if(this[_0x91338a(0x10f)][_0x91338a(0x10a)](_0xec5cdd)[_0x91338a(0x10e)](_0x20aa8a),!_0x102132[_0x91338a(0x105)]){const _0x5ce126=this[_0x91338a(0x11b)][_0x91338a(0x10a)](_0xec5cdd);_0x5ce126[_0x91338a(0xfd)](_0x105cf7['id'])||_0x5ce126[_0x91338a(0x10e)](_0x105cf7),this[_0x91338a(0x120)][_0x91338a(0xfd)](_0x105cf7['id'])||_0x102132[_0x91338a(0x105)]||this[_0x91338a(0x120)][_0x91338a(0x10e)](_0x105cf7,_0x105cf7[_0x91338a(0xf7)]?0x0:void 0x0);}this[_0x91338a(0xef)](_0x91338a(0x116)+_0xec5cdd,{'channelId':_0xec5cdd,'session':_0x20aa8a});}[_0x367942(0x10d)](_0x1e9e54,_0x19609e){const _0x55b281=_0x367942;if(_0x55b281(0xf6)!==this[_0x55b281(0xed)][_0x55b281(0x113)][_0x55b281(0x10a)](_0x1ec276)[_0x55b281(0xff)])return;const _0x32dc10=this[_0x55b281(0x11b)][_0x55b281(0x10a)](_0x1e9e54),_0x2be756=_0x19609e[_0x55b281(0x103)];_0x2be756['id']&&(this[_0x55b281(0x10f)][_0x55b281(0x10a)](_0x1e9e54)[_0x55b281(0xf4)](_0x19609e['id']),_0x32dc10[_0x55b281(0xfd)](_0x2be756['id'])&&!this[_0x55b281(0x111)](_0x2be756,_0x1e9e54)[_0x55b281(0x110)]&&_0x32dc10[_0x55b281(0xf4)](_0x2be756['id']),this[_0x55b281(0x120)][_0x55b281(0x10a)](_0x2be756['id'])&&!this[_0x55b281(0x111)](_0x2be756)[_0x55b281(0x110)]&&this[_0x55b281(0x120)][_0x55b281(0xf4)](_0x2be756['id']));}[_0x367942(0xec)](_0x530cc7,_0x28ffce){const _0x877ae1=_0x367942,_0x3ba487=this[_0x877ae1(0xee)][_0x877ae1(0x100)](_0x530cc7);return _0x28ffce&&this[_0x877ae1(0xee)][_0x877ae1(0xf5)](_0x530cc7['id']),_0x3ba487[_0x877ae1(0xfe)]=this[_0x877ae1(0x121)]++,_0x3ba487;}}function _0x5ddc(){const _0x345cef=['state','addUser','sessionId','register','user','isPremiumPlugin','hiddenInPresenceList','pluginName','4932067gKBNIw','set','stopListening','get','requires','4543011qQWcvD','_handleSessionRemove','add','channelSessions','size','getUserSessions','mySessionId','plugins','6ZmSJkW','delete','sessionAdd:','129302wdmGia','values','forEach','unregister','channelConnectedUsers','Sessions','200bNCFvT','getUserBySessionId','77775EneYUa','allConnectedUsers','_uniqueUsersCount','30zACyQU','getUser','_handleSessionAdd','_registeredSessions','init','sessions-register-already-registered','connection','sessions-unregister-not-exist','getUserRole','_createUser','context','_users','fire','117518ZwAlUp','assign','role','542216OaMOHC','remove','defineMe','connected','isMe','listenTo','change:state','11513000PuoKjX','clear','isOfficialPlugin','has','orderNumber'];_0x5ddc=function(){return _0x345cef;};return _0x5ddc();}
23
+ function _0x1307(_0x51734d,_0x5de15b){const _0xaa5003=_0xaa50();return _0x1307=function(_0x1307ec,_0x13190f){_0x1307ec=_0x1307ec-0xdb;let _0x2d1160=_0xaa5003[_0x1307ec];return _0x2d1160;},_0x1307(_0x51734d,_0x5de15b);}const _0x35aaae=_0x1307;(function(_0x32b3c8,_0x122eb6){const _0x1c3b22=_0x1307,_0x56f130=_0x32b3c8();while(!![]){try{const _0x2abe21=-parseInt(_0x1c3b22(0x10a))/0x1*(parseInt(_0x1c3b22(0x10e))/0x2)+-parseInt(_0x1c3b22(0xdf))/0x3*(parseInt(_0x1c3b22(0xef))/0x4)+-parseInt(_0x1c3b22(0x108))/0x5*(-parseInt(_0x1c3b22(0xff))/0x6)+parseInt(_0x1c3b22(0x105))/0x7+parseInt(_0x1c3b22(0x10b))/0x8*(-parseInt(_0x1c3b22(0xed))/0x9)+parseInt(_0x1c3b22(0x118))/0xa+parseInt(_0x1c3b22(0xea))/0xb;if(_0x2abe21===_0x122eb6)break;else _0x56f130['push'](_0x56f130['shift']());}catch(_0x1dcdc3){_0x56f130['push'](_0x56f130['shift']());}}}(_0xaa50,0xb0bb6));function _0xaa50(){const _0x62def8=['_uniqueUsersCount','channelConnectedUsers','_handleSessionRemove','forEach','_registeredSessions','pluginName','Sessions','defineMe','init','add','fire','getUser','isOfficialPlugin','_createUser','647766RsHlBR','remove','mySessionId','plugins','getUserBySessionId','sessionId','6091729rDQeaI','getUserRole','sessionAdd:','10TRWnGK','get','417vUcUeM','663816TwtWyn','_users','getUserSessions','5062VMzXDr','delete','_handleSessionAdd','clear','listenTo','user','hiddenInPresenceList','requires','change:state','assign','7244210gKPYEb','values','register','state','set','sessions-unregister-not-exist','isPremiumPlugin','9KNkiGj','has','channelSessions','size','connection','isMe','context','unregister','addUser','stopListening','sessions-register-already-registered','15644970sbFwRe','allConnectedUsers','connected','9cqBCBN','role','1827416dyjXcL','orderNumber'];_0xaa50=function(){return _0x62def8;};return _0xaa50();}import{ContextPlugin as _0x102c62}from'ckeditor5/src/core.js';import{Collection as _0x42c6b3,CKEditorError as _0x47cd17}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1be33c}from'./websocketgateway.js';import{Users as _0x25fed4}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x102c62{[_0x35aaae(0xe1)];[_0x35aaae(0xf2)];[_0x35aaae(0xeb)];[_0x35aaae(0xf5)];[_0x35aaae(0xf1)];[_0x35aaae(0x10c)];static get[_0x35aaae(0xf6)](){const _0xd63c56=_0x35aaae;return _0xd63c56(0xf7);}static get[_0x35aaae(0xfd)](){return!0x0;}static get[_0x35aaae(0xde)](){return!0x0;}static get[_0x35aaae(0x115)](){return[_0x1be33c,_0x25fed4];}constructor(_0x422e6){const _0x8b66dd=_0x35aaae;super(_0x422e6),this[_0x8b66dd(0xe1)]=new Map(),this[_0x8b66dd(0xf2)]=new Map(),this[_0x8b66dd(0xeb)]=new _0x42c6b3(),this[_0x8b66dd(0xf5)]=new Map(),this[_0x8b66dd(0xf1)]=0x0,this[_0x8b66dd(0x10c)]=this[_0x8b66dd(0xe5)][_0x8b66dd(0x102)][_0x8b66dd(0x109)](_0x25fed4);}[_0x35aaae(0xf9)](){const _0x396356=_0x35aaae,_0x10d864=this[_0x396356(0xe5)][_0x396356(0x102)][_0x396356(0x109)](_0x1be33c);this[_0x396356(0x112)](_0x10d864,_0x396356(0x116),(_0xd167c2,_0x5d6091,_0x19aca8)=>{const _0x555a34=_0x396356;if(_0x555a34(0xec)!==_0x19aca8)this[_0x555a34(0xe1)][_0x555a34(0xf4)](_0xb332fb=>_0xb332fb[_0x555a34(0x111)]()),this[_0x555a34(0xf2)][_0x555a34(0xf4)](_0x2d6abd=>_0x2d6abd[_0x555a34(0x111)]()),this[_0x555a34(0xeb)][_0x555a34(0x111)]();else{for(const [_0x1961f4,_0x32aae1]of this[_0x555a34(0xf5)])for(const _0x599f57 of _0x32aae1)this[_0x555a34(0x110)](_0x1961f4,_0x599f57);}}),this[_0x396356(0xfe)](_0x10d864[_0x396356(0xe3)]['me'],!0x0);}[_0x35aaae(0x11a)](_0x1d23a0,_0x98ac2d){const _0x424746=_0x35aaae;if(this[_0x424746(0xf5)][_0x424746(0xe0)](_0x1d23a0))throw new _0x47cd17(_0x424746(0xe9),null,{'channelId':_0x1d23a0});this[_0x424746(0xf5)][_0x424746(0xdc)](_0x1d23a0,_0x98ac2d),this[_0x424746(0xe1)][_0x424746(0xdc)](_0x1d23a0,new _0x42c6b3()),this[_0x424746(0xf2)][_0x424746(0xdc)](_0x1d23a0,new _0x42c6b3()),this[_0x424746(0x112)](_0x98ac2d,_0x424746(0xfa),(_0x508a6c,_0x457cb9)=>this[_0x424746(0x110)](_0x1d23a0,_0x457cb9)),this[_0x424746(0x112)](_0x98ac2d,_0x424746(0x100),(_0x28a302,_0x43c810)=>this[_0x424746(0xf3)](_0x1d23a0,_0x43c810));for(const _0x3d5975 of _0x98ac2d)this[_0x424746(0x110)](_0x1d23a0,_0x3d5975);}[_0x35aaae(0xe6)](_0x4ef882){const _0x4638f9=_0x35aaae;if(!this[_0x4638f9(0xf5)][_0x4638f9(0xe0)](_0x4ef882))throw new _0x47cd17(_0x4638f9(0xdd),null,{'channelId':_0x4ef882});const _0x1b1e64=this[_0x4638f9(0xf5)][_0x4638f9(0x109)](_0x4ef882);this[_0x4638f9(0xe8)](_0x1b1e64);for(const _0x5bb9ea of _0x1b1e64)_0x4638f9(0xec)===this[_0x4638f9(0xe5)][_0x4638f9(0x102)][_0x4638f9(0x109)](_0x1be33c)[_0x4638f9(0xdb)]&&this[_0x4638f9(0xf3)](_0x4ef882,_0x5bb9ea);this[_0x4638f9(0xf5)][_0x4638f9(0x10f)](_0x4ef882),this[_0x4638f9(0xe1)][_0x4638f9(0x10f)](_0x4ef882),this[_0x4638f9(0xf2)][_0x4638f9(0x10f)](_0x4ef882);}get[_0x35aaae(0x101)](){const _0x302698=_0x35aaae;return this[_0x302698(0xe5)][_0x302698(0x102)][_0x302698(0x109)](_0x1be33c)[_0x302698(0xe3)][_0x302698(0x104)];}[_0x35aaae(0x103)](_0x21b4e0){const _0x1bbc34=_0x35aaae;for(const _0x350d73 of this[_0x1bbc34(0xe1)][_0x1bbc34(0x119)]())for(const _0x4a1f44 of _0x350d73)if(_0x4a1f44['id']===_0x21b4e0)return _0x4a1f44[_0x1bbc34(0x113)];}[_0x35aaae(0x10d)](_0x2ff6fc,_0x180aa5){const _0x56d08e=_0x35aaae,_0x3391a8=_0x180aa5?[this[_0x56d08e(0xe1)][_0x56d08e(0x109)](_0x180aa5)]:this[_0x56d08e(0xe1)][_0x56d08e(0x119)](),_0x542db4=new Set();for(const _0x174a86 of _0x3391a8)for(const _0x14e588 of _0x174a86)_0x14e588[_0x56d08e(0x113)]['id']===_0x2ff6fc['id']&&_0x542db4[_0x56d08e(0xfa)](_0x14e588['id']);return _0x542db4;}[_0x35aaae(0x106)](_0xe8146e){const _0x1ad517=_0x35aaae;for(const _0x38adb0 of this[_0x1ad517(0xe1)][_0x1ad517(0x119)]())for(const _0x4e48ae of _0x38adb0)if(_0x4e48ae[_0x1ad517(0x113)]===_0xe8146e)return _0x4e48ae[_0x1ad517(0xee)];}[_0x35aaae(0x110)](_0x491aa,_0x239fdc){const _0x13df44=_0x35aaae;if(_0x13df44(0xec)!==this[_0x13df44(0xe5)][_0x13df44(0x102)][_0x13df44(0x109)](_0x1be33c)[_0x13df44(0xdb)])return;const _0x5b4768=_0x239fdc[_0x13df44(0x113)],_0x4a4752=this[_0x13df44(0x10c)][_0x13df44(0xfc)](_0x5b4768['id'])||this[_0x13df44(0xfe)](_0x5b4768),_0x5b67b1=Object[_0x13df44(0x117)]({},_0x239fdc,{'user':_0x4a4752});if(this[_0x13df44(0xe1)][_0x13df44(0x109)](_0x491aa)[_0x13df44(0xfa)](_0x5b67b1),!_0x5b4768[_0x13df44(0x114)]){const _0x2d0c46=this[_0x13df44(0xf2)][_0x13df44(0x109)](_0x491aa);_0x2d0c46[_0x13df44(0xe0)](_0x4a4752['id'])||_0x2d0c46[_0x13df44(0xfa)](_0x4a4752),this[_0x13df44(0xeb)][_0x13df44(0xe0)](_0x4a4752['id'])||_0x5b4768[_0x13df44(0x114)]||this[_0x13df44(0xeb)][_0x13df44(0xfa)](_0x4a4752,_0x4a4752[_0x13df44(0xe4)]?0x0:void 0x0);}this[_0x13df44(0xfb)](_0x13df44(0x107)+_0x491aa,{'channelId':_0x491aa,'session':_0x5b67b1});}[_0x35aaae(0xf3)](_0x5c2959,_0x400774){const _0x45ae7f=_0x35aaae;if(_0x45ae7f(0xec)!==this[_0x45ae7f(0xe5)][_0x45ae7f(0x102)][_0x45ae7f(0x109)](_0x1be33c)[_0x45ae7f(0xdb)])return;const _0x5442a0=this[_0x45ae7f(0xf2)][_0x45ae7f(0x109)](_0x5c2959),_0xe1a3c9=_0x400774[_0x45ae7f(0x113)];_0xe1a3c9['id']&&(this[_0x45ae7f(0xe1)][_0x45ae7f(0x109)](_0x5c2959)[_0x45ae7f(0x100)](_0x400774['id']),_0x5442a0[_0x45ae7f(0xe0)](_0xe1a3c9['id'])&&!this[_0x45ae7f(0x10d)](_0xe1a3c9,_0x5c2959)[_0x45ae7f(0xe2)]&&_0x5442a0[_0x45ae7f(0x100)](_0xe1a3c9['id']),this[_0x45ae7f(0xeb)][_0x45ae7f(0x109)](_0xe1a3c9['id'])&&!this[_0x45ae7f(0x10d)](_0xe1a3c9)[_0x45ae7f(0xe2)]&&this[_0x45ae7f(0xeb)][_0x45ae7f(0x100)](_0xe1a3c9['id']));}[_0x35aaae(0xfe)](_0x118e9e,_0x36fb10){const _0x30360f=_0x35aaae,_0x37a296=this[_0x30360f(0x10c)][_0x30360f(0xe7)](_0x118e9e);return _0x36fb10&&this[_0x30360f(0x10c)][_0x30360f(0xf8)](_0x118e9e['id']),_0x37a296[_0x30360f(0xf0)]=this[_0x30360f(0xf1)]++,_0x37a296;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x501d06=_0x5aea;(function(_0x575c52,_0x822de4){const _0x533b8a=_0x5aea,_0x298826=_0x575c52();while(!![]){try{const _0x22fbaf=parseInt(_0x533b8a(0x1ea))/0x1*(parseInt(_0x533b8a(0x241))/0x2)+parseInt(_0x533b8a(0x23b))/0x3+-parseInt(_0x533b8a(0x1e7))/0x4*(parseInt(_0x533b8a(0x1df))/0x5)+parseInt(_0x533b8a(0x1f9))/0x6*(-parseInt(_0x533b8a(0x214))/0x7)+-parseInt(_0x533b8a(0x20d))/0x8+parseInt(_0x533b8a(0x1c9))/0x9+-parseInt(_0x533b8a(0x1d4))/0xa*(-parseInt(_0x533b8a(0x201))/0xb);if(_0x22fbaf===_0x822de4)break;else _0x298826['push'](_0x298826['shift']());}catch(_0x421f23){_0x298826['push'](_0x298826['shift']());}}}(_0x70c8,0x406a0));import{Plugin as _0x2e5881}from'ckeditor5/src/core.js';import{global as _0x41d50f,DomEmitterMixin as _0x49dcbb}from'ckeditor5/src/utils.js';import{Sessions as _0x161740}from'./sessions.js';function _0x70c8(){const _0x11ac97=['user:range','commands','toDomElement','init','getAttribute','mouseleave','contenteditable','368055EJJuAm','isInline','view','outerHTML','enqueueChange','isDocumentOperation','ck-user__marker_hovered','keydown','setCustomProperty','listenTo','$text','120wZalxP','_domEmitter','false','fromRange','createRange','parent','getContainedElement','innerHTML','requires','end','clear','169045WcdUoj','createElement','markers','isObject','ck-user__marker-tooltip','schema','classList','$graveyard','36CSNrvW','getStart','spellcheck','1eQGiad','orderNumber','has','type','editor','markerRange','editing','marker','split','userPositionMarker','oldRange','color','UserMarkers','element','for','828870HVPOvP','afterInit','rootName','conversion','markerToElement','update:user:range','mouseenter','getRange','182633oewxbG','updateMarker','isCollapsed','getPositions','getUserBySessionId','getCustomProperty','hasContent','reconvertMarker','toRange','plugins','user:position','getFirstRange','2001408PXeIGO','removeMarker','change:range','delete','change','tableCell','markerToHighlight','14uHHIML','isOfficialPlugin','createUserMarkerOperations','model','newRange','data-session-id','isPremiumPlugin','deletionPosition','nodeAfter','render','highest','isLimit','size','batch','_createdBatches','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','textContent','name','document','addEventListener','set','hasDomSelection','getSelectionClass','setAttribute','root','remove','isSimilar','getMarkerClass','pluginName','undo','destroy','createUIElement','checkChild','markerNameToElements','mapper','get','editingDowncast','add','removeClass','1428387uoAAQz','addMarker','markerName','Escape','detach','mySessionId','756654lzUene','ck-user__marker\x20','getNearestSelectionRange','start','user:','ck-user__selection','span','user:range:','stopListening','user:position:','selection','startsWith','applyOperation'];_0x70c8=function(){return _0x11ac97;};return _0x70c8();}import{ModelLiveRange as _0x3b8507}from'ckeditor5/src/engine.js';function _0x5aea(_0x4a7b61,_0xb6e452){const _0x70c83f=_0x70c8();return _0x5aea=function(_0x5aeae7,_0x4fe372){_0x5aeae7=_0x5aeae7-0x1bc;let _0x5c9468=_0x70c83f[_0x5aeae7];return _0x5c9468;},_0x5aea(_0x4a7b61,_0xb6e452);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x2e5881{[_0x501d06(0x1d5)]=new(_0x49dcbb())();static get[_0x501d06(0x1dc)](){return[_0x161740];}static get[_0x501d06(0x230)](){const _0x2fbe7b=_0x501d06;return _0x2fbe7b(0x1f6);}static get[_0x501d06(0x215)](){return!0x0;}static get[_0x501d06(0x21a)](){return!0x0;}[_0x501d06(0x1c5)](){const _0x49491b=_0x501d06,_0x2fdf64=this[_0x49491b(0x1ee)],_0x55fa84=_0x2fdf64[_0x49491b(0x20a)][_0x49491b(0x237)](_0x161740);_0x2fdf64[_0x49491b(0x1fc)][_0x49491b(0x1f8)](_0x49491b(0x238))[_0x49491b(0x1fd)]({'model':_0x49491b(0x20b),'view':(_0x3c6859,{writer:_0x1d21e7})=>function(_0x4f2537,_0x9a66ab,_0x14f1cf,_0x4a001b){const _0x4ce98f=_0x49491b,_0x3ba5e7=_0x4f2537[_0x4ce98f(0x23d)][_0x4ce98f(0x1f2)](':')[0x2],_0xb1a192=_0x14f1cf[_0x4ce98f(0x205)](_0x3ba5e7);if(!_0xb1a192||_0x3ba5e7===_0x14f1cf[_0x4ce98f(0x240)])return;if(!_0x4a001b[_0x4ce98f(0x217)][_0x4ce98f(0x1e4)][_0x4ce98f(0x234)](_0x4f2537[_0x4ce98f(0x1ef)][_0x4ce98f(0x244)],_0x4ce98f(0x1d3)))return;const _0x21f394={'class':_0x4ce98f(0x242)+_0xb1a192[_0x4ce98f(0x1f5)][_0x4ce98f(0x22f)](),'data-name':_0xb1a192[_0x4ce98f(0x225)],'data-session-id':_0x3ba5e7},_0x5de972=_0x4a001b[_0x4ce98f(0x217)][_0x4ce98f(0x1e1)][_0x4ce98f(0x237)](_0x4f2537[_0x4ce98f(0x23d)]),_0x2d0d18=_0x5de972[_0x4ce98f(0x1e8)](),_0x2f31bf=_0x2d0d18[_0x4ce98f(0x21c)],_0x19f0cf=_0x4a001b[_0x4ce98f(0x217)][_0x4ce98f(0x1e4)];if(_0x2f31bf&&_0x19f0cf[_0x4ce98f(0x1e2)](_0x2f31bf)&&_0x19f0cf[_0x4ce98f(0x1ca)](_0x2f31bf)&&!_0x4a001b[_0x4ce98f(0x217)][_0x4ce98f(0x1e1)][_0x4ce98f(0x237)](_0x4ce98f(0x1bc)+_0x3ba5e7)[_0x4ce98f(0x200)]()[_0x4ce98f(0x203)])return;const _0x2d395b=_0x2d0d18[_0x4ce98f(0x1d9)];return _0x4a001b[_0x4ce98f(0x217)][_0x4ce98f(0x1e4)][_0x4ce98f(0x21f)](_0x2d395b)&&!_0x4a001b[_0x4ce98f(0x217)][_0x4ce98f(0x207)](_0x2d395b)&&(_0x21f394[_0x4ce98f(0x1c8)]=!0x1),function(_0x8aec4,_0x54888a,_0x2f21d7){const _0x296201=_0x4ce98f,_0x16db06=_0x8aec4[_0x296201(0x233)](_0x296201(0x247),_0x54888a);return _0x8aec4[_0x296201(0x1d1)](_0x296201(0x1f3),!0x0,_0x16db06),_0x16db06[_0x296201(0x21d)]=function(_0x318cc5){const _0x46af2d=_0x296201,_0x2e7c0c=this[_0x46af2d(0x1c4)](_0x318cc5),_0x22ddd9=document[_0x46af2d(0x1e0)](_0x46af2d(0x247));return _0x22ddd9[_0x46af2d(0x1e5)][_0x46af2d(0x239)](_0x46af2d(0x1e3)),_0x22ddd9[_0x46af2d(0x22b)](_0x46af2d(0x1c8),_0x46af2d(0x1d6)),_0x22ddd9[_0x46af2d(0x22b)](_0x46af2d(0x1e9),_0x46af2d(0x1d6)),_0x22ddd9[_0x46af2d(0x224)]=_0x2f21d7[_0x46af2d(0x225)],_0x2e7c0c[_0x46af2d(0x1db)]=_0x46af2d(0x223)+_0x22ddd9[_0x46af2d(0x1cc)]+'⁠',_0x2e7c0c[_0x46af2d(0x227)](_0x46af2d(0x1ff),()=>{const _0x1f78de=_0x46af2d;_0x2e7c0c[_0x1f78de(0x1e5)][_0x1f78de(0x239)](_0x1f78de(0x1cf));}),_0x2e7c0c[_0x46af2d(0x227)](_0x46af2d(0x1c7),()=>{const _0x132f11=_0x46af2d;_0x2e7c0c[_0x132f11(0x1e5)][_0x132f11(0x22d)](_0x132f11(0x1cf));}),_0x2e7c0c;},_0x16db06[_0x296201(0x22e)]=function(_0x49669c){const _0x4af9b6=_0x296201;return!(!this[_0x4af9b6(0x206)](_0x4af9b6(0x1f3))||!_0x49669c[_0x4af9b6(0x206)](_0x4af9b6(0x1f3))||this[_0x4af9b6(0x1c6)](_0x4af9b6(0x219))!=_0x49669c[_0x4af9b6(0x1c6)](_0x4af9b6(0x219)));},_0x16db06;}(_0x9a66ab,_0x21f394,_0xb1a192);}(_0x3c6859,_0x1d21e7,_0x55fa84,_0x2fdf64)}),_0x2fdf64[_0x49491b(0x1fc)][_0x49491b(0x1f8)](_0x49491b(0x238))[_0x49491b(0x213)]({'model':_0x49491b(0x1c2),'view':_0x2d6930=>function(_0x2be088,_0x109362){const _0x1c35d6=_0x49491b,_0x16ada6=_0x2be088[_0x1c35d6(0x23d)][_0x1c35d6(0x1f2)](':')[0x2];if(_0x16ada6===_0x109362[_0x1c35d6(0x240)])return null;const _0xd9bbe6=_0x109362[_0x1c35d6(0x205)](_0x16ada6);if(!_0xd9bbe6)return{'id':_0x16ada6,'classes':[]};return{'id':_0x16ada6,'classes':[_0x1c35d6(0x246),_0xd9bbe6[_0x1c35d6(0x1f5)][_0x1c35d6(0x22a)]()],'attributes':{'data-session-id':_0x16ada6},'priority':0x7d0+_0xd9bbe6[_0x1c35d6(0x1eb)]};}(_0x2d6930,_0x55fa84)}),function(_0x3e171a){const _0xf8d2da=_0x49491b,_0x81b004=_0x3e171a[_0xf8d2da(0x217)],_0x474b4b=new Map(),_0x4f2441=_0x3e171a[_0xf8d2da(0x20a)][_0xf8d2da(0x237)](_0x161740);_0x81b004[_0xf8d2da(0x1e1)]['on'](_0xf8d2da(0x1fe),(_0x4c9476,_0x566ceb,_0x167b07,_0x1bc869)=>{const _0x1aab71=_0xf8d2da;if(!_0x1bc869&&_0x474b4b[_0x1aab71(0x237)](_0x566ceb[_0x1aab71(0x225)]))return _0x474b4b[_0x1aab71(0x237)](_0x566ceb[_0x1aab71(0x225)])[_0x1aab71(0x23f)](),void _0x474b4b[_0x1aab71(0x210)](_0x566ceb[_0x1aab71(0x225)]);const _0x4218c1=_0x566ceb[_0x1aab71(0x225)][_0x1aab71(0x1f2)](':')[0x2];if(_0x4218c1===_0x4f2441[_0x1aab71(0x240)])return;const _0x1ab218=_0x1aab71(0x1be)+_0x4218c1;_0x81b004[_0x1aab71(0x1e1)][_0x1aab71(0x1ec)](_0x1ab218)&&_0x3e171a[_0x1aab71(0x1f0)][_0x1aab71(0x208)](_0x1ab218),_0x566ceb['on'](_0x1aab71(0x20f),(_0x424ed6,_0x215e26,_0x1e8c43)=>{const _0x2476cb=_0x1aab71;if(_0x2476cb(0x1e6)!=_0x215e26[_0x2476cb(0x22c)][_0x2476cb(0x1fb)]&&_0x2476cb(0x1e6)==_0x566ceb[_0x2476cb(0x200)]()[_0x2476cb(0x22c)][_0x2476cb(0x1fb)]&&!_0x474b4b[_0x2476cb(0x1ec)](_0x566ceb[_0x2476cb(0x225)])){const _0x948b69=_0x81b004[_0x2476cb(0x1e4)][_0x2476cb(0x243)](_0x1e8c43[_0x2476cb(0x21b)]);if(_0x948b69){const _0x56a68b=_0x3b8507[_0x2476cb(0x1d7)](_0x948b69);_0x474b4b[_0x2476cb(0x228)](_0x566ceb[_0x2476cb(0x225)],_0x56a68b),_0x56a68b['on'](_0x2476cb(0x20f),(_0x186f87,_0x3088eb,_0x33998f)=>{const _0x73f266=_0x2476cb;if(_0x73f266(0x1e6)==_0x56a68b[_0x73f266(0x22c)][_0x73f266(0x1fb)]){const _0x9a753a=_0x81b004[_0x73f266(0x1e4)][_0x73f266(0x243)](_0x33998f[_0x73f266(0x21b)]);_0x9a753a?(_0x56a68b[_0x73f266(0x244)]=_0x9a753a[_0x73f266(0x244)],_0x56a68b[_0x73f266(0x1dd)]=_0x9a753a[_0x73f266(0x1dd)]):(_0x474b4b[_0x73f266(0x210)](_0x566ceb[_0x73f266(0x225)]),_0x56a68b[_0x73f266(0x23f)]());}});}}});}),_0x81b004[_0xf8d2da(0x226)]['on'](_0xf8d2da(0x211),()=>{const _0x4c0317=_0xf8d2da;_0x474b4b[_0x4c0317(0x220)]>0x0&&_0x81b004[_0x4c0317(0x1cd)]({'isUndoable':!0x1},_0x322cc4=>{const _0x25852d=_0x4c0317;for(const [_0x5aecc1,_0x424656]of _0x474b4b)_0x25852d(0x1e6)==_0x81b004[_0x25852d(0x1e1)][_0x25852d(0x237)](_0x5aecc1)[_0x25852d(0x200)]()[_0x25852d(0x22c)][_0x25852d(0x1fb)]&&(te(_0x5aecc1[_0x25852d(0x1f2)](':')[0x2],_0x424656[_0x25852d(0x209)](),_0x81b004,_0x322cc4),_0x424656[_0x25852d(0x23f)]());_0x474b4b[_0x25852d(0x1de)]();});});}(_0x2fdf64),this[_0x49491b(0x1d5)][_0x49491b(0x1d2)](_0x41d50f[_0x49491b(0x226)],_0x49491b(0x1d0),(_0x312c37,{key:_0x21fef3})=>{const _0x3e2cfc=_0x49491b;_0x3e2cfc(0x23e)===_0x21fef3&&function(_0xab7aa4){const _0x458ec8=_0x3e2cfc;_0xab7aa4[_0x458ec8(0x1f0)][_0x458ec8(0x1cb)][_0x458ec8(0x211)](_0x25bf67=>{const _0x3e5183=_0x458ec8;for(const _0x2d12b5 of _0xab7aa4[_0x3e5183(0x217)][_0x3e5183(0x1e1)]){if(!_0x2d12b5[_0x3e5183(0x225)][_0x3e5183(0x1c0)](_0x3e5183(0x20b)))continue;const _0x1ec0da=_0xab7aa4[_0x3e5183(0x1f0)][_0x3e5183(0x236)][_0x3e5183(0x235)](_0x2d12b5[_0x3e5183(0x225)]);if(_0x1ec0da){for(const _0xa27291 of _0x1ec0da)_0x25bf67[_0x3e5183(0x23a)](_0x3e5183(0x1cf),_0xa27291);}}});}(_0x2fdf64);},{'useCapture':!0x0});}[_0x501d06(0x1fa)](){const _0x37976f=_0x501d06,_0x346888=this[_0x37976f(0x1ee)],_0x41a368=_0x346888[_0x37976f(0x1c3)][_0x37976f(0x237)](_0x37976f(0x231));_0x41a368&&_0x346888[_0x37976f(0x217)]['on'](_0x37976f(0x1c1),(_0x1dbfee,_0x241b04)=>{const _0x414b6a=_0x37976f,_0x38564f=_0x241b04[0x0];if(!_0x38564f[_0x414b6a(0x1ce)])return;if(_0x414b6a(0x1f1)!=_0x38564f[_0x414b6a(0x1ed)]||!_0x38564f[_0x414b6a(0x225)][_0x414b6a(0x1c0)](_0x414b6a(0x245)))return;const _0x45b8e1=_0x38564f[_0x414b6a(0x221)];_0x41a368[_0x414b6a(0x222)][_0x414b6a(0x1ec)](_0x45b8e1)&&(_0x38564f[_0x414b6a(0x218)]=_0x38564f[_0x414b6a(0x1f4)]?_0x346888[_0x414b6a(0x217)][_0x414b6a(0x1d8)](_0x38564f[_0x414b6a(0x1f4)][_0x414b6a(0x244)],_0x38564f[_0x414b6a(0x1f4)][_0x414b6a(0x1dd)]):null);},{'priority':_0x37976f(0x21e)});}[_0x501d06(0x232)](){const _0x1e7822=_0x501d06;return this[_0x1e7822(0x1d5)][_0x1e7822(0x1bd)](),super[_0x1e7822(0x232)]();}[_0x501d06(0x216)](){const _0x3333a1=_0x501d06,_0x5c793d=this[_0x3333a1(0x1ee)],_0xc10f85=_0x5c793d[_0x3333a1(0x217)][_0x3333a1(0x226)],_0x2d7c95=_0x5c793d[_0x3333a1(0x20a)][_0x3333a1(0x237)](_0x161740);_0x5c793d[_0x3333a1(0x217)][_0x3333a1(0x1cd)]({'isUndoable':!0x1},_0x5a0052=>{const _0x4c6a63=_0x3333a1,_0x3af7d2=_0x4c6a63(0x1bc)+_0x2d7c95[_0x4c6a63(0x240)],_0x34639b=_0x4c6a63(0x1be)+_0x2d7c95[_0x4c6a63(0x240)],_0x5b88cc=_0x5c793d[_0x4c6a63(0x217)][_0x4c6a63(0x1e1)][_0x4c6a63(0x1ec)](_0x3af7d2);_0x5c793d[_0x4c6a63(0x1f0)][_0x4c6a63(0x1cb)][_0x4c6a63(0x229)]?te(_0x2d7c95[_0x4c6a63(0x240)],_0xc10f85[_0x4c6a63(0x1bf)][_0x4c6a63(0x20c)](),_0x5c793d[_0x4c6a63(0x217)],_0x5a0052):_0x5b88cc&&(_0x5a0052[_0x4c6a63(0x20e)](_0x3af7d2),_0x5a0052[_0x4c6a63(0x20e)](_0x34639b));});}}function te(_0x2b1149,_0x2efdcd,_0x53ccaf,_0x193779){const _0x4a6a76=_0x501d06,_0x30ea72=_0x4a6a76(0x1bc)+_0x2b1149,_0x4b87ac=_0x4a6a76(0x1be)+_0x2b1149,_0x6f49a3=_0x2efdcd[_0x4a6a76(0x1da)]();let _0x952921=_0x2efdcd[_0x4a6a76(0x244)];if(_0x6f49a3&&_0x6f49a3['is'](_0x4a6a76(0x1f7),_0x4a6a76(0x212))){const _0x5d3b1a=function(_0x2a8b75,_0x3fff9c){const _0x264a8c=_0x4a6a76;for(const _0x4ea338 of _0x2a8b75[_0x264a8c(0x204)]())if(_0x3fff9c[_0x264a8c(0x1e4)][_0x264a8c(0x234)](_0x4ea338,_0x264a8c(0x1d3)))return _0x4ea338;}(_0x2efdcd,_0x53ccaf);_0x5d3b1a&&(_0x952921=_0x5d3b1a,_0x2efdcd=_0x193779[_0x4a6a76(0x1d8)](_0x952921));}const _0x301271=_0x193779[_0x4a6a76(0x1d8)](_0x952921);_0x53ccaf[_0x4a6a76(0x1e1)][_0x4a6a76(0x1ec)](_0x30ea72)?(_0x193779[_0x4a6a76(0x202)](_0x30ea72,{'range':_0x2efdcd}),_0x193779[_0x4a6a76(0x202)](_0x4b87ac,{'range':_0x301271})):(_0x193779[_0x4a6a76(0x23c)](_0x30ea72,{'range':_0x2efdcd,'usingOperation':!0x0}),_0x193779[_0x4a6a76(0x23c)](_0x4b87ac,{'range':_0x301271,'usingOperation':!0x0}));}
23
+ const _0x4f1aa7=_0x15db;(function(_0x284948,_0x176b38){const _0x514a53=_0x15db,_0x4e2a47=_0x284948();while(!![]){try{const _0x3d7394=parseInt(_0x514a53(0x189))/0x1+parseInt(_0x514a53(0x194))/0x2*(parseInt(_0x514a53(0x16d))/0x3)+-parseInt(_0x514a53(0x167))/0x4+parseInt(_0x514a53(0x1a7))/0x5*(-parseInt(_0x514a53(0x160))/0x6)+parseInt(_0x514a53(0x153))/0x7*(parseInt(_0x514a53(0x191))/0x8)+parseInt(_0x514a53(0x1b0))/0x9*(-parseInt(_0x514a53(0x131))/0xa)+parseInt(_0x514a53(0x14a))/0xb*(parseInt(_0x514a53(0x15b))/0xc);if(_0x3d7394===_0x176b38)break;else _0x4e2a47['push'](_0x4e2a47['shift']());}catch(_0x1455bb){_0x4e2a47['push'](_0x4e2a47['shift']());}}}(_0xf47e,0x19bbe));import{Plugin as _0x14c960}from'ckeditor5/src/core.js';function _0xf47e(){const _0x508298=['requires','markerToElement','removeMarker','type','textContent','createUserMarkerOperations','name','markerNameToElements','change','set','81537MXBETw','setCustomProperty','markers','isCollapsed','innerHTML','applyOperation','UserMarkers','split','3488eBIDAW','parent','contenteditable','405824gmNrYc','listenTo','isLimit','user:','newRange','init','isPremiumPlugin','addMarker','tableCell','root','user:range','startsWith','rootName','$text','destroy','outerHTML','stopListening','getRange','getMarkerClass','97330xqKgoG','checkChild','_createdBatches','end','ck-user__marker\x20','user:range:','mySessionId','$graveyard','selection','9BiadCz','getPositions','commands','add','mouseleave','keydown','isSimilar','oldRange','user:position:','isObject','undo','batch','fromRange','markerToHighlight','575890IBWagt','editing','addEventListener','isDocumentOperation','clear','orderNumber','element','toRange','_domEmitter','editor','removeClass','getAttribute','updateMarker','highest','user:position','detach','getStart','getContainedElement','delete','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','plugins','size','isOfficialPlugin','schema','getSelectionClass','33EGzkJl','change:range','markerName','deletionPosition','getFirstRange','remove','start','hasContent','ck-user__marker_hovered','84mGUFxm','getCustomProperty','for','enqueueChange','Escape','span','createUIElement','ck-user__selection','788580VhBhgM','mouseenter','has','spellcheck','mapper','42zvnXgS','false','marker','update:user:range','pluginName','createRange','model','750276PkKyrI','editingDowncast','getUserBySessionId','nodeAfter','color','data-session-id','3gAusxX','conversion','render','toDomElement','document','view','afterInit','hasDomSelection','reconvertMarker','userPositionMarker','classList','createElement','setAttribute','ck-user__marker-tooltip','getNearestSelectionRange','isInline','markerRange','get'];_0xf47e=function(){return _0x508298;};return _0xf47e();}import{global as _0x36621d,DomEmitterMixin as _0x27d7cd}from'ckeditor5/src/utils.js';import{Sessions as _0x151bd6}from'./sessions.js';import{ModelLiveRange as _0x3bdb53}from'ckeditor5/src/engine.js';function _0x15db(_0x24a4df,_0xeaa181){const _0xf47e66=_0xf47e();return _0x15db=function(_0x15db15,_0x3135be){_0x15db15=_0x15db15-0x126;let _0x289ddc=_0xf47e66[_0x15db15];return _0x289ddc;},_0x15db(_0x24a4df,_0xeaa181);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x14c960{[_0x4f1aa7(0x139)]=new(_0x27d7cd())();static get[_0x4f1aa7(0x17f)](){return[_0x151bd6];}static get[_0x4f1aa7(0x164)](){const _0x3d23cb=_0x4f1aa7;return _0x3d23cb(0x18f);}static get[_0x4f1aa7(0x147)](){return!0x0;}static get[_0x4f1aa7(0x19a)](){return!0x0;}[_0x4f1aa7(0x199)](){const _0x106c9f=_0x4f1aa7,_0x24e165=this[_0x106c9f(0x13a)],_0x3c70b7=_0x24e165[_0x106c9f(0x145)][_0x106c9f(0x17e)](_0x151bd6);_0x24e165[_0x106c9f(0x16e)][_0x106c9f(0x155)](_0x106c9f(0x168))[_0x106c9f(0x180)]({'model':_0x106c9f(0x13f),'view':(_0x5e65c0,{writer:_0x4ede5e})=>function(_0x520e73,_0x18adfa,_0x4e335a,_0x534e87){const _0x2f8c9a=_0x106c9f,_0x290e9b=_0x520e73[_0x2f8c9a(0x14c)][_0x2f8c9a(0x190)](':')[0x2],_0xb2ce4a=_0x4e335a[_0x2f8c9a(0x169)](_0x290e9b);if(!_0xb2ce4a||_0x290e9b===_0x4e335a[_0x2f8c9a(0x1ad)])return;if(!_0x534e87[_0x2f8c9a(0x166)][_0x2f8c9a(0x148)][_0x2f8c9a(0x1a8)](_0x520e73[_0x2f8c9a(0x17d)][_0x2f8c9a(0x150)],_0x2f8c9a(0x1a1)))return;const _0x46ad7c={'class':_0x2f8c9a(0x1ab)+_0xb2ce4a[_0x2f8c9a(0x16b)][_0x2f8c9a(0x1a6)](),'data-name':_0xb2ce4a[_0x2f8c9a(0x185)],'data-session-id':_0x290e9b},_0x4273da=_0x534e87[_0x2f8c9a(0x166)][_0x2f8c9a(0x18b)][_0x2f8c9a(0x17e)](_0x520e73[_0x2f8c9a(0x14c)]),_0x2e3e06=_0x4273da[_0x2f8c9a(0x141)](),_0x2cb81c=_0x2e3e06[_0x2f8c9a(0x16a)],_0x268991=_0x534e87[_0x2f8c9a(0x166)][_0x2f8c9a(0x148)];if(_0x2cb81c&&_0x268991[_0x2f8c9a(0x12c)](_0x2cb81c)&&_0x268991[_0x2f8c9a(0x17c)](_0x2cb81c)&&!_0x534e87[_0x2f8c9a(0x166)][_0x2f8c9a(0x18b)][_0x2f8c9a(0x17e)](_0x2f8c9a(0x1ac)+_0x290e9b)[_0x2f8c9a(0x1a5)]()[_0x2f8c9a(0x18c)])return;const _0x379195=_0x2e3e06[_0x2f8c9a(0x192)];return _0x534e87[_0x2f8c9a(0x166)][_0x2f8c9a(0x148)][_0x2f8c9a(0x196)](_0x379195)&&!_0x534e87[_0x2f8c9a(0x166)][_0x2f8c9a(0x151)](_0x379195)&&(_0x46ad7c[_0x2f8c9a(0x193)]=!0x1),function(_0x4c5328,_0x4b8501,_0x3d9b20){const _0x3d0532=_0x2f8c9a,_0x59e9aa=_0x4c5328[_0x3d0532(0x159)](_0x3d0532(0x158),_0x4b8501);return _0x4c5328[_0x3d0532(0x18a)](_0x3d0532(0x176),!0x0,_0x59e9aa),_0x59e9aa[_0x3d0532(0x16f)]=function(_0x402b17){const _0xa5a220=_0x3d0532,_0x1f7ab8=this[_0xa5a220(0x170)](_0x402b17),_0x377a81=document[_0xa5a220(0x178)](_0xa5a220(0x158));return _0x377a81[_0xa5a220(0x177)][_0xa5a220(0x126)](_0xa5a220(0x17a)),_0x377a81[_0xa5a220(0x179)](_0xa5a220(0x193),_0xa5a220(0x161)),_0x377a81[_0xa5a220(0x179)](_0xa5a220(0x15e),_0xa5a220(0x161)),_0x377a81[_0xa5a220(0x183)]=_0x3d9b20[_0xa5a220(0x185)],_0x1f7ab8[_0xa5a220(0x18d)]=_0xa5a220(0x144)+_0x377a81[_0xa5a220(0x1a3)]+'⁠',_0x1f7ab8[_0xa5a220(0x133)](_0xa5a220(0x15c),()=>{const _0x18a32f=_0xa5a220;_0x1f7ab8[_0x18a32f(0x177)][_0x18a32f(0x126)](_0x18a32f(0x152));}),_0x1f7ab8[_0xa5a220(0x133)](_0xa5a220(0x127),()=>{const _0x108987=_0xa5a220;_0x1f7ab8[_0x108987(0x177)][_0x108987(0x14f)](_0x108987(0x152));}),_0x1f7ab8;},_0x59e9aa[_0x3d0532(0x129)]=function(_0x291203){const _0x53864b=_0x3d0532;return!(!this[_0x53864b(0x154)](_0x53864b(0x176))||!_0x291203[_0x53864b(0x154)](_0x53864b(0x176))||this[_0x53864b(0x13c)](_0x53864b(0x16c))!=_0x291203[_0x53864b(0x13c)](_0x53864b(0x16c)));},_0x59e9aa;}(_0x18adfa,_0x46ad7c,_0xb2ce4a);}(_0x5e65c0,_0x4ede5e,_0x3c70b7,_0x24e165)}),_0x24e165[_0x106c9f(0x16e)][_0x106c9f(0x155)](_0x106c9f(0x168))[_0x106c9f(0x130)]({'model':_0x106c9f(0x19e),'view':_0x2751f6=>function(_0x5014c7,_0x2e2c8d){const _0xcf114c=_0x106c9f,_0x41a9ce=_0x5014c7[_0xcf114c(0x14c)][_0xcf114c(0x190)](':')[0x2];if(_0x41a9ce===_0x2e2c8d[_0xcf114c(0x1ad)])return null;const _0x2ec996=_0x2e2c8d[_0xcf114c(0x169)](_0x41a9ce);if(!_0x2ec996)return{'id':_0x41a9ce,'classes':[]};return{'id':_0x41a9ce,'classes':[_0xcf114c(0x15a),_0x2ec996[_0xcf114c(0x16b)][_0xcf114c(0x149)]()],'attributes':{'data-session-id':_0x41a9ce},'priority':0x7d0+_0x2ec996[_0xcf114c(0x136)]};}(_0x2751f6,_0x3c70b7)}),function(_0x114f52){const _0x49c0c9=_0x106c9f,_0x54c022=_0x114f52[_0x49c0c9(0x166)],_0x2e2255=new Map(),_0x4752ec=_0x114f52[_0x49c0c9(0x145)][_0x49c0c9(0x17e)](_0x151bd6);_0x54c022[_0x49c0c9(0x18b)]['on'](_0x49c0c9(0x163),(_0x3e7ea9,_0x35c035,_0x2e3372,_0x58481c)=>{const _0x34c376=_0x49c0c9;if(!_0x58481c&&_0x2e2255[_0x34c376(0x17e)](_0x35c035[_0x34c376(0x185)]))return _0x2e2255[_0x34c376(0x17e)](_0x35c035[_0x34c376(0x185)])[_0x34c376(0x140)](),void _0x2e2255[_0x34c376(0x143)](_0x35c035[_0x34c376(0x185)]);const _0x3eaf91=_0x35c035[_0x34c376(0x185)][_0x34c376(0x190)](':')[0x2];if(_0x3eaf91===_0x4752ec[_0x34c376(0x1ad)])return;const _0x347d77=_0x34c376(0x12b)+_0x3eaf91;_0x54c022[_0x34c376(0x18b)][_0x34c376(0x15d)](_0x347d77)&&_0x114f52[_0x34c376(0x132)][_0x34c376(0x175)](_0x347d77),_0x35c035['on'](_0x34c376(0x14b),(_0x113435,_0x12c97b,_0x280c2f)=>{const _0x209089=_0x34c376;if(_0x209089(0x1ae)!=_0x12c97b[_0x209089(0x19d)][_0x209089(0x1a0)]&&_0x209089(0x1ae)==_0x35c035[_0x209089(0x1a5)]()[_0x209089(0x19d)][_0x209089(0x1a0)]&&!_0x2e2255[_0x209089(0x15d)](_0x35c035[_0x209089(0x185)])){const _0x278158=_0x54c022[_0x209089(0x148)][_0x209089(0x17b)](_0x280c2f[_0x209089(0x14d)]);if(_0x278158){const _0x5cb710=_0x3bdb53[_0x209089(0x12f)](_0x278158);_0x2e2255[_0x209089(0x188)](_0x35c035[_0x209089(0x185)],_0x5cb710),_0x5cb710['on'](_0x209089(0x14b),(_0x31bb43,_0x44c6b6,_0x1a8d11)=>{const _0x3640d0=_0x209089;if(_0x3640d0(0x1ae)==_0x5cb710[_0x3640d0(0x19d)][_0x3640d0(0x1a0)]){const _0x100181=_0x54c022[_0x3640d0(0x148)][_0x3640d0(0x17b)](_0x1a8d11[_0x3640d0(0x14d)]);_0x100181?(_0x5cb710[_0x3640d0(0x150)]=_0x100181[_0x3640d0(0x150)],_0x5cb710[_0x3640d0(0x1aa)]=_0x100181[_0x3640d0(0x1aa)]):(_0x2e2255[_0x3640d0(0x143)](_0x35c035[_0x3640d0(0x185)]),_0x5cb710[_0x3640d0(0x140)]());}});}}});}),_0x54c022[_0x49c0c9(0x171)]['on'](_0x49c0c9(0x187),()=>{const _0x2f2b4b=_0x49c0c9;_0x2e2255[_0x2f2b4b(0x146)]>0x0&&_0x54c022[_0x2f2b4b(0x156)]({'isUndoable':!0x1},_0x2ee310=>{const _0x10a374=_0x2f2b4b;for(const [_0x402c64,_0x2b15e2]of _0x2e2255)_0x10a374(0x1ae)==_0x54c022[_0x10a374(0x18b)][_0x10a374(0x17e)](_0x402c64)[_0x10a374(0x1a5)]()[_0x10a374(0x19d)][_0x10a374(0x1a0)]&&(Z(_0x402c64[_0x10a374(0x190)](':')[0x2],_0x2b15e2[_0x10a374(0x138)](),_0x54c022,_0x2ee310),_0x2b15e2[_0x10a374(0x140)]());_0x2e2255[_0x10a374(0x135)]();});});}(_0x24e165),this[_0x106c9f(0x139)][_0x106c9f(0x195)](_0x36621d[_0x106c9f(0x171)],_0x106c9f(0x128),(_0x3b333b,{key:_0x1f7da7})=>{const _0x14112e=_0x106c9f;_0x14112e(0x157)===_0x1f7da7&&function(_0x1346f8){const _0x419652=_0x14112e;_0x1346f8[_0x419652(0x132)][_0x419652(0x172)][_0x419652(0x187)](_0x534633=>{const _0x5629de=_0x419652;for(const _0x2ee3f2 of _0x1346f8[_0x5629de(0x166)][_0x5629de(0x18b)]){if(!_0x2ee3f2[_0x5629de(0x185)][_0x5629de(0x19f)](_0x5629de(0x13f)))continue;const _0x237f40=_0x1346f8[_0x5629de(0x132)][_0x5629de(0x15f)][_0x5629de(0x186)](_0x2ee3f2[_0x5629de(0x185)]);if(_0x237f40){for(const _0x55f84f of _0x237f40)_0x534633[_0x5629de(0x13b)](_0x5629de(0x152),_0x55f84f);}}});}(_0x24e165);},{'useCapture':!0x0});}[_0x4f1aa7(0x173)](){const _0x1a1b83=_0x4f1aa7,_0x5b9356=this[_0x1a1b83(0x13a)],_0x323974=_0x5b9356[_0x1a1b83(0x1b2)][_0x1a1b83(0x17e)](_0x1a1b83(0x12d));_0x323974&&_0x5b9356[_0x1a1b83(0x166)]['on'](_0x1a1b83(0x18e),(_0x49db2f,_0x377423)=>{const _0x5d8967=_0x1a1b83,_0x1852ab=_0x377423[0x0];if(!_0x1852ab[_0x5d8967(0x134)])return;if(_0x5d8967(0x162)!=_0x1852ab[_0x5d8967(0x182)]||!_0x1852ab[_0x5d8967(0x185)][_0x5d8967(0x19f)](_0x5d8967(0x197)))return;const _0x47afcf=_0x1852ab[_0x5d8967(0x12e)];_0x323974[_0x5d8967(0x1a9)][_0x5d8967(0x15d)](_0x47afcf)&&(_0x1852ab[_0x5d8967(0x198)]=_0x1852ab[_0x5d8967(0x12a)]?_0x5b9356[_0x5d8967(0x166)][_0x5d8967(0x165)](_0x1852ab[_0x5d8967(0x12a)][_0x5d8967(0x150)],_0x1852ab[_0x5d8967(0x12a)][_0x5d8967(0x1aa)]):null);},{'priority':_0x1a1b83(0x13e)});}[_0x4f1aa7(0x1a2)](){const _0x3f811c=_0x4f1aa7;return this[_0x3f811c(0x139)][_0x3f811c(0x1a4)](),super[_0x3f811c(0x1a2)]();}[_0x4f1aa7(0x184)](){const _0x3dcca5=_0x4f1aa7,_0x4693ac=this[_0x3dcca5(0x13a)],_0x2eead8=_0x4693ac[_0x3dcca5(0x166)][_0x3dcca5(0x171)],_0x4050eb=_0x4693ac[_0x3dcca5(0x145)][_0x3dcca5(0x17e)](_0x151bd6);_0x4693ac[_0x3dcca5(0x166)][_0x3dcca5(0x156)]({'isUndoable':!0x1},_0x2600a6=>{const _0x512c21=_0x3dcca5,_0x512550=_0x512c21(0x1ac)+_0x4050eb[_0x512c21(0x1ad)],_0x12aa0d=_0x512c21(0x12b)+_0x4050eb[_0x512c21(0x1ad)],_0x75deac=_0x4693ac[_0x512c21(0x166)][_0x512c21(0x18b)][_0x512c21(0x15d)](_0x512550);_0x4693ac[_0x512c21(0x132)][_0x512c21(0x172)][_0x512c21(0x174)]?Z(_0x4050eb[_0x512c21(0x1ad)],_0x2eead8[_0x512c21(0x1af)][_0x512c21(0x14e)](),_0x4693ac[_0x512c21(0x166)],_0x2600a6):_0x75deac&&(_0x2600a6[_0x512c21(0x181)](_0x512550),_0x2600a6[_0x512c21(0x181)](_0x12aa0d));});}}function Z(_0x2f172e,_0x56e899,_0x54e3d8,_0x688c27){const _0x1660a0=_0x4f1aa7,_0x5a9fd6=_0x1660a0(0x1ac)+_0x2f172e,_0x1e384e=_0x1660a0(0x12b)+_0x2f172e,_0x28cea2=_0x56e899[_0x1660a0(0x142)]();let _0x5703ce=_0x56e899[_0x1660a0(0x150)];if(_0x28cea2&&_0x28cea2['is'](_0x1660a0(0x137),_0x1660a0(0x19c))){const _0x100a97=function(_0x54368b,_0x2da358){const _0x4e7e12=_0x1660a0;for(const _0x52a9b0 of _0x54368b[_0x4e7e12(0x1b1)]())if(_0x2da358[_0x4e7e12(0x148)][_0x4e7e12(0x1a8)](_0x52a9b0,_0x4e7e12(0x1a1)))return _0x52a9b0;}(_0x56e899,_0x54e3d8);_0x100a97&&(_0x5703ce=_0x100a97,_0x56e899=_0x688c27[_0x1660a0(0x165)](_0x5703ce));}const _0x504080=_0x688c27[_0x1660a0(0x165)](_0x5703ce);_0x54e3d8[_0x1660a0(0x18b)][_0x1660a0(0x15d)](_0x5a9fd6)?(_0x688c27[_0x1660a0(0x13d)](_0x5a9fd6,{'range':_0x56e899}),_0x688c27[_0x1660a0(0x13d)](_0x1e384e,{'range':_0x504080})):(_0x688c27[_0x1660a0(0x19b)](_0x5a9fd6,{'range':_0x56e899,'usingOperation':!0x0}),_0x688c27[_0x1660a0(0x19b)](_0x1e384e,{'range':_0x504080,'usingOperation':!0x0}));}