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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb43d(_0x4727d8,_0x4eef7f){const _0x2f1e23=_0x2f1e();return _0xb43d=function(_0xb43d43,_0x3ae032){_0xb43d43=_0xb43d43-0xca;let _0x4c9614=_0x2f1e23[_0xb43d43];return _0x4c9614;},_0xb43d(_0x4727d8,_0x4eef7f);}const _0x394620=_0xb43d;(function(_0x22310a,_0x50eb28){const _0x4c51e9=_0xb43d,_0x54d718=_0x22310a();while(!![]){try{const _0x142196=-parseInt(_0x4c51e9(0xd8))/0x1*(parseInt(_0x4c51e9(0xd3))/0x2)+-parseInt(_0x4c51e9(0xca))/0x3*(parseInt(_0x4c51e9(0xdf))/0x4)+parseInt(_0x4c51e9(0xd4))/0x5*(parseInt(_0x4c51e9(0xcf))/0x6)+parseInt(_0x4c51e9(0xdd))/0x7*(parseInt(_0x4c51e9(0xec))/0x8)+-parseInt(_0x4c51e9(0xe4))/0x9+parseInt(_0x4c51e9(0xf0))/0xa+parseInt(_0x4c51e9(0xef))/0xb;if(_0x142196===_0x50eb28)break;else _0x54d718['push'](_0x54d718['shift']());}catch(_0x2bc21d){_0x54d718['push'](_0x54d718['shift']());}}}(_0x2f1e,0xaa0b3));function _0x2f1e(){const _0x3a3cdd=['presencelist:hide','27010390zpAJCx','12758000lAlawQ','render','3tmtHnP','removeAttribute','listenTo','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','947616lOkeLI','change:hasPopup','hasPopup','fire','2Hdmlgb','10RjWjjU','relatedTarget','items','.ck-balloon-panel_with-arrow','1205197vnDjHk','contains','aria-expanded','div','keystrokes','973jRowNS','ck-presence-list__list','4096564oivRwW','set','isExpanded','setTemplate','Connected\x20users\x20list','10370898GpRbmG','bindTemplate','.ck-presence-list__dropdown-list','querySelector','createCollection','focus','list','element','1784pMJFVS','presencelist:show'];_0x2f1e=function(){return _0x3a3cdd;};return _0x2f1e();}import{View as _0x178831}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5420c5}from'ckeditor5/src/utils.js';import{getTranslation as _0x43bbb9}from'../../common-translations.js';export class PresenceInlineListView extends _0x178831{[_0x394620(0xd6)];[_0x394620(0xdc)];constructor(_0x51373b){const _0x3210d2=_0x394620;super(_0x51373b);const _0x905dcb=this[_0x3210d2(0xe5)];this[_0x3210d2(0xd6)]=this[_0x3210d2(0xe8)](),this[_0x3210d2(0xdc)]=new _0x5420c5(),this[_0x3210d2(0xe0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3210d2(0xe2)]({'tag':_0x3210d2(0xdb),'attributes':{'aria-haspopup':_0x905dcb['if'](_0x3210d2(0xd1)),'aria-expanded':_0x905dcb['to'](_0x3210d2(0xe1),_0x3e6b64=>this[_0x3210d2(0xd1)]&&String(_0x3e6b64)),'aria-label':_0x905dcb['to'](_0x3210d2(0xd1),_0x17debe=>_0x43bbb9(_0x51373b,_0x17debe?_0x3210d2(0xce):_0x3210d2(0xe3))),'role':_0x3210d2(0xea),'tabindex':_0x905dcb['to'](_0x3210d2(0xd1),_0x4248a8=>!!_0x4248a8&&0x0),'class':['ck',_0x3210d2(0xde)]},'children':this[_0x3210d2(0xd6)],'on':{'mouseenter':_0x905dcb['to'](()=>this[_0x3210d2(0xd2)](_0x3210d2(0xed))),'mouseleave':_0x905dcb['to'](_0xf1cd55=>{const _0xcf725e=_0x3210d2,_0xe9df28=_0xf1cd55,_0x34809d=document[_0xcf725e(0xe7)](_0xcf725e(0xe6)),_0x127548=document[_0xcf725e(0xe7)](_0xcf725e(0xd7));_0x34809d?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||_0x127548?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||this[_0xcf725e(0xd2)](_0xcf725e(0xee));})}}),this['on'](_0x3210d2(0xd0),(_0xa8828a,_0x550e9b,_0x2d35f6)=>{const _0x3ba175=_0x3210d2;this[_0x3ba175(0xeb)]&&(_0x2d35f6?this[_0x3ba175(0xeb)][_0x3ba175(0xcd)](_0x3ba175(0xda),String(this[_0x3ba175(0xe1)])):this[_0x3ba175(0xeb)][_0x3ba175(0xcb)](_0x3ba175(0xda)));});}[_0x394620(0xe9)](){const _0x13329d=_0x394620;this[_0x13329d(0xeb)][_0x13329d(0xe9)]();}[_0x394620(0xf1)](){const _0x36533a=_0x394620;super[_0x36533a(0xf1)](),this[_0x36533a(0xdc)][_0x36533a(0xcc)](this[_0x36533a(0xeb)]);}}
23
+ const _0x263f01=_0x1e07;function _0x1e07(_0x48183c,_0x196d93){const _0x584525=_0x5845();return _0x1e07=function(_0x1e07e1,_0xa4dbe8){_0x1e07e1=_0x1e07e1-0xfc;let _0x4fbeef=_0x584525[_0x1e07e1];return _0x4fbeef;},_0x1e07(_0x48183c,_0x196d93);}(function(_0x6890aa,_0x19a47b){const _0x44cab1=_0x1e07,_0x25ecca=_0x6890aa();while(!![]){try{const _0x256709=parseInt(_0x44cab1(0xff))/0x1+-parseInt(_0x44cab1(0x10e))/0x2+parseInt(_0x44cab1(0x102))/0x3+-parseInt(_0x44cab1(0xfd))/0x4+parseInt(_0x44cab1(0x118))/0x5+-parseInt(_0x44cab1(0x100))/0x6*(parseInt(_0x44cab1(0x117))/0x7)+-parseInt(_0x44cab1(0x106))/0x8*(-parseInt(_0x44cab1(0x11b))/0x9);if(_0x256709===_0x19a47b)break;else _0x25ecca['push'](_0x25ecca['shift']());}catch(_0x41448e){_0x25ecca['push'](_0x25ecca['shift']());}}}(_0x5845,0xec3a4));import{View as _0x48717e}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4f81d2}from'ckeditor5/src/utils.js';import{getTranslation as _0x55d980}from'../../common-translations.js';function _0x5845(){const _0x147551=['contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','1313703UiQQuZ','removeAttribute','ck-presence-list__list','keystrokes','fire','relatedTarget','items','aria-expanded','7482952bGvZPe','focus','926446qgyaIl','150ruTCSh','querySelector','5700768XePbVN','bindTemplate','.ck-presence-list__dropdown-list','isExpanded','48HoztxE','listenTo','change:hasPopup','.ck-balloon-panel_with-arrow','render','list','hasPopup','set','1400472roKWGu','element','presencelist:hide','setTemplate','createCollection','Connected\x20users\x20list','setAttribute','presencelist:show','div','108227FGpyxq','1112915LGdTuH'];_0x5845=function(){return _0x147551;};return _0x5845();}export class PresenceInlineListView extends _0x48717e{[_0x263f01(0x121)];[_0x263f01(0x11e)];constructor(_0x22577a){const _0x26480e=_0x263f01;super(_0x22577a);const _0x22c74b=this[_0x26480e(0x103)];this[_0x26480e(0x121)]=this[_0x26480e(0x112)](),this[_0x26480e(0x11e)]=new _0x4f81d2(),this[_0x26480e(0x10d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x26480e(0x111)]({'tag':_0x26480e(0x116),'attributes':{'aria-haspopup':_0x22c74b['if'](_0x26480e(0x10c)),'aria-expanded':_0x22c74b['to'](_0x26480e(0x105),_0x4a31dd=>this[_0x26480e(0x10c)]&&String(_0x4a31dd)),'aria-label':_0x22c74b['to'](_0x26480e(0x10c),_0x3e23eb=>_0x55d980(_0x22577a,_0x3e23eb?_0x26480e(0x11a):_0x26480e(0x113))),'role':_0x26480e(0x10b),'tabindex':_0x22c74b['to'](_0x26480e(0x10c),_0x3c15e4=>!!_0x3c15e4&&0x0),'class':['ck',_0x26480e(0x11d)]},'children':this[_0x26480e(0x121)],'on':{'mouseenter':_0x22c74b['to'](()=>this[_0x26480e(0x11f)](_0x26480e(0x115))),'mouseleave':_0x22c74b['to'](_0xb890de=>{const _0x4d9b97=_0x26480e,_0x43e76d=_0xb890de,_0x4223f8=document[_0x4d9b97(0x101)](_0x4d9b97(0x104)),_0x3aa515=document[_0x4d9b97(0x101)](_0x4d9b97(0x109));_0x4223f8?.[_0x4d9b97(0x119)](_0x43e76d[_0x4d9b97(0x120)])||_0x3aa515?.[_0x4d9b97(0x119)](_0x43e76d[_0x4d9b97(0x120)])||this[_0x4d9b97(0x11f)](_0x4d9b97(0x110));})}}),this['on'](_0x26480e(0x108),(_0x5a362a,_0x54d37f,_0x4203bc)=>{const _0x2a3dec=_0x26480e;this[_0x2a3dec(0x10f)]&&(_0x4203bc?this[_0x2a3dec(0x10f)][_0x2a3dec(0x114)](_0x2a3dec(0xfc),String(this[_0x2a3dec(0x105)])):this[_0x2a3dec(0x10f)][_0x2a3dec(0x11c)](_0x2a3dec(0xfc)));});}[_0x263f01(0xfe)](){const _0x42e367=_0x263f01;this[_0x42e367(0x10f)][_0x42e367(0xfe)]();}[_0x263f01(0x10a)](){const _0x26cc25=_0x263f01;super[_0x26cc25(0x10a)](),this[_0x26cc25(0x11e)][_0x26cc25(0x107)](this[_0x26cc25(0x10f)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35cf9e=_0x43a9;function _0x531e(){const _0x37042f=['7mRXciV','507870xMlAFv','set','5JoZkma','32IkhKlf','first','hasPopup','26370gieLFm','setTemplate','4452140FtAQpM','1078781AZakdC','isCollapsed','ck-presence-list','bind','div','bindTemplate','11772XHjZei','ck-reset','counterView','items','1922370LSqCUv','inlineListView','locale','tooltipPosition','4DRcntO','listenTo','change','2731768HQhZbT','ck-rounded-corners','ck-presence-list--collapsed'];_0x531e=function(){return _0x37042f;};return _0x531e();}(function(_0x44b3c0,_0x380301){const _0xaabe42=_0x43a9,_0xa9a1ac=_0x44b3c0();while(!![]){try{const _0x4969df=parseInt(_0xaabe42(0x7e))/0x1*(-parseInt(_0xaabe42(0x76))/0x2)+-parseInt(_0xaabe42(0x6d))/0x3*(parseInt(_0xaabe42(0x88))/0x4)+-parseInt(_0xaabe42(0x87))/0x5*(-parseInt(_0xaabe42(0x7a))/0x6)+parseInt(_0xaabe42(0x84))/0x7*(-parseInt(_0xaabe42(0x81))/0x8)+parseInt(_0xaabe42(0x85))/0x9+parseInt(_0xaabe42(0x6f))/0xa+-parseInt(_0xaabe42(0x70))/0xb;if(_0x4969df===_0x380301)break;else _0xa9a1ac['push'](_0xa9a1ac['shift']());}catch(_0x2702ae){_0xa9a1ac['push'](_0xa9a1ac['shift']());}}}(_0x531e,0x46779));import{View as _0x471b2c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x34c2a9}from'./presencecounterview.js';function _0x43a9(_0x1ffefa,_0x483e62){const _0x531eab=_0x531e();return _0x43a9=function(_0x43a9c1,_0x1e46c2){_0x43a9c1=_0x43a9c1-0x6b;let _0x3e3f7e=_0x531eab[_0x43a9c1];return _0x3e3f7e;},_0x43a9(_0x1ffefa,_0x483e62);}import{PresenceInlineListView as _0x1c8cac}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x471b2c{[_0x35cf9e(0x78)];[_0x35cf9e(0x7b)];constructor(_0x3e51a0,_0x215398=0x6){const _0x3f191f=_0x35cf9e;super(_0x3e51a0);const _0x52f780=this[_0x3f191f(0x75)];this[_0x3f191f(0x86)](_0x3f191f(0x71),!0x0),this[_0x3f191f(0x78)]=new _0x34c2a9(this[_0x3f191f(0x7c)],_0x215398),this[_0x3f191f(0x7b)]=new _0x1c8cac(_0x3e51a0),this[_0x3f191f(0x7b)][_0x3f191f(0x73)](_0x3f191f(0x6c))['to'](this,_0x3f191f(0x71)),this[_0x3f191f(0x7f)](this[_0x3f191f(0x7b)][_0x3f191f(0x79)],_0x3f191f(0x80),()=>{const _0x5edcb3=_0x3f191f;for(const _0x2ae487 of this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)])_0x2ae487[_0x5edcb3(0x7d)]='s';this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)]&&(this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)][_0x5edcb3(0x7d)]='se');}),this[_0x3f191f(0x6e)]({'tag':_0x3f191f(0x74),'attributes':{'class':['ck',_0x3f191f(0x72),_0x3f191f(0x77),_0x3f191f(0x82),_0x52f780['if'](_0x3f191f(0x71),_0x3f191f(0x83))]},'children':[this[_0x3f191f(0x7b)]]});}}
23
+ const _0x295431=_0x3b12;function _0x2fb1(){const _0x4b3da3=['change','listenTo','first','isCollapsed','tooltipPosition','2457090IZeJNb','1413146TaTJKQ','items','ck-reset','locale','3152808XiPmuw','ck-rounded-corners','657648BFpXyI','24SFPSHC','ck-presence-list','235191pJxzpS','counterView','inlineListView','ck-presence-list--collapsed','1013654XHTFyq','bindTemplate','72nhLfWS','37413feAHUC','set','bind','setTemplate','div','hasPopup'];_0x2fb1=function(){return _0x4b3da3;};return _0x2fb1();}(function(_0x249710,_0x1ec11f){const _0x5c196c=_0x3b12,_0x51fc61=_0x249710();while(!![]){try{const _0x1aa2a2=-parseInt(_0x5c196c(0x171))/0x1+-parseInt(_0x5c196c(0x175))/0x2+-parseInt(_0x5c196c(0x178))/0x3*(parseInt(_0x5c196c(0x177))/0x4)+parseInt(_0x5c196c(0x183))/0x5+-parseInt(_0x5c196c(0x18a))/0x6+-parseInt(_0x5c196c(0x184))/0x7+-parseInt(_0x5c196c(0x18b))/0x8*(-parseInt(_0x5c196c(0x188))/0x9);if(_0x1aa2a2===_0x1ec11f)break;else _0x51fc61['push'](_0x51fc61['shift']());}catch(_0x99e5a8){_0x51fc61['push'](_0x51fc61['shift']());}}}(_0x2fb1,0x408b4));import{View as _0xfdaa94}from'ckeditor5/src/ui.js';function _0x3b12(_0x2277e6,_0x3ffb37){const _0x2fb160=_0x2fb1();return _0x3b12=function(_0x3b1264,_0x1155e6){_0x3b1264=_0x3b1264-0x170;let _0x258b7b=_0x2fb160[_0x3b1264];return _0x258b7b;},_0x3b12(_0x2277e6,_0x3ffb37);}import{PresenceCounterView as _0x4dc5b6}from'./presencecounterview.js';import{PresenceInlineListView as _0x3bae62}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0xfdaa94{[_0x295431(0x172)];[_0x295431(0x173)];constructor(_0x16a930,_0x35305f=0x6){const _0x11d375=_0x295431;super(_0x16a930);const _0x1f9dd8=this[_0x11d375(0x176)];this[_0x11d375(0x179)](_0x11d375(0x181),!0x0),this[_0x11d375(0x172)]=new _0x4dc5b6(this[_0x11d375(0x187)],_0x35305f),this[_0x11d375(0x173)]=new _0x3bae62(_0x16a930),this[_0x11d375(0x173)][_0x11d375(0x17a)](_0x11d375(0x17d))['to'](this,_0x11d375(0x181)),this[_0x11d375(0x17f)](this[_0x11d375(0x173)][_0x11d375(0x185)],_0x11d375(0x17e),()=>{const _0x5a9a04=_0x11d375;for(const _0xfb7cb0 of this[_0x5a9a04(0x173)][_0x5a9a04(0x185)])_0xfb7cb0[_0x5a9a04(0x182)]='s';this[_0x5a9a04(0x173)][_0x5a9a04(0x185)][_0x5a9a04(0x180)]&&(this[_0x5a9a04(0x173)][_0x5a9a04(0x185)][_0x5a9a04(0x180)][_0x5a9a04(0x182)]='se');}),this[_0x11d375(0x17b)]({'tag':_0x11d375(0x17c),'attributes':{'class':['ck',_0x11d375(0x170),_0x11d375(0x186),_0x11d375(0x189),_0x1f9dd8['if'](_0x11d375(0x181),_0x11d375(0x174))]},'children':[this[_0x11d375(0x173)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x322d35=_0x5d3d;(function(_0x1c1c09,_0x170295){var _0x91e66e=_0x5d3d,_0x48e8d6=_0x1c1c09();while(!![]){try{var _0x1efd1b=-parseInt(_0x91e66e(0x82))/0x1+-parseInt(_0x91e66e(0x84))/0x2+parseInt(_0x91e66e(0x80))/0x3+-parseInt(_0x91e66e(0x87))/0x4+parseInt(_0x91e66e(0x86))/0x5+parseInt(_0x91e66e(0x8b))/0x6+-parseInt(_0x91e66e(0x89))/0x7*(-parseInt(_0x91e66e(0x83))/0x8);if(_0x1efd1b===_0x170295)break;else _0x48e8d6['push'](_0x48e8d6['shift']());}catch(_0x2fbfeb){_0x48e8d6['push'](_0x48e8d6['shift']());}}}(_0x3f80,0x1d3e5));function _0x5d3d(_0x2a72fc,_0x1d2a28){var _0x3f801d=_0x3f80();return _0x5d3d=function(_0x5d3d00,_0xd8e389){_0x5d3d00=_0x5d3d00-0x7f;var _0x4f2b11=_0x3f801d[_0x5d3d00];return _0x4f2b11;},_0x5d3d(_0x2a72fc,_0x1d2a28);}import{ContextPlugin as _0x341ea7}from'ckeditor5/src/core.js';function _0x3f80(){var _0x3cca9=['pluginName','652236UbkNBj','PresenceList','344055roaSar','requires','215106wxYYFs','1592XWzhXB','364588sRLnzQ','isOfficialPlugin','11610MaCVTm','81460TXHPnR','isPremiumPlugin','10969FQcVhc'];_0x3f80=function(){return _0x3cca9;};return _0x3f80();}import{Sessions as _0x20ba6d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x9aa0b1}from'./presencelist/presencelistui.js';export class PresenceList extends _0x341ea7{static get[_0x322d35(0x81)](){return[_0x20ba6d,_0x9aa0b1];}static get[_0x322d35(0x8a)](){var _0x49935c=_0x322d35;return _0x49935c(0x7f);}static get[_0x322d35(0x85)](){return!0x0;}static get[_0x322d35(0x88)](){return!0x0;}}
23
+ var _0xd577be=_0x55cf;function _0x4a8d(){var _0x45de15=['14055734LORMeN','86dNHsSr','19102ZxDdXw','741MEyBGH','2848LMSUDp','8267JRqIUD','7864410moXvDU','pluginName','isOfficialPlugin','isPremiumPlugin','13564jUetZa','requires','5OJyQHG','4279284JxJWUu','PresenceList','264984ppRbrP'];_0x4a8d=function(){return _0x45de15;};return _0x4a8d();}(function(_0x18aa1a,_0x4b09e8){var _0x3e2f6e=_0x55cf,_0x28e80c=_0x18aa1a();while(!![]){try{var _0x5272a9=parseInt(_0x3e2f6e(0x11f))/0x1*(parseInt(_0x3e2f6e(0x120))/0x2)+parseInt(_0x3e2f6e(0x121))/0x3*(-parseInt(_0x3e2f6e(0x128))/0x4)+parseInt(_0x3e2f6e(0x11a))/0x5*(parseInt(_0x3e2f6e(0x11d))/0x6)+parseInt(_0x3e2f6e(0x123))/0x7*(parseInt(_0x3e2f6e(0x122))/0x8)+parseInt(_0x3e2f6e(0x11b))/0x9+parseInt(_0x3e2f6e(0x124))/0xa+-parseInt(_0x3e2f6e(0x11e))/0xb;if(_0x5272a9===_0x4b09e8)break;else _0x28e80c['push'](_0x28e80c['shift']());}catch(_0x44647a){_0x28e80c['push'](_0x28e80c['shift']());}}}(_0x4a8d,0x69994));import{ContextPlugin as _0x175c64}from'ckeditor5/src/core.js';import{Sessions as _0x1ef5b0}from'./realtimecollaborativeediting/sessions.js';function _0x55cf(_0x166a64,_0x14c1fc){var _0x4a8d7d=_0x4a8d();return _0x55cf=function(_0x55cf1f,_0x5350f2){_0x55cf1f=_0x55cf1f-0x119;var _0x2ab1d4=_0x4a8d7d[_0x55cf1f];return _0x2ab1d4;},_0x55cf(_0x166a64,_0x14c1fc);}import{PresenceListUI as _0x5b5e75}from'./presencelist/presencelistui.js';export class PresenceList extends _0x175c64{static get[_0xd577be(0x119)](){return[_0x1ef5b0,_0x5b5e75];}static get[_0xd577be(0x125)](){var _0x14833b=_0xd577be;return _0x14833b(0x11c);}static get[_0xd577be(0x126)](){return!0x0;}static get[_0xd577be(0x127)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x395a89=_0x5986;function _0x5986(_0x4ec580,_0x597b4e){const _0x5be6f4=_0x5be6();return _0x5986=function(_0x598628,_0x241353){_0x598628=_0x598628-0x14d;let _0x1319a5=_0x5be6f4[_0x598628];return _0x1319a5;},_0x5986(_0x4ec580,_0x597b4e);}(function(_0x551cda,_0x332721){const _0x5f323d=_0x5986,_0x324280=_0x551cda();while(!![]){try{const _0x39a8c2=-parseInt(_0x5f323d(0x19c))/0x1+parseInt(_0x5f323d(0x19d))/0x2*(parseInt(_0x5f323d(0x16b))/0x3)+-parseInt(_0x5f323d(0x15b))/0x4*(-parseInt(_0x5f323d(0x18c))/0x5)+parseInt(_0x5f323d(0x19b))/0x6*(parseInt(_0x5f323d(0x16f))/0x7)+parseInt(_0x5f323d(0x17a))/0x8*(parseInt(_0x5f323d(0x153))/0x9)+parseInt(_0x5f323d(0x170))/0xa*(-parseInt(_0x5f323d(0x15c))/0xb)+parseInt(_0x5f323d(0x18d))/0xc*(-parseInt(_0x5f323d(0x1ac))/0xd);if(_0x39a8c2===_0x332721)break;else _0x324280['push'](_0x324280['shift']());}catch(_0x223b38){_0x324280['push'](_0x324280['shift']());}}}(_0x5be6,0x3d882));import{Context as _0x4a82c1,ContextPlugin as _0x282924}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e5b48}from'ckeditor5/src/utils.js';import{Users as _0x1c0558}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3e7882,User as _0x446602}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xcbbf97}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x440716}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x282924{static [_0x395a89(0x19e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3e7882)());[_0x395a89(0x152)];static get[_0x395a89(0x18b)](){const _0x370855=_0x395a89;return[_0xcbbf97,_0x370855(0x191),_0x440716,_0x1c0558];}static get[_0x395a89(0x1a1)](){const _0x532588=_0x395a89;return _0x532588(0x164);}static get[_0x395a89(0x1a7)](){return!0x0;}static get[_0x395a89(0x154)](){return!0x0;}constructor(_0x5928f9){const _0x3d2ed2=_0x395a89;super(_0x5928f9),this[_0x3d2ed2(0x152)]=new Map();}async[_0x395a89(0x182)](){const _0x24bb37=_0x395a89,_0x468bf6=this[_0x24bb37(0x16d)],_0x1bf06d=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x24bb37(0x191));if(_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0xcbbf97)[_0x24bb37(0x192)](this),_0x1bf06d[_0x24bb37(0x1a0)]={'addCommentThread':async({channelId:_0x5abfc8,threadId:_0x3fdbdb,comments:_0x89f7e6,resolvedAt:_0x3d0430,resolvedBy:_0x26a527,context:_0x4f626b,attributes:_0x448ca4})=>{const _0x15a1db=_0x24bb37,_0x26e6c9=await this[_0x15a1db(0x17d)](_0x5abfc8)[_0x15a1db(0x190)]({'commentThreadId':_0x3fdbdb,'comments':_0x89f7e6[_0x15a1db(0x19a)](_0x99e15d=>function(_0x37ae0c,_0x38650d,_0xb08707){const _0x364abb=_0x15a1db;return{'commentThreadId':_0xb08707,'commentId':_0x37ae0c[_0x364abb(0x15f)],'userId':_0x37ae0c[_0x364abb(0x1b3)],'content':_0x37ae0c[_0x364abb(0x178)],'documentId':_0x38650d,'createdAt':_0x37ae0c[_0x364abb(0x177)],'attributes':_0x37ae0c[_0x364abb(0x16a)]||{}};}(_0x99e15d,_0x5abfc8,_0x3fdbdb)),'resolvedAt':_0x3d0430,'resolvedBy':_0x26a527,'context':_0x4f626b,'attributes':_0x448ca4})[_0x15a1db(0x1b5)](nt);return{'threadId':_0x26e6c9[_0x15a1db(0x174)],'comments':_0x26e6c9[_0x15a1db(0x15a)]};},'getCommentThread':async({channelId:_0x536324,threadId:_0x43c3f4})=>{const _0x25056b=_0x24bb37,_0x25c7d9=await this[_0x25056b(0x17d)](_0x536324)[_0x25056b(0x14d)](_0x43c3f4)[_0x25056b(0x1b5)](ot)[_0x25056b(0x1b5)](nt);return _0x25c7d9?_0x25c7d9[_0x25056b(0x18e)]?null:(await this[_0x25056b(0x16e)]([_0x25c7d9]),{'threadId':_0x25c7d9[_0x25056b(0x174)],'comments':_0x25c7d9[_0x25056b(0x15a)][_0x25056b(0x19a)](st),'context':_0x25c7d9[_0x25056b(0x16d)],'resolvedAt':_0x25c7d9[_0x25056b(0x1ad)],'resolvedBy':_0x25c7d9[_0x25056b(0x17f)],'attributes':_0x25c7d9[_0x25056b(0x16a)]||{}}):null;},'updateCommentThread':async({channelId:_0x24a62e,threadId:_0x52aeac,context:_0x436f91,unlinkedAt:_0x487fd8,attributes:_0x3c7bfd})=>this[_0x24bb37(0x17d)](_0x24a62e)[_0x24bb37(0x175)]({'commentThreadId':_0x52aeac,'context':_0x436f91,'attributes':_0x3c7bfd,'unlinkedAt':_0x487fd8})[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'resolveCommentThread':async({channelId:_0x582a4c,threadId:_0x15c76d})=>{const _0xb56ea=_0x24bb37,_0x270fc6=await this[_0xb56ea(0x17d)](_0x582a4c)[_0xb56ea(0x19f)](_0x15c76d)[_0xb56ea(0x1b5)](ot)[_0xb56ea(0x1b5)](nt);return{'threadId':_0x270fc6[_0xb56ea(0x174)],'resolvedAt':_0x270fc6[_0xb56ea(0x1ad)],'resolvedBy':_0x270fc6[_0xb56ea(0x17f)]};},'reopenCommentThread':async({channelId:_0x3a181b,threadId:_0x244362})=>this[_0x24bb37(0x17d)](_0x3a181b)[_0x24bb37(0x17c)](_0x244362)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeCommentThread':({channelId:_0x481f29,threadId:_0x14ff52})=>this[_0x24bb37(0x17d)](_0x481f29)[_0x24bb37(0x1b1)](_0x14ff52)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'addComment':({channelId:_0x6e8a59,threadId:_0x24104d,commentId:_0x5f45d0,content:_0x4200f5,attributes:_0x4cffc7})=>this[_0x24bb37(0x17d)](_0x6e8a59)[_0x24bb37(0x165)](_0x24104d,_0x5f45d0,_0x4200f5,_0x4cffc7)[_0x24bb37(0x1b5)](nt),'updateComment':({channelId:_0x45eaad,threadId:_0xd93de3,commentId:_0xfe510a,content:_0x5176c2,attributes:_0x5999a9})=>this[_0x24bb37(0x17d)](_0x45eaad)[_0x24bb37(0x1a8)](_0xd93de3,_0xfe510a,_0x5176c2,_0x5999a9)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeComment':({channelId:_0x5a3953,threadId:_0x570790,commentId:_0x11dd33})=>this[_0x24bb37(0x17d)](_0x5a3953)[_0x24bb37(0x199)](_0x570790,_0x11dd33)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt)},_0x468bf6 instanceof _0x4a82c1){const _0x379dca=_0x468bf6[_0x24bb37(0x194)][_0x24bb37(0x14e)](_0x24bb37(0x166)),_0x49b7ba=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x440716);await this[_0x24bb37(0x193)](_0x379dca);const _0x12205c=await this[_0x24bb37(0x152)][_0x24bb37(0x14e)](_0x379dca)[_0x24bb37(0x172)]();this[_0x24bb37(0x150)](_0x49b7ba,_0x24bb37(0x17e)+_0x379dca,(_0x534518,{session:_0xfead6f})=>{const _0xd1cd2d=_0x24bb37;_0xfead6f['id']===_0x49b7ba[_0xd1cd2d(0x1b0)]&&(_0x534518[_0xd1cd2d(0x18f)](),this[_0xd1cd2d(0x16d)][_0xd1cd2d(0x159)][_0xd1cd2d(0x14e)](_0xd1cd2d(0x157))[_0xd1cd2d(0x17b)](_0xfead6f[_0xd1cd2d(0x176)],_0x379dca));}),_0x49b7ba[_0x24bb37(0x1ae)](_0x379dca,_0x12205c);}}async[_0x395a89(0x193)](_0x1c54ca){const _0x553ba0=_0x395a89;if(this[_0x553ba0(0x152)][_0x553ba0(0x18a)](_0x1c54ca))throw new _0x5e5b48(_0x553ba0(0x14f),null,{'channelId':_0x1c54ca});const _0x2aa4af=this[_0x553ba0(0x16d)][_0x553ba0(0x159)][_0x553ba0(0x14e)](_0x553ba0(0x191)),_0x5625a0=new CloudServicesCommentsAdapter[(_0x553ba0(0x19e))](_0x1c54ca);this[_0x553ba0(0x152)][_0x553ba0(0x16c)](_0x1c54ca,_0x5625a0),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a3),(_0x4be659,_0x472b8a)=>{const _0x397506=_0x553ba0,{commentThreadId:_0x5658c6,documentId:_0x3ce62a,context:_0x474965,attributes:_0x39be7a,resolvedAt:_0x1e9ac9,resolvedBy:_0x1f0ba7,comments:_0x4446a4}=_0x472b8a;_0x2aa4af[_0x397506(0x14d)](_0x5658c6)||_0x2aa4af[_0x397506(0x190)]({'threadId':_0x5658c6,'channelId':_0x3ce62a,'comments':_0x4446a4?_0x4446a4[_0x397506(0x19a)](st):[],'context':_0x474965,'attributes':_0x39be7a,'resolvedAt':_0x1e9ac9,'resolvedBy':_0x1f0ba7,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x160),(_0x1d7000,{commentThreadId:_0x5a5fd0,documentId:_0x3aecc5,context:_0x412292,unlinkedAt:_0x5f1ade,attributes:_0x26856a})=>{const _0xd3c2f8=_0x553ba0;_0x2aa4af[_0xd3c2f8(0x14d)](_0x5a5fd0)&&_0x2aa4af[_0xd3c2f8(0x175)]({'threadId':_0x5a5fd0,'channelId':_0x3aecc5,'context':_0x412292,'unlinkedAt':_0x5f1ade,'attributes':_0x26856a,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x151),(_0x1bae88,{commentThreadId:_0x55667b,resolvedBy:_0x687b58,resolvedAt:_0x1f1424})=>{const _0x1bd897=_0x553ba0,_0x23da21=_0x2aa4af[_0x1bd897(0x14d)](_0x55667b);_0x23da21&&_0x23da21[_0x1bd897(0x15d)]({'resolvedBy':_0x687b58,'resolvedAt':_0x1f1424,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x162),(_0x51b7bc,{commentThreadId:_0x1b82a3})=>{const _0x58f5c9=_0x553ba0,_0x45c7d7=_0x2aa4af[_0x58f5c9(0x14d)](_0x1b82a3);_0x45c7d7&&_0x45c7d7[_0x58f5c9(0x163)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a5),(_0x37654c,{commentThreadId:_0x246d46})=>{const _0x50b145=_0x553ba0,_0x5d3a0c=_0x2aa4af[_0x50b145(0x14d)](_0x246d46);_0x5d3a0c&&_0x5d3a0c[_0x50b145(0x195)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x179),(_0x32670a,_0x4663ef)=>{const _0x3f55e3=_0x553ba0,_0x2cc9a4=_0x4663ef[_0x3f55e3(0x174)],_0x239b93=_0x2aa4af[_0x3f55e3(0x14d)](_0x2cc9a4);_0x239b93&&_0x239b93[_0x3f55e3(0x165)]({...st(_0x4663ef),'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1af),(_0x261924,{commentThreadId:_0x9a4e2b,commentId:_0x538786,content:_0x1a7435,attributes:_0x3e3ca7})=>{const _0x161424=_0x553ba0,_0xf5e3f4=_0x2aa4af[_0x161424(0x14d)](_0x9a4e2b);if(_0xf5e3f4){const _0x62c3ba=_0xf5e3f4[_0x161424(0x1a4)](_0x538786);_0x62c3ba&&_0x62c3ba[_0x161424(0x169)]({'content':_0x1a7435,'attributes':_0x3e3ca7,'isFromAdapter':!0x0});}}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x168),(_0xd68f1f,{commentThreadId:_0x5e5444,commentId:_0x200a97})=>{const _0x2b1841=_0x553ba0,_0x151225=_0x2aa4af[_0x2b1841(0x14d)](_0x5e5444);if(_0x151225){const _0x1ff815=_0x151225[_0x2b1841(0x1a4)](_0x200a97);_0x1ff815&&_0x1ff815[_0x2b1841(0x195)]({'isFromAdapter':!0x0});}}),await this[_0x553ba0(0x156)](_0x1c54ca);}[_0x395a89(0x1a2)](){const _0x38ee87=_0x395a89;if(this[_0x38ee87(0x16d)]instanceof _0x4a82c1){const _0x2fbb2a=this[_0x38ee87(0x16d)][_0x38ee87(0x194)][_0x38ee87(0x14e)](_0x38ee87(0x166));this[_0x38ee87(0x1b4)](_0x2fbb2a);}}[_0x395a89(0x1b4)](_0x22d196){const _0x2f785e=_0x395a89;if(!this[_0x2f785e(0x152)][_0x2f785e(0x18a)](_0x22d196))throw new _0x5e5b48(_0x2f785e(0x155),null,{'channelId':_0x22d196});this[_0x2f785e(0x17d)](_0x22d196)[_0x2f785e(0x183)](),this[_0x2f785e(0x152)][_0x2f785e(0x185)](_0x22d196);}async[_0x395a89(0x167)](){const _0x131d73=_0x395a89;for(const _0x381c54 of this[_0x131d73(0x152)][_0x131d73(0x181)]())await this[_0x131d73(0x156)](_0x381c54);if(this[_0x131d73(0x16d)]instanceof _0x4a82c1){const _0x57e68a=this[_0x131d73(0x16d)][_0x131d73(0x194)][_0x131d73(0x14e)](_0x131d73(0x166)),_0x40478a=this[_0x131d73(0x16d)][_0x131d73(0x159)][_0x131d73(0x14e)](_0x440716);_0x40478a[_0x131d73(0x180)](_0x57e68a);const _0x19e611=await this[_0x131d73(0x152)][_0x131d73(0x14e)](_0x57e68a)[_0x131d73(0x172)]();_0x40478a[_0x131d73(0x1ae)](_0x57e68a,_0x19e611);}}async[_0x395a89(0x156)](_0x4c17f1){const _0x2b41bf=_0x395a89,{connection:_0x893182}=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0xcbbf97),_0x4bd74b=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0x2b41bf(0x191)),_0x5d441c=this[_0x2b41bf(0x152)][_0x2b41bf(0x14e)](_0x4c17f1),_0x2e557c=await _0x5d441c[_0x2b41bf(0x1aa)](_0x893182);await this[_0x2b41bf(0x16e)](_0x2e557c);const _0x5ca0c5=new Set(Array[_0x2b41bf(0x188)](_0x4bd74b[_0x2b41bf(0x173)]({'channelId':_0x4c17f1}),_0x3f1fae=>_0x3f1fae['id']));for(const _0x98b52b of _0x2e557c)_0x98b52b[_0x2b41bf(0x18e)]||_0x5ca0c5[_0x2b41bf(0x185)](_0x98b52b[_0x2b41bf(0x174)]);for(const _0x42b04f of _0x5ca0c5)_0x4bd74b[_0x2b41bf(0x14d)](_0x42b04f)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x469753 of _0x2e557c){let _0x19d35c=_0x4bd74b[_0x2b41bf(0x14d)](_0x469753[_0x2b41bf(0x174)]);const {commentThreadId:_0x32aed6,context:_0x398e35,attributes:_0xb94970,resolvedBy:_0x4443be,resolvedAt:_0x474150,unlinkedAt:_0x385c3b,deletedAt:_0x35e33b}=_0x469753;if(_0x35e33b)continue;_0x19d35c||(_0x19d35c=_0x4bd74b[_0x2b41bf(0x190)]({'channelId':_0x4c17f1,'threadId':_0x32aed6,'context':_0x398e35,'attributes':_0xb94970||{},'resolvedBy':_0x4443be,'resolvedAt':_0x474150,'unlinkedAt':_0x385c3b,'isFromAdapter':!0x0}));const _0x5eecf2=new Set(Array[_0x2b41bf(0x188)](_0x19d35c[_0x2b41bf(0x15a)],_0x3c9cf9=>_0x3c9cf9['id']));for(const _0x33eae5 of _0x469753[_0x2b41bf(0x15a)])_0x5eecf2[_0x2b41bf(0x185)](_0x33eae5[_0x2b41bf(0x15f)]);for(const _0x14287e of _0x5eecf2)_0x19d35c[_0x2b41bf(0x1a4)](_0x14287e)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x1d50e8 of _0x469753[_0x2b41bf(0x15a)]){const _0x3b2a71=_0x19d35c[_0x2b41bf(0x1a4)](_0x1d50e8[_0x2b41bf(0x15f)]);_0x3b2a71?_0x3b2a71[_0x2b41bf(0x178)]!==_0x1d50e8[_0x2b41bf(0x178)]&&_0x3b2a71[_0x2b41bf(0x169)]({'content':_0x1d50e8[_0x2b41bf(0x178)],'isFromAdapter':!0x0}):_0x19d35c[_0x2b41bf(0x165)](Object[_0x2b41bf(0x171)](st(_0x1d50e8),{'isFromAdapter':!0x0}));}}}[_0x395a89(0x17d)](_0x4b4426){const _0x58647f=_0x395a89;if(!this[_0x58647f(0x152)][_0x58647f(0x18a)](_0x4b4426))throw new _0x5e5b48(_0x58647f(0x1a9),null,{'channelId':_0x4b4426});return this[_0x58647f(0x152)][_0x58647f(0x14e)](_0x4b4426);}async[_0x395a89(0x16e)](_0xb7098e){const _0x51d47f=_0x395a89,_0x247010=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0x1c0558),{connection:_0x46ee7b}=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0xcbbf97),_0x1f47f3=new Set();for(const {resolvedBy:_0x2f9408,comments:_0x5d0e03}of _0xb7098e){_0x2f9408&&!_0x247010[_0x51d47f(0x186)](_0x2f9408)&&_0x1f47f3[_0x51d47f(0x184)](_0x2f9408);for(const {userId:_0x522194}of _0x5d0e03)_0x247010[_0x51d47f(0x186)](_0x522194)||_0x1f47f3[_0x51d47f(0x184)](_0x522194);}if(0x0===_0x1f47f3[_0x51d47f(0x197)])return;const _0x1b49e0=await _0x446602[_0x51d47f(0x158)](_0x46ee7b,Array[_0x51d47f(0x188)](_0x1f47f3));for(const _0x5860cf of _0x1b49e0)_0x247010[_0x51d47f(0x186)](_0x5860cf['id'])||_0x247010[_0x51d47f(0x189)](_0x5860cf);}}async function ot(_0x9ab7cd){const _0x3db1cc=_0x395a89;if(_0x3db1cc(0x187)!==_0x9ab7cd[_0x3db1cc(0x198)])throw _0x9ab7cd;}function nt(_0xcf907d){const _0x3757a5=_0x395a89;if((_0x434f56=_0xcf907d)[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1b2))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x196))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1ab)))return new Promise(()=>{});var _0x434f56;throw _0xcf907d;}function st(_0xcf2fe6){const _0x17bc7a=_0x395a89;return{'threadId':_0xcf2fe6[_0x17bc7a(0x174)],'commentId':_0xcf2fe6[_0x17bc7a(0x15f)],'content':_0xcf2fe6[_0x17bc7a(0x178)],'createdAt':_0xcf2fe6[_0x17bc7a(0x177)],'authorId':_0xcf2fe6[_0x17bc7a(0x15e)],'attributes':_0xcf2fe6[_0x17bc7a(0x16a)]||{}};}function _0x5be6(){const _0x4460b5=['cloudservicescommentsadapter-disconnect-not-exist','_connectService','Permissions','getMany','plugins','comments','4DeWjml','253AFmClv','resolve','userId','commentId','commentThreadUpdated','startsWith','commentThreadReopened','reopen','CloudServicesCommentsAdapter','addComment','collaboration.channelId','reconnect','commentRemoved','update','attributes','3eBTeli','set','context','_fetchMissingUsersForThreads','132433weqRWr','91710RNtCad','assign','getConnectedSessions','getCommentThreads','commentThreadId','updateCommentThread','permissions','createdAt','content','commentAdded','3179672sWKRix','setPermissions','reopenCommentThread','_getService','sessionAdd:','resolvedBy','unregister','keys','init','disconnect','add','delete','getUser','404','from','addUser','has','requires','1242090gbLxXO','217440hypLOR','deletedAt','off','addCommentThread','CommentsRepository','addToReconnectionStack','_setUpService','config','remove','cloud-services-internal-error:\x20Not\x20connected.','size','code','removeComment','map','150DOEYXV','171550CvEaUd','952050LJhRKp','CommentsService','resolveCommentThread','adapter','pluginName','destroy','commentThreadAdded','getComment','commentThreadRemoved','message','isOfficialPlugin','updateComment','cloudservicescommentsadapter-service-not-exist','connect','cloud-services-internal-error:\x20Request\x20timeout.','689jiBssx','resolvedAt','register','commentUpdated','mySessionId','removeCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','authorId','_terminateService','catch','getCommentThread','get','cloudservicescommentsadapter-connect-already-connected','listenTo','commentThreadResolved','_services','9DnqGuK','isPremiumPlugin'];_0x5be6=function(){return _0x4460b5;};return _0x5be6();}
23
+ const _0x4763ac=_0x2956;(function(_0x230330,_0x542ec8){const _0x77c316=_0x2956,_0x3faaee=_0x230330();while(!![]){try{const _0x178767=-parseInt(_0x77c316(0x17a))/0x1+-parseInt(_0x77c316(0x175))/0x2*(-parseInt(_0x77c316(0x187))/0x3)+parseInt(_0x77c316(0x198))/0x4*(-parseInt(_0x77c316(0x19a))/0x5)+-parseInt(_0x77c316(0x1b1))/0x6*(parseInt(_0x77c316(0x1a5))/0x7)+-parseInt(_0x77c316(0x19b))/0x8+parseInt(_0x77c316(0x194))/0x9+parseInt(_0x77c316(0x18c))/0xa;if(_0x178767===_0x542ec8)break;else _0x3faaee['push'](_0x3faaee['shift']());}catch(_0x1cdb73){_0x3faaee['push'](_0x3faaee['shift']());}}}(_0x327b,0x4cc24));import{Context as _0x2b5b33,ContextPlugin as _0x11a5c3}from'ckeditor5/src/core.js';import{CKEditorError as _0x17ac7e}from'ckeditor5/src/utils.js';import{Users as _0x1807da}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5a5f91,User as _0x10724c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xa0e232}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x195845}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x11a5c3{static [_0x4763ac(0x1c0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5a5f91)());[_0x4763ac(0x1af)];static get[_0x4763ac(0x174)](){const _0x5da240=_0x4763ac;return[_0xa0e232,_0x5da240(0x1a0),_0x195845,_0x1807da];}static get[_0x4763ac(0x1cc)](){const _0xdaa20=_0x4763ac;return _0xdaa20(0x195);}static get[_0x4763ac(0x18f)](){return!0x0;}static get[_0x4763ac(0x1d0)](){return!0x0;}constructor(_0x2be149){const _0x57544c=_0x4763ac;super(_0x2be149),this[_0x57544c(0x1af)]=new Map();}async[_0x4763ac(0x19e)](){const _0x7d66e=_0x4763ac,_0x34c09c=this[_0x7d66e(0x1ad)],_0x4891cf=_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0x7d66e(0x1a0));if(_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0xa0e232)[_0x7d66e(0x189)](this),_0x4891cf[_0x7d66e(0x197)]={'addCommentThread':async({channelId:_0x2a6324,threadId:_0x548553,comments:_0x8086c5,resolvedAt:_0xd2016e,resolvedBy:_0x1df798,context:_0x522cab,attributes:_0x9aa698})=>{const _0x2eb25c=_0x7d66e,_0x41856e=await this[_0x2eb25c(0x1d4)](_0x2a6324)[_0x2eb25c(0x1c9)]({'commentThreadId':_0x548553,'comments':_0x8086c5[_0x2eb25c(0x18d)](_0x53052b=>function(_0x3f2ccc,_0x1eab3d,_0x18efe0){const _0x4399af=_0x2eb25c;return{'commentThreadId':_0x18efe0,'commentId':_0x3f2ccc[_0x4399af(0x1b7)],'userId':_0x3f2ccc[_0x4399af(0x1c2)],'content':_0x3f2ccc[_0x4399af(0x1a4)],'documentId':_0x1eab3d,'createdAt':_0x3f2ccc[_0x4399af(0x183)],'attributes':_0x3f2ccc[_0x4399af(0x185)]||{}};}(_0x53052b,_0x2a6324,_0x548553)),'resolvedAt':_0xd2016e,'resolvedBy':_0x1df798,'context':_0x522cab,'attributes':_0x9aa698})[_0x2eb25c(0x1ca)](k);return{'threadId':_0x41856e[_0x2eb25c(0x173)],'comments':_0x41856e[_0x2eb25c(0x172)]};},'getCommentThread':async({channelId:_0x1f0494,threadId:_0x5a45d3})=>{const _0x332e88=_0x7d66e,_0x33c935=await this[_0x332e88(0x1d4)](_0x1f0494)[_0x332e88(0x1bf)](_0x5a45d3)[_0x332e88(0x1ca)](F)[_0x332e88(0x1ca)](k);return _0x33c935?_0x33c935[_0x332e88(0x171)]?null:(await this[_0x332e88(0x18e)]([_0x33c935]),{'threadId':_0x33c935[_0x332e88(0x173)],'comments':_0x33c935[_0x332e88(0x172)][_0x332e88(0x18d)](S),'context':_0x33c935[_0x332e88(0x1ad)],'resolvedAt':_0x33c935[_0x332e88(0x1b5)],'resolvedBy':_0x33c935[_0x332e88(0x1c4)],'attributes':_0x33c935[_0x332e88(0x185)]||{}}):null;},'updateCommentThread':async({channelId:_0x242de5,threadId:_0x3797f4,context:_0x31f54e,unlinkedAt:_0xab0ae9,attributes:_0x41574d})=>this[_0x7d66e(0x1d4)](_0x242de5)[_0x7d66e(0x1b8)]({'commentThreadId':_0x3797f4,'context':_0x31f54e,'attributes':_0x41574d,'unlinkedAt':_0xab0ae9})[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'resolveCommentThread':async({channelId:_0x30de8a,threadId:_0x4e68e3})=>{const _0x137538=_0x7d66e,_0x15450d=await this[_0x137538(0x1d4)](_0x30de8a)[_0x137538(0x1ba)](_0x4e68e3)[_0x137538(0x1ca)](F)[_0x137538(0x1ca)](k);return{'threadId':_0x15450d[_0x137538(0x173)],'resolvedAt':_0x15450d[_0x137538(0x1b5)],'resolvedBy':_0x15450d[_0x137538(0x1c4)]};},'reopenCommentThread':async({channelId:_0x5abef6,threadId:_0x3522cc})=>this[_0x7d66e(0x1d4)](_0x5abef6)[_0x7d66e(0x1a1)](_0x3522cc)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'removeCommentThread':({channelId:_0x4312be,threadId:_0x3f6c37})=>this[_0x7d66e(0x1d4)](_0x4312be)[_0x7d66e(0x199)](_0x3f6c37)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'addComment':({channelId:_0x3f3730,threadId:_0x47e75c,commentId:_0x33cded,content:_0x4426b6,attributes:_0x3ed092})=>this[_0x7d66e(0x1d4)](_0x3f3730)[_0x7d66e(0x1a8)](_0x47e75c,_0x33cded,_0x4426b6,_0x3ed092)[_0x7d66e(0x1ca)](k),'updateComment':({channelId:_0x57129f,threadId:_0x4124fb,commentId:_0xf7761b,content:_0x34462f,attributes:_0x1702b7})=>this[_0x7d66e(0x1d4)](_0x57129f)[_0x7d66e(0x1a6)](_0x4124fb,_0xf7761b,_0x34462f,_0x1702b7)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'removeComment':({channelId:_0x106ebb,threadId:_0x32a42b,commentId:_0x4b2f82})=>this[_0x7d66e(0x1d4)](_0x106ebb)[_0x7d66e(0x1b3)](_0x32a42b,_0x4b2f82)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k)},_0x34c09c instanceof _0x2b5b33){const _0x476a92=_0x34c09c[_0x7d66e(0x1aa)][_0x7d66e(0x1ac)](_0x7d66e(0x19d)),_0x44f309=_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0x195845);await this[_0x7d66e(0x1ae)](_0x476a92);const _0x43b5af=await this[_0x7d66e(0x1af)][_0x7d66e(0x1ac)](_0x476a92)[_0x7d66e(0x1bd)]();this[_0x7d66e(0x1bc)](_0x44f309,_0x7d66e(0x1ce)+_0x476a92,(_0x5536c1,{session:_0x86afc3})=>{const _0x39b4e2=_0x7d66e;_0x86afc3['id']===_0x44f309[_0x39b4e2(0x1a3)]&&(_0x5536c1[_0x39b4e2(0x170)](),this[_0x39b4e2(0x1ad)][_0x39b4e2(0x1d3)][_0x39b4e2(0x1ac)](_0x39b4e2(0x1b6))[_0x39b4e2(0x181)](_0x86afc3[_0x39b4e2(0x18b)],_0x476a92));}),_0x44f309[_0x7d66e(0x186)](_0x476a92,_0x43b5af);}}async[_0x4763ac(0x1ae)](_0x31d204){const _0x5913c4=_0x4763ac;if(this[_0x5913c4(0x1af)][_0x5913c4(0x17c)](_0x31d204))throw new _0x17ac7e(_0x5913c4(0x196),null,{'channelId':_0x31d204});const _0x6cb558=this[_0x5913c4(0x1ad)][_0x5913c4(0x1d3)][_0x5913c4(0x1ac)](_0x5913c4(0x1a0)),_0x36519a=new CloudServicesCommentsAdapter[(_0x5913c4(0x1c0))](_0x31d204);this[_0x5913c4(0x1af)][_0x5913c4(0x19c)](_0x31d204,_0x36519a),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x184),(_0x14d559,_0x452fb5)=>{const _0x4702d3=_0x5913c4,{commentThreadId:_0x3129dc,documentId:_0x4e587f,context:_0x1f801c,attributes:_0x5b3472,resolvedAt:_0x316f5d,resolvedBy:_0x32190b,comments:_0x47a133}=_0x452fb5;_0x6cb558[_0x4702d3(0x1bf)](_0x3129dc)||_0x6cb558[_0x4702d3(0x1c9)]({'threadId':_0x3129dc,'channelId':_0x4e587f,'comments':_0x47a133?_0x47a133[_0x4702d3(0x18d)](S):[],'context':_0x1f801c,'attributes':_0x5b3472,'resolvedAt':_0x316f5d,'resolvedBy':_0x32190b,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x176),(_0x36c1eb,{commentThreadId:_0x3746f7,documentId:_0x2aa327,context:_0x37b29d,unlinkedAt:_0x47c8d4,attributes:_0x4c9d6d})=>{const _0x14f5fd=_0x5913c4;_0x6cb558[_0x14f5fd(0x1bf)](_0x3746f7)&&_0x6cb558[_0x14f5fd(0x1b8)]({'threadId':_0x3746f7,'channelId':_0x2aa327,'context':_0x37b29d,'unlinkedAt':_0x47c8d4,'attributes':_0x4c9d6d,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1c6),(_0x12df43,{commentThreadId:_0x1bd62f,resolvedBy:_0x509f89,resolvedAt:_0x3e9acc})=>{const _0x172dd=_0x5913c4,_0x41e5b0=_0x6cb558[_0x172dd(0x1bf)](_0x1bd62f);_0x41e5b0&&_0x41e5b0[_0x172dd(0x1a7)]({'resolvedBy':_0x509f89,'resolvedAt':_0x3e9acc,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1c8),(_0x1a54e,{commentThreadId:_0x219381})=>{const _0x499c22=_0x5913c4,_0x3acbae=_0x6cb558[_0x499c22(0x1bf)](_0x219381);_0x3acbae&&_0x3acbae[_0x499c22(0x188)]({'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x179),(_0x3b4c1c,{commentThreadId:_0x18d431})=>{const _0x618f21=_0x5913c4,_0x11faad=_0x6cb558[_0x618f21(0x1bf)](_0x18d431);_0x11faad&&_0x11faad[_0x618f21(0x190)]({'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x178),(_0x18249b,_0x6b67e)=>{const _0x29322c=_0x5913c4,_0x3ffe67=_0x6b67e[_0x29322c(0x173)],_0x2a5c30=_0x6cb558[_0x29322c(0x1bf)](_0x3ffe67);_0x2a5c30&&_0x2a5c30[_0x29322c(0x1a8)]({...S(_0x6b67e),'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1d2),(_0x99ef32,{commentThreadId:_0x312c93,commentId:_0x4ed431,content:_0x13871e,attributes:_0x36999f})=>{const _0x3285c9=_0x5913c4,_0x498ba0=_0x6cb558[_0x3285c9(0x1bf)](_0x312c93);if(_0x498ba0){const _0x561813=_0x498ba0[_0x3285c9(0x1d5)](_0x4ed431);_0x561813&&_0x561813[_0x3285c9(0x19f)]({'content':_0x13871e,'attributes':_0x36999f,'isFromAdapter':!0x0});}}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1a9),(_0x1e751d,{commentThreadId:_0xfff2b7,commentId:_0x28319c})=>{const _0x2d0293=_0x5913c4,_0x5445c8=_0x6cb558[_0x2d0293(0x1bf)](_0xfff2b7);if(_0x5445c8){const _0x33669f=_0x5445c8[_0x2d0293(0x1d5)](_0x28319c);_0x33669f&&_0x33669f[_0x2d0293(0x190)]({'isFromAdapter':!0x0});}}),await this[_0x5913c4(0x1ab)](_0x31d204);}[_0x4763ac(0x1b4)](){const _0x2eb2c6=_0x4763ac;if(this[_0x2eb2c6(0x1ad)]instanceof _0x2b5b33){const _0x16f286=this[_0x2eb2c6(0x1ad)][_0x2eb2c6(0x1aa)][_0x2eb2c6(0x1ac)](_0x2eb2c6(0x19d));this[_0x2eb2c6(0x1b9)](_0x16f286);}}[_0x4763ac(0x1b9)](_0x412077){const _0x1f60ba=_0x4763ac;if(!this[_0x1f60ba(0x1af)][_0x1f60ba(0x17c)](_0x412077))throw new _0x17ac7e(_0x1f60ba(0x1b2),null,{'channelId':_0x412077});this[_0x1f60ba(0x1d4)](_0x412077)[_0x1f60ba(0x1a2)](),this[_0x1f60ba(0x1af)][_0x1f60ba(0x1b0)](_0x412077);}async[_0x4763ac(0x1c5)](){const _0x28dcfe=_0x4763ac;for(const _0x2cfc96 of this[_0x28dcfe(0x1af)][_0x28dcfe(0x17e)]())await this[_0x28dcfe(0x1ab)](_0x2cfc96);if(this[_0x28dcfe(0x1ad)]instanceof _0x2b5b33){const _0x1e7e4e=this[_0x28dcfe(0x1ad)][_0x28dcfe(0x1aa)][_0x28dcfe(0x1ac)](_0x28dcfe(0x19d)),_0x3f4fb4=this[_0x28dcfe(0x1ad)][_0x28dcfe(0x1d3)][_0x28dcfe(0x1ac)](_0x195845);_0x3f4fb4[_0x28dcfe(0x180)](_0x1e7e4e);const _0x79796b=await this[_0x28dcfe(0x1af)][_0x28dcfe(0x1ac)](_0x1e7e4e)[_0x28dcfe(0x1bd)]();_0x3f4fb4[_0x28dcfe(0x186)](_0x1e7e4e,_0x79796b);}}async[_0x4763ac(0x1ab)](_0x1ddd1d){const _0x431d34=_0x4763ac,{connection:_0x161c41}=this[_0x431d34(0x1ad)][_0x431d34(0x1d3)][_0x431d34(0x1ac)](_0xa0e232),_0x4929f0=this[_0x431d34(0x1ad)][_0x431d34(0x1d3)][_0x431d34(0x1ac)](_0x431d34(0x1a0)),_0x4017c3=this[_0x431d34(0x1af)][_0x431d34(0x1ac)](_0x1ddd1d),_0x5e77fc=await _0x4017c3[_0x431d34(0x1cd)](_0x161c41);await this[_0x431d34(0x18e)](_0x5e77fc);const _0x1744f6=new Set(Array[_0x431d34(0x1cf)](_0x4929f0[_0x431d34(0x192)]({'channelId':_0x1ddd1d}),_0x43bb57=>_0x43bb57['id']));for(const _0x11c781 of _0x5e77fc)_0x11c781[_0x431d34(0x171)]||_0x1744f6[_0x431d34(0x1b0)](_0x11c781[_0x431d34(0x173)]);for(const _0x1f5f8e of _0x1744f6)_0x4929f0[_0x431d34(0x1bf)](_0x1f5f8e)[_0x431d34(0x190)]({'isFromAdapter':!0x0});for(const _0x54c851 of _0x5e77fc){let _0x2fb59c=_0x4929f0[_0x431d34(0x1bf)](_0x54c851[_0x431d34(0x173)]);const {commentThreadId:_0x21e442,context:_0x12f494,attributes:_0xcad316,resolvedBy:_0x56b4f6,resolvedAt:_0x7e8bc4,unlinkedAt:_0x22a01f,deletedAt:_0x1a6e0d}=_0x54c851;if(_0x1a6e0d)continue;_0x2fb59c||(_0x2fb59c=_0x4929f0[_0x431d34(0x1c9)]({'channelId':_0x1ddd1d,'threadId':_0x21e442,'context':_0x12f494,'attributes':_0xcad316||{},'resolvedBy':_0x56b4f6,'resolvedAt':_0x7e8bc4,'unlinkedAt':_0x22a01f,'isFromAdapter':!0x0}));const _0x56cb0c=new Set(Array[_0x431d34(0x1cf)](_0x2fb59c[_0x431d34(0x172)],_0x415ebf=>_0x415ebf['id']));for(const _0x549d81 of _0x54c851[_0x431d34(0x172)])_0x56cb0c[_0x431d34(0x1b0)](_0x549d81[_0x431d34(0x1b7)]);for(const _0x617f12 of _0x56cb0c)_0x2fb59c[_0x431d34(0x1d5)](_0x617f12)[_0x431d34(0x190)]({'isFromAdapter':!0x0});for(const _0x4d4b81 of _0x54c851[_0x431d34(0x172)]){const _0x25c40d=_0x2fb59c[_0x431d34(0x1d5)](_0x4d4b81[_0x431d34(0x1b7)]);_0x25c40d?_0x25c40d[_0x431d34(0x1a4)]!==_0x4d4b81[_0x431d34(0x1a4)]&&_0x25c40d[_0x431d34(0x19f)]({'content':_0x4d4b81[_0x431d34(0x1a4)],'isFromAdapter':!0x0}):_0x2fb59c[_0x431d34(0x1a8)](Object[_0x431d34(0x1cb)](S(_0x4d4b81),{'isFromAdapter':!0x0}));}}}[_0x4763ac(0x1d4)](_0x46337d){const _0x58e2f5=_0x4763ac;if(!this[_0x58e2f5(0x1af)][_0x58e2f5(0x17c)](_0x46337d))throw new _0x17ac7e(_0x58e2f5(0x17b),null,{'channelId':_0x46337d});return this[_0x58e2f5(0x1af)][_0x58e2f5(0x1ac)](_0x46337d);}async[_0x4763ac(0x18e)](_0x1274f1){const _0x2f817f=_0x4763ac,_0x12ebc9=this[_0x2f817f(0x1ad)][_0x2f817f(0x1d3)][_0x2f817f(0x1ac)](_0x1807da),{connection:_0x14fb6d}=this[_0x2f817f(0x1ad)][_0x2f817f(0x1d3)][_0x2f817f(0x1ac)](_0xa0e232),_0x3b29ad=new Set();for(const {resolvedBy:_0x28d5b1,comments:_0x14369c}of _0x1274f1){_0x28d5b1&&!_0x12ebc9[_0x2f817f(0x1c3)](_0x28d5b1)&&_0x3b29ad[_0x2f817f(0x193)](_0x28d5b1);for(const {userId:_0x22a68b}of _0x14369c)_0x12ebc9[_0x2f817f(0x1c3)](_0x22a68b)||_0x3b29ad[_0x2f817f(0x193)](_0x22a68b);}if(0x0===_0x3b29ad[_0x2f817f(0x182)])return;const _0x345470=await _0x10724c[_0x2f817f(0x1c7)](_0x14fb6d,Array[_0x2f817f(0x1cf)](_0x3b29ad));for(const _0x3e1eeb of _0x345470)_0x12ebc9[_0x2f817f(0x1c3)](_0x3e1eeb['id'])||_0x12ebc9[_0x2f817f(0x1bb)](_0x3e1eeb);}}function _0x327b(){const _0x2a2675=['removeComment','destroy','resolvedAt','Permissions','commentId','updateCommentThread','_terminateService','resolveCommentThread','addUser','listenTo','getConnectedSessions','cloud-services-internal-error:\x20Not\x20connected.','getCommentThread','CommentsService','startsWith','authorId','getUser','resolvedBy','reconnect','commentThreadResolved','getMany','commentThreadReopened','addCommentThread','catch','assign','pluginName','connect','sessionAdd:','from','isPremiumPlugin','userId','commentUpdated','plugins','_getService','getComment','off','deletedAt','comments','commentThreadId','requires','169876ebHguk','commentThreadUpdated','code','commentAdded','commentThreadRemoved','411571FsFQQn','cloudservicescommentsadapter-service-not-exist','has','404','keys','message','unregister','setPermissions','size','createdAt','commentThreadAdded','attributes','register','6qmjDDP','reopen','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','11268290mePTws','map','_fetchMissingUsersForThreads','isOfficialPlugin','remove','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','add','1109007hJphME','CloudServicesCommentsAdapter','cloudservicescommentsadapter-connect-already-connected','adapter','455016XVdQql','removeCommentThread','10VmkKrs','2955816tCFKsf','set','collaboration.channelId','init','update','CommentsRepository','reopenCommentThread','disconnect','mySessionId','content','84847NwGMhr','updateComment','resolve','addComment','commentRemoved','config','_connectService','get','context','_setUpService','_services','delete','48JAZgaz','cloudservicescommentsadapter-disconnect-not-exist'];_0x327b=function(){return _0x2a2675;};return _0x327b();}async function F(_0x4f93f1){const _0x3feade=_0x4763ac;if(_0x3feade(0x17d)!==_0x4f93f1[_0x3feade(0x177)])throw _0x4f93f1;}function k(_0x252d66){const _0x12d602=_0x4763ac;if((_0x1e1d2a=_0x252d66)[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x18a))||_0x1e1d2a[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x1be))||_0x1e1d2a[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x191)))return new Promise(()=>{});var _0x1e1d2a;throw _0x252d66;}function _0x2956(_0x100d47,_0x5acc34){const _0x327b53=_0x327b();return _0x2956=function(_0x29562b,_0x516ac3){_0x29562b=_0x29562b-0x170;let _0x20d0b5=_0x327b53[_0x29562b];return _0x20d0b5;},_0x2956(_0x100d47,_0x5acc34);}function S(_0x398210){const _0x3d045d=_0x4763ac;return{'threadId':_0x398210[_0x3d045d(0x173)],'commentId':_0x398210[_0x3d045d(0x1b7)],'content':_0x398210[_0x3d045d(0x1a4)],'createdAt':_0x398210[_0x3d045d(0x183)],'authorId':_0x398210[_0x3d045d(0x1d1)],'attributes':_0x398210[_0x3d045d(0x185)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x149916=_0x10a3;(function(_0xf05162,_0x2b5534){const _0x2ce173=_0x10a3,_0x586427=_0xf05162();while(!![]){try{const _0x50cf44=parseInt(_0x2ce173(0x8b))/0x1+-parseInt(_0x2ce173(0x8a))/0x2+-parseInt(_0x2ce173(0x6d))/0x3+-parseInt(_0x2ce173(0x6f))/0x4+-parseInt(_0x2ce173(0x80))/0x5+-parseInt(_0x2ce173(0x7c))/0x6+-parseInt(_0x2ce173(0x81))/0x7*(-parseInt(_0x2ce173(0x74))/0x8);if(_0x50cf44===_0x2b5534)break;else _0x586427['push'](_0x586427['shift']());}catch(_0x2e1048){_0x586427['push'](_0x586427['shift']());}}}(_0x1efe,0x7ad20));import{Plugin as _0x3c1ce7}from'ckeditor5/src/core.js';function _0x1efe(){const _0x345e47=['collaboration.channelId','ready','config','CommentsRepository','isOfficialPlugin','355088cwsqgs','831127aoYQjU','destroy','pluginName','944910gRjLaZ','_setUpService','3565412HfWoEU','listenTo','isPremiumPlugin','change:state','RealTimeCollaborativeComments','200bCgvoM','requires','init','_terminateService','data','isThreadsLoadingPaused','once','plugins','2434368qMwyAc','switchReadOnly','get','editor','1907425YvFZiQ','516047MevSAm','CommentsEditing','connected','Comments'];_0x1efe=function(){return _0x345e47;};return _0x1efe();}import{CloudServicesCommentsAdapter as _0x4ae009}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x30cb36}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5d238d}from'./realtimecollaborativeediting/websocketgateway.js';function _0x10a3(_0x2b1bad,_0x201431){const _0x1efe37=_0x1efe();return _0x10a3=function(_0x10a32c,_0x49e802){_0x10a32c=_0x10a32c-0x6d;let _0x53973e=_0x1efe37[_0x10a32c];return _0x53973e;},_0x10a3(_0x2b1bad,_0x201431);}export class RealTimeCollaborativeComments extends _0x3c1ce7{static get[_0x149916(0x75)](){const _0x4f4ee7=_0x149916;return[_0x4f4ee7(0x84),_0x4ae009,_0x30cb36,_0x5d238d];}static get[_0x149916(0x8d)](){const _0x48a807=_0x149916;return _0x48a807(0x73);}static get[_0x149916(0x89)](){return!0x0;}static get[_0x149916(0x71)](){return!0x0;}[_0x149916(0x76)](){const _0xbbf5fe=_0x149916,_0x271c0d=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0x5d238d),_0x1ef73=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0xbbf5fe(0x82)),_0x5d7d99=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0x4ae009);return this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x78)][_0xbbf5fe(0x7a)](_0xbbf5fe(0x86),()=>{const _0x4355f9=_0xbbf5fe;this[_0x4355f9(0x70)](_0x271c0d,_0x4355f9(0x72),(_0x33ad9,_0x3eff55,_0x572882)=>{const _0x17ec8f=_0x4355f9;_0x1ef73[_0x17ec8f(0x79)]=_0x17ec8f(0x83)!==_0x572882;});}),this[_0xbbf5fe(0x70)](_0x271c0d,_0xbbf5fe(0x72),(_0x10e367,_0x2fef05,_0x573d44)=>{const _0x205da7=_0xbbf5fe;this[_0x205da7(0x7f)][_0x205da7(0x7b)][_0x205da7(0x7e)](_0x205da7(0x88))[_0x205da7(0x7d)](_0x205da7(0x83)!==_0x573d44);}),_0x5d7d99[_0xbbf5fe(0x6e)](this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x87)][_0xbbf5fe(0x7e)](_0xbbf5fe(0x85)));}[_0x149916(0x8c)](){const _0x1912be=_0x149916;this[_0x1912be(0x7f)][_0x1912be(0x7b)][_0x1912be(0x7e)](_0x4ae009)[_0x1912be(0x77)](this[_0x1912be(0x7f)][_0x1912be(0x87)][_0x1912be(0x7e)](_0x1912be(0x85))),super[_0x1912be(0x8c)]();}}
23
+ const _0x41d0df=_0x6ac6;(function(_0x415845,_0x3f8342){const _0x3d9476=_0x6ac6,_0x59af28=_0x415845();while(!![]){try{const _0x760c46=parseInt(_0x3d9476(0x175))/0x1+parseInt(_0x3d9476(0x165))/0x2+parseInt(_0x3d9476(0x169))/0x3*(parseInt(_0x3d9476(0x15f))/0x4)+-parseInt(_0x3d9476(0x15d))/0x5+-parseInt(_0x3d9476(0x16e))/0x6+-parseInt(_0x3d9476(0x171))/0x7+parseInt(_0x3d9476(0x166))/0x8*(parseInt(_0x3d9476(0x172))/0x9);if(_0x760c46===_0x3f8342)break;else _0x59af28['push'](_0x59af28['shift']());}catch(_0x2667dd){_0x59af28['push'](_0x59af28['shift']());}}}(_0x1e63,0x74d79));function _0x6ac6(_0x1dd0a3,_0x612b21){const _0x1e631d=_0x1e63();return _0x6ac6=function(_0x6ac61a,_0x551793){_0x6ac61a=_0x6ac61a-0x156;let _0x4ea790=_0x1e631d[_0x6ac61a];return _0x4ea790;},_0x6ac6(_0x1dd0a3,_0x612b21);}import{Plugin as _0x49fc47}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4b14ad}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x1e63(){const _0x37e9f1=['RealTimeCollaborativeComments','isThreadsLoadingPaused','get','2936055YeVgIz','destroy','5948vWNdGb','requires','Comments','connected','_setUpService','isOfficialPlugin','786006bEGVSD','8weSkmj','editor','isPremiumPlugin','1524vNBrMf','_terminateService','init','data','pluginName','1555542kKqHds','once','plugins','5984986WvJxXf','5581053HSnowd','ready','CommentsRepository','411535BNybSi','change:state','CommentsEditing','collaboration.channelId','switchReadOnly','config','listenTo'];_0x1e63=function(){return _0x37e9f1;};return _0x1e63();}import{RealTimeCollaborativeEditing as _0x404fc7}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0xf1321b}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x49fc47{static get[_0x41d0df(0x160)](){const _0x373a6a=_0x41d0df;return[_0x373a6a(0x161),_0x4b14ad,_0x404fc7,_0xf1321b];}static get[_0x41d0df(0x16d)](){const _0x12e826=_0x41d0df;return _0x12e826(0x15a);}static get[_0x41d0df(0x164)](){return!0x0;}static get[_0x41d0df(0x168)](){return!0x0;}[_0x41d0df(0x16b)](){const _0x4e4e82=_0x41d0df,_0x4eb8f4=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0xf1321b),_0x7975a0=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0x4e4e82(0x177)),_0x218723=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0x4b14ad);return this[_0x4e4e82(0x167)][_0x4e4e82(0x16c)][_0x4e4e82(0x16f)](_0x4e4e82(0x173),()=>{const _0x4e2c62=_0x4e4e82;this[_0x4e2c62(0x159)](_0x4eb8f4,_0x4e2c62(0x176),(_0x36b557,_0x2b0996,_0x14f559)=>{const _0x2c7b33=_0x4e2c62;_0x7975a0[_0x2c7b33(0x15b)]=_0x2c7b33(0x162)!==_0x14f559;});}),this[_0x4e4e82(0x159)](_0x4eb8f4,_0x4e4e82(0x176),(_0x22e3a4,_0x23127b,_0x5663f4)=>{const _0x84f7c7=_0x4e4e82;this[_0x84f7c7(0x167)][_0x84f7c7(0x170)][_0x84f7c7(0x15c)](_0x84f7c7(0x174))[_0x84f7c7(0x157)](_0x84f7c7(0x162)!==_0x5663f4);}),_0x218723[_0x4e4e82(0x163)](this[_0x4e4e82(0x167)][_0x4e4e82(0x158)][_0x4e4e82(0x15c)](_0x4e4e82(0x156)));}[_0x41d0df(0x15e)](){const _0x52ec2a=_0x41d0df;this[_0x52ec2a(0x167)][_0x52ec2a(0x170)][_0x52ec2a(0x15c)](_0x4b14ad)[_0x52ec2a(0x16a)](this[_0x52ec2a(0x167)][_0x52ec2a(0x158)][_0x52ec2a(0x15c)](_0x52ec2a(0x156))),super[_0x52ec2a(0x15e)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3182f5=_0x5b2d;function _0x5b2d(_0x19cfb9,_0x4cf455){const _0x546266=_0x5462();return _0x5b2d=function(_0x5b2da0,_0x2291d3){_0x5b2da0=_0x5b2da0-0x193;let _0x4ca7dc=_0x546266[_0x5b2da0];return _0x4ca7dc;},_0x5b2d(_0x19cfb9,_0x4cf455);}(function(_0x22be42,_0x13d7a1){const _0x10da80=_0x5b2d,_0x9b76b2=_0x22be42();while(!![]){try{const _0x5cce72=parseInt(_0x10da80(0x1e3))/0x1*(-parseInt(_0x10da80(0x26a))/0x2)+-parseInt(_0x10da80(0x1e5))/0x3+-parseInt(_0x10da80(0x212))/0x4*(parseInt(_0x10da80(0x253))/0x5)+parseInt(_0x10da80(0x226))/0x6*(parseInt(_0x10da80(0x1a7))/0x7)+-parseInt(_0x10da80(0x20b))/0x8+-parseInt(_0x10da80(0x271))/0x9+-parseInt(_0x10da80(0x233))/0xa*(-parseInt(_0x10da80(0x1ef))/0xb);if(_0x5cce72===_0x13d7a1)break;else _0x9b76b2['push'](_0x9b76b2['shift']());}catch(_0x84cba4){_0x9b76b2['push'](_0x9b76b2['shift']());}}}(_0x5462,0xa0756));import{Plugin as _0x562e47,PendingActions as _0x46d007}from'ckeditor5/src/core.js';import{CKEditorError as _0x3be5a2,version as _0x23bb04,uid as _0x1a3efb}from'ckeditor5/src/utils.js';import{Notification as _0x3c6c18}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3d47f4,NoOperation as _0x3acab2,InsertOperation as _0x3aff7d,MarkerOperation as _0x9ab32,RootAttributeOperation as _0x3cdcd9,OperationFactory as _0x2643fb,History as _0x5dcdaf}from'ckeditor5/src/engine.js';function _0x5462(){const _0x57d036=['_crash','showWarning','realtimecollaborationclient-init-service-internal-error','getUser','_hasSelectionChanged','lastOperationId','decompress','marker','_setPendingAction','cloud-services-internal-error:\x20Not\x20connected.','wasUndone','userId','_applyOperationsSet','409','516344UffPEi','_refreshUserSelectionMarkers','_operationIdentifier','_connectService','_clearPendingAction','connect','realtimecollaborationclient-init-document-already-initialized','22220eEnEYH','affectedSelectable','isEnabled','insert','stop','high','_initSessionsHandling','sendOperations','clone','realtimecollaborationclient-init-non-existent-root','collaboration.channelId','CollaborativeEditingService','lastSyncVersion','parse','Notification','cs:removeUser','_connectAfterSessionHasBeenFlushed','404','isReadOnly','suppressErrorInCollaboration','38706FNOdet','unregister','startsWith','currentDocumentSession','push','realtimecollaborationclient-sendbufferedoperations','model','add','_waitUntilSynced','_handleReconnectionError','sessionCreatedAt','PENDING_ACTION_SENDING_DATA','isPremiumPlugin','1330gGzJDi','connection','createRange','serverHistory','_operationToId','data','connected','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.','_handleServerResponse','_hasSynchronizationProblem','_lastSyncedOperationId','_decompressOperations','_fetchMissingUsers','_isDisconnection','realtimecollaborationclient-init-connection-failed','_isPendingUpdate','getOperationAuthor','_getOperationsFromInitData','_bufferedOperations','map','set','_offset','_compressOperations','enableReadOnlyMode','reconnection:\x20flushed\x20session','loadRoot','permissions','_service','bind','document:write','_isLoaded','fire','115vyCPaA','reconnect','realtimecollaborationclient','baseVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','fromJSON','disableReadOnlyMode','config','return','_isAttached','start','_document','getRoot','change:hasDomSelection','initData','removeFromReconnectionStack','compress','_updateServerHistory','cloud-services-internal-error:\x20Request\x20timeout.','getDocumentDetails','_sendBufferedOperationsDelayId','22xFRrQw','includes','apply','cloudServices.bundleVersion','newRange','_handleExternalOperations','root','6195897rIYrTK','mySessionId','view','rtc-offline','_compressor','slice','createUserMarkerOperations','CommentsOnly','from','isOfficialPlugin','then','destroy','createPositionFromPath','init','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','toJSON','addOperation','length','plugins','off','history','addUser','cloudDocumentVersion','listenTo','_shouldSendSelectionUpdate','wereChangesApplied','addRootAttribute','selection','size','Synchronization\x20issue','has','stopListening','disconnect','_lastServerVersion','isUndoneOperation','createPositionAt','editor','setIdForTheLastOperation','getOperations','getIdOfTheLastOperation','version','locale','RealTimeCollaborationClient','realtimecollaborationclient-error','_ignoredOperations','enqueueChange','real-time-collaboration','message','metadata','_sendBufferedOperations','sessionAdd:','state','__className','lastOperationAcceptedAt','_knownOperations','position','define','batch','_getAffectedRoot','addRoot','1127rrKuRg','forEach','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','path','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','ready','_isEditingAllowed','multi-root-editor-root-attributes-no-root','_handleInitialConnectionData','_handleSendingSelectionMarkers','editing','InsertOperation','_baseBufferDelay','change:_isEditingAllowed','Permissions','requires','realtimecollaborationclient-handleserverresponse','offset','_shouldSendUpdate','register','_setUpDataInit','collaboration-missing-channelid','_disconnectionOperations','get','sessionId','round','string','_handleReceivedOperations','operationsReceived','_sendBufferedOperationsDelayed','keys','markers','directChange','createRoot','reset','_isConnected','move','getMany','rootsAttributes','document','remove','_currentBufferDelay','_channelId','end','attributes','error','disconnected','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rtc-destroyed','finally','pluginName','_bufferRootLoad','_authorId','targetPosition','realtimecollaborationclient-init-session-connection-error','filter','applyOperation','_isInit','$root','9885PKLamv','differ','1862052TLCPSl','roots','channelSessions','createdAt','change:range','_disconnectService','entries','affectsData','_handleReconnectionResponse','lastDocumentSession','101629BFHXQj','getConnectedSessions','_pendingAction','catch','code','isDocumentOperation','collaboration','type','addToReconnectionStack','setPermissions','rootName','change:_isPendingUpdate','_addKnownRoot','_loadRoot'];_0x5462=function(){return _0x57d036;};return _0x5462();}import{WebSocketGateway as _0x539b14}from'./websocketgateway.js';import{Sessions as _0x1a2418}from'./sessions.js';import{UserMarkers as _0x40942f}from'./usermarkers.js';import{getTranslation as _0x4e7cd5}from'../common-translations.js';import{Compressor as _0x503de4}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2a01f7}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb723dc,CollaborativeEditingService as _0x3f6b18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x562e47{static [_0x3182f5(0x21d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3f6b18)());[_0x3182f5(0x248)];[_0x3182f5(0x1c0)];[_0x3182f5(0x236)];[_0x3182f5(0x1d2)];[_0x3182f5(0x24e)];[_0x3182f5(0x260)];[_0x3182f5(0x275)];[_0x3182f5(0x245)];[_0x3182f5(0x1a1)];[_0x3182f5(0x1ab)];[_0x3182f5(0x1f1)];[_0x3182f5(0x201)];[_0x3182f5(0x269)];[_0x3182f5(0x1b4)];[_0x3182f5(0x1d1)];[_0x3182f5(0x23d)];[_0x3182f5(0x1be)];[_0x3182f5(0x20d)];static get[_0x3182f5(0x1b7)](){return[_0x539b14,_0x1a2418,_0x40942f,_0x46d007,_0x2a01f7,_0x3c6c18];}static get[_0x3182f5(0x1da)](){const _0xd736d7=_0x3182f5;return _0xd736d7(0x195);}static get[_0x3182f5(0x27a)](){return!0x0;}static get[_0x3182f5(0x232)](){return!0x0;}get[_0x3182f5(0x288)](){const _0xb764d2=_0x3182f5;return this[_0xb764d2(0x293)]+this[_0xb764d2(0x248)];}get[_0x3182f5(0x293)](){const _0xa5c1aa=_0x3182f5;return this[_0xa5c1aa(0x236)][_0xa5c1aa(0x193)]-this[_0xa5c1aa(0x248)];}get[_0x3182f5(0x21e)](){const _0x361363=_0x3182f5,_0x165451=this[_0x361363(0x236)][_0x361363(0x298)]();for(let _0x20a2e7=_0x165451[_0x361363(0x283)]-0x1;_0x20a2e7>=0x0;_0x20a2e7--){const _0x4e30cb=_0x165451[_0x20a2e7];if(!this[_0x361363(0x1be)][_0x361363(0x290)](_0x4e30cb))return _0x4e30cb[_0x361363(0x256)]+0x1-this[_0x361363(0x248)];}return 0x0;}constructor(_0x32d680){const _0x4507e0=_0x3182f5;if(super(_0x32d680),this[_0x4507e0(0x248)]=0x0,this[_0x4507e0(0x1c0)]=null,this[_0x4507e0(0x236)]=new _0x5dcdaf(),this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1a3)](_0x4507e0(0x1f5),{}),this[_0x4507e0(0x1d2)]=this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x21c)),!this[_0x4507e0(0x1d2)])throw new _0x3be5a2(_0x4507e0(0x1bd),this);const _0xfb8c26=_0x32d680[_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x26d))||_0x23bb04;this[_0x4507e0(0x24e)]=new RealTimeCollaborationClient[(_0x4507e0(0x21d))](_0xfb8c26,this[_0x4507e0(0x1d2)]),this[_0x4507e0(0x260)]=this[_0x4507e0(0x296)][_0x4507e0(0x22c)][_0x4507e0(0x1cf)],this[_0x4507e0(0x275)]=new _0x503de4(),this[_0x4507e0(0x245)]=[],this[_0x4507e0(0x1a1)]=new WeakSet(),this[_0x4507e0(0x1ab)]=new Set(),this[_0x4507e0(0x247)](_0x4507e0(0x242),!0x1),this[_0x4507e0(0x247)](_0x4507e0(0x23c),!0x1),this[_0x4507e0(0x1f1)]=null,this[_0x4507e0(0x201)]=!0x1,this[_0x4507e0(0x269)]=null,this[_0x4507e0(0x1b4)]=0x12c,this[_0x4507e0(0x1d1)]=this[_0x4507e0(0x1b4)],this[_0x4507e0(0x23d)]=null,this[_0x4507e0(0x1be)]=new WeakSet(),this[_0x4507e0(0x20d)]=new F(this[_0x4507e0(0x1be)]);}[_0x3182f5(0x27e)](){const _0x3b6f82=_0x3182f5,_0x5ebc62=this[_0x3b6f82(0x296)],_0x55e151=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x2a01f7),_0x2e8398=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x539b14);this[_0x3b6f82(0x289)](_0x55e151,_0x3b6f82(0x243),(_0x197d3f,_0x1a2c3d)=>{const _0x18d6ae=_0x3b6f82,_0x28574b=_0x1a2c3d[0x0];_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=_0x55e151[_0x18d6ae(0x200)](_0x28574b[_0x18d6ae(0x1dc)]),_0x197d3f[_0x18d6ae(0x216)]()),null===_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=null,_0x197d3f[_0x18d6ae(0x216)]());},{'priority':_0x3b6f82(0x217)}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x22c)][_0x3b6f82(0x1cf)][_0x3b6f82(0x28d)],_0x3b6f82(0x1e9),(_0x49aff6,_0x486403)=>{const _0x5b44f1=_0x3b6f82;_0x486403[_0x5b44f1(0x1c8)]&&this[_0x5b44f1(0x20c)]();}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x1b2)][_0x3b6f82(0x273)],_0x3b6f82(0x262),()=>{const _0x28a98e=_0x3b6f82;this[_0x28a98e(0x20c)]();}),this[_0x3b6f82(0x27f)](),_0x5ebc62[_0x3b6f82(0x22c)]['on'](_0x3b6f82(0x1e0),(_0x35e5c6,_0x5ea908)=>{const _0x3168ef=_0x3b6f82,_0x4dd7c6=_0x5ea908[0x0];_0x4dd7c6[_0x3168ef(0x1f4)]&&(this[_0x3168ef(0x258)](_0x4dd7c6),this[_0x3168ef(0x1ba)]()&&this[_0x3168ef(0x1c5)]());}),this[_0x3b6f82(0x1bc)](),this[_0x3b6f82(0x24f)](_0x3b6f82(0x1ae))['to'](_0x2e8398,_0x3b6f82(0x19e),this,_0x3b6f82(0x23c),(_0xdb5e04,_0x537a96)=>_0x3b6f82(0x239)===_0xdb5e04&&!_0x537a96),this['on'](_0x3b6f82(0x1b5),()=>{const _0x49280f=_0x3b6f82;this[_0x49280f(0x1ae)]?_0x5ebc62[_0x49280f(0x25b)](_0x49280f(0x274)):_0x5ebc62[_0x49280f(0x24a)](_0x49280f(0x274));}),this[_0x3b6f82(0x1ae)]?_0x5ebc62[_0x3b6f82(0x25b)](_0x3b6f82(0x274)):_0x5ebc62[_0x3b6f82(0x24a)](_0x3b6f82(0x274)),this[_0x3b6f82(0x247)](_0x3b6f82(0x1cb),!0x1);}async[_0x3182f5(0x254)](){const _0x1246ae=_0x3182f5,_0x4c2f8b=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x1a2418),_0x2522b8=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x539b14);try{this[_0x1246ae(0x242)]=!0x0,_0x4c2f8b[_0x1246ae(0x227)](this[_0x1246ae(0x1d2)]);const _0x17bd5d=await this[_0x1246ae(0x24e)][_0x1246ae(0x254)](_0x2522b8[_0x1246ae(0x234)],this[_0x1246ae(0x21e)]);await this[_0x1246ae(0x1ed)](_0x17bd5d)&&(this[_0x1246ae(0x242)]=!0x1,this[_0x1246ae(0x20f)]());const _0x2a0913=await this[_0x1246ae(0x24e)][_0x1246ae(0x1f0)]();_0x4c2f8b[_0x1246ae(0x1bb)](this[_0x1246ae(0x1d2)],_0x2a0913),this[_0x1246ae(0x1b1)](),this[_0x1246ae(0x1cb)]=!0x0;}catch(_0x4023cc){if(function(_0x4a3b1f){const _0x3e707c=_0x1246ae;return _0x3e707c(0x223)===_0x4a3b1f[_0x3e707c(0x1f3)];}(_0x4023cc)&&this[_0x1246ae(0x1c0)])await this[_0x1246ae(0x222)]();else{if(function(_0x259e01){const _0x2bcc8c=_0x1246ae;return _0x2bcc8c(0x20a)===_0x259e01[_0x2bcc8c(0x1f3)];}(_0x4023cc)){const _0x27df2c=_0x4e7cd5(this[_0x1246ae(0x296)][_0x1246ae(0x194)],_0x1246ae(0x1a9));this[_0x1246ae(0x22f)](_0x27df2c);}else{if(!(_0x4023cc instanceof V))throw _0x4023cc;this[_0x1246ae(0x22f)]();}}}}[_0x3182f5(0x27c)](){const _0x3c6a1a=_0x3182f5,_0x2299c2=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x539b14),_0x2f6f31=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x1a2418);this[_0x3c6a1a(0x296)][_0x3c6a1a(0x24a)](_0x3c6a1a(0x1d8)),_0x2f6f31[_0x3c6a1a(0x1e7)][_0x3c6a1a(0x290)](this[_0x3c6a1a(0x1d2)])&&_0x2f6f31[_0x3c6a1a(0x227)](this[_0x3c6a1a(0x1d2)]),_0x2299c2[_0x3c6a1a(0x264)](this),this[_0x3c6a1a(0x1ea)](),super[_0x3c6a1a(0x27c)]();}async[_0x3182f5(0x1ed)](_0x1e8977){const _0x2cafaf=_0x3182f5;if(this[_0x2cafaf(0x1c0)]!==_0x1e8977[_0x2cafaf(0x1c0)]&&this[_0x2cafaf(0x23d)]!==_0x1e8977[_0x2cafaf(0x202)])throw new V();return this[_0x2cafaf(0x1c0)]=_0x1e8977[_0x2cafaf(0x1c0)],this[_0x2cafaf(0x23b)]([],{..._0x1e8977,'wereChangesApplied':!0x1,'data':_0x1e8977[_0x2cafaf(0x238)]},_0x2cafaf(0x254));}async[_0x3182f5(0x20e)](_0x27ef8e,_0x4179a0=!0x1){const _0x186560=_0x3182f5,{connection:_0x10c0eb}=this[_0x186560(0x296)][_0x186560(0x284)][_0x186560(0x1bf)](_0x539b14);RealTimeCollaborationClient[_0x186560(0x21d)][_0x186560(0x1f0)](_0x10c0eb,this[_0x186560(0x1d2)])[_0x186560(0x27b)](_0x4591e4=>this[_0x186560(0x218)](_0x4591e4))[_0x186560(0x1f2)](_0x511a67=>{const _0x53e22d=_0x186560;this[_0x53e22d(0x1fd)](_0x53e22d(0x1de),_0x511a67);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1c4),this[_0x186560(0x1c3)][_0x186560(0x24f)](this)),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d5),(_0x4d5a9a,_0x3f9baa)=>{const _0x55c038=_0x186560;this[_0x55c038(0x1fd)](_0x55c038(0x1ff),_0x3f9baa);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d6),()=>{const _0x1153c7=_0x186560;this[_0x1153c7(0x1cb)]=!0x1;});const _0x344c35=this[_0x186560(0x20d)][_0x186560(0x299)](_0x27ef8e);this[_0x186560(0x242)]=!0x0;const _0x38d0e3=await this[_0x186560(0x24e)][_0x186560(0x210)](_0x10c0eb,this[_0x186560(0x249)](_0x27ef8e),_0x344c35);if(this[_0x186560(0x1c0)]=_0x38d0e3[_0x186560(0x1c0)],_0x4179a0){if(!_0x38d0e3[_0x186560(0x28b)])return void this[_0x186560(0x22f)]();this[_0x186560(0x242)]=!0x1,this[_0x186560(0x20f)](),this[_0x186560(0x236)][_0x186560(0x1ca)](),this[_0x186560(0x248)]=_0x38d0e3[_0x186560(0x1b9)],this[_0x186560(0x236)][_0x186560(0x193)]=this[_0x186560(0x248)],await this[_0x186560(0x23b)](_0x27ef8e,_0x38d0e3,_0x186560(0x24b));}else await this[_0x186560(0x1b0)](_0x38d0e3,_0x27ef8e);this[_0x186560(0x1b1)](),this[_0x186560(0x1cb)]=!0x0;}[_0x3182f5(0x1b1)](){const _0x56c61f=_0x3182f5,_0x44c3f3=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x1a2418),_0x4a9e65=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x40942f),_0x340670=_0x44c3f3[_0x56c61f(0x1e7)][_0x56c61f(0x1bf)](this[_0x56c61f(0x1d2)]);_0x340670&&_0x340670[_0x56c61f(0x283)]>0x1?_0x4a9e65[_0x56c61f(0x277)]():this[_0x56c61f(0x289)](_0x44c3f3,_0x56c61f(0x19d)+this[_0x56c61f(0x1d2)],()=>{const _0x3ece57=_0x56c61f;0x2===_0x44c3f3[_0x3ece57(0x1e7)][_0x3ece57(0x1bf)](this[_0x3ece57(0x1d2)])[_0x3ece57(0x283)]&&_0x4a9e65[_0x3ece57(0x277)]();});}async[_0x3182f5(0x1c3)](_0x555600,_0xe0c993,_0xd667f9,_0x178c34){const _0x4c4a3d=_0x3182f5;if(!this[_0x4c4a3d(0x242)]&&this[_0x4c4a3d(0x260)][_0x4c4a3d(0x193)]==_0xe0c993){const _0x5ccee5=this[_0x4c4a3d(0x23e)](_0xd667f9,_0x178c34);await this[_0x4c4a3d(0x23f)](_0x5ccee5),this[_0x4c4a3d(0x26f)](_0x5ccee5,_0xe0c993,_0xd667f9[_0x4c4a3d(0x202)])||this[_0x4c4a3d(0x1fd)](_0x4c4a3d(0x259));}}async[_0x3182f5(0x222)](){const _0x58de0c=_0x3182f5;this[_0x58de0c(0x1ea)]();const {locale:_0x139f41}=this[_0x58de0c(0x296)];let _0x1c37aa;try{_0x1c37aa=await this[_0x58de0c(0x24e)][_0x58de0c(0x268)]();}catch{const _0x2b699f=_0x4e7cd5(_0x139f41,_0x58de0c(0x280));return void this[_0x58de0c(0x22f)](_0x2b699f);}const _0x9a331=_0x1c37aa[_0x58de0c(0x229)]||_0x1c37aa[_0x58de0c(0x1ee)];if(this[_0x58de0c(0x23d)]!==_0x9a331[_0x58de0c(0x202)]){const _0x196b2c=_0x4e7cd5(_0x139f41,_0x58de0c(0x1d7));return void this[_0x58de0c(0x22f)](_0x196b2c);}await this[_0x58de0c(0x20e)](this[_0x58de0c(0x296)][_0x58de0c(0x22c)][_0x58de0c(0x1cf)][_0x58de0c(0x286)][_0x58de0c(0x298)](),!0x0);}[_0x3182f5(0x1ea)](){const _0x320835=_0x3182f5;this[_0x320835(0x24e)][_0x320835(0x292)](),this[_0x320835(0x245)]=[],clearTimeout(this[_0x320835(0x269)]),this[_0x320835(0x291)](this[_0x320835(0x24e)]);}[_0x3182f5(0x218)](_0x3b16c2){const _0x1a8080=_0x3182f5,_0x26f90=this[_0x1a8080(0x296)][_0x1a8080(0x284)][_0x1a8080(0x1bf)](_0x1a2418);this[_0x1a8080(0x289)](_0x26f90,_0x1a8080(0x19d)+this[_0x1a8080(0x1d2)],(_0x564ffd,{session:_0x26555d})=>{const _0x143832=_0x1a8080;if(_0x26555d['id']===_0x26f90[_0x143832(0x272)]){_0x564ffd[_0x143832(0x285)]();const _0x5929a3=this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x290)](_0x143832(0x278))&&this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x278));let _0x272b55=_0x26555d[_0x143832(0x24d)];_0x5929a3&&_0x5929a3[_0x143832(0x214)]&&(_0x272b55=_0x272b55[_0x143832(0x1df)](_0x4ee6b8=>_0x143832(0x250)!==_0x4ee6b8)),this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x1b6))[_0x143832(0x1f8)](_0x272b55,this[_0x143832(0x1d2)]);}}),_0x26f90[_0x1a8080(0x1bb)](this[_0x1a8080(0x1d2)],_0x3b16c2);}[_0x3182f5(0x27f)](){const _0x146c7d=_0x3182f5,_0x2e3775=this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)];this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)]=(..._0x5c6a92)=>{const _0x54f6ac=_0x146c7d;if(!_0x5c6a92[_0x5c6a92[_0x54f6ac(0x283)]-0x1][_0x54f6ac(0x225)])throw new _0x3be5a2(_0x54f6ac(0x257),this);_0x2e3775[_0x54f6ac(0x26c)](this[_0x54f6ac(0x296)][_0x54f6ac(0x238)],_0x5c6a92);};}[_0x3182f5(0x1bc)](){const _0x276812=_0x3182f5;this[_0x276812(0x296)][_0x276812(0x238)]['on'](_0x276812(0x27e),(_0x401cbe,[_0x4a4b8f])=>{const _0x2c1bb9=_0x276812;if(this[_0x2c1bb9(0x260)][_0x2c1bb9(0x193)])throw new _0x3be5a2(_0x2c1bb9(0x211),this);_0x401cbe[_0x2c1bb9(0x216)](),this[_0x2c1bb9(0x205)]();const _0x5555bb=this[_0x2c1bb9(0x296)][_0x2c1bb9(0x25c)][_0x2c1bb9(0x1bf)](_0x2c1bb9(0x1ce)),_0x1e4f63=this[_0x2c1bb9(0x244)](_0x4a4b8f,_0x5555bb);0x0==_0x1e4f63[_0x2c1bb9(0x283)]&&_0x1e4f63[_0x2c1bb9(0x22a)](new _0x3acab2(0x0)),_0x401cbe[_0x2c1bb9(0x25d)]=this[_0x2c1bb9(0x20e)](_0x1e4f63)[_0x2c1bb9(0x27b)](()=>{const _0x38bb86=_0x2c1bb9;this[_0x38bb86(0x296)][_0x38bb86(0x284)][_0x38bb86(0x1bf)](_0x539b14)[_0x38bb86(0x1f7)](this),this[_0x38bb86(0x296)][_0x38bb86(0x238)][_0x38bb86(0x252)](_0x38bb86(0x1ad));})[_0x2c1bb9(0x1f2)](_0x103068=>this[_0x2c1bb9(0x1fd)](_0x2c1bb9(0x241),_0x103068))[_0x2c1bb9(0x1d9)](()=>this[_0x2c1bb9(0x20f)]());},{'priority':_0x276812(0x217)}),this[_0x276812(0x296)]['on'](_0x276812(0x24c),async(_0xc74787,[_0x2b9ac4,_0x278fc1])=>{const _0x54d303=_0x276812;_0xc74787[_0x54d303(0x216)]();const _0x4321e3=this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x1cf)][_0x54d303(0x261)](_0x2b9ac4);if(!this[_0x54d303(0x1ab)][_0x54d303(0x290)](_0x2b9ac4)){const _0x37d52=_0x278fc1&&_0x278fc1[_0x54d303(0x238)]?_0x278fc1[_0x54d303(0x238)]:'',_0x225f9a=_0x278fc1&&_0x278fc1[_0x54d303(0x1d4)]?_0x278fc1[_0x54d303(0x1d4)]:{};await this[_0x54d303(0x1fc)](_0x2b9ac4,_0x37d52,_0x225f9a);}this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x198)]({'isUndoable':!0x1},()=>{const _0x2f8ecd=_0x54d303;_0x4321e3[_0x2f8ecd(0x251)]=!0x0,this[_0x2f8ecd(0x296)][_0x2f8ecd(0x22c)][_0x2f8ecd(0x1cf)][_0x2f8ecd(0x1e4)][_0x2f8ecd(0x1db)](_0x4321e3);});},{'priority':_0x276812(0x217)});}async[_0x3182f5(0x23f)](_0x24b4e7){const _0x18228=_0x3182f5,_0x44b22d=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x2a01f7),{connection:_0x6932b5}=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x539b14),_0x5e6fe0=new Set();for(const _0x26db2d of _0x24b4e7){const _0x16f424=_0x26db2d[_0x18228(0x1dc)];_0x16f424&&!_0x44b22d[_0x18228(0x200)](_0x16f424)&&_0x5e6fe0[_0x18228(0x22d)](_0x16f424);}if(0x0===_0x5e6fe0[_0x18228(0x28e)])return;const _0x554fcf=await _0xb723dc[_0x18228(0x1cd)](_0x6932b5,Array[_0x18228(0x279)](_0x5e6fe0));for(const _0x59ca6c of _0x554fcf)_0x44b22d[_0x18228(0x200)](_0x59ca6c['id'])||_0x44b22d[_0x18228(0x287)](_0x59ca6c);}[_0x3182f5(0x244)](_0x19dd66,_0x3e8f29={}){const _0x4ae48b=_0x3182f5,_0x68b489=this[_0x4ae48b(0x296)][_0x4ae48b(0x22c)],_0x1e4c41=[];let _0x201cbd=0x0;const _0x19d9ac=_0x4ae48b(0x1c2)==typeof _0x19dd66?{'main':_0x19dd66}:_0x19dd66;for(const _0x3deb76 of Object[_0x4ae48b(0x1c6)](_0x19d9ac)){if(!this[_0x4ae48b(0x260)][_0x4ae48b(0x1e6)][_0x4ae48b(0x290)](_0x3deb76))throw new _0x3be5a2(_0x4ae48b(0x21b),this);const _0x4c257b=this[_0x4ae48b(0x296)][_0x4ae48b(0x238)][_0x4ae48b(0x21f)](_0x19d9ac[_0x3deb76]),_0x47e052=this[_0x4ae48b(0x260)][_0x4ae48b(0x261)](_0x3deb76),_0x3e0c2a=new _0x3aff7d(_0x68b489[_0x4ae48b(0x295)](_0x47e052,0x0),_0x4c257b,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x3e0c2a);for(const [_0x50cfee,_0x8602d8]of _0x4c257b[_0x4ae48b(0x1c7)]){const _0x2bd6cb=_0x68b489[_0x4ae48b(0x235)](_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x25f)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]()),_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x1d3)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]())),_0x1d976e=new _0x9ab32(_0x50cfee,null,_0x2bd6cb,_0x68b489[_0x4ae48b(0x1c7)],!0x0,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x1d976e);}}if(_0x3e8f29)for(const [_0x381f7f,_0x37db0c]of Object[_0x4ae48b(0x1eb)](_0x3e8f29)){const _0x2ce717=_0x68b489[_0x4ae48b(0x1cf)][_0x4ae48b(0x261)](_0x381f7f);if(!_0x2ce717)throw new _0x3be5a2(_0x4ae48b(0x1af),null);for(const [_0x10e8c1,_0x28fea5]of Object[_0x4ae48b(0x1eb)](_0x37db0c))if(null!==_0x28fea5){const _0x555b9d=new _0x3cdcd9(_0x2ce717,_0x10e8c1,null,_0x28fea5,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x555b9d);}}return _0x1e4c41;}async[_0x3182f5(0x1fc)](_0x41e2db,_0xf24f16,_0x59a46f){const _0x2ccd52=_0x3182f5;this[_0x2ccd52(0x244)]({[_0x41e2db]:_0xf24f16},{[_0x41e2db]:_0x59a46f})[_0x2ccd52(0x1a8)]((_0x1d8e94,_0x310db5)=>{const _0x29327e=_0x2ccd52;_0x1d8e94[_0x29327e(0x256)]=this[_0x29327e(0x260)][_0x29327e(0x193)]+_0x310db5,_0x1d8e94[_0x29327e(0x1e1)]=!0x0,this[_0x29327e(0x258)](_0x1d8e94);}),this[_0x2ccd52(0x1c5)](),await this[_0x2ccd52(0x22e)]();}async[_0x3182f5(0x1b0)](_0x2a5ea4,_0x307346){const _0x17a8e9=_0x3182f5;let _0x4db944;this[_0x17a8e9(0x248)]=_0x2a5ea4[_0x17a8e9(0x1b9)];const _0x5b5ff5=_0x2a5ea4[_0x17a8e9(0x28b)]&&!_0x2a5ea4[_0x17a8e9(0x263)],_0x16ee2d=_0x5b5ff5?0x0:_0x2a5ea4[_0x17a8e9(0x238)][_0x17a8e9(0x256)];if(_0x307346[_0x17a8e9(0x1a8)](_0x2b6dd4=>{const _0x1991c9=_0x17a8e9;_0x2b6dd4[_0x1991c9(0x1e1)]=!0x0,_0x2b6dd4[_0x1991c9(0x1e8)]=_0x2a5ea4[_0x1991c9(0x230)],_0x2b6dd4[_0x1991c9(0x1dc)]=null;}),_0x5b5ff5)_0x4db944=_0x307346,this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);else{if(_0x2a5ea4[_0x17a8e9(0x263)]){const _0x2896b9=this[_0x17a8e9(0x244)](_0x2a5ea4[_0x17a8e9(0x263)]);this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)],_0x2896b9[_0x17a8e9(0x1a8)](_0x2a3166=>{const _0x3c7687=_0x17a8e9;_0x2a3166[_0x3c7687(0x256)]-=_0x2896b9[_0x3c7687(0x283)],_0x2a3166[_0x3c7687(0x1e8)]=_0x2a5ea4[_0x3c7687(0x230)],_0x2a3166[_0x3c7687(0x1e1)]=!0x0,_0x2a3166[_0x3c7687(0x1dc)]=null;}),this[_0x17a8e9(0x209)](_0x2896b9,!0x0),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)]+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x2896b9);}this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=_0x16ee2d,_0x4db944=this[_0x17a8e9(0x23e)](_0x2a5ea4[_0x17a8e9(0x238)],_0x2a5ea4[_0x17a8e9(0x19b)]),await this[_0x17a8e9(0x23f)](_0x4db944),this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);}_0x2a5ea4[_0x17a8e9(0x202)]&&(this[_0x17a8e9(0x20d)][_0x17a8e9(0x297)](_0x4db944,_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x23d)]=_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=_0x16ee2d+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x4db944),_0x307346[_0x17a8e9(0x1df)](_0x415222=>{const _0x2eb2a7=_0x17a8e9,_0x5bb3a0=this[_0x2eb2a7(0x1a5)](_0x415222);return _0x5bb3a0&&!this[_0x2eb2a7(0x1ab)][_0x2eb2a7(0x290)](_0x5bb3a0);})[_0x17a8e9(0x1a8)]((_0x186a3b,_0xea0f5)=>{const _0x12b485=_0x17a8e9;_0x186a3b[_0x12b485(0x256)]=this[_0x12b485(0x260)][_0x12b485(0x193)]+_0xea0f5,this[_0x12b485(0x258)](_0x186a3b);}),this[_0x17a8e9(0x1ba)]()?(this[_0x17a8e9(0x1d1)]=0x0,this[_0x17a8e9(0x1c5)](!0x0),await this[_0x17a8e9(0x22e)]()):(this[_0x17a8e9(0x242)]=!0x1,this[_0x17a8e9(0x20f)]());}[_0x3182f5(0x1fd)](_0x58bdfa,_0xead500){const _0x236db5=_0x3182f5,_0x3068f4=_0xead500&&_0xead500[_0x236db5(0x19a)];if(_0x3068f4&&_0x3068f4[_0x236db5(0x228)](_0x236db5(0x255)))throw _0xead500;const _0x1647e4=this[_0x236db5(0x296)][_0x236db5(0x284)][_0x236db5(0x1bf)](_0x539b14);throw this[_0x236db5(0x242)]=!0x0,_0x1647e4[_0x236db5(0x292)](),this[_0x236db5(0x296)][_0x236db5(0x24a)](_0x236db5(0x196)),new _0x3be5a2(_0x58bdfa,this[_0x236db5(0x296)],_0x3068f4?{'originalError':_0x3068f4}:void 0x0);}[_0x3182f5(0x258)](_0x467af3){const _0x5a7e71=_0x3182f5;this[_0x5a7e71(0x1a1)][_0x5a7e71(0x290)](_0x467af3)||(this[_0x5a7e71(0x1a1)][_0x5a7e71(0x22d)](_0x467af3),this[_0x5a7e71(0x245)][_0x5a7e71(0x22a)](_0x467af3),this[_0x5a7e71(0x1f1)]||_0x5a7e71(0x204)==_0x467af3[_0x5a7e71(0x1f6)]&&!_0x467af3[_0x5a7e71(0x1ec)]||this[_0x5a7e71(0x205)]());}[_0x3182f5(0x1c5)](_0x32bc48=!0x1){const _0x6210e=_0x3182f5;!_0x32bc48&&this[_0x6210e(0x242)]||(this[_0x6210e(0x242)]=!0x0,clearTimeout(this[_0x6210e(0x269)]),this[_0x6210e(0x269)]=setTimeout(()=>{const _0x1378bf=_0x6210e;this[_0x1378bf(0x19c)]()[_0x1378bf(0x27b)](_0x2eecdb=>{const _0x5527e9=_0x1378bf;_0x2eecdb&&(this[_0x5527e9(0x20f)](),this[_0x5527e9(0x242)]=!0x1);})[_0x1378bf(0x1f2)](_0x5ccd41=>{const _0x543b19=_0x1378bf;this[_0x543b19(0x20f)](),this[_0x543b19(0x242)]=!0x1,function(_0x14623f){const _0x41cfe0=_0x543b19;return _0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x206))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x1ac))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x267));}(_0x5ccd41)||this[_0x543b19(0x1fd)](_0x5ccd41[_0x543b19(0x19a)],_0x5ccd41);});},this[_0x6210e(0x1d1)]));}[_0x3182f5(0x22e)](){return new Promise(_0x4cc80f=>{const _0x5bd90c=_0x5b2d;this['on'](_0x5bd90c(0x1fa),()=>{_0x4cc80f();});});}async[_0x3182f5(0x19c)](){const _0x4d25f3=_0x3182f5,_0x501a97=this[_0x4d25f3(0x296)][_0x4d25f3(0x284)][_0x4d25f3(0x1bf)](_0x40942f);if(this[_0x4d25f3(0x28a)]()&&(_0x501a97[_0x4d25f3(0x277)](),this[_0x4d25f3(0x201)]=!0x1),!this[_0x4d25f3(0x1ba)]())return!0x0;const _0x3cd61d=[...this[_0x4d25f3(0x245)]];for(const _0xd17e97 of _0x3cd61d)_0xd17e97[_0x4d25f3(0x207)]=this[_0x4d25f3(0x260)][_0x4d25f3(0x286)][_0x4d25f3(0x294)](_0xd17e97);const _0x19bd59=this[_0x4d25f3(0x20d)][_0x4d25f3(0x299)](_0x3cd61d),_0x111f95=H++,_0x2fa9bc=this[_0x4d25f3(0x249)](_0x3cd61d),_0x41a1a3=await this[_0x4d25f3(0x24e)][_0x4d25f3(0x219)](_0x2fa9bc,_0x2fa9bc[_0x4d25f3(0x256)],_0x19bd59);try{return await this[_0x4d25f3(0x23b)](_0x3cd61d,_0x41a1a3,_0x111f95);}catch(_0x409043){return this[_0x4d25f3(0x1fd)](_0x4d25f3(0x22b),_0x409043);}}async[_0x3182f5(0x23b)](_0x10b45d,_0x16095c,_0x22a6a0){const _0x572031=_0x3182f5;if(_0x572031(0x1d5)in _0x16095c)throw _0x16095c[_0x572031(0x1d5)];let _0x30f4a9=!0x1;if(_0x16095c[_0x572031(0x28b)]){_0x16095c[_0x572031(0x202)]&&(this[_0x572031(0x23d)]=_0x16095c[_0x572031(0x202)]),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x234b3f=>!_0x10b45d[_0x572031(0x26b)](_0x234b3f));for(const _0x7698fa of _0x10b45d)_0x7698fa[_0x572031(0x1e8)]=_0x572031(0x1a0)in _0x16095c&&_0x16095c[_0x572031(0x1a0)]||void 0x0;W(_0x10b45d,_0x16095c[_0x572031(0x193)]-_0x10b45d[_0x572031(0x283)]),this[_0x572031(0x266)](_0x10b45d);const _0x2b550d=_0x10b45d[_0x572031(0x1df)](_0x50c98e=>{const _0x4903cf=_0x572031;if(!_0x50c98e[_0x4903cf(0x1e1)])return!0x1;const _0x4a118b=this[_0x4903cf(0x1a5)](_0x50c98e);return _0x4a118b&&!this[_0x4903cf(0x1ab)][_0x4903cf(0x290)](_0x4a118b);});W(_0x2b550d,this[_0x572031(0x260)][_0x572031(0x193)]),this[_0x572031(0x209)](_0x2b550d),_0x30f4a9=!0x0,this[_0x572031(0x1d1)]=this[_0x572031(0x1b4)];}else{const _0x31316e=this[_0x572031(0x23e)](_0x16095c[_0x572031(0x238)],_0x16095c[_0x572031(0x19b)])[_0x572031(0x1df)](_0x563042=>_0x563042[_0x572031(0x256)]>=this[_0x572031(0x293)]);_0x31316e[_0x572031(0x1a8)](_0xd1a494=>this[_0x572031(0x1fb)](_0xd1a494)),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x55ed07=>!_0x55ed07[_0x572031(0x1e1)]||!this[_0x572031(0x1ab)][_0x572031(0x290)](this[_0x572031(0x1a5)](_0x55ed07))),this[_0x572031(0x245)][_0x572031(0x283)]&&W(this[_0x572031(0x245)],this[_0x572031(0x245)][0x0][_0x572031(0x256)]),await this[_0x572031(0x23f)](_0x31316e),_0x30f4a9=this[_0x572031(0x26f)](_0x31316e,_0x16095c[_0x572031(0x193)],_0x16095c[_0x572031(0x202)]),this[_0x572031(0x1d1)]=Math[_0x572031(0x1c1)](this[_0x572031(0x1d1)]/0x2);}return _0x30f4a9?!this[_0x572031(0x1ba)]()||(this[_0x572031(0x1c5)](!0x0),!0x1):this[_0x572031(0x1fd)](_0x572031(0x1b8));}[_0x3182f5(0x26f)](_0x14f7c4,_0x3de5ad,_0x1aab56){const _0x56cab6=_0x3182f5;try{const _0x2d2843={'document':this[_0x56cab6(0x260)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2aabd4,operationsB:_0xb4cc5e,originalOperations:_0x1a0ac6}=_0x3d47f4(_0x14f7c4,this[_0x56cab6(0x245)],_0x2d2843);W(_0x2aabd4,this[_0x56cab6(0x260)][_0x56cab6(0x193)]),W(_0xb4cc5e,_0x3de5ad);for(const _0x53e548 of _0x2aabd4){const _0x16fe10=_0x1a0ac6[_0x56cab6(0x1bf)](_0x53e548);_0x53e548[_0x56cab6(0x1dc)]=_0x16fe10?_0x16fe10[_0x56cab6(0x1dc)]:null;}_0x1aab56&&(this[_0x56cab6(0x20d)][_0x56cab6(0x297)](_0x14f7c4,_0x1aab56),this[_0x56cab6(0x23d)]=_0x1aab56),this[_0x56cab6(0x245)]=[..._0xb4cc5e],this[_0x56cab6(0x209)](_0x2aabd4),this[_0x56cab6(0x266)](_0x14f7c4);}catch(_0x42c424){return console[_0x56cab6(0x1d5)](_0x42c424),!0x1;}return!0x0;}[_0x3182f5(0x209)](_0x3666d8,_0x30c717=!0x1){const _0xdd4d51=_0x3182f5;this[_0xdd4d51(0x296)][_0xdd4d51(0x22c)][_0xdd4d51(0x198)]({'isUndoable':!0x1,'isLocal':!0x1},_0x450601=>{const _0x5869ea=_0xdd4d51;for(const _0x42d87d of _0x3666d8)this[_0x5869ea(0x1a1)][_0x5869ea(0x22d)](_0x42d87d),this[_0x5869ea(0x1fb)](_0x42d87d),_0x450601[_0x5869ea(0x1a4)][_0x5869ea(0x282)](_0x42d87d),this[_0x5869ea(0x296)][_0x5869ea(0x22c)][_0x5869ea(0x1e0)](_0x42d87d);});}[_0x3182f5(0x1fb)](_0xadb1c3){const _0xda9da6=_0x3182f5,_0xb1e023=this[_0xda9da6(0x1a5)](_0xadb1c3);_0xb1e023&&this[_0xda9da6(0x1ab)][_0xda9da6(0x22d)](_0xb1e023);}[_0x3182f5(0x1a5)](_0x16e467){const _0x4cf12e=_0x3182f5;let _0xa0d589,_0x298cc2;switch(_0x16e467[_0x4cf12e(0x1f6)]){case _0x4cf12e(0x215):_0xa0d589=_0x16e467[_0x4cf12e(0x1a2)][_0x4cf12e(0x270)];break;case _0x4cf12e(0x204):if(_0x298cc2=_0x16e467[_0x4cf12e(0x26e)],!_0x298cc2)return null;_0xa0d589=_0x298cc2[_0x4cf12e(0x270)];break;case _0x4cf12e(0x28c):_0xa0d589=_0x16e467[_0x4cf12e(0x270)];break;case _0x4cf12e(0x1a6):_0xa0d589=_0x16e467[_0x4cf12e(0x213)];break;case _0x4cf12e(0x1cc):_0xa0d589=_0x16e467[_0x4cf12e(0x1dd)][_0x4cf12e(0x270)];break;default:return null;}return _0xa0d589[_0x4cf12e(0x1f9)];}[_0x3182f5(0x266)](_0x1a45d6){const _0x5cba4f=_0x3182f5;_0x1a45d6[_0x5cba4f(0x1a8)](_0x28d9f3=>{const _0x2c8e04=_0x5cba4f,_0x2b5b3f=_0x28d9f3[_0x2c8e04(0x21a)]();_0x2b5b3f[_0x2c8e04(0x1dc)]=_0x28d9f3[_0x2c8e04(0x1dc)],_0x2b5b3f[_0x2c8e04(0x1e1)]=!!_0x28d9f3[_0x2c8e04(0x1e1)],_0x2b5b3f[_0x2c8e04(0x1e8)]=_0x28d9f3[_0x2c8e04(0x1e8)],_0x2b5b3f[_0x2c8e04(0x256)]+=this[_0x2c8e04(0x248)],_0x28d9f3[_0x2c8e04(0x240)]&&this[_0x2c8e04(0x1be)][_0x2c8e04(0x22d)](_0x2b5b3f),this[_0x2c8e04(0x236)][_0x2c8e04(0x282)](_0x2b5b3f);});}[_0x3182f5(0x22f)](_0x135e28){const _0x2833d4=_0x3182f5,_0x163ea9=this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x2833d4(0x220)),_0xcf9ccb=this[_0x2833d4(0x296)][_0x2833d4(0x194)];_0x135e28||(_0x135e28=_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x23a))),_0x163ea9[_0x2833d4(0x1fe)](_0x135e28,{'title':_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x28f)),'namespace':_0x2833d4(0x199)}),this[_0x2833d4(0x23c)]=!0x0,clearTimeout(this[_0x2833d4(0x269)]),this[_0x2833d4(0x245)]=[],this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x539b14)[_0x2833d4(0x292)]();}[_0x3182f5(0x205)](){const _0x236d1a=_0x3182f5;this[_0x236d1a(0x1f1)]||(this[_0x236d1a(0x1f1)]=this[_0x236d1a(0x296)][_0x236d1a(0x284)][_0x236d1a(0x1bf)](_0x46d007)[_0x236d1a(0x22d)](_0x4e7cd5(this[_0x236d1a(0x296)][_0x236d1a(0x194)],_0x236d1a(0x231))));}[_0x3182f5(0x20f)](){const _0x311e26=_0x3182f5;this[_0x311e26(0x1f1)]&&(this[_0x311e26(0x296)][_0x311e26(0x284)][_0x311e26(0x1bf)](_0x46d007)[_0x311e26(0x1d0)](this[_0x311e26(0x1f1)]),this[_0x311e26(0x1f1)]=null);}[_0x3182f5(0x249)](_0x1c0fac){const _0xacc555=_0x3182f5,_0xd71b48=_0x1c0fac[_0xacc555(0x246)](_0x321814=>_0x321814[_0xacc555(0x281)]());return this[_0xacc555(0x275)][_0xacc555(0x265)](_0xd71b48);}[_0x3182f5(0x23e)](_0x529f43,_0x2b40f3){const _0x167a18=_0x3182f5;return this[_0x167a18(0x275)][_0x167a18(0x203)](_0x529f43)[_0x167a18(0x246)]((_0x1dbda1,_0x54cceb)=>{const _0x44866b=_0x167a18,_0x306f38=_0x44866b(0x27e)==_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)];if(_0x44866b(0x1b3)==_0x1dbda1[_0x44866b(0x19f)]){const _0x11e75d=_0x1dbda1[_0x44866b(0x1a2)][_0x44866b(0x270)];!this[_0x44866b(0x260)][_0x44866b(0x261)](_0x11e75d)&&(this[_0x44866b(0x260)][_0x44866b(0x1c9)](_0x44866b(0x1e2),_0x11e75d)[_0x44866b(0x25e)]=!0x1);}const _0x25f9a5=_0x2643fb[_0x44866b(0x25a)](_0x1dbda1,this[_0x44866b(0x260)]);return _0x25f9a5[_0x44866b(0x207)]=_0x1dbda1[_0x44866b(0x207)],_0x25f9a5[_0x44866b(0x1e1)]=_0x306f38,_0x25f9a5[_0x44866b(0x1dc)]=_0x306f38?null:_0x2b40f3[_0x54cceb][_0x44866b(0x208)],_0x25f9a5[_0x44866b(0x240)]=_0x44866b(0x221)===_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)],_0x25f9a5[_0x44866b(0x1e8)]=_0x2b40f3[_0x54cceb][_0x44866b(0x1e8)],_0x25f9a5;});}[_0x3182f5(0x20c)](){const _0x56bf84=_0x3182f5;this[_0x56bf84(0x201)]=!0x0,this[_0x56bf84(0x28a)]()?this[_0x56bf84(0x1c5)]():this[_0x56bf84(0x201)]=!0x1;}[_0x3182f5(0x28a)](){const _0x4c8c39=_0x3182f5,_0x490458=this[_0x4c8c39(0x296)][_0x4c8c39(0x284)][_0x4c8c39(0x1bf)](_0x1a2418)[_0x4c8c39(0x1e7)][_0x4c8c39(0x1bf)](this[_0x4c8c39(0x1d2)]);return!this[_0x4c8c39(0x296)][_0x4c8c39(0x224)]&&!!_0x490458&&_0x490458[_0x4c8c39(0x283)]>0x1&&this[_0x4c8c39(0x201)];}[_0x3182f5(0x1ba)](){const _0x58a347=_0x3182f5;return this[_0x58a347(0x245)][_0x58a347(0x283)]>0x0||this[_0x58a347(0x28a)]();}}class V extends Error{}function W(_0x962fa4,_0x5caac2){const _0x1c109a=_0x3182f5;for(const _0x5dbeae of _0x962fa4)_0x5dbeae[_0x1c109a(0x256)]=_0x5caac2++;}class F{[_0x3182f5(0x197)];[_0x3182f5(0x237)];constructor(_0x473a2e){const _0xfc9c50=_0x3182f5;this[_0xfc9c50(0x197)]=_0x473a2e,this[_0xfc9c50(0x237)]=new WeakMap();}[_0x3182f5(0x299)](_0x404c4a){const _0x1f34ab=_0x3182f5;let _0x457248=_0x404c4a[_0x1f34ab(0x283)];for(;_0x457248--;){const _0x98eb18=_0x404c4a[_0x457248];if(!this[_0x1f34ab(0x197)][_0x1f34ab(0x290)](_0x98eb18)){if(!this[_0x1f34ab(0x237)][_0x1f34ab(0x290)](_0x98eb18)){const _0x585635=_0x1a3efb()[_0x1f34ab(0x276)](0x1,0x12);this[_0x1f34ab(0x237)][_0x1f34ab(0x247)](_0x98eb18,_0x585635);}return this[_0x1f34ab(0x237)][_0x1f34ab(0x1bf)](_0x98eb18);}}}[_0x3182f5(0x297)](_0x4ad709,_0x5806c7){const _0x3389bc=_0x3182f5;if(!_0x5806c7)return;let _0x19a11e=_0x4ad709[_0x3389bc(0x283)];for(;_0x19a11e--;){const _0x41b764=_0x4ad709[_0x19a11e];this[_0x3389bc(0x197)][_0x3389bc(0x290)](_0x41b764)||this[_0x3389bc(0x237)][_0x3389bc(0x247)](_0x41b764,_0x5806c7);}}}
23
+ const _0x3f20ce=_0x2fd8;function _0x2fd8(_0x2062dc,_0x24a341){const _0x1cefa4=_0x1cef();return _0x2fd8=function(_0x2fd84a,_0x1d7488){_0x2fd84a=_0x2fd84a-0xbc;let _0x1fcd89=_0x1cefa4[_0x2fd84a];return _0x1fcd89;},_0x2fd8(_0x2062dc,_0x24a341);}(function(_0x13ac9b,_0x5a8564){const _0x190911=_0x2fd8,_0x2425ee=_0x13ac9b();while(!![]){try{const _0x468fe=-parseInt(_0x190911(0xe5))/0x1*(parseInt(_0x190911(0xc5))/0x2)+-parseInt(_0x190911(0x11b))/0x3*(parseInt(_0x190911(0x111))/0x4)+-parseInt(_0x190911(0x186))/0x5*(parseInt(_0x190911(0xf3))/0x6)+parseInt(_0x190911(0x115))/0x7*(-parseInt(_0x190911(0x197))/0x8)+-parseInt(_0x190911(0x14e))/0x9+parseInt(_0x190911(0x154))/0xa+parseInt(_0x190911(0x185))/0xb;if(_0x468fe===_0x5a8564)break;else _0x2425ee['push'](_0x2425ee['shift']());}catch(_0x31f638){_0x2425ee['push'](_0x2425ee['shift']());}}}(_0x1cef,0xb85ea));import{Plugin as _0x465e3d,PendingActions as _0x26c835}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e9e26,version as _0x3fd523,uid as _0xa2d85d}from'ckeditor5/src/utils.js';import{Notification as _0x507419}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5b3a29,NoOperation as _0x13d4a6,InsertOperation as _0xa9eeb7,MarkerOperation as _0x23ac2e,RootAttributeOperation as _0x104001,OperationFactory as _0x25d0ed,History as _0x194790}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4bb3c7}from'./websocketgateway.js';import{Sessions as _0x581946}from'./sessions.js';import{UserMarkers as _0x41c88b}from'./usermarkers.js';function _0x1cef(){const _0x2c3666=['mySessionId','66078ffzriS','sessionId','InsertOperation','_isPendingUpdate','return','getOperationAuthor','version','_waitUntilSynced','enqueueChange','toJSON','collaboration.channelId','realtimecollaborationclient-init-document-already-initialized','requires','$root','_ignoredOperations','_updateServerHistory','_decompressOperations','filter','rtc-offline','affectedSelectable','position','_lastSyncedOperationId','409','type','_compressor','map','reconnect','isUndoneOperation','from','_handleServerResponse','CollaborativeEditingService','_sendBufferedOperationsDelayId','length','lastSyncVersion','_disconnectService','cloudDocumentVersion','showWarning','_getOperationsFromInitData','_bufferRootLoad','has','connect','cs:removeUser','createRange','_isConnected','getRoot','lastOperationAcceptedAt','permissions','PENDING_ACTION_SENDING_DATA','directChange','setIdForTheLastOperation','metadata','253638BEOTFe','getConnectedSessions','disconnect','unregister','_connectAfterSessionHasBeenFlushed','finally','5684210xvuDWV','_knownOperations','404','_isDisconnection','baseVersion','stopListening','_operationToId','initData','view','_handleInitialConnectionData','data','keys','document','high','_baseBufferDelay','reconnection:\x20flushed\x20session','_handleExternalOperations','multi-root-editor-root-attributes-no-root','isPremiumPlugin','sessionAdd:','stop','reset','error','ready','_setUpDataInit','_refreshUserSelectionMarkers','path','set','markers','affectsData','_hasSelectionChanged','RealTimeCollaborationClient','sendOperations','end','_shouldSendSelectionUpdate','differ','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.','_compressOperations','enableReadOnlyMode','change:range','addRootAttribute','off','createUserMarkerOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addUser','wasUndone','collaboration','userId','change:_isPendingUpdate','52225844jCPauw','2390iQVrOL','_handleSendingSelectionMarkers','model','rtc-destroyed','_lastServerVersion','_getAffectedRoot','_knownRootNames','slice','_isLoaded','attributes','realtimecollaborationclient','_handleReceivedOperations','_isEditingAllowed','pluginName','collaboration-missing-channelid','batch','_connectService','53432WFwqQU','createPositionFromPath','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','root','insert','startsWith','lastOperationId','round','clone','catch','_hasSynchronizationProblem','addOperation','_isAttached','realtimecollaborationclient-init-non-existent-root','bind','getDocumentDetails','createRoot','fromJSON','_channelId','loadRoot','_setPendingAction','config','targetPosition','operationsReceived','Notification','realtimecollaborationclient-init-service-internal-error','currentDocumentSession','suppressErrorInCollaboration','createPositionAt','cloud-services-internal-error:\x20Request\x20timeout.','history','listenTo','channelSessions','plugins','createdAt','includes','real-time-collaboration','_applyOperationsSet','CommentsOnly','cloudServices.bundleVersion','_sendBufferedOperations','rootName','realtimecollaborationclient-sendbufferedoperations','_service','push','_bufferedOperations','selection','_currentBufferDelay','Synchronization\x20issue','compress','locale','getIdOfTheLastOperation','define','1168054fTkIjM','forEach','connected','remove','document:write','_offset','connection','_addKnownRoot','_sendBufferedOperationsDelayed','_initThrowingOnDataSet','sessionCreatedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','register','isReadOnly','add','_document','_initSessionsHandling','decompress','fire','Permissions','lastDocumentSession','realtimecollaborationclient-error','__className','message','get','getUser','_handleReconnectionResponse','marker','roots','init','getOperations','move','2WiuZGN','_operationIdentifier','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addToReconnectionStack','realtimecollaborationclient-handleserverresponse','isEnabled','disconnected','_fetchMissingUsers','_crash','setPermissions','editor','destroy','parse','rootsAttributes','11652JQppAV','string','cloud-services-internal-error:\x20Not\x20connected.','then','applyOperation','_isInit','start','wereChangesApplied','_pendingAction','code','offset','isOfficialPlugin','newRange','getMany','isDocumentOperation','_authorId','realtimecollaborationclient-init-connection-failed','_disconnectionOperations','editing','change:hasDomSelection','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.','serverHistory','apply','addRoot','realtimecollaborationclient-init-session-connection-error','_loadRoot','realtimecollaborationclient-init-service-incorrect-server-operation','_saveOperationInBuffer','state','size','172VGhwhb','entries','disableReadOnlyMode','_shouldSendUpdate','1561CGpRsK','change:_isEditingAllowed','removeFromReconnectionStack','_handleReconnectionError','_clearPendingAction'];_0x1cef=function(){return _0x2c3666;};return _0x1cef();}import{getTranslation as _0x1338b4}from'../common-translations.js';import{Compressor as _0x42d36a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1281e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x57115b,CollaborativeEditingService as _0x1f74a1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x465e3d{static [_0x3f20ce(0x139)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1f74a1)());[_0x3f20ce(0xca)];[_0x3f20ce(0x11c)];[_0x3f20ce(0x108)];[_0x3f20ce(0x1a9)];[_0x3f20ce(0x1c2)];[_0x3f20ce(0xd4)];[_0x3f20ce(0x133)];[_0x3f20ce(0xbd)];[_0x3f20ce(0x155)];[_0x3f20ce(0x18c)];[_0x3f20ce(0xfb)];[_0x3f20ce(0x172)];[_0x3f20ce(0x13a)];[_0x3f20ce(0x162)];[_0x3f20ce(0xbf)];[_0x3f20ce(0x130)];[_0x3f20ce(0x104)];[_0x3f20ce(0xe6)];static get[_0x3f20ce(0x127)](){return[_0x4bb3c7,_0x581946,_0x41c88b,_0x26c835,_0x1281e4,_0x507419];}static get[_0x3f20ce(0x193)](){const _0x3457cf=_0x3f20ce;return _0x3457cf(0x173);}static get[_0x3f20ce(0xfe)](){return!0x0;}static get[_0x3f20ce(0x166)](){return!0x0;}get[_0x3f20ce(0x13e)](){const _0x2d48ab=_0x3f20ce;return this[_0x2d48ab(0x18a)]+this[_0x2d48ab(0xca)];}get[_0x3f20ce(0x18a)](){const _0x21cd89=_0x3f20ce;return this[_0x21cd89(0x108)][_0x21cd89(0x121)]-this[_0x21cd89(0xca)];}get[_0x3f20ce(0x13c)](){const _0x2c393a=_0x3f20ce,_0x43ce1d=this[_0x2c393a(0x108)][_0x2c393a(0xe3)]();for(let _0x17aa6e=_0x43ce1d[_0x2c393a(0x13b)]-0x1;_0x17aa6e>=0x0;_0x17aa6e--){const _0x11f534=_0x43ce1d[_0x17aa6e];if(!this[_0x2c393a(0x104)][_0x2c393a(0x142)](_0x11f534))return _0x11f534[_0x2c393a(0x158)]+0x1-this[_0x2c393a(0xca)];}return 0x0;}constructor(_0x1720a6){const _0x2cd710=_0x3f20ce;if(super(_0x1720a6),this[_0x2cd710(0xca)]=0x0,this[_0x2cd710(0x11c)]=null,this[_0x2cd710(0x108)]=new _0x194790(),this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xc4)](_0x2cd710(0x182),{}),this[_0x2cd710(0x1a9)]=this[_0x2cd710(0xef)][_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x125)),!this[_0x2cd710(0x1a9)])throw new _0x4e9e26(_0x2cd710(0x194),this);const _0x2da8fe=_0x1720a6[_0x2cd710(0x1ac)][_0x2cd710(0xdd)](_0x2cd710(0x1be))||_0x3fd523;this[_0x2cd710(0x1c2)]=new RealTimeCollaborationClient[(_0x2cd710(0x139))](_0x2da8fe,this[_0x2cd710(0x1a9)]),this[_0x2cd710(0xd4)]=this[_0x2cd710(0xef)][_0x2cd710(0x188)][_0x2cd710(0x160)],this[_0x2cd710(0x133)]=new _0x42d36a(),this[_0x2cd710(0xbd)]=[],this[_0x2cd710(0x155)]=new WeakSet(),this[_0x2cd710(0x18c)]=new Set(),this[_0x2cd710(0x16f)](_0x2cd710(0x11e),!0x1),this[_0x2cd710(0x16f)](_0x2cd710(0x1a1),!0x1),this[_0x2cd710(0xfb)]=null,this[_0x2cd710(0x172)]=!0x1,this[_0x2cd710(0x13a)]=null,this[_0x2cd710(0x162)]=0x12c,this[_0x2cd710(0xbf)]=this[_0x2cd710(0x162)],this[_0x2cd710(0x130)]=null,this[_0x2cd710(0x104)]=new WeakSet(),this[_0x2cd710(0xe6)]=new J(this[_0x2cd710(0x104)]);}[_0x3f20ce(0xe2)](){const _0x44ff04=_0x3f20ce,_0x5a7c84=this[_0x44ff04(0xef)],_0x185f1b=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x1281e4),_0x5081f9=_0x5a7c84[_0x44ff04(0x1b8)][_0x44ff04(0xdd)](_0x4bb3c7);this[_0x44ff04(0x1b6)](_0x185f1b,_0x44ff04(0x120),(_0x31c597,_0xec394b)=>{const _0x454fc1=_0x44ff04,_0x8b43ce=_0xec394b[0x0];_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=_0x185f1b[_0x454fc1(0xde)](_0x8b43ce[_0x454fc1(0x102)]),_0x31c597[_0x454fc1(0x168)]()),null===_0x8b43ce[_0x454fc1(0x102)]&&(_0x31c597[_0x454fc1(0x11f)]=null,_0x31c597[_0x454fc1(0x168)]());},{'priority':_0x44ff04(0x161)}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x188)][_0x44ff04(0x160)][_0x44ff04(0xbe)],_0x44ff04(0x17b),(_0x55c607,_0x345ee2)=>{const _0x4d9a20=_0x44ff04;_0x345ee2[_0x4d9a20(0x14b)]&&this[_0x4d9a20(0x16d)]();}),this[_0x44ff04(0x1b6)](_0x5a7c84[_0x44ff04(0x105)][_0x44ff04(0x15c)],_0x44ff04(0x106),()=>{const _0xff6462=_0x44ff04;this[_0xff6462(0x16d)]();}),this[_0x44ff04(0xce)](),_0x5a7c84[_0x44ff04(0x188)]['on'](_0x44ff04(0xf7),(_0x115e48,_0x838e54)=>{const _0x60187b=_0x44ff04,_0x8c5844=_0x838e54[0x0];_0x8c5844[_0x60187b(0x101)]&&(this[_0x60187b(0x10e)](_0x8c5844),this[_0x60187b(0x114)]()&&this[_0x60187b(0xcd)]());}),this[_0x44ff04(0x16c)](),this[_0x44ff04(0x1a5)](_0x44ff04(0x192))['to'](_0x5081f9,_0x44ff04(0x10f),this,_0x44ff04(0x1a1),(_0xe9c6f4,_0x33518e)=>_0x44ff04(0xc7)===_0xe9c6f4&&!_0x33518e),this['on'](_0x44ff04(0x116),()=>{const _0x44dc88=_0x44ff04;this[_0x44dc88(0x192)]?_0x5a7c84[_0x44dc88(0x113)](_0x44dc88(0x12d)):_0x5a7c84[_0x44dc88(0x17a)](_0x44dc88(0x12d));}),this[_0x44ff04(0x192)]?_0x5a7c84[_0x44ff04(0x113)](_0x44ff04(0x12d)):_0x5a7c84[_0x44ff04(0x17a)](_0x44ff04(0x12d)),this[_0x44ff04(0x16f)](_0x44ff04(0x146),!0x1);}async[_0x3f20ce(0x135)](){const _0x44eee6=_0x3f20ce,_0x4cea5a=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x581946),_0x58189f=this[_0x44eee6(0xef)][_0x44eee6(0x1b8)][_0x44eee6(0xdd)](_0x4bb3c7);try{this[_0x44eee6(0x11e)]=!0x0,_0x4cea5a[_0x44eee6(0x151)](this[_0x44eee6(0x1a9)]);const _0x3b4f81=await this[_0x44eee6(0x1c2)][_0x44eee6(0x135)](_0x58189f[_0x44eee6(0xcb)],this[_0x44eee6(0x13c)]);await this[_0x44eee6(0xdf)](_0x3b4f81)&&(this[_0x44eee6(0x11e)]=!0x1,this[_0x44eee6(0x119)]());const _0x23eda7=await this[_0x44eee6(0x1c2)][_0x44eee6(0x14f)]();_0x4cea5a[_0x44eee6(0xd1)](this[_0x44eee6(0x1a9)],_0x23eda7),this[_0x44eee6(0x187)](),this[_0x44eee6(0x146)]=!0x0;}catch(_0x35a188){if(function(_0x37f7fb){const _0x735d8d=_0x44eee6;return _0x735d8d(0x156)===_0x37f7fb[_0x735d8d(0xfc)];}(_0x35a188)&&this[_0x44eee6(0x11c)])await this[_0x44eee6(0x152)]();else{if(function(_0x123842){const _0x130329=_0x44eee6;return _0x130329(0x131)===_0x123842[_0x130329(0xfc)];}(_0x35a188)){const _0x191758=_0x1338b4(this[_0x44eee6(0xef)][_0x44eee6(0xc2)],_0x44eee6(0x17f));this[_0x44eee6(0x118)](_0x191758);}else{if(!(_0x35a188 instanceof $))throw _0x35a188;this[_0x44eee6(0x118)]();}}}}[_0x3f20ce(0xf0)](){const _0x2fbe55=_0x3f20ce,_0x2f1a5e=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x4bb3c7),_0x346594=this[_0x2fbe55(0xef)][_0x2fbe55(0x1b8)][_0x2fbe55(0xdd)](_0x581946);this[_0x2fbe55(0xef)][_0x2fbe55(0x17a)](_0x2fbe55(0x189)),_0x346594[_0x2fbe55(0x1b7)][_0x2fbe55(0x142)](this[_0x2fbe55(0x1a9)])&&_0x346594[_0x2fbe55(0x151)](this[_0x2fbe55(0x1a9)]),_0x2f1a5e[_0x2fbe55(0x117)](this),this[_0x2fbe55(0x13d)](),super[_0x2fbe55(0xf0)]();}async[_0x3f20ce(0xdf)](_0x28e384){const _0x1cf6c9=_0x3f20ce;if(this[_0x1cf6c9(0x11c)]!==_0x28e384[_0x1cf6c9(0x11c)]&&this[_0x1cf6c9(0x130)]!==_0x28e384[_0x1cf6c9(0x19d)])throw new $();return this[_0x1cf6c9(0x11c)]=_0x28e384[_0x1cf6c9(0x11c)],this[_0x1cf6c9(0x138)]([],{..._0x28e384,'wereChangesApplied':!0x1,'data':_0x28e384[_0x1cf6c9(0x15e)]},_0x1cf6c9(0x135));}async[_0x3f20ce(0x196)](_0x34c09e,_0x26eb61=!0x1){const _0x17f599=_0x3f20ce,{connection:_0x3f8991}=this[_0x17f599(0xef)][_0x17f599(0x1b8)][_0x17f599(0xdd)](_0x4bb3c7);RealTimeCollaborationClient[_0x17f599(0x139)][_0x17f599(0x14f)](_0x3f8991,this[_0x17f599(0x1a9)])[_0x17f599(0xf6)](_0x513e68=>this[_0x17f599(0xd5)](_0x513e68))[_0x17f599(0x1a0)](_0x529e59=>{const _0x2586da=_0x17f599;this[_0x2586da(0xed)](_0x2586da(0x10b),_0x529e59);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x1ae),this[_0x17f599(0x191)][_0x17f599(0x1a5)](this)),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0x16a),(_0x449917,_0x4865c0)=>{const _0xb3bb85=_0x17f599;this[_0xb3bb85(0xed)](_0xb3bb85(0x1b0),_0x4865c0);}),this[_0x17f599(0x1b6)](this[_0x17f599(0x1c2)],_0x17f599(0xeb),()=>{const _0x4c04c0=_0x17f599;this[_0x4c04c0(0x146)]=!0x1;});const _0x5b4611=this[_0x17f599(0xe6)][_0x17f599(0xc3)](_0x34c09e);this[_0x17f599(0x11e)]=!0x0;const _0x37452b=await this[_0x17f599(0x1c2)][_0x17f599(0x143)](_0x3f8991,this[_0x17f599(0x179)](_0x34c09e),_0x5b4611);if(this[_0x17f599(0x11c)]=_0x37452b[_0x17f599(0x11c)],_0x26eb61){if(!_0x37452b[_0x17f599(0xfa)])return void this[_0x17f599(0x118)]();this[_0x17f599(0x11e)]=!0x1,this[_0x17f599(0x119)](),this[_0x17f599(0x108)][_0x17f599(0x169)](),this[_0x17f599(0xca)]=_0x37452b[_0x17f599(0xfd)],this[_0x17f599(0x108)][_0x17f599(0x121)]=this[_0x17f599(0xca)],await this[_0x17f599(0x138)](_0x34c09e,_0x37452b,_0x17f599(0x163));}else await this[_0x17f599(0x15d)](_0x37452b,_0x34c09e);this[_0x17f599(0x187)](),this[_0x17f599(0x146)]=!0x0;}[_0x3f20ce(0x187)](){const _0x25b082=_0x3f20ce,_0x55ff1a=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x581946),_0x350fc3=this[_0x25b082(0xef)][_0x25b082(0x1b8)][_0x25b082(0xdd)](_0x41c88b),_0x110de8=_0x55ff1a[_0x25b082(0x1b7)][_0x25b082(0xdd)](this[_0x25b082(0x1a9)]);_0x110de8&&_0x110de8[_0x25b082(0x13b)]>0x1?_0x350fc3[_0x25b082(0x17e)]():this[_0x25b082(0x1b6)](_0x55ff1a,_0x25b082(0x167)+this[_0x25b082(0x1a9)],()=>{const _0x23d6e0=_0x25b082;0x2===_0x55ff1a[_0x23d6e0(0x1b7)][_0x23d6e0(0xdd)](this[_0x23d6e0(0x1a9)])[_0x23d6e0(0x13b)]&&_0x350fc3[_0x23d6e0(0x17e)]();});}async[_0x3f20ce(0x191)](_0x4d4825,_0x5dd9d0,_0x6ef9c0,_0x939243){const _0x1612ce=_0x3f20ce;if(!this[_0x1612ce(0x11e)]&&this[_0x1612ce(0xd4)][_0x1612ce(0x121)]==_0x5dd9d0){const _0x5b41b0=this[_0x1612ce(0x12b)](_0x6ef9c0,_0x939243);await this[_0x1612ce(0xec)](_0x5b41b0),this[_0x1612ce(0x164)](_0x5b41b0,_0x5dd9d0,_0x6ef9c0[_0x1612ce(0x19d)])||this[_0x1612ce(0xed)](_0x1612ce(0x10d));}}async[_0x3f20ce(0x152)](){const _0x37bfb4=_0x3f20ce;this[_0x37bfb4(0x13d)]();const {locale:_0x7d3261}=this[_0x37bfb4(0xef)];let _0x21c167;try{_0x21c167=await this[_0x37bfb4(0x1c2)][_0x37bfb4(0x1a6)]();}catch{const _0x3ea97f=_0x1338b4(_0x7d3261,_0x37bfb4(0xe7));return void this[_0x37bfb4(0x118)](_0x3ea97f);}const _0xc484cc=_0x21c167[_0x37bfb4(0x1b1)]||_0x21c167[_0x37bfb4(0xd9)];if(this[_0x37bfb4(0x130)]!==_0xc484cc[_0x37bfb4(0x19d)]){const _0x4f3238=_0x1338b4(_0x7d3261,_0x37bfb4(0x178));return void this[_0x37bfb4(0x118)](_0x4f3238);}await this[_0x37bfb4(0x196)](this[_0x37bfb4(0xef)][_0x37bfb4(0x188)][_0x37bfb4(0x160)][_0x37bfb4(0x1b5)][_0x37bfb4(0xe3)](),!0x0);}[_0x3f20ce(0x13d)](){const _0x3fdc63=_0x3f20ce;this[_0x3fdc63(0x1c2)][_0x3fdc63(0x150)](),this[_0x3fdc63(0xbd)]=[],clearTimeout(this[_0x3fdc63(0x13a)]),this[_0x3fdc63(0x159)](this[_0x3fdc63(0x1c2)]);}[_0x3f20ce(0xd5)](_0x5e7eb1){const _0x32833b=_0x3f20ce,_0x58be87=this[_0x32833b(0xef)][_0x32833b(0x1b8)][_0x32833b(0xdd)](_0x581946);this[_0x32833b(0x1b6)](_0x58be87,_0x32833b(0x167)+this[_0x32833b(0x1a9)],(_0x176dd6,{session:_0x4a4a55})=>{const _0x51a340=_0x32833b;if(_0x4a4a55['id']===_0x58be87[_0x51a340(0x11a)]){_0x176dd6[_0x51a340(0x17d)]();const _0x4cda8c=this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0x142)](_0x51a340(0x1bd))&&this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0x1bd));let _0x4b3377=_0x4a4a55[_0x51a340(0x149)];_0x4cda8c&&_0x4cda8c[_0x51a340(0xea)]&&(_0x4b3377=_0x4b3377[_0x51a340(0x12c)](_0x975785=>_0x51a340(0xc9)!==_0x975785)),this[_0x51a340(0xef)][_0x51a340(0x1b8)][_0x51a340(0xdd)](_0x51a340(0xd8))[_0x51a340(0xee)](_0x4b3377,this[_0x51a340(0x1a9)]);}}),_0x58be87[_0x32833b(0xd1)](this[_0x32833b(0x1a9)],_0x5e7eb1);}[_0x3f20ce(0xce)](){const _0x55f2cd=_0x3f20ce,_0x17551b=this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)];this[_0x55f2cd(0xef)][_0x55f2cd(0x15e)][_0x55f2cd(0x16f)]=(..._0x3db0bd)=>{const _0x81432a=_0x55f2cd;if(!_0x3db0bd[_0x3db0bd[_0x81432a(0x13b)]-0x1][_0x81432a(0x1b2)])throw new _0x4e9e26(_0x81432a(0xd0),this);_0x17551b[_0x81432a(0x109)](this[_0x81432a(0xef)][_0x81432a(0x15e)],_0x3db0bd);};}[_0x3f20ce(0x16c)](){const _0x8e4ef1=_0x3f20ce;this[_0x8e4ef1(0xef)][_0x8e4ef1(0x15e)]['on'](_0x8e4ef1(0xe2),(_0x5ebbeb,[_0x46a943])=>{const _0x2877bc=_0x8e4ef1;if(this[_0x2877bc(0xd4)][_0x2877bc(0x121)])throw new _0x4e9e26(_0x2877bc(0x126),this);_0x5ebbeb[_0x2877bc(0x168)](),this[_0x2877bc(0x1ab)]();const _0x4bc84d=this[_0x2877bc(0xef)][_0x2877bc(0x1ac)][_0x2877bc(0xdd)](_0x2877bc(0xf2)),_0x54fa05=this[_0x2877bc(0x140)](_0x46a943,_0x4bc84d);0x0==_0x54fa05[_0x2877bc(0x13b)]&&_0x54fa05[_0x2877bc(0xbc)](new _0x13d4a6(0x0)),_0x5ebbeb[_0x2877bc(0x11f)]=this[_0x2877bc(0x196)](_0x54fa05)[_0x2877bc(0xf6)](()=>{const _0x2aa82c=_0x2877bc;this[_0x2aa82c(0xef)][_0x2aa82c(0x1b8)][_0x2aa82c(0xdd)](_0x4bb3c7)[_0x2aa82c(0xe8)](this),this[_0x2aa82c(0xef)][_0x2aa82c(0x15e)][_0x2aa82c(0xd7)](_0x2aa82c(0x16b));})[_0x2877bc(0x1a0)](_0x3f06a4=>this[_0x2877bc(0xed)](_0x2877bc(0x103),_0x3f06a4))[_0x2877bc(0x153)](()=>this[_0x2877bc(0x119)]());},{'priority':_0x8e4ef1(0x161)}),this[_0x8e4ef1(0xef)]['on'](_0x8e4ef1(0x1aa),async(_0x437a38,[_0x55c09b,_0x2877ae])=>{const _0x270878=_0x8e4ef1;_0x437a38[_0x270878(0x168)]();const _0x2f9919=this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x160)][_0x270878(0x147)](_0x55c09b);if(!this[_0x270878(0x18c)][_0x270878(0x142)](_0x55c09b)){const _0xd5b9a9=_0x2877ae&&_0x2877ae[_0x270878(0x15e)]?_0x2877ae[_0x270878(0x15e)]:'',_0x3a6d05=_0x2877ae&&_0x2877ae[_0x270878(0x18f)]?_0x2877ae[_0x270878(0x18f)]:{};await this[_0x270878(0x10c)](_0x55c09b,_0xd5b9a9,_0x3a6d05);}this[_0x270878(0xef)][_0x270878(0x188)][_0x270878(0x123)]({'isUndoable':!0x1},()=>{const _0x2a6fdd=_0x270878;_0x2f9919[_0x2a6fdd(0x18e)]=!0x0,this[_0x2a6fdd(0xef)][_0x2a6fdd(0x188)][_0x2a6fdd(0x160)][_0x2a6fdd(0x177)][_0x2a6fdd(0x141)](_0x2f9919);});},{'priority':_0x8e4ef1(0x161)});}async[_0x3f20ce(0xec)](_0xfcc13d){const _0x116b0b=_0x3f20ce,_0x394257=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x1281e4),{connection:_0x525128}=this[_0x116b0b(0xef)][_0x116b0b(0x1b8)][_0x116b0b(0xdd)](_0x4bb3c7),_0x8ae2b3=new Set();for(const _0x37adac of _0xfcc13d){const _0x1f1669=_0x37adac[_0x116b0b(0x102)];_0x1f1669&&!_0x394257[_0x116b0b(0xde)](_0x1f1669)&&_0x8ae2b3[_0x116b0b(0xd3)](_0x1f1669);}if(0x0===_0x8ae2b3[_0x116b0b(0x110)])return;const _0x1785b0=await _0x57115b[_0x116b0b(0x100)](_0x525128,Array[_0x116b0b(0x137)](_0x8ae2b3));for(const _0x3771d3 of _0x1785b0)_0x394257[_0x116b0b(0xde)](_0x3771d3['id'])||_0x394257[_0x116b0b(0x180)](_0x3771d3);}[_0x3f20ce(0x140)](_0x1abff7,_0x3448cc={}){const _0xd55fcc=_0x3f20ce,_0x1c093f=this[_0xd55fcc(0xef)][_0xd55fcc(0x188)],_0x266820=[];let _0x1aa40a=0x0;const _0x1a40ae=_0xd55fcc(0xf4)==typeof _0x1abff7?{'main':_0x1abff7}:_0x1abff7;for(const _0x54d865 of Object[_0xd55fcc(0x15f)](_0x1a40ae)){if(!this[_0xd55fcc(0xd4)][_0xd55fcc(0xe1)][_0xd55fcc(0x142)](_0x54d865))throw new _0x4e9e26(_0xd55fcc(0x1a4),this);const _0x200818=this[_0xd55fcc(0xef)][_0xd55fcc(0x15e)][_0xd55fcc(0xf1)](_0x1a40ae[_0x54d865]),_0x117b24=this[_0xd55fcc(0xd4)][_0xd55fcc(0x147)](_0x54d865),_0x19e900=new _0xa9eeb7(_0x1c093f[_0xd55fcc(0x1b3)](_0x117b24,0x0),_0x200818,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x19e900);for(const [_0x283dec,_0x3f07af]of _0x200818[_0xd55fcc(0x170)]){const _0xabd7af=_0x1c093f[_0xd55fcc(0x145)](_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0xf9)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]()),_0x1c093f[_0xd55fcc(0x198)](_0x117b24,_0x3f07af[_0xd55fcc(0x175)][_0xd55fcc(0x16e)][_0xd55fcc(0x18d)]())),_0x5760bf=new _0x23ac2e(_0x283dec,null,_0xabd7af,_0x1c093f[_0xd55fcc(0x170)],!0x0,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x5760bf);}}if(_0x3448cc)for(const [_0x15c61e,_0x35a5ea]of Object[_0xd55fcc(0x112)](_0x3448cc)){const _0x459ef5=_0x1c093f[_0xd55fcc(0x160)][_0xd55fcc(0x147)](_0x15c61e);if(!_0x459ef5)throw new _0x4e9e26(_0xd55fcc(0x165),null);for(const [_0x548614,_0x14584f]of Object[_0xd55fcc(0x112)](_0x35a5ea))if(null!==_0x14584f){const _0x450c39=new _0x104001(_0x459ef5,_0x548614,null,_0x14584f,_0x1aa40a++);_0x266820[_0xd55fcc(0xbc)](_0x450c39);}}return _0x266820;}async[_0x3f20ce(0x10c)](_0x36c888,_0xaa195,_0x16142d){const _0x14612c=_0x3f20ce;this[_0x14612c(0x140)]({[_0x36c888]:_0xaa195},{[_0x36c888]:_0x16142d})[_0x14612c(0xc6)]((_0x2fde74,_0x531754)=>{const _0x24e168=_0x14612c;_0x2fde74[_0x24e168(0x158)]=this[_0x24e168(0xd4)][_0x24e168(0x121)]+_0x531754,_0x2fde74[_0x24e168(0xf8)]=!0x0,this[_0x24e168(0x10e)](_0x2fde74);}),this[_0x14612c(0xcd)](),await this[_0x14612c(0x122)]();}async[_0x3f20ce(0x15d)](_0x279fd9,_0x5ac96d){const _0x53753c=_0x3f20ce;let _0x4341f4;this[_0x53753c(0xca)]=_0x279fd9[_0x53753c(0xfd)];const _0x13c428=_0x279fd9[_0x53753c(0xfa)]&&!_0x279fd9[_0x53753c(0x15b)],_0x2c21a6=_0x13c428?0x0:_0x279fd9[_0x53753c(0x15e)][_0x53753c(0x158)];if(_0x5ac96d[_0x53753c(0xc6)](_0x4917c4=>{const _0x24f03f=_0x53753c;_0x4917c4[_0x24f03f(0xf8)]=!0x0,_0x4917c4[_0x24f03f(0x1b9)]=_0x279fd9[_0x24f03f(0xcf)],_0x4917c4[_0x24f03f(0x102)]=null;}),_0x13c428)_0x4341f4=_0x5ac96d,this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);else{if(_0x279fd9[_0x53753c(0x15b)]){const _0x1e6ccc=this[_0x53753c(0x140)](_0x279fd9[_0x53753c(0x15b)]);this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)],_0x1e6ccc[_0x53753c(0xc6)](_0x477a49=>{const _0x3a09d4=_0x53753c;_0x477a49[_0x3a09d4(0x158)]-=_0x1e6ccc[_0x3a09d4(0x13b)],_0x477a49[_0x3a09d4(0x1b9)]=_0x279fd9[_0x3a09d4(0xcf)],_0x477a49[_0x3a09d4(0xf8)]=!0x0,_0x477a49[_0x3a09d4(0x102)]=null;}),this[_0x53753c(0x1bc)](_0x1e6ccc,!0x0),this[_0x53753c(0x108)][_0x53753c(0x121)]=-_0x1e6ccc[_0x53753c(0x13b)]+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x1e6ccc);}this[_0x53753c(0xd4)][_0x53753c(0x1b5)][_0x53753c(0x121)]=_0x2c21a6,_0x4341f4=this[_0x53753c(0x12b)](_0x279fd9[_0x53753c(0x15e)],_0x279fd9[_0x53753c(0x14d)]),await this[_0x53753c(0xec)](_0x4341f4),this[_0x53753c(0x1bc)](_0x4341f4,_0x13c428);}_0x279fd9[_0x53753c(0x19d)]&&(this[_0x53753c(0xe6)][_0x53753c(0x14c)](_0x4341f4,_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x130)]=_0x279fd9[_0x53753c(0x19d)]),this[_0x53753c(0x108)][_0x53753c(0x121)]=_0x2c21a6+this[_0x53753c(0xca)],this[_0x53753c(0x12a)](_0x4341f4),_0x5ac96d[_0x53753c(0x12c)](_0x5470f6=>{const _0x1d4854=_0x53753c,_0x368e75=this[_0x1d4854(0x18b)](_0x5470f6);return _0x368e75&&!this[_0x1d4854(0x18c)][_0x1d4854(0x142)](_0x368e75);})[_0x53753c(0xc6)]((_0x104165,_0x3aeaa8)=>{const _0x4b7398=_0x53753c;_0x104165[_0x4b7398(0x158)]=this[_0x4b7398(0xd4)][_0x4b7398(0x121)]+_0x3aeaa8,this[_0x4b7398(0x10e)](_0x104165);}),this[_0x53753c(0x114)]()?(this[_0x53753c(0xbf)]=0x0,this[_0x53753c(0xcd)](!0x0),await this[_0x53753c(0x122)]()):(this[_0x53753c(0x11e)]=!0x1,this[_0x53753c(0x119)]());}[_0x3f20ce(0xed)](_0x891748,_0x5707ee){const _0x227662=_0x3f20ce,_0x14a1e4=_0x5707ee&&_0x5707ee[_0x227662(0xdc)];if(_0x14a1e4&&_0x14a1e4[_0x227662(0x19c)](_0x227662(0x190)))throw _0x5707ee;const _0x474e3d=this[_0x227662(0xef)][_0x227662(0x1b8)][_0x227662(0xdd)](_0x4bb3c7);throw this[_0x227662(0x11e)]=!0x0,_0x474e3d[_0x227662(0x150)](),this[_0x227662(0xef)][_0x227662(0x17a)](_0x227662(0xda)),new _0x4e9e26(_0x891748,this[_0x227662(0xef)],_0x14a1e4?{'originalError':_0x14a1e4}:void 0x0);}[_0x3f20ce(0x10e)](_0x3e26e0){const _0x18935d=_0x3f20ce;this[_0x18935d(0x155)][_0x18935d(0x142)](_0x3e26e0)||(this[_0x18935d(0x155)][_0x18935d(0xd3)](_0x3e26e0),this[_0x18935d(0xbd)][_0x18935d(0xbc)](_0x3e26e0),this[_0x18935d(0xfb)]||_0x18935d(0xe0)==_0x3e26e0[_0x18935d(0x132)]&&!_0x3e26e0[_0x18935d(0x171)]||this[_0x18935d(0x1ab)]());}[_0x3f20ce(0xcd)](_0x1b03dc=!0x1){const _0x3fd25a=_0x3f20ce;!_0x1b03dc&&this[_0x3fd25a(0x11e)]||(this[_0x3fd25a(0x11e)]=!0x0,clearTimeout(this[_0x3fd25a(0x13a)]),this[_0x3fd25a(0x13a)]=setTimeout(()=>{const _0x49cedf=_0x3fd25a;this[_0x49cedf(0x1bf)]()[_0x49cedf(0xf6)](_0x46afd7=>{const _0x1f3cc3=_0x49cedf;_0x46afd7&&(this[_0x1f3cc3(0x119)](),this[_0x1f3cc3(0x11e)]=!0x1);})[_0x49cedf(0x1a0)](_0x9fea3e=>{const _0x3726b1=_0x49cedf;this[_0x3726b1(0x119)](),this[_0x3726b1(0x11e)]=!0x1,function(_0x3cfc5e){const _0x18257b=_0x3726b1;return _0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0xf5))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x199))||_0x3cfc5e[_0x18257b(0xdc)][_0x18257b(0x19c)](_0x18257b(0x1b4));}(_0x9fea3e)||this[_0x3726b1(0xed)](_0x9fea3e[_0x3726b1(0xdc)],_0x9fea3e);});},this[_0x3fd25a(0xbf)]));}[_0x3f20ce(0x122)](){return new Promise(_0x31b932=>{const _0x5e5c35=_0x2fd8;this['on'](_0x5e5c35(0x184),()=>{_0x31b932();});});}async[_0x3f20ce(0x1bf)](){const _0x24d141=_0x3f20ce,_0x29a2cb=this[_0x24d141(0xef)][_0x24d141(0x1b8)][_0x24d141(0xdd)](_0x41c88b);if(this[_0x24d141(0x176)]()&&(_0x29a2cb[_0x24d141(0x17e)](),this[_0x24d141(0x172)]=!0x1),!this[_0x24d141(0x114)]())return!0x0;const _0x32e165=[...this[_0x24d141(0xbd)]];for(const _0x26ab49 of _0x32e165)_0x26ab49[_0x24d141(0x181)]=this[_0x24d141(0xd4)][_0x24d141(0x1b5)][_0x24d141(0x136)](_0x26ab49);const _0x1ae56d=this[_0x24d141(0xe6)][_0x24d141(0xc3)](_0x32e165),_0x485a09=G++,_0x479dc0=this[_0x24d141(0x179)](_0x32e165),_0x129710=await this[_0x24d141(0x1c2)][_0x24d141(0x174)](_0x479dc0,_0x479dc0[_0x24d141(0x158)],_0x1ae56d);try{return await this[_0x24d141(0x138)](_0x32e165,_0x129710,_0x485a09);}catch(_0x1518d7){return this[_0x24d141(0xed)](_0x24d141(0x1c1),_0x1518d7);}}async[_0x3f20ce(0x138)](_0xb022cc,_0x1e7bc9,_0x1a613c){const _0x3c4835=_0x3f20ce;if(_0x3c4835(0x16a)in _0x1e7bc9)throw _0x1e7bc9[_0x3c4835(0x16a)];let _0x3a1c34=!0x1;if(_0x1e7bc9[_0x3c4835(0xfa)]){_0x1e7bc9[_0x3c4835(0x19d)]&&(this[_0x3c4835(0x130)]=_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x4965ac=>!_0xb022cc[_0x3c4835(0x1ba)](_0x4965ac));for(const _0x93b349 of _0xb022cc)_0x93b349[_0x3c4835(0x1b9)]=_0x3c4835(0x148)in _0x1e7bc9&&_0x1e7bc9[_0x3c4835(0x148)]||void 0x0;K(_0xb022cc,_0x1e7bc9[_0x3c4835(0x121)]-_0xb022cc[_0x3c4835(0x13b)]),this[_0x3c4835(0x12a)](_0xb022cc);const _0xbb6864=_0xb022cc[_0x3c4835(0x12c)](_0x1af319=>{const _0x4e5b06=_0x3c4835;if(!_0x1af319[_0x4e5b06(0xf8)])return!0x1;const _0x33df07=this[_0x4e5b06(0x18b)](_0x1af319);return _0x33df07&&!this[_0x4e5b06(0x18c)][_0x4e5b06(0x142)](_0x33df07);});K(_0xbb6864,this[_0x3c4835(0xd4)][_0x3c4835(0x121)]),this[_0x3c4835(0x1bc)](_0xbb6864),_0x3a1c34=!0x0,this[_0x3c4835(0xbf)]=this[_0x3c4835(0x162)];}else{const _0x4e55fb=this[_0x3c4835(0x12b)](_0x1e7bc9[_0x3c4835(0x15e)],_0x1e7bc9[_0x3c4835(0x14d)])[_0x3c4835(0x12c)](_0x224142=>_0x224142[_0x3c4835(0x158)]>=this[_0x3c4835(0x18a)]);_0x4e55fb[_0x3c4835(0xc6)](_0x32001e=>this[_0x3c4835(0xcc)](_0x32001e)),this[_0x3c4835(0xbd)]=this[_0x3c4835(0xbd)][_0x3c4835(0x12c)](_0x5879a3=>!_0x5879a3[_0x3c4835(0xf8)]||!this[_0x3c4835(0x18c)][_0x3c4835(0x142)](this[_0x3c4835(0x18b)](_0x5879a3))),this[_0x3c4835(0xbd)][_0x3c4835(0x13b)]&&K(this[_0x3c4835(0xbd)],this[_0x3c4835(0xbd)][0x0][_0x3c4835(0x158)]),await this[_0x3c4835(0xec)](_0x4e55fb),_0x3a1c34=this[_0x3c4835(0x164)](_0x4e55fb,_0x1e7bc9[_0x3c4835(0x121)],_0x1e7bc9[_0x3c4835(0x19d)]),this[_0x3c4835(0xbf)]=Math[_0x3c4835(0x19e)](this[_0x3c4835(0xbf)]/0x2);}return _0x3a1c34?!this[_0x3c4835(0x114)]()||(this[_0x3c4835(0xcd)](!0x0),!0x1):this[_0x3c4835(0xed)](_0x3c4835(0xe9));}[_0x3f20ce(0x164)](_0x2e0066,_0x328a04,_0x3f78de){const _0x342f40=_0x3f20ce;try{const _0x85a931={'document':this[_0x342f40(0xd4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c695d,operationsB:_0x5a1b3b,originalOperations:_0x29671e}=_0x5b3a29(_0x2e0066,this[_0x342f40(0xbd)],_0x85a931);K(_0x1c695d,this[_0x342f40(0xd4)][_0x342f40(0x121)]),K(_0x5a1b3b,_0x328a04);for(const _0x433463 of _0x1c695d){const _0x4b5280=_0x29671e[_0x342f40(0xdd)](_0x433463);_0x433463[_0x342f40(0x102)]=_0x4b5280?_0x4b5280[_0x342f40(0x102)]:null;}_0x3f78de&&(this[_0x342f40(0xe6)][_0x342f40(0x14c)](_0x2e0066,_0x3f78de),this[_0x342f40(0x130)]=_0x3f78de),this[_0x342f40(0xbd)]=[..._0x5a1b3b],this[_0x342f40(0x1bc)](_0x1c695d),this[_0x342f40(0x12a)](_0x2e0066);}catch(_0x48e21c){return console[_0x342f40(0x16a)](_0x48e21c),!0x1;}return!0x0;}[_0x3f20ce(0x1bc)](_0xba34b1,_0x8a723d=!0x1){const _0x227fe1=_0x3f20ce;this[_0x227fe1(0xef)][_0x227fe1(0x188)][_0x227fe1(0x123)]({'isUndoable':!0x1,'isLocal':!0x1},_0x39f658=>{const _0x42d654=_0x227fe1;for(const _0x5143dc of _0xba34b1)this[_0x42d654(0x155)][_0x42d654(0xd3)](_0x5143dc),this[_0x42d654(0xcc)](_0x5143dc),_0x39f658[_0x42d654(0x195)][_0x42d654(0x1a2)](_0x5143dc),this[_0x42d654(0xef)][_0x42d654(0x188)][_0x42d654(0xf7)](_0x5143dc);});}[_0x3f20ce(0xcc)](_0x16668b){const _0x575540=_0x3f20ce,_0x168463=this[_0x575540(0x18b)](_0x16668b);_0x168463&&this[_0x575540(0x18c)][_0x575540(0xd3)](_0x168463);}[_0x3f20ce(0x18b)](_0x513997){const _0x5725e6=_0x3f20ce;let _0x120628,_0x4db2cf;switch(_0x513997[_0x5725e6(0x132)]){case _0x5725e6(0x19b):_0x120628=_0x513997[_0x5725e6(0x12f)][_0x5725e6(0x19a)];break;case _0x5725e6(0xe0):if(_0x4db2cf=_0x513997[_0x5725e6(0xff)],!_0x4db2cf)return null;_0x120628=_0x4db2cf[_0x5725e6(0x19a)];break;case _0x5725e6(0x17c):_0x120628=_0x513997[_0x5725e6(0x19a)];break;case _0x5725e6(0x10a):_0x120628=_0x513997[_0x5725e6(0x12e)];break;case _0x5725e6(0xe4):_0x120628=_0x513997[_0x5725e6(0x1ad)][_0x5725e6(0x19a)];break;default:return null;}return _0x120628[_0x5725e6(0x1c0)];}[_0x3f20ce(0x12a)](_0xdf05f5){const _0x2fab9d=_0x3f20ce;_0xdf05f5[_0x2fab9d(0xc6)](_0x17e66d=>{const _0x3ce55a=_0x2fab9d,_0x50435b=_0x17e66d[_0x3ce55a(0x19f)]();_0x50435b[_0x3ce55a(0x102)]=_0x17e66d[_0x3ce55a(0x102)],_0x50435b[_0x3ce55a(0xf8)]=!!_0x17e66d[_0x3ce55a(0xf8)],_0x50435b[_0x3ce55a(0x1b9)]=_0x17e66d[_0x3ce55a(0x1b9)],_0x50435b[_0x3ce55a(0x158)]+=this[_0x3ce55a(0xca)],_0x17e66d[_0x3ce55a(0x157)]&&this[_0x3ce55a(0x104)][_0x3ce55a(0xd3)](_0x50435b),this[_0x3ce55a(0x108)][_0x3ce55a(0x1a2)](_0x50435b);});}[_0x3f20ce(0x118)](_0x26093a){const _0x31874f=_0x3f20ce,_0x399956=this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x31874f(0x1af)),_0x1e6caf=this[_0x31874f(0xef)][_0x31874f(0xc2)];_0x26093a||(_0x26093a=_0x1338b4(_0x1e6caf,_0x31874f(0x107))),_0x399956[_0x31874f(0x13f)](_0x26093a,{'title':_0x1338b4(_0x1e6caf,_0x31874f(0xc0)),'namespace':_0x31874f(0x1bb)}),this[_0x31874f(0x1a1)]=!0x0,clearTimeout(this[_0x31874f(0x13a)]),this[_0x31874f(0xbd)]=[],this[_0x31874f(0xef)][_0x31874f(0x1b8)][_0x31874f(0xdd)](_0x4bb3c7)[_0x31874f(0x150)]();}[_0x3f20ce(0x1ab)](){const _0x15cd64=_0x3f20ce;this[_0x15cd64(0xfb)]||(this[_0x15cd64(0xfb)]=this[_0x15cd64(0xef)][_0x15cd64(0x1b8)][_0x15cd64(0xdd)](_0x26c835)[_0x15cd64(0xd3)](_0x1338b4(this[_0x15cd64(0xef)][_0x15cd64(0xc2)],_0x15cd64(0x14a))));}[_0x3f20ce(0x119)](){const _0x14567d=_0x3f20ce;this[_0x14567d(0xfb)]&&(this[_0x14567d(0xef)][_0x14567d(0x1b8)][_0x14567d(0xdd)](_0x26c835)[_0x14567d(0xc8)](this[_0x14567d(0xfb)]),this[_0x14567d(0xfb)]=null);}[_0x3f20ce(0x179)](_0x5ddbb4){const _0x36cdc6=_0x3f20ce,_0x509f04=_0x5ddbb4[_0x36cdc6(0x134)](_0x2a1a8b=>_0x2a1a8b[_0x36cdc6(0x124)]());return this[_0x36cdc6(0x133)][_0x36cdc6(0xc1)](_0x509f04);}[_0x3f20ce(0x12b)](_0x244dff,_0x3e16b1){const _0x186363=_0x3f20ce;return this[_0x186363(0x133)][_0x186363(0xd6)](_0x244dff)[_0x186363(0x134)]((_0x1fee35,_0x5b893b)=>{const _0x46333c=_0x186363,_0x3a08e1=_0x46333c(0xe2)==_0x3e16b1[_0x5b893b][_0x46333c(0x132)];if(_0x46333c(0x11d)==_0x1fee35[_0x46333c(0xdb)]){const _0x4ccf20=_0x1fee35[_0x46333c(0x12f)][_0x46333c(0x19a)];!this[_0x46333c(0xd4)][_0x46333c(0x147)](_0x4ccf20)&&(this[_0x46333c(0xd4)][_0x46333c(0x1a7)](_0x46333c(0x128),_0x4ccf20)[_0x46333c(0x1a3)]=!0x1);}const _0x12428a=_0x25d0ed[_0x46333c(0x1a8)](_0x1fee35,this[_0x46333c(0xd4)]);return _0x12428a[_0x46333c(0x181)]=_0x1fee35[_0x46333c(0x181)],_0x12428a[_0x46333c(0xf8)]=_0x3a08e1,_0x12428a[_0x46333c(0x102)]=_0x3a08e1?null:_0x3e16b1[_0x5b893b][_0x46333c(0x183)],_0x12428a[_0x46333c(0x157)]=_0x46333c(0x144)===_0x3e16b1[_0x5b893b][_0x46333c(0x132)],_0x12428a[_0x46333c(0x1b9)]=_0x3e16b1[_0x5b893b][_0x46333c(0x1b9)],_0x12428a;});}[_0x3f20ce(0x16d)](){const _0x309e37=_0x3f20ce;this[_0x309e37(0x172)]=!0x0,this[_0x309e37(0x176)]()?this[_0x309e37(0xcd)]():this[_0x309e37(0x172)]=!0x1;}[_0x3f20ce(0x176)](){const _0x24a41f=_0x3f20ce,_0x14fca6=this[_0x24a41f(0xef)][_0x24a41f(0x1b8)][_0x24a41f(0xdd)](_0x581946)[_0x24a41f(0x1b7)][_0x24a41f(0xdd)](this[_0x24a41f(0x1a9)]);return!this[_0x24a41f(0xef)][_0x24a41f(0xd2)]&&!!_0x14fca6&&_0x14fca6[_0x24a41f(0x13b)]>0x1&&this[_0x24a41f(0x172)];}[_0x3f20ce(0x114)](){const _0x24b39f=_0x3f20ce;return this[_0x24b39f(0xbd)][_0x24b39f(0x13b)]>0x0||this[_0x24b39f(0x176)]();}}class $ extends Error{}function K(_0x1e96a7,_0x35c6cd){const _0x372288=_0x3f20ce;for(const _0x117339 of _0x1e96a7)_0x117339[_0x372288(0x158)]=_0x35c6cd++;}class J{[_0x3f20ce(0x129)];[_0x3f20ce(0x15a)];constructor(_0x121b75){const _0x59bd59=_0x3f20ce;this[_0x59bd59(0x129)]=_0x121b75,this[_0x59bd59(0x15a)]=new WeakMap();}[_0x3f20ce(0xc3)](_0x4a7f74){const _0x49abfa=_0x3f20ce;let _0x23cd6d=_0x4a7f74[_0x49abfa(0x13b)];for(;_0x23cd6d--;){const _0x496d2b=_0x4a7f74[_0x23cd6d];if(!this[_0x49abfa(0x129)][_0x49abfa(0x142)](_0x496d2b)){if(!this[_0x49abfa(0x15a)][_0x49abfa(0x142)](_0x496d2b)){const _0x1e166=_0xa2d85d()[_0x49abfa(0x18d)](0x1,0x12);this[_0x49abfa(0x15a)][_0x49abfa(0x16f)](_0x496d2b,_0x1e166);}return this[_0x49abfa(0x15a)][_0x49abfa(0xdd)](_0x496d2b);}}}[_0x3f20ce(0x14c)](_0x1f48ed,_0x58b0d8){const _0x2b01c0=_0x3f20ce;if(!_0x58b0d8)return;let _0x10186f=_0x1f48ed[_0x2b01c0(0x13b)];for(;_0x10186f--;){const _0x4fc176=_0x1f48ed[_0x10186f];this[_0x2b01c0(0x129)][_0x2b01c0(0x142)](_0x4fc176)||this[_0x2b01c0(0x15a)][_0x2b01c0(0x16f)](_0x4fc176,_0x58b0d8);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b65d9=_0xf769;(function(_0x568cbc,_0xec3631){const _0x2e4f7e=_0xf769,_0x3fc3ad=_0x568cbc();while(!![]){try{const _0x458a93=-parseInt(_0x2e4f7e(0xe6))/0x1+-parseInt(_0x2e4f7e(0x105))/0x2+-parseInt(_0x2e4f7e(0xf8))/0x3+parseInt(_0x2e4f7e(0xe5))/0x4+parseInt(_0x2e4f7e(0xd7))/0x5+-parseInt(_0x2e4f7e(0xef))/0x6*(-parseInt(_0x2e4f7e(0x103))/0x7)+parseInt(_0x2e4f7e(0x109))/0x8;if(_0x458a93===_0xec3631)break;else _0x3fc3ad['push'](_0x3fc3ad['shift']());}catch(_0x5e32f8){_0x3fc3ad['push'](_0x3fc3ad['shift']());}}}(_0x22ed,0x8fbc6));function _0xf769(_0x1dd0fe,_0x4090cb){const _0x22edfe=_0x22ed();return _0xf769=function(_0xf7697b,_0x57e5db){_0xf7697b=_0xf7697b-0xcd;let _0xcc0b5e=_0x22edfe[_0xf7697b];return _0xcc0b5e;},_0xf769(_0x1dd0fe,_0x4090cb);}import{ContextPlugin as _0x2a2a34}from'ckeditor5/src/core.js';import{Collection as _0x470be1,CKEditorError as _0x25aa46}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x38ee87}from'./websocketgateway.js';function _0x22ed(){const _0xe2f5e7=['1497445OLJqsH','stopListening','sessions-register-already-registered','register','set','orderNumber','_users','isPremiumPlugin','assign','context','defineMe','has','fire','clear','1765372xjcQCK','494722bGmmqp','user','_handleSessionRemove','channelConnectedUsers','hiddenInPresenceList','_uniqueUsersCount','change:state','isMe','connection','30138qZRrdb','getUserSessions','getUserRole','connected','channelSessions','get','listenTo','mySessionId','addUser','1823943gizFaN','allConnectedUsers','sessionAdd:','_handleSessionAdd','getUserBySessionId','sessions-unregister-not-exist','state','delete','add','getUser','init','1351xJzpjf','forEach','1413446ablPjD','pluginName','requires','unregister','5503176BoUMEo','isOfficialPlugin','remove','sessionId','role','_registeredSessions','values','Sessions','plugins','size','_createUser'];_0x22ed=function(){return _0xe2f5e7;};return _0x22ed();}import{Users as _0x32a93a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2a2a34{[_0x4b65d9(0xf3)];[_0x4b65d9(0xe9)];[_0x4b65d9(0xf9)];[_0x4b65d9(0xd1)];[_0x4b65d9(0xeb)];[_0x4b65d9(0xdd)];static get[_0x4b65d9(0x106)](){const _0x4a7a2d=_0x4b65d9;return _0x4a7a2d(0xd3);}static get[_0x4b65d9(0xcd)](){return!0x0;}static get[_0x4b65d9(0xde)](){return!0x0;}static get[_0x4b65d9(0x107)](){return[_0x38ee87,_0x32a93a];}constructor(_0x52f0b5){const _0x376141=_0x4b65d9;super(_0x52f0b5),this[_0x376141(0xf3)]=new Map(),this[_0x376141(0xe9)]=new Map(),this[_0x376141(0xf9)]=new _0x470be1(),this[_0x376141(0xd1)]=new Map(),this[_0x376141(0xeb)]=0x0,this[_0x376141(0xdd)]=this[_0x376141(0xe0)][_0x376141(0xd4)][_0x376141(0xf4)](_0x32a93a);}[_0x4b65d9(0x102)](){const _0x11955f=_0x4b65d9,_0xbf781=this[_0x11955f(0xe0)][_0x11955f(0xd4)][_0x11955f(0xf4)](_0x38ee87);this[_0x11955f(0xf5)](_0xbf781,_0x11955f(0xec),(_0x2c2bc4,_0x152fce,_0x280819)=>{const _0x389058=_0x11955f;if(_0x389058(0xf2)!==_0x280819)this[_0x389058(0xf3)][_0x389058(0x104)](_0x296e3c=>_0x296e3c[_0x389058(0xe4)]()),this[_0x389058(0xe9)][_0x389058(0x104)](_0x3b25ec=>_0x3b25ec[_0x389058(0xe4)]()),this[_0x389058(0xf9)][_0x389058(0xe4)]();else{for(const [_0x261994,_0x36fe1b]of this[_0x389058(0xd1)])for(const _0x3b5e3b of _0x36fe1b)this[_0x389058(0xfb)](_0x261994,_0x3b5e3b);}}),this[_0x11955f(0xd6)](_0xbf781[_0x11955f(0xee)]['me'],!0x0);}[_0x4b65d9(0xda)](_0x1e33d2,_0x4ac80a){const _0x46d513=_0x4b65d9;if(this[_0x46d513(0xd1)][_0x46d513(0xe2)](_0x1e33d2))throw new _0x25aa46(_0x46d513(0xd9),null,{'channelId':_0x1e33d2});this[_0x46d513(0xd1)][_0x46d513(0xdb)](_0x1e33d2,_0x4ac80a),this[_0x46d513(0xf3)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xe9)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0x100),(_0x3e84ec,_0x355f1d)=>this[_0x46d513(0xfb)](_0x1e33d2,_0x355f1d)),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0xce),(_0x4f4d19,_0x4a14f5)=>this[_0x46d513(0xe8)](_0x1e33d2,_0x4a14f5));for(const _0xd1f81f of _0x4ac80a)this[_0x46d513(0xfb)](_0x1e33d2,_0xd1f81f);}[_0x4b65d9(0x108)](_0x2e711a){const _0x3e1e65=_0x4b65d9;if(!this[_0x3e1e65(0xd1)][_0x3e1e65(0xe2)](_0x2e711a))throw new _0x25aa46(_0x3e1e65(0xfd),null,{'channelId':_0x2e711a});const _0x5357eb=this[_0x3e1e65(0xd1)][_0x3e1e65(0xf4)](_0x2e711a);this[_0x3e1e65(0xd8)](_0x5357eb);for(const _0x3f7f6b of _0x5357eb)_0x3e1e65(0xf2)===this[_0x3e1e65(0xe0)][_0x3e1e65(0xd4)][_0x3e1e65(0xf4)](_0x38ee87)[_0x3e1e65(0xfe)]&&this[_0x3e1e65(0xe8)](_0x2e711a,_0x3f7f6b);this[_0x3e1e65(0xd1)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xf3)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xe9)][_0x3e1e65(0xff)](_0x2e711a);}get[_0x4b65d9(0xf6)](){const _0x23b7e3=_0x4b65d9;return this[_0x23b7e3(0xe0)][_0x23b7e3(0xd4)][_0x23b7e3(0xf4)](_0x38ee87)[_0x23b7e3(0xee)][_0x23b7e3(0xcf)];}[_0x4b65d9(0xfc)](_0x4e3bff){const _0x19b3a1=_0x4b65d9;for(const _0x24ec0c of this[_0x19b3a1(0xf3)][_0x19b3a1(0xd2)]())for(const _0x1b6c10 of _0x24ec0c)if(_0x1b6c10['id']===_0x4e3bff)return _0x1b6c10[_0x19b3a1(0xe7)];}[_0x4b65d9(0xf0)](_0x99c39d,_0x2b89c2){const _0x1b3a0d=_0x4b65d9,_0xfdabbe=_0x2b89c2?[this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xf4)](_0x2b89c2)]:this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xd2)](),_0x180727=new Set();for(const _0x5a9b1f of _0xfdabbe)for(const _0x73b4ca of _0x5a9b1f)_0x73b4ca[_0x1b3a0d(0xe7)]['id']===_0x99c39d['id']&&_0x180727[_0x1b3a0d(0x100)](_0x73b4ca['id']);return _0x180727;}[_0x4b65d9(0xf1)](_0x3b2fe0){const _0xb9bb26=_0x4b65d9;for(const _0x27b984 of this[_0xb9bb26(0xf3)][_0xb9bb26(0xd2)]())for(const _0x8ad34b of _0x27b984)if(_0x8ad34b[_0xb9bb26(0xe7)]===_0x3b2fe0)return _0x8ad34b[_0xb9bb26(0xd0)];}[_0x4b65d9(0xfb)](_0x2a41f7,_0xad57fa){const _0x342d87=_0x4b65d9;if(_0x342d87(0xf2)!==this[_0x342d87(0xe0)][_0x342d87(0xd4)][_0x342d87(0xf4)](_0x38ee87)[_0x342d87(0xfe)])return;const _0x3d35a9=_0xad57fa[_0x342d87(0xe7)],_0x2668c5=this[_0x342d87(0xdd)][_0x342d87(0x101)](_0x3d35a9['id'])||this[_0x342d87(0xd6)](_0x3d35a9),_0xb063c1=Object[_0x342d87(0xdf)]({},_0xad57fa,{'user':_0x2668c5});if(this[_0x342d87(0xf3)][_0x342d87(0xf4)](_0x2a41f7)[_0x342d87(0x100)](_0xb063c1),!_0x3d35a9[_0x342d87(0xea)]){const _0x339caf=this[_0x342d87(0xe9)][_0x342d87(0xf4)](_0x2a41f7);_0x339caf[_0x342d87(0xe2)](_0x2668c5['id'])||_0x339caf[_0x342d87(0x100)](_0x2668c5),this[_0x342d87(0xf9)][_0x342d87(0xe2)](_0x2668c5['id'])||_0x3d35a9[_0x342d87(0xea)]||this[_0x342d87(0xf9)][_0x342d87(0x100)](_0x2668c5,_0x2668c5[_0x342d87(0xed)]?0x0:void 0x0);}this[_0x342d87(0xe3)](_0x342d87(0xfa)+_0x2a41f7,{'channelId':_0x2a41f7,'session':_0xb063c1});}[_0x4b65d9(0xe8)](_0x5bb0c6,_0x42a49f){const _0x53bc=_0x4b65d9;if(_0x53bc(0xf2)!==this[_0x53bc(0xe0)][_0x53bc(0xd4)][_0x53bc(0xf4)](_0x38ee87)[_0x53bc(0xfe)])return;const _0x367363=this[_0x53bc(0xe9)][_0x53bc(0xf4)](_0x5bb0c6),_0x365082=_0x42a49f[_0x53bc(0xe7)];_0x365082['id']&&(this[_0x53bc(0xf3)][_0x53bc(0xf4)](_0x5bb0c6)[_0x53bc(0xce)](_0x42a49f['id']),_0x367363[_0x53bc(0xe2)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082,_0x5bb0c6)[_0x53bc(0xd5)]&&_0x367363[_0x53bc(0xce)](_0x365082['id']),this[_0x53bc(0xf9)][_0x53bc(0xf4)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082)[_0x53bc(0xd5)]&&this[_0x53bc(0xf9)][_0x53bc(0xce)](_0x365082['id']));}[_0x4b65d9(0xd6)](_0x3e7923,_0x1e88f0){const _0x1f3ffe=_0x4b65d9,_0x13d230=this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xf7)](_0x3e7923);return _0x1e88f0&&this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xe1)](_0x3e7923['id']),_0x13d230[_0x1f3ffe(0xdc)]=this[_0x1f3ffe(0xeb)]++,_0x13d230;}}
23
+ function _0x23bf(){const _0x48a7b8=['get','getUser','set','listenTo','sessions-unregister-not-exist','21971HWAknq','requires','plugins','sessionId','1694650BMnQuh','delete','state','42OVuNSC','Sessions','897165FMlLGl','remove','channelSessions','getUserBySessionId','_createUser','user','role','getUserSessions','values','connected','_registeredSessions','context','size','4BFSKWb','forEach','11wNYYQu','getUserRole','_users','fire','allConnectedUsers','stopListening','_uniqueUsersCount','1821948qBBYKe','sessions-register-already-registered','sessionAdd:','change:state','addUser','channelConnectedUsers','pluginName','orderNumber','isPremiumPlugin','82074MnJHfP','connection','_handleSessionAdd','_handleSessionRemove','unregister','mySessionId','init','1269569zDuuDM','8cJMmVU','27wzmBTG','3589890qJuLOo','register','assign','add','clear','isOfficialPlugin','isMe','defineMe','has','hiddenInPresenceList'];_0x23bf=function(){return _0x48a7b8;};return _0x23bf();}const _0x5e9961=_0x183e;(function(_0x5482e6,_0x55443e){const _0x21d7a3=_0x183e,_0x9e7cde=_0x5482e6();while(!![]){try{const _0x5a8c51=-parseInt(_0x21d7a3(0x1d1))/0x1*(-parseInt(_0x21d7a3(0x1d8))/0x2)+-parseInt(_0x21d7a3(0x1b8))/0x3+parseInt(_0x21d7a3(0x1e7))/0x4*(parseInt(_0x21d7a3(0x1da))/0x5)+parseInt(_0x21d7a3(0x1c2))/0x6+parseInt(_0x21d7a3(0x1bf))/0x7*(-parseInt(_0x21d7a3(0x1c0))/0x8)+parseInt(_0x21d7a3(0x1c1))/0x9*(-parseInt(_0x21d7a3(0x1d5))/0xa)+parseInt(_0x21d7a3(0x1e9))/0xb*(-parseInt(_0x21d7a3(0x1f0))/0xc);if(_0x5a8c51===_0x55443e)break;else _0x9e7cde['push'](_0x9e7cde['shift']());}catch(_0x118126){_0x9e7cde['push'](_0x9e7cde['shift']());}}}(_0x23bf,0x5a60e));import{ContextPlugin as _0x1ff861}from'ckeditor5/src/core.js';import{Collection as _0x9d80a7,CKEditorError as _0x1029eb}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4ec331}from'./websocketgateway.js';function _0x183e(_0x2610c0,_0x2c2368){const _0x23bfb6=_0x23bf();return _0x183e=function(_0x183ee4,_0x234c2b){_0x183ee4=_0x183ee4-0x1b8;let _0x3990f9=_0x23bfb6[_0x183ee4];return _0x3990f9;},_0x183e(_0x2610c0,_0x2c2368);}import{Users as _0x37163d}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1ff861{[_0x5e9961(0x1dc)];[_0x5e9961(0x1f5)];[_0x5e9961(0x1ed)];[_0x5e9961(0x1e4)];[_0x5e9961(0x1ef)];[_0x5e9961(0x1eb)];static get[_0x5e9961(0x1f6)](){const _0x4852d9=_0x5e9961;return _0x4852d9(0x1d9);}static get[_0x5e9961(0x1c7)](){return!0x0;}static get[_0x5e9961(0x1f8)](){return!0x0;}static get[_0x5e9961(0x1d2)](){return[_0x4ec331,_0x37163d];}constructor(_0xf4e0e5){const _0x41c53d=_0x5e9961;super(_0xf4e0e5),this[_0x41c53d(0x1dc)]=new Map(),this[_0x41c53d(0x1f5)]=new Map(),this[_0x41c53d(0x1ed)]=new _0x9d80a7(),this[_0x41c53d(0x1e4)]=new Map(),this[_0x41c53d(0x1ef)]=0x0,this[_0x41c53d(0x1eb)]=this[_0x41c53d(0x1e5)][_0x41c53d(0x1d3)][_0x41c53d(0x1cc)](_0x37163d);}[_0x5e9961(0x1be)](){const _0x54291b=_0x5e9961,_0x3ab987=this[_0x54291b(0x1e5)][_0x54291b(0x1d3)][_0x54291b(0x1cc)](_0x4ec331);this[_0x54291b(0x1cf)](_0x3ab987,_0x54291b(0x1f3),(_0x11e05c,_0x3a0059,_0x11a693)=>{const _0xca3ffc=_0x54291b;if(_0xca3ffc(0x1e3)!==_0x11a693)this[_0xca3ffc(0x1dc)][_0xca3ffc(0x1e8)](_0xb567b2=>_0xb567b2[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1f5)][_0xca3ffc(0x1e8)](_0x59ef29=>_0x59ef29[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1ed)][_0xca3ffc(0x1c6)]();else{for(const [_0x8f44aa,_0x4aa5e3]of this[_0xca3ffc(0x1e4)])for(const _0x2d041c of _0x4aa5e3)this[_0xca3ffc(0x1ba)](_0x8f44aa,_0x2d041c);}}),this[_0x54291b(0x1de)](_0x3ab987[_0x54291b(0x1b9)]['me'],!0x0);}[_0x5e9961(0x1c3)](_0x243ec9,_0x58fb4a){const _0x46c8fd=_0x5e9961;if(this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ca)](_0x243ec9))throw new _0x1029eb(_0x46c8fd(0x1f1),null,{'channelId':_0x243ec9});this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ce)](_0x243ec9,_0x58fb4a),this[_0x46c8fd(0x1dc)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1f5)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1c5),(_0x5d63ca,_0xd0ebef)=>this[_0x46c8fd(0x1ba)](_0x243ec9,_0xd0ebef)),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1db),(_0x4ffede,_0x456546)=>this[_0x46c8fd(0x1bb)](_0x243ec9,_0x456546));for(const _0x3c8fc9 of _0x58fb4a)this[_0x46c8fd(0x1ba)](_0x243ec9,_0x3c8fc9);}[_0x5e9961(0x1bc)](_0x4bd5de){const _0x3b8ce1=_0x5e9961;if(!this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1ca)](_0x4bd5de))throw new _0x1029eb(_0x3b8ce1(0x1d0),null,{'channelId':_0x4bd5de});const _0x154a56=this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1cc)](_0x4bd5de);this[_0x3b8ce1(0x1ee)](_0x154a56);for(const _0x33352d of _0x154a56)_0x3b8ce1(0x1e3)===this[_0x3b8ce1(0x1e5)][_0x3b8ce1(0x1d3)][_0x3b8ce1(0x1cc)](_0x4ec331)[_0x3b8ce1(0x1d7)]&&this[_0x3b8ce1(0x1bb)](_0x4bd5de,_0x33352d);this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1dc)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1f5)][_0x3b8ce1(0x1d6)](_0x4bd5de);}get[_0x5e9961(0x1bd)](){const _0x1229a1=_0x5e9961;return this[_0x1229a1(0x1e5)][_0x1229a1(0x1d3)][_0x1229a1(0x1cc)](_0x4ec331)[_0x1229a1(0x1b9)][_0x1229a1(0x1d4)];}[_0x5e9961(0x1dd)](_0x4f6e68){const _0x364d9a=_0x5e9961;for(const _0x2869cb of this[_0x364d9a(0x1dc)][_0x364d9a(0x1e2)]())for(const _0x49bac8 of _0x2869cb)if(_0x49bac8['id']===_0x4f6e68)return _0x49bac8[_0x364d9a(0x1df)];}[_0x5e9961(0x1e1)](_0x29d769,_0x58fe78){const _0x281981=_0x5e9961,_0x8cd440=_0x58fe78?[this[_0x281981(0x1dc)][_0x281981(0x1cc)](_0x58fe78)]:this[_0x281981(0x1dc)][_0x281981(0x1e2)](),_0x16fda4=new Set();for(const _0x4c76a2 of _0x8cd440)for(const _0x10de69 of _0x4c76a2)_0x10de69[_0x281981(0x1df)]['id']===_0x29d769['id']&&_0x16fda4[_0x281981(0x1c5)](_0x10de69['id']);return _0x16fda4;}[_0x5e9961(0x1ea)](_0x272d2c){const _0x3ca505=_0x5e9961;for(const _0x84f86d of this[_0x3ca505(0x1dc)][_0x3ca505(0x1e2)]())for(const _0x2fa8ed of _0x84f86d)if(_0x2fa8ed[_0x3ca505(0x1df)]===_0x272d2c)return _0x2fa8ed[_0x3ca505(0x1e0)];}[_0x5e9961(0x1ba)](_0xb3c266,_0x3f421b){const _0x44ef62=_0x5e9961;if(_0x44ef62(0x1e3)!==this[_0x44ef62(0x1e5)][_0x44ef62(0x1d3)][_0x44ef62(0x1cc)](_0x4ec331)[_0x44ef62(0x1d7)])return;const _0x1ca411=_0x3f421b[_0x44ef62(0x1df)],_0xe05c80=this[_0x44ef62(0x1eb)][_0x44ef62(0x1cd)](_0x1ca411['id'])||this[_0x44ef62(0x1de)](_0x1ca411),_0x2e2523=Object[_0x44ef62(0x1c4)]({},_0x3f421b,{'user':_0xe05c80});if(this[_0x44ef62(0x1dc)][_0x44ef62(0x1cc)](_0xb3c266)[_0x44ef62(0x1c5)](_0x2e2523),!_0x1ca411[_0x44ef62(0x1cb)]){const _0x2cef3c=this[_0x44ef62(0x1f5)][_0x44ef62(0x1cc)](_0xb3c266);_0x2cef3c[_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x2cef3c[_0x44ef62(0x1c5)](_0xe05c80),this[_0x44ef62(0x1ed)][_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x1ca411[_0x44ef62(0x1cb)]||this[_0x44ef62(0x1ed)][_0x44ef62(0x1c5)](_0xe05c80,_0xe05c80[_0x44ef62(0x1c8)]?0x0:void 0x0);}this[_0x44ef62(0x1ec)](_0x44ef62(0x1f2)+_0xb3c266,{'channelId':_0xb3c266,'session':_0x2e2523});}[_0x5e9961(0x1bb)](_0x1f3fe2,_0x379cdf){const _0x4d7839=_0x5e9961;if(_0x4d7839(0x1e3)!==this[_0x4d7839(0x1e5)][_0x4d7839(0x1d3)][_0x4d7839(0x1cc)](_0x4ec331)[_0x4d7839(0x1d7)])return;const _0x90fe39=this[_0x4d7839(0x1f5)][_0x4d7839(0x1cc)](_0x1f3fe2),_0x95be84=_0x379cdf[_0x4d7839(0x1df)];_0x95be84['id']&&(this[_0x4d7839(0x1dc)][_0x4d7839(0x1cc)](_0x1f3fe2)[_0x4d7839(0x1db)](_0x379cdf['id']),_0x90fe39[_0x4d7839(0x1ca)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84,_0x1f3fe2)[_0x4d7839(0x1e6)]&&_0x90fe39[_0x4d7839(0x1db)](_0x95be84['id']),this[_0x4d7839(0x1ed)][_0x4d7839(0x1cc)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84)[_0x4d7839(0x1e6)]&&this[_0x4d7839(0x1ed)][_0x4d7839(0x1db)](_0x95be84['id']));}[_0x5e9961(0x1de)](_0x26667a,_0x37f219){const _0x51d249=_0x5e9961,_0x3a2912=this[_0x51d249(0x1eb)][_0x51d249(0x1f4)](_0x26667a);return _0x37f219&&this[_0x51d249(0x1eb)][_0x51d249(0x1c9)](_0x26667a['id']),_0x3a2912[_0x51d249(0x1f7)]=this[_0x51d249(0x1ef)]++,_0x3a2912;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x385907=_0x47f4;(function(_0x4a114b,_0x285272){const _0xddb5f9=_0x47f4,_0x21680c=_0x4a114b();while(!![]){try{const _0xc8b4e2=-parseInt(_0xddb5f9(0x1aa))/0x1*(parseInt(_0xddb5f9(0x1b5))/0x2)+-parseInt(_0xddb5f9(0x16f))/0x3*(parseInt(_0xddb5f9(0x1bc))/0x4)+-parseInt(_0xddb5f9(0x143))/0x5*(parseInt(_0xddb5f9(0x164))/0x6)+-parseInt(_0xddb5f9(0x193))/0x7+-parseInt(_0xddb5f9(0x16a))/0x8+parseInt(_0xddb5f9(0x1ab))/0x9+parseInt(_0xddb5f9(0x1a3))/0xa*(parseInt(_0xddb5f9(0x199))/0xb);if(_0xc8b4e2===_0x285272)break;else _0x21680c['push'](_0x21680c['shift']());}catch(_0x28470a){_0x21680c['push'](_0x21680c['shift']());}}}(_0xae7c,0x52513));function _0x47f4(_0x432574,_0x419641){const _0xae7c83=_0xae7c();return _0x47f4=function(_0x47f41f,_0x226219){_0x47f41f=_0x47f41f-0x141;let _0x27b1a1=_0xae7c83[_0x47f41f];return _0x27b1a1;},_0x47f4(_0x432574,_0x419641);}function _0xae7c(){const _0x59d271=['markers','undo','has','detach','isObject','nodeAfter','color','end','span','ck-user__marker\x20','mouseleave','change','fromRange','stopListening','isOfficialPlugin','rootName','start','getFirstRange','requires','parent','enqueueChange','schema','163902wTVZHf','spellcheck','remove','document','oldRange','isInline','3214696CLULIy','applyOperation','getNearestSelectionRange','userPositionMarker','change:range','94398AXpaWQ','_domEmitter','getContainedElement','getRange','plugins','UserMarkers','afterInit','getPositions','user:range:','render','markerName','startsWith','isDocumentOperation','marker','getMarkerClass','user:range','newRange','textContent','addEventListener','editing','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','tableCell','reconvertMarker','hasContent','user:','toDomElement','size','element','data-session-id','destroy','setAttribute','markerToElement','init','outerHTML','classList','root','2265949HrWyaR','ck-user__marker_hovered','getUserBySessionId','createElement','update:user:range','user:position:','7211006EygAgy','type','mySessionId','name','listenTo','delete','checkChild','hasDomSelection','split','createRange','20aShByu','isLimit','orderNumber','false','batch','removeClass','mapper','5irULHh','4150476aSKYlz','mouseenter','getStart','pluginName','getCustomProperty','markerNameToElements','toRange','Escape','isSimilar','_createdBatches','93082xXRhAi','setCustomProperty','addMarker','updateMarker','set','removeMarker','get','12MwxVCi','markerRange','isCollapsed','createUserMarkerOperations','clear','$graveyard','innerHTML','editor','for','getSelectionClass','ck-user__marker-tooltip','$text','contenteditable','isPremiumPlugin','editingDowncast','conversion','model','view','keydown','70EcwOhb','ck-user__selection','getAttribute','highest','add','selection','user:position','deletionPosition','createUIElement','markerToHighlight','commands'];_0xae7c=function(){return _0x59d271;};return _0xae7c();}import{Plugin as _0x10cea1}from'ckeditor5/src/core.js';import{global as _0x4a3b52,DomEmitterMixin as _0x5cbe43}from'ckeditor5/src/utils.js';import{Sessions as _0x46994d}from'./sessions.js';import{ModelLiveRange as _0x2ef08f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x10cea1{[_0x385907(0x170)]=new(_0x5cbe43())();static get[_0x385907(0x160)](){return[_0x46994d];}static get[_0x385907(0x1ae)](){const _0x618b64=_0x385907;return _0x618b64(0x174);}static get[_0x385907(0x15c)](){return!0x0;}static get[_0x385907(0x1c9)](){return!0x0;}[_0x385907(0x18f)](){const _0x1c0ce9=_0x385907,_0x423735=this[_0x1c0ce9(0x1c3)],_0x21da80=_0x423735[_0x1c0ce9(0x173)][_0x1c0ce9(0x1bb)](_0x46994d);_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x18e)]({'model':_0x1c0ce9(0x149),'view':(_0x3ad24e,{writer:_0x564150})=>function(_0x348738,_0x24404d,_0x5f3a0f,_0x4e4454){const _0x3fe490=_0x1c0ce9,_0x55b757=_0x348738[_0x3fe490(0x179)][_0x3fe490(0x1a1)](':')[0x2],_0x3aa47b=_0x5f3a0f[_0x3fe490(0x195)](_0x55b757);if(!_0x3aa47b||_0x55b757===_0x5f3a0f[_0x3fe490(0x19b)])return;if(!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x19f)](_0x348738[_0x3fe490(0x1bd)][_0x3fe490(0x15e)],_0x3fe490(0x1c7)))return;const _0xdaba2a={'class':_0x3fe490(0x157)+_0x3aa47b[_0x3fe490(0x154)][_0x3fe490(0x17d)](),'data-name':_0x3aa47b[_0x3fe490(0x19c)],'data-session-id':_0x55b757},_0x2b84a8=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x348738[_0x3fe490(0x179)]),_0x169fd6=_0x2b84a8[_0x3fe490(0x1ad)](),_0x203b40=_0x169fd6[_0x3fe490(0x153)],_0x4a4191=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)];if(_0x203b40&&_0x4a4191[_0x3fe490(0x152)](_0x203b40)&&_0x4a4191[_0x3fe490(0x169)](_0x203b40)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x3fe490(0x177)+_0x55b757)[_0x3fe490(0x172)]()[_0x3fe490(0x1be)])return;const _0x55457c=_0x169fd6[_0x3fe490(0x161)];return _0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x1a4)](_0x55457c)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x186)](_0x55457c)&&(_0xdaba2a[_0x3fe490(0x1c8)]=!0x1),function(_0xc36cf2,_0x91f814,_0x49cc65){const _0x1da163=_0x3fe490,_0x39edb4=_0xc36cf2[_0x1da163(0x14b)](_0x1da163(0x156),_0x91f814);return _0xc36cf2[_0x1da163(0x1b6)](_0x1da163(0x16d),!0x0,_0x39edb4),_0x39edb4[_0x1da163(0x178)]=function(_0x569aca){const _0x7b72af=_0x1da163,_0x1582c6=this[_0x7b72af(0x188)](_0x569aca),_0x39e0d5=document[_0x7b72af(0x196)](_0x7b72af(0x156));return _0x39e0d5[_0x7b72af(0x191)][_0x7b72af(0x147)](_0x7b72af(0x1c6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x1c8),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x165),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x180)]=_0x49cc65[_0x7b72af(0x19c)],_0x1582c6[_0x7b72af(0x1c2)]=_0x7b72af(0x183)+_0x39e0d5[_0x7b72af(0x190)]+'⁠',_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x1ac),()=>{const _0xbe57dd=_0x7b72af;_0x1582c6[_0xbe57dd(0x191)][_0xbe57dd(0x147)](_0xbe57dd(0x194));}),_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x158),()=>{const _0x154581=_0x7b72af;_0x1582c6[_0x154581(0x191)][_0x154581(0x166)](_0x154581(0x194));}),_0x1582c6;},_0x39edb4[_0x1da163(0x1b3)]=function(_0x147636){const _0x9569e5=_0x1da163;return!(!this[_0x9569e5(0x1af)](_0x9569e5(0x16d))||!_0x147636[_0x9569e5(0x1af)](_0x9569e5(0x16d))||this[_0x9569e5(0x145)](_0x9569e5(0x18b))!=_0x147636[_0x9569e5(0x145)](_0x9569e5(0x18b)));},_0x39edb4;}(_0x24404d,_0xdaba2a,_0x3aa47b);}(_0x3ad24e,_0x564150,_0x21da80,_0x423735)}),_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x14c)]({'model':_0x1c0ce9(0x17e),'view':_0x246635=>function(_0x479f56,_0x4addeb){const _0x46ece2=_0x1c0ce9,_0x3fbb27=_0x479f56[_0x46ece2(0x179)][_0x46ece2(0x1a1)](':')[0x2];if(_0x3fbb27===_0x4addeb[_0x46ece2(0x19b)])return null;const _0x3a09ae=_0x4addeb[_0x46ece2(0x195)](_0x3fbb27);if(!_0x3a09ae)return{'id':_0x3fbb27,'classes':[]};return{'id':_0x3fbb27,'classes':[_0x46ece2(0x144),_0x3a09ae[_0x46ece2(0x154)][_0x46ece2(0x1c5)]()],'attributes':{'data-session-id':_0x3fbb27},'priority':0x7d0+_0x3a09ae[_0x46ece2(0x1a5)]};}(_0x246635,_0x21da80)}),function(_0x95f5a9){const _0x411803=_0x1c0ce9,_0x3c3036=_0x95f5a9[_0x411803(0x1cc)],_0x6d7c09=new Map(),_0x5ef537=_0x95f5a9[_0x411803(0x173)][_0x411803(0x1bb)](_0x46994d);_0x3c3036[_0x411803(0x14e)]['on'](_0x411803(0x197),(_0xa045da,_0x22170b,_0x20f199,_0x3256e8)=>{const _0xb91b2d=_0x411803;if(!_0x3256e8&&_0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)]))return _0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)])[_0xb91b2d(0x151)](),void _0x6d7c09[_0xb91b2d(0x19e)](_0x22170b[_0xb91b2d(0x19c)]);const _0x5e46e3=_0x22170b[_0xb91b2d(0x19c)][_0xb91b2d(0x1a1)](':')[0x2];if(_0x5e46e3===_0x5ef537[_0xb91b2d(0x19b)])return;const _0x4f9331=_0xb91b2d(0x198)+_0x5e46e3;_0x3c3036[_0xb91b2d(0x14e)][_0xb91b2d(0x150)](_0x4f9331)&&_0x95f5a9[_0xb91b2d(0x182)][_0xb91b2d(0x185)](_0x4f9331),_0x22170b['on'](_0xb91b2d(0x16e),(_0x289765,_0x439b82,_0x39f1e6)=>{const _0x54a5c3=_0xb91b2d;if(_0x54a5c3(0x1c1)!=_0x439b82[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&_0x54a5c3(0x1c1)==_0x22170b[_0x54a5c3(0x172)]()[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&!_0x6d7c09[_0x54a5c3(0x150)](_0x22170b[_0x54a5c3(0x19c)])){const _0x1b203f=_0x3c3036[_0x54a5c3(0x163)][_0x54a5c3(0x16c)](_0x39f1e6[_0x54a5c3(0x14a)]);if(_0x1b203f){const _0xfd6b39=_0x2ef08f[_0x54a5c3(0x15a)](_0x1b203f);_0x6d7c09[_0x54a5c3(0x1b9)](_0x22170b[_0x54a5c3(0x19c)],_0xfd6b39),_0xfd6b39['on'](_0x54a5c3(0x16e),(_0x47982e,_0x3e70c2,_0x44f07f)=>{const _0x5e1729=_0x54a5c3;if(_0x5e1729(0x1c1)==_0xfd6b39[_0x5e1729(0x192)][_0x5e1729(0x15d)]){const _0x14de9b=_0x3c3036[_0x5e1729(0x163)][_0x5e1729(0x16c)](_0x44f07f[_0x5e1729(0x14a)]);_0x14de9b?(_0xfd6b39[_0x5e1729(0x15e)]=_0x14de9b[_0x5e1729(0x15e)],_0xfd6b39[_0x5e1729(0x155)]=_0x14de9b[_0x5e1729(0x155)]):(_0x6d7c09[_0x5e1729(0x19e)](_0x22170b[_0x5e1729(0x19c)]),_0xfd6b39[_0x5e1729(0x151)]());}});}}});}),_0x3c3036[_0x411803(0x167)]['on'](_0x411803(0x159),()=>{const _0x5f1174=_0x411803;_0x6d7c09[_0x5f1174(0x189)]>0x0&&_0x3c3036[_0x5f1174(0x162)]({'isUndoable':!0x1},_0x3d9b6d=>{const _0x40ceeb=_0x5f1174;for(const [_0x20c4f4,_0xf52454]of _0x6d7c09)_0x40ceeb(0x1c1)==_0x3c3036[_0x40ceeb(0x14e)][_0x40ceeb(0x1bb)](_0x20c4f4)[_0x40ceeb(0x172)]()[_0x40ceeb(0x192)][_0x40ceeb(0x15d)]&&(J(_0x20c4f4[_0x40ceeb(0x1a1)](':')[0x2],_0xf52454[_0x40ceeb(0x1b1)](),_0x3c3036,_0x3d9b6d),_0xf52454[_0x40ceeb(0x151)]());_0x6d7c09[_0x40ceeb(0x1c0)]();});});}(_0x423735),this[_0x1c0ce9(0x170)][_0x1c0ce9(0x19d)](_0x4a3b52[_0x1c0ce9(0x167)],_0x1c0ce9(0x142),(_0x27d992,{key:_0x3679b5})=>{const _0xbb5683=_0x1c0ce9;_0xbb5683(0x1b2)===_0x3679b5&&function(_0x371a5e){const _0x1130a9=_0xbb5683;_0x371a5e[_0x1130a9(0x182)][_0x1130a9(0x141)][_0x1130a9(0x159)](_0x3ca263=>{const _0x583773=_0x1130a9;for(const _0x58e236 of _0x371a5e[_0x583773(0x1cc)][_0x583773(0x14e)]){if(!_0x58e236[_0x583773(0x19c)][_0x583773(0x17a)](_0x583773(0x149)))continue;const _0x13fe5e=_0x371a5e[_0x583773(0x182)][_0x583773(0x1a9)][_0x583773(0x1b0)](_0x58e236[_0x583773(0x19c)]);if(_0x13fe5e){for(const _0x48f77e of _0x13fe5e)_0x3ca263[_0x583773(0x1a8)](_0x583773(0x194),_0x48f77e);}}});}(_0x423735);},{'useCapture':!0x0});}[_0x385907(0x175)](){const _0x31a232=_0x385907,_0x207eba=this[_0x31a232(0x1c3)],_0x3e1b67=_0x207eba[_0x31a232(0x14d)][_0x31a232(0x1bb)](_0x31a232(0x14f));_0x3e1b67&&_0x207eba[_0x31a232(0x1cc)]['on'](_0x31a232(0x16b),(_0xddc74d,_0x265809)=>{const _0x34c8b1=_0x31a232,_0x3a018e=_0x265809[0x0];if(!_0x3a018e[_0x34c8b1(0x17b)])return;if(_0x34c8b1(0x17c)!=_0x3a018e[_0x34c8b1(0x19a)]||!_0x3a018e[_0x34c8b1(0x19c)][_0x34c8b1(0x17a)](_0x34c8b1(0x187)))return;const _0x1d830a=_0x3a018e[_0x34c8b1(0x1a7)];_0x3e1b67[_0x34c8b1(0x1b4)][_0x34c8b1(0x150)](_0x1d830a)&&(_0x3a018e[_0x34c8b1(0x17f)]=_0x3a018e[_0x34c8b1(0x168)]?_0x207eba[_0x34c8b1(0x1cc)][_0x34c8b1(0x1a2)](_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x15e)],_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x155)]):null);},{'priority':_0x31a232(0x146)});}[_0x385907(0x18c)](){const _0x543fcd=_0x385907;return this[_0x543fcd(0x170)][_0x543fcd(0x15b)](),super[_0x543fcd(0x18c)]();}[_0x385907(0x1bf)](){const _0x237b82=_0x385907,_0x4c7f63=this[_0x237b82(0x1c3)],_0x365e36=_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x167)],_0x427ffe=_0x4c7f63[_0x237b82(0x173)][_0x237b82(0x1bb)](_0x46994d);_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x162)]({'isUndoable':!0x1},_0x4f2286=>{const _0x13bbad=_0x237b82,_0x4e73a6=_0x13bbad(0x177)+_0x427ffe[_0x13bbad(0x19b)],_0x49b070=_0x13bbad(0x198)+_0x427ffe[_0x13bbad(0x19b)],_0xdd7743=_0x4c7f63[_0x13bbad(0x1cc)][_0x13bbad(0x14e)][_0x13bbad(0x150)](_0x4e73a6);_0x4c7f63[_0x13bbad(0x182)][_0x13bbad(0x141)][_0x13bbad(0x1a0)]?J(_0x427ffe[_0x13bbad(0x19b)],_0x365e36[_0x13bbad(0x148)][_0x13bbad(0x15f)](),_0x4c7f63[_0x13bbad(0x1cc)],_0x4f2286):_0xdd7743&&(_0x4f2286[_0x13bbad(0x1ba)](_0x4e73a6),_0x4f2286[_0x13bbad(0x1ba)](_0x49b070));});}}function J(_0x490596,_0x4c4cf4,_0xf6b81b,_0x1656dc){const _0x410a19=_0x385907,_0x1350dd=_0x410a19(0x177)+_0x490596,_0x36ac5c=_0x410a19(0x198)+_0x490596,_0x4d9919=_0x4c4cf4[_0x410a19(0x171)]();let _0x3ccfa3=_0x4c4cf4[_0x410a19(0x15e)];if(_0x4d9919&&_0x4d9919['is'](_0x410a19(0x18a),_0x410a19(0x184))){const _0x53bb50=function(_0x59f3c7,_0x241689){const _0x3040c9=_0x410a19;for(const _0x57d67b of _0x59f3c7[_0x3040c9(0x176)]())if(_0x241689[_0x3040c9(0x163)][_0x3040c9(0x19f)](_0x57d67b,_0x3040c9(0x1c7)))return _0x57d67b;}(_0x4c4cf4,_0xf6b81b);_0x53bb50&&(_0x3ccfa3=_0x53bb50,_0x4c4cf4=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3));}const _0x4a65ac=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3);_0xf6b81b[_0x410a19(0x14e)][_0x410a19(0x150)](_0x1350dd)?(_0x1656dc[_0x410a19(0x1b8)](_0x1350dd,{'range':_0x4c4cf4}),_0x1656dc[_0x410a19(0x1b8)](_0x36ac5c,{'range':_0x4a65ac})):(_0x1656dc[_0x410a19(0x1b7)](_0x1350dd,{'range':_0x4c4cf4,'usingOperation':!0x0}),_0x1656dc[_0x410a19(0x1b7)](_0x36ac5c,{'range':_0x4a65ac,'usingOperation':!0x0}));}
23
+ function _0x3c33(){const _0x3024e3=['change','isInline','isObject','Escape','_domEmitter','name','destroy','stopListening','3267126QfMXBh','end','rootName','classList','span','setCustomProperty','markerName','getNearestSelectionRange','createElement','ck-user__selection','document','getRange','isDocumentOperation','marker','hasContent','split','updateMarker','enqueueChange','batch','tableCell','markerRange','892967YKrTpN','681357YBoNIn','set','isPremiumPlugin','type','2010272Rrciix','innerHTML','color','getContainedElement','oldRange','spellcheck','editing','user:position','size','commands','hasDomSelection','setAttribute','mySessionId','reconvertMarker','isLimit','markers','data-session-id','getPositions','highest','clear','editor','createUserMarkerOperations','parent','afterInit','conversion','render','deletionPosition','$graveyard','fromRange','mouseenter','12614616cLyZsP','addMarker','toRange','change:range','isSimilar','user:range:','toDomElement','ck-user__marker_hovered','removeMarker','getFirstRange','selection','view','user:range','newRange','applyOperation','nodeAfter','isCollapsed','createUIElement','for','remove','startsWith','markerToElement','getAttribute','element','schema','UserMarkers','contenteditable','checkChild','getCustomProperty','editingDowncast','17350056sKhxKY','createRange','update:user:range','has','detach','undo','getSelectionClass','mapper','userPositionMarker','mouseleave','addEventListener','getStart','requires','removeClass','getMarkerClass','root','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_createdBatches','orderNumber','model','delete','listenTo','markerToHighlight','start','10RPbGBs','textContent','ck-user__marker-tooltip','get','isOfficialPlugin','false','plugins','outerHTML','init','getUserBySessionId','markerNameToElements','1500774qeixCW','keydown','user:position:','$text','user:','add','32WZCdOX','pluginName','ck-user__marker\x20'];_0x3c33=function(){return _0x3024e3;};return _0x3c33();}function _0x3527(_0x467a12,_0xcf9f3c){const _0x3c33e1=_0x3c33();return _0x3527=function(_0x3527e1,_0x3445c3){_0x3527e1=_0x3527e1-0x16e;let _0x2815fa=_0x3c33e1[_0x3527e1];return _0x2815fa;},_0x3527(_0x467a12,_0xcf9f3c);}const _0x581e5e=_0x3527;(function(_0xb3146d,_0x240403){const _0x340d80=_0x3527,_0x226d02=_0xb3146d();while(!![]){try{const _0x137e9c=parseInt(_0x340d80(0x193))/0x1+-parseInt(_0x340d80(0x17e))/0x2+-parseInt(_0x340d80(0x194))/0x3*(parseInt(_0x340d80(0x173))/0x4)+-parseInt(_0x340d80(0x1ec))/0x5*(parseInt(_0x340d80(0x1f7))/0x6)+parseInt(_0x340d80(0x1b6))/0x7+parseInt(_0x340d80(0x198))/0x8+parseInt(_0x340d80(0x1d4))/0x9;if(_0x137e9c===_0x240403)break;else _0x226d02['push'](_0x226d02['shift']());}catch(_0x5870b0){_0x226d02['push'](_0x226d02['shift']());}}}(_0x3c33,0xe16d6));import{Plugin as _0x2a19e5}from'ckeditor5/src/core.js';import{global as _0x369916,DomEmitterMixin as _0x105b5f}from'ckeditor5/src/utils.js';import{Sessions as _0x4c7916}from'./sessions.js';import{ModelLiveRange as _0x19c483}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2a19e5{[_0x581e5e(0x17a)]=new(_0x105b5f())();static get[_0x581e5e(0x1e0)](){return[_0x4c7916];}static get[_0x581e5e(0x174)](){const _0x786022=_0x581e5e;return _0x786022(0x1cf);}static get[_0x581e5e(0x1f0)](){return!0x0;}static get[_0x581e5e(0x196)](){return!0x0;}[_0x581e5e(0x1f4)](){const _0x505ba8=_0x581e5e,_0x4d1aa5=this[_0x505ba8(0x1ac)],_0x398f64=_0x4d1aa5[_0x505ba8(0x1f2)][_0x505ba8(0x1ef)](_0x4c7916);_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1cb)]({'model':_0x505ba8(0x19f),'view':(_0x18bb07,{writer:_0x17f9fe})=>function(_0x476ab6,_0x2e37ba,_0x2980d9,_0x3e5ede){const _0x4269af=_0x505ba8,_0x4e6a36=_0x476ab6[_0x4269af(0x184)][_0x4269af(0x18d)](':')[0x2],_0x2a125f=_0x2980d9[_0x4269af(0x1f5)](_0x4e6a36);if(!_0x2a125f||_0x4e6a36===_0x2980d9[_0x4269af(0x1a4)])return;if(!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1d1)](_0x476ab6[_0x4269af(0x192)][_0x4269af(0x1eb)],_0x4269af(0x170)))return;const _0x1c2b61={'class':_0x4269af(0x175)+_0x2a125f[_0x4269af(0x19a)][_0x4269af(0x1e2)](),'data-name':_0x2a125f[_0x4269af(0x17b)],'data-session-id':_0x4e6a36},_0x50e671=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x476ab6[_0x4269af(0x184)]),_0x2f4d0c=_0x50e671[_0x4269af(0x1df)](),_0x3c0426=_0x2f4d0c[_0x4269af(0x1c5)],_0x2f3b0d=_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)];if(_0x3c0426&&_0x2f3b0d[_0x4269af(0x178)](_0x3c0426)&&_0x2f3b0d[_0x4269af(0x177)](_0x3c0426)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1a7)][_0x4269af(0x1ef)](_0x4269af(0x1bb)+_0x4e6a36)[_0x4269af(0x189)]()[_0x4269af(0x1c6)])return;const _0x7979ba=_0x2f4d0c[_0x4269af(0x1ae)];return _0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x1ce)][_0x4269af(0x1a6)](_0x7979ba)&&!_0x3e5ede[_0x4269af(0x1e7)][_0x4269af(0x18c)](_0x7979ba)&&(_0x1c2b61[_0x4269af(0x1d0)]=!0x1),function(_0x506c9d,_0x57251a,_0xbe5b49){const _0x3a9b7d=_0x4269af,_0x1ea753=_0x506c9d[_0x3a9b7d(0x1c7)](_0x3a9b7d(0x182),_0x57251a);return _0x506c9d[_0x3a9b7d(0x183)](_0x3a9b7d(0x1dc),!0x0,_0x1ea753),_0x1ea753[_0x3a9b7d(0x1b1)]=function(_0x1940d8){const _0x3d667f=_0x3a9b7d,_0x2d5f74=this[_0x3d667f(0x1bc)](_0x1940d8),_0x4a8439=document[_0x3d667f(0x186)](_0x3d667f(0x182));return _0x4a8439[_0x3d667f(0x181)][_0x3d667f(0x172)](_0x3d667f(0x1ee)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x1d0),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1a3)](_0x3d667f(0x19d),_0x3d667f(0x1f1)),_0x4a8439[_0x3d667f(0x1ed)]=_0xbe5b49[_0x3d667f(0x17b)],_0x2d5f74[_0x3d667f(0x199)]=_0x3d667f(0x1e4)+_0x4a8439[_0x3d667f(0x1f3)]+'⁠',_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1b5),()=>{const _0x4b55a6=_0x3d667f;_0x2d5f74[_0x4b55a6(0x181)][_0x4b55a6(0x172)](_0x4b55a6(0x1bd));}),_0x2d5f74[_0x3d667f(0x1de)](_0x3d667f(0x1dd),()=>{const _0x5573f6=_0x3d667f;_0x2d5f74[_0x5573f6(0x181)][_0x5573f6(0x1c9)](_0x5573f6(0x1bd));}),_0x2d5f74;},_0x1ea753[_0x3a9b7d(0x1ba)]=function(_0x3188a2){const _0x2f0bdb=_0x3a9b7d;return!(!this[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||!_0x3188a2[_0x2f0bdb(0x1d2)](_0x2f0bdb(0x1dc))||this[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8))!=_0x3188a2[_0x2f0bdb(0x1cc)](_0x2f0bdb(0x1a8)));},_0x1ea753;}(_0x2e37ba,_0x1c2b61,_0x2a125f);}(_0x18bb07,_0x17f9fe,_0x398f64,_0x4d1aa5)}),_0x4d1aa5[_0x505ba8(0x1b0)][_0x505ba8(0x1c8)](_0x505ba8(0x1d3))[_0x505ba8(0x1ea)]({'model':_0x505ba8(0x1c2),'view':_0x3eab43=>function(_0x3a9248,_0x325319){const _0x54aa04=_0x505ba8,_0xda1a1d=_0x3a9248[_0x54aa04(0x184)][_0x54aa04(0x18d)](':')[0x2];if(_0xda1a1d===_0x325319[_0x54aa04(0x1a4)])return null;const _0x1467bf=_0x325319[_0x54aa04(0x1f5)](_0xda1a1d);if(!_0x1467bf)return{'id':_0xda1a1d,'classes':[]};return{'id':_0xda1a1d,'classes':[_0x54aa04(0x187),_0x1467bf[_0x54aa04(0x19a)][_0x54aa04(0x1da)]()],'attributes':{'data-session-id':_0xda1a1d},'priority':0x7d0+_0x1467bf[_0x54aa04(0x1e6)]};}(_0x3eab43,_0x398f64)}),function(_0x28aa25){const _0x5a608e=_0x505ba8,_0x5a9587=_0x28aa25[_0x5a608e(0x1e7)],_0x18e62d=new Map(),_0x378110=_0x28aa25[_0x5a608e(0x1f2)][_0x5a608e(0x1ef)](_0x4c7916);_0x5a9587[_0x5a608e(0x1a7)]['on'](_0x5a608e(0x1d6),(_0xfa9eeb,_0x4b01ec,_0x2919bb,_0x380479)=>{const _0x4fafec=_0x5a608e;if(!_0x380479&&_0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)]))return _0x18e62d[_0x4fafec(0x1ef)](_0x4b01ec[_0x4fafec(0x17b)])[_0x4fafec(0x1d8)](),void _0x18e62d[_0x4fafec(0x1e8)](_0x4b01ec[_0x4fafec(0x17b)]);const _0x405b31=_0x4b01ec[_0x4fafec(0x17b)][_0x4fafec(0x18d)](':')[0x2];if(_0x405b31===_0x378110[_0x4fafec(0x1a4)])return;const _0x30c23a=_0x4fafec(0x16f)+_0x405b31;_0x5a9587[_0x4fafec(0x1a7)][_0x4fafec(0x1d7)](_0x30c23a)&&_0x28aa25[_0x4fafec(0x19e)][_0x4fafec(0x1a5)](_0x30c23a),_0x4b01ec['on'](_0x4fafec(0x1b9),(_0x3fb7c4,_0x2f0e64,_0x445230)=>{const _0x5e0487=_0x4fafec;if(_0x5e0487(0x1b3)!=_0x2f0e64[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&_0x5e0487(0x1b3)==_0x4b01ec[_0x5e0487(0x189)]()[_0x5e0487(0x1e3)][_0x5e0487(0x180)]&&!_0x18e62d[_0x5e0487(0x1d7)](_0x4b01ec[_0x5e0487(0x17b)])){const _0x3a9492=_0x5a9587[_0x5e0487(0x1ce)][_0x5e0487(0x185)](_0x445230[_0x5e0487(0x1b2)]);if(_0x3a9492){const _0x3e6889=_0x19c483[_0x5e0487(0x1b4)](_0x3a9492);_0x18e62d[_0x5e0487(0x195)](_0x4b01ec[_0x5e0487(0x17b)],_0x3e6889),_0x3e6889['on'](_0x5e0487(0x1b9),(_0x44c87f,_0x799d1f,_0x794ddc)=>{const _0x463c44=_0x5e0487;if(_0x463c44(0x1b3)==_0x3e6889[_0x463c44(0x1e3)][_0x463c44(0x180)]){const _0x26c643=_0x5a9587[_0x463c44(0x1ce)][_0x463c44(0x185)](_0x794ddc[_0x463c44(0x1b2)]);_0x26c643?(_0x3e6889[_0x463c44(0x1eb)]=_0x26c643[_0x463c44(0x1eb)],_0x3e6889[_0x463c44(0x17f)]=_0x26c643[_0x463c44(0x17f)]):(_0x18e62d[_0x463c44(0x1e8)](_0x4b01ec[_0x463c44(0x17b)]),_0x3e6889[_0x463c44(0x1d8)]());}});}}});}),_0x5a9587[_0x5a608e(0x188)]['on'](_0x5a608e(0x176),()=>{const _0x42c05d=_0x5a608e;_0x18e62d[_0x42c05d(0x1a0)]>0x0&&_0x5a9587[_0x42c05d(0x18f)]({'isUndoable':!0x1},_0x575822=>{const _0x3760ab=_0x42c05d;for(const [_0x2b8a91,_0x4d865e]of _0x18e62d)_0x3760ab(0x1b3)==_0x5a9587[_0x3760ab(0x1a7)][_0x3760ab(0x1ef)](_0x2b8a91)[_0x3760ab(0x189)]()[_0x3760ab(0x1e3)][_0x3760ab(0x180)]&&(Z(_0x2b8a91[_0x3760ab(0x18d)](':')[0x2],_0x4d865e[_0x3760ab(0x1b8)](),_0x5a9587,_0x575822),_0x4d865e[_0x3760ab(0x1d8)]());_0x18e62d[_0x3760ab(0x1ab)]();});});}(_0x4d1aa5),this[_0x505ba8(0x17a)][_0x505ba8(0x1e9)](_0x369916[_0x505ba8(0x188)],_0x505ba8(0x16e),(_0x503fc3,{key:_0x3bfd56})=>{const _0x4daeaf=_0x505ba8;_0x4daeaf(0x179)===_0x3bfd56&&function(_0x3ed013){const _0x2937d6=_0x4daeaf;_0x3ed013[_0x2937d6(0x19e)][_0x2937d6(0x1c1)][_0x2937d6(0x176)](_0x250997=>{const _0x441cb6=_0x2937d6;for(const _0x41453c of _0x3ed013[_0x441cb6(0x1e7)][_0x441cb6(0x1a7)]){if(!_0x41453c[_0x441cb6(0x17b)][_0x441cb6(0x1ca)](_0x441cb6(0x19f)))continue;const _0x45384c=_0x3ed013[_0x441cb6(0x19e)][_0x441cb6(0x1db)][_0x441cb6(0x1f6)](_0x41453c[_0x441cb6(0x17b)]);if(_0x45384c){for(const _0x3628d8 of _0x45384c)_0x250997[_0x441cb6(0x1e1)](_0x441cb6(0x1bd),_0x3628d8);}}});}(_0x4d1aa5);},{'useCapture':!0x0});}[_0x581e5e(0x1af)](){const _0x1f4376=_0x581e5e,_0x5b1a21=this[_0x1f4376(0x1ac)],_0x4fd8f2=_0x5b1a21[_0x1f4376(0x1a1)][_0x1f4376(0x1ef)](_0x1f4376(0x1d9));_0x4fd8f2&&_0x5b1a21[_0x1f4376(0x1e7)]['on'](_0x1f4376(0x1c4),(_0x56e71e,_0x3266ac)=>{const _0x3fe465=_0x1f4376,_0x659d3e=_0x3266ac[0x0];if(!_0x659d3e[_0x3fe465(0x18a)])return;if(_0x3fe465(0x18b)!=_0x659d3e[_0x3fe465(0x197)]||!_0x659d3e[_0x3fe465(0x17b)][_0x3fe465(0x1ca)](_0x3fe465(0x171)))return;const _0x3b3ca0=_0x659d3e[_0x3fe465(0x190)];_0x4fd8f2[_0x3fe465(0x1e5)][_0x3fe465(0x1d7)](_0x3b3ca0)&&(_0x659d3e[_0x3fe465(0x1c3)]=_0x659d3e[_0x3fe465(0x19c)]?_0x5b1a21[_0x3fe465(0x1e7)][_0x3fe465(0x1d5)](_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x1eb)],_0x659d3e[_0x3fe465(0x19c)][_0x3fe465(0x17f)]):null);},{'priority':_0x1f4376(0x1aa)});}[_0x581e5e(0x17c)](){const _0x1176eb=_0x581e5e;return this[_0x1176eb(0x17a)][_0x1176eb(0x17d)](),super[_0x1176eb(0x17c)]();}[_0x581e5e(0x1ad)](){const _0x2aa289=_0x581e5e,_0x3b241a=this[_0x2aa289(0x1ac)],_0x546e5f=_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x188)],_0x2480be=_0x3b241a[_0x2aa289(0x1f2)][_0x2aa289(0x1ef)](_0x4c7916);_0x3b241a[_0x2aa289(0x1e7)][_0x2aa289(0x18f)]({'isUndoable':!0x1},_0x3e60e2=>{const _0x107efd=_0x2aa289,_0xad21f1=_0x107efd(0x1bb)+_0x2480be[_0x107efd(0x1a4)],_0x10a419=_0x107efd(0x16f)+_0x2480be[_0x107efd(0x1a4)],_0x139847=_0x3b241a[_0x107efd(0x1e7)][_0x107efd(0x1a7)][_0x107efd(0x1d7)](_0xad21f1);_0x3b241a[_0x107efd(0x19e)][_0x107efd(0x1c1)][_0x107efd(0x1a2)]?Z(_0x2480be[_0x107efd(0x1a4)],_0x546e5f[_0x107efd(0x1c0)][_0x107efd(0x1bf)](),_0x3b241a[_0x107efd(0x1e7)],_0x3e60e2):_0x139847&&(_0x3e60e2[_0x107efd(0x1be)](_0xad21f1),_0x3e60e2[_0x107efd(0x1be)](_0x10a419));});}}function Z(_0x271a9b,_0x2d16d6,_0x60d5fd,_0x3a35d5){const _0x415d49=_0x581e5e,_0x50fc2a=_0x415d49(0x1bb)+_0x271a9b,_0x3a8c79=_0x415d49(0x16f)+_0x271a9b,_0x634e19=_0x2d16d6[_0x415d49(0x19b)]();let _0x45aea9=_0x2d16d6[_0x415d49(0x1eb)];if(_0x634e19&&_0x634e19['is'](_0x415d49(0x1cd),_0x415d49(0x191))){const _0x332c63=function(_0x5b9b27,_0x47af7a){const _0x4946fc=_0x415d49;for(const _0x19c0aa of _0x5b9b27[_0x4946fc(0x1a9)]())if(_0x47af7a[_0x4946fc(0x1ce)][_0x4946fc(0x1d1)](_0x19c0aa,_0x4946fc(0x170)))return _0x19c0aa;}(_0x2d16d6,_0x60d5fd);_0x332c63&&(_0x45aea9=_0x332c63,_0x2d16d6=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9));}const _0x3c803a=_0x3a35d5[_0x415d49(0x1d5)](_0x45aea9);_0x60d5fd[_0x415d49(0x1a7)][_0x415d49(0x1d7)](_0x50fc2a)?(_0x3a35d5[_0x415d49(0x18e)](_0x50fc2a,{'range':_0x2d16d6}),_0x3a35d5[_0x415d49(0x18e)](_0x3a8c79,{'range':_0x3c803a})):(_0x3a35d5[_0x415d49(0x1b7)](_0x50fc2a,{'range':_0x2d16d6,'usingOperation':!0x0}),_0x3a35d5[_0x415d49(0x1b7)](_0x3a8c79,{'range':_0x3c803a,'usingOperation':!0x0}));}