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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x529e6f=_0x14d7;function _0x14d7(_0x5c198c,_0x454100){const _0x3d82fb=_0x3d82();return _0x14d7=function(_0x14d7b2,_0x12954c){_0x14d7b2=_0x14d7b2-0x1b6;let _0x3ec928=_0x3d82fb[_0x14d7b2];return _0x3ec928;},_0x14d7(_0x5c198c,_0x454100);}(function(_0x362d38,_0x376626){const _0x2cd4f3=_0x14d7,_0xb9da1c=_0x362d38();while(!![]){try{const _0x376cd8=parseInt(_0x2cd4f3(0x1be))/0x1+-parseInt(_0x2cd4f3(0x1d6))/0x2*(parseInt(_0x2cd4f3(0x1d9))/0x3)+parseInt(_0x2cd4f3(0x1b6))/0x4+parseInt(_0x2cd4f3(0x1bb))/0x5*(-parseInt(_0x2cd4f3(0x1ca))/0x6)+parseInt(_0x2cd4f3(0x1d3))/0x7+parseInt(_0x2cd4f3(0x1bf))/0x8*(-parseInt(_0x2cd4f3(0x1cb))/0x9)+parseInt(_0x2cd4f3(0x1c4))/0xa;if(_0x376cd8===_0x376626)break;else _0xb9da1c['push'](_0xb9da1c['shift']());}catch(_0x3cc956){_0xb9da1c['push'](_0xb9da1c['shift']());}}}(_0x3d82,0x18d54));import{View as _0x44cb44}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5c81cd}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a587f}from'../../common-translations.js';function _0x3d82(){const _0x572205=['removeAttribute','createCollection','isExpanded','element','6wqxUrc','6093SYVcTv','presencelist:show','div','presencelist:hide','setAttribute','render','change:hasPopup','fire','791266bZuOXM','listenTo','relatedTarget','73130FEQkLV','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','3KpJmgJ','contains','set','items','380772CgRfeD','bindTemplate','setTemplate','.ck-balloon-panel_with-arrow','keystrokes','605755FBTZPo','Connected\x20users\x20list','ck-presence-list__list','117847tkDToZ','2328lLAsCf','.ck-presence-list__dropdown-list','list','aria-expanded','focus','1303610jhoabk','hasPopup'];_0x3d82=function(){return _0x572205;};return _0x3d82();}export class PresenceInlineListView extends _0x44cb44{[_0x529e6f(0x1dc)];[_0x529e6f(0x1ba)];constructor(_0x20c66a){const _0x237590=_0x529e6f;super(_0x20c66a);const _0x4fb7e3=this[_0x237590(0x1b7)];this[_0x237590(0x1dc)]=this[_0x237590(0x1c7)](),this[_0x237590(0x1ba)]=new _0x5c81cd(),this[_0x237590(0x1db)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x237590(0x1b8)]({'tag':_0x237590(0x1cd),'attributes':{'aria-haspopup':_0x4fb7e3['if'](_0x237590(0x1c5)),'aria-expanded':_0x4fb7e3['to'](_0x237590(0x1c8),_0x394505=>this[_0x237590(0x1c5)]&&String(_0x394505)),'aria-label':_0x4fb7e3['to'](_0x237590(0x1c5),_0x2c5393=>_0x5a587f(_0x20c66a,_0x2c5393?_0x237590(0x1d7):_0x237590(0x1bc))),'role':_0x237590(0x1c1),'tabindex':_0x4fb7e3['to'](_0x237590(0x1c5),_0xa26dd=>!!_0xa26dd&&0x0),'class':['ck',_0x237590(0x1bd)]},'children':this[_0x237590(0x1dc)],'on':{'mouseenter':_0x4fb7e3['to'](()=>this[_0x237590(0x1d2)](_0x237590(0x1cc))),'mouseleave':_0x4fb7e3['to'](_0x466c66=>{const _0x39036d=_0x237590,_0x53d7b0=_0x466c66,_0x2f6264=document[_0x39036d(0x1d8)](_0x39036d(0x1c0)),_0x5430a3=document[_0x39036d(0x1d8)](_0x39036d(0x1b9));_0x2f6264?.[_0x39036d(0x1da)](_0x53d7b0[_0x39036d(0x1d5)])||_0x5430a3?.[_0x39036d(0x1da)](_0x53d7b0[_0x39036d(0x1d5)])||this[_0x39036d(0x1d2)](_0x39036d(0x1ce));})}}),this['on'](_0x237590(0x1d1),(_0x4f796b,_0x3ddfa6,_0x5d11ae)=>{const _0x71d9aa=_0x237590;this[_0x71d9aa(0x1c9)]&&(_0x5d11ae?this[_0x71d9aa(0x1c9)][_0x71d9aa(0x1cf)](_0x71d9aa(0x1c2),String(this[_0x71d9aa(0x1c8)])):this[_0x71d9aa(0x1c9)][_0x71d9aa(0x1c6)](_0x71d9aa(0x1c2)));});}[_0x529e6f(0x1c3)](){const _0xdfed69=_0x529e6f;this[_0xdfed69(0x1c9)][_0xdfed69(0x1c3)]();}[_0x529e6f(0x1d0)](){const _0x15a3b4=_0x529e6f;super[_0x15a3b4(0x1d0)](),this[_0x15a3b4(0x1ba)][_0x15a3b4(0x1d4)](this[_0x15a3b4(0x1c9)]);}}
23
+ function _0x2649(_0x4d3e0f,_0x487e3e){const _0x209ab5=_0x209a();return _0x2649=function(_0x26491e,_0x4a6e15){_0x26491e=_0x26491e-0x89;let _0xc761d2=_0x209ab5[_0x26491e];return _0xc761d2;},_0x2649(_0x4d3e0f,_0x487e3e);}const _0x4e473c=_0x2649;(function(_0x1d158f,_0xbed696){const _0x4ae63a=_0x2649,_0x3fe4ab=_0x1d158f();while(!![]){try{const _0xe62cf2=parseInt(_0x4ae63a(0x8e))/0x1*(parseInt(_0x4ae63a(0x8d))/0x2)+-parseInt(_0x4ae63a(0x95))/0x3*(-parseInt(_0x4ae63a(0x92))/0x4)+-parseInt(_0x4ae63a(0x8f))/0x5*(parseInt(_0x4ae63a(0x8b))/0x6)+parseInt(_0x4ae63a(0x93))/0x7+parseInt(_0x4ae63a(0x9b))/0x8*(parseInt(_0x4ae63a(0x91))/0x9)+-parseInt(_0x4ae63a(0xb0))/0xa+-parseInt(_0x4ae63a(0xa2))/0xb;if(_0xe62cf2===_0xbed696)break;else _0x3fe4ab['push'](_0x3fe4ab['shift']());}catch(_0x297d27){_0x3fe4ab['push'](_0x3fe4ab['shift']());}}}(_0x209a,0x3966f));import{View as _0x392b74}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2bcb68}from'ckeditor5/src/utils.js';function _0x209a(){const _0x32369a=['8ZVckIv','listenTo','aria-expanded','hasPopup','change:hasPopup','contains','.ck-balloon-panel_with-arrow','197945PQymyh','querySelector','setAttribute','keystrokes','set','bindTemplate','focus','Connected\x20users\x20list','createCollection','.ck-presence-list__dropdown-list','div','render','fire','isExpanded','2185910YjcXxJ','element','relatedTarget','397092DqdvBG','removeAttribute','244YmHbmx','677GpoZbx','10rSQsDs','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','760401vaddmh','420mzXMVQ','2742117hDRKwq','ck-presence-list__list','1293PWzFqx','items','presencelist:hide','setTemplate','list','presencelist:show'];_0x209a=function(){return _0x32369a;};return _0x209a();}import{getTranslation as _0x42f0ad}from'../../common-translations.js';export class PresenceInlineListView extends _0x392b74{[_0x4e473c(0x96)];[_0x4e473c(0xa5)];constructor(_0x14794c){const _0x11675b=_0x4e473c;super(_0x14794c);const _0x6577e9=this[_0x11675b(0xa7)];this[_0x11675b(0x96)]=this[_0x11675b(0xaa)](),this[_0x11675b(0xa5)]=new _0x2bcb68(),this[_0x11675b(0xa6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x11675b(0x98)]({'tag':_0x11675b(0xac),'attributes':{'aria-haspopup':_0x6577e9['if'](_0x11675b(0x9e)),'aria-expanded':_0x6577e9['to'](_0x11675b(0xaf),_0x24ebad=>this[_0x11675b(0x9e)]&&String(_0x24ebad)),'aria-label':_0x6577e9['to'](_0x11675b(0x9e),_0x1f8bb6=>_0x42f0ad(_0x14794c,_0x1f8bb6?_0x11675b(0x90):_0x11675b(0xa9))),'role':_0x11675b(0x99),'tabindex':_0x6577e9['to'](_0x11675b(0x9e),_0x39a95f=>!!_0x39a95f&&0x0),'class':['ck',_0x11675b(0x94)]},'children':this[_0x11675b(0x96)],'on':{'mouseenter':_0x6577e9['to'](()=>this[_0x11675b(0xae)](_0x11675b(0x9a))),'mouseleave':_0x6577e9['to'](_0x2ffc25=>{const _0x30f46e=_0x11675b,_0x378c5d=_0x2ffc25,_0x3e5484=document[_0x30f46e(0xa3)](_0x30f46e(0xab)),_0x1c3619=document[_0x30f46e(0xa3)](_0x30f46e(0xa1));_0x3e5484?.[_0x30f46e(0xa0)](_0x378c5d[_0x30f46e(0x8a)])||_0x1c3619?.[_0x30f46e(0xa0)](_0x378c5d[_0x30f46e(0x8a)])||this[_0x30f46e(0xae)](_0x30f46e(0x97));})}}),this['on'](_0x11675b(0x9f),(_0x1b8fad,_0xb64d28,_0x34f929)=>{const _0x350015=_0x11675b;this[_0x350015(0x89)]&&(_0x34f929?this[_0x350015(0x89)][_0x350015(0xa4)](_0x350015(0x9d),String(this[_0x350015(0xaf)])):this[_0x350015(0x89)][_0x350015(0x8c)](_0x350015(0x9d)));});}[_0x4e473c(0xa8)](){const _0x3286df=_0x4e473c;this[_0x3286df(0x89)][_0x3286df(0xa8)]();}[_0x4e473c(0xad)](){const _0x1401de=_0x4e473c;super[_0x1401de(0xad)](),this[_0x1401de(0xa5)][_0x1401de(0x9c)](this[_0x1401de(0x89)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5890(){const _0x1eba42=['3487240OnFLYe','bindTemplate','inlineListView','4017530VzCTEU','counterView','ck-presence-list--collapsed','locale','bind','isCollapsed','2xLGsvN','14988RpsGEI','change','first','ck-reset','ck-rounded-corners','9EOihwy','5701619OhERtO','1400098QvGoNy','items','228asYigt','listenTo','66269ZBNybm','set','1650xKCtwR','hasPopup','div','tooltipPosition','34869UPnJvb','ck-presence-list','setTemplate','12dPdzsU'];_0x5890=function(){return _0x1eba42;};return _0x5890();}const _0x77bc62=_0x104a;function _0x104a(_0x94e63c,_0x4d4fe4){const _0x58900b=_0x5890();return _0x104a=function(_0x104acf,_0x3d7e25){_0x104acf=_0x104acf-0x1c9;let _0x2518f2=_0x58900b[_0x104acf];return _0x2518f2;},_0x104a(_0x94e63c,_0x4d4fe4);}(function(_0xc29a53,_0x4a24b6){const _0x600f3f=_0x104a,_0x4ed4d0=_0xc29a53();while(!![]){try{const _0x50538a=parseInt(_0x600f3f(0x1d7))/0x1*(-parseInt(_0x600f3f(0x1cb))/0x2)+-parseInt(_0x600f3f(0x1dd))/0x3*(-parseInt(_0x600f3f(0x1d5))/0x4)+parseInt(_0x600f3f(0x1d9))/0x5*(-parseInt(_0x600f3f(0x1cc))/0x6)+parseInt(_0x600f3f(0x1d3))/0x7+-parseInt(_0x600f3f(0x1e1))/0x8+parseInt(_0x600f3f(0x1d1))/0x9*(parseInt(_0x600f3f(0x1e4))/0xa)+parseInt(_0x600f3f(0x1d2))/0xb*(parseInt(_0x600f3f(0x1e0))/0xc);if(_0x50538a===_0x4a24b6)break;else _0x4ed4d0['push'](_0x4ed4d0['shift']());}catch(_0x259263){_0x4ed4d0['push'](_0x4ed4d0['shift']());}}}(_0x5890,0x6f59d));import{View as _0x1859fc}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x353772}from'./presencecounterview.js';import{PresenceInlineListView as _0x167fd3}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1859fc{[_0x77bc62(0x1e5)];[_0x77bc62(0x1e3)];constructor(_0x554f3d,_0x44d341=0x6){const _0x7dbc26=_0x77bc62;super(_0x554f3d);const _0x4d2af4=this[_0x7dbc26(0x1e2)];this[_0x7dbc26(0x1d8)](_0x7dbc26(0x1ca),!0x0),this[_0x7dbc26(0x1e5)]=new _0x353772(this[_0x7dbc26(0x1e7)],_0x44d341),this[_0x7dbc26(0x1e3)]=new _0x167fd3(_0x554f3d),this[_0x7dbc26(0x1e3)][_0x7dbc26(0x1c9)](_0x7dbc26(0x1da))['to'](this,_0x7dbc26(0x1ca)),this[_0x7dbc26(0x1d6)](this[_0x7dbc26(0x1e3)][_0x7dbc26(0x1d4)],_0x7dbc26(0x1cd),()=>{const _0x3ec4c9=_0x7dbc26;for(const _0x454cec of this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)])_0x454cec[_0x3ec4c9(0x1dc)]='s';this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)][_0x3ec4c9(0x1ce)]&&(this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)][_0x3ec4c9(0x1ce)][_0x3ec4c9(0x1dc)]='se');}),this[_0x7dbc26(0x1df)]({'tag':_0x7dbc26(0x1db),'attributes':{'class':['ck',_0x7dbc26(0x1de),_0x7dbc26(0x1cf),_0x7dbc26(0x1d0),_0x4d2af4['if'](_0x7dbc26(0x1ca),_0x7dbc26(0x1e6))]},'children':[this[_0x7dbc26(0x1e3)]]});}}
23
+ const _0x16cf00=_0x41e0;(function(_0x21c220,_0x163af8){const _0x355ae5=_0x41e0,_0x133097=_0x21c220();while(!![]){try{const _0x2aaf6e=parseInt(_0x355ae5(0x1eb))/0x1*(-parseInt(_0x355ae5(0x1ec))/0x2)+-parseInt(_0x355ae5(0x1dc))/0x3+-parseInt(_0x355ae5(0x1f0))/0x4*(-parseInt(_0x355ae5(0x1e2))/0x5)+-parseInt(_0x355ae5(0x1d6))/0x6*(-parseInt(_0x355ae5(0x1e7))/0x7)+-parseInt(_0x355ae5(0x1dd))/0x8*(-parseInt(_0x355ae5(0x1ee))/0x9)+parseInt(_0x355ae5(0x1d8))/0xa+-parseInt(_0x355ae5(0x1d7))/0xb;if(_0x2aaf6e===_0x163af8)break;else _0x133097['push'](_0x133097['shift']());}catch(_0x135458){_0x133097['push'](_0x133097['shift']());}}}(_0x4746,0xc3719));import{View as _0x4da497}from'ckeditor5/src/ui.js';function _0x41e0(_0x34af67,_0x2442ab){const _0x4746f2=_0x4746();return _0x41e0=function(_0x41e088,_0x42f140){_0x41e088=_0x41e088-0x1d4;let _0x4d1145=_0x4746f2[_0x41e088];return _0x4d1145;},_0x41e0(_0x34af67,_0x2442ab);}import{PresenceCounterView as _0x63ae7c}from'./presencecounterview.js';import{PresenceInlineListView as _0x5dfbf0}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4da497{[_0x16cf00(0x1ea)];[_0x16cf00(0x1e0)];constructor(_0x336e37,_0x537749=0x6){const _0x675136=_0x16cf00;super(_0x336e37);const _0x3009c9=this[_0x675136(0x1d9)];this[_0x675136(0x1db)](_0x675136(0x1d4),!0x0),this[_0x675136(0x1ea)]=new _0x63ae7c(this[_0x675136(0x1f1)],_0x537749),this[_0x675136(0x1e0)]=new _0x5dfbf0(_0x336e37),this[_0x675136(0x1e0)][_0x675136(0x1e4)](_0x675136(0x1e5))['to'](this,_0x675136(0x1d4)),this[_0x675136(0x1ed)](this[_0x675136(0x1e0)][_0x675136(0x1df)],_0x675136(0x1ef),()=>{const _0x1c97e7=_0x675136;for(const _0x55b58f of this[_0x1c97e7(0x1e0)][_0x1c97e7(0x1df)])_0x55b58f[_0x1c97e7(0x1e3)]='s';this[_0x1c97e7(0x1e0)][_0x1c97e7(0x1df)][_0x1c97e7(0x1da)]&&(this[_0x1c97e7(0x1e0)][_0x1c97e7(0x1df)][_0x1c97e7(0x1da)][_0x1c97e7(0x1e3)]='se');}),this[_0x675136(0x1d5)]({'tag':_0x675136(0x1e1),'attributes':{'class':['ck',_0x675136(0x1e9),_0x675136(0x1e6),_0x675136(0x1e8),_0x3009c9['if'](_0x675136(0x1d4),_0x675136(0x1de))]},'children':[this[_0x675136(0x1e0)]]});}}function _0x4746(){const _0x2d0165=['35SLajIg','tooltipPosition','bind','hasPopup','ck-reset','34489besYKe','ck-rounded-corners','ck-presence-list','counterView','349TvDFzl','6694SVymxw','listenTo','5980131ZHhAil','change','600764boPJdz','locale','isCollapsed','setTemplate','834CVSotr','8310632bQxyYW','4642140lvjQnR','bindTemplate','first','set','422133pwrNVP','8qMHSuJ','ck-presence-list--collapsed','items','inlineListView','div'];_0x4746=function(){return _0x2d0165;};return _0x4746();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x450c00=_0x3e11;(function(_0x261b52,_0x3fb0d3){var _0x4b88ae=_0x3e11,_0x226e0e=_0x261b52();while(!![]){try{var _0x47e8ed=parseInt(_0x4b88ae(0x1e3))/0x1*(-parseInt(_0x4b88ae(0x1e9))/0x2)+parseInt(_0x4b88ae(0x1e0))/0x3+parseInt(_0x4b88ae(0x1de))/0x4*(parseInt(_0x4b88ae(0x1e7))/0x5)+-parseInt(_0x4b88ae(0x1db))/0x6*(-parseInt(_0x4b88ae(0x1e8))/0x7)+-parseInt(_0x4b88ae(0x1e2))/0x8+parseInt(_0x4b88ae(0x1e5))/0x9+-parseInt(_0x4b88ae(0x1e6))/0xa;if(_0x47e8ed===_0x3fb0d3)break;else _0x226e0e['push'](_0x226e0e['shift']());}catch(_0x585cb1){_0x226e0e['push'](_0x226e0e['shift']());}}}(_0x4b31,0xbbfcc));import{ContextPlugin as _0xbb3ca7}from'ckeditor5/src/core.js';import{Sessions as _0x147532}from'./realtimecollaborativeediting/sessions.js';function _0x3e11(_0x5e5fdb,_0x26e631){var _0x4b317e=_0x4b31();return _0x3e11=function(_0x3e11ce,_0x299cc9){_0x3e11ce=_0x3e11ce-0x1db;var _0x34d896=_0x4b317e[_0x3e11ce];return _0x34d896;},_0x3e11(_0x5e5fdb,_0x26e631);}import{PresenceListUI as _0x18ad66}from'./presencelist/presencelistui.js';export class PresenceList extends _0xbb3ca7{static get[_0x450c00(0x1dc)](){return[_0x147532,_0x18ad66];}static get[_0x450c00(0x1e1)](){var _0x274d7=_0x450c00;return _0x274d7(0x1dd);}static get[_0x450c00(0x1e4)](){return!0x0;}static get[_0x450c00(0x1df)](){return!0x0;}}function _0x4b31(){var _0x52195a=['PresenceList','8TsnbcA','isPremiumPlugin','1213386vNfpHz','pluginName','4724608IWtqWt','6ikZxcb','isOfficialPlugin','4710393VnSxaF','5938120VgZKCt','3349345SwmWqR','5705naZQSI','289946HOGWYg','4098SKznYg','requires'];_0x4b31=function(){return _0x52195a;};return _0x4b31();}
23
+ var _0x3a447a=_0x5629;(function(_0xb9637b,_0x35921e){var _0x6ed25a=_0x5629,_0x53d9ce=_0xb9637b();while(!![]){try{var _0x3808a9=parseInt(_0x6ed25a(0x188))/0x1*(parseInt(_0x6ed25a(0x190))/0x2)+-parseInt(_0x6ed25a(0x18d))/0x3+-parseInt(_0x6ed25a(0x18a))/0x4+-parseInt(_0x6ed25a(0x18e))/0x5+-parseInt(_0x6ed25a(0x186))/0x6+parseInt(_0x6ed25a(0x187))/0x7+parseInt(_0x6ed25a(0x18c))/0x8*(parseInt(_0x6ed25a(0x18b))/0x9);if(_0x3808a9===_0x35921e)break;else _0x53d9ce['push'](_0x53d9ce['shift']());}catch(_0x2041be){_0x53d9ce['push'](_0x53d9ce['shift']());}}}(_0x607e,0x63ea1));function _0x607e(){var _0x16b968=['1UolAfK','pluginName','2532884HjOOhj','567LIaMFY','127408DhkBxU','1304829oUujOG','1877120CffKDH','isOfficialPlugin','1532918Zhqatu','PresenceList','requires','isPremiumPlugin','1383330VdxjdJ','2195165NhUfZJ'];_0x607e=function(){return _0x16b968;};return _0x607e();}import{ContextPlugin as _0x389990}from'ckeditor5/src/core.js';import{Sessions as _0x454d5e}from'./realtimecollaborativeediting/sessions.js';function _0x5629(_0x209b57,_0xfb1045){var _0x607e4f=_0x607e();return _0x5629=function(_0x56291e,_0x324860){_0x56291e=_0x56291e-0x186;var _0x214ada=_0x607e4f[_0x56291e];return _0x214ada;},_0x5629(_0x209b57,_0xfb1045);}import{PresenceListUI as _0x22a4b7}from'./presencelist/presencelistui.js';export class PresenceList extends _0x389990{static get[_0x3a447a(0x192)](){return[_0x454d5e,_0x22a4b7];}static get[_0x3a447a(0x189)](){var _0xdb36e=_0x3a447a;return _0xdb36e(0x191);}static get[_0x3a447a(0x18f)](){return!0x0;}static get[_0x3a447a(0x193)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd8dfbe=_0x201c;(function(_0x52913c,_0xd840d8){const _0x45a3fb=_0x201c,_0x55961b=_0x52913c();while(!![]){try{const _0x56677b=parseInt(_0x45a3fb(0xd2))/0x1*(-parseInt(_0x45a3fb(0xe9))/0x2)+parseInt(_0x45a3fb(0xdf))/0x3*(-parseInt(_0x45a3fb(0xe1))/0x4)+-parseInt(_0x45a3fb(0xb3))/0x5*(parseInt(_0x45a3fb(0xc8))/0x6)+parseInt(_0x45a3fb(0xc4))/0x7+-parseInt(_0x45a3fb(0xc9))/0x8*(-parseInt(_0x45a3fb(0xa0))/0x9)+parseInt(_0x45a3fb(0x9f))/0xa*(-parseInt(_0x45a3fb(0xae))/0xb)+parseInt(_0x45a3fb(0xaa))/0xc;if(_0x56677b===_0xd840d8)break;else _0x55961b['push'](_0x55961b['shift']());}catch(_0x55644f){_0x55961b['push'](_0x55961b['shift']());}}}(_0x2b43,0xe4666));import{Context as _0x3f8c10,ContextPlugin as _0x3b71fe}from'ckeditor5/src/core.js';function _0x2b43(){const _0x38f0dd=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','message','content','comments','removeCommentThread','cloudservicescommentsadapter-connect-already-connected','isOfficialPlugin','commentThreadRemoved','assign','resolvedBy','10149220NNmAuf','9VJYppm','404','map','isPremiumPlugin','adapter','listenTo','_fetchMissingUsersForThreads','catch','CommentsRepository','reopenCommentThread','55864104YMFrpY','plugins','resolvedAt','addUser','11rzAarU','CommentsService','startsWith','getCommentThreads','addCommentThread','2365agOabq','disconnect','sessionAdd:','size','unregister','updateCommentThread','resolve','pluginName','destroy','commentUpdated','has','off','setPermissions','_connectService','deletedAt','getCommentThread','userId','386239aPZmvy','code','commentRemoved','commentThreadResolved','15366xMXjFX','222752qCouOh','collaboration.channelId','cloudservicescommentsadapter-service-not-exist','attributes','keys','mySessionId','cloudservicescommentsadapter-disconnect-not-exist','remove','context','41xZnlmU','requires','from','cloud-services-internal-error:\x20Not\x20connected.','getUser','config','connect','getMany','addComment','init','register','CloudServicesCommentsAdapter','set','6SVCrYr','resolveCommentThread','1899836nQWFfh','_getService','getComment','_terminateService','permissions','createdAt','delete','reconnect','30568PeKBPY','updateComment','getConnectedSessions','commentId','update','_setUpService','Permissions','commentAdded','removeComment','addToReconnectionStack','authorId','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','add','_services','commentThreadUpdated','commentThreadId','reopen','commentThreadReopened','get'];_0x2b43=function(){return _0x38f0dd;};return _0x2b43();}import{CKEditorError as _0x3f68c6}from'ckeditor5/src/utils.js';import{Users as _0x300da8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x446357,User as _0x595538}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1c6b68}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x111e70}from'../realtimecollaborativeediting/sessions.js';class s extends _0x3b71fe{static [_0xd8dfbe(0xaf)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x446357)());[_0xd8dfbe(0xf7)];static get[_0xd8dfbe(0xd3)](){const _0x53dd05=_0xd8dfbe;return[_0x1c6b68,_0x53dd05(0xa8),_0x111e70,_0x300da8];}static get[_0xd8dfbe(0xba)](){const _0x5aff13=_0xd8dfbe;return _0x5aff13(0xdd);}static get[_0xd8dfbe(0x9b)](){return!0x0;}static get[_0xd8dfbe(0xa3)](){return!0x0;}constructor(_0xc4626a){const _0xfe19d7=_0xd8dfbe;super(_0xc4626a),this[_0xfe19d7(0xf7)]=new Map();}async[_0xd8dfbe(0xdb)](){const _0x4acd8f=_0xd8dfbe,_0x106fae=this[_0x4acd8f(0xd1)],_0x4af312=_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x4acd8f(0xa8));if(_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x1c6b68)[_0x4acd8f(0xf2)](this),_0x4af312[_0x4acd8f(0xa4)]={'addCommentThread':async({channelId:_0x2adae4,threadId:_0x481469,comments:_0x2a7330,resolvedAt:_0x14afc3,resolvedBy:_0x594c4f,context:_0x343faf,attributes:_0x455ad8})=>{const _0x193f91=_0x4acd8f,_0x4d1750=await this[_0x193f91(0xe2)](_0x2adae4)[_0x193f91(0xb2)]({'commentThreadId':_0x481469,'comments':_0x2a7330[_0x193f91(0xa2)](_0x4e6d25=>function(_0x5c4e88,_0x3f70f3,_0x4ccdd1){const _0x23d997=_0x193f91;return{'commentThreadId':_0x4ccdd1,'commentId':_0x5c4e88[_0x23d997(0xec)],'userId':_0x5c4e88[_0x23d997(0xf3)],'content':_0x5c4e88[_0x23d997(0x97)],'documentId':_0x3f70f3,'createdAt':_0x5c4e88[_0x23d997(0xe6)],'attributes':_0x5c4e88[_0x23d997(0xcc)]||{}};}(_0x4e6d25,_0x2adae4,_0x481469)),'resolvedAt':_0x14afc3,'resolvedBy':_0x594c4f,'context':_0x343faf,'attributes':_0x455ad8})[_0x193f91(0xa7)](it);return{'threadId':_0x4d1750[_0x193f91(0xf9)],'comments':_0x4d1750[_0x193f91(0x98)]};},'getCommentThread':async({channelId:_0x1249a7,threadId:_0x3ee850})=>{const _0x274893=_0x4acd8f,_0x585d19=await this[_0x274893(0xe2)](_0x1249a7)[_0x274893(0xc2)](_0x3ee850)[_0x274893(0xa7)](it);return _0x585d19[_0x274893(0xc1)]?null:(await this[_0x274893(0xa6)]([_0x585d19]),{'threadId':_0x585d19[_0x274893(0xf9)],'comments':_0x585d19[_0x274893(0x98)][_0x274893(0xa2)](st),'context':_0x585d19[_0x274893(0xd1)],'resolvedAt':_0x585d19[_0x274893(0xac)],'resolvedBy':_0x585d19[_0x274893(0x9e)],'attributes':_0x585d19[_0x274893(0xcc)]||{}});},'updateCommentThread':async({channelId:_0x1042db,threadId:_0x1bac32,context:_0x5c7c3d,unlinkedAt:_0x1d044d,attributes:_0x328fa8})=>this[_0x4acd8f(0xe2)](_0x1042db)[_0x4acd8f(0xb8)]({'commentThreadId':_0x1bac32,'context':_0x5c7c3d,'attributes':_0x328fa8,'unlinkedAt':_0x1d044d})[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'resolveCommentThread':async({channelId:_0xfb3d8c,threadId:_0x46c7df})=>{const _0x4f94c9=_0x4acd8f,_0xba3332=await this[_0x4f94c9(0xe2)](_0xfb3d8c)[_0x4f94c9(0xe0)](_0x46c7df)[_0x4f94c9(0xa7)](nt)[_0x4f94c9(0xa7)](it);return{'threadId':_0xba3332[_0x4f94c9(0xf9)],'resolvedAt':_0xba3332[_0x4f94c9(0xac)],'resolvedBy':_0xba3332[_0x4f94c9(0x9e)]};},'reopenCommentThread':async({channelId:_0x4e8910,threadId:_0x11d21e})=>this[_0x4acd8f(0xe2)](_0x4e8910)[_0x4acd8f(0xa9)](_0x11d21e)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'removeCommentThread':({channelId:_0x1cf5b5,threadId:_0x46e243})=>this[_0x4acd8f(0xe2)](_0x1cf5b5)[_0x4acd8f(0x99)](_0x46e243)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'addComment':({channelId:_0xcd0018,threadId:_0x2b62ae,commentId:_0x57ca9e,content:_0x54f29b,attributes:_0x214f19})=>this[_0x4acd8f(0xe2)](_0xcd0018)[_0x4acd8f(0xda)](_0x2b62ae,_0x57ca9e,_0x54f29b,_0x214f19)[_0x4acd8f(0xa7)](it),'updateComment':({channelId:_0x255161,threadId:_0x2874ce,commentId:_0x8a8315,content:_0x2432f4,attributes:_0x488860})=>this[_0x4acd8f(0xe2)](_0x255161)[_0x4acd8f(0xea)](_0x2874ce,_0x8a8315,_0x2432f4,_0x488860)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'removeComment':({channelId:_0x13a8dd,threadId:_0x4c97bb,commentId:_0x116790})=>this[_0x4acd8f(0xe2)](_0x13a8dd)[_0x4acd8f(0xf1)](_0x4c97bb,_0x116790)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it)},_0x106fae instanceof _0x3f8c10){const _0x1464ce=_0x106fae[_0x4acd8f(0xd7)][_0x4acd8f(0xfc)](_0x4acd8f(0xca)),_0x5d1325=_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x111e70);await this[_0x4acd8f(0xee)](_0x1464ce);const _0x2e75b9=await this[_0x4acd8f(0xf7)][_0x4acd8f(0xfc)](_0x1464ce)[_0x4acd8f(0xeb)]();this[_0x4acd8f(0xa5)](_0x5d1325,_0x4acd8f(0xb5)+_0x1464ce,(_0xc61686,{session:_0x7ce8ec})=>{const _0x3cef4a=_0x4acd8f;_0x7ce8ec['id']===_0x5d1325[_0x3cef4a(0xce)]&&(_0xc61686[_0x3cef4a(0xbe)](),this[_0x3cef4a(0xd1)][_0x3cef4a(0xab)][_0x3cef4a(0xfc)](_0x3cef4a(0xef))[_0x3cef4a(0xbf)](_0x7ce8ec[_0x3cef4a(0xe5)],_0x1464ce));}),_0x5d1325[_0x4acd8f(0xdc)](_0x1464ce,_0x2e75b9);}}async[_0xd8dfbe(0xee)](_0x10f20a){const _0x3991e7=_0xd8dfbe;if(this[_0x3991e7(0xf7)][_0x3991e7(0xbd)](_0x10f20a))throw new _0x3f68c6(_0x3991e7(0x9a),null,{'channelId':_0x10f20a});const _0x195ba3=this[_0x3991e7(0xd1)][_0x3991e7(0xab)][_0x3991e7(0xfc)](_0x3991e7(0xa8)),_0x3dcf37=new s[(_0x3991e7(0xaf))](_0x10f20a);this[_0x3991e7(0xf7)][_0x3991e7(0xde)](_0x10f20a,_0x3dcf37),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf4),(_0x1143c3,_0x195eb4)=>{const _0x4a0673=_0x3991e7,{commentThreadId:_0x559805,documentId:_0x160024,context:_0x10bbc5,attributes:_0x1cba9d,resolvedAt:_0x211fa8,resolvedBy:_0x370256,comments:_0x412311}=_0x195eb4;_0x195ba3[_0x4a0673(0xc2)](_0x559805)||_0x195ba3[_0x4a0673(0xb2)]({'threadId':_0x559805,'channelId':_0x160024,'comments':_0x412311?_0x412311[_0x4a0673(0xa2)](st):[],'context':_0x10bbc5,'attributes':_0x1cba9d,'resolvedAt':_0x211fa8,'resolvedBy':_0x370256,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf8),(_0x4db06e,{commentThreadId:_0x44f0bf,documentId:_0x45a3a1,context:_0x3453af,unlinkedAt:_0x8a6823,attributes:_0x3aa39e})=>{const _0x57f128=_0x3991e7;_0x195ba3[_0x57f128(0xc2)](_0x44f0bf)&&_0x195ba3[_0x57f128(0xb8)]({'threadId':_0x44f0bf,'channelId':_0x45a3a1,'context':_0x3453af,'unlinkedAt':_0x8a6823,'attributes':_0x3aa39e,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xc7),(_0x3971d4,{commentThreadId:_0xd7ad83,resolvedBy:_0x41a27a,resolvedAt:_0x57d8d6})=>{const _0x14f5c6=_0x3991e7,_0x20081e=_0x195ba3[_0x14f5c6(0xc2)](_0xd7ad83);_0x20081e&&_0x20081e[_0x14f5c6(0xb9)]({'resolvedBy':_0x41a27a,'resolvedAt':_0x57d8d6,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xfb),(_0x534f5d,{commentThreadId:_0x5a709a})=>{const _0x1d72a5=_0x3991e7,_0x4b3d14=_0x195ba3[_0x1d72a5(0xc2)](_0x5a709a);_0x4b3d14&&_0x4b3d14[_0x1d72a5(0xfa)]({'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0x9c),(_0x34819c,{commentThreadId:_0x3bc3e2})=>{const _0x13791e=_0x3991e7,_0x2df891=_0x195ba3[_0x13791e(0xc2)](_0x3bc3e2);_0x2df891&&_0x2df891[_0x13791e(0xd0)]({'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf0),(_0x2863c0,_0x473615)=>{const _0x1cf171=_0x3991e7,_0xa2533f=_0x473615[_0x1cf171(0xf9)],_0x4e3bae=_0x195ba3[_0x1cf171(0xc2)](_0xa2533f);_0x4e3bae&&_0x4e3bae[_0x1cf171(0xda)]({...st(_0x473615),'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xbc),(_0x296c09,{commentThreadId:_0x106713,commentId:_0x239db0,content:_0xf4fce8,attributes:_0x20cbb4})=>{const _0x57742c=_0x3991e7,_0x361437=_0x195ba3[_0x57742c(0xc2)](_0x106713);if(_0x361437){const _0x13fee3=_0x361437[_0x57742c(0xe3)](_0x239db0);_0x13fee3&&_0x13fee3[_0x57742c(0xed)]({'content':_0xf4fce8,'attributes':_0x20cbb4,'isFromAdapter':!0x0});}}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xc6),(_0x42ef9b,{commentThreadId:_0x3ba3f0,commentId:_0x33ec2c})=>{const _0x4b3f32=_0x3991e7,_0x49cda5=_0x195ba3[_0x4b3f32(0xc2)](_0x3ba3f0);if(_0x49cda5){const _0x31ca66=_0x49cda5[_0x4b3f32(0xe3)](_0x33ec2c);_0x31ca66&&_0x31ca66[_0x4b3f32(0xd0)]({'isFromAdapter':!0x0});}}),await this[_0x3991e7(0xc0)](_0x10f20a);}[_0xd8dfbe(0xbb)](){const _0x22e893=_0xd8dfbe;if(this[_0x22e893(0xd1)]instanceof _0x3f8c10){const _0x1da7fc=this[_0x22e893(0xd1)][_0x22e893(0xd7)][_0x22e893(0xfc)](_0x22e893(0xca));this[_0x22e893(0xe4)](_0x1da7fc);}}[_0xd8dfbe(0xe4)](_0x2181b1){const _0x3a9394=_0xd8dfbe;if(!this[_0x3a9394(0xf7)][_0x3a9394(0xbd)](_0x2181b1))throw new _0x3f68c6(_0x3a9394(0xcf),null,{'channelId':_0x2181b1});this[_0x3a9394(0xe2)](_0x2181b1)[_0x3a9394(0xb4)](),this[_0x3a9394(0xf7)][_0x3a9394(0xe7)](_0x2181b1);}async[_0xd8dfbe(0xe8)](){const _0x554dcc=_0xd8dfbe;for(const _0x448a80 of this[_0x554dcc(0xf7)][_0x554dcc(0xcd)]())await this[_0x554dcc(0xc0)](_0x448a80);if(this[_0x554dcc(0xd1)]instanceof _0x3f8c10){const _0x1108a9=this[_0x554dcc(0xd1)][_0x554dcc(0xd7)][_0x554dcc(0xfc)](_0x554dcc(0xca)),_0x1ea3ab=this[_0x554dcc(0xd1)][_0x554dcc(0xab)][_0x554dcc(0xfc)](_0x111e70);_0x1ea3ab[_0x554dcc(0xb7)](_0x1108a9);const _0x5192fc=await this[_0x554dcc(0xf7)][_0x554dcc(0xfc)](_0x1108a9)[_0x554dcc(0xeb)]();_0x1ea3ab[_0x554dcc(0xdc)](_0x1108a9,_0x5192fc);}}async[_0xd8dfbe(0xc0)](_0x275f3a){const _0x2ec8aa=_0xd8dfbe,{connection:_0x193933}=this[_0x2ec8aa(0xd1)][_0x2ec8aa(0xab)][_0x2ec8aa(0xfc)](_0x1c6b68),_0x530f94=this[_0x2ec8aa(0xd1)][_0x2ec8aa(0xab)][_0x2ec8aa(0xfc)](_0x2ec8aa(0xa8)),_0x53c102=this[_0x2ec8aa(0xf7)][_0x2ec8aa(0xfc)](_0x275f3a),_0x1bd758=await _0x53c102[_0x2ec8aa(0xd8)](_0x193933);await this[_0x2ec8aa(0xa6)](_0x1bd758);const _0x5ca2a2=new Set(Array[_0x2ec8aa(0xd4)](_0x530f94[_0x2ec8aa(0xb1)]({'channelId':_0x275f3a}),_0x188d9f=>_0x188d9f['id']));for(const _0x596735 of _0x1bd758)_0x596735[_0x2ec8aa(0xc1)]||_0x5ca2a2[_0x2ec8aa(0xe7)](_0x596735[_0x2ec8aa(0xf9)]);for(const _0x1fb9b1 of _0x5ca2a2)_0x530f94[_0x2ec8aa(0xc2)](_0x1fb9b1)[_0x2ec8aa(0xd0)]({'isFromAdapter':!0x0});for(const _0x504958 of _0x1bd758){let _0x59a5c6=_0x530f94[_0x2ec8aa(0xc2)](_0x504958[_0x2ec8aa(0xf9)]);const {commentThreadId:_0x255ab7,context:_0x1769ed,attributes:_0x1f155c,resolvedBy:_0x2b548d,resolvedAt:_0x6aabec,unlinkedAt:_0x422ce3,deletedAt:_0x31a43d}=_0x504958;if(_0x31a43d)continue;_0x59a5c6||(_0x59a5c6=_0x530f94[_0x2ec8aa(0xb2)]({'channelId':_0x275f3a,'threadId':_0x255ab7,'context':_0x1769ed,'attributes':_0x1f155c||{},'resolvedBy':_0x2b548d,'resolvedAt':_0x6aabec,'unlinkedAt':_0x422ce3,'isFromAdapter':!0x0}));const _0x439ca5=new Set(Array[_0x2ec8aa(0xd4)](_0x59a5c6[_0x2ec8aa(0x98)],_0x542d7a=>_0x542d7a['id']));for(const _0xd3a586 of _0x504958[_0x2ec8aa(0x98)])_0x439ca5[_0x2ec8aa(0xe7)](_0xd3a586[_0x2ec8aa(0xec)]);for(const _0x2d8129 of _0x439ca5)_0x59a5c6[_0x2ec8aa(0xe3)](_0x2d8129)[_0x2ec8aa(0xd0)]({'isFromAdapter':!0x0});for(const _0x1a2afb of _0x504958[_0x2ec8aa(0x98)]){const _0x5056dd=_0x59a5c6[_0x2ec8aa(0xe3)](_0x1a2afb[_0x2ec8aa(0xec)]);_0x5056dd?_0x5056dd[_0x2ec8aa(0x97)]!==_0x1a2afb[_0x2ec8aa(0x97)]&&_0x5056dd[_0x2ec8aa(0xed)]({'content':_0x1a2afb[_0x2ec8aa(0x97)],'isFromAdapter':!0x0}):_0x59a5c6[_0x2ec8aa(0xda)](Object[_0x2ec8aa(0x9d)](st(_0x1a2afb),{'isFromAdapter':!0x0}));}}}[_0xd8dfbe(0xe2)](_0x371da2){const _0x3e2180=_0xd8dfbe;if(!this[_0x3e2180(0xf7)][_0x3e2180(0xbd)](_0x371da2))throw new _0x3f68c6(_0x3e2180(0xcb),null,{'channelId':_0x371da2});return this[_0x3e2180(0xf7)][_0x3e2180(0xfc)](_0x371da2);}async[_0xd8dfbe(0xa6)](_0x1f73fb){const _0x2f41e5=_0xd8dfbe,_0x3b8176=this[_0x2f41e5(0xd1)][_0x2f41e5(0xab)][_0x2f41e5(0xfc)](_0x300da8),{connection:_0x4c8cec}=this[_0x2f41e5(0xd1)][_0x2f41e5(0xab)][_0x2f41e5(0xfc)](_0x1c6b68),_0x2b3d8d=new Set();for(const {resolvedBy:_0x3057d3,comments:_0x407b6f}of _0x1f73fb){_0x3057d3&&!_0x3b8176[_0x2f41e5(0xd6)](_0x3057d3)&&_0x2b3d8d[_0x2f41e5(0xf6)](_0x3057d3);for(const {userId:_0x3ed13a}of _0x407b6f)_0x3b8176[_0x2f41e5(0xd6)](_0x3ed13a)||_0x2b3d8d[_0x2f41e5(0xf6)](_0x3ed13a);}if(0x0===_0x2b3d8d[_0x2f41e5(0xb6)])return;const _0x2e830f=await _0x595538[_0x2f41e5(0xd9)](_0x4c8cec,Array[_0x2f41e5(0xd4)](_0x2b3d8d));for(const _0x1735a6 of _0x2e830f)_0x3b8176[_0x2f41e5(0xd6)](_0x1735a6['id'])||_0x3b8176[_0x2f41e5(0xad)](_0x1735a6);}}export{s as CloudServicesCommentsAdapter};function _0x201c(_0x1e38fb,_0xe0bed4){const _0x2b43ff=_0x2b43();return _0x201c=function(_0x201c2e,_0x22f16d){_0x201c2e=_0x201c2e-0x97;let _0x42bceb=_0x2b43ff[_0x201c2e];return _0x42bceb;},_0x201c(_0x1e38fb,_0xe0bed4);}async function nt(_0x131994){const _0x20b02e=_0xd8dfbe;if(_0x20b02e(0xa1)!==_0x131994[_0x20b02e(0xc5)])throw _0x131994;}function it(_0x547727){const _0x543e60=_0xd8dfbe;if((_0x12737c=_0x547727)[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xfd))||_0x12737c[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xd5))||_0x12737c[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xf5)))return new Promise(()=>{});var _0x12737c;throw _0x547727;}function st(_0xcff636){const _0x1a8183=_0xd8dfbe;return{'threadId':_0xcff636[_0x1a8183(0xf9)],'commentId':_0xcff636[_0x1a8183(0xec)],'content':_0xcff636[_0x1a8183(0x97)],'createdAt':_0xcff636[_0x1a8183(0xe6)],'authorId':_0xcff636[_0x1a8183(0xc3)],'attributes':_0xcff636[_0x1a8183(0xcc)]||{}};}
23
+ const _0x121497=_0x4290;(function(_0x1af527,_0x2ee773){const _0x5f2009=_0x4290,_0x5254ae=_0x1af527();while(!![]){try{const _0x3c9826=-parseInt(_0x5f2009(0xdf))/0x1+parseInt(_0x5f2009(0x9f))/0x2+parseInt(_0x5f2009(0xf5))/0x3+-parseInt(_0x5f2009(0xfd))/0x4*(-parseInt(_0x5f2009(0xad))/0x5)+-parseInt(_0x5f2009(0x102))/0x6+parseInt(_0x5f2009(0xd8))/0x7*(-parseInt(_0x5f2009(0xe1))/0x8)+parseInt(_0x5f2009(0xa7))/0x9*(-parseInt(_0x5f2009(0xb2))/0xa);if(_0x3c9826===_0x2ee773)break;else _0x5254ae['push'](_0x5254ae['shift']());}catch(_0x144752){_0x5254ae['push'](_0x5254ae['shift']());}}}(_0x1584,0x7a684));import{Context as _0x2635cd,ContextPlugin as _0x5270f2}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d8085}from'ckeditor5/src/utils.js';import{Users as _0x2b5e8e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x12d590,User as _0x5e2558}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x40fd1e}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4290(_0x47fec7,_0x546951){const _0x158462=_0x1584();return _0x4290=function(_0x4290b1,_0x26e52a){_0x4290b1=_0x4290b1-0x9d;let _0x47882b=_0x158462[_0x4290b1];return _0x47882b;},_0x4290(_0x47fec7,_0x546951);}import{Sessions as _0x38c4bc}from'../realtimecollaborativeediting/sessions.js';class s extends _0x5270f2{static [_0x121497(0xbe)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x12d590)());[_0x121497(0xd5)];static get[_0x121497(0xf3)](){const _0xa9e48e=_0x121497;return[_0x40fd1e,_0xa9e48e(0xbf),_0x38c4bc,_0x2b5e8e];}static get[_0x121497(0xcf)](){const _0x15794d=_0x121497;return _0x15794d(0xa0);}static get[_0x121497(0xfe)](){return!0x0;}static get[_0x121497(0xe2)](){return!0x0;}constructor(_0x3bdf60){const _0x592516=_0x121497;super(_0x3bdf60),this[_0x592516(0xd5)]=new Map();}async[_0x121497(0xed)](){const _0x579598=_0x121497,_0x9d6f0e=this[_0x579598(0xb9)],_0x51c107=_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x579598(0xbf));if(_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x40fd1e)[_0x579598(0xb7)](this),_0x51c107[_0x579598(0xe6)]={'addCommentThread':async({channelId:_0xf9a219,threadId:_0xecaeed,comments:_0x50f8b4,resolvedAt:_0x5b7af5,resolvedBy:_0xb44ad5,context:_0x7c0a14,attributes:_0xb95726})=>{const _0x241f6e=_0x579598,_0x24a74e=await this[_0x241f6e(0xde)](_0xf9a219)[_0x241f6e(0xd0)]({'commentThreadId':_0xecaeed,'comments':_0x50f8b4[_0x241f6e(0xbc)](_0x1e5b10=>function(_0x91b7de,_0x3e3cb7,_0x37b1e9){const _0x3de18a=_0x241f6e;return{'commentThreadId':_0x37b1e9,'commentId':_0x91b7de[_0x3de18a(0xae)],'userId':_0x91b7de[_0x3de18a(0x100)],'content':_0x91b7de[_0x3de18a(0xa4)],'documentId':_0x3e3cb7,'createdAt':_0x91b7de[_0x3de18a(0xd2)],'attributes':_0x91b7de[_0x3de18a(0xa2)]||{}};}(_0x1e5b10,_0xf9a219,_0xecaeed)),'resolvedAt':_0x5b7af5,'resolvedBy':_0xb44ad5,'context':_0x7c0a14,'attributes':_0xb95726})[_0x241f6e(0xd9)](k);return{'threadId':_0x24a74e[_0x241f6e(0xf7)],'comments':_0x24a74e[_0x241f6e(0xe8)]};},'getCommentThread':async({channelId:_0x4c13ed,threadId:_0x32817c})=>{const _0x3468b0=_0x579598,_0x1d9d2f=await this[_0x3468b0(0xde)](_0x4c13ed)[_0x3468b0(0xe7)](_0x32817c)[_0x3468b0(0xd9)](k);return _0x1d9d2f[_0x3468b0(0xc0)]?null:(await this[_0x3468b0(0xa5)]([_0x1d9d2f]),{'threadId':_0x1d9d2f[_0x3468b0(0xf7)],'comments':_0x1d9d2f[_0x3468b0(0xe8)][_0x3468b0(0xbc)](B),'context':_0x1d9d2f[_0x3468b0(0xb9)],'resolvedAt':_0x1d9d2f[_0x3468b0(0xd7)],'resolvedBy':_0x1d9d2f[_0x3468b0(0xaa)],'attributes':_0x1d9d2f[_0x3468b0(0xa2)]||{}});},'updateCommentThread':async({channelId:_0xb078e9,threadId:_0x49424c,context:_0x4963fd,unlinkedAt:_0x1e9f5a,attributes:_0x37fc26})=>this[_0x579598(0xde)](_0xb078e9)[_0x579598(0xeb)]({'commentThreadId':_0x49424c,'context':_0x4963fd,'attributes':_0x37fc26,'unlinkedAt':_0x1e9f5a})[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'resolveCommentThread':async({channelId:_0x445029,threadId:_0x3bd55f})=>{const _0x1cffb2=_0x579598,_0x184ff4=await this[_0x1cffb2(0xde)](_0x445029)[_0x1cffb2(0xf4)](_0x3bd55f)[_0x1cffb2(0xd9)](F)[_0x1cffb2(0xd9)](k);return{'threadId':_0x184ff4[_0x1cffb2(0xf7)],'resolvedAt':_0x184ff4[_0x1cffb2(0xd7)],'resolvedBy':_0x184ff4[_0x1cffb2(0xaa)]};},'reopenCommentThread':async({channelId:_0x18b0aa,threadId:_0x54afd3})=>this[_0x579598(0xde)](_0x18b0aa)[_0x579598(0xa3)](_0x54afd3)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'removeCommentThread':({channelId:_0x7d3181,threadId:_0x3e7396})=>this[_0x579598(0xde)](_0x7d3181)[_0x579598(0xc7)](_0x3e7396)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'addComment':({channelId:_0x3fc63d,threadId:_0x25a71c,commentId:_0x2a0244,content:_0x2f4343,attributes:_0x302d67})=>this[_0x579598(0xde)](_0x3fc63d)[_0x579598(0xea)](_0x25a71c,_0x2a0244,_0x2f4343,_0x302d67)[_0x579598(0xd9)](k),'updateComment':({channelId:_0x293aab,threadId:_0x21a2c2,commentId:_0x3dd3a9,content:_0x33cd43,attributes:_0x274efd})=>this[_0x579598(0xde)](_0x293aab)[_0x579598(0xd4)](_0x21a2c2,_0x3dd3a9,_0x33cd43,_0x274efd)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'removeComment':({channelId:_0x2be0a6,threadId:_0x34b486,commentId:_0x11e138})=>this[_0x579598(0xde)](_0x2be0a6)[_0x579598(0xb6)](_0x34b486,_0x11e138)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k)},_0x9d6f0e instanceof _0x2635cd){const _0x3c7a66=_0x9d6f0e[_0x579598(0xb1)][_0x579598(0xdd)](_0x579598(0xca)),_0x1ff443=_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x38c4bc);await this[_0x579598(0xdc)](_0x3c7a66);const _0x53222a=await this[_0x579598(0xd5)][_0x579598(0xdd)](_0x3c7a66)[_0x579598(0xc1)]();this[_0x579598(0xc4)](_0x1ff443,_0x579598(0xff)+_0x3c7a66,(_0x185900,{session:_0x2e0d61})=>{const _0x587a49=_0x579598;_0x2e0d61['id']===_0x1ff443[_0x587a49(0xa9)]&&(_0x185900[_0x587a49(0x9e)](),this[_0x587a49(0xb9)][_0x587a49(0xb5)][_0x587a49(0xdd)](_0x587a49(0xbb))[_0x587a49(0xf0)](_0x2e0d61[_0x587a49(0xa1)],_0x3c7a66));}),_0x1ff443[_0x579598(0x101)](_0x3c7a66,_0x53222a);}}async[_0x121497(0xdc)](_0x4ff869){const _0x1ba361=_0x121497;if(this[_0x1ba361(0xd5)][_0x1ba361(0xaf)](_0x4ff869))throw new _0x2d8085(_0x1ba361(0xab),null,{'channelId':_0x4ff869});const _0xf601a9=this[_0x1ba361(0xb9)][_0x1ba361(0xb5)][_0x1ba361(0xdd)](_0x1ba361(0xbf)),_0x548bf1=new s[(_0x1ba361(0xbe))](_0x4ff869);this[_0x1ba361(0xd5)][_0x1ba361(0xf6)](_0x4ff869,_0x548bf1),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xf2),(_0x4e0077,_0x191c0a)=>{const _0x4614e9=_0x1ba361,{commentThreadId:_0x2d0f29,documentId:_0x220af0,context:_0x4bc72f,attributes:_0x102552,resolvedAt:_0x45f7a0,resolvedBy:_0x1cf088,comments:_0x306987}=_0x191c0a;_0xf601a9[_0x4614e9(0xe7)](_0x2d0f29)||_0xf601a9[_0x4614e9(0xd0)]({'threadId':_0x2d0f29,'channelId':_0x220af0,'comments':_0x306987?_0x306987[_0x4614e9(0xbc)](B):[],'context':_0x4bc72f,'attributes':_0x102552,'resolvedAt':_0x45f7a0,'resolvedBy':_0x1cf088,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xee),(_0x324021,{commentThreadId:_0x442cee,documentId:_0x56e12b,context:_0x2c409e,unlinkedAt:_0x2b10c7,attributes:_0x2eab47})=>{const _0x3788e4=_0x1ba361;_0xf601a9[_0x3788e4(0xe7)](_0x442cee)&&_0xf601a9[_0x3788e4(0xeb)]({'threadId':_0x442cee,'channelId':_0x56e12b,'context':_0x2c409e,'unlinkedAt':_0x2b10c7,'attributes':_0x2eab47,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xc8),(_0x5ebb78,{commentThreadId:_0x48fe06,resolvedBy:_0x2e0b07,resolvedAt:_0x4558f2})=>{const _0x367292=_0x1ba361,_0x48ae15=_0xf601a9[_0x367292(0xe7)](_0x48fe06);_0x48ae15&&_0x48ae15[_0x367292(0xb4)]({'resolvedBy':_0x2e0b07,'resolvedAt':_0x4558f2,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xdb),(_0x50773c,{commentThreadId:_0x1c9cec})=>{const _0x12063d=_0x1ba361,_0x54bb3c=_0xf601a9[_0x12063d(0xe7)](_0x1c9cec);_0x54bb3c&&_0x54bb3c[_0x12063d(0xbd)]({'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0x9d),(_0x6ce6cb,{commentThreadId:_0x43a2dc})=>{const _0x11d87b=_0x1ba361,_0x3e8681=_0xf601a9[_0x11d87b(0xe7)](_0x43a2dc);_0x3e8681&&_0x3e8681[_0x11d87b(0xc3)]({'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xda),(_0x54184e,_0xede86e)=>{const _0x315993=_0x1ba361,_0x457774=_0xede86e[_0x315993(0xf7)],_0x528f01=_0xf601a9[_0x315993(0xe7)](_0x457774);_0x528f01&&_0x528f01[_0x315993(0xea)]({...B(_0xede86e),'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xa8),(_0x11ef2,{commentThreadId:_0x14638e,commentId:_0x8df948,content:_0x27e657,attributes:_0x394417})=>{const _0x369296=_0x1ba361,_0x5879aa=_0xf601a9[_0x369296(0xe7)](_0x14638e);if(_0x5879aa){const _0xa3919=_0x5879aa[_0x369296(0xd1)](_0x8df948);_0xa3919&&_0xa3919[_0x369296(0xe3)]({'content':_0x27e657,'attributes':_0x394417,'isFromAdapter':!0x0});}}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xfc),(_0x4ed15c,{commentThreadId:_0x281b75,commentId:_0x48f91b})=>{const _0x3b8258=_0x1ba361,_0x320c97=_0xf601a9[_0x3b8258(0xe7)](_0x281b75);if(_0x320c97){const _0x1a6799=_0x320c97[_0x3b8258(0xd1)](_0x48f91b);_0x1a6799&&_0x1a6799[_0x3b8258(0xc3)]({'isFromAdapter':!0x0});}}),await this[_0x1ba361(0xcd)](_0x4ff869);}[_0x121497(0xcc)](){const _0x27260a=_0x121497;if(this[_0x27260a(0xb9)]instanceof _0x2635cd){const _0x187d4c=this[_0x27260a(0xb9)][_0x27260a(0xb1)][_0x27260a(0xdd)](_0x27260a(0xca));this[_0x27260a(0xe4)](_0x187d4c);}}[_0x121497(0xe4)](_0x3f0bee){const _0x26723f=_0x121497;if(!this[_0x26723f(0xd5)][_0x26723f(0xaf)](_0x3f0bee))throw new _0x2d8085(_0x26723f(0xac),null,{'channelId':_0x3f0bee});this[_0x26723f(0xde)](_0x3f0bee)[_0x26723f(0xe0)](),this[_0x26723f(0xd5)][_0x26723f(0xc6)](_0x3f0bee);}async[_0x121497(0xba)](){const _0x68a0bd=_0x121497;for(const _0x2c942c of this[_0x68a0bd(0xd5)][_0x68a0bd(0xfb)]())await this[_0x68a0bd(0xcd)](_0x2c942c);if(this[_0x68a0bd(0xb9)]instanceof _0x2635cd){const _0x55a078=this[_0x68a0bd(0xb9)][_0x68a0bd(0xb1)][_0x68a0bd(0xdd)](_0x68a0bd(0xca)),_0x324d6d=this[_0x68a0bd(0xb9)][_0x68a0bd(0xb5)][_0x68a0bd(0xdd)](_0x38c4bc);_0x324d6d[_0x68a0bd(0xb3)](_0x55a078);const _0x3f8a4e=await this[_0x68a0bd(0xd5)][_0x68a0bd(0xdd)](_0x55a078)[_0x68a0bd(0xc1)]();_0x324d6d[_0x68a0bd(0x101)](_0x55a078,_0x3f8a4e);}}async[_0x121497(0xcd)](_0x34601f){const _0x2f8c30=_0x121497,{connection:_0x364895}=this[_0x2f8c30(0xb9)][_0x2f8c30(0xb5)][_0x2f8c30(0xdd)](_0x40fd1e),_0x4d80d0=this[_0x2f8c30(0xb9)][_0x2f8c30(0xb5)][_0x2f8c30(0xdd)](_0x2f8c30(0xbf)),_0x5de6cc=this[_0x2f8c30(0xd5)][_0x2f8c30(0xdd)](_0x34601f),_0x4137b0=await _0x5de6cc[_0x2f8c30(0xf1)](_0x364895);await this[_0x2f8c30(0xa5)](_0x4137b0);const _0x58ef28=new Set(Array[_0x2f8c30(0xc9)](_0x4d80d0[_0x2f8c30(0xc5)]({'channelId':_0x34601f}),_0x5af8fd=>_0x5af8fd['id']));for(const _0x582472 of _0x4137b0)_0x582472[_0x2f8c30(0xc0)]||_0x58ef28[_0x2f8c30(0xc6)](_0x582472[_0x2f8c30(0xf7)]);for(const _0x45fddc of _0x58ef28)_0x4d80d0[_0x2f8c30(0xe7)](_0x45fddc)[_0x2f8c30(0xc3)]({'isFromAdapter':!0x0});for(const _0x32de2b of _0x4137b0){let _0x3ff32b=_0x4d80d0[_0x2f8c30(0xe7)](_0x32de2b[_0x2f8c30(0xf7)]);const {commentThreadId:_0x133b43,context:_0x4201dd,attributes:_0x4641d2,resolvedBy:_0x230657,resolvedAt:_0x3c8a7f,unlinkedAt:_0x3e99ef,deletedAt:_0x1cd569}=_0x32de2b;if(_0x1cd569)continue;_0x3ff32b||(_0x3ff32b=_0x4d80d0[_0x2f8c30(0xd0)]({'channelId':_0x34601f,'threadId':_0x133b43,'context':_0x4201dd,'attributes':_0x4641d2||{},'resolvedBy':_0x230657,'resolvedAt':_0x3c8a7f,'unlinkedAt':_0x3e99ef,'isFromAdapter':!0x0}));const _0x55d09a=new Set(Array[_0x2f8c30(0xc9)](_0x3ff32b[_0x2f8c30(0xe8)],_0x39462f=>_0x39462f['id']));for(const _0x3bda1d of _0x32de2b[_0x2f8c30(0xe8)])_0x55d09a[_0x2f8c30(0xc6)](_0x3bda1d[_0x2f8c30(0xae)]);for(const _0x381955 of _0x55d09a)_0x3ff32b[_0x2f8c30(0xd1)](_0x381955)[_0x2f8c30(0xc3)]({'isFromAdapter':!0x0});for(const _0x21381b of _0x32de2b[_0x2f8c30(0xe8)]){const _0x656375=_0x3ff32b[_0x2f8c30(0xd1)](_0x21381b[_0x2f8c30(0xae)]);_0x656375?_0x656375[_0x2f8c30(0xa4)]!==_0x21381b[_0x2f8c30(0xa4)]&&_0x656375[_0x2f8c30(0xe3)]({'content':_0x21381b[_0x2f8c30(0xa4)],'isFromAdapter':!0x0}):_0x3ff32b[_0x2f8c30(0xea)](Object[_0x2f8c30(0xd3)](B(_0x21381b),{'isFromAdapter':!0x0}));}}}[_0x121497(0xde)](_0x1f7ef0){const _0x24de78=_0x121497;if(!this[_0x24de78(0xd5)][_0x24de78(0xaf)](_0x1f7ef0))throw new _0x2d8085(_0x24de78(0xb0),null,{'channelId':_0x1f7ef0});return this[_0x24de78(0xd5)][_0x24de78(0xdd)](_0x1f7ef0);}async[_0x121497(0xa5)](_0xa3ed25){const _0x1e6030=_0x121497,_0x1bcca3=this[_0x1e6030(0xb9)][_0x1e6030(0xb5)][_0x1e6030(0xdd)](_0x2b5e8e),{connection:_0x14d476}=this[_0x1e6030(0xb9)][_0x1e6030(0xb5)][_0x1e6030(0xdd)](_0x40fd1e),_0x5f3640=new Set();for(const {resolvedBy:_0x418831,comments:_0x6b9153}of _0xa3ed25){_0x418831&&!_0x1bcca3[_0x1e6030(0xe9)](_0x418831)&&_0x5f3640[_0x1e6030(0xf9)](_0x418831);for(const {userId:_0x2dd2f3}of _0x6b9153)_0x1bcca3[_0x1e6030(0xe9)](_0x2dd2f3)||_0x5f3640[_0x1e6030(0xf9)](_0x2dd2f3);}if(0x0===_0x5f3640[_0x1e6030(0xd6)])return;const _0x18a22a=await _0x5e2558[_0x1e6030(0xce)](_0x14d476,Array[_0x1e6030(0xc9)](_0x5f3640));for(const _0x28448e of _0x18a22a)_0x1bcca3[_0x1e6030(0xe9)](_0x28448e['id'])||_0x1bcca3[_0x1e6030(0xf8)](_0x28448e);}}export{s as CloudServicesCommentsAdapter};async function F(_0x16b9d1){const _0x5aebf9=_0x121497;if(_0x5aebf9(0xec)!==_0x16b9d1[_0x5aebf9(0xcb)])throw _0x16b9d1;}function _0x1584(){const _0x51c141=['4230liyGGD','unregister','resolve','plugins','removeComment','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','context','reconnect','Permissions','map','reopen','CommentsService','CommentsRepository','deletedAt','getConnectedSessions','userId','remove','listenTo','getCommentThreads','delete','removeCommentThread','commentThreadResolved','from','collaboration.channelId','code','destroy','_connectService','getMany','pluginName','addCommentThread','getComment','createdAt','assign','updateComment','_services','size','resolvedAt','329TLhaLW','catch','commentAdded','commentThreadReopened','_setUpService','get','_getService','646935EULxds','disconnect','122424yYsAZL','isPremiumPlugin','update','_terminateService','startsWith','adapter','getCommentThread','comments','getUser','addComment','updateCommentThread','404','init','commentThreadUpdated','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','connect','commentThreadAdded','requires','resolveCommentThread','1814730vdYSGW','set','commentThreadId','addUser','add','cloud-services-internal-error:\x20Not\x20connected.','keys','commentRemoved','4vOVgUM','isOfficialPlugin','sessionAdd:','authorId','register','1246140gFjVwD','commentThreadRemoved','off','1803496yylJmY','CloudServicesCommentsAdapter','permissions','attributes','reopenCommentThread','content','_fetchMissingUsersForThreads','message','8937GZXIOz','commentUpdated','mySessionId','resolvedBy','cloudservicescommentsadapter-connect-already-connected','cloudservicescommentsadapter-disconnect-not-exist','4943135CfDANt','commentId','has','cloudservicescommentsadapter-service-not-exist','config'];_0x1584=function(){return _0x51c141;};return _0x1584();}function k(_0x5cc7fa){const _0x2b7d44=_0x121497;if((_0x40a7c8=_0x5cc7fa)[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xb8))||_0x40a7c8[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xfa))||_0x40a7c8[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xef)))return new Promise(()=>{});var _0x40a7c8;throw _0x5cc7fa;}function B(_0x10f720){const _0x1ecbf3=_0x121497;return{'threadId':_0x10f720[_0x1ecbf3(0xf7)],'commentId':_0x10f720[_0x1ecbf3(0xae)],'content':_0x10f720[_0x1ecbf3(0xa4)],'createdAt':_0x10f720[_0x1ecbf3(0xd2)],'authorId':_0x10f720[_0x1ecbf3(0xc2)],'attributes':_0x10f720[_0x1ecbf3(0xa2)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x430d3d=_0x4ffd;(function(_0x4f75c5,_0x3a2f5d){const _0x837d9e=_0x4ffd,_0x2da372=_0x4f75c5();while(!![]){try{const _0x4e4d84=parseInt(_0x837d9e(0xb3))/0x1*(-parseInt(_0x837d9e(0x9c))/0x2)+-parseInt(_0x837d9e(0x9e))/0x3+parseInt(_0x837d9e(0xab))/0x4+parseInt(_0x837d9e(0xad))/0x5*(-parseInt(_0x837d9e(0x93))/0x6)+parseInt(_0x837d9e(0xaa))/0x7+parseInt(_0x837d9e(0xb4))/0x8+-parseInt(_0x837d9e(0xa2))/0x9*(-parseInt(_0x837d9e(0x99))/0xa);if(_0x4e4d84===_0x3a2f5d)break;else _0x2da372['push'](_0x2da372['shift']());}catch(_0x432e05){_0x2da372['push'](_0x2da372['shift']());}}}(_0x49b8,0x384b7));import{Plugin as _0x20fb18}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2e9762}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x196a1a}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x2ad473}from'./realtimecollaborativeediting/websocketgateway.js';function _0x4ffd(_0x323ad6,_0x62f1e8){const _0x49b8cc=_0x49b8();return _0x4ffd=function(_0x4ffded,_0x13c438){_0x4ffded=_0x4ffded-0x93;let _0x3c80c4=_0x49b8cc[_0x4ffded];return _0x3c80c4;},_0x4ffd(_0x323ad6,_0x62f1e8);}export class RealTimeCollaborativeComments extends _0x20fb18{static get[_0x430d3d(0x9b)](){const _0x419385=_0x430d3d;return[_0x419385(0xac),_0x2e9762,_0x196a1a,_0x2ad473];}static get[_0x430d3d(0xb2)](){const _0x549148=_0x430d3d;return _0x549148(0x9f);}static get[_0x430d3d(0xb0)](){return!0x0;}static get[_0x430d3d(0x97)](){return!0x0;}[_0x430d3d(0xa9)](){const _0x3780ba=_0x430d3d,_0x1438ed=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x2ad473),_0x201a8d=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x3780ba(0xae)),_0x4e18aa=this[_0x3780ba(0x9d)][_0x3780ba(0xa1)][_0x3780ba(0xaf)](_0x2e9762);return this[_0x3780ba(0x9d)][_0x3780ba(0xa5)][_0x3780ba(0xa0)](_0x3780ba(0xa3),()=>{const _0x161ee9=_0x3780ba;this[_0x161ee9(0xb5)](_0x1438ed,_0x161ee9(0x98),(_0x13064e,_0x2a6c75,_0x5d3094)=>{const _0x28933b=_0x161ee9;_0x201a8d[_0x28933b(0x95)]=_0x28933b(0xa6)!==_0x5d3094;});}),this[_0x3780ba(0xb5)](_0x1438ed,_0x3780ba(0x98),(_0x47bcfb,_0x50f1db,_0x338b57)=>{const _0x555c6b=_0x3780ba;this[_0x555c6b(0x9d)][_0x555c6b(0xa1)][_0x555c6b(0xaf)](_0x555c6b(0x9a))[_0x555c6b(0xa8)](_0x555c6b(0xa6)!==_0x338b57);}),_0x4e18aa[_0x3780ba(0x96)](this[_0x3780ba(0x9d)][_0x3780ba(0xa4)][_0x3780ba(0xaf)](_0x3780ba(0xa7)));}[_0x430d3d(0xb1)](){const _0x19c2c5=_0x430d3d;this[_0x19c2c5(0x9d)][_0x19c2c5(0xa1)][_0x19c2c5(0xaf)](_0x2e9762)[_0x19c2c5(0x94)](this[_0x19c2c5(0x9d)][_0x19c2c5(0xa4)][_0x19c2c5(0xaf)](_0x19c2c5(0xa7))),super[_0x19c2c5(0xb1)]();}}function _0x49b8(){const _0x8bd49b=['53565YpEMvk','CommentsEditing','get','isOfficialPlugin','destroy','pluginName','28393QdvxQF','98256tLDhsq','listenTo','108mamepP','_terminateService','isThreadsLoadingPaused','_setUpService','isPremiumPlugin','change:state','20HPhlOv','CommentsRepository','requires','18jZIBcY','editor','1067523fUhVxV','RealTimeCollaborativeComments','once','plugins','2393973oPGJnh','ready','config','data','connected','collaboration.channelId','switchReadOnly','init','529956cPJKrU','1659244rhsWUu','Comments'];_0x49b8=function(){return _0x8bd49b;};return _0x49b8();}
23
+ function _0x7198(_0x188925,_0x223b55){const _0x31e90a=_0x31e9();return _0x7198=function(_0x7198d3,_0x342746){_0x7198d3=_0x7198d3-0x1c0;let _0x37a2f6=_0x31e90a[_0x7198d3];return _0x37a2f6;},_0x7198(_0x188925,_0x223b55);}const _0x5699ac=_0x7198;(function(_0x3af09d,_0x9b3d57){const _0x427e95=_0x7198,_0x283f1d=_0x3af09d();while(!![]){try{const _0x4b7c96=parseInt(_0x427e95(0x1dc))/0x1*(-parseInt(_0x427e95(0x1c3))/0x2)+-parseInt(_0x427e95(0x1c9))/0x3*(-parseInt(_0x427e95(0x1d1))/0x4)+parseInt(_0x427e95(0x1e1))/0x5*(-parseInt(_0x427e95(0x1df))/0x6)+-parseInt(_0x427e95(0x1d8))/0x7+parseInt(_0x427e95(0x1ce))/0x8*(parseInt(_0x427e95(0x1dd))/0x9)+parseInt(_0x427e95(0x1e3))/0xa*(-parseInt(_0x427e95(0x1c6))/0xb)+parseInt(_0x427e95(0x1cb))/0xc;if(_0x4b7c96===_0x9b3d57)break;else _0x283f1d['push'](_0x283f1d['shift']());}catch(_0xc11806){_0x283f1d['push'](_0x283f1d['shift']());}}}(_0x31e9,0x446be));import{Plugin as _0x4705c2}from'ckeditor5/src/core.js';function _0x31e9(){const _0x108e05=['3QzFLjo','CommentsEditing','10709988gigwao','switchReadOnly','isPremiumPlugin','16lDWOGx','editor','get','148060zXixAs','plugins','_setUpService','requires','isOfficialPlugin','listenTo','config','1513351TZjQTD','change:state','pluginName','collaboration.channelId','485JhXBUl','1506006ZnOarr','data','90JMdqQJ','RealTimeCollaborativeComments','42485tNHyuT','once','640400YPAmQw','init','ready','isThreadsLoadingPaused','_terminateService','1584ywKsDG','CommentsRepository','destroy','44cBwoaz','Comments','connected'];_0x31e9=function(){return _0x108e05;};return _0x31e9();}import{CloudServicesCommentsAdapter as _0x4bd259}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x17bdea}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x4ebd28}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4705c2{static get[_0x5699ac(0x1d4)](){const _0x2a3da5=_0x5699ac;return[_0x2a3da5(0x1c7),_0x4bd259,_0x17bdea,_0x4ebd28];}static get[_0x5699ac(0x1da)](){const _0x2b06ed=_0x5699ac;return _0x2b06ed(0x1e0);}static get[_0x5699ac(0x1d5)](){return!0x0;}static get[_0x5699ac(0x1cd)](){return!0x0;}[_0x5699ac(0x1e4)](){const _0x128635=_0x5699ac,_0x3822b4=this[_0x128635(0x1cf)][_0x128635(0x1d2)][_0x128635(0x1d0)](_0x4ebd28),_0x475164=this[_0x128635(0x1cf)][_0x128635(0x1d2)][_0x128635(0x1d0)](_0x128635(0x1ca)),_0x2b9757=this[_0x128635(0x1cf)][_0x128635(0x1d2)][_0x128635(0x1d0)](_0x4bd259);return this[_0x128635(0x1cf)][_0x128635(0x1de)][_0x128635(0x1e2)](_0x128635(0x1c0),()=>{const _0x2bf8b2=_0x128635;this[_0x2bf8b2(0x1d6)](_0x3822b4,_0x2bf8b2(0x1d9),(_0x327c07,_0x5ea36c,_0x1e90e2)=>{const _0xb83d6f=_0x2bf8b2;_0x475164[_0xb83d6f(0x1c1)]=_0xb83d6f(0x1c8)!==_0x1e90e2;});}),this[_0x128635(0x1d6)](_0x3822b4,_0x128635(0x1d9),(_0x12f1b,_0x28e2d6,_0x32544c)=>{const _0x20ae6=_0x128635;this[_0x20ae6(0x1cf)][_0x20ae6(0x1d2)][_0x20ae6(0x1d0)](_0x20ae6(0x1c4))[_0x20ae6(0x1cc)](_0x20ae6(0x1c8)!==_0x32544c);}),_0x2b9757[_0x128635(0x1d3)](this[_0x128635(0x1cf)][_0x128635(0x1d7)][_0x128635(0x1d0)](_0x128635(0x1db)));}[_0x5699ac(0x1c5)](){const _0x420956=_0x5699ac;this[_0x420956(0x1cf)][_0x420956(0x1d2)][_0x420956(0x1d0)](_0x4bd259)[_0x420956(0x1c2)](this[_0x420956(0x1cf)][_0x420956(0x1d7)][_0x420956(0x1d0)](_0x420956(0x1db))),super[_0x420956(0x1c5)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50b64d=_0x160f;(function(_0x1e2276,_0x5472b5){const _0x2dacae=_0x160f,_0x9f1ce8=_0x1e2276();while(!![]){try{const _0x36a219=parseInt(_0x2dacae(0x16f))/0x1*(-parseInt(_0x2dacae(0x157))/0x2)+-parseInt(_0x2dacae(0xba))/0x3*(parseInt(_0x2dacae(0xd2))/0x4)+-parseInt(_0x2dacae(0x86))/0x5*(parseInt(_0x2dacae(0x137))/0x6)+-parseInt(_0x2dacae(0x87))/0x7+parseInt(_0x2dacae(0x139))/0x8*(parseInt(_0x2dacae(0xd3))/0x9)+parseInt(_0x2dacae(0xbd))/0xa+parseInt(_0x2dacae(0x164))/0xb;if(_0x36a219===_0x5472b5)break;else _0x9f1ce8['push'](_0x9f1ce8['shift']());}catch(_0x3067cf){_0x9f1ce8['push'](_0x9f1ce8['shift']());}}}(_0x478f,0x9b091));import{Plugin as _0x5d8bc5,PendingActions as _0x485d5f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f33d7,version as _0x464c47,uid as _0x596176}from'ckeditor5/src/utils.js';import{Notification as _0x216b94}from'ckeditor5/src/ui.js';function _0x478f(){const _0x102293=['startsWith','addToReconnectionStack','Synchronization\x20issue','applyOperation','path','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','state','_waitUntilSynced','editing','disconnected','change:_isEditingAllowed','permissions','disconnect','version','getIdOfTheLastOperation','CollaborativeEditingService','_isPendingUpdate','409','off','collaboration-missing-channelid','stopListening','locale','_crash','realtimecollaborationclient','markers','getOperations','createdAt','_offset','_channelId','connection','apply','enqueueChange','_isConnected','setPermissions','getDocumentDetails','createPositionFromPath','rootName','_sendBufferedOperationsDelayId','affectedSelectable','_handleServerResponse','finally','reset','addUser','_applyOperationsSet','_clearPendingAction','_decompressOperations','map','define','sessionCreatedAt','clone','_lastSyncedOperationId','userId','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','_service','lastOperationAcceptedAt','move','rtc-destroyed','createRange','collaboration.channelId','realtimecollaborationclient-error','126PJRsuX','_shouldSendUpdate','1016bEKtzU','_connectService','collaboration','setIdForTheLastOperation','sessionId','register','_knownOperations','change:range','change:hasDomSelection','remove','addRoot','realtimecollaborationclient-init-document-already-initialized','set','_disconnectionOperations','_isInit','_handleReconnectionError','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','affectsData','entries','start','Notification','size','cloudDocumentVersion','parse','removeFromReconnectionStack','currentDocumentSession','_addKnownRoot','requires','_compressOperations','catch','1939188tvJqFF','newRange','_handleReceivedOperations','metadata','_updateServerHistory','_isLoaded','realtimecollaborationclient-init-service-incorrect-server-operation','_compressor','404','RealTimeCollaborationClient','get','_isEditingAllowed','directChange','30395673jetlsn','offset','_loadRoot','realtimecollaborationclient-init-service-internal-error','getMany','forEach','error','_bufferRootLoad','_ignoredOperations','_setUpDataInit','isUndoneOperation','1NoAXKB','disableReadOnlyMode','_pendingAction','config','realtimecollaborationclient-init-non-existent-root','showWarning','model','root','differ','_hasSynchronizationProblem','marker','fromJSON','getConnectedSessions','isEnabled','sendOperations','lastDocumentSession','_handleExternalOperations','_sendBufferedOperations','bind','fire','_document','high','realtimecollaborationclient-handleserverresponse','_refreshUserSelectionMarkers','pluginName','cs:removeUser','multi-root-editor-root-attributes-no-root','PENDING_ACTION_SENDING_DATA','lastOperationId','CommentsOnly','300505JdXMrh','1263311cfJwJy','__className','Permissions','_operationIdentifier','has','suppressErrorInCollaboration','from','connected','_baseBufferDelay','position','isReadOnly','_connectAfterSessionHasBeenFlushed','view','data','serverHistory','_setPendingAction','isDocumentOperation','_initSessionsHandling','includes','filter','isOfficialPlugin','connect','realtimecollaborationclient-init-session-connection-error','then','_operationToId','targetPosition','add','plugins','InsertOperation','isPremiumPlugin','ready','init','_hasSelectionChanged','_fetchMissingUsers','_handleReconnectionResponse','toJSON','realtimecollaborationclient-sendbufferedoperations','sessionAdd:','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','code','type','_handleSendingSelectionMarkers','createRoot','rtc-offline','realtimecollaborationclient-init-connection-failed','insert','_getAffectedRoot','operationsReceived','cloud-services-internal-error:\x20Request\x20timeout.','roots','document:write','2514723UxsiWB','end','wereChangesApplied','2159390efNWJN','reconnection:\x20flushed\x20session','_currentBufferDelay','real-time-collaboration','addOperation','wasUndone','_bufferedOperations','keys','_sendBufferedOperationsDelayed','$root','_isDisconnection','_getOperationsFromInitData','rootsAttributes','initData','_knownRootNames','slice','compress','enableReadOnlyMode','editor','decompress','lastSyncVersion','4Pabsjb','64224CmYkMw','mySessionId','stop','string','history','listenTo','addRootAttribute','_handleInitialConnectionData','change:_isPendingUpdate','_authorId','attributes','_isAttached','batch','_disconnectService','baseVersion','unregister','cloudServices.bundleVersion','_lastServerVersion','channelSessions','_saveOperationInBuffer','getRoot','createPositionAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','loadRoot','cloud-services-internal-error:\x20Not\x20connected.','selection','document','length','reconnect','return','_initThrowingOnDataSet','getUser','destroy','createUserMarkerOperations','getOperationAuthor','round','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','message','_shouldSendSelectionUpdate'];_0x478f=function(){return _0x102293;};return _0x478f();}function _0x160f(_0x1de1bb,_0x1330c8){const _0x478fd7=_0x478f();return _0x160f=function(_0x160f01,_0x5bd529){_0x160f01=_0x160f01-0x73;let _0x54494c=_0x478fd7[_0x160f01];return _0x54494c;},_0x160f(_0x1de1bb,_0x1330c8);}import{transformOperationSets as _0x3f1854,NoOperation as _0x2ab932,InsertOperation as _0x171d3d,MarkerOperation as _0x2173be,RootAttributeOperation as _0x761e99,OperationFactory as _0x97632e,History as _0xb8e312}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x505a49}from'./websocketgateway.js';import{Sessions as _0x3da466}from'./sessions.js';import{UserMarkers as _0x277e2b}from'./usermarkers.js';import{getTranslation as _0x580bf5}from'../common-translations.js';import{Compressor as _0x375590}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1d200b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x241ed5,CollaborativeEditingService as _0x3d553b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x5d8bc5{static [_0x50b64d(0x109)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3d553b)());[_0x50b64d(0x115)];[_0x50b64d(0x13d)];[_0x50b64d(0x95)];[_0x50b64d(0x116)];[_0x50b64d(0x130)];[_0x50b64d(0x7c)];[_0x50b64d(0x15e)];[_0x50b64d(0xc3)];[_0x50b64d(0x13f)];[_0x50b64d(0xcb)];[_0x50b64d(0x171)];[_0x50b64d(0xa7)];[_0x50b64d(0x11f)];[_0x50b64d(0x8f)];[_0x50b64d(0xbf)];[_0x50b64d(0x12c)];[_0x50b64d(0x146)];[_0x50b64d(0x8a)];static get[_0x50b64d(0x154)](){return[_0x505a49,_0x3da466,_0x277e2b,_0x485d5f,_0x1d200b,_0x216b94];}static get[_0x50b64d(0x80)](){const _0x90e980=_0x50b64d;return _0x90e980(0x160);}static get[_0x50b64d(0x9b)](){return!0x0;}static get[_0x50b64d(0xa4)](){return!0x0;}get[_0x50b64d(0x14f)](){const _0x420483=_0x50b64d;return this[_0x420483(0xe4)]+this[_0x420483(0x115)];}get[_0x50b64d(0xe4)](){const _0x5e43c1=_0x50b64d;return this[_0x5e43c1(0x95)][_0x5e43c1(0x107)]-this[_0x5e43c1(0x115)];}get[_0x50b64d(0xd1)](){const _0x3b45e9=_0x50b64d,_0x2057ab=this[_0x3b45e9(0x95)][_0x3b45e9(0x113)]();for(let _0x57d090=_0x2057ab[_0x3b45e9(0xee)]-0x1;_0x57d090>=0x0;_0x57d090--){const _0x13cb90=_0x2057ab[_0x57d090];if(!this[_0x3b45e9(0x146)][_0x3b45e9(0x8b)](_0x13cb90))return _0x13cb90[_0x3b45e9(0xe1)]+0x1-this[_0x3b45e9(0x115)];}return 0x0;}constructor(_0x249792){const _0x17b3ec=_0x50b64d;if(super(_0x249792),this[_0x17b3ec(0x115)]=0x0,this[_0x17b3ec(0x13d)]=null,this[_0x17b3ec(0x95)]=new _0xb8e312(),this[_0x17b3ec(0xcf)][_0x17b3ec(0x172)][_0x17b3ec(0x129)](_0x17b3ec(0x13b),{}),this[_0x17b3ec(0x116)]=this[_0x17b3ec(0xcf)][_0x17b3ec(0x172)][_0x17b3ec(0x161)](_0x17b3ec(0x135)),!this[_0x17b3ec(0x116)])throw new _0x1f33d7(_0x17b3ec(0x10d),this);const _0xc738f6=_0x249792[_0x17b3ec(0x172)][_0x17b3ec(0x161)](_0x17b3ec(0xe3))||_0x464c47;this[_0x17b3ec(0x130)]=new l[(_0x17b3ec(0x109))](_0xc738f6,this[_0x17b3ec(0x116)]),this[_0x17b3ec(0x7c)]=this[_0x17b3ec(0xcf)][_0x17b3ec(0x175)][_0x17b3ec(0xed)],this[_0x17b3ec(0x15e)]=new _0x375590(),this[_0x17b3ec(0xc3)]=[],this[_0x17b3ec(0x13f)]=new WeakSet(),this[_0x17b3ec(0xcb)]=new Set(),this[_0x17b3ec(0x145)](_0x17b3ec(0x10a),!0x1),this[_0x17b3ec(0x145)](_0x17b3ec(0x178),!0x1),this[_0x17b3ec(0x171)]=null,this[_0x17b3ec(0xa7)]=!0x1,this[_0x17b3ec(0x11f)]=null,this[_0x17b3ec(0x8f)]=0x12c,this[_0x17b3ec(0xbf)]=this[_0x17b3ec(0x8f)],this[_0x17b3ec(0x12c)]=null,this[_0x17b3ec(0x146)]=new WeakSet(),this[_0x17b3ec(0x8a)]=new F(this[_0x17b3ec(0x146)]);}[_0x50b64d(0xa6)](){const _0x5e2b85=_0x50b64d,_0x226bb6=this[_0x5e2b85(0xcf)],_0x333b5b=_0x226bb6[_0x5e2b85(0xa2)][_0x5e2b85(0x161)](_0x1d200b),_0x168370=_0x226bb6[_0x5e2b85(0xa2)][_0x5e2b85(0x161)](_0x505a49);this[_0x5e2b85(0xd8)](_0x333b5b,_0x5e2b85(0xf5),(_0x3721cc,_0x5f045d)=>{const _0x152cab=_0x5e2b85,_0x493857=_0x5f045d[0x0];_0x493857[_0x152cab(0xdc)]&&(_0x3721cc[_0x152cab(0xf0)]=_0x333b5b[_0x152cab(0xf2)](_0x493857[_0x152cab(0xdc)]),_0x3721cc[_0x152cab(0xd5)]()),null===_0x493857[_0x152cab(0xdc)]&&(_0x3721cc[_0x152cab(0xf0)]=null,_0x3721cc[_0x152cab(0xd5)]());},{'priority':_0x5e2b85(0x7d)}),this[_0x5e2b85(0xd8)](_0x226bb6[_0x5e2b85(0x175)][_0x5e2b85(0xed)][_0x5e2b85(0xec)],_0x5e2b85(0x140),(_0x627b74,_0x3ca1ed)=>{const _0x59f66f=_0x5e2b85;_0x3ca1ed[_0x59f66f(0x163)]&&this[_0x59f66f(0x7f)]();}),this[_0x5e2b85(0xd8)](_0x226bb6[_0x5e2b85(0x102)][_0x5e2b85(0x93)],_0x5e2b85(0x141),()=>{const _0x26b94c=_0x5e2b85;this[_0x26b94c(0x7f)]();}),this[_0x5e2b85(0xf1)](),_0x226bb6[_0x5e2b85(0x175)]['on'](_0x5e2b85(0xfd),(_0x363a72,_0x29ce4b)=>{const _0x51d520=_0x5e2b85,_0x5c459b=_0x29ce4b[0x0];_0x5c459b[_0x51d520(0x97)]&&(this[_0x51d520(0xe6)](_0x5c459b),this[_0x51d520(0x138)]()&&this[_0x51d520(0xc5)]());}),this[_0x5e2b85(0x16d)](),this[_0x5e2b85(0x7a)](_0x5e2b85(0x162))['to'](_0x168370,_0x5e2b85(0x100),this,_0x5e2b85(0x178),(_0x5472c3,_0x38a519)=>_0x5e2b85(0x8e)===_0x5472c3&&!_0x38a519),this['on'](_0x5e2b85(0x104),()=>{const _0x30d3dc=_0x5e2b85;this[_0x30d3dc(0x162)]?_0x226bb6[_0x30d3dc(0x170)](_0x30d3dc(0xb2)):_0x226bb6[_0x30d3dc(0xce)](_0x30d3dc(0xb2));}),this[_0x5e2b85(0x162)]?_0x226bb6[_0x5e2b85(0x170)](_0x5e2b85(0xb2)):_0x226bb6[_0x5e2b85(0xce)](_0x5e2b85(0xb2)),this[_0x5e2b85(0x145)](_0x5e2b85(0x11a),!0x1);}async[_0x50b64d(0xef)](){const _0x50b1c0=_0x50b64d,_0x7fb608=this[_0x50b1c0(0xcf)][_0x50b1c0(0xa2)][_0x50b1c0(0x161)](_0x3da466),_0x1342f6=this[_0x50b1c0(0xcf)][_0x50b1c0(0xa2)][_0x50b1c0(0x161)](_0x505a49);try{this[_0x50b1c0(0x10a)]=!0x0,_0x7fb608[_0x50b1c0(0xe2)](this[_0x50b1c0(0x116)]);const _0x56a30a=await this[_0x50b1c0(0x130)][_0x50b1c0(0xef)](_0x1342f6[_0x50b1c0(0x117)],this[_0x50b1c0(0xd1)]);await this[_0x50b1c0(0xa9)](_0x56a30a)&&(this[_0x50b1c0(0x10a)]=!0x1,this[_0x50b1c0(0x126)]());const _0x4944f1=await this[_0x50b1c0(0x130)][_0x50b1c0(0x74)]();_0x7fb608[_0x50b1c0(0x13e)](this[_0x50b1c0(0x116)],_0x4944f1),this[_0x50b1c0(0xb0)](),this[_0x50b1c0(0x11a)]=!0x0;}catch(_0x3cac4a){if(function(_0x517ea6){const _0x5429b7=_0x50b1c0;return _0x5429b7(0x15f)===_0x517ea6[_0x5429b7(0xae)];}(_0x3cac4a)&&this[_0x50b1c0(0x13d)])await this[_0x50b1c0(0x92)]();else{if(function(_0x102954){const _0x146f36=_0x50b1c0;return _0x146f36(0x10b)===_0x102954[_0x146f36(0xae)];}(_0x3cac4a)){const _0x485b9d=_0x580bf5(this[_0x50b1c0(0xcf)][_0x50b1c0(0x10f)],_0x50b1c0(0xad));this[_0x50b1c0(0x148)](_0x485b9d);}else{if(!(_0x3cac4a instanceof V))throw _0x3cac4a;this[_0x50b1c0(0x148)]();}}}}[_0x50b64d(0xf3)](){const _0x147594=_0x50b64d,_0x4f4ac5=this[_0x147594(0xcf)][_0x147594(0xa2)][_0x147594(0x161)](_0x505a49),_0x42f953=this[_0x147594(0xcf)][_0x147594(0xa2)][_0x147594(0x161)](_0x3da466);this[_0x147594(0xcf)][_0x147594(0xce)](_0x147594(0x133)),_0x42f953[_0x147594(0xe5)][_0x147594(0x8b)](this[_0x147594(0x116)])&&_0x42f953[_0x147594(0xe2)](this[_0x147594(0x116)]),_0x4f4ac5[_0x147594(0x151)](this),this[_0x147594(0xe0)](),super[_0x147594(0xf3)]();}async[_0x50b64d(0xa9)](_0x1f98b4){const _0x60c54=_0x50b64d;if(this[_0x60c54(0x13d)]!==_0x1f98b4[_0x60c54(0x13d)]&&this[_0x60c54(0x12c)]!==_0x1f98b4[_0x60c54(0x84)])throw new V();return this[_0x60c54(0x13d)]=_0x1f98b4[_0x60c54(0x13d)],this[_0x60c54(0x121)]([],{..._0x1f98b4,'wereChangesApplied':!0x1,'data':_0x1f98b4[_0x60c54(0x94)]},_0x60c54(0xef));}async[_0x50b64d(0x13a)](_0x3ce52c,_0x36d431=!0x1){const _0x569c34=_0x50b64d,{connection:_0x5c7589}=this[_0x569c34(0xcf)][_0x569c34(0xa2)][_0x569c34(0x161)](_0x505a49);l[_0x569c34(0x109)][_0x569c34(0x74)](_0x5c7589,this[_0x569c34(0x116)])[_0x569c34(0x9e)](_0x2f1a50=>this[_0x569c34(0x98)](_0x2f1a50))[_0x569c34(0x156)](_0x5a2a4e=>{const _0x2940c7=_0x569c34;this[_0x2940c7(0x110)](_0x2940c7(0x9d),_0x5a2a4e);}),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0xb6),this[_0x569c34(0x159)][_0x569c34(0x7a)](this)),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0x16a),(_0x2d1028,_0x5600fd)=>{const _0x1f7002=_0x569c34;this[_0x1f7002(0x110)](_0x1f7002(0x167),_0x5600fd);}),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0x103),()=>{const _0x18f2e3=_0x569c34;this[_0x18f2e3(0x11a)]=!0x1;});const _0x3b280c=this[_0x569c34(0x8a)][_0x569c34(0x108)](_0x3ce52c);this[_0x569c34(0x10a)]=!0x0;const _0x278b29=await this[_0x569c34(0x130)][_0x569c34(0x9c)](_0x5c7589,this[_0x569c34(0x155)](_0x3ce52c),_0x3b280c);if(this[_0x569c34(0x13d)]=_0x278b29[_0x569c34(0x13d)],_0x36d431){if(!_0x278b29[_0x569c34(0xbc)])return void this[_0x569c34(0x148)]();this[_0x569c34(0x10a)]=!0x1,this[_0x569c34(0x126)](),this[_0x569c34(0x95)][_0x569c34(0x123)](),this[_0x569c34(0x115)]=_0x278b29[_0x569c34(0x165)],this[_0x569c34(0x95)][_0x569c34(0x107)]=this[_0x569c34(0x115)],await this[_0x569c34(0x121)](_0x3ce52c,_0x278b29,_0x569c34(0xbe));}else await this[_0x569c34(0xda)](_0x278b29,_0x3ce52c);this[_0x569c34(0xb0)](),this[_0x569c34(0x11a)]=!0x0;}[_0x50b64d(0xb0)](){const _0x35ce07=_0x50b64d,_0x5f1d67=this[_0x35ce07(0xcf)][_0x35ce07(0xa2)][_0x35ce07(0x161)](_0x3da466),_0x56c165=this[_0x35ce07(0xcf)][_0x35ce07(0xa2)][_0x35ce07(0x161)](_0x277e2b),_0x27cac9=_0x5f1d67[_0x35ce07(0xe5)][_0x35ce07(0x161)](this[_0x35ce07(0x116)]);_0x27cac9&&_0x27cac9[_0x35ce07(0xee)]>0x1?_0x56c165[_0x35ce07(0xf4)]():this[_0x35ce07(0xd8)](_0x5f1d67,_0x35ce07(0xac)+this[_0x35ce07(0x116)],()=>{const _0x4f0df6=_0x35ce07;0x2===_0x5f1d67[_0x4f0df6(0xe5)][_0x4f0df6(0x161)](this[_0x4f0df6(0x116)])[_0x4f0df6(0xee)]&&_0x56c165[_0x4f0df6(0xf4)]();});}async[_0x50b64d(0x159)](_0xb481df,_0x1b357c,_0x414256,_0x29b1e7){const _0x52ab6b=_0x50b64d;if(!this[_0x52ab6b(0x10a)]&&this[_0x52ab6b(0x7c)][_0x52ab6b(0x107)]==_0x1b357c){const _0x1305dd=this[_0x52ab6b(0x127)](_0x414256,_0x29b1e7);await this[_0x52ab6b(0xa8)](_0x1305dd),this[_0x52ab6b(0x78)](_0x1305dd,_0x1b357c,_0x414256[_0x52ab6b(0x84)])||this[_0x52ab6b(0x110)](_0x52ab6b(0x15d));}}async[_0x50b64d(0x92)](){const _0x4569cc=_0x50b64d;this[_0x4569cc(0xe0)]();const {locale:_0x4c25d9}=this[_0x4569cc(0xcf)];let _0x3bb644;try{_0x3bb644=await this[_0x4569cc(0x130)][_0x4569cc(0x11c)]();}catch{const _0x15552f=_0x580bf5(_0x4c25d9,_0x4569cc(0xe9));return void this[_0x4569cc(0x148)](_0x15552f);}const _0x51b2e0=_0x3bb644[_0x4569cc(0x152)]||_0x3bb644[_0x4569cc(0x77)];if(this[_0x4569cc(0x12c)]!==_0x51b2e0[_0x4569cc(0x84)]){const _0x409891=_0x580bf5(_0x4c25d9,_0x4569cc(0xff));return void this[_0x4569cc(0x148)](_0x409891);}await this[_0x4569cc(0x13a)](this[_0x4569cc(0xcf)][_0x4569cc(0x175)][_0x4569cc(0xed)][_0x4569cc(0xd7)][_0x4569cc(0x113)](),!0x0);}[_0x50b64d(0xe0)](){const _0x13ea54=_0x50b64d;this[_0x13ea54(0x130)][_0x13ea54(0x106)](),this[_0x13ea54(0xc3)]=[],clearTimeout(this[_0x13ea54(0x11f)]),this[_0x13ea54(0x10e)](this[_0x13ea54(0x130)]);}[_0x50b64d(0x98)](_0x3bff8f){const _0x15133e=_0x50b64d,_0x1a993d=this[_0x15133e(0xcf)][_0x15133e(0xa2)][_0x15133e(0x161)](_0x3da466);this[_0x15133e(0xd8)](_0x1a993d,_0x15133e(0xac)+this[_0x15133e(0x116)],(_0x47f16c,{session:_0x3eb1e6})=>{const _0xc7fab1=_0x15133e;if(_0x3eb1e6['id']===_0x1a993d[_0xc7fab1(0xd4)]){_0x47f16c[_0xc7fab1(0x10c)]();const _0x1f201e=this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x8b)](_0xc7fab1(0x85))&&this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x161)](_0xc7fab1(0x85));let _0xf7786a=_0x3eb1e6[_0xc7fab1(0x105)];_0x1f201e&&_0x1f201e[_0xc7fab1(0x75)]&&(_0xf7786a=_0xf7786a[_0xc7fab1(0x9a)](_0x47dd12=>_0xc7fab1(0xb9)!==_0x47dd12)),this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x161)](_0xc7fab1(0x89))[_0xc7fab1(0x11b)](_0xf7786a,this[_0xc7fab1(0x116)]);}}),_0x1a993d[_0x15133e(0x13e)](this[_0x15133e(0x116)],_0x3bff8f);}[_0x50b64d(0xf1)](){const _0x145daf=_0x50b64d,_0xbd4ba1=this[_0x145daf(0xcf)][_0x145daf(0x94)][_0x145daf(0x145)];this[_0x145daf(0xcf)][_0x145daf(0x94)][_0x145daf(0x145)]=(..._0x18add2)=>{const _0xda18b3=_0x145daf;if(!_0x18add2[_0x18add2[_0xda18b3(0xee)]-0x1][_0xda18b3(0x8c)])throw new _0x1f33d7(_0xda18b3(0xf7),this);_0xbd4ba1[_0xda18b3(0x118)](this[_0xda18b3(0xcf)][_0xda18b3(0x94)],_0x18add2);};}[_0x50b64d(0x16d)](){const _0x59e121=_0x50b64d;this[_0x59e121(0xcf)][_0x59e121(0x94)]['on'](_0x59e121(0xa6),(_0x48a46f,[_0x45d36d])=>{const _0x3810df=_0x59e121;if(this[_0x3810df(0x7c)][_0x3810df(0x107)])throw new _0x1f33d7(_0x3810df(0x144),this);_0x48a46f[_0x3810df(0xd5)](),this[_0x3810df(0x96)]();const _0x561412=this[_0x3810df(0xcf)][_0x3810df(0x172)][_0x3810df(0x161)](_0x3810df(0xc9)),_0x2129a6=this[_0x3810df(0xc8)](_0x45d36d,_0x561412);0x0==_0x2129a6[_0x3810df(0xee)]&&_0x2129a6[_0x3810df(0x12f)](new _0x2ab932(0x0)),_0x48a46f[_0x3810df(0xf0)]=this[_0x3810df(0x13a)](_0x2129a6)[_0x3810df(0x9e)](()=>{const _0x1657c7=_0x3810df;this[_0x1657c7(0xcf)][_0x1657c7(0xa2)][_0x1657c7(0x161)](_0x505a49)[_0x1657c7(0xfb)](this),this[_0x1657c7(0xcf)][_0x1657c7(0x94)][_0x1657c7(0x7b)](_0x1657c7(0xa5));})[_0x3810df(0x156)](_0x15b799=>this[_0x3810df(0x110)](_0x3810df(0xb3),_0x15b799))[_0x3810df(0x122)](()=>this[_0x3810df(0x126)]());},{'priority':_0x59e121(0x7d)}),this[_0x59e121(0xcf)]['on'](_0x59e121(0xea),async(_0x1cf667,[_0x19ed78,_0x513b66])=>{const _0x4b7bbe=_0x59e121;_0x1cf667[_0x4b7bbe(0xd5)]();const _0x366a50=this[_0x4b7bbe(0xcf)][_0x4b7bbe(0x175)][_0x4b7bbe(0xed)][_0x4b7bbe(0xe7)](_0x19ed78);if(!this[_0x4b7bbe(0xcb)][_0x4b7bbe(0x8b)](_0x19ed78)){const _0x12ec73=_0x513b66&&_0x513b66[_0x4b7bbe(0x94)]?_0x513b66[_0x4b7bbe(0x94)]:'',_0x54479f=_0x513b66&&_0x513b66[_0x4b7bbe(0xdd)]?_0x513b66[_0x4b7bbe(0xdd)]:{};await this[_0x4b7bbe(0x166)](_0x19ed78,_0x12ec73,_0x54479f);}this[_0x4b7bbe(0xcf)][_0x4b7bbe(0x175)][_0x4b7bbe(0x119)]({'isUndoable':!0x1},()=>{const _0x31efa5=_0x4b7bbe;_0x366a50[_0x31efa5(0x15c)]=!0x0,this[_0x31efa5(0xcf)][_0x31efa5(0x175)][_0x31efa5(0xed)][_0x31efa5(0x177)][_0x31efa5(0x16b)](_0x366a50);});},{'priority':_0x59e121(0x7d)});}async[_0x50b64d(0xa8)](_0x3bfc67){const _0x59aedf=_0x50b64d,_0x5b77a7=this[_0x59aedf(0xcf)][_0x59aedf(0xa2)][_0x59aedf(0x161)](_0x1d200b),{connection:_0x22f8fb}=this[_0x59aedf(0xcf)][_0x59aedf(0xa2)][_0x59aedf(0x161)](_0x505a49),_0x44b201=new Set();for(const _0x366482 of _0x3bfc67){const _0x21687f=_0x366482[_0x59aedf(0xdc)];_0x21687f&&!_0x5b77a7[_0x59aedf(0xf2)](_0x21687f)&&_0x44b201[_0x59aedf(0xa1)](_0x21687f);}if(0x0===_0x44b201[_0x59aedf(0x14e)])return;const _0x47bbd0=await _0x241ed5[_0x59aedf(0x168)](_0x22f8fb,Array[_0x59aedf(0x8d)](_0x44b201));for(const _0x50f21e of _0x47bbd0)_0x5b77a7[_0x59aedf(0xf2)](_0x50f21e['id'])||_0x5b77a7[_0x59aedf(0x124)](_0x50f21e);}[_0x50b64d(0xc8)](_0x3bb3c4,_0x2151f6={}){const _0x226f1d=_0x50b64d,_0x24b1a8=this[_0x226f1d(0xcf)][_0x226f1d(0x175)],_0x423666=[];let _0x260108=0x0;const _0x390e98=_0x226f1d(0xd6)==typeof _0x3bb3c4?{'main':_0x3bb3c4}:_0x3bb3c4;for(const _0x38abb6 of Object[_0x226f1d(0xc4)](_0x390e98)){if(!this[_0x226f1d(0x7c)][_0x226f1d(0xb8)][_0x226f1d(0x8b)](_0x38abb6))throw new _0x1f33d7(_0x226f1d(0x173),this);const _0x438f8e=this[_0x226f1d(0xcf)][_0x226f1d(0x94)][_0x226f1d(0x150)](_0x390e98[_0x38abb6]),_0x3e6692=this[_0x226f1d(0x7c)][_0x226f1d(0xe7)](_0x38abb6),_0x2a1a52=new _0x171d3d(_0x24b1a8[_0x226f1d(0xe8)](_0x3e6692,0x0),_0x438f8e,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x2a1a52);for(const [_0x5208b5,_0x45bfa9]of _0x438f8e[_0x226f1d(0x112)]){const _0x5102cb=_0x24b1a8[_0x226f1d(0x134)](_0x24b1a8[_0x226f1d(0x11d)](_0x3e6692,_0x45bfa9[_0x226f1d(0x14c)][_0x226f1d(0xfe)][_0x226f1d(0xcc)]()),_0x24b1a8[_0x226f1d(0x11d)](_0x3e6692,_0x45bfa9[_0x226f1d(0xbb)][_0x226f1d(0xfe)][_0x226f1d(0xcc)]())),_0x188ab4=new _0x2173be(_0x5208b5,null,_0x5102cb,_0x24b1a8[_0x226f1d(0x112)],!0x0,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x188ab4);}}if(_0x2151f6)for(const [_0x1ab184,_0x57ca1d]of Object[_0x226f1d(0x14b)](_0x2151f6)){const _0x51e000=_0x24b1a8[_0x226f1d(0xed)][_0x226f1d(0xe7)](_0x1ab184);if(!_0x51e000)throw new _0x1f33d7(_0x226f1d(0x82),null);for(const [_0x4d271c,_0x4c45bd]of Object[_0x226f1d(0x14b)](_0x57ca1d))if(null!==_0x4c45bd){const _0x794d0c=new _0x761e99(_0x51e000,_0x4d271c,null,_0x4c45bd,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x794d0c);}}return _0x423666;}async[_0x50b64d(0x166)](_0x3a88ce,_0x3824e9,_0x36c619){const _0x40659d=_0x50b64d;this[_0x40659d(0xc8)]({[_0x3a88ce]:_0x3824e9},{[_0x3a88ce]:_0x36c619})[_0x40659d(0x169)]((_0x55d377,_0x571535)=>{const _0x2aab4a=_0x40659d;_0x55d377[_0x2aab4a(0xe1)]=this[_0x2aab4a(0x7c)][_0x2aab4a(0x107)]+_0x571535,_0x55d377[_0x2aab4a(0x147)]=!0x0,this[_0x2aab4a(0xe6)](_0x55d377);}),this[_0x40659d(0xc5)](),await this[_0x40659d(0x101)]();}async[_0x50b64d(0xda)](_0x16824f,_0x367bde){const _0x3f7aa0=_0x50b64d;let _0xe3f218;this[_0x3f7aa0(0x115)]=_0x16824f[_0x3f7aa0(0x165)];const _0x74e4ec=_0x16824f[_0x3f7aa0(0xbc)]&&!_0x16824f[_0x3f7aa0(0xca)],_0xce304c=_0x74e4ec?0x0:_0x16824f[_0x3f7aa0(0x94)][_0x3f7aa0(0xe1)];if(_0x367bde[_0x3f7aa0(0x169)](_0x4df473=>{const _0x4f43e7=_0x3f7aa0;_0x4df473[_0x4f43e7(0x147)]=!0x0,_0x4df473[_0x4f43e7(0x114)]=_0x16824f[_0x4f43e7(0x12a)],_0x4df473[_0x4f43e7(0xdc)]=null;}),_0x74e4ec)_0xe3f218=_0x367bde,this[_0x3f7aa0(0x125)](_0xe3f218,_0x74e4ec);else{if(_0x16824f[_0x3f7aa0(0xca)]){const _0x3dd0c7=this[_0x3f7aa0(0xc8)](_0x16824f[_0x3f7aa0(0xca)]);this[_0x3f7aa0(0x7c)][_0x3f7aa0(0xd7)][_0x3f7aa0(0x107)]=-_0x3dd0c7[_0x3f7aa0(0xee)],_0x3dd0c7[_0x3f7aa0(0x169)](_0x10ed19=>{const _0x18b77b=_0x3f7aa0;_0x10ed19[_0x18b77b(0xe1)]-=_0x3dd0c7[_0x18b77b(0xee)],_0x10ed19[_0x18b77b(0x114)]=_0x16824f[_0x18b77b(0x12a)],_0x10ed19[_0x18b77b(0x147)]=!0x0,_0x10ed19[_0x18b77b(0xdc)]=null;}),this[_0x3f7aa0(0x125)](_0x3dd0c7,!0x0),this[_0x3f7aa0(0x95)][_0x3f7aa0(0x107)]=-_0x3dd0c7[_0x3f7aa0(0xee)]+this[_0x3f7aa0(0x115)],this[_0x3f7aa0(0x15b)](_0x3dd0c7);}this[_0x3f7aa0(0x7c)][_0x3f7aa0(0xd7)][_0x3f7aa0(0x107)]=_0xce304c,_0xe3f218=this[_0x3f7aa0(0x127)](_0x16824f[_0x3f7aa0(0x94)],_0x16824f[_0x3f7aa0(0x15a)]),await this[_0x3f7aa0(0xa8)](_0xe3f218),this[_0x3f7aa0(0x125)](_0xe3f218,_0x74e4ec);}_0x16824f[_0x3f7aa0(0x84)]&&(this[_0x3f7aa0(0x8a)][_0x3f7aa0(0x13c)](_0xe3f218,_0x16824f[_0x3f7aa0(0x84)]),this[_0x3f7aa0(0x12c)]=_0x16824f[_0x3f7aa0(0x84)]),this[_0x3f7aa0(0x95)][_0x3f7aa0(0x107)]=_0xce304c+this[_0x3f7aa0(0x115)],this[_0x3f7aa0(0x15b)](_0xe3f218),_0x367bde[_0x3f7aa0(0x9a)](_0x47f971=>{const _0x593b0b=_0x3f7aa0,_0x8a3813=this[_0x593b0b(0xb5)](_0x47f971);return _0x8a3813&&!this[_0x593b0b(0xcb)][_0x593b0b(0x8b)](_0x8a3813);})[_0x3f7aa0(0x169)]((_0x2f5e63,_0x198329)=>{const _0x37db94=_0x3f7aa0;_0x2f5e63[_0x37db94(0xe1)]=this[_0x37db94(0x7c)][_0x37db94(0x107)]+_0x198329,this[_0x37db94(0xe6)](_0x2f5e63);}),this[_0x3f7aa0(0x138)]()?(this[_0x3f7aa0(0xbf)]=0x0,this[_0x3f7aa0(0xc5)](!0x0),await this[_0x3f7aa0(0x101)]()):(this[_0x3f7aa0(0x10a)]=!0x1,this[_0x3f7aa0(0x126)]());}[_0x50b64d(0x110)](_0x3410c7,_0x1ab3be){const _0x48d830=_0x50b64d,_0x264c15=_0x1ab3be&&_0x1ab3be[_0x48d830(0xf8)];if(_0x264c15&&_0x264c15[_0x48d830(0xfa)](_0x48d830(0x111)))throw _0x1ab3be;const _0x288a53=this[_0x48d830(0xcf)][_0x48d830(0xa2)][_0x48d830(0x161)](_0x505a49);throw this[_0x48d830(0x10a)]=!0x0,_0x288a53[_0x48d830(0x106)](),this[_0x48d830(0xcf)][_0x48d830(0xce)](_0x48d830(0x136)),new _0x1f33d7(_0x3410c7,this[_0x48d830(0xcf)],_0x264c15?{'originalError':_0x264c15}:void 0x0);}[_0x50b64d(0xe6)](_0x5a6b22){const _0x14266e=_0x50b64d;this[_0x14266e(0x13f)][_0x14266e(0x8b)](_0x5a6b22)||(this[_0x14266e(0x13f)][_0x14266e(0xa1)](_0x5a6b22),this[_0x14266e(0xc3)][_0x14266e(0x12f)](_0x5a6b22),this[_0x14266e(0x171)]||_0x14266e(0x179)==_0x5a6b22[_0x14266e(0xaf)]&&!_0x5a6b22[_0x14266e(0x14a)]||this[_0x14266e(0x96)]());}[_0x50b64d(0xc5)](_0x1f708d=!0x1){const _0xdab37=_0x50b64d;!_0x1f708d&&this[_0xdab37(0x10a)]||(this[_0xdab37(0x10a)]=!0x0,clearTimeout(this[_0xdab37(0x11f)]),this[_0xdab37(0x11f)]=setTimeout(()=>{const _0x16c69d=_0xdab37;this[_0x16c69d(0x79)]()[_0x16c69d(0x9e)](_0x440dbe=>{const _0xd4751f=_0x16c69d;_0x440dbe&&(this[_0xd4751f(0x126)](),this[_0xd4751f(0x10a)]=!0x1);})[_0x16c69d(0x156)](_0x1035b2=>{const _0x42c725=_0x16c69d;this[_0x42c725(0x126)](),this[_0x42c725(0x10a)]=!0x1,function(_0x2ad383){const _0x4e0e0b=_0x42c725;return _0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0xeb))||_0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0x149))||_0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0xb7));}(_0x1035b2)||this[_0x42c725(0x110)](_0x1035b2[_0x42c725(0xf8)],_0x1035b2);});},this[_0xdab37(0xbf)]));}[_0x50b64d(0x101)](){return new Promise(_0x546442=>{const _0x2d018a=_0x160f;this['on'](_0x2d018a(0xdb),()=>{_0x546442();});});}async[_0x50b64d(0x79)](){const _0x31ada8=_0x50b64d,_0x24b423=this[_0x31ada8(0xcf)][_0x31ada8(0xa2)][_0x31ada8(0x161)](_0x277e2b);if(this[_0x31ada8(0xf9)]()&&(_0x24b423[_0x31ada8(0xf4)](),this[_0x31ada8(0xa7)]=!0x1),!this[_0x31ada8(0x138)]())return!0x0;const _0x387f34=[...this[_0x31ada8(0xc3)]];for(const _0x5b1bca of _0x387f34)_0x5b1bca[_0x31ada8(0xc2)]=this[_0x31ada8(0x7c)][_0x31ada8(0xd7)][_0x31ada8(0x16e)](_0x5b1bca);const _0x27c4ad=this[_0x31ada8(0x8a)][_0x31ada8(0x108)](_0x387f34),_0x5c6582=H++,_0x8b9242=this[_0x31ada8(0x155)](_0x387f34),_0x2a1e54=await this[_0x31ada8(0x130)][_0x31ada8(0x76)](_0x8b9242,_0x8b9242[_0x31ada8(0xe1)],_0x27c4ad);try{return await this[_0x31ada8(0x121)](_0x387f34,_0x2a1e54,_0x5c6582);}catch(_0x23ed5a){return this[_0x31ada8(0x110)](_0x31ada8(0xab),_0x23ed5a);}}async[_0x50b64d(0x121)](_0x55933a,_0x13ce26,_0x27ed9d){const _0xb17864=_0x50b64d;if(_0xb17864(0x16a)in _0x13ce26)throw _0x13ce26[_0xb17864(0x16a)];let _0x38b778=!0x1;if(_0x13ce26[_0xb17864(0xbc)]){_0x13ce26[_0xb17864(0x84)]&&(this[_0xb17864(0x12c)]=_0x13ce26[_0xb17864(0x84)]),this[_0xb17864(0xc3)]=this[_0xb17864(0xc3)][_0xb17864(0x9a)](_0x18c911=>!_0x55933a[_0xb17864(0x99)](_0x18c911));for(const _0x45b9e5 of _0x55933a)_0x45b9e5[_0xb17864(0x114)]=_0xb17864(0x131)in _0x13ce26&&_0x13ce26[_0xb17864(0x131)]||void 0x0;W(_0x55933a,_0x13ce26[_0xb17864(0x107)]-_0x55933a[_0xb17864(0xee)]),this[_0xb17864(0x15b)](_0x55933a);const _0x18d459=_0x55933a[_0xb17864(0x9a)](_0x54bfde=>{const _0xa7447=_0xb17864;if(!_0x54bfde[_0xa7447(0x147)])return!0x1;const _0x50d7c0=this[_0xa7447(0xb5)](_0x54bfde);return _0x50d7c0&&!this[_0xa7447(0xcb)][_0xa7447(0x8b)](_0x50d7c0);});W(_0x18d459,this[_0xb17864(0x7c)][_0xb17864(0x107)]),this[_0xb17864(0x125)](_0x18d459),_0x38b778=!0x0,this[_0xb17864(0xbf)]=this[_0xb17864(0x8f)];}else{const _0x4d9ff6=this[_0xb17864(0x127)](_0x13ce26[_0xb17864(0x94)],_0x13ce26[_0xb17864(0x15a)])[_0xb17864(0x9a)](_0x3d6bd2=>_0x3d6bd2[_0xb17864(0xe1)]>=this[_0xb17864(0xe4)]);_0x4d9ff6[_0xb17864(0x169)](_0x268f52=>this[_0xb17864(0x153)](_0x268f52)),this[_0xb17864(0xc3)]=this[_0xb17864(0xc3)][_0xb17864(0x9a)](_0x573736=>!_0x573736[_0xb17864(0x147)]||!this[_0xb17864(0xcb)][_0xb17864(0x8b)](this[_0xb17864(0xb5)](_0x573736))),this[_0xb17864(0xc3)][_0xb17864(0xee)]&&W(this[_0xb17864(0xc3)],this[_0xb17864(0xc3)][0x0][_0xb17864(0xe1)]),await this[_0xb17864(0xa8)](_0x4d9ff6),_0x38b778=this[_0xb17864(0x78)](_0x4d9ff6,_0x13ce26[_0xb17864(0x107)],_0x13ce26[_0xb17864(0x84)]),this[_0xb17864(0xbf)]=Math[_0xb17864(0xf6)](this[_0xb17864(0xbf)]/0x2);}return _0x38b778?!this[_0xb17864(0x138)]()||(this[_0xb17864(0xc5)](!0x0),!0x1):this[_0xb17864(0x110)](_0xb17864(0x7e));}[_0x50b64d(0x78)](_0x57554b,_0x231526,_0x4873fb){const _0x4e3aec=_0x50b64d;try{const _0x5a357c={'document':this[_0x4e3aec(0x7c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xbba6a3,operationsB:_0x478f39,originalOperations:_0x1128db}=_0x3f1854(_0x57554b,this[_0x4e3aec(0xc3)],_0x5a357c);W(_0xbba6a3,this[_0x4e3aec(0x7c)][_0x4e3aec(0x107)]),W(_0x478f39,_0x231526);for(const _0xbf0d39 of _0xbba6a3){const _0x5937e1=_0x1128db[_0x4e3aec(0x161)](_0xbf0d39);_0xbf0d39[_0x4e3aec(0xdc)]=_0x5937e1?_0x5937e1[_0x4e3aec(0xdc)]:null;}_0x4873fb&&(this[_0x4e3aec(0x8a)][_0x4e3aec(0x13c)](_0x57554b,_0x4873fb),this[_0x4e3aec(0x12c)]=_0x4873fb),this[_0x4e3aec(0xc3)]=[..._0x478f39],this[_0x4e3aec(0x125)](_0xbba6a3),this[_0x4e3aec(0x15b)](_0x57554b);}catch(_0x3cec8b){return console[_0x4e3aec(0x16a)](_0x3cec8b),!0x1;}return!0x0;}[_0x50b64d(0x125)](_0x3bd984,_0x1a6c99=!0x1){const _0xd7f5ec=_0x50b64d;this[_0xd7f5ec(0xcf)][_0xd7f5ec(0x175)][_0xd7f5ec(0x119)]({'isUndoable':!0x1,'isLocal':!0x1},_0x25d238=>{const _0x10a893=_0xd7f5ec;for(const _0x466c6d of _0x3bd984)this[_0x10a893(0x13f)][_0x10a893(0xa1)](_0x466c6d),this[_0x10a893(0x153)](_0x466c6d),_0x25d238[_0x10a893(0xdf)][_0x10a893(0xc1)](_0x466c6d),this[_0x10a893(0xcf)][_0x10a893(0x175)][_0x10a893(0xfd)](_0x466c6d);});}[_0x50b64d(0x153)](_0x597f84){const _0x1d753c=_0x50b64d,_0x4c0da2=this[_0x1d753c(0xb5)](_0x597f84);_0x4c0da2&&this[_0x1d753c(0xcb)][_0x1d753c(0xa1)](_0x4c0da2);}[_0x50b64d(0xb5)](_0x46c187){const _0x2e173d=_0x50b64d;let _0x118b29,_0x33fbc4;switch(_0x46c187[_0x2e173d(0xaf)]){case _0x2e173d(0xb4):_0x118b29=_0x46c187[_0x2e173d(0x90)][_0x2e173d(0x176)];break;case _0x2e173d(0x179):if(_0x33fbc4=_0x46c187[_0x2e173d(0x158)],!_0x33fbc4)return null;_0x118b29=_0x33fbc4[_0x2e173d(0x176)];break;case _0x2e173d(0xd9):_0x118b29=_0x46c187[_0x2e173d(0x176)];break;case _0x2e173d(0x143):_0x118b29=_0x46c187[_0x2e173d(0x120)];break;case _0x2e173d(0x132):_0x118b29=_0x46c187[_0x2e173d(0xa0)][_0x2e173d(0x176)];break;default:return null;}return _0x118b29[_0x2e173d(0x11e)];}[_0x50b64d(0x15b)](_0x398345){const _0x565fb7=_0x50b64d;_0x398345[_0x565fb7(0x169)](_0x3a41ec=>{const _0x27ed8d=_0x565fb7,_0x541583=_0x3a41ec[_0x27ed8d(0x12b)]();_0x541583[_0x27ed8d(0xdc)]=_0x3a41ec[_0x27ed8d(0xdc)],_0x541583[_0x27ed8d(0x147)]=!!_0x3a41ec[_0x27ed8d(0x147)],_0x541583[_0x27ed8d(0x114)]=_0x3a41ec[_0x27ed8d(0x114)],_0x541583[_0x27ed8d(0xe1)]+=this[_0x27ed8d(0x115)],_0x3a41ec[_0x27ed8d(0xc7)]&&this[_0x27ed8d(0x146)][_0x27ed8d(0xa1)](_0x541583),this[_0x27ed8d(0x95)][_0x27ed8d(0xc1)](_0x541583);});}[_0x50b64d(0x148)](_0x369692){const _0x1a13f6=_0x50b64d,_0xf81c4=this[_0x1a13f6(0xcf)][_0x1a13f6(0xa2)][_0x1a13f6(0x161)](_0x1a13f6(0x14d)),_0x4f4a6f=this[_0x1a13f6(0xcf)][_0x1a13f6(0x10f)];_0x369692||(_0x369692=_0x580bf5(_0x4f4a6f,_0x1a13f6(0x12e))),_0xf81c4[_0x1a13f6(0x174)](_0x369692,{'title':_0x580bf5(_0x4f4a6f,_0x1a13f6(0xfc)),'namespace':_0x1a13f6(0xc0)}),this[_0x1a13f6(0x178)]=!0x0,clearTimeout(this[_0x1a13f6(0x11f)]),this[_0x1a13f6(0xc3)]=[],this[_0x1a13f6(0xcf)][_0x1a13f6(0xa2)][_0x1a13f6(0x161)](_0x505a49)[_0x1a13f6(0x106)]();}[_0x50b64d(0x96)](){const _0x23615a=_0x50b64d;this[_0x23615a(0x171)]||(this[_0x23615a(0x171)]=this[_0x23615a(0xcf)][_0x23615a(0xa2)][_0x23615a(0x161)](_0x485d5f)[_0x23615a(0xa1)](_0x580bf5(this[_0x23615a(0xcf)][_0x23615a(0x10f)],_0x23615a(0x83))));}[_0x50b64d(0x126)](){const _0x358991=_0x50b64d;this[_0x358991(0x171)]&&(this[_0x358991(0xcf)][_0x358991(0xa2)][_0x358991(0x161)](_0x485d5f)[_0x358991(0x142)](this[_0x358991(0x171)]),this[_0x358991(0x171)]=null);}[_0x50b64d(0x155)](_0x10310a){const _0xa94e54=_0x50b64d,_0x128daf=_0x10310a[_0xa94e54(0x128)](_0x47ff76=>_0x47ff76[_0xa94e54(0xaa)]());return this[_0xa94e54(0x15e)][_0xa94e54(0xcd)](_0x128daf);}[_0x50b64d(0x127)](_0x21171d,_0xe9d365){const _0x681826=_0x50b64d;return this[_0x681826(0x15e)][_0x681826(0xd0)](_0x21171d)[_0x681826(0x128)]((_0x58f826,_0x15414b)=>{const _0x126ec2=_0x681826,_0x448fe4=_0x126ec2(0xa6)==_0xe9d365[_0x15414b][_0x126ec2(0xaf)];if(_0x126ec2(0xa3)==_0x58f826[_0x126ec2(0x88)]){const _0x26459a=_0x58f826[_0x126ec2(0x90)][_0x126ec2(0x176)];!this[_0x126ec2(0x7c)][_0x126ec2(0xe7)](_0x26459a)&&(this[_0x126ec2(0x7c)][_0x126ec2(0xb1)](_0x126ec2(0xc6),_0x26459a)[_0x126ec2(0xde)]=!0x1);}const _0x219ce7=_0x97632e[_0x126ec2(0x73)](_0x58f826,this[_0x126ec2(0x7c)]);return _0x219ce7[_0x126ec2(0xc2)]=_0x58f826[_0x126ec2(0xc2)],_0x219ce7[_0x126ec2(0x147)]=_0x448fe4,_0x219ce7[_0x126ec2(0xdc)]=_0x448fe4?null:_0xe9d365[_0x15414b][_0x126ec2(0x12d)],_0x219ce7[_0x126ec2(0xc7)]=_0x126ec2(0x81)===_0xe9d365[_0x15414b][_0x126ec2(0xaf)],_0x219ce7[_0x126ec2(0x114)]=_0xe9d365[_0x15414b][_0x126ec2(0x114)],_0x219ce7;});}[_0x50b64d(0x7f)](){const _0x3ebc93=_0x50b64d;this[_0x3ebc93(0xa7)]=!0x0,this[_0x3ebc93(0xf9)]()?this[_0x3ebc93(0xc5)]():this[_0x3ebc93(0xa7)]=!0x1;}[_0x50b64d(0xf9)](){const _0x6a9e49=_0x50b64d,_0x2547ee=this[_0x6a9e49(0xcf)][_0x6a9e49(0xa2)][_0x6a9e49(0x161)](_0x3da466)[_0x6a9e49(0xe5)][_0x6a9e49(0x161)](this[_0x6a9e49(0x116)]);return!this[_0x6a9e49(0xcf)][_0x6a9e49(0x91)]&&!!_0x2547ee&&_0x2547ee[_0x6a9e49(0xee)]>0x1&&this[_0x6a9e49(0xa7)];}[_0x50b64d(0x138)](){const _0x13bfbd=_0x50b64d;return this[_0x13bfbd(0xc3)][_0x13bfbd(0xee)]>0x0||this[_0x13bfbd(0xf9)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x37e302,_0x3a3200){const _0xbcccd3=_0x50b64d;for(const _0x5c244e of _0x37e302)_0x5c244e[_0xbcccd3(0xe1)]=_0x3a3200++;}class F{[_0x50b64d(0x16c)];[_0x50b64d(0x9f)];constructor(_0x52131d){const _0xd3cd27=_0x50b64d;this[_0xd3cd27(0x16c)]=_0x52131d,this[_0xd3cd27(0x9f)]=new WeakMap();}[_0x50b64d(0x108)](_0x17dcd5){const _0x40fd2e=_0x50b64d;let _0x6a943c=_0x17dcd5[_0x40fd2e(0xee)];for(;_0x6a943c--;){const _0x197db4=_0x17dcd5[_0x6a943c];if(!this[_0x40fd2e(0x16c)][_0x40fd2e(0x8b)](_0x197db4)){if(!this[_0x40fd2e(0x9f)][_0x40fd2e(0x8b)](_0x197db4)){const _0xbcc439=_0x596176()[_0x40fd2e(0xcc)](0x1,0x12);this[_0x40fd2e(0x9f)][_0x40fd2e(0x145)](_0x197db4,_0xbcc439);}return this[_0x40fd2e(0x9f)][_0x40fd2e(0x161)](_0x197db4);}}}[_0x50b64d(0x13c)](_0x22d570,_0xd76513){const _0x753336=_0x50b64d;if(!_0xd76513)return;let _0x2adab5=_0x22d570[_0x753336(0xee)];for(;_0x2adab5--;){const _0x19cf58=_0x22d570[_0x2adab5];this[_0x753336(0x16c)][_0x753336(0x8b)](_0x19cf58)||this[_0x753336(0x9f)][_0x753336(0x145)](_0x19cf58,_0xd76513);}}}
23
+ const _0x281a0b=_0x220c;function _0x16bd(){const _0x48df11=['_handleServerResponse','real-time-collaboration','_shouldSendUpdate','then','define','_setUpDataInit','getMany','realtimecollaborationclient','change:_isPendingUpdate','forEach','collaboration','channelSessions','message','document:write','offset','editor','_handleExternalOperations','bind','addOperation','document','ready','_isEditingAllowed','version','set','_sendBufferedOperations','startsWith','_knownOperations','reconnection:\x20flushed\x20session','_isInit','getUser','start','pluginName','connection','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','view','baseVersion','33477LhmHXJ','fire','type','7877528fEDwfN','lastOperationId','404','getRoot','176CKSkkX','_sendBufferedOperationsDelayId','history','CommentsOnly','_sendBufferedOperationsDelayed','_setPendingAction','_waitUntilSynced','_offset','realtimecollaborationclient-init-session-connection-error','_hasSelectionChanged','newRange','insert','isReadOnly','position','map','_bufferRootLoad','connected','initData','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.','getIdOfTheLastOperation','root','_handleReconnectionResponse','PENDING_ACTION_SENDING_DATA','37385YbLOlX','rootName','_initThrowingOnDataSet','collaboration-missing-channelid','lastOperationAcceptedAt','addRoot','_connectAfterSessionHasBeenFlushed','_compressOperations','from','string','RealTimeCollaborationClient','addRootAttribute','_currentBufferDelay','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Request\x20timeout.','plugins','lastDocumentSession','apply','_disconnectionOperations','517kAFDkg','init','createUserMarkerOperations','off','createRoot','_loadRoot','_handleReceivedOperations','suppressErrorInCollaboration','return','applyOperation','createRange','_connectService','loadRoot','roots','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','metadata','_pendingAction','_authorId','serverHistory','selection','markers','_refreshUserSelectionMarkers','rtc-destroyed','push','size','locale','mySessionId','_ignoredOperations','3407455hgSgrK','createPositionFromPath','_channelId','isOfficialPlugin','__className','attributes','_disconnectService','_saveOperationInBuffer','getConnectedSessions','targetPosition','add','collaboration.channelId','_crash','162230hKCtaD','data','currentDocumentSession','high','config','permissions','unregister','isDocumentOperation','code','get','end','sessionCreatedAt','_baseBufferDelay','addToReconnectionStack','$root','isPremiumPlugin','_isLoaded','remove','realtimecollaborationclient-error','_addKnownRoot','22DvVhnB','model','cloudServices.bundleVersion','removeFromReconnectionStack','realtimecollaborationclient-sendbufferedoperations','disconnect','_handleSendingSelectionMarkers','connect','reset','userId','marker','sessionAdd:','realtimecollaborationclient-init-document-already-initialized','Notification','realtimecollaborationclient-init-non-existent-root','_bufferedOperations','isUndoneOperation','directChange','_lastSyncedOperationId','_operationIdentifier','has','9993618mrzqIA','slice','differ','addUser','wereChangesApplied','change:_isEditingAllowed','setPermissions','_isPendingUpdate','disconnected','decompress','length','realtimecollaborationclient-init-connection-failed','state','reconnect','stopListening','realtimecollaborationclient-handleserverresponse','clone','operationsReceived','catch','path','fromJSON','cloud-services-internal-error:\x20Not\x20connected.','rootsAttributes','cs:removeUser','_decompressOperations','_initSessionsHandling','destroy','_lastServerVersion','_isAttached','83629oBWOFg','_knownRootNames','createdAt','Permissions','sessionId','_isDisconnection','realtimecollaborationclient-init-service-incorrect-server-operation','_operationToId','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.','realtimecollaborationclient-init-service-internal-error','_updateServerHistory','isEnabled','getOperationAuthor','error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_getOperationsFromInitData','affectedSelectable','_getAffectedRoot','getOperations','toJSON','_applyOperationsSet','_clearPendingAction','change:hasDomSelection','CollaborativeEditingService','keys','filter','enableReadOnlyMode','_compressor','disableReadOnlyMode','showWarning','register','_service','270nrCUmn','parse','getDocumentDetails','409','enqueueChange','round','affectsData','_handleInitialConnectionData','setIdForTheLastOperation','_document','stop','finally','change:range','_fetchMissingUsers','_handleReconnectionError','_isConnected','sendOperations','createPositionAt','lastSyncVersion','listenTo','entries','requires','_hasSynchronizationProblem','editing','_shouldSendSelectionUpdate','InsertOperation','wasUndone','move','batch','Synchronization\x20issue','includes','cloudDocumentVersion','rtc-offline'];_0x16bd=function(){return _0x48df11;};return _0x16bd();}(function(_0x412713,_0x247105){const _0x13cb8c=_0x220c,_0x2fcc1b=_0x412713();while(!![]){try{const _0x1ade4a=parseInt(_0x13cb8c(0x1b1))/0x1*(parseInt(_0x13cb8c(0xfa))/0x2)+parseInt(_0x13cb8c(0x193))/0x3*(parseInt(_0x13cb8c(0x19a))/0x4)+-parseInt(_0x13cb8c(0xd9))/0x5+-parseInt(_0x13cb8c(0x14c))/0x6*(parseInt(_0x13cb8c(0x12c))/0x7)+-parseInt(_0x13cb8c(0x196))/0x8+parseInt(_0x13cb8c(0x10f))/0x9+parseInt(_0x13cb8c(0xe6))/0xa*(parseInt(_0x13cb8c(0x1c4))/0xb);if(_0x1ade4a===_0x247105)break;else _0x2fcc1b['push'](_0x2fcc1b['shift']());}catch(_0x21fc14){_0x2fcc1b['push'](_0x2fcc1b['shift']());}}}(_0x16bd,0x8b7b5));import{Plugin as _0x268b04,PendingActions as _0x5b0a3a}from'ckeditor5/src/core.js';import{CKEditorError as _0x1d9fc8,version as _0x17ab1f,uid as _0x5b7d9a}from'ckeditor5/src/utils.js';import{Notification as _0x27a93a}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x262c90,NoOperation as _0x598329,InsertOperation as _0x140f37,MarkerOperation as _0x55a2f6,RootAttributeOperation as _0x1fc31e,OperationFactory as _0x40d72f,History as _0x2f7364}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5ae451}from'./websocketgateway.js';import{Sessions as _0x49063d}from'./sessions.js';import{UserMarkers as _0x1c52a1}from'./usermarkers.js';import{getTranslation as _0x501ffb}from'../common-translations.js';import{Compressor as _0x48e339}from'@ckeditor/ckeditor5-operations-compressor';function _0x220c(_0x1b3b77,_0x5e5ac1){const _0x16bdb0=_0x16bd();return _0x220c=function(_0x220cc1,_0x1010d2){_0x220cc1=_0x220cc1-0xd7;let _0x435e10=_0x16bdb0[_0x220cc1];return _0x435e10;},_0x220c(_0x1b3b77,_0x5e5ac1);}import{Users as _0x598df0}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3decfe,CollaborativeEditingService as _0x5aa15a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x268b04{static [_0x281a0b(0x143)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5aa15a)());[_0x281a0b(0x1a1)];[_0x281a0b(0x130)];[_0x281a0b(0x1d6)];[_0x281a0b(0xdb)];[_0x281a0b(0x14b)];[_0x281a0b(0x155)];[_0x281a0b(0x147)];[_0x281a0b(0x109)];[_0x281a0b(0x187)];[_0x281a0b(0x12d)];[_0x281a0b(0x1d4)];[_0x281a0b(0x1a3)];[_0x281a0b(0x19b)];[_0x281a0b(0xf2)];[_0x281a0b(0x1bd)];[_0x281a0b(0x10c)];[_0x281a0b(0x1c3)];[_0x281a0b(0x10d)];static get[_0x281a0b(0x161)](){return[_0x5ae451,_0x49063d,_0x1c52a1,_0x5b0a3a,_0x598df0,_0x27a93a];}static get[_0x281a0b(0x18c)](){const _0x1477da=_0x281a0b;return _0x1477da(0x1bb);}static get[_0x281a0b(0xdc)](){return!0x0;}static get[_0x281a0b(0xf5)](){return!0x0;}get[_0x281a0b(0x16b)](){const _0x15ceba=_0x281a0b;return this[_0x15ceba(0x12a)]+this[_0x15ceba(0x1a1)];}get[_0x281a0b(0x12a)](){const _0x449bc5=_0x281a0b;return this[_0x449bc5(0x1d6)][_0x449bc5(0x183)]-this[_0x449bc5(0x1a1)];}get[_0x281a0b(0x15e)](){const _0x4a122e=_0x281a0b,_0x51a0fe=this[_0x4a122e(0x1d6)][_0x4a122e(0x13e)]();for(let _0x51b710=_0x51a0fe[_0x4a122e(0x119)]-0x1;_0x51b710>=0x0;_0x51b710--){const _0x165b3d=_0x51a0fe[_0x51b710];if(!this[_0x4a122e(0x1c3)][_0x4a122e(0x10e)](_0x165b3d))return _0x165b3d[_0x4a122e(0x192)]+0x1-this[_0x4a122e(0x1a1)];}return 0x0;}constructor(_0x2213cf){const _0x3cc37a=_0x281a0b;if(super(_0x2213cf),this[_0x3cc37a(0x1a1)]=0x0,this[_0x3cc37a(0x130)]=null,this[_0x3cc37a(0x1d6)]=new _0x2f7364(),this[_0x3cc37a(0x17c)][_0x3cc37a(0xea)][_0x3cc37a(0x171)](_0x3cc37a(0x177),{}),this[_0x3cc37a(0xdb)]=this[_0x3cc37a(0x17c)][_0x3cc37a(0xea)][_0x3cc37a(0xef)](_0x3cc37a(0xe4)),!this[_0x3cc37a(0xdb)])throw new _0x1d9fc8(_0x3cc37a(0x1b4),this);const _0xc2fbb1=_0x2213cf[_0x3cc37a(0xea)][_0x3cc37a(0xef)](_0x3cc37a(0xfc))||_0x17ab1f;this[_0x3cc37a(0x14b)]=new l[(_0x3cc37a(0x143))](_0xc2fbb1,this[_0x3cc37a(0xdb)]),this[_0x3cc37a(0x155)]=this[_0x3cc37a(0x17c)][_0x3cc37a(0xfb)][_0x3cc37a(0x180)],this[_0x3cc37a(0x147)]=new _0x48e339(),this[_0x3cc37a(0x109)]=[],this[_0x3cc37a(0x187)]=new WeakSet(),this[_0x3cc37a(0x12d)]=new Set(),this[_0x3cc37a(0x184)](_0x3cc37a(0x116),!0x1),this[_0x3cc37a(0x184)](_0x3cc37a(0x162),!0x1),this[_0x3cc37a(0x1d4)]=null,this[_0x3cc37a(0x1a3)]=!0x1,this[_0x3cc37a(0x19b)]=null,this[_0x3cc37a(0xf2)]=0x12c,this[_0x3cc37a(0x1bd)]=this[_0x3cc37a(0xf2)],this[_0x3cc37a(0x10c)]=null,this[_0x3cc37a(0x1c3)]=new WeakSet(),this[_0x3cc37a(0x10d)]=new J(this[_0x3cc37a(0x1c3)]);}[_0x281a0b(0x1c5)](){const _0x2518d8=_0x281a0b,_0x50879a=this[_0x2518d8(0x17c)],_0x41bb82=_0x50879a[_0x2518d8(0x1c0)][_0x2518d8(0xef)](_0x598df0),_0x3dd45d=_0x50879a[_0x2518d8(0x1c0)][_0x2518d8(0xef)](_0x5ae451);this[_0x2518d8(0x15f)](_0x41bb82,_0x2518d8(0x138),(_0x106f90,_0x37ff67)=>{const _0x374cd2=_0x2518d8,_0x517c10=_0x37ff67[0x0];_0x517c10[_0x374cd2(0x1d5)]&&(_0x106f90[_0x374cd2(0x1cc)]=_0x41bb82[_0x374cd2(0x18a)](_0x517c10[_0x374cd2(0x1d5)]),_0x106f90[_0x374cd2(0x156)]()),null===_0x517c10[_0x374cd2(0x1d5)]&&(_0x106f90[_0x374cd2(0x1cc)]=null,_0x106f90[_0x374cd2(0x156)]());},{'priority':_0x2518d8(0xe9)}),this[_0x2518d8(0x15f)](_0x50879a[_0x2518d8(0xfb)][_0x2518d8(0x180)][_0x2518d8(0x1d7)],_0x2518d8(0x158),(_0x1aa127,_0x55fe1f)=>{const _0x55fdf7=_0x2518d8;_0x55fe1f[_0x55fdf7(0x10b)]&&this[_0x55fdf7(0x1d9)]();}),this[_0x2518d8(0x15f)](_0x50879a[_0x2518d8(0x163)][_0x2518d8(0x191)],_0x2518d8(0x142),()=>{const _0x5011a8=_0x2518d8;this[_0x5011a8(0x1d9)]();}),this[_0x2518d8(0x1b3)](),_0x50879a[_0x2518d8(0xfb)]['on'](_0x2518d8(0x1cd),(_0x20843b,_0x47611e)=>{const _0x597fe1=_0x2518d8,_0x4fa9a4=_0x47611e[0x0];_0x4fa9a4[_0x597fe1(0xed)]&&(this[_0x597fe1(0xe0)](_0x4fa9a4),this[_0x597fe1(0x16f)]()&&this[_0x597fe1(0x19e)]());}),this[_0x2518d8(0x172)](),this[_0x2518d8(0x17e)](_0x2518d8(0x182))['to'](_0x3dd45d,_0x2518d8(0x11b),this,_0x2518d8(0x162),(_0x36b901,_0x4e132c)=>_0x2518d8(0x1aa)===_0x36b901&&!_0x4e132c),this['on'](_0x2518d8(0x114),()=>{const _0x20be86=_0x2518d8;this[_0x20be86(0x182)]?_0x50879a[_0x20be86(0x148)](_0x20be86(0x16c)):_0x50879a[_0x20be86(0x146)](_0x20be86(0x16c));}),this[_0x2518d8(0x182)]?_0x50879a[_0x2518d8(0x148)](_0x2518d8(0x16c)):_0x50879a[_0x2518d8(0x146)](_0x2518d8(0x16c)),this[_0x2518d8(0x184)](_0x2518d8(0x15b),!0x1);}async[_0x281a0b(0x11c)](){const _0xf0fbde=_0x281a0b,_0x1a0b99=this[_0xf0fbde(0x17c)][_0xf0fbde(0x1c0)][_0xf0fbde(0xef)](_0x49063d),_0x55079b=this[_0xf0fbde(0x17c)][_0xf0fbde(0x1c0)][_0xf0fbde(0xef)](_0x5ae451);try{this[_0xf0fbde(0x116)]=!0x0,_0x1a0b99[_0xf0fbde(0xec)](this[_0xf0fbde(0xdb)]);const _0x3e0a71=await this[_0xf0fbde(0x14b)][_0xf0fbde(0x11c)](_0x55079b[_0xf0fbde(0x18d)],this[_0xf0fbde(0x15e)]);await this[_0xf0fbde(0x1af)](_0x3e0a71)&&(this[_0xf0fbde(0x116)]=!0x1,this[_0xf0fbde(0x141)]());const _0x2955f6=await this[_0xf0fbde(0x14b)][_0xf0fbde(0xe1)]();_0x1a0b99[_0xf0fbde(0x14a)](this[_0xf0fbde(0xdb)],_0x2955f6),this[_0xf0fbde(0x100)](),this[_0xf0fbde(0x15b)]=!0x0;}catch(_0x55bf56){if(function(_0x28fb5f){const _0x4e5ace=_0xf0fbde;return _0x4e5ace(0x198)===_0x28fb5f[_0x4e5ace(0xee)];}(_0x55bf56)&&this[_0xf0fbde(0x130)])await this[_0xf0fbde(0x1b7)]();else{if(function(_0x2a26d5){const _0x4f1f7c=_0xf0fbde;return _0x4f1f7c(0x14f)===_0x2a26d5[_0x4f1f7c(0xee)];}(_0x55bf56)){const _0x132846=_0x501ffb(this[_0xf0fbde(0x17c)][_0xf0fbde(0x1dd)],_0xf0fbde(0x13a));this[_0xf0fbde(0x15a)](_0x132846);}else{if(!(_0x55bf56 instanceof $))throw _0x55bf56;this[_0xf0fbde(0x15a)]();}}}}[_0x281a0b(0x129)](){const _0x3f0f13=_0x281a0b,_0x3c3d4f=this[_0x3f0f13(0x17c)][_0x3f0f13(0x1c0)][_0x3f0f13(0xef)](_0x5ae451),_0x5cedc2=this[_0x3f0f13(0x17c)][_0x3f0f13(0x1c0)][_0x3f0f13(0xef)](_0x49063d);this[_0x3f0f13(0x17c)][_0x3f0f13(0x146)](_0x3f0f13(0x1da)),_0x5cedc2[_0x3f0f13(0x178)][_0x3f0f13(0x10e)](this[_0x3f0f13(0xdb)])&&_0x5cedc2[_0x3f0f13(0xec)](this[_0x3f0f13(0xdb)]),_0x3c3d4f[_0x3f0f13(0xfd)](this),this[_0x3f0f13(0xdf)](),super[_0x3f0f13(0x129)]();}async[_0x281a0b(0x1af)](_0x266553){const _0x42e1b6=_0x281a0b;if(this[_0x42e1b6(0x130)]!==_0x266553[_0x42e1b6(0x130)]&&this[_0x42e1b6(0x10c)]!==_0x266553[_0x42e1b6(0x197)])throw new $();return this[_0x42e1b6(0x130)]=_0x266553[_0x42e1b6(0x130)],this[_0x42e1b6(0x16d)]([],{..._0x266553,'wereChangesApplied':!0x1,'data':_0x266553[_0x42e1b6(0xe7)]},_0x42e1b6(0x11c));}async[_0x281a0b(0x1cf)](_0x3fdbfc,_0x42e87c=!0x1){const _0x27e42f=_0x281a0b,{connection:_0xdc8e2e}=this[_0x27e42f(0x17c)][_0x27e42f(0x1c0)][_0x27e42f(0xef)](_0x5ae451);l[_0x27e42f(0x143)][_0x27e42f(0xe1)](_0xdc8e2e,this[_0x27e42f(0xdb)])[_0x27e42f(0x170)](_0x47dba4=>this[_0x27e42f(0x128)](_0x47dba4))[_0x27e42f(0x121)](_0xbbb5e8=>{const _0xd8144a=_0x27e42f;this[_0xd8144a(0xe5)](_0xd8144a(0x1a2),_0xbbb5e8);}),this[_0x27e42f(0x15f)](this[_0x27e42f(0x14b)],_0x27e42f(0x120),this[_0x27e42f(0x1ca)][_0x27e42f(0x17e)](this)),this[_0x27e42f(0x15f)](this[_0x27e42f(0x14b)],_0x27e42f(0x139),(_0x56fda2,_0x12bcf2)=>{const _0x280184=_0x27e42f;this[_0x280184(0xe5)](_0x280184(0x135),_0x12bcf2);}),this[_0x27e42f(0x15f)](this[_0x27e42f(0x14b)],_0x27e42f(0x117),()=>{const _0x5c12ba=_0x27e42f;this[_0x5c12ba(0x15b)]=!0x1;});const _0x1d7857=this[_0x27e42f(0x10d)][_0x27e42f(0x1ad)](_0x3fdbfc);this[_0x27e42f(0x116)]=!0x0;const _0x1f9bf8=await this[_0x27e42f(0x14b)][_0x27e42f(0x101)](_0xdc8e2e,this[_0x27e42f(0x1b8)](_0x3fdbfc),_0x1d7857);if(this[_0x27e42f(0x130)]=_0x1f9bf8[_0x27e42f(0x130)],_0x42e87c){if(!_0x1f9bf8[_0x27e42f(0x113)])return void this[_0x27e42f(0x15a)]();this[_0x27e42f(0x116)]=!0x1,this[_0x27e42f(0x141)](),this[_0x27e42f(0x1d6)][_0x27e42f(0x102)](),this[_0x27e42f(0x1a1)]=_0x1f9bf8[_0x27e42f(0x17b)],this[_0x27e42f(0x1d6)][_0x27e42f(0x183)]=this[_0x27e42f(0x1a1)],await this[_0x27e42f(0x16d)](_0x3fdbfc,_0x1f9bf8,_0x27e42f(0x188));}else await this[_0x27e42f(0x153)](_0x1f9bf8,_0x3fdbfc);this[_0x27e42f(0x100)](),this[_0x27e42f(0x15b)]=!0x0;}[_0x281a0b(0x100)](){const _0x51d9d1=_0x281a0b,_0x23c119=this[_0x51d9d1(0x17c)][_0x51d9d1(0x1c0)][_0x51d9d1(0xef)](_0x49063d),_0x4e5f3a=this[_0x51d9d1(0x17c)][_0x51d9d1(0x1c0)][_0x51d9d1(0xef)](_0x1c52a1),_0x5d5c69=_0x23c119[_0x51d9d1(0x178)][_0x51d9d1(0xef)](this[_0x51d9d1(0xdb)]);_0x5d5c69&&_0x5d5c69[_0x51d9d1(0x119)]>0x1?_0x4e5f3a[_0x51d9d1(0x1c6)]():this[_0x51d9d1(0x15f)](_0x23c119,_0x51d9d1(0x105)+this[_0x51d9d1(0xdb)],()=>{const _0x503307=_0x51d9d1;0x2===_0x23c119[_0x503307(0x178)][_0x503307(0xef)](this[_0x503307(0xdb)])[_0x503307(0x119)]&&_0x4e5f3a[_0x503307(0x1c6)]();});}async[_0x281a0b(0x1ca)](_0x83b5b5,_0xdbe172,_0x4f6735,_0x4f4de9){const _0xfbce35=_0x281a0b;if(!this[_0xfbce35(0x116)]&&this[_0xfbce35(0x155)][_0xfbce35(0x183)]==_0xdbe172){const _0xc1d7d9=this[_0xfbce35(0x127)](_0x4f6735,_0x4f4de9);await this[_0xfbce35(0x159)](_0xc1d7d9),this[_0xfbce35(0x17d)](_0xc1d7d9,_0xdbe172,_0x4f6735[_0xfbce35(0x197)])||this[_0xfbce35(0xe5)](_0xfbce35(0x132));}}async[_0x281a0b(0x1b7)](){const _0x475eab=_0x281a0b;this[_0x475eab(0xdf)]();const {locale:_0x2b08e5}=this[_0x475eab(0x17c)];let _0x414585;try{_0x414585=await this[_0x475eab(0x14b)][_0x475eab(0x14e)]();}catch{const _0x624bc8=_0x501ffb(_0x2b08e5,_0x475eab(0x18f));return void this[_0x475eab(0x15a)](_0x624bc8);}const _0x3e376f=_0x414585[_0x475eab(0xe8)]||_0x414585[_0x475eab(0x1c1)];if(this[_0x475eab(0x10c)]!==_0x3e376f[_0x475eab(0x197)]){const _0x31efb4=_0x501ffb(_0x2b08e5,_0x475eab(0x134));return void this[_0x475eab(0x15a)](_0x31efb4);}await this[_0x475eab(0x1cf)](this[_0x475eab(0x17c)][_0x475eab(0xfb)][_0x475eab(0x180)][_0x475eab(0x19c)][_0x475eab(0x13e)](),!0x0);}[_0x281a0b(0xdf)](){const _0x1b1fa7=_0x281a0b;this[_0x1b1fa7(0x14b)][_0x1b1fa7(0xff)](),this[_0x1b1fa7(0x109)]=[],clearTimeout(this[_0x1b1fa7(0x19b)]),this[_0x1b1fa7(0x11d)](this[_0x1b1fa7(0x14b)]);}[_0x281a0b(0x128)](_0x42e08c){const _0x2c604e=_0x281a0b,_0x57b5f1=this[_0x2c604e(0x17c)][_0x2c604e(0x1c0)][_0x2c604e(0xef)](_0x49063d);this[_0x2c604e(0x15f)](_0x57b5f1,_0x2c604e(0x105)+this[_0x2c604e(0xdb)],(_0x1208ca,{session:_0x341bdf})=>{const _0x17b5bf=_0x2c604e;if(_0x341bdf['id']===_0x57b5f1[_0x17b5bf(0xd7)]){_0x1208ca[_0x17b5bf(0x1c7)]();const _0x18d479=this[_0x17b5bf(0x17c)][_0x17b5bf(0x1c0)][_0x17b5bf(0x10e)](_0x17b5bf(0x19d))&&this[_0x17b5bf(0x17c)][_0x17b5bf(0x1c0)][_0x17b5bf(0xef)](_0x17b5bf(0x19d));let _0x3812c5=_0x341bdf[_0x17b5bf(0xeb)];_0x18d479&&_0x18d479[_0x17b5bf(0x137)]&&(_0x3812c5=_0x3812c5[_0x17b5bf(0x145)](_0x58d85a=>_0x17b5bf(0x17a)!==_0x58d85a)),this[_0x17b5bf(0x17c)][_0x17b5bf(0x1c0)][_0x17b5bf(0xef)](_0x17b5bf(0x12f))[_0x17b5bf(0x115)](_0x3812c5,this[_0x17b5bf(0xdb)]);}}),_0x57b5f1[_0x2c604e(0x14a)](this[_0x2c604e(0xdb)],_0x42e08c);}[_0x281a0b(0x1b3)](){const _0x166de0=_0x281a0b,_0x10a9e6=this[_0x166de0(0x17c)][_0x166de0(0xe7)][_0x166de0(0x184)];this[_0x166de0(0x17c)][_0x166de0(0xe7)][_0x166de0(0x184)]=(..._0x39a12b)=>{const _0x9b7b59=_0x166de0;if(!_0x39a12b[_0x39a12b[_0x9b7b59(0x119)]-0x1][_0x9b7b59(0x1cb)])throw new _0x1d9fc8(_0x9b7b59(0x1d2),this);_0x10a9e6[_0x9b7b59(0x1c2)](this[_0x9b7b59(0x17c)][_0x9b7b59(0xe7)],_0x39a12b);};}[_0x281a0b(0x172)](){const _0x26083a=_0x281a0b;this[_0x26083a(0x17c)][_0x26083a(0xe7)]['on'](_0x26083a(0x1c5),(_0xe6c051,[_0x3e836f])=>{const _0x1dad34=_0x26083a;if(this[_0x1dad34(0x155)][_0x1dad34(0x183)])throw new _0x1d9fc8(_0x1dad34(0x106),this);_0xe6c051[_0x1dad34(0x156)](),this[_0x1dad34(0x19f)]();const _0x30248b=this[_0x1dad34(0x17c)][_0x1dad34(0xea)][_0x1dad34(0xef)](_0x1dad34(0x125)),_0xe37339=this[_0x1dad34(0x13b)](_0x3e836f,_0x30248b);0x0==_0xe37339[_0x1dad34(0x119)]&&_0xe37339[_0x1dad34(0x1db)](new _0x598329(0x0)),_0xe6c051[_0x1dad34(0x1cc)]=this[_0x1dad34(0x1cf)](_0xe37339)[_0x1dad34(0x170)](()=>{const _0x37bfe4=_0x1dad34;this[_0x37bfe4(0x17c)][_0x37bfe4(0x1c0)][_0x37bfe4(0xef)](_0x5ae451)[_0x37bfe4(0xf3)](this),this[_0x37bfe4(0x17c)][_0x37bfe4(0xe7)][_0x37bfe4(0x194)](_0x37bfe4(0x181));})[_0x1dad34(0x121)](_0x1f2747=>this[_0x1dad34(0xe5)](_0x1dad34(0x11a),_0x1f2747))[_0x1dad34(0x157)](()=>this[_0x1dad34(0x141)]());},{'priority':_0x26083a(0xe9)}),this[_0x26083a(0x17c)]['on'](_0x26083a(0x1d0),async(_0x7b1a09,[_0x4733d7,_0x2edd7c])=>{const _0x3d47f8=_0x26083a;_0x7b1a09[_0x3d47f8(0x156)]();const _0x4aef96=this[_0x3d47f8(0x17c)][_0x3d47f8(0xfb)][_0x3d47f8(0x180)][_0x3d47f8(0x199)](_0x4733d7);if(!this[_0x3d47f8(0x12d)][_0x3d47f8(0x10e)](_0x4733d7)){const _0x13db56=_0x2edd7c&&_0x2edd7c[_0x3d47f8(0xe7)]?_0x2edd7c[_0x3d47f8(0xe7)]:'',_0x3f6ba7=_0x2edd7c&&_0x2edd7c[_0x3d47f8(0xde)]?_0x2edd7c[_0x3d47f8(0xde)]:{};await this[_0x3d47f8(0x1c9)](_0x4733d7,_0x13db56,_0x3f6ba7);}this[_0x3d47f8(0x17c)][_0x3d47f8(0xfb)][_0x3d47f8(0x150)]({'isUndoable':!0x1},()=>{const _0x2443a5=_0x3d47f8;_0x4aef96[_0x2443a5(0xf6)]=!0x0,this[_0x2443a5(0x17c)][_0x2443a5(0xfb)][_0x2443a5(0x180)][_0x2443a5(0x111)][_0x2443a5(0x1a9)](_0x4aef96);});},{'priority':_0x26083a(0xe9)});}async[_0x281a0b(0x159)](_0x5f1b58){const _0x512c3e=_0x281a0b,_0x18d909=this[_0x512c3e(0x17c)][_0x512c3e(0x1c0)][_0x512c3e(0xef)](_0x598df0),{connection:_0x2dc1d8}=this[_0x512c3e(0x17c)][_0x512c3e(0x1c0)][_0x512c3e(0xef)](_0x5ae451),_0x21199c=new Set();for(const _0x5afdf5 of _0x5f1b58){const _0x1f78b4=_0x5afdf5[_0x512c3e(0x1d5)];_0x1f78b4&&!_0x18d909[_0x512c3e(0x18a)](_0x1f78b4)&&_0x21199c[_0x512c3e(0xe3)](_0x1f78b4);}if(0x0===_0x21199c[_0x512c3e(0x1dc)])return;const _0x3c1e86=await _0x3decfe[_0x512c3e(0x173)](_0x2dc1d8,Array[_0x512c3e(0x1b9)](_0x21199c));for(const _0x23e3d8 of _0x3c1e86)_0x18d909[_0x512c3e(0x18a)](_0x23e3d8['id'])||_0x18d909[_0x512c3e(0x112)](_0x23e3d8);}[_0x281a0b(0x13b)](_0x3f3a10,_0x2eaf3b={}){const _0x91b7dd=_0x281a0b,_0x45cbb6=this[_0x91b7dd(0x17c)][_0x91b7dd(0xfb)],_0x2f076f=[];let _0x3f746d=0x0;const _0x31bc9f=_0x91b7dd(0x1ba)==typeof _0x3f3a10?{'main':_0x3f3a10}:_0x3f3a10;for(const _0x15c00d of Object[_0x91b7dd(0x144)](_0x31bc9f)){if(!this[_0x91b7dd(0x155)][_0x91b7dd(0x1d1)][_0x91b7dd(0x10e)](_0x15c00d))throw new _0x1d9fc8(_0x91b7dd(0x108),this);const _0x1b39b0=this[_0x91b7dd(0x17c)][_0x91b7dd(0xe7)][_0x91b7dd(0x14d)](_0x31bc9f[_0x15c00d]),_0x1f352c=this[_0x91b7dd(0x155)][_0x91b7dd(0x199)](_0x15c00d),_0x4a95c1=new _0x140f37(_0x45cbb6[_0x91b7dd(0x15d)](_0x1f352c,0x0),_0x1b39b0,_0x3f746d++);_0x2f076f[_0x91b7dd(0x1db)](_0x4a95c1);for(const [_0x53e89e,_0x5a8baa]of _0x1b39b0[_0x91b7dd(0x1d8)]){const _0x150a3a=_0x45cbb6[_0x91b7dd(0x1ce)](_0x45cbb6[_0x91b7dd(0xda)](_0x1f352c,_0x5a8baa[_0x91b7dd(0x18b)][_0x91b7dd(0x122)][_0x91b7dd(0x110)]()),_0x45cbb6[_0x91b7dd(0xda)](_0x1f352c,_0x5a8baa[_0x91b7dd(0xf0)][_0x91b7dd(0x122)][_0x91b7dd(0x110)]())),_0x1b43a3=new _0x55a2f6(_0x53e89e,null,_0x150a3a,_0x45cbb6[_0x91b7dd(0x1d8)],!0x0,_0x3f746d++);_0x2f076f[_0x91b7dd(0x1db)](_0x1b43a3);}}if(_0x2eaf3b)for(const [_0x44c49a,_0x3c11a0]of Object[_0x91b7dd(0x160)](_0x2eaf3b)){const _0x770f74=_0x45cbb6[_0x91b7dd(0x180)][_0x91b7dd(0x199)](_0x44c49a);if(!_0x770f74)throw new _0x1d9fc8(_0x91b7dd(0x1be),null);for(const [_0x38ab35,_0x5cd1ff]of Object[_0x91b7dd(0x160)](_0x3c11a0))if(null!==_0x5cd1ff){const _0x2b226a=new _0x1fc31e(_0x770f74,_0x38ab35,null,_0x5cd1ff,_0x3f746d++);_0x2f076f[_0x91b7dd(0x1db)](_0x2b226a);}}return _0x2f076f;}async[_0x281a0b(0x1c9)](_0x1c142c,_0x15adcf,_0x149491){const _0x255c58=_0x281a0b;this[_0x255c58(0x13b)]({[_0x1c142c]:_0x15adcf},{[_0x1c142c]:_0x149491})[_0x255c58(0x176)]((_0x1f36d2,_0x3f0fad)=>{const _0x5cd056=_0x255c58;_0x1f36d2[_0x5cd056(0x192)]=this[_0x5cd056(0x155)][_0x5cd056(0x183)]+_0x3f0fad,_0x1f36d2[_0x5cd056(0x189)]=!0x0,this[_0x5cd056(0xe0)](_0x1f36d2);}),this[_0x255c58(0x19e)](),await this[_0x255c58(0x1a0)]();}async[_0x281a0b(0x153)](_0x41ec36,_0x24e18f){const _0x116628=_0x281a0b;let _0x56594a;this[_0x116628(0x1a1)]=_0x41ec36[_0x116628(0x17b)];const _0x98ef4a=_0x41ec36[_0x116628(0x113)]&&!_0x41ec36[_0x116628(0x1ab)],_0x536901=_0x98ef4a?0x0:_0x41ec36[_0x116628(0xe7)][_0x116628(0x192)];if(_0x24e18f[_0x116628(0x176)](_0x4425af=>{const _0x194c1a=_0x116628;_0x4425af[_0x194c1a(0x189)]=!0x0,_0x4425af[_0x194c1a(0x12e)]=_0x41ec36[_0x194c1a(0xf1)],_0x4425af[_0x194c1a(0x1d5)]=null;}),_0x98ef4a)_0x56594a=_0x24e18f,this[_0x116628(0x140)](_0x56594a,_0x98ef4a);else{if(_0x41ec36[_0x116628(0x1ab)]){const _0x18b4f3=this[_0x116628(0x13b)](_0x41ec36[_0x116628(0x1ab)]);this[_0x116628(0x155)][_0x116628(0x19c)][_0x116628(0x183)]=-_0x18b4f3[_0x116628(0x119)],_0x18b4f3[_0x116628(0x176)](_0x489204=>{const _0xe90259=_0x116628;_0x489204[_0xe90259(0x192)]-=_0x18b4f3[_0xe90259(0x119)],_0x489204[_0xe90259(0x12e)]=_0x41ec36[_0xe90259(0xf1)],_0x489204[_0xe90259(0x189)]=!0x0,_0x489204[_0xe90259(0x1d5)]=null;}),this[_0x116628(0x140)](_0x18b4f3,!0x0),this[_0x116628(0x1d6)][_0x116628(0x183)]=-_0x18b4f3[_0x116628(0x119)]+this[_0x116628(0x1a1)],this[_0x116628(0x136)](_0x18b4f3);}this[_0x116628(0x155)][_0x116628(0x19c)][_0x116628(0x183)]=_0x536901,_0x56594a=this[_0x116628(0x127)](_0x41ec36[_0x116628(0xe7)],_0x41ec36[_0x116628(0x1d3)]),await this[_0x116628(0x159)](_0x56594a),this[_0x116628(0x140)](_0x56594a,_0x98ef4a);}_0x41ec36[_0x116628(0x197)]&&(this[_0x116628(0x10d)][_0x116628(0x154)](_0x56594a,_0x41ec36[_0x116628(0x197)]),this[_0x116628(0x10c)]=_0x41ec36[_0x116628(0x197)]),this[_0x116628(0x1d6)][_0x116628(0x183)]=_0x536901+this[_0x116628(0x1a1)],this[_0x116628(0x136)](_0x56594a),_0x24e18f[_0x116628(0x145)](_0x2faa41=>{const _0x39a7c5=_0x116628,_0x17b92f=this[_0x39a7c5(0x13d)](_0x2faa41);return _0x17b92f&&!this[_0x39a7c5(0x12d)][_0x39a7c5(0x10e)](_0x17b92f);})[_0x116628(0x176)]((_0x40176c,_0x5e9727)=>{const _0x4f3f7c=_0x116628;_0x40176c[_0x4f3f7c(0x192)]=this[_0x4f3f7c(0x155)][_0x4f3f7c(0x183)]+_0x5e9727,this[_0x4f3f7c(0xe0)](_0x40176c);}),this[_0x116628(0x16f)]()?(this[_0x116628(0x1bd)]=0x0,this[_0x116628(0x19e)](!0x0),await this[_0x116628(0x1a0)]()):(this[_0x116628(0x116)]=!0x1,this[_0x116628(0x141)]());}[_0x281a0b(0xe5)](_0x1acf79,_0x3354c4){const _0x29bfd4=_0x281a0b,_0x21860f=_0x3354c4&&_0x3354c4[_0x29bfd4(0x179)];if(_0x21860f&&_0x21860f[_0x29bfd4(0x186)](_0x29bfd4(0x174)))throw _0x3354c4;const _0x4c47ea=this[_0x29bfd4(0x17c)][_0x29bfd4(0x1c0)][_0x29bfd4(0xef)](_0x5ae451);throw this[_0x29bfd4(0x116)]=!0x0,_0x4c47ea[_0x29bfd4(0xff)](),this[_0x29bfd4(0x17c)][_0x29bfd4(0x146)](_0x29bfd4(0xf8)),new _0x1d9fc8(_0x1acf79,this[_0x29bfd4(0x17c)],_0x21860f?{'originalError':_0x21860f}:void 0x0);}[_0x281a0b(0xe0)](_0xefa26a){const _0x31ee0b=_0x281a0b;this[_0x31ee0b(0x187)][_0x31ee0b(0x10e)](_0xefa26a)||(this[_0x31ee0b(0x187)][_0x31ee0b(0xe3)](_0xefa26a),this[_0x31ee0b(0x109)][_0x31ee0b(0x1db)](_0xefa26a),this[_0x31ee0b(0x1d4)]||_0x31ee0b(0x104)==_0xefa26a[_0x31ee0b(0x195)]&&!_0xefa26a[_0x31ee0b(0x152)]||this[_0x31ee0b(0x19f)]());}[_0x281a0b(0x19e)](_0x311175=!0x1){const _0x1c089d=_0x281a0b;!_0x311175&&this[_0x1c089d(0x116)]||(this[_0x1c089d(0x116)]=!0x0,clearTimeout(this[_0x1c089d(0x19b)]),this[_0x1c089d(0x19b)]=setTimeout(()=>{const _0x2a2904=_0x1c089d;this[_0x2a2904(0x185)]()[_0x2a2904(0x170)](_0xc020cd=>{const _0x3b8f89=_0x2a2904;_0xc020cd&&(this[_0x3b8f89(0x141)](),this[_0x3b8f89(0x116)]=!0x1);})[_0x2a2904(0x121)](_0x24f906=>{const _0x89ade4=_0x2a2904;this[_0x89ade4(0x141)](),this[_0x89ade4(0x116)]=!0x1,function(_0x28603c){const _0x8de0ef=_0x89ade4;return _0x28603c[_0x8de0ef(0x179)][_0x8de0ef(0x186)](_0x8de0ef(0x124))||_0x28603c[_0x8de0ef(0x179)][_0x8de0ef(0x186)](_0x8de0ef(0x18e))||_0x28603c[_0x8de0ef(0x179)][_0x8de0ef(0x186)](_0x8de0ef(0x1bf));}(_0x24f906)||this[_0x89ade4(0xe5)](_0x24f906[_0x89ade4(0x179)],_0x24f906);});},this[_0x1c089d(0x1bd)]));}[_0x281a0b(0x1a0)](){return new Promise(_0x58af8b=>{const _0x22563d=_0x220c;this['on'](_0x22563d(0x175),()=>{_0x58af8b();});});}async[_0x281a0b(0x185)](){const _0x3ef723=_0x281a0b,_0x588b2e=this[_0x3ef723(0x17c)][_0x3ef723(0x1c0)][_0x3ef723(0xef)](_0x1c52a1);if(this[_0x3ef723(0x164)]()&&(_0x588b2e[_0x3ef723(0x1c6)](),this[_0x3ef723(0x1a3)]=!0x1),!this[_0x3ef723(0x16f)]())return!0x0;const _0xc95622=[...this[_0x3ef723(0x109)]];for(const _0x1c1048 of _0xc95622)_0x1c1048[_0x3ef723(0x166)]=this[_0x3ef723(0x155)][_0x3ef723(0x19c)][_0x3ef723(0x10a)](_0x1c1048);const _0x4ad74a=this[_0x3ef723(0x10d)][_0x3ef723(0x1ad)](_0xc95622),_0x4eef6b=G++,_0xeee1fe=this[_0x3ef723(0x1b8)](_0xc95622),_0x1a63a2=await this[_0x3ef723(0x14b)][_0x3ef723(0x15c)](_0xeee1fe,_0xeee1fe[_0x3ef723(0x192)],_0x4ad74a);try{return await this[_0x3ef723(0x16d)](_0xc95622,_0x1a63a2,_0x4eef6b);}catch(_0x51eedb){return this[_0x3ef723(0xe5)](_0x3ef723(0xfe),_0x51eedb);}}async[_0x281a0b(0x16d)](_0x5c4841,_0x4e9542,_0x1735e7){const _0x1974c6=_0x281a0b;if(_0x1974c6(0x139)in _0x4e9542)throw _0x4e9542[_0x1974c6(0x139)];let _0x288440=!0x1;if(_0x4e9542[_0x1974c6(0x113)]){_0x4e9542[_0x1974c6(0x197)]&&(this[_0x1974c6(0x10c)]=_0x4e9542[_0x1974c6(0x197)]),this[_0x1974c6(0x109)]=this[_0x1974c6(0x109)][_0x1974c6(0x145)](_0x433968=>!_0x5c4841[_0x1974c6(0x16a)](_0x433968));for(const _0x52131d of _0x5c4841)_0x52131d[_0x1974c6(0x12e)]=_0x1974c6(0x1b5)in _0x4e9542&&_0x4e9542[_0x1974c6(0x1b5)]||void 0x0;K(_0x5c4841,_0x4e9542[_0x1974c6(0x183)]-_0x5c4841[_0x1974c6(0x119)]),this[_0x1974c6(0x136)](_0x5c4841);const _0xafcf51=_0x5c4841[_0x1974c6(0x145)](_0x39f6a3=>{const _0x3b2112=_0x1974c6;if(!_0x39f6a3[_0x3b2112(0x189)])return!0x1;const _0x308631=this[_0x3b2112(0x13d)](_0x39f6a3);return _0x308631&&!this[_0x3b2112(0x12d)][_0x3b2112(0x10e)](_0x308631);});K(_0xafcf51,this[_0x1974c6(0x155)][_0x1974c6(0x183)]),this[_0x1974c6(0x140)](_0xafcf51),_0x288440=!0x0,this[_0x1974c6(0x1bd)]=this[_0x1974c6(0xf2)];}else{const _0x1bf9db=this[_0x1974c6(0x127)](_0x4e9542[_0x1974c6(0xe7)],_0x4e9542[_0x1974c6(0x1d3)])[_0x1974c6(0x145)](_0x42de5b=>_0x42de5b[_0x1974c6(0x192)]>=this[_0x1974c6(0x12a)]);_0x1bf9db[_0x1974c6(0x176)](_0x1943b5=>this[_0x1974c6(0xf9)](_0x1943b5)),this[_0x1974c6(0x109)]=this[_0x1974c6(0x109)][_0x1974c6(0x145)](_0x56b729=>!_0x56b729[_0x1974c6(0x189)]||!this[_0x1974c6(0x12d)][_0x1974c6(0x10e)](this[_0x1974c6(0x13d)](_0x56b729))),this[_0x1974c6(0x109)][_0x1974c6(0x119)]&&K(this[_0x1974c6(0x109)],this[_0x1974c6(0x109)][0x0][_0x1974c6(0x192)]),await this[_0x1974c6(0x159)](_0x1bf9db),_0x288440=this[_0x1974c6(0x17d)](_0x1bf9db,_0x4e9542[_0x1974c6(0x183)],_0x4e9542[_0x1974c6(0x197)]),this[_0x1974c6(0x1bd)]=Math[_0x1974c6(0x151)](this[_0x1974c6(0x1bd)]/0x2);}return _0x288440?!this[_0x1974c6(0x16f)]()||(this[_0x1974c6(0x19e)](!0x0),!0x1):this[_0x1974c6(0xe5)](_0x1974c6(0x11e));}[_0x281a0b(0x17d)](_0x25ef60,_0x1359f2,_0x452129){const _0x8bbf5e=_0x281a0b;try{const _0x50b19f={'document':this[_0x8bbf5e(0x155)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1abb1f,operationsB:_0x930203,originalOperations:_0x421d72}=_0x262c90(_0x25ef60,this[_0x8bbf5e(0x109)],_0x50b19f);K(_0x1abb1f,this[_0x8bbf5e(0x155)][_0x8bbf5e(0x183)]),K(_0x930203,_0x1359f2);for(const _0x109d20 of _0x1abb1f){const _0x446858=_0x421d72[_0x8bbf5e(0xef)](_0x109d20);_0x109d20[_0x8bbf5e(0x1d5)]=_0x446858?_0x446858[_0x8bbf5e(0x1d5)]:null;}_0x452129&&(this[_0x8bbf5e(0x10d)][_0x8bbf5e(0x154)](_0x25ef60,_0x452129),this[_0x8bbf5e(0x10c)]=_0x452129),this[_0x8bbf5e(0x109)]=[..._0x930203],this[_0x8bbf5e(0x140)](_0x1abb1f),this[_0x8bbf5e(0x136)](_0x25ef60);}catch(_0x312385){return console[_0x8bbf5e(0x139)](_0x312385),!0x1;}return!0x0;}[_0x281a0b(0x140)](_0x27046a,_0x4eee9f=!0x1){const _0x1b6906=_0x281a0b;this[_0x1b6906(0x17c)][_0x1b6906(0xfb)][_0x1b6906(0x150)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4e4166=>{const _0x2e9c29=_0x1b6906;for(const _0x45ddbb of _0x27046a)this[_0x2e9c29(0x187)][_0x2e9c29(0xe3)](_0x45ddbb),this[_0x2e9c29(0xf9)](_0x45ddbb),_0x4e4166[_0x2e9c29(0x168)][_0x2e9c29(0x17f)](_0x45ddbb),this[_0x2e9c29(0x17c)][_0x2e9c29(0xfb)][_0x2e9c29(0x1cd)](_0x45ddbb);});}[_0x281a0b(0xf9)](_0xee05f6){const _0x2ab823=_0x281a0b,_0x420a1c=this[_0x2ab823(0x13d)](_0xee05f6);_0x420a1c&&this[_0x2ab823(0x12d)][_0x2ab823(0xe3)](_0x420a1c);}[_0x281a0b(0x13d)](_0x32dd31){const _0x2578ce=_0x281a0b;let _0x2d6e2c,_0x458bbe;switch(_0x32dd31[_0x2578ce(0x195)]){case _0x2578ce(0x1a5):_0x2d6e2c=_0x32dd31[_0x2578ce(0x1a7)][_0x2578ce(0x1ae)];break;case _0x2578ce(0x104):if(_0x458bbe=_0x32dd31[_0x2578ce(0x1a4)],!_0x458bbe)return null;_0x2d6e2c=_0x458bbe[_0x2578ce(0x1ae)];break;case _0x2578ce(0x1bc):_0x2d6e2c=_0x32dd31[_0x2578ce(0x1ae)];break;case _0x2578ce(0x1b6):_0x2d6e2c=_0x32dd31[_0x2578ce(0x13c)];break;case _0x2578ce(0x167):_0x2d6e2c=_0x32dd31[_0x2578ce(0xe2)][_0x2578ce(0x1ae)];break;default:return null;}return _0x2d6e2c[_0x2578ce(0x1b2)];}[_0x281a0b(0x136)](_0x35f208){const _0x4fc39c=_0x281a0b;_0x35f208[_0x4fc39c(0x176)](_0x5ed892=>{const _0x32e942=_0x4fc39c,_0x66d32=_0x5ed892[_0x32e942(0x11f)]();_0x66d32[_0x32e942(0x1d5)]=_0x5ed892[_0x32e942(0x1d5)],_0x66d32[_0x32e942(0x189)]=!!_0x5ed892[_0x32e942(0x189)],_0x66d32[_0x32e942(0x12e)]=_0x5ed892[_0x32e942(0x12e)],_0x66d32[_0x32e942(0x192)]+=this[_0x32e942(0x1a1)],_0x5ed892[_0x32e942(0x131)]&&this[_0x32e942(0x1c3)][_0x32e942(0xe3)](_0x66d32),this[_0x32e942(0x1d6)][_0x32e942(0x17f)](_0x66d32);});}[_0x281a0b(0x15a)](_0x131153){const _0x18546c=_0x281a0b,_0x43a256=this[_0x18546c(0x17c)][_0x18546c(0x1c0)][_0x18546c(0xef)](_0x18546c(0x107)),_0x5da425=this[_0x18546c(0x17c)][_0x18546c(0x1dd)];_0x131153||(_0x131153=_0x501ffb(_0x5da425,_0x18546c(0x1ac))),_0x43a256[_0x18546c(0x149)](_0x131153,{'title':_0x501ffb(_0x5da425,_0x18546c(0x169)),'namespace':_0x18546c(0x16e)}),this[_0x18546c(0x162)]=!0x0,clearTimeout(this[_0x18546c(0x19b)]),this[_0x18546c(0x109)]=[],this[_0x18546c(0x17c)][_0x18546c(0x1c0)][_0x18546c(0xef)](_0x5ae451)[_0x18546c(0xff)]();}[_0x281a0b(0x19f)](){const _0x206df7=_0x281a0b;this[_0x206df7(0x1d4)]||(this[_0x206df7(0x1d4)]=this[_0x206df7(0x17c)][_0x206df7(0x1c0)][_0x206df7(0xef)](_0x5b0a3a)[_0x206df7(0xe3)](_0x501ffb(this[_0x206df7(0x17c)][_0x206df7(0x1dd)],_0x206df7(0x1b0))));}[_0x281a0b(0x141)](){const _0x57548c=_0x281a0b;this[_0x57548c(0x1d4)]&&(this[_0x57548c(0x17c)][_0x57548c(0x1c0)][_0x57548c(0xef)](_0x5b0a3a)[_0x57548c(0xf7)](this[_0x57548c(0x1d4)]),this[_0x57548c(0x1d4)]=null);}[_0x281a0b(0x1b8)](_0x6de5ee){const _0x2047c0=_0x281a0b,_0x33aef5=_0x6de5ee[_0x2047c0(0x1a8)](_0x5783c5=>_0x5783c5[_0x2047c0(0x13f)]());return this[_0x2047c0(0x147)][_0x2047c0(0x190)](_0x33aef5);}[_0x281a0b(0x127)](_0x113070,_0x1aaae3){const _0x267bb1=_0x281a0b;return this[_0x267bb1(0x147)][_0x267bb1(0x118)](_0x113070)[_0x267bb1(0x1a8)]((_0x597841,_0x2a2b7d)=>{const _0x5058c3=_0x267bb1,_0x27b83f=_0x5058c3(0x1c5)==_0x1aaae3[_0x2a2b7d][_0x5058c3(0x195)];if(_0x5058c3(0x165)==_0x597841[_0x5058c3(0xdd)]){const _0x482723=_0x597841[_0x5058c3(0x1a7)][_0x5058c3(0x1ae)];!this[_0x5058c3(0x155)][_0x5058c3(0x199)](_0x482723)&&(this[_0x5058c3(0x155)][_0x5058c3(0x1c8)](_0x5058c3(0xf4),_0x482723)[_0x5058c3(0x12b)]=!0x1);}const _0x278f62=_0x40d72f[_0x5058c3(0x123)](_0x597841,this[_0x5058c3(0x155)]);return _0x278f62[_0x5058c3(0x166)]=_0x597841[_0x5058c3(0x166)],_0x278f62[_0x5058c3(0x189)]=_0x27b83f,_0x278f62[_0x5058c3(0x1d5)]=_0x27b83f?null:_0x1aaae3[_0x2a2b7d][_0x5058c3(0x103)],_0x278f62[_0x5058c3(0x131)]=_0x5058c3(0x126)===_0x1aaae3[_0x2a2b7d][_0x5058c3(0x195)],_0x278f62[_0x5058c3(0x12e)]=_0x1aaae3[_0x2a2b7d][_0x5058c3(0x12e)],_0x278f62;});}[_0x281a0b(0x1d9)](){const _0xd8a378=_0x281a0b;this[_0xd8a378(0x1a3)]=!0x0,this[_0xd8a378(0x164)]()?this[_0xd8a378(0x19e)]():this[_0xd8a378(0x1a3)]=!0x1;}[_0x281a0b(0x164)](){const _0x4dbcee=_0x281a0b,_0x368ea7=this[_0x4dbcee(0x17c)][_0x4dbcee(0x1c0)][_0x4dbcee(0xef)](_0x49063d)[_0x4dbcee(0x178)][_0x4dbcee(0xef)](this[_0x4dbcee(0xdb)]);return!this[_0x4dbcee(0x17c)][_0x4dbcee(0x1a6)]&&!!_0x368ea7&&_0x368ea7[_0x4dbcee(0x119)]>0x1&&this[_0x4dbcee(0x1a3)];}[_0x281a0b(0x16f)](){const _0x2a5e9b=_0x281a0b;return this[_0x2a5e9b(0x109)][_0x2a5e9b(0x119)]>0x0||this[_0x2a5e9b(0x164)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x48b5f4,_0x4c47ee){const _0x4146a5=_0x281a0b;for(const _0x3f1236 of _0x48b5f4)_0x3f1236[_0x4146a5(0x192)]=_0x4c47ee++;}class J{[_0x281a0b(0xd8)];[_0x281a0b(0x133)];constructor(_0x44db63){const _0x4e0ad3=_0x281a0b;this[_0x4e0ad3(0xd8)]=_0x44db63,this[_0x4e0ad3(0x133)]=new WeakMap();}[_0x281a0b(0x1ad)](_0x1610ee){const _0x2b32c6=_0x281a0b;let _0x1289e4=_0x1610ee[_0x2b32c6(0x119)];for(;_0x1289e4--;){const _0x1cd148=_0x1610ee[_0x1289e4];if(!this[_0x2b32c6(0xd8)][_0x2b32c6(0x10e)](_0x1cd148)){if(!this[_0x2b32c6(0x133)][_0x2b32c6(0x10e)](_0x1cd148)){const _0x5a1659=_0x5b7d9a()[_0x2b32c6(0x110)](0x1,0x12);this[_0x2b32c6(0x133)][_0x2b32c6(0x184)](_0x1cd148,_0x5a1659);}return this[_0x2b32c6(0x133)][_0x2b32c6(0xef)](_0x1cd148);}}}[_0x281a0b(0x154)](_0x2b7bfa,_0x2ade9c){const _0x4f6803=_0x281a0b;if(!_0x2ade9c)return;let _0xf72c21=_0x2b7bfa[_0x4f6803(0x119)];for(;_0xf72c21--;){const _0x125fab=_0x2b7bfa[_0xf72c21];this[_0x4f6803(0xd8)][_0x4f6803(0x10e)](_0x125fab)||this[_0x4f6803(0x133)][_0x4f6803(0x184)](_0x125fab,_0x2ade9c);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2094(_0xae33b4,_0x489811){const _0x12f7e0=_0x12f7();return _0x2094=function(_0x2094d6,_0x5eb633){_0x2094d6=_0x2094d6-0xab;let _0x6960d=_0x12f7e0[_0x2094d6];return _0x6960d;},_0x2094(_0xae33b4,_0x489811);}const _0x591f59=_0x2094;(function(_0x23b14b,_0x2053aa){const _0x382b7a=_0x2094,_0x523444=_0x23b14b();while(!![]){try{const _0x363d93=parseInt(_0x382b7a(0xbb))/0x1*(-parseInt(_0x382b7a(0xe2))/0x2)+parseInt(_0x382b7a(0xea))/0x3*(-parseInt(_0x382b7a(0xda))/0x4)+parseInt(_0x382b7a(0xde))/0x5+-parseInt(_0x382b7a(0xbd))/0x6*(parseInt(_0x382b7a(0xc5))/0x7)+-parseInt(_0x382b7a(0xc8))/0x8*(parseInt(_0x382b7a(0xbe))/0x9)+-parseInt(_0x382b7a(0xe3))/0xa*(parseInt(_0x382b7a(0xdc))/0xb)+-parseInt(_0x382b7a(0xe0))/0xc*(-parseInt(_0x382b7a(0xaf))/0xd);if(_0x363d93===_0x2053aa)break;else _0x523444['push'](_0x523444['shift']());}catch(_0x4de731){_0x523444['push'](_0x523444['shift']());}}}(_0x12f7,0x6c987));import{ContextPlugin as _0x1deac7}from'ckeditor5/src/core.js';import{Collection as _0x9d9950,CKEditorError as _0x3476da}from'ckeditor5/src/utils.js';function _0x12f7(){const _0x4c240c=['2059400WnncUE','get','init','getUserBySessionId','size','getUserSessions','addUser','getUserRole','mySessionId','_createUser','pluginName','defineMe','add','channelConnectedUsers','assign','role','set','change:state','559880vPgVjG','forEach','185779LAJBkv','values','2342580NaYbXp','orderNumber','60wNYRbo','getUser','35366mJaLDc','470ZUOowj','context','connection','sessions-unregister-not-exist','channelSessions','_users','Sessions','12SgMyIU','isOfficialPlugin','_uniqueUsersCount','user','sessionId','sessionAdd:','6578546mUIZAH','remove','unregister','_registeredSessions','plugins','connected','_handleSessionAdd','state','fire','delete','_handleSessionRemove','isMe','25PgceZv','listenTo','3004536Lppepa','9wunfJo','sessions-register-already-registered','allConnectedUsers','isPremiumPlugin','clear','stopListening','requires','7NWlWpX','register','has'];_0x12f7=function(){return _0x4c240c;};return _0x12f7();}import{WebSocketGateway as _0xf16060}from'./websocketgateway.js';import{Users as _0x1429ef}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1deac7{[_0x591f59(0xe7)];[_0x591f59(0xd5)];[_0x591f59(0xc0)];[_0x591f59(0xb2)];[_0x591f59(0xab)];[_0x591f59(0xe8)];static get[_0x591f59(0xd2)](){const _0x1ada74=_0x591f59;return _0x1ada74(0xe9);}static get[_0x591f59(0xeb)](){return!0x0;}static get[_0x591f59(0xc1)](){return!0x0;}static get[_0x591f59(0xc4)](){return[_0xf16060,_0x1429ef];}constructor(_0x1b00cd){const _0x50d89d=_0x591f59;super(_0x1b00cd),this[_0x50d89d(0xe7)]=new Map(),this[_0x50d89d(0xd5)]=new Map(),this[_0x50d89d(0xc0)]=new _0x9d9950(),this[_0x50d89d(0xb2)]=new Map(),this[_0x50d89d(0xab)]=0x0,this[_0x50d89d(0xe8)]=this[_0x50d89d(0xe4)][_0x50d89d(0xb3)][_0x50d89d(0xc9)](_0x1429ef);}[_0x591f59(0xca)](){const _0x2dded3=_0x591f59,_0x49d175=this[_0x2dded3(0xe4)][_0x2dded3(0xb3)][_0x2dded3(0xc9)](_0xf16060);this[_0x2dded3(0xbc)](_0x49d175,_0x2dded3(0xd9),(_0x594305,_0x346450,_0x4c0336)=>{const _0x3a28d4=_0x2dded3;if(_0x3a28d4(0xb4)!==_0x4c0336)this[_0x3a28d4(0xe7)][_0x3a28d4(0xdb)](_0x591851=>_0x591851[_0x3a28d4(0xc2)]()),this[_0x3a28d4(0xd5)][_0x3a28d4(0xdb)](_0x14ad0a=>_0x14ad0a[_0x3a28d4(0xc2)]()),this[_0x3a28d4(0xc0)][_0x3a28d4(0xc2)]();else{for(const [_0x1ccfa4,_0x2f9fe4]of this[_0x3a28d4(0xb2)])for(const _0x20fea4 of _0x2f9fe4)this[_0x3a28d4(0xb5)](_0x1ccfa4,_0x20fea4);}}),this[_0x2dded3(0xd1)](_0x49d175[_0x2dded3(0xe5)]['me'],!0x0);}[_0x591f59(0xc6)](_0x2ac30a,_0x2af551){const _0x48efdf=_0x591f59;if(this[_0x48efdf(0xb2)][_0x48efdf(0xc7)](_0x2ac30a))throw new _0x3476da(_0x48efdf(0xbf),null,{'channelId':_0x2ac30a});this[_0x48efdf(0xb2)][_0x48efdf(0xd8)](_0x2ac30a,_0x2af551),this[_0x48efdf(0xe7)][_0x48efdf(0xd8)](_0x2ac30a,new _0x9d9950()),this[_0x48efdf(0xd5)][_0x48efdf(0xd8)](_0x2ac30a,new _0x9d9950()),this[_0x48efdf(0xbc)](_0x2af551,_0x48efdf(0xd4),(_0x4fd909,_0xb74733)=>this[_0x48efdf(0xb5)](_0x2ac30a,_0xb74733)),this[_0x48efdf(0xbc)](_0x2af551,_0x48efdf(0xb0),(_0x4226b5,_0x3d6a22)=>this[_0x48efdf(0xb9)](_0x2ac30a,_0x3d6a22));for(const _0x1ad252 of _0x2af551)this[_0x48efdf(0xb5)](_0x2ac30a,_0x1ad252);}[_0x591f59(0xb1)](_0x2b223e){const _0x41e0a7=_0x591f59;if(!this[_0x41e0a7(0xb2)][_0x41e0a7(0xc7)](_0x2b223e))throw new _0x3476da(_0x41e0a7(0xe6),null,{'channelId':_0x2b223e});const _0x6f9473=this[_0x41e0a7(0xb2)][_0x41e0a7(0xc9)](_0x2b223e);this[_0x41e0a7(0xc3)](_0x6f9473);for(const _0x1222a7 of _0x6f9473)_0x41e0a7(0xb4)===this[_0x41e0a7(0xe4)][_0x41e0a7(0xb3)][_0x41e0a7(0xc9)](_0xf16060)[_0x41e0a7(0xb6)]&&this[_0x41e0a7(0xb9)](_0x2b223e,_0x1222a7);this[_0x41e0a7(0xb2)][_0x41e0a7(0xb8)](_0x2b223e),this[_0x41e0a7(0xe7)][_0x41e0a7(0xb8)](_0x2b223e),this[_0x41e0a7(0xd5)][_0x41e0a7(0xb8)](_0x2b223e);}get[_0x591f59(0xd0)](){const _0x3187c1=_0x591f59;return this[_0x3187c1(0xe4)][_0x3187c1(0xb3)][_0x3187c1(0xc9)](_0xf16060)[_0x3187c1(0xe5)][_0x3187c1(0xad)];}[_0x591f59(0xcb)](_0x2dfd6d){const _0xce301b=_0x591f59;for(const _0x33f7bc of this[_0xce301b(0xe7)][_0xce301b(0xdd)]())for(const _0x558950 of _0x33f7bc)if(_0x558950['id']===_0x2dfd6d)return _0x558950[_0xce301b(0xac)];}[_0x591f59(0xcd)](_0x34c9e7,_0x434e59){const _0x1ae1fe=_0x591f59,_0x4d2c5=_0x434e59?[this[_0x1ae1fe(0xe7)][_0x1ae1fe(0xc9)](_0x434e59)]:this[_0x1ae1fe(0xe7)][_0x1ae1fe(0xdd)](),_0x29a2c0=new Set();for(const _0x9a5f88 of _0x4d2c5)for(const _0x9014c4 of _0x9a5f88)_0x9014c4[_0x1ae1fe(0xac)]['id']===_0x34c9e7['id']&&_0x29a2c0[_0x1ae1fe(0xd4)](_0x9014c4['id']);return _0x29a2c0;}[_0x591f59(0xcf)](_0x4eab10){const _0x406f76=_0x591f59;for(const _0x30cb0e of this[_0x406f76(0xe7)][_0x406f76(0xdd)]())for(const _0x587aa5 of _0x30cb0e)if(_0x587aa5[_0x406f76(0xac)]===_0x4eab10)return _0x587aa5[_0x406f76(0xd7)];}[_0x591f59(0xb5)](_0x5c6090,_0xac8dbe){const _0x2b6e4c=_0x591f59;if(_0x2b6e4c(0xb4)!==this[_0x2b6e4c(0xe4)][_0x2b6e4c(0xb3)][_0x2b6e4c(0xc9)](_0xf16060)[_0x2b6e4c(0xb6)])return;const _0x5ca7ad=_0xac8dbe[_0x2b6e4c(0xac)],_0x34122f=this[_0x2b6e4c(0xe8)][_0x2b6e4c(0xe1)](_0x5ca7ad['id'])||this[_0x2b6e4c(0xd1)](_0x5ca7ad),_0x542e9d=Object[_0x2b6e4c(0xd6)]({},_0xac8dbe,{'user':_0x34122f});this[_0x2b6e4c(0xe7)][_0x2b6e4c(0xc9)](_0x5c6090)[_0x2b6e4c(0xd4)](_0x542e9d);const _0x349043=this[_0x2b6e4c(0xd5)][_0x2b6e4c(0xc9)](_0x5c6090);_0x349043[_0x2b6e4c(0xc7)](_0x34122f['id'])||_0x349043[_0x2b6e4c(0xd4)](_0x34122f),this[_0x2b6e4c(0xc0)][_0x2b6e4c(0xc7)](_0x34122f['id'])||this[_0x2b6e4c(0xc0)][_0x2b6e4c(0xd4)](_0x34122f,_0x34122f[_0x2b6e4c(0xba)]?0x0:void 0x0),this[_0x2b6e4c(0xb7)](_0x2b6e4c(0xae)+_0x5c6090,{'channelId':_0x5c6090,'session':_0x542e9d});}[_0x591f59(0xb9)](_0x194f81,_0x43bf79){const _0xdd9025=_0x591f59;if(_0xdd9025(0xb4)!==this[_0xdd9025(0xe4)][_0xdd9025(0xb3)][_0xdd9025(0xc9)](_0xf16060)[_0xdd9025(0xb6)])return;const _0x1e590d=this[_0xdd9025(0xd5)][_0xdd9025(0xc9)](_0x194f81),_0x402fa3=_0x43bf79[_0xdd9025(0xac)];_0x402fa3['id']&&(this[_0xdd9025(0xe7)][_0xdd9025(0xc9)](_0x194f81)[_0xdd9025(0xb0)](_0x43bf79['id']),_0x1e590d[_0xdd9025(0xc7)](_0x402fa3['id'])&&!this[_0xdd9025(0xcd)](_0x402fa3,_0x194f81)[_0xdd9025(0xcc)]&&_0x1e590d[_0xdd9025(0xb0)](_0x402fa3['id']),this[_0xdd9025(0xc0)][_0xdd9025(0xc9)](_0x402fa3['id'])&&!this[_0xdd9025(0xcd)](_0x402fa3)[_0xdd9025(0xcc)]&&this[_0xdd9025(0xc0)][_0xdd9025(0xb0)](_0x402fa3['id']));}[_0x591f59(0xd1)](_0x5c5c25,_0x2c2bab){const _0x151c53=_0x591f59,_0x3359fd=this[_0x151c53(0xe8)][_0x151c53(0xce)](_0x5c5c25);return _0x2c2bab&&this[_0x151c53(0xe8)][_0x151c53(0xd3)](_0x5c5c25['id']),_0x3359fd[_0x151c53(0xdf)]=this[_0x151c53(0xab)]++,_0x3359fd;}}
23
+ const _0x3bb9b8=_0x6fc3;(function(_0x41a446,_0x2186b4){const _0x29e177=_0x6fc3,_0x2d04a6=_0x41a446();while(!![]){try{const _0x50f9d6=parseInt(_0x29e177(0x1e3))/0x1+-parseInt(_0x29e177(0x1de))/0x2+parseInt(_0x29e177(0x20e))/0x3+parseInt(_0x29e177(0x1e6))/0x4*(-parseInt(_0x29e177(0x1e9))/0x5)+-parseInt(_0x29e177(0x1f7))/0x6+-parseInt(_0x29e177(0x207))/0x7+parseInt(_0x29e177(0x1fb))/0x8;if(_0x50f9d6===_0x2186b4)break;else _0x2d04a6['push'](_0x2d04a6['shift']());}catch(_0x280079){_0x2d04a6['push'](_0x2d04a6['shift']());}}}(_0x3d8f,0xc6c45));import{ContextPlugin as _0x1604d7}from'ckeditor5/src/core.js';import{Collection as _0x53b4e9,CKEditorError as _0x1e9c3e}from'ckeditor5/src/utils.js';function _0x3d8f(){const _0x192640=['connection','getUserBySessionId','get','getUserSessions','state','plugins','delete','addUser','stopListening','9294480IWiVOe','orderNumber','size','values','18137064JDEiCC','isMe','mySessionId','pluginName','channelConnectedUsers','getUserRole','assign','add','listenTo','sessions-unregister-not-exist','_handleSessionRemove','connected','1531950qnxsRr','allConnectedUsers','register','sessions-register-already-registered','sessionId','role','_registeredSessions','2078172zPjzpF','Sessions','isPremiumPlugin','set','sessionAdd:','_users','init','remove','isOfficialPlugin','has','_uniqueUsersCount','context','850304VExICx','forEach','change:state','channelSessions','_handleSessionAdd','1597033SlPjBB','_createUser','getUser','7068DoCZkx','fire','clear','4385qJfmMQ','requires','user','unregister','defineMe'];_0x3d8f=function(){return _0x192640;};return _0x3d8f();}function _0x6fc3(_0xdf4c03,_0x1cdeb1){const _0x3d8fc6=_0x3d8f();return _0x6fc3=function(_0x6fc306,_0x44dc42){_0x6fc306=_0x6fc306-0x1db;let _0x5f0d4f=_0x3d8fc6[_0x6fc306];return _0x5f0d4f;},_0x6fc3(_0xdf4c03,_0x1cdeb1);}import{WebSocketGateway as _0x1c0694}from'./websocketgateway.js';import{Users as _0x17a221}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1604d7{[_0x3bb9b8(0x1e1)];[_0x3bb9b8(0x1ff)];[_0x3bb9b8(0x208)];[_0x3bb9b8(0x20d)];[_0x3bb9b8(0x1dc)];[_0x3bb9b8(0x213)];static get[_0x3bb9b8(0x1fe)](){const _0x168655=_0x3bb9b8;return _0x168655(0x20f);}static get[_0x3bb9b8(0x216)](){return!0x0;}static get[_0x3bb9b8(0x210)](){return!0x0;}static get[_0x3bb9b8(0x1ea)](){return[_0x1c0694,_0x17a221];}constructor(_0x1390a8){const _0x12a665=_0x3bb9b8;super(_0x1390a8),this[_0x12a665(0x1e1)]=new Map(),this[_0x12a665(0x1ff)]=new Map(),this[_0x12a665(0x208)]=new _0x53b4e9(),this[_0x12a665(0x20d)]=new Map(),this[_0x12a665(0x1dc)]=0x0,this[_0x12a665(0x213)]=this[_0x12a665(0x1dd)][_0x12a665(0x1f3)][_0x12a665(0x1f0)](_0x17a221);}[_0x3bb9b8(0x214)](){const _0x251056=_0x3bb9b8,_0x42996b=this[_0x251056(0x1dd)][_0x251056(0x1f3)][_0x251056(0x1f0)](_0x1c0694);this[_0x251056(0x203)](_0x42996b,_0x251056(0x1e0),(_0x3d3aea,_0x1b4629,_0x40bdf3)=>{const _0x2f9f61=_0x251056;if(_0x2f9f61(0x206)!==_0x40bdf3)this[_0x2f9f61(0x1e1)][_0x2f9f61(0x1df)](_0x272ec3=>_0x272ec3[_0x2f9f61(0x1e8)]()),this[_0x2f9f61(0x1ff)][_0x2f9f61(0x1df)](_0x11c34b=>_0x11c34b[_0x2f9f61(0x1e8)]()),this[_0x2f9f61(0x208)][_0x2f9f61(0x1e8)]();else{for(const [_0x437ce0,_0xbb1e16]of this[_0x2f9f61(0x20d)])for(const _0xb04d54 of _0xbb1e16)this[_0x2f9f61(0x1e2)](_0x437ce0,_0xb04d54);}}),this[_0x251056(0x1e4)](_0x42996b[_0x251056(0x1ee)]['me'],!0x0);}[_0x3bb9b8(0x209)](_0x328262,_0x207b4c){const _0x33ac7b=_0x3bb9b8;if(this[_0x33ac7b(0x20d)][_0x33ac7b(0x1db)](_0x328262))throw new _0x1e9c3e(_0x33ac7b(0x20a),null,{'channelId':_0x328262});this[_0x33ac7b(0x20d)][_0x33ac7b(0x211)](_0x328262,_0x207b4c),this[_0x33ac7b(0x1e1)][_0x33ac7b(0x211)](_0x328262,new _0x53b4e9()),this[_0x33ac7b(0x1ff)][_0x33ac7b(0x211)](_0x328262,new _0x53b4e9()),this[_0x33ac7b(0x203)](_0x207b4c,_0x33ac7b(0x202),(_0x174190,_0x19e339)=>this[_0x33ac7b(0x1e2)](_0x328262,_0x19e339)),this[_0x33ac7b(0x203)](_0x207b4c,_0x33ac7b(0x215),(_0x10603c,_0x6159cf)=>this[_0x33ac7b(0x205)](_0x328262,_0x6159cf));for(const _0x40c3ff of _0x207b4c)this[_0x33ac7b(0x1e2)](_0x328262,_0x40c3ff);}[_0x3bb9b8(0x1ec)](_0x36b1fa){const _0x53f132=_0x3bb9b8;if(!this[_0x53f132(0x20d)][_0x53f132(0x1db)](_0x36b1fa))throw new _0x1e9c3e(_0x53f132(0x204),null,{'channelId':_0x36b1fa});const _0x262e62=this[_0x53f132(0x20d)][_0x53f132(0x1f0)](_0x36b1fa);this[_0x53f132(0x1f6)](_0x262e62);for(const _0x2d1748 of _0x262e62)_0x53f132(0x206)===this[_0x53f132(0x1dd)][_0x53f132(0x1f3)][_0x53f132(0x1f0)](_0x1c0694)[_0x53f132(0x1f2)]&&this[_0x53f132(0x205)](_0x36b1fa,_0x2d1748);this[_0x53f132(0x20d)][_0x53f132(0x1f4)](_0x36b1fa),this[_0x53f132(0x1e1)][_0x53f132(0x1f4)](_0x36b1fa),this[_0x53f132(0x1ff)][_0x53f132(0x1f4)](_0x36b1fa);}get[_0x3bb9b8(0x1fd)](){const _0x4ce947=_0x3bb9b8;return this[_0x4ce947(0x1dd)][_0x4ce947(0x1f3)][_0x4ce947(0x1f0)](_0x1c0694)[_0x4ce947(0x1ee)][_0x4ce947(0x20b)];}[_0x3bb9b8(0x1ef)](_0x4ff952){const _0x2b3bb3=_0x3bb9b8;for(const _0x3d4142 of this[_0x2b3bb3(0x1e1)][_0x2b3bb3(0x1fa)]())for(const _0x1df22b of _0x3d4142)if(_0x1df22b['id']===_0x4ff952)return _0x1df22b[_0x2b3bb3(0x1eb)];}[_0x3bb9b8(0x1f1)](_0x53dc7b,_0x8155ed){const _0x2214e2=_0x3bb9b8,_0x275220=_0x8155ed?[this[_0x2214e2(0x1e1)][_0x2214e2(0x1f0)](_0x8155ed)]:this[_0x2214e2(0x1e1)][_0x2214e2(0x1fa)](),_0x27ab0e=new Set();for(const _0x504bee of _0x275220)for(const _0x4dabec of _0x504bee)_0x4dabec[_0x2214e2(0x1eb)]['id']===_0x53dc7b['id']&&_0x27ab0e[_0x2214e2(0x202)](_0x4dabec['id']);return _0x27ab0e;}[_0x3bb9b8(0x200)](_0x5d6dd8){const _0x2e34f6=_0x3bb9b8;for(const _0x359452 of this[_0x2e34f6(0x1e1)][_0x2e34f6(0x1fa)]())for(const _0x3f68bb of _0x359452)if(_0x3f68bb[_0x2e34f6(0x1eb)]===_0x5d6dd8)return _0x3f68bb[_0x2e34f6(0x20c)];}[_0x3bb9b8(0x1e2)](_0x28ea56,_0x3f962){const _0x376c39=_0x3bb9b8;if(_0x376c39(0x206)!==this[_0x376c39(0x1dd)][_0x376c39(0x1f3)][_0x376c39(0x1f0)](_0x1c0694)[_0x376c39(0x1f2)])return;const _0x140397=_0x3f962[_0x376c39(0x1eb)],_0x4775e0=this[_0x376c39(0x213)][_0x376c39(0x1e5)](_0x140397['id'])||this[_0x376c39(0x1e4)](_0x140397),_0x53b15c=Object[_0x376c39(0x201)]({},_0x3f962,{'user':_0x4775e0});this[_0x376c39(0x1e1)][_0x376c39(0x1f0)](_0x28ea56)[_0x376c39(0x202)](_0x53b15c);const _0xbf4d1=this[_0x376c39(0x1ff)][_0x376c39(0x1f0)](_0x28ea56);_0xbf4d1[_0x376c39(0x1db)](_0x4775e0['id'])||_0xbf4d1[_0x376c39(0x202)](_0x4775e0),this[_0x376c39(0x208)][_0x376c39(0x1db)](_0x4775e0['id'])||this[_0x376c39(0x208)][_0x376c39(0x202)](_0x4775e0,_0x4775e0[_0x376c39(0x1fc)]?0x0:void 0x0),this[_0x376c39(0x1e7)](_0x376c39(0x212)+_0x28ea56,{'channelId':_0x28ea56,'session':_0x53b15c});}[_0x3bb9b8(0x205)](_0x56de67,_0x47ee85){const _0x1c380f=_0x3bb9b8;if(_0x1c380f(0x206)!==this[_0x1c380f(0x1dd)][_0x1c380f(0x1f3)][_0x1c380f(0x1f0)](_0x1c0694)[_0x1c380f(0x1f2)])return;const _0x34d1f1=this[_0x1c380f(0x1ff)][_0x1c380f(0x1f0)](_0x56de67),_0x552546=_0x47ee85[_0x1c380f(0x1eb)];_0x552546['id']&&(this[_0x1c380f(0x1e1)][_0x1c380f(0x1f0)](_0x56de67)[_0x1c380f(0x215)](_0x47ee85['id']),_0x34d1f1[_0x1c380f(0x1db)](_0x552546['id'])&&!this[_0x1c380f(0x1f1)](_0x552546,_0x56de67)[_0x1c380f(0x1f9)]&&_0x34d1f1[_0x1c380f(0x215)](_0x552546['id']),this[_0x1c380f(0x208)][_0x1c380f(0x1f0)](_0x552546['id'])&&!this[_0x1c380f(0x1f1)](_0x552546)[_0x1c380f(0x1f9)]&&this[_0x1c380f(0x208)][_0x1c380f(0x215)](_0x552546['id']));}[_0x3bb9b8(0x1e4)](_0x327600,_0x2040df){const _0x4276e2=_0x3bb9b8,_0x55b986=this[_0x4276e2(0x213)][_0x4276e2(0x1f5)](_0x327600);return _0x2040df&&this[_0x4276e2(0x213)][_0x4276e2(0x1ed)](_0x327600['id']),_0x55b986[_0x4276e2(0x1f8)]=this[_0x4276e2(0x1dc)]++,_0x55b986;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dc73e=_0x2606;(function(_0x66c2e6,_0x38aff1){const _0x1173cc=_0x2606,_0x5dcdfe=_0x66c2e6();while(!![]){try{const _0x313510=parseInt(_0x1173cc(0x124))/0x1*(-parseInt(_0x1173cc(0xa2))/0x2)+parseInt(_0x1173cc(0xad))/0x3*(parseInt(_0x1173cc(0xaf))/0x4)+-parseInt(_0x1173cc(0x9a))/0x5*(parseInt(_0x1173cc(0xba))/0x6)+-parseInt(_0x1173cc(0xab))/0x7*(parseInt(_0x1173cc(0x10f))/0x8)+parseInt(_0x1173cc(0xe7))/0x9+-parseInt(_0x1173cc(0xb2))/0xa+parseInt(_0x1173cc(0x10e))/0xb*(parseInt(_0x1173cc(0xc7))/0xc);if(_0x313510===_0x38aff1)break;else _0x5dcdfe['push'](_0x5dcdfe['shift']());}catch(_0x5db779){_0x5dcdfe['push'](_0x5dcdfe['shift']());}}}(_0x1c3c,0xbc350));function _0x2606(_0x34797c,_0x185697){const _0x1c3cc4=_0x1c3c();return _0x2606=function(_0x2606af,_0x57dff4){_0x2606af=_0x2606af-0x9a;let _0x573000=_0x1c3cc4[_0x2606af];return _0x573000;},_0x2606(_0x34797c,_0x185697);}import{Plugin as _0x385076}from'ckeditor5/src/core.js';import{global as _0x2e766f,DomEmitterMixin as _0x495d29}from'ckeditor5/src/utils.js';import{Sessions as _0x3cf3a4}from'./sessions.js';import{ModelLiveRange as _0x458403}from'ckeditor5/src/engine.js';function _0x1c3c(){const _0x4f727e=['reconvertMarker','createElement','createUserMarkerOperations','textContent','getNearestSelectionRange','markerToElement','mouseenter','split','span','schema','size','84327DGHAee','mouseleave','isLimit','5PppJDa','spellcheck','parent','editor','hasContent','detach','false','type','18URBkZC','view','toDomElement','user:range','init','markerToHighlight','ck-user__selection','Escape','userPositionMarker','119yInbGl','user:','3UZIAIV','element','4629288lUjXgs','checkChild','mapper','11335590XnfuPQ','highest','update:user:range','classList','contenteditable','applyOperation','model','pluginName','5682426WJyBtg','isCollapsed','tableCell','rootName','hasDomSelection','markers','nodeAfter','getRange','fromRange','for','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','plugins','batch','300KdDZoP','getContainedElement','getCustomProperty','$text','change','user:range:','isInline','getSelectionClass','markerName','isDocumentOperation','enqueueChange','outerHTML','name','commands','oldRange','listenTo','markerNameToElements','editingDowncast','document','isPremiumPlugin','markerRange','user:position:','getStart','clear','innerHTML','startsWith','render','add','createRange','root','color','toRange','9250317lGtYWT','mySessionId','ck-user__marker-tooltip','start','getFirstRange','end','ck-user__marker_hovered','getUserBySessionId','isObject','addMarker','isOfficialPlugin','change:range','newRange','set','remove','_domEmitter','removeMarker','getAttribute','get','undo','editing','selection','setAttribute','destroy','ck-user__marker\x20','keydown','getPositions','UserMarkers','updateMarker','stopListening','removeClass','orderNumber','_createdBatches','data-session-id','requires','deletionPosition','afterInit','delete','user:position','858638fcHdwN','247584McRCVX','marker','$graveyard','setCustomProperty','addEventListener','isSimilar','has','conversion','createUIElement','getMarkerClass'];_0x1c3c=function(){return _0x4f727e;};return _0x1c3c();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x385076{[_0x4dc73e(0xf6)]=new(_0x495d29())();static get[_0x4dc73e(0x109)](){return[_0x3cf3a4];}static get[_0x4dc73e(0xb9)](){const _0x1e950d=_0x4dc73e;return _0x1e950d(0x102);}static get[_0x4dc73e(0xf1)](){return!0x0;}static get[_0x4dc73e(0xda)](){return!0x0;}[_0x4dc73e(0xa6)](){const _0x1026bc=_0x4dc73e,_0x4f4017=this[_0x1026bc(0x9d)],_0x593861=_0x4f4017[_0x1026bc(0xc5)][_0x1026bc(0xf9)](_0x3cf3a4);_0x4f4017[_0x1026bc(0x116)][_0x1026bc(0xc3)](_0x1026bc(0xd8))[_0x1026bc(0x11e)]({'model':_0x1026bc(0x10d),'view':(_0xd9578a,{writer:_0x17a921})=>function(_0x330188,_0x3ddded,_0x390f2a,_0x3227c8){const _0x267e8b=_0x1026bc,_0x2f9317=_0x330188[_0x267e8b(0xcf)][_0x267e8b(0x120)](':')[0x2],_0x3c3b7f=_0x390f2a[_0x267e8b(0xee)](_0x2f9317);if(!_0x3c3b7f||_0x2f9317===_0x390f2a[_0x267e8b(0xe8)])return;if(!_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x122)][_0x267e8b(0xb0)](_0x330188[_0x267e8b(0xdb)][_0x267e8b(0xea)],_0x267e8b(0xca)))return;const _0x1b81f5={'class':_0x267e8b(0xff)+_0x3c3b7f[_0x267e8b(0xe5)][_0x267e8b(0x118)](),'data-name':_0x3c3b7f[_0x267e8b(0xd3)],'data-session-id':_0x2f9317},_0x5536b2=_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0xbf)][_0x267e8b(0xf9)](_0x330188[_0x267e8b(0xcf)]),_0x3a1784=_0x5536b2[_0x267e8b(0xdd)](),_0x4b6fbf=_0x3a1784[_0x267e8b(0xc0)],_0xa91484=_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x122)];if(_0x4b6fbf&&_0xa91484[_0x267e8b(0xef)](_0x4b6fbf)&&_0xa91484[_0x267e8b(0xcd)](_0x4b6fbf)&&!_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0xbf)][_0x267e8b(0xf9)](_0x267e8b(0xcc)+_0x2f9317)[_0x267e8b(0xc1)]()[_0x267e8b(0xbb)])return;const _0x2028ec=_0x3a1784[_0x267e8b(0x9c)];return _0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x122)][_0x267e8b(0x126)](_0x2028ec)&&!_0x3227c8[_0x267e8b(0xb8)][_0x267e8b(0x9e)](_0x2028ec)&&(_0x1b81f5[_0x267e8b(0xb6)]=!0x1),function(_0x594cf7,_0x4ee2d9,_0x5f0d06){const _0x5ad4f1=_0x267e8b,_0x278856=_0x594cf7[_0x5ad4f1(0x117)](_0x5ad4f1(0x121),_0x4ee2d9);return _0x594cf7[_0x5ad4f1(0x112)](_0x5ad4f1(0xaa),!0x0,_0x278856),_0x278856[_0x5ad4f1(0xe1)]=function(_0x1d8f7b){const _0x590f02=_0x5ad4f1,_0x651d8a=this[_0x590f02(0xa4)](_0x1d8f7b),_0xafa041=document[_0x590f02(0x11a)](_0x590f02(0x121));return _0xafa041[_0x590f02(0xb5)][_0x590f02(0xe2)](_0x590f02(0xe9)),_0xafa041[_0x590f02(0xfd)](_0x590f02(0xb6),_0x590f02(0xa0)),_0xafa041[_0x590f02(0xfd)](_0x590f02(0x9b),_0x590f02(0xa0)),_0xafa041[_0x590f02(0x11c)]=_0x5f0d06[_0x590f02(0xd3)],_0x651d8a[_0x590f02(0xdf)]=_0x590f02(0xc4)+_0xafa041[_0x590f02(0xd2)]+'⁠',_0x651d8a[_0x590f02(0x113)](_0x590f02(0x11f),()=>{const _0x69e3c7=_0x590f02;_0x651d8a[_0x69e3c7(0xb5)][_0x69e3c7(0xe2)](_0x69e3c7(0xed));}),_0x651d8a[_0x590f02(0x113)](_0x590f02(0x125),()=>{const _0x37d5bb=_0x590f02;_0x651d8a[_0x37d5bb(0xb5)][_0x37d5bb(0xf5)](_0x37d5bb(0xed));}),_0x651d8a;},_0x278856[_0x5ad4f1(0x114)]=function(_0x57ffc4){const _0xf0f5d1=_0x5ad4f1;return!(!this[_0xf0f5d1(0xc9)](_0xf0f5d1(0xaa))||!_0x57ffc4[_0xf0f5d1(0xc9)](_0xf0f5d1(0xaa))||this[_0xf0f5d1(0xf8)](_0xf0f5d1(0x108))!=_0x57ffc4[_0xf0f5d1(0xf8)](_0xf0f5d1(0x108)));},_0x278856;}(_0x3ddded,_0x1b81f5,_0x3c3b7f);}(_0xd9578a,_0x17a921,_0x593861,_0x4f4017)}),_0x4f4017[_0x1026bc(0x116)][_0x1026bc(0xc3)](_0x1026bc(0xd8))[_0x1026bc(0xa7)]({'model':_0x1026bc(0xa5),'view':_0x1f4702=>function(_0xae540f,_0x4ecbc3){const _0x45d3e3=_0x1026bc,_0xfcdb73=_0xae540f[_0x45d3e3(0xcf)][_0x45d3e3(0x120)](':')[0x2];if(_0xfcdb73===_0x4ecbc3[_0x45d3e3(0xe8)])return null;const _0x463f68=_0x4ecbc3[_0x45d3e3(0xee)](_0xfcdb73);if(!_0x463f68)return{'id':_0xfcdb73,'classes':[]};return{'id':_0xfcdb73,'classes':[_0x45d3e3(0xa8),_0x463f68[_0x45d3e3(0xe5)][_0x45d3e3(0xce)]()],'attributes':{'data-session-id':_0xfcdb73},'priority':0x7d0+_0x463f68[_0x45d3e3(0x106)]};}(_0x1f4702,_0x593861)}),function(_0x1d1011){const _0x20e342=_0x1026bc,_0x3cee38=_0x1d1011[_0x20e342(0xb8)],_0x190e91=new Map(),_0x101b7b=_0x1d1011[_0x20e342(0xc5)][_0x20e342(0xf9)](_0x3cf3a4);_0x3cee38[_0x20e342(0xbf)]['on'](_0x20e342(0xb4),(_0x3f0cea,_0x8375d4,_0x253507,_0x46ca23)=>{const _0x53eb09=_0x20e342;if(!_0x46ca23&&_0x190e91[_0x53eb09(0xf9)](_0x8375d4[_0x53eb09(0xd3)]))return _0x190e91[_0x53eb09(0xf9)](_0x8375d4[_0x53eb09(0xd3)])[_0x53eb09(0x9f)](),void _0x190e91[_0x53eb09(0x10c)](_0x8375d4[_0x53eb09(0xd3)]);const _0x132354=_0x8375d4[_0x53eb09(0xd3)][_0x53eb09(0x120)](':')[0x2];if(_0x132354===_0x101b7b[_0x53eb09(0xe8)])return;const _0xb7e7d9=_0x53eb09(0xdc)+_0x132354;_0x3cee38[_0x53eb09(0xbf)][_0x53eb09(0x115)](_0xb7e7d9)&&_0x1d1011[_0x53eb09(0xfb)][_0x53eb09(0x119)](_0xb7e7d9),_0x8375d4['on'](_0x53eb09(0xf2),(_0x230123,_0x41562c,_0x4683cc)=>{const _0x5aa70f=_0x53eb09;if(_0x5aa70f(0x111)!=_0x41562c[_0x5aa70f(0xe4)][_0x5aa70f(0xbd)]&&_0x5aa70f(0x111)==_0x8375d4[_0x5aa70f(0xc1)]()[_0x5aa70f(0xe4)][_0x5aa70f(0xbd)]&&!_0x190e91[_0x5aa70f(0x115)](_0x8375d4[_0x5aa70f(0xd3)])){const _0x199271=_0x3cee38[_0x5aa70f(0x122)][_0x5aa70f(0x11d)](_0x4683cc[_0x5aa70f(0x10a)]);if(_0x199271){const _0x5afee1=_0x458403[_0x5aa70f(0xc2)](_0x199271);_0x190e91[_0x5aa70f(0xf4)](_0x8375d4[_0x5aa70f(0xd3)],_0x5afee1),_0x5afee1['on'](_0x5aa70f(0xf2),(_0x4618a3,_0x3e8ce5,_0x1ba8ca)=>{const _0x193fea=_0x5aa70f;if(_0x193fea(0x111)==_0x5afee1[_0x193fea(0xe4)][_0x193fea(0xbd)]){const _0x11e272=_0x3cee38[_0x193fea(0x122)][_0x193fea(0x11d)](_0x1ba8ca[_0x193fea(0x10a)]);_0x11e272?(_0x5afee1[_0x193fea(0xea)]=_0x11e272[_0x193fea(0xea)],_0x5afee1[_0x193fea(0xec)]=_0x11e272[_0x193fea(0xec)]):(_0x190e91[_0x193fea(0x10c)](_0x8375d4[_0x193fea(0xd3)]),_0x5afee1[_0x193fea(0x9f)]());}});}}});}),_0x3cee38[_0x20e342(0xd9)]['on'](_0x20e342(0xcb),()=>{const _0x29d42b=_0x20e342;_0x190e91[_0x29d42b(0x123)]>0x0&&_0x3cee38[_0x29d42b(0xd1)]({'isUndoable':!0x1},_0x23707a=>{const _0x3a5066=_0x29d42b;for(const [_0x531075,_0x50813f]of _0x190e91)_0x3a5066(0x111)==_0x3cee38[_0x3a5066(0xbf)][_0x3a5066(0xf9)](_0x531075)[_0x3a5066(0xc1)]()[_0x3a5066(0xe4)][_0x3a5066(0xbd)]&&(J(_0x531075[_0x3a5066(0x120)](':')[0x2],_0x50813f[_0x3a5066(0xe6)](),_0x3cee38,_0x23707a),_0x50813f[_0x3a5066(0x9f)]());_0x190e91[_0x3a5066(0xde)]();});});}(_0x4f4017),this[_0x1026bc(0xf6)][_0x1026bc(0xd6)](_0x2e766f[_0x1026bc(0xd9)],_0x1026bc(0x100),(_0x171e7a,{key:_0x3cf08c})=>{const _0x3bebf7=_0x1026bc;_0x3bebf7(0xa9)===_0x3cf08c&&function(_0x335308){const _0x5606d6=_0x3bebf7;_0x335308[_0x5606d6(0xfb)][_0x5606d6(0xa3)][_0x5606d6(0xcb)](_0x11955a=>{const _0x275424=_0x5606d6;for(const _0x49a412 of _0x335308[_0x275424(0xb8)][_0x275424(0xbf)]){if(!_0x49a412[_0x275424(0xd3)][_0x275424(0xe0)](_0x275424(0x10d)))continue;const _0xb7a4fe=_0x335308[_0x275424(0xfb)][_0x275424(0xb1)][_0x275424(0xd7)](_0x49a412[_0x275424(0xd3)]);if(_0xb7a4fe){for(const _0x5b7fa1 of _0xb7a4fe)_0x11955a[_0x275424(0x105)](_0x275424(0xed),_0x5b7fa1);}}});}(_0x4f4017);},{'useCapture':!0x0});}[_0x4dc73e(0x10b)](){const _0x554e34=_0x4dc73e,_0x5b278b=this[_0x554e34(0x9d)],_0x36fbe9=_0x5b278b[_0x554e34(0xd4)][_0x554e34(0xf9)](_0x554e34(0xfa));_0x36fbe9&&_0x5b278b[_0x554e34(0xb8)]['on'](_0x554e34(0xb7),(_0x1194ea,_0x12d360)=>{const _0x48159f=_0x554e34,_0x316cbf=_0x12d360[0x0];if(!_0x316cbf[_0x48159f(0xd0)])return;if(_0x48159f(0x110)!=_0x316cbf[_0x48159f(0xa1)]||!_0x316cbf[_0x48159f(0xd3)][_0x48159f(0xe0)](_0x48159f(0xac)))return;const _0x1ced4d=_0x316cbf[_0x48159f(0xc6)];_0x36fbe9[_0x48159f(0x107)][_0x48159f(0x115)](_0x1ced4d)&&(_0x316cbf[_0x48159f(0xf3)]=_0x316cbf[_0x48159f(0xd5)]?_0x5b278b[_0x48159f(0xb8)][_0x48159f(0xe3)](_0x316cbf[_0x48159f(0xd5)][_0x48159f(0xea)],_0x316cbf[_0x48159f(0xd5)][_0x48159f(0xec)]):null);},{'priority':_0x554e34(0xb3)});}[_0x4dc73e(0xfe)](){const _0x5d6db2=_0x4dc73e;return this[_0x5d6db2(0xf6)][_0x5d6db2(0x104)](),super[_0x5d6db2(0xfe)]();}[_0x4dc73e(0x11b)](){const _0x5a82d0=_0x4dc73e,_0x42917a=this[_0x5a82d0(0x9d)],_0x126bc4=_0x42917a[_0x5a82d0(0xb8)][_0x5a82d0(0xd9)],_0x2577e0=_0x42917a[_0x5a82d0(0xc5)][_0x5a82d0(0xf9)](_0x3cf3a4);_0x42917a[_0x5a82d0(0xb8)][_0x5a82d0(0xd1)]({'isUndoable':!0x1},_0x1eaa66=>{const _0x139e8c=_0x5a82d0,_0x93a60d=_0x139e8c(0xcc)+_0x2577e0[_0x139e8c(0xe8)],_0x38d008=_0x139e8c(0xdc)+_0x2577e0[_0x139e8c(0xe8)],_0x14111e=_0x42917a[_0x139e8c(0xb8)][_0x139e8c(0xbf)][_0x139e8c(0x115)](_0x93a60d);_0x42917a[_0x139e8c(0xfb)][_0x139e8c(0xa3)][_0x139e8c(0xbe)]?J(_0x2577e0[_0x139e8c(0xe8)],_0x126bc4[_0x139e8c(0xfc)][_0x139e8c(0xeb)](),_0x42917a[_0x139e8c(0xb8)],_0x1eaa66):_0x14111e&&(_0x1eaa66[_0x139e8c(0xf7)](_0x93a60d),_0x1eaa66[_0x139e8c(0xf7)](_0x38d008));});}}function J(_0x5b443b,_0x21d75e,_0x163752,_0x3b546b){const _0x35c212=_0x4dc73e,_0x43ffd0=_0x35c212(0xcc)+_0x5b443b,_0x3723bd=_0x35c212(0xdc)+_0x5b443b,_0x4e0821=_0x21d75e[_0x35c212(0xc8)]();let _0x51ecdd=_0x21d75e[_0x35c212(0xea)];if(_0x4e0821&&_0x4e0821['is'](_0x35c212(0xae),_0x35c212(0xbc))){const _0x387532=function(_0x178818,_0x4349cf){const _0x295833=_0x35c212;for(const _0x26822f of _0x178818[_0x295833(0x101)]())if(_0x4349cf[_0x295833(0x122)][_0x295833(0xb0)](_0x26822f,_0x295833(0xca)))return _0x26822f;}(_0x21d75e,_0x163752);_0x387532&&(_0x51ecdd=_0x387532,_0x21d75e=_0x3b546b[_0x35c212(0xe3)](_0x51ecdd));}const _0x3adbce=_0x3b546b[_0x35c212(0xe3)](_0x51ecdd);_0x163752[_0x35c212(0xbf)][_0x35c212(0x115)](_0x43ffd0)?(_0x3b546b[_0x35c212(0x103)](_0x43ffd0,{'range':_0x21d75e}),_0x3b546b[_0x35c212(0x103)](_0x3723bd,{'range':_0x3adbce})):(_0x3b546b[_0x35c212(0xf0)](_0x43ffd0,{'range':_0x21d75e,'usingOperation':!0x0}),_0x3b546b[_0x35c212(0xf0)](_0x3723bd,{'range':_0x3adbce,'usingOperation':!0x0}));}
23
+ const _0x4bc435=_0x2a79;(function(_0x2b1e66,_0x5ec2cc){const _0x39f39c=_0x2a79,_0xdf7b07=_0x2b1e66();while(!![]){try{const _0x5f07ca=parseInt(_0x39f39c(0xef))/0x1*(-parseInt(_0x39f39c(0xae))/0x2)+-parseInt(_0x39f39c(0x10c))/0x3*(parseInt(_0x39f39c(0xe9))/0x4)+parseInt(_0x39f39c(0xfb))/0x5+-parseInt(_0x39f39c(0xab))/0x6+parseInt(_0x39f39c(0xb1))/0x7*(parseInt(_0x39f39c(0x113))/0x8)+parseInt(_0x39f39c(0xed))/0x9+parseInt(_0x39f39c(0xad))/0xa*(parseInt(_0x39f39c(0xc1))/0xb);if(_0x5f07ca===_0x5ec2cc)break;else _0xdf7b07['push'](_0xdf7b07['shift']());}catch(_0x124b58){_0xdf7b07['push'](_0xdf7b07['shift']());}}}(_0xa79f,0x65597));function _0x2a79(_0x40369b,_0x2c2451){const _0xa79fa3=_0xa79f();return _0x2a79=function(_0x2a7992,_0x351ada){_0x2a7992=_0x2a7992-0x9e;let _0x3d88ab=_0xa79fa3[_0x2a7992];return _0x3d88ab;},_0x2a79(_0x40369b,_0x2c2451);}function _0xa79f(){const _0x5baa00=['newRange','Escape','getPositions','isLimit','innerHTML','nodeAfter','spellcheck','orderNumber','rootName','$graveyard','ck-user__marker-tooltip','mouseenter','updateMarker','3608580gCdrVJ','getStart','610OhgQKS','40146xMkWam','markerToElement','hasContent','4592oZckYe','isDocumentOperation','getRange','for','data-session-id','destroy','plugins','pluginName','UserMarkers','change','fromRange','ck-user__marker\x20','view','removeMarker','color','toRange','198363Zofeak','end','markerToHighlight','addEventListener','textContent','add','isSimilar','highest','reconvertMarker','isObject','stopListening','hasDomSelection','getAttribute','createElement','editor','parent','set','marker','start','update:user:range','checkChild','render','commands','schema','tableCell','deletionPosition','requires','getMarkerClass','batch','enqueueChange','afterInit','change:range','createUserMarkerOperations','getNearestSelectionRange','keydown','addMarker','size','startsWith','ck-user__marker_hovered','markerRange','97524qQbtoT','userPositionMarker','root','undo','409518fQSfLE','getUserBySessionId','18vCSHlh','markerNameToElements','createUIElement','element','listenTo','getSelectionClass','removeClass','oldRange','remove','span','$text','contenteditable','633680BUxvrW','toDomElement','_createdBatches','setCustomProperty','setAttribute','editing','ck-user__selection','getCustomProperty','user:','conversion','user:position','init','model','markerName','createRange','editingDowncast','selection','36qrqnEk','type','mouseleave','delete','_domEmitter','isInline','user:range:','4856gRIQOH','getContainedElement','user:range','name','getFirstRange','isOfficialPlugin','isPremiumPlugin','detach','classList','applyOperation','mySessionId','isCollapsed','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','false','document','has','get','clear','split','user:position:','outerHTML','markers'];_0xa79f=function(){return _0x5baa00;};return _0xa79f();}import{Plugin as _0x4f7945}from'ckeditor5/src/core.js';import{global as _0x35c56a,DomEmitterMixin as _0x23f6ab}from'ckeditor5/src/utils.js';import{Sessions as _0x5e84f6}from'./sessions.js';import{ModelLiveRange as _0x1b5a24}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4f7945{[_0x4bc435(0x110)]=new(_0x23f6ab())();static get[_0x4bc435(0xdb)](){return[_0x5e84f6];}static get[_0x4bc435(0xb8)](){const _0x56ceb0=_0x4bc435;return _0x56ceb0(0xb9);}static get[_0x4bc435(0x118)](){return!0x0;}static get[_0x4bc435(0x119)](){return!0x0;}[_0x4bc435(0x106)](){const _0x5b0d24=_0x4bc435,_0xadeeb9=this[_0x5b0d24(0xcf)],_0x4f549a=_0xadeeb9[_0x5b0d24(0xb7)][_0x5b0d24(0x124)](_0x5e84f6);_0xadeeb9[_0x5b0d24(0x104)][_0x5b0d24(0xb4)](_0x5b0d24(0x10a))[_0x5b0d24(0xaf)]({'model':_0x5b0d24(0x105),'view':(_0x2ecb44,{writer:_0x268fe1})=>function(_0x2b2c7c,_0x5cefbd,_0x2c4bbc,_0x3e30de){const _0x29eba3=_0x5b0d24,_0x503526=_0x2b2c7c[_0x29eba3(0x108)][_0x29eba3(0x126)](':')[0x2],_0xc52e96=_0x2c4bbc[_0x29eba3(0xee)](_0x503526);if(!_0xc52e96||_0x503526===_0x2c4bbc[_0x29eba3(0x11d)])return;if(!_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xd8)][_0x29eba3(0xd5)](_0x2b2c7c[_0x29eba3(0xe8)][_0x29eba3(0xd3)],_0x29eba3(0xf9)))return;const _0x1ef5a8={'class':_0x29eba3(0xbc)+_0xc52e96[_0x29eba3(0xbf)][_0x29eba3(0xdc)](),'data-name':_0xc52e96[_0x29eba3(0x116)],'data-session-id':_0x503526},_0x480f67=_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0x129)][_0x29eba3(0x124)](_0x2b2c7c[_0x29eba3(0x108)]),_0x5826c4=_0x480f67[_0x29eba3(0xac)](),_0x1c7b5a=_0x5826c4[_0x29eba3(0xa3)],_0x5648ae=_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xd8)];if(_0x1c7b5a&&_0x5648ae[_0x29eba3(0xca)](_0x1c7b5a)&&_0x5648ae[_0x29eba3(0x111)](_0x1c7b5a)&&!_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0x129)][_0x29eba3(0x124)](_0x29eba3(0x112)+_0x503526)[_0x29eba3(0xb3)]()[_0x29eba3(0x11e)])return;const _0x54b423=_0x5826c4[_0x29eba3(0xd0)];return _0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xd8)][_0x29eba3(0xa1)](_0x54b423)&&!_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xb0)](_0x54b423)&&(_0x1ef5a8[_0x29eba3(0xfa)]=!0x1),function(_0x181753,_0x846d82,_0x13126d){const _0x499800=_0x29eba3,_0x1123ad=_0x181753[_0x499800(0xf1)](_0x499800(0xf8),_0x846d82);return _0x181753[_0x499800(0xfe)](_0x499800(0xea),!0x0,_0x1123ad),_0x1123ad[_0x499800(0xd6)]=function(_0x36811a){const _0x2671de=_0x499800,_0x36dcd7=this[_0x2671de(0xfc)](_0x36811a),_0x2bb32f=document[_0x2671de(0xce)](_0x2671de(0xf8));return _0x2bb32f[_0x2671de(0x11b)][_0x2671de(0xc6)](_0x2671de(0xa8)),_0x2bb32f[_0x2671de(0xff)](_0x2671de(0xfa),_0x2671de(0x121)),_0x2bb32f[_0x2671de(0xff)](_0x2671de(0xa4),_0x2671de(0x121)),_0x2bb32f[_0x2671de(0xc5)]=_0x13126d[_0x2671de(0x116)],_0x36dcd7[_0x2671de(0xa2)]=_0x2671de(0x11f)+_0x2bb32f[_0x2671de(0x128)]+'⁠',_0x36dcd7[_0x2671de(0xc4)](_0x2671de(0xa9),()=>{const _0x5bf8e4=_0x2671de;_0x36dcd7[_0x5bf8e4(0x11b)][_0x5bf8e4(0xc6)](_0x5bf8e4(0xe7));}),_0x36dcd7[_0x2671de(0xc4)](_0x2671de(0x10e),()=>{const _0x3f148b=_0x2671de;_0x36dcd7[_0x3f148b(0x11b)][_0x3f148b(0xf7)](_0x3f148b(0xe7));}),_0x36dcd7;},_0x1123ad[_0x499800(0xc7)]=function(_0x5506fd){const _0x3c3d15=_0x499800;return!(!this[_0x3c3d15(0x102)](_0x3c3d15(0xea))||!_0x5506fd[_0x3c3d15(0x102)](_0x3c3d15(0xea))||this[_0x3c3d15(0xcd)](_0x3c3d15(0xb5))!=_0x5506fd[_0x3c3d15(0xcd)](_0x3c3d15(0xb5)));},_0x1123ad;}(_0x5cefbd,_0x1ef5a8,_0xc52e96);}(_0x2ecb44,_0x268fe1,_0x4f549a,_0xadeeb9)}),_0xadeeb9[_0x5b0d24(0x104)][_0x5b0d24(0xb4)](_0x5b0d24(0x10a))[_0x5b0d24(0xc3)]({'model':_0x5b0d24(0x115),'view':_0x554ff5=>function(_0x23460a,_0xb79891){const _0x18e6a3=_0x5b0d24,_0xeab782=_0x23460a[_0x18e6a3(0x108)][_0x18e6a3(0x126)](':')[0x2];if(_0xeab782===_0xb79891[_0x18e6a3(0x11d)])return null;const _0x560783=_0xb79891[_0x18e6a3(0xee)](_0xeab782);if(!_0x560783)return{'id':_0xeab782,'classes':[]};return{'id':_0xeab782,'classes':[_0x18e6a3(0x101),_0x560783[_0x18e6a3(0xbf)][_0x18e6a3(0xf4)]()],'attributes':{'data-session-id':_0xeab782},'priority':0x7d0+_0x560783[_0x18e6a3(0xa5)]};}(_0x554ff5,_0x4f549a)}),function(_0x5f3564){const _0x1433de=_0x5b0d24,_0x50a02c=_0x5f3564[_0x1433de(0x107)],_0x39a467=new Map(),_0x3967c2=_0x5f3564[_0x1433de(0xb7)][_0x1433de(0x124)](_0x5e84f6);_0x50a02c[_0x1433de(0x129)]['on'](_0x1433de(0xd4),(_0x22e046,_0x55e5fc,_0x43453d,_0x3ed9eb)=>{const _0x6c2b31=_0x1433de;if(!_0x3ed9eb&&_0x39a467[_0x6c2b31(0x124)](_0x55e5fc[_0x6c2b31(0x116)]))return _0x39a467[_0x6c2b31(0x124)](_0x55e5fc[_0x6c2b31(0x116)])[_0x6c2b31(0x11a)](),void _0x39a467[_0x6c2b31(0x10f)](_0x55e5fc[_0x6c2b31(0x116)]);const _0x1030e0=_0x55e5fc[_0x6c2b31(0x116)][_0x6c2b31(0x126)](':')[0x2];if(_0x1030e0===_0x3967c2[_0x6c2b31(0x11d)])return;const _0x8b21f9=_0x6c2b31(0x127)+_0x1030e0;_0x50a02c[_0x6c2b31(0x129)][_0x6c2b31(0x123)](_0x8b21f9)&&_0x5f3564[_0x6c2b31(0x100)][_0x6c2b31(0xc9)](_0x8b21f9),_0x55e5fc['on'](_0x6c2b31(0xe0),(_0x218c2a,_0x5a0851,_0x3da77b)=>{const _0x1551ed=_0x6c2b31;if(_0x1551ed(0xa7)!=_0x5a0851[_0x1551ed(0xeb)][_0x1551ed(0xa6)]&&_0x1551ed(0xa7)==_0x55e5fc[_0x1551ed(0xb3)]()[_0x1551ed(0xeb)][_0x1551ed(0xa6)]&&!_0x39a467[_0x1551ed(0x123)](_0x55e5fc[_0x1551ed(0x116)])){const _0x1ada3c=_0x50a02c[_0x1551ed(0xd8)][_0x1551ed(0xe2)](_0x3da77b[_0x1551ed(0xda)]);if(_0x1ada3c){const _0x3610a2=_0x1b5a24[_0x1551ed(0xbb)](_0x1ada3c);_0x39a467[_0x1551ed(0xd1)](_0x55e5fc[_0x1551ed(0x116)],_0x3610a2),_0x3610a2['on'](_0x1551ed(0xe0),(_0x56a9e3,_0x2771ab,_0x20c0f5)=>{const _0x388893=_0x1551ed;if(_0x388893(0xa7)==_0x3610a2[_0x388893(0xeb)][_0x388893(0xa6)]){const _0x49099e=_0x50a02c[_0x388893(0xd8)][_0x388893(0xe2)](_0x20c0f5[_0x388893(0xda)]);_0x49099e?(_0x3610a2[_0x388893(0xd3)]=_0x49099e[_0x388893(0xd3)],_0x3610a2[_0x388893(0xc2)]=_0x49099e[_0x388893(0xc2)]):(_0x39a467[_0x388893(0x10f)](_0x55e5fc[_0x388893(0x116)]),_0x3610a2[_0x388893(0x11a)]());}});}}});}),_0x50a02c[_0x1433de(0x122)]['on'](_0x1433de(0xba),()=>{const _0x449546=_0x1433de;_0x39a467[_0x449546(0xe5)]>0x0&&_0x50a02c[_0x449546(0xde)]({'isUndoable':!0x1},_0x129ba5=>{const _0x3aa3b9=_0x449546;for(const [_0x1e8fa3,_0x35ea3a]of _0x39a467)_0x3aa3b9(0xa7)==_0x50a02c[_0x3aa3b9(0x129)][_0x3aa3b9(0x124)](_0x1e8fa3)[_0x3aa3b9(0xb3)]()[_0x3aa3b9(0xeb)][_0x3aa3b9(0xa6)]&&(Z(_0x1e8fa3[_0x3aa3b9(0x126)](':')[0x2],_0x35ea3a[_0x3aa3b9(0xc0)](),_0x50a02c,_0x129ba5),_0x35ea3a[_0x3aa3b9(0x11a)]());_0x39a467[_0x3aa3b9(0x125)]();});});}(_0xadeeb9),this[_0x5b0d24(0x110)][_0x5b0d24(0xf3)](_0x35c56a[_0x5b0d24(0x122)],_0x5b0d24(0xe3),(_0x4c87c1,{key:_0x4d9802})=>{const _0x20e313=_0x5b0d24;_0x20e313(0x9f)===_0x4d9802&&function(_0x53dbf2){const _0x380142=_0x20e313;_0x53dbf2[_0x380142(0x100)][_0x380142(0xbd)][_0x380142(0xba)](_0x557588=>{const _0x103976=_0x380142;for(const _0x10b9c2 of _0x53dbf2[_0x103976(0x107)][_0x103976(0x129)]){if(!_0x10b9c2[_0x103976(0x116)][_0x103976(0xe6)](_0x103976(0x105)))continue;const _0x20f660=_0x53dbf2[_0x103976(0x100)][_0x103976(0x120)][_0x103976(0xf0)](_0x10b9c2[_0x103976(0x116)]);if(_0x20f660){for(const _0x51447e of _0x20f660)_0x557588[_0x103976(0xf5)](_0x103976(0xe7),_0x51447e);}}});}(_0xadeeb9);},{'useCapture':!0x0});}[_0x4bc435(0xdf)](){const _0x338bc5=_0x4bc435,_0x4469fe=this[_0x338bc5(0xcf)],_0x5b2ae9=_0x4469fe[_0x338bc5(0xd7)][_0x338bc5(0x124)](_0x338bc5(0xec));_0x5b2ae9&&_0x4469fe[_0x338bc5(0x107)]['on'](_0x338bc5(0x11c),(_0x12ad5e,_0x40415c)=>{const _0x143916=_0x338bc5,_0x446606=_0x40415c[0x0];if(!_0x446606[_0x143916(0xb2)])return;if(_0x143916(0xd2)!=_0x446606[_0x143916(0x10d)]||!_0x446606[_0x143916(0x116)][_0x143916(0xe6)](_0x143916(0x103)))return;const _0x3eabd7=_0x446606[_0x143916(0xdd)];_0x5b2ae9[_0x143916(0xfd)][_0x143916(0x123)](_0x3eabd7)&&(_0x446606[_0x143916(0x9e)]=_0x446606[_0x143916(0xf6)]?_0x4469fe[_0x143916(0x107)][_0x143916(0x109)](_0x446606[_0x143916(0xf6)][_0x143916(0xd3)],_0x446606[_0x143916(0xf6)][_0x143916(0xc2)]):null);},{'priority':_0x338bc5(0xc8)});}[_0x4bc435(0xb6)](){const _0x3f3a49=_0x4bc435;return this[_0x3f3a49(0x110)][_0x3f3a49(0xcb)](),super[_0x3f3a49(0xb6)]();}[_0x4bc435(0xe1)](){const _0x3965ec=_0x4bc435,_0x44b3e4=this[_0x3965ec(0xcf)],_0x2542b2=_0x44b3e4[_0x3965ec(0x107)][_0x3965ec(0x122)],_0x45cd0b=_0x44b3e4[_0x3965ec(0xb7)][_0x3965ec(0x124)](_0x5e84f6);_0x44b3e4[_0x3965ec(0x107)][_0x3965ec(0xde)]({'isUndoable':!0x1},_0xc2807f=>{const _0x153d05=_0x3965ec,_0x353bac=_0x153d05(0x112)+_0x45cd0b[_0x153d05(0x11d)],_0x22e1af=_0x153d05(0x127)+_0x45cd0b[_0x153d05(0x11d)],_0x2a8738=_0x44b3e4[_0x153d05(0x107)][_0x153d05(0x129)][_0x153d05(0x123)](_0x353bac);_0x44b3e4[_0x153d05(0x100)][_0x153d05(0xbd)][_0x153d05(0xcc)]?Z(_0x45cd0b[_0x153d05(0x11d)],_0x2542b2[_0x153d05(0x10b)][_0x153d05(0x117)](),_0x44b3e4[_0x153d05(0x107)],_0xc2807f):_0x2a8738&&(_0xc2807f[_0x153d05(0xbe)](_0x353bac),_0xc2807f[_0x153d05(0xbe)](_0x22e1af));});}}function Z(_0x402ce6,_0x4f06cf,_0x812b2d,_0x1e63fd){const _0x4dc5ef=_0x4bc435,_0x43a39b=_0x4dc5ef(0x112)+_0x402ce6,_0x5e315a=_0x4dc5ef(0x127)+_0x402ce6,_0x487d67=_0x4f06cf[_0x4dc5ef(0x114)]();let _0x2079cd=_0x4f06cf[_0x4dc5ef(0xd3)];if(_0x487d67&&_0x487d67['is'](_0x4dc5ef(0xf2),_0x4dc5ef(0xd9))){const _0x34a2c9=function(_0x479902,_0x20c0fd){const _0x11383b=_0x4dc5ef;for(const _0x215d5a of _0x479902[_0x11383b(0xa0)]())if(_0x20c0fd[_0x11383b(0xd8)][_0x11383b(0xd5)](_0x215d5a,_0x11383b(0xf9)))return _0x215d5a;}(_0x4f06cf,_0x812b2d);_0x34a2c9&&(_0x2079cd=_0x34a2c9,_0x4f06cf=_0x1e63fd[_0x4dc5ef(0x109)](_0x2079cd));}const _0x54a76f=_0x1e63fd[_0x4dc5ef(0x109)](_0x2079cd);_0x812b2d[_0x4dc5ef(0x129)][_0x4dc5ef(0x123)](_0x43a39b)?(_0x1e63fd[_0x4dc5ef(0xaa)](_0x43a39b,{'range':_0x4f06cf}),_0x1e63fd[_0x4dc5ef(0xaa)](_0x5e315a,{'range':_0x54a76f})):(_0x1e63fd[_0x4dc5ef(0xe4)](_0x43a39b,{'range':_0x4f06cf,'usingOperation':!0x0}),_0x1e63fd[_0x4dc5ef(0xe4)](_0x5e315a,{'range':_0x54a76f,'usingOperation':!0x0}));}