@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.1 → 46.0.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe63486=_0x42e4;(function(_0x453234,_0x35f684){const _0x1bdab5=_0x42e4,_0x20f61e=_0x453234();while(!![]){try{const _0x2e233a=-parseInt(_0x1bdab5(0x145))/0x1+parseInt(_0x1bdab5(0x149))/0x2*(parseInt(_0x1bdab5(0x152))/0x3)+-parseInt(_0x1bdab5(0x144))/0x4*(parseInt(_0x1bdab5(0x15b))/0x5)+parseInt(_0x1bdab5(0x15c))/0x6+-parseInt(_0x1bdab5(0x154))/0x7+parseInt(_0x1bdab5(0x15d))/0x8+parseInt(_0x1bdab5(0x13a))/0x9;if(_0x2e233a===_0x35f684)break;else _0x20f61e['push'](_0x20f61e['shift']());}catch(_0x3ef1d7){_0x20f61e['push'](_0x20f61e['shift']());}}}(_0x4318,0x95444));function _0x4318(){const _0x14d6f7=['isExpanded','createCollection','141604leabZc','361254UTajJq','aria-expanded','setAttribute','relatedTarget','6FKzwbH','bindTemplate','items','div','list','presencelist:show','element','contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','981921vMtQLr','hasPopup','7996891SRQJeB','setTemplate','.ck-presence-list__dropdown-list','removeAttribute','.ck-balloon-panel_with-arrow','keystrokes','Connected\x20users\x20list','95Gkgvmp','6237198rodlBJ','1832504jQFrTb','focus','ck-presence-list__list','4834485DmepsI','render','listenTo','querySelector','change:hasPopup','set','fire','presencelist:hide'];_0x4318=function(){return _0x14d6f7;};return _0x4318();}import{View as _0x329ed3}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5821be}from'ckeditor5/src/utils.js';function _0x42e4(_0x3b536b,_0x22c77a){const _0x4318ef=_0x4318();return _0x42e4=function(_0x42e4cc,_0x5be952){_0x42e4cc=_0x42e4cc-0x138;let _0x16e519=_0x4318ef[_0x42e4cc];return _0x16e519;},_0x42e4(_0x3b536b,_0x22c77a);}import{getTranslation as _0x4bf61d}from'../../common-translations.js';export class PresenceInlineListView extends _0x329ed3{[_0xe63486(0x14b)];[_0xe63486(0x159)];constructor(_0x2ab1a5){const _0x473417=_0xe63486;super(_0x2ab1a5);const _0x3b8506=this[_0x473417(0x14a)];this[_0x473417(0x14b)]=this[_0x473417(0x143)](),this[_0x473417(0x159)]=new _0x5821be(),this[_0x473417(0x13f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x473417(0x155)]({'tag':_0x473417(0x14c),'attributes':{'aria-haspopup':_0x3b8506['if'](_0x473417(0x153)),'aria-expanded':_0x3b8506['to'](_0x473417(0x142),_0x1bb529=>this[_0x473417(0x153)]&&String(_0x1bb529)),'aria-label':_0x3b8506['to'](_0x473417(0x153),_0x522621=>_0x4bf61d(_0x2ab1a5,_0x522621?_0x473417(0x151):_0x473417(0x15a))),'role':_0x473417(0x14d),'tabindex':_0x3b8506['to'](_0x473417(0x153),_0xa86f09=>!!_0xa86f09&&0x0),'class':['ck',_0x473417(0x139)]},'children':this[_0x473417(0x14b)],'on':{'mouseenter':_0x3b8506['to'](()=>this[_0x473417(0x140)](_0x473417(0x14e))),'mouseleave':_0x3b8506['to'](_0x2cc39c=>{const _0x24aa94=_0x473417,_0xe9b3e5=_0x2cc39c,_0x5de73a=document[_0x24aa94(0x13d)](_0x24aa94(0x156)),_0x59ae13=document[_0x24aa94(0x13d)](_0x24aa94(0x158));_0x5de73a?.[_0x24aa94(0x150)](_0xe9b3e5[_0x24aa94(0x148)])||_0x59ae13?.[_0x24aa94(0x150)](_0xe9b3e5[_0x24aa94(0x148)])||this[_0x24aa94(0x140)](_0x24aa94(0x141));})}}),this['on'](_0x473417(0x13e),(_0x293d38,_0x486582,_0x576062)=>{const _0x570dfe=_0x473417;this[_0x570dfe(0x14f)]&&(_0x576062?this[_0x570dfe(0x14f)][_0x570dfe(0x147)](_0x570dfe(0x146),String(this[_0x570dfe(0x142)])):this[_0x570dfe(0x14f)][_0x570dfe(0x157)](_0x570dfe(0x146)));});}[_0xe63486(0x138)](){const _0x41a7d2=_0xe63486;this[_0x41a7d2(0x14f)][_0x41a7d2(0x138)]();}[_0xe63486(0x13b)](){const _0x491cd0=_0xe63486;super[_0x491cd0(0x13b)](),this[_0x491cd0(0x159)][_0x491cd0(0x13c)](this[_0x491cd0(0x14f)]);}}
23
+ const _0x3dea18=_0x550e;function _0xccd4(){const _0x3fa4b1=['560MtZGrL','render','.ck-balloon-panel_with-arrow','keystrokes','presencelist:show','setAttribute','58869pxQxtv','447553EPISsq','fire','2bOKByr','2864919CDIaHb','presencelist:hide','hasPopup','items','change:hasPopup','listenTo','aria-expanded','removeAttribute','setTemplate','querySelector','.ck-presence-list__dropdown-list','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3577938IZhHcX','30SqlZWE','div','set','2091026WYlOEv','ck-presence-list__list','bindTemplate','715148mKrTcd','Connected\x20users\x20list','list','6231312twWoXQ','contains','element','focus','relatedTarget','createCollection'];_0xccd4=function(){return _0x3fa4b1;};return _0xccd4();}(function(_0x5bb339,_0x275968){const _0x5470d9=_0x550e,_0x307de5=_0x5bb339();while(!![]){try{const _0x7ded50=parseInt(_0x5470d9(0x17b))/0x1+-parseInt(_0x5470d9(0x17d))/0x2*(-parseInt(_0x5470d9(0x17e))/0x3)+-parseInt(_0x5470d9(0x192))/0x4*(parseInt(_0x5470d9(0x18c))/0x5)+-parseInt(_0x5470d9(0x18b))/0x6+-parseInt(_0x5470d9(0x18f))/0x7+parseInt(_0x5470d9(0x195))/0x8+-parseInt(_0x5470d9(0x1a1))/0x9*(-parseInt(_0x5470d9(0x19b))/0xa);if(_0x7ded50===_0x275968)break;else _0x307de5['push'](_0x307de5['shift']());}catch(_0x11a2fd){_0x307de5['push'](_0x307de5['shift']());}}}(_0xccd4,0x8d985));import{View as _0x318cbe}from'ckeditor5/src/ui.js';function _0x550e(_0x54cbbb,_0x3c1877){const _0xccd4c=_0xccd4();return _0x550e=function(_0x550edb,_0x579333){_0x550edb=_0x550edb-0x17b;let _0x5d2a45=_0xccd4c[_0x550edb];return _0x5d2a45;},_0x550e(_0x54cbbb,_0x3c1877);}import{KeystrokeHandler as _0x23ee43}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e027a}from'../../common-translations.js';export class PresenceInlineListView extends _0x318cbe{[_0x3dea18(0x181)];[_0x3dea18(0x19e)];constructor(_0x33e59e){const _0x2fb4a2=_0x3dea18;super(_0x33e59e);const _0x574bd6=this[_0x2fb4a2(0x191)];this[_0x2fb4a2(0x181)]=this[_0x2fb4a2(0x19a)](),this[_0x2fb4a2(0x19e)]=new _0x23ee43(),this[_0x2fb4a2(0x18e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2fb4a2(0x186)]({'tag':_0x2fb4a2(0x18d),'attributes':{'aria-haspopup':_0x574bd6['if'](_0x2fb4a2(0x180)),'aria-expanded':_0x574bd6['to'](_0x2fb4a2(0x189),_0x22b718=>this[_0x2fb4a2(0x180)]&&String(_0x22b718)),'aria-label':_0x574bd6['to'](_0x2fb4a2(0x180),_0x11d0dc=>_0x4e027a(_0x33e59e,_0x11d0dc?_0x2fb4a2(0x18a):_0x2fb4a2(0x193))),'role':_0x2fb4a2(0x194),'tabindex':_0x574bd6['to'](_0x2fb4a2(0x180),_0x173a34=>!!_0x173a34&&0x0),'class':['ck',_0x2fb4a2(0x190)]},'children':this[_0x2fb4a2(0x181)],'on':{'mouseenter':_0x574bd6['to'](()=>this[_0x2fb4a2(0x17c)](_0x2fb4a2(0x19f))),'mouseleave':_0x574bd6['to'](_0x37e177=>{const _0x2c209f=_0x2fb4a2,_0x123842=_0x37e177,_0x1ffc74=document[_0x2c209f(0x187)](_0x2c209f(0x188)),_0x1529f8=document[_0x2c209f(0x187)](_0x2c209f(0x19d));_0x1ffc74?.[_0x2c209f(0x196)](_0x123842[_0x2c209f(0x199)])||_0x1529f8?.[_0x2c209f(0x196)](_0x123842[_0x2c209f(0x199)])||this[_0x2c209f(0x17c)](_0x2c209f(0x17f));})}}),this['on'](_0x2fb4a2(0x182),(_0x5e0b42,_0x2baa0a,_0x2b9d99)=>{const _0x5414c4=_0x2fb4a2;this[_0x5414c4(0x197)]&&(_0x2b9d99?this[_0x5414c4(0x197)][_0x5414c4(0x1a0)](_0x5414c4(0x184),String(this[_0x5414c4(0x189)])):this[_0x5414c4(0x197)][_0x5414c4(0x185)](_0x5414c4(0x184)));});}[_0x3dea18(0x198)](){const _0x406fa9=_0x3dea18;this[_0x406fa9(0x197)][_0x406fa9(0x198)]();}[_0x3dea18(0x19c)](){const _0x3c1780=_0x3dea18;super[_0x3c1780(0x19c)](),this[_0x3c1780(0x19e)][_0x3c1780(0x183)](this[_0x3c1780(0x197)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26f75f=_0x4bb7;(function(_0x23936b,_0x2d401e){const _0x1b9647=_0x4bb7,_0x3921c2=_0x23936b();while(!![]){try{const _0x2207d7=parseInt(_0x1b9647(0x19d))/0x1*(-parseInt(_0x1b9647(0x192))/0x2)+-parseInt(_0x1b9647(0x197))/0x3+-parseInt(_0x1b9647(0x19c))/0x4*(-parseInt(_0x1b9647(0x19e))/0x5)+-parseInt(_0x1b9647(0x194))/0x6+-parseInt(_0x1b9647(0x195))/0x7*(parseInt(_0x1b9647(0x199))/0x8)+-parseInt(_0x1b9647(0x18c))/0x9+-parseInt(_0x1b9647(0x191))/0xa*(-parseInt(_0x1b9647(0x198))/0xb);if(_0x2207d7===_0x2d401e)break;else _0x3921c2['push'](_0x3921c2['shift']());}catch(_0x2b27c5){_0x3921c2['push'](_0x3921c2['shift']());}}}(_0x5e76,0x3f29b));import{View as _0x5dfce5}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x35a605}from'./presencecounterview.js';function _0x5e76(){const _0x3fcd67=['2505519UOYbEA','ck-reset','inlineListView','ck-presence-list--collapsed','setTemplate','73370Uvlbxw','2mBZhME','items','1484700MKjZbf','1381863jdkCSY','listenTo','554022oKdQlO','1782QyyIGX','8dRmjWE','hasPopup','bindTemplate','4zkyJoQ','142778HGhRMU','604115SzXhBs','first','ck-presence-list','isCollapsed','locale','tooltipPosition','div','counterView','set','change','bind','ck-rounded-corners'];_0x5e76=function(){return _0x3fcd67;};return _0x5e76();}import{PresenceInlineListView as _0x266ff7}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4bb7(_0x41cca4,_0x2dbabd){const _0x5e7668=_0x5e76();return _0x4bb7=function(_0x4bb7e1,_0x25c951){_0x4bb7e1=_0x4bb7e1-0x182;let _0x184244=_0x5e7668[_0x4bb7e1];return _0x184244;},_0x4bb7(_0x41cca4,_0x2dbabd);}export class PresenceListView extends _0x5dfce5{[_0x26f75f(0x187)];[_0x26f75f(0x18e)];constructor(_0x1ddbd1,_0x1d86ea=0x6){const _0x24d348=_0x26f75f;super(_0x1ddbd1);const _0x2754d0=this[_0x24d348(0x19b)];this[_0x24d348(0x188)](_0x24d348(0x183),!0x0),this[_0x24d348(0x187)]=new _0x35a605(this[_0x24d348(0x184)],_0x1d86ea),this[_0x24d348(0x18e)]=new _0x266ff7(_0x1ddbd1),this[_0x24d348(0x18e)][_0x24d348(0x18a)](_0x24d348(0x19a))['to'](this,_0x24d348(0x183)),this[_0x24d348(0x196)](this[_0x24d348(0x18e)][_0x24d348(0x193)],_0x24d348(0x189),()=>{const _0x3e8619=_0x24d348;for(const _0x9245c4 of this[_0x3e8619(0x18e)][_0x3e8619(0x193)])_0x9245c4[_0x3e8619(0x185)]='s';this[_0x3e8619(0x18e)][_0x3e8619(0x193)][_0x3e8619(0x19f)]&&(this[_0x3e8619(0x18e)][_0x3e8619(0x193)][_0x3e8619(0x19f)][_0x3e8619(0x185)]='se');}),this[_0x24d348(0x190)]({'tag':_0x24d348(0x186),'attributes':{'class':['ck',_0x24d348(0x182),_0x24d348(0x18d),_0x24d348(0x18b),_0x2754d0['if'](_0x24d348(0x183),_0x24d348(0x18f))]},'children':[this[_0x24d348(0x18e)]]});}}
23
+ const _0x562a9a=_0xfaa4;(function(_0x3ad2d3,_0x3f17e6){const _0x442235=_0xfaa4,_0x8ff5ab=_0x3ad2d3();while(!![]){try{const _0x4fdc5e=-parseInt(_0x442235(0x195))/0x1*(parseInt(_0x442235(0x193))/0x2)+parseInt(_0x442235(0x180))/0x3+parseInt(_0x442235(0x192))/0x4*(-parseInt(_0x442235(0x18d))/0x5)+-parseInt(_0x442235(0x198))/0x6+parseInt(_0x442235(0x199))/0x7+-parseInt(_0x442235(0x18c))/0x8+parseInt(_0x442235(0x194))/0x9;if(_0x4fdc5e===_0x3f17e6)break;else _0x8ff5ab['push'](_0x8ff5ab['shift']());}catch(_0x1e1494){_0x8ff5ab['push'](_0x8ff5ab['shift']());}}}(_0x1c7e,0x39492));function _0xfaa4(_0x3f9ccf,_0x118941){const _0x1c7e73=_0x1c7e();return _0xfaa4=function(_0xfaa4e3,_0x4bf02d){_0xfaa4e3=_0xfaa4e3-0x180;let _0x4f6325=_0x1c7e73[_0xfaa4e3];return _0x4f6325;},_0xfaa4(_0x3f9ccf,_0x118941);}function _0x1c7e(){const _0x1c8ace=['2000016lOnIbf','2021lBUgja','bind','locale','1808904MHpjui','3195521lZspPx','listenTo','ck-presence-list','1267401nQfkbp','ck-presence-list--collapsed','set','isCollapsed','counterView','inlineListView','tooltipPosition','div','setTemplate','ck-rounded-corners','ck-reset','first','742672IrIjMp','46135ObojFd','change','hasPopup','bindTemplate','items','132KsYZgZ','166KxNzjT'];_0x1c7e=function(){return _0x1c8ace;};return _0x1c7e();}import{View as _0x96d80b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x228dc9}from'./presencecounterview.js';import{PresenceInlineListView as _0x2c282e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x96d80b{[_0x562a9a(0x184)];[_0x562a9a(0x185)];constructor(_0x1e2c2c,_0x17a416=0x6){const _0x323fc4=_0x562a9a;super(_0x1e2c2c);const _0x2d3013=this[_0x323fc4(0x190)];this[_0x323fc4(0x182)](_0x323fc4(0x183),!0x0),this[_0x323fc4(0x184)]=new _0x228dc9(this[_0x323fc4(0x197)],_0x17a416),this[_0x323fc4(0x185)]=new _0x2c282e(_0x1e2c2c),this[_0x323fc4(0x185)][_0x323fc4(0x196)](_0x323fc4(0x18f))['to'](this,_0x323fc4(0x183)),this[_0x323fc4(0x19a)](this[_0x323fc4(0x185)][_0x323fc4(0x191)],_0x323fc4(0x18e),()=>{const _0x457cc1=_0x323fc4;for(const _0x19715a of this[_0x457cc1(0x185)][_0x457cc1(0x191)])_0x19715a[_0x457cc1(0x186)]='s';this[_0x457cc1(0x185)][_0x457cc1(0x191)][_0x457cc1(0x18b)]&&(this[_0x457cc1(0x185)][_0x457cc1(0x191)][_0x457cc1(0x18b)][_0x457cc1(0x186)]='se');}),this[_0x323fc4(0x188)]({'tag':_0x323fc4(0x187),'attributes':{'class':['ck',_0x323fc4(0x19b),_0x323fc4(0x18a),_0x323fc4(0x189),_0x2d3013['if'](_0x323fc4(0x183),_0x323fc4(0x181))]},'children':[this[_0x323fc4(0x185)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1403(_0x3a0a93,_0x49d153){var _0x21ad51=_0x21ad();return _0x1403=function(_0x1403d3,_0x175ee0){_0x1403d3=_0x1403d3-0x174;var _0xedeaff=_0x21ad51[_0x1403d3];return _0xedeaff;},_0x1403(_0x3a0a93,_0x49d153);}var _0x4cecdc=_0x1403;(function(_0x1f45b4,_0x1d2fc6){var _0x29e921=_0x1403,_0x57aca8=_0x1f45b4();while(!![]){try{var _0x331d8c=-parseInt(_0x29e921(0x177))/0x1+-parseInt(_0x29e921(0x17e))/0x2*(-parseInt(_0x29e921(0x181))/0x3)+parseInt(_0x29e921(0x17a))/0x4*(-parseInt(_0x29e921(0x17d))/0x5)+-parseInt(_0x29e921(0x182))/0x6+-parseInt(_0x29e921(0x178))/0x7+parseInt(_0x29e921(0x179))/0x8*(parseInt(_0x29e921(0x174))/0x9)+parseInt(_0x29e921(0x17f))/0xa;if(_0x331d8c===_0x1d2fc6)break;else _0x57aca8['push'](_0x57aca8['shift']());}catch(_0x1c1a70){_0x57aca8['push'](_0x57aca8['shift']());}}}(_0x21ad,0x85e7e));import{ContextPlugin as _0x182c45}from'ckeditor5/src/core.js';import{Sessions as _0x30048f}from'./realtimecollaborativeediting/sessions.js';function _0x21ad(){var _0x456780=['527780ItCqzK','746xcvAdc','12349110HciPhm','pluginName','144fNFEtU','706326NOAHuI','1422xzopsA','requires','PresenceList','100970lpWnFT','1972026jiYaEC','37776FMHYEE','36GvtotR','isPremiumPlugin','isOfficialPlugin'];_0x21ad=function(){return _0x456780;};return _0x21ad();}import{PresenceListUI as _0x34c966}from'./presencelist/presencelistui.js';export class PresenceList extends _0x182c45{static get[_0x4cecdc(0x175)](){return[_0x30048f,_0x34c966];}static get[_0x4cecdc(0x180)](){var _0x46c341=_0x4cecdc;return _0x46c341(0x176);}static get[_0x4cecdc(0x17c)](){return!0x0;}static get[_0x4cecdc(0x17b)](){return!0x0;}}
23
+ function _0x348d(){var _0x5a69dd=['requires','isPremiumPlugin','3EMcJXI','7565436JlcziI','PresenceList','1357656opvfhi','857332nwrAsf','pluginName','7bygZgV','10EBQntF','2534178iWCjyH','isOfficialPlugin','11122463skcJIe','89755ggJXyU','498WrNSsF','13657672wohMEK'];_0x348d=function(){return _0x5a69dd;};return _0x348d();}var _0x24baff=_0xd7de;(function(_0x19bf5b,_0x9d6c2f){var _0x459614=_0xd7de,_0x156c7d=_0x19bf5b();while(!![]){try{var _0x14682f=-parseInt(_0x459614(0xdb))/0x1+-parseInt(_0x459614(0xdf))/0x2+parseInt(_0x459614(0xd7))/0x3*(-parseInt(_0x459614(0xda))/0x4)+parseInt(_0x459614(0xe2))/0x5*(parseInt(_0x459614(0xd3))/0x6)+-parseInt(_0x459614(0xdd))/0x7*(-parseInt(_0x459614(0xd4))/0x8)+-parseInt(_0x459614(0xd8))/0x9+-parseInt(_0x459614(0xde))/0xa*(-parseInt(_0x459614(0xe1))/0xb);if(_0x14682f===_0x9d6c2f)break;else _0x156c7d['push'](_0x156c7d['shift']());}catch(_0x4fb7e3){_0x156c7d['push'](_0x156c7d['shift']());}}}(_0x348d,0xdca9c));function _0xd7de(_0x16a08f,_0x432060){var _0x348d93=_0x348d();return _0xd7de=function(_0xd7de06,_0x513aa3){_0xd7de06=_0xd7de06-0xd3;var _0x1cdb2d=_0x348d93[_0xd7de06];return _0x1cdb2d;},_0xd7de(_0x16a08f,_0x432060);}import{ContextPlugin as _0x3c553c}from'ckeditor5/src/core.js';import{Sessions as _0x374782}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3e85e9}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3c553c{static get[_0x24baff(0xd5)](){return[_0x374782,_0x3e85e9];}static get[_0x24baff(0xdc)](){var _0x1da6ce=_0x24baff;return _0x1da6ce(0xd9);}static get[_0x24baff(0xe0)](){return!0x0;}static get[_0x24baff(0xd6)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x253042=_0x9a33;(function(_0x4363cd,_0x4fe229){const _0x2ee86a=_0x9a33,_0x1c0351=_0x4363cd();while(!![]){try{const _0x338eeb=-parseInt(_0x2ee86a(0x19e))/0x1+parseInt(_0x2ee86a(0x1b2))/0x2*(-parseInt(_0x2ee86a(0x1a0))/0x3)+-parseInt(_0x2ee86a(0x19a))/0x4+-parseInt(_0x2ee86a(0x15b))/0x5*(parseInt(_0x2ee86a(0x15e))/0x6)+-parseInt(_0x2ee86a(0x1a9))/0x7+parseInt(_0x2ee86a(0x16a))/0x8*(-parseInt(_0x2ee86a(0x160))/0x9)+-parseInt(_0x2ee86a(0x18d))/0xa*(-parseInt(_0x2ee86a(0x1a3))/0xb);if(_0x338eeb===_0x4fe229)break;else _0x1c0351['push'](_0x1c0351['shift']());}catch(_0x3aaaf0){_0x1c0351['push'](_0x1c0351['shift']());}}}(_0x5d7a,0x3405e));function _0x9a33(_0x1bbea6,_0x32c2a0){const _0x5d7ac4=_0x5d7a();return _0x9a33=function(_0x9a33a1,_0x29b486){_0x9a33a1=_0x9a33a1-0x159;let _0x44269a=_0x5d7ac4[_0x9a33a1];return _0x44269a;},_0x9a33(_0x1bbea6,_0x32c2a0);}import{Context as _0x54af93,ContextPlugin as _0x304f8e}from'ckeditor5/src/core.js';import{CKEditorError as _0xc48a6f}from'ckeditor5/src/utils.js';import{Users as _0x434c12}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x17cb90,User as _0x55d0b0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x489c5b}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5b5a0b}from'../realtimecollaborativeediting/sessions.js';class s extends _0x304f8e{static [_0x253042(0x191)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x17cb90)());[_0x253042(0x187)];static get[_0x253042(0x1a6)](){const _0x5d0074=_0x253042;return[_0x489c5b,_0x5d0074(0x1bd),_0x5b5a0b,_0x434c12];}static get[_0x253042(0x193)](){const _0x412a93=_0x253042;return _0x412a93(0x179);}static get[_0x253042(0x1bc)](){return!0x0;}static get[_0x253042(0x1b9)](){return!0x0;}constructor(_0x3ff6d5){const _0x1b61a3=_0x253042;super(_0x3ff6d5),this[_0x1b61a3(0x187)]=new Map();}async[_0x253042(0x18c)](){const _0x2ff66a=_0x253042,_0x97adee=this[_0x2ff66a(0x170)],_0x518c4b=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1bd));if(_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x489c5b)[_0x2ff66a(0x1bf)](this),_0x518c4b[_0x2ff66a(0x1b5)]={'addCommentThread':async({channelId:_0x21778a,threadId:_0x46ba53,comments:_0x2b7154,resolvedAt:_0x30224a,resolvedBy:_0xbbd2fd,context:_0x3017c5,attributes:_0x4fbda6})=>{const _0x2107b0=_0x2ff66a,_0x5057d5=await this[_0x2107b0(0x1aa)](_0x21778a)[_0x2107b0(0x171)]({'commentThreadId':_0x46ba53,'comments':_0x2b7154[_0x2107b0(0x197)](_0x1c8911=>function(_0x273a50,_0x470a8f,_0x148c71){const _0x37962c=_0x2107b0;return{'commentThreadId':_0x148c71,'commentId':_0x273a50[_0x37962c(0x1b8)],'userId':_0x273a50[_0x37962c(0x195)],'content':_0x273a50[_0x37962c(0x163)],'documentId':_0x470a8f,'createdAt':_0x273a50[_0x37962c(0x19d)],'attributes':_0x273a50[_0x37962c(0x1be)]||{}};}(_0x1c8911,_0x21778a,_0x46ba53)),'resolvedAt':_0x30224a,'resolvedBy':_0xbbd2fd,'context':_0x3017c5,'attributes':_0x4fbda6})[_0x2107b0(0x17b)](A);return{'threadId':_0x5057d5[_0x2107b0(0x1a5)],'comments':_0x5057d5[_0x2107b0(0x184)]};},'getCommentThread':async({channelId:_0x3e78fe,threadId:_0x28513f})=>{const _0x4b38f2=_0x2ff66a,_0x1dc108=await this[_0x4b38f2(0x1aa)](_0x3e78fe)[_0x4b38f2(0x162)](_0x28513f)[_0x4b38f2(0x17b)](A);return _0x1dc108[_0x4b38f2(0x174)]?null:(await this[_0x4b38f2(0x16b)]([_0x1dc108]),{'threadId':_0x1dc108[_0x4b38f2(0x1a5)],'comments':_0x1dc108[_0x4b38f2(0x184)][_0x4b38f2(0x197)](p),'context':_0x1dc108[_0x4b38f2(0x170)],'resolvedAt':_0x1dc108[_0x4b38f2(0x166)],'resolvedBy':_0x1dc108[_0x4b38f2(0x16f)],'attributes':_0x1dc108[_0x4b38f2(0x1be)]||{}});},'updateCommentThread':async({channelId:_0x1640ae,threadId:_0x530c17,context:_0x1b6d69,unlinkedAt:_0x390b6f,attributes:_0x1f698e})=>this[_0x2ff66a(0x1aa)](_0x1640ae)[_0x2ff66a(0x19f)]({'commentThreadId':_0x530c17,'context':_0x1b6d69,'attributes':_0x1f698e,'unlinkedAt':_0x390b6f})[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'resolveCommentThread':async({channelId:_0x39eee1,threadId:_0x1c9797})=>{const _0x2e390a=_0x2ff66a,_0x4d0f59=await this[_0x2e390a(0x1aa)](_0x39eee1)[_0x2e390a(0x189)](_0x1c9797)[_0x2e390a(0x17b)](v)[_0x2e390a(0x17b)](A);return{'threadId':_0x4d0f59[_0x2e390a(0x1a5)],'resolvedAt':_0x4d0f59[_0x2e390a(0x166)],'resolvedBy':_0x4d0f59[_0x2e390a(0x16f)]};},'reopenCommentThread':async({channelId:_0x33472c,threadId:_0x15ad71})=>this[_0x2ff66a(0x1aa)](_0x33472c)[_0x2ff66a(0x1ad)](_0x15ad71)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeCommentThread':({channelId:_0x223af8,threadId:_0x3c81b8})=>this[_0x2ff66a(0x1aa)](_0x223af8)[_0x2ff66a(0x167)](_0x3c81b8)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'addComment':({channelId:_0x516dc4,threadId:_0x284309,commentId:_0x14d9d6,content:_0x33dd10,attributes:_0x2dcaf5})=>this[_0x2ff66a(0x1aa)](_0x516dc4)[_0x2ff66a(0x185)](_0x284309,_0x14d9d6,_0x33dd10,_0x2dcaf5)[_0x2ff66a(0x17b)](A),'updateComment':({channelId:_0xb49b25,threadId:_0x506214,commentId:_0x5e6bd8,content:_0x2c9a72,attributes:_0x336108})=>this[_0x2ff66a(0x1aa)](_0xb49b25)[_0x2ff66a(0x1af)](_0x506214,_0x5e6bd8,_0x2c9a72,_0x336108)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeComment':({channelId:_0x4e6344,threadId:_0x48339d,commentId:_0x5bfb59})=>this[_0x2ff66a(0x1aa)](_0x4e6344)[_0x2ff66a(0x19b)](_0x48339d,_0x5bfb59)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A)},_0x97adee instanceof _0x54af93){const _0x240ec0=_0x97adee[_0x2ff66a(0x164)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1b3)),_0x25ebc7=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x5b5a0b);await this[_0x2ff66a(0x186)](_0x240ec0);const _0x4eafb4=await this[_0x2ff66a(0x187)][_0x2ff66a(0x1b0)](_0x240ec0)[_0x2ff66a(0x15c)]();this[_0x2ff66a(0x15a)](_0x25ebc7,_0x2ff66a(0x1b7)+_0x240ec0,(_0x22dc90,{session:_0x1f1522})=>{const _0x4a0a06=_0x2ff66a;_0x1f1522['id']===_0x25ebc7[_0x4a0a06(0x198)]&&(_0x22dc90[_0x4a0a06(0x1a1)](),this[_0x4a0a06(0x170)][_0x4a0a06(0x16d)][_0x4a0a06(0x1b0)](_0x4a0a06(0x16c))[_0x4a0a06(0x1ba)](_0x1f1522[_0x4a0a06(0x1a2)],_0x240ec0));}),_0x25ebc7[_0x2ff66a(0x1a7)](_0x240ec0,_0x4eafb4);}}async[_0x253042(0x186)](_0x578925){const _0x57cad2=_0x253042;if(this[_0x57cad2(0x187)][_0x57cad2(0x17e)](_0x578925))throw new _0xc48a6f(_0x57cad2(0x159),null,{'channelId':_0x578925});const _0x4044c5=this[_0x57cad2(0x170)][_0x57cad2(0x16d)][_0x57cad2(0x1b0)](_0x57cad2(0x1bd)),_0xd18a04=new s[(_0x57cad2(0x191))](_0x578925);this[_0x57cad2(0x187)][_0x57cad2(0x178)](_0x578925,_0xd18a04),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18e),(_0x1a1482,_0x9dd339)=>{const _0x53a41f=_0x57cad2,{commentThreadId:_0x4465eb,documentId:_0x457558,context:_0x17d42e,attributes:_0x144b13,resolvedAt:_0x54f3aa,resolvedBy:_0x3ed9bc,comments:_0x57ab45}=_0x9dd339;_0x4044c5[_0x53a41f(0x162)](_0x4465eb)||_0x4044c5[_0x53a41f(0x171)]({'threadId':_0x4465eb,'channelId':_0x457558,'comments':_0x57ab45?_0x57ab45[_0x53a41f(0x197)](p):[],'context':_0x17d42e,'attributes':_0x144b13,'resolvedAt':_0x54f3aa,'resolvedBy':_0x3ed9bc,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18a),(_0x4a0174,{commentThreadId:_0x24dd52,documentId:_0x7b5157,context:_0x3c5072,unlinkedAt:_0x3e77b9,attributes:_0x4b2da6})=>{const _0x38e494=_0x57cad2;_0x4044c5[_0x38e494(0x162)](_0x24dd52)&&_0x4044c5[_0x38e494(0x19f)]({'threadId':_0x24dd52,'channelId':_0x7b5157,'context':_0x3c5072,'unlinkedAt':_0x3e77b9,'attributes':_0x4b2da6,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x169),(_0x1eacbd,{commentThreadId:_0x48afd8,resolvedBy:_0x2b24cf,resolvedAt:_0x22a247})=>{const _0x16a294=_0x57cad2,_0x325a40=_0x4044c5[_0x16a294(0x162)](_0x48afd8);_0x325a40&&_0x325a40[_0x16a294(0x194)]({'resolvedBy':_0x2b24cf,'resolvedAt':_0x22a247,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x16e),(_0x511723,{commentThreadId:_0x4edc09})=>{const _0x4e4bfc=_0x57cad2,_0x5333a9=_0x4044c5[_0x4e4bfc(0x162)](_0x4edc09);_0x5333a9&&_0x5333a9[_0x4e4bfc(0x15f)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x17a),(_0x21bff7,{commentThreadId:_0x63e87c})=>{const _0x1f6100=_0x57cad2,_0x12423c=_0x4044c5[_0x1f6100(0x162)](_0x63e87c);_0x12423c&&_0x12423c[_0x1f6100(0x17d)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x172),(_0x594600,_0x1d3fa6)=>{const _0x362def=_0x57cad2,_0x78f69b=_0x1d3fa6[_0x362def(0x1a5)],_0x5c3be4=_0x4044c5[_0x362def(0x162)](_0x78f69b);_0x5c3be4&&_0x5c3be4[_0x362def(0x185)]({...p(_0x1d3fa6),'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1b1),(_0x36fb79,{commentThreadId:_0x56ad0e,commentId:_0x5350c5,content:_0x4d9fea,attributes:_0x4f528a})=>{const _0x5f390a=_0x57cad2,_0x399483=_0x4044c5[_0x5f390a(0x162)](_0x56ad0e);if(_0x399483){const _0x24c278=_0x399483[_0x5f390a(0x188)](_0x5350c5);_0x24c278&&_0x24c278[_0x5f390a(0x181)]({'content':_0x4d9fea,'attributes':_0x4f528a,'isFromAdapter':!0x0});}}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1ae),(_0x5acc95,{commentThreadId:_0x4eedf6,commentId:_0x115404})=>{const _0x505ee3=_0x57cad2,_0x3b4a47=_0x4044c5[_0x505ee3(0x162)](_0x4eedf6);if(_0x3b4a47){const _0x1f5c90=_0x3b4a47[_0x505ee3(0x188)](_0x115404);_0x1f5c90&&_0x1f5c90[_0x505ee3(0x17d)]({'isFromAdapter':!0x0});}}),await this[_0x57cad2(0x1b4)](_0x578925);}[_0x253042(0x1bb)](){const _0x41981e=_0x253042;if(this[_0x41981e(0x170)]instanceof _0x54af93){const _0x541084=this[_0x41981e(0x170)][_0x41981e(0x164)][_0x41981e(0x1b0)](_0x41981e(0x1b3));this[_0x41981e(0x182)](_0x541084);}}[_0x253042(0x182)](_0x1f163f){const _0x6488c5=_0x253042;if(!this[_0x6488c5(0x187)][_0x6488c5(0x17e)](_0x1f163f))throw new _0xc48a6f(_0x6488c5(0x196),null,{'channelId':_0x1f163f});this[_0x6488c5(0x1aa)](_0x1f163f)[_0x6488c5(0x165)](),this[_0x6488c5(0x187)][_0x6488c5(0x1ac)](_0x1f163f);}async[_0x253042(0x177)](){const _0x5db5c0=_0x253042;for(const _0x5bdebf of this[_0x5db5c0(0x187)][_0x5db5c0(0x199)]())await this[_0x5db5c0(0x1b4)](_0x5bdebf);if(this[_0x5db5c0(0x170)]instanceof _0x54af93){const _0x3946ae=this[_0x5db5c0(0x170)][_0x5db5c0(0x164)][_0x5db5c0(0x1b0)](_0x5db5c0(0x1b3)),_0x29d442=this[_0x5db5c0(0x170)][_0x5db5c0(0x16d)][_0x5db5c0(0x1b0)](_0x5b5a0b);_0x29d442[_0x5db5c0(0x161)](_0x3946ae);const _0x5d30c2=await this[_0x5db5c0(0x187)][_0x5db5c0(0x1b0)](_0x3946ae)[_0x5db5c0(0x15c)]();_0x29d442[_0x5db5c0(0x1a7)](_0x3946ae,_0x5d30c2);}}async[_0x253042(0x1b4)](_0x4b39b7){const _0x1160da=_0x253042,{connection:_0x2cd781}=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x489c5b),_0x320e12=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x1160da(0x1bd)),_0x19cc5e=this[_0x1160da(0x187)][_0x1160da(0x1b0)](_0x4b39b7),_0x293509=await _0x19cc5e[_0x1160da(0x168)](_0x2cd781);await this[_0x1160da(0x16b)](_0x293509);const _0x3841e9=new Set(Array[_0x1160da(0x18f)](_0x320e12[_0x1160da(0x17c)]({'channelId':_0x4b39b7}),_0x2d4a8f=>_0x2d4a8f['id']));for(const _0x5e0ad4 of _0x293509)_0x5e0ad4[_0x1160da(0x174)]||_0x3841e9[_0x1160da(0x1ac)](_0x5e0ad4[_0x1160da(0x1a5)]);for(const _0x2af326 of _0x3841e9)_0x320e12[_0x1160da(0x162)](_0x2af326)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x1f20d9 of _0x293509){let _0x33b8e5=_0x320e12[_0x1160da(0x162)](_0x1f20d9[_0x1160da(0x1a5)]);const {commentThreadId:_0x944204,context:_0x4214aa,attributes:_0x12b730,resolvedBy:_0x41a63b,resolvedAt:_0x393406,unlinkedAt:_0x26696a,deletedAt:_0x842da0}=_0x1f20d9;if(_0x842da0)continue;_0x33b8e5||(_0x33b8e5=_0x320e12[_0x1160da(0x171)]({'channelId':_0x4b39b7,'threadId':_0x944204,'context':_0x4214aa,'attributes':_0x12b730||{},'resolvedBy':_0x41a63b,'resolvedAt':_0x393406,'unlinkedAt':_0x26696a,'isFromAdapter':!0x0}));const _0x4ad1d8=new Set(Array[_0x1160da(0x18f)](_0x33b8e5[_0x1160da(0x184)],_0x583234=>_0x583234['id']));for(const _0x292968 of _0x1f20d9[_0x1160da(0x184)])_0x4ad1d8[_0x1160da(0x1ac)](_0x292968[_0x1160da(0x1b8)]);for(const _0x1a2030 of _0x4ad1d8)_0x33b8e5[_0x1160da(0x188)](_0x1a2030)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x16b84c of _0x1f20d9[_0x1160da(0x184)]){const _0x8dccda=_0x33b8e5[_0x1160da(0x188)](_0x16b84c[_0x1160da(0x1b8)]);_0x8dccda?_0x8dccda[_0x1160da(0x163)]!==_0x16b84c[_0x1160da(0x163)]&&_0x8dccda[_0x1160da(0x181)]({'content':_0x16b84c[_0x1160da(0x163)],'isFromAdapter':!0x0}):_0x33b8e5[_0x1160da(0x185)](Object[_0x1160da(0x1b6)](p(_0x16b84c),{'isFromAdapter':!0x0}));}}}[_0x253042(0x1aa)](_0xf0a474){const _0x445fd3=_0x253042;if(!this[_0x445fd3(0x187)][_0x445fd3(0x17e)](_0xf0a474))throw new _0xc48a6f(_0x445fd3(0x17f),null,{'channelId':_0xf0a474});return this[_0x445fd3(0x187)][_0x445fd3(0x1b0)](_0xf0a474);}async[_0x253042(0x16b)](_0x1825f3){const _0x4d8a49=_0x253042,_0x5b5944=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x434c12),{connection:_0xcd880c}=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x489c5b),_0xe47080=new Set();for(const {resolvedBy:_0x5488e0,comments:_0x1179e7}of _0x1825f3){_0x5488e0&&!_0x5b5944[_0x4d8a49(0x175)](_0x5488e0)&&_0xe47080[_0x4d8a49(0x192)](_0x5488e0);for(const {userId:_0xf070ab}of _0x1179e7)_0x5b5944[_0x4d8a49(0x175)](_0xf070ab)||_0xe47080[_0x4d8a49(0x192)](_0xf070ab);}if(0x0===_0xe47080[_0x4d8a49(0x183)])return;const _0x5f1346=await _0x55d0b0[_0x4d8a49(0x1a8)](_0xcd880c,Array[_0x4d8a49(0x18f)](_0xe47080));for(const _0x59bf62 of _0x5f1346)_0x5b5944[_0x4d8a49(0x175)](_0x59bf62['id'])||_0x5b5944[_0x4d8a49(0x15d)](_0x59bf62);}}export{s as CloudServicesCommentsAdapter};async function v(_0x5922e3){const _0x1e1a34=_0x253042;if(_0x1e1a34(0x190)!==_0x5922e3[_0x1e1a34(0x1ab)])throw _0x5922e3;}function _0x5d7a(){const _0xf470c4=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','set','CloudServicesCommentsAdapter','commentThreadRemoved','catch','getCommentThreads','remove','has','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','update','_terminateService','size','comments','addComment','_setUpService','_services','getComment','resolveCommentThread','commentThreadUpdated','message','init','432930qQZZMU','commentThreadAdded','from','404','CommentsService','add','pluginName','resolve','authorId','cloudservicescommentsadapter-disconnect-not-exist','map','mySessionId','keys','254364cDsQTN','removeComment','userId','createdAt','189202LNtKaH','updateCommentThread','9792QWwgzH','off','permissions','385bmaiDP','startsWith','commentThreadId','requires','register','getMany','1128757urHcJy','_getService','code','delete','reopenCommentThread','commentRemoved','updateComment','get','commentUpdated','124ySbVOx','collaboration.channelId','_connectService','adapter','assign','sessionAdd:','commentId','isPremiumPlugin','setPermissions','destroy','isOfficialPlugin','CommentsRepository','attributes','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','listenTo','7255NQZeVR','getConnectedSessions','addUser','1734JiXagA','reopen','7011mKAvsm','unregister','getCommentThread','content','config','disconnect','resolvedAt','removeCommentThread','connect','commentThreadResolved','2736pOnGVD','_fetchMissingUsersForThreads','Permissions','plugins','commentThreadReopened','resolvedBy','context','addCommentThread','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','getUser'];_0x5d7a=function(){return _0xf470c4;};return _0x5d7a();}function A(_0x16677d){const _0x57e445=_0x253042;if((_0x2e9004=_0x16677d)[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x176))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x173))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x180)))return new Promise(()=>{});var _0x2e9004;throw _0x16677d;}function p(_0x165119){const _0x1c32dc=_0x253042;return{'threadId':_0x165119[_0x1c32dc(0x1a5)],'commentId':_0x165119[_0x1c32dc(0x1b8)],'content':_0x165119[_0x1c32dc(0x163)],'createdAt':_0x165119[_0x1c32dc(0x19d)],'authorId':_0x165119[_0x1c32dc(0x19c)],'attributes':_0x165119[_0x1c32dc(0x1be)]||{}};}
23
+ const _0x104de5=_0x4f8e;(function(_0x31f40b,_0x467a62){const _0x1edcee=_0x4f8e,_0x341f83=_0x31f40b();while(!![]){try{const _0x208345=-parseInt(_0x1edcee(0xcc))/0x1+-parseInt(_0x1edcee(0xc0))/0x2+parseInt(_0x1edcee(0xdf))/0x3*(parseInt(_0x1edcee(0x100))/0x4)+parseInt(_0x1edcee(0xda))/0x5+parseInt(_0x1edcee(0xc2))/0x6*(parseInt(_0x1edcee(0xb0))/0x7)+parseInt(_0x1edcee(0xee))/0x8+-parseInt(_0x1edcee(0xe9))/0x9;if(_0x208345===_0x467a62)break;else _0x341f83['push'](_0x341f83['shift']());}catch(_0x5aad35){_0x341f83['push'](_0x341f83['shift']());}}}(_0x3013,0xc8554));function _0x3013(){const _0x456e90=['resolve','_setUpService','getMany','getUser','7482445YDjdWj','mySessionId','code','commentRemoved','requires','106041yXOYCa','disconnect','reopen','getConnectedSessions','collaboration.channelId','listenTo','pluginName','set','commentThreadId','context','8245449PQaRqP','addComment','comments','_fetchMissingUsersForThreads','updateCommentThread','2843200AdqIZF','commentThreadRemoved','commentAdded','off','permissions','update','CommentsService','assign','init','delete','commentThreadResolved','content','isOfficialPlugin','config','Permissions','CloudServicesCommentsAdapter','removeComment','addUser','76ghCkfw','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-disconnect-not-exist','cloudservicescommentsadapter-connect-already-connected','isPremiumPlugin','catch','reopenCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','_getService','sessionAdd:','adapter','map','_services','attributes','add','addToReconnectionStack','_connectService','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','428253laKKHx','commentThreadUpdated','plugins','message','startsWith','resolvedAt','setPermissions','userId','createdAt','getComment','addCommentThread','CommentsRepository','register','has','_terminateService','remove','3208562SzMpIo','cloudservicescommentsadapter-service-not-exist','138lYDHUF','commentId','destroy','unregister','getCommentThread','getCommentThreads','keys','404','resolveCommentThread','updateComment','589593fGbelM','connect','commentUpdated','deletedAt','size','from','commentThreadAdded','commentThreadReopened','get','authorId'];_0x3013=function(){return _0x456e90;};return _0x3013();}import{Context as _0x1a7000,ContextPlugin as _0x3c3aca}from'ckeditor5/src/core.js';import{CKEditorError as _0x391f36}from'ckeditor5/src/utils.js';import{Users as _0xde4061}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x119cf7,User as _0x29bd84}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4f8e(_0x4fbaaa,_0x3d57d2){const _0x3013a3=_0x3013();return _0x4f8e=function(_0x4f8e74,_0x5f0bf2){_0x4f8e74=_0x4f8e74-0x9d;let _0x3d3371=_0x3013a3[_0x4f8e74];return _0x3d3371;},_0x4f8e(_0x4fbaaa,_0x3d57d2);}import{WebSocketGateway as _0x1e38ac}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x66f9eb}from'../realtimecollaborativeediting/sessions.js';class s extends _0x3c3aca{static [_0x104de5(0xf4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x119cf7)());[_0x104de5(0xa9)];static get[_0x104de5(0xde)](){const _0x43b3ed=_0x104de5;return[_0x1e38ac,_0x43b3ed(0xbb),_0x66f9eb,_0xde4061];}static get[_0x104de5(0xe5)](){const _0x17845a=_0x104de5;return _0x17845a(0xfd);}static get[_0x104de5(0xfa)](){return!0x0;}static get[_0x104de5(0xa0)](){return!0x0;}constructor(_0x5b52af){const _0x4902c6=_0x104de5;super(_0x5b52af),this[_0x4902c6(0xa9)]=new Map();}async[_0x104de5(0xf6)](){const _0xbf284f=_0x104de5,_0x2f5b4a=this[_0xbf284f(0xe8)],_0x278694=_0x2f5b4a[_0xbf284f(0xb2)][_0xbf284f(0xd4)](_0xbf284f(0xbb));if(_0x2f5b4a[_0xbf284f(0xb2)][_0xbf284f(0xd4)](_0x1e38ac)[_0xbf284f(0xac)](this),_0x278694[_0xbf284f(0xa7)]={'addCommentThread':async({channelId:_0x21023b,threadId:_0x36585a,comments:_0x1a72b4,resolvedAt:_0x14018a,resolvedBy:_0x32069c,context:_0x50a975,attributes:_0x528fbf})=>{const _0x1bb693=_0xbf284f,_0x21b2c9=await this[_0x1bb693(0xa5)](_0x21023b)[_0x1bb693(0xba)]({'commentThreadId':_0x36585a,'comments':_0x1a72b4[_0x1bb693(0xa8)](_0x3080e1=>function(_0x8539de,_0x136c44,_0x1861a8){const _0x5207e7=_0x1bb693;return{'commentThreadId':_0x1861a8,'commentId':_0x8539de[_0x5207e7(0xc3)],'userId':_0x8539de[_0x5207e7(0xd5)],'content':_0x8539de[_0x5207e7(0xf9)],'documentId':_0x136c44,'createdAt':_0x8539de[_0x5207e7(0xb8)],'attributes':_0x8539de[_0x5207e7(0xaa)]||{}};}(_0x3080e1,_0x21023b,_0x36585a)),'resolvedAt':_0x14018a,'resolvedBy':_0x32069c,'context':_0x50a975,'attributes':_0x528fbf})[_0x1bb693(0xa1)](C);return{'threadId':_0x21b2c9[_0x1bb693(0xe7)],'comments':_0x21b2c9[_0x1bb693(0xeb)]};},'getCommentThread':async({channelId:_0x377938,threadId:_0x2d921e})=>{const _0x2f3b89=_0xbf284f,_0x102ffe=await this[_0x2f3b89(0xa5)](_0x377938)[_0x2f3b89(0xc6)](_0x2d921e)[_0x2f3b89(0xa1)](C);return _0x102ffe[_0x2f3b89(0xcf)]?null:(await this[_0x2f3b89(0xec)]([_0x102ffe]),{'threadId':_0x102ffe[_0x2f3b89(0xe7)],'comments':_0x102ffe[_0x2f3b89(0xeb)][_0x2f3b89(0xa8)](U),'context':_0x102ffe[_0x2f3b89(0xe8)],'resolvedAt':_0x102ffe[_0x2f3b89(0xb5)],'resolvedBy':_0x102ffe[_0x2f3b89(0xae)],'attributes':_0x102ffe[_0x2f3b89(0xaa)]||{}});},'updateCommentThread':async({channelId:_0x3eb9c2,threadId:_0x44bdde,context:_0x429247,unlinkedAt:_0x56e440,attributes:_0x4c38cb})=>this[_0xbf284f(0xa5)](_0x3eb9c2)[_0xbf284f(0xed)]({'commentThreadId':_0x44bdde,'context':_0x429247,'attributes':_0x4c38cb,'unlinkedAt':_0x56e440})[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'resolveCommentThread':async({channelId:_0x454fc2,threadId:_0x208c94})=>{const _0x95a464=_0xbf284f,_0xfff552=await this[_0x95a464(0xa5)](_0x454fc2)[_0x95a464(0xca)](_0x208c94)[_0x95a464(0xa1)](B)[_0x95a464(0xa1)](C);return{'threadId':_0xfff552[_0x95a464(0xe7)],'resolvedAt':_0xfff552[_0x95a464(0xb5)],'resolvedBy':_0xfff552[_0x95a464(0xae)]};},'reopenCommentThread':async({channelId:_0x3a7c2e,threadId:_0x5a1e82})=>this[_0xbf284f(0xa5)](_0x3a7c2e)[_0xbf284f(0xa2)](_0x5a1e82)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'removeCommentThread':({channelId:_0x11494a,threadId:_0x1c8dc1})=>this[_0xbf284f(0xa5)](_0x11494a)[_0xbf284f(0x101)](_0x1c8dc1)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'addComment':({channelId:_0x5b53e3,threadId:_0x12582c,commentId:_0x398bf7,content:_0x295548,attributes:_0x451eeb})=>this[_0xbf284f(0xa5)](_0x5b53e3)[_0xbf284f(0xea)](_0x12582c,_0x398bf7,_0x295548,_0x451eeb)[_0xbf284f(0xa1)](C),'updateComment':({channelId:_0x36b2f9,threadId:_0x1f95f2,commentId:_0x32a1bd,content:_0x3750d1,attributes:_0x274f3f})=>this[_0xbf284f(0xa5)](_0x36b2f9)[_0xbf284f(0xcb)](_0x1f95f2,_0x32a1bd,_0x3750d1,_0x274f3f)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'removeComment':({channelId:_0x4ce6bc,threadId:_0x191110,commentId:_0xc54508})=>this[_0xbf284f(0xa5)](_0x4ce6bc)[_0xbf284f(0xfe)](_0x191110,_0xc54508)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C)},_0x2f5b4a instanceof _0x1a7000){const _0x5ea5bd=_0x2f5b4a[_0xbf284f(0xfb)][_0xbf284f(0xd4)](_0xbf284f(0xe3)),_0x4a98da=_0x2f5b4a[_0xbf284f(0xb2)][_0xbf284f(0xd4)](_0x66f9eb);await this[_0xbf284f(0xd7)](_0x5ea5bd);const _0x241ba6=await this[_0xbf284f(0xa9)][_0xbf284f(0xd4)](_0x5ea5bd)[_0xbf284f(0xe2)]();this[_0xbf284f(0xe4)](_0x4a98da,_0xbf284f(0xa6)+_0x5ea5bd,(_0xb66e8,{session:_0x17335c})=>{const _0x413c7c=_0xbf284f;_0x17335c['id']===_0x4a98da[_0x413c7c(0xdb)]&&(_0xb66e8[_0x413c7c(0xf1)](),this[_0x413c7c(0xe8)][_0x413c7c(0xb2)][_0x413c7c(0xd4)](_0x413c7c(0xfc))[_0x413c7c(0xb6)](_0x17335c[_0x413c7c(0xf2)],_0x5ea5bd));}),_0x4a98da[_0xbf284f(0xbc)](_0x5ea5bd,_0x241ba6);}}async[_0x104de5(0xd7)](_0xc24f3c){const _0x2711ca=_0x104de5;if(this[_0x2711ca(0xa9)][_0x2711ca(0xbd)](_0xc24f3c))throw new _0x391f36(_0x2711ca(0x9f),null,{'channelId':_0xc24f3c});const _0x4f389d=this[_0x2711ca(0xe8)][_0x2711ca(0xb2)][_0x2711ca(0xd4)](_0x2711ca(0xbb)),_0x57a9e7=new s[(_0x2711ca(0xf4))](_0xc24f3c);this[_0x2711ca(0xa9)][_0x2711ca(0xe6)](_0xc24f3c,_0x57a9e7),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xd2),(_0x66087a,_0x50ad69)=>{const _0x46bc7f=_0x2711ca,{commentThreadId:_0x4c1bf8,documentId:_0x4ead3e,context:_0x594e54,attributes:_0x5c5be4,resolvedAt:_0xa5b360,resolvedBy:_0x39ad22,comments:_0x5a61bd}=_0x50ad69;_0x4f389d[_0x46bc7f(0xc6)](_0x4c1bf8)||_0x4f389d[_0x46bc7f(0xba)]({'threadId':_0x4c1bf8,'channelId':_0x4ead3e,'comments':_0x5a61bd?_0x5a61bd[_0x46bc7f(0xa8)](U):[],'context':_0x594e54,'attributes':_0x5c5be4,'resolvedAt':_0xa5b360,'resolvedBy':_0x39ad22,'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xb1),(_0x2ab68d,{commentThreadId:_0x466e32,documentId:_0x102a14,context:_0x5aa89f,unlinkedAt:_0x6d9334,attributes:_0x49650f})=>{const _0x2ddeb7=_0x2711ca;_0x4f389d[_0x2ddeb7(0xc6)](_0x466e32)&&_0x4f389d[_0x2ddeb7(0xed)]({'threadId':_0x466e32,'channelId':_0x102a14,'context':_0x5aa89f,'unlinkedAt':_0x6d9334,'attributes':_0x49650f,'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xf8),(_0x1a0937,{commentThreadId:_0x20e3bf,resolvedBy:_0x4c2952,resolvedAt:_0x149d20})=>{const _0x250bb9=_0x2711ca,_0x55fe1d=_0x4f389d[_0x250bb9(0xc6)](_0x20e3bf);_0x55fe1d&&_0x55fe1d[_0x250bb9(0xd6)]({'resolvedBy':_0x4c2952,'resolvedAt':_0x149d20,'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xd3),(_0xd03186,{commentThreadId:_0x56201f})=>{const _0x22b6ed=_0x2711ca,_0x11845b=_0x4f389d[_0x22b6ed(0xc6)](_0x56201f);_0x11845b&&_0x11845b[_0x22b6ed(0xe1)]({'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xef),(_0x389764,{commentThreadId:_0x57b235})=>{const _0x271e41=_0x2711ca,_0x43ff41=_0x4f389d[_0x271e41(0xc6)](_0x57b235);_0x43ff41&&_0x43ff41[_0x271e41(0xbf)]({'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xf0),(_0x30471d,_0x1209f1)=>{const _0x4c082c=_0x2711ca,_0x57bae0=_0x1209f1[_0x4c082c(0xe7)],_0x142ac6=_0x4f389d[_0x4c082c(0xc6)](_0x57bae0);_0x142ac6&&_0x142ac6[_0x4c082c(0xea)]({...U(_0x1209f1),'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xce),(_0x3fb920,{commentThreadId:_0x593412,commentId:_0x2e61d8,content:_0x2314a0,attributes:_0x449cd9})=>{const _0x51fa02=_0x2711ca,_0x44bcaf=_0x4f389d[_0x51fa02(0xc6)](_0x593412);if(_0x44bcaf){const _0x365846=_0x44bcaf[_0x51fa02(0xb9)](_0x2e61d8);_0x365846&&_0x365846[_0x51fa02(0xf3)]({'content':_0x2314a0,'attributes':_0x449cd9,'isFromAdapter':!0x0});}}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xdd),(_0x21ddf9,{commentThreadId:_0x2caf9c,commentId:_0x3b247e})=>{const _0x1ac86a=_0x2711ca,_0x38c738=_0x4f389d[_0x1ac86a(0xc6)](_0x2caf9c);if(_0x38c738){const _0x2d4011=_0x38c738[_0x1ac86a(0xb9)](_0x3b247e);_0x2d4011&&_0x2d4011[_0x1ac86a(0xbf)]({'isFromAdapter':!0x0});}}),await this[_0x2711ca(0xad)](_0xc24f3c);}[_0x104de5(0xc4)](){const _0x219142=_0x104de5;if(this[_0x219142(0xe8)]instanceof _0x1a7000){const _0x8549fb=this[_0x219142(0xe8)][_0x219142(0xfb)][_0x219142(0xd4)](_0x219142(0xe3));this[_0x219142(0xbe)](_0x8549fb);}}[_0x104de5(0xbe)](_0x5e7a05){const _0x1bca20=_0x104de5;if(!this[_0x1bca20(0xa9)][_0x1bca20(0xbd)](_0x5e7a05))throw new _0x391f36(_0x1bca20(0x9e),null,{'channelId':_0x5e7a05});this[_0x1bca20(0xa5)](_0x5e7a05)[_0x1bca20(0xe0)](),this[_0x1bca20(0xa9)][_0x1bca20(0xf7)](_0x5e7a05);}async[_0x104de5(0xa4)](){const _0x4eb908=_0x104de5;for(const _0x490690 of this[_0x4eb908(0xa9)][_0x4eb908(0xc8)]())await this[_0x4eb908(0xad)](_0x490690);if(this[_0x4eb908(0xe8)]instanceof _0x1a7000){const _0x574da3=this[_0x4eb908(0xe8)][_0x4eb908(0xfb)][_0x4eb908(0xd4)](_0x4eb908(0xe3)),_0x34782e=this[_0x4eb908(0xe8)][_0x4eb908(0xb2)][_0x4eb908(0xd4)](_0x66f9eb);_0x34782e[_0x4eb908(0xc5)](_0x574da3);const _0x32d2f6=await this[_0x4eb908(0xa9)][_0x4eb908(0xd4)](_0x574da3)[_0x4eb908(0xe2)]();_0x34782e[_0x4eb908(0xbc)](_0x574da3,_0x32d2f6);}}async[_0x104de5(0xad)](_0x59e309){const _0x5db40e=_0x104de5,{connection:_0x3d59d2}=this[_0x5db40e(0xe8)][_0x5db40e(0xb2)][_0x5db40e(0xd4)](_0x1e38ac),_0x11cf03=this[_0x5db40e(0xe8)][_0x5db40e(0xb2)][_0x5db40e(0xd4)](_0x5db40e(0xbb)),_0x46bb04=this[_0x5db40e(0xa9)][_0x5db40e(0xd4)](_0x59e309),_0x1a1160=await _0x46bb04[_0x5db40e(0xcd)](_0x3d59d2);await this[_0x5db40e(0xec)](_0x1a1160);const _0x207fd0=new Set(Array[_0x5db40e(0xd1)](_0x11cf03[_0x5db40e(0xc7)]({'channelId':_0x59e309}),_0x4e162d=>_0x4e162d['id']));for(const _0x28331d of _0x1a1160)_0x28331d[_0x5db40e(0xcf)]||_0x207fd0[_0x5db40e(0xf7)](_0x28331d[_0x5db40e(0xe7)]);for(const _0xabd58c of _0x207fd0)_0x11cf03[_0x5db40e(0xc6)](_0xabd58c)[_0x5db40e(0xbf)]({'isFromAdapter':!0x0});for(const _0x43fdb8 of _0x1a1160){let _0x3eeca0=_0x11cf03[_0x5db40e(0xc6)](_0x43fdb8[_0x5db40e(0xe7)]);const {commentThreadId:_0x52d6c1,context:_0x28ab31,attributes:_0x2f7070,resolvedBy:_0x2f91d1,resolvedAt:_0x45bfbf,unlinkedAt:_0x11d9db,deletedAt:_0x391a79}=_0x43fdb8;if(_0x391a79)continue;_0x3eeca0||(_0x3eeca0=_0x11cf03[_0x5db40e(0xba)]({'channelId':_0x59e309,'threadId':_0x52d6c1,'context':_0x28ab31,'attributes':_0x2f7070||{},'resolvedBy':_0x2f91d1,'resolvedAt':_0x45bfbf,'unlinkedAt':_0x11d9db,'isFromAdapter':!0x0}));const _0x26c4ad=new Set(Array[_0x5db40e(0xd1)](_0x3eeca0[_0x5db40e(0xeb)],_0x104928=>_0x104928['id']));for(const _0x7c1454 of _0x43fdb8[_0x5db40e(0xeb)])_0x26c4ad[_0x5db40e(0xf7)](_0x7c1454[_0x5db40e(0xc3)]);for(const _0x91d59d of _0x26c4ad)_0x3eeca0[_0x5db40e(0xb9)](_0x91d59d)[_0x5db40e(0xbf)]({'isFromAdapter':!0x0});for(const _0x294955 of _0x43fdb8[_0x5db40e(0xeb)]){const _0x39600f=_0x3eeca0[_0x5db40e(0xb9)](_0x294955[_0x5db40e(0xc3)]);_0x39600f?_0x39600f[_0x5db40e(0xf9)]!==_0x294955[_0x5db40e(0xf9)]&&_0x39600f[_0x5db40e(0xf3)]({'content':_0x294955[_0x5db40e(0xf9)],'isFromAdapter':!0x0}):_0x3eeca0[_0x5db40e(0xea)](Object[_0x5db40e(0xf5)](U(_0x294955),{'isFromAdapter':!0x0}));}}}[_0x104de5(0xa5)](_0x168118){const _0x103352=_0x104de5;if(!this[_0x103352(0xa9)][_0x103352(0xbd)](_0x168118))throw new _0x391f36(_0x103352(0xc1),null,{'channelId':_0x168118});return this[_0x103352(0xa9)][_0x103352(0xd4)](_0x168118);}async[_0x104de5(0xec)](_0x4cf187){const _0x50a568=_0x104de5,_0x3b3df3=this[_0x50a568(0xe8)][_0x50a568(0xb2)][_0x50a568(0xd4)](_0xde4061),{connection:_0x1509cc}=this[_0x50a568(0xe8)][_0x50a568(0xb2)][_0x50a568(0xd4)](_0x1e38ac),_0x5f4e1d=new Set();for(const {resolvedBy:_0x3ca39d,comments:_0x56ad01}of _0x4cf187){_0x3ca39d&&!_0x3b3df3[_0x50a568(0xd9)](_0x3ca39d)&&_0x5f4e1d[_0x50a568(0xab)](_0x3ca39d);for(const {userId:_0x21ed5b}of _0x56ad01)_0x3b3df3[_0x50a568(0xd9)](_0x21ed5b)||_0x5f4e1d[_0x50a568(0xab)](_0x21ed5b);}if(0x0===_0x5f4e1d[_0x50a568(0xd0)])return;const _0x53d417=await _0x29bd84[_0x50a568(0xd8)](_0x1509cc,Array[_0x50a568(0xd1)](_0x5f4e1d));for(const _0x55690c of _0x53d417)_0x3b3df3[_0x50a568(0xd9)](_0x55690c['id'])||_0x3b3df3[_0x50a568(0xff)](_0x55690c);}}export{s as CloudServicesCommentsAdapter};async function B(_0x1e78f2){const _0x263e09=_0x104de5;if(_0x263e09(0xc9)!==_0x1e78f2[_0x263e09(0xdc)])throw _0x1e78f2;}function C(_0x3d3dcb){const _0x5cdc1b=_0x104de5;if((_0x1137e6=_0x3d3dcb)[_0x5cdc1b(0xb3)][_0x5cdc1b(0xb4)](_0x5cdc1b(0xaf))||_0x1137e6[_0x5cdc1b(0xb3)][_0x5cdc1b(0xb4)](_0x5cdc1b(0x9d))||_0x1137e6[_0x5cdc1b(0xb3)][_0x5cdc1b(0xb4)](_0x5cdc1b(0xa3)))return new Promise(()=>{});var _0x1137e6;throw _0x3d3dcb;}function U(_0x22ed29){const _0x1188cd=_0x104de5;return{'threadId':_0x22ed29[_0x1188cd(0xe7)],'commentId':_0x22ed29[_0x1188cd(0xc3)],'content':_0x22ed29[_0x1188cd(0xf9)],'createdAt':_0x22ed29[_0x1188cd(0xb8)],'authorId':_0x22ed29[_0x1188cd(0xb7)],'attributes':_0x22ed29[_0x1188cd(0xaa)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb8697d=_0x1181;function _0x2735(){const _0x69ef58=['16KPTslX','change:state','listenTo','9olERzW','get','Comments','644176ayiatO','once','879450Zapvom','CommentsRepository','CommentsEditing','data','requires','RealTimeCollaborativeComments','_terminateService','init','config','collaboration.channelId','7WHwkyR','destroy','isPremiumPlugin','137868mKUpfu','_setUpService','ready','pluginName','editor','switchReadOnly','isOfficialPlugin','46119mWgsYt','1516320bWuugZ','152728HQEWVr','3680830bkUkIx','connected','plugins','isThreadsLoadingPaused'];_0x2735=function(){return _0x69ef58;};return _0x2735();}(function(_0x31d8db,_0x1e4050){const _0x5d33ce=_0x1181,_0x3f09c1=_0x31d8db();while(!![]){try{const _0x5f48df=parseInt(_0x5d33ce(0x7f))/0x1+-parseInt(_0x5d33ce(0x76))/0x2+parseInt(_0x5d33ce(0x7d))/0x3*(parseInt(_0x5d33ce(0x84))/0x4)+-parseInt(_0x5d33ce(0x69))/0x5+-parseInt(_0x5d33ce(0x7e))/0x6+parseInt(_0x5d33ce(0x73))/0x7*(parseInt(_0x5d33ce(0x67))/0x8)+parseInt(_0x5d33ce(0x87))/0x9*(parseInt(_0x5d33ce(0x80))/0xa);if(_0x5f48df===_0x1e4050)break;else _0x3f09c1['push'](_0x3f09c1['shift']());}catch(_0xf50062){_0x3f09c1['push'](_0x3f09c1['shift']());}}}(_0x2735,0x285a1));import{Plugin as _0x4a6a5d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0xa75dae}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3b91ed}from'./realtimecollaborativeediting.js';function _0x1181(_0x3c91ae,_0x1886d6){const _0x27355f=_0x2735();return _0x1181=function(_0x1181df,_0x5d6c22){_0x1181df=_0x1181df-0x65;let _0x3ecbf0=_0x27355f[_0x1181df];return _0x3ecbf0;},_0x1181(_0x3c91ae,_0x1886d6);}import{WebSocketGateway as _0x50c3f6}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a6a5d{static get[_0xb8697d(0x6d)](){const _0x6d1d2d=_0xb8697d;return[_0x6d1d2d(0x66),_0xa75dae,_0x3b91ed,_0x50c3f6];}static get[_0xb8697d(0x79)](){const _0x212b28=_0xb8697d;return _0x212b28(0x6e);}static get[_0xb8697d(0x7c)](){return!0x0;}static get[_0xb8697d(0x75)](){return!0x0;}[_0xb8697d(0x70)](){const _0x45ecf8=_0xb8697d,_0x4cab46=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0x50c3f6),_0x4abbf9=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0x45ecf8(0x6b)),_0x1abb2d=this[_0x45ecf8(0x7a)][_0x45ecf8(0x82)][_0x45ecf8(0x65)](_0xa75dae);return this[_0x45ecf8(0x7a)][_0x45ecf8(0x6c)][_0x45ecf8(0x68)](_0x45ecf8(0x78),()=>{const _0x432913=_0x45ecf8;this[_0x432913(0x86)](_0x4cab46,_0x432913(0x85),(_0x30b1b7,_0x53c82b,_0x560ba4)=>{const _0x333939=_0x432913;_0x4abbf9[_0x333939(0x83)]=_0x333939(0x81)!==_0x560ba4;});}),this[_0x45ecf8(0x86)](_0x4cab46,_0x45ecf8(0x85),(_0x2ff41c,_0xe35eb7,_0xa46c0b)=>{const _0x3746d9=_0x45ecf8;this[_0x3746d9(0x7a)][_0x3746d9(0x82)][_0x3746d9(0x65)](_0x3746d9(0x6a))[_0x3746d9(0x7b)](_0x3746d9(0x81)!==_0xa46c0b);}),_0x1abb2d[_0x45ecf8(0x77)](this[_0x45ecf8(0x7a)][_0x45ecf8(0x71)][_0x45ecf8(0x65)](_0x45ecf8(0x72)));}[_0xb8697d(0x74)](){const _0x293eec=_0xb8697d;this[_0x293eec(0x7a)][_0x293eec(0x82)][_0x293eec(0x65)](_0xa75dae)[_0x293eec(0x6f)](this[_0x293eec(0x7a)][_0x293eec(0x71)][_0x293eec(0x65)](_0x293eec(0x72))),super[_0x293eec(0x74)]();}}
23
+ const _0x5d76fe=_0x32dc;(function(_0x73d3eb,_0x59897b){const _0x5635a4=_0x32dc,_0x2aa510=_0x73d3eb();while(!![]){try{const _0x4a79ed=-parseInt(_0x5635a4(0x15c))/0x1*(parseInt(_0x5635a4(0x165))/0x2)+-parseInt(_0x5635a4(0x159))/0x3*(-parseInt(_0x5635a4(0x171))/0x4)+parseInt(_0x5635a4(0x170))/0x5*(parseInt(_0x5635a4(0x16f))/0x6)+-parseInt(_0x5635a4(0x152))/0x7*(parseInt(_0x5635a4(0x168))/0x8)+-parseInt(_0x5635a4(0x16a))/0x9+parseInt(_0x5635a4(0x14e))/0xa*(parseInt(_0x5635a4(0x160))/0xb)+parseInt(_0x5635a4(0x163))/0xc*(parseInt(_0x5635a4(0x172))/0xd);if(_0x4a79ed===_0x59897b)break;else _0x2aa510['push'](_0x2aa510['shift']());}catch(_0x3492a6){_0x2aa510['push'](_0x2aa510['shift']());}}}(_0x6dfa,0x6ee83));import{Plugin as _0x4a7e79}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x25be12}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x32dc(_0x27e4a1,_0x1d07b6){const _0x6dfa91=_0x6dfa();return _0x32dc=function(_0x32dca7,_0x409f6a){_0x32dca7=_0x32dca7-0x14d;let _0xe128a8=_0x6dfa91[_0x32dca7];return _0xe128a8;},_0x32dc(_0x27e4a1,_0x1d07b6);}import{RealTimeCollaborativeEditing as _0x4c6dc1}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1ccaa8}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a7e79{static get[_0x5d76fe(0x14d)](){const _0xed528e=_0x5d76fe;return[_0xed528e(0x167),_0x25be12,_0x4c6dc1,_0x1ccaa8];}static get[_0x5d76fe(0x14f)](){const _0x952294=_0x5d76fe;return _0x952294(0x166);}static get[_0x5d76fe(0x156)](){return!0x0;}static get[_0x5d76fe(0x161)](){return!0x0;}[_0x5d76fe(0x15d)](){const _0x5bc4f3=_0x5d76fe,_0x40ee02=this[_0x5bc4f3(0x151)][_0x5bc4f3(0x162)][_0x5bc4f3(0x153)](_0x1ccaa8),_0x422e28=this[_0x5bc4f3(0x151)][_0x5bc4f3(0x162)][_0x5bc4f3(0x153)](_0x5bc4f3(0x15e)),_0x4cba3d=this[_0x5bc4f3(0x151)][_0x5bc4f3(0x162)][_0x5bc4f3(0x153)](_0x25be12);return this[_0x5bc4f3(0x151)][_0x5bc4f3(0x158)][_0x5bc4f3(0x164)](_0x5bc4f3(0x16d),()=>{const _0x21f316=_0x5bc4f3;this[_0x21f316(0x169)](_0x40ee02,_0x21f316(0x16b),(_0x5e5d03,_0x352dbf,_0x546b1e)=>{const _0x5013bc=_0x21f316;_0x422e28[_0x5013bc(0x15a)]=_0x5013bc(0x157)!==_0x546b1e;});}),this[_0x5bc4f3(0x169)](_0x40ee02,_0x5bc4f3(0x16b),(_0x9a7afa,_0x41289b,_0xb71f3e)=>{const _0x12e839=_0x5bc4f3;this[_0x12e839(0x151)][_0x12e839(0x162)][_0x12e839(0x153)](_0x12e839(0x16e))[_0x12e839(0x154)](_0x12e839(0x157)!==_0xb71f3e);}),_0x4cba3d[_0x5bc4f3(0x16c)](this[_0x5bc4f3(0x151)][_0x5bc4f3(0x150)][_0x5bc4f3(0x153)](_0x5bc4f3(0x15f)));}[_0x5d76fe(0x15b)](){const _0x3834e8=_0x5d76fe;this[_0x3834e8(0x151)][_0x3834e8(0x162)][_0x3834e8(0x153)](_0x25be12)[_0x3834e8(0x155)](this[_0x3834e8(0x151)][_0x3834e8(0x150)][_0x3834e8(0x153)](_0x3834e8(0x15f))),super[_0x3834e8(0x15b)]();}}function _0x6dfa(){const _0x1dd89b=['config','editor','27055hSmgLz','get','switchReadOnly','_terminateService','isOfficialPlugin','connected','data','3nqUoUi','isThreadsLoadingPaused','destroy','290cmMPxR','init','CommentsEditing','collaboration.channelId','1909699TUNKuK','isPremiumPlugin','plugins','5129916eAAqYb','once','3504QioVoP','RealTimeCollaborativeComments','Comments','392YGNbNV','listenTo','2930175rEhEur','change:state','_setUpService','ready','CommentsRepository','6SMAqzn','1044035kpgpIJ','586316RTyMHA','13jljWok','requires','40Lpyuhv','pluginName'];_0x6dfa=function(){return _0x1dd89b;};return _0x6dfa();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d8795=_0x3add;(function(_0x1813fa,_0x22dee8){const _0x8275f6=_0x3add,_0x1751bb=_0x1813fa();while(!![]){try{const _0x162fa5=-parseInt(_0x8275f6(0x1e9))/0x1*(-parseInt(_0x8275f6(0x1db))/0x2)+-parseInt(_0x8275f6(0x182))/0x3*(-parseInt(_0x8275f6(0x21b))/0x4)+-parseInt(_0x8275f6(0x222))/0x5+parseInt(_0x8275f6(0x180))/0x6*(parseInt(_0x8275f6(0x186))/0x7)+parseInt(_0x8275f6(0x1d3))/0x8+-parseInt(_0x8275f6(0x240))/0x9+parseInt(_0x8275f6(0x197))/0xa;if(_0x162fa5===_0x22dee8)break;else _0x1751bb['push'](_0x1751bb['shift']());}catch(_0x7ca211){_0x1751bb['push'](_0x1751bb['shift']());}}}(_0x3d7c,0xb909a));import{Plugin as _0x5df69f,PendingActions as _0x476eb8}from'ckeditor5/src/core.js';import{CKEditorError as _0x46630e,version as _0x4d9ab4,uid as _0x1f3b4e}from'ckeditor5/src/utils.js';import{Notification as _0x42fec3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x205bc5,NoOperation as _0x5eda03,InsertOperation as _0x148a98,MarkerOperation as _0xd539d,RootAttributeOperation as _0x486427,OperationFactory as _0x409321,History as _0x140a69}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x138e5a}from'./websocketgateway.js';import{Sessions as _0x39741a}from'./sessions.js';import{UserMarkers as _0x3e28e8}from'./usermarkers.js';import{getTranslation as _0x5af1b4}from'../common-translations.js';import{Compressor as _0x1447ce}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x54e9ca}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3add(_0x5453e6,_0x3b81ad){const _0x3d7cdc=_0x3d7c();return _0x3add=function(_0x3add1c,_0x1015a2){_0x3add1c=_0x3add1c-0x14e;let _0x287c72=_0x3d7cdc[_0x3add1c];return _0x287c72;},_0x3add(_0x5453e6,_0x3b81ad);}import{User as _0x42bc8d,CollaborativeEditingService as _0x252501}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;function _0x3d7c(){const _0x499735=['_connectService','requires','addRootAttribute','_bufferedOperations','InsertOperation','_crash','multi-root-editor-root-attributes-no-root','_offset','createdAt','RealTimeCollaborationClient','length','4485300wgUNfh','removeFromReconnectionStack','isOfficialPlugin','_handleExternalOperations','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.','409','_addKnownRoot','serverHistory','Permissions','CommentsOnly','get','_lastSyncedOperationId','_waitUntilSynced','_hasSynchronizationProblem','permissions','$root','model','rootsAttributes','bind','reconnection:\x20flushed\x20session','document:write','_handleReceivedOperations','push','createRange','view','_compressor','disconnect','_hasSelectionChanged','apply','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getRoot','_shouldSendSelectionUpdate','path','_service','_authorId','batch','realtimecollaborationclient-init-service-incorrect-server-operation','_knownOperations','_initThrowingOnDataSet','remove','locale','destroy','__className','type','_document','wasUndone','offset','_applyOperationsSet','state','editor','_currentBufferDelay','_isConnected','move','_disconnectionOperations','attributes','set','reconnect','rootName','getOperationAuthor','_initSessionsHandling','2011584HOwlig','_fetchMissingUsers','roots','addOperation','collaboration-missing-channelid','code','addUser','cloudServices.bundleVersion','4eTqxDR','realtimecollaborationclient-init-non-existent-root','wereChangesApplied','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_isDisconnection','_handleServerResponse','decompress','filter','then','ready','channelSessions','differ','clone','_isEditingAllowed','30511meSNYo','_lastServerVersion','_channelId','applyOperation','_isLoaded','metadata','createPositionAt','_getOperationsFromInitData','sessionCreatedAt','operationsReceived','isPremiumPlugin','_isAttached','getConnectedSessions','sessionId','_shouldSendUpdate','realtimecollaborationclient-init-connection-failed','createRoot','position','collaboration','finally','_setPendingAction','register','connection','rtc-offline','setIdForTheLastOperation','rtc-destroyed','change:_isPendingUpdate','targetPosition','_clearPendingAction','fromJSON','parse','toJSON','currentDocumentSession','_handleReconnectionError','_refreshUserSelectionMarkers','selection','_isInit','newRange','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastDocumentSession','createPositionFromPath','root','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-init-document-already-initialized','listenTo','keys','_operationIdentifier','realtimecollaborationclient-init-service-internal-error','PENDING_ACTION_SENDING_DATA','userId','553108Yppuvu','catch','config','connect','real-time-collaboration','getDocumentDetails','_baseBufferDelay','627450atxhmN','connected','string','version','cloudDocumentVersion','_isPendingUpdate','isReadOnly','initData','isUndoneOperation','unregister','map','_decompressOperations','change:hasDomSelection','sessionAdd:','enqueueChange','_sendBufferedOperationsDelayId','getMany','fire','_knownRootNames','Synchronization\x20issue','editing','message','Notification','from','sendOperations','history','loadRoot','_loadRoot','isDocumentOperation','404','9279036KRLPHJ','pluginName','addToReconnectionStack','enableReadOnlyMode','entries','_sendBufferedOperationsDelayed','marker','_updateServerHistory','_sendBufferedOperations','createUserMarkerOperations','baseVersion','_connectAfterSessionHasBeenFlushed','showWarning','realtimecollaborationclient-error','change:_isEditingAllowed','has','collaboration.channelId','addRoot','_disconnectService','_getAffectedRoot','slice','_operationToId','getIdOfTheLastOperation','realtimecollaborationclient','forEach','getOperations','startsWith','includes','getUser','round','affectedSelectable','directChange','realtimecollaborationclient-init-session-connection-error','_saveOperationInBuffer','isEnabled','data','markers','stopListening','disableReadOnlyMode','_compressOperations','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-handleserverresponse','add','plugins','high','reset','stop','insert','size','lastOperationId','mySessionId','CollaborativeEditingService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','error','_bufferRootLoad','define','end','off','lastOperationAcceptedAt','init','_pendingAction','change:range','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Not\x20connected.','suppressErrorInCollaboration','_handleReconnectionResponse','lastSyncVersion','cs:removeUser','_handleInitialConnectionData','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.','114hGLTZk','_ignoredOperations','15zbuAWQ','start','compress','_setUpDataInit','170219jzWDnQ','return','disconnected','setPermissions','document','affectsData'];_0x3d7c=function(){return _0x499735;};return _0x3d7c();}class l extends _0x5df69f{static [_0x5d8795(0x16d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x252501)());[_0x5d8795(0x193)];[_0x5d8795(0x1f6)];[_0x5d8795(0x19e)];[_0x5d8795(0x1eb)];[_0x5d8795(0x1b8)];[_0x5d8795(0x1c3)];[_0x5d8795(0x1b0)];[_0x5d8795(0x18f)];[_0x5d8795(0x1bc)];[_0x5d8795(0x234)];[_0x5d8795(0x176)];[_0x5d8795(0x1b2)];[_0x5d8795(0x231)];[_0x5d8795(0x221)];[_0x5d8795(0x1c9)];[_0x5d8795(0x1a2)];[_0x5d8795(0x1cc)];[_0x5d8795(0x217)];static get[_0x5d8795(0x18d)](){return[_0x138e5a,_0x39741a,_0x3e28e8,_0x476eb8,_0x54e9ca,_0x42fec3];}static get[_0x5d8795(0x241)](){const _0xcf2ce6=_0x5d8795;return _0xcf2ce6(0x195);}static get[_0x5d8795(0x199)](){return!0x0;}static get[_0x5d8795(0x1f3)](){return!0x0;}get[_0x5d8795(0x226)](){const _0x5077df=_0x5d8795;return this[_0x5077df(0x1ea)]+this[_0x5077df(0x193)];}get[_0x5d8795(0x1ea)](){const _0x4962cb=_0x5d8795;return this[_0x4962cb(0x19e)][_0x4962cb(0x225)]-this[_0x4962cb(0x193)];}get[_0x5d8795(0x17c)](){const _0x489251=_0x5d8795,_0x555f9e=this[_0x489251(0x19e)][_0x489251(0x153)]();for(let _0x1d46c0=_0x555f9e[_0x489251(0x196)]-0x1;_0x1d46c0>=0x0;_0x1d46c0--){const _0x20fef5=_0x555f9e[_0x1d46c0];if(!this[_0x489251(0x1cc)][_0x489251(0x24f)](_0x20fef5))return _0x20fef5[_0x489251(0x24a)]+0x1-this[_0x489251(0x193)];}return 0x0;}constructor(_0x13f22f){const _0x2717a1=_0x5d8795;if(super(_0x13f22f),this[_0x2717a1(0x193)]=0x0,this[_0x2717a1(0x1f6)]=null,this[_0x2717a1(0x19e)]=new _0x140a69(),this[_0x2717a1(0x1c8)][_0x2717a1(0x21d)][_0x2717a1(0x171)](_0x2717a1(0x1fb),{}),this[_0x2717a1(0x1eb)]=this[_0x2717a1(0x1c8)][_0x2717a1(0x21d)][_0x2717a1(0x1a1)](_0x2717a1(0x250)),!this[_0x2717a1(0x1eb)])throw new _0x46630e(_0x2717a1(0x1d7),this);const _0x8bb56d=_0x13f22f[_0x2717a1(0x21d)][_0x2717a1(0x1a1)](_0x2717a1(0x1da))||_0x4d9ab4;this[_0x2717a1(0x1b8)]=new l[(_0x2717a1(0x16d))](_0x8bb56d,this[_0x2717a1(0x1eb)]),this[_0x2717a1(0x1c3)]=this[_0x2717a1(0x1c8)][_0x2717a1(0x1a7)][_0x2717a1(0x18a)],this[_0x2717a1(0x1b0)]=new _0x1447ce(),this[_0x2717a1(0x18f)]=[],this[_0x2717a1(0x1bc)]=new WeakSet(),this[_0x2717a1(0x234)]=new Set(),this[_0x2717a1(0x1ce)](_0x2717a1(0x227),!0x1),this[_0x2717a1(0x1ce)](_0x2717a1(0x1a4),!0x1),this[_0x2717a1(0x176)]=null,this[_0x2717a1(0x1b2)]=!0x1,this[_0x2717a1(0x231)]=null,this[_0x2717a1(0x221)]=0x12c,this[_0x2717a1(0x1c9)]=this[_0x2717a1(0x221)],this[_0x2717a1(0x1a2)]=null,this[_0x2717a1(0x1cc)]=new WeakSet(),this[_0x2717a1(0x217)]=new tt(this[_0x2717a1(0x1cc)]);}[_0x5d8795(0x175)](){const _0x57dcf6=_0x5d8795,_0x4a0aa7=this[_0x57dcf6(0x1c8)],_0x20dcaf=_0x4a0aa7[_0x57dcf6(0x165)][_0x57dcf6(0x1a1)](_0x54e9ca),_0xdd960b=_0x4a0aa7[_0x57dcf6(0x165)][_0x57dcf6(0x1a1)](_0x138e5a);this[_0x57dcf6(0x215)](_0x20dcaf,_0x57dcf6(0x1d1),(_0x4f94c3,_0x29375a)=>{const _0x19cbe1=_0x57dcf6,_0x1f137f=_0x29375a[0x0];_0x1f137f[_0x19cbe1(0x1b9)]&&(_0x4f94c3[_0x19cbe1(0x187)]=_0x20dcaf[_0x19cbe1(0x156)](_0x1f137f[_0x19cbe1(0x1b9)]),_0x4f94c3[_0x19cbe1(0x168)]()),null===_0x1f137f[_0x19cbe1(0x1b9)]&&(_0x4f94c3[_0x19cbe1(0x187)]=null,_0x4f94c3[_0x19cbe1(0x168)]());},{'priority':_0x57dcf6(0x166)}),this[_0x57dcf6(0x215)](_0x4a0aa7[_0x57dcf6(0x1a7)][_0x57dcf6(0x18a)][_0x57dcf6(0x20c)],_0x57dcf6(0x177),(_0x24f6f3,_0x2ae749)=>{const _0x4115f5=_0x57dcf6;_0x2ae749[_0x4115f5(0x159)]&&this[_0x4115f5(0x20b)]();}),this[_0x57dcf6(0x215)](_0x4a0aa7[_0x57dcf6(0x236)][_0x57dcf6(0x1af)],_0x57dcf6(0x22e),()=>{const _0xd71c88=_0x57dcf6;this[_0xd71c88(0x20b)]();}),this[_0x57dcf6(0x1bd)](),_0x4a0aa7[_0x57dcf6(0x1a7)]['on'](_0x57dcf6(0x1ec),(_0x13f585,_0x2389ed)=>{const _0x26c21e=_0x57dcf6,_0x38de50=_0x2389ed[0x0];_0x38de50[_0x26c21e(0x23e)]&&(this[_0x26c21e(0x15b)](_0x38de50),this[_0x26c21e(0x1f7)]()&&this[_0x26c21e(0x245)]());}),this[_0x57dcf6(0x185)](),this[_0x57dcf6(0x1a9)](_0x57dcf6(0x1e8))['to'](_0xdd960b,_0x57dcf6(0x1c7),this,_0x57dcf6(0x1a4),(_0x4d5fc8,_0x53dc1c)=>_0x57dcf6(0x223)===_0x4d5fc8&&!_0x53dc1c),this['on'](_0x57dcf6(0x24e),()=>{const _0x166863=_0x57dcf6;this[_0x166863(0x1e8)]?_0x4a0aa7[_0x166863(0x160)](_0x166863(0x200)):_0x4a0aa7[_0x166863(0x243)](_0x166863(0x200));}),this[_0x57dcf6(0x1e8)]?_0x4a0aa7[_0x57dcf6(0x160)](_0x57dcf6(0x200)):_0x4a0aa7[_0x57dcf6(0x243)](_0x57dcf6(0x200)),this[_0x57dcf6(0x1ce)](_0x57dcf6(0x1ca),!0x1);}async[_0x5d8795(0x1cf)](){const _0x522c1e=_0x5d8795,_0x353e7d=this[_0x522c1e(0x1c8)][_0x522c1e(0x165)][_0x522c1e(0x1a1)](_0x39741a),_0x2152d0=this[_0x522c1e(0x1c8)][_0x522c1e(0x165)][_0x522c1e(0x1a1)](_0x138e5a);try{this[_0x522c1e(0x227)]=!0x0,_0x353e7d[_0x522c1e(0x22b)](this[_0x522c1e(0x1eb)]);const _0x5a9658=await this[_0x522c1e(0x1b8)][_0x522c1e(0x1cf)](_0x2152d0[_0x522c1e(0x1ff)],this[_0x522c1e(0x17c)]);await this[_0x522c1e(0x17b)](_0x5a9658)&&(this[_0x522c1e(0x227)]=!0x1,this[_0x522c1e(0x205)]());const _0x15f46b=await this[_0x522c1e(0x1b8)][_0x522c1e(0x1f5)]();_0x353e7d[_0x522c1e(0x1fe)](this[_0x522c1e(0x1eb)],_0x15f46b),this[_0x522c1e(0x178)](),this[_0x522c1e(0x1ca)]=!0x0;}catch(_0x491282){if(function(_0x5f1065){const _0x44d689=_0x522c1e;return _0x44d689(0x23f)===_0x5f1065[_0x44d689(0x1d8)];}(_0x491282)&&this[_0x522c1e(0x1f6)])await this[_0x522c1e(0x24b)]();else{if(function(_0x1799d8){const _0xbdc1ee=_0x522c1e;return _0xbdc1ee(0x19c)===_0x1799d8[_0xbdc1ee(0x1d8)];}(_0x491282)){const _0x2aac75=_0x5af1b4(this[_0x522c1e(0x1c8)][_0x522c1e(0x1bf)],_0x522c1e(0x16e));this[_0x522c1e(0x20a)](_0x2aac75);}else{if(!(_0x491282 instanceof Y))throw _0x491282;this[_0x522c1e(0x20a)]();}}}}[_0x5d8795(0x1c0)](){const _0x504756=_0x5d8795,_0x1deeaf=this[_0x504756(0x1c8)][_0x504756(0x165)][_0x504756(0x1a1)](_0x138e5a),_0x341767=this[_0x504756(0x1c8)][_0x504756(0x165)][_0x504756(0x1a1)](_0x39741a);this[_0x504756(0x1c8)][_0x504756(0x243)](_0x504756(0x202)),_0x341767[_0x504756(0x1e5)][_0x504756(0x24f)](this[_0x504756(0x1eb)])&&_0x341767[_0x504756(0x22b)](this[_0x504756(0x1eb)]),_0x1deeaf[_0x504756(0x198)](this),this[_0x504756(0x252)](),super[_0x504756(0x1c0)]();}async[_0x5d8795(0x17b)](_0x367953){const _0x5f3d54=_0x5d8795;if(this[_0x5f3d54(0x1f6)]!==_0x367953[_0x5f3d54(0x1f6)]&&this[_0x5f3d54(0x1a2)]!==_0x367953[_0x5f3d54(0x16b)])throw new Y();return this[_0x5f3d54(0x1f6)]=_0x367953[_0x5f3d54(0x1f6)],this[_0x5f3d54(0x1e0)]([],{..._0x367953,'wereChangesApplied':!0x1,'data':_0x367953[_0x5f3d54(0x15d)]},_0x5f3d54(0x1cf));}async[_0x5d8795(0x18c)](_0x331df1,_0x594047=!0x1){const _0x598466=_0x5d8795,{connection:_0x4b276c}=this[_0x598466(0x1c8)][_0x598466(0x165)][_0x598466(0x1a1)](_0x138e5a);l[_0x598466(0x16d)][_0x598466(0x1f5)](_0x4b276c,this[_0x598466(0x1eb)])[_0x598466(0x1e3)](_0x1315e5=>this[_0x598466(0x1d2)](_0x1315e5))[_0x598466(0x21c)](_0x4b74a5=>{const _0x4ca513=_0x598466;this[_0x4ca513(0x191)](_0x4ca513(0x15a),_0x4b74a5);}),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x1f2),this[_0x598466(0x1ac)][_0x598466(0x1a9)](this)),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x16f),(_0x2447c1,_0x51f88a)=>{const _0x4dc6a0=_0x598466;this[_0x4dc6a0(0x191)](_0x4dc6a0(0x218),_0x51f88a);}),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x188),()=>{const _0x15f2b6=_0x598466;this[_0x15f2b6(0x1ca)]=!0x1;});const _0x5786db=this[_0x598466(0x217)][_0x598466(0x150)](_0x331df1);this[_0x598466(0x227)]=!0x0;const _0x6d39f7=await this[_0x598466(0x1b8)][_0x598466(0x21e)](_0x4b276c,this[_0x598466(0x161)](_0x331df1),_0x5786db);if(this[_0x598466(0x1f6)]=_0x6d39f7[_0x598466(0x1f6)],_0x594047){if(!_0x6d39f7[_0x598466(0x1dd)])return void this[_0x598466(0x20a)]();this[_0x598466(0x227)]=!0x1,this[_0x598466(0x205)](),this[_0x598466(0x19e)][_0x598466(0x167)](),this[_0x598466(0x193)]=_0x6d39f7[_0x598466(0x1c5)],this[_0x598466(0x19e)][_0x598466(0x225)]=this[_0x598466(0x193)],await this[_0x598466(0x1e0)](_0x331df1,_0x6d39f7,_0x598466(0x1aa));}else await this[_0x598466(0x17e)](_0x6d39f7,_0x331df1);this[_0x598466(0x178)](),this[_0x598466(0x1ca)]=!0x0;}[_0x5d8795(0x178)](){const _0x1d4475=_0x5d8795,_0x8c95a1=this[_0x1d4475(0x1c8)][_0x1d4475(0x165)][_0x1d4475(0x1a1)](_0x39741a),_0x4dc181=this[_0x1d4475(0x1c8)][_0x1d4475(0x165)][_0x1d4475(0x1a1)](_0x3e28e8),_0x5e1d60=_0x8c95a1[_0x1d4475(0x1e5)][_0x1d4475(0x1a1)](this[_0x1d4475(0x1eb)]);_0x5e1d60&&_0x5e1d60[_0x1d4475(0x196)]>0x1?_0x4dc181[_0x1d4475(0x249)]():this[_0x1d4475(0x215)](_0x8c95a1,_0x1d4475(0x22f)+this[_0x1d4475(0x1eb)],()=>{const _0x5a85da=_0x1d4475;0x2===_0x8c95a1[_0x5a85da(0x1e5)][_0x5a85da(0x1a1)](this[_0x5a85da(0x1eb)])[_0x5a85da(0x196)]&&_0x4dc181[_0x5a85da(0x249)]();});}async[_0x5d8795(0x1ac)](_0x1676e7,_0x57f235,_0x35ce96,_0x5d2936){const _0x517763=_0x5d8795;if(!this[_0x517763(0x227)]&&this[_0x517763(0x1c3)][_0x517763(0x225)]==_0x57f235){const _0x4d9601=this[_0x517763(0x22d)](_0x35ce96,_0x5d2936);await this[_0x517763(0x1d4)](_0x4d9601),this[_0x517763(0x19a)](_0x4d9601,_0x57f235,_0x35ce96[_0x517763(0x16b)])||this[_0x517763(0x191)](_0x517763(0x1bb));}}async[_0x5d8795(0x24b)](){const _0x238b21=_0x5d8795;this[_0x238b21(0x252)]();const {locale:_0x317d7d}=this[_0x238b21(0x1c8)];let _0x2858b2;try{_0x2858b2=await this[_0x238b21(0x1b8)][_0x238b21(0x220)]();}catch{const _0x22a0af=_0x5af1b4(_0x317d7d,_0x238b21(0x20f));return void this[_0x238b21(0x20a)](_0x22a0af);}const _0x5b9d97=_0x2858b2[_0x238b21(0x209)]||_0x2858b2[_0x238b21(0x210)];if(this[_0x238b21(0x1a2)]!==_0x5b9d97[_0x238b21(0x16b)]){const _0x514f1e=_0x5af1b4(_0x317d7d,_0x238b21(0x17f));return void this[_0x238b21(0x20a)](_0x514f1e);}await this[_0x238b21(0x18c)](this[_0x238b21(0x1c8)][_0x238b21(0x1a7)][_0x238b21(0x18a)][_0x238b21(0x23b)][_0x238b21(0x153)](),!0x0);}[_0x5d8795(0x252)](){const _0x49f5fa=_0x5d8795;this[_0x49f5fa(0x1b8)][_0x49f5fa(0x1b1)](),this[_0x49f5fa(0x18f)]=[],clearTimeout(this[_0x49f5fa(0x231)]),this[_0x49f5fa(0x15f)](this[_0x49f5fa(0x1b8)]);}[_0x5d8795(0x1d2)](_0x4c6f2){const _0x2b096a=_0x5d8795,_0x5e24a4=this[_0x2b096a(0x1c8)][_0x2b096a(0x165)][_0x2b096a(0x1a1)](_0x39741a);this[_0x2b096a(0x215)](_0x5e24a4,_0x2b096a(0x22f)+this[_0x2b096a(0x1eb)],(_0xae48b3,{session:_0x1fc167})=>{const _0x391a07=_0x2b096a;if(_0x1fc167['id']===_0x5e24a4[_0x391a07(0x16c)]){_0xae48b3[_0x391a07(0x173)]();const _0x396e2c=this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x24f)](_0x391a07(0x1a0))&&this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x1a1)](_0x391a07(0x1a0));let _0x2c419a=_0x1fc167[_0x391a07(0x1a5)];_0x396e2c&&_0x396e2c[_0x391a07(0x15c)]&&(_0x2c419a=_0x2c419a[_0x391a07(0x1e2)](_0x5ec1f2=>_0x391a07(0x1ab)!==_0x5ec1f2)),this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x1a1)](_0x391a07(0x19f))[_0x391a07(0x189)](_0x2c419a,this[_0x391a07(0x1eb)]);}}),_0x5e24a4[_0x2b096a(0x1fe)](this[_0x2b096a(0x1eb)],_0x4c6f2);}[_0x5d8795(0x1bd)](){const _0x1d4404=_0x5d8795,_0x1e4d4f=this[_0x1d4404(0x1c8)][_0x1d4404(0x15d)][_0x1d4404(0x1ce)];this[_0x1d4404(0x1c8)][_0x1d4404(0x15d)][_0x1d4404(0x1ce)]=(..._0x26440f)=>{const _0xd5f23f=_0x1d4404;if(!_0x26440f[_0x26440f[_0xd5f23f(0x196)]-0x1][_0xd5f23f(0x17a)])throw new _0x46630e(_0xd5f23f(0x1b4),this);_0x1e4d4f[_0xd5f23f(0x1b3)](this[_0xd5f23f(0x1c8)][_0xd5f23f(0x15d)],_0x26440f);};}[_0x5d8795(0x185)](){const _0x1a5e97=_0x5d8795;this[_0x1a5e97(0x1c8)][_0x1a5e97(0x15d)]['on'](_0x1a5e97(0x175),(_0x288a6b,[_0x4b6f51])=>{const _0x4702f8=_0x1a5e97;if(this[_0x4702f8(0x1c3)][_0x4702f8(0x225)])throw new _0x46630e(_0x4702f8(0x214),this);_0x288a6b[_0x4702f8(0x168)](),this[_0x4702f8(0x1fd)]();const _0xf14564=this[_0x4702f8(0x1c8)][_0x4702f8(0x21d)][_0x4702f8(0x1a1)](_0x4702f8(0x1a8)),_0x2170be=this[_0x4702f8(0x1f0)](_0x4b6f51,_0xf14564);0x0==_0x2170be[_0x4702f8(0x196)]&&_0x2170be[_0x4702f8(0x1ad)](new _0x5eda03(0x0)),_0x288a6b[_0x4702f8(0x187)]=this[_0x4702f8(0x18c)](_0x2170be)[_0x4702f8(0x1e3)](()=>{const _0x146406=_0x4702f8;this[_0x146406(0x1c8)][_0x146406(0x165)][_0x146406(0x1a1)](_0x138e5a)[_0x146406(0x242)](this),this[_0x146406(0x1c8)][_0x146406(0x15d)][_0x146406(0x233)](_0x146406(0x1e4));})[_0x4702f8(0x21c)](_0x55ba8b=>this[_0x4702f8(0x191)](_0x4702f8(0x1f8),_0x55ba8b))[_0x4702f8(0x1fc)](()=>this[_0x4702f8(0x205)]());},{'priority':_0x1a5e97(0x166)}),this[_0x1a5e97(0x1c8)]['on'](_0x1a5e97(0x23c),async(_0x4299a8,[_0x48328d,_0x455b05])=>{const _0x23fefa=_0x1a5e97;_0x4299a8[_0x23fefa(0x168)]();const _0x51feb3=this[_0x23fefa(0x1c8)][_0x23fefa(0x1a7)][_0x23fefa(0x18a)][_0x23fefa(0x1b5)](_0x48328d);if(!this[_0x23fefa(0x234)][_0x23fefa(0x24f)](_0x48328d)){const _0x507d31=_0x455b05&&_0x455b05[_0x23fefa(0x15d)]?_0x455b05[_0x23fefa(0x15d)]:'',_0x1e435c=_0x455b05&&_0x455b05[_0x23fefa(0x1cd)]?_0x455b05[_0x23fefa(0x1cd)]:{};await this[_0x23fefa(0x23d)](_0x48328d,_0x507d31,_0x1e435c);}this[_0x23fefa(0x1c8)][_0x23fefa(0x1a7)][_0x23fefa(0x230)]({'isUndoable':!0x1},()=>{const _0x9c401c=_0x23fefa;_0x51feb3[_0x9c401c(0x1ed)]=!0x0,this[_0x9c401c(0x1c8)][_0x9c401c(0x1a7)][_0x9c401c(0x18a)][_0x9c401c(0x1e6)][_0x9c401c(0x170)](_0x51feb3);});},{'priority':_0x1a5e97(0x166)});}async[_0x5d8795(0x1d4)](_0x32e554){const _0x908dc9=_0x5d8795,_0x25c8bc=this[_0x908dc9(0x1c8)][_0x908dc9(0x165)][_0x908dc9(0x1a1)](_0x54e9ca),{connection:_0x135624}=this[_0x908dc9(0x1c8)][_0x908dc9(0x165)][_0x908dc9(0x1a1)](_0x138e5a),_0x387b06=new Set();for(const _0x25f550 of _0x32e554){const _0x247cd4=_0x25f550[_0x908dc9(0x1b9)];_0x247cd4&&!_0x25c8bc[_0x908dc9(0x156)](_0x247cd4)&&_0x387b06[_0x908dc9(0x164)](_0x247cd4);}if(0x0===_0x387b06[_0x908dc9(0x16a)])return;const _0x6c0eb1=await _0x42bc8d[_0x908dc9(0x232)](_0x135624,Array[_0x908dc9(0x239)](_0x387b06));for(const _0x4e6dd8 of _0x6c0eb1)_0x25c8bc[_0x908dc9(0x156)](_0x4e6dd8['id'])||_0x25c8bc[_0x908dc9(0x1d9)](_0x4e6dd8);}[_0x5d8795(0x1f0)](_0x4f1bc3,_0x3bf9ef={}){const _0x5b66cf=_0x5d8795,_0x59efa5=this[_0x5b66cf(0x1c8)][_0x5b66cf(0x1a7)],_0xfcbf45=[];let _0x21fed6=0x0;const _0x427432=_0x5b66cf(0x224)==typeof _0x4f1bc3?{'main':_0x4f1bc3}:_0x4f1bc3;for(const _0xeb9ad of Object[_0x5b66cf(0x216)](_0x427432)){if(!this[_0x5b66cf(0x1c3)][_0x5b66cf(0x1d5)][_0x5b66cf(0x24f)](_0xeb9ad))throw new _0x46630e(_0x5b66cf(0x1dc),this);const _0x40e8b1=this[_0x5b66cf(0x1c8)][_0x5b66cf(0x15d)][_0x5b66cf(0x207)](_0x427432[_0xeb9ad]),_0x1720b5=this[_0x5b66cf(0x1c3)][_0x5b66cf(0x1b5)](_0xeb9ad),_0x213a4d=new _0x148a98(_0x59efa5[_0x5b66cf(0x1ef)](_0x1720b5,0x0),_0x40e8b1,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x213a4d);for(const [_0x16a677,_0x50305a]of _0x40e8b1[_0x5b66cf(0x15e)]){const _0x2d9d3f=_0x59efa5[_0x5b66cf(0x1ae)](_0x59efa5[_0x5b66cf(0x211)](_0x1720b5,_0x50305a[_0x5b66cf(0x183)][_0x5b66cf(0x1b7)][_0x5b66cf(0x14e)]()),_0x59efa5[_0x5b66cf(0x211)](_0x1720b5,_0x50305a[_0x5b66cf(0x172)][_0x5b66cf(0x1b7)][_0x5b66cf(0x14e)]())),_0x4796fa=new _0xd539d(_0x16a677,null,_0x2d9d3f,_0x59efa5[_0x5b66cf(0x15e)],!0x0,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x4796fa);}}if(_0x3bf9ef)for(const [_0x917966,_0x286f4f]of Object[_0x5b66cf(0x244)](_0x3bf9ef)){const _0x28e57d=_0x59efa5[_0x5b66cf(0x18a)][_0x5b66cf(0x1b5)](_0x917966);if(!_0x28e57d)throw new _0x46630e(_0x5b66cf(0x192),null);for(const [_0x2f9cbc,_0x3c72ef]of Object[_0x5b66cf(0x244)](_0x286f4f))if(null!==_0x3c72ef){const _0x1686c1=new _0x486427(_0x28e57d,_0x2f9cbc,null,_0x3c72ef,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x1686c1);}}return _0xfcbf45;}async[_0x5d8795(0x23d)](_0x667904,_0x5e8b0c,_0x270dde){const _0x12472e=_0x5d8795;this[_0x12472e(0x1f0)]({[_0x667904]:_0x5e8b0c},{[_0x667904]:_0x270dde})[_0x12472e(0x152)]((_0x3a372d,_0x5157f1)=>{const _0x2a92b9=_0x12472e;_0x3a372d[_0x2a92b9(0x24a)]=this[_0x2a92b9(0x1c3)][_0x2a92b9(0x225)]+_0x5157f1,_0x3a372d[_0x2a92b9(0x20d)]=!0x0,this[_0x2a92b9(0x15b)](_0x3a372d);}),this[_0x12472e(0x245)](),await this[_0x12472e(0x1a3)]();}async[_0x5d8795(0x17e)](_0x138cd9,_0x23f731){const _0x35cde1=_0x5d8795;let _0x451ef5;this[_0x35cde1(0x193)]=_0x138cd9[_0x35cde1(0x1c5)];const _0x49a892=_0x138cd9[_0x35cde1(0x1dd)]&&!_0x138cd9[_0x35cde1(0x229)],_0x6d096f=_0x49a892?0x0:_0x138cd9[_0x35cde1(0x15d)][_0x35cde1(0x24a)];if(_0x23f731[_0x35cde1(0x152)](_0x290649=>{const _0x44893c=_0x35cde1;_0x290649[_0x44893c(0x20d)]=!0x0,_0x290649[_0x44893c(0x194)]=_0x138cd9[_0x44893c(0x1f1)],_0x290649[_0x44893c(0x1b9)]=null;}),_0x49a892)_0x451ef5=_0x23f731,this[_0x35cde1(0x1c6)](_0x451ef5,_0x49a892);else{if(_0x138cd9[_0x35cde1(0x229)]){const _0x545c4d=this[_0x35cde1(0x1f0)](_0x138cd9[_0x35cde1(0x229)]);this[_0x35cde1(0x1c3)][_0x35cde1(0x23b)][_0x35cde1(0x225)]=-_0x545c4d[_0x35cde1(0x196)],_0x545c4d[_0x35cde1(0x152)](_0xe6130b=>{const _0xdf6a4a=_0x35cde1;_0xe6130b[_0xdf6a4a(0x24a)]-=_0x545c4d[_0xdf6a4a(0x196)],_0xe6130b[_0xdf6a4a(0x194)]=_0x138cd9[_0xdf6a4a(0x1f1)],_0xe6130b[_0xdf6a4a(0x20d)]=!0x0,_0xe6130b[_0xdf6a4a(0x1b9)]=null;}),this[_0x35cde1(0x1c6)](_0x545c4d,!0x0),this[_0x35cde1(0x19e)][_0x35cde1(0x225)]=-_0x545c4d[_0x35cde1(0x196)]+this[_0x35cde1(0x193)],this[_0x35cde1(0x247)](_0x545c4d);}this[_0x35cde1(0x1c3)][_0x35cde1(0x23b)][_0x35cde1(0x225)]=_0x6d096f,_0x451ef5=this[_0x35cde1(0x22d)](_0x138cd9[_0x35cde1(0x15d)],_0x138cd9[_0x35cde1(0x1ee)]),await this[_0x35cde1(0x1d4)](_0x451ef5),this[_0x35cde1(0x1c6)](_0x451ef5,_0x49a892);}_0x138cd9[_0x35cde1(0x16b)]&&(this[_0x35cde1(0x217)][_0x35cde1(0x201)](_0x451ef5,_0x138cd9[_0x35cde1(0x16b)]),this[_0x35cde1(0x1a2)]=_0x138cd9[_0x35cde1(0x16b)]),this[_0x35cde1(0x19e)][_0x35cde1(0x225)]=_0x6d096f+this[_0x35cde1(0x193)],this[_0x35cde1(0x247)](_0x451ef5),_0x23f731[_0x35cde1(0x1e2)](_0x17cd00=>{const _0x39f72f=_0x35cde1,_0x335b86=this[_0x39f72f(0x253)](_0x17cd00);return _0x335b86&&!this[_0x39f72f(0x234)][_0x39f72f(0x24f)](_0x335b86);})[_0x35cde1(0x152)]((_0x5453ff,_0x27b6ee)=>{const _0x437202=_0x35cde1;_0x5453ff[_0x437202(0x24a)]=this[_0x437202(0x1c3)][_0x437202(0x225)]+_0x27b6ee,this[_0x437202(0x15b)](_0x5453ff);}),this[_0x35cde1(0x1f7)]()?(this[_0x35cde1(0x1c9)]=0x0,this[_0x35cde1(0x245)](!0x0),await this[_0x35cde1(0x1a3)]()):(this[_0x35cde1(0x227)]=!0x1,this[_0x35cde1(0x205)]());}[_0x5d8795(0x191)](_0x37b559,_0x5bdd4e){const _0x4b48eb=_0x5d8795,_0x2b79cf=_0x5bdd4e&&_0x5bdd4e[_0x4b48eb(0x237)];if(_0x2b79cf&&_0x2b79cf[_0x4b48eb(0x154)](_0x4b48eb(0x151)))throw _0x5bdd4e;const _0x4b89d6=this[_0x4b48eb(0x1c8)][_0x4b48eb(0x165)][_0x4b48eb(0x1a1)](_0x138e5a);throw this[_0x4b48eb(0x227)]=!0x0,_0x4b89d6[_0x4b48eb(0x1b1)](),this[_0x4b48eb(0x1c8)][_0x4b48eb(0x243)](_0x4b48eb(0x24d)),new _0x46630e(_0x37b559,this[_0x4b48eb(0x1c8)],_0x2b79cf?{'originalError':_0x2b79cf}:void 0x0);}[_0x5d8795(0x15b)](_0x3b5c45){const _0x15a784=_0x5d8795;this[_0x15a784(0x1bc)][_0x15a784(0x24f)](_0x3b5c45)||(this[_0x15a784(0x1bc)][_0x15a784(0x164)](_0x3b5c45),this[_0x15a784(0x18f)][_0x15a784(0x1ad)](_0x3b5c45),this[_0x15a784(0x176)]||_0x15a784(0x246)==_0x3b5c45[_0x15a784(0x1c2)]&&!_0x3b5c45[_0x15a784(0x18b)]||this[_0x15a784(0x1fd)]());}[_0x5d8795(0x245)](_0x54897c=!0x1){const _0x352cb0=_0x5d8795;!_0x54897c&&this[_0x352cb0(0x227)]||(this[_0x352cb0(0x227)]=!0x0,clearTimeout(this[_0x352cb0(0x231)]),this[_0x352cb0(0x231)]=setTimeout(()=>{const _0x119bd0=_0x352cb0;this[_0x119bd0(0x248)]()[_0x119bd0(0x1e3)](_0x20cd48=>{const _0x190f84=_0x119bd0;_0x20cd48&&(this[_0x190f84(0x205)](),this[_0x190f84(0x227)]=!0x1);})[_0x119bd0(0x21c)](_0x39bf27=>{const _0x51b75d=_0x119bd0;this[_0x51b75d(0x205)](),this[_0x51b75d(0x227)]=!0x1,function(_0xeea102){const _0x886840=_0x51b75d;return _0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x179))||_0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x1de))||_0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x162));}(_0x39bf27)||this[_0x51b75d(0x191)](_0x39bf27[_0x51b75d(0x237)],_0x39bf27);});},this[_0x352cb0(0x1c9)]));}[_0x5d8795(0x1a3)](){return new Promise(_0x1f7ffe=>{const _0x148c7d=_0x3add;this['on'](_0x148c7d(0x203),()=>{_0x1f7ffe();});});}async[_0x5d8795(0x248)](){const _0x1a3f2f=_0x5d8795,_0xd152c8=this[_0x1a3f2f(0x1c8)][_0x1a3f2f(0x165)][_0x1a3f2f(0x1a1)](_0x3e28e8);if(this[_0x1a3f2f(0x1b6)]()&&(_0xd152c8[_0x1a3f2f(0x249)](),this[_0x1a3f2f(0x1b2)]=!0x1),!this[_0x1a3f2f(0x1f7)]())return!0x0;const _0xaa6d80=[...this[_0x1a3f2f(0x18f)]];for(const _0x2a360a of _0xaa6d80)_0x2a360a[_0x1a3f2f(0x1c4)]=this[_0x1a3f2f(0x1c3)][_0x1a3f2f(0x23b)][_0x1a3f2f(0x22a)](_0x2a360a);const _0x37c614=this[_0x1a3f2f(0x217)][_0x1a3f2f(0x150)](_0xaa6d80),_0x1f9b18=X++,_0x50eba4=this[_0x1a3f2f(0x161)](_0xaa6d80),_0x4efffc=await this[_0x1a3f2f(0x1b8)][_0x1a3f2f(0x23a)](_0x50eba4,_0x50eba4[_0x1a3f2f(0x24a)],_0x37c614);try{return await this[_0x1a3f2f(0x1e0)](_0xaa6d80,_0x4efffc,_0x1f9b18);}catch(_0x15c8a2){return this[_0x1a3f2f(0x191)](_0x1a3f2f(0x213),_0x15c8a2);}}async[_0x5d8795(0x1e0)](_0x516050,_0x264704,_0x1fbd3a){const _0x3bdb0a=_0x5d8795;if(_0x3bdb0a(0x16f)in _0x264704)throw _0x264704[_0x3bdb0a(0x16f)];let _0x51bc56=!0x1;if(_0x264704[_0x3bdb0a(0x1dd)]){_0x264704[_0x3bdb0a(0x16b)]&&(this[_0x3bdb0a(0x1a2)]=_0x264704[_0x3bdb0a(0x16b)]),this[_0x3bdb0a(0x18f)]=this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x1e2)](_0x51f997=>!_0x516050[_0x3bdb0a(0x155)](_0x51f997));for(const _0x22892c of _0x516050)_0x22892c[_0x3bdb0a(0x194)]=_0x3bdb0a(0x174)in _0x264704&&_0x264704[_0x3bdb0a(0x174)]||void 0x0;Z(_0x516050,_0x264704[_0x3bdb0a(0x225)]-_0x516050[_0x3bdb0a(0x196)]),this[_0x3bdb0a(0x247)](_0x516050);const _0x59d1d9=_0x516050[_0x3bdb0a(0x1e2)](_0x3d90cf=>{const _0x40f8f0=_0x3bdb0a;if(!_0x3d90cf[_0x40f8f0(0x20d)])return!0x1;const _0x93e319=this[_0x40f8f0(0x253)](_0x3d90cf);return _0x93e319&&!this[_0x40f8f0(0x234)][_0x40f8f0(0x24f)](_0x93e319);});Z(_0x59d1d9,this[_0x3bdb0a(0x1c3)][_0x3bdb0a(0x225)]),this[_0x3bdb0a(0x1c6)](_0x59d1d9),_0x51bc56=!0x0,this[_0x3bdb0a(0x1c9)]=this[_0x3bdb0a(0x221)];}else{const _0x5a8474=this[_0x3bdb0a(0x22d)](_0x264704[_0x3bdb0a(0x15d)],_0x264704[_0x3bdb0a(0x1ee)])[_0x3bdb0a(0x1e2)](_0x40af1a=>_0x40af1a[_0x3bdb0a(0x24a)]>=this[_0x3bdb0a(0x1ea)]);_0x5a8474[_0x3bdb0a(0x152)](_0x3ce614=>this[_0x3bdb0a(0x19d)](_0x3ce614)),this[_0x3bdb0a(0x18f)]=this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x1e2)](_0x4641da=>!_0x4641da[_0x3bdb0a(0x20d)]||!this[_0x3bdb0a(0x234)][_0x3bdb0a(0x24f)](this[_0x3bdb0a(0x253)](_0x4641da))),this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x196)]&&Z(this[_0x3bdb0a(0x18f)],this[_0x3bdb0a(0x18f)][0x0][_0x3bdb0a(0x24a)]),await this[_0x3bdb0a(0x1d4)](_0x5a8474),_0x51bc56=this[_0x3bdb0a(0x19a)](_0x5a8474,_0x264704[_0x3bdb0a(0x225)],_0x264704[_0x3bdb0a(0x16b)]),this[_0x3bdb0a(0x1c9)]=Math[_0x3bdb0a(0x157)](this[_0x3bdb0a(0x1c9)]/0x2);}return _0x51bc56?!this[_0x3bdb0a(0x1f7)]()||(this[_0x3bdb0a(0x245)](!0x0),!0x1):this[_0x3bdb0a(0x191)](_0x3bdb0a(0x163));}[_0x5d8795(0x19a)](_0x30e2f5,_0x1f7e0d,_0x5efdbc){const _0x176408=_0x5d8795;try{const _0x185a54={'document':this[_0x176408(0x1c3)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x338335,operationsB:_0x1234cc,originalOperations:_0x405fe2}=_0x205bc5(_0x30e2f5,this[_0x176408(0x18f)],_0x185a54);Z(_0x338335,this[_0x176408(0x1c3)][_0x176408(0x225)]),Z(_0x1234cc,_0x1f7e0d);for(const _0x2c54c7 of _0x338335){const _0xac1fa8=_0x405fe2[_0x176408(0x1a1)](_0x2c54c7);_0x2c54c7[_0x176408(0x1b9)]=_0xac1fa8?_0xac1fa8[_0x176408(0x1b9)]:null;}_0x5efdbc&&(this[_0x176408(0x217)][_0x176408(0x201)](_0x30e2f5,_0x5efdbc),this[_0x176408(0x1a2)]=_0x5efdbc),this[_0x176408(0x18f)]=[..._0x1234cc],this[_0x176408(0x1c6)](_0x338335),this[_0x176408(0x247)](_0x30e2f5);}catch(_0x5a2373){return console[_0x176408(0x16f)](_0x5a2373),!0x1;}return!0x0;}[_0x5d8795(0x1c6)](_0x30e2ed,_0x503b9f=!0x1){const _0x403569=_0x5d8795;this[_0x403569(0x1c8)][_0x403569(0x1a7)][_0x403569(0x230)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3f2c7d=>{const _0x4259a8=_0x403569;for(const _0x550746 of _0x30e2ed)this[_0x4259a8(0x1bc)][_0x4259a8(0x164)](_0x550746),this[_0x4259a8(0x19d)](_0x550746),_0x3f2c7d[_0x4259a8(0x1ba)][_0x4259a8(0x1d6)](_0x550746),this[_0x4259a8(0x1c8)][_0x4259a8(0x1a7)][_0x4259a8(0x1ec)](_0x550746);});}[_0x5d8795(0x19d)](_0x325e5d){const _0x5256e2=_0x5d8795,_0x4e6d8c=this[_0x5256e2(0x253)](_0x325e5d);_0x4e6d8c&&this[_0x5256e2(0x234)][_0x5256e2(0x164)](_0x4e6d8c);}[_0x5d8795(0x253)](_0x2f839e){const _0x1cd881=_0x5d8795;let _0xed4da3,_0x1a011a;switch(_0x2f839e[_0x1cd881(0x1c2)]){case _0x1cd881(0x169):_0xed4da3=_0x2f839e[_0x1cd881(0x1fa)][_0x1cd881(0x212)];break;case _0x1cd881(0x246):if(_0x1a011a=_0x2f839e[_0x1cd881(0x20e)],!_0x1a011a)return null;_0xed4da3=_0x1a011a[_0x1cd881(0x212)];break;case _0x1cd881(0x18e):_0xed4da3=_0x2f839e[_0x1cd881(0x212)];break;case _0x1cd881(0x251):_0xed4da3=_0x2f839e[_0x1cd881(0x158)];break;case _0x1cd881(0x1cb):_0xed4da3=_0x2f839e[_0x1cd881(0x204)][_0x1cd881(0x212)];break;default:return null;}return _0xed4da3[_0x1cd881(0x1d0)];}[_0x5d8795(0x247)](_0x4ba19a){const _0x32f99b=_0x5d8795;_0x4ba19a[_0x32f99b(0x152)](_0x214a4d=>{const _0x114eb5=_0x32f99b,_0x3ab14e=_0x214a4d[_0x114eb5(0x1e7)]();_0x3ab14e[_0x114eb5(0x1b9)]=_0x214a4d[_0x114eb5(0x1b9)],_0x3ab14e[_0x114eb5(0x20d)]=!!_0x214a4d[_0x114eb5(0x20d)],_0x3ab14e[_0x114eb5(0x194)]=_0x214a4d[_0x114eb5(0x194)],_0x3ab14e[_0x114eb5(0x24a)]+=this[_0x114eb5(0x193)],_0x214a4d[_0x114eb5(0x1df)]&&this[_0x114eb5(0x1cc)][_0x114eb5(0x164)](_0x3ab14e),this[_0x114eb5(0x19e)][_0x114eb5(0x1d6)](_0x3ab14e);});}[_0x5d8795(0x20a)](_0x257eed){const _0x1b9aa7=_0x5d8795,_0x2d530b=this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x165)][_0x1b9aa7(0x1a1)](_0x1b9aa7(0x238)),_0x2a888c=this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x1bf)];_0x257eed||(_0x257eed=_0x5af1b4(_0x2a888c,_0x1b9aa7(0x19b))),_0x2d530b[_0x1b9aa7(0x24c)](_0x257eed,{'title':_0x5af1b4(_0x2a888c,_0x1b9aa7(0x235)),'namespace':_0x1b9aa7(0x21f)}),this[_0x1b9aa7(0x1a4)]=!0x0,clearTimeout(this[_0x1b9aa7(0x231)]),this[_0x1b9aa7(0x18f)]=[],this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x165)][_0x1b9aa7(0x1a1)](_0x138e5a)[_0x1b9aa7(0x1b1)]();}[_0x5d8795(0x1fd)](){const _0x1c3ccf=_0x5d8795;this[_0x1c3ccf(0x176)]||(this[_0x1c3ccf(0x176)]=this[_0x1c3ccf(0x1c8)][_0x1c3ccf(0x165)][_0x1c3ccf(0x1a1)](_0x476eb8)[_0x1c3ccf(0x164)](_0x5af1b4(this[_0x1c3ccf(0x1c8)][_0x1c3ccf(0x1bf)],_0x1c3ccf(0x219))));}[_0x5d8795(0x205)](){const _0x9b4d14=_0x5d8795;this[_0x9b4d14(0x176)]&&(this[_0x9b4d14(0x1c8)][_0x9b4d14(0x165)][_0x9b4d14(0x1a1)](_0x476eb8)[_0x9b4d14(0x1be)](this[_0x9b4d14(0x176)]),this[_0x9b4d14(0x176)]=null);}[_0x5d8795(0x161)](_0x2e9fc3){const _0x4e1f8c=_0x5d8795,_0x44024b=_0x2e9fc3[_0x4e1f8c(0x22c)](_0x368d8c=>_0x368d8c[_0x4e1f8c(0x208)]());return this[_0x4e1f8c(0x1b0)][_0x4e1f8c(0x184)](_0x44024b);}[_0x5d8795(0x22d)](_0x280d4f,_0x4f4306){const _0x36af32=_0x5d8795;return this[_0x36af32(0x1b0)][_0x36af32(0x1e1)](_0x280d4f)[_0x36af32(0x22c)]((_0x27c1e9,_0x4bcede)=>{const _0x4aefdc=_0x36af32,_0x359792=_0x4aefdc(0x175)==_0x4f4306[_0x4bcede][_0x4aefdc(0x1c2)];if(_0x4aefdc(0x190)==_0x27c1e9[_0x4aefdc(0x1c1)]){const _0xa8d6ed=_0x27c1e9[_0x4aefdc(0x1fa)][_0x4aefdc(0x212)];!this[_0x4aefdc(0x1c3)][_0x4aefdc(0x1b5)](_0xa8d6ed)&&(this[_0x4aefdc(0x1c3)][_0x4aefdc(0x1f9)](_0x4aefdc(0x1a6),_0xa8d6ed)[_0x4aefdc(0x1f4)]=!0x1);}const _0x20b414=_0x409321[_0x4aefdc(0x206)](_0x27c1e9,this[_0x4aefdc(0x1c3)]);return _0x20b414[_0x4aefdc(0x1c4)]=_0x27c1e9[_0x4aefdc(0x1c4)],_0x20b414[_0x4aefdc(0x20d)]=_0x359792,_0x20b414[_0x4aefdc(0x1b9)]=_0x359792?null:_0x4f4306[_0x4bcede][_0x4aefdc(0x21a)],_0x20b414[_0x4aefdc(0x1df)]=_0x4aefdc(0x17d)===_0x4f4306[_0x4bcede][_0x4aefdc(0x1c2)],_0x20b414[_0x4aefdc(0x194)]=_0x4f4306[_0x4bcede][_0x4aefdc(0x194)],_0x20b414;});}[_0x5d8795(0x20b)](){const _0x36af92=_0x5d8795;this[_0x36af92(0x1b2)]=!0x0,this[_0x36af92(0x1b6)]()?this[_0x36af92(0x245)]():this[_0x36af92(0x1b2)]=!0x1;}[_0x5d8795(0x1b6)](){const _0x4719a1=_0x5d8795,_0x352b81=this[_0x4719a1(0x1c8)][_0x4719a1(0x165)][_0x4719a1(0x1a1)](_0x39741a)[_0x4719a1(0x1e5)][_0x4719a1(0x1a1)](this[_0x4719a1(0x1eb)]);return!this[_0x4719a1(0x1c8)][_0x4719a1(0x228)]&&!!_0x352b81&&_0x352b81[_0x4719a1(0x196)]>0x1&&this[_0x4719a1(0x1b2)];}[_0x5d8795(0x1f7)](){const _0x5409b=_0x5d8795;return this[_0x5409b(0x18f)][_0x5409b(0x196)]>0x0||this[_0x5409b(0x1b6)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x44644e,_0x191df7){const _0x162da0=_0x5d8795;for(const _0x2465c6 of _0x44644e)_0x2465c6[_0x162da0(0x24a)]=_0x191df7++;}class tt{[_0x5d8795(0x181)];[_0x5d8795(0x14f)];constructor(_0x481027){const _0x31e9e9=_0x5d8795;this[_0x31e9e9(0x181)]=_0x481027,this[_0x31e9e9(0x14f)]=new WeakMap();}[_0x5d8795(0x150)](_0x4af751){const _0x3a591d=_0x5d8795;let _0x458f34=_0x4af751[_0x3a591d(0x196)];for(;_0x458f34--;){const _0x5baa60=_0x4af751[_0x458f34];if(!this[_0x3a591d(0x181)][_0x3a591d(0x24f)](_0x5baa60)){if(!this[_0x3a591d(0x14f)][_0x3a591d(0x24f)](_0x5baa60)){const _0x4ae0e8=_0x1f3b4e()[_0x3a591d(0x14e)](0x1,0x12);this[_0x3a591d(0x14f)][_0x3a591d(0x1ce)](_0x5baa60,_0x4ae0e8);}return this[_0x3a591d(0x14f)][_0x3a591d(0x1a1)](_0x5baa60);}}}[_0x5d8795(0x201)](_0x3af255,_0x569f5d){const _0x5a74d4=_0x5d8795;if(!_0x569f5d)return;let _0x494571=_0x3af255[_0x5a74d4(0x196)];for(;_0x494571--;){const _0x136a5c=_0x3af255[_0x494571];this[_0x5a74d4(0x181)][_0x5a74d4(0x24f)](_0x136a5c)||this[_0x5a74d4(0x14f)][_0x5a74d4(0x1ce)](_0x136a5c,_0x569f5d);}}}
23
+ const _0x980336=_0x1b6a;(function(_0x50042a,_0x31f013){const _0x46680a=_0x1b6a,_0x1de989=_0x50042a();while(!![]){try{const _0x39691e=-parseInt(_0x46680a(0x122))/0x1*(-parseInt(_0x46680a(0x1b7))/0x2)+parseInt(_0x46680a(0x17f))/0x3+parseInt(_0x46680a(0x148))/0x4*(-parseInt(_0x46680a(0x162))/0x5)+-parseInt(_0x46680a(0x1de))/0x6+parseInt(_0x46680a(0x1af))/0x7+parseInt(_0x46680a(0x171))/0x8*(parseInt(_0x46680a(0x1a2))/0x9)+-parseInt(_0x46680a(0x13a))/0xa*(parseInt(_0x46680a(0x204))/0xb);if(_0x39691e===_0x31f013)break;else _0x1de989['push'](_0x1de989['shift']());}catch(_0x3982c1){_0x1de989['push'](_0x1de989['shift']());}}}(_0x4dcb,0xac91d));import{Plugin as _0x1ca9f7,PendingActions as _0x5e3c28}from'ckeditor5/src/core.js';import{CKEditorError as _0x43e1c2,version as _0x3ca235,uid as _0x4c34ba}from'ckeditor5/src/utils.js';import{Notification as _0x458fd3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x344f50,NoOperation as _0x1c9742,InsertOperation as _0x45c472,MarkerOperation as _0x1af574,RootAttributeOperation as _0xd59741,OperationFactory as _0x4fa64a,History as _0x438fcc}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1cc2c1}from'./websocketgateway.js';function _0x1b6a(_0x1edeb6,_0x922f00){const _0x4dcbc8=_0x4dcb();return _0x1b6a=function(_0x1b6a29,_0x4da6af){_0x1b6a29=_0x1b6a29-0xfe;let _0x234a91=_0x4dcbc8[_0x1b6a29];return _0x234a91;},_0x1b6a(_0x1edeb6,_0x922f00);}import{Sessions as _0x358490}from'./sessions.js';import{UserMarkers as _0x20cfdf}from'./usermarkers.js';import{getTranslation as _0x134411}from'../common-translations.js';import{Compressor as _0xc93cee}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xfec9fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x35cc0d,CollaborativeEditingService as _0xefe054}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;class l extends _0x1ca9f7{static [_0x980336(0x1e2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xefe054)());[_0x980336(0x1d5)];[_0x980336(0x195)];[_0x980336(0x182)];[_0x980336(0x1c0)];[_0x980336(0x172)];[_0x980336(0x1c7)];[_0x980336(0x129)];[_0x980336(0x120)];[_0x980336(0x133)];[_0x980336(0x13f)];[_0x980336(0x1d0)];[_0x980336(0x1c3)];[_0x980336(0x158)];[_0x980336(0x1e0)];[_0x980336(0x14e)];[_0x980336(0x19a)];[_0x980336(0x115)];[_0x980336(0x150)];static get[_0x980336(0x1b4)](){return[_0x1cc2c1,_0x358490,_0x20cfdf,_0x5e3c28,_0xfec9fd,_0x458fd3];}static get[_0x980336(0x145)](){const _0x3467a7=_0x980336;return _0x3467a7(0x1a4);}static get[_0x980336(0x18c)](){return!0x0;}static get[_0x980336(0x1db)](){return!0x0;}get[_0x980336(0x105)](){const _0x228175=_0x980336;return this[_0x228175(0x1bb)]+this[_0x228175(0x1d5)];}get[_0x980336(0x1bb)](){const _0x5561b0=_0x980336;return this[_0x5561b0(0x182)][_0x5561b0(0x156)]-this[_0x5561b0(0x1d5)];}get[_0x980336(0x152)](){const _0x3cfcf5=_0x980336,_0x247747=this[_0x3cfcf5(0x182)][_0x3cfcf5(0x1b8)]();for(let _0x1b3933=_0x247747[_0x3cfcf5(0x134)]-0x1;_0x1b3933>=0x0;_0x1b3933--){const _0xe3eaee=_0x247747[_0x1b3933];if(!this[_0x3cfcf5(0x115)][_0x3cfcf5(0x1cd)](_0xe3eaee))return _0xe3eaee[_0x3cfcf5(0x16d)]+0x1-this[_0x3cfcf5(0x1d5)];}return 0x0;}constructor(_0x565d6c){const _0x225099=_0x980336;if(super(_0x565d6c),this[_0x225099(0x1d5)]=0x0,this[_0x225099(0x195)]=null,this[_0x225099(0x182)]=new _0x438fcc(),this[_0x225099(0x113)][_0x225099(0x1da)][_0x225099(0x16a)](_0x225099(0x10c),{}),this[_0x225099(0x1c0)]=this[_0x225099(0x113)][_0x225099(0x1da)][_0x225099(0x1f0)](_0x225099(0x1ad)),!this[_0x225099(0x1c0)])throw new _0x43e1c2(_0x225099(0x141),this);const _0x1e3f2f=_0x565d6c[_0x225099(0x1da)][_0x225099(0x1f0)](_0x225099(0x149))||_0x3ca235;this[_0x225099(0x172)]=new l[(_0x225099(0x1e2))](_0x1e3f2f,this[_0x225099(0x1c0)]),this[_0x225099(0x1c7)]=this[_0x225099(0x113)][_0x225099(0x166)][_0x225099(0x1b2)],this[_0x225099(0x129)]=new _0xc93cee(),this[_0x225099(0x120)]=[],this[_0x225099(0x133)]=new WeakSet(),this[_0x225099(0x13f)]=new Set(),this[_0x225099(0x15b)](_0x225099(0x127),!0x1),this[_0x225099(0x15b)](_0x225099(0x200),!0x1),this[_0x225099(0x1d0)]=null,this[_0x225099(0x1c3)]=!0x1,this[_0x225099(0x158)]=null,this[_0x225099(0x1e0)]=0x12c,this[_0x225099(0x14e)]=this[_0x225099(0x1e0)],this[_0x225099(0x19a)]=null,this[_0x225099(0x115)]=new WeakSet(),this[_0x225099(0x150)]=new tt(this[_0x225099(0x115)]);}[_0x980336(0x128)](){const _0x5df68a=_0x980336,_0x5a5549=this[_0x5df68a(0x113)],_0x4f1473=_0x5a5549[_0x5df68a(0x1be)][_0x5df68a(0x1f0)](_0xfec9fd),_0xb760a9=_0x5a5549[_0x5df68a(0x1be)][_0x5df68a(0x1f0)](_0x1cc2c1);this[_0x5df68a(0x177)](_0x4f1473,_0x5df68a(0x19e),(_0x401e5a,_0x2d4933)=>{const _0x1b745a=_0x5df68a,_0x586d98=_0x2d4933[0x0];_0x586d98[_0x1b745a(0x18e)]&&(_0x401e5a[_0x1b745a(0x14d)]=_0x4f1473[_0x1b745a(0x140)](_0x586d98[_0x1b745a(0x18e)]),_0x401e5a[_0x1b745a(0x1c9)]()),null===_0x586d98[_0x1b745a(0x18e)]&&(_0x401e5a[_0x1b745a(0x14d)]=null,_0x401e5a[_0x1b745a(0x1c9)]());},{'priority':_0x5df68a(0x1ba)}),this[_0x5df68a(0x177)](_0x5a5549[_0x5df68a(0x166)][_0x5df68a(0x1b2)][_0x5df68a(0x1bc)],_0x5df68a(0x11c),(_0xef0e3a,_0x295151)=>{const _0xd2dbb1=_0x5df68a;_0x295151[_0xd2dbb1(0x19c)]&&this[_0xd2dbb1(0x136)]();}),this[_0x5df68a(0x177)](_0x5a5549[_0x5df68a(0x1a8)][_0x5df68a(0x19d)],_0x5df68a(0x103),()=>{const _0x445451=_0x5df68a;this[_0x445451(0x136)]();}),this[_0x5df68a(0x15e)](),_0x5a5549[_0x5df68a(0x166)]['on'](_0x5df68a(0x169),(_0x434964,_0x4633b2)=>{const _0x2aa273=_0x5df68a,_0x22b9a5=_0x4633b2[0x0];_0x22b9a5[_0x2aa273(0x1b0)]&&(this[_0x2aa273(0x1ec)](_0x22b9a5),this[_0x2aa273(0x1d6)]()&&this[_0x2aa273(0x191)]());}),this[_0x5df68a(0x154)](),this[_0x5df68a(0x1e5)](_0x5df68a(0x163))['to'](_0xb760a9,_0x5df68a(0x124),this,_0x5df68a(0x200),(_0xbb2c53,_0x4cfbde)=>_0x5df68a(0x178)===_0xbb2c53&&!_0x4cfbde),this['on'](_0x5df68a(0x176),()=>{const _0x18bc42=_0x5df68a;this[_0x18bc42(0x163)]?_0x5a5549[_0x18bc42(0x126)](_0x18bc42(0x131)):_0x5a5549[_0x18bc42(0x14a)](_0x18bc42(0x131));}),this[_0x5df68a(0x163)]?_0x5a5549[_0x5df68a(0x126)](_0x5df68a(0x131)):_0x5a5549[_0x5df68a(0x14a)](_0x5df68a(0x131)),this[_0x5df68a(0x15b)](_0x5df68a(0x1f1),!0x1);}async[_0x980336(0x1e3)](){const _0x1e2fa5=_0x980336,_0x459550=this[_0x1e2fa5(0x113)][_0x1e2fa5(0x1be)][_0x1e2fa5(0x1f0)](_0x358490),_0x2cac9b=this[_0x1e2fa5(0x113)][_0x1e2fa5(0x1be)][_0x1e2fa5(0x1f0)](_0x1cc2c1);try{this[_0x1e2fa5(0x127)]=!0x0,_0x459550[_0x1e2fa5(0x15f)](this[_0x1e2fa5(0x1c0)]);const _0x5d94c3=await this[_0x1e2fa5(0x172)][_0x1e2fa5(0x1e3)](_0x2cac9b[_0x1e2fa5(0x108)],this[_0x1e2fa5(0x152)]);await this[_0x1e2fa5(0x10a)](_0x5d94c3)&&(this[_0x1e2fa5(0x127)]=!0x1,this[_0x1e2fa5(0x185)]());const _0x1a4fbc=await this[_0x1e2fa5(0x172)][_0x1e2fa5(0x1bf)]();_0x459550[_0x1e2fa5(0x1f6)](this[_0x1e2fa5(0x1c0)],_0x1a4fbc),this[_0x1e2fa5(0x1ea)](),this[_0x1e2fa5(0x1f1)]=!0x0;}catch(_0x309f55){if(function(_0x4f1970){const _0x826163=_0x1e2fa5;return _0x826163(0x1a6)===_0x4f1970[_0x826163(0x17e)];}(_0x309f55)&&this[_0x1e2fa5(0x195)])await this[_0x1e2fa5(0x1d1)]();else{if(function(_0x325271){const _0x94afc=_0x1e2fa5;return _0x94afc(0x1c4)===_0x325271[_0x94afc(0x17e)];}(_0x309f55)){const _0x2ad8fd=_0x134411(this[_0x1e2fa5(0x113)][_0x1e2fa5(0x193)],_0x1e2fa5(0x1ef));this[_0x1e2fa5(0x138)](_0x2ad8fd);}else{if(!(_0x309f55 instanceof Y))throw _0x309f55;this[_0x1e2fa5(0x138)]();}}}}[_0x980336(0x19f)](){const _0x391d44=_0x980336,_0x43dd4f=this[_0x391d44(0x113)][_0x391d44(0x1be)][_0x391d44(0x1f0)](_0x1cc2c1),_0x451ea9=this[_0x391d44(0x113)][_0x391d44(0x1be)][_0x391d44(0x1f0)](_0x358490);this[_0x391d44(0x113)][_0x391d44(0x14a)](_0x391d44(0x174)),_0x451ea9[_0x391d44(0x1bd)][_0x391d44(0x1cd)](this[_0x391d44(0x1c0)])&&_0x451ea9[_0x391d44(0x15f)](this[_0x391d44(0x1c0)]),_0x43dd4f[_0x391d44(0x1f8)](this),this[_0x391d44(0x11d)](),super[_0x391d44(0x19f)]();}async[_0x980336(0x10a)](_0x985d21){const _0x369354=_0x980336;if(this[_0x369354(0x195)]!==_0x985d21[_0x369354(0x195)]&&this[_0x369354(0x19a)]!==_0x985d21[_0x369354(0x190)])throw new Y();return this[_0x369354(0x195)]=_0x985d21[_0x369354(0x195)],this[_0x369354(0x201)]([],{..._0x985d21,'wereChangesApplied':!0x1,'data':_0x985d21[_0x369354(0x111)]},_0x369354(0x1e3));}async[_0x980336(0x1b1)](_0x4ad07d,_0x59fde8=!0x1){const _0x23ceeb=_0x980336,{connection:_0x559dd7}=this[_0x23ceeb(0x113)][_0x23ceeb(0x1be)][_0x23ceeb(0x1f0)](_0x1cc2c1);l[_0x23ceeb(0x1e2)][_0x23ceeb(0x1bf)](_0x559dd7,this[_0x23ceeb(0x1c0)])[_0x23ceeb(0x19b)](_0x454fcd=>this[_0x23ceeb(0x1d2)](_0x454fcd))[_0x23ceeb(0x1e8)](_0x204a2=>{const _0x21fc5f=_0x23ceeb;this[_0x21fc5f(0x181)](_0x21fc5f(0x14c),_0x204a2);}),this[_0x23ceeb(0x177)](this[_0x23ceeb(0x172)],_0x23ceeb(0x197),this[_0x23ceeb(0x1fb)][_0x23ceeb(0x1e5)](this)),this[_0x23ceeb(0x177)](this[_0x23ceeb(0x172)],_0x23ceeb(0x1a1),(_0x3cd908,_0x355b50)=>{const _0x4a4e32=_0x23ceeb;this[_0x4a4e32(0x181)](_0x4a4e32(0x12b),_0x355b50);}),this[_0x23ceeb(0x177)](this[_0x23ceeb(0x172)],_0x23ceeb(0x164),()=>{const _0x36549b=_0x23ceeb;this[_0x36549b(0x1f1)]=!0x1;});const _0x18372e=this[_0x23ceeb(0x150)][_0x23ceeb(0x13d)](_0x4ad07d);this[_0x23ceeb(0x127)]=!0x0;const _0x2d20d3=await this[_0x23ceeb(0x172)][_0x23ceeb(0x1cb)](_0x559dd7,this[_0x23ceeb(0x104)](_0x4ad07d),_0x18372e);if(this[_0x23ceeb(0x195)]=_0x2d20d3[_0x23ceeb(0x195)],_0x59fde8){if(!_0x2d20d3[_0x23ceeb(0x1ab)])return void this[_0x23ceeb(0x138)]();this[_0x23ceeb(0x127)]=!0x1,this[_0x23ceeb(0x185)](),this[_0x23ceeb(0x182)][_0x23ceeb(0x116)](),this[_0x23ceeb(0x1d5)]=_0x2d20d3[_0x23ceeb(0x202)],this[_0x23ceeb(0x182)][_0x23ceeb(0x156)]=this[_0x23ceeb(0x1d5)],await this[_0x23ceeb(0x201)](_0x4ad07d,_0x2d20d3,_0x23ceeb(0x1dc));}else await this[_0x23ceeb(0x1dd)](_0x2d20d3,_0x4ad07d);this[_0x23ceeb(0x1ea)](),this[_0x23ceeb(0x1f1)]=!0x0;}[_0x980336(0x1ea)](){const _0xcef1a4=_0x980336,_0x388867=this[_0xcef1a4(0x113)][_0xcef1a4(0x1be)][_0xcef1a4(0x1f0)](_0x358490),_0x203eaf=this[_0xcef1a4(0x113)][_0xcef1a4(0x1be)][_0xcef1a4(0x1f0)](_0x20cfdf),_0x42708d=_0x388867[_0xcef1a4(0x1bd)][_0xcef1a4(0x1f0)](this[_0xcef1a4(0x1c0)]);_0x42708d&&_0x42708d[_0xcef1a4(0x134)]>0x1?_0x203eaf[_0xcef1a4(0xff)]():this[_0xcef1a4(0x177)](_0x388867,_0xcef1a4(0x198)+this[_0xcef1a4(0x1c0)],()=>{const _0x38752a=_0xcef1a4;0x2===_0x388867[_0x38752a(0x1bd)][_0x38752a(0x1f0)](this[_0x38752a(0x1c0)])[_0x38752a(0x134)]&&_0x203eaf[_0x38752a(0xff)]();});}async[_0x980336(0x1fb)](_0x5a911a,_0x165550,_0x567d6a,_0x4c3b4a){const _0x304078=_0x980336;if(!this[_0x304078(0x127)]&&this[_0x304078(0x1c7)][_0x304078(0x156)]==_0x165550){const _0x2fcef3=this[_0x304078(0x184)](_0x567d6a,_0x4c3b4a);await this[_0x304078(0x18d)](_0x2fcef3),this[_0x304078(0x1b3)](_0x2fcef3,_0x165550,_0x567d6a[_0x304078(0x190)])||this[_0x304078(0x181)](_0x304078(0x1a7));}}async[_0x980336(0x1d1)](){const _0x4d5e72=_0x980336;this[_0x4d5e72(0x11d)]();const {locale:_0x21f47e}=this[_0x4d5e72(0x113)];let _0x3bb8fb;try{_0x3bb8fb=await this[_0x4d5e72(0x172)][_0x4d5e72(0x1f4)]();}catch{const _0xf356e2=_0x134411(_0x21f47e,_0x4d5e72(0x1fe));return void this[_0x4d5e72(0x138)](_0xf356e2);}const _0xf84caa=_0x3bb8fb[_0x4d5e72(0x1fc)]||_0x3bb8fb[_0x4d5e72(0x1d9)];if(this[_0x4d5e72(0x19a)]!==_0xf84caa[_0x4d5e72(0x190)]){const _0x113e49=_0x134411(_0x21f47e,_0x4d5e72(0x192));return void this[_0x4d5e72(0x138)](_0x113e49);}await this[_0x4d5e72(0x1b1)](this[_0x4d5e72(0x113)][_0x4d5e72(0x166)][_0x4d5e72(0x1b2)][_0x4d5e72(0x1cf)][_0x4d5e72(0x1b8)](),!0x0);}[_0x980336(0x11d)](){const _0x46a8e7=_0x980336;this[_0x46a8e7(0x172)][_0x46a8e7(0x106)](),this[_0x46a8e7(0x120)]=[],clearTimeout(this[_0x46a8e7(0x158)]),this[_0x46a8e7(0x199)](this[_0x46a8e7(0x172)]);}[_0x980336(0x1d2)](_0x4c73ac){const _0x4a75d3=_0x980336,_0x366e0e=this[_0x4a75d3(0x113)][_0x4a75d3(0x1be)][_0x4a75d3(0x1f0)](_0x358490);this[_0x4a75d3(0x177)](_0x366e0e,_0x4a75d3(0x198)+this[_0x4a75d3(0x1c0)],(_0x506322,{session:_0x441248})=>{const _0x4cd62f=_0x4a75d3;if(_0x441248['id']===_0x366e0e[_0x4cd62f(0x12c)]){_0x506322[_0x4cd62f(0x1e4)]();const _0x461c66=this[_0x4cd62f(0x113)][_0x4cd62f(0x1be)][_0x4cd62f(0x1cd)](_0x4cd62f(0x159))&&this[_0x4cd62f(0x113)][_0x4cd62f(0x1be)][_0x4cd62f(0x1f0)](_0x4cd62f(0x159));let _0x46aca4=_0x441248[_0x4cd62f(0x13e)];_0x461c66&&_0x461c66[_0x4cd62f(0x180)]&&(_0x46aca4=_0x46aca4[_0x4cd62f(0x13c)](_0x3ae347=>_0x4cd62f(0x10d)!==_0x3ae347)),this[_0x4cd62f(0x113)][_0x4cd62f(0x1be)][_0x4cd62f(0x1f0)](_0x4cd62f(0x1b5))[_0x4cd62f(0x11a)](_0x46aca4,this[_0x4cd62f(0x1c0)]);}}),_0x366e0e[_0x4a75d3(0x1f6)](this[_0x4a75d3(0x1c0)],_0x4c73ac);}[_0x980336(0x15e)](){const _0x379d4f=_0x980336,_0x513f45=this[_0x379d4f(0x113)][_0x379d4f(0x111)][_0x379d4f(0x15b)];this[_0x379d4f(0x113)][_0x379d4f(0x111)][_0x379d4f(0x15b)]=(..._0x48d820)=>{const _0x6a0a3=_0x379d4f;if(!_0x48d820[_0x48d820[_0x6a0a3(0x134)]-0x1][_0x6a0a3(0x1d4)])throw new _0x43e1c2(_0x6a0a3(0x16b),this);_0x513f45[_0x6a0a3(0x125)](this[_0x6a0a3(0x113)][_0x6a0a3(0x111)],_0x48d820);};}[_0x980336(0x154)](){const _0x17f32a=_0x980336;this[_0x17f32a(0x113)][_0x17f32a(0x111)]['on'](_0x17f32a(0x128),(_0x73db06,[_0x1a2afe])=>{const _0x3f9627=_0x17f32a;if(this[_0x3f9627(0x1c7)][_0x3f9627(0x156)])throw new _0x43e1c2(_0x3f9627(0x1eb),this);_0x73db06[_0x3f9627(0x1c9)](),this[_0x3f9627(0x110)]();const _0x4fcd15=this[_0x3f9627(0x113)][_0x3f9627(0x1da)][_0x3f9627(0x1f0)](_0x3f9627(0x135)),_0x892858=this[_0x3f9627(0x102)](_0x1a2afe,_0x4fcd15);0x0==_0x892858[_0x3f9627(0x134)]&&_0x892858[_0x3f9627(0x119)](new _0x1c9742(0x0)),_0x73db06[_0x3f9627(0x14d)]=this[_0x3f9627(0x1b1)](_0x892858)[_0x3f9627(0x19b)](()=>{const _0x365da9=_0x3f9627;this[_0x365da9(0x113)][_0x365da9(0x1be)][_0x365da9(0x1f0)](_0x1cc2c1)[_0x365da9(0x11f)](this),this[_0x365da9(0x113)][_0x365da9(0x111)][_0x365da9(0x1ee)](_0x365da9(0x194));})[_0x3f9627(0x1e8)](_0x48c702=>this[_0x3f9627(0x181)](_0x3f9627(0x12f),_0x48c702))[_0x3f9627(0x112)](()=>this[_0x3f9627(0x185)]());},{'priority':_0x17f32a(0x1ba)}),this[_0x17f32a(0x113)]['on'](_0x17f32a(0x1d3),async(_0x44357b,[_0x4287e5,_0x32af7a])=>{const _0x2ac3d7=_0x17f32a;_0x44357b[_0x2ac3d7(0x1c9)]();const _0x323832=this[_0x2ac3d7(0x113)][_0x2ac3d7(0x166)][_0x2ac3d7(0x1b2)][_0x2ac3d7(0x1b6)](_0x4287e5);if(!this[_0x2ac3d7(0x13f)][_0x2ac3d7(0x1cd)](_0x4287e5)){const _0x530030=_0x32af7a&&_0x32af7a[_0x2ac3d7(0x111)]?_0x32af7a[_0x2ac3d7(0x111)]:'',_0x15a352=_0x32af7a&&_0x32af7a[_0x2ac3d7(0x1e1)]?_0x32af7a[_0x2ac3d7(0x1e1)]:{};await this[_0x2ac3d7(0x15a)](_0x4287e5,_0x530030,_0x15a352);}this[_0x2ac3d7(0x113)][_0x2ac3d7(0x166)][_0x2ac3d7(0x1c6)]({'isUndoable':!0x1},()=>{const _0x4c95d1=_0x2ac3d7;_0x323832[_0x4c95d1(0x188)]=!0x0,this[_0x4c95d1(0x113)][_0x4c95d1(0x166)][_0x4c95d1(0x1b2)][_0x4c95d1(0x114)][_0x4c95d1(0x1c5)](_0x323832);});},{'priority':_0x17f32a(0x1ba)});}async[_0x980336(0x18d)](_0x139dad){const _0x568da8=_0x980336,_0x252e99=this[_0x568da8(0x113)][_0x568da8(0x1be)][_0x568da8(0x1f0)](_0xfec9fd),{connection:_0x3657ff}=this[_0x568da8(0x113)][_0x568da8(0x1be)][_0x568da8(0x1f0)](_0x1cc2c1),_0x2cd6dd=new Set();for(const _0x150e35 of _0x139dad){const _0x3f41f1=_0x150e35[_0x568da8(0x18e)];_0x3f41f1&&!_0x252e99[_0x568da8(0x140)](_0x3f41f1)&&_0x2cd6dd[_0x568da8(0x1d7)](_0x3f41f1);}if(0x0===_0x2cd6dd[_0x568da8(0x173)])return;const _0x174a37=await _0x35cc0d[_0x568da8(0x17a)](_0x3657ff,Array[_0x568da8(0x1f2)](_0x2cd6dd));for(const _0x1e58b2 of _0x174a37)_0x252e99[_0x568da8(0x140)](_0x1e58b2['id'])||_0x252e99[_0x568da8(0x12d)](_0x1e58b2);}[_0x980336(0x102)](_0x23be5e,_0xf77b89={}){const _0x581a7a=_0x980336,_0x38d6fa=this[_0x581a7a(0x113)][_0x581a7a(0x166)],_0x13da94=[];let _0x2b7f5d=0x0;const _0x42135a=_0x581a7a(0x1a9)==typeof _0x23be5e?{'main':_0x23be5e}:_0x23be5e;for(const _0x5a953a of Object[_0x581a7a(0x137)](_0x42135a)){if(!this[_0x581a7a(0x1c7)][_0x581a7a(0x101)][_0x581a7a(0x1cd)](_0x5a953a))throw new _0x43e1c2(_0x581a7a(0x1e6),this);const _0x4c60f0=this[_0x581a7a(0x113)][_0x581a7a(0x111)][_0x581a7a(0x139)](_0x42135a[_0x5a953a]),_0x20aa4b=this[_0x581a7a(0x1c7)][_0x581a7a(0x1b6)](_0x5a953a),_0x5d4f19=new _0x45c472(_0x38d6fa[_0x581a7a(0x12a)](_0x20aa4b,0x0),_0x4c60f0,_0x2b7f5d++);_0x13da94[_0x581a7a(0x119)](_0x5d4f19);for(const [_0x165a73,_0x44702e]of _0x4c60f0[_0x581a7a(0x1ce)]){const _0x24c5f1=_0x38d6fa[_0x581a7a(0x1fa)](_0x38d6fa[_0x581a7a(0x143)](_0x20aa4b,_0x44702e[_0x581a7a(0x1df)][_0x581a7a(0x1ed)][_0x581a7a(0x1c8)]()),_0x38d6fa[_0x581a7a(0x143)](_0x20aa4b,_0x44702e[_0x581a7a(0x1b9)][_0x581a7a(0x1ed)][_0x581a7a(0x1c8)]())),_0x1adfe7=new _0x1af574(_0x165a73,null,_0x24c5f1,_0x38d6fa[_0x581a7a(0x1ce)],!0x0,_0x2b7f5d++);_0x13da94[_0x581a7a(0x119)](_0x1adfe7);}}if(_0xf77b89)for(const [_0x3a5bb6,_0x53e840]of Object[_0x581a7a(0x144)](_0xf77b89)){const _0x43e048=_0x38d6fa[_0x581a7a(0x1b2)][_0x581a7a(0x1b6)](_0x3a5bb6);if(!_0x43e048)throw new _0x43e1c2(_0x581a7a(0x18f),null);for(const [_0x553fdf,_0x4b25d4]of Object[_0x581a7a(0x144)](_0x53e840))if(null!==_0x4b25d4){const _0x55ada0=new _0xd59741(_0x43e048,_0x553fdf,null,_0x4b25d4,_0x2b7f5d++);_0x13da94[_0x581a7a(0x119)](_0x55ada0);}}return _0x13da94;}async[_0x980336(0x15a)](_0x557e84,_0x1023c3,_0x3f2427){const _0xe53198=_0x980336;this[_0xe53198(0x102)]({[_0x557e84]:_0x1023c3},{[_0x557e84]:_0x3f2427})[_0xe53198(0x179)]((_0x13838f,_0x5acdbc)=>{const _0x18a1a5=_0xe53198;_0x13838f[_0x18a1a5(0x16d)]=this[_0x18a1a5(0x1c7)][_0x18a1a5(0x156)]+_0x5acdbc,_0x13838f[_0x18a1a5(0x167)]=!0x0,this[_0x18a1a5(0x1ec)](_0x13838f);}),this[_0xe53198(0x191)](),await this[_0xe53198(0x16e)]();}async[_0x980336(0x1dd)](_0x318d0a,_0x446cd7){const _0xd5c3a4=_0x980336;let _0x255d9f;this[_0xd5c3a4(0x1d5)]=_0x318d0a[_0xd5c3a4(0x202)];const _0x981da1=_0x318d0a[_0xd5c3a4(0x1ab)]&&!_0x318d0a[_0xd5c3a4(0x18b)],_0x2cf2e5=_0x981da1?0x0:_0x318d0a[_0xd5c3a4(0x111)][_0xd5c3a4(0x16d)];if(_0x446cd7[_0xd5c3a4(0x179)](_0x3571f0=>{const _0x50c734=_0xd5c3a4;_0x3571f0[_0x50c734(0x167)]=!0x0,_0x3571f0[_0x50c734(0x1c2)]=_0x318d0a[_0x50c734(0x107)],_0x3571f0[_0x50c734(0x18e)]=null;}),_0x981da1)_0x255d9f=_0x446cd7,this[_0xd5c3a4(0x161)](_0x255d9f,_0x981da1);else{if(_0x318d0a[_0xd5c3a4(0x18b)]){const _0x2509a5=this[_0xd5c3a4(0x102)](_0x318d0a[_0xd5c3a4(0x18b)]);this[_0xd5c3a4(0x1c7)][_0xd5c3a4(0x1cf)][_0xd5c3a4(0x156)]=-_0x2509a5[_0xd5c3a4(0x134)],_0x2509a5[_0xd5c3a4(0x179)](_0x3bc29b=>{const _0x2e9890=_0xd5c3a4;_0x3bc29b[_0x2e9890(0x16d)]-=_0x2509a5[_0x2e9890(0x134)],_0x3bc29b[_0x2e9890(0x1c2)]=_0x318d0a[_0x2e9890(0x107)],_0x3bc29b[_0x2e9890(0x167)]=!0x0,_0x3bc29b[_0x2e9890(0x18e)]=null;}),this[_0xd5c3a4(0x161)](_0x2509a5,!0x0),this[_0xd5c3a4(0x182)][_0xd5c3a4(0x156)]=-_0x2509a5[_0xd5c3a4(0x134)]+this[_0xd5c3a4(0x1d5)],this[_0xd5c3a4(0x121)](_0x2509a5);}this[_0xd5c3a4(0x1c7)][_0xd5c3a4(0x1cf)][_0xd5c3a4(0x156)]=_0x2cf2e5,_0x255d9f=this[_0xd5c3a4(0x184)](_0x318d0a[_0xd5c3a4(0x111)],_0x318d0a[_0xd5c3a4(0x1f3)]),await this[_0xd5c3a4(0x18d)](_0x255d9f),this[_0xd5c3a4(0x161)](_0x255d9f,_0x981da1);}_0x318d0a[_0xd5c3a4(0x190)]&&(this[_0xd5c3a4(0x150)][_0xd5c3a4(0x1ff)](_0x255d9f,_0x318d0a[_0xd5c3a4(0x190)]),this[_0xd5c3a4(0x19a)]=_0x318d0a[_0xd5c3a4(0x190)]),this[_0xd5c3a4(0x182)][_0xd5c3a4(0x156)]=_0x2cf2e5+this[_0xd5c3a4(0x1d5)],this[_0xd5c3a4(0x121)](_0x255d9f),_0x446cd7[_0xd5c3a4(0x13c)](_0x34a136=>{const _0x9bdb62=_0xd5c3a4,_0x1ac34f=this[_0x9bdb62(0xfe)](_0x34a136);return _0x1ac34f&&!this[_0x9bdb62(0x13f)][_0x9bdb62(0x1cd)](_0x1ac34f);})[_0xd5c3a4(0x179)]((_0x27f842,_0xad8469)=>{const _0x307414=_0xd5c3a4;_0x27f842[_0x307414(0x16d)]=this[_0x307414(0x1c7)][_0x307414(0x156)]+_0xad8469,this[_0x307414(0x1ec)](_0x27f842);}),this[_0xd5c3a4(0x1d6)]()?(this[_0xd5c3a4(0x14e)]=0x0,this[_0xd5c3a4(0x191)](!0x0),await this[_0xd5c3a4(0x16e)]()):(this[_0xd5c3a4(0x127)]=!0x1,this[_0xd5c3a4(0x185)]());}[_0x980336(0x181)](_0x149050,_0x54ddf){const _0x121700=_0x980336,_0x684bea=_0x54ddf&&_0x54ddf[_0x121700(0x16c)];if(_0x684bea&&_0x684bea[_0x121700(0x168)](_0x121700(0x1e7)))throw _0x54ddf;const _0x208f59=this[_0x121700(0x113)][_0x121700(0x1be)][_0x121700(0x1f0)](_0x1cc2c1);throw this[_0x121700(0x127)]=!0x0,_0x208f59[_0x121700(0x106)](),this[_0x121700(0x113)][_0x121700(0x14a)](_0x121700(0x183)),new _0x43e1c2(_0x149050,this[_0x121700(0x113)],_0x684bea?{'originalError':_0x684bea}:void 0x0);}[_0x980336(0x1ec)](_0x23afb7){const _0x323755=_0x980336;this[_0x323755(0x133)][_0x323755(0x1cd)](_0x23afb7)||(this[_0x323755(0x133)][_0x323755(0x1d7)](_0x23afb7),this[_0x323755(0x120)][_0x323755(0x119)](_0x23afb7),this[_0x323755(0x1d0)]||_0x323755(0x14f)==_0x23afb7[_0x323755(0x10f)]&&!_0x23afb7[_0x323755(0x155)]||this[_0x323755(0x110)]());}[_0x980336(0x191)](_0x27864a=!0x1){const _0x51be87=_0x980336;!_0x27864a&&this[_0x51be87(0x127)]||(this[_0x51be87(0x127)]=!0x0,clearTimeout(this[_0x51be87(0x158)]),this[_0x51be87(0x158)]=setTimeout(()=>{const _0x371dd7=_0x51be87;this[_0x371dd7(0x146)]()[_0x371dd7(0x19b)](_0x1ed71d=>{const _0x524e64=_0x371dd7;_0x1ed71d&&(this[_0x524e64(0x185)](),this[_0x524e64(0x127)]=!0x1);})[_0x371dd7(0x1e8)](_0x410233=>{const _0x160587=_0x371dd7;this[_0x160587(0x185)](),this[_0x160587(0x127)]=!0x1,function(_0x34f9bc){const _0x405e23=_0x160587;return _0x34f9bc[_0x405e23(0x16c)][_0x405e23(0x168)](_0x405e23(0x130))||_0x34f9bc[_0x405e23(0x16c)][_0x405e23(0x168)](_0x405e23(0x11b))||_0x34f9bc[_0x405e23(0x16c)][_0x405e23(0x168)](_0x405e23(0x17c));}(_0x410233)||this[_0x160587(0x181)](_0x410233[_0x160587(0x16c)],_0x410233);});},this[_0x51be87(0x14e)]));}[_0x980336(0x16e)](){return new Promise(_0x5d4d57=>{const _0x5d6249=_0x1b6a;this['on'](_0x5d6249(0x203),()=>{_0x5d4d57();});});}async[_0x980336(0x146)](){const _0x2c7100=_0x980336,_0x34bbe2=this[_0x2c7100(0x113)][_0x2c7100(0x1be)][_0x2c7100(0x1f0)](_0x20cfdf);if(this[_0x2c7100(0x1d8)]()&&(_0x34bbe2[_0x2c7100(0xff)](),this[_0x2c7100(0x1c3)]=!0x1),!this[_0x2c7100(0x1d6)]())return!0x0;const _0x244816=[...this[_0x2c7100(0x120)]];for(const _0xf0261e of _0x244816)_0xf0261e[_0x2c7100(0x17b)]=this[_0x2c7100(0x1c7)][_0x2c7100(0x1cf)][_0x2c7100(0x1ae)](_0xf0261e);const _0x18dcfc=this[_0x2c7100(0x150)][_0x2c7100(0x13d)](_0x244816),_0x27fda3=X++,_0x21ddec=this[_0x2c7100(0x104)](_0x244816),_0x5b97c0=await this[_0x2c7100(0x172)][_0x2c7100(0x10b)](_0x21ddec,_0x21ddec[_0x2c7100(0x16d)],_0x18dcfc);try{return await this[_0x2c7100(0x201)](_0x244816,_0x5b97c0,_0x27fda3);}catch(_0x2b84bc){return this[_0x2c7100(0x181)](_0x2c7100(0x186),_0x2b84bc);}}async[_0x980336(0x201)](_0xa7e71e,_0x424a0e,_0x5449e3){const _0x3c12c0=_0x980336;if(_0x3c12c0(0x1a1)in _0x424a0e)throw _0x424a0e[_0x3c12c0(0x1a1)];let _0x769a1e=!0x1;if(_0x424a0e[_0x3c12c0(0x1ab)]){_0x424a0e[_0x3c12c0(0x190)]&&(this[_0x3c12c0(0x19a)]=_0x424a0e[_0x3c12c0(0x190)]),this[_0x3c12c0(0x120)]=this[_0x3c12c0(0x120)][_0x3c12c0(0x13c)](_0x9d09f3=>!_0xa7e71e[_0x3c12c0(0x1c1)](_0x9d09f3));for(const _0xfdc4e9 of _0xa7e71e)_0xfdc4e9[_0x3c12c0(0x1c2)]=_0x3c12c0(0x151)in _0x424a0e&&_0x424a0e[_0x3c12c0(0x151)]||void 0x0;Z(_0xa7e71e,_0x424a0e[_0x3c12c0(0x156)]-_0xa7e71e[_0x3c12c0(0x134)]),this[_0x3c12c0(0x121)](_0xa7e71e);const _0x2950c0=_0xa7e71e[_0x3c12c0(0x13c)](_0x558686=>{const _0x496f25=_0x3c12c0;if(!_0x558686[_0x496f25(0x167)])return!0x1;const _0x522b70=this[_0x496f25(0xfe)](_0x558686);return _0x522b70&&!this[_0x496f25(0x13f)][_0x496f25(0x1cd)](_0x522b70);});Z(_0x2950c0,this[_0x3c12c0(0x1c7)][_0x3c12c0(0x156)]),this[_0x3c12c0(0x161)](_0x2950c0),_0x769a1e=!0x0,this[_0x3c12c0(0x14e)]=this[_0x3c12c0(0x1e0)];}else{const _0x385cd3=this[_0x3c12c0(0x184)](_0x424a0e[_0x3c12c0(0x111)],_0x424a0e[_0x3c12c0(0x1f3)])[_0x3c12c0(0x13c)](_0x550261=>_0x550261[_0x3c12c0(0x16d)]>=this[_0x3c12c0(0x1bb)]);_0x385cd3[_0x3c12c0(0x179)](_0x4b293e=>this[_0x3c12c0(0x1aa)](_0x4b293e)),this[_0x3c12c0(0x120)]=this[_0x3c12c0(0x120)][_0x3c12c0(0x13c)](_0x512d15=>!_0x512d15[_0x3c12c0(0x167)]||!this[_0x3c12c0(0x13f)][_0x3c12c0(0x1cd)](this[_0x3c12c0(0xfe)](_0x512d15))),this[_0x3c12c0(0x120)][_0x3c12c0(0x134)]&&Z(this[_0x3c12c0(0x120)],this[_0x3c12c0(0x120)][0x0][_0x3c12c0(0x16d)]),await this[_0x3c12c0(0x18d)](_0x385cd3),_0x769a1e=this[_0x3c12c0(0x1b3)](_0x385cd3,_0x424a0e[_0x3c12c0(0x156)],_0x424a0e[_0x3c12c0(0x190)]),this[_0x3c12c0(0x14e)]=Math[_0x3c12c0(0x196)](this[_0x3c12c0(0x14e)]/0x2);}return _0x769a1e?!this[_0x3c12c0(0x1d6)]()||(this[_0x3c12c0(0x191)](!0x0),!0x1):this[_0x3c12c0(0x181)](_0x3c12c0(0x132));}[_0x980336(0x1b3)](_0x4747e5,_0x1fcdae,_0x3067f6){const _0x57b2a2=_0x980336;try{const _0x51748e={'document':this[_0x57b2a2(0x1c7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x275622,operationsB:_0x1dc06c,originalOperations:_0x5e11dc}=_0x344f50(_0x4747e5,this[_0x57b2a2(0x120)],_0x51748e);Z(_0x275622,this[_0x57b2a2(0x1c7)][_0x57b2a2(0x156)]),Z(_0x1dc06c,_0x1fcdae);for(const _0x3e6ad3 of _0x275622){const _0x222252=_0x5e11dc[_0x57b2a2(0x1f0)](_0x3e6ad3);_0x3e6ad3[_0x57b2a2(0x18e)]=_0x222252?_0x222252[_0x57b2a2(0x18e)]:null;}_0x3067f6&&(this[_0x57b2a2(0x150)][_0x57b2a2(0x1ff)](_0x4747e5,_0x3067f6),this[_0x57b2a2(0x19a)]=_0x3067f6),this[_0x57b2a2(0x120)]=[..._0x1dc06c],this[_0x57b2a2(0x161)](_0x275622),this[_0x57b2a2(0x121)](_0x4747e5);}catch(_0x412e79){return console[_0x57b2a2(0x1a1)](_0x412e79),!0x1;}return!0x0;}[_0x980336(0x161)](_0x44993c,_0x20bb2d=!0x1){const _0x46da81=_0x980336;this[_0x46da81(0x113)][_0x46da81(0x166)][_0x46da81(0x1c6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x215b28=>{const _0x43da95=_0x46da81;for(const _0x5819d8 of _0x44993c)this[_0x43da95(0x133)][_0x43da95(0x1d7)](_0x5819d8),this[_0x43da95(0x1aa)](_0x5819d8),_0x215b28[_0x43da95(0x10e)][_0x43da95(0x157)](_0x5819d8),this[_0x43da95(0x113)][_0x43da95(0x166)][_0x43da95(0x169)](_0x5819d8);});}[_0x980336(0x1aa)](_0x1cc096){const _0x279e0c=_0x980336,_0x480a23=this[_0x279e0c(0xfe)](_0x1cc096);_0x480a23&&this[_0x279e0c(0x13f)][_0x279e0c(0x1d7)](_0x480a23);}[_0x980336(0xfe)](_0x50f92a){const _0x46a2d2=_0x980336;let _0xd5b227,_0x4f581f;switch(_0x50f92a[_0x46a2d2(0x10f)]){case _0x46a2d2(0x123):_0xd5b227=_0x50f92a[_0x46a2d2(0x1ac)][_0x46a2d2(0x109)];break;case _0x46a2d2(0x14f):if(_0x4f581f=_0x50f92a[_0x46a2d2(0x100)],!_0x4f581f)return null;_0xd5b227=_0x4f581f[_0x46a2d2(0x109)];break;case _0x46a2d2(0x11e):_0xd5b227=_0x50f92a[_0x46a2d2(0x109)];break;case _0x46a2d2(0x15d):_0xd5b227=_0x50f92a[_0x46a2d2(0x1fd)];break;case _0x46a2d2(0x1f9):_0xd5b227=_0x50f92a[_0x46a2d2(0x170)][_0x46a2d2(0x109)];break;default:return null;}return _0xd5b227[_0x46a2d2(0x16f)];}[_0x980336(0x121)](_0x46f43b){const _0x48c634=_0x980336;_0x46f43b[_0x48c634(0x179)](_0x3a6bc6=>{const _0x5e4422=_0x48c634,_0x418581=_0x3a6bc6[_0x5e4422(0x13b)]();_0x418581[_0x5e4422(0x18e)]=_0x3a6bc6[_0x5e4422(0x18e)],_0x418581[_0x5e4422(0x167)]=!!_0x3a6bc6[_0x5e4422(0x167)],_0x418581[_0x5e4422(0x1c2)]=_0x3a6bc6[_0x5e4422(0x1c2)],_0x418581[_0x5e4422(0x16d)]+=this[_0x5e4422(0x1d5)],_0x3a6bc6[_0x5e4422(0x117)]&&this[_0x5e4422(0x115)][_0x5e4422(0x1d7)](_0x418581),this[_0x5e4422(0x182)][_0x5e4422(0x157)](_0x418581);});}[_0x980336(0x138)](_0x4164cb){const _0x5bacfa=_0x980336,_0x5b3951=this[_0x5bacfa(0x113)][_0x5bacfa(0x1be)][_0x5bacfa(0x1f0)](_0x5bacfa(0x1cc)),_0x32b1b6=this[_0x5bacfa(0x113)][_0x5bacfa(0x193)];_0x4164cb||(_0x4164cb=_0x134411(_0x32b1b6,_0x5bacfa(0x18a))),_0x5b3951[_0x5bacfa(0x175)](_0x4164cb,{'title':_0x134411(_0x32b1b6,_0x5bacfa(0x1f7)),'namespace':_0x5bacfa(0x14b)}),this[_0x5bacfa(0x200)]=!0x0,clearTimeout(this[_0x5bacfa(0x158)]),this[_0x5bacfa(0x120)]=[],this[_0x5bacfa(0x113)][_0x5bacfa(0x1be)][_0x5bacfa(0x1f0)](_0x1cc2c1)[_0x5bacfa(0x106)]();}[_0x980336(0x110)](){const _0x3fa15a=_0x980336;this[_0x3fa15a(0x1d0)]||(this[_0x3fa15a(0x1d0)]=this[_0x3fa15a(0x113)][_0x3fa15a(0x1be)][_0x3fa15a(0x1f0)](_0x5e3c28)[_0x3fa15a(0x1d7)](_0x134411(this[_0x3fa15a(0x113)][_0x3fa15a(0x193)],_0x3fa15a(0x118))));}[_0x980336(0x185)](){const _0xef4621=_0x980336;this[_0xef4621(0x1d0)]&&(this[_0xef4621(0x113)][_0xef4621(0x1be)][_0xef4621(0x1f0)](_0x5e3c28)[_0xef4621(0x147)](this[_0xef4621(0x1d0)]),this[_0xef4621(0x1d0)]=null);}[_0x980336(0x104)](_0x2c6e0f){const _0x37e311=_0x980336,_0x34514a=_0x2c6e0f[_0x37e311(0x142)](_0x51730f=>_0x51730f[_0x37e311(0x1a5)]());return this[_0x37e311(0x129)][_0x37e311(0x1e9)](_0x34514a);}[_0x980336(0x184)](_0x575b37,_0xde39e1){const _0x1a412c=_0x980336;return this[_0x1a412c(0x129)][_0x1a412c(0x1f5)](_0x575b37)[_0x1a412c(0x142)]((_0x5102c5,_0x136ea1)=>{const _0x582b4f=_0x1a412c,_0xa94831=_0x582b4f(0x128)==_0xde39e1[_0x136ea1][_0x582b4f(0x10f)];if(_0x582b4f(0x1ca)==_0x5102c5[_0x582b4f(0x1a0)]){const _0x187f7c=_0x5102c5[_0x582b4f(0x1ac)][_0x582b4f(0x109)];!this[_0x582b4f(0x1c7)][_0x582b4f(0x1b6)](_0x187f7c)&&(this[_0x582b4f(0x1c7)][_0x582b4f(0x15c)](_0x582b4f(0x165),_0x187f7c)[_0x582b4f(0x160)]=!0x1);}const _0x65a463=_0x4fa64a[_0x582b4f(0x153)](_0x5102c5,this[_0x582b4f(0x1c7)]);return _0x65a463[_0x582b4f(0x17b)]=_0x5102c5[_0x582b4f(0x17b)],_0x65a463[_0x582b4f(0x167)]=_0xa94831,_0x65a463[_0x582b4f(0x18e)]=_0xa94831?null:_0xde39e1[_0x136ea1][_0x582b4f(0x1a3)],_0x65a463[_0x582b4f(0x117)]=_0x582b4f(0x189)===_0xde39e1[_0x136ea1][_0x582b4f(0x10f)],_0x65a463[_0x582b4f(0x1c2)]=_0xde39e1[_0x136ea1][_0x582b4f(0x1c2)],_0x65a463;});}[_0x980336(0x136)](){const _0x4cc0ce=_0x980336;this[_0x4cc0ce(0x1c3)]=!0x0,this[_0x4cc0ce(0x1d8)]()?this[_0x4cc0ce(0x191)]():this[_0x4cc0ce(0x1c3)]=!0x1;}[_0x980336(0x1d8)](){const _0x4ed5db=_0x980336,_0x5cd150=this[_0x4ed5db(0x113)][_0x4ed5db(0x1be)][_0x4ed5db(0x1f0)](_0x358490)[_0x4ed5db(0x1bd)][_0x4ed5db(0x1f0)](this[_0x4ed5db(0x1c0)]);return!this[_0x4ed5db(0x113)][_0x4ed5db(0x17d)]&&!!_0x5cd150&&_0x5cd150[_0x4ed5db(0x134)]>0x1&&this[_0x4ed5db(0x1c3)];}[_0x980336(0x1d6)](){const _0x2ea5ee=_0x980336;return this[_0x2ea5ee(0x120)][_0x2ea5ee(0x134)]>0x0||this[_0x2ea5ee(0x1d8)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x146232,_0x3ef52e){const _0x117c05=_0x980336;for(const _0x14d068 of _0x146232)_0x14d068[_0x117c05(0x16d)]=_0x3ef52e++;}function _0x4dcb(){const _0x18268e=['document:write','batch','type','_setPendingAction','data','finally','editor','differ','_disconnectionOperations','reset','_isDisconnection','PENDING_ACTION_SENDING_DATA','push','setPermissions','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:range','_disconnectService','addRootAttribute','addToReconnectionStack','_bufferedOperations','_updateServerHistory','520502jlTfNF','insert','state','apply','disableReadOnlyMode','_isPendingUpdate','init','_compressor','createPositionAt','realtimecollaborationclient-init-service-internal-error','mySessionId','addUser','_ignoredOperations','realtimecollaborationclient-init-connection-failed','cloud-services-internal-error:\x20Not\x20connected.','rtc-offline','realtimecollaborationclient-handleserverresponse','_knownOperations','length','rootsAttributes','_refreshUserSelectionMarkers','keys','_handleReconnectionError','parse','1160pnvnpA','clone','filter','getIdOfTheLastOperation','permissions','_knownRootNames','getUser','collaboration-missing-channelid','map','createPositionFromPath','entries','pluginName','_sendBufferedOperations','remove','4ggGeXy','cloudServices.bundleVersion','enableReadOnlyMode','real-time-collaboration','realtimecollaborationclient-init-session-connection-error','return','_currentBufferDelay','marker','_operationIdentifier','lastOperationAcceptedAt','lastSyncVersion','fromJSON','_setUpDataInit','affectsData','version','addOperation','_sendBufferedOperationsDelayId','CommentsOnly','_loadRoot','set','createRoot','addRoot','_initThrowingOnDataSet','unregister','_isAttached','_applyOperationsSet','4429880BhZBQN','_isEditingAllowed','disconnected','$root','model','_isInit','startsWith','applyOperation','define','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','message','baseVersion','_waitUntilSynced','rootName','targetPosition','2332488jdekmS','_service','size','rtc-destroyed','showWarning','change:_isEditingAllowed','listenTo','connected','forEach','getMany','wasUndone','cloud-services-internal-error:\x20Request\x20timeout.','isReadOnly','code','3144597xihlNS','isEnabled','_crash','serverHistory','realtimecollaborationclient-error','_decompressOperations','_clearPendingAction','realtimecollaborationclient-sendbufferedoperations','_operationToId','_isLoaded','cs:removeUser','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','initData','isOfficialPlugin','_fetchMissingUsers','_authorId','multi-root-editor-root-attributes-no-root','lastOperationId','_sendBufferedOperationsDelayed','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.','locale','ready','sessionId','round','operationsReceived','sessionAdd:','stopListening','_lastSyncedOperationId','then','directChange','view','getOperationAuthor','destroy','__className','error','18HwUAJg','userId','RealTimeCollaborationClient','toJSON','404','realtimecollaborationclient-init-service-incorrect-server-operation','editing','string','_addKnownRoot','wereChangesApplied','position','collaboration.channelId','isUndoneOperation','851858zaAlGP','isDocumentOperation','_connectService','document','_handleExternalOperations','requires','Permissions','getRoot','4RgTptI','getOperations','end','high','_lastServerVersion','selection','channelSessions','plugins','getConnectedSessions','_channelId','includes','createdAt','_hasSelectionChanged','409','_bufferRootLoad','enqueueChange','_document','slice','stop','InsertOperation','connect','Notification','has','markers','history','_pendingAction','_connectAfterSessionHasBeenFlushed','_initSessionsHandling','loadRoot','suppressErrorInCollaboration','_offset','_shouldSendUpdate','add','_shouldSendSelectionUpdate','lastDocumentSession','config','isPremiumPlugin','reconnection:\x20flushed\x20session','_handleInitialConnectionData','554820HbWiME','start','_baseBufferDelay','attributes','CollaborativeEditingService','reconnect','off','bind','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient','catch','compress','_handleSendingSelectionMarkers','realtimecollaborationclient-init-document-already-initialized','_saveOperationInBuffer','path','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','get','_isConnected','from','metadata','getDocumentDetails','decompress','register','Synchronization\x20issue','removeFromReconnectionStack','move','createRange','_handleReceivedOperations','currentDocumentSession','affectedSelectable','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setIdForTheLastOperation','_hasSynchronizationProblem','_handleServerResponse','offset','change:_isPendingUpdate','105138JAPFNj','_getAffectedRoot','createUserMarkerOperations','newRange','roots','_getOperationsFromInitData','change:hasDomSelection','_compressOperations','cloudDocumentVersion','disconnect','sessionCreatedAt','connection','root','_handleReconnectionResponse','sendOperations','collaboration'];_0x4dcb=function(){return _0x18268e;};return _0x4dcb();}class tt{[_0x980336(0x12e)];[_0x980336(0x187)];constructor(_0x46bb96){const _0xb7719d=_0x980336;this[_0xb7719d(0x12e)]=_0x46bb96,this[_0xb7719d(0x187)]=new WeakMap();}[_0x980336(0x13d)](_0x4f862e){const _0xdd013c=_0x980336;let _0x227fe6=_0x4f862e[_0xdd013c(0x134)];for(;_0x227fe6--;){const _0x24e58c=_0x4f862e[_0x227fe6];if(!this[_0xdd013c(0x12e)][_0xdd013c(0x1cd)](_0x24e58c)){if(!this[_0xdd013c(0x187)][_0xdd013c(0x1cd)](_0x24e58c)){const _0x3c4752=_0x4c34ba()[_0xdd013c(0x1c8)](0x1,0x12);this[_0xdd013c(0x187)][_0xdd013c(0x15b)](_0x24e58c,_0x3c4752);}return this[_0xdd013c(0x187)][_0xdd013c(0x1f0)](_0x24e58c);}}}[_0x980336(0x1ff)](_0x26e234,_0x894f3c){const _0x2e86ae=_0x980336;if(!_0x894f3c)return;let _0x3220ae=_0x26e234[_0x2e86ae(0x134)];for(;_0x3220ae--;){const _0x5e3d30=_0x26e234[_0x3220ae];this[_0x2e86ae(0x12e)][_0x2e86ae(0x1cd)](_0x5e3d30)||this[_0x2e86ae(0x187)][_0x2e86ae(0x15b)](_0x5e3d30,_0x894f3c);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5f41(_0x247cf0,_0x221ce4){const _0x21997b=_0x2199();return _0x5f41=function(_0x5f41af,_0x2509b4){_0x5f41af=_0x5f41af-0xc0;let _0x1f1f73=_0x21997b[_0x5f41af];return _0x1f1f73;},_0x5f41(_0x247cf0,_0x221ce4);}const _0x486c7d=_0x5f41;(function(_0x5392df,_0x312dcf){const _0x592d36=_0x5f41,_0x3e58ba=_0x5392df();while(!![]){try{const _0x257981=-parseInt(_0x592d36(0xf5))/0x1*(parseInt(_0x592d36(0xed))/0x2)+-parseInt(_0x592d36(0xf3))/0x3+parseInt(_0x592d36(0xc0))/0x4+-parseInt(_0x592d36(0xe2))/0x5*(-parseInt(_0x592d36(0xd4))/0x6)+parseInt(_0x592d36(0xca))/0x7+parseInt(_0x592d36(0xec))/0x8+parseInt(_0x592d36(0xe7))/0x9*(parseInt(_0x592d36(0xc6))/0xa);if(_0x257981===_0x312dcf)break;else _0x3e58ba['push'](_0x3e58ba['shift']());}catch(_0x2aae74){_0x3e58ba['push'](_0x3e58ba['shift']());}}}(_0x2199,0x4f260));import{ContextPlugin as _0x5e3f13}from'ckeditor5/src/core.js';import{Collection as _0x4515e1,CKEditorError as _0x20de7b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2627e2}from'./websocketgateway.js';import{Users as _0x48a61a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2199(){const _0x22d31b=['Sessions','isOfficialPlugin','get','sessionAdd:','register','1347945WGwbIg','fire','4pzTOBr','_handleSessionAdd','assign','_users','role','clear','mySessionId','requires','_registeredSessions','745816MLnvKM','getUserBySessionId','channelConnectedUsers','orderNumber','sessions-register-already-registered','sessions-unregister-not-exist','60010vgMpzU','state','defineMe','forEach','1094254NXWLhr','pluginName','init','sessionId','connection','getUser','set','_createUser','size','add','6LGYLCr','_handleSessionRemove','values','isPremiumPlugin','delete','_uniqueUsersCount','context','remove','isMe','stopListening','change:state','getUserRole','connected','channelSessions','524465pjIjrY','listenTo','allConnectedUsers','getUserSessions','plugins','873wqFZBT','has','addUser','unregister','user','1364872sphuTA','213434KstDCg'];_0x2199=function(){return _0x22d31b;};return _0x2199();}export class Sessions extends _0x5e3f13{[_0x486c7d(0xe1)];[_0x486c7d(0xc2)];[_0x486c7d(0xe4)];[_0x486c7d(0xfd)];[_0x486c7d(0xd9)];[_0x486c7d(0xf8)];static get[_0x486c7d(0xcb)](){const _0x4d7970=_0x486c7d;return _0x4d7970(0xee);}static get[_0x486c7d(0xef)](){return!0x0;}static get[_0x486c7d(0xd7)](){return!0x0;}static get[_0x486c7d(0xfc)](){return[_0x2627e2,_0x48a61a];}constructor(_0x329208){const _0x49fc37=_0x486c7d;super(_0x329208),this[_0x49fc37(0xe1)]=new Map(),this[_0x49fc37(0xc2)]=new Map(),this[_0x49fc37(0xe4)]=new _0x4515e1(),this[_0x49fc37(0xfd)]=new Map(),this[_0x49fc37(0xd9)]=0x0,this[_0x49fc37(0xf8)]=this[_0x49fc37(0xda)][_0x49fc37(0xe6)][_0x49fc37(0xf0)](_0x48a61a);}[_0x486c7d(0xcc)](){const _0x30ad82=_0x486c7d,_0x455c94=this[_0x30ad82(0xda)][_0x30ad82(0xe6)][_0x30ad82(0xf0)](_0x2627e2);this[_0x30ad82(0xe3)](_0x455c94,_0x30ad82(0xde),(_0x5b7178,_0x313cba,_0x506e95)=>{const _0x1b4a02=_0x30ad82;if(_0x1b4a02(0xe0)!==_0x506e95)this[_0x1b4a02(0xe1)][_0x1b4a02(0xc9)](_0x3c1239=>_0x3c1239[_0x1b4a02(0xfa)]()),this[_0x1b4a02(0xc2)][_0x1b4a02(0xc9)](_0x193f10=>_0x193f10[_0x1b4a02(0xfa)]()),this[_0x1b4a02(0xe4)][_0x1b4a02(0xfa)]();else{for(const [_0x536940,_0xef3358]of this[_0x1b4a02(0xfd)])for(const _0x24b999 of _0xef3358)this[_0x1b4a02(0xf6)](_0x536940,_0x24b999);}}),this[_0x30ad82(0xd1)](_0x455c94[_0x30ad82(0xce)]['me'],!0x0);}[_0x486c7d(0xf2)](_0x3d23d4,_0x2dea95){const _0x4d51e6=_0x486c7d;if(this[_0x4d51e6(0xfd)][_0x4d51e6(0xe8)](_0x3d23d4))throw new _0x20de7b(_0x4d51e6(0xc4),null,{'channelId':_0x3d23d4});this[_0x4d51e6(0xfd)][_0x4d51e6(0xd0)](_0x3d23d4,_0x2dea95),this[_0x4d51e6(0xe1)][_0x4d51e6(0xd0)](_0x3d23d4,new _0x4515e1()),this[_0x4d51e6(0xc2)][_0x4d51e6(0xd0)](_0x3d23d4,new _0x4515e1()),this[_0x4d51e6(0xe3)](_0x2dea95,_0x4d51e6(0xd3),(_0x2f990b,_0x46baba)=>this[_0x4d51e6(0xf6)](_0x3d23d4,_0x46baba)),this[_0x4d51e6(0xe3)](_0x2dea95,_0x4d51e6(0xdb),(_0x37f094,_0x459e9e)=>this[_0x4d51e6(0xd5)](_0x3d23d4,_0x459e9e));for(const _0x4cadd8 of _0x2dea95)this[_0x4d51e6(0xf6)](_0x3d23d4,_0x4cadd8);}[_0x486c7d(0xea)](_0xcd4eff){const _0x8c039=_0x486c7d;if(!this[_0x8c039(0xfd)][_0x8c039(0xe8)](_0xcd4eff))throw new _0x20de7b(_0x8c039(0xc5),null,{'channelId':_0xcd4eff});const _0x43501e=this[_0x8c039(0xfd)][_0x8c039(0xf0)](_0xcd4eff);this[_0x8c039(0xdd)](_0x43501e);for(const _0x21fc8c of _0x43501e)_0x8c039(0xe0)===this[_0x8c039(0xda)][_0x8c039(0xe6)][_0x8c039(0xf0)](_0x2627e2)[_0x8c039(0xc7)]&&this[_0x8c039(0xd5)](_0xcd4eff,_0x21fc8c);this[_0x8c039(0xfd)][_0x8c039(0xd8)](_0xcd4eff),this[_0x8c039(0xe1)][_0x8c039(0xd8)](_0xcd4eff),this[_0x8c039(0xc2)][_0x8c039(0xd8)](_0xcd4eff);}get[_0x486c7d(0xfb)](){const _0x112ac7=_0x486c7d;return this[_0x112ac7(0xda)][_0x112ac7(0xe6)][_0x112ac7(0xf0)](_0x2627e2)[_0x112ac7(0xce)][_0x112ac7(0xcd)];}[_0x486c7d(0xc1)](_0x40cf7e){const _0x3a0c24=_0x486c7d;for(const _0x38f855 of this[_0x3a0c24(0xe1)][_0x3a0c24(0xd6)]())for(const _0xa8998f of _0x38f855)if(_0xa8998f['id']===_0x40cf7e)return _0xa8998f[_0x3a0c24(0xeb)];}[_0x486c7d(0xe5)](_0x25931c,_0x42f923){const _0x22d6f2=_0x486c7d,_0x57bd43=_0x42f923?[this[_0x22d6f2(0xe1)][_0x22d6f2(0xf0)](_0x42f923)]:this[_0x22d6f2(0xe1)][_0x22d6f2(0xd6)](),_0x241b74=new Set();for(const _0x58a985 of _0x57bd43)for(const _0x44f20f of _0x58a985)_0x44f20f[_0x22d6f2(0xeb)]['id']===_0x25931c['id']&&_0x241b74[_0x22d6f2(0xd3)](_0x44f20f['id']);return _0x241b74;}[_0x486c7d(0xdf)](_0x18bd88){const _0xa6e985=_0x486c7d;for(const _0x4a3670 of this[_0xa6e985(0xe1)][_0xa6e985(0xd6)]())for(const _0x374ba3 of _0x4a3670)if(_0x374ba3[_0xa6e985(0xeb)]===_0x18bd88)return _0x374ba3[_0xa6e985(0xf9)];}[_0x486c7d(0xf6)](_0x5c6f0d,_0x4ae146){const _0x105d91=_0x486c7d;if(_0x105d91(0xe0)!==this[_0x105d91(0xda)][_0x105d91(0xe6)][_0x105d91(0xf0)](_0x2627e2)[_0x105d91(0xc7)])return;const _0x8e8f57=_0x4ae146[_0x105d91(0xeb)],_0x2f315c=this[_0x105d91(0xf8)][_0x105d91(0xcf)](_0x8e8f57['id'])||this[_0x105d91(0xd1)](_0x8e8f57),_0x31bc49=Object[_0x105d91(0xf7)]({},_0x4ae146,{'user':_0x2f315c});this[_0x105d91(0xe1)][_0x105d91(0xf0)](_0x5c6f0d)[_0x105d91(0xd3)](_0x31bc49);const _0x182321=this[_0x105d91(0xc2)][_0x105d91(0xf0)](_0x5c6f0d);_0x182321[_0x105d91(0xe8)](_0x2f315c['id'])||_0x182321[_0x105d91(0xd3)](_0x2f315c),this[_0x105d91(0xe4)][_0x105d91(0xe8)](_0x2f315c['id'])||this[_0x105d91(0xe4)][_0x105d91(0xd3)](_0x2f315c,_0x2f315c[_0x105d91(0xdc)]?0x0:void 0x0),this[_0x105d91(0xf4)](_0x105d91(0xf1)+_0x5c6f0d,{'channelId':_0x5c6f0d,'session':_0x31bc49});}[_0x486c7d(0xd5)](_0x2c3f87,_0x50e86e){const _0x5a89d0=_0x486c7d;if(_0x5a89d0(0xe0)!==this[_0x5a89d0(0xda)][_0x5a89d0(0xe6)][_0x5a89d0(0xf0)](_0x2627e2)[_0x5a89d0(0xc7)])return;const _0x38a3dd=this[_0x5a89d0(0xc2)][_0x5a89d0(0xf0)](_0x2c3f87),_0x3b91b2=_0x50e86e[_0x5a89d0(0xeb)];_0x3b91b2['id']&&(this[_0x5a89d0(0xe1)][_0x5a89d0(0xf0)](_0x2c3f87)[_0x5a89d0(0xdb)](_0x50e86e['id']),_0x38a3dd[_0x5a89d0(0xe8)](_0x3b91b2['id'])&&!this[_0x5a89d0(0xe5)](_0x3b91b2,_0x2c3f87)[_0x5a89d0(0xd2)]&&_0x38a3dd[_0x5a89d0(0xdb)](_0x3b91b2['id']),this[_0x5a89d0(0xe4)][_0x5a89d0(0xf0)](_0x3b91b2['id'])&&!this[_0x5a89d0(0xe5)](_0x3b91b2)[_0x5a89d0(0xd2)]&&this[_0x5a89d0(0xe4)][_0x5a89d0(0xdb)](_0x3b91b2['id']));}[_0x486c7d(0xd1)](_0x559f1f,_0x540713){const _0x2aca8e=_0x486c7d,_0x22f335=this[_0x2aca8e(0xf8)][_0x2aca8e(0xe9)](_0x559f1f);return _0x540713&&this[_0x2aca8e(0xf8)][_0x2aca8e(0xc8)](_0x559f1f['id']),_0x22f335[_0x2aca8e(0xc3)]=this[_0x2aca8e(0xd9)]++,_0x22f335;}}
23
+ const _0x1d261a=_0x4330;(function(_0x175f90,_0x4f9145){const _0x2ecae4=_0x4330,_0x40685e=_0x175f90();while(!![]){try{const _0x4bf420=parseInt(_0x2ecae4(0x189))/0x1*(-parseInt(_0x2ecae4(0x1af))/0x2)+parseInt(_0x2ecae4(0x1c0))/0x3*(-parseInt(_0x2ecae4(0x18a))/0x4)+-parseInt(_0x2ecae4(0x1a3))/0x5*(parseInt(_0x2ecae4(0x1a1))/0x6)+parseInt(_0x2ecae4(0x1b2))/0x7+parseInt(_0x2ecae4(0x19e))/0x8+-parseInt(_0x2ecae4(0x1c2))/0x9*(parseInt(_0x2ecae4(0x192))/0xa)+parseInt(_0x2ecae4(0x1bf))/0xb;if(_0x4bf420===_0x4f9145)break;else _0x40685e['push'](_0x40685e['shift']());}catch(_0x201909){_0x40685e['push'](_0x40685e['shift']());}}}(_0x3cd7,0x9bbd8));import{ContextPlugin as _0x4222f8}from'ckeditor5/src/core.js';import{Collection as _0x407ce9,CKEditorError as _0x2ea54d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4cca1d}from'./websocketgateway.js';import{Users as _0x227e9a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3cd7(){const _0x56b93b=['_uniqueUsersCount','mySessionId','596390bPbbFg','remove','allConnectedUsers','role','change:state','Sessions','unregister','_handleSessionAdd','sessionAdd:','sessionId','sessions-register-already-registered','clear','8107800aTKVKj','_users','forEach','54XjRQOl','pluginName','182885qoOWNa','context','addUser','isOfficialPlugin','defineMe','values','assign','state','has','delete','listenTo','sessions-unregister-not-exist','426rMCKKF','getUserRole','_createUser','979685dSiQOV','plugins','size','get','register','_registeredSessions','requires','init','getUserBySessionId','fire','getUserSessions','channelSessions','_handleSessionRemove','10409916gEwauV','696XaPEZb','isPremiumPlugin','27dXpRkW','set','user','stopListening','add','getUser','964mWPFVP','12904FtzRyA','isMe','channelConnectedUsers','connected','connection','orderNumber'];_0x3cd7=function(){return _0x56b93b;};return _0x3cd7();}function _0x4330(_0x5820e5,_0x34ca05){const _0x3cd705=_0x3cd7();return _0x4330=function(_0x4330eb,_0xbb1e30){_0x4330eb=_0x4330eb-0x186;let _0x63f835=_0x3cd705[_0x4330eb];return _0x63f835;},_0x4330(_0x5820e5,_0x34ca05);}export class Sessions extends _0x4222f8{[_0x1d261a(0x1bd)];[_0x1d261a(0x18c)];[_0x1d261a(0x194)];[_0x1d261a(0x1b7)];[_0x1d261a(0x190)];[_0x1d261a(0x19f)];static get[_0x1d261a(0x1a2)](){const _0x446a7d=_0x1d261a;return _0x446a7d(0x197);}static get[_0x1d261a(0x1a6)](){return!0x0;}static get[_0x1d261a(0x1c1)](){return!0x0;}static get[_0x1d261a(0x1b8)](){return[_0x4cca1d,_0x227e9a];}constructor(_0x4673d8){const _0x4c4b72=_0x1d261a;super(_0x4673d8),this[_0x4c4b72(0x1bd)]=new Map(),this[_0x4c4b72(0x18c)]=new Map(),this[_0x4c4b72(0x194)]=new _0x407ce9(),this[_0x4c4b72(0x1b7)]=new Map(),this[_0x4c4b72(0x190)]=0x0,this[_0x4c4b72(0x19f)]=this[_0x4c4b72(0x1a4)][_0x4c4b72(0x1b3)][_0x4c4b72(0x1b5)](_0x227e9a);}[_0x1d261a(0x1b9)](){const _0x31a8aa=_0x1d261a,_0x162691=this[_0x31a8aa(0x1a4)][_0x31a8aa(0x1b3)][_0x31a8aa(0x1b5)](_0x4cca1d);this[_0x31a8aa(0x1ad)](_0x162691,_0x31a8aa(0x196),(_0x4c08eb,_0x1947ca,_0x5d5ef8)=>{const _0x58a37b=_0x31a8aa;if(_0x58a37b(0x18d)!==_0x5d5ef8)this[_0x58a37b(0x1bd)][_0x58a37b(0x1a0)](_0x1ccfbd=>_0x1ccfbd[_0x58a37b(0x19d)]()),this[_0x58a37b(0x18c)][_0x58a37b(0x1a0)](_0x18bc1d=>_0x18bc1d[_0x58a37b(0x19d)]()),this[_0x58a37b(0x194)][_0x58a37b(0x19d)]();else{for(const [_0x35134d,_0xef37eb]of this[_0x58a37b(0x1b7)])for(const _0x352e67 of _0xef37eb)this[_0x58a37b(0x199)](_0x35134d,_0x352e67);}}),this[_0x31a8aa(0x1b1)](_0x162691[_0x31a8aa(0x18e)]['me'],!0x0);}[_0x1d261a(0x1b6)](_0x2231d9,_0x49afb1){const _0x2e1626=_0x1d261a;if(this[_0x2e1626(0x1b7)][_0x2e1626(0x1ab)](_0x2231d9))throw new _0x2ea54d(_0x2e1626(0x19c),null,{'channelId':_0x2231d9});this[_0x2e1626(0x1b7)][_0x2e1626(0x1c3)](_0x2231d9,_0x49afb1),this[_0x2e1626(0x1bd)][_0x2e1626(0x1c3)](_0x2231d9,new _0x407ce9()),this[_0x2e1626(0x18c)][_0x2e1626(0x1c3)](_0x2231d9,new _0x407ce9()),this[_0x2e1626(0x1ad)](_0x49afb1,_0x2e1626(0x187),(_0x26a86c,_0x815f87)=>this[_0x2e1626(0x199)](_0x2231d9,_0x815f87)),this[_0x2e1626(0x1ad)](_0x49afb1,_0x2e1626(0x193),(_0x33cc29,_0x330c43)=>this[_0x2e1626(0x1be)](_0x2231d9,_0x330c43));for(const _0x31150d of _0x49afb1)this[_0x2e1626(0x199)](_0x2231d9,_0x31150d);}[_0x1d261a(0x198)](_0x3f9b86){const _0x163de0=_0x1d261a;if(!this[_0x163de0(0x1b7)][_0x163de0(0x1ab)](_0x3f9b86))throw new _0x2ea54d(_0x163de0(0x1ae),null,{'channelId':_0x3f9b86});const _0x26dab0=this[_0x163de0(0x1b7)][_0x163de0(0x1b5)](_0x3f9b86);this[_0x163de0(0x186)](_0x26dab0);for(const _0x19e0e3 of _0x26dab0)_0x163de0(0x18d)===this[_0x163de0(0x1a4)][_0x163de0(0x1b3)][_0x163de0(0x1b5)](_0x4cca1d)[_0x163de0(0x1aa)]&&this[_0x163de0(0x1be)](_0x3f9b86,_0x19e0e3);this[_0x163de0(0x1b7)][_0x163de0(0x1ac)](_0x3f9b86),this[_0x163de0(0x1bd)][_0x163de0(0x1ac)](_0x3f9b86),this[_0x163de0(0x18c)][_0x163de0(0x1ac)](_0x3f9b86);}get[_0x1d261a(0x191)](){const _0x30d868=_0x1d261a;return this[_0x30d868(0x1a4)][_0x30d868(0x1b3)][_0x30d868(0x1b5)](_0x4cca1d)[_0x30d868(0x18e)][_0x30d868(0x19b)];}[_0x1d261a(0x1ba)](_0x1f5326){const _0x5cf755=_0x1d261a;for(const _0x21eee5 of this[_0x5cf755(0x1bd)][_0x5cf755(0x1a8)]())for(const _0x406a47 of _0x21eee5)if(_0x406a47['id']===_0x1f5326)return _0x406a47[_0x5cf755(0x1c4)];}[_0x1d261a(0x1bc)](_0x47c4dd,_0xeb59ca){const _0x1d3a81=_0x1d261a,_0x355cff=_0xeb59ca?[this[_0x1d3a81(0x1bd)][_0x1d3a81(0x1b5)](_0xeb59ca)]:this[_0x1d3a81(0x1bd)][_0x1d3a81(0x1a8)](),_0x1257a7=new Set();for(const _0x3def22 of _0x355cff)for(const _0x339236 of _0x3def22)_0x339236[_0x1d3a81(0x1c4)]['id']===_0x47c4dd['id']&&_0x1257a7[_0x1d3a81(0x187)](_0x339236['id']);return _0x1257a7;}[_0x1d261a(0x1b0)](_0x5e76af){const _0xecab8a=_0x1d261a;for(const _0x65a57b of this[_0xecab8a(0x1bd)][_0xecab8a(0x1a8)]())for(const _0x38e31b of _0x65a57b)if(_0x38e31b[_0xecab8a(0x1c4)]===_0x5e76af)return _0x38e31b[_0xecab8a(0x195)];}[_0x1d261a(0x199)](_0x4d1e9e,_0x39b409){const _0x1ad166=_0x1d261a;if(_0x1ad166(0x18d)!==this[_0x1ad166(0x1a4)][_0x1ad166(0x1b3)][_0x1ad166(0x1b5)](_0x4cca1d)[_0x1ad166(0x1aa)])return;const _0x1826c3=_0x39b409[_0x1ad166(0x1c4)],_0x16cee9=this[_0x1ad166(0x19f)][_0x1ad166(0x188)](_0x1826c3['id'])||this[_0x1ad166(0x1b1)](_0x1826c3),_0x40ee2d=Object[_0x1ad166(0x1a9)]({},_0x39b409,{'user':_0x16cee9});this[_0x1ad166(0x1bd)][_0x1ad166(0x1b5)](_0x4d1e9e)[_0x1ad166(0x187)](_0x40ee2d);const _0x12c3d4=this[_0x1ad166(0x18c)][_0x1ad166(0x1b5)](_0x4d1e9e);_0x12c3d4[_0x1ad166(0x1ab)](_0x16cee9['id'])||_0x12c3d4[_0x1ad166(0x187)](_0x16cee9),this[_0x1ad166(0x194)][_0x1ad166(0x1ab)](_0x16cee9['id'])||this[_0x1ad166(0x194)][_0x1ad166(0x187)](_0x16cee9,_0x16cee9[_0x1ad166(0x18b)]?0x0:void 0x0),this[_0x1ad166(0x1bb)](_0x1ad166(0x19a)+_0x4d1e9e,{'channelId':_0x4d1e9e,'session':_0x40ee2d});}[_0x1d261a(0x1be)](_0x89a429,_0x4dda01){const _0x39a203=_0x1d261a;if(_0x39a203(0x18d)!==this[_0x39a203(0x1a4)][_0x39a203(0x1b3)][_0x39a203(0x1b5)](_0x4cca1d)[_0x39a203(0x1aa)])return;const _0x2975fd=this[_0x39a203(0x18c)][_0x39a203(0x1b5)](_0x89a429),_0x274c68=_0x4dda01[_0x39a203(0x1c4)];_0x274c68['id']&&(this[_0x39a203(0x1bd)][_0x39a203(0x1b5)](_0x89a429)[_0x39a203(0x193)](_0x4dda01['id']),_0x2975fd[_0x39a203(0x1ab)](_0x274c68['id'])&&!this[_0x39a203(0x1bc)](_0x274c68,_0x89a429)[_0x39a203(0x1b4)]&&_0x2975fd[_0x39a203(0x193)](_0x274c68['id']),this[_0x39a203(0x194)][_0x39a203(0x1b5)](_0x274c68['id'])&&!this[_0x39a203(0x1bc)](_0x274c68)[_0x39a203(0x1b4)]&&this[_0x39a203(0x194)][_0x39a203(0x193)](_0x274c68['id']));}[_0x1d261a(0x1b1)](_0x176840,_0x57bc06){const _0xf2896e=_0x1d261a,_0x541b19=this[_0xf2896e(0x19f)][_0xf2896e(0x1a5)](_0x176840);return _0x57bc06&&this[_0xf2896e(0x19f)][_0xf2896e(0x1a7)](_0x176840['id']),_0x541b19[_0xf2896e(0x18f)]=this[_0xf2896e(0x190)]++,_0x541b19;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f290a=_0x2c1a;(function(_0x2e7f69,_0x25f7fd){const _0x42e592=_0x2c1a,_0x199985=_0x2e7f69();while(!![]){try{const _0x4daa3a=parseInt(_0x42e592(0x22a))/0x1*(parseInt(_0x42e592(0x211))/0x2)+-parseInt(_0x42e592(0x22c))/0x3+parseInt(_0x42e592(0x1ca))/0x4*(parseInt(_0x42e592(0x1fa))/0x5)+-parseInt(_0x42e592(0x1bd))/0x6*(parseInt(_0x42e592(0x22b))/0x7)+-parseInt(_0x42e592(0x208))/0x8+-parseInt(_0x42e592(0x1e4))/0x9*(parseInt(_0x42e592(0x20a))/0xa)+parseInt(_0x42e592(0x222))/0xb;if(_0x4daa3a===_0x25f7fd)break;else _0x199985['push'](_0x199985['shift']());}catch(_0x167de9){_0x199985['push'](_0x199985['shift']());}}}(_0x16f1,0x1c531));function _0x16f1(){const _0x52429f=['parent','mouseleave','setCustomProperty','$text','markers','add','element','user:position','user:range','split','333HelRAz','user:position:','size','rootName','has','isPremiumPlugin','schema','user:','plugins','delete','markerName','getNearestSelectionRange','classList','Escape','afterInit','fromRange','spellcheck','getAttribute','addEventListener','applyOperation','ck-user__marker\x20','toRange','135TviBtk','editing','hasDomSelection','innerHTML','isOfficialPlugin','isInline','end','userPositionMarker','removeMarker','color','textContent','contenteditable','selection','enqueueChange','1680784ErtZsE','start','25630hYfNap','highest','type','startsWith','getFirstRange','conversion','getRange','2FVACzo','model','isObject','isSimilar','createUserMarkerOperations','user:range:','removeClass','mapper','clear','update:user:range','getSelectionClass','requires','name','getCustomProperty','batch','isCollapsed','markerNameToElements','4250323bVXVwt','mouseenter','get','change:range','view','isLimit','pluginName','commands','83106WUKMnh','1321173rDQdtV','14412DrPvID','remove','UserMarkers','editingDowncast','reconvertMarker','getPositions','setAttribute','detach','editor','getContainedElement','createElement','for','oldRange','markerToElement','deletionPosition','destroy','outerHTML','undo','ck-user__selection','nodeAfter','ck-user__marker-tooltip','isDocumentOperation','updateMarker','$graveyard','getMarkerClass','marker','_domEmitter','hasContent','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','6cRlCYi','tableCell','mySessionId','stopListening','listenTo','checkChild','toDomElement','span','_createdBatches','createUIElement','getStart','data-session-id','false','21480yzwEVQ','document','init','ck-user__marker_hovered','markerToHighlight','createRange','newRange','set','root','change','render','orderNumber','keydown','getUserBySessionId','markerRange','addMarker'];_0x16f1=function(){return _0x52429f;};return _0x16f1();}import{Plugin as _0x42f0d5}from'ckeditor5/src/core.js';import{global as _0x1107f4,DomEmitterMixin as _0x15394c}from'ckeditor5/src/utils.js';import{Sessions as _0x5ea26b}from'./sessions.js';import{ModelLiveRange as _0x23f0f9}from'ckeditor5/src/engine.js';function _0x2c1a(_0x15b3e5,_0x1259a7){const _0x16f1cd=_0x16f1();return _0x2c1a=function(_0x2c1abe,_0x2573cb){_0x2c1abe=_0x2c1abe-0x1af;let _0x397ecc=_0x16f1cd[_0x2c1abe];return _0x397ecc;},_0x2c1a(_0x15b3e5,_0x1259a7);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x42f0d5{[_0x2f290a(0x1ba)]=new(_0x15394c())();static get[_0x2f290a(0x21c)](){return[_0x5ea26b];}static get[_0x2f290a(0x228)](){const _0x31b0ed=_0x2f290a;return _0x31b0ed(0x22e);}static get[_0x2f290a(0x1fe)](){return!0x0;}static get[_0x2f290a(0x1e9)](){return!0x0;}[_0x2f290a(0x1cc)](){const _0x373867=_0x2f290a,_0x3ca1a1=this[_0x373867(0x234)],_0x3005fa=_0x3ca1a1[_0x373867(0x1ec)][_0x373867(0x224)](_0x5ea26b);_0x3ca1a1[_0x373867(0x20f)][_0x373867(0x237)](_0x373867(0x22f))[_0x373867(0x239)]({'model':_0x373867(0x1e1),'view':(_0x367324,{writer:_0x448552})=>function(_0x35ab33,_0x371f85,_0xe77588,_0x1b799b){const _0x4658c6=_0x373867,_0x1fb8fa=_0x35ab33[_0x4658c6(0x1ee)][_0x4658c6(0x1e3)](':')[0x2],_0x14aa86=_0xe77588[_0x4658c6(0x1d7)](_0x1fb8fa);if(!_0x14aa86||_0x1fb8fa===_0xe77588[_0x4658c6(0x1bf)])return;if(!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)][_0x4658c6(0x1c2)](_0x35ab33[_0x4658c6(0x1d8)][_0x4658c6(0x209)],_0x4658c6(0x1dd)))return;const _0x343634={'class':_0x4658c6(0x1f8)+_0x14aa86[_0x4658c6(0x203)][_0x4658c6(0x1b8)](),'data-name':_0x14aa86[_0x4658c6(0x21d)],'data-session-id':_0x1fb8fa},_0x13ba7d=_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1de)][_0x4658c6(0x224)](_0x35ab33[_0x4658c6(0x1ee)]),_0x1d546f=_0x13ba7d[_0x4658c6(0x1c7)](),_0x55a2cd=_0x1d546f[_0x4658c6(0x1b3)],_0x309db6=_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)];if(_0x55a2cd&&_0x309db6[_0x4658c6(0x213)](_0x55a2cd)&&_0x309db6[_0x4658c6(0x1ff)](_0x55a2cd)&&!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1de)][_0x4658c6(0x224)](_0x4658c6(0x216)+_0x1fb8fa)[_0x4658c6(0x210)]()[_0x4658c6(0x220)])return;const _0x2504b1=_0x1d546f[_0x4658c6(0x1da)];return _0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)][_0x4658c6(0x227)](_0x2504b1)&&!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1bb)](_0x2504b1)&&(_0x343634[_0x4658c6(0x205)]=!0x1),function(_0x2f3336,_0x3cd5e2,_0x21cea3){const _0x23b84=_0x4658c6,_0x9452d3=_0x2f3336[_0x23b84(0x1c6)](_0x23b84(0x1c4),_0x3cd5e2);return _0x2f3336[_0x23b84(0x1dc)](_0x23b84(0x201),!0x0,_0x9452d3),_0x9452d3[_0x23b84(0x1d4)]=function(_0x4075a9){const _0x45ba11=_0x23b84,_0x19217c=this[_0x45ba11(0x1c3)](_0x4075a9),_0x4e331b=document[_0x45ba11(0x236)](_0x45ba11(0x1c4));return _0x4e331b[_0x45ba11(0x1f0)][_0x45ba11(0x1df)](_0x45ba11(0x1b4)),_0x4e331b[_0x45ba11(0x232)](_0x45ba11(0x205),_0x45ba11(0x1c9)),_0x4e331b[_0x45ba11(0x232)](_0x45ba11(0x1f4),_0x45ba11(0x1c9)),_0x4e331b[_0x45ba11(0x204)]=_0x21cea3[_0x45ba11(0x21d)],_0x19217c[_0x45ba11(0x1fd)]=_0x45ba11(0x1bc)+_0x4e331b[_0x45ba11(0x1b0)]+'⁠',_0x19217c[_0x45ba11(0x1f6)](_0x45ba11(0x223),()=>{const _0x11f3f8=_0x45ba11;_0x19217c[_0x11f3f8(0x1f0)][_0x11f3f8(0x1df)](_0x11f3f8(0x1cd));}),_0x19217c[_0x45ba11(0x1f6)](_0x45ba11(0x1db),()=>{const _0x4cb233=_0x45ba11;_0x19217c[_0x4cb233(0x1f0)][_0x4cb233(0x22d)](_0x4cb233(0x1cd));}),_0x19217c;},_0x9452d3[_0x23b84(0x214)]=function(_0x418ddb){const _0x54f999=_0x23b84;return!(!this[_0x54f999(0x21e)](_0x54f999(0x201))||!_0x418ddb[_0x54f999(0x21e)](_0x54f999(0x201))||this[_0x54f999(0x1f5)](_0x54f999(0x1c8))!=_0x418ddb[_0x54f999(0x1f5)](_0x54f999(0x1c8)));},_0x9452d3;}(_0x371f85,_0x343634,_0x14aa86);}(_0x367324,_0x448552,_0x3005fa,_0x3ca1a1)}),_0x3ca1a1[_0x373867(0x20f)][_0x373867(0x237)](_0x373867(0x22f))[_0x373867(0x1ce)]({'model':_0x373867(0x1e2),'view':_0x2ad77e=>function(_0xe404af,_0x3e9427){const _0x548229=_0x373867,_0x34d216=_0xe404af[_0x548229(0x1ee)][_0x548229(0x1e3)](':')[0x2];if(_0x34d216===_0x3e9427[_0x548229(0x1bf)])return null;const _0x224344=_0x3e9427[_0x548229(0x1d7)](_0x34d216);if(!_0x224344)return{'id':_0x34d216,'classes':[]};return{'id':_0x34d216,'classes':[_0x548229(0x1b2),_0x224344[_0x548229(0x203)][_0x548229(0x21b)]()],'attributes':{'data-session-id':_0x34d216},'priority':0x7d0+_0x224344[_0x548229(0x1d5)]};}(_0x2ad77e,_0x3005fa)}),function(_0x2a125d){const _0x12d50f=_0x373867,_0x57528e=_0x2a125d[_0x12d50f(0x212)],_0x103108=new Map(),_0x3f7e23=_0x2a125d[_0x12d50f(0x1ec)][_0x12d50f(0x224)](_0x5ea26b);_0x57528e[_0x12d50f(0x1de)]['on'](_0x12d50f(0x21a),(_0x9b9cf9,_0x2b48c8,_0x11ef91,_0x43cbac)=>{const _0x1d812a=_0x12d50f;if(!_0x43cbac&&_0x103108[_0x1d812a(0x224)](_0x2b48c8[_0x1d812a(0x21d)]))return _0x103108[_0x1d812a(0x224)](_0x2b48c8[_0x1d812a(0x21d)])[_0x1d812a(0x233)](),void _0x103108[_0x1d812a(0x1ed)](_0x2b48c8[_0x1d812a(0x21d)]);const _0x5231a0=_0x2b48c8[_0x1d812a(0x21d)][_0x1d812a(0x1e3)](':')[0x2];if(_0x5231a0===_0x3f7e23[_0x1d812a(0x1bf)])return;const _0x382dca=_0x1d812a(0x1e5)+_0x5231a0;_0x57528e[_0x1d812a(0x1de)][_0x1d812a(0x1e8)](_0x382dca)&&_0x2a125d[_0x1d812a(0x1fb)][_0x1d812a(0x230)](_0x382dca),_0x2b48c8['on'](_0x1d812a(0x225),(_0x4f0eb8,_0x5dd138,_0x59fd7f)=>{const _0x32ac7d=_0x1d812a;if(_0x32ac7d(0x1b7)!=_0x5dd138[_0x32ac7d(0x1d2)][_0x32ac7d(0x1e7)]&&_0x32ac7d(0x1b7)==_0x2b48c8[_0x32ac7d(0x210)]()[_0x32ac7d(0x1d2)][_0x32ac7d(0x1e7)]&&!_0x103108[_0x32ac7d(0x1e8)](_0x2b48c8[_0x32ac7d(0x21d)])){const _0x1dc92a=_0x57528e[_0x32ac7d(0x1ea)][_0x32ac7d(0x1ef)](_0x59fd7f[_0x32ac7d(0x23a)]);if(_0x1dc92a){const _0x2006c3=_0x23f0f9[_0x32ac7d(0x1f3)](_0x1dc92a);_0x103108[_0x32ac7d(0x1d1)](_0x2b48c8[_0x32ac7d(0x21d)],_0x2006c3),_0x2006c3['on'](_0x32ac7d(0x225),(_0xec3af2,_0x16a94d,_0x258e8e)=>{const _0x59f67f=_0x32ac7d;if(_0x59f67f(0x1b7)==_0x2006c3[_0x59f67f(0x1d2)][_0x59f67f(0x1e7)]){const _0x884255=_0x57528e[_0x59f67f(0x1ea)][_0x59f67f(0x1ef)](_0x258e8e[_0x59f67f(0x23a)]);_0x884255?(_0x2006c3[_0x59f67f(0x209)]=_0x884255[_0x59f67f(0x209)],_0x2006c3[_0x59f67f(0x200)]=_0x884255[_0x59f67f(0x200)]):(_0x103108[_0x59f67f(0x1ed)](_0x2b48c8[_0x59f67f(0x21d)]),_0x2006c3[_0x59f67f(0x233)]());}});}}});}),_0x57528e[_0x12d50f(0x1cb)]['on'](_0x12d50f(0x1d3),()=>{const _0x1995b5=_0x12d50f;_0x103108[_0x1995b5(0x1e6)]>0x0&&_0x57528e[_0x1995b5(0x207)]({'isUndoable':!0x1},_0x45532d=>{const _0x21a5bf=_0x1995b5;for(const [_0x6039b7,_0x2857db]of _0x103108)_0x21a5bf(0x1b7)==_0x57528e[_0x21a5bf(0x1de)][_0x21a5bf(0x224)](_0x6039b7)[_0x21a5bf(0x210)]()[_0x21a5bf(0x1d2)][_0x21a5bf(0x1e7)]&&(te(_0x6039b7[_0x21a5bf(0x1e3)](':')[0x2],_0x2857db[_0x21a5bf(0x1f9)](),_0x57528e,_0x45532d),_0x2857db[_0x21a5bf(0x233)]());_0x103108[_0x21a5bf(0x219)]();});});}(_0x3ca1a1),this[_0x373867(0x1ba)][_0x373867(0x1c1)](_0x1107f4[_0x373867(0x1cb)],_0x373867(0x1d6),(_0x306754,{key:_0x55e8df})=>{const _0x46bb36=_0x373867;_0x46bb36(0x1f1)===_0x55e8df&&function(_0xf19cbc){const _0xeae5d9=_0x46bb36;_0xf19cbc[_0xeae5d9(0x1fb)][_0xeae5d9(0x226)][_0xeae5d9(0x1d3)](_0x36cf82=>{const _0xcde2c8=_0xeae5d9;for(const _0x3435fb of _0xf19cbc[_0xcde2c8(0x212)][_0xcde2c8(0x1de)]){if(!_0x3435fb[_0xcde2c8(0x21d)][_0xcde2c8(0x20d)](_0xcde2c8(0x1e1)))continue;const _0x184820=_0xf19cbc[_0xcde2c8(0x1fb)][_0xcde2c8(0x218)][_0xcde2c8(0x221)](_0x3435fb[_0xcde2c8(0x21d)]);if(_0x184820){for(const _0x2136ed of _0x184820)_0x36cf82[_0xcde2c8(0x217)](_0xcde2c8(0x1cd),_0x2136ed);}}});}(_0x3ca1a1);},{'useCapture':!0x0});}[_0x2f290a(0x1f2)](){const _0x5b9bb8=_0x2f290a,_0x927713=this[_0x5b9bb8(0x234)],_0x1696df=_0x927713[_0x5b9bb8(0x229)][_0x5b9bb8(0x224)](_0x5b9bb8(0x1b1));_0x1696df&&_0x927713[_0x5b9bb8(0x212)]['on'](_0x5b9bb8(0x1f7),(_0x381efe,_0x3867d3)=>{const _0x469011=_0x5b9bb8,_0x1ff97=_0x3867d3[0x0];if(!_0x1ff97[_0x469011(0x1b5)])return;if(_0x469011(0x1b9)!=_0x1ff97[_0x469011(0x20c)]||!_0x1ff97[_0x469011(0x21d)][_0x469011(0x20d)](_0x469011(0x1eb)))return;const _0x2b4dd9=_0x1ff97[_0x469011(0x21f)];_0x1696df[_0x469011(0x1c5)][_0x469011(0x1e8)](_0x2b4dd9)&&(_0x1ff97[_0x469011(0x1d0)]=_0x1ff97[_0x469011(0x238)]?_0x927713[_0x469011(0x212)][_0x469011(0x1cf)](_0x1ff97[_0x469011(0x238)][_0x469011(0x209)],_0x1ff97[_0x469011(0x238)][_0x469011(0x200)]):null);},{'priority':_0x5b9bb8(0x20b)});}[_0x2f290a(0x1af)](){const _0x83bcec=_0x2f290a;return this[_0x83bcec(0x1ba)][_0x83bcec(0x1c0)](),super[_0x83bcec(0x1af)]();}[_0x2f290a(0x215)](){const _0x35bfec=_0x2f290a,_0x17d012=this[_0x35bfec(0x234)],_0x3c2798=_0x17d012[_0x35bfec(0x212)][_0x35bfec(0x1cb)],_0x4597fe=_0x17d012[_0x35bfec(0x1ec)][_0x35bfec(0x224)](_0x5ea26b);_0x17d012[_0x35bfec(0x212)][_0x35bfec(0x207)]({'isUndoable':!0x1},_0x195533=>{const _0x39d58c=_0x35bfec,_0x37d3c9=_0x39d58c(0x216)+_0x4597fe[_0x39d58c(0x1bf)],_0x15d0a0=_0x39d58c(0x1e5)+_0x4597fe[_0x39d58c(0x1bf)],_0x302324=_0x17d012[_0x39d58c(0x212)][_0x39d58c(0x1de)][_0x39d58c(0x1e8)](_0x37d3c9);_0x17d012[_0x39d58c(0x1fb)][_0x39d58c(0x226)][_0x39d58c(0x1fc)]?te(_0x4597fe[_0x39d58c(0x1bf)],_0x3c2798[_0x39d58c(0x206)][_0x39d58c(0x20e)](),_0x17d012[_0x39d58c(0x212)],_0x195533):_0x302324&&(_0x195533[_0x39d58c(0x202)](_0x37d3c9),_0x195533[_0x39d58c(0x202)](_0x15d0a0));});}}function te(_0x2b78ff,_0x5ac116,_0x4a05d3,_0x57bd9b){const _0x5d8f3f=_0x2f290a,_0x159897=_0x5d8f3f(0x216)+_0x2b78ff,_0x5f49ac=_0x5d8f3f(0x1e5)+_0x2b78ff,_0x5d827a=_0x5ac116[_0x5d8f3f(0x235)]();let _0x6c03a3=_0x5ac116[_0x5d8f3f(0x209)];if(_0x5d827a&&_0x5d827a['is'](_0x5d8f3f(0x1e0),_0x5d8f3f(0x1be))){const _0x4b7278=function(_0x176edf,_0x55a5b7){const _0x13d9b5=_0x5d8f3f;for(const _0x27af2f of _0x176edf[_0x13d9b5(0x231)]())if(_0x55a5b7[_0x13d9b5(0x1ea)][_0x13d9b5(0x1c2)](_0x27af2f,_0x13d9b5(0x1dd)))return _0x27af2f;}(_0x5ac116,_0x4a05d3);_0x4b7278&&(_0x6c03a3=_0x4b7278,_0x5ac116=_0x57bd9b[_0x5d8f3f(0x1cf)](_0x6c03a3));}const _0x1f8711=_0x57bd9b[_0x5d8f3f(0x1cf)](_0x6c03a3);_0x4a05d3[_0x5d8f3f(0x1de)][_0x5d8f3f(0x1e8)](_0x159897)?(_0x57bd9b[_0x5d8f3f(0x1b6)](_0x159897,{'range':_0x5ac116}),_0x57bd9b[_0x5d8f3f(0x1b6)](_0x5f49ac,{'range':_0x1f8711})):(_0x57bd9b[_0x5d8f3f(0x1d9)](_0x159897,{'range':_0x5ac116,'usingOperation':!0x0}),_0x57bd9b[_0x5d8f3f(0x1d9)](_0x5f49ac,{'range':_0x1f8711,'usingOperation':!0x0}));}
23
+ const _0x477ef0=_0x23db;(function(_0x387afb,_0x22c106){const _0x330fbd=_0x23db,_0xa8ca65=_0x387afb();while(!![]){try{const _0x3e6cbf=-parseInt(_0x330fbd(0x13d))/0x1+-parseInt(_0x330fbd(0x11f))/0x2+parseInt(_0x330fbd(0x101))/0x3*(parseInt(_0x330fbd(0xfd))/0x4)+parseInt(_0x330fbd(0x109))/0x5*(parseInt(_0x330fbd(0x183))/0x6)+parseInt(_0x330fbd(0x13c))/0x7+-parseInt(_0x330fbd(0x146))/0x8*(-parseInt(_0x330fbd(0x14d))/0x9)+-parseInt(_0x330fbd(0x16a))/0xa*(parseInt(_0x330fbd(0x16c))/0xb);if(_0x3e6cbf===_0x22c106)break;else _0xa8ca65['push'](_0xa8ca65['shift']());}catch(_0x919cfa){_0xa8ca65['push'](_0xa8ca65['shift']());}}}(_0x4f32,0xc2504));import{Plugin as _0x489db0}from'ckeditor5/src/core.js';import{global as _0x2deb0e,DomEmitterMixin as _0x352372}from'ckeditor5/src/utils.js';import{Sessions as _0x68dfc0}from'./sessions.js';import{ModelLiveRange as _0x34f5bc}from'ckeditor5/src/engine.js';function _0x23db(_0x918398,_0x2f7b48){const _0x4f32a6=_0x4f32();return _0x23db=function(_0x23db34,_0x3f3c79){_0x23db34=_0x23db34-0xfd;let _0x243a24=_0x4f32a6[_0x23db34];return _0x243a24;},_0x23db(_0x918398,_0x2f7b48);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x489db0{[_0x477ef0(0x121)]=new(_0x352372())();static get[_0x477ef0(0x134)](){return[_0x68dfc0];}static get[_0x477ef0(0x149)](){const _0x84dee3=_0x477ef0;return _0x84dee3(0x184);}static get[_0x477ef0(0x181)](){return!0x0;}static get[_0x477ef0(0x123)](){return!0x0;}[_0x477ef0(0x16b)](){const _0x948fd7=_0x477ef0,_0x36a9a6=this[_0x948fd7(0xff)],_0x47dbaa=_0x36a9a6[_0x948fd7(0x125)][_0x948fd7(0x112)](_0x68dfc0);_0x36a9a6[_0x948fd7(0x102)][_0x948fd7(0x14b)](_0x948fd7(0x13e))[_0x948fd7(0x128)]({'model':_0x948fd7(0x164),'view':(_0x16cd90,{writer:_0x16e227})=>function(_0x3af686,_0x4597eb,_0x2c5807,_0x1d6d7a){const _0x5e7d65=_0x948fd7,_0x5ad5e6=_0x3af686[_0x5e7d65(0x186)][_0x5e7d65(0x12a)](':')[0x2],_0x5afbd5=_0x2c5807[_0x5e7d65(0x168)](_0x5ad5e6);if(!_0x5afbd5||_0x5ad5e6===_0x2c5807[_0x5e7d65(0x140)])return;if(!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)][_0x5e7d65(0x12e)](_0x3af686[_0x5e7d65(0x139)][_0x5e7d65(0x138)],_0x5e7d65(0x127)))return;const _0x26b8d1={'class':_0x5e7d65(0x169)+_0x5afbd5[_0x5e7d65(0x145)][_0x5e7d65(0x133)](),'data-name':_0x5afbd5[_0x5e7d65(0x163)],'data-session-id':_0x5ad5e6},_0x50b6c6=_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x14f)][_0x5e7d65(0x112)](_0x3af686[_0x5e7d65(0x186)]),_0x44e521=_0x50b6c6[_0x5e7d65(0x126)](),_0x4401e9=_0x44e521[_0x5e7d65(0x11a)],_0x35f14d=_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)];if(_0x4401e9&&_0x35f14d[_0x5e7d65(0x142)](_0x4401e9)&&_0x35f14d[_0x5e7d65(0x16d)](_0x4401e9)&&!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x14f)][_0x5e7d65(0x112)](_0x5e7d65(0x10b)+_0x5ad5e6)[_0x5e7d65(0x180)]()[_0x5e7d65(0x15f)])return;const _0x47d8cd=_0x44e521[_0x5e7d65(0x172)];return _0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)][_0x5e7d65(0x13b)](_0x47d8cd)&&!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x135)](_0x47d8cd)&&(_0x26b8d1[_0x5e7d65(0x115)]=!0x1),function(_0x3476b1,_0x2161ff,_0x2c1b94){const _0x5bddda=_0x5e7d65,_0x239be7=_0x3476b1[_0x5bddda(0x182)](_0x5bddda(0x151),_0x2161ff);return _0x3476b1[_0x5bddda(0x15c)](_0x5bddda(0x154),!0x0,_0x239be7),_0x239be7[_0x5bddda(0x106)]=function(_0x582e95){const _0x475d63=_0x5bddda,_0x441d3b=this[_0x475d63(0x15d)](_0x582e95),_0x489713=document[_0x475d63(0x152)](_0x475d63(0x151));return _0x489713[_0x475d63(0x165)][_0x475d63(0x173)](_0x475d63(0x175)),_0x489713[_0x475d63(0x158)](_0x475d63(0x115),_0x475d63(0x156)),_0x489713[_0x475d63(0x158)](_0x475d63(0x166),_0x475d63(0x156)),_0x489713[_0x475d63(0x119)]=_0x2c1b94[_0x475d63(0x163)],_0x441d3b[_0x475d63(0x188)]=_0x475d63(0x100)+_0x489713[_0x475d63(0x108)]+'⁠',_0x441d3b[_0x475d63(0x114)](_0x475d63(0x122),()=>{const _0x55435e=_0x475d63;_0x441d3b[_0x55435e(0x165)][_0x55435e(0x173)](_0x55435e(0x105));}),_0x441d3b[_0x475d63(0x114)](_0x475d63(0x17c),()=>{const _0x486820=_0x475d63;_0x441d3b[_0x486820(0x165)][_0x486820(0x103)](_0x486820(0x105));}),_0x441d3b;},_0x239be7[_0x5bddda(0x141)]=function(_0x111ce3){const _0x1e9da0=_0x5bddda;return!(!this[_0x1e9da0(0x130)](_0x1e9da0(0x154))||!_0x111ce3[_0x1e9da0(0x130)](_0x1e9da0(0x154))||this[_0x1e9da0(0x10a)](_0x1e9da0(0x14c))!=_0x111ce3[_0x1e9da0(0x10a)](_0x1e9da0(0x14c)));},_0x239be7;}(_0x4597eb,_0x26b8d1,_0x5afbd5);}(_0x16cd90,_0x16e227,_0x47dbaa,_0x36a9a6)}),_0x36a9a6[_0x948fd7(0x102)][_0x948fd7(0x14b)](_0x948fd7(0x13e))[_0x948fd7(0x16f)]({'model':_0x948fd7(0x111),'view':_0x300b6d=>function(_0x352704,_0x16080f){const _0x268e7b=_0x948fd7,_0x546d81=_0x352704[_0x268e7b(0x186)][_0x268e7b(0x12a)](':')[0x2];if(_0x546d81===_0x16080f[_0x268e7b(0x140)])return null;const _0x1f4ae0=_0x16080f[_0x268e7b(0x168)](_0x546d81);if(!_0x1f4ae0)return{'id':_0x546d81,'classes':[]};return{'id':_0x546d81,'classes':[_0x268e7b(0x157),_0x1f4ae0[_0x268e7b(0x145)][_0x268e7b(0x171)]()],'attributes':{'data-session-id':_0x546d81},'priority':0x7d0+_0x1f4ae0[_0x268e7b(0x12c)]};}(_0x300b6d,_0x47dbaa)}),function(_0x7a831e){const _0x5a4174=_0x948fd7,_0x2a9c95=_0x7a831e[_0x5a4174(0x14e)],_0x489164=new Map(),_0x32b7be=_0x7a831e[_0x5a4174(0x125)][_0x5a4174(0x112)](_0x68dfc0);_0x2a9c95[_0x5a4174(0x14f)]['on'](_0x5a4174(0x15b),(_0xe25457,_0x116886,_0x52750c,_0x2b89cc)=>{const _0x249585=_0x5a4174;if(!_0x2b89cc&&_0x489164[_0x249585(0x112)](_0x116886[_0x249585(0x163)]))return _0x489164[_0x249585(0x112)](_0x116886[_0x249585(0x163)])[_0x249585(0x11c)](),void _0x489164[_0x249585(0x16e)](_0x116886[_0x249585(0x163)]);const _0x4e4f9b=_0x116886[_0x249585(0x163)][_0x249585(0x12a)](':')[0x2];if(_0x4e4f9b===_0x32b7be[_0x249585(0x140)])return;const _0x42bbfa=_0x249585(0x10f)+_0x4e4f9b;_0x2a9c95[_0x249585(0x14f)][_0x249585(0x162)](_0x42bbfa)&&_0x7a831e[_0x249585(0x120)][_0x249585(0x132)](_0x42bbfa),_0x116886['on'](_0x249585(0x104),(_0x1874f7,_0x1f4404,_0x425acf)=>{const _0x135214=_0x249585;if(_0x135214(0x11b)!=_0x1f4404[_0x135214(0x124)][_0x135214(0x117)]&&_0x135214(0x11b)==_0x116886[_0x135214(0x180)]()[_0x135214(0x124)][_0x135214(0x117)]&&!_0x489164[_0x135214(0x162)](_0x116886[_0x135214(0x163)])){const _0x2848a5=_0x2a9c95[_0x135214(0x17b)][_0x135214(0x10c)](_0x425acf[_0x135214(0x178)]);if(_0x2848a5){const _0x1c418b=_0x34f5bc[_0x135214(0x176)](_0x2848a5);_0x489164[_0x135214(0x11d)](_0x116886[_0x135214(0x163)],_0x1c418b),_0x1c418b['on'](_0x135214(0x104),(_0x39474a,_0x53c368,_0x9b141b)=>{const _0x475520=_0x135214;if(_0x475520(0x11b)==_0x1c418b[_0x475520(0x124)][_0x475520(0x117)]){const _0x5535f2=_0x2a9c95[_0x475520(0x17b)][_0x475520(0x10c)](_0x9b141b[_0x475520(0x178)]);_0x5535f2?(_0x1c418b[_0x475520(0x138)]=_0x5535f2[_0x475520(0x138)],_0x1c418b[_0x475520(0x113)]=_0x5535f2[_0x475520(0x113)]):(_0x489164[_0x475520(0x16e)](_0x116886[_0x475520(0x163)]),_0x1c418b[_0x475520(0x11c)]());}});}}});}),_0x2a9c95[_0x5a4174(0x179)]['on'](_0x5a4174(0x11e),()=>{const _0x286581=_0x5a4174;_0x489164[_0x286581(0x110)]>0x0&&_0x2a9c95[_0x286581(0x144)]({'isUndoable':!0x1},_0x10996c=>{const _0x411a25=_0x286581;for(const [_0x4b2dcc,_0x39119a]of _0x489164)_0x411a25(0x11b)==_0x2a9c95[_0x411a25(0x14f)][_0x411a25(0x112)](_0x4b2dcc)[_0x411a25(0x180)]()[_0x411a25(0x124)][_0x411a25(0x117)]&&(te(_0x4b2dcc[_0x411a25(0x12a)](':')[0x2],_0x39119a[_0x411a25(0x12f)](),_0x2a9c95,_0x10996c),_0x39119a[_0x411a25(0x11c)]());_0x489164[_0x411a25(0x185)]();});});}(_0x36a9a6),this[_0x948fd7(0x121)][_0x948fd7(0x137)](_0x2deb0e[_0x948fd7(0x179)],_0x948fd7(0x15e),(_0x2968be,{key:_0x2daaae})=>{const _0x12776d=_0x948fd7;_0x12776d(0x14a)===_0x2daaae&&function(_0xf4ccf2){const _0x70e2f3=_0x12776d;_0xf4ccf2[_0x70e2f3(0x120)][_0x70e2f3(0x148)][_0x70e2f3(0x11e)](_0x264678=>{const _0xcbfd6a=_0x70e2f3;for(const _0x11bb33 of _0xf4ccf2[_0xcbfd6a(0x14e)][_0xcbfd6a(0x14f)]){if(!_0x11bb33[_0xcbfd6a(0x163)][_0xcbfd6a(0x17d)](_0xcbfd6a(0x164)))continue;const _0x384c97=_0xf4ccf2[_0xcbfd6a(0x120)][_0xcbfd6a(0x17a)][_0xcbfd6a(0x155)](_0x11bb33[_0xcbfd6a(0x163)]);if(_0x384c97){for(const _0x495f7b of _0x384c97)_0x264678[_0xcbfd6a(0xfe)](_0xcbfd6a(0x105),_0x495f7b);}}});}(_0x36a9a6);},{'useCapture':!0x0});}[_0x477ef0(0x174)](){const _0x289793=_0x477ef0,_0x12843c=this[_0x289793(0xff)],_0x4847b3=_0x12843c[_0x289793(0x10d)][_0x289793(0x112)](_0x289793(0x107));_0x4847b3&&_0x12843c[_0x289793(0x14e)]['on'](_0x289793(0x143),(_0x55a53d,_0x56ddaa)=>{const _0x43d008=_0x289793,_0x4f53bd=_0x56ddaa[0x0];if(!_0x4f53bd[_0x43d008(0x129)])return;if(_0x43d008(0x160)!=_0x4f53bd[_0x43d008(0x150)]||!_0x4f53bd[_0x43d008(0x163)][_0x43d008(0x17d)](_0x43d008(0x159)))return;const _0x463ec4=_0x4f53bd[_0x43d008(0x177)];_0x4847b3[_0x43d008(0x170)][_0x43d008(0x162)](_0x463ec4)&&(_0x4f53bd[_0x43d008(0x13a)]=_0x4f53bd[_0x43d008(0x17e)]?_0x12843c[_0x43d008(0x14e)][_0x43d008(0x12d)](_0x4f53bd[_0x43d008(0x17e)][_0x43d008(0x138)],_0x4f53bd[_0x43d008(0x17e)][_0x43d008(0x113)]):null);},{'priority':_0x289793(0x187)});}[_0x477ef0(0x161)](){const _0x2bdad3=_0x477ef0;return this[_0x2bdad3(0x121)][_0x2bdad3(0x15a)](),super[_0x2bdad3(0x161)]();}[_0x477ef0(0x10e)](){const _0x3b7c01=_0x477ef0,_0x29e2f7=this[_0x3b7c01(0xff)],_0x403e10=_0x29e2f7[_0x3b7c01(0x14e)][_0x3b7c01(0x179)],_0x38b0da=_0x29e2f7[_0x3b7c01(0x125)][_0x3b7c01(0x112)](_0x68dfc0);_0x29e2f7[_0x3b7c01(0x14e)][_0x3b7c01(0x144)]({'isUndoable':!0x1},_0x498e47=>{const _0x35e685=_0x3b7c01,_0x45d4b8=_0x35e685(0x10b)+_0x38b0da[_0x35e685(0x140)],_0x34f506=_0x35e685(0x10f)+_0x38b0da[_0x35e685(0x140)],_0x1f95c1=_0x29e2f7[_0x35e685(0x14e)][_0x35e685(0x14f)][_0x35e685(0x162)](_0x45d4b8);_0x29e2f7[_0x35e685(0x120)][_0x35e685(0x148)][_0x35e685(0x147)]?te(_0x38b0da[_0x35e685(0x140)],_0x403e10[_0x35e685(0x167)][_0x35e685(0x118)](),_0x29e2f7[_0x35e685(0x14e)],_0x498e47):_0x1f95c1&&(_0x498e47[_0x35e685(0x13f)](_0x45d4b8),_0x498e47[_0x35e685(0x13f)](_0x34f506));});}}function _0x4f32(){const _0x1b5994=['user:position','classList','spellcheck','selection','getUserBySessionId','ck-user__marker\x20','7627140MYbBFg','init','22cwwtjq','isInline','delete','markerToHighlight','_createdBatches','getSelectionClass','parent','add','afterInit','ck-user__marker-tooltip','fromRange','batch','deletionPosition','document','mapper','schema','mouseleave','startsWith','oldRange','element','getRange','isOfficialPlugin','createUIElement','30YHoNsz','UserMarkers','clear','markerName','highest','innerHTML','4NpGLZF','removeClass','editor','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','1821657zjncKp','conversion','remove','change:range','ck-user__marker_hovered','render','undo','outerHTML','897300pwerXm','getAttribute','user:range:','getNearestSelectionRange','commands','createUserMarkerOperations','user:position:','size','user:range','get','end','addEventListener','contenteditable','getPositions','rootName','getFirstRange','textContent','nodeAfter','$graveyard','detach','set','change','339938mxccWT','editing','_domEmitter','mouseenter','isPremiumPlugin','root','plugins','getStart','$text','markerToElement','isDocumentOperation','split','addMarker','orderNumber','createRange','checkChild','toRange','getCustomProperty','tableCell','reconvertMarker','getMarkerClass','requires','hasContent','getContainedElement','listenTo','start','markerRange','newRange','isLimit','6236797dWzleI','719108LhSwgi','editingDowncast','removeMarker','mySessionId','isSimilar','isObject','applyOperation','enqueueChange','color','2173128BcTZvD','hasDomSelection','view','pluginName','Escape','for','data-session-id','27kJseiD','model','markers','type','span','createElement','updateMarker','userPositionMarker','markerNameToElements','false','ck-user__selection','setAttribute','user:','stopListening','update:user:range','setCustomProperty','toDomElement','keydown','isCollapsed','marker','destroy','has','name'];_0x4f32=function(){return _0x1b5994;};return _0x4f32();}function te(_0x500e40,_0x2c16bf,_0x1fc8dc,_0x49355d){const _0x31e58d=_0x477ef0,_0x5a0391=_0x31e58d(0x10b)+_0x500e40,_0x47c548=_0x31e58d(0x10f)+_0x500e40,_0x2338aa=_0x2c16bf[_0x31e58d(0x136)]();let _0x13a3e2=_0x2c16bf[_0x31e58d(0x138)];if(_0x2338aa&&_0x2338aa['is'](_0x31e58d(0x17f),_0x31e58d(0x131))){const _0x334ff6=function(_0x469f7a,_0x30a737){const _0xa79655=_0x31e58d;for(const _0x2b1c10 of _0x469f7a[_0xa79655(0x116)]())if(_0x30a737[_0xa79655(0x17b)][_0xa79655(0x12e)](_0x2b1c10,_0xa79655(0x127)))return _0x2b1c10;}(_0x2c16bf,_0x1fc8dc);_0x334ff6&&(_0x13a3e2=_0x334ff6,_0x2c16bf=_0x49355d[_0x31e58d(0x12d)](_0x13a3e2));}const _0x52a84d=_0x49355d[_0x31e58d(0x12d)](_0x13a3e2);_0x1fc8dc[_0x31e58d(0x14f)][_0x31e58d(0x162)](_0x5a0391)?(_0x49355d[_0x31e58d(0x153)](_0x5a0391,{'range':_0x2c16bf}),_0x49355d[_0x31e58d(0x153)](_0x47c548,{'range':_0x52a84d})):(_0x49355d[_0x31e58d(0x12b)](_0x5a0391,{'range':_0x2c16bf,'usingOperation':!0x0}),_0x49355d[_0x31e58d(0x12b)](_0x47c548,{'range':_0x52a84d,'usingOperation':!0x0}));}