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

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 +16 -16
  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
- function _0x1e2e(_0x45f746,_0x1f624a){const _0x4411e9=_0x4411();return _0x1e2e=function(_0x1e2e3a,_0xaa1a99){_0x1e2e3a=_0x1e2e3a-0xd0;let _0x352e26=_0x4411e9[_0x1e2e3a];return _0x352e26;},_0x1e2e(_0x45f746,_0x1f624a);}const _0x5464b3=_0x1e2e;(function(_0x1647fb,_0x14bfb0){const _0x2ef3cc=_0x1e2e,_0x2eaf9b=_0x1647fb();while(!![]){try{const _0x34223f=-parseInt(_0x2ef3cc(0xe0))/0x1*(-parseInt(_0x2ef3cc(0xf7))/0x2)+-parseInt(_0x2ef3cc(0xf6))/0x3*(-parseInt(_0x2ef3cc(0xd2))/0x4)+-parseInt(_0x2ef3cc(0xf2))/0x5+parseInt(_0x2ef3cc(0xdf))/0x6*(-parseInt(_0x2ef3cc(0xe2))/0x7)+-parseInt(_0x2ef3cc(0xd9))/0x8*(parseInt(_0x2ef3cc(0xf5))/0x9)+-parseInt(_0x2ef3cc(0xf1))/0xa+-parseInt(_0x2ef3cc(0xf3))/0xb*(-parseInt(_0x2ef3cc(0xf4))/0xc);if(_0x34223f===_0x14bfb0)break;else _0x2eaf9b['push'](_0x2eaf9b['shift']());}catch(_0x233218){_0x2eaf9b['push'](_0x2eaf9b['shift']());}}}(_0x4411,0x345c2));import{View as _0x125ea7}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2d2b92}from'ckeditor5/src/utils.js';import{getTranslation as _0x373c4e}from'../../common-translations.js';function _0x4411(){const _0x2f77ed=['Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','relatedTarget','24FUMPob','21ZMeelp','fire','694498WoLKiS','setAttribute','render','querySelector','change:hasPopup','setTemplate','.ck-balloon-panel_with-arrow','keystrokes','listenTo','element','ck-presence-list__list','isExpanded','removeAttribute','contains','div','2985870VLKcRr','1647170AEzKop','11siVqSS','10909896gHFlaZ','1205919QEwPht','3Sjtely','36290ThrRSq','presencelist:show','list','set','1404452knCQNd','.ck-presence-list__dropdown-list','items','aria-expanded','presencelist:hide','focus','hasPopup','24PICEnv','bindTemplate'];_0x4411=function(){return _0x2f77ed;};return _0x4411();}export class PresenceInlineListView extends _0x125ea7{[_0x5464b3(0xd4)];[_0x5464b3(0xe9)];constructor(_0xdae673){const _0x2e3bad=_0x5464b3;super(_0xdae673);const _0x1cea2a=this[_0x2e3bad(0xda)];this[_0x2e3bad(0xd4)]=this[_0x2e3bad(0xdd)](),this[_0x2e3bad(0xe9)]=new _0x2d2b92(),this[_0x2e3bad(0xd1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2e3bad(0xe7)]({'tag':_0x2e3bad(0xf0),'attributes':{'aria-haspopup':_0x1cea2a['if'](_0x2e3bad(0xd8)),'aria-expanded':_0x1cea2a['to'](_0x2e3bad(0xed),_0x518ada=>this[_0x2e3bad(0xd8)]&&String(_0x518ada)),'aria-label':_0x1cea2a['to'](_0x2e3bad(0xd8),_0x16debe=>_0x373c4e(_0xdae673,_0x16debe?_0x2e3bad(0xdc):_0x2e3bad(0xdb))),'role':_0x2e3bad(0xd0),'tabindex':_0x1cea2a['to'](_0x2e3bad(0xd8),_0x4841e7=>!!_0x4841e7&&0x0),'class':['ck',_0x2e3bad(0xec)]},'children':this[_0x2e3bad(0xd4)],'on':{'mouseenter':_0x1cea2a['to'](()=>this[_0x2e3bad(0xe1)](_0x2e3bad(0xf8))),'mouseleave':_0x1cea2a['to'](_0x395c77=>{const _0x424547=_0x2e3bad,_0x5d77d8=_0x395c77,_0x247737=document[_0x424547(0xe5)](_0x424547(0xd3)),_0x2df69f=document[_0x424547(0xe5)](_0x424547(0xe8));_0x247737?.[_0x424547(0xef)](_0x5d77d8[_0x424547(0xde)])||_0x2df69f?.[_0x424547(0xef)](_0x5d77d8[_0x424547(0xde)])||this[_0x424547(0xe1)](_0x424547(0xd6));})}}),this['on'](_0x2e3bad(0xe6),(_0x3852ec,_0x16c058,_0x30e3c5)=>{const _0x4ea5f7=_0x2e3bad;this[_0x4ea5f7(0xeb)]&&(_0x30e3c5?this[_0x4ea5f7(0xeb)][_0x4ea5f7(0xe3)](_0x4ea5f7(0xd5),String(this[_0x4ea5f7(0xed)])):this[_0x4ea5f7(0xeb)][_0x4ea5f7(0xee)](_0x4ea5f7(0xd5)));});}[_0x5464b3(0xd7)](){const _0x3c0f17=_0x5464b3;this[_0x3c0f17(0xeb)][_0x3c0f17(0xd7)]();}[_0x5464b3(0xe4)](){const _0x1f6891=_0x5464b3;super[_0x1f6891(0xe4)](),this[_0x1f6891(0xe9)][_0x1f6891(0xea)](this[_0x1f6891(0xeb)]);}}
23
+ const _0x1c4200=_0x51f4;(function(_0x3abeab,_0xbfbcf2){const _0x522ffa=_0x51f4,_0x37b3ea=_0x3abeab();while(!![]){try{const _0x29c2e6=parseInt(_0x522ffa(0x177))/0x1*(parseInt(_0x522ffa(0x169))/0x2)+-parseInt(_0x522ffa(0x174))/0x3*(-parseInt(_0x522ffa(0x166))/0x4)+-parseInt(_0x522ffa(0x16c))/0x5*(parseInt(_0x522ffa(0x15a))/0x6)+-parseInt(_0x522ffa(0x15b))/0x7*(-parseInt(_0x522ffa(0x157))/0x8)+-parseInt(_0x522ffa(0x155))/0x9+-parseInt(_0x522ffa(0x170))/0xa*(parseInt(_0x522ffa(0x168))/0xb)+parseInt(_0x522ffa(0x164))/0xc;if(_0x29c2e6===_0xbfbcf2)break;else _0x37b3ea['push'](_0x37b3ea['shift']());}catch(_0x13ca0a){_0x37b3ea['push'](_0x37b3ea['shift']());}}}(_0x5d80,0x47f3b));import{View as _0x256f33}from'ckeditor5/src/ui.js';function _0x51f4(_0x50085e,_0x5c4f2f){const _0x5d80aa=_0x5d80();return _0x51f4=function(_0x51f440,_0x32ca80){_0x51f440=_0x51f440-0x152;let _0x431687=_0x5d80aa[_0x51f440];return _0x431687;},_0x51f4(_0x50085e,_0x5c4f2f);}import{KeystrokeHandler as _0x6aae33}from'ckeditor5/src/utils.js';function _0x5d80(){const _0x15056a=['.ck-presence-list__dropdown-list','610MJiTdg','ck-presence-list__list','presencelist:hide','hasPopup','89589RyIvOb','presencelist:show','querySelector','445PdzwTT','removeAttribute','Connected\x20users\x20list','render','focus','bindTemplate','list','3251709oPiMqR','contains','8dmpzPf','fire','setTemplate','1376088IBXbQQ','512197falFYX','keystrokes','setAttribute','items','isExpanded','listenTo','relatedTarget','aria-expanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','4610064yeMrQM','createCollection','4BNoaga','change:hasPopup','21527CobIYn','2326bjMgtp','set','element','5TKTNTh','.ck-balloon-panel_with-arrow','div'];_0x5d80=function(){return _0x15056a;};return _0x5d80();}import{getTranslation as _0x238707}from'../../common-translations.js';export class PresenceInlineListView extends _0x256f33{[_0x1c4200(0x15e)];[_0x1c4200(0x15c)];constructor(_0x50b654){const _0x137236=_0x1c4200;super(_0x50b654);const _0xbaf94=this[_0x137236(0x153)];this[_0x137236(0x15e)]=this[_0x137236(0x165)](),this[_0x137236(0x15c)]=new _0x6aae33(),this[_0x137236(0x16a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x137236(0x159)]({'tag':_0x137236(0x16e),'attributes':{'aria-haspopup':_0xbaf94['if'](_0x137236(0x173)),'aria-expanded':_0xbaf94['to'](_0x137236(0x15f),_0x4dee16=>this[_0x137236(0x173)]&&String(_0x4dee16)),'aria-label':_0xbaf94['to'](_0x137236(0x173),_0x5dc66b=>_0x238707(_0x50b654,_0x5dc66b?_0x137236(0x163):_0x137236(0x179))),'role':_0x137236(0x154),'tabindex':_0xbaf94['to'](_0x137236(0x173),_0x5951ae=>!!_0x5951ae&&0x0),'class':['ck',_0x137236(0x171)]},'children':this[_0x137236(0x15e)],'on':{'mouseenter':_0xbaf94['to'](()=>this[_0x137236(0x158)](_0x137236(0x175))),'mouseleave':_0xbaf94['to'](_0x506a87=>{const _0x4dcb4a=_0x137236,_0x18ed16=_0x506a87,_0x46f1de=document[_0x4dcb4a(0x176)](_0x4dcb4a(0x16f)),_0x3660fa=document[_0x4dcb4a(0x176)](_0x4dcb4a(0x16d));_0x46f1de?.[_0x4dcb4a(0x156)](_0x18ed16[_0x4dcb4a(0x161)])||_0x3660fa?.[_0x4dcb4a(0x156)](_0x18ed16[_0x4dcb4a(0x161)])||this[_0x4dcb4a(0x158)](_0x4dcb4a(0x172));})}}),this['on'](_0x137236(0x167),(_0x17f889,_0xef716a,_0x34940e)=>{const _0x1c59b9=_0x137236;this[_0x1c59b9(0x16b)]&&(_0x34940e?this[_0x1c59b9(0x16b)][_0x1c59b9(0x15d)](_0x1c59b9(0x162),String(this[_0x1c59b9(0x15f)])):this[_0x1c59b9(0x16b)][_0x1c59b9(0x178)](_0x1c59b9(0x162)));});}[_0x1c4200(0x152)](){const _0x45f783=_0x1c4200;this[_0x45f783(0x16b)][_0x45f783(0x152)]();}[_0x1c4200(0x17a)](){const _0x5038b7=_0x1c4200;super[_0x5038b7(0x17a)](),this[_0x5038b7(0x15c)][_0x5038b7(0x160)](this[_0x5038b7(0x16b)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x43e5(_0x1cd835,_0x1f397c){const _0x250046=_0x2500();return _0x43e5=function(_0x43e587,_0x189235){_0x43e587=_0x43e587-0x193;let _0x420070=_0x250046[_0x43e587];return _0x420070;},_0x43e5(_0x1cd835,_0x1f397c);}const _0x1bb5da=_0x43e5;(function(_0x4191b4,_0x9b26af){const _0x27c9cf=_0x43e5,_0x32b4eb=_0x4191b4();while(!![]){try{const _0x4716a5=parseInt(_0x27c9cf(0x197))/0x1+parseInt(_0x27c9cf(0x1a2))/0x2*(-parseInt(_0x27c9cf(0x194))/0x3)+parseInt(_0x27c9cf(0x198))/0x4*(-parseInt(_0x27c9cf(0x1ad))/0x5)+-parseInt(_0x27c9cf(0x1a3))/0x6*(-parseInt(_0x27c9cf(0x19f))/0x7)+parseInt(_0x27c9cf(0x19c))/0x8*(parseInt(_0x27c9cf(0x1a0))/0x9)+parseInt(_0x27c9cf(0x1ab))/0xa*(-parseInt(_0x27c9cf(0x1a4))/0xb)+parseInt(_0x27c9cf(0x195))/0xc*(parseInt(_0x27c9cf(0x1a9))/0xd);if(_0x4716a5===_0x9b26af)break;else _0x32b4eb['push'](_0x32b4eb['shift']());}catch(_0x10d18c){_0x32b4eb['push'](_0x32b4eb['shift']());}}}(_0x2500,0xe504c));import{View as _0x361c61}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1b225c}from'./presencecounterview.js';function _0x2500(){const _0x3965b4=['119959DtlrDN','478827xlsDKe','listenTo','2LmmACx','414ghQmZX','364529TxRhXr','set','change','counterView','locale','52dIXZIa','hasPopup','290CkaYdz','bindTemplate','5qhHmqt','first','inlineListView','bind','isCollapsed','ck-presence-list','setTemplate','4068291yfQItm','3635088cToXly','ck-rounded-corners','891035TgHSdC','2035292KIRLkq','ck-presence-list--collapsed','ck-reset','div','72mxTMwh','tooltipPosition','items'];_0x2500=function(){return _0x3965b4;};return _0x2500();}import{PresenceInlineListView as _0x1f159a}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x361c61{[_0x1bb5da(0x1a7)];[_0x1bb5da(0x1af)];constructor(_0x1ed4b1,_0x2a68ce=0x6){const _0x27edef=_0x1bb5da;super(_0x1ed4b1);const _0x1d1f40=this[_0x27edef(0x1ac)];this[_0x27edef(0x1a5)](_0x27edef(0x1b1),!0x0),this[_0x27edef(0x1a7)]=new _0x1b225c(this[_0x27edef(0x1a8)],_0x2a68ce),this[_0x27edef(0x1af)]=new _0x1f159a(_0x1ed4b1),this[_0x27edef(0x1af)][_0x27edef(0x1b0)](_0x27edef(0x1aa))['to'](this,_0x27edef(0x1b1)),this[_0x27edef(0x1a1)](this[_0x27edef(0x1af)][_0x27edef(0x19e)],_0x27edef(0x1a6),()=>{const _0x5acda3=_0x27edef;for(const _0x2e023b of this[_0x5acda3(0x1af)][_0x5acda3(0x19e)])_0x2e023b[_0x5acda3(0x19d)]='s';this[_0x5acda3(0x1af)][_0x5acda3(0x19e)][_0x5acda3(0x1ae)]&&(this[_0x5acda3(0x1af)][_0x5acda3(0x19e)][_0x5acda3(0x1ae)][_0x5acda3(0x19d)]='se');}),this[_0x27edef(0x193)]({'tag':_0x27edef(0x19b),'attributes':{'class':['ck',_0x27edef(0x1b2),_0x27edef(0x19a),_0x27edef(0x196),_0x1d1f40['if'](_0x27edef(0x1b1),_0x27edef(0x199))]},'children':[this[_0x27edef(0x1af)]]});}}
23
+ function _0x3f04(_0x10c567,_0x2cf94e){const _0x469e0e=_0x469e();return _0x3f04=function(_0x3f047d,_0x190a71){_0x3f047d=_0x3f047d-0x1bb;let _0x354adc=_0x469e0e[_0x3f047d];return _0x354adc;},_0x3f04(_0x10c567,_0x2cf94e);}function _0x469e(){const _0x4ecd23=['bindTemplate','ck-presence-list--collapsed','hasPopup','isCollapsed','6ROuvjz','change','ck-reset','inlineListView','39060YZBLSg','setTemplate','locale','bind','counterView','items','div','tooltipPosition','first','set','ck-presence-list','5253980SVOVcZ','2872RuYYyT','873768VUmtTW','128856hBWkpB','23217qOuNTC','30yGosSy','29043yTuxbE','ck-rounded-corners','285910BTSzAZ','listenTo','187qsnPVM'];_0x469e=function(){return _0x4ecd23;};return _0x469e();}const _0x504b0a=_0x3f04;(function(_0x2b9b3f,_0x33058b){const _0x5d67e9=_0x3f04,_0x748073=_0x2b9b3f();while(!![]){try{const _0x462c49=parseInt(_0x5d67e9(0x1bc))/0x1+parseInt(_0x5d67e9(0x1bb))/0x2+parseInt(_0x5d67e9(0x1bd))/0x3*(-parseInt(_0x5d67e9(0x1cb))/0x4)+-parseInt(_0x5d67e9(0x1d6))/0x5+parseInt(_0x5d67e9(0x1c7))/0x6*(parseInt(_0x5d67e9(0x1d8))/0x7)+-parseInt(_0x5d67e9(0x1d7))/0x8*(-parseInt(_0x5d67e9(0x1be))/0x9)+-parseInt(_0x5d67e9(0x1c0))/0xa*(-parseInt(_0x5d67e9(0x1c2))/0xb);if(_0x462c49===_0x33058b)break;else _0x748073['push'](_0x748073['shift']());}catch(_0x4212a8){_0x748073['push'](_0x748073['shift']());}}}(_0x469e,0xacfd3));import{View as _0x4686dd}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x25ead7}from'./presencecounterview.js';import{PresenceInlineListView as _0x15b504}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4686dd{[_0x504b0a(0x1cf)];[_0x504b0a(0x1ca)];constructor(_0x443e6e,_0x918e34=0x6){const _0x5e0bd4=_0x504b0a;super(_0x443e6e);const _0x49973c=this[_0x5e0bd4(0x1c3)];this[_0x5e0bd4(0x1d4)](_0x5e0bd4(0x1c6),!0x0),this[_0x5e0bd4(0x1cf)]=new _0x25ead7(this[_0x5e0bd4(0x1cd)],_0x918e34),this[_0x5e0bd4(0x1ca)]=new _0x15b504(_0x443e6e),this[_0x5e0bd4(0x1ca)][_0x5e0bd4(0x1ce)](_0x5e0bd4(0x1c5))['to'](this,_0x5e0bd4(0x1c6)),this[_0x5e0bd4(0x1c1)](this[_0x5e0bd4(0x1ca)][_0x5e0bd4(0x1d0)],_0x5e0bd4(0x1c8),()=>{const _0x4aeb96=_0x5e0bd4;for(const _0x47ee3d of this[_0x4aeb96(0x1ca)][_0x4aeb96(0x1d0)])_0x47ee3d[_0x4aeb96(0x1d2)]='s';this[_0x4aeb96(0x1ca)][_0x4aeb96(0x1d0)][_0x4aeb96(0x1d3)]&&(this[_0x4aeb96(0x1ca)][_0x4aeb96(0x1d0)][_0x4aeb96(0x1d3)][_0x4aeb96(0x1d2)]='se');}),this[_0x5e0bd4(0x1cc)]({'tag':_0x5e0bd4(0x1d1),'attributes':{'class':['ck',_0x5e0bd4(0x1d5),_0x5e0bd4(0x1c9),_0x5e0bd4(0x1bf),_0x49973c['if'](_0x5e0bd4(0x1c6),_0x5e0bd4(0x1c4))]},'children':[this[_0x5e0bd4(0x1ca)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x10649f=_0x2aff;(function(_0x31b047,_0x1a2bb7){var _0x1dc521=_0x2aff,_0x3f2c47=_0x31b047();while(!![]){try{var _0x2c3b45=parseInt(_0x1dc521(0xbf))/0x1+parseInt(_0x1dc521(0xba))/0x2*(parseInt(_0x1dc521(0xc1))/0x3)+-parseInt(_0x1dc521(0xbd))/0x4+parseInt(_0x1dc521(0xc6))/0x5+parseInt(_0x1dc521(0xbb))/0x6+-parseInt(_0x1dc521(0xc3))/0x7*(-parseInt(_0x1dc521(0xbe))/0x8)+-parseInt(_0x1dc521(0xbc))/0x9;if(_0x2c3b45===_0x1a2bb7)break;else _0x3f2c47['push'](_0x3f2c47['shift']());}catch(_0x4ac869){_0x3f2c47['push'](_0x3f2c47['shift']());}}}(_0x48b6,0xb4d50));import{ContextPlugin as _0x28fef0}from'ckeditor5/src/core.js';function _0x2aff(_0x15ff35,_0x2d27db){var _0x48b610=_0x48b6();return _0x2aff=function(_0x2aff87,_0x2b7a0c){_0x2aff87=_0x2aff87-0xba;var _0x56830d=_0x48b610[_0x2aff87];return _0x56830d;},_0x2aff(_0x15ff35,_0x2d27db);}function _0x48b6(){var _0x5145cf=['isPremiumPlugin','pluginName','2462490AsJgGC','PresenceList','24NvFKFE','7288338Qfegeg','20470437wJoeHk','1620420vjIHax','16mTUbYR','965167ytMyLU','isOfficialPlugin','154581SJcOwX','requires','453509mMISam'];_0x48b6=function(){return _0x5145cf;};return _0x48b6();}import{Sessions as _0x1f7c53}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4b48da}from'./presencelist/presencelistui.js';export class PresenceList extends _0x28fef0{static get[_0x10649f(0xc2)](){return[_0x1f7c53,_0x4b48da];}static get[_0x10649f(0xc5)](){var _0xc4048b=_0x10649f;return _0xc4048b(0xc7);}static get[_0x10649f(0xc0)](){return!0x0;}static get[_0x10649f(0xc4)](){return!0x0;}}
23
+ var _0x560f92=_0x2808;(function(_0x12edce,_0x3fa375){var _0x179263=_0x2808,_0x4cbbfc=_0x12edce();while(!![]){try{var _0xa7751c=parseInt(_0x179263(0x119))/0x1*(parseInt(_0x179263(0x10d))/0x2)+parseInt(_0x179263(0x114))/0x3+parseInt(_0x179263(0x10c))/0x4+-parseInt(_0x179263(0x11a))/0x5*(parseInt(_0x179263(0x111))/0x6)+-parseInt(_0x179263(0x10f))/0x7*(parseInt(_0x179263(0x10e))/0x8)+-parseInt(_0x179263(0x110))/0x9*(parseInt(_0x179263(0x115))/0xa)+parseInt(_0x179263(0x117))/0xb*(parseInt(_0x179263(0x113))/0xc);if(_0xa7751c===_0x3fa375)break;else _0x4cbbfc['push'](_0x4cbbfc['shift']());}catch(_0x2884b0){_0x4cbbfc['push'](_0x4cbbfc['shift']());}}}(_0x5db8,0x471fd));import{ContextPlugin as _0xc6b103}from'ckeditor5/src/core.js';import{Sessions as _0x3fbc28}from'./realtimecollaborativeediting/sessions.js';function _0x2808(_0x447f57,_0x4ffd0f){var _0x5db89f=_0x5db8();return _0x2808=function(_0x280848,_0x2ecae8){_0x280848=_0x280848-0x10a;var _0x623175=_0x5db89f[_0x280848];return _0x623175;},_0x2808(_0x447f57,_0x4ffd0f);}function _0x5db8(){var _0x3340c1=['2JfKCkB','95XmRboy','pluginName','requires','461116AcZohY','422938XXMucR','8FBqiUc','1904819puQIRH','3299058TKPujb','80034QjMUlI','PresenceList','1668DjWzpy','923625cfxlDT','10DknxPF','isPremiumPlugin','26697fksAzH','isOfficialPlugin'];_0x5db8=function(){return _0x3340c1;};return _0x5db8();}import{PresenceListUI as _0x37ed8f}from'./presencelist/presencelistui.js';export class PresenceList extends _0xc6b103{static get[_0x560f92(0x10b)](){return[_0x3fbc28,_0x37ed8f];}static get[_0x560f92(0x10a)](){var _0x4d41c1=_0x560f92;return _0x4d41c1(0x112);}static get[_0x560f92(0x118)](){return!0x0;}static get[_0x560f92(0x116)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x433317=_0x5284;(function(_0x517105,_0x10e281){const _0x10d200=_0x5284,_0x376c44=_0x517105();while(!![]){try{const _0x3997a4=parseInt(_0x10d200(0x141))/0x1+parseInt(_0x10d200(0x124))/0x2+parseInt(_0x10d200(0x159))/0x3*(parseInt(_0x10d200(0x12c))/0x4)+-parseInt(_0x10d200(0x121))/0x5+parseInt(_0x10d200(0x157))/0x6+parseInt(_0x10d200(0x11c))/0x7+parseInt(_0x10d200(0x16d))/0x8*(-parseInt(_0x10d200(0x112))/0x9);if(_0x3997a4===_0x10e281)break;else _0x376c44['push'](_0x376c44['shift']());}catch(_0x621971){_0x376c44['push'](_0x376c44['shift']());}}}(_0x595d,0x1efff));import{Context as _0x1b1259,ContextPlugin as _0x4b43cb}from'ckeditor5/src/core.js';function _0x595d(){const _0xa663ab=['commentThreadAdded','getUser','getCommentThread','resolvedBy','_connectService','commentThreadUpdated','delete','connect','getMany','removeCommentThread','attributes','comments','commentThreadRemoved','reconnect','content','cloudservicescommentsadapter-connect-already-connected','plugins','912168STaEXy','addToReconnectionStack','579753YuHTGe','collaboration.channelId','CommentsService','assign','createdAt','mySessionId','404','destroy','resolve','init','_setUpService','authorId','unregister','register','reopen','cloudservicescommentsadapter-disconnect-not-exist','_terminateService','removeComment','commentThreadId','startsWith','7392pOAQjd','_services','adapter','keys','resolvedAt','setPermissions','resolveCommentThread','context','has','off','5148kNPqKC','permissions','addComment','commentThreadResolved','map','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','size','updateComment','requires','cloud-services-internal-error:\x20Not\x20connected.','1617168FucWMU','commentAdded','from','getComment','commentUpdated','1076615FeaaKh','get','getCommentThreads','147632UrPPPS','remove','isOfficialPlugin','deletedAt','commentId','set','catch','reopenCommentThread','4XjQyLN','_fetchMissingUsersForThreads','getConnectedSessions','addUser','pluginName','add','code','commentRemoved','cloudservicescommentsadapter-service-not-exist','listenTo','cloud-services-internal-error:\x20Request\x20timeout.','CommentsRepository','update','sessionAdd:','isPremiumPlugin','message','commentThreadReopened','updateCommentThread','config','_getService','Permissions','220707IipWxu','disconnect','addCommentThread','userId','CloudServicesCommentsAdapter'];_0x595d=function(){return _0xa663ab;};return _0x595d();}import{CKEditorError as _0xd7cddc}from'ckeditor5/src/utils.js';import{Users as _0x107e48}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x245cf6,User as _0x4b06dd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x540310}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x471404}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4b43cb{static [_0x433317(0x15b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x245cf6)());[_0x433317(0x16e)];static get[_0x433317(0x11a)](){const _0x5013bc=_0x433317;return[_0x540310,_0x5013bc(0x137),_0x471404,_0x107e48];}static get[_0x433317(0x130)](){const _0x9faabc=_0x433317;return _0x9faabc(0x145);}static get[_0x433317(0x126)](){return!0x0;}static get[_0x433317(0x13a)](){return!0x0;}constructor(_0x5d066f){const _0x4a149d=_0x433317;super(_0x5d066f),this[_0x4a149d(0x16e)]=new Map();}async[_0x433317(0x162)](){const _0x94dba6=_0x433317,_0x2d736a=this[_0x94dba6(0x10f)],_0x356096=_0x2d736a[_0x94dba6(0x156)][_0x94dba6(0x122)](_0x94dba6(0x137));if(_0x2d736a[_0x94dba6(0x156)][_0x94dba6(0x122)](_0x540310)[_0x94dba6(0x158)](this),_0x356096[_0x94dba6(0x16f)]={'addCommentThread':async({channelId:_0x40bb83,threadId:_0x1f3888,comments:_0x2c1656,resolvedAt:_0x5d1d31,resolvedBy:_0x269eb1,context:_0x510ea5,attributes:_0x8e9e9c})=>{const _0x4509ea=_0x94dba6,_0x1262a7=await this[_0x4509ea(0x13f)](_0x40bb83)[_0x4509ea(0x143)]({'commentThreadId':_0x1f3888,'comments':_0x2c1656[_0x4509ea(0x116)](_0x121d93=>function(_0x255f0e,_0x222096,_0x5ee394){const _0x4f9457=_0x4509ea;return{'commentThreadId':_0x5ee394,'commentId':_0x255f0e[_0x4f9457(0x128)],'userId':_0x255f0e[_0x4f9457(0x164)],'content':_0x255f0e[_0x4f9457(0x154)],'documentId':_0x222096,'createdAt':_0x255f0e[_0x4f9457(0x15d)],'attributes':_0x255f0e[_0x4f9457(0x150)]||{}};}(_0x121d93,_0x40bb83,_0x1f3888)),'resolvedAt':_0x5d1d31,'resolvedBy':_0x269eb1,'context':_0x510ea5,'attributes':_0x8e9e9c})[_0x4509ea(0x12a)](nt);return{'threadId':_0x1262a7[_0x4509ea(0x16b)],'comments':_0x1262a7[_0x4509ea(0x151)]};},'getCommentThread':async({channelId:_0x29e357,threadId:_0x1db081})=>{const _0x586d46=_0x94dba6,_0x37c504=await this[_0x586d46(0x13f)](_0x29e357)[_0x586d46(0x148)](_0x1db081)[_0x586d46(0x12a)](ot)[_0x586d46(0x12a)](nt);return _0x37c504?_0x37c504[_0x586d46(0x127)]?null:(await this[_0x586d46(0x12d)]([_0x37c504]),{'threadId':_0x37c504[_0x586d46(0x16b)],'comments':_0x37c504[_0x586d46(0x151)][_0x586d46(0x116)](st),'context':_0x37c504[_0x586d46(0x10f)],'resolvedAt':_0x37c504[_0x586d46(0x10c)],'resolvedBy':_0x37c504[_0x586d46(0x149)],'attributes':_0x37c504[_0x586d46(0x150)]||{}}):null;},'updateCommentThread':async({channelId:_0x16b0fe,threadId:_0x4bb2a8,context:_0x375573,unlinkedAt:_0x2f4a53,attributes:_0x3310f1})=>this[_0x94dba6(0x13f)](_0x16b0fe)[_0x94dba6(0x13d)]({'commentThreadId':_0x4bb2a8,'context':_0x375573,'attributes':_0x3310f1,'unlinkedAt':_0x2f4a53})[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'resolveCommentThread':async({channelId:_0x127aa7,threadId:_0x2d21a7})=>{const _0x94a252=_0x94dba6,_0x5bda46=await this[_0x94a252(0x13f)](_0x127aa7)[_0x94a252(0x10e)](_0x2d21a7)[_0x94a252(0x12a)](ot)[_0x94a252(0x12a)](nt);return{'threadId':_0x5bda46[_0x94a252(0x16b)],'resolvedAt':_0x5bda46[_0x94a252(0x10c)],'resolvedBy':_0x5bda46[_0x94a252(0x149)]};},'reopenCommentThread':async({channelId:_0x189d96,threadId:_0x132d1c})=>this[_0x94dba6(0x13f)](_0x189d96)[_0x94dba6(0x12b)](_0x132d1c)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'removeCommentThread':({channelId:_0x1fc40f,threadId:_0x2cc701})=>this[_0x94dba6(0x13f)](_0x1fc40f)[_0x94dba6(0x14f)](_0x2cc701)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'addComment':({channelId:_0x3fa40d,threadId:_0x5088db,commentId:_0x2d3ed8,content:_0x5375ce,attributes:_0x434ebb})=>this[_0x94dba6(0x13f)](_0x3fa40d)[_0x94dba6(0x114)](_0x5088db,_0x2d3ed8,_0x5375ce,_0x434ebb)[_0x94dba6(0x12a)](nt),'updateComment':({channelId:_0x4c6e00,threadId:_0x56617d,commentId:_0x2760a7,content:_0x1641f5,attributes:_0x12d94d})=>this[_0x94dba6(0x13f)](_0x4c6e00)[_0x94dba6(0x119)](_0x56617d,_0x2760a7,_0x1641f5,_0x12d94d)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt),'removeComment':({channelId:_0x43f78d,threadId:_0x3ae0f7,commentId:_0xe39466})=>this[_0x94dba6(0x13f)](_0x43f78d)[_0x94dba6(0x16a)](_0x3ae0f7,_0xe39466)[_0x94dba6(0x12a)](ot)[_0x94dba6(0x12a)](nt)},_0x2d736a instanceof _0x1b1259){const _0x4cf37b=_0x2d736a[_0x94dba6(0x13e)][_0x94dba6(0x122)](_0x94dba6(0x15a)),_0x568dd6=_0x2d736a[_0x94dba6(0x156)][_0x94dba6(0x122)](_0x471404);await this[_0x94dba6(0x163)](_0x4cf37b);const _0x3ca883=await this[_0x94dba6(0x16e)][_0x94dba6(0x122)](_0x4cf37b)[_0x94dba6(0x12e)]();this[_0x94dba6(0x135)](_0x568dd6,_0x94dba6(0x139)+_0x4cf37b,(_0x4b1463,{session:_0x2e25b4})=>{const _0x106136=_0x94dba6;_0x2e25b4['id']===_0x568dd6[_0x106136(0x15e)]&&(_0x4b1463[_0x106136(0x111)](),this[_0x106136(0x10f)][_0x106136(0x156)][_0x106136(0x122)](_0x106136(0x140))[_0x106136(0x10d)](_0x2e25b4[_0x106136(0x113)],_0x4cf37b));}),_0x568dd6[_0x94dba6(0x166)](_0x4cf37b,_0x3ca883);}}async[_0x433317(0x163)](_0x511fad){const _0x3aca47=_0x433317;if(this[_0x3aca47(0x16e)][_0x3aca47(0x110)](_0x511fad))throw new _0xd7cddc(_0x3aca47(0x155),null,{'channelId':_0x511fad});const _0x1063bc=this[_0x3aca47(0x10f)][_0x3aca47(0x156)][_0x3aca47(0x122)](_0x3aca47(0x137)),_0x4afd63=new CloudServicesCommentsAdapter[(_0x3aca47(0x15b))](_0x511fad);this[_0x3aca47(0x16e)][_0x3aca47(0x129)](_0x511fad,_0x4afd63),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x146),(_0x155829,_0x82694c)=>{const _0x1a5214=_0x3aca47,{commentThreadId:_0x1a38a9,documentId:_0x114e2b,context:_0x2f2adc,attributes:_0x2573b5,resolvedAt:_0x5de141,resolvedBy:_0x384adc,comments:_0x462792}=_0x82694c;_0x1063bc[_0x1a5214(0x148)](_0x1a38a9)||_0x1063bc[_0x1a5214(0x143)]({'threadId':_0x1a38a9,'channelId':_0x114e2b,'comments':_0x462792?_0x462792[_0x1a5214(0x116)](st):[],'context':_0x2f2adc,'attributes':_0x2573b5,'resolvedAt':_0x5de141,'resolvedBy':_0x384adc,'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x14b),(_0x188c17,{commentThreadId:_0x355352,documentId:_0xc42ea2,context:_0x180848,unlinkedAt:_0x32dc5a,attributes:_0x1e8a3c})=>{const _0x52a2de=_0x3aca47;_0x1063bc[_0x52a2de(0x148)](_0x355352)&&_0x1063bc[_0x52a2de(0x13d)]({'threadId':_0x355352,'channelId':_0xc42ea2,'context':_0x180848,'unlinkedAt':_0x32dc5a,'attributes':_0x1e8a3c,'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x115),(_0x2142cf,{commentThreadId:_0x5b6868,resolvedBy:_0x20dba0,resolvedAt:_0x32f0c0})=>{const _0x2c0f34=_0x3aca47,_0x49a6c3=_0x1063bc[_0x2c0f34(0x148)](_0x5b6868);_0x49a6c3&&_0x49a6c3[_0x2c0f34(0x161)]({'resolvedBy':_0x20dba0,'resolvedAt':_0x32f0c0,'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x13c),(_0x1d3d5a,{commentThreadId:_0x5eb05})=>{const _0x5dc1ca=_0x3aca47,_0x575ea6=_0x1063bc[_0x5dc1ca(0x148)](_0x5eb05);_0x575ea6&&_0x575ea6[_0x5dc1ca(0x167)]({'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x152),(_0x25f28d,{commentThreadId:_0x1988b3})=>{const _0x215ec4=_0x3aca47,_0x584816=_0x1063bc[_0x215ec4(0x148)](_0x1988b3);_0x584816&&_0x584816[_0x215ec4(0x125)]({'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x11d),(_0x40a3f5,_0x38dfe6)=>{const _0x1d79cc=_0x3aca47,_0x5cf8b8=_0x38dfe6[_0x1d79cc(0x16b)],_0x152305=_0x1063bc[_0x1d79cc(0x148)](_0x5cf8b8);_0x152305&&_0x152305[_0x1d79cc(0x114)]({...st(_0x38dfe6),'isFromAdapter':!0x0});}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x120),(_0xa6e191,{commentThreadId:_0x37952b,commentId:_0x43a5c0,content:_0x5ed495,attributes:_0x717f80})=>{const _0x27317b=_0x3aca47,_0x285225=_0x1063bc[_0x27317b(0x148)](_0x37952b);if(_0x285225){const _0x11df3a=_0x285225[_0x27317b(0x11f)](_0x43a5c0);_0x11df3a&&_0x11df3a[_0x27317b(0x138)]({'content':_0x5ed495,'attributes':_0x717f80,'isFromAdapter':!0x0});}}),this[_0x3aca47(0x135)](_0x4afd63,_0x3aca47(0x133),(_0x3f26d,{commentThreadId:_0x55b570,commentId:_0x33afb9})=>{const _0x1b3eb2=_0x3aca47,_0x52747a=_0x1063bc[_0x1b3eb2(0x148)](_0x55b570);if(_0x52747a){const _0x1a89dd=_0x52747a[_0x1b3eb2(0x11f)](_0x33afb9);_0x1a89dd&&_0x1a89dd[_0x1b3eb2(0x125)]({'isFromAdapter':!0x0});}}),await this[_0x3aca47(0x14a)](_0x511fad);}[_0x433317(0x160)](){const _0x42e60a=_0x433317;if(this[_0x42e60a(0x10f)]instanceof _0x1b1259){const _0x255d11=this[_0x42e60a(0x10f)][_0x42e60a(0x13e)][_0x42e60a(0x122)](_0x42e60a(0x15a));this[_0x42e60a(0x169)](_0x255d11);}}[_0x433317(0x169)](_0x202ee8){const _0x2edd7e=_0x433317;if(!this[_0x2edd7e(0x16e)][_0x2edd7e(0x110)](_0x202ee8))throw new _0xd7cddc(_0x2edd7e(0x168),null,{'channelId':_0x202ee8});this[_0x2edd7e(0x13f)](_0x202ee8)[_0x2edd7e(0x142)](),this[_0x2edd7e(0x16e)][_0x2edd7e(0x14c)](_0x202ee8);}async[_0x433317(0x153)](){const _0x1d908d=_0x433317;for(const _0x3c0eff of this[_0x1d908d(0x16e)][_0x1d908d(0x10b)]())await this[_0x1d908d(0x14a)](_0x3c0eff);if(this[_0x1d908d(0x10f)]instanceof _0x1b1259){const _0x54cc79=this[_0x1d908d(0x10f)][_0x1d908d(0x13e)][_0x1d908d(0x122)](_0x1d908d(0x15a)),_0x3977b3=this[_0x1d908d(0x10f)][_0x1d908d(0x156)][_0x1d908d(0x122)](_0x471404);_0x3977b3[_0x1d908d(0x165)](_0x54cc79);const _0xe406d9=await this[_0x1d908d(0x16e)][_0x1d908d(0x122)](_0x54cc79)[_0x1d908d(0x12e)]();_0x3977b3[_0x1d908d(0x166)](_0x54cc79,_0xe406d9);}}async[_0x433317(0x14a)](_0x49fe65){const _0x2f3c2b=_0x433317,{connection:_0x77e79a}=this[_0x2f3c2b(0x10f)][_0x2f3c2b(0x156)][_0x2f3c2b(0x122)](_0x540310),_0x57d3c9=this[_0x2f3c2b(0x10f)][_0x2f3c2b(0x156)][_0x2f3c2b(0x122)](_0x2f3c2b(0x137)),_0x2a141f=this[_0x2f3c2b(0x16e)][_0x2f3c2b(0x122)](_0x49fe65),_0x5f48d9=await _0x2a141f[_0x2f3c2b(0x14d)](_0x77e79a);await this[_0x2f3c2b(0x12d)](_0x5f48d9);const _0x3538db=new Set(Array[_0x2f3c2b(0x11e)](_0x57d3c9[_0x2f3c2b(0x123)]({'channelId':_0x49fe65}),_0x3d1106=>_0x3d1106['id']));for(const _0x33b562 of _0x5f48d9)_0x33b562[_0x2f3c2b(0x127)]||_0x3538db[_0x2f3c2b(0x14c)](_0x33b562[_0x2f3c2b(0x16b)]);for(const _0x230c95 of _0x3538db)_0x57d3c9[_0x2f3c2b(0x148)](_0x230c95)[_0x2f3c2b(0x125)]({'isFromAdapter':!0x0});for(const _0xbd2995 of _0x5f48d9){let _0x10539d=_0x57d3c9[_0x2f3c2b(0x148)](_0xbd2995[_0x2f3c2b(0x16b)]);const {commentThreadId:_0x4b793c,context:_0x100786,attributes:_0xdfe0fd,resolvedBy:_0x34a9b4,resolvedAt:_0x590556,unlinkedAt:_0x4f281a,deletedAt:_0x2da06f}=_0xbd2995;if(_0x2da06f)continue;_0x10539d||(_0x10539d=_0x57d3c9[_0x2f3c2b(0x143)]({'channelId':_0x49fe65,'threadId':_0x4b793c,'context':_0x100786,'attributes':_0xdfe0fd||{},'resolvedBy':_0x34a9b4,'resolvedAt':_0x590556,'unlinkedAt':_0x4f281a,'isFromAdapter':!0x0}));const _0x12e70c=new Set(Array[_0x2f3c2b(0x11e)](_0x10539d[_0x2f3c2b(0x151)],_0x24288e=>_0x24288e['id']));for(const _0x4d8d04 of _0xbd2995[_0x2f3c2b(0x151)])_0x12e70c[_0x2f3c2b(0x14c)](_0x4d8d04[_0x2f3c2b(0x128)]);for(const _0xe2cb48 of _0x12e70c)_0x10539d[_0x2f3c2b(0x11f)](_0xe2cb48)[_0x2f3c2b(0x125)]({'isFromAdapter':!0x0});for(const _0x2deb20 of _0xbd2995[_0x2f3c2b(0x151)]){const _0x3b1360=_0x10539d[_0x2f3c2b(0x11f)](_0x2deb20[_0x2f3c2b(0x128)]);_0x3b1360?_0x3b1360[_0x2f3c2b(0x154)]!==_0x2deb20[_0x2f3c2b(0x154)]&&_0x3b1360[_0x2f3c2b(0x138)]({'content':_0x2deb20[_0x2f3c2b(0x154)],'isFromAdapter':!0x0}):_0x10539d[_0x2f3c2b(0x114)](Object[_0x2f3c2b(0x15c)](st(_0x2deb20),{'isFromAdapter':!0x0}));}}}[_0x433317(0x13f)](_0x5a0c8c){const _0x3bee29=_0x433317;if(!this[_0x3bee29(0x16e)][_0x3bee29(0x110)](_0x5a0c8c))throw new _0xd7cddc(_0x3bee29(0x134),null,{'channelId':_0x5a0c8c});return this[_0x3bee29(0x16e)][_0x3bee29(0x122)](_0x5a0c8c);}async[_0x433317(0x12d)](_0x322569){const _0x597a3f=_0x433317,_0x490c7a=this[_0x597a3f(0x10f)][_0x597a3f(0x156)][_0x597a3f(0x122)](_0x107e48),{connection:_0x1e3cd8}=this[_0x597a3f(0x10f)][_0x597a3f(0x156)][_0x597a3f(0x122)](_0x540310),_0x3d6694=new Set();for(const {resolvedBy:_0x107357,comments:_0x986b02}of _0x322569){_0x107357&&!_0x490c7a[_0x597a3f(0x147)](_0x107357)&&_0x3d6694[_0x597a3f(0x131)](_0x107357);for(const {userId:_0x286edc}of _0x986b02)_0x490c7a[_0x597a3f(0x147)](_0x286edc)||_0x3d6694[_0x597a3f(0x131)](_0x286edc);}if(0x0===_0x3d6694[_0x597a3f(0x118)])return;const _0x4816e7=await _0x4b06dd[_0x597a3f(0x14e)](_0x1e3cd8,Array[_0x597a3f(0x11e)](_0x3d6694));for(const _0x4c96d5 of _0x4816e7)_0x490c7a[_0x597a3f(0x147)](_0x4c96d5['id'])||_0x490c7a[_0x597a3f(0x12f)](_0x4c96d5);}}async function ot(_0x350a20){const _0x288620=_0x433317;if(_0x288620(0x15f)!==_0x350a20[_0x288620(0x132)])throw _0x350a20;}function _0x5284(_0x418c90,_0x1871a3){const _0x595da7=_0x595d();return _0x5284=function(_0x5284c8,_0x420faa){_0x5284c8=_0x5284c8-0x10b;let _0x2c209e=_0x595da7[_0x5284c8];return _0x2c209e;},_0x5284(_0x418c90,_0x1871a3);}function nt(_0x5131f9){const _0x2d5095=_0x433317;if((_0x2fe44c=_0x5131f9)[_0x2d5095(0x13b)][_0x2d5095(0x16c)](_0x2d5095(0x117))||_0x2fe44c[_0x2d5095(0x13b)][_0x2d5095(0x16c)](_0x2d5095(0x11b))||_0x2fe44c[_0x2d5095(0x13b)][_0x2d5095(0x16c)](_0x2d5095(0x136)))return new Promise(()=>{});var _0x2fe44c;throw _0x5131f9;}function st(_0x4d9b91){const _0x48e2b2=_0x433317;return{'threadId':_0x4d9b91[_0x48e2b2(0x16b)],'commentId':_0x4d9b91[_0x48e2b2(0x128)],'content':_0x4d9b91[_0x48e2b2(0x154)],'createdAt':_0x4d9b91[_0x48e2b2(0x15d)],'authorId':_0x4d9b91[_0x48e2b2(0x144)],'attributes':_0x4d9b91[_0x48e2b2(0x150)]||{}};}
23
+ function _0x1d15(_0x4fd219,_0x16fb3a){const _0x1c52a4=_0x1c52();return _0x1d15=function(_0x1d1585,_0x240771){_0x1d1585=_0x1d1585-0x114;let _0x29e152=_0x1c52a4[_0x1d1585];return _0x29e152;},_0x1d15(_0x4fd219,_0x16fb3a);}const _0x3a4045=_0x1d15;(function(_0x1b4b0e,_0x37e2d4){const _0x27dd41=_0x1d15,_0x4b0a54=_0x1b4b0e();while(!![]){try{const _0x45ad8f=parseInt(_0x27dd41(0x117))/0x1+parseInt(_0x27dd41(0x13a))/0x2*(parseInt(_0x27dd41(0x148))/0x3)+parseInt(_0x27dd41(0x161))/0x4*(parseInt(_0x27dd41(0x12e))/0x5)+parseInt(_0x27dd41(0x140))/0x6*(parseInt(_0x27dd41(0x13d))/0x7)+parseInt(_0x27dd41(0x14e))/0x8*(-parseInt(_0x27dd41(0x11d))/0x9)+parseInt(_0x27dd41(0x116))/0xa+parseInt(_0x27dd41(0x159))/0xb*(-parseInt(_0x27dd41(0x11a))/0xc);if(_0x45ad8f===_0x37e2d4)break;else _0x4b0a54['push'](_0x4b0a54['shift']());}catch(_0x3b9b61){_0x4b0a54['push'](_0x4b0a54['shift']());}}}(_0x1c52,0x81a53));import{Context as _0x151e5e,ContextPlugin as _0x3b9e92}from'ckeditor5/src/core.js';import{CKEditorError as _0x55f625}from'ckeditor5/src/utils.js';import{Users as _0x48d760}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x19fdea,User as _0x17dd7e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xf2a1d0}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2436e9}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x3b9e92{static [_0x3a4045(0x16c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x19fdea)());[_0x3a4045(0x118)];static get[_0x3a4045(0x12b)](){const _0x1a5ae1=_0x3a4045;return[_0xf2a1d0,_0x1a5ae1(0x155),_0x2436e9,_0x48d760];}static get[_0x3a4045(0x14d)](){const _0x39c1c7=_0x3a4045;return _0x39c1c7(0x121);}static get[_0x3a4045(0x156)](){return!0x0;}static get[_0x3a4045(0x16b)](){return!0x0;}constructor(_0x17f041){const _0x3ccf7d=_0x3a4045;super(_0x17f041),this[_0x3ccf7d(0x118)]=new Map();}async[_0x3a4045(0x135)](){const _0x110579=_0x3a4045,_0x7cd52c=this[_0x110579(0x16e)],_0x327c51=_0x7cd52c[_0x110579(0x142)][_0x110579(0x15e)](_0x110579(0x155));if(_0x7cd52c[_0x110579(0x142)][_0x110579(0x15e)](_0xf2a1d0)[_0x110579(0x133)](this),_0x327c51[_0x110579(0x141)]={'addCommentThread':async({channelId:_0x219739,threadId:_0x42c635,comments:_0x50f051,resolvedAt:_0x1383f7,resolvedBy:_0x4c2ad2,context:_0x26d122,attributes:_0x289004})=>{const _0x103e60=_0x110579,_0x3b37c7=await this[_0x103e60(0x134)](_0x219739)[_0x103e60(0x123)]({'commentThreadId':_0x42c635,'comments':_0x50f051[_0x103e60(0x137)](_0x2efd19=>function(_0x18f9aa,_0x1caa0b,_0x752abe){const _0x10d364=_0x103e60;return{'commentThreadId':_0x752abe,'commentId':_0x18f9aa[_0x10d364(0x115)],'userId':_0x18f9aa[_0x10d364(0x15d)],'content':_0x18f9aa[_0x10d364(0x14a)],'documentId':_0x1caa0b,'createdAt':_0x18f9aa[_0x10d364(0x178)],'attributes':_0x18f9aa[_0x10d364(0x114)]||{}};}(_0x2efd19,_0x219739,_0x42c635)),'resolvedAt':_0x1383f7,'resolvedBy':_0x4c2ad2,'context':_0x26d122,'attributes':_0x289004})[_0x103e60(0x164)](tt);return{'threadId':_0x3b37c7[_0x103e60(0x12f)],'comments':_0x3b37c7[_0x103e60(0x147)]};},'getCommentThread':async({channelId:_0x27f0c3,threadId:_0x11dba2})=>{const _0x4acc6d=_0x110579,_0x413802=await this[_0x4acc6d(0x134)](_0x27f0c3)[_0x4acc6d(0x120)](_0x11dba2)[_0x4acc6d(0x164)](Z)[_0x4acc6d(0x164)](tt);return _0x413802?_0x413802[_0x4acc6d(0x14f)]?null:(await this[_0x4acc6d(0x13f)]([_0x413802]),{'threadId':_0x413802[_0x4acc6d(0x12f)],'comments':_0x413802[_0x4acc6d(0x147)][_0x4acc6d(0x137)](et),'context':_0x413802[_0x4acc6d(0x16e)],'resolvedAt':_0x413802[_0x4acc6d(0x177)],'resolvedBy':_0x413802[_0x4acc6d(0x167)],'attributes':_0x413802[_0x4acc6d(0x114)]||{}}):null;},'updateCommentThread':async({channelId:_0x19e60d,threadId:_0x23f3cc,context:_0xcc5b13,unlinkedAt:_0x14a595,attributes:_0x1cdb6b})=>this[_0x110579(0x134)](_0x19e60d)[_0x110579(0x11b)]({'commentThreadId':_0x23f3cc,'context':_0xcc5b13,'attributes':_0x1cdb6b,'unlinkedAt':_0x14a595})[_0x110579(0x164)](Z)[_0x110579(0x164)](tt),'resolveCommentThread':async({channelId:_0x4c9b29,threadId:_0x126cbc})=>{const _0x239cac=_0x110579,_0x5f0d21=await this[_0x239cac(0x134)](_0x4c9b29)[_0x239cac(0x163)](_0x126cbc)[_0x239cac(0x164)](Z)[_0x239cac(0x164)](tt);return{'threadId':_0x5f0d21[_0x239cac(0x12f)],'resolvedAt':_0x5f0d21[_0x239cac(0x177)],'resolvedBy':_0x5f0d21[_0x239cac(0x167)]};},'reopenCommentThread':async({channelId:_0x4b4593,threadId:_0x386019})=>this[_0x110579(0x134)](_0x4b4593)[_0x110579(0x119)](_0x386019)[_0x110579(0x164)](Z)[_0x110579(0x164)](tt),'removeCommentThread':({channelId:_0x3b7a70,threadId:_0x2255bc})=>this[_0x110579(0x134)](_0x3b7a70)[_0x110579(0x127)](_0x2255bc)[_0x110579(0x164)](Z)[_0x110579(0x164)](tt),'addComment':({channelId:_0x2911ad,threadId:_0x59e908,commentId:_0x3dc31a,content:_0xd17bc2,attributes:_0x3d3df0})=>this[_0x110579(0x134)](_0x2911ad)[_0x110579(0x129)](_0x59e908,_0x3dc31a,_0xd17bc2,_0x3d3df0)[_0x110579(0x164)](tt),'updateComment':({channelId:_0x15dc67,threadId:_0x19029d,commentId:_0x4190f2,content:_0x53cd8e,attributes:_0x56988b})=>this[_0x110579(0x134)](_0x15dc67)[_0x110579(0x13e)](_0x19029d,_0x4190f2,_0x53cd8e,_0x56988b)[_0x110579(0x164)](Z)[_0x110579(0x164)](tt),'removeComment':({channelId:_0x324b5b,threadId:_0x4e24a2,commentId:_0x3132e8})=>this[_0x110579(0x134)](_0x324b5b)[_0x110579(0x15a)](_0x4e24a2,_0x3132e8)[_0x110579(0x164)](Z)[_0x110579(0x164)](tt)},_0x7cd52c instanceof _0x151e5e){const _0x4bf4a6=_0x7cd52c[_0x110579(0x13b)][_0x110579(0x15e)](_0x110579(0x152)),_0xf82721=_0x7cd52c[_0x110579(0x142)][_0x110579(0x15e)](_0x2436e9);await this[_0x110579(0x169)](_0x4bf4a6);const _0x1491dd=await this[_0x110579(0x118)][_0x110579(0x15e)](_0x4bf4a6)[_0x110579(0x122)]();this[_0x110579(0x170)](_0xf82721,_0x110579(0x139)+_0x4bf4a6,(_0x6689ff,{session:_0x2ae491})=>{const _0x896521=_0x110579;_0x2ae491['id']===_0xf82721[_0x896521(0x13c)]&&(_0x6689ff[_0x896521(0x11f)](),this[_0x896521(0x16e)][_0x896521(0x142)][_0x896521(0x15e)](_0x896521(0x15f))[_0x896521(0x12c)](_0x2ae491[_0x896521(0x17b)],_0x4bf4a6));}),_0xf82721[_0x110579(0x160)](_0x4bf4a6,_0x1491dd);}}async[_0x3a4045(0x169)](_0x2ad478){const _0xf63b7e=_0x3a4045;if(this[_0xf63b7e(0x118)][_0xf63b7e(0x138)](_0x2ad478))throw new _0x55f625(_0xf63b7e(0x125),null,{'channelId':_0x2ad478});const _0x228701=this[_0xf63b7e(0x16e)][_0xf63b7e(0x142)][_0xf63b7e(0x15e)](_0xf63b7e(0x155)),_0x134127=new CloudServicesCommentsAdapter[(_0xf63b7e(0x16c))](_0x2ad478);this[_0xf63b7e(0x118)][_0xf63b7e(0x150)](_0x2ad478,_0x134127),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x143),(_0x43cfe2,_0x579d1e)=>{const _0x413d49=_0xf63b7e,{commentThreadId:_0x5eee92,documentId:_0x5b4707,context:_0x429920,attributes:_0x48be5f,resolvedAt:_0x4c53c7,resolvedBy:_0x59c409,comments:_0x558461}=_0x579d1e;_0x228701[_0x413d49(0x120)](_0x5eee92)||_0x228701[_0x413d49(0x123)]({'threadId':_0x5eee92,'channelId':_0x5b4707,'comments':_0x558461?_0x558461[_0x413d49(0x137)](et):[],'context':_0x429920,'attributes':_0x48be5f,'resolvedAt':_0x4c53c7,'resolvedBy':_0x59c409,'isFromAdapter':!0x0});}),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x173),(_0x23f73f,{commentThreadId:_0x4d49f1,documentId:_0x3c66da,context:_0x352fa6,unlinkedAt:_0x175c47,attributes:_0xd6dd81})=>{const _0xead3ba=_0xf63b7e;_0x228701[_0xead3ba(0x120)](_0x4d49f1)&&_0x228701[_0xead3ba(0x11b)]({'threadId':_0x4d49f1,'channelId':_0x3c66da,'context':_0x352fa6,'unlinkedAt':_0x175c47,'attributes':_0xd6dd81,'isFromAdapter':!0x0});}),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x16f),(_0x4e34e7,{commentThreadId:_0x3784be,resolvedBy:_0x55db5e,resolvedAt:_0x4062fc})=>{const _0x46e97c=_0xf63b7e,_0x43c222=_0x228701[_0x46e97c(0x120)](_0x3784be);_0x43c222&&_0x43c222[_0x46e97c(0x166)]({'resolvedBy':_0x55db5e,'resolvedAt':_0x4062fc,'isFromAdapter':!0x0});}),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x145),(_0x5eb04c,{commentThreadId:_0x2d4371})=>{const _0x481a44=_0xf63b7e,_0x3f3dd4=_0x228701[_0x481a44(0x120)](_0x2d4371);_0x3f3dd4&&_0x3f3dd4[_0x481a44(0x146)]({'isFromAdapter':!0x0});}),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x130),(_0xb6df9d,{commentThreadId:_0x11483d})=>{const _0x255eaa=_0xf63b7e,_0x53e1a5=_0x228701[_0x255eaa(0x120)](_0x11483d);_0x53e1a5&&_0x53e1a5[_0x255eaa(0x15c)]({'isFromAdapter':!0x0});}),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x154),(_0x4b9b64,_0x313147)=>{const _0x23c73f=_0xf63b7e,_0x22f8d7=_0x313147[_0x23c73f(0x12f)],_0x45d22e=_0x228701[_0x23c73f(0x120)](_0x22f8d7);_0x45d22e&&_0x45d22e[_0x23c73f(0x129)]({...et(_0x313147),'isFromAdapter':!0x0});}),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x11c),(_0x19b6da,{commentThreadId:_0x8a2353,commentId:_0x20bf2e,content:_0x30ce5d,attributes:_0xe77484})=>{const _0x254098=_0xf63b7e,_0x55b5c1=_0x228701[_0x254098(0x120)](_0x8a2353);if(_0x55b5c1){const _0xc59cfd=_0x55b5c1[_0x254098(0x16a)](_0x20bf2e);_0xc59cfd&&_0xc59cfd[_0x254098(0x14c)]({'content':_0x30ce5d,'attributes':_0xe77484,'isFromAdapter':!0x0});}}),this[_0xf63b7e(0x170)](_0x134127,_0xf63b7e(0x165),(_0xa6bb89,{commentThreadId:_0x1454e0,commentId:_0x5b2fd7})=>{const _0x217b7c=_0xf63b7e,_0x333952=_0x228701[_0x217b7c(0x120)](_0x1454e0);if(_0x333952){const _0x17d653=_0x333952[_0x217b7c(0x16a)](_0x5b2fd7);_0x17d653&&_0x17d653[_0x217b7c(0x15c)]({'isFromAdapter':!0x0});}}),await this[_0xf63b7e(0x174)](_0x2ad478);}[_0x3a4045(0x157)](){const _0x1d5c5e=_0x3a4045;if(this[_0x1d5c5e(0x16e)]instanceof _0x151e5e){const _0x803085=this[_0x1d5c5e(0x16e)][_0x1d5c5e(0x13b)][_0x1d5c5e(0x15e)](_0x1d5c5e(0x152));this[_0x1d5c5e(0x162)](_0x803085);}}[_0x3a4045(0x162)](_0x1086d4){const _0x128e02=_0x3a4045;if(!this[_0x128e02(0x118)][_0x128e02(0x138)](_0x1086d4))throw new _0x55f625(_0x128e02(0x149),null,{'channelId':_0x1086d4});this[_0x128e02(0x134)](_0x1086d4)[_0x128e02(0x171)](),this[_0x128e02(0x118)][_0x128e02(0x175)](_0x1086d4);}async[_0x3a4045(0x136)](){const _0x41a637=_0x3a4045;for(const _0x150b79 of this[_0x41a637(0x118)][_0x41a637(0x12d)]())await this[_0x41a637(0x174)](_0x150b79);if(this[_0x41a637(0x16e)]instanceof _0x151e5e){const _0x52d99c=this[_0x41a637(0x16e)][_0x41a637(0x13b)][_0x41a637(0x15e)](_0x41a637(0x152)),_0x3d98d6=this[_0x41a637(0x16e)][_0x41a637(0x142)][_0x41a637(0x15e)](_0x2436e9);_0x3d98d6[_0x41a637(0x128)](_0x52d99c);const _0x27538b=await this[_0x41a637(0x118)][_0x41a637(0x15e)](_0x52d99c)[_0x41a637(0x122)]();_0x3d98d6[_0x41a637(0x160)](_0x52d99c,_0x27538b);}}async[_0x3a4045(0x174)](_0x36177f){const _0x305473=_0x3a4045,{connection:_0x2119f9}=this[_0x305473(0x16e)][_0x305473(0x142)][_0x305473(0x15e)](_0xf2a1d0),_0x50bbf3=this[_0x305473(0x16e)][_0x305473(0x142)][_0x305473(0x15e)](_0x305473(0x155)),_0x23f10f=this[_0x305473(0x118)][_0x305473(0x15e)](_0x36177f),_0x6736b8=await _0x23f10f[_0x305473(0x126)](_0x2119f9);await this[_0x305473(0x13f)](_0x6736b8);const _0x280d0d=new Set(Array[_0x305473(0x144)](_0x50bbf3[_0x305473(0x124)]({'channelId':_0x36177f}),_0xbcb3cd=>_0xbcb3cd['id']));for(const _0x552642 of _0x6736b8)_0x552642[_0x305473(0x14f)]||_0x280d0d[_0x305473(0x175)](_0x552642[_0x305473(0x12f)]);for(const _0x429b19 of _0x280d0d)_0x50bbf3[_0x305473(0x120)](_0x429b19)[_0x305473(0x15c)]({'isFromAdapter':!0x0});for(const _0x5c5ec5 of _0x6736b8){let _0x39539b=_0x50bbf3[_0x305473(0x120)](_0x5c5ec5[_0x305473(0x12f)]);const {commentThreadId:_0x2b71a1,context:_0x3e99dd,attributes:_0x4e94d6,resolvedBy:_0x3fb526,resolvedAt:_0x47b65f,unlinkedAt:_0x5e7d0f,deletedAt:_0x400f0e}=_0x5c5ec5;if(_0x400f0e)continue;_0x39539b||(_0x39539b=_0x50bbf3[_0x305473(0x123)]({'channelId':_0x36177f,'threadId':_0x2b71a1,'context':_0x3e99dd,'attributes':_0x4e94d6||{},'resolvedBy':_0x3fb526,'resolvedAt':_0x47b65f,'unlinkedAt':_0x5e7d0f,'isFromAdapter':!0x0}));const _0x290e63=new Set(Array[_0x305473(0x144)](_0x39539b[_0x305473(0x147)],_0x227de1=>_0x227de1['id']));for(const _0x3691de of _0x5c5ec5[_0x305473(0x147)])_0x290e63[_0x305473(0x175)](_0x3691de[_0x305473(0x115)]);for(const _0x55160d of _0x290e63)_0x39539b[_0x305473(0x16a)](_0x55160d)[_0x305473(0x15c)]({'isFromAdapter':!0x0});for(const _0x2d9a3c of _0x5c5ec5[_0x305473(0x147)]){const _0x385924=_0x39539b[_0x305473(0x16a)](_0x2d9a3c[_0x305473(0x115)]);_0x385924?_0x385924[_0x305473(0x14a)]!==_0x2d9a3c[_0x305473(0x14a)]&&_0x385924[_0x305473(0x14c)]({'content':_0x2d9a3c[_0x305473(0x14a)],'isFromAdapter':!0x0}):_0x39539b[_0x305473(0x129)](Object[_0x305473(0x153)](et(_0x2d9a3c),{'isFromAdapter':!0x0}));}}}[_0x3a4045(0x134)](_0x5540a9){const _0x128147=_0x3a4045;if(!this[_0x128147(0x118)][_0x128147(0x138)](_0x5540a9))throw new _0x55f625(_0x128147(0x172),null,{'channelId':_0x5540a9});return this[_0x128147(0x118)][_0x128147(0x15e)](_0x5540a9);}async[_0x3a4045(0x13f)](_0x31eac5){const _0x4b5a8f=_0x3a4045,_0x19fc64=this[_0x4b5a8f(0x16e)][_0x4b5a8f(0x142)][_0x4b5a8f(0x15e)](_0x48d760),{connection:_0x3e1489}=this[_0x4b5a8f(0x16e)][_0x4b5a8f(0x142)][_0x4b5a8f(0x15e)](_0xf2a1d0),_0x570d88=new Set();for(const {resolvedBy:_0x4575f3,comments:_0x28d204}of _0x31eac5){_0x4575f3&&!_0x19fc64[_0x4b5a8f(0x176)](_0x4575f3)&&_0x570d88[_0x4b5a8f(0x179)](_0x4575f3);for(const {userId:_0x10c1f1}of _0x28d204)_0x19fc64[_0x4b5a8f(0x176)](_0x10c1f1)||_0x570d88[_0x4b5a8f(0x179)](_0x10c1f1);}if(0x0===_0x570d88[_0x4b5a8f(0x151)])return;const _0x31adeb=await _0x17dd7e[_0x4b5a8f(0x17a)](_0x3e1489,Array[_0x4b5a8f(0x144)](_0x570d88));for(const _0x2de1cd of _0x31adeb)_0x19fc64[_0x4b5a8f(0x176)](_0x2de1cd['id'])||_0x19fc64[_0x4b5a8f(0x14b)](_0x2de1cd);}}async function Z(_0x4481bb){const _0x3cf60a=_0x3a4045;if(_0x3cf60a(0x132)!==_0x4481bb[_0x3cf60a(0x168)])throw _0x4481bb;}function tt(_0x872223){const _0x1ecffc=_0x3a4045;if((_0x379543=_0x872223)[_0x1ecffc(0x15b)][_0x1ecffc(0x12a)](_0x1ecffc(0x11e))||_0x379543[_0x1ecffc(0x15b)][_0x1ecffc(0x12a)](_0x1ecffc(0x158))||_0x379543[_0x1ecffc(0x15b)][_0x1ecffc(0x12a)](_0x1ecffc(0x16d)))return new Promise(()=>{});var _0x379543;throw _0x872223;}function _0x1c52(){const _0x3d2381=['update','pluginName','2904FanzeJ','deletedAt','set','size','collaboration.channelId','assign','commentAdded','CommentsRepository','isOfficialPlugin','destroy','cloud-services-internal-error:\x20Not\x20connected.','198UUqjHo','removeComment','message','remove','authorId','get','Permissions','register','8YYNAuC','_terminateService','resolveCommentThread','catch','commentRemoved','resolve','resolvedBy','code','_setUpService','getComment','isPremiumPlugin','CommentsService','cloud-services-internal-error:\x20Request\x20timeout.','context','commentThreadResolved','listenTo','disconnect','cloudservicescommentsadapter-service-not-exist','commentThreadUpdated','_connectService','delete','getUser','resolvedAt','createdAt','add','getMany','permissions','attributes','commentId','8094160yScpIW','1005006LhPZWg','_services','reopenCommentThread','1546836Ovbwws','updateCommentThread','commentUpdated','15777gtrOSu','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','off','getCommentThread','CloudServicesCommentsAdapter','getConnectedSessions','addCommentThread','getCommentThreads','cloudservicescommentsadapter-connect-already-connected','connect','removeCommentThread','unregister','addComment','startsWith','requires','setPermissions','keys','2365030muooJK','commentThreadId','commentThreadRemoved','userId','404','addToReconnectionStack','_getService','init','reconnect','map','has','sessionAdd:','8SGQMaa','config','mySessionId','7ffEGmM','updateComment','_fetchMissingUsersForThreads','3649044aDNvRT','adapter','plugins','commentThreadAdded','from','commentThreadReopened','reopen','comments','89259DjALBw','cloudservicescommentsadapter-disconnect-not-exist','content','addUser'];_0x1c52=function(){return _0x3d2381;};return _0x1c52();}function et(_0x388907){const _0x283827=_0x3a4045;return{'threadId':_0x388907[_0x283827(0x12f)],'commentId':_0x388907[_0x283827(0x115)],'content':_0x388907[_0x283827(0x14a)],'createdAt':_0x388907[_0x283827(0x178)],'authorId':_0x388907[_0x283827(0x131)],'attributes':_0x388907[_0x283827(0x114)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4eb4(){const _0x53c1ce=['isPremiumPlugin','data','3929481ecNerT','_setUpService','244888hjAEwI','switchReadOnly','CommentsRepository','33KQQHzD','collaboration.channelId','CommentsEditing','5piZhNb','connected','isThreadsLoadingPaused','listenTo','_terminateService','Comments','1939653WbzjRj','2113028XgtYaD','2738634MprerY','change:state','destroy','RealTimeCollaborativeComments','14bgaWaT','isOfficialPlugin','46AwApsy','init','plugins','2930lqPEgC','config','get','once','requires','pluginName','ready','editor','12953YXqwvc'];_0x4eb4=function(){return _0x53c1ce;};return _0x4eb4();}const _0x2167b8=_0x4d70;(function(_0x6fba8e,_0x72a764){const _0x112171=_0x4d70,_0x1e3f9e=_0x6fba8e();while(!![]){try{const _0x2b015c=parseInt(_0x112171(0x8e))/0x1*(parseInt(_0x112171(0x83))/0x2)+parseInt(_0x112171(0x7b))/0x3+-parseInt(_0x112171(0x7c))/0x4*(parseInt(_0x112171(0x75))/0x5)+-parseInt(_0x112171(0x7d))/0x6+parseInt(_0x112171(0x81))/0x7*(-parseInt(_0x112171(0x93))/0x8)+parseInt(_0x112171(0x91))/0x9+parseInt(_0x112171(0x86))/0xa*(-parseInt(_0x112171(0x96))/0xb);if(_0x2b015c===_0x72a764)break;else _0x1e3f9e['push'](_0x1e3f9e['shift']());}catch(_0x2ef448){_0x1e3f9e['push'](_0x1e3f9e['shift']());}}}(_0x4eb4,0x519ca));import{Plugin as _0x76ac61}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2514d7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4d70(_0x2d793d,_0x30cf2e){const _0x4eb458=_0x4eb4();return _0x4d70=function(_0x4d70ef,_0x50f883){_0x4d70ef=_0x4d70ef-0x75;let _0xad9e9c=_0x4eb458[_0x4d70ef];return _0xad9e9c;},_0x4d70(_0x2d793d,_0x30cf2e);}import{RealTimeCollaborativeEditing as _0x2f7665}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x213c60}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x76ac61{static get[_0x2167b8(0x8a)](){const _0x936bdc=_0x2167b8;return[_0x936bdc(0x7a),_0x2514d7,_0x2f7665,_0x213c60];}static get[_0x2167b8(0x8b)](){const _0x2592be=_0x2167b8;return _0x2592be(0x80);}static get[_0x2167b8(0x82)](){return!0x0;}static get[_0x2167b8(0x8f)](){return!0x0;}[_0x2167b8(0x84)](){const _0x534e74=_0x2167b8,_0x43204d=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x213c60),_0x4f7195=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x534e74(0x98)),_0x2b4192=this[_0x534e74(0x8d)][_0x534e74(0x85)][_0x534e74(0x88)](_0x2514d7);return this[_0x534e74(0x8d)][_0x534e74(0x90)][_0x534e74(0x89)](_0x534e74(0x8c),()=>{const _0x657c21=_0x534e74;this[_0x657c21(0x78)](_0x43204d,_0x657c21(0x7e),(_0x2c7d14,_0x3273ea,_0x41e2e6)=>{const _0x320da1=_0x657c21;_0x4f7195[_0x320da1(0x77)]=_0x320da1(0x76)!==_0x41e2e6;});}),this[_0x534e74(0x78)](_0x43204d,_0x534e74(0x7e),(_0x4f6595,_0x338a1e,_0x34dc0f)=>{const _0x34f362=_0x534e74;this[_0x34f362(0x8d)][_0x34f362(0x85)][_0x34f362(0x88)](_0x34f362(0x95))[_0x34f362(0x94)](_0x34f362(0x76)!==_0x34dc0f);}),_0x2b4192[_0x534e74(0x92)](this[_0x534e74(0x8d)][_0x534e74(0x87)][_0x534e74(0x88)](_0x534e74(0x97)));}[_0x2167b8(0x7f)](){const _0x18372a=_0x2167b8;this[_0x18372a(0x8d)][_0x18372a(0x85)][_0x18372a(0x88)](_0x2514d7)[_0x18372a(0x79)](this[_0x18372a(0x8d)][_0x18372a(0x87)][_0x18372a(0x88)](_0x18372a(0x97))),super[_0x18372a(0x7f)]();}}
23
+ const _0xe9c3ad=_0x2737;(function(_0x316e21,_0x3d6976){const _0xb30ee1=_0x2737,_0x1d2f25=_0x316e21();while(!![]){try{const _0x268ad9=-parseInt(_0xb30ee1(0xd0))/0x1+-parseInt(_0xb30ee1(0xd6))/0x2*(parseInt(_0xb30ee1(0xcb))/0x3)+parseInt(_0xb30ee1(0xc5))/0x4*(parseInt(_0xb30ee1(0xe4))/0x5)+parseInt(_0xb30ee1(0xd3))/0x6*(parseInt(_0xb30ee1(0xdf))/0x7)+parseInt(_0xb30ee1(0xd4))/0x8+parseInt(_0xb30ee1(0xe7))/0x9*(-parseInt(_0xb30ee1(0xe3))/0xa)+parseInt(_0xb30ee1(0xdb))/0xb*(parseInt(_0xb30ee1(0xe9))/0xc);if(_0x268ad9===_0x3d6976)break;else _0x1d2f25['push'](_0x1d2f25['shift']());}catch(_0xf557d3){_0x1d2f25['push'](_0x1d2f25['shift']());}}}(_0x2f75,0xdc021));import{Plugin as _0xdc7775}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x295b67}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x5010c6}from'./realtimecollaborativeediting.js';function _0x2f75(){const _0xfb9d14=['_setUpService','change:state','data','548089sRioPY','pluginName','isPremiumPlugin','40182pEyBZh','3965744DWDZsb','CommentsRepository','554rIZhlG','plugins','CommentsEditing','once','collaboration.channelId','3150433pTpalY','isOfficialPlugin','isThreadsLoadingPaused','switchReadOnly','1393ezBnsf','get','listenTo','ready','10VjPVZy','11640QzDMIJ','editor','Comments','9104031Otjluu','config','12ikGzAz','752yGexNX','requires','init','connected','RealTimeCollaborativeComments','_terminateService','993QTkqOB','destroy'];_0x2f75=function(){return _0xfb9d14;};return _0x2f75();}import{WebSocketGateway as _0x4271f0}from'./realtimecollaborativeediting/websocketgateway.js';function _0x2737(_0x4fbe55,_0x5e9981){const _0x2f753e=_0x2f75();return _0x2737=function(_0x273720,_0x543e77){_0x273720=_0x273720-0xc5;let _0x41d35f=_0x2f753e[_0x273720];return _0x41d35f;},_0x2737(_0x4fbe55,_0x5e9981);}export class RealTimeCollaborativeComments extends _0xdc7775{static get[_0xe9c3ad(0xc6)](){const _0x4695b9=_0xe9c3ad;return[_0x4695b9(0xe6),_0x295b67,_0x5010c6,_0x4271f0];}static get[_0xe9c3ad(0xd1)](){const _0x5ab702=_0xe9c3ad;return _0x5ab702(0xc9);}static get[_0xe9c3ad(0xdc)](){return!0x0;}static get[_0xe9c3ad(0xd2)](){return!0x0;}[_0xe9c3ad(0xc7)](){const _0x4e033c=_0xe9c3ad,_0x30f50e=this[_0x4e033c(0xe5)][_0x4e033c(0xd7)][_0x4e033c(0xe0)](_0x4271f0),_0x3adae1=this[_0x4e033c(0xe5)][_0x4e033c(0xd7)][_0x4e033c(0xe0)](_0x4e033c(0xd8)),_0x48a8cf=this[_0x4e033c(0xe5)][_0x4e033c(0xd7)][_0x4e033c(0xe0)](_0x295b67);return this[_0x4e033c(0xe5)][_0x4e033c(0xcf)][_0x4e033c(0xd9)](_0x4e033c(0xe2),()=>{const _0x5571a6=_0x4e033c;this[_0x5571a6(0xe1)](_0x30f50e,_0x5571a6(0xce),(_0x2c9d2a,_0x446cc8,_0x387e41)=>{const _0x157259=_0x5571a6;_0x3adae1[_0x157259(0xdd)]=_0x157259(0xc8)!==_0x387e41;});}),this[_0x4e033c(0xe1)](_0x30f50e,_0x4e033c(0xce),(_0x5008bc,_0x419410,_0x1d5ca6)=>{const _0x501339=_0x4e033c;this[_0x501339(0xe5)][_0x501339(0xd7)][_0x501339(0xe0)](_0x501339(0xd5))[_0x501339(0xde)](_0x501339(0xc8)!==_0x1d5ca6);}),_0x48a8cf[_0x4e033c(0xcd)](this[_0x4e033c(0xe5)][_0x4e033c(0xe8)][_0x4e033c(0xe0)](_0x4e033c(0xda)));}[_0xe9c3ad(0xcc)](){const _0x21932f=_0xe9c3ad;this[_0x21932f(0xe5)][_0x21932f(0xd7)][_0x21932f(0xe0)](_0x295b67)[_0x21932f(0xca)](this[_0x21932f(0xe5)][_0x21932f(0xe8)][_0x21932f(0xe0)](_0x21932f(0xda))),super[_0x21932f(0xcc)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21f83e=_0x37f2;(function(_0x3e6284,_0x3f41ee){const _0x320894=_0x37f2,_0x12794=_0x3e6284();while(!![]){try{const _0x60cd8=-parseInt(_0x320894(0x258))/0x1*(parseInt(_0x320894(0x21e))/0x2)+-parseInt(_0x320894(0x27b))/0x3+-parseInt(_0x320894(0x232))/0x4+-parseInt(_0x320894(0x259))/0x5*(parseInt(_0x320894(0x298))/0x6)+-parseInt(_0x320894(0x254))/0x7+parseInt(_0x320894(0x244))/0x8+parseInt(_0x320894(0x28c))/0x9;if(_0x60cd8===_0x3f41ee)break;else _0x12794['push'](_0x12794['shift']());}catch(_0x570b4d){_0x12794['push'](_0x12794['shift']());}}}(_0x5c7d,0xc2522));import{Plugin as _0x4725cd,PendingActions as _0x40874c}from'ckeditor5/src/core.js';import{CKEditorError as _0x1518bb,version as _0x86a83,uid as _0x21fa48}from'ckeditor5/src/utils.js';import{Notification as _0x25b24f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x759bf5,NoOperation as _0xc6fb9a,InsertOperation as _0x1e1af8,MarkerOperation as _0x93d634,RootAttributeOperation as _0x2e732a,OperationFactory as _0x2b858a,History as _0x3aff79}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a4867}from'./websocketgateway.js';import{Sessions as _0x206175}from'./sessions.js';function _0x37f2(_0x4f8594,_0x5acc1c){const _0x5c7de6=_0x5c7d();return _0x37f2=function(_0x37f2cb,_0x254e12){_0x37f2cb=_0x37f2cb-0x1d1;let _0x48c31b=_0x5c7de6[_0x37f2cb];return _0x48c31b;},_0x37f2(_0x4f8594,_0x5acc1c);}import{UserMarkers as _0x5660d6}from'./usermarkers.js';import{getTranslation as _0x4ec715}from'../common-translations.js';import{Compressor as _0x8e99b2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x24b224}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x59374b,CollaborativeEditingService as _0x2abccd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;export class RealTimeCollaborationClient extends _0x4725cd{static [_0x21f83e(0x1e0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2abccd)());[_0x21f83e(0x1f0)];[_0x21f83e(0x28d)];[_0x21f83e(0x24f)];[_0x21f83e(0x2af)];[_0x21f83e(0x2b0)];[_0x21f83e(0x2c0)];[_0x21f83e(0x2ab)];[_0x21f83e(0x206)];[_0x21f83e(0x216)];[_0x21f83e(0x2cc)];[_0x21f83e(0x28a)];[_0x21f83e(0x260)];[_0x21f83e(0x24a)];[_0x21f83e(0x226)];[_0x21f83e(0x2b8)];[_0x21f83e(0x2a0)];[_0x21f83e(0x288)];[_0x21f83e(0x20a)];static get[_0x21f83e(0x267)](){return[_0x1a4867,_0x206175,_0x5660d6,_0x40874c,_0x24b224,_0x25b24f];}static get[_0x21f83e(0x204)](){const _0x33024d=_0x21f83e;return _0x33024d(0x1ff);}static get[_0x21f83e(0x25f)](){return!0x0;}static get[_0x21f83e(0x203)](){return!0x0;}get[_0x21f83e(0x210)](){const _0x2d34a0=_0x21f83e;return this[_0x2d34a0(0x1d2)]+this[_0x2d34a0(0x1f0)];}get[_0x21f83e(0x1d2)](){const _0x4f0e7a=_0x21f83e;return this[_0x4f0e7a(0x24f)][_0x4f0e7a(0x2a2)]-this[_0x4f0e7a(0x1f0)];}get[_0x21f83e(0x234)](){const _0x14bbcc=_0x21f83e,_0x2dc65e=this[_0x14bbcc(0x24f)][_0x14bbcc(0x246)]();for(let _0x370f2b=_0x2dc65e[_0x14bbcc(0x266)]-0x1;_0x370f2b>=0x0;_0x370f2b--){const _0x208f20=_0x2dc65e[_0x370f2b];if(!this[_0x14bbcc(0x288)][_0x14bbcc(0x1d8)](_0x208f20))return _0x208f20[_0x14bbcc(0x29d)]+0x1-this[_0x14bbcc(0x1f0)];}return 0x0;}constructor(_0x2bc380){const _0x56b940=_0x21f83e;if(super(_0x2bc380),this[_0x56b940(0x1f0)]=0x0,this[_0x56b940(0x28d)]=null,this[_0x56b940(0x24f)]=new _0x3aff79(),this[_0x56b940(0x1fa)][_0x56b940(0x278)][_0x56b940(0x290)](_0x56b940(0x2bd),{}),this[_0x56b940(0x2af)]=this[_0x56b940(0x1fa)][_0x56b940(0x278)][_0x56b940(0x289)](_0x56b940(0x285)),!this[_0x56b940(0x2af)])throw new _0x1518bb(_0x56b940(0x2aa),this);const _0x3f4951=_0x2bc380[_0x56b940(0x278)][_0x56b940(0x289)](_0x56b940(0x27c))||_0x86a83;this[_0x56b940(0x2b0)]=new RealTimeCollaborationClient[(_0x56b940(0x1e0))](_0x3f4951,this[_0x56b940(0x2af)]),this[_0x56b940(0x2c0)]=this[_0x56b940(0x1fa)][_0x56b940(0x241)][_0x56b940(0x1e4)],this[_0x56b940(0x2ab)]=new _0x8e99b2(),this[_0x56b940(0x206)]=[],this[_0x56b940(0x216)]=new WeakSet(),this[_0x56b940(0x2cc)]=new Set(),this[_0x56b940(0x251)](_0x56b940(0x1e3),!0x1),this[_0x56b940(0x251)](_0x56b940(0x265),!0x1),this[_0x56b940(0x28a)]=null,this[_0x56b940(0x260)]=!0x1,this[_0x56b940(0x24a)]=null,this[_0x56b940(0x226)]=0x12c,this[_0x56b940(0x2b8)]=this[_0x56b940(0x226)],this[_0x56b940(0x2a0)]=null,this[_0x56b940(0x288)]=new WeakSet(),this[_0x56b940(0x20a)]=new U(this[_0x56b940(0x288)]);}[_0x21f83e(0x1e1)](){const _0x55a1e7=_0x21f83e,_0x5c96d4=this[_0x55a1e7(0x1fa)],_0x4dd33e=_0x5c96d4[_0x55a1e7(0x20b)][_0x55a1e7(0x289)](_0x24b224),_0x896562=_0x5c96d4[_0x55a1e7(0x20b)][_0x55a1e7(0x289)](_0x1a4867);this[_0x55a1e7(0x21d)](_0x4dd33e,_0x55a1e7(0x1d1),(_0x3c60e2,_0x312e48)=>{const _0x18bb7b=_0x55a1e7,_0x1acd81=_0x312e48[0x0];_0x1acd81[_0x18bb7b(0x252)]&&(_0x3c60e2[_0x18bb7b(0x2c5)]=_0x4dd33e[_0x18bb7b(0x1e8)](_0x1acd81[_0x18bb7b(0x252)]),_0x3c60e2[_0x18bb7b(0x230)]()),null===_0x1acd81[_0x18bb7b(0x252)]&&(_0x3c60e2[_0x18bb7b(0x2c5)]=null,_0x3c60e2[_0x18bb7b(0x230)]());},{'priority':_0x55a1e7(0x23a)}),this[_0x55a1e7(0x21d)](_0x5c96d4[_0x55a1e7(0x241)][_0x55a1e7(0x1e4)][_0x55a1e7(0x255)],_0x55a1e7(0x238),(_0x48977a,_0x470739)=>{const _0x51dfe4=_0x55a1e7;_0x470739[_0x51dfe4(0x295)]&&this[_0x51dfe4(0x2bf)]();}),this[_0x55a1e7(0x21d)](_0x5c96d4[_0x55a1e7(0x24b)][_0x55a1e7(0x2d0)],_0x55a1e7(0x2cd),()=>{const _0xea0069=_0x55a1e7;this[_0xea0069(0x2bf)]();}),this[_0x55a1e7(0x284)](),_0x5c96d4[_0x55a1e7(0x241)]['on'](_0x55a1e7(0x270),(_0x4f1109,_0x28ba53)=>{const _0x2b764e=_0x55a1e7,_0x2df5cb=_0x28ba53[0x0];_0x2df5cb[_0x2b764e(0x257)]&&(this[_0x2b764e(0x243)](_0x2df5cb),this[_0x2b764e(0x272)]()&&this[_0x2b764e(0x1fe)]());}),this[_0x55a1e7(0x2c7)](),this[_0x55a1e7(0x277)](_0x55a1e7(0x1fd))['to'](_0x896562,_0x55a1e7(0x249),this,_0x55a1e7(0x265),(_0x20fc3b,_0xf07c89)=>_0x55a1e7(0x2b7)===_0x20fc3b&&!_0xf07c89),this['on'](_0x55a1e7(0x245),()=>{const _0x388e7b=_0x55a1e7;this[_0x388e7b(0x1fd)]?_0x5c96d4[_0x388e7b(0x2cf)](_0x388e7b(0x1d6)):_0x5c96d4[_0x388e7b(0x205)](_0x388e7b(0x1d6));}),this[_0x55a1e7(0x1fd)]?_0x5c96d4[_0x55a1e7(0x2cf)](_0x55a1e7(0x1d6)):_0x5c96d4[_0x55a1e7(0x205)](_0x55a1e7(0x1d6)),this[_0x55a1e7(0x251)](_0x55a1e7(0x1da),!0x1);}async[_0x21f83e(0x291)](){const _0x52dd59=_0x21f83e,_0x3c9424=this[_0x52dd59(0x1fa)][_0x52dd59(0x20b)][_0x52dd59(0x289)](_0x206175),_0x1de4e9=this[_0x52dd59(0x1fa)][_0x52dd59(0x20b)][_0x52dd59(0x289)](_0x1a4867);try{this[_0x52dd59(0x1e3)]=!0x0,_0x3c9424[_0x52dd59(0x1f9)](this[_0x52dd59(0x2af)]);const _0x4f96f9=await this[_0x52dd59(0x2b0)][_0x52dd59(0x291)](_0x1de4e9[_0x52dd59(0x218)],this[_0x52dd59(0x234)]);await this[_0x52dd59(0x26f)](_0x4f96f9)&&(this[_0x52dd59(0x1e3)]=!0x1,this[_0x52dd59(0x225)]());const _0x324242=await this[_0x52dd59(0x2b0)][_0x52dd59(0x2c9)]();_0x3c9424[_0x52dd59(0x256)](this[_0x52dd59(0x2af)],_0x324242),this[_0x52dd59(0x27d)](),this[_0x52dd59(0x1da)]=!0x0;}catch(_0x316637){if(function(_0x2fc3ed){const _0xdb0273=_0x52dd59;return _0xdb0273(0x269)===_0x2fc3ed[_0xdb0273(0x215)];}(_0x316637)&&this[_0x52dd59(0x28d)])await this[_0x52dd59(0x279)]();else{if(function(_0x18d0ae){const _0x2b798e=_0x52dd59;return _0x2b798e(0x23b)===_0x18d0ae[_0x2b798e(0x215)];}(_0x316637)){const _0x3e32c7=_0x4ec715(this[_0x52dd59(0x1fa)][_0x52dd59(0x281)],_0x52dd59(0x2d4));this[_0x52dd59(0x296)](_0x3e32c7);}else{if(!(_0x316637 instanceof D))throw _0x316637;this[_0x52dd59(0x296)]();}}}}[_0x21f83e(0x294)](){const _0x405a7e=_0x21f83e,_0x44cfc5=this[_0x405a7e(0x1fa)][_0x405a7e(0x20b)][_0x405a7e(0x289)](_0x1a4867),_0x1d6a08=this[_0x405a7e(0x1fa)][_0x405a7e(0x20b)][_0x405a7e(0x289)](_0x206175);this[_0x405a7e(0x1fa)][_0x405a7e(0x205)](_0x405a7e(0x25a)),_0x1d6a08[_0x405a7e(0x2ce)][_0x405a7e(0x1d8)](this[_0x405a7e(0x2af)])&&_0x1d6a08[_0x405a7e(0x1f9)](this[_0x405a7e(0x2af)]),_0x44cfc5[_0x405a7e(0x2b4)](this),this[_0x405a7e(0x2a5)](),super[_0x405a7e(0x294)]();}async[_0x21f83e(0x26f)](_0x188e60){const _0x47a54e=_0x21f83e;if(this[_0x47a54e(0x28d)]!==_0x188e60[_0x47a54e(0x28d)]&&this[_0x47a54e(0x2a0)]!==_0x188e60[_0x47a54e(0x25e)])throw new D();return this[_0x47a54e(0x28d)]=_0x188e60[_0x47a54e(0x28d)],this[_0x47a54e(0x211)]([],{..._0x188e60,'wereChangesApplied':!0x1,'data':_0x188e60[_0x47a54e(0x23e)]},_0x47a54e(0x291));}async[_0x21f83e(0x280)](_0x3d795f,_0x233142=!0x1){const _0x239a9e=_0x21f83e,{connection:_0x5258c0}=this[_0x239a9e(0x1fa)][_0x239a9e(0x20b)][_0x239a9e(0x289)](_0x1a4867);RealTimeCollaborationClient[_0x239a9e(0x1e0)][_0x239a9e(0x2c9)](_0x5258c0,this[_0x239a9e(0x2af)])[_0x239a9e(0x297)](_0x5e8462=>this[_0x239a9e(0x27f)](_0x5e8462))[_0x239a9e(0x271)](_0x4f2e97=>{const _0x4cf5b4=_0x239a9e;this[_0x4cf5b4(0x21b)](_0x4cf5b4(0x29b),_0x4f2e97);}),this[_0x239a9e(0x21d)](this[_0x239a9e(0x2b0)],_0x239a9e(0x286),this[_0x239a9e(0x292)][_0x239a9e(0x277)](this)),this[_0x239a9e(0x21d)](this[_0x239a9e(0x2b0)],_0x239a9e(0x2cb),(_0x546490,_0x1299d6)=>{const _0xdb960=_0x239a9e;this[_0xdb960(0x21b)](_0xdb960(0x2a8),_0x1299d6);}),this[_0x239a9e(0x21d)](this[_0x239a9e(0x2b0)],_0x239a9e(0x1fc),()=>{const _0x51d8d1=_0x239a9e;this[_0x51d8d1(0x1da)]=!0x1;});const _0x406720=this[_0x239a9e(0x20a)][_0x239a9e(0x2ba)](_0x3d795f);this[_0x239a9e(0x1e3)]=!0x0;const _0x2e81c8=await this[_0x239a9e(0x2b0)][_0x239a9e(0x1d5)](_0x5258c0,this[_0x239a9e(0x2b2)](_0x3d795f),_0x406720);if(this[_0x239a9e(0x28d)]=_0x2e81c8[_0x239a9e(0x28d)],_0x233142){if(!_0x2e81c8[_0x239a9e(0x22f)])return void this[_0x239a9e(0x296)]();this[_0x239a9e(0x1e3)]=!0x1,this[_0x239a9e(0x225)](),this[_0x239a9e(0x24f)][_0x239a9e(0x222)](),this[_0x239a9e(0x1f0)]=_0x2e81c8[_0x239a9e(0x1de)],this[_0x239a9e(0x24f)][_0x239a9e(0x2a2)]=this[_0x239a9e(0x1f0)],await this[_0x239a9e(0x211)](_0x3d795f,_0x2e81c8,_0x239a9e(0x26a));}else await this[_0x239a9e(0x231)](_0x2e81c8,_0x3d795f);this[_0x239a9e(0x27d)](),this[_0x239a9e(0x1da)]=!0x0;}[_0x21f83e(0x27d)](){const _0x209970=_0x21f83e,_0x3cc189=this[_0x209970(0x1fa)][_0x209970(0x20b)][_0x209970(0x289)](_0x206175),_0x1d6ee0=this[_0x209970(0x1fa)][_0x209970(0x20b)][_0x209970(0x289)](_0x5660d6),_0x4c5ac9=_0x3cc189[_0x209970(0x2ce)][_0x209970(0x289)](this[_0x209970(0x2af)]);_0x4c5ac9&&_0x4c5ac9[_0x209970(0x266)]>0x1?_0x1d6ee0[_0x209970(0x239)]():this[_0x209970(0x21d)](_0x3cc189,_0x209970(0x1e6)+this[_0x209970(0x2af)],()=>{const _0x45b0a6=_0x209970;0x2===_0x3cc189[_0x45b0a6(0x2ce)][_0x45b0a6(0x289)](this[_0x45b0a6(0x2af)])[_0x45b0a6(0x266)]&&_0x1d6ee0[_0x45b0a6(0x239)]();});}async[_0x21f83e(0x292)](_0x58195b,_0x446ae1,_0x3ed446,_0x420153){const _0x399ce5=_0x21f83e;if(!this[_0x399ce5(0x1e3)]&&this[_0x399ce5(0x2c0)][_0x399ce5(0x2a2)]==_0x446ae1){const _0x4466d0=this[_0x399ce5(0x209)](_0x3ed446,_0x420153);await this[_0x399ce5(0x1ed)](_0x4466d0),this[_0x399ce5(0x24c)](_0x4466d0,_0x446ae1,_0x3ed446[_0x399ce5(0x25e)])||this[_0x399ce5(0x21b)](_0x399ce5(0x2ca));}}async[_0x21f83e(0x279)](){const _0x31cfb2=_0x21f83e;this[_0x31cfb2(0x2a5)]();const {locale:_0x505c67}=this[_0x31cfb2(0x1fa)];let _0xf51e97;try{_0xf51e97=await this[_0x31cfb2(0x2b0)][_0x31cfb2(0x25c)]();}catch{const _0x5615ad=_0x4ec715(_0x505c67,_0x31cfb2(0x21a));return void this[_0x31cfb2(0x296)](_0x5615ad);}const _0x4cbd0c=_0xf51e97[_0x31cfb2(0x224)]||_0xf51e97[_0x31cfb2(0x2c1)];if(this[_0x31cfb2(0x2a0)]!==_0x4cbd0c[_0x31cfb2(0x25e)]){const _0x4345df=_0x4ec715(_0x505c67,_0x31cfb2(0x29c));return void this[_0x31cfb2(0x296)](_0x4345df);}await this[_0x31cfb2(0x280)](this[_0x31cfb2(0x1fa)][_0x31cfb2(0x241)][_0x31cfb2(0x1e4)][_0x31cfb2(0x2d2)][_0x31cfb2(0x246)](),!0x0);}[_0x21f83e(0x2a5)](){const _0x413453=_0x21f83e;this[_0x413453(0x2b0)][_0x413453(0x208)](),this[_0x413453(0x206)]=[],clearTimeout(this[_0x413453(0x24a)]),this[_0x413453(0x1f5)](this[_0x413453(0x2b0)]);}[_0x21f83e(0x27f)](_0x4d10a5){const _0x19c857=_0x21f83e,_0x1a41a7=this[_0x19c857(0x1fa)][_0x19c857(0x20b)][_0x19c857(0x289)](_0x206175);this[_0x19c857(0x21d)](_0x1a41a7,_0x19c857(0x1e6)+this[_0x19c857(0x2af)],(_0x40716b,{session:_0x5362bf})=>{const _0x33b998=_0x19c857;if(_0x5362bf['id']===_0x1a41a7[_0x33b998(0x1d7)]){_0x40716b[_0x33b998(0x2c4)]();const _0x3cd19e=this[_0x33b998(0x1fa)][_0x33b998(0x20b)][_0x33b998(0x1d8)](_0x33b998(0x240))&&this[_0x33b998(0x1fa)][_0x33b998(0x20b)][_0x33b998(0x289)](_0x33b998(0x240));let _0x1de770=_0x5362bf[_0x33b998(0x2a7)];_0x3cd19e&&_0x3cd19e[_0x33b998(0x20c)]&&(_0x1de770=_0x1de770[_0x33b998(0x2a4)](_0x54d14f=>_0x33b998(0x22b)!==_0x54d14f)),this[_0x33b998(0x1fa)][_0x33b998(0x20b)][_0x33b998(0x289)](_0x33b998(0x275))[_0x33b998(0x22e)](_0x1de770,this[_0x33b998(0x2af)]);}}),_0x1a41a7[_0x19c857(0x256)](this[_0x19c857(0x2af)],_0x4d10a5);}[_0x21f83e(0x284)](){const _0x456596=_0x21f83e,_0x50dda0=this[_0x456596(0x1fa)][_0x456596(0x23e)][_0x456596(0x251)];this[_0x456596(0x1fa)][_0x456596(0x23e)][_0x456596(0x251)]=(..._0x45804a)=>{const _0x29cf25=_0x456596;if(!_0x45804a[_0x45804a[_0x29cf25(0x266)]-0x1][_0x29cf25(0x283)])throw new _0x1518bb(_0x29cf25(0x1f8),this);_0x50dda0[_0x29cf25(0x201)](this[_0x29cf25(0x1fa)][_0x29cf25(0x23e)],_0x45804a);};}[_0x21f83e(0x2c7)](){const _0xc3e957=_0x21f83e;this[_0xc3e957(0x1fa)][_0xc3e957(0x23e)]['on'](_0xc3e957(0x1e1),(_0x2f75aa,[_0x36e2ce])=>{const _0xff3d3f=_0xc3e957;if(this[_0xff3d3f(0x2c0)][_0xff3d3f(0x2a2)])throw new _0x1518bb(_0xff3d3f(0x264),this);_0x2f75aa[_0xff3d3f(0x230)](),this[_0xff3d3f(0x23f)]();const _0x57aac8=this[_0xff3d3f(0x1fa)][_0xff3d3f(0x278)][_0xff3d3f(0x289)](_0xff3d3f(0x1ee)),_0x59b488=this[_0xff3d3f(0x1f6)](_0x36e2ce,_0x57aac8);0x0==_0x59b488[_0xff3d3f(0x266)]&&_0x59b488[_0xff3d3f(0x2a9)](new _0xc6fb9a(0x0)),_0x2f75aa[_0xff3d3f(0x2c5)]=this[_0xff3d3f(0x280)](_0x59b488)[_0xff3d3f(0x297)](()=>{const _0x28909b=_0xff3d3f;this[_0x28909b(0x1fa)][_0x28909b(0x20b)][_0x28909b(0x289)](_0x1a4867)[_0x28909b(0x26d)](this),this[_0x28909b(0x1fa)][_0x28909b(0x23e)][_0x28909b(0x2d5)](_0x28909b(0x22d));})[_0xff3d3f(0x271)](_0x364b0d=>this[_0xff3d3f(0x21b)](_0xff3d3f(0x1d4),_0x364b0d))[_0xff3d3f(0x1e9)](()=>this[_0xff3d3f(0x225)]());},{'priority':_0xc3e957(0x23a)}),this[_0xc3e957(0x1fa)]['on'](_0xc3e957(0x200),async(_0x3f2451,[_0x45cf16,_0x4afeac])=>{const _0xd7a732=_0xc3e957;_0x3f2451[_0xd7a732(0x230)]();const _0x1f1c01=this[_0xd7a732(0x1fa)][_0xd7a732(0x241)][_0xd7a732(0x1e4)][_0xd7a732(0x235)](_0x45cf16);if(!this[_0xd7a732(0x2cc)][_0xd7a732(0x1d8)](_0x45cf16)){const _0x69bf6d=_0x4afeac&&_0x4afeac[_0xd7a732(0x23e)]?_0x4afeac[_0xd7a732(0x23e)]:'',_0x16ab22=_0x4afeac&&_0x4afeac[_0xd7a732(0x299)]?_0x4afeac[_0xd7a732(0x299)]:{};await this[_0xd7a732(0x2a1)](_0x45cf16,_0x69bf6d,_0x16ab22);}this[_0xd7a732(0x1fa)][_0xd7a732(0x241)][_0xd7a732(0x2b6)]({'isUndoable':!0x1},()=>{const _0x3e060f=_0xd7a732;_0x1f1c01[_0x3e060f(0x207)]=!0x0,this[_0x3e060f(0x1fa)][_0x3e060f(0x241)][_0x3e060f(0x1e4)][_0x3e060f(0x214)][_0x3e060f(0x262)](_0x1f1c01);});},{'priority':_0xc3e957(0x23a)});}async[_0x21f83e(0x1ed)](_0x2090b5){const _0x39b483=_0x21f83e,_0x5eebae=this[_0x39b483(0x1fa)][_0x39b483(0x20b)][_0x39b483(0x289)](_0x24b224),{connection:_0x3677ae}=this[_0x39b483(0x1fa)][_0x39b483(0x20b)][_0x39b483(0x289)](_0x1a4867),_0x2c86d0=new Set();for(const _0x400a28 of _0x2090b5){const _0x2d3104=_0x400a28[_0x39b483(0x252)];_0x2d3104&&!_0x5eebae[_0x39b483(0x1e8)](_0x2d3104)&&_0x2c86d0[_0x39b483(0x25d)](_0x2d3104);}if(0x0===_0x2c86d0[_0x39b483(0x213)])return;const _0x4a0a0d=await _0x59374b[_0x39b483(0x1dc)](_0x3677ae,Array[_0x39b483(0x2b5)](_0x2c86d0));for(const _0xd6c2e0 of _0x4a0a0d)_0x5eebae[_0x39b483(0x1e8)](_0xd6c2e0['id'])||_0x5eebae[_0x39b483(0x22c)](_0xd6c2e0);}[_0x21f83e(0x1f6)](_0x1e09f5,_0x2127c5={}){const _0x1cfa76=_0x21f83e,_0xaca88f=this[_0x1cfa76(0x1fa)][_0x1cfa76(0x241)],_0x9658d5=[];let _0x26a0ec=0x0;const _0x2cde20=_0x1cfa76(0x26c)==typeof _0x1e09f5?{'main':_0x1e09f5}:_0x1e09f5;for(const _0x12896e of Object[_0x1cfa76(0x223)](_0x2cde20)){if(!this[_0x1cfa76(0x2c0)][_0x1cfa76(0x287)][_0x1cfa76(0x1d8)](_0x12896e))throw new _0x1518bb(_0x1cfa76(0x1f7),this);const _0x17f9de=this[_0x1cfa76(0x1fa)][_0x1cfa76(0x23e)][_0x1cfa76(0x20f)](_0x2cde20[_0x12896e]),_0x24e4c6=this[_0x1cfa76(0x2c0)][_0x1cfa76(0x235)](_0x12896e),_0x557684=new _0x1e1af8(_0xaca88f[_0x1cfa76(0x24d)](_0x24e4c6,0x0),_0x17f9de,_0x26a0ec++);_0x9658d5[_0x1cfa76(0x2a9)](_0x557684);for(const [_0x18f742,_0xdf5195]of _0x17f9de[_0x1cfa76(0x27e)]){const _0x47f36f=_0xaca88f[_0x1cfa76(0x273)](_0xaca88f[_0x1cfa76(0x227)](_0x24e4c6,_0xdf5195[_0x1cfa76(0x24e)][_0x1cfa76(0x2d3)][_0x1cfa76(0x237)]()),_0xaca88f[_0x1cfa76(0x227)](_0x24e4c6,_0xdf5195[_0x1cfa76(0x26e)][_0x1cfa76(0x2d3)][_0x1cfa76(0x237)]())),_0x1d32bb=new _0x93d634(_0x18f742,null,_0x47f36f,_0xaca88f[_0x1cfa76(0x27e)],!0x0,_0x26a0ec++);_0x9658d5[_0x1cfa76(0x2a9)](_0x1d32bb);}}if(_0x2127c5)for(const [_0x1aa803,_0xb6caf2]of Object[_0x1cfa76(0x1e5)](_0x2127c5)){const _0x5182c7=_0xaca88f[_0x1cfa76(0x1e4)][_0x1cfa76(0x235)](_0x1aa803);if(!_0x5182c7)throw new _0x1518bb(_0x1cfa76(0x1e7),null);for(const [_0x55a1c9,_0x1a52fd]of Object[_0x1cfa76(0x1e5)](_0xb6caf2))if(null!==_0x1a52fd){const _0x476ab6=new _0x2e732a(_0x5182c7,_0x55a1c9,null,_0x1a52fd,_0x26a0ec++);_0x9658d5[_0x1cfa76(0x2a9)](_0x476ab6);}}return _0x9658d5;}async[_0x21f83e(0x2a1)](_0x56c25a,_0x4b2ff2,_0x568101){const _0x4920f7=_0x21f83e;this[_0x4920f7(0x1f6)]({[_0x56c25a]:_0x4b2ff2},{[_0x56c25a]:_0x568101})[_0x4920f7(0x228)]((_0x120127,_0x3b8b31)=>{const _0x47c4aa=_0x4920f7;_0x120127[_0x47c4aa(0x29d)]=this[_0x47c4aa(0x2c0)][_0x47c4aa(0x2a2)]+_0x3b8b31,_0x120127[_0x47c4aa(0x261)]=!0x0,this[_0x47c4aa(0x243)](_0x120127);}),this[_0x4920f7(0x1fe)](),await this[_0x4920f7(0x25b)]();}async[_0x21f83e(0x231)](_0x10f133,_0x4d1f37){const _0x94bfed=_0x21f83e;let _0x592393;this[_0x94bfed(0x1f0)]=_0x10f133[_0x94bfed(0x1de)];const _0xccc34a=_0x10f133[_0x94bfed(0x22f)]&&!_0x10f133[_0x94bfed(0x2bc)],_0x3ab18e=_0xccc34a?0x0:_0x10f133[_0x94bfed(0x23e)][_0x94bfed(0x29d)];if(_0x4d1f37[_0x94bfed(0x228)](_0x1b004c=>{const _0x4f93d3=_0x94bfed;_0x1b004c[_0x4f93d3(0x261)]=!0x0,_0x1b004c[_0x4f93d3(0x1d3)]=_0x10f133[_0x4f93d3(0x1ea)],_0x1b004c[_0x4f93d3(0x252)]=null;}),_0xccc34a)_0x592393=_0x4d1f37,this[_0x94bfed(0x20e)](_0x592393,_0xccc34a);else{if(_0x10f133[_0x94bfed(0x2bc)]){const _0x451597=this[_0x94bfed(0x1f6)](_0x10f133[_0x94bfed(0x2bc)]);this[_0x94bfed(0x2c0)][_0x94bfed(0x2d2)][_0x94bfed(0x2a2)]=-_0x451597[_0x94bfed(0x266)],_0x451597[_0x94bfed(0x228)](_0xb6a7b=>{const _0x4de013=_0x94bfed;_0xb6a7b[_0x4de013(0x29d)]-=_0x451597[_0x4de013(0x266)],_0xb6a7b[_0x4de013(0x1d3)]=_0x10f133[_0x4de013(0x1ea)],_0xb6a7b[_0x4de013(0x261)]=!0x0,_0xb6a7b[_0x4de013(0x252)]=null;}),this[_0x94bfed(0x20e)](_0x451597,!0x0),this[_0x94bfed(0x24f)][_0x94bfed(0x2a2)]=-_0x451597[_0x94bfed(0x266)]+this[_0x94bfed(0x1f0)],this[_0x94bfed(0x1eb)](_0x451597);}this[_0x94bfed(0x2c0)][_0x94bfed(0x2d2)][_0x94bfed(0x2a2)]=_0x3ab18e,_0x592393=this[_0x94bfed(0x209)](_0x10f133[_0x94bfed(0x23e)],_0x10f133[_0x94bfed(0x1e2)]),await this[_0x94bfed(0x1ed)](_0x592393),this[_0x94bfed(0x20e)](_0x592393,_0xccc34a);}_0x10f133[_0x94bfed(0x25e)]&&(this[_0x94bfed(0x20a)][_0x94bfed(0x1fb)](_0x592393,_0x10f133[_0x94bfed(0x25e)]),this[_0x94bfed(0x2a0)]=_0x10f133[_0x94bfed(0x25e)]),this[_0x94bfed(0x24f)][_0x94bfed(0x2a2)]=_0x3ab18e+this[_0x94bfed(0x1f0)],this[_0x94bfed(0x1eb)](_0x592393),_0x4d1f37[_0x94bfed(0x2a4)](_0x301544=>{const _0x4ea263=_0x94bfed,_0x35e894=this[_0x4ea263(0x2ac)](_0x301544);return _0x35e894&&!this[_0x4ea263(0x2cc)][_0x4ea263(0x1d8)](_0x35e894);})[_0x94bfed(0x228)]((_0x24150c,_0x59e098)=>{const _0x1ec3ef=_0x94bfed;_0x24150c[_0x1ec3ef(0x29d)]=this[_0x1ec3ef(0x2c0)][_0x1ec3ef(0x2a2)]+_0x59e098,this[_0x1ec3ef(0x243)](_0x24150c);}),this[_0x94bfed(0x272)]()?(this[_0x94bfed(0x2b8)]=0x0,this[_0x94bfed(0x1fe)](!0x0),await this[_0x94bfed(0x25b)]()):(this[_0x94bfed(0x1e3)]=!0x1,this[_0x94bfed(0x225)]());}[_0x21f83e(0x21b)](_0x401357,_0x46db2a){const _0x152096=_0x21f83e,_0x29c5c0=_0x46db2a&&_0x46db2a[_0x152096(0x250)];if(_0x29c5c0&&_0x29c5c0[_0x152096(0x1f1)](_0x152096(0x2a3)))throw _0x46db2a;const _0x30c1de=this[_0x152096(0x1fa)][_0x152096(0x20b)][_0x152096(0x289)](_0x1a4867);throw this[_0x152096(0x1e3)]=!0x0,_0x30c1de[_0x152096(0x208)](),this[_0x152096(0x1fa)][_0x152096(0x205)](_0x152096(0x2c3)),new _0x1518bb(_0x401357,this[_0x152096(0x1fa)],_0x29c5c0?{'originalError':_0x29c5c0}:void 0x0);}[_0x21f83e(0x243)](_0x26ae81){const _0x3979ed=_0x21f83e;this[_0x3979ed(0x216)][_0x3979ed(0x1d8)](_0x26ae81)||(this[_0x3979ed(0x216)][_0x3979ed(0x25d)](_0x26ae81),this[_0x3979ed(0x206)][_0x3979ed(0x2a9)](_0x26ae81),this[_0x3979ed(0x28a)]||_0x3979ed(0x242)==_0x26ae81[_0x3979ed(0x217)]&&!_0x26ae81[_0x3979ed(0x2a6)]||this[_0x3979ed(0x23f)]());}[_0x21f83e(0x1fe)](_0x2b5a89=!0x1){const _0x46d4e7=_0x21f83e;!_0x2b5a89&&this[_0x46d4e7(0x1e3)]||(this[_0x46d4e7(0x1e3)]=!0x0,clearTimeout(this[_0x46d4e7(0x24a)]),this[_0x46d4e7(0x24a)]=setTimeout(()=>{const _0x55c04c=_0x46d4e7;this[_0x55c04c(0x274)]()[_0x55c04c(0x297)](_0x5d3c2c=>{const _0x42c837=_0x55c04c;_0x5d3c2c&&(this[_0x42c837(0x225)](),this[_0x42c837(0x1e3)]=!0x1);})[_0x55c04c(0x271)](_0x45b6fb=>{const _0x84b675=_0x55c04c;this[_0x84b675(0x225)](),this[_0x84b675(0x1e3)]=!0x1,function(_0x4142a3){const _0x3c9d5e=_0x84b675;return _0x4142a3[_0x3c9d5e(0x250)][_0x3c9d5e(0x1f1)](_0x3c9d5e(0x220))||_0x4142a3[_0x3c9d5e(0x250)][_0x3c9d5e(0x1f1)](_0x3c9d5e(0x1db))||_0x4142a3[_0x3c9d5e(0x250)][_0x3c9d5e(0x1f1)](_0x3c9d5e(0x236));}(_0x45b6fb)||this[_0x84b675(0x21b)](_0x45b6fb[_0x84b675(0x250)],_0x45b6fb);});},this[_0x46d4e7(0x2b8)]));}[_0x21f83e(0x25b)](){return new Promise(_0x46c659=>{const _0x433460=_0x37f2;this['on'](_0x433460(0x23d),()=>{_0x46c659();});});}async[_0x21f83e(0x274)](){const _0x51fe3d=_0x21f83e,_0x562caa=this[_0x51fe3d(0x1fa)][_0x51fe3d(0x20b)][_0x51fe3d(0x289)](_0x5660d6);if(this[_0x51fe3d(0x2d1)]()&&(_0x562caa[_0x51fe3d(0x239)](),this[_0x51fe3d(0x260)]=!0x1),!this[_0x51fe3d(0x272)]())return!0x0;const _0xa75802=[...this[_0x51fe3d(0x206)]];for(const _0x37a8dc of _0xa75802)_0x37a8dc[_0x51fe3d(0x28e)]=this[_0x51fe3d(0x2c0)][_0x51fe3d(0x2d2)][_0x51fe3d(0x282)](_0x37a8dc);const _0x53affd=this[_0x51fe3d(0x20a)][_0x51fe3d(0x2ba)](_0xa75802),_0x1d7cc3=j++,_0x10036a=this[_0x51fe3d(0x2b2)](_0xa75802),_0x32a202=await this[_0x51fe3d(0x2b0)][_0x51fe3d(0x28f)](_0x10036a,_0x10036a[_0x51fe3d(0x29d)],_0x53affd);try{return await this[_0x51fe3d(0x211)](_0xa75802,_0x32a202,_0x1d7cc3);}catch(_0x398403){return this[_0x51fe3d(0x21b)](_0x51fe3d(0x219),_0x398403);}}async[_0x21f83e(0x211)](_0x738bb1,_0x2ba91f,_0x1db63b){const _0x2a4852=_0x21f83e;if(_0x2a4852(0x2cb)in _0x2ba91f)throw _0x2ba91f[_0x2a4852(0x2cb)];let _0x42b4a7=!0x1;if(_0x2ba91f[_0x2a4852(0x22f)]){_0x2ba91f[_0x2a4852(0x25e)]&&(this[_0x2a4852(0x2a0)]=_0x2ba91f[_0x2a4852(0x25e)]),this[_0x2a4852(0x206)]=this[_0x2a4852(0x206)][_0x2a4852(0x2a4)](_0x46a15a=>!_0x738bb1[_0x2a4852(0x2b1)](_0x46a15a));for(const _0x4745a1 of _0x738bb1)_0x4745a1[_0x2a4852(0x1d3)]=_0x2a4852(0x2c6)in _0x2ba91f&&_0x2ba91f[_0x2a4852(0x2c6)]||void 0x0;P(_0x738bb1,_0x2ba91f[_0x2a4852(0x2a2)]-_0x738bb1[_0x2a4852(0x266)]),this[_0x2a4852(0x1eb)](_0x738bb1);const _0xd9abc5=_0x738bb1[_0x2a4852(0x2a4)](_0x1fb70f=>{const _0x499ec4=_0x2a4852;if(!_0x1fb70f[_0x499ec4(0x261)])return!0x1;const _0x557eae=this[_0x499ec4(0x2ac)](_0x1fb70f);return _0x557eae&&!this[_0x499ec4(0x2cc)][_0x499ec4(0x1d8)](_0x557eae);});P(_0xd9abc5,this[_0x2a4852(0x2c0)][_0x2a4852(0x2a2)]),this[_0x2a4852(0x20e)](_0xd9abc5),_0x42b4a7=!0x0,this[_0x2a4852(0x2b8)]=this[_0x2a4852(0x226)];}else{const _0x295126=this[_0x2a4852(0x209)](_0x2ba91f[_0x2a4852(0x23e)],_0x2ba91f[_0x2a4852(0x1e2)])[_0x2a4852(0x2a4)](_0x2af095=>_0x2af095[_0x2a4852(0x29d)]>=this[_0x2a4852(0x1d2)]);_0x295126[_0x2a4852(0x228)](_0x76263=>this[_0x2a4852(0x28b)](_0x76263)),this[_0x2a4852(0x206)]=this[_0x2a4852(0x206)][_0x2a4852(0x2a4)](_0x477eec=>!_0x477eec[_0x2a4852(0x261)]||!this[_0x2a4852(0x2cc)][_0x2a4852(0x1d8)](this[_0x2a4852(0x2ac)](_0x477eec))),this[_0x2a4852(0x206)][_0x2a4852(0x266)]&&P(this[_0x2a4852(0x206)],this[_0x2a4852(0x206)][0x0][_0x2a4852(0x29d)]),await this[_0x2a4852(0x1ed)](_0x295126),_0x42b4a7=this[_0x2a4852(0x24c)](_0x295126,_0x2ba91f[_0x2a4852(0x2a2)],_0x2ba91f[_0x2a4852(0x25e)]),this[_0x2a4852(0x2b8)]=Math[_0x2a4852(0x268)](this[_0x2a4852(0x2b8)]/0x2);}return _0x42b4a7?!this[_0x2a4852(0x272)]()||(this[_0x2a4852(0x1fe)](!0x0),!0x1):this[_0x2a4852(0x21b)](_0x2a4852(0x20d));}[_0x21f83e(0x24c)](_0x1e7f85,_0x2e93a0,_0x3d05f0){const _0x37fd13=_0x21f83e;try{const _0x245c77={'document':this[_0x37fd13(0x2c0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4fe327,operationsB:_0x3d6db3,originalOperations:_0x62f945}=_0x759bf5(_0x1e7f85,this[_0x37fd13(0x206)],_0x245c77);P(_0x4fe327,this[_0x37fd13(0x2c0)][_0x37fd13(0x2a2)]),P(_0x3d6db3,_0x2e93a0);for(const _0x5e8dd7 of _0x4fe327){const _0x11a866=_0x62f945[_0x37fd13(0x289)](_0x5e8dd7);_0x5e8dd7[_0x37fd13(0x252)]=_0x11a866?_0x11a866[_0x37fd13(0x252)]:null;}_0x3d05f0&&(this[_0x37fd13(0x20a)][_0x37fd13(0x1fb)](_0x1e7f85,_0x3d05f0),this[_0x37fd13(0x2a0)]=_0x3d05f0),this[_0x37fd13(0x206)]=[..._0x3d6db3],this[_0x37fd13(0x20e)](_0x4fe327),this[_0x37fd13(0x1eb)](_0x1e7f85);}catch(_0x4d89e8){return console[_0x37fd13(0x2cb)](_0x4d89e8),!0x1;}return!0x0;}[_0x21f83e(0x20e)](_0x5e7f3e,_0x399b84=!0x1){const _0x5cd685=_0x21f83e;this[_0x5cd685(0x1fa)][_0x5cd685(0x241)][_0x5cd685(0x2b6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1a55db=>{const _0x120e0a=_0x5cd685;for(const _0x394b60 of _0x5e7f3e)this[_0x120e0a(0x216)][_0x120e0a(0x25d)](_0x394b60),this[_0x120e0a(0x28b)](_0x394b60),_0x1a55db[_0x120e0a(0x247)][_0x120e0a(0x2ae)](_0x394b60),this[_0x120e0a(0x1fa)][_0x120e0a(0x241)][_0x120e0a(0x270)](_0x394b60);});}[_0x21f83e(0x28b)](_0x44d694){const _0x34ab18=_0x21f83e,_0x4b96aa=this[_0x34ab18(0x2ac)](_0x44d694);_0x4b96aa&&this[_0x34ab18(0x2cc)][_0x34ab18(0x25d)](_0x4b96aa);}[_0x21f83e(0x2ac)](_0x183dbc){const _0x535557=_0x21f83e;let _0xd67a3f,_0xdc7157;switch(_0x183dbc[_0x535557(0x217)]){case _0x535557(0x276):_0xd67a3f=_0x183dbc[_0x535557(0x1dd)][_0x535557(0x1ef)];break;case _0x535557(0x242):if(_0xdc7157=_0x183dbc[_0x535557(0x23c)],!_0xdc7157)return null;_0xd67a3f=_0xdc7157[_0x535557(0x1ef)];break;case _0x535557(0x229):_0xd67a3f=_0x183dbc[_0x535557(0x1ef)];break;case _0x535557(0x1d9):_0xd67a3f=_0x183dbc[_0x535557(0x263)];break;case _0x535557(0x1f2):_0xd67a3f=_0x183dbc[_0x535557(0x233)][_0x535557(0x1ef)];break;default:return null;}return _0xd67a3f[_0x535557(0x2b9)];}[_0x21f83e(0x1eb)](_0x50b2fe){const _0x1f32d3=_0x21f83e;_0x50b2fe[_0x1f32d3(0x228)](_0x248f48=>{const _0x44b307=_0x1f32d3,_0x5f321b=_0x248f48[_0x44b307(0x2bb)]();_0x5f321b[_0x44b307(0x252)]=_0x248f48[_0x44b307(0x252)],_0x5f321b[_0x44b307(0x261)]=!!_0x248f48[_0x44b307(0x261)],_0x5f321b[_0x44b307(0x1d3)]=_0x248f48[_0x44b307(0x1d3)],_0x5f321b[_0x44b307(0x29d)]+=this[_0x44b307(0x1f0)],_0x248f48[_0x44b307(0x202)]&&this[_0x44b307(0x288)][_0x44b307(0x25d)](_0x5f321b),this[_0x44b307(0x24f)][_0x44b307(0x2ae)](_0x5f321b);});}[_0x21f83e(0x296)](_0x976b41){const _0x1d35c8=_0x21f83e,_0x176239=this[_0x1d35c8(0x1fa)][_0x1d35c8(0x20b)][_0x1d35c8(0x289)](_0x1d35c8(0x2b3)),_0x2bd1fc=this[_0x1d35c8(0x1fa)][_0x1d35c8(0x281)];_0x976b41||(_0x976b41=_0x4ec715(_0x2bd1fc,_0x1d35c8(0x293))),_0x176239[_0x1d35c8(0x1ec)](_0x976b41,{'title':_0x4ec715(_0x2bd1fc,_0x1d35c8(0x21f)),'namespace':_0x1d35c8(0x2ad)}),this[_0x1d35c8(0x265)]=!0x0,clearTimeout(this[_0x1d35c8(0x24a)]),this[_0x1d35c8(0x206)]=[],this[_0x1d35c8(0x1fa)][_0x1d35c8(0x20b)][_0x1d35c8(0x289)](_0x1a4867)[_0x1d35c8(0x208)]();}[_0x21f83e(0x23f)](){const _0x56a8bc=_0x21f83e;this[_0x56a8bc(0x28a)]||(this[_0x56a8bc(0x28a)]=this[_0x56a8bc(0x1fa)][_0x56a8bc(0x20b)][_0x56a8bc(0x289)](_0x40874c)[_0x56a8bc(0x25d)](_0x4ec715(this[_0x56a8bc(0x1fa)][_0x56a8bc(0x281)],_0x56a8bc(0x29a))));}[_0x21f83e(0x225)](){const _0x3ce04d=_0x21f83e;this[_0x3ce04d(0x28a)]&&(this[_0x3ce04d(0x1fa)][_0x3ce04d(0x20b)][_0x3ce04d(0x289)](_0x40874c)[_0x3ce04d(0x26b)](this[_0x3ce04d(0x28a)]),this[_0x3ce04d(0x28a)]=null);}[_0x21f83e(0x2b2)](_0x583dd2){const _0x513d23=_0x21f83e,_0x3689ed=_0x583dd2[_0x513d23(0x29f)](_0x2f59c4=>_0x2f59c4[_0x513d23(0x27a)]());return this[_0x513d23(0x2ab)][_0x513d23(0x1f4)](_0x3689ed);}[_0x21f83e(0x209)](_0x22ad9d,_0x3df945){const _0x494a3e=_0x21f83e;return this[_0x494a3e(0x2ab)][_0x494a3e(0x21c)](_0x22ad9d)[_0x494a3e(0x29f)]((_0x15c054,_0x48d975)=>{const _0x3df695=_0x494a3e,_0x2f815b=_0x3df695(0x1e1)==_0x3df945[_0x48d975][_0x3df695(0x217)];if(_0x3df695(0x1df)==_0x15c054[_0x3df695(0x248)]){const _0x45ebd9=_0x15c054[_0x3df695(0x1dd)][_0x3df695(0x1ef)];!this[_0x3df695(0x2c0)][_0x3df695(0x235)](_0x45ebd9)&&(this[_0x3df695(0x2c0)][_0x3df695(0x29e)](_0x3df695(0x1f3),_0x45ebd9)[_0x3df695(0x2c2)]=!0x1);}const _0x1fc715=_0x2b858a[_0x3df695(0x22a)](_0x15c054,this[_0x3df695(0x2c0)]);return _0x1fc715[_0x3df695(0x28e)]=_0x15c054[_0x3df695(0x28e)],_0x1fc715[_0x3df695(0x261)]=_0x2f815b,_0x1fc715[_0x3df695(0x252)]=_0x2f815b?null:_0x3df945[_0x48d975][_0x3df695(0x2be)],_0x1fc715[_0x3df695(0x202)]=_0x3df695(0x253)===_0x3df945[_0x48d975][_0x3df695(0x217)],_0x1fc715[_0x3df695(0x1d3)]=_0x3df945[_0x48d975][_0x3df695(0x1d3)],_0x1fc715;});}[_0x21f83e(0x2bf)](){const _0x355bc1=_0x21f83e;this[_0x355bc1(0x260)]=!0x0,this[_0x355bc1(0x2d1)]()?this[_0x355bc1(0x1fe)]():this[_0x355bc1(0x260)]=!0x1;}[_0x21f83e(0x2d1)](){const _0x288ed4=_0x21f83e,_0x1d75f1=this[_0x288ed4(0x1fa)][_0x288ed4(0x20b)][_0x288ed4(0x289)](_0x206175)[_0x288ed4(0x2ce)][_0x288ed4(0x289)](this[_0x288ed4(0x2af)]);return!this[_0x288ed4(0x1fa)][_0x288ed4(0x212)]&&!!_0x1d75f1&&_0x1d75f1[_0x288ed4(0x266)]>0x1&&this[_0x288ed4(0x260)];}[_0x21f83e(0x272)](){const _0x46842d=_0x21f83e;return this[_0x46842d(0x206)][_0x46842d(0x266)]>0x0||this[_0x46842d(0x2d1)]();}}class D extends Error{}function _0x5c7d(){const _0x4d5257=['state','_sendBufferedOperationsDelayId','editing','_handleExternalOperations','createPositionAt','start','serverHistory','message','set','_authorId','cs:removeUser','197568SxDmqG','selection','register','isDocumentOperation','10778RCHJIo','91055QhaYxS','rtc-destroyed','_waitUntilSynced','getDocumentDetails','add','lastOperationId','isOfficialPlugin','_hasSelectionChanged','_isInit','_bufferRootLoad','affectedSelectable','realtimecollaborationclient-init-document-already-initialized','_hasSynchronizationProblem','length','requires','round','404','reconnection:\x20flushed\x20session','remove','string','addToReconnectionStack','end','_handleReconnectionResponse','applyOperation','catch','_shouldSendUpdate','createRange','_sendBufferedOperations','Permissions','insert','bind','config','_connectAfterSessionHasBeenFlushed','toJSON','2478228aBujsG','cloudServices.bundleVersion','_handleSendingSelectionMarkers','markers','_initSessionsHandling','_connectService','locale','isUndoneOperation','suppressErrorInCollaboration','_initThrowingOnDataSet','collaboration.channelId','operationsReceived','roots','_disconnectionOperations','get','_pendingAction','_addKnownRoot','38622663VtnqKr','sessionId','wasUndone','sendOperations','define','reconnect','_handleReceivedOperations','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.','destroy','directChange','_handleReconnectionError','then','324oDvkTv','attributes','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-init-session-connection-error','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.','baseVersion','createRoot','map','_lastSyncedOperationId','_loadRoot','version','realtimecollaborationclient','filter','_disconnectService','affectsData','permissions','realtimecollaborationclient-init-service-internal-error','push','collaboration-missing-channelid','_compressor','_getAffectedRoot','real-time-collaboration','addOperation','_channelId','_service','includes','_compressOperations','Notification','removeFromReconnectionStack','from','enqueueChange','connected','_currentBufferDelay','rootName','getIdOfTheLastOperation','clone','initData','collaboration','userId','_refreshUserSelectionMarkers','_document','lastDocumentSession','_isAttached','realtimecollaborationclient-error','off','return','lastOperationAcceptedAt','_setUpDataInit','_operationToId','getConnectedSessions','realtimecollaborationclient-init-service-incorrect-server-operation','error','_knownRootNames','change:hasDomSelection','channelSessions','disableReadOnlyMode','view','_shouldSendSelectionUpdate','history','path','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','fire','getOperationAuthor','_lastServerVersion','createdAt','realtimecollaborationclient-init-connection-failed','connect','rtc-offline','mySessionId','has','addRoot','_isConnected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getMany','position','offset','InsertOperation','CollaborativeEditingService','init','metadata','_isPendingUpdate','document','entries','sessionAdd:','multi-root-editor-root-attributes-no-root','getUser','finally','sessionCreatedAt','_updateServerHistory','showWarning','_fetchMissingUsers','rootsAttributes','root','_offset','startsWith','move','$root','compress','stopListening','_getOperationsFromInitData','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','unregister','editor','setIdForTheLastOperation','disconnected','_isEditingAllowed','_sendBufferedOperationsDelayed','RealTimeCollaborationClient','loadRoot','apply','_isDisconnection','isPremiumPlugin','pluginName','enableReadOnlyMode','_bufferedOperations','_isLoaded','disconnect','_decompressOperations','_operationIdentifier','plugins','isEnabled','realtimecollaborationclient-handleserverresponse','_applyOperationsSet','parse','cloudDocumentVersion','_handleServerResponse','isReadOnly','size','differ','code','_knownOperations','type','connection','realtimecollaborationclient-sendbufferedoperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_crash','decompress','listenTo','254GGnXtH','Synchronization\x20issue','cloud-services-internal-error:\x20Not\x20connected.','_ignoredOperations','reset','keys','currentDocumentSession','_clearPendingAction','_baseBufferDelay','createPositionFromPath','forEach','addRootAttribute','fromJSON','document:write','addUser','ready','setPermissions','wereChangesApplied','stop','_handleInitialConnectionData','6102744ykNZqb','targetPosition','lastSyncVersion','getRoot','cloud-services-internal-error:\x20Request\x20timeout.','slice','change:range','createUserMarkerOperations','high','409','newRange','change:_isPendingUpdate','data','_setPendingAction','CommentsOnly','model','marker','_saveOperationInBuffer','9893736gHWfPl','change:_isEditingAllowed','getOperations','batch','__className'];_0x5c7d=function(){return _0x4d5257;};return _0x5c7d();}function P(_0x374cdb,_0x1cd507){const _0xa5bf1f=_0x21f83e;for(const _0x26f676 of _0x374cdb)_0x26f676[_0xa5bf1f(0x29d)]=_0x1cd507++;}class U{[_0x21f83e(0x221)];[_0x21f83e(0x2c8)];constructor(_0x5c51a3){const _0x5f4424=_0x21f83e;this[_0x5f4424(0x221)]=_0x5c51a3,this[_0x5f4424(0x2c8)]=new WeakMap();}[_0x21f83e(0x2ba)](_0x381ee9){const _0x16eccf=_0x21f83e;let _0x423f98=_0x381ee9[_0x16eccf(0x266)];for(;_0x423f98--;){const _0x3b5a05=_0x381ee9[_0x423f98];if(!this[_0x16eccf(0x221)][_0x16eccf(0x1d8)](_0x3b5a05)){if(!this[_0x16eccf(0x2c8)][_0x16eccf(0x1d8)](_0x3b5a05)){const _0x3b65a7=_0x21fa48()[_0x16eccf(0x237)](0x1,0x12);this[_0x16eccf(0x2c8)][_0x16eccf(0x251)](_0x3b5a05,_0x3b65a7);}return this[_0x16eccf(0x2c8)][_0x16eccf(0x289)](_0x3b5a05);}}}[_0x21f83e(0x1fb)](_0x40d574,_0x861c3e){const _0x4d4243=_0x21f83e;if(!_0x861c3e)return;let _0x1e6401=_0x40d574[_0x4d4243(0x266)];for(;_0x1e6401--;){const _0x1b0eaa=_0x40d574[_0x1e6401];this[_0x4d4243(0x221)][_0x4d4243(0x1d8)](_0x1b0eaa)||this[_0x4d4243(0x2c8)][_0x4d4243(0x251)](_0x1b0eaa,_0x861c3e);}}}
23
+ const _0x35f7f0=_0x44c1;(function(_0x59dd06,_0x1ab1b9){const _0x289087=_0x44c1,_0x31dfad=_0x59dd06();while(!![]){try{const _0x6f1944=parseInt(_0x289087(0x1fe))/0x1+-parseInt(_0x289087(0x1e7))/0x2*(-parseInt(_0x289087(0x1d2))/0x3)+parseInt(_0x289087(0x16a))/0x4*(parseInt(_0x289087(0x1d3))/0x5)+parseInt(_0x289087(0x1e9))/0x6+parseInt(_0x289087(0x1ba))/0x7+parseInt(_0x289087(0x25f))/0x8*(parseInt(_0x289087(0x218))/0x9)+parseInt(_0x289087(0x1b8))/0xa*(-parseInt(_0x289087(0x22e))/0xb);if(_0x6f1944===_0x1ab1b9)break;else _0x31dfad['push'](_0x31dfad['shift']());}catch(_0x5ef39b){_0x31dfad['push'](_0x31dfad['shift']());}}}(_0x1839,0x315bd));function _0x44c1(_0x184ecd,_0x297e48){const _0x18396b=_0x1839();return _0x44c1=function(_0x44c10d,_0x58610b){_0x44c10d=_0x44c10d-0x16a;let _0x55d0d2=_0x18396b[_0x44c10d];return _0x55d0d2;},_0x44c1(_0x184ecd,_0x297e48);}import{Plugin as _0x10f05b,PendingActions as _0x5b44c3}from'ckeditor5/src/core.js';import{CKEditorError as _0x6d90ba,version as _0x4b0a03,uid as _0x45c33d}from'ckeditor5/src/utils.js';import{Notification as _0xcdb019}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x18f363,NoOperation as _0x3f5bcb,InsertOperation as _0x3a0df0,MarkerOperation as _0x48861d,RootAttributeOperation as _0x7c618f,OperationFactory as _0xa774c0,History as _0x59e829}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1f33cf}from'./websocketgateway.js';import{Sessions as _0x4d04e1}from'./sessions.js';import{UserMarkers as _0x2338b0}from'./usermarkers.js';import{getTranslation as _0x220be3}from'../common-translations.js';import{Compressor as _0x9e15fa}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x147a8a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x32d341,CollaborativeEditingService as _0x40a7b3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x10f05b{static [_0x35f7f0(0x18d)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x40a7b3)());[_0x35f7f0(0x236)];[_0x35f7f0(0x1bd)];[_0x35f7f0(0x23d)];[_0x35f7f0(0x1e2)];[_0x35f7f0(0x22a)];[_0x35f7f0(0x1b5)];[_0x35f7f0(0x1a6)];[_0x35f7f0(0x24a)];[_0x35f7f0(0x1b7)];[_0x35f7f0(0x188)];[_0x35f7f0(0x26e)];[_0x35f7f0(0x1e4)];[_0x35f7f0(0x170)];[_0x35f7f0(0x266)];[_0x35f7f0(0x1b3)];[_0x35f7f0(0x1ac)];[_0x35f7f0(0x194)];[_0x35f7f0(0x1a3)];static get[_0x35f7f0(0x183)](){return[_0x1f33cf,_0x4d04e1,_0x2338b0,_0x5b44c3,_0x147a8a,_0xcdb019];}static get[_0x35f7f0(0x201)](){const _0x4c3339=_0x35f7f0;return _0x4c3339(0x1dc);}static get[_0x35f7f0(0x269)](){return!0x0;}static get[_0x35f7f0(0x229)](){return!0x0;}get[_0x35f7f0(0x243)](){const _0x4887b1=_0x35f7f0;return this[_0x4887b1(0x1eb)]+this[_0x4887b1(0x236)];}get[_0x35f7f0(0x1eb)](){const _0x26fb38=_0x35f7f0;return this[_0x26fb38(0x23d)][_0x26fb38(0x1d0)]-this[_0x26fb38(0x236)];}get[_0x35f7f0(0x1b6)](){const _0x54bac6=_0x35f7f0,_0x52b598=this[_0x54bac6(0x23d)][_0x54bac6(0x251)]();for(let _0x319c1b=_0x52b598[_0x54bac6(0x1fd)]-0x1;_0x319c1b>=0x0;_0x319c1b--){const _0x31a865=_0x52b598[_0x319c1b];if(!this[_0x54bac6(0x194)][_0x54bac6(0x20b)](_0x31a865))return _0x31a865[_0x54bac6(0x24e)]+0x1-this[_0x54bac6(0x236)];}return 0x0;}constructor(_0x5c88b8){const _0x3dffb3=_0x35f7f0;if(super(_0x5c88b8),this[_0x3dffb3(0x236)]=0x0,this[_0x3dffb3(0x1bd)]=null,this[_0x3dffb3(0x23d)]=new _0x59e829(),this[_0x3dffb3(0x20d)][_0x3dffb3(0x26c)][_0x3dffb3(0x1d7)](_0x3dffb3(0x19f),{}),this[_0x3dffb3(0x1e2)]=this[_0x3dffb3(0x20d)][_0x3dffb3(0x26c)][_0x3dffb3(0x1fa)](_0x3dffb3(0x22f)),!this[_0x3dffb3(0x1e2)])throw new _0x6d90ba(_0x3dffb3(0x1c0),this);const _0x3606e5=_0x5c88b8[_0x3dffb3(0x26c)][_0x3dffb3(0x1fa)](_0x3dffb3(0x208))||_0x4b0a03;this[_0x3dffb3(0x22a)]=new RealTimeCollaborationClient[(_0x3dffb3(0x18d))](_0x3606e5,this[_0x3dffb3(0x1e2)]),this[_0x3dffb3(0x1b5)]=this[_0x3dffb3(0x20d)][_0x3dffb3(0x1e8)][_0x3dffb3(0x261)],this[_0x3dffb3(0x1a6)]=new _0x9e15fa(),this[_0x3dffb3(0x24a)]=[],this[_0x3dffb3(0x1b7)]=new WeakSet(),this[_0x3dffb3(0x188)]=new Set(),this[_0x3dffb3(0x1e5)](_0x3dffb3(0x1d8),!0x1),this[_0x3dffb3(0x1e5)](_0x3dffb3(0x1cb),!0x1),this[_0x3dffb3(0x26e)]=null,this[_0x3dffb3(0x1e4)]=!0x1,this[_0x3dffb3(0x170)]=null,this[_0x3dffb3(0x266)]=0x12c,this[_0x3dffb3(0x1b3)]=this[_0x3dffb3(0x266)],this[_0x3dffb3(0x1ac)]=null,this[_0x3dffb3(0x194)]=new WeakSet(),this[_0x3dffb3(0x1a3)]=new F(this[_0x3dffb3(0x194)]);}[_0x35f7f0(0x245)](){const _0x26e2e5=_0x35f7f0,_0x33278b=this[_0x26e2e5(0x20d)],_0x11aa21=_0x33278b[_0x26e2e5(0x1a8)][_0x26e2e5(0x1fa)](_0x147a8a),_0xd79372=_0x33278b[_0x26e2e5(0x1a8)][_0x26e2e5(0x1fa)](_0x1f33cf);this[_0x26e2e5(0x1e0)](_0x11aa21,_0x26e2e5(0x223),(_0x540096,_0x4db9f0)=>{const _0x294477=_0x26e2e5,_0xde03ba=_0x4db9f0[0x0];_0xde03ba[_0x294477(0x190)]&&(_0x540096[_0x294477(0x19b)]=_0x11aa21[_0x294477(0x1cd)](_0xde03ba[_0x294477(0x190)]),_0x540096[_0x294477(0x1c7)]()),null===_0xde03ba[_0x294477(0x190)]&&(_0x540096[_0x294477(0x19b)]=null,_0x540096[_0x294477(0x1c7)]());},{'priority':_0x26e2e5(0x1ff)}),this[_0x26e2e5(0x1e0)](_0x33278b[_0x26e2e5(0x1e8)][_0x26e2e5(0x261)][_0x26e2e5(0x1a2)],_0x26e2e5(0x233),(_0xdce754,_0x5e123c)=>{const _0x36c1c7=_0x26e2e5;_0x5e123c[_0x36c1c7(0x1ec)]&&this[_0x36c1c7(0x267)]();}),this[_0x26e2e5(0x1e0)](_0x33278b[_0x26e2e5(0x210)][_0x26e2e5(0x189)],_0x26e2e5(0x1ea),()=>{const _0xddd275=_0x26e2e5;this[_0xddd275(0x267)]();}),this[_0x26e2e5(0x1cc)](),_0x33278b[_0x26e2e5(0x1e8)]['on'](_0x26e2e5(0x21b),(_0x458731,_0x5b01d9)=>{const _0x5285e2=_0x26e2e5,_0x105ab2=_0x5b01d9[0x0];_0x105ab2[_0x5285e2(0x1c5)]&&(this[_0x5285e2(0x225)](_0x105ab2),this[_0x5285e2(0x1ee)]()&&this[_0x5285e2(0x246)]());}),this[_0x26e2e5(0x18e)](),this[_0x26e2e5(0x19d)](_0x26e2e5(0x1f6))['to'](_0xd79372,_0x26e2e5(0x1f2),this,_0x26e2e5(0x1cb),(_0x5d265e,_0x5143de)=>_0x26e2e5(0x250)===_0x5d265e&&!_0x5143de),this['on'](_0x26e2e5(0x207),()=>{const _0x5a6b1b=_0x26e2e5;this[_0x5a6b1b(0x1f6)]?_0x33278b[_0x5a6b1b(0x268)](_0x5a6b1b(0x1f7)):_0x33278b[_0x5a6b1b(0x23a)](_0x5a6b1b(0x1f7));}),this[_0x26e2e5(0x1f6)]?_0x33278b[_0x26e2e5(0x268)](_0x26e2e5(0x1f7)):_0x33278b[_0x26e2e5(0x23a)](_0x26e2e5(0x1f7)),this[_0x26e2e5(0x1e5)](_0x26e2e5(0x182),!0x1);}async[_0x35f7f0(0x17b)](){const _0x323167=_0x35f7f0,_0x25a1c6=this[_0x323167(0x20d)][_0x323167(0x1a8)][_0x323167(0x1fa)](_0x4d04e1),_0x53d902=this[_0x323167(0x20d)][_0x323167(0x1a8)][_0x323167(0x1fa)](_0x1f33cf);try{this[_0x323167(0x1d8)]=!0x0,_0x25a1c6[_0x323167(0x1c3)](this[_0x323167(0x1e2)]);const _0x18e5dc=await this[_0x323167(0x22a)][_0x323167(0x17b)](_0x53d902[_0x323167(0x259)],this[_0x323167(0x1b6)]);await this[_0x323167(0x1da)](_0x18e5dc)&&(this[_0x323167(0x1d8)]=!0x1,this[_0x323167(0x1a1)]());const _0x1fdace=await this[_0x323167(0x22a)][_0x323167(0x16f)]();_0x25a1c6[_0x323167(0x24f)](this[_0x323167(0x1e2)],_0x1fdace),this[_0x323167(0x199)](),this[_0x323167(0x182)]=!0x0;}catch(_0x2eaf0e){if(function(_0x279f87){const _0x21039a=_0x323167;return _0x21039a(0x197)===_0x279f87[_0x21039a(0x16d)];}(_0x2eaf0e)&&this[_0x323167(0x1bd)])await this[_0x323167(0x185)]();else{if(function(_0x58caa4){const _0x3fcb0a=_0x323167;return _0x3fcb0a(0x23e)===_0x58caa4[_0x3fcb0a(0x16d)];}(_0x2eaf0e)){const _0x534952=_0x220be3(this[_0x323167(0x20d)][_0x323167(0x234)],_0x323167(0x16e));this[_0x323167(0x219)](_0x534952);}else{if(!(_0x2eaf0e instanceof V))throw _0x2eaf0e;this[_0x323167(0x219)]();}}}}[_0x35f7f0(0x1be)](){const _0x333e3b=_0x35f7f0,_0x4b8945=this[_0x333e3b(0x20d)][_0x333e3b(0x1a8)][_0x333e3b(0x1fa)](_0x1f33cf),_0x384207=this[_0x333e3b(0x20d)][_0x333e3b(0x1a8)][_0x333e3b(0x1fa)](_0x4d04e1);this[_0x333e3b(0x20d)][_0x333e3b(0x23a)](_0x333e3b(0x270)),_0x384207[_0x333e3b(0x242)][_0x333e3b(0x20b)](this[_0x333e3b(0x1e2)])&&_0x384207[_0x333e3b(0x1c3)](this[_0x333e3b(0x1e2)]),_0x4b8945[_0x333e3b(0x21a)](this),this[_0x333e3b(0x22b)](),super[_0x333e3b(0x1be)]();}async[_0x35f7f0(0x1da)](_0x2f2074){const _0x3c1ee0=_0x35f7f0;if(this[_0x3c1ee0(0x1bd)]!==_0x2f2074[_0x3c1ee0(0x1bd)]&&this[_0x3c1ee0(0x1ac)]!==_0x2f2074[_0x3c1ee0(0x248)])throw new V();return this[_0x3c1ee0(0x1bd)]=_0x2f2074[_0x3c1ee0(0x1bd)],this[_0x3c1ee0(0x1ed)]([],{..._0x2f2074,'wereChangesApplied':!0x1,'data':_0x2f2074[_0x3c1ee0(0x180)]},_0x3c1ee0(0x17b));}async[_0x35f7f0(0x1b1)](_0xda2e43,_0x76adaf=!0x1){const _0x224bec=_0x35f7f0,{connection:_0x5b51ae}=this[_0x224bec(0x20d)][_0x224bec(0x1a8)][_0x224bec(0x1fa)](_0x1f33cf);RealTimeCollaborationClient[_0x224bec(0x18d)][_0x224bec(0x16f)](_0x5b51ae,this[_0x224bec(0x1e2)])[_0x224bec(0x198)](_0x4fc7fb=>this[_0x224bec(0x1c8)](_0x4fc7fb))[_0x224bec(0x1db)](_0x714719=>{const _0x4e9c58=_0x224bec;this[_0x4e9c58(0x17a)](_0x4e9c58(0x1a9),_0x714719);}),this[_0x224bec(0x1e0)](this[_0x224bec(0x22a)],_0x224bec(0x1ab),this[_0x224bec(0x1de)][_0x224bec(0x19d)](this)),this[_0x224bec(0x1e0)](this[_0x224bec(0x22a)],_0x224bec(0x1bf),(_0x3d2504,_0x3b3454)=>{const _0x2ca782=_0x224bec;this[_0x2ca782(0x17a)](_0x2ca782(0x1d6),_0x3b3454);}),this[_0x224bec(0x1e0)](this[_0x224bec(0x22a)],_0x224bec(0x1aa),()=>{const _0x4725bc=_0x224bec;this[_0x4725bc(0x182)]=!0x1;});const _0x5b57ab=this[_0x224bec(0x1a3)][_0x224bec(0x20f)](_0xda2e43);this[_0x224bec(0x1d8)]=!0x0;const _0x6a14ba=await this[_0x224bec(0x22a)][_0x224bec(0x252)](_0x5b51ae,this[_0x224bec(0x239)](_0xda2e43),_0x5b57ab);if(this[_0x224bec(0x1bd)]=_0x6a14ba[_0x224bec(0x1bd)],_0x76adaf){if(!_0x6a14ba[_0x224bec(0x249)])return void this[_0x224bec(0x219)]();this[_0x224bec(0x1d8)]=!0x1,this[_0x224bec(0x1a1)](),this[_0x224bec(0x23d)][_0x224bec(0x21e)](),this[_0x224bec(0x236)]=_0x6a14ba[_0x224bec(0x1ae)],this[_0x224bec(0x23d)][_0x224bec(0x1d0)]=this[_0x224bec(0x236)],await this[_0x224bec(0x1ed)](_0xda2e43,_0x6a14ba,_0x224bec(0x1fb));}else await this[_0x224bec(0x22d)](_0x6a14ba,_0xda2e43);this[_0x224bec(0x199)](),this[_0x224bec(0x182)]=!0x0;}[_0x35f7f0(0x199)](){const _0x3d33a9=_0x35f7f0,_0x2592d5=this[_0x3d33a9(0x20d)][_0x3d33a9(0x1a8)][_0x3d33a9(0x1fa)](_0x4d04e1),_0x52085e=this[_0x3d33a9(0x20d)][_0x3d33a9(0x1a8)][_0x3d33a9(0x1fa)](_0x2338b0),_0xf2f4e0=_0x2592d5[_0x3d33a9(0x242)][_0x3d33a9(0x1fa)](this[_0x3d33a9(0x1e2)]);_0xf2f4e0&&_0xf2f4e0[_0x3d33a9(0x1fd)]>0x1?_0x52085e[_0x3d33a9(0x205)]():this[_0x3d33a9(0x1e0)](_0x2592d5,_0x3d33a9(0x176)+this[_0x3d33a9(0x1e2)],()=>{const _0x209c64=_0x3d33a9;0x2===_0x2592d5[_0x209c64(0x242)][_0x209c64(0x1fa)](this[_0x209c64(0x1e2)])[_0x209c64(0x1fd)]&&_0x52085e[_0x209c64(0x205)]();});}async[_0x35f7f0(0x1de)](_0x3e5001,_0x39b35a,_0x4a83dd,_0x58a93c){const _0x4072a0=_0x35f7f0;if(!this[_0x4072a0(0x1d8)]&&this[_0x4072a0(0x1b5)][_0x4072a0(0x1d0)]==_0x39b35a){const _0xaa84a3=this[_0x4072a0(0x258)](_0x4a83dd,_0x58a93c);await this[_0x4072a0(0x195)](_0xaa84a3),this[_0x4072a0(0x25b)](_0xaa84a3,_0x39b35a,_0x4a83dd[_0x4072a0(0x248)])||this[_0x4072a0(0x17a)](_0x4072a0(0x1ce));}}async[_0x35f7f0(0x185)](){const _0x13b25d=_0x35f7f0;this[_0x13b25d(0x22b)]();const {locale:_0x41c076}=this[_0x13b25d(0x20d)];let _0x5aea31;try{_0x5aea31=await this[_0x13b25d(0x22a)][_0x13b25d(0x1bc)]();}catch{const _0x4a5206=_0x220be3(_0x41c076,_0x13b25d(0x257));return void this[_0x13b25d(0x219)](_0x4a5206);}const _0x45f876=_0x5aea31[_0x13b25d(0x25e)]||_0x5aea31[_0x13b25d(0x18f)];if(this[_0x13b25d(0x1ac)]!==_0x45f876[_0x13b25d(0x248)]){const _0x5b1823=_0x220be3(_0x41c076,_0x13b25d(0x1a5));return void this[_0x13b25d(0x219)](_0x5b1823);}await this[_0x13b25d(0x1b1)](this[_0x13b25d(0x20d)][_0x13b25d(0x1e8)][_0x13b25d(0x261)][_0x13b25d(0x202)][_0x13b25d(0x251)](),!0x0);}[_0x35f7f0(0x22b)](){const _0x41c784=_0x35f7f0;this[_0x41c784(0x22a)][_0x41c784(0x1f8)](),this[_0x41c784(0x24a)]=[],clearTimeout(this[_0x41c784(0x170)]),this[_0x41c784(0x213)](this[_0x41c784(0x22a)]);}[_0x35f7f0(0x1c8)](_0x2a2b49){const _0x3a246b=_0x35f7f0,_0x3557a4=this[_0x3a246b(0x20d)][_0x3a246b(0x1a8)][_0x3a246b(0x1fa)](_0x4d04e1);this[_0x3a246b(0x1e0)](_0x3557a4,_0x3a246b(0x176)+this[_0x3a246b(0x1e2)],(_0x340675,{session:_0x497a0d})=>{const _0xecbe8c=_0x3a246b;if(_0x497a0d['id']===_0x3557a4[_0xecbe8c(0x171)]){_0x340675[_0xecbe8c(0x1f0)]();const _0x1f3d9e=this[_0xecbe8c(0x20d)][_0xecbe8c(0x1a8)][_0xecbe8c(0x20b)](_0xecbe8c(0x1a4))&&this[_0xecbe8c(0x20d)][_0xecbe8c(0x1a8)][_0xecbe8c(0x1fa)](_0xecbe8c(0x1a4));let _0x315436=_0x497a0d[_0xecbe8c(0x244)];_0x1f3d9e&&_0x1f3d9e[_0xecbe8c(0x177)]&&(_0x315436=_0x315436[_0xecbe8c(0x1ca)](_0x17c06c=>_0xecbe8c(0x265)!==_0x17c06c)),this[_0xecbe8c(0x20d)][_0xecbe8c(0x1a8)][_0xecbe8c(0x1fa)](_0xecbe8c(0x17e))[_0xecbe8c(0x256)](_0x315436,this[_0xecbe8c(0x1e2)]);}}),_0x3557a4[_0x3a246b(0x24f)](this[_0x3a246b(0x1e2)],_0x2a2b49);}[_0x35f7f0(0x1cc)](){const _0x7239e=_0x35f7f0,_0x20179b=this[_0x7239e(0x20d)][_0x7239e(0x180)][_0x7239e(0x1e5)];this[_0x7239e(0x20d)][_0x7239e(0x180)][_0x7239e(0x1e5)]=(..._0x29d7b2)=>{const _0x930271=_0x7239e;if(!_0x29d7b2[_0x29d7b2[_0x930271(0x1fd)]-0x1][_0x930271(0x16b)])throw new _0x6d90ba(_0x930271(0x1b9),this);_0x20179b[_0x930271(0x228)](this[_0x930271(0x20d)][_0x930271(0x180)],_0x29d7b2);};}[_0x35f7f0(0x18e)](){const _0x318831=_0x35f7f0;this[_0x318831(0x20d)][_0x318831(0x180)]['on'](_0x318831(0x245),(_0x19d826,[_0x5752ba])=>{const _0x511a1f=_0x318831;if(this[_0x511a1f(0x1b5)][_0x511a1f(0x1d0)])throw new _0x6d90ba(_0x511a1f(0x23f),this);_0x19d826[_0x511a1f(0x1c7)](),this[_0x511a1f(0x1d1)]();const _0x182358=this[_0x511a1f(0x20d)][_0x511a1f(0x26c)][_0x511a1f(0x1fa)](_0x511a1f(0x175)),_0x9c5e6c=this[_0x511a1f(0x172)](_0x5752ba,_0x182358);0x0==_0x9c5e6c[_0x511a1f(0x1fd)]&&_0x9c5e6c[_0x511a1f(0x214)](new _0x3f5bcb(0x0)),_0x19d826[_0x511a1f(0x19b)]=this[_0x511a1f(0x1b1)](_0x9c5e6c)[_0x511a1f(0x198)](()=>{const _0xc62343=_0x511a1f;this[_0xc62343(0x20d)][_0xc62343(0x1a8)][_0xc62343(0x1fa)](_0x1f33cf)[_0xc62343(0x1e6)](this),this[_0xc62343(0x20d)][_0xc62343(0x180)][_0xc62343(0x187)](_0xc62343(0x26f));})[_0x511a1f(0x1db)](_0x48de67=>this[_0x511a1f(0x17a)](_0x511a1f(0x24b),_0x48de67))[_0x511a1f(0x179)](()=>this[_0x511a1f(0x1a1)]());},{'priority':_0x318831(0x1ff)}),this[_0x318831(0x20d)]['on'](_0x318831(0x1c2),async(_0x630c93,[_0x48d0e6,_0x1d2ae3])=>{const _0x2bc43f=_0x318831;_0x630c93[_0x2bc43f(0x1c7)]();const _0x11d167=this[_0x2bc43f(0x20d)][_0x2bc43f(0x1e8)][_0x2bc43f(0x261)][_0x2bc43f(0x1b0)](_0x48d0e6);if(!this[_0x2bc43f(0x188)][_0x2bc43f(0x20b)](_0x48d0e6)){const _0x1190cb=_0x1d2ae3&&_0x1d2ae3[_0x2bc43f(0x180)]?_0x1d2ae3[_0x2bc43f(0x180)]:'',_0x461dd4=_0x1d2ae3&&_0x1d2ae3[_0x2bc43f(0x224)]?_0x1d2ae3[_0x2bc43f(0x224)]:{};await this[_0x2bc43f(0x217)](_0x48d0e6,_0x1190cb,_0x461dd4);}this[_0x2bc43f(0x20d)][_0x2bc43f(0x1e8)][_0x2bc43f(0x241)]({'isUndoable':!0x1},()=>{const _0x331322=_0x2bc43f;_0x11d167[_0x331322(0x240)]=!0x0,this[_0x331322(0x20d)][_0x331322(0x1e8)][_0x331322(0x261)][_0x331322(0x235)][_0x331322(0x21c)](_0x11d167);});},{'priority':_0x318831(0x1ff)});}async[_0x35f7f0(0x195)](_0x15c268){const _0x470f8e=_0x35f7f0,_0x18c451=this[_0x470f8e(0x20d)][_0x470f8e(0x1a8)][_0x470f8e(0x1fa)](_0x147a8a),{connection:_0xf5fde7}=this[_0x470f8e(0x20d)][_0x470f8e(0x1a8)][_0x470f8e(0x1fa)](_0x1f33cf),_0x34ab1f=new Set();for(const _0x15e85c of _0x15c268){const _0x98a3d=_0x15e85c[_0x470f8e(0x190)];_0x98a3d&&!_0x18c451[_0x470f8e(0x1cd)](_0x98a3d)&&_0x34ab1f[_0x470f8e(0x264)](_0x98a3d);}if(0x0===_0x34ab1f[_0x470f8e(0x222)])return;const _0x358d17=await _0x32d341[_0x470f8e(0x200)](_0xf5fde7,Array[_0x470f8e(0x17f)](_0x34ab1f));for(const _0x33d9ff of _0x358d17)_0x18c451[_0x470f8e(0x1cd)](_0x33d9ff['id'])||_0x18c451[_0x470f8e(0x1ad)](_0x33d9ff);}[_0x35f7f0(0x172)](_0xdf777c,_0x1708c2={}){const _0x1b5417=_0x35f7f0,_0x34cd85=this[_0x1b5417(0x20d)][_0x1b5417(0x1e8)],_0x29e515=[];let _0x102282=0x0;const _0x2ceda9=_0x1b5417(0x262)==typeof _0xdf777c?{'main':_0xdf777c}:_0xdf777c;for(const _0x5cfd8f of Object[_0x1b5417(0x20e)](_0x2ceda9)){if(!this[_0x1b5417(0x1b5)][_0x1b5417(0x178)][_0x1b5417(0x20b)](_0x5cfd8f))throw new _0x6d90ba(_0x1b5417(0x19a),this);const _0x3f8db7=this[_0x1b5417(0x20d)][_0x1b5417(0x180)][_0x1b5417(0x25d)](_0x2ceda9[_0x5cfd8f]),_0x16bfd0=this[_0x1b5417(0x1b5)][_0x1b5417(0x1b0)](_0x5cfd8f),_0x58cd47=new _0x3a0df0(_0x34cd85[_0x1b5417(0x17c)](_0x16bfd0,0x0),_0x3f8db7,_0x102282++);_0x29e515[_0x1b5417(0x214)](_0x58cd47);for(const [_0x2e527a,_0x22d052]of _0x3f8db7[_0x1b5417(0x1e3)]){const _0x38de3d=_0x34cd85[_0x1b5417(0x22c)](_0x34cd85[_0x1b5417(0x227)](_0x16bfd0,_0x22d052[_0x1b5417(0x174)][_0x1b5417(0x16c)][_0x1b5417(0x20a)]()),_0x34cd85[_0x1b5417(0x227)](_0x16bfd0,_0x22d052[_0x1b5417(0x232)][_0x1b5417(0x16c)][_0x1b5417(0x20a)]())),_0x365e20=new _0x48861d(_0x2e527a,null,_0x38de3d,_0x34cd85[_0x1b5417(0x1e3)],!0x0,_0x102282++);_0x29e515[_0x1b5417(0x214)](_0x365e20);}}if(_0x1708c2)for(const [_0x3f4746,_0x2b5bd3]of Object[_0x1b5417(0x1bb)](_0x1708c2)){const _0x3726a6=_0x34cd85[_0x1b5417(0x261)][_0x1b5417(0x1b0)](_0x3f4746);if(!_0x3726a6)throw new _0x6d90ba(_0x1b5417(0x1a7),null);for(const [_0x1c1fe0,_0xa6de2]of Object[_0x1b5417(0x1bb)](_0x2b5bd3))if(null!==_0xa6de2){const _0x515809=new _0x7c618f(_0x3726a6,_0x1c1fe0,null,_0xa6de2,_0x102282++);_0x29e515[_0x1b5417(0x214)](_0x515809);}}return _0x29e515;}async[_0x35f7f0(0x217)](_0x2f9577,_0x2f2e0d,_0x1a48fa){const _0x1469b7=_0x35f7f0;this[_0x1469b7(0x172)]({[_0x2f9577]:_0x2f2e0d},{[_0x2f9577]:_0x1a48fa})[_0x1469b7(0x26d)]((_0x4d9a58,_0x2d633c)=>{const _0x16558b=_0x1469b7;_0x4d9a58[_0x16558b(0x24e)]=this[_0x16558b(0x1b5)][_0x16558b(0x1d0)]+_0x2d633c,_0x4d9a58[_0x16558b(0x1f4)]=!0x0,this[_0x16558b(0x225)](_0x4d9a58);}),this[_0x1469b7(0x246)](),await this[_0x1469b7(0x1b4)]();}async[_0x35f7f0(0x22d)](_0x1f726c,_0x3a57b1){const _0x20b4b4=_0x35f7f0;let _0xd2928;this[_0x20b4b4(0x236)]=_0x1f726c[_0x20b4b4(0x1ae)];const _0x11c55e=_0x1f726c[_0x20b4b4(0x249)]&&!_0x1f726c[_0x20b4b4(0x212)],_0x370cc9=_0x11c55e?0x0:_0x1f726c[_0x20b4b4(0x180)][_0x20b4b4(0x24e)];if(_0x3a57b1[_0x20b4b4(0x26d)](_0x5c167c=>{const _0x314ddb=_0x20b4b4;_0x5c167c[_0x314ddb(0x1f4)]=!0x0,_0x5c167c[_0x314ddb(0x184)]=_0x1f726c[_0x314ddb(0x20c)],_0x5c167c[_0x314ddb(0x190)]=null;}),_0x11c55e)_0xd2928=_0x3a57b1,this[_0x20b4b4(0x1a0)](_0xd2928,_0x11c55e);else{if(_0x1f726c[_0x20b4b4(0x212)]){const _0x4134f5=this[_0x20b4b4(0x172)](_0x1f726c[_0x20b4b4(0x212)]);this[_0x20b4b4(0x1b5)][_0x20b4b4(0x202)][_0x20b4b4(0x1d0)]=-_0x4134f5[_0x20b4b4(0x1fd)],_0x4134f5[_0x20b4b4(0x26d)](_0x57d271=>{const _0xcdfca1=_0x20b4b4;_0x57d271[_0xcdfca1(0x24e)]-=_0x4134f5[_0xcdfca1(0x1fd)],_0x57d271[_0xcdfca1(0x184)]=_0x1f726c[_0xcdfca1(0x20c)],_0x57d271[_0xcdfca1(0x1f4)]=!0x0,_0x57d271[_0xcdfca1(0x190)]=null;}),this[_0x20b4b4(0x1a0)](_0x4134f5,!0x0),this[_0x20b4b4(0x23d)][_0x20b4b4(0x1d0)]=-_0x4134f5[_0x20b4b4(0x1fd)]+this[_0x20b4b4(0x236)],this[_0x20b4b4(0x1c1)](_0x4134f5);}this[_0x20b4b4(0x1b5)][_0x20b4b4(0x202)][_0x20b4b4(0x1d0)]=_0x370cc9,_0xd2928=this[_0x20b4b4(0x258)](_0x1f726c[_0x20b4b4(0x180)],_0x1f726c[_0x20b4b4(0x19e)]),await this[_0x20b4b4(0x195)](_0xd2928),this[_0x20b4b4(0x1a0)](_0xd2928,_0x11c55e);}_0x1f726c[_0x20b4b4(0x248)]&&(this[_0x20b4b4(0x1a3)][_0x20b4b4(0x247)](_0xd2928,_0x1f726c[_0x20b4b4(0x248)]),this[_0x20b4b4(0x1ac)]=_0x1f726c[_0x20b4b4(0x248)]),this[_0x20b4b4(0x23d)][_0x20b4b4(0x1d0)]=_0x370cc9+this[_0x20b4b4(0x236)],this[_0x20b4b4(0x1c1)](_0xd2928),_0x3a57b1[_0x20b4b4(0x1ca)](_0x276a1e=>{const _0x41cbb1=_0x20b4b4,_0x574bab=this[_0x41cbb1(0x1c4)](_0x276a1e);return _0x574bab&&!this[_0x41cbb1(0x188)][_0x41cbb1(0x20b)](_0x574bab);})[_0x20b4b4(0x26d)]((_0x56d0f1,_0x25e461)=>{const _0x3367e4=_0x20b4b4;_0x56d0f1[_0x3367e4(0x24e)]=this[_0x3367e4(0x1b5)][_0x3367e4(0x1d0)]+_0x25e461,this[_0x3367e4(0x225)](_0x56d0f1);}),this[_0x20b4b4(0x1ee)]()?(this[_0x20b4b4(0x1b3)]=0x0,this[_0x20b4b4(0x246)](!0x0),await this[_0x20b4b4(0x1b4)]()):(this[_0x20b4b4(0x1d8)]=!0x1,this[_0x20b4b4(0x1a1)]());}[_0x35f7f0(0x17a)](_0x6e57c,_0x1642d1){const _0x325f61=_0x35f7f0,_0x1d2c70=_0x1642d1&&_0x1642d1[_0x325f61(0x1c6)];if(_0x1d2c70&&_0x1d2c70[_0x325f61(0x1f9)](_0x325f61(0x238)))throw _0x1642d1;const _0xc55f8f=this[_0x325f61(0x20d)][_0x325f61(0x1a8)][_0x325f61(0x1fa)](_0x1f33cf);throw this[_0x325f61(0x1d8)]=!0x0,_0xc55f8f[_0x325f61(0x1f8)](),this[_0x325f61(0x20d)][_0x325f61(0x23a)](_0x325f61(0x1f1)),new _0x6d90ba(_0x6e57c,this[_0x325f61(0x20d)],_0x1d2c70?{'originalError':_0x1d2c70}:void 0x0);}[_0x35f7f0(0x225)](_0x238648){const _0x4a9526=_0x35f7f0;this[_0x4a9526(0x1b7)][_0x4a9526(0x20b)](_0x238648)||(this[_0x4a9526(0x1b7)][_0x4a9526(0x264)](_0x238648),this[_0x4a9526(0x24a)][_0x4a9526(0x214)](_0x238648),this[_0x4a9526(0x26e)]||_0x4a9526(0x18b)==_0x238648[_0x4a9526(0x1fc)]&&!_0x238648[_0x4a9526(0x231)]||this[_0x4a9526(0x1d1)]());}[_0x35f7f0(0x246)](_0x1f9f90=!0x1){const _0x438daf=_0x35f7f0;!_0x1f9f90&&this[_0x438daf(0x1d8)]||(this[_0x438daf(0x1d8)]=!0x0,clearTimeout(this[_0x438daf(0x170)]),this[_0x438daf(0x170)]=setTimeout(()=>{const _0x3d3074=_0x438daf;this[_0x3d3074(0x226)]()[_0x3d3074(0x198)](_0x44e327=>{const _0x518dbb=_0x3d3074;_0x44e327&&(this[_0x518dbb(0x1a1)](),this[_0x518dbb(0x1d8)]=!0x1);})[_0x3d3074(0x1db)](_0x2d1d7b=>{const _0x3d5e29=_0x3d3074;this[_0x3d5e29(0x1a1)](),this[_0x3d5e29(0x1d8)]=!0x1,function(_0x13f3f3){const _0x80468a=_0x3d5e29;return _0x13f3f3[_0x80468a(0x1c6)][_0x80468a(0x1f9)](_0x80468a(0x254))||_0x13f3f3[_0x80468a(0x1c6)][_0x80468a(0x1f9)](_0x80468a(0x1f3))||_0x13f3f3[_0x80468a(0x1c6)][_0x80468a(0x1f9)](_0x80468a(0x19c));}(_0x2d1d7b)||this[_0x3d5e29(0x17a)](_0x2d1d7b[_0x3d5e29(0x1c6)],_0x2d1d7b);});},this[_0x438daf(0x1b3)]));}[_0x35f7f0(0x1b4)](){return new Promise(_0x52cc89=>{const _0x502a33=_0x44c1;this['on'](_0x502a33(0x216),()=>{_0x52cc89();});});}async[_0x35f7f0(0x226)](){const _0x45a31a=_0x35f7f0,_0x2336ef=this[_0x45a31a(0x20d)][_0x45a31a(0x1a8)][_0x45a31a(0x1fa)](_0x2338b0);if(this[_0x45a31a(0x263)]()&&(_0x2336ef[_0x45a31a(0x205)](),this[_0x45a31a(0x1e4)]=!0x1),!this[_0x45a31a(0x1ee)]())return!0x0;const _0x435968=[...this[_0x45a31a(0x24a)]];for(const _0x1028a4 of _0x435968)_0x1028a4[_0x45a31a(0x1df)]=this[_0x45a31a(0x1b5)][_0x45a31a(0x202)][_0x45a31a(0x237)](_0x1028a4);const _0x1903ba=this[_0x45a31a(0x1a3)][_0x45a31a(0x20f)](_0x435968),_0x2fd7f4=H++,_0x1847ca=this[_0x45a31a(0x239)](_0x435968),_0x28d0e3=await this[_0x45a31a(0x22a)][_0x45a31a(0x1dd)](_0x1847ca,_0x1847ca[_0x45a31a(0x24e)],_0x1903ba);try{return await this[_0x45a31a(0x1ed)](_0x435968,_0x28d0e3,_0x2fd7f4);}catch(_0x48c2f3){return this[_0x45a31a(0x17a)](_0x45a31a(0x220),_0x48c2f3);}}async[_0x35f7f0(0x1ed)](_0x442a1f,_0x4fac2d,_0x20fbba){const _0x739ecb=_0x35f7f0;if(_0x739ecb(0x1bf)in _0x4fac2d)throw _0x4fac2d[_0x739ecb(0x1bf)];let _0x5eebae=!0x1;if(_0x4fac2d[_0x739ecb(0x249)]){_0x4fac2d[_0x739ecb(0x248)]&&(this[_0x739ecb(0x1ac)]=_0x4fac2d[_0x739ecb(0x248)]),this[_0x739ecb(0x24a)]=this[_0x739ecb(0x24a)][_0x739ecb(0x1ca)](_0x99038=>!_0x442a1f[_0x739ecb(0x24d)](_0x99038));for(const _0x393468 of _0x442a1f)_0x393468[_0x739ecb(0x184)]=_0x739ecb(0x1d4)in _0x4fac2d&&_0x4fac2d[_0x739ecb(0x1d4)]||void 0x0;W(_0x442a1f,_0x4fac2d[_0x739ecb(0x1d0)]-_0x442a1f[_0x739ecb(0x1fd)]),this[_0x739ecb(0x1c1)](_0x442a1f);const _0x5ad48c=_0x442a1f[_0x739ecb(0x1ca)](_0x48fd2f=>{const _0x527b15=_0x739ecb;if(!_0x48fd2f[_0x527b15(0x1f4)])return!0x1;const _0x4064b8=this[_0x527b15(0x1c4)](_0x48fd2f);return _0x4064b8&&!this[_0x527b15(0x188)][_0x527b15(0x20b)](_0x4064b8);});W(_0x5ad48c,this[_0x739ecb(0x1b5)][_0x739ecb(0x1d0)]),this[_0x739ecb(0x1a0)](_0x5ad48c),_0x5eebae=!0x0,this[_0x739ecb(0x1b3)]=this[_0x739ecb(0x266)];}else{const _0x2fc563=this[_0x739ecb(0x258)](_0x4fac2d[_0x739ecb(0x180)],_0x4fac2d[_0x739ecb(0x19e)])[_0x739ecb(0x1ca)](_0x198096=>_0x198096[_0x739ecb(0x24e)]>=this[_0x739ecb(0x1eb)]);_0x2fc563[_0x739ecb(0x26d)](_0x4a72e1=>this[_0x739ecb(0x206)](_0x4a72e1)),this[_0x739ecb(0x24a)]=this[_0x739ecb(0x24a)][_0x739ecb(0x1ca)](_0x3ab34d=>!_0x3ab34d[_0x739ecb(0x1f4)]||!this[_0x739ecb(0x188)][_0x739ecb(0x20b)](this[_0x739ecb(0x1c4)](_0x3ab34d))),this[_0x739ecb(0x24a)][_0x739ecb(0x1fd)]&&W(this[_0x739ecb(0x24a)],this[_0x739ecb(0x24a)][0x0][_0x739ecb(0x24e)]),await this[_0x739ecb(0x195)](_0x2fc563),_0x5eebae=this[_0x739ecb(0x25b)](_0x2fc563,_0x4fac2d[_0x739ecb(0x1d0)],_0x4fac2d[_0x739ecb(0x248)]),this[_0x739ecb(0x1b3)]=Math[_0x739ecb(0x21f)](this[_0x739ecb(0x1b3)]/0x2);}return _0x5eebae?!this[_0x739ecb(0x1ee)]()||(this[_0x739ecb(0x246)](!0x0),!0x1):this[_0x739ecb(0x17a)](_0x739ecb(0x1d5));}[_0x35f7f0(0x25b)](_0x2a5172,_0x386e8c,_0x2f7057){const _0x10236e=_0x35f7f0;try{const _0x4ddee8={'document':this[_0x10236e(0x1b5)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1aeaeb,operationsB:_0x2f80d3,originalOperations:_0xd37f6}=_0x18f363(_0x2a5172,this[_0x10236e(0x24a)],_0x4ddee8);W(_0x1aeaeb,this[_0x10236e(0x1b5)][_0x10236e(0x1d0)]),W(_0x2f80d3,_0x386e8c);for(const _0x560264 of _0x1aeaeb){const _0x24f5e0=_0xd37f6[_0x10236e(0x1fa)](_0x560264);_0x560264[_0x10236e(0x190)]=_0x24f5e0?_0x24f5e0[_0x10236e(0x190)]:null;}_0x2f7057&&(this[_0x10236e(0x1a3)][_0x10236e(0x247)](_0x2a5172,_0x2f7057),this[_0x10236e(0x1ac)]=_0x2f7057),this[_0x10236e(0x24a)]=[..._0x2f80d3],this[_0x10236e(0x1a0)](_0x1aeaeb),this[_0x10236e(0x1c1)](_0x2a5172);}catch(_0x5cb9cd){return console[_0x10236e(0x1bf)](_0x5cb9cd),!0x1;}return!0x0;}[_0x35f7f0(0x1a0)](_0x1782e5,_0x40ba1d=!0x1){const _0x19c111=_0x35f7f0;this[_0x19c111(0x20d)][_0x19c111(0x1e8)][_0x19c111(0x241)]({'isUndoable':!0x1,'isLocal':!0x1},_0x231b65=>{const _0x2101ac=_0x19c111;for(const _0x5eb28f of _0x1782e5)this[_0x2101ac(0x1b7)][_0x2101ac(0x264)](_0x5eb28f),this[_0x2101ac(0x206)](_0x5eb28f),_0x231b65[_0x2101ac(0x17d)][_0x2101ac(0x1b2)](_0x5eb28f),this[_0x2101ac(0x20d)][_0x2101ac(0x1e8)][_0x2101ac(0x21b)](_0x5eb28f);});}[_0x35f7f0(0x206)](_0x27c879){const _0x4d9ebb=_0x35f7f0,_0x3adee7=this[_0x4d9ebb(0x1c4)](_0x27c879);_0x3adee7&&this[_0x4d9ebb(0x188)][_0x4d9ebb(0x264)](_0x3adee7);}[_0x35f7f0(0x1c4)](_0xb3e380){const _0x10566b=_0x35f7f0;let _0x29700b,_0x10821f;switch(_0xb3e380[_0x10566b(0x1fc)]){case _0x10566b(0x25c):_0x29700b=_0xb3e380[_0x10566b(0x192)][_0x10566b(0x26b)];break;case _0x10566b(0x18b):if(_0x10821f=_0xb3e380[_0x10566b(0x1ef)],!_0x10821f)return null;_0x29700b=_0x10821f[_0x10566b(0x26b)];break;case _0x10566b(0x1af):_0x29700b=_0xb3e380[_0x10566b(0x26b)];break;case _0x10566b(0x253):_0x29700b=_0xb3e380[_0x10566b(0x1c9)];break;case _0x10566b(0x1d9):_0x29700b=_0xb3e380[_0x10566b(0x191)][_0x10566b(0x26b)];break;default:return null;}return _0x29700b[_0x10566b(0x209)];}[_0x35f7f0(0x1c1)](_0x4a4915){const _0x5d9206=_0x35f7f0;_0x4a4915[_0x5d9206(0x26d)](_0x3ebfe1=>{const _0x168eb7=_0x5d9206,_0x5b6757=_0x3ebfe1[_0x168eb7(0x255)]();_0x5b6757[_0x168eb7(0x190)]=_0x3ebfe1[_0x168eb7(0x190)],_0x5b6757[_0x168eb7(0x1f4)]=!!_0x3ebfe1[_0x168eb7(0x1f4)],_0x5b6757[_0x168eb7(0x184)]=_0x3ebfe1[_0x168eb7(0x184)],_0x5b6757[_0x168eb7(0x24e)]+=this[_0x168eb7(0x236)],_0x3ebfe1[_0x168eb7(0x23b)]&&this[_0x168eb7(0x194)][_0x168eb7(0x264)](_0x5b6757),this[_0x168eb7(0x23d)][_0x168eb7(0x1b2)](_0x5b6757);});}[_0x35f7f0(0x219)](_0x5a43bf){const _0x47e4b9=_0x35f7f0,_0x56d4c8=this[_0x47e4b9(0x20d)][_0x47e4b9(0x1a8)][_0x47e4b9(0x1fa)](_0x47e4b9(0x26a)),_0x4c37ab=this[_0x47e4b9(0x20d)][_0x47e4b9(0x234)];_0x5a43bf||(_0x5a43bf=_0x220be3(_0x4c37ab,_0x47e4b9(0x211))),_0x56d4c8[_0x47e4b9(0x196)](_0x5a43bf,{'title':_0x220be3(_0x4c37ab,_0x47e4b9(0x221)),'namespace':_0x47e4b9(0x1f5)}),this[_0x47e4b9(0x1cb)]=!0x0,clearTimeout(this[_0x47e4b9(0x170)]),this[_0x47e4b9(0x24a)]=[],this[_0x47e4b9(0x20d)][_0x47e4b9(0x1a8)][_0x47e4b9(0x1fa)](_0x1f33cf)[_0x47e4b9(0x1f8)]();}[_0x35f7f0(0x1d1)](){const _0x10a250=_0x35f7f0;this[_0x10a250(0x26e)]||(this[_0x10a250(0x26e)]=this[_0x10a250(0x20d)][_0x10a250(0x1a8)][_0x10a250(0x1fa)](_0x5b44c3)[_0x10a250(0x264)](_0x220be3(this[_0x10a250(0x20d)][_0x10a250(0x234)],_0x10a250(0x24c))));}[_0x35f7f0(0x1a1)](){const _0x4581fe=_0x35f7f0;this[_0x4581fe(0x26e)]&&(this[_0x4581fe(0x20d)][_0x4581fe(0x1a8)][_0x4581fe(0x1fa)](_0x5b44c3)[_0x4581fe(0x181)](this[_0x4581fe(0x26e)]),this[_0x4581fe(0x26e)]=null);}[_0x35f7f0(0x239)](_0xa51bd5){const _0x4dddc9=_0x35f7f0,_0x40005b=_0xa51bd5[_0x4dddc9(0x193)](_0x111e4d=>_0x111e4d[_0x4dddc9(0x260)]());return this[_0x4dddc9(0x1a6)][_0x4dddc9(0x1cf)](_0x40005b);}[_0x35f7f0(0x258)](_0x31c722,_0x387cc0){const _0x553401=_0x35f7f0;return this[_0x553401(0x1a6)][_0x553401(0x230)](_0x31c722)[_0x553401(0x193)]((_0x5dcc35,_0x3b637a)=>{const _0x3939e1=_0x553401,_0x928097=_0x3939e1(0x245)==_0x387cc0[_0x3b637a][_0x3939e1(0x1fc)];if(_0x3939e1(0x18a)==_0x5dcc35[_0x3939e1(0x173)]){const _0x314820=_0x5dcc35[_0x3939e1(0x192)][_0x3939e1(0x26b)];!this[_0x3939e1(0x1b5)][_0x3939e1(0x1b0)](_0x314820)&&(this[_0x3939e1(0x1b5)][_0x3939e1(0x23c)](_0x3939e1(0x1e1),_0x314820)[_0x3939e1(0x203)]=!0x1);}const _0x321987=_0xa774c0[_0x3939e1(0x215)](_0x5dcc35,this[_0x3939e1(0x1b5)]);return _0x321987[_0x3939e1(0x1df)]=_0x5dcc35[_0x3939e1(0x1df)],_0x321987[_0x3939e1(0x1f4)]=_0x928097,_0x321987[_0x3939e1(0x190)]=_0x928097?null:_0x387cc0[_0x3b637a][_0x3939e1(0x204)],_0x321987[_0x3939e1(0x23b)]=_0x3939e1(0x25a)===_0x387cc0[_0x3b637a][_0x3939e1(0x1fc)],_0x321987[_0x3939e1(0x184)]=_0x387cc0[_0x3b637a][_0x3939e1(0x184)],_0x321987;});}[_0x35f7f0(0x267)](){const _0x518cdc=_0x35f7f0;this[_0x518cdc(0x1e4)]=!0x0,this[_0x518cdc(0x263)]()?this[_0x518cdc(0x246)]():this[_0x518cdc(0x1e4)]=!0x1;}[_0x35f7f0(0x263)](){const _0x33c586=_0x35f7f0,_0x17af25=this[_0x33c586(0x20d)][_0x33c586(0x1a8)][_0x33c586(0x1fa)](_0x4d04e1)[_0x33c586(0x242)][_0x33c586(0x1fa)](this[_0x33c586(0x1e2)]);return!this[_0x33c586(0x20d)][_0x33c586(0x18c)]&&!!_0x17af25&&_0x17af25[_0x33c586(0x1fd)]>0x1&&this[_0x33c586(0x1e4)];}[_0x35f7f0(0x1ee)](){const _0x2795d3=_0x35f7f0;return this[_0x2795d3(0x24a)][_0x2795d3(0x1fd)]>0x0||this[_0x2795d3(0x263)]();}}class V extends Error{}function W(_0x53c23f,_0xfdb7c5){const _0x41d481=_0x35f7f0;for(const _0x31fb56 of _0x53c23f)_0x31fb56[_0x41d481(0x24e)]=_0xfdb7c5++;}class F{[_0x35f7f0(0x186)];[_0x35f7f0(0x21d)];constructor(_0x5fb1ef){const _0x5ebef5=_0x35f7f0;this[_0x5ebef5(0x186)]=_0x5fb1ef,this[_0x5ebef5(0x21d)]=new WeakMap();}[_0x35f7f0(0x20f)](_0x1ea7a5){const _0xa93447=_0x35f7f0;let _0x55001b=_0x1ea7a5[_0xa93447(0x1fd)];for(;_0x55001b--;){const _0x3bc5aa=_0x1ea7a5[_0x55001b];if(!this[_0xa93447(0x186)][_0xa93447(0x20b)](_0x3bc5aa)){if(!this[_0xa93447(0x21d)][_0xa93447(0x20b)](_0x3bc5aa)){const _0x1f2af1=_0x45c33d()[_0xa93447(0x20a)](0x1,0x12);this[_0xa93447(0x21d)][_0xa93447(0x1e5)](_0x3bc5aa,_0x1f2af1);}return this[_0xa93447(0x21d)][_0xa93447(0x1fa)](_0x3bc5aa);}}}[_0x35f7f0(0x247)](_0xc14280,_0xe56af2){const _0x2bc32d=_0x35f7f0;if(!_0xe56af2)return;let _0x50eace=_0xc14280[_0x2bc32d(0x1fd)];for(;_0x50eace--;){const _0x3a3241=_0xc14280[_0x50eace];this[_0x2bc32d(0x186)][_0x2bc32d(0x20b)](_0x3a3241)||this[_0x2bc32d(0x21d)][_0x2bc32d(0x1e5)](_0x3a3241,_0xe56af2);}}}function _0x1839(){const _0x1d02b8=['_service','_disconnectService','createRange','_handleInitialConnectionData','6536882RiHWyT','collaboration.channelId','decompress','affectsData','end','change:range','locale','differ','_offset','isUndoneOperation','realtimecollaborationclient','_compressOperations','enableReadOnlyMode','_isDisconnection','createRoot','serverHistory','409','realtimecollaborationclient-init-document-already-initialized','_isLoaded','enqueueChange','channelSessions','cloudDocumentVersion','permissions','init','_sendBufferedOperationsDelayed','setIdForTheLastOperation','lastOperationId','wereChangesApplied','_bufferedOperations','realtimecollaborationclient-init-connection-failed','PENDING_ACTION_SENDING_DATA','includes','baseVersion','register','connected','getOperations','connect','addRoot','cloud-services-internal-error:\x20Not\x20connected.','clone','setPermissions','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_decompressOperations','connection','cs:removeUser','_handleExternalOperations','insert','parse','currentDocumentSession','240HMEZJI','toJSON','document','string','_shouldSendSelectionUpdate','add','document:write','_baseBufferDelay','_refreshUserSelectionMarkers','disableReadOnlyMode','isOfficialPlugin','Notification','root','config','forEach','_pendingAction','ready','rtc-destroyed','963772NTqWhx','suppressErrorInCollaboration','path','code','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getConnectedSessions','_sendBufferedOperationsDelayId','mySessionId','_getOperationsFromInitData','__className','start','rootsAttributes','sessionAdd:','isEnabled','roots','finally','_crash','reconnect','createPositionAt','batch','Permissions','from','data','remove','_isConnected','requires','createdAt','_connectAfterSessionHasBeenFlushed','_ignoredOperations','fire','_knownRootNames','view','InsertOperation','marker','isReadOnly','CollaborativeEditingService','_setUpDataInit','lastDocumentSession','_authorId','targetPosition','position','map','_disconnectionOperations','_fetchMissingUsers','showWarning','404','then','_handleSendingSelectionMarkers','realtimecollaborationclient-init-non-existent-root','return','cloud-services-internal-error:\x20Request\x20timeout.','bind','metadata','collaboration','_applyOperationsSet','_clearPendingAction','selection','_operationIdentifier','CommentsOnly','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.','_compressor','multi-root-editor-root-attributes-no-root','plugins','realtimecollaborationclient-init-session-connection-error','disconnected','operationsReceived','_lastSyncedOperationId','addUser','offset','addRootAttribute','getRoot','_connectService','addOperation','_currentBufferDelay','_waitUntilSynced','_document','lastSyncVersion','_knownOperations','20SsEVTN','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','47971SFaDpU','entries','getDocumentDetails','sessionId','destroy','error','collaboration-missing-channelid','_updateServerHistory','loadRoot','unregister','_getAffectedRoot','isDocumentOperation','message','stop','_initSessionsHandling','affectedSelectable','filter','_hasSynchronizationProblem','_initThrowingOnDataSet','getUser','realtimecollaborationclient-init-service-incorrect-server-operation','compress','version','_setPendingAction','159YddFjm','5LGUIyW','lastOperationAcceptedAt','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-service-internal-error','define','_isPendingUpdate','move','_handleReconnectionResponse','catch','RealTimeCollaborationClient','sendOperations','_handleReceivedOperations','wasUndone','listenTo','$root','_channelId','markers','_hasSelectionChanged','set','addToReconnectionStack','13082QrjmPL','model','1031232WWwYEv','change:hasDomSelection','_lastServerVersion','directChange','_handleServerResponse','_shouldSendUpdate','newRange','off','realtimecollaborationclient-error','state','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_isInit','real-time-collaboration','_isEditingAllowed','rtc-offline','disconnect','startsWith','get','reconnection:\x20flushed\x20session','type','length','224966yQkzQU','high','getMany','pluginName','history','_isAttached','userId','createUserMarkerOperations','_addKnownRoot','change:_isEditingAllowed','cloudServices.bundleVersion','rootName','slice','has','sessionCreatedAt','editor','keys','getIdOfTheLastOperation','editing','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.','initData','stopListening','push','fromJSON','change:_isPendingUpdate','_loadRoot','119817RWKjMx','_handleReconnectionError','removeFromReconnectionStack','applyOperation','_bufferRootLoad','_operationToId','reset','round','realtimecollaborationclient-sendbufferedoperations','Synchronization\x20issue','size','getOperationAuthor','attributes','_saveOperationInBuffer','_sendBufferedOperations','createPositionFromPath','apply','isPremiumPlugin'];_0x1839=function(){return _0x1d02b8;};return _0x1839();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e0ba4=_0x2c39;(function(_0x3b4236,_0x1214f1){const _0x564d5c=_0x2c39,_0x3d4dbd=_0x3b4236();while(!![]){try{const _0x738e34=-parseInt(_0x564d5c(0x171))/0x1*(-parseInt(_0x564d5c(0x157))/0x2)+parseInt(_0x564d5c(0x16f))/0x3+-parseInt(_0x564d5c(0x16d))/0x4+parseInt(_0x564d5c(0x191))/0x5*(parseInt(_0x564d5c(0x15a))/0x6)+parseInt(_0x564d5c(0x165))/0x7+parseInt(_0x564d5c(0x15b))/0x8*(-parseInt(_0x564d5c(0x169))/0x9)+parseInt(_0x564d5c(0x154))/0xa*(-parseInt(_0x564d5c(0x190))/0xb);if(_0x738e34===_0x1214f1)break;else _0x3d4dbd['push'](_0x3d4dbd['shift']());}catch(_0x33834b){_0x3d4dbd['push'](_0x3d4dbd['shift']());}}}(_0x7b1c,0x1e230));import{ContextPlugin as _0x15123e}from'ckeditor5/src/core.js';import{Collection as _0xc17dfc,CKEditorError as _0x1e2322}from'ckeditor5/src/utils.js';function _0x7b1c(){const _0x2170a8=['376558VazdPj','_handleSessionAdd','role','sessionAdd:','171TOwxRU','get','init','connection','47276utVbya','_registeredSessions','675609SczPwW','stopListening','1vkLZfj','add','channelConnectedUsers','set','register','isMe','listenTo','orderNumber','sessionId','getUserSessions','hiddenInPresenceList','channelSessions','assign','requires','_createUser','mySessionId','values','sessions-register-already-registered','change:state','_handleSessionRemove','allConnectedUsers','isOfficialPlugin','connected','getUser','defineMe','_users','sessions-unregister-not-exist','_uniqueUsersCount','fire','remove','plugins','385pYanyq','2845BoCmbH','forEach','context','60010qUnTqK','delete','size','10622asyuGv','user','getUserBySessionId','1506jKyjYZ','34456KQbAby','unregister','clear','has','Sessions','isPremiumPlugin','addUser','state','getUserRole','pluginName'];_0x7b1c=function(){return _0x2170a8;};return _0x7b1c();}import{WebSocketGateway as _0x2d2352}from'./websocketgateway.js';import{Users as _0x2e798e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2c39(_0xff774c,_0x5c6808){const _0x7b1cfa=_0x7b1c();return _0x2c39=function(_0x2c3938,_0x5ce592){_0x2c3938=_0x2c3938-0x154;let _0x25bde3=_0x7b1cfa[_0x2c3938];return _0x25bde3;},_0x2c39(_0xff774c,_0x5c6808);}export class Sessions extends _0x15123e{[_0x2e0ba4(0x17c)];[_0x2e0ba4(0x173)];[_0x2e0ba4(0x185)];[_0x2e0ba4(0x16e)];[_0x2e0ba4(0x18c)];[_0x2e0ba4(0x18a)];static get[_0x2e0ba4(0x164)](){const _0x421ad7=_0x2e0ba4;return _0x421ad7(0x15f);}static get[_0x2e0ba4(0x186)](){return!0x0;}static get[_0x2e0ba4(0x160)](){return!0x0;}static get[_0x2e0ba4(0x17e)](){return[_0x2d2352,_0x2e798e];}constructor(_0x36e23d){const _0x55025a=_0x2e0ba4;super(_0x36e23d),this[_0x55025a(0x17c)]=new Map(),this[_0x55025a(0x173)]=new Map(),this[_0x55025a(0x185)]=new _0xc17dfc(),this[_0x55025a(0x16e)]=new Map(),this[_0x55025a(0x18c)]=0x0,this[_0x55025a(0x18a)]=this[_0x55025a(0x193)][_0x55025a(0x18f)][_0x55025a(0x16a)](_0x2e798e);}[_0x2e0ba4(0x16b)](){const _0x172f3a=_0x2e0ba4,_0x390d6c=this[_0x172f3a(0x193)][_0x172f3a(0x18f)][_0x172f3a(0x16a)](_0x2d2352);this[_0x172f3a(0x177)](_0x390d6c,_0x172f3a(0x183),(_0x56f494,_0x3a5078,_0x44ef9c)=>{const _0x994ffe=_0x172f3a;if(_0x994ffe(0x187)!==_0x44ef9c)this[_0x994ffe(0x17c)][_0x994ffe(0x192)](_0x4cca25=>_0x4cca25[_0x994ffe(0x15d)]()),this[_0x994ffe(0x173)][_0x994ffe(0x192)](_0x386cd1=>_0x386cd1[_0x994ffe(0x15d)]()),this[_0x994ffe(0x185)][_0x994ffe(0x15d)]();else{for(const [_0x16265,_0x4f3b52]of this[_0x994ffe(0x16e)])for(const _0x15a2a6 of _0x4f3b52)this[_0x994ffe(0x166)](_0x16265,_0x15a2a6);}}),this[_0x172f3a(0x17f)](_0x390d6c[_0x172f3a(0x16c)]['me'],!0x0);}[_0x2e0ba4(0x175)](_0x43e55c,_0x43faf9){const _0x1e256f=_0x2e0ba4;if(this[_0x1e256f(0x16e)][_0x1e256f(0x15e)](_0x43e55c))throw new _0x1e2322(_0x1e256f(0x182),null,{'channelId':_0x43e55c});this[_0x1e256f(0x16e)][_0x1e256f(0x174)](_0x43e55c,_0x43faf9),this[_0x1e256f(0x17c)][_0x1e256f(0x174)](_0x43e55c,new _0xc17dfc()),this[_0x1e256f(0x173)][_0x1e256f(0x174)](_0x43e55c,new _0xc17dfc()),this[_0x1e256f(0x177)](_0x43faf9,_0x1e256f(0x172),(_0x1216f3,_0x9be698)=>this[_0x1e256f(0x166)](_0x43e55c,_0x9be698)),this[_0x1e256f(0x177)](_0x43faf9,_0x1e256f(0x18e),(_0xee4803,_0x207500)=>this[_0x1e256f(0x184)](_0x43e55c,_0x207500));for(const _0x183761 of _0x43faf9)this[_0x1e256f(0x166)](_0x43e55c,_0x183761);}[_0x2e0ba4(0x15c)](_0x50f598){const _0x500530=_0x2e0ba4;if(!this[_0x500530(0x16e)][_0x500530(0x15e)](_0x50f598))throw new _0x1e2322(_0x500530(0x18b),null,{'channelId':_0x50f598});const _0x372ac8=this[_0x500530(0x16e)][_0x500530(0x16a)](_0x50f598);this[_0x500530(0x170)](_0x372ac8);for(const _0x1dcc0a of _0x372ac8)_0x500530(0x187)===this[_0x500530(0x193)][_0x500530(0x18f)][_0x500530(0x16a)](_0x2d2352)[_0x500530(0x162)]&&this[_0x500530(0x184)](_0x50f598,_0x1dcc0a);this[_0x500530(0x16e)][_0x500530(0x155)](_0x50f598),this[_0x500530(0x17c)][_0x500530(0x155)](_0x50f598),this[_0x500530(0x173)][_0x500530(0x155)](_0x50f598);}get[_0x2e0ba4(0x180)](){const _0x50d8a1=_0x2e0ba4;return this[_0x50d8a1(0x193)][_0x50d8a1(0x18f)][_0x50d8a1(0x16a)](_0x2d2352)[_0x50d8a1(0x16c)][_0x50d8a1(0x179)];}[_0x2e0ba4(0x159)](_0x15ec92){const _0x4bd7e9=_0x2e0ba4;for(const _0x2e4ef0 of this[_0x4bd7e9(0x17c)][_0x4bd7e9(0x181)]())for(const _0x557720 of _0x2e4ef0)if(_0x557720['id']===_0x15ec92)return _0x557720[_0x4bd7e9(0x158)];}[_0x2e0ba4(0x17a)](_0x8026a3,_0x3d682a){const _0x51c350=_0x2e0ba4,_0x3fa551=_0x3d682a?[this[_0x51c350(0x17c)][_0x51c350(0x16a)](_0x3d682a)]:this[_0x51c350(0x17c)][_0x51c350(0x181)](),_0x284eea=new Set();for(const _0x635d53 of _0x3fa551)for(const _0x229696 of _0x635d53)_0x229696[_0x51c350(0x158)]['id']===_0x8026a3['id']&&_0x284eea[_0x51c350(0x172)](_0x229696['id']);return _0x284eea;}[_0x2e0ba4(0x163)](_0x4e2125){const _0x45ffc5=_0x2e0ba4;for(const _0x4d7e4e of this[_0x45ffc5(0x17c)][_0x45ffc5(0x181)]())for(const _0x95c7e of _0x4d7e4e)if(_0x95c7e[_0x45ffc5(0x158)]===_0x4e2125)return _0x95c7e[_0x45ffc5(0x167)];}[_0x2e0ba4(0x166)](_0x1693a5,_0x2e8dd4){const _0x4969d1=_0x2e0ba4;if(_0x4969d1(0x187)!==this[_0x4969d1(0x193)][_0x4969d1(0x18f)][_0x4969d1(0x16a)](_0x2d2352)[_0x4969d1(0x162)])return;const _0x4b0216=_0x2e8dd4[_0x4969d1(0x158)],_0x3c91cc=this[_0x4969d1(0x18a)][_0x4969d1(0x188)](_0x4b0216['id'])||this[_0x4969d1(0x17f)](_0x4b0216),_0x5115dd=Object[_0x4969d1(0x17d)]({},_0x2e8dd4,{'user':_0x3c91cc});if(this[_0x4969d1(0x17c)][_0x4969d1(0x16a)](_0x1693a5)[_0x4969d1(0x172)](_0x5115dd),!_0x4b0216[_0x4969d1(0x17b)]){const _0x1b0108=this[_0x4969d1(0x173)][_0x4969d1(0x16a)](_0x1693a5);_0x1b0108[_0x4969d1(0x15e)](_0x3c91cc['id'])||_0x1b0108[_0x4969d1(0x172)](_0x3c91cc),this[_0x4969d1(0x185)][_0x4969d1(0x15e)](_0x3c91cc['id'])||_0x4b0216[_0x4969d1(0x17b)]||this[_0x4969d1(0x185)][_0x4969d1(0x172)](_0x3c91cc,_0x3c91cc[_0x4969d1(0x176)]?0x0:void 0x0);}this[_0x4969d1(0x18d)](_0x4969d1(0x168)+_0x1693a5,{'channelId':_0x1693a5,'session':_0x5115dd});}[_0x2e0ba4(0x184)](_0x5ae8ab,_0xbc578a){const _0x407bc1=_0x2e0ba4;if(_0x407bc1(0x187)!==this[_0x407bc1(0x193)][_0x407bc1(0x18f)][_0x407bc1(0x16a)](_0x2d2352)[_0x407bc1(0x162)])return;const _0x1ff30b=this[_0x407bc1(0x173)][_0x407bc1(0x16a)](_0x5ae8ab),_0x51feba=_0xbc578a[_0x407bc1(0x158)];_0x51feba['id']&&(this[_0x407bc1(0x17c)][_0x407bc1(0x16a)](_0x5ae8ab)[_0x407bc1(0x18e)](_0xbc578a['id']),_0x1ff30b[_0x407bc1(0x15e)](_0x51feba['id'])&&!this[_0x407bc1(0x17a)](_0x51feba,_0x5ae8ab)[_0x407bc1(0x156)]&&_0x1ff30b[_0x407bc1(0x18e)](_0x51feba['id']),this[_0x407bc1(0x185)][_0x407bc1(0x16a)](_0x51feba['id'])&&!this[_0x407bc1(0x17a)](_0x51feba)[_0x407bc1(0x156)]&&this[_0x407bc1(0x185)][_0x407bc1(0x18e)](_0x51feba['id']));}[_0x2e0ba4(0x17f)](_0x4e5579,_0x210ca6){const _0x2d7385=_0x2e0ba4,_0x3ef7fe=this[_0x2d7385(0x18a)][_0x2d7385(0x161)](_0x4e5579);return _0x210ca6&&this[_0x2d7385(0x18a)][_0x2d7385(0x189)](_0x4e5579['id']),_0x3ef7fe[_0x2d7385(0x178)]=this[_0x2d7385(0x18c)]++,_0x3ef7fe;}}
23
+ function _0x416d(_0xb1e0c9,_0x809f60){const _0x383af4=_0x383a();return _0x416d=function(_0x416d98,_0x264f79){_0x416d98=_0x416d98-0x8a;let _0x458021=_0x383af4[_0x416d98];return _0x458021;},_0x416d(_0xb1e0c9,_0x809f60);}const _0x34a708=_0x416d;function _0x383a(){const _0x479e11=['delete','_createUser','1052520KnlGNG','_registeredSessions','sessionId','plugins','set','_handleSessionAdd','154168GCnXMc','size','fire','connected','requires','register','channelConnectedUsers','_users','change:state','has','user','710huQukq','1074279xnvLyg','_handleSessionRemove','get','channelSessions','isOfficialPlugin','defineMe','_uniqueUsersCount','971758UOizjN','allConnectedUsers','mySessionId','4596712kpkJXb','unregister','add','3813936pDRwyd','state','forEach','sessions-unregister-not-exist','addUser','getUser','clear','values','assign','281961KkilRt','connection','remove','5zfxzdY','getUserSessions','isMe','orderNumber','hiddenInPresenceList','listenTo','416sCaZCA','pluginName','context','sessions-register-already-registered','getUserRole','stopListening','init','role','getUserBySessionId','isPremiumPlugin','sessionAdd:','Sessions'];_0x383a=function(){return _0x479e11;};return _0x383a();}(function(_0x2d6e6e,_0x24555b){const _0x3be6e2=_0x416d,_0x21531c=_0x2d6e6e();while(!![]){try{const _0x511610=-parseInt(_0x3be6e2(0xb2))/0x1+parseInt(_0x3be6e2(0x8c))/0x2+-parseInt(_0x3be6e2(0xc4))/0x3+-parseInt(_0x3be6e2(0x8f))/0x4*(-parseInt(_0x3be6e2(0x9e))/0x5)+-parseInt(_0x3be6e2(0x92))/0x6+-parseInt(_0x3be6e2(0xb8))/0x7*(parseInt(_0x3be6e2(0xa4))/0x8)+-parseInt(_0x3be6e2(0x9b))/0x9*(-parseInt(_0x3be6e2(0xc3))/0xa);if(_0x511610===_0x24555b)break;else _0x21531c['push'](_0x21531c['shift']());}catch(_0x361397){_0x21531c['push'](_0x21531c['shift']());}}}(_0x383a,0xa30fb));import{ContextPlugin as _0x369656}from'ckeditor5/src/core.js';import{Collection as _0x3cf928,CKEditorError as _0x4253e9}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2428ff}from'./websocketgateway.js';import{Users as _0xf1b90}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x369656{[_0x34a708(0xc7)];[_0x34a708(0xbe)];[_0x34a708(0x8d)];[_0x34a708(0xb3)];[_0x34a708(0x8b)];[_0x34a708(0xbf)];static get[_0x34a708(0xa5)](){const _0xbb93d9=_0x34a708;return _0xbb93d9(0xaf);}static get[_0x34a708(0xc8)](){return!0x0;}static get[_0x34a708(0xad)](){return!0x0;}static get[_0x34a708(0xbc)](){return[_0x2428ff,_0xf1b90];}constructor(_0xcb47){const _0x3b2f87=_0x34a708;super(_0xcb47),this[_0x3b2f87(0xc7)]=new Map(),this[_0x3b2f87(0xbe)]=new Map(),this[_0x3b2f87(0x8d)]=new _0x3cf928(),this[_0x3b2f87(0xb3)]=new Map(),this[_0x3b2f87(0x8b)]=0x0,this[_0x3b2f87(0xbf)]=this[_0x3b2f87(0xa6)][_0x3b2f87(0xb5)][_0x3b2f87(0xc6)](_0xf1b90);}[_0x34a708(0xaa)](){const _0x54f996=_0x34a708,_0x352854=this[_0x54f996(0xa6)][_0x54f996(0xb5)][_0x54f996(0xc6)](_0x2428ff);this[_0x54f996(0xa3)](_0x352854,_0x54f996(0xc0),(_0x25ae7b,_0x129f78,_0x54627a)=>{const _0x46d91b=_0x54f996;if(_0x46d91b(0xbb)!==_0x54627a)this[_0x46d91b(0xc7)][_0x46d91b(0x94)](_0x307aa4=>_0x307aa4[_0x46d91b(0x98)]()),this[_0x46d91b(0xbe)][_0x46d91b(0x94)](_0x207719=>_0x207719[_0x46d91b(0x98)]()),this[_0x46d91b(0x8d)][_0x46d91b(0x98)]();else{for(const [_0x28f550,_0x341413]of this[_0x46d91b(0xb3)])for(const _0x2edc7c of _0x341413)this[_0x46d91b(0xb7)](_0x28f550,_0x2edc7c);}}),this[_0x54f996(0xb1)](_0x352854[_0x54f996(0x9c)]['me'],!0x0);}[_0x34a708(0xbd)](_0x78b02a,_0x237f83){const _0x4bfe64=_0x34a708;if(this[_0x4bfe64(0xb3)][_0x4bfe64(0xc1)](_0x78b02a))throw new _0x4253e9(_0x4bfe64(0xa7),null,{'channelId':_0x78b02a});this[_0x4bfe64(0xb3)][_0x4bfe64(0xb6)](_0x78b02a,_0x237f83),this[_0x4bfe64(0xc7)][_0x4bfe64(0xb6)](_0x78b02a,new _0x3cf928()),this[_0x4bfe64(0xbe)][_0x4bfe64(0xb6)](_0x78b02a,new _0x3cf928()),this[_0x4bfe64(0xa3)](_0x237f83,_0x4bfe64(0x91),(_0x31267a,_0x58a48d)=>this[_0x4bfe64(0xb7)](_0x78b02a,_0x58a48d)),this[_0x4bfe64(0xa3)](_0x237f83,_0x4bfe64(0x9d),(_0x4dfb21,_0x10ecd0)=>this[_0x4bfe64(0xc5)](_0x78b02a,_0x10ecd0));for(const _0x2d0f54 of _0x237f83)this[_0x4bfe64(0xb7)](_0x78b02a,_0x2d0f54);}[_0x34a708(0x90)](_0x1dfe18){const _0x486dec=_0x34a708;if(!this[_0x486dec(0xb3)][_0x486dec(0xc1)](_0x1dfe18))throw new _0x4253e9(_0x486dec(0x95),null,{'channelId':_0x1dfe18});const _0x516c45=this[_0x486dec(0xb3)][_0x486dec(0xc6)](_0x1dfe18);this[_0x486dec(0xa9)](_0x516c45);for(const _0x38a37a of _0x516c45)_0x486dec(0xbb)===this[_0x486dec(0xa6)][_0x486dec(0xb5)][_0x486dec(0xc6)](_0x2428ff)[_0x486dec(0x93)]&&this[_0x486dec(0xc5)](_0x1dfe18,_0x38a37a);this[_0x486dec(0xb3)][_0x486dec(0xb0)](_0x1dfe18),this[_0x486dec(0xc7)][_0x486dec(0xb0)](_0x1dfe18),this[_0x486dec(0xbe)][_0x486dec(0xb0)](_0x1dfe18);}get[_0x34a708(0x8e)](){const _0x1f7c0e=_0x34a708;return this[_0x1f7c0e(0xa6)][_0x1f7c0e(0xb5)][_0x1f7c0e(0xc6)](_0x2428ff)[_0x1f7c0e(0x9c)][_0x1f7c0e(0xb4)];}[_0x34a708(0xac)](_0xd5922){const _0x3dc9b0=_0x34a708;for(const _0x280e02 of this[_0x3dc9b0(0xc7)][_0x3dc9b0(0x99)]())for(const _0x2cee30 of _0x280e02)if(_0x2cee30['id']===_0xd5922)return _0x2cee30[_0x3dc9b0(0xc2)];}[_0x34a708(0x9f)](_0xbdf0ef,_0xcd1d99){const _0x584ca2=_0x34a708,_0x1008b2=_0xcd1d99?[this[_0x584ca2(0xc7)][_0x584ca2(0xc6)](_0xcd1d99)]:this[_0x584ca2(0xc7)][_0x584ca2(0x99)](),_0x20888e=new Set();for(const _0x5de5cc of _0x1008b2)for(const _0x3897f8 of _0x5de5cc)_0x3897f8[_0x584ca2(0xc2)]['id']===_0xbdf0ef['id']&&_0x20888e[_0x584ca2(0x91)](_0x3897f8['id']);return _0x20888e;}[_0x34a708(0xa8)](_0x2ed59d){const _0x9c88ca=_0x34a708;for(const _0x4f705c of this[_0x9c88ca(0xc7)][_0x9c88ca(0x99)]())for(const _0x3e1329 of _0x4f705c)if(_0x3e1329[_0x9c88ca(0xc2)]===_0x2ed59d)return _0x3e1329[_0x9c88ca(0xab)];}[_0x34a708(0xb7)](_0xa0ef20,_0x1a829a){const _0x123ed8=_0x34a708;if(_0x123ed8(0xbb)!==this[_0x123ed8(0xa6)][_0x123ed8(0xb5)][_0x123ed8(0xc6)](_0x2428ff)[_0x123ed8(0x93)])return;const _0x53fba3=_0x1a829a[_0x123ed8(0xc2)],_0x533be7=this[_0x123ed8(0xbf)][_0x123ed8(0x97)](_0x53fba3['id'])||this[_0x123ed8(0xb1)](_0x53fba3),_0x454bd3=Object[_0x123ed8(0x9a)]({},_0x1a829a,{'user':_0x533be7});if(this[_0x123ed8(0xc7)][_0x123ed8(0xc6)](_0xa0ef20)[_0x123ed8(0x91)](_0x454bd3),!_0x53fba3[_0x123ed8(0xa2)]){const _0x258feb=this[_0x123ed8(0xbe)][_0x123ed8(0xc6)](_0xa0ef20);_0x258feb[_0x123ed8(0xc1)](_0x533be7['id'])||_0x258feb[_0x123ed8(0x91)](_0x533be7),this[_0x123ed8(0x8d)][_0x123ed8(0xc1)](_0x533be7['id'])||_0x53fba3[_0x123ed8(0xa2)]||this[_0x123ed8(0x8d)][_0x123ed8(0x91)](_0x533be7,_0x533be7[_0x123ed8(0xa0)]?0x0:void 0x0);}this[_0x123ed8(0xba)](_0x123ed8(0xae)+_0xa0ef20,{'channelId':_0xa0ef20,'session':_0x454bd3});}[_0x34a708(0xc5)](_0x5e72db,_0x2ad269){const _0x9dec60=_0x34a708;if(_0x9dec60(0xbb)!==this[_0x9dec60(0xa6)][_0x9dec60(0xb5)][_0x9dec60(0xc6)](_0x2428ff)[_0x9dec60(0x93)])return;const _0x766a38=this[_0x9dec60(0xbe)][_0x9dec60(0xc6)](_0x5e72db),_0x2281ad=_0x2ad269[_0x9dec60(0xc2)];_0x2281ad['id']&&(this[_0x9dec60(0xc7)][_0x9dec60(0xc6)](_0x5e72db)[_0x9dec60(0x9d)](_0x2ad269['id']),_0x766a38[_0x9dec60(0xc1)](_0x2281ad['id'])&&!this[_0x9dec60(0x9f)](_0x2281ad,_0x5e72db)[_0x9dec60(0xb9)]&&_0x766a38[_0x9dec60(0x9d)](_0x2281ad['id']),this[_0x9dec60(0x8d)][_0x9dec60(0xc6)](_0x2281ad['id'])&&!this[_0x9dec60(0x9f)](_0x2281ad)[_0x9dec60(0xb9)]&&this[_0x9dec60(0x8d)][_0x9dec60(0x9d)](_0x2281ad['id']));}[_0x34a708(0xb1)](_0x12edd0,_0x28ab26){const _0x55b85c=_0x34a708,_0x284496=this[_0x55b85c(0xbf)][_0x55b85c(0x96)](_0x12edd0);return _0x28ab26&&this[_0x55b85c(0xbf)][_0x55b85c(0x8a)](_0x12edd0['id']),_0x284496[_0x55b85c(0xa1)]=this[_0x55b85c(0x8b)]++,_0x284496;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ff936=_0x4490;(function(_0x32b176,_0x21d7b0){const _0x1b8b85=_0x4490,_0x194b3e=_0x32b176();while(!![]){try{const _0x4ca342=-parseInt(_0x1b8b85(0x220))/0x1+-parseInt(_0x1b8b85(0x22e))/0x2+-parseInt(_0x1b8b85(0x252))/0x3*(-parseInt(_0x1b8b85(0x1de))/0x4)+-parseInt(_0x1b8b85(0x204))/0x5+parseInt(_0x1b8b85(0x1e7))/0x6+parseInt(_0x1b8b85(0x257))/0x7*(parseInt(_0x1b8b85(0x1fa))/0x8)+parseInt(_0x1b8b85(0x225))/0x9;if(_0x4ca342===_0x21d7b0)break;else _0x194b3e['push'](_0x194b3e['shift']());}catch(_0x42b6fe){_0x194b3e['push'](_0x194b3e['shift']());}}}(_0x5b36,0xd807c));import{Plugin as _0x4eb4fc}from'ckeditor5/src/core.js';import{global as _0x120b12,DomEmitterMixin as _0x4895f2}from'ckeditor5/src/utils.js';function _0x4490(_0x35f438,_0x3fc438){const _0x5b3626=_0x5b36();return _0x4490=function(_0x4490b4,_0x2fa190){_0x4490b4=_0x4490b4-0x1cf;let _0x5d086d=_0x5b3626[_0x4490b4];return _0x5d086d;},_0x4490(_0x35f438,_0x3fc438);}import{Sessions as _0x16f702}from'./sessions.js';import{ModelLiveRange as _0x1e76cc}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5b36(){const _0x5e9ce1=['editingDowncast','markers','outerHTML','nodeAfter','root','has','document','mapper','type','markerRange','382744AyUyLJ','reconvertMarker','marker','getAttribute','for','set','plugins','_createdBatches','editing','isOfficialPlugin','2099070XBotPi','checkChild','mySessionId','UserMarkers','addEventListener','setCustomProperty','span','delete','remove','getFirstRange','spellcheck','user:range:','createUserMarkerOperations','getContainedElement','update:user:range','view','toDomElement','markerToHighlight','parent','oldRange','data-session-id','schema','change:range','user:range','detach','ck-user__selection','textContent','batch','897839bJITHd','isObject','createUIElement','tableCell','mouseenter','15278859PDPaAq','userPositionMarker','isSimilar','listenTo','markerToElement','stopListening','color','render','name','2895626jmWxcx','end','conversion','clear','false','user:position:','toRange','isPremiumPlugin','undo','model','fromRange','createElement','change','$text','get','user:','createRange','isLimit','ck-user__marker\x20','commands','startsWith','applyOperation','add','getPositions','orderNumber','_domEmitter','removeClass','ck-user__marker-tooltip','rootName','getNearestSelectionRange','element','split','editor','hasDomSelection','selection','ck-user__marker_hovered','3vygyrz','getMarkerClass','addMarker','hasContent','size','175quXWwv','keydown','isDocumentOperation','markerNameToElements','getStart','getUserBySessionId','deletionPosition','enqueueChange','destroy','setAttribute','getRange','start','markerName','innerHTML','updateMarker','classList','Escape','36588kDHOAX','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mouseleave','newRange','pluginName','user:position','requires','removeMarker','afterInit','4484718jeNaxI','isInline','isCollapsed','$graveyard','init','getSelectionClass','getCustomProperty','contenteditable','highest'];_0x5b36=function(){return _0x5e9ce1;};return _0x5b36();}export class UserMarkers extends _0x4eb4fc{[_0x3ff936(0x247)]=new(_0x4895f2())();static get[_0x3ff936(0x1e4)](){return[_0x16f702];}static get[_0x3ff936(0x1e2)](){const _0xbef577=_0x3ff936;return _0xbef577(0x207);}static get[_0x3ff936(0x203)](){return!0x0;}static get[_0x3ff936(0x235)](){return!0x0;}[_0x3ff936(0x1eb)](){const _0x4341f9=_0x3ff936,_0x1fea7f=this[_0x4341f9(0x24e)],_0x1c426d=_0x1fea7f[_0x4341f9(0x200)][_0x4341f9(0x23c)](_0x16f702);_0x1fea7f[_0x4341f9(0x230)][_0x4341f9(0x1fe)](_0x4341f9(0x1f0))[_0x4341f9(0x229)]({'model':_0x4341f9(0x1e3),'view':(_0x12ad16,{writer:_0xd9fce1})=>function(_0x33f9d8,_0x4783d7,_0x2509ae,_0x256fb5){const _0xf9f92d=_0x4341f9,_0x13cfda=_0x33f9d8[_0xf9f92d(0x1d9)][_0xf9f92d(0x24d)](':')[0x2],_0x4b2ac0=_0x2509ae[_0xf9f92d(0x1d2)](_0x13cfda);if(!_0x4b2ac0||_0x13cfda===_0x2509ae[_0xf9f92d(0x206)])return;if(!_0x256fb5[_0xf9f92d(0x237)][_0xf9f92d(0x219)][_0xf9f92d(0x205)](_0x33f9d8[_0xf9f92d(0x1f9)][_0xf9f92d(0x1d8)],_0xf9f92d(0x23b)))return;const _0xb7d676={'class':_0xf9f92d(0x240)+_0x4b2ac0[_0xf9f92d(0x22b)][_0xf9f92d(0x253)](),'data-name':_0x4b2ac0[_0xf9f92d(0x22d)],'data-session-id':_0x13cfda},_0x39cd07=_0x256fb5[_0xf9f92d(0x237)][_0xf9f92d(0x1f1)][_0xf9f92d(0x23c)](_0x33f9d8[_0xf9f92d(0x1d9)]),_0x2bbd1d=_0x39cd07[_0xf9f92d(0x1d1)](),_0x57941b=_0x2bbd1d[_0xf9f92d(0x1f3)],_0x338b9f=_0x256fb5[_0xf9f92d(0x237)][_0xf9f92d(0x219)];if(_0x57941b&&_0x338b9f[_0xf9f92d(0x221)](_0x57941b)&&_0x338b9f[_0xf9f92d(0x1e8)](_0x57941b)&&!_0x256fb5[_0xf9f92d(0x237)][_0xf9f92d(0x1f1)][_0xf9f92d(0x23c)](_0xf9f92d(0x20f)+_0x13cfda)[_0xf9f92d(0x1d7)]()[_0xf9f92d(0x1e9)])return;const _0x5cb3fe=_0x2bbd1d[_0xf9f92d(0x216)];return _0x256fb5[_0xf9f92d(0x237)][_0xf9f92d(0x219)][_0xf9f92d(0x23f)](_0x5cb3fe)&&!_0x256fb5[_0xf9f92d(0x237)][_0xf9f92d(0x255)](_0x5cb3fe)&&(_0xb7d676[_0xf9f92d(0x1ee)]=!0x1),function(_0xa40eda,_0x4102c7,_0x3f80be){const _0x2d71b0=_0xf9f92d,_0x15badb=_0xa40eda[_0x2d71b0(0x222)](_0x2d71b0(0x20a),_0x4102c7);return _0xa40eda[_0x2d71b0(0x209)](_0x2d71b0(0x226),!0x0,_0x15badb),_0x15badb[_0x2d71b0(0x22c)]=function(_0x21d78e){const _0x2d87f1=_0x2d71b0,_0x5b442f=this[_0x2d87f1(0x214)](_0x21d78e),_0x7daec5=document[_0x2d87f1(0x239)](_0x2d87f1(0x20a));return _0x7daec5[_0x2d87f1(0x1dc)][_0x2d87f1(0x244)](_0x2d87f1(0x249)),_0x7daec5[_0x2d87f1(0x1d6)](_0x2d87f1(0x1ee),_0x2d87f1(0x232)),_0x7daec5[_0x2d87f1(0x1d6)](_0x2d87f1(0x20e),_0x2d87f1(0x232)),_0x7daec5[_0x2d87f1(0x21e)]=_0x3f80be[_0x2d87f1(0x22d)],_0x5b442f[_0x2d87f1(0x1da)]=_0x2d87f1(0x1df)+_0x7daec5[_0x2d87f1(0x1f2)]+'⁠',_0x5b442f[_0x2d87f1(0x208)](_0x2d87f1(0x224),()=>{const _0x11716e=_0x2d87f1;_0x5b442f[_0x11716e(0x1dc)][_0x11716e(0x244)](_0x11716e(0x251));}),_0x5b442f[_0x2d87f1(0x208)](_0x2d87f1(0x1e0),()=>{const _0x4d972d=_0x2d87f1;_0x5b442f[_0x4d972d(0x1dc)][_0x4d972d(0x20c)](_0x4d972d(0x251));}),_0x5b442f;},_0x15badb[_0x2d71b0(0x227)]=function(_0x2aec73){const _0x4e7a3d=_0x2d71b0;return!(!this[_0x4e7a3d(0x1ed)](_0x4e7a3d(0x226))||!_0x2aec73[_0x4e7a3d(0x1ed)](_0x4e7a3d(0x226))||this[_0x4e7a3d(0x1fd)](_0x4e7a3d(0x218))!=_0x2aec73[_0x4e7a3d(0x1fd)](_0x4e7a3d(0x218)));},_0x15badb;}(_0x4783d7,_0xb7d676,_0x4b2ac0);}(_0x12ad16,_0xd9fce1,_0x1c426d,_0x1fea7f)}),_0x1fea7f[_0x4341f9(0x230)][_0x4341f9(0x1fe)](_0x4341f9(0x1f0))[_0x4341f9(0x215)]({'model':_0x4341f9(0x21b),'view':_0x26baf7=>function(_0x4a1bd9,_0x56aa22){const _0xbb6726=_0x4341f9,_0x4351af=_0x4a1bd9[_0xbb6726(0x1d9)][_0xbb6726(0x24d)](':')[0x2];if(_0x4351af===_0x56aa22[_0xbb6726(0x206)])return null;const _0x2cb8c8=_0x56aa22[_0xbb6726(0x1d2)](_0x4351af);if(!_0x2cb8c8)return{'id':_0x4351af,'classes':[]};return{'id':_0x4351af,'classes':[_0xbb6726(0x21d),_0x2cb8c8[_0xbb6726(0x22b)][_0xbb6726(0x1ec)]()],'attributes':{'data-session-id':_0x4351af},'priority':0x7d0+_0x2cb8c8[_0xbb6726(0x246)]};}(_0x26baf7,_0x1c426d)}),function(_0x3117e1){const _0x4c6140=_0x4341f9,_0x3c6b59=_0x3117e1[_0x4c6140(0x237)],_0x3731c3=new Map(),_0xe93aed=_0x3117e1[_0x4c6140(0x200)][_0x4c6140(0x23c)](_0x16f702);_0x3c6b59[_0x4c6140(0x1f1)]['on'](_0x4c6140(0x212),(_0x30e989,_0x1e270,_0x6a2125,_0x4cde12)=>{const _0x571964=_0x4c6140;if(!_0x4cde12&&_0x3731c3[_0x571964(0x23c)](_0x1e270[_0x571964(0x22d)]))return _0x3731c3[_0x571964(0x23c)](_0x1e270[_0x571964(0x22d)])[_0x571964(0x21c)](),void _0x3731c3[_0x571964(0x20b)](_0x1e270[_0x571964(0x22d)]);const _0x582d32=_0x1e270[_0x571964(0x22d)][_0x571964(0x24d)](':')[0x2];if(_0x582d32===_0xe93aed[_0x571964(0x206)])return;const _0x376e67=_0x571964(0x233)+_0x582d32;_0x3c6b59[_0x571964(0x1f1)][_0x571964(0x1f5)](_0x376e67)&&_0x3117e1[_0x571964(0x202)][_0x571964(0x1fb)](_0x376e67),_0x1e270['on'](_0x571964(0x21a),(_0x15e035,_0x2b06b2,_0x338b16)=>{const _0x32d347=_0x571964;if(_0x32d347(0x1ea)!=_0x2b06b2[_0x32d347(0x1f4)][_0x32d347(0x24a)]&&_0x32d347(0x1ea)==_0x1e270[_0x32d347(0x1d7)]()[_0x32d347(0x1f4)][_0x32d347(0x24a)]&&!_0x3731c3[_0x32d347(0x1f5)](_0x1e270[_0x32d347(0x22d)])){const _0x4a95f5=_0x3c6b59[_0x32d347(0x219)][_0x32d347(0x24b)](_0x338b16[_0x32d347(0x1d3)]);if(_0x4a95f5){const _0x17da11=_0x1e76cc[_0x32d347(0x238)](_0x4a95f5);_0x3731c3[_0x32d347(0x1ff)](_0x1e270[_0x32d347(0x22d)],_0x17da11),_0x17da11['on'](_0x32d347(0x21a),(_0x5c5e82,_0x3ba634,_0x5320e1)=>{const _0x704c7=_0x32d347;if(_0x704c7(0x1ea)==_0x17da11[_0x704c7(0x1f4)][_0x704c7(0x24a)]){const _0x48d343=_0x3c6b59[_0x704c7(0x219)][_0x704c7(0x24b)](_0x5320e1[_0x704c7(0x1d3)]);_0x48d343?(_0x17da11[_0x704c7(0x1d8)]=_0x48d343[_0x704c7(0x1d8)],_0x17da11[_0x704c7(0x22f)]=_0x48d343[_0x704c7(0x22f)]):(_0x3731c3[_0x704c7(0x20b)](_0x1e270[_0x704c7(0x22d)]),_0x17da11[_0x704c7(0x21c)]());}});}}});}),_0x3c6b59[_0x4c6140(0x1f6)]['on'](_0x4c6140(0x23a),()=>{const _0x322db8=_0x4c6140;_0x3731c3[_0x322db8(0x256)]>0x0&&_0x3c6b59[_0x322db8(0x1d4)]({'isUndoable':!0x1},_0x252d08=>{const _0x5a3086=_0x322db8;for(const [_0x6978ee,_0x34166b]of _0x3731c3)_0x5a3086(0x1ea)==_0x3c6b59[_0x5a3086(0x1f1)][_0x5a3086(0x23c)](_0x6978ee)[_0x5a3086(0x1d7)]()[_0x5a3086(0x1f4)][_0x5a3086(0x24a)]&&(q(_0x6978ee[_0x5a3086(0x24d)](':')[0x2],_0x34166b[_0x5a3086(0x234)](),_0x3c6b59,_0x252d08),_0x34166b[_0x5a3086(0x21c)]());_0x3731c3[_0x5a3086(0x231)]();});});}(_0x1fea7f),this[_0x4341f9(0x247)][_0x4341f9(0x228)](_0x120b12[_0x4341f9(0x1f6)],_0x4341f9(0x258),(_0x30bde7,{key:_0x324b5a})=>{const _0x191d71=_0x4341f9;_0x191d71(0x1dd)===_0x324b5a&&function(_0x46305b){const _0x45837c=_0x191d71;_0x46305b[_0x45837c(0x202)][_0x45837c(0x213)][_0x45837c(0x23a)](_0x4498d1=>{const _0x32c363=_0x45837c;for(const _0x54e01c of _0x46305b[_0x32c363(0x237)][_0x32c363(0x1f1)]){if(!_0x54e01c[_0x32c363(0x22d)][_0x32c363(0x242)](_0x32c363(0x1e3)))continue;const _0x4e0f5a=_0x46305b[_0x32c363(0x202)][_0x32c363(0x1f7)][_0x32c363(0x1d0)](_0x54e01c[_0x32c363(0x22d)]);if(_0x4e0f5a){for(const _0x136602 of _0x4e0f5a)_0x4498d1[_0x32c363(0x248)](_0x32c363(0x251),_0x136602);}}});}(_0x1fea7f);},{'useCapture':!0x0});}[_0x3ff936(0x1e6)](){const _0x5dd98c=_0x3ff936,_0x4aafe2=this[_0x5dd98c(0x24e)],_0x3a8f77=_0x4aafe2[_0x5dd98c(0x241)][_0x5dd98c(0x23c)](_0x5dd98c(0x236));_0x3a8f77&&_0x4aafe2[_0x5dd98c(0x237)]['on'](_0x5dd98c(0x243),(_0x1c1e35,_0x132f96)=>{const _0x41468a=_0x5dd98c,_0xc9d3ec=_0x132f96[0x0];if(!_0xc9d3ec[_0x41468a(0x1cf)])return;if(_0x41468a(0x1fc)!=_0xc9d3ec[_0x41468a(0x1f8)]||!_0xc9d3ec[_0x41468a(0x22d)][_0x41468a(0x242)](_0x41468a(0x23d)))return;const _0x5a8da5=_0xc9d3ec[_0x41468a(0x21f)];_0x3a8f77[_0x41468a(0x201)][_0x41468a(0x1f5)](_0x5a8da5)&&(_0xc9d3ec[_0x41468a(0x1e1)]=_0xc9d3ec[_0x41468a(0x217)]?_0x4aafe2[_0x41468a(0x237)][_0x41468a(0x23e)](_0xc9d3ec[_0x41468a(0x217)][_0x41468a(0x1d8)],_0xc9d3ec[_0x41468a(0x217)][_0x41468a(0x22f)]):null);},{'priority':_0x5dd98c(0x1ef)});}[_0x3ff936(0x1d5)](){const _0x5931a1=_0x3ff936;return this[_0x5931a1(0x247)][_0x5931a1(0x22a)](),super[_0x5931a1(0x1d5)]();}[_0x3ff936(0x210)](){const _0x219110=_0x3ff936,_0x4595ee=this[_0x219110(0x24e)],_0x340dc7=_0x4595ee[_0x219110(0x237)][_0x219110(0x1f6)],_0x4d3232=_0x4595ee[_0x219110(0x200)][_0x219110(0x23c)](_0x16f702);_0x4595ee[_0x219110(0x237)][_0x219110(0x1d4)]({'isUndoable':!0x1},_0xb8ac87=>{const _0x45569a=_0x219110,_0x4fd089=_0x45569a(0x20f)+_0x4d3232[_0x45569a(0x206)],_0x108048=_0x45569a(0x233)+_0x4d3232[_0x45569a(0x206)],_0x386be0=_0x4595ee[_0x45569a(0x237)][_0x45569a(0x1f1)][_0x45569a(0x1f5)](_0x4fd089);_0x4595ee[_0x45569a(0x202)][_0x45569a(0x213)][_0x45569a(0x24f)]?q(_0x4d3232[_0x45569a(0x206)],_0x340dc7[_0x45569a(0x250)][_0x45569a(0x20d)](),_0x4595ee[_0x45569a(0x237)],_0xb8ac87):_0x386be0&&(_0xb8ac87[_0x45569a(0x1e5)](_0x4fd089),_0xb8ac87[_0x45569a(0x1e5)](_0x108048));});}}function q(_0x1e9df8,_0x2ce2e9,_0x28221f,_0x2b4152){const _0x533e53=_0x3ff936,_0x3e96b3=_0x533e53(0x20f)+_0x1e9df8,_0x49c0c1=_0x533e53(0x233)+_0x1e9df8,_0x4f73c0=_0x2ce2e9[_0x533e53(0x211)]();let _0x349f3f=_0x2ce2e9[_0x533e53(0x1d8)];if(_0x4f73c0&&_0x4f73c0['is'](_0x533e53(0x24c),_0x533e53(0x223))){const _0x22c5d2=function(_0x3cfb8a,_0x13e739){const _0x13e46d=_0x533e53;for(const _0x4251db of _0x3cfb8a[_0x13e46d(0x245)]())if(_0x13e739[_0x13e46d(0x219)][_0x13e46d(0x205)](_0x4251db,_0x13e46d(0x23b)))return _0x4251db;}(_0x2ce2e9,_0x28221f);_0x22c5d2&&(_0x349f3f=_0x22c5d2,_0x2ce2e9=_0x2b4152[_0x533e53(0x23e)](_0x349f3f));}const _0x279579=_0x2b4152[_0x533e53(0x23e)](_0x349f3f);_0x28221f[_0x533e53(0x1f1)][_0x533e53(0x1f5)](_0x3e96b3)?(_0x2b4152[_0x533e53(0x1db)](_0x3e96b3,{'range':_0x2ce2e9}),_0x2b4152[_0x533e53(0x1db)](_0x49c0c1,{'range':_0x279579})):(_0x2b4152[_0x533e53(0x254)](_0x3e96b3,{'range':_0x2ce2e9,'usingOperation':!0x0}),_0x2b4152[_0x533e53(0x254)](_0x49c0c1,{'range':_0x279579,'usingOperation':!0x0}));}
23
+ function _0x48b7(){const _0x44d024=['isPremiumPlugin','keydown','startsWith','toRange','createUIElement','markerNameToElements','user:range','add','has','mapper','applyOperation','hasDomSelection','getContainedElement','checkChild','type','ck-user__marker-tooltip','isOfficialPlugin','false','getSelectionClass','model','schema','enqueueChange','Escape','mouseleave','orderNumber','isObject','addMarker','497918ueIrlt','8348714IotGpC','span','clear','getMarkerClass','isCollapsed','editing','color','stopListening','getFirstRange','setCustomProperty','setAttribute','isInline','editor','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','undo','document','contenteditable','792668qFnFlr','end','tableCell','createUserMarkerOperations','change','plugins','marker','markerRange','root','newRange','getPositions','1934284IxzoyG','requires','userPositionMarker','$graveyard','pluginName','createElement','name','destroy','markers','textContent','3928uEHCrY','user:range:','removeClass','mouseenter','9TQEiYb','updateMarker','getStart','markerToElement','remove','innerHTML','getAttribute','markerName','for','editingDowncast','conversion','get','parent','mySessionId','view','selection','isDocumentOperation','getNearestSelectionRange','spellcheck','set','UserMarkers','oldRange','element','outerHTML','detach','highest','user:','render','addEventListener','ck-user__marker\x20','commands','split','fromRange','_createdBatches','listenTo','delete','rootName','hasContent','getCustomProperty','getRange','ck-user__marker_hovered','removeMarker','user:position:','data-session-id','start','getUserBySessionId','isSimilar','update:user:range','markerToHighlight','1197nkZsDz','9ladBpQ','deletionPosition','createRange','reconvertMarker','toDomElement','classList','5096220eAcsbn','168puUTUZ','batch','user:position','isLimit','$text','nodeAfter','afterInit','40430rUAHox','ck-user__selection','size','init','change:range','_domEmitter'];_0x48b7=function(){return _0x44d024;};return _0x48b7();}const _0x15a34f=_0x4b28;(function(_0x341ad7,_0x2565ac){const _0x190261=_0x4b28,_0x528875=_0x341ad7();while(!![]){try{const _0x5388f9=parseInt(_0x190261(0x18c))/0x1+-parseInt(_0x190261(0x1a9))/0x2+parseInt(_0x190261(0x12b))/0x3*(-parseInt(_0x190261(0x19e))/0x4)+parseInt(_0x190261(0x16b))/0x5*(parseInt(_0x190261(0x164))/0x6)+parseInt(_0x190261(0x15c))/0x7*(parseInt(_0x190261(0x127))/0x8)+-parseInt(_0x190261(0x15d))/0x9*(-parseInt(_0x190261(0x163))/0xa)+parseInt(_0x190261(0x18d))/0xb;if(_0x5388f9===_0x2565ac)break;else _0x528875['push'](_0x528875['shift']());}catch(_0x3c59e1){_0x528875['push'](_0x528875['shift']());}}}(_0x48b7,0x7dca8));import{Plugin as _0x20c07f}from'ckeditor5/src/core.js';import{global as _0x451899,DomEmitterMixin as _0x2f9ddf}from'ckeditor5/src/utils.js';import{Sessions as _0x5b85d9}from'./sessions.js';import{ModelLiveRange as _0x55a201}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x4b28(_0x155da4,_0x22b0ca){const _0x48b7b1=_0x48b7();return _0x4b28=function(_0x4b285f,_0x1b10e4){_0x4b285f=_0x4b285f-0x120;let _0x5064fa=_0x48b7b1[_0x4b285f];return _0x5064fa;},_0x4b28(_0x155da4,_0x22b0ca);}export class UserMarkers extends _0x20c07f{[_0x15a34f(0x170)]=new(_0x2f9ddf())();static get[_0x15a34f(0x1aa)](){return[_0x5b85d9];}static get[_0x15a34f(0x121)](){const _0x5e2be8=_0x15a34f;return _0x5e2be8(0x13f);}static get[_0x15a34f(0x181)](){return!0x0;}static get[_0x15a34f(0x171)](){return!0x0;}[_0x15a34f(0x16e)](){const _0x27d2fa=_0x15a34f,_0x59d5cc=this[_0x27d2fa(0x199)],_0x5b20ae=_0x59d5cc[_0x27d2fa(0x1a3)][_0x27d2fa(0x136)](_0x5b85d9);_0x59d5cc[_0x27d2fa(0x135)][_0x27d2fa(0x133)](_0x27d2fa(0x134))[_0x27d2fa(0x12e)]({'model':_0x27d2fa(0x166),'view':(_0x2eb6b6,{writer:_0x1f9716})=>function(_0x1b8f23,_0x16312c,_0x1affbf,_0x4baadd){const _0x355cba=_0x27d2fa,_0x294c91=_0x1b8f23[_0x355cba(0x132)][_0x355cba(0x14a)](':')[0x2],_0x43be94=_0x1affbf[_0x355cba(0x158)](_0x294c91);if(!_0x43be94||_0x294c91===_0x1affbf[_0x355cba(0x138)])return;if(!_0x4baadd[_0x355cba(0x184)][_0x355cba(0x185)][_0x355cba(0x17e)](_0x1b8f23[_0x355cba(0x1a5)][_0x355cba(0x157)],_0x355cba(0x168)))return;const _0x646276={'class':_0x355cba(0x148)+_0x43be94[_0x355cba(0x193)][_0x355cba(0x190)](),'data-name':_0x43be94[_0x355cba(0x123)],'data-session-id':_0x294c91},_0x2fcfac=_0x4baadd[_0x355cba(0x184)][_0x355cba(0x125)][_0x355cba(0x136)](_0x1b8f23[_0x355cba(0x132)]),_0x2cbd07=_0x2fcfac[_0x355cba(0x12d)](),_0x17340e=_0x2cbd07[_0x355cba(0x169)],_0x4c38ed=_0x4baadd[_0x355cba(0x184)][_0x355cba(0x185)];if(_0x17340e&&_0x4c38ed[_0x355cba(0x18a)](_0x17340e)&&_0x4c38ed[_0x355cba(0x198)](_0x17340e)&&!_0x4baadd[_0x355cba(0x184)][_0x355cba(0x125)][_0x355cba(0x136)](_0x355cba(0x128)+_0x294c91)[_0x355cba(0x152)]()[_0x355cba(0x191)])return;const _0x374f28=_0x2cbd07[_0x355cba(0x137)];return _0x4baadd[_0x355cba(0x184)][_0x355cba(0x185)][_0x355cba(0x167)](_0x374f28)&&!_0x4baadd[_0x355cba(0x184)][_0x355cba(0x150)](_0x374f28)&&(_0x646276[_0x355cba(0x19d)]=!0x1),function(_0x3497c2,_0x37bb66,_0x5d6a17){const _0x1266cb=_0x355cba,_0x157990=_0x3497c2[_0x1266cb(0x175)](_0x1266cb(0x18e),_0x37bb66);return _0x3497c2[_0x1266cb(0x196)](_0x1266cb(0x1ab),!0x0,_0x157990),_0x157990[_0x1266cb(0x146)]=function(_0x383077){const _0x3919a9=_0x1266cb,_0x13736a=this[_0x3919a9(0x161)](_0x383077),_0x10613b=document[_0x3919a9(0x122)](_0x3919a9(0x18e));return _0x10613b[_0x3919a9(0x162)][_0x3919a9(0x178)](_0x3919a9(0x180)),_0x10613b[_0x3919a9(0x197)](_0x3919a9(0x19d),_0x3919a9(0x182)),_0x10613b[_0x3919a9(0x197)](_0x3919a9(0x13d),_0x3919a9(0x182)),_0x10613b[_0x3919a9(0x126)]=_0x5d6a17[_0x3919a9(0x123)],_0x13736a[_0x3919a9(0x130)]=_0x3919a9(0x19a)+_0x10613b[_0x3919a9(0x142)]+'⁠',_0x13736a[_0x3919a9(0x147)](_0x3919a9(0x12a),()=>{const _0x7abe0e=_0x3919a9;_0x13736a[_0x7abe0e(0x162)][_0x7abe0e(0x178)](_0x7abe0e(0x153));}),_0x13736a[_0x3919a9(0x147)](_0x3919a9(0x188),()=>{const _0x47a35b=_0x3919a9;_0x13736a[_0x47a35b(0x162)][_0x47a35b(0x12f)](_0x47a35b(0x153));}),_0x13736a;},_0x157990[_0x1266cb(0x159)]=function(_0x58c029){const _0x2ca2cc=_0x1266cb;return!(!this[_0x2ca2cc(0x151)](_0x2ca2cc(0x1ab))||!_0x58c029[_0x2ca2cc(0x151)](_0x2ca2cc(0x1ab))||this[_0x2ca2cc(0x131)](_0x2ca2cc(0x156))!=_0x58c029[_0x2ca2cc(0x131)](_0x2ca2cc(0x156)));},_0x157990;}(_0x16312c,_0x646276,_0x43be94);}(_0x2eb6b6,_0x1f9716,_0x5b20ae,_0x59d5cc)}),_0x59d5cc[_0x27d2fa(0x135)][_0x27d2fa(0x133)](_0x27d2fa(0x134))[_0x27d2fa(0x15b)]({'model':_0x27d2fa(0x177),'view':_0x395454=>function(_0x31815b,_0x30b31a){const _0x402dca=_0x27d2fa,_0x50e42a=_0x31815b[_0x402dca(0x132)][_0x402dca(0x14a)](':')[0x2];if(_0x50e42a===_0x30b31a[_0x402dca(0x138)])return null;const _0x2c6906=_0x30b31a[_0x402dca(0x158)](_0x50e42a);if(!_0x2c6906)return{'id':_0x50e42a,'classes':[]};return{'id':_0x50e42a,'classes':[_0x402dca(0x16c),_0x2c6906[_0x402dca(0x193)][_0x402dca(0x183)]()],'attributes':{'data-session-id':_0x50e42a},'priority':0x7d0+_0x2c6906[_0x402dca(0x189)]};}(_0x395454,_0x5b20ae)}),function(_0x34ef40){const _0x436531=_0x27d2fa,_0x4e7caa=_0x34ef40[_0x436531(0x184)],_0x263352=new Map(),_0x2dfa23=_0x34ef40[_0x436531(0x1a3)][_0x436531(0x136)](_0x5b85d9);_0x4e7caa[_0x436531(0x125)]['on'](_0x436531(0x15a),(_0x358bb2,_0x12858b,_0x521f12,_0x134da8)=>{const _0x2f77b0=_0x436531;if(!_0x134da8&&_0x263352[_0x2f77b0(0x136)](_0x12858b[_0x2f77b0(0x123)]))return _0x263352[_0x2f77b0(0x136)](_0x12858b[_0x2f77b0(0x123)])[_0x2f77b0(0x143)](),void _0x263352[_0x2f77b0(0x14e)](_0x12858b[_0x2f77b0(0x123)]);const _0x5e1ad8=_0x12858b[_0x2f77b0(0x123)][_0x2f77b0(0x14a)](':')[0x2];if(_0x5e1ad8===_0x2dfa23[_0x2f77b0(0x138)])return;const _0x178523=_0x2f77b0(0x155)+_0x5e1ad8;_0x4e7caa[_0x2f77b0(0x125)][_0x2f77b0(0x179)](_0x178523)&&_0x34ef40[_0x2f77b0(0x192)][_0x2f77b0(0x160)](_0x178523),_0x12858b['on'](_0x2f77b0(0x16f),(_0xd899b9,_0x4da245,_0x13238b)=>{const _0x16910b=_0x2f77b0;if(_0x16910b(0x120)!=_0x4da245[_0x16910b(0x1a6)][_0x16910b(0x14f)]&&_0x16910b(0x120)==_0x12858b[_0x16910b(0x152)]()[_0x16910b(0x1a6)][_0x16910b(0x14f)]&&!_0x263352[_0x16910b(0x179)](_0x12858b[_0x16910b(0x123)])){const _0x2143a5=_0x4e7caa[_0x16910b(0x185)][_0x16910b(0x13c)](_0x13238b[_0x16910b(0x15e)]);if(_0x2143a5){const _0x2b21bd=_0x55a201[_0x16910b(0x14b)](_0x2143a5);_0x263352[_0x16910b(0x13e)](_0x12858b[_0x16910b(0x123)],_0x2b21bd),_0x2b21bd['on'](_0x16910b(0x16f),(_0x3fb825,_0x46d589,_0x699c0a)=>{const _0x40952a=_0x16910b;if(_0x40952a(0x120)==_0x2b21bd[_0x40952a(0x1a6)][_0x40952a(0x14f)]){const _0xf756fc=_0x4e7caa[_0x40952a(0x185)][_0x40952a(0x13c)](_0x699c0a[_0x40952a(0x15e)]);_0xf756fc?(_0x2b21bd[_0x40952a(0x157)]=_0xf756fc[_0x40952a(0x157)],_0x2b21bd[_0x40952a(0x19f)]=_0xf756fc[_0x40952a(0x19f)]):(_0x263352[_0x40952a(0x14e)](_0x12858b[_0x40952a(0x123)]),_0x2b21bd[_0x40952a(0x143)]());}});}}});}),_0x4e7caa[_0x436531(0x19c)]['on'](_0x436531(0x1a2),()=>{const _0x1665ec=_0x436531;_0x263352[_0x1665ec(0x16d)]>0x0&&_0x4e7caa[_0x1665ec(0x186)]({'isUndoable':!0x1},_0x1988ed=>{const _0x3a3a0c=_0x1665ec;for(const [_0x29f318,_0x1e5dbb]of _0x263352)_0x3a3a0c(0x120)==_0x4e7caa[_0x3a3a0c(0x125)][_0x3a3a0c(0x136)](_0x29f318)[_0x3a3a0c(0x152)]()[_0x3a3a0c(0x1a6)][_0x3a3a0c(0x14f)]&&(J(_0x29f318[_0x3a3a0c(0x14a)](':')[0x2],_0x1e5dbb[_0x3a3a0c(0x174)](),_0x4e7caa,_0x1988ed),_0x1e5dbb[_0x3a3a0c(0x143)]());_0x263352[_0x3a3a0c(0x18f)]();});});}(_0x59d5cc),this[_0x27d2fa(0x170)][_0x27d2fa(0x14d)](_0x451899[_0x27d2fa(0x19c)],_0x27d2fa(0x172),(_0x45c06e,{key:_0xe32816})=>{const _0x35714f=_0x27d2fa;_0x35714f(0x187)===_0xe32816&&function(_0x263341){const _0x3c45c7=_0x35714f;_0x263341[_0x3c45c7(0x192)][_0x3c45c7(0x139)][_0x3c45c7(0x1a2)](_0x208b3d=>{const _0x3afeeb=_0x3c45c7;for(const _0x3a111c of _0x263341[_0x3afeeb(0x184)][_0x3afeeb(0x125)]){if(!_0x3a111c[_0x3afeeb(0x123)][_0x3afeeb(0x173)](_0x3afeeb(0x166)))continue;const _0x3b5586=_0x263341[_0x3afeeb(0x192)][_0x3afeeb(0x17a)][_0x3afeeb(0x176)](_0x3a111c[_0x3afeeb(0x123)]);if(_0x3b5586){for(const _0xd82af of _0x3b5586)_0x208b3d[_0x3afeeb(0x129)](_0x3afeeb(0x153),_0xd82af);}}});}(_0x59d5cc);},{'useCapture':!0x0});}[_0x15a34f(0x16a)](){const _0x374387=_0x15a34f,_0x4d9b0f=this[_0x374387(0x199)],_0x47a035=_0x4d9b0f[_0x374387(0x149)][_0x374387(0x136)](_0x374387(0x19b));_0x47a035&&_0x4d9b0f[_0x374387(0x184)]['on'](_0x374387(0x17b),(_0x309f86,_0x590779)=>{const _0x1a709c=_0x374387,_0x3e7ffb=_0x590779[0x0];if(!_0x3e7ffb[_0x1a709c(0x13b)])return;if(_0x1a709c(0x1a4)!=_0x3e7ffb[_0x1a709c(0x17f)]||!_0x3e7ffb[_0x1a709c(0x123)][_0x1a709c(0x173)](_0x1a709c(0x145)))return;const _0x3ab931=_0x3e7ffb[_0x1a709c(0x165)];_0x47a035[_0x1a709c(0x14c)][_0x1a709c(0x179)](_0x3ab931)&&(_0x3e7ffb[_0x1a709c(0x1a7)]=_0x3e7ffb[_0x1a709c(0x140)]?_0x4d9b0f[_0x1a709c(0x184)][_0x1a709c(0x15f)](_0x3e7ffb[_0x1a709c(0x140)][_0x1a709c(0x157)],_0x3e7ffb[_0x1a709c(0x140)][_0x1a709c(0x19f)]):null);},{'priority':_0x374387(0x144)});}[_0x15a34f(0x124)](){const _0x1e10f4=_0x15a34f;return this[_0x1e10f4(0x170)][_0x1e10f4(0x194)](),super[_0x1e10f4(0x124)]();}[_0x15a34f(0x1a1)](){const _0x47fc1e=_0x15a34f,_0xffb63a=this[_0x47fc1e(0x199)],_0x3d139d=_0xffb63a[_0x47fc1e(0x184)][_0x47fc1e(0x19c)],_0x13cda5=_0xffb63a[_0x47fc1e(0x1a3)][_0x47fc1e(0x136)](_0x5b85d9);_0xffb63a[_0x47fc1e(0x184)][_0x47fc1e(0x186)]({'isUndoable':!0x1},_0x192f4e=>{const _0x4f0fe9=_0x47fc1e,_0x1e8156=_0x4f0fe9(0x128)+_0x13cda5[_0x4f0fe9(0x138)],_0x256820=_0x4f0fe9(0x155)+_0x13cda5[_0x4f0fe9(0x138)],_0xfa1101=_0xffb63a[_0x4f0fe9(0x184)][_0x4f0fe9(0x125)][_0x4f0fe9(0x179)](_0x1e8156);_0xffb63a[_0x4f0fe9(0x192)][_0x4f0fe9(0x139)][_0x4f0fe9(0x17c)]?J(_0x13cda5[_0x4f0fe9(0x138)],_0x3d139d[_0x4f0fe9(0x13a)][_0x4f0fe9(0x195)](),_0xffb63a[_0x4f0fe9(0x184)],_0x192f4e):_0xfa1101&&(_0x192f4e[_0x4f0fe9(0x154)](_0x1e8156),_0x192f4e[_0x4f0fe9(0x154)](_0x256820));});}}function J(_0x5b6d09,_0x43e789,_0x4a86f3,_0x279b16){const _0x4b9dd3=_0x15a34f,_0x1fa49a=_0x4b9dd3(0x128)+_0x5b6d09,_0xf41289=_0x4b9dd3(0x155)+_0x5b6d09,_0x42c2f7=_0x43e789[_0x4b9dd3(0x17d)]();let _0x4982c5=_0x43e789[_0x4b9dd3(0x157)];if(_0x42c2f7&&_0x42c2f7['is'](_0x4b9dd3(0x141),_0x4b9dd3(0x1a0))){const _0x553879=function(_0x45cbbc,_0x3594a5){const _0x5ea042=_0x4b9dd3;for(const _0xfca2d1 of _0x45cbbc[_0x5ea042(0x1a8)]())if(_0x3594a5[_0x5ea042(0x185)][_0x5ea042(0x17e)](_0xfca2d1,_0x5ea042(0x168)))return _0xfca2d1;}(_0x43e789,_0x4a86f3);_0x553879&&(_0x4982c5=_0x553879,_0x43e789=_0x279b16[_0x4b9dd3(0x15f)](_0x4982c5));}const _0x2b40b1=_0x279b16[_0x4b9dd3(0x15f)](_0x4982c5);_0x4a86f3[_0x4b9dd3(0x125)][_0x4b9dd3(0x179)](_0x1fa49a)?(_0x279b16[_0x4b9dd3(0x12c)](_0x1fa49a,{'range':_0x43e789}),_0x279b16[_0x4b9dd3(0x12c)](_0xf41289,{'range':_0x2b40b1})):(_0x279b16[_0x4b9dd3(0x18b)](_0x1fa49a,{'range':_0x43e789,'usingOperation':!0x0}),_0x279b16[_0x4b9dd3(0x18b)](_0xf41289,{'range':_0x2b40b1,'usingOperation':!0x0}));}