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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f50ee=_0x5528;(function(_0x509a3b,_0x4d5157){const _0x3d053f=_0x5528,_0x5520d1=_0x509a3b();while(!![]){try{const _0x4958e7=-parseInt(_0x3d053f(0xca))/0x1+-parseInt(_0x3d053f(0xc8))/0x2*(-parseInt(_0x3d053f(0xd2))/0x3)+parseInt(_0x3d053f(0xd6))/0x4+parseInt(_0x3d053f(0xcb))/0x5*(parseInt(_0x3d053f(0xde))/0x6)+parseInt(_0x3d053f(0xc9))/0x7*(parseInt(_0x3d053f(0xcd))/0x8)+parseInt(_0x3d053f(0xe9))/0x9*(-parseInt(_0x3d053f(0xe3))/0xa)+-parseInt(_0x3d053f(0xd9))/0xb;if(_0x4958e7===_0x4d5157)break;else _0x5520d1['push'](_0x5520d1['shift']());}catch(_0x10b388){_0x5520d1['push'](_0x5520d1['shift']());}}}(_0x3c79,0xf307f));import{View as _0x31fe6a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3664ef}from'ckeditor5/src/utils.js';function _0x3c79(){const _0x21a5a0=['list','setTemplate','createCollection','7611232aaqgQN','.ck-balloon-panel_with-arrow','isExpanded','24160389ejcdiE','ck-presence-list__list','change:hasPopup','.ck-presence-list__dropdown-list','setAttribute','117252FBXZmU','fire','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','10dUNzxR','hasPopup','bindTemplate','listenTo','render','presencelist:hide','3710277FfksFs','contains','element','presencelist:show','keystrokes','removeAttribute','focus','118CppoLT','133PsIBnr','392955QPZdxD','375hBsAwR','set','16304WVYeLn','querySelector','items','Connected\x20users\x20list','relatedTarget','29994cJhGyY'];_0x3c79=function(){return _0x21a5a0;};return _0x3c79();}function _0x5528(_0x35ed22,_0x2f0aca){const _0x3c7957=_0x3c79();return _0x5528=function(_0x552848,_0x29852c){_0x552848=_0x552848-0xc7;let _0x522a81=_0x3c7957[_0x552848];return _0x522a81;},_0x5528(_0x35ed22,_0x2f0aca);}import{getTranslation as _0x19e9f4}from'../../common-translations.js';export class PresenceInlineListView extends _0x31fe6a{[_0x1f50ee(0xcf)];[_0x1f50ee(0xed)];constructor(_0x324f76){const _0x173803=_0x1f50ee;super(_0x324f76);const _0x30d2a2=this[_0x173803(0xe5)];this[_0x173803(0xcf)]=this[_0x173803(0xd5)](),this[_0x173803(0xed)]=new _0x3664ef(),this[_0x173803(0xcc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x173803(0xd4)]({'tag':_0x173803(0xe0),'attributes':{'aria-haspopup':_0x30d2a2['if'](_0x173803(0xe4)),'aria-expanded':_0x30d2a2['to'](_0x173803(0xd8),_0x565532=>this[_0x173803(0xe4)]&&String(_0x565532)),'aria-label':_0x30d2a2['to'](_0x173803(0xe4),_0x24493d=>_0x19e9f4(_0x324f76,_0x24493d?_0x173803(0xe1):_0x173803(0xd0))),'role':_0x173803(0xd3),'tabindex':_0x30d2a2['to'](_0x173803(0xe4),_0x378756=>!!_0x378756&&0x0),'class':['ck',_0x173803(0xda)]},'children':this[_0x173803(0xcf)],'on':{'mouseenter':_0x30d2a2['to'](()=>this[_0x173803(0xdf)](_0x173803(0xec))),'mouseleave':_0x30d2a2['to'](_0xcc8b9=>{const _0x40ad87=_0x173803,_0x537419=_0xcc8b9,_0x3278da=document[_0x40ad87(0xce)](_0x40ad87(0xdc)),_0x381edf=document[_0x40ad87(0xce)](_0x40ad87(0xd7));_0x3278da?.[_0x40ad87(0xea)](_0x537419[_0x40ad87(0xd1)])||_0x381edf?.[_0x40ad87(0xea)](_0x537419[_0x40ad87(0xd1)])||this[_0x40ad87(0xdf)](_0x40ad87(0xe8));})}}),this['on'](_0x173803(0xdb),(_0x5b8c0f,_0x39c0e8,_0x15e6b9)=>{const _0x5c5be2=_0x173803;this[_0x5c5be2(0xeb)]&&(_0x15e6b9?this[_0x5c5be2(0xeb)][_0x5c5be2(0xdd)](_0x5c5be2(0xe2),String(this[_0x5c5be2(0xd8)])):this[_0x5c5be2(0xeb)][_0x5c5be2(0xee)](_0x5c5be2(0xe2)));});}[_0x1f50ee(0xc7)](){const _0x5e2e57=_0x1f50ee;this[_0x5e2e57(0xeb)][_0x5e2e57(0xc7)]();}[_0x1f50ee(0xe7)](){const _0xde30e6=_0x1f50ee;super[_0xde30e6(0xe7)](),this[_0xde30e6(0xed)][_0xde30e6(0xe6)](this[_0xde30e6(0xeb)]);}}
23
+ const _0x28a40f=_0x1d71;(function(_0x41336a,_0x155765){const _0x4520bc=_0x1d71,_0xee75fb=_0x41336a();while(!![]){try{const _0x22f517=-parseInt(_0x4520bc(0x159))/0x1+-parseInt(_0x4520bc(0x14d))/0x2+-parseInt(_0x4520bc(0x148))/0x3+-parseInt(_0x4520bc(0x142))/0x4*(parseInt(_0x4520bc(0x13d))/0x5)+parseInt(_0x4520bc(0x14b))/0x6*(parseInt(_0x4520bc(0x156))/0x7)+-parseInt(_0x4520bc(0x144))/0x8+parseInt(_0x4520bc(0x155))/0x9;if(_0x22f517===_0x155765)break;else _0xee75fb['push'](_0xee75fb['shift']());}catch(_0x35a2e1){_0xee75fb['push'](_0xee75fb['shift']());}}}(_0x46a3,0xe7263));import{View as _0x29c971}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3f46a4}from'ckeditor5/src/utils.js';function _0x1d71(_0x1ec9e3,_0xdb3d29){const _0x46a3bf=_0x46a3();return _0x1d71=function(_0x1d719c,_0x1bfa07){_0x1d719c=_0x1d719c-0x139;let _0x25b5cd=_0x46a3bf[_0x1d719c];return _0x25b5cd;},_0x1d71(_0x1ec9e3,_0xdb3d29);}import{getTranslation as _0x5e491d}from'../../common-translations.js';export class PresenceInlineListView extends _0x29c971{[_0x28a40f(0x153)];[_0x28a40f(0x13f)];constructor(_0xae594f){const _0xd5f06a=_0x28a40f;super(_0xae594f);const _0x19d9b8=this[_0xd5f06a(0x13e)];this[_0xd5f06a(0x153)]=this[_0xd5f06a(0x14f)](),this[_0xd5f06a(0x13f)]=new _0x3f46a4(),this[_0xd5f06a(0x14a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xd5f06a(0x14c)]({'tag':_0xd5f06a(0x15a),'attributes':{'aria-haspopup':_0x19d9b8['if'](_0xd5f06a(0x150)),'aria-expanded':_0x19d9b8['to'](_0xd5f06a(0x140),_0xfc3844=>this[_0xd5f06a(0x150)]&&String(_0xfc3844)),'aria-label':_0x19d9b8['to'](_0xd5f06a(0x150),_0x3cf99c=>_0x5e491d(_0xae594f,_0x3cf99c?_0xd5f06a(0x146):_0xd5f06a(0x147))),'role':_0xd5f06a(0x13b),'tabindex':_0x19d9b8['to'](_0xd5f06a(0x150),_0x2390e6=>!!_0x2390e6&&0x0),'class':['ck',_0xd5f06a(0x154)]},'children':this[_0xd5f06a(0x153)],'on':{'mouseenter':_0x19d9b8['to'](()=>this[_0xd5f06a(0x151)](_0xd5f06a(0x139))),'mouseleave':_0x19d9b8['to'](_0x26ad63=>{const _0x4147cf=_0xd5f06a,_0x2c3948=_0x26ad63,_0x442dcc=document[_0x4147cf(0x149)](_0x4147cf(0x15d)),_0x2acf36=document[_0x4147cf(0x149)](_0x4147cf(0x141));_0x442dcc?.[_0x4147cf(0x15c)](_0x2c3948[_0x4147cf(0x13a)])||_0x2acf36?.[_0x4147cf(0x15c)](_0x2c3948[_0x4147cf(0x13a)])||this[_0x4147cf(0x151)](_0x4147cf(0x15b));})}}),this['on'](_0xd5f06a(0x143),(_0x5dc764,_0x3bfc9b,_0xa99eec)=>{const _0x4773fc=_0xd5f06a;this[_0x4773fc(0x152)]&&(_0xa99eec?this[_0x4773fc(0x152)][_0x4773fc(0x13c)](_0x4773fc(0x14e),String(this[_0x4773fc(0x140)])):this[_0x4773fc(0x152)][_0x4773fc(0x145)](_0x4773fc(0x14e)));});}[_0x28a40f(0x15e)](){const _0x4746e2=_0x28a40f;this[_0x4746e2(0x152)][_0x4746e2(0x15e)]();}[_0x28a40f(0x158)](){const _0x2d1893=_0x28a40f;super[_0x2d1893(0x158)](),this[_0x2d1893(0x13f)][_0x2d1893(0x157)](this[_0x2d1893(0x152)]);}}function _0x46a3(){const _0x49705e=['list','setAttribute','110grhHMj','bindTemplate','keystrokes','isExpanded','.ck-balloon-panel_with-arrow','208748mwpyAw','change:hasPopup','3566616TmeUqw','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','2194980coYPPI','querySelector','set','2534196CjxWHk','setTemplate','2588900kyRKsy','aria-expanded','createCollection','hasPopup','fire','element','items','ck-presence-list__list','35389368lLNrgG','28COvcMJ','listenTo','render','1054778oGwPjk','div','presencelist:hide','contains','.ck-presence-list__dropdown-list','focus','presencelist:show','relatedTarget'];_0x46a3=function(){return _0x49705e;};return _0x46a3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5633d5=_0x54e3;(function(_0x116249,_0x88982){const _0x14fb04=_0x54e3,_0x109e7b=_0x116249();while(!![]){try{const _0xebf33b=parseInt(_0x14fb04(0x10e))/0x1+parseInt(_0x14fb04(0x10f))/0x2+-parseInt(_0x14fb04(0x106))/0x3*(parseInt(_0x14fb04(0x10b))/0x4)+parseInt(_0x14fb04(0x119))/0x5*(parseInt(_0x14fb04(0x111))/0x6)+-parseInt(_0x14fb04(0x117))/0x7*(-parseInt(_0x14fb04(0x110))/0x8)+-parseInt(_0x14fb04(0x10d))/0x9*(parseInt(_0x14fb04(0x107))/0xa)+parseInt(_0x14fb04(0x113))/0xb*(parseInt(_0x14fb04(0x10c))/0xc);if(_0xebf33b===_0x88982)break;else _0x109e7b['push'](_0x109e7b['shift']());}catch(_0x1820bc){_0x109e7b['push'](_0x109e7b['shift']());}}}(_0x43ba,0xe7bae));import{View as _0x270c6b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2dd2ea}from'./presencecounterview.js';function _0x43ba(){const _0x2e5bcd=['1669944mozWJy','tooltipPosition','11393140gwEcpX','hasPopup','counterView','setTemplate','21NRBbJP','bind','10rGAomb','div','locale','items','set','inlineListView','ck-reset','isCollapsed','ck-presence-list','listenTo','change','bindTemplate','41367JhHzQI','1890PNYpGr','ck-rounded-corners','first','ck-presence-list--collapsed','436DsZcgv','12SDXifs','74511iEGAOk','287374oNkmWo','2740534sGwiLO','2044984yEJHYy'];_0x43ba=function(){return _0x2e5bcd;};return _0x43ba();}function _0x54e3(_0x159833,_0x3aa280){const _0x43baab=_0x43ba();return _0x54e3=function(_0x54e335,_0x49a884){_0x54e335=_0x54e335-0xfe;let _0x22168f=_0x43baab[_0x54e335];return _0x22168f;},_0x54e3(_0x159833,_0x3aa280);}import{PresenceInlineListView as _0x231606}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x270c6b{[_0x5633d5(0x115)];[_0x5633d5(0xff)];constructor(_0x475225,_0x681be1=0x6){const _0x102488=_0x5633d5;super(_0x475225);const _0x527cb6=this[_0x102488(0x105)];this[_0x102488(0xfe)](_0x102488(0x101),!0x0),this[_0x102488(0x115)]=new _0x2dd2ea(this[_0x102488(0x11b)],_0x681be1),this[_0x102488(0xff)]=new _0x231606(_0x475225),this[_0x102488(0xff)][_0x102488(0x118)](_0x102488(0x114))['to'](this,_0x102488(0x101)),this[_0x102488(0x103)](this[_0x102488(0xff)][_0x102488(0x11c)],_0x102488(0x104),()=>{const _0x129c83=_0x102488;for(const _0x287b93 of this[_0x129c83(0xff)][_0x129c83(0x11c)])_0x287b93[_0x129c83(0x112)]='s';this[_0x129c83(0xff)][_0x129c83(0x11c)][_0x129c83(0x109)]&&(this[_0x129c83(0xff)][_0x129c83(0x11c)][_0x129c83(0x109)][_0x129c83(0x112)]='se');}),this[_0x102488(0x116)]({'tag':_0x102488(0x11a),'attributes':{'class':['ck',_0x102488(0x102),_0x102488(0x100),_0x102488(0x108),_0x527cb6['if'](_0x102488(0x101),_0x102488(0x10a))]},'children':[this[_0x102488(0xff)]]});}}
23
+ const _0x3c694e=_0xf094;(function(_0x3df69f,_0xf3d2f8){const _0x2dec83=_0xf094,_0x56d875=_0x3df69f();while(!![]){try{const _0x2c35f4=parseInt(_0x2dec83(0xf4))/0x1+-parseInt(_0x2dec83(0xe9))/0x2+parseInt(_0x2dec83(0xed))/0x3+parseInt(_0x2dec83(0xf3))/0x4+-parseInt(_0x2dec83(0xea))/0x5+-parseInt(_0x2dec83(0xe3))/0x6+parseInt(_0x2dec83(0xf0))/0x7;if(_0x2c35f4===_0xf3d2f8)break;else _0x56d875['push'](_0x56d875['shift']());}catch(_0x16f76b){_0x56d875['push'](_0x56d875['shift']());}}}(_0x3bd7,0x6543f));function _0xf094(_0x2f84c1,_0x9ae4ba){const _0x3bd761=_0x3bd7();return _0xf094=function(_0xf0948a,_0x15e77e){_0xf0948a=_0xf0948a-0xdc;let _0x4aa978=_0x3bd761[_0xf0948a];return _0x4aa978;},_0xf094(_0x2f84c1,_0x9ae4ba);}function _0x3bd7(){const _0x1e1df0=['counterView','locale','first','1631222bMCOej','3720310XfVeNR','set','bind','245940WFOOGo','listenTo','ck-presence-list','7745108fFYeZx','div','setTemplate','2250156xmXqYk','302028ImCjjd','tooltipPosition','items','ck-presence-list--collapsed','bindTemplate','ck-rounded-corners','inlineListView','change','ck-reset','471210zVzdbL','isCollapsed','hasPopup'];_0x3bd7=function(){return _0x1e1df0;};return _0x3bd7();}import{View as _0x5882d8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x41cf94}from'./presencecounterview.js';import{PresenceInlineListView as _0x20085e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5882d8{[_0x3c694e(0xe6)];[_0x3c694e(0xe0)];constructor(_0x859af9,_0x279fe0=0x6){const _0x1067a4=_0x3c694e;super(_0x859af9);const _0x39551b=this[_0x1067a4(0xde)];this[_0x1067a4(0xeb)](_0x1067a4(0xe4),!0x0),this[_0x1067a4(0xe6)]=new _0x41cf94(this[_0x1067a4(0xe7)],_0x279fe0),this[_0x1067a4(0xe0)]=new _0x20085e(_0x859af9),this[_0x1067a4(0xe0)][_0x1067a4(0xec)](_0x1067a4(0xe5))['to'](this,_0x1067a4(0xe4)),this[_0x1067a4(0xee)](this[_0x1067a4(0xe0)][_0x1067a4(0xdc)],_0x1067a4(0xe1),()=>{const _0x55867c=_0x1067a4;for(const _0x219462 of this[_0x55867c(0xe0)][_0x55867c(0xdc)])_0x219462[_0x55867c(0xf5)]='s';this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)]&&(this[_0x55867c(0xe0)][_0x55867c(0xdc)][_0x55867c(0xe8)][_0x55867c(0xf5)]='se');}),this[_0x1067a4(0xf2)]({'tag':_0x1067a4(0xf1),'attributes':{'class':['ck',_0x1067a4(0xef),_0x1067a4(0xe2),_0x1067a4(0xdf),_0x39551b['if'](_0x1067a4(0xe4),_0x1067a4(0xdd))]},'children':[this[_0x1067a4(0xe0)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x572893=_0x154f;(function(_0x4034c6,_0x303f79){var _0x33ff22=_0x154f,_0x5315b5=_0x4034c6();while(!![]){try{var _0xf21855=parseInt(_0x33ff22(0x1d7))/0x1+-parseInt(_0x33ff22(0x1cd))/0x2*(-parseInt(_0x33ff22(0x1d5))/0x3)+parseInt(_0x33ff22(0x1d0))/0x4+-parseInt(_0x33ff22(0x1d4))/0x5+parseInt(_0x33ff22(0x1d1))/0x6*(parseInt(_0x33ff22(0x1d6))/0x7)+-parseInt(_0x33ff22(0x1d3))/0x8+-parseInt(_0x33ff22(0x1ce))/0x9;if(_0xf21855===_0x303f79)break;else _0x5315b5['push'](_0x5315b5['shift']());}catch(_0x4bc29c){_0x5315b5['push'](_0x5315b5['shift']());}}}(_0x5dcc,0xd3f46));import{ContextPlugin as _0x145db9}from'ckeditor5/src/core.js';function _0x5dcc(){var _0x736a81=['324104uGfveC','6IgGhDj','requires','6246616cRwOIO','1559510SkrXNa','736842gthhOr','2059295KTnpNH','1675943OOYKjJ','PresenceList','pluginName','isOfficialPlugin','2LjKjxB','3022857uKhTQm','isPremiumPlugin'];_0x5dcc=function(){return _0x736a81;};return _0x5dcc();}import{Sessions as _0x1b23f3}from'./realtimecollaborativeediting/sessions.js';function _0x154f(_0x5328ed,_0x1e3b40){var _0x5dcce0=_0x5dcc();return _0x154f=function(_0x154fe0,_0x8c1d05){_0x154fe0=_0x154fe0-0x1cc;var _0x5c0116=_0x5dcce0[_0x154fe0];return _0x5c0116;},_0x154f(_0x5328ed,_0x1e3b40);}import{PresenceListUI as _0x184920}from'./presencelist/presencelistui.js';export class PresenceList extends _0x145db9{static get[_0x572893(0x1d2)](){return[_0x1b23f3,_0x184920];}static get[_0x572893(0x1d9)](){var _0x5ad96b=_0x572893;return _0x5ad96b(0x1d8);}static get[_0x572893(0x1cc)](){return!0x0;}static get[_0x572893(0x1cf)](){return!0x0;}}
23
+ var _0x37cb0e=_0x2ca6;(function(_0x4420b2,_0x5768fc){var _0x43f2af=_0x2ca6,_0x51f5c6=_0x4420b2();while(!![]){try{var _0x391c4b=parseInt(_0x43f2af(0xc0))/0x1+parseInt(_0x43f2af(0xc2))/0x2*(-parseInt(_0x43f2af(0xb5))/0x3)+-parseInt(_0x43f2af(0xb9))/0x4*(parseInt(_0x43f2af(0xb3))/0x5)+parseInt(_0x43f2af(0xba))/0x6+parseInt(_0x43f2af(0xbf))/0x7+parseInt(_0x43f2af(0xb4))/0x8*(parseInt(_0x43f2af(0xbd))/0x9)+-parseInt(_0x43f2af(0xb8))/0xa*(parseInt(_0x43f2af(0xb7))/0xb);if(_0x391c4b===_0x5768fc)break;else _0x51f5c6['push'](_0x51f5c6['shift']());}catch(_0x133b8e){_0x51f5c6['push'](_0x51f5c6['shift']());}}}(_0x30a1,0x7e8ee));function _0x2ca6(_0x53bf4e,_0x53f0d3){var _0x30a16c=_0x30a1();return _0x2ca6=function(_0x2ca6f8,_0x339fc5){_0x2ca6f8=_0x2ca6f8-0xb3;var _0x2b22d1=_0x30a16c[_0x2ca6f8];return _0x2b22d1;},_0x2ca6(_0x53bf4e,_0x53f0d3);}import{ContextPlugin as _0x2bfb68}from'ckeditor5/src/core.js';import{Sessions as _0x5a91cb}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3dcbb5}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2bfb68{static get[_0x37cb0e(0xbe)](){return[_0x5a91cb,_0x3dcbb5];}static get[_0x37cb0e(0xbb)](){var _0x2e36bb=_0x37cb0e;return _0x2e36bb(0xb6);}static get[_0x37cb0e(0xc1)](){return!0x0;}static get[_0x37cb0e(0xbc)](){return!0x0;}}function _0x30a1(){var _0x4196b2=['47316vZzpEG','790884rbgSPm','pluginName','isPremiumPlugin','9lUJbDr','requires','6984817FoxRcO','553099NWukGT','isOfficialPlugin','277796ipRxAc','405JoTHbf','2338128sVeVbA','6bRNhCy','PresenceList','11wEFJwV','2206830TQFPWT'];_0x30a1=function(){return _0x4196b2;};return _0x30a1();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e85dd=_0x3a79;(function(_0x4d6181,_0xba58c4){const _0x22742a=_0x3a79,_0x1bffbd=_0x4d6181();while(!![]){try{const _0xedb94a=-parseInt(_0x22742a(0x14b))/0x1+parseInt(_0x22742a(0x11f))/0x2*(parseInt(_0x22742a(0x140))/0x3)+parseInt(_0x22742a(0x166))/0x4+-parseInt(_0x22742a(0x131))/0x5+-parseInt(_0x22742a(0x15b))/0x6*(parseInt(_0x22742a(0x145))/0x7)+-parseInt(_0x22742a(0x143))/0x8+parseInt(_0x22742a(0x129))/0x9;if(_0xedb94a===_0xba58c4)break;else _0x1bffbd['push'](_0x1bffbd['shift']());}catch(_0xac53f6){_0x1bffbd['push'](_0x1bffbd['shift']());}}}(_0x34fb,0xb0a77));import{Context as _0x2e2dee,ContextPlugin as _0x100d5b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b19a0}from'ckeditor5/src/utils.js';import{Users as _0x3c62d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x553710,User as _0x456c0d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5145dc}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3a79(_0x115ba4,_0x28711e){const _0x34fb65=_0x34fb();return _0x3a79=function(_0x3a794b,_0x2fd631){_0x3a794b=_0x3a794b-0x11a;let _0x223c63=_0x34fb65[_0x3a794b];return _0x223c63;},_0x3a79(_0x115ba4,_0x28711e);}import{Sessions as _0x581d11}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x100d5b{static [_0x1e85dd(0x132)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x553710)());[_0x1e85dd(0x155)];static get[_0x1e85dd(0x14d)](){const _0x4520d6=_0x1e85dd;return[_0x5145dc,_0x4520d6(0x13c),_0x581d11,_0x3c62d8];}static get[_0x1e85dd(0x157)](){const _0x465f5e=_0x1e85dd;return _0x465f5e(0x12a);}static get[_0x1e85dd(0x169)](){return!0x0;}static get[_0x1e85dd(0x158)](){return!0x0;}constructor(_0x2622cb){const _0x29dfbe=_0x1e85dd;super(_0x2622cb),this[_0x29dfbe(0x155)]=new Map();}async[_0x1e85dd(0x176)](){const _0x1fe44a=_0x1e85dd,_0x136207=this[_0x1fe44a(0x175)],_0xfe84b=_0x136207[_0x1fe44a(0x150)][_0x1fe44a(0x13f)](_0x1fe44a(0x13c));if(_0x136207[_0x1fe44a(0x150)][_0x1fe44a(0x13f)](_0x5145dc)[_0x1fe44a(0x17d)](this),_0xfe84b[_0x1fe44a(0x123)]={'addCommentThread':async({channelId:_0x30e548,threadId:_0x3161eb,comments:_0x423f13,resolvedAt:_0x4a7375,resolvedBy:_0x434edc,context:_0x56db53,attributes:_0x5d4c64})=>{const _0x282ec8=_0x1fe44a,_0x1fedb2=await this[_0x282ec8(0x11b)](_0x30e548)[_0x282ec8(0x12f)]({'commentThreadId':_0x3161eb,'comments':_0x423f13[_0x282ec8(0x154)](_0x5b4e73=>function(_0x257656,_0x4cf46a,_0x46d727){const _0x4b4d6d=_0x282ec8;return{'commentThreadId':_0x46d727,'commentId':_0x257656[_0x4b4d6d(0x164)],'userId':_0x257656[_0x4b4d6d(0x121)],'content':_0x257656[_0x4b4d6d(0x122)],'documentId':_0x4cf46a,'createdAt':_0x257656[_0x4b4d6d(0x136)],'attributes':_0x257656[_0x4b4d6d(0x11a)]||{}};}(_0x5b4e73,_0x30e548,_0x3161eb)),'resolvedAt':_0x4a7375,'resolvedBy':_0x434edc,'context':_0x56db53,'attributes':_0x5d4c64})[_0x282ec8(0x11e)](tt);return{'threadId':_0x1fedb2[_0x282ec8(0x15a)],'comments':_0x1fedb2[_0x282ec8(0x151)]};},'getCommentThread':async({channelId:_0x464eb8,threadId:_0x47bcdf})=>{const _0x12b9cf=_0x1fe44a,_0x23e50c=await this[_0x12b9cf(0x11b)](_0x464eb8)[_0x12b9cf(0x172)](_0x47bcdf)[_0x12b9cf(0x11e)](Z)[_0x12b9cf(0x11e)](tt);return _0x23e50c?_0x23e50c[_0x12b9cf(0x139)]?null:(await this[_0x12b9cf(0x15f)]([_0x23e50c]),{'threadId':_0x23e50c[_0x12b9cf(0x15a)],'comments':_0x23e50c[_0x12b9cf(0x151)][_0x12b9cf(0x154)](et),'context':_0x23e50c[_0x12b9cf(0x175)],'resolvedAt':_0x23e50c[_0x12b9cf(0x171)],'resolvedBy':_0x23e50c[_0x12b9cf(0x17b)],'attributes':_0x23e50c[_0x12b9cf(0x11a)]||{}}):null;},'updateCommentThread':async({channelId:_0x432aea,threadId:_0x5bf73f,context:_0x4083a4,unlinkedAt:_0x1f03f2,attributes:_0x56e40c})=>this[_0x1fe44a(0x11b)](_0x432aea)[_0x1fe44a(0x126)]({'commentThreadId':_0x5bf73f,'context':_0x4083a4,'attributes':_0x56e40c,'unlinkedAt':_0x1f03f2})[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'resolveCommentThread':async({channelId:_0x55f5ec,threadId:_0x4a6f40})=>{const _0x4774ba=_0x1fe44a,_0x252144=await this[_0x4774ba(0x11b)](_0x55f5ec)[_0x4774ba(0x134)](_0x4a6f40)[_0x4774ba(0x11e)](Z)[_0x4774ba(0x11e)](tt);return{'threadId':_0x252144[_0x4774ba(0x15a)],'resolvedAt':_0x252144[_0x4774ba(0x171)],'resolvedBy':_0x252144[_0x4774ba(0x17b)]};},'reopenCommentThread':async({channelId:_0x4cb944,threadId:_0x2d1852})=>this[_0x1fe44a(0x11b)](_0x4cb944)[_0x1fe44a(0x15d)](_0x2d1852)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'removeCommentThread':({channelId:_0x32ecd7,threadId:_0x4082fd})=>this[_0x1fe44a(0x11b)](_0x32ecd7)[_0x1fe44a(0x14f)](_0x4082fd)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'addComment':({channelId:_0x422559,threadId:_0x1e5095,commentId:_0x42e956,content:_0x1b2b4a,attributes:_0x2a6d5a})=>this[_0x1fe44a(0x11b)](_0x422559)[_0x1fe44a(0x163)](_0x1e5095,_0x42e956,_0x1b2b4a,_0x2a6d5a)[_0x1fe44a(0x11e)](tt),'updateComment':({channelId:_0x187599,threadId:_0x26ac9b,commentId:_0x36cbe4,content:_0x429cfc,attributes:_0x5cf6b3})=>this[_0x1fe44a(0x11b)](_0x187599)[_0x1fe44a(0x13e)](_0x26ac9b,_0x36cbe4,_0x429cfc,_0x5cf6b3)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt),'removeComment':({channelId:_0x2b88af,threadId:_0x1451fb,commentId:_0x47edde})=>this[_0x1fe44a(0x11b)](_0x2b88af)[_0x1fe44a(0x177)](_0x1451fb,_0x47edde)[_0x1fe44a(0x11e)](Z)[_0x1fe44a(0x11e)](tt)},_0x136207 instanceof _0x2e2dee){const _0x53cc11=_0x136207[_0x1fe44a(0x17c)][_0x1fe44a(0x13f)](_0x1fe44a(0x120)),_0x16386d=_0x136207[_0x1fe44a(0x150)][_0x1fe44a(0x13f)](_0x581d11);await this[_0x1fe44a(0x174)](_0x53cc11);const _0x4287a7=await this[_0x1fe44a(0x155)][_0x1fe44a(0x13f)](_0x53cc11)[_0x1fe44a(0x17a)]();this[_0x1fe44a(0x156)](_0x16386d,_0x1fe44a(0x162)+_0x53cc11,(_0x437da0,{session:_0x5e57dc})=>{const _0x238858=_0x1fe44a;_0x5e57dc['id']===_0x16386d[_0x238858(0x16e)]&&(_0x437da0[_0x238858(0x147)](),this[_0x238858(0x175)][_0x238858(0x150)][_0x238858(0x13f)](_0x238858(0x127))[_0x238858(0x142)](_0x5e57dc[_0x238858(0x12d)],_0x53cc11));}),_0x16386d[_0x1fe44a(0x16d)](_0x53cc11,_0x4287a7);}}async[_0x1e85dd(0x174)](_0x1df836){const _0x304ab2=_0x1e85dd;if(this[_0x304ab2(0x155)][_0x304ab2(0x15c)](_0x1df836))throw new _0x3b19a0(_0x304ab2(0x149),null,{'channelId':_0x1df836});const _0x5410ba=this[_0x304ab2(0x175)][_0x304ab2(0x150)][_0x304ab2(0x13f)](_0x304ab2(0x13c)),_0xd2cc7=new CloudServicesCommentsAdapter[(_0x304ab2(0x132))](_0x1df836);this[_0x304ab2(0x155)][_0x304ab2(0x153)](_0x1df836,_0xd2cc7),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x13b),(_0x2c19b7,_0x518a15)=>{const _0x283a66=_0x304ab2,{commentThreadId:_0x22f265,documentId:_0x4db9de,context:_0x448464,attributes:_0x5da7e3,resolvedAt:_0x369da3,resolvedBy:_0x1bfe68,comments:_0x20752b}=_0x518a15;_0x5410ba[_0x283a66(0x172)](_0x22f265)||_0x5410ba[_0x283a66(0x12f)]({'threadId':_0x22f265,'channelId':_0x4db9de,'comments':_0x20752b?_0x20752b[_0x283a66(0x154)](et):[],'context':_0x448464,'attributes':_0x5da7e3,'resolvedAt':_0x369da3,'resolvedBy':_0x1bfe68,'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x168),(_0x4eeeed,{commentThreadId:_0xb83bcc,documentId:_0x33df01,context:_0x2fd5b3,unlinkedAt:_0x455a12,attributes:_0x408a0f})=>{const _0x2823b6=_0x304ab2;_0x5410ba[_0x2823b6(0x172)](_0xb83bcc)&&_0x5410ba[_0x2823b6(0x126)]({'threadId':_0xb83bcc,'channelId':_0x33df01,'context':_0x2fd5b3,'unlinkedAt':_0x455a12,'attributes':_0x408a0f,'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x170),(_0x43027e,{commentThreadId:_0x1c2ea8,resolvedBy:_0x518352,resolvedAt:_0x23931d})=>{const _0x389842=_0x304ab2,_0x54dff1=_0x5410ba[_0x389842(0x172)](_0x1c2ea8);_0x54dff1&&_0x54dff1[_0x389842(0x152)]({'resolvedBy':_0x518352,'resolvedAt':_0x23931d,'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x178),(_0x2de898,{commentThreadId:_0x73468})=>{const _0x1b59dd=_0x304ab2,_0x495e89=_0x5410ba[_0x1b59dd(0x172)](_0x73468);_0x495e89&&_0x495e89[_0x1b59dd(0x15e)]({'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x16c),(_0xb43bea,{commentThreadId:_0x50ac30})=>{const _0x1fe000=_0x304ab2,_0x43ba18=_0x5410ba[_0x1fe000(0x172)](_0x50ac30);_0x43ba18&&_0x43ba18[_0x1fe000(0x173)]({'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x17e),(_0x3846fb,_0x2b1c89)=>{const _0x190ddc=_0x304ab2,_0x564b46=_0x2b1c89[_0x190ddc(0x15a)],_0x58d149=_0x5410ba[_0x190ddc(0x172)](_0x564b46);_0x58d149&&_0x58d149[_0x190ddc(0x163)]({...et(_0x2b1c89),'isFromAdapter':!0x0});}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x161),(_0x291085,{commentThreadId:_0x324608,commentId:_0x3e3825,content:_0x3f0412,attributes:_0x203ff2})=>{const _0x239ed3=_0x304ab2,_0x40263e=_0x5410ba[_0x239ed3(0x172)](_0x324608);if(_0x40263e){const _0x13f474=_0x40263e[_0x239ed3(0x135)](_0x3e3825);_0x13f474&&_0x13f474[_0x239ed3(0x16b)]({'content':_0x3f0412,'attributes':_0x203ff2,'isFromAdapter':!0x0});}}),this[_0x304ab2(0x156)](_0xd2cc7,_0x304ab2(0x12b),(_0x469984,{commentThreadId:_0x566efb,commentId:_0x5b7e66})=>{const _0xead5c=_0x304ab2,_0x101101=_0x5410ba[_0xead5c(0x172)](_0x566efb);if(_0x101101){const _0x2fa0bb=_0x101101[_0xead5c(0x135)](_0x5b7e66);_0x2fa0bb&&_0x2fa0bb[_0xead5c(0x173)]({'isFromAdapter':!0x0});}}),await this[_0x304ab2(0x160)](_0x1df836);}[_0x1e85dd(0x144)](){const _0x1dad5f=_0x1e85dd;if(this[_0x1dad5f(0x175)]instanceof _0x2e2dee){const _0x18fc4b=this[_0x1dad5f(0x175)][_0x1dad5f(0x17c)][_0x1dad5f(0x13f)](_0x1dad5f(0x120));this[_0x1dad5f(0x137)](_0x18fc4b);}}[_0x1e85dd(0x137)](_0x4df582){const _0x1c905e=_0x1e85dd;if(!this[_0x1c905e(0x155)][_0x1c905e(0x15c)](_0x4df582))throw new _0x3b19a0(_0x1c905e(0x16f),null,{'channelId':_0x4df582});this[_0x1c905e(0x11b)](_0x4df582)[_0x1c905e(0x16a)](),this[_0x1c905e(0x155)][_0x1c905e(0x12e)](_0x4df582);}async[_0x1e85dd(0x14e)](){const _0x2c101d=_0x1e85dd;for(const _0x1bacea of this[_0x2c101d(0x155)][_0x2c101d(0x146)]())await this[_0x2c101d(0x160)](_0x1bacea);if(this[_0x2c101d(0x175)]instanceof _0x2e2dee){const _0x1d6be7=this[_0x2c101d(0x175)][_0x2c101d(0x17c)][_0x2c101d(0x13f)](_0x2c101d(0x120)),_0x3dfe95=this[_0x2c101d(0x175)][_0x2c101d(0x150)][_0x2c101d(0x13f)](_0x581d11);_0x3dfe95[_0x2c101d(0x11c)](_0x1d6be7);const _0x14cc4a=await this[_0x2c101d(0x155)][_0x2c101d(0x13f)](_0x1d6be7)[_0x2c101d(0x17a)]();_0x3dfe95[_0x2c101d(0x16d)](_0x1d6be7,_0x14cc4a);}}async[_0x1e85dd(0x160)](_0x5b8a4e){const _0x19d0a3=_0x1e85dd,{connection:_0x2372f7}=this[_0x19d0a3(0x175)][_0x19d0a3(0x150)][_0x19d0a3(0x13f)](_0x5145dc),_0xebf527=this[_0x19d0a3(0x175)][_0x19d0a3(0x150)][_0x19d0a3(0x13f)](_0x19d0a3(0x13c)),_0x406685=this[_0x19d0a3(0x155)][_0x19d0a3(0x13f)](_0x5b8a4e),_0x3552f4=await _0x406685[_0x19d0a3(0x124)](_0x2372f7);await this[_0x19d0a3(0x15f)](_0x3552f4);const _0x29ae27=new Set(Array[_0x19d0a3(0x148)](_0xebf527[_0x19d0a3(0x179)]({'channelId':_0x5b8a4e}),_0x40cfc6=>_0x40cfc6['id']));for(const _0x9a7cb2 of _0x3552f4)_0x9a7cb2[_0x19d0a3(0x139)]||_0x29ae27[_0x19d0a3(0x12e)](_0x9a7cb2[_0x19d0a3(0x15a)]);for(const _0x361ac0 of _0x29ae27)_0xebf527[_0x19d0a3(0x172)](_0x361ac0)[_0x19d0a3(0x173)]({'isFromAdapter':!0x0});for(const _0x1cbb18 of _0x3552f4){let _0x181d96=_0xebf527[_0x19d0a3(0x172)](_0x1cbb18[_0x19d0a3(0x15a)]);const {commentThreadId:_0x3271b5,context:_0x5cac9f,attributes:_0x2c2593,resolvedBy:_0x3e30de,resolvedAt:_0x2ad1aa,unlinkedAt:_0x187311,deletedAt:_0x20a982}=_0x1cbb18;if(_0x20a982)continue;_0x181d96||(_0x181d96=_0xebf527[_0x19d0a3(0x12f)]({'channelId':_0x5b8a4e,'threadId':_0x3271b5,'context':_0x5cac9f,'attributes':_0x2c2593||{},'resolvedBy':_0x3e30de,'resolvedAt':_0x2ad1aa,'unlinkedAt':_0x187311,'isFromAdapter':!0x0}));const _0x20cd40=new Set(Array[_0x19d0a3(0x148)](_0x181d96[_0x19d0a3(0x151)],_0x5980cd=>_0x5980cd['id']));for(const _0x5b4027 of _0x1cbb18[_0x19d0a3(0x151)])_0x20cd40[_0x19d0a3(0x12e)](_0x5b4027[_0x19d0a3(0x164)]);for(const _0x5440ea of _0x20cd40)_0x181d96[_0x19d0a3(0x135)](_0x5440ea)[_0x19d0a3(0x173)]({'isFromAdapter':!0x0});for(const _0x5c3cf0 of _0x1cbb18[_0x19d0a3(0x151)]){const _0x3cfd57=_0x181d96[_0x19d0a3(0x135)](_0x5c3cf0[_0x19d0a3(0x164)]);_0x3cfd57?_0x3cfd57[_0x19d0a3(0x122)]!==_0x5c3cf0[_0x19d0a3(0x122)]&&_0x3cfd57[_0x19d0a3(0x16b)]({'content':_0x5c3cf0[_0x19d0a3(0x122)],'isFromAdapter':!0x0}):_0x181d96[_0x19d0a3(0x163)](Object[_0x19d0a3(0x13a)](et(_0x5c3cf0),{'isFromAdapter':!0x0}));}}}[_0x1e85dd(0x11b)](_0xa78c22){const _0x554440=_0x1e85dd;if(!this[_0x554440(0x155)][_0x554440(0x15c)](_0xa78c22))throw new _0x3b19a0(_0x554440(0x11d),null,{'channelId':_0xa78c22});return this[_0x554440(0x155)][_0x554440(0x13f)](_0xa78c22);}async[_0x1e85dd(0x15f)](_0x28f106){const _0xebd082=_0x1e85dd,_0x5db8c8=this[_0xebd082(0x175)][_0xebd082(0x150)][_0xebd082(0x13f)](_0x3c62d8),{connection:_0x2ee950}=this[_0xebd082(0x175)][_0xebd082(0x150)][_0xebd082(0x13f)](_0x5145dc),_0x4a05aa=new Set();for(const {resolvedBy:_0x51029d,comments:_0x142097}of _0x28f106){_0x51029d&&!_0x5db8c8[_0xebd082(0x130)](_0x51029d)&&_0x4a05aa[_0xebd082(0x12c)](_0x51029d);for(const {userId:_0x378d3d}of _0x142097)_0x5db8c8[_0xebd082(0x130)](_0x378d3d)||_0x4a05aa[_0xebd082(0x12c)](_0x378d3d);}if(0x0===_0x4a05aa[_0xebd082(0x138)])return;const _0x2f0c17=await _0x456c0d[_0xebd082(0x14a)](_0x2ee950,Array[_0xebd082(0x148)](_0x4a05aa));for(const _0x2cbf95 of _0x2f0c17)_0x5db8c8[_0xebd082(0x130)](_0x2cbf95['id'])||_0x5db8c8[_0xebd082(0x13d)](_0x2cbf95);}}async function Z(_0x3df6fd){const _0x3134d7=_0x1e85dd;if(_0x3134d7(0x165)!==_0x3df6fd[_0x3134d7(0x141)])throw _0x3df6fd;}function tt(_0x24f813){const _0x39fde0=_0x1e85dd;if((_0x3daeb6=_0x24f813)[_0x39fde0(0x128)][_0x39fde0(0x133)](_0x39fde0(0x159))||_0x3daeb6[_0x39fde0(0x128)][_0x39fde0(0x133)](_0x39fde0(0x167))||_0x3daeb6[_0x39fde0(0x128)][_0x39fde0(0x133)](_0x39fde0(0x125)))return new Promise(()=>{});var _0x3daeb6;throw _0x24f813;}function et(_0x265316){const _0x105b52=_0x1e85dd;return{'threadId':_0x265316[_0x105b52(0x15a)],'commentId':_0x265316[_0x105b52(0x164)],'content':_0x265316[_0x105b52(0x122)],'createdAt':_0x265316[_0x105b52(0x136)],'authorId':_0x265316[_0x105b52(0x14c)],'attributes':_0x265316[_0x105b52(0x11a)]||{}};}function _0x34fb(){const _0xdee2f1=['getConnectedSessions','resolvedBy','config','addToReconnectionStack','commentAdded','attributes','_getService','unregister','cloudservicescommentsadapter-service-not-exist','catch','413454huMAbw','collaboration.channelId','authorId','content','adapter','connect','cloud-services-internal-error:\x20Request\x20timeout.','updateCommentThread','Permissions','message','20985507rKHDwf','CloudServicesCommentsAdapter','commentRemoved','add','permissions','delete','addCommentThread','getUser','6315815ulQrxQ','CommentsService','startsWith','resolveCommentThread','getComment','createdAt','_terminateService','size','deletedAt','assign','commentThreadAdded','CommentsRepository','addUser','updateComment','get','15kearbC','code','setPermissions','8689272syjUQz','destroy','7bnESQe','keys','off','from','cloudservicescommentsadapter-connect-already-connected','getMany','258445uNGkyF','userId','requires','reconnect','removeCommentThread','plugins','comments','resolve','set','map','_services','listenTo','pluginName','isPremiumPlugin','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadId','2367888acawVE','has','reopenCommentThread','reopen','_fetchMissingUsersForThreads','_connectService','commentUpdated','sessionAdd:','addComment','commentId','404','1442528RqbkNk','cloud-services-internal-error:\x20Not\x20connected.','commentThreadUpdated','isOfficialPlugin','disconnect','update','commentThreadRemoved','register','mySessionId','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','resolvedAt','getCommentThread','remove','_setUpService','context','init','removeComment','commentThreadReopened','getCommentThreads'];_0x34fb=function(){return _0xdee2f1;};return _0x34fb();}
23
+ const _0x49e552=_0x14ca;function _0x14c1(){const _0x2f501d=['updateComment','6476310ArGyfz','cloud-services-internal-error:\x20Request\x20timeout.','commentThreadAdded','context','authorId','_services','245dkRKiv','reopenCommentThread','getComment','commentUpdated','map','isPremiumPlugin','_connectService','resolveCommentThread','CommentsService','connect','404','setPermissions','destroy','reopen','2430426vsrJOp','comments','resolvedAt','Permissions','disconnect','addUser','130792AqOxnv','get','userId','2296860gKzbQG','assign','4829byDWTU','code','add','pluginName','commentThreadReopened','deletedAt','updateCommentThread','5ALZHOM','resolvedBy','config','commentThreadUpdated','has','commentRemoved','keys','listenTo','getCommentThreads','addComment','40990bYrJci','commentThreadRemoved','set','473351cMXILX','removeCommentThread','sessionAdd:','from','attributes','_fetchMissingUsersForThreads','content','_terminateService','removeComment','catch','requires','_getService','startsWith','cloudservicescommentsadapter-service-not-exist','CloudServicesCommentsAdapter','commentAdded','1248272ohAeNv','message','init','reconnect','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','unregister','plugins','mySessionId','size','register','commentThreadResolved','collaboration.channelId','addToReconnectionStack','_setUpService','addCommentThread','getUser','resolve','permissions','CommentsRepository','remove','delete','createdAt','getConnectedSessions','update','2VkJimd','cloud-services-internal-error:\x20Not\x20connected.','isOfficialPlugin','commentThreadId','getCommentThread','getMany','cloudservicescommentsadapter-connect-already-connected','off','commentId','cloudservicescommentsadapter-disconnect-not-exist'];_0x14c1=function(){return _0x2f501d;};return _0x14c1();}(function(_0x318b78,_0x43f268){const _0x3cd238=_0x14ca,_0x157cfa=_0x318b78();while(!![]){try{const _0x2ad330=-parseInt(_0x3cd238(0x249))/0x1*(parseInt(_0x3cd238(0x20b))/0x2)+parseInt(_0x3cd238(0x22a))/0x3+-parseInt(_0x3cd238(0x1f2))/0x4*(-parseInt(_0x3cd238(0x23c))/0x5)+parseInt(_0x3cd238(0x233))/0x6+parseInt(_0x3cd238(0x21c))/0x7*(parseInt(_0x3cd238(0x230))/0x8)+parseInt(_0x3cd238(0x216))/0x9+parseInt(_0x3cd238(0x246))/0xa*(-parseInt(_0x3cd238(0x235))/0xb);if(_0x2ad330===_0x43f268)break;else _0x157cfa['push'](_0x157cfa['shift']());}catch(_0x192063){_0x157cfa['push'](_0x157cfa['shift']());}}}(_0x14c1,0x7feed));import{Context as _0xb49a0,ContextPlugin as _0x4703a7}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ccbc0}from'ckeditor5/src/utils.js';function _0x14ca(_0x1c01fa,_0x588729){const _0x14c14e=_0x14c1();return _0x14ca=function(_0x14ca25,_0x48befa){_0x14ca25=_0x14ca25-0x1e8;let _0x2afa5e=_0x14c14e[_0x14ca25];return _0x2afa5e;},_0x14ca(_0x1c01fa,_0x588729);}import{Users as _0xadbdb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x19198e,User as _0x13ab60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x572f74}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57c304}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4703a7{static [_0x49e552(0x224)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x19198e)());[_0x49e552(0x21b)];static get[_0x49e552(0x1ec)](){const _0xa70653=_0x49e552;return[_0x572f74,_0xa70653(0x205),_0x57c304,_0xadbdb9];}static get[_0x49e552(0x238)](){const _0x194026=_0x49e552;return _0x194026(0x1f0);}static get[_0x49e552(0x20d)](){return!0x0;}static get[_0x49e552(0x221)](){return!0x0;}constructor(_0x1f5d9e){const _0x498866=_0x49e552;super(_0x1f5d9e),this[_0x498866(0x21b)]=new Map();}async[_0x49e552(0x1f4)](){const _0xd97204=_0x49e552,_0x2e3d9c=this[_0xd97204(0x219)],_0x478e6d=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0xd97204(0x205));if(_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x572f74)[_0xd97204(0x1ff)](this),_0x478e6d[_0xd97204(0x1f6)]={'addCommentThread':async({channelId:_0x3a6009,threadId:_0x4dce14,comments:_0x272ecb,resolvedAt:_0x3b7a40,resolvedBy:_0x444fe6,context:_0x338f58,attributes:_0x385fd9})=>{const _0x49f6b3=_0xd97204,_0x3d8ac6=await this[_0x49f6b3(0x1ed)](_0x3a6009)[_0x49f6b3(0x201)]({'commentThreadId':_0x4dce14,'comments':_0x272ecb[_0x49f6b3(0x220)](_0x4f1e19=>function(_0x384d89,_0xdf53,_0xeff619){const _0x30b2b4=_0x49f6b3;return{'commentThreadId':_0xeff619,'commentId':_0x384d89[_0x30b2b4(0x213)],'userId':_0x384d89[_0x30b2b4(0x21a)],'content':_0x384d89[_0x30b2b4(0x1e8)],'documentId':_0xdf53,'createdAt':_0x384d89[_0x30b2b4(0x208)],'attributes':_0x384d89[_0x30b2b4(0x24d)]||{}};}(_0x4f1e19,_0x3a6009,_0x4dce14)),'resolvedAt':_0x3b7a40,'resolvedBy':_0x444fe6,'context':_0x338f58,'attributes':_0x385fd9})[_0x49f6b3(0x1eb)](A);return{'threadId':_0x3d8ac6[_0x49f6b3(0x20e)],'comments':_0x3d8ac6[_0x49f6b3(0x22b)]};},'getCommentThread':async({channelId:_0x148c57,threadId:_0x3955d1})=>{const _0x51fddd=_0xd97204,_0x4840f6=await this[_0x51fddd(0x1ed)](_0x148c57)[_0x51fddd(0x20f)](_0x3955d1)[_0x51fddd(0x1eb)](f)[_0x51fddd(0x1eb)](A);return _0x4840f6?_0x4840f6[_0x51fddd(0x23a)]?null:(await this[_0x51fddd(0x24e)]([_0x4840f6]),{'threadId':_0x4840f6[_0x51fddd(0x20e)],'comments':_0x4840f6[_0x51fddd(0x22b)][_0x51fddd(0x220)](p),'context':_0x4840f6[_0x51fddd(0x219)],'resolvedAt':_0x4840f6[_0x51fddd(0x22c)],'resolvedBy':_0x4840f6[_0x51fddd(0x23d)],'attributes':_0x4840f6[_0x51fddd(0x24d)]||{}}):null;},'updateCommentThread':async({channelId:_0x1687df,threadId:_0x12fc3a,context:_0x505912,unlinkedAt:_0x4c5ef1,attributes:_0x4c7750})=>this[_0xd97204(0x1ed)](_0x1687df)[_0xd97204(0x23b)]({'commentThreadId':_0x12fc3a,'context':_0x505912,'attributes':_0x4c7750,'unlinkedAt':_0x4c5ef1})[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'resolveCommentThread':async({channelId:_0x26292d,threadId:_0x3a5e50})=>{const _0xa13ffd=_0xd97204,_0x46cb93=await this[_0xa13ffd(0x1ed)](_0x26292d)[_0xa13ffd(0x223)](_0x3a5e50)[_0xa13ffd(0x1eb)](f)[_0xa13ffd(0x1eb)](A);return{'threadId':_0x46cb93[_0xa13ffd(0x20e)],'resolvedAt':_0x46cb93[_0xa13ffd(0x22c)],'resolvedBy':_0x46cb93[_0xa13ffd(0x23d)]};},'reopenCommentThread':async({channelId:_0x54c2de,threadId:_0x12e720})=>this[_0xd97204(0x1ed)](_0x54c2de)[_0xd97204(0x21d)](_0x12e720)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeCommentThread':({channelId:_0x429055,threadId:_0xd86986})=>this[_0xd97204(0x1ed)](_0x429055)[_0xd97204(0x24a)](_0xd86986)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'addComment':({channelId:_0xf6e9a9,threadId:_0x3e7018,commentId:_0x86c435,content:_0xe26c59,attributes:_0x49750a})=>this[_0xd97204(0x1ed)](_0xf6e9a9)[_0xd97204(0x245)](_0x3e7018,_0x86c435,_0xe26c59,_0x49750a)[_0xd97204(0x1eb)](A),'updateComment':({channelId:_0x3e8bf1,threadId:_0x588a38,commentId:_0x4bcba2,content:_0x79bc0d,attributes:_0x130292})=>this[_0xd97204(0x1ed)](_0x3e8bf1)[_0xd97204(0x215)](_0x588a38,_0x4bcba2,_0x79bc0d,_0x130292)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A),'removeComment':({channelId:_0xc5322b,threadId:_0x221a2c,commentId:_0x49c904})=>this[_0xd97204(0x1ed)](_0xc5322b)[_0xd97204(0x1ea)](_0x221a2c,_0x49c904)[_0xd97204(0x1eb)](f)[_0xd97204(0x1eb)](A)},_0x2e3d9c instanceof _0xb49a0){const _0x4cef3c=_0x2e3d9c[_0xd97204(0x23e)][_0xd97204(0x231)](_0xd97204(0x1fe)),_0x112297=_0x2e3d9c[_0xd97204(0x1f9)][_0xd97204(0x231)](_0x57c304);await this[_0xd97204(0x200)](_0x4cef3c);const _0xc2b689=await this[_0xd97204(0x21b)][_0xd97204(0x231)](_0x4cef3c)[_0xd97204(0x209)]();this[_0xd97204(0x243)](_0x112297,_0xd97204(0x24b)+_0x4cef3c,(_0x4ff856,{session:_0x548775})=>{const _0x5e682c=_0xd97204;_0x548775['id']===_0x112297[_0x5e682c(0x1fa)]&&(_0x4ff856[_0x5e682c(0x212)](),this[_0x5e682c(0x219)][_0x5e682c(0x1f9)][_0x5e682c(0x231)](_0x5e682c(0x22d))[_0x5e682c(0x227)](_0x548775[_0x5e682c(0x204)],_0x4cef3c));}),_0x112297[_0xd97204(0x1fc)](_0x4cef3c,_0xc2b689);}}async[_0x49e552(0x200)](_0x31268e){const _0x4cf533=_0x49e552;if(this[_0x4cf533(0x21b)][_0x4cf533(0x240)](_0x31268e))throw new _0x2ccbc0(_0x4cf533(0x211),null,{'channelId':_0x31268e});const _0x2556d0=this[_0x4cf533(0x219)][_0x4cf533(0x1f9)][_0x4cf533(0x231)](_0x4cf533(0x205)),_0xa6f9a3=new CloudServicesCommentsAdapter[(_0x4cf533(0x224))](_0x31268e);this[_0x4cf533(0x21b)][_0x4cf533(0x248)](_0x31268e,_0xa6f9a3),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x218),(_0x4de71e,_0x303c84)=>{const _0x8ea278=_0x4cf533,{commentThreadId:_0x45ad53,documentId:_0x249fd3,context:_0x280b1d,attributes:_0x3cff19,resolvedAt:_0x33f32d,resolvedBy:_0x3e2382,comments:_0x60b2c3}=_0x303c84;_0x2556d0[_0x8ea278(0x20f)](_0x45ad53)||_0x2556d0[_0x8ea278(0x201)]({'threadId':_0x45ad53,'channelId':_0x249fd3,'comments':_0x60b2c3?_0x60b2c3[_0x8ea278(0x220)](p):[],'context':_0x280b1d,'attributes':_0x3cff19,'resolvedAt':_0x33f32d,'resolvedBy':_0x3e2382,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x23f),(_0xa35b2a,{commentThreadId:_0x1f6ad3,documentId:_0x3b1773,context:_0x1ba587,unlinkedAt:_0x16ffe5,attributes:_0x3fac58})=>{const _0x44fadd=_0x4cf533;_0x2556d0[_0x44fadd(0x20f)](_0x1f6ad3)&&_0x2556d0[_0x44fadd(0x23b)]({'threadId':_0x1f6ad3,'channelId':_0x3b1773,'context':_0x1ba587,'unlinkedAt':_0x16ffe5,'attributes':_0x3fac58,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1fd),(_0x16cccc,{commentThreadId:_0x43cc8c,resolvedBy:_0x2e4a1c,resolvedAt:_0x189fa4})=>{const _0x57cff6=_0x4cf533,_0x1b3207=_0x2556d0[_0x57cff6(0x20f)](_0x43cc8c);_0x1b3207&&_0x1b3207[_0x57cff6(0x203)]({'resolvedBy':_0x2e4a1c,'resolvedAt':_0x189fa4,'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x239),(_0x584fa,{commentThreadId:_0x4faac5})=>{const _0x343c22=_0x4cf533,_0x127b2e=_0x2556d0[_0x343c22(0x20f)](_0x4faac5);_0x127b2e&&_0x127b2e[_0x343c22(0x229)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x247),(_0x30e99f,{commentThreadId:_0x56cdb9})=>{const _0x95ffc1=_0x4cf533,_0x4ccd29=_0x2556d0[_0x95ffc1(0x20f)](_0x56cdb9);_0x4ccd29&&_0x4ccd29[_0x95ffc1(0x206)]({'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x1f1),(_0x5c5443,_0x30e5bf)=>{const _0xc192f3=_0x4cf533,_0x500172=_0x30e5bf[_0xc192f3(0x20e)],_0x288c35=_0x2556d0[_0xc192f3(0x20f)](_0x500172);_0x288c35&&_0x288c35[_0xc192f3(0x245)]({...p(_0x30e5bf),'isFromAdapter':!0x0});}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x21f),(_0x542901,{commentThreadId:_0x100790,commentId:_0x5080b1,content:_0x5cd87b,attributes:_0x2a8df4})=>{const _0x42cc6b=_0x4cf533,_0x3e4fd3=_0x2556d0[_0x42cc6b(0x20f)](_0x100790);if(_0x3e4fd3){const _0x375de5=_0x3e4fd3[_0x42cc6b(0x21e)](_0x5080b1);_0x375de5&&_0x375de5[_0x42cc6b(0x20a)]({'content':_0x5cd87b,'attributes':_0x2a8df4,'isFromAdapter':!0x0});}}),this[_0x4cf533(0x243)](_0xa6f9a3,_0x4cf533(0x241),(_0x4ccec4,{commentThreadId:_0x447704,commentId:_0x1680e4})=>{const _0x460668=_0x4cf533,_0x5f09a6=_0x2556d0[_0x460668(0x20f)](_0x447704);if(_0x5f09a6){const _0x317020=_0x5f09a6[_0x460668(0x21e)](_0x1680e4);_0x317020&&_0x317020[_0x460668(0x206)]({'isFromAdapter':!0x0});}}),await this[_0x4cf533(0x222)](_0x31268e);}[_0x49e552(0x228)](){const _0x355884=_0x49e552;if(this[_0x355884(0x219)]instanceof _0xb49a0){const _0x69f837=this[_0x355884(0x219)][_0x355884(0x23e)][_0x355884(0x231)](_0x355884(0x1fe));this[_0x355884(0x1e9)](_0x69f837);}}[_0x49e552(0x1e9)](_0x56111d){const _0x1b6106=_0x49e552;if(!this[_0x1b6106(0x21b)][_0x1b6106(0x240)](_0x56111d))throw new _0x2ccbc0(_0x1b6106(0x214),null,{'channelId':_0x56111d});this[_0x1b6106(0x1ed)](_0x56111d)[_0x1b6106(0x22e)](),this[_0x1b6106(0x21b)][_0x1b6106(0x207)](_0x56111d);}async[_0x49e552(0x1f5)](){const _0x259911=_0x49e552;for(const _0x1b1eec of this[_0x259911(0x21b)][_0x259911(0x242)]())await this[_0x259911(0x222)](_0x1b1eec);if(this[_0x259911(0x219)]instanceof _0xb49a0){const _0x59d839=this[_0x259911(0x219)][_0x259911(0x23e)][_0x259911(0x231)](_0x259911(0x1fe)),_0x283ccc=this[_0x259911(0x219)][_0x259911(0x1f9)][_0x259911(0x231)](_0x57c304);_0x283ccc[_0x259911(0x1f8)](_0x59d839);const _0x50e3b3=await this[_0x259911(0x21b)][_0x259911(0x231)](_0x59d839)[_0x259911(0x209)]();_0x283ccc[_0x259911(0x1fc)](_0x59d839,_0x50e3b3);}}async[_0x49e552(0x222)](_0x2fbd0f){const _0x16fbc2=_0x49e552,{connection:_0x1a3355}=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x572f74),_0x3f101f=this[_0x16fbc2(0x219)][_0x16fbc2(0x1f9)][_0x16fbc2(0x231)](_0x16fbc2(0x205)),_0x5319ce=this[_0x16fbc2(0x21b)][_0x16fbc2(0x231)](_0x2fbd0f),_0x48ec65=await _0x5319ce[_0x16fbc2(0x225)](_0x1a3355);await this[_0x16fbc2(0x24e)](_0x48ec65);const _0x3a2ffd=new Set(Array[_0x16fbc2(0x24c)](_0x3f101f[_0x16fbc2(0x244)]({'channelId':_0x2fbd0f}),_0x3526fe=>_0x3526fe['id']));for(const _0x349aa4 of _0x48ec65)_0x349aa4[_0x16fbc2(0x23a)]||_0x3a2ffd[_0x16fbc2(0x207)](_0x349aa4[_0x16fbc2(0x20e)]);for(const _0xd4992e of _0x3a2ffd)_0x3f101f[_0x16fbc2(0x20f)](_0xd4992e)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x3bfb55 of _0x48ec65){let _0xd452e2=_0x3f101f[_0x16fbc2(0x20f)](_0x3bfb55[_0x16fbc2(0x20e)]);const {commentThreadId:_0x3a6648,context:_0x1eaf6f,attributes:_0x490d45,resolvedBy:_0x151db3,resolvedAt:_0xcd3bb,unlinkedAt:_0x20ce6d,deletedAt:_0xbfa43f}=_0x3bfb55;if(_0xbfa43f)continue;_0xd452e2||(_0xd452e2=_0x3f101f[_0x16fbc2(0x201)]({'channelId':_0x2fbd0f,'threadId':_0x3a6648,'context':_0x1eaf6f,'attributes':_0x490d45||{},'resolvedBy':_0x151db3,'resolvedAt':_0xcd3bb,'unlinkedAt':_0x20ce6d,'isFromAdapter':!0x0}));const _0x59525a=new Set(Array[_0x16fbc2(0x24c)](_0xd452e2[_0x16fbc2(0x22b)],_0x156c59=>_0x156c59['id']));for(const _0x3aa74d of _0x3bfb55[_0x16fbc2(0x22b)])_0x59525a[_0x16fbc2(0x207)](_0x3aa74d[_0x16fbc2(0x213)]);for(const _0x313871 of _0x59525a)_0xd452e2[_0x16fbc2(0x21e)](_0x313871)[_0x16fbc2(0x206)]({'isFromAdapter':!0x0});for(const _0x235dab of _0x3bfb55[_0x16fbc2(0x22b)]){const _0xe9717f=_0xd452e2[_0x16fbc2(0x21e)](_0x235dab[_0x16fbc2(0x213)]);_0xe9717f?_0xe9717f[_0x16fbc2(0x1e8)]!==_0x235dab[_0x16fbc2(0x1e8)]&&_0xe9717f[_0x16fbc2(0x20a)]({'content':_0x235dab[_0x16fbc2(0x1e8)],'isFromAdapter':!0x0}):_0xd452e2[_0x16fbc2(0x245)](Object[_0x16fbc2(0x234)](p(_0x235dab),{'isFromAdapter':!0x0}));}}}[_0x49e552(0x1ed)](_0x14a6ac){const _0x3fb3e2=_0x49e552;if(!this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x240)](_0x14a6ac))throw new _0x2ccbc0(_0x3fb3e2(0x1ef),null,{'channelId':_0x14a6ac});return this[_0x3fb3e2(0x21b)][_0x3fb3e2(0x231)](_0x14a6ac);}async[_0x49e552(0x24e)](_0xc8f59c){const _0x53ee03=_0x49e552,_0x2ca3c2=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0xadbdb9),{connection:_0x394e90}=this[_0x53ee03(0x219)][_0x53ee03(0x1f9)][_0x53ee03(0x231)](_0x572f74),_0x4e985d=new Set();for(const {resolvedBy:_0x1fa00d,comments:_0x4e4279}of _0xc8f59c){_0x1fa00d&&!_0x2ca3c2[_0x53ee03(0x202)](_0x1fa00d)&&_0x4e985d[_0x53ee03(0x237)](_0x1fa00d);for(const {userId:_0x3d22a3}of _0x4e4279)_0x2ca3c2[_0x53ee03(0x202)](_0x3d22a3)||_0x4e985d[_0x53ee03(0x237)](_0x3d22a3);}if(0x0===_0x4e985d[_0x53ee03(0x1fb)])return;const _0x495e4a=await _0x13ab60[_0x53ee03(0x210)](_0x394e90,Array[_0x53ee03(0x24c)](_0x4e985d));for(const _0x597aaf of _0x495e4a)_0x2ca3c2[_0x53ee03(0x202)](_0x597aaf['id'])||_0x2ca3c2[_0x53ee03(0x22f)](_0x597aaf);}}async function f(_0x4f2c5e){const _0x1f6e34=_0x49e552;if(_0x1f6e34(0x226)!==_0x4f2c5e[_0x1f6e34(0x236)])throw _0x4f2c5e;}function A(_0x4d429a){const _0x13a639=_0x49e552;if((_0x10fbcc=_0x4d429a)[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x1f7))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x20c))||_0x10fbcc[_0x13a639(0x1f3)][_0x13a639(0x1ee)](_0x13a639(0x217)))return new Promise(()=>{});var _0x10fbcc;throw _0x4d429a;}function p(_0xba8e4b){const _0x374959=_0x49e552;return{'threadId':_0xba8e4b[_0x374959(0x20e)],'commentId':_0xba8e4b[_0x374959(0x213)],'content':_0xba8e4b[_0x374959(0x1e8)],'createdAt':_0xba8e4b[_0x374959(0x208)],'authorId':_0xba8e4b[_0x374959(0x232)],'attributes':_0xba8e4b[_0x374959(0x24d)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13c20e=_0x294e;(function(_0x18540b,_0x466573){const _0x5d3eed=_0x294e,_0x41c889=_0x18540b();while(!![]){try{const _0x493645=parseInt(_0x5d3eed(0xcb))/0x1*(-parseInt(_0x5d3eed(0xc7))/0x2)+-parseInt(_0x5d3eed(0xd0))/0x3+-parseInt(_0x5d3eed(0xe7))/0x4+parseInt(_0x5d3eed(0xc8))/0x5+parseInt(_0x5d3eed(0xdc))/0x6+-parseInt(_0x5d3eed(0xce))/0x7+parseInt(_0x5d3eed(0xe3))/0x8;if(_0x493645===_0x466573)break;else _0x41c889['push'](_0x41c889['shift']());}catch(_0x5d726e){_0x41c889['push'](_0x41c889['shift']());}}}(_0x5a35,0xd0b43));import{Plugin as _0x40f8dc}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2e45f7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5a35(){const _0x4686fa=['3264086nmzRUd','config','1934760VNZcBm','CommentsRepository','pluginName','change:state','isOfficialPlugin','once','_setUpService','data','isThreadsLoadingPaused','ready','plugins','RealTimeCollaborativeComments','6178452mLvJIr','switchReadOnly','editor','get','_terminateService','destroy','CommentsEditing','21787448fHLeQg','Comments','isPremiumPlugin','connected','3254668ZwuePy','586nITMIB','20055ICGaXr','collaboration.channelId','listenTo','3336sCXUYm','requires','init'];_0x5a35=function(){return _0x4686fa;};return _0x5a35();}import{RealTimeCollaborativeEditing as _0x4c5691}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x564db8}from'./realtimecollaborativeediting/websocketgateway.js';function _0x294e(_0x3be673,_0x345e80){const _0x5a3530=_0x5a35();return _0x294e=function(_0x294e8e,_0x7b558c){_0x294e8e=_0x294e8e-0xc7;let _0x40e663=_0x5a3530[_0x294e8e];return _0x40e663;},_0x294e(_0x3be673,_0x345e80);}export class RealTimeCollaborativeComments extends _0x40f8dc{static get[_0x13c20e(0xcc)](){const _0x5cdfaa=_0x13c20e;return[_0x5cdfaa(0xe4),_0x2e45f7,_0x4c5691,_0x564db8];}static get[_0x13c20e(0xd2)](){const _0x2434a8=_0x13c20e;return _0x2434a8(0xdb);}static get[_0x13c20e(0xd4)](){return!0x0;}static get[_0x13c20e(0xe5)](){return!0x0;}[_0x13c20e(0xcd)](){const _0x3d96e3=_0x13c20e,_0x5b99a8=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x564db8),_0x26fd8c=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x3d96e3(0xe2)),_0x3b63bb=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x2e45f7);return this[_0x3d96e3(0xde)][_0x3d96e3(0xd7)][_0x3d96e3(0xd5)](_0x3d96e3(0xd9),()=>{const _0x37ffa3=_0x3d96e3;this[_0x37ffa3(0xca)](_0x5b99a8,_0x37ffa3(0xd3),(_0x1ca2bb,_0x3b608d,_0x307f75)=>{const _0xe0074f=_0x37ffa3;_0x26fd8c[_0xe0074f(0xd8)]=_0xe0074f(0xe6)!==_0x307f75;});}),this[_0x3d96e3(0xca)](_0x5b99a8,_0x3d96e3(0xd3),(_0x335acf,_0x27914c,_0x3650ea)=>{const _0x3f960d=_0x3d96e3;this[_0x3f960d(0xde)][_0x3f960d(0xda)][_0x3f960d(0xdf)](_0x3f960d(0xd1))[_0x3f960d(0xdd)](_0x3f960d(0xe6)!==_0x3650ea);}),_0x3b63bb[_0x3d96e3(0xd6)](this[_0x3d96e3(0xde)][_0x3d96e3(0xcf)][_0x3d96e3(0xdf)](_0x3d96e3(0xc9)));}[_0x13c20e(0xe1)](){const _0x763281=_0x13c20e;this[_0x763281(0xde)][_0x763281(0xda)][_0x763281(0xdf)](_0x2e45f7)[_0x763281(0xe0)](this[_0x763281(0xde)][_0x763281(0xcf)][_0x763281(0xdf)](_0x763281(0xc9))),super[_0x763281(0xe1)]();}}
23
+ function _0x16dc(){const _0x4b2cfa=['requires','4664020hViLfd','9bBxjbK','_setUpService','4580382coIaQv','once','isThreadsLoadingPaused','1354468HMksEm','1556370QBRLbc','listenTo','ready','pluginName','get','destroy','plugins','6YDflCS','editor','isOfficialPlugin','config','6404168evoIcc','2353935aaRBeP','262296miNDxf','data','Comments','switchReadOnly','CommentsRepository','11gsgBrh','connected','change:state','7YGjqvw','RealTimeCollaborativeComments','init','_terminateService','collaboration.channelId','CommentsEditing','isPremiumPlugin'];_0x16dc=function(){return _0x4b2cfa;};return _0x16dc();}const _0x47bbfa=_0x3cc2;(function(_0x5f13eb,_0x257c45){const _0x584721=_0x3cc2,_0x280903=_0x5f13eb();while(!![]){try{const _0x26b18a=-parseInt(_0x584721(0x19a))/0x1*(-parseInt(_0x584721(0x1a0))/0x2)+-parseInt(_0x584721(0x19f))/0x3+-parseInt(_0x584721(0x192))/0x4+parseInt(_0x584721(0x18c))/0x5+parseInt(_0x584721(0x18f))/0x6*(-parseInt(_0x584721(0x184))/0x7)+-parseInt(_0x584721(0x19e))/0x8*(-parseInt(_0x584721(0x18d))/0x9)+-parseInt(_0x584721(0x193))/0xa*(parseInt(_0x584721(0x181))/0xb);if(_0x26b18a===_0x257c45)break;else _0x280903['push'](_0x280903['shift']());}catch(_0x2b587d){_0x280903['push'](_0x280903['shift']());}}}(_0x16dc,0x74add));function _0x3cc2(_0x268374,_0x47f6e4){const _0x16dc6d=_0x16dc();return _0x3cc2=function(_0x3cc212,_0x2e9d9b){_0x3cc212=_0x3cc212-0x180;let _0x256755=_0x16dc6d[_0x3cc212];return _0x256755;},_0x3cc2(_0x268374,_0x47f6e4);}import{Plugin as _0xa82e4a}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x149c3f}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x25d185}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x13a5e8}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xa82e4a{static get[_0x47bbfa(0x18b)](){const _0x29eb0a=_0x47bbfa;return[_0x29eb0a(0x1a2),_0x149c3f,_0x25d185,_0x13a5e8];}static get[_0x47bbfa(0x196)](){const _0x19cbb0=_0x47bbfa;return _0x19cbb0(0x185);}static get[_0x47bbfa(0x19c)](){return!0x0;}static get[_0x47bbfa(0x18a)](){return!0x0;}[_0x47bbfa(0x186)](){const _0x5f4089=_0x47bbfa,_0x3fa947=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x13a5e8),_0x52c106=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x5f4089(0x189)),_0x29710e=this[_0x5f4089(0x19b)][_0x5f4089(0x199)][_0x5f4089(0x197)](_0x149c3f);return this[_0x5f4089(0x19b)][_0x5f4089(0x1a1)][_0x5f4089(0x190)](_0x5f4089(0x195),()=>{const _0x585d88=_0x5f4089;this[_0x585d88(0x194)](_0x3fa947,_0x585d88(0x183),(_0x525a0f,_0xcad9ce,_0x46cc28)=>{const _0x3cac96=_0x585d88;_0x52c106[_0x3cac96(0x191)]=_0x3cac96(0x182)!==_0x46cc28;});}),this[_0x5f4089(0x194)](_0x3fa947,_0x5f4089(0x183),(_0x176263,_0x269d66,_0x486fd7)=>{const _0x128594=_0x5f4089;this[_0x128594(0x19b)][_0x128594(0x199)][_0x128594(0x197)](_0x128594(0x180))[_0x128594(0x1a3)](_0x128594(0x182)!==_0x486fd7);}),_0x29710e[_0x5f4089(0x18e)](this[_0x5f4089(0x19b)][_0x5f4089(0x19d)][_0x5f4089(0x197)](_0x5f4089(0x188)));}[_0x47bbfa(0x198)](){const _0x53bf80=_0x47bbfa;this[_0x53bf80(0x19b)][_0x53bf80(0x199)][_0x53bf80(0x197)](_0x149c3f)[_0x53bf80(0x187)](this[_0x53bf80(0x19b)][_0x53bf80(0x19d)][_0x53bf80(0x197)](_0x53bf80(0x188))),super[_0x53bf80(0x198)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40afe7=_0x20c1;(function(_0x49e685,_0x3bd002){const _0x5b0d00=_0x20c1,_0x3ae9c2=_0x49e685();while(!![]){try{const _0x24d4a6=parseInt(_0x5b0d00(0x128))/0x1*(-parseInt(_0x5b0d00(0x15b))/0x2)+-parseInt(_0x5b0d00(0x16e))/0x3*(-parseInt(_0x5b0d00(0x140))/0x4)+parseInt(_0x5b0d00(0x15e))/0x5*(-parseInt(_0x5b0d00(0x151))/0x6)+-parseInt(_0x5b0d00(0x1f0))/0x7*(-parseInt(_0x5b0d00(0x146))/0x8)+parseInt(_0x5b0d00(0x1c8))/0x9*(-parseInt(_0x5b0d00(0x1c9))/0xa)+parseInt(_0x5b0d00(0xfc))/0xb+parseInt(_0x5b0d00(0x1da))/0xc;if(_0x24d4a6===_0x3bd002)break;else _0x3ae9c2['push'](_0x3ae9c2['shift']());}catch(_0x291015){_0x3ae9c2['push'](_0x3ae9c2['shift']());}}}(_0x4a30,0xf109a));function _0x4a30(){const _0x15ea31=['insert','_currentBufferDelay','includes','createUserMarkerOperations','disconnected','lastSyncVersion','selection','loadRoot','connect','editing','_compressor','currentDocumentSession','fire','metadata','push','_loadRoot','remove','realtimecollaborationclient-handleserverresponse','finally','newRange','get','ready','high','_isAttached','_sendBufferedOperationsDelayed','addRootAttribute','apply','has','cloudServices.bundleVersion','serverHistory','toJSON','applyOperation','document:write','CollaborativeEditingService','_setUpDataInit','PENDING_ACTION_SENDING_DATA','_shouldSendUpdate','_clearPendingAction','disconnect','getMany','_saveOperationInBuffer','length','multi-root-editor-root-attributes-no-root','getDocumentDetails','Permissions','mySessionId','realtimecollaborationclient-init-document-already-initialized','reconnection:\x20flushed\x20session','_handleInitialConnectionData','setPermissions','_sendBufferedOperationsDelayId','baseVersion','keys','_operationToId','isEnabled','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-connection-failed','isReadOnly','reconnect','collaboration','createRoot','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-error','end','set','_offset','view','99027wKsmTS','30VpvNJM','config','_sendBufferedOperations','_isEditingAllowed','document','_connectService','_operationIdentifier','_disconnectionOperations','cloudDocumentVersion','roots','collaboration.channelId','lastOperationId','root','_baseBufferDelay','forEach','editor','sendOperations','25176948KwVeuJ','wasUndone','code','directChange','_isInit','_getOperationsFromInitData','offset','startsWith','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.','error','pluginName','requires','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Not\x20connected.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','add','showWarning','_isDisconnection','_isConnected','_handleReconnectionError','_addKnownRoot','21qNdHOP','isPremiumPlugin','string','_handleReceivedOperations','bind','removeFromReconnectionStack','path','position','$root','CommentsOnly','fromJSON','_waitUntilSynced','getUser','_pendingAction','enableReadOnlyMode','connection','_hasSynchronizationProblem','unregister','lastDocumentSession','stop','15354207GrQQce','createPositionFromPath','lastOperationAcceptedAt','register','_bufferRootLoad','from','suppressErrorInCollaboration','change:hasDomSelection','targetPosition','type','_shouldSendSelectionUpdate','permissions','differ','_decompressOperations','change:_isPendingUpdate','getOperationAuthor','parse','isDocumentOperation','filter','connected','sessionCreatedAt','_document','createPositionAt','_authorId','isUndoneOperation','addRoot','getConnectedSessions','message','collaboration-missing-channelid','destroy','realtimecollaborationclient-init-service-internal-error','move','plugins','slice','__className','real-time-collaboration','listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','setIdForTheLastOperation','wereChangesApplied','affectsData','then','reset','_handleServerResponse','137476gTmkyP','_isLoaded','rtc-destroyed','_compressOperations','clone','_crash','catch','userId','sessionAdd:','_bufferedOperations','_getAffectedRoot','channelSessions','Synchronization\x20issue','stopListening','disableReadOnlyMode','rtc-offline','_refreshUserSelectionMarkers','_isPendingUpdate','operationsReceived','decompress','realtimecollaborationclient-init-session-connection-error','_channelId','RealTimeCollaborationClient','compress','12afDwSc','_setPendingAction','locale','addToReconnectionStack','cs:removeUser','_lastSyncedOperationId','370072AbAkmb','realtimecollaborationclient','realtimecollaborationclient-init-service-incorrect-server-operation','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','409','attributes','off','_initThrowingOnDataSet','_handleReconnectionResponse','_knownOperations','6NlcqtK','map','isOfficialPlugin','change:_isEditingAllowed','getRoot','404','_initSessionsHandling','_knownRootNames','version','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','22hypVTf','_ignoredOperations','batch','8466530JsOysS','createRange','_hasSelectionChanged','entries','_updateServerHistory','history','init','_lastServerVersion','model','InsertOperation','Notification','_applyOperationsSet','addUser','rootName','realtimecollaborationclient-sendbufferedoperations','_service','593148keUYJo','_handleExternalOperations','getIdOfTheLastOperation','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.','addOperation','start','affectedSelectable','enqueueChange','change:range','return','state','sessionId','rootsAttributes','_fetchMissingUsers','initData','marker','_disconnectService','markers','_connectAfterSessionHasBeenFlushed','createdAt','data','define','getOperations'];_0x4a30=function(){return _0x15ea31;};return _0x4a30();}function _0x20c1(_0x2267ec,_0x3113ab){const _0x4a3054=_0x4a30();return _0x20c1=function(_0x20c1f6,_0x135f86){_0x20c1f6=_0x20c1f6-0xf2;let _0x3e496e=_0x4a3054[_0x20c1f6];return _0x3e496e;},_0x20c1(_0x2267ec,_0x3113ab);}import{Plugin as _0xda1eea,PendingActions as _0x38c82b}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f0bc6,version as _0x1ef2e6,uid as _0x178034}from'ckeditor5/src/utils.js';import{Notification as _0x2a2da8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x666f29,NoOperation as _0x51eba9,InsertOperation as _0x359b84,MarkerOperation as _0x5a6c80,RootAttributeOperation as _0x4d4db6,OperationFactory as _0x154bf0,History as _0x218c3b}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5f90a4}from'./websocketgateway.js';import{Sessions as _0x838d6b}from'./sessions.js';import{UserMarkers as _0x365f9e}from'./usermarkers.js';import{getTranslation as _0x319fc4}from'../common-translations.js';import{Compressor as _0x2b67ac}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xed9faa}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x12e0d9,CollaborativeEditingService as _0x2a95f8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0xda1eea{static [_0x40afe7(0x1a6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2a95f8)());[_0x40afe7(0x1c6)];[_0x40afe7(0x179)];[_0x40afe7(0x1a2)];[_0x40afe7(0x13d)];[_0x40afe7(0x16d)];[_0x40afe7(0x111)];[_0x40afe7(0x18f)];[_0x40afe7(0x131)];[_0x40afe7(0x150)];[_0x40afe7(0x158)];[_0x40afe7(0xf5)];[_0x40afe7(0x160)];[_0x40afe7(0x1b7)];[_0x40afe7(0x1d6)];[_0x40afe7(0x186)];[_0x40afe7(0x145)];[_0x40afe7(0x1d0)];[_0x40afe7(0x1cf)];static get[_0x40afe7(0x1e5)](){return[_0x5f90a4,_0x838d6b,_0x365f9e,_0x38c82b,_0xed9faa,_0x2a2da8];}static get[_0x40afe7(0x1e4)](){const _0x3d4648=_0x40afe7;return _0x3d4648(0x13e);}static get[_0x40afe7(0x153)](){return!0x0;}static get[_0x40afe7(0x1f1)](){return!0x0;}get[_0x40afe7(0x1d1)](){const _0x555b64=_0x40afe7;return this[_0x555b64(0x165)]+this[_0x555b64(0x1c6)];}get[_0x40afe7(0x165)](){const _0x47dcc7=_0x40afe7;return this[_0x47dcc7(0x1a2)][_0x47dcc7(0x159)]-this[_0x47dcc7(0x1c6)];}get[_0x40afe7(0x18a)](){const _0x47878d=_0x40afe7,_0x75a03b=this[_0x47878d(0x1a2)][_0x47878d(0x184)]();for(let _0x2c015b=_0x75a03b[_0x47878d(0x1ae)]-0x1;_0x2c015b>=0x0;_0x2c015b--){const _0x1e2711=_0x75a03b[_0x2c015b];if(!this[_0x47878d(0x1d0)][_0x47878d(0x1a0)](_0x1e2711))return _0x1e2711[_0x47878d(0x1b8)]+0x1-this[_0x47878d(0x1c6)];}return 0x0;}constructor(_0x3d5468){const _0x151fc1=_0x40afe7;if(super(_0x3d5468),this[_0x151fc1(0x1c6)]=0x0,this[_0x151fc1(0x179)]=null,this[_0x151fc1(0x1a2)]=new _0x218c3b(),this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x183)](_0x151fc1(0x1c0),{}),this[_0x151fc1(0x13d)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1d3)),!this[_0x151fc1(0x13d)])throw new _0x1f0bc6(_0x151fc1(0x118),this);const _0x5e976e=_0x3d5468[_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1a1))||_0x1ef2e6;this[_0x151fc1(0x16d)]=new RealTimeCollaborationClient[(_0x151fc1(0x1a6))](_0x5e976e,this[_0x151fc1(0x13d)]),this[_0x151fc1(0x111)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x166)][_0x151fc1(0x1cd)],this[_0x151fc1(0x18f)]=new _0x2b67ac(),this[_0x151fc1(0x131)]=[],this[_0x151fc1(0x150)]=new WeakSet(),this[_0x151fc1(0x158)]=new Set(),this[_0x151fc1(0x1c5)](_0x151fc1(0x139),!0x1),this[_0x151fc1(0x1c5)](_0x151fc1(0xf8),!0x1),this[_0x151fc1(0xf5)]=null,this[_0x151fc1(0x160)]=!0x1,this[_0x151fc1(0x1b7)]=null,this[_0x151fc1(0x1d6)]=0x12c,this[_0x151fc1(0x186)]=this[_0x151fc1(0x1d6)],this[_0x151fc1(0x145)]=null,this[_0x151fc1(0x1d0)]=new WeakSet(),this[_0x151fc1(0x1cf)]=new F(this[_0x151fc1(0x1d0)]);}[_0x40afe7(0x164)](){const _0x39ffb1=_0x40afe7,_0x52f683=this[_0x39ffb1(0x1d8)],_0x34b899=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0xed9faa),_0x34dfb4=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0x5f90a4);this[_0x39ffb1(0x120)](_0x34b899,_0x39ffb1(0x10b),(_0x4a994c,_0x59635c)=>{const _0x3fc11e=_0x39ffb1,_0x31fd4d=_0x59635c[0x0];_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=_0x34b899[_0x3fc11e(0xf4)](_0x31fd4d[_0x3fc11e(0x113)]),_0x4a994c[_0x3fc11e(0xfb)]()),null===_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=null,_0x4a994c[_0x3fc11e(0xfb)]());},{'priority':_0x39ffb1(0x19b)}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x166)][_0x39ffb1(0x1cd)][_0x39ffb1(0x18b)],_0x39ffb1(0x176),(_0x4e14b8,_0x47fb37)=>{const _0x614903=_0x39ffb1;_0x47fb37[_0x614903(0x1dd)]&&this[_0x614903(0x138)]();}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x18e)][_0x39ffb1(0x1c7)],_0x39ffb1(0x103),()=>{const _0x487392=_0x39ffb1;this[_0x487392(0x138)]();}),this[_0x39ffb1(0x14e)](),_0x52f683[_0x39ffb1(0x166)]['on'](_0x39ffb1(0x1a4),(_0x4cfe40,_0x30c033)=>{const _0x204edc=_0x39ffb1,_0x3e420c=_0x30c033[0x0];_0x3e420c[_0x204edc(0x10d)]&&(this[_0x204edc(0x1ad)](_0x3e420c),this[_0x204edc(0x1a9)]()&&this[_0x204edc(0x19d)]());}),this[_0x39ffb1(0x1a7)](),this[_0x39ffb1(0x1f4)](_0x39ffb1(0x1cc))['to'](_0x34dfb4,_0x39ffb1(0x178),this,_0x39ffb1(0xf8),(_0x1ae30c,_0x39b910)=>_0x39ffb1(0x10f)===_0x1ae30c&&!_0x39b910),this['on'](_0x39ffb1(0x154),()=>{const _0x4f26b2=_0x39ffb1;this[_0x4f26b2(0x1cc)]?_0x52f683[_0x4f26b2(0x136)](_0x4f26b2(0x137)):_0x52f683[_0x4f26b2(0xf6)](_0x4f26b2(0x137));}),this[_0x39ffb1(0x1cc)]?_0x52f683[_0x39ffb1(0x136)](_0x39ffb1(0x137)):_0x52f683[_0x39ffb1(0xf6)](_0x39ffb1(0x137)),this[_0x39ffb1(0x1c5)](_0x39ffb1(0x1ed),!0x1);}async[_0x40afe7(0x1bf)](){const _0x45a500=_0x40afe7,_0x8660bb=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x838d6b),_0x31d39b=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x5f90a4);try{this[_0x45a500(0x139)]=!0x0,_0x8660bb[_0x45a500(0xf9)](this[_0x45a500(0x13d)]);const _0xbb109f=await this[_0x45a500(0x16d)][_0x45a500(0x1bf)](_0x31d39b[_0x45a500(0xf7)],this[_0x45a500(0x18a)]);await this[_0x45a500(0x14f)](_0xbb109f)&&(this[_0x45a500(0x139)]=!0x1,this[_0x45a500(0x1aa)]());const _0x20c78b=await this[_0x45a500(0x16d)][_0x45a500(0x116)]();_0x8660bb[_0x45a500(0xff)](this[_0x45a500(0x13d)],_0x20c78b),this[_0x45a500(0x1e6)](),this[_0x45a500(0x1ed)]=!0x0;}catch(_0x256c29){if(function(_0xfdbd67){const _0x1bae2f=_0x45a500;return _0x1bae2f(0x156)===_0xfdbd67[_0x1bae2f(0x1dc)];}(_0x256c29)&&this[_0x45a500(0x179)])await this[_0x45a500(0x180)]();else{if(function(_0x11b04f){const _0x8683f1=_0x45a500;return _0x8683f1(0x14b)===_0x11b04f[_0x8683f1(0x1dc)];}(_0x256c29)){const _0x30c037=_0x319fc4(this[_0x45a500(0x1d8)][_0x45a500(0x142)],_0x45a500(0x1e8));this[_0x45a500(0x1ee)](_0x30c037);}else{if(!(_0x256c29 instanceof V))throw _0x256c29;this[_0x45a500(0x1ee)]();}}}}[_0x40afe7(0x119)](){const _0x3ca7eb=_0x40afe7,_0x382e80=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x5f90a4),_0xfcabad=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x838d6b);this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0xf6)](_0x3ca7eb(0x12a)),_0xfcabad[_0x3ca7eb(0x133)][_0x3ca7eb(0x1a0)](this[_0x3ca7eb(0x13d)])&&_0xfcabad[_0x3ca7eb(0xf9)](this[_0x3ca7eb(0x13d)]),_0x382e80[_0x3ca7eb(0x1f5)](this),this[_0x3ca7eb(0x17e)](),super[_0x3ca7eb(0x119)]();}async[_0x40afe7(0x14f)](_0x5e5ff2){const _0x1c8f6e=_0x40afe7;if(this[_0x1c8f6e(0x179)]!==_0x5e5ff2[_0x1c8f6e(0x179)]&&this[_0x1c8f6e(0x145)]!==_0x5e5ff2[_0x1c8f6e(0x1d4)])throw new V();return this[_0x1c8f6e(0x179)]=_0x5e5ff2[_0x1c8f6e(0x179)],this[_0x1c8f6e(0x127)]([],{..._0x5e5ff2,'wereChangesApplied':!0x1,'data':_0x5e5ff2[_0x1c8f6e(0x182)]},_0x1c8f6e(0x1bf));}async[_0x40afe7(0x1ce)](_0x39a1b4,_0x1f7aa3=!0x1){const _0x31fcef=_0x40afe7,{connection:_0x5d3423}=this[_0x31fcef(0x1d8)][_0x31fcef(0x11c)][_0x31fcef(0x199)](_0x5f90a4);RealTimeCollaborationClient[_0x31fcef(0x1a6)][_0x31fcef(0x116)](_0x5d3423,this[_0x31fcef(0x13d)])[_0x31fcef(0x125)](_0x1cbc6f=>this[_0x31fcef(0x157)](_0x1cbc6f))[_0x31fcef(0x12e)](_0x1f929f=>{const _0x2dafc4=_0x31fcef;this[_0x2dafc4(0x12d)](_0x2dafc4(0x13c),_0x1f929f);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x13a),this[_0x31fcef(0x1f3)][_0x31fcef(0x1f4)](this)),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x1e3),(_0x2ca13a,_0xc611ed)=>{const _0x19b0a9=_0x31fcef;this[_0x19b0a9(0x12d)](_0x19b0a9(0x11a),_0xc611ed);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x189),()=>{const _0xc3f093=_0x31fcef;this[_0xc3f093(0x1ed)]=!0x1;});const _0x3eb28e=this[_0x31fcef(0x1cf)][_0x31fcef(0x170)](_0x39a1b4);this[_0x31fcef(0x139)]=!0x0;const _0x4058fa=await this[_0x31fcef(0x16d)][_0x31fcef(0x18d)](_0x5d3423,this[_0x31fcef(0x12b)](_0x39a1b4),_0x3eb28e);if(this[_0x31fcef(0x179)]=_0x4058fa[_0x31fcef(0x179)],_0x1f7aa3){if(!_0x4058fa[_0x31fcef(0x123)])return void this[_0x31fcef(0x1ee)]();this[_0x31fcef(0x139)]=!0x1,this[_0x31fcef(0x1aa)](),this[_0x31fcef(0x1a2)][_0x31fcef(0x126)](),this[_0x31fcef(0x1c6)]=_0x4058fa[_0x31fcef(0x1e0)],this[_0x31fcef(0x1a2)][_0x31fcef(0x159)]=this[_0x31fcef(0x1c6)],await this[_0x31fcef(0x127)](_0x39a1b4,_0x4058fa,_0x31fcef(0x1b4));}else await this[_0x31fcef(0x1b5)](_0x4058fa,_0x39a1b4);this[_0x31fcef(0x1e6)](),this[_0x31fcef(0x1ed)]=!0x0;}[_0x40afe7(0x1e6)](){const _0x2ad28e=_0x40afe7,_0x4d8d8b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x838d6b),_0x20924b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x365f9e),_0x579db9=_0x4d8d8b[_0x2ad28e(0x133)][_0x2ad28e(0x199)](this[_0x2ad28e(0x13d)]);_0x579db9&&_0x579db9[_0x2ad28e(0x1ae)]>0x1?_0x20924b[_0x2ad28e(0x188)]():this[_0x2ad28e(0x120)](_0x4d8d8b,_0x2ad28e(0x130)+this[_0x2ad28e(0x13d)],()=>{const _0x3c96df=_0x2ad28e;0x2===_0x4d8d8b[_0x3c96df(0x133)][_0x3c96df(0x199)](this[_0x3c96df(0x13d)])[_0x3c96df(0x1ae)]&&_0x20924b[_0x3c96df(0x188)]();});}async[_0x40afe7(0x1f3)](_0x102ab3,_0x5666fc,_0x552b70,_0xc0282c){const _0x2bcbc7=_0x40afe7;if(!this[_0x2bcbc7(0x139)]&&this[_0x2bcbc7(0x111)][_0x2bcbc7(0x159)]==_0x5666fc){const _0x2fdbb4=this[_0x2bcbc7(0x109)](_0x552b70,_0xc0282c);await this[_0x2bcbc7(0x17b)](_0x2fdbb4),this[_0x2bcbc7(0x16f)](_0x2fdbb4,_0x5666fc,_0x552b70[_0x2bcbc7(0x1d4)])||this[_0x2bcbc7(0x12d)](_0x2bcbc7(0x148));}}async[_0x40afe7(0x180)](){const _0x1dfbec=_0x40afe7;this[_0x1dfbec(0x17e)]();const {locale:_0x58e9b3}=this[_0x1dfbec(0x1d8)];let _0x3c8507;try{_0x3c8507=await this[_0x1dfbec(0x16d)][_0x1dfbec(0x1b0)]();}catch{const _0x399552=_0x319fc4(_0x58e9b3,_0x1dfbec(0x15a));return void this[_0x1dfbec(0x1ee)](_0x399552);}const _0x47027b=_0x3c8507[_0x1dfbec(0x190)]||_0x3c8507[_0x1dfbec(0xfa)];if(this[_0x1dfbec(0x145)]!==_0x47027b[_0x1dfbec(0x1d4)]){const _0x8933c5=_0x319fc4(_0x58e9b3,_0x1dfbec(0x171));return void this[_0x1dfbec(0x1ee)](_0x8933c5);}await this[_0x1dfbec(0x1ce)](this[_0x1dfbec(0x1d8)][_0x1dfbec(0x166)][_0x1dfbec(0x1cd)][_0x1dfbec(0x163)][_0x1dfbec(0x184)](),!0x0);}[_0x40afe7(0x17e)](){const _0x10fb69=_0x40afe7;this[_0x10fb69(0x16d)][_0x10fb69(0x1ab)](),this[_0x10fb69(0x131)]=[],clearTimeout(this[_0x10fb69(0x1b7)]),this[_0x10fb69(0x135)](this[_0x10fb69(0x16d)]);}[_0x40afe7(0x157)](_0x48e028){const _0x5391c8=_0x40afe7,_0x56e53f=this[_0x5391c8(0x1d8)][_0x5391c8(0x11c)][_0x5391c8(0x199)](_0x838d6b);this[_0x5391c8(0x120)](_0x56e53f,_0x5391c8(0x130)+this[_0x5391c8(0x13d)],(_0x1ffc9c,{session:_0x35785c})=>{const _0x24d250=_0x5391c8;if(_0x35785c['id']===_0x56e53f[_0x24d250(0x1b2)]){_0x1ffc9c[_0x24d250(0x14d)]();const _0x570699=this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x1a0)](_0x24d250(0x1f9))&&this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1f9));let _0x2442d0=_0x35785c[_0x24d250(0x107)];_0x570699&&_0x570699[_0x24d250(0x1bb)]&&(_0x2442d0=_0x2442d0[_0x24d250(0x10e)](_0x52bf3c=>_0x24d250(0x1a5)!==_0x52bf3c)),this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1b1))[_0x24d250(0x1b6)](_0x2442d0,this[_0x24d250(0x13d)]);}}),_0x56e53f[_0x5391c8(0xff)](this[_0x5391c8(0x13d)],_0x48e028);}[_0x40afe7(0x14e)](){const _0x2904f0=_0x40afe7,_0x23a92b=this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)];this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)]=(..._0x1467b9)=>{const _0x5ccbf2=_0x2904f0;if(!_0x1467b9[_0x1467b9[_0x5ccbf2(0x1ae)]-0x1][_0x5ccbf2(0x102)])throw new _0x1f0bc6(_0x5ccbf2(0x121),this);_0x23a92b[_0x5ccbf2(0x19f)](this[_0x5ccbf2(0x1d8)][_0x5ccbf2(0x182)],_0x1467b9);};}[_0x40afe7(0x1a7)](){const _0x5a6637=_0x40afe7;this[_0x5a6637(0x1d8)][_0x5a6637(0x182)]['on'](_0x5a6637(0x164),(_0x1b827b,[_0x2936a7])=>{const _0x58082f=_0x5a6637;if(this[_0x58082f(0x111)][_0x58082f(0x159)])throw new _0x1f0bc6(_0x58082f(0x1b3),this);_0x1b827b[_0x58082f(0xfb)](),this[_0x58082f(0x141)]();const _0x397759=this[_0x58082f(0x1d8)][_0x58082f(0x1ca)][_0x58082f(0x199)](_0x58082f(0x17a)),_0x3b0bf3=this[_0x58082f(0x1df)](_0x2936a7,_0x397759);0x0==_0x3b0bf3[_0x58082f(0x1ae)]&&_0x3b0bf3[_0x58082f(0x193)](new _0x51eba9(0x0)),_0x1b827b[_0x58082f(0x177)]=this[_0x58082f(0x1ce)](_0x3b0bf3)[_0x58082f(0x125)](()=>{const _0x30d483=_0x58082f;this[_0x30d483(0x1d8)][_0x30d483(0x11c)][_0x30d483(0x199)](_0x5f90a4)[_0x30d483(0x143)](this),this[_0x30d483(0x1d8)][_0x30d483(0x182)][_0x30d483(0x191)](_0x30d483(0x19a));})[_0x58082f(0x12e)](_0x1e5115=>this[_0x58082f(0x12d)](_0x58082f(0x1bd),_0x1e5115))[_0x58082f(0x197)](()=>this[_0x58082f(0x1aa)]());},{'priority':_0x5a6637(0x19b)}),this[_0x5a6637(0x1d8)]['on'](_0x5a6637(0x18c),async(_0xac0fc3,[_0x2f470e,_0x458db5])=>{const _0xbf8c99=_0x5a6637;_0xac0fc3[_0xbf8c99(0xfb)]();const _0x145437=this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x1cd)][_0xbf8c99(0x155)](_0x2f470e);if(!this[_0xbf8c99(0x158)][_0xbf8c99(0x1a0)](_0x2f470e)){const _0x2774ee=_0x458db5&&_0x458db5[_0xbf8c99(0x182)]?_0x458db5[_0xbf8c99(0x182)]:'',_0xf7c90d=_0x458db5&&_0x458db5[_0xbf8c99(0x14c)]?_0x458db5[_0xbf8c99(0x14c)]:{};await this[_0xbf8c99(0x194)](_0x2f470e,_0x2774ee,_0xf7c90d);}this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x175)]({'isUndoable':!0x1},()=>{const _0x4c43db=_0xbf8c99;_0x145437[_0x4c43db(0x129)]=!0x0,this[_0x4c43db(0x1d8)][_0x4c43db(0x166)][_0x4c43db(0x1cd)][_0x4c43db(0x108)][_0x4c43db(0x100)](_0x145437);});},{'priority':_0x5a6637(0x19b)});}async[_0x40afe7(0x17b)](_0x122f7b){const _0xcf49bf=_0x40afe7,_0x1c91f1=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0xed9faa),{connection:_0x21edf0}=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0x5f90a4),_0x12c8dc=new Set();for(const _0x3c55db of _0x122f7b){const _0x42aa5f=_0x3c55db[_0xcf49bf(0x113)];_0x42aa5f&&!_0x1c91f1[_0xcf49bf(0xf4)](_0x42aa5f)&&_0x12c8dc[_0xcf49bf(0x1ea)](_0x42aa5f);}if(0x0===_0x12c8dc[_0xcf49bf(0x1e9)])return;const _0x3fea17=await _0x12e0d9[_0xcf49bf(0x1ac)](_0x21edf0,Array[_0xcf49bf(0x101)](_0x12c8dc));for(const _0x1f5508 of _0x3fea17)_0x1c91f1[_0xcf49bf(0xf4)](_0x1f5508['id'])||_0x1c91f1[_0xcf49bf(0x16a)](_0x1f5508);}[_0x40afe7(0x1df)](_0x4b7718,_0x237df4={}){const _0x53cc66=_0x40afe7,_0x49df44=this[_0x53cc66(0x1d8)][_0x53cc66(0x166)],_0x19341d=[];let _0x4dd7eb=0x0;const _0x2cc626=_0x53cc66(0x1f2)==typeof _0x4b7718?{'main':_0x4b7718}:_0x4b7718;for(const _0x1ee3b5 of Object[_0x53cc66(0x1b9)](_0x2cc626)){if(!this[_0x53cc66(0x111)][_0x53cc66(0x1d2)][_0x53cc66(0x1a0)](_0x1ee3b5))throw new _0x1f0bc6(_0x53cc66(0x1bc),this);const _0x10b946=this[_0x53cc66(0x1d8)][_0x53cc66(0x182)][_0x53cc66(0x10c)](_0x2cc626[_0x1ee3b5]),_0x336219=this[_0x53cc66(0x111)][_0x53cc66(0x155)](_0x1ee3b5),_0x1c73a6=new _0x359b84(_0x49df44[_0x53cc66(0x112)](_0x336219,0x0),_0x10b946,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x1c73a6);for(const [_0x6f4352,_0x5903cc]of _0x10b946[_0x53cc66(0x17f)]){const _0x3202a9=_0x49df44[_0x53cc66(0x15f)](_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x173)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]()),_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x1c4)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]())),_0x826255=new _0x5a6c80(_0x6f4352,null,_0x3202a9,_0x49df44[_0x53cc66(0x17f)],!0x0,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x826255);}}if(_0x237df4)for(const [_0x4f986e,_0x12f427]of Object[_0x53cc66(0x161)](_0x237df4)){const _0x224fc6=_0x49df44[_0x53cc66(0x1cd)][_0x53cc66(0x155)](_0x4f986e);if(!_0x224fc6)throw new _0x1f0bc6(_0x53cc66(0x1af),null);for(const [_0x3a5105,_0x9d91e1]of Object[_0x53cc66(0x161)](_0x12f427))if(null!==_0x9d91e1){const _0x48995d=new _0x4d4db6(_0x224fc6,_0x3a5105,null,_0x9d91e1,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x48995d);}}return _0x19341d;}async[_0x40afe7(0x194)](_0x1192cb,_0x3a59dd,_0x3028f9){const _0x1a2ed0=_0x40afe7;this[_0x1a2ed0(0x1df)]({[_0x1192cb]:_0x3a59dd},{[_0x1192cb]:_0x3028f9})[_0x1a2ed0(0x1d7)]((_0x44c08e,_0x2db395)=>{const _0x5e5dd9=_0x1a2ed0;_0x44c08e[_0x5e5dd9(0x1b8)]=this[_0x5e5dd9(0x111)][_0x5e5dd9(0x159)]+_0x2db395,_0x44c08e[_0x5e5dd9(0x1de)]=!0x0,this[_0x5e5dd9(0x1ad)](_0x44c08e);}),this[_0x1a2ed0(0x19d)](),await this[_0x1a2ed0(0xf3)]();}async[_0x40afe7(0x1b5)](_0x39e4d7,_0x35df2c){const _0x32162b=_0x40afe7;let _0x5c8614;this[_0x32162b(0x1c6)]=_0x39e4d7[_0x32162b(0x1e0)];const _0x15300b=_0x39e4d7[_0x32162b(0x123)]&&!_0x39e4d7[_0x32162b(0x17c)],_0x4379ee=_0x15300b?0x0:_0x39e4d7[_0x32162b(0x182)][_0x32162b(0x1b8)];if(_0x35df2c[_0x32162b(0x1d7)](_0x258454=>{const _0x53d959=_0x32162b;_0x258454[_0x53d959(0x1de)]=!0x0,_0x258454[_0x53d959(0x181)]=_0x39e4d7[_0x53d959(0x110)],_0x258454[_0x53d959(0x113)]=null;}),_0x15300b)_0x5c8614=_0x35df2c,this[_0x32162b(0x169)](_0x5c8614,_0x15300b);else{if(_0x39e4d7[_0x32162b(0x17c)]){const _0x1ba605=this[_0x32162b(0x1df)](_0x39e4d7[_0x32162b(0x17c)]);this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)],_0x1ba605[_0x32162b(0x1d7)](_0x28596b=>{const _0x35a630=_0x32162b;_0x28596b[_0x35a630(0x1b8)]-=_0x1ba605[_0x35a630(0x1ae)],_0x28596b[_0x35a630(0x181)]=_0x39e4d7[_0x35a630(0x110)],_0x28596b[_0x35a630(0x1de)]=!0x0,_0x28596b[_0x35a630(0x113)]=null;}),this[_0x32162b(0x169)](_0x1ba605,!0x0),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)]+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x1ba605);}this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=_0x4379ee,_0x5c8614=this[_0x32162b(0x109)](_0x39e4d7[_0x32162b(0x182)],_0x39e4d7[_0x32162b(0x192)]),await this[_0x32162b(0x17b)](_0x5c8614),this[_0x32162b(0x169)](_0x5c8614,_0x15300b);}_0x39e4d7[_0x32162b(0x1d4)]&&(this[_0x32162b(0x1cf)][_0x32162b(0x122)](_0x5c8614,_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x145)]=_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=_0x4379ee+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x5c8614),_0x35df2c[_0x32162b(0x10e)](_0x44ec75=>{const _0x570275=_0x32162b,_0x548e93=this[_0x570275(0x132)](_0x44ec75);return _0x548e93&&!this[_0x570275(0x158)][_0x570275(0x1a0)](_0x548e93);})[_0x32162b(0x1d7)]((_0x3c48ff,_0x58f021)=>{const _0x96a6bf=_0x32162b;_0x3c48ff[_0x96a6bf(0x1b8)]=this[_0x96a6bf(0x111)][_0x96a6bf(0x159)]+_0x58f021,this[_0x96a6bf(0x1ad)](_0x3c48ff);}),this[_0x32162b(0x1a9)]()?(this[_0x32162b(0x186)]=0x0,this[_0x32162b(0x19d)](!0x0),await this[_0x32162b(0xf3)]()):(this[_0x32162b(0x139)]=!0x1,this[_0x32162b(0x1aa)]());}[_0x40afe7(0x12d)](_0x5c23d5,_0x320552){const _0x355210=_0x40afe7,_0x1d883d=_0x320552&&_0x320552[_0x355210(0x117)];if(_0x1d883d&&_0x1d883d[_0x355210(0x1e1)](_0x355210(0x147)))throw _0x320552;const _0x2d59aa=this[_0x355210(0x1d8)][_0x355210(0x11c)][_0x355210(0x199)](_0x5f90a4);throw this[_0x355210(0x139)]=!0x0,_0x2d59aa[_0x355210(0x1ab)](),this[_0x355210(0x1d8)][_0x355210(0xf6)](_0x355210(0x1c3)),new _0x1f0bc6(_0x5c23d5,this[_0x355210(0x1d8)],_0x1d883d?{'originalError':_0x1d883d}:void 0x0);}[_0x40afe7(0x1ad)](_0x2af447){const _0x475e6f=_0x40afe7;this[_0x475e6f(0x150)][_0x475e6f(0x1a0)](_0x2af447)||(this[_0x475e6f(0x150)][_0x475e6f(0x1ea)](_0x2af447),this[_0x475e6f(0x131)][_0x475e6f(0x193)](_0x2af447),this[_0x475e6f(0xf5)]||_0x475e6f(0x17d)==_0x2af447[_0x475e6f(0x105)]&&!_0x2af447[_0x475e6f(0x124)]||this[_0x475e6f(0x141)]());}[_0x40afe7(0x19d)](_0x238808=!0x1){const _0x50a3a4=_0x40afe7;!_0x238808&&this[_0x50a3a4(0x139)]||(this[_0x50a3a4(0x139)]=!0x0,clearTimeout(this[_0x50a3a4(0x1b7)]),this[_0x50a3a4(0x1b7)]=setTimeout(()=>{const _0x1d5986=_0x50a3a4;this[_0x1d5986(0x1cb)]()[_0x1d5986(0x125)](_0xa0f160=>{const _0x42242c=_0x1d5986;_0xa0f160&&(this[_0x42242c(0x1aa)](),this[_0x42242c(0x139)]=!0x1);})[_0x1d5986(0x12e)](_0x140a42=>{const _0xe337cd=_0x1d5986;this[_0xe337cd(0x1aa)](),this[_0xe337cd(0x139)]=!0x1,function(_0x53d4d2){const _0x28d888=_0xe337cd;return _0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1e7))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x14a))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1c2));}(_0x140a42)||this[_0xe337cd(0x12d)](_0x140a42[_0xe337cd(0x117)],_0x140a42);});},this[_0x50a3a4(0x186)]));}[_0x40afe7(0xf3)](){return new Promise(_0x24b78e=>{const _0x560a06=_0x20c1;this['on'](_0x560a06(0x10a),()=>{_0x24b78e();});});}async[_0x40afe7(0x1cb)](){const _0x3938b6=_0x40afe7,_0x34094d=this[_0x3938b6(0x1d8)][_0x3938b6(0x11c)][_0x3938b6(0x199)](_0x365f9e);if(this[_0x3938b6(0x106)]()&&(_0x34094d[_0x3938b6(0x188)](),this[_0x3938b6(0x160)]=!0x1),!this[_0x3938b6(0x1a9)]())return!0x0;const _0x438c3f=[...this[_0x3938b6(0x131)]];for(const _0x1350fd of _0x438c3f)_0x1350fd[_0x3938b6(0x1db)]=this[_0x3938b6(0x111)][_0x3938b6(0x163)][_0x3938b6(0x114)](_0x1350fd);const _0x45b79c=this[_0x3938b6(0x1cf)][_0x3938b6(0x170)](_0x438c3f),_0x485ad0=H++,_0x45944e=this[_0x3938b6(0x12b)](_0x438c3f),_0x329013=await this[_0x3938b6(0x16d)][_0x3938b6(0x1d9)](_0x45944e,_0x45944e[_0x3938b6(0x1b8)],_0x45b79c);try{return await this[_0x3938b6(0x127)](_0x438c3f,_0x329013,_0x485ad0);}catch(_0x120fe8){return this[_0x3938b6(0x12d)](_0x3938b6(0x16c),_0x120fe8);}}async[_0x40afe7(0x127)](_0x76efac,_0x1c905e,_0x1d6e22){const _0x1c547a=_0x40afe7;if(_0x1c547a(0x1e3)in _0x1c905e)throw _0x1c905e[_0x1c547a(0x1e3)];let _0x36f87a=!0x1;if(_0x1c905e[_0x1c547a(0x123)]){_0x1c905e[_0x1c547a(0x1d4)]&&(this[_0x1c547a(0x145)]=_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x1921e4=>!_0x76efac[_0x1c547a(0x187)](_0x1921e4));for(const _0x4d0bf0 of _0x76efac)_0x4d0bf0[_0x1c547a(0x181)]=_0x1c547a(0xfe)in _0x1c905e&&_0x1c905e[_0x1c547a(0xfe)]||void 0x0;W(_0x76efac,_0x1c905e[_0x1c547a(0x159)]-_0x76efac[_0x1c547a(0x1ae)]),this[_0x1c547a(0x162)](_0x76efac);const _0x1c47a5=_0x76efac[_0x1c547a(0x10e)](_0x4852b3=>{const _0x54d7c4=_0x1c547a;if(!_0x4852b3[_0x54d7c4(0x1de)])return!0x1;const _0x3a92ee=this[_0x54d7c4(0x132)](_0x4852b3);return _0x3a92ee&&!this[_0x54d7c4(0x158)][_0x54d7c4(0x1a0)](_0x3a92ee);});W(_0x1c47a5,this[_0x1c547a(0x111)][_0x1c547a(0x159)]),this[_0x1c547a(0x169)](_0x1c47a5),_0x36f87a=!0x0,this[_0x1c547a(0x186)]=this[_0x1c547a(0x1d6)];}else{const _0x4d0b99=this[_0x1c547a(0x109)](_0x1c905e[_0x1c547a(0x182)],_0x1c905e[_0x1c547a(0x192)])[_0x1c547a(0x10e)](_0x3cc581=>_0x3cc581[_0x1c547a(0x1b8)]>=this[_0x1c547a(0x165)]);_0x4d0b99[_0x1c547a(0x1d7)](_0x471059=>this[_0x1c547a(0x1ef)](_0x471059)),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x3f6bd9=>!_0x3f6bd9[_0x1c547a(0x1de)]||!this[_0x1c547a(0x158)][_0x1c547a(0x1a0)](this[_0x1c547a(0x132)](_0x3f6bd9))),this[_0x1c547a(0x131)][_0x1c547a(0x1ae)]&&W(this[_0x1c547a(0x131)],this[_0x1c547a(0x131)][0x0][_0x1c547a(0x1b8)]),await this[_0x1c547a(0x17b)](_0x4d0b99),_0x36f87a=this[_0x1c547a(0x16f)](_0x4d0b99,_0x1c905e[_0x1c547a(0x159)],_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x186)]=Math[_0x1c547a(0x149)](this[_0x1c547a(0x186)]/0x2);}return _0x36f87a?!this[_0x1c547a(0x1a9)]()||(this[_0x1c547a(0x19d)](!0x0),!0x1):this[_0x1c547a(0x12d)](_0x1c547a(0x196));}[_0x40afe7(0x16f)](_0x1355ab,_0x13c94a,_0x257b5c){const _0x537850=_0x40afe7;try{const _0x50d0b1={'document':this[_0x537850(0x111)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd79199,operationsB:_0x26ff37,originalOperations:_0x4b3a29}=_0x666f29(_0x1355ab,this[_0x537850(0x131)],_0x50d0b1);W(_0xd79199,this[_0x537850(0x111)][_0x537850(0x159)]),W(_0x26ff37,_0x13c94a);for(const _0x32dcf3 of _0xd79199){const _0x3959cc=_0x4b3a29[_0x537850(0x199)](_0x32dcf3);_0x32dcf3[_0x537850(0x113)]=_0x3959cc?_0x3959cc[_0x537850(0x113)]:null;}_0x257b5c&&(this[_0x537850(0x1cf)][_0x537850(0x122)](_0x1355ab,_0x257b5c),this[_0x537850(0x145)]=_0x257b5c),this[_0x537850(0x131)]=[..._0x26ff37],this[_0x537850(0x169)](_0xd79199),this[_0x537850(0x162)](_0x1355ab);}catch(_0x5117ef){return console[_0x537850(0x1e3)](_0x5117ef),!0x1;}return!0x0;}[_0x40afe7(0x169)](_0x2cfda7,_0xf10a2d=!0x1){const _0x52571a=_0x40afe7;this[_0x52571a(0x1d8)][_0x52571a(0x166)][_0x52571a(0x175)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2eff45=>{const _0x94224b=_0x52571a;for(const _0x18e43d of _0x2cfda7)this[_0x94224b(0x150)][_0x94224b(0x1ea)](_0x18e43d),this[_0x94224b(0x1ef)](_0x18e43d),_0x2eff45[_0x94224b(0x15d)][_0x94224b(0x172)](_0x18e43d),this[_0x94224b(0x1d8)][_0x94224b(0x166)][_0x94224b(0x1a4)](_0x18e43d);});}[_0x40afe7(0x1ef)](_0x45e3ac){const _0x1cfa1f=_0x40afe7,_0x4b76a1=this[_0x1cfa1f(0x132)](_0x45e3ac);_0x4b76a1&&this[_0x1cfa1f(0x158)][_0x1cfa1f(0x1ea)](_0x4b76a1);}[_0x40afe7(0x132)](_0x450c8c){const _0x104a6e=_0x40afe7;let _0x3fe3f7,_0x87761d;switch(_0x450c8c[_0x104a6e(0x105)]){case _0x104a6e(0x185):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1f7)][_0x104a6e(0x1d5)];break;case _0x104a6e(0x17d):if(_0x87761d=_0x450c8c[_0x104a6e(0x198)],!_0x87761d)return null;_0x3fe3f7=_0x87761d[_0x104a6e(0x1d5)];break;case _0x104a6e(0x19e):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1d5)];break;case _0x104a6e(0x115):_0x3fe3f7=_0x450c8c[_0x104a6e(0x174)];break;case _0x104a6e(0x11b):_0x3fe3f7=_0x450c8c[_0x104a6e(0x104)][_0x104a6e(0x1d5)];break;default:return null;}return _0x3fe3f7[_0x104a6e(0x16b)];}[_0x40afe7(0x162)](_0x5dc4b1){const _0x428c18=_0x40afe7;_0x5dc4b1[_0x428c18(0x1d7)](_0x4466a4=>{const _0x2a5bbf=_0x428c18,_0x516752=_0x4466a4[_0x2a5bbf(0x12c)]();_0x516752[_0x2a5bbf(0x113)]=_0x4466a4[_0x2a5bbf(0x113)],_0x516752[_0x2a5bbf(0x1de)]=!!_0x4466a4[_0x2a5bbf(0x1de)],_0x516752[_0x2a5bbf(0x181)]=_0x4466a4[_0x2a5bbf(0x181)],_0x516752[_0x2a5bbf(0x1b8)]+=this[_0x2a5bbf(0x1c6)],_0x4466a4[_0x2a5bbf(0x1ec)]&&this[_0x2a5bbf(0x1d0)][_0x2a5bbf(0x1ea)](_0x516752),this[_0x2a5bbf(0x1a2)][_0x2a5bbf(0x172)](_0x516752);});}[_0x40afe7(0x1ee)](_0x22b1e4){const _0x318059=_0x40afe7,_0x2a4f28=this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x318059(0x168)),_0x17b054=this[_0x318059(0x1d8)][_0x318059(0x142)];_0x22b1e4||(_0x22b1e4=_0x319fc4(_0x17b054,_0x318059(0x1e2))),_0x2a4f28[_0x318059(0x1eb)](_0x22b1e4,{'title':_0x319fc4(_0x17b054,_0x318059(0x134)),'namespace':_0x318059(0x11f)}),this[_0x318059(0xf8)]=!0x0,clearTimeout(this[_0x318059(0x1b7)]),this[_0x318059(0x131)]=[],this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x5f90a4)[_0x318059(0x1ab)]();}[_0x40afe7(0x141)](){const _0x287b25=_0x40afe7;this[_0x287b25(0xf5)]||(this[_0x287b25(0xf5)]=this[_0x287b25(0x1d8)][_0x287b25(0x11c)][_0x287b25(0x199)](_0x38c82b)[_0x287b25(0x1ea)](_0x319fc4(this[_0x287b25(0x1d8)][_0x287b25(0x142)],_0x287b25(0x1a8))));}[_0x40afe7(0x1aa)](){const _0x4430f7=_0x40afe7;this[_0x4430f7(0xf5)]&&(this[_0x4430f7(0x1d8)][_0x4430f7(0x11c)][_0x4430f7(0x199)](_0x38c82b)[_0x4430f7(0x195)](this[_0x4430f7(0xf5)]),this[_0x4430f7(0xf5)]=null);}[_0x40afe7(0x12b)](_0x1791d0){const _0x5e769e=_0x40afe7,_0x18f9a2=_0x1791d0[_0x5e769e(0x152)](_0x271d8e=>_0x271d8e[_0x5e769e(0x1a3)]());return this[_0x5e769e(0x18f)][_0x5e769e(0x13f)](_0x18f9a2);}[_0x40afe7(0x109)](_0x3e6519,_0x47cf47){const _0x525157=_0x40afe7;return this[_0x525157(0x18f)][_0x525157(0x13b)](_0x3e6519)[_0x525157(0x152)]((_0x5b84bd,_0x1d7272)=>{const _0xe195d0=_0x525157,_0x1f8510=_0xe195d0(0x164)==_0x47cf47[_0x1d7272][_0xe195d0(0x105)];if(_0xe195d0(0x167)==_0x5b84bd[_0xe195d0(0x11e)]){const _0x36d2de=_0x5b84bd[_0xe195d0(0x1f7)][_0xe195d0(0x1d5)];!this[_0xe195d0(0x111)][_0xe195d0(0x155)](_0x36d2de)&&(this[_0xe195d0(0x111)][_0xe195d0(0x1c1)](_0xe195d0(0x1f8),_0x36d2de)[_0xe195d0(0x19c)]=!0x1);}const _0x7889bc=_0x154bf0[_0xe195d0(0xf2)](_0x5b84bd,this[_0xe195d0(0x111)]);return _0x7889bc[_0xe195d0(0x1db)]=_0x5b84bd[_0xe195d0(0x1db)],_0x7889bc[_0xe195d0(0x1de)]=_0x1f8510,_0x7889bc[_0xe195d0(0x113)]=_0x1f8510?null:_0x47cf47[_0x1d7272][_0xe195d0(0x12f)],_0x7889bc[_0xe195d0(0x1ec)]=_0xe195d0(0x144)===_0x47cf47[_0x1d7272][_0xe195d0(0x105)],_0x7889bc[_0xe195d0(0x181)]=_0x47cf47[_0x1d7272][_0xe195d0(0x181)],_0x7889bc;});}[_0x40afe7(0x138)](){const _0x3ca1e5=_0x40afe7;this[_0x3ca1e5(0x160)]=!0x0,this[_0x3ca1e5(0x106)]()?this[_0x3ca1e5(0x19d)]():this[_0x3ca1e5(0x160)]=!0x1;}[_0x40afe7(0x106)](){const _0x4d357c=_0x40afe7,_0x4dde4c=this[_0x4d357c(0x1d8)][_0x4d357c(0x11c)][_0x4d357c(0x199)](_0x838d6b)[_0x4d357c(0x133)][_0x4d357c(0x199)](this[_0x4d357c(0x13d)]);return!this[_0x4d357c(0x1d8)][_0x4d357c(0x1be)]&&!!_0x4dde4c&&_0x4dde4c[_0x4d357c(0x1ae)]>0x1&&this[_0x4d357c(0x160)];}[_0x40afe7(0x1a9)](){const _0x53c1a0=_0x40afe7;return this[_0x53c1a0(0x131)][_0x53c1a0(0x1ae)]>0x0||this[_0x53c1a0(0x106)]();}}class V extends Error{}function W(_0x73d027,_0x554e20){const _0x411d55=_0x40afe7;for(const _0x21da6f of _0x73d027)_0x21da6f[_0x411d55(0x1b8)]=_0x554e20++;}class F{[_0x40afe7(0x15c)];[_0x40afe7(0x1ba)];constructor(_0x62b4cd){const _0x462326=_0x40afe7;this[_0x462326(0x15c)]=_0x62b4cd,this[_0x462326(0x1ba)]=new WeakMap();}[_0x40afe7(0x170)](_0x4ff081){const _0x1d4c28=_0x40afe7;let _0x22bbec=_0x4ff081[_0x1d4c28(0x1ae)];for(;_0x22bbec--;){const _0x20d307=_0x4ff081[_0x22bbec];if(!this[_0x1d4c28(0x15c)][_0x1d4c28(0x1a0)](_0x20d307)){if(!this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1a0)](_0x20d307)){const _0x7c2a1a=_0x178034()[_0x1d4c28(0x11d)](0x1,0x12);this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1c5)](_0x20d307,_0x7c2a1a);}return this[_0x1d4c28(0x1ba)][_0x1d4c28(0x199)](_0x20d307);}}}[_0x40afe7(0x122)](_0x3d3589,_0x120385){const _0x4f58c2=_0x40afe7;if(!_0x120385)return;let _0xd2845b=_0x3d3589[_0x4f58c2(0x1ae)];for(;_0xd2845b--;){const _0x370be9=_0x3d3589[_0xd2845b];this[_0x4f58c2(0x15c)][_0x4f58c2(0x1a0)](_0x370be9)||this[_0x4f58c2(0x1ba)][_0x4f58c2(0x1c5)](_0x370be9,_0x120385);}}}
23
+ const _0x42fb72=_0x4f0b;(function(_0x4b329a,_0x2a592f){const _0x14e209=_0x4f0b,_0x1f6afd=_0x4b329a();while(!![]){try{const _0xa6b445=-parseInt(_0x14e209(0x16b))/0x1*(-parseInt(_0x14e209(0x19a))/0x2)+parseInt(_0x14e209(0x10a))/0x3+parseInt(_0x14e209(0xda))/0x4*(-parseInt(_0x14e209(0x10e))/0x5)+parseInt(_0x14e209(0xf5))/0x6+-parseInt(_0x14e209(0x1a6))/0x7*(-parseInt(_0x14e209(0x1ab))/0x8)+parseInt(_0x14e209(0x18a))/0x9+-parseInt(_0x14e209(0x13a))/0xa;if(_0xa6b445===_0x2a592f)break;else _0x1f6afd['push'](_0x1f6afd['shift']());}catch(_0xd7f725){_0x1f6afd['push'](_0x1f6afd['shift']());}}}(_0x3899,0x320f3));import{Plugin as _0x3d232b,PendingActions as _0x27ab19}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b0f49,version as _0x2c48e8,uid as _0x44f418}from'ckeditor5/src/utils.js';import{Notification as _0x1e57dc}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x18b207,NoOperation as _0x31c058,InsertOperation as _0x5a4df1,MarkerOperation as _0x1f13da,RootAttributeOperation as _0x3eaf38,OperationFactory as _0x986bca,History as _0x57091f}from'ckeditor5/src/engine.js';function _0x3899(){const _0x4413c4=['InsertOperation','_isDisconnection','getIdOfTheLastOperation','_applyOperationsSet','_clearPendingAction','realtimecollaborationclient-init-non-existent-root','_setPendingAction','destroy','collaboration-missing-channelid','1204782KBQzdJ','isPremiumPlugin','plugins','realtimecollaborationclient-error','_setUpDataInit','editor','isOfficialPlugin','_connectAfterSessionHasBeenFlushed','root','_shouldSendUpdate','409','_currentBufferDelay','includes','initData','_pendingAction','change:_isEditingAllowed','setIdForTheLastOperation','sendOperations','targetPosition','_baseBufferDelay','has','654090hOiGyw','_handleInitialConnectionData','_loadRoot','_handleExternalOperations','183155KnKQIs','start','code','addOperation','getOperations','insert','_sendBufferedOperationsDelayed','PENDING_ACTION_SENDING_DATA','parse','metadata','selection','differ','_disconnectionOperations','clone','view','compress','_fetchMissingUsers','addToReconnectionStack','sessionCreatedAt','operationsReceived','realtimecollaborationclient-init-service-incorrect-server-operation','_decompressOperations','realtimecollaborationclient','register','cloud-services-internal-error:\x20Not\x20connected.','reconnection:\x20flushed\x20session','_crash','_isLoaded','define','getConnectedSessions','multi-root-editor-root-attributes-no-root','Synchronization\x20issue','_sendBufferedOperations','createPositionAt','_hasSynchronizationProblem','from','marker','rootsAttributes','channelSessions','addRootAttribute','round','Notification','createPositionFromPath','size','1056230elDUma','newRange','createdAt','_handleSendingSelectionMarkers','rtc-offline','unregister','get','directChange','then','_knownRootNames','requires','userId','isDocumentOperation','_handleReconnectionError','editing','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_operationIdentifier','_initThrowingOnDataSet','remove','_channelId','_isPendingUpdate','type','createRange','isEnabled','serverHistory','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','return','_compressOperations','_getOperationsFromInitData','string','affectedSelectable','finally','offset','document:write','getOperationAuthor','decompress','realtimecollaborationclient-init-document-already-initialized','stopListening','lastOperationAcceptedAt','change:_isPendingUpdate','disconnect','realtimecollaborationclient-init-service-internal-error','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.','currentDocumentSession','move','length','forEach','end','rtc-destroyed','191813nfvjun','fromJSON','createRoot','filter','__className','disconnected','map','isReadOnly','startsWith','set','error','change:hasDomSelection','connected','addUser','locale','_isEditingAllowed','_offset','realtimecollaborationclient-init-session-connection-error','add','enableReadOnlyMode','_ignoredOperations','collaboration.channelId','push','_authorId','_handleReceivedOperations','high','affectsData','message','_sendBufferedOperationsDelayId','data','_hasSelectionChanged','871182OtFIDI','CommentsOnly','sessionAdd:','connect','realtimecollaborationclient-sendbufferedoperations','_connectService','off','_service','_lastSyncedOperationId','lastOperationId','CollaborativeEditingService','loadRoot','position','removeFromReconnectionStack','pluginName','suppressErrorInCollaboration','2oCibzC','history','connection','catch','_addKnownRoot','cloud-services-internal-error:\x20Request\x20timeout.','_initSessionsHandling','reconnect','roots','_compressor','getUser','markers','217QJeerS','_updateServerHistory','_handleServerResponse','wasUndone','ready','1592NMzSpn','_waitUntilSynced','cs:removeUser','change:range','stop','_shouldSendSelectionUpdate','cloudServices.bundleVersion','sessionId','404','config','_isConnected','cloudDocumentVersion','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.','_bufferedOperations','_isAttached','baseVersion','version','createUserMarkerOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_refreshUserSelectionMarkers','getMany','toJSON','listenTo','mySessionId','getDocumentDetails','reset','_disconnectService','path','wereChangesApplied','addRoot','lastSyncVersion','_knownOperations','RealTimeCollaborationClient','batch','getRoot','setPermissions','apply','real-time-collaboration','enqueueChange','_isInit','fire','_document','state','showWarning','entries','lastDocumentSession','$root','keys','isUndoneOperation','attributes','_saveOperationInBuffer','permissions','slice','44gkxuOr','Permissions','_bufferRootLoad','disableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rootName','realtimecollaborationclient-init-connection-failed','_operationToId','_handleReconnectionResponse','init','realtimecollaborationclient-handleserverresponse','applyOperation','bind','model','_getAffectedRoot','collaboration','_lastServerVersion','document'];_0x3899=function(){return _0x4413c4;};return _0x3899();}import{WebSocketGateway as _0x118ea7}from'./websocketgateway.js';import{Sessions as _0x47cd51}from'./sessions.js';import{UserMarkers as _0x18495b}from'./usermarkers.js';import{getTranslation as _0x1cd720}from'../common-translations.js';import{Compressor as _0x26073d}from'@ckeditor/ckeditor5-operations-compressor';function _0x4f0b(_0xb6733e,_0xcdf0b1){const _0x389930=_0x3899();return _0x4f0b=function(_0x4f0b3b,_0xcd4516){_0x4f0b3b=_0x4f0b3b-0xc5;let _0x11cb3b=_0x389930[_0x4f0b3b];return _0x11cb3b;},_0x4f0b(_0xb6733e,_0xcdf0b1);}import{Users as _0x563c81}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x404595,CollaborativeEditingService as _0x10d7cc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let z=0x1;export class RealTimeCollaborationClient extends _0x3d232b{static [_0x42fb72(0x194)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x10d7cc)());[_0x42fb72(0x17b)];[_0x42fb72(0x1b2)];[_0x42fb72(0x152)];[_0x42fb72(0x14d)];[_0x42fb72(0x191)];[_0x42fb72(0xce)];[_0x42fb72(0x1a3)];[_0x42fb72(0x1b8)];[_0x42fb72(0x1ca)];[_0x42fb72(0x143)];[_0x42fb72(0x103)];[_0x42fb72(0x189)];[_0x42fb72(0x187)];[_0x42fb72(0x108)];[_0x42fb72(0x100)];[_0x42fb72(0x192)];[_0x42fb72(0x11a)];[_0x42fb72(0x14a)];static get[_0x42fb72(0x144)](){return[_0x118ea7,_0x47cd51,_0x18495b,_0x27ab19,_0x563c81,_0x1e57dc];}static get[_0x42fb72(0x198)](){const _0x317a9b=_0x42fb72;return _0x317a9b(0xc5);}static get[_0x42fb72(0xfb)](){return!0x0;}static get[_0x42fb72(0xf6)](){return!0x0;}get[_0x42fb72(0x1b6)](){const _0x9132f5=_0x42fb72;return this[_0x9132f5(0xea)]+this[_0x9132f5(0x17b)];}get[_0x42fb72(0xea)](){const _0x23d137=_0x42fb72;return this[_0x23d137(0x152)][_0x23d137(0x1bb)]-this[_0x23d137(0x17b)];}get[_0x42fb72(0x1c9)](){const _0x5bc901=_0x42fb72,_0x9e4c4b=this[_0x5bc901(0x152)][_0x5bc901(0x112)]();for(let _0x192926=_0x9e4c4b[_0x5bc901(0x167)]-0x1;_0x192926>=0x0;_0x192926--){const _0x3d8064=_0x9e4c4b[_0x192926];if(!this[_0x5bc901(0x11a)][_0x5bc901(0x109)](_0x3d8064))return _0x3d8064[_0x5bc901(0x1ba)]+0x1-this[_0x5bc901(0x17b)];}return 0x0;}constructor(_0x48b68a){const _0x306af8=_0x42fb72;if(super(_0x48b68a),this[_0x306af8(0x17b)]=0x0,this[_0x306af8(0x1b2)]=null,this[_0x306af8(0x152)]=new _0x57091f(),this[_0x306af8(0xfa)][_0x306af8(0x1b4)][_0x306af8(0x12a)](_0x306af8(0xe9),{}),this[_0x306af8(0x14d)]=this[_0x306af8(0xfa)][_0x306af8(0x1b4)][_0x306af8(0x140)](_0x306af8(0x180)),!this[_0x306af8(0x14d)])throw new _0x3b0f49(_0x306af8(0xf4),this);const _0x284368=_0x48b68a[_0x306af8(0x1b4)][_0x306af8(0x140)](_0x306af8(0x1b1))||_0x2c48e8;this[_0x306af8(0x191)]=new RealTimeCollaborationClient[(_0x306af8(0x194))](_0x284368,this[_0x306af8(0x14d)]),this[_0x306af8(0xce)]=this[_0x306af8(0xfa)][_0x306af8(0xe7)][_0x306af8(0xeb)],this[_0x306af8(0x1a3)]=new _0x26073d(),this[_0x306af8(0x1b8)]=[],this[_0x306af8(0x1ca)]=new WeakSet(),this[_0x306af8(0x143)]=new Set(),this[_0x306af8(0x174)](_0x306af8(0x14e),!0x1),this[_0x306af8(0x174)](_0x306af8(0x130),!0x1),this[_0x306af8(0x103)]=null,this[_0x306af8(0x189)]=!0x1,this[_0x306af8(0x187)]=null,this[_0x306af8(0x108)]=0x12c,this[_0x306af8(0x100)]=this[_0x306af8(0x108)],this[_0x306af8(0x192)]=null,this[_0x306af8(0x11a)]=new WeakSet(),this[_0x306af8(0x14a)]=new W(this[_0x306af8(0x11a)]);}[_0x42fb72(0xe3)](){const _0x86c0a7=_0x42fb72,_0x1744bb=this[_0x86c0a7(0xfa)],_0x1570f1=_0x1744bb[_0x86c0a7(0xf7)][_0x86c0a7(0x140)](_0x563c81),_0x10e06b=_0x1744bb[_0x86c0a7(0xf7)][_0x86c0a7(0x140)](_0x118ea7);this[_0x86c0a7(0x1c1)](_0x1570f1,_0x86c0a7(0x15c),(_0x5972db,_0x16f7ef)=>{const _0xbd36b1=_0x86c0a7,_0x37f372=_0x16f7ef[0x0];_0x37f372[_0xbd36b1(0x182)]&&(_0x5972db[_0xbd36b1(0x154)]=_0x1570f1[_0xbd36b1(0x1a4)](_0x37f372[_0xbd36b1(0x182)]),_0x5972db[_0xbd36b1(0x1af)]()),null===_0x37f372[_0xbd36b1(0x182)]&&(_0x5972db[_0xbd36b1(0x154)]=null,_0x5972db[_0xbd36b1(0x1af)]());},{'priority':_0x86c0a7(0x184)}),this[_0x86c0a7(0x1c1)](_0x1744bb[_0x86c0a7(0xe7)][_0x86c0a7(0xeb)][_0x86c0a7(0x118)],_0x86c0a7(0x1ae),(_0x2be585,_0x48f955)=>{const _0xdd7d0a=_0x86c0a7;_0x48f955[_0xdd7d0a(0x141)]&&this[_0xdd7d0a(0x1be)]();}),this[_0x86c0a7(0x1c1)](_0x1744bb[_0x86c0a7(0x148)][_0x86c0a7(0x11c)],_0x86c0a7(0x176),()=>{const _0x3d842d=_0x86c0a7;this[_0x3d842d(0x1be)]();}),this[_0x86c0a7(0x14b)](),_0x1744bb[_0x86c0a7(0xe7)]['on'](_0x86c0a7(0xe5),(_0xfa520c,_0x52ae20)=>{const _0x339153=_0x86c0a7,_0x120a7c=_0x52ae20[0x0];_0x120a7c[_0x339153(0x146)]&&(this[_0x339153(0xd7)](_0x120a7c),this[_0x339153(0xfe)]()&&this[_0x339153(0x114)]());}),this[_0x86c0a7(0xf9)](),this[_0x86c0a7(0xe6)](_0x86c0a7(0x17a))['to'](_0x10e06b,_0x86c0a7(0xcf),this,_0x86c0a7(0x130),(_0x4687ab,_0x58f34b)=>_0x86c0a7(0x177)===_0x4687ab&&!_0x58f34b),this['on'](_0x86c0a7(0x104),()=>{const _0x274183=_0x86c0a7;this[_0x274183(0x17a)]?_0x1744bb[_0x274183(0xdd)](_0x274183(0x13e)):_0x1744bb[_0x274183(0x17e)](_0x274183(0x13e));}),this[_0x86c0a7(0x17a)]?_0x1744bb[_0x86c0a7(0xdd)](_0x86c0a7(0x13e)):_0x1744bb[_0x86c0a7(0x17e)](_0x86c0a7(0x13e)),this[_0x86c0a7(0x174)](_0x86c0a7(0x1b5),!0x1);}async[_0x42fb72(0x1a1)](){const _0x336858=_0x42fb72,_0x35e8c4=this[_0x336858(0xfa)][_0x336858(0xf7)][_0x336858(0x140)](_0x47cd51),_0x371d1e=this[_0x336858(0xfa)][_0x336858(0xf7)][_0x336858(0x140)](_0x118ea7);try{this[_0x336858(0x14e)]=!0x0,_0x35e8c4[_0x336858(0x13f)](this[_0x336858(0x14d)]);const _0x22bbdc=await this[_0x336858(0x191)][_0x336858(0x1a1)](_0x371d1e[_0x336858(0x19c)],this[_0x336858(0x1c9)]);await this[_0x336858(0xe2)](_0x22bbdc)&&(this[_0x336858(0x14e)]=!0x1,this[_0x336858(0xf0)]());const _0x41c2df=await this[_0x336858(0x191)][_0x336858(0x12b)]();_0x35e8c4[_0x336858(0x125)](this[_0x336858(0x14d)],_0x41c2df),this[_0x336858(0x13d)](),this[_0x336858(0x1b5)]=!0x0;}catch(_0x18c6a3){if(function(_0x4d5109){const _0x468481=_0x336858;return _0x468481(0x1b3)===_0x4d5109[_0x468481(0x110)];}(_0x18c6a3)&&this[_0x336858(0x1b2)])await this[_0x336858(0xfc)]();else{if(function(_0x3966e0){const _0x821235=_0x336858;return _0x821235(0xff)===_0x3966e0[_0x821235(0x110)];}(_0x18c6a3)){const _0x5cd10e=_0x1cd720(this[_0x336858(0xfa)][_0x336858(0x179)],_0x336858(0xde));this[_0x336858(0x147)](_0x5cd10e);}else{if(!(_0x18c6a3 instanceof H))throw _0x18c6a3;this[_0x336858(0x147)]();}}}}[_0x42fb72(0xf3)](){const _0x4a5291=_0x42fb72,_0x2ab7ce=this[_0x4a5291(0xfa)][_0x4a5291(0xf7)][_0x4a5291(0x140)](_0x118ea7),_0x2d4df4=this[_0x4a5291(0xfa)][_0x4a5291(0xf7)][_0x4a5291(0x140)](_0x47cd51);this[_0x4a5291(0xfa)][_0x4a5291(0x17e)](_0x4a5291(0x16a)),_0x2d4df4[_0x4a5291(0x134)][_0x4a5291(0x109)](this[_0x4a5291(0x14d)])&&_0x2d4df4[_0x4a5291(0x13f)](this[_0x4a5291(0x14d)]),_0x2ab7ce[_0x4a5291(0x197)](this),this[_0x4a5291(0x1c5)](),super[_0x4a5291(0xf3)]();}async[_0x42fb72(0xe2)](_0x3fdd4d){const _0x303d06=_0x42fb72;if(this[_0x303d06(0x1b2)]!==_0x3fdd4d[_0x303d06(0x1b2)]&&this[_0x303d06(0x192)]!==_0x3fdd4d[_0x303d06(0x193)])throw new H();return this[_0x303d06(0x1b2)]=_0x3fdd4d[_0x303d06(0x1b2)],this[_0x303d06(0x1a8)]([],{..._0x3fdd4d,'wereChangesApplied':!0x1,'data':_0x3fdd4d[_0x303d06(0x188)]},_0x303d06(0x1a1));}async[_0x42fb72(0x18f)](_0x3fae3d,_0x16f923=!0x1){const _0xb52f6d=_0x42fb72,{connection:_0x5b1853}=this[_0xb52f6d(0xfa)][_0xb52f6d(0xf7)][_0xb52f6d(0x140)](_0x118ea7);RealTimeCollaborationClient[_0xb52f6d(0x194)][_0xb52f6d(0x12b)](_0x5b1853,this[_0xb52f6d(0x14d)])[_0xb52f6d(0x142)](_0x485941=>this[_0xb52f6d(0x1a0)](_0x485941))[_0xb52f6d(0x19d)](_0x51bd92=>{const _0x3286b1=_0xb52f6d;this[_0x3286b1(0x128)](_0x3286b1(0x17c),_0x51bd92);}),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x121),this[_0xb52f6d(0x183)][_0xb52f6d(0xe6)](this)),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x175),(_0x3a270a,_0x34acd9)=>{const _0xb891ae=_0xb52f6d;this[_0xb891ae(0x128)](_0xb891ae(0x163),_0x34acd9);}),this[_0xb52f6d(0x1c1)](this[_0xb52f6d(0x191)],_0xb52f6d(0x170),()=>{const _0x55f98d=_0xb52f6d;this[_0x55f98d(0x1b5)]=!0x1;});const _0x1a3566=this[_0xb52f6d(0x14a)][_0xb52f6d(0xee)](_0x3fae3d);this[_0xb52f6d(0x14e)]=!0x0;const _0x1bd9bd=await this[_0xb52f6d(0x191)][_0xb52f6d(0x18d)](_0x5b1853,this[_0xb52f6d(0x155)](_0x3fae3d),_0x1a3566);if(this[_0xb52f6d(0x1b2)]=_0x1bd9bd[_0xb52f6d(0x1b2)],_0x16f923){if(!_0x1bd9bd[_0xb52f6d(0x1c7)])return void this[_0xb52f6d(0x147)]();this[_0xb52f6d(0x14e)]=!0x1,this[_0xb52f6d(0xf0)](),this[_0xb52f6d(0x152)][_0xb52f6d(0x1c4)](),this[_0xb52f6d(0x17b)]=_0x1bd9bd[_0xb52f6d(0x15a)],this[_0xb52f6d(0x152)][_0xb52f6d(0x1bb)]=this[_0xb52f6d(0x17b)],await this[_0xb52f6d(0x1a8)](_0x3fae3d,_0x1bd9bd,_0xb52f6d(0x127));}else await this[_0xb52f6d(0x10b)](_0x1bd9bd,_0x3fae3d);this[_0xb52f6d(0x13d)](),this[_0xb52f6d(0x1b5)]=!0x0;}[_0x42fb72(0x13d)](){const _0x23a798=_0x42fb72,_0x499907=this[_0x23a798(0xfa)][_0x23a798(0xf7)][_0x23a798(0x140)](_0x47cd51),_0x1d402b=this[_0x23a798(0xfa)][_0x23a798(0xf7)][_0x23a798(0x140)](_0x18495b),_0x4017a8=_0x499907[_0x23a798(0x134)][_0x23a798(0x140)](this[_0x23a798(0x14d)]);_0x4017a8&&_0x4017a8[_0x23a798(0x167)]>0x1?_0x1d402b[_0x23a798(0x1bc)]():this[_0x23a798(0x1c1)](_0x499907,_0x23a798(0x18c)+this[_0x23a798(0x14d)],()=>{const _0x5b73df=_0x23a798;0x2===_0x499907[_0x5b73df(0x134)][_0x5b73df(0x140)](this[_0x5b73df(0x14d)])[_0x5b73df(0x167)]&&_0x1d402b[_0x5b73df(0x1bc)]();});}async[_0x42fb72(0x183)](_0x2d599d,_0x3d12c8,_0x477b17,_0x197097){const _0x203dd1=_0x42fb72;if(!this[_0x203dd1(0x14e)]&&this[_0x203dd1(0xce)][_0x203dd1(0x1bb)]==_0x3d12c8){const _0x2ca811=this[_0x203dd1(0x123)](_0x477b17,_0x197097);await this[_0x203dd1(0x11e)](_0x2ca811),this[_0x203dd1(0x10d)](_0x2ca811,_0x3d12c8,_0x477b17[_0x203dd1(0x193)])||this[_0x203dd1(0x128)](_0x203dd1(0x122));}}async[_0x42fb72(0xfc)](){const _0x3c918f=_0x42fb72;this[_0x3c918f(0x1c5)]();const {locale:_0x3632c9}=this[_0x3c918f(0xfa)];let _0x3582f2;try{_0x3582f2=await this[_0x3c918f(0x191)][_0x3c918f(0x1c3)]();}catch{const _0x3639e2=_0x1cd720(_0x3632c9,_0x3c918f(0x153));return void this[_0x3c918f(0x147)](_0x3639e2);}const _0x3c1641=_0x3582f2[_0x3c918f(0x165)]||_0x3582f2[_0x3c918f(0xd2)];if(this[_0x3c918f(0x192)]!==_0x3c1641[_0x3c918f(0x193)]){const _0x22c3fd=_0x1cd720(_0x3632c9,_0x3c918f(0x1b7));return void this[_0x3c918f(0x147)](_0x22c3fd);}await this[_0x3c918f(0x18f)](this[_0x3c918f(0xfa)][_0x3c918f(0xe7)][_0x3c918f(0xeb)][_0x3c918f(0x19b)][_0x3c918f(0x112)](),!0x0);}[_0x42fb72(0x1c5)](){const _0x5005d8=_0x42fb72;this[_0x5005d8(0x191)][_0x5005d8(0x162)](),this[_0x5005d8(0x1b8)]=[],clearTimeout(this[_0x5005d8(0x187)]),this[_0x5005d8(0x15f)](this[_0x5005d8(0x191)]);}[_0x42fb72(0x1a0)](_0x3781c2){const _0x5086d3=_0x42fb72,_0xea589e=this[_0x5086d3(0xfa)][_0x5086d3(0xf7)][_0x5086d3(0x140)](_0x47cd51);this[_0x5086d3(0x1c1)](_0xea589e,_0x5086d3(0x18c)+this[_0x5086d3(0x14d)],(_0x289840,{session:_0x57f762})=>{const _0x26ba9c=_0x5086d3;if(_0x57f762['id']===_0xea589e[_0x26ba9c(0x1c2)]){_0x289840[_0x26ba9c(0x190)]();const _0x2c2e61=this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x109)](_0x26ba9c(0x18b))&&this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x140)](_0x26ba9c(0x18b));let _0x58de1d=_0x57f762[_0x26ba9c(0xd8)];_0x2c2e61&&_0x2c2e61[_0x26ba9c(0x151)]&&(_0x58de1d=_0x58de1d[_0x26ba9c(0x16e)](_0x3d9cb9=>_0x26ba9c(0x15b)!==_0x3d9cb9)),this[_0x26ba9c(0xfa)][_0x26ba9c(0xf7)][_0x26ba9c(0x140)](_0x26ba9c(0xdb))[_0x26ba9c(0xc8)](_0x58de1d,this[_0x26ba9c(0x14d)]);}}),_0xea589e[_0x5086d3(0x125)](this[_0x5086d3(0x14d)],_0x3781c2);}[_0x42fb72(0x14b)](){const _0x9b2c01=_0x42fb72,_0x593e33=this[_0x9b2c01(0xfa)][_0x9b2c01(0x188)][_0x9b2c01(0x174)];this[_0x9b2c01(0xfa)][_0x9b2c01(0x188)][_0x9b2c01(0x174)]=(..._0x5c138e)=>{const _0x9e1a15=_0x9b2c01;if(!_0x5c138e[_0x5c138e[_0x9e1a15(0x167)]-0x1][_0x9e1a15(0x199)])throw new _0x3b0f49(_0x9e1a15(0x149),this);_0x593e33[_0x9e1a15(0xc9)](this[_0x9e1a15(0xfa)][_0x9e1a15(0x188)],_0x5c138e);};}[_0x42fb72(0xf9)](){const _0x1b8089=_0x42fb72;this[_0x1b8089(0xfa)][_0x1b8089(0x188)]['on'](_0x1b8089(0xe3),(_0x3cb72f,[_0x9e062])=>{const _0x120525=_0x1b8089;if(this[_0x120525(0xce)][_0x120525(0x1bb)])throw new _0x3b0f49(_0x120525(0x15e),this);_0x3cb72f[_0x120525(0x1af)](),this[_0x120525(0xf2)]();const _0x37bf97=this[_0x120525(0xfa)][_0x120525(0x1b4)][_0x120525(0x140)](_0x120525(0x133)),_0x293187=this[_0x120525(0x156)](_0x9e062,_0x37bf97);0x0==_0x293187[_0x120525(0x167)]&&_0x293187[_0x120525(0x181)](new _0x31c058(0x0)),_0x3cb72f[_0x120525(0x154)]=this[_0x120525(0x18f)](_0x293187)[_0x120525(0x142)](()=>{const _0x11f4ab=_0x120525;this[_0x11f4ab(0xfa)][_0x11f4ab(0xf7)][_0x11f4ab(0x140)](_0x118ea7)[_0x11f4ab(0x11f)](this),this[_0x11f4ab(0xfa)][_0x11f4ab(0x188)][_0x11f4ab(0xcd)](_0x11f4ab(0x1aa));})[_0x120525(0x19d)](_0x1fabae=>this[_0x120525(0x128)](_0x120525(0xe0),_0x1fabae))[_0x120525(0x159)](()=>this[_0x120525(0xf0)]());},{'priority':_0x1b8089(0x184)}),this[_0x1b8089(0xfa)]['on'](_0x1b8089(0x195),async(_0x3e5bd9,[_0x13c340,_0x29dbef])=>{const _0x5b8246=_0x1b8089;_0x3e5bd9[_0x5b8246(0x1af)]();const _0x55a41c=this[_0x5b8246(0xfa)][_0x5b8246(0xe7)][_0x5b8246(0xeb)][_0x5b8246(0xc7)](_0x13c340);if(!this[_0x5b8246(0x143)][_0x5b8246(0x109)](_0x13c340)){const _0x122596=_0x29dbef&&_0x29dbef[_0x5b8246(0x188)]?_0x29dbef[_0x5b8246(0x188)]:'',_0x3d13aa=_0x29dbef&&_0x29dbef[_0x5b8246(0xd6)]?_0x29dbef[_0x5b8246(0xd6)]:{};await this[_0x5b8246(0x10c)](_0x13c340,_0x122596,_0x3d13aa);}this[_0x5b8246(0xfa)][_0x5b8246(0xe7)][_0x5b8246(0xcb)]({'isUndoable':!0x1},()=>{const _0x35c034=_0x5b8246;_0x55a41c[_0x35c034(0x129)]=!0x0,this[_0x35c034(0xfa)][_0x35c034(0xe7)][_0x35c034(0xeb)][_0x35c034(0x119)][_0x35c034(0xdc)](_0x55a41c);});},{'priority':_0x1b8089(0x184)});}async[_0x42fb72(0x11e)](_0x15a8f8){const _0x52f7e8=_0x42fb72,_0x3b4670=this[_0x52f7e8(0xfa)][_0x52f7e8(0xf7)][_0x52f7e8(0x140)](_0x563c81),{connection:_0x17bfef}=this[_0x52f7e8(0xfa)][_0x52f7e8(0xf7)][_0x52f7e8(0x140)](_0x118ea7),_0x165d64=new Set();for(const _0x1fa051 of _0x15a8f8){const _0xc9081f=_0x1fa051[_0x52f7e8(0x182)];_0xc9081f&&!_0x3b4670[_0x52f7e8(0x1a4)](_0xc9081f)&&_0x165d64[_0x52f7e8(0x17d)](_0xc9081f);}if(0x0===_0x165d64[_0x52f7e8(0x139)])return;const _0xc9736b=await _0x404595[_0x52f7e8(0x1bf)](_0x17bfef,Array[_0x52f7e8(0x131)](_0x165d64));for(const _0x2931f2 of _0xc9736b)_0x3b4670[_0x52f7e8(0x1a4)](_0x2931f2['id'])||_0x3b4670[_0x52f7e8(0x178)](_0x2931f2);}[_0x42fb72(0x156)](_0x280265,_0x1cc976={}){const _0x163235=_0x42fb72,_0x2739ea=this[_0x163235(0xfa)][_0x163235(0xe7)],_0x4e3898=[];let _0x1ea27f=0x0;const _0x45a429=_0x163235(0x157)==typeof _0x280265?{'main':_0x280265}:_0x280265;for(const _0x3a26c8 of Object[_0x163235(0xd4)](_0x45a429)){if(!this[_0x163235(0xce)][_0x163235(0x1a2)][_0x163235(0x109)](_0x3a26c8))throw new _0x3b0f49(_0x163235(0xf1),this);const _0x2e2f92=this[_0x163235(0xfa)][_0x163235(0x188)][_0x163235(0x116)](_0x45a429[_0x3a26c8]),_0x30dbec=this[_0x163235(0xce)][_0x163235(0xc7)](_0x3a26c8),_0x472b6b=new _0x5a4df1(_0x2739ea[_0x163235(0x12f)](_0x30dbec,0x0),_0x2e2f92,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x472b6b);for(const [_0x159719,_0x497383]of _0x2e2f92[_0x163235(0x1a5)]){const _0x27dbe4=_0x2739ea[_0x163235(0x150)](_0x2739ea[_0x163235(0x138)](_0x30dbec,_0x497383[_0x163235(0x10f)][_0x163235(0x1c6)][_0x163235(0xd9)]()),_0x2739ea[_0x163235(0x138)](_0x30dbec,_0x497383[_0x163235(0x169)][_0x163235(0x1c6)][_0x163235(0xd9)]())),_0x51e87c=new _0x1f13da(_0x159719,null,_0x27dbe4,_0x2739ea[_0x163235(0x1a5)],!0x0,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x51e87c);}}if(_0x1cc976)for(const [_0x5496a1,_0x2e145c]of Object[_0x163235(0xd1)](_0x1cc976)){const _0x4f6487=_0x2739ea[_0x163235(0xeb)][_0x163235(0xc7)](_0x5496a1);if(!_0x4f6487)throw new _0x3b0f49(_0x163235(0x12c),null);for(const [_0x219069,_0x3e5c80]of Object[_0x163235(0xd1)](_0x2e145c))if(null!==_0x3e5c80){const _0x203cfa=new _0x3eaf38(_0x4f6487,_0x219069,null,_0x3e5c80,_0x1ea27f++);_0x4e3898[_0x163235(0x181)](_0x203cfa);}}return _0x4e3898;}async[_0x42fb72(0x10c)](_0x54e1fa,_0xed9d73,_0x4b08f6){const _0x2623b5=_0x42fb72;this[_0x2623b5(0x156)]({[_0x54e1fa]:_0xed9d73},{[_0x54e1fa]:_0x4b08f6})[_0x2623b5(0x168)]((_0x176ee5,_0x1eec73)=>{const _0x2ed57b=_0x2623b5;_0x176ee5[_0x2ed57b(0x1ba)]=this[_0x2ed57b(0xce)][_0x2ed57b(0x1bb)]+_0x1eec73,_0x176ee5[_0x2ed57b(0xcc)]=!0x0,this[_0x2ed57b(0xd7)](_0x176ee5);}),this[_0x2623b5(0x114)](),await this[_0x2623b5(0x1ac)]();}async[_0x42fb72(0x10b)](_0x56355d,_0x33a0b9){const _0x35a590=_0x42fb72;let _0x4f2b81;this[_0x35a590(0x17b)]=_0x56355d[_0x35a590(0x15a)];const _0xcac0c2=_0x56355d[_0x35a590(0x1c7)]&&!_0x56355d[_0x35a590(0x102)],_0x37426f=_0xcac0c2?0x0:_0x56355d[_0x35a590(0x188)][_0x35a590(0x1ba)];if(_0x33a0b9[_0x35a590(0x168)](_0x214370=>{const _0x149310=_0x35a590;_0x214370[_0x149310(0xcc)]=!0x0,_0x214370[_0x149310(0x13c)]=_0x56355d[_0x149310(0x120)],_0x214370[_0x149310(0x182)]=null;}),_0xcac0c2)_0x4f2b81=_0x33a0b9,this[_0x35a590(0xef)](_0x4f2b81,_0xcac0c2);else{if(_0x56355d[_0x35a590(0x102)]){const _0x599b2a=this[_0x35a590(0x156)](_0x56355d[_0x35a590(0x102)]);this[_0x35a590(0xce)][_0x35a590(0x19b)][_0x35a590(0x1bb)]=-_0x599b2a[_0x35a590(0x167)],_0x599b2a[_0x35a590(0x168)](_0x4c6f05=>{const _0x30c06f=_0x35a590;_0x4c6f05[_0x30c06f(0x1ba)]-=_0x599b2a[_0x30c06f(0x167)],_0x4c6f05[_0x30c06f(0x13c)]=_0x56355d[_0x30c06f(0x120)],_0x4c6f05[_0x30c06f(0xcc)]=!0x0,_0x4c6f05[_0x30c06f(0x182)]=null;}),this[_0x35a590(0xef)](_0x599b2a,!0x0),this[_0x35a590(0x152)][_0x35a590(0x1bb)]=-_0x599b2a[_0x35a590(0x167)]+this[_0x35a590(0x17b)],this[_0x35a590(0x1a7)](_0x599b2a);}this[_0x35a590(0xce)][_0x35a590(0x19b)][_0x35a590(0x1bb)]=_0x37426f,_0x4f2b81=this[_0x35a590(0x123)](_0x56355d[_0x35a590(0x188)],_0x56355d[_0x35a590(0x117)]),await this[_0x35a590(0x11e)](_0x4f2b81),this[_0x35a590(0xef)](_0x4f2b81,_0xcac0c2);}_0x56355d[_0x35a590(0x193)]&&(this[_0x35a590(0x14a)][_0x35a590(0x105)](_0x4f2b81,_0x56355d[_0x35a590(0x193)]),this[_0x35a590(0x192)]=_0x56355d[_0x35a590(0x193)]),this[_0x35a590(0x152)][_0x35a590(0x1bb)]=_0x37426f+this[_0x35a590(0x17b)],this[_0x35a590(0x1a7)](_0x4f2b81),_0x33a0b9[_0x35a590(0x16e)](_0x3d5e3d=>{const _0x451109=_0x35a590,_0x287248=this[_0x451109(0xe8)](_0x3d5e3d);return _0x287248&&!this[_0x451109(0x143)][_0x451109(0x109)](_0x287248);})[_0x35a590(0x168)]((_0x3bc73b,_0x1b1db2)=>{const _0x4fc1f6=_0x35a590;_0x3bc73b[_0x4fc1f6(0x1ba)]=this[_0x4fc1f6(0xce)][_0x4fc1f6(0x1bb)]+_0x1b1db2,this[_0x4fc1f6(0xd7)](_0x3bc73b);}),this[_0x35a590(0xfe)]()?(this[_0x35a590(0x100)]=0x0,this[_0x35a590(0x114)](!0x0),await this[_0x35a590(0x1ac)]()):(this[_0x35a590(0x14e)]=!0x1,this[_0x35a590(0xf0)]());}[_0x42fb72(0x128)](_0x356c70,_0x233ff7){const _0x16b42c=_0x42fb72,_0x1bfc21=_0x233ff7&&_0x233ff7[_0x16b42c(0x186)];if(_0x1bfc21&&_0x1bfc21[_0x16b42c(0x173)](_0x16b42c(0x124)))throw _0x233ff7;const _0x1b3084=this[_0x16b42c(0xfa)][_0x16b42c(0xf7)][_0x16b42c(0x140)](_0x118ea7);throw this[_0x16b42c(0x14e)]=!0x0,_0x1b3084[_0x16b42c(0x162)](),this[_0x16b42c(0xfa)][_0x16b42c(0x17e)](_0x16b42c(0xf8)),new _0x3b0f49(_0x356c70,this[_0x16b42c(0xfa)],_0x1bfc21?{'originalError':_0x1bfc21}:void 0x0);}[_0x42fb72(0xd7)](_0x312b87){const _0x405feb=_0x42fb72;this[_0x405feb(0x1ca)][_0x405feb(0x109)](_0x312b87)||(this[_0x405feb(0x1ca)][_0x405feb(0x17d)](_0x312b87),this[_0x405feb(0x1b8)][_0x405feb(0x181)](_0x312b87),this[_0x405feb(0x103)]||_0x405feb(0x132)==_0x312b87[_0x405feb(0x14f)]&&!_0x312b87[_0x405feb(0x185)]||this[_0x405feb(0xf2)]());}[_0x42fb72(0x114)](_0x3d5717=!0x1){const _0x422807=_0x42fb72;!_0x3d5717&&this[_0x422807(0x14e)]||(this[_0x422807(0x14e)]=!0x0,clearTimeout(this[_0x422807(0x187)]),this[_0x422807(0x187)]=setTimeout(()=>{const _0x3c2e2c=_0x422807;this[_0x3c2e2c(0x12e)]()[_0x3c2e2c(0x142)](_0x332274=>{const _0x17488a=_0x3c2e2c;_0x332274&&(this[_0x17488a(0xf0)](),this[_0x17488a(0x14e)]=!0x1);})[_0x3c2e2c(0x19d)](_0xc3661f=>{const _0x51fb34=_0x3c2e2c;this[_0x51fb34(0xf0)](),this[_0x51fb34(0x14e)]=!0x1,function(_0x4da6c6){const _0x5f3d13=_0x51fb34;return _0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x126))||_0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x1bd))||_0x4da6c6[_0x5f3d13(0x186)][_0x5f3d13(0x173)](_0x5f3d13(0x19f));}(_0xc3661f)||this[_0x51fb34(0x128)](_0xc3661f[_0x51fb34(0x186)],_0xc3661f);});},this[_0x422807(0x100)]));}[_0x42fb72(0x1ac)](){return new Promise(_0x9e3823=>{const _0x30228e=_0x4f0b;this['on'](_0x30228e(0x161),()=>{_0x9e3823();});});}async[_0x42fb72(0x12e)](){const _0x4c39d4=_0x42fb72,_0x1739d4=this[_0x4c39d4(0xfa)][_0x4c39d4(0xf7)][_0x4c39d4(0x140)](_0x18495b);if(this[_0x4c39d4(0x1b0)]()&&(_0x1739d4[_0x4c39d4(0x1bc)](),this[_0x4c39d4(0x189)]=!0x1),!this[_0x4c39d4(0xfe)]())return!0x0;const _0x4e5fc5=[...this[_0x4c39d4(0x1b8)]];for(const _0x4064ce of _0x4e5fc5)_0x4064ce[_0x4c39d4(0x1a9)]=this[_0x4c39d4(0xce)][_0x4c39d4(0x19b)][_0x4c39d4(0xd5)](_0x4064ce);const _0x1ca411=this[_0x4c39d4(0x14a)][_0x4c39d4(0xee)](_0x4e5fc5),_0x37d156=z++,_0x169840=this[_0x4c39d4(0x155)](_0x4e5fc5),_0x549d45=await this[_0x4c39d4(0x191)][_0x4c39d4(0x106)](_0x169840,_0x169840[_0x4c39d4(0x1ba)],_0x1ca411);try{return await this[_0x4c39d4(0x1a8)](_0x4e5fc5,_0x549d45,_0x37d156);}catch(_0xdae8d3){return this[_0x4c39d4(0x128)](_0x4c39d4(0x18e),_0xdae8d3);}}async[_0x42fb72(0x1a8)](_0x5d50cc,_0x1db361,_0xeee274){const _0x26358b=_0x42fb72;if(_0x26358b(0x175)in _0x1db361)throw _0x1db361[_0x26358b(0x175)];let _0x466b9a=!0x1;if(_0x1db361[_0x26358b(0x1c7)]){_0x1db361[_0x26358b(0x193)]&&(this[_0x26358b(0x192)]=_0x1db361[_0x26358b(0x193)]),this[_0x26358b(0x1b8)]=this[_0x26358b(0x1b8)][_0x26358b(0x16e)](_0x3e25c0=>!_0x5d50cc[_0x26358b(0x101)](_0x3e25c0));for(const _0x203b97 of _0x5d50cc)_0x203b97[_0x26358b(0x13c)]=_0x26358b(0x160)in _0x1db361&&_0x1db361[_0x26358b(0x160)]||void 0x0;V(_0x5d50cc,_0x1db361[_0x26358b(0x1bb)]-_0x5d50cc[_0x26358b(0x167)]),this[_0x26358b(0x1a7)](_0x5d50cc);const _0x4c4574=_0x5d50cc[_0x26358b(0x16e)](_0x2be695=>{const _0x1d9de4=_0x26358b;if(!_0x2be695[_0x1d9de4(0xcc)])return!0x1;const _0x155a95=this[_0x1d9de4(0xe8)](_0x2be695);return _0x155a95&&!this[_0x1d9de4(0x143)][_0x1d9de4(0x109)](_0x155a95);});V(_0x4c4574,this[_0x26358b(0xce)][_0x26358b(0x1bb)]),this[_0x26358b(0xef)](_0x4c4574),_0x466b9a=!0x0,this[_0x26358b(0x100)]=this[_0x26358b(0x108)];}else{const _0x4f2893=this[_0x26358b(0x123)](_0x1db361[_0x26358b(0x188)],_0x1db361[_0x26358b(0x117)])[_0x26358b(0x16e)](_0x23381b=>_0x23381b[_0x26358b(0x1ba)]>=this[_0x26358b(0xea)]);_0x4f2893[_0x26358b(0x168)](_0x30e6fa=>this[_0x26358b(0x19e)](_0x30e6fa)),this[_0x26358b(0x1b8)]=this[_0x26358b(0x1b8)][_0x26358b(0x16e)](_0x3d3c75=>!_0x3d3c75[_0x26358b(0xcc)]||!this[_0x26358b(0x143)][_0x26358b(0x109)](this[_0x26358b(0xe8)](_0x3d3c75))),this[_0x26358b(0x1b8)][_0x26358b(0x167)]&&V(this[_0x26358b(0x1b8)],this[_0x26358b(0x1b8)][0x0][_0x26358b(0x1ba)]),await this[_0x26358b(0x11e)](_0x4f2893),_0x466b9a=this[_0x26358b(0x10d)](_0x4f2893,_0x1db361[_0x26358b(0x1bb)],_0x1db361[_0x26358b(0x193)]),this[_0x26358b(0x100)]=Math[_0x26358b(0x136)](this[_0x26358b(0x100)]/0x2);}return _0x466b9a?!this[_0x26358b(0xfe)]()||(this[_0x26358b(0x114)](!0x0),!0x1):this[_0x26358b(0x128)](_0x26358b(0xe4));}[_0x42fb72(0x10d)](_0x26218d,_0x3e963c,_0x4afb31){const _0x196cb1=_0x42fb72;try{const _0x39ddbb={'document':this[_0x196cb1(0xce)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x59c23a,operationsB:_0x3db10c,originalOperations:_0x31346a}=_0x18b207(_0x26218d,this[_0x196cb1(0x1b8)],_0x39ddbb);V(_0x59c23a,this[_0x196cb1(0xce)][_0x196cb1(0x1bb)]),V(_0x3db10c,_0x3e963c);for(const _0x1c2767 of _0x59c23a){const _0x575d2d=_0x31346a[_0x196cb1(0x140)](_0x1c2767);_0x1c2767[_0x196cb1(0x182)]=_0x575d2d?_0x575d2d[_0x196cb1(0x182)]:null;}_0x4afb31&&(this[_0x196cb1(0x14a)][_0x196cb1(0x105)](_0x26218d,_0x4afb31),this[_0x196cb1(0x192)]=_0x4afb31),this[_0x196cb1(0x1b8)]=[..._0x3db10c],this[_0x196cb1(0xef)](_0x59c23a),this[_0x196cb1(0x1a7)](_0x26218d);}catch(_0x26661a){return console[_0x196cb1(0x175)](_0x26661a),!0x1;}return!0x0;}[_0x42fb72(0xef)](_0x486e66,_0x4cf04b=!0x1){const _0x1bfd37=_0x42fb72;this[_0x1bfd37(0xfa)][_0x1bfd37(0xe7)][_0x1bfd37(0xcb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3ac3c8=>{const _0x3c2ed3=_0x1bfd37;for(const _0x1f413b of _0x486e66)this[_0x3c2ed3(0x1ca)][_0x3c2ed3(0x17d)](_0x1f413b),this[_0x3c2ed3(0x19e)](_0x1f413b),_0x3ac3c8[_0x3c2ed3(0xc6)][_0x3c2ed3(0x111)](_0x1f413b),this[_0x3c2ed3(0xfa)][_0x3c2ed3(0xe7)][_0x3c2ed3(0xe5)](_0x1f413b);});}[_0x42fb72(0x19e)](_0x468675){const _0x4543f5=_0x42fb72,_0x2e9e4e=this[_0x4543f5(0xe8)](_0x468675);_0x2e9e4e&&this[_0x4543f5(0x143)][_0x4543f5(0x17d)](_0x2e9e4e);}[_0x42fb72(0xe8)](_0x35b4c8){const _0x3ec7fa=_0x42fb72;let _0x456860,_0x340666;switch(_0x35b4c8[_0x3ec7fa(0x14f)]){case _0x3ec7fa(0x113):_0x456860=_0x35b4c8[_0x3ec7fa(0x196)][_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x132):if(_0x340666=_0x35b4c8[_0x3ec7fa(0x13b)],!_0x340666)return null;_0x456860=_0x340666[_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x135):_0x456860=_0x35b4c8[_0x3ec7fa(0xfd)];break;case _0x3ec7fa(0x1c8):_0x456860=_0x35b4c8[_0x3ec7fa(0x158)];break;case _0x3ec7fa(0x166):_0x456860=_0x35b4c8[_0x3ec7fa(0x107)][_0x3ec7fa(0xfd)];break;default:return null;}return _0x456860[_0x3ec7fa(0xdf)];}[_0x42fb72(0x1a7)](_0x1cac33){const _0x53a3ff=_0x42fb72;_0x1cac33[_0x53a3ff(0x168)](_0x43f485=>{const _0x4303f9=_0x53a3ff,_0x50f17a=_0x43f485[_0x4303f9(0x11b)]();_0x50f17a[_0x4303f9(0x182)]=_0x43f485[_0x4303f9(0x182)],_0x50f17a[_0x4303f9(0xcc)]=!!_0x43f485[_0x4303f9(0xcc)],_0x50f17a[_0x4303f9(0x13c)]=_0x43f485[_0x4303f9(0x13c)],_0x50f17a[_0x4303f9(0x1ba)]+=this[_0x4303f9(0x17b)],_0x43f485[_0x4303f9(0xed)]&&this[_0x4303f9(0x11a)][_0x4303f9(0x17d)](_0x50f17a),this[_0x4303f9(0x152)][_0x4303f9(0x111)](_0x50f17a);});}[_0x42fb72(0x147)](_0x5446ef){const _0x168d8b=_0x42fb72,_0x2535e8=this[_0x168d8b(0xfa)][_0x168d8b(0xf7)][_0x168d8b(0x140)](_0x168d8b(0x137)),_0x356c09=this[_0x168d8b(0xfa)][_0x168d8b(0x179)];_0x5446ef||(_0x5446ef=_0x1cd720(_0x356c09,_0x168d8b(0x164))),_0x2535e8[_0x168d8b(0xd0)](_0x5446ef,{'title':_0x1cd720(_0x356c09,_0x168d8b(0x12d)),'namespace':_0x168d8b(0xca)}),this[_0x168d8b(0x130)]=!0x0,clearTimeout(this[_0x168d8b(0x187)]),this[_0x168d8b(0x1b8)]=[],this[_0x168d8b(0xfa)][_0x168d8b(0xf7)][_0x168d8b(0x140)](_0x118ea7)[_0x168d8b(0x162)]();}[_0x42fb72(0xf2)](){const _0x2b1755=_0x42fb72;this[_0x2b1755(0x103)]||(this[_0x2b1755(0x103)]=this[_0x2b1755(0xfa)][_0x2b1755(0xf7)][_0x2b1755(0x140)](_0x27ab19)[_0x2b1755(0x17d)](_0x1cd720(this[_0x2b1755(0xfa)][_0x2b1755(0x179)],_0x2b1755(0x115))));}[_0x42fb72(0xf0)](){const _0x1d325b=_0x42fb72;this[_0x1d325b(0x103)]&&(this[_0x1d325b(0xfa)][_0x1d325b(0xf7)][_0x1d325b(0x140)](_0x27ab19)[_0x1d325b(0x14c)](this[_0x1d325b(0x103)]),this[_0x1d325b(0x103)]=null);}[_0x42fb72(0x155)](_0x49a993){const _0x304703=_0x42fb72,_0x327ffc=_0x49a993[_0x304703(0x171)](_0x509aaf=>_0x509aaf[_0x304703(0x1c0)]());return this[_0x304703(0x1a3)][_0x304703(0x11d)](_0x327ffc);}[_0x42fb72(0x123)](_0x579e36,_0x13c643){const _0x22c254=_0x42fb72;return this[_0x22c254(0x1a3)][_0x22c254(0x15d)](_0x579e36)[_0x22c254(0x171)]((_0x2918d0,_0x570804)=>{const _0x3ba2ad=_0x22c254,_0x5a163a=_0x3ba2ad(0xe3)==_0x13c643[_0x570804][_0x3ba2ad(0x14f)];if(_0x3ba2ad(0xec)==_0x2918d0[_0x3ba2ad(0x16f)]){const _0x5367e3=_0x2918d0[_0x3ba2ad(0x196)][_0x3ba2ad(0xfd)];!this[_0x3ba2ad(0xce)][_0x3ba2ad(0xc7)](_0x5367e3)&&(this[_0x3ba2ad(0xce)][_0x3ba2ad(0x16d)](_0x3ba2ad(0xd3),_0x5367e3)[_0x3ba2ad(0x1b9)]=!0x1);}const _0x120adc=_0x986bca[_0x3ba2ad(0x16c)](_0x2918d0,this[_0x3ba2ad(0xce)]);return _0x120adc[_0x3ba2ad(0x1a9)]=_0x2918d0[_0x3ba2ad(0x1a9)],_0x120adc[_0x3ba2ad(0xcc)]=_0x5a163a,_0x120adc[_0x3ba2ad(0x182)]=_0x5a163a?null:_0x13c643[_0x570804][_0x3ba2ad(0x145)],_0x120adc[_0x3ba2ad(0xed)]=_0x3ba2ad(0x1ad)===_0x13c643[_0x570804][_0x3ba2ad(0x14f)],_0x120adc[_0x3ba2ad(0x13c)]=_0x13c643[_0x570804][_0x3ba2ad(0x13c)],_0x120adc;});}[_0x42fb72(0x1be)](){const _0x5d29db=_0x42fb72;this[_0x5d29db(0x189)]=!0x0,this[_0x5d29db(0x1b0)]()?this[_0x5d29db(0x114)]():this[_0x5d29db(0x189)]=!0x1;}[_0x42fb72(0x1b0)](){const _0x4e8e16=_0x42fb72,_0x4f8431=this[_0x4e8e16(0xfa)][_0x4e8e16(0xf7)][_0x4e8e16(0x140)](_0x47cd51)[_0x4e8e16(0x134)][_0x4e8e16(0x140)](this[_0x4e8e16(0x14d)]);return!this[_0x4e8e16(0xfa)][_0x4e8e16(0x172)]&&!!_0x4f8431&&_0x4f8431[_0x4e8e16(0x167)]>0x1&&this[_0x4e8e16(0x189)];}[_0x42fb72(0xfe)](){const _0x1b9f46=_0x42fb72;return this[_0x1b9f46(0x1b8)][_0x1b9f46(0x167)]>0x0||this[_0x1b9f46(0x1b0)]();}}class H extends Error{}function V(_0x4f84b9,_0xd7e962){const _0x54cbb0=_0x42fb72;for(const _0x19b358 of _0x4f84b9)_0x19b358[_0x54cbb0(0x1ba)]=_0xd7e962++;}class W{[_0x42fb72(0x17f)];[_0x42fb72(0xe1)];constructor(_0x3f7dd1){const _0x553647=_0x42fb72;this[_0x553647(0x17f)]=_0x3f7dd1,this[_0x553647(0xe1)]=new WeakMap();}[_0x42fb72(0xee)](_0x1e162d){const _0x1aec74=_0x42fb72;let _0x535ae2=_0x1e162d[_0x1aec74(0x167)];for(;_0x535ae2--;){const _0x26fdaf=_0x1e162d[_0x535ae2];if(!this[_0x1aec74(0x17f)][_0x1aec74(0x109)](_0x26fdaf)){if(!this[_0x1aec74(0xe1)][_0x1aec74(0x109)](_0x26fdaf)){const _0x117187=_0x44f418()[_0x1aec74(0xd9)](0x1,0x12);this[_0x1aec74(0xe1)][_0x1aec74(0x174)](_0x26fdaf,_0x117187);}return this[_0x1aec74(0xe1)][_0x1aec74(0x140)](_0x26fdaf);}}}[_0x42fb72(0x105)](_0x434d4c,_0x272040){const _0x3fad16=_0x42fb72;if(!_0x272040)return;let _0x14631c=_0x434d4c[_0x3fad16(0x167)];for(;_0x14631c--;){const _0x449db6=_0x434d4c[_0x14631c];this[_0x3fad16(0x17f)][_0x3fad16(0x109)](_0x449db6)||this[_0x3fad16(0xe1)][_0x3fad16(0x174)](_0x449db6,_0x272040);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x916d50=_0x140f;(function(_0xcbd0b8,_0x1b7c99){const _0x4c90e7=_0x140f,_0x387eb2=_0xcbd0b8();while(!![]){try{const _0x3da7e6=-parseInt(_0x4c90e7(0x123))/0x1+-parseInt(_0x4c90e7(0x121))/0x2*(-parseInt(_0x4c90e7(0x132))/0x3)+-parseInt(_0x4c90e7(0x114))/0x4+parseInt(_0x4c90e7(0x12d))/0x5*(parseInt(_0x4c90e7(0x111))/0x6)+-parseInt(_0x4c90e7(0x115))/0x7+parseInt(_0x4c90e7(0x12c))/0x8*(parseInt(_0x4c90e7(0x124))/0x9)+-parseInt(_0x4c90e7(0x141))/0xa*(-parseInt(_0x4c90e7(0x127))/0xb);if(_0x3da7e6===_0x1b7c99)break;else _0x387eb2['push'](_0x387eb2['shift']());}catch(_0x21e8ea){_0x387eb2['push'](_0x387eb2['shift']());}}}(_0x400b,0x4cc82));import{ContextPlugin as _0x28b190}from'ckeditor5/src/core.js';function _0x140f(_0x46059a,_0x13f730){const _0x400b94=_0x400b();return _0x140f=function(_0x140f40,_0x21c8b8){_0x140f40=_0x140f40-0x10a;let _0x26765b=_0x400b94[_0x140f40];return _0x26765b;},_0x140f(_0x46059a,_0x13f730);}import{Collection as _0x4ecdca,CKEditorError as _0x3e4c1e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x7e4d4}from'./websocketgateway.js';import{Users as _0x32b11c}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x28b190{[_0x916d50(0x131)];[_0x916d50(0x139)];[_0x916d50(0x137)];[_0x916d50(0x110)];[_0x916d50(0x134)];[_0x916d50(0x112)];static get[_0x916d50(0x148)](){const _0x5465aa=_0x916d50;return _0x5465aa(0x12f);}static get[_0x916d50(0x136)](){return!0x0;}static get[_0x916d50(0x10f)](){return!0x0;}static get[_0x916d50(0x12a)](){return[_0x7e4d4,_0x32b11c];}constructor(_0x372c8e){const _0x4dc6bb=_0x916d50;super(_0x372c8e),this[_0x4dc6bb(0x131)]=new Map(),this[_0x4dc6bb(0x139)]=new Map(),this[_0x4dc6bb(0x137)]=new _0x4ecdca(),this[_0x4dc6bb(0x110)]=new Map(),this[_0x4dc6bb(0x134)]=0x0,this[_0x4dc6bb(0x112)]=this[_0x4dc6bb(0x129)][_0x4dc6bb(0x135)][_0x4dc6bb(0x122)](_0x32b11c);}[_0x916d50(0x13f)](){const _0x3287ce=_0x916d50,_0x434019=this[_0x3287ce(0x129)][_0x3287ce(0x135)][_0x3287ce(0x122)](_0x7e4d4);this[_0x3287ce(0x11a)](_0x434019,_0x3287ce(0x116),(_0x1b4771,_0x5453a8,_0x4b42dc)=>{const _0x3b7815=_0x3287ce;if(_0x3b7815(0x11b)!==_0x4b42dc)this[_0x3b7815(0x131)][_0x3b7815(0x11e)](_0x36c2b4=>_0x36c2b4[_0x3b7815(0x10c)]()),this[_0x3b7815(0x139)][_0x3b7815(0x11e)](_0x1a593d=>_0x1a593d[_0x3b7815(0x10c)]()),this[_0x3b7815(0x137)][_0x3b7815(0x10c)]();else{for(const [_0x260f00,_0x2d86c1]of this[_0x3b7815(0x110)])for(const _0x183940 of _0x2d86c1)this[_0x3b7815(0x118)](_0x260f00,_0x183940);}}),this[_0x3287ce(0x117)](_0x434019[_0x3287ce(0x130)]['me'],!0x0);}[_0x916d50(0x149)](_0x125d11,_0xe79667){const _0x466815=_0x916d50;if(this[_0x466815(0x110)][_0x466815(0x125)](_0x125d11))throw new _0x3e4c1e(_0x466815(0x13c),null,{'channelId':_0x125d11});this[_0x466815(0x110)][_0x466815(0x10e)](_0x125d11,_0xe79667),this[_0x466815(0x131)][_0x466815(0x10e)](_0x125d11,new _0x4ecdca()),this[_0x466815(0x139)][_0x466815(0x10e)](_0x125d11,new _0x4ecdca()),this[_0x466815(0x11a)](_0xe79667,_0x466815(0x126),(_0x4258a9,_0x10bf1f)=>this[_0x466815(0x118)](_0x125d11,_0x10bf1f)),this[_0x466815(0x11a)](_0xe79667,_0x466815(0x145),(_0x5d3ad3,_0x4700ef)=>this[_0x466815(0x10b)](_0x125d11,_0x4700ef));for(const _0x519992 of _0xe79667)this[_0x466815(0x118)](_0x125d11,_0x519992);}[_0x916d50(0x147)](_0xe5a33f){const _0x492b0e=_0x916d50;if(!this[_0x492b0e(0x110)][_0x492b0e(0x125)](_0xe5a33f))throw new _0x3e4c1e(_0x492b0e(0x144),null,{'channelId':_0xe5a33f});const _0x14b624=this[_0x492b0e(0x110)][_0x492b0e(0x122)](_0xe5a33f);this[_0x492b0e(0x120)](_0x14b624);for(const _0x183c35 of _0x14b624)_0x492b0e(0x11b)===this[_0x492b0e(0x129)][_0x492b0e(0x135)][_0x492b0e(0x122)](_0x7e4d4)[_0x492b0e(0x12b)]&&this[_0x492b0e(0x10b)](_0xe5a33f,_0x183c35);this[_0x492b0e(0x110)][_0x492b0e(0x142)](_0xe5a33f),this[_0x492b0e(0x131)][_0x492b0e(0x142)](_0xe5a33f),this[_0x492b0e(0x139)][_0x492b0e(0x142)](_0xe5a33f);}get[_0x916d50(0x11f)](){const _0x35c281=_0x916d50;return this[_0x35c281(0x129)][_0x35c281(0x135)][_0x35c281(0x122)](_0x7e4d4)[_0x35c281(0x130)][_0x35c281(0x13b)];}[_0x916d50(0x12e)](_0x49f3f8){const _0x88d24=_0x916d50;for(const _0x4a0709 of this[_0x88d24(0x131)][_0x88d24(0x10a)]())for(const _0x46e7a7 of _0x4a0709)if(_0x46e7a7['id']===_0x49f3f8)return _0x46e7a7[_0x88d24(0x11c)];}[_0x916d50(0x138)](_0x43072d,_0x2e3c5e){const _0x10185e=_0x916d50,_0x32d94d=_0x2e3c5e?[this[_0x10185e(0x131)][_0x10185e(0x122)](_0x2e3c5e)]:this[_0x10185e(0x131)][_0x10185e(0x10a)](),_0x12c00b=new Set();for(const _0x4e9548 of _0x32d94d)for(const _0x541562 of _0x4e9548)_0x541562[_0x10185e(0x11c)]['id']===_0x43072d['id']&&_0x12c00b[_0x10185e(0x126)](_0x541562['id']);return _0x12c00b;}[_0x916d50(0x146)](_0x1fa037){const _0x45df4d=_0x916d50;for(const _0x581f24 of this[_0x45df4d(0x131)][_0x45df4d(0x10a)]())for(const _0x332aae of _0x581f24)if(_0x332aae[_0x45df4d(0x11c)]===_0x1fa037)return _0x332aae[_0x45df4d(0x143)];}[_0x916d50(0x118)](_0x269641,_0x2d7311){const _0x14e666=_0x916d50;if(_0x14e666(0x11b)!==this[_0x14e666(0x129)][_0x14e666(0x135)][_0x14e666(0x122)](_0x7e4d4)[_0x14e666(0x12b)])return;const _0x13872c=_0x2d7311[_0x14e666(0x11c)],_0xf6fd1b=this[_0x14e666(0x112)][_0x14e666(0x119)](_0x13872c['id'])||this[_0x14e666(0x117)](_0x13872c),_0x5ed01d=Object[_0x14e666(0x10d)]({},_0x2d7311,{'user':_0xf6fd1b});if(this[_0x14e666(0x131)][_0x14e666(0x122)](_0x269641)[_0x14e666(0x126)](_0x5ed01d),!_0x13872c[_0x14e666(0x13d)]){const _0x515942=this[_0x14e666(0x139)][_0x14e666(0x122)](_0x269641);_0x515942[_0x14e666(0x125)](_0xf6fd1b['id'])||_0x515942[_0x14e666(0x126)](_0xf6fd1b),this[_0x14e666(0x137)][_0x14e666(0x125)](_0xf6fd1b['id'])||_0x13872c[_0x14e666(0x13d)]||this[_0x14e666(0x137)][_0x14e666(0x126)](_0xf6fd1b,_0xf6fd1b[_0x14e666(0x13a)]?0x0:void 0x0);}this[_0x14e666(0x113)](_0x14e666(0x140)+_0x269641,{'channelId':_0x269641,'session':_0x5ed01d});}[_0x916d50(0x10b)](_0x12af4d,_0x3f6f76){const _0x1a4259=_0x916d50;if(_0x1a4259(0x11b)!==this[_0x1a4259(0x129)][_0x1a4259(0x135)][_0x1a4259(0x122)](_0x7e4d4)[_0x1a4259(0x12b)])return;const _0x2f9345=this[_0x1a4259(0x139)][_0x1a4259(0x122)](_0x12af4d),_0x413f0e=_0x3f6f76[_0x1a4259(0x11c)];_0x413f0e['id']&&(this[_0x1a4259(0x131)][_0x1a4259(0x122)](_0x12af4d)[_0x1a4259(0x145)](_0x3f6f76['id']),_0x2f9345[_0x1a4259(0x125)](_0x413f0e['id'])&&!this[_0x1a4259(0x138)](_0x413f0e,_0x12af4d)[_0x1a4259(0x128)]&&_0x2f9345[_0x1a4259(0x145)](_0x413f0e['id']),this[_0x1a4259(0x137)][_0x1a4259(0x122)](_0x413f0e['id'])&&!this[_0x1a4259(0x138)](_0x413f0e)[_0x1a4259(0x128)]&&this[_0x1a4259(0x137)][_0x1a4259(0x145)](_0x413f0e['id']));}[_0x916d50(0x117)](_0x1e752a,_0x76dd0d){const _0x1f16a6=_0x916d50,_0x591cc3=this[_0x1f16a6(0x112)][_0x1f16a6(0x133)](_0x1e752a);return _0x76dd0d&&this[_0x1f16a6(0x112)][_0x1f16a6(0x13e)](_0x1e752a['id']),_0x591cc3[_0x1f16a6(0x11d)]=this[_0x1f16a6(0x134)]++,_0x591cc3;}}function _0x400b(){const _0x411d73=['isMe','sessionId','sessions-register-already-registered','hiddenInPresenceList','defineMe','init','sessionAdd:','3290920MbgkYj','delete','role','sessions-unregister-not-exist','remove','getUserRole','unregister','pluginName','register','values','_handleSessionRemove','clear','assign','set','isPremiumPlugin','_registeredSessions','582KchUvI','_users','fire','1259632aMTQGQ','1857065XBjwzK','change:state','_createUser','_handleSessionAdd','getUser','listenTo','connected','user','orderNumber','forEach','mySessionId','stopListening','159472PlcXZe','get','556341GQjjwF','1350OafVYt','has','add','11DYAXfq','size','context','requires','state','17912hDxWXZ','15860JDttEd','getUserBySessionId','Sessions','connection','channelSessions','18WKZIrp','addUser','_uniqueUsersCount','plugins','isOfficialPlugin','allConnectedUsers','getUserSessions','channelConnectedUsers'];_0x400b=function(){return _0x411d73;};return _0x400b();}
23
+ const _0x2278e1=_0x2997;function _0x226f(){const _0x348f72=['1304114RcayIe','set','getUserSessions','forEach','assign','getUser','getUserBySessionId','context','orderNumber','2dFykbj','clear','user','_uniqueUsersCount','mySessionId','values','add','isMe','51038RajpxX','listenTo','connected','12nuYMlA','change:state','role','requires','fire','plugins','channelConnectedUsers','unregister','328552oqDSOG','get','register','_handleSessionAdd','1011520ggJaYt','has','getUserRole','defineMe','sessionAdd:','stopListening','_registeredSessions','sessions-register-already-registered','521994sFdVQc','_handleSessionRemove','connection','Sessions','_createUser','state','size','addUser','sessions-unregister-not-exist','pluginName','init','sessionId','385848OyNhyW','isPremiumPlugin','channelSessions','isOfficialPlugin','2621290rjVgFP','delete','remove','hiddenInPresenceList','_users','allConnectedUsers'];_0x226f=function(){return _0x348f72;};return _0x226f();}(function(_0x5b37fa,_0x380d98){const _0x473817=_0x2997,_0x491a58=_0x5b37fa();while(!![]){try{const _0x56d49b=parseInt(_0x473817(0xdd))/0x1*(parseInt(_0x473817(0xd5))/0x2)+-parseInt(_0x473817(0xf4))/0x3+parseInt(_0x473817(0xec))/0x4+parseInt(_0x473817(0x104))/0x5+parseInt(_0x473817(0xe0))/0x6*(-parseInt(_0x473817(0xcc))/0x7)+-parseInt(_0x473817(0xe8))/0x8+parseInt(_0x473817(0x100))/0x9;if(_0x56d49b===_0x380d98)break;else _0x491a58['push'](_0x491a58['shift']());}catch(_0x9a371e){_0x491a58['push'](_0x491a58['shift']());}}}(_0x226f,0x452f1));import{ContextPlugin as _0x2528b4}from'ckeditor5/src/core.js';import{Collection as _0x137eea,CKEditorError as _0x2fb41a}from'ckeditor5/src/utils.js';function _0x2997(_0x23cd30,_0x5834ab){const _0x226fd9=_0x226f();return _0x2997=function(_0x299762,_0x493266){_0x299762=_0x299762-0xca;let _0x29e125=_0x226fd9[_0x299762];return _0x29e125;},_0x2997(_0x23cd30,_0x5834ab);}import{WebSocketGateway as _0x130ffc}from'./websocketgateway.js';import{Users as _0x1227f2}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2528b4{[_0x2278e1(0x102)];[_0x2278e1(0xe6)];[_0x2278e1(0xcb)];[_0x2278e1(0xf2)];[_0x2278e1(0xd8)];[_0x2278e1(0xca)];static get[_0x2278e1(0xfd)](){const _0x5d72de=_0x2278e1;return _0x5d72de(0xf7);}static get[_0x2278e1(0x103)](){return!0x0;}static get[_0x2278e1(0x101)](){return!0x0;}static get[_0x2278e1(0xe3)](){return[_0x130ffc,_0x1227f2];}constructor(_0x79da68){const _0x4c5682=_0x2278e1;super(_0x79da68),this[_0x4c5682(0x102)]=new Map(),this[_0x4c5682(0xe6)]=new Map(),this[_0x4c5682(0xcb)]=new _0x137eea(),this[_0x4c5682(0xf2)]=new Map(),this[_0x4c5682(0xd8)]=0x0,this[_0x4c5682(0xca)]=this[_0x4c5682(0xd3)][_0x4c5682(0xe5)][_0x4c5682(0xe9)](_0x1227f2);}[_0x2278e1(0xfe)](){const _0x597c41=_0x2278e1,_0x3a92e4=this[_0x597c41(0xd3)][_0x597c41(0xe5)][_0x597c41(0xe9)](_0x130ffc);this[_0x597c41(0xde)](_0x3a92e4,_0x597c41(0xe1),(_0x348794,_0xf4b726,_0x5e5b2d)=>{const _0x2d7bb9=_0x597c41;if(_0x2d7bb9(0xdf)!==_0x5e5b2d)this[_0x2d7bb9(0x102)][_0x2d7bb9(0xcf)](_0x232a4f=>_0x232a4f[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xe6)][_0x2d7bb9(0xcf)](_0x25bf3c=>_0x25bf3c[_0x2d7bb9(0xd6)]()),this[_0x2d7bb9(0xcb)][_0x2d7bb9(0xd6)]();else{for(const [_0x31310c,_0x21872b]of this[_0x2d7bb9(0xf2)])for(const _0x5978a3 of _0x21872b)this[_0x2d7bb9(0xeb)](_0x31310c,_0x5978a3);}}),this[_0x597c41(0xf8)](_0x3a92e4[_0x597c41(0xf6)]['me'],!0x0);}[_0x2278e1(0xea)](_0xddca8f,_0x44997a){const _0xb83212=_0x2278e1;if(this[_0xb83212(0xf2)][_0xb83212(0xed)](_0xddca8f))throw new _0x2fb41a(_0xb83212(0xf3),null,{'channelId':_0xddca8f});this[_0xb83212(0xf2)][_0xb83212(0xcd)](_0xddca8f,_0x44997a),this[_0xb83212(0x102)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xe6)][_0xb83212(0xcd)](_0xddca8f,new _0x137eea()),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0xdb),(_0x9d8b71,_0x578f3a)=>this[_0xb83212(0xeb)](_0xddca8f,_0x578f3a)),this[_0xb83212(0xde)](_0x44997a,_0xb83212(0x106),(_0x1375c4,_0x52ff2f)=>this[_0xb83212(0xf5)](_0xddca8f,_0x52ff2f));for(const _0x8d76a8 of _0x44997a)this[_0xb83212(0xeb)](_0xddca8f,_0x8d76a8);}[_0x2278e1(0xe7)](_0x51b8c5){const _0x3629fc=_0x2278e1;if(!this[_0x3629fc(0xf2)][_0x3629fc(0xed)](_0x51b8c5))throw new _0x2fb41a(_0x3629fc(0xfc),null,{'channelId':_0x51b8c5});const _0x36c6e3=this[_0x3629fc(0xf2)][_0x3629fc(0xe9)](_0x51b8c5);this[_0x3629fc(0xf1)](_0x36c6e3);for(const _0x17bf7d of _0x36c6e3)_0x3629fc(0xdf)===this[_0x3629fc(0xd3)][_0x3629fc(0xe5)][_0x3629fc(0xe9)](_0x130ffc)[_0x3629fc(0xf9)]&&this[_0x3629fc(0xf5)](_0x51b8c5,_0x17bf7d);this[_0x3629fc(0xf2)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0x102)][_0x3629fc(0x105)](_0x51b8c5),this[_0x3629fc(0xe6)][_0x3629fc(0x105)](_0x51b8c5);}get[_0x2278e1(0xd9)](){const _0x1485b1=_0x2278e1;return this[_0x1485b1(0xd3)][_0x1485b1(0xe5)][_0x1485b1(0xe9)](_0x130ffc)[_0x1485b1(0xf6)][_0x1485b1(0xff)];}[_0x2278e1(0xd2)](_0x259c93){const _0x4aed18=_0x2278e1;for(const _0x1d2d5e of this[_0x4aed18(0x102)][_0x4aed18(0xda)]())for(const _0x404041 of _0x1d2d5e)if(_0x404041['id']===_0x259c93)return _0x404041[_0x4aed18(0xd7)];}[_0x2278e1(0xce)](_0x49207a,_0x33cb78){const _0x31117c=_0x2278e1,_0x3f4765=_0x33cb78?[this[_0x31117c(0x102)][_0x31117c(0xe9)](_0x33cb78)]:this[_0x31117c(0x102)][_0x31117c(0xda)](),_0x170acf=new Set();for(const _0x52cdce of _0x3f4765)for(const _0x22d7a4 of _0x52cdce)_0x22d7a4[_0x31117c(0xd7)]['id']===_0x49207a['id']&&_0x170acf[_0x31117c(0xdb)](_0x22d7a4['id']);return _0x170acf;}[_0x2278e1(0xee)](_0x25f3c8){const _0x5daec2=_0x2278e1;for(const _0xa0a43b of this[_0x5daec2(0x102)][_0x5daec2(0xda)]())for(const _0x4635a0 of _0xa0a43b)if(_0x4635a0[_0x5daec2(0xd7)]===_0x25f3c8)return _0x4635a0[_0x5daec2(0xe2)];}[_0x2278e1(0xeb)](_0x17f73c,_0x411629){const _0x88f4c7=_0x2278e1;if(_0x88f4c7(0xdf)!==this[_0x88f4c7(0xd3)][_0x88f4c7(0xe5)][_0x88f4c7(0xe9)](_0x130ffc)[_0x88f4c7(0xf9)])return;const _0x4576b0=_0x411629[_0x88f4c7(0xd7)],_0x32abbb=this[_0x88f4c7(0xca)][_0x88f4c7(0xd1)](_0x4576b0['id'])||this[_0x88f4c7(0xf8)](_0x4576b0),_0x1aac03=Object[_0x88f4c7(0xd0)]({},_0x411629,{'user':_0x32abbb});if(this[_0x88f4c7(0x102)][_0x88f4c7(0xe9)](_0x17f73c)[_0x88f4c7(0xdb)](_0x1aac03),!_0x4576b0[_0x88f4c7(0x107)]){const _0xf3e4cd=this[_0x88f4c7(0xe6)][_0x88f4c7(0xe9)](_0x17f73c);_0xf3e4cd[_0x88f4c7(0xed)](_0x32abbb['id'])||_0xf3e4cd[_0x88f4c7(0xdb)](_0x32abbb),this[_0x88f4c7(0xcb)][_0x88f4c7(0xed)](_0x32abbb['id'])||_0x4576b0[_0x88f4c7(0x107)]||this[_0x88f4c7(0xcb)][_0x88f4c7(0xdb)](_0x32abbb,_0x32abbb[_0x88f4c7(0xdc)]?0x0:void 0x0);}this[_0x88f4c7(0xe4)](_0x88f4c7(0xf0)+_0x17f73c,{'channelId':_0x17f73c,'session':_0x1aac03});}[_0x2278e1(0xf5)](_0x1fadd8,_0x5935ab){const _0x5906b5=_0x2278e1;if(_0x5906b5(0xdf)!==this[_0x5906b5(0xd3)][_0x5906b5(0xe5)][_0x5906b5(0xe9)](_0x130ffc)[_0x5906b5(0xf9)])return;const _0x55e232=this[_0x5906b5(0xe6)][_0x5906b5(0xe9)](_0x1fadd8),_0x3de0e3=_0x5935ab[_0x5906b5(0xd7)];_0x3de0e3['id']&&(this[_0x5906b5(0x102)][_0x5906b5(0xe9)](_0x1fadd8)[_0x5906b5(0x106)](_0x5935ab['id']),_0x55e232[_0x5906b5(0xed)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3,_0x1fadd8)[_0x5906b5(0xfa)]&&_0x55e232[_0x5906b5(0x106)](_0x3de0e3['id']),this[_0x5906b5(0xcb)][_0x5906b5(0xe9)](_0x3de0e3['id'])&&!this[_0x5906b5(0xce)](_0x3de0e3)[_0x5906b5(0xfa)]&&this[_0x5906b5(0xcb)][_0x5906b5(0x106)](_0x3de0e3['id']));}[_0x2278e1(0xf8)](_0x13744f,_0x1bce84){const _0x587eca=_0x2278e1,_0x23e89f=this[_0x587eca(0xca)][_0x587eca(0xfb)](_0x13744f);return _0x1bce84&&this[_0x587eca(0xca)][_0x587eca(0xef)](_0x13744f['id']),_0x23e89f[_0x587eca(0xd4)]=this[_0x587eca(0xd8)]++,_0x23e89f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x397f(){const _0x569362=['isObject','getContainedElement','requires','user:position','detach','stopListening','Escape','mySessionId','mouseleave','toRange','$text','setCustomProperty','ck-user__selection','getAttribute','change','destroy','name','getNearestSelectionRange','applyOperation','addMarker','962BMAvsV','10RNBRCM','$graveyard','isCollapsed','startsWith','marker','35HyjpIz','conversion','afterInit','createUIElement','remove','mapper','highest','user:','start','markerRange','document','toDomElement','isSimilar','selection','enqueueChange','size','createUserMarkerOperations','false','add','getCustomProperty','root','reconvertMarker','getPositions','8Fcchpn','view','createRange','markers','user:range','deletionPosition','span','getStart','rootName','ck-user__marker_hovered','setAttribute','innerHTML','schema','for','395520ggDige','pluginName','removeClass','newRange','batch','user:range:','clear','data-session-id','mouseenter','isOfficialPlugin','793vAIiWm','orderNumber','isPremiumPlugin','contenteditable','getUserBySessionId','574125QdVLzX','undo','314200yPyeze','spellcheck','userPositionMarker','updateMarker','getMarkerClass','isLimit','model','change:range','oldRange','editingDowncast','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','render','type','_createdBatches','createElement','1026432AyyKoY','markerName','hasContent','keydown','update:user:range','markerNameToElements','split','listenTo','_domEmitter','isDocumentOperation','5637346tPmcDz','has','isInline','markerToElement','fromRange','element','end','getFirstRange','user:position:','removeMarker','color','markerToHighlight','parent','commands','tableCell','get','checkChild','editing','init','hasDomSelection','delete','4857pQvdNM','ck-user__marker-tooltip','editor','plugins','ck-user__marker\x20','getRange','outerHTML','textContent','nodeAfter','addEventListener','getSelectionClass','UserMarkers','classList','set'];_0x397f=function(){return _0x569362;};return _0x397f();}const _0x152721=_0x20c3;(function(_0x3a0169,_0x1f71ef){const _0x30f6bc=_0x20c3,_0x22b3d3=_0x3a0169();while(!![]){try{const _0x1eda00=parseInt(_0x30f6bc(0x1bd))/0x1*(-parseInt(_0x30f6bc(0x214))/0x2)+parseInt(_0x30f6bc(0x1f2))/0x3*(-parseInt(_0x30f6bc(0x231))/0x4)+-parseInt(_0x30f6bc(0x1c2))/0x5+-parseInt(_0x30f6bc(0x1b3))/0x6+-parseInt(_0x30f6bc(0x21a))/0x7*(-parseInt(_0x30f6bc(0x1c4))/0x8)+parseInt(_0x30f6bc(0x1d3))/0x9+parseInt(_0x30f6bc(0x215))/0xa*(parseInt(_0x30f6bc(0x1dd))/0xb);if(_0x1eda00===_0x1f71ef)break;else _0x22b3d3['push'](_0x22b3d3['shift']());}catch(_0x2af266){_0x22b3d3['push'](_0x22b3d3['shift']());}}}(_0x397f,0x3edd5));import{Plugin as _0x33c42e}from'ckeditor5/src/core.js';import{global as _0x15214f,DomEmitterMixin as _0x22d6b7}from'ckeditor5/src/utils.js';function _0x20c3(_0x7a8cda,_0x155ece){const _0x397fe2=_0x397f();return _0x20c3=function(_0x20c39f,_0xcdd544){_0x20c39f=_0x20c39f-0x1b1;let _0x47e9fd=_0x397fe2[_0x20c39f];return _0x47e9fd;},_0x20c3(_0x7a8cda,_0x155ece);}import{Sessions as _0x369fc0}from'./sessions.js';import{ModelLiveRange as _0x341152}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x33c42e{[_0x152721(0x1db)]=new(_0x22d6b7())();static get[_0x152721(0x202)](){return[_0x369fc0];}static get[_0x152721(0x1b4)](){const _0x4e6a35=_0x152721;return _0x4e6a35(0x1fd);}static get[_0x152721(0x1bc)](){return!0x0;}static get[_0x152721(0x1bf)](){return!0x0;}[_0x152721(0x1ef)](){const _0x39775a=_0x152721,_0x458e8a=this[_0x39775a(0x1f4)],_0x2c445a=_0x458e8a[_0x39775a(0x1f5)][_0x39775a(0x1ec)](_0x369fc0);_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e0)]({'model':_0x39775a(0x203),'view':(_0x36ff04,{writer:_0x3c3df4})=>function(_0x10b02a,_0x310265,_0x36d3b5,_0x56ed91){const _0x462895=_0x39775a,_0x127b62=_0x10b02a[_0x462895(0x1d4)][_0x462895(0x1d9)](':')[0x2],_0x4aa8d0=_0x36d3b5[_0x462895(0x1c1)](_0x127b62);if(!_0x4aa8d0||_0x127b62===_0x36d3b5[_0x462895(0x207)])return;if(!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1ed)](_0x10b02a[_0x462895(0x223)][_0x462895(0x222)],_0x462895(0x20a)))return;const _0x2afbf3={'class':_0x462895(0x1f6)+_0x4aa8d0[_0x462895(0x1e7)][_0x462895(0x1c8)](),'data-name':_0x4aa8d0[_0x462895(0x210)],'data-session-id':_0x127b62},_0x583cd9=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x10b02a[_0x462895(0x1d4)]),_0x3315d5=_0x583cd9[_0x462895(0x238)](),_0x3c3e1b=_0x3315d5[_0x462895(0x1fa)],_0x4076a7=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)];if(_0x3c3e1b&&_0x4076a7[_0x462895(0x200)](_0x3c3e1b)&&_0x4076a7[_0x462895(0x1df)](_0x3c3e1b)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x462895(0x1b8)+_0x127b62)[_0x462895(0x1f7)]()[_0x462895(0x217)])return;const _0x3ab4d7=_0x3315d5[_0x462895(0x1e9)];return _0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1c9)](_0x3ab4d7)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1d5)](_0x3ab4d7)&&(_0x2afbf3[_0x462895(0x1c0)]=!0x1),function(_0x34038c,_0x2ae24f,_0x5ab2db){const _0x20ca16=_0x462895,_0x333041=_0x34038c[_0x20ca16(0x21d)](_0x20ca16(0x237),_0x2ae24f);return _0x34038c[_0x20ca16(0x20b)](_0x20ca16(0x1c6),!0x0,_0x333041),_0x333041[_0x20ca16(0x1cf)]=function(_0x2436d4){const _0x950db9=_0x20ca16,_0x2b355a=this[_0x950db9(0x225)](_0x2436d4),_0x3e3b8c=document[_0x950db9(0x1d2)](_0x950db9(0x237));return _0x3e3b8c[_0x950db9(0x1fe)][_0x950db9(0x22c)](_0x950db9(0x1f3)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c0),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c5),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x1f9)]=_0x5ab2db[_0x950db9(0x210)],_0x2b355a[_0x950db9(0x23c)]=_0x950db9(0x1ce)+_0x3e3b8c[_0x950db9(0x1f8)]+'⁠',_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x1bb),()=>{const _0x2f7c79=_0x950db9;_0x2b355a[_0x2f7c79(0x1fe)][_0x2f7c79(0x22c)](_0x2f7c79(0x23a));}),_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x208),()=>{const _0x5567b3=_0x950db9;_0x2b355a[_0x5567b3(0x1fe)][_0x5567b3(0x21e)](_0x5567b3(0x23a));}),_0x2b355a;},_0x333041[_0x20ca16(0x226)]=function(_0x29c137){const _0x40c706=_0x20ca16;return!(!this[_0x40c706(0x22d)](_0x40c706(0x1c6))||!_0x29c137[_0x40c706(0x22d)](_0x40c706(0x1c6))||this[_0x40c706(0x20d)](_0x40c706(0x1ba))!=_0x29c137[_0x40c706(0x20d)](_0x40c706(0x1ba)));},_0x333041;}(_0x310265,_0x2afbf3,_0x4aa8d0);}(_0x36ff04,_0x3c3df4,_0x2c445a,_0x458e8a)}),_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e8)]({'model':_0x39775a(0x235),'view':_0x2fdc69=>function(_0x36f756,_0x89004b){const _0x46f210=_0x39775a,_0x4f1b25=_0x36f756[_0x46f210(0x1d4)][_0x46f210(0x1d9)](':')[0x2];if(_0x4f1b25===_0x89004b[_0x46f210(0x207)])return null;const _0x29341a=_0x89004b[_0x46f210(0x1c1)](_0x4f1b25);if(!_0x29341a)return{'id':_0x4f1b25,'classes':[]};return{'id':_0x4f1b25,'classes':[_0x46f210(0x20c),_0x29341a[_0x46f210(0x1e7)][_0x46f210(0x1fc)]()],'attributes':{'data-session-id':_0x4f1b25},'priority':0x7d0+_0x29341a[_0x46f210(0x1be)]};}(_0x2fdc69,_0x2c445a)}),function(_0xc716d9){const _0x35df69=_0x39775a,_0x33cb24=_0xc716d9[_0x35df69(0x1ca)],_0x149e50=new Map(),_0x65ee21=_0xc716d9[_0x35df69(0x1f5)][_0x35df69(0x1ec)](_0x369fc0);_0x33cb24[_0x35df69(0x234)]['on'](_0x35df69(0x1d7),(_0x43989b,_0x3275b7,_0x103d46,_0x4fc0ef)=>{const _0x5c6675=_0x35df69;if(!_0x4fc0ef&&_0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)]))return _0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)])[_0x5c6675(0x204)](),void _0x149e50[_0x5c6675(0x1f1)](_0x3275b7[_0x5c6675(0x210)]);const _0x1ead72=_0x3275b7[_0x5c6675(0x210)][_0x5c6675(0x1d9)](':')[0x2];if(_0x1ead72===_0x65ee21[_0x5c6675(0x207)])return;const _0x21cd5c=_0x5c6675(0x1e5)+_0x1ead72;_0x33cb24[_0x5c6675(0x234)][_0x5c6675(0x1de)](_0x21cd5c)&&_0xc716d9[_0x5c6675(0x1ee)][_0x5c6675(0x22f)](_0x21cd5c),_0x3275b7['on'](_0x5c6675(0x1cb),(_0x5536ce,_0x5ca789,_0x56f720)=>{const _0x4c389d=_0x5c6675;if(_0x4c389d(0x216)!=_0x5ca789[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&_0x4c389d(0x216)==_0x3275b7[_0x4c389d(0x1f7)]()[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&!_0x149e50[_0x4c389d(0x1de)](_0x3275b7[_0x4c389d(0x210)])){const _0x63f6c=_0x33cb24[_0x4c389d(0x1b1)][_0x4c389d(0x211)](_0x56f720[_0x4c389d(0x236)]);if(_0x63f6c){const _0x509e84=_0x341152[_0x4c389d(0x1e1)](_0x63f6c);_0x149e50[_0x4c389d(0x1ff)](_0x3275b7[_0x4c389d(0x210)],_0x509e84),_0x509e84['on'](_0x4c389d(0x1cb),(_0x4e597,_0x531b79,_0x211d44)=>{const _0x28fe8b=_0x4c389d;if(_0x28fe8b(0x216)==_0x509e84[_0x28fe8b(0x22e)][_0x28fe8b(0x239)]){const _0x237de6=_0x33cb24[_0x28fe8b(0x1b1)][_0x28fe8b(0x211)](_0x211d44[_0x28fe8b(0x236)]);_0x237de6?(_0x509e84[_0x28fe8b(0x222)]=_0x237de6[_0x28fe8b(0x222)],_0x509e84[_0x28fe8b(0x1e3)]=_0x237de6[_0x28fe8b(0x1e3)]):(_0x149e50[_0x28fe8b(0x1f1)](_0x3275b7[_0x28fe8b(0x210)]),_0x509e84[_0x28fe8b(0x204)]());}});}}});}),_0x33cb24[_0x35df69(0x224)]['on'](_0x35df69(0x20e),()=>{const _0x2c01a3=_0x35df69;_0x149e50[_0x2c01a3(0x229)]>0x0&&_0x33cb24[_0x2c01a3(0x228)]({'isUndoable':!0x1},_0x1011b8=>{const _0x360131=_0x2c01a3;for(const [_0x3459e7,_0x462dd9]of _0x149e50)_0x360131(0x216)==_0x33cb24[_0x360131(0x234)][_0x360131(0x1ec)](_0x3459e7)[_0x360131(0x1f7)]()[_0x360131(0x22e)][_0x360131(0x239)]&&(J(_0x3459e7[_0x360131(0x1d9)](':')[0x2],_0x462dd9[_0x360131(0x209)](),_0x33cb24,_0x1011b8),_0x462dd9[_0x360131(0x204)]());_0x149e50[_0x360131(0x1b9)]();});});}(_0x458e8a),this[_0x39775a(0x1db)][_0x39775a(0x1da)](_0x15214f[_0x39775a(0x224)],_0x39775a(0x1d6),(_0x3c3f9d,{key:_0x3dd145})=>{const _0x35e93a=_0x39775a;_0x35e93a(0x206)===_0x3dd145&&function(_0x498f75){const _0x58f3be=_0x35e93a;_0x498f75[_0x58f3be(0x1ee)][_0x58f3be(0x232)][_0x58f3be(0x20e)](_0x23d76e=>{const _0x4a8801=_0x58f3be;for(const _0xebfad6 of _0x498f75[_0x4a8801(0x1ca)][_0x4a8801(0x234)]){if(!_0xebfad6[_0x4a8801(0x210)][_0x4a8801(0x218)](_0x4a8801(0x203)))continue;const _0x1491ab=_0x498f75[_0x4a8801(0x1ee)][_0x4a8801(0x21f)][_0x4a8801(0x1d8)](_0xebfad6[_0x4a8801(0x210)]);if(_0x1491ab){for(const _0xcc3f1a of _0x1491ab)_0x23d76e[_0x4a8801(0x1b5)](_0x4a8801(0x23a),_0xcc3f1a);}}});}(_0x458e8a);},{'useCapture':!0x0});}[_0x152721(0x21c)](){const _0x50b2bf=_0x152721,_0x26691a=this[_0x50b2bf(0x1f4)],_0x3a8d2a=_0x26691a[_0x50b2bf(0x1ea)][_0x50b2bf(0x1ec)](_0x50b2bf(0x1c3));_0x3a8d2a&&_0x26691a[_0x50b2bf(0x1ca)]['on'](_0x50b2bf(0x212),(_0x1b74c6,_0x356004)=>{const _0x5a19aa=_0x50b2bf,_0x2fbfa0=_0x356004[0x0];if(!_0x2fbfa0[_0x5a19aa(0x1dc)])return;if(_0x5a19aa(0x219)!=_0x2fbfa0[_0x5a19aa(0x1d0)]||!_0x2fbfa0[_0x5a19aa(0x210)][_0x5a19aa(0x218)](_0x5a19aa(0x221)))return;const _0x5176d0=_0x2fbfa0[_0x5a19aa(0x1b7)];_0x3a8d2a[_0x5a19aa(0x1d1)][_0x5a19aa(0x1de)](_0x5176d0)&&(_0x2fbfa0[_0x5a19aa(0x1b6)]=_0x2fbfa0[_0x5a19aa(0x1cc)]?_0x26691a[_0x5a19aa(0x1ca)][_0x5a19aa(0x233)](_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x222)],_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x1e3)]):null);},{'priority':_0x50b2bf(0x220)});}[_0x152721(0x20f)](){const _0x18863e=_0x152721;return this[_0x18863e(0x1db)][_0x18863e(0x205)](),super[_0x18863e(0x20f)]();}[_0x152721(0x22a)](){const _0x104e6e=_0x152721,_0x6044ec=this[_0x104e6e(0x1f4)],_0xf1d36a=_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x224)],_0x3570a8=_0x6044ec[_0x104e6e(0x1f5)][_0x104e6e(0x1ec)](_0x369fc0);_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x228)]({'isUndoable':!0x1},_0x16a12c=>{const _0x196b4a=_0x104e6e,_0x26be8c=_0x196b4a(0x1b8)+_0x3570a8[_0x196b4a(0x207)],_0x43db4d=_0x196b4a(0x1e5)+_0x3570a8[_0x196b4a(0x207)],_0x1613b3=_0x6044ec[_0x196b4a(0x1ca)][_0x196b4a(0x234)][_0x196b4a(0x1de)](_0x26be8c);_0x6044ec[_0x196b4a(0x1ee)][_0x196b4a(0x232)][_0x196b4a(0x1f0)]?J(_0x3570a8[_0x196b4a(0x207)],_0xf1d36a[_0x196b4a(0x227)][_0x196b4a(0x1e4)](),_0x6044ec[_0x196b4a(0x1ca)],_0x16a12c):_0x1613b3&&(_0x16a12c[_0x196b4a(0x1e6)](_0x26be8c),_0x16a12c[_0x196b4a(0x1e6)](_0x43db4d));});}}function J(_0x527f8f,_0x37edcb,_0x27727b,_0x2a3fa0){const _0x4403e8=_0x152721,_0x5cff87=_0x4403e8(0x1b8)+_0x527f8f,_0x3ada1d=_0x4403e8(0x1e5)+_0x527f8f,_0x57ab2f=_0x37edcb[_0x4403e8(0x201)]();let _0x2c999d=_0x37edcb[_0x4403e8(0x222)];if(_0x57ab2f&&_0x57ab2f['is'](_0x4403e8(0x1e2),_0x4403e8(0x1eb))){const _0x2cb499=function(_0x24cdc2,_0x39567b){const _0x238af1=_0x4403e8;for(const _0x15c3e9 of _0x24cdc2[_0x238af1(0x230)]())if(_0x39567b[_0x238af1(0x1b1)][_0x238af1(0x1ed)](_0x15c3e9,_0x238af1(0x20a)))return _0x15c3e9;}(_0x37edcb,_0x27727b);_0x2cb499&&(_0x2c999d=_0x2cb499,_0x37edcb=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d));}const _0x1f1553=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d);_0x27727b[_0x4403e8(0x234)][_0x4403e8(0x1de)](_0x5cff87)?(_0x2a3fa0[_0x4403e8(0x1c7)](_0x5cff87,{'range':_0x37edcb}),_0x2a3fa0[_0x4403e8(0x1c7)](_0x3ada1d,{'range':_0x1f1553})):(_0x2a3fa0[_0x4403e8(0x213)](_0x5cff87,{'range':_0x37edcb,'usingOperation':!0x0}),_0x2a3fa0[_0x4403e8(0x213)](_0x3ada1d,{'range':_0x1f1553,'usingOperation':!0x0}));}
23
+ function _0x59f2(_0x32ee0c,_0x13144a){const _0x5e6d4f=_0x5e6d();return _0x59f2=function(_0x59f252,_0x232547){_0x59f252=_0x59f252-0x9c;let _0x48c688=_0x5e6d4f[_0x59f252];return _0x48c688;},_0x59f2(_0x32ee0c,_0x13144a);}const _0x53d8b5=_0x59f2;function _0x5e6d(){const _0xb697cb=['stopListening','pluginName','getNearestSelectionRange','getMarkerClass','user:range','listenTo','getContainedElement','span','destroy','editingDowncast','getFirstRange','markerNameToElements','getAttribute','reconvertMarker','detach','clear','plugins','createUserMarkerOperations','size','getCustomProperty','split','$text','render','781300roLBQc','nodeAfter','markerName','set','name','parent','element','type','createElement','enqueueChange','UserMarkers','newRange','mySessionId','Escape','orderNumber','hasContent','requires','update:user:range','mouseenter','marker','init','11108388qwtaJq','document','editing','tableCell','outerHTML','isCollapsed','deletionPosition','selection','false','user:','getPositions','remove','userPositionMarker','isSimilar','isInline','schema','editor','rootName','contenteditable','user:position:','get','$graveyard','afterInit','_createdBatches','118228UoZcwu','oldRange','mouseleave','delete','11dEBZKl','view','fromRange','isLimit','has','ck-user__selection','root','addEventListener','createUIElement','end','removeClass','8Yolhgo','innerHTML','189eSTHVR','markerToHighlight','removeMarker','getRange','change','isOfficialPlugin','setCustomProperty','model','getSelectionClass','ck-user__marker_hovered','toRange','createRange','markerToElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getUserBySessionId','conversion','classList','getStart','change:range','startsWith','addMarker','checkChild','markers','isDocumentOperation','setAttribute','spellcheck','hasDomSelection','1099qJifrD','keydown','textContent','color','5916jeSMMw','toDomElement','batch','_domEmitter','markerRange','isObject','user:position','highest','data-session-id','ck-user__marker\x20','start','for','ck-user__marker-tooltip','mapper','153811GUNVfS','updateMarker','undo','isPremiumPlugin','add','7206YdaerU','1162737mKyLkk','applyOperation','15eyMqdB','commands','user:range:'];_0x5e6d=function(){return _0xb697cb;};return _0x5e6d();}(function(_0x3fc3d2,_0x25e1b8){const _0x47db80=_0x59f2,_0x20cb5b=_0x3fc3d2();while(!![]){try{const _0xe2e6b5=-parseInt(_0x47db80(0x10e))/0x1+-parseInt(_0x47db80(0x100))/0x2*(parseInt(_0x47db80(0xe1))/0x3)+-parseInt(_0x47db80(0xd0))/0x4*(parseInt(_0x47db80(0x116))/0x5)+-parseInt(_0x47db80(0x113))/0x6*(parseInt(_0x47db80(0xfc))/0x7)+parseInt(_0x47db80(0xdf))/0x8*(-parseInt(_0x47db80(0x114))/0x9)+-parseInt(_0x47db80(0xa3))/0xa*(parseInt(_0x47db80(0xd4))/0xb)+parseInt(_0x47db80(0xb8))/0xc;if(_0xe2e6b5===_0x25e1b8)break;else _0x20cb5b['push'](_0x20cb5b['shift']());}catch(_0x88b369){_0x20cb5b['push'](_0x20cb5b['shift']());}}}(_0x5e6d,0x18a77));import{Plugin as _0x30bbf1}from'ckeditor5/src/core.js';import{global as _0xd5406d,DomEmitterMixin as _0x3ba06e}from'ckeditor5/src/utils.js';import{Sessions as _0x469db9}from'./sessions.js';import{ModelLiveRange as _0x1f9f9b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x30bbf1{[_0x53d8b5(0x103)]=new(_0x3ba06e())();static get[_0x53d8b5(0xb3)](){return[_0x469db9];}static get[_0x53d8b5(0x11a)](){const _0x29b60b=_0x53d8b5;return _0x29b60b(0xad);}static get[_0x53d8b5(0xe6)](){return!0x0;}static get[_0x53d8b5(0x111)](){return!0x0;}[_0x53d8b5(0xb7)](){const _0x2e8d74=_0x53d8b5,_0x15fb4d=this[_0x2e8d74(0xc8)],_0x553f67=_0x15fb4d[_0x2e8d74(0x9c)][_0x2e8d74(0xcc)](_0x469db9);_0x15fb4d[_0x2e8d74(0xf0)][_0x2e8d74(0x10b)](_0x2e8d74(0x122))[_0x2e8d74(0xed)]({'model':_0x2e8d74(0x106),'view':(_0xdc2bdc,{writer:_0x2f0bdd})=>function(_0x2fc218,_0x2c691a,_0x3badcf,_0x51b2a4){const _0x28b261=_0x2e8d74,_0x378e05=_0x2fc218[_0x28b261(0xa5)][_0x28b261(0xa0)](':')[0x2],_0x2f7892=_0x3badcf[_0x28b261(0xef)](_0x378e05);if(!_0x2f7892||_0x378e05===_0x3badcf[_0x28b261(0xaf)])return;if(!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)][_0x28b261(0xf6)](_0x2fc218[_0x28b261(0x104)][_0x28b261(0x10a)],_0x28b261(0xa1)))return;const _0x55fcab={'class':_0x28b261(0x109)+_0x2f7892[_0x28b261(0xff)][_0x28b261(0x11c)](),'data-name':_0x2f7892[_0x28b261(0xa7)],'data-session-id':_0x378e05},_0x32ad9e=_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xf7)][_0x28b261(0xcc)](_0x2fc218[_0x28b261(0xa5)]),_0x228ae1=_0x32ad9e[_0x28b261(0xf2)](),_0x2015b2=_0x228ae1[_0x28b261(0xa4)],_0x310c36=_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)];if(_0x2015b2&&_0x310c36[_0x28b261(0x105)](_0x2015b2)&&_0x310c36[_0x28b261(0xc6)](_0x2015b2)&&!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xf7)][_0x28b261(0xcc)](_0x28b261(0x118)+_0x378e05)[_0x28b261(0xe4)]()[_0x28b261(0xbd)])return;const _0x5b3f90=_0x228ae1[_0x28b261(0xa8)];return _0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xc7)][_0x28b261(0xd7)](_0x5b3f90)&&!_0x51b2a4[_0x28b261(0xe8)][_0x28b261(0xb2)](_0x5b3f90)&&(_0x55fcab[_0x28b261(0xca)]=!0x1),function(_0x1ec824,_0x4be0a1,_0x4f489e){const _0x9daee3=_0x28b261,_0x48b68d=_0x1ec824[_0x9daee3(0xdc)](_0x9daee3(0x120),_0x4be0a1);return _0x1ec824[_0x9daee3(0xe7)](_0x9daee3(0xc4),!0x0,_0x48b68d),_0x48b68d[_0x9daee3(0xa2)]=function(_0x51bd11){const _0x46b926=_0x9daee3,_0x4b0ded=this[_0x46b926(0x101)](_0x51bd11),_0x4edae3=document[_0x46b926(0xab)](_0x46b926(0x120));return _0x4edae3[_0x46b926(0xf1)][_0x46b926(0x112)](_0x46b926(0x10c)),_0x4edae3[_0x46b926(0xf9)](_0x46b926(0xca),_0x46b926(0xc0)),_0x4edae3[_0x46b926(0xf9)](_0x46b926(0xfa),_0x46b926(0xc0)),_0x4edae3[_0x46b926(0xfe)]=_0x4f489e[_0x46b926(0xa7)],_0x4b0ded[_0x46b926(0xe0)]=_0x46b926(0xee)+_0x4edae3[_0x46b926(0xbc)]+'⁠',_0x4b0ded[_0x46b926(0xdb)](_0x46b926(0xb5),()=>{const _0x51ebdb=_0x46b926;_0x4b0ded[_0x51ebdb(0xf1)][_0x51ebdb(0x112)](_0x51ebdb(0xea));}),_0x4b0ded[_0x46b926(0xdb)](_0x46b926(0xd2),()=>{const _0x7a3c05=_0x46b926;_0x4b0ded[_0x7a3c05(0xf1)][_0x7a3c05(0xc3)](_0x7a3c05(0xea));}),_0x4b0ded;},_0x48b68d[_0x9daee3(0xc5)]=function(_0x10a53c){const _0x549a3b=_0x9daee3;return!(!this[_0x549a3b(0x9f)](_0x549a3b(0xc4))||!_0x10a53c[_0x549a3b(0x9f)](_0x549a3b(0xc4))||this[_0x549a3b(0x125)](_0x549a3b(0x108))!=_0x10a53c[_0x549a3b(0x125)](_0x549a3b(0x108)));},_0x48b68d;}(_0x2c691a,_0x55fcab,_0x2f7892);}(_0xdc2bdc,_0x2f0bdd,_0x553f67,_0x15fb4d)}),_0x15fb4d[_0x2e8d74(0xf0)][_0x2e8d74(0x10b)](_0x2e8d74(0x122))[_0x2e8d74(0xe2)]({'model':_0x2e8d74(0x11d),'view':_0x3406ec=>function(_0x40d26b,_0x10ab8c){const _0x3f916d=_0x2e8d74,_0x4fdf85=_0x40d26b[_0x3f916d(0xa5)][_0x3f916d(0xa0)](':')[0x2];if(_0x4fdf85===_0x10ab8c[_0x3f916d(0xaf)])return null;const _0x261ee6=_0x10ab8c[_0x3f916d(0xef)](_0x4fdf85);if(!_0x261ee6)return{'id':_0x4fdf85,'classes':[]};return{'id':_0x4fdf85,'classes':[_0x3f916d(0xd9),_0x261ee6[_0x3f916d(0xff)][_0x3f916d(0xe9)]()],'attributes':{'data-session-id':_0x4fdf85},'priority':0x7d0+_0x261ee6[_0x3f916d(0xb1)]};}(_0x3406ec,_0x553f67)}),function(_0x552ea3){const _0x10694f=_0x2e8d74,_0x1f0bf5=_0x552ea3[_0x10694f(0xe8)],_0x34a3c7=new Map(),_0x4f9b7a=_0x552ea3[_0x10694f(0x9c)][_0x10694f(0xcc)](_0x469db9);_0x1f0bf5[_0x10694f(0xf7)]['on'](_0x10694f(0xb4),(_0x4d05e6,_0x575f57,_0x597b7a,_0x5c6568)=>{const _0x344f83=_0x10694f;if(!_0x5c6568&&_0x34a3c7[_0x344f83(0xcc)](_0x575f57[_0x344f83(0xa7)]))return _0x34a3c7[_0x344f83(0xcc)](_0x575f57[_0x344f83(0xa7)])[_0x344f83(0x127)](),void _0x34a3c7[_0x344f83(0xd3)](_0x575f57[_0x344f83(0xa7)]);const _0x54064b=_0x575f57[_0x344f83(0xa7)][_0x344f83(0xa0)](':')[0x2];if(_0x54064b===_0x4f9b7a[_0x344f83(0xaf)])return;const _0x45b778=_0x344f83(0xcb)+_0x54064b;_0x1f0bf5[_0x344f83(0xf7)][_0x344f83(0xd8)](_0x45b778)&&_0x552ea3[_0x344f83(0xba)][_0x344f83(0x126)](_0x45b778),_0x575f57['on'](_0x344f83(0xf3),(_0x496019,_0x5a3463,_0x28a355)=>{const _0x3125cc=_0x344f83;if(_0x3125cc(0xcd)!=_0x5a3463[_0x3125cc(0xda)][_0x3125cc(0xc9)]&&_0x3125cc(0xcd)==_0x575f57[_0x3125cc(0xe4)]()[_0x3125cc(0xda)][_0x3125cc(0xc9)]&&!_0x34a3c7[_0x3125cc(0xd8)](_0x575f57[_0x3125cc(0xa7)])){const _0x20c9b8=_0x1f0bf5[_0x3125cc(0xc7)][_0x3125cc(0x11b)](_0x28a355[_0x3125cc(0xbe)]);if(_0x20c9b8){const _0x521c8f=_0x1f9f9b[_0x3125cc(0xd6)](_0x20c9b8);_0x34a3c7[_0x3125cc(0xa6)](_0x575f57[_0x3125cc(0xa7)],_0x521c8f),_0x521c8f['on'](_0x3125cc(0xf3),(_0x3b3f2c,_0x242cc1,_0x4f9647)=>{const _0x5e04fa=_0x3125cc;if(_0x5e04fa(0xcd)==_0x521c8f[_0x5e04fa(0xda)][_0x5e04fa(0xc9)]){const _0x11602b=_0x1f0bf5[_0x5e04fa(0xc7)][_0x5e04fa(0x11b)](_0x4f9647[_0x5e04fa(0xbe)]);_0x11602b?(_0x521c8f[_0x5e04fa(0x10a)]=_0x11602b[_0x5e04fa(0x10a)],_0x521c8f[_0x5e04fa(0xdd)]=_0x11602b[_0x5e04fa(0xdd)]):(_0x34a3c7[_0x5e04fa(0xd3)](_0x575f57[_0x5e04fa(0xa7)]),_0x521c8f[_0x5e04fa(0x127)]());}});}}});}),_0x1f0bf5[_0x10694f(0xb9)]['on'](_0x10694f(0xe5),()=>{const _0x29334d=_0x10694f;_0x34a3c7[_0x29334d(0x9e)]>0x0&&_0x1f0bf5[_0x29334d(0xac)]({'isUndoable':!0x1},_0x21ed73=>{const _0x2d0af5=_0x29334d;for(const [_0x417ecb,_0x5218fe]of _0x34a3c7)_0x2d0af5(0xcd)==_0x1f0bf5[_0x2d0af5(0xf7)][_0x2d0af5(0xcc)](_0x417ecb)[_0x2d0af5(0xe4)]()[_0x2d0af5(0xda)][_0x2d0af5(0xc9)]&&(J(_0x417ecb[_0x2d0af5(0xa0)](':')[0x2],_0x5218fe[_0x2d0af5(0xeb)](),_0x1f0bf5,_0x21ed73),_0x5218fe[_0x2d0af5(0x127)]());_0x34a3c7[_0x2d0af5(0x128)]();});});}(_0x15fb4d),this[_0x2e8d74(0x103)][_0x2e8d74(0x11e)](_0xd5406d[_0x2e8d74(0xb9)],_0x2e8d74(0xfd),(_0xa7789a,{key:_0x55b94a})=>{const _0x1ef566=_0x2e8d74;_0x1ef566(0xb0)===_0x55b94a&&function(_0x84dd4a){const _0x384605=_0x1ef566;_0x84dd4a[_0x384605(0xba)][_0x384605(0xd5)][_0x384605(0xe5)](_0x2c7fcf=>{const _0x3268c8=_0x384605;for(const _0x568185 of _0x84dd4a[_0x3268c8(0xe8)][_0x3268c8(0xf7)]){if(!_0x568185[_0x3268c8(0xa7)][_0x3268c8(0xf4)](_0x3268c8(0x106)))continue;const _0x3cc5fa=_0x84dd4a[_0x3268c8(0xba)][_0x3268c8(0x10d)][_0x3268c8(0x124)](_0x568185[_0x3268c8(0xa7)]);if(_0x3cc5fa){for(const _0x2e7423 of _0x3cc5fa)_0x2c7fcf[_0x3268c8(0xde)](_0x3268c8(0xea),_0x2e7423);}}});}(_0x15fb4d);},{'useCapture':!0x0});}[_0x53d8b5(0xce)](){const _0x1868fa=_0x53d8b5,_0x505d1e=this[_0x1868fa(0xc8)],_0x3b720d=_0x505d1e[_0x1868fa(0x117)][_0x1868fa(0xcc)](_0x1868fa(0x110));_0x3b720d&&_0x505d1e[_0x1868fa(0xe8)]['on'](_0x1868fa(0x115),(_0x4203b9,_0x2de84c)=>{const _0x18b209=_0x1868fa,_0x55a176=_0x2de84c[0x0];if(!_0x55a176[_0x18b209(0xf8)])return;if(_0x18b209(0xb6)!=_0x55a176[_0x18b209(0xaa)]||!_0x55a176[_0x18b209(0xa7)][_0x18b209(0xf4)](_0x18b209(0xc1)))return;const _0x406b63=_0x55a176[_0x18b209(0x102)];_0x3b720d[_0x18b209(0xcf)][_0x18b209(0xd8)](_0x406b63)&&(_0x55a176[_0x18b209(0xae)]=_0x55a176[_0x18b209(0xd1)]?_0x505d1e[_0x18b209(0xe8)][_0x18b209(0xec)](_0x55a176[_0x18b209(0xd1)][_0x18b209(0x10a)],_0x55a176[_0x18b209(0xd1)][_0x18b209(0xdd)]):null);},{'priority':_0x1868fa(0x107)});}[_0x53d8b5(0x121)](){const _0x27f3f1=_0x53d8b5;return this[_0x27f3f1(0x103)][_0x27f3f1(0x119)](),super[_0x27f3f1(0x121)]();}[_0x53d8b5(0x9d)](){const _0x4720f7=_0x53d8b5,_0x1c0762=this[_0x4720f7(0xc8)],_0x259601=_0x1c0762[_0x4720f7(0xe8)][_0x4720f7(0xb9)],_0x58e32a=_0x1c0762[_0x4720f7(0x9c)][_0x4720f7(0xcc)](_0x469db9);_0x1c0762[_0x4720f7(0xe8)][_0x4720f7(0xac)]({'isUndoable':!0x1},_0x409fb6=>{const _0x4f1846=_0x4720f7,_0x3a9ac2=_0x4f1846(0x118)+_0x58e32a[_0x4f1846(0xaf)],_0x32e9a7=_0x4f1846(0xcb)+_0x58e32a[_0x4f1846(0xaf)],_0x4278dc=_0x1c0762[_0x4f1846(0xe8)][_0x4f1846(0xf7)][_0x4f1846(0xd8)](_0x3a9ac2);_0x1c0762[_0x4f1846(0xba)][_0x4f1846(0xd5)][_0x4f1846(0xfb)]?J(_0x58e32a[_0x4f1846(0xaf)],_0x259601[_0x4f1846(0xbf)][_0x4f1846(0x123)](),_0x1c0762[_0x4f1846(0xe8)],_0x409fb6):_0x4278dc&&(_0x409fb6[_0x4f1846(0xe3)](_0x3a9ac2),_0x409fb6[_0x4f1846(0xe3)](_0x32e9a7));});}}function J(_0x5508df,_0x3decf3,_0x5960b3,_0x4d0d93){const _0x2bd536=_0x53d8b5,_0xfd51e6=_0x2bd536(0x118)+_0x5508df,_0x532829=_0x2bd536(0xcb)+_0x5508df,_0x4f8b78=_0x3decf3[_0x2bd536(0x11f)]();let _0x60f9f=_0x3decf3[_0x2bd536(0x10a)];if(_0x4f8b78&&_0x4f8b78['is'](_0x2bd536(0xa9),_0x2bd536(0xbb))){const _0x2f4020=function(_0x596a65,_0xf13b2){const _0x23b486=_0x2bd536;for(const _0x171553 of _0x596a65[_0x23b486(0xc2)]())if(_0xf13b2[_0x23b486(0xc7)][_0x23b486(0xf6)](_0x171553,_0x23b486(0xa1)))return _0x171553;}(_0x3decf3,_0x5960b3);_0x2f4020&&(_0x60f9f=_0x2f4020,_0x3decf3=_0x4d0d93[_0x2bd536(0xec)](_0x60f9f));}const _0x3de607=_0x4d0d93[_0x2bd536(0xec)](_0x60f9f);_0x5960b3[_0x2bd536(0xf7)][_0x2bd536(0xd8)](_0xfd51e6)?(_0x4d0d93[_0x2bd536(0x10f)](_0xfd51e6,{'range':_0x3decf3}),_0x4d0d93[_0x2bd536(0x10f)](_0x532829,{'range':_0x3de607})):(_0x4d0d93[_0x2bd536(0xf5)](_0xfd51e6,{'range':_0x3decf3,'usingOperation':!0x0}),_0x4d0d93[_0x2bd536(0xf5)](_0x532829,{'range':_0x3de607,'usingOperation':!0x0}));}