@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.4 → 47.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5431(_0x3d1ecb,_0x318bcf){const _0x3b3d81=_0x3b3d();return _0x5431=function(_0x54314a,_0x2873a7){_0x54314a=_0x54314a-0x1a0;let _0x2dbfcf=_0x3b3d81[_0x54314a];return _0x2dbfcf;},_0x5431(_0x3d1ecb,_0x318bcf);}const _0x2a0cc5=_0x5431;(function(_0x1c125a,_0x4792d1){const _0x1a02c6=_0x5431,_0xc40b8c=_0x1c125a();while(!![]){try{const _0xc2ecb9=parseInt(_0x1a02c6(0x1a1))/0x1*(-parseInt(_0x1a02c6(0x1a3))/0x2)+parseInt(_0x1a02c6(0x1c5))/0x3*(-parseInt(_0x1a02c6(0x1b6))/0x4)+parseInt(_0x1a02c6(0x1b4))/0x5+-parseInt(_0x1a02c6(0x1ab))/0x6+parseInt(_0x1a02c6(0x1c4))/0x7*(parseInt(_0x1a02c6(0x1b1))/0x8)+-parseInt(_0x1a02c6(0x1c8))/0x9*(parseInt(_0x1a02c6(0x1a8))/0xa)+parseInt(_0x1a02c6(0x1a6))/0xb*(parseInt(_0x1a02c6(0x1b5))/0xc);if(_0xc2ecb9===_0x4792d1)break;else _0xc40b8c['push'](_0xc40b8c['shift']());}catch(_0x1c3126){_0xc40b8c['push'](_0xc40b8c['shift']());}}}(_0x3b3d,0x82818));import{View as _0x4fb6c1}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4ef676}from'ckeditor5/src/utils.js';function _0x3b3d(){const _0x1ab052=['.ck-presence-list__dropdown-list','list','element','6296KuRdZv','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','997110gFmiZI','183684yEbLep','297588hbaUhr','render','focus','createCollection','setTemplate','querySelector','ck-presence-list__list','Connected\x20users\x20list','.ck-balloon-panel_with-arrow','setAttribute','change:hasPopup','relatedTarget','keystrokes','fire','3913obeIgg','9Qwemth','items','contains','720wOtlUL','removeAttribute','417883OZAJQA','listenTo','4hGuvrp','hasPopup','aria-expanded','913uteGLC','presencelist:hide','18820ZEmIIv','div','presencelist:show','994602BQOHxv','set','bindTemplate'];_0x3b3d=function(){return _0x1ab052;};return _0x3b3d();}import{getTranslation as _0x3d3a6a}from'../../common-translations.js';export class PresenceInlineListView extends _0x4fb6c1{[_0x2a0cc5(0x1c6)];[_0x2a0cc5(0x1c2)];constructor(_0x38ad50){const _0x5d06bb=_0x2a0cc5;super(_0x38ad50);const _0x5adcf3=this[_0x5d06bb(0x1ad)];this[_0x5d06bb(0x1c6)]=this[_0x5d06bb(0x1b9)](),this[_0x5d06bb(0x1c2)]=new _0x4ef676(),this[_0x5d06bb(0x1ac)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5d06bb(0x1ba)]({'tag':_0x5d06bb(0x1a9),'attributes':{'aria-haspopup':_0x5adcf3['if'](_0x5d06bb(0x1a4)),'aria-expanded':_0x5adcf3['to'](_0x5d06bb(0x1b3),_0x297df6=>this[_0x5d06bb(0x1a4)]&&String(_0x297df6)),'aria-label':_0x5adcf3['to'](_0x5d06bb(0x1a4),_0x4e09a3=>_0x3d3a6a(_0x38ad50,_0x4e09a3?_0x5d06bb(0x1b2):_0x5d06bb(0x1bd))),'role':_0x5d06bb(0x1af),'tabindex':_0x5adcf3['to'](_0x5d06bb(0x1a4),_0x4e2795=>!!_0x4e2795&&0x0),'class':['ck',_0x5d06bb(0x1bc)]},'children':this[_0x5d06bb(0x1c6)],'on':{'mouseenter':_0x5adcf3['to'](()=>this[_0x5d06bb(0x1c3)](_0x5d06bb(0x1aa))),'mouseleave':_0x5adcf3['to'](_0x369dba=>{const _0x5405b9=_0x5d06bb,_0x306a1c=_0x369dba,_0x5e7f44=document[_0x5405b9(0x1bb)](_0x5405b9(0x1ae)),_0x572479=document[_0x5405b9(0x1bb)](_0x5405b9(0x1be));_0x5e7f44?.[_0x5405b9(0x1c7)](_0x306a1c[_0x5405b9(0x1c1)])||_0x572479?.[_0x5405b9(0x1c7)](_0x306a1c[_0x5405b9(0x1c1)])||this[_0x5405b9(0x1c3)](_0x5405b9(0x1a7));})}}),this['on'](_0x5d06bb(0x1c0),(_0x106d39,_0x466f26,_0x445f73)=>{const _0x15e62b=_0x5d06bb;this[_0x15e62b(0x1b0)]&&(_0x445f73?this[_0x15e62b(0x1b0)][_0x15e62b(0x1bf)](_0x15e62b(0x1a5),String(this[_0x15e62b(0x1b3)])):this[_0x15e62b(0x1b0)][_0x15e62b(0x1a0)](_0x15e62b(0x1a5)));});}[_0x2a0cc5(0x1b8)](){const _0x2e4a53=_0x2a0cc5;this[_0x2e4a53(0x1b0)][_0x2e4a53(0x1b8)]();}[_0x2a0cc5(0x1b7)](){const _0xbdc0ad=_0x2a0cc5;super[_0xbdc0ad(0x1b7)](),this[_0xbdc0ad(0x1c2)][_0xbdc0ad(0x1a2)](this[_0xbdc0ad(0x1b0)]);}}
23
+ function _0x80c1(_0x3bfab8,_0x25e290){const _0x555e01=_0x555e();return _0x80c1=function(_0x80c132,_0x41d4bc){_0x80c132=_0x80c132-0x1da;let _0x1a2cab=_0x555e01[_0x80c132];return _0x1a2cab;},_0x80c1(_0x3bfab8,_0x25e290);}const _0x512e4a=_0x80c1;(function(_0xc01615,_0x48e441){const _0x3f9240=_0x80c1,_0x594416=_0xc01615();while(!![]){try{const _0x8f122e=-parseInt(_0x3f9240(0x1e8))/0x1*(parseInt(_0x3f9240(0x1fa))/0x2)+parseInt(_0x3f9240(0x1ed))/0x3+parseInt(_0x3f9240(0x1db))/0x4*(parseInt(_0x3f9240(0x1e1))/0x5)+parseInt(_0x3f9240(0x1ec))/0x6*(-parseInt(_0x3f9240(0x1e9))/0x7)+-parseInt(_0x3f9240(0x1eb))/0x8*(parseInt(_0x3f9240(0x1f2))/0x9)+-parseInt(_0x3f9240(0x1e4))/0xa+parseInt(_0x3f9240(0x1ef))/0xb;if(_0x8f122e===_0x48e441)break;else _0x594416['push'](_0x594416['shift']());}catch(_0x36a9ad){_0x594416['push'](_0x594416['shift']());}}}(_0x555e,0x94e7e));function _0x555e(){const _0x3162c4=['removeAttribute','Connected\x20users\x20list','setTemplate','fire','.ck-balloon-panel_with-arrow','998316IWGanZ','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','render','presencelist:show','5ORFwLT','isExpanded','.ck-presence-list__dropdown-list','8592890MrHCAq','hasPopup','aria-expanded','focus','1qCnZQG','36071AyXurp','listenTo','184kRCunB','246MsVtAH','661428BHxiUS','keystrokes','29852911mwRaVI','list','setAttribute','396945iGgaGS','set','contains','div','change:hasPopup','bindTemplate','items','createCollection','978122sCpgfR','querySelector','element','ck-presence-list__list'];_0x555e=function(){return _0x3162c4;};return _0x555e();}import{View as _0x38906c}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x849247}from'ckeditor5/src/utils.js';import{getTranslation as _0x173de5}from'../../common-translations.js';export class PresenceInlineListView extends _0x38906c{[_0x512e4a(0x1f8)];[_0x512e4a(0x1ee)];constructor(_0x2cb508){const _0x34220b=_0x512e4a;super(_0x2cb508);const _0x36e48b=this[_0x34220b(0x1f7)];this[_0x34220b(0x1f8)]=this[_0x34220b(0x1f9)](),this[_0x34220b(0x1ee)]=new _0x849247(),this[_0x34220b(0x1f3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x34220b(0x200)]({'tag':_0x34220b(0x1f5),'attributes':{'aria-haspopup':_0x36e48b['if'](_0x34220b(0x1e5)),'aria-expanded':_0x36e48b['to'](_0x34220b(0x1e2),_0x2ba7ad=>this[_0x34220b(0x1e5)]&&String(_0x2ba7ad)),'aria-label':_0x36e48b['to'](_0x34220b(0x1e5),_0x55acf1=>_0x173de5(_0x2cb508,_0x55acf1?_0x34220b(0x1dd):_0x34220b(0x1ff))),'role':_0x34220b(0x1f0),'tabindex':_0x36e48b['to'](_0x34220b(0x1e5),_0x2358bf=>!!_0x2358bf&&0x0),'class':['ck',_0x34220b(0x1fd)]},'children':this[_0x34220b(0x1f8)],'on':{'mouseenter':_0x36e48b['to'](()=>this[_0x34220b(0x201)](_0x34220b(0x1e0))),'mouseleave':_0x36e48b['to'](_0x4d4fad=>{const _0x278bf7=_0x34220b,_0x52ae5b=_0x4d4fad,_0x1142af=document[_0x278bf7(0x1fb)](_0x278bf7(0x1e3)),_0x120e01=document[_0x278bf7(0x1fb)](_0x278bf7(0x1da));_0x1142af?.[_0x278bf7(0x1f4)](_0x52ae5b[_0x278bf7(0x1de)])||_0x120e01?.[_0x278bf7(0x1f4)](_0x52ae5b[_0x278bf7(0x1de)])||this[_0x278bf7(0x201)](_0x278bf7(0x1dc));})}}),this['on'](_0x34220b(0x1f6),(_0x5ab9ec,_0x1265fe,_0x59758e)=>{const _0x595e1d=_0x34220b;this[_0x595e1d(0x1fc)]&&(_0x59758e?this[_0x595e1d(0x1fc)][_0x595e1d(0x1f1)](_0x595e1d(0x1e6),String(this[_0x595e1d(0x1e2)])):this[_0x595e1d(0x1fc)][_0x595e1d(0x1fe)](_0x595e1d(0x1e6)));});}[_0x512e4a(0x1e7)](){const _0x911b8b=_0x512e4a;this[_0x911b8b(0x1fc)][_0x911b8b(0x1e7)]();}[_0x512e4a(0x1df)](){const _0x361a44=_0x512e4a;super[_0x361a44(0x1df)](),this[_0x361a44(0x1ee)][_0x361a44(0x1ea)](this[_0x361a44(0x1fc)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2392a4=_0x5141;function _0x5482(){const _0x2bd7c9=['set','9481066TWIBOE','10950gKFTnx','counterView','1712910cfVrGb','items','bindTemplate','isCollapsed','523237cPrqDR','ck-presence-list--collapsed','541848XdezBo','25408fNsdTb','hasPopup','316bbrkqi','ck-rounded-corners','ck-presence-list','2799GMTvGg','change','2843769xinUcC','first','listenTo','bind','locale','ck-reset','setTemplate','inlineListView','div','tooltipPosition'];_0x5482=function(){return _0x2bd7c9;};return _0x5482();}(function(_0x3d5209,_0x3fa3f1){const _0x26a7a2=_0x5141,_0x5cfdae=_0x3d5209();while(!![]){try{const _0x6c33d8=-parseInt(_0x26a7a2(0x114))/0x1+-parseInt(_0x26a7a2(0x116))/0x2+-parseInt(_0x26a7a2(0x11e))/0x3+-parseInt(_0x26a7a2(0x119))/0x4*(parseInt(_0x26a7a2(0x12a))/0x5)+parseInt(_0x26a7a2(0x12c))/0x6+parseInt(_0x26a7a2(0x129))/0x7+-parseInt(_0x26a7a2(0x117))/0x8*(-parseInt(_0x26a7a2(0x11c))/0x9);if(_0x6c33d8===_0x3fa3f1)break;else _0x5cfdae['push'](_0x5cfdae['shift']());}catch(_0x54bc4d){_0x5cfdae['push'](_0x5cfdae['shift']());}}}(_0x5482,0xadf75));function _0x5141(_0x4329ef,_0x722097){const _0x5482f0=_0x5482();return _0x5141=function(_0x514189,_0x27c1d8){_0x514189=_0x514189-0x112;let _0x3fcad3=_0x5482f0[_0x514189];return _0x3fcad3;},_0x5141(_0x4329ef,_0x722097);}import{View as _0x481d5f}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x488fd3}from'./presencecounterview.js';import{PresenceInlineListView as _0x5d0974}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x481d5f{[_0x2392a4(0x12b)];[_0x2392a4(0x125)];constructor(_0x31f0a8,_0x532610=0x6){const _0x1118d1=_0x2392a4;super(_0x31f0a8);const _0xaeed7d=this[_0x1118d1(0x112)];this[_0x1118d1(0x128)](_0x1118d1(0x113),!0x0),this[_0x1118d1(0x12b)]=new _0x488fd3(this[_0x1118d1(0x122)],_0x532610),this[_0x1118d1(0x125)]=new _0x5d0974(_0x31f0a8),this[_0x1118d1(0x125)][_0x1118d1(0x121)](_0x1118d1(0x118))['to'](this,_0x1118d1(0x113)),this[_0x1118d1(0x120)](this[_0x1118d1(0x125)][_0x1118d1(0x12d)],_0x1118d1(0x11d),()=>{const _0xb26589=_0x1118d1;for(const _0x2cb293 of this[_0xb26589(0x125)][_0xb26589(0x12d)])_0x2cb293[_0xb26589(0x127)]='s';this[_0xb26589(0x125)][_0xb26589(0x12d)][_0xb26589(0x11f)]&&(this[_0xb26589(0x125)][_0xb26589(0x12d)][_0xb26589(0x11f)][_0xb26589(0x127)]='se');}),this[_0x1118d1(0x124)]({'tag':_0x1118d1(0x126),'attributes':{'class':['ck',_0x1118d1(0x11b),_0x1118d1(0x123),_0x1118d1(0x11a),_0xaeed7d['if'](_0x1118d1(0x113),_0x1118d1(0x115))]},'children':[this[_0x1118d1(0x125)]]});}}
23
+ const _0x420a17=_0x1aad;(function(_0xcde2bf,_0x38c813){const _0x2c80a0=_0x1aad,_0x4a6734=_0xcde2bf();while(!![]){try{const _0x543adf=parseInt(_0x2c80a0(0x1cb))/0x1+parseInt(_0x2c80a0(0x1e0))/0x2+parseInt(_0x2c80a0(0x1db))/0x3*(-parseInt(_0x2c80a0(0x1de))/0x4)+-parseInt(_0x2c80a0(0x1cd))/0x5+-parseInt(_0x2c80a0(0x1d2))/0x6+parseInt(_0x2c80a0(0x1d5))/0x7*(parseInt(_0x2c80a0(0x1d1))/0x8)+-parseInt(_0x2c80a0(0x1d4))/0x9;if(_0x543adf===_0x38c813)break;else _0x4a6734['push'](_0x4a6734['shift']());}catch(_0x10bab4){_0x4a6734['push'](_0x4a6734['shift']());}}}(_0x5e0a,0x91b48));function _0x5e0a(){const _0x27c72a=['bind','ck-presence-list--collapsed','ck-reset','counterView','39267QAFNnL','tooltipPosition','ck-rounded-corners','16RXpoxX','ck-presence-list','2035032gutpDa','locale','hasPopup','inlineListView','change','bindTemplate','set','488489fLMJmo','listenTo','2299050JdUGgo','setTemplate','first','items','9232616vFqTif','4517544TvEaXp','div','7183656haWzIM','7ZGIHDF','isCollapsed'];_0x5e0a=function(){return _0x27c72a;};return _0x5e0a();}import{View as _0x3537e3}from'ckeditor5/src/ui.js';function _0x1aad(_0xcbeb04,_0x10f5a8){const _0x5e0a31=_0x5e0a();return _0x1aad=function(_0x1aadf6,_0x577d28){_0x1aadf6=_0x1aadf6-0x1c5;let _0x456709=_0x5e0a31[_0x1aadf6];return _0x456709;},_0x1aad(_0xcbeb04,_0x10f5a8);}import{PresenceCounterView as _0x4bd653}from'./presencecounterview.js';import{PresenceInlineListView as _0x5133f6}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3537e3{[_0x420a17(0x1da)];[_0x420a17(0x1c7)];constructor(_0x427492,_0x780467=0x6){const _0x52d0f6=_0x420a17;super(_0x427492);const _0x4e810b=this[_0x52d0f6(0x1c9)];this[_0x52d0f6(0x1ca)](_0x52d0f6(0x1d6),!0x0),this[_0x52d0f6(0x1da)]=new _0x4bd653(this[_0x52d0f6(0x1c5)],_0x780467),this[_0x52d0f6(0x1c7)]=new _0x5133f6(_0x427492),this[_0x52d0f6(0x1c7)][_0x52d0f6(0x1d7)](_0x52d0f6(0x1c6))['to'](this,_0x52d0f6(0x1d6)),this[_0x52d0f6(0x1cc)](this[_0x52d0f6(0x1c7)][_0x52d0f6(0x1d0)],_0x52d0f6(0x1c8),()=>{const _0x2fe80b=_0x52d0f6;for(const _0x33a914 of this[_0x2fe80b(0x1c7)][_0x2fe80b(0x1d0)])_0x33a914[_0x2fe80b(0x1dc)]='s';this[_0x2fe80b(0x1c7)][_0x2fe80b(0x1d0)][_0x2fe80b(0x1cf)]&&(this[_0x2fe80b(0x1c7)][_0x2fe80b(0x1d0)][_0x2fe80b(0x1cf)][_0x2fe80b(0x1dc)]='se');}),this[_0x52d0f6(0x1ce)]({'tag':_0x52d0f6(0x1d3),'attributes':{'class':['ck',_0x52d0f6(0x1df),_0x52d0f6(0x1d9),_0x52d0f6(0x1dd),_0x4e810b['if'](_0x52d0f6(0x1d6),_0x52d0f6(0x1d8))]},'children':[this[_0x52d0f6(0x1c7)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x31d3(_0x324536,_0xf796f){var _0x53c8ef=_0x53c8();return _0x31d3=function(_0x31d3f0,_0x268d8f){_0x31d3f0=_0x31d3f0-0x83;var _0x25caf5=_0x53c8ef[_0x31d3f0];return _0x25caf5;},_0x31d3(_0x324536,_0xf796f);}var _0x313d9f=_0x31d3;(function(_0x18d88e,_0x665f58){var _0x49b600=_0x31d3,_0x160664=_0x18d88e();while(!![]){try{var _0x30f800=-parseInt(_0x49b600(0x87))/0x1+-parseInt(_0x49b600(0x8d))/0x2+parseInt(_0x49b600(0x83))/0x3*(parseInt(_0x49b600(0x86))/0x4)+-parseInt(_0x49b600(0x85))/0x5+parseInt(_0x49b600(0x8c))/0x6*(-parseInt(_0x49b600(0x88))/0x7)+parseInt(_0x49b600(0x84))/0x8+-parseInt(_0x49b600(0x8e))/0x9*(-parseInt(_0x49b600(0x90))/0xa);if(_0x30f800===_0x665f58)break;else _0x160664['push'](_0x160664['shift']());}catch(_0x2b2cdd){_0x160664['push'](_0x160664['shift']());}}}(_0x53c8,0xb99f1));function _0x53c8(){var _0x3a3dbe=['6163690tDlWnT','1870060BqtnNu','1073229RPHUzS','641361CYNUnr','isPremiumPlugin','isOfficialPlugin','pluginName','6EBAhJt','3035512qErBRK','9NbqjYF','requires','30393310tNqQLA','PresenceList','6aKYnzx','5610320PqYOAj'];_0x53c8=function(){return _0x3a3dbe;};return _0x53c8();}import{ContextPlugin as _0x586ca2}from'ckeditor5/src/core.js';import{Sessions as _0x334b09}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3d8827}from'./presencelist/presencelistui.js';export class PresenceList extends _0x586ca2{static get[_0x313d9f(0x8f)](){return[_0x334b09,_0x3d8827];}static get[_0x313d9f(0x8b)](){var _0x1018ec=_0x313d9f;return _0x1018ec(0x91);}static get[_0x313d9f(0x8a)](){return!0x0;}static get[_0x313d9f(0x89)](){return!0x0;}}
23
+ function _0x1e5b(){var _0x136cc2=['isOfficialPlugin','2267262vJGxPQ','80898PYyKai','pluginName','5575269CnxQNo','3441XgafLo','PresenceList','1222140VQZPaS','774270svmeUI','35tbdqeE','isPremiumPlugin','24tJWDWB','106708UoDoqC','660FmWlRG','requires'];_0x1e5b=function(){return _0x136cc2;};return _0x1e5b();}var _0x4f4140=_0x37a7;(function(_0x2ef113,_0x3ec370){var _0xd49bdc=_0x37a7,_0x463fb6=_0x2ef113();while(!![]){try{var _0x38cc3b=parseInt(_0xd49bdc(0xce))/0x1+-parseInt(_0xd49bdc(0xd3))/0x2*(parseInt(_0xd49bdc(0xcb))/0x3)+-parseInt(_0xd49bdc(0xd2))/0x4+parseInt(_0xd49bdc(0xcf))/0x5*(-parseInt(_0xd49bdc(0xc8))/0x6)+parseInt(_0xd49bdc(0xca))/0x7+-parseInt(_0xd49bdc(0xd1))/0x8*(parseInt(_0xd49bdc(0xc7))/0x9)+parseInt(_0xd49bdc(0xcd))/0xa;if(_0x38cc3b===_0x3ec370)break;else _0x463fb6['push'](_0x463fb6['shift']());}catch(_0xdfd7c5){_0x463fb6['push'](_0x463fb6['shift']());}}}(_0x1e5b,0x6ad7d));function _0x37a7(_0x26cef3,_0x10d419){var _0x1e5be5=_0x1e5b();return _0x37a7=function(_0x37a7f4,_0x1cf488){_0x37a7f4=_0x37a7f4-0xc6;var _0x251a09=_0x1e5be5[_0x37a7f4];return _0x251a09;},_0x37a7(_0x26cef3,_0x10d419);}import{ContextPlugin as _0x2d4ed2}from'ckeditor5/src/core.js';import{Sessions as _0x1561c6}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5c1132}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2d4ed2{static get[_0x4f4140(0xd4)](){return[_0x1561c6,_0x5c1132];}static get[_0x4f4140(0xc9)](){var _0x4936b9=_0x4f4140;return _0x4936b9(0xcc);}static get[_0x4f4140(0xc6)](){return!0x0;}static get[_0x4f4140(0xd0)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x598ece=_0x4a1c;(function(_0x18de39,_0x215fd7){const _0xed1476=_0x4a1c,_0x2e6243=_0x18de39();while(!![]){try{const _0x400fe6=-parseInt(_0xed1476(0xbc))/0x1+-parseInt(_0xed1476(0xb3))/0x2+-parseInt(_0xed1476(0xed))/0x3+-parseInt(_0xed1476(0xc5))/0x4+parseInt(_0xed1476(0xb1))/0x5+-parseInt(_0xed1476(0xea))/0x6+parseInt(_0xed1476(0xbe))/0x7*(parseInt(_0xed1476(0xe0))/0x8);if(_0x400fe6===_0x215fd7)break;else _0x2e6243['push'](_0x2e6243['shift']());}catch(_0x4b6cb3){_0x2e6243['push'](_0x2e6243['shift']());}}}(_0x5e84,0x91c86));import{Context as _0xf41a5,ContextPlugin as _0x3122d7}from'ckeditor5/src/core.js';import{CKEditorError as _0xfeff57}from'ckeditor5/src/utils.js';function _0x4a1c(_0x373bdb,_0x37fa8b){const _0x5e84da=_0x5e84();return _0x4a1c=function(_0x4a1c6b,_0x4c43be){_0x4a1c6b=_0x4a1c6b-0xb0;let _0x12920b=_0x5e84da[_0x4a1c6b];return _0x12920b;},_0x4a1c(_0x373bdb,_0x37fa8b);}import{Users as _0x1fe59c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x37d12f,User as _0x38997e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2700ea}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x273f6b}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x3122d7{static [_0x598ece(0xba)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x37d12f)());[_0x598ece(0x111)];static get[_0x598ece(0xf5)](){const _0x180f4f=_0x598ece;return[_0x2700ea,_0x180f4f(0x112),_0x273f6b,_0x1fe59c];}static get[_0x598ece(0xde)](){const _0x5b29fc=_0x598ece;return _0x5b29fc(0x108);}static get[_0x598ece(0xb5)](){return!0x0;}static get[_0x598ece(0xce)](){return!0x0;}constructor(_0x3761a1){const _0x4f5518=_0x598ece;super(_0x3761a1),this[_0x4f5518(0x111)]=new Map();}async[_0x598ece(0xc0)](){const _0x5a55ae=_0x598ece,_0x37412d=this[_0x5a55ae(0xfe)],_0x32eba4=_0x37412d[_0x5a55ae(0x10e)][_0x5a55ae(0xc4)](_0x5a55ae(0x112));if(_0x37412d[_0x5a55ae(0x10e)][_0x5a55ae(0xc4)](_0x2700ea)[_0x5a55ae(0x10a)](this),_0x32eba4[_0x5a55ae(0xd8)]={'addCommentThread':async({channelId:_0x38ecfd,threadId:_0x3529eb,comments:_0x15044d,resolvedAt:_0x77d61a,resolvedBy:_0x17050d,context:_0x3226e1,attributes:_0x4ee21e})=>{const _0x5e6798=_0x5a55ae,_0x1ee694=await this[_0x5e6798(0xb2)](_0x38ecfd)[_0x5e6798(0x10d)]({'commentThreadId':_0x3529eb,'comments':_0x15044d[_0x5e6798(0xc2)](_0x3262e8=>function(_0x2e4378,_0x3948c0,_0x26e223){const _0x32ebbd=_0x5e6798;return{'commentThreadId':_0x26e223,'commentId':_0x2e4378[_0x32ebbd(0xd1)],'userId':_0x2e4378[_0x32ebbd(0xd3)],'content':_0x2e4378[_0x32ebbd(0xb6)],'documentId':_0x3948c0,'createdAt':_0x2e4378[_0x32ebbd(0xdd)],'attributes':_0x2e4378[_0x32ebbd(0xe5)]||{}};}(_0x3262e8,_0x38ecfd,_0x3529eb)),'resolvedAt':_0x77d61a,'resolvedBy':_0x17050d,'context':_0x3226e1,'attributes':_0x4ee21e})[_0x5e6798(0xd5)](tt);return{'threadId':_0x1ee694[_0x5e6798(0xdb)],'comments':_0x1ee694[_0x5e6798(0xee)]};},'getCommentThread':async({channelId:_0x485dfe,threadId:_0x3834a5})=>{const _0x4b072d=_0x5a55ae,_0x38027d=await this[_0x4b072d(0xb2)](_0x485dfe)[_0x4b072d(0xe9)](_0x3834a5)[_0x4b072d(0xd5)](Z)[_0x4b072d(0xd5)](tt);return _0x38027d?_0x38027d[_0x4b072d(0xe1)]?null:(await this[_0x4b072d(0xfc)]([_0x38027d]),{'threadId':_0x38027d[_0x4b072d(0xdb)],'comments':_0x38027d[_0x4b072d(0xee)][_0x4b072d(0xc2)](et),'context':_0x38027d[_0x4b072d(0xfe)],'resolvedAt':_0x38027d[_0x4b072d(0xf1)],'resolvedBy':_0x38027d[_0x4b072d(0xd7)],'attributes':_0x38027d[_0x4b072d(0xe5)]||{}}):null;},'updateCommentThread':async({channelId:_0x5f3d36,threadId:_0x2d7cc5,context:_0x8faa2f,unlinkedAt:_0x5491d6,attributes:_0xba7b6c})=>this[_0x5a55ae(0xb2)](_0x5f3d36)[_0x5a55ae(0xda)]({'commentThreadId':_0x2d7cc5,'context':_0x8faa2f,'attributes':_0xba7b6c,'unlinkedAt':_0x5491d6})[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'resolveCommentThread':async({channelId:_0x5035b9,threadId:_0x2cbdbe})=>{const _0x2ecebd=_0x5a55ae,_0x48e170=await this[_0x2ecebd(0xb2)](_0x5035b9)[_0x2ecebd(0xbb)](_0x2cbdbe)[_0x2ecebd(0xd5)](Z)[_0x2ecebd(0xd5)](tt);return{'threadId':_0x48e170[_0x2ecebd(0xdb)],'resolvedAt':_0x48e170[_0x2ecebd(0xf1)],'resolvedBy':_0x48e170[_0x2ecebd(0xd7)]};},'reopenCommentThread':async({channelId:_0x4b8693,threadId:_0x3d135a})=>this[_0x5a55ae(0xb2)](_0x4b8693)[_0x5a55ae(0xeb)](_0x3d135a)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'removeCommentThread':({channelId:_0x31438e,threadId:_0x22580b})=>this[_0x5a55ae(0xb2)](_0x31438e)[_0x5a55ae(0x106)](_0x22580b)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'addComment':({channelId:_0x30792d,threadId:_0x118ea4,commentId:_0x518758,content:_0x3f01c0,attributes:_0x4de534})=>this[_0x5a55ae(0xb2)](_0x30792d)[_0x5a55ae(0xdc)](_0x118ea4,_0x518758,_0x3f01c0,_0x4de534)[_0x5a55ae(0xd5)](tt),'updateComment':({channelId:_0xd2305d,threadId:_0x124407,commentId:_0x42ddfc,content:_0x1f87cc,attributes:_0x3b7770})=>this[_0x5a55ae(0xb2)](_0xd2305d)[_0x5a55ae(0xc3)](_0x124407,_0x42ddfc,_0x1f87cc,_0x3b7770)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'removeComment':({channelId:_0x2dac44,threadId:_0x2ed6ad,commentId:_0x135e12})=>this[_0x5a55ae(0xb2)](_0x2dac44)[_0x5a55ae(0xf2)](_0x2ed6ad,_0x135e12)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt)},_0x37412d instanceof _0xf41a5){const _0x133c67=_0x37412d[_0x5a55ae(0xb8)][_0x5a55ae(0xc4)](_0x5a55ae(0xd0)),_0x1530b7=_0x37412d[_0x5a55ae(0x10e)][_0x5a55ae(0xc4)](_0x273f6b);await this[_0x5a55ae(0xdf)](_0x133c67);const _0x1820c2=await this[_0x5a55ae(0x111)][_0x5a55ae(0xc4)](_0x133c67)[_0x5a55ae(0xe6)]();this[_0x5a55ae(0xec)](_0x1530b7,_0x5a55ae(0x101)+_0x133c67,(_0x481899,{session:_0x3ab9bb})=>{const _0x22384e=_0x5a55ae;_0x3ab9bb['id']===_0x1530b7[_0x22384e(0x107)]&&(_0x481899[_0x22384e(0xb0)](),this[_0x22384e(0xfe)][_0x22384e(0x10e)][_0x22384e(0xc4)](_0x22384e(0x110))[_0x22384e(0xc6)](_0x3ab9bb[_0x22384e(0xc1)],_0x133c67));}),_0x1530b7[_0x5a55ae(0xf6)](_0x133c67,_0x1820c2);}}async[_0x598ece(0xdf)](_0x184300){const _0x5a2887=_0x598ece;if(this[_0x5a2887(0x111)][_0x5a2887(0xf3)](_0x184300))throw new _0xfeff57(_0x5a2887(0xf9),null,{'channelId':_0x184300});const _0x3f8c00=this[_0x5a2887(0xfe)][_0x5a2887(0x10e)][_0x5a2887(0xc4)](_0x5a2887(0x112)),_0x210259=new CloudServicesCommentsAdapter[(_0x5a2887(0xba))](_0x184300);this[_0x5a2887(0x111)][_0x5a2887(0xca)](_0x184300,_0x210259),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xc7),(_0x49c55d,_0x251e2d)=>{const _0x5184e1=_0x5a2887,{commentThreadId:_0x2462e2,documentId:_0x2104a1,context:_0x7f8688,attributes:_0x5e8440,resolvedAt:_0x276f8f,resolvedBy:_0x4d5a01,comments:_0xfdacdc}=_0x251e2d;_0x3f8c00[_0x5184e1(0xe9)](_0x2462e2)||_0x3f8c00[_0x5184e1(0x10d)]({'threadId':_0x2462e2,'channelId':_0x2104a1,'comments':_0xfdacdc?_0xfdacdc[_0x5184e1(0xc2)](et):[],'context':_0x7f8688,'attributes':_0x5e8440,'resolvedAt':_0x276f8f,'resolvedBy':_0x4d5a01,'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0x10c),(_0x108826,{commentThreadId:_0x35c02c,documentId:_0x5d6d4b,context:_0x5b6eb6,unlinkedAt:_0x33bbae,attributes:_0x12be7c})=>{const _0x398525=_0x5a2887;_0x3f8c00[_0x398525(0xe9)](_0x35c02c)&&_0x3f8c00[_0x398525(0xda)]({'threadId':_0x35c02c,'channelId':_0x5d6d4b,'context':_0x5b6eb6,'unlinkedAt':_0x33bbae,'attributes':_0x12be7c,'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0x103),(_0x36547c,{commentThreadId:_0x55a0bb,resolvedBy:_0x2ccb25,resolvedAt:_0x3a1601})=>{const _0x4c7b7a=_0x5a2887,_0x29f8db=_0x3f8c00[_0x4c7b7a(0xe9)](_0x55a0bb);_0x29f8db&&_0x29f8db[_0x4c7b7a(0xb4)]({'resolvedBy':_0x2ccb25,'resolvedAt':_0x3a1601,'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xf8),(_0x17ea2c,{commentThreadId:_0x35a787})=>{const _0x3d3271=_0x5a2887,_0x50eba2=_0x3f8c00[_0x3d3271(0xe9)](_0x35a787);_0x50eba2&&_0x50eba2[_0x3d3271(0x100)]({'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xff),(_0x1ff4a8,{commentThreadId:_0x232861})=>{const _0x1283c1=_0x5a2887,_0x14b24f=_0x3f8c00[_0x1283c1(0xe9)](_0x232861);_0x14b24f&&_0x14b24f[_0x1283c1(0x105)]({'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xf4),(_0x1d1123,_0x5c24a0)=>{const _0x4f02b1=_0x5a2887,_0xc3e3d5=_0x5c24a0[_0x4f02b1(0xdb)],_0x5651fb=_0x3f8c00[_0x4f02b1(0xe9)](_0xc3e3d5);_0x5651fb&&_0x5651fb[_0x4f02b1(0xdc)]({...et(_0x5c24a0),'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xc8),(_0x479ddf,{commentThreadId:_0x387681,commentId:_0x41f729,content:_0x445be3,attributes:_0x125dda})=>{const _0x248f0d=_0x5a2887,_0x3c982d=_0x3f8c00[_0x248f0d(0xe9)](_0x387681);if(_0x3c982d){const _0x5d57ec=_0x3c982d[_0x248f0d(0xe3)](_0x41f729);_0x5d57ec&&_0x5d57ec[_0x248f0d(0xd4)]({'content':_0x445be3,'attributes':_0x125dda,'isFromAdapter':!0x0});}}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xef),(_0x5e5cd0,{commentThreadId:_0x42028f,commentId:_0x4e4bc4})=>{const _0x129de8=_0x5a2887,_0x36ddaf=_0x3f8c00[_0x129de8(0xe9)](_0x42028f);if(_0x36ddaf){const _0x38a0bb=_0x36ddaf[_0x129de8(0xe3)](_0x4e4bc4);_0x38a0bb&&_0x38a0bb[_0x129de8(0x105)]({'isFromAdapter':!0x0});}}),await this[_0x5a2887(0xfa)](_0x184300);}[_0x598ece(0xe4)](){const _0x3e3e36=_0x598ece;if(this[_0x3e3e36(0xfe)]instanceof _0xf41a5){const _0x2ccf9a=this[_0x3e3e36(0xfe)][_0x3e3e36(0xb8)][_0x3e3e36(0xc4)](_0x3e3e36(0xd0));this[_0x3e3e36(0xcf)](_0x2ccf9a);}}[_0x598ece(0xcf)](_0x5e2f3c){const _0x8f055c=_0x598ece;if(!this[_0x8f055c(0x111)][_0x8f055c(0xf3)](_0x5e2f3c))throw new _0xfeff57(_0x8f055c(0xbd),null,{'channelId':_0x5e2f3c});this[_0x8f055c(0xb2)](_0x5e2f3c)[_0x8f055c(0xb9)](),this[_0x8f055c(0x111)][_0x8f055c(0xf7)](_0x5e2f3c);}async[_0x598ece(0xd9)](){const _0x334c77=_0x598ece;for(const _0x8c323 of this[_0x334c77(0x111)][_0x334c77(0xcc)]())await this[_0x334c77(0xfa)](_0x8c323);if(this[_0x334c77(0xfe)]instanceof _0xf41a5){const _0x4a5026=this[_0x334c77(0xfe)][_0x334c77(0xb8)][_0x334c77(0xc4)](_0x334c77(0xd0)),_0x3900c0=this[_0x334c77(0xfe)][_0x334c77(0x10e)][_0x334c77(0xc4)](_0x273f6b);_0x3900c0[_0x334c77(0xe7)](_0x4a5026);const _0x3fa55f=await this[_0x334c77(0x111)][_0x334c77(0xc4)](_0x4a5026)[_0x334c77(0xe6)]();_0x3900c0[_0x334c77(0xf6)](_0x4a5026,_0x3fa55f);}}async[_0x598ece(0xfa)](_0x2615ff){const _0x54258c=_0x598ece,{connection:_0x1ce357}=this[_0x54258c(0xfe)][_0x54258c(0x10e)][_0x54258c(0xc4)](_0x2700ea),_0x309109=this[_0x54258c(0xfe)][_0x54258c(0x10e)][_0x54258c(0xc4)](_0x54258c(0x112)),_0xd71605=this[_0x54258c(0x111)][_0x54258c(0xc4)](_0x2615ff),_0x500c95=await _0xd71605[_0x54258c(0x113)](_0x1ce357);await this[_0x54258c(0xfc)](_0x500c95);const _0x301d2a=new Set(Array[_0x54258c(0xfb)](_0x309109[_0x54258c(0xcd)]({'channelId':_0x2615ff}),_0x5d5eef=>_0x5d5eef['id']));for(const _0x2a167b of _0x500c95)_0x2a167b[_0x54258c(0xe1)]||_0x301d2a[_0x54258c(0xf7)](_0x2a167b[_0x54258c(0xdb)]);for(const _0x205bd0 of _0x301d2a)_0x309109[_0x54258c(0xe9)](_0x205bd0)[_0x54258c(0x105)]({'isFromAdapter':!0x0});for(const _0x30c86c of _0x500c95){let _0x831599=_0x309109[_0x54258c(0xe9)](_0x30c86c[_0x54258c(0xdb)]);const {commentThreadId:_0x54465f,context:_0x386e7a,attributes:_0x4efa11,resolvedBy:_0x2c1fc9,resolvedAt:_0x100ca7,unlinkedAt:_0x5b5a5d,deletedAt:_0x1e8c77}=_0x30c86c;if(_0x1e8c77)continue;_0x831599||(_0x831599=_0x309109[_0x54258c(0x10d)]({'channelId':_0x2615ff,'threadId':_0x54465f,'context':_0x386e7a,'attributes':_0x4efa11||{},'resolvedBy':_0x2c1fc9,'resolvedAt':_0x100ca7,'unlinkedAt':_0x5b5a5d,'isFromAdapter':!0x0}));const _0x1a692f=new Set(Array[_0x54258c(0xfb)](_0x831599[_0x54258c(0xee)],_0x355bf8=>_0x355bf8['id']));for(const _0x4eab1b of _0x30c86c[_0x54258c(0xee)])_0x1a692f[_0x54258c(0xf7)](_0x4eab1b[_0x54258c(0xd1)]);for(const _0x3ae809 of _0x1a692f)_0x831599[_0x54258c(0xe3)](_0x3ae809)[_0x54258c(0x105)]({'isFromAdapter':!0x0});for(const _0x37e759 of _0x30c86c[_0x54258c(0xee)]){const _0x33e59c=_0x831599[_0x54258c(0xe3)](_0x37e759[_0x54258c(0xd1)]);_0x33e59c?_0x33e59c[_0x54258c(0xb6)]!==_0x37e759[_0x54258c(0xb6)]&&_0x33e59c[_0x54258c(0xd4)]({'content':_0x37e759[_0x54258c(0xb6)],'isFromAdapter':!0x0}):_0x831599[_0x54258c(0xdc)](Object[_0x54258c(0xe2)](et(_0x37e759),{'isFromAdapter':!0x0}));}}}[_0x598ece(0xb2)](_0x1f1856){const _0x4f3660=_0x598ece;if(!this[_0x4f3660(0x111)][_0x4f3660(0xf3)](_0x1f1856))throw new _0xfeff57(_0x4f3660(0xbf),null,{'channelId':_0x1f1856});return this[_0x4f3660(0x111)][_0x4f3660(0xc4)](_0x1f1856);}async[_0x598ece(0xfc)](_0x1fc971){const _0x5128d6=_0x598ece,_0x3cc3ae=this[_0x5128d6(0xfe)][_0x5128d6(0x10e)][_0x5128d6(0xc4)](_0x1fe59c),{connection:_0x233bdb}=this[_0x5128d6(0xfe)][_0x5128d6(0x10e)][_0x5128d6(0xc4)](_0x2700ea),_0x293a0c=new Set();for(const {resolvedBy:_0x41660d,comments:_0x4c8856}of _0x1fc971){_0x41660d&&!_0x3cc3ae[_0x5128d6(0x104)](_0x41660d)&&_0x293a0c[_0x5128d6(0xc9)](_0x41660d);for(const {userId:_0x1c3a66}of _0x4c8856)_0x3cc3ae[_0x5128d6(0x104)](_0x1c3a66)||_0x293a0c[_0x5128d6(0xc9)](_0x1c3a66);}if(0x0===_0x293a0c[_0x5128d6(0xcb)])return;const _0x1534b1=await _0x38997e[_0x5128d6(0x10b)](_0x233bdb,Array[_0x5128d6(0xfb)](_0x293a0c));for(const _0x394749 of _0x1534b1)_0x3cc3ae[_0x5128d6(0x104)](_0x394749['id'])||_0x3cc3ae[_0x5128d6(0xe8)](_0x394749);}}async function Z(_0xe6ace){const _0xd1b885=_0x598ece;if(_0xd1b885(0x109)!==_0xe6ace[_0xd1b885(0xfd)])throw _0xe6ace;}function _0x5e84(){const _0x39bde3=['plugins','startsWith','Permissions','_services','CommentsRepository','connect','off','243095TzlWJL','_getService','2337324uMCEqy','resolve','isOfficialPlugin','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','config','disconnect','CommentsService','resolveCommentThread','862593gzaKxi','cloudservicescommentsadapter-disconnect-not-exist','770bUDalW','cloudservicescommentsadapter-service-not-exist','init','permissions','map','updateComment','get','3986808ELWLpz','setPermissions','commentThreadAdded','commentUpdated','add','set','size','keys','getCommentThreads','isPremiumPlugin','_terminateService','collaboration.channelId','commentId','userId','authorId','update','catch','cloud-services-internal-error:\x20Request\x20timeout.','resolvedBy','adapter','reconnect','updateCommentThread','commentThreadId','addComment','createdAt','pluginName','_setUpService','373936efnJGW','deletedAt','assign','getComment','destroy','attributes','getConnectedSessions','unregister','addUser','getCommentThread','6417408UAcAjt','reopenCommentThread','listenTo','1486764vwPDXp','comments','commentRemoved','message','resolvedAt','removeComment','has','commentAdded','requires','register','delete','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','_connectService','from','_fetchMissingUsersForThreads','code','context','commentThreadRemoved','reopen','sessionAdd:','cloud-services-internal-error:\x20Not\x20connected.','commentThreadResolved','getUser','remove','removeCommentThread','mySessionId','CloudServicesCommentsAdapter','404','addToReconnectionStack','getMany','commentThreadUpdated','addCommentThread'];_0x5e84=function(){return _0x39bde3;};return _0x5e84();}function tt(_0x492cf3){const _0x1a123a=_0x598ece;if((_0x146c69=_0x492cf3)[_0x1a123a(0xf0)][_0x1a123a(0x10f)](_0x1a123a(0xb7))||_0x146c69[_0x1a123a(0xf0)][_0x1a123a(0x10f)](_0x1a123a(0x102))||_0x146c69[_0x1a123a(0xf0)][_0x1a123a(0x10f)](_0x1a123a(0xd6)))return new Promise(()=>{});var _0x146c69;throw _0x492cf3;}function et(_0x207342){const _0xa68ac9=_0x598ece;return{'threadId':_0x207342[_0xa68ac9(0xdb)],'commentId':_0x207342[_0xa68ac9(0xd1)],'content':_0x207342[_0xa68ac9(0xb6)],'createdAt':_0x207342[_0xa68ac9(0xdd)],'authorId':_0x207342[_0xa68ac9(0xd2)],'attributes':_0x207342[_0xa68ac9(0xe5)]||{}};}
23
+ const _0x47f45f=_0x3c66;(function(_0x3949be,_0x4d7631){const _0x579512=_0x3c66,_0x4033d8=_0x3949be();while(!![]){try{const _0x537384=-parseInt(_0x579512(0x1e0))/0x1*(parseInt(_0x579512(0x223))/0x2)+-parseInt(_0x579512(0x204))/0x3*(-parseInt(_0x579512(0x224))/0x4)+-parseInt(_0x579512(0x220))/0x5+parseInt(_0x579512(0x214))/0x6*(parseInt(_0x579512(0x21d))/0x7)+-parseInt(_0x579512(0x1d1))/0x8*(parseInt(_0x579512(0x216))/0x9)+-parseInt(_0x579512(0x1e3))/0xa*(-parseInt(_0x579512(0x211))/0xb)+parseInt(_0x579512(0x1d2))/0xc;if(_0x537384===_0x4d7631)break;else _0x4033d8['push'](_0x4033d8['shift']());}catch(_0x1f3265){_0x4033d8['push'](_0x4033d8['shift']());}}}(_0x5c15,0x784b6));import{Context as _0x4d5ce1,ContextPlugin as _0x3b26b7}from'ckeditor5/src/core.js';import{CKEditorError as _0x12749a}from'ckeditor5/src/utils.js';import{Users as _0x57c0f6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2b44f7,User as _0x43a30d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x230724}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x47891c}from'../realtimecollaborativeediting/sessions.js';function _0x3c66(_0x11b837,_0x5770eb){const _0x5c1591=_0x5c15();return _0x3c66=function(_0x3c66f9,_0x41a807){_0x3c66f9=_0x3c66f9-0x1c7;let _0x2cc30c=_0x5c1591[_0x3c66f9];return _0x2cc30c;},_0x3c66(_0x11b837,_0x5770eb);}function _0x5c15(){const _0x53ce3a=['getUser','comments','cloudservicescommentsadapter-connect-already-connected','commentThreadRemoved','adapter','108912KZhBUP','reconnect','addCommentThread','removeCommentThread','resolvedBy','userId','listenTo','set','remove','_setUpService','getConnectedSessions','reopen','resolve','1166AeaBhG','_getService','setPermissions','1014zxyTol','content','1262934VDLAPT','commentRemoved','createdAt','getComment','cloud-services-internal-error:\x20Request\x20timeout.','connect','keys','40432YCNaeh','delete','_services','4843145SgsZNd','CommentsRepository','cloudservicescommentsadapter-disconnect-not-exist','2VRkfwL','92neSWdm','404','has','attributes','getCommentThread','disconnect','commentThreadId','removeComment','unregister','authorId','cloudservicescommentsadapter-service-not-exist','_terminateService','resolveCommentThread','cloud-services-internal-error:\x20Not\x20connected.','update','destroy','catch','Permissions','register','getCommentThreads','off','48LEbaNE','6916944JxMUAU','collaboration.channelId','from','reopenCommentThread','_fetchMissingUsersForThreads','addUser','commentId','context','resolvedAt','assign','commentUpdated','plugins','updateCommentThread','commentThreadUpdated','594203cTDhMZ','CommentsService','get','48110BQhXyN','size','CloudServicesCommentsAdapter','permissions','isPremiumPlugin','startsWith','isOfficialPlugin','_connectService','code','pluginName','commentThreadReopened','addComment','commentThreadAdded','config','add','sessionAdd:','deletedAt','commentThreadResolved','getMany','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','commentAdded','updateComment','requires','message','addToReconnectionStack','map','init'];_0x5c15=function(){return _0x53ce3a;};return _0x5c15();}export class CloudServicesCommentsAdapter extends _0x3b26b7{static [_0x47f45f(0x1e1)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2b44f7)());[_0x47f45f(0x21f)];static get[_0x47f45f(0x1fa)](){const _0x54ddd4=_0x47f45f;return[_0x230724,_0x54ddd4(0x221),_0x47891c,_0x57c0f6];}static get[_0x47f45f(0x1ec)](){const _0xa95d36=_0x47f45f;return _0xa95d36(0x1e5);}static get[_0x47f45f(0x1e9)](){return!0x0;}static get[_0x47f45f(0x1e7)](){return!0x0;}constructor(_0x294e78){const _0x415b53=_0x47f45f;super(_0x294e78),this[_0x415b53(0x21f)]=new Map();}async[_0x47f45f(0x1fe)](){const _0x5f0209=_0x47f45f,_0x4abee2=this[_0x5f0209(0x1d9)],_0x5da411=_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x5f0209(0x221));if(_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x230724)[_0x5f0209(0x1fc)](this),_0x5da411[_0x5f0209(0x203)]={'addCommentThread':async({channelId:_0xf0e680,threadId:_0x58c47a,comments:_0x47fed4,resolvedAt:_0x15e922,resolvedBy:_0x531858,context:_0x4b2597,attributes:_0x5d6107})=>{const _0x274f51=_0x5f0209,_0x13b3d5=await this[_0x274f51(0x212)](_0xf0e680)[_0x274f51(0x206)]({'commentThreadId':_0x58c47a,'comments':_0x47fed4[_0x274f51(0x1fd)](_0x1858f5=>function(_0x254ee1,_0x153ed7,_0x28b028){const _0x28f275=_0x274f51;return{'commentThreadId':_0x28b028,'commentId':_0x254ee1[_0x28f275(0x1d8)],'userId':_0x254ee1[_0x28f275(0x22d)],'content':_0x254ee1[_0x28f275(0x215)],'documentId':_0x153ed7,'createdAt':_0x254ee1[_0x28f275(0x218)],'attributes':_0x254ee1[_0x28f275(0x227)]||{}};}(_0x1858f5,_0xf0e680,_0x58c47a)),'resolvedAt':_0x15e922,'resolvedBy':_0x531858,'context':_0x4b2597,'attributes':_0x5d6107})[_0x274f51(0x1cc)](A);return{'threadId':_0x13b3d5[_0x274f51(0x22a)],'comments':_0x13b3d5[_0x274f51(0x200)]};},'getCommentThread':async({channelId:_0x5ffcaa,threadId:_0x19663d})=>{const _0x2fb543=_0x5f0209,_0x11902d=await this[_0x2fb543(0x212)](_0x5ffcaa)[_0x2fb543(0x228)](_0x19663d)[_0x2fb543(0x1cc)](f)[_0x2fb543(0x1cc)](A);return _0x11902d?_0x11902d[_0x2fb543(0x1f3)]?null:(await this[_0x2fb543(0x1d6)]([_0x11902d]),{'threadId':_0x11902d[_0x2fb543(0x22a)],'comments':_0x11902d[_0x2fb543(0x200)][_0x2fb543(0x1fd)](p),'context':_0x11902d[_0x2fb543(0x1d9)],'resolvedAt':_0x11902d[_0x2fb543(0x1da)],'resolvedBy':_0x11902d[_0x2fb543(0x208)],'attributes':_0x11902d[_0x2fb543(0x227)]||{}}):null;},'updateCommentThread':async({channelId:_0x10b016,threadId:_0x48804a,context:_0x4e1ac6,unlinkedAt:_0x21236a,attributes:_0x2365b7})=>this[_0x5f0209(0x212)](_0x10b016)[_0x5f0209(0x1de)]({'commentThreadId':_0x48804a,'context':_0x4e1ac6,'attributes':_0x2365b7,'unlinkedAt':_0x21236a})[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'resolveCommentThread':async({channelId:_0x132622,threadId:_0x447e53})=>{const _0x184f7b=_0x5f0209,_0x28aebe=await this[_0x184f7b(0x212)](_0x132622)[_0x184f7b(0x1c8)](_0x447e53)[_0x184f7b(0x1cc)](f)[_0x184f7b(0x1cc)](A);return{'threadId':_0x28aebe[_0x184f7b(0x22a)],'resolvedAt':_0x28aebe[_0x184f7b(0x1da)],'resolvedBy':_0x28aebe[_0x184f7b(0x208)]};},'reopenCommentThread':async({channelId:_0x31aac9,threadId:_0xe16ee})=>this[_0x5f0209(0x212)](_0x31aac9)[_0x5f0209(0x1d5)](_0xe16ee)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'removeCommentThread':({channelId:_0x28c9db,threadId:_0x5b0442})=>this[_0x5f0209(0x212)](_0x28c9db)[_0x5f0209(0x207)](_0x5b0442)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'addComment':({channelId:_0x48e9a8,threadId:_0xda5476,commentId:_0x5948c6,content:_0x1fcfcf,attributes:_0x427497})=>this[_0x5f0209(0x212)](_0x48e9a8)[_0x5f0209(0x1ee)](_0xda5476,_0x5948c6,_0x1fcfcf,_0x427497)[_0x5f0209(0x1cc)](A),'updateComment':({channelId:_0x3a68d1,threadId:_0xfa4c01,commentId:_0x250a62,content:_0x2e2013,attributes:_0x3e4886})=>this[_0x5f0209(0x212)](_0x3a68d1)[_0x5f0209(0x1f9)](_0xfa4c01,_0x250a62,_0x2e2013,_0x3e4886)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A),'removeComment':({channelId:_0x198374,threadId:_0x550ea5,commentId:_0x3ffddc})=>this[_0x5f0209(0x212)](_0x198374)[_0x5f0209(0x22b)](_0x550ea5,_0x3ffddc)[_0x5f0209(0x1cc)](f)[_0x5f0209(0x1cc)](A)},_0x4abee2 instanceof _0x4d5ce1){const _0x2f3775=_0x4abee2[_0x5f0209(0x1f0)][_0x5f0209(0x1e2)](_0x5f0209(0x1d3)),_0x4723c1=_0x4abee2[_0x5f0209(0x1dd)][_0x5f0209(0x1e2)](_0x47891c);await this[_0x5f0209(0x20d)](_0x2f3775);const _0x44a1c5=await this[_0x5f0209(0x21f)][_0x5f0209(0x1e2)](_0x2f3775)[_0x5f0209(0x20e)]();this[_0x5f0209(0x20a)](_0x4723c1,_0x5f0209(0x1f2)+_0x2f3775,(_0x223df5,{session:_0x1a2ab8})=>{const _0x345ca4=_0x5f0209;_0x1a2ab8['id']===_0x4723c1[_0x345ca4(0x1f7)]&&(_0x223df5[_0x345ca4(0x1d0)](),this[_0x345ca4(0x1d9)][_0x345ca4(0x1dd)][_0x345ca4(0x1e2)](_0x345ca4(0x1cd))[_0x345ca4(0x213)](_0x1a2ab8[_0x345ca4(0x1e6)],_0x2f3775));}),_0x4723c1[_0x5f0209(0x1ce)](_0x2f3775,_0x44a1c5);}}async[_0x47f45f(0x20d)](_0x1bc96d){const _0x345184=_0x47f45f;if(this[_0x345184(0x21f)][_0x345184(0x226)](_0x1bc96d))throw new _0x12749a(_0x345184(0x201),null,{'channelId':_0x1bc96d});const _0x2cf0c0=this[_0x345184(0x1d9)][_0x345184(0x1dd)][_0x345184(0x1e2)](_0x345184(0x221)),_0x14dfe9=new CloudServicesCommentsAdapter[(_0x345184(0x1e1))](_0x1bc96d);this[_0x345184(0x21f)][_0x345184(0x20b)](_0x1bc96d,_0x14dfe9),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1ef),(_0x217cf2,_0x3c01df)=>{const _0x35e76a=_0x345184,{commentThreadId:_0x2b4774,documentId:_0x1648b4,context:_0x245a9d,attributes:_0x42465e,resolvedAt:_0x6db50c,resolvedBy:_0x2a71a0,comments:_0x46584b}=_0x3c01df;_0x2cf0c0[_0x35e76a(0x228)](_0x2b4774)||_0x2cf0c0[_0x35e76a(0x206)]({'threadId':_0x2b4774,'channelId':_0x1648b4,'comments':_0x46584b?_0x46584b[_0x35e76a(0x1fd)](p):[],'context':_0x245a9d,'attributes':_0x42465e,'resolvedAt':_0x6db50c,'resolvedBy':_0x2a71a0,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1df),(_0x52a43c,{commentThreadId:_0x497f38,documentId:_0x39a597,context:_0x3a540c,unlinkedAt:_0x4425d0,attributes:_0x4e62ea})=>{const _0x32c0f1=_0x345184;_0x2cf0c0[_0x32c0f1(0x228)](_0x497f38)&&_0x2cf0c0[_0x32c0f1(0x1de)]({'threadId':_0x497f38,'channelId':_0x39a597,'context':_0x3a540c,'unlinkedAt':_0x4425d0,'attributes':_0x4e62ea,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1f4),(_0x4bee36,{commentThreadId:_0x5724f4,resolvedBy:_0x2c16f5,resolvedAt:_0x128bbd})=>{const _0x8cf037=_0x345184,_0x1b0d43=_0x2cf0c0[_0x8cf037(0x228)](_0x5724f4);_0x1b0d43&&_0x1b0d43[_0x8cf037(0x210)]({'resolvedBy':_0x2c16f5,'resolvedAt':_0x128bbd,'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1ed),(_0x100991,{commentThreadId:_0x2610a7})=>{const _0x630657=_0x345184,_0x1c3c66=_0x2cf0c0[_0x630657(0x228)](_0x2610a7);_0x1c3c66&&_0x1c3c66[_0x630657(0x20f)]({'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x202),(_0x57d1bc,{commentThreadId:_0xaf61a5})=>{const _0x5eb413=_0x345184,_0x2c007d=_0x2cf0c0[_0x5eb413(0x228)](_0xaf61a5);_0x2c007d&&_0x2c007d[_0x5eb413(0x20c)]({'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1f8),(_0x1f4c7d,_0x166613)=>{const _0x27468d=_0x345184,_0x1660fe=_0x166613[_0x27468d(0x22a)],_0x49080d=_0x2cf0c0[_0x27468d(0x228)](_0x1660fe);_0x49080d&&_0x49080d[_0x27468d(0x1ee)]({...p(_0x166613),'isFromAdapter':!0x0});}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x1dc),(_0x2fcbb,{commentThreadId:_0x4eca6a,commentId:_0x441a84,content:_0x5c77dc,attributes:_0x3cf6c1})=>{const _0x2ebff8=_0x345184,_0x14c495=_0x2cf0c0[_0x2ebff8(0x228)](_0x4eca6a);if(_0x14c495){const _0x3f2c98=_0x14c495[_0x2ebff8(0x219)](_0x441a84);_0x3f2c98&&_0x3f2c98[_0x2ebff8(0x1ca)]({'content':_0x5c77dc,'attributes':_0x3cf6c1,'isFromAdapter':!0x0});}}),this[_0x345184(0x20a)](_0x14dfe9,_0x345184(0x217),(_0x242157,{commentThreadId:_0x108c98,commentId:_0x39fe51})=>{const _0x1b7689=_0x345184,_0x355c11=_0x2cf0c0[_0x1b7689(0x228)](_0x108c98);if(_0x355c11){const _0x312360=_0x355c11[_0x1b7689(0x219)](_0x39fe51);_0x312360&&_0x312360[_0x1b7689(0x20c)]({'isFromAdapter':!0x0});}}),await this[_0x345184(0x1ea)](_0x1bc96d);}[_0x47f45f(0x1cb)](){const _0x5a7646=_0x47f45f;if(this[_0x5a7646(0x1d9)]instanceof _0x4d5ce1){const _0x2a96ad=this[_0x5a7646(0x1d9)][_0x5a7646(0x1f0)][_0x5a7646(0x1e2)](_0x5a7646(0x1d3));this[_0x5a7646(0x1c7)](_0x2a96ad);}}[_0x47f45f(0x1c7)](_0x24aa79){const _0x43e53d=_0x47f45f;if(!this[_0x43e53d(0x21f)][_0x43e53d(0x226)](_0x24aa79))throw new _0x12749a(_0x43e53d(0x222),null,{'channelId':_0x24aa79});this[_0x43e53d(0x212)](_0x24aa79)[_0x43e53d(0x229)](),this[_0x43e53d(0x21f)][_0x43e53d(0x21e)](_0x24aa79);}async[_0x47f45f(0x205)](){const _0xb7016f=_0x47f45f;for(const _0x4ce3ae of this[_0xb7016f(0x21f)][_0xb7016f(0x21c)]())await this[_0xb7016f(0x1ea)](_0x4ce3ae);if(this[_0xb7016f(0x1d9)]instanceof _0x4d5ce1){const _0x2a0b7=this[_0xb7016f(0x1d9)][_0xb7016f(0x1f0)][_0xb7016f(0x1e2)](_0xb7016f(0x1d3)),_0x5022c6=this[_0xb7016f(0x1d9)][_0xb7016f(0x1dd)][_0xb7016f(0x1e2)](_0x47891c);_0x5022c6[_0xb7016f(0x22c)](_0x2a0b7);const _0x4ac60c=await this[_0xb7016f(0x21f)][_0xb7016f(0x1e2)](_0x2a0b7)[_0xb7016f(0x20e)]();_0x5022c6[_0xb7016f(0x1ce)](_0x2a0b7,_0x4ac60c);}}async[_0x47f45f(0x1ea)](_0x180b7b){const _0x137f7a=_0x47f45f,{connection:_0x1e53fd}=this[_0x137f7a(0x1d9)][_0x137f7a(0x1dd)][_0x137f7a(0x1e2)](_0x230724),_0x4e3311=this[_0x137f7a(0x1d9)][_0x137f7a(0x1dd)][_0x137f7a(0x1e2)](_0x137f7a(0x221)),_0x5abec0=this[_0x137f7a(0x21f)][_0x137f7a(0x1e2)](_0x180b7b),_0x1fe181=await _0x5abec0[_0x137f7a(0x21b)](_0x1e53fd);await this[_0x137f7a(0x1d6)](_0x1fe181);const _0x16eb51=new Set(Array[_0x137f7a(0x1d4)](_0x4e3311[_0x137f7a(0x1cf)]({'channelId':_0x180b7b}),_0x1bd71c=>_0x1bd71c['id']));for(const _0x22cb63 of _0x1fe181)_0x22cb63[_0x137f7a(0x1f3)]||_0x16eb51[_0x137f7a(0x21e)](_0x22cb63[_0x137f7a(0x22a)]);for(const _0x1113a8 of _0x16eb51)_0x4e3311[_0x137f7a(0x228)](_0x1113a8)[_0x137f7a(0x20c)]({'isFromAdapter':!0x0});for(const _0x155b28 of _0x1fe181){let _0x2e6278=_0x4e3311[_0x137f7a(0x228)](_0x155b28[_0x137f7a(0x22a)]);const {commentThreadId:_0x1059f5,context:_0x318f22,attributes:_0x305b3f,resolvedBy:_0x3169a3,resolvedAt:_0xe17783,unlinkedAt:_0x465c2f,deletedAt:_0x3c3ab4}=_0x155b28;if(_0x3c3ab4)continue;_0x2e6278||(_0x2e6278=_0x4e3311[_0x137f7a(0x206)]({'channelId':_0x180b7b,'threadId':_0x1059f5,'context':_0x318f22,'attributes':_0x305b3f||{},'resolvedBy':_0x3169a3,'resolvedAt':_0xe17783,'unlinkedAt':_0x465c2f,'isFromAdapter':!0x0}));const _0xea3eca=new Set(Array[_0x137f7a(0x1d4)](_0x2e6278[_0x137f7a(0x200)],_0x53a9a1=>_0x53a9a1['id']));for(const _0x2a94c6 of _0x155b28[_0x137f7a(0x200)])_0xea3eca[_0x137f7a(0x21e)](_0x2a94c6[_0x137f7a(0x1d8)]);for(const _0x49823a of _0xea3eca)_0x2e6278[_0x137f7a(0x219)](_0x49823a)[_0x137f7a(0x20c)]({'isFromAdapter':!0x0});for(const _0x533dbb of _0x155b28[_0x137f7a(0x200)]){const _0x3587b4=_0x2e6278[_0x137f7a(0x219)](_0x533dbb[_0x137f7a(0x1d8)]);_0x3587b4?_0x3587b4[_0x137f7a(0x215)]!==_0x533dbb[_0x137f7a(0x215)]&&_0x3587b4[_0x137f7a(0x1ca)]({'content':_0x533dbb[_0x137f7a(0x215)],'isFromAdapter':!0x0}):_0x2e6278[_0x137f7a(0x1ee)](Object[_0x137f7a(0x1db)](p(_0x533dbb),{'isFromAdapter':!0x0}));}}}[_0x47f45f(0x212)](_0x586f05){const _0x34bcfd=_0x47f45f;if(!this[_0x34bcfd(0x21f)][_0x34bcfd(0x226)](_0x586f05))throw new _0x12749a(_0x34bcfd(0x22e),null,{'channelId':_0x586f05});return this[_0x34bcfd(0x21f)][_0x34bcfd(0x1e2)](_0x586f05);}async[_0x47f45f(0x1d6)](_0x1b8e28){const _0x502093=_0x47f45f,_0x176286=this[_0x502093(0x1d9)][_0x502093(0x1dd)][_0x502093(0x1e2)](_0x57c0f6),{connection:_0xf2590d}=this[_0x502093(0x1d9)][_0x502093(0x1dd)][_0x502093(0x1e2)](_0x230724),_0x3d76b7=new Set();for(const {resolvedBy:_0x4849c7,comments:_0x2ce501}of _0x1b8e28){_0x4849c7&&!_0x176286[_0x502093(0x1ff)](_0x4849c7)&&_0x3d76b7[_0x502093(0x1f1)](_0x4849c7);for(const {userId:_0xbbb299}of _0x2ce501)_0x176286[_0x502093(0x1ff)](_0xbbb299)||_0x3d76b7[_0x502093(0x1f1)](_0xbbb299);}if(0x0===_0x3d76b7[_0x502093(0x1e4)])return;const _0x5f1845=await _0x43a30d[_0x502093(0x1f5)](_0xf2590d,Array[_0x502093(0x1d4)](_0x3d76b7));for(const _0x373177 of _0x5f1845)_0x176286[_0x502093(0x1ff)](_0x373177['id'])||_0x176286[_0x502093(0x1d7)](_0x373177);}}async function f(_0x205d50){const _0x21d53b=_0x47f45f;if(_0x21d53b(0x225)!==_0x205d50[_0x21d53b(0x1eb)])throw _0x205d50;}function A(_0x38f013){const _0x2e3387=_0x47f45f;if((_0x101e71=_0x38f013)[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x1f6))||_0x101e71[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x1c9))||_0x101e71[_0x2e3387(0x1fb)][_0x2e3387(0x1e8)](_0x2e3387(0x21a)))return new Promise(()=>{});var _0x101e71;throw _0x38f013;}function p(_0x26aac7){const _0x3e6470=_0x47f45f;return{'threadId':_0x26aac7[_0x3e6470(0x22a)],'commentId':_0x26aac7[_0x3e6470(0x1d8)],'content':_0x26aac7[_0x3e6470(0x215)],'createdAt':_0x26aac7[_0x3e6470(0x218)],'authorId':_0x26aac7[_0x3e6470(0x209)],'attributes':_0x26aac7[_0x3e6470(0x227)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x418d(){const _0x170cfb=['destroy','CommentsRepository','_setUpService','ready','4wbmCgJ','_terminateService','listenTo','154482mlABBb','editor','isPremiumPlugin','plugins','11RnixKI','CommentsEditing','init','change:state','config','requires','153585UyvSiB','126RoQbis','Comments','16173khSisI','collaboration.channelId','6251973XthVbf','isThreadsLoadingPaused','switchReadOnly','246920NoxKWB','get','2456jCpCpS','22588260FtDblB','once','connected','641658SgKfyl','isOfficialPlugin','data','4axLOuw','RealTimeCollaborativeComments','pluginName'];_0x418d=function(){return _0x170cfb;};return _0x418d();}const _0x4fb884=_0x1198;(function(_0x201ba0,_0x339326){const _0x448713=_0x1198,_0x5805a7=_0x201ba0();while(!![]){try{const _0xac070e=-parseInt(_0x448713(0x19c))/0x1*(parseInt(_0x448713(0x199))/0x2)+parseInt(_0x448713(0x18f))/0x3*(-parseInt(_0x448713(0x192))/0x4)+parseInt(_0x448713(0x1a6))/0x5*(parseInt(_0x448713(0x1a7))/0x6)+-parseInt(_0x448713(0x186))/0x7+parseInt(_0x448713(0x18b))/0x8*(-parseInt(_0x448713(0x1a9))/0x9)+parseInt(_0x448713(0x189))/0xa*(-parseInt(_0x448713(0x1a0))/0xb)+parseInt(_0x448713(0x18c))/0xc;if(_0xac070e===_0x339326)break;else _0x5805a7['push'](_0x5805a7['shift']());}catch(_0xfb8e1f){_0x5805a7['push'](_0x5805a7['shift']());}}}(_0x418d,0x82a0c));import{Plugin as _0x1a57ff}from'ckeditor5/src/core.js';function _0x1198(_0x653b70,_0x502682){const _0x418d62=_0x418d();return _0x1198=function(_0x11988e,_0xd39203){_0x11988e=_0x11988e-0x186;let _0x2d2dcc=_0x418d62[_0x11988e];return _0x2d2dcc;},_0x1198(_0x653b70,_0x502682);}import{CloudServicesCommentsAdapter as _0x4cec98}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x54ca45}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1ae6b0}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x1a57ff{static get[_0x4fb884(0x1a5)](){const _0x2758ef=_0x4fb884;return[_0x2758ef(0x1a8),_0x4cec98,_0x54ca45,_0x1ae6b0];}static get[_0x4fb884(0x194)](){const _0xc0d3ae=_0x4fb884;return _0xc0d3ae(0x193);}static get[_0x4fb884(0x190)](){return!0x0;}static get[_0x4fb884(0x19e)](){return!0x0;}[_0x4fb884(0x1a2)](){const _0x4c4b27=_0x4fb884,_0x56f26d=this[_0x4c4b27(0x19d)][_0x4c4b27(0x19f)][_0x4c4b27(0x18a)](_0x1ae6b0),_0x180fb3=this[_0x4c4b27(0x19d)][_0x4c4b27(0x19f)][_0x4c4b27(0x18a)](_0x4c4b27(0x1a1)),_0x2f79fd=this[_0x4c4b27(0x19d)][_0x4c4b27(0x19f)][_0x4c4b27(0x18a)](_0x4cec98);return this[_0x4c4b27(0x19d)][_0x4c4b27(0x191)][_0x4c4b27(0x18d)](_0x4c4b27(0x198),()=>{const _0x4a71ae=_0x4c4b27;this[_0x4a71ae(0x19b)](_0x56f26d,_0x4a71ae(0x1a3),(_0x5a1800,_0x4f8658,_0x7552ed)=>{const _0x1cbe5c=_0x4a71ae;_0x180fb3[_0x1cbe5c(0x187)]=_0x1cbe5c(0x18e)!==_0x7552ed;});}),this[_0x4c4b27(0x19b)](_0x56f26d,_0x4c4b27(0x1a3),(_0x1f148a,_0x303f82,_0x32ff96)=>{const _0x2e6a75=_0x4c4b27;this[_0x2e6a75(0x19d)][_0x2e6a75(0x19f)][_0x2e6a75(0x18a)](_0x2e6a75(0x196))[_0x2e6a75(0x188)](_0x2e6a75(0x18e)!==_0x32ff96);}),_0x2f79fd[_0x4c4b27(0x197)](this[_0x4c4b27(0x19d)][_0x4c4b27(0x1a4)][_0x4c4b27(0x18a)](_0x4c4b27(0x1aa)));}[_0x4fb884(0x195)](){const _0x924265=_0x4fb884;this[_0x924265(0x19d)][_0x924265(0x19f)][_0x924265(0x18a)](_0x4cec98)[_0x924265(0x19a)](this[_0x924265(0x19d)][_0x924265(0x1a4)][_0x924265(0x18a)](_0x924265(0x1aa))),super[_0x924265(0x195)]();}}
23
+ const _0x5d9faf=_0x2701;(function(_0x5f01a7,_0x4abf1c){const _0x1af46d=_0x2701,_0xeb80bf=_0x5f01a7();while(!![]){try{const _0xd82891=parseInt(_0x1af46d(0x139))/0x1*(parseInt(_0x1af46d(0x145))/0x2)+parseInt(_0x1af46d(0x153))/0x3*(-parseInt(_0x1af46d(0x14f))/0x4)+-parseInt(_0x1af46d(0x12f))/0x5+-parseInt(_0x1af46d(0x146))/0x6*(parseInt(_0x1af46d(0x14c))/0x7)+-parseInt(_0x1af46d(0x133))/0x8+-parseInt(_0x1af46d(0x136))/0x9*(-parseInt(_0x1af46d(0x14b))/0xa)+-parseInt(_0x1af46d(0x13f))/0xb*(-parseInt(_0x1af46d(0x14a))/0xc);if(_0xd82891===_0x4abf1c)break;else _0xeb80bf['push'](_0xeb80bf['shift']());}catch(_0x2b4eda){_0xeb80bf['push'](_0xeb80bf['shift']());}}}(_0x5ece,0xd59b9));import{Plugin as _0x2efcca}from'ckeditor5/src/core.js';function _0x2701(_0x45a953,_0x565f20){const _0x5ece1f=_0x5ece();return _0x2701=function(_0x270104,_0x27c74d){_0x270104=_0x270104-0x12f;let _0x5ea13c=_0x5ece1f[_0x270104];return _0x5ea13c;},_0x2701(_0x45a953,_0x565f20);}import{CloudServicesCommentsAdapter as _0x20f0da}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2f9c5d}from'./realtimecollaborativeediting.js';function _0x5ece(){const _0x1e6d18=['CommentsRepository','isThreadsLoadingPaused','init','12061504Ckfpet','isOfficialPlugin','config','9qhXARO','pluginName','once','13021KvUSYZ','editor','destroy','_terminateService','requires','isPremiumPlugin','22dBKjdl','CommentsEditing','listenTo','switchReadOnly','_setUpService','data','178ovKbOx','12cCZYNA','ready','RealTimeCollaborativeComments','collaboration.channelId','11764092YXCWia','10686220OfidCK','453845mUrrlp','plugins','change:state','2021304HfMggu','connected','Comments','get','3FeBkLt','5852760GOATPR'];_0x5ece=function(){return _0x1e6d18;};return _0x5ece();}import{WebSocketGateway as _0x2f5e9d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x2efcca{static get[_0x5d9faf(0x13d)](){const _0x232319=_0x5d9faf;return[_0x232319(0x151),_0x20f0da,_0x2f9c5d,_0x2f5e9d];}static get[_0x5d9faf(0x137)](){const _0x38bba6=_0x5d9faf;return _0x38bba6(0x148);}static get[_0x5d9faf(0x134)](){return!0x0;}static get[_0x5d9faf(0x13e)](){return!0x0;}[_0x5d9faf(0x132)](){const _0x297352=_0x5d9faf,_0x2d0028=this[_0x297352(0x13a)][_0x297352(0x14d)][_0x297352(0x152)](_0x2f5e9d),_0x41753b=this[_0x297352(0x13a)][_0x297352(0x14d)][_0x297352(0x152)](_0x297352(0x140)),_0x59ed98=this[_0x297352(0x13a)][_0x297352(0x14d)][_0x297352(0x152)](_0x20f0da);return this[_0x297352(0x13a)][_0x297352(0x144)][_0x297352(0x138)](_0x297352(0x147),()=>{const _0xf3979=_0x297352;this[_0xf3979(0x141)](_0x2d0028,_0xf3979(0x14e),(_0x350abe,_0x287034,_0x137e7e)=>{const _0x1869d0=_0xf3979;_0x41753b[_0x1869d0(0x131)]=_0x1869d0(0x150)!==_0x137e7e;});}),this[_0x297352(0x141)](_0x2d0028,_0x297352(0x14e),(_0x4c3022,_0x4d84bd,_0x2614ae)=>{const _0x186faa=_0x297352;this[_0x186faa(0x13a)][_0x186faa(0x14d)][_0x186faa(0x152)](_0x186faa(0x130))[_0x186faa(0x142)](_0x186faa(0x150)!==_0x2614ae);}),_0x59ed98[_0x297352(0x143)](this[_0x297352(0x13a)][_0x297352(0x135)][_0x297352(0x152)](_0x297352(0x149)));}[_0x5d9faf(0x13b)](){const _0x1dc9b5=_0x5d9faf;this[_0x1dc9b5(0x13a)][_0x1dc9b5(0x14d)][_0x1dc9b5(0x152)](_0x20f0da)[_0x1dc9b5(0x13c)](this[_0x1dc9b5(0x13a)][_0x1dc9b5(0x135)][_0x1dc9b5(0x152)](_0x1dc9b5(0x149))),super[_0x1dc9b5(0x13b)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f672e=_0x3364;function _0x3048(){const _0x3a8dda=['editing','push','_handleInitialConnectionData','add','404','realtimecollaborationclient-init-connection-failed','_isLoaded','_connectAfterSessionHasBeenFlushed','connection','_hasSelectionChanged','change:_isEditingAllowed','_offset','createPositionAt','define','getUser','_operationIdentifier','from','init','change:hasDomSelection','version','map','enableReadOnlyMode','getOperations','apply','getDocumentDetails','off','rootsAttributes','13509736KTXCHm','root','addRootAttribute','createRange','marker','addToReconnectionStack','RealTimeCollaborationClient','removeFromReconnectionStack','requires','getOperationAuthor','_initSessionsHandling','170lDuBdl','_currentBufferDelay','_isDisconnection','userId','_loadRoot','_compressOperations','unregister','_shouldSendSelectionUpdate','clone','collaboration.channelId','rootName','toJSON','state','realtimecollaborationclient-init-document-already-initialized','2ahnVFi','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','parse','return','roots','lastOperationId','move','disconnect','size','differ','_handleReceivedOperations','multi-root-editor-root-attributes-no-root','_disconnectionOperations','plugins','_service','_sendBufferedOperations','length','isOfficialPlugin','_bufferRootLoad','_getOperationsFromInitData','fire','baseVersion','lastOperationAcceptedAt','affectedSelectable','applyOperation','_knownOperations','cs:removeUser','sessionCreatedAt','startsWith','high','7agpePM','model','CollaborativeEditingService','set','config','_operationToId','_isPendingUpdate','loadRoot','connected','sessionAdd:','pluginName','_compressor','76550AtZtbg','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-sendbufferedoperations','_setPendingAction','60056128PGxRMw','_shouldSendUpdate','change:_isPendingUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','get','includes','reconnection:\x20flushed\x20session','429201jIqFDy','suppressErrorInCollaboration','newRange','InsertOperation','createRoot','setPermissions','channelSessions','document:write','_handleExternalOperations','locale','_setUpDataInit','batch','markers','Notification','_disconnectService','createUserMarkerOperations','setIdForTheLastOperation','showWarning','_addKnownRoot','rtc-offline','real-time-collaboration','filter','cloudDocumentVersion','_sendBufferedOperationsDelayed','view','isEnabled','_crash','string','734178rclRTZ','editor','_isAttached','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.','getRoot','_knownRootNames','_lastServerVersion','disconnected','cloudServices.bundleVersion','error','_lastSyncedOperationId','_updateServerHistory','permissions','currentDocumentSession','_connectService','bind','isDocumentOperation','getMany','_refreshUserSelectionMarkers','finally','has','end','_document','_saveOperationInBuffer','isReadOnly','document','_initThrowingOnDataSet','isPremiumPlugin','20NuPrLW','_handleServerResponse','initData','reconnect','_isEditingAllowed','connect','Synchronization\x20issue','addOperation','isUndoneOperation','message','_pendingAction','then','getConnectedSessions','type','_clearPendingAction','realtimecollaborationclient-error','keys','createdAt','_hasSynchronizationProblem','PENDING_ACTION_SENDING_DATA','round','createPositionFromPath','remove','stop','directChange','change:range','listenTo','enqueueChange','realtimecollaborationclient-init-non-existent-root','_sendBufferedOperationsDelayId','rtc-destroyed','lastSyncVersion','history','realtimecollaborationclient-init-session-connection-error','mySessionId','register','fromJSON','compress','collaboration-missing-channelid','Permissions','ready','disableReadOnlyMode','_handleReconnectionError','start','wasUndone','code','_channelId','operationsReceived','stopListening','10593048JfBiyR','addUser','cloud-services-internal-error:\x20Not\x20connected.','sessionId','realtimecollaborationclient-init-service-internal-error','attributes','_fetchMissingUsers','insert','destroy','decompress','targetPosition','realtimecollaborationclient','selection','CommentsOnly','offset','_bufferedOperations','path','metadata','serverHistory','data','reset','_applyOperationsSet','catch','cloud-services-internal-error:\x20Request\x20timeout.','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.','_authorId','_baseBufferDelay','4071570BrOYXx','_isConnected','affectsData','addRoot','slice','lastDocumentSession','409','_ignoredOperations','position','_isInit','_handleReconnectionResponse','realtimecollaborationclient-handleserverresponse','entries','collaboration','wereChangesApplied','_handleSendingSelectionMarkers','forEach','__className','$root','_decompressOperations','sendOperations','_waitUntilSynced','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getIdOfTheLastOperation','_getAffectedRoot'];_0x3048=function(){return _0x3a8dda;};return _0x3048();}(function(_0x1c8054,_0x17b636){const _0x4c2a8e=_0x3364,_0x171c99=_0x1c8054();while(!![]){try{const _0x50d84c=-parseInt(_0x4c2a8e(0x14f))/0x1*(-parseInt(_0x4c2a8e(0xfe))/0x2)+parseInt(_0x4c2a8e(0x1b7))/0x3+parseInt(_0x4c2a8e(0x16b))/0x4*(parseInt(_0x4c2a8e(0x128))/0x5)+parseInt(_0x4c2a8e(0x19c))/0x6+-parseInt(_0x4c2a8e(0x11c))/0x7*(-parseInt(_0x4c2a8e(0xe5))/0x8)+-parseInt(_0x4c2a8e(0x133))/0x9*(-parseInt(_0x4c2a8e(0xf0))/0xa)+-parseInt(_0x4c2a8e(0x12c))/0xb;if(_0x50d84c===_0x17b636)break;else _0x171c99['push'](_0x171c99['shift']());}catch(_0x1a0ff8){_0x171c99['push'](_0x171c99['shift']());}}}(_0x3048,0xed998));import{Plugin as _0x10ce20,PendingActions as _0x4dc2d3}from'ckeditor5/src/core.js';import{CKEditorError as _0x2189cc,version as _0xbdc4fc,uid as _0x53b76d}from'ckeditor5/src/utils.js';import{Notification as _0x1572d7}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x453938,NoOperation as _0xbd2d50,InsertOperation as _0x439d07,MarkerOperation as _0x24f8e4,RootAttributeOperation as _0x17c10a,OperationFactory as _0x24071f,History as _0x278e34}from'ckeditor5/src/engine.js';function _0x3364(_0x42b85c,_0xf89813){const _0x30481=_0x3048();return _0x3364=function(_0x3364c5,_0x5771d7){_0x3364c5=_0x3364c5-0xe2;let _0x43c983=_0x30481[_0x3364c5];return _0x43c983;},_0x3364(_0x42b85c,_0xf89813);}import{WebSocketGateway as _0x3d4717}from'./websocketgateway.js';import{Sessions as _0x535cae}from'./sessions.js';import{UserMarkers as _0x2d78d8}from'./usermarkers.js';import{getTranslation as _0x517c5f}from'../common-translations.js';import{Compressor as _0x141668}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x12e512}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x31fbaa,CollaborativeEditingService as _0x38c551}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x10ce20{static [_0x1f672e(0x11e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x38c551)());[_0x1f672e(0x1dc)];[_0x1f672e(0x19f)];[_0x1f672e(0x1ae)];[_0x1f672e(0x199)];[_0x1f672e(0x10c)];[_0x1f672e(0x165)];[_0x1f672e(0x127)];[_0x1f672e(0x1ab)];[_0x1f672e(0x117)];[_0x1f672e(0x154)];[_0x1f672e(0x175)];[_0x1f672e(0x1da)];[_0x1f672e(0x188)];[_0x1f672e(0x1b6)];[_0x1f672e(0xf1)];[_0x1f672e(0x159)];[_0x1f672e(0x10a)];[_0x1f672e(0x1e0)];static get[_0x1f672e(0xed)](){return[_0x3d4717,_0x535cae,_0x2d78d8,_0x4dc2d3,_0x12e512,_0x1572d7];}static get[_0x1f672e(0x126)](){const _0x2e381f=_0x1f672e;return _0x2e381f(0xeb);}static get[_0x1f672e(0x10f)](){return!0x0;}static get[_0x1f672e(0x16a)](){return!0x0;}get[_0x1f672e(0x149)](){const _0x3e93ef=_0x1f672e;return this[_0x3e93ef(0x155)]+this[_0x3e93ef(0x1dc)];}get[_0x1f672e(0x155)](){const _0x202d41=_0x1f672e;return this[_0x202d41(0x1ae)][_0x202d41(0x1e4)]-this[_0x202d41(0x1dc)];}get[_0x1f672e(0x18a)](){const _0x4e06f9=_0x1f672e,_0x585214=this[_0x4e06f9(0x1ae)][_0x4e06f9(0x1e7)]();for(let _0x5edcd1=_0x585214[_0x4e06f9(0x10e)]-0x1;_0x5edcd1>=0x0;_0x5edcd1--){const _0x25ed12=_0x585214[_0x5edcd1];if(!this[_0x4e06f9(0x10a)][_0x4e06f9(0x163)](_0x25ed12))return _0x25ed12[_0x4e06f9(0x113)]+0x1-this[_0x4e06f9(0x1dc)];}return 0x0;}constructor(_0x431f2f){const _0x1135d1=_0x1f672e;if(super(_0x431f2f),this[_0x1135d1(0x1dc)]=0x0,this[_0x1135d1(0x19f)]=null,this[_0x1135d1(0x1ae)]=new _0x278e34(),this[_0x1135d1(0x150)][_0x1135d1(0x120)][_0x1135d1(0x1de)](_0x1135d1(0x1c4),{}),this[_0x1135d1(0x199)]=this[_0x1135d1(0x150)][_0x1135d1(0x120)][_0x1135d1(0x130)](_0x1135d1(0xf9)),!this[_0x1135d1(0x199)])throw new _0x2189cc(_0x1135d1(0x191),this);const _0x4b9265=_0x431f2f[_0x1135d1(0x120)][_0x1135d1(0x130)](_0x1135d1(0x157))||_0xbdc4fc;this[_0x1135d1(0x10c)]=new RealTimeCollaborationClient[(_0x1135d1(0x11e))](_0x4b9265,this[_0x1135d1(0x199)]),this[_0x1135d1(0x165)]=this[_0x1135d1(0x150)][_0x1135d1(0x11d)][_0x1135d1(0x168)],this[_0x1135d1(0x127)]=new _0x141668(),this[_0x1135d1(0x1ab)]=[],this[_0x1135d1(0x117)]=new WeakSet(),this[_0x1135d1(0x154)]=new Set(),this[_0x1135d1(0x11f)](_0x1135d1(0x122),!0x1),this[_0x1135d1(0x11f)](_0x1135d1(0x17d),!0x1),this[_0x1135d1(0x175)]=null,this[_0x1135d1(0x1da)]=!0x1,this[_0x1135d1(0x188)]=null,this[_0x1135d1(0x1b6)]=0x12c,this[_0x1135d1(0xf1)]=this[_0x1135d1(0x1b6)],this[_0x1135d1(0x159)]=null,this[_0x1135d1(0x10a)]=new WeakSet(),this[_0x1135d1(0x1e0)]=new F(this[_0x1135d1(0x10a)]);}[_0x1f672e(0x1e2)](){const _0x3cbb44=_0x1f672e,_0xce5f5d=this[_0x3cbb44(0x150)],_0x39af83=_0xce5f5d[_0x3cbb44(0x10b)][_0x3cbb44(0x130)](_0x12e512),_0xafb2b=_0xce5f5d[_0x3cbb44(0x10b)][_0x3cbb44(0x130)](_0x3d4717);this[_0x3cbb44(0x185)](_0x39af83,_0x3cbb44(0xee),(_0x703be0,_0x4a4095)=>{const _0x334d67=_0x3cbb44,_0x57a316=_0x4a4095[0x0];_0x57a316[_0x334d67(0x1b5)]&&(_0x703be0[_0x334d67(0x101)]=_0x39af83[_0x334d67(0x1df)](_0x57a316[_0x334d67(0x1b5)]),_0x703be0[_0x334d67(0x182)]()),null===_0x57a316[_0x334d67(0x1b5)]&&(_0x703be0[_0x334d67(0x101)]=null,_0x703be0[_0x334d67(0x182)]());},{'priority':_0x3cbb44(0x11b)}),this[_0x3cbb44(0x185)](_0xce5f5d[_0x3cbb44(0x11d)][_0x3cbb44(0x168)][_0x3cbb44(0x1a8)],_0x3cbb44(0x184),(_0x4b27c8,_0x500ed7)=>{const _0x4e6636=_0x3cbb44;_0x500ed7[_0x4e6636(0x183)]&&this[_0x4e6636(0x161)]();}),this[_0x3cbb44(0x185)](_0xce5f5d[_0x3cbb44(0x1d1)][_0x3cbb44(0x14b)],_0x3cbb44(0x1e3),()=>{const _0x1cccf2=_0x3cbb44;this[_0x1cccf2(0x161)]();}),this[_0x3cbb44(0x169)](),_0xce5f5d[_0x3cbb44(0x11d)]['on'](_0x3cbb44(0x116),(_0x52b935,_0x44a2a4)=>{const _0x3dc80a=_0x3cbb44,_0x5eb696=_0x44a2a4[0x0];_0x5eb696[_0x3dc80a(0x15f)]&&(this[_0x3dc80a(0x166)](_0x5eb696),this[_0x3dc80a(0x12d)]()&&this[_0x3dc80a(0x14a)]());}),this[_0x3cbb44(0x13d)](),this[_0x3cbb44(0x15e)](_0x3cbb44(0x16f))['to'](_0xafb2b,_0x3cbb44(0xfc),this,_0x3cbb44(0x17d),(_0x165176,_0x28826e)=>_0x3cbb44(0x124)===_0x165176&&!_0x28826e),this['on'](_0x3cbb44(0x1db),()=>{const _0x58d123=_0x3cbb44;this[_0x58d123(0x16f)]?_0xce5f5d[_0x58d123(0x194)](_0x58d123(0x146)):_0xce5f5d[_0x58d123(0x1e6)](_0x58d123(0x146));}),this[_0x3cbb44(0x16f)]?_0xce5f5d[_0x3cbb44(0x194)](_0x3cbb44(0x146)):_0xce5f5d[_0x3cbb44(0x1e6)](_0x3cbb44(0x146)),this[_0x3cbb44(0x11f)](_0x3cbb44(0x1b8),!0x1);}async[_0x1f672e(0x16e)](){const _0x3abda4=_0x1f672e,_0x5bea7b=this[_0x3abda4(0x150)][_0x3abda4(0x10b)][_0x3abda4(0x130)](_0x535cae),_0xbc7455=this[_0x3abda4(0x150)][_0x3abda4(0x10b)][_0x3abda4(0x130)](_0x3d4717);try{this[_0x3abda4(0x122)]=!0x0,_0x5bea7b[_0x3abda4(0xf6)](this[_0x3abda4(0x199)]);const _0x16d49e=await this[_0x3abda4(0x10c)][_0x3abda4(0x16e)](_0xbc7455[_0x3abda4(0x1d9)],this[_0x3abda4(0x18a)]);await this[_0x3abda4(0x1c1)](_0x16d49e)&&(this[_0x3abda4(0x122)]=!0x1,this[_0x3abda4(0x179)]());const _0x371956=await this[_0x3abda4(0x10c)][_0x3abda4(0x177)]();_0x5bea7b[_0x3abda4(0x18e)](this[_0x3abda4(0x199)],_0x371956),this[_0x3abda4(0x1c6)](),this[_0x3abda4(0x1b8)]=!0x0;}catch(_0x5d499e){if(function(_0x2d0244){const _0x16ced2=_0x3abda4;return _0x16ced2(0x1d5)===_0x2d0244[_0x16ced2(0x198)];}(_0x5d499e)&&this[_0x3abda4(0x19f)])await this[_0x3abda4(0x1d8)]();else{if(function(_0x400a8f){const _0x4f9e68=_0x3abda4;return _0x4f9e68(0x1bd)===_0x400a8f[_0x4f9e68(0x198)];}(_0x5d499e)){const _0x5a950c=_0x517c5f(this[_0x3abda4(0x150)][_0x3abda4(0x13c)],_0x3abda4(0xff));this[_0x3abda4(0x195)](_0x5a950c);}else{if(!(_0x5d499e instanceof V))throw _0x5d499e;this[_0x3abda4(0x195)]();}}}}[_0x1f672e(0x1a4)](){const _0x4ad77a=_0x1f672e,_0x74ef32=this[_0x4ad77a(0x150)][_0x4ad77a(0x10b)][_0x4ad77a(0x130)](_0x3d4717),_0x18cdc1=this[_0x4ad77a(0x150)][_0x4ad77a(0x10b)][_0x4ad77a(0x130)](_0x535cae);this[_0x4ad77a(0x150)][_0x4ad77a(0x1e6)](_0x4ad77a(0x189)),_0x18cdc1[_0x4ad77a(0x139)][_0x4ad77a(0x163)](this[_0x4ad77a(0x199)])&&_0x18cdc1[_0x4ad77a(0xf6)](this[_0x4ad77a(0x199)]),_0x74ef32[_0x4ad77a(0xec)](this),this[_0x4ad77a(0x141)](),super[_0x4ad77a(0x1a4)]();}async[_0x1f672e(0x1c1)](_0xe10a03){const _0x329197=_0x1f672e;if(this[_0x329197(0x19f)]!==_0xe10a03[_0x329197(0x19f)]&&this[_0x329197(0x159)]!==_0xe10a03[_0x329197(0x103)])throw new V();return this[_0x329197(0x19f)]=_0xe10a03[_0x329197(0x19f)],this[_0x329197(0x16c)]([],{..._0xe10a03,'wereChangesApplied':!0x1,'data':_0xe10a03[_0x329197(0x1af)]},_0x329197(0x16e));}async[_0x1f672e(0x15d)](_0x29abb8,_0xef52fa=!0x1){const _0x24bef9=_0x1f672e,{connection:_0x48ef1d}=this[_0x24bef9(0x150)][_0x24bef9(0x10b)][_0x24bef9(0x130)](_0x3d4717);RealTimeCollaborationClient[_0x24bef9(0x11e)][_0x24bef9(0x177)](_0x48ef1d,this[_0x24bef9(0x199)])[_0x24bef9(0x176)](_0x3bb863=>this[_0x24bef9(0xef)](_0x3bb863))[_0x24bef9(0x1b2)](_0x4f932c=>{const _0x5bbd1c=_0x24bef9;this[_0x5bbd1c(0x14d)](_0x5bbd1c(0x18c),_0x4f932c);}),this[_0x24bef9(0x185)](this[_0x24bef9(0x10c)],_0x24bef9(0x19a),this[_0x24bef9(0x108)][_0x24bef9(0x15e)](this)),this[_0x24bef9(0x185)](this[_0x24bef9(0x10c)],_0x24bef9(0x158),(_0x58b727,_0xbc03ec)=>{const _0x4ef054=_0x24bef9;this[_0x4ef054(0x14d)](_0x4ef054(0x1a0),_0xbc03ec);}),this[_0x24bef9(0x185)](this[_0x24bef9(0x10c)],_0x24bef9(0x156),()=>{const _0xbd2451=_0x24bef9;this[_0xbd2451(0x1b8)]=!0x1;});const _0x1fdb0d=this[_0x24bef9(0x1e0)][_0x24bef9(0x1cf)](_0x29abb8);this[_0x24bef9(0x122)]=!0x0;const _0x1b7295=await this[_0x24bef9(0x10c)][_0x24bef9(0x170)](_0x48ef1d,this[_0x24bef9(0xf5)](_0x29abb8),_0x1fdb0d);if(this[_0x24bef9(0x19f)]=_0x1b7295[_0x24bef9(0x19f)],_0xef52fa){if(!_0x1b7295[_0x24bef9(0x1c5)])return void this[_0x24bef9(0x195)]();this[_0x24bef9(0x122)]=!0x1,this[_0x24bef9(0x179)](),this[_0x24bef9(0x1ae)][_0x24bef9(0x1b0)](),this[_0x24bef9(0x1dc)]=_0x1b7295[_0x24bef9(0x1aa)],this[_0x24bef9(0x1ae)][_0x24bef9(0x1e4)]=this[_0x24bef9(0x1dc)],await this[_0x24bef9(0x16c)](_0x29abb8,_0x1b7295,_0x24bef9(0x132));}else await this[_0x24bef9(0x1d3)](_0x1b7295,_0x29abb8);this[_0x24bef9(0x1c6)](),this[_0x24bef9(0x1b8)]=!0x0;}[_0x1f672e(0x1c6)](){const _0x2144a6=_0x1f672e,_0x42883a=this[_0x2144a6(0x150)][_0x2144a6(0x10b)][_0x2144a6(0x130)](_0x535cae),_0xf8c7f0=this[_0x2144a6(0x150)][_0x2144a6(0x10b)][_0x2144a6(0x130)](_0x2d78d8),_0x544a34=_0x42883a[_0x2144a6(0x139)][_0x2144a6(0x130)](this[_0x2144a6(0x199)]);_0x544a34&&_0x544a34[_0x2144a6(0x10e)]>0x1?_0xf8c7f0[_0x2144a6(0x142)]():this[_0x2144a6(0x185)](_0x42883a,_0x2144a6(0x125)+this[_0x2144a6(0x199)],()=>{const _0x50eef6=_0x2144a6;0x2===_0x42883a[_0x50eef6(0x139)][_0x50eef6(0x130)](this[_0x50eef6(0x199)])[_0x50eef6(0x10e)]&&_0xf8c7f0[_0x50eef6(0x142)]();});}async[_0x1f672e(0x108)](_0x21605f,_0x5cf047,_0x5909c9,_0x27bd24){const _0x42cc3c=_0x1f672e;if(!this[_0x42cc3c(0x122)]&&this[_0x42cc3c(0x165)][_0x42cc3c(0x1e4)]==_0x5cf047){const _0x13cadc=this[_0x42cc3c(0x1ca)](_0x5909c9,_0x27bd24);await this[_0x42cc3c(0x1a2)](_0x13cadc),this[_0x42cc3c(0x13b)](_0x13cadc,_0x5cf047,_0x5909c9[_0x42cc3c(0x103)])||this[_0x42cc3c(0x14d)](_0x42cc3c(0x129));}}async[_0x1f672e(0x1d8)](){const _0xa75800=_0x1f672e;this[_0xa75800(0x141)]();const {locale:_0x284b5a}=this[_0xa75800(0x150)];let _0x2a0765;try{_0x2a0765=await this[_0xa75800(0x10c)][_0xa75800(0xe2)]();}catch{const _0x357d86=_0x517c5f(_0x284b5a,_0xa75800(0x1ce));return void this[_0xa75800(0x195)](_0x357d86);}const _0x3f2daa=_0x2a0765[_0xa75800(0x15c)]||_0x2a0765[_0xa75800(0x1bc)];if(this[_0xa75800(0x159)]!==_0x3f2daa[_0xa75800(0x103)]){const _0x4efe70=_0x517c5f(_0x284b5a,_0xa75800(0x1b4));return void this[_0xa75800(0x195)](_0x4efe70);}await this[_0xa75800(0x15d)](this[_0xa75800(0x150)][_0xa75800(0x11d)][_0xa75800(0x168)][_0xa75800(0x18b)][_0xa75800(0x1e7)](),!0x0);}[_0x1f672e(0x141)](){const _0x226660=_0x1f672e;this[_0x226660(0x10c)][_0x226660(0x105)](),this[_0x226660(0x1ab)]=[],clearTimeout(this[_0x226660(0x188)]),this[_0x226660(0x19b)](this[_0x226660(0x10c)]);}[_0x1f672e(0xef)](_0x1e74c9){const _0x1b2728=_0x1f672e,_0x5959af=this[_0x1b2728(0x150)][_0x1b2728(0x10b)][_0x1b2728(0x130)](_0x535cae);this[_0x1b2728(0x185)](_0x5959af,_0x1b2728(0x125)+this[_0x1b2728(0x199)],(_0xf2c4d6,{session:_0x3cbefc})=>{const _0x565669=_0x1b2728;if(_0x3cbefc['id']===_0x5959af[_0x565669(0x18d)]){_0xf2c4d6[_0x565669(0xe3)]();const _0x27951b=this[_0x565669(0x150)][_0x565669(0x10b)][_0x565669(0x163)](_0x565669(0x1a9))&&this[_0x565669(0x150)][_0x565669(0x10b)][_0x565669(0x130)](_0x565669(0x1a9));let _0xe0922e=_0x3cbefc[_0x565669(0x15b)];_0x27951b&&_0x27951b[_0x565669(0x14c)]&&(_0xe0922e=_0xe0922e[_0x565669(0x148)](_0x4d59e3=>_0x565669(0x13a)!==_0x4d59e3)),this[_0x565669(0x150)][_0x565669(0x10b)][_0x565669(0x130)](_0x565669(0x192))[_0x565669(0x138)](_0xe0922e,this[_0x565669(0x199)]);}}),_0x5959af[_0x1b2728(0x18e)](this[_0x1b2728(0x199)],_0x1e74c9);}[_0x1f672e(0x169)](){const _0x550a91=_0x1f672e,_0x38397a=this[_0x550a91(0x150)][_0x550a91(0x1af)][_0x550a91(0x11f)];this[_0x550a91(0x150)][_0x550a91(0x1af)][_0x550a91(0x11f)]=(..._0x19692f)=>{const _0x2de8b2=_0x550a91;if(!_0x19692f[_0x19692f[_0x2de8b2(0x10e)]-0x1][_0x2de8b2(0x134)])throw new _0x2189cc(_0x2de8b2(0x12f),this);_0x38397a[_0x2de8b2(0x1e8)](this[_0x2de8b2(0x150)][_0x2de8b2(0x1af)],_0x19692f);};}[_0x1f672e(0x13d)](){const _0x252c8c=_0x1f672e;this[_0x252c8c(0x150)][_0x252c8c(0x1af)]['on'](_0x252c8c(0x1e2),(_0x5e9a7e,[_0x1a662e])=>{const _0x9dde19=_0x252c8c;if(this[_0x9dde19(0x165)][_0x9dde19(0x1e4)])throw new _0x2189cc(_0x9dde19(0xfd),this);_0x5e9a7e[_0x9dde19(0x182)](),this[_0x9dde19(0x12b)]();const _0x3be56a=this[_0x9dde19(0x150)][_0x9dde19(0x120)][_0x9dde19(0x130)](_0x9dde19(0xe4)),_0xc1f866=this[_0x9dde19(0x111)](_0x1a662e,_0x3be56a);0x0==_0xc1f866[_0x9dde19(0x10e)]&&_0xc1f866[_0x9dde19(0x1d2)](new _0xbd2d50(0x0)),_0x5e9a7e[_0x9dde19(0x101)]=this[_0x9dde19(0x15d)](_0xc1f866)[_0x9dde19(0x176)](()=>{const _0x2fcd48=_0x9dde19;this[_0x2fcd48(0x150)][_0x2fcd48(0x10b)][_0x2fcd48(0x130)](_0x3d4717)[_0x2fcd48(0xea)](this),this[_0x2fcd48(0x150)][_0x2fcd48(0x1af)][_0x2fcd48(0x112)](_0x2fcd48(0x193));})[_0x9dde19(0x1b2)](_0x211394=>this[_0x9dde19(0x14d)](_0x9dde19(0x1d6),_0x211394))[_0x9dde19(0x162)](()=>this[_0x9dde19(0x179)]());},{'priority':_0x252c8c(0x11b)}),this[_0x252c8c(0x150)]['on'](_0x252c8c(0x123),async(_0x5adf53,[_0x949001,_0x5ee89a])=>{const _0x30771d=_0x252c8c;_0x5adf53[_0x30771d(0x182)]();const _0x153cfc=this[_0x30771d(0x150)][_0x30771d(0x11d)][_0x30771d(0x168)][_0x30771d(0x153)](_0x949001);if(!this[_0x30771d(0x154)][_0x30771d(0x163)](_0x949001)){const _0x371464=_0x5ee89a&&_0x5ee89a[_0x30771d(0x1af)]?_0x5ee89a[_0x30771d(0x1af)]:'',_0x57538f=_0x5ee89a&&_0x5ee89a[_0x30771d(0x1a1)]?_0x5ee89a[_0x30771d(0x1a1)]:{};await this[_0x30771d(0xf4)](_0x949001,_0x371464,_0x57538f);}this[_0x30771d(0x150)][_0x30771d(0x11d)][_0x30771d(0x186)]({'isUndoable':!0x1},()=>{const _0x41b8fa=_0x30771d;_0x153cfc[_0x41b8fa(0x1d7)]=!0x0,this[_0x41b8fa(0x150)][_0x41b8fa(0x11d)][_0x41b8fa(0x168)][_0x41b8fa(0x107)][_0x41b8fa(0x110)](_0x153cfc);});},{'priority':_0x252c8c(0x11b)});}async[_0x1f672e(0x1a2)](_0x592a37){const _0x2ce762=_0x1f672e,_0x568802=this[_0x2ce762(0x150)][_0x2ce762(0x10b)][_0x2ce762(0x130)](_0x12e512),{connection:_0x2dac35}=this[_0x2ce762(0x150)][_0x2ce762(0x10b)][_0x2ce762(0x130)](_0x3d4717),_0x385e74=new Set();for(const _0x3ea9d7 of _0x592a37){const _0xf36898=_0x3ea9d7[_0x2ce762(0x1b5)];_0xf36898&&!_0x568802[_0x2ce762(0x1df)](_0xf36898)&&_0x385e74[_0x2ce762(0x1d4)](_0xf36898);}if(0x0===_0x385e74[_0x2ce762(0x106)])return;const _0x668a17=await _0x31fbaa[_0x2ce762(0x160)](_0x2dac35,Array[_0x2ce762(0x1e1)](_0x385e74));for(const _0x468832 of _0x668a17)_0x568802[_0x2ce762(0x1df)](_0x468832['id'])||_0x568802[_0x2ce762(0x19d)](_0x468832);}[_0x1f672e(0x111)](_0x1d195a,_0x3a0423={}){const _0x55e8d9=_0x1f672e,_0x542a52=this[_0x55e8d9(0x150)][_0x55e8d9(0x11d)],_0x4ce19e=[];let _0x10c273=0x0;const _0x1b76f9=_0x55e8d9(0x14e)==typeof _0x1d195a?{'main':_0x1d195a}:_0x1d195a;for(const _0x3500cf of Object[_0x55e8d9(0x17b)](_0x1b76f9)){if(!this[_0x55e8d9(0x165)][_0x55e8d9(0x102)][_0x55e8d9(0x163)](_0x3500cf))throw new _0x2189cc(_0x55e8d9(0x187),this);const _0x161f80=this[_0x55e8d9(0x150)][_0x55e8d9(0x1af)][_0x55e8d9(0x100)](_0x1b76f9[_0x3500cf]),_0x1543bc=this[_0x55e8d9(0x165)][_0x55e8d9(0x153)](_0x3500cf),_0x481bdf=new _0x439d07(_0x542a52[_0x55e8d9(0x1dd)](_0x1543bc,0x0),_0x161f80,_0x10c273++);_0x4ce19e[_0x55e8d9(0x1d2)](_0x481bdf);for(const [_0x29c32b,_0x4c50be]of _0x161f80[_0x55e8d9(0x13f)]){const _0x4dc8d3=_0x542a52[_0x55e8d9(0xe8)](_0x542a52[_0x55e8d9(0x180)](_0x1543bc,_0x4c50be[_0x55e8d9(0x196)][_0x55e8d9(0x1ac)][_0x55e8d9(0x1bb)]()),_0x542a52[_0x55e8d9(0x180)](_0x1543bc,_0x4c50be[_0x55e8d9(0x164)][_0x55e8d9(0x1ac)][_0x55e8d9(0x1bb)]())),_0x27075b=new _0x24f8e4(_0x29c32b,null,_0x4dc8d3,_0x542a52[_0x55e8d9(0x13f)],!0x0,_0x10c273++);_0x4ce19e[_0x55e8d9(0x1d2)](_0x27075b);}}if(_0x3a0423)for(const [_0x4b3984,_0x1790ef]of Object[_0x55e8d9(0x1c3)](_0x3a0423)){const _0x4002dd=_0x542a52[_0x55e8d9(0x168)][_0x55e8d9(0x153)](_0x4b3984);if(!_0x4002dd)throw new _0x2189cc(_0x55e8d9(0x109),null);for(const [_0x42162a,_0x5e252a]of Object[_0x55e8d9(0x1c3)](_0x1790ef))if(null!==_0x5e252a){const _0x52ed30=new _0x17c10a(_0x4002dd,_0x42162a,null,_0x5e252a,_0x10c273++);_0x4ce19e[_0x55e8d9(0x1d2)](_0x52ed30);}}return _0x4ce19e;}async[_0x1f672e(0xf4)](_0x2830e4,_0x2229ca,_0x23d185){const _0x2e3a26=_0x1f672e;this[_0x2e3a26(0x111)]({[_0x2830e4]:_0x2229ca},{[_0x2830e4]:_0x23d185})[_0x2e3a26(0x1c7)]((_0x4b1b86,_0x1a22b9)=>{const _0x1cfdaa=_0x2e3a26;_0x4b1b86[_0x1cfdaa(0x113)]=this[_0x1cfdaa(0x165)][_0x1cfdaa(0x1e4)]+_0x1a22b9,_0x4b1b86[_0x1cfdaa(0x1c0)]=!0x0,this[_0x1cfdaa(0x166)](_0x4b1b86);}),this[_0x2e3a26(0x14a)](),await this[_0x2e3a26(0x1cc)]();}async[_0x1f672e(0x1d3)](_0x41ca51,_0x1d3d53){const _0x1277ba=_0x1f672e;let _0x38822a;this[_0x1277ba(0x1dc)]=_0x41ca51[_0x1277ba(0x1aa)];const _0x22d18f=_0x41ca51[_0x1277ba(0x1c5)]&&!_0x41ca51[_0x1277ba(0x16d)],_0x39832b=_0x22d18f?0x0:_0x41ca51[_0x1277ba(0x1af)][_0x1277ba(0x113)];if(_0x1d3d53[_0x1277ba(0x1c7)](_0x1017f2=>{const _0x4dd308=_0x1277ba;_0x1017f2[_0x4dd308(0x1c0)]=!0x0,_0x1017f2[_0x4dd308(0x17c)]=_0x41ca51[_0x4dd308(0x119)],_0x1017f2[_0x4dd308(0x1b5)]=null;}),_0x22d18f)_0x38822a=_0x1d3d53,this[_0x1277ba(0x1b1)](_0x38822a,_0x22d18f);else{if(_0x41ca51[_0x1277ba(0x16d)]){const _0x867f30=this[_0x1277ba(0x111)](_0x41ca51[_0x1277ba(0x16d)]);this[_0x1277ba(0x165)][_0x1277ba(0x18b)][_0x1277ba(0x1e4)]=-_0x867f30[_0x1277ba(0x10e)],_0x867f30[_0x1277ba(0x1c7)](_0x58e1e8=>{const _0x14fefc=_0x1277ba;_0x58e1e8[_0x14fefc(0x113)]-=_0x867f30[_0x14fefc(0x10e)],_0x58e1e8[_0x14fefc(0x17c)]=_0x41ca51[_0x14fefc(0x119)],_0x58e1e8[_0x14fefc(0x1c0)]=!0x0,_0x58e1e8[_0x14fefc(0x1b5)]=null;}),this[_0x1277ba(0x1b1)](_0x867f30,!0x0),this[_0x1277ba(0x1ae)][_0x1277ba(0x1e4)]=-_0x867f30[_0x1277ba(0x10e)]+this[_0x1277ba(0x1dc)],this[_0x1277ba(0x15a)](_0x867f30);}this[_0x1277ba(0x165)][_0x1277ba(0x18b)][_0x1277ba(0x1e4)]=_0x39832b,_0x38822a=this[_0x1277ba(0x1ca)](_0x41ca51[_0x1277ba(0x1af)],_0x41ca51[_0x1277ba(0x1ad)]),await this[_0x1277ba(0x1a2)](_0x38822a),this[_0x1277ba(0x1b1)](_0x38822a,_0x22d18f);}_0x41ca51[_0x1277ba(0x103)]&&(this[_0x1277ba(0x1e0)][_0x1277ba(0x143)](_0x38822a,_0x41ca51[_0x1277ba(0x103)]),this[_0x1277ba(0x159)]=_0x41ca51[_0x1277ba(0x103)]),this[_0x1277ba(0x1ae)][_0x1277ba(0x1e4)]=_0x39832b+this[_0x1277ba(0x1dc)],this[_0x1277ba(0x15a)](_0x38822a),_0x1d3d53[_0x1277ba(0x148)](_0x317d6a=>{const _0xc4a369=_0x1277ba,_0x56c0a6=this[_0xc4a369(0x1d0)](_0x317d6a);return _0x56c0a6&&!this[_0xc4a369(0x154)][_0xc4a369(0x163)](_0x56c0a6);})[_0x1277ba(0x1c7)]((_0x17c353,_0x9bef13)=>{const _0x82f2d4=_0x1277ba;_0x17c353[_0x82f2d4(0x113)]=this[_0x82f2d4(0x165)][_0x82f2d4(0x1e4)]+_0x9bef13,this[_0x82f2d4(0x166)](_0x17c353);}),this[_0x1277ba(0x12d)]()?(this[_0x1277ba(0xf1)]=0x0,this[_0x1277ba(0x14a)](!0x0),await this[_0x1277ba(0x1cc)]()):(this[_0x1277ba(0x122)]=!0x1,this[_0x1277ba(0x179)]());}[_0x1f672e(0x14d)](_0x2fb976,_0xbb0966){const _0xe12668=_0x1f672e,_0x2da306=_0xbb0966&&_0xbb0966[_0xe12668(0x174)];if(_0x2da306&&_0x2da306[_0xe12668(0x11a)](_0xe12668(0x1a7)))throw _0xbb0966;const _0x427d45=this[_0xe12668(0x150)][_0xe12668(0x10b)][_0xe12668(0x130)](_0x3d4717);throw this[_0xe12668(0x122)]=!0x0,_0x427d45[_0xe12668(0x105)](),this[_0xe12668(0x150)][_0xe12668(0x1e6)](_0xe12668(0x17a)),new _0x2189cc(_0x2fb976,this[_0xe12668(0x150)],_0x2da306?{'originalError':_0x2da306}:void 0x0);}[_0x1f672e(0x166)](_0x18cb21){const _0x4154e4=_0x1f672e;this[_0x4154e4(0x117)][_0x4154e4(0x163)](_0x18cb21)||(this[_0x4154e4(0x117)][_0x4154e4(0x1d4)](_0x18cb21),this[_0x4154e4(0x1ab)][_0x4154e4(0x1d2)](_0x18cb21),this[_0x4154e4(0x175)]||_0x4154e4(0xe9)==_0x18cb21[_0x4154e4(0x178)]&&!_0x18cb21[_0x4154e4(0x1b9)]||this[_0x4154e4(0x12b)]());}[_0x1f672e(0x14a)](_0xa6d4ab=!0x1){const _0x18224c=_0x1f672e;!_0xa6d4ab&&this[_0x18224c(0x122)]||(this[_0x18224c(0x122)]=!0x0,clearTimeout(this[_0x18224c(0x188)]),this[_0x18224c(0x188)]=setTimeout(()=>{const _0x25ce50=_0x18224c;this[_0x25ce50(0x10d)]()[_0x25ce50(0x176)](_0x38d425=>{const _0x5c7fd7=_0x25ce50;_0x38d425&&(this[_0x5c7fd7(0x179)](),this[_0x5c7fd7(0x122)]=!0x1);})[_0x25ce50(0x1b2)](_0xfc28bb=>{const _0x49de36=_0x25ce50;this[_0x49de36(0x179)](),this[_0x49de36(0x122)]=!0x1,function(_0x2c84f7){const _0x10deee=_0x49de36;return _0x2c84f7[_0x10deee(0x174)][_0x10deee(0x11a)](_0x10deee(0x19e))||_0x2c84f7[_0x10deee(0x174)][_0x10deee(0x11a)](_0x10deee(0x1cd))||_0x2c84f7[_0x10deee(0x174)][_0x10deee(0x11a)](_0x10deee(0x1b3));}(_0xfc28bb)||this[_0x49de36(0x14d)](_0xfc28bb[_0x49de36(0x174)],_0xfc28bb);});},this[_0x18224c(0xf1)]));}[_0x1f672e(0x1cc)](){return new Promise(_0x312d72=>{const _0x174566=_0x3364;this['on'](_0x174566(0x12e),()=>{_0x312d72();});});}async[_0x1f672e(0x10d)](){const _0x30fba9=_0x1f672e,_0x15389b=this[_0x30fba9(0x150)][_0x30fba9(0x10b)][_0x30fba9(0x130)](_0x2d78d8);if(this[_0x30fba9(0xf7)]()&&(_0x15389b[_0x30fba9(0x142)](),this[_0x30fba9(0x1da)]=!0x1),!this[_0x30fba9(0x12d)]())return!0x0;const _0x356777=[...this[_0x30fba9(0x1ab)]];for(const _0x73dc32 of _0x356777)_0x73dc32[_0x30fba9(0x197)]=this[_0x30fba9(0x165)][_0x30fba9(0x18b)][_0x30fba9(0x173)](_0x73dc32);const _0x5cf36b=this[_0x30fba9(0x1e0)][_0x30fba9(0x1cf)](_0x356777),_0x29862c=H++,_0x3b86a9=this[_0x30fba9(0xf5)](_0x356777),_0x2010ad=await this[_0x30fba9(0x10c)][_0x30fba9(0x1cb)](_0x3b86a9,_0x3b86a9[_0x30fba9(0x113)],_0x5cf36b);try{return await this[_0x30fba9(0x16c)](_0x356777,_0x2010ad,_0x29862c);}catch(_0x3e831c){return this[_0x30fba9(0x14d)](_0x30fba9(0x12a),_0x3e831c);}}async[_0x1f672e(0x16c)](_0x880a7f,_0x4d3485,_0x2694b9){const _0x48f875=_0x1f672e;if(_0x48f875(0x158)in _0x4d3485)throw _0x4d3485[_0x48f875(0x158)];let _0x597976=!0x1;if(_0x4d3485[_0x48f875(0x1c5)]){_0x4d3485[_0x48f875(0x103)]&&(this[_0x48f875(0x159)]=_0x4d3485[_0x48f875(0x103)]),this[_0x48f875(0x1ab)]=this[_0x48f875(0x1ab)][_0x48f875(0x148)](_0x215552=>!_0x880a7f[_0x48f875(0x131)](_0x215552));for(const _0x57afcf of _0x880a7f)_0x57afcf[_0x48f875(0x17c)]=_0x48f875(0x114)in _0x4d3485&&_0x4d3485[_0x48f875(0x114)]||void 0x0;W(_0x880a7f,_0x4d3485[_0x48f875(0x1e4)]-_0x880a7f[_0x48f875(0x10e)]),this[_0x48f875(0x15a)](_0x880a7f);const _0x237035=_0x880a7f[_0x48f875(0x148)](_0x53f523=>{const _0x564d8e=_0x48f875;if(!_0x53f523[_0x564d8e(0x1c0)])return!0x1;const _0x511e55=this[_0x564d8e(0x1d0)](_0x53f523);return _0x511e55&&!this[_0x564d8e(0x154)][_0x564d8e(0x163)](_0x511e55);});W(_0x237035,this[_0x48f875(0x165)][_0x48f875(0x1e4)]),this[_0x48f875(0x1b1)](_0x237035),_0x597976=!0x0,this[_0x48f875(0xf1)]=this[_0x48f875(0x1b6)];}else{const _0xad311a=this[_0x48f875(0x1ca)](_0x4d3485[_0x48f875(0x1af)],_0x4d3485[_0x48f875(0x1ad)])[_0x48f875(0x148)](_0x120f11=>_0x120f11[_0x48f875(0x113)]>=this[_0x48f875(0x155)]);_0xad311a[_0x48f875(0x1c7)](_0x5b3b25=>this[_0x48f875(0x145)](_0x5b3b25)),this[_0x48f875(0x1ab)]=this[_0x48f875(0x1ab)][_0x48f875(0x148)](_0xd7f91c=>!_0xd7f91c[_0x48f875(0x1c0)]||!this[_0x48f875(0x154)][_0x48f875(0x163)](this[_0x48f875(0x1d0)](_0xd7f91c))),this[_0x48f875(0x1ab)][_0x48f875(0x10e)]&&W(this[_0x48f875(0x1ab)],this[_0x48f875(0x1ab)][0x0][_0x48f875(0x113)]),await this[_0x48f875(0x1a2)](_0xad311a),_0x597976=this[_0x48f875(0x13b)](_0xad311a,_0x4d3485[_0x48f875(0x1e4)],_0x4d3485[_0x48f875(0x103)]),this[_0x48f875(0xf1)]=Math[_0x48f875(0x17f)](this[_0x48f875(0xf1)]/0x2);}return _0x597976?!this[_0x48f875(0x12d)]()||(this[_0x48f875(0x14a)](!0x0),!0x1):this[_0x48f875(0x14d)](_0x48f875(0x1c2));}[_0x1f672e(0x13b)](_0x10e08a,_0x3501d4,_0x460c16){const _0x24c04f=_0x1f672e;try{const _0x13db7={'document':this[_0x24c04f(0x165)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x32f098,operationsB:_0x512472,originalOperations:_0xa177ca}=_0x453938(_0x10e08a,this[_0x24c04f(0x1ab)],_0x13db7);W(_0x32f098,this[_0x24c04f(0x165)][_0x24c04f(0x1e4)]),W(_0x512472,_0x3501d4);for(const _0x23c687 of _0x32f098){const _0x513e7f=_0xa177ca[_0x24c04f(0x130)](_0x23c687);_0x23c687[_0x24c04f(0x1b5)]=_0x513e7f?_0x513e7f[_0x24c04f(0x1b5)]:null;}_0x460c16&&(this[_0x24c04f(0x1e0)][_0x24c04f(0x143)](_0x10e08a,_0x460c16),this[_0x24c04f(0x159)]=_0x460c16),this[_0x24c04f(0x1ab)]=[..._0x512472],this[_0x24c04f(0x1b1)](_0x32f098),this[_0x24c04f(0x15a)](_0x10e08a);}catch(_0x2b4523){return console[_0x24c04f(0x158)](_0x2b4523),!0x1;}return!0x0;}[_0x1f672e(0x1b1)](_0x3704e6,_0xf824e0=!0x1){const _0x285240=_0x1f672e;this[_0x285240(0x150)][_0x285240(0x11d)][_0x285240(0x186)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f8e77=>{const _0x112c54=_0x285240;for(const _0x26da50 of _0x3704e6)this[_0x112c54(0x117)][_0x112c54(0x1d4)](_0x26da50),this[_0x112c54(0x145)](_0x26da50),_0x4f8e77[_0x112c54(0x13e)][_0x112c54(0x172)](_0x26da50),this[_0x112c54(0x150)][_0x112c54(0x11d)][_0x112c54(0x116)](_0x26da50);});}[_0x1f672e(0x145)](_0x386da4){const _0x18fdf6=_0x1f672e,_0x1641d8=this[_0x18fdf6(0x1d0)](_0x386da4);_0x1641d8&&this[_0x18fdf6(0x154)][_0x18fdf6(0x1d4)](_0x1641d8);}[_0x1f672e(0x1d0)](_0x3f7658){const _0x5ade07=_0x1f672e;let _0x40b4ad,_0x81d09e;switch(_0x3f7658[_0x5ade07(0x178)]){case _0x5ade07(0x1a3):_0x40b4ad=_0x3f7658[_0x5ade07(0x1bf)][_0x5ade07(0xe6)];break;case _0x5ade07(0xe9):if(_0x81d09e=_0x3f7658[_0x5ade07(0x135)],!_0x81d09e)return null;_0x40b4ad=_0x81d09e[_0x5ade07(0xe6)];break;case _0x5ade07(0xe7):_0x40b4ad=_0x3f7658[_0x5ade07(0xe6)];break;case _0x5ade07(0x1ba):_0x40b4ad=_0x3f7658[_0x5ade07(0x115)];break;case _0x5ade07(0x104):_0x40b4ad=_0x3f7658[_0x5ade07(0x1a6)][_0x5ade07(0xe6)];break;default:return null;}return _0x40b4ad[_0x5ade07(0xfa)];}[_0x1f672e(0x15a)](_0x3bbeed){const _0x2bf92d=_0x1f672e;_0x3bbeed[_0x2bf92d(0x1c7)](_0x4b9f0d=>{const _0x41467e=_0x2bf92d,_0x3e872c=_0x4b9f0d[_0x41467e(0xf8)]();_0x3e872c[_0x41467e(0x1b5)]=_0x4b9f0d[_0x41467e(0x1b5)],_0x3e872c[_0x41467e(0x1c0)]=!!_0x4b9f0d[_0x41467e(0x1c0)],_0x3e872c[_0x41467e(0x17c)]=_0x4b9f0d[_0x41467e(0x17c)],_0x3e872c[_0x41467e(0x113)]+=this[_0x41467e(0x1dc)],_0x4b9f0d[_0x41467e(0xf2)]&&this[_0x41467e(0x10a)][_0x41467e(0x1d4)](_0x3e872c),this[_0x41467e(0x1ae)][_0x41467e(0x172)](_0x3e872c);});}[_0x1f672e(0x195)](_0x12be4b){const _0x521a2f=_0x1f672e,_0x3778a0=this[_0x521a2f(0x150)][_0x521a2f(0x10b)][_0x521a2f(0x130)](_0x521a2f(0x140)),_0x16e656=this[_0x521a2f(0x150)][_0x521a2f(0x13c)];_0x12be4b||(_0x12be4b=_0x517c5f(_0x16e656,_0x521a2f(0x152))),_0x3778a0[_0x521a2f(0x144)](_0x12be4b,{'title':_0x517c5f(_0x16e656,_0x521a2f(0x171)),'namespace':_0x521a2f(0x147)}),this[_0x521a2f(0x17d)]=!0x0,clearTimeout(this[_0x521a2f(0x188)]),this[_0x521a2f(0x1ab)]=[],this[_0x521a2f(0x150)][_0x521a2f(0x10b)][_0x521a2f(0x130)](_0x3d4717)[_0x521a2f(0x105)]();}[_0x1f672e(0x12b)](){const _0x455168=_0x1f672e;this[_0x455168(0x175)]||(this[_0x455168(0x175)]=this[_0x455168(0x150)][_0x455168(0x10b)][_0x455168(0x130)](_0x4dc2d3)[_0x455168(0x1d4)](_0x517c5f(this[_0x455168(0x150)][_0x455168(0x13c)],_0x455168(0x17e))));}[_0x1f672e(0x179)](){const _0x24bffd=_0x1f672e;this[_0x24bffd(0x175)]&&(this[_0x24bffd(0x150)][_0x24bffd(0x10b)][_0x24bffd(0x130)](_0x4dc2d3)[_0x24bffd(0x181)](this[_0x24bffd(0x175)]),this[_0x24bffd(0x175)]=null);}[_0x1f672e(0xf5)](_0xc84d2f){const _0x19a186=_0x1f672e,_0x2e1895=_0xc84d2f[_0x19a186(0x1e5)](_0x22ff87=>_0x22ff87[_0x19a186(0xfb)]());return this[_0x19a186(0x127)][_0x19a186(0x190)](_0x2e1895);}[_0x1f672e(0x1ca)](_0x532ff0,_0x22ca8f){const _0x5b3734=_0x1f672e;return this[_0x5b3734(0x127)][_0x5b3734(0x1a5)](_0x532ff0)[_0x5b3734(0x1e5)]((_0x26a347,_0x1cab1a)=>{const _0x220d18=_0x5b3734,_0x4359d6=_0x220d18(0x1e2)==_0x22ca8f[_0x1cab1a][_0x220d18(0x178)];if(_0x220d18(0x136)==_0x26a347[_0x220d18(0x1c8)]){const _0x520a5d=_0x26a347[_0x220d18(0x1bf)][_0x220d18(0xe6)];!this[_0x220d18(0x165)][_0x220d18(0x153)](_0x520a5d)&&(this[_0x220d18(0x165)][_0x220d18(0x137)](_0x220d18(0x1c9),_0x520a5d)[_0x220d18(0x151)]=!0x1);}const _0x14ae31=_0x24071f[_0x220d18(0x18f)](_0x26a347,this[_0x220d18(0x165)]);return _0x14ae31[_0x220d18(0x197)]=_0x26a347[_0x220d18(0x197)],_0x14ae31[_0x220d18(0x1c0)]=_0x4359d6,_0x14ae31[_0x220d18(0x1b5)]=_0x4359d6?null:_0x22ca8f[_0x1cab1a][_0x220d18(0xf3)],_0x14ae31[_0x220d18(0xf2)]=_0x220d18(0x118)===_0x22ca8f[_0x1cab1a][_0x220d18(0x178)],_0x14ae31[_0x220d18(0x17c)]=_0x22ca8f[_0x1cab1a][_0x220d18(0x17c)],_0x14ae31;});}[_0x1f672e(0x161)](){const _0x6074ee=_0x1f672e;this[_0x6074ee(0x1da)]=!0x0,this[_0x6074ee(0xf7)]()?this[_0x6074ee(0x14a)]():this[_0x6074ee(0x1da)]=!0x1;}[_0x1f672e(0xf7)](){const _0x10d0ca=_0x1f672e,_0x1277f7=this[_0x10d0ca(0x150)][_0x10d0ca(0x10b)][_0x10d0ca(0x130)](_0x535cae)[_0x10d0ca(0x139)][_0x10d0ca(0x130)](this[_0x10d0ca(0x199)]);return!this[_0x10d0ca(0x150)][_0x10d0ca(0x167)]&&!!_0x1277f7&&_0x1277f7[_0x10d0ca(0x10e)]>0x1&&this[_0x10d0ca(0x1da)];}[_0x1f672e(0x12d)](){const _0xe21adc=_0x1f672e;return this[_0xe21adc(0x1ab)][_0xe21adc(0x10e)]>0x0||this[_0xe21adc(0xf7)]();}}class V extends Error{}function W(_0x16324e,_0x55dca4){const _0x31e38c=_0x1f672e;for(const _0x339e12 of _0x16324e)_0x339e12[_0x31e38c(0x113)]=_0x55dca4++;}class F{[_0x1f672e(0x1be)];[_0x1f672e(0x121)];constructor(_0x5355fc){const _0x505e49=_0x1f672e;this[_0x505e49(0x1be)]=_0x5355fc,this[_0x505e49(0x121)]=new WeakMap();}[_0x1f672e(0x1cf)](_0x2f8a4d){const _0x2dfc69=_0x1f672e;let _0x20d400=_0x2f8a4d[_0x2dfc69(0x10e)];for(;_0x20d400--;){const _0x41e716=_0x2f8a4d[_0x20d400];if(!this[_0x2dfc69(0x1be)][_0x2dfc69(0x163)](_0x41e716)){if(!this[_0x2dfc69(0x121)][_0x2dfc69(0x163)](_0x41e716)){const _0x3c1ce7=_0x53b76d()[_0x2dfc69(0x1bb)](0x1,0x12);this[_0x2dfc69(0x121)][_0x2dfc69(0x11f)](_0x41e716,_0x3c1ce7);}return this[_0x2dfc69(0x121)][_0x2dfc69(0x130)](_0x41e716);}}}[_0x1f672e(0x143)](_0x1e45cb,_0xcd96e){const _0x4b3481=_0x1f672e;if(!_0xcd96e)return;let _0x532428=_0x1e45cb[_0x4b3481(0x10e)];for(;_0x532428--;){const _0xc80951=_0x1e45cb[_0x532428];this[_0x4b3481(0x1be)][_0x4b3481(0x163)](_0xc80951)||this[_0x4b3481(0x121)][_0x4b3481(0x11f)](_0xc80951,_0xcd96e);}}}
23
+ const _0x40afd6=_0x4099;(function(_0x1ff769,_0x3d956c){const _0x5c931d=_0x4099,_0x1895ec=_0x1ff769();while(!![]){try{const _0x42d383=parseInt(_0x5c931d(0xed))/0x1+parseInt(_0x5c931d(0xd5))/0x2*(parseInt(_0x5c931d(0xec))/0x3)+-parseInt(_0x5c931d(0xac))/0x4*(-parseInt(_0x5c931d(0x13f))/0x5)+parseInt(_0x5c931d(0x130))/0x6+parseInt(_0x5c931d(0x120))/0x7*(parseInt(_0x5c931d(0xcc))/0x8)+-parseInt(_0x5c931d(0x17f))/0x9*(-parseInt(_0x5c931d(0x19e))/0xa)+-parseInt(_0x5c931d(0x113))/0xb;if(_0x42d383===_0x3d956c)break;else _0x1895ec['push'](_0x1895ec['shift']());}catch(_0x374295){_0x1895ec['push'](_0x1895ec['shift']());}}}(_0x6826,0x471b7));import{Plugin as _0x342950,PendingActions as _0x3b1d7f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ac2d8,version as _0x446c66,uid as _0x585e67}from'ckeditor5/src/utils.js';import{Notification as _0x576aa8}from'ckeditor5/src/ui.js';function _0x4099(_0x5b4381,_0x157e35){const _0x682670=_0x6826();return _0x4099=function(_0x409990,_0x480957){_0x409990=_0x409990-0x98;let _0xd7754=_0x682670[_0x409990];return _0xd7754;},_0x4099(_0x5b4381,_0x157e35);}import{transformOperationSets as _0x23d2f0,NoOperation as _0x166358,InsertOperation as _0x52dda0,MarkerOperation as _0x264540,RootAttributeOperation as _0x305f59,OperationFactory as _0x2f7a13,History as _0x3612cd}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x331a8f}from'./websocketgateway.js';import{Sessions as _0x4b8b4e}from'./sessions.js';import{UserMarkers as _0x3d17da}from'./usermarkers.js';import{getTranslation as _0x156544}from'../common-translations.js';import{Compressor as _0x17bad1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5df85d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1fc2e0,CollaborativeEditingService as _0x62907b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x6826(){const _0xe55154=['rootsAttributes','3236934JZzdTg','wereChangesApplied','addToReconnectionStack','cloudServices.bundleVersion','root','register','listenTo','editing','PENDING_ACTION_SENDING_DATA','parse','_isEditingAllowed','_pendingAction','isReadOnly','change:_isPendingUpdate','Synchronization\x20issue','15OEMUcf','connected','keys','getOperationAuthor','suppressErrorInCollaboration','enableReadOnlyMode','editor','history','wasUndone','realtimecollaborationclient-init-service-internal-error','error','multi-root-editor-root-attributes-no-root','cs:removeUser','_getOperationsFromInitData','_initSessionsHandling','collaboration.channelId','permissions','setPermissions','attributes','lastSyncVersion','applyOperation','lastOperationId','requires','_compressor','_updateServerHistory','addRoot','currentDocumentSession','from','rootName','real-time-collaboration','change:_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','_loadRoot','_handleServerResponse','sessionCreatedAt','getOperations','isUndoneOperation','isEnabled','_isInit','disableReadOnlyMode','_handleInitialConnectionData','lastOperationAcceptedAt','off','version','toJSON','_decompressOperations','connection','set','sendOperations','includes','define','_compressOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','decompress','stopListening','_document','getRoot','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.','addOperation','_currentBufferDelay','_ignoredOperations','createUserMarkerOperations','_hasSelectionChanged','_handleExternalOperations','1855098IfiqXF','cloud-services-internal-error:\x20Not\x20connected.','has','change:hasDomSelection','cloud-services-internal-error:\x20Request\x20timeout.','addRootAttribute','_baseBufferDelay','_connectService','_disconnectionOperations','Permissions','destroy','unregister','init','_handleReceivedOperations','_shouldSendSelectionUpdate','_addKnownRoot','rtc-offline','_lastServerVersion','remove','createPositionAt','size','reconnection:\x20flushed\x20session','config','_offset','compress','_service','locale','404','startsWith','setIdForTheLastOperation','document','10OAYoPM','__className','apply','enqueueChange','operationsReceived','isDocumentOperation','_waitUntilSynced','reconnect','type','path','removeFromReconnectionStack','catch','createPositionFromPath','_handleSendingSelectionMarkers','showWarning','getMany','batch','serverHistory','createdAt','get','isPremiumPlugin','684928cicRHw','RealTimeCollaborationClient','getUser','getConnectedSessions','mySessionId','connect','message','_saveOperationInBuffer','filter','collaboration','roots','high','position','move','_sendBufferedOperationsDelayed','loadRoot','Notification','map','_isDisconnection','entries','round','affectedSelectable','_connectAfterSessionHasBeenFlushed','_setPendingAction','_crash','_channelId','return','model','InsertOperation','_operationToId','initData','finally','1693072OTHFQZ','marker','_refreshUserSelectionMarkers','change:range','realtimecollaborationclient-init-connection-failed','_sendBufferedOperations','markers','fromJSON','pluginName','179206RQrKZy','view','CollaborativeEditingService','newRange','_handleReconnectionError','_lastSyncedOperationId','_knownOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_knownRootNames','getDocumentDetails','slice','_authorId','start','_fetchMissingUsers','lastDocumentSession','_shouldSendUpdate','channelSessions','_clearPendingAction','selection','$root','stop','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','baseVersion','18GUyPIt','496820skaZki','_isConnected','metadata','realtimecollaborationclient','userId','disconnect','code','_applyOperationsSet','_disconnectService','_bufferRootLoad','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getIdOfTheLastOperation','_isPendingUpdate','end','disconnected','_isLoaded','then','_isAttached','realtimecollaborationclient-error','ready','_sendBufferedOperationsDelayId','targetPosition','realtimecollaborationclient-sendbufferedoperations','differ','cloudDocumentVersion','realtimecollaborationclient-init-session-connection-error','insert','_hasSynchronizationProblem','realtimecollaborationclient-handleserverresponse','_handleReconnectionResponse','offset','409','string','rtc-destroyed','sessionAdd:','fire','forEach','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','24355364BWSAUv','length','addUser','data','plugins','bind','_operationIdentifier','createRoot','clone','add','sessionId','createRange','_getAffectedRoot','7cadNaS','affectsData','_bufferedOperations','directChange','_setUpDataInit','push','state','isOfficialPlugin','realtimecollaborationclient-init-non-existent-root','collaboration-missing-channelid','CommentsOnly','realtimecollaborationclient-init-service-incorrect-server-operation','document:write','_initThrowingOnDataSet','reset'];_0x6826=function(){return _0xe55154;};return _0x6826();}let z=0x1;export class RealTimeCollaborationClient extends _0x342950{static [_0x40afd6(0xd7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x62907b)());[_0x40afd6(0x196)];[_0x40afd6(0x11d)];[_0x40afd6(0xa8)];[_0x40afd6(0xc5)];[_0x40afd6(0x198)];[_0x40afd6(0x176)];[_0x40afd6(0x156)];[_0x40afd6(0x122)];[_0x40afd6(0xdb)];[_0x40afd6(0xdd)];[_0x40afd6(0x13b)];[_0x40afd6(0x17d)];[_0x40afd6(0x101)];[_0x40afd6(0x185)];[_0x40afd6(0x17a)];[_0x40afd6(0xda)];[_0x40afd6(0x187)];[_0x40afd6(0x119)];static get[_0x40afd6(0x155)](){return[_0x331a8f,_0x4b8b4e,_0x3d17da,_0x3b1d7f,_0x5df85d,_0x576aa8];}static get[_0x40afd6(0xd4)](){const _0x465108=_0x40afd6;return _0x465108(0xad);}static get[_0x40afd6(0x127)](){return!0x0;}static get[_0x40afd6(0xab)](){return!0x0;}get[_0x40afd6(0x105)](){const _0x1a0521=_0x40afd6;return this[_0x1a0521(0x190)]+this[_0x1a0521(0x196)];}get[_0x40afd6(0x190)](){const _0x191257=_0x40afd6;return this[_0x191257(0xa8)][_0x191257(0x16a)]-this[_0x191257(0x196)];}get[_0x40afd6(0x152)](){const _0x171514=_0x40afd6,_0x7a32b=this[_0x171514(0xa8)][_0x171514(0x162)]();for(let _0x8db8c4=_0x7a32b[_0x171514(0x114)]-0x1;_0x8db8c4>=0x0;_0x8db8c4--){const _0x1c112c=_0x7a32b[_0x8db8c4];if(!this[_0x171514(0x187)][_0x171514(0x181)](_0x1c112c))return _0x1c112c[_0x171514(0xeb)]+0x1-this[_0x171514(0x196)];}return 0x0;}constructor(_0x506f12){const _0x8c5d0f=_0x40afd6;if(super(_0x506f12),this[_0x8c5d0f(0x196)]=0x0,this[_0x8c5d0f(0x11d)]=null,this[_0x8c5d0f(0xa8)]=new _0x3612cd(),this[_0x8c5d0f(0x145)][_0x8c5d0f(0x195)][_0x8c5d0f(0x171)](_0x8c5d0f(0xb5),{}),this[_0x8c5d0f(0xc5)]=this[_0x8c5d0f(0x145)][_0x8c5d0f(0x195)][_0x8c5d0f(0xaa)](_0x8c5d0f(0x14e)),!this[_0x8c5d0f(0xc5)])throw new _0x1ac2d8(_0x8c5d0f(0x129),this);const _0x414bc6=_0x506f12[_0x8c5d0f(0x195)][_0x8c5d0f(0xaa)](_0x8c5d0f(0x133))||_0x446c66;this[_0x8c5d0f(0x198)]=new RealTimeCollaborationClient[(_0x8c5d0f(0xd7))](_0x414bc6,this[_0x8c5d0f(0xc5)]),this[_0x8c5d0f(0x176)]=this[_0x8c5d0f(0x145)][_0x8c5d0f(0xc7)][_0x8c5d0f(0x19d)],this[_0x8c5d0f(0x156)]=new _0x17bad1(),this[_0x8c5d0f(0x122)]=[],this[_0x8c5d0f(0xdb)]=new WeakSet(),this[_0x8c5d0f(0xdd)]=new Set(),this[_0x8c5d0f(0x16e)](_0x8c5d0f(0xf9),!0x1),this[_0x8c5d0f(0x16e)](_0x8c5d0f(0x108),!0x1),this[_0x8c5d0f(0x13b)]=null,this[_0x8c5d0f(0x17d)]=!0x1,this[_0x8c5d0f(0x101)]=null,this[_0x8c5d0f(0x185)]=0x12c,this[_0x8c5d0f(0x17a)]=this[_0x8c5d0f(0x185)],this[_0x8c5d0f(0xda)]=null,this[_0x8c5d0f(0x187)]=new WeakSet(),this[_0x8c5d0f(0x119)]=new W(this[_0x8c5d0f(0x187)]);}[_0x40afd6(0x18b)](){const _0x54e9e0=_0x40afd6,_0x12df2b=this[_0x54e9e0(0x145)],_0x592784=_0x12df2b[_0x54e9e0(0x117)][_0x54e9e0(0xaa)](_0x5df85d),_0x45d337=_0x12df2b[_0x54e9e0(0x117)][_0x54e9e0(0xaa)](_0x331a8f);this[_0x54e9e0(0x136)](_0x592784,_0x54e9e0(0x142),(_0x3937c7,_0x42af80)=>{const _0x363746=_0x54e9e0,_0x36b811=_0x42af80[0x0];_0x36b811[_0x363746(0xe0)]&&(_0x3937c7[_0x363746(0xc6)]=_0x592784[_0x363746(0xae)](_0x36b811[_0x363746(0xe0)]),_0x3937c7[_0x363746(0xe9)]()),null===_0x36b811[_0x363746(0xe0)]&&(_0x3937c7[_0x363746(0xc6)]=null,_0x3937c7[_0x363746(0xe9)]());},{'priority':_0x54e9e0(0xb7)}),this[_0x54e9e0(0x136)](_0x12df2b[_0x54e9e0(0xc7)][_0x54e9e0(0x19d)][_0x54e9e0(0xe7)],_0x54e9e0(0xcf),(_0x2a8229,_0x4ce42a)=>{const _0x447101=_0x54e9e0;_0x4ce42a[_0x447101(0x123)]&&this[_0x447101(0xce)]();}),this[_0x54e9e0(0x136)](_0x12df2b[_0x54e9e0(0x137)][_0x54e9e0(0xd6)],_0x54e9e0(0x182),()=>{const _0x35a47d=_0x54e9e0;this[_0x35a47d(0xce)]();}),this[_0x54e9e0(0x12d)](),_0x12df2b[_0x54e9e0(0xc7)]['on'](_0x54e9e0(0x153),(_0x30d3e1,_0x1d29c5)=>{const _0x55e968=_0x54e9e0,_0x3072c8=_0x1d29c5[0x0];_0x3072c8[_0x55e968(0x9c)]&&(this[_0x55e968(0xb3)](_0x3072c8),this[_0x55e968(0xe4)]()&&this[_0x55e968(0xba)]());}),this[_0x54e9e0(0x124)](),this[_0x54e9e0(0x118)](_0x54e9e0(0x13a))['to'](_0x45d337,_0x54e9e0(0x126),this,_0x54e9e0(0x108),(_0x40b96a,_0xea6edd)=>_0x54e9e0(0x140)===_0x40b96a&&!_0xea6edd),this['on'](_0x54e9e0(0x15d),()=>{const _0x5c0387=_0x54e9e0;this[_0x5c0387(0x13a)]?_0x12df2b[_0x5c0387(0x166)](_0x5c0387(0x18f)):_0x12df2b[_0x5c0387(0x144)](_0x5c0387(0x18f));}),this[_0x54e9e0(0x13a)]?_0x12df2b[_0x54e9e0(0x166)](_0x54e9e0(0x18f)):_0x12df2b[_0x54e9e0(0x144)](_0x54e9e0(0x18f)),this[_0x54e9e0(0x16e)](_0x54e9e0(0xee),!0x1);}async[_0x40afd6(0x9e)](){const _0x1d5af0=_0x40afd6,_0x34e3fb=this[_0x1d5af0(0x145)][_0x1d5af0(0x117)][_0x1d5af0(0xaa)](_0x4b8b4e),_0x227681=this[_0x1d5af0(0x145)][_0x1d5af0(0x117)][_0x1d5af0(0xaa)](_0x331a8f);try{this[_0x1d5af0(0xf9)]=!0x0,_0x34e3fb[_0x1d5af0(0x18a)](this[_0x1d5af0(0xc5)]);const _0x4a3e89=await this[_0x1d5af0(0x198)][_0x1d5af0(0x9e)](_0x227681[_0x1d5af0(0x16d)],this[_0x1d5af0(0x152)]);await this[_0x1d5af0(0x10a)](_0x4a3e89)&&(this[_0x1d5af0(0xf9)]=!0x1,this[_0x1d5af0(0xe6)]());const _0x25b9fe=await this[_0x1d5af0(0x198)][_0x1d5af0(0xaf)]();_0x34e3fb[_0x1d5af0(0x135)](this[_0x1d5af0(0xc5)],_0x25b9fe),this[_0x1d5af0(0xa4)](),this[_0x1d5af0(0xee)]=!0x0;}catch(_0x32de73){if(function(_0x241287){const _0x55c87e=_0x1d5af0;return _0x55c87e(0x19a)===_0x241287[_0x55c87e(0xf3)];}(_0x32de73)&&this[_0x1d5af0(0x11d)])await this[_0x1d5af0(0xc2)]();else{if(function(_0x36d3cd){const _0x175175=_0x1d5af0;return _0x175175(0x10c)===_0x36d3cd[_0x175175(0xf3)];}(_0x32de73)){const _0x5cb99a=_0x156544(this[_0x1d5af0(0x145)][_0x1d5af0(0x199)],_0x1d5af0(0x173));this[_0x1d5af0(0xd9)](_0x5cb99a);}else{if(!(_0x32de73 instanceof H))throw _0x32de73;this[_0x1d5af0(0xd9)]();}}}}[_0x40afd6(0x189)](){const _0x48b253=_0x40afd6,_0x49d15d=this[_0x48b253(0x145)][_0x48b253(0x117)][_0x48b253(0xaa)](_0x331a8f),_0x139529=this[_0x48b253(0x145)][_0x48b253(0x117)][_0x48b253(0xaa)](_0x4b8b4e);this[_0x48b253(0x145)][_0x48b253(0x144)](_0x48b253(0x10e)),_0x139529[_0x48b253(0xe5)][_0x48b253(0x181)](this[_0x48b253(0xc5)])&&_0x139529[_0x48b253(0x18a)](this[_0x48b253(0xc5)]),_0x49d15d[_0x48b253(0xa1)](this),this[_0x48b253(0xf5)](),super[_0x48b253(0x189)]();}async[_0x40afd6(0x10a)](_0x2a682f){const _0x3360f1=_0x40afd6;if(this[_0x3360f1(0x11d)]!==_0x2a682f[_0x3360f1(0x11d)]&&this[_0x3360f1(0xda)]!==_0x2a682f[_0x3360f1(0x154)])throw new H();return this[_0x3360f1(0x11d)]=_0x2a682f[_0x3360f1(0x11d)],this[_0x3360f1(0x160)]([],{..._0x2a682f,'wereChangesApplied':!0x1,'data':_0x2a682f[_0x3360f1(0x116)]},_0x3360f1(0x9e));}async[_0x40afd6(0x186)](_0x3fe28f,_0x5cc92a=!0x1){const _0x42f65f=_0x40afd6,{connection:_0x511a03}=this[_0x42f65f(0x145)][_0x42f65f(0x117)][_0x42f65f(0xaa)](_0x331a8f);RealTimeCollaborationClient[_0x42f65f(0xd7)][_0x42f65f(0xaf)](_0x511a03,this[_0x42f65f(0xc5)])[_0x42f65f(0xfd)](_0x5f1caf=>this[_0x42f65f(0x14d)](_0x5f1caf))[_0x42f65f(0xa2)](_0xc3e82e=>{const _0x3dbdd1=_0x42f65f;this[_0x3dbdd1(0xc4)](_0x3dbdd1(0x106),_0xc3e82e);}),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0x9b),this[_0x42f65f(0x18c)][_0x42f65f(0x118)](this)),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0x149),(_0x31365d,_0x3c3d66)=>{const _0x226c19=_0x42f65f;this[_0x226c19(0xc4)](_0x226c19(0x148),_0x3c3d66);}),this[_0x42f65f(0x136)](this[_0x42f65f(0x198)],_0x42f65f(0xfb),()=>{const _0x26b11f=_0x42f65f;this[_0x26b11f(0xee)]=!0x1;});const _0x3ad57f=this[_0x42f65f(0x119)][_0x42f65f(0xf8)](_0x3fe28f);this[_0x42f65f(0xf9)]=!0x0;const _0x3fe6fe=await this[_0x42f65f(0x198)][_0x42f65f(0xb1)](_0x511a03,this[_0x42f65f(0x172)](_0x3fe28f),_0x3ad57f);if(this[_0x42f65f(0x11d)]=_0x3fe6fe[_0x42f65f(0x11d)],_0x5cc92a){if(!_0x3fe6fe[_0x42f65f(0x131)])return void this[_0x42f65f(0xd9)]();this[_0x42f65f(0xf9)]=!0x1,this[_0x42f65f(0xe6)](),this[_0x42f65f(0xa8)][_0x42f65f(0x12e)](),this[_0x42f65f(0x196)]=_0x3fe6fe[_0x42f65f(0x10b)],this[_0x42f65f(0xa8)][_0x42f65f(0x16a)]=this[_0x42f65f(0x196)],await this[_0x42f65f(0x160)](_0x3fe28f,_0x3fe6fe,_0x42f65f(0x194));}else await this[_0x42f65f(0x167)](_0x3fe6fe,_0x3fe28f);this[_0x42f65f(0xa4)](),this[_0x42f65f(0xee)]=!0x0;}[_0x40afd6(0xa4)](){const _0x26101e=_0x40afd6,_0x4def29=this[_0x26101e(0x145)][_0x26101e(0x117)][_0x26101e(0xaa)](_0x4b8b4e),_0x4b0fef=this[_0x26101e(0x145)][_0x26101e(0x117)][_0x26101e(0xaa)](_0x3d17da),_0x3fa576=_0x4def29[_0x26101e(0xe5)][_0x26101e(0xaa)](this[_0x26101e(0xc5)]);_0x3fa576&&_0x3fa576[_0x26101e(0x114)]>0x1?_0x4b0fef[_0x26101e(0x17c)]():this[_0x26101e(0x136)](_0x4def29,_0x26101e(0x10f)+this[_0x26101e(0xc5)],()=>{const _0x587376=_0x26101e;0x2===_0x4def29[_0x587376(0xe5)][_0x587376(0xaa)](this[_0x587376(0xc5)])[_0x587376(0x114)]&&_0x4b0fef[_0x587376(0x17c)]();});}async[_0x40afd6(0x18c)](_0x5978c0,_0x683ab2,_0x7958f4,_0x14783b){const _0x24bb46=_0x40afd6;if(!this[_0x24bb46(0xf9)]&&this[_0x24bb46(0x176)][_0x24bb46(0x16a)]==_0x683ab2){const _0x4648b8=this[_0x24bb46(0x16c)](_0x7958f4,_0x14783b);await this[_0x24bb46(0xe2)](_0x4648b8),this[_0x24bb46(0x17e)](_0x4648b8,_0x683ab2,_0x7958f4[_0x24bb46(0x154)])||this[_0x24bb46(0xc4)](_0x24bb46(0x12b));}}async[_0x40afd6(0xc2)](){const _0x24e2d4=_0x40afd6;this[_0x24e2d4(0xf5)]();const {locale:_0x3c7845}=this[_0x24e2d4(0x145)];let _0x151d78;try{_0x151d78=await this[_0x24e2d4(0x198)][_0x24e2d4(0xde)]();}catch{const _0x1cda60=_0x156544(_0x3c7845,_0x24e2d4(0xf7));return void this[_0x24e2d4(0xd9)](_0x1cda60);}const _0x2a1a2f=_0x151d78[_0x24e2d4(0x159)]||_0x151d78[_0x24e2d4(0xe3)];if(this[_0x24e2d4(0xda)]!==_0x2a1a2f[_0x24e2d4(0x154)]){const _0x1c1783=_0x156544(_0x3c7845,_0x24e2d4(0xea));return void this[_0x24e2d4(0xd9)](_0x1c1783);}await this[_0x24e2d4(0x186)](this[_0x24e2d4(0x145)][_0x24e2d4(0xc7)][_0x24e2d4(0x19d)][_0x24e2d4(0x146)][_0x24e2d4(0x162)](),!0x0);}[_0x40afd6(0xf5)](){const _0x30f98a=_0x40afd6;this[_0x30f98a(0x198)][_0x30f98a(0xf2)](),this[_0x30f98a(0x122)]=[],clearTimeout(this[_0x30f98a(0x101)]),this[_0x30f98a(0x175)](this[_0x30f98a(0x198)]);}[_0x40afd6(0x14d)](_0x36c6b1){const _0x1b3f71=_0x40afd6,_0x374cc6=this[_0x1b3f71(0x145)][_0x1b3f71(0x117)][_0x1b3f71(0xaa)](_0x4b8b4e);this[_0x1b3f71(0x136)](_0x374cc6,_0x1b3f71(0x10f)+this[_0x1b3f71(0xc5)],(_0x221941,{session:_0x5f0845})=>{const _0x25257c=_0x1b3f71;if(_0x5f0845['id']===_0x374cc6[_0x25257c(0xb0)]){_0x221941[_0x25257c(0x169)]();const _0x3fb71f=this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0x181)](_0x25257c(0x12a))&&this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0xaa)](_0x25257c(0x12a));let _0x1d1f78=_0x5f0845[_0x25257c(0x14f)];_0x3fb71f&&_0x3fb71f[_0x25257c(0x164)]&&(_0x1d1f78=_0x1d1f78[_0x25257c(0xb4)](_0x108801=>_0x25257c(0x12c)!==_0x108801)),this[_0x25257c(0x145)][_0x25257c(0x117)][_0x25257c(0xaa)](_0x25257c(0x188))[_0x25257c(0x150)](_0x1d1f78,this[_0x25257c(0xc5)]);}}),_0x374cc6[_0x1b3f71(0x135)](this[_0x1b3f71(0xc5)],_0x36c6b1);}[_0x40afd6(0x12d)](){const _0x5175f6=_0x40afd6,_0x3dde6b=this[_0x5175f6(0x145)][_0x5175f6(0x116)][_0x5175f6(0x16e)];this[_0x5175f6(0x145)][_0x5175f6(0x116)][_0x5175f6(0x16e)]=(..._0x32e723)=>{const _0x36a8a0=_0x5175f6;if(!_0x32e723[_0x32e723[_0x36a8a0(0x114)]-0x1][_0x36a8a0(0x143)])throw new _0x1ac2d8(_0x36a8a0(0x112),this);_0x3dde6b[_0x36a8a0(0x99)](this[_0x36a8a0(0x145)][_0x36a8a0(0x116)],_0x32e723);};}[_0x40afd6(0x124)](){const _0x2db2c7=_0x40afd6;this[_0x2db2c7(0x145)][_0x2db2c7(0x116)]['on'](_0x2db2c7(0x18b),(_0x4b5ce0,[_0x423a7b])=>{const _0x2246fa=_0x2db2c7;if(this[_0x2246fa(0x176)][_0x2246fa(0x16a)])throw new _0x1ac2d8(_0x2246fa(0x15e),this);_0x4b5ce0[_0x2246fa(0xe9)](),this[_0x2246fa(0xc3)]();const _0x6d75bc=this[_0x2246fa(0x145)][_0x2246fa(0x195)][_0x2246fa(0xaa)](_0x2246fa(0x12f)),_0x2135d4=this[_0x2246fa(0x14c)](_0x423a7b,_0x6d75bc);0x0==_0x2135d4[_0x2246fa(0x114)]&&_0x2135d4[_0x2246fa(0x125)](new _0x166358(0x0)),_0x4b5ce0[_0x2246fa(0xc6)]=this[_0x2246fa(0x186)](_0x2135d4)[_0x2246fa(0xfd)](()=>{const _0x535665=_0x2246fa;this[_0x535665(0x145)][_0x535665(0x117)][_0x535665(0xaa)](_0x331a8f)[_0x535665(0x132)](this),this[_0x535665(0x145)][_0x535665(0x116)][_0x535665(0x110)](_0x535665(0x100));})[_0x2246fa(0xa2)](_0x4ce069=>this[_0x2246fa(0xc4)](_0x2246fa(0xd0),_0x4ce069))[_0x2246fa(0xcb)](()=>this[_0x2246fa(0xe6)]());},{'priority':_0x2db2c7(0xb7)}),this[_0x2db2c7(0x145)]['on'](_0x2db2c7(0xbb),async(_0x438802,[_0xed59a8,_0x158b00])=>{const _0x37fe9c=_0x2db2c7;_0x438802[_0x37fe9c(0xe9)]();const _0x250857=this[_0x37fe9c(0x145)][_0x37fe9c(0xc7)][_0x37fe9c(0x19d)][_0x37fe9c(0x177)](_0xed59a8);if(!this[_0x37fe9c(0xdd)][_0x37fe9c(0x181)](_0xed59a8)){const _0x5322f5=_0x158b00&&_0x158b00[_0x37fe9c(0x116)]?_0x158b00[_0x37fe9c(0x116)]:'',_0x3e07fd=_0x158b00&&_0x158b00[_0x37fe9c(0x151)]?_0x158b00[_0x37fe9c(0x151)]:{};await this[_0x37fe9c(0x15f)](_0xed59a8,_0x5322f5,_0x3e07fd);}this[_0x37fe9c(0x145)][_0x37fe9c(0xc7)][_0x37fe9c(0x9a)]({'isUndoable':!0x1},()=>{const _0x2dd1c2=_0x37fe9c;_0x250857[_0x2dd1c2(0xfc)]=!0x0,this[_0x2dd1c2(0x145)][_0x2dd1c2(0xc7)][_0x2dd1c2(0x19d)][_0x2dd1c2(0x104)][_0x2dd1c2(0xf6)](_0x250857);});},{'priority':_0x2db2c7(0xb7)});}async[_0x40afd6(0xe2)](_0x26c8bf){const _0x585cc7=_0x40afd6,_0x58670d=this[_0x585cc7(0x145)][_0x585cc7(0x117)][_0x585cc7(0xaa)](_0x5df85d),{connection:_0x57d4d0}=this[_0x585cc7(0x145)][_0x585cc7(0x117)][_0x585cc7(0xaa)](_0x331a8f),_0x1d7b33=new Set();for(const _0x5164e7 of _0x26c8bf){const _0x489b19=_0x5164e7[_0x585cc7(0xe0)];_0x489b19&&!_0x58670d[_0x585cc7(0xae)](_0x489b19)&&_0x1d7b33[_0x585cc7(0x11c)](_0x489b19);}if(0x0===_0x1d7b33[_0x585cc7(0x193)])return;const _0x12b055=await _0x1fc2e0[_0x585cc7(0xa6)](_0x57d4d0,Array[_0x585cc7(0x15a)](_0x1d7b33));for(const _0x3eb453 of _0x12b055)_0x58670d[_0x585cc7(0xae)](_0x3eb453['id'])||_0x58670d[_0x585cc7(0x115)](_0x3eb453);}[_0x40afd6(0x14c)](_0x3c6ccd,_0x538391={}){const _0x12bfeb=_0x40afd6,_0x296098=this[_0x12bfeb(0x145)][_0x12bfeb(0xc7)],_0x444240=[];let _0x26630f=0x0;const _0x72cda5=_0x12bfeb(0x10d)==typeof _0x3c6ccd?{'main':_0x3c6ccd}:_0x3c6ccd;for(const _0x34315a of Object[_0x12bfeb(0x141)](_0x72cda5)){if(!this[_0x12bfeb(0x176)][_0x12bfeb(0xb6)][_0x12bfeb(0x181)](_0x34315a))throw new _0x1ac2d8(_0x12bfeb(0x128),this);const _0x1c0c98=this[_0x12bfeb(0x145)][_0x12bfeb(0x116)][_0x12bfeb(0x139)](_0x72cda5[_0x34315a]),_0x271a52=this[_0x12bfeb(0x176)][_0x12bfeb(0x177)](_0x34315a),_0x4f852d=new _0x52dda0(_0x296098[_0x12bfeb(0x192)](_0x271a52,0x0),_0x1c0c98,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x4f852d);for(const [_0x4d4fc2,_0x202a91]of _0x1c0c98[_0x12bfeb(0xd2)]){const _0x35f6e0=_0x296098[_0x12bfeb(0x11e)](_0x296098[_0x12bfeb(0xa3)](_0x271a52,_0x202a91[_0x12bfeb(0xe1)][_0x12bfeb(0xa0)][_0x12bfeb(0xdf)]()),_0x296098[_0x12bfeb(0xa3)](_0x271a52,_0x202a91[_0x12bfeb(0xfa)][_0x12bfeb(0xa0)][_0x12bfeb(0xdf)]())),_0x469602=new _0x264540(_0x4d4fc2,null,_0x35f6e0,_0x296098[_0x12bfeb(0xd2)],!0x0,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x469602);}}if(_0x538391)for(const [_0x465528,_0x31eb4a]of Object[_0x12bfeb(0xbf)](_0x538391)){const _0x5a8ac7=_0x296098[_0x12bfeb(0x19d)][_0x12bfeb(0x177)](_0x465528);if(!_0x5a8ac7)throw new _0x1ac2d8(_0x12bfeb(0x14a),null);for(const [_0x349928,_0x40a0d1]of Object[_0x12bfeb(0xbf)](_0x31eb4a))if(null!==_0x40a0d1){const _0x2f16ac=new _0x305f59(_0x5a8ac7,_0x349928,null,_0x40a0d1,_0x26630f++);_0x444240[_0x12bfeb(0x125)](_0x2f16ac);}}return _0x444240;}async[_0x40afd6(0x15f)](_0xf9fb1b,_0x225a8d,_0x229acd){const _0x257f5e=_0x40afd6;this[_0x257f5e(0x14c)]({[_0xf9fb1b]:_0x225a8d},{[_0xf9fb1b]:_0x229acd})[_0x257f5e(0x111)]((_0x183bd1,_0x41afb3)=>{const _0x12157f=_0x257f5e;_0x183bd1[_0x12157f(0xeb)]=this[_0x12157f(0x176)][_0x12157f(0x16a)]+_0x41afb3,_0x183bd1[_0x12157f(0x165)]=!0x0,this[_0x12157f(0xb3)](_0x183bd1);}),this[_0x257f5e(0xba)](),await this[_0x257f5e(0x9d)]();}async[_0x40afd6(0x167)](_0x4dc637,_0x27388c){const _0x373aac=_0x40afd6;let _0x4a60a3;this[_0x373aac(0x196)]=_0x4dc637[_0x373aac(0x10b)];const _0x4ac224=_0x4dc637[_0x373aac(0x131)]&&!_0x4dc637[_0x373aac(0xca)],_0x6a678e=_0x4ac224?0x0:_0x4dc637[_0x373aac(0x116)][_0x373aac(0xeb)];if(_0x27388c[_0x373aac(0x111)](_0x4346f6=>{const _0x3db44a=_0x373aac;_0x4346f6[_0x3db44a(0x165)]=!0x0,_0x4346f6[_0x3db44a(0xa9)]=_0x4dc637[_0x3db44a(0x161)],_0x4346f6[_0x3db44a(0xe0)]=null;}),_0x4ac224)_0x4a60a3=_0x27388c,this[_0x373aac(0xf4)](_0x4a60a3,_0x4ac224);else{if(_0x4dc637[_0x373aac(0xca)]){const _0x42653a=this[_0x373aac(0x14c)](_0x4dc637[_0x373aac(0xca)]);this[_0x373aac(0x176)][_0x373aac(0x146)][_0x373aac(0x16a)]=-_0x42653a[_0x373aac(0x114)],_0x42653a[_0x373aac(0x111)](_0x418a87=>{const _0x5029f6=_0x373aac;_0x418a87[_0x5029f6(0xeb)]-=_0x42653a[_0x5029f6(0x114)],_0x418a87[_0x5029f6(0xa9)]=_0x4dc637[_0x5029f6(0x161)],_0x418a87[_0x5029f6(0x165)]=!0x0,_0x418a87[_0x5029f6(0xe0)]=null;}),this[_0x373aac(0xf4)](_0x42653a,!0x0),this[_0x373aac(0xa8)][_0x373aac(0x16a)]=-_0x42653a[_0x373aac(0x114)]+this[_0x373aac(0x196)],this[_0x373aac(0x157)](_0x42653a);}this[_0x373aac(0x176)][_0x373aac(0x146)][_0x373aac(0x16a)]=_0x6a678e,_0x4a60a3=this[_0x373aac(0x16c)](_0x4dc637[_0x373aac(0x116)],_0x4dc637[_0x373aac(0xef)]),await this[_0x373aac(0xe2)](_0x4a60a3),this[_0x373aac(0xf4)](_0x4a60a3,_0x4ac224);}_0x4dc637[_0x373aac(0x154)]&&(this[_0x373aac(0x119)][_0x373aac(0x19c)](_0x4a60a3,_0x4dc637[_0x373aac(0x154)]),this[_0x373aac(0xda)]=_0x4dc637[_0x373aac(0x154)]),this[_0x373aac(0xa8)][_0x373aac(0x16a)]=_0x6a678e+this[_0x373aac(0x196)],this[_0x373aac(0x157)](_0x4a60a3),_0x27388c[_0x373aac(0xb4)](_0x5e9172=>{const _0x5ca24e=_0x373aac,_0x3e70e4=this[_0x5ca24e(0x11f)](_0x5e9172);return _0x3e70e4&&!this[_0x5ca24e(0xdd)][_0x5ca24e(0x181)](_0x3e70e4);})[_0x373aac(0x111)]((_0x59803b,_0x15d89e)=>{const _0x4e93b6=_0x373aac;_0x59803b[_0x4e93b6(0xeb)]=this[_0x4e93b6(0x176)][_0x4e93b6(0x16a)]+_0x15d89e,this[_0x4e93b6(0xb3)](_0x59803b);}),this[_0x373aac(0xe4)]()?(this[_0x373aac(0x17a)]=0x0,this[_0x373aac(0xba)](!0x0),await this[_0x373aac(0x9d)]()):(this[_0x373aac(0xf9)]=!0x1,this[_0x373aac(0xe6)]());}[_0x40afd6(0xc4)](_0x5cf666,_0x456560){const _0x4817e0=_0x40afd6,_0x9d2b76=_0x456560&&_0x456560[_0x4817e0(0xb2)];if(_0x9d2b76&&_0x9d2b76[_0x4817e0(0x19b)](_0x4817e0(0xf0)))throw _0x456560;const _0x3c1d35=this[_0x4817e0(0x145)][_0x4817e0(0x117)][_0x4817e0(0xaa)](_0x331a8f);throw this[_0x4817e0(0xf9)]=!0x0,_0x3c1d35[_0x4817e0(0xf2)](),this[_0x4817e0(0x145)][_0x4817e0(0x144)](_0x4817e0(0xff)),new _0x1ac2d8(_0x5cf666,this[_0x4817e0(0x145)],_0x9d2b76?{'originalError':_0x9d2b76}:void 0x0);}[_0x40afd6(0xb3)](_0x8df20d){const _0xf900ef=_0x40afd6;this[_0xf900ef(0xdb)][_0xf900ef(0x181)](_0x8df20d)||(this[_0xf900ef(0xdb)][_0xf900ef(0x11c)](_0x8df20d),this[_0xf900ef(0x122)][_0xf900ef(0x125)](_0x8df20d),this[_0xf900ef(0x13b)]||_0xf900ef(0xcd)==_0x8df20d[_0xf900ef(0x9f)]&&!_0x8df20d[_0xf900ef(0x121)]||this[_0xf900ef(0xc3)]());}[_0x40afd6(0xba)](_0x3506db=!0x1){const _0x295865=_0x40afd6;!_0x3506db&&this[_0x295865(0xf9)]||(this[_0x295865(0xf9)]=!0x0,clearTimeout(this[_0x295865(0x101)]),this[_0x295865(0x101)]=setTimeout(()=>{const _0x49ccb6=_0x295865;this[_0x49ccb6(0xd1)]()[_0x49ccb6(0xfd)](_0x5842bb=>{const _0x20ccbd=_0x49ccb6;_0x5842bb&&(this[_0x20ccbd(0xe6)](),this[_0x20ccbd(0xf9)]=!0x1);})[_0x49ccb6(0xa2)](_0x3f618e=>{const _0x437ab1=_0x49ccb6;this[_0x437ab1(0xe6)](),this[_0x437ab1(0xf9)]=!0x1,function(_0x412de2){const _0x5c0d69=_0x437ab1;return _0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0x180))||_0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0xdc))||_0x412de2[_0x5c0d69(0xb2)][_0x5c0d69(0x19b)](_0x5c0d69(0x183));}(_0x3f618e)||this[_0x437ab1(0xc4)](_0x3f618e[_0x437ab1(0xb2)],_0x3f618e);});},this[_0x295865(0x17a)]));}[_0x40afd6(0x9d)](){return new Promise(_0x34f5df=>{const _0x512239=_0x4099;this['on'](_0x512239(0x13d),()=>{_0x34f5df();});});}async[_0x40afd6(0xd1)](){const _0xdadd73=_0x40afd6,_0x301a03=this[_0xdadd73(0x145)][_0xdadd73(0x117)][_0xdadd73(0xaa)](_0x3d17da);if(this[_0xdadd73(0x18d)]()&&(_0x301a03[_0xdadd73(0x17c)](),this[_0xdadd73(0x17d)]=!0x1),!this[_0xdadd73(0xe4)]())return!0x0;const _0x1618e7=[...this[_0xdadd73(0x122)]];for(const _0x1df65d of _0x1618e7)_0x1df65d[_0xdadd73(0x147)]=this[_0xdadd73(0x176)][_0xdadd73(0x146)][_0xdadd73(0x163)](_0x1df65d);const _0x53fa40=this[_0xdadd73(0x119)][_0xdadd73(0xf8)](_0x1618e7),_0x25a7cb=z++,_0x250c83=this[_0xdadd73(0x172)](_0x1618e7),_0x3c0764=await this[_0xdadd73(0x198)][_0xdadd73(0x16f)](_0x250c83,_0x250c83[_0xdadd73(0xeb)],_0x53fa40);try{return await this[_0xdadd73(0x160)](_0x1618e7,_0x3c0764,_0x25a7cb);}catch(_0x3ebd2b){return this[_0xdadd73(0xc4)](_0xdadd73(0x103),_0x3ebd2b);}}async[_0x40afd6(0x160)](_0x2da63d,_0x3b5a94,_0x2e1aaf){const _0x1890e3=_0x40afd6;if(_0x1890e3(0x149)in _0x3b5a94)throw _0x3b5a94[_0x1890e3(0x149)];let _0x1a46f2=!0x1;if(_0x3b5a94[_0x1890e3(0x131)]){_0x3b5a94[_0x1890e3(0x154)]&&(this[_0x1890e3(0xda)]=_0x3b5a94[_0x1890e3(0x154)]),this[_0x1890e3(0x122)]=this[_0x1890e3(0x122)][_0x1890e3(0xb4)](_0x5a2ee1=>!_0x2da63d[_0x1890e3(0x170)](_0x5a2ee1));for(const _0x13e441 of _0x2da63d)_0x13e441[_0x1890e3(0xa9)]=_0x1890e3(0x168)in _0x3b5a94&&_0x3b5a94[_0x1890e3(0x168)]||void 0x0;V(_0x2da63d,_0x3b5a94[_0x1890e3(0x16a)]-_0x2da63d[_0x1890e3(0x114)]),this[_0x1890e3(0x157)](_0x2da63d);const _0x51942e=_0x2da63d[_0x1890e3(0xb4)](_0x30d655=>{const _0x388420=_0x1890e3;if(!_0x30d655[_0x388420(0x165)])return!0x1;const _0x4c9de9=this[_0x388420(0x11f)](_0x30d655);return _0x4c9de9&&!this[_0x388420(0xdd)][_0x388420(0x181)](_0x4c9de9);});V(_0x51942e,this[_0x1890e3(0x176)][_0x1890e3(0x16a)]),this[_0x1890e3(0xf4)](_0x51942e),_0x1a46f2=!0x0,this[_0x1890e3(0x17a)]=this[_0x1890e3(0x185)];}else{const _0x57456f=this[_0x1890e3(0x16c)](_0x3b5a94[_0x1890e3(0x116)],_0x3b5a94[_0x1890e3(0xef)])[_0x1890e3(0xb4)](_0x3911fb=>_0x3911fb[_0x1890e3(0xeb)]>=this[_0x1890e3(0x190)]);_0x57456f[_0x1890e3(0x111)](_0x213dd0=>this[_0x1890e3(0x18e)](_0x213dd0)),this[_0x1890e3(0x122)]=this[_0x1890e3(0x122)][_0x1890e3(0xb4)](_0x4c2e87=>!_0x4c2e87[_0x1890e3(0x165)]||!this[_0x1890e3(0xdd)][_0x1890e3(0x181)](this[_0x1890e3(0x11f)](_0x4c2e87))),this[_0x1890e3(0x122)][_0x1890e3(0x114)]&&V(this[_0x1890e3(0x122)],this[_0x1890e3(0x122)][0x0][_0x1890e3(0xeb)]),await this[_0x1890e3(0xe2)](_0x57456f),_0x1a46f2=this[_0x1890e3(0x17e)](_0x57456f,_0x3b5a94[_0x1890e3(0x16a)],_0x3b5a94[_0x1890e3(0x154)]),this[_0x1890e3(0x17a)]=Math[_0x1890e3(0xc0)](this[_0x1890e3(0x17a)]/0x2);}return _0x1a46f2?!this[_0x1890e3(0xe4)]()||(this[_0x1890e3(0xba)](!0x0),!0x1):this[_0x1890e3(0xc4)](_0x1890e3(0x109));}[_0x40afd6(0x17e)](_0x15498e,_0xd24bc3,_0xf08633){const _0x3646e2=_0x40afd6;try{const _0x23f64c={'document':this[_0x3646e2(0x176)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x32f0ae,operationsB:_0x285377,originalOperations:_0x24fe18}=_0x23d2f0(_0x15498e,this[_0x3646e2(0x122)],_0x23f64c);V(_0x32f0ae,this[_0x3646e2(0x176)][_0x3646e2(0x16a)]),V(_0x285377,_0xd24bc3);for(const _0x6e8f06 of _0x32f0ae){const _0x2be6ee=_0x24fe18[_0x3646e2(0xaa)](_0x6e8f06);_0x6e8f06[_0x3646e2(0xe0)]=_0x2be6ee?_0x2be6ee[_0x3646e2(0xe0)]:null;}_0xf08633&&(this[_0x3646e2(0x119)][_0x3646e2(0x19c)](_0x15498e,_0xf08633),this[_0x3646e2(0xda)]=_0xf08633),this[_0x3646e2(0x122)]=[..._0x285377],this[_0x3646e2(0xf4)](_0x32f0ae),this[_0x3646e2(0x157)](_0x15498e);}catch(_0xa8dba0){return console[_0x3646e2(0x149)](_0xa8dba0),!0x1;}return!0x0;}[_0x40afd6(0xf4)](_0x30aee7,_0x58579f=!0x1){const _0x40f5f9=_0x40afd6;this[_0x40f5f9(0x145)][_0x40f5f9(0xc7)][_0x40f5f9(0x9a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5be50e=>{const _0x226f49=_0x40f5f9;for(const _0x340ca4 of _0x30aee7)this[_0x226f49(0xdb)][_0x226f49(0x11c)](_0x340ca4),this[_0x226f49(0x18e)](_0x340ca4),_0x5be50e[_0x226f49(0xa7)][_0x226f49(0x179)](_0x340ca4),this[_0x226f49(0x145)][_0x226f49(0xc7)][_0x226f49(0x153)](_0x340ca4);});}[_0x40afd6(0x18e)](_0x261417){const _0x1d02d3=_0x40afd6,_0x1cb6f5=this[_0x1d02d3(0x11f)](_0x261417);_0x1cb6f5&&this[_0x1d02d3(0xdd)][_0x1d02d3(0x11c)](_0x1cb6f5);}[_0x40afd6(0x11f)](_0x327c29){const _0x5da2f3=_0x40afd6;let _0x40a1a6,_0x49134a;switch(_0x327c29[_0x5da2f3(0x9f)]){case _0x5da2f3(0x107):_0x40a1a6=_0x327c29[_0x5da2f3(0xb8)][_0x5da2f3(0x134)];break;case _0x5da2f3(0xcd):if(_0x49134a=_0x327c29[_0x5da2f3(0xd8)],!_0x49134a)return null;_0x40a1a6=_0x49134a[_0x5da2f3(0x134)];break;case _0x5da2f3(0x184):_0x40a1a6=_0x327c29[_0x5da2f3(0x134)];break;case _0x5da2f3(0x158):_0x40a1a6=_0x327c29[_0x5da2f3(0xc1)];break;case _0x5da2f3(0xb9):_0x40a1a6=_0x327c29[_0x5da2f3(0x102)][_0x5da2f3(0x134)];break;default:return null;}return _0x40a1a6[_0x5da2f3(0x15b)];}[_0x40afd6(0x157)](_0x5b1289){const _0x1eeec6=_0x40afd6;_0x5b1289[_0x1eeec6(0x111)](_0x2aa7a1=>{const _0x56b8f=_0x1eeec6,_0xe91413=_0x2aa7a1[_0x56b8f(0x11b)]();_0xe91413[_0x56b8f(0xe0)]=_0x2aa7a1[_0x56b8f(0xe0)],_0xe91413[_0x56b8f(0x165)]=!!_0x2aa7a1[_0x56b8f(0x165)],_0xe91413[_0x56b8f(0xa9)]=_0x2aa7a1[_0x56b8f(0xa9)],_0xe91413[_0x56b8f(0xeb)]+=this[_0x56b8f(0x196)],_0x2aa7a1[_0x56b8f(0xbe)]&&this[_0x56b8f(0x187)][_0x56b8f(0x11c)](_0xe91413),this[_0x56b8f(0xa8)][_0x56b8f(0x179)](_0xe91413);});}[_0x40afd6(0xd9)](_0x28b28f){const _0x2a765a=_0x40afd6,_0x5ee174=this[_0x2a765a(0x145)][_0x2a765a(0x117)][_0x2a765a(0xaa)](_0x2a765a(0xbc)),_0x575b3a=this[_0x2a765a(0x145)][_0x2a765a(0x199)];_0x28b28f||(_0x28b28f=_0x156544(_0x575b3a,_0x2a765a(0x178))),_0x5ee174[_0x2a765a(0xa5)](_0x28b28f,{'title':_0x156544(_0x575b3a,_0x2a765a(0x13e)),'namespace':_0x2a765a(0x15c)}),this[_0x2a765a(0x108)]=!0x0,clearTimeout(this[_0x2a765a(0x101)]),this[_0x2a765a(0x122)]=[],this[_0x2a765a(0x145)][_0x2a765a(0x117)][_0x2a765a(0xaa)](_0x331a8f)[_0x2a765a(0xf2)]();}[_0x40afd6(0xc3)](){const _0x3abddd=_0x40afd6;this[_0x3abddd(0x13b)]||(this[_0x3abddd(0x13b)]=this[_0x3abddd(0x145)][_0x3abddd(0x117)][_0x3abddd(0xaa)](_0x3b1d7f)[_0x3abddd(0x11c)](_0x156544(this[_0x3abddd(0x145)][_0x3abddd(0x199)],_0x3abddd(0x138))));}[_0x40afd6(0xe6)](){const _0x3892c2=_0x40afd6;this[_0x3892c2(0x13b)]&&(this[_0x3892c2(0x145)][_0x3892c2(0x117)][_0x3892c2(0xaa)](_0x3b1d7f)[_0x3892c2(0x191)](this[_0x3892c2(0x13b)]),this[_0x3892c2(0x13b)]=null);}[_0x40afd6(0x172)](_0x1817a4){const _0x43479b=_0x40afd6,_0x17c343=_0x1817a4[_0x43479b(0xbd)](_0x2daefd=>_0x2daefd[_0x43479b(0x16b)]());return this[_0x43479b(0x156)][_0x43479b(0x197)](_0x17c343);}[_0x40afd6(0x16c)](_0x3caf8c,_0x49590c){const _0x520983=_0x40afd6;return this[_0x520983(0x156)][_0x520983(0x174)](_0x3caf8c)[_0x520983(0xbd)]((_0x114a0a,_0x4a2929)=>{const _0x403359=_0x520983,_0x7d84e9=_0x403359(0x18b)==_0x49590c[_0x4a2929][_0x403359(0x9f)];if(_0x403359(0xc8)==_0x114a0a[_0x403359(0x98)]){const _0x2ecdff=_0x114a0a[_0x403359(0xb8)][_0x403359(0x134)];!this[_0x403359(0x176)][_0x403359(0x177)](_0x2ecdff)&&(this[_0x403359(0x176)][_0x403359(0x11a)](_0x403359(0xe8),_0x2ecdff)[_0x403359(0xfe)]=!0x1);}const _0x3ebb43=_0x2f7a13[_0x403359(0xd3)](_0x114a0a,this[_0x403359(0x176)]);return _0x3ebb43[_0x403359(0x147)]=_0x114a0a[_0x403359(0x147)],_0x3ebb43[_0x403359(0x165)]=_0x7d84e9,_0x3ebb43[_0x403359(0xe0)]=_0x7d84e9?null:_0x49590c[_0x4a2929][_0x403359(0xf1)],_0x3ebb43[_0x403359(0xbe)]=_0x403359(0x14b)===_0x49590c[_0x4a2929][_0x403359(0x9f)],_0x3ebb43[_0x403359(0xa9)]=_0x49590c[_0x4a2929][_0x403359(0xa9)],_0x3ebb43;});}[_0x40afd6(0xce)](){const _0x37df39=_0x40afd6;this[_0x37df39(0x17d)]=!0x0,this[_0x37df39(0x18d)]()?this[_0x37df39(0xba)]():this[_0x37df39(0x17d)]=!0x1;}[_0x40afd6(0x18d)](){const _0x23d13d=_0x40afd6,_0x418c8e=this[_0x23d13d(0x145)][_0x23d13d(0x117)][_0x23d13d(0xaa)](_0x4b8b4e)[_0x23d13d(0xe5)][_0x23d13d(0xaa)](this[_0x23d13d(0xc5)]);return!this[_0x23d13d(0x145)][_0x23d13d(0x13c)]&&!!_0x418c8e&&_0x418c8e[_0x23d13d(0x114)]>0x1&&this[_0x23d13d(0x17d)];}[_0x40afd6(0xe4)](){const _0x1de02d=_0x40afd6;return this[_0x1de02d(0x122)][_0x1de02d(0x114)]>0x0||this[_0x1de02d(0x18d)]();}}class H extends Error{}function V(_0x5616c5,_0x5cbfcf){const _0x3b2bf8=_0x40afd6;for(const _0x4d56b6 of _0x5616c5)_0x4d56b6[_0x3b2bf8(0xeb)]=_0x5cbfcf++;}class W{[_0x40afd6(0x17b)];[_0x40afd6(0xc9)];constructor(_0x340f9e){const _0x2e3961=_0x40afd6;this[_0x2e3961(0x17b)]=_0x340f9e,this[_0x2e3961(0xc9)]=new WeakMap();}[_0x40afd6(0xf8)](_0x35a77a){const _0x56d3c2=_0x40afd6;let _0x54c93e=_0x35a77a[_0x56d3c2(0x114)];for(;_0x54c93e--;){const _0x8c9a7c=_0x35a77a[_0x54c93e];if(!this[_0x56d3c2(0x17b)][_0x56d3c2(0x181)](_0x8c9a7c)){if(!this[_0x56d3c2(0xc9)][_0x56d3c2(0x181)](_0x8c9a7c)){const _0x136f39=_0x585e67()[_0x56d3c2(0xdf)](0x1,0x12);this[_0x56d3c2(0xc9)][_0x56d3c2(0x16e)](_0x8c9a7c,_0x136f39);}return this[_0x56d3c2(0xc9)][_0x56d3c2(0xaa)](_0x8c9a7c);}}}[_0x40afd6(0x19c)](_0x4b77d7,_0x20e2ca){const _0x271304=_0x40afd6;if(!_0x20e2ca)return;let _0x29421e=_0x4b77d7[_0x271304(0x114)];for(;_0x29421e--;){const _0x4b8e6e=_0x4b77d7[_0x29421e];this[_0x271304(0x17b)][_0x271304(0x181)](_0x4b8e6e)||this[_0x271304(0xc9)][_0x271304(0x16e)](_0x4b8e6e,_0x20e2ca);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x18ef(_0x65c2c0,_0x10aaf5){const _0xd7e3d=_0xd7e3();return _0x18ef=function(_0x18efe9,_0xeebcc8){_0x18efe9=_0x18efe9-0x163;let _0x1a7519=_0xd7e3d[_0x18efe9];return _0x1a7519;},_0x18ef(_0x65c2c0,_0x10aaf5);}const _0x5ddd29=_0x18ef;(function(_0x4dbf4c,_0x2a5440){const _0xb77484=_0x18ef,_0x520eb7=_0x4dbf4c();while(!![]){try{const _0x2f1eea=parseInt(_0xb77484(0x17f))/0x1+parseInt(_0xb77484(0x187))/0x2+-parseInt(_0xb77484(0x197))/0x3*(-parseInt(_0xb77484(0x19a))/0x4)+parseInt(_0xb77484(0x175))/0x5+parseInt(_0xb77484(0x16d))/0x6*(parseInt(_0xb77484(0x17e))/0x7)+-parseInt(_0xb77484(0x195))/0x8*(parseInt(_0xb77484(0x17a))/0x9)+-parseInt(_0xb77484(0x174))/0xa;if(_0x2f1eea===_0x2a5440)break;else _0x520eb7['push'](_0x520eb7['shift']());}catch(_0x50bb00){_0x520eb7['push'](_0x520eb7['shift']());}}}(_0xd7e3,0x92690));import{ContextPlugin as _0x403fee}from'ckeditor5/src/core.js';import{Collection as _0x52373a,CKEditorError as _0x475819}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x342bd5}from'./websocketgateway.js';function _0xd7e3(){const _0x196298=['mySessionId','connected','getUserBySessionId','sessions-unregister-not-exist','_handleSessionAdd','delete','sessionAdd:','_uniqueUsersCount','stopListening','state','Sessions','5748yTssGb','_createUser','set','isOfficialPlugin','add','user','change:state','25062510kcGCWO','4206875jNnXNP','sessions-register-already-registered','requires','plugins','clear','107631fMNoRD','allConnectedUsers','register','channelConnectedUsers','7322ZKZzPR','1195572hYjhfK','getUserSessions','hiddenInPresenceList','getUser','addUser','isMe','getUserRole','size','792784lIwYvM','context','fire','values','_handleSessionRemove','role','has','_registeredSessions','defineMe','isPremiumPlugin','_users','connection','remove','listenTo','376iEMxmo','pluginName','1371jcgiDk','init','forEach','2036NlIrmk','unregister','get','assign','sessionId','orderNumber','channelSessions'];_0xd7e3=function(){return _0x196298;};return _0xd7e3();}import{Users as _0x44e4f6}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x403fee{[_0x5ddd29(0x1a0)];[_0x5ddd29(0x17d)];[_0x5ddd29(0x17b)];[_0x5ddd29(0x18e)];[_0x5ddd29(0x169)];[_0x5ddd29(0x191)];static get[_0x5ddd29(0x196)](){const _0x41d851=_0x5ddd29;return _0x41d851(0x16c);}static get[_0x5ddd29(0x170)](){return!0x0;}static get[_0x5ddd29(0x190)](){return!0x0;}static get[_0x5ddd29(0x177)](){return[_0x342bd5,_0x44e4f6];}constructor(_0x52fe7d){const _0x2eb68e=_0x5ddd29;super(_0x52fe7d),this[_0x2eb68e(0x1a0)]=new Map(),this[_0x2eb68e(0x17d)]=new Map(),this[_0x2eb68e(0x17b)]=new _0x52373a(),this[_0x2eb68e(0x18e)]=new Map(),this[_0x2eb68e(0x169)]=0x0,this[_0x2eb68e(0x191)]=this[_0x2eb68e(0x188)][_0x2eb68e(0x178)][_0x2eb68e(0x19c)](_0x44e4f6);}[_0x5ddd29(0x198)](){const _0x40e84e=_0x5ddd29,_0x3324c7=this[_0x40e84e(0x188)][_0x40e84e(0x178)][_0x40e84e(0x19c)](_0x342bd5);this[_0x40e84e(0x194)](_0x3324c7,_0x40e84e(0x173),(_0x4e6443,_0x4229fd,_0x139e7f)=>{const _0x183607=_0x40e84e;if(_0x183607(0x163)!==_0x139e7f)this[_0x183607(0x1a0)][_0x183607(0x199)](_0x2a508f=>_0x2a508f[_0x183607(0x179)]()),this[_0x183607(0x17d)][_0x183607(0x199)](_0x3e493a=>_0x3e493a[_0x183607(0x179)]()),this[_0x183607(0x17b)][_0x183607(0x179)]();else{for(const [_0x5d96d3,_0x42dcbc]of this[_0x183607(0x18e)])for(const _0xac1cfb of _0x42dcbc)this[_0x183607(0x166)](_0x5d96d3,_0xac1cfb);}}),this[_0x40e84e(0x16e)](_0x3324c7[_0x40e84e(0x192)]['me'],!0x0);}[_0x5ddd29(0x17c)](_0x2f8ee2,_0x235148){const _0x6d33f8=_0x5ddd29;if(this[_0x6d33f8(0x18e)][_0x6d33f8(0x18d)](_0x2f8ee2))throw new _0x475819(_0x6d33f8(0x176),null,{'channelId':_0x2f8ee2});this[_0x6d33f8(0x18e)][_0x6d33f8(0x16f)](_0x2f8ee2,_0x235148),this[_0x6d33f8(0x1a0)][_0x6d33f8(0x16f)](_0x2f8ee2,new _0x52373a()),this[_0x6d33f8(0x17d)][_0x6d33f8(0x16f)](_0x2f8ee2,new _0x52373a()),this[_0x6d33f8(0x194)](_0x235148,_0x6d33f8(0x171),(_0x180dee,_0x810b1e)=>this[_0x6d33f8(0x166)](_0x2f8ee2,_0x810b1e)),this[_0x6d33f8(0x194)](_0x235148,_0x6d33f8(0x193),(_0x51a22b,_0x43bc10)=>this[_0x6d33f8(0x18b)](_0x2f8ee2,_0x43bc10));for(const _0x311a6e of _0x235148)this[_0x6d33f8(0x166)](_0x2f8ee2,_0x311a6e);}[_0x5ddd29(0x19b)](_0x2806ac){const _0x14bc1d=_0x5ddd29;if(!this[_0x14bc1d(0x18e)][_0x14bc1d(0x18d)](_0x2806ac))throw new _0x475819(_0x14bc1d(0x165),null,{'channelId':_0x2806ac});const _0x4978af=this[_0x14bc1d(0x18e)][_0x14bc1d(0x19c)](_0x2806ac);this[_0x14bc1d(0x16a)](_0x4978af);for(const _0xf3ee2b of _0x4978af)_0x14bc1d(0x163)===this[_0x14bc1d(0x188)][_0x14bc1d(0x178)][_0x14bc1d(0x19c)](_0x342bd5)[_0x14bc1d(0x16b)]&&this[_0x14bc1d(0x18b)](_0x2806ac,_0xf3ee2b);this[_0x14bc1d(0x18e)][_0x14bc1d(0x167)](_0x2806ac),this[_0x14bc1d(0x1a0)][_0x14bc1d(0x167)](_0x2806ac),this[_0x14bc1d(0x17d)][_0x14bc1d(0x167)](_0x2806ac);}get[_0x5ddd29(0x1a1)](){const _0x1b285a=_0x5ddd29;return this[_0x1b285a(0x188)][_0x1b285a(0x178)][_0x1b285a(0x19c)](_0x342bd5)[_0x1b285a(0x192)][_0x1b285a(0x19e)];}[_0x5ddd29(0x164)](_0x10a075){const _0x42e521=_0x5ddd29;for(const _0x277829 of this[_0x42e521(0x1a0)][_0x42e521(0x18a)]())for(const _0x3b6cc9 of _0x277829)if(_0x3b6cc9['id']===_0x10a075)return _0x3b6cc9[_0x42e521(0x172)];}[_0x5ddd29(0x180)](_0x4bae35,_0x3a1d6f){const _0x3b2b31=_0x5ddd29,_0x4609d4=_0x3a1d6f?[this[_0x3b2b31(0x1a0)][_0x3b2b31(0x19c)](_0x3a1d6f)]:this[_0x3b2b31(0x1a0)][_0x3b2b31(0x18a)](),_0x36b16d=new Set();for(const _0x1080cd of _0x4609d4)for(const _0x1e523c of _0x1080cd)_0x1e523c[_0x3b2b31(0x172)]['id']===_0x4bae35['id']&&_0x36b16d[_0x3b2b31(0x171)](_0x1e523c['id']);return _0x36b16d;}[_0x5ddd29(0x185)](_0x190ed7){const _0x2e0e7a=_0x5ddd29;for(const _0x5d3063 of this[_0x2e0e7a(0x1a0)][_0x2e0e7a(0x18a)]())for(const _0x533a65 of _0x5d3063)if(_0x533a65[_0x2e0e7a(0x172)]===_0x190ed7)return _0x533a65[_0x2e0e7a(0x18c)];}[_0x5ddd29(0x166)](_0x117fdd,_0x592cb4){const _0x38e61f=_0x5ddd29;if(_0x38e61f(0x163)!==this[_0x38e61f(0x188)][_0x38e61f(0x178)][_0x38e61f(0x19c)](_0x342bd5)[_0x38e61f(0x16b)])return;const _0x5ee20d=_0x592cb4[_0x38e61f(0x172)],_0x3c8bf9=this[_0x38e61f(0x191)][_0x38e61f(0x182)](_0x5ee20d['id'])||this[_0x38e61f(0x16e)](_0x5ee20d),_0x2eeef2=Object[_0x38e61f(0x19d)]({},_0x592cb4,{'user':_0x3c8bf9});if(this[_0x38e61f(0x1a0)][_0x38e61f(0x19c)](_0x117fdd)[_0x38e61f(0x171)](_0x2eeef2),!_0x5ee20d[_0x38e61f(0x181)]){const _0x1a77f3=this[_0x38e61f(0x17d)][_0x38e61f(0x19c)](_0x117fdd);_0x1a77f3[_0x38e61f(0x18d)](_0x3c8bf9['id'])||_0x1a77f3[_0x38e61f(0x171)](_0x3c8bf9),this[_0x38e61f(0x17b)][_0x38e61f(0x18d)](_0x3c8bf9['id'])||_0x5ee20d[_0x38e61f(0x181)]||this[_0x38e61f(0x17b)][_0x38e61f(0x171)](_0x3c8bf9,_0x3c8bf9[_0x38e61f(0x184)]?0x0:void 0x0);}this[_0x38e61f(0x189)](_0x38e61f(0x168)+_0x117fdd,{'channelId':_0x117fdd,'session':_0x2eeef2});}[_0x5ddd29(0x18b)](_0x53c094,_0x3fd7d9){const _0x5aad69=_0x5ddd29;if(_0x5aad69(0x163)!==this[_0x5aad69(0x188)][_0x5aad69(0x178)][_0x5aad69(0x19c)](_0x342bd5)[_0x5aad69(0x16b)])return;const _0x30af0a=this[_0x5aad69(0x17d)][_0x5aad69(0x19c)](_0x53c094),_0x310aa0=_0x3fd7d9[_0x5aad69(0x172)];_0x310aa0['id']&&(this[_0x5aad69(0x1a0)][_0x5aad69(0x19c)](_0x53c094)[_0x5aad69(0x193)](_0x3fd7d9['id']),_0x30af0a[_0x5aad69(0x18d)](_0x310aa0['id'])&&!this[_0x5aad69(0x180)](_0x310aa0,_0x53c094)[_0x5aad69(0x186)]&&_0x30af0a[_0x5aad69(0x193)](_0x310aa0['id']),this[_0x5aad69(0x17b)][_0x5aad69(0x19c)](_0x310aa0['id'])&&!this[_0x5aad69(0x180)](_0x310aa0)[_0x5aad69(0x186)]&&this[_0x5aad69(0x17b)][_0x5aad69(0x193)](_0x310aa0['id']));}[_0x5ddd29(0x16e)](_0x20276e,_0x3eb88d){const _0x8d13a8=_0x5ddd29,_0x4863e3=this[_0x8d13a8(0x191)][_0x8d13a8(0x183)](_0x20276e);return _0x3eb88d&&this[_0x8d13a8(0x191)][_0x8d13a8(0x18f)](_0x20276e['id']),_0x4863e3[_0x8d13a8(0x19f)]=this[_0x8d13a8(0x169)]++,_0x4863e3;}}
23
+ const _0x45d10b=_0x8ea8;function _0x126f(){const _0x47455a=['9cOAJuN','set','4226133yDHxPc','context','channelConnectedUsers','forEach','sessions-unregister-not-exist','hiddenInPresenceList','defineMe','connection','_handleSessionAdd','allConnectedUsers','getUser','add','addUser','pluginName','user','_uniqueUsersCount','_users','getUserRole','9794624vFsGma','clear','5796824JIBmvn','orderNumber','_createUser','remove','2DEzfwk','178174cyaykH','channelSessions','mySessionId','13744870ejhRdl','delete','_handleSessionRemove','listenTo','isOfficialPlugin','90qZLdnu','change:state','_registeredSessions','get','state','has','sessions-register-already-registered','sessionAdd:','values','2178524FepKlN','getUserSessions','size','requires','init','sessionId','Sessions','fire','isMe','connected','assign','plugins','getUserBySessionId','unregister','stopListening','79965xHYHSO','register','isPremiumPlugin','role'];_0x126f=function(){return _0x47455a;};return _0x126f();}(function(_0x102ac6,_0x45e5e1){const _0x1ea58c=_0x8ea8,_0x460aa5=_0x102ac6();while(!![]){try{const _0x2a08dc=-parseInt(_0x1ea58c(0x115))/0x1*(parseInt(_0x1ea58c(0x116))/0x2)+-parseInt(_0x1ea58c(0x13c))/0x3+parseInt(_0x1ea58c(0x127))/0x4+-parseInt(_0x1ea58c(0x136))/0x5*(parseInt(_0x1ea58c(0x11e))/0x6)+parseInt(_0x1ea58c(0x10f))/0x7+-parseInt(_0x1ea58c(0x111))/0x8+-parseInt(_0x1ea58c(0x13a))/0x9*(-parseInt(_0x1ea58c(0x119))/0xa);if(_0x2a08dc===_0x45e5e1)break;else _0x460aa5['push'](_0x460aa5['shift']());}catch(_0x3d1f29){_0x460aa5['push'](_0x460aa5['shift']());}}}(_0x126f,0xbb3f7));import{ContextPlugin as _0x2299e6}from'ckeditor5/src/core.js';function _0x8ea8(_0x62d9a5,_0x6b5e1e){const _0x126f76=_0x126f();return _0x8ea8=function(_0x8ea87a,_0x2fd19a){_0x8ea87a=_0x8ea87a-0x100;let _0x3646a3=_0x126f76[_0x8ea87a];return _0x3646a3;},_0x8ea8(_0x62d9a5,_0x6b5e1e);}import{Collection as _0x18b244,CKEditorError as _0x12ff9c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5ec48a}from'./websocketgateway.js';import{Users as _0x31857b}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2299e6{[_0x45d10b(0x117)];[_0x45d10b(0x13e)];[_0x45d10b(0x106)];[_0x45d10b(0x120)];[_0x45d10b(0x10c)];[_0x45d10b(0x10d)];static get[_0x45d10b(0x10a)](){const _0x553f9f=_0x45d10b;return _0x553f9f(0x12d);}static get[_0x45d10b(0x11d)](){return!0x0;}static get[_0x45d10b(0x138)](){return!0x0;}static get[_0x45d10b(0x12a)](){return[_0x5ec48a,_0x31857b];}constructor(_0x5934ac){const _0x3ef63d=_0x45d10b;super(_0x5934ac),this[_0x3ef63d(0x117)]=new Map(),this[_0x3ef63d(0x13e)]=new Map(),this[_0x3ef63d(0x106)]=new _0x18b244(),this[_0x3ef63d(0x120)]=new Map(),this[_0x3ef63d(0x10c)]=0x0,this[_0x3ef63d(0x10d)]=this[_0x3ef63d(0x13d)][_0x3ef63d(0x132)][_0x3ef63d(0x121)](_0x31857b);}[_0x45d10b(0x12b)](){const _0x28c234=_0x45d10b,_0xfee83=this[_0x28c234(0x13d)][_0x28c234(0x132)][_0x28c234(0x121)](_0x5ec48a);this[_0x28c234(0x11c)](_0xfee83,_0x28c234(0x11f),(_0x2e00ab,_0x3e72cf,_0x469e8b)=>{const _0x29ea67=_0x28c234;if(_0x29ea67(0x130)!==_0x469e8b)this[_0x29ea67(0x117)][_0x29ea67(0x100)](_0x563eb0=>_0x563eb0[_0x29ea67(0x110)]()),this[_0x29ea67(0x13e)][_0x29ea67(0x100)](_0x119b4e=>_0x119b4e[_0x29ea67(0x110)]()),this[_0x29ea67(0x106)][_0x29ea67(0x110)]();else{for(const [_0x210100,_0x1d54ba]of this[_0x29ea67(0x120)])for(const _0x1db9c6 of _0x1d54ba)this[_0x29ea67(0x105)](_0x210100,_0x1db9c6);}}),this[_0x28c234(0x113)](_0xfee83[_0x28c234(0x104)]['me'],!0x0);}[_0x45d10b(0x137)](_0x1a76ee,_0x4c66a7){const _0x23dae2=_0x45d10b;if(this[_0x23dae2(0x120)][_0x23dae2(0x123)](_0x1a76ee))throw new _0x12ff9c(_0x23dae2(0x124),null,{'channelId':_0x1a76ee});this[_0x23dae2(0x120)][_0x23dae2(0x13b)](_0x1a76ee,_0x4c66a7),this[_0x23dae2(0x117)][_0x23dae2(0x13b)](_0x1a76ee,new _0x18b244()),this[_0x23dae2(0x13e)][_0x23dae2(0x13b)](_0x1a76ee,new _0x18b244()),this[_0x23dae2(0x11c)](_0x4c66a7,_0x23dae2(0x108),(_0x12cc78,_0x5d02ab)=>this[_0x23dae2(0x105)](_0x1a76ee,_0x5d02ab)),this[_0x23dae2(0x11c)](_0x4c66a7,_0x23dae2(0x114),(_0x25850a,_0x5e1823)=>this[_0x23dae2(0x11b)](_0x1a76ee,_0x5e1823));for(const _0x3f63ed of _0x4c66a7)this[_0x23dae2(0x105)](_0x1a76ee,_0x3f63ed);}[_0x45d10b(0x134)](_0x326f8b){const _0x236df2=_0x45d10b;if(!this[_0x236df2(0x120)][_0x236df2(0x123)](_0x326f8b))throw new _0x12ff9c(_0x236df2(0x101),null,{'channelId':_0x326f8b});const _0x2e4928=this[_0x236df2(0x120)][_0x236df2(0x121)](_0x326f8b);this[_0x236df2(0x135)](_0x2e4928);for(const _0x53930d of _0x2e4928)_0x236df2(0x130)===this[_0x236df2(0x13d)][_0x236df2(0x132)][_0x236df2(0x121)](_0x5ec48a)[_0x236df2(0x122)]&&this[_0x236df2(0x11b)](_0x326f8b,_0x53930d);this[_0x236df2(0x120)][_0x236df2(0x11a)](_0x326f8b),this[_0x236df2(0x117)][_0x236df2(0x11a)](_0x326f8b),this[_0x236df2(0x13e)][_0x236df2(0x11a)](_0x326f8b);}get[_0x45d10b(0x118)](){const _0xbad7aa=_0x45d10b;return this[_0xbad7aa(0x13d)][_0xbad7aa(0x132)][_0xbad7aa(0x121)](_0x5ec48a)[_0xbad7aa(0x104)][_0xbad7aa(0x12c)];}[_0x45d10b(0x133)](_0x5b56db){const _0x157e91=_0x45d10b;for(const _0x4fa0c7 of this[_0x157e91(0x117)][_0x157e91(0x126)]())for(const _0xa8d5e4 of _0x4fa0c7)if(_0xa8d5e4['id']===_0x5b56db)return _0xa8d5e4[_0x157e91(0x10b)];}[_0x45d10b(0x128)](_0x342e00,_0x446314){const _0x48c185=_0x45d10b,_0x36bf16=_0x446314?[this[_0x48c185(0x117)][_0x48c185(0x121)](_0x446314)]:this[_0x48c185(0x117)][_0x48c185(0x126)](),_0x10a84a=new Set();for(const _0x5a9014 of _0x36bf16)for(const _0x1c347b of _0x5a9014)_0x1c347b[_0x48c185(0x10b)]['id']===_0x342e00['id']&&_0x10a84a[_0x48c185(0x108)](_0x1c347b['id']);return _0x10a84a;}[_0x45d10b(0x10e)](_0x4596c0){const _0x121b82=_0x45d10b;for(const _0x3f9efe of this[_0x121b82(0x117)][_0x121b82(0x126)]())for(const _0x34d855 of _0x3f9efe)if(_0x34d855[_0x121b82(0x10b)]===_0x4596c0)return _0x34d855[_0x121b82(0x139)];}[_0x45d10b(0x105)](_0x3b8c72,_0xa945f7){const _0x1cd132=_0x45d10b;if(_0x1cd132(0x130)!==this[_0x1cd132(0x13d)][_0x1cd132(0x132)][_0x1cd132(0x121)](_0x5ec48a)[_0x1cd132(0x122)])return;const _0x237777=_0xa945f7[_0x1cd132(0x10b)],_0x1ef46f=this[_0x1cd132(0x10d)][_0x1cd132(0x107)](_0x237777['id'])||this[_0x1cd132(0x113)](_0x237777),_0x2cbc5b=Object[_0x1cd132(0x131)]({},_0xa945f7,{'user':_0x1ef46f});if(this[_0x1cd132(0x117)][_0x1cd132(0x121)](_0x3b8c72)[_0x1cd132(0x108)](_0x2cbc5b),!_0x237777[_0x1cd132(0x102)]){const _0x2e14ba=this[_0x1cd132(0x13e)][_0x1cd132(0x121)](_0x3b8c72);_0x2e14ba[_0x1cd132(0x123)](_0x1ef46f['id'])||_0x2e14ba[_0x1cd132(0x108)](_0x1ef46f),this[_0x1cd132(0x106)][_0x1cd132(0x123)](_0x1ef46f['id'])||_0x237777[_0x1cd132(0x102)]||this[_0x1cd132(0x106)][_0x1cd132(0x108)](_0x1ef46f,_0x1ef46f[_0x1cd132(0x12f)]?0x0:void 0x0);}this[_0x1cd132(0x12e)](_0x1cd132(0x125)+_0x3b8c72,{'channelId':_0x3b8c72,'session':_0x2cbc5b});}[_0x45d10b(0x11b)](_0x2c8046,_0x5ca116){const _0x107143=_0x45d10b;if(_0x107143(0x130)!==this[_0x107143(0x13d)][_0x107143(0x132)][_0x107143(0x121)](_0x5ec48a)[_0x107143(0x122)])return;const _0x402477=this[_0x107143(0x13e)][_0x107143(0x121)](_0x2c8046),_0x556c68=_0x5ca116[_0x107143(0x10b)];_0x556c68['id']&&(this[_0x107143(0x117)][_0x107143(0x121)](_0x2c8046)[_0x107143(0x114)](_0x5ca116['id']),_0x402477[_0x107143(0x123)](_0x556c68['id'])&&!this[_0x107143(0x128)](_0x556c68,_0x2c8046)[_0x107143(0x129)]&&_0x402477[_0x107143(0x114)](_0x556c68['id']),this[_0x107143(0x106)][_0x107143(0x121)](_0x556c68['id'])&&!this[_0x107143(0x128)](_0x556c68)[_0x107143(0x129)]&&this[_0x107143(0x106)][_0x107143(0x114)](_0x556c68['id']));}[_0x45d10b(0x113)](_0x35c92e,_0x1d2765){const _0x2a1d97=_0x45d10b,_0x47d53a=this[_0x2a1d97(0x10d)][_0x2a1d97(0x109)](_0x35c92e);return _0x1d2765&&this[_0x2a1d97(0x10d)][_0x2a1d97(0x103)](_0x35c92e['id']),_0x47d53a[_0x2a1d97(0x112)]=this[_0x2a1d97(0x10c)]++,_0x47d53a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x287685=_0x556d;function _0x1620(){const _0x1ecd89=['26613itQsnz','nodeAfter','editor','6lZIyAW','render','1400OrtsHv','change','createElement','orderNumber','isObject','view','ck-user__marker_hovered','markerRange','newRange','markers','user:','getStart','contenteditable','_createdBatches','getFirstRange','element','removeClass','1659539dNnkpR','mySessionId','844072jUijTS','reconvertMarker','get','innerHTML','Escape','mapper','setAttribute','createUIElement','isPremiumPlugin','ck-user__selection','isDocumentOperation','user:range:','tableCell','toDomElement','type','getUserBySessionId','color','stopListening','textContent','name','init','selection','applyOperation','ck-user__marker-tooltip','createUserMarkerOperations','getNearestSelectionRange','addMarker','start','mouseenter','6676bxOjBQ','outerHTML','2igjnce','change:range','marker','span','editingDowncast','clear','hasDomSelection','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','size','enqueueChange','$graveyard','toRange','spellcheck','end','markerName','createRange','split','UserMarkers','conversion','deletionPosition','false','updateMarker','oldRange','isCollapsed','markerToElement','remove','getSelectionClass','getAttribute','user:range','getMarkerClass','isInline','$text','set','destroy','rootName','addEventListener','checkChild','markerToHighlight','model','add','classList','1419NDyQLs','user:position','plugins','1760JmBnUm','markerNameToElements','472VflGhU','keydown','batch','for','3719515yWTCld','afterInit','getContainedElement','detach','getRange','highest','setCustomProperty','commands','has','document','_domEmitter','undo','fromRange','isOfficialPlugin','data-session-id','startsWith','13MGHXzW','userPositionMarker','pluginName','getPositions','isSimilar','hasContent','listenTo','ck-user__marker\x20','35636772iJWFee','delete','schema','requires','parent','getCustomProperty','editing','isLimit','root','removeMarker','user:position:','update:user:range','mouseleave'];_0x1620=function(){return _0x1ecd89;};return _0x1620();}(function(_0x5de65e,_0x48c40f){const _0x1dc6ce=_0x556d,_0x28370d=_0x5de65e();while(!![]){try{const _0x53d10b=-parseInt(_0x1dc6ce(0x142))/0x1*(parseInt(_0x1dc6ce(0x123))/0x2)+-parseInt(_0x1dc6ce(0xdd))/0x3*(parseInt(_0x1dc6ce(0x140))/0x4)+-parseInt(_0x1dc6ce(0xe6))/0x5+parseInt(_0x1dc6ce(0x10e))/0x6*(-parseInt(_0x1dc6ce(0x121))/0x7)+-parseInt(_0x1dc6ce(0xe2))/0x8*(-parseInt(_0x1dc6ce(0x10b))/0x9)+parseInt(_0x1dc6ce(0x110))/0xa*(-parseInt(_0x1dc6ce(0xe0))/0xb)+-parseInt(_0x1dc6ce(0xfe))/0xc*(-parseInt(_0x1dc6ce(0xf6))/0xd);if(_0x53d10b===_0x48c40f)break;else _0x28370d['push'](_0x28370d['shift']());}catch(_0x2a610e){_0x28370d['push'](_0x28370d['shift']());}}}(_0x1620,0x7bda9));import{Plugin as _0x14ce2d}from'ckeditor5/src/core.js';import{global as _0x4cb65c,DomEmitterMixin as _0x2e53e2}from'ckeditor5/src/utils.js';import{Sessions as _0x2e9973}from'./sessions.js';function _0x556d(_0xc9ccaf,_0x384848){const _0x162085=_0x1620();return _0x556d=function(_0x556d8b,_0x54b1f6){_0x556d8b=_0x556d8b-0xd7;let _0x210703=_0x162085[_0x556d8b];return _0x210703;},_0x556d(_0xc9ccaf,_0x384848);}import{ModelLiveRange as _0x33a234}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x14ce2d{[_0x287685(0xf0)]=new(_0x2e53e2())();static get[_0x287685(0x101)](){return[_0x2e9973];}static get[_0x287685(0xf8)](){const _0x32f1e8=_0x287685;return _0x32f1e8(0x153);}static get[_0x287685(0xf3)](){return!0x0;}static get[_0x287685(0x12b)](){return!0x0;}[_0x287685(0x137)](){const _0x43b79a=_0x287685,_0x9a4f61=this[_0x43b79a(0x10d)],_0x57de47=_0x9a4f61[_0x43b79a(0xdf)][_0x43b79a(0x125)](_0x2e9973);_0x9a4f61[_0x43b79a(0x154)][_0x43b79a(0xe5)](_0x43b79a(0x146))[_0x43b79a(0x15a)]({'model':_0x43b79a(0xde),'view':(_0x31e859,{writer:_0x49888b})=>function(_0x2a5f0d,_0x58c543,_0x1b00bc,_0x1051c5){const _0x2175d5=_0x43b79a,_0xd97b38=_0x2a5f0d[_0x2175d5(0x150)][_0x2175d5(0x152)](':')[0x2],_0x26274b=_0x1b00bc[_0x2175d5(0x132)](_0xd97b38);if(!_0x26274b||_0xd97b38===_0x1b00bc[_0x2175d5(0x122)])return;if(!_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x100)][_0x2175d5(0xd8)](_0x2a5f0d[_0x2175d5(0x117)][_0x2175d5(0x13e)],_0x2175d5(0x161)))return;const _0x281f5e={'class':_0x2175d5(0xfd)+_0x26274b[_0x2175d5(0x133)][_0x2175d5(0x15f)](),'data-name':_0x26274b[_0x2175d5(0x136)],'data-session-id':_0xd97b38},_0x2bc0eb=_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x119)][_0x2175d5(0x125)](_0x2a5f0d[_0x2175d5(0x150)]),_0x5c0724=_0x2bc0eb[_0x2175d5(0x11b)](),_0x545501=_0x5c0724[_0x2175d5(0x10c)],_0x49d961=_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x100)];if(_0x545501&&_0x49d961[_0x2175d5(0x114)](_0x545501)&&_0x49d961[_0x2175d5(0x160)](_0x545501)&&!_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x119)][_0x2175d5(0x125)](_0x2175d5(0x12e)+_0xd97b38)[_0x2175d5(0xea)]()[_0x2175d5(0x159)])return;const _0x1982bd=_0x5c0724[_0x2175d5(0x102)];return _0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x100)][_0x2175d5(0x105)](_0x1982bd)&&!_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0xfb)](_0x1982bd)&&(_0x281f5e[_0x2175d5(0x11c)]=!0x1),function(_0x3d6d4d,_0x97e545,_0x33e985){const _0x4aac4a=_0x2175d5,_0x12e372=_0x3d6d4d[_0x4aac4a(0x12a)](_0x4aac4a(0x145),_0x97e545);return _0x3d6d4d[_0x4aac4a(0xec)](_0x4aac4a(0xf7),!0x0,_0x12e372),_0x12e372[_0x4aac4a(0x10f)]=function(_0xa452b2){const _0x3b7e7e=_0x4aac4a,_0x3b8691=this[_0x3b7e7e(0x130)](_0xa452b2),_0x537510=document[_0x3b7e7e(0x112)](_0x3b7e7e(0x145));return _0x537510[_0x3b7e7e(0xdc)][_0x3b7e7e(0xdb)](_0x3b7e7e(0x13a)),_0x537510[_0x3b7e7e(0x129)](_0x3b7e7e(0x11c),_0x3b7e7e(0x156)),_0x537510[_0x3b7e7e(0x129)](_0x3b7e7e(0x14e),_0x3b7e7e(0x156)),_0x537510[_0x3b7e7e(0x135)]=_0x33e985[_0x3b7e7e(0x136)],_0x3b8691[_0x3b7e7e(0x126)]=_0x3b7e7e(0x149)+_0x537510[_0x3b7e7e(0x141)]+'⁠',_0x3b8691[_0x3b7e7e(0xd7)](_0x3b7e7e(0x13f),()=>{const _0x2558e6=_0x3b7e7e;_0x3b8691[_0x2558e6(0xdc)][_0x2558e6(0xdb)](_0x2558e6(0x116));}),_0x3b8691[_0x3b7e7e(0xd7)](_0x3b7e7e(0x10a),()=>{const _0x661eba=_0x3b7e7e;_0x3b8691[_0x661eba(0xdc)][_0x661eba(0x15b)](_0x661eba(0x116));}),_0x3b8691;},_0x12e372[_0x4aac4a(0xfa)]=function(_0x4ce8b2){const _0x1da2f9=_0x4aac4a;return!(!this[_0x1da2f9(0x103)](_0x1da2f9(0xf7))||!_0x4ce8b2[_0x1da2f9(0x103)](_0x1da2f9(0xf7))||this[_0x1da2f9(0x15d)](_0x1da2f9(0xf4))!=_0x4ce8b2[_0x1da2f9(0x15d)](_0x1da2f9(0xf4)));},_0x12e372;}(_0x58c543,_0x281f5e,_0x26274b);}(_0x31e859,_0x49888b,_0x57de47,_0x9a4f61)}),_0x9a4f61[_0x43b79a(0x154)][_0x43b79a(0xe5)](_0x43b79a(0x146))[_0x43b79a(0xd9)]({'model':_0x43b79a(0x15e),'view':_0x169395=>function(_0x1d0659,_0x6c5e){const _0x488624=_0x43b79a,_0x206b64=_0x1d0659[_0x488624(0x150)][_0x488624(0x152)](':')[0x2];if(_0x206b64===_0x6c5e[_0x488624(0x122)])return null;const _0x595183=_0x6c5e[_0x488624(0x132)](_0x206b64);if(!_0x595183)return{'id':_0x206b64,'classes':[]};return{'id':_0x206b64,'classes':[_0x488624(0x12c),_0x595183[_0x488624(0x133)][_0x488624(0x15c)]()],'attributes':{'data-session-id':_0x206b64},'priority':0x7d0+_0x595183[_0x488624(0x113)]};}(_0x169395,_0x57de47)}),function(_0x2511d9){const _0x4aab5c=_0x43b79a,_0x45a332=_0x2511d9[_0x4aab5c(0xda)],_0x63cf59=new Map(),_0x41ac13=_0x2511d9[_0x4aab5c(0xdf)][_0x4aab5c(0x125)](_0x2e9973);_0x45a332[_0x4aab5c(0x119)]['on'](_0x4aab5c(0x109),(_0x53f588,_0x12e8f0,_0xe18ae8,_0x39ef9d)=>{const _0x3d4aa5=_0x4aab5c;if(!_0x39ef9d&&_0x63cf59[_0x3d4aa5(0x125)](_0x12e8f0[_0x3d4aa5(0x136)]))return _0x63cf59[_0x3d4aa5(0x125)](_0x12e8f0[_0x3d4aa5(0x136)])[_0x3d4aa5(0xe9)](),void _0x63cf59[_0x3d4aa5(0xff)](_0x12e8f0[_0x3d4aa5(0x136)]);const _0xe7374f=_0x12e8f0[_0x3d4aa5(0x136)][_0x3d4aa5(0x152)](':')[0x2];if(_0xe7374f===_0x41ac13[_0x3d4aa5(0x122)])return;const _0x264551=_0x3d4aa5(0x108)+_0xe7374f;_0x45a332[_0x3d4aa5(0x119)][_0x3d4aa5(0xee)](_0x264551)&&_0x2511d9[_0x3d4aa5(0x104)][_0x3d4aa5(0x124)](_0x264551),_0x12e8f0['on'](_0x3d4aa5(0x143),(_0x4a01f3,_0x3e0bab,_0x156e34)=>{const _0x2f4106=_0x3d4aa5;if(_0x2f4106(0x14c)!=_0x3e0bab[_0x2f4106(0x106)][_0x2f4106(0x164)]&&_0x2f4106(0x14c)==_0x12e8f0[_0x2f4106(0xea)]()[_0x2f4106(0x106)][_0x2f4106(0x164)]&&!_0x63cf59[_0x2f4106(0xee)](_0x12e8f0[_0x2f4106(0x136)])){const _0x4c99c0=_0x45a332[_0x2f4106(0x100)][_0x2f4106(0x13c)](_0x156e34[_0x2f4106(0x155)]);if(_0x4c99c0){const _0x5f76b8=_0x33a234[_0x2f4106(0xf2)](_0x4c99c0);_0x63cf59[_0x2f4106(0x162)](_0x12e8f0[_0x2f4106(0x136)],_0x5f76b8),_0x5f76b8['on'](_0x2f4106(0x143),(_0x27eb31,_0x4f0e8c,_0x45ea27)=>{const _0x37d470=_0x2f4106;if(_0x37d470(0x14c)==_0x5f76b8[_0x37d470(0x106)][_0x37d470(0x164)]){const _0x336569=_0x45a332[_0x37d470(0x100)][_0x37d470(0x13c)](_0x45ea27[_0x37d470(0x155)]);_0x336569?(_0x5f76b8[_0x37d470(0x13e)]=_0x336569[_0x37d470(0x13e)],_0x5f76b8[_0x37d470(0x14f)]=_0x336569[_0x37d470(0x14f)]):(_0x63cf59[_0x37d470(0xff)](_0x12e8f0[_0x37d470(0x136)]),_0x5f76b8[_0x37d470(0xe9)]());}});}}});}),_0x45a332[_0x4aab5c(0xef)]['on'](_0x4aab5c(0x111),()=>{const _0xd4edd9=_0x4aab5c;_0x63cf59[_0xd4edd9(0x14a)]>0x0&&_0x45a332[_0xd4edd9(0x14b)]({'isUndoable':!0x1},_0x1b3964=>{const _0x495d61=_0xd4edd9;for(const [_0x35b5ba,_0x561331]of _0x63cf59)_0x495d61(0x14c)==_0x45a332[_0x495d61(0x119)][_0x495d61(0x125)](_0x35b5ba)[_0x495d61(0xea)]()[_0x495d61(0x106)][_0x495d61(0x164)]&&(J(_0x35b5ba[_0x495d61(0x152)](':')[0x2],_0x561331[_0x495d61(0x14d)](),_0x45a332,_0x1b3964),_0x561331[_0x495d61(0xe9)]());_0x63cf59[_0x495d61(0x147)]();});});}(_0x9a4f61),this[_0x43b79a(0xf0)][_0x43b79a(0xfc)](_0x4cb65c[_0x43b79a(0xef)],_0x43b79a(0xe3),(_0xc93552,{key:_0x383665})=>{const _0x48aab7=_0x43b79a;_0x48aab7(0x127)===_0x383665&&function(_0x240dff){const _0x145d7b=_0x48aab7;_0x240dff[_0x145d7b(0x104)][_0x145d7b(0x115)][_0x145d7b(0x111)](_0x33e2c6=>{const _0x3af645=_0x145d7b;for(const _0x1a0c9c of _0x240dff[_0x3af645(0xda)][_0x3af645(0x119)]){if(!_0x1a0c9c[_0x3af645(0x136)][_0x3af645(0xf5)](_0x3af645(0xde)))continue;const _0x2fee77=_0x240dff[_0x3af645(0x104)][_0x3af645(0x128)][_0x3af645(0xe1)](_0x1a0c9c[_0x3af645(0x136)]);if(_0x2fee77){for(const _0x1b4b35 of _0x2fee77)_0x33e2c6[_0x3af645(0x120)](_0x3af645(0x116),_0x1b4b35);}}});}(_0x9a4f61);},{'useCapture':!0x0});}[_0x287685(0xe7)](){const _0x2c841f=_0x287685,_0x1cb20c=this[_0x2c841f(0x10d)],_0x211ff6=_0x1cb20c[_0x2c841f(0xed)][_0x2c841f(0x125)](_0x2c841f(0xf1));_0x211ff6&&_0x1cb20c[_0x2c841f(0xda)]['on'](_0x2c841f(0x139),(_0xf62fb2,_0x5e2e9c)=>{const _0x203987=_0x2c841f,_0x5b38da=_0x5e2e9c[0x0];if(!_0x5b38da[_0x203987(0x12d)])return;if(_0x203987(0x144)!=_0x5b38da[_0x203987(0x131)]||!_0x5b38da[_0x203987(0x136)][_0x203987(0xf5)](_0x203987(0x11a)))return;const _0x4d0691=_0x5b38da[_0x203987(0xe4)];_0x211ff6[_0x203987(0x11d)][_0x203987(0xee)](_0x4d0691)&&(_0x5b38da[_0x203987(0x118)]=_0x5b38da[_0x203987(0x158)]?_0x1cb20c[_0x203987(0xda)][_0x203987(0x151)](_0x5b38da[_0x203987(0x158)][_0x203987(0x13e)],_0x5b38da[_0x203987(0x158)][_0x203987(0x14f)]):null);},{'priority':_0x2c841f(0xeb)});}[_0x287685(0x163)](){const _0x2c1383=_0x287685;return this[_0x2c1383(0xf0)][_0x2c1383(0x134)](),super[_0x2c1383(0x163)]();}[_0x287685(0x13b)](){const _0x428264=_0x287685,_0x39f3f6=this[_0x428264(0x10d)],_0xa4f501=_0x39f3f6[_0x428264(0xda)][_0x428264(0xef)],_0x192494=_0x39f3f6[_0x428264(0xdf)][_0x428264(0x125)](_0x2e9973);_0x39f3f6[_0x428264(0xda)][_0x428264(0x14b)]({'isUndoable':!0x1},_0x42007a=>{const _0x335274=_0x428264,_0x588471=_0x335274(0x12e)+_0x192494[_0x335274(0x122)],_0x5b1453=_0x335274(0x108)+_0x192494[_0x335274(0x122)],_0x53d9b8=_0x39f3f6[_0x335274(0xda)][_0x335274(0x119)][_0x335274(0xee)](_0x588471);_0x39f3f6[_0x335274(0x104)][_0x335274(0x115)][_0x335274(0x148)]?J(_0x192494[_0x335274(0x122)],_0xa4f501[_0x335274(0x138)][_0x335274(0x11e)](),_0x39f3f6[_0x335274(0xda)],_0x42007a):_0x53d9b8&&(_0x42007a[_0x335274(0x107)](_0x588471),_0x42007a[_0x335274(0x107)](_0x5b1453));});}}function J(_0x45df82,_0x1bf003,_0x3b0e1a,_0x295dba){const _0x348c02=_0x287685,_0x1a5f36=_0x348c02(0x12e)+_0x45df82,_0x2e2daa=_0x348c02(0x108)+_0x45df82,_0x5474fa=_0x1bf003[_0x348c02(0xe8)]();let _0x2593d0=_0x1bf003[_0x348c02(0x13e)];if(_0x5474fa&&_0x5474fa['is'](_0x348c02(0x11f),_0x348c02(0x12f))){const _0x2ad023=function(_0x14069e,_0x4902ac){const _0x48209f=_0x348c02;for(const _0x5b5f37 of _0x14069e[_0x48209f(0xf9)]())if(_0x4902ac[_0x48209f(0x100)][_0x48209f(0xd8)](_0x5b5f37,_0x48209f(0x161)))return _0x5b5f37;}(_0x1bf003,_0x3b0e1a);_0x2ad023&&(_0x2593d0=_0x2ad023,_0x1bf003=_0x295dba[_0x348c02(0x151)](_0x2593d0));}const _0x4384bc=_0x295dba[_0x348c02(0x151)](_0x2593d0);_0x3b0e1a[_0x348c02(0x119)][_0x348c02(0xee)](_0x1a5f36)?(_0x295dba[_0x348c02(0x157)](_0x1a5f36,{'range':_0x1bf003}),_0x295dba[_0x348c02(0x157)](_0x2e2daa,{'range':_0x4384bc})):(_0x295dba[_0x348c02(0x13d)](_0x1a5f36,{'range':_0x1bf003,'usingOperation':!0x0}),_0x295dba[_0x348c02(0x13d)](_0x2e2daa,{'range':_0x4384bc,'usingOperation':!0x0}));}
23
+ const _0x167006=_0x4836;function _0x7b09(){const _0x215f23=['_createdBatches','init','get','fromRange','has','editing','getFirstRange','element','$graveyard','document','render','rootName','createUIElement','ck-user__selection','createElement','setAttribute','applyOperation','removeClass','hasContent','6379992AiiXaC','enqueueChange','markerName','root','plugins','remove','toRange','getUserBySessionId','user:range:','add','orderNumber','getAttribute','markerNameToElements','type','reconvertMarker','nodeAfter','isOfficialPlugin','ck-user__marker-tooltip','conversion','delete','textContent','8myMvtr','afterInit','startsWith','spellcheck','toDomElement','getSelectionClass','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','editingDowncast','undo','listenTo','3870obEWYr','isObject','getNearestSelectionRange','contenteditable','highest','clear','marker','isCollapsed','isSimilar','stopListening','deletionPosition','mouseleave','for','pluginName','color','commands','ck-user__marker\x20','54AXMiRe','3956428QCaZfD','classList','selection','parent','checkChild','getMarkerClass','markers','removeMarker','19454830DNzRvQ','innerHTML','split','detach','user:range','Escape','getContainedElement','set','oldRange','mapper','mouseenter','isLimit','false','isPremiumPlugin','getStart','data-session-id','283652ekTXqj','createUserMarkerOperations','3564096ioRONc','addMarker','outerHTML','markerToHighlight','addEventListener','keydown','3LZmQHC','view','ck-user__marker_hovered','markerRange','UserMarkers','change:range','requires','update:user:range','updateMarker','tableCell','userPositionMarker','batch','markerToElement','name','setCustomProperty','editor','mySessionId','start','user:position:','createRange','schema','2987180xOPTaP','_domEmitter','user:position','user:','isInline','model','end','hasDomSelection','getRange','size','getPositions','span','$text','destroy','getCustomProperty','change','newRange','isDocumentOperation'];_0x7b09=function(){return _0x215f23;};return _0x7b09();}(function(_0xb07c7f,_0x30963b){const _0xc06605=_0x4836,_0x1b6326=_0xb07c7f();while(!![]){try{const _0x361a0a=parseInt(_0xc06605(0x19a))/0x1*(-parseInt(_0xc06605(0x189))/0x2)+parseInt(_0xc06605(0x1bb))/0x3*(-parseInt(_0xc06605(0x1b3))/0x4)+-parseInt(_0xc06605(0x145))/0x5+-parseInt(_0xc06605(0x1b5))/0x6+parseInt(_0xc06605(0x19b))/0x7*(parseInt(_0xc06605(0x17f))/0x8)+-parseInt(_0xc06605(0x16a))/0x9+parseInt(_0xc06605(0x1a3))/0xa;if(_0x361a0a===_0x30963b)break;else _0x1b6326['push'](_0x1b6326['shift']());}catch(_0x4f45b3){_0x1b6326['push'](_0x1b6326['shift']());}}}(_0x7b09,0x6a300));import{Plugin as _0x139bde}from'ckeditor5/src/core.js';function _0x4836(_0x39ae34,_0x1d0df6){const _0x7b09f6=_0x7b09();return _0x4836=function(_0x48365b,_0x259e46){_0x48365b=_0x48365b-0x133;let _0x194da4=_0x7b09f6[_0x48365b];return _0x194da4;},_0x4836(_0x39ae34,_0x1d0df6);}import{global as _0x21cef0,DomEmitterMixin as _0x10dd82}from'ckeditor5/src/utils.js';import{Sessions as _0x282d56}from'./sessions.js';import{ModelLiveRange as _0x18fe7e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x139bde{[_0x167006(0x146)]=new(_0x10dd82())();static get[_0x167006(0x136)](){return[_0x282d56];}static get[_0x167006(0x196)](){const _0x3e60f7=_0x167006;return _0x3e60f7(0x134);}static get[_0x167006(0x17a)](){return!0x0;}static get[_0x167006(0x1b0)](){return!0x0;}[_0x167006(0x158)](){const _0x293736=_0x167006,_0xe0e89e=this[_0x293736(0x13f)],_0xb6c644=_0xe0e89e[_0x293736(0x16e)][_0x293736(0x159)](_0x282d56);_0xe0e89e[_0x293736(0x17c)][_0x293736(0x195)](_0x293736(0x186))[_0x293736(0x13c)]({'model':_0x293736(0x147),'view':(_0x2d61ab,{writer:_0x337806})=>function(_0x3eae12,_0x3cdd98,_0x9c3a2d,_0x426174){const _0x39d9a3=_0x293736,_0x5d0bf2=_0x3eae12[_0x39d9a3(0x16c)][_0x39d9a3(0x1a5)](':')[0x2],_0x26539b=_0x9c3a2d[_0x39d9a3(0x171)](_0x5d0bf2);if(!_0x26539b||_0x5d0bf2===_0x9c3a2d[_0x39d9a3(0x140)])return;if(!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)][_0x39d9a3(0x19f)](_0x3eae12[_0x39d9a3(0x133)][_0x39d9a3(0x141)],_0x39d9a3(0x151)))return;const _0x1007c1={'class':_0x39d9a3(0x199)+_0x26539b[_0x39d9a3(0x197)][_0x39d9a3(0x1a0)](),'data-name':_0x26539b[_0x39d9a3(0x13d)],'data-session-id':_0x5d0bf2},_0x45af75=_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x1a1)][_0x39d9a3(0x159)](_0x3eae12[_0x39d9a3(0x16c)]),_0x546788=_0x45af75[_0x39d9a3(0x1b1)](),_0x1e4e15=_0x546788[_0x39d9a3(0x179)],_0x27dcf4=_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)];if(_0x1e4e15&&_0x27dcf4[_0x39d9a3(0x18a)](_0x1e4e15)&&_0x27dcf4[_0x39d9a3(0x149)](_0x1e4e15)&&!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x1a1)][_0x39d9a3(0x159)](_0x39d9a3(0x172)+_0x5d0bf2)[_0x39d9a3(0x14d)]()[_0x39d9a3(0x190)])return;const _0x5cdf05=_0x546788[_0x39d9a3(0x19e)];return _0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x144)][_0x39d9a3(0x1ae)](_0x5cdf05)&&!_0x426174[_0x39d9a3(0x14a)][_0x39d9a3(0x169)](_0x5cdf05)&&(_0x1007c1[_0x39d9a3(0x18c)]=!0x1),function(_0x109bec,_0x3fd478,_0x56c929){const _0x4ff3e6=_0x39d9a3,_0x39faf4=_0x109bec[_0x4ff3e6(0x163)](_0x4ff3e6(0x150),_0x3fd478);return _0x109bec[_0x4ff3e6(0x13e)](_0x4ff3e6(0x13a),!0x0,_0x39faf4),_0x39faf4[_0x4ff3e6(0x161)]=function(_0x5eafb0){const _0x40b0be=_0x4ff3e6,_0x24ea35=this[_0x40b0be(0x183)](_0x5eafb0),_0xfedb8a=document[_0x40b0be(0x165)](_0x40b0be(0x150));return _0xfedb8a[_0x40b0be(0x19c)][_0x40b0be(0x173)](_0x40b0be(0x17b)),_0xfedb8a[_0x40b0be(0x166)](_0x40b0be(0x18c),_0x40b0be(0x1af)),_0xfedb8a[_0x40b0be(0x166)](_0x40b0be(0x182),_0x40b0be(0x1af)),_0xfedb8a[_0x40b0be(0x17e)]=_0x56c929[_0x40b0be(0x13d)],_0x24ea35[_0x40b0be(0x1a4)]=_0x40b0be(0x185)+_0xfedb8a[_0x40b0be(0x1b7)]+'⁠',_0x24ea35[_0x40b0be(0x1b9)](_0x40b0be(0x1ad),()=>{const _0xc00c33=_0x40b0be;_0x24ea35[_0xc00c33(0x19c)][_0xc00c33(0x173)](_0xc00c33(0x1bd));}),_0x24ea35[_0x40b0be(0x1b9)](_0x40b0be(0x194),()=>{const _0x2ee6f4=_0x40b0be;_0x24ea35[_0x2ee6f4(0x19c)][_0x2ee6f4(0x16f)](_0x2ee6f4(0x1bd));}),_0x24ea35;},_0x39faf4[_0x4ff3e6(0x191)]=function(_0x4d1c92){const _0x392373=_0x4ff3e6;return!(!this[_0x392373(0x153)](_0x392373(0x13a))||!_0x4d1c92[_0x392373(0x153)](_0x392373(0x13a))||this[_0x392373(0x175)](_0x392373(0x1b2))!=_0x4d1c92[_0x392373(0x175)](_0x392373(0x1b2)));},_0x39faf4;}(_0x3cdd98,_0x1007c1,_0x26539b);}(_0x2d61ab,_0x337806,_0xb6c644,_0xe0e89e)}),_0xe0e89e[_0x293736(0x17c)][_0x293736(0x195)](_0x293736(0x186))[_0x293736(0x1b8)]({'model':_0x293736(0x1a7),'view':_0x273106=>function(_0x4a9846,_0x4a6323){const _0x11f2a6=_0x293736,_0x385dcf=_0x4a9846[_0x11f2a6(0x16c)][_0x11f2a6(0x1a5)](':')[0x2];if(_0x385dcf===_0x4a6323[_0x11f2a6(0x140)])return null;const _0x232355=_0x4a6323[_0x11f2a6(0x171)](_0x385dcf);if(!_0x232355)return{'id':_0x385dcf,'classes':[]};return{'id':_0x385dcf,'classes':[_0x11f2a6(0x164),_0x232355[_0x11f2a6(0x197)][_0x11f2a6(0x184)]()],'attributes':{'data-session-id':_0x385dcf},'priority':0x7d0+_0x232355[_0x11f2a6(0x174)]};}(_0x273106,_0xb6c644)}),function(_0x5992ed){const _0x59882d=_0x293736,_0x317b18=_0x5992ed[_0x59882d(0x14a)],_0x279d7c=new Map(),_0x396b86=_0x5992ed[_0x59882d(0x16e)][_0x59882d(0x159)](_0x282d56);_0x317b18[_0x59882d(0x1a1)]['on'](_0x59882d(0x137),(_0x23e405,_0x56a64e,_0x3c0a6e,_0x4c64cf)=>{const _0x3bdd85=_0x59882d;if(!_0x4c64cf&&_0x279d7c[_0x3bdd85(0x159)](_0x56a64e[_0x3bdd85(0x13d)]))return _0x279d7c[_0x3bdd85(0x159)](_0x56a64e[_0x3bdd85(0x13d)])[_0x3bdd85(0x1a6)](),void _0x279d7c[_0x3bdd85(0x17d)](_0x56a64e[_0x3bdd85(0x13d)]);const _0x50b87b=_0x56a64e[_0x3bdd85(0x13d)][_0x3bdd85(0x1a5)](':')[0x2];if(_0x50b87b===_0x396b86[_0x3bdd85(0x140)])return;const _0x769c07=_0x3bdd85(0x142)+_0x50b87b;_0x317b18[_0x3bdd85(0x1a1)][_0x3bdd85(0x15b)](_0x769c07)&&_0x5992ed[_0x3bdd85(0x15c)][_0x3bdd85(0x178)](_0x769c07),_0x56a64e['on'](_0x3bdd85(0x135),(_0x3817c8,_0xcd4d74,_0xcad439)=>{const _0x4b6370=_0x3bdd85;if(_0x4b6370(0x15f)!=_0xcd4d74[_0x4b6370(0x16d)][_0x4b6370(0x162)]&&_0x4b6370(0x15f)==_0x56a64e[_0x4b6370(0x14d)]()[_0x4b6370(0x16d)][_0x4b6370(0x162)]&&!_0x279d7c[_0x4b6370(0x15b)](_0x56a64e[_0x4b6370(0x13d)])){const _0x31b169=_0x317b18[_0x4b6370(0x144)][_0x4b6370(0x18b)](_0xcad439[_0x4b6370(0x193)]);if(_0x31b169){const _0x9a528=_0x18fe7e[_0x4b6370(0x15a)](_0x31b169);_0x279d7c[_0x4b6370(0x1aa)](_0x56a64e[_0x4b6370(0x13d)],_0x9a528),_0x9a528['on'](_0x4b6370(0x135),(_0x38d5e9,_0xbde633,_0x17eb53)=>{const _0x511044=_0x4b6370;if(_0x511044(0x15f)==_0x9a528[_0x511044(0x16d)][_0x511044(0x162)]){const _0x1bb8bf=_0x317b18[_0x511044(0x144)][_0x511044(0x18b)](_0x17eb53[_0x511044(0x193)]);_0x1bb8bf?(_0x9a528[_0x511044(0x141)]=_0x1bb8bf[_0x511044(0x141)],_0x9a528[_0x511044(0x14b)]=_0x1bb8bf[_0x511044(0x14b)]):(_0x279d7c[_0x511044(0x17d)](_0x56a64e[_0x511044(0x13d)]),_0x9a528[_0x511044(0x1a6)]());}});}}});}),_0x317b18[_0x59882d(0x160)]['on'](_0x59882d(0x154),()=>{const _0x3c87a7=_0x59882d;_0x279d7c[_0x3c87a7(0x14e)]>0x0&&_0x317b18[_0x3c87a7(0x16b)]({'isUndoable':!0x1},_0x2a84c1=>{const _0x1d071d=_0x3c87a7;for(const [_0x5e0613,_0x26e500]of _0x279d7c)_0x1d071d(0x15f)==_0x317b18[_0x1d071d(0x1a1)][_0x1d071d(0x159)](_0x5e0613)[_0x1d071d(0x14d)]()[_0x1d071d(0x16d)][_0x1d071d(0x162)]&&(J(_0x5e0613[_0x1d071d(0x1a5)](':')[0x2],_0x26e500[_0x1d071d(0x170)](),_0x317b18,_0x2a84c1),_0x26e500[_0x1d071d(0x1a6)]());_0x279d7c[_0x1d071d(0x18e)]();});});}(_0xe0e89e),this[_0x293736(0x146)][_0x293736(0x188)](_0x21cef0[_0x293736(0x160)],_0x293736(0x1ba),(_0x2e2349,{key:_0x3b8062})=>{const _0x47ddb2=_0x293736;_0x47ddb2(0x1a8)===_0x3b8062&&function(_0x1ebf3b){const _0x58b424=_0x47ddb2;_0x1ebf3b[_0x58b424(0x15c)][_0x58b424(0x1bc)][_0x58b424(0x154)](_0x1f14db=>{const _0xd0d288=_0x58b424;for(const _0x134e3c of _0x1ebf3b[_0xd0d288(0x14a)][_0xd0d288(0x1a1)]){if(!_0x134e3c[_0xd0d288(0x13d)][_0xd0d288(0x181)](_0xd0d288(0x147)))continue;const _0x48e0d8=_0x1ebf3b[_0xd0d288(0x15c)][_0xd0d288(0x1ac)][_0xd0d288(0x176)](_0x134e3c[_0xd0d288(0x13d)]);if(_0x48e0d8){for(const _0x6c3a94 of _0x48e0d8)_0x1f14db[_0xd0d288(0x168)](_0xd0d288(0x1bd),_0x6c3a94);}}});}(_0xe0e89e);},{'useCapture':!0x0});}[_0x167006(0x180)](){const _0xf39126=_0x167006,_0x30cf25=this[_0xf39126(0x13f)],_0x2c05ea=_0x30cf25[_0xf39126(0x198)][_0xf39126(0x159)](_0xf39126(0x187));_0x2c05ea&&_0x30cf25[_0xf39126(0x14a)]['on'](_0xf39126(0x167),(_0xba6392,_0x41b382)=>{const _0x47e846=_0xf39126,_0x25fd88=_0x41b382[0x0];if(!_0x25fd88[_0x47e846(0x156)])return;if(_0x47e846(0x18f)!=_0x25fd88[_0x47e846(0x177)]||!_0x25fd88[_0x47e846(0x13d)][_0x47e846(0x181)](_0x47e846(0x148)))return;const _0x1aa98d=_0x25fd88[_0x47e846(0x13b)];_0x2c05ea[_0x47e846(0x157)][_0x47e846(0x15b)](_0x1aa98d)&&(_0x25fd88[_0x47e846(0x155)]=_0x25fd88[_0x47e846(0x1ab)]?_0x30cf25[_0x47e846(0x14a)][_0x47e846(0x143)](_0x25fd88[_0x47e846(0x1ab)][_0x47e846(0x141)],_0x25fd88[_0x47e846(0x1ab)][_0x47e846(0x14b)]):null);},{'priority':_0xf39126(0x18d)});}[_0x167006(0x152)](){const _0x46c0dc=_0x167006;return this[_0x46c0dc(0x146)][_0x46c0dc(0x192)](),super[_0x46c0dc(0x152)]();}[_0x167006(0x1b4)](){const _0x40b432=_0x167006,_0x1bae73=this[_0x40b432(0x13f)],_0x2e08dd=_0x1bae73[_0x40b432(0x14a)][_0x40b432(0x160)],_0x1f83fa=_0x1bae73[_0x40b432(0x16e)][_0x40b432(0x159)](_0x282d56);_0x1bae73[_0x40b432(0x14a)][_0x40b432(0x16b)]({'isUndoable':!0x1},_0x46b65c=>{const _0x38e69c=_0x40b432,_0x1df3b1=_0x38e69c(0x172)+_0x1f83fa[_0x38e69c(0x140)],_0x31a0d3=_0x38e69c(0x142)+_0x1f83fa[_0x38e69c(0x140)],_0x370396=_0x1bae73[_0x38e69c(0x14a)][_0x38e69c(0x1a1)][_0x38e69c(0x15b)](_0x1df3b1);_0x1bae73[_0x38e69c(0x15c)][_0x38e69c(0x1bc)][_0x38e69c(0x14c)]?J(_0x1f83fa[_0x38e69c(0x140)],_0x2e08dd[_0x38e69c(0x19d)][_0x38e69c(0x15d)](),_0x1bae73[_0x38e69c(0x14a)],_0x46b65c):_0x370396&&(_0x46b65c[_0x38e69c(0x1a2)](_0x1df3b1),_0x46b65c[_0x38e69c(0x1a2)](_0x31a0d3));});}}function J(_0x2ba78b,_0x51ea66,_0x4f1538,_0x469325){const _0x1926eb=_0x167006,_0x1792a1=_0x1926eb(0x172)+_0x2ba78b,_0x282e42=_0x1926eb(0x142)+_0x2ba78b,_0x47b73d=_0x51ea66[_0x1926eb(0x1a9)]();let _0x43c6a5=_0x51ea66[_0x1926eb(0x141)];if(_0x47b73d&&_0x47b73d['is'](_0x1926eb(0x15e),_0x1926eb(0x139))){const _0x3a7d31=function(_0x513725,_0x2bb1f0){const _0x1e81bf=_0x1926eb;for(const _0xd670b3 of _0x513725[_0x1e81bf(0x14f)]())if(_0x2bb1f0[_0x1e81bf(0x144)][_0x1e81bf(0x19f)](_0xd670b3,_0x1e81bf(0x151)))return _0xd670b3;}(_0x51ea66,_0x4f1538);_0x3a7d31&&(_0x43c6a5=_0x3a7d31,_0x51ea66=_0x469325[_0x1926eb(0x143)](_0x43c6a5));}const _0x2fb8b5=_0x469325[_0x1926eb(0x143)](_0x43c6a5);_0x4f1538[_0x1926eb(0x1a1)][_0x1926eb(0x15b)](_0x1792a1)?(_0x469325[_0x1926eb(0x138)](_0x1792a1,{'range':_0x51ea66}),_0x469325[_0x1926eb(0x138)](_0x282e42,{'range':_0x2fb8b5})):(_0x469325[_0x1926eb(0x1b6)](_0x1792a1,{'range':_0x51ea66,'usingOperation':!0x0}),_0x469325[_0x1926eb(0x1b6)](_0x282e42,{'range':_0x2fb8b5,'usingOperation':!0x0}));}