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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +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 _0x1dcd(){const _0x21dd29=['createCollection','presencelist:hide','bindTemplate','list','change:hasPopup','4487273IJulpU','listenTo','680020eQvNfC','aria-expanded','2530746DQIgIa','hasPopup','setAttribute','removeAttribute','element','div','ck-presence-list__list','fire','keystrokes','.ck-balloon-panel_with-arrow','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setTemplate','500466NIxLHr','Connected\x20users\x20list','set','16RekvAJ','isExpanded','presencelist:show','12QxjLwR','99jHiuYN','.ck-presence-list__dropdown-list','render','2734650tBHAup','contains','querySelector','3dAYSYZ','relatedTarget','items','772888kBNXwi','1433835vyGVsB','focus'];_0x1dcd=function(){return _0x21dd29;};return _0x1dcd();}function _0x3db1(_0x315fed,_0x47128a){const _0x1dcdf2=_0x1dcd();return _0x3db1=function(_0x3db186,_0x38f2cf){_0x3db186=_0x3db186-0x18b;let _0x1e6ef5=_0x1dcdf2[_0x3db186];return _0x1e6ef5;},_0x3db1(_0x315fed,_0x47128a);}const _0x1e5386=_0x3db1;(function(_0x2d62e4,_0x113f5f){const _0x513269=_0x3db1,_0x31490a=_0x2d62e4();while(!![]){try{const _0xe097cb=-parseInt(_0x513269(0x197))/0x1*(-parseInt(_0x513269(0x1b2))/0x2)+parseInt(_0x513269(0x190))/0x3*(-parseInt(_0x513269(0x19a))/0x4)+parseInt(_0x513269(0x19b))/0x5+-parseInt(_0x513269(0x194))/0x6+parseInt(_0x513269(0x1a2))/0x7+-parseInt(_0x513269(0x18d))/0x8*(-parseInt(_0x513269(0x1a6))/0x9)+-parseInt(_0x513269(0x1a4))/0xa*(parseInt(_0x513269(0x191))/0xb);if(_0xe097cb===_0x113f5f)break;else _0x31490a['push'](_0x31490a['shift']());}catch(_0x2f325c){_0x31490a['push'](_0x31490a['shift']());}}}(_0x1dcd,0x61b54));import{View as _0x5f4010}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1f2e87}from'ckeditor5/src/utils.js';import{getTranslation as _0x12b61e}from'../../common-translations.js';export class PresenceInlineListView extends _0x5f4010{[_0x1e5386(0x199)];[_0x1e5386(0x1ae)];constructor(_0x253d8f){const _0x1379a7=_0x1e5386;super(_0x253d8f);const _0x89004c=this[_0x1379a7(0x19f)];this[_0x1379a7(0x199)]=this[_0x1379a7(0x19d)](),this[_0x1379a7(0x1ae)]=new _0x1f2e87(),this[_0x1379a7(0x18c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1379a7(0x1b1)]({'tag':_0x1379a7(0x1ab),'attributes':{'aria-haspopup':_0x89004c['if'](_0x1379a7(0x1a7)),'aria-expanded':_0x89004c['to'](_0x1379a7(0x18e),_0x3993da=>this[_0x1379a7(0x1a7)]&&String(_0x3993da)),'aria-label':_0x89004c['to'](_0x1379a7(0x1a7),_0x5254a9=>_0x12b61e(_0x253d8f,_0x5254a9?_0x1379a7(0x1b0):_0x1379a7(0x18b))),'role':_0x1379a7(0x1a0),'tabindex':_0x89004c['to'](_0x1379a7(0x1a7),_0x1068c=>!!_0x1068c&&0x0),'class':['ck',_0x1379a7(0x1ac)]},'children':this[_0x1379a7(0x199)],'on':{'mouseenter':_0x89004c['to'](()=>this[_0x1379a7(0x1ad)](_0x1379a7(0x18f))),'mouseleave':_0x89004c['to'](_0x3dfbcb=>{const _0x4e2b04=_0x1379a7,_0x1b8477=_0x3dfbcb,_0x5ab7dd=document[_0x4e2b04(0x196)](_0x4e2b04(0x192)),_0x1f5bf3=document[_0x4e2b04(0x196)](_0x4e2b04(0x1af));_0x5ab7dd?.[_0x4e2b04(0x195)](_0x1b8477[_0x4e2b04(0x198)])||_0x1f5bf3?.[_0x4e2b04(0x195)](_0x1b8477[_0x4e2b04(0x198)])||this[_0x4e2b04(0x1ad)](_0x4e2b04(0x19e));})}}),this['on'](_0x1379a7(0x1a1),(_0x2b7dfb,_0x1fd277,_0x26ce63)=>{const _0x47a3c5=_0x1379a7;this[_0x47a3c5(0x1aa)]&&(_0x26ce63?this[_0x47a3c5(0x1aa)][_0x47a3c5(0x1a8)](_0x47a3c5(0x1a5),String(this[_0x47a3c5(0x18e)])):this[_0x47a3c5(0x1aa)][_0x47a3c5(0x1a9)](_0x47a3c5(0x1a5)));});}[_0x1e5386(0x19c)](){const _0x42100b=_0x1e5386;this[_0x42100b(0x1aa)][_0x42100b(0x19c)]();}[_0x1e5386(0x193)](){const _0x339582=_0x1e5386;super[_0x339582(0x193)](),this[_0x339582(0x1ae)][_0x339582(0x1a3)](this[_0x339582(0x1aa)]);}}
23
+ const _0x529e6f=_0x14d7;function _0x14d7(_0x5c198c,_0x454100){const _0x3d82fb=_0x3d82();return _0x14d7=function(_0x14d7b2,_0x12954c){_0x14d7b2=_0x14d7b2-0x1b6;let _0x3ec928=_0x3d82fb[_0x14d7b2];return _0x3ec928;},_0x14d7(_0x5c198c,_0x454100);}(function(_0x362d38,_0x376626){const _0x2cd4f3=_0x14d7,_0xb9da1c=_0x362d38();while(!![]){try{const _0x376cd8=parseInt(_0x2cd4f3(0x1be))/0x1+-parseInt(_0x2cd4f3(0x1d6))/0x2*(parseInt(_0x2cd4f3(0x1d9))/0x3)+parseInt(_0x2cd4f3(0x1b6))/0x4+parseInt(_0x2cd4f3(0x1bb))/0x5*(-parseInt(_0x2cd4f3(0x1ca))/0x6)+parseInt(_0x2cd4f3(0x1d3))/0x7+parseInt(_0x2cd4f3(0x1bf))/0x8*(-parseInt(_0x2cd4f3(0x1cb))/0x9)+parseInt(_0x2cd4f3(0x1c4))/0xa;if(_0x376cd8===_0x376626)break;else _0xb9da1c['push'](_0xb9da1c['shift']());}catch(_0x3cc956){_0xb9da1c['push'](_0xb9da1c['shift']());}}}(_0x3d82,0x18d54));import{View as _0x44cb44}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5c81cd}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a587f}from'../../common-translations.js';function _0x3d82(){const _0x572205=['removeAttribute','createCollection','isExpanded','element','6wqxUrc','6093SYVcTv','presencelist:show','div','presencelist:hide','setAttribute','render','change:hasPopup','fire','791266bZuOXM','listenTo','relatedTarget','73130FEQkLV','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','3KpJmgJ','contains','set','items','380772CgRfeD','bindTemplate','setTemplate','.ck-balloon-panel_with-arrow','keystrokes','605755FBTZPo','Connected\x20users\x20list','ck-presence-list__list','117847tkDToZ','2328lLAsCf','.ck-presence-list__dropdown-list','list','aria-expanded','focus','1303610jhoabk','hasPopup'];_0x3d82=function(){return _0x572205;};return _0x3d82();}export class PresenceInlineListView extends _0x44cb44{[_0x529e6f(0x1dc)];[_0x529e6f(0x1ba)];constructor(_0x20c66a){const _0x237590=_0x529e6f;super(_0x20c66a);const _0x4fb7e3=this[_0x237590(0x1b7)];this[_0x237590(0x1dc)]=this[_0x237590(0x1c7)](),this[_0x237590(0x1ba)]=new _0x5c81cd(),this[_0x237590(0x1db)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x237590(0x1b8)]({'tag':_0x237590(0x1cd),'attributes':{'aria-haspopup':_0x4fb7e3['if'](_0x237590(0x1c5)),'aria-expanded':_0x4fb7e3['to'](_0x237590(0x1c8),_0x394505=>this[_0x237590(0x1c5)]&&String(_0x394505)),'aria-label':_0x4fb7e3['to'](_0x237590(0x1c5),_0x2c5393=>_0x5a587f(_0x20c66a,_0x2c5393?_0x237590(0x1d7):_0x237590(0x1bc))),'role':_0x237590(0x1c1),'tabindex':_0x4fb7e3['to'](_0x237590(0x1c5),_0xa26dd=>!!_0xa26dd&&0x0),'class':['ck',_0x237590(0x1bd)]},'children':this[_0x237590(0x1dc)],'on':{'mouseenter':_0x4fb7e3['to'](()=>this[_0x237590(0x1d2)](_0x237590(0x1cc))),'mouseleave':_0x4fb7e3['to'](_0x466c66=>{const _0x39036d=_0x237590,_0x53d7b0=_0x466c66,_0x2f6264=document[_0x39036d(0x1d8)](_0x39036d(0x1c0)),_0x5430a3=document[_0x39036d(0x1d8)](_0x39036d(0x1b9));_0x2f6264?.[_0x39036d(0x1da)](_0x53d7b0[_0x39036d(0x1d5)])||_0x5430a3?.[_0x39036d(0x1da)](_0x53d7b0[_0x39036d(0x1d5)])||this[_0x39036d(0x1d2)](_0x39036d(0x1ce));})}}),this['on'](_0x237590(0x1d1),(_0x4f796b,_0x3ddfa6,_0x5d11ae)=>{const _0x71d9aa=_0x237590;this[_0x71d9aa(0x1c9)]&&(_0x5d11ae?this[_0x71d9aa(0x1c9)][_0x71d9aa(0x1cf)](_0x71d9aa(0x1c2),String(this[_0x71d9aa(0x1c8)])):this[_0x71d9aa(0x1c9)][_0x71d9aa(0x1c6)](_0x71d9aa(0x1c2)));});}[_0x529e6f(0x1c3)](){const _0xdfed69=_0x529e6f;this[_0xdfed69(0x1c9)][_0xdfed69(0x1c3)]();}[_0x529e6f(0x1d0)](){const _0x15a3b4=_0x529e6f;super[_0x15a3b4(0x1d0)](),this[_0x15a3b4(0x1ba)][_0x15a3b4(0x1d4)](this[_0x15a3b4(0x1c9)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a4639=_0x113f;(function(_0x8a9ab2,_0xfc4376){const _0x1ad389=_0x113f,_0x494150=_0x8a9ab2();while(!![]){try{const _0x3a2ff9=-parseInt(_0x1ad389(0x1e0))/0x1*(-parseInt(_0x1ad389(0x1d1))/0x2)+-parseInt(_0x1ad389(0x1e5))/0x3+-parseInt(_0x1ad389(0x1d7))/0x4+-parseInt(_0x1ad389(0x1e3))/0x5*(parseInt(_0x1ad389(0x1db))/0x6)+parseInt(_0x1ad389(0x1da))/0x7+-parseInt(_0x1ad389(0x1ec))/0x8+parseInt(_0x1ad389(0x1d9))/0x9;if(_0x3a2ff9===_0xfc4376)break;else _0x494150['push'](_0x494150['shift']());}catch(_0x20a486){_0x494150['push'](_0x494150['shift']());}}}(_0x52bd,0xb43d7));import{View as _0x60922f}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3a815a}from'./presencecounterview.js';import{PresenceInlineListView as _0x5b1845}from'./presenceinlinelistview.js';function _0x113f(_0x2a3677,_0x320adf){const _0x52bd5b=_0x52bd();return _0x113f=function(_0x113fe8,_0x301fe1){_0x113fe8=_0x113fe8-0x1d1;let _0x30cda8=_0x52bd5b[_0x113fe8];return _0x30cda8;},_0x113f(_0x2a3677,_0x320adf);}function _0x52bd(){const _0x40dbaf=['ck-rounded-corners','listenTo','tooltipPosition','items','bindTemplate','525220lcKGEX','hasPopup','2794473iLAyhd','4205824lbcgGV','2225274IABMxW','inlineListView','first','div','ck-presence-list--collapsed','200276yimxZj','locale','change','5IXLcpq','isCollapsed','3181260yRqSal','ck-reset','ck-presence-list','bind','counterView','set','setTemplate','99152qTKhnE','14DxcWaT'];_0x52bd=function(){return _0x40dbaf;};return _0x52bd();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x60922f{[_0x5a4639(0x1e9)];[_0x5a4639(0x1dc)];constructor(_0x18fc40,_0x236cd0=0x6){const _0x303ca2=_0x5a4639;super(_0x18fc40);const _0x324bbe=this[_0x303ca2(0x1d6)];this[_0x303ca2(0x1ea)](_0x303ca2(0x1e4),!0x0),this[_0x303ca2(0x1e9)]=new _0x3a815a(this[_0x303ca2(0x1e1)],_0x236cd0),this[_0x303ca2(0x1dc)]=new _0x5b1845(_0x18fc40),this[_0x303ca2(0x1dc)][_0x303ca2(0x1e8)](_0x303ca2(0x1d8))['to'](this,_0x303ca2(0x1e4)),this[_0x303ca2(0x1d3)](this[_0x303ca2(0x1dc)][_0x303ca2(0x1d5)],_0x303ca2(0x1e2),()=>{const _0x39c059=_0x303ca2;for(const _0x3b7c95 of this[_0x39c059(0x1dc)][_0x39c059(0x1d5)])_0x3b7c95[_0x39c059(0x1d4)]='s';this[_0x39c059(0x1dc)][_0x39c059(0x1d5)][_0x39c059(0x1dd)]&&(this[_0x39c059(0x1dc)][_0x39c059(0x1d5)][_0x39c059(0x1dd)][_0x39c059(0x1d4)]='se');}),this[_0x303ca2(0x1eb)]({'tag':_0x303ca2(0x1de),'attributes':{'class':['ck',_0x303ca2(0x1e7),_0x303ca2(0x1e6),_0x303ca2(0x1d2),_0x324bbe['if'](_0x303ca2(0x1e4),_0x303ca2(0x1df))]},'children':[this[_0x303ca2(0x1dc)]]});}}
23
+ function _0x5890(){const _0x1eba42=['3487240OnFLYe','bindTemplate','inlineListView','4017530VzCTEU','counterView','ck-presence-list--collapsed','locale','bind','isCollapsed','2xLGsvN','14988RpsGEI','change','first','ck-reset','ck-rounded-corners','9EOihwy','5701619OhERtO','1400098QvGoNy','items','228asYigt','listenTo','66269ZBNybm','set','1650xKCtwR','hasPopup','div','tooltipPosition','34869UPnJvb','ck-presence-list','setTemplate','12dPdzsU'];_0x5890=function(){return _0x1eba42;};return _0x5890();}const _0x77bc62=_0x104a;function _0x104a(_0x94e63c,_0x4d4fe4){const _0x58900b=_0x5890();return _0x104a=function(_0x104acf,_0x3d7e25){_0x104acf=_0x104acf-0x1c9;let _0x2518f2=_0x58900b[_0x104acf];return _0x2518f2;},_0x104a(_0x94e63c,_0x4d4fe4);}(function(_0xc29a53,_0x4a24b6){const _0x600f3f=_0x104a,_0x4ed4d0=_0xc29a53();while(!![]){try{const _0x50538a=parseInt(_0x600f3f(0x1d7))/0x1*(-parseInt(_0x600f3f(0x1cb))/0x2)+-parseInt(_0x600f3f(0x1dd))/0x3*(-parseInt(_0x600f3f(0x1d5))/0x4)+parseInt(_0x600f3f(0x1d9))/0x5*(-parseInt(_0x600f3f(0x1cc))/0x6)+parseInt(_0x600f3f(0x1d3))/0x7+-parseInt(_0x600f3f(0x1e1))/0x8+parseInt(_0x600f3f(0x1d1))/0x9*(parseInt(_0x600f3f(0x1e4))/0xa)+parseInt(_0x600f3f(0x1d2))/0xb*(parseInt(_0x600f3f(0x1e0))/0xc);if(_0x50538a===_0x4a24b6)break;else _0x4ed4d0['push'](_0x4ed4d0['shift']());}catch(_0x259263){_0x4ed4d0['push'](_0x4ed4d0['shift']());}}}(_0x5890,0x6f59d));import{View as _0x1859fc}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x353772}from'./presencecounterview.js';import{PresenceInlineListView as _0x167fd3}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1859fc{[_0x77bc62(0x1e5)];[_0x77bc62(0x1e3)];constructor(_0x554f3d,_0x44d341=0x6){const _0x7dbc26=_0x77bc62;super(_0x554f3d);const _0x4d2af4=this[_0x7dbc26(0x1e2)];this[_0x7dbc26(0x1d8)](_0x7dbc26(0x1ca),!0x0),this[_0x7dbc26(0x1e5)]=new _0x353772(this[_0x7dbc26(0x1e7)],_0x44d341),this[_0x7dbc26(0x1e3)]=new _0x167fd3(_0x554f3d),this[_0x7dbc26(0x1e3)][_0x7dbc26(0x1c9)](_0x7dbc26(0x1da))['to'](this,_0x7dbc26(0x1ca)),this[_0x7dbc26(0x1d6)](this[_0x7dbc26(0x1e3)][_0x7dbc26(0x1d4)],_0x7dbc26(0x1cd),()=>{const _0x3ec4c9=_0x7dbc26;for(const _0x454cec of this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)])_0x454cec[_0x3ec4c9(0x1dc)]='s';this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)][_0x3ec4c9(0x1ce)]&&(this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)][_0x3ec4c9(0x1ce)][_0x3ec4c9(0x1dc)]='se');}),this[_0x7dbc26(0x1df)]({'tag':_0x7dbc26(0x1db),'attributes':{'class':['ck',_0x7dbc26(0x1de),_0x7dbc26(0x1cf),_0x7dbc26(0x1d0),_0x4d2af4['if'](_0x7dbc26(0x1ca),_0x7dbc26(0x1e6))]},'children':[this[_0x7dbc26(0x1e3)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x348d(){var _0x5a69dd=['requires','isPremiumPlugin','3EMcJXI','7565436JlcziI','PresenceList','1357656opvfhi','857332nwrAsf','pluginName','7bygZgV','10EBQntF','2534178iWCjyH','isOfficialPlugin','11122463skcJIe','89755ggJXyU','498WrNSsF','13657672wohMEK'];_0x348d=function(){return _0x5a69dd;};return _0x348d();}var _0x24baff=_0xd7de;(function(_0x19bf5b,_0x9d6c2f){var _0x459614=_0xd7de,_0x156c7d=_0x19bf5b();while(!![]){try{var _0x14682f=-parseInt(_0x459614(0xdb))/0x1+-parseInt(_0x459614(0xdf))/0x2+parseInt(_0x459614(0xd7))/0x3*(-parseInt(_0x459614(0xda))/0x4)+parseInt(_0x459614(0xe2))/0x5*(parseInt(_0x459614(0xd3))/0x6)+-parseInt(_0x459614(0xdd))/0x7*(-parseInt(_0x459614(0xd4))/0x8)+-parseInt(_0x459614(0xd8))/0x9+-parseInt(_0x459614(0xde))/0xa*(-parseInt(_0x459614(0xe1))/0xb);if(_0x14682f===_0x9d6c2f)break;else _0x156c7d['push'](_0x156c7d['shift']());}catch(_0x4fb7e3){_0x156c7d['push'](_0x156c7d['shift']());}}}(_0x348d,0xdca9c));function _0xd7de(_0x16a08f,_0x432060){var _0x348d93=_0x348d();return _0xd7de=function(_0xd7de06,_0x513aa3){_0xd7de06=_0xd7de06-0xd3;var _0x1cdb2d=_0x348d93[_0xd7de06];return _0x1cdb2d;},_0xd7de(_0x16a08f,_0x432060);}import{ContextPlugin as _0x3c553c}from'ckeditor5/src/core.js';import{Sessions as _0x374782}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3e85e9}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3c553c{static get[_0x24baff(0xd5)](){return[_0x374782,_0x3e85e9];}static get[_0x24baff(0xdc)](){var _0x1da6ce=_0x24baff;return _0x1da6ce(0xd9);}static get[_0x24baff(0xe0)](){return!0x0;}static get[_0x24baff(0xd6)](){return!0x0;}}
23
+ var _0x450c00=_0x3e11;(function(_0x261b52,_0x3fb0d3){var _0x4b88ae=_0x3e11,_0x226e0e=_0x261b52();while(!![]){try{var _0x47e8ed=parseInt(_0x4b88ae(0x1e3))/0x1*(-parseInt(_0x4b88ae(0x1e9))/0x2)+parseInt(_0x4b88ae(0x1e0))/0x3+parseInt(_0x4b88ae(0x1de))/0x4*(parseInt(_0x4b88ae(0x1e7))/0x5)+-parseInt(_0x4b88ae(0x1db))/0x6*(-parseInt(_0x4b88ae(0x1e8))/0x7)+-parseInt(_0x4b88ae(0x1e2))/0x8+parseInt(_0x4b88ae(0x1e5))/0x9+-parseInt(_0x4b88ae(0x1e6))/0xa;if(_0x47e8ed===_0x3fb0d3)break;else _0x226e0e['push'](_0x226e0e['shift']());}catch(_0x585cb1){_0x226e0e['push'](_0x226e0e['shift']());}}}(_0x4b31,0xbbfcc));import{ContextPlugin as _0xbb3ca7}from'ckeditor5/src/core.js';import{Sessions as _0x147532}from'./realtimecollaborativeediting/sessions.js';function _0x3e11(_0x5e5fdb,_0x26e631){var _0x4b317e=_0x4b31();return _0x3e11=function(_0x3e11ce,_0x299cc9){_0x3e11ce=_0x3e11ce-0x1db;var _0x34d896=_0x4b317e[_0x3e11ce];return _0x34d896;},_0x3e11(_0x5e5fdb,_0x26e631);}import{PresenceListUI as _0x18ad66}from'./presencelist/presencelistui.js';export class PresenceList extends _0xbb3ca7{static get[_0x450c00(0x1dc)](){return[_0x147532,_0x18ad66];}static get[_0x450c00(0x1e1)](){var _0x274d7=_0x450c00;return _0x274d7(0x1dd);}static get[_0x450c00(0x1e4)](){return!0x0;}static get[_0x450c00(0x1df)](){return!0x0;}}function _0x4b31(){var _0x52195a=['PresenceList','8TsnbcA','isPremiumPlugin','1213386vNfpHz','pluginName','4724608IWtqWt','6ikZxcb','isOfficialPlugin','4710393VnSxaF','5938120VgZKCt','3349345SwmWqR','5705naZQSI','289946HOGWYg','4098SKznYg','requires'];_0x4b31=function(){return _0x52195a;};return _0x4b31();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36719e=_0x21e5;(function(_0x36fc57,_0x123b09){const _0xb8e87=_0x21e5,_0x1d2da0=_0x36fc57();while(!![]){try{const _0x4744fb=parseInt(_0xb8e87(0x217))/0x1*(parseInt(_0xb8e87(0x209))/0x2)+-parseInt(_0xb8e87(0x21f))/0x3*(-parseInt(_0xb8e87(0x22f))/0x4)+parseInt(_0xb8e87(0x237))/0x5*(-parseInt(_0xb8e87(0x224))/0x6)+-parseInt(_0xb8e87(0x200))/0x7+parseInt(_0xb8e87(0x223))/0x8+-parseInt(_0xb8e87(0x206))/0x9*(parseInt(_0xb8e87(0x23d))/0xa)+-parseInt(_0xb8e87(0x240))/0xb*(parseInt(_0xb8e87(0x1ff))/0xc);if(_0x4744fb===_0x123b09)break;else _0x1d2da0['push'](_0x1d2da0['shift']());}catch(_0x4695c9){_0x1d2da0['push'](_0x1d2da0['shift']());}}}(_0x2e6b,0x1cb31));import{Context as _0x24a958,ContextPlugin as _0xdeba2d}from'ckeditor5/src/core.js';import{CKEditorError as _0x18cbd9}from'ckeditor5/src/utils.js';import{Users as _0xa7afd6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x58b088,User as _0x32e914}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5c2b68}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2e6b(){const _0x31fb25=['reopen','60890DfLeyd','updateCommentThread','unregister','commentThreadRemoved','commentThreadResolved','getComment','30WDfSjh','addUser','authorId','99ZxrTkl','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','cloudservicescommentsadapter-connect-already-connected','assign','resolvedAt','getUser','map','delete','plugins','_connectService','set','addComment','commentUpdated','size','getMany','404','getConnectedSessions','resolveCommentThread','connect','_setUpService','updateComment','collaboration.channelId','catch','content','disconnect','isOfficialPlugin','keys','init','register','attributes','setPermissions','adapter','removeComment','config','_fetchMissingUsersForThreads','commentAdded','commentThreadReopened','cloudservicescommentsadapter-service-not-exist','35616yRURlQ','10808wtPbLB','getCommentThreads','userId','sessionAdd:','commentRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','210069QmSqsy','commentThreadUpdated','commentThreadId','22ODpPyI','startsWith','update','getCommentThread','add','comments','permissions','resolve','CommentsRepository','resolvedBy','addToReconnectionStack','CommentsService','context','_getService','2391ESJNKM','remove','addCommentThread','from','code','_terminateService','listenTo','pluginName','2721XhvYfL','get','createdAt','commentId','638176WkLeKF','42tKgIsc','commentThreadAdded','requires','cloudservicescommentsadapter-disconnect-not-exist','isPremiumPlugin','removeCommentThread','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','_services','CloudServicesCommentsAdapter','860mYmBkp','message','reopenCommentThread','has','Permissions','destroy','off'];_0x2e6b=function(){return _0x31fb25;};return _0x2e6b();}import{Sessions as _0x46f592}from'../realtimecollaborativeediting/sessions.js';class s extends _0xdeba2d{static [_0x36719e(0x214)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x58b088)());[_0x36719e(0x22d)];static get[_0x36719e(0x226)](){const _0x260ec1=_0x36719e;return[_0x5c2b68,_0x260ec1(0x211),_0x46f592,_0xa7afd6];}static get[_0x36719e(0x21e)](){const _0x3698d7=_0x36719e;return _0x3698d7(0x22e);}static get[_0x36719e(0x1f2)](){return!0x0;}static get[_0x36719e(0x228)](){return!0x0;}constructor(_0x36fc9b){const _0x301554=_0x36719e;super(_0x36fc9b),this[_0x301554(0x22d)]=new Map();}async[_0x36719e(0x1f4)](){const _0x255197=_0x36719e,_0x31d221=this[_0x255197(0x215)],_0x5829d2=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x255197(0x211));if(_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x5c2b68)[_0x255197(0x213)](this),_0x5829d2[_0x255197(0x1f8)]={'addCommentThread':async({channelId:_0x39eb4b,threadId:_0x3b4734,comments:_0x46c914,resolvedAt:_0x22f02e,resolvedBy:_0x354a84,context:_0x4dad6c,attributes:_0x35b914})=>{const _0x2ad26f=_0x255197,_0x5c7ab1=await this[_0x2ad26f(0x216)](_0x39eb4b)[_0x2ad26f(0x219)]({'commentThreadId':_0x3b4734,'comments':_0x46c914[_0x2ad26f(0x247)](_0x16e9bd=>function(_0x4bbc98,_0x48a813,_0x55ae6b){const _0x132d2a=_0x2ad26f;return{'commentThreadId':_0x55ae6b,'commentId':_0x4bbc98[_0x132d2a(0x222)],'userId':_0x4bbc98[_0x132d2a(0x23f)],'content':_0x4bbc98[_0x132d2a(0x1f0)],'documentId':_0x48a813,'createdAt':_0x4bbc98[_0x132d2a(0x221)],'attributes':_0x4bbc98[_0x132d2a(0x1f6)]||{}};}(_0x16e9bd,_0x39eb4b,_0x3b4734)),'resolvedAt':_0x22f02e,'resolvedBy':_0x354a84,'context':_0x4dad6c,'attributes':_0x35b914})[_0x2ad26f(0x1ef)](A);return{'threadId':_0x5c7ab1[_0x2ad26f(0x208)],'comments':_0x5c7ab1[_0x2ad26f(0x20e)]};},'getCommentThread':async({channelId:_0x5f3061,threadId:_0x5dbd9a})=>{const _0xcf51fc=_0x255197,_0x500d82=await this[_0xcf51fc(0x216)](_0x5f3061)[_0xcf51fc(0x20c)](_0x5dbd9a)[_0xcf51fc(0x1ef)](A);return _0x500d82[_0xcf51fc(0x242)]?null:(await this[_0xcf51fc(0x1fb)]([_0x500d82]),{'threadId':_0x500d82[_0xcf51fc(0x208)],'comments':_0x500d82[_0xcf51fc(0x20e)][_0xcf51fc(0x247)](p),'context':_0x500d82[_0xcf51fc(0x215)],'resolvedAt':_0x500d82[_0xcf51fc(0x245)],'resolvedBy':_0x500d82[_0xcf51fc(0x212)],'attributes':_0x500d82[_0xcf51fc(0x1f6)]||{}});},'updateCommentThread':async({channelId:_0x30d459,threadId:_0x30f71a,context:_0x3c79f6,unlinkedAt:_0x523c14,attributes:_0x3e5122})=>this[_0x255197(0x216)](_0x30d459)[_0x255197(0x238)]({'commentThreadId':_0x30f71a,'context':_0x3c79f6,'attributes':_0x3e5122,'unlinkedAt':_0x523c14})[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'resolveCommentThread':async({channelId:_0x108110,threadId:_0x35286a})=>{const _0x5992f1=_0x255197,_0x4ae520=await this[_0x5992f1(0x216)](_0x108110)[_0x5992f1(0x1ea)](_0x35286a)[_0x5992f1(0x1ef)](v)[_0x5992f1(0x1ef)](A);return{'threadId':_0x4ae520[_0x5992f1(0x208)],'resolvedAt':_0x4ae520[_0x5992f1(0x245)],'resolvedBy':_0x4ae520[_0x5992f1(0x212)]};},'reopenCommentThread':async({channelId:_0xf0ef75,threadId:_0x19f456})=>this[_0x255197(0x216)](_0xf0ef75)[_0x255197(0x231)](_0x19f456)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeCommentThread':({channelId:_0x2c0ae7,threadId:_0x3b8131})=>this[_0x255197(0x216)](_0x2c0ae7)[_0x255197(0x229)](_0x3b8131)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'addComment':({channelId:_0x2a0700,threadId:_0xb45512,commentId:_0x1981cb,content:_0x2822c1,attributes:_0x1fce3f})=>this[_0x255197(0x216)](_0x2a0700)[_0x255197(0x24c)](_0xb45512,_0x1981cb,_0x2822c1,_0x1fce3f)[_0x255197(0x1ef)](A),'updateComment':({channelId:_0xf883ff,threadId:_0x50e842,commentId:_0x519611,content:_0x9f4dd9,attributes:_0x5119a5})=>this[_0x255197(0x216)](_0xf883ff)[_0x255197(0x1ed)](_0x50e842,_0x519611,_0x9f4dd9,_0x5119a5)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeComment':({channelId:_0x525af8,threadId:_0x1b2e82,commentId:_0x2a44f1})=>this[_0x255197(0x216)](_0x525af8)[_0x255197(0x1f9)](_0x1b2e82,_0x2a44f1)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A)},_0x31d221 instanceof _0x24a958){const _0x3949c9=_0x31d221[_0x255197(0x1fa)][_0x255197(0x220)](_0x255197(0x1ee)),_0xb3d683=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x46f592);await this[_0x255197(0x1ec)](_0x3949c9);const _0x5c28de=await this[_0x255197(0x22d)][_0x255197(0x220)](_0x3949c9)[_0x255197(0x1e9)]();this[_0x255197(0x21d)](_0xb3d683,_0x255197(0x203)+_0x3949c9,(_0x10a7f5,{session:_0x10e0c2})=>{const _0x3d9f74=_0x255197;_0x10e0c2['id']===_0xb3d683[_0x3d9f74(0x22a)]&&(_0x10a7f5[_0x3d9f74(0x235)](),this[_0x3d9f74(0x215)][_0x3d9f74(0x249)][_0x3d9f74(0x220)](_0x3d9f74(0x233))[_0x3d9f74(0x1f7)](_0x10e0c2[_0x3d9f74(0x20f)],_0x3949c9));}),_0xb3d683[_0x255197(0x1f5)](_0x3949c9,_0x5c28de);}}async[_0x36719e(0x1ec)](_0xb79498){const _0x7e1f94=_0x36719e;if(this[_0x7e1f94(0x22d)][_0x7e1f94(0x232)](_0xb79498))throw new _0x18cbd9(_0x7e1f94(0x243),null,{'channelId':_0xb79498});const _0x396bae=this[_0x7e1f94(0x215)][_0x7e1f94(0x249)][_0x7e1f94(0x220)](_0x7e1f94(0x211)),_0x214295=new s[(_0x7e1f94(0x214))](_0xb79498);this[_0x7e1f94(0x22d)][_0x7e1f94(0x24b)](_0xb79498,_0x214295),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x225),(_0x2c7627,_0x38e4f4)=>{const _0x1b8958=_0x7e1f94,{commentThreadId:_0x2f986c,documentId:_0x596e26,context:_0xba2b5b,attributes:_0x145351,resolvedAt:_0x5792c2,resolvedBy:_0x13667,comments:_0x1793e1}=_0x38e4f4;_0x396bae[_0x1b8958(0x20c)](_0x2f986c)||_0x396bae[_0x1b8958(0x219)]({'threadId':_0x2f986c,'channelId':_0x596e26,'comments':_0x1793e1?_0x1793e1[_0x1b8958(0x247)](p):[],'context':_0xba2b5b,'attributes':_0x145351,'resolvedAt':_0x5792c2,'resolvedBy':_0x13667,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x207),(_0x37f002,{commentThreadId:_0x3e6be0,documentId:_0x199086,context:_0x570f03,unlinkedAt:_0x210398,attributes:_0x307ae7})=>{const _0x528c0a=_0x7e1f94;_0x396bae[_0x528c0a(0x20c)](_0x3e6be0)&&_0x396bae[_0x528c0a(0x238)]({'threadId':_0x3e6be0,'channelId':_0x199086,'context':_0x570f03,'unlinkedAt':_0x210398,'attributes':_0x307ae7,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23b),(_0x2c944d,{commentThreadId:_0x12984a,resolvedBy:_0x58512b,resolvedAt:_0x43b76d})=>{const _0x32adda=_0x7e1f94,_0x3c16e4=_0x396bae[_0x32adda(0x20c)](_0x12984a);_0x3c16e4&&_0x3c16e4[_0x32adda(0x210)]({'resolvedBy':_0x58512b,'resolvedAt':_0x43b76d,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fd),(_0x5ffd78,{commentThreadId:_0x128d65})=>{const _0x3ca243=_0x7e1f94,_0x133118=_0x396bae[_0x3ca243(0x20c)](_0x128d65);_0x133118&&_0x133118[_0x3ca243(0x236)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23a),(_0xd02963,{commentThreadId:_0x539ec1})=>{const _0x2515da=_0x7e1f94,_0x4a8a25=_0x396bae[_0x2515da(0x20c)](_0x539ec1);_0x4a8a25&&_0x4a8a25[_0x2515da(0x218)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fc),(_0x5cda7d,_0x57cb8d)=>{const _0x48ee42=_0x7e1f94,_0x2b6dc0=_0x57cb8d[_0x48ee42(0x208)],_0x3ea7ae=_0x396bae[_0x48ee42(0x20c)](_0x2b6dc0);_0x3ea7ae&&_0x3ea7ae[_0x48ee42(0x24c)]({...p(_0x57cb8d),'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x24d),(_0x56fcf4,{commentThreadId:_0x2e1eb2,commentId:_0x3055ad,content:_0x5115cb,attributes:_0x4b5498})=>{const _0x2eb6f0=_0x7e1f94,_0x24b364=_0x396bae[_0x2eb6f0(0x20c)](_0x2e1eb2);if(_0x24b364){const _0x278aee=_0x24b364[_0x2eb6f0(0x23c)](_0x3055ad);_0x278aee&&_0x278aee[_0x2eb6f0(0x20b)]({'content':_0x5115cb,'attributes':_0x4b5498,'isFromAdapter':!0x0});}}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x204),(_0x478c96,{commentThreadId:_0x4edb65,commentId:_0x37ae9d})=>{const _0x38dfdb=_0x7e1f94,_0x4239b2=_0x396bae[_0x38dfdb(0x20c)](_0x4edb65);if(_0x4239b2){const _0x48c7e1=_0x4239b2[_0x38dfdb(0x23c)](_0x37ae9d);_0x48c7e1&&_0x48c7e1[_0x38dfdb(0x218)]({'isFromAdapter':!0x0});}}),await this[_0x7e1f94(0x24a)](_0xb79498);}[_0x36719e(0x234)](){const _0x189248=_0x36719e;if(this[_0x189248(0x215)]instanceof _0x24a958){const _0x333891=this[_0x189248(0x215)][_0x189248(0x1fa)][_0x189248(0x220)](_0x189248(0x1ee));this[_0x189248(0x21c)](_0x333891);}}[_0x36719e(0x21c)](_0x27fba5){const _0x1937d3=_0x36719e;if(!this[_0x1937d3(0x22d)][_0x1937d3(0x232)](_0x27fba5))throw new _0x18cbd9(_0x1937d3(0x227),null,{'channelId':_0x27fba5});this[_0x1937d3(0x216)](_0x27fba5)[_0x1937d3(0x1f1)](),this[_0x1937d3(0x22d)][_0x1937d3(0x248)](_0x27fba5);}async[_0x36719e(0x22c)](){const _0x45dc07=_0x36719e;for(const _0x531fc0 of this[_0x45dc07(0x22d)][_0x45dc07(0x1f3)]())await this[_0x45dc07(0x24a)](_0x531fc0);if(this[_0x45dc07(0x215)]instanceof _0x24a958){const _0x171021=this[_0x45dc07(0x215)][_0x45dc07(0x1fa)][_0x45dc07(0x220)](_0x45dc07(0x1ee)),_0x279ddc=this[_0x45dc07(0x215)][_0x45dc07(0x249)][_0x45dc07(0x220)](_0x46f592);_0x279ddc[_0x45dc07(0x239)](_0x171021);const _0x1e17b5=await this[_0x45dc07(0x22d)][_0x45dc07(0x220)](_0x171021)[_0x45dc07(0x1e9)]();_0x279ddc[_0x45dc07(0x1f5)](_0x171021,_0x1e17b5);}}async[_0x36719e(0x24a)](_0x17f4c7){const _0x49d0a7=_0x36719e,{connection:_0x4c9d93}=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x5c2b68),_0x3db33d=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x49d0a7(0x211)),_0x32a5c5=this[_0x49d0a7(0x22d)][_0x49d0a7(0x220)](_0x17f4c7),_0x69c840=await _0x32a5c5[_0x49d0a7(0x1eb)](_0x4c9d93);await this[_0x49d0a7(0x1fb)](_0x69c840);const _0x1731e8=new Set(Array[_0x49d0a7(0x21a)](_0x3db33d[_0x49d0a7(0x201)]({'channelId':_0x17f4c7}),_0x300a0d=>_0x300a0d['id']));for(const _0x41aee1 of _0x69c840)_0x41aee1[_0x49d0a7(0x242)]||_0x1731e8[_0x49d0a7(0x248)](_0x41aee1[_0x49d0a7(0x208)]);for(const _0xebb27 of _0x1731e8)_0x3db33d[_0x49d0a7(0x20c)](_0xebb27)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x34500c of _0x69c840){let _0x13f7df=_0x3db33d[_0x49d0a7(0x20c)](_0x34500c[_0x49d0a7(0x208)]);const {commentThreadId:_0x2af6c9,context:_0x418221,attributes:_0x46c4e5,resolvedBy:_0x479299,resolvedAt:_0xa181b1,unlinkedAt:_0x3fc922,deletedAt:_0x101dc5}=_0x34500c;if(_0x101dc5)continue;_0x13f7df||(_0x13f7df=_0x3db33d[_0x49d0a7(0x219)]({'channelId':_0x17f4c7,'threadId':_0x2af6c9,'context':_0x418221,'attributes':_0x46c4e5||{},'resolvedBy':_0x479299,'resolvedAt':_0xa181b1,'unlinkedAt':_0x3fc922,'isFromAdapter':!0x0}));const _0x2e823a=new Set(Array[_0x49d0a7(0x21a)](_0x13f7df[_0x49d0a7(0x20e)],_0x241a58=>_0x241a58['id']));for(const _0x4701f9 of _0x34500c[_0x49d0a7(0x20e)])_0x2e823a[_0x49d0a7(0x248)](_0x4701f9[_0x49d0a7(0x222)]);for(const _0x44de6c of _0x2e823a)_0x13f7df[_0x49d0a7(0x23c)](_0x44de6c)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x466f01 of _0x34500c[_0x49d0a7(0x20e)]){const _0x15c609=_0x13f7df[_0x49d0a7(0x23c)](_0x466f01[_0x49d0a7(0x222)]);_0x15c609?_0x15c609[_0x49d0a7(0x1f0)]!==_0x466f01[_0x49d0a7(0x1f0)]&&_0x15c609[_0x49d0a7(0x20b)]({'content':_0x466f01[_0x49d0a7(0x1f0)],'isFromAdapter':!0x0}):_0x13f7df[_0x49d0a7(0x24c)](Object[_0x49d0a7(0x244)](p(_0x466f01),{'isFromAdapter':!0x0}));}}}[_0x36719e(0x216)](_0x47672c){const _0x3d4adf=_0x36719e;if(!this[_0x3d4adf(0x22d)][_0x3d4adf(0x232)](_0x47672c))throw new _0x18cbd9(_0x3d4adf(0x1fe),null,{'channelId':_0x47672c});return this[_0x3d4adf(0x22d)][_0x3d4adf(0x220)](_0x47672c);}async[_0x36719e(0x1fb)](_0x2ecbf5){const _0x29561b=_0x36719e,_0x5bba47=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0xa7afd6),{connection:_0x15146f}=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0x5c2b68),_0x33bd8d=new Set();for(const {resolvedBy:_0x21d167,comments:_0xb10ef1}of _0x2ecbf5){_0x21d167&&!_0x5bba47[_0x29561b(0x246)](_0x21d167)&&_0x33bd8d[_0x29561b(0x20d)](_0x21d167);for(const {userId:_0x42e3fc}of _0xb10ef1)_0x5bba47[_0x29561b(0x246)](_0x42e3fc)||_0x33bd8d[_0x29561b(0x20d)](_0x42e3fc);}if(0x0===_0x33bd8d[_0x29561b(0x1e6)])return;const _0x2c9525=await _0x32e914[_0x29561b(0x1e7)](_0x15146f,Array[_0x29561b(0x21a)](_0x33bd8d));for(const _0x8bccf of _0x2c9525)_0x5bba47[_0x29561b(0x246)](_0x8bccf['id'])||_0x5bba47[_0x29561b(0x23e)](_0x8bccf);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39cea7){const _0x470f70=_0x36719e;if(_0x470f70(0x1e8)!==_0x39cea7[_0x470f70(0x21b)])throw _0x39cea7;}function A(_0x92ee4){const _0x3c7f7b=_0x36719e;if((_0x30918b=_0x92ee4)[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x205))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x241))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x22b)))return new Promise(()=>{});var _0x30918b;throw _0x92ee4;}function _0x21e5(_0x376a59,_0x123784){const _0x2e6bbd=_0x2e6b();return _0x21e5=function(_0x21e52c,_0x2c42d5){_0x21e52c=_0x21e52c-0x1e6;let _0x477f23=_0x2e6bbd[_0x21e52c];return _0x477f23;},_0x21e5(_0x376a59,_0x123784);}function p(_0x16e977){const _0x5679c8=_0x36719e;return{'threadId':_0x16e977[_0x5679c8(0x208)],'commentId':_0x16e977[_0x5679c8(0x222)],'content':_0x16e977[_0x5679c8(0x1f0)],'createdAt':_0x16e977[_0x5679c8(0x221)],'authorId':_0x16e977[_0x5679c8(0x202)],'attributes':_0x16e977[_0x5679c8(0x1f6)]||{}};}
23
+ const _0xd8dfbe=_0x201c;(function(_0x52913c,_0xd840d8){const _0x45a3fb=_0x201c,_0x55961b=_0x52913c();while(!![]){try{const _0x56677b=parseInt(_0x45a3fb(0xd2))/0x1*(-parseInt(_0x45a3fb(0xe9))/0x2)+parseInt(_0x45a3fb(0xdf))/0x3*(-parseInt(_0x45a3fb(0xe1))/0x4)+-parseInt(_0x45a3fb(0xb3))/0x5*(parseInt(_0x45a3fb(0xc8))/0x6)+parseInt(_0x45a3fb(0xc4))/0x7+-parseInt(_0x45a3fb(0xc9))/0x8*(-parseInt(_0x45a3fb(0xa0))/0x9)+parseInt(_0x45a3fb(0x9f))/0xa*(-parseInt(_0x45a3fb(0xae))/0xb)+parseInt(_0x45a3fb(0xaa))/0xc;if(_0x56677b===_0xd840d8)break;else _0x55961b['push'](_0x55961b['shift']());}catch(_0x55644f){_0x55961b['push'](_0x55961b['shift']());}}}(_0x2b43,0xe4666));import{Context as _0x3f8c10,ContextPlugin as _0x3b71fe}from'ckeditor5/src/core.js';function _0x2b43(){const _0x38f0dd=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','message','content','comments','removeCommentThread','cloudservicescommentsadapter-connect-already-connected','isOfficialPlugin','commentThreadRemoved','assign','resolvedBy','10149220NNmAuf','9VJYppm','404','map','isPremiumPlugin','adapter','listenTo','_fetchMissingUsersForThreads','catch','CommentsRepository','reopenCommentThread','55864104YMFrpY','plugins','resolvedAt','addUser','11rzAarU','CommentsService','startsWith','getCommentThreads','addCommentThread','2365agOabq','disconnect','sessionAdd:','size','unregister','updateCommentThread','resolve','pluginName','destroy','commentUpdated','has','off','setPermissions','_connectService','deletedAt','getCommentThread','userId','386239aPZmvy','code','commentRemoved','commentThreadResolved','15366xMXjFX','222752qCouOh','collaboration.channelId','cloudservicescommentsadapter-service-not-exist','attributes','keys','mySessionId','cloudservicescommentsadapter-disconnect-not-exist','remove','context','41xZnlmU','requires','from','cloud-services-internal-error:\x20Not\x20connected.','getUser','config','connect','getMany','addComment','init','register','CloudServicesCommentsAdapter','set','6SVCrYr','resolveCommentThread','1899836nQWFfh','_getService','getComment','_terminateService','permissions','createdAt','delete','reconnect','30568PeKBPY','updateComment','getConnectedSessions','commentId','update','_setUpService','Permissions','commentAdded','removeComment','addToReconnectionStack','authorId','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','add','_services','commentThreadUpdated','commentThreadId','reopen','commentThreadReopened','get'];_0x2b43=function(){return _0x38f0dd;};return _0x2b43();}import{CKEditorError as _0x3f68c6}from'ckeditor5/src/utils.js';import{Users as _0x300da8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x446357,User as _0x595538}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1c6b68}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x111e70}from'../realtimecollaborativeediting/sessions.js';class s extends _0x3b71fe{static [_0xd8dfbe(0xaf)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x446357)());[_0xd8dfbe(0xf7)];static get[_0xd8dfbe(0xd3)](){const _0x53dd05=_0xd8dfbe;return[_0x1c6b68,_0x53dd05(0xa8),_0x111e70,_0x300da8];}static get[_0xd8dfbe(0xba)](){const _0x5aff13=_0xd8dfbe;return _0x5aff13(0xdd);}static get[_0xd8dfbe(0x9b)](){return!0x0;}static get[_0xd8dfbe(0xa3)](){return!0x0;}constructor(_0xc4626a){const _0xfe19d7=_0xd8dfbe;super(_0xc4626a),this[_0xfe19d7(0xf7)]=new Map();}async[_0xd8dfbe(0xdb)](){const _0x4acd8f=_0xd8dfbe,_0x106fae=this[_0x4acd8f(0xd1)],_0x4af312=_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x4acd8f(0xa8));if(_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x1c6b68)[_0x4acd8f(0xf2)](this),_0x4af312[_0x4acd8f(0xa4)]={'addCommentThread':async({channelId:_0x2adae4,threadId:_0x481469,comments:_0x2a7330,resolvedAt:_0x14afc3,resolvedBy:_0x594c4f,context:_0x343faf,attributes:_0x455ad8})=>{const _0x193f91=_0x4acd8f,_0x4d1750=await this[_0x193f91(0xe2)](_0x2adae4)[_0x193f91(0xb2)]({'commentThreadId':_0x481469,'comments':_0x2a7330[_0x193f91(0xa2)](_0x4e6d25=>function(_0x5c4e88,_0x3f70f3,_0x4ccdd1){const _0x23d997=_0x193f91;return{'commentThreadId':_0x4ccdd1,'commentId':_0x5c4e88[_0x23d997(0xec)],'userId':_0x5c4e88[_0x23d997(0xf3)],'content':_0x5c4e88[_0x23d997(0x97)],'documentId':_0x3f70f3,'createdAt':_0x5c4e88[_0x23d997(0xe6)],'attributes':_0x5c4e88[_0x23d997(0xcc)]||{}};}(_0x4e6d25,_0x2adae4,_0x481469)),'resolvedAt':_0x14afc3,'resolvedBy':_0x594c4f,'context':_0x343faf,'attributes':_0x455ad8})[_0x193f91(0xa7)](it);return{'threadId':_0x4d1750[_0x193f91(0xf9)],'comments':_0x4d1750[_0x193f91(0x98)]};},'getCommentThread':async({channelId:_0x1249a7,threadId:_0x3ee850})=>{const _0x274893=_0x4acd8f,_0x585d19=await this[_0x274893(0xe2)](_0x1249a7)[_0x274893(0xc2)](_0x3ee850)[_0x274893(0xa7)](it);return _0x585d19[_0x274893(0xc1)]?null:(await this[_0x274893(0xa6)]([_0x585d19]),{'threadId':_0x585d19[_0x274893(0xf9)],'comments':_0x585d19[_0x274893(0x98)][_0x274893(0xa2)](st),'context':_0x585d19[_0x274893(0xd1)],'resolvedAt':_0x585d19[_0x274893(0xac)],'resolvedBy':_0x585d19[_0x274893(0x9e)],'attributes':_0x585d19[_0x274893(0xcc)]||{}});},'updateCommentThread':async({channelId:_0x1042db,threadId:_0x1bac32,context:_0x5c7c3d,unlinkedAt:_0x1d044d,attributes:_0x328fa8})=>this[_0x4acd8f(0xe2)](_0x1042db)[_0x4acd8f(0xb8)]({'commentThreadId':_0x1bac32,'context':_0x5c7c3d,'attributes':_0x328fa8,'unlinkedAt':_0x1d044d})[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'resolveCommentThread':async({channelId:_0xfb3d8c,threadId:_0x46c7df})=>{const _0x4f94c9=_0x4acd8f,_0xba3332=await this[_0x4f94c9(0xe2)](_0xfb3d8c)[_0x4f94c9(0xe0)](_0x46c7df)[_0x4f94c9(0xa7)](nt)[_0x4f94c9(0xa7)](it);return{'threadId':_0xba3332[_0x4f94c9(0xf9)],'resolvedAt':_0xba3332[_0x4f94c9(0xac)],'resolvedBy':_0xba3332[_0x4f94c9(0x9e)]};},'reopenCommentThread':async({channelId:_0x4e8910,threadId:_0x11d21e})=>this[_0x4acd8f(0xe2)](_0x4e8910)[_0x4acd8f(0xa9)](_0x11d21e)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'removeCommentThread':({channelId:_0x1cf5b5,threadId:_0x46e243})=>this[_0x4acd8f(0xe2)](_0x1cf5b5)[_0x4acd8f(0x99)](_0x46e243)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'addComment':({channelId:_0xcd0018,threadId:_0x2b62ae,commentId:_0x57ca9e,content:_0x54f29b,attributes:_0x214f19})=>this[_0x4acd8f(0xe2)](_0xcd0018)[_0x4acd8f(0xda)](_0x2b62ae,_0x57ca9e,_0x54f29b,_0x214f19)[_0x4acd8f(0xa7)](it),'updateComment':({channelId:_0x255161,threadId:_0x2874ce,commentId:_0x8a8315,content:_0x2432f4,attributes:_0x488860})=>this[_0x4acd8f(0xe2)](_0x255161)[_0x4acd8f(0xea)](_0x2874ce,_0x8a8315,_0x2432f4,_0x488860)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'removeComment':({channelId:_0x13a8dd,threadId:_0x4c97bb,commentId:_0x116790})=>this[_0x4acd8f(0xe2)](_0x13a8dd)[_0x4acd8f(0xf1)](_0x4c97bb,_0x116790)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it)},_0x106fae instanceof _0x3f8c10){const _0x1464ce=_0x106fae[_0x4acd8f(0xd7)][_0x4acd8f(0xfc)](_0x4acd8f(0xca)),_0x5d1325=_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x111e70);await this[_0x4acd8f(0xee)](_0x1464ce);const _0x2e75b9=await this[_0x4acd8f(0xf7)][_0x4acd8f(0xfc)](_0x1464ce)[_0x4acd8f(0xeb)]();this[_0x4acd8f(0xa5)](_0x5d1325,_0x4acd8f(0xb5)+_0x1464ce,(_0xc61686,{session:_0x7ce8ec})=>{const _0x3cef4a=_0x4acd8f;_0x7ce8ec['id']===_0x5d1325[_0x3cef4a(0xce)]&&(_0xc61686[_0x3cef4a(0xbe)](),this[_0x3cef4a(0xd1)][_0x3cef4a(0xab)][_0x3cef4a(0xfc)](_0x3cef4a(0xef))[_0x3cef4a(0xbf)](_0x7ce8ec[_0x3cef4a(0xe5)],_0x1464ce));}),_0x5d1325[_0x4acd8f(0xdc)](_0x1464ce,_0x2e75b9);}}async[_0xd8dfbe(0xee)](_0x10f20a){const _0x3991e7=_0xd8dfbe;if(this[_0x3991e7(0xf7)][_0x3991e7(0xbd)](_0x10f20a))throw new _0x3f68c6(_0x3991e7(0x9a),null,{'channelId':_0x10f20a});const _0x195ba3=this[_0x3991e7(0xd1)][_0x3991e7(0xab)][_0x3991e7(0xfc)](_0x3991e7(0xa8)),_0x3dcf37=new s[(_0x3991e7(0xaf))](_0x10f20a);this[_0x3991e7(0xf7)][_0x3991e7(0xde)](_0x10f20a,_0x3dcf37),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf4),(_0x1143c3,_0x195eb4)=>{const _0x4a0673=_0x3991e7,{commentThreadId:_0x559805,documentId:_0x160024,context:_0x10bbc5,attributes:_0x1cba9d,resolvedAt:_0x211fa8,resolvedBy:_0x370256,comments:_0x412311}=_0x195eb4;_0x195ba3[_0x4a0673(0xc2)](_0x559805)||_0x195ba3[_0x4a0673(0xb2)]({'threadId':_0x559805,'channelId':_0x160024,'comments':_0x412311?_0x412311[_0x4a0673(0xa2)](st):[],'context':_0x10bbc5,'attributes':_0x1cba9d,'resolvedAt':_0x211fa8,'resolvedBy':_0x370256,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf8),(_0x4db06e,{commentThreadId:_0x44f0bf,documentId:_0x45a3a1,context:_0x3453af,unlinkedAt:_0x8a6823,attributes:_0x3aa39e})=>{const _0x57f128=_0x3991e7;_0x195ba3[_0x57f128(0xc2)](_0x44f0bf)&&_0x195ba3[_0x57f128(0xb8)]({'threadId':_0x44f0bf,'channelId':_0x45a3a1,'context':_0x3453af,'unlinkedAt':_0x8a6823,'attributes':_0x3aa39e,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xc7),(_0x3971d4,{commentThreadId:_0xd7ad83,resolvedBy:_0x41a27a,resolvedAt:_0x57d8d6})=>{const _0x14f5c6=_0x3991e7,_0x20081e=_0x195ba3[_0x14f5c6(0xc2)](_0xd7ad83);_0x20081e&&_0x20081e[_0x14f5c6(0xb9)]({'resolvedBy':_0x41a27a,'resolvedAt':_0x57d8d6,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xfb),(_0x534f5d,{commentThreadId:_0x5a709a})=>{const _0x1d72a5=_0x3991e7,_0x4b3d14=_0x195ba3[_0x1d72a5(0xc2)](_0x5a709a);_0x4b3d14&&_0x4b3d14[_0x1d72a5(0xfa)]({'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0x9c),(_0x34819c,{commentThreadId:_0x3bc3e2})=>{const _0x13791e=_0x3991e7,_0x2df891=_0x195ba3[_0x13791e(0xc2)](_0x3bc3e2);_0x2df891&&_0x2df891[_0x13791e(0xd0)]({'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf0),(_0x2863c0,_0x473615)=>{const _0x1cf171=_0x3991e7,_0xa2533f=_0x473615[_0x1cf171(0xf9)],_0x4e3bae=_0x195ba3[_0x1cf171(0xc2)](_0xa2533f);_0x4e3bae&&_0x4e3bae[_0x1cf171(0xda)]({...st(_0x473615),'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xbc),(_0x296c09,{commentThreadId:_0x106713,commentId:_0x239db0,content:_0xf4fce8,attributes:_0x20cbb4})=>{const _0x57742c=_0x3991e7,_0x361437=_0x195ba3[_0x57742c(0xc2)](_0x106713);if(_0x361437){const _0x13fee3=_0x361437[_0x57742c(0xe3)](_0x239db0);_0x13fee3&&_0x13fee3[_0x57742c(0xed)]({'content':_0xf4fce8,'attributes':_0x20cbb4,'isFromAdapter':!0x0});}}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xc6),(_0x42ef9b,{commentThreadId:_0x3ba3f0,commentId:_0x33ec2c})=>{const _0x4b3f32=_0x3991e7,_0x49cda5=_0x195ba3[_0x4b3f32(0xc2)](_0x3ba3f0);if(_0x49cda5){const _0x31ca66=_0x49cda5[_0x4b3f32(0xe3)](_0x33ec2c);_0x31ca66&&_0x31ca66[_0x4b3f32(0xd0)]({'isFromAdapter':!0x0});}}),await this[_0x3991e7(0xc0)](_0x10f20a);}[_0xd8dfbe(0xbb)](){const _0x22e893=_0xd8dfbe;if(this[_0x22e893(0xd1)]instanceof _0x3f8c10){const _0x1da7fc=this[_0x22e893(0xd1)][_0x22e893(0xd7)][_0x22e893(0xfc)](_0x22e893(0xca));this[_0x22e893(0xe4)](_0x1da7fc);}}[_0xd8dfbe(0xe4)](_0x2181b1){const _0x3a9394=_0xd8dfbe;if(!this[_0x3a9394(0xf7)][_0x3a9394(0xbd)](_0x2181b1))throw new _0x3f68c6(_0x3a9394(0xcf),null,{'channelId':_0x2181b1});this[_0x3a9394(0xe2)](_0x2181b1)[_0x3a9394(0xb4)](),this[_0x3a9394(0xf7)][_0x3a9394(0xe7)](_0x2181b1);}async[_0xd8dfbe(0xe8)](){const _0x554dcc=_0xd8dfbe;for(const _0x448a80 of this[_0x554dcc(0xf7)][_0x554dcc(0xcd)]())await this[_0x554dcc(0xc0)](_0x448a80);if(this[_0x554dcc(0xd1)]instanceof _0x3f8c10){const _0x1108a9=this[_0x554dcc(0xd1)][_0x554dcc(0xd7)][_0x554dcc(0xfc)](_0x554dcc(0xca)),_0x1ea3ab=this[_0x554dcc(0xd1)][_0x554dcc(0xab)][_0x554dcc(0xfc)](_0x111e70);_0x1ea3ab[_0x554dcc(0xb7)](_0x1108a9);const _0x5192fc=await this[_0x554dcc(0xf7)][_0x554dcc(0xfc)](_0x1108a9)[_0x554dcc(0xeb)]();_0x1ea3ab[_0x554dcc(0xdc)](_0x1108a9,_0x5192fc);}}async[_0xd8dfbe(0xc0)](_0x275f3a){const _0x2ec8aa=_0xd8dfbe,{connection:_0x193933}=this[_0x2ec8aa(0xd1)][_0x2ec8aa(0xab)][_0x2ec8aa(0xfc)](_0x1c6b68),_0x530f94=this[_0x2ec8aa(0xd1)][_0x2ec8aa(0xab)][_0x2ec8aa(0xfc)](_0x2ec8aa(0xa8)),_0x53c102=this[_0x2ec8aa(0xf7)][_0x2ec8aa(0xfc)](_0x275f3a),_0x1bd758=await _0x53c102[_0x2ec8aa(0xd8)](_0x193933);await this[_0x2ec8aa(0xa6)](_0x1bd758);const _0x5ca2a2=new Set(Array[_0x2ec8aa(0xd4)](_0x530f94[_0x2ec8aa(0xb1)]({'channelId':_0x275f3a}),_0x188d9f=>_0x188d9f['id']));for(const _0x596735 of _0x1bd758)_0x596735[_0x2ec8aa(0xc1)]||_0x5ca2a2[_0x2ec8aa(0xe7)](_0x596735[_0x2ec8aa(0xf9)]);for(const _0x1fb9b1 of _0x5ca2a2)_0x530f94[_0x2ec8aa(0xc2)](_0x1fb9b1)[_0x2ec8aa(0xd0)]({'isFromAdapter':!0x0});for(const _0x504958 of _0x1bd758){let _0x59a5c6=_0x530f94[_0x2ec8aa(0xc2)](_0x504958[_0x2ec8aa(0xf9)]);const {commentThreadId:_0x255ab7,context:_0x1769ed,attributes:_0x1f155c,resolvedBy:_0x2b548d,resolvedAt:_0x6aabec,unlinkedAt:_0x422ce3,deletedAt:_0x31a43d}=_0x504958;if(_0x31a43d)continue;_0x59a5c6||(_0x59a5c6=_0x530f94[_0x2ec8aa(0xb2)]({'channelId':_0x275f3a,'threadId':_0x255ab7,'context':_0x1769ed,'attributes':_0x1f155c||{},'resolvedBy':_0x2b548d,'resolvedAt':_0x6aabec,'unlinkedAt':_0x422ce3,'isFromAdapter':!0x0}));const _0x439ca5=new Set(Array[_0x2ec8aa(0xd4)](_0x59a5c6[_0x2ec8aa(0x98)],_0x542d7a=>_0x542d7a['id']));for(const _0xd3a586 of _0x504958[_0x2ec8aa(0x98)])_0x439ca5[_0x2ec8aa(0xe7)](_0xd3a586[_0x2ec8aa(0xec)]);for(const _0x2d8129 of _0x439ca5)_0x59a5c6[_0x2ec8aa(0xe3)](_0x2d8129)[_0x2ec8aa(0xd0)]({'isFromAdapter':!0x0});for(const _0x1a2afb of _0x504958[_0x2ec8aa(0x98)]){const _0x5056dd=_0x59a5c6[_0x2ec8aa(0xe3)](_0x1a2afb[_0x2ec8aa(0xec)]);_0x5056dd?_0x5056dd[_0x2ec8aa(0x97)]!==_0x1a2afb[_0x2ec8aa(0x97)]&&_0x5056dd[_0x2ec8aa(0xed)]({'content':_0x1a2afb[_0x2ec8aa(0x97)],'isFromAdapter':!0x0}):_0x59a5c6[_0x2ec8aa(0xda)](Object[_0x2ec8aa(0x9d)](st(_0x1a2afb),{'isFromAdapter':!0x0}));}}}[_0xd8dfbe(0xe2)](_0x371da2){const _0x3e2180=_0xd8dfbe;if(!this[_0x3e2180(0xf7)][_0x3e2180(0xbd)](_0x371da2))throw new _0x3f68c6(_0x3e2180(0xcb),null,{'channelId':_0x371da2});return this[_0x3e2180(0xf7)][_0x3e2180(0xfc)](_0x371da2);}async[_0xd8dfbe(0xa6)](_0x1f73fb){const _0x2f41e5=_0xd8dfbe,_0x3b8176=this[_0x2f41e5(0xd1)][_0x2f41e5(0xab)][_0x2f41e5(0xfc)](_0x300da8),{connection:_0x4c8cec}=this[_0x2f41e5(0xd1)][_0x2f41e5(0xab)][_0x2f41e5(0xfc)](_0x1c6b68),_0x2b3d8d=new Set();for(const {resolvedBy:_0x3057d3,comments:_0x407b6f}of _0x1f73fb){_0x3057d3&&!_0x3b8176[_0x2f41e5(0xd6)](_0x3057d3)&&_0x2b3d8d[_0x2f41e5(0xf6)](_0x3057d3);for(const {userId:_0x3ed13a}of _0x407b6f)_0x3b8176[_0x2f41e5(0xd6)](_0x3ed13a)||_0x2b3d8d[_0x2f41e5(0xf6)](_0x3ed13a);}if(0x0===_0x2b3d8d[_0x2f41e5(0xb6)])return;const _0x2e830f=await _0x595538[_0x2f41e5(0xd9)](_0x4c8cec,Array[_0x2f41e5(0xd4)](_0x2b3d8d));for(const _0x1735a6 of _0x2e830f)_0x3b8176[_0x2f41e5(0xd6)](_0x1735a6['id'])||_0x3b8176[_0x2f41e5(0xad)](_0x1735a6);}}export{s as CloudServicesCommentsAdapter};function _0x201c(_0x1e38fb,_0xe0bed4){const _0x2b43ff=_0x2b43();return _0x201c=function(_0x201c2e,_0x22f16d){_0x201c2e=_0x201c2e-0x97;let _0x42bceb=_0x2b43ff[_0x201c2e];return _0x42bceb;},_0x201c(_0x1e38fb,_0xe0bed4);}async function nt(_0x131994){const _0x20b02e=_0xd8dfbe;if(_0x20b02e(0xa1)!==_0x131994[_0x20b02e(0xc5)])throw _0x131994;}function it(_0x547727){const _0x543e60=_0xd8dfbe;if((_0x12737c=_0x547727)[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xfd))||_0x12737c[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xd5))||_0x12737c[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xf5)))return new Promise(()=>{});var _0x12737c;throw _0x547727;}function st(_0xcff636){const _0x1a8183=_0xd8dfbe;return{'threadId':_0xcff636[_0x1a8183(0xf9)],'commentId':_0xcff636[_0x1a8183(0xec)],'content':_0xcff636[_0x1a8183(0x97)],'createdAt':_0xcff636[_0x1a8183(0xe6)],'authorId':_0xcff636[_0x1a8183(0xc3)],'attributes':_0xcff636[_0x1a8183(0xcc)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d76fe=_0x32dc;(function(_0x73d3eb,_0x59897b){const _0x5635a4=_0x32dc,_0x2aa510=_0x73d3eb();while(!![]){try{const _0x4a79ed=-parseInt(_0x5635a4(0x15c))/0x1*(parseInt(_0x5635a4(0x165))/0x2)+-parseInt(_0x5635a4(0x159))/0x3*(-parseInt(_0x5635a4(0x171))/0x4)+parseInt(_0x5635a4(0x170))/0x5*(parseInt(_0x5635a4(0x16f))/0x6)+-parseInt(_0x5635a4(0x152))/0x7*(parseInt(_0x5635a4(0x168))/0x8)+-parseInt(_0x5635a4(0x16a))/0x9+parseInt(_0x5635a4(0x14e))/0xa*(parseInt(_0x5635a4(0x160))/0xb)+parseInt(_0x5635a4(0x163))/0xc*(parseInt(_0x5635a4(0x172))/0xd);if(_0x4a79ed===_0x59897b)break;else _0x2aa510['push'](_0x2aa510['shift']());}catch(_0x3492a6){_0x2aa510['push'](_0x2aa510['shift']());}}}(_0x6dfa,0x6ee83));import{Plugin as _0x4a7e79}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x25be12}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x32dc(_0x27e4a1,_0x1d07b6){const _0x6dfa91=_0x6dfa();return _0x32dc=function(_0x32dca7,_0x409f6a){_0x32dca7=_0x32dca7-0x14d;let _0xe128a8=_0x6dfa91[_0x32dca7];return _0xe128a8;},_0x32dc(_0x27e4a1,_0x1d07b6);}import{RealTimeCollaborativeEditing as _0x4c6dc1}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x1ccaa8}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a7e79{static get[_0x5d76fe(0x14d)](){const _0xed528e=_0x5d76fe;return[_0xed528e(0x167),_0x25be12,_0x4c6dc1,_0x1ccaa8];}static get[_0x5d76fe(0x14f)](){const _0x952294=_0x5d76fe;return _0x952294(0x166);}static get[_0x5d76fe(0x156)](){return!0x0;}static get[_0x5d76fe(0x161)](){return!0x0;}[_0x5d76fe(0x15d)](){const _0x5bc4f3=_0x5d76fe,_0x40ee02=this[_0x5bc4f3(0x151)][_0x5bc4f3(0x162)][_0x5bc4f3(0x153)](_0x1ccaa8),_0x422e28=this[_0x5bc4f3(0x151)][_0x5bc4f3(0x162)][_0x5bc4f3(0x153)](_0x5bc4f3(0x15e)),_0x4cba3d=this[_0x5bc4f3(0x151)][_0x5bc4f3(0x162)][_0x5bc4f3(0x153)](_0x25be12);return this[_0x5bc4f3(0x151)][_0x5bc4f3(0x158)][_0x5bc4f3(0x164)](_0x5bc4f3(0x16d),()=>{const _0x21f316=_0x5bc4f3;this[_0x21f316(0x169)](_0x40ee02,_0x21f316(0x16b),(_0x5e5d03,_0x352dbf,_0x546b1e)=>{const _0x5013bc=_0x21f316;_0x422e28[_0x5013bc(0x15a)]=_0x5013bc(0x157)!==_0x546b1e;});}),this[_0x5bc4f3(0x169)](_0x40ee02,_0x5bc4f3(0x16b),(_0x9a7afa,_0x41289b,_0xb71f3e)=>{const _0x12e839=_0x5bc4f3;this[_0x12e839(0x151)][_0x12e839(0x162)][_0x12e839(0x153)](_0x12e839(0x16e))[_0x12e839(0x154)](_0x12e839(0x157)!==_0xb71f3e);}),_0x4cba3d[_0x5bc4f3(0x16c)](this[_0x5bc4f3(0x151)][_0x5bc4f3(0x150)][_0x5bc4f3(0x153)](_0x5bc4f3(0x15f)));}[_0x5d76fe(0x15b)](){const _0x3834e8=_0x5d76fe;this[_0x3834e8(0x151)][_0x3834e8(0x162)][_0x3834e8(0x153)](_0x25be12)[_0x3834e8(0x155)](this[_0x3834e8(0x151)][_0x3834e8(0x150)][_0x3834e8(0x153)](_0x3834e8(0x15f))),super[_0x3834e8(0x15b)]();}}function _0x6dfa(){const _0x1dd89b=['config','editor','27055hSmgLz','get','switchReadOnly','_terminateService','isOfficialPlugin','connected','data','3nqUoUi','isThreadsLoadingPaused','destroy','290cmMPxR','init','CommentsEditing','collaboration.channelId','1909699TUNKuK','isPremiumPlugin','plugins','5129916eAAqYb','once','3504QioVoP','RealTimeCollaborativeComments','Comments','392YGNbNV','listenTo','2930175rEhEur','change:state','_setUpService','ready','CommentsRepository','6SMAqzn','1044035kpgpIJ','586316RTyMHA','13jljWok','requires','40Lpyuhv','pluginName'];_0x6dfa=function(){return _0x1dd89b;};return _0x6dfa();}
23
+ const _0x430d3d=_0x4ffd;(function(_0x4f75c5,_0x3a2f5d){const _0x837d9e=_0x4ffd,_0x2da372=_0x4f75c5();while(!![]){try{const _0x4e4d84=parseInt(_0x837d9e(0xb3))/0x1*(-parseInt(_0x837d9e(0x9c))/0x2)+-parseInt(_0x837d9e(0x9e))/0x3+parseInt(_0x837d9e(0xab))/0x4+parseInt(_0x837d9e(0xad))/0x5*(-parseInt(_0x837d9e(0x93))/0x6)+parseInt(_0x837d9e(0xaa))/0x7+parseInt(_0x837d9e(0xb4))/0x8+-parseInt(_0x837d9e(0xa2))/0x9*(-parseInt(_0x837d9e(0x99))/0xa);if(_0x4e4d84===_0x3a2f5d)break;else _0x2da372['push'](_0x2da372['shift']());}catch(_0x432e05){_0x2da372['push'](_0x2da372['shift']());}}}(_0x49b8,0x384b7));import{Plugin as _0x20fb18}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2e9762}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x196a1a}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x2ad473}from'./realtimecollaborativeediting/websocketgateway.js';function _0x4ffd(_0x323ad6,_0x62f1e8){const _0x49b8cc=_0x49b8();return _0x4ffd=function(_0x4ffded,_0x13c438){_0x4ffded=_0x4ffded-0x93;let _0x3c80c4=_0x49b8cc[_0x4ffded];return _0x3c80c4;},_0x4ffd(_0x323ad6,_0x62f1e8);}export class RealTimeCollaborativeComments extends _0x20fb18{static get[_0x430d3d(0x9b)](){const _0x419385=_0x430d3d;return[_0x419385(0xac),_0x2e9762,_0x196a1a,_0x2ad473];}static get[_0x430d3d(0xb2)](){const _0x549148=_0x430d3d;return _0x549148(0x9f);}static get[_0x430d3d(0xb0)](){return!0x0;}static get[_0x430d3d(0x97)](){return!0x0;}[_0x430d3d(0xa9)](){const _0x3780ba=_0x430d3d,_0x1438ed=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x2ad473),_0x201a8d=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x3780ba(0xae)),_0x4e18aa=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x2e9762);return this[_0x3780ba(0x9d)][_0x3780ba(0xa5)][_0x3780ba(0xa0)](_0x3780ba(0xa3),()=>{const _0x161ee9=_0x3780ba;this[_0x161ee9(0xb5)](_0x1438ed,_0x161ee9(0x98),(_0x13064e,_0x2a6c75,_0x5d3094)=>{const _0x28933b=_0x161ee9;_0x201a8d[_0x28933b(0x95)]=_0x28933b(0xa6)!==_0x5d3094;});}),this[_0x3780ba(0xb5)](_0x1438ed,_0x3780ba(0x98),(_0x47bcfb,_0x50f1db,_0x338b57)=>{const _0x555c6b=_0x3780ba;this[_0x555c6b(0x9d)][_0x555c6b(0xa1)][_0x555c6b(0xaf)](_0x555c6b(0x9a))[_0x555c6b(0xa8)](_0x555c6b(0xa6)!==_0x338b57);}),_0x4e18aa[_0x3780ba(0x96)](this[_0x3780ba(0x9d)][_0x3780ba(0xa4)][_0x3780ba(0xaf)](_0x3780ba(0xa7)));}[_0x430d3d(0xb1)](){const _0x19c2c5=_0x430d3d;this[_0x19c2c5(0x9d)][_0x19c2c5(0xa1)][_0x19c2c5(0xaf)](_0x2e9762)[_0x19c2c5(0x94)](this[_0x19c2c5(0x9d)][_0x19c2c5(0xa4)][_0x19c2c5(0xaf)](_0x19c2c5(0xa7))),super[_0x19c2c5(0xb1)]();}}function _0x49b8(){const _0x8bd49b=['53565YpEMvk','CommentsEditing','get','isOfficialPlugin','destroy','pluginName','28393QdvxQF','98256tLDhsq','listenTo','108mamepP','_terminateService','isThreadsLoadingPaused','_setUpService','isPremiumPlugin','change:state','20HPhlOv','CommentsRepository','requires','18jZIBcY','editor','1067523fUhVxV','RealTimeCollaborativeComments','once','plugins','2393973oPGJnh','ready','config','data','connected','collaboration.channelId','switchReadOnly','init','529956cPJKrU','1659244rhsWUu','Comments'];_0x49b8=function(){return _0x8bd49b;};return _0x49b8();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1afa(){const _0x504bba=['rtc-offline','_shouldSendUpdate','real-time-collaboration','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isLoaded','_operationToId','70790IMpIRk','_handleExternalOperations','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isOfficialPlugin','_isPendingUpdate','4867505vzvnXq','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.','3474524Oappsq','createdAt','3whFRvR','addToReconnectionStack','_compressOperations','isPremiumPlugin','Synchronization\x20issue','then','serverHistory','_setPendingAction','change:hasDomSelection','editor','_connectAfterSessionHasBeenFlushed','_saveOperationInBuffer','version','suppressErrorInCollaboration','requires','offset','model','_hasSelectionChanged','directChange','setPermissions','off','from','_handleSendingSelectionMarkers','realtimecollaborationclient-handleserverresponse','sessionCreatedAt','_decompressOperations','realtimecollaborationclient-init-non-existent-root','lastOperationAcceptedAt','applyOperation','realtimecollaborationclient-init-service-incorrect-server-operation','affectedSelectable','$root','_handleInitialConnectionData','affectsData','mySessionId','_setUpDataInit','addUser','_initThrowingOnDataSet','history','marker','bind','includes','cloudServices.bundleVersion','7388248EnUPJy','_crash','isUndoneOperation','insert','userId','_handleReceivedOperations','catch','404','destroy','_updateServerHistory','change:range','sessionId','isDocumentOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','permissions','clone','980717EBmTiO','document:write','batch','409','plugins','createPositionAt','realtimecollaborationclient-init-document-already-initialized','operationsReceived','stopListening','_handleReconnectionResponse','_getOperationsFromInitData','locale','getUser','ready','fire','move','__className','_isConnected','data','getIdOfTheLastOperation','wasUndone','_document','slice','_refreshUserSelectionMarkers','1838436bGuuAM','document','toJSON','collaboration-missing-channelid','getDocumentDetails','add','_sendBufferedOperationsDelayId','addRoot','_sendBufferedOperationsDelayed','has','markers','createRange','keys','differ','size','_currentBufferDelay','editing','startsWith','config','isEnabled','lastSyncVersion','_sendBufferedOperations','state','collaboration','_initSessionsHandling','targetPosition','CommentsOnly','_isEditingAllowed','_offset','connection','fromJSON','realtimecollaborationclient-init-connection-failed','define','_handleServerResponse','path','parse','initData','loadRoot','_waitUntilSynced','metadata','getRoot','removeFromReconnectionStack','createUserMarkerOperations','stop','cs:removeUser','listenTo','_getAffectedRoot','realtimecollaborationclient-init-service-internal-error','newRange','cloudDocumentVersion','9oOaLKU','_compressor','realtimecollaborationclient-init-session-connection-error','_knownOperations','start','getOperations','enableReadOnlyMode','cloud-services-internal-error:\x20Not\x20connected.','_isInit','getOperationAuthor','_applyOperationsSet','return','register','isReadOnly','wereChangesApplied','code','_isAttached','lastOperationId','change:_isPendingUpdate','createPositionFromPath','roots','createRoot','compress','_authorId','1066970XOzBSm','_bufferedOperations','realtimecollaborationclient-sendbufferedoperations','high','_addKnownRoot','realtimecollaborationclient-error','baseVersion','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_ignoredOperations','_channelId','realtimecollaborationclient','showWarning','enqueueChange','_fetchMissingUsers','currentDocumentSession','reset','_pendingAction','_baseBufferDelay','_handleReconnectionError','cloud-services-internal-error:\x20Request\x20timeout.','unregister','disconnected','sendOperations','position','decompress','RealTimeCollaborationClient','push','init','reconnection:\x20flushed\x20session','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionAdd:','getMany','_hasSynchronizationProblem','map','selection','filter','_bufferRootLoad','_disconnectService','apply','remove','lastDocumentSession','forEach','_lastSyncedOperationId','_connectService','root','PENDING_ACTION_SENDING_DATA','InsertOperation','_lastServerVersion','disableReadOnlyMode','length','string','rootsAttributes','rtc-destroyed','disconnect','_service','error','get','connect','setIdForTheLastOperation','addOperation','message','_shouldSendSelectionUpdate','view','_isDisconnection','channelSessions','pluginName','finally','multi-root-editor-root-attributes-no-root','change:_isEditingAllowed','entries','_operationIdentifier','collaboration.channelId','reconnect','connected','rootName','_loadRoot','CollaborativeEditingService','_knownRootNames','set','_disconnectionOperations','attributes','_clearPendingAction','end','Permissions','type','getConnectedSessions','Notification','addRootAttribute','28DERCWM'];_0x1afa=function(){return _0x504bba;};return _0x1afa();}const _0x239d7b=_0xeaa5;(function(_0x5a616c,_0x1e2d50){const _0x5ea129=_0xeaa5,_0x3e881e=_0x5a616c();while(!![]){try{const _0xf783fb=-parseInt(_0x5ea129(0x1e1))/0x1+-parseInt(_0x5ea129(0x243))/0x2+-parseInt(_0x5ea129(0x1a6))/0x3*(-parseInt(_0x5ea129(0x1a4))/0x4)+parseInt(_0x5ea129(0x1a2))/0x5+-parseInt(_0x5ea129(0x1f9))/0x6*(-parseInt(_0x5ea129(0x196))/0x7)+-parseInt(_0x5ea129(0x1d1))/0x8+parseInt(_0x5ea129(0x22b))/0x9*(-parseInt(_0x5ea129(0x19d))/0xa);if(_0xf783fb===_0x1e2d50)break;else _0x3e881e['push'](_0x3e881e['shift']());}catch(_0x5278b7){_0x3e881e['push'](_0x3e881e['shift']());}}}(_0x1afa,0x98160));import{Plugin as _0x112676,PendingActions as _0x5ba1a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x299d01,version as _0x113089,uid as _0x4da281}from'ckeditor5/src/utils.js';import{Notification as _0x19df8b}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x11de3a,NoOperation as _0x5490d2,InsertOperation as _0x4e26e3,MarkerOperation as _0x2324d9,RootAttributeOperation as _0xca8d75,OperationFactory as _0x587caa,History as _0x368b30}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0xc7c81b}from'./websocketgateway.js';import{Sessions as _0x174557}from'./sessions.js';function _0xeaa5(_0x45b760,_0x63cd2f){const _0x1afa7d=_0x1afa();return _0xeaa5=function(_0xeaa5d5,_0x40944b){_0xeaa5d5=_0xeaa5d5-0x154;let _0x5c2c62=_0x1afa7d[_0xeaa5d5];return _0x5c2c62;},_0xeaa5(_0x45b760,_0x63cd2f);}import{UserMarkers as _0x1aaefb}from'./usermarkers.js';import{getTranslation as _0x18fee4}from'../common-translations.js';import{Compressor as _0x1eae05}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x54ce18}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x386734,CollaborativeEditingService as _0x2cc433}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x112676{static [_0x239d7b(0x18a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2cc433)());[_0x239d7b(0x215)];[_0x239d7b(0x1dc)];[_0x239d7b(0x1ac)];[_0x239d7b(0x24c)];[_0x239d7b(0x174)];[_0x239d7b(0x1f6)];[_0x239d7b(0x22c)];[_0x239d7b(0x244)];[_0x239d7b(0x22e)];[_0x239d7b(0x18b)];[_0x239d7b(0x253)];[_0x239d7b(0x1b7)];[_0x239d7b(0x1ff)];[_0x239d7b(0x254)];[_0x239d7b(0x208)];[_0x239d7b(0x168)];[_0x239d7b(0x18d)];[_0x239d7b(0x184)];static get[_0x239d7b(0x1b4)](){return[_0xc7c81b,_0x174557,_0x1aaefb,_0x5ba1a5,_0x54ce18,_0x19df8b];}static get[_0x239d7b(0x17f)](){const _0x7f5b67=_0x239d7b;return _0x7f5b67(0x156);}static get[_0x239d7b(0x1a0)](){return!0x0;}static get[_0x239d7b(0x1a9)](){return!0x0;}get[_0x239d7b(0x22a)](){const _0x1f9be0=_0x239d7b;return this[_0x1f9be0(0x16d)]+this[_0x1f9be0(0x215)];}get[_0x239d7b(0x16d)](){const _0x1d16fd=_0x239d7b;return this[_0x1d16fd(0x1ac)][_0x1d16fd(0x1b2)]-this[_0x1d16fd(0x215)];}get[_0x239d7b(0x20d)](){const _0x32711c=_0x239d7b,_0x7e469=this[_0x32711c(0x1ac)][_0x32711c(0x230)]();for(let _0x5e832e=_0x7e469[_0x32711c(0x16f)]-0x1;_0x5e832e>=0x0;_0x5e832e--){const _0x43aa2d=_0x7e469[_0x5e832e];if(!this[_0x32711c(0x18d)][_0x32711c(0x202)](_0x43aa2d))return _0x43aa2d[_0x32711c(0x249)]+0x1-this[_0x32711c(0x215)];}return 0x0;}constructor(_0xd56d2c){const _0x5c984e=_0x239d7b;if(super(_0xd56d2c),this[_0x5c984e(0x215)]=0x0,this[_0x5c984e(0x1dc)]=null,this[_0x5c984e(0x1ac)]=new _0x368b30(),this[_0x5c984e(0x1af)][_0x5c984e(0x20b)][_0x5c984e(0x219)](_0x5c984e(0x210),{}),this[_0x5c984e(0x24c)]=this[_0x5c984e(0x1af)][_0x5c984e(0x20b)][_0x5c984e(0x176)](_0x5c984e(0x185)),!this[_0x5c984e(0x24c)])throw new _0x299d01(_0x5c984e(0x1fc),this);const _0x4657cb=_0xd56d2c[_0x5c984e(0x20b)][_0x5c984e(0x176)](_0x5c984e(0x1d0))||_0x113089;this[_0x5c984e(0x174)]=new l[(_0x5c984e(0x18a))](_0x4657cb,this[_0x5c984e(0x24c)]),this[_0x5c984e(0x1f6)]=this[_0x5c984e(0x1af)][_0x5c984e(0x1b6)][_0x5c984e(0x1fa)],this[_0x5c984e(0x22c)]=new _0x1eae05(),this[_0x5c984e(0x244)]=[],this[_0x5c984e(0x22e)]=new WeakSet(),this[_0x5c984e(0x18b)]=new Set(),this[_0x5c984e(0x18c)](_0x5c984e(0x1a1),!0x1),this[_0x5c984e(0x18c)](_0x5c984e(0x15e),!0x1),this[_0x5c984e(0x253)]=null,this[_0x5c984e(0x1b7)]=!0x1,this[_0x5c984e(0x1ff)]=null,this[_0x5c984e(0x254)]=0x12c,this[_0x5c984e(0x208)]=this[_0x5c984e(0x254)],this[_0x5c984e(0x168)]=null,this[_0x5c984e(0x18d)]=new WeakSet(),this[_0x5c984e(0x184)]=new Z(this[_0x5c984e(0x18d)]);}[_0x239d7b(0x158)](){const _0x51c9ac=_0x239d7b,_0x8c7134=this[_0x51c9ac(0x1af)],_0x407dc4=_0x8c7134[_0x51c9ac(0x1e5)][_0x51c9ac(0x176)](_0x54ce18),_0x568b35=_0x8c7134[_0x51c9ac(0x1e5)][_0x51c9ac(0x176)](_0xc7c81b);this[_0x51c9ac(0x226)](_0x407dc4,_0x51c9ac(0x234),(_0x3062b9,_0x36ee6e)=>{const _0x515a1c=_0x51c9ac,_0x3a31a0=_0x36ee6e[0x0];_0x3a31a0[_0x515a1c(0x242)]&&(_0x3062b9[_0x515a1c(0x236)]=_0x407dc4[_0x515a1c(0x1ed)](_0x3a31a0[_0x515a1c(0x242)]),_0x3062b9[_0x515a1c(0x224)]()),null===_0x3a31a0[_0x515a1c(0x242)]&&(_0x3062b9[_0x515a1c(0x236)]=null,_0x3062b9[_0x515a1c(0x224)]());},{'priority':_0x51c9ac(0x246)}),this[_0x51c9ac(0x226)](_0x8c7134[_0x51c9ac(0x1b6)][_0x51c9ac(0x1fa)][_0x51c9ac(0x160)],_0x51c9ac(0x1db),(_0x49bee,_0x43a7cf)=>{const _0x3441b1=_0x51c9ac;_0x43a7cf[_0x3441b1(0x1b8)]&&this[_0x3441b1(0x1f8)]();}),this[_0x51c9ac(0x226)](_0x8c7134[_0x51c9ac(0x209)][_0x51c9ac(0x17c)],_0x51c9ac(0x1ae),()=>{const _0x24f4eb=_0x51c9ac;this[_0x24f4eb(0x1f8)]();}),this[_0x51c9ac(0x1cb)](),_0x8c7134[_0x51c9ac(0x1b6)]['on'](_0x51c9ac(0x1c2),(_0x441b0b,_0x489646)=>{const _0x55e065=_0x51c9ac,_0x1f0aa2=_0x489646[0x0];_0x1f0aa2[_0x55e065(0x1dd)]&&(this[_0x55e065(0x1b1)](_0x1f0aa2),this[_0x55e065(0x198)]()&&this[_0x55e065(0x201)]());}),this[_0x51c9ac(0x1c9)](),this[_0x51c9ac(0x1ce)](_0x51c9ac(0x214))['to'](_0x568b35,_0x51c9ac(0x20f),this,_0x51c9ac(0x15e),(_0x216577,_0x25eace)=>_0x51c9ac(0x187)===_0x216577&&!_0x25eace),this['on'](_0x51c9ac(0x182),()=>{const _0x1591ac=_0x51c9ac;this[_0x1591ac(0x214)]?_0x8c7134[_0x1591ac(0x16e)](_0x1591ac(0x197)):_0x8c7134[_0x1591ac(0x231)](_0x1591ac(0x197));}),this[_0x51c9ac(0x214)]?_0x8c7134[_0x51c9ac(0x16e)](_0x51c9ac(0x197)):_0x8c7134[_0x51c9ac(0x231)](_0x51c9ac(0x197)),this[_0x51c9ac(0x18c)](_0x51c9ac(0x1f2),!0x1);}async[_0x239d7b(0x186)](){const _0x3a9b64=_0x239d7b,_0x82fd42=this[_0x3a9b64(0x1af)][_0x3a9b64(0x1e5)][_0x3a9b64(0x176)](_0x174557),_0x16d18d=this[_0x3a9b64(0x1af)][_0x3a9b64(0x1e5)][_0x3a9b64(0x176)](_0xc7c81b);try{this[_0x3a9b64(0x1a1)]=!0x0,_0x82fd42[_0x3a9b64(0x257)](this[_0x3a9b64(0x24c)]);const _0x488227=await this[_0x3a9b64(0x174)][_0x3a9b64(0x186)](_0x16d18d[_0x3a9b64(0x216)],this[_0x3a9b64(0x20d)]);await this[_0x3a9b64(0x1ea)](_0x488227)&&(this[_0x3a9b64(0x1a1)]=!0x1,this[_0x3a9b64(0x18f)]());const _0x3e9029=await this[_0x3a9b64(0x174)][_0x3a9b64(0x193)]();_0x82fd42[_0x3a9b64(0x237)](this[_0x3a9b64(0x24c)],_0x3e9029),this[_0x3a9b64(0x1bc)](),this[_0x3a9b64(0x1f2)]=!0x0;}catch(_0x2be6e8){if(function(_0x37b136){const _0x4045cf=_0x3a9b64;return _0x4045cf(0x1d8)===_0x37b136[_0x4045cf(0x23a)];}(_0x2be6e8)&&this[_0x3a9b64(0x1dc)])await this[_0x3a9b64(0x1b0)]();else{if(function(_0xba585a){const _0x92cfed=_0x3a9b64;return _0x92cfed(0x1e4)===_0xba585a[_0x92cfed(0x23a)];}(_0x2be6e8)){const _0x47645d=_0x18fee4(this[_0x3a9b64(0x1af)][_0x3a9b64(0x1ec)],_0x3a9b64(0x24a));this[_0x3a9b64(0x255)](_0x47645d);}else{if(!(_0x2be6e8 instanceof X))throw _0x2be6e8;this[_0x3a9b64(0x255)]();}}}}[_0x239d7b(0x1d9)](){const _0x1a8b51=_0x239d7b,_0x537e73=this[_0x1a8b51(0x1af)][_0x1a8b51(0x1e5)][_0x1a8b51(0x176)](_0xc7c81b),_0x1fd765=this[_0x1a8b51(0x1af)][_0x1a8b51(0x1e5)][_0x1a8b51(0x176)](_0x174557);this[_0x1a8b51(0x1af)][_0x1a8b51(0x231)](_0x1a8b51(0x172)),_0x1fd765[_0x1a8b51(0x17e)][_0x1a8b51(0x202)](this[_0x1a8b51(0x24c)])&&_0x1fd765[_0x1a8b51(0x257)](this[_0x1a8b51(0x24c)]),_0x537e73[_0x1a8b51(0x222)](this),this[_0x1a8b51(0x163)](),super[_0x1a8b51(0x1d9)]();}async[_0x239d7b(0x1ea)](_0x308cf1){const _0x3d9f8e=_0x239d7b;if(this[_0x3d9f8e(0x1dc)]!==_0x308cf1[_0x3d9f8e(0x1dc)]&&this[_0x3d9f8e(0x168)]!==_0x308cf1[_0x3d9f8e(0x23c)])throw new X();return this[_0x3d9f8e(0x1dc)]=_0x308cf1[_0x3d9f8e(0x1dc)],this[_0x3d9f8e(0x21a)]([],{..._0x308cf1,'wereChangesApplied':!0x1,'data':_0x308cf1[_0x3d9f8e(0x1f3)]},_0x3d9f8e(0x186));}async[_0x239d7b(0x169)](_0x467b52,_0x1868f5=!0x1){const _0x502246=_0x239d7b,{connection:_0x38d8b9}=this[_0x502246(0x1af)][_0x502246(0x1e5)][_0x502246(0x176)](_0xc7c81b);l[_0x502246(0x18a)][_0x502246(0x193)](_0x38d8b9,this[_0x502246(0x24c)])[_0x502246(0x1ab)](_0x55ff4d=>this[_0x502246(0x211)](_0x55ff4d))[_0x502246(0x1d7)](_0x3e0219=>{const _0x297c3a=_0x502246;this[_0x297c3a(0x1d2)](_0x297c3a(0x22d),_0x3e0219);}),this[_0x502246(0x226)](this[_0x502246(0x174)],_0x502246(0x1e8),this[_0x502246(0x1d6)][_0x502246(0x1ce)](this)),this[_0x502246(0x226)](this[_0x502246(0x174)],_0x502246(0x175),(_0x381360,_0x55758c)=>{const _0x4980e7=_0x502246;this[_0x4980e7(0x1d2)](_0x4980e7(0x228),_0x55758c);}),this[_0x502246(0x226)](this[_0x502246(0x174)],_0x502246(0x258),()=>{const _0x1c6e7f=_0x502246;this[_0x1c6e7f(0x1f2)]=!0x1;});const _0xd4a126=this[_0x502246(0x184)][_0x502246(0x1f4)](_0x467b52);this[_0x502246(0x1a1)]=!0x0;const _0x498d2b=await this[_0x502246(0x174)][_0x502246(0x177)](_0x38d8b9,this[_0x502246(0x1a8)](_0x467b52),_0xd4a126);if(this[_0x502246(0x1dc)]=_0x498d2b[_0x502246(0x1dc)],_0x1868f5){if(!_0x498d2b[_0x502246(0x239)])return void this[_0x502246(0x255)]();this[_0x502246(0x1a1)]=!0x1,this[_0x502246(0x18f)](),this[_0x502246(0x1ac)][_0x502246(0x252)](),this[_0x502246(0x215)]=_0x498d2b[_0x502246(0x1b5)],this[_0x502246(0x1ac)][_0x502246(0x1b2)]=this[_0x502246(0x215)],await this[_0x502246(0x21a)](_0x467b52,_0x498d2b,_0x502246(0x159));}else await this[_0x502246(0x1c6)](_0x498d2b,_0x467b52);this[_0x502246(0x1bc)](),this[_0x502246(0x1f2)]=!0x0;}[_0x239d7b(0x1bc)](){const _0x51fcfd=_0x239d7b,_0x3ec7f8=this[_0x51fcfd(0x1af)][_0x51fcfd(0x1e5)][_0x51fcfd(0x176)](_0x174557),_0x3513e6=this[_0x51fcfd(0x1af)][_0x51fcfd(0x1e5)][_0x51fcfd(0x176)](_0x1aaefb),_0x26da04=_0x3ec7f8[_0x51fcfd(0x17e)][_0x51fcfd(0x176)](this[_0x51fcfd(0x24c)]);_0x26da04&&_0x26da04[_0x51fcfd(0x16f)]>0x1?_0x3513e6[_0x51fcfd(0x223)]():this[_0x51fcfd(0x226)](_0x3ec7f8,_0x51fcfd(0x15c)+this[_0x51fcfd(0x24c)],()=>{const _0x30c6a9=_0x51fcfd;0x2===_0x3ec7f8[_0x30c6a9(0x17e)][_0x30c6a9(0x176)](this[_0x30c6a9(0x24c)])[_0x30c6a9(0x16f)]&&_0x3513e6[_0x30c6a9(0x223)]();});}async[_0x239d7b(0x1d6)](_0x3ec3c1,_0x3ce0e2,_0xd55f77,_0x1670d9){const _0x2b1c56=_0x239d7b;if(!this[_0x2b1c56(0x1a1)]&&this[_0x2b1c56(0x1f6)][_0x2b1c56(0x1b2)]==_0x3ce0e2){const _0x4c9e5d=this[_0x2b1c56(0x1bf)](_0xd55f77,_0x1670d9);await this[_0x2b1c56(0x250)](_0x4c9e5d),this[_0x2b1c56(0x19e)](_0x4c9e5d,_0x3ce0e2,_0xd55f77[_0x2b1c56(0x23c)])||this[_0x2b1c56(0x1d2)](_0x2b1c56(0x1c3));}}async[_0x239d7b(0x1b0)](){const _0x6e5e98=_0x239d7b;this[_0x6e5e98(0x163)]();const {locale:_0x14fa1d}=this[_0x6e5e98(0x1af)];let _0x228c28;try{_0x228c28=await this[_0x6e5e98(0x174)][_0x6e5e98(0x1fd)]();}catch{const _0x57ab71=_0x18fee4(_0x14fa1d,_0x6e5e98(0x1de));return void this[_0x6e5e98(0x255)](_0x57ab71);}const _0x2a9543=_0x228c28[_0x6e5e98(0x251)]||_0x228c28[_0x6e5e98(0x166)];if(this[_0x6e5e98(0x168)]!==_0x2a9543[_0x6e5e98(0x23c)]){const _0x544d8c=_0x18fee4(_0x14fa1d,_0x6e5e98(0x1a3));return void this[_0x6e5e98(0x255)](_0x544d8c);}await this[_0x6e5e98(0x169)](this[_0x6e5e98(0x1af)][_0x6e5e98(0x1b6)][_0x6e5e98(0x1fa)][_0x6e5e98(0x1cc)][_0x6e5e98(0x230)](),!0x0);}[_0x239d7b(0x163)](){const _0x5187ed=_0x239d7b;this[_0x5187ed(0x174)][_0x5187ed(0x173)](),this[_0x5187ed(0x244)]=[],clearTimeout(this[_0x5187ed(0x1ff)]),this[_0x5187ed(0x1e9)](this[_0x5187ed(0x174)]);}[_0x239d7b(0x211)](_0x50fdbb){const _0x396010=_0x239d7b,_0x250862=this[_0x396010(0x1af)][_0x396010(0x1e5)][_0x396010(0x176)](_0x174557);this[_0x396010(0x226)](_0x250862,_0x396010(0x15c)+this[_0x396010(0x24c)],(_0x4bdb96,{session:_0x59e31d})=>{const _0x5a1662=_0x396010;if(_0x59e31d['id']===_0x250862[_0x5a1662(0x1c8)]){_0x4bdb96[_0x5a1662(0x1ba)]();const _0xcd149f=this[_0x5a1662(0x1af)][_0x5a1662(0x1e5)][_0x5a1662(0x202)](_0x5a1662(0x213))&&this[_0x5a1662(0x1af)][_0x5a1662(0x1e5)][_0x5a1662(0x176)](_0x5a1662(0x213));let _0x37987a=_0x59e31d[_0x5a1662(0x1df)];_0xcd149f&&_0xcd149f[_0x5a1662(0x20c)]&&(_0x37987a=_0x37987a[_0x5a1662(0x161)](_0x15b8c7=>_0x5a1662(0x1e2)!==_0x15b8c7)),this[_0x5a1662(0x1af)][_0x5a1662(0x1e5)][_0x5a1662(0x176)](_0x5a1662(0x191))[_0x5a1662(0x1b9)](_0x37987a,this[_0x5a1662(0x24c)]);}}),_0x250862[_0x396010(0x237)](this[_0x396010(0x24c)],_0x50fdbb);}[_0x239d7b(0x1cb)](){const _0x100271=_0x239d7b,_0x50d5dc=this[_0x100271(0x1af)][_0x100271(0x1f3)][_0x100271(0x18c)];this[_0x100271(0x1af)][_0x100271(0x1f3)][_0x100271(0x18c)]=(..._0x2e1364)=>{const _0x47317a=_0x100271;if(!_0x2e1364[_0x2e1364[_0x47317a(0x16f)]-0x1][_0x47317a(0x1b3)])throw new _0x299d01(_0x47317a(0x19a),this);_0x50d5dc[_0x47317a(0x164)](this[_0x47317a(0x1af)][_0x47317a(0x1f3)],_0x2e1364);};}[_0x239d7b(0x1c9)](){const _0x28a204=_0x239d7b;this[_0x28a204(0x1af)][_0x28a204(0x1f3)]['on'](_0x28a204(0x158),(_0x5e2d03,[_0x430eb2])=>{const _0x2cea46=_0x28a204;if(this[_0x2cea46(0x1f6)][_0x2cea46(0x1b2)])throw new _0x299d01(_0x2cea46(0x1e7),this);_0x5e2d03[_0x2cea46(0x224)](),this[_0x2cea46(0x1ad)]();const _0x4303fe=this[_0x2cea46(0x1af)][_0x2cea46(0x20b)][_0x2cea46(0x176)](_0x2cea46(0x171)),_0x45d55d=this[_0x2cea46(0x1eb)](_0x430eb2,_0x4303fe);0x0==_0x45d55d[_0x2cea46(0x16f)]&&_0x45d55d[_0x2cea46(0x157)](new _0x5490d2(0x0)),_0x5e2d03[_0x2cea46(0x236)]=this[_0x2cea46(0x169)](_0x45d55d)[_0x2cea46(0x1ab)](()=>{const _0x5880ee=_0x2cea46;this[_0x5880ee(0x1af)][_0x5880ee(0x1e5)][_0x5880ee(0x176)](_0xc7c81b)[_0x5880ee(0x1a7)](this),this[_0x5880ee(0x1af)][_0x5880ee(0x1f3)][_0x5880ee(0x1ef)](_0x5880ee(0x1ee));})[_0x2cea46(0x1d7)](_0x32a7dc=>this[_0x2cea46(0x1d2)](_0x2cea46(0x218),_0x32a7dc))[_0x2cea46(0x180)](()=>this[_0x2cea46(0x18f)]());},{'priority':_0x28a204(0x246)}),this[_0x28a204(0x1af)]['on'](_0x28a204(0x21e),async(_0x57c90e,[_0x562c0f,_0x340646])=>{const _0x35186d=_0x28a204;_0x57c90e[_0x35186d(0x224)]();const _0x3704cd=this[_0x35186d(0x1af)][_0x35186d(0x1b6)][_0x35186d(0x1fa)][_0x35186d(0x221)](_0x562c0f);if(!this[_0x35186d(0x18b)][_0x35186d(0x202)](_0x562c0f)){const _0x3a338c=_0x340646&&_0x340646[_0x35186d(0x1f3)]?_0x340646[_0x35186d(0x1f3)]:'',_0x38cc6e=_0x340646&&_0x340646[_0x35186d(0x18e)]?_0x340646[_0x35186d(0x18e)]:{};await this[_0x35186d(0x189)](_0x562c0f,_0x3a338c,_0x38cc6e);}this[_0x35186d(0x1af)][_0x35186d(0x1b6)][_0x35186d(0x24f)]({'isUndoable':!0x1},()=>{const _0x1ba20a=_0x35186d;_0x3704cd[_0x1ba20a(0x19b)]=!0x0,this[_0x1ba20a(0x1af)][_0x1ba20a(0x1b6)][_0x1ba20a(0x1fa)][_0x1ba20a(0x206)][_0x1ba20a(0x162)](_0x3704cd);});},{'priority':_0x28a204(0x246)});}async[_0x239d7b(0x250)](_0x25de0f){const _0x4cbad1=_0x239d7b,_0x5e3496=this[_0x4cbad1(0x1af)][_0x4cbad1(0x1e5)][_0x4cbad1(0x176)](_0x54ce18),{connection:_0x5ea9db}=this[_0x4cbad1(0x1af)][_0x4cbad1(0x1e5)][_0x4cbad1(0x176)](_0xc7c81b),_0x59fb5d=new Set();for(const _0x5b0907 of _0x25de0f){const _0x37206d=_0x5b0907[_0x4cbad1(0x242)];_0x37206d&&!_0x5e3496[_0x4cbad1(0x1ed)](_0x37206d)&&_0x59fb5d[_0x4cbad1(0x1fe)](_0x37206d);}if(0x0===_0x59fb5d[_0x4cbad1(0x207)])return;const _0x5255e6=await _0x386734[_0x4cbad1(0x15d)](_0x5ea9db,Array[_0x4cbad1(0x1bb)](_0x59fb5d));for(const _0x2d3288 of _0x5255e6)_0x5e3496[_0x4cbad1(0x1ed)](_0x2d3288['id'])||_0x5e3496[_0x4cbad1(0x1ca)](_0x2d3288);}[_0x239d7b(0x1eb)](_0x58c692,_0x23add8={}){const _0x3380a7=_0x239d7b,_0x527250=this[_0x3380a7(0x1af)][_0x3380a7(0x1b6)],_0x1091f1=[];let _0x4696d7=0x0;const _0x26cc89=_0x3380a7(0x170)==typeof _0x58c692?{'main':_0x58c692}:_0x58c692;for(const _0x3b01f3 of Object[_0x3380a7(0x205)](_0x26cc89)){if(!this[_0x3380a7(0x1f6)][_0x3380a7(0x23f)][_0x3380a7(0x202)](_0x3b01f3))throw new _0x299d01(_0x3380a7(0x1c0),this);const _0x4f8670=this[_0x3380a7(0x1af)][_0x3380a7(0x1f3)][_0x3380a7(0x21c)](_0x26cc89[_0x3b01f3]),_0x38ef7a=this[_0x3380a7(0x1f6)][_0x3380a7(0x221)](_0x3b01f3),_0x38b7d4=new _0x4e26e3(_0x527250[_0x3380a7(0x1e6)](_0x38ef7a,0x0),_0x4f8670,_0x4696d7++);_0x1091f1[_0x3380a7(0x157)](_0x38b7d4);for(const [_0x3fa702,_0x9f06c]of _0x4f8670[_0x3380a7(0x203)]){const _0x2085a6=_0x527250[_0x3380a7(0x204)](_0x527250[_0x3380a7(0x23e)](_0x38ef7a,_0x9f06c[_0x3380a7(0x22f)][_0x3380a7(0x21b)][_0x3380a7(0x1f7)]()),_0x527250[_0x3380a7(0x23e)](_0x38ef7a,_0x9f06c[_0x3380a7(0x190)][_0x3380a7(0x21b)][_0x3380a7(0x1f7)]())),_0xc9c944=new _0x2324d9(_0x3fa702,null,_0x2085a6,_0x527250[_0x3380a7(0x203)],!0x0,_0x4696d7++);_0x1091f1[_0x3380a7(0x157)](_0xc9c944);}}if(_0x23add8)for(const [_0x13ad89,_0x363d3c]of Object[_0x3380a7(0x183)](_0x23add8)){const _0x3ec7d7=_0x527250[_0x3380a7(0x1fa)][_0x3380a7(0x221)](_0x13ad89);if(!_0x3ec7d7)throw new _0x299d01(_0x3380a7(0x181),null);for(const [_0x1cd043,_0x4695ce]of Object[_0x3380a7(0x183)](_0x363d3c))if(null!==_0x4695ce){const _0x8b16da=new _0xca8d75(_0x3ec7d7,_0x1cd043,null,_0x4695ce,_0x4696d7++);_0x1091f1[_0x3380a7(0x157)](_0x8b16da);}}return _0x1091f1;}async[_0x239d7b(0x189)](_0x3c8210,_0x2efb97,_0x56c845){const _0x492a23=_0x239d7b;this[_0x492a23(0x1eb)]({[_0x3c8210]:_0x2efb97},{[_0x3c8210]:_0x56c845})[_0x492a23(0x167)]((_0x3cb91b,_0x3ef698)=>{const _0x431518=_0x492a23;_0x3cb91b[_0x431518(0x249)]=this[_0x431518(0x1f6)][_0x431518(0x1b2)]+_0x3ef698,_0x3cb91b[_0x431518(0x233)]=!0x0,this[_0x431518(0x1b1)](_0x3cb91b);}),this[_0x492a23(0x201)](),await this[_0x492a23(0x21f)]();}async[_0x239d7b(0x1c6)](_0x19ac9a,_0x2db9d6){const _0x315837=_0x239d7b;let _0x98665c;this[_0x315837(0x215)]=_0x19ac9a[_0x315837(0x1b5)];const _0x1ae077=_0x19ac9a[_0x315837(0x239)]&&!_0x19ac9a[_0x315837(0x21d)],_0x58e640=_0x1ae077?0x0:_0x19ac9a[_0x315837(0x1f3)][_0x315837(0x249)];if(_0x2db9d6[_0x315837(0x167)](_0x7cb3f=>{const _0x20c7ce=_0x315837;_0x7cb3f[_0x20c7ce(0x233)]=!0x0,_0x7cb3f[_0x20c7ce(0x1a5)]=_0x19ac9a[_0x20c7ce(0x1be)],_0x7cb3f[_0x20c7ce(0x242)]=null;}),_0x1ae077)_0x98665c=_0x2db9d6,this[_0x315837(0x235)](_0x98665c,_0x1ae077);else{if(_0x19ac9a[_0x315837(0x21d)]){const _0x16e08b=this[_0x315837(0x1eb)](_0x19ac9a[_0x315837(0x21d)]);this[_0x315837(0x1f6)][_0x315837(0x1cc)][_0x315837(0x1b2)]=-_0x16e08b[_0x315837(0x16f)],_0x16e08b[_0x315837(0x167)](_0x33ca7d=>{const _0x4650a1=_0x315837;_0x33ca7d[_0x4650a1(0x249)]-=_0x16e08b[_0x4650a1(0x16f)],_0x33ca7d[_0x4650a1(0x1a5)]=_0x19ac9a[_0x4650a1(0x1be)],_0x33ca7d[_0x4650a1(0x233)]=!0x0,_0x33ca7d[_0x4650a1(0x242)]=null;}),this[_0x315837(0x235)](_0x16e08b,!0x0),this[_0x315837(0x1ac)][_0x315837(0x1b2)]=-_0x16e08b[_0x315837(0x16f)]+this[_0x315837(0x215)],this[_0x315837(0x1da)](_0x16e08b);}this[_0x315837(0x1f6)][_0x315837(0x1cc)][_0x315837(0x1b2)]=_0x58e640,_0x98665c=this[_0x315837(0x1bf)](_0x19ac9a[_0x315837(0x1f3)],_0x19ac9a[_0x315837(0x220)]),await this[_0x315837(0x250)](_0x98665c),this[_0x315837(0x235)](_0x98665c,_0x1ae077);}_0x19ac9a[_0x315837(0x23c)]&&(this[_0x315837(0x184)][_0x315837(0x178)](_0x98665c,_0x19ac9a[_0x315837(0x23c)]),this[_0x315837(0x168)]=_0x19ac9a[_0x315837(0x23c)]),this[_0x315837(0x1ac)][_0x315837(0x1b2)]=_0x58e640+this[_0x315837(0x215)],this[_0x315837(0x1da)](_0x98665c),_0x2db9d6[_0x315837(0x161)](_0x3d0889=>{const _0x4f2653=_0x315837,_0x249b92=this[_0x4f2653(0x227)](_0x3d0889);return _0x249b92&&!this[_0x4f2653(0x18b)][_0x4f2653(0x202)](_0x249b92);})[_0x315837(0x167)]((_0x3f2870,_0x367ac4)=>{const _0x5e5162=_0x315837;_0x3f2870[_0x5e5162(0x249)]=this[_0x5e5162(0x1f6)][_0x5e5162(0x1b2)]+_0x367ac4,this[_0x5e5162(0x1b1)](_0x3f2870);}),this[_0x315837(0x198)]()?(this[_0x315837(0x208)]=0x0,this[_0x315837(0x201)](!0x0),await this[_0x315837(0x21f)]()):(this[_0x315837(0x1a1)]=!0x1,this[_0x315837(0x18f)]());}[_0x239d7b(0x1d2)](_0x2a3682,_0x27d941){const _0x5c1227=_0x239d7b,_0x182130=_0x27d941&&_0x27d941[_0x5c1227(0x17a)];if(_0x182130&&_0x182130[_0x5c1227(0x20a)](_0x5c1227(0x24d)))throw _0x27d941;const _0x45f766=this[_0x5c1227(0x1af)][_0x5c1227(0x1e5)][_0x5c1227(0x176)](_0xc7c81b);throw this[_0x5c1227(0x1a1)]=!0x0,_0x45f766[_0x5c1227(0x173)](),this[_0x5c1227(0x1af)][_0x5c1227(0x231)](_0x5c1227(0x248)),new _0x299d01(_0x2a3682,this[_0x5c1227(0x1af)],_0x182130?{'originalError':_0x182130}:void 0x0);}[_0x239d7b(0x1b1)](_0x17386b){const _0x4e861d=_0x239d7b;this[_0x4e861d(0x22e)][_0x4e861d(0x202)](_0x17386b)||(this[_0x4e861d(0x22e)][_0x4e861d(0x1fe)](_0x17386b),this[_0x4e861d(0x244)][_0x4e861d(0x157)](_0x17386b),this[_0x4e861d(0x253)]||_0x4e861d(0x1cd)==_0x17386b[_0x4e861d(0x192)]&&!_0x17386b[_0x4e861d(0x1c7)]||this[_0x4e861d(0x1ad)]());}[_0x239d7b(0x201)](_0x5d4f17=!0x1){const _0x19ef2e=_0x239d7b;!_0x5d4f17&&this[_0x19ef2e(0x1a1)]||(this[_0x19ef2e(0x1a1)]=!0x0,clearTimeout(this[_0x19ef2e(0x1ff)]),this[_0x19ef2e(0x1ff)]=setTimeout(()=>{const _0x4c0fce=_0x19ef2e;this[_0x4c0fce(0x20e)]()[_0x4c0fce(0x1ab)](_0x42071c=>{const _0x7f661b=_0x4c0fce;_0x42071c&&(this[_0x7f661b(0x18f)](),this[_0x7f661b(0x1a1)]=!0x1);})[_0x4c0fce(0x1d7)](_0x16139c=>{const _0x5d8473=_0x4c0fce;this[_0x5d8473(0x18f)](),this[_0x5d8473(0x1a1)]=!0x1,function(_0x39938f){const _0x3ca9e1=_0x5d8473;return _0x39938f[_0x3ca9e1(0x17a)][_0x3ca9e1(0x20a)](_0x3ca9e1(0x232))||_0x39938f[_0x3ca9e1(0x17a)][_0x3ca9e1(0x20a)](_0x3ca9e1(0x15b))||_0x39938f[_0x3ca9e1(0x17a)][_0x3ca9e1(0x20a)](_0x3ca9e1(0x256));}(_0x16139c)||this[_0x5d8473(0x1d2)](_0x16139c[_0x5d8473(0x17a)],_0x16139c);});},this[_0x19ef2e(0x208)]));}[_0x239d7b(0x21f)](){return new Promise(_0x8237f9=>{const _0x4f9c61=_0xeaa5;this['on'](_0x4f9c61(0x23d),()=>{_0x8237f9();});});}async[_0x239d7b(0x20e)](){const _0x3835b5=_0x239d7b,_0x631b4e=this[_0x3835b5(0x1af)][_0x3835b5(0x1e5)][_0x3835b5(0x176)](_0x1aaefb);if(this[_0x3835b5(0x17b)]()&&(_0x631b4e[_0x3835b5(0x223)](),this[_0x3835b5(0x1b7)]=!0x1),!this[_0x3835b5(0x198)]())return!0x0;const _0x401651=[...this[_0x3835b5(0x244)]];for(const _0x325080 of _0x401651)_0x325080[_0x3835b5(0x1f5)]=this[_0x3835b5(0x1f6)][_0x3835b5(0x1cc)][_0x3835b5(0x1d3)](_0x325080);const _0x18649b=this[_0x3835b5(0x184)][_0x3835b5(0x1f4)](_0x401651),_0xc49c57=Q++,_0x450c03=this[_0x3835b5(0x1a8)](_0x401651),_0x540d45=await this[_0x3835b5(0x174)][_0x3835b5(0x259)](_0x450c03,_0x450c03[_0x3835b5(0x249)],_0x18649b);try{return await this[_0x3835b5(0x21a)](_0x401651,_0x540d45,_0xc49c57);}catch(_0x5e982b){return this[_0x3835b5(0x1d2)](_0x3835b5(0x245),_0x5e982b);}}async[_0x239d7b(0x21a)](_0x1a763b,_0x41610b,_0x527b26){const _0x1e6b0c=_0x239d7b;if(_0x1e6b0c(0x175)in _0x41610b)throw _0x41610b[_0x1e6b0c(0x175)];let _0x285c6d=!0x1;if(_0x41610b[_0x1e6b0c(0x239)]){_0x41610b[_0x1e6b0c(0x23c)]&&(this[_0x1e6b0c(0x168)]=_0x41610b[_0x1e6b0c(0x23c)]),this[_0x1e6b0c(0x244)]=this[_0x1e6b0c(0x244)][_0x1e6b0c(0x161)](_0x4021e6=>!_0x1a763b[_0x1e6b0c(0x1cf)](_0x4021e6));for(const _0x19b2f1 of _0x1a763b)_0x19b2f1[_0x1e6b0c(0x1a5)]=_0x1e6b0c(0x1c1)in _0x41610b&&_0x41610b[_0x1e6b0c(0x1c1)]||void 0x0;Y(_0x1a763b,_0x41610b[_0x1e6b0c(0x1b2)]-_0x1a763b[_0x1e6b0c(0x16f)]),this[_0x1e6b0c(0x1da)](_0x1a763b);const _0x5cd017=_0x1a763b[_0x1e6b0c(0x161)](_0x272768=>{const _0x40cb3c=_0x1e6b0c;if(!_0x272768[_0x40cb3c(0x233)])return!0x1;const _0xb10b90=this[_0x40cb3c(0x227)](_0x272768);return _0xb10b90&&!this[_0x40cb3c(0x18b)][_0x40cb3c(0x202)](_0xb10b90);});Y(_0x5cd017,this[_0x1e6b0c(0x1f6)][_0x1e6b0c(0x1b2)]),this[_0x1e6b0c(0x235)](_0x5cd017),_0x285c6d=!0x0,this[_0x1e6b0c(0x208)]=this[_0x1e6b0c(0x254)];}else{const _0x2f0b65=this[_0x1e6b0c(0x1bf)](_0x41610b[_0x1e6b0c(0x1f3)],_0x41610b[_0x1e6b0c(0x220)])[_0x1e6b0c(0x161)](_0x4d36fc=>_0x4d36fc[_0x1e6b0c(0x249)]>=this[_0x1e6b0c(0x16d)]);_0x2f0b65[_0x1e6b0c(0x167)](_0x1d543b=>this[_0x1e6b0c(0x247)](_0x1d543b)),this[_0x1e6b0c(0x244)]=this[_0x1e6b0c(0x244)][_0x1e6b0c(0x161)](_0x1b3392=>!_0x1b3392[_0x1e6b0c(0x233)]||!this[_0x1e6b0c(0x18b)][_0x1e6b0c(0x202)](this[_0x1e6b0c(0x227)](_0x1b3392))),this[_0x1e6b0c(0x244)][_0x1e6b0c(0x16f)]&&Y(this[_0x1e6b0c(0x244)],this[_0x1e6b0c(0x244)][0x0][_0x1e6b0c(0x249)]),await this[_0x1e6b0c(0x250)](_0x2f0b65),_0x285c6d=this[_0x1e6b0c(0x19e)](_0x2f0b65,_0x41610b[_0x1e6b0c(0x1b2)],_0x41610b[_0x1e6b0c(0x23c)]),this[_0x1e6b0c(0x208)]=Math[_0x1e6b0c(0x15a)](this[_0x1e6b0c(0x208)]/0x2);}return _0x285c6d?!this[_0x1e6b0c(0x198)]()||(this[_0x1e6b0c(0x201)](!0x0),!0x1):this[_0x1e6b0c(0x1d2)](_0x1e6b0c(0x1bd));}[_0x239d7b(0x19e)](_0x44ace7,_0x4b6eef,_0x17ff33){const _0xa342b=_0x239d7b;try{const _0x12cb1d={'document':this[_0xa342b(0x1f6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3c33a6,operationsB:_0xf5daf9,originalOperations:_0x33338b}=_0x11de3a(_0x44ace7,this[_0xa342b(0x244)],_0x12cb1d);Y(_0x3c33a6,this[_0xa342b(0x1f6)][_0xa342b(0x1b2)]),Y(_0xf5daf9,_0x4b6eef);for(const _0x87dae6 of _0x3c33a6){const _0x255b38=_0x33338b[_0xa342b(0x176)](_0x87dae6);_0x87dae6[_0xa342b(0x242)]=_0x255b38?_0x255b38[_0xa342b(0x242)]:null;}_0x17ff33&&(this[_0xa342b(0x184)][_0xa342b(0x178)](_0x44ace7,_0x17ff33),this[_0xa342b(0x168)]=_0x17ff33),this[_0xa342b(0x244)]=[..._0xf5daf9],this[_0xa342b(0x235)](_0x3c33a6),this[_0xa342b(0x1da)](_0x44ace7);}catch(_0x5e3e48){return console[_0xa342b(0x175)](_0x5e3e48),!0x1;}return!0x0;}[_0x239d7b(0x235)](_0x59bd21,_0x464b11=!0x1){const _0x31dcad=_0x239d7b;this[_0x31dcad(0x1af)][_0x31dcad(0x1b6)][_0x31dcad(0x24f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55b784=>{const _0x115a96=_0x31dcad;for(const _0x7ea65f of _0x59bd21)this[_0x115a96(0x22e)][_0x115a96(0x1fe)](_0x7ea65f),this[_0x115a96(0x247)](_0x7ea65f),_0x55b784[_0x115a96(0x1e3)][_0x115a96(0x179)](_0x7ea65f),this[_0x115a96(0x1af)][_0x115a96(0x1b6)][_0x115a96(0x1c2)](_0x7ea65f);});}[_0x239d7b(0x247)](_0x416801){const _0x24b3fe=_0x239d7b,_0x457b2d=this[_0x24b3fe(0x227)](_0x416801);_0x457b2d&&this[_0x24b3fe(0x18b)][_0x24b3fe(0x1fe)](_0x457b2d);}[_0x239d7b(0x227)](_0x192bb4){const _0x43d993=_0x239d7b;let _0x346c99,_0x4208fe;switch(_0x192bb4[_0x43d993(0x192)]){case _0x43d993(0x1d4):_0x346c99=_0x192bb4[_0x43d993(0x154)][_0x43d993(0x16a)];break;case _0x43d993(0x1cd):if(_0x4208fe=_0x192bb4[_0x43d993(0x229)],!_0x4208fe)return null;_0x346c99=_0x4208fe[_0x43d993(0x16a)];break;case _0x43d993(0x195):_0x346c99=_0x192bb4[_0x43d993(0x16a)];break;case _0x43d993(0x200):_0x346c99=_0x192bb4[_0x43d993(0x1c4)];break;case _0x43d993(0x1f0):_0x346c99=_0x192bb4[_0x43d993(0x212)][_0x43d993(0x16a)];break;default:return null;}return _0x346c99[_0x43d993(0x188)];}[_0x239d7b(0x1da)](_0x5dc43b){const _0x4b45d0=_0x239d7b;_0x5dc43b[_0x4b45d0(0x167)](_0x3e2d17=>{const _0x55da4e=_0x4b45d0,_0xc0ea56=_0x3e2d17[_0x55da4e(0x1e0)]();_0xc0ea56[_0x55da4e(0x242)]=_0x3e2d17[_0x55da4e(0x242)],_0xc0ea56[_0x55da4e(0x233)]=!!_0x3e2d17[_0x55da4e(0x233)],_0xc0ea56[_0x55da4e(0x1a5)]=_0x3e2d17[_0x55da4e(0x1a5)],_0xc0ea56[_0x55da4e(0x249)]+=this[_0x55da4e(0x215)],_0x3e2d17[_0x55da4e(0x17d)]&&this[_0x55da4e(0x18d)][_0x55da4e(0x1fe)](_0xc0ea56),this[_0x55da4e(0x1ac)][_0x55da4e(0x179)](_0xc0ea56);});}[_0x239d7b(0x255)](_0x2a5367){const _0x49698b=_0x239d7b,_0x425ed8=this[_0x49698b(0x1af)][_0x49698b(0x1e5)][_0x49698b(0x176)](_0x49698b(0x194)),_0x41cd1=this[_0x49698b(0x1af)][_0x49698b(0x1ec)];_0x2a5367||(_0x2a5367=_0x18fee4(_0x41cd1,_0x49698b(0x19f))),_0x425ed8[_0x49698b(0x24e)](_0x2a5367,{'title':_0x18fee4(_0x41cd1,_0x49698b(0x1aa)),'namespace':_0x49698b(0x199)}),this[_0x49698b(0x15e)]=!0x0,clearTimeout(this[_0x49698b(0x1ff)]),this[_0x49698b(0x244)]=[],this[_0x49698b(0x1af)][_0x49698b(0x1e5)][_0x49698b(0x176)](_0xc7c81b)[_0x49698b(0x173)]();}[_0x239d7b(0x1ad)](){const _0x3b3552=_0x239d7b;this[_0x3b3552(0x253)]||(this[_0x3b3552(0x253)]=this[_0x3b3552(0x1af)][_0x3b3552(0x1e5)][_0x3b3552(0x176)](_0x5ba1a5)[_0x3b3552(0x1fe)](_0x18fee4(this[_0x3b3552(0x1af)][_0x3b3552(0x1ec)],_0x3b3552(0x16b))));}[_0x239d7b(0x18f)](){const _0x1d1f3d=_0x239d7b;this[_0x1d1f3d(0x253)]&&(this[_0x1d1f3d(0x1af)][_0x1d1f3d(0x1e5)][_0x1d1f3d(0x176)](_0x5ba1a5)[_0x1d1f3d(0x165)](this[_0x1d1f3d(0x253)]),this[_0x1d1f3d(0x253)]=null);}[_0x239d7b(0x1a8)](_0x11d66a){const _0xc8438a=_0x239d7b,_0x3c2e2b=_0x11d66a[_0xc8438a(0x15f)](_0x3ed132=>_0x3ed132[_0xc8438a(0x1fb)]());return this[_0xc8438a(0x22c)][_0xc8438a(0x241)](_0x3c2e2b);}[_0x239d7b(0x1bf)](_0x5bc8c7,_0x568177){const _0x438e33=_0x239d7b;return this[_0x438e33(0x22c)][_0x438e33(0x155)](_0x5bc8c7)[_0x438e33(0x15f)]((_0x420def,_0x122264)=>{const _0x220158=_0x438e33,_0x2bc8f9=_0x220158(0x158)==_0x568177[_0x122264][_0x220158(0x192)];if(_0x220158(0x16c)==_0x420def[_0x220158(0x1f1)]){const _0x23e64d=_0x420def[_0x220158(0x154)][_0x220158(0x16a)];!this[_0x220158(0x1f6)][_0x220158(0x221)](_0x23e64d)&&(this[_0x220158(0x1f6)][_0x220158(0x240)](_0x220158(0x1c5),_0x23e64d)[_0x220158(0x23b)]=!0x1);}const _0x3b7aca=_0x587caa[_0x220158(0x217)](_0x420def,this[_0x220158(0x1f6)]);return _0x3b7aca[_0x220158(0x1f5)]=_0x420def[_0x220158(0x1f5)],_0x3b7aca[_0x220158(0x233)]=_0x2bc8f9,_0x3b7aca[_0x220158(0x242)]=_0x2bc8f9?null:_0x568177[_0x122264][_0x220158(0x1d5)],_0x3b7aca[_0x220158(0x17d)]=_0x220158(0x225)===_0x568177[_0x122264][_0x220158(0x192)],_0x3b7aca[_0x220158(0x1a5)]=_0x568177[_0x122264][_0x220158(0x1a5)],_0x3b7aca;});}[_0x239d7b(0x1f8)](){const _0x2c8bc0=_0x239d7b;this[_0x2c8bc0(0x1b7)]=!0x0,this[_0x2c8bc0(0x17b)]()?this[_0x2c8bc0(0x201)]():this[_0x2c8bc0(0x1b7)]=!0x1;}[_0x239d7b(0x17b)](){const _0x2a3a44=_0x239d7b,_0x2b930a=this[_0x2a3a44(0x1af)][_0x2a3a44(0x1e5)][_0x2a3a44(0x176)](_0x174557)[_0x2a3a44(0x17e)][_0x2a3a44(0x176)](this[_0x2a3a44(0x24c)]);return!this[_0x2a3a44(0x1af)][_0x2a3a44(0x238)]&&!!_0x2b930a&&_0x2b930a[_0x2a3a44(0x16f)]>0x1&&this[_0x2a3a44(0x1b7)];}[_0x239d7b(0x198)](){const _0xf2e963=_0x239d7b;return this[_0xf2e963(0x244)][_0xf2e963(0x16f)]>0x0||this[_0xf2e963(0x17b)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x18a4ab,_0x269dd6){const _0x5b32b0=_0x239d7b;for(const _0x2010cf of _0x18a4ab)_0x2010cf[_0x5b32b0(0x249)]=_0x269dd6++;}class Z{[_0x239d7b(0x24b)];[_0x239d7b(0x19c)];constructor(_0x20a85e){const _0x25066d=_0x239d7b;this[_0x25066d(0x24b)]=_0x20a85e,this[_0x25066d(0x19c)]=new WeakMap();}[_0x239d7b(0x1f4)](_0x292b77){const _0x4dfe6b=_0x239d7b;let _0x3a2896=_0x292b77[_0x4dfe6b(0x16f)];for(;_0x3a2896--;){const _0x5392d2=_0x292b77[_0x3a2896];if(!this[_0x4dfe6b(0x24b)][_0x4dfe6b(0x202)](_0x5392d2)){if(!this[_0x4dfe6b(0x19c)][_0x4dfe6b(0x202)](_0x5392d2)){const _0x3d68d7=_0x4da281()[_0x4dfe6b(0x1f7)](0x1,0x12);this[_0x4dfe6b(0x19c)][_0x4dfe6b(0x18c)](_0x5392d2,_0x3d68d7);}return this[_0x4dfe6b(0x19c)][_0x4dfe6b(0x176)](_0x5392d2);}}}[_0x239d7b(0x178)](_0x3332a0,_0x2b64ac){const _0x4d12c7=_0x239d7b;if(!_0x2b64ac)return;let _0x5997e6=_0x3332a0[_0x4d12c7(0x16f)];for(;_0x5997e6--;){const _0x54ef23=_0x3332a0[_0x5997e6];this[_0x4d12c7(0x24b)][_0x4d12c7(0x202)](_0x54ef23)||this[_0x4d12c7(0x19c)][_0x4d12c7(0x18c)](_0x54ef23,_0x2b64ac);}}}
23
+ const _0x50b64d=_0x160f;(function(_0x1e2276,_0x5472b5){const _0x2dacae=_0x160f,_0x9f1ce8=_0x1e2276();while(!![]){try{const _0x36a219=parseInt(_0x2dacae(0x16f))/0x1*(-parseInt(_0x2dacae(0x157))/0x2)+-parseInt(_0x2dacae(0xba))/0x3*(parseInt(_0x2dacae(0xd2))/0x4)+-parseInt(_0x2dacae(0x86))/0x5*(parseInt(_0x2dacae(0x137))/0x6)+-parseInt(_0x2dacae(0x87))/0x7+parseInt(_0x2dacae(0x139))/0x8*(parseInt(_0x2dacae(0xd3))/0x9)+parseInt(_0x2dacae(0xbd))/0xa+parseInt(_0x2dacae(0x164))/0xb;if(_0x36a219===_0x5472b5)break;else _0x9f1ce8['push'](_0x9f1ce8['shift']());}catch(_0x3067cf){_0x9f1ce8['push'](_0x9f1ce8['shift']());}}}(_0x478f,0x9b091));import{Plugin as _0x5d8bc5,PendingActions as _0x485d5f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f33d7,version as _0x464c47,uid as _0x596176}from'ckeditor5/src/utils.js';import{Notification as _0x216b94}from'ckeditor5/src/ui.js';function _0x478f(){const _0x102293=['startsWith','addToReconnectionStack','Synchronization\x20issue','applyOperation','path','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.','state','_waitUntilSynced','editing','disconnected','change:_isEditingAllowed','permissions','disconnect','version','getIdOfTheLastOperation','CollaborativeEditingService','_isPendingUpdate','409','off','collaboration-missing-channelid','stopListening','locale','_crash','realtimecollaborationclient','markers','getOperations','createdAt','_offset','_channelId','connection','apply','enqueueChange','_isConnected','setPermissions','getDocumentDetails','createPositionFromPath','rootName','_sendBufferedOperationsDelayId','affectedSelectable','_handleServerResponse','finally','reset','addUser','_applyOperationsSet','_clearPendingAction','_decompressOperations','map','define','sessionCreatedAt','clone','_lastSyncedOperationId','userId','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.','push','_service','lastOperationAcceptedAt','move','rtc-destroyed','createRange','collaboration.channelId','realtimecollaborationclient-error','126PJRsuX','_shouldSendUpdate','1016bEKtzU','_connectService','collaboration','setIdForTheLastOperation','sessionId','register','_knownOperations','change:range','change:hasDomSelection','remove','addRoot','realtimecollaborationclient-init-document-already-initialized','set','_disconnectionOperations','_isInit','_handleReconnectionError','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','affectsData','entries','start','Notification','size','cloudDocumentVersion','parse','removeFromReconnectionStack','currentDocumentSession','_addKnownRoot','requires','_compressOperations','catch','1939188tvJqFF','newRange','_handleReceivedOperations','metadata','_updateServerHistory','_isLoaded','realtimecollaborationclient-init-service-incorrect-server-operation','_compressor','404','RealTimeCollaborationClient','get','_isEditingAllowed','directChange','30395673jetlsn','offset','_loadRoot','realtimecollaborationclient-init-service-internal-error','getMany','forEach','error','_bufferRootLoad','_ignoredOperations','_setUpDataInit','isUndoneOperation','1NoAXKB','disableReadOnlyMode','_pendingAction','config','realtimecollaborationclient-init-non-existent-root','showWarning','model','root','differ','_hasSynchronizationProblem','marker','fromJSON','getConnectedSessions','isEnabled','sendOperations','lastDocumentSession','_handleExternalOperations','_sendBufferedOperations','bind','fire','_document','high','realtimecollaborationclient-handleserverresponse','_refreshUserSelectionMarkers','pluginName','cs:removeUser','multi-root-editor-root-attributes-no-root','PENDING_ACTION_SENDING_DATA','lastOperationId','CommentsOnly','300505JdXMrh','1263311cfJwJy','__className','Permissions','_operationIdentifier','has','suppressErrorInCollaboration','from','connected','_baseBufferDelay','position','isReadOnly','_connectAfterSessionHasBeenFlushed','view','data','serverHistory','_setPendingAction','isDocumentOperation','_initSessionsHandling','includes','filter','isOfficialPlugin','connect','realtimecollaborationclient-init-session-connection-error','then','_operationToId','targetPosition','add','plugins','InsertOperation','isPremiumPlugin','ready','init','_hasSelectionChanged','_fetchMissingUsers','_handleReconnectionResponse','toJSON','realtimecollaborationclient-sendbufferedoperations','sessionAdd:','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','code','type','_handleSendingSelectionMarkers','createRoot','rtc-offline','realtimecollaborationclient-init-connection-failed','insert','_getAffectedRoot','operationsReceived','cloud-services-internal-error:\x20Request\x20timeout.','roots','document:write','2514723UxsiWB','end','wereChangesApplied','2159390efNWJN','reconnection:\x20flushed\x20session','_currentBufferDelay','real-time-collaboration','addOperation','wasUndone','_bufferedOperations','keys','_sendBufferedOperationsDelayed','$root','_isDisconnection','_getOperationsFromInitData','rootsAttributes','initData','_knownRootNames','slice','compress','enableReadOnlyMode','editor','decompress','lastSyncVersion','4Pabsjb','64224CmYkMw','mySessionId','stop','string','history','listenTo','addRootAttribute','_handleInitialConnectionData','change:_isPendingUpdate','_authorId','attributes','_isAttached','batch','_disconnectService','baseVersion','unregister','cloudServices.bundleVersion','_lastServerVersion','channelSessions','_saveOperationInBuffer','getRoot','createPositionAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','loadRoot','cloud-services-internal-error:\x20Not\x20connected.','selection','document','length','reconnect','return','_initThrowingOnDataSet','getUser','destroy','createUserMarkerOperations','getOperationAuthor','round','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','message','_shouldSendSelectionUpdate'];_0x478f=function(){return _0x102293;};return _0x478f();}function _0x160f(_0x1de1bb,_0x1330c8){const _0x478fd7=_0x478f();return _0x160f=function(_0x160f01,_0x5bd529){_0x160f01=_0x160f01-0x73;let _0x54494c=_0x478fd7[_0x160f01];return _0x54494c;},_0x160f(_0x1de1bb,_0x1330c8);}import{transformOperationSets as _0x3f1854,NoOperation as _0x2ab932,InsertOperation as _0x171d3d,MarkerOperation as _0x2173be,RootAttributeOperation as _0x761e99,OperationFactory as _0x97632e,History as _0xb8e312}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x505a49}from'./websocketgateway.js';import{Sessions as _0x3da466}from'./sessions.js';import{UserMarkers as _0x277e2b}from'./usermarkers.js';import{getTranslation as _0x580bf5}from'../common-translations.js';import{Compressor as _0x375590}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1d200b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x241ed5,CollaborativeEditingService as _0x3d553b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x5d8bc5{static [_0x50b64d(0x109)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3d553b)());[_0x50b64d(0x115)];[_0x50b64d(0x13d)];[_0x50b64d(0x95)];[_0x50b64d(0x116)];[_0x50b64d(0x130)];[_0x50b64d(0x7c)];[_0x50b64d(0x15e)];[_0x50b64d(0xc3)];[_0x50b64d(0x13f)];[_0x50b64d(0xcb)];[_0x50b64d(0x171)];[_0x50b64d(0xa7)];[_0x50b64d(0x11f)];[_0x50b64d(0x8f)];[_0x50b64d(0xbf)];[_0x50b64d(0x12c)];[_0x50b64d(0x146)];[_0x50b64d(0x8a)];static get[_0x50b64d(0x154)](){return[_0x505a49,_0x3da466,_0x277e2b,_0x485d5f,_0x1d200b,_0x216b94];}static get[_0x50b64d(0x80)](){const _0x90e980=_0x50b64d;return _0x90e980(0x160);}static get[_0x50b64d(0x9b)](){return!0x0;}static get[_0x50b64d(0xa4)](){return!0x0;}get[_0x50b64d(0x14f)](){const _0x420483=_0x50b64d;return this[_0x420483(0xe4)]+this[_0x420483(0x115)];}get[_0x50b64d(0xe4)](){const _0x5e43c1=_0x50b64d;return this[_0x5e43c1(0x95)][_0x5e43c1(0x107)]-this[_0x5e43c1(0x115)];}get[_0x50b64d(0xd1)](){const _0x3b45e9=_0x50b64d,_0x2057ab=this[_0x3b45e9(0x95)][_0x3b45e9(0x113)]();for(let _0x57d090=_0x2057ab[_0x3b45e9(0xee)]-0x1;_0x57d090>=0x0;_0x57d090--){const _0x13cb90=_0x2057ab[_0x57d090];if(!this[_0x3b45e9(0x146)][_0x3b45e9(0x8b)](_0x13cb90))return _0x13cb90[_0x3b45e9(0xe1)]+0x1-this[_0x3b45e9(0x115)];}return 0x0;}constructor(_0x249792){const _0x17b3ec=_0x50b64d;if(super(_0x249792),this[_0x17b3ec(0x115)]=0x0,this[_0x17b3ec(0x13d)]=null,this[_0x17b3ec(0x95)]=new _0xb8e312(),this[_0x17b3ec(0xcf)][_0x17b3ec(0x172)][_0x17b3ec(0x129)](_0x17b3ec(0x13b),{}),this[_0x17b3ec(0x116)]=this[_0x17b3ec(0xcf)][_0x17b3ec(0x172)][_0x17b3ec(0x161)](_0x17b3ec(0x135)),!this[_0x17b3ec(0x116)])throw new _0x1f33d7(_0x17b3ec(0x10d),this);const _0xc738f6=_0x249792[_0x17b3ec(0x172)][_0x17b3ec(0x161)](_0x17b3ec(0xe3))||_0x464c47;this[_0x17b3ec(0x130)]=new l[(_0x17b3ec(0x109))](_0xc738f6,this[_0x17b3ec(0x116)]),this[_0x17b3ec(0x7c)]=this[_0x17b3ec(0xcf)][_0x17b3ec(0x175)][_0x17b3ec(0xed)],this[_0x17b3ec(0x15e)]=new _0x375590(),this[_0x17b3ec(0xc3)]=[],this[_0x17b3ec(0x13f)]=new WeakSet(),this[_0x17b3ec(0xcb)]=new Set(),this[_0x17b3ec(0x145)](_0x17b3ec(0x10a),!0x1),this[_0x17b3ec(0x145)](_0x17b3ec(0x178),!0x1),this[_0x17b3ec(0x171)]=null,this[_0x17b3ec(0xa7)]=!0x1,this[_0x17b3ec(0x11f)]=null,this[_0x17b3ec(0x8f)]=0x12c,this[_0x17b3ec(0xbf)]=this[_0x17b3ec(0x8f)],this[_0x17b3ec(0x12c)]=null,this[_0x17b3ec(0x146)]=new WeakSet(),this[_0x17b3ec(0x8a)]=new F(this[_0x17b3ec(0x146)]);}[_0x50b64d(0xa6)](){const _0x5e2b85=_0x50b64d,_0x226bb6=this[_0x5e2b85(0xcf)],_0x333b5b=_0x226bb6[_0x5e2b85(0xa2)][_0x5e2b85(0x161)](_0x1d200b),_0x168370=_0x226bb6[_0x5e2b85(0xa2)][_0x5e2b85(0x161)](_0x505a49);this[_0x5e2b85(0xd8)](_0x333b5b,_0x5e2b85(0xf5),(_0x3721cc,_0x5f045d)=>{const _0x152cab=_0x5e2b85,_0x493857=_0x5f045d[0x0];_0x493857[_0x152cab(0xdc)]&&(_0x3721cc[_0x152cab(0xf0)]=_0x333b5b[_0x152cab(0xf2)](_0x493857[_0x152cab(0xdc)]),_0x3721cc[_0x152cab(0xd5)]()),null===_0x493857[_0x152cab(0xdc)]&&(_0x3721cc[_0x152cab(0xf0)]=null,_0x3721cc[_0x152cab(0xd5)]());},{'priority':_0x5e2b85(0x7d)}),this[_0x5e2b85(0xd8)](_0x226bb6[_0x5e2b85(0x175)][_0x5e2b85(0xed)][_0x5e2b85(0xec)],_0x5e2b85(0x140),(_0x627b74,_0x3ca1ed)=>{const _0x59f66f=_0x5e2b85;_0x3ca1ed[_0x59f66f(0x163)]&&this[_0x59f66f(0x7f)]();}),this[_0x5e2b85(0xd8)](_0x226bb6[_0x5e2b85(0x102)][_0x5e2b85(0x93)],_0x5e2b85(0x141),()=>{const _0x26b94c=_0x5e2b85;this[_0x26b94c(0x7f)]();}),this[_0x5e2b85(0xf1)](),_0x226bb6[_0x5e2b85(0x175)]['on'](_0x5e2b85(0xfd),(_0x363a72,_0x29ce4b)=>{const _0x51d520=_0x5e2b85,_0x5c459b=_0x29ce4b[0x0];_0x5c459b[_0x51d520(0x97)]&&(this[_0x51d520(0xe6)](_0x5c459b),this[_0x51d520(0x138)]()&&this[_0x51d520(0xc5)]());}),this[_0x5e2b85(0x16d)](),this[_0x5e2b85(0x7a)](_0x5e2b85(0x162))['to'](_0x168370,_0x5e2b85(0x100),this,_0x5e2b85(0x178),(_0x5472c3,_0x38a519)=>_0x5e2b85(0x8e)===_0x5472c3&&!_0x38a519),this['on'](_0x5e2b85(0x104),()=>{const _0x30d3dc=_0x5e2b85;this[_0x30d3dc(0x162)]?_0x226bb6[_0x30d3dc(0x170)](_0x30d3dc(0xb2)):_0x226bb6[_0x30d3dc(0xce)](_0x30d3dc(0xb2));}),this[_0x5e2b85(0x162)]?_0x226bb6[_0x5e2b85(0x170)](_0x5e2b85(0xb2)):_0x226bb6[_0x5e2b85(0xce)](_0x5e2b85(0xb2)),this[_0x5e2b85(0x145)](_0x5e2b85(0x11a),!0x1);}async[_0x50b64d(0xef)](){const _0x50b1c0=_0x50b64d,_0x7fb608=this[_0x50b1c0(0xcf)][_0x50b1c0(0xa2)][_0x50b1c0(0x161)](_0x3da466),_0x1342f6=this[_0x50b1c0(0xcf)][_0x50b1c0(0xa2)][_0x50b1c0(0x161)](_0x505a49);try{this[_0x50b1c0(0x10a)]=!0x0,_0x7fb608[_0x50b1c0(0xe2)](this[_0x50b1c0(0x116)]);const _0x56a30a=await this[_0x50b1c0(0x130)][_0x50b1c0(0xef)](_0x1342f6[_0x50b1c0(0x117)],this[_0x50b1c0(0xd1)]);await this[_0x50b1c0(0xa9)](_0x56a30a)&&(this[_0x50b1c0(0x10a)]=!0x1,this[_0x50b1c0(0x126)]());const _0x4944f1=await this[_0x50b1c0(0x130)][_0x50b1c0(0x74)]();_0x7fb608[_0x50b1c0(0x13e)](this[_0x50b1c0(0x116)],_0x4944f1),this[_0x50b1c0(0xb0)](),this[_0x50b1c0(0x11a)]=!0x0;}catch(_0x3cac4a){if(function(_0x517ea6){const _0x5429b7=_0x50b1c0;return _0x5429b7(0x15f)===_0x517ea6[_0x5429b7(0xae)];}(_0x3cac4a)&&this[_0x50b1c0(0x13d)])await this[_0x50b1c0(0x92)]();else{if(function(_0x102954){const _0x146f36=_0x50b1c0;return _0x146f36(0x10b)===_0x102954[_0x146f36(0xae)];}(_0x3cac4a)){const _0x485b9d=_0x580bf5(this[_0x50b1c0(0xcf)][_0x50b1c0(0x10f)],_0x50b1c0(0xad));this[_0x50b1c0(0x148)](_0x485b9d);}else{if(!(_0x3cac4a instanceof V))throw _0x3cac4a;this[_0x50b1c0(0x148)]();}}}}[_0x50b64d(0xf3)](){const _0x147594=_0x50b64d,_0x4f4ac5=this[_0x147594(0xcf)][_0x147594(0xa2)][_0x147594(0x161)](_0x505a49),_0x42f953=this[_0x147594(0xcf)][_0x147594(0xa2)][_0x147594(0x161)](_0x3da466);this[_0x147594(0xcf)][_0x147594(0xce)](_0x147594(0x133)),_0x42f953[_0x147594(0xe5)][_0x147594(0x8b)](this[_0x147594(0x116)])&&_0x42f953[_0x147594(0xe2)](this[_0x147594(0x116)]),_0x4f4ac5[_0x147594(0x151)](this),this[_0x147594(0xe0)](),super[_0x147594(0xf3)]();}async[_0x50b64d(0xa9)](_0x1f98b4){const _0x60c54=_0x50b64d;if(this[_0x60c54(0x13d)]!==_0x1f98b4[_0x60c54(0x13d)]&&this[_0x60c54(0x12c)]!==_0x1f98b4[_0x60c54(0x84)])throw new V();return this[_0x60c54(0x13d)]=_0x1f98b4[_0x60c54(0x13d)],this[_0x60c54(0x121)]([],{..._0x1f98b4,'wereChangesApplied':!0x1,'data':_0x1f98b4[_0x60c54(0x94)]},_0x60c54(0xef));}async[_0x50b64d(0x13a)](_0x3ce52c,_0x36d431=!0x1){const _0x569c34=_0x50b64d,{connection:_0x5c7589}=this[_0x569c34(0xcf)][_0x569c34(0xa2)][_0x569c34(0x161)](_0x505a49);l[_0x569c34(0x109)][_0x569c34(0x74)](_0x5c7589,this[_0x569c34(0x116)])[_0x569c34(0x9e)](_0x2f1a50=>this[_0x569c34(0x98)](_0x2f1a50))[_0x569c34(0x156)](_0x5a2a4e=>{const _0x2940c7=_0x569c34;this[_0x2940c7(0x110)](_0x2940c7(0x9d),_0x5a2a4e);}),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0xb6),this[_0x569c34(0x159)][_0x569c34(0x7a)](this)),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0x16a),(_0x2d1028,_0x5600fd)=>{const _0x1f7002=_0x569c34;this[_0x1f7002(0x110)](_0x1f7002(0x167),_0x5600fd);}),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0x103),()=>{const _0x18f2e3=_0x569c34;this[_0x18f2e3(0x11a)]=!0x1;});const _0x3b280c=this[_0x569c34(0x8a)][_0x569c34(0x108)](_0x3ce52c);this[_0x569c34(0x10a)]=!0x0;const _0x278b29=await this[_0x569c34(0x130)][_0x569c34(0x9c)](_0x5c7589,this[_0x569c34(0x155)](_0x3ce52c),_0x3b280c);if(this[_0x569c34(0x13d)]=_0x278b29[_0x569c34(0x13d)],_0x36d431){if(!_0x278b29[_0x569c34(0xbc)])return void this[_0x569c34(0x148)]();this[_0x569c34(0x10a)]=!0x1,this[_0x569c34(0x126)](),this[_0x569c34(0x95)][_0x569c34(0x123)](),this[_0x569c34(0x115)]=_0x278b29[_0x569c34(0x165)],this[_0x569c34(0x95)][_0x569c34(0x107)]=this[_0x569c34(0x115)],await this[_0x569c34(0x121)](_0x3ce52c,_0x278b29,_0x569c34(0xbe));}else await this[_0x569c34(0xda)](_0x278b29,_0x3ce52c);this[_0x569c34(0xb0)](),this[_0x569c34(0x11a)]=!0x0;}[_0x50b64d(0xb0)](){const _0x35ce07=_0x50b64d,_0x5f1d67=this[_0x35ce07(0xcf)][_0x35ce07(0xa2)][_0x35ce07(0x161)](_0x3da466),_0x56c165=this[_0x35ce07(0xcf)][_0x35ce07(0xa2)][_0x35ce07(0x161)](_0x277e2b),_0x27cac9=_0x5f1d67[_0x35ce07(0xe5)][_0x35ce07(0x161)](this[_0x35ce07(0x116)]);_0x27cac9&&_0x27cac9[_0x35ce07(0xee)]>0x1?_0x56c165[_0x35ce07(0xf4)]():this[_0x35ce07(0xd8)](_0x5f1d67,_0x35ce07(0xac)+this[_0x35ce07(0x116)],()=>{const _0x4f0df6=_0x35ce07;0x2===_0x5f1d67[_0x4f0df6(0xe5)][_0x4f0df6(0x161)](this[_0x4f0df6(0x116)])[_0x4f0df6(0xee)]&&_0x56c165[_0x4f0df6(0xf4)]();});}async[_0x50b64d(0x159)](_0xb481df,_0x1b357c,_0x414256,_0x29b1e7){const _0x52ab6b=_0x50b64d;if(!this[_0x52ab6b(0x10a)]&&this[_0x52ab6b(0x7c)][_0x52ab6b(0x107)]==_0x1b357c){const _0x1305dd=this[_0x52ab6b(0x127)](_0x414256,_0x29b1e7);await this[_0x52ab6b(0xa8)](_0x1305dd),this[_0x52ab6b(0x78)](_0x1305dd,_0x1b357c,_0x414256[_0x52ab6b(0x84)])||this[_0x52ab6b(0x110)](_0x52ab6b(0x15d));}}async[_0x50b64d(0x92)](){const _0x4569cc=_0x50b64d;this[_0x4569cc(0xe0)]();const {locale:_0x4c25d9}=this[_0x4569cc(0xcf)];let _0x3bb644;try{_0x3bb644=await this[_0x4569cc(0x130)][_0x4569cc(0x11c)]();}catch{const _0x15552f=_0x580bf5(_0x4c25d9,_0x4569cc(0xe9));return void this[_0x4569cc(0x148)](_0x15552f);}const _0x51b2e0=_0x3bb644[_0x4569cc(0x152)]||_0x3bb644[_0x4569cc(0x77)];if(this[_0x4569cc(0x12c)]!==_0x51b2e0[_0x4569cc(0x84)]){const _0x409891=_0x580bf5(_0x4c25d9,_0x4569cc(0xff));return void this[_0x4569cc(0x148)](_0x409891);}await this[_0x4569cc(0x13a)](this[_0x4569cc(0xcf)][_0x4569cc(0x175)][_0x4569cc(0xed)][_0x4569cc(0xd7)][_0x4569cc(0x113)](),!0x0);}[_0x50b64d(0xe0)](){const _0x13ea54=_0x50b64d;this[_0x13ea54(0x130)][_0x13ea54(0x106)](),this[_0x13ea54(0xc3)]=[],clearTimeout(this[_0x13ea54(0x11f)]),this[_0x13ea54(0x10e)](this[_0x13ea54(0x130)]);}[_0x50b64d(0x98)](_0x3bff8f){const _0x15133e=_0x50b64d,_0x1a993d=this[_0x15133e(0xcf)][_0x15133e(0xa2)][_0x15133e(0x161)](_0x3da466);this[_0x15133e(0xd8)](_0x1a993d,_0x15133e(0xac)+this[_0x15133e(0x116)],(_0x47f16c,{session:_0x3eb1e6})=>{const _0xc7fab1=_0x15133e;if(_0x3eb1e6['id']===_0x1a993d[_0xc7fab1(0xd4)]){_0x47f16c[_0xc7fab1(0x10c)]();const _0x1f201e=this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x8b)](_0xc7fab1(0x85))&&this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x161)](_0xc7fab1(0x85));let _0xf7786a=_0x3eb1e6[_0xc7fab1(0x105)];_0x1f201e&&_0x1f201e[_0xc7fab1(0x75)]&&(_0xf7786a=_0xf7786a[_0xc7fab1(0x9a)](_0x47dd12=>_0xc7fab1(0xb9)!==_0x47dd12)),this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x161)](_0xc7fab1(0x89))[_0xc7fab1(0x11b)](_0xf7786a,this[_0xc7fab1(0x116)]);}}),_0x1a993d[_0x15133e(0x13e)](this[_0x15133e(0x116)],_0x3bff8f);}[_0x50b64d(0xf1)](){const _0x145daf=_0x50b64d,_0xbd4ba1=this[_0x145daf(0xcf)][_0x145daf(0x94)][_0x145daf(0x145)];this[_0x145daf(0xcf)][_0x145daf(0x94)][_0x145daf(0x145)]=(..._0x18add2)=>{const _0xda18b3=_0x145daf;if(!_0x18add2[_0x18add2[_0xda18b3(0xee)]-0x1][_0xda18b3(0x8c)])throw new _0x1f33d7(_0xda18b3(0xf7),this);_0xbd4ba1[_0xda18b3(0x118)](this[_0xda18b3(0xcf)][_0xda18b3(0x94)],_0x18add2);};}[_0x50b64d(0x16d)](){const _0x59e121=_0x50b64d;this[_0x59e121(0xcf)][_0x59e121(0x94)]['on'](_0x59e121(0xa6),(_0x48a46f,[_0x45d36d])=>{const _0x3810df=_0x59e121;if(this[_0x3810df(0x7c)][_0x3810df(0x107)])throw new _0x1f33d7(_0x3810df(0x144),this);_0x48a46f[_0x3810df(0xd5)](),this[_0x3810df(0x96)]();const _0x561412=this[_0x3810df(0xcf)][_0x3810df(0x172)][_0x3810df(0x161)](_0x3810df(0xc9)),_0x2129a6=this[_0x3810df(0xc8)](_0x45d36d,_0x561412);0x0==_0x2129a6[_0x3810df(0xee)]&&_0x2129a6[_0x3810df(0x12f)](new _0x2ab932(0x0)),_0x48a46f[_0x3810df(0xf0)]=this[_0x3810df(0x13a)](_0x2129a6)[_0x3810df(0x9e)](()=>{const _0x1657c7=_0x3810df;this[_0x1657c7(0xcf)][_0x1657c7(0xa2)][_0x1657c7(0x161)](_0x505a49)[_0x1657c7(0xfb)](this),this[_0x1657c7(0xcf)][_0x1657c7(0x94)][_0x1657c7(0x7b)](_0x1657c7(0xa5));})[_0x3810df(0x156)](_0x15b799=>this[_0x3810df(0x110)](_0x3810df(0xb3),_0x15b799))[_0x3810df(0x122)](()=>this[_0x3810df(0x126)]());},{'priority':_0x59e121(0x7d)}),this[_0x59e121(0xcf)]['on'](_0x59e121(0xea),async(_0x1cf667,[_0x19ed78,_0x513b66])=>{const _0x4b7bbe=_0x59e121;_0x1cf667[_0x4b7bbe(0xd5)]();const _0x366a50=this[_0x4b7bbe(0xcf)][_0x4b7bbe(0x175)][_0x4b7bbe(0xed)][_0x4b7bbe(0xe7)](_0x19ed78);if(!this[_0x4b7bbe(0xcb)][_0x4b7bbe(0x8b)](_0x19ed78)){const _0x12ec73=_0x513b66&&_0x513b66[_0x4b7bbe(0x94)]?_0x513b66[_0x4b7bbe(0x94)]:'',_0x54479f=_0x513b66&&_0x513b66[_0x4b7bbe(0xdd)]?_0x513b66[_0x4b7bbe(0xdd)]:{};await this[_0x4b7bbe(0x166)](_0x19ed78,_0x12ec73,_0x54479f);}this[_0x4b7bbe(0xcf)][_0x4b7bbe(0x175)][_0x4b7bbe(0x119)]({'isUndoable':!0x1},()=>{const _0x31efa5=_0x4b7bbe;_0x366a50[_0x31efa5(0x15c)]=!0x0,this[_0x31efa5(0xcf)][_0x31efa5(0x175)][_0x31efa5(0xed)][_0x31efa5(0x177)][_0x31efa5(0x16b)](_0x366a50);});},{'priority':_0x59e121(0x7d)});}async[_0x50b64d(0xa8)](_0x3bfc67){const _0x59aedf=_0x50b64d,_0x5b77a7=this[_0x59aedf(0xcf)][_0x59aedf(0xa2)][_0x59aedf(0x161)](_0x1d200b),{connection:_0x22f8fb}=this[_0x59aedf(0xcf)][_0x59aedf(0xa2)][_0x59aedf(0x161)](_0x505a49),_0x44b201=new Set();for(const _0x366482 of _0x3bfc67){const _0x21687f=_0x366482[_0x59aedf(0xdc)];_0x21687f&&!_0x5b77a7[_0x59aedf(0xf2)](_0x21687f)&&_0x44b201[_0x59aedf(0xa1)](_0x21687f);}if(0x0===_0x44b201[_0x59aedf(0x14e)])return;const _0x47bbd0=await _0x241ed5[_0x59aedf(0x168)](_0x22f8fb,Array[_0x59aedf(0x8d)](_0x44b201));for(const _0x50f21e of _0x47bbd0)_0x5b77a7[_0x59aedf(0xf2)](_0x50f21e['id'])||_0x5b77a7[_0x59aedf(0x124)](_0x50f21e);}[_0x50b64d(0xc8)](_0x3bb3c4,_0x2151f6={}){const _0x226f1d=_0x50b64d,_0x24b1a8=this[_0x226f1d(0xcf)][_0x226f1d(0x175)],_0x423666=[];let _0x260108=0x0;const _0x390e98=_0x226f1d(0xd6)==typeof _0x3bb3c4?{'main':_0x3bb3c4}:_0x3bb3c4;for(const _0x38abb6 of Object[_0x226f1d(0xc4)](_0x390e98)){if(!this[_0x226f1d(0x7c)][_0x226f1d(0xb8)][_0x226f1d(0x8b)](_0x38abb6))throw new _0x1f33d7(_0x226f1d(0x173),this);const _0x438f8e=this[_0x226f1d(0xcf)][_0x226f1d(0x94)][_0x226f1d(0x150)](_0x390e98[_0x38abb6]),_0x3e6692=this[_0x226f1d(0x7c)][_0x226f1d(0xe7)](_0x38abb6),_0x2a1a52=new _0x171d3d(_0x24b1a8[_0x226f1d(0xe8)](_0x3e6692,0x0),_0x438f8e,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x2a1a52);for(const [_0x5208b5,_0x45bfa9]of _0x438f8e[_0x226f1d(0x112)]){const _0x5102cb=_0x24b1a8[_0x226f1d(0x134)](_0x24b1a8[_0x226f1d(0x11d)](_0x3e6692,_0x45bfa9[_0x226f1d(0x14c)][_0x226f1d(0xfe)][_0x226f1d(0xcc)]()),_0x24b1a8[_0x226f1d(0x11d)](_0x3e6692,_0x45bfa9[_0x226f1d(0xbb)][_0x226f1d(0xfe)][_0x226f1d(0xcc)]())),_0x188ab4=new _0x2173be(_0x5208b5,null,_0x5102cb,_0x24b1a8[_0x226f1d(0x112)],!0x0,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x188ab4);}}if(_0x2151f6)for(const [_0x1ab184,_0x57ca1d]of Object[_0x226f1d(0x14b)](_0x2151f6)){const _0x51e000=_0x24b1a8[_0x226f1d(0xed)][_0x226f1d(0xe7)](_0x1ab184);if(!_0x51e000)throw new _0x1f33d7(_0x226f1d(0x82),null);for(const [_0x4d271c,_0x4c45bd]of Object[_0x226f1d(0x14b)](_0x57ca1d))if(null!==_0x4c45bd){const _0x794d0c=new _0x761e99(_0x51e000,_0x4d271c,null,_0x4c45bd,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x794d0c);}}return _0x423666;}async[_0x50b64d(0x166)](_0x3a88ce,_0x3824e9,_0x36c619){const _0x40659d=_0x50b64d;this[_0x40659d(0xc8)]({[_0x3a88ce]:_0x3824e9},{[_0x3a88ce]:_0x36c619})[_0x40659d(0x169)]((_0x55d377,_0x571535)=>{const _0x2aab4a=_0x40659d;_0x55d377[_0x2aab4a(0xe1)]=this[_0x2aab4a(0x7c)][_0x2aab4a(0x107)]+_0x571535,_0x55d377[_0x2aab4a(0x147)]=!0x0,this[_0x2aab4a(0xe6)](_0x55d377);}),this[_0x40659d(0xc5)](),await this[_0x40659d(0x101)]();}async[_0x50b64d(0xda)](_0x16824f,_0x367bde){const _0x3f7aa0=_0x50b64d;let _0xe3f218;this[_0x3f7aa0(0x115)]=_0x16824f[_0x3f7aa0(0x165)];const _0x74e4ec=_0x16824f[_0x3f7aa0(0xbc)]&&!_0x16824f[_0x3f7aa0(0xca)],_0xce304c=_0x74e4ec?0x0:_0x16824f[_0x3f7aa0(0x94)][_0x3f7aa0(0xe1)];if(_0x367bde[_0x3f7aa0(0x169)](_0x4df473=>{const _0x4f43e7=_0x3f7aa0;_0x4df473[_0x4f43e7(0x147)]=!0x0,_0x4df473[_0x4f43e7(0x114)]=_0x16824f[_0x4f43e7(0x12a)],_0x4df473[_0x4f43e7(0xdc)]=null;}),_0x74e4ec)_0xe3f218=_0x367bde,this[_0x3f7aa0(0x125)](_0xe3f218,_0x74e4ec);else{if(_0x16824f[_0x3f7aa0(0xca)]){const _0x3dd0c7=this[_0x3f7aa0(0xc8)](_0x16824f[_0x3f7aa0(0xca)]);this[_0x3f7aa0(0x7c)][_0x3f7aa0(0xd7)][_0x3f7aa0(0x107)]=-_0x3dd0c7[_0x3f7aa0(0xee)],_0x3dd0c7[_0x3f7aa0(0x169)](_0x10ed19=>{const _0x18b77b=_0x3f7aa0;_0x10ed19[_0x18b77b(0xe1)]-=_0x3dd0c7[_0x18b77b(0xee)],_0x10ed19[_0x18b77b(0x114)]=_0x16824f[_0x18b77b(0x12a)],_0x10ed19[_0x18b77b(0x147)]=!0x0,_0x10ed19[_0x18b77b(0xdc)]=null;}),this[_0x3f7aa0(0x125)](_0x3dd0c7,!0x0),this[_0x3f7aa0(0x95)][_0x3f7aa0(0x107)]=-_0x3dd0c7[_0x3f7aa0(0xee)]+this[_0x3f7aa0(0x115)],this[_0x3f7aa0(0x15b)](_0x3dd0c7);}this[_0x3f7aa0(0x7c)][_0x3f7aa0(0xd7)][_0x3f7aa0(0x107)]=_0xce304c,_0xe3f218=this[_0x3f7aa0(0x127)](_0x16824f[_0x3f7aa0(0x94)],_0x16824f[_0x3f7aa0(0x15a)]),await this[_0x3f7aa0(0xa8)](_0xe3f218),this[_0x3f7aa0(0x125)](_0xe3f218,_0x74e4ec);}_0x16824f[_0x3f7aa0(0x84)]&&(this[_0x3f7aa0(0x8a)][_0x3f7aa0(0x13c)](_0xe3f218,_0x16824f[_0x3f7aa0(0x84)]),this[_0x3f7aa0(0x12c)]=_0x16824f[_0x3f7aa0(0x84)]),this[_0x3f7aa0(0x95)][_0x3f7aa0(0x107)]=_0xce304c+this[_0x3f7aa0(0x115)],this[_0x3f7aa0(0x15b)](_0xe3f218),_0x367bde[_0x3f7aa0(0x9a)](_0x47f971=>{const _0x593b0b=_0x3f7aa0,_0x8a3813=this[_0x593b0b(0xb5)](_0x47f971);return _0x8a3813&&!this[_0x593b0b(0xcb)][_0x593b0b(0x8b)](_0x8a3813);})[_0x3f7aa0(0x169)]((_0x2f5e63,_0x198329)=>{const _0x37db94=_0x3f7aa0;_0x2f5e63[_0x37db94(0xe1)]=this[_0x37db94(0x7c)][_0x37db94(0x107)]+_0x198329,this[_0x37db94(0xe6)](_0x2f5e63);}),this[_0x3f7aa0(0x138)]()?(this[_0x3f7aa0(0xbf)]=0x0,this[_0x3f7aa0(0xc5)](!0x0),await this[_0x3f7aa0(0x101)]()):(this[_0x3f7aa0(0x10a)]=!0x1,this[_0x3f7aa0(0x126)]());}[_0x50b64d(0x110)](_0x3410c7,_0x1ab3be){const _0x48d830=_0x50b64d,_0x264c15=_0x1ab3be&&_0x1ab3be[_0x48d830(0xf8)];if(_0x264c15&&_0x264c15[_0x48d830(0xfa)](_0x48d830(0x111)))throw _0x1ab3be;const _0x288a53=this[_0x48d830(0xcf)][_0x48d830(0xa2)][_0x48d830(0x161)](_0x505a49);throw this[_0x48d830(0x10a)]=!0x0,_0x288a53[_0x48d830(0x106)](),this[_0x48d830(0xcf)][_0x48d830(0xce)](_0x48d830(0x136)),new _0x1f33d7(_0x3410c7,this[_0x48d830(0xcf)],_0x264c15?{'originalError':_0x264c15}:void 0x0);}[_0x50b64d(0xe6)](_0x5a6b22){const _0x14266e=_0x50b64d;this[_0x14266e(0x13f)][_0x14266e(0x8b)](_0x5a6b22)||(this[_0x14266e(0x13f)][_0x14266e(0xa1)](_0x5a6b22),this[_0x14266e(0xc3)][_0x14266e(0x12f)](_0x5a6b22),this[_0x14266e(0x171)]||_0x14266e(0x179)==_0x5a6b22[_0x14266e(0xaf)]&&!_0x5a6b22[_0x14266e(0x14a)]||this[_0x14266e(0x96)]());}[_0x50b64d(0xc5)](_0x1f708d=!0x1){const _0xdab37=_0x50b64d;!_0x1f708d&&this[_0xdab37(0x10a)]||(this[_0xdab37(0x10a)]=!0x0,clearTimeout(this[_0xdab37(0x11f)]),this[_0xdab37(0x11f)]=setTimeout(()=>{const _0x16c69d=_0xdab37;this[_0x16c69d(0x79)]()[_0x16c69d(0x9e)](_0x440dbe=>{const _0xd4751f=_0x16c69d;_0x440dbe&&(this[_0xd4751f(0x126)](),this[_0xd4751f(0x10a)]=!0x1);})[_0x16c69d(0x156)](_0x1035b2=>{const _0x42c725=_0x16c69d;this[_0x42c725(0x126)](),this[_0x42c725(0x10a)]=!0x1,function(_0x2ad383){const _0x4e0e0b=_0x42c725;return _0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0xeb))||_0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0x149))||_0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0xb7));}(_0x1035b2)||this[_0x42c725(0x110)](_0x1035b2[_0x42c725(0xf8)],_0x1035b2);});},this[_0xdab37(0xbf)]));}[_0x50b64d(0x101)](){return new Promise(_0x546442=>{const _0x2d018a=_0x160f;this['on'](_0x2d018a(0xdb),()=>{_0x546442();});});}async[_0x50b64d(0x79)](){const _0x31ada8=_0x50b64d,_0x24b423=this[_0x31ada8(0xcf)][_0x31ada8(0xa2)][_0x31ada8(0x161)](_0x277e2b);if(this[_0x31ada8(0xf9)]()&&(_0x24b423[_0x31ada8(0xf4)](),this[_0x31ada8(0xa7)]=!0x1),!this[_0x31ada8(0x138)]())return!0x0;const _0x387f34=[...this[_0x31ada8(0xc3)]];for(const _0x5b1bca of _0x387f34)_0x5b1bca[_0x31ada8(0xc2)]=this[_0x31ada8(0x7c)][_0x31ada8(0xd7)][_0x31ada8(0x16e)](_0x5b1bca);const _0x27c4ad=this[_0x31ada8(0x8a)][_0x31ada8(0x108)](_0x387f34),_0x5c6582=H++,_0x8b9242=this[_0x31ada8(0x155)](_0x387f34),_0x2a1e54=await this[_0x31ada8(0x130)][_0x31ada8(0x76)](_0x8b9242,_0x8b9242[_0x31ada8(0xe1)],_0x27c4ad);try{return await this[_0x31ada8(0x121)](_0x387f34,_0x2a1e54,_0x5c6582);}catch(_0x23ed5a){return this[_0x31ada8(0x110)](_0x31ada8(0xab),_0x23ed5a);}}async[_0x50b64d(0x121)](_0x55933a,_0x13ce26,_0x27ed9d){const _0xb17864=_0x50b64d;if(_0xb17864(0x16a)in _0x13ce26)throw _0x13ce26[_0xb17864(0x16a)];let _0x38b778=!0x1;if(_0x13ce26[_0xb17864(0xbc)]){_0x13ce26[_0xb17864(0x84)]&&(this[_0xb17864(0x12c)]=_0x13ce26[_0xb17864(0x84)]),this[_0xb17864(0xc3)]=this[_0xb17864(0xc3)][_0xb17864(0x9a)](_0x18c911=>!_0x55933a[_0xb17864(0x99)](_0x18c911));for(const _0x45b9e5 of _0x55933a)_0x45b9e5[_0xb17864(0x114)]=_0xb17864(0x131)in _0x13ce26&&_0x13ce26[_0xb17864(0x131)]||void 0x0;W(_0x55933a,_0x13ce26[_0xb17864(0x107)]-_0x55933a[_0xb17864(0xee)]),this[_0xb17864(0x15b)](_0x55933a);const _0x18d459=_0x55933a[_0xb17864(0x9a)](_0x54bfde=>{const _0xa7447=_0xb17864;if(!_0x54bfde[_0xa7447(0x147)])return!0x1;const _0x50d7c0=this[_0xa7447(0xb5)](_0x54bfde);return _0x50d7c0&&!this[_0xa7447(0xcb)][_0xa7447(0x8b)](_0x50d7c0);});W(_0x18d459,this[_0xb17864(0x7c)][_0xb17864(0x107)]),this[_0xb17864(0x125)](_0x18d459),_0x38b778=!0x0,this[_0xb17864(0xbf)]=this[_0xb17864(0x8f)];}else{const _0x4d9ff6=this[_0xb17864(0x127)](_0x13ce26[_0xb17864(0x94)],_0x13ce26[_0xb17864(0x15a)])[_0xb17864(0x9a)](_0x3d6bd2=>_0x3d6bd2[_0xb17864(0xe1)]>=this[_0xb17864(0xe4)]);_0x4d9ff6[_0xb17864(0x169)](_0x268f52=>this[_0xb17864(0x153)](_0x268f52)),this[_0xb17864(0xc3)]=this[_0xb17864(0xc3)][_0xb17864(0x9a)](_0x573736=>!_0x573736[_0xb17864(0x147)]||!this[_0xb17864(0xcb)][_0xb17864(0x8b)](this[_0xb17864(0xb5)](_0x573736))),this[_0xb17864(0xc3)][_0xb17864(0xee)]&&W(this[_0xb17864(0xc3)],this[_0xb17864(0xc3)][0x0][_0xb17864(0xe1)]),await this[_0xb17864(0xa8)](_0x4d9ff6),_0x38b778=this[_0xb17864(0x78)](_0x4d9ff6,_0x13ce26[_0xb17864(0x107)],_0x13ce26[_0xb17864(0x84)]),this[_0xb17864(0xbf)]=Math[_0xb17864(0xf6)](this[_0xb17864(0xbf)]/0x2);}return _0x38b778?!this[_0xb17864(0x138)]()||(this[_0xb17864(0xc5)](!0x0),!0x1):this[_0xb17864(0x110)](_0xb17864(0x7e));}[_0x50b64d(0x78)](_0x57554b,_0x231526,_0x4873fb){const _0x4e3aec=_0x50b64d;try{const _0x5a357c={'document':this[_0x4e3aec(0x7c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xbba6a3,operationsB:_0x478f39,originalOperations:_0x1128db}=_0x3f1854(_0x57554b,this[_0x4e3aec(0xc3)],_0x5a357c);W(_0xbba6a3,this[_0x4e3aec(0x7c)][_0x4e3aec(0x107)]),W(_0x478f39,_0x231526);for(const _0xbf0d39 of _0xbba6a3){const _0x5937e1=_0x1128db[_0x4e3aec(0x161)](_0xbf0d39);_0xbf0d39[_0x4e3aec(0xdc)]=_0x5937e1?_0x5937e1[_0x4e3aec(0xdc)]:null;}_0x4873fb&&(this[_0x4e3aec(0x8a)][_0x4e3aec(0x13c)](_0x57554b,_0x4873fb),this[_0x4e3aec(0x12c)]=_0x4873fb),this[_0x4e3aec(0xc3)]=[..._0x478f39],this[_0x4e3aec(0x125)](_0xbba6a3),this[_0x4e3aec(0x15b)](_0x57554b);}catch(_0x3cec8b){return console[_0x4e3aec(0x16a)](_0x3cec8b),!0x1;}return!0x0;}[_0x50b64d(0x125)](_0x3bd984,_0x1a6c99=!0x1){const _0xd7f5ec=_0x50b64d;this[_0xd7f5ec(0xcf)][_0xd7f5ec(0x175)][_0xd7f5ec(0x119)]({'isUndoable':!0x1,'isLocal':!0x1},_0x25d238=>{const _0x10a893=_0xd7f5ec;for(const _0x466c6d of _0x3bd984)this[_0x10a893(0x13f)][_0x10a893(0xa1)](_0x466c6d),this[_0x10a893(0x153)](_0x466c6d),_0x25d238[_0x10a893(0xdf)][_0x10a893(0xc1)](_0x466c6d),this[_0x10a893(0xcf)][_0x10a893(0x175)][_0x10a893(0xfd)](_0x466c6d);});}[_0x50b64d(0x153)](_0x597f84){const _0x1d753c=_0x50b64d,_0x4c0da2=this[_0x1d753c(0xb5)](_0x597f84);_0x4c0da2&&this[_0x1d753c(0xcb)][_0x1d753c(0xa1)](_0x4c0da2);}[_0x50b64d(0xb5)](_0x46c187){const _0x2e173d=_0x50b64d;let _0x118b29,_0x33fbc4;switch(_0x46c187[_0x2e173d(0xaf)]){case _0x2e173d(0xb4):_0x118b29=_0x46c187[_0x2e173d(0x90)][_0x2e173d(0x176)];break;case _0x2e173d(0x179):if(_0x33fbc4=_0x46c187[_0x2e173d(0x158)],!_0x33fbc4)return null;_0x118b29=_0x33fbc4[_0x2e173d(0x176)];break;case _0x2e173d(0xd9):_0x118b29=_0x46c187[_0x2e173d(0x176)];break;case _0x2e173d(0x143):_0x118b29=_0x46c187[_0x2e173d(0x120)];break;case _0x2e173d(0x132):_0x118b29=_0x46c187[_0x2e173d(0xa0)][_0x2e173d(0x176)];break;default:return null;}return _0x118b29[_0x2e173d(0x11e)];}[_0x50b64d(0x15b)](_0x398345){const _0x565fb7=_0x50b64d;_0x398345[_0x565fb7(0x169)](_0x3a41ec=>{const _0x27ed8d=_0x565fb7,_0x541583=_0x3a41ec[_0x27ed8d(0x12b)]();_0x541583[_0x27ed8d(0xdc)]=_0x3a41ec[_0x27ed8d(0xdc)],_0x541583[_0x27ed8d(0x147)]=!!_0x3a41ec[_0x27ed8d(0x147)],_0x541583[_0x27ed8d(0x114)]=_0x3a41ec[_0x27ed8d(0x114)],_0x541583[_0x27ed8d(0xe1)]+=this[_0x27ed8d(0x115)],_0x3a41ec[_0x27ed8d(0xc7)]&&this[_0x27ed8d(0x146)][_0x27ed8d(0xa1)](_0x541583),this[_0x27ed8d(0x95)][_0x27ed8d(0xc1)](_0x541583);});}[_0x50b64d(0x148)](_0x369692){const _0x1a13f6=_0x50b64d,_0xf81c4=this[_0x1a13f6(0xcf)][_0x1a13f6(0xa2)][_0x1a13f6(0x161)](_0x1a13f6(0x14d)),_0x4f4a6f=this[_0x1a13f6(0xcf)][_0x1a13f6(0x10f)];_0x369692||(_0x369692=_0x580bf5(_0x4f4a6f,_0x1a13f6(0x12e))),_0xf81c4[_0x1a13f6(0x174)](_0x369692,{'title':_0x580bf5(_0x4f4a6f,_0x1a13f6(0xfc)),'namespace':_0x1a13f6(0xc0)}),this[_0x1a13f6(0x178)]=!0x0,clearTimeout(this[_0x1a13f6(0x11f)]),this[_0x1a13f6(0xc3)]=[],this[_0x1a13f6(0xcf)][_0x1a13f6(0xa2)][_0x1a13f6(0x161)](_0x505a49)[_0x1a13f6(0x106)]();}[_0x50b64d(0x96)](){const _0x23615a=_0x50b64d;this[_0x23615a(0x171)]||(this[_0x23615a(0x171)]=this[_0x23615a(0xcf)][_0x23615a(0xa2)][_0x23615a(0x161)](_0x485d5f)[_0x23615a(0xa1)](_0x580bf5(this[_0x23615a(0xcf)][_0x23615a(0x10f)],_0x23615a(0x83))));}[_0x50b64d(0x126)](){const _0x358991=_0x50b64d;this[_0x358991(0x171)]&&(this[_0x358991(0xcf)][_0x358991(0xa2)][_0x358991(0x161)](_0x485d5f)[_0x358991(0x142)](this[_0x358991(0x171)]),this[_0x358991(0x171)]=null);}[_0x50b64d(0x155)](_0x10310a){const _0xa94e54=_0x50b64d,_0x128daf=_0x10310a[_0xa94e54(0x128)](_0x47ff76=>_0x47ff76[_0xa94e54(0xaa)]());return this[_0xa94e54(0x15e)][_0xa94e54(0xcd)](_0x128daf);}[_0x50b64d(0x127)](_0x21171d,_0xe9d365){const _0x681826=_0x50b64d;return this[_0x681826(0x15e)][_0x681826(0xd0)](_0x21171d)[_0x681826(0x128)]((_0x58f826,_0x15414b)=>{const _0x126ec2=_0x681826,_0x448fe4=_0x126ec2(0xa6)==_0xe9d365[_0x15414b][_0x126ec2(0xaf)];if(_0x126ec2(0xa3)==_0x58f826[_0x126ec2(0x88)]){const _0x26459a=_0x58f826[_0x126ec2(0x90)][_0x126ec2(0x176)];!this[_0x126ec2(0x7c)][_0x126ec2(0xe7)](_0x26459a)&&(this[_0x126ec2(0x7c)][_0x126ec2(0xb1)](_0x126ec2(0xc6),_0x26459a)[_0x126ec2(0xde)]=!0x1);}const _0x219ce7=_0x97632e[_0x126ec2(0x73)](_0x58f826,this[_0x126ec2(0x7c)]);return _0x219ce7[_0x126ec2(0xc2)]=_0x58f826[_0x126ec2(0xc2)],_0x219ce7[_0x126ec2(0x147)]=_0x448fe4,_0x219ce7[_0x126ec2(0xdc)]=_0x448fe4?null:_0xe9d365[_0x15414b][_0x126ec2(0x12d)],_0x219ce7[_0x126ec2(0xc7)]=_0x126ec2(0x81)===_0xe9d365[_0x15414b][_0x126ec2(0xaf)],_0x219ce7[_0x126ec2(0x114)]=_0xe9d365[_0x15414b][_0x126ec2(0x114)],_0x219ce7;});}[_0x50b64d(0x7f)](){const _0x3ebc93=_0x50b64d;this[_0x3ebc93(0xa7)]=!0x0,this[_0x3ebc93(0xf9)]()?this[_0x3ebc93(0xc5)]():this[_0x3ebc93(0xa7)]=!0x1;}[_0x50b64d(0xf9)](){const _0x6a9e49=_0x50b64d,_0x2547ee=this[_0x6a9e49(0xcf)][_0x6a9e49(0xa2)][_0x6a9e49(0x161)](_0x3da466)[_0x6a9e49(0xe5)][_0x6a9e49(0x161)](this[_0x6a9e49(0x116)]);return!this[_0x6a9e49(0xcf)][_0x6a9e49(0x91)]&&!!_0x2547ee&&_0x2547ee[_0x6a9e49(0xee)]>0x1&&this[_0x6a9e49(0xa7)];}[_0x50b64d(0x138)](){const _0x13bfbd=_0x50b64d;return this[_0x13bfbd(0xc3)][_0x13bfbd(0xee)]>0x0||this[_0x13bfbd(0xf9)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x37e302,_0x3a3200){const _0xbcccd3=_0x50b64d;for(const _0x5c244e of _0x37e302)_0x5c244e[_0xbcccd3(0xe1)]=_0x3a3200++;}class F{[_0x50b64d(0x16c)];[_0x50b64d(0x9f)];constructor(_0x52131d){const _0xd3cd27=_0x50b64d;this[_0xd3cd27(0x16c)]=_0x52131d,this[_0xd3cd27(0x9f)]=new WeakMap();}[_0x50b64d(0x108)](_0x17dcd5){const _0x40fd2e=_0x50b64d;let _0x6a943c=_0x17dcd5[_0x40fd2e(0xee)];for(;_0x6a943c--;){const _0x197db4=_0x17dcd5[_0x6a943c];if(!this[_0x40fd2e(0x16c)][_0x40fd2e(0x8b)](_0x197db4)){if(!this[_0x40fd2e(0x9f)][_0x40fd2e(0x8b)](_0x197db4)){const _0xbcc439=_0x596176()[_0x40fd2e(0xcc)](0x1,0x12);this[_0x40fd2e(0x9f)][_0x40fd2e(0x145)](_0x197db4,_0xbcc439);}return this[_0x40fd2e(0x9f)][_0x40fd2e(0x161)](_0x197db4);}}}[_0x50b64d(0x13c)](_0x22d570,_0xd76513){const _0x753336=_0x50b64d;if(!_0xd76513)return;let _0x2adab5=_0x22d570[_0x753336(0xee)];for(;_0x2adab5--;){const _0x19cf58=_0x22d570[_0x2adab5];this[_0x753336(0x16c)][_0x753336(0x8b)](_0x19cf58)||this[_0x753336(0x9f)][_0x753336(0x145)](_0x19cf58,_0xd76513);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb02b3b=_0x368b;function _0x368b(_0x317745,_0x52b1a5){const _0x551a32=_0x551a();return _0x368b=function(_0x368ba1,_0x2e99f2){_0x368ba1=_0x368ba1-0xb8;let _0x2df8e2=_0x551a32[_0x368ba1];return _0x2df8e2;},_0x368b(_0x317745,_0x52b1a5);}function _0x551a(){const _0x3b4c07=['7MsLArx','forEach','getUser','get','328xZLrQY','channelSessions','addUser','_handleSessionAdd','channelConnectedUsers','state','sessions-unregister-not-exist','getUserBySessionId','_users','47133KEpwTV','188262GEjekl','_handleSessionRemove','delete','has','context','_uniqueUsersCount','role','remove','Sessions','mySessionId','fire','pluginName','stopListening','111918uNhZDB','2274180ZdrXGB','init','listenTo','change:state','unregister','sessions-register-already-registered','user','connected','connection','orderNumber','add','plugins','values','2377095EanHqY','_registeredSessions','size','getUserRole','defineMe','sessionAdd:','isPremiumPlugin','requires','1383782XZCMCk','clear','sessionId','_createUser','getUserSessions','allConnectedUsers','isMe','set','3ZlQSSa','register','2224288YuLwXY','assign','isOfficialPlugin'];_0x551a=function(){return _0x3b4c07;};return _0x551a();}(function(_0x2bc713,_0x5d260d){const _0x15e8c5=_0x368b,_0x1b19a5=_0x2bc713();while(!![]){try{const _0x3f468a=parseInt(_0x15e8c5(0xce))/0x1+parseInt(_0x15e8c5(0xf1))/0x2*(parseInt(_0x15e8c5(0xbb))/0x3)+-parseInt(_0x15e8c5(0xbd))/0x4+parseInt(_0x15e8c5(0xe9))/0x5+parseInt(_0x15e8c5(0xdb))/0x6*(parseInt(_0x15e8c5(0xc0))/0x7)+-parseInt(_0x15e8c5(0xc4))/0x8*(parseInt(_0x15e8c5(0xcd))/0x9)+-parseInt(_0x15e8c5(0xdc))/0xa;if(_0x3f468a===_0x5d260d)break;else _0x1b19a5['push'](_0x1b19a5['shift']());}catch(_0x16419a){_0x1b19a5['push'](_0x1b19a5['shift']());}}}(_0x551a,0x5bcd2));import{ContextPlugin as _0x4677d8}from'ckeditor5/src/core.js';import{Collection as _0x21ee6b,CKEditorError as _0x4112d1}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4a2495}from'./websocketgateway.js';import{Users as _0x35d405}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x4677d8{[_0xb02b3b(0xc5)];[_0xb02b3b(0xc8)];[_0xb02b3b(0xb8)];[_0xb02b3b(0xea)];[_0xb02b3b(0xd3)];[_0xb02b3b(0xcc)];static get[_0xb02b3b(0xd9)](){const _0x48ddee=_0xb02b3b;return _0x48ddee(0xd6);}static get[_0xb02b3b(0xbf)](){return!0x0;}static get[_0xb02b3b(0xef)](){return!0x0;}static get[_0xb02b3b(0xf0)](){return[_0x4a2495,_0x35d405];}constructor(_0x2c2ab6){const _0x11c871=_0xb02b3b;super(_0x2c2ab6),this[_0x11c871(0xc5)]=new Map(),this[_0x11c871(0xc8)]=new Map(),this[_0x11c871(0xb8)]=new _0x21ee6b(),this[_0x11c871(0xea)]=new Map(),this[_0x11c871(0xd3)]=0x0,this[_0x11c871(0xcc)]=this[_0x11c871(0xd2)][_0x11c871(0xe7)][_0x11c871(0xc3)](_0x35d405);}[_0xb02b3b(0xdd)](){const _0x4e3da4=_0xb02b3b,_0x5e9a55=this[_0x4e3da4(0xd2)][_0x4e3da4(0xe7)][_0x4e3da4(0xc3)](_0x4a2495);this[_0x4e3da4(0xde)](_0x5e9a55,_0x4e3da4(0xdf),(_0x3d1d1e,_0x595e5e,_0x14ec4a)=>{const _0x25e607=_0x4e3da4;if(_0x25e607(0xe3)!==_0x14ec4a)this[_0x25e607(0xc5)][_0x25e607(0xc1)](_0x23fee0=>_0x23fee0[_0x25e607(0xf2)]()),this[_0x25e607(0xc8)][_0x25e607(0xc1)](_0x79fbcb=>_0x79fbcb[_0x25e607(0xf2)]()),this[_0x25e607(0xb8)][_0x25e607(0xf2)]();else{for(const [_0x3c34cd,_0x52abf6]of this[_0x25e607(0xea)])for(const _0x182974 of _0x52abf6)this[_0x25e607(0xc7)](_0x3c34cd,_0x182974);}}),this[_0x4e3da4(0xf4)](_0x5e9a55[_0x4e3da4(0xe4)]['me'],!0x0);}[_0xb02b3b(0xbc)](_0x556bd1,_0x20c9ff){const _0x7fe2f=_0xb02b3b;if(this[_0x7fe2f(0xea)][_0x7fe2f(0xd1)](_0x556bd1))throw new _0x4112d1(_0x7fe2f(0xe1),null,{'channelId':_0x556bd1});this[_0x7fe2f(0xea)][_0x7fe2f(0xba)](_0x556bd1,_0x20c9ff),this[_0x7fe2f(0xc5)][_0x7fe2f(0xba)](_0x556bd1,new _0x21ee6b()),this[_0x7fe2f(0xc8)][_0x7fe2f(0xba)](_0x556bd1,new _0x21ee6b()),this[_0x7fe2f(0xde)](_0x20c9ff,_0x7fe2f(0xe6),(_0x3de380,_0x522f92)=>this[_0x7fe2f(0xc7)](_0x556bd1,_0x522f92)),this[_0x7fe2f(0xde)](_0x20c9ff,_0x7fe2f(0xd5),(_0xada425,_0x3281f2)=>this[_0x7fe2f(0xcf)](_0x556bd1,_0x3281f2));for(const _0x3e41f3 of _0x20c9ff)this[_0x7fe2f(0xc7)](_0x556bd1,_0x3e41f3);}[_0xb02b3b(0xe0)](_0x36df6f){const _0x264e3b=_0xb02b3b;if(!this[_0x264e3b(0xea)][_0x264e3b(0xd1)](_0x36df6f))throw new _0x4112d1(_0x264e3b(0xca),null,{'channelId':_0x36df6f});const _0x5cd39b=this[_0x264e3b(0xea)][_0x264e3b(0xc3)](_0x36df6f);this[_0x264e3b(0xda)](_0x5cd39b);for(const _0x164809 of _0x5cd39b)_0x264e3b(0xe3)===this[_0x264e3b(0xd2)][_0x264e3b(0xe7)][_0x264e3b(0xc3)](_0x4a2495)[_0x264e3b(0xc9)]&&this[_0x264e3b(0xcf)](_0x36df6f,_0x164809);this[_0x264e3b(0xea)][_0x264e3b(0xd0)](_0x36df6f),this[_0x264e3b(0xc5)][_0x264e3b(0xd0)](_0x36df6f),this[_0x264e3b(0xc8)][_0x264e3b(0xd0)](_0x36df6f);}get[_0xb02b3b(0xd7)](){const _0x1c1910=_0xb02b3b;return this[_0x1c1910(0xd2)][_0x1c1910(0xe7)][_0x1c1910(0xc3)](_0x4a2495)[_0x1c1910(0xe4)][_0x1c1910(0xf3)];}[_0xb02b3b(0xcb)](_0x47e79e){const _0x46f4bf=_0xb02b3b;for(const _0x15b833 of this[_0x46f4bf(0xc5)][_0x46f4bf(0xe8)]())for(const _0x4e3734 of _0x15b833)if(_0x4e3734['id']===_0x47e79e)return _0x4e3734[_0x46f4bf(0xe2)];}[_0xb02b3b(0xf5)](_0x45576e,_0x2c4f1b){const _0x5568e5=_0xb02b3b,_0x449ae0=_0x2c4f1b?[this[_0x5568e5(0xc5)][_0x5568e5(0xc3)](_0x2c4f1b)]:this[_0x5568e5(0xc5)][_0x5568e5(0xe8)](),_0x59ad33=new Set();for(const _0x12b742 of _0x449ae0)for(const _0x2be9b2 of _0x12b742)_0x2be9b2[_0x5568e5(0xe2)]['id']===_0x45576e['id']&&_0x59ad33[_0x5568e5(0xe6)](_0x2be9b2['id']);return _0x59ad33;}[_0xb02b3b(0xec)](_0x507a61){const _0x2f96a2=_0xb02b3b;for(const _0x4fd1ff of this[_0x2f96a2(0xc5)][_0x2f96a2(0xe8)]())for(const _0x47bc06 of _0x4fd1ff)if(_0x47bc06[_0x2f96a2(0xe2)]===_0x507a61)return _0x47bc06[_0x2f96a2(0xd4)];}[_0xb02b3b(0xc7)](_0xf9feba,_0x1170bb){const _0x2bbfeb=_0xb02b3b;if(_0x2bbfeb(0xe3)!==this[_0x2bbfeb(0xd2)][_0x2bbfeb(0xe7)][_0x2bbfeb(0xc3)](_0x4a2495)[_0x2bbfeb(0xc9)])return;const _0x490650=_0x1170bb[_0x2bbfeb(0xe2)],_0x4ca7ba=this[_0x2bbfeb(0xcc)][_0x2bbfeb(0xc2)](_0x490650['id'])||this[_0x2bbfeb(0xf4)](_0x490650),_0x2c4e8d=Object[_0x2bbfeb(0xbe)]({},_0x1170bb,{'user':_0x4ca7ba});this[_0x2bbfeb(0xc5)][_0x2bbfeb(0xc3)](_0xf9feba)[_0x2bbfeb(0xe6)](_0x2c4e8d);const _0x582cdd=this[_0x2bbfeb(0xc8)][_0x2bbfeb(0xc3)](_0xf9feba);_0x582cdd[_0x2bbfeb(0xd1)](_0x4ca7ba['id'])||_0x582cdd[_0x2bbfeb(0xe6)](_0x4ca7ba),this[_0x2bbfeb(0xb8)][_0x2bbfeb(0xd1)](_0x4ca7ba['id'])||this[_0x2bbfeb(0xb8)][_0x2bbfeb(0xe6)](_0x4ca7ba,_0x4ca7ba[_0x2bbfeb(0xb9)]?0x0:void 0x0),this[_0x2bbfeb(0xd8)](_0x2bbfeb(0xee)+_0xf9feba,{'channelId':_0xf9feba,'session':_0x2c4e8d});}[_0xb02b3b(0xcf)](_0x5a876a,_0x2aa195){const _0x22e4f5=_0xb02b3b;if(_0x22e4f5(0xe3)!==this[_0x22e4f5(0xd2)][_0x22e4f5(0xe7)][_0x22e4f5(0xc3)](_0x4a2495)[_0x22e4f5(0xc9)])return;const _0x14d6bf=this[_0x22e4f5(0xc8)][_0x22e4f5(0xc3)](_0x5a876a),_0x22c05f=_0x2aa195[_0x22e4f5(0xe2)];_0x22c05f['id']&&(this[_0x22e4f5(0xc5)][_0x22e4f5(0xc3)](_0x5a876a)[_0x22e4f5(0xd5)](_0x2aa195['id']),_0x14d6bf[_0x22e4f5(0xd1)](_0x22c05f['id'])&&!this[_0x22e4f5(0xf5)](_0x22c05f,_0x5a876a)[_0x22e4f5(0xeb)]&&_0x14d6bf[_0x22e4f5(0xd5)](_0x22c05f['id']),this[_0x22e4f5(0xb8)][_0x22e4f5(0xc3)](_0x22c05f['id'])&&!this[_0x22e4f5(0xf5)](_0x22c05f)[_0x22e4f5(0xeb)]&&this[_0x22e4f5(0xb8)][_0x22e4f5(0xd5)](_0x22c05f['id']));}[_0xb02b3b(0xf4)](_0x43be70,_0xd67e6){const _0x5c6176=_0xb02b3b,_0xd0bfa2=this[_0x5c6176(0xcc)][_0x5c6176(0xc6)](_0x43be70);return _0xd67e6&&this[_0x5c6176(0xcc)][_0x5c6176(0xed)](_0x43be70['id']),_0xd0bfa2[_0x5c6176(0xe5)]=this[_0x5c6176(0xd3)]++,_0xd0bfa2;}}
23
+ function _0x2094(_0xae33b4,_0x489811){const _0x12f7e0=_0x12f7();return _0x2094=function(_0x2094d6,_0x5eb633){_0x2094d6=_0x2094d6-0xab;let _0x6960d=_0x12f7e0[_0x2094d6];return _0x6960d;},_0x2094(_0xae33b4,_0x489811);}const _0x591f59=_0x2094;(function(_0x23b14b,_0x2053aa){const _0x382b7a=_0x2094,_0x523444=_0x23b14b();while(!![]){try{const _0x363d93=parseInt(_0x382b7a(0xbb))/0x1*(-parseInt(_0x382b7a(0xe2))/0x2)+parseInt(_0x382b7a(0xea))/0x3*(-parseInt(_0x382b7a(0xda))/0x4)+parseInt(_0x382b7a(0xde))/0x5+-parseInt(_0x382b7a(0xbd))/0x6*(parseInt(_0x382b7a(0xc5))/0x7)+-parseInt(_0x382b7a(0xc8))/0x8*(parseInt(_0x382b7a(0xbe))/0x9)+-parseInt(_0x382b7a(0xe3))/0xa*(parseInt(_0x382b7a(0xdc))/0xb)+-parseInt(_0x382b7a(0xe0))/0xc*(-parseInt(_0x382b7a(0xaf))/0xd);if(_0x363d93===_0x2053aa)break;else _0x523444['push'](_0x523444['shift']());}catch(_0x4de731){_0x523444['push'](_0x523444['shift']());}}}(_0x12f7,0x6c987));import{ContextPlugin as _0x1deac7}from'ckeditor5/src/core.js';import{Collection as _0x9d9950,CKEditorError as _0x3476da}from'ckeditor5/src/utils.js';function _0x12f7(){const _0x4c240c=['2059400WnncUE','get','init','getUserBySessionId','size','getUserSessions','addUser','getUserRole','mySessionId','_createUser','pluginName','defineMe','add','channelConnectedUsers','assign','role','set','change:state','559880vPgVjG','forEach','185779LAJBkv','values','2342580NaYbXp','orderNumber','60wNYRbo','getUser','35366mJaLDc','470ZUOowj','context','connection','sessions-unregister-not-exist','channelSessions','_users','Sessions','12SgMyIU','isOfficialPlugin','_uniqueUsersCount','user','sessionId','sessionAdd:','6578546mUIZAH','remove','unregister','_registeredSessions','plugins','connected','_handleSessionAdd','state','fire','delete','_handleSessionRemove','isMe','25PgceZv','listenTo','3004536Lppepa','9wunfJo','sessions-register-already-registered','allConnectedUsers','isPremiumPlugin','clear','stopListening','requires','7NWlWpX','register','has'];_0x12f7=function(){return _0x4c240c;};return _0x12f7();}import{WebSocketGateway as _0xf16060}from'./websocketgateway.js';import{Users as _0x1429ef}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1deac7{[_0x591f59(0xe7)];[_0x591f59(0xd5)];[_0x591f59(0xc0)];[_0x591f59(0xb2)];[_0x591f59(0xab)];[_0x591f59(0xe8)];static get[_0x591f59(0xd2)](){const _0x1ada74=_0x591f59;return _0x1ada74(0xe9);}static get[_0x591f59(0xeb)](){return!0x0;}static get[_0x591f59(0xc1)](){return!0x0;}static get[_0x591f59(0xc4)](){return[_0xf16060,_0x1429ef];}constructor(_0x1b00cd){const _0x50d89d=_0x591f59;super(_0x1b00cd),this[_0x50d89d(0xe7)]=new Map(),this[_0x50d89d(0xd5)]=new Map(),this[_0x50d89d(0xc0)]=new _0x9d9950(),this[_0x50d89d(0xb2)]=new Map(),this[_0x50d89d(0xab)]=0x0,this[_0x50d89d(0xe8)]=this[_0x50d89d(0xe4)][_0x50d89d(0xb3)][_0x50d89d(0xc9)](_0x1429ef);}[_0x591f59(0xca)](){const _0x2dded3=_0x591f59,_0x49d175=this[_0x2dded3(0xe4)][_0x2dded3(0xb3)][_0x2dded3(0xc9)](_0xf16060);this[_0x2dded3(0xbc)](_0x49d175,_0x2dded3(0xd9),(_0x594305,_0x346450,_0x4c0336)=>{const _0x3a28d4=_0x2dded3;if(_0x3a28d4(0xb4)!==_0x4c0336)this[_0x3a28d4(0xe7)][_0x3a28d4(0xdb)](_0x591851=>_0x591851[_0x3a28d4(0xc2)]()),this[_0x3a28d4(0xd5)][_0x3a28d4(0xdb)](_0x14ad0a=>_0x14ad0a[_0x3a28d4(0xc2)]()),this[_0x3a28d4(0xc0)][_0x3a28d4(0xc2)]();else{for(const [_0x1ccfa4,_0x2f9fe4]of this[_0x3a28d4(0xb2)])for(const _0x20fea4 of _0x2f9fe4)this[_0x3a28d4(0xb5)](_0x1ccfa4,_0x20fea4);}}),this[_0x2dded3(0xd1)](_0x49d175[_0x2dded3(0xe5)]['me'],!0x0);}[_0x591f59(0xc6)](_0x2ac30a,_0x2af551){const _0x48efdf=_0x591f59;if(this[_0x48efdf(0xb2)][_0x48efdf(0xc7)](_0x2ac30a))throw new _0x3476da(_0x48efdf(0xbf),null,{'channelId':_0x2ac30a});this[_0x48efdf(0xb2)][_0x48efdf(0xd8)](_0x2ac30a,_0x2af551),this[_0x48efdf(0xe7)][_0x48efdf(0xd8)](_0x2ac30a,new _0x9d9950()),this[_0x48efdf(0xd5)][_0x48efdf(0xd8)](_0x2ac30a,new _0x9d9950()),this[_0x48efdf(0xbc)](_0x2af551,_0x48efdf(0xd4),(_0x4fd909,_0xb74733)=>this[_0x48efdf(0xb5)](_0x2ac30a,_0xb74733)),this[_0x48efdf(0xbc)](_0x2af551,_0x48efdf(0xb0),(_0x4226b5,_0x3d6a22)=>this[_0x48efdf(0xb9)](_0x2ac30a,_0x3d6a22));for(const _0x1ad252 of _0x2af551)this[_0x48efdf(0xb5)](_0x2ac30a,_0x1ad252);}[_0x591f59(0xb1)](_0x2b223e){const _0x41e0a7=_0x591f59;if(!this[_0x41e0a7(0xb2)][_0x41e0a7(0xc7)](_0x2b223e))throw new _0x3476da(_0x41e0a7(0xe6),null,{'channelId':_0x2b223e});const _0x6f9473=this[_0x41e0a7(0xb2)][_0x41e0a7(0xc9)](_0x2b223e);this[_0x41e0a7(0xc3)](_0x6f9473);for(const _0x1222a7 of _0x6f9473)_0x41e0a7(0xb4)===this[_0x41e0a7(0xe4)][_0x41e0a7(0xb3)][_0x41e0a7(0xc9)](_0xf16060)[_0x41e0a7(0xb6)]&&this[_0x41e0a7(0xb9)](_0x2b223e,_0x1222a7);this[_0x41e0a7(0xb2)][_0x41e0a7(0xb8)](_0x2b223e),this[_0x41e0a7(0xe7)][_0x41e0a7(0xb8)](_0x2b223e),this[_0x41e0a7(0xd5)][_0x41e0a7(0xb8)](_0x2b223e);}get[_0x591f59(0xd0)](){const _0x3187c1=_0x591f59;return this[_0x3187c1(0xe4)][_0x3187c1(0xb3)][_0x3187c1(0xc9)](_0xf16060)[_0x3187c1(0xe5)][_0x3187c1(0xad)];}[_0x591f59(0xcb)](_0x2dfd6d){const _0xce301b=_0x591f59;for(const _0x33f7bc of this[_0xce301b(0xe7)][_0xce301b(0xdd)]())for(const _0x558950 of _0x33f7bc)if(_0x558950['id']===_0x2dfd6d)return _0x558950[_0xce301b(0xac)];}[_0x591f59(0xcd)](_0x34c9e7,_0x434e59){const _0x1ae1fe=_0x591f59,_0x4d2c5=_0x434e59?[this[_0x1ae1fe(0xe7)][_0x1ae1fe(0xc9)](_0x434e59)]:this[_0x1ae1fe(0xe7)][_0x1ae1fe(0xdd)](),_0x29a2c0=new Set();for(const _0x9a5f88 of _0x4d2c5)for(const _0x9014c4 of _0x9a5f88)_0x9014c4[_0x1ae1fe(0xac)]['id']===_0x34c9e7['id']&&_0x29a2c0[_0x1ae1fe(0xd4)](_0x9014c4['id']);return _0x29a2c0;}[_0x591f59(0xcf)](_0x4eab10){const _0x406f76=_0x591f59;for(const _0x30cb0e of this[_0x406f76(0xe7)][_0x406f76(0xdd)]())for(const _0x587aa5 of _0x30cb0e)if(_0x587aa5[_0x406f76(0xac)]===_0x4eab10)return _0x587aa5[_0x406f76(0xd7)];}[_0x591f59(0xb5)](_0x5c6090,_0xac8dbe){const _0x2b6e4c=_0x591f59;if(_0x2b6e4c(0xb4)!==this[_0x2b6e4c(0xe4)][_0x2b6e4c(0xb3)][_0x2b6e4c(0xc9)](_0xf16060)[_0x2b6e4c(0xb6)])return;const _0x5ca7ad=_0xac8dbe[_0x2b6e4c(0xac)],_0x34122f=this[_0x2b6e4c(0xe8)][_0x2b6e4c(0xe1)](_0x5ca7ad['id'])||this[_0x2b6e4c(0xd1)](_0x5ca7ad),_0x542e9d=Object[_0x2b6e4c(0xd6)]({},_0xac8dbe,{'user':_0x34122f});this[_0x2b6e4c(0xe7)][_0x2b6e4c(0xc9)](_0x5c6090)[_0x2b6e4c(0xd4)](_0x542e9d);const _0x349043=this[_0x2b6e4c(0xd5)][_0x2b6e4c(0xc9)](_0x5c6090);_0x349043[_0x2b6e4c(0xc7)](_0x34122f['id'])||_0x349043[_0x2b6e4c(0xd4)](_0x34122f),this[_0x2b6e4c(0xc0)][_0x2b6e4c(0xc7)](_0x34122f['id'])||this[_0x2b6e4c(0xc0)][_0x2b6e4c(0xd4)](_0x34122f,_0x34122f[_0x2b6e4c(0xba)]?0x0:void 0x0),this[_0x2b6e4c(0xb7)](_0x2b6e4c(0xae)+_0x5c6090,{'channelId':_0x5c6090,'session':_0x542e9d});}[_0x591f59(0xb9)](_0x194f81,_0x43bf79){const _0xdd9025=_0x591f59;if(_0xdd9025(0xb4)!==this[_0xdd9025(0xe4)][_0xdd9025(0xb3)][_0xdd9025(0xc9)](_0xf16060)[_0xdd9025(0xb6)])return;const _0x1e590d=this[_0xdd9025(0xd5)][_0xdd9025(0xc9)](_0x194f81),_0x402fa3=_0x43bf79[_0xdd9025(0xac)];_0x402fa3['id']&&(this[_0xdd9025(0xe7)][_0xdd9025(0xc9)](_0x194f81)[_0xdd9025(0xb0)](_0x43bf79['id']),_0x1e590d[_0xdd9025(0xc7)](_0x402fa3['id'])&&!this[_0xdd9025(0xcd)](_0x402fa3,_0x194f81)[_0xdd9025(0xcc)]&&_0x1e590d[_0xdd9025(0xb0)](_0x402fa3['id']),this[_0xdd9025(0xc0)][_0xdd9025(0xc9)](_0x402fa3['id'])&&!this[_0xdd9025(0xcd)](_0x402fa3)[_0xdd9025(0xcc)]&&this[_0xdd9025(0xc0)][_0xdd9025(0xb0)](_0x402fa3['id']));}[_0x591f59(0xd1)](_0x5c5c25,_0x2c2bab){const _0x151c53=_0x591f59,_0x3359fd=this[_0x151c53(0xe8)][_0x151c53(0xce)](_0x5c5c25);return _0x2c2bab&&this[_0x151c53(0xe8)][_0x151c53(0xd3)](_0x5c5c25['id']),_0x3359fd[_0x151c53(0xdf)]=this[_0x151c53(0xab)]++,_0x3359fd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x477ef0=_0x23db;(function(_0x387afb,_0x22c106){const _0x330fbd=_0x23db,_0xa8ca65=_0x387afb();while(!![]){try{const _0x3e6cbf=-parseInt(_0x330fbd(0x13d))/0x1+-parseInt(_0x330fbd(0x11f))/0x2+parseInt(_0x330fbd(0x101))/0x3*(parseInt(_0x330fbd(0xfd))/0x4)+parseInt(_0x330fbd(0x109))/0x5*(parseInt(_0x330fbd(0x183))/0x6)+parseInt(_0x330fbd(0x13c))/0x7+-parseInt(_0x330fbd(0x146))/0x8*(-parseInt(_0x330fbd(0x14d))/0x9)+-parseInt(_0x330fbd(0x16a))/0xa*(parseInt(_0x330fbd(0x16c))/0xb);if(_0x3e6cbf===_0x22c106)break;else _0xa8ca65['push'](_0xa8ca65['shift']());}catch(_0x919cfa){_0xa8ca65['push'](_0xa8ca65['shift']());}}}(_0x4f32,0xc2504));import{Plugin as _0x489db0}from'ckeditor5/src/core.js';import{global as _0x2deb0e,DomEmitterMixin as _0x352372}from'ckeditor5/src/utils.js';import{Sessions as _0x68dfc0}from'./sessions.js';import{ModelLiveRange as _0x34f5bc}from'ckeditor5/src/engine.js';function _0x23db(_0x918398,_0x2f7b48){const _0x4f32a6=_0x4f32();return _0x23db=function(_0x23db34,_0x3f3c79){_0x23db34=_0x23db34-0xfd;let _0x243a24=_0x4f32a6[_0x23db34];return _0x243a24;},_0x23db(_0x918398,_0x2f7b48);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x489db0{[_0x477ef0(0x121)]=new(_0x352372())();static get[_0x477ef0(0x134)](){return[_0x68dfc0];}static get[_0x477ef0(0x149)](){const _0x84dee3=_0x477ef0;return _0x84dee3(0x184);}static get[_0x477ef0(0x181)](){return!0x0;}static get[_0x477ef0(0x123)](){return!0x0;}[_0x477ef0(0x16b)](){const _0x948fd7=_0x477ef0,_0x36a9a6=this[_0x948fd7(0xff)],_0x47dbaa=_0x36a9a6[_0x948fd7(0x125)][_0x948fd7(0x112)](_0x68dfc0);_0x36a9a6[_0x948fd7(0x102)][_0x948fd7(0x14b)](_0x948fd7(0x13e))[_0x948fd7(0x128)]({'model':_0x948fd7(0x164),'view':(_0x16cd90,{writer:_0x16e227})=>function(_0x3af686,_0x4597eb,_0x2c5807,_0x1d6d7a){const _0x5e7d65=_0x948fd7,_0x5ad5e6=_0x3af686[_0x5e7d65(0x186)][_0x5e7d65(0x12a)](':')[0x2],_0x5afbd5=_0x2c5807[_0x5e7d65(0x168)](_0x5ad5e6);if(!_0x5afbd5||_0x5ad5e6===_0x2c5807[_0x5e7d65(0x140)])return;if(!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)][_0x5e7d65(0x12e)](_0x3af686[_0x5e7d65(0x139)][_0x5e7d65(0x138)],_0x5e7d65(0x127)))return;const _0x26b8d1={'class':_0x5e7d65(0x169)+_0x5afbd5[_0x5e7d65(0x145)][_0x5e7d65(0x133)](),'data-name':_0x5afbd5[_0x5e7d65(0x163)],'data-session-id':_0x5ad5e6},_0x50b6c6=_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x14f)][_0x5e7d65(0x112)](_0x3af686[_0x5e7d65(0x186)]),_0x44e521=_0x50b6c6[_0x5e7d65(0x126)](),_0x4401e9=_0x44e521[_0x5e7d65(0x11a)],_0x35f14d=_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)];if(_0x4401e9&&_0x35f14d[_0x5e7d65(0x142)](_0x4401e9)&&_0x35f14d[_0x5e7d65(0x16d)](_0x4401e9)&&!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x14f)][_0x5e7d65(0x112)](_0x5e7d65(0x10b)+_0x5ad5e6)[_0x5e7d65(0x180)]()[_0x5e7d65(0x15f)])return;const _0x47d8cd=_0x44e521[_0x5e7d65(0x172)];return _0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x17b)][_0x5e7d65(0x13b)](_0x47d8cd)&&!_0x1d6d7a[_0x5e7d65(0x14e)][_0x5e7d65(0x135)](_0x47d8cd)&&(_0x26b8d1[_0x5e7d65(0x115)]=!0x1),function(_0x3476b1,_0x2161ff,_0x2c1b94){const _0x5bddda=_0x5e7d65,_0x239be7=_0x3476b1[_0x5bddda(0x182)](_0x5bddda(0x151),_0x2161ff);return _0x3476b1[_0x5bddda(0x15c)](_0x5bddda(0x154),!0x0,_0x239be7),_0x239be7[_0x5bddda(0x106)]=function(_0x582e95){const _0x475d63=_0x5bddda,_0x441d3b=this[_0x475d63(0x15d)](_0x582e95),_0x489713=document[_0x475d63(0x152)](_0x475d63(0x151));return _0x489713[_0x475d63(0x165)][_0x475d63(0x173)](_0x475d63(0x175)),_0x489713[_0x475d63(0x158)](_0x475d63(0x115),_0x475d63(0x156)),_0x489713[_0x475d63(0x158)](_0x475d63(0x166),_0x475d63(0x156)),_0x489713[_0x475d63(0x119)]=_0x2c1b94[_0x475d63(0x163)],_0x441d3b[_0x475d63(0x188)]=_0x475d63(0x100)+_0x489713[_0x475d63(0x108)]+'⁠',_0x441d3b[_0x475d63(0x114)](_0x475d63(0x122),()=>{const _0x55435e=_0x475d63;_0x441d3b[_0x55435e(0x165)][_0x55435e(0x173)](_0x55435e(0x105));}),_0x441d3b[_0x475d63(0x114)](_0x475d63(0x17c),()=>{const _0x486820=_0x475d63;_0x441d3b[_0x486820(0x165)][_0x486820(0x103)](_0x486820(0x105));}),_0x441d3b;},_0x239be7[_0x5bddda(0x141)]=function(_0x111ce3){const _0x1e9da0=_0x5bddda;return!(!this[_0x1e9da0(0x130)](_0x1e9da0(0x154))||!_0x111ce3[_0x1e9da0(0x130)](_0x1e9da0(0x154))||this[_0x1e9da0(0x10a)](_0x1e9da0(0x14c))!=_0x111ce3[_0x1e9da0(0x10a)](_0x1e9da0(0x14c)));},_0x239be7;}(_0x4597eb,_0x26b8d1,_0x5afbd5);}(_0x16cd90,_0x16e227,_0x47dbaa,_0x36a9a6)}),_0x36a9a6[_0x948fd7(0x102)][_0x948fd7(0x14b)](_0x948fd7(0x13e))[_0x948fd7(0x16f)]({'model':_0x948fd7(0x111),'view':_0x300b6d=>function(_0x352704,_0x16080f){const _0x268e7b=_0x948fd7,_0x546d81=_0x352704[_0x268e7b(0x186)][_0x268e7b(0x12a)](':')[0x2];if(_0x546d81===_0x16080f[_0x268e7b(0x140)])return null;const _0x1f4ae0=_0x16080f[_0x268e7b(0x168)](_0x546d81);if(!_0x1f4ae0)return{'id':_0x546d81,'classes':[]};return{'id':_0x546d81,'classes':[_0x268e7b(0x157),_0x1f4ae0[_0x268e7b(0x145)][_0x268e7b(0x171)]()],'attributes':{'data-session-id':_0x546d81},'priority':0x7d0+_0x1f4ae0[_0x268e7b(0x12c)]};}(_0x300b6d,_0x47dbaa)}),function(_0x7a831e){const _0x5a4174=_0x948fd7,_0x2a9c95=_0x7a831e[_0x5a4174(0x14e)],_0x489164=new Map(),_0x32b7be=_0x7a831e[_0x5a4174(0x125)][_0x5a4174(0x112)](_0x68dfc0);_0x2a9c95[_0x5a4174(0x14f)]['on'](_0x5a4174(0x15b),(_0xe25457,_0x116886,_0x52750c,_0x2b89cc)=>{const _0x249585=_0x5a4174;if(!_0x2b89cc&&_0x489164[_0x249585(0x112)](_0x116886[_0x249585(0x163)]))return _0x489164[_0x249585(0x112)](_0x116886[_0x249585(0x163)])[_0x249585(0x11c)](),void _0x489164[_0x249585(0x16e)](_0x116886[_0x249585(0x163)]);const _0x4e4f9b=_0x116886[_0x249585(0x163)][_0x249585(0x12a)](':')[0x2];if(_0x4e4f9b===_0x32b7be[_0x249585(0x140)])return;const _0x42bbfa=_0x249585(0x10f)+_0x4e4f9b;_0x2a9c95[_0x249585(0x14f)][_0x249585(0x162)](_0x42bbfa)&&_0x7a831e[_0x249585(0x120)][_0x249585(0x132)](_0x42bbfa),_0x116886['on'](_0x249585(0x104),(_0x1874f7,_0x1f4404,_0x425acf)=>{const _0x135214=_0x249585;if(_0x135214(0x11b)!=_0x1f4404[_0x135214(0x124)][_0x135214(0x117)]&&_0x135214(0x11b)==_0x116886[_0x135214(0x180)]()[_0x135214(0x124)][_0x135214(0x117)]&&!_0x489164[_0x135214(0x162)](_0x116886[_0x135214(0x163)])){const _0x2848a5=_0x2a9c95[_0x135214(0x17b)][_0x135214(0x10c)](_0x425acf[_0x135214(0x178)]);if(_0x2848a5){const _0x1c418b=_0x34f5bc[_0x135214(0x176)](_0x2848a5);_0x489164[_0x135214(0x11d)](_0x116886[_0x135214(0x163)],_0x1c418b),_0x1c418b['on'](_0x135214(0x104),(_0x39474a,_0x53c368,_0x9b141b)=>{const _0x475520=_0x135214;if(_0x475520(0x11b)==_0x1c418b[_0x475520(0x124)][_0x475520(0x117)]){const _0x5535f2=_0x2a9c95[_0x475520(0x17b)][_0x475520(0x10c)](_0x9b141b[_0x475520(0x178)]);_0x5535f2?(_0x1c418b[_0x475520(0x138)]=_0x5535f2[_0x475520(0x138)],_0x1c418b[_0x475520(0x113)]=_0x5535f2[_0x475520(0x113)]):(_0x489164[_0x475520(0x16e)](_0x116886[_0x475520(0x163)]),_0x1c418b[_0x475520(0x11c)]());}});}}});}),_0x2a9c95[_0x5a4174(0x179)]['on'](_0x5a4174(0x11e),()=>{const _0x286581=_0x5a4174;_0x489164[_0x286581(0x110)]>0x0&&_0x2a9c95[_0x286581(0x144)]({'isUndoable':!0x1},_0x10996c=>{const _0x411a25=_0x286581;for(const [_0x4b2dcc,_0x39119a]of _0x489164)_0x411a25(0x11b)==_0x2a9c95[_0x411a25(0x14f)][_0x411a25(0x112)](_0x4b2dcc)[_0x411a25(0x180)]()[_0x411a25(0x124)][_0x411a25(0x117)]&&(te(_0x4b2dcc[_0x411a25(0x12a)](':')[0x2],_0x39119a[_0x411a25(0x12f)](),_0x2a9c95,_0x10996c),_0x39119a[_0x411a25(0x11c)]());_0x489164[_0x411a25(0x185)]();});});}(_0x36a9a6),this[_0x948fd7(0x121)][_0x948fd7(0x137)](_0x2deb0e[_0x948fd7(0x179)],_0x948fd7(0x15e),(_0x2968be,{key:_0x2daaae})=>{const _0x12776d=_0x948fd7;_0x12776d(0x14a)===_0x2daaae&&function(_0xf4ccf2){const _0x70e2f3=_0x12776d;_0xf4ccf2[_0x70e2f3(0x120)][_0x70e2f3(0x148)][_0x70e2f3(0x11e)](_0x264678=>{const _0xcbfd6a=_0x70e2f3;for(const _0x11bb33 of _0xf4ccf2[_0xcbfd6a(0x14e)][_0xcbfd6a(0x14f)]){if(!_0x11bb33[_0xcbfd6a(0x163)][_0xcbfd6a(0x17d)](_0xcbfd6a(0x164)))continue;const _0x384c97=_0xf4ccf2[_0xcbfd6a(0x120)][_0xcbfd6a(0x17a)][_0xcbfd6a(0x155)](_0x11bb33[_0xcbfd6a(0x163)]);if(_0x384c97){for(const _0x495f7b of _0x384c97)_0x264678[_0xcbfd6a(0xfe)](_0xcbfd6a(0x105),_0x495f7b);}}});}(_0x36a9a6);},{'useCapture':!0x0});}[_0x477ef0(0x174)](){const _0x289793=_0x477ef0,_0x12843c=this[_0x289793(0xff)],_0x4847b3=_0x12843c[_0x289793(0x10d)][_0x289793(0x112)](_0x289793(0x107));_0x4847b3&&_0x12843c[_0x289793(0x14e)]['on'](_0x289793(0x143),(_0x55a53d,_0x56ddaa)=>{const _0x43d008=_0x289793,_0x4f53bd=_0x56ddaa[0x0];if(!_0x4f53bd[_0x43d008(0x129)])return;if(_0x43d008(0x160)!=_0x4f53bd[_0x43d008(0x150)]||!_0x4f53bd[_0x43d008(0x163)][_0x43d008(0x17d)](_0x43d008(0x159)))return;const _0x463ec4=_0x4f53bd[_0x43d008(0x177)];_0x4847b3[_0x43d008(0x170)][_0x43d008(0x162)](_0x463ec4)&&(_0x4f53bd[_0x43d008(0x13a)]=_0x4f53bd[_0x43d008(0x17e)]?_0x12843c[_0x43d008(0x14e)][_0x43d008(0x12d)](_0x4f53bd[_0x43d008(0x17e)][_0x43d008(0x138)],_0x4f53bd[_0x43d008(0x17e)][_0x43d008(0x113)]):null);},{'priority':_0x289793(0x187)});}[_0x477ef0(0x161)](){const _0x2bdad3=_0x477ef0;return this[_0x2bdad3(0x121)][_0x2bdad3(0x15a)](),super[_0x2bdad3(0x161)]();}[_0x477ef0(0x10e)](){const _0x3b7c01=_0x477ef0,_0x29e2f7=this[_0x3b7c01(0xff)],_0x403e10=_0x29e2f7[_0x3b7c01(0x14e)][_0x3b7c01(0x179)],_0x38b0da=_0x29e2f7[_0x3b7c01(0x125)][_0x3b7c01(0x112)](_0x68dfc0);_0x29e2f7[_0x3b7c01(0x14e)][_0x3b7c01(0x144)]({'isUndoable':!0x1},_0x498e47=>{const _0x35e685=_0x3b7c01,_0x45d4b8=_0x35e685(0x10b)+_0x38b0da[_0x35e685(0x140)],_0x34f506=_0x35e685(0x10f)+_0x38b0da[_0x35e685(0x140)],_0x1f95c1=_0x29e2f7[_0x35e685(0x14e)][_0x35e685(0x14f)][_0x35e685(0x162)](_0x45d4b8);_0x29e2f7[_0x35e685(0x120)][_0x35e685(0x148)][_0x35e685(0x147)]?te(_0x38b0da[_0x35e685(0x140)],_0x403e10[_0x35e685(0x167)][_0x35e685(0x118)](),_0x29e2f7[_0x35e685(0x14e)],_0x498e47):_0x1f95c1&&(_0x498e47[_0x35e685(0x13f)](_0x45d4b8),_0x498e47[_0x35e685(0x13f)](_0x34f506));});}}function _0x4f32(){const _0x1b5994=['user:position','classList','spellcheck','selection','getUserBySessionId','ck-user__marker\x20','7627140MYbBFg','init','22cwwtjq','isInline','delete','markerToHighlight','_createdBatches','getSelectionClass','parent','add','afterInit','ck-user__marker-tooltip','fromRange','batch','deletionPosition','document','mapper','schema','mouseleave','startsWith','oldRange','element','getRange','isOfficialPlugin','createUIElement','30YHoNsz','UserMarkers','clear','markerName','highest','innerHTML','4NpGLZF','removeClass','editor','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','1821657zjncKp','conversion','remove','change:range','ck-user__marker_hovered','render','undo','outerHTML','897300pwerXm','getAttribute','user:range:','getNearestSelectionRange','commands','createUserMarkerOperations','user:position:','size','user:range','get','end','addEventListener','contenteditable','getPositions','rootName','getFirstRange','textContent','nodeAfter','$graveyard','detach','set','change','339938mxccWT','editing','_domEmitter','mouseenter','isPremiumPlugin','root','plugins','getStart','$text','markerToElement','isDocumentOperation','split','addMarker','orderNumber','createRange','checkChild','toRange','getCustomProperty','tableCell','reconvertMarker','getMarkerClass','requires','hasContent','getContainedElement','listenTo','start','markerRange','newRange','isLimit','6236797dWzleI','719108LhSwgi','editingDowncast','removeMarker','mySessionId','isSimilar','isObject','applyOperation','enqueueChange','color','2173128BcTZvD','hasDomSelection','view','pluginName','Escape','for','data-session-id','27kJseiD','model','markers','type','span','createElement','updateMarker','userPositionMarker','markerNameToElements','false','ck-user__selection','setAttribute','user:','stopListening','update:user:range','setCustomProperty','toDomElement','keydown','isCollapsed','marker','destroy','has','name'];_0x4f32=function(){return _0x1b5994;};return _0x4f32();}function te(_0x500e40,_0x2c16bf,_0x1fc8dc,_0x49355d){const _0x31e58d=_0x477ef0,_0x5a0391=_0x31e58d(0x10b)+_0x500e40,_0x47c548=_0x31e58d(0x10f)+_0x500e40,_0x2338aa=_0x2c16bf[_0x31e58d(0x136)]();let _0x13a3e2=_0x2c16bf[_0x31e58d(0x138)];if(_0x2338aa&&_0x2338aa['is'](_0x31e58d(0x17f),_0x31e58d(0x131))){const _0x334ff6=function(_0x469f7a,_0x30a737){const _0xa79655=_0x31e58d;for(const _0x2b1c10 of _0x469f7a[_0xa79655(0x116)]())if(_0x30a737[_0xa79655(0x17b)][_0xa79655(0x12e)](_0x2b1c10,_0xa79655(0x127)))return _0x2b1c10;}(_0x2c16bf,_0x1fc8dc);_0x334ff6&&(_0x13a3e2=_0x334ff6,_0x2c16bf=_0x49355d[_0x31e58d(0x12d)](_0x13a3e2));}const _0x52a84d=_0x49355d[_0x31e58d(0x12d)](_0x13a3e2);_0x1fc8dc[_0x31e58d(0x14f)][_0x31e58d(0x162)](_0x5a0391)?(_0x49355d[_0x31e58d(0x153)](_0x5a0391,{'range':_0x2c16bf}),_0x49355d[_0x31e58d(0x153)](_0x47c548,{'range':_0x52a84d})):(_0x49355d[_0x31e58d(0x12b)](_0x5a0391,{'range':_0x2c16bf,'usingOperation':!0x0}),_0x49355d[_0x31e58d(0x12b)](_0x47c548,{'range':_0x52a84d,'usingOperation':!0x0}));}
23
+ const _0x4dc73e=_0x2606;(function(_0x66c2e6,_0x38aff1){const _0x1173cc=_0x2606,_0x5dcdfe=_0x66c2e6();while(!![]){try{const _0x313510=parseInt(_0x1173cc(0x124))/0x1*(-parseInt(_0x1173cc(0xa2))/0x2)+parseInt(_0x1173cc(0xad))/0x3*(parseInt(_0x1173cc(0xaf))/0x4)+-parseInt(_0x1173cc(0x9a))/0x5*(parseInt(_0x1173cc(0xba))/0x6)+-parseInt(_0x1173cc(0xab))/0x7*(parseInt(_0x1173cc(0x10f))/0x8)+parseInt(_0x1173cc(0xe7))/0x9+-parseInt(_0x1173cc(0xb2))/0xa+parseInt(_0x1173cc(0x10e))/0xb*(parseInt(_0x1173cc(0xc7))/0xc);if(_0x313510===_0x38aff1)break;else _0x5dcdfe['push'](_0x5dcdfe['shift']());}catch(_0x5db779){_0x5dcdfe['push'](_0x5dcdfe['shift']());}}}(_0x1c3c,0xbc350));function _0x2606(_0x34797c,_0x185697){const _0x1c3cc4=_0x1c3c();return _0x2606=function(_0x2606af,_0x57dff4){_0x2606af=_0x2606af-0x9a;let _0x573000=_0x1c3cc4[_0x2606af];return _0x573000;},_0x2606(_0x34797c,_0x185697);}import{Plugin as _0x385076}from'ckeditor5/src/core.js';import{global as _0x2e766f,DomEmitterMixin as _0x495d29}from'ckeditor5/src/utils.js';import{Sessions as _0x3cf3a4}from'./sessions.js';import{ModelLiveRange as _0x458403}from'ckeditor5/src/engine.js';function _0x1c3c(){const _0x4f727e=['reconvertMarker','createElement','createUserMarkerOperations','textContent','getNearestSelectionRange','markerToElement','mouseenter','split','span','schema','size','84327DGHAee','mouseleave','isLimit','5PppJDa','spellcheck','parent','editor','hasContent','detach','false','type','18URBkZC','view','toDomElement','user:range','init','markerToHighlight','ck-user__selection','Escape','userPositionMarker','119yInbGl','user:','3UZIAIV','element','4629288lUjXgs','checkChild','mapper','11335590XnfuPQ','highest','update:user:range','classList','contenteditable','applyOperation','model','pluginName','5682426WJyBtg','isCollapsed','tableCell','rootName','hasDomSelection','markers','nodeAfter','getRange','fromRange','for','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','plugins','batch','300KdDZoP','getContainedElement','getCustomProperty','$text','change','user:range:','isInline','getSelectionClass','markerName','isDocumentOperation','enqueueChange','outerHTML','name','commands','oldRange','listenTo','markerNameToElements','editingDowncast','document','isPremiumPlugin','markerRange','user:position:','getStart','clear','innerHTML','startsWith','render','add','createRange','root','color','toRange','9250317lGtYWT','mySessionId','ck-user__marker-tooltip','start','getFirstRange','end','ck-user__marker_hovered','getUserBySessionId','isObject','addMarker','isOfficialPlugin','change:range','newRange','set','remove','_domEmitter','removeMarker','getAttribute','get','undo','editing','selection','setAttribute','destroy','ck-user__marker\x20','keydown','getPositions','UserMarkers','updateMarker','stopListening','removeClass','orderNumber','_createdBatches','data-session-id','requires','deletionPosition','afterInit','delete','user:position','858638fcHdwN','247584McRCVX','marker','$graveyard','setCustomProperty','addEventListener','isSimilar','has','conversion','createUIElement','getMarkerClass'];_0x1c3c=function(){return _0x4f727e;};return _0x1c3c();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x385076{[_0x4dc73e(0xf6)]=new(_0x495d29())();static get[_0x4dc73e(0x109)](){return[_0x3cf3a4];}static get[_0x4dc73e(0xb9)](){const _0x1e950d=_0x4dc73e;return _0x1e950d(0x102);}static get[_0x4dc73e(0xf1)](){return!0x0;}static get[_0x4dc73e(0xda)](){return!0x0;}[_0x4dc73e(0xa6)](){const _0x1026bc=_0x4dc73e,_0x4f4017=this[_0x1026bc(0x9d)],_0x593861=_0x4f4017[_0x1026bc(0xc5)][_0x1026bc(0xf9)](_0x3cf3a4);_0x4f4017[_0x1026bc(0x116)][_0x1026bc(0xc3)](_0x1026bc(0xd8))[_0x1026bc(0x11e)]({'model':_0x1026bc(0x10d),'view':(_0xd9578a,{writer:_0x17a921})=>function(_0x330188,_0x3ddded,_0x390f2a,_0x3227c8){const _0x267e8b=_0x1026bc,_0x2f9317=_0x330188[_0x267e8b(0xcf)][_0x267e8b(0x120)](':')[0x2],_0x3c3b7f=_0x390f2a[_0x267e8b(0xee)](_0x2f9317);if(!_0x3c3b7f||_0x2f9317===_0x390f2a[_0x267e8b(0xe8)])return;if(!_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x122)][_0x267e8b(0xb0)](_0x330188[_0x267e8b(0xdb)][_0x267e8b(0xea)],_0x267e8b(0xca)))return;const _0x1b81f5={'class':_0x267e8b(0xff)+_0x3c3b7f[_0x267e8b(0xe5)][_0x267e8b(0x118)](),'data-name':_0x3c3b7f[_0x267e8b(0xd3)],'data-session-id':_0x2f9317},_0x5536b2=_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0xbf)][_0x267e8b(0xf9)](_0x330188[_0x267e8b(0xcf)]),_0x3a1784=_0x5536b2[_0x267e8b(0xdd)](),_0x4b6fbf=_0x3a1784[_0x267e8b(0xc0)],_0xa91484=_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x122)];if(_0x4b6fbf&&_0xa91484[_0x267e8b(0xef)](_0x4b6fbf)&&_0xa91484[_0x267e8b(0xcd)](_0x4b6fbf)&&!_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0xbf)][_0x267e8b(0xf9)](_0x267e8b(0xcc)+_0x2f9317)[_0x267e8b(0xc1)]()[_0x267e8b(0xbb)])return;const _0x2028ec=_0x3a1784[_0x267e8b(0x9c)];return _0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x122)][_0x267e8b(0x126)](_0x2028ec)&&!_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x9e)](_0x2028ec)&&(_0x1b81f5[_0x267e8b(0xb6)]=!0x1),function(_0x594cf7,_0x4ee2d9,_0x5f0d06){const _0x5ad4f1=_0x267e8b,_0x278856=_0x594cf7[_0x5ad4f1(0x117)](_0x5ad4f1(0x121),_0x4ee2d9);return _0x594cf7[_0x5ad4f1(0x112)](_0x5ad4f1(0xaa),!0x0,_0x278856),_0x278856[_0x5ad4f1(0xe1)]=function(_0x1d8f7b){const _0x590f02=_0x5ad4f1,_0x651d8a=this[_0x590f02(0xa4)](_0x1d8f7b),_0xafa041=document[_0x590f02(0x11a)](_0x590f02(0x121));return _0xafa041[_0x590f02(0xb5)][_0x590f02(0xe2)](_0x590f02(0xe9)),_0xafa041[_0x590f02(0xfd)](_0x590f02(0xb6),_0x590f02(0xa0)),_0xafa041[_0x590f02(0xfd)](_0x590f02(0x9b),_0x590f02(0xa0)),_0xafa041[_0x590f02(0x11c)]=_0x5f0d06[_0x590f02(0xd3)],_0x651d8a[_0x590f02(0xdf)]=_0x590f02(0xc4)+_0xafa041[_0x590f02(0xd2)]+'⁠',_0x651d8a[_0x590f02(0x113)](_0x590f02(0x11f),()=>{const _0x69e3c7=_0x590f02;_0x651d8a[_0x69e3c7(0xb5)][_0x69e3c7(0xe2)](_0x69e3c7(0xed));}),_0x651d8a[_0x590f02(0x113)](_0x590f02(0x125),()=>{const _0x37d5bb=_0x590f02;_0x651d8a[_0x37d5bb(0xb5)][_0x37d5bb(0xf5)](_0x37d5bb(0xed));}),_0x651d8a;},_0x278856[_0x5ad4f1(0x114)]=function(_0x57ffc4){const _0xf0f5d1=_0x5ad4f1;return!(!this[_0xf0f5d1(0xc9)](_0xf0f5d1(0xaa))||!_0x57ffc4[_0xf0f5d1(0xc9)](_0xf0f5d1(0xaa))||this[_0xf0f5d1(0xf8)](_0xf0f5d1(0x108))!=_0x57ffc4[_0xf0f5d1(0xf8)](_0xf0f5d1(0x108)));},_0x278856;}(_0x3ddded,_0x1b81f5,_0x3c3b7f);}(_0xd9578a,_0x17a921,_0x593861,_0x4f4017)}),_0x4f4017[_0x1026bc(0x116)][_0x1026bc(0xc3)](_0x1026bc(0xd8))[_0x1026bc(0xa7)]({'model':_0x1026bc(0xa5),'view':_0x1f4702=>function(_0xae540f,_0x4ecbc3){const _0x45d3e3=_0x1026bc,_0xfcdb73=_0xae540f[_0x45d3e3(0xcf)][_0x45d3e3(0x120)](':')[0x2];if(_0xfcdb73===_0x4ecbc3[_0x45d3e3(0xe8)])return null;const _0x463f68=_0x4ecbc3[_0x45d3e3(0xee)](_0xfcdb73);if(!_0x463f68)return{'id':_0xfcdb73,'classes':[]};return{'id':_0xfcdb73,'classes':[_0x45d3e3(0xa8),_0x463f68[_0x45d3e3(0xe5)][_0x45d3e3(0xce)]()],'attributes':{'data-session-id':_0xfcdb73},'priority':0x7d0+_0x463f68[_0x45d3e3(0x106)]};}(_0x1f4702,_0x593861)}),function(_0x1d1011){const _0x20e342=_0x1026bc,_0x3cee38=_0x1d1011[_0x20e342(0xb8)],_0x190e91=new Map(),_0x101b7b=_0x1d1011[_0x20e342(0xc5)][_0x20e342(0xf9)](_0x3cf3a4);_0x3cee38[_0x20e342(0xbf)]['on'](_0x20e342(0xb4),(_0x3f0cea,_0x8375d4,_0x253507,_0x46ca23)=>{const _0x53eb09=_0x20e342;if(!_0x46ca23&&_0x190e91[_0x53eb09(0xf9)](_0x8375d4[_0x53eb09(0xd3)]))return _0x190e91[_0x53eb09(0xf9)](_0x8375d4[_0x53eb09(0xd3)])[_0x53eb09(0x9f)](),void _0x190e91[_0x53eb09(0x10c)](_0x8375d4[_0x53eb09(0xd3)]);const _0x132354=_0x8375d4[_0x53eb09(0xd3)][_0x53eb09(0x120)](':')[0x2];if(_0x132354===_0x101b7b[_0x53eb09(0xe8)])return;const _0xb7e7d9=_0x53eb09(0xdc)+_0x132354;_0x3cee38[_0x53eb09(0xbf)][_0x53eb09(0x115)](_0xb7e7d9)&&_0x1d1011[_0x53eb09(0xfb)][_0x53eb09(0x119)](_0xb7e7d9),_0x8375d4['on'](_0x53eb09(0xf2),(_0x230123,_0x41562c,_0x4683cc)=>{const _0x5aa70f=_0x53eb09;if(_0x5aa70f(0x111)!=_0x41562c[_0x5aa70f(0xe4)][_0x5aa70f(0xbd)]&&_0x5aa70f(0x111)==_0x8375d4[_0x5aa70f(0xc1)]()[_0x5aa70f(0xe4)][_0x5aa70f(0xbd)]&&!_0x190e91[_0x5aa70f(0x115)](_0x8375d4[_0x5aa70f(0xd3)])){const _0x199271=_0x3cee38[_0x5aa70f(0x122)][_0x5aa70f(0x11d)](_0x4683cc[_0x5aa70f(0x10a)]);if(_0x199271){const _0x5afee1=_0x458403[_0x5aa70f(0xc2)](_0x199271);_0x190e91[_0x5aa70f(0xf4)](_0x8375d4[_0x5aa70f(0xd3)],_0x5afee1),_0x5afee1['on'](_0x5aa70f(0xf2),(_0x4618a3,_0x3e8ce5,_0x1ba8ca)=>{const _0x193fea=_0x5aa70f;if(_0x193fea(0x111)==_0x5afee1[_0x193fea(0xe4)][_0x193fea(0xbd)]){const _0x11e272=_0x3cee38[_0x193fea(0x122)][_0x193fea(0x11d)](_0x1ba8ca[_0x193fea(0x10a)]);_0x11e272?(_0x5afee1[_0x193fea(0xea)]=_0x11e272[_0x193fea(0xea)],_0x5afee1[_0x193fea(0xec)]=_0x11e272[_0x193fea(0xec)]):(_0x190e91[_0x193fea(0x10c)](_0x8375d4[_0x193fea(0xd3)]),_0x5afee1[_0x193fea(0x9f)]());}});}}});}),_0x3cee38[_0x20e342(0xd9)]['on'](_0x20e342(0xcb),()=>{const _0x29d42b=_0x20e342;_0x190e91[_0x29d42b(0x123)]>0x0&&_0x3cee38[_0x29d42b(0xd1)]({'isUndoable':!0x1},_0x23707a=>{const _0x3a5066=_0x29d42b;for(const [_0x531075,_0x50813f]of _0x190e91)_0x3a5066(0x111)==_0x3cee38[_0x3a5066(0xbf)][_0x3a5066(0xf9)](_0x531075)[_0x3a5066(0xc1)]()[_0x3a5066(0xe4)][_0x3a5066(0xbd)]&&(J(_0x531075[_0x3a5066(0x120)](':')[0x2],_0x50813f[_0x3a5066(0xe6)](),_0x3cee38,_0x23707a),_0x50813f[_0x3a5066(0x9f)]());_0x190e91[_0x3a5066(0xde)]();});});}(_0x4f4017),this[_0x1026bc(0xf6)][_0x1026bc(0xd6)](_0x2e766f[_0x1026bc(0xd9)],_0x1026bc(0x100),(_0x171e7a,{key:_0x3cf08c})=>{const _0x3bebf7=_0x1026bc;_0x3bebf7(0xa9)===_0x3cf08c&&function(_0x335308){const _0x5606d6=_0x3bebf7;_0x335308[_0x5606d6(0xfb)][_0x5606d6(0xa3)][_0x5606d6(0xcb)](_0x11955a=>{const _0x275424=_0x5606d6;for(const _0x49a412 of _0x335308[_0x275424(0xb8)][_0x275424(0xbf)]){if(!_0x49a412[_0x275424(0xd3)][_0x275424(0xe0)](_0x275424(0x10d)))continue;const _0xb7a4fe=_0x335308[_0x275424(0xfb)][_0x275424(0xb1)][_0x275424(0xd7)](_0x49a412[_0x275424(0xd3)]);if(_0xb7a4fe){for(const _0x5b7fa1 of _0xb7a4fe)_0x11955a[_0x275424(0x105)](_0x275424(0xed),_0x5b7fa1);}}});}(_0x4f4017);},{'useCapture':!0x0});}[_0x4dc73e(0x10b)](){const _0x554e34=_0x4dc73e,_0x5b278b=this[_0x554e34(0x9d)],_0x36fbe9=_0x5b278b[_0x554e34(0xd4)][_0x554e34(0xf9)](_0x554e34(0xfa));_0x36fbe9&&_0x5b278b[_0x554e34(0xb8)]['on'](_0x554e34(0xb7),(_0x1194ea,_0x12d360)=>{const _0x48159f=_0x554e34,_0x316cbf=_0x12d360[0x0];if(!_0x316cbf[_0x48159f(0xd0)])return;if(_0x48159f(0x110)!=_0x316cbf[_0x48159f(0xa1)]||!_0x316cbf[_0x48159f(0xd3)][_0x48159f(0xe0)](_0x48159f(0xac)))return;const _0x1ced4d=_0x316cbf[_0x48159f(0xc6)];_0x36fbe9[_0x48159f(0x107)][_0x48159f(0x115)](_0x1ced4d)&&(_0x316cbf[_0x48159f(0xf3)]=_0x316cbf[_0x48159f(0xd5)]?_0x5b278b[_0x48159f(0xb8)][_0x48159f(0xe3)](_0x316cbf[_0x48159f(0xd5)][_0x48159f(0xea)],_0x316cbf[_0x48159f(0xd5)][_0x48159f(0xec)]):null);},{'priority':_0x554e34(0xb3)});}[_0x4dc73e(0xfe)](){const _0x5d6db2=_0x4dc73e;return this[_0x5d6db2(0xf6)][_0x5d6db2(0x104)](),super[_0x5d6db2(0xfe)]();}[_0x4dc73e(0x11b)](){const _0x5a82d0=_0x4dc73e,_0x42917a=this[_0x5a82d0(0x9d)],_0x126bc4=_0x42917a[_0x5a82d0(0xb8)][_0x5a82d0(0xd9)],_0x2577e0=_0x42917a[_0x5a82d0(0xc5)][_0x5a82d0(0xf9)](_0x3cf3a4);_0x42917a[_0x5a82d0(0xb8)][_0x5a82d0(0xd1)]({'isUndoable':!0x1},_0x1eaa66=>{const _0x139e8c=_0x5a82d0,_0x93a60d=_0x139e8c(0xcc)+_0x2577e0[_0x139e8c(0xe8)],_0x38d008=_0x139e8c(0xdc)+_0x2577e0[_0x139e8c(0xe8)],_0x14111e=_0x42917a[_0x139e8c(0xb8)][_0x139e8c(0xbf)][_0x139e8c(0x115)](_0x93a60d);_0x42917a[_0x139e8c(0xfb)][_0x139e8c(0xa3)][_0x139e8c(0xbe)]?J(_0x2577e0[_0x139e8c(0xe8)],_0x126bc4[_0x139e8c(0xfc)][_0x139e8c(0xeb)](),_0x42917a[_0x139e8c(0xb8)],_0x1eaa66):_0x14111e&&(_0x1eaa66[_0x139e8c(0xf7)](_0x93a60d),_0x1eaa66[_0x139e8c(0xf7)](_0x38d008));});}}function J(_0x5b443b,_0x21d75e,_0x163752,_0x3b546b){const _0x35c212=_0x4dc73e,_0x43ffd0=_0x35c212(0xcc)+_0x5b443b,_0x3723bd=_0x35c212(0xdc)+_0x5b443b,_0x4e0821=_0x21d75e[_0x35c212(0xc8)]();let _0x51ecdd=_0x21d75e[_0x35c212(0xea)];if(_0x4e0821&&_0x4e0821['is'](_0x35c212(0xae),_0x35c212(0xbc))){const _0x387532=function(_0x178818,_0x4349cf){const _0x295833=_0x35c212;for(const _0x26822f of _0x178818[_0x295833(0x101)]())if(_0x4349cf[_0x295833(0x122)][_0x295833(0xb0)](_0x26822f,_0x295833(0xca)))return _0x26822f;}(_0x21d75e,_0x163752);_0x387532&&(_0x51ecdd=_0x387532,_0x21d75e=_0x3b546b[_0x35c212(0xe3)](_0x51ecdd));}const _0x3adbce=_0x3b546b[_0x35c212(0xe3)](_0x51ecdd);_0x163752[_0x35c212(0xbf)][_0x35c212(0x115)](_0x43ffd0)?(_0x3b546b[_0x35c212(0x103)](_0x43ffd0,{'range':_0x21d75e}),_0x3b546b[_0x35c212(0x103)](_0x3723bd,{'range':_0x3adbce})):(_0x3b546b[_0x35c212(0xf0)](_0x43ffd0,{'range':_0x21d75e,'usingOperation':!0x0}),_0x3b546b[_0x35c212(0xf0)](_0x3723bd,{'range':_0x3adbce,'usingOperation':!0x0}));}