@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.1 → 45.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ad4(){const _0x4801d4=['keystrokes','ck-presence-list__list','contains','isExpanded','.ck-presence-list__dropdown-list','3671172aTZyvX','relatedTarget','setAttribute','presencelist:show','aria-expanded','presencelist:hide','focus','2590825eHhkmG','630417HpqLFp','listenTo','createCollection','removeAttribute','bindTemplate','items','element','querySelector','2124870xxMUZE','3975694tJSUlt','26061231PEnCXa','hasPopup','change:hasPopup','list','.ck-balloon-panel_with-arrow','fire','5973558UDWXtu','div','setTemplate','render','set','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)'];_0x2ad4=function(){return _0x4801d4;};return _0x2ad4();}const _0x158376=_0x4a86;(function(_0x461a0a,_0x4a7a97){const _0x3c39c0=_0x4a86,_0x5907a0=_0x461a0a();while(!![]){try{const _0x31eecf=parseInt(_0x3c39c0(0x8e))/0x1+parseInt(_0x3c39c0(0x73))/0x2+parseInt(_0x3c39c0(0x72))/0x3+parseInt(_0x3c39c0(0x86))/0x4+-parseInt(_0x3c39c0(0x8d))/0x5+parseInt(_0x3c39c0(0x7a))/0x6+-parseInt(_0x3c39c0(0x74))/0x7;if(_0x31eecf===_0x4a7a97)break;else _0x5907a0['push'](_0x5907a0['shift']());}catch(_0x191fcf){_0x5907a0['push'](_0x5907a0['shift']());}}}(_0x2ad4,0xf3d56));import{View as _0x3d2c03}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3fabf5}from'ckeditor5/src/utils.js';function _0x4a86(_0x14c761,_0x3115bb){const _0x2ad43c=_0x2ad4();return _0x4a86=function(_0x4a86b3,_0x5b822e){_0x4a86b3=_0x4a86b3-0x6d;let _0x19f021=_0x2ad43c[_0x4a86b3];return _0x19f021;},_0x4a86(_0x14c761,_0x3115bb);}import{getTranslation as _0x1a2450}from'../../common-translations.js';export default class ts extends _0x3d2c03{[_0x158376(0x6f)];[_0x158376(0x81)];constructor(_0x2d125e){const _0x2b0dcd=_0x158376;super(_0x2d125e);const _0x4419d8=this[_0x2b0dcd(0x6e)];this[_0x2b0dcd(0x6f)]=this[_0x2b0dcd(0x90)](),this[_0x2b0dcd(0x81)]=new _0x3fabf5(),this[_0x2b0dcd(0x7e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2b0dcd(0x7c)]({'tag':_0x2b0dcd(0x7b),'attributes':{'aria-haspopup':_0x4419d8['if'](_0x2b0dcd(0x75)),'aria-expanded':_0x4419d8['to'](_0x2b0dcd(0x84),_0xe70293=>this[_0x2b0dcd(0x75)]&&String(_0xe70293)),'aria-label':_0x4419d8['to'](_0x2b0dcd(0x75),_0x5dcabb=>_0x1a2450(_0x2d125e,_0x5dcabb?_0x2b0dcd(0x80):_0x2b0dcd(0x7f))),'role':_0x2b0dcd(0x77),'tabindex':_0x4419d8['to'](_0x2b0dcd(0x75),_0x122820=>!!_0x122820&&0x0),'class':['ck',_0x2b0dcd(0x82)]},'children':this[_0x2b0dcd(0x6f)],'on':{'mouseenter':_0x4419d8['to'](()=>this[_0x2b0dcd(0x79)](_0x2b0dcd(0x89))),'mouseleave':_0x4419d8['to'](_0x566452=>{const _0x4c433f=_0x2b0dcd,_0x31a6c0=_0x566452,_0x9fd22f=document[_0x4c433f(0x71)](_0x4c433f(0x85)),_0x1c1094=document[_0x4c433f(0x71)](_0x4c433f(0x78));_0x9fd22f?.[_0x4c433f(0x83)](_0x31a6c0[_0x4c433f(0x87)])||_0x1c1094?.[_0x4c433f(0x83)](_0x31a6c0[_0x4c433f(0x87)])||this[_0x4c433f(0x79)](_0x4c433f(0x8b));})}}),this['on'](_0x2b0dcd(0x76),(_0x4b25f9,_0x4cf319,_0x55cae9)=>{const _0x3e262d=_0x2b0dcd;this[_0x3e262d(0x70)]&&(_0x55cae9?this[_0x3e262d(0x70)][_0x3e262d(0x88)](_0x3e262d(0x8a),String(this[_0x3e262d(0x84)])):this[_0x3e262d(0x70)][_0x3e262d(0x6d)](_0x3e262d(0x8a)));});}[_0x158376(0x8c)](){const _0x4216a2=_0x158376;this[_0x4216a2(0x70)][_0x4216a2(0x8c)]();}[_0x158376(0x7d)](){const _0x4ecb8a=_0x158376;super[_0x4ecb8a(0x7d)](),this[_0x4ecb8a(0x81)][_0x4ecb8a(0x8f)](this[_0x4ecb8a(0x70)]);}}
23
+ const _0x31be10=_0x2b77;(function(_0x3d8484,_0x2b82d1){const _0x59b540=_0x2b77,_0xccafd1=_0x3d8484();while(!![]){try{const _0x4d5f6e=-parseInt(_0x59b540(0x1a4))/0x1*(-parseInt(_0x59b540(0x1a9))/0x2)+-parseInt(_0x59b540(0x1b7))/0x3+-parseInt(_0x59b540(0x1ad))/0x4*(parseInt(_0x59b540(0x1b4))/0x5)+-parseInt(_0x59b540(0x1a8))/0x6+parseInt(_0x59b540(0x1c6))/0x7*(-parseInt(_0x59b540(0x1c3))/0x8)+-parseInt(_0x59b540(0x1bb))/0x9+-parseInt(_0x59b540(0x1b1))/0xa*(-parseInt(_0x59b540(0x1b6))/0xb);if(_0x4d5f6e===_0x2b82d1)break;else _0xccafd1['push'](_0xccafd1['shift']());}catch(_0x40c6d0){_0xccafd1['push'](_0xccafd1['shift']());}}}(_0x1042,0x38e3c));import{View as _0x2c4d82}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x581579}from'ckeditor5/src/utils.js';function _0x2b77(_0x963d1d,_0x31950f){const _0x1042f0=_0x1042();return _0x2b77=function(_0x2b7796,_0x1f50cc){_0x2b7796=_0x2b7796-0x1a1;let _0x129097=_0x1042f0[_0x2b7796];return _0x129097;},_0x2b77(_0x963d1d,_0x31950f);}import{getTranslation as _0x1f38d2}from'../../common-translations.js';export default class ts extends _0x2c4d82{[_0x31be10(0x1ab)];[_0x31be10(0x1a6)];constructor(_0x163fe6){const _0xfe7e91=_0x31be10;super(_0x163fe6);const _0x2ff24d=this[_0xfe7e91(0x1c0)];this[_0xfe7e91(0x1ab)]=this[_0xfe7e91(0x1aa)](),this[_0xfe7e91(0x1a6)]=new _0x581579(),this[_0xfe7e91(0x1c8)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xfe7e91(0x1a7)]({'tag':_0xfe7e91(0x1b5),'attributes':{'aria-haspopup':_0x2ff24d['if'](_0xfe7e91(0x1af)),'aria-expanded':_0x2ff24d['to'](_0xfe7e91(0x1ba),_0x188e74=>this[_0xfe7e91(0x1af)]&&String(_0x188e74)),'aria-label':_0x2ff24d['to'](_0xfe7e91(0x1af),_0x475aae=>_0x1f38d2(_0x163fe6,_0x475aae?_0xfe7e91(0x1bf):_0xfe7e91(0x1a5))),'role':_0xfe7e91(0x1c5),'tabindex':_0x2ff24d['to'](_0xfe7e91(0x1af),_0xfa025=>!!_0xfa025&&0x0),'class':['ck',_0xfe7e91(0x1bd)]},'children':this[_0xfe7e91(0x1ab)],'on':{'mouseenter':_0x2ff24d['to'](()=>this[_0xfe7e91(0x1c7)](_0xfe7e91(0x1ac))),'mouseleave':_0x2ff24d['to'](_0x5c3842=>{const _0x317b6b=_0xfe7e91,_0x90afd0=_0x5c3842,_0x36db18=document[_0x317b6b(0x1a2)](_0x317b6b(0x1be)),_0x1345e1=document[_0x317b6b(0x1a2)](_0x317b6b(0x1ae));_0x36db18?.[_0x317b6b(0x1b2)](_0x90afd0[_0x317b6b(0x1c2)])||_0x1345e1?.[_0x317b6b(0x1b2)](_0x90afd0[_0x317b6b(0x1c2)])||this[_0x317b6b(0x1c7)](_0x317b6b(0x1a3));})}}),this['on'](_0xfe7e91(0x1c1),(_0x3a8a75,_0x5b2bf0,_0x500051)=>{const _0x4c3439=_0xfe7e91;this[_0x4c3439(0x1b9)]&&(_0x500051?this[_0x4c3439(0x1b9)][_0x4c3439(0x1bc)](_0x4c3439(0x1c4),String(this[_0x4c3439(0x1ba)])):this[_0x4c3439(0x1b9)][_0x4c3439(0x1b3)](_0x4c3439(0x1c4)));});}[_0x31be10(0x1b0)](){const _0x5c4316=_0x31be10;this[_0x5c4316(0x1b9)][_0x5c4316(0x1b0)]();}[_0x31be10(0x1b8)](){const _0xe7de3d=_0x31be10;super[_0xe7de3d(0x1b8)](),this[_0xe7de3d(0x1a6)][_0xe7de3d(0x1a1)](this[_0xe7de3d(0x1b9)]);}}function _0x1042(){const _0x633229=['19862dJbfKG','Connected\x20users\x20list','keystrokes','setTemplate','2700612sCNXuR','42LROiWA','createCollection','items','presencelist:show','1200yCMnUb','.ck-balloon-panel_with-arrow','hasPopup','focus','15977330GNXmhr','contains','removeAttribute','6220qLfwRA','div','11LCXjyu','1292679oSqjvB','render','element','isExpanded','1745424eUIJCR','setAttribute','ck-presence-list__list','.ck-presence-list__dropdown-list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','change:hasPopup','relatedTarget','889824KrfrrD','aria-expanded','list','21ZwIYQl','fire','set','listenTo','querySelector','presencelist:hide'];_0x1042=function(){return _0x633229;};return _0x1042();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x468072=_0x49fb;(function(_0x53eb47,_0x2b9b50){const _0x3c3952=_0x49fb,_0x1fca1c=_0x53eb47();while(!![]){try{const _0x482d3c=-parseInt(_0x3c3952(0x1b3))/0x1+parseInt(_0x3c3952(0x19f))/0x2*(parseInt(_0x3c3952(0x1a0))/0x3)+-parseInt(_0x3c3952(0x1a4))/0x4*(-parseInt(_0x3c3952(0x1a5))/0x5)+parseInt(_0x3c3952(0x1ab))/0x6+parseInt(_0x3c3952(0x1a8))/0x7+-parseInt(_0x3c3952(0x1aa))/0x8*(-parseInt(_0x3c3952(0x1b2))/0x9)+-parseInt(_0x3c3952(0x19e))/0xa;if(_0x482d3c===_0x2b9b50)break;else _0x1fca1c['push'](_0x1fca1c['shift']());}catch(_0x52ebbb){_0x1fca1c['push'](_0x1fca1c['shift']());}}}(_0x5477,0x59444));import{View as _0x5496f7}from'ckeditor5/src/ui.js';import _0x14c886 from'./presencecounterview.js';function _0x5477(){const _0x46aafb=['bind','change','counterView','locale','ck-reset','isCollapsed','ck-presence-list--collapsed','12520510GDILuJ','167394QAeiOg','3QVCQPa','ck-presence-list','listenTo','ck-rounded-corners','4hDdDwL','3228815wtuIfc','set','div','4033211FKIXjX','bindTemplate','2418896oYSoCl','859236nMuvzH','inlineListView','tooltipPosition','first','hasPopup','setTemplate','items','9KXUcoU','133514tJuZKB'];_0x5477=function(){return _0x46aafb;};return _0x5477();}import _0xf03602 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x49fb(_0x4223ff,_0xd36da0){const _0x547712=_0x5477();return _0x49fb=function(_0x49fb5b,_0x282d56){_0x49fb5b=_0x49fb5b-0x19b;let _0x19b004=_0x547712[_0x49fb5b];return _0x19b004;},_0x49fb(_0x4223ff,_0xd36da0);}export default class _ extends _0x5496f7{[_0x468072(0x1b6)];[_0x468072(0x1ac)];constructor(_0x59f5e2,_0x2545ff=0x6){const _0x4dafa1=_0x468072;super(_0x59f5e2);const _0x140882=this[_0x4dafa1(0x1a9)];this[_0x4dafa1(0x1a6)](_0x4dafa1(0x19c),!0x0),this[_0x4dafa1(0x1b6)]=new _0x14c886(this[_0x4dafa1(0x1b7)],_0x2545ff),this[_0x4dafa1(0x1ac)]=new _0xf03602(_0x59f5e2),this[_0x4dafa1(0x1ac)][_0x4dafa1(0x1b4)](_0x4dafa1(0x1af))['to'](this,_0x4dafa1(0x19c)),this[_0x4dafa1(0x1a2)](this[_0x4dafa1(0x1ac)][_0x4dafa1(0x1b1)],_0x4dafa1(0x1b5),()=>{const _0x28eef1=_0x4dafa1;for(const _0x136acc of this[_0x28eef1(0x1ac)][_0x28eef1(0x1b1)])_0x136acc[_0x28eef1(0x1ad)]='s';this[_0x28eef1(0x1ac)][_0x28eef1(0x1b1)][_0x28eef1(0x1ae)]&&(this[_0x28eef1(0x1ac)][_0x28eef1(0x1b1)][_0x28eef1(0x1ae)][_0x28eef1(0x1ad)]='se');}),this[_0x4dafa1(0x1b0)]({'tag':_0x4dafa1(0x1a7),'attributes':{'class':['ck',_0x4dafa1(0x1a1),_0x4dafa1(0x19b),_0x4dafa1(0x1a3),_0x140882['if'](_0x4dafa1(0x19c),_0x4dafa1(0x19d))]},'children':[this[_0x4dafa1(0x1ac)]]});}}
23
+ const _0x57b2f3=_0x300a;(function(_0x173a7a,_0x4acbd4){const _0x45288b=_0x300a,_0x5157dc=_0x173a7a();while(!![]){try{const _0x114c77=-parseInt(_0x45288b(0x15e))/0x1+-parseInt(_0x45288b(0x178))/0x2+-parseInt(_0x45288b(0x16b))/0x3*(parseInt(_0x45288b(0x177))/0x4)+parseInt(_0x45288b(0x167))/0x5+-parseInt(_0x45288b(0x17a))/0x6*(-parseInt(_0x45288b(0x179))/0x7)+-parseInt(_0x45288b(0x176))/0x8*(-parseInt(_0x45288b(0x164))/0x9)+-parseInt(_0x45288b(0x174))/0xa;if(_0x114c77===_0x4acbd4)break;else _0x5157dc['push'](_0x5157dc['shift']());}catch(_0x52902e){_0x5157dc['push'](_0x5157dc['shift']());}}}(_0x4ce1,0xa1660));import{View as _0x278ee7}from'ckeditor5/src/ui.js';import _0x5e0750 from'./presencecounterview.js';import _0x13a7e1 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x300a(_0x505c50,_0xda1d37){const _0x4ce161=_0x4ce1();return _0x300a=function(_0x300a81,_0x7dac28){_0x300a81=_0x300a81-0x15e;let _0x3edb71=_0x4ce161[_0x300a81];return _0x3edb71;},_0x300a(_0x505c50,_0xda1d37);}function _0x4ce1(){const _0x1705cb=['div','inlineListView','17559hoHggf','bind','hasPopup','listenTo','counterView','isCollapsed','setTemplate','ck-presence-list--collapsed','items','10393290sHZiuB','change','5072fvCPts','152lPLkYO','1104540tSIPVl','7rxDIzk','7023138AHHpUT','220705KuEipy','ck-presence-list','first','bindTemplate','ck-rounded-corners','set','18036FvdPak','ck-reset','tooltipPosition','1273735kpXbRd','locale'];_0x4ce1=function(){return _0x1705cb;};return _0x4ce1();}export default class j extends _0x278ee7{[_0x57b2f3(0x16f)];[_0x57b2f3(0x16a)];constructor(_0x3b5c31,_0x20191c=0x6){const _0x50c896=_0x57b2f3;super(_0x3b5c31);const _0x2e3df7=this[_0x50c896(0x161)];this[_0x50c896(0x163)](_0x50c896(0x170),!0x0),this[_0x50c896(0x16f)]=new _0x5e0750(this[_0x50c896(0x168)],_0x20191c),this[_0x50c896(0x16a)]=new _0x13a7e1(_0x3b5c31),this[_0x50c896(0x16a)][_0x50c896(0x16c)](_0x50c896(0x16d))['to'](this,_0x50c896(0x170)),this[_0x50c896(0x16e)](this[_0x50c896(0x16a)][_0x50c896(0x173)],_0x50c896(0x175),()=>{const _0x391917=_0x50c896;for(const _0x1f04f7 of this[_0x391917(0x16a)][_0x391917(0x173)])_0x1f04f7[_0x391917(0x166)]='s';this[_0x391917(0x16a)][_0x391917(0x173)][_0x391917(0x160)]&&(this[_0x391917(0x16a)][_0x391917(0x173)][_0x391917(0x160)][_0x391917(0x166)]='se');}),this[_0x50c896(0x171)]({'tag':_0x50c896(0x169),'attributes':{'class':['ck',_0x50c896(0x15f),_0x50c896(0x165),_0x50c896(0x162),_0x2e3df7['if'](_0x50c896(0x170),_0x50c896(0x172))]},'children':[this[_0x50c896(0x16a)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x413a(){var _0x39a302=['488Nyvysr','25668wRqqZL','6MMCGHc','pluginName','1981133LegQOv','500nOqMLS','8220770lzFBOg','PresenceList','isPremiumPlugin','202780YhaoVX','requires','1179BuhAJV','840896GGaxds','8859cOlfDG','isOfficialPlugin'];_0x413a=function(){return _0x39a302;};return _0x413a();}var _0x4f4d7c=_0x3b75;function _0x3b75(_0xd9f9f6,_0x180744){var _0x413af0=_0x413a();return _0x3b75=function(_0x3b7543,_0x5dab74){_0x3b7543=_0x3b7543-0x1a4;var _0xb17d3=_0x413af0[_0x3b7543];return _0xb17d3;},_0x3b75(_0xd9f9f6,_0x180744);}(function(_0x588611,_0x17aecc){var _0x40e6f5=_0x3b75,_0x26e268=_0x588611();while(!![]){try{var _0x23ea60=-parseInt(_0x40e6f5(0x1a6))/0x1+-parseInt(_0x40e6f5(0x1b1))/0x2+-parseInt(_0x40e6f5(0x1b2))/0x3*(parseInt(_0x40e6f5(0x1aa))/0x4)+-parseInt(_0x40e6f5(0x1ae))/0x5+parseInt(_0x40e6f5(0x1a7))/0x6*(parseInt(_0x40e6f5(0x1a9))/0x7)+parseInt(_0x40e6f5(0x1a5))/0x8*(-parseInt(_0x40e6f5(0x1b0))/0x9)+parseInt(_0x40e6f5(0x1ab))/0xa;if(_0x23ea60===_0x17aecc)break;else _0x26e268['push'](_0x26e268['shift']());}catch(_0x1b3240){_0x26e268['push'](_0x26e268['shift']());}}}(_0x413a,0x3ae9c));import{ContextPlugin as _0x5e7191}from'ckeditor5/src/core.js';import _0x18f3d4 from'./realtimecollaborativeediting/sessions.js';import _0x1ba912 from'./presencelist/presencelistui.js';export default class s extends _0x5e7191{static get[_0x4f4d7c(0x1af)](){return[_0x18f3d4,_0x1ba912];}static get[_0x4f4d7c(0x1a8)](){var _0xf7bdfa=_0x4f4d7c;return _0xf7bdfa(0x1ac);}static get[_0x4f4d7c(0x1a4)](){return!0x0;}static get[_0x4f4d7c(0x1ad)](){return!0x0;}}
23
+ function _0x25ca(){var _0x2748c7=['707PPAsNK','6829284PQyjXr','3776imPjOn','257tplXkV','2628WobyfY','requires','PresenceList','pluginName','3619440XDtimD','1527cMmpYs','9ICqhhm','2322aonfwF','isOfficialPlugin','610YaNBrw','1644ZqOmtD','isPremiumPlugin','3092122MBXxqe'];_0x25ca=function(){return _0x2748c7;};return _0x25ca();}var _0x542dc0=_0x167b;(function(_0x1a7ddd,_0x31b975){var _0xafb8f3=_0x167b,_0x5c2a5d=_0x1a7ddd();while(!![]){try{var _0x3bc43a=-parseInt(_0xafb8f3(0x130))/0x1*(parseInt(_0xafb8f3(0x12a))/0x2)+parseInt(_0xafb8f3(0x136))/0x3*(parseInt(_0xafb8f3(0x131))/0x4)+-parseInt(_0xafb8f3(0x129))/0x5*(-parseInt(_0xafb8f3(0x138))/0x6)+-parseInt(_0xafb8f3(0x12d))/0x7*(parseInt(_0xafb8f3(0x12f))/0x8)+-parseInt(_0xafb8f3(0x137))/0x9*(-parseInt(_0xafb8f3(0x135))/0xa)+parseInt(_0xafb8f3(0x12c))/0xb+-parseInt(_0xafb8f3(0x12e))/0xc;if(_0x3bc43a===_0x31b975)break;else _0x5c2a5d['push'](_0x5c2a5d['shift']());}catch(_0x5b4b13){_0x5c2a5d['push'](_0x5c2a5d['shift']());}}}(_0x25ca,0x30020));function _0x167b(_0x1e4b67,_0x331f27){var _0x25ca2e=_0x25ca();return _0x167b=function(_0x167b5c,_0x251ffa){_0x167b5c=_0x167b5c-0x128;var _0xbe71d4=_0x25ca2e[_0x167b5c];return _0xbe71d4;},_0x167b(_0x1e4b67,_0x331f27);}import{ContextPlugin as _0xde089a}from'ckeditor5/src/core.js';import _0x2bbb0f from'./realtimecollaborativeediting/sessions.js';import _0xac4dbf from'./presencelist/presencelistui.js';export default class s extends _0xde089a{static get[_0x542dc0(0x132)](){return[_0x2bbb0f,_0xac4dbf];}static get[_0x542dc0(0x134)](){var _0x490c84=_0x542dc0;return _0x490c84(0x133);}static get[_0x542dc0(0x128)](){return!0x0;}static get[_0x542dc0(0x12b)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2eee78=_0xb192;(function(_0x4e8917,_0x30e92e){const _0x47a490=_0xb192,_0x5885e6=_0x4e8917();while(!![]){try{const _0x4dfcea=-parseInt(_0x47a490(0x140))/0x1*(-parseInt(_0x47a490(0x127))/0x2)+-parseInt(_0x47a490(0x173))/0x3*(parseInt(_0x47a490(0x12f))/0x4)+-parseInt(_0x47a490(0x180))/0x5+-parseInt(_0x47a490(0x15d))/0x6+-parseInt(_0x47a490(0x136))/0x7*(-parseInt(_0x47a490(0x177))/0x8)+-parseInt(_0x47a490(0x170))/0x9*(-parseInt(_0x47a490(0x15b))/0xa)+-parseInt(_0x47a490(0x12e))/0xb*(-parseInt(_0x47a490(0x166))/0xc);if(_0x4dfcea===_0x30e92e)break;else _0x5885e6['push'](_0x5885e6['shift']());}catch(_0x5cc166){_0x5885e6['push'](_0x5885e6['shift']());}}}(_0x13da,0xa8294));function _0xb192(_0x4cf5f4,_0xf700a){const _0x13da62=_0x13da();return _0xb192=function(_0xb1929d,_0x37b8bc){_0xb1929d=_0xb1929d-0x126;let _0x4407fa=_0x13da62[_0xb1929d];return _0x4407fa;},_0xb192(_0x4cf5f4,_0xf700a);}function _0x13da(){const _0x165222=['4KQoXtL','getCommentThreads','register','reopen','size','reconnect','assign','4919432BKfKVe','removeCommentThread','reopenCommentThread','code','authorId','userId','removeComment','resolvedBy','404','_connectService','1285819YEQirP','getMany','get','resolve','updateCommentThread','update','content','commentThreadUpdated','off','plugins','message','commentThreadRemoved','cloudservicescommentsadapter-connect-already-connected','init','_getService','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','connect','CommentsService','_setUpService','_services','commentId','permissions','resolvedAt','getConnectedSessions','resolveCommentThread','deletedAt','6207880bwJhSj','_fetchMissingUsersForThreads','1308168NYgXcP','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','isPremiumPlugin','commentThreadReopened','commentUpdated','_terminateService','delete','isOfficialPlugin','10176GviluU','CloudServicesCommentsAdapter','set','Permissions','addCommentThread','commentAdded','has','cloudservicescommentsadapter-service-not-exist','createdAt','startsWith','9ZSRuUC','unregister','updateComment','3907041KDxQpY','commentThreadId','addUser','attributes','8vGkqAj','config','addComment','sessionAdd:','commentThreadAdded','keys','add','comments','getCommentThread','4846140GYbjib','cloudservicescommentsadapter-disconnect-not-exist','getUser','pluginName','commentThreadResolved','map','getComment','disconnect','cloud-services-internal-error:\x20Not\x20connected.','remove','collaboration.channelId','addToReconnectionStack','CommentsRepository','commentRemoved','requires','2yxmSLs','from','context','catch','destroy','adapter','setPermissions','7381seXGiX'];_0x13da=function(){return _0x165222;};return _0x13da();}import{Context as _0x34f315,ContextPlugin as _0x35650a}from'ckeditor5/src/core.js';import{CKEditorError as _0x53b144}from'ckeditor5/src/utils.js';import{Users as _0x38c681}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xdf339d,User as _0x5f11f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x14cfd4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x472c60 from'../realtimecollaborativeediting/sessions.js';class a extends _0x35650a{static [_0x2eee78(0x152)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xdf339d)());[_0x2eee78(0x154)];static get[_0x2eee78(0x126)](){const _0x249ccb=_0x2eee78;return[_0x14cfd4,_0x249ccb(0x18c),_0x472c60,_0x38c681];}static get[_0x2eee78(0x183)](){const _0x110ae8=_0x2eee78;return _0x110ae8(0x167);}static get[_0x2eee78(0x165)](){return!0x0;}static get[_0x2eee78(0x160)](){return!0x0;}constructor(_0x1eaebc){const _0x1eccb4=_0x2eee78;super(_0x1eaebc),this[_0x1eccb4(0x154)]=new Map();}async[_0x2eee78(0x14d)](){const _0x31e2d2=_0x2eee78,_0x3592f7=this[_0x31e2d2(0x129)],_0x3cb68d=_0x3592f7[_0x31e2d2(0x149)][_0x31e2d2(0x142)](_0x31e2d2(0x18c));if(_0x3592f7[_0x31e2d2(0x149)][_0x31e2d2(0x142)](_0x14cfd4)[_0x31e2d2(0x18b)](this),_0x3cb68d[_0x31e2d2(0x12c)]={'addCommentThread':async({channelId:_0x212312,threadId:_0xb6cc4d,comments:_0x4a145c,resolvedAt:_0x31bd98,resolvedBy:_0x19ee87,context:_0x35ddf2,attributes:_0x369262})=>{const _0x411b39=_0x31e2d2,_0x3d2ad5=await this[_0x411b39(0x14e)](_0x212312)[_0x411b39(0x16a)]({'commentThreadId':_0xb6cc4d,'comments':_0x4a145c[_0x411b39(0x185)](_0x48e2fb=>function(_0x579012,_0x27cf68,_0x31c8e9){const _0x19f25d=_0x411b39;return{'commentThreadId':_0x31c8e9,'commentId':_0x579012[_0x19f25d(0x155)],'userId':_0x579012[_0x19f25d(0x13a)],'content':_0x579012[_0x19f25d(0x146)],'documentId':_0x27cf68,'createdAt':_0x579012[_0x19f25d(0x16e)],'attributes':_0x579012[_0x19f25d(0x176)]||{}};}(_0x48e2fb,_0x212312,_0xb6cc4d)),'resolvedAt':_0x31bd98,'resolvedBy':_0x19ee87,'context':_0x35ddf2,'attributes':_0x369262})[_0x411b39(0x12a)](w);return{'threadId':_0x3d2ad5[_0x411b39(0x174)],'comments':_0x3d2ad5[_0x411b39(0x17e)]};},'getCommentThread':async({channelId:_0x355f21,threadId:_0x2edad3})=>{const _0x3a18a4=_0x31e2d2,_0x51304d=await this[_0x3a18a4(0x14e)](_0x355f21)[_0x3a18a4(0x17f)](_0x2edad3)[_0x3a18a4(0x12a)](w);return _0x51304d[_0x3a18a4(0x15a)]?null:(await this[_0x3a18a4(0x15c)]([_0x51304d]),{'threadId':_0x51304d[_0x3a18a4(0x174)],'comments':_0x51304d[_0x3a18a4(0x17e)][_0x3a18a4(0x185)](b),'context':_0x51304d[_0x3a18a4(0x129)],'resolvedAt':_0x51304d[_0x3a18a4(0x157)],'resolvedBy':_0x51304d[_0x3a18a4(0x13d)],'attributes':_0x51304d[_0x3a18a4(0x176)]||{}});},'updateCommentThread':async({channelId:_0x4c93ef,threadId:_0x2de2d3,context:_0x4a01ee,unlinkedAt:_0x54b692,attributes:_0x5ace89})=>this[_0x31e2d2(0x14e)](_0x4c93ef)[_0x31e2d2(0x144)]({'commentThreadId':_0x2de2d3,'context':_0x4a01ee,'attributes':_0x5ace89,'unlinkedAt':_0x54b692})[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'resolveCommentThread':async({channelId:_0x4d239f,threadId:_0x94effd})=>{const _0x5cf0e9=_0x31e2d2,_0x84f382=await this[_0x5cf0e9(0x14e)](_0x4d239f)[_0x5cf0e9(0x159)](_0x94effd)[_0x5cf0e9(0x12a)](y)[_0x5cf0e9(0x12a)](w);return{'threadId':_0x84f382[_0x5cf0e9(0x174)],'resolvedAt':_0x84f382[_0x5cf0e9(0x157)],'resolvedBy':_0x84f382[_0x5cf0e9(0x13d)]};},'reopenCommentThread':async({channelId:_0x12b283,threadId:_0x59bb95})=>this[_0x31e2d2(0x14e)](_0x12b283)[_0x31e2d2(0x138)](_0x59bb95)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'removeCommentThread':({channelId:_0xf06b63,threadId:_0x5b15ca})=>this[_0x31e2d2(0x14e)](_0xf06b63)[_0x31e2d2(0x137)](_0x5b15ca)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'addComment':({channelId:_0x1dc927,threadId:_0x1709f0,commentId:_0x26220d,content:_0x1f3247,attributes:_0x9fa093})=>this[_0x31e2d2(0x14e)](_0x1dc927)[_0x31e2d2(0x179)](_0x1709f0,_0x26220d,_0x1f3247,_0x9fa093)[_0x31e2d2(0x12a)](w),'updateComment':({channelId:_0x16d07e,threadId:_0x55ffec,commentId:_0x41c9bc,content:_0x4407c7,attributes:_0x20ced2})=>this[_0x31e2d2(0x14e)](_0x16d07e)[_0x31e2d2(0x172)](_0x55ffec,_0x41c9bc,_0x4407c7,_0x20ced2)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w),'removeComment':({channelId:_0x231a90,threadId:_0x45fc21,commentId:_0x492c5b})=>this[_0x31e2d2(0x14e)](_0x231a90)[_0x31e2d2(0x13c)](_0x45fc21,_0x492c5b)[_0x31e2d2(0x12a)](y)[_0x31e2d2(0x12a)](w)},_0x3592f7 instanceof _0x34f315){const _0x1c72c2=_0x3592f7[_0x31e2d2(0x178)][_0x31e2d2(0x142)](_0x31e2d2(0x18a)),_0x486921=_0x3592f7[_0x31e2d2(0x149)][_0x31e2d2(0x142)](_0x472c60);await this[_0x31e2d2(0x153)](_0x1c72c2);const _0x2375af=await this[_0x31e2d2(0x154)][_0x31e2d2(0x142)](_0x1c72c2)[_0x31e2d2(0x158)]();this[_0x31e2d2(0x15f)](_0x486921,_0x31e2d2(0x17a)+_0x1c72c2,(_0x119cff,{session:_0x48c986})=>{const _0x252db7=_0x31e2d2;_0x48c986['id']===_0x486921[_0x252db7(0x14f)]&&(_0x119cff[_0x252db7(0x148)](),this[_0x252db7(0x129)][_0x252db7(0x149)][_0x252db7(0x142)](_0x252db7(0x169))[_0x252db7(0x12d)](_0x48c986[_0x252db7(0x156)],_0x1c72c2));}),_0x486921[_0x31e2d2(0x131)](_0x1c72c2,_0x2375af);}}async[_0x2eee78(0x153)](_0x4afb07){const _0x3ebd74=_0x2eee78;if(this[_0x3ebd74(0x154)][_0x3ebd74(0x16c)](_0x4afb07))throw new _0x53b144(_0x3ebd74(0x14c),null,{'channelId':_0x4afb07});const _0x58ab69=this[_0x3ebd74(0x129)][_0x3ebd74(0x149)][_0x3ebd74(0x142)](_0x3ebd74(0x18c)),_0x173470=new a[(_0x3ebd74(0x152))](_0x4afb07);this[_0x3ebd74(0x154)][_0x3ebd74(0x168)](_0x4afb07,_0x173470),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x17b),(_0x4fed67,_0x2ad61f)=>{const _0xc078d4=_0x3ebd74,{commentThreadId:_0x44f31d,documentId:_0x3e0e40,context:_0x4cbada,attributes:_0x9a4bf7,resolvedAt:_0x2b20d2,resolvedBy:_0xdb8252,comments:_0x20d454}=_0x2ad61f;_0x58ab69[_0xc078d4(0x17f)](_0x44f31d)||_0x58ab69[_0xc078d4(0x16a)]({'threadId':_0x44f31d,'channelId':_0x3e0e40,'comments':_0x20d454?_0x20d454[_0xc078d4(0x185)](b):[],'context':_0x4cbada,'attributes':_0x9a4bf7,'resolvedAt':_0x2b20d2,'resolvedBy':_0xdb8252,'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x147),(_0x20c3fc,{commentThreadId:_0x2d18d4,documentId:_0x3f9ff0,context:_0x1659e8,unlinkedAt:_0x5cf4af,attributes:_0x420a70})=>{const _0x4dd3ef=_0x3ebd74;_0x58ab69[_0x4dd3ef(0x17f)](_0x2d18d4)&&_0x58ab69[_0x4dd3ef(0x144)]({'threadId':_0x2d18d4,'channelId':_0x3f9ff0,'context':_0x1659e8,'unlinkedAt':_0x5cf4af,'attributes':_0x420a70,'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x184),(_0x8b5e42,{commentThreadId:_0x378c45,resolvedBy:_0x44ba2f,resolvedAt:_0x303b26})=>{const _0x3581a0=_0x3ebd74,_0x4f9c12=_0x58ab69[_0x3581a0(0x17f)](_0x378c45);_0x4f9c12&&_0x4f9c12[_0x3581a0(0x143)]({'resolvedBy':_0x44ba2f,'resolvedAt':_0x303b26,'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x161),(_0x3104a8,{commentThreadId:_0x1f2674})=>{const _0x53f6b0=_0x3ebd74,_0x163b0b=_0x58ab69[_0x53f6b0(0x17f)](_0x1f2674);_0x163b0b&&_0x163b0b[_0x53f6b0(0x132)]({'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x14b),(_0x3a2ca8,{commentThreadId:_0x2c41bf})=>{const _0x1bca9e=_0x3ebd74,_0xbe4b41=_0x58ab69[_0x1bca9e(0x17f)](_0x2c41bf);_0xbe4b41&&_0xbe4b41[_0x1bca9e(0x189)]({'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x16b),(_0x592a70,_0x2896eb)=>{const _0xda4bca=_0x3ebd74,_0x2f5ca8=_0x2896eb[_0xda4bca(0x174)],_0x4aafdc=_0x58ab69[_0xda4bca(0x17f)](_0x2f5ca8);_0x4aafdc&&_0x4aafdc[_0xda4bca(0x179)]({...b(_0x2896eb),'isFromAdapter':!0x0});}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x162),(_0x529d2d,{commentThreadId:_0x168237,commentId:_0x286f6c,content:_0x3d3f20,attributes:_0x436489})=>{const _0x5ad388=_0x3ebd74,_0x1217c8=_0x58ab69[_0x5ad388(0x17f)](_0x168237);if(_0x1217c8){const _0x936397=_0x1217c8[_0x5ad388(0x186)](_0x286f6c);_0x936397&&_0x936397[_0x5ad388(0x145)]({'content':_0x3d3f20,'attributes':_0x436489,'isFromAdapter':!0x0});}}),this[_0x3ebd74(0x15f)](_0x173470,_0x3ebd74(0x18d),(_0x3432d5,{commentThreadId:_0x2a9577,commentId:_0x188059})=>{const _0x42fa9a=_0x3ebd74,_0x10a5a3=_0x58ab69[_0x42fa9a(0x17f)](_0x2a9577);if(_0x10a5a3){const _0x41ebd9=_0x10a5a3[_0x42fa9a(0x186)](_0x188059);_0x41ebd9&&_0x41ebd9[_0x42fa9a(0x189)]({'isFromAdapter':!0x0});}}),await this[_0x3ebd74(0x13f)](_0x4afb07);}[_0x2eee78(0x12b)](){const _0x57f485=_0x2eee78;if(this[_0x57f485(0x129)]instanceof _0x34f315){const _0x156531=this[_0x57f485(0x129)][_0x57f485(0x178)][_0x57f485(0x142)](_0x57f485(0x18a));this[_0x57f485(0x163)](_0x156531);}}[_0x2eee78(0x163)](_0x5e2837){const _0x37cd50=_0x2eee78;if(!this[_0x37cd50(0x154)][_0x37cd50(0x16c)](_0x5e2837))throw new _0x53b144(_0x37cd50(0x181),null,{'channelId':_0x5e2837});this[_0x37cd50(0x14e)](_0x5e2837)[_0x37cd50(0x187)](),this[_0x37cd50(0x154)][_0x37cd50(0x164)](_0x5e2837);}async[_0x2eee78(0x134)](){const _0x98157e=_0x2eee78;for(const _0x5f2d0e of this[_0x98157e(0x154)][_0x98157e(0x17c)]())await this[_0x98157e(0x13f)](_0x5f2d0e);if(this[_0x98157e(0x129)]instanceof _0x34f315){const _0x5446f6=this[_0x98157e(0x129)][_0x98157e(0x178)][_0x98157e(0x142)](_0x98157e(0x18a)),_0x1ad950=this[_0x98157e(0x129)][_0x98157e(0x149)][_0x98157e(0x142)](_0x472c60);_0x1ad950[_0x98157e(0x171)](_0x5446f6);const _0x271e98=await this[_0x98157e(0x154)][_0x98157e(0x142)](_0x5446f6)[_0x98157e(0x158)]();_0x1ad950[_0x98157e(0x131)](_0x5446f6,_0x271e98);}}async[_0x2eee78(0x13f)](_0x489ead){const _0x12a9b4=_0x2eee78,{connection:_0x4e3509}=this[_0x12a9b4(0x129)][_0x12a9b4(0x149)][_0x12a9b4(0x142)](_0x14cfd4),_0x2d9330=this[_0x12a9b4(0x129)][_0x12a9b4(0x149)][_0x12a9b4(0x142)](_0x12a9b4(0x18c)),_0x585c2f=this[_0x12a9b4(0x154)][_0x12a9b4(0x142)](_0x489ead),_0x3f5813=await _0x585c2f[_0x12a9b4(0x151)](_0x4e3509);await this[_0x12a9b4(0x15c)](_0x3f5813);const _0x13c1df=new Set(Array[_0x12a9b4(0x128)](_0x2d9330[_0x12a9b4(0x130)]({'channelId':_0x489ead}),_0x2031c2=>_0x2031c2['id']));for(const _0x5bbd1e of _0x3f5813)_0x5bbd1e[_0x12a9b4(0x15a)]||_0x13c1df[_0x12a9b4(0x164)](_0x5bbd1e[_0x12a9b4(0x174)]);for(const _0x3276cc of _0x13c1df)_0x2d9330[_0x12a9b4(0x17f)](_0x3276cc)[_0x12a9b4(0x189)]({'isFromAdapter':!0x0});for(const _0x43db1a of _0x3f5813){let _0xcc6caf=_0x2d9330[_0x12a9b4(0x17f)](_0x43db1a[_0x12a9b4(0x174)]);const {commentThreadId:_0x156a07,context:_0xe9db4b,attributes:_0x55f18f,resolvedBy:_0x65a4ac,resolvedAt:_0x51bf60,unlinkedAt:_0x2ab4ce,deletedAt:_0x45ecd8}=_0x43db1a;if(_0x45ecd8)continue;_0xcc6caf||(_0xcc6caf=_0x2d9330[_0x12a9b4(0x16a)]({'channelId':_0x489ead,'threadId':_0x156a07,'context':_0xe9db4b,'attributes':_0x55f18f||{},'resolvedBy':_0x65a4ac,'resolvedAt':_0x51bf60,'unlinkedAt':_0x2ab4ce,'isFromAdapter':!0x0}));const _0x3b620d=new Set(Array[_0x12a9b4(0x128)](_0xcc6caf[_0x12a9b4(0x17e)],_0x3d7727=>_0x3d7727['id']));for(const _0x31447f of _0x43db1a[_0x12a9b4(0x17e)])_0x3b620d[_0x12a9b4(0x164)](_0x31447f[_0x12a9b4(0x155)]);for(const _0x3362c9 of _0x3b620d)_0xcc6caf[_0x12a9b4(0x186)](_0x3362c9)[_0x12a9b4(0x189)]({'isFromAdapter':!0x0});for(const _0x482dc0 of _0x43db1a[_0x12a9b4(0x17e)]){const _0x3857e3=_0xcc6caf[_0x12a9b4(0x186)](_0x482dc0[_0x12a9b4(0x155)]);_0x3857e3?_0x3857e3[_0x12a9b4(0x146)]!==_0x482dc0[_0x12a9b4(0x146)]&&_0x3857e3[_0x12a9b4(0x145)]({'content':_0x482dc0[_0x12a9b4(0x146)],'isFromAdapter':!0x0}):_0xcc6caf[_0x12a9b4(0x179)](Object[_0x12a9b4(0x135)](b(_0x482dc0),{'isFromAdapter':!0x0}));}}}[_0x2eee78(0x14e)](_0x2d2f26){const _0x45b36f=_0x2eee78;if(!this[_0x45b36f(0x154)][_0x45b36f(0x16c)](_0x2d2f26))throw new _0x53b144(_0x45b36f(0x16d),null,{'channelId':_0x2d2f26});return this[_0x45b36f(0x154)][_0x45b36f(0x142)](_0x2d2f26);}async[_0x2eee78(0x15c)](_0x21ed9e){const _0xa52482=_0x2eee78,_0x3f05bc=this[_0xa52482(0x129)][_0xa52482(0x149)][_0xa52482(0x142)](_0x38c681),{connection:_0x37b3dd}=this[_0xa52482(0x129)][_0xa52482(0x149)][_0xa52482(0x142)](_0x14cfd4),_0x74adb=new Set();for(const {resolvedBy:_0x49d19e,comments:_0x562fc8}of _0x21ed9e){_0x49d19e&&!_0x3f05bc[_0xa52482(0x182)](_0x49d19e)&&_0x74adb[_0xa52482(0x17d)](_0x49d19e);for(const {userId:_0x2cfdc1}of _0x562fc8)_0x3f05bc[_0xa52482(0x182)](_0x2cfdc1)||_0x74adb[_0xa52482(0x17d)](_0x2cfdc1);}if(0x0===_0x74adb[_0xa52482(0x133)])return;const _0x422717=await _0x5f11f1[_0xa52482(0x141)](_0x37b3dd,Array[_0xa52482(0x128)](_0x74adb));for(const _0x5ce8e0 of _0x422717)_0x3f05bc[_0xa52482(0x182)](_0x5ce8e0['id'])||_0x3f05bc[_0xa52482(0x175)](_0x5ce8e0);}}export default a;async function y(_0x5ca15a){const _0x4102f1=_0x2eee78;if(_0x4102f1(0x13e)!==_0x5ca15a[_0x4102f1(0x139)])throw _0x5ca15a;}function w(_0x54ef34){const _0x2567d3=_0x2eee78;if((_0x19ad78=_0x54ef34)[_0x2567d3(0x14a)][_0x2567d3(0x16f)](_0x2567d3(0x150))||_0x19ad78[_0x2567d3(0x14a)][_0x2567d3(0x16f)](_0x2567d3(0x188))||_0x19ad78[_0x2567d3(0x14a)][_0x2567d3(0x16f)](_0x2567d3(0x15e)))return new Promise(()=>{});var _0x19ad78;throw _0x54ef34;}function b(_0x42fa69){const _0x55a24e=_0x2eee78;return{'threadId':_0x42fa69[_0x55a24e(0x174)],'commentId':_0x42fa69[_0x55a24e(0x155)],'content':_0x42fa69[_0x55a24e(0x146)],'createdAt':_0x42fa69[_0x55a24e(0x16e)],'authorId':_0x42fa69[_0x55a24e(0x13b)],'attributes':_0x42fa69[_0x55a24e(0x176)]||{}};}
23
+ const _0x5431de=_0x4749;(function(_0x30b460,_0x29f976){const _0x24fc1a=_0x4749,_0x2b3082=_0x30b460();while(!![]){try{const _0x3ef90d=-parseInt(_0x24fc1a(0x80))/0x1*(-parseInt(_0x24fc1a(0xb2))/0x2)+parseInt(_0x24fc1a(0x6a))/0x3*(parseInt(_0x24fc1a(0xaa))/0x4)+-parseInt(_0x24fc1a(0x8b))/0x5*(-parseInt(_0x24fc1a(0x68))/0x6)+-parseInt(_0x24fc1a(0x9a))/0x7*(parseInt(_0x24fc1a(0x7e))/0x8)+-parseInt(_0x24fc1a(0x70))/0x9*(-parseInt(_0x24fc1a(0xa1))/0xa)+-parseInt(_0x24fc1a(0x78))/0xb+-parseInt(_0x24fc1a(0x7c))/0xc*(-parseInt(_0x24fc1a(0xca))/0xd);if(_0x3ef90d===_0x29f976)break;else _0x2b3082['push'](_0x2b3082['shift']());}catch(_0x3d3d05){_0x2b3082['push'](_0x2b3082['shift']());}}}(_0x32e5,0x8098b));import{Context as _0x50880e,ContextPlugin as _0x1cd6ae}from'ckeditor5/src/core.js';import{CKEditorError as _0x2e8a1c}from'ckeditor5/src/utils.js';import{Users as _0x2c6e6a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1a6617,User as _0x530e41}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3bfa6e from'../realtimecollaborativeediting/websocketgateway.js';import _0x4c1590 from'../realtimecollaborativeediting/sessions.js';function _0x4749(_0x4cd344,_0x39a8f6){const _0x32e565=_0x32e5();return _0x4749=function(_0x4749fd,_0x50947a){_0x4749fd=_0x4749fd-0x64;let _0x35fa71=_0x32e565[_0x4749fd];return _0x35fa71;},_0x4749(_0x4cd344,_0x39a8f6);}class a extends _0x1cd6ae{static [_0x5431de(0x72)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1a6617)());[_0x5431de(0x9d)];static get[_0x5431de(0x92)](){const _0x2a584b=_0x5431de;return[_0x3bfa6e,_0x2a584b(0xc6),_0x4c1590,_0x2c6e6a];}static get[_0x5431de(0x96)](){const _0x2d713e=_0x5431de;return _0x2d713e(0x79);}static get[_0x5431de(0xcc)](){return!0x0;}static get[_0x5431de(0xc2)](){return!0x0;}constructor(_0xb3ca4e){const _0x579b6d=_0x5431de;super(_0xb3ca4e),this[_0x579b6d(0x9d)]=new Map();}async[_0x5431de(0x7f)](){const _0xf5d1e5=_0x5431de,_0x3ab107=this[_0xf5d1e5(0x8f)],_0x16a3b5=_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0xf5d1e5(0xc6));if(_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0x3bfa6e)[_0xf5d1e5(0x9b)](this),_0x16a3b5[_0xf5d1e5(0x85)]={'addCommentThread':async({channelId:_0xa45b3d,threadId:_0x354006,comments:_0x27b290,resolvedAt:_0x5aba63,resolvedBy:_0x33b830,context:_0x127548,attributes:_0x5d70e3})=>{const _0x45a9d7=_0xf5d1e5,_0x19d8b8=await this[_0x45a9d7(0x9f)](_0xa45b3d)[_0x45a9d7(0xa8)]({'commentThreadId':_0x354006,'comments':_0x27b290[_0x45a9d7(0x69)](_0x4e4c0c=>function(_0x3c88d5,_0x351f28,_0x11af4a){const _0x56840f=_0x45a9d7;return{'commentThreadId':_0x11af4a,'commentId':_0x3c88d5[_0x56840f(0x89)],'userId':_0x3c88d5[_0x56840f(0x6b)],'content':_0x3c88d5[_0x56840f(0x74)],'documentId':_0x351f28,'createdAt':_0x3c88d5[_0x56840f(0x82)],'attributes':_0x3c88d5[_0x56840f(0x84)]||{}};}(_0x4e4c0c,_0xa45b3d,_0x354006)),'resolvedAt':_0x5aba63,'resolvedBy':_0x33b830,'context':_0x127548,'attributes':_0x5d70e3})[_0x45a9d7(0x97)](rt);return{'threadId':_0x19d8b8[_0x45a9d7(0xad)],'comments':_0x19d8b8[_0x45a9d7(0x6d)]};},'getCommentThread':async({channelId:_0x3aecf8,threadId:_0x42d437})=>{const _0x3577fe=_0xf5d1e5,_0x79152f=await this[_0x3577fe(0x9f)](_0x3aecf8)[_0x3577fe(0xcb)](_0x42d437)[_0x3577fe(0x97)](rt);return _0x79152f[_0x3577fe(0xac)]?null:(await this[_0x3577fe(0x9c)]([_0x79152f]),{'threadId':_0x79152f[_0x3577fe(0xad)],'comments':_0x79152f[_0x3577fe(0x6d)][_0x3577fe(0x69)](ct),'context':_0x79152f[_0x3577fe(0x8f)],'resolvedAt':_0x79152f[_0x3577fe(0x8a)],'resolvedBy':_0x79152f[_0x3577fe(0xbf)],'attributes':_0x79152f[_0x3577fe(0x84)]||{}});},'updateCommentThread':async({channelId:_0x2ae6f3,threadId:_0x25a8db,context:_0x5c2cc2,unlinkedAt:_0xe4aed8,attributes:_0x353380})=>this[_0xf5d1e5(0x9f)](_0x2ae6f3)[_0xf5d1e5(0xb6)]({'commentThreadId':_0x25a8db,'context':_0x5c2cc2,'attributes':_0x353380,'unlinkedAt':_0xe4aed8})[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'resolveCommentThread':async({channelId:_0x1a5262,threadId:_0x20a882})=>{const _0x5e9383=_0xf5d1e5,_0x18d15d=await this[_0x5e9383(0x9f)](_0x1a5262)[_0x5e9383(0xc3)](_0x20a882)[_0x5e9383(0x97)](nt)[_0x5e9383(0x97)](rt);return{'threadId':_0x18d15d[_0x5e9383(0xad)],'resolvedAt':_0x18d15d[_0x5e9383(0x8a)],'resolvedBy':_0x18d15d[_0x5e9383(0xbf)]};},'reopenCommentThread':async({channelId:_0x127d25,threadId:_0x2aead9})=>this[_0xf5d1e5(0x9f)](_0x127d25)[_0xf5d1e5(0x6f)](_0x2aead9)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'removeCommentThread':({channelId:_0x2c9139,threadId:_0x476b4e})=>this[_0xf5d1e5(0x9f)](_0x2c9139)[_0xf5d1e5(0x88)](_0x476b4e)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'addComment':({channelId:_0x241332,threadId:_0x57a88f,commentId:_0x3dda93,content:_0x2b66ba,attributes:_0x4cbd7d})=>this[_0xf5d1e5(0x9f)](_0x241332)[_0xf5d1e5(0x8d)](_0x57a88f,_0x3dda93,_0x2b66ba,_0x4cbd7d)[_0xf5d1e5(0x97)](rt),'updateComment':({channelId:_0x5eb647,threadId:_0x1f9207,commentId:_0x2f2e23,content:_0x3a44c3,attributes:_0x47d44e})=>this[_0xf5d1e5(0x9f)](_0x5eb647)[_0xf5d1e5(0xc4)](_0x1f9207,_0x2f2e23,_0x3a44c3,_0x47d44e)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'removeComment':({channelId:_0x1699e3,threadId:_0x2a9cdd,commentId:_0x37f9de})=>this[_0xf5d1e5(0x9f)](_0x1699e3)[_0xf5d1e5(0xc1)](_0x2a9cdd,_0x37f9de)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt)},_0x3ab107 instanceof _0x50880e){const _0x1aaa4c=_0x3ab107[_0xf5d1e5(0x9e)][_0xf5d1e5(0x7a)](_0xf5d1e5(0x83)),_0xb60ead=_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0x4c1590);await this[_0xf5d1e5(0xc8)](_0x1aaa4c);const _0x223c47=await this[_0xf5d1e5(0x9d)][_0xf5d1e5(0x7a)](_0x1aaa4c)[_0xf5d1e5(0xa5)]();this[_0xf5d1e5(0x71)](_0xb60ead,_0xf5d1e5(0x66)+_0x1aaa4c,(_0x27d6d9,{session:_0x43dfe0})=>{const _0x59a2ee=_0xf5d1e5;_0x43dfe0['id']===_0xb60ead[_0x59a2ee(0xbe)]&&(_0x27d6d9[_0x59a2ee(0xc7)](),this[_0x59a2ee(0x8f)][_0x59a2ee(0x94)][_0x59a2ee(0x7a)](_0x59a2ee(0x93))[_0x59a2ee(0xc9)](_0x43dfe0[_0x59a2ee(0xbb)],_0x1aaa4c));}),_0xb60ead[_0xf5d1e5(0x6e)](_0x1aaa4c,_0x223c47);}}async[_0x5431de(0xc8)](_0x405c85){const _0x50bd8e=_0x5431de;if(this[_0x50bd8e(0x9d)][_0x50bd8e(0xae)](_0x405c85))throw new _0x2e8a1c(_0x50bd8e(0xb5),null,{'channelId':_0x405c85});const _0x16e76b=this[_0x50bd8e(0x8f)][_0x50bd8e(0x94)][_0x50bd8e(0x7a)](_0x50bd8e(0xc6)),_0x101157=new a[(_0x50bd8e(0x72))](_0x405c85);this[_0x50bd8e(0x9d)][_0x50bd8e(0xb1)](_0x405c85,_0x101157),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x6c),(_0x249832,_0x3689e4)=>{const _0x32a7e1=_0x50bd8e,{commentThreadId:_0x379c40,documentId:_0x191a93,context:_0x433ea1,attributes:_0x2b9385,resolvedAt:_0x548541,resolvedBy:_0x42efff,comments:_0x4f0ba9}=_0x3689e4;_0x16e76b[_0x32a7e1(0xcb)](_0x379c40)||_0x16e76b[_0x32a7e1(0xa8)]({'threadId':_0x379c40,'channelId':_0x191a93,'comments':_0x4f0ba9?_0x4f0ba9[_0x32a7e1(0x69)](ct):[],'context':_0x433ea1,'attributes':_0x2b9385,'resolvedAt':_0x548541,'resolvedBy':_0x42efff,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb8),(_0x23db2d,{commentThreadId:_0x45d454,documentId:_0x2244bb,context:_0x54205f,unlinkedAt:_0x508223,attributes:_0x53f0c0})=>{const _0x234eae=_0x50bd8e;_0x16e76b[_0x234eae(0xcb)](_0x45d454)&&_0x16e76b[_0x234eae(0xb6)]({'threadId':_0x45d454,'channelId':_0x2244bb,'context':_0x54205f,'unlinkedAt':_0x508223,'attributes':_0x53f0c0,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb0),(_0x28e4e0,{commentThreadId:_0xfe1dfd,resolvedBy:_0x4b1f96,resolvedAt:_0x4638f7})=>{const _0xc12010=_0x50bd8e,_0x5f349f=_0x16e76b[_0xc12010(0xcb)](_0xfe1dfd);_0x5f349f&&_0x5f349f[_0xc12010(0xb7)]({'resolvedBy':_0x4b1f96,'resolvedAt':_0x4638f7,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x76),(_0x191082,{commentThreadId:_0x4ad8e3})=>{const _0x420e10=_0x50bd8e,_0x249939=_0x16e76b[_0x420e10(0xcb)](_0x4ad8e3);_0x249939&&_0x249939[_0x420e10(0xa7)]({'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xa3),(_0x3f9198,{commentThreadId:_0x228373})=>{const _0x57fd23=_0x50bd8e,_0x33d63d=_0x16e76b[_0x57fd23(0xcb)](_0x228373);_0x33d63d&&_0x33d63d[_0x57fd23(0xbd)]({'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x99),(_0x26478e,_0x34a08d)=>{const _0xae0c4d=_0x50bd8e,_0x5d7709=_0x34a08d[_0xae0c4d(0xad)],_0x2bf61a=_0x16e76b[_0xae0c4d(0xcb)](_0x5d7709);_0x2bf61a&&_0x2bf61a[_0xae0c4d(0x8d)]({...ct(_0x34a08d),'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x65),(_0x297f3c,{commentThreadId:_0x4adb66,commentId:_0x5272ee,content:_0x5f05ce,attributes:_0x207e4d})=>{const _0x409e3c=_0x50bd8e,_0x46c283=_0x16e76b[_0x409e3c(0xcb)](_0x4adb66);if(_0x46c283){const _0x53d472=_0x46c283[_0x409e3c(0xba)](_0x5272ee);_0x53d472&&_0x53d472[_0x409e3c(0xa0)]({'content':_0x5f05ce,'attributes':_0x207e4d,'isFromAdapter':!0x0});}}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb3),(_0x4021bb,{commentThreadId:_0x2c0df3,commentId:_0x321a5b})=>{const _0x469007=_0x50bd8e,_0x535277=_0x16e76b[_0x469007(0xcb)](_0x2c0df3);if(_0x535277){const _0x143a04=_0x535277[_0x469007(0xba)](_0x321a5b);_0x143a04&&_0x143a04[_0x469007(0xbd)]({'isFromAdapter':!0x0});}}),await this[_0x50bd8e(0x91)](_0x405c85);}[_0x5431de(0xc0)](){const _0x3f41b8=_0x5431de;if(this[_0x3f41b8(0x8f)]instanceof _0x50880e){const _0x5df333=this[_0x3f41b8(0x8f)][_0x3f41b8(0x9e)][_0x3f41b8(0x7a)](_0x3f41b8(0x83));this[_0x3f41b8(0xa2)](_0x5df333);}}[_0x5431de(0xa2)](_0x19fa29){const _0x495cc1=_0x5431de;if(!this[_0x495cc1(0x9d)][_0x495cc1(0xae)](_0x19fa29))throw new _0x2e8a1c(_0x495cc1(0x67),null,{'channelId':_0x19fa29});this[_0x495cc1(0x9f)](_0x19fa29)[_0x495cc1(0xab)](),this[_0x495cc1(0x9d)][_0x495cc1(0xa9)](_0x19fa29);}async[_0x5431de(0xbc)](){const _0x2325cf=_0x5431de;for(const _0xeffe82 of this[_0x2325cf(0x9d)][_0x2325cf(0x86)]())await this[_0x2325cf(0x91)](_0xeffe82);if(this[_0x2325cf(0x8f)]instanceof _0x50880e){const _0x5c59f1=this[_0x2325cf(0x8f)][_0x2325cf(0x9e)][_0x2325cf(0x7a)](_0x2325cf(0x83)),_0x1f5cb8=this[_0x2325cf(0x8f)][_0x2325cf(0x94)][_0x2325cf(0x7a)](_0x4c1590);_0x1f5cb8[_0x2325cf(0xb9)](_0x5c59f1);const _0x2ad69d=await this[_0x2325cf(0x9d)][_0x2325cf(0x7a)](_0x5c59f1)[_0x2325cf(0xa5)]();_0x1f5cb8[_0x2325cf(0x6e)](_0x5c59f1,_0x2ad69d);}}async[_0x5431de(0x91)](_0x17eed2){const _0x3dd2b0=_0x5431de,{connection:_0x4c92ae}=this[_0x3dd2b0(0x8f)][_0x3dd2b0(0x94)][_0x3dd2b0(0x7a)](_0x3bfa6e),_0x17a85b=this[_0x3dd2b0(0x8f)][_0x3dd2b0(0x94)][_0x3dd2b0(0x7a)](_0x3dd2b0(0xc6)),_0x98f9b4=this[_0x3dd2b0(0x9d)][_0x3dd2b0(0x7a)](_0x17eed2),_0x21ee07=await _0x98f9b4[_0x3dd2b0(0x98)](_0x4c92ae);await this[_0x3dd2b0(0x9c)](_0x21ee07);const _0x2aec38=new Set(Array[_0x3dd2b0(0x77)](_0x17a85b[_0x3dd2b0(0xa6)]({'channelId':_0x17eed2}),_0x2e3f6e=>_0x2e3f6e['id']));for(const _0x465ea6 of _0x21ee07)_0x465ea6[_0x3dd2b0(0xac)]||_0x2aec38[_0x3dd2b0(0xa9)](_0x465ea6[_0x3dd2b0(0xad)]);for(const _0x11dcaf of _0x2aec38)_0x17a85b[_0x3dd2b0(0xcb)](_0x11dcaf)[_0x3dd2b0(0xbd)]({'isFromAdapter':!0x0});for(const _0x4305c5 of _0x21ee07){let _0x4b76da=_0x17a85b[_0x3dd2b0(0xcb)](_0x4305c5[_0x3dd2b0(0xad)]);const {commentThreadId:_0x2289c7,context:_0x17e679,attributes:_0x33be14,resolvedBy:_0x536d01,resolvedAt:_0x25449d,unlinkedAt:_0x4d7436,deletedAt:_0x350776}=_0x4305c5;if(_0x350776)continue;_0x4b76da||(_0x4b76da=_0x17a85b[_0x3dd2b0(0xa8)]({'channelId':_0x17eed2,'threadId':_0x2289c7,'context':_0x17e679,'attributes':_0x33be14||{},'resolvedBy':_0x536d01,'resolvedAt':_0x25449d,'unlinkedAt':_0x4d7436,'isFromAdapter':!0x0}));const _0x523458=new Set(Array[_0x3dd2b0(0x77)](_0x4b76da[_0x3dd2b0(0x6d)],_0x2b6111=>_0x2b6111['id']));for(const _0x4c2712 of _0x4305c5[_0x3dd2b0(0x6d)])_0x523458[_0x3dd2b0(0xa9)](_0x4c2712[_0x3dd2b0(0x89)]);for(const _0x39712b of _0x523458)_0x4b76da[_0x3dd2b0(0xba)](_0x39712b)[_0x3dd2b0(0xbd)]({'isFromAdapter':!0x0});for(const _0x151b02 of _0x4305c5[_0x3dd2b0(0x6d)]){const _0xf18df5=_0x4b76da[_0x3dd2b0(0xba)](_0x151b02[_0x3dd2b0(0x89)]);_0xf18df5?_0xf18df5[_0x3dd2b0(0x74)]!==_0x151b02[_0x3dd2b0(0x74)]&&_0xf18df5[_0x3dd2b0(0xa0)]({'content':_0x151b02[_0x3dd2b0(0x74)],'isFromAdapter':!0x0}):_0x4b76da[_0x3dd2b0(0x8d)](Object[_0x3dd2b0(0xaf)](ct(_0x151b02),{'isFromAdapter':!0x0}));}}}[_0x5431de(0x9f)](_0x46bb83){const _0x3544d1=_0x5431de;if(!this[_0x3544d1(0x9d)][_0x3544d1(0xae)](_0x46bb83))throw new _0x2e8a1c(_0x3544d1(0xb4),null,{'channelId':_0x46bb83});return this[_0x3544d1(0x9d)][_0x3544d1(0x7a)](_0x46bb83);}async[_0x5431de(0x9c)](_0x135919){const _0x3cb638=_0x5431de,_0x30d7e5=this[_0x3cb638(0x8f)][_0x3cb638(0x94)][_0x3cb638(0x7a)](_0x2c6e6a),{connection:_0x50f2f2}=this[_0x3cb638(0x8f)][_0x3cb638(0x94)][_0x3cb638(0x7a)](_0x3bfa6e),_0xae7f68=new Set();for(const {resolvedBy:_0x304a7a,comments:_0xe25b6a}of _0x135919){_0x304a7a&&!_0x30d7e5[_0x3cb638(0x87)](_0x304a7a)&&_0xae7f68[_0x3cb638(0xa4)](_0x304a7a);for(const {userId:_0x4afcfd}of _0xe25b6a)_0x30d7e5[_0x3cb638(0x87)](_0x4afcfd)||_0xae7f68[_0x3cb638(0xa4)](_0x4afcfd);}if(0x0===_0xae7f68[_0x3cb638(0x95)])return;const _0x2603c9=await _0x530e41[_0x3cb638(0x64)](_0x50f2f2,Array[_0x3cb638(0x77)](_0xae7f68));for(const _0x101de0 of _0x2603c9)_0x30d7e5[_0x3cb638(0x87)](_0x101de0['id'])||_0x30d7e5[_0x3cb638(0x90)](_0x101de0);}}export default a;function _0x32e5(){const _0x2e7f7e=['keys','getUser','removeCommentThread','commentId','resolvedAt','719260HljRYC','userId','addComment','message','context','addUser','_connectService','requires','Permissions','plugins','size','pluginName','catch','connect','commentAdded','973jNtFXw','addToReconnectionStack','_fetchMissingUsersForThreads','_services','config','_getService','update','19270kIxeIX','_terminateService','commentThreadRemoved','add','getConnectedSessions','getCommentThreads','reopen','addCommentThread','delete','8eAjjVr','disconnect','deletedAt','commentThreadId','has','assign','commentThreadResolved','set','664294elXhFX','commentRemoved','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','updateCommentThread','resolve','commentThreadUpdated','unregister','getComment','permissions','reconnect','remove','mySessionId','resolvedBy','destroy','removeComment','isPremiumPlugin','resolveCommentThread','updateComment','startsWith','CommentsRepository','off','_setUpService','setPermissions','29588XYTtCj','getCommentThread','isOfficialPlugin','getMany','commentUpdated','sessionAdd:','cloudservicescommentsadapter-disconnect-not-exist','6hlEGWX','map','1132851lHoMLG','authorId','commentThreadAdded','comments','register','reopenCommentThread','1746FgqSuH','listenTo','CommentsService','cloud-services-internal-error:\x20Not\x20connected.','content','code','commentThreadReopened','from','4629537ozseCL','CloudServicesCommentsAdapter','get','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1956UrciNI','404','59192dyglxI','init','1CGNAEa','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','collaboration.channelId','attributes','adapter'];_0x32e5=function(){return _0x2e7f7e;};return _0x32e5();}async function nt(_0x32e02d){const _0x5c054b=_0x5431de;if(_0x5c054b(0x7d)!==_0x32e02d[_0x5c054b(0x75)])throw _0x32e02d;}function rt(_0x4059bf){const _0x1f16bb=_0x5431de;if((_0x1938d7=_0x4059bf)[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x7b))||_0x1938d7[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x73))||_0x1938d7[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x81)))return new Promise(()=>{});var _0x1938d7;throw _0x4059bf;}function ct(_0x417046){const _0xd983c8=_0x5431de;return{'threadId':_0x417046[_0xd983c8(0xad)],'commentId':_0x417046[_0xd983c8(0x89)],'content':_0x417046[_0xd983c8(0x74)],'createdAt':_0x417046[_0xd983c8(0x82)],'authorId':_0x417046[_0xd983c8(0x8c)],'attributes':_0x417046[_0xd983c8(0x84)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4466c1=_0x7312;(function(_0x1dd5ff,_0x4419d3){const _0x37dc98=_0x7312,_0x19a883=_0x1dd5ff();while(!![]){try{const _0x14cfbb=-parseInt(_0x37dc98(0x1d8))/0x1*(parseInt(_0x37dc98(0x1d2))/0x2)+-parseInt(_0x37dc98(0x1e6))/0x3+parseInt(_0x37dc98(0x1e9))/0x4*(-parseInt(_0x37dc98(0x1d9))/0x5)+-parseInt(_0x37dc98(0x1e0))/0x6+-parseInt(_0x37dc98(0x1e4))/0x7+parseInt(_0x37dc98(0x1e5))/0x8+-parseInt(_0x37dc98(0x1d0))/0x9*(-parseInt(_0x37dc98(0x1eb))/0xa);if(_0x14cfbb===_0x4419d3)break;else _0x19a883['push'](_0x19a883['shift']());}catch(_0x552107){_0x19a883['push'](_0x19a883['shift']());}}}(_0x8dc5,0xe3cf1));function _0x8dc5(){const _0xfef48e=['collaboration.channelId','ready','_terminateService','connected','requires','isOfficialPlugin','4636188gykiko','CommentsRepository','Comments','RealTimeCollaborativeComments','838866adXMfi','8307208DTVsEG','1870449NJzcGo','destroy','config','44wCrrdh','_setUpService','13870Dyqjqk','isPremiumPlugin','init','plugins','switchReadOnly','CommentsEditing','change:state','listenTo','20745CkYxyK','get','66NYOfmx','data','editor','once','pluginName','isThreadsLoadingPaused','52031eiNnGG','31495dhQmFX'];_0x8dc5=function(){return _0xfef48e;};return _0x8dc5();}import{Plugin as _0x4a0264}from'ckeditor5/src/core.js';import _0x35bc8c from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x5fe8e4 from'./realtimecollaborativeediting.js';function _0x7312(_0x78ff51,_0x1e01e3){const _0x8dc503=_0x8dc5();return _0x7312=function(_0x73124a,_0x390d01){_0x73124a=_0x73124a-0x1cb;let _0x4ad5db=_0x8dc503[_0x73124a];return _0x4ad5db;},_0x7312(_0x78ff51,_0x1e01e3);}import _0x33246e from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4a0264{static get[_0x4466c1(0x1de)](){const _0x545820=_0x4466c1;return[_0x545820(0x1e2),_0x35bc8c,_0x5fe8e4,_0x33246e];}static get[_0x4466c1(0x1d6)](){const _0x486001=_0x4466c1;return _0x486001(0x1e3);}static get[_0x4466c1(0x1df)](){return!0x0;}static get[_0x4466c1(0x1ec)](){return!0x0;}[_0x4466c1(0x1ed)](){const _0xa74aaf=_0x4466c1,_0x396b62=this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1cb)][_0xa74aaf(0x1d1)](_0x33246e),_0x49a2f6=this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1cb)][_0xa74aaf(0x1d1)](_0xa74aaf(0x1cd)),_0x3f4aed=this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1cb)][_0xa74aaf(0x1d1)](_0x35bc8c);return this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1d3)][_0xa74aaf(0x1d5)](_0xa74aaf(0x1db),()=>{const _0x494534=_0xa74aaf;this[_0x494534(0x1cf)](_0x396b62,_0x494534(0x1ce),(_0x41baed,_0x353789,_0x33a2ad)=>{const _0x1a9233=_0x494534;_0x49a2f6[_0x1a9233(0x1d7)]=_0x1a9233(0x1dd)!==_0x33a2ad;});}),this[_0xa74aaf(0x1cf)](_0x396b62,_0xa74aaf(0x1ce),(_0x1d12aa,_0x52d6ad,_0x5960a8)=>{const _0x26d21d=_0xa74aaf;this[_0x26d21d(0x1d4)][_0x26d21d(0x1cb)][_0x26d21d(0x1d1)](_0x26d21d(0x1e1))[_0x26d21d(0x1cc)](_0x26d21d(0x1dd)!==_0x5960a8);}),_0x3f4aed[_0xa74aaf(0x1ea)](this[_0xa74aaf(0x1d4)][_0xa74aaf(0x1e8)][_0xa74aaf(0x1d1)](_0xa74aaf(0x1da)));}[_0x4466c1(0x1e7)](){const _0x2a07e1=_0x4466c1;this[_0x2a07e1(0x1d4)][_0x2a07e1(0x1cb)][_0x2a07e1(0x1d1)](_0x35bc8c)[_0x2a07e1(0x1dc)](this[_0x2a07e1(0x1d4)][_0x2a07e1(0x1e8)][_0x2a07e1(0x1d1)](_0x2a07e1(0x1da))),super[_0x2a07e1(0x1e7)]();}}
23
+ const _0x331bbc=_0x2df3;(function(_0x1a5555,_0x1f76fa){const _0x4f4161=_0x2df3,_0x58b8aa=_0x1a5555();while(!![]){try{const _0x250d0a=-parseInt(_0x4f4161(0x11d))/0x1*(parseInt(_0x4f4161(0x121))/0x2)+parseInt(_0x4f4161(0x111))/0x3*(parseInt(_0x4f4161(0x103))/0x4)+parseInt(_0x4f4161(0x114))/0x5*(-parseInt(_0x4f4161(0x10e))/0x6)+-parseInt(_0x4f4161(0x113))/0x7*(parseInt(_0x4f4161(0xfe))/0x8)+-parseInt(_0x4f4161(0x10a))/0x9+-parseInt(_0x4f4161(0xff))/0xa*(-parseInt(_0x4f4161(0x117))/0xb)+parseInt(_0x4f4161(0x10c))/0xc;if(_0x250d0a===_0x1f76fa)break;else _0x58b8aa['push'](_0x58b8aa['shift']());}catch(_0x3a74d3){_0x58b8aa['push'](_0x58b8aa['shift']());}}}(_0x5e43,0xb0371));function _0x5e43(){const _0x457b80=['data','change:state','get','destroy','switchReadOnly','listenTo','9042120hGsAkf','config','44560764FCtNyY','plugins','762462vsdybw','RealTimeCollaborativeComments','CommentsEditing','3skRTPk','isPremiumPlugin','3283AhWdve','35uOSSVJ','editor','isOfficialPlugin','11uJyrMq','ready','init','collaboration.channelId','requires','Comments','4XdEAyz','_terminateService','once','connected','425146jUwOZI','pluginName','14984FbsbiO','3685390wXrayR','_setUpService','isThreadsLoadingPaused','CommentsRepository','1051156tBlsar'];_0x5e43=function(){return _0x457b80;};return _0x5e43();}function _0x2df3(_0x248b36,_0x46e66d){const _0x5e4376=_0x5e43();return _0x2df3=function(_0x2df3c7,_0x1ca0ca){_0x2df3c7=_0x2df3c7-0xfe;let _0x41fb98=_0x5e4376[_0x2df3c7];return _0x41fb98;},_0x2df3(_0x248b36,_0x46e66d);}import{Plugin as _0x3ed051}from'ckeditor5/src/core.js';import _0x43b54d from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2e70c5 from'./realtimecollaborativeediting.js';import _0x1f2820 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3ed051{static get[_0x331bbc(0x11b)](){const _0x4d6a39=_0x331bbc;return[_0x4d6a39(0x11c),_0x43b54d,_0x2e70c5,_0x1f2820];}static get[_0x331bbc(0x122)](){const _0x2f40a9=_0x331bbc;return _0x2f40a9(0x10f);}static get[_0x331bbc(0x116)](){return!0x0;}static get[_0x331bbc(0x112)](){return!0x0;}[_0x331bbc(0x119)](){const _0x4ca055=_0x331bbc,_0x49383e=this[_0x4ca055(0x115)][_0x4ca055(0x10d)][_0x4ca055(0x106)](_0x1f2820),_0x29bac6=this[_0x4ca055(0x115)][_0x4ca055(0x10d)][_0x4ca055(0x106)](_0x4ca055(0x110)),_0x432c11=this[_0x4ca055(0x115)][_0x4ca055(0x10d)][_0x4ca055(0x106)](_0x43b54d);return this[_0x4ca055(0x115)][_0x4ca055(0x104)][_0x4ca055(0x11f)](_0x4ca055(0x118),()=>{const _0x1ee960=_0x4ca055;this[_0x1ee960(0x109)](_0x49383e,_0x1ee960(0x105),(_0x46124e,_0x949539,_0x12e253)=>{const _0x54a592=_0x1ee960;_0x29bac6[_0x54a592(0x101)]=_0x54a592(0x120)!==_0x12e253;});}),this[_0x4ca055(0x109)](_0x49383e,_0x4ca055(0x105),(_0x2d95dd,_0x4c6602,_0x2abb53)=>{const _0x5c8276=_0x4ca055;this[_0x5c8276(0x115)][_0x5c8276(0x10d)][_0x5c8276(0x106)](_0x5c8276(0x102))[_0x5c8276(0x108)](_0x5c8276(0x120)!==_0x2abb53);}),_0x432c11[_0x4ca055(0x100)](this[_0x4ca055(0x115)][_0x4ca055(0x10b)][_0x4ca055(0x106)](_0x4ca055(0x11a)));}[_0x331bbc(0x107)](){const _0x242847=_0x331bbc;this[_0x242847(0x115)][_0x242847(0x10d)][_0x242847(0x106)](_0x43b54d)[_0x242847(0x11e)](this[_0x242847(0x115)][_0x242847(0x10b)][_0x242847(0x106)](_0x242847(0x11a))),super[_0x242847(0x107)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f8ff5=_0x232b;(function(_0x38549c,_0x12aaa5){const _0x124ca6=_0x232b,_0x4d44ab=_0x38549c();while(!![]){try{const _0x1066b7=parseInt(_0x124ca6(0x2e1))/0x1+parseInt(_0x124ca6(0x1fb))/0x2+parseInt(_0x124ca6(0x2af))/0x3+parseInt(_0x124ca6(0x2ac))/0x4*(-parseInt(_0x124ca6(0x2ee))/0x5)+-parseInt(_0x124ca6(0x23a))/0x6*(parseInt(_0x124ca6(0x203))/0x7)+-parseInt(_0x124ca6(0x27c))/0x8*(-parseInt(_0x124ca6(0x216))/0x9)+parseInt(_0x124ca6(0x214))/0xa*(-parseInt(_0x124ca6(0x1eb))/0xb);if(_0x1066b7===_0x12aaa5)break;else _0x4d44ab['push'](_0x4d44ab['shift']());}catch(_0x56a527){_0x4d44ab['push'](_0x4d44ab['shift']());}}}(_0x1bd8,0xef2ee));import{Plugin as _0x7392c1,PendingActions as _0x2f5e0c}from'ckeditor5/src/core.js';function _0x1bd8(){const _0x30f5dc=['_pendingAction','_initThrowingOnDataSet','_handleReconnectionError','enqueueChange','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.','from','_waitUntilSynced','off','message','collaboration','marker','getIdOfTheLastOperation','_isInit','selection','realtimecollaborationclient-init-service-internal-error','createdAt','_handleSendingSelectionMarkers','247782GrJFuK','finally','directChange','startsWith','plugins','_fetchMissingUsers','_offset','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.','realtimecollaborationclient-init-connection-failed','collaboration.channelId','rtc-offline','_currentBufferDelay','newRange','error','_authorId','connection','_isDisconnection','unregister','catch','clone','string','_isPendingUpdate','_getOperationsFromInitData','409','register','getDocumentDetails','view','Permissions','Synchronization\x20issue','_isAttached','change:hasDomSelection','_bufferRootLoad','_handleReconnectionResponse','_refreshUserSelectionMarkers','sendOperations','change:_isPendingUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','position','disableReadOnlyMode','getMany','_compressor','parse','__className','has','404','realtimecollaborationclient-init-document-already-initialized','move','_service','addUser','targetPosition','locale','add','sessionCreatedAt','roots','entries','_setUpDataInit','_knownRootNames','_hasSelectionChanged','_saveOperationInBuffer','createUserMarkerOperations','rootName','_sendBufferedOperationsDelayed','setPermissions','getConnectedSessions','document:write','stopListening','72CVdaUN','destroy','isUndoneOperation','reconnection:\x20flushed\x20session','isDocumentOperation','realtimecollaborationclient-init-non-existent-root','_updateServerHistory','length','differ','metadata','requires','high','isOfficialPlugin','realtimecollaborationclient','isReadOnly','attributes','size','getUser','return','rootsAttributes','offset','_operationIdentifier','RealTimeCollaborationClient','_connectService','_hasSynchronizationProblem','collaboration-missing-channelid','currentDocumentSession','apply','getOperationAuthor','reset','map','remove','_applyOperationsSet','_setPendingAction','_bufferedOperations','_sendBufferedOperationsDelayId','createRoot','define','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','$root','affectedSelectable','fromJSON','CollaborativeEditingService','type','getOperations','connect','multi-root-editor-root-attributes-no-root','2560276tJYPWl','_clearPendingAction','_handleInitialConnectionData','3396906oFCtPC','loadRoot','PENDING_ACTION_SENDING_DATA','batch','_decompressOperations','InsertOperation','cloudServices.bundleVersion','initData','insert','start','lastDocumentSession','real-time-collaboration','_document','toJSON','showWarning','channelSessions','_isConnected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_isLoaded','version','fire','suppressErrorInCollaboration','lastOperationAcceptedAt','_connectAfterSessionHasBeenFlushed','forEach','getRoot','_handleExternalOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_shouldSendUpdate','decompress','document','round','_loadRoot','_lastSyncedOperationId','connected','change:range','createPositionFromPath','bind','serverHistory','compress','state','sessionAdd:','end','removeFromReconnectionStack','realtimecollaborationclient-init-session-connection-error','addRootAttribute','_baseBufferDelay','keys','reconnect','realtimecollaborationclient-handleserverresponse','1389351zJuNqr','createRange','cloud-services-internal-error:\x20Not\x20connected.','_channelId','sessionId','disconnect','set','path','_getAffectedRoot','mySessionId','CommentsOnly','_crash','get','10xAZELY','_disconnectionOperations','applyOperation','_handleReceivedOperations','530783FzVrLi','wereChangesApplied','wasUndone','push','permissions','data','Notification','disconnected','markers','realtimecollaborationclient-error','affectsData','rtc-destroyed','isEnabled','_shouldSendSelectionUpdate','_isEditingAllowed','_addKnownRoot','2563480IIjDqz','includes','_operationToId','code','_ignoredOperations','addRoot','createPositionAt','config','315XWsfhS','listenTo','addOperation','enableReadOnlyMode','realtimecollaborationclient-sendbufferedoperations','_knownOperations','history','lastOperationId','pluginName','isPremiumPlugin','operationsReceived','baseVersion','root','stop','slice','_compressOperations','_lastServerVersion','130aPHBAn','editing','942093iFyruE','editor','then','addToReconnectionStack','ready','setIdForTheLastOperation','lastSyncVersion','model','cs:removeUser','_sendBufferedOperations','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-service-incorrect-server-operation','change:_isEditingAllowed','_disconnectService','init','_handleServerResponse','filter','_initSessionsHandling','userId'];_0x1bd8=function(){return _0x30f5dc;};return _0x1bd8();}import{CKEditorError as _0x4ba348,version as _0x3102de,uid as _0x5abb40}from'ckeditor5/src/utils.js';import{Notification as _0x1e0ec9}from'ckeditor5/src/ui.js';import{transformSets as _0x1d56cd,NoOperation as _0x4d5546,InsertOperation as _0x5ba9ba,MarkerOperation as _0x4a2a75,RootAttributeOperation as _0x117f0,OperationFactory as _0x4b89d4,History as _0x424744}from'ckeditor5/src/engine.js';function _0x232b(_0x538603,_0x10c582){const _0x1bd8dc=_0x1bd8();return _0x232b=function(_0x232b42,_0x4959a9){_0x232b42=_0x232b42-0x1e9;let _0x46b232=_0x1bd8dc[_0x232b42];return _0x46b232;},_0x232b(_0x538603,_0x10c582);}import _0x4afc7b from'./websocketgateway.js';import _0x5d24ff from'./sessions.js';import _0x5e1f48 from'./usermarkers.js';import{getTranslation as _0x15d316}from'../common-translations.js';import{Compressor as _0x3674dc}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1833c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3827be,CollaborativeEditingService as _0x304ab8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let tt=0x1;class l extends _0x7392c1{static [_0x1f8ff5(0x2a7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x304ab8)());[_0x1f8ff5(0x240)];[_0x1f8ff5(0x2e5)];[_0x1f8ff5(0x2d5)];[_0x1f8ff5(0x2e4)];[_0x1f8ff5(0x269)];[_0x1f8ff5(0x2bb)];[_0x1f8ff5(0x262)];[_0x1f8ff5(0x29e)];[_0x1f8ff5(0x208)];[_0x1f8ff5(0x272)];[_0x1f8ff5(0x229)];[_0x1f8ff5(0x273)];[_0x1f8ff5(0x29f)];[_0x1f8ff5(0x2dd)];[_0x1f8ff5(0x245)];[_0x1f8ff5(0x2d0)];[_0x1f8ff5(0x2ef)];[_0x1f8ff5(0x291)];static get[_0x1f8ff5(0x286)](){return[_0x4afc7b,_0x5d24ff,_0x5e1f48,_0x2f5e0c,_0x1833c6,_0x1e0ec9];}static get[_0x1f8ff5(0x20b)](){const _0x151eda=_0x1f8ff5;return _0x151eda(0x292);}static get[_0x1f8ff5(0x288)](){return!0x0;}static get[_0x1f8ff5(0x20c)](){return!0x0;}get[_0x1f8ff5(0x2a3)](){const _0x2ad9cb=_0x1f8ff5;return this[_0x2ad9cb(0x213)]+this[_0x2ad9cb(0x240)];}get[_0x1f8ff5(0x213)](){const _0x25465e=_0x1f8ff5;return this[_0x25465e(0x2d5)][_0x25465e(0x2c2)]-this[_0x25465e(0x240)];}get[_0x1f8ff5(0x21c)](){const _0x3513d6=_0x1f8ff5,_0x4e2cc5=this[_0x3513d6(0x2d5)][_0x3513d6(0x2a9)]();for(let _0xe8e9dc=_0x4e2cc5[_0x3513d6(0x283)]-0x1;_0xe8e9dc>=0x0;_0xe8e9dc--){const _0x460b3c=_0x4e2cc5[_0xe8e9dc];if(!this[_0x3513d6(0x2ef)][_0x3513d6(0x265)](_0x460b3c))return _0x460b3c[_0x3513d6(0x20e)]+0x1-this[_0x3513d6(0x240)];}return 0x0;}constructor(_0x40c41a){const _0x32b4c6=_0x1f8ff5;if(super(_0x40c41a),this[_0x32b4c6(0x240)]=0x0,this[_0x32b4c6(0x2e5)]=null,this[_0x32b4c6(0x2d5)]=new _0x424744(),this[_0x32b4c6(0x217)][_0x32b4c6(0x202)][_0x32b4c6(0x2a1)](_0x32b4c6(0x232),{}),this[_0x32b4c6(0x2e4)]=this[_0x32b4c6(0x217)][_0x32b4c6(0x202)][_0x32b4c6(0x2ed)](_0x32b4c6(0x243)),!this[_0x32b4c6(0x2e4)])throw new _0x4ba348(_0x32b4c6(0x295),this);const _0x4c7193=_0x40c41a[_0x32b4c6(0x202)][_0x32b4c6(0x2ed)](_0x32b4c6(0x2b5))||_0x3102de;this[_0x32b4c6(0x269)]=new l[(_0x32b4c6(0x2a7))](_0x4c7193,this[_0x32b4c6(0x2e4)]),this[_0x32b4c6(0x2bb)]=this[_0x32b4c6(0x217)][_0x32b4c6(0x21d)][_0x32b4c6(0x2cd)],this[_0x32b4c6(0x262)]=new _0x3674dc(),this[_0x32b4c6(0x29e)]=[],this[_0x32b4c6(0x208)]=new WeakSet(),this[_0x32b4c6(0x272)]=new Set(),this[_0x32b4c6(0x2e7)](_0x32b4c6(0x24f),!0x1),this[_0x32b4c6(0x2e7)](_0x32b4c6(0x294),!0x1),this[_0x32b4c6(0x229)]=null,this[_0x32b4c6(0x273)]=!0x1,this[_0x32b4c6(0x29f)]=null,this[_0x32b4c6(0x2dd)]=0x12c,this[_0x32b4c6(0x245)]=this[_0x32b4c6(0x2dd)],this[_0x32b4c6(0x2d0)]=null,this[_0x32b4c6(0x2ef)]=new WeakSet(),this[_0x32b4c6(0x291)]=new et(this[_0x32b4c6(0x2ef)]);}[_0x1f8ff5(0x224)](){const _0x47f2d2=_0x1f8ff5,_0x2ee6c7=this[_0x47f2d2(0x217)],_0x4f71b3=_0x2ee6c7[_0x47f2d2(0x23e)][_0x47f2d2(0x2ed)](_0x1833c6),_0x1d4568=_0x2ee6c7[_0x47f2d2(0x23e)][_0x47f2d2(0x2ed)](_0x4afc7b);this[_0x47f2d2(0x204)](_0x4f71b3,_0x47f2d2(0x298),(_0x251455,_0xb4eec6)=>{const _0x5830d0=_0x47f2d2,_0x15421d=_0xb4eec6[0x0];_0x15421d[_0x5830d0(0x248)]&&(_0x251455[_0x5830d0(0x28e)]=_0x4f71b3[_0x5830d0(0x28d)](_0x15421d[_0x5830d0(0x248)]),_0x251455[_0x5830d0(0x210)]()),null===_0x15421d[_0x5830d0(0x248)]&&(_0x251455[_0x5830d0(0x28e)]=null,_0x251455[_0x5830d0(0x210)]());},{'priority':_0x47f2d2(0x287)}),this[_0x47f2d2(0x204)](_0x2ee6c7[_0x47f2d2(0x21d)][_0x47f2d2(0x2cd)][_0x47f2d2(0x236)],_0x47f2d2(0x2d2),(_0xbeb517,_0x1502f1)=>{const _0x5bd53b=_0x47f2d2;_0x1502f1[_0x5bd53b(0x23c)]&&this[_0x5bd53b(0x25b)]();}),this[_0x47f2d2(0x204)](_0x2ee6c7[_0x47f2d2(0x215)][_0x47f2d2(0x254)],_0x47f2d2(0x258),()=>{const _0x17b928=_0x47f2d2;this[_0x17b928(0x25b)]();}),this[_0x47f2d2(0x22a)](),_0x2ee6c7[_0x47f2d2(0x21d)]['on'](_0x47f2d2(0x1e9),(_0xd3d019,_0x574842)=>{const _0x3b53ba=_0x47f2d2,_0x4904ec=_0x574842[0x0];_0x4904ec[_0x3b53ba(0x280)]&&(this[_0x3b53ba(0x274)](_0x4904ec),this[_0x3b53ba(0x2cb)]()&&this[_0x3b53ba(0x277)]());}),this[_0x47f2d2(0x271)](),this[_0x47f2d2(0x2d4)](_0x47f2d2(0x1f9))['to'](_0x1d4568,_0x47f2d2(0x2d7),this,_0x47f2d2(0x294),(_0x43e9e9,_0x4141c8)=>_0x47f2d2(0x2d1)===_0x43e9e9&&!_0x4141c8),this['on'](_0x47f2d2(0x222),()=>{const _0x1c98a7=_0x47f2d2;this[_0x1c98a7(0x1f9)]?_0x2ee6c7[_0x1c98a7(0x260)](_0x1c98a7(0x244)):_0x2ee6c7[_0x1c98a7(0x206)](_0x1c98a7(0x244));}),this[_0x47f2d2(0x1f9)]?_0x2ee6c7[_0x47f2d2(0x260)](_0x47f2d2(0x244)):_0x2ee6c7[_0x47f2d2(0x206)](_0x47f2d2(0x244)),this[_0x47f2d2(0x2e7)](_0x47f2d2(0x2bf),!0x1);}async[_0x1f8ff5(0x2df)](){const _0x420217=_0x1f8ff5,_0x201515=this[_0x420217(0x217)][_0x420217(0x23e)][_0x420217(0x2ed)](_0x5d24ff),_0x4d7ce9=this[_0x420217(0x217)][_0x420217(0x23e)][_0x420217(0x2ed)](_0x4afc7b);try{this[_0x420217(0x24f)]=!0x0,_0x201515[_0x420217(0x24b)](this[_0x420217(0x2e4)]);const _0x36233c=await this[_0x420217(0x269)][_0x420217(0x2df)](_0x4d7ce9[_0x420217(0x249)],this[_0x420217(0x21c)]);await this[_0x420217(0x25a)](_0x36233c)&&(this[_0x420217(0x24f)]=!0x1,this[_0x420217(0x2ad)]());const _0x35129d=await this[_0x420217(0x269)][_0x420217(0x279)]();_0x201515[_0x420217(0x252)](this[_0x420217(0x2e4)],_0x35129d),this[_0x420217(0x239)](),this[_0x420217(0x2bf)]=!0x0;}catch(_0x4cb634){if(function(_0x116ac4){const _0x17f49c=_0x420217;return _0x17f49c(0x266)===_0x116ac4[_0x17f49c(0x1fe)];}(_0x4cb634)&&this[_0x420217(0x2e5)])await this[_0x420217(0x2c6)]();else{if(function(_0x2636b0){const _0x3b9c0a=_0x420217;return _0x3b9c0a(0x251)===_0x2636b0[_0x3b9c0a(0x1fe)];}(_0x4cb634)){const _0x210fc4=_0x15d316(this[_0x420217(0x217)][_0x420217(0x26c)],_0x420217(0x2ca));this[_0x420217(0x22b)](_0x210fc4);}else{if(!(_0x4cb634 instanceof it))throw _0x4cb634;this[_0x420217(0x22b)]();}}}}[_0x1f8ff5(0x27d)](){const _0x4c671b=_0x1f8ff5,_0x2df726=this[_0x4c671b(0x217)][_0x4c671b(0x23e)][_0x4c671b(0x2ed)](_0x4afc7b),_0x3ea6d8=this[_0x4c671b(0x217)][_0x4c671b(0x23e)][_0x4c671b(0x2ed)](_0x5d24ff);this[_0x4c671b(0x217)][_0x4c671b(0x206)](_0x4c671b(0x1f6)),_0x3ea6d8[_0x4c671b(0x2be)][_0x4c671b(0x265)](this[_0x4c671b(0x2e4)])&&_0x3ea6d8[_0x4c671b(0x24b)](this[_0x4c671b(0x2e4)]),_0x2df726[_0x4c671b(0x2da)](this),this[_0x4c671b(0x223)](),super[_0x4c671b(0x27d)]();}async[_0x1f8ff5(0x25a)](_0x4a3866){const _0x3068fc=_0x1f8ff5;if(this[_0x3068fc(0x2e5)]!==_0x4a3866[_0x3068fc(0x2e5)]&&this[_0x3068fc(0x2d0)]!==_0x4a3866[_0x3068fc(0x20a)])throw new it();return this[_0x3068fc(0x2e5)]=_0x4a3866[_0x3068fc(0x2e5)],this[_0x3068fc(0x225)]([],{..._0x4a3866,'wereChangesApplied':!0x1,'data':_0x4a3866[_0x3068fc(0x1f0)]},_0x3068fc(0x2df));}async[_0x1f8ff5(0x293)](_0xa88223,_0xe307ba=!0x1){const _0x1fa68c=_0x1f8ff5,{connection:_0x2edd99}=this[_0x1fa68c(0x217)][_0x1fa68c(0x23e)][_0x1fa68c(0x2ed)](_0x4afc7b);l[_0x1fa68c(0x2a7)][_0x1fa68c(0x279)](_0x2edd99,this[_0x1fa68c(0x2e4)])[_0x1fa68c(0x218)](_0xab0a2f=>this[_0x1fa68c(0x227)](_0xab0a2f))[_0x1fa68c(0x24c)](_0xd658a4=>{const _0x337f08=_0x1fa68c;this[_0x337f08(0x2ec)](_0x337f08(0x2db),_0xd658a4);}),this[_0x1fa68c(0x204)](this[_0x1fa68c(0x269)],_0x1fa68c(0x20d),this[_0x1fa68c(0x1ea)][_0x1fa68c(0x2d4)](this)),this[_0x1fa68c(0x204)](this[_0x1fa68c(0x269)],_0x1fa68c(0x247),(_0x2526c6,_0x51bbe4)=>{const _0x3fc410=_0x1fa68c;this[_0x3fc410(0x2ec)](_0x3fc410(0x237),_0x51bbe4);}),this[_0x1fa68c(0x204)](this[_0x1fa68c(0x269)],_0x1fa68c(0x1f2),()=>{const _0x3bc9be=_0x1fa68c;this[_0x3bc9be(0x2bf)]=!0x1;});const _0x2428e2=this[_0x1fa68c(0x291)][_0x1fa68c(0x234)](_0xa88223);this[_0x1fa68c(0x24f)]=!0x0;const _0x1f4ffd=await this[_0x1fa68c(0x269)][_0x1fa68c(0x2aa)](_0x2edd99,this[_0x1fa68c(0x212)](_0xa88223),_0x2428e2);if(this[_0x1fa68c(0x2e5)]=_0x1f4ffd[_0x1fa68c(0x2e5)],_0xe307ba){if(!_0x1f4ffd[_0x1fa68c(0x1ec)])return void this[_0x1fa68c(0x22b)]();this[_0x1fa68c(0x24f)]=!0x1,this[_0x1fa68c(0x2ad)](),this[_0x1fa68c(0x2d5)][_0x1fa68c(0x299)](),this[_0x1fa68c(0x240)]=_0x1f4ffd[_0x1fa68c(0x290)],this[_0x1fa68c(0x2d5)][_0x1fa68c(0x2c2)]=this[_0x1fa68c(0x240)],await this[_0x1fa68c(0x225)](_0xa88223,_0x1f4ffd,_0x1fa68c(0x27f));}else await this[_0x1fa68c(0x2ae)](_0x1f4ffd,_0xa88223);this[_0x1fa68c(0x239)](),this[_0x1fa68c(0x2bf)]=!0x0;}[_0x1f8ff5(0x239)](){const _0x53e736=_0x1f8ff5,_0x33dc3d=this[_0x53e736(0x217)][_0x53e736(0x23e)][_0x53e736(0x2ed)](_0x5d24ff),_0x3c98f5=this[_0x53e736(0x217)][_0x53e736(0x23e)][_0x53e736(0x2ed)](_0x5e1f48),_0x110cd8=_0x33dc3d[_0x53e736(0x2be)][_0x53e736(0x2ed)](this[_0x53e736(0x2e4)]);_0x110cd8&&_0x110cd8[_0x53e736(0x283)]>0x1?_0x3c98f5[_0x53e736(0x275)]():this[_0x53e736(0x204)](_0x33dc3d,_0x53e736(0x2d8)+this[_0x53e736(0x2e4)],()=>{const _0x2c9a82=_0x53e736;0x2===_0x33dc3d[_0x2c9a82(0x2be)][_0x2c9a82(0x2ed)](this[_0x2c9a82(0x2e4)])[_0x2c9a82(0x283)]&&_0x3c98f5[_0x2c9a82(0x275)]();});}async[_0x1f8ff5(0x1ea)](_0x3a2d8d,_0x4a289a,_0x3311c9,_0x53e96f){const _0x56f3a5=_0x1f8ff5;if(!this[_0x56f3a5(0x24f)]&&this[_0x56f3a5(0x2bb)][_0x56f3a5(0x2c2)]==_0x4a289a){const _0x28c60a=this[_0x56f3a5(0x2b3)](_0x3311c9,_0x53e96f);await this[_0x56f3a5(0x23f)](_0x28c60a),this[_0x56f3a5(0x2c9)](_0x28c60a,_0x4a289a,_0x3311c9[_0x56f3a5(0x20a)])||this[_0x56f3a5(0x2ec)](_0x56f3a5(0x221));}}async[_0x1f8ff5(0x2c6)](){const _0x487561=_0x1f8ff5;this[_0x487561(0x223)]();const {locale:_0x582e48}=this[_0x487561(0x217)];let _0x29d506;try{_0x29d506=await this[_0x487561(0x269)][_0x487561(0x253)]();}catch(_0x16f3db){const _0x5179e9=_0x15d316(_0x582e48,_0x487561(0x2a2));return void this[_0x487561(0x22b)](_0x5179e9);}const _0x254792=_0x29d506[_0x487561(0x296)]||_0x29d506[_0x487561(0x2b9)];if(this[_0x487561(0x2d0)]===_0x254792[_0x487561(0x20a)])await this[_0x487561(0x293)](this[_0x487561(0x217)][_0x487561(0x21d)][_0x487561(0x2cd)][_0x487561(0x209)][_0x487561(0x2a9)](),!0x0);else{const _0x3c463d=_0x15d316(_0x582e48,_0x487561(0x22d));this[_0x487561(0x22b)](_0x3c463d);}}[_0x1f8ff5(0x223)](){const _0x2dbd08=_0x1f8ff5;this[_0x2dbd08(0x269)][_0x2dbd08(0x2e6)](),this[_0x2dbd08(0x29e)]=[],clearTimeout(this[_0x2dbd08(0x29f)]),this[_0x2dbd08(0x27b)](this[_0x2dbd08(0x269)]);}[_0x1f8ff5(0x227)](_0x1b1fc8){const _0x240a3b=_0x1f8ff5,_0x1f89fd=this[_0x240a3b(0x217)][_0x240a3b(0x23e)][_0x240a3b(0x2ed)](_0x5d24ff);this[_0x240a3b(0x204)](_0x1f89fd,_0x240a3b(0x2d8)+this[_0x240a3b(0x2e4)],(_0x5d7588,{session:_0x2d65c6})=>{const _0x5ddcf3=_0x240a3b;if(_0x2d65c6['id']===_0x1f89fd[_0x5ddcf3(0x2ea)]){_0x5d7588[_0x5ddcf3(0x230)]();const _0x521f6a=this[_0x5ddcf3(0x217)][_0x5ddcf3(0x23e)][_0x5ddcf3(0x265)](_0x5ddcf3(0x2eb))&&this[_0x5ddcf3(0x217)][_0x5ddcf3(0x23e)][_0x5ddcf3(0x2ed)](_0x5ddcf3(0x2eb));let _0x2f1cca=_0x2d65c6[_0x5ddcf3(0x1ef)];_0x521f6a&&_0x521f6a[_0x5ddcf3(0x1f7)]&&(_0x2f1cca=_0x2f1cca[_0x5ddcf3(0x226)](_0x55269a=>_0x5ddcf3(0x27a)!==_0x55269a)),this[_0x5ddcf3(0x217)][_0x5ddcf3(0x23e)][_0x5ddcf3(0x2ed)](_0x5ddcf3(0x255))[_0x5ddcf3(0x278)](_0x2f1cca,this[_0x5ddcf3(0x2e4)]);}}),_0x1f89fd[_0x240a3b(0x252)](this[_0x240a3b(0x2e4)],_0x1b1fc8);}[_0x1f8ff5(0x22a)](){const _0x9d0e4a=_0x1f8ff5,_0x207ba6=this[_0x9d0e4a(0x217)][_0x9d0e4a(0x1f0)][_0x9d0e4a(0x2e7)];this[_0x9d0e4a(0x217)][_0x9d0e4a(0x1f0)][_0x9d0e4a(0x2e7)]=(..._0x22439a)=>{const _0x5c8de5=_0x9d0e4a;if(!_0x22439a[_0x22439a[_0x5c8de5(0x283)]-0x1][_0x5c8de5(0x2c4)])throw new _0x4ba348(_0x5c8de5(0x25e),this);_0x207ba6[_0x5c8de5(0x297)](this[_0x5c8de5(0x217)][_0x5c8de5(0x1f0)],_0x22439a);};}[_0x1f8ff5(0x271)](){const _0x496616=_0x1f8ff5;this[_0x496616(0x217)][_0x496616(0x1f0)]['on'](_0x496616(0x224),(_0x1aa906,[_0x2238df])=>{const _0x2c0918=_0x496616;if(this[_0x2c0918(0x2bb)][_0x2c0918(0x2c2)])throw new _0x4ba348(_0x2c0918(0x267),this);_0x1aa906[_0x2c0918(0x210)](),this[_0x2c0918(0x29d)]();const _0x1329df=this[_0x2c0918(0x217)][_0x2c0918(0x202)][_0x2c0918(0x2ed)](_0x2c0918(0x28f)),_0x14df86=this[_0x2c0918(0x250)](_0x2238df,_0x1329df);0x0==_0x14df86[_0x2c0918(0x283)]&&_0x14df86[_0x2c0918(0x1ee)](new _0x4d5546(0x0)),_0x1aa906[_0x2c0918(0x28e)]=this[_0x2c0918(0x293)](_0x14df86)[_0x2c0918(0x218)](()=>{const _0x21e97d=_0x2c0918;this[_0x21e97d(0x217)][_0x21e97d(0x23e)][_0x21e97d(0x2ed)](_0x4afc7b)[_0x21e97d(0x219)](this),this[_0x21e97d(0x217)][_0x21e97d(0x1f0)][_0x21e97d(0x2c3)](_0x21e97d(0x21a));})[_0x2c0918(0x24c)](_0x3f7979=>this[_0x2c0918(0x2ec)](_0x2c0918(0x242),_0x3f7979))[_0x2c0918(0x23b)](()=>this[_0x2c0918(0x2ad)]());},{'priority':_0x496616(0x287)}),this[_0x496616(0x217)]['on'](_0x496616(0x2b0),async(_0x5341ca,[_0x2414b0,_0x4dc983])=>{const _0x5c8385=_0x496616;_0x5341ca[_0x5c8385(0x210)]();const _0x189bce=this[_0x5c8385(0x217)][_0x5c8385(0x21d)][_0x5c8385(0x2cd)][_0x5c8385(0x2c8)](_0x2414b0);if(!this[_0x5c8385(0x272)][_0x5c8385(0x265)](_0x2414b0)){const _0x483b36=_0x4dc983&&_0x4dc983[_0x5c8385(0x1f0)]?_0x4dc983[_0x5c8385(0x1f0)]:'',_0x47c5dd=_0x4dc983&&_0x4dc983[_0x5c8385(0x28b)]?_0x4dc983[_0x5c8385(0x28b)]:{};await this[_0x5c8385(0x2cf)](_0x2414b0,_0x483b36,_0x47c5dd);}this[_0x5c8385(0x217)][_0x5c8385(0x21d)][_0x5c8385(0x22c)]({'isUndoable':!0x1},()=>{const _0x161651=_0x5c8385;_0x189bce[_0x161651(0x2c1)]=!0x0,this[_0x161651(0x217)][_0x161651(0x21d)][_0x161651(0x2cd)][_0x161651(0x284)][_0x161651(0x259)](_0x189bce);});},{'priority':_0x496616(0x287)});}async[_0x1f8ff5(0x23f)](_0x24fc5f){const _0x4f3b25=_0x1f8ff5,_0x2a0348=this[_0x4f3b25(0x217)][_0x4f3b25(0x23e)][_0x4f3b25(0x2ed)](_0x1833c6),{connection:_0x319686}=this[_0x4f3b25(0x217)][_0x4f3b25(0x23e)][_0x4f3b25(0x2ed)](_0x4afc7b),_0x1dabcd=new Set();for(const _0x23f073 of _0x24fc5f){const _0x346381=_0x23f073[_0x4f3b25(0x248)];_0x346381&&!_0x2a0348[_0x4f3b25(0x28d)](_0x346381)&&_0x1dabcd[_0x4f3b25(0x26d)](_0x346381);}if(0x0===_0x1dabcd[_0x4f3b25(0x28c)])return;const _0x3e3307=await _0x3827be[_0x4f3b25(0x261)](_0x319686,Array[_0x4f3b25(0x22e)](_0x1dabcd));for(const _0x19effb of _0x3e3307)_0x2a0348[_0x4f3b25(0x28d)](_0x19effb['id'])||_0x2a0348[_0x4f3b25(0x26a)](_0x19effb);}[_0x1f8ff5(0x250)](_0x5096e2,_0x1e99a2={}){const _0x2ec5b4=_0x1f8ff5,_0x388cc7=this[_0x2ec5b4(0x217)][_0x2ec5b4(0x21d)],_0x27bb3e=[];let _0x4a0799=0x0;const _0x3ef64d=_0x2ec5b4(0x24e)==typeof _0x5096e2?{'main':_0x5096e2}:_0x5096e2;for(const _0x5b475a of Object[_0x2ec5b4(0x2de)](_0x3ef64d)){if(!this[_0x2ec5b4(0x2bb)][_0x2ec5b4(0x26f)][_0x2ec5b4(0x265)](_0x5b475a))throw new _0x4ba348(_0x2ec5b4(0x281),this);const _0x5a4311=this[_0x2ec5b4(0x217)][_0x2ec5b4(0x1f0)][_0x2ec5b4(0x263)](_0x3ef64d[_0x5b475a]),_0x44c9c2=this[_0x2ec5b4(0x2bb)][_0x2ec5b4(0x2c8)](_0x5b475a),_0x1b9965=new _0x5ba9ba(_0x388cc7[_0x2ec5b4(0x201)](_0x44c9c2,0x0),_0x5a4311,_0x4a0799++);_0x27bb3e[_0x2ec5b4(0x1ee)](_0x1b9965);for(const [_0x5d1c94,_0x544796]of _0x5a4311[_0x2ec5b4(0x1f3)]){const _0x26a087=_0x388cc7[_0x2ec5b4(0x2e2)](_0x388cc7[_0x2ec5b4(0x2d3)](_0x44c9c2,_0x544796[_0x2ec5b4(0x2b8)][_0x2ec5b4(0x2e8)][_0x2ec5b4(0x211)]()),_0x388cc7[_0x2ec5b4(0x2d3)](_0x44c9c2,_0x544796[_0x2ec5b4(0x2d9)][_0x2ec5b4(0x2e8)][_0x2ec5b4(0x211)]())),_0x1b6106=new _0x4a2a75(_0x5d1c94,null,_0x26a087,_0x388cc7[_0x2ec5b4(0x1f3)],!0x0,_0x4a0799++);_0x27bb3e[_0x2ec5b4(0x1ee)](_0x1b6106);}}if(_0x1e99a2)for(const [_0x3bc352,_0x5d540d]of Object[_0x2ec5b4(0x270)](_0x1e99a2)){const _0x36adc6=_0x388cc7[_0x2ec5b4(0x2cd)][_0x2ec5b4(0x2c8)](_0x3bc352);if(!_0x36adc6)throw new _0x4ba348(_0x2ec5b4(0x2ab),null);for(const [_0x5e8d36,_0x5d5333]of Object[_0x2ec5b4(0x270)](_0x5d540d))if(null!==_0x5d5333){const _0x1a3bb0=new _0x117f0(_0x36adc6,_0x5e8d36,null,_0x5d5333,_0x4a0799++);_0x27bb3e[_0x2ec5b4(0x1ee)](_0x1a3bb0);}}return _0x27bb3e;}async[_0x1f8ff5(0x2cf)](_0x3eb919,_0x1df9c7,_0x13294b){const _0x2f57fc=_0x1f8ff5;this[_0x2f57fc(0x250)]({[_0x3eb919]:_0x1df9c7},{[_0x3eb919]:_0x13294b})[_0x2f57fc(0x2c7)]((_0x469a07,_0x1f41db)=>{const _0x22f0d9=_0x2f57fc;_0x469a07[_0x22f0d9(0x20e)]=this[_0x22f0d9(0x2bb)][_0x22f0d9(0x2c2)]+_0x1f41db,_0x469a07[_0x22f0d9(0x235)]=!0x0,this[_0x22f0d9(0x274)](_0x469a07);}),this[_0x2f57fc(0x277)](),await this[_0x2f57fc(0x22f)]();}async[_0x1f8ff5(0x2ae)](_0x24455c,_0x377ce7){const _0x548149=_0x1f8ff5;let _0x1c1138;this[_0x548149(0x240)]=_0x24455c[_0x548149(0x290)];const _0xaf5c25=_0x24455c[_0x548149(0x1ec)]&&!_0x24455c[_0x548149(0x2b6)],_0x2afb46=_0xaf5c25?0x0:_0x24455c[_0x548149(0x1f0)][_0x548149(0x20e)];if(_0x377ce7[_0x548149(0x2c7)](_0x36074f=>{const _0x4ec0ad=_0x548149;_0x36074f[_0x4ec0ad(0x235)]=!0x0,_0x36074f[_0x4ec0ad(0x238)]=_0x24455c[_0x4ec0ad(0x26e)],_0x36074f[_0x4ec0ad(0x248)]=null;}),_0xaf5c25)_0x1c1138=_0x377ce7,this[_0x548149(0x29c)](_0x1c1138,_0xaf5c25);else{if(_0x24455c[_0x548149(0x2b6)]){const _0x275d50=this[_0x548149(0x250)](_0x24455c[_0x548149(0x2b6)]);this[_0x548149(0x2bb)][_0x548149(0x209)][_0x548149(0x2c2)]=-_0x275d50[_0x548149(0x283)],_0x275d50[_0x548149(0x2c7)](_0x2f17c3=>{const _0x37ed50=_0x548149;_0x2f17c3[_0x37ed50(0x20e)]-=_0x275d50[_0x37ed50(0x283)],_0x2f17c3[_0x37ed50(0x238)]=_0x24455c[_0x37ed50(0x26e)],_0x2f17c3[_0x37ed50(0x235)]=!0x0,_0x2f17c3[_0x37ed50(0x248)]=null;}),this[_0x548149(0x29c)](_0x275d50,!0x0),this[_0x548149(0x2d5)][_0x548149(0x2c2)]=-_0x275d50[_0x548149(0x283)]+this[_0x548149(0x240)],this[_0x548149(0x282)](_0x275d50);}this[_0x548149(0x2bb)][_0x548149(0x209)][_0x548149(0x2c2)]=_0x2afb46,_0x1c1138=this[_0x548149(0x2b3)](_0x24455c[_0x548149(0x1f0)],_0x24455c[_0x548149(0x285)]),await this[_0x548149(0x23f)](_0x1c1138),this[_0x548149(0x29c)](_0x1c1138,_0xaf5c25);}_0x24455c[_0x548149(0x20a)]&&(this[_0x548149(0x291)][_0x548149(0x21b)](_0x1c1138,_0x24455c[_0x548149(0x20a)]),this[_0x548149(0x2d0)]=_0x24455c[_0x548149(0x20a)]),this[_0x548149(0x2d5)][_0x548149(0x2c2)]=_0x2afb46+this[_0x548149(0x240)],this[_0x548149(0x282)](_0x1c1138),_0x377ce7[_0x548149(0x226)](_0xe347d2=>{const _0x45dea7=_0x548149,_0x4cb2fb=this[_0x45dea7(0x2e9)](_0xe347d2);return _0x4cb2fb&&!this[_0x45dea7(0x272)][_0x45dea7(0x265)](_0x4cb2fb);})[_0x548149(0x2c7)]((_0x58d1e1,_0x428ad1)=>{const _0x53b340=_0x548149;_0x58d1e1[_0x53b340(0x20e)]=this[_0x53b340(0x2bb)][_0x53b340(0x2c2)]+_0x428ad1,this[_0x53b340(0x274)](_0x58d1e1);}),this[_0x548149(0x2cb)]()?(this[_0x548149(0x245)]=0x0,this[_0x548149(0x277)](!0x0),await this[_0x548149(0x22f)]()):(this[_0x548149(0x24f)]=!0x1,this[_0x548149(0x2ad)]());}[_0x1f8ff5(0x2ec)](_0x17fee2,_0x299a2d){const _0x2cc980=_0x1f8ff5,_0xb4bd8b=_0x299a2d&&_0x299a2d[_0x2cc980(0x231)];if(_0xb4bd8b&&_0xb4bd8b[_0x2cc980(0x23d)](_0x2cc980(0x289)))throw _0x299a2d;const _0x54fe89=this[_0x2cc980(0x217)][_0x2cc980(0x23e)][_0x2cc980(0x2ed)](_0x4afc7b);throw this[_0x2cc980(0x24f)]=!0x0,_0x54fe89[_0x2cc980(0x2e6)](),this[_0x2cc980(0x217)][_0x2cc980(0x206)](_0x2cc980(0x1f4)),new _0x4ba348(_0x17fee2,this[_0x2cc980(0x217)],_0xb4bd8b?{'originalError':_0xb4bd8b}:void 0x0);}[_0x1f8ff5(0x274)](_0x2e4ad8){const _0x4546e3=_0x1f8ff5;this[_0x4546e3(0x208)][_0x4546e3(0x265)](_0x2e4ad8)||(this[_0x4546e3(0x208)][_0x4546e3(0x26d)](_0x2e4ad8),this[_0x4546e3(0x29e)][_0x4546e3(0x1ee)](_0x2e4ad8),this[_0x4546e3(0x229)]||_0x4546e3(0x233)==_0x2e4ad8[_0x4546e3(0x2a8)]&&!_0x2e4ad8[_0x4546e3(0x1f5)]||this[_0x4546e3(0x29d)]());}[_0x1f8ff5(0x277)](_0x4e31b0=!0x1){const _0x5e7239=_0x1f8ff5;!_0x4e31b0&&this[_0x5e7239(0x24f)]||(this[_0x5e7239(0x24f)]=!0x0,clearTimeout(this[_0x5e7239(0x29f)]),this[_0x5e7239(0x29f)]=setTimeout(()=>{const _0x17d207=_0x5e7239;this[_0x17d207(0x21f)]()[_0x17d207(0x218)](_0x9e196f=>{const _0x222b85=_0x17d207;_0x9e196f&&(this[_0x222b85(0x2ad)](),this[_0x222b85(0x24f)]=!0x1);})[_0x17d207(0x24c)](_0x5cb2bb=>{const _0x4dbe66=_0x17d207;this[_0x4dbe66(0x2ad)](),this[_0x4dbe66(0x24f)]=!0x1,function(_0x390697){const _0x33911b=_0x4dbe66;return _0x390697[_0x33911b(0x231)][_0x33911b(0x23d)](_0x33911b(0x2e3))||_0x390697[_0x33911b(0x231)][_0x33911b(0x23d)](_0x33911b(0x2c0))||_0x390697[_0x33911b(0x231)][_0x33911b(0x23d)](_0x33911b(0x220));}(_0x5cb2bb)||this[_0x4dbe66(0x2ec)](_0x5cb2bb[_0x4dbe66(0x231)],_0x5cb2bb);});},this[_0x5e7239(0x245)]));}[_0x1f8ff5(0x22f)](){return new Promise(_0x447573=>{const _0x1ebe76=_0x232b;this['on'](_0x1ebe76(0x25d),()=>{_0x447573();});});}async[_0x1f8ff5(0x21f)](){const _0x2f6b01=_0x1f8ff5,_0x1b98b9=this[_0x2f6b01(0x217)][_0x2f6b01(0x23e)][_0x2f6b01(0x2ed)](_0x5e1f48);if(this[_0x2f6b01(0x1f8)]()&&(_0x1b98b9[_0x2f6b01(0x275)](),this[_0x2f6b01(0x273)]=!0x1),!this[_0x2f6b01(0x2cb)]())return!0x0;const _0x129d91=[...this[_0x2f6b01(0x29e)]];for(const _0x260c69 of _0x129d91)_0x260c69[_0x2f6b01(0x1ed)]=this[_0x2f6b01(0x2bb)][_0x2f6b01(0x209)][_0x2f6b01(0x27e)](_0x260c69);const _0x3a9986=this[_0x2f6b01(0x291)][_0x2f6b01(0x234)](_0x129d91),_0x4a7de2=tt++,_0x58c163=this[_0x2f6b01(0x212)](_0x129d91),_0xf801b4=await this[_0x2f6b01(0x269)][_0x2f6b01(0x25c)](_0x58c163,_0x58c163[_0x2f6b01(0x20e)],_0x3a9986);try{return await this[_0x2f6b01(0x225)](_0x129d91,_0xf801b4,_0x4a7de2);}catch(_0x4debb5){return this[_0x2f6b01(0x2ec)](_0x2f6b01(0x207),_0x4debb5);}}async[_0x1f8ff5(0x225)](_0x46ff7c,_0x18edcc,_0x251af7){const _0x368cd4=_0x1f8ff5;if(_0x368cd4(0x247)in _0x18edcc)throw _0x18edcc[_0x368cd4(0x247)];let _0x248c81=!0x1;if(_0x18edcc[_0x368cd4(0x1ec)]){_0x18edcc[_0x368cd4(0x20a)]&&(this[_0x368cd4(0x2d0)]=_0x18edcc[_0x368cd4(0x20a)]),this[_0x368cd4(0x29e)]=this[_0x368cd4(0x29e)][_0x368cd4(0x226)](_0x56aee8=>!_0x46ff7c[_0x368cd4(0x1fc)](_0x56aee8));for(const _0x19b041 of _0x46ff7c)_0x19b041[_0x368cd4(0x238)]=_0x368cd4(0x2c5)in _0x18edcc&&_0x18edcc[_0x368cd4(0x2c5)]||void 0x0;st(_0x46ff7c,_0x18edcc[_0x368cd4(0x2c2)]-_0x46ff7c[_0x368cd4(0x283)]),this[_0x368cd4(0x282)](_0x46ff7c);const _0x1412a6=_0x46ff7c[_0x368cd4(0x226)](_0x3c56bf=>{const _0x4d3cdc=_0x368cd4;if(!_0x3c56bf[_0x4d3cdc(0x235)])return!0x1;const _0x2454f4=this[_0x4d3cdc(0x2e9)](_0x3c56bf);return _0x2454f4&&!this[_0x4d3cdc(0x272)][_0x4d3cdc(0x265)](_0x2454f4);});st(_0x1412a6,this[_0x368cd4(0x2bb)][_0x368cd4(0x2c2)]),this[_0x368cd4(0x29c)](_0x1412a6),_0x248c81=!0x0,this[_0x368cd4(0x245)]=this[_0x368cd4(0x2dd)];}else{const _0x6d79e=this[_0x368cd4(0x2b3)](_0x18edcc[_0x368cd4(0x1f0)],_0x18edcc[_0x368cd4(0x285)])[_0x368cd4(0x226)](_0x4a942a=>_0x4a942a[_0x368cd4(0x20e)]>=this[_0x368cd4(0x213)]);_0x6d79e[_0x368cd4(0x2c7)](_0xef9122=>this[_0x368cd4(0x1fa)](_0xef9122)),this[_0x368cd4(0x29e)]=this[_0x368cd4(0x29e)][_0x368cd4(0x226)](_0x2738d3=>!_0x2738d3[_0x368cd4(0x235)]||!this[_0x368cd4(0x272)][_0x368cd4(0x265)](this[_0x368cd4(0x2e9)](_0x2738d3))),this[_0x368cd4(0x29e)][_0x368cd4(0x283)]&&st(this[_0x368cd4(0x29e)],this[_0x368cd4(0x29e)][0x0][_0x368cd4(0x20e)]),await this[_0x368cd4(0x23f)](_0x6d79e),_0x248c81=this[_0x368cd4(0x2c9)](_0x6d79e,_0x18edcc[_0x368cd4(0x2c2)],_0x18edcc[_0x368cd4(0x20a)]),this[_0x368cd4(0x245)]=Math[_0x368cd4(0x2ce)](this[_0x368cd4(0x245)]/0x2);}return _0x248c81?!this[_0x368cd4(0x2cb)]()||(this[_0x368cd4(0x277)](!0x0),!0x1):this[_0x368cd4(0x2ec)](_0x368cd4(0x2e0));}[_0x1f8ff5(0x2c9)](_0x31c990,_0x12f2f6,_0x1ee532){const _0x46004b=_0x1f8ff5;try{const _0x286863={'document':this[_0x46004b(0x2bb)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd3afae,operationsB:_0x3ee61c,originalOperations:_0x1b4534}=_0x1d56cd(_0x31c990,this[_0x46004b(0x29e)],_0x286863);st(_0xd3afae,this[_0x46004b(0x2bb)][_0x46004b(0x2c2)]),st(_0x3ee61c,_0x12f2f6);for(const _0x2c08a5 of _0xd3afae){const _0x505ef5=_0x1b4534[_0x46004b(0x2ed)](_0x2c08a5);_0x2c08a5[_0x46004b(0x248)]=_0x505ef5?_0x505ef5[_0x46004b(0x248)]:null;}_0x1ee532&&(this[_0x46004b(0x291)][_0x46004b(0x21b)](_0x31c990,_0x1ee532),this[_0x46004b(0x2d0)]=_0x1ee532),this[_0x46004b(0x29e)]=[..._0x3ee61c],this[_0x46004b(0x29c)](_0xd3afae),this[_0x46004b(0x282)](_0x31c990);}catch(_0x391a23){return console[_0x46004b(0x247)](_0x391a23),!0x1;}return!0x0;}[_0x1f8ff5(0x29c)](_0x52da18,_0x563a5e=!0x1){const _0x6cf44a=_0x1f8ff5;this[_0x6cf44a(0x217)][_0x6cf44a(0x21d)][_0x6cf44a(0x22c)]({'isUndoable':!0x1,'isLocal':!0x1},_0xfee161=>{const _0x5e3d3d=_0x6cf44a;for(const _0x2002cc of _0x52da18)this[_0x5e3d3d(0x208)][_0x5e3d3d(0x26d)](_0x2002cc),this[_0x5e3d3d(0x1fa)](_0x2002cc),_0xfee161[_0x5e3d3d(0x2b2)][_0x5e3d3d(0x205)](_0x2002cc),this[_0x5e3d3d(0x217)][_0x5e3d3d(0x21d)][_0x5e3d3d(0x1e9)](_0x2002cc);});}[_0x1f8ff5(0x1fa)](_0x10c1cf){const _0x31a6d5=_0x1f8ff5,_0x1fefe1=this[_0x31a6d5(0x2e9)](_0x10c1cf);_0x1fefe1&&this[_0x31a6d5(0x272)][_0x31a6d5(0x26d)](_0x1fefe1);}[_0x1f8ff5(0x2e9)](_0x200da3){const _0x3e4289=_0x1f8ff5;let _0x4268e9,_0x10c43d;switch(_0x200da3[_0x3e4289(0x2a8)]){case _0x3e4289(0x2b7):_0x4268e9=_0x200da3[_0x3e4289(0x25f)][_0x3e4289(0x20f)];break;case _0x3e4289(0x233):if(_0x10c43d=_0x200da3[_0x3e4289(0x246)],!_0x10c43d)return null;_0x4268e9=_0x10c43d[_0x3e4289(0x20f)];break;case _0x3e4289(0x2dc):_0x4268e9=_0x200da3[_0x3e4289(0x20f)];break;case _0x3e4289(0x200):_0x4268e9=_0x200da3[_0x3e4289(0x2a5)];break;case _0x3e4289(0x268):_0x4268e9=_0x200da3[_0x3e4289(0x26b)][_0x3e4289(0x20f)];break;default:return null;}return _0x4268e9[_0x3e4289(0x276)];}[_0x1f8ff5(0x282)](_0x2d1953){const _0x56a82f=_0x1f8ff5;_0x2d1953[_0x56a82f(0x2c7)](_0x483c93=>{const _0x17aef6=_0x56a82f,_0x5a1ddc=_0x483c93[_0x17aef6(0x24d)]();_0x5a1ddc[_0x17aef6(0x248)]=_0x483c93[_0x17aef6(0x248)],_0x5a1ddc[_0x17aef6(0x235)]=!!_0x483c93[_0x17aef6(0x235)],_0x5a1ddc[_0x17aef6(0x238)]=_0x483c93[_0x17aef6(0x238)],_0x5a1ddc[_0x17aef6(0x20e)]+=this[_0x17aef6(0x240)],_0x483c93[_0x17aef6(0x24a)]&&this[_0x17aef6(0x2ef)][_0x17aef6(0x26d)](_0x5a1ddc),this[_0x17aef6(0x2d5)][_0x17aef6(0x205)](_0x5a1ddc);});}[_0x1f8ff5(0x22b)](_0x40a28c){const _0x175384=_0x1f8ff5,_0x39f984=this[_0x175384(0x217)][_0x175384(0x23e)][_0x175384(0x2ed)](_0x175384(0x1f1)),_0xb11ad1=this[_0x175384(0x217)][_0x175384(0x26c)];_0x40a28c||(_0x40a28c=_0x15d316(_0xb11ad1,_0x175384(0x241))),_0x39f984[_0x175384(0x2bd)](_0x40a28c,{'title':_0x15d316(_0xb11ad1,_0x175384(0x256)),'namespace':_0x175384(0x2ba)}),this[_0x175384(0x294)]=!0x0,clearTimeout(this[_0x175384(0x29f)]),this[_0x175384(0x29e)]=[],this[_0x175384(0x217)][_0x175384(0x23e)][_0x175384(0x2ed)](_0x4afc7b)[_0x175384(0x2e6)]();}[_0x1f8ff5(0x29d)](){const _0x30e073=_0x1f8ff5;this[_0x30e073(0x229)]||(this[_0x30e073(0x229)]=this[_0x30e073(0x217)][_0x30e073(0x23e)][_0x30e073(0x2ed)](_0x2f5e0c)[_0x30e073(0x26d)](_0x15d316(this[_0x30e073(0x217)][_0x30e073(0x26c)],_0x30e073(0x2b1))));}[_0x1f8ff5(0x2ad)](){const _0xc1c287=_0x1f8ff5;this[_0xc1c287(0x229)]&&(this[_0xc1c287(0x217)][_0xc1c287(0x23e)][_0xc1c287(0x2ed)](_0x2f5e0c)[_0xc1c287(0x29b)](this[_0xc1c287(0x229)]),this[_0xc1c287(0x229)]=null);}[_0x1f8ff5(0x212)](_0x412455){const _0x215da1=_0x1f8ff5,_0x494b81=_0x412455[_0x215da1(0x29a)](_0x3d5224=>_0x3d5224[_0x215da1(0x2bc)]());return this[_0x215da1(0x262)][_0x215da1(0x2d6)](_0x494b81);}[_0x1f8ff5(0x2b3)](_0x359363,_0x4d2368){const _0x2643e6=_0x1f8ff5;return this[_0x2643e6(0x262)][_0x2643e6(0x2cc)](_0x359363)[_0x2643e6(0x29a)]((_0x5dc870,_0x809ad9)=>{const _0x44f57d=_0x2643e6,_0x428e9a=_0x44f57d(0x224)==_0x4d2368[_0x809ad9][_0x44f57d(0x2a8)];if(_0x44f57d(0x2b4)==_0x5dc870[_0x44f57d(0x264)]){const _0x354a22=_0x5dc870[_0x44f57d(0x25f)][_0x44f57d(0x20f)];!this[_0x44f57d(0x2bb)][_0x44f57d(0x2c8)](_0x354a22)&&(this[_0x44f57d(0x2bb)][_0x44f57d(0x2a0)](_0x44f57d(0x2a4),_0x354a22)[_0x44f57d(0x257)]=!0x1);}const _0x4ec5ca=_0x4b89d4[_0x44f57d(0x2a6)](_0x5dc870,this[_0x44f57d(0x2bb)]);return _0x4ec5ca[_0x44f57d(0x1ed)]=_0x5dc870[_0x44f57d(0x1ed)],_0x4ec5ca[_0x44f57d(0x235)]=_0x428e9a,_0x4ec5ca[_0x44f57d(0x248)]=_0x428e9a?null:_0x4d2368[_0x809ad9][_0x44f57d(0x228)],_0x4ec5ca[_0x44f57d(0x24a)]=_0x44f57d(0x21e)===_0x4d2368[_0x809ad9][_0x44f57d(0x2a8)],_0x4ec5ca[_0x44f57d(0x238)]=_0x4d2368[_0x809ad9][_0x44f57d(0x238)],_0x4ec5ca;});}[_0x1f8ff5(0x25b)](){const _0x281955=_0x1f8ff5;this[_0x281955(0x273)]=!0x0,this[_0x281955(0x1f8)]()?this[_0x281955(0x277)]():this[_0x281955(0x273)]=!0x1;}[_0x1f8ff5(0x1f8)](){const _0x18ac60=_0x1f8ff5,_0x3d919f=this[_0x18ac60(0x217)][_0x18ac60(0x23e)][_0x18ac60(0x2ed)](_0x5d24ff)[_0x18ac60(0x2be)][_0x18ac60(0x2ed)](this[_0x18ac60(0x2e4)]);return!this[_0x18ac60(0x217)][_0x18ac60(0x28a)]&&!!_0x3d919f&&_0x3d919f[_0x18ac60(0x283)]>0x1&&this[_0x18ac60(0x273)];}[_0x1f8ff5(0x2cb)](){const _0x2a2f67=_0x1f8ff5;return this[_0x2a2f67(0x29e)][_0x2a2f67(0x283)]>0x0||this[_0x2a2f67(0x1f8)]();}}export default l;class it extends Error{}function st(_0x2b2b70,_0xccae15){const _0x239b28=_0x1f8ff5;for(const _0x1f4241 of _0x2b2b70)_0x1f4241[_0x239b28(0x20e)]=_0xccae15++;}class et{[_0x1f8ff5(0x1ff)];[_0x1f8ff5(0x1fd)];constructor(_0x228fa9){const _0x38a193=_0x1f8ff5;this[_0x38a193(0x1ff)]=_0x228fa9,this[_0x38a193(0x1fd)]=new WeakMap();}[_0x1f8ff5(0x234)](_0x1ceb58){const _0x34f854=_0x1f8ff5;let _0x25e804=_0x1ceb58[_0x34f854(0x283)];for(;_0x25e804--;){const _0x171546=_0x1ceb58[_0x25e804];if(!this[_0x34f854(0x1ff)][_0x34f854(0x265)](_0x171546)){if(!this[_0x34f854(0x1fd)][_0x34f854(0x265)](_0x171546)){const _0x3a4cf9=_0x5abb40()[_0x34f854(0x211)](0x1,0x12);this[_0x34f854(0x1fd)][_0x34f854(0x2e7)](_0x171546,_0x3a4cf9);}return this[_0x34f854(0x1fd)][_0x34f854(0x2ed)](_0x171546);}}}[_0x1f8ff5(0x21b)](_0x4616dc,_0x5f35cd){const _0x551348=_0x1f8ff5;if(!_0x5f35cd)return;let _0x40463f=_0x4616dc[_0x551348(0x283)];for(;_0x40463f--;){const _0x2fd5ec=_0x4616dc[_0x40463f];this[_0x551348(0x1ff)][_0x551348(0x265)](_0x2fd5ec)||this[_0x551348(0x1fd)][_0x551348(0x2e7)](_0x2fd5ec,_0x5f35cd);}}}
23
+ function _0x1b1b(_0x34d8a5,_0x5714e7){const _0x4db2ae=_0x4db2();return _0x1b1b=function(_0x1b1bab,_0x41112b){_0x1b1bab=_0x1b1bab-0x1f1;let _0x163b42=_0x4db2ae[_0x1b1bab];return _0x163b42;},_0x1b1b(_0x34d8a5,_0x5714e7);}const _0x3836e8=_0x1b1b;(function(_0x12d8a8,_0xecefee){const _0x58e178=_0x1b1b,_0x4ab52a=_0x12d8a8();while(!![]){try{const _0x2bacf1=-parseInt(_0x58e178(0x22a))/0x1*(-parseInt(_0x58e178(0x224))/0x2)+parseInt(_0x58e178(0x221))/0x3*(-parseInt(_0x58e178(0x268))/0x4)+parseInt(_0x58e178(0x270))/0x5+parseInt(_0x58e178(0x2f5))/0x6+parseInt(_0x58e178(0x271))/0x7*(parseInt(_0x58e178(0x2a1))/0x8)+-parseInt(_0x58e178(0x2b2))/0x9*(parseInt(_0x58e178(0x2dc))/0xa)+-parseInt(_0x58e178(0x204))/0xb;if(_0x2bacf1===_0xecefee)break;else _0x4ab52a['push'](_0x4ab52a['shift']());}catch(_0x103740){_0x4ab52a['push'](_0x4ab52a['shift']());}}}(_0x4db2,0x34d1b));import{Plugin as _0x2a2fa8,PendingActions as _0x2c0db0}from'ckeditor5/src/core.js';import{CKEditorError as _0x423683,version as _0x255450,uid as _0xe7ab06}from'ckeditor5/src/utils.js';import{Notification as _0x506bfd}from'ckeditor5/src/ui.js';import{transformSets as _0x4b6ef6,NoOperation as _0xd0826b,InsertOperation as _0x4b7983,MarkerOperation as _0x6115ec,RootAttributeOperation as _0x2aa5f3,OperationFactory as _0x21590b,History as _0x5bffd0}from'ckeditor5/src/engine.js';import _0x1d7677 from'./websocketgateway.js';import _0x2dc5aa from'./sessions.js';import _0x809ba3 from'./usermarkers.js';import{getTranslation as _0x4e6e58}from'../common-translations.js';import{Compressor as _0x283b01}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x257107}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x144546,CollaborativeEditingService as _0x33608a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;class l extends _0x2a2fa8{static [_0x3836e8(0x293)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x33608a)());[_0x3836e8(0x23a)];[_0x3836e8(0x2e5)];[_0x3836e8(0x2cc)];[_0x3836e8(0x292)];[_0x3836e8(0x2a8)];[_0x3836e8(0x2ec)];[_0x3836e8(0x2e0)];[_0x3836e8(0x2a9)];[_0x3836e8(0x250)];[_0x3836e8(0x28c)];[_0x3836e8(0x26f)];[_0x3836e8(0x22e)];[_0x3836e8(0x2f0)];[_0x3836e8(0x211)];[_0x3836e8(0x278)];[_0x3836e8(0x239)];[_0x3836e8(0x237)];[_0x3836e8(0x249)];static get[_0x3836e8(0x22c)](){return[_0x1d7677,_0x2dc5aa,_0x809ba3,_0x2c0db0,_0x257107,_0x506bfd];}static get[_0x3836e8(0x216)](){const _0xc4ad9e=_0x3836e8;return _0xc4ad9e(0x202);}static get[_0x3836e8(0x1f4)](){return!0x0;}static get[_0x3836e8(0x27b)](){return!0x0;}get[_0x3836e8(0x285)](){const _0x888cd3=_0x3836e8;return this[_0x888cd3(0x209)]+this[_0x888cd3(0x23a)];}get[_0x3836e8(0x209)](){const _0x14e9d6=_0x3836e8;return this[_0x14e9d6(0x2cc)][_0x14e9d6(0x1f8)]-this[_0x14e9d6(0x23a)];}get[_0x3836e8(0x2ef)](){const _0x4f1d57=_0x3836e8,_0x2c721d=this[_0x4f1d57(0x2cc)][_0x4f1d57(0x26b)]();for(let _0x466e8a=_0x2c721d[_0x4f1d57(0x2d7)]-0x1;_0x466e8a>=0x0;_0x466e8a--){const _0x2ab71b=_0x2c721d[_0x466e8a];if(!this[_0x4f1d57(0x237)][_0x4f1d57(0x1fe)](_0x2ab71b))return _0x2ab71b[_0x4f1d57(0x222)]+0x1-this[_0x4f1d57(0x23a)];}return 0x0;}constructor(_0x39d082){const _0x24ae73=_0x3836e8;if(super(_0x39d082),this[_0x24ae73(0x23a)]=0x0,this[_0x24ae73(0x2e5)]=null,this[_0x24ae73(0x2cc)]=new _0x5bffd0(),this[_0x24ae73(0x2ca)][_0x24ae73(0x2ea)][_0x24ae73(0x2f7)](_0x24ae73(0x263),{}),this[_0x24ae73(0x292)]=this[_0x24ae73(0x2ca)][_0x24ae73(0x2ea)][_0x24ae73(0x288)](_0x24ae73(0x210)),!this[_0x24ae73(0x292)])throw new _0x423683(_0x24ae73(0x2cd),this);const _0x2c56e8=_0x39d082[_0x24ae73(0x2ea)][_0x24ae73(0x288)](_0x24ae73(0x21c))||_0x255450;this[_0x24ae73(0x2a8)]=new l[(_0x24ae73(0x293))](_0x2c56e8,this[_0x24ae73(0x292)]),this[_0x24ae73(0x2ec)]=this[_0x24ae73(0x2ca)][_0x24ae73(0x2b3)][_0x24ae73(0x2b4)],this[_0x24ae73(0x2e0)]=new _0x283b01(),this[_0x24ae73(0x2a9)]=[],this[_0x24ae73(0x250)]=new WeakSet(),this[_0x24ae73(0x28c)]=new Set(),this[_0x24ae73(0x23f)](_0x24ae73(0x1fb),!0x1),this[_0x24ae73(0x23f)](_0x24ae73(0x2ae),!0x1),this[_0x24ae73(0x26f)]=null,this[_0x24ae73(0x22e)]=!0x1,this[_0x24ae73(0x2f0)]=null,this[_0x24ae73(0x211)]=0x12c,this[_0x24ae73(0x278)]=this[_0x24ae73(0x211)],this[_0x24ae73(0x239)]=null,this[_0x24ae73(0x237)]=new WeakSet(),this[_0x24ae73(0x249)]=new $(this[_0x24ae73(0x237)]);}[_0x3836e8(0x248)](){const _0x3df52b=_0x3836e8,_0x2d90a9=this[_0x3df52b(0x2ca)],_0x48dcd2=_0x2d90a9[_0x3df52b(0x29b)][_0x3df52b(0x288)](_0x257107),_0x56d16f=_0x2d90a9[_0x3df52b(0x29b)][_0x3df52b(0x288)](_0x1d7677);this[_0x3df52b(0x1ff)](_0x48dcd2,_0x3df52b(0x220),(_0x32243a,_0x345126)=>{const _0x4d3157=_0x3df52b,_0x4be499=_0x345126[0x0];_0x4be499[_0x4d3157(0x29f)]&&(_0x32243a[_0x4d3157(0x2f3)]=_0x48dcd2[_0x4d3157(0x2f1)](_0x4be499[_0x4d3157(0x29f)]),_0x32243a[_0x4d3157(0x2a0)]()),null===_0x4be499[_0x4d3157(0x29f)]&&(_0x32243a[_0x4d3157(0x2f3)]=null,_0x32243a[_0x4d3157(0x2a0)]());},{'priority':_0x3df52b(0x26e)}),this[_0x3df52b(0x1ff)](_0x2d90a9[_0x3df52b(0x2b3)][_0x3df52b(0x2b4)][_0x3df52b(0x22d)],_0x3df52b(0x23c),(_0x2cd034,_0xf62726)=>{const _0x2fdc0e=_0x3df52b;_0xf62726[_0x2fdc0e(0x2d5)]&&this[_0x2fdc0e(0x214)]();}),this[_0x3df52b(0x1ff)](_0x2d90a9[_0x3df52b(0x29d)][_0x3df52b(0x2ba)],_0x3df52b(0x21d),()=>{const _0x51078f=_0x3df52b;this[_0x51078f(0x214)]();}),this[_0x3df52b(0x1fd)](),_0x2d90a9[_0x3df52b(0x2b3)]['on'](_0x3df52b(0x1f3),(_0x4416ff,_0x203da8)=>{const _0x201882=_0x3df52b,_0x22d529=_0x203da8[0x0];_0x22d529[_0x201882(0x20e)]&&(this[_0x201882(0x223)](_0x22d529),this[_0x201882(0x287)]()&&this[_0x201882(0x24f)]());}),this[_0x3df52b(0x2d9)](),this[_0x3df52b(0x286)](_0x3df52b(0x241))['to'](_0x56d16f,_0x3df52b(0x289),this,_0x3df52b(0x2ae),(_0x31e0b9,_0x5f120d)=>_0x3df52b(0x2a5)===_0x31e0b9&&!_0x5f120d),this['on'](_0x3df52b(0x203),()=>{const _0x294887=_0x3df52b;this[_0x294887(0x241)]?_0x2d90a9[_0x294887(0x236)](_0x294887(0x212)):_0x2d90a9[_0x294887(0x264)](_0x294887(0x212));}),this[_0x3df52b(0x241)]?_0x2d90a9[_0x3df52b(0x236)](_0x3df52b(0x212)):_0x2d90a9[_0x3df52b(0x264)](_0x3df52b(0x212)),this[_0x3df52b(0x23f)](_0x3df52b(0x2e6),!0x1);}async[_0x3836e8(0x2d4)](){const _0x221b72=_0x3836e8,_0x59b0de=this[_0x221b72(0x2ca)][_0x221b72(0x29b)][_0x221b72(0x288)](_0x2dc5aa),_0x31e9f8=this[_0x221b72(0x2ca)][_0x221b72(0x29b)][_0x221b72(0x288)](_0x1d7677);try{this[_0x221b72(0x1fb)]=!0x0,_0x59b0de[_0x221b72(0x260)](this[_0x221b72(0x292)]);const _0x10b039=await this[_0x221b72(0x2a8)][_0x221b72(0x2d4)](_0x31e9f8[_0x221b72(0x252)],this[_0x221b72(0x2ef)]);await this[_0x221b72(0x297)](_0x10b039)&&(this[_0x221b72(0x1fb)]=!0x1,this[_0x221b72(0x2d3)]());const _0x11c62d=await this[_0x221b72(0x2a8)][_0x221b72(0x247)]();_0x59b0de[_0x221b72(0x265)](this[_0x221b72(0x292)],_0x11c62d),this[_0x221b72(0x2de)](),this[_0x221b72(0x2e6)]=!0x0;}catch(_0x37331e){if(function(_0x5199d1){const _0xa4b4c=_0x221b72;return _0xa4b4c(0x2bd)===_0x5199d1[_0xa4b4c(0x2b0)];}(_0x37331e)&&this[_0x221b72(0x2e5)])await this[_0x221b72(0x230)]();else{if(function(_0xbaf031){const _0x346382=_0x221b72;return _0x346382(0x26a)===_0xbaf031[_0x346382(0x2b0)];}(_0x37331e)){const _0xd6d54e=_0x4e6e58(this[_0x221b72(0x2ca)][_0x221b72(0x226)],_0x221b72(0x2b1));this[_0x221b72(0x272)](_0xd6d54e);}else{if(!(_0x37331e instanceof q))throw _0x37331e;this[_0x221b72(0x272)]();}}}}[_0x3836e8(0x2e4)](){const _0xa2d3e8=_0x3836e8,_0x25eca7=this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x29b)][_0xa2d3e8(0x288)](_0x1d7677),_0x40a4c8=this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x29b)][_0xa2d3e8(0x288)](_0x2dc5aa);this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x264)](_0xa2d3e8(0x2ac)),_0x40a4c8[_0xa2d3e8(0x24a)][_0xa2d3e8(0x1fe)](this[_0xa2d3e8(0x292)])&&_0x40a4c8[_0xa2d3e8(0x260)](this[_0xa2d3e8(0x292)]),_0x25eca7[_0xa2d3e8(0x20d)](this),this[_0xa2d3e8(0x25e)](),super[_0xa2d3e8(0x2e4)]();}async[_0x3836e8(0x297)](_0x52895c){const _0x4137f7=_0x3836e8;if(this[_0x4137f7(0x2e5)]!==_0x52895c[_0x4137f7(0x2e5)]&&this[_0x4137f7(0x239)]!==_0x52895c[_0x4137f7(0x2a3)])throw new q();return this[_0x4137f7(0x2e5)]=_0x52895c[_0x4137f7(0x2e5)],this[_0x4137f7(0x267)]([],{..._0x52895c,'wereChangesApplied':!0x1,'data':_0x52895c[_0x4137f7(0x280)]},_0x4137f7(0x2d4));}async[_0x3836e8(0x24e)](_0x4162a9,_0x26f9c5=!0x1){const _0x3e6ade=_0x3836e8,{connection:_0x5099f0}=this[_0x3e6ade(0x2ca)][_0x3e6ade(0x29b)][_0x3e6ade(0x288)](_0x1d7677);l[_0x3e6ade(0x293)][_0x3e6ade(0x247)](_0x5099f0,this[_0x3e6ade(0x292)])[_0x3e6ade(0x208)](_0xb64768=>this[_0x3e6ade(0x2f6)](_0xb64768))[_0x3e6ade(0x2b7)](_0x3e589c=>{const _0x210fa2=_0x3e6ade;this[_0x210fa2(0x257)](_0x210fa2(0x24b),_0x3e589c);}),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x25a),this[_0x3e6ade(0x2d8)][_0x3e6ade(0x286)](this)),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x21a),(_0x24ebb0,_0x21dcd8)=>{const _0x45cdf7=_0x3e6ade;this[_0x45cdf7(0x257)](_0x45cdf7(0x205),_0x21dcd8);}),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x294),()=>{const _0x30ef6e=_0x3e6ade;this[_0x30ef6e(0x2e6)]=!0x1;});const _0x501723=this[_0x3e6ade(0x249)][_0x3e6ade(0x2a2)](_0x4162a9);this[_0x3e6ade(0x1fb)]=!0x0;const _0x2f366c=await this[_0x3e6ade(0x2a8)][_0x3e6ade(0x2e3)](_0x5099f0,this[_0x3e6ade(0x27a)](_0x4162a9),_0x501723);if(this[_0x3e6ade(0x2e5)]=_0x2f366c[_0x3e6ade(0x2e5)],_0x26f9c5){if(!_0x2f366c[_0x3e6ade(0x281)])return void this[_0x3e6ade(0x272)]();this[_0x3e6ade(0x1fb)]=!0x1,this[_0x3e6ade(0x2d3)](),this[_0x3e6ade(0x2cc)][_0x3e6ade(0x234)](),this[_0x3e6ade(0x23a)]=_0x2f366c[_0x3e6ade(0x276)],this[_0x3e6ade(0x2cc)][_0x3e6ade(0x1f8)]=this[_0x3e6ade(0x23a)],await this[_0x3e6ade(0x267)](_0x4162a9,_0x2f366c,_0x3e6ade(0x1f6));}else await this[_0x3e6ade(0x254)](_0x2f366c,_0x4162a9);this[_0x3e6ade(0x2de)](),this[_0x3e6ade(0x2e6)]=!0x0;}[_0x3836e8(0x2de)](){const _0x513a97=_0x3836e8,_0x567b9d=this[_0x513a97(0x2ca)][_0x513a97(0x29b)][_0x513a97(0x288)](_0x2dc5aa),_0xbd5ae9=this[_0x513a97(0x2ca)][_0x513a97(0x29b)][_0x513a97(0x288)](_0x809ba3),_0xadc683=_0x567b9d[_0x513a97(0x24a)][_0x513a97(0x288)](this[_0x513a97(0x292)]);_0xadc683&&_0xadc683[_0x513a97(0x2d7)]>0x1?_0xbd5ae9[_0x513a97(0x253)]():this[_0x513a97(0x1ff)](_0x567b9d,_0x513a97(0x246)+this[_0x513a97(0x292)],()=>{const _0x2b9f66=_0x513a97;0x2===_0x567b9d[_0x2b9f66(0x24a)][_0x2b9f66(0x288)](this[_0x2b9f66(0x292)])[_0x2b9f66(0x2d7)]&&_0xbd5ae9[_0x2b9f66(0x253)]();});}async[_0x3836e8(0x2d8)](_0x31b042,_0x5aa532,_0x496308,_0x28796c){const _0x284eb4=_0x3836e8;if(!this[_0x284eb4(0x1fb)]&&this[_0x284eb4(0x2ec)][_0x284eb4(0x1f8)]==_0x5aa532){const _0x395d26=this[_0x284eb4(0x2c0)](_0x496308,_0x28796c);await this[_0x284eb4(0x207)](_0x395d26),this[_0x284eb4(0x2e9)](_0x395d26,_0x5aa532,_0x496308[_0x284eb4(0x2a3)])||this[_0x284eb4(0x257)](_0x284eb4(0x283));}}async[_0x3836e8(0x230)](){const _0x4a381b=_0x3836e8;this[_0x4a381b(0x25e)]();const {locale:_0x271bc5}=this[_0x4a381b(0x2ca)];let _0x48d12c;try{_0x48d12c=await this[_0x4a381b(0x2a8)][_0x4a381b(0x26c)]();}catch(_0x3ef10d){const _0x23418b=_0x4e6e58(_0x271bc5,_0x4a381b(0x2c6));return void this[_0x4a381b(0x272)](_0x23418b);}const _0x57a3c0=_0x48d12c[_0x4a381b(0x1f7)]||_0x48d12c[_0x4a381b(0x240)];if(this[_0x4a381b(0x239)]===_0x57a3c0[_0x4a381b(0x2a3)])await this[_0x4a381b(0x24e)](this[_0x4a381b(0x2ca)][_0x4a381b(0x2b3)][_0x4a381b(0x2b4)][_0x4a381b(0x256)][_0x4a381b(0x26b)](),!0x0);else{const _0x4c3e5e=_0x4e6e58(_0x271bc5,_0x4a381b(0x27c));this[_0x4a381b(0x272)](_0x4c3e5e);}}[_0x3836e8(0x25e)](){const _0x49838e=_0x3836e8;this[_0x49838e(0x2a8)][_0x49838e(0x24d)](),this[_0x49838e(0x2a9)]=[],clearTimeout(this[_0x49838e(0x2f0)]),this[_0x49838e(0x2e1)](this[_0x49838e(0x2a8)]);}[_0x3836e8(0x2f6)](_0x415bab){const _0x305c2e=_0x3836e8,_0x21f52a=this[_0x305c2e(0x2ca)][_0x305c2e(0x29b)][_0x305c2e(0x288)](_0x2dc5aa);this[_0x305c2e(0x1ff)](_0x21f52a,_0x305c2e(0x246)+this[_0x305c2e(0x292)],(_0x382f51,{session:_0x5a4837})=>{const _0x1a8736=_0x305c2e;if(_0x5a4837['id']===_0x21f52a[_0x1a8736(0x20a)]){_0x382f51[_0x1a8736(0x2bf)]();const _0x28a8c8=this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x1fe)](_0x1a8736(0x29c))&&this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x288)](_0x1a8736(0x29c));let _0x15b6ad=_0x5a4837[_0x1a8736(0x266)];_0x28a8c8&&_0x28a8c8[_0x1a8736(0x2a7)]&&(_0x15b6ad=_0x15b6ad[_0x1a8736(0x227)](_0x4909b2=>_0x1a8736(0x233)!==_0x4909b2)),this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x288)](_0x1a8736(0x2e8))[_0x1a8736(0x28e)](_0x15b6ad,this[_0x1a8736(0x292)]);}}),_0x21f52a[_0x305c2e(0x265)](this[_0x305c2e(0x292)],_0x415bab);}[_0x3836e8(0x1fd)](){const _0x1f4c2e=_0x3836e8,_0x12f4e1=this[_0x1f4c2e(0x2ca)][_0x1f4c2e(0x280)][_0x1f4c2e(0x23f)];this[_0x1f4c2e(0x2ca)][_0x1f4c2e(0x280)][_0x1f4c2e(0x23f)]=(..._0x42a21a)=>{const _0x171b1a=_0x1f4c2e;if(!_0x42a21a[_0x42a21a[_0x171b1a(0x2d7)]-0x1][_0x171b1a(0x284)])throw new _0x423683(_0x171b1a(0x2eb),this);_0x12f4e1[_0x171b1a(0x243)](this[_0x171b1a(0x2ca)][_0x171b1a(0x280)],_0x42a21a);};}[_0x3836e8(0x2d9)](){const _0x53f579=_0x3836e8;this[_0x53f579(0x2ca)][_0x53f579(0x280)]['on'](_0x53f579(0x248),(_0x1e901b,[_0x1ee770])=>{const _0x203563=_0x53f579;if(this[_0x203563(0x2ec)][_0x203563(0x1f8)])throw new _0x423683(_0x203563(0x2b8),this);_0x1e901b[_0x203563(0x2a0)](),this[_0x203563(0x28a)]();const _0xf1236=this[_0x203563(0x2ca)][_0x203563(0x2ea)][_0x203563(0x288)](_0x203563(0x200)),_0x17cc07=this[_0x203563(0x235)](_0x1ee770,_0xf1236);0x0==_0x17cc07[_0x203563(0x2d7)]&&_0x17cc07[_0x203563(0x20c)](new _0xd0826b(0x0)),_0x1e901b[_0x203563(0x2f3)]=this[_0x203563(0x24e)](_0x17cc07)[_0x203563(0x208)](()=>{const _0x379297=_0x203563;this[_0x379297(0x2ca)][_0x379297(0x29b)][_0x379297(0x288)](_0x1d7677)[_0x379297(0x2a6)](this),this[_0x379297(0x2ca)][_0x379297(0x280)][_0x379297(0x232)](_0x379297(0x29a));})[_0x203563(0x2b7)](_0x2d0085=>this[_0x203563(0x257)](_0x203563(0x21b),_0x2d0085))[_0x203563(0x277)](()=>this[_0x203563(0x2d3)]());},{'priority':_0x53f579(0x26e)}),this[_0x53f579(0x2ca)]['on'](_0x53f579(0x2c9),async(_0x372bbc,[_0x442372,_0x5b29c0])=>{const _0x4dfaa8=_0x53f579;_0x372bbc[_0x4dfaa8(0x2a0)]();const _0x15bc18=this[_0x4dfaa8(0x2ca)][_0x4dfaa8(0x2b3)][_0x4dfaa8(0x2b4)][_0x4dfaa8(0x215)](_0x442372);if(!this[_0x4dfaa8(0x28c)][_0x4dfaa8(0x1fe)](_0x442372)){const _0x25785a=_0x5b29c0&&_0x5b29c0[_0x4dfaa8(0x280)]?_0x5b29c0[_0x4dfaa8(0x280)]:'',_0x543c42=_0x5b29c0&&_0x5b29c0[_0x4dfaa8(0x274)]?_0x5b29c0[_0x4dfaa8(0x274)]:{};await this[_0x4dfaa8(0x2da)](_0x442372,_0x25785a,_0x543c42);}this[_0x4dfaa8(0x2ca)][_0x4dfaa8(0x2b3)][_0x4dfaa8(0x251)]({'isUndoable':!0x1},()=>{const _0x41e2ed=_0x4dfaa8;_0x15bc18[_0x41e2ed(0x279)]=!0x0,this[_0x41e2ed(0x2ca)][_0x41e2ed(0x2b3)][_0x41e2ed(0x2b4)][_0x41e2ed(0x228)][_0x41e2ed(0x25c)](_0x15bc18);});},{'priority':_0x53f579(0x26e)});}async[_0x3836e8(0x207)](_0x318d64){const _0x43d3b2=_0x3836e8,_0x3b2e35=this[_0x43d3b2(0x2ca)][_0x43d3b2(0x29b)][_0x43d3b2(0x288)](_0x257107),{connection:_0x23318b}=this[_0x43d3b2(0x2ca)][_0x43d3b2(0x29b)][_0x43d3b2(0x288)](_0x1d7677),_0x30d699=new Set();for(const _0x1187b4 of _0x318d64){const _0x2806b0=_0x1187b4[_0x43d3b2(0x29f)];_0x2806b0&&!_0x3b2e35[_0x43d3b2(0x2f1)](_0x2806b0)&&_0x30d699[_0x43d3b2(0x2dd)](_0x2806b0);}if(0x0===_0x30d699[_0x43d3b2(0x2f4)])return;const _0x4f0cb4=await _0x144546[_0x43d3b2(0x2ee)](_0x23318b,Array[_0x43d3b2(0x23b)](_0x30d699));for(const _0x14747b of _0x4f0cb4)_0x3b2e35[_0x43d3b2(0x2f1)](_0x14747b['id'])||_0x3b2e35[_0x43d3b2(0x29e)](_0x14747b);}[_0x3836e8(0x235)](_0x11c06b,_0x4dae2e={}){const _0x2c1512=_0x3836e8,_0x5cb9cf=this[_0x2c1512(0x2ca)][_0x2c1512(0x2b3)],_0x3b07a9=[];let _0x4661a3=0x0;const _0x1f00e5=_0x2c1512(0x2c5)==typeof _0x11c06b?{'main':_0x11c06b}:_0x11c06b;for(const _0x4f05c5 of Object[_0x2c1512(0x2ad)](_0x1f00e5)){if(!this[_0x2c1512(0x2ec)][_0x2c1512(0x20f)][_0x2c1512(0x1fe)](_0x4f05c5))throw new _0x423683(_0x2c1512(0x2b9),this);const _0x5413f6=this[_0x2c1512(0x2ca)][_0x2c1512(0x280)][_0x2c1512(0x21f)](_0x1f00e5[_0x4f05c5]),_0x1532ad=this[_0x2c1512(0x2ec)][_0x2c1512(0x215)](_0x4f05c5),_0x156804=new _0x4b7983(_0x5cb9cf[_0x2c1512(0x269)](_0x1532ad,0x0),_0x5413f6,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x156804);for(const [_0x5268a2,_0x17ba03]of _0x5413f6[_0x2c1512(0x1fa)]){const _0xf41630=_0x5cb9cf[_0x2c1512(0x2be)](_0x5cb9cf[_0x2c1512(0x2e2)](_0x1532ad,_0x17ba03[_0x2c1512(0x299)][_0x2c1512(0x23d)][_0x2c1512(0x295)]()),_0x5cb9cf[_0x2c1512(0x2e2)](_0x1532ad,_0x17ba03[_0x2c1512(0x28b)][_0x2c1512(0x23d)][_0x2c1512(0x295)]())),_0x35d083=new _0x6115ec(_0x5268a2,null,_0xf41630,_0x5cb9cf[_0x2c1512(0x1fa)],!0x0,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x35d083);}}if(_0x4dae2e)for(const [_0x3c18f3,_0x435998]of Object[_0x2c1512(0x22f)](_0x4dae2e)){const _0x4c7ce0=_0x5cb9cf[_0x2c1512(0x2b4)][_0x2c1512(0x215)](_0x3c18f3);if(!_0x4c7ce0)throw new _0x423683(_0x2c1512(0x290),null);for(const [_0x384d7f,_0x2aebe7]of Object[_0x2c1512(0x22f)](_0x435998))if(null!==_0x2aebe7){const _0x4da706=new _0x2aa5f3(_0x4c7ce0,_0x384d7f,null,_0x2aebe7,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x4da706);}}return _0x3b07a9;}async[_0x3836e8(0x2da)](_0x2fe8cc,_0x445f49,_0x56da74){const _0x3f9f12=_0x3836e8;this[_0x3f9f12(0x235)]({[_0x2fe8cc]:_0x445f49},{[_0x2fe8cc]:_0x56da74})[_0x3f9f12(0x238)]((_0x1a5680,_0x26c5fc)=>{const _0x258860=_0x3f9f12;_0x1a5680[_0x258860(0x222)]=this[_0x258860(0x2ec)][_0x258860(0x1f8)]+_0x26c5fc,_0x1a5680[_0x258860(0x2d2)]=!0x0,this[_0x258860(0x223)](_0x1a5680);}),this[_0x3f9f12(0x24f)](),await this[_0x3f9f12(0x2cb)]();}async[_0x3836e8(0x254)](_0x3c4b43,_0x1e9450){const _0x40d0f5=_0x3836e8;let _0x178e1e;this[_0x40d0f5(0x23a)]=_0x3c4b43[_0x40d0f5(0x276)];const _0x240cbd=_0x3c4b43[_0x40d0f5(0x281)]&&!_0x3c4b43[_0x40d0f5(0x225)],_0x560133=_0x240cbd?0x0:_0x3c4b43[_0x40d0f5(0x280)][_0x40d0f5(0x222)];if(_0x1e9450[_0x40d0f5(0x238)](_0x40e994=>{const _0x584131=_0x40d0f5;_0x40e994[_0x584131(0x2d2)]=!0x0,_0x40e994[_0x584131(0x229)]=_0x3c4b43[_0x584131(0x298)],_0x40e994[_0x584131(0x29f)]=null;}),_0x240cbd)_0x178e1e=_0x1e9450,this[_0x40d0f5(0x275)](_0x178e1e,_0x240cbd);else{if(_0x3c4b43[_0x40d0f5(0x225)]){const _0x19e0d9=this[_0x40d0f5(0x235)](_0x3c4b43[_0x40d0f5(0x225)]);this[_0x40d0f5(0x2ec)][_0x40d0f5(0x256)][_0x40d0f5(0x1f8)]=-_0x19e0d9[_0x40d0f5(0x2d7)],_0x19e0d9[_0x40d0f5(0x238)](_0x17df93=>{const _0x3d1400=_0x40d0f5;_0x17df93[_0x3d1400(0x222)]-=_0x19e0d9[_0x3d1400(0x2d7)],_0x17df93[_0x3d1400(0x229)]=_0x3c4b43[_0x3d1400(0x298)],_0x17df93[_0x3d1400(0x2d2)]=!0x0,_0x17df93[_0x3d1400(0x29f)]=null;}),this[_0x40d0f5(0x275)](_0x19e0d9,!0x0),this[_0x40d0f5(0x2cc)][_0x40d0f5(0x1f8)]=-_0x19e0d9[_0x40d0f5(0x2d7)]+this[_0x40d0f5(0x23a)],this[_0x40d0f5(0x26d)](_0x19e0d9);}this[_0x40d0f5(0x2ec)][_0x40d0f5(0x256)][_0x40d0f5(0x1f8)]=_0x560133,_0x178e1e=this[_0x40d0f5(0x2c0)](_0x3c4b43[_0x40d0f5(0x280)],_0x3c4b43[_0x40d0f5(0x2a4)]),await this[_0x40d0f5(0x207)](_0x178e1e),this[_0x40d0f5(0x275)](_0x178e1e,_0x240cbd);}_0x3c4b43[_0x40d0f5(0x2a3)]&&(this[_0x40d0f5(0x249)][_0x40d0f5(0x245)](_0x178e1e,_0x3c4b43[_0x40d0f5(0x2a3)]),this[_0x40d0f5(0x239)]=_0x3c4b43[_0x40d0f5(0x2a3)]),this[_0x40d0f5(0x2cc)][_0x40d0f5(0x1f8)]=_0x560133+this[_0x40d0f5(0x23a)],this[_0x40d0f5(0x26d)](_0x178e1e),_0x1e9450[_0x40d0f5(0x227)](_0x31435a=>{const _0x154b2b=_0x40d0f5,_0x27d1b3=this[_0x154b2b(0x28f)](_0x31435a);return _0x27d1b3&&!this[_0x154b2b(0x28c)][_0x154b2b(0x1fe)](_0x27d1b3);})[_0x40d0f5(0x238)]((_0x4313e7,_0x4c4df6)=>{const _0x12b57b=_0x40d0f5;_0x4313e7[_0x12b57b(0x222)]=this[_0x12b57b(0x2ec)][_0x12b57b(0x1f8)]+_0x4c4df6,this[_0x12b57b(0x223)](_0x4313e7);}),this[_0x40d0f5(0x287)]()?(this[_0x40d0f5(0x278)]=0x0,this[_0x40d0f5(0x24f)](!0x0),await this[_0x40d0f5(0x2cb)]()):(this[_0x40d0f5(0x1fb)]=!0x1,this[_0x40d0f5(0x2d3)]());}[_0x3836e8(0x257)](_0x4bc63f,_0x188152){const _0x23e75d=_0x3836e8,_0x1f4c05=_0x188152&&_0x188152[_0x23e75d(0x2b6)];if(_0x1f4c05&&_0x1f4c05[_0x23e75d(0x2c7)](_0x23e75d(0x28d)))throw _0x188152;const _0x22f78e=this[_0x23e75d(0x2ca)][_0x23e75d(0x29b)][_0x23e75d(0x288)](_0x1d7677);throw this[_0x23e75d(0x1fb)]=!0x0,_0x22f78e[_0x23e75d(0x24d)](),this[_0x23e75d(0x2ca)][_0x23e75d(0x264)](_0x23e75d(0x2c8)),new _0x423683(_0x4bc63f,this[_0x23e75d(0x2ca)],_0x1f4c05?{'originalError':_0x1f4c05}:void 0x0);}[_0x3836e8(0x223)](_0x17cf11){const _0x4ad3af=_0x3836e8;this[_0x4ad3af(0x250)][_0x4ad3af(0x1fe)](_0x17cf11)||(this[_0x4ad3af(0x250)][_0x4ad3af(0x2dd)](_0x17cf11),this[_0x4ad3af(0x2a9)][_0x4ad3af(0x20c)](_0x17cf11),this[_0x4ad3af(0x26f)]||_0x4ad3af(0x206)==_0x17cf11[_0x4ad3af(0x25b)]&&!_0x17cf11[_0x4ad3af(0x22b)]||this[_0x4ad3af(0x28a)]());}[_0x3836e8(0x24f)](_0x22f0bd=!0x1){const _0x35c944=_0x3836e8;!_0x22f0bd&&this[_0x35c944(0x1fb)]||(this[_0x35c944(0x1fb)]=!0x0,clearTimeout(this[_0x35c944(0x2f0)]),this[_0x35c944(0x2f0)]=setTimeout(()=>{const _0x588d33=_0x35c944;this[_0x588d33(0x2aa)]()[_0x588d33(0x208)](_0x3e0da8=>{const _0x5aca96=_0x588d33;_0x3e0da8&&(this[_0x5aca96(0x2d3)](),this[_0x5aca96(0x1fb)]=!0x1);})[_0x588d33(0x2b7)](_0x4e0c47=>{const _0x4b0fc3=_0x588d33;this[_0x4b0fc3(0x2d3)](),this[_0x4b0fc3(0x1fb)]=!0x1,function(_0xd736a){const _0x574424=_0x4b0fc3;return _0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x261))||_0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x258))||_0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x23e));}(_0x4e0c47)||this[_0x4b0fc3(0x257)](_0x4e0c47[_0x4b0fc3(0x2b6)],_0x4e0c47);});},this[_0x35c944(0x278)]));}[_0x3836e8(0x2cb)](){return new Promise(_0xc7b85d=>{const _0x54f397=_0x1b1b;this['on'](_0x54f397(0x2d6),()=>{_0xc7b85d();});});}async[_0x3836e8(0x2aa)](){const _0xbdcdc8=_0x3836e8,_0x2cde6b=this[_0xbdcdc8(0x2ca)][_0xbdcdc8(0x29b)][_0xbdcdc8(0x288)](_0x809ba3);if(this[_0xbdcdc8(0x2c2)]()&&(_0x2cde6b[_0xbdcdc8(0x253)](),this[_0xbdcdc8(0x22e)]=!0x1),!this[_0xbdcdc8(0x287)]())return!0x0;const _0x177ea3=[...this[_0xbdcdc8(0x2a9)]];for(const _0x5ab697 of _0x177ea3)_0x5ab697[_0xbdcdc8(0x296)]=this[_0xbdcdc8(0x2ec)][_0xbdcdc8(0x256)][_0xbdcdc8(0x2d1)](_0x5ab697);const _0x2d6725=this[_0xbdcdc8(0x249)][_0xbdcdc8(0x2a2)](_0x177ea3),_0x2f767a=F++,_0x2cfaae=this[_0xbdcdc8(0x27a)](_0x177ea3),_0x53624e=await this[_0xbdcdc8(0x2a8)][_0xbdcdc8(0x2af)](_0x2cfaae,_0x2cfaae[_0xbdcdc8(0x222)],_0x2d6725);try{return await this[_0xbdcdc8(0x267)](_0x177ea3,_0x53624e,_0x2f767a);}catch(_0x4573c2){return this[_0xbdcdc8(0x257)](_0xbdcdc8(0x2e7),_0x4573c2);}}async[_0x3836e8(0x267)](_0x205b74,_0x1ba4d0,_0x5cc235){const _0x24e16a=_0x3836e8;if(_0x24e16a(0x21a)in _0x1ba4d0)throw _0x1ba4d0[_0x24e16a(0x21a)];let _0x3dd7f9=!0x1;if(_0x1ba4d0[_0x24e16a(0x281)]){_0x1ba4d0[_0x24e16a(0x2a3)]&&(this[_0x24e16a(0x239)]=_0x1ba4d0[_0x24e16a(0x2a3)]),this[_0x24e16a(0x2a9)]=this[_0x24e16a(0x2a9)][_0x24e16a(0x227)](_0x1d134b=>!_0x205b74[_0x24e16a(0x2ce)](_0x1d134b));for(const _0x3cf743 of _0x205b74)_0x3cf743[_0x24e16a(0x229)]=_0x24e16a(0x244)in _0x1ba4d0&&_0x1ba4d0[_0x24e16a(0x244)]||void 0x0;G(_0x205b74,_0x1ba4d0[_0x24e16a(0x1f8)]-_0x205b74[_0x24e16a(0x2d7)]),this[_0x24e16a(0x26d)](_0x205b74);const _0x3266e7=_0x205b74[_0x24e16a(0x227)](_0x5ee524=>{const _0x5c9ab3=_0x24e16a;if(!_0x5ee524[_0x5c9ab3(0x2d2)])return!0x1;const _0x5d2d46=this[_0x5c9ab3(0x28f)](_0x5ee524);return _0x5d2d46&&!this[_0x5c9ab3(0x28c)][_0x5c9ab3(0x1fe)](_0x5d2d46);});G(_0x3266e7,this[_0x24e16a(0x2ec)][_0x24e16a(0x1f8)]),this[_0x24e16a(0x275)](_0x3266e7),_0x3dd7f9=!0x0,this[_0x24e16a(0x278)]=this[_0x24e16a(0x211)];}else{const _0x11fe7c=this[_0x24e16a(0x2c0)](_0x1ba4d0[_0x24e16a(0x280)],_0x1ba4d0[_0x24e16a(0x2a4)])[_0x24e16a(0x227)](_0x30dafa=>_0x30dafa[_0x24e16a(0x222)]>=this[_0x24e16a(0x209)]);_0x11fe7c[_0x24e16a(0x238)](_0x5c097d=>this[_0x24e16a(0x2bb)](_0x5c097d)),this[_0x24e16a(0x2a9)]=this[_0x24e16a(0x2a9)][_0x24e16a(0x227)](_0x5dde54=>!_0x5dde54[_0x24e16a(0x2d2)]||!this[_0x24e16a(0x28c)][_0x24e16a(0x1fe)](this[_0x24e16a(0x28f)](_0x5dde54))),this[_0x24e16a(0x2a9)][_0x24e16a(0x2d7)]&&G(this[_0x24e16a(0x2a9)],this[_0x24e16a(0x2a9)][0x0][_0x24e16a(0x222)]),await this[_0x24e16a(0x207)](_0x11fe7c),_0x3dd7f9=this[_0x24e16a(0x2e9)](_0x11fe7c,_0x1ba4d0[_0x24e16a(0x1f8)],_0x1ba4d0[_0x24e16a(0x2a3)]),this[_0x24e16a(0x278)]=Math[_0x24e16a(0x2db)](this[_0x24e16a(0x278)]/0x2);}return _0x3dd7f9?!this[_0x24e16a(0x287)]()||(this[_0x24e16a(0x24f)](!0x0),!0x1):this[_0x24e16a(0x257)](_0x24e16a(0x27e));}[_0x3836e8(0x2e9)](_0x46b4c5,_0x53f06d,_0x2cf260){const _0x23ab5f=_0x3836e8;try{const _0x27f32a={'document':this[_0x23ab5f(0x2ec)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x25a15d,operationsB:_0x583277,originalOperations:_0x2d4917}=_0x4b6ef6(_0x46b4c5,this[_0x23ab5f(0x2a9)],_0x27f32a);G(_0x25a15d,this[_0x23ab5f(0x2ec)][_0x23ab5f(0x1f8)]),G(_0x583277,_0x53f06d);for(const _0x3e940a of _0x25a15d){const _0x1d9583=_0x2d4917[_0x23ab5f(0x288)](_0x3e940a);_0x3e940a[_0x23ab5f(0x29f)]=_0x1d9583?_0x1d9583[_0x23ab5f(0x29f)]:null;}_0x2cf260&&(this[_0x23ab5f(0x249)][_0x23ab5f(0x245)](_0x46b4c5,_0x2cf260),this[_0x23ab5f(0x239)]=_0x2cf260),this[_0x23ab5f(0x2a9)]=[..._0x583277],this[_0x23ab5f(0x275)](_0x25a15d),this[_0x23ab5f(0x26d)](_0x46b4c5);}catch(_0x2dddab){return console[_0x23ab5f(0x21a)](_0x2dddab),!0x1;}return!0x0;}[_0x3836e8(0x275)](_0x34ffd2,_0x553e87=!0x1){const _0x446552=_0x3836e8;this[_0x446552(0x2ca)][_0x446552(0x2b3)][_0x446552(0x251)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5e1040=>{const _0x46b146=_0x446552;for(const _0x36b894 of _0x34ffd2)this[_0x46b146(0x250)][_0x46b146(0x2dd)](_0x36b894),this[_0x46b146(0x2bb)](_0x36b894),_0x5e1040[_0x46b146(0x2d0)][_0x46b146(0x1f9)](_0x36b894),this[_0x46b146(0x2ca)][_0x46b146(0x2b3)][_0x46b146(0x1f3)](_0x36b894);});}[_0x3836e8(0x2bb)](_0xfdb5a7){const _0x4d99eb=_0x3836e8,_0x523a9a=this[_0x4d99eb(0x28f)](_0xfdb5a7);_0x523a9a&&this[_0x4d99eb(0x28c)][_0x4d99eb(0x2dd)](_0x523a9a);}[_0x3836e8(0x28f)](_0x28f84a){const _0x2223b5=_0x3836e8;let _0x2f885e,_0x1f79c7;switch(_0x28f84a[_0x2223b5(0x25b)]){case _0x2223b5(0x218):_0x2f885e=_0x28f84a[_0x2223b5(0x2df)][_0x2223b5(0x1f2)];break;case _0x2223b5(0x206):if(_0x1f79c7=_0x28f84a[_0x2223b5(0x273)],!_0x1f79c7)return null;_0x2f885e=_0x1f79c7[_0x2223b5(0x1f2)];break;case _0x2223b5(0x2bc):_0x2f885e=_0x28f84a[_0x2223b5(0x1f2)];break;case _0x2223b5(0x2ed):_0x2f885e=_0x28f84a[_0x2223b5(0x25f)];break;case _0x2223b5(0x1f1):_0x2f885e=_0x28f84a[_0x2223b5(0x1f5)][_0x2223b5(0x1f2)];break;default:return null;}return _0x2f885e[_0x2223b5(0x217)];}[_0x3836e8(0x26d)](_0x441fe3){const _0x1b6752=_0x3836e8;_0x441fe3[_0x1b6752(0x238)](_0xaf4420=>{const _0x4dd61a=_0x1b6752,_0x36c04a=_0xaf4420[_0x4dd61a(0x2ab)]();_0x36c04a[_0x4dd61a(0x29f)]=_0xaf4420[_0x4dd61a(0x29f)],_0x36c04a[_0x4dd61a(0x2d2)]=!!_0xaf4420[_0x4dd61a(0x2d2)],_0x36c04a[_0x4dd61a(0x229)]=_0xaf4420[_0x4dd61a(0x229)],_0x36c04a[_0x4dd61a(0x222)]+=this[_0x4dd61a(0x23a)],_0xaf4420[_0x4dd61a(0x27f)]&&this[_0x4dd61a(0x237)][_0x4dd61a(0x2dd)](_0x36c04a),this[_0x4dd61a(0x2cc)][_0x4dd61a(0x1f9)](_0x36c04a);});}[_0x3836e8(0x272)](_0x4559db){const _0x4df5d5=_0x3836e8,_0x18873e=this[_0x4df5d5(0x2ca)][_0x4df5d5(0x29b)][_0x4df5d5(0x288)](_0x4df5d5(0x262)),_0x5ed2f3=this[_0x4df5d5(0x2ca)][_0x4df5d5(0x226)];_0x4559db||(_0x4559db=_0x4e6e58(_0x5ed2f3,_0x4df5d5(0x2cf))),_0x18873e[_0x4df5d5(0x282)](_0x4559db,{'title':_0x4e6e58(_0x5ed2f3,_0x4df5d5(0x259)),'namespace':_0x4df5d5(0x2f2)}),this[_0x4df5d5(0x2ae)]=!0x0,clearTimeout(this[_0x4df5d5(0x2f0)]),this[_0x4df5d5(0x2a9)]=[],this[_0x4df5d5(0x2ca)][_0x4df5d5(0x29b)][_0x4df5d5(0x288)](_0x1d7677)[_0x4df5d5(0x24d)]();}[_0x3836e8(0x28a)](){const _0x4b8843=_0x3836e8;this[_0x4b8843(0x26f)]||(this[_0x4b8843(0x26f)]=this[_0x4b8843(0x2ca)][_0x4b8843(0x29b)][_0x4b8843(0x288)](_0x2c0db0)[_0x4b8843(0x2dd)](_0x4e6e58(this[_0x4b8843(0x2ca)][_0x4b8843(0x226)],_0x4b8843(0x2c1))));}[_0x3836e8(0x2d3)](){const _0x5a3769=_0x3836e8;this[_0x5a3769(0x26f)]&&(this[_0x5a3769(0x2ca)][_0x5a3769(0x29b)][_0x5a3769(0x288)](_0x2c0db0)[_0x5a3769(0x24c)](this[_0x5a3769(0x26f)]),this[_0x5a3769(0x26f)]=null);}[_0x3836e8(0x27a)](_0x240f99){const _0x4cdb4f=_0x3836e8,_0xc57f89=_0x240f99[_0x4cdb4f(0x1fc)](_0x4807f5=>_0x4807f5[_0x4cdb4f(0x231)]());return this[_0x4cdb4f(0x2e0)][_0x4cdb4f(0x2c3)](_0xc57f89);}[_0x3836e8(0x2c0)](_0x2bccd7,_0x362176){const _0x430ae9=_0x3836e8;return this[_0x430ae9(0x2e0)][_0x430ae9(0x2c4)](_0x2bccd7)[_0x430ae9(0x1fc)]((_0x3425ad,_0x4637c2)=>{const _0x3309b0=_0x430ae9,_0x3475a2=_0x3309b0(0x248)==_0x362176[_0x4637c2][_0x3309b0(0x25b)];if(_0x3309b0(0x21e)==_0x3425ad[_0x3309b0(0x219)]){const _0x4a6808=_0x3425ad[_0x3309b0(0x2df)][_0x3309b0(0x1f2)];!this[_0x3309b0(0x2ec)][_0x3309b0(0x215)](_0x4a6808)&&(this[_0x3309b0(0x2ec)][_0x3309b0(0x213)](_0x3309b0(0x20b),_0x4a6808)[_0x3309b0(0x242)]=!0x1);}const _0x492914=_0x21590b[_0x3309b0(0x291)](_0x3425ad,this[_0x3309b0(0x2ec)]);return _0x492914[_0x3309b0(0x296)]=_0x3425ad[_0x3309b0(0x296)],_0x492914[_0x3309b0(0x2d2)]=_0x3475a2,_0x492914[_0x3309b0(0x29f)]=_0x3475a2?null:_0x362176[_0x4637c2][_0x3309b0(0x27d)],_0x492914[_0x3309b0(0x27f)]=_0x3309b0(0x25d)===_0x362176[_0x4637c2][_0x3309b0(0x25b)],_0x492914[_0x3309b0(0x229)]=_0x362176[_0x4637c2][_0x3309b0(0x229)],_0x492914;});}[_0x3836e8(0x214)](){const _0x2ff4d2=_0x3836e8;this[_0x2ff4d2(0x22e)]=!0x0,this[_0x2ff4d2(0x2c2)]()?this[_0x2ff4d2(0x24f)]():this[_0x2ff4d2(0x22e)]=!0x1;}[_0x3836e8(0x2c2)](){const _0x1246ef=_0x3836e8,_0x159463=this[_0x1246ef(0x2ca)][_0x1246ef(0x29b)][_0x1246ef(0x288)](_0x2dc5aa)[_0x1246ef(0x24a)][_0x1246ef(0x288)](this[_0x1246ef(0x292)]);return!this[_0x1246ef(0x2ca)][_0x1246ef(0x255)]&&!!_0x159463&&_0x159463[_0x1246ef(0x2d7)]>0x1&&this[_0x1246ef(0x22e)];}[_0x3836e8(0x287)](){const _0x1169de=_0x3836e8;return this[_0x1169de(0x2a9)][_0x1169de(0x2d7)]>0x0||this[_0x1169de(0x2c2)]();}}export default l;class q extends Error{}function G(_0x5a1472,_0x40c3f2){const _0x2684e3=_0x3836e8;for(const _0x6f4fe1 of _0x5a1472)_0x6f4fe1[_0x2684e3(0x222)]=_0x40c3f2++;}function _0x4db2(){const _0xc01e77=['parse','getOperationAuthor','6XXokmw','baseVersion','_saveOperationInBuffer','2hDZiKv','initData','locale','filter','differ','createdAt','229265ulSJoS','affectsData','requires','selection','_hasSelectionChanged','entries','_connectAfterSessionHasBeenFlushed','toJSON','fire','document:write','reset','_getOperationsFromInitData','disableReadOnlyMode','_disconnectionOperations','forEach','_lastSyncedOperationId','_offset','from','change:range','path','cloud-services-internal-error:\x20Request\x20timeout.','set','lastDocumentSession','_isEditingAllowed','_isAttached','apply','lastOperationAcceptedAt','setIdForTheLastOperation','sessionAdd:','getConnectedSessions','init','_operationIdentifier','channelSessions','realtimecollaborationclient-init-session-connection-error','remove','disconnect','_connectService','_sendBufferedOperationsDelayed','_knownOperations','enqueueChange','connection','createUserMarkerOperations','_handleInitialConnectionData','isReadOnly','history','_crash','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','Synchronization\x20issue','operationsReceived','type','_bufferRootLoad','cs:removeUser','_disconnectService','affectedSelectable','unregister','cloud-services-internal-error:\x20Not\x20connected.','Notification','collaboration','enableReadOnlyMode','register','permissions','_handleServerResponse','436932JEndjY','createPositionAt','409','getOperations','getDocumentDetails','_updateServerHistory','high','_pendingAction','2134490yxfZoX','14wGNdZI','_handleReconnectionError','newRange','attributes','_applyOperationsSet','offset','finally','_currentBufferDelay','_isLoaded','_compressOperations','isPremiumPlugin','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.','userId','realtimecollaborationclient-handleserverresponse','_isDisconnection','data','wereChangesApplied','showWarning','realtimecollaborationclient-init-service-incorrect-server-operation','suppressErrorInCollaboration','cloudDocumentVersion','bind','_shouldSendUpdate','get','state','_setPendingAction','end','_knownRootNames','realtimecollaborationclient','setPermissions','_getAffectedRoot','multi-root-editor-root-attributes-no-root','fromJSON','_channelId','CollaborativeEditingService','disconnected','slice','wasUndone','_handleReconnectionResponse','sessionCreatedAt','start','ready','plugins','CommentsOnly','editing','addUser','_authorId','stop','1494648ftzpqK','getIdOfTheLastOperation','lastOperationId','metadata','connected','addToReconnectionStack','isEnabled','_service','_bufferedOperations','_sendBufferedOperations','clone','rtc-destroyed','keys','_hasSynchronizationProblem','sendOperations','code','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','732429kVTDvD','model','document','_ignoredOperations','message','catch','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-init-non-existent-root','view','_addKnownRoot','addRootAttribute','404','createRange','off','_decompressOperations','PENDING_ACTION_SENDING_DATA','_shouldSendSelectionUpdate','compress','decompress','string','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','startsWith','realtimecollaborationclient-error','loadRoot','editor','_waitUntilSynced','serverHistory','collaboration-missing-channelid','includes','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.','batch','isUndoneOperation','_isInit','_clearPendingAction','reconnect','directChange','change:_isPendingUpdate','length','_handleReceivedOperations','_setUpDataInit','_loadRoot','round','30Jldizs','add','_handleSendingSelectionMarkers','position','_compressor','stopListening','createPositionFromPath','connect','destroy','sessionId','_isConnected','realtimecollaborationclient-sendbufferedoperations','Permissions','_handleExternalOperations','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_document','addRoot','getMany','lastSyncVersion','_sendBufferedOperationsDelayId','getUser','real-time-collaboration','return','size','795978DtQChs','_initSessionsHandling','define','move','root','applyOperation','isOfficialPlugin','targetPosition','reconnection:\x20flushed\x20session','currentDocumentSession','version','addOperation','markers','_isPendingUpdate','map','_initThrowingOnDataSet','has','listenTo','rootsAttributes','_operationToId','RealTimeCollaborationClient','change:_isEditingAllowed','5318852JwRNmm','realtimecollaborationclient-init-service-internal-error','marker','_fetchMissingUsers','then','_lastServerVersion','mySessionId','$root','push','removeFromReconnectionStack','isDocumentOperation','roots','collaboration.channelId','_baseBufferDelay','rtc-offline','createRoot','_refreshUserSelectionMarkers','getRoot','pluginName','rootName','insert','__className','error','realtimecollaborationclient-init-connection-failed','cloudServices.bundleVersion','change:hasDomSelection','InsertOperation'];_0x4db2=function(){return _0xc01e77;};return _0x4db2();}class ${[_0x3836e8(0x2b5)];[_0x3836e8(0x201)];constructor(_0x3a0431){const _0x3e7b22=_0x3836e8;this[_0x3e7b22(0x2b5)]=_0x3a0431,this[_0x3e7b22(0x201)]=new WeakMap();}[_0x3836e8(0x2a2)](_0xe2508a){const _0x3acd2a=_0x3836e8;let _0xdc4364=_0xe2508a[_0x3acd2a(0x2d7)];for(;_0xdc4364--;){const _0xfafaad=_0xe2508a[_0xdc4364];if(!this[_0x3acd2a(0x2b5)][_0x3acd2a(0x1fe)](_0xfafaad)){if(!this[_0x3acd2a(0x201)][_0x3acd2a(0x1fe)](_0xfafaad)){const _0x206a81=_0xe7ab06()[_0x3acd2a(0x295)](0x1,0x12);this[_0x3acd2a(0x201)][_0x3acd2a(0x23f)](_0xfafaad,_0x206a81);}return this[_0x3acd2a(0x201)][_0x3acd2a(0x288)](_0xfafaad);}}}[_0x3836e8(0x245)](_0x53891e,_0x1ebe1b){const _0x55439a=_0x3836e8;if(!_0x1ebe1b)return;let _0xa1c75a=_0x53891e[_0x55439a(0x2d7)];for(;_0xa1c75a--;){const _0x3286d4=_0x53891e[_0xa1c75a];this[_0x55439a(0x2b5)][_0x55439a(0x1fe)](_0x3286d4)||this[_0x55439a(0x201)][_0x55439a(0x23f)](_0x3286d4,_0x1ebe1b);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a8ad9=_0x4a8d;function _0x1bf2(){const _0x4a52fb=['delete','_uniqueUsersCount','_createUser','requires','309336jbRaDE','plugins','change:state','getUserSessions','forEach','_users','sessionAdd:','sessions-register-already-registered','channelConnectedUsers','register','pluginName','channelSessions','getUserRole','set','unregister','249498Uwgiua','isPremiumPlugin','_handleSessionAdd','state','38SNedLj','5GaiCAm','sessions-unregister-not-exist','mySessionId','fire','_handleSessionRemove','clear','10331mGrYVo','user','getUserBySessionId','Sessions','role','203312xlhmlz','1047672QEIkBL','isMe','13338rxaQPf','connected','context','orderNumber','add','sessionId','getUser','get','addUser','allConnectedUsers','has','connection','105HVYLNN','_registeredSessions','init','values','defineMe','stopListening','listenTo','size','assign','550640zbqAvg','remove','isOfficialPlugin'];_0x1bf2=function(){return _0x4a52fb;};return _0x1bf2();}(function(_0x5b97ab,_0x2fa8a7){const _0x327f40=_0x4a8d,_0x1ca2ff=_0x5b97ab();while(!![]){try{const _0x4a3aa7=-parseInt(_0x327f40(0xcb))/0x1*(-parseInt(_0x327f40(0xc4))/0x2)+-parseInt(_0x327f40(0xc0))/0x3+-parseInt(_0x327f40(0xb1))/0x4*(parseInt(_0x327f40(0xc5))/0x5)+parseInt(_0x327f40(0x95))/0x6*(parseInt(_0x327f40(0xa1))/0x7)+-parseInt(_0x327f40(0x92))/0x8+parseInt(_0x327f40(0x93))/0x9+-parseInt(_0x327f40(0xaa))/0xa;if(_0x4a3aa7===_0x2fa8a7)break;else _0x1ca2ff['push'](_0x1ca2ff['shift']());}catch(_0x3c7ee2){_0x1ca2ff['push'](_0x1ca2ff['shift']());}}}(_0x1bf2,0x19a68));function _0x4a8d(_0x89109f,_0xdfde62){const _0x1bf2cf=_0x1bf2();return _0x4a8d=function(_0x4a8d39,_0x1f0472){_0x4a8d39=_0x4a8d39-0x8f;let _0x33026b=_0x1bf2cf[_0x4a8d39];return _0x33026b;},_0x4a8d(_0x89109f,_0xdfde62);}import{ContextPlugin as _0x368218}from'ckeditor5/src/core.js';import{Collection as _0x36bc30,CKEditorError as _0x549c0c}from'ckeditor5/src/utils.js';import _0x4eb87d from'./websocketgateway.js';import{Users as _0x53e64a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x368218{[_0x2a8ad9(0xbc)];[_0x2a8ad9(0xb9)];[_0x2a8ad9(0x9e)];[_0x2a8ad9(0xa2)];[_0x2a8ad9(0xae)];[_0x2a8ad9(0xb6)];static get[_0x2a8ad9(0xbb)](){const _0x529b09=_0x2a8ad9;return _0x529b09(0x90);}static get[_0x2a8ad9(0xac)](){return!0x0;}static get[_0x2a8ad9(0xc1)](){return!0x0;}static get[_0x2a8ad9(0xb0)](){return[_0x4eb87d,_0x53e64a];}constructor(_0x3f1e5f){const _0x20b6f5=_0x2a8ad9;super(_0x3f1e5f),this[_0x20b6f5(0xbc)]=new Map(),this[_0x20b6f5(0xb9)]=new Map(),this[_0x20b6f5(0x9e)]=new _0x36bc30(),this[_0x20b6f5(0xa2)]=new Map(),this[_0x20b6f5(0xae)]=0x0,this[_0x20b6f5(0xb6)]=this[_0x20b6f5(0x97)][_0x20b6f5(0xb2)][_0x20b6f5(0x9c)](_0x53e64a);}[_0x2a8ad9(0xa3)](){const _0xeccab8=_0x2a8ad9,_0x259b81=this[_0xeccab8(0x97)][_0xeccab8(0xb2)][_0xeccab8(0x9c)](_0x4eb87d);this[_0xeccab8(0xa7)](_0x259b81,_0xeccab8(0xb3),(_0x9f949a,_0x5129a1,_0x5c354b)=>{const _0x754411=_0xeccab8;if(_0x754411(0x96)!==_0x5c354b)this[_0x754411(0xbc)][_0x754411(0xb5)](_0x4d3e50=>_0x4d3e50[_0x754411(0xca)]()),this[_0x754411(0xb9)][_0x754411(0xb5)](_0x32cdbf=>_0x32cdbf[_0x754411(0xca)]()),this[_0x754411(0x9e)][_0x754411(0xca)]();else{for(const [_0x96285c,_0x22eddb]of this[_0x754411(0xa2)])for(const _0x138c41 of _0x22eddb)this[_0x754411(0xc2)](_0x96285c,_0x138c41);}}),this[_0xeccab8(0xaf)](_0x259b81[_0xeccab8(0xa0)]['me'],!0x0);}[_0x2a8ad9(0xba)](_0x239e46,_0x4b682f){const _0x5e0ed3=_0x2a8ad9;if(this[_0x5e0ed3(0xa2)][_0x5e0ed3(0x9f)](_0x239e46))throw new _0x549c0c(_0x5e0ed3(0xb8),null,{'channelId':_0x239e46});this[_0x5e0ed3(0xa2)][_0x5e0ed3(0xbe)](_0x239e46,_0x4b682f),this[_0x5e0ed3(0xbc)][_0x5e0ed3(0xbe)](_0x239e46,new _0x36bc30()),this[_0x5e0ed3(0xb9)][_0x5e0ed3(0xbe)](_0x239e46,new _0x36bc30()),this[_0x5e0ed3(0xa7)](_0x4b682f,_0x5e0ed3(0x99),(_0x194fba,_0x394c3c)=>this[_0x5e0ed3(0xc2)](_0x239e46,_0x394c3c)),this[_0x5e0ed3(0xa7)](_0x4b682f,_0x5e0ed3(0xab),(_0x2b7c19,_0x49dd56)=>this[_0x5e0ed3(0xc9)](_0x239e46,_0x49dd56));for(const _0x26bca2 of _0x4b682f)this[_0x5e0ed3(0xc2)](_0x239e46,_0x26bca2);}[_0x2a8ad9(0xbf)](_0x216466){const _0x429023=_0x2a8ad9;if(!this[_0x429023(0xa2)][_0x429023(0x9f)](_0x216466))throw new _0x549c0c(_0x429023(0xc6),null,{'channelId':_0x216466});const _0x22b89c=this[_0x429023(0xa2)][_0x429023(0x9c)](_0x216466);this[_0x429023(0xa6)](_0x22b89c);for(const _0x1783d7 of _0x22b89c)_0x429023(0x96)===this[_0x429023(0x97)][_0x429023(0xb2)][_0x429023(0x9c)](_0x4eb87d)[_0x429023(0xc3)]&&this[_0x429023(0xc9)](_0x216466,_0x1783d7);this[_0x429023(0xa2)][_0x429023(0xad)](_0x216466),this[_0x429023(0xbc)][_0x429023(0xad)](_0x216466),this[_0x429023(0xb9)][_0x429023(0xad)](_0x216466);}get[_0x2a8ad9(0xc7)](){const _0x2b081e=_0x2a8ad9;return this[_0x2b081e(0x97)][_0x2b081e(0xb2)][_0x2b081e(0x9c)](_0x4eb87d)[_0x2b081e(0xa0)][_0x2b081e(0x9a)];}[_0x2a8ad9(0x8f)](_0x197b81){const _0x2c36dc=_0x2a8ad9;for(const _0x5d9f97 of this[_0x2c36dc(0xbc)][_0x2c36dc(0xa4)]())for(const _0x3e47a2 of _0x5d9f97)if(_0x3e47a2['id']===_0x197b81)return _0x3e47a2[_0x2c36dc(0xcc)];}[_0x2a8ad9(0xb4)](_0x59b3ec,_0x3a62e7){const _0x992d66=_0x2a8ad9,_0x558265=_0x3a62e7?[this[_0x992d66(0xbc)][_0x992d66(0x9c)](_0x3a62e7)]:this[_0x992d66(0xbc)][_0x992d66(0xa4)](),_0x45ea67=new Set();for(const _0x391f49 of _0x558265)for(const _0x26b777 of _0x391f49)_0x26b777[_0x992d66(0xcc)]['id']===_0x59b3ec['id']&&_0x45ea67[_0x992d66(0x99)](_0x26b777['id']);return _0x45ea67;}[_0x2a8ad9(0xbd)](_0x1807f0){const _0x5f32ad=_0x2a8ad9;for(const _0x57ce95 of this[_0x5f32ad(0xbc)][_0x5f32ad(0xa4)]())for(const _0x3d2381 of _0x57ce95)if(_0x3d2381[_0x5f32ad(0xcc)]===_0x1807f0)return _0x3d2381[_0x5f32ad(0x91)];}[_0x2a8ad9(0xc2)](_0x1fd47e,_0x32f911){const _0x4d366e=_0x2a8ad9;if(_0x4d366e(0x96)!==this[_0x4d366e(0x97)][_0x4d366e(0xb2)][_0x4d366e(0x9c)](_0x4eb87d)[_0x4d366e(0xc3)])return;const _0x5c0310=_0x32f911[_0x4d366e(0xcc)],_0x7033a1=this[_0x4d366e(0xb6)][_0x4d366e(0x9b)](_0x5c0310['id'])||this[_0x4d366e(0xaf)](_0x5c0310),_0x2126ee=Object[_0x4d366e(0xa9)]({},_0x32f911,{'user':_0x7033a1});this[_0x4d366e(0xbc)][_0x4d366e(0x9c)](_0x1fd47e)[_0x4d366e(0x99)](_0x2126ee);const _0x529393=this[_0x4d366e(0xb9)][_0x4d366e(0x9c)](_0x1fd47e);_0x529393[_0x4d366e(0x9f)](_0x7033a1['id'])||_0x529393[_0x4d366e(0x99)](_0x7033a1),this[_0x4d366e(0x9e)][_0x4d366e(0x9f)](_0x7033a1['id'])||this[_0x4d366e(0x9e)][_0x4d366e(0x99)](_0x7033a1,_0x7033a1[_0x4d366e(0x94)]?0x0:void 0x0),this[_0x4d366e(0xc8)](_0x4d366e(0xb7)+_0x1fd47e,{'channelId':_0x1fd47e,'session':_0x2126ee});}[_0x2a8ad9(0xc9)](_0x1802bc,_0x5e8cdf){const _0x32c4b3=_0x2a8ad9;if(_0x32c4b3(0x96)!==this[_0x32c4b3(0x97)][_0x32c4b3(0xb2)][_0x32c4b3(0x9c)](_0x4eb87d)[_0x32c4b3(0xc3)])return;const _0x1839c8=this[_0x32c4b3(0xb9)][_0x32c4b3(0x9c)](_0x1802bc),_0x21637e=_0x5e8cdf[_0x32c4b3(0xcc)];_0x21637e['id']&&(this[_0x32c4b3(0xbc)][_0x32c4b3(0x9c)](_0x1802bc)[_0x32c4b3(0xab)](_0x5e8cdf['id']),_0x1839c8[_0x32c4b3(0x9f)](_0x21637e['id'])&&!this[_0x32c4b3(0xb4)](_0x21637e,_0x1802bc)[_0x32c4b3(0xa8)]&&_0x1839c8[_0x32c4b3(0xab)](_0x21637e['id']),this[_0x32c4b3(0x9e)][_0x32c4b3(0x9c)](_0x21637e['id'])&&!this[_0x32c4b3(0xb4)](_0x21637e)[_0x32c4b3(0xa8)]&&this[_0x32c4b3(0x9e)][_0x32c4b3(0xab)](_0x21637e['id']));}[_0x2a8ad9(0xaf)](_0x2591b2,_0x45a850){const _0xe17557=_0x2a8ad9,_0x49ce03=this[_0xe17557(0xb6)][_0xe17557(0x9d)](_0x2591b2);return _0x45a850&&this[_0xe17557(0xb6)][_0xe17557(0xa5)](_0x2591b2['id']),_0x49ce03[_0xe17557(0x98)]=this[_0xe17557(0xae)]++,_0x49ce03;}}
23
+ const _0x287b5f=_0x4bc7;(function(_0x21a70e,_0x3f64f6){const _0x2d44ae=_0x4bc7,_0x20b4f6=_0x21a70e();while(!![]){try{const _0x1351a5=-parseInt(_0x2d44ae(0x1b6))/0x1+-parseInt(_0x2d44ae(0x1a4))/0x2+parseInt(_0x2d44ae(0x1c1))/0x3+parseInt(_0x2d44ae(0x19d))/0x4*(-parseInt(_0x2d44ae(0x1b9))/0x5)+-parseInt(_0x2d44ae(0x1c4))/0x6+parseInt(_0x2d44ae(0x197))/0x7+-parseInt(_0x2d44ae(0x199))/0x8*(-parseInt(_0x2d44ae(0x1a9))/0x9);if(_0x1351a5===_0x3f64f6)break;else _0x20b4f6['push'](_0x20b4f6['shift']());}catch(_0x25b5b5){_0x20b4f6['push'](_0x20b4f6['shift']());}}}(_0x2cf7,0x4227f));import{ContextPlugin as _0x45a14}from'ckeditor5/src/core.js';import{Collection as _0x533356,CKEditorError as _0x5c1353}from'ckeditor5/src/utils.js';import _0x2bb8d8 from'./websocketgateway.js';import{Users as _0x56fa41}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x45a14{[_0x287b5f(0x19b)];[_0x287b5f(0x19f)];[_0x287b5f(0x1a3)];[_0x287b5f(0x1a7)];[_0x287b5f(0x1c6)];[_0x287b5f(0x1c5)];static get[_0x287b5f(0x1aa)](){const _0x6611bd=_0x287b5f;return _0x6611bd(0x1c2);}static get[_0x287b5f(0x19a)](){return!0x0;}static get[_0x287b5f(0x19c)](){return!0x0;}static get[_0x287b5f(0x194)](){return[_0x2bb8d8,_0x56fa41];}constructor(_0xa0ad3e){const _0x3eba72=_0x287b5f;super(_0xa0ad3e),this[_0x3eba72(0x19b)]=new Map(),this[_0x3eba72(0x19f)]=new Map(),this[_0x3eba72(0x1a3)]=new _0x533356(),this[_0x3eba72(0x1a7)]=new Map(),this[_0x3eba72(0x1c6)]=0x0,this[_0x3eba72(0x1c5)]=this[_0x3eba72(0x1a5)][_0x3eba72(0x1a8)][_0x3eba72(0x1b5)](_0x56fa41);}[_0x287b5f(0x198)](){const _0x174f36=_0x287b5f,_0x14855c=this[_0x174f36(0x1a5)][_0x174f36(0x1a8)][_0x174f36(0x1b5)](_0x2bb8d8);this[_0x174f36(0x18b)](_0x14855c,_0x174f36(0x1a6),(_0x3bce30,_0x2593af,_0x4d036f)=>{const _0x556413=_0x174f36;if(_0x556413(0x1ae)!==_0x4d036f)this[_0x556413(0x19b)][_0x556413(0x1a2)](_0xb3b4d2=>_0xb3b4d2[_0x556413(0x1c3)]()),this[_0x556413(0x19f)][_0x556413(0x1a2)](_0x393868=>_0x393868[_0x556413(0x1c3)]()),this[_0x556413(0x1a3)][_0x556413(0x1c3)]();else{for(const [_0x57a370,_0x37b927]of this[_0x556413(0x1a7)])for(const _0x24d985 of _0x37b927)this[_0x556413(0x1bd)](_0x57a370,_0x24d985);}}),this[_0x174f36(0x1b7)](_0x14855c[_0x174f36(0x1ba)]['me'],!0x0);}[_0x287b5f(0x1ad)](_0x4c7c9d,_0x3688f2){const _0xfc8836=_0x287b5f;if(this[_0xfc8836(0x1a7)][_0xfc8836(0x1bf)](_0x4c7c9d))throw new _0x5c1353(_0xfc8836(0x18c),null,{'channelId':_0x4c7c9d});this[_0xfc8836(0x1a7)][_0xfc8836(0x1b2)](_0x4c7c9d,_0x3688f2),this[_0xfc8836(0x19b)][_0xfc8836(0x1b2)](_0x4c7c9d,new _0x533356()),this[_0xfc8836(0x19f)][_0xfc8836(0x1b2)](_0x4c7c9d,new _0x533356()),this[_0xfc8836(0x18b)](_0x3688f2,_0xfc8836(0x191),(_0x14835b,_0x53fa06)=>this[_0xfc8836(0x1bd)](_0x4c7c9d,_0x53fa06)),this[_0xfc8836(0x18b)](_0x3688f2,_0xfc8836(0x18f),(_0x460d9f,_0x5d5120)=>this[_0xfc8836(0x1a0)](_0x4c7c9d,_0x5d5120));for(const _0x5a3cff of _0x3688f2)this[_0xfc8836(0x1bd)](_0x4c7c9d,_0x5a3cff);}[_0x287b5f(0x1bb)](_0x35eeab){const _0x4f2be1=_0x287b5f;if(!this[_0x4f2be1(0x1a7)][_0x4f2be1(0x1bf)](_0x35eeab))throw new _0x5c1353(_0x4f2be1(0x18d),null,{'channelId':_0x35eeab});const _0x2fb3a7=this[_0x4f2be1(0x1a7)][_0x4f2be1(0x1b5)](_0x35eeab);this[_0x4f2be1(0x1bc)](_0x2fb3a7);for(const _0x4567ea of _0x2fb3a7)_0x4f2be1(0x1ae)===this[_0x4f2be1(0x1a5)][_0x4f2be1(0x1a8)][_0x4f2be1(0x1b5)](_0x2bb8d8)[_0x4f2be1(0x196)]&&this[_0x4f2be1(0x1a0)](_0x35eeab,_0x4567ea);this[_0x4f2be1(0x1a7)][_0x4f2be1(0x1ac)](_0x35eeab),this[_0x4f2be1(0x19b)][_0x4f2be1(0x1ac)](_0x35eeab),this[_0x4f2be1(0x19f)][_0x4f2be1(0x1ac)](_0x35eeab);}get[_0x287b5f(0x1a1)](){const _0x13572a=_0x287b5f;return this[_0x13572a(0x1a5)][_0x13572a(0x1a8)][_0x13572a(0x1b5)](_0x2bb8d8)[_0x13572a(0x1ba)][_0x13572a(0x19e)];}[_0x287b5f(0x1af)](_0x522837){const _0x264f93=_0x287b5f;for(const _0x236dad of this[_0x264f93(0x19b)][_0x264f93(0x18a)]())for(const _0x7a9daa of _0x236dad)if(_0x7a9daa['id']===_0x522837)return _0x7a9daa[_0x264f93(0x18e)];}[_0x287b5f(0x195)](_0x62378d,_0x372aed){const _0x444e47=_0x287b5f,_0x36d5d8=_0x372aed?[this[_0x444e47(0x19b)][_0x444e47(0x1b5)](_0x372aed)]:this[_0x444e47(0x19b)][_0x444e47(0x18a)](),_0x3e51ab=new Set();for(const _0x3aa80f of _0x36d5d8)for(const _0x93e632 of _0x3aa80f)_0x93e632[_0x444e47(0x18e)]['id']===_0x62378d['id']&&_0x3e51ab[_0x444e47(0x191)](_0x93e632['id']);return _0x3e51ab;}[_0x287b5f(0x193)](_0x4579c5){const _0x5aff53=_0x287b5f;for(const _0x565065 of this[_0x5aff53(0x19b)][_0x5aff53(0x18a)]())for(const _0x46ddfd of _0x565065)if(_0x46ddfd[_0x5aff53(0x18e)]===_0x4579c5)return _0x46ddfd[_0x5aff53(0x1ab)];}[_0x287b5f(0x1bd)](_0x3511df,_0x4739df){const _0x2732c7=_0x287b5f;if(_0x2732c7(0x1ae)!==this[_0x2732c7(0x1a5)][_0x2732c7(0x1a8)][_0x2732c7(0x1b5)](_0x2bb8d8)[_0x2732c7(0x196)])return;const _0x4968e3=_0x4739df[_0x2732c7(0x18e)],_0x1925a0=this[_0x2732c7(0x1c5)][_0x2732c7(0x1be)](_0x4968e3['id'])||this[_0x2732c7(0x1b7)](_0x4968e3),_0x504441=Object[_0x2732c7(0x192)]({},_0x4739df,{'user':_0x1925a0});this[_0x2732c7(0x19b)][_0x2732c7(0x1b5)](_0x3511df)[_0x2732c7(0x191)](_0x504441);const _0x356434=this[_0x2732c7(0x19f)][_0x2732c7(0x1b5)](_0x3511df);_0x356434[_0x2732c7(0x1bf)](_0x1925a0['id'])||_0x356434[_0x2732c7(0x191)](_0x1925a0),this[_0x2732c7(0x1a3)][_0x2732c7(0x1bf)](_0x1925a0['id'])||this[_0x2732c7(0x1a3)][_0x2732c7(0x191)](_0x1925a0,_0x1925a0[_0x2732c7(0x1b8)]?0x0:void 0x0),this[_0x2732c7(0x1b4)](_0x2732c7(0x1b1)+_0x3511df,{'channelId':_0x3511df,'session':_0x504441});}[_0x287b5f(0x1a0)](_0x255c3a,_0x1947ff){const _0x46c892=_0x287b5f;if(_0x46c892(0x1ae)!==this[_0x46c892(0x1a5)][_0x46c892(0x1a8)][_0x46c892(0x1b5)](_0x2bb8d8)[_0x46c892(0x196)])return;const _0x33c9ec=this[_0x46c892(0x19f)][_0x46c892(0x1b5)](_0x255c3a),_0x3d7097=_0x1947ff[_0x46c892(0x18e)];_0x3d7097['id']&&(this[_0x46c892(0x19b)][_0x46c892(0x1b5)](_0x255c3a)[_0x46c892(0x18f)](_0x1947ff['id']),_0x33c9ec[_0x46c892(0x1bf)](_0x3d7097['id'])&&!this[_0x46c892(0x195)](_0x3d7097,_0x255c3a)[_0x46c892(0x1b0)]&&_0x33c9ec[_0x46c892(0x18f)](_0x3d7097['id']),this[_0x46c892(0x1a3)][_0x46c892(0x1b5)](_0x3d7097['id'])&&!this[_0x46c892(0x195)](_0x3d7097)[_0x46c892(0x1b0)]&&this[_0x46c892(0x1a3)][_0x46c892(0x18f)](_0x3d7097['id']));}[_0x287b5f(0x1b7)](_0x10f4a8,_0x572990){const _0x146f4c=_0x287b5f,_0x5eec6b=this[_0x146f4c(0x1c5)][_0x146f4c(0x1b3)](_0x10f4a8);return _0x572990&&this[_0x146f4c(0x1c5)][_0x146f4c(0x190)](_0x10f4a8['id']),_0x5eec6b[_0x146f4c(0x1c0)]=this[_0x146f4c(0x1c6)]++,_0x5eec6b;}}function _0x4bc7(_0x9f81aa,_0x139e99){const _0x2cf73c=_0x2cf7();return _0x4bc7=function(_0x4bc7ea,_0x38cb31){_0x4bc7ea=_0x4bc7ea-0x18a;let _0x2f6d9a=_0x2cf73c[_0x4bc7ea];return _0x2f6d9a;},_0x4bc7(_0x9f81aa,_0x139e99);}function _0x2cf7(){const _0x1d2c32=['change:state','_registeredSessions','plugins','2070VpJFQT','pluginName','role','delete','register','connected','getUserBySessionId','size','sessionAdd:','set','addUser','fire','get','190463msFOqZ','_createUser','isMe','1097255iwXWwd','connection','unregister','stopListening','_handleSessionAdd','getUser','has','orderNumber','882627vqbLET','Sessions','clear','155148LPYtWk','_users','_uniqueUsersCount','values','listenTo','sessions-register-already-registered','sessions-unregister-not-exist','user','remove','defineMe','add','assign','getUserRole','requires','getUserSessions','state','3187079levyyJ','init','15784JbLFoV','isOfficialPlugin','channelSessions','isPremiumPlugin','4AnOXcp','sessionId','channelConnectedUsers','_handleSessionRemove','mySessionId','forEach','allConnectedUsers','993098BNjsOL','context'];_0x2cf7=function(){return _0x1d2c32;};return _0x2cf7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x533524=_0x4bb9;(function(_0x36af35,_0x215e10){const _0x432b6e=_0x4bb9,_0x23e7bc=_0x36af35();while(!![]){try{const _0x5c9892=-parseInt(_0x432b6e(0x111))/0x1*(parseInt(_0x432b6e(0x11f))/0x2)+-parseInt(_0x432b6e(0x16b))/0x3+parseInt(_0x432b6e(0x166))/0x4+parseInt(_0x432b6e(0x127))/0x5*(parseInt(_0x432b6e(0x140))/0x6)+-parseInt(_0x432b6e(0x169))/0x7*(-parseInt(_0x432b6e(0x186))/0x8)+-parseInt(_0x432b6e(0x13b))/0x9+parseInt(_0x432b6e(0x137))/0xa;if(_0x5c9892===_0x215e10)break;else _0x23e7bc['push'](_0x23e7bc['shift']());}catch(_0x5ceccf){_0x23e7bc['push'](_0x23e7bc['shift']());}}}(_0x3960,0x3395d));import{Plugin as _0x2ecea4}from'ckeditor5/src/core.js';import{global as _0x4ebd8d,DomEmitterMixin as _0x48cfd8}from'ckeditor5/src/utils.js';import _0x120719 from'./sessions.js';import{LiveRange as _0x32fd4f}from'ckeditor5/src/engine.js';function _0x4bb9(_0x515590,_0x18224e){const _0x396001=_0x3960();return _0x4bb9=function(_0x4bb9e0,_0x58bdc0){_0x4bb9e0=_0x4bb9e0-0xfc;let _0x318742=_0x396001[_0x4bb9e0];return _0x318742;},_0x4bb9(_0x515590,_0x18224e);}import'../../theme/usermarkers.css';export default class Q extends _0x2ecea4{[_0x533524(0x17f)]=new(_0x48cfd8())();static get[_0x533524(0x12f)](){return[_0x120719];}static get[_0x533524(0x174)](){const _0x5226b2=_0x533524;return _0x5226b2(0x14d);}static get[_0x533524(0x15e)](){return!0x0;}static get[_0x533524(0x184)](){return!0x0;}[_0x533524(0x135)](){const _0x55b8a5=_0x533524,_0x5bfdb6=this[_0x55b8a5(0x133)],_0x495de8=_0x5bfdb6[_0x55b8a5(0x15b)][_0x55b8a5(0x144)](_0x120719);_0x5bfdb6[_0x55b8a5(0x113)][_0x55b8a5(0x180)](_0x55b8a5(0x151))[_0x55b8a5(0x109)]({'model':_0x55b8a5(0x132),'view':(_0x3dd388,{writer:_0x15e4a5})=>function(_0x40f15a,_0x5861d1,_0x516d01,_0x4166af){const _0x51bfcc=_0x55b8a5,_0x4db4d9=_0x40f15a[_0x51bfcc(0x17c)][_0x51bfcc(0x131)](':')[0x2],_0x2db4e3=_0x516d01[_0x51bfcc(0x172)](_0x4db4d9);if(!_0x2db4e3||_0x4db4d9===_0x516d01[_0x51bfcc(0x117)])return;if(!_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x175)][_0x51bfcc(0x10c)](_0x40f15a[_0x51bfcc(0x124)][_0x51bfcc(0x11b)],_0x51bfcc(0x171)))return;const _0x196993={'class':_0x51bfcc(0x152)+_0x2db4e3[_0x51bfcc(0x123)][_0x51bfcc(0x154)](),'data-name':_0x2db4e3[_0x51bfcc(0x141)],'data-session-id':_0x4db4d9},_0x3d9ba3=_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x103)][_0x51bfcc(0x144)](_0x40f15a[_0x51bfcc(0x17c)]),_0x22e700=_0x3d9ba3[_0x51bfcc(0x17a)](),_0x403a13=_0x22e700[_0x51bfcc(0x10f)],_0x296d76=_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x175)];if(_0x403a13&&_0x296d76[_0x51bfcc(0xff)](_0x403a13)&&_0x296d76[_0x51bfcc(0x102)](_0x403a13)&&!_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x103)][_0x51bfcc(0x144)](_0x51bfcc(0x11d)+_0x4db4d9)[_0x51bfcc(0x12d)]()[_0x51bfcc(0x118)])return;const _0x2734a4=_0x22e700[_0x51bfcc(0x162)];return _0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x175)][_0x51bfcc(0x121)](_0x2734a4)&&!_0x4166af[_0x51bfcc(0x182)][_0x51bfcc(0x155)](_0x2734a4)&&(_0x196993[_0x51bfcc(0x16a)]=!0x1),function(_0xd83f07,_0x42c302,_0x217f0f){const _0x5d4a99=_0x51bfcc,_0x5110c7=_0xd83f07[_0x5d4a99(0x116)](_0x5d4a99(0x10a),_0x42c302);return _0xd83f07[_0x5d4a99(0x167)](_0x5d4a99(0x16f),!0x0,_0x5110c7),_0x5110c7[_0x5d4a99(0x16d)]=function(_0x33a694){const _0xd87e8a=_0x5d4a99,_0x36e1e1=this[_0xd87e8a(0x110)](_0x33a694),_0x3ee546=document[_0xd87e8a(0x143)](_0xd87e8a(0x10a));return _0x3ee546[_0xd87e8a(0x126)][_0xd87e8a(0x178)](_0xd87e8a(0x142)),_0x3ee546[_0xd87e8a(0x11e)](_0xd87e8a(0x16a),_0xd87e8a(0x14f)),_0x3ee546[_0xd87e8a(0x11e)](_0xd87e8a(0x149),_0xd87e8a(0x14f)),_0x3ee546[_0xd87e8a(0x14a)]=_0x217f0f[_0xd87e8a(0x141)],_0x36e1e1[_0xd87e8a(0x15c)]=_0xd87e8a(0x125)+_0x3ee546[_0xd87e8a(0x177)]+'⁠',_0x36e1e1[_0xd87e8a(0x134)](_0xd87e8a(0x14c),()=>{const _0x35f4c4=_0xd87e8a;_0x36e1e1[_0x35f4c4(0x126)][_0x35f4c4(0x178)](_0x35f4c4(0xfe));}),_0x36e1e1[_0xd87e8a(0x134)](_0xd87e8a(0x179),()=>{const _0x1d76e6=_0xd87e8a;_0x36e1e1[_0x1d76e6(0x126)][_0x1d76e6(0x139)](_0x1d76e6(0xfe));}),_0x36e1e1;},_0x5110c7[_0x5d4a99(0x11c)]=function(_0x3a5a18){const _0xfa2c2e=_0x5d4a99;return!(!this[_0xfa2c2e(0x173)](_0xfa2c2e(0x16f))||!_0x3a5a18[_0xfa2c2e(0x173)](_0xfa2c2e(0x16f))||this[_0xfa2c2e(0x185)](_0xfa2c2e(0x163))!=_0x3a5a18[_0xfa2c2e(0x185)](_0xfa2c2e(0x163)));},_0x5110c7;}(_0x5861d1,_0x196993,_0x2db4e3);}(_0x3dd388,_0x15e4a5,_0x495de8,_0x5bfdb6)}),_0x5bfdb6[_0x55b8a5(0x113)][_0x55b8a5(0x180)](_0x55b8a5(0x151))[_0x55b8a5(0x136)]({'model':_0x55b8a5(0x147),'view':_0x49e607=>function(_0x241b16,_0x42d290){const _0x152b5d=_0x55b8a5,_0x2a46d2=_0x241b16[_0x152b5d(0x17c)][_0x152b5d(0x131)](':')[0x2];if(_0x2a46d2===_0x42d290[_0x152b5d(0x117)])return null;const _0x2a2008=_0x42d290[_0x152b5d(0x172)](_0x2a46d2);if(!_0x2a2008)return{'id':_0x2a46d2,'classes':[]};return{'id':_0x2a46d2,'classes':[_0x152b5d(0x17d),_0x2a2008[_0x152b5d(0x123)][_0x152b5d(0x181)]()],'attributes':{'data-session-id':_0x2a46d2},'priority':0x7d0+_0x2a2008[_0x152b5d(0x160)]};}(_0x49e607,_0x495de8)}),function(_0x257649){const _0x32e253=_0x55b8a5,_0x3de384=_0x257649[_0x32e253(0x182)],_0x4e9924=new Map(),_0x527c51=_0x257649[_0x32e253(0x15b)][_0x32e253(0x144)](_0x120719);_0x3de384[_0x32e253(0x103)]['on'](_0x32e253(0x10d),(_0x10ca29,_0xe77ee5,_0x3a7619,_0x2b5e64)=>{const _0xade991=_0x32e253;if(!_0x2b5e64&&_0x4e9924[_0xade991(0x144)](_0xe77ee5[_0xade991(0x141)]))return _0x4e9924[_0xade991(0x144)](_0xe77ee5[_0xade991(0x141)])[_0xade991(0x13c)](),void _0x4e9924[_0xade991(0x122)](_0xe77ee5[_0xade991(0x141)]);const _0x396c20=_0xe77ee5[_0xade991(0x141)][_0xade991(0x131)](':')[0x2];if(_0x396c20===_0x527c51[_0xade991(0x117)])return;const _0x15ab9c=_0xade991(0x17e)+_0x396c20;_0x3de384[_0xade991(0x103)][_0xade991(0x157)](_0x15ab9c)&&_0x257649[_0xade991(0x158)][_0xade991(0x183)](_0x15ab9c),_0xe77ee5['on'](_0xade991(0x105),(_0x178f84,_0x236151,_0x3387c6)=>{const _0xa60996=_0xade991;if(_0xa60996(0x15d)!=_0x236151[_0xa60996(0x156)][_0xa60996(0x13a)]&&_0xa60996(0x15d)==_0xe77ee5[_0xa60996(0x12d)]()[_0xa60996(0x156)][_0xa60996(0x13a)]&&!_0x4e9924[_0xa60996(0x157)](_0xe77ee5[_0xa60996(0x141)])){const _0x1f282d=_0x3de384[_0xa60996(0x175)][_0xa60996(0x104)](_0x3387c6[_0xa60996(0x13e)]);if(_0x1f282d){const _0x120d5a=_0x32fd4f[_0xa60996(0x138)](_0x1f282d);_0x4e9924[_0xa60996(0x120)](_0xe77ee5[_0xa60996(0x141)],_0x120d5a),_0x120d5a['on'](_0xa60996(0x105),(_0x27a31a,_0x50c726,_0x4a99d9)=>{const _0x3c758b=_0xa60996;if(_0x3c758b(0x15d)==_0x120d5a[_0x3c758b(0x156)][_0x3c758b(0x13a)]){const _0x5987bc=_0x3de384[_0x3c758b(0x175)][_0x3c758b(0x104)](_0x4a99d9[_0x3c758b(0x13e)]);_0x5987bc?(_0x120d5a[_0x3c758b(0x11b)]=_0x5987bc[_0x3c758b(0x11b)],_0x120d5a[_0x3c758b(0xfc)]=_0x5987bc[_0x3c758b(0xfc)]):(_0x4e9924[_0x3c758b(0x122)](_0xe77ee5[_0x3c758b(0x141)]),_0x120d5a[_0x3c758b(0x13c)]());}});}}});}),_0x3de384[_0x32e253(0x12c)]['on'](_0x32e253(0x119),()=>{const _0x18ef45=_0x32e253;_0x4e9924[_0x18ef45(0x15a)]>0x0&&_0x3de384[_0x18ef45(0x12b)]({'isUndoable':!0x1},_0x48f97f=>{const _0x4910d1=_0x18ef45;for(const [_0x3ea6a4,_0x425979]of _0x4e9924)_0x4910d1(0x15d)==_0x3de384[_0x4910d1(0x103)][_0x4910d1(0x144)](_0x3ea6a4)[_0x4910d1(0x12d)]()[_0x4910d1(0x156)][_0x4910d1(0x13a)]&&(se(_0x3ea6a4[_0x4910d1(0x131)](':')[0x2],_0x425979[_0x4910d1(0x168)](),_0x3de384,_0x48f97f),_0x425979[_0x4910d1(0x13c)]());_0x4e9924[_0x4910d1(0x107)]();});});}(_0x5bfdb6),this[_0x55b8a5(0x17f)][_0x55b8a5(0x176)](_0x4ebd8d[_0x55b8a5(0x12c)],_0x55b8a5(0x129),(_0x1bc012,{key:_0xfa2d55})=>{const _0x4c0ec8=_0x55b8a5;_0x4c0ec8(0x15f)===_0xfa2d55&&function(_0x561ce1){const _0x517922=_0x4c0ec8;_0x561ce1[_0x517922(0x158)][_0x517922(0x130)][_0x517922(0x119)](_0x9c2f7d=>{const _0x4abc8c=_0x517922;for(const _0x1475d8 of _0x561ce1[_0x4abc8c(0x182)][_0x4abc8c(0x103)]){if(!_0x1475d8[_0x4abc8c(0x141)][_0x4abc8c(0x153)](_0x4abc8c(0x132)))continue;const _0x1afa66=_0x561ce1[_0x4abc8c(0x158)][_0x4abc8c(0x12a)][_0x4abc8c(0x106)](_0x1475d8[_0x4abc8c(0x141)]);if(_0x1afa66){for(const _0x54a8e7 of _0x1afa66)_0x9c2f7d[_0x4abc8c(0x115)](_0x4abc8c(0xfe),_0x54a8e7);}}});}(_0x5bfdb6);},{'useCapture':!0x0});}[_0x533524(0x101)](){const _0x9e59e7=_0x533524,_0x3e63ea=this[_0x9e59e7(0x133)],_0x52c899=_0x3e63ea[_0x9e59e7(0x11a)][_0x9e59e7(0x144)](_0x9e59e7(0x148));_0x52c899&&_0x3e63ea[_0x9e59e7(0x182)]['on'](_0x9e59e7(0x14b),(_0xea1dd,_0x48b696)=>{const _0xf3a17a=_0x9e59e7,_0x40b4aa=_0x48b696[0x0];if(!_0x40b4aa[_0xf3a17a(0x10e)])return;if(_0xf3a17a(0x100)!=_0x40b4aa[_0xf3a17a(0x161)]||!_0x40b4aa[_0xf3a17a(0x141)][_0xf3a17a(0x153)](_0xf3a17a(0x12e)))return;const _0x2c578f=_0x40b4aa[_0xf3a17a(0x159)];_0x52c899[_0xf3a17a(0x14e)][_0xf3a17a(0x157)](_0x2c578f)&&(_0x40b4aa[_0xf3a17a(0x150)]=_0x40b4aa[_0xf3a17a(0x146)]?_0x3e63ea[_0xf3a17a(0x182)][_0xf3a17a(0x16c)](_0x40b4aa[_0xf3a17a(0x146)][_0xf3a17a(0x11b)],_0x40b4aa[_0xf3a17a(0x146)][_0xf3a17a(0xfc)]):null);},{'priority':_0x9e59e7(0x108)});}[_0x533524(0x114)](){const _0x27a50e=_0x533524;return this[_0x27a50e(0x17f)][_0x27a50e(0xfd)](),super[_0x27a50e(0x114)]();}[_0x533524(0x128)](){const _0x3fa697=_0x533524,_0xbeca9a=this[_0x3fa697(0x133)],_0x268704=_0xbeca9a[_0x3fa697(0x182)][_0x3fa697(0x12c)],_0x1edfd8=_0xbeca9a[_0x3fa697(0x15b)][_0x3fa697(0x144)](_0x120719);_0xbeca9a[_0x3fa697(0x182)][_0x3fa697(0x12b)]({'isUndoable':!0x1},_0x1bb75b=>{const _0x2a8909=_0x3fa697,_0x1c952b=_0x2a8909(0x11d)+_0x1edfd8[_0x2a8909(0x117)],_0x42f4e0=_0x2a8909(0x17e)+_0x1edfd8[_0x2a8909(0x117)],_0x2af4c4=_0xbeca9a[_0x2a8909(0x182)][_0x2a8909(0x103)][_0x2a8909(0x157)](_0x1c952b);_0xbeca9a[_0x2a8909(0x158)][_0x2a8909(0x130)][_0x2a8909(0x112)]?se(_0x1edfd8[_0x2a8909(0x117)],_0x268704[_0x2a8909(0x170)][_0x2a8909(0x165)](),_0xbeca9a[_0x2a8909(0x182)],_0x1bb75b):_0x2af4c4&&(_0x1bb75b[_0x2a8909(0x164)](_0x1c952b),_0x1bb75b[_0x2a8909(0x164)](_0x42f4e0));});}}function se(_0x4138e3,_0x1b64bd,_0x1f822a,_0x21f49c){const _0x27c875=_0x533524,_0x4075f2=_0x27c875(0x11d)+_0x4138e3,_0x1a2cd7=_0x27c875(0x17e)+_0x4138e3,_0x4fb2ca=_0x1b64bd[_0x27c875(0x17b)]();let _0x8a71dc=_0x1b64bd[_0x27c875(0x11b)];_0x4fb2ca&&_0x4fb2ca['is'](_0x27c875(0x145),_0x27c875(0x13d))&&(_0x8a71dc=function(_0x10fbe2,_0x3f07f5){const _0x34788a=_0x27c875;for(const _0x52d15f of _0x10fbe2[_0x34788a(0x16e)]())if(_0x3f07f5[_0x34788a(0x175)][_0x34788a(0x10c)](_0x52d15f,_0x34788a(0x171)))return _0x52d15f;}(_0x1b64bd,_0x1f822a),_0x1b64bd=_0x21f49c[_0x27c875(0x16c)](_0x8a71dc));const _0x29e498=_0x21f49c[_0x27c875(0x16c)](_0x8a71dc);_0x1f822a[_0x27c875(0x103)][_0x27c875(0x157)](_0x4075f2)?(_0x21f49c[_0x27c875(0x10b)](_0x4075f2,{'range':_0x1b64bd}),_0x21f49c[_0x27c875(0x10b)](_0x1a2cd7,{'range':_0x29e498})):(_0x21f49c[_0x27c875(0x13f)](_0x4075f2,{'range':_0x1b64bd,'usingOperation':!0x0}),_0x21f49c[_0x27c875(0x13f)](_0x1a2cd7,{'range':_0x29e498,'usingOperation':!0x0}));}function _0x3960(){const _0x10da21=['pluginName','schema','listenTo','outerHTML','add','mouseleave','getStart','getContainedElement','markerName','ck-user__selection','user:position:','_domEmitter','for','getSelectionClass','model','reconvertMarker','isPremiumPlugin','getAttribute','25552gUyTmz','end','stopListening','ck-user__marker_hovered','isObject','marker','afterInit','isInline','markers','getNearestSelectionRange','change:range','markerNameToElements','clear','highest','markerToElement','span','updateMarker','checkChild','update:user:range','isDocumentOperation','nodeAfter','toDomElement','39076hpPnox','hasDomSelection','conversion','destroy','removeClass','createUIElement','mySessionId','isCollapsed','change','commands','start','isSimilar','user:range:','setAttribute','16CPSQiv','set','isLimit','delete','color','markerRange','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','classList','173510lWmYca','createUserMarkerOperations','keydown','mapper','enqueueChange','document','getRange','user:','requires','view','split','user:position','editor','addEventListener','init','markerToHighlight','5540830ssSuML','fromRange','remove','rootName','3678912xcWEAT','detach','tableCell','deletionPosition','addMarker','6ZfoxuL','name','ck-user__marker-tooltip','createElement','get','element','oldRange','user:range','undo','spellcheck','textContent','applyOperation','mouseenter','UserMarkers','_createdBatches','false','newRange','editingDowncast','ck-user__marker\x20','startsWith','getMarkerClass','hasContent','root','has','editing','batch','size','plugins','innerHTML','$graveyard','isOfficialPlugin','Escape','orderNumber','type','parent','data-session-id','removeMarker','getFirstRange','128384HGeCem','setCustomProperty','toRange','861gBmyoU','contenteditable','243222Ltwzvs','createRange','render','getPositions','userPositionMarker','selection','$text','getUserBySessionId','getCustomProperty'];_0x3960=function(){return _0x10da21;};return _0x3960();}
23
+ const _0x386896=_0xc884;(function(_0xe198b7,_0x38e94f){const _0x456a74=_0xc884,_0x13e6fa=_0xe198b7();while(!![]){try{const _0x3a850c=parseInt(_0x456a74(0x1f8))/0x1+parseInt(_0x456a74(0x231))/0x2*(-parseInt(_0x456a74(0x259))/0x3)+-parseInt(_0x456a74(0x24c))/0x4*(parseInt(_0x456a74(0x237))/0x5)+-parseInt(_0x456a74(0x239))/0x6+-parseInt(_0x456a74(0x200))/0x7*(parseInt(_0x456a74(0x211))/0x8)+-parseInt(_0x456a74(0x203))/0x9+parseInt(_0x456a74(0x21f))/0xa;if(_0x3a850c===_0x38e94f)break;else _0x13e6fa['push'](_0x13e6fa['shift']());}catch(_0x512c2e){_0x13e6fa['push'](_0x13e6fa['shift']());}}}(_0x167d,0x74d2d));import{Plugin as _0x3dc248}from'ckeditor5/src/core.js';function _0xc884(_0x1edc27,_0x2c2e3d){const _0x167de0=_0x167d();return _0xc884=function(_0xc88425,_0xf69118){_0xc88425=_0xc88425-0x1d2;let _0x172753=_0x167de0[_0xc88425];return _0x172753;},_0xc884(_0x1edc27,_0x2c2e3d);}import{global as _0x2ec7a0,DomEmitterMixin as _0x3be5f5}from'ckeditor5/src/utils.js';import _0x5d9e6c from'./sessions.js';function _0x167d(){const _0x174b94=['classList','startsWith','isSimilar','type','init','marker','isOfficialPlugin','createRange','isObject','update:user:range','reconvertMarker','hasDomSelection','removeClass','getSelectionClass','split','getNearestSelectionRange','enqueueChange','getStart','set','commands','span','clear','isCollapsed','plugins','getRange','document','schema','data-session-id','userPositionMarker','663440KEImhm','getPositions','selection','rootName','mapper','markerNameToElements','$graveyard','mySessionId','7bTMKye','UserMarkers','getMarkerClass','2912274dEolre','user:','parent','oldRange','updateMarker','mouseleave','stopListening','nodeAfter','getAttribute','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','start','for','$text','2617032cIKtAk','name','checkChild','get','textContent','afterInit','deletionPosition','markers','contenteditable','editor','removeMarker','ck-user__marker-tooltip','ck-user__selection','createUserMarkerOperations','12695820KAaHnS','delete','getCustomProperty','setAttribute','getUserBySessionId','editing','requires','ck-user__marker_hovered','conversion','Escape','getFirstRange','undo','keydown','setCustomProperty','createElement','user:position','addEventListener','root','543170SLxmaB','isDocumentOperation','destroy','isPremiumPlugin','orderNumber','model','15ZLUkjF','markerToElement','1100220oYycfB','false','newRange','render','markerToHighlight','change','element','end','has','_domEmitter','detach','highest','tableCell','createUIElement','fromRange','applyOperation','editingDowncast','user:range:','change:range','465124tgLvfQ','pluginName','remove','view','isLimit','ck-user__marker\x20','size','mouseenter','addMarker','toDomElement','add','innerHTML','getContainedElement','3uQzmbl','markerRange','isInline','outerHTML','markerName','toRange','hasContent','user:range','spellcheck','user:position:','_createdBatches','color','listenTo'];_0x167d=function(){return _0x174b94;};return _0x167d();}import{LiveRange as _0x4f648f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class B extends _0x3dc248{[_0x386896(0x242)]=new(_0x3be5f5())();static get[_0x386896(0x225)](){return[_0x5d9e6c];}static get[_0x386896(0x24d)](){const _0x51021e=_0x386896;return _0x51021e(0x201);}static get[_0x386896(0x1e1)](){return!0x0;}static get[_0x386896(0x234)](){return!0x0;}[_0x386896(0x1df)](){const _0x32f484=_0x386896,_0x1f261f=this[_0x32f484(0x21a)],_0x29c038=_0x1f261f[_0x32f484(0x1f2)][_0x32f484(0x214)](_0x5d9e6c);_0x1f261f[_0x32f484(0x227)][_0x32f484(0x20f)](_0x32f484(0x249))[_0x32f484(0x238)]({'model':_0x32f484(0x22e),'view':(_0x4cd75f,{writer:_0x46c0aa})=>function(_0x3fe60f,_0x34a0d5,_0x466210,_0x53fa79){const _0x317b24=_0x32f484,_0x5c0d6c=_0x3fe60f[_0x317b24(0x1d2)][_0x317b24(0x1e9)](':')[0x2],_0x522380=_0x466210[_0x317b24(0x223)](_0x5c0d6c);if(!_0x522380||_0x5c0d6c===_0x466210[_0x317b24(0x1ff)])return;if(!_0x53fa79[_0x317b24(0x236)][_0x317b24(0x1f5)][_0x317b24(0x213)](_0x3fe60f[_0x317b24(0x25a)][_0x317b24(0x20e)],_0x317b24(0x210)))return;const _0x24f304={'class':_0x317b24(0x251)+_0x522380[_0x317b24(0x1d9)][_0x317b24(0x202)](),'data-name':_0x522380[_0x317b24(0x212)],'data-session-id':_0x5c0d6c},_0x14ce60=_0x53fa79[_0x317b24(0x236)][_0x317b24(0x218)][_0x317b24(0x214)](_0x3fe60f[_0x317b24(0x1d2)]),_0x3e6eee=_0x14ce60[_0x317b24(0x1ec)](),_0x2c8bf1=_0x3e6eee[_0x317b24(0x20a)],_0x548400=_0x53fa79[_0x317b24(0x236)][_0x317b24(0x1f5)];if(_0x2c8bf1&&_0x548400[_0x317b24(0x1e3)](_0x2c8bf1)&&_0x548400[_0x317b24(0x25b)](_0x2c8bf1)&&!_0x53fa79[_0x317b24(0x236)][_0x317b24(0x218)][_0x317b24(0x214)](_0x317b24(0x24a)+_0x5c0d6c)[_0x317b24(0x1f3)]()[_0x317b24(0x1f1)])return;const _0x198c20=_0x3e6eee[_0x317b24(0x205)];return _0x53fa79[_0x317b24(0x236)][_0x317b24(0x1f5)][_0x317b24(0x250)](_0x198c20)&&!_0x53fa79[_0x317b24(0x236)][_0x317b24(0x1d4)](_0x198c20)&&(_0x24f304[_0x317b24(0x219)]=!0x1),function(_0x265aa6,_0x3e71e2,_0xb10d13){const _0x38972d=_0x317b24,_0x3e521e=_0x265aa6[_0x38972d(0x246)](_0x38972d(0x1ef),_0x3e71e2);return _0x265aa6[_0x38972d(0x22c)](_0x38972d(0x1f7),!0x0,_0x3e521e),_0x3e521e[_0x38972d(0x23c)]=function(_0x29c762){const _0x5c3041=_0x38972d,_0x47afca=this[_0x5c3041(0x255)](_0x29c762),_0x30deb5=document[_0x5c3041(0x22d)](_0x5c3041(0x1ef));return _0x30deb5[_0x5c3041(0x1db)][_0x5c3041(0x256)](_0x5c3041(0x21c)),_0x30deb5[_0x5c3041(0x222)](_0x5c3041(0x219),_0x5c3041(0x23a)),_0x30deb5[_0x5c3041(0x222)](_0x5c3041(0x1d6),_0x5c3041(0x23a)),_0x30deb5[_0x5c3041(0x215)]=_0xb10d13[_0x5c3041(0x212)],_0x47afca[_0x5c3041(0x257)]=_0x5c3041(0x20c)+_0x30deb5[_0x5c3041(0x25c)]+'⁠',_0x47afca[_0x5c3041(0x22f)](_0x5c3041(0x253),()=>{const _0x18ba93=_0x5c3041;_0x47afca[_0x18ba93(0x1db)][_0x18ba93(0x256)](_0x18ba93(0x226));}),_0x47afca[_0x5c3041(0x22f)](_0x5c3041(0x208),()=>{const _0x38fc8e=_0x5c3041;_0x47afca[_0x38fc8e(0x1db)][_0x38fc8e(0x24e)](_0x38fc8e(0x226));}),_0x47afca;},_0x3e521e[_0x38972d(0x1dd)]=function(_0x2804f3){const _0x4996af=_0x38972d;return!(!this[_0x4996af(0x221)](_0x4996af(0x1f7))||!_0x2804f3[_0x4996af(0x221)](_0x4996af(0x1f7))||this[_0x4996af(0x20b)](_0x4996af(0x1f6))!=_0x2804f3[_0x4996af(0x20b)](_0x4996af(0x1f6)));},_0x3e521e;}(_0x34a0d5,_0x24f304,_0x522380);}(_0x4cd75f,_0x46c0aa,_0x29c038,_0x1f261f)}),_0x1f261f[_0x32f484(0x227)][_0x32f484(0x20f)](_0x32f484(0x249))[_0x32f484(0x23d)]({'model':_0x32f484(0x1d5),'view':_0x201f1c=>function(_0x2c406e,_0xa84d8){const _0x9887d1=_0x32f484,_0x90e2c0=_0x2c406e[_0x9887d1(0x1d2)][_0x9887d1(0x1e9)](':')[0x2];if(_0x90e2c0===_0xa84d8[_0x9887d1(0x1ff)])return null;const _0x5a5bb6=_0xa84d8[_0x9887d1(0x223)](_0x90e2c0);if(!_0x5a5bb6)return{'id':_0x90e2c0,'classes':[]};return{'id':_0x90e2c0,'classes':[_0x9887d1(0x21d),_0x5a5bb6[_0x9887d1(0x1d9)][_0x9887d1(0x1e8)]()],'attributes':{'data-session-id':_0x90e2c0},'priority':0x7d0+_0x5a5bb6[_0x9887d1(0x235)]};}(_0x201f1c,_0x29c038)}),function(_0x1c602c){const _0x5077fe=_0x32f484,_0x266e94=_0x1c602c[_0x5077fe(0x236)],_0x36d9dc=new Map(),_0x558f93=_0x1c602c[_0x5077fe(0x1f2)][_0x5077fe(0x214)](_0x5d9e6c);_0x266e94[_0x5077fe(0x218)]['on'](_0x5077fe(0x1e4),(_0xd83e28,_0x205720,_0x13fede,_0x35e425)=>{const _0x3e0ad2=_0x5077fe;if(!_0x35e425&&_0x36d9dc[_0x3e0ad2(0x214)](_0x205720[_0x3e0ad2(0x212)]))return _0x36d9dc[_0x3e0ad2(0x214)](_0x205720[_0x3e0ad2(0x212)])[_0x3e0ad2(0x243)](),void _0x36d9dc[_0x3e0ad2(0x220)](_0x205720[_0x3e0ad2(0x212)]);const _0x2ca68a=_0x205720[_0x3e0ad2(0x212)][_0x3e0ad2(0x1e9)](':')[0x2];if(_0x2ca68a===_0x558f93[_0x3e0ad2(0x1ff)])return;const _0x155d86=_0x3e0ad2(0x1d7)+_0x2ca68a;_0x266e94[_0x3e0ad2(0x218)][_0x3e0ad2(0x241)](_0x155d86)&&_0x1c602c[_0x3e0ad2(0x224)][_0x3e0ad2(0x1e5)](_0x155d86),_0x205720['on'](_0x3e0ad2(0x24b),(_0x5060ea,_0x1729d3,_0x50d805)=>{const _0x567695=_0x3e0ad2;if(_0x567695(0x1fe)!=_0x1729d3[_0x567695(0x230)][_0x567695(0x1fb)]&&_0x567695(0x1fe)==_0x205720[_0x567695(0x1f3)]()[_0x567695(0x230)][_0x567695(0x1fb)]&&!_0x36d9dc[_0x567695(0x241)](_0x205720[_0x567695(0x212)])){const _0x3cabb5=_0x266e94[_0x567695(0x1f5)][_0x567695(0x1ea)](_0x50d805[_0x567695(0x217)]);if(_0x3cabb5){const _0x69f870=_0x4f648f[_0x567695(0x247)](_0x3cabb5);_0x36d9dc[_0x567695(0x1ed)](_0x205720[_0x567695(0x212)],_0x69f870),_0x69f870['on'](_0x567695(0x24b),(_0x3ffee4,_0x5861b0,_0x4ae3d1)=>{const _0x21dce1=_0x567695;if(_0x21dce1(0x1fe)==_0x69f870[_0x21dce1(0x230)][_0x21dce1(0x1fb)]){const _0x1fcb0d=_0x266e94[_0x21dce1(0x1f5)][_0x21dce1(0x1ea)](_0x4ae3d1[_0x21dce1(0x217)]);_0x1fcb0d?(_0x69f870[_0x21dce1(0x20e)]=_0x1fcb0d[_0x21dce1(0x20e)],_0x69f870[_0x21dce1(0x240)]=_0x1fcb0d[_0x21dce1(0x240)]):(_0x36d9dc[_0x21dce1(0x220)](_0x205720[_0x21dce1(0x212)]),_0x69f870[_0x21dce1(0x243)]());}});}}});}),_0x266e94[_0x5077fe(0x1f4)]['on'](_0x5077fe(0x23e),()=>{const _0x5a2469=_0x5077fe;_0x36d9dc[_0x5a2469(0x252)]>0x0&&_0x266e94[_0x5a2469(0x1eb)]({'isUndoable':!0x1},_0x5d4b89=>{const _0x3bc894=_0x5a2469;for(const [_0xa74264,_0x5970ee]of _0x36d9dc)_0x3bc894(0x1fe)==_0x266e94[_0x3bc894(0x218)][_0x3bc894(0x214)](_0xa74264)[_0x3bc894(0x1f3)]()[_0x3bc894(0x230)][_0x3bc894(0x1fb)]&&(X(_0xa74264[_0x3bc894(0x1e9)](':')[0x2],_0x5970ee[_0x3bc894(0x1d3)](),_0x266e94,_0x5d4b89),_0x5970ee[_0x3bc894(0x243)]());_0x36d9dc[_0x3bc894(0x1f0)]();});});}(_0x1f261f),this[_0x32f484(0x242)][_0x32f484(0x1da)](_0x2ec7a0[_0x32f484(0x1f4)],_0x32f484(0x22b),(_0x5a39fe,{key:_0x2c4ee8})=>{const _0xd146e1=_0x32f484;_0xd146e1(0x228)===_0x2c4ee8&&function(_0x198307){const _0x2645c8=_0xd146e1;_0x198307[_0x2645c8(0x224)][_0x2645c8(0x24f)][_0x2645c8(0x23e)](_0x55e37b=>{const _0x117f2a=_0x2645c8;for(const _0x8305e2 of _0x198307[_0x117f2a(0x236)][_0x117f2a(0x218)]){if(!_0x8305e2[_0x117f2a(0x212)][_0x117f2a(0x1dc)](_0x117f2a(0x22e)))continue;const _0x3c3452=_0x198307[_0x117f2a(0x224)][_0x117f2a(0x1fc)][_0x117f2a(0x1fd)](_0x8305e2[_0x117f2a(0x212)]);if(_0x3c3452){for(const _0x16eee1 of _0x3c3452)_0x55e37b[_0x117f2a(0x1e7)](_0x117f2a(0x226),_0x16eee1);}}});}(_0x1f261f);},{'useCapture':!0x0});}[_0x386896(0x216)](){const _0xaad241=_0x386896,_0x2cd948=this[_0xaad241(0x21a)],_0x4e7f09=_0x2cd948[_0xaad241(0x1ee)][_0xaad241(0x214)](_0xaad241(0x22a));_0x4e7f09&&_0x2cd948[_0xaad241(0x236)]['on'](_0xaad241(0x248),(_0xf962b0,_0x563e4b)=>{const _0x5d35aa=_0xaad241,_0x19682d=_0x563e4b[0x0];if(!_0x19682d[_0x5d35aa(0x232)])return;if(_0x5d35aa(0x1e0)!=_0x19682d[_0x5d35aa(0x1de)]||!_0x19682d[_0x5d35aa(0x212)][_0x5d35aa(0x1dc)](_0x5d35aa(0x204)))return;const _0x1c9d4a=_0x19682d[_0x5d35aa(0x20d)];_0x4e7f09[_0x5d35aa(0x1d8)][_0x5d35aa(0x241)](_0x1c9d4a)&&(_0x19682d[_0x5d35aa(0x23b)]=_0x19682d[_0x5d35aa(0x206)]?_0x2cd948[_0x5d35aa(0x236)][_0x5d35aa(0x1e2)](_0x19682d[_0x5d35aa(0x206)][_0x5d35aa(0x20e)],_0x19682d[_0x5d35aa(0x206)][_0x5d35aa(0x240)]):null);},{'priority':_0xaad241(0x244)});}[_0x386896(0x233)](){const _0x9e5548=_0x386896;return this[_0x9e5548(0x242)][_0x9e5548(0x209)](),super[_0x9e5548(0x233)]();}[_0x386896(0x21e)](){const _0x405ece=_0x386896,_0x1da77e=this[_0x405ece(0x21a)],_0x103425=_0x1da77e[_0x405ece(0x236)][_0x405ece(0x1f4)],_0x343783=_0x1da77e[_0x405ece(0x1f2)][_0x405ece(0x214)](_0x5d9e6c);_0x1da77e[_0x405ece(0x236)][_0x405ece(0x1eb)]({'isUndoable':!0x1},_0x315174=>{const _0x3026ac=_0x405ece,_0x2a8d50=_0x3026ac(0x24a)+_0x343783[_0x3026ac(0x1ff)],_0x3437ec=_0x3026ac(0x1d7)+_0x343783[_0x3026ac(0x1ff)],_0x5f2896=_0x1da77e[_0x3026ac(0x236)][_0x3026ac(0x218)][_0x3026ac(0x241)](_0x2a8d50);_0x1da77e[_0x3026ac(0x224)][_0x3026ac(0x24f)][_0x3026ac(0x1e6)]?X(_0x343783[_0x3026ac(0x1ff)],_0x103425[_0x3026ac(0x1fa)][_0x3026ac(0x229)](),_0x1da77e[_0x3026ac(0x236)],_0x315174):_0x5f2896&&(_0x315174[_0x3026ac(0x21b)](_0x2a8d50),_0x315174[_0x3026ac(0x21b)](_0x3437ec));});}}function X(_0xe633f0,_0x30f6cb,_0x56941e,_0x544a92){const _0x21a571=_0x386896,_0x52ce9e=_0x21a571(0x24a)+_0xe633f0,_0x561276=_0x21a571(0x1d7)+_0xe633f0,_0x3b6be1=_0x30f6cb[_0x21a571(0x258)]();let _0x423bab=_0x30f6cb[_0x21a571(0x20e)];_0x3b6be1&&_0x3b6be1['is'](_0x21a571(0x23f),_0x21a571(0x245))&&(_0x423bab=function(_0x343731,_0x44a3b4){const _0x30b759=_0x21a571;for(const _0x632f8d of _0x343731[_0x30b759(0x1f9)]())if(_0x44a3b4[_0x30b759(0x1f5)][_0x30b759(0x213)](_0x632f8d,_0x30b759(0x210)))return _0x632f8d;}(_0x30f6cb,_0x56941e),_0x30f6cb=_0x544a92[_0x21a571(0x1e2)](_0x423bab));const _0x2f3e02=_0x544a92[_0x21a571(0x1e2)](_0x423bab);_0x56941e[_0x21a571(0x218)][_0x21a571(0x241)](_0x52ce9e)?(_0x544a92[_0x21a571(0x207)](_0x52ce9e,{'range':_0x30f6cb}),_0x544a92[_0x21a571(0x207)](_0x561276,{'range':_0x2f3e02})):(_0x544a92[_0x21a571(0x254)](_0x52ce9e,{'range':_0x30f6cb,'usingOperation':!0x0}),_0x544a92[_0x21a571(0x254)](_0x561276,{'range':_0x2f3e02,'usingOperation':!0x0}));}