@ckeditor/ckeditor5-real-time-collaboration 47.7.2-alpha.0 → 47.7.3-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  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 +15 -15
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd47e2d=_0x2ea7;function _0x2ea7(_0x1a9bbe,_0x70d22d){const _0x33f214=_0x33f2();return _0x2ea7=function(_0x2ea7cd,_0x24399d){_0x2ea7cd=_0x2ea7cd-0x16a;let _0x1ce4dd=_0x33f214[_0x2ea7cd];return _0x1ce4dd;},_0x2ea7(_0x1a9bbe,_0x70d22d);}(function(_0x108fa5,_0x3bdf6d){const _0x207fd7=_0x2ea7,_0x3e5661=_0x108fa5();while(!![]){try{const _0x1c3dad=parseInt(_0x207fd7(0x16d))/0x1*(parseInt(_0x207fd7(0x18a))/0x2)+parseInt(_0x207fd7(0x17a))/0x3*(-parseInt(_0x207fd7(0x183))/0x4)+-parseInt(_0x207fd7(0x18c))/0x5*(-parseInt(_0x207fd7(0x17d))/0x6)+-parseInt(_0x207fd7(0x184))/0x7*(-parseInt(_0x207fd7(0x18e))/0x8)+-parseInt(_0x207fd7(0x188))/0x9*(parseInt(_0x207fd7(0x177))/0xa)+-parseInt(_0x207fd7(0x17f))/0xb+parseInt(_0x207fd7(0x182))/0xc;if(_0x1c3dad===_0x3bdf6d)break;else _0x3e5661['push'](_0x3e5661['shift']());}catch(_0x582118){_0x3e5661['push'](_0x3e5661['shift']());}}}(_0x33f2,0xb3b61));import{View as _0x463b9a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x55c69d}from'ckeditor5/src/utils.js';import{getTranslation as _0x273d1e}from'../../common-translations.js';export class PresenceInlineListView extends _0x463b9a{[_0xd47e2d(0x174)];[_0xd47e2d(0x17b)];constructor(_0x485c88){const _0x3edc3d=_0xd47e2d;super(_0x485c88);const _0xa6562=this[_0x3edc3d(0x18f)];this[_0x3edc3d(0x174)]=this[_0x3edc3d(0x16e)](),this[_0x3edc3d(0x17b)]=new _0x55c69d(),this[_0x3edc3d(0x16c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3edc3d(0x175)]({'tag':_0x3edc3d(0x172),'attributes':{'aria-haspopup':_0xa6562['if'](_0x3edc3d(0x189)),'aria-expanded':_0xa6562['to'](_0x3edc3d(0x176),_0x1648e0=>this[_0x3edc3d(0x189)]&&String(_0x1648e0)),'aria-label':_0xa6562['to'](_0x3edc3d(0x189),_0x41b4ac=>_0x273d1e(_0x485c88,_0x41b4ac?_0x3edc3d(0x170):_0x3edc3d(0x173))),'role':_0x3edc3d(0x192),'tabindex':_0xa6562['to'](_0x3edc3d(0x189),_0xad4fd9=>!!_0xad4fd9&&0x0),'class':['ck',_0x3edc3d(0x17c)]},'children':this[_0x3edc3d(0x174)],'on':{'mouseenter':_0xa6562['to'](()=>this[_0x3edc3d(0x180)](_0x3edc3d(0x18d))),'mouseleave':_0xa6562['to'](_0x212ed6=>{const _0x4e2149=_0x3edc3d,_0x100bfe=_0x212ed6,_0x54d506=document[_0x4e2149(0x171)](_0x4e2149(0x17e)),_0x3a93cf=document[_0x4e2149(0x171)](_0x4e2149(0x185));_0x54d506?.[_0x4e2149(0x18b)](_0x100bfe[_0x4e2149(0x16a)])||_0x3a93cf?.[_0x4e2149(0x18b)](_0x100bfe[_0x4e2149(0x16a)])||this[_0x4e2149(0x180)](_0x4e2149(0x16f));})}}),this['on'](_0x3edc3d(0x16b),(_0x11af6a,_0x3116d4,_0x163284)=>{const _0x1c32e2=_0x3edc3d;this[_0x1c32e2(0x179)]&&(_0x163284?this[_0x1c32e2(0x179)][_0x1c32e2(0x190)](_0x1c32e2(0x186),String(this[_0x1c32e2(0x176)])):this[_0x1c32e2(0x179)][_0x1c32e2(0x191)](_0x1c32e2(0x186)));});}[_0xd47e2d(0x178)](){const _0x591352=_0xd47e2d;this[_0x591352(0x179)][_0x591352(0x178)]();}[_0xd47e2d(0x187)](){const _0x48cc81=_0xd47e2d;super[_0x48cc81(0x187)](),this[_0x48cc81(0x17b)][_0x48cc81(0x181)](this[_0x48cc81(0x179)]);}}function _0x33f2(){const _0x1f43c4=['10mDNdfy','focus','element','63186EwSOFv','keystrokes','ck-presence-list__list','4356294wUKzzr','.ck-presence-list__dropdown-list','1491567sTKcBX','fire','listenTo','330204fgEhoG','52TNrWTQ','2261dnzFCv','.ck-balloon-panel_with-arrow','aria-expanded','render','9186552eeywMM','hasPopup','2fxbjjh','contains','5zkCslB','presencelist:show','31144gPPeqx','bindTemplate','setAttribute','removeAttribute','list','relatedTarget','change:hasPopup','set','155223EmVmjn','createCollection','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','div','Connected\x20users\x20list','items','setTemplate','isExpanded'];_0x33f2=function(){return _0x1f43c4;};return _0x33f2();}
23
+ const _0x1504a4=_0x43f4;(function(_0x75c54,_0x584409){const _0x2a770a=_0x43f4,_0x296b24=_0x75c54();while(!![]){try{const _0x17ab5d=parseInt(_0x2a770a(0x176))/0x1*(-parseInt(_0x2a770a(0x15d))/0x2)+parseInt(_0x2a770a(0x183))/0x3*(-parseInt(_0x2a770a(0x17d))/0x4)+-parseInt(_0x2a770a(0x16d))/0x5+-parseInt(_0x2a770a(0x16c))/0x6*(-parseInt(_0x2a770a(0x181))/0x7)+parseInt(_0x2a770a(0x169))/0x8+-parseInt(_0x2a770a(0x170))/0x9+parseInt(_0x2a770a(0x161))/0xa;if(_0x17ab5d===_0x584409)break;else _0x296b24['push'](_0x296b24['shift']());}catch(_0x5cc783){_0x296b24['push'](_0x296b24['shift']());}}}(_0xb5d8,0x53f8c));function _0xb5d8(){const _0x265834=['setAttribute','8KNuDZX','ck-presence-list__list','removeAttribute','list','189WHNDJk','div','154383XUNcfk','1163528ThwWfe','bindTemplate','items','setTemplate','15701710mokzJd','querySelector','listenTo','contains','isExpanded','presencelist:show','focus','render','336080EVgJwB','.ck-balloon-panel_with-arrow','Connected\x20users\x20list','81972HfBayq','3073585UacUbk','.ck-presence-list__dropdown-list','createCollection','3039336LgqaGY','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','set','aria-expanded','keystrokes','1sJzzcb','hasPopup','fire','change:hasPopup','relatedTarget','presencelist:hide'];_0xb5d8=function(){return _0x265834;};return _0xb5d8();}function _0x43f4(_0x1c2ef8,_0x254b51){const _0xb5d830=_0xb5d8();return _0x43f4=function(_0x43f41b,_0x3cb086){_0x43f41b=_0x43f41b-0x15d;let _0xbe8da6=_0xb5d830[_0x43f41b];return _0xbe8da6;},_0x43f4(_0x1c2ef8,_0x254b51);}import{View as _0x2b494f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x44b0f7}from'ckeditor5/src/utils.js';import{getTranslation as _0x256f18}from'../../common-translations.js';export class PresenceInlineListView extends _0x2b494f{[_0x1504a4(0x15f)];[_0x1504a4(0x175)];constructor(_0x3637fc){const _0x1606ad=_0x1504a4;super(_0x3637fc);const _0x2587cb=this[_0x1606ad(0x15e)];this[_0x1606ad(0x15f)]=this[_0x1606ad(0x16f)](),this[_0x1606ad(0x175)]=new _0x44b0f7(),this[_0x1606ad(0x173)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1606ad(0x160)]({'tag':_0x1606ad(0x182),'attributes':{'aria-haspopup':_0x2587cb['if'](_0x1606ad(0x177)),'aria-expanded':_0x2587cb['to'](_0x1606ad(0x165),_0x436caf=>this[_0x1606ad(0x177)]&&String(_0x436caf)),'aria-label':_0x2587cb['to'](_0x1606ad(0x177),_0x7b2755=>_0x256f18(_0x3637fc,_0x7b2755?_0x1606ad(0x172):_0x1606ad(0x16b))),'role':_0x1606ad(0x180),'tabindex':_0x2587cb['to'](_0x1606ad(0x177),_0x2e0a48=>!!_0x2e0a48&&0x0),'class':['ck',_0x1606ad(0x17e)]},'children':this[_0x1606ad(0x15f)],'on':{'mouseenter':_0x2587cb['to'](()=>this[_0x1606ad(0x178)](_0x1606ad(0x166))),'mouseleave':_0x2587cb['to'](_0x34826a=>{const _0xf47991=_0x1606ad,_0x144223=_0x34826a,_0x4f2f5c=document[_0xf47991(0x162)](_0xf47991(0x16e)),_0x19c907=document[_0xf47991(0x162)](_0xf47991(0x16a));_0x4f2f5c?.[_0xf47991(0x164)](_0x144223[_0xf47991(0x17a)])||_0x19c907?.[_0xf47991(0x164)](_0x144223[_0xf47991(0x17a)])||this[_0xf47991(0x178)](_0xf47991(0x17b));})}}),this['on'](_0x1606ad(0x179),(_0x1102fb,_0x314ac8,_0x52a473)=>{const _0x243c0c=_0x1606ad;this[_0x243c0c(0x171)]&&(_0x52a473?this[_0x243c0c(0x171)][_0x243c0c(0x17c)](_0x243c0c(0x174),String(this[_0x243c0c(0x165)])):this[_0x243c0c(0x171)][_0x243c0c(0x17f)](_0x243c0c(0x174)));});}[_0x1504a4(0x167)](){const _0x22bc88=_0x1504a4;this[_0x22bc88(0x171)][_0x22bc88(0x167)]();}[_0x1504a4(0x168)](){const _0x53dd6e=_0x1504a4;super[_0x53dd6e(0x168)](),this[_0x53dd6e(0x175)][_0x53dd6e(0x163)](this[_0x53dd6e(0x171)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f0761=_0x21d9;(function(_0x560ce9,_0x13d2bf){const _0x34e177=_0x21d9,_0x4e5f7d=_0x560ce9();while(!![]){try{const _0x3d819a=parseInt(_0x34e177(0xbf))/0x1*(parseInt(_0x34e177(0xc2))/0x2)+parseInt(_0x34e177(0xbc))/0x3*(-parseInt(_0x34e177(0xae))/0x4)+-parseInt(_0x34e177(0xc1))/0x5*(-parseInt(_0x34e177(0xbb))/0x6)+parseInt(_0x34e177(0xad))/0x7*(parseInt(_0x34e177(0xc7))/0x8)+-parseInt(_0x34e177(0xb6))/0x9*(parseInt(_0x34e177(0xac))/0xa)+-parseInt(_0x34e177(0xc8))/0xb+parseInt(_0x34e177(0xba))/0xc;if(_0x3d819a===_0x13d2bf)break;else _0x4e5f7d['push'](_0x4e5f7d['shift']());}catch(_0x1cbc2b){_0x4e5f7d['push'](_0x4e5f7d['shift']());}}}(_0x2766,0x33dc2));import{View as _0x57fe4e}from'ckeditor5/src/ui.js';function _0x21d9(_0x36dbec,_0x1bdf99){const _0x2766a2=_0x2766();return _0x21d9=function(_0x21d987,_0x208eda){_0x21d987=_0x21d987-0xab;let _0x3fcba8=_0x2766a2[_0x21d987];return _0x3fcba8;},_0x21d9(_0x36dbec,_0x1bdf99);}import{PresenceCounterView as _0x2dffab}from'./presencecounterview.js';function _0x2766(){const _0x104a58=['2705208vlwIyZ','6OiPzQB','372990HHYPis','ck-presence-list--collapsed','tooltipPosition','6jpKYTb','bindTemplate','1826740LHzwwm','6056vaGrTE','ck-reset','setTemplate','set','ck-rounded-corners','277656XMhGGt','4610210ZVfffu','counterView','hasPopup','266270JOAFKi','35ibqUuG','4JRmQPy','locale','div','listenTo','isCollapsed','items','ck-presence-list','inlineListView','9flRKbk','change','first','bind'];_0x2766=function(){return _0x104a58;};return _0x2766();}import{PresenceInlineListView as _0x2c4b0e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x57fe4e{[_0x4f0761(0xc9)];[_0x4f0761(0xb5)];constructor(_0x229a12,_0x117103=0x6){const _0x3f4694=_0x4f0761;super(_0x229a12);const _0x4fd5db=this[_0x3f4694(0xc0)];this[_0x3f4694(0xc5)](_0x3f4694(0xb2),!0x0),this[_0x3f4694(0xc9)]=new _0x2dffab(this[_0x3f4694(0xaf)],_0x117103),this[_0x3f4694(0xb5)]=new _0x2c4b0e(_0x229a12),this[_0x3f4694(0xb5)][_0x3f4694(0xb9)](_0x3f4694(0xab))['to'](this,_0x3f4694(0xb2)),this[_0x3f4694(0xb1)](this[_0x3f4694(0xb5)][_0x3f4694(0xb3)],_0x3f4694(0xb7),()=>{const _0xff5fa9=_0x3f4694;for(const _0x507dd2 of this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)])_0x507dd2[_0xff5fa9(0xbe)]='s';this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)][_0xff5fa9(0xb8)]&&(this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)][_0xff5fa9(0xb8)][_0xff5fa9(0xbe)]='se');}),this[_0x3f4694(0xc4)]({'tag':_0x3f4694(0xb0),'attributes':{'class':['ck',_0x3f4694(0xb4),_0x3f4694(0xc3),_0x3f4694(0xc6),_0x4fd5db['if'](_0x3f4694(0xb2),_0x3f4694(0xbd))]},'children':[this[_0x3f4694(0xb5)]]});}}
23
+ const _0x2762be=_0x3fba;(function(_0x1f0f7a,_0x3fb495){const _0xff05c0=_0x3fba,_0x1ec795=_0x1f0f7a();while(!![]){try{const _0xc85699=parseInt(_0xff05c0(0x8d))/0x1+-parseInt(_0xff05c0(0x99))/0x2*(parseInt(_0xff05c0(0xa5))/0x3)+-parseInt(_0xff05c0(0x97))/0x4*(parseInt(_0xff05c0(0x96))/0x5)+-parseInt(_0xff05c0(0x9d))/0x6*(-parseInt(_0xff05c0(0x89))/0x7)+-parseInt(_0xff05c0(0x8f))/0x8*(parseInt(_0xff05c0(0x9c))/0x9)+-parseInt(_0xff05c0(0xa7))/0xa*(parseInt(_0xff05c0(0xa1))/0xb)+-parseInt(_0xff05c0(0x8b))/0xc*(-parseInt(_0xff05c0(0x88))/0xd);if(_0xc85699===_0x3fb495)break;else _0x1ec795['push'](_0x1ec795['shift']());}catch(_0x42b1c3){_0x1ec795['push'](_0x1ec795['shift']());}}}(_0x373b,0x2cbe6));import{View as _0xbdc10b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1d2675}from'./presencecounterview.js';function _0x3fba(_0x4a78f7,_0x5c15f9){const _0x373bea=_0x373b();return _0x3fba=function(_0x3fba38,_0xfed87b){_0x3fba38=_0x3fba38-0x88;let _0x5c9ec2=_0x373bea[_0x3fba38];return _0x5c9ec2;},_0x3fba(_0x4a78f7,_0x5c15f9);}import{PresenceInlineListView as _0xd4278d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x373b(){const _0x1e3cd3=['191527wcoKEF','div','5868xePSqd','bind','11952hKGFEH','counterView','412872nDKAkF','isCollapsed','locale','set','setTemplate','listenTo','change','2035qXxOfi','3356seKhLf','items','100482zLgPxg','inlineListView','tooltipPosition','63bWrSby','66EzZuFd','ck-rounded-corners','ck-presence-list','first','1974313oXsoFy','ck-reset','ck-presence-list--collapsed','bindTemplate','12lrlGdr','hasPopup','20pWrlZi','30121JgCfyv'];_0x373b=function(){return _0x1e3cd3;};return _0x373b();}export class PresenceListView extends _0xbdc10b{[_0x2762be(0x8e)];[_0x2762be(0x9a)];constructor(_0x13bb14,_0x2bc43a=0x6){const _0x4801c0=_0x2762be;super(_0x13bb14);const _0x2958c2=this[_0x4801c0(0xa4)];this[_0x4801c0(0x92)](_0x4801c0(0x90),!0x0),this[_0x4801c0(0x8e)]=new _0x1d2675(this[_0x4801c0(0x91)],_0x2bc43a),this[_0x4801c0(0x9a)]=new _0xd4278d(_0x13bb14),this[_0x4801c0(0x9a)][_0x4801c0(0x8c)](_0x4801c0(0xa6))['to'](this,_0x4801c0(0x90)),this[_0x4801c0(0x94)](this[_0x4801c0(0x9a)][_0x4801c0(0x98)],_0x4801c0(0x95),()=>{const _0x4df89b=_0x4801c0;for(const _0xc11c80 of this[_0x4df89b(0x9a)][_0x4df89b(0x98)])_0xc11c80[_0x4df89b(0x9b)]='s';this[_0x4df89b(0x9a)][_0x4df89b(0x98)][_0x4df89b(0xa0)]&&(this[_0x4df89b(0x9a)][_0x4df89b(0x98)][_0x4df89b(0xa0)][_0x4df89b(0x9b)]='se');}),this[_0x4801c0(0x93)]({'tag':_0x4801c0(0x8a),'attributes':{'class':['ck',_0x4801c0(0x9f),_0x4801c0(0xa2),_0x4801c0(0x9e),_0x2958c2['if'](_0x4801c0(0x90),_0x4801c0(0xa3))]},'children':[this[_0x4801c0(0x9a)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12e2(_0x6b6852,_0x2825f0){var _0x22c7b0=_0x22c7();return _0x12e2=function(_0x12e2ae,_0x3d81ca){_0x12e2ae=_0x12e2ae-0xeb;var _0x24e9e7=_0x22c7b0[_0x12e2ae];return _0x24e9e7;},_0x12e2(_0x6b6852,_0x2825f0);}var _0x15bd27=_0x12e2;(function(_0x22918a,_0x5bf369){var _0xdce91c=_0x12e2,_0x5842a4=_0x22918a();while(!![]){try{var _0x259b61=-parseInt(_0xdce91c(0xf3))/0x1*(parseInt(_0xdce91c(0xf1))/0x2)+-parseInt(_0xdce91c(0xef))/0x3+-parseInt(_0xdce91c(0xf5))/0x4+-parseInt(_0xdce91c(0xf4))/0x5*(-parseInt(_0xdce91c(0xf7))/0x6)+parseInt(_0xdce91c(0xf0))/0x7*(parseInt(_0xdce91c(0xf2))/0x8)+parseInt(_0xdce91c(0xeb))/0x9+-parseInt(_0xdce91c(0xf8))/0xa*(-parseInt(_0xdce91c(0xee))/0xb);if(_0x259b61===_0x5bf369)break;else _0x5842a4['push'](_0x5842a4['shift']());}catch(_0x10f606){_0x5842a4['push'](_0x5842a4['shift']());}}}(_0x22c7,0x19446));import{ContextPlugin as _0x47583f}from'ckeditor5/src/core.js';import{Sessions as _0x2a757d}from'./realtimecollaborativeediting/sessions.js';function _0x22c7(){var _0x59e8ce=['pluginName','858BzROvo','550872VYmOOD','245xVocot','149922cJPmyO','15736thRhNF','1lszDGO','3080IxTDAI','436340ITgFyT','PresenceList','984DflfqX','33590smXiUI','requires','isPremiumPlugin','353637nnzjnL','isOfficialPlugin'];_0x22c7=function(){return _0x59e8ce;};return _0x22c7();}import{PresenceListUI as _0x4914fb}from'./presencelist/presencelistui.js';export class PresenceList extends _0x47583f{static get[_0x15bd27(0xf9)](){return[_0x2a757d,_0x4914fb];}static get[_0x15bd27(0xed)](){var _0xc3a5fa=_0x15bd27;return _0xc3a5fa(0xf6);}static get[_0x15bd27(0xec)](){return!0x0;}static get[_0x15bd27(0xfa)](){return!0x0;}}
23
+ var _0x453233=_0x2eb3;function _0x2eb3(_0x27b7ac,_0x4156d4){var _0x3ebf8a=_0x3ebf();return _0x2eb3=function(_0x2eb30b,_0x23bb5c){_0x2eb30b=_0x2eb30b-0x85;var _0x457407=_0x3ebf8a[_0x2eb30b];return _0x457407;},_0x2eb3(_0x27b7ac,_0x4156d4);}function _0x3ebf(){var _0x1acebb=['95VJSdaz','41091809ZlRALr','1453500yWuPSK','requires','54360BAyuPD','39nLqTCu','21128BRLhIZ','1596PWzezU','PresenceList','isPremiumPlugin','2043dnUgBX','isOfficialPlugin','pluginName','47240rxYIFA','4582500lMOHGD','145918XrEcBC'];_0x3ebf=function(){return _0x1acebb;};return _0x3ebf();}(function(_0x43c784,_0x32ef8e){var _0x49597b=_0x2eb3,_0x4fb131=_0x43c784();while(!![]){try{var _0x4ab343=-parseInt(_0x49597b(0x90))/0x1+parseInt(_0x49597b(0x8d))/0x2*(-parseInt(_0x49597b(0x93))/0x3)+parseInt(_0x49597b(0x94))/0x4*(-parseInt(_0x49597b(0x8e))/0x5)+-parseInt(_0x49597b(0x8c))/0x6+-parseInt(_0x49597b(0x85))/0x7*(-parseInt(_0x49597b(0x92))/0x8)+-parseInt(_0x49597b(0x88))/0x9*(parseInt(_0x49597b(0x8b))/0xa)+parseInt(_0x49597b(0x8f))/0xb;if(_0x4ab343===_0x32ef8e)break;else _0x4fb131['push'](_0x4fb131['shift']());}catch(_0x304963){_0x4fb131['push'](_0x4fb131['shift']());}}}(_0x3ebf,0xe7118));import{ContextPlugin as _0x2339ee}from'ckeditor5/src/core.js';import{Sessions as _0x5204bf}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x26ac03}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2339ee{static get[_0x453233(0x91)](){return[_0x5204bf,_0x26ac03];}static get[_0x453233(0x8a)](){var _0x55e5e8=_0x453233;return _0x55e5e8(0x86);}static get[_0x453233(0x89)](){return!0x0;}static get[_0x453233(0x87)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x418a9a=_0x1d45;(function(_0x3bda41,_0x2dd874){const _0x251ed1=_0x1d45,_0x70cd0a=_0x3bda41();while(!![]){try{const _0x3ba7ae=-parseInt(_0x251ed1(0xd4))/0x1+-parseInt(_0x251ed1(0xdf))/0x2*(parseInt(_0x251ed1(0xec))/0x3)+-parseInt(_0x251ed1(0xad))/0x4+-parseInt(_0x251ed1(0x94))/0x5+parseInt(_0x251ed1(0xf6))/0x6*(-parseInt(_0x251ed1(0xea))/0x7)+parseInt(_0x251ed1(0xe3))/0x8+parseInt(_0x251ed1(0xcd))/0x9;if(_0x3ba7ae===_0x2dd874)break;else _0x70cd0a['push'](_0x70cd0a['shift']());}catch(_0x4ff11c){_0x70cd0a['push'](_0x70cd0a['shift']());}}}(_0x4190,0x87bce));import{Context as _0x2946b5,ContextPlugin as _0x43b524}from'ckeditor5/src/core.js';function _0x1d45(_0x46c9ac,_0x558800){const _0x419039=_0x4190();return _0x1d45=function(_0x1d45cc,_0x3cfe68){_0x1d45cc=_0x1d45cc-0x93;let _0x1a6f66=_0x419039[_0x1d45cc];return _0x1a6f66;},_0x1d45(_0x46c9ac,_0x558800);}import{CKEditorError as _0x351975}from'ckeditor5/src/utils.js';import{Users as _0x2e8720}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x268342,User as _0x2e559b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2aa681}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4c7abc}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x43b524{static [_0x418a9a(0xee)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x268342)());[_0x418a9a(0xeb)];static get[_0x418a9a(0xc5)](){const _0x139488=_0x418a9a;return[_0x2aa681,_0x139488(0xb1),_0x4c7abc,_0x2e8720];}static get[_0x418a9a(0xdb)](){const _0x412233=_0x418a9a;return _0x412233(0xce);}static get[_0x418a9a(0xac)](){return!0x0;}static get[_0x418a9a(0xc7)](){return!0x0;}constructor(_0x404a49){const _0x5c61e6=_0x418a9a;super(_0x404a49),this[_0x5c61e6(0xeb)]=new Map();}async[_0x418a9a(0xd1)](){const _0x5a5505=_0x418a9a,_0x4b6455=this[_0x5a5505(0xb2)],_0x34105e=_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x5a5505(0xb1));if(_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x2aa681)[_0x5a5505(0xd8)](this),_0x34105e[_0x5a5505(0xb7)]={'addCommentThread':async({channelId:_0x40f6fb,threadId:_0x2f0b06,comments:_0x5cc840,resolvedAt:_0x217a24,resolvedBy:_0x357747,context:_0x1cd808,attributes:_0x301c52})=>{const _0x1e9413=_0x5a5505,_0x24a527=await this[_0x1e9413(0xb3)](_0x40f6fb)[_0x1e9413(0xd7)]({'commentThreadId':_0x2f0b06,'comments':_0x5cc840[_0x1e9413(0xc6)](_0x39cf42=>function(_0x29f1a3,_0x374346,_0x3e23c5){const _0x35eb6e=_0x1e9413;return{'commentThreadId':_0x3e23c5,'commentId':_0x29f1a3[_0x35eb6e(0x98)],'userId':_0x29f1a3[_0x35eb6e(0xa5)],'content':_0x29f1a3[_0x35eb6e(0xde)],'documentId':_0x374346,'createdAt':_0x29f1a3[_0x35eb6e(0xcf)],'attributes':_0x29f1a3[_0x35eb6e(0xc4)]||{}};}(_0x39cf42,_0x40f6fb,_0x2f0b06)),'resolvedAt':_0x217a24,'resolvedBy':_0x357747,'context':_0x1cd808,'attributes':_0x301c52})[_0x1e9413(0x99)](B);return{'threadId':_0x24a527[_0x1e9413(0xbc)],'comments':_0x24a527[_0x1e9413(0xbe)]};},'getCommentThread':async({channelId:_0x2c1c7c,threadId:_0x276568})=>{const _0x136ba9=_0x5a5505,_0x4ca9f3=await this[_0x136ba9(0xb3)](_0x2c1c7c)[_0x136ba9(0xf2)](_0x276568)[_0x136ba9(0x99)](F)[_0x136ba9(0x99)](B);return _0x4ca9f3?_0x4ca9f3[_0x136ba9(0xc8)]?null:(await this[_0x136ba9(0x9a)]([_0x4ca9f3]),{'threadId':_0x4ca9f3[_0x136ba9(0xbc)],'comments':_0x4ca9f3[_0x136ba9(0xbe)][_0x136ba9(0xc6)](P),'context':_0x4ca9f3[_0x136ba9(0xb2)],'resolvedAt':_0x4ca9f3[_0x136ba9(0x9e)],'resolvedBy':_0x4ca9f3[_0x136ba9(0xd2)],'attributes':_0x4ca9f3[_0x136ba9(0xc4)]||{}}):null;},'updateCommentThread':async({channelId:_0x38789a,threadId:_0x57c528,context:_0x1293ff,unlinkedAt:_0x8bfc07,attributes:_0x464c5e})=>this[_0x5a5505(0xb3)](_0x38789a)[_0x5a5505(0xa1)]({'commentThreadId':_0x57c528,'context':_0x1293ff,'attributes':_0x464c5e,'unlinkedAt':_0x8bfc07})[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'resolveCommentThread':async({channelId:_0x369f54,threadId:_0x3fe2e5})=>{const _0x10324b=_0x5a5505,_0x45a703=await this[_0x10324b(0xb3)](_0x369f54)[_0x10324b(0xc9)](_0x3fe2e5)[_0x10324b(0x99)](F)[_0x10324b(0x99)](B);return{'threadId':_0x45a703[_0x10324b(0xbc)],'resolvedAt':_0x45a703[_0x10324b(0x9e)],'resolvedBy':_0x45a703[_0x10324b(0xd2)]};},'reopenCommentThread':async({channelId:_0x50bd8d,threadId:_0x13a519})=>this[_0x5a5505(0xb3)](_0x50bd8d)[_0x5a5505(0xd6)](_0x13a519)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'removeCommentThread':({channelId:_0x24e6d5,threadId:_0x3228f2})=>this[_0x5a5505(0xb3)](_0x24e6d5)[_0x5a5505(0xd3)](_0x3228f2)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'addComment':({channelId:_0x4c1a23,threadId:_0x290be3,commentId:_0x1a7496,content:_0x40aecf,attributes:_0x14f9dd})=>this[_0x5a5505(0xb3)](_0x4c1a23)[_0x5a5505(0xe4)](_0x290be3,_0x1a7496,_0x40aecf,_0x14f9dd)[_0x5a5505(0x99)](B),'updateComment':({channelId:_0x172555,threadId:_0x580ec5,commentId:_0x491221,content:_0x3da4a3,attributes:_0x3a42e4})=>this[_0x5a5505(0xb3)](_0x172555)[_0x5a5505(0xbd)](_0x580ec5,_0x491221,_0x3da4a3,_0x3a42e4)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B),'removeComment':({channelId:_0x57e139,threadId:_0x7920f7,commentId:_0x1ff027})=>this[_0x5a5505(0xb3)](_0x57e139)[_0x5a5505(0xda)](_0x7920f7,_0x1ff027)[_0x5a5505(0x99)](F)[_0x5a5505(0x99)](B)},_0x4b6455 instanceof _0x2946b5){const _0x100177=_0x4b6455[_0x5a5505(0xa6)][_0x5a5505(0xe2)](_0x5a5505(0x95)),_0xd1d669=_0x4b6455[_0x5a5505(0xed)][_0x5a5505(0xe2)](_0x4c7abc);await this[_0x5a5505(0xa3)](_0x100177);const _0x3f71f9=await this[_0x5a5505(0xeb)][_0x5a5505(0xe2)](_0x100177)[_0x5a5505(0xa0)]();this[_0x5a5505(0xa2)](_0xd1d669,_0x5a5505(0x9f)+_0x100177,(_0x5f3b91,{session:_0x48568c})=>{const _0x3389c1=_0x5a5505;_0x48568c['id']===_0xd1d669[_0x3389c1(0xe8)]&&(_0x5f3b91[_0x3389c1(0xca)](),this[_0x3389c1(0xb2)][_0x3389c1(0xed)][_0x3389c1(0xe2)](_0x3389c1(0xf5))[_0x3389c1(0xf4)](_0x48568c[_0x3389c1(0xb6)],_0x100177));}),_0xd1d669[_0x5a5505(0xb0)](_0x100177,_0x3f71f9);}}async[_0x418a9a(0xa3)](_0x2c6f91){const _0x38ea04=_0x418a9a;if(this[_0x38ea04(0xeb)][_0x38ea04(0xbb)](_0x2c6f91))throw new _0x351975(_0x38ea04(0xe9),null,{'channelId':_0x2c6f91});const _0x56f891=this[_0x38ea04(0xb2)][_0x38ea04(0xed)][_0x38ea04(0xe2)](_0x38ea04(0xb1)),_0x9be1b2=new CloudServicesCommentsAdapter[(_0x38ea04(0xee))](_0x2c6f91);this[_0x38ea04(0xeb)][_0x38ea04(0xc3)](_0x2c6f91,_0x9be1b2),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xb9),(_0x2d1914,_0x5439c6)=>{const _0x4526f0=_0x38ea04,{commentThreadId:_0x5c3466,documentId:_0x23c934,context:_0x5e4557,attributes:_0x553d95,resolvedAt:_0x5e98e0,resolvedBy:_0x4ec829,comments:_0x5a2390}=_0x5439c6;_0x56f891[_0x4526f0(0xf2)](_0x5c3466)||_0x56f891[_0x4526f0(0xd7)]({'threadId':_0x5c3466,'channelId':_0x23c934,'comments':_0x5a2390?_0x5a2390[_0x4526f0(0xc6)](P):[],'context':_0x5e4557,'attributes':_0x553d95,'resolvedAt':_0x5e98e0,'resolvedBy':_0x4ec829,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xd0),(_0x39321d,{commentThreadId:_0x3bfef4,documentId:_0xa9831e,context:_0xc1b496,unlinkedAt:_0x40fd78,attributes:_0x530564})=>{const _0x4ba57a=_0x38ea04;_0x56f891[_0x4ba57a(0xf2)](_0x3bfef4)&&_0x56f891[_0x4ba57a(0xa1)]({'threadId':_0x3bfef4,'channelId':_0xa9831e,'context':_0xc1b496,'unlinkedAt':_0x40fd78,'attributes':_0x530564,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xdc),(_0x220215,{commentThreadId:_0x2921d2,resolvedBy:_0x59add4,resolvedAt:_0x1e3fa2})=>{const _0x3f3695=_0x38ea04,_0x1998f2=_0x56f891[_0x3f3695(0xf2)](_0x2921d2);_0x1998f2&&_0x1998f2[_0x3f3695(0xbf)]({'resolvedBy':_0x59add4,'resolvedAt':_0x1e3fa2,'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0x93),(_0x8ad538,{commentThreadId:_0x28f5cb})=>{const _0x4d4d45=_0x38ea04,_0x54a144=_0x56f891[_0x4d4d45(0xf2)](_0x28f5cb);_0x54a144&&_0x54a144[_0x4d4d45(0xe6)]({'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xe5),(_0x330656,{commentThreadId:_0x1e0605})=>{const _0x22064f=_0x38ea04,_0x2142b0=_0x56f891[_0x22064f(0xf2)](_0x1e0605);_0x2142b0&&_0x2142b0[_0x22064f(0xaa)]({'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0x9d),(_0x214e82,_0x34c59c)=>{const _0x5a3f99=_0x38ea04,_0x10738e=_0x34c59c[_0x5a3f99(0xbc)],_0xe77f6a=_0x56f891[_0x5a3f99(0xf2)](_0x10738e);_0xe77f6a&&_0xe77f6a[_0x5a3f99(0xe4)]({...P(_0x34c59c),'isFromAdapter':!0x0});}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xba),(_0x4abf79,{commentThreadId:_0x207904,commentId:_0x123487,content:_0x514a19,attributes:_0x2c85b9})=>{const _0x3340ec=_0x38ea04,_0x2dc988=_0x56f891[_0x3340ec(0xf2)](_0x207904);if(_0x2dc988){const _0x4af46b=_0x2dc988[_0x3340ec(0xaf)](_0x123487);_0x4af46b&&_0x4af46b[_0x3340ec(0xa8)]({'content':_0x514a19,'attributes':_0x2c85b9,'isFromAdapter':!0x0});}}),this[_0x38ea04(0xa2)](_0x9be1b2,_0x38ea04(0xef),(_0x59b1b9,{commentThreadId:_0x42271f,commentId:_0x5c3f1c})=>{const _0x4727b2=_0x38ea04,_0x5a30c0=_0x56f891[_0x4727b2(0xf2)](_0x42271f);if(_0x5a30c0){const _0x44ab17=_0x5a30c0[_0x4727b2(0xaf)](_0x5c3f1c);_0x44ab17&&_0x44ab17[_0x4727b2(0xaa)]({'isFromAdapter':!0x0});}}),await this[_0x38ea04(0xb4)](_0x2c6f91);}[_0x418a9a(0xa9)](){const _0x368083=_0x418a9a;if(this[_0x368083(0xb2)]instanceof _0x2946b5){const _0x36c5b3=this[_0x368083(0xb2)][_0x368083(0xa6)][_0x368083(0xe2)](_0x368083(0x95));this[_0x368083(0xd5)](_0x36c5b3);}}[_0x418a9a(0xd5)](_0x278489){const _0x30e1b9=_0x418a9a;if(!this[_0x30e1b9(0xeb)][_0x30e1b9(0xbb)](_0x278489))throw new _0x351975(_0x30e1b9(0xa7),null,{'channelId':_0x278489});this[_0x30e1b9(0xb3)](_0x278489)[_0x30e1b9(0xcb)](),this[_0x30e1b9(0xeb)][_0x30e1b9(0xdd)](_0x278489);}async[_0x418a9a(0xf3)](){const _0x5d52ab=_0x418a9a;for(const _0x389c55 of this[_0x5d52ab(0xeb)][_0x5d52ab(0x96)]())await this[_0x5d52ab(0xb4)](_0x389c55);if(this[_0x5d52ab(0xb2)]instanceof _0x2946b5){const _0x48edb3=this[_0x5d52ab(0xb2)][_0x5d52ab(0xa6)][_0x5d52ab(0xe2)](_0x5d52ab(0x95)),_0xd7a057=this[_0x5d52ab(0xb2)][_0x5d52ab(0xed)][_0x5d52ab(0xe2)](_0x4c7abc);_0xd7a057[_0x5d52ab(0xcc)](_0x48edb3);const _0x449497=await this[_0x5d52ab(0xeb)][_0x5d52ab(0xe2)](_0x48edb3)[_0x5d52ab(0xa0)]();_0xd7a057[_0x5d52ab(0xb0)](_0x48edb3,_0x449497);}}async[_0x418a9a(0xb4)](_0x34898f){const _0x5e4000=_0x418a9a,{connection:_0x5a730f}=this[_0x5e4000(0xb2)][_0x5e4000(0xed)][_0x5e4000(0xe2)](_0x2aa681),_0x4b03df=this[_0x5e4000(0xb2)][_0x5e4000(0xed)][_0x5e4000(0xe2)](_0x5e4000(0xb1)),_0x5492e4=this[_0x5e4000(0xeb)][_0x5e4000(0xe2)](_0x34898f),_0x47f981=await _0x5492e4[_0x5e4000(0xe0)](_0x5a730f);await this[_0x5e4000(0x9a)](_0x47f981);const _0x511bdd=new Set(Array[_0x5e4000(0xc2)](_0x4b03df[_0x5e4000(0xe1)]({'channelId':_0x34898f}),_0x200061=>_0x200061['id']));for(const _0x167329 of _0x47f981)_0x167329[_0x5e4000(0xc8)]||_0x511bdd[_0x5e4000(0xdd)](_0x167329[_0x5e4000(0xbc)]);for(const _0x217b7b of _0x511bdd)_0x4b03df[_0x5e4000(0xf2)](_0x217b7b)[_0x5e4000(0xaa)]({'isFromAdapter':!0x0});for(const _0x1f9c2e of _0x47f981){let _0x2096d6=_0x4b03df[_0x5e4000(0xf2)](_0x1f9c2e[_0x5e4000(0xbc)]);const {commentThreadId:_0x2e74b0,context:_0x29ad11,attributes:_0x3c25c3,resolvedBy:_0xbe1dc7,resolvedAt:_0xa628ca,unlinkedAt:_0x268a86,deletedAt:_0xb82312}=_0x1f9c2e;if(_0xb82312)continue;_0x2096d6||(_0x2096d6=_0x4b03df[_0x5e4000(0xd7)]({'channelId':_0x34898f,'threadId':_0x2e74b0,'context':_0x29ad11,'attributes':_0x3c25c3||{},'resolvedBy':_0xbe1dc7,'resolvedAt':_0xa628ca,'unlinkedAt':_0x268a86,'isFromAdapter':!0x0}));const _0x55721f=new Set(Array[_0x5e4000(0xc2)](_0x2096d6[_0x5e4000(0xbe)],_0x295bf4=>_0x295bf4['id']));for(const _0x30dae9 of _0x1f9c2e[_0x5e4000(0xbe)])_0x55721f[_0x5e4000(0xdd)](_0x30dae9[_0x5e4000(0x98)]);for(const _0x1713fd of _0x55721f)_0x2096d6[_0x5e4000(0xaf)](_0x1713fd)[_0x5e4000(0xaa)]({'isFromAdapter':!0x0});for(const _0x31127d of _0x1f9c2e[_0x5e4000(0xbe)]){const _0x962ec4=_0x2096d6[_0x5e4000(0xaf)](_0x31127d[_0x5e4000(0x98)]);_0x962ec4?_0x962ec4[_0x5e4000(0xde)]!==_0x31127d[_0x5e4000(0xde)]&&_0x962ec4[_0x5e4000(0xa8)]({'content':_0x31127d[_0x5e4000(0xde)],'isFromAdapter':!0x0}):_0x2096d6[_0x5e4000(0xe4)](Object[_0x5e4000(0x97)](P(_0x31127d),{'isFromAdapter':!0x0}));}}}[_0x418a9a(0xb3)](_0xfd8fd8){const _0x114bb1=_0x418a9a;if(!this[_0x114bb1(0xeb)][_0x114bb1(0xbb)](_0xfd8fd8))throw new _0x351975(_0x114bb1(0xab),null,{'channelId':_0xfd8fd8});return this[_0x114bb1(0xeb)][_0x114bb1(0xe2)](_0xfd8fd8);}async[_0x418a9a(0x9a)](_0x19790b){const _0x1094ab=_0x418a9a,_0x74009a=this[_0x1094ab(0xb2)][_0x1094ab(0xed)][_0x1094ab(0xe2)](_0x2e8720),{connection:_0x363247}=this[_0x1094ab(0xb2)][_0x1094ab(0xed)][_0x1094ab(0xe2)](_0x2aa681),_0x78fd0b=new Set();for(const {resolvedBy:_0x171a14,comments:_0x1f8f8c}of _0x19790b){_0x171a14&&!_0x74009a[_0x1094ab(0xb5)](_0x171a14)&&_0x78fd0b[_0x1094ab(0xc0)](_0x171a14);for(const {userId:_0x5ba421}of _0x1f8f8c)_0x74009a[_0x1094ab(0xb5)](_0x5ba421)||_0x78fd0b[_0x1094ab(0xc0)](_0x5ba421);}if(0x0===_0x78fd0b[_0x1094ab(0xf0)])return;const _0x3c1b1c=await _0x2e559b[_0x1094ab(0xc1)](_0x363247,Array[_0x1094ab(0xc2)](_0x78fd0b));for(const _0x602a13 of _0x3c1b1c)_0x74009a[_0x1094ab(0xb5)](_0x602a13['id'])||_0x74009a[_0x1094ab(0x9c)](_0x602a13);}}function _0x4190(){const _0x9b4ae4=['from','set','attributes','requires','map','isPremiumPlugin','deletedAt','resolveCommentThread','off','disconnect','unregister','35405685yCNVTp','CloudServicesCommentsAdapter','createdAt','commentThreadUpdated','init','resolvedBy','removeCommentThread','729349trXCtl','_terminateService','reopenCommentThread','addCommentThread','addToReconnectionStack','message','removeComment','pluginName','commentThreadResolved','delete','content','2102INGBuK','connect','getCommentThreads','get','3290104hqLnfH','addComment','commentThreadRemoved','reopen','startsWith','mySessionId','cloudservicescommentsadapter-connect-already-connected','133ZUxsgI','_services','2526yYIxuv','plugins','CommentsService','commentRemoved','size','code','getCommentThread','reconnect','setPermissions','Permissions','346824hGDQer','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadReopened','1194550OQwfJg','collaboration.channelId','keys','assign','commentId','catch','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Request\x20timeout.','addUser','commentAdded','resolvedAt','sessionAdd:','getConnectedSessions','updateCommentThread','listenTo','_setUpService','404','authorId','config','cloudservicescommentsadapter-disconnect-not-exist','update','destroy','remove','cloudservicescommentsadapter-service-not-exist','isOfficialPlugin','3351076exCyjz','userId','getComment','register','CommentsRepository','context','_getService','_connectService','getUser','permissions','adapter','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','commentUpdated','has','commentThreadId','updateComment','comments','resolve','add','getMany'];_0x4190=function(){return _0x9b4ae4;};return _0x4190();}async function F(_0x5d4628){const _0x4d6409=_0x418a9a;if(_0x4d6409(0xa4)!==_0x5d4628[_0x4d6409(0xf1)])throw _0x5d4628;}function B(_0x3319d0){const _0x5c66b2=_0x418a9a;if((_0x225703=_0x3319d0)[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0xf7))||_0x225703[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0xb8))||_0x225703[_0x5c66b2(0xd9)][_0x5c66b2(0xe7)](_0x5c66b2(0x9b)))return new Promise(()=>{});var _0x225703;throw _0x3319d0;}function P(_0x4ecdb6){const _0x1fe48f=_0x418a9a;return{'threadId':_0x4ecdb6[_0x1fe48f(0xbc)],'commentId':_0x4ecdb6[_0x1fe48f(0x98)],'content':_0x4ecdb6[_0x1fe48f(0xde)],'createdAt':_0x4ecdb6[_0x1fe48f(0xcf)],'authorId':_0x4ecdb6[_0x1fe48f(0xae)],'attributes':_0x4ecdb6[_0x1fe48f(0xc4)]||{}};}
23
+ const _0xe1a9e8=_0x35d8;(function(_0x4cdb76,_0xc75618){const _0x29303a=_0x35d8,_0x2e0d66=_0x4cdb76();while(!![]){try{const _0x29c793=-parseInt(_0x29303a(0x24b))/0x1*(-parseInt(_0x29303a(0x24d))/0x2)+-parseInt(_0x29303a(0x210))/0x3*(parseInt(_0x29303a(0x24f))/0x4)+-parseInt(_0x29303a(0x223))/0x5+-parseInt(_0x29303a(0x23d))/0x6+parseInt(_0x29303a(0x224))/0x7*(parseInt(_0x29303a(0x237))/0x8)+parseInt(_0x29303a(0x1f0))/0x9*(parseInt(_0x29303a(0x20b))/0xa)+parseInt(_0x29303a(0x205))/0xb;if(_0x29c793===_0xc75618)break;else _0x2e0d66['push'](_0x2e0d66['shift']());}catch(_0xae7abc){_0x2e0d66['push'](_0x2e0d66['shift']());}}}(_0x3f80,0xde6e5));import{Context as _0x121e48,ContextPlugin as _0x232119}from'ckeditor5/src/core.js';import{CKEditorError as _0x41257a}from'ckeditor5/src/utils.js';import{Users as _0x556585}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x80f75a,User as _0x570541}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4aca91}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x11868a}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x232119{static [_0xe1a9e8(0x1eb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x80f75a)());[_0xe1a9e8(0x219)];static get[_0xe1a9e8(0x1fd)](){const _0x106199=_0xe1a9e8;return[_0x4aca91,_0x106199(0x212),_0x11868a,_0x556585];}static get[_0xe1a9e8(0x243)](){const _0x2fbb02=_0xe1a9e8;return _0x2fbb02(0x1f1);}static get[_0xe1a9e8(0x231)](){return!0x0;}static get[_0xe1a9e8(0x238)](){return!0x0;}constructor(_0x95ee6b){const _0x593441=_0xe1a9e8;super(_0x95ee6b),this[_0x593441(0x219)]=new Map();}async[_0xe1a9e8(0x21e)](){const _0x58d96f=_0xe1a9e8,_0x14625a=this[_0x58d96f(0x20f)],_0x4e4d15=_0x14625a[_0x58d96f(0x248)][_0x58d96f(0x21c)](_0x58d96f(0x212));if(_0x14625a[_0x58d96f(0x248)][_0x58d96f(0x21c)](_0x4aca91)[_0x58d96f(0x1fc)](this),_0x4e4d15[_0x58d96f(0x1ee)]={'addCommentThread':async({channelId:_0x326431,threadId:_0x25f71f,comments:_0x56546d,resolvedAt:_0x494e71,resolvedBy:_0x44327d,context:_0x346956,attributes:_0x3c36d8})=>{const _0x8e3654=_0x58d96f,_0x28ba02=await this[_0x8e3654(0x21a)](_0x326431)[_0x8e3654(0x202)]({'commentThreadId':_0x25f71f,'comments':_0x56546d[_0x8e3654(0x250)](_0x27ed40=>function(_0x1f44be,_0x3cb12a,_0x2f29b8){const _0x1292fa=_0x8e3654;return{'commentThreadId':_0x2f29b8,'commentId':_0x1f44be[_0x1292fa(0x23c)],'userId':_0x1f44be[_0x1292fa(0x1ec)],'content':_0x1f44be[_0x1292fa(0x1ed)],'documentId':_0x3cb12a,'createdAt':_0x1f44be[_0x1292fa(0x208)],'attributes':_0x1f44be[_0x1292fa(0x221)]||{}};}(_0x27ed40,_0x326431,_0x25f71f)),'resolvedAt':_0x494e71,'resolvedBy':_0x44327d,'context':_0x346956,'attributes':_0x3c36d8})[_0x8e3654(0x201)](k);return{'threadId':_0x28ba02[_0x8e3654(0x226)],'comments':_0x28ba02[_0x8e3654(0x245)]};},'getCommentThread':async({channelId:_0x115d1,threadId:_0x2f1738})=>{const _0x45db76=_0x58d96f,_0x3e8584=await this[_0x45db76(0x21a)](_0x115d1)[_0x45db76(0x222)](_0x2f1738)[_0x45db76(0x201)](F)[_0x45db76(0x201)](k);return _0x3e8584?_0x3e8584[_0x45db76(0x23f)]?null:(await this[_0x45db76(0x22e)]([_0x3e8584]),{'threadId':_0x3e8584[_0x45db76(0x226)],'comments':_0x3e8584[_0x45db76(0x245)][_0x45db76(0x250)](S),'context':_0x3e8584[_0x45db76(0x20f)],'resolvedAt':_0x3e8584[_0x45db76(0x1f2)],'resolvedBy':_0x3e8584[_0x45db76(0x239)],'attributes':_0x3e8584[_0x45db76(0x221)]||{}}):null;},'updateCommentThread':async({channelId:_0x3f2a47,threadId:_0x1b23e1,context:_0x3f30c2,unlinkedAt:_0xaab9a9,attributes:_0x3a104c})=>this[_0x58d96f(0x21a)](_0x3f2a47)[_0x58d96f(0x1f5)]({'commentThreadId':_0x1b23e1,'context':_0x3f30c2,'attributes':_0x3a104c,'unlinkedAt':_0xaab9a9})[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'resolveCommentThread':async({channelId:_0x925f76,threadId:_0xe9458c})=>{const _0x30e50c=_0x58d96f,_0x59703d=await this[_0x30e50c(0x21a)](_0x925f76)[_0x30e50c(0x244)](_0xe9458c)[_0x30e50c(0x201)](F)[_0x30e50c(0x201)](k);return{'threadId':_0x59703d[_0x30e50c(0x226)],'resolvedAt':_0x59703d[_0x30e50c(0x1f2)],'resolvedBy':_0x59703d[_0x30e50c(0x239)]};},'reopenCommentThread':async({channelId:_0x2c735b,threadId:_0x164503})=>this[_0x58d96f(0x21a)](_0x2c735b)[_0x58d96f(0x1f8)](_0x164503)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'removeCommentThread':({channelId:_0x211daf,threadId:_0x3317f5})=>this[_0x58d96f(0x21a)](_0x211daf)[_0x58d96f(0x1f3)](_0x3317f5)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'addComment':({channelId:_0xec2823,threadId:_0x1776f1,commentId:_0x2b90f7,content:_0x3b7b6b,attributes:_0x248793})=>this[_0x58d96f(0x21a)](_0xec2823)[_0x58d96f(0x22d)](_0x1776f1,_0x2b90f7,_0x3b7b6b,_0x248793)[_0x58d96f(0x201)](k),'updateComment':({channelId:_0xba43f7,threadId:_0x5bc408,commentId:_0xb00cc4,content:_0x495607,attributes:_0x3433af})=>this[_0x58d96f(0x21a)](_0xba43f7)[_0x58d96f(0x1f6)](_0x5bc408,_0xb00cc4,_0x495607,_0x3433af)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'removeComment':({channelId:_0x3ccd92,threadId:_0x4ce798,commentId:_0x2c3872})=>this[_0x58d96f(0x21a)](_0x3ccd92)[_0x58d96f(0x20c)](_0x4ce798,_0x2c3872)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k)},_0x14625a instanceof _0x121e48){const _0x5f3a94=_0x14625a[_0x58d96f(0x20e)][_0x58d96f(0x21c)](_0x58d96f(0x20d)),_0x462fe7=_0x14625a[_0x58d96f(0x248)][_0x58d96f(0x21c)](_0x11868a);await this[_0x58d96f(0x246)](_0x5f3a94);const _0x2dea6b=await this[_0x58d96f(0x219)][_0x58d96f(0x21c)](_0x5f3a94)[_0x58d96f(0x234)]();this[_0x58d96f(0x24e)](_0x462fe7,_0x58d96f(0x24c)+_0x5f3a94,(_0x41fcb2,{session:_0x26c250})=>{const _0x109c5a=_0x58d96f;_0x26c250['id']===_0x462fe7[_0x109c5a(0x23e)]&&(_0x41fcb2[_0x109c5a(0x203)](),this[_0x109c5a(0x20f)][_0x109c5a(0x248)][_0x109c5a(0x21c)](_0x109c5a(0x249))[_0x109c5a(0x1f4)](_0x26c250[_0x109c5a(0x233)],_0x5f3a94));}),_0x462fe7[_0x58d96f(0x242)](_0x5f3a94,_0x2dea6b);}}async[_0xe1a9e8(0x246)](_0x1aba2b){const _0x4e7ed0=_0xe1a9e8;if(this[_0x4e7ed0(0x219)][_0x4e7ed0(0x218)](_0x1aba2b))throw new _0x41257a(_0x4e7ed0(0x1fa),null,{'channelId':_0x1aba2b});const _0x268d66=this[_0x4e7ed0(0x20f)][_0x4e7ed0(0x248)][_0x4e7ed0(0x21c)](_0x4e7ed0(0x212)),_0x52f136=new CloudServicesCommentsAdapter[(_0x4e7ed0(0x1eb))](_0x1aba2b);this[_0x4e7ed0(0x219)][_0x4e7ed0(0x209)](_0x1aba2b,_0x52f136),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x227),(_0x1e9f6a,_0x49b8dd)=>{const _0x7e3a6d=_0x4e7ed0,{commentThreadId:_0x44d2f7,documentId:_0xa19a37,context:_0x3e8ac1,attributes:_0x220b57,resolvedAt:_0x3be661,resolvedBy:_0x18c89b,comments:_0x5ee5a0}=_0x49b8dd;_0x268d66[_0x7e3a6d(0x222)](_0x44d2f7)||_0x268d66[_0x7e3a6d(0x202)]({'threadId':_0x44d2f7,'channelId':_0xa19a37,'comments':_0x5ee5a0?_0x5ee5a0[_0x7e3a6d(0x250)](S):[],'context':_0x3e8ac1,'attributes':_0x220b57,'resolvedAt':_0x3be661,'resolvedBy':_0x18c89b,'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x217),(_0x3311b4,{commentThreadId:_0x1b538e,documentId:_0x53ebcc,context:_0x5e7533,unlinkedAt:_0x39b222,attributes:_0x2ce203})=>{const _0x252d08=_0x4e7ed0;_0x268d66[_0x252d08(0x222)](_0x1b538e)&&_0x268d66[_0x252d08(0x1f5)]({'threadId':_0x1b538e,'channelId':_0x53ebcc,'context':_0x5e7533,'unlinkedAt':_0x39b222,'attributes':_0x2ce203,'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x206),(_0x4ac114,{commentThreadId:_0x55f83a,resolvedBy:_0x2e6a07,resolvedAt:_0xfa52d6})=>{const _0x8b22de=_0x4e7ed0,_0x38ebe5=_0x268d66[_0x8b22de(0x222)](_0x55f83a);_0x38ebe5&&_0x38ebe5[_0x8b22de(0x22b)]({'resolvedBy':_0x2e6a07,'resolvedAt':_0xfa52d6,'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x1f9),(_0x515909,{commentThreadId:_0x31e0ed})=>{const _0x3fda74=_0x4e7ed0,_0x4aaa8a=_0x268d66[_0x3fda74(0x222)](_0x31e0ed);_0x4aaa8a&&_0x4aaa8a[_0x3fda74(0x1fe)]({'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x21b),(_0x20182a,{commentThreadId:_0x3e5657})=>{const _0x1671bd=_0x4e7ed0,_0x1e3511=_0x268d66[_0x1671bd(0x222)](_0x3e5657);_0x1e3511&&_0x1e3511[_0x1671bd(0x1ff)]({'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x220),(_0xc60dcd,_0x51046d)=>{const _0x4d2a0a=_0x4e7ed0,_0x57e2fc=_0x51046d[_0x4d2a0a(0x226)],_0x10ee8f=_0x268d66[_0x4d2a0a(0x222)](_0x57e2fc);_0x10ee8f&&_0x10ee8f[_0x4d2a0a(0x22d)]({...S(_0x51046d),'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x23b),(_0x18bd1e,{commentThreadId:_0xdf89e6,commentId:_0x4cfa75,content:_0x3573af,attributes:_0x2dfeea})=>{const _0x3b30c9=_0x4e7ed0,_0x123e89=_0x268d66[_0x3b30c9(0x222)](_0xdf89e6);if(_0x123e89){const _0x51b766=_0x123e89[_0x3b30c9(0x24a)](_0x4cfa75);_0x51b766&&_0x51b766[_0x3b30c9(0x211)]({'content':_0x3573af,'attributes':_0x2dfeea,'isFromAdapter':!0x0});}}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x216),(_0x2ce44f,{commentThreadId:_0xb918c0,commentId:_0x24ab86})=>{const _0x4581d0=_0x4e7ed0,_0xad781=_0x268d66[_0x4581d0(0x222)](_0xb918c0);if(_0xad781){const _0xf84fc=_0xad781[_0x4581d0(0x24a)](_0x24ab86);_0xf84fc&&_0xf84fc[_0x4581d0(0x1ff)]({'isFromAdapter':!0x0});}}),await this[_0x4e7ed0(0x235)](_0x1aba2b);}[_0xe1a9e8(0x241)](){const _0x3e6b4d=_0xe1a9e8;if(this[_0x3e6b4d(0x20f)]instanceof _0x121e48){const _0x490f1e=this[_0x3e6b4d(0x20f)][_0x3e6b4d(0x20e)][_0x3e6b4d(0x21c)](_0x3e6b4d(0x20d));this[_0x3e6b4d(0x207)](_0x490f1e);}}[_0xe1a9e8(0x207)](_0x4d3c26){const _0x4ee6e2=_0xe1a9e8;if(!this[_0x4ee6e2(0x219)][_0x4ee6e2(0x218)](_0x4d3c26))throw new _0x41257a(_0x4ee6e2(0x22f),null,{'channelId':_0x4d3c26});this[_0x4ee6e2(0x21a)](_0x4d3c26)[_0x4ee6e2(0x247)](),this[_0x4ee6e2(0x219)][_0x4ee6e2(0x213)](_0x4d3c26);}async[_0xe1a9e8(0x251)](){const _0x3b37e5=_0xe1a9e8;for(const _0x3d1a5a of this[_0x3b37e5(0x219)][_0x3b37e5(0x204)]())await this[_0x3b37e5(0x235)](_0x3d1a5a);if(this[_0x3b37e5(0x20f)]instanceof _0x121e48){const _0x2480ef=this[_0x3b37e5(0x20f)][_0x3b37e5(0x20e)][_0x3b37e5(0x21c)](_0x3b37e5(0x20d)),_0x2ae86a=this[_0x3b37e5(0x20f)][_0x3b37e5(0x248)][_0x3b37e5(0x21c)](_0x11868a);_0x2ae86a[_0x3b37e5(0x240)](_0x2480ef);const _0x118a27=await this[_0x3b37e5(0x219)][_0x3b37e5(0x21c)](_0x2480ef)[_0x3b37e5(0x234)]();_0x2ae86a[_0x3b37e5(0x242)](_0x2480ef,_0x118a27);}}async[_0xe1a9e8(0x235)](_0x48cbe9){const _0x420513=_0xe1a9e8,{connection:_0x4f1746}=this[_0x420513(0x20f)][_0x420513(0x248)][_0x420513(0x21c)](_0x4aca91),_0x11bf02=this[_0x420513(0x20f)][_0x420513(0x248)][_0x420513(0x21c)](_0x420513(0x212)),_0x4fbc29=this[_0x420513(0x219)][_0x420513(0x21c)](_0x48cbe9),_0x48a530=await _0x4fbc29[_0x420513(0x22c)](_0x4f1746);await this[_0x420513(0x22e)](_0x48a530);const _0x27485b=new Set(Array[_0x420513(0x200)](_0x11bf02[_0x420513(0x236)]({'channelId':_0x48cbe9}),_0x1f0f00=>_0x1f0f00['id']));for(const _0x1b5b31 of _0x48a530)_0x1b5b31[_0x420513(0x23f)]||_0x27485b[_0x420513(0x213)](_0x1b5b31[_0x420513(0x226)]);for(const _0x129637 of _0x27485b)_0x11bf02[_0x420513(0x222)](_0x129637)[_0x420513(0x1ff)]({'isFromAdapter':!0x0});for(const _0x112f06 of _0x48a530){let _0x518742=_0x11bf02[_0x420513(0x222)](_0x112f06[_0x420513(0x226)]);const {commentThreadId:_0x149ac5,context:_0x1361af,attributes:_0x4e5e4e,resolvedBy:_0x390288,resolvedAt:_0x383a82,unlinkedAt:_0x1ea9fc,deletedAt:_0x5c2cd4}=_0x112f06;if(_0x5c2cd4)continue;_0x518742||(_0x518742=_0x11bf02[_0x420513(0x202)]({'channelId':_0x48cbe9,'threadId':_0x149ac5,'context':_0x1361af,'attributes':_0x4e5e4e||{},'resolvedBy':_0x390288,'resolvedAt':_0x383a82,'unlinkedAt':_0x1ea9fc,'isFromAdapter':!0x0}));const _0x49ca97=new Set(Array[_0x420513(0x200)](_0x518742[_0x420513(0x245)],_0x53370e=>_0x53370e['id']));for(const _0x4d7b1f of _0x112f06[_0x420513(0x245)])_0x49ca97[_0x420513(0x213)](_0x4d7b1f[_0x420513(0x23c)]);for(const _0x266c53 of _0x49ca97)_0x518742[_0x420513(0x24a)](_0x266c53)[_0x420513(0x1ff)]({'isFromAdapter':!0x0});for(const _0x2f2806 of _0x112f06[_0x420513(0x245)]){const _0x4e5688=_0x518742[_0x420513(0x24a)](_0x2f2806[_0x420513(0x23c)]);_0x4e5688?_0x4e5688[_0x420513(0x1ed)]!==_0x2f2806[_0x420513(0x1ed)]&&_0x4e5688[_0x420513(0x211)]({'content':_0x2f2806[_0x420513(0x1ed)],'isFromAdapter':!0x0}):_0x518742[_0x420513(0x22d)](Object[_0x420513(0x215)](S(_0x2f2806),{'isFromAdapter':!0x0}));}}}[_0xe1a9e8(0x21a)](_0x277349){const _0xc8c665=_0xe1a9e8;if(!this[_0xc8c665(0x219)][_0xc8c665(0x218)](_0x277349))throw new _0x41257a(_0xc8c665(0x22a),null,{'channelId':_0x277349});return this[_0xc8c665(0x219)][_0xc8c665(0x21c)](_0x277349);}async[_0xe1a9e8(0x22e)](_0x19337f){const _0x2b465a=_0xe1a9e8,_0x339d83=this[_0x2b465a(0x20f)][_0x2b465a(0x248)][_0x2b465a(0x21c)](_0x556585),{connection:_0x5c6d53}=this[_0x2b465a(0x20f)][_0x2b465a(0x248)][_0x2b465a(0x21c)](_0x4aca91),_0x4e1248=new Set();for(const {resolvedBy:_0x1f19f9,comments:_0x4b9251}of _0x19337f){_0x1f19f9&&!_0x339d83[_0x2b465a(0x229)](_0x1f19f9)&&_0x4e1248[_0x2b465a(0x228)](_0x1f19f9);for(const {userId:_0x3f7171}of _0x4b9251)_0x339d83[_0x2b465a(0x229)](_0x3f7171)||_0x4e1248[_0x2b465a(0x228)](_0x3f7171);}if(0x0===_0x4e1248[_0x2b465a(0x1ef)])return;const _0xa1a3cf=await _0x570541[_0x2b465a(0x1fb)](_0x5c6d53,Array[_0x2b465a(0x200)](_0x4e1248));for(const _0x3da6d5 of _0xa1a3cf)_0x339d83[_0x2b465a(0x229)](_0x3da6d5['id'])||_0x339d83[_0x2b465a(0x1f7)](_0x3da6d5);}}function _0x3f80(){const _0x11aac6=['addToReconnectionStack','requires','reopen','remove','from','catch','addCommentThread','off','keys','13131701HbXLXc','commentThreadResolved','_terminateService','createdAt','set','message','22150koRkml','removeComment','collaboration.channelId','config','context','4254132zxCPlQ','update','CommentsRepository','delete','code','assign','commentRemoved','commentThreadUpdated','has','_services','_getService','commentThreadRemoved','get','startsWith','init','cloud-services-internal-error:\x20Not\x20connected.','commentAdded','attributes','getCommentThread','4898085ejwLDo','21EOLiUQ','404','commentThreadId','commentThreadAdded','add','getUser','cloudservicescommentsadapter-service-not-exist','resolve','connect','addComment','_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','isOfficialPlugin','cloud-services-internal-error:\x20Request\x20timeout.','permissions','getConnectedSessions','_connectService','getCommentThreads','1307704dxgxTn','isPremiumPlugin','resolvedBy','userId','commentUpdated','commentId','4824468kFVWWF','mySessionId','deletedAt','unregister','destroy','register','pluginName','resolveCommentThread','comments','_setUpService','disconnect','plugins','Permissions','getComment','1FAROCT','sessionAdd:','1565782tDOLST','listenTo','4tLZUGi','map','reconnect','CommentsService','authorId','content','adapter','size','6687hXXEth','CloudServicesCommentsAdapter','resolvedAt','removeCommentThread','setPermissions','updateCommentThread','updateComment','addUser','reopenCommentThread','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','getMany'];_0x3f80=function(){return _0x11aac6;};return _0x3f80();}async function F(_0x47b6c7){const _0x7cad99=_0xe1a9e8;if(_0x7cad99(0x225)!==_0x47b6c7[_0x7cad99(0x214)])throw _0x47b6c7;}function _0x35d8(_0x4ff135,_0x289407){const _0x3f807a=_0x3f80();return _0x35d8=function(_0x35d8e6,_0x485ef4){_0x35d8e6=_0x35d8e6-0x1eb;let _0x106033=_0x3f807a[_0x35d8e6];return _0x106033;},_0x35d8(_0x4ff135,_0x289407);}function k(_0x113306){const _0xea3602=_0xe1a9e8;if((_0x3dd864=_0x113306)[_0xea3602(0x20a)][_0xea3602(0x21d)](_0xea3602(0x230))||_0x3dd864[_0xea3602(0x20a)][_0xea3602(0x21d)](_0xea3602(0x21f))||_0x3dd864[_0xea3602(0x20a)][_0xea3602(0x21d)](_0xea3602(0x232)))return new Promise(()=>{});var _0x3dd864;throw _0x113306;}function S(_0xb4118f){const _0x2e8466=_0xe1a9e8;return{'threadId':_0xb4118f[_0x2e8466(0x226)],'commentId':_0xb4118f[_0x2e8466(0x23c)],'content':_0xb4118f[_0x2e8466(0x1ed)],'createdAt':_0xb4118f[_0x2e8466(0x208)],'authorId':_0xb4118f[_0x2e8466(0x23a)],'attributes':_0xb4118f[_0x2e8466(0x221)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5785(){const _0x50cd0f=['8nulgoi','8kTlibh','collaboration.channelId','get','ready','2455260svRNIb','editor','init','10462662KCluxB','data','57977490OuJaMO','plugins','connected','Comments','isThreadsLoadingPaused','CommentsRepository','requires','RealTimeCollaborativeComments','listenTo','destroy','CommentsEditing','isOfficialPlugin','switchReadOnly','change:state','1979070mqOJYD','once','config','2635047TaHpvS','isPremiumPlugin','2Sgschs','pluginName','_terminateService','1143459DkHDwO','_setUpService','2374280VjaKZX'];_0x5785=function(){return _0x50cd0f;};return _0x5785();}const _0x3f6cfc=_0x9044;(function(_0x130876,_0x630852){const _0x5997e8=_0x9044,_0x410fdc=_0x130876();while(!![]){try{const _0xfad1fc=parseInt(_0x5997e8(0x1a9))/0x1*(-parseInt(_0x5997e8(0x1a6))/0x2)+-parseInt(_0x5997e8(0x18e))/0x3+-parseInt(_0x5997e8(0x18a))/0x4*(parseInt(_0x5997e8(0x1ab))/0x5)+-parseInt(_0x5997e8(0x1a1))/0x6+-parseInt(_0x5997e8(0x191))/0x7+parseInt(_0x5997e8(0x189))/0x8*(-parseInt(_0x5997e8(0x1a4))/0x9)+parseInt(_0x5997e8(0x193))/0xa;if(_0xfad1fc===_0x630852)break;else _0x410fdc['push'](_0x410fdc['shift']());}catch(_0x3402b7){_0x410fdc['push'](_0x410fdc['shift']());}}}(_0x5785,0xbbb60));import{Plugin as _0x2dafac}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3400e8}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x583643}from'./realtimecollaborativeediting.js';function _0x9044(_0x5ef216,_0x884ae8){const _0x57853d=_0x5785();return _0x9044=function(_0x9044ec,_0x182507){_0x9044ec=_0x9044ec-0x189;let _0x546fb9=_0x57853d[_0x9044ec];return _0x546fb9;},_0x9044(_0x5ef216,_0x884ae8);}import{WebSocketGateway as _0x4de2b5}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x2dafac{static get[_0x3f6cfc(0x199)](){const _0x1a1f3d=_0x3f6cfc;return[_0x1a1f3d(0x196),_0x3400e8,_0x583643,_0x4de2b5];}static get[_0x3f6cfc(0x1a7)](){const _0x1ba450=_0x3f6cfc;return _0x1ba450(0x19a);}static get[_0x3f6cfc(0x19e)](){return!0x0;}static get[_0x3f6cfc(0x1a5)](){return!0x0;}[_0x3f6cfc(0x190)](){const _0x4f0fd5=_0x3f6cfc,_0x2b9142=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x4de2b5),_0x548b67=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x4f0fd5(0x19d)),_0x5e88a8=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x3400e8);return this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x192)][_0x4f0fd5(0x1a2)](_0x4f0fd5(0x18d),()=>{const _0x2a54f6=_0x4f0fd5;this[_0x2a54f6(0x19b)](_0x2b9142,_0x2a54f6(0x1a0),(_0x4dba88,_0x57849f,_0xe3b397)=>{const _0x397550=_0x2a54f6;_0x548b67[_0x397550(0x197)]=_0x397550(0x195)!==_0xe3b397;});}),this[_0x4f0fd5(0x19b)](_0x2b9142,_0x4f0fd5(0x1a0),(_0x250c44,_0x36e063,_0x3d3bd2)=>{const _0x3919d7=_0x4f0fd5;this[_0x3919d7(0x18f)][_0x3919d7(0x194)][_0x3919d7(0x18c)](_0x3919d7(0x198))[_0x3919d7(0x19f)](_0x3919d7(0x195)!==_0x3d3bd2);}),_0x5e88a8[_0x4f0fd5(0x1aa)](this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x1a3)][_0x4f0fd5(0x18c)](_0x4f0fd5(0x18b)));}[_0x3f6cfc(0x19c)](){const _0x5edd9c=_0x3f6cfc;this[_0x5edd9c(0x18f)][_0x5edd9c(0x194)][_0x5edd9c(0x18c)](_0x3400e8)[_0x5edd9c(0x1a8)](this[_0x5edd9c(0x18f)][_0x5edd9c(0x1a3)][_0x5edd9c(0x18c)](_0x5edd9c(0x18b))),super[_0x5edd9c(0x19c)]();}}
23
+ const _0x2a8721=_0x5c1d;(function(_0x20022c,_0x3d8810){const _0x336df9=_0x5c1d,_0x2bd102=_0x20022c();while(!![]){try{const _0x44b661=-parseInt(_0x336df9(0x18b))/0x1+parseInt(_0x336df9(0x18f))/0x2+parseInt(_0x336df9(0x183))/0x3*(-parseInt(_0x336df9(0x171))/0x4)+parseInt(_0x336df9(0x175))/0x5+parseInt(_0x336df9(0x18d))/0x6*(-parseInt(_0x336df9(0x179))/0x7)+parseInt(_0x336df9(0x176))/0x8+parseInt(_0x336df9(0x173))/0x9;if(_0x44b661===_0x3d8810)break;else _0x2bd102['push'](_0x2bd102['shift']());}catch(_0x2333bf){_0x2bd102['push'](_0x2bd102['shift']());}}}(_0x5eb0,0x28fe4));import{Plugin as _0x42c821}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x552665}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5eb0(){const _0x1bc06e=['init','448090VPqRaM','1339536hyCuyP','plugins','_terminateService','41825sNhsYz','pluginName','data','connected','isPremiumPlugin','ready','_setUpService','editor','collaboration.channelId','isThreadsLoadingPaused','31959DxgpZR','isOfficialPlugin','switchReadOnly','CommentsRepository','Comments','once','config','listenTo','241612WPDnmj','change:state','162ivJDFG','destroy','345390BeVnQN','get','requires','RealTimeCollaborativeComments','116uuSMde','CommentsEditing','4050243rDnMjT'];_0x5eb0=function(){return _0x1bc06e;};return _0x5eb0();}import{RealTimeCollaborativeEditing as _0x39d689}from'./realtimecollaborativeediting.js';function _0x5c1d(_0x87de8f,_0x5aeaac){const _0x5eb00a=_0x5eb0();return _0x5c1d=function(_0x5c1d83,_0x2902bd){_0x5c1d83=_0x5c1d83-0x16e;let _0x5e6451=_0x5eb00a[_0x5c1d83];return _0x5e6451;},_0x5c1d(_0x87de8f,_0x5aeaac);}import{WebSocketGateway as _0x5d144d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x42c821{static get[_0x2a8721(0x16f)](){const _0x21b145=_0x2a8721;return[_0x21b145(0x187),_0x552665,_0x39d689,_0x5d144d];}static get[_0x2a8721(0x17a)](){const _0x14d87d=_0x2a8721;return _0x14d87d(0x170);}static get[_0x2a8721(0x184)](){return!0x0;}static get[_0x2a8721(0x17d)](){return!0x0;}[_0x2a8721(0x174)](){const _0x388f68=_0x2a8721,_0x388978=this[_0x388f68(0x180)][_0x388f68(0x177)][_0x388f68(0x16e)](_0x5d144d),_0x479eb1=this[_0x388f68(0x180)][_0x388f68(0x177)][_0x388f68(0x16e)](_0x388f68(0x172)),_0x498fdf=this[_0x388f68(0x180)][_0x388f68(0x177)][_0x388f68(0x16e)](_0x552665);return this[_0x388f68(0x180)][_0x388f68(0x17b)][_0x388f68(0x188)](_0x388f68(0x17e),()=>{const _0x508070=_0x388f68;this[_0x508070(0x18a)](_0x388978,_0x508070(0x18c),(_0x5b5071,_0x3a63a2,_0x13b1cf)=>{const _0x4d5388=_0x508070;_0x479eb1[_0x4d5388(0x182)]=_0x4d5388(0x17c)!==_0x13b1cf;});}),this[_0x388f68(0x18a)](_0x388978,_0x388f68(0x18c),(_0x343fbc,_0x1494f1,_0x12528f)=>{const _0x22c8f3=_0x388f68;this[_0x22c8f3(0x180)][_0x22c8f3(0x177)][_0x22c8f3(0x16e)](_0x22c8f3(0x186))[_0x22c8f3(0x185)](_0x22c8f3(0x17c)!==_0x12528f);}),_0x498fdf[_0x388f68(0x17f)](this[_0x388f68(0x180)][_0x388f68(0x189)][_0x388f68(0x16e)](_0x388f68(0x181)));}[_0x2a8721(0x18e)](){const _0x2d8366=_0x2a8721;this[_0x2d8366(0x180)][_0x2d8366(0x177)][_0x2d8366(0x16e)](_0x552665)[_0x2d8366(0x178)](this[_0x2d8366(0x180)][_0x2d8366(0x189)][_0x2d8366(0x16e)](_0x2d8366(0x181))),super[_0x2d8366(0x18e)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9b247a=_0x3497;(function(_0x13fd6d,_0x636681){const _0xf165b3=_0x3497,_0x471dba=_0x13fd6d();while(!![]){try{const _0x8ba4fe=parseInt(_0xf165b3(0x217))/0x1*(-parseInt(_0xf165b3(0x245))/0x2)+parseInt(_0xf165b3(0x24b))/0x3*(parseInt(_0xf165b3(0x181))/0x4)+-parseInt(_0xf165b3(0x223))/0x5*(-parseInt(_0xf165b3(0x199))/0x6)+-parseInt(_0xf165b3(0x184))/0x7*(-parseInt(_0xf165b3(0x1eb))/0x8)+parseInt(_0xf165b3(0x1ea))/0x9*(parseInt(_0xf165b3(0x1c3))/0xa)+parseInt(_0xf165b3(0x207))/0xb*(-parseInt(_0xf165b3(0x1f4))/0xc)+-parseInt(_0xf165b3(0x205))/0xd;if(_0x8ba4fe===_0x636681)break;else _0x471dba['push'](_0x471dba['shift']());}catch(_0x1536ee){_0x471dba['push'](_0x471dba['shift']());}}}(_0x1e26,0x9a49d));import{Plugin as _0x2bb38b,PendingActions as _0x37d0cb}from'ckeditor5/src/core.js';function _0x3497(_0x77e6f3,_0x15c653){const _0x1e26b4=_0x1e26();return _0x3497=function(_0x34972b,_0x512f09){_0x34972b=_0x34972b-0x155;let _0x3ad2fe=_0x1e26b4[_0x34972b];return _0x3ad2fe;},_0x3497(_0x77e6f3,_0x15c653);}import{CKEditorError as _0xdde06d,version as _0x2af53c,uid as _0x3cf278}from'ckeditor5/src/utils.js';import{Notification as _0x2fe3c3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x406b35,NoOperation as _0x2724dd,InsertOperation as _0xd28d92,MarkerOperation as _0x2fcc25,RootAttributeOperation as _0x19a0b2,OperationFactory as _0x2a2dea,History as _0xa3595c}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4f6702}from'./websocketgateway.js';import{Sessions as _0x1f4a5f}from'./sessions.js';function _0x1e26(){const _0x9f3b7c=['7dbgLtb','state','cloud-services-internal-error:\x20Request\x20timeout.','_compressor','requires','_handleSendingSelectionMarkers','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','toJSON','Permissions','fromJSON','multi-root-editor-root-attributes-no-root','return','addRootAttribute','_knownRootNames','realtimecollaborationclient-handleserverresponse','_operationToId','sessionId','_handleReconnectionError','_baseBufferDelay','root','384SjdCLT','code','size','batch','forEach','view','affectsData','rtc-offline','compress','high','has','PENDING_ACTION_SENDING_DATA','_handleExternalOperations','operationsReceived','wereChangesApplied','_knownOperations','_connectService','baseVersion','__className','isEnabled','_offset','_applyOperationsSet','permissions','startsWith','change:range','rootsAttributes','createRoot','targetPosition','unregister','_handleInitialConnectionData','_currentBufferDelay','editing','cs:removeUser','collaboration','_authorId','init','realtimecollaborationclient-init-non-existent-root','type','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.','_shouldSendUpdate','stop','disconnected','10Mveelr','config','loadRoot','finally','_ignoredOperations','clone','disconnect','isUndoneOperation','end','wasUndone','attributes','selection','CommentsOnly','newRange','destroy','sessionAdd:','currentDocumentSession','off','affectedSelectable','setIdForTheLastOperation','isReadOnly','createRange','model','directChange','enableReadOnlyMode','_bufferRootLoad','_lastSyncedOperationId','RealTimeCollaborationClient','sessionCreatedAt','reconnect','data','getConnectedSessions','suppressErrorInCollaboration','_document','setPermissions','addRoot','realtimecollaborationclient-error','enqueueChange','sendOperations','7401915YKXcmr','5424488QlYEBm','history','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_disconnectService','showWarning','catch','CollaborativeEditingService','_refreshUserSelectionMarkers','72fFGqBu','then','isPremiumPlugin','connected','_addKnownRoot','remove','editor','reconnection:\x20flushed\x20session','userId','collaboration.channelId','_sendBufferedOperationsDelayed','_isConnected','markers','getUser','set','metadata','decompress','5597293HoMiuk','_isDisconnection','920656ECiwkt','slice','serverHistory','_channelId','realtimecollaborationclient-init-service-internal-error','_saveOperationInBuffer','add','_isAttached','getDocumentDetails','change:_isPendingUpdate','roots','_disconnectionOperations','rootName','stopListening','register','addToReconnectionStack','39lTVbQv','bind','_initThrowingOnDataSet','_waitUntilSynced','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleServerResponse','_sendBufferedOperations','_initSessionsHandling','realtimecollaborationclient-init-session-connection-error','6755aodWqd','addUser','createPositionFromPath','realtimecollaborationclient-init-service-incorrect-server-operation','_clearPendingAction','differ','_isEditingAllowed','getOperations','start','_connectAfterSessionHasBeenFlushed','document','realtimecollaborationclient-sendbufferedoperations','rtc-destroyed','ready','InsertOperation','apply','_service','connect','pluginName','realtimecollaborationclient','lastOperationId','applyOperation','_fetchMissingUsers','plugins','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayId','disableReadOnlyMode','collaboration-missing-channelid','from','document:write','_handleReconnectionResponse','isOfficialPlugin','createUserMarkerOperations','cloudDocumentVersion','39174IpDHns','409','cloudServices.bundleVersion','_getOperationsFromInitData','_pendingAction','addOperation','19347nLKwaT','string','lastSyncVersion','removeFromReconnectionStack','includes','_isLoaded','lastDocumentSession','_updateServerHistory','_bufferedOperations','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.','Synchronization\x20issue','marker','realtimecollaborationclient-init-document-already-initialized','_loadRoot','_handleReceivedOperations','connection','reset','404','change:hasDomSelection','length','entries','_setUpDataInit','_operationIdentifier','getRoot','change:_isEditingAllowed','Notification','_hasSelectionChanged','get','_isPendingUpdate','offset','_isInit','locale','define','getIdOfTheLastOperation','initData','push','_lastServerVersion','keys','cloud-services-internal-error:\x20Not\x20connected.','listenTo','getMany','parse','real-time-collaboration','_setPendingAction','$root','isDocumentOperation','_hasSynchronizationProblem','message','_decompressOperations','getOperationAuthor','insert','_compressOperations','channelSessions','createdAt','filter','version','mySessionId','error','createPositionAt','map','_crash','_shouldSendSelectionUpdate','move','460FMEikE','_getAffectedRoot','path'];_0x1e26=function(){return _0x9f3b7c;};return _0x1e26();}import{UserMarkers as _0x215b9f}from'./usermarkers.js';import{getTranslation as _0x1dd505}from'../common-translations.js';import{Compressor as _0x40395e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5cac44}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x43d45a,CollaborativeEditingService as _0x5e6a2f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x2bb38b{static [_0x9b247a(0x1f2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5e6a2f)());[_0x9b247a(0x1ad)];[_0x9b247a(0x195)];[_0x9b247a(0x209)];[_0x9b247a(0x20a)];[_0x9b247a(0x233)];[_0x9b247a(0x1e4)];[_0x9b247a(0x187)];[_0x9b247a(0x253)];[_0x9b247a(0x1a8)];[_0x9b247a(0x192)];[_0x9b247a(0x249)];[_0x9b247a(0x15c)];[_0x9b247a(0x23c)];[_0x9b247a(0x197)];[_0x9b247a(0x1b7)];[_0x9b247a(0x1dd)];[_0x9b247a(0x212)];[_0x9b247a(0x158)];static get[_0x9b247a(0x188)](){return[_0x4f6702,_0x1f4a5f,_0x215b9f,_0x37d0cb,_0x5cac44,_0x2fe3c3];}static get[_0x9b247a(0x235)](){const _0x2fd3ae=_0x9b247a;return _0x2fd3ae(0x1de);}static get[_0x9b247a(0x242)](){return!0x0;}static get[_0x9b247a(0x1f6)](){return!0x0;}get[_0x9b247a(0x244)](){const _0x14471=_0x9b247a;return this[_0x14471(0x166)]+this[_0x14471(0x1ad)];}get[_0x9b247a(0x166)](){const _0x3e9223=_0x9b247a;return this[_0x3e9223(0x209)][_0x3e9223(0x179)]-this[_0x3e9223(0x1ad)];}get[_0x9b247a(0x24d)](){const _0x405237=_0x9b247a,_0x48b615=this[_0x405237(0x209)][_0x405237(0x22a)]();for(let _0x528b7d=_0x48b615[_0x405237(0x155)]-0x1;_0x528b7d>=0x0;_0x528b7d--){const _0x36fa36=_0x48b615[_0x528b7d];if(!this[_0x405237(0x212)][_0x405237(0x1a3)](_0x36fa36))return _0x36fa36[_0x405237(0x1aa)]+0x1-this[_0x405237(0x1ad)];}return 0x0;}constructor(_0x14d096){const _0x424c1d=_0x9b247a;if(super(_0x14d096),this[_0x424c1d(0x1ad)]=0x0,this[_0x424c1d(0x195)]=null,this[_0x424c1d(0x209)]=new _0xa3595c(),this[_0x424c1d(0x1fa)][_0x424c1d(0x1c4)][_0x424c1d(0x162)](_0x424c1d(0x1ba),{}),this[_0x424c1d(0x20a)]=this[_0x424c1d(0x1fa)][_0x424c1d(0x1c4)][_0x424c1d(0x15d)](_0x424c1d(0x1fd)),!this[_0x424c1d(0x20a)])throw new _0xdde06d(_0x424c1d(0x23e),this);const _0x2c50ae=_0x14d096[_0x424c1d(0x1c4)][_0x424c1d(0x15d)](_0x424c1d(0x247))||_0x2af53c;this[_0x424c1d(0x233)]=new RealTimeCollaborationClient[(_0x424c1d(0x1f2))](_0x2c50ae,this[_0x424c1d(0x20a)]),this[_0x424c1d(0x1e4)]=this[_0x424c1d(0x1fa)][_0x424c1d(0x1d9)][_0x424c1d(0x22d)],this[_0x424c1d(0x187)]=new _0x40395e(),this[_0x424c1d(0x253)]=[],this[_0x424c1d(0x1a8)]=new WeakSet(),this[_0x424c1d(0x192)]=new Set(),this[_0x424c1d(0x202)](_0x424c1d(0x15e),!0x1),this[_0x424c1d(0x202)](_0x424c1d(0x170),!0x1),this[_0x424c1d(0x249)]=null,this[_0x424c1d(0x15c)]=!0x1,this[_0x424c1d(0x23c)]=null,this[_0x424c1d(0x197)]=0x12c,this[_0x424c1d(0x1b7)]=this[_0x424c1d(0x197)],this[_0x424c1d(0x1dd)]=null,this[_0x424c1d(0x212)]=new WeakSet(),this[_0x424c1d(0x158)]=new OperationIdentifier(this[_0x424c1d(0x212)]);}[_0x9b247a(0x1bc)](){const _0x10bad2=_0x9b247a,_0x133de8=this[_0x10bad2(0x1fa)],_0x49e581=_0x133de8[_0x10bad2(0x23a)][_0x10bad2(0x15d)](_0x5cac44),_0x47ac64=_0x133de8[_0x10bad2(0x23a)][_0x10bad2(0x15d)](_0x4f6702);this[_0x10bad2(0x169)](_0x49e581,_0x10bad2(0x173),(_0x290a8e,_0x49734d)=>{const _0x6bd73d=_0x10bad2,_0x3a9567=_0x49734d[0x0];_0x3a9567[_0x6bd73d(0x1bb)]&&(_0x290a8e[_0x6bd73d(0x190)]=_0x49e581[_0x6bd73d(0x201)](_0x3a9567[_0x6bd73d(0x1bb)]),_0x290a8e[_0x6bd73d(0x1c1)]()),null===_0x3a9567[_0x6bd73d(0x1bb)]&&(_0x290a8e[_0x6bd73d(0x190)]=null,_0x290a8e[_0x6bd73d(0x1c1)]());},{'priority':_0x10bad2(0x1a2)}),this[_0x10bad2(0x169)](_0x133de8[_0x10bad2(0x1d9)][_0x10bad2(0x22d)][_0x10bad2(0x1ce)],_0x10bad2(0x1b1),(_0x572a26,_0x1ca9f7)=>{const _0xbceaa2=_0x10bad2;_0x1ca9f7[_0xbceaa2(0x1da)]&&this[_0xbceaa2(0x1f3)]();}),this[_0x10bad2(0x169)](_0x133de8[_0x10bad2(0x1b8)][_0x10bad2(0x19e)],_0x10bad2(0x25d),()=>{const _0x5b1067=_0x10bad2;this[_0x5b1067(0x1f3)]();}),this[_0x10bad2(0x219)](),_0x133de8[_0x10bad2(0x1d9)]['on'](_0x10bad2(0x238),(_0x2f9d4c,_0x371f39)=>{const _0x334766=_0x10bad2,_0x5bcf68=_0x371f39[0x0];_0x5bcf68[_0x334766(0x16f)]&&(this[_0x334766(0x20c)](_0x5bcf68),this[_0x334766(0x1c0)]()&&this[_0x334766(0x1fe)]());}),this[_0x10bad2(0x157)](),this[_0x10bad2(0x218)](_0x10bad2(0x229))['to'](_0x47ac64,_0x10bad2(0x185),this,_0x10bad2(0x170),(_0x559b7b,_0xeba375)=>_0x10bad2(0x1f7)===_0x559b7b&&!_0xeba375),this['on'](_0x10bad2(0x15a),()=>{const _0x927642=_0x10bad2;this[_0x927642(0x229)]?_0x133de8[_0x927642(0x23d)](_0x927642(0x1a0)):_0x133de8[_0x927642(0x1db)](_0x927642(0x1a0));}),this[_0x10bad2(0x229)]?_0x133de8[_0x10bad2(0x23d)](_0x10bad2(0x1a0)):_0x133de8[_0x10bad2(0x1db)](_0x10bad2(0x1a0)),this[_0x10bad2(0x202)](_0x10bad2(0x1ff),!0x1);}async[_0x9b247a(0x1e0)](){const _0x1db26d=_0x9b247a,_0xf3ef41=this[_0x1db26d(0x1fa)][_0x1db26d(0x23a)][_0x1db26d(0x15d)](_0x1f4a5f),_0x485409=this[_0x1db26d(0x1fa)][_0x1db26d(0x23a)][_0x1db26d(0x15d)](_0x4f6702);try{this[_0x1db26d(0x15e)]=!0x0,_0xf3ef41[_0x1db26d(0x1b5)](this[_0x1db26d(0x20a)]);const _0x1a9a3e=await this[_0x1db26d(0x233)][_0x1db26d(0x1e0)](_0x485409[_0x1db26d(0x25a)],this[_0x1db26d(0x24d)]);await this[_0x1db26d(0x241)](_0x1a9a3e)&&(this[_0x1db26d(0x15e)]=!0x1,this[_0x1db26d(0x227)]());const _0x11aaaa=await this[_0x1db26d(0x233)][_0x1db26d(0x1e2)]();_0xf3ef41[_0x1db26d(0x215)](this[_0x1db26d(0x20a)],_0x11aaaa),this[_0x1db26d(0x189)](),this[_0x1db26d(0x1ff)]=!0x0;}catch(_0x271629){if(function(_0x48b230){const _0xa8045b=_0x1db26d;return _0xa8045b(0x25c)===_0x48b230[_0xa8045b(0x19a)];}(_0x271629)&&this[_0x1db26d(0x195)])await this[_0x1db26d(0x22c)]();else{if(function(_0x4b4d9d){const _0x438aab=_0x1db26d;return _0x438aab(0x246)===_0x4b4d9d[_0x438aab(0x19a)];}(_0x271629)){const _0x3054d0=_0x1dd505(this[_0x1db26d(0x1fa)][_0x1db26d(0x161)],_0x1db26d(0x21c));this[_0x1db26d(0x196)](_0x3054d0);}else{if(!(_0x271629 instanceof ReconnectionError))throw _0x271629;this[_0x1db26d(0x196)]();}}}}[_0x9b247a(0x1d1)](){const _0x51e502=_0x9b247a,_0x3883fb=this[_0x51e502(0x1fa)][_0x51e502(0x23a)][_0x51e502(0x15d)](_0x4f6702),_0x52d175=this[_0x51e502(0x1fa)][_0x51e502(0x23a)][_0x51e502(0x15d)](_0x1f4a5f);this[_0x51e502(0x1fa)][_0x51e502(0x1db)](_0x51e502(0x22f)),_0x52d175[_0x51e502(0x176)][_0x51e502(0x1a3)](this[_0x51e502(0x20a)])&&_0x52d175[_0x51e502(0x1b5)](this[_0x51e502(0x20a)]),_0x3883fb[_0x51e502(0x24e)](this),this[_0x51e502(0x1ef)](),super[_0x51e502(0x1d1)]();}async[_0x9b247a(0x241)](_0x49fc54){const _0x58538a=_0x9b247a;if(this[_0x58538a(0x195)]!==_0x49fc54[_0x58538a(0x195)]&&this[_0x58538a(0x1dd)]!==_0x49fc54[_0x58538a(0x237)])throw new ReconnectionError();return this[_0x58538a(0x195)]=_0x49fc54[_0x58538a(0x195)],this[_0x58538a(0x21f)]([],{..._0x49fc54,'wereChangesApplied':!0x1,'data':_0x49fc54[_0x58538a(0x1e1)]},_0x58538a(0x1e0));}async[_0x9b247a(0x1a9)](_0x4033f2,_0x57270f=!0x1){const _0x1b20f3=_0x9b247a,{connection:_0x1ef155}=this[_0x1b20f3(0x1fa)][_0x1b20f3(0x23a)][_0x1b20f3(0x15d)](_0x4f6702);RealTimeCollaborationClient[_0x1b20f3(0x1f2)][_0x1b20f3(0x1e2)](_0x1ef155,this[_0x1b20f3(0x20a)])[_0x1b20f3(0x1f5)](_0x38ea06=>this[_0x1b20f3(0x221)](_0x38ea06))[_0x1b20f3(0x1f1)](_0x194382=>{const _0x19520e=_0x1b20f3;this[_0x19520e(0x17e)](_0x19520e(0x222),_0x194382);}),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x1a6),this[_0x1b20f3(0x259)][_0x1b20f3(0x218)](this)),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x17b),(_0x1bd6ae,_0x5bc245)=>{const _0x1e6911=_0x1b20f3;this[_0x1e6911(0x17e)](_0x1e6911(0x20b),_0x5bc245);}),this[_0x1b20f3(0x169)](this[_0x1b20f3(0x233)],_0x1b20f3(0x1c2),()=>{const _0x9c9d26=_0x1b20f3;this[_0x9c9d26(0x1ff)]=!0x1;});const _0x2454fe=this[_0x1b20f3(0x158)][_0x1b20f3(0x163)](_0x4033f2);this[_0x1b20f3(0x15e)]=!0x0;const _0xb33023=await this[_0x1b20f3(0x233)][_0x1b20f3(0x234)](_0x1ef155,this[_0x1b20f3(0x175)](_0x4033f2),_0x2454fe);if(this[_0x1b20f3(0x195)]=_0xb33023[_0x1b20f3(0x195)],_0x57270f){if(!_0xb33023[_0x1b20f3(0x1a7)])return void this[_0x1b20f3(0x196)]();this[_0x1b20f3(0x15e)]=!0x1,this[_0x1b20f3(0x227)](),this[_0x1b20f3(0x209)][_0x1b20f3(0x25b)](),this[_0x1b20f3(0x1ad)]=_0xb33023[_0x1b20f3(0x15f)],this[_0x1b20f3(0x209)][_0x1b20f3(0x179)]=this[_0x1b20f3(0x1ad)],await this[_0x1b20f3(0x21f)](_0x4033f2,_0xb33023,_0x1b20f3(0x1fb));}else await this[_0x1b20f3(0x1b6)](_0xb33023,_0x4033f2);this[_0x1b20f3(0x189)](),this[_0x1b20f3(0x1ff)]=!0x0;}[_0x9b247a(0x189)](){const _0x5c164a=_0x9b247a,_0x1cdb39=this[_0x5c164a(0x1fa)][_0x5c164a(0x23a)][_0x5c164a(0x15d)](_0x1f4a5f),_0x29e6c6=this[_0x5c164a(0x1fa)][_0x5c164a(0x23a)][_0x5c164a(0x15d)](_0x215b9f),_0x5862f6=_0x1cdb39[_0x5c164a(0x176)][_0x5c164a(0x15d)](this[_0x5c164a(0x20a)]);_0x5862f6&&_0x5862f6[_0x5c164a(0x155)]>0x1?_0x29e6c6[_0x5c164a(0x243)]():this[_0x5c164a(0x169)](_0x1cdb39,_0x5c164a(0x1d2)+this[_0x5c164a(0x20a)],()=>{const _0x195e6a=_0x5c164a;0x2===_0x1cdb39[_0x195e6a(0x176)][_0x195e6a(0x15d)](this[_0x195e6a(0x20a)])[_0x195e6a(0x155)]&&_0x29e6c6[_0x195e6a(0x243)]();});}async[_0x9b247a(0x259)](_0x1dbcd2,_0x3e6fb4,_0x5d7bf3,_0x3b347e){const _0x55a92a=_0x9b247a;if(!this[_0x55a92a(0x15e)]&&this[_0x55a92a(0x1e4)][_0x55a92a(0x179)]==_0x3e6fb4){const _0x4cdaa4=this[_0x55a92a(0x172)](_0x5d7bf3,_0x3b347e);await this[_0x55a92a(0x239)](_0x4cdaa4),this[_0x55a92a(0x1a5)](_0x4cdaa4,_0x3e6fb4,_0x5d7bf3[_0x55a92a(0x237)])||this[_0x55a92a(0x17e)](_0x55a92a(0x226));}}async[_0x9b247a(0x22c)](){const _0x583eae=_0x9b247a;this[_0x583eae(0x1ef)]();const {locale:_0x3838e2}=this[_0x583eae(0x1fa)];let _0x55ec87;try{_0x55ec87=await this[_0x583eae(0x233)][_0x583eae(0x20f)]();}catch{const _0x581006=_0x1dd505(_0x3838e2,_0x583eae(0x21e));return void this[_0x583eae(0x196)](_0x581006);}const _0xbb5042=_0x55ec87[_0x583eae(0x1d3)]||_0x55ec87[_0x583eae(0x251)];if(this[_0x583eae(0x1dd)]!==_0xbb5042[_0x583eae(0x237)]){const _0x1aa662=_0x1dd505(_0x3838e2,_0x583eae(0x1bf));return void this[_0x583eae(0x196)](_0x1aa662);}await this[_0x583eae(0x1a9)](this[_0x583eae(0x1fa)][_0x583eae(0x1d9)][_0x583eae(0x22d)][_0x583eae(0x1ec)][_0x583eae(0x22a)](),!0x0);}[_0x9b247a(0x1ef)](){const _0x2f7051=_0x9b247a;this[_0x2f7051(0x233)][_0x2f7051(0x1c9)](),this[_0x2f7051(0x253)]=[],clearTimeout(this[_0x2f7051(0x23c)]),this[_0x2f7051(0x214)](this[_0x2f7051(0x233)]);}[_0x9b247a(0x221)](_0xb88bb){const _0x351a45=_0x9b247a,_0x39ff88=this[_0x351a45(0x1fa)][_0x351a45(0x23a)][_0x351a45(0x15d)](_0x1f4a5f);this[_0x351a45(0x169)](_0x39ff88,_0x351a45(0x1d2)+this[_0x351a45(0x20a)],(_0x1f51f7,{session:_0x3defaf})=>{const _0x377eb6=_0x351a45;if(_0x3defaf['id']===_0x39ff88[_0x377eb6(0x17a)]){_0x1f51f7[_0x377eb6(0x1d4)]();const _0x550972=this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x1a3)](_0x377eb6(0x1cf))&&this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x15d)](_0x377eb6(0x1cf));let _0x10c0b=_0x3defaf[_0x377eb6(0x1af)];_0x550972&&_0x550972[_0x377eb6(0x1ac)]&&(_0x10c0b=_0x10c0b[_0x377eb6(0x178)](_0x32c5f5=>_0x377eb6(0x240)!==_0x32c5f5)),this[_0x377eb6(0x1fa)][_0x377eb6(0x23a)][_0x377eb6(0x15d)](_0x377eb6(0x18d))[_0x377eb6(0x1e5)](_0x10c0b,this[_0x377eb6(0x20a)]);}}),_0x39ff88[_0x351a45(0x215)](this[_0x351a45(0x20a)],_0xb88bb);}[_0x9b247a(0x219)](){const _0x3ab9f4=_0x9b247a,_0x4498f9=this[_0x3ab9f4(0x1fa)][_0x3ab9f4(0x1e1)][_0x3ab9f4(0x202)];this[_0x3ab9f4(0x1fa)][_0x3ab9f4(0x1e1)][_0x3ab9f4(0x202)]=(..._0x49e95e)=>{const _0x35bfd8=_0x3ab9f4;if(!_0x49e95e[_0x49e95e[_0x35bfd8(0x155)]-0x1][_0x35bfd8(0x1e3)])throw new _0xdde06d(_0x35bfd8(0x18b),this);_0x4498f9[_0x35bfd8(0x232)](this[_0x35bfd8(0x1fa)][_0x35bfd8(0x1e1)],_0x49e95e);};}[_0x9b247a(0x157)](){const _0x5b18ff=_0x9b247a;this[_0x5b18ff(0x1fa)][_0x5b18ff(0x1e1)]['on'](_0x5b18ff(0x1bc),(_0x3d8189,[_0x487f36])=>{const _0x4fd6b2=_0x5b18ff;if(this[_0x4fd6b2(0x1e4)][_0x4fd6b2(0x179)])throw new _0xdde06d(_0x4fd6b2(0x257),this);_0x3d8189[_0x4fd6b2(0x1c1)](),this[_0x4fd6b2(0x16d)]();const _0x9a95e3=this[_0x4fd6b2(0x1fa)][_0x4fd6b2(0x1c4)][_0x4fd6b2(0x15d)](_0x4fd6b2(0x1b2)),_0x566fbe=this[_0x4fd6b2(0x248)](_0x487f36,_0x9a95e3);0x0==_0x566fbe[_0x4fd6b2(0x155)]&&_0x566fbe[_0x4fd6b2(0x165)](new _0x2724dd(0x0)),_0x3d8189[_0x4fd6b2(0x190)]=this[_0x4fd6b2(0x1a9)](_0x566fbe)[_0x4fd6b2(0x1f5)](()=>{const _0x4ef3c2=_0x4fd6b2;this[_0x4ef3c2(0x1fa)][_0x4ef3c2(0x23a)][_0x4ef3c2(0x15d)](_0x4f6702)[_0x4ef3c2(0x216)](this),this[_0x4ef3c2(0x1fa)][_0x4ef3c2(0x1e1)][_0x4ef3c2(0x21b)](_0x4ef3c2(0x230));})[_0x4fd6b2(0x1f1)](_0x21eb79=>this[_0x4fd6b2(0x17e)](_0x4fd6b2(0x23b),_0x21eb79))[_0x4fd6b2(0x1c6)](()=>this[_0x4fd6b2(0x227)]());},{'priority':_0x5b18ff(0x1a2)}),this[_0x5b18ff(0x1fa)]['on'](_0x5b18ff(0x1c5),async(_0x14741c,[_0x4264c7,_0x1839fa])=>{const _0x2fef13=_0x5b18ff;_0x14741c[_0x2fef13(0x1c1)]();const _0x33c32b=this[_0x2fef13(0x1fa)][_0x2fef13(0x1d9)][_0x2fef13(0x22d)][_0x2fef13(0x159)](_0x4264c7);if(!this[_0x2fef13(0x192)][_0x2fef13(0x1a3)](_0x4264c7)){const _0x120565=_0x1839fa&&_0x1839fa[_0x2fef13(0x1e1)]?_0x1839fa[_0x2fef13(0x1e1)]:'',_0x2b4258=_0x1839fa&&_0x1839fa[_0x2fef13(0x1cd)]?_0x1839fa[_0x2fef13(0x1cd)]:{};await this[_0x2fef13(0x258)](_0x4264c7,_0x120565,_0x2b4258);}this[_0x2fef13(0x1fa)][_0x2fef13(0x1d9)][_0x2fef13(0x1e8)]({'isUndoable':!0x1},()=>{const _0x1c886f=_0x2fef13;_0x33c32b[_0x1c886f(0x250)]=!0x0,this[_0x1c886f(0x1fa)][_0x1c886f(0x1d9)][_0x1c886f(0x22d)][_0x1c886f(0x228)][_0x1c886f(0x1dc)](_0x33c32b);});},{'priority':_0x5b18ff(0x1a2)});}async[_0x9b247a(0x239)](_0x45b3a2){const _0x3e9773=_0x9b247a,_0x53f6a4=this[_0x3e9773(0x1fa)][_0x3e9773(0x23a)][_0x3e9773(0x15d)](_0x5cac44),{connection:_0x5843be}=this[_0x3e9773(0x1fa)][_0x3e9773(0x23a)][_0x3e9773(0x15d)](_0x4f6702),_0x1059ba=new Set();for(const _0x456a21 of _0x45b3a2){const _0xe070ed=_0x456a21[_0x3e9773(0x1bb)];_0xe070ed&&!_0x53f6a4[_0x3e9773(0x201)](_0xe070ed)&&_0x1059ba[_0x3e9773(0x20d)](_0xe070ed);}if(0x0===_0x1059ba[_0x3e9773(0x19b)])return;const _0x412d6b=await _0x43d45a[_0x3e9773(0x16a)](_0x5843be,Array[_0x3e9773(0x23f)](_0x1059ba));for(const _0x4c0597 of _0x412d6b)_0x53f6a4[_0x3e9773(0x201)](_0x4c0597['id'])||_0x53f6a4[_0x3e9773(0x224)](_0x4c0597);}[_0x9b247a(0x248)](_0x5a08b0,_0x3698f5={}){const _0x45fa98=_0x9b247a,_0x3bfe40=this[_0x45fa98(0x1fa)][_0x45fa98(0x1d9)],_0x11db48=[];let _0x30c8e7=0x0;const _0x2e6f23=_0x45fa98(0x24c)==typeof _0x5a08b0?{'main':_0x5a08b0}:_0x5a08b0;for(const _0x549108 of Object[_0x45fa98(0x167)](_0x2e6f23)){if(!this[_0x45fa98(0x1e4)][_0x45fa98(0x211)][_0x45fa98(0x1a3)](_0x549108))throw new _0xdde06d(_0x45fa98(0x1bd),this);const _0x3bf6f1=this[_0x45fa98(0x1fa)][_0x45fa98(0x1e1)][_0x45fa98(0x16b)](_0x2e6f23[_0x549108]),_0x358ba8=this[_0x45fa98(0x1e4)][_0x45fa98(0x159)](_0x549108),_0x41e29e=new _0xd28d92(_0x3bfe40[_0x45fa98(0x17c)](_0x358ba8,0x0),_0x3bf6f1,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x41e29e);for(const [_0x488ee4,_0x49b591]of _0x3bf6f1[_0x45fa98(0x200)]){const _0x18e780=_0x3bfe40[_0x45fa98(0x1d8)](_0x3bfe40[_0x45fa98(0x225)](_0x358ba8,_0x49b591[_0x45fa98(0x22b)][_0x45fa98(0x183)][_0x45fa98(0x208)]()),_0x3bfe40[_0x45fa98(0x225)](_0x358ba8,_0x49b591[_0x45fa98(0x1cb)][_0x45fa98(0x183)][_0x45fa98(0x208)]())),_0x1c82b9=new _0x2fcc25(_0x488ee4,null,_0x18e780,_0x3bfe40[_0x45fa98(0x200)],!0x0,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x1c82b9);}}if(_0x3698f5)for(const [_0x5e4915,_0x5ea569]of Object[_0x45fa98(0x156)](_0x3698f5)){const _0x500b55=_0x3bfe40[_0x45fa98(0x22d)][_0x45fa98(0x159)](_0x5e4915);if(!_0x500b55)throw new _0xdde06d(_0x45fa98(0x18f),null);for(const [_0x1d8395,_0x289c7e]of Object[_0x45fa98(0x156)](_0x5ea569))if(null!==_0x289c7e){const _0x4899dc=new _0x19a0b2(_0x500b55,_0x1d8395,null,_0x289c7e,_0x30c8e7++);_0x11db48[_0x45fa98(0x165)](_0x4899dc);}}return _0x11db48;}async[_0x9b247a(0x258)](_0x245398,_0x268f2e,_0x43dcfb){const _0x2995e2=_0x9b247a;this[_0x2995e2(0x248)]({[_0x245398]:_0x268f2e},{[_0x245398]:_0x43dcfb})[_0x2995e2(0x19d)]((_0x5a2af7,_0x856d6c)=>{const _0x23d33e=_0x2995e2;_0x5a2af7[_0x23d33e(0x1aa)]=this[_0x23d33e(0x1e4)][_0x23d33e(0x179)]+_0x856d6c,_0x5a2af7[_0x23d33e(0x160)]=!0x0,this[_0x23d33e(0x20c)](_0x5a2af7);}),this[_0x2995e2(0x1fe)](),await this[_0x2995e2(0x21a)]();}async[_0x9b247a(0x1b6)](_0x13454f,_0x5ccd0b){const _0x4f9f4f=_0x9b247a;let _0x38030c;this[_0x4f9f4f(0x1ad)]=_0x13454f[_0x4f9f4f(0x15f)];const _0xbda526=_0x13454f[_0x4f9f4f(0x1a7)]&&!_0x13454f[_0x4f9f4f(0x164)],_0x1d4221=_0xbda526?0x0:_0x13454f[_0x4f9f4f(0x1e1)][_0x4f9f4f(0x1aa)];if(_0x5ccd0b[_0x4f9f4f(0x19d)](_0x274c09=>{const _0x53fcf6=_0x4f9f4f;_0x274c09[_0x53fcf6(0x160)]=!0x0,_0x274c09[_0x53fcf6(0x177)]=_0x13454f[_0x53fcf6(0x1df)],_0x274c09[_0x53fcf6(0x1bb)]=null;}),_0xbda526)_0x38030c=_0x5ccd0b,this[_0x4f9f4f(0x1ae)](_0x38030c,_0xbda526);else{if(_0x13454f[_0x4f9f4f(0x164)]){const _0x568e5a=this[_0x4f9f4f(0x248)](_0x13454f[_0x4f9f4f(0x164)]);this[_0x4f9f4f(0x1e4)][_0x4f9f4f(0x1ec)][_0x4f9f4f(0x179)]=-_0x568e5a[_0x4f9f4f(0x155)],_0x568e5a[_0x4f9f4f(0x19d)](_0x48ebe3=>{const _0x429846=_0x4f9f4f;_0x48ebe3[_0x429846(0x1aa)]-=_0x568e5a[_0x429846(0x155)],_0x48ebe3[_0x429846(0x177)]=_0x13454f[_0x429846(0x1df)],_0x48ebe3[_0x429846(0x160)]=!0x0,_0x48ebe3[_0x429846(0x1bb)]=null;}),this[_0x4f9f4f(0x1ae)](_0x568e5a,!0x0),this[_0x4f9f4f(0x209)][_0x4f9f4f(0x179)]=-_0x568e5a[_0x4f9f4f(0x155)]+this[_0x4f9f4f(0x1ad)],this[_0x4f9f4f(0x252)](_0x568e5a);}this[_0x4f9f4f(0x1e4)][_0x4f9f4f(0x1ec)][_0x4f9f4f(0x179)]=_0x1d4221,_0x38030c=this[_0x4f9f4f(0x172)](_0x13454f[_0x4f9f4f(0x1e1)],_0x13454f[_0x4f9f4f(0x203)]),await this[_0x4f9f4f(0x239)](_0x38030c),this[_0x4f9f4f(0x1ae)](_0x38030c,_0xbda526);}_0x13454f[_0x4f9f4f(0x237)]&&(this[_0x4f9f4f(0x158)][_0x4f9f4f(0x1d6)](_0x38030c,_0x13454f[_0x4f9f4f(0x237)]),this[_0x4f9f4f(0x1dd)]=_0x13454f[_0x4f9f4f(0x237)]),this[_0x4f9f4f(0x209)][_0x4f9f4f(0x179)]=_0x1d4221+this[_0x4f9f4f(0x1ad)],this[_0x4f9f4f(0x252)](_0x38030c),_0x5ccd0b[_0x4f9f4f(0x178)](_0x184780=>{const _0x1229b4=_0x4f9f4f,_0x22ceb6=this[_0x1229b4(0x182)](_0x184780);return _0x22ceb6&&!this[_0x1229b4(0x192)][_0x1229b4(0x1a3)](_0x22ceb6);})[_0x4f9f4f(0x19d)]((_0x314b00,_0x536bf4)=>{const _0x18de45=_0x4f9f4f;_0x314b00[_0x18de45(0x1aa)]=this[_0x18de45(0x1e4)][_0x18de45(0x179)]+_0x536bf4,this[_0x18de45(0x20c)](_0x314b00);}),this[_0x4f9f4f(0x1c0)]()?(this[_0x4f9f4f(0x1b7)]=0x0,this[_0x4f9f4f(0x1fe)](!0x0),await this[_0x4f9f4f(0x21a)]()):(this[_0x4f9f4f(0x15e)]=!0x1,this[_0x4f9f4f(0x227)]());}[_0x9b247a(0x17e)](_0x54659b,_0x28360e){const _0x22adfb=_0x9b247a,_0x4298dd=_0x28360e&&_0x28360e[_0x22adfb(0x171)];if(_0x4298dd&&_0x4298dd[_0x22adfb(0x1b0)](_0x22adfb(0x236)))throw _0x28360e;const _0x5838e0=this[_0x22adfb(0x1fa)][_0x22adfb(0x23a)][_0x22adfb(0x15d)](_0x4f6702);throw this[_0x22adfb(0x15e)]=!0x0,_0x5838e0[_0x22adfb(0x1c9)](),this[_0x22adfb(0x1fa)][_0x22adfb(0x1db)](_0x22adfb(0x1e7)),new _0xdde06d(_0x54659b,this[_0x22adfb(0x1fa)],_0x4298dd?{'originalError':_0x4298dd}:void 0x0);}[_0x9b247a(0x20c)](_0x373abd){const _0x3886b7=_0x9b247a;this[_0x3886b7(0x1a8)][_0x3886b7(0x1a3)](_0x373abd)||(this[_0x3886b7(0x1a8)][_0x3886b7(0x20d)](_0x373abd),this[_0x3886b7(0x253)][_0x3886b7(0x165)](_0x373abd),this[_0x3886b7(0x249)]||_0x3886b7(0x256)==_0x373abd[_0x3886b7(0x1be)]&&!_0x373abd[_0x3886b7(0x19f)]||this[_0x3886b7(0x16d)]());}[_0x9b247a(0x1fe)](_0xc838c0=!0x1){const _0x3d52b1=_0x9b247a;!_0xc838c0&&this[_0x3d52b1(0x15e)]||(this[_0x3d52b1(0x15e)]=!0x0,clearTimeout(this[_0x3d52b1(0x23c)]),this[_0x3d52b1(0x23c)]=setTimeout(()=>{const _0x1996c6=_0x3d52b1;this[_0x1996c6(0x220)]()[_0x1996c6(0x1f5)](_0x4c37e9=>{const _0x2bfbdf=_0x1996c6;_0x4c37e9&&(this[_0x2bfbdf(0x227)](),this[_0x2bfbdf(0x15e)]=!0x1);})[_0x1996c6(0x1f1)](_0x503cf3=>{const _0x5a38dd=_0x1996c6;this[_0x5a38dd(0x227)](),this[_0x5a38dd(0x15e)]=!0x1,function(_0x33465e){const _0xf80dd1=_0x5a38dd;return _0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x168))||_0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x1ee))||_0x33465e[_0xf80dd1(0x171)][_0xf80dd1(0x1b0)](_0xf80dd1(0x186));}(_0x503cf3)||this[_0x5a38dd(0x17e)](_0x503cf3[_0x5a38dd(0x171)],_0x503cf3);});},this[_0x3d52b1(0x1b7)]));}[_0x9b247a(0x21a)](){return new Promise(_0x373284=>{const _0x26f732=_0x3497;this['on'](_0x26f732(0x210),()=>{_0x373284();});});}async[_0x9b247a(0x220)](){const _0x451d2d=_0x9b247a,_0x86d112=this[_0x451d2d(0x1fa)][_0x451d2d(0x23a)][_0x451d2d(0x15d)](_0x215b9f);if(this[_0x451d2d(0x17f)]()&&(_0x86d112[_0x451d2d(0x243)](),this[_0x451d2d(0x15c)]=!0x1),!this[_0x451d2d(0x1c0)]())return!0x0;const _0x6a97be=[...this[_0x451d2d(0x253)]];for(const _0x3ffcca of _0x6a97be)_0x3ffcca[_0x451d2d(0x1cc)]=this[_0x451d2d(0x1e4)][_0x451d2d(0x1ec)][_0x451d2d(0x1ca)](_0x3ffcca);const _0x9cb286=this[_0x451d2d(0x158)][_0x451d2d(0x163)](_0x6a97be),_0x2a09dc=Q++,_0x589b41=this[_0x451d2d(0x175)](_0x6a97be),_0x17e8eb=await this[_0x451d2d(0x233)][_0x451d2d(0x1e9)](_0x589b41,_0x589b41[_0x451d2d(0x1aa)],_0x9cb286);try{return await this[_0x451d2d(0x21f)](_0x6a97be,_0x17e8eb,_0x2a09dc);}catch(_0x3fe238){return this[_0x451d2d(0x17e)](_0x451d2d(0x22e),_0x3fe238);}}async[_0x9b247a(0x21f)](_0x3350b5,_0x6147ad,_0x2c2306){const _0x5bceeb=_0x9b247a;if(_0x5bceeb(0x17b)in _0x6147ad)throw _0x6147ad[_0x5bceeb(0x17b)];let _0xa670d2=!0x1;if(_0x6147ad[_0x5bceeb(0x1a7)]){_0x6147ad[_0x5bceeb(0x237)]&&(this[_0x5bceeb(0x1dd)]=_0x6147ad[_0x5bceeb(0x237)]),this[_0x5bceeb(0x253)]=this[_0x5bceeb(0x253)][_0x5bceeb(0x178)](_0x40914e=>!_0x3350b5[_0x5bceeb(0x24f)](_0x40914e));for(const _0x23b735 of _0x3350b5)_0x23b735[_0x5bceeb(0x177)]=_0x5bceeb(0x18a)in _0x6147ad&&_0x6147ad[_0x5bceeb(0x18a)]||void 0x0;X(_0x3350b5,_0x6147ad[_0x5bceeb(0x179)]-_0x3350b5[_0x5bceeb(0x155)]),this[_0x5bceeb(0x252)](_0x3350b5);const _0x484a27=_0x3350b5[_0x5bceeb(0x178)](_0x3be2e1=>{const _0x1b733a=_0x5bceeb;if(!_0x3be2e1[_0x1b733a(0x160)])return!0x1;const _0x5abae6=this[_0x1b733a(0x182)](_0x3be2e1);return _0x5abae6&&!this[_0x1b733a(0x192)][_0x1b733a(0x1a3)](_0x5abae6);});X(_0x484a27,this[_0x5bceeb(0x1e4)][_0x5bceeb(0x179)]),this[_0x5bceeb(0x1ae)](_0x484a27),_0xa670d2=!0x0,this[_0x5bceeb(0x1b7)]=this[_0x5bceeb(0x197)];}else{const _0x4c7860=this[_0x5bceeb(0x172)](_0x6147ad[_0x5bceeb(0x1e1)],_0x6147ad[_0x5bceeb(0x203)])[_0x5bceeb(0x178)](_0x9f5385=>_0x9f5385[_0x5bceeb(0x1aa)]>=this[_0x5bceeb(0x166)]);_0x4c7860[_0x5bceeb(0x19d)](_0x107eb1=>this[_0x5bceeb(0x1f8)](_0x107eb1)),this[_0x5bceeb(0x253)]=this[_0x5bceeb(0x253)][_0x5bceeb(0x178)](_0x2307f2=>!_0x2307f2[_0x5bceeb(0x160)]||!this[_0x5bceeb(0x192)][_0x5bceeb(0x1a3)](this[_0x5bceeb(0x182)](_0x2307f2))),this[_0x5bceeb(0x253)][_0x5bceeb(0x155)]&&X(this[_0x5bceeb(0x253)],this[_0x5bceeb(0x253)][0x0][_0x5bceeb(0x1aa)]),await this[_0x5bceeb(0x239)](_0x4c7860),_0xa670d2=this[_0x5bceeb(0x1a5)](_0x4c7860,_0x6147ad[_0x5bceeb(0x179)],_0x6147ad[_0x5bceeb(0x237)]),this[_0x5bceeb(0x1b7)]=Math[_0x5bceeb(0x21d)](this[_0x5bceeb(0x1b7)]/0x2);}return _0xa670d2?!this[_0x5bceeb(0x1c0)]()||(this[_0x5bceeb(0x1fe)](!0x0),!0x1):this[_0x5bceeb(0x17e)](_0x5bceeb(0x193));}[_0x9b247a(0x1a5)](_0x3eaba2,_0x509e19,_0x396bf7){const _0xcf906f=_0x9b247a;try{const _0x58767f={'document':this[_0xcf906f(0x1e4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1de8cf,operationsB:_0x3178d6,originalOperations:_0xdda2f9}=_0x406b35(_0x3eaba2,this[_0xcf906f(0x253)],_0x58767f);X(_0x1de8cf,this[_0xcf906f(0x1e4)][_0xcf906f(0x179)]),X(_0x3178d6,_0x509e19);for(const _0x232c8d of _0x1de8cf){const _0x5d76d6=_0xdda2f9[_0xcf906f(0x15d)](_0x232c8d);_0x232c8d[_0xcf906f(0x1bb)]=_0x5d76d6?_0x5d76d6[_0xcf906f(0x1bb)]:null;}_0x396bf7&&(this[_0xcf906f(0x158)][_0xcf906f(0x1d6)](_0x3eaba2,_0x396bf7),this[_0xcf906f(0x1dd)]=_0x396bf7),this[_0xcf906f(0x253)]=[..._0x3178d6],this[_0xcf906f(0x1ae)](_0x1de8cf),this[_0xcf906f(0x252)](_0x3eaba2);}catch(_0x5c97e4){return console[_0xcf906f(0x17b)](_0x5c97e4),!0x1;}return!0x0;}[_0x9b247a(0x1ae)](_0x4837cf,_0x39a342=!0x1){const _0x511151=_0x9b247a;this[_0x511151(0x1fa)][_0x511151(0x1d9)][_0x511151(0x1e8)]({'isUndoable':!0x1,'isLocal':!0x1},_0x370f1a=>{const _0x5cc514=_0x511151;for(const _0x18dd76 of _0x4837cf)this[_0x5cc514(0x1a8)][_0x5cc514(0x20d)](_0x18dd76),this[_0x5cc514(0x1f8)](_0x18dd76),_0x370f1a[_0x5cc514(0x19c)][_0x5cc514(0x24a)](_0x18dd76),this[_0x5cc514(0x1fa)][_0x5cc514(0x1d9)][_0x5cc514(0x238)](_0x18dd76);});}[_0x9b247a(0x1f8)](_0x3dc559){const _0x14609f=_0x9b247a,_0x26fbd5=this[_0x14609f(0x182)](_0x3dc559);_0x26fbd5&&this[_0x14609f(0x192)][_0x14609f(0x20d)](_0x26fbd5);}[_0x9b247a(0x182)](_0x3d815d){const _0x5f0f2a=_0x9b247a;let _0x26cf94,_0x1d6391;switch(_0x3d815d[_0x5f0f2a(0x1be)]){case _0x5f0f2a(0x174):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1ed)][_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x256):if(_0x1d6391=_0x3d815d[_0x5f0f2a(0x1d0)],!_0x1d6391)return null;_0x26cf94=_0x1d6391[_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x191):_0x26cf94=_0x3d815d[_0x5f0f2a(0x198)];break;case _0x5f0f2a(0x1e6):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1d5)];break;case _0x5f0f2a(0x180):_0x26cf94=_0x3d815d[_0x5f0f2a(0x1b4)][_0x5f0f2a(0x198)];break;default:return null;}return _0x26cf94[_0x5f0f2a(0x213)];}[_0x9b247a(0x252)](_0x2e6c49){const _0xdc3d25=_0x9b247a;_0x2e6c49[_0xdc3d25(0x19d)](_0x89dd78=>{const _0x4e12c1=_0xdc3d25,_0x3af3b5=_0x89dd78[_0x4e12c1(0x1c8)]();_0x3af3b5[_0x4e12c1(0x1bb)]=_0x89dd78[_0x4e12c1(0x1bb)],_0x3af3b5[_0x4e12c1(0x160)]=!!_0x89dd78[_0x4e12c1(0x160)],_0x3af3b5[_0x4e12c1(0x177)]=_0x89dd78[_0x4e12c1(0x177)],_0x3af3b5[_0x4e12c1(0x1aa)]+=this[_0x4e12c1(0x1ad)],_0x89dd78[_0x4e12c1(0x206)]&&this[_0x4e12c1(0x212)][_0x4e12c1(0x20d)](_0x3af3b5),this[_0x4e12c1(0x209)][_0x4e12c1(0x24a)](_0x3af3b5);});}[_0x9b247a(0x196)](_0x20bd64){const _0x421685=_0x9b247a,_0x39cd0d=this[_0x421685(0x1fa)][_0x421685(0x23a)][_0x421685(0x15d)](_0x421685(0x15b)),_0x1363fa=this[_0x421685(0x1fa)][_0x421685(0x161)];_0x20bd64||(_0x20bd64=_0x1dd505(_0x1363fa,_0x421685(0x254))),_0x39cd0d[_0x421685(0x1f0)](_0x20bd64,{'title':_0x1dd505(_0x1363fa,_0x421685(0x255)),'namespace':_0x421685(0x16c)}),this[_0x421685(0x170)]=!0x0,clearTimeout(this[_0x421685(0x23c)]),this[_0x421685(0x253)]=[],this[_0x421685(0x1fa)][_0x421685(0x23a)][_0x421685(0x15d)](_0x4f6702)[_0x421685(0x1c9)]();}[_0x9b247a(0x16d)](){const _0x5b5ff1=_0x9b247a;this[_0x5b5ff1(0x249)]||(this[_0x5b5ff1(0x249)]=this[_0x5b5ff1(0x1fa)][_0x5b5ff1(0x23a)][_0x5b5ff1(0x15d)](_0x37d0cb)[_0x5b5ff1(0x20d)](_0x1dd505(this[_0x5b5ff1(0x1fa)][_0x5b5ff1(0x161)],_0x5b5ff1(0x1a4))));}[_0x9b247a(0x227)](){const _0x5bd6e4=_0x9b247a;this[_0x5bd6e4(0x249)]&&(this[_0x5bd6e4(0x1fa)][_0x5bd6e4(0x23a)][_0x5bd6e4(0x15d)](_0x37d0cb)[_0x5bd6e4(0x1f9)](this[_0x5bd6e4(0x249)]),this[_0x5bd6e4(0x249)]=null);}[_0x9b247a(0x175)](_0x15e254){const _0x278f5c=_0x9b247a,_0x14a2eb=_0x15e254[_0x278f5c(0x17d)](_0x406c5f=>_0x406c5f[_0x278f5c(0x18c)]());return this[_0x278f5c(0x187)][_0x278f5c(0x1a1)](_0x14a2eb);}[_0x9b247a(0x172)](_0x965600,_0x5c65d8){const _0x436ad2=_0x9b247a;return this[_0x436ad2(0x187)][_0x436ad2(0x204)](_0x965600)[_0x436ad2(0x17d)]((_0x37c1f9,_0x31a5ec)=>{const _0x12e524=_0x436ad2,_0x3d5230=_0x12e524(0x1bc)==_0x5c65d8[_0x31a5ec][_0x12e524(0x1be)];if(_0x12e524(0x231)==_0x37c1f9[_0x12e524(0x1ab)]){const _0xf96722=_0x37c1f9[_0x12e524(0x1ed)][_0x12e524(0x198)];!this[_0x12e524(0x1e4)][_0x12e524(0x159)](_0xf96722)&&(this[_0x12e524(0x1e4)][_0x12e524(0x1b3)](_0x12e524(0x16e),_0xf96722)[_0x12e524(0x20e)]=!0x1);}const _0x1517c8=_0x2a2dea[_0x12e524(0x18e)](_0x37c1f9,this[_0x12e524(0x1e4)]);return _0x1517c8[_0x12e524(0x1cc)]=_0x37c1f9[_0x12e524(0x1cc)],_0x1517c8[_0x12e524(0x160)]=_0x3d5230,_0x1517c8[_0x12e524(0x1bb)]=_0x3d5230?null:_0x5c65d8[_0x31a5ec][_0x12e524(0x1fc)],_0x1517c8[_0x12e524(0x206)]=_0x12e524(0x1b9)===_0x5c65d8[_0x31a5ec][_0x12e524(0x1be)],_0x1517c8[_0x12e524(0x177)]=_0x5c65d8[_0x31a5ec][_0x12e524(0x177)],_0x1517c8;});}[_0x9b247a(0x1f3)](){const _0x54eebe=_0x9b247a;this[_0x54eebe(0x15c)]=!0x0,this[_0x54eebe(0x17f)]()?this[_0x54eebe(0x1fe)]():this[_0x54eebe(0x15c)]=!0x1;}[_0x9b247a(0x17f)](){const _0x4c611f=_0x9b247a,_0x149129=this[_0x4c611f(0x1fa)][_0x4c611f(0x23a)][_0x4c611f(0x15d)](_0x1f4a5f)[_0x4c611f(0x176)][_0x4c611f(0x15d)](this[_0x4c611f(0x20a)]);return!this[_0x4c611f(0x1fa)][_0x4c611f(0x1d7)]&&!!_0x149129&&_0x149129[_0x4c611f(0x155)]>0x1&&this[_0x4c611f(0x15c)];}[_0x9b247a(0x1c0)](){const _0x5e785c=_0x9b247a;return this[_0x5e785c(0x253)][_0x5e785c(0x155)]>0x0||this[_0x5e785c(0x17f)]();}}class ReconnectionError extends Error{}function X(_0x4f76c4,_0x28d432){const _0x505361=_0x9b247a;for(const _0x57b2dc of _0x4f76c4)_0x57b2dc[_0x505361(0x1aa)]=_0x28d432++;}class OperationIdentifier{[_0x9b247a(0x1c7)];[_0x9b247a(0x194)];constructor(_0x1c734d){const _0x3b4672=_0x9b247a;this[_0x3b4672(0x1c7)]=_0x1c734d,this[_0x3b4672(0x194)]=new WeakMap();}[_0x9b247a(0x163)](_0x3aef21){const _0xa1b9f4=_0x9b247a;let _0x3bfeb2=_0x3aef21[_0xa1b9f4(0x155)];for(;_0x3bfeb2--;){const _0x56f5db=_0x3aef21[_0x3bfeb2];if(!this[_0xa1b9f4(0x1c7)][_0xa1b9f4(0x1a3)](_0x56f5db)){if(!this[_0xa1b9f4(0x194)][_0xa1b9f4(0x1a3)](_0x56f5db)){const _0x105715=_0x3cf278()[_0xa1b9f4(0x208)](0x1,0x12);this[_0xa1b9f4(0x194)][_0xa1b9f4(0x202)](_0x56f5db,_0x105715);}return this[_0xa1b9f4(0x194)][_0xa1b9f4(0x15d)](_0x56f5db);}}}[_0x9b247a(0x1d6)](_0x2ae7ff,_0x260b76){const _0x262d01=_0x9b247a;if(!_0x260b76)return;let _0x1a4901=_0x2ae7ff[_0x262d01(0x155)];for(;_0x1a4901--;){const _0xd4dfec=_0x2ae7ff[_0x1a4901];this[_0x262d01(0x1c7)][_0x262d01(0x1a3)](_0xd4dfec)||this[_0x262d01(0x194)][_0x262d01(0x202)](_0xd4dfec,_0x260b76);}}}
23
+ const _0x594143=_0x1fbc;(function(_0x47d22c,_0x21b940){const _0x2b1077=_0x1fbc,_0x4fd153=_0x47d22c();while(!![]){try{const _0x43c65a=parseInt(_0x2b1077(0x1b4))/0x1+parseInt(_0x2b1077(0x1bf))/0x2*(-parseInt(_0x2b1077(0x184))/0x3)+-parseInt(_0x2b1077(0x1d1))/0x4+parseInt(_0x2b1077(0x1dc))/0x5*(parseInt(_0x2b1077(0x1d6))/0x6)+-parseInt(_0x2b1077(0x1fc))/0x7+parseInt(_0x2b1077(0x1b6))/0x8*(parseInt(_0x2b1077(0x15c))/0x9)+parseInt(_0x2b1077(0x1b9))/0xa*(parseInt(_0x2b1077(0x1ee))/0xb);if(_0x43c65a===_0x21b940)break;else _0x4fd153['push'](_0x4fd153['shift']());}catch(_0x28db39){_0x4fd153['push'](_0x4fd153['shift']());}}}(_0x1b0e,0x7744f));import{Plugin as _0x18e0bb,PendingActions as _0xbb91af}from'ckeditor5/src/core.js';import{CKEditorError as _0x4aa1fc,version as _0x27e027,uid as _0x4367d1}from'ckeditor5/src/utils.js';function _0x1fbc(_0x30445e,_0x8ff192){const _0x1b0ecb=_0x1b0e();return _0x1fbc=function(_0x1fbc82,_0x36b30c){_0x1fbc82=_0x1fbc82-0x157;let _0x4740d1=_0x1b0ecb[_0x1fbc82];return _0x4740d1;},_0x1fbc(_0x30445e,_0x8ff192);}import{Notification as _0x2da985}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3f9b98,NoOperation as _0x470453,InsertOperation as _0xbdb574,MarkerOperation as _0x51fb07,RootAttributeOperation as _0xc2e029,OperationFactory as _0x57d5c7,History as _0x555909}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x321f45}from'./websocketgateway.js';import{Sessions as _0x2545ad}from'./sessions.js';import{UserMarkers as _0x5aebc7}from'./usermarkers.js';import{getTranslation as _0x5d7e9e}from'../common-translations.js';function _0x1b0e(){const _0x41674f=['directChange','_sendBufferedOperations','applyOperation','593600IOLZxX','marker','targetPosition','_knownRootNames','operationsReceived','387804ZLULqA','_isEditingAllowed','RealTimeCollaborationClient','getUser','apply','version','5VrhCub','CollaborativeEditingService','getOperationAuthor','real-time-collaboration','addRootAttribute','bind','decompress','$root','requires','realtimecollaborationclient-error','isReadOnly','state','editor','listenTo','channelSessions','rtc-offline','__className','config','561cfzDqh','locale','destroy','_currentBufferDelay','keys','disconnected','_bufferRootLoad','_refreshUserSelectionMarkers','removeFromReconnectionStack','catch','start','_initThrowingOnDataSet','addUser','_isInit','5569144FzLmTR','position','type','end','serverHistory','_handleExternalOperations','lastOperationAcceptedAt','_isConnected','_service','clone','disconnect','Synchronization\x20issue','isDocumentOperation','_isPendingUpdate','disableReadOnlyMode','add','push','_sendBufferedOperationsDelayed','addOperation','realtimecollaborationclient-init-session-connection-error','reset','Permissions','entries','plugins','mySessionId','_updateServerHistory','move','CommentsOnly','_shouldSendSelectionUpdate','_sendBufferedOperationsDelayId','_handleSendingSelectionMarkers','sendOperations','cloud-services-internal-error:\x20Not\x20connected.','_setPendingAction','data','lastOperationId','model','_hasSelectionChanged','getOperations','realtimecollaborationclient-init-non-existent-root','_document','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','permissions','history','_handleServerResponse','_setUpDataInit','differ','markers','metadata','createUserMarkerOperations','_handleReceivedOperations','lastDocumentSession','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sessionAdd:','newRange','_fetchMissingUsers','getMany','realtimecollaborationclient-init-connection-failed','_addKnownRoot','createdAt','_handleReconnectionError','get','has','_disconnectService','from','userId','_getAffectedRoot','Notification','insert','sessionCreatedAt','_getOperationsFromInitData','collaboration-missing-channelid','root','rtc-destroyed','currentDocumentSession','unregister','view','pluginName','isEnabled','finally','createRange','slice','realtimecollaborationclient-init-document-already-initialized','change:range','collaboration.channelId','_lastSyncedOperationId','startsWith','_disconnectionOperations','getIdOfTheLastOperation','register','stopListening','_applyOperationsSet','init','offset','editing','error','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isLoaded','define','realtimecollaborationclient-init-service-incorrect-server-operation','wereChangesApplied','6509313DtsTMg','return','_isAttached','reconnect','length','addRoot','_knownOperations','_compressOperations','rootsAttributes','lastSyncVersion','set','cloudServices.bundleVersion','_compressor','cloudDocumentVersion','suppressErrorInCollaboration','getRoot','realtimecollaborationclient','InsertOperation','size','round','ready','_channelId','enqueueChange','toJSON','_authorId','showWarning','_initSessionsHandling','off','isOfficialPlugin','enableReadOnlyMode','includes','_clearPendingAction','affectedSelectable','selection','setIdForTheLastOperation','_connectService','change:hasDomSelection','_waitUntilSynced','document:write','409','119412KBGMSj','connection','message','stop','baseVersion','_bufferedOperations','code','attributes','reconnection:\x20flushed\x20session','_crash','high','createPositionAt','setPermissions','_pendingAction','parse','getDocumentDetails','_baseBufferDelay','_operationIdentifier','string','_loadRoot','fire','_handleInitialConnectionData','connect','document','wasUndone','compress','initData','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','loadRoot','_ignoredOperations','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.','_isDisconnection','_offset','change:_isPendingUpdate','PENDING_ACTION_SENDING_DATA','_lastServerVersion','createRoot','batch','isPremiumPlugin','isUndoneOperation','affectsData','multi-root-editor-root-attributes-no-root','addToReconnectionStack','realtimecollaborationclient-init-service-internal-error','_operationToId','getConnectedSessions','rootName','_handleReconnectionResponse','658746AheaCS','cs:removeUser','8ZPHXji','roots','cloud-services-internal-error:\x20Request\x20timeout.','176740SBvvLz','_shouldSendUpdate','sessionId','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-sendbufferedoperations','then','46MxrXZs','map','connected','404','_saveOperationInBuffer','change:_isEditingAllowed','_hasSynchronizationProblem','forEach','createPositionFromPath','_decompressOperations','fromJSON','path','collaboration','filter','remove'];_0x1b0e=function(){return _0x41674f;};return _0x1b0e();}import{Compressor as _0x47d014}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4448bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x618b31,CollaborativeEditingService as _0x3b2157}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x18e0bb{static [_0x594143(0x1dd)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3b2157)());[_0x594143(0x1a4)];[_0x594143(0x1bb)];[_0x594143(0x200)];[_0x594143(0x171)];[_0x594143(0x204)];[_0x594143(0x224)];[_0x594143(0x168)];[_0x594143(0x189)];[_0x594143(0x162)];[_0x594143(0x1d4)];[_0x594143(0x191)];[_0x594143(0x221)];[_0x594143(0x219)];[_0x594143(0x194)];[_0x594143(0x1f1)];[_0x594143(0x253)];[_0x594143(0x255)];[_0x594143(0x195)];static get[_0x594143(0x1e4)](){return[_0x321f45,_0x2545ad,_0x5aebc7,_0xbb91af,_0x4448bf,_0x2da985];}static get[_0x594143(0x24b)](){const _0x4d1958=_0x594143;return _0x4d1958(0x1d8);}static get[_0x594143(0x178)](){return!0x0;}static get[_0x594143(0x1aa)](){return!0x0;}get[_0x594143(0x169)](){const _0x22747f=_0x594143;return this[_0x22747f(0x1a7)]+this[_0x22747f(0x1a4)];}get[_0x594143(0x1a7)](){const _0x498a8b=_0x594143;return this[_0x498a8b(0x200)][_0x498a8b(0x1db)]-this[_0x498a8b(0x1a4)];}get[_0x594143(0x165)](){const _0x2681f7=_0x594143,_0x5543db=this[_0x2681f7(0x200)][_0x2681f7(0x222)]();for(let _0x5bcd6c=_0x5543db[_0x2681f7(0x160)]-0x1;_0x5bcd6c>=0x0;_0x5bcd6c--){const _0x6a690c=_0x5543db[_0x5bcd6c];if(!this[_0x2681f7(0x255)][_0x2681f7(0x23c)](_0x6a690c))return _0x6a690c[_0x2681f7(0x188)]+0x1-this[_0x2681f7(0x1a4)];}return 0x0;}constructor(_0x4175a6){const _0x533540=_0x594143;if(super(_0x4175a6),this[_0x533540(0x1a4)]=0x0,this[_0x533540(0x1bb)]=null,this[_0x533540(0x200)]=new _0x555909(),this[_0x533540(0x1e8)][_0x533540(0x1ed)][_0x533540(0x159)](_0x533540(0x1cb),{}),this[_0x533540(0x171)]=this[_0x533540(0x1e8)][_0x533540(0x1ed)][_0x533540(0x23b)](_0x533540(0x252)),!this[_0x533540(0x171)])throw new _0x4aa1fc(_0x533540(0x245),this);const _0x51902d=_0x4175a6[_0x533540(0x1ed)][_0x533540(0x23b)](_0x533540(0x167))||_0x27e027;this[_0x533540(0x204)]=new RealTimeCollaborationClient[(_0x533540(0x1dd))](_0x51902d,this[_0x533540(0x171)]),this[_0x533540(0x224)]=this[_0x533540(0x1e8)][_0x533540(0x220)][_0x533540(0x19b)],this[_0x533540(0x168)]=new _0x47d014(),this[_0x533540(0x189)]=[],this[_0x533540(0x162)]=new WeakSet(),this[_0x533540(0x1d4)]=new Set(),this[_0x533540(0x166)](_0x533540(0x209),!0x1),this[_0x533540(0x166)](_0x533540(0x1c5),!0x1),this[_0x533540(0x191)]=null,this[_0x533540(0x221)]=!0x1,this[_0x533540(0x219)]=null,this[_0x533540(0x194)]=0x12c,this[_0x533540(0x1f1)]=this[_0x533540(0x194)],this[_0x533540(0x253)]=null,this[_0x533540(0x255)]=new WeakSet(),this[_0x533540(0x195)]=new OperationIdentifier(this[_0x533540(0x255)]);}[_0x594143(0x25a)](){const _0x29d866=_0x594143,_0x589cf9=this[_0x29d866(0x1e8)],_0x38da78=_0x589cf9[_0x29d866(0x213)][_0x29d866(0x23b)](_0x4448bf),_0x4df7d7=_0x589cf9[_0x29d866(0x213)][_0x29d866(0x23b)](_0x321f45);this[_0x29d866(0x1e9)](_0x38da78,_0x29d866(0x1de),(_0x4b8a6e,_0x3e924f)=>{const _0x487856=_0x29d866,_0x120be4=_0x3e924f[0x0];_0x120be4[_0x487856(0x174)]&&(_0x4b8a6e[_0x487856(0x15d)]=_0x38da78[_0x487856(0x1d9)](_0x120be4[_0x487856(0x174)]),_0x4b8a6e[_0x487856(0x187)]()),null===_0x120be4[_0x487856(0x174)]&&(_0x4b8a6e[_0x487856(0x15d)]=null,_0x4b8a6e[_0x487856(0x187)]());},{'priority':_0x29d866(0x18e)}),this[_0x29d866(0x1e9)](_0x589cf9[_0x29d866(0x220)][_0x29d866(0x19b)][_0x29d866(0x17d)],_0x29d866(0x251),(_0x198f29,_0x41e2ff)=>{const _0x1ce105=_0x29d866;_0x41e2ff[_0x1ce105(0x1ce)]&&this[_0x1ce105(0x1f5)]();}),this[_0x29d866(0x1e9)](_0x589cf9[_0x29d866(0x25c)][_0x29d866(0x24a)],_0x29d866(0x180),()=>{const _0x236e0b=_0x29d866;this[_0x236e0b(0x1f5)]();}),this[_0x29d866(0x1f9)](),_0x589cf9[_0x29d866(0x220)]['on'](_0x29d866(0x1d0),(_0xc017bb,_0x6c4db9)=>{const _0x25054a=_0x29d866,_0x140a9e=_0x6c4db9[0x0];_0x140a9e[_0x25054a(0x208)]&&(this[_0x25054a(0x1c3)](_0x140a9e),this[_0x25054a(0x1ba)]()&&this[_0x25054a(0x20d)]());}),this[_0x29d866(0x22b)](),this[_0x29d866(0x1e1)](_0x29d866(0x1d7))['to'](_0x4df7d7,_0x29d866(0x1e7),this,_0x29d866(0x1c5),(_0x4451e3,_0x3e15fa)=>_0x29d866(0x1c1)===_0x4451e3&&!_0x3e15fa),this['on'](_0x29d866(0x1c4),()=>{const _0x52bad2=_0x29d866;this[_0x52bad2(0x1d7)]?_0x589cf9[_0x52bad2(0x20a)](_0x52bad2(0x1eb)):_0x589cf9[_0x52bad2(0x179)](_0x52bad2(0x1eb));}),this[_0x29d866(0x1d7)]?_0x589cf9[_0x29d866(0x20a)](_0x29d866(0x1eb)):_0x589cf9[_0x29d866(0x179)](_0x29d866(0x1eb)),this[_0x29d866(0x166)](_0x29d866(0x203),!0x1);}async[_0x594143(0x15f)](){const _0x582be4=_0x594143,_0x34c0b1=this[_0x582be4(0x1e8)][_0x582be4(0x213)][_0x582be4(0x23b)](_0x2545ad),_0x4cb4c2=this[_0x582be4(0x1e8)][_0x582be4(0x213)][_0x582be4(0x23b)](_0x321f45);try{this[_0x582be4(0x209)]=!0x0,_0x34c0b1[_0x582be4(0x249)](this[_0x582be4(0x171)]);const _0x41c032=await this[_0x582be4(0x204)][_0x582be4(0x15f)](_0x4cb4c2[_0x582be4(0x185)],this[_0x582be4(0x165)]);await this[_0x582be4(0x1b3)](_0x41c032)&&(this[_0x582be4(0x209)]=!0x1,this[_0x582be4(0x17b)]());const _0x85fd6c=await this[_0x582be4(0x204)][_0x582be4(0x1b1)]();_0x34c0b1[_0x582be4(0x257)](this[_0x582be4(0x171)],_0x85fd6c),this[_0x582be4(0x21a)](),this[_0x582be4(0x203)]=!0x0;}catch(_0x21e443){if(function(_0x30369d){const _0x2e9af8=_0x582be4;return _0x2e9af8(0x1c2)===_0x30369d[_0x2e9af8(0x18a)];}(_0x21e443)&&this[_0x582be4(0x1bb)])await this[_0x582be4(0x225)]();else{if(function(_0x16c653){const _0x171e74=_0x582be4;return _0x171e74(0x183)===_0x16c653[_0x171e74(0x18a)];}(_0x21e443)){const _0x5e4c50=_0x5d7e9e(this[_0x582be4(0x1e8)][_0x582be4(0x1ef)],_0x582be4(0x232));this[_0x582be4(0x23a)](_0x5e4c50);}else{if(!(_0x21e443 instanceof ReconnectionError))throw _0x21e443;this[_0x582be4(0x23a)]();}}}}[_0x594143(0x1f0)](){const _0x1eccf5=_0x594143,_0x23a25f=this[_0x1eccf5(0x1e8)][_0x1eccf5(0x213)][_0x1eccf5(0x23b)](_0x321f45),_0x28631c=this[_0x1eccf5(0x1e8)][_0x1eccf5(0x213)][_0x1eccf5(0x23b)](_0x2545ad);this[_0x1eccf5(0x1e8)][_0x1eccf5(0x179)](_0x1eccf5(0x247)),_0x28631c[_0x1eccf5(0x1ea)][_0x1eccf5(0x23c)](this[_0x1eccf5(0x171)])&&_0x28631c[_0x1eccf5(0x249)](this[_0x1eccf5(0x171)]),_0x23a25f[_0x1eccf5(0x1f6)](this),this[_0x1eccf5(0x23d)](),super[_0x1eccf5(0x1f0)]();}async[_0x594143(0x1b3)](_0x4a1ffe){const _0xd94d37=_0x594143;if(this[_0xd94d37(0x1bb)]!==_0x4a1ffe[_0xd94d37(0x1bb)]&&this[_0xd94d37(0x253)]!==_0x4a1ffe[_0xd94d37(0x21f)])throw new ReconnectionError();return this[_0xd94d37(0x1bb)]=_0x4a1ffe[_0xd94d37(0x1bb)],this[_0xd94d37(0x22a)]([],{..._0x4a1ffe,'wereChangesApplied':!0x1,'data':_0x4a1ffe[_0xd94d37(0x21e)]},_0xd94d37(0x15f));}async[_0x594143(0x17f)](_0x5ae69b,_0x4f7297=!0x1){const _0x2b1858=_0x594143,{connection:_0x2ca339}=this[_0x2b1858(0x1e8)][_0x2b1858(0x213)][_0x2b1858(0x23b)](_0x321f45);RealTimeCollaborationClient[_0x2b1858(0x1dd)][_0x2b1858(0x1b1)](_0x2ca339,this[_0x2b1858(0x171)])[_0x2b1858(0x1be)](_0x26456b=>this[_0x2b1858(0x176)](_0x26456b))[_0x2b1858(0x1f7)](_0x3c03ff=>{const _0x125ec3=_0x2b1858;this[_0x125ec3(0x18d)](_0x125ec3(0x20f),_0x3c03ff);}),this[_0x2b1858(0x1e9)](this[_0x2b1858(0x204)],_0x2b1858(0x1d5),this[_0x2b1858(0x230)][_0x2b1858(0x1e1)](this)),this[_0x2b1858(0x1e9)](this[_0x2b1858(0x204)],_0x2b1858(0x25d),(_0x45161c,_0x46be52)=>{const _0x3683ff=_0x2b1858;this[_0x3683ff(0x18d)](_0x3683ff(0x1af),_0x46be52);}),this[_0x2b1858(0x1e9)](this[_0x2b1858(0x204)],_0x2b1858(0x1f3),()=>{const _0xc0a9fe=_0x2b1858;this[_0xc0a9fe(0x203)]=!0x1;});const _0x5c6dd5=this[_0x2b1858(0x195)][_0x2b1858(0x256)](_0x5ae69b);this[_0x2b1858(0x209)]=!0x0;const _0x5dfd5a=await this[_0x2b1858(0x204)][_0x2b1858(0x19a)](_0x2ca339,this[_0x2b1858(0x163)](_0x5ae69b),_0x5c6dd5);if(this[_0x2b1858(0x1bb)]=_0x5dfd5a[_0x2b1858(0x1bb)],_0x4f7297){if(!_0x5dfd5a[_0x2b1858(0x15b)])return void this[_0x2b1858(0x23a)]();this[_0x2b1858(0x209)]=!0x1,this[_0x2b1858(0x17b)](),this[_0x2b1858(0x200)][_0x2b1858(0x210)](),this[_0x2b1858(0x1a4)]=_0x5dfd5a[_0x2b1858(0x25b)],this[_0x2b1858(0x200)][_0x2b1858(0x1db)]=this[_0x2b1858(0x1a4)],await this[_0x2b1858(0x22a)](_0x5ae69b,_0x5dfd5a,_0x2b1858(0x18c));}else await this[_0x2b1858(0x199)](_0x5dfd5a,_0x5ae69b);this[_0x2b1858(0x21a)](),this[_0x2b1858(0x203)]=!0x0;}[_0x594143(0x21a)](){const _0x2d840c=_0x594143,_0x449306=this[_0x2d840c(0x1e8)][_0x2d840c(0x213)][_0x2d840c(0x23b)](_0x2545ad),_0x46e724=this[_0x2d840c(0x1e8)][_0x2d840c(0x213)][_0x2d840c(0x23b)](_0x5aebc7),_0x404a00=_0x449306[_0x2d840c(0x1ea)][_0x2d840c(0x23b)](this[_0x2d840c(0x171)]);_0x404a00&&_0x404a00[_0x2d840c(0x160)]>0x1?_0x46e724[_0x2d840c(0x22f)]():this[_0x2d840c(0x1e9)](_0x449306,_0x2d840c(0x233)+this[_0x2d840c(0x171)],()=>{const _0x12ae8f=_0x2d840c;0x2===_0x449306[_0x12ae8f(0x1ea)][_0x12ae8f(0x23b)](this[_0x12ae8f(0x171)])[_0x12ae8f(0x160)]&&_0x46e724[_0x12ae8f(0x22f)]();});}async[_0x594143(0x230)](_0x3c75a7,_0x24144c,_0x2bc86f,_0x2c5545){const _0xc62244=_0x594143;if(!this[_0xc62244(0x209)]&&this[_0xc62244(0x224)][_0xc62244(0x1db)]==_0x24144c){const _0x291468=this[_0xc62244(0x1c8)](_0x2bc86f,_0x2c5545);await this[_0xc62244(0x235)](_0x291468),this[_0xc62244(0x201)](_0x291468,_0x24144c,_0x2bc86f[_0xc62244(0x21f)])||this[_0xc62244(0x18d)](_0xc62244(0x15a));}}async[_0x594143(0x225)](){const _0xff9a7e=_0x594143;this[_0xff9a7e(0x23d)]();const {locale:_0x16c9e0}=this[_0xff9a7e(0x1e8)];let _0x499acd;try{_0x499acd=await this[_0xff9a7e(0x204)][_0xff9a7e(0x193)]();}catch{const _0x1ab713=_0x5d7e9e(_0x16c9e0,_0xff9a7e(0x227));return void this[_0xff9a7e(0x23a)](_0x1ab713);}const _0x23a9b3=_0x499acd[_0xff9a7e(0x248)]||_0x499acd[_0xff9a7e(0x231)];if(this[_0xff9a7e(0x253)]!==_0x23a9b3[_0xff9a7e(0x21f)]){const _0x3ebef7=_0x5d7e9e(_0x16c9e0,_0xff9a7e(0x157));return void this[_0xff9a7e(0x23a)](_0x3ebef7);}await this[_0xff9a7e(0x17f)](this[_0xff9a7e(0x1e8)][_0xff9a7e(0x220)][_0xff9a7e(0x19b)][_0xff9a7e(0x229)][_0xff9a7e(0x222)](),!0x0);}[_0x594143(0x23d)](){const _0x4839d2=_0x594143;this[_0x4839d2(0x204)][_0x4839d2(0x206)](),this[_0x4839d2(0x189)]=[],clearTimeout(this[_0x4839d2(0x219)]),this[_0x4839d2(0x258)](this[_0x4839d2(0x204)]);}[_0x594143(0x176)](_0x8e5d16){const _0x1fdfb5=_0x594143,_0x8410c8=this[_0x1fdfb5(0x1e8)][_0x1fdfb5(0x213)][_0x1fdfb5(0x23b)](_0x2545ad);this[_0x1fdfb5(0x1e9)](_0x8410c8,_0x1fdfb5(0x233)+this[_0x1fdfb5(0x171)],(_0x3c310b,{session:_0x3dbda4})=>{const _0x535a98=_0x1fdfb5;if(_0x3dbda4['id']===_0x8410c8[_0x535a98(0x214)]){_0x3c310b[_0x535a98(0x177)]();const _0x2586a8=this[_0x535a98(0x1e8)][_0x535a98(0x213)][_0x535a98(0x23c)](_0x535a98(0x217))&&this[_0x535a98(0x1e8)][_0x535a98(0x213)][_0x535a98(0x23b)](_0x535a98(0x217));let _0x462bc1=_0x3dbda4[_0x535a98(0x228)];_0x2586a8&&_0x2586a8[_0x535a98(0x24c)]&&(_0x462bc1=_0x462bc1[_0x535a98(0x1cc)](_0x346b5f=>_0x535a98(0x182)!==_0x346b5f)),this[_0x535a98(0x1e8)][_0x535a98(0x213)][_0x535a98(0x23b)](_0x535a98(0x211))[_0x535a98(0x190)](_0x462bc1,this[_0x535a98(0x171)]);}}),_0x8410c8[_0x1fdfb5(0x257)](this[_0x1fdfb5(0x171)],_0x8e5d16);}[_0x594143(0x1f9)](){const _0x182b06=_0x594143,_0x5a44c9=this[_0x182b06(0x1e8)][_0x182b06(0x21e)][_0x182b06(0x166)];this[_0x182b06(0x1e8)][_0x182b06(0x21e)][_0x182b06(0x166)]=(..._0x3b2579)=>{const _0x34e180=_0x182b06;if(!_0x3b2579[_0x3b2579[_0x34e180(0x160)]-0x1][_0x34e180(0x16a)])throw new _0x4aa1fc(_0x34e180(0x19f),this);_0x5a44c9[_0x34e180(0x1da)](this[_0x34e180(0x1e8)][_0x34e180(0x21e)],_0x3b2579);};}[_0x594143(0x22b)](){const _0x1a441d=_0x594143;this[_0x1a441d(0x1e8)][_0x1a441d(0x21e)]['on'](_0x1a441d(0x25a),(_0x1ffd54,[_0x446ac7])=>{const _0x30ec9e=_0x1a441d;if(this[_0x30ec9e(0x224)][_0x30ec9e(0x1db)])throw new _0x4aa1fc(_0x30ec9e(0x250),this);_0x1ffd54[_0x30ec9e(0x187)](),this[_0x30ec9e(0x21d)]();const _0x429a95=this[_0x30ec9e(0x1e8)][_0x30ec9e(0x1ed)][_0x30ec9e(0x23b)](_0x30ec9e(0x164)),_0x21d2eb=this[_0x30ec9e(0x244)](_0x446ac7,_0x429a95);0x0==_0x21d2eb[_0x30ec9e(0x160)]&&_0x21d2eb[_0x30ec9e(0x20c)](new _0x470453(0x0)),_0x1ffd54[_0x30ec9e(0x15d)]=this[_0x30ec9e(0x17f)](_0x21d2eb)[_0x30ec9e(0x1be)](()=>{const _0x2965e1=_0x30ec9e;this[_0x2965e1(0x1e8)][_0x2965e1(0x213)][_0x2965e1(0x23b)](_0x321f45)[_0x2965e1(0x1ae)](this),this[_0x2965e1(0x1e8)][_0x2965e1(0x21e)][_0x2965e1(0x198)](_0x2965e1(0x170));})[_0x30ec9e(0x1f7)](_0x123e18=>this[_0x30ec9e(0x18d)](_0x30ec9e(0x237),_0x123e18))[_0x30ec9e(0x24d)](()=>this[_0x30ec9e(0x17b)]());},{'priority':_0x1a441d(0x18e)}),this[_0x1a441d(0x1e8)]['on'](_0x1a441d(0x1a0),async(_0x5ce2a5,[_0x21e9e5,_0x3afae2])=>{const _0x42d438=_0x1a441d;_0x5ce2a5[_0x42d438(0x187)]();const _0x1ab1f6=this[_0x42d438(0x1e8)][_0x42d438(0x220)][_0x42d438(0x19b)][_0x42d438(0x16b)](_0x21e9e5);if(!this[_0x42d438(0x1d4)][_0x42d438(0x23c)](_0x21e9e5)){const _0x14714c=_0x3afae2&&_0x3afae2[_0x42d438(0x21e)]?_0x3afae2[_0x42d438(0x21e)]:'',_0x449ea4=_0x3afae2&&_0x3afae2[_0x42d438(0x18b)]?_0x3afae2[_0x42d438(0x18b)]:{};await this[_0x42d438(0x197)](_0x21e9e5,_0x14714c,_0x449ea4);}this[_0x42d438(0x1e8)][_0x42d438(0x220)][_0x42d438(0x172)]({'isUndoable':!0x1},()=>{const _0x225cfd=_0x42d438;_0x1ab1f6[_0x225cfd(0x158)]=!0x0,this[_0x225cfd(0x1e8)][_0x225cfd(0x220)][_0x225cfd(0x19b)][_0x225cfd(0x22c)][_0x225cfd(0x1f4)](_0x1ab1f6);});},{'priority':_0x1a441d(0x18e)});}async[_0x594143(0x235)](_0x24dca4){const _0x33be58=_0x594143,_0x48f5fb=this[_0x33be58(0x1e8)][_0x33be58(0x213)][_0x33be58(0x23b)](_0x4448bf),{connection:_0x4ee64d}=this[_0x33be58(0x1e8)][_0x33be58(0x213)][_0x33be58(0x23b)](_0x321f45),_0x210f65=new Set();for(const _0x4f7042 of _0x24dca4){const _0x2e9167=_0x4f7042[_0x33be58(0x174)];_0x2e9167&&!_0x48f5fb[_0x33be58(0x1d9)](_0x2e9167)&&_0x210f65[_0x33be58(0x20b)](_0x2e9167);}if(0x0===_0x210f65[_0x33be58(0x16e)])return;const _0x5daa86=await _0x618b31[_0x33be58(0x236)](_0x4ee64d,Array[_0x33be58(0x23e)](_0x210f65));for(const _0x574775 of _0x5daa86)_0x48f5fb[_0x33be58(0x1d9)](_0x574775['id'])||_0x48f5fb[_0x33be58(0x1fa)](_0x574775);}[_0x594143(0x244)](_0x5c540d,_0x2bed9b={}){const _0x5ac7a2=_0x594143,_0xdd483e=this[_0x5ac7a2(0x1e8)][_0x5ac7a2(0x220)],_0x5e3a31=[];let _0xfeaa4=0x0;const _0x1eec55=_0x5ac7a2(0x196)==typeof _0x5c540d?{'main':_0x5c540d}:_0x5c540d;for(const _0x5f1f7f of Object[_0x5ac7a2(0x1f2)](_0x1eec55)){if(!this[_0x5ac7a2(0x224)][_0x5ac7a2(0x1b7)][_0x5ac7a2(0x23c)](_0x5f1f7f))throw new _0x4aa1fc(_0x5ac7a2(0x223),this);const _0x5ac975=this[_0x5ac7a2(0x1e8)][_0x5ac7a2(0x21e)][_0x5ac7a2(0x192)](_0x1eec55[_0x5f1f7f]),_0x3c3e4d=this[_0x5ac7a2(0x224)][_0x5ac7a2(0x16b)](_0x5f1f7f),_0x163316=new _0xbdb574(_0xdd483e[_0x5ac7a2(0x18f)](_0x3c3e4d,0x0),_0x5ac975,_0xfeaa4++);_0x5e3a31[_0x5ac7a2(0x20c)](_0x163316);for(const [_0x266fc4,_0x429244]of _0x5ac975[_0x5ac7a2(0x22d)]){const _0x51a018=_0xdd483e[_0x5ac7a2(0x24e)](_0xdd483e[_0x5ac7a2(0x1c7)](_0x3c3e4d,_0x429244[_0x5ac7a2(0x1f8)][_0x5ac7a2(0x1ca)][_0x5ac7a2(0x24f)]()),_0xdd483e[_0x5ac7a2(0x1c7)](_0x3c3e4d,_0x429244[_0x5ac7a2(0x1ff)][_0x5ac7a2(0x1ca)][_0x5ac7a2(0x24f)]())),_0x23285d=new _0x51fb07(_0x266fc4,null,_0x51a018,_0xdd483e[_0x5ac7a2(0x22d)],!0x0,_0xfeaa4++);_0x5e3a31[_0x5ac7a2(0x20c)](_0x23285d);}}if(_0x2bed9b)for(const [_0x2c8317,_0x10cc75]of Object[_0x5ac7a2(0x212)](_0x2bed9b)){const _0x3d7189=_0xdd483e[_0x5ac7a2(0x19b)][_0x5ac7a2(0x16b)](_0x2c8317);if(!_0x3d7189)throw new _0x4aa1fc(_0x5ac7a2(0x1ad),null);for(const [_0x579c4e,_0x370d2c]of Object[_0x5ac7a2(0x212)](_0x10cc75))if(null!==_0x370d2c){const _0x488eda=new _0xc2e029(_0x3d7189,_0x579c4e,null,_0x370d2c,_0xfeaa4++);_0x5e3a31[_0x5ac7a2(0x20c)](_0x488eda);}}return _0x5e3a31;}async[_0x594143(0x197)](_0x1c9e42,_0x68197c,_0x4cc04d){const _0x5d784e=_0x594143;this[_0x5d784e(0x244)]({[_0x1c9e42]:_0x68197c},{[_0x1c9e42]:_0x4cc04d})[_0x5d784e(0x1c6)]((_0x7bb83,_0x66aa34)=>{const _0x2a4f12=_0x5d784e;_0x7bb83[_0x2a4f12(0x188)]=this[_0x2a4f12(0x224)][_0x2a4f12(0x1db)]+_0x66aa34,_0x7bb83[_0x2a4f12(0x1fb)]=!0x0,this[_0x2a4f12(0x1c3)](_0x7bb83);}),this[_0x5d784e(0x20d)](),await this[_0x5d784e(0x181)]();}async[_0x594143(0x199)](_0xc9e0f2,_0x4e64b8){const _0x38e370=_0x594143;let _0xf2f8fa;this[_0x38e370(0x1a4)]=_0xc9e0f2[_0x38e370(0x25b)];const _0x15a557=_0xc9e0f2[_0x38e370(0x15b)]&&!_0xc9e0f2[_0x38e370(0x19e)],_0x59f2bf=_0x15a557?0x0:_0xc9e0f2[_0x38e370(0x21e)][_0x38e370(0x188)];if(_0x4e64b8[_0x38e370(0x1c6)](_0x378a56=>{const _0x17bb09=_0x38e370;_0x378a56[_0x17bb09(0x1fb)]=!0x0,_0x378a56[_0x17bb09(0x239)]=_0xc9e0f2[_0x17bb09(0x243)],_0x378a56[_0x17bb09(0x174)]=null;}),_0x15a557)_0xf2f8fa=_0x4e64b8,this[_0x38e370(0x259)](_0xf2f8fa,_0x15a557);else{if(_0xc9e0f2[_0x38e370(0x19e)]){const _0x1c24df=this[_0x38e370(0x244)](_0xc9e0f2[_0x38e370(0x19e)]);this[_0x38e370(0x224)][_0x38e370(0x229)][_0x38e370(0x1db)]=-_0x1c24df[_0x38e370(0x160)],_0x1c24df[_0x38e370(0x1c6)](_0x3a2870=>{const _0x312b11=_0x38e370;_0x3a2870[_0x312b11(0x188)]-=_0x1c24df[_0x312b11(0x160)],_0x3a2870[_0x312b11(0x239)]=_0xc9e0f2[_0x312b11(0x243)],_0x3a2870[_0x312b11(0x1fb)]=!0x0,_0x3a2870[_0x312b11(0x174)]=null;}),this[_0x38e370(0x259)](_0x1c24df,!0x0),this[_0x38e370(0x200)][_0x38e370(0x1db)]=-_0x1c24df[_0x38e370(0x160)]+this[_0x38e370(0x1a4)],this[_0x38e370(0x215)](_0x1c24df);}this[_0x38e370(0x224)][_0x38e370(0x229)][_0x38e370(0x1db)]=_0x59f2bf,_0xf2f8fa=this[_0x38e370(0x1c8)](_0xc9e0f2[_0x38e370(0x21e)],_0xc9e0f2[_0x38e370(0x22e)]),await this[_0x38e370(0x235)](_0xf2f8fa),this[_0x38e370(0x259)](_0xf2f8fa,_0x15a557);}_0xc9e0f2[_0x38e370(0x21f)]&&(this[_0x38e370(0x195)][_0x38e370(0x17e)](_0xf2f8fa,_0xc9e0f2[_0x38e370(0x21f)]),this[_0x38e370(0x253)]=_0xc9e0f2[_0x38e370(0x21f)]),this[_0x38e370(0x200)][_0x38e370(0x1db)]=_0x59f2bf+this[_0x38e370(0x1a4)],this[_0x38e370(0x215)](_0xf2f8fa),_0x4e64b8[_0x38e370(0x1cc)](_0x26a6e8=>{const _0x16e250=_0x38e370,_0x49f9b3=this[_0x16e250(0x240)](_0x26a6e8);return _0x49f9b3&&!this[_0x16e250(0x1d4)][_0x16e250(0x23c)](_0x49f9b3);})[_0x38e370(0x1c6)]((_0x28e15b,_0x335475)=>{const _0x1a3e86=_0x38e370;_0x28e15b[_0x1a3e86(0x188)]=this[_0x1a3e86(0x224)][_0x1a3e86(0x1db)]+_0x335475,this[_0x1a3e86(0x1c3)](_0x28e15b);}),this[_0x38e370(0x1ba)]()?(this[_0x38e370(0x1f1)]=0x0,this[_0x38e370(0x20d)](!0x0),await this[_0x38e370(0x181)]()):(this[_0x38e370(0x209)]=!0x1,this[_0x38e370(0x17b)]());}[_0x594143(0x18d)](_0x21aff5,_0x2148fc){const _0x1a821c=_0x594143,_0x2bf9f2=_0x2148fc&&_0x2148fc[_0x1a821c(0x186)];if(_0x2bf9f2&&_0x2bf9f2[_0x1a821c(0x254)](_0x1a821c(0x16c)))throw _0x2148fc;const _0x1bc775=this[_0x1a821c(0x1e8)][_0x1a821c(0x213)][_0x1a821c(0x23b)](_0x321f45);throw this[_0x1a821c(0x209)]=!0x0,_0x1bc775[_0x1a821c(0x206)](),this[_0x1a821c(0x1e8)][_0x1a821c(0x179)](_0x1a821c(0x1e5)),new _0x4aa1fc(_0x21aff5,this[_0x1a821c(0x1e8)],_0x2bf9f2?{'originalError':_0x2bf9f2}:void 0x0);}[_0x594143(0x1c3)](_0x5460ba){const _0x4a22a0=_0x594143;this[_0x4a22a0(0x162)][_0x4a22a0(0x23c)](_0x5460ba)||(this[_0x4a22a0(0x162)][_0x4a22a0(0x20b)](_0x5460ba),this[_0x4a22a0(0x189)][_0x4a22a0(0x20c)](_0x5460ba),this[_0x4a22a0(0x191)]||_0x4a22a0(0x1d2)==_0x5460ba[_0x4a22a0(0x1fe)]&&!_0x5460ba[_0x4a22a0(0x1ac)]||this[_0x4a22a0(0x21d)]());}[_0x594143(0x20d)](_0x4200d8=!0x1){const _0x2a3072=_0x594143;!_0x4200d8&&this[_0x2a3072(0x209)]||(this[_0x2a3072(0x209)]=!0x0,clearTimeout(this[_0x2a3072(0x219)]),this[_0x2a3072(0x219)]=setTimeout(()=>{const _0x27caf4=_0x2a3072;this[_0x27caf4(0x1cf)]()[_0x27caf4(0x1be)](_0x3507f8=>{const _0x2be942=_0x27caf4;_0x3507f8&&(this[_0x2be942(0x17b)](),this[_0x2be942(0x209)]=!0x1);})[_0x27caf4(0x1f7)](_0x176ddc=>{const _0x1b330c=_0x27caf4;this[_0x1b330c(0x17b)](),this[_0x1b330c(0x209)]=!0x1,function(_0x3e753e){const _0x58acc3=_0x1b330c;return _0x3e753e[_0x58acc3(0x186)][_0x58acc3(0x254)](_0x58acc3(0x21c))||_0x3e753e[_0x58acc3(0x186)][_0x58acc3(0x254)](_0x58acc3(0x226))||_0x3e753e[_0x58acc3(0x186)][_0x58acc3(0x254)](_0x58acc3(0x1b8));}(_0x176ddc)||this[_0x1b330c(0x18d)](_0x176ddc[_0x1b330c(0x186)],_0x176ddc);});},this[_0x2a3072(0x1f1)]));}[_0x594143(0x181)](){return new Promise(_0x511793=>{const _0x3178a6=_0x1fbc;this['on'](_0x3178a6(0x1a5),()=>{_0x511793();});});}async[_0x594143(0x1cf)](){const _0x5e6b6d=_0x594143,_0x572fe7=this[_0x5e6b6d(0x1e8)][_0x5e6b6d(0x213)][_0x5e6b6d(0x23b)](_0x5aebc7);if(this[_0x5e6b6d(0x218)]()&&(_0x572fe7[_0x5e6b6d(0x22f)](),this[_0x5e6b6d(0x221)]=!0x1),!this[_0x5e6b6d(0x1ba)]())return!0x0;const _0xb4720b=[...this[_0x5e6b6d(0x189)]];for(const _0xf14ccf of _0xb4720b)_0xf14ccf[_0x5e6b6d(0x19c)]=this[_0x5e6b6d(0x224)][_0x5e6b6d(0x229)][_0x5e6b6d(0x1ab)](_0xf14ccf);const _0x1a7d98=this[_0x5e6b6d(0x195)][_0x5e6b6d(0x256)](_0xb4720b),_0x16edf=Q++,_0x222719=this[_0x5e6b6d(0x163)](_0xb4720b),_0x4ff2ba=await this[_0x5e6b6d(0x204)][_0x5e6b6d(0x21b)](_0x222719,_0x222719[_0x5e6b6d(0x188)],_0x1a7d98);try{return await this[_0x5e6b6d(0x22a)](_0xb4720b,_0x4ff2ba,_0x16edf);}catch(_0x525dc3){return this[_0x5e6b6d(0x18d)](_0x5e6b6d(0x1bd),_0x525dc3);}}async[_0x594143(0x22a)](_0xe32b96,_0x18074b,_0xea0a35){const _0x4a3620=_0x594143;if(_0x4a3620(0x25d)in _0x18074b)throw _0x18074b[_0x4a3620(0x25d)];let _0x5c5012=!0x1;if(_0x18074b[_0x4a3620(0x15b)]){_0x18074b[_0x4a3620(0x21f)]&&(this[_0x4a3620(0x253)]=_0x18074b[_0x4a3620(0x21f)]),this[_0x4a3620(0x189)]=this[_0x4a3620(0x189)][_0x4a3620(0x1cc)](_0xf5c0ba=>!_0xe32b96[_0x4a3620(0x17a)](_0xf5c0ba));for(const _0x543ee7 of _0xe32b96)_0x543ee7[_0x4a3620(0x239)]=_0x4a3620(0x202)in _0x18074b&&_0x18074b[_0x4a3620(0x202)]||void 0x0;X(_0xe32b96,_0x18074b[_0x4a3620(0x1db)]-_0xe32b96[_0x4a3620(0x160)]),this[_0x4a3620(0x215)](_0xe32b96);const _0xfd9c10=_0xe32b96[_0x4a3620(0x1cc)](_0x44b35e=>{const _0x3fa57c=_0x4a3620;if(!_0x44b35e[_0x3fa57c(0x1fb)])return!0x1;const _0x490782=this[_0x3fa57c(0x240)](_0x44b35e);return _0x490782&&!this[_0x3fa57c(0x1d4)][_0x3fa57c(0x23c)](_0x490782);});X(_0xfd9c10,this[_0x4a3620(0x224)][_0x4a3620(0x1db)]),this[_0x4a3620(0x259)](_0xfd9c10),_0x5c5012=!0x0,this[_0x4a3620(0x1f1)]=this[_0x4a3620(0x194)];}else{const _0x486d8c=this[_0x4a3620(0x1c8)](_0x18074b[_0x4a3620(0x21e)],_0x18074b[_0x4a3620(0x22e)])[_0x4a3620(0x1cc)](_0x993891=>_0x993891[_0x4a3620(0x188)]>=this[_0x4a3620(0x1a7)]);_0x486d8c[_0x4a3620(0x1c6)](_0x457769=>this[_0x4a3620(0x238)](_0x457769)),this[_0x4a3620(0x189)]=this[_0x4a3620(0x189)][_0x4a3620(0x1cc)](_0x182883=>!_0x182883[_0x4a3620(0x1fb)]||!this[_0x4a3620(0x1d4)][_0x4a3620(0x23c)](this[_0x4a3620(0x240)](_0x182883))),this[_0x4a3620(0x189)][_0x4a3620(0x160)]&&X(this[_0x4a3620(0x189)],this[_0x4a3620(0x189)][0x0][_0x4a3620(0x188)]),await this[_0x4a3620(0x235)](_0x486d8c),_0x5c5012=this[_0x4a3620(0x201)](_0x486d8c,_0x18074b[_0x4a3620(0x1db)],_0x18074b[_0x4a3620(0x21f)]),this[_0x4a3620(0x1f1)]=Math[_0x4a3620(0x16f)](this[_0x4a3620(0x1f1)]/0x2);}return _0x5c5012?!this[_0x4a3620(0x1ba)]()||(this[_0x4a3620(0x20d)](!0x0),!0x1):this[_0x4a3620(0x18d)](_0x4a3620(0x1bc));}[_0x594143(0x201)](_0x4912ed,_0x4e2e7a,_0x4be1c4){const _0x247761=_0x594143;try{const _0x57c87b={'document':this[_0x247761(0x224)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3675a1,operationsB:_0x1aa382,originalOperations:_0x2f019b}=_0x3f9b98(_0x4912ed,this[_0x247761(0x189)],_0x57c87b);X(_0x3675a1,this[_0x247761(0x224)][_0x247761(0x1db)]),X(_0x1aa382,_0x4e2e7a);for(const _0x3d04da of _0x3675a1){const _0x36f144=_0x2f019b[_0x247761(0x23b)](_0x3d04da);_0x3d04da[_0x247761(0x174)]=_0x36f144?_0x36f144[_0x247761(0x174)]:null;}_0x4be1c4&&(this[_0x247761(0x195)][_0x247761(0x17e)](_0x4912ed,_0x4be1c4),this[_0x247761(0x253)]=_0x4be1c4),this[_0x247761(0x189)]=[..._0x1aa382],this[_0x247761(0x259)](_0x3675a1),this[_0x247761(0x215)](_0x4912ed);}catch(_0x13f6fc){return console[_0x247761(0x25d)](_0x13f6fc),!0x1;}return!0x0;}[_0x594143(0x259)](_0x314e5b,_0x46b063=!0x1){const _0x2b76c9=_0x594143;this[_0x2b76c9(0x1e8)][_0x2b76c9(0x220)][_0x2b76c9(0x172)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5ca6d5=>{const _0x5da2ec=_0x2b76c9;for(const _0x79856f of _0x314e5b)this[_0x5da2ec(0x162)][_0x5da2ec(0x20b)](_0x79856f),this[_0x5da2ec(0x238)](_0x79856f),_0x5ca6d5[_0x5da2ec(0x1a9)][_0x5da2ec(0x20e)](_0x79856f),this[_0x5da2ec(0x1e8)][_0x5da2ec(0x220)][_0x5da2ec(0x1d0)](_0x79856f);});}[_0x594143(0x238)](_0xce9ed7){const _0x46e165=_0x594143,_0x570522=this[_0x46e165(0x240)](_0xce9ed7);_0x570522&&this[_0x46e165(0x1d4)][_0x46e165(0x20b)](_0x570522);}[_0x594143(0x240)](_0x76c28b){const _0x59538c=_0x594143;let _0x2cd09a,_0x375e92;switch(_0x76c28b[_0x59538c(0x1fe)]){case _0x59538c(0x242):_0x2cd09a=_0x76c28b[_0x59538c(0x1fd)][_0x59538c(0x246)];break;case _0x59538c(0x1d2):if(_0x375e92=_0x76c28b[_0x59538c(0x234)],!_0x375e92)return null;_0x2cd09a=_0x375e92[_0x59538c(0x246)];break;case _0x59538c(0x1e0):_0x2cd09a=_0x76c28b[_0x59538c(0x246)];break;case _0x59538c(0x161):_0x2cd09a=_0x76c28b[_0x59538c(0x17c)];break;case _0x59538c(0x216):_0x2cd09a=_0x76c28b[_0x59538c(0x1d3)][_0x59538c(0x246)];break;default:return null;}return _0x2cd09a[_0x59538c(0x1b2)];}[_0x594143(0x215)](_0x1106d7){const _0xa54ac2=_0x594143;_0x1106d7[_0xa54ac2(0x1c6)](_0x3d57b2=>{const _0x588558=_0xa54ac2,_0x1ddf8d=_0x3d57b2[_0x588558(0x205)]();_0x1ddf8d[_0x588558(0x174)]=_0x3d57b2[_0x588558(0x174)],_0x1ddf8d[_0x588558(0x1fb)]=!!_0x3d57b2[_0x588558(0x1fb)],_0x1ddf8d[_0x588558(0x239)]=_0x3d57b2[_0x588558(0x239)],_0x1ddf8d[_0x588558(0x188)]+=this[_0x588558(0x1a4)],_0x3d57b2[_0x588558(0x1a3)]&&this[_0x588558(0x255)][_0x588558(0x20b)](_0x1ddf8d),this[_0x588558(0x200)][_0x588558(0x20e)](_0x1ddf8d);});}[_0x594143(0x23a)](_0x162aa4){const _0x5e18f5=_0x594143,_0x423b88=this[_0x5e18f5(0x1e8)][_0x5e18f5(0x213)][_0x5e18f5(0x23b)](_0x5e18f5(0x241)),_0x9850ba=this[_0x5e18f5(0x1e8)][_0x5e18f5(0x1ef)];_0x162aa4||(_0x162aa4=_0x5d7e9e(_0x9850ba,_0x5e18f5(0x1a2))),_0x423b88[_0x5e18f5(0x175)](_0x162aa4,{'title':_0x5d7e9e(_0x9850ba,_0x5e18f5(0x207)),'namespace':_0x5e18f5(0x1df)}),this[_0x5e18f5(0x1c5)]=!0x0,clearTimeout(this[_0x5e18f5(0x219)]),this[_0x5e18f5(0x189)]=[],this[_0x5e18f5(0x1e8)][_0x5e18f5(0x213)][_0x5e18f5(0x23b)](_0x321f45)[_0x5e18f5(0x206)]();}[_0x594143(0x21d)](){const _0x41e965=_0x594143;this[_0x41e965(0x191)]||(this[_0x41e965(0x191)]=this[_0x41e965(0x1e8)][_0x41e965(0x213)][_0x41e965(0x23b)](_0xbb91af)[_0x41e965(0x20b)](_0x5d7e9e(this[_0x41e965(0x1e8)][_0x41e965(0x1ef)],_0x41e965(0x1a6))));}[_0x594143(0x17b)](){const _0x4b60d9=_0x594143;this[_0x4b60d9(0x191)]&&(this[_0x4b60d9(0x1e8)][_0x4b60d9(0x213)][_0x4b60d9(0x23b)](_0xbb91af)[_0x4b60d9(0x1cd)](this[_0x4b60d9(0x191)]),this[_0x4b60d9(0x191)]=null);}[_0x594143(0x163)](_0x34258f){const _0x296c03=_0x594143,_0x2be06e=_0x34258f[_0x296c03(0x1c0)](_0x5afe29=>_0x5afe29[_0x296c03(0x173)]());return this[_0x296c03(0x168)][_0x296c03(0x19d)](_0x2be06e);}[_0x594143(0x1c8)](_0x510706,_0x4dfdf9){const _0x1d2492=_0x594143;return this[_0x1d2492(0x168)][_0x1d2492(0x1e2)](_0x510706)[_0x1d2492(0x1c0)]((_0x547ff0,_0x177853)=>{const _0x57209c=_0x1d2492,_0x4e254d=_0x57209c(0x25a)==_0x4dfdf9[_0x177853][_0x57209c(0x1fe)];if(_0x57209c(0x16d)==_0x547ff0[_0x57209c(0x1ec)]){const _0x1511ff=_0x547ff0[_0x57209c(0x1fd)][_0x57209c(0x246)];!this[_0x57209c(0x224)][_0x57209c(0x16b)](_0x1511ff)&&(this[_0x57209c(0x224)][_0x57209c(0x1a8)](_0x57209c(0x1e3),_0x1511ff)[_0x57209c(0x15e)]=!0x1);}const _0x111bcc=_0x57d5c7[_0x57209c(0x1c9)](_0x547ff0,this[_0x57209c(0x224)]);return _0x111bcc[_0x57209c(0x19c)]=_0x547ff0[_0x57209c(0x19c)],_0x111bcc[_0x57209c(0x1fb)]=_0x4e254d,_0x111bcc[_0x57209c(0x174)]=_0x4e254d?null:_0x4dfdf9[_0x177853][_0x57209c(0x23f)],_0x111bcc[_0x57209c(0x1a3)]=_0x57209c(0x1b5)===_0x4dfdf9[_0x177853][_0x57209c(0x1fe)],_0x111bcc[_0x57209c(0x239)]=_0x4dfdf9[_0x177853][_0x57209c(0x239)],_0x111bcc;});}[_0x594143(0x1f5)](){const _0x5805cf=_0x594143;this[_0x5805cf(0x221)]=!0x0,this[_0x5805cf(0x218)]()?this[_0x5805cf(0x20d)]():this[_0x5805cf(0x221)]=!0x1;}[_0x594143(0x218)](){const _0x2894bb=_0x594143,_0x295156=this[_0x2894bb(0x1e8)][_0x2894bb(0x213)][_0x2894bb(0x23b)](_0x2545ad)[_0x2894bb(0x1ea)][_0x2894bb(0x23b)](this[_0x2894bb(0x171)]);return!this[_0x2894bb(0x1e8)][_0x2894bb(0x1e6)]&&!!_0x295156&&_0x295156[_0x2894bb(0x160)]>0x1&&this[_0x2894bb(0x221)];}[_0x594143(0x1ba)](){const _0x254eaa=_0x594143;return this[_0x254eaa(0x189)][_0x254eaa(0x160)]>0x0||this[_0x254eaa(0x218)]();}}class ReconnectionError extends Error{}function X(_0xcea300,_0x46b879){const _0x335eb1=_0x594143;for(const _0x5d7e65 of _0xcea300)_0x5d7e65[_0x335eb1(0x188)]=_0x46b879++;}class OperationIdentifier{[_0x594143(0x1a1)];[_0x594143(0x1b0)];constructor(_0x3b2644){const _0x1fb304=_0x594143;this[_0x1fb304(0x1a1)]=_0x3b2644,this[_0x1fb304(0x1b0)]=new WeakMap();}[_0x594143(0x256)](_0x304b9d){const _0x2a4320=_0x594143;let _0x143ba8=_0x304b9d[_0x2a4320(0x160)];for(;_0x143ba8--;){const _0x581891=_0x304b9d[_0x143ba8];if(!this[_0x2a4320(0x1a1)][_0x2a4320(0x23c)](_0x581891)){if(!this[_0x2a4320(0x1b0)][_0x2a4320(0x23c)](_0x581891)){const _0x17e9d9=_0x4367d1()[_0x2a4320(0x24f)](0x1,0x12);this[_0x2a4320(0x1b0)][_0x2a4320(0x166)](_0x581891,_0x17e9d9);}return this[_0x2a4320(0x1b0)][_0x2a4320(0x23b)](_0x581891);}}}[_0x594143(0x17e)](_0x2699eb,_0x21f643){const _0x3bfd32=_0x594143;if(!_0x21f643)return;let _0x42698f=_0x2699eb[_0x3bfd32(0x160)];for(;_0x42698f--;){const _0x50e8d8=_0x2699eb[_0x42698f];this[_0x3bfd32(0x1a1)][_0x3bfd32(0x23c)](_0x50e8d8)||this[_0x3bfd32(0x1b0)][_0x3bfd32(0x166)](_0x50e8d8,_0x21f643);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4cb4(_0x854023,_0x393023){const _0x4b099d=_0x4b09();return _0x4cb4=function(_0x4cb4db,_0x1a66a7){_0x4cb4db=_0x4cb4db-0x1ac;let _0x3f057d=_0x4b099d[_0x4cb4db];return _0x3f057d;},_0x4cb4(_0x854023,_0x393023);}const _0x133b92=_0x4cb4;(function(_0x192711,_0x44c6f0){const _0x2bd0f7=_0x4cb4,_0x4e812a=_0x192711();while(!![]){try{const _0x315cca=-parseInt(_0x2bd0f7(0x1cc))/0x1+parseInt(_0x2bd0f7(0x1d0))/0x2*(parseInt(_0x2bd0f7(0x1b4))/0x3)+-parseInt(_0x2bd0f7(0x1c0))/0x4*(-parseInt(_0x2bd0f7(0x1df))/0x5)+parseInt(_0x2bd0f7(0x1bd))/0x6+-parseInt(_0x2bd0f7(0x1dd))/0x7*(parseInt(_0x2bd0f7(0x1dc))/0x8)+-parseInt(_0x2bd0f7(0x1b1))/0x9+parseInt(_0x2bd0f7(0x1d9))/0xa;if(_0x315cca===_0x44c6f0)break;else _0x4e812a['push'](_0x4e812a['shift']());}catch(_0x4ee56f){_0x4e812a['push'](_0x4e812a['shift']());}}}(_0x4b09,0xcbbb3));import{ContextPlugin as _0x53d5fa}from'ckeditor5/src/core.js';import{Collection as _0x13f51c,CKEditorError as _0x3bda3e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x446e2b}from'./websocketgateway.js';function _0x4b09(){const _0x3e9375=['unregister','assign','20492370svdZcv','requires','_uniqueUsersCount','312PCeHzI','209783ojbkDD','addUser','5CimvKK','context','forEach','state','getUser','role','change:state','_createUser','connection','sessionAdd:','Sessions','sessions-register-already-registered','stopListening','set','register','orderNumber','init','1341198EdqnzA','defineMe','user','24BAsQxR','isOfficialPlugin','connected','isMe','has','listenTo','sessionId','fire','channelConnectedUsers','2077938ZZRHWs','isPremiumPlugin','getUserSessions','556916sMuHDP','get','getUserBySessionId','remove','clear','_registeredSessions','sessions-unregister-not-exist','_handleSessionRemove','allConnectedUsers','_users','size','_handleSessionAdd','1200149MiYlka','values','plugins','add','204414yGTJwX','delete','pluginName','getUserRole','channelSessions','hiddenInPresenceList','mySessionId'];_0x4b09=function(){return _0x3e9375;};return _0x4b09();}import{Users as _0x18d0c4}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x53d5fa{[_0x133b92(0x1d4)];[_0x133b92(0x1bc)];[_0x133b92(0x1c8)];[_0x133b92(0x1c5)];[_0x133b92(0x1db)];[_0x133b92(0x1c9)];static get[_0x133b92(0x1d2)](){const _0x3d2c69=_0x133b92;return _0x3d2c69(0x1e9);}static get[_0x133b92(0x1b5)](){return!0x0;}static get[_0x133b92(0x1be)](){return!0x0;}static get[_0x133b92(0x1da)](){return[_0x446e2b,_0x18d0c4];}constructor(_0x4d01a0){const _0x15d087=_0x133b92;super(_0x4d01a0),this[_0x15d087(0x1d4)]=new Map(),this[_0x15d087(0x1bc)]=new Map(),this[_0x15d087(0x1c8)]=new _0x13f51c(),this[_0x15d087(0x1c5)]=new Map(),this[_0x15d087(0x1db)]=0x0,this[_0x15d087(0x1c9)]=this[_0x15d087(0x1e0)][_0x15d087(0x1ce)][_0x15d087(0x1c1)](_0x18d0c4);}[_0x133b92(0x1b0)](){const _0x37cf51=_0x133b92,_0x6ad37d=this[_0x37cf51(0x1e0)][_0x37cf51(0x1ce)][_0x37cf51(0x1c1)](_0x446e2b);this[_0x37cf51(0x1b9)](_0x6ad37d,_0x37cf51(0x1e5),(_0x42c724,_0x1665d7,_0x17e0fe)=>{const _0x143162=_0x37cf51;if(_0x143162(0x1b6)!==_0x17e0fe)this[_0x143162(0x1d4)][_0x143162(0x1e1)](_0x18ab6c=>_0x18ab6c[_0x143162(0x1c4)]()),this[_0x143162(0x1bc)][_0x143162(0x1e1)](_0x20581c=>_0x20581c[_0x143162(0x1c4)]()),this[_0x143162(0x1c8)][_0x143162(0x1c4)]();else{for(const [_0x5d9458,_0x4491b6]of this[_0x143162(0x1c5)])for(const _0x296891 of _0x4491b6)this[_0x143162(0x1cb)](_0x5d9458,_0x296891);}}),this[_0x37cf51(0x1e6)](_0x6ad37d[_0x37cf51(0x1e7)]['me'],!0x0);}[_0x133b92(0x1ae)](_0x429597,_0x4cd5db){const _0x38efff=_0x133b92;if(this[_0x38efff(0x1c5)][_0x38efff(0x1b8)](_0x429597))throw new _0x3bda3e(_0x38efff(0x1ea),null,{'channelId':_0x429597});this[_0x38efff(0x1c5)][_0x38efff(0x1ad)](_0x429597,_0x4cd5db),this[_0x38efff(0x1d4)][_0x38efff(0x1ad)](_0x429597,new _0x13f51c()),this[_0x38efff(0x1bc)][_0x38efff(0x1ad)](_0x429597,new _0x13f51c()),this[_0x38efff(0x1b9)](_0x4cd5db,_0x38efff(0x1cf),(_0x3ca983,_0x1649bb)=>this[_0x38efff(0x1cb)](_0x429597,_0x1649bb)),this[_0x38efff(0x1b9)](_0x4cd5db,_0x38efff(0x1c3),(_0xe69b7f,_0xb874bd)=>this[_0x38efff(0x1c7)](_0x429597,_0xb874bd));for(const _0x315f2f of _0x4cd5db)this[_0x38efff(0x1cb)](_0x429597,_0x315f2f);}[_0x133b92(0x1d7)](_0x408a19){const _0x3dc240=_0x133b92;if(!this[_0x3dc240(0x1c5)][_0x3dc240(0x1b8)](_0x408a19))throw new _0x3bda3e(_0x3dc240(0x1c6),null,{'channelId':_0x408a19});const _0x522d8f=this[_0x3dc240(0x1c5)][_0x3dc240(0x1c1)](_0x408a19);this[_0x3dc240(0x1ac)](_0x522d8f);for(const _0x6ac1e3 of _0x522d8f)_0x3dc240(0x1b6)===this[_0x3dc240(0x1e0)][_0x3dc240(0x1ce)][_0x3dc240(0x1c1)](_0x446e2b)[_0x3dc240(0x1e2)]&&this[_0x3dc240(0x1c7)](_0x408a19,_0x6ac1e3);this[_0x3dc240(0x1c5)][_0x3dc240(0x1d1)](_0x408a19),this[_0x3dc240(0x1d4)][_0x3dc240(0x1d1)](_0x408a19),this[_0x3dc240(0x1bc)][_0x3dc240(0x1d1)](_0x408a19);}get[_0x133b92(0x1d6)](){const _0x5f4eb2=_0x133b92;return this[_0x5f4eb2(0x1e0)][_0x5f4eb2(0x1ce)][_0x5f4eb2(0x1c1)](_0x446e2b)[_0x5f4eb2(0x1e7)][_0x5f4eb2(0x1ba)];}[_0x133b92(0x1c2)](_0x2bebc4){const _0x4c5466=_0x133b92;for(const _0x11f0d0 of this[_0x4c5466(0x1d4)][_0x4c5466(0x1cd)]())for(const _0x3d68e7 of _0x11f0d0)if(_0x3d68e7['id']===_0x2bebc4)return _0x3d68e7[_0x4c5466(0x1b3)];}[_0x133b92(0x1bf)](_0x1a4b80,_0x3c677c){const _0x1b6858=_0x133b92,_0x12079b=_0x3c677c?[this[_0x1b6858(0x1d4)][_0x1b6858(0x1c1)](_0x3c677c)]:this[_0x1b6858(0x1d4)][_0x1b6858(0x1cd)](),_0x11085d=new Set();for(const _0x2df627 of _0x12079b)for(const _0x11c9c0 of _0x2df627)_0x11c9c0[_0x1b6858(0x1b3)]['id']===_0x1a4b80['id']&&_0x11085d[_0x1b6858(0x1cf)](_0x11c9c0['id']);return _0x11085d;}[_0x133b92(0x1d3)](_0x5d6639){const _0x5071f1=_0x133b92;for(const _0x24aeec of this[_0x5071f1(0x1d4)][_0x5071f1(0x1cd)]())for(const _0x45ab97 of _0x24aeec)if(_0x45ab97[_0x5071f1(0x1b3)]===_0x5d6639)return _0x45ab97[_0x5071f1(0x1e4)];}[_0x133b92(0x1cb)](_0x24ff8a,_0x3d80e4){const _0x4d2ac6=_0x133b92;if(_0x4d2ac6(0x1b6)!==this[_0x4d2ac6(0x1e0)][_0x4d2ac6(0x1ce)][_0x4d2ac6(0x1c1)](_0x446e2b)[_0x4d2ac6(0x1e2)])return;const _0x390ef6=_0x3d80e4[_0x4d2ac6(0x1b3)],_0x3b3c81=this[_0x4d2ac6(0x1c9)][_0x4d2ac6(0x1e3)](_0x390ef6['id'])||this[_0x4d2ac6(0x1e6)](_0x390ef6),_0x5dbc86=Object[_0x4d2ac6(0x1d8)]({},_0x3d80e4,{'user':_0x3b3c81});if(this[_0x4d2ac6(0x1d4)][_0x4d2ac6(0x1c1)](_0x24ff8a)[_0x4d2ac6(0x1cf)](_0x5dbc86),!_0x390ef6[_0x4d2ac6(0x1d5)]){const _0x3e577a=this[_0x4d2ac6(0x1bc)][_0x4d2ac6(0x1c1)](_0x24ff8a);_0x3e577a[_0x4d2ac6(0x1b8)](_0x3b3c81['id'])||_0x3e577a[_0x4d2ac6(0x1cf)](_0x3b3c81),this[_0x4d2ac6(0x1c8)][_0x4d2ac6(0x1b8)](_0x3b3c81['id'])||_0x390ef6[_0x4d2ac6(0x1d5)]||this[_0x4d2ac6(0x1c8)][_0x4d2ac6(0x1cf)](_0x3b3c81,_0x3b3c81[_0x4d2ac6(0x1b7)]?0x0:void 0x0);}this[_0x4d2ac6(0x1bb)](_0x4d2ac6(0x1e8)+_0x24ff8a,{'channelId':_0x24ff8a,'session':_0x5dbc86});}[_0x133b92(0x1c7)](_0x2b40ec,_0x48f28e){const _0x47ae6f=_0x133b92;if(_0x47ae6f(0x1b6)!==this[_0x47ae6f(0x1e0)][_0x47ae6f(0x1ce)][_0x47ae6f(0x1c1)](_0x446e2b)[_0x47ae6f(0x1e2)])return;const _0x5928e9=this[_0x47ae6f(0x1bc)][_0x47ae6f(0x1c1)](_0x2b40ec),_0x34ca35=_0x48f28e[_0x47ae6f(0x1b3)];_0x34ca35['id']&&(this[_0x47ae6f(0x1d4)][_0x47ae6f(0x1c1)](_0x2b40ec)[_0x47ae6f(0x1c3)](_0x48f28e['id']),_0x5928e9[_0x47ae6f(0x1b8)](_0x34ca35['id'])&&!this[_0x47ae6f(0x1bf)](_0x34ca35,_0x2b40ec)[_0x47ae6f(0x1ca)]&&_0x5928e9[_0x47ae6f(0x1c3)](_0x34ca35['id']),this[_0x47ae6f(0x1c8)][_0x47ae6f(0x1c1)](_0x34ca35['id'])&&!this[_0x47ae6f(0x1bf)](_0x34ca35)[_0x47ae6f(0x1ca)]&&this[_0x47ae6f(0x1c8)][_0x47ae6f(0x1c3)](_0x34ca35['id']));}[_0x133b92(0x1e6)](_0x546b36,_0x1c7c9c){const _0x24c499=_0x133b92,_0x51062a=this[_0x24c499(0x1c9)][_0x24c499(0x1de)](_0x546b36);return _0x1c7c9c&&this[_0x24c499(0x1c9)][_0x24c499(0x1b2)](_0x546b36['id']),_0x51062a[_0x24c499(0x1af)]=this[_0x24c499(0x1db)]++,_0x51062a;}}
23
+ const _0x2054dc=_0x2361;(function(_0x511172,_0x377d23){const _0xb04f7b=_0x2361,_0x39ed00=_0x511172();while(!![]){try{const _0x3c5381=-parseInt(_0xb04f7b(0x78))/0x1*(-parseInt(_0xb04f7b(0x9e))/0x2)+parseInt(_0xb04f7b(0x9b))/0x3*(-parseInt(_0xb04f7b(0x94))/0x4)+parseInt(_0xb04f7b(0xa1))/0x5+-parseInt(_0xb04f7b(0xae))/0x6+parseInt(_0xb04f7b(0x83))/0x7*(-parseInt(_0xb04f7b(0xac))/0x8)+-parseInt(_0xb04f7b(0x75))/0x9+-parseInt(_0xb04f7b(0x9a))/0xa*(-parseInt(_0xb04f7b(0xab))/0xb);if(_0x3c5381===_0x377d23)break;else _0x39ed00['push'](_0x39ed00['shift']());}catch(_0xfe4596){_0x39ed00['push'](_0x39ed00['shift']());}}}(_0x5e91,0x66f2d));import{ContextPlugin as _0x2224a8}from'ckeditor5/src/core.js';import{Collection as _0x181152,CKEditorError as _0x56d014}from'ckeditor5/src/utils.js';function _0x5e91(){const _0x256d1d=['sessions-register-already-registered','channelConnectedUsers','forEach','133476WibZGK','change:state','_createUser','sessions-unregister-not-exist','hiddenInPresenceList','unregister','remove','user','connection','_uniqueUsersCount','addUser','mySessionId','register','sessionAdd:','getUser','_registeredSessions','orderNumber','372quaAug','delete','add','isMe','size','connected','19061170vAHPfC','25509bfKIcX','listenTo','clear','180rVLuDV','isOfficialPlugin','role','803120fvEdbI','init','_users','_handleSessionAdd','values','allConnectedUsers','assign','getUserBySessionId','getUserSessions','plugins','11FqNFIh','248EcFMek','set','4754712aTnxUk','stopListening','_handleSessionRemove','isPremiumPlugin','getUserRole','sessionId','requires','908145NceMVW','get','fire','7002MksIUq','Sessions','has','defineMe','pluginName','channelSessions','state','context'];_0x5e91=function(){return _0x256d1d;};return _0x5e91();}function _0x2361(_0x33da57,_0xe0202f){const _0x5e919e=_0x5e91();return _0x2361=function(_0x2361c6,_0x3fbdb2){_0x2361c6=_0x2361c6-0x74;let _0x57552b=_0x5e919e[_0x2361c6];return _0x57552b;},_0x2361(_0x33da57,_0xe0202f);}import{WebSocketGateway as _0x3819d4}from'./websocketgateway.js';import{Users as _0x587b83}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2224a8{[_0x2054dc(0x7d)];[_0x2054dc(0x81)];[_0x2054dc(0xa6)];[_0x2054dc(0x92)];[_0x2054dc(0x8c)];[_0x2054dc(0xa3)];static get[_0x2054dc(0x7c)](){const _0x1816de=_0x2054dc;return _0x1816de(0x79);}static get[_0x2054dc(0x9f)](){return!0x0;}static get[_0x2054dc(0xb1)](){return!0x0;}static get[_0x2054dc(0x74)](){return[_0x3819d4,_0x587b83];}constructor(_0x1720a3){const _0x231c29=_0x2054dc;super(_0x1720a3),this[_0x231c29(0x7d)]=new Map(),this[_0x231c29(0x81)]=new Map(),this[_0x231c29(0xa6)]=new _0x181152(),this[_0x231c29(0x92)]=new Map(),this[_0x231c29(0x8c)]=0x0,this[_0x231c29(0xa3)]=this[_0x231c29(0x7f)][_0x231c29(0xaa)][_0x231c29(0x76)](_0x587b83);}[_0x2054dc(0xa2)](){const _0x54b150=_0x2054dc,_0x45b952=this[_0x54b150(0x7f)][_0x54b150(0xaa)][_0x54b150(0x76)](_0x3819d4);this[_0x54b150(0x9c)](_0x45b952,_0x54b150(0x84),(_0x28618e,_0x953e17,_0x302425)=>{const _0x2ddfeb=_0x54b150;if(_0x2ddfeb(0x99)!==_0x302425)this[_0x2ddfeb(0x7d)][_0x2ddfeb(0x82)](_0x5690aa=>_0x5690aa[_0x2ddfeb(0x9d)]()),this[_0x2ddfeb(0x81)][_0x2ddfeb(0x82)](_0x1ef14b=>_0x1ef14b[_0x2ddfeb(0x9d)]()),this[_0x2ddfeb(0xa6)][_0x2ddfeb(0x9d)]();else{for(const [_0x41b3be,_0x1b1154]of this[_0x2ddfeb(0x92)])for(const _0x533eed of _0x1b1154)this[_0x2ddfeb(0xa4)](_0x41b3be,_0x533eed);}}),this[_0x54b150(0x85)](_0x45b952[_0x54b150(0x8b)]['me'],!0x0);}[_0x2054dc(0x8f)](_0x507d9b,_0x35e9e6){const _0x57d473=_0x2054dc;if(this[_0x57d473(0x92)][_0x57d473(0x7a)](_0x507d9b))throw new _0x56d014(_0x57d473(0x80),null,{'channelId':_0x507d9b});this[_0x57d473(0x92)][_0x57d473(0xad)](_0x507d9b,_0x35e9e6),this[_0x57d473(0x7d)][_0x57d473(0xad)](_0x507d9b,new _0x181152()),this[_0x57d473(0x81)][_0x57d473(0xad)](_0x507d9b,new _0x181152()),this[_0x57d473(0x9c)](_0x35e9e6,_0x57d473(0x96),(_0xbc9cdd,_0xcce6fa)=>this[_0x57d473(0xa4)](_0x507d9b,_0xcce6fa)),this[_0x57d473(0x9c)](_0x35e9e6,_0x57d473(0x89),(_0x584c53,_0x359b04)=>this[_0x57d473(0xb0)](_0x507d9b,_0x359b04));for(const _0x2535eb of _0x35e9e6)this[_0x57d473(0xa4)](_0x507d9b,_0x2535eb);}[_0x2054dc(0x88)](_0x577c36){const _0x969b97=_0x2054dc;if(!this[_0x969b97(0x92)][_0x969b97(0x7a)](_0x577c36))throw new _0x56d014(_0x969b97(0x86),null,{'channelId':_0x577c36});const _0x10dceb=this[_0x969b97(0x92)][_0x969b97(0x76)](_0x577c36);this[_0x969b97(0xaf)](_0x10dceb);for(const _0x50a8fb of _0x10dceb)_0x969b97(0x99)===this[_0x969b97(0x7f)][_0x969b97(0xaa)][_0x969b97(0x76)](_0x3819d4)[_0x969b97(0x7e)]&&this[_0x969b97(0xb0)](_0x577c36,_0x50a8fb);this[_0x969b97(0x92)][_0x969b97(0x95)](_0x577c36),this[_0x969b97(0x7d)][_0x969b97(0x95)](_0x577c36),this[_0x969b97(0x81)][_0x969b97(0x95)](_0x577c36);}get[_0x2054dc(0x8e)](){const _0x130701=_0x2054dc;return this[_0x130701(0x7f)][_0x130701(0xaa)][_0x130701(0x76)](_0x3819d4)[_0x130701(0x8b)][_0x130701(0xb3)];}[_0x2054dc(0xa8)](_0x487b49){const _0x30fb2b=_0x2054dc;for(const _0x24b03b of this[_0x30fb2b(0x7d)][_0x30fb2b(0xa5)]())for(const _0x5f36c8 of _0x24b03b)if(_0x5f36c8['id']===_0x487b49)return _0x5f36c8[_0x30fb2b(0x8a)];}[_0x2054dc(0xa9)](_0x4f8c06,_0x5ee1c3){const _0x15cc54=_0x2054dc,_0x59043c=_0x5ee1c3?[this[_0x15cc54(0x7d)][_0x15cc54(0x76)](_0x5ee1c3)]:this[_0x15cc54(0x7d)][_0x15cc54(0xa5)](),_0x308914=new Set();for(const _0x1cd304 of _0x59043c)for(const _0x1ef9e3 of _0x1cd304)_0x1ef9e3[_0x15cc54(0x8a)]['id']===_0x4f8c06['id']&&_0x308914[_0x15cc54(0x96)](_0x1ef9e3['id']);return _0x308914;}[_0x2054dc(0xb2)](_0x1301cd){const _0x16410a=_0x2054dc;for(const _0x22ebfc of this[_0x16410a(0x7d)][_0x16410a(0xa5)]())for(const _0x599c0a of _0x22ebfc)if(_0x599c0a[_0x16410a(0x8a)]===_0x1301cd)return _0x599c0a[_0x16410a(0xa0)];}[_0x2054dc(0xa4)](_0x4f46d0,_0x53186c){const _0x17b424=_0x2054dc;if(_0x17b424(0x99)!==this[_0x17b424(0x7f)][_0x17b424(0xaa)][_0x17b424(0x76)](_0x3819d4)[_0x17b424(0x7e)])return;const _0xa04969=_0x53186c[_0x17b424(0x8a)],_0x485f26=this[_0x17b424(0xa3)][_0x17b424(0x91)](_0xa04969['id'])||this[_0x17b424(0x85)](_0xa04969),_0x3914d3=Object[_0x17b424(0xa7)]({},_0x53186c,{'user':_0x485f26});if(this[_0x17b424(0x7d)][_0x17b424(0x76)](_0x4f46d0)[_0x17b424(0x96)](_0x3914d3),!_0xa04969[_0x17b424(0x87)]){const _0x45d711=this[_0x17b424(0x81)][_0x17b424(0x76)](_0x4f46d0);_0x45d711[_0x17b424(0x7a)](_0x485f26['id'])||_0x45d711[_0x17b424(0x96)](_0x485f26),this[_0x17b424(0xa6)][_0x17b424(0x7a)](_0x485f26['id'])||_0xa04969[_0x17b424(0x87)]||this[_0x17b424(0xa6)][_0x17b424(0x96)](_0x485f26,_0x485f26[_0x17b424(0x97)]?0x0:void 0x0);}this[_0x17b424(0x77)](_0x17b424(0x90)+_0x4f46d0,{'channelId':_0x4f46d0,'session':_0x3914d3});}[_0x2054dc(0xb0)](_0x3491cb,_0x17cc02){const _0x188aad=_0x2054dc;if(_0x188aad(0x99)!==this[_0x188aad(0x7f)][_0x188aad(0xaa)][_0x188aad(0x76)](_0x3819d4)[_0x188aad(0x7e)])return;const _0x4cf7a4=this[_0x188aad(0x81)][_0x188aad(0x76)](_0x3491cb),_0x52e2bf=_0x17cc02[_0x188aad(0x8a)];_0x52e2bf['id']&&(this[_0x188aad(0x7d)][_0x188aad(0x76)](_0x3491cb)[_0x188aad(0x89)](_0x17cc02['id']),_0x4cf7a4[_0x188aad(0x7a)](_0x52e2bf['id'])&&!this[_0x188aad(0xa9)](_0x52e2bf,_0x3491cb)[_0x188aad(0x98)]&&_0x4cf7a4[_0x188aad(0x89)](_0x52e2bf['id']),this[_0x188aad(0xa6)][_0x188aad(0x76)](_0x52e2bf['id'])&&!this[_0x188aad(0xa9)](_0x52e2bf)[_0x188aad(0x98)]&&this[_0x188aad(0xa6)][_0x188aad(0x89)](_0x52e2bf['id']));}[_0x2054dc(0x85)](_0x2909d7,_0x5be6e0){const _0x2da399=_0x2054dc,_0x608b54=this[_0x2da399(0xa3)][_0x2da399(0x8d)](_0x2909d7);return _0x5be6e0&&this[_0x2da399(0xa3)][_0x2da399(0x7b)](_0x2909d7['id']),_0x608b54[_0x2da399(0x93)]=this[_0x2da399(0x8c)]++,_0x608b54;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x32f8(){const _0x55f768=['createUserMarkerOperations','createUIElement','isObject','schema','listenTo','reconvertMarker','fromRange','clear','highest','for','requires','rootName','plugins','getUserBySessionId','contenteditable','delete','spellcheck','1846134jilrSP','user:range:','markerRange','11826387iQKUpm','isOfficialPlugin','checkChild','false','document','userPositionMarker','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getFirstRange','has','isDocumentOperation','UserMarkers','addMarker','detach','update:user:range','98KqPNHG','startsWith','destroy','getSelectionClass','init','tableCell','3843120hzcNne','removeMarker','getPositions','1442578prEsmm','3ZAfPrF','render','getAttribute','getMarkerClass','get','948683ttuAxV','_createdBatches','add','user:position','color','set','enqueueChange','innerHTML','mapper','conversion','createRange','addEventListener','element','textContent','batch','root','isPremiumPlugin','toRange','editor','user:range','oldRange','user:','getCustomProperty','mouseleave','markerNameToElements','hasDomSelection','markers','newRange','end','Escape','split','updateMarker','parent','afterInit','outerHTML','classList','size','ck-user__marker\x20','undo','pluginName','marker','toDomElement','195215ojFCxH','_domEmitter','setCustomProperty','user:position:','ck-user__marker_hovered','mySessionId','$graveyard','type','isCollapsed','255880ZcJDTC','change:range','isSimilar','createElement','isLimit','removeClass','span','stopListening','editing','markerToHighlight','ck-user__marker-tooltip','markerName','commands','nodeAfter','remove','data-session-id','setAttribute','deletionPosition','editingDowncast','84cdGLAf','orderNumber','view','getStart','change','$text','hasContent','getRange','applyOperation','getNearestSelectionRange','name','getContainedElement','isInline','selection','ck-user__selection','start','keydown','model','markerToElement','mouseenter'];_0x32f8=function(){return _0x55f768;};return _0x32f8();}const _0x3b7cba=_0x403b;(function(_0x597f29,_0x2e7e32){const _0x3bf528=_0x403b,_0x26da09=_0x597f29();while(!![]){try{const _0x46909f=-parseInt(_0x3bf528(0xb3))/0x1+parseInt(_0x3bf528(0xad))/0x2*(-parseInt(_0x3bf528(0xae))/0x3)+-parseInt(_0x3bf528(0xf9))/0x4*(-parseInt(_0x3bf528(0xdd))/0x5)+parseInt(_0x3bf528(0x93))/0x6+parseInt(_0x3bf528(0xa4))/0x7*(parseInt(_0x3bf528(0xe6))/0x8)+parseInt(_0x3bf528(0x96))/0x9+-parseInt(_0x3bf528(0xaa))/0xa;if(_0x46909f===_0x2e7e32)break;else _0x26da09['push'](_0x26da09['shift']());}catch(_0x159fd4){_0x26da09['push'](_0x26da09['shift']());}}}(_0x32f8,0xcbe45));function _0x403b(_0x192c0e,_0xe0293c){const _0x32f89c=_0x32f8();return _0x403b=function(_0x403b5d,_0x1fe21f){_0x403b5d=_0x403b5d-0x85;let _0x2f9d91=_0x32f89c[_0x403b5d];return _0x2f9d91;},_0x403b(_0x192c0e,_0xe0293c);}import{Plugin as _0x2e7556}from'ckeditor5/src/core.js';import{global as _0x8f43c3,DomEmitterMixin as _0x5e0e04}from'ckeditor5/src/utils.js';import{Sessions as _0x1632e0}from'./sessions.js';import{ModelLiveRange as _0x7b6cfe}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2e7556{[_0x3b7cba(0xde)]=new(_0x5e0e04())();static get[_0x3b7cba(0x8c)](){return[_0x1632e0];}static get[_0x3b7cba(0xda)](){const _0x9ff3c1=_0x3b7cba;return _0x9ff3c1(0xa0);}static get[_0x3b7cba(0x97)](){return!0x0;}static get[_0x3b7cba(0xc3)](){return!0x0;}[_0x3b7cba(0xa8)](){const _0x3eb0cb=_0x3b7cba,_0x609e5a=this[_0x3eb0cb(0xc5)],_0xdc8931=_0x609e5a[_0x3eb0cb(0x8e)][_0x3eb0cb(0xb2)](_0x1632e0);_0x609e5a[_0x3eb0cb(0xbc)][_0x3eb0cb(0x8b)](_0x3eb0cb(0xf8))[_0x3eb0cb(0x10b)]({'model':_0x3eb0cb(0xb6),'view':(_0x36899b,{writer:_0x3e5584})=>function(_0x199bd7,_0xd61ad1,_0x79e99d,_0x6e4818){const _0x2a8013=_0x3eb0cb,_0x1c2d96=_0x199bd7[_0x2a8013(0xf1)][_0x2a8013(0xd1)](':')[0x2],_0x309cd0=_0x79e99d[_0x2a8013(0x8f)](_0x1c2d96);if(!_0x309cd0||_0x1c2d96===_0x79e99d[_0x2a8013(0xe2)])return;if(!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)][_0x2a8013(0x98)](_0x199bd7[_0x2a8013(0x95)][_0x2a8013(0x108)],_0x2a8013(0xfe)))return;const _0xed30c1={'class':_0x2a8013(0xd8)+_0x309cd0[_0x2a8013(0xb7)][_0x2a8013(0xb1)](),'data-name':_0x309cd0[_0x2a8013(0x103)],'data-session-id':_0x1c2d96},_0x38a5a4=_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xcd)][_0x2a8013(0xb2)](_0x199bd7[_0x2a8013(0xf1)]),_0x47a7b2=_0x38a5a4[_0x2a8013(0xfc)](),_0x256253=_0x47a7b2[_0x2a8013(0xf3)],_0x531b13=_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)];if(_0x256253&&_0x531b13[_0x2a8013(0x10f)](_0x256253)&&_0x531b13[_0x2a8013(0x105)](_0x256253)&&!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xcd)][_0x2a8013(0xb2)](_0x2a8013(0x94)+_0x1c2d96)[_0x2a8013(0x100)]()[_0x2a8013(0xe5)])return;const _0x361721=_0x47a7b2[_0x2a8013(0xd3)];return _0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0x85)][_0x2a8013(0xea)](_0x361721)&&!_0x6e4818[_0x2a8013(0x10a)][_0x2a8013(0xff)](_0x361721)&&(_0xed30c1[_0x2a8013(0x90)]=!0x1),function(_0xd22a4,_0x51905f,_0x17a597){const _0x3c5e1f=_0x2a8013,_0x39dcdd=_0xd22a4[_0x3c5e1f(0x10e)](_0x3c5e1f(0xec),_0x51905f);return _0xd22a4[_0x3c5e1f(0xdf)](_0x3c5e1f(0x9b),!0x0,_0x39dcdd),_0x39dcdd[_0x3c5e1f(0xaf)]=function(_0x3a097e){const _0x340613=_0x3c5e1f,_0x17611e=this[_0x340613(0xdc)](_0x3a097e),_0x57eee1=document[_0x340613(0xe9)](_0x340613(0xec));return _0x57eee1[_0x340613(0xd6)][_0x340613(0xb5)](_0x340613(0xf0)),_0x57eee1[_0x340613(0xf6)](_0x340613(0x90),_0x340613(0x99)),_0x57eee1[_0x340613(0xf6)](_0x340613(0x92),_0x340613(0x99)),_0x57eee1[_0x340613(0xc0)]=_0x17a597[_0x340613(0x103)],_0x17611e[_0x340613(0xba)]=_0x340613(0x9c)+_0x57eee1[_0x340613(0xd5)]+'⁠',_0x17611e[_0x340613(0xbe)](_0x340613(0x10c),()=>{const _0x1785af=_0x340613;_0x17611e[_0x1785af(0xd6)][_0x1785af(0xb5)](_0x1785af(0xe1));}),_0x17611e[_0x340613(0xbe)](_0x340613(0xca),()=>{const _0x2d0499=_0x340613;_0x17611e[_0x2d0499(0xd6)][_0x2d0499(0xf4)](_0x2d0499(0xe1));}),_0x17611e;},_0x39dcdd[_0x3c5e1f(0xe8)]=function(_0x49d56d){const _0x2dd962=_0x3c5e1f;return!(!this[_0x2dd962(0xc9)](_0x2dd962(0x9b))||!_0x49d56d[_0x2dd962(0xc9)](_0x2dd962(0x9b))||this[_0x2dd962(0xb0)](_0x2dd962(0xf5))!=_0x49d56d[_0x2dd962(0xb0)](_0x2dd962(0xf5)));},_0x39dcdd;}(_0xd61ad1,_0xed30c1,_0x309cd0);}(_0x36899b,_0x3e5584,_0xdc8931,_0x609e5a)}),_0x609e5a[_0x3eb0cb(0xbc)][_0x3eb0cb(0x8b)](_0x3eb0cb(0xf8))[_0x3eb0cb(0xef)]({'model':_0x3eb0cb(0xc6),'view':_0x5a0899=>function(_0x2700f9,_0x14741b){const _0x55d32a=_0x3eb0cb,_0xda3eb6=_0x2700f9[_0x55d32a(0xf1)][_0x55d32a(0xd1)](':')[0x2];if(_0xda3eb6===_0x14741b[_0x55d32a(0xe2)])return null;const _0x510944=_0x14741b[_0x55d32a(0x8f)](_0xda3eb6);if(!_0x510944)return{'id':_0xda3eb6,'classes':[]};return{'id':_0xda3eb6,'classes':[_0x55d32a(0x107),_0x510944[_0x55d32a(0xb7)][_0x55d32a(0xa7)]()],'attributes':{'data-session-id':_0xda3eb6},'priority':0x7d0+_0x510944[_0x55d32a(0xfa)]};}(_0x5a0899,_0xdc8931)}),function(_0x553c91){const _0x337d4c=_0x3eb0cb,_0x46778c=_0x553c91[_0x337d4c(0x10a)],_0x2d69b5=new Map(),_0x123572=_0x553c91[_0x337d4c(0x8e)][_0x337d4c(0xb2)](_0x1632e0);_0x46778c[_0x337d4c(0xcd)]['on'](_0x337d4c(0xa3),(_0x249ef4,_0x3f3c2f,_0x3f3daf,_0x392a1a)=>{const _0x189c89=_0x337d4c;if(!_0x392a1a&&_0x2d69b5[_0x189c89(0xb2)](_0x3f3c2f[_0x189c89(0x103)]))return _0x2d69b5[_0x189c89(0xb2)](_0x3f3c2f[_0x189c89(0x103)])[_0x189c89(0xa2)](),void _0x2d69b5[_0x189c89(0x91)](_0x3f3c2f[_0x189c89(0x103)]);const _0x2b81fb=_0x3f3c2f[_0x189c89(0x103)][_0x189c89(0xd1)](':')[0x2];if(_0x2b81fb===_0x123572[_0x189c89(0xe2)])return;const _0x5eede4=_0x189c89(0xe0)+_0x2b81fb;_0x46778c[_0x189c89(0xcd)][_0x189c89(0x9e)](_0x5eede4)&&_0x553c91[_0x189c89(0xee)][_0x189c89(0x87)](_0x5eede4),_0x3f3c2f['on'](_0x189c89(0xe7),(_0x412857,_0x317c1a,_0x1e222e)=>{const _0x52f248=_0x189c89;if(_0x52f248(0xe3)!=_0x317c1a[_0x52f248(0xc2)][_0x52f248(0x8d)]&&_0x52f248(0xe3)==_0x3f3c2f[_0x52f248(0x100)]()[_0x52f248(0xc2)][_0x52f248(0x8d)]&&!_0x2d69b5[_0x52f248(0x9e)](_0x3f3c2f[_0x52f248(0x103)])){const _0x431a9a=_0x46778c[_0x52f248(0x85)][_0x52f248(0x102)](_0x1e222e[_0x52f248(0xf7)]);if(_0x431a9a){const _0x1d610c=_0x7b6cfe[_0x52f248(0x88)](_0x431a9a);_0x2d69b5[_0x52f248(0xb8)](_0x3f3c2f[_0x52f248(0x103)],_0x1d610c),_0x1d610c['on'](_0x52f248(0xe7),(_0x9e183b,_0x33e4c1,_0x1bc022)=>{const _0x19c248=_0x52f248;if(_0x19c248(0xe3)==_0x1d610c[_0x19c248(0xc2)][_0x19c248(0x8d)]){const _0x48c3f8=_0x46778c[_0x19c248(0x85)][_0x19c248(0x102)](_0x1bc022[_0x19c248(0xf7)]);_0x48c3f8?(_0x1d610c[_0x19c248(0x108)]=_0x48c3f8[_0x19c248(0x108)],_0x1d610c[_0x19c248(0xcf)]=_0x48c3f8[_0x19c248(0xcf)]):(_0x2d69b5[_0x19c248(0x91)](_0x3f3c2f[_0x19c248(0x103)]),_0x1d610c[_0x19c248(0xa2)]());}});}}});}),_0x46778c[_0x337d4c(0x9a)]['on'](_0x337d4c(0xfd),()=>{const _0x5513e4=_0x337d4c;_0x2d69b5[_0x5513e4(0xd7)]>0x0&&_0x46778c[_0x5513e4(0xb9)]({'isUndoable':!0x1},_0x44728d=>{const _0xd5970e=_0x5513e4;for(const [_0x5e8e0c,_0x46797f]of _0x2d69b5)_0xd5970e(0xe3)==_0x46778c[_0xd5970e(0xcd)][_0xd5970e(0xb2)](_0x5e8e0c)[_0xd5970e(0x100)]()[_0xd5970e(0xc2)][_0xd5970e(0x8d)]&&(re(_0x5e8e0c[_0xd5970e(0xd1)](':')[0x2],_0x46797f[_0xd5970e(0xc4)](),_0x46778c,_0x44728d),_0x46797f[_0xd5970e(0xa2)]());_0x2d69b5[_0xd5970e(0x89)]();});});}(_0x609e5a),this[_0x3eb0cb(0xde)][_0x3eb0cb(0x86)](_0x8f43c3[_0x3eb0cb(0x9a)],_0x3eb0cb(0x109),(_0x30b47f,{key:_0x767cd1})=>{const _0x4fc1c1=_0x3eb0cb;_0x4fc1c1(0xd0)===_0x767cd1&&function(_0x429ead){const _0x1934c4=_0x4fc1c1;_0x429ead[_0x1934c4(0xee)][_0x1934c4(0xfb)][_0x1934c4(0xfd)](_0x2d1efa=>{const _0x41cb0a=_0x1934c4;for(const _0x986f40 of _0x429ead[_0x41cb0a(0x10a)][_0x41cb0a(0xcd)]){if(!_0x986f40[_0x41cb0a(0x103)][_0x41cb0a(0xa5)](_0x41cb0a(0xb6)))continue;const _0x3e2fcb=_0x429ead[_0x41cb0a(0xee)][_0x41cb0a(0xbb)][_0x41cb0a(0xcb)](_0x986f40[_0x41cb0a(0x103)]);if(_0x3e2fcb){for(const _0x2ecd67 of _0x3e2fcb)_0x2d1efa[_0x41cb0a(0xeb)](_0x41cb0a(0xe1),_0x2ecd67);}}});}(_0x609e5a);},{'useCapture':!0x0});}[_0x3b7cba(0xd4)](){const _0x26ded7=_0x3b7cba,_0x40eb2b=this[_0x26ded7(0xc5)],_0x17738b=_0x40eb2b[_0x26ded7(0xf2)][_0x26ded7(0xb2)](_0x26ded7(0xd9));_0x17738b&&_0x40eb2b[_0x26ded7(0x10a)]['on'](_0x26ded7(0x101),(_0x2fed96,_0x4022b5)=>{const _0xbcddd2=_0x26ded7,_0x589f7c=_0x4022b5[0x0];if(!_0x589f7c[_0xbcddd2(0x9f)])return;if(_0xbcddd2(0xdb)!=_0x589f7c[_0xbcddd2(0xe4)]||!_0x589f7c[_0xbcddd2(0x103)][_0xbcddd2(0xa5)](_0xbcddd2(0xc8)))return;const _0x4cfc9d=_0x589f7c[_0xbcddd2(0xc1)];_0x17738b[_0xbcddd2(0xb4)][_0xbcddd2(0x9e)](_0x4cfc9d)&&(_0x589f7c[_0xbcddd2(0xce)]=_0x589f7c[_0xbcddd2(0xc7)]?_0x40eb2b[_0xbcddd2(0x10a)][_0xbcddd2(0xbd)](_0x589f7c[_0xbcddd2(0xc7)][_0xbcddd2(0x108)],_0x589f7c[_0xbcddd2(0xc7)][_0xbcddd2(0xcf)]):null);},{'priority':_0x26ded7(0x8a)});}[_0x3b7cba(0xa6)](){const _0x5c49be=_0x3b7cba;return this[_0x5c49be(0xde)][_0x5c49be(0xed)](),super[_0x5c49be(0xa6)]();}[_0x3b7cba(0x10d)](){const _0x15fa50=_0x3b7cba,_0x29d19c=this[_0x15fa50(0xc5)],_0xfc45c4=_0x29d19c[_0x15fa50(0x10a)][_0x15fa50(0x9a)],_0x40f2bd=_0x29d19c[_0x15fa50(0x8e)][_0x15fa50(0xb2)](_0x1632e0);_0x29d19c[_0x15fa50(0x10a)][_0x15fa50(0xb9)]({'isUndoable':!0x1},_0x3a0102=>{const _0x5d7f40=_0x15fa50,_0x1b17f8=_0x5d7f40(0x94)+_0x40f2bd[_0x5d7f40(0xe2)],_0x5a9d59=_0x5d7f40(0xe0)+_0x40f2bd[_0x5d7f40(0xe2)],_0x251f34=_0x29d19c[_0x5d7f40(0x10a)][_0x5d7f40(0xcd)][_0x5d7f40(0x9e)](_0x1b17f8);_0x29d19c[_0x5d7f40(0xee)][_0x5d7f40(0xfb)][_0x5d7f40(0xcc)]?re(_0x40f2bd[_0x5d7f40(0xe2)],_0xfc45c4[_0x5d7f40(0x106)][_0x5d7f40(0x9d)](),_0x29d19c[_0x5d7f40(0x10a)],_0x3a0102):_0x251f34&&(_0x3a0102[_0x5d7f40(0xab)](_0x1b17f8),_0x3a0102[_0x5d7f40(0xab)](_0x5a9d59));});}}function re(_0x30176f,_0x3111bf,_0x21b694,_0x2ac700){const _0x252d1e=_0x3b7cba,_0x2a4fe1=_0x252d1e(0x94)+_0x30176f,_0x22d14e=_0x252d1e(0xe0)+_0x30176f,_0x4cbd7d=_0x3111bf[_0x252d1e(0x104)]();let _0x3f3ac1=_0x3111bf[_0x252d1e(0x108)];if(_0x4cbd7d&&_0x4cbd7d['is'](_0x252d1e(0xbf),_0x252d1e(0xa9))){const _0x188ad4=function(_0x545c25,_0x2453b5){const _0x14f918=_0x252d1e;for(const _0x3ce587 of _0x545c25[_0x14f918(0xac)]())if(_0x2453b5[_0x14f918(0x85)][_0x14f918(0x98)](_0x3ce587,_0x14f918(0xfe)))return _0x3ce587;}(_0x3111bf,_0x21b694);_0x188ad4&&(_0x3f3ac1=_0x188ad4,_0x3111bf=_0x2ac700[_0x252d1e(0xbd)](_0x3f3ac1));}const _0x10727c=_0x2ac700[_0x252d1e(0xbd)](_0x3f3ac1);_0x21b694[_0x252d1e(0xcd)][_0x252d1e(0x9e)](_0x2a4fe1)?(_0x2ac700[_0x252d1e(0xd2)](_0x2a4fe1,{'range':_0x3111bf}),_0x2ac700[_0x252d1e(0xd2)](_0x22d14e,{'range':_0x10727c})):(_0x2ac700[_0x252d1e(0xa1)](_0x2a4fe1,{'range':_0x3111bf,'usingOperation':!0x0}),_0x2ac700[_0x252d1e(0xa1)](_0x22d14e,{'range':_0x10727c,'usingOperation':!0x0}));}
23
+ function _0x2957(){const _0x5692e4=['conversion','25054008uujuiR','22083fjTtdp','undo','user:position','selection','getRange','spellcheck','listenTo','mouseleave','userPositionMarker','26gndNSu','markerToElement','update:user:range','set','74YCNlrS','removeMarker','outerHTML','plugins','Escape','markers','remove','destroy','split','getPositions','isInline','getContainedElement','mySessionId','schema','setAttribute','enqueueChange','user:range:','getMarkerClass','afterInit','isDocumentOperation','model','detach','view','isPremiumPlugin','_domEmitter','hasContent','newRange','markerToHighlight','render','document','markerName','deletionPosition','batch','getStart','get','stopListening','checkChild','orderNumber','contenteditable','isLimit','ck-user__selection','span','3126105Cpibdn','_createdBatches','getFirstRange','size','reconvertMarker','clear','66HugWhe','$graveyard','root','change:range','getUserBySessionId','mapper','hasDomSelection','createElement','getCustomProperty','highest','editingDowncast','updateMarker','UserMarkers','createRange','markerNameToElements','isSimilar','$text','commands','12426100dkznhR','createUserMarkerOperations','pluginName','12VTDhxF','toRange','element','applyOperation','toDomElement','rootName','marker','isObject','getSelectionClass','isOfficialPlugin','keydown','markerRange','setCustomProperty','84464dIXtep','addMarker','8ItSwmT','ck-user__marker\x20','end','getNearestSelectionRange','data-session-id','getAttribute','requires','nodeAfter','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','11aDQVZi','editing','mouseenter','textContent','parent','user:position:','color','editor','has','createUIElement','ck-user__marker_hovered','for','delete','removeClass','start','startsWith','user:range','ck-user__marker-tooltip','change','8598303vofLVw','add','name','classList','user:','addEventListener','oldRange','678244rxYBDF','innerHTML','tableCell','init','false','type','fromRange','isCollapsed'];_0x2957=function(){return _0x5692e4;};return _0x2957();}const _0xcad601=_0x28f0;(function(_0x1b3eda,_0x12d4a2){const _0x10a34c=_0x28f0,_0x263062=_0x1b3eda();while(!![]){try{const _0x43e284=-parseInt(_0x10a34c(0x174))/0x1*(parseInt(_0x10a34c(0x181))/0x2)+parseInt(_0x10a34c(0x138))/0x3*(-parseInt(_0x10a34c(0x145))/0x4)+parseInt(_0x10a34c(0x11d))/0x5+parseInt(_0x10a34c(0x123))/0x6*(-parseInt(_0x10a34c(0x16a))/0x7)+-parseInt(_0x10a34c(0x147))/0x8*(parseInt(_0x10a34c(0x163))/0x9)+parseInt(_0x10a34c(0x135))/0xa*(-parseInt(_0x10a34c(0x150))/0xb)+-parseInt(_0x10a34c(0x173))/0xc*(-parseInt(_0x10a34c(0x17d))/0xd);if(_0x43e284===_0x12d4a2)break;else _0x263062['push'](_0x263062['shift']());}catch(_0x6f224d){_0x263062['push'](_0x263062['shift']());}}}(_0x2957,0x9b2ad));import{Plugin as _0x3b5a94}from'ckeditor5/src/core.js';import{global as _0x48df82,DomEmitterMixin as _0x33cef1}from'ckeditor5/src/utils.js';import{Sessions as _0x4c9137}from'./sessions.js';import{ModelLiveRange as _0x4b335f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3b5a94{[_0xcad601(0x199)]=new(_0x33cef1())();static get[_0xcad601(0x14d)](){return[_0x4c9137];}static get[_0xcad601(0x137)](){const _0x479cc6=_0xcad601;return _0x479cc6(0x12f);}static get[_0xcad601(0x141)](){return!0x0;}static get[_0xcad601(0x198)](){return!0x0;}[_0xcad601(0x16d)](){const _0x223f0b=_0xcad601,_0x2a62f4=this[_0x223f0b(0x157)],_0x40f5f6=_0x2a62f4[_0x223f0b(0x184)][_0x223f0b(0x115)](_0x4c9137);_0x2a62f4[_0x223f0b(0x172)][_0x223f0b(0x15b)](_0x223f0b(0x12d))[_0x223f0b(0x17e)]({'model':_0x223f0b(0x176),'view':(_0x2ecc40,{writer:_0x419363})=>function(_0x8466d4,_0x3aa070,_0x419a02,_0x3fd205){const _0x11c851=_0x223f0b,_0x292395=_0x8466d4[_0x11c851(0x111)][_0x11c851(0x189)](':')[0x2],_0x2c6694=_0x419a02[_0x11c851(0x127)](_0x292395);if(!_0x2c6694||_0x292395===_0x419a02[_0x11c851(0x18d)])return;if(!_0x3fd205[_0x11c851(0x195)][_0x11c851(0x18e)][_0x11c851(0x117)](_0x8466d4[_0x11c851(0x143)][_0x11c851(0x15e)],_0x11c851(0x133)))return;const _0x3cccd9={'class':_0x11c851(0x148)+_0x2c6694[_0x11c851(0x156)][_0x11c851(0x192)](),'data-name':_0x2c6694[_0x11c851(0x165)],'data-session-id':_0x292395},_0x20adfd=_0x3fd205[_0x11c851(0x195)][_0x11c851(0x186)][_0x11c851(0x115)](_0x8466d4[_0x11c851(0x111)]),_0x2607c8=_0x20adfd[_0x11c851(0x114)](),_0x4b438d=_0x2607c8[_0x11c851(0x14e)],_0x246073=_0x3fd205[_0x11c851(0x195)][_0x11c851(0x18e)];if(_0x4b438d&&_0x246073[_0x11c851(0x13f)](_0x4b438d)&&_0x246073[_0x11c851(0x18b)](_0x4b438d)&&!_0x3fd205[_0x11c851(0x195)][_0x11c851(0x186)][_0x11c851(0x115)](_0x11c851(0x191)+_0x292395)[_0x11c851(0x178)]()[_0x11c851(0x171)])return;const _0x3fa630=_0x2607c8[_0x11c851(0x154)];return _0x3fd205[_0x11c851(0x195)][_0x11c851(0x18e)][_0x11c851(0x11a)](_0x3fa630)&&!_0x3fd205[_0x11c851(0x195)][_0x11c851(0x19a)](_0x3fa630)&&(_0x3cccd9[_0x11c851(0x119)]=!0x1),function(_0x163d40,_0x13256f,_0x4e2ffc){const _0x52ec0d=_0x11c851,_0x1453d6=_0x163d40[_0x52ec0d(0x159)](_0x52ec0d(0x11c),_0x13256f);return _0x163d40[_0x52ec0d(0x144)](_0x52ec0d(0x17c),!0x0,_0x1453d6),_0x1453d6[_0x52ec0d(0x10f)]=function(_0x2fd2a7){const _0x53ea24=_0x52ec0d,_0x5bb049=this[_0x53ea24(0x13c)](_0x2fd2a7),_0x767b=document[_0x53ea24(0x12a)](_0x53ea24(0x11c));return _0x767b[_0x53ea24(0x166)][_0x53ea24(0x164)](_0x53ea24(0x161)),_0x767b[_0x53ea24(0x18f)](_0x53ea24(0x119),_0x53ea24(0x16e)),_0x767b[_0x53ea24(0x18f)](_0x53ea24(0x179),_0x53ea24(0x16e)),_0x767b[_0x53ea24(0x153)]=_0x4e2ffc[_0x53ea24(0x165)],_0x5bb049[_0x53ea24(0x16b)]=_0x53ea24(0x14f)+_0x767b[_0x53ea24(0x183)]+'⁠',_0x5bb049[_0x53ea24(0x168)](_0x53ea24(0x152),()=>{const _0x2329d8=_0x53ea24;_0x5bb049[_0x2329d8(0x166)][_0x2329d8(0x164)](_0x2329d8(0x15a));}),_0x5bb049[_0x53ea24(0x168)](_0x53ea24(0x17b),()=>{const _0x55ffaf=_0x53ea24;_0x5bb049[_0x55ffaf(0x166)][_0x55ffaf(0x187)](_0x55ffaf(0x15a));}),_0x5bb049;},_0x1453d6[_0x52ec0d(0x132)]=function(_0x264e57){const _0x2bc7b1=_0x52ec0d;return!(!this[_0x2bc7b1(0x12b)](_0x2bc7b1(0x17c))||!_0x264e57[_0x2bc7b1(0x12b)](_0x2bc7b1(0x17c))||this[_0x2bc7b1(0x14c)](_0x2bc7b1(0x14b))!=_0x264e57[_0x2bc7b1(0x14c)](_0x2bc7b1(0x14b)));},_0x1453d6;}(_0x3aa070,_0x3cccd9,_0x2c6694);}(_0x2ecc40,_0x419363,_0x40f5f6,_0x2a62f4)}),_0x2a62f4[_0x223f0b(0x172)][_0x223f0b(0x15b)](_0x223f0b(0x12d))[_0x223f0b(0x10e)]({'model':_0x223f0b(0x160),'view':_0x48abe1=>function(_0x146c48,_0xea0f85){const _0x527edd=_0x223f0b,_0x4bfd6f=_0x146c48[_0x527edd(0x111)][_0x527edd(0x189)](':')[0x2];if(_0x4bfd6f===_0xea0f85[_0x527edd(0x18d)])return null;const _0x5acd34=_0xea0f85[_0x527edd(0x127)](_0x4bfd6f);if(!_0x5acd34)return{'id':_0x4bfd6f,'classes':[]};return{'id':_0x4bfd6f,'classes':[_0x527edd(0x11b),_0x5acd34[_0x527edd(0x156)][_0x527edd(0x140)]()],'attributes':{'data-session-id':_0x4bfd6f},'priority':0x7d0+_0x5acd34[_0x527edd(0x118)]};}(_0x48abe1,_0x40f5f6)}),function(_0x2ee3be){const _0x19b72d=_0x223f0b,_0x534951=_0x2ee3be[_0x19b72d(0x195)],_0x5d755d=new Map(),_0x2f50d0=_0x2ee3be[_0x19b72d(0x184)][_0x19b72d(0x115)](_0x4c9137);_0x534951[_0x19b72d(0x186)]['on'](_0x19b72d(0x17f),(_0x5a5664,_0x43dc07,_0xcd652,_0x513101)=>{const _0x128bc8=_0x19b72d;if(!_0x513101&&_0x5d755d[_0x128bc8(0x115)](_0x43dc07[_0x128bc8(0x165)]))return _0x5d755d[_0x128bc8(0x115)](_0x43dc07[_0x128bc8(0x165)])[_0x128bc8(0x196)](),void _0x5d755d[_0x128bc8(0x15c)](_0x43dc07[_0x128bc8(0x165)]);const _0x5dbdd9=_0x43dc07[_0x128bc8(0x165)][_0x128bc8(0x189)](':')[0x2];if(_0x5dbdd9===_0x2f50d0[_0x128bc8(0x18d)])return;const _0x375264=_0x128bc8(0x155)+_0x5dbdd9;_0x534951[_0x128bc8(0x186)][_0x128bc8(0x158)](_0x375264)&&_0x2ee3be[_0x128bc8(0x151)][_0x128bc8(0x121)](_0x375264),_0x43dc07['on'](_0x128bc8(0x126),(_0x3a77a6,_0x767d96,_0x1205c4)=>{const _0x52bce4=_0x128bc8;if(_0x52bce4(0x124)!=_0x767d96[_0x52bce4(0x125)][_0x52bce4(0x13d)]&&_0x52bce4(0x124)==_0x43dc07[_0x52bce4(0x178)]()[_0x52bce4(0x125)][_0x52bce4(0x13d)]&&!_0x5d755d[_0x52bce4(0x158)](_0x43dc07[_0x52bce4(0x165)])){const _0xcc4681=_0x534951[_0x52bce4(0x18e)][_0x52bce4(0x14a)](_0x1205c4[_0x52bce4(0x112)]);if(_0xcc4681){const _0x3590db=_0x4b335f[_0x52bce4(0x170)](_0xcc4681);_0x5d755d[_0x52bce4(0x180)](_0x43dc07[_0x52bce4(0x165)],_0x3590db),_0x3590db['on'](_0x52bce4(0x126),(_0x2f1aee,_0x9a4a54,_0x4a9b40)=>{const _0x498c1c=_0x52bce4;if(_0x498c1c(0x124)==_0x3590db[_0x498c1c(0x125)][_0x498c1c(0x13d)]){const _0x16b61e=_0x534951[_0x498c1c(0x18e)][_0x498c1c(0x14a)](_0x4a9b40[_0x498c1c(0x112)]);_0x16b61e?(_0x3590db[_0x498c1c(0x15e)]=_0x16b61e[_0x498c1c(0x15e)],_0x3590db[_0x498c1c(0x149)]=_0x16b61e[_0x498c1c(0x149)]):(_0x5d755d[_0x498c1c(0x15c)](_0x43dc07[_0x498c1c(0x165)]),_0x3590db[_0x498c1c(0x196)]());}});}}});}),_0x534951[_0x19b72d(0x110)]['on'](_0x19b72d(0x162),()=>{const _0x4e004b=_0x19b72d;_0x5d755d[_0x4e004b(0x120)]>0x0&&_0x534951[_0x4e004b(0x190)]({'isUndoable':!0x1},_0x2f54a9=>{const _0x55441b=_0x4e004b;for(const [_0x3f22a7,_0x1a2c12]of _0x5d755d)_0x55441b(0x124)==_0x534951[_0x55441b(0x186)][_0x55441b(0x115)](_0x3f22a7)[_0x55441b(0x178)]()[_0x55441b(0x125)][_0x55441b(0x13d)]&&(re(_0x3f22a7[_0x55441b(0x189)](':')[0x2],_0x1a2c12[_0x55441b(0x139)](),_0x534951,_0x2f54a9),_0x1a2c12[_0x55441b(0x196)]());_0x5d755d[_0x55441b(0x122)]();});});}(_0x2a62f4),this[_0x223f0b(0x199)][_0x223f0b(0x17a)](_0x48df82[_0x223f0b(0x110)],_0x223f0b(0x142),(_0x5f553c,{key:_0x4dc7b2})=>{const _0x4261b9=_0x223f0b;_0x4261b9(0x185)===_0x4dc7b2&&function(_0x5be490){const _0x284009=_0x4261b9;_0x5be490[_0x284009(0x151)][_0x284009(0x197)][_0x284009(0x162)](_0x2f7331=>{const _0x5ab91c=_0x284009;for(const _0x255220 of _0x5be490[_0x5ab91c(0x195)][_0x5ab91c(0x186)]){if(!_0x255220[_0x5ab91c(0x165)][_0x5ab91c(0x15f)](_0x5ab91c(0x176)))continue;const _0x1837cc=_0x5be490[_0x5ab91c(0x151)][_0x5ab91c(0x128)][_0x5ab91c(0x131)](_0x255220[_0x5ab91c(0x165)]);if(_0x1837cc){for(const _0x3490eb of _0x1837cc)_0x2f7331[_0x5ab91c(0x15d)](_0x5ab91c(0x15a),_0x3490eb);}}});}(_0x2a62f4);},{'useCapture':!0x0});}[_0xcad601(0x193)](){const _0x3cb1f5=_0xcad601,_0x7debb7=this[_0x3cb1f5(0x157)],_0x114842=_0x7debb7[_0x3cb1f5(0x134)][_0x3cb1f5(0x115)](_0x3cb1f5(0x175));_0x114842&&_0x7debb7[_0x3cb1f5(0x195)]['on'](_0x3cb1f5(0x13b),(_0x21ac7a,_0x3cd33b)=>{const _0x42eeb2=_0x3cb1f5,_0x41a884=_0x3cd33b[0x0];if(!_0x41a884[_0x42eeb2(0x194)])return;if(_0x42eeb2(0x13e)!=_0x41a884[_0x42eeb2(0x16f)]||!_0x41a884[_0x42eeb2(0x165)][_0x42eeb2(0x15f)](_0x42eeb2(0x167)))return;const _0x44c7f3=_0x41a884[_0x42eeb2(0x113)];_0x114842[_0x42eeb2(0x11e)][_0x42eeb2(0x158)](_0x44c7f3)&&(_0x41a884[_0x42eeb2(0x10d)]=_0x41a884[_0x42eeb2(0x169)]?_0x7debb7[_0x42eeb2(0x195)][_0x42eeb2(0x130)](_0x41a884[_0x42eeb2(0x169)][_0x42eeb2(0x15e)],_0x41a884[_0x42eeb2(0x169)][_0x42eeb2(0x149)]):null);},{'priority':_0x3cb1f5(0x12c)});}[_0xcad601(0x188)](){const _0x490845=_0xcad601;return this[_0x490845(0x199)][_0x490845(0x116)](),super[_0x490845(0x188)]();}[_0xcad601(0x136)](){const _0x55cb53=_0xcad601,_0x21fd22=this[_0x55cb53(0x157)],_0x128e5d=_0x21fd22[_0x55cb53(0x195)][_0x55cb53(0x110)],_0x3f5d52=_0x21fd22[_0x55cb53(0x184)][_0x55cb53(0x115)](_0x4c9137);_0x21fd22[_0x55cb53(0x195)][_0x55cb53(0x190)]({'isUndoable':!0x1},_0x54a5a3=>{const _0x408304=_0x55cb53,_0x39ff61=_0x408304(0x191)+_0x3f5d52[_0x408304(0x18d)],_0xebb6cf=_0x408304(0x155)+_0x3f5d52[_0x408304(0x18d)],_0xb64a9a=_0x21fd22[_0x408304(0x195)][_0x408304(0x186)][_0x408304(0x158)](_0x39ff61);_0x21fd22[_0x408304(0x151)][_0x408304(0x197)][_0x408304(0x129)]?re(_0x3f5d52[_0x408304(0x18d)],_0x128e5d[_0x408304(0x177)][_0x408304(0x11f)](),_0x21fd22[_0x408304(0x195)],_0x54a5a3):_0xb64a9a&&(_0x54a5a3[_0x408304(0x182)](_0x39ff61),_0x54a5a3[_0x408304(0x182)](_0xebb6cf));});}}function _0x28f0(_0x4c8352,_0x1e68ae){const _0x2957f3=_0x2957();return _0x28f0=function(_0x28f09c,_0x1b0fdc){_0x28f09c=_0x28f09c-0x10d;let _0x457a73=_0x2957f3[_0x28f09c];return _0x457a73;},_0x28f0(_0x4c8352,_0x1e68ae);}function re(_0x11e556,_0x29235b,_0x1c39cf,_0x303f81){const _0x1826ce=_0xcad601,_0x3e4ef2=_0x1826ce(0x191)+_0x11e556,_0x2cbfe0=_0x1826ce(0x155)+_0x11e556,_0x1804bd=_0x29235b[_0x1826ce(0x18c)]();let _0x264f75=_0x29235b[_0x1826ce(0x15e)];if(_0x1804bd&&_0x1804bd['is'](_0x1826ce(0x13a),_0x1826ce(0x16c))){const _0x2220b9=function(_0x3a329e,_0x41f674){const _0x21b1f2=_0x1826ce;for(const _0x1bee7e of _0x3a329e[_0x21b1f2(0x18a)]())if(_0x41f674[_0x21b1f2(0x18e)][_0x21b1f2(0x117)](_0x1bee7e,_0x21b1f2(0x133)))return _0x1bee7e;}(_0x29235b,_0x1c39cf);_0x2220b9&&(_0x264f75=_0x2220b9,_0x29235b=_0x303f81[_0x1826ce(0x130)](_0x264f75));}const _0x3de16=_0x303f81[_0x1826ce(0x130)](_0x264f75);_0x1c39cf[_0x1826ce(0x186)][_0x1826ce(0x158)](_0x3e4ef2)?(_0x303f81[_0x1826ce(0x12e)](_0x3e4ef2,{'range':_0x29235b}),_0x303f81[_0x1826ce(0x12e)](_0x2cbfe0,{'range':_0x3de16})):(_0x303f81[_0x1826ce(0x146)](_0x3e4ef2,{'range':_0x29235b,'usingOperation':!0x0}),_0x303f81[_0x1826ce(0x146)](_0x2cbfe0,{'range':_0x3de16,'usingOperation':!0x0}));}