@ckeditor/ckeditor5-real-time-collaboration 45.0.0 → 45.1.0-alpha.0

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 (171) hide show
  1. package/LICENSE.md +4 -2
  2. package/build/real-time-collaboration.js +1 -1
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +15 -15
  151. package/src/common-translations.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/presencelist/presencelistui.js +1 -1
  154. package/src/presencelist/view/presencecounterview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  156. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  158. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  159. package/src/presencelist/view/presencelistview.js +1 -1
  160. package/src/presencelist.js +1 -1
  161. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  162. package/src/realtimecollaborativecomments.js +1 -1
  163. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  164. package/src/realtimecollaborativeediting/sessions.js +1 -1
  165. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  166. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  167. package/src/realtimecollaborativeediting.js +1 -1
  168. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  169. package/src/realtimecollaborativerevisionhistory.js +1 -1
  170. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  171. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2be8fb=_0x5448;(function(_0x38cb77,_0x3192c8){const _0x577c7b=_0x5448,_0x4d2009=_0x38cb77();while(!![]){try{const _0x4a39b9=parseInt(_0x577c7b(0x84))/0x1*(-parseInt(_0x577c7b(0x7a))/0x2)+parseInt(_0x577c7b(0x87))/0x3*(parseInt(_0x577c7b(0x89))/0x4)+-parseInt(_0x577c7b(0x78))/0x5*(-parseInt(_0x577c7b(0x7b))/0x6)+-parseInt(_0x577c7b(0x6b))/0x7+-parseInt(_0x577c7b(0x8f))/0x8+parseInt(_0x577c7b(0x75))/0x9+parseInt(_0x577c7b(0x86))/0xa;if(_0x4a39b9===_0x3192c8)break;else _0x4d2009['push'](_0x4d2009['shift']());}catch(_0x56d483){_0x4d2009['push'](_0x4d2009['shift']());}}}(_0x22e9,0x38c3d));function _0x5448(_0x16d2f5,_0x262825){const _0x22e9b5=_0x22e9();return _0x5448=function(_0x544821,_0x103821){_0x544821=_0x544821-0x6a;let _0xd51c0e=_0x22e9b5[_0x544821];return _0xd51c0e;},_0x5448(_0x16d2f5,_0x262825);}import{View as _0x581e16}from'ckeditor5/src/ui.js';function _0x22e9(){const _0x117e19=['fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','removeAttribute','2424105sSYaMB','Connected\x20users\x20list','.ck-presence-list__dropdown-list','163105QObpsJ','presencelist:hide','31470TJOVSR','48CGqyVQ','relatedTarget','createCollection','list','setTemplate','render','div','listenTo','set','11mcDBDl','presencelist:show','650920ZFhHLT','184854XGyYuL','querySelector','12BoFzne','change:hasPopup','keystrokes','items','hasPopup','isExpanded','1456960vlYxiP','focus','aria-expanded','1347815jerwFx','ck-presence-list__list','contains','bindTemplate','element','.ck-balloon-panel_with-arrow','setAttribute'];_0x22e9=function(){return _0x117e19;};return _0x22e9();}import{KeystrokeHandler as _0x5108d6}from'ckeditor5/src/utils.js';import{getTranslation as _0x112e57}from'../../common-translations.js';export default class ts extends _0x581e16{[_0x2be8fb(0x8c)];[_0x2be8fb(0x8b)];constructor(_0x56dbb0){const _0x283863=_0x2be8fb;super(_0x56dbb0);const _0x15446a=this[_0x283863(0x6e)];this[_0x283863(0x8c)]=this[_0x283863(0x7d)](),this[_0x283863(0x8b)]=new _0x5108d6(),this[_0x283863(0x83)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x283863(0x7f)]({'tag':_0x283863(0x81),'attributes':{'aria-haspopup':_0x15446a['if'](_0x283863(0x8d)),'aria-expanded':_0x15446a['to'](_0x283863(0x8e),_0x53ad8f=>this[_0x283863(0x8d)]&&String(_0x53ad8f)),'aria-label':_0x15446a['to'](_0x283863(0x8d),_0x4f690a=>_0x112e57(_0x56dbb0,_0x4f690a?_0x283863(0x73):_0x283863(0x76))),'role':_0x283863(0x7e),'tabindex':_0x15446a['to'](_0x283863(0x8d),_0x4d735e=>!!_0x4d735e&&0x0),'class':['ck',_0x283863(0x6c)]},'children':this[_0x283863(0x8c)],'on':{'mouseenter':_0x15446a['to'](()=>this[_0x283863(0x72)](_0x283863(0x85))),'mouseleave':_0x15446a['to'](_0x2e8ff7=>{const _0x140040=_0x283863,_0x32bdf9=_0x2e8ff7,_0x1b0c0e=document[_0x140040(0x88)](_0x140040(0x77)),_0x185b78=document[_0x140040(0x88)](_0x140040(0x70));_0x1b0c0e?.[_0x140040(0x6d)](_0x32bdf9[_0x140040(0x7c)])||_0x185b78?.[_0x140040(0x6d)](_0x32bdf9[_0x140040(0x7c)])||this[_0x140040(0x72)](_0x140040(0x79));})}}),this['on'](_0x283863(0x8a),(_0x2e78a4,_0x472c4e,_0x228380)=>{const _0x20fe71=_0x283863;this[_0x20fe71(0x6f)]&&(_0x228380?this[_0x20fe71(0x6f)][_0x20fe71(0x71)](_0x20fe71(0x6a),String(this[_0x20fe71(0x8e)])):this[_0x20fe71(0x6f)][_0x20fe71(0x74)](_0x20fe71(0x6a)));});}[_0x2be8fb(0x90)](){const _0x43319b=_0x2be8fb;this[_0x43319b(0x6f)][_0x43319b(0x90)]();}[_0x2be8fb(0x80)](){const _0x20d447=_0x2be8fb;super[_0x20d447(0x80)](),this[_0x20d447(0x8b)][_0x20d447(0x82)](this[_0x20d447(0x6f)]);}}
23
+ const _0x38764c=_0x58ed;(function(_0x342b63,_0x3aadd8){const _0x546dee=_0x58ed,_0x19f87f=_0x342b63();while(!![]){try{const _0x396fea=parseInt(_0x546dee(0x93))/0x1+-parseInt(_0x546dee(0x90))/0x2*(-parseInt(_0x546dee(0x88))/0x3)+parseInt(_0x546dee(0x94))/0x4*(parseInt(_0x546dee(0xad))/0x5)+-parseInt(_0x546dee(0x89))/0x6*(-parseInt(_0x546dee(0xa2))/0x7)+parseInt(_0x546dee(0x98))/0x8*(parseInt(_0x546dee(0xa4))/0x9)+parseInt(_0x546dee(0xa5))/0xa+-parseInt(_0x546dee(0xac))/0xb;if(_0x396fea===_0x3aadd8)break;else _0x19f87f['push'](_0x19f87f['shift']());}catch(_0x55b2b2){_0x19f87f['push'](_0x19f87f['shift']());}}}(_0x5e3f,0x8e3d6));import{View as _0xc22dd9}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x269f02}from'ckeditor5/src/utils.js';import{getTranslation as _0x44271f}from'../../common-translations.js';function _0x5e3f(){const _0x2c40df=['list','element','25066030TxfPzM','70Tymldr','setTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3Yqudmd','274938NxdRrM','ck-presence-list__list','presencelist:hide','listenTo','relatedTarget','keystrokes','items','490294sRWYXQ','set','isExpanded','763539sXEPud','104736aVEyzo','hasPopup','focus','fire','2837896iHqzvr','contains','div','createCollection','aria-expanded','.ck-balloon-panel_with-arrow','setAttribute','bindTemplate','querySelector','.ck-presence-list__dropdown-list','35zaHkbX','removeAttribute','9uyOhsZ','9022300AyXrFy','presencelist:show','Connected\x20users\x20list','render','change:hasPopup'];_0x5e3f=function(){return _0x2c40df;};return _0x5e3f();}function _0x58ed(_0x34135c,_0x19d720){const _0x5e3fa0=_0x5e3f();return _0x58ed=function(_0x58ed94,_0x467522){_0x58ed94=_0x58ed94-0x86;let _0xf816f7=_0x5e3fa0[_0x58ed94];return _0xf816f7;},_0x58ed(_0x34135c,_0x19d720);}export default class ts extends _0xc22dd9{[_0x38764c(0x8f)];[_0x38764c(0x8e)];constructor(_0x3cd352){const _0xa1403d=_0x38764c;super(_0x3cd352);const _0x1a910d=this[_0xa1403d(0x9f)];this[_0xa1403d(0x8f)]=this[_0xa1403d(0x9b)](),this[_0xa1403d(0x8e)]=new _0x269f02(),this[_0xa1403d(0x91)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xa1403d(0x86)]({'tag':_0xa1403d(0x9a),'attributes':{'aria-haspopup':_0x1a910d['if'](_0xa1403d(0x95)),'aria-expanded':_0x1a910d['to'](_0xa1403d(0x92),_0x16c1e0=>this[_0xa1403d(0x95)]&&String(_0x16c1e0)),'aria-label':_0x1a910d['to'](_0xa1403d(0x95),_0x50f5df=>_0x44271f(_0x3cd352,_0x50f5df?_0xa1403d(0x87):_0xa1403d(0xa7))),'role':_0xa1403d(0xaa),'tabindex':_0x1a910d['to'](_0xa1403d(0x95),_0x45fe23=>!!_0x45fe23&&0x0),'class':['ck',_0xa1403d(0x8a)]},'children':this[_0xa1403d(0x8f)],'on':{'mouseenter':_0x1a910d['to'](()=>this[_0xa1403d(0x97)](_0xa1403d(0xa6))),'mouseleave':_0x1a910d['to'](_0xa64206=>{const _0x311eb9=_0xa1403d,_0xef3d67=_0xa64206,_0x36e051=document[_0x311eb9(0xa0)](_0x311eb9(0xa1)),_0x9a7d64=document[_0x311eb9(0xa0)](_0x311eb9(0x9d));_0x36e051?.[_0x311eb9(0x99)](_0xef3d67[_0x311eb9(0x8d)])||_0x9a7d64?.[_0x311eb9(0x99)](_0xef3d67[_0x311eb9(0x8d)])||this[_0x311eb9(0x97)](_0x311eb9(0x8b));})}}),this['on'](_0xa1403d(0xa9),(_0x2c3718,_0x4d7eff,_0x2e44d5)=>{const _0x24ca58=_0xa1403d;this[_0x24ca58(0xab)]&&(_0x2e44d5?this[_0x24ca58(0xab)][_0x24ca58(0x9e)](_0x24ca58(0x9c),String(this[_0x24ca58(0x92)])):this[_0x24ca58(0xab)][_0x24ca58(0xa3)](_0x24ca58(0x9c)));});}[_0x38764c(0x96)](){const _0x27c5a0=_0x38764c;this[_0x27c5a0(0xab)][_0x27c5a0(0x96)]();}[_0x38764c(0xa8)](){const _0xcfd34=_0x38764c;super[_0xcfd34(0xa8)](),this[_0xcfd34(0x8e)][_0xcfd34(0x8c)](this[_0xcfd34(0xab)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e1be0=_0x437f;(function(_0x105d3a,_0x5bd828){const _0x584c29=_0x437f,_0x54ee2b=_0x105d3a();while(!![]){try{const _0x45cf8f=-parseInt(_0x584c29(0x126))/0x1*(-parseInt(_0x584c29(0x134))/0x2)+parseInt(_0x584c29(0x135))/0x3+-parseInt(_0x584c29(0x137))/0x4*(-parseInt(_0x584c29(0x13e))/0x5)+parseInt(_0x584c29(0x131))/0x6+parseInt(_0x584c29(0x12a))/0x7*(parseInt(_0x584c29(0x12c))/0x8)+parseInt(_0x584c29(0x132))/0x9+-parseInt(_0x584c29(0x123))/0xa;if(_0x45cf8f===_0x5bd828)break;else _0x54ee2b['push'](_0x54ee2b['shift']());}catch(_0x1d42f8){_0x54ee2b['push'](_0x54ee2b['shift']());}}}(_0xc120,0xd5d7b));import{View as _0x57c043}from'ckeditor5/src/ui.js';import _0x357d6c from'./presencecounterview.js';function _0x437f(_0x31675c,_0x3ea29e){const _0xc1203d=_0xc120();return _0x437f=function(_0x437f69,_0x56c79c){_0x437f69=_0x437f69-0x123;let _0x400d72=_0xc1203d[_0x437f69];return _0x400d72;},_0x437f(_0x31675c,_0x3ea29e);}import _0x2c1367 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x57c043{[_0x3e1be0(0x13f)];[_0x3e1be0(0x133)];constructor(_0x57693e,_0x25ecdf=0x6){const _0x411f19=_0x3e1be0;super(_0x57693e);const _0x586aa3=this[_0x411f19(0x125)];this[_0x411f19(0x12f)](_0x411f19(0x138),!0x0),this[_0x411f19(0x13f)]=new _0x357d6c(this[_0x411f19(0x139)],_0x25ecdf),this[_0x411f19(0x133)]=new _0x2c1367(_0x57693e),this[_0x411f19(0x133)][_0x411f19(0x127)](_0x411f19(0x13d))['to'](this,_0x411f19(0x138)),this[_0x411f19(0x12b)](this[_0x411f19(0x133)][_0x411f19(0x13b)],_0x411f19(0x12d),()=>{const _0x4733f7=_0x411f19;for(const _0x10a32f of this[_0x4733f7(0x133)][_0x4733f7(0x13b)])_0x10a32f[_0x4733f7(0x129)]='s';this[_0x4733f7(0x133)][_0x4733f7(0x13b)][_0x4733f7(0x13a)]&&(this[_0x4733f7(0x133)][_0x4733f7(0x13b)][_0x4733f7(0x13a)][_0x4733f7(0x129)]='se');}),this[_0x411f19(0x130)]({'tag':_0x411f19(0x124),'attributes':{'class':['ck',_0x411f19(0x13c),_0x411f19(0x136),_0x411f19(0x12e),_0x586aa3['if'](_0x411f19(0x138),_0x411f19(0x128))]},'children':[this[_0x411f19(0x133)]]});}}function _0xc120(){const _0x5cafff=['tooltipPosition','11067679SCepqG','listenTo','8uKhAvV','change','ck-rounded-corners','set','setTemplate','1897404UdMYzh','8169381sREoYc','inlineListView','2IvPtOg','711852SdnXUX','ck-reset','708CZvTAf','isCollapsed','locale','first','items','ck-presence-list','hasPopup','39005CTPDvf','counterView','52585110TaXnLH','div','bindTemplate','1711309YPZtYo','bind','ck-presence-list--collapsed'];_0xc120=function(){return _0x5cafff;};return _0xc120();}
23
+ const _0x3d2c8a=_0x35ed;(function(_0x4a8664,_0x492a7c){const _0x3e7363=_0x35ed,_0x451000=_0x4a8664();while(!![]){try{const _0x26dd84=parseInt(_0x3e7363(0x199))/0x1+parseInt(_0x3e7363(0x1a2))/0x2*(-parseInt(_0x3e7363(0x192))/0x3)+parseInt(_0x3e7363(0x1a9))/0x4*(-parseInt(_0x3e7363(0x18f))/0x5)+parseInt(_0x3e7363(0x190))/0x6+-parseInt(_0x3e7363(0x1a4))/0x7+-parseInt(_0x3e7363(0x1a3))/0x8+parseInt(_0x3e7363(0x193))/0x9;if(_0x26dd84===_0x492a7c)break;else _0x451000['push'](_0x451000['shift']());}catch(_0x22cc58){_0x451000['push'](_0x451000['shift']());}}}(_0x5075,0x9b0ca));import{View as _0x2226e7}from'ckeditor5/src/ui.js';import _0x4b5545 from'./presencecounterview.js';import _0x9cf8de from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x35ed(_0x1ffa0b,_0x21a396){const _0x5075f2=_0x5075();return _0x35ed=function(_0x35ed3b,_0x23a8c9){_0x35ed3b=_0x35ed3b-0x18f;let _0x27c7ea=_0x5075f2[_0x35ed3b];return _0x27c7ea;},_0x35ed(_0x1ffa0b,_0x21a396);}export default class j extends _0x2226e7{[_0x3d2c8a(0x196)];[_0x3d2c8a(0x19d)];constructor(_0x5b2e84,_0x5d507a=0x6){const _0x2695c1=_0x3d2c8a;super(_0x5b2e84);const _0x4288d6=this[_0x2695c1(0x1a7)];this[_0x2695c1(0x19a)](_0x2695c1(0x19b),!0x0),this[_0x2695c1(0x196)]=new _0x4b5545(this[_0x2695c1(0x1aa)],_0x5d507a),this[_0x2695c1(0x19d)]=new _0x9cf8de(_0x5b2e84),this[_0x2695c1(0x19d)][_0x2695c1(0x195)](_0x2695c1(0x1a1))['to'](this,_0x2695c1(0x19b)),this[_0x2695c1(0x19e)](this[_0x2695c1(0x19d)][_0x2695c1(0x198)],_0x2695c1(0x1a5),()=>{const _0x3f3304=_0x2695c1;for(const _0x314542 of this[_0x3f3304(0x19d)][_0x3f3304(0x198)])_0x314542[_0x3f3304(0x191)]='s';this[_0x3f3304(0x19d)][_0x3f3304(0x198)][_0x3f3304(0x1a8)]&&(this[_0x3f3304(0x19d)][_0x3f3304(0x198)][_0x3f3304(0x1a8)][_0x3f3304(0x191)]='se');}),this[_0x2695c1(0x19c)]({'tag':_0x2695c1(0x19f),'attributes':{'class':['ck',_0x2695c1(0x1a6),_0x2695c1(0x194),_0x2695c1(0x1a0),_0x4288d6['if'](_0x2695c1(0x19b),_0x2695c1(0x197))]},'children':[this[_0x2695c1(0x19d)]]});}}function _0x5075(){const _0x3fad20=['1926462dkmQOT','tooltipPosition','3aOkEYc','19779165XSQSCW','ck-reset','bind','counterView','ck-presence-list--collapsed','items','874086Ghsehw','set','isCollapsed','setTemplate','inlineListView','listenTo','div','ck-rounded-corners','hasPopup','2002046xOcCVp','8193024YzpIGr','4857566aDUvVA','change','ck-presence-list','bindTemplate','first','154708tdCwza','locale','5JhRnCH'];_0x5075=function(){return _0x3fad20;};return _0x5075();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x259656=_0xa746;(function(_0x441d6f,_0x366ba8){var _0x1d547f=_0xa746,_0x5f243d=_0x441d6f();while(!![]){try{var _0x9cd532=parseInt(_0x1d547f(0x10f))/0x1*(-parseInt(_0x1d547f(0x108))/0x2)+parseInt(_0x1d547f(0x113))/0x3+parseInt(_0x1d547f(0x10e))/0x4*(-parseInt(_0x1d547f(0x10c))/0x5)+parseInt(_0x1d547f(0x105))/0x6+parseInt(_0x1d547f(0x10b))/0x7*(parseInt(_0x1d547f(0x106))/0x8)+parseInt(_0x1d547f(0x109))/0x9+parseInt(_0x1d547f(0x10a))/0xa*(-parseInt(_0x1d547f(0x111))/0xb);if(_0x9cd532===_0x366ba8)break;else _0x5f243d['push'](_0x5f243d['shift']());}catch(_0x23bd91){_0x5f243d['push'](_0x5f243d['shift']());}}}(_0x54a7,0x470ca));import{ContextPlugin as _0xd05b4c}from'ckeditor5/src/core.js';function _0x54a7(){var _0x13e6d5=['30hbBigt','7nGsBjD','592665NvmUpZ','requires','12BEeLhu','859TpwnlB','PresenceList','2792295BLeQNf','isOfficialPlugin','1156935pGJCzy','pluginName','1601412stsIwz','2858216UPinzk','isPremiumPlugin','2ejpRUm','3592683uaxhEG'];_0x54a7=function(){return _0x13e6d5;};return _0x54a7();}function _0xa746(_0x43f68b,_0xaa3945){var _0x54a7fc=_0x54a7();return _0xa746=function(_0xa7464f,_0x3ee866){_0xa7464f=_0xa7464f-0x104;var _0x4abd24=_0x54a7fc[_0xa7464f];return _0x4abd24;},_0xa746(_0x43f68b,_0xaa3945);}import _0x4003dc from'./realtimecollaborativeediting/sessions.js';import _0xfef913 from'./presencelist/presencelistui.js';export default class s extends _0xd05b4c{static get[_0x259656(0x10d)](){return[_0x4003dc,_0xfef913];}static get[_0x259656(0x104)](){var _0x55005d=_0x259656;return _0x55005d(0x110);}static get[_0x259656(0x112)](){return!0x0;}static get[_0x259656(0x107)](){return!0x0;}}
23
+ var _0x4bd7a5=_0x4d77;(function(_0x389cef,_0x501756){var _0x2cd927=_0x4d77,_0x56e493=_0x389cef();while(!![]){try{var _0x1ed229=-parseInt(_0x2cd927(0x19e))/0x1*(-parseInt(_0x2cd927(0x197))/0x2)+-parseInt(_0x2cd927(0x199))/0x3+parseInt(_0x2cd927(0x1a3))/0x4+parseInt(_0x2cd927(0x195))/0x5+-parseInt(_0x2cd927(0x19a))/0x6*(-parseInt(_0x2cd927(0x19f))/0x7)+-parseInt(_0x2cd927(0x19c))/0x8+parseInt(_0x2cd927(0x1a1))/0x9*(-parseInt(_0x2cd927(0x196))/0xa);if(_0x1ed229===_0x501756)break;else _0x56e493['push'](_0x56e493['shift']());}catch(_0x2efff7){_0x56e493['push'](_0x56e493['shift']());}}}(_0x5394,0xa0e4b));function _0x4d77(_0x17e190,_0x38dda2){var _0x539433=_0x5394();return _0x4d77=function(_0x4d772f,_0x349c77){_0x4d772f=_0x4d772f-0x195;var _0x58f233=_0x539433[_0x4d772f];return _0x58f233;},_0x4d77(_0x17e190,_0x38dda2);}function _0x5394(){var _0x5ba717=['PresenceList','795679zMveJy','7apZnPp','pluginName','33876VgMKqt','isOfficialPlugin','3185172FSFHxp','1726990lapGZK','1420ikxcKN','2AccHYF','requires','585609tVNtvT','3279978nxPHnk','isPremiumPlugin','8762584tjEedb'];_0x5394=function(){return _0x5ba717;};return _0x5394();}import{ContextPlugin as _0x54a2dc}from'ckeditor5/src/core.js';import _0x308859 from'./realtimecollaborativeediting/sessions.js';import _0x184940 from'./presencelist/presencelistui.js';export default class s extends _0x54a2dc{static get[_0x4bd7a5(0x198)](){return[_0x308859,_0x184940];}static get[_0x4bd7a5(0x1a0)](){var _0x5c044f=_0x4bd7a5;return _0x5c044f(0x19d);}static get[_0x4bd7a5(0x1a2)](){return!0x0;}static get[_0x4bd7a5(0x19b)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56ea(_0x519300,_0x50c89b){const _0x156c34=_0x156c();return _0x56ea=function(_0x56ea5b,_0x38bdcd){_0x56ea5b=_0x56ea5b-0x179;let _0x225e5a=_0x156c34[_0x56ea5b];return _0x225e5a;},_0x56ea(_0x519300,_0x50c89b);}const _0x2ae0ec=_0x56ea;(function(_0x50a544,_0x1fad95){const _0x1209ce=_0x56ea,_0x2b81a6=_0x50a544();while(!![]){try{const _0x44e7fd=-parseInt(_0x1209ce(0x1cb))/0x1+parseInt(_0x1209ce(0x19f))/0x2+parseInt(_0x1209ce(0x184))/0x3*(parseInt(_0x1209ce(0x18b))/0x4)+parseInt(_0x1209ce(0x1c8))/0x5*(parseInt(_0x1209ce(0x1cf))/0x6)+-parseInt(_0x1209ce(0x191))/0x7*(-parseInt(_0x1209ce(0x189))/0x8)+-parseInt(_0x1209ce(0x185))/0x9*(parseInt(_0x1209ce(0x19d))/0xa)+parseInt(_0x1209ce(0x17d))/0xb*(parseInt(_0x1209ce(0x194))/0xc);if(_0x44e7fd===_0x1fad95)break;else _0x2b81a6['push'](_0x2b81a6['shift']());}catch(_0x298456){_0x2b81a6['push'](_0x2b81a6['shift']());}}}(_0x156c,0xd76b0));import{Context as _0x40f886,ContextPlugin as _0x26d142}from'ckeditor5/src/core.js';import{CKEditorError as _0x47fb24}from'ckeditor5/src/utils.js';import{Users as _0x58b159}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x32d376,User as _0xbe2948}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5a3e82 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5d6d98 from'../realtimecollaborativeediting/sessions.js';class a extends _0x26d142{static [_0x2ae0ec(0x1db)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x32d376)());[_0x2ae0ec(0x1a8)];static get[_0x2ae0ec(0x17a)](){const _0x5f242d=_0x2ae0ec;return[_0x5a3e82,_0x5f242d(0x1b1),_0x5d6d98,_0x58b159];}static get[_0x2ae0ec(0x195)](){const _0x3307d5=_0x2ae0ec;return _0x3307d5(0x1bb);}static get[_0x2ae0ec(0x199)](){return!0x0;}static get[_0x2ae0ec(0x1c9)](){return!0x0;}constructor(_0x314148){const _0x1ec20a=_0x2ae0ec;super(_0x314148),this[_0x1ec20a(0x1a8)]=new Map();}async[_0x2ae0ec(0x1be)](){const _0x4286fe=_0x2ae0ec,_0x25e27c=this[_0x4286fe(0x17c)],_0x1f9f3f=_0x25e27c[_0x4286fe(0x197)][_0x4286fe(0x1d7)](_0x4286fe(0x1b1));if(_0x25e27c[_0x4286fe(0x197)][_0x4286fe(0x1d7)](_0x5a3e82)[_0x4286fe(0x1b3)](this),_0x1f9f3f[_0x4286fe(0x1bf)]={'addCommentThread':async({channelId:_0x28f9ca,threadId:_0x536753,comments:_0x58a9eb,resolvedAt:_0x580bcf,resolvedBy:_0x520835,context:_0x4f735d,attributes:_0x130d7e})=>{const _0x2eb427=_0x4286fe,_0x1ae6f5=await this[_0x2eb427(0x1a6)](_0x28f9ca)[_0x2eb427(0x188)]({'commentThreadId':_0x536753,'comments':_0x58a9eb[_0x2eb427(0x1a9)](_0x585276=>function(_0x45a5a8,_0x10a01c,_0x404df1){const _0x52b29b=_0x2eb427;return{'commentThreadId':_0x404df1,'commentId':_0x45a5a8[_0x52b29b(0x1c1)],'userId':_0x45a5a8[_0x52b29b(0x1df)],'content':_0x45a5a8[_0x52b29b(0x1dc)],'documentId':_0x10a01c,'createdAt':_0x45a5a8[_0x52b29b(0x1c0)],'attributes':_0x45a5a8[_0x52b29b(0x1d6)]||{}};}(_0x585276,_0x28f9ca,_0x536753)),'resolvedAt':_0x580bcf,'resolvedBy':_0x520835,'context':_0x4f735d,'attributes':_0x130d7e})[_0x2eb427(0x196)](R);return{'threadId':_0x1ae6f5[_0x2eb427(0x1dd)],'comments':_0x1ae6f5[_0x2eb427(0x1b0)]};},'getCommentThread':async({channelId:_0x5a978c,threadId:_0xbb6696})=>{const _0x1c9840=_0x4286fe,_0x3e3ff6=await this[_0x1c9840(0x1a6)](_0x5a978c)[_0x1c9840(0x1d2)](_0xbb6696)[_0x1c9840(0x196)](R);return _0x3e3ff6[_0x1c9840(0x17e)]?null:(await this[_0x1c9840(0x1c6)]([_0x3e3ff6]),{'threadId':_0x3e3ff6[_0x1c9840(0x1dd)],'comments':_0x3e3ff6[_0x1c9840(0x1b0)][_0x1c9840(0x1a9)](_),'context':_0x3e3ff6[_0x1c9840(0x17c)],'resolvedAt':_0x3e3ff6[_0x1c9840(0x1e0)],'resolvedBy':_0x3e3ff6[_0x1c9840(0x182)],'attributes':_0x3e3ff6[_0x1c9840(0x1d6)]||{}});},'updateCommentThread':async({channelId:_0x50a388,threadId:_0x587c19,context:_0x371546,unlinkedAt:_0x5a3528,attributes:_0x531604})=>this[_0x4286fe(0x1a6)](_0x50a388)[_0x4286fe(0x19c)]({'commentThreadId':_0x587c19,'context':_0x371546,'attributes':_0x531604,'unlinkedAt':_0x5a3528})[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'resolveCommentThread':async({channelId:_0x5be826,threadId:_0x12f1d0})=>{const _0x2eb8e4=_0x4286fe,_0x11627e=await this[_0x2eb8e4(0x1a6)](_0x5be826)[_0x2eb8e4(0x1a2)](_0x12f1d0)[_0x2eb8e4(0x196)](S)[_0x2eb8e4(0x196)](R);return{'threadId':_0x11627e[_0x2eb8e4(0x1dd)],'resolvedAt':_0x11627e[_0x2eb8e4(0x1e0)],'resolvedBy':_0x11627e[_0x2eb8e4(0x182)]};},'reopenCommentThread':async({channelId:_0x5ba6c4,threadId:_0x123acc})=>this[_0x4286fe(0x1a6)](_0x5ba6c4)[_0x4286fe(0x1ce)](_0x123acc)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'removeCommentThread':({channelId:_0x45ab15,threadId:_0x2ddcac})=>this[_0x4286fe(0x1a6)](_0x45ab15)[_0x4286fe(0x1ba)](_0x2ddcac)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'addComment':({channelId:_0x5974f4,threadId:_0x45bbab,commentId:_0x57c936,content:_0xa1a0a1,attributes:_0x4c039c})=>this[_0x4286fe(0x1a6)](_0x5974f4)[_0x4286fe(0x1d9)](_0x45bbab,_0x57c936,_0xa1a0a1,_0x4c039c)[_0x4286fe(0x196)](R),'updateComment':({channelId:_0x15c95a,threadId:_0x125ded,commentId:_0x48b589,content:_0x4cf00b,attributes:_0x137e4c})=>this[_0x4286fe(0x1a6)](_0x15c95a)[_0x4286fe(0x18c)](_0x125ded,_0x48b589,_0x4cf00b,_0x137e4c)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R),'removeComment':({channelId:_0x3b7645,threadId:_0x3ef2f3,commentId:_0x2e2a25})=>this[_0x4286fe(0x1a6)](_0x3b7645)[_0x4286fe(0x1a0)](_0x3ef2f3,_0x2e2a25)[_0x4286fe(0x196)](S)[_0x4286fe(0x196)](R)},_0x25e27c instanceof _0x40f886){const _0xfe096f=_0x25e27c[_0x4286fe(0x1a3)][_0x4286fe(0x1d7)](_0x4286fe(0x198)),_0x4ad4c5=_0x25e27c[_0x4286fe(0x197)][_0x4286fe(0x1d7)](_0x5d6d98);await this[_0x4286fe(0x180)](_0xfe096f);const _0x494e1c=await this[_0x4286fe(0x1a8)][_0x4286fe(0x1d7)](_0xfe096f)[_0x4286fe(0x1ae)]();this[_0x4286fe(0x17f)](_0x4ad4c5,_0x4286fe(0x1bd)+_0xfe096f,(_0x393355,{session:_0x38d5ec})=>{const _0x8bb3c4=_0x4286fe;_0x38d5ec['id']===_0x4ad4c5[_0x8bb3c4(0x18d)]&&(_0x393355[_0x8bb3c4(0x1b9)](),this[_0x8bb3c4(0x17c)][_0x8bb3c4(0x197)][_0x8bb3c4(0x1d7)](_0x8bb3c4(0x193))[_0x8bb3c4(0x1ad)](_0x38d5ec[_0x8bb3c4(0x19a)],_0xfe096f));}),_0x4ad4c5[_0x4286fe(0x19e)](_0xfe096f,_0x494e1c);}}async[_0x2ae0ec(0x180)](_0x5b923a){const _0x4c7e2b=_0x2ae0ec;if(this[_0x4c7e2b(0x1a8)][_0x4c7e2b(0x18e)](_0x5b923a))throw new _0x47fb24(_0x4c7e2b(0x187),null,{'channelId':_0x5b923a});const _0xe7498=this[_0x4c7e2b(0x17c)][_0x4c7e2b(0x197)][_0x4c7e2b(0x1d7)](_0x4c7e2b(0x1b1)),_0x3a8d55=new a[(_0x4c7e2b(0x1db))](_0x5b923a);this[_0x4c7e2b(0x1a8)][_0x4c7e2b(0x19b)](_0x5b923a,_0x3a8d55),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1b8),(_0x3d6159,_0x5d800e)=>{const _0x2771d5=_0x4c7e2b,{commentThreadId:_0x5d1cb7,documentId:_0x200faf,context:_0x15dca5,attributes:_0x3136ed,resolvedAt:_0x3baead,resolvedBy:_0x289dcd,comments:_0x231a3e}=_0x5d800e;_0xe7498[_0x2771d5(0x1d2)](_0x5d1cb7)||_0xe7498[_0x2771d5(0x188)]({'threadId':_0x5d1cb7,'channelId':_0x200faf,'comments':_0x231a3e?_0x231a3e[_0x2771d5(0x1a9)](_):[],'context':_0x15dca5,'attributes':_0x3136ed,'resolvedAt':_0x3baead,'resolvedBy':_0x289dcd,'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1a4),(_0x1299fd,{commentThreadId:_0x46ba16,documentId:_0x4ad805,context:_0x2449db,unlinkedAt:_0x23d71c,attributes:_0x8415c8})=>{const _0x468797=_0x4c7e2b;_0xe7498[_0x468797(0x1d2)](_0x46ba16)&&_0xe7498[_0x468797(0x19c)]({'threadId':_0x46ba16,'channelId':_0x4ad805,'context':_0x2449db,'unlinkedAt':_0x23d71c,'attributes':_0x8415c8,'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1d4),(_0x185e0b,{commentThreadId:_0x567591,resolvedBy:_0x322288,resolvedAt:_0x5b2654})=>{const _0xf79cd8=_0x4c7e2b,_0x279be6=_0xe7498[_0xf79cd8(0x1d2)](_0x567591);_0x279be6&&_0x279be6[_0xf79cd8(0x1d5)]({'resolvedBy':_0x322288,'resolvedAt':_0x5b2654,'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x181),(_0x466620,{commentThreadId:_0x4f8052})=>{const _0x135ae7=_0x4c7e2b,_0x18aa45=_0xe7498[_0x135ae7(0x1d2)](_0x4f8052);_0x18aa45&&_0x18aa45[_0x135ae7(0x179)]({'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x17b),(_0x44e090,{commentThreadId:_0x44c8e5})=>{const _0x5bf561=_0x4c7e2b,_0x5845d4=_0xe7498[_0x5bf561(0x1d2)](_0x44c8e5);_0x5845d4&&_0x5845d4[_0x5bf561(0x1c3)]({'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1da),(_0x2905ff,_0x190ab3)=>{const _0x4e7553=_0x4c7e2b,_0x4d21f6=_0x190ab3[_0x4e7553(0x1dd)],_0x1c15cf=_0xe7498[_0x4e7553(0x1d2)](_0x4d21f6);_0x1c15cf&&_0x1c15cf[_0x4e7553(0x1d9)]({..._(_0x190ab3),'isFromAdapter':!0x0});}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1ca),(_0x2d94ea,{commentThreadId:_0x1fed4f,commentId:_0x269bba,content:_0x5a2d96,attributes:_0x3e7a63})=>{const _0x11082b=_0x4c7e2b,_0x3738eb=_0xe7498[_0x11082b(0x1d2)](_0x1fed4f);if(_0x3738eb){const _0x3e023b=_0x3738eb[_0x11082b(0x1aa)](_0x269bba);_0x3e023b&&_0x3e023b[_0x11082b(0x18a)]({'content':_0x5a2d96,'attributes':_0x3e7a63,'isFromAdapter':!0x0});}}),this[_0x4c7e2b(0x17f)](_0x3a8d55,_0x4c7e2b(0x1cc),(_0x999b37,{commentThreadId:_0x5ba54d,commentId:_0x3b3d0c})=>{const _0x53a4b1=_0x4c7e2b,_0x3446ce=_0xe7498[_0x53a4b1(0x1d2)](_0x5ba54d);if(_0x3446ce){const _0x46268e=_0x3446ce[_0x53a4b1(0x1aa)](_0x3b3d0c);_0x46268e&&_0x46268e[_0x53a4b1(0x1c3)]({'isFromAdapter':!0x0});}}),await this[_0x4c7e2b(0x186)](_0x5b923a);}[_0x2ae0ec(0x1b5)](){const _0x5d9e6c=_0x2ae0ec;if(this[_0x5d9e6c(0x17c)]instanceof _0x40f886){const _0x1565cd=this[_0x5d9e6c(0x17c)][_0x5d9e6c(0x1a3)][_0x5d9e6c(0x1d7)](_0x5d9e6c(0x198));this[_0x5d9e6c(0x1ab)](_0x1565cd);}}[_0x2ae0ec(0x1ab)](_0x56f986){const _0x19964d=_0x2ae0ec;if(!this[_0x19964d(0x1a8)][_0x19964d(0x18e)](_0x56f986))throw new _0x47fb24(_0x19964d(0x1c5),null,{'channelId':_0x56f986});this[_0x19964d(0x1a6)](_0x56f986)[_0x19964d(0x1af)](),this[_0x19964d(0x1a8)][_0x19964d(0x1c7)](_0x56f986);}async[_0x2ae0ec(0x1c2)](){const _0xffa447=_0x2ae0ec;for(const _0x2f39e6 of this[_0xffa447(0x1a8)][_0xffa447(0x1d1)]())await this[_0xffa447(0x186)](_0x2f39e6);if(this[_0xffa447(0x17c)]instanceof _0x40f886){const _0x7e7937=this[_0xffa447(0x17c)][_0xffa447(0x1a3)][_0xffa447(0x1d7)](_0xffa447(0x198)),_0x617d39=this[_0xffa447(0x17c)][_0xffa447(0x197)][_0xffa447(0x1d7)](_0x5d6d98);_0x617d39[_0xffa447(0x192)](_0x7e7937);const _0x142f69=await this[_0xffa447(0x1a8)][_0xffa447(0x1d7)](_0x7e7937)[_0xffa447(0x1ae)]();_0x617d39[_0xffa447(0x19e)](_0x7e7937,_0x142f69);}}async[_0x2ae0ec(0x186)](_0x3fb097){const _0x3acd24=_0x2ae0ec,{connection:_0x2fc429}=this[_0x3acd24(0x17c)][_0x3acd24(0x197)][_0x3acd24(0x1d7)](_0x5a3e82),_0xb029b8=this[_0x3acd24(0x17c)][_0x3acd24(0x197)][_0x3acd24(0x1d7)](_0x3acd24(0x1b1)),_0x37958c=this[_0x3acd24(0x1a8)][_0x3acd24(0x1d7)](_0x3fb097),_0xa7ad1c=await _0x37958c[_0x3acd24(0x1d8)](_0x2fc429);await this[_0x3acd24(0x1c6)](_0xa7ad1c);const _0x5c189d=new Set(Array[_0x3acd24(0x190)](_0xb029b8[_0x3acd24(0x1bc)]({'channelId':_0x3fb097}),_0x56a1ab=>_0x56a1ab['id']));for(const _0x149f26 of _0xa7ad1c)_0x149f26[_0x3acd24(0x17e)]||_0x5c189d[_0x3acd24(0x1c7)](_0x149f26[_0x3acd24(0x1dd)]);for(const _0x463304 of _0x5c189d)_0xb029b8[_0x3acd24(0x1d2)](_0x463304)[_0x3acd24(0x1c3)]({'isFromAdapter':!0x0});for(const _0x568036 of _0xa7ad1c){let _0x4f3ece=_0xb029b8[_0x3acd24(0x1d2)](_0x568036[_0x3acd24(0x1dd)]);const {commentThreadId:_0x358c5d,context:_0x1bfa26,attributes:_0x2d1ddb,resolvedBy:_0x544e4c,resolvedAt:_0x595308,unlinkedAt:_0x493427,deletedAt:_0xedd3fa}=_0x568036;if(_0xedd3fa)continue;_0x4f3ece||(_0x4f3ece=_0xb029b8[_0x3acd24(0x188)]({'channelId':_0x3fb097,'threadId':_0x358c5d,'context':_0x1bfa26,'attributes':_0x2d1ddb||{},'resolvedBy':_0x544e4c,'resolvedAt':_0x595308,'unlinkedAt':_0x493427,'isFromAdapter':!0x0}));const _0x376a9f=new Set(Array[_0x3acd24(0x190)](_0x4f3ece[_0x3acd24(0x1b0)],_0x1a5c74=>_0x1a5c74['id']));for(const _0x458db3 of _0x568036[_0x3acd24(0x1b0)])_0x376a9f[_0x3acd24(0x1c7)](_0x458db3[_0x3acd24(0x1c1)]);for(const _0x233958 of _0x376a9f)_0x4f3ece[_0x3acd24(0x1aa)](_0x233958)[_0x3acd24(0x1c3)]({'isFromAdapter':!0x0});for(const _0x55dfee of _0x568036[_0x3acd24(0x1b0)]){const _0x559ceb=_0x4f3ece[_0x3acd24(0x1aa)](_0x55dfee[_0x3acd24(0x1c1)]);_0x559ceb?_0x559ceb[_0x3acd24(0x1dc)]!==_0x55dfee[_0x3acd24(0x1dc)]&&_0x559ceb[_0x3acd24(0x18a)]({'content':_0x55dfee[_0x3acd24(0x1dc)],'isFromAdapter':!0x0}):_0x4f3ece[_0x3acd24(0x1d9)](Object[_0x3acd24(0x18f)](_(_0x55dfee),{'isFromAdapter':!0x0}));}}}[_0x2ae0ec(0x1a6)](_0xc7b087){const _0x3e6087=_0x2ae0ec;if(!this[_0x3e6087(0x1a8)][_0x3e6087(0x18e)](_0xc7b087))throw new _0x47fb24(_0x3e6087(0x1a1),null,{'channelId':_0xc7b087});return this[_0x3e6087(0x1a8)][_0x3e6087(0x1d7)](_0xc7b087);}async[_0x2ae0ec(0x1c6)](_0x46ea2c){const _0xe4bdda=_0x2ae0ec,_0x2dfd79=this[_0xe4bdda(0x17c)][_0xe4bdda(0x197)][_0xe4bdda(0x1d7)](_0x58b159),{connection:_0x2ef4a7}=this[_0xe4bdda(0x17c)][_0xe4bdda(0x197)][_0xe4bdda(0x1d7)](_0x5a3e82),_0x17aeea=new Set();for(const {resolvedBy:_0x3e724f,comments:_0x41a78b}of _0x46ea2c){_0x3e724f&&!_0x2dfd79[_0xe4bdda(0x1a5)](_0x3e724f)&&_0x17aeea[_0xe4bdda(0x1b6)](_0x3e724f);for(const {userId:_0x197b57}of _0x41a78b)_0x2dfd79[_0xe4bdda(0x1a5)](_0x197b57)||_0x17aeea[_0xe4bdda(0x1b6)](_0x197b57);}if(0x0===_0x17aeea[_0xe4bdda(0x1b7)])return;const _0x51330a=await _0xbe2948[_0xe4bdda(0x1a7)](_0x2ef4a7,Array[_0xe4bdda(0x190)](_0x17aeea));for(const _0x2108d2 of _0x51330a)_0x2dfd79[_0xe4bdda(0x1a5)](_0x2108d2['id'])||_0x2dfd79[_0xe4bdda(0x183)](_0x2108d2);}}export default a;async function S(_0xe4af34){const _0x5e24e3=_0x2ae0ec;if(_0x5e24e3(0x1cd)!==_0xe4af34[_0x5e24e3(0x1d0)])throw _0xe4af34;}function R(_0x50524d){const _0x5579f5=_0x2ae0ec;if((_0x1236cc=_0x50524d)[_0x5579f5(0x1c4)][_0x5579f5(0x1d3)](_0x5579f5(0x1de))||_0x1236cc[_0x5579f5(0x1c4)][_0x5579f5(0x1d3)](_0x5579f5(0x1b2))||_0x1236cc[_0x5579f5(0x1c4)][_0x5579f5(0x1d3)](_0x5579f5(0x1ac)))return new Promise(()=>{});var _0x1236cc;throw _0x50524d;}function _(_0x5d3324){const _0x17ed63=_0x2ae0ec;return{'threadId':_0x5d3324[_0x17ed63(0x1dd)],'commentId':_0x5d3324[_0x17ed63(0x1c1)],'content':_0x5d3324[_0x17ed63(0x1dc)],'createdAt':_0x5d3324[_0x17ed63(0x1c0)],'authorId':_0x5d3324[_0x17ed63(0x1b4)],'attributes':_0x5d3324[_0x17ed63(0x1d6)]||{}};}function _0x156c(){const _0xf8a551=['addUser','244173sqLtWN','4032RudCGo','_connectService','cloudservicescommentsadapter-connect-already-connected','addCommentThread','1814816CMFUME','update','52DNvAGY','updateComment','mySessionId','has','assign','from','7TYeqyL','unregister','Permissions','108EBCFqN','pluginName','catch','plugins','collaboration.channelId','isOfficialPlugin','permissions','set','updateCommentThread','23290RCHXdD','register','335020kHSiXn','removeComment','cloudservicescommentsadapter-service-not-exist','resolveCommentThread','config','commentThreadUpdated','getUser','_getService','getMany','_services','map','getComment','_terminateService','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','getConnectedSessions','disconnect','comments','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','userId','destroy','add','size','commentThreadAdded','off','removeCommentThread','CloudServicesCommentsAdapter','getCommentThreads','sessionAdd:','init','adapter','createdAt','commentId','reconnect','remove','message','cloudservicescommentsadapter-disconnect-not-exist','_fetchMissingUsersForThreads','delete','5195JgTJQL','isPremiumPlugin','commentUpdated','948364BecatL','commentRemoved','404','reopenCommentThread','5556DXwleu','code','keys','getCommentThread','startsWith','commentThreadResolved','resolve','attributes','get','connect','addComment','commentAdded','CommentsService','content','commentThreadId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','authorId','resolvedAt','reopen','requires','commentThreadRemoved','context','561671sDXXHn','deletedAt','listenTo','_setUpService','commentThreadReopened','resolvedBy'];_0x156c=function(){return _0xf8a551;};return _0x156c();}
23
+ const _0x4a67fa=_0x1f4b;(function(_0x35f137,_0x3c3fc9){const _0xa41689=_0x1f4b,_0x30b9d0=_0x35f137();while(!![]){try{const _0x1f5b17=-parseInt(_0xa41689(0x180))/0x1*(parseInt(_0xa41689(0x162))/0x2)+parseInt(_0xa41689(0x186))/0x3+parseInt(_0xa41689(0x178))/0x4*(-parseInt(_0xa41689(0x1a5))/0x5)+-parseInt(_0xa41689(0x1c7))/0x6*(parseInt(_0xa41689(0x191))/0x7)+-parseInt(_0xa41689(0x187))/0x8+parseInt(_0xa41689(0x1b6))/0x9*(parseInt(_0xa41689(0x18b))/0xa)+-parseInt(_0xa41689(0x17b))/0xb*(-parseInt(_0xa41689(0x163))/0xc);if(_0x1f5b17===_0x3c3fc9)break;else _0x30b9d0['push'](_0x30b9d0['shift']());}catch(_0x358126){_0x30b9d0['push'](_0x30b9d0['shift']());}}}(_0x2338,0x5a6f5));import{Context as _0xec5368,ContextPlugin as _0x226fff}from'ckeditor5/src/core.js';import{CKEditorError as _0x5f5a7a}from'ckeditor5/src/utils.js';import{Users as _0x2810e9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x531f85,User as _0x1473a3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1f468a from'../realtimecollaborativeediting/websocketgateway.js';function _0x2338(){const _0x297f41=['authorId','isPremiumPlugin','commentThreadResolved','cloud-services-internal-error:\x20Not\x20connected.','message','getCommentThreads','pluginName','from','addCommentThread','commentThreadRemoved','context','update','_services','45bMMVWG','off','CloudServicesCommentsAdapter','permissions','size','404','content','Permissions','cloudservicescommentsadapter-disconnect-not-exist','disconnect','_terminateService','assign','getConnectedSessions','keys','isOfficialPlugin','removeCommentThread','_setUpService','996nkPIAw','get','getMany','699506qYiWia','12899244VTwvFo','resolveCommentThread','removeComment','commentThreadId','listenTo','comments','updateCommentThread','reconnect','adapter','commentThreadAdded','CommentsRepository','addUser','reopenCommentThread','collaboration.channelId','addToReconnectionStack','_getService','connect','getCommentThread','commentThreadUpdated','config','delete','4PdhMat','requires','commentRemoved','11TNyazI','resolve','unregister','plugins','updateComment','2ubKqKS','startsWith','cloud-services-internal-error:\x20Request\x20timeout.','_fetchMissingUsersForThreads','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1154841rFOSVJ','3340912Jhwizq','commentAdded','add','addComment','810970poRLPU','mySessionId','deletedAt','commentThreadReopened','createdAt','destroy','10087TsdsZP','has','set','attributes','CommentsService','register','code','init','remove','reopen','cloudservicescommentsadapter-service-not-exist','map','resolvedBy','getComment','commentUpdated','_connectService','userId','commentId','getUser','cloudservicescommentsadapter-connect-already-connected','693110bNAFQE','sessionAdd:','resolvedAt','setPermissions'];_0x2338=function(){return _0x297f41;};return _0x2338();}function _0x1f4b(_0x51fb01,_0x3af04b){const _0x2338cc=_0x2338();return _0x1f4b=function(_0x1f4b16,_0x5e8eeb){_0x1f4b16=_0x1f4b16-0x162;let _0x5b5ded=_0x2338cc[_0x1f4b16];return _0x5b5ded;},_0x1f4b(_0x51fb01,_0x3af04b);}import _0x520cb2 from'../realtimecollaborativeediting/sessions.js';class a extends _0x226fff{static [_0x4a67fa(0x195)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x531f85)());[_0x4a67fa(0x1b5)];static get[_0x4a67fa(0x179)](){const _0x581a16=_0x4a67fa;return[_0x1f468a,_0x581a16(0x16d),_0x520cb2,_0x2810e9];}static get[_0x4a67fa(0x1af)](){const _0x2bda28=_0x4a67fa;return _0x2bda28(0x1b8);}static get[_0x4a67fa(0x1c4)](){return!0x0;}static get[_0x4a67fa(0x1aa)](){return!0x0;}constructor(_0x545eff){const _0x276f8b=_0x4a67fa;super(_0x545eff),this[_0x276f8b(0x1b5)]=new Map();}async[_0x4a67fa(0x198)](){const _0x5bbc36=_0x4a67fa,_0x4bac4a=this[_0x5bbc36(0x1b3)],_0x359d7e=_0x4bac4a[_0x5bbc36(0x17e)][_0x5bbc36(0x1c8)](_0x5bbc36(0x16d));if(_0x4bac4a[_0x5bbc36(0x17e)][_0x5bbc36(0x1c8)](_0x1f468a)[_0x5bbc36(0x171)](this),_0x359d7e[_0x5bbc36(0x16b)]={'addCommentThread':async({channelId:_0x272831,threadId:_0x1904fa,comments:_0x11e4ce,resolvedAt:_0xe8ae13,resolvedBy:_0x39a173,context:_0x24e487,attributes:_0xb6c9c7})=>{const _0x33ba78=_0x5bbc36,_0x17aef4=await this[_0x33ba78(0x172)](_0x272831)[_0x33ba78(0x1b1)]({'commentThreadId':_0x1904fa,'comments':_0x11e4ce[_0x33ba78(0x19c)](_0xceddc=>function(_0x506049,_0xedae68,_0x1e8766){const _0x2e56cc=_0x33ba78;return{'commentThreadId':_0x1e8766,'commentId':_0x506049[_0x2e56cc(0x1a2)],'userId':_0x506049[_0x2e56cc(0x1a9)],'content':_0x506049[_0x2e56cc(0x1bc)],'documentId':_0xedae68,'createdAt':_0x506049[_0x2e56cc(0x18f)],'attributes':_0x506049[_0x2e56cc(0x194)]||{}};}(_0xceddc,_0x272831,_0x1904fa)),'resolvedAt':_0xe8ae13,'resolvedBy':_0x39a173,'context':_0x24e487,'attributes':_0xb6c9c7})[_0x33ba78(0x184)](R);return{'threadId':_0x17aef4[_0x33ba78(0x166)],'comments':_0x17aef4[_0x33ba78(0x168)]};},'getCommentThread':async({channelId:_0x160a3c,threadId:_0x408f62})=>{const _0x21affa=_0x5bbc36,_0x90ac63=await this[_0x21affa(0x172)](_0x160a3c)[_0x21affa(0x174)](_0x408f62)[_0x21affa(0x184)](R);return _0x90ac63[_0x21affa(0x18d)]?null:(await this[_0x21affa(0x183)]([_0x90ac63]),{'threadId':_0x90ac63[_0x21affa(0x166)],'comments':_0x90ac63[_0x21affa(0x168)][_0x21affa(0x19c)](_),'context':_0x90ac63[_0x21affa(0x1b3)],'resolvedAt':_0x90ac63[_0x21affa(0x1a7)],'resolvedBy':_0x90ac63[_0x21affa(0x19d)],'attributes':_0x90ac63[_0x21affa(0x194)]||{}});},'updateCommentThread':async({channelId:_0x38760e,threadId:_0x20b32f,context:_0xc1994f,unlinkedAt:_0x18c5e6,attributes:_0x4cc115})=>this[_0x5bbc36(0x172)](_0x38760e)[_0x5bbc36(0x169)]({'commentThreadId':_0x20b32f,'context':_0xc1994f,'attributes':_0x4cc115,'unlinkedAt':_0x18c5e6})[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'resolveCommentThread':async({channelId:_0x570b8f,threadId:_0x34cb18})=>{const _0x3b692f=_0x5bbc36,_0x5c440f=await this[_0x3b692f(0x172)](_0x570b8f)[_0x3b692f(0x164)](_0x34cb18)[_0x3b692f(0x184)](S)[_0x3b692f(0x184)](R);return{'threadId':_0x5c440f[_0x3b692f(0x166)],'resolvedAt':_0x5c440f[_0x3b692f(0x1a7)],'resolvedBy':_0x5c440f[_0x3b692f(0x19d)]};},'reopenCommentThread':async({channelId:_0x37df95,threadId:_0x56fa24})=>this[_0x5bbc36(0x172)](_0x37df95)[_0x5bbc36(0x16f)](_0x56fa24)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'removeCommentThread':({channelId:_0x330e11,threadId:_0x469c35})=>this[_0x5bbc36(0x172)](_0x330e11)[_0x5bbc36(0x1c5)](_0x469c35)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'addComment':({channelId:_0x96caf5,threadId:_0x920438,commentId:_0x5c68c1,content:_0x52c8da,attributes:_0x36a9ee})=>this[_0x5bbc36(0x172)](_0x96caf5)[_0x5bbc36(0x18a)](_0x920438,_0x5c68c1,_0x52c8da,_0x36a9ee)[_0x5bbc36(0x184)](R),'updateComment':({channelId:_0x530263,threadId:_0x580808,commentId:_0xdd71a8,content:_0x3899b5,attributes:_0x17ad43})=>this[_0x5bbc36(0x172)](_0x530263)[_0x5bbc36(0x17f)](_0x580808,_0xdd71a8,_0x3899b5,_0x17ad43)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'removeComment':({channelId:_0x4036eb,threadId:_0x48cce9,commentId:_0x57db6e})=>this[_0x5bbc36(0x172)](_0x4036eb)[_0x5bbc36(0x165)](_0x48cce9,_0x57db6e)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R)},_0x4bac4a instanceof _0xec5368){const _0x5761ae=_0x4bac4a[_0x5bbc36(0x176)][_0x5bbc36(0x1c8)](_0x5bbc36(0x170)),_0x2973ee=_0x4bac4a[_0x5bbc36(0x17e)][_0x5bbc36(0x1c8)](_0x520cb2);await this[_0x5bbc36(0x1c6)](_0x5761ae);const _0x4c5966=await this[_0x5bbc36(0x1b5)][_0x5bbc36(0x1c8)](_0x5761ae)[_0x5bbc36(0x1c2)]();this[_0x5bbc36(0x167)](_0x2973ee,_0x5bbc36(0x1a6)+_0x5761ae,(_0x54df2e,{session:_0x5e6379})=>{const _0x40d3f1=_0x5bbc36;_0x5e6379['id']===_0x2973ee[_0x40d3f1(0x18c)]&&(_0x54df2e[_0x40d3f1(0x1b7)](),this[_0x40d3f1(0x1b3)][_0x40d3f1(0x17e)][_0x40d3f1(0x1c8)](_0x40d3f1(0x1bd))[_0x40d3f1(0x1a8)](_0x5e6379[_0x40d3f1(0x1b9)],_0x5761ae));}),_0x2973ee[_0x5bbc36(0x196)](_0x5761ae,_0x4c5966);}}async[_0x4a67fa(0x1c6)](_0x21e876){const _0x3a237d=_0x4a67fa;if(this[_0x3a237d(0x1b5)][_0x3a237d(0x192)](_0x21e876))throw new _0x5f5a7a(_0x3a237d(0x1a4),null,{'channelId':_0x21e876});const _0x2985b1=this[_0x3a237d(0x1b3)][_0x3a237d(0x17e)][_0x3a237d(0x1c8)](_0x3a237d(0x16d)),_0x2a2110=new a[(_0x3a237d(0x195))](_0x21e876);this[_0x3a237d(0x1b5)][_0x3a237d(0x193)](_0x21e876,_0x2a2110),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x16c),(_0x21ec84,_0x1622b6)=>{const _0x449d2a=_0x3a237d,{commentThreadId:_0x543862,documentId:_0xa85d7e,context:_0x56a4ce,attributes:_0x2d2a1b,resolvedAt:_0x30e8bf,resolvedBy:_0x348d31,comments:_0x5b3091}=_0x1622b6;_0x2985b1[_0x449d2a(0x174)](_0x543862)||_0x2985b1[_0x449d2a(0x1b1)]({'threadId':_0x543862,'channelId':_0xa85d7e,'comments':_0x5b3091?_0x5b3091[_0x449d2a(0x19c)](_):[],'context':_0x56a4ce,'attributes':_0x2d2a1b,'resolvedAt':_0x30e8bf,'resolvedBy':_0x348d31,'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x175),(_0x526e2a,{commentThreadId:_0x503a58,documentId:_0x400f6b,context:_0x263d97,unlinkedAt:_0x184156,attributes:_0x36c27a})=>{const _0x30cba8=_0x3a237d;_0x2985b1[_0x30cba8(0x174)](_0x503a58)&&_0x2985b1[_0x30cba8(0x169)]({'threadId':_0x503a58,'channelId':_0x400f6b,'context':_0x263d97,'unlinkedAt':_0x184156,'attributes':_0x36c27a,'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x1ab),(_0x3b8812,{commentThreadId:_0x489cbd,resolvedBy:_0x5b4c77,resolvedAt:_0x114b69})=>{const _0xf36031=_0x3a237d,_0x400d11=_0x2985b1[_0xf36031(0x174)](_0x489cbd);_0x400d11&&_0x400d11[_0xf36031(0x17c)]({'resolvedBy':_0x5b4c77,'resolvedAt':_0x114b69,'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x18e),(_0x85dbaa,{commentThreadId:_0x3955ff})=>{const _0x3fbe3e=_0x3a237d,_0x958681=_0x2985b1[_0x3fbe3e(0x174)](_0x3955ff);_0x958681&&_0x958681[_0x3fbe3e(0x19a)]({'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x1b2),(_0xc285cc,{commentThreadId:_0x36eba6})=>{const _0x56d958=_0x3a237d,_0x55de30=_0x2985b1[_0x56d958(0x174)](_0x36eba6);_0x55de30&&_0x55de30[_0x56d958(0x199)]({'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x188),(_0x61677d,_0x15c719)=>{const _0x4c0a74=_0x3a237d,_0x14c92a=_0x15c719[_0x4c0a74(0x166)],_0x4a835b=_0x2985b1[_0x4c0a74(0x174)](_0x14c92a);_0x4a835b&&_0x4a835b[_0x4c0a74(0x18a)]({..._(_0x15c719),'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x19f),(_0x46c261,{commentThreadId:_0x35339a,commentId:_0x237e0c,content:_0x220cff,attributes:_0x4be134})=>{const _0x5827d3=_0x3a237d,_0x58f39a=_0x2985b1[_0x5827d3(0x174)](_0x35339a);if(_0x58f39a){const _0x5f15e8=_0x58f39a[_0x5827d3(0x19e)](_0x237e0c);_0x5f15e8&&_0x5f15e8[_0x5827d3(0x1b4)]({'content':_0x220cff,'attributes':_0x4be134,'isFromAdapter':!0x0});}}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x17a),(_0x19c9b4,{commentThreadId:_0x36cc22,commentId:_0x4640c0})=>{const _0x5b0907=_0x3a237d,_0x2b0aa0=_0x2985b1[_0x5b0907(0x174)](_0x36cc22);if(_0x2b0aa0){const _0x22b20b=_0x2b0aa0[_0x5b0907(0x19e)](_0x4640c0);_0x22b20b&&_0x22b20b[_0x5b0907(0x199)]({'isFromAdapter':!0x0});}}),await this[_0x3a237d(0x1a0)](_0x21e876);}[_0x4a67fa(0x190)](){const _0x2db6b0=_0x4a67fa;if(this[_0x2db6b0(0x1b3)]instanceof _0xec5368){const _0x34ffc3=this[_0x2db6b0(0x1b3)][_0x2db6b0(0x176)][_0x2db6b0(0x1c8)](_0x2db6b0(0x170));this[_0x2db6b0(0x1c0)](_0x34ffc3);}}[_0x4a67fa(0x1c0)](_0x2178ed){const _0x4a37eb=_0x4a67fa;if(!this[_0x4a37eb(0x1b5)][_0x4a37eb(0x192)](_0x2178ed))throw new _0x5f5a7a(_0x4a37eb(0x1be),null,{'channelId':_0x2178ed});this[_0x4a37eb(0x172)](_0x2178ed)[_0x4a37eb(0x1bf)](),this[_0x4a37eb(0x1b5)][_0x4a37eb(0x177)](_0x2178ed);}async[_0x4a67fa(0x16a)](){const _0x5d1fc9=_0x4a67fa;for(const _0x21bf1a of this[_0x5d1fc9(0x1b5)][_0x5d1fc9(0x1c3)]())await this[_0x5d1fc9(0x1a0)](_0x21bf1a);if(this[_0x5d1fc9(0x1b3)]instanceof _0xec5368){const _0x5577c8=this[_0x5d1fc9(0x1b3)][_0x5d1fc9(0x176)][_0x5d1fc9(0x1c8)](_0x5d1fc9(0x170)),_0x4da9fb=this[_0x5d1fc9(0x1b3)][_0x5d1fc9(0x17e)][_0x5d1fc9(0x1c8)](_0x520cb2);_0x4da9fb[_0x5d1fc9(0x17d)](_0x5577c8);const _0x2d0eb2=await this[_0x5d1fc9(0x1b5)][_0x5d1fc9(0x1c8)](_0x5577c8)[_0x5d1fc9(0x1c2)]();_0x4da9fb[_0x5d1fc9(0x196)](_0x5577c8,_0x2d0eb2);}}async[_0x4a67fa(0x1a0)](_0x519519){const _0x2ab33d=_0x4a67fa,{connection:_0x5bb064}=this[_0x2ab33d(0x1b3)][_0x2ab33d(0x17e)][_0x2ab33d(0x1c8)](_0x1f468a),_0x191cac=this[_0x2ab33d(0x1b3)][_0x2ab33d(0x17e)][_0x2ab33d(0x1c8)](_0x2ab33d(0x16d)),_0x69e6e=this[_0x2ab33d(0x1b5)][_0x2ab33d(0x1c8)](_0x519519),_0x2ba4d8=await _0x69e6e[_0x2ab33d(0x173)](_0x5bb064);await this[_0x2ab33d(0x183)](_0x2ba4d8);const _0x40652a=new Set(Array[_0x2ab33d(0x1b0)](_0x191cac[_0x2ab33d(0x1ae)]({'channelId':_0x519519}),_0x51bee4=>_0x51bee4['id']));for(const _0x140c6c of _0x2ba4d8)_0x140c6c[_0x2ab33d(0x18d)]||_0x40652a[_0x2ab33d(0x177)](_0x140c6c[_0x2ab33d(0x166)]);for(const _0x5f0358 of _0x40652a)_0x191cac[_0x2ab33d(0x174)](_0x5f0358)[_0x2ab33d(0x199)]({'isFromAdapter':!0x0});for(const _0x50a8db of _0x2ba4d8){let _0x3b94f5=_0x191cac[_0x2ab33d(0x174)](_0x50a8db[_0x2ab33d(0x166)]);const {commentThreadId:_0x52e6d8,context:_0x28f3fa,attributes:_0x599176,resolvedBy:_0x140274,resolvedAt:_0x937410,unlinkedAt:_0x191845,deletedAt:_0x764400}=_0x50a8db;if(_0x764400)continue;_0x3b94f5||(_0x3b94f5=_0x191cac[_0x2ab33d(0x1b1)]({'channelId':_0x519519,'threadId':_0x52e6d8,'context':_0x28f3fa,'attributes':_0x599176||{},'resolvedBy':_0x140274,'resolvedAt':_0x937410,'unlinkedAt':_0x191845,'isFromAdapter':!0x0}));const _0x3cd419=new Set(Array[_0x2ab33d(0x1b0)](_0x3b94f5[_0x2ab33d(0x168)],_0x3a1930=>_0x3a1930['id']));for(const _0x5f4c63 of _0x50a8db[_0x2ab33d(0x168)])_0x3cd419[_0x2ab33d(0x177)](_0x5f4c63[_0x2ab33d(0x1a2)]);for(const _0x343fad of _0x3cd419)_0x3b94f5[_0x2ab33d(0x19e)](_0x343fad)[_0x2ab33d(0x199)]({'isFromAdapter':!0x0});for(const _0x2aeca6 of _0x50a8db[_0x2ab33d(0x168)]){const _0x29c588=_0x3b94f5[_0x2ab33d(0x19e)](_0x2aeca6[_0x2ab33d(0x1a2)]);_0x29c588?_0x29c588[_0x2ab33d(0x1bc)]!==_0x2aeca6[_0x2ab33d(0x1bc)]&&_0x29c588[_0x2ab33d(0x1b4)]({'content':_0x2aeca6[_0x2ab33d(0x1bc)],'isFromAdapter':!0x0}):_0x3b94f5[_0x2ab33d(0x18a)](Object[_0x2ab33d(0x1c1)](_(_0x2aeca6),{'isFromAdapter':!0x0}));}}}[_0x4a67fa(0x172)](_0xf67a71){const _0x13fe6f=_0x4a67fa;if(!this[_0x13fe6f(0x1b5)][_0x13fe6f(0x192)](_0xf67a71))throw new _0x5f5a7a(_0x13fe6f(0x19b),null,{'channelId':_0xf67a71});return this[_0x13fe6f(0x1b5)][_0x13fe6f(0x1c8)](_0xf67a71);}async[_0x4a67fa(0x183)](_0xc60098){const _0x1d59ea=_0x4a67fa,_0x41bedd=this[_0x1d59ea(0x1b3)][_0x1d59ea(0x17e)][_0x1d59ea(0x1c8)](_0x2810e9),{connection:_0x52c643}=this[_0x1d59ea(0x1b3)][_0x1d59ea(0x17e)][_0x1d59ea(0x1c8)](_0x1f468a),_0x19b414=new Set();for(const {resolvedBy:_0x471e7c,comments:_0x39d62e}of _0xc60098){_0x471e7c&&!_0x41bedd[_0x1d59ea(0x1a3)](_0x471e7c)&&_0x19b414[_0x1d59ea(0x189)](_0x471e7c);for(const {userId:_0x583028}of _0x39d62e)_0x41bedd[_0x1d59ea(0x1a3)](_0x583028)||_0x19b414[_0x1d59ea(0x189)](_0x583028);}if(0x0===_0x19b414[_0x1d59ea(0x1ba)])return;const _0x4593ac=await _0x1473a3[_0x1d59ea(0x1c9)](_0x52c643,Array[_0x1d59ea(0x1b0)](_0x19b414));for(const _0x5e1109 of _0x4593ac)_0x41bedd[_0x1d59ea(0x1a3)](_0x5e1109['id'])||_0x41bedd[_0x1d59ea(0x16e)](_0x5e1109);}}export default a;async function S(_0x21aa3e){const _0x1a2d93=_0x4a67fa;if(_0x1a2d93(0x1bb)!==_0x21aa3e[_0x1a2d93(0x197)])throw _0x21aa3e;}function R(_0x40bc7c){const _0x227f07=_0x4a67fa;if((_0x14c013=_0x40bc7c)[_0x227f07(0x1ad)][_0x227f07(0x181)](_0x227f07(0x185))||_0x14c013[_0x227f07(0x1ad)][_0x227f07(0x181)](_0x227f07(0x1ac))||_0x14c013[_0x227f07(0x1ad)][_0x227f07(0x181)](_0x227f07(0x182)))return new Promise(()=>{});var _0x14c013;throw _0x40bc7c;}function _(_0x4cfbb6){const _0x31e834=_0x4a67fa;return{'threadId':_0x4cfbb6[_0x31e834(0x166)],'commentId':_0x4cfbb6[_0x31e834(0x1a2)],'content':_0x4cfbb6[_0x31e834(0x1bc)],'createdAt':_0x4cfbb6[_0x31e834(0x18f)],'authorId':_0x4cfbb6[_0x31e834(0x1a1)],'attributes':_0x4cfbb6[_0x31e834(0x194)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x378a72=_0x1b2f;(function(_0x4dd8a3,_0x20afd8){const _0x1f6135=_0x1b2f,_0x2cbafd=_0x4dd8a3();while(!![]){try{const _0x3868c0=parseInt(_0x1f6135(0x69))/0x1*(-parseInt(_0x1f6135(0x7c))/0x2)+-parseInt(_0x1f6135(0x72))/0x3*(parseInt(_0x1f6135(0x7d))/0x4)+parseInt(_0x1f6135(0x80))/0x5+parseInt(_0x1f6135(0x67))/0x6*(parseInt(_0x1f6135(0x77))/0x7)+parseInt(_0x1f6135(0x79))/0x8+parseInt(_0x1f6135(0x83))/0x9+-parseInt(_0x1f6135(0x6a))/0xa*(parseInt(_0x1f6135(0x6d))/0xb);if(_0x3868c0===_0x20afd8)break;else _0x2cbafd['push'](_0x2cbafd['shift']());}catch(_0x4861a8){_0x2cbafd['push'](_0x2cbafd['shift']());}}}(_0x343b,0xdd942));function _0x1b2f(_0x1a70bc,_0x119899){const _0x343b29=_0x343b();return _0x1b2f=function(_0x1b2ff5,_0x343029){_0x1b2ff5=_0x1b2ff5-0x65;let _0x4d4cf4=_0x343b29[_0x1b2ff5];return _0x4d4cf4;},_0x1b2f(_0x1a70bc,_0x119899);}import{Plugin as _0x2cf596}from'ckeditor5/src/core.js';import _0x47f604 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x415c3d from'./realtimecollaborativeediting.js';import _0x5709a1 from'./realtimecollaborativeediting/websocketgateway.js';function _0x343b(){const _0x84abd8=['isThreadsLoadingPaused','plugins','get','requires','destroy','198LtkuiE','collaboration.channelId','902SKAwJO','64570grLypO','ready','Comments','297ODnbzM','data','pluginName','config','CommentsEditing','6EyQwNS','listenTo','CommentsRepository','switchReadOnly','isOfficialPlugin','6419HrUYIy','isPremiumPlugin','558832lqPKhg','_setUpService','change:state','2218RWkoZW','86408yHUcAv','init','RealTimeCollaborativeComments','1522885RDpEJW','once','editor','15486795odLysH','connected','_terminateService'];_0x343b=function(){return _0x84abd8;};return _0x343b();}export default class m extends _0x2cf596{static get[_0x378a72(0x65)](){const _0x11170e=_0x378a72;return[_0x11170e(0x6c),_0x47f604,_0x415c3d,_0x5709a1];}static get[_0x378a72(0x6f)](){const _0x38d624=_0x378a72;return _0x38d624(0x7f);}static get[_0x378a72(0x76)](){return!0x0;}static get[_0x378a72(0x78)](){return!0x0;}[_0x378a72(0x7e)](){const _0x2e888a=_0x378a72,_0x2abc1c=this[_0x2e888a(0x82)][_0x2e888a(0x87)][_0x2e888a(0x88)](_0x5709a1),_0x2d5368=this[_0x2e888a(0x82)][_0x2e888a(0x87)][_0x2e888a(0x88)](_0x2e888a(0x71)),_0x3d5a6a=this[_0x2e888a(0x82)][_0x2e888a(0x87)][_0x2e888a(0x88)](_0x47f604);return this[_0x2e888a(0x82)][_0x2e888a(0x6e)][_0x2e888a(0x81)](_0x2e888a(0x6b),()=>{const _0x88fece=_0x2e888a;this[_0x88fece(0x73)](_0x2abc1c,_0x88fece(0x7b),(_0x3b7abf,_0x5c9309,_0x329e2e)=>{const _0x1c6b68=_0x88fece;_0x2d5368[_0x1c6b68(0x86)]=_0x1c6b68(0x84)!==_0x329e2e;});}),this[_0x2e888a(0x73)](_0x2abc1c,_0x2e888a(0x7b),(_0x2035df,_0x4cecf8,_0x214228)=>{const _0x4d325c=_0x2e888a;this[_0x4d325c(0x82)][_0x4d325c(0x87)][_0x4d325c(0x88)](_0x4d325c(0x74))[_0x4d325c(0x75)](_0x4d325c(0x84)!==_0x214228);}),_0x3d5a6a[_0x2e888a(0x7a)](this[_0x2e888a(0x82)][_0x2e888a(0x70)][_0x2e888a(0x88)](_0x2e888a(0x68)));}[_0x378a72(0x66)](){const _0x38eb59=_0x378a72;this[_0x38eb59(0x82)][_0x38eb59(0x87)][_0x38eb59(0x88)](_0x47f604)[_0x38eb59(0x85)](this[_0x38eb59(0x82)][_0x38eb59(0x70)][_0x38eb59(0x88)](_0x38eb59(0x68))),super[_0x38eb59(0x66)]();}}
23
+ const _0x591a01=_0x3753;(function(_0x16351e,_0x22582a){const _0x4401c3=_0x3753,_0x15aa84=_0x16351e();while(!![]){try{const _0x27d0c5=-parseInt(_0x4401c3(0xc0))/0x1*(parseInt(_0x4401c3(0xbd))/0x2)+-parseInt(_0x4401c3(0xb5))/0x3*(-parseInt(_0x4401c3(0xb2))/0x4)+-parseInt(_0x4401c3(0xb1))/0x5*(-parseInt(_0x4401c3(0xac))/0x6)+parseInt(_0x4401c3(0xb6))/0x7*(parseInt(_0x4401c3(0xaf))/0x8)+-parseInt(_0x4401c3(0xa6))/0x9*(-parseInt(_0x4401c3(0xaa))/0xa)+-parseInt(_0x4401c3(0xc2))/0xb+-parseInt(_0x4401c3(0xb7))/0xc;if(_0x27d0c5===_0x22582a)break;else _0x15aa84['push'](_0x15aa84['shift']());}catch(_0x3d6390){_0x15aa84['push'](_0x15aa84['shift']());}}}(_0x9c8a,0x6c442));import{Plugin as _0x28a3dd}from'ckeditor5/src/core.js';import _0xd38366 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x9c8a(){const _0x20576b=['Comments','change:state','once','149004NLPsHq','RealTimeCollaborativeComments','get','listenTo','140CsyqVu','CommentsEditing','3071922lpOjLC','pluginName','isThreadsLoadingPaused','24niDEyR','config','5JGElwq','1143784dedXNR','plugins','requires','9CWZrYT','995309jyDYGf','629268dANfsx','switchReadOnly','destroy','isPremiumPlugin','collaboration.channelId','_terminateService','2nmyYMs','ready','_setUpService','766540klGiJe','connected','8423063HIGKEq','editor','isOfficialPlugin','init','CommentsRepository','data'];_0x9c8a=function(){return _0x20576b;};return _0x9c8a();}import _0x497a1a from'./realtimecollaborativeediting.js';function _0x3753(_0x1ca556,_0x35986f){const _0x9c8a3e=_0x9c8a();return _0x3753=function(_0x3753b9,_0x4f021a){_0x3753b9=_0x3753b9-0xa5;let _0xbe044a=_0x9c8a3e[_0x3753b9];return _0xbe044a;},_0x3753(_0x1ca556,_0x35986f);}import _0x51b38c from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x28a3dd{static get[_0x591a01(0xb4)](){const _0x3fd9e1=_0x591a01;return[_0x3fd9e1(0xc8),_0xd38366,_0x497a1a,_0x51b38c];}static get[_0x591a01(0xad)](){const _0x2ee1a0=_0x591a01;return _0x2ee1a0(0xa7);}static get[_0x591a01(0xc4)](){return!0x0;}static get[_0x591a01(0xba)](){return!0x0;}[_0x591a01(0xc5)](){const _0x5ed6b9=_0x591a01,_0x2dbb67=this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb3)][_0x5ed6b9(0xa8)](_0x51b38c),_0x35f3e3=this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb3)][_0x5ed6b9(0xa8)](_0x5ed6b9(0xab)),_0x2ec93a=this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb3)][_0x5ed6b9(0xa8)](_0xd38366);return this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xc7)][_0x5ed6b9(0xa5)](_0x5ed6b9(0xbe),()=>{const _0x2dbba2=_0x5ed6b9;this[_0x2dbba2(0xa9)](_0x2dbb67,_0x2dbba2(0xc9),(_0x4422d3,_0x423147,_0x48ff81)=>{const _0x279f15=_0x2dbba2;_0x35f3e3[_0x279f15(0xae)]=_0x279f15(0xc1)!==_0x48ff81;});}),this[_0x5ed6b9(0xa9)](_0x2dbb67,_0x5ed6b9(0xc9),(_0x5b7a1c,_0x45f75e,_0x4b8ef1)=>{const _0x451e6b=_0x5ed6b9;this[_0x451e6b(0xc3)][_0x451e6b(0xb3)][_0x451e6b(0xa8)](_0x451e6b(0xc6))[_0x451e6b(0xb8)](_0x451e6b(0xc1)!==_0x4b8ef1);}),_0x2ec93a[_0x5ed6b9(0xbf)](this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb0)][_0x5ed6b9(0xa8)](_0x5ed6b9(0xbb)));}[_0x591a01(0xb9)](){const _0x20ae78=_0x591a01;this[_0x20ae78(0xc3)][_0x20ae78(0xb3)][_0x20ae78(0xa8)](_0xd38366)[_0x20ae78(0xbc)](this[_0x20ae78(0xc3)][_0x20ae78(0xb0)][_0x20ae78(0xa8)](_0x20ae78(0xbb))),super[_0x20ae78(0xb9)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x584ec7=_0x3c16;function _0x12e7(){const _0x491f43=['round','90NMVpDM','channelSessions','_authorId','_isEditingAllowed','_handleServerResponse','isEnabled','init','1318808onRcrP','affectedSelectable','13138920aqMahU','_updateServerHistory','root','cloudDocumentVersion','return','then','attributes','start','_knownOperations','_hasSelectionChanged','cs:removeUser','real-time-collaboration','userId','enableReadOnlyMode','_isLoaded','selection','setIdForTheLastOperation','realtimecollaborationclient-error','_handleExternalOperations','filter','_compressor','_refreshUserSelectionMarkers','sessionAdd:','apply','directChange','showWarning','_getAffectedRoot','ready','getDocumentDetails','map','editing','404','addUser','InsertOperation','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getConnectedSessions','207931iuOuOP','disableReadOnlyMode','connect','sendOperations','set','serverHistory','setPermissions','message','change:range','lastSyncVersion','data','_handleInitialConnectionData','realtimecollaborationclient','toJSON','state','_pendingAction','collaboration-missing-channelid','_bufferedOperations','_channelId','disconnect','realtimecollaborationclient-init-document-already-initialized','_fetchMissingUsers','_service','newRange','_addKnownRoot','pluginName','isDocumentOperation','insert','_connectService','disconnected','getRoot','unregister','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.','_hasSynchronizationProblem','type','push','decompress','change:_isPendingUpdate','roots','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','destroy','affectsData','catch','_sendBufferedOperationsDelayId','removeFromReconnectionStack','move','high','_offset','string','realtimecollaborationclient-init-session-connection-error','loadRoot','reset','_currentBufferDelay','offset','targetPosition','_operationIdentifier','_operationToId','sessionId','_setUpDataInit','define','128Skbgms','applyOperation','409','remove','fromJSON','rootName','isReadOnly','marker','reconnection:\x20flushed\x20session','currentDocumentSession','differ','error','cloud-services-internal-error:\x20Request\x20timeout.','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','399595GAzzqJ','_handleReconnectionResponse','get','has','change:_isEditingAllowed','baseVersion','$root','realtimecollaborationclient-init-connection-failed','includes','size','initData','code','createPositionAt','path','_shouldSendUpdate','config','Synchronization\x20issue','_connectAfterSessionHasBeenFlushed','change:hasDomSelection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getOperations','cloud-services-internal-error:\x20Not\x20connected.','_handleReconnectionError','_disconnectService','_lastServerVersion','_initThrowingOnDataSet','wasUndone','position','realtimecollaborationclient-init-service-incorrect-server-operation','isUndoneOperation','collaboration','_getOperationsFromInitData','_lastSyncedOperationId','_shouldSendSelectionUpdate','operationsReceived','bind','realtimecollaborationclient-init-non-existent-root','startsWith','getIdOfTheLastOperation','_document','length','plugins','stop','collaboration.channelId','cloudServices.bundleVersion','finally','createPositionFromPath','RealTimeCollaborationClient','locale','_initSessionsHandling','reconnect','realtimecollaborationclient-handleserverresponse','end','_bufferRootLoad','_isPendingUpdate','parse','PENDING_ACTION_SENDING_DATA','_waitUntilSynced','51069CmwrUm','_disconnectionOperations','forEach','_isDisconnection','_sendBufferedOperationsDelayed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rootsAttributes','CollaborativeEditingService','suppressErrorInCollaboration','addRoot','addToReconnectionStack','getUser','_applyOperationsSet','_loadRoot','register','lastDocumentSession','rtc-offline','stopListening','createUserMarkerOperations','metadata','wereChangesApplied','getMany','addOperation','createRange','_handleReceivedOperations','_sendBufferedOperations','lastOperationId','createdAt','from','_knownRootNames','getOperationAuthor','isOfficialPlugin','document','batch','view','slice','enqueueChange','_setPendingAction','markers','3128830zlxFjB','version','connection','_handleSendingSelectionMarkers','editor','realtimecollaborationclient-init-service-internal-error','requires','multi-root-editor-root-attributes-no-root','clone','add','Notification','createRoot','off','_baseBufferDelay','__className','connected','lastOperationAcceptedAt','mySessionId','history','CommentsOnly','realtimecollaborationclient-sendbufferedoperations','listenTo','sessionCreatedAt','_decompressOperations','permissions','addRootAttribute','compress','_isConnected','_isInit','_isAttached','_ignoredOperations','_crash','Permissions','isPremiumPlugin','380445EUhlPA','entries','rtc-destroyed','_compressOperations','document:write','_clearPendingAction','keys','_saveOperationInBuffer','model'];_0x12e7=function(){return _0x491f43;};return _0x12e7();}(function(_0x3c6117,_0x4315ec){const _0xaf0fe6=_0x3c16,_0x47271f=_0x3c6117();while(!![]){try{const _0x355071=parseInt(_0xaf0fe6(0x1cd))/0x1+parseInt(_0xaf0fe6(0x173))/0x2+-parseInt(_0xaf0fe6(0x14c))/0x3+-parseInt(_0xaf0fe6(0x1a6))/0x4+-parseInt(_0xaf0fe6(0x195))/0x5*(parseInt(_0xaf0fe6(0x19f))/0x6)+-parseInt(_0xaf0fe6(0x112))/0x7*(parseInt(_0xaf0fe6(0x104))/0x8)+parseInt(_0xaf0fe6(0x1a8))/0x9;if(_0x355071===_0x4315ec)break;else _0x47271f['push'](_0x47271f['shift']());}catch(_0x5e0ac8){_0x47271f['push'](_0x47271f['shift']());}}}(_0x12e7,0xcad56));import{Plugin as _0x13ef12,PendingActions as _0x2d473c}from'ckeditor5/src/core.js';import{CKEditorError as _0x331335,version as _0x1b339d,uid as _0x2ba35f}from'ckeditor5/src/utils.js';import{Notification as _0x9f83e7}from'ckeditor5/src/ui.js';import{transformSets as _0x15a5bb,NoOperation as _0x5e6053,InsertOperation as _0x2c546f,MarkerOperation as _0x1b9c89,RootAttributeOperation as _0x55c1dc,OperationFactory as _0x2bcc01,History as _0x41544d}from'ckeditor5/src/engine.js';import _0x5cd668 from'./websocketgateway.js';import _0x4ca325 from'./sessions.js';import _0x167dbc from'./usermarkers.js';import{getTranslation as _0x436338}from'../common-translations.js';import{Compressor as _0x4d71b4}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4468e8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2d6bd1,CollaborativeEditingService as _0x11f2aa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x13ef12{static [_0x584ec7(0x153)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x11f2aa)());[_0x584ec7(0x1fc)];[_0x584ec7(0x206)];[_0x584ec7(0x1d2)];[_0x584ec7(0x1df)];[_0x584ec7(0x1e3)];[_0x584ec7(0x139)];[_0x584ec7(0x1bc)];[_0x584ec7(0x1de)];[_0x584ec7(0x1b0)];[_0x584ec7(0x169)];[_0x584ec7(0x1dc)];[_0x584ec7(0x1b1)];[_0x584ec7(0x1f8)];[_0x584ec7(0x180)];[_0x584ec7(0x201)];[_0x584ec7(0x132)];[_0x584ec7(0x14d)];[_0x584ec7(0x204)];static get[_0x584ec7(0x179)](){return[_0x5cd668,_0x4ca325,_0x167dbc,_0x2d473c,_0x4468e8,_0x9f83e7];}static get[_0x584ec7(0x1e6)](){const _0x965247=_0x584ec7;return _0x965247(0x141);}static get[_0x584ec7(0x16b)](){return!0x0;}static get[_0x584ec7(0x194)](){return!0x0;}get[_0x584ec7(0x1ab)](){const _0x300961=_0x584ec7;return this[_0x300961(0x12a)]+this[_0x300961(0x1fc)];}get[_0x584ec7(0x12a)](){const _0x3408fc=_0x584ec7;return this[_0x3408fc(0x1d2)][_0x3408fc(0x174)]-this[_0x3408fc(0x1fc)];}get[_0x584ec7(0x1d6)](){const _0x5b9d8d=_0x584ec7,_0x21abd7=this[_0x5b9d8d(0x1d2)][_0x5b9d8d(0x126)]();for(let _0x2d8c22=_0x21abd7[_0x5b9d8d(0x13a)]-0x1;_0x2d8c22>=0x0;_0x2d8c22--){const _0x27757e=_0x21abd7[_0x2d8c22];if(!this[_0x5b9d8d(0x14d)][_0x5b9d8d(0x115)](_0x27757e))return _0x27757e[_0x5b9d8d(0x117)]+0x1-this[_0x5b9d8d(0x1fc)];}return 0x0;}constructor(_0x273067){const _0x57eb18=_0x584ec7;if(super(_0x273067),this[_0x57eb18(0x1fc)]=0x0,this[_0x57eb18(0x206)]=null,this[_0x57eb18(0x1d2)]=new _0x41544d(),this[_0x57eb18(0x177)][_0x57eb18(0x121)][_0x57eb18(0x208)](_0x57eb18(0x130),{}),this[_0x57eb18(0x1df)]=this[_0x57eb18(0x177)][_0x57eb18(0x121)][_0x57eb18(0x114)](_0x57eb18(0x13d)),!this[_0x57eb18(0x1df)])throw new _0x331335(_0x57eb18(0x1dd),this);const _0x522fda=_0x273067[_0x57eb18(0x121)][_0x57eb18(0x114)](_0x57eb18(0x13e))||_0x1b339d;this[_0x57eb18(0x1e3)]=new l[(_0x57eb18(0x153))](_0x522fda,this[_0x57eb18(0x1df)]),this[_0x57eb18(0x139)]=this[_0x57eb18(0x177)][_0x57eb18(0x19d)][_0x57eb18(0x16c)],this[_0x57eb18(0x1bc)]=new _0x4d71b4(),this[_0x57eb18(0x1de)]=[],this[_0x57eb18(0x1b0)]=new WeakSet(),this[_0x57eb18(0x169)]=new Set(),this[_0x57eb18(0x1d1)](_0x57eb18(0x148),!0x1),this[_0x57eb18(0x1d1)](_0x57eb18(0x1ee),!0x1),this[_0x57eb18(0x1dc)]=null,this[_0x57eb18(0x1b1)]=!0x1,this[_0x57eb18(0x1f8)]=null,this[_0x57eb18(0x180)]=0x12c,this[_0x57eb18(0x201)]=this[_0x57eb18(0x180)],this[_0x57eb18(0x132)]=null,this[_0x57eb18(0x14d)]=new WeakSet(),this[_0x57eb18(0x204)]=new Y(this[_0x57eb18(0x14d)]);}[_0x584ec7(0x1a5)](){const _0x44051a=_0x584ec7,_0x3aee55=this[_0x44051a(0x177)],_0x34d66a=_0x3aee55[_0x44051a(0x13b)][_0x44051a(0x114)](_0x4468e8),_0x58cc80=_0x3aee55[_0x44051a(0x13b)][_0x44051a(0x114)](_0x5cd668);this[_0x44051a(0x188)](_0x34d66a,_0x44051a(0x16a),(_0x490497,_0xa02c3e)=>{const _0x4b8fbd=_0x44051a,_0xa93afb=_0xa02c3e[0x0];_0xa93afb[_0x4b8fbd(0x1a1)]&&(_0x490497[_0x4b8fbd(0x1ac)]=_0x34d66a[_0x4b8fbd(0x157)](_0xa93afb[_0x4b8fbd(0x1a1)]),_0x490497[_0x4b8fbd(0x13c)]()),null===_0xa93afb[_0x4b8fbd(0x1a1)]&&(_0x490497[_0x4b8fbd(0x1ac)]=null,_0x490497[_0x4b8fbd(0x13c)]());},{'priority':_0x44051a(0x1fb)}),this[_0x44051a(0x188)](_0x3aee55[_0x44051a(0x19d)][_0x44051a(0x16c)][_0x44051a(0x1b7)],_0x44051a(0x1d5),(_0x6387b5,_0x31e9c9)=>{const _0x4c19e6=_0x44051a;_0x31e9c9[_0x4c19e6(0x1c0)]&&this[_0x4c19e6(0x1bd)]();}),this[_0x44051a(0x188)](_0x3aee55[_0x44051a(0x1c6)][_0x44051a(0x16e)],_0x44051a(0x124),()=>{const _0x334cb5=_0x44051a;this[_0x334cb5(0x1bd)]();}),this[_0x44051a(0x12b)](),_0x3aee55[_0x44051a(0x19d)]['on'](_0x44051a(0x105),(_0x4d3d52,_0x3d01c6)=>{const _0x2b6465=_0x44051a,_0x4807d1=_0x3d01c6[0x0];_0x4807d1[_0x2b6465(0x1e7)]&&(this[_0x2b6465(0x19c)](_0x4807d1),this[_0x2b6465(0x120)]()&&this[_0x2b6465(0x150)]());}),this[_0x44051a(0x207)](),this[_0x44051a(0x135)](_0x44051a(0x1a2))['to'](_0x58cc80,_0x44051a(0x1db),this,_0x44051a(0x1ee),(_0x371183,_0x559eff)=>_0x44051a(0x182)===_0x371183&&!_0x559eff),this['on'](_0x44051a(0x116),()=>{const _0x4e2ba5=_0x44051a;this[_0x4e2ba5(0x1a2)]?_0x3aee55[_0x4e2ba5(0x1ce)](_0x4e2ba5(0x15c)):_0x3aee55[_0x4e2ba5(0x1b5)](_0x4e2ba5(0x15c));}),this[_0x44051a(0x1a2)]?_0x3aee55[_0x44051a(0x1ce)](_0x44051a(0x15c)):_0x3aee55[_0x44051a(0x1b5)](_0x44051a(0x15c)),this[_0x44051a(0x1d1)](_0x44051a(0x18e),!0x1);}async[_0x584ec7(0x144)](){const _0x4aeb9a=_0x584ec7,_0x162d23=this[_0x4aeb9a(0x177)][_0x4aeb9a(0x13b)][_0x4aeb9a(0x114)](_0x4ca325),_0x31bc13=this[_0x4aeb9a(0x177)][_0x4aeb9a(0x13b)][_0x4aeb9a(0x114)](_0x5cd668);try{this[_0x4aeb9a(0x148)]=!0x0,_0x162d23[_0x4aeb9a(0x1ec)](this[_0x4aeb9a(0x1df)]);const _0x562d52=await this[_0x4aeb9a(0x1e3)][_0x4aeb9a(0x144)](_0x31bc13[_0x4aeb9a(0x175)],this[_0x4aeb9a(0x1d6)]);await this[_0x4aeb9a(0x113)](_0x562d52)&&(this[_0x4aeb9a(0x148)]=!0x1,this[_0x4aeb9a(0x19a)]());const _0x197710=await this[_0x4aeb9a(0x1e3)][_0x4aeb9a(0x1cc)]();_0x162d23[_0x4aeb9a(0x15a)](this[_0x4aeb9a(0x1df)],_0x197710),this[_0x4aeb9a(0x176)](),this[_0x4aeb9a(0x18e)]=!0x0;}catch(_0x4be1fb){if(function(_0x39a7a5){const _0x14bc55=_0x4aeb9a;return _0x14bc55(0x1c7)===_0x39a7a5[_0x14bc55(0x11d)];}(_0x4be1fb)&&this[_0x4aeb9a(0x206)])await this[_0x4aeb9a(0x123)]();else{if(function(_0x47580b){const _0x49f763=_0x4aeb9a;return _0x49f763(0x106)===_0x47580b[_0x49f763(0x11d)];}(_0x4be1fb)){const _0x28c1f6=_0x436338(this[_0x4aeb9a(0x177)][_0x4aeb9a(0x142)],_0x4aeb9a(0x1cb));this[_0x4aeb9a(0x128)](_0x28c1f6);}else{if(!(_0x4be1fb instanceof Q))throw _0x4be1fb;this[_0x4aeb9a(0x128)]();}}}}[_0x584ec7(0x1f5)](){const _0x2ff409=_0x584ec7,_0x33534e=this[_0x2ff409(0x177)][_0x2ff409(0x13b)][_0x2ff409(0x114)](_0x5cd668),_0x320e42=this[_0x2ff409(0x177)][_0x2ff409(0x13b)][_0x2ff409(0x114)](_0x4ca325);this[_0x2ff409(0x177)][_0x2ff409(0x1b5)](_0x2ff409(0x197)),_0x320e42[_0x2ff409(0x1a0)][_0x2ff409(0x115)](this[_0x2ff409(0x1df)])&&_0x320e42[_0x2ff409(0x1ec)](this[_0x2ff409(0x1df)]),_0x33534e[_0x2ff409(0x1f9)](this),this[_0x2ff409(0x129)](),super[_0x2ff409(0x1f5)]();}async[_0x584ec7(0x113)](_0x2a1fce){const _0x42d2bc=_0x584ec7;if(this[_0x42d2bc(0x206)]!==_0x2a1fce[_0x42d2bc(0x206)]&&this[_0x42d2bc(0x132)]!==_0x2a1fce[_0x42d2bc(0x166)])throw new Q();return this[_0x42d2bc(0x206)]=_0x2a1fce[_0x42d2bc(0x206)],this[_0x42d2bc(0x1a3)]([],{..._0x2a1fce,'wereChangesApplied':!0x1,'data':_0x2a1fce[_0x42d2bc(0x1d7)]},_0x42d2bc(0x144));}async[_0x584ec7(0x1e9)](_0x49eac9,_0x416c4c=!0x1){const _0x309c3f=_0x584ec7,{connection:_0x4fc453}=this[_0x309c3f(0x177)][_0x309c3f(0x13b)][_0x309c3f(0x114)](_0x5cd668);l[_0x309c3f(0x153)][_0x309c3f(0x1cc)](_0x4fc453,this[_0x309c3f(0x1df)])[_0x309c3f(0x1ad)](_0x4689e3=>this[_0x309c3f(0x143)](_0x4689e3))[_0x309c3f(0x1f7)](_0x58c1f3=>{const _0x23e42b=_0x309c3f;this[_0x23e42b(0x192)](_0x23e42b(0x1fe),_0x58c1f3);}),this[_0x309c3f(0x188)](this[_0x309c3f(0x1e3)],_0x309c3f(0x134),this[_0x309c3f(0x164)][_0x309c3f(0x135)](this)),this[_0x309c3f(0x188)](this[_0x309c3f(0x1e3)],_0x309c3f(0x10f),(_0xf4626f,_0x59af3c)=>{const _0x1efc63=_0x309c3f;this[_0x1efc63(0x192)](_0x1efc63(0x178),_0x59af3c);}),this[_0x309c3f(0x188)](this[_0x309c3f(0x1e3)],_0x309c3f(0x1ea),()=>{const _0x1c18e1=_0x309c3f;this[_0x1c18e1(0x18e)]=!0x1;});const _0x2af3fa=this[_0x309c3f(0x204)][_0x309c3f(0x138)](_0x49eac9);this[_0x309c3f(0x148)]=!0x0;const _0x537888=await this[_0x309c3f(0x1e3)][_0x309c3f(0x1cf)](_0x4fc453,this[_0x309c3f(0x198)](_0x49eac9),_0x2af3fa);if(this[_0x309c3f(0x206)]=_0x537888[_0x309c3f(0x206)],_0x416c4c){if(!_0x537888[_0x309c3f(0x160)])return void this[_0x309c3f(0x128)]();this[_0x309c3f(0x148)]=!0x1,this[_0x309c3f(0x19a)](),this[_0x309c3f(0x1d2)][_0x309c3f(0x200)](),this[_0x309c3f(0x1fc)]=_0x537888[_0x309c3f(0x202)],this[_0x309c3f(0x1d2)][_0x309c3f(0x174)]=this[_0x309c3f(0x1fc)],await this[_0x309c3f(0x1a3)](_0x49eac9,_0x537888,_0x309c3f(0x10c));}else await this[_0x309c3f(0x1d8)](_0x537888,_0x49eac9);this[_0x309c3f(0x176)](),this[_0x309c3f(0x18e)]=!0x0;}[_0x584ec7(0x176)](){const _0x1018b9=_0x584ec7,_0x5d3ccc=this[_0x1018b9(0x177)][_0x1018b9(0x13b)][_0x1018b9(0x114)](_0x4ca325),_0x4eb957=this[_0x1018b9(0x177)][_0x1018b9(0x13b)][_0x1018b9(0x114)](_0x167dbc),_0x5dd872=_0x5d3ccc[_0x1018b9(0x1a0)][_0x1018b9(0x114)](this[_0x1018b9(0x1df)]);_0x5dd872&&_0x5dd872[_0x1018b9(0x13a)]>0x1?_0x4eb957[_0x1018b9(0x15e)]():this[_0x1018b9(0x188)](_0x5d3ccc,_0x1018b9(0x1be)+this[_0x1018b9(0x1df)],()=>{const _0xa4313b=_0x1018b9;0x2===_0x5d3ccc[_0xa4313b(0x1a0)][_0xa4313b(0x114)](this[_0xa4313b(0x1df)])[_0xa4313b(0x13a)]&&_0x4eb957[_0xa4313b(0x15e)]();});}async[_0x584ec7(0x164)](_0x1eab71,_0xb98ad4,_0x4f60d2,_0x358b49){const _0x581e11=_0x584ec7;if(!this[_0x581e11(0x148)]&&this[_0x581e11(0x139)][_0x581e11(0x174)]==_0xb98ad4){const _0x32ed1c=this[_0x581e11(0x18a)](_0x4f60d2,_0x358b49);await this[_0x581e11(0x1e2)](_0x32ed1c),this[_0x581e11(0x1ba)](_0x32ed1c,_0xb98ad4,_0x4f60d2[_0x581e11(0x166)])||this[_0x581e11(0x192)](_0x581e11(0x12e));}}async[_0x584ec7(0x123)](){const _0x318306=_0x584ec7;this[_0x318306(0x129)]();const {locale:_0x1848d5}=this[_0x318306(0x177)];let _0x205383;try{_0x205383=await this[_0x318306(0x1e3)][_0x318306(0x1c4)]();}catch(_0xea858b){const _0x5b2ff2=_0x436338(_0x1848d5,_0x318306(0x151));return void this[_0x318306(0x128)](_0x5b2ff2);}const _0x291412=_0x205383[_0x318306(0x10d)]||_0x205383[_0x318306(0x15b)];if(this[_0x318306(0x132)]===_0x291412[_0x318306(0x166)])await this[_0x318306(0x1e9)](this[_0x318306(0x177)][_0x318306(0x19d)][_0x318306(0x16c)][_0x318306(0x185)][_0x318306(0x126)](),!0x0);else{const _0x542297=_0x436338(_0x1848d5,_0x318306(0x111));this[_0x318306(0x128)](_0x542297);}}[_0x584ec7(0x129)](){const _0x5aa858=_0x584ec7;this[_0x5aa858(0x1e3)][_0x5aa858(0x1e0)](),this[_0x5aa858(0x1de)]=[],clearTimeout(this[_0x5aa858(0x1f8)]),this[_0x5aa858(0x15d)](this[_0x5aa858(0x1e3)]);}[_0x584ec7(0x143)](_0x5ed75c){const _0x5dbfeb=_0x584ec7,_0x3ee88f=this[_0x5dbfeb(0x177)][_0x5dbfeb(0x13b)][_0x5dbfeb(0x114)](_0x4ca325);this[_0x5dbfeb(0x188)](_0x3ee88f,_0x5dbfeb(0x1be)+this[_0x5dbfeb(0x1df)],(_0x2253a6,{session:_0xf6d3f9})=>{const _0x216cba=_0x5dbfeb;if(_0xf6d3f9['id']===_0x3ee88f[_0x216cba(0x184)]){_0x2253a6[_0x216cba(0x17f)]();const _0x42c1ab=this[_0x216cba(0x177)][_0x216cba(0x13b)][_0x216cba(0x115)](_0x216cba(0x186))&&this[_0x216cba(0x177)][_0x216cba(0x13b)][_0x216cba(0x114)](_0x216cba(0x186));let _0x3fb3fb=_0xf6d3f9[_0x216cba(0x18b)];_0x42c1ab&&_0x42c1ab[_0x216cba(0x1a4)]&&(_0x3fb3fb=_0x3fb3fb[_0x216cba(0x1bb)](_0x279aa5=>_0x216cba(0x199)!==_0x279aa5)),this[_0x216cba(0x177)][_0x216cba(0x13b)][_0x216cba(0x114)](_0x216cba(0x193))[_0x216cba(0x1d3)](_0x3fb3fb,this[_0x216cba(0x1df)]);}}),_0x3ee88f[_0x5dbfeb(0x15a)](this[_0x5dbfeb(0x1df)],_0x5ed75c);}[_0x584ec7(0x12b)](){const _0xaa27f8=_0x584ec7,_0xa3ff5f=this[_0xaa27f8(0x177)][_0xaa27f8(0x1d7)][_0xaa27f8(0x1d1)];this[_0xaa27f8(0x177)][_0xaa27f8(0x1d7)][_0xaa27f8(0x1d1)]=(..._0x26aeaa)=>{const _0x3a724b=_0xaa27f8;if(!_0x26aeaa[_0x26aeaa[_0x3a724b(0x13a)]-0x1][_0x3a724b(0x154)])throw new _0x331335(_0x3a724b(0x125),this);_0xa3ff5f[_0x3a724b(0x1bf)](this[_0x3a724b(0x177)][_0x3a724b(0x1d7)],_0x26aeaa);};}[_0x584ec7(0x207)](){const _0xcc8ae0=_0x584ec7;this[_0xcc8ae0(0x177)][_0xcc8ae0(0x1d7)]['on'](_0xcc8ae0(0x1a5),(_0x4c0c38,[_0x4ef72e])=>{const _0x4bf0e2=_0xcc8ae0;if(this[_0x4bf0e2(0x139)][_0x4bf0e2(0x174)])throw new _0x331335(_0x4bf0e2(0x1e1),this);_0x4c0c38[_0x4bf0e2(0x13c)](),this[_0x4bf0e2(0x171)]();const _0x4a0e8d=this[_0x4bf0e2(0x177)][_0x4bf0e2(0x121)][_0x4bf0e2(0x114)](_0x4bf0e2(0x152)),_0x15d7c4=this[_0x4bf0e2(0x131)](_0x4ef72e,_0x4a0e8d);0x0==_0x15d7c4[_0x4bf0e2(0x13a)]&&_0x15d7c4[_0x4bf0e2(0x1f0)](new _0x5e6053(0x0)),_0x4c0c38[_0x4bf0e2(0x1ac)]=this[_0x4bf0e2(0x1e9)](_0x15d7c4)[_0x4bf0e2(0x1ad)](()=>{const _0x2f7ce2=_0x4bf0e2;this[_0x2f7ce2(0x177)][_0x2f7ce2(0x13b)][_0x2f7ce2(0x114)](_0x5cd668)[_0x2f7ce2(0x156)](this),this[_0x2f7ce2(0x177)][_0x2f7ce2(0x1d7)][_0x2f7ce2(0x1ca)](_0x2f7ce2(0x1c3));})[_0x4bf0e2(0x1f7)](_0x42664c=>this[_0x4bf0e2(0x192)](_0x4bf0e2(0x119),_0x42664c))[_0x4bf0e2(0x13f)](()=>this[_0x4bf0e2(0x19a)]());},{'priority':_0xcc8ae0(0x1fb)}),this[_0xcc8ae0(0x177)]['on'](_0xcc8ae0(0x1ff),async(_0x5c3189,[_0x1ed078,_0x27152c])=>{const _0x16f0f2=_0xcc8ae0;_0x5c3189[_0x16f0f2(0x13c)]();const _0x504d56=this[_0x16f0f2(0x177)][_0x16f0f2(0x19d)][_0x16f0f2(0x16c)][_0x16f0f2(0x1eb)](_0x1ed078);if(!this[_0x16f0f2(0x169)][_0x16f0f2(0x115)](_0x1ed078)){const _0x5e91c7=_0x27152c&&_0x27152c[_0x16f0f2(0x1d7)]?_0x27152c[_0x16f0f2(0x1d7)]:'',_0x58b86d=_0x27152c&&_0x27152c[_0x16f0f2(0x1ae)]?_0x27152c[_0x16f0f2(0x1ae)]:{};await this[_0x16f0f2(0x159)](_0x1ed078,_0x5e91c7,_0x58b86d);}this[_0x16f0f2(0x177)][_0x16f0f2(0x19d)][_0x16f0f2(0x170)]({'isUndoable':!0x1},()=>{const _0x464336=_0x16f0f2;_0x504d56[_0x464336(0x1b6)]=!0x0,this[_0x464336(0x177)][_0x464336(0x19d)][_0x464336(0x16c)][_0x464336(0x10e)][_0x464336(0x147)](_0x504d56);});},{'priority':_0xcc8ae0(0x1fb)});}async[_0x584ec7(0x1e2)](_0x2241f1){const _0x253e9b=_0x584ec7,_0x259ef5=this[_0x253e9b(0x177)][_0x253e9b(0x13b)][_0x253e9b(0x114)](_0x4468e8),{connection:_0xccfe56}=this[_0x253e9b(0x177)][_0x253e9b(0x13b)][_0x253e9b(0x114)](_0x5cd668),_0x2d022b=new Set();for(const _0xa299cd of _0x2241f1){const _0x11633b=_0xa299cd[_0x253e9b(0x1a1)];_0x11633b&&!_0x259ef5[_0x253e9b(0x157)](_0x11633b)&&_0x2d022b[_0x253e9b(0x17c)](_0x11633b);}if(0x0===_0x2d022b[_0x253e9b(0x11b)])return;const _0x39b88a=await _0x2d6bd1[_0x253e9b(0x161)](_0xccfe56,Array[_0x253e9b(0x168)](_0x2d022b));for(const _0x5739e6 of _0x39b88a)_0x259ef5[_0x253e9b(0x157)](_0x5739e6['id'])||_0x259ef5[_0x253e9b(0x1c8)](_0x5739e6);}[_0x584ec7(0x131)](_0x519392,_0x2d86eb={}){const _0x259365=_0x584ec7,_0x271994=this[_0x259365(0x177)][_0x259365(0x19d)],_0x56d7f5=[];let _0x22934b=0x0;const _0x4b37bc=_0x259365(0x1fd)==typeof _0x519392?{'main':_0x519392}:_0x519392;for(const _0x295d6f of Object[_0x259365(0x19b)](_0x4b37bc)){if(!this[_0x259365(0x139)][_0x259365(0x1f3)][_0x259365(0x115)](_0x295d6f))throw new _0x331335(_0x259365(0x136),this);const _0x536297=this[_0x259365(0x177)][_0x259365(0x1d7)][_0x259365(0x149)](_0x4b37bc[_0x295d6f]),_0x18ddce=this[_0x259365(0x139)][_0x259365(0x1eb)](_0x295d6f),_0xe7e7ee=new _0x2c546f(_0x271994[_0x259365(0x11e)](_0x18ddce,0x0),_0x536297,_0x22934b++);_0x56d7f5[_0x259365(0x1f0)](_0xe7e7ee);for(const [_0xc0d638,_0x33dda2]of _0x536297[_0x259365(0x172)]){const _0x31aff6=_0x271994[_0x259365(0x163)](_0x271994[_0x259365(0x140)](_0x18ddce,_0x33dda2[_0x259365(0x1af)][_0x259365(0x11f)][_0x259365(0x16f)]()),_0x271994[_0x259365(0x140)](_0x18ddce,_0x33dda2[_0x259365(0x146)][_0x259365(0x11f)][_0x259365(0x16f)]())),_0x34b27c=new _0x1b9c89(_0xc0d638,null,_0x31aff6,_0x271994[_0x259365(0x172)],!0x0,_0x22934b++);_0x56d7f5[_0x259365(0x1f0)](_0x34b27c);}}if(_0x2d86eb)for(const [_0x50a997,_0x110b90]of Object[_0x259365(0x196)](_0x2d86eb)){const _0x335192=_0x271994[_0x259365(0x16c)][_0x259365(0x1eb)](_0x50a997);if(!_0x335192)throw new _0x331335(_0x259365(0x17a),null);for(const [_0x5b0d03,_0x15c0fe]of Object[_0x259365(0x196)](_0x110b90))if(null!==_0x15c0fe){const _0x292398=new _0x55c1dc(_0x335192,_0x5b0d03,null,_0x15c0fe,_0x22934b++);_0x56d7f5[_0x259365(0x1f0)](_0x292398);}}return _0x56d7f5;}async[_0x584ec7(0x159)](_0x43081e,_0x5a0f12,_0x442962){const _0x4b98d7=_0x584ec7;this[_0x4b98d7(0x131)]({[_0x43081e]:_0x5a0f12},{[_0x43081e]:_0x442962})[_0x4b98d7(0x14e)]((_0x586253,_0xa40508)=>{const _0x5b7098=_0x4b98d7;_0x586253[_0x5b7098(0x117)]=this[_0x5b7098(0x139)][_0x5b7098(0x174)]+_0xa40508,_0x586253[_0x5b7098(0x18f)]=!0x0,this[_0x5b7098(0x19c)](_0x586253);}),this[_0x4b98d7(0x150)](),await this[_0x4b98d7(0x14b)]();}async[_0x584ec7(0x1d8)](_0x365e80,_0x21ef36){const _0x4fa954=_0x584ec7;let _0x30d37d;this[_0x4fa954(0x1fc)]=_0x365e80[_0x4fa954(0x202)];const _0x291254=_0x365e80[_0x4fa954(0x160)]&&!_0x365e80[_0x4fa954(0x11c)],_0x3662bd=_0x291254?0x0:_0x365e80[_0x4fa954(0x1d7)][_0x4fa954(0x117)];if(_0x21ef36[_0x4fa954(0x14e)](_0xc50c34=>{const _0x26ac5c=_0x4fa954;_0xc50c34[_0x26ac5c(0x18f)]=!0x0,_0xc50c34[_0x26ac5c(0x167)]=_0x365e80[_0x26ac5c(0x189)],_0xc50c34[_0x26ac5c(0x1a1)]=null;}),_0x291254)_0x30d37d=_0x21ef36,this[_0x4fa954(0x158)](_0x30d37d,_0x291254);else{if(_0x365e80[_0x4fa954(0x11c)]){const _0x46750a=this[_0x4fa954(0x131)](_0x365e80[_0x4fa954(0x11c)]);this[_0x4fa954(0x139)][_0x4fa954(0x185)][_0x4fa954(0x174)]=-_0x46750a[_0x4fa954(0x13a)],_0x46750a[_0x4fa954(0x14e)](_0x19d52c=>{const _0x3a75e0=_0x4fa954;_0x19d52c[_0x3a75e0(0x117)]-=_0x46750a[_0x3a75e0(0x13a)],_0x19d52c[_0x3a75e0(0x167)]=_0x365e80[_0x3a75e0(0x189)],_0x19d52c[_0x3a75e0(0x18f)]=!0x0,_0x19d52c[_0x3a75e0(0x1a1)]=null;}),this[_0x4fa954(0x158)](_0x46750a,!0x0),this[_0x4fa954(0x1d2)][_0x4fa954(0x174)]=-_0x46750a[_0x4fa954(0x13a)]+this[_0x4fa954(0x1fc)],this[_0x4fa954(0x1a9)](_0x46750a);}this[_0x4fa954(0x139)][_0x4fa954(0x185)][_0x4fa954(0x174)]=_0x3662bd,_0x30d37d=this[_0x4fa954(0x18a)](_0x365e80[_0x4fa954(0x1d7)],_0x365e80[_0x4fa954(0x15f)]),await this[_0x4fa954(0x1e2)](_0x30d37d),this[_0x4fa954(0x158)](_0x30d37d,_0x291254);}_0x365e80[_0x4fa954(0x166)]&&(this[_0x4fa954(0x204)][_0x4fa954(0x1b8)](_0x30d37d,_0x365e80[_0x4fa954(0x166)]),this[_0x4fa954(0x132)]=_0x365e80[_0x4fa954(0x166)]),this[_0x4fa954(0x1d2)][_0x4fa954(0x174)]=_0x3662bd+this[_0x4fa954(0x1fc)],this[_0x4fa954(0x1a9)](_0x30d37d),_0x21ef36[_0x4fa954(0x1bb)](_0x3af9ae=>{const _0x425f99=_0x4fa954,_0x220dab=this[_0x425f99(0x1c2)](_0x3af9ae);return _0x220dab&&!this[_0x425f99(0x169)][_0x425f99(0x115)](_0x220dab);})[_0x4fa954(0x14e)]((_0x472db5,_0x481586)=>{const _0x12c0f7=_0x4fa954;_0x472db5[_0x12c0f7(0x117)]=this[_0x12c0f7(0x139)][_0x12c0f7(0x174)]+_0x481586,this[_0x12c0f7(0x19c)](_0x472db5);}),this[_0x4fa954(0x120)]()?(this[_0x4fa954(0x201)]=0x0,this[_0x4fa954(0x150)](!0x0),await this[_0x4fa954(0x14b)]()):(this[_0x4fa954(0x148)]=!0x1,this[_0x4fa954(0x19a)]());}[_0x584ec7(0x192)](_0x55a38b,_0x4c89c2){const _0x1a2462=_0x584ec7,_0x4c5444=_0x4c89c2&&_0x4c89c2[_0x1a2462(0x1d4)];if(_0x4c5444&&_0x4c5444[_0x1a2462(0x137)](_0x1a2462(0x1d9)))throw _0x4c89c2;const _0x462cd1=this[_0x1a2462(0x177)][_0x1a2462(0x13b)][_0x1a2462(0x114)](_0x5cd668);throw this[_0x1a2462(0x148)]=!0x0,_0x462cd1[_0x1a2462(0x1e0)](),this[_0x1a2462(0x177)][_0x1a2462(0x1b5)](_0x1a2462(0x1b9)),new _0x331335(_0x55a38b,this[_0x1a2462(0x177)],_0x4c5444?{'originalError':_0x4c5444}:void 0x0);}[_0x584ec7(0x19c)](_0x12cb95){const _0x1a756b=_0x584ec7;this[_0x1a756b(0x1b0)][_0x1a756b(0x115)](_0x12cb95)||(this[_0x1a756b(0x1b0)][_0x1a756b(0x17c)](_0x12cb95),this[_0x1a756b(0x1de)][_0x1a756b(0x1f0)](_0x12cb95),this[_0x1a756b(0x1dc)]||_0x1a756b(0x10b)==_0x12cb95[_0x1a756b(0x1ef)]&&!_0x12cb95[_0x1a756b(0x1f6)]||this[_0x1a756b(0x171)]());}[_0x584ec7(0x150)](_0x19fe17=!0x1){const _0x2fc3ce=_0x584ec7;!_0x19fe17&&this[_0x2fc3ce(0x148)]||(this[_0x2fc3ce(0x148)]=!0x0,clearTimeout(this[_0x2fc3ce(0x1f8)]),this[_0x2fc3ce(0x1f8)]=setTimeout(()=>{const _0x3432c7=_0x2fc3ce;this[_0x3432c7(0x165)]()[_0x3432c7(0x1ad)](_0x58c2bc=>{const _0xee397b=_0x3432c7;_0x58c2bc&&(this[_0xee397b(0x19a)](),this[_0xee397b(0x148)]=!0x1);})[_0x3432c7(0x1f7)](_0x544089=>{const _0x43d90d=_0x3432c7;this[_0x43d90d(0x19a)](),this[_0x43d90d(0x148)]=!0x1,function(_0x41cabb){const _0x2d0102=_0x43d90d;return _0x41cabb[_0x2d0102(0x1d4)][_0x2d0102(0x137)](_0x2d0102(0x127))||_0x41cabb[_0x2d0102(0x1d4)][_0x2d0102(0x137)](_0x2d0102(0x1f4))||_0x41cabb[_0x2d0102(0x1d4)][_0x2d0102(0x137)](_0x2d0102(0x110));}(_0x544089)||this[_0x43d90d(0x192)](_0x544089[_0x43d90d(0x1d4)],_0x544089);});},this[_0x2fc3ce(0x201)]));}[_0x584ec7(0x14b)](){return new Promise(_0x40e5f8=>{const _0xd4db5b=_0x3c16;this['on'](_0xd4db5b(0x1f2),()=>{_0x40e5f8();});});}async[_0x584ec7(0x165)](){const _0x3240ba=_0x584ec7,_0x2e4b44=this[_0x3240ba(0x177)][_0x3240ba(0x13b)][_0x3240ba(0x114)](_0x167dbc);if(this[_0x3240ba(0x133)]()&&(_0x2e4b44[_0x3240ba(0x15e)](),this[_0x3240ba(0x1b1)]=!0x1),!this[_0x3240ba(0x120)]())return!0x0;const _0x306e1b=[...this[_0x3240ba(0x1de)]];for(const _0x5eb321 of _0x306e1b)_0x5eb321[_0x3240ba(0x12c)]=this[_0x3240ba(0x139)][_0x3240ba(0x185)][_0x3240ba(0x12f)](_0x5eb321);const _0x10e92b=this[_0x3240ba(0x204)][_0x3240ba(0x138)](_0x306e1b),_0x5250d3=J++,_0x527cc6=this[_0x3240ba(0x198)](_0x306e1b),_0x4ff1d9=await this[_0x3240ba(0x1e3)][_0x3240ba(0x1d0)](_0x527cc6,_0x527cc6[_0x3240ba(0x117)],_0x10e92b);try{return await this[_0x3240ba(0x1a3)](_0x306e1b,_0x4ff1d9,_0x5250d3);}catch(_0x28a298){return this[_0x3240ba(0x192)](_0x3240ba(0x187),_0x28a298);}}async[_0x584ec7(0x1a3)](_0x4db501,_0x2b9e4b,_0x4d8c79){const _0xd6f162=_0x584ec7;if(_0xd6f162(0x10f)in _0x2b9e4b)throw _0x2b9e4b[_0xd6f162(0x10f)];let _0x7179b8=!0x1;if(_0x2b9e4b[_0xd6f162(0x160)]){_0x2b9e4b[_0xd6f162(0x166)]&&(this[_0xd6f162(0x132)]=_0x2b9e4b[_0xd6f162(0x166)]),this[_0xd6f162(0x1de)]=this[_0xd6f162(0x1de)][_0xd6f162(0x1bb)](_0x398597=>!_0x4db501[_0xd6f162(0x11a)](_0x398597));for(const _0x15943a of _0x4db501)_0x15943a[_0xd6f162(0x167)]=_0xd6f162(0x183)in _0x2b9e4b&&_0x2b9e4b[_0xd6f162(0x183)]||void 0x0;X(_0x4db501,_0x2b9e4b[_0xd6f162(0x174)]-_0x4db501[_0xd6f162(0x13a)]),this[_0xd6f162(0x1a9)](_0x4db501);const _0x380941=_0x4db501[_0xd6f162(0x1bb)](_0x4c33c8=>{const _0x54ad49=_0xd6f162;if(!_0x4c33c8[_0x54ad49(0x18f)])return!0x1;const _0x3c5674=this[_0x54ad49(0x1c2)](_0x4c33c8);return _0x3c5674&&!this[_0x54ad49(0x169)][_0x54ad49(0x115)](_0x3c5674);});X(_0x380941,this[_0xd6f162(0x139)][_0xd6f162(0x174)]),this[_0xd6f162(0x158)](_0x380941),_0x7179b8=!0x0,this[_0xd6f162(0x201)]=this[_0xd6f162(0x180)];}else{const _0x48fe3f=this[_0xd6f162(0x18a)](_0x2b9e4b[_0xd6f162(0x1d7)],_0x2b9e4b[_0xd6f162(0x15f)])[_0xd6f162(0x1bb)](_0x444198=>_0x444198[_0xd6f162(0x117)]>=this[_0xd6f162(0x12a)]);_0x48fe3f[_0xd6f162(0x14e)](_0x1e18c3=>this[_0xd6f162(0x1e5)](_0x1e18c3)),this[_0xd6f162(0x1de)]=this[_0xd6f162(0x1de)][_0xd6f162(0x1bb)](_0x5ca8b0=>!_0x5ca8b0[_0xd6f162(0x18f)]||!this[_0xd6f162(0x169)][_0xd6f162(0x115)](this[_0xd6f162(0x1c2)](_0x5ca8b0))),this[_0xd6f162(0x1de)][_0xd6f162(0x13a)]&&X(this[_0xd6f162(0x1de)],this[_0xd6f162(0x1de)][0x0][_0xd6f162(0x117)]),await this[_0xd6f162(0x1e2)](_0x48fe3f),_0x7179b8=this[_0xd6f162(0x1ba)](_0x48fe3f,_0x2b9e4b[_0xd6f162(0x174)],_0x2b9e4b[_0xd6f162(0x166)]),this[_0xd6f162(0x201)]=Math[_0xd6f162(0x19e)](this[_0xd6f162(0x201)]/0x2);}return _0x7179b8?!this[_0xd6f162(0x120)]()||(this[_0xd6f162(0x150)](!0x0),!0x1):this[_0xd6f162(0x192)](_0xd6f162(0x145));}[_0x584ec7(0x1ba)](_0x3f1a78,_0x14e2e3,_0x3b3d5e){const _0x41063d=_0x584ec7;try{const _0x54fcff={'document':this[_0x41063d(0x139)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c1318,operationsB:_0x354137,originalOperations:_0x24d5f2}=_0x15a5bb(_0x3f1a78,this[_0x41063d(0x1de)],_0x54fcff);X(_0x1c1318,this[_0x41063d(0x139)][_0x41063d(0x174)]),X(_0x354137,_0x14e2e3);for(const _0x5f3809 of _0x1c1318){const _0x41493a=_0x24d5f2[_0x41063d(0x114)](_0x5f3809);_0x5f3809[_0x41063d(0x1a1)]=_0x41493a?_0x41493a[_0x41063d(0x1a1)]:null;}_0x3b3d5e&&(this[_0x41063d(0x204)][_0x41063d(0x1b8)](_0x3f1a78,_0x3b3d5e),this[_0x41063d(0x132)]=_0x3b3d5e),this[_0x41063d(0x1de)]=[..._0x354137],this[_0x41063d(0x158)](_0x1c1318),this[_0x41063d(0x1a9)](_0x3f1a78);}catch(_0x594a96){return console[_0x41063d(0x10f)](_0x594a96),!0x1;}return!0x0;}[_0x584ec7(0x158)](_0x5ea284,_0x530761=!0x1){const _0x2b9084=_0x584ec7;this[_0x2b9084(0x177)][_0x2b9084(0x19d)][_0x2b9084(0x170)]({'isUndoable':!0x1,'isLocal':!0x1},_0x348c14=>{const _0x34611b=_0x2b9084;for(const _0xc6321 of _0x5ea284)this[_0x34611b(0x1b0)][_0x34611b(0x17c)](_0xc6321),this[_0x34611b(0x1e5)](_0xc6321),_0x348c14[_0x34611b(0x16d)][_0x34611b(0x162)](_0xc6321),this[_0x34611b(0x177)][_0x34611b(0x19d)][_0x34611b(0x105)](_0xc6321);});}[_0x584ec7(0x1e5)](_0x2c46f7){const _0x4e5ea9=_0x584ec7,_0x5106f7=this[_0x4e5ea9(0x1c2)](_0x2c46f7);_0x5106f7&&this[_0x4e5ea9(0x169)][_0x4e5ea9(0x17c)](_0x5106f7);}[_0x584ec7(0x1c2)](_0x4e7d5c){const _0x14ccbf=_0x584ec7;let _0xb1b036,_0x175a02;switch(_0x4e7d5c[_0x14ccbf(0x1ef)]){case _0x14ccbf(0x1e8):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x12d)][_0x14ccbf(0x1aa)];break;case _0x14ccbf(0x10b):if(_0x175a02=_0x4e7d5c[_0x14ccbf(0x1e4)],!_0x175a02)return null;_0xb1b036=_0x175a02[_0x14ccbf(0x1aa)];break;case _0x14ccbf(0x18c):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x1aa)];break;case _0x14ccbf(0x155):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x1a7)];break;case _0x14ccbf(0x1fa):_0xb1b036=_0x4e7d5c[_0x14ccbf(0x203)][_0x14ccbf(0x1aa)];break;default:return null;}return _0xb1b036[_0x14ccbf(0x109)];}[_0x584ec7(0x1a9)](_0xa152ad){const _0xf26357=_0x584ec7;_0xa152ad[_0xf26357(0x14e)](_0x3c13c7=>{const _0x584050=_0xf26357,_0x5a4526=_0x3c13c7[_0x584050(0x17b)]();_0x5a4526[_0x584050(0x1a1)]=_0x3c13c7[_0x584050(0x1a1)],_0x5a4526[_0x584050(0x18f)]=!!_0x3c13c7[_0x584050(0x18f)],_0x5a4526[_0x584050(0x167)]=_0x3c13c7[_0x584050(0x167)],_0x5a4526[_0x584050(0x117)]+=this[_0x584050(0x1fc)],_0x3c13c7[_0x584050(0x14f)]&&this[_0x584050(0x14d)][_0x584050(0x17c)](_0x5a4526),this[_0x584050(0x1d2)][_0x584050(0x162)](_0x5a4526);});}[_0x584ec7(0x128)](_0xbbb0a7){const _0x90989d=_0x584ec7,_0x2f5e25=this[_0x90989d(0x177)][_0x90989d(0x13b)][_0x90989d(0x114)](_0x90989d(0x17d)),_0x220eea=this[_0x90989d(0x177)][_0x90989d(0x142)];_0xbbb0a7||(_0xbbb0a7=_0x436338(_0x220eea,_0x90989d(0x1ed))),_0x2f5e25[_0x90989d(0x1c1)](_0xbbb0a7,{'title':_0x436338(_0x220eea,_0x90989d(0x122)),'namespace':_0x90989d(0x1b3)}),this[_0x90989d(0x1ee)]=!0x0,clearTimeout(this[_0x90989d(0x1f8)]),this[_0x90989d(0x1de)]=[],this[_0x90989d(0x177)][_0x90989d(0x13b)][_0x90989d(0x114)](_0x5cd668)[_0x90989d(0x1e0)]();}[_0x584ec7(0x171)](){const _0x3ef154=_0x584ec7;this[_0x3ef154(0x1dc)]||(this[_0x3ef154(0x1dc)]=this[_0x3ef154(0x177)][_0x3ef154(0x13b)][_0x3ef154(0x114)](_0x2d473c)[_0x3ef154(0x17c)](_0x436338(this[_0x3ef154(0x177)][_0x3ef154(0x142)],_0x3ef154(0x14a))));}[_0x584ec7(0x19a)](){const _0x48144=_0x584ec7;this[_0x48144(0x1dc)]&&(this[_0x48144(0x177)][_0x48144(0x13b)][_0x48144(0x114)](_0x2d473c)[_0x48144(0x107)](this[_0x48144(0x1dc)]),this[_0x48144(0x1dc)]=null);}[_0x584ec7(0x198)](_0x53fcc0){const _0x3025ea=_0x584ec7,_0x1d7b5f=_0x53fcc0[_0x3025ea(0x1c5)](_0x41f142=>_0x41f142[_0x3025ea(0x1da)]());return this[_0x3025ea(0x1bc)][_0x3025ea(0x18d)](_0x1d7b5f);}[_0x584ec7(0x18a)](_0x46f020,_0x188232){const _0x5c9d74=_0x584ec7;return this[_0x5c9d74(0x1bc)][_0x5c9d74(0x1f1)](_0x46f020)[_0x5c9d74(0x1c5)]((_0x9e4207,_0x552b8b)=>{const _0x12f174=_0x5c9d74,_0x2811cc=_0x12f174(0x1a5)==_0x188232[_0x552b8b][_0x12f174(0x1ef)];if(_0x12f174(0x1c9)==_0x9e4207[_0x12f174(0x181)]){const _0xecee7=_0x9e4207[_0x12f174(0x12d)][_0x12f174(0x1aa)];!this[_0x12f174(0x139)][_0x12f174(0x1eb)](_0xecee7)&&(this[_0x12f174(0x139)][_0x12f174(0x17e)](_0x12f174(0x118),_0xecee7)[_0x12f174(0x190)]=!0x1);}const _0x3b97ac=_0x2bcc01[_0x12f174(0x108)](_0x9e4207,this[_0x12f174(0x139)]);return _0x3b97ac[_0x12f174(0x12c)]=_0x9e4207[_0x12f174(0x12c)],_0x3b97ac[_0x12f174(0x18f)]=_0x2811cc,_0x3b97ac[_0x12f174(0x1a1)]=_0x2811cc?null:_0x188232[_0x552b8b][_0x12f174(0x1b4)],_0x3b97ac[_0x12f174(0x14f)]=_0x12f174(0x1b2)===_0x188232[_0x552b8b][_0x12f174(0x1ef)],_0x3b97ac[_0x12f174(0x167)]=_0x188232[_0x552b8b][_0x12f174(0x167)],_0x3b97ac;});}[_0x584ec7(0x1bd)](){const _0x1a9245=_0x584ec7;this[_0x1a9245(0x1b1)]=!0x0,this[_0x1a9245(0x133)]()?this[_0x1a9245(0x150)]():this[_0x1a9245(0x1b1)]=!0x1;}[_0x584ec7(0x133)](){const _0x16cbb6=_0x584ec7,_0x44e9d6=this[_0x16cbb6(0x177)][_0x16cbb6(0x13b)][_0x16cbb6(0x114)](_0x4ca325)[_0x16cbb6(0x1a0)][_0x16cbb6(0x114)](this[_0x16cbb6(0x1df)]);return!this[_0x16cbb6(0x177)][_0x16cbb6(0x10a)]&&!!_0x44e9d6&&_0x44e9d6[_0x16cbb6(0x13a)]>0x1&&this[_0x16cbb6(0x1b1)];}[_0x584ec7(0x120)](){const _0x16fa97=_0x584ec7;return this[_0x16fa97(0x1de)][_0x16fa97(0x13a)]>0x0||this[_0x16fa97(0x133)]();}}export default l;function _0x3c16(_0x49408c,_0x3d8efd){const _0x12e79e=_0x12e7();return _0x3c16=function(_0x3c1620,_0x3f9c42){_0x3c1620=_0x3c1620-0x104;let _0x22ded4=_0x12e79e[_0x3c1620];return _0x22ded4;},_0x3c16(_0x49408c,_0x3d8efd);}class Q extends Error{}function X(_0x4e5ec2,_0x2e9228){const _0x5bf0f9=_0x584ec7;for(const _0x160318 of _0x4e5ec2)_0x160318[_0x5bf0f9(0x117)]=_0x2e9228++;}class Y{[_0x584ec7(0x191)];[_0x584ec7(0x205)];constructor(_0x2e7016){const _0x2526a3=_0x584ec7;this[_0x2526a3(0x191)]=_0x2e7016,this[_0x2526a3(0x205)]=new WeakMap();}[_0x584ec7(0x138)](_0x17fe59){const _0x5f67fd=_0x584ec7;let _0x384944=_0x17fe59[_0x5f67fd(0x13a)];for(;_0x384944--;){const _0xa7d74d=_0x17fe59[_0x384944];if(!this[_0x5f67fd(0x191)][_0x5f67fd(0x115)](_0xa7d74d)){if(!this[_0x5f67fd(0x205)][_0x5f67fd(0x115)](_0xa7d74d)){const _0x566962=_0x2ba35f()[_0x5f67fd(0x16f)](0x1,0x12);this[_0x5f67fd(0x205)][_0x5f67fd(0x1d1)](_0xa7d74d,_0x566962);}return this[_0x5f67fd(0x205)][_0x5f67fd(0x114)](_0xa7d74d);}}}[_0x584ec7(0x1b8)](_0x1ba7a0,_0x5ef0b9){const _0x26ef3e=_0x584ec7;if(!_0x5ef0b9)return;let _0x4f4456=_0x1ba7a0[_0x26ef3e(0x13a)];for(;_0x4f4456--;){const _0x112442=_0x1ba7a0[_0x4f4456];this[_0x26ef3e(0x191)][_0x26ef3e(0x115)](_0x112442)||this[_0x26ef3e(0x205)][_0x26ef3e(0x1d1)](_0x112442,_0x5ef0b9);}}}
23
+ const _0x93aba1=_0x3691;(function(_0x23ae5c,_0x52174c){const _0x40a1c6=_0x3691,_0x32e47d=_0x23ae5c();while(!![]){try{const _0x3671ac=-parseInt(_0x40a1c6(0x273))/0x1+-parseInt(_0x40a1c6(0x229))/0x2*(-parseInt(_0x40a1c6(0x279))/0x3)+-parseInt(_0x40a1c6(0x2a4))/0x4*(-parseInt(_0x40a1c6(0x2f2))/0x5)+parseInt(_0x40a1c6(0x271))/0x6*(-parseInt(_0x40a1c6(0x29d))/0x7)+-parseInt(_0x40a1c6(0x224))/0x8+parseInt(_0x40a1c6(0x27f))/0x9+parseInt(_0x40a1c6(0x2ee))/0xa*(-parseInt(_0x40a1c6(0x2ed))/0xb);if(_0x3671ac===_0x52174c)break;else _0x32e47d['push'](_0x32e47d['shift']());}catch(_0x52bafd){_0x32e47d['push'](_0x32e47d['shift']());}}}(_0x562d,0xea109));import{Plugin as _0x28589a,PendingActions as _0x4633e7}from'ckeditor5/src/core.js';import{CKEditorError as _0x2019b6,version as _0x330789,uid as _0x19a8d7}from'ckeditor5/src/utils.js';function _0x562d(){const _0x2deeb7=['push','_compressOperations','realtimecollaborationclient-init-connection-failed','enqueueChange','lastDocumentSession','_ignoredOperations','_hasSelectionChanged','RealTimeCollaborationClient','filter','disconnected','off','7577256fZsaus','map','path','fire','string','19060UlcvHk','root','_isEditingAllowed','createRoot','cloudDocumentVersion','lastOperationId','attributes','cs:removeUser','_applyOperationsSet','slice','isDocumentOperation','_saveOperationInBuffer','initData','targetPosition','finally','round','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient','ready','connected','batch','then','_sendBufferedOperationsDelayed','change:range','_disconnectService','getOperationAuthor','applyOperation','loadRoot','_isDisconnection','removeFromReconnectionStack','error','realtimecollaborationclient-init-service-incorrect-server-operation','startsWith','_waitUntilSynced','define','_isPendingUpdate','realtimecollaborationclient-init-document-already-initialized','register','InsertOperation','destroy','change:hasDomSelection','_shouldSendUpdate','_sendBufferedOperationsDelayId','stop','createPositionAt','addRootAttribute','_addKnownRoot','_connectService','$root','_currentBufferDelay','serverHistory','_connectAfterSessionHasBeenFlushed','_service','includes','_initSessionsHandling','404','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','Notification','editing','getRoot','_operationIdentifier','setIdForTheLastOperation','plugins','stopListening','_handleReceivedOperations','_isLoaded','decompress','_hasSynchronizationProblem','_sendBufferedOperations','collaboration','_handleExternalOperations','538806yabPDh','fromJSON','276629RnSWYo','marker','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isEnabled','high','_operationToId','417rLabLB','Permissions','offset','getMany','reset','collaboration-missing-channelid','16579890KmbeQE','_authorId','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.','requires','locale','PENDING_ACTION_SENDING_DATA','_isConnected','view','data','Synchronization\x20issue','keys','type','rtc-destroyed','_channelId','remove','_setPendingAction','set','version','_fetchMissingUsers','_updateServerHistory','return','mySessionId','_handleReconnectionResponse','createRange','lastOperationAcceptedAt','permissions','userId','newRange','unregister','cloud-services-internal-error:\x20Not\x20connected.','105jqRbnQ','setPermissions','_baseBufferDelay','catch','apply','wasUndone','_offset','3577804xpsIHD','reconnection:\x20flushed\x20session','markers','cloud-services-internal-error:\x20Request\x20timeout.','_handleSendingSelectionMarkers','_crash','lastSyncVersion','editor','metadata','_compressor','realtimecollaborationclient-handleserverresponse','createPositionFromPath','createdAt','sessionCreatedAt','connection','currentDocumentSession','size','_disconnectionOperations','end','get','_shouldSendSelectionUpdate','_initThrowingOnDataSet','toJSON','_bufferRootLoad','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_knownRootNames','addRoot','directChange','from','CommentsOnly','realtimecollaborationclient-init-session-connection-error','config','CollaborativeEditingService','_handleServerResponse','disableReadOnlyMode','history','getConnectedSessions','bind','_isInit','realtimecollaborationclient-init-non-existent-root','_getAffectedRoot','change:_isPendingUpdate','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.','_lastServerVersion','_clearPendingAction','channelSessions','sessionId','getOperations','code','collaboration.channelId','disconnect','connect','start','isUndoneOperation','getDocumentDetails','baseVersion','rootName','_isAttached','createUserMarkerOperations','insert','realtimecollaborationclient-error','add','_document','_setUpDataInit','operationsReceived','_lastSyncedOperationId','model','roots','compress','document','cloudServices.bundleVersion','__className','_knownOperations','11VTXrqo','14262520cBRRtb','sessionAdd:','state','realtimecollaborationclient-sendbufferedoperations','10qgNLcY','getIdOfTheLastOperation','entries','clone','addUser','length','_decompressOperations','position','_refreshUserSelectionMarkers','_bufferedOperations','getUser','rtc-offline','409','_loadRoot','isReadOnly','real-time-collaboration','sendOperations','affectedSelectable','differ','_pendingAction','isPremiumPlugin','selection','forEach','suppressErrorInCollaboration','reconnect','wereChangesApplied','parse','move','addToReconnectionStack','_handleReconnectionError','realtimecollaborationclient-init-service-internal-error','showWarning','isOfficialPlugin','enableReadOnlyMode','listenTo','addOperation','document:write','change:_isEditingAllowed','rootsAttributes','_getOperationsFromInitData','pluginName','has','message','_handleInitialConnectionData','init','affectsData'];_0x562d=function(){return _0x2deeb7;};return _0x562d();}import{Notification as _0x2eac20}from'ckeditor5/src/ui.js';import{transformSets as _0x44e73f,NoOperation as _0x49c303,InsertOperation as _0x27e218,MarkerOperation as _0x4e5264,RootAttributeOperation as _0x60382b,OperationFactory as _0x4ffa25,History as _0x135e82}from'ckeditor5/src/engine.js';import _0x12ab0e from'./websocketgateway.js';import _0x2bd27b from'./sessions.js';function _0x3691(_0x2d96f7,_0x35e5ff){const _0x562d1e=_0x562d();return _0x3691=function(_0x369172,_0x4d4564){_0x369172=_0x369172-0x1f2;let _0x113527=_0x562d1e[_0x369172];return _0x113527;},_0x3691(_0x2d96f7,_0x35e5ff);}import _0x2c626b from'./usermarkers.js';import{getTranslation as _0x23916f}from'../common-translations.js';import{Compressor as _0x1571e8}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2b18b4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x36a0df,CollaborativeEditingService as _0x2eaf7f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;class l extends _0x28589a{static [_0x93aba1(0x2c4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2eaf7f)());[_0x93aba1(0x2a3)];[_0x93aba1(0x2d2)];[_0x93aba1(0x25b)];[_0x93aba1(0x28c)];[_0x93aba1(0x25d)];[_0x93aba1(0x2e2)];[_0x93aba1(0x2ad)];[_0x93aba1(0x1f4)];[_0x93aba1(0x2ec)];[_0x93aba1(0x2bd)];[_0x93aba1(0x1fe)];[_0x93aba1(0x21f)];[_0x93aba1(0x253)];[_0x93aba1(0x29f)];[_0x93aba1(0x25a)];[_0x93aba1(0x2e5)];[_0x93aba1(0x2b5)];[_0x93aba1(0x266)];static get[_0x93aba1(0x282)](){return[_0x12ab0e,_0x2bd27b,_0x2c626b,_0x4633e7,_0x2b18b4,_0x2eac20];}static get[_0x93aba1(0x213)](){const _0x5b21db=_0x93aba1;return _0x5b21db(0x220);}static get[_0x93aba1(0x20b)](){return!0x0;}static get[_0x93aba1(0x1ff)](){return!0x0;}get[_0x93aba1(0x22d)](){const _0x3eb4a4=_0x93aba1;return this[_0x3eb4a4(0x2cf)]+this[_0x3eb4a4(0x2a3)];}get[_0x93aba1(0x2cf)](){const _0x2a9137=_0x93aba1;return this[_0x2a9137(0x25b)][_0x2a9137(0x290)]-this[_0x2a9137(0x2a3)];}get[_0x93aba1(0x2aa)](){const _0x417653=_0x93aba1,_0x21a749=this[_0x417653(0x25b)][_0x417653(0x2d3)]();for(let _0x46b9d5=_0x21a749[_0x417653(0x2f7)]-0x1;_0x46b9d5>=0x0;_0x46b9d5--){const _0x2edd0f=_0x21a749[_0x46b9d5];if(!this[_0x417653(0x2b5)][_0x417653(0x214)](_0x2edd0f))return _0x2edd0f[_0x417653(0x2db)]+0x1-this[_0x417653(0x2a3)];}return 0x0;}constructor(_0x35389b){const _0x1d2d3b=_0x93aba1;if(super(_0x35389b),this[_0x1d2d3b(0x2a3)]=0x0,this[_0x1d2d3b(0x2d2)]=null,this[_0x1d2d3b(0x25b)]=new _0x135e82(),this[_0x1d2d3b(0x2ab)][_0x1d2d3b(0x2c3)][_0x1d2d3b(0x24b)](_0x1d2d3b(0x26f),{}),this[_0x1d2d3b(0x28c)]=this[_0x1d2d3b(0x2ab)][_0x1d2d3b(0x2c3)][_0x1d2d3b(0x2b7)](_0x1d2d3b(0x2d5)),!this[_0x1d2d3b(0x28c)])throw new _0x2019b6(_0x1d2d3b(0x27e),this);const _0x24b4fc=_0x35389b[_0x1d2d3b(0x2c3)][_0x1d2d3b(0x2b7)](_0x1d2d3b(0x2ea))||_0x330789;this[_0x1d2d3b(0x25d)]=new l[(_0x1d2d3b(0x2c4))](_0x24b4fc,this[_0x1d2d3b(0x28c)]),this[_0x1d2d3b(0x2e2)]=this[_0x1d2d3b(0x2ab)][_0x1d2d3b(0x2e6)][_0x1d2d3b(0x2e9)],this[_0x1d2d3b(0x2ad)]=new _0x1571e8(),this[_0x1d2d3b(0x1f4)]=[],this[_0x1d2d3b(0x2ec)]=new WeakSet(),this[_0x1d2d3b(0x2bd)]=new Set(),this[_0x1d2d3b(0x28f)](_0x1d2d3b(0x24c),!0x1),this[_0x1d2d3b(0x28f)](_0x1d2d3b(0x26d),!0x1),this[_0x1d2d3b(0x1fe)]=null,this[_0x1d2d3b(0x21f)]=!0x1,this[_0x1d2d3b(0x253)]=null,this[_0x1d2d3b(0x29f)]=0x12c,this[_0x1d2d3b(0x25a)]=this[_0x1d2d3b(0x29f)],this[_0x1d2d3b(0x2e5)]=null,this[_0x1d2d3b(0x2b5)]=new WeakSet(),this[_0x1d2d3b(0x266)]=new st(this[_0x1d2d3b(0x2b5)]);}[_0x93aba1(0x217)](){const _0x1003a9=_0x93aba1,_0x1d39de=this[_0x1003a9(0x2ab)],_0x171abf=_0x1d39de[_0x1003a9(0x268)][_0x1003a9(0x2b7)](_0x2b18b4),_0x1f9e52=_0x1d39de[_0x1003a9(0x268)][_0x1003a9(0x2b7)](_0x12ab0e);this[_0x1003a9(0x20d)](_0x171abf,_0x1003a9(0x242),(_0x6d2334,_0x24c151)=>{const _0x45e0a3=_0x1003a9,_0x17eb0c=_0x24c151[0x0];_0x17eb0c[_0x45e0a3(0x280)]&&(_0x6d2334[_0x45e0a3(0x293)]=_0x171abf[_0x45e0a3(0x1f5)](_0x17eb0c[_0x45e0a3(0x280)]),_0x6d2334[_0x45e0a3(0x254)]()),null===_0x17eb0c[_0x45e0a3(0x280)]&&(_0x6d2334[_0x45e0a3(0x293)]=null,_0x6d2334[_0x45e0a3(0x254)]());},{'priority':_0x1003a9(0x277)}),this[_0x1003a9(0x20d)](_0x1d39de[_0x1003a9(0x2e6)][_0x1003a9(0x2e9)][_0x1003a9(0x200)],_0x1003a9(0x240),(_0x923c88,_0x271666)=>{const _0x53cd5b=_0x1003a9;_0x271666[_0x53cd5b(0x2bf)]&&this[_0x53cd5b(0x1f3)]();}),this[_0x1003a9(0x20d)](_0x1d39de[_0x1003a9(0x264)][_0x1003a9(0x286)],_0x1003a9(0x251),()=>{const _0x4b6444=_0x1003a9;this[_0x4b6444(0x1f3)]();}),this[_0x1003a9(0x2b9)](),_0x1d39de[_0x1003a9(0x2e6)]['on'](_0x1003a9(0x243),(_0x4ab055,_0x142c35)=>{const _0x377fe1=_0x1003a9,_0x5e7a18=_0x142c35[0x0];_0x5e7a18[_0x377fe1(0x233)]&&(this[_0x377fe1(0x234)](_0x5e7a18),this[_0x377fe1(0x252)]()&&this[_0x377fe1(0x23f)]());}),this[_0x1003a9(0x2e3)](),this[_0x1003a9(0x2c9)](_0x1003a9(0x22b))['to'](_0x1f9e52,_0x1003a9(0x2f0),this,_0x1003a9(0x26d),(_0x30f032,_0x55730d)=>_0x1003a9(0x23c)===_0x30f032&&!_0x55730d),this['on'](_0x1003a9(0x210),()=>{const _0x957626=_0x1003a9;this[_0x957626(0x22b)]?_0x1d39de[_0x957626(0x2c6)](_0x957626(0x1f6)):_0x1d39de[_0x957626(0x20c)](_0x957626(0x1f6));}),this[_0x1003a9(0x22b)]?_0x1d39de[_0x1003a9(0x2c6)](_0x1003a9(0x1f6)):_0x1d39de[_0x1003a9(0x20c)](_0x1003a9(0x1f6)),this[_0x1003a9(0x28f)](_0x1003a9(0x285),!0x1);}async[_0x93aba1(0x203)](){const _0x1c5326=_0x93aba1,_0xe71898=this[_0x1c5326(0x2ab)][_0x1c5326(0x268)][_0x1c5326(0x2b7)](_0x2bd27b),_0x354f46=this[_0x1c5326(0x2ab)][_0x1c5326(0x268)][_0x1c5326(0x2b7)](_0x12ab0e);try{this[_0x1c5326(0x24c)]=!0x0,_0xe71898[_0x1c5326(0x29b)](this[_0x1c5326(0x28c)]);const _0x50f408=await this[_0x1c5326(0x25d)][_0x1c5326(0x203)](_0x354f46[_0x1c5326(0x2b2)],this[_0x1c5326(0x2aa)]);await this[_0x1c5326(0x295)](_0x50f408)&&(this[_0x1c5326(0x24c)]=!0x1,this[_0x1c5326(0x2d0)]());const _0x4f48fc=await this[_0x1c5326(0x25d)][_0x1c5326(0x2c8)]();_0xe71898[_0x1c5326(0x24e)](this[_0x1c5326(0x28c)],_0x4f48fc),this[_0x1c5326(0x2a8)](),this[_0x1c5326(0x285)]=!0x0;}catch(_0x2e05b9){if(function(_0xfa62d0){const _0x4b9bb8=_0x1c5326;return _0x4b9bb8(0x260)===_0xfa62d0[_0x4b9bb8(0x2d4)];}(_0x2e05b9)&&this[_0x1c5326(0x2d2)])await this[_0x1c5326(0x25c)]();else{if(function(_0xb5802a){const _0x9141ce=_0x1c5326;return _0x9141ce(0x1f7)===_0xb5802a[_0x9141ce(0x2d4)];}(_0x2e05b9)){const _0x48f8d1=_0x23916f(this[_0x1c5326(0x2ab)][_0x1c5326(0x283)],_0x1c5326(0x275));this[_0x1c5326(0x208)](_0x48f8d1);}else{if(!(_0x2e05b9 instanceof tt))throw _0x2e05b9;this[_0x1c5326(0x208)]();}}}}[_0x93aba1(0x250)](){const _0x56992d=_0x93aba1,_0x5476b5=this[_0x56992d(0x2ab)][_0x56992d(0x268)][_0x56992d(0x2b7)](_0x12ab0e),_0x175d17=this[_0x56992d(0x2ab)][_0x56992d(0x268)][_0x56992d(0x2b7)](_0x2bd27b);this[_0x56992d(0x2ab)][_0x56992d(0x20c)](_0x56992d(0x28b)),_0x175d17[_0x56992d(0x2d1)][_0x56992d(0x214)](this[_0x56992d(0x28c)])&&_0x175d17[_0x56992d(0x29b)](this[_0x56992d(0x28c)]),_0x5476b5[_0x56992d(0x246)](this),this[_0x56992d(0x241)](),super[_0x56992d(0x250)]();}async[_0x93aba1(0x295)](_0x55ff90){const _0x526fe9=_0x93aba1;if(this[_0x526fe9(0x2d2)]!==_0x55ff90[_0x526fe9(0x2d2)]&&this[_0x526fe9(0x2e5)]!==_0x55ff90[_0x526fe9(0x22e)])throw new tt();return this[_0x526fe9(0x2d2)]=_0x55ff90[_0x526fe9(0x2d2)],this[_0x526fe9(0x2c5)]([],{..._0x55ff90,'wereChangesApplied':!0x1,'data':_0x55ff90[_0x526fe9(0x287)]},_0x526fe9(0x203));}async[_0x93aba1(0x258)](_0x395a43,_0x7e795c=!0x1){const _0x57db1e=_0x93aba1,{connection:_0x5aa6c1}=this[_0x57db1e(0x2ab)][_0x57db1e(0x268)][_0x57db1e(0x2b7)](_0x12ab0e);l[_0x57db1e(0x2c4)][_0x57db1e(0x2c8)](_0x5aa6c1,this[_0x57db1e(0x28c)])[_0x57db1e(0x23e)](_0x643bff=>this[_0x57db1e(0x25f)](_0x643bff))[_0x57db1e(0x2a0)](_0x5bec7c=>{const _0x584abd=_0x57db1e;this[_0x584abd(0x2a9)](_0x584abd(0x2c2),_0x5bec7c);}),this[_0x57db1e(0x20d)](this[_0x57db1e(0x25d)],_0x57db1e(0x2e4),this[_0x57db1e(0x26a)][_0x57db1e(0x2c9)](this)),this[_0x57db1e(0x20d)](this[_0x57db1e(0x25d)],_0x57db1e(0x247),(_0x3eb6e9,_0xdf6e0f)=>{const _0x48fcec=_0x57db1e;this[_0x48fcec(0x2a9)](_0x48fcec(0x209),_0xdf6e0f);}),this[_0x57db1e(0x20d)](this[_0x57db1e(0x25d)],_0x57db1e(0x222),()=>{const _0x456e9d=_0x57db1e;this[_0x456e9d(0x285)]=!0x1;});const _0x4f9284=this[_0x57db1e(0x266)][_0x57db1e(0x2f3)](_0x395a43);this[_0x57db1e(0x24c)]=!0x0;const _0x32a49a=await this[_0x57db1e(0x25d)][_0x57db1e(0x2d7)](_0x5aa6c1,this[_0x57db1e(0x21a)](_0x395a43),_0x4f9284);if(this[_0x57db1e(0x2d2)]=_0x32a49a[_0x57db1e(0x2d2)],_0x7e795c){if(!_0x32a49a[_0x57db1e(0x204)])return void this[_0x57db1e(0x208)]();this[_0x57db1e(0x24c)]=!0x1,this[_0x57db1e(0x2d0)](),this[_0x57db1e(0x25b)][_0x57db1e(0x27d)](),this[_0x57db1e(0x2a3)]=_0x32a49a[_0x57db1e(0x27b)],this[_0x57db1e(0x25b)][_0x57db1e(0x290)]=this[_0x57db1e(0x2a3)],await this[_0x57db1e(0x2c5)](_0x395a43,_0x32a49a,_0x57db1e(0x2a5));}else await this[_0x57db1e(0x216)](_0x32a49a,_0x395a43);this[_0x57db1e(0x2a8)](),this[_0x57db1e(0x285)]=!0x0;}[_0x93aba1(0x2a8)](){const _0x470116=_0x93aba1,_0x2d4270=this[_0x470116(0x2ab)][_0x470116(0x268)][_0x470116(0x2b7)](_0x2bd27b),_0x4af963=this[_0x470116(0x2ab)][_0x470116(0x268)][_0x470116(0x2b7)](_0x2c626b),_0x17b24f=_0x2d4270[_0x470116(0x2d1)][_0x470116(0x2b7)](this[_0x470116(0x28c)]);_0x17b24f&&_0x17b24f[_0x470116(0x2f7)]>0x1?_0x4af963[_0x470116(0x2de)]():this[_0x470116(0x20d)](_0x2d4270,_0x470116(0x2ef)+this[_0x470116(0x28c)],()=>{const _0x262bcd=_0x470116;0x2===_0x2d4270[_0x262bcd(0x2d1)][_0x262bcd(0x2b7)](this[_0x262bcd(0x28c)])[_0x262bcd(0x2f7)]&&_0x4af963[_0x262bcd(0x2de)]();});}async[_0x93aba1(0x26a)](_0x3d8f85,_0x2535e1,_0x4dffff,_0x5062cb){const _0x5d7cf8=_0x93aba1;if(!this[_0x5d7cf8(0x24c)]&&this[_0x5d7cf8(0x2e2)][_0x5d7cf8(0x290)]==_0x2535e1){const _0x1d8cff=this[_0x5d7cf8(0x2f8)](_0x4dffff,_0x5062cb);await this[_0x5d7cf8(0x291)](_0x1d8cff),this[_0x5d7cf8(0x270)](_0x1d8cff,_0x2535e1,_0x4dffff[_0x5d7cf8(0x22e)])||this[_0x5d7cf8(0x2a9)](_0x5d7cf8(0x248));}}async[_0x93aba1(0x25c)](){const _0xd4b4ba=_0x93aba1;this[_0xd4b4ba(0x241)]();const {locale:_0x3f68e5}=this[_0xd4b4ba(0x2ab)];let _0x1f8fc5;try{_0x1f8fc5=await this[_0xd4b4ba(0x25d)][_0xd4b4ba(0x2da)]();}catch(_0x40c1cb){const _0xa4d554=_0x23916f(_0x3f68e5,_0xd4b4ba(0x2bc));return void this[_0xd4b4ba(0x208)](_0xa4d554);}const _0x327d69=_0x1f8fc5[_0xd4b4ba(0x2b3)]||_0x1f8fc5[_0xd4b4ba(0x21d)];if(this[_0xd4b4ba(0x2e5)]===_0x327d69[_0xd4b4ba(0x22e)])await this[_0xd4b4ba(0x258)](this[_0xd4b4ba(0x2ab)][_0xd4b4ba(0x2e6)][_0xd4b4ba(0x2e9)][_0xd4b4ba(0x2c7)][_0xd4b4ba(0x2d3)](),!0x0);else{const _0x1ed409=_0x23916f(_0x3f68e5,_0xd4b4ba(0x2ce));this[_0xd4b4ba(0x208)](_0x1ed409);}}[_0x93aba1(0x241)](){const _0x415686=_0x93aba1;this[_0x415686(0x25d)][_0x415686(0x2d6)](),this[_0x415686(0x1f4)]=[],clearTimeout(this[_0x415686(0x253)]),this[_0x415686(0x269)](this[_0x415686(0x25d)]);}[_0x93aba1(0x25f)](_0x593433){const _0x1b8d93=_0x93aba1,_0x57a6df=this[_0x1b8d93(0x2ab)][_0x1b8d93(0x268)][_0x1b8d93(0x2b7)](_0x2bd27b);this[_0x1b8d93(0x20d)](_0x57a6df,_0x1b8d93(0x2ef)+this[_0x1b8d93(0x28c)],(_0x39689e,{session:_0x8fe96a})=>{const _0x2f898f=_0x1b8d93;if(_0x8fe96a['id']===_0x57a6df[_0x2f898f(0x294)]){_0x39689e[_0x2f898f(0x223)]();const _0x394bcd=this[_0x2f898f(0x2ab)][_0x2f898f(0x268)][_0x2f898f(0x214)](_0x2f898f(0x2c1))&&this[_0x2f898f(0x2ab)][_0x2f898f(0x268)][_0x2f898f(0x2b7)](_0x2f898f(0x2c1));let _0x197f1e=_0x8fe96a[_0x2f898f(0x298)];_0x394bcd&&_0x394bcd[_0x2f898f(0x276)]&&(_0x197f1e=_0x197f1e[_0x2f898f(0x221)](_0x491ad7=>_0x2f898f(0x20f)!==_0x491ad7)),this[_0x2f898f(0x2ab)][_0x2f898f(0x268)][_0x2f898f(0x2b7)](_0x2f898f(0x27a))[_0x2f898f(0x29e)](_0x197f1e,this[_0x2f898f(0x28c)]);}}),_0x57a6df[_0x1b8d93(0x24e)](this[_0x1b8d93(0x28c)],_0x593433);}[_0x93aba1(0x2b9)](){const _0x306bb1=_0x93aba1,_0x3d47d2=this[_0x306bb1(0x2ab)][_0x306bb1(0x287)][_0x306bb1(0x28f)];this[_0x306bb1(0x2ab)][_0x306bb1(0x287)][_0x306bb1(0x28f)]=(..._0x5f0647)=>{const _0x452c02=_0x306bb1;if(!_0x5f0647[_0x5f0647[_0x452c02(0x2f7)]-0x1][_0x452c02(0x202)])throw new _0x2019b6(_0x452c02(0x239),this);_0x3d47d2[_0x452c02(0x2a1)](this[_0x452c02(0x2ab)][_0x452c02(0x287)],_0x5f0647);};}[_0x93aba1(0x2e3)](){const _0x5cf103=_0x93aba1;this[_0x5cf103(0x2ab)][_0x5cf103(0x287)]['on'](_0x5cf103(0x217),(_0x4e536e,[_0x241691])=>{const _0x3f29fe=_0x5cf103;if(this[_0x3f29fe(0x2e2)][_0x3f29fe(0x290)])throw new _0x2019b6(_0x3f29fe(0x24d),this);_0x4e536e[_0x3f29fe(0x254)](),this[_0x3f29fe(0x28e)]();const _0x7e37fc=this[_0x3f29fe(0x2ab)][_0x3f29fe(0x2c3)][_0x3f29fe(0x2b7)](_0x3f29fe(0x211)),_0x33cabf=this[_0x3f29fe(0x212)](_0x241691,_0x7e37fc);0x0==_0x33cabf[_0x3f29fe(0x2f7)]&&_0x33cabf[_0x3f29fe(0x219)](new _0x49c303(0x0)),_0x4e536e[_0x3f29fe(0x293)]=this[_0x3f29fe(0x258)](_0x33cabf)[_0x3f29fe(0x23e)](()=>{const _0x19e1d9=_0x3f29fe;this[_0x19e1d9(0x2ab)][_0x19e1d9(0x268)][_0x19e1d9(0x2b7)](_0x12ab0e)[_0x19e1d9(0x207)](this),this[_0x19e1d9(0x2ab)][_0x19e1d9(0x287)][_0x19e1d9(0x227)](_0x19e1d9(0x23b));})[_0x3f29fe(0x2a0)](_0x38d730=>this[_0x3f29fe(0x2a9)](_0x3f29fe(0x21b),_0x38d730))[_0x3f29fe(0x237)](()=>this[_0x3f29fe(0x2d0)]());},{'priority':_0x5cf103(0x277)}),this[_0x5cf103(0x2ab)]['on'](_0x5cf103(0x244),async(_0x4854c9,[_0x4070ac,_0x375bfc])=>{const _0xa735e=_0x5cf103;_0x4854c9[_0xa735e(0x254)]();const _0x2b0b24=this[_0xa735e(0x2ab)][_0xa735e(0x2e6)][_0xa735e(0x2e9)][_0xa735e(0x265)](_0x4070ac);if(!this[_0xa735e(0x2bd)][_0xa735e(0x214)](_0x4070ac)){const _0x53b28a=_0x375bfc&&_0x375bfc[_0xa735e(0x287)]?_0x375bfc[_0xa735e(0x287)]:'',_0x413565=_0x375bfc&&_0x375bfc[_0xa735e(0x22f)]?_0x375bfc[_0xa735e(0x22f)]:{};await this[_0xa735e(0x1f8)](_0x4070ac,_0x53b28a,_0x413565);}this[_0xa735e(0x2ab)][_0xa735e(0x2e6)][_0xa735e(0x21c)]({'isUndoable':!0x1},()=>{const _0x3d466e=_0xa735e;_0x2b0b24[_0x3d466e(0x26b)]=!0x0,this[_0x3d466e(0x2ab)][_0x3d466e(0x2e6)][_0x3d466e(0x2e9)][_0x3d466e(0x1fd)][_0x3d466e(0x2bb)](_0x2b0b24);});},{'priority':_0x5cf103(0x277)});}async[_0x93aba1(0x291)](_0x32346e){const _0xa59428=_0x93aba1,_0x3be1aa=this[_0xa59428(0x2ab)][_0xa59428(0x268)][_0xa59428(0x2b7)](_0x2b18b4),{connection:_0x19a5ac}=this[_0xa59428(0x2ab)][_0xa59428(0x268)][_0xa59428(0x2b7)](_0x12ab0e),_0x399e57=new Set();for(const _0x46d4d9 of _0x32346e){const _0x2d39a1=_0x46d4d9[_0xa59428(0x280)];_0x2d39a1&&!_0x3be1aa[_0xa59428(0x1f5)](_0x2d39a1)&&_0x399e57[_0xa59428(0x2e1)](_0x2d39a1);}if(0x0===_0x399e57[_0xa59428(0x2b4)])return;const _0x4f421f=await _0x36a0df[_0xa59428(0x27c)](_0x19a5ac,Array[_0xa59428(0x2c0)](_0x399e57));for(const _0x2fd6f6 of _0x4f421f)_0x3be1aa[_0xa59428(0x1f5)](_0x2fd6f6['id'])||_0x3be1aa[_0xa59428(0x2f6)](_0x2fd6f6);}[_0x93aba1(0x212)](_0x4f3e1b,_0x166e39={}){const _0x4a429c=_0x93aba1,_0x36e334=this[_0x4a429c(0x2ab)][_0x4a429c(0x2e6)],_0x539b17=[];let _0x40bafb=0x0;const _0x229331=_0x4a429c(0x228)==typeof _0x4f3e1b?{'main':_0x4f3e1b}:_0x4f3e1b;for(const _0x158e23 of Object[_0x4a429c(0x289)](_0x229331)){if(!this[_0x4a429c(0x2e2)][_0x4a429c(0x2e7)][_0x4a429c(0x214)](_0x158e23))throw new _0x2019b6(_0x4a429c(0x2cb),this);const _0x2fcbf3=this[_0x4a429c(0x2ab)][_0x4a429c(0x287)][_0x4a429c(0x205)](_0x229331[_0x158e23]),_0x5a4f3a=this[_0x4a429c(0x2e2)][_0x4a429c(0x265)](_0x158e23),_0x516492=new _0x27e218(_0x36e334[_0x4a429c(0x255)](_0x5a4f3a,0x0),_0x2fcbf3,_0x40bafb++);_0x539b17[_0x4a429c(0x219)](_0x516492);for(const [_0x44d034,_0x221762]of _0x2fcbf3[_0x4a429c(0x2a6)]){const _0x1b958d=_0x36e334[_0x4a429c(0x296)](_0x36e334[_0x4a429c(0x2af)](_0x5a4f3a,_0x221762[_0x4a429c(0x2d8)][_0x4a429c(0x226)][_0x4a429c(0x232)]()),_0x36e334[_0x4a429c(0x2af)](_0x5a4f3a,_0x221762[_0x4a429c(0x2b6)][_0x4a429c(0x226)][_0x4a429c(0x232)]())),_0x281416=new _0x4e5264(_0x44d034,null,_0x1b958d,_0x36e334[_0x4a429c(0x2a6)],!0x0,_0x40bafb++);_0x539b17[_0x4a429c(0x219)](_0x281416);}}if(_0x166e39)for(const [_0x158e85,_0x440c67]of Object[_0x4a429c(0x2f4)](_0x166e39)){const _0x482f12=_0x36e334[_0x4a429c(0x2e9)][_0x4a429c(0x265)](_0x158e85);if(!_0x482f12)throw new _0x2019b6(_0x4a429c(0x261),null);for(const [_0x43d136,_0x2a5d4c]of Object[_0x4a429c(0x2f4)](_0x440c67))if(null!==_0x2a5d4c){const _0x1385b4=new _0x60382b(_0x482f12,_0x43d136,null,_0x2a5d4c,_0x40bafb++);_0x539b17[_0x4a429c(0x219)](_0x1385b4);}}return _0x539b17;}async[_0x93aba1(0x1f8)](_0x1987ab,_0x5321f7,_0x1c464a){const _0x3e83a2=_0x93aba1;this[_0x3e83a2(0x212)]({[_0x1987ab]:_0x5321f7},{[_0x1987ab]:_0x1c464a})[_0x3e83a2(0x201)]((_0x386f91,_0x3bb24c)=>{const _0x196c4f=_0x3e83a2;_0x386f91[_0x196c4f(0x2db)]=this[_0x196c4f(0x2e2)][_0x196c4f(0x290)]+_0x3bb24c,_0x386f91[_0x196c4f(0x2ca)]=!0x0,this[_0x196c4f(0x234)](_0x386f91);}),this[_0x3e83a2(0x23f)](),await this[_0x3e83a2(0x24a)]();}async[_0x93aba1(0x216)](_0x51a5f5,_0x1bc05e){const _0x27888e=_0x93aba1;let _0x1ca59b;this[_0x27888e(0x2a3)]=_0x51a5f5[_0x27888e(0x27b)];const _0x1e9679=_0x51a5f5[_0x27888e(0x204)]&&!_0x51a5f5[_0x27888e(0x235)],_0x57b77e=_0x1e9679?0x0:_0x51a5f5[_0x27888e(0x287)][_0x27888e(0x2db)];if(_0x1bc05e[_0x27888e(0x201)](_0x54248c=>{const _0x483e1a=_0x27888e;_0x54248c[_0x483e1a(0x2ca)]=!0x0,_0x54248c[_0x483e1a(0x2b0)]=_0x51a5f5[_0x483e1a(0x2b1)],_0x54248c[_0x483e1a(0x280)]=null;}),_0x1e9679)_0x1ca59b=_0x1bc05e,this[_0x27888e(0x231)](_0x1ca59b,_0x1e9679);else{if(_0x51a5f5[_0x27888e(0x235)]){const _0x12483d=this[_0x27888e(0x212)](_0x51a5f5[_0x27888e(0x235)]);this[_0x27888e(0x2e2)][_0x27888e(0x2c7)][_0x27888e(0x290)]=-_0x12483d[_0x27888e(0x2f7)],_0x12483d[_0x27888e(0x201)](_0x5620fb=>{const _0x4b9eff=_0x27888e;_0x5620fb[_0x4b9eff(0x2db)]-=_0x12483d[_0x4b9eff(0x2f7)],_0x5620fb[_0x4b9eff(0x2b0)]=_0x51a5f5[_0x4b9eff(0x2b1)],_0x5620fb[_0x4b9eff(0x2ca)]=!0x0,_0x5620fb[_0x4b9eff(0x280)]=null;}),this[_0x27888e(0x231)](_0x12483d,!0x0),this[_0x27888e(0x25b)][_0x27888e(0x290)]=-_0x12483d[_0x27888e(0x2f7)]+this[_0x27888e(0x2a3)],this[_0x27888e(0x292)](_0x12483d);}this[_0x27888e(0x2e2)][_0x27888e(0x2c7)][_0x27888e(0x290)]=_0x57b77e,_0x1ca59b=this[_0x27888e(0x2f8)](_0x51a5f5[_0x27888e(0x287)],_0x51a5f5[_0x27888e(0x2ac)]),await this[_0x27888e(0x291)](_0x1ca59b),this[_0x27888e(0x231)](_0x1ca59b,_0x1e9679);}_0x51a5f5[_0x27888e(0x22e)]&&(this[_0x27888e(0x266)][_0x27888e(0x267)](_0x1ca59b,_0x51a5f5[_0x27888e(0x22e)]),this[_0x27888e(0x2e5)]=_0x51a5f5[_0x27888e(0x22e)]),this[_0x27888e(0x25b)][_0x27888e(0x290)]=_0x57b77e+this[_0x27888e(0x2a3)],this[_0x27888e(0x292)](_0x1ca59b),_0x1bc05e[_0x27888e(0x221)](_0x511f08=>{const _0xae97dd=_0x27888e,_0x272e76=this[_0xae97dd(0x2cc)](_0x511f08);return _0x272e76&&!this[_0xae97dd(0x2bd)][_0xae97dd(0x214)](_0x272e76);})[_0x27888e(0x201)]((_0x53e4bd,_0x3c9466)=>{const _0x41782a=_0x27888e;_0x53e4bd[_0x41782a(0x2db)]=this[_0x41782a(0x2e2)][_0x41782a(0x290)]+_0x3c9466,this[_0x41782a(0x234)](_0x53e4bd);}),this[_0x27888e(0x252)]()?(this[_0x27888e(0x25a)]=0x0,this[_0x27888e(0x23f)](!0x0),await this[_0x27888e(0x24a)]()):(this[_0x27888e(0x24c)]=!0x1,this[_0x27888e(0x2d0)]());}[_0x93aba1(0x2a9)](_0x4d18be,_0x21496e){const _0xbc2d1f=_0x93aba1,_0x7a68e3=_0x21496e&&_0x21496e[_0xbc2d1f(0x215)];if(_0x7a68e3&&_0x7a68e3[_0xbc2d1f(0x249)](_0xbc2d1f(0x23a)))throw _0x21496e;const _0x535286=this[_0xbc2d1f(0x2ab)][_0xbc2d1f(0x268)][_0xbc2d1f(0x2b7)](_0x12ab0e);throw this[_0xbc2d1f(0x24c)]=!0x0,_0x535286[_0xbc2d1f(0x2d6)](),this[_0xbc2d1f(0x2ab)][_0xbc2d1f(0x20c)](_0xbc2d1f(0x2e0)),new _0x2019b6(_0x4d18be,this[_0xbc2d1f(0x2ab)],_0x7a68e3?{'originalError':_0x7a68e3}:void 0x0);}[_0x93aba1(0x234)](_0x4895a6){const _0x36a406=_0x93aba1;this[_0x36a406(0x2ec)][_0x36a406(0x214)](_0x4895a6)||(this[_0x36a406(0x2ec)][_0x36a406(0x2e1)](_0x4895a6),this[_0x36a406(0x1f4)][_0x36a406(0x219)](_0x4895a6),this[_0x36a406(0x1fe)]||_0x36a406(0x274)==_0x4895a6[_0x36a406(0x28a)]&&!_0x4895a6[_0x36a406(0x218)]||this[_0x36a406(0x28e)]());}[_0x93aba1(0x23f)](_0x278c65=!0x1){const _0x922a9b=_0x93aba1;!_0x278c65&&this[_0x922a9b(0x24c)]||(this[_0x922a9b(0x24c)]=!0x0,clearTimeout(this[_0x922a9b(0x253)]),this[_0x922a9b(0x253)]=setTimeout(()=>{const _0x327d55=_0x922a9b;this[_0x327d55(0x26e)]()[_0x327d55(0x23e)](_0x521f63=>{const _0xbe7245=_0x327d55;_0x521f63&&(this[_0xbe7245(0x2d0)](),this[_0xbe7245(0x24c)]=!0x1);})[_0x327d55(0x2a0)](_0x298609=>{const _0x45406b=_0x327d55;this[_0x45406b(0x2d0)](),this[_0x45406b(0x24c)]=!0x1,function(_0x7ddd7d){const _0x2fa5e3=_0x45406b;return _0x7ddd7d[_0x2fa5e3(0x215)][_0x2fa5e3(0x249)](_0x2fa5e3(0x29c))||_0x7ddd7d[_0x2fa5e3(0x215)][_0x2fa5e3(0x249)](_0x2fa5e3(0x262))||_0x7ddd7d[_0x2fa5e3(0x215)][_0x2fa5e3(0x249)](_0x2fa5e3(0x2a7));}(_0x298609)||this[_0x45406b(0x2a9)](_0x298609[_0x45406b(0x215)],_0x298609);});},this[_0x922a9b(0x25a)]));}[_0x93aba1(0x24a)](){return new Promise(_0x54d604=>{const _0x3bc063=_0x3691;this['on'](_0x3bc063(0x2cd),()=>{_0x54d604();});});}async[_0x93aba1(0x26e)](){const _0x89b4c=_0x93aba1,_0x16b9fe=this[_0x89b4c(0x2ab)][_0x89b4c(0x268)][_0x89b4c(0x2b7)](_0x2c626b);if(this[_0x89b4c(0x2b8)]()&&(_0x16b9fe[_0x89b4c(0x2de)](),this[_0x89b4c(0x21f)]=!0x1),!this[_0x89b4c(0x252)]())return!0x0;const _0x2d9912=[...this[_0x89b4c(0x1f4)]];for(const _0x574408 of _0x2d9912)_0x574408[_0x89b4c(0x2a2)]=this[_0x89b4c(0x2e2)][_0x89b4c(0x2c7)][_0x89b4c(0x2d9)](_0x574408);const _0x48f847=this[_0x89b4c(0x266)][_0x89b4c(0x2f3)](_0x2d9912),_0x1ccc6c=Z++,_0x44a067=this[_0x89b4c(0x21a)](_0x2d9912),_0x4240bb=await this[_0x89b4c(0x25d)][_0x89b4c(0x1fb)](_0x44a067,_0x44a067[_0x89b4c(0x2db)],_0x48f847);try{return await this[_0x89b4c(0x2c5)](_0x2d9912,_0x4240bb,_0x1ccc6c);}catch(_0x216814){return this[_0x89b4c(0x2a9)](_0x89b4c(0x2f1),_0x216814);}}async[_0x93aba1(0x2c5)](_0x552b61,_0x1ea35a,_0x369090){const _0x2e5211=_0x93aba1;if(_0x2e5211(0x247)in _0x1ea35a)throw _0x1ea35a[_0x2e5211(0x247)];let _0x5b84e3=!0x1;if(_0x1ea35a[_0x2e5211(0x204)]){_0x1ea35a[_0x2e5211(0x22e)]&&(this[_0x2e5211(0x2e5)]=_0x1ea35a[_0x2e5211(0x22e)]),this[_0x2e5211(0x1f4)]=this[_0x2e5211(0x1f4)][_0x2e5211(0x221)](_0x4b6b8a=>!_0x552b61[_0x2e5211(0x25e)](_0x4b6b8a));for(const _0x27a013 of _0x552b61)_0x27a013[_0x2e5211(0x2b0)]=_0x2e5211(0x297)in _0x1ea35a&&_0x1ea35a[_0x2e5211(0x297)]||void 0x0;it(_0x552b61,_0x1ea35a[_0x2e5211(0x290)]-_0x552b61[_0x2e5211(0x2f7)]),this[_0x2e5211(0x292)](_0x552b61);const _0x2afb2d=_0x552b61[_0x2e5211(0x221)](_0x57edde=>{const _0x271728=_0x2e5211;if(!_0x57edde[_0x271728(0x2ca)])return!0x1;const _0x416a10=this[_0x271728(0x2cc)](_0x57edde);return _0x416a10&&!this[_0x271728(0x2bd)][_0x271728(0x214)](_0x416a10);});it(_0x2afb2d,this[_0x2e5211(0x2e2)][_0x2e5211(0x290)]),this[_0x2e5211(0x231)](_0x2afb2d),_0x5b84e3=!0x0,this[_0x2e5211(0x25a)]=this[_0x2e5211(0x29f)];}else{const _0x31e342=this[_0x2e5211(0x2f8)](_0x1ea35a[_0x2e5211(0x287)],_0x1ea35a[_0x2e5211(0x2ac)])[_0x2e5211(0x221)](_0x24a946=>_0x24a946[_0x2e5211(0x2db)]>=this[_0x2e5211(0x2cf)]);_0x31e342[_0x2e5211(0x201)](_0x34646f=>this[_0x2e5211(0x257)](_0x34646f)),this[_0x2e5211(0x1f4)]=this[_0x2e5211(0x1f4)][_0x2e5211(0x221)](_0x272ea3=>!_0x272ea3[_0x2e5211(0x2ca)]||!this[_0x2e5211(0x2bd)][_0x2e5211(0x214)](this[_0x2e5211(0x2cc)](_0x272ea3))),this[_0x2e5211(0x1f4)][_0x2e5211(0x2f7)]&&it(this[_0x2e5211(0x1f4)],this[_0x2e5211(0x1f4)][0x0][_0x2e5211(0x2db)]),await this[_0x2e5211(0x291)](_0x31e342),_0x5b84e3=this[_0x2e5211(0x270)](_0x31e342,_0x1ea35a[_0x2e5211(0x290)],_0x1ea35a[_0x2e5211(0x22e)]),this[_0x2e5211(0x25a)]=Math[_0x2e5211(0x238)](this[_0x2e5211(0x25a)]/0x2);}return _0x5b84e3?!this[_0x2e5211(0x252)]()||(this[_0x2e5211(0x23f)](!0x0),!0x1):this[_0x2e5211(0x2a9)](_0x2e5211(0x2ae));}[_0x93aba1(0x270)](_0x23dc74,_0x44f659,_0x3c23b2){const _0x1ae275=_0x93aba1;try{const _0x3dcb08={'document':this[_0x1ae275(0x2e2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4ba160,operationsB:_0xa5a6e5,originalOperations:_0x30b495}=_0x44e73f(_0x23dc74,this[_0x1ae275(0x1f4)],_0x3dcb08);it(_0x4ba160,this[_0x1ae275(0x2e2)][_0x1ae275(0x290)]),it(_0xa5a6e5,_0x44f659);for(const _0x3fce52 of _0x4ba160){const _0x455005=_0x30b495[_0x1ae275(0x2b7)](_0x3fce52);_0x3fce52[_0x1ae275(0x280)]=_0x455005?_0x455005[_0x1ae275(0x280)]:null;}_0x3c23b2&&(this[_0x1ae275(0x266)][_0x1ae275(0x267)](_0x23dc74,_0x3c23b2),this[_0x1ae275(0x2e5)]=_0x3c23b2),this[_0x1ae275(0x1f4)]=[..._0xa5a6e5],this[_0x1ae275(0x231)](_0x4ba160),this[_0x1ae275(0x292)](_0x23dc74);}catch(_0x4c4988){return console[_0x1ae275(0x247)](_0x4c4988),!0x1;}return!0x0;}[_0x93aba1(0x231)](_0x12ae00,_0x431d0f=!0x1){const _0x1a1bdc=_0x93aba1;this[_0x1a1bdc(0x2ab)][_0x1a1bdc(0x2e6)][_0x1a1bdc(0x21c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5cb2fc=>{const _0x27f293=_0x1a1bdc;for(const _0x8b6242 of _0x12ae00)this[_0x27f293(0x2ec)][_0x27f293(0x2e1)](_0x8b6242),this[_0x27f293(0x257)](_0x8b6242),_0x5cb2fc[_0x27f293(0x23d)][_0x27f293(0x20e)](_0x8b6242),this[_0x27f293(0x2ab)][_0x27f293(0x2e6)][_0x27f293(0x243)](_0x8b6242);});}[_0x93aba1(0x257)](_0x32dd3e){const _0x5a83a7=_0x93aba1,_0x1ab207=this[_0x5a83a7(0x2cc)](_0x32dd3e);_0x1ab207&&this[_0x5a83a7(0x2bd)][_0x5a83a7(0x2e1)](_0x1ab207);}[_0x93aba1(0x2cc)](_0x4813bb){const _0x5df399=_0x93aba1;let _0x3a10c2,_0xc91449;switch(_0x4813bb[_0x5df399(0x28a)]){case _0x5df399(0x2df):_0x3a10c2=_0x4813bb[_0x5df399(0x1f2)][_0x5df399(0x22a)];break;case _0x5df399(0x274):if(_0xc91449=_0x4813bb[_0x5df399(0x29a)],!_0xc91449)return null;_0x3a10c2=_0xc91449[_0x5df399(0x22a)];break;case _0x5df399(0x256):_0x3a10c2=_0x4813bb[_0x5df399(0x22a)];break;case _0x5df399(0x2be):_0x3a10c2=_0x4813bb[_0x5df399(0x1fc)];break;case _0x5df399(0x206):_0x3a10c2=_0x4813bb[_0x5df399(0x236)][_0x5df399(0x22a)];break;default:return null;}return _0x3a10c2[_0x5df399(0x2dc)];}[_0x93aba1(0x292)](_0x1c9784){const _0x240efc=_0x93aba1;_0x1c9784[_0x240efc(0x201)](_0x467a67=>{const _0x314ba0=_0x240efc,_0xb2a98a=_0x467a67[_0x314ba0(0x2f5)]();_0xb2a98a[_0x314ba0(0x280)]=_0x467a67[_0x314ba0(0x280)],_0xb2a98a[_0x314ba0(0x2ca)]=!!_0x467a67[_0x314ba0(0x2ca)],_0xb2a98a[_0x314ba0(0x2b0)]=_0x467a67[_0x314ba0(0x2b0)],_0xb2a98a[_0x314ba0(0x2db)]+=this[_0x314ba0(0x2a3)],_0x467a67[_0x314ba0(0x245)]&&this[_0x314ba0(0x2b5)][_0x314ba0(0x2e1)](_0xb2a98a),this[_0x314ba0(0x25b)][_0x314ba0(0x20e)](_0xb2a98a);});}[_0x93aba1(0x208)](_0x23103e){const _0x3a1c14=_0x93aba1,_0x54ad82=this[_0x3a1c14(0x2ab)][_0x3a1c14(0x268)][_0x3a1c14(0x2b7)](_0x3a1c14(0x263)),_0x557a01=this[_0x3a1c14(0x2ab)][_0x3a1c14(0x283)];_0x23103e||(_0x23103e=_0x23916f(_0x557a01,_0x3a1c14(0x281))),_0x54ad82[_0x3a1c14(0x20a)](_0x23103e,{'title':_0x23916f(_0x557a01,_0x3a1c14(0x288)),'namespace':_0x3a1c14(0x1fa)}),this[_0x3a1c14(0x26d)]=!0x0,clearTimeout(this[_0x3a1c14(0x253)]),this[_0x3a1c14(0x1f4)]=[],this[_0x3a1c14(0x2ab)][_0x3a1c14(0x268)][_0x3a1c14(0x2b7)](_0x12ab0e)[_0x3a1c14(0x2d6)]();}[_0x93aba1(0x28e)](){const _0x210fd2=_0x93aba1;this[_0x210fd2(0x1fe)]||(this[_0x210fd2(0x1fe)]=this[_0x210fd2(0x2ab)][_0x210fd2(0x268)][_0x210fd2(0x2b7)](_0x4633e7)[_0x210fd2(0x2e1)](_0x23916f(this[_0x210fd2(0x2ab)][_0x210fd2(0x283)],_0x210fd2(0x284))));}[_0x93aba1(0x2d0)](){const _0x3fca75=_0x93aba1;this[_0x3fca75(0x1fe)]&&(this[_0x3fca75(0x2ab)][_0x3fca75(0x268)][_0x3fca75(0x2b7)](_0x4633e7)[_0x3fca75(0x28d)](this[_0x3fca75(0x1fe)]),this[_0x3fca75(0x1fe)]=null);}[_0x93aba1(0x21a)](_0x26c8c9){const _0x638cfc=_0x93aba1,_0x197e66=_0x26c8c9[_0x638cfc(0x225)](_0xb96292=>_0xb96292[_0x638cfc(0x2ba)]());return this[_0x638cfc(0x2ad)][_0x638cfc(0x2e8)](_0x197e66);}[_0x93aba1(0x2f8)](_0x2009dc,_0x5532a4){const _0x35fc88=_0x93aba1;return this[_0x35fc88(0x2ad)][_0x35fc88(0x26c)](_0x2009dc)[_0x35fc88(0x225)]((_0x578b37,_0x1f8b6e)=>{const _0x440985=_0x35fc88,_0xe55d5f=_0x440985(0x217)==_0x5532a4[_0x1f8b6e][_0x440985(0x28a)];if(_0x440985(0x24f)==_0x578b37[_0x440985(0x2eb)]){const _0x343f09=_0x578b37[_0x440985(0x1f2)][_0x440985(0x22a)];!this[_0x440985(0x2e2)][_0x440985(0x265)](_0x343f09)&&(this[_0x440985(0x2e2)][_0x440985(0x22c)](_0x440985(0x259),_0x343f09)[_0x440985(0x2dd)]=!0x1);}const _0x553bae=_0x4ffa25[_0x440985(0x272)](_0x578b37,this[_0x440985(0x2e2)]);return _0x553bae[_0x440985(0x2a2)]=_0x578b37[_0x440985(0x2a2)],_0x553bae[_0x440985(0x2ca)]=_0xe55d5f,_0x553bae[_0x440985(0x280)]=_0xe55d5f?null:_0x5532a4[_0x1f8b6e][_0x440985(0x299)],_0x553bae[_0x440985(0x245)]=_0x440985(0x230)===_0x5532a4[_0x1f8b6e][_0x440985(0x28a)],_0x553bae[_0x440985(0x2b0)]=_0x5532a4[_0x1f8b6e][_0x440985(0x2b0)],_0x553bae;});}[_0x93aba1(0x1f3)](){const _0x4f8fc6=_0x93aba1;this[_0x4f8fc6(0x21f)]=!0x0,this[_0x4f8fc6(0x2b8)]()?this[_0x4f8fc6(0x23f)]():this[_0x4f8fc6(0x21f)]=!0x1;}[_0x93aba1(0x2b8)](){const _0xe947ac=_0x93aba1,_0x15348f=this[_0xe947ac(0x2ab)][_0xe947ac(0x268)][_0xe947ac(0x2b7)](_0x2bd27b)[_0xe947ac(0x2d1)][_0xe947ac(0x2b7)](this[_0xe947ac(0x28c)]);return!this[_0xe947ac(0x2ab)][_0xe947ac(0x1f9)]&&!!_0x15348f&&_0x15348f[_0xe947ac(0x2f7)]>0x1&&this[_0xe947ac(0x21f)];}[_0x93aba1(0x252)](){const _0x359b81=_0x93aba1;return this[_0x359b81(0x1f4)][_0x359b81(0x2f7)]>0x0||this[_0x359b81(0x2b8)]();}}export default l;class tt extends Error{}function it(_0x11f3a5,_0x1a0475){const _0x4b68f0=_0x93aba1;for(const _0x385844 of _0x11f3a5)_0x385844[_0x4b68f0(0x2db)]=_0x1a0475++;}class st{[_0x93aba1(0x21e)];[_0x93aba1(0x278)];constructor(_0x2831cf){const _0x5f4155=_0x93aba1;this[_0x5f4155(0x21e)]=_0x2831cf,this[_0x5f4155(0x278)]=new WeakMap();}[_0x93aba1(0x2f3)](_0x2798ea){const _0x4ac804=_0x93aba1;let _0x38bbe9=_0x2798ea[_0x4ac804(0x2f7)];for(;_0x38bbe9--;){const _0x1feee5=_0x2798ea[_0x38bbe9];if(!this[_0x4ac804(0x21e)][_0x4ac804(0x214)](_0x1feee5)){if(!this[_0x4ac804(0x278)][_0x4ac804(0x214)](_0x1feee5)){const _0x3808d2=_0x19a8d7()[_0x4ac804(0x232)](0x1,0x12);this[_0x4ac804(0x278)][_0x4ac804(0x28f)](_0x1feee5,_0x3808d2);}return this[_0x4ac804(0x278)][_0x4ac804(0x2b7)](_0x1feee5);}}}[_0x93aba1(0x267)](_0x9e0365,_0x1b50b3){const _0x5c5d70=_0x93aba1;if(!_0x1b50b3)return;let _0x43280d=_0x9e0365[_0x5c5d70(0x2f7)];for(;_0x43280d--;){const _0x1ac9c2=_0x9e0365[_0x43280d];this[_0x5c5d70(0x21e)][_0x5c5d70(0x214)](_0x1ac9c2)||this[_0x5c5d70(0x278)][_0x5c5d70(0x28f)](_0x1ac9c2,_0x1b50b3);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d80(_0x434220,_0x2b61aa){const _0x590838=_0x5908();return _0x4d80=function(_0x4d80fa,_0x529e23){_0x4d80fa=_0x4d80fa-0x14f;let _0x2dba2b=_0x590838[_0x4d80fa];return _0x2dba2b;},_0x4d80(_0x434220,_0x2b61aa);}const _0x1528ed=_0x4d80;(function(_0x56a8c7,_0x13d1ae){const _0x55bf27=_0x4d80,_0x2f7af2=_0x56a8c7();while(!![]){try{const _0x37da58=-parseInt(_0x55bf27(0x15e))/0x1*(-parseInt(_0x55bf27(0x150))/0x2)+parseInt(_0x55bf27(0x15f))/0x3*(parseInt(_0x55bf27(0x18c))/0x4)+-parseInt(_0x55bf27(0x17c))/0x5+-parseInt(_0x55bf27(0x167))/0x6+parseInt(_0x55bf27(0x174))/0x7*(-parseInt(_0x55bf27(0x173))/0x8)+parseInt(_0x55bf27(0x15a))/0x9+parseInt(_0x55bf27(0x16a))/0xa*(parseInt(_0x55bf27(0x160))/0xb);if(_0x37da58===_0x13d1ae)break;else _0x2f7af2['push'](_0x2f7af2['shift']());}catch(_0x3e2cc6){_0x2f7af2['push'](_0x2f7af2['shift']());}}}(_0x5908,0x86a21));import{ContextPlugin as _0x1b9fd5}from'ckeditor5/src/core.js';import{Collection as _0xbe4b3a,CKEditorError as _0x314f1b}from'ckeditor5/src/utils.js';import _0x3ecfa2 from'./websocketgateway.js';import{Users as _0x2907b0}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1b9fd5{[_0x1528ed(0x153)];[_0x1528ed(0x16d)];[_0x1528ed(0x189)];[_0x1528ed(0x17f)];[_0x1528ed(0x175)];[_0x1528ed(0x16e)];static get[_0x1528ed(0x154)](){const _0x3c256a=_0x1528ed;return _0x3c256a(0x166);}static get[_0x1528ed(0x15c)](){return!0x0;}static get[_0x1528ed(0x157)](){return!0x0;}static get[_0x1528ed(0x177)](){return[_0x3ecfa2,_0x2907b0];}constructor(_0x2fc9c2){const _0x579109=_0x1528ed;super(_0x2fc9c2),this[_0x579109(0x153)]=new Map(),this[_0x579109(0x16d)]=new Map(),this[_0x579109(0x189)]=new _0xbe4b3a(),this[_0x579109(0x17f)]=new Map(),this[_0x579109(0x175)]=0x0,this[_0x579109(0x16e)]=this[_0x579109(0x188)][_0x579109(0x151)][_0x579109(0x182)](_0x2907b0);}[_0x1528ed(0x159)](){const _0x33cd89=_0x1528ed,_0x2e85c5=this[_0x33cd89(0x188)][_0x33cd89(0x151)][_0x33cd89(0x182)](_0x3ecfa2);this[_0x33cd89(0x181)](_0x2e85c5,_0x33cd89(0x170),(_0x419d75,_0x14d7f4,_0x5e4e48)=>{const _0x5e6fdc=_0x33cd89;if(_0x5e6fdc(0x165)!==_0x5e4e48)this[_0x5e6fdc(0x153)][_0x5e6fdc(0x158)](_0x4cc6eb=>_0x4cc6eb[_0x5e6fdc(0x185)]()),this[_0x5e6fdc(0x16d)][_0x5e6fdc(0x158)](_0x3c85ef=>_0x3c85ef[_0x5e6fdc(0x185)]()),this[_0x5e6fdc(0x189)][_0x5e6fdc(0x185)]();else{for(const [_0x492f01,_0x205fb0]of this[_0x5e6fdc(0x17f)])for(const _0x59b240 of _0x205fb0)this[_0x5e6fdc(0x187)](_0x492f01,_0x59b240);}}),this[_0x33cd89(0x155)](_0x2e85c5[_0x33cd89(0x178)]['me'],!0x0);}[_0x1528ed(0x186)](_0x4da037,_0x5c601a){const _0x29aa12=_0x1528ed;if(this[_0x29aa12(0x17f)][_0x29aa12(0x18a)](_0x4da037))throw new _0x314f1b(_0x29aa12(0x176),null,{'channelId':_0x4da037});this[_0x29aa12(0x17f)][_0x29aa12(0x16c)](_0x4da037,_0x5c601a),this[_0x29aa12(0x153)][_0x29aa12(0x16c)](_0x4da037,new _0xbe4b3a()),this[_0x29aa12(0x16d)][_0x29aa12(0x16c)](_0x4da037,new _0xbe4b3a()),this[_0x29aa12(0x181)](_0x5c601a,_0x29aa12(0x168),(_0x1efc7f,_0x2a1e42)=>this[_0x29aa12(0x187)](_0x4da037,_0x2a1e42)),this[_0x29aa12(0x181)](_0x5c601a,_0x29aa12(0x16b),(_0x15246a,_0x5e8bce)=>this[_0x29aa12(0x172)](_0x4da037,_0x5e8bce));for(const _0x1c0679 of _0x5c601a)this[_0x29aa12(0x187)](_0x4da037,_0x1c0679);}[_0x1528ed(0x171)](_0x5e5cc9){const _0x1f0df8=_0x1528ed;if(!this[_0x1f0df8(0x17f)][_0x1f0df8(0x18a)](_0x5e5cc9))throw new _0x314f1b(_0x1f0df8(0x169),null,{'channelId':_0x5e5cc9});const _0x3c70c5=this[_0x1f0df8(0x17f)][_0x1f0df8(0x182)](_0x5e5cc9);this[_0x1f0df8(0x18b)](_0x3c70c5);for(const _0x4fb7a0 of _0x3c70c5)_0x1f0df8(0x165)===this[_0x1f0df8(0x188)][_0x1f0df8(0x151)][_0x1f0df8(0x182)](_0x3ecfa2)[_0x1f0df8(0x184)]&&this[_0x1f0df8(0x172)](_0x5e5cc9,_0x4fb7a0);this[_0x1f0df8(0x17f)][_0x1f0df8(0x15b)](_0x5e5cc9),this[_0x1f0df8(0x153)][_0x1f0df8(0x15b)](_0x5e5cc9),this[_0x1f0df8(0x16d)][_0x1f0df8(0x15b)](_0x5e5cc9);}get[_0x1528ed(0x15d)](){const _0x2ec593=_0x1528ed;return this[_0x2ec593(0x188)][_0x2ec593(0x151)][_0x2ec593(0x182)](_0x3ecfa2)[_0x2ec593(0x178)][_0x2ec593(0x17a)];}[_0x1528ed(0x163)](_0x15a309){const _0x3ff1dd=_0x1528ed;for(const _0x23bd54 of this[_0x3ff1dd(0x153)][_0x3ff1dd(0x16f)]())for(const _0x21c638 of _0x23bd54)if(_0x21c638['id']===_0x15a309)return _0x21c638[_0x3ff1dd(0x17e)];}[_0x1528ed(0x14f)](_0x19cfc1,_0x34faeb){const _0x1963b=_0x1528ed,_0x4bb224=_0x34faeb?[this[_0x1963b(0x153)][_0x1963b(0x182)](_0x34faeb)]:this[_0x1963b(0x153)][_0x1963b(0x16f)](),_0x49b22b=new Set();for(const _0x47b9f2 of _0x4bb224)for(const _0xccc347 of _0x47b9f2)_0xccc347[_0x1963b(0x17e)]['id']===_0x19cfc1['id']&&_0x49b22b[_0x1963b(0x168)](_0xccc347['id']);return _0x49b22b;}[_0x1528ed(0x162)](_0x14ee49){const _0x3a50e2=_0x1528ed;for(const _0x5e72ac of this[_0x3a50e2(0x153)][_0x3a50e2(0x16f)]())for(const _0x3f978d of _0x5e72ac)if(_0x3f978d[_0x3a50e2(0x17e)]===_0x14ee49)return _0x3f978d[_0x3a50e2(0x152)];}[_0x1528ed(0x187)](_0x49a45c,_0x34e373){const _0x47d3f9=_0x1528ed;if(_0x47d3f9(0x165)!==this[_0x47d3f9(0x188)][_0x47d3f9(0x151)][_0x47d3f9(0x182)](_0x3ecfa2)[_0x47d3f9(0x184)])return;const _0x2c9142=_0x34e373[_0x47d3f9(0x17e)],_0x19d930=this[_0x47d3f9(0x16e)][_0x47d3f9(0x161)](_0x2c9142['id'])||this[_0x47d3f9(0x155)](_0x2c9142),_0x59eebf=Object[_0x47d3f9(0x17d)]({},_0x34e373,{'user':_0x19d930});this[_0x47d3f9(0x153)][_0x47d3f9(0x182)](_0x49a45c)[_0x47d3f9(0x168)](_0x59eebf);const _0x4c2ee0=this[_0x47d3f9(0x16d)][_0x47d3f9(0x182)](_0x49a45c);_0x4c2ee0[_0x47d3f9(0x18a)](_0x19d930['id'])||_0x4c2ee0[_0x47d3f9(0x168)](_0x19d930),this[_0x47d3f9(0x189)][_0x47d3f9(0x18a)](_0x19d930['id'])||this[_0x47d3f9(0x189)][_0x47d3f9(0x168)](_0x19d930,_0x19d930[_0x47d3f9(0x183)]?0x0:void 0x0),this[_0x47d3f9(0x164)](_0x47d3f9(0x18d)+_0x49a45c,{'channelId':_0x49a45c,'session':_0x59eebf});}[_0x1528ed(0x172)](_0x4bb2a7,_0x36d18c){const _0x52d198=_0x1528ed;if(_0x52d198(0x165)!==this[_0x52d198(0x188)][_0x52d198(0x151)][_0x52d198(0x182)](_0x3ecfa2)[_0x52d198(0x184)])return;const _0x2bb015=this[_0x52d198(0x16d)][_0x52d198(0x182)](_0x4bb2a7),_0x4eb38a=_0x36d18c[_0x52d198(0x17e)];_0x4eb38a['id']&&(this[_0x52d198(0x153)][_0x52d198(0x182)](_0x4bb2a7)[_0x52d198(0x16b)](_0x36d18c['id']),_0x2bb015[_0x52d198(0x18a)](_0x4eb38a['id'])&&!this[_0x52d198(0x14f)](_0x4eb38a,_0x4bb2a7)[_0x52d198(0x179)]&&_0x2bb015[_0x52d198(0x16b)](_0x4eb38a['id']),this[_0x52d198(0x189)][_0x52d198(0x182)](_0x4eb38a['id'])&&!this[_0x52d198(0x14f)](_0x4eb38a)[_0x52d198(0x179)]&&this[_0x52d198(0x189)][_0x52d198(0x16b)](_0x4eb38a['id']));}[_0x1528ed(0x155)](_0x19126d,_0x87af0){const _0x135f98=_0x1528ed,_0x4eee17=this[_0x135f98(0x16e)][_0x135f98(0x156)](_0x19126d);return _0x87af0&&this[_0x135f98(0x16e)][_0x135f98(0x180)](_0x19126d['id']),_0x4eee17[_0x135f98(0x17b)]=this[_0x135f98(0x175)]++,_0x4eee17;}}function _0x5908(){const _0x58ae83=['mySessionId','23daIvRN','69SmkpeE','11NESvSa','getUser','getUserRole','getUserBySessionId','fire','connected','Sessions','5204190kEpCsw','add','sessions-unregister-not-exist','4949630nZhThr','remove','set','channelConnectedUsers','_users','values','change:state','unregister','_handleSessionRemove','175192pFNSEy','84pmorRL','_uniqueUsersCount','sessions-register-already-registered','requires','connection','size','sessionId','orderNumber','942780fFyakq','assign','user','_registeredSessions','defineMe','listenTo','get','isMe','state','clear','register','_handleSessionAdd','context','allConnectedUsers','has','stopListening','85220LvLxaj','sessionAdd:','getUserSessions','8186bAkdbj','plugins','role','channelSessions','pluginName','_createUser','addUser','isPremiumPlugin','forEach','init','7119441KOPkJH','delete','isOfficialPlugin'];_0x5908=function(){return _0x58ae83;};return _0x5908();}
23
+ const _0x8d9606=_0x1163;(function(_0x413226,_0x3a1601){const _0x374f52=_0x1163,_0x2e2f12=_0x413226();while(!![]){try{const _0x252e3b=-parseInt(_0x374f52(0xfe))/0x1*(parseInt(_0x374f52(0xf7))/0x2)+-parseInt(_0x374f52(0xe9))/0x3+-parseInt(_0x374f52(0xdd))/0x4+-parseInt(_0x374f52(0xe0))/0x5+-parseInt(_0x374f52(0xf3))/0x6+parseInt(_0x374f52(0xfa))/0x7*(parseInt(_0x374f52(0xd6))/0x8)+parseInt(_0x374f52(0xe4))/0x9;if(_0x252e3b===_0x3a1601)break;else _0x2e2f12['push'](_0x2e2f12['shift']());}catch(_0x4a4067){_0x2e2f12['push'](_0x2e2f12['shift']());}}}(_0xa578,0xe2e48));import{ContextPlugin as _0x440020}from'ckeditor5/src/core.js';import{Collection as _0x22275d,CKEditorError as _0xb93a91}from'ckeditor5/src/utils.js';function _0x1163(_0x24b3db,_0x4e4f32){const _0xa5786b=_0xa578();return _0x1163=function(_0x11633f,_0x797c66){_0x11633f=_0x11633f-0xc7;let _0x50e5a8=_0xa5786b[_0x11633f];return _0x50e5a8;},_0x1163(_0x24b3db,_0x4e4f32);}import _0x551630 from'./websocketgateway.js';import{Users as _0x343cbc}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xa578(){const _0x112a38=['pluginName','8467860caclUi','orderNumber','plugins','user','44NJDBVr','sessions-register-already-registered','addUser','161987ZjXwZA','channelSessions','connection','getUserSessions','6556SmrYDM','sessionAdd:','isMe','assign','fire','getUser','size','isOfficialPlugin','defineMe','forEach','sessionId','_handleSessionRemove','add','sessions-unregister-not-exist','change:state','Sessions','requires','_handleSessionAdd','role','_uniqueUsersCount','listenTo','216vZALBo','set','allConnectedUsers','values','stopListening','_users','getUserRole','2430168KFLQzi','init','register','8244740bGrFNm','mySessionId','getUserBySessionId','isPremiumPlugin','48278880FWEkUE','unregister','context','remove','state','3743229JYhOjx','has','_registeredSessions','_createUser','connected','channelConnectedUsers','delete','get','clear'];_0xa578=function(){return _0x112a38;};return _0xa578();}export default class i extends _0x440020{[_0x8d9606(0xfb)];[_0x8d9606(0xee)];[_0x8d9606(0xd8)];[_0x8d9606(0xeb)];[_0x8d9606(0xd4)];[_0x8d9606(0xdb)];static get[_0x8d9606(0xf2)](){const _0x2dd737=_0x8d9606;return _0x2dd737(0xd0);}static get[_0x8d9606(0xc8)](){return!0x0;}static get[_0x8d9606(0xe3)](){return!0x0;}static get[_0x8d9606(0xd1)](){return[_0x551630,_0x343cbc];}constructor(_0x5c2dff){const _0x14026e=_0x8d9606;super(_0x5c2dff),this[_0x14026e(0xfb)]=new Map(),this[_0x14026e(0xee)]=new Map(),this[_0x14026e(0xd8)]=new _0x22275d(),this[_0x14026e(0xeb)]=new Map(),this[_0x14026e(0xd4)]=0x0,this[_0x14026e(0xdb)]=this[_0x14026e(0xe6)][_0x14026e(0xf5)][_0x14026e(0xf0)](_0x343cbc);}[_0x8d9606(0xde)](){const _0x58222d=_0x8d9606,_0xdd7811=this[_0x58222d(0xe6)][_0x58222d(0xf5)][_0x58222d(0xf0)](_0x551630);this[_0x58222d(0xd5)](_0xdd7811,_0x58222d(0xcf),(_0x4e0299,_0x5ccbab,_0x496bd1)=>{const _0x305093=_0x58222d;if(_0x305093(0xed)!==_0x496bd1)this[_0x305093(0xfb)][_0x305093(0xca)](_0x4ca748=>_0x4ca748[_0x305093(0xf1)]()),this[_0x305093(0xee)][_0x305093(0xca)](_0x31b191=>_0x31b191[_0x305093(0xf1)]()),this[_0x305093(0xd8)][_0x305093(0xf1)]();else{for(const [_0xee7081,_0x42c9c2]of this[_0x305093(0xeb)])for(const _0x3f6e7d of _0x42c9c2)this[_0x305093(0xd2)](_0xee7081,_0x3f6e7d);}}),this[_0x58222d(0xec)](_0xdd7811[_0x58222d(0xfc)]['me'],!0x0);}[_0x8d9606(0xdf)](_0x1e4050,_0x404848){const _0x302bb5=_0x8d9606;if(this[_0x302bb5(0xeb)][_0x302bb5(0xea)](_0x1e4050))throw new _0xb93a91(_0x302bb5(0xf8),null,{'channelId':_0x1e4050});this[_0x302bb5(0xeb)][_0x302bb5(0xd7)](_0x1e4050,_0x404848),this[_0x302bb5(0xfb)][_0x302bb5(0xd7)](_0x1e4050,new _0x22275d()),this[_0x302bb5(0xee)][_0x302bb5(0xd7)](_0x1e4050,new _0x22275d()),this[_0x302bb5(0xd5)](_0x404848,_0x302bb5(0xcd),(_0x29d6a9,_0x534dab)=>this[_0x302bb5(0xd2)](_0x1e4050,_0x534dab)),this[_0x302bb5(0xd5)](_0x404848,_0x302bb5(0xe7),(_0x2eb929,_0x4d9c4b)=>this[_0x302bb5(0xcc)](_0x1e4050,_0x4d9c4b));for(const _0x36c31d of _0x404848)this[_0x302bb5(0xd2)](_0x1e4050,_0x36c31d);}[_0x8d9606(0xe5)](_0x1fdbe9){const _0x30ea24=_0x8d9606;if(!this[_0x30ea24(0xeb)][_0x30ea24(0xea)](_0x1fdbe9))throw new _0xb93a91(_0x30ea24(0xce),null,{'channelId':_0x1fdbe9});const _0x4174ce=this[_0x30ea24(0xeb)][_0x30ea24(0xf0)](_0x1fdbe9);this[_0x30ea24(0xda)](_0x4174ce);for(const _0x5c116d of _0x4174ce)_0x30ea24(0xed)===this[_0x30ea24(0xe6)][_0x30ea24(0xf5)][_0x30ea24(0xf0)](_0x551630)[_0x30ea24(0xe8)]&&this[_0x30ea24(0xcc)](_0x1fdbe9,_0x5c116d);this[_0x30ea24(0xeb)][_0x30ea24(0xef)](_0x1fdbe9),this[_0x30ea24(0xfb)][_0x30ea24(0xef)](_0x1fdbe9),this[_0x30ea24(0xee)][_0x30ea24(0xef)](_0x1fdbe9);}get[_0x8d9606(0xe1)](){const _0x5b4942=_0x8d9606;return this[_0x5b4942(0xe6)][_0x5b4942(0xf5)][_0x5b4942(0xf0)](_0x551630)[_0x5b4942(0xfc)][_0x5b4942(0xcb)];}[_0x8d9606(0xe2)](_0x575f5c){const _0x5d1743=_0x8d9606;for(const _0x4f44b5 of this[_0x5d1743(0xfb)][_0x5d1743(0xd9)]())for(const _0x513e3b of _0x4f44b5)if(_0x513e3b['id']===_0x575f5c)return _0x513e3b[_0x5d1743(0xf6)];}[_0x8d9606(0xfd)](_0x3abaa5,_0x3578ce){const _0x165539=_0x8d9606,_0x180927=_0x3578ce?[this[_0x165539(0xfb)][_0x165539(0xf0)](_0x3578ce)]:this[_0x165539(0xfb)][_0x165539(0xd9)](),_0x27c231=new Set();for(const _0x2e70ae of _0x180927)for(const _0x17e255 of _0x2e70ae)_0x17e255[_0x165539(0xf6)]['id']===_0x3abaa5['id']&&_0x27c231[_0x165539(0xcd)](_0x17e255['id']);return _0x27c231;}[_0x8d9606(0xdc)](_0x30a42f){const _0x107686=_0x8d9606;for(const _0x19fe95 of this[_0x107686(0xfb)][_0x107686(0xd9)]())for(const _0x51f54f of _0x19fe95)if(_0x51f54f[_0x107686(0xf6)]===_0x30a42f)return _0x51f54f[_0x107686(0xd3)];}[_0x8d9606(0xd2)](_0x420b46,_0x3f1257){const _0x9bdecc=_0x8d9606;if(_0x9bdecc(0xed)!==this[_0x9bdecc(0xe6)][_0x9bdecc(0xf5)][_0x9bdecc(0xf0)](_0x551630)[_0x9bdecc(0xe8)])return;const _0x21b7d4=_0x3f1257[_0x9bdecc(0xf6)],_0x3ca166=this[_0x9bdecc(0xdb)][_0x9bdecc(0x103)](_0x21b7d4['id'])||this[_0x9bdecc(0xec)](_0x21b7d4),_0x3d618e=Object[_0x9bdecc(0x101)]({},_0x3f1257,{'user':_0x3ca166});this[_0x9bdecc(0xfb)][_0x9bdecc(0xf0)](_0x420b46)[_0x9bdecc(0xcd)](_0x3d618e);const _0x2ef6be=this[_0x9bdecc(0xee)][_0x9bdecc(0xf0)](_0x420b46);_0x2ef6be[_0x9bdecc(0xea)](_0x3ca166['id'])||_0x2ef6be[_0x9bdecc(0xcd)](_0x3ca166),this[_0x9bdecc(0xd8)][_0x9bdecc(0xea)](_0x3ca166['id'])||this[_0x9bdecc(0xd8)][_0x9bdecc(0xcd)](_0x3ca166,_0x3ca166[_0x9bdecc(0x100)]?0x0:void 0x0),this[_0x9bdecc(0x102)](_0x9bdecc(0xff)+_0x420b46,{'channelId':_0x420b46,'session':_0x3d618e});}[_0x8d9606(0xcc)](_0x50f452,_0x21cf24){const _0x57de0e=_0x8d9606;if(_0x57de0e(0xed)!==this[_0x57de0e(0xe6)][_0x57de0e(0xf5)][_0x57de0e(0xf0)](_0x551630)[_0x57de0e(0xe8)])return;const _0xbb35e7=this[_0x57de0e(0xee)][_0x57de0e(0xf0)](_0x50f452),_0x3657eb=_0x21cf24[_0x57de0e(0xf6)];_0x3657eb['id']&&(this[_0x57de0e(0xfb)][_0x57de0e(0xf0)](_0x50f452)[_0x57de0e(0xe7)](_0x21cf24['id']),_0xbb35e7[_0x57de0e(0xea)](_0x3657eb['id'])&&!this[_0x57de0e(0xfd)](_0x3657eb,_0x50f452)[_0x57de0e(0xc7)]&&_0xbb35e7[_0x57de0e(0xe7)](_0x3657eb['id']),this[_0x57de0e(0xd8)][_0x57de0e(0xf0)](_0x3657eb['id'])&&!this[_0x57de0e(0xfd)](_0x3657eb)[_0x57de0e(0xc7)]&&this[_0x57de0e(0xd8)][_0x57de0e(0xe7)](_0x3657eb['id']));}[_0x8d9606(0xec)](_0x3d4ba9,_0x25f687){const _0x5344b9=_0x8d9606,_0x44f7fe=this[_0x5344b9(0xdb)][_0x5344b9(0xf9)](_0x3d4ba9);return _0x25f687&&this[_0x5344b9(0xdb)][_0x5344b9(0xc9)](_0x3d4ba9['id']),_0x44f7fe[_0x5344b9(0xf4)]=this[_0x5344b9(0xd4)]++,_0x44f7fe;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45b121=_0x5ede;function _0x5ede(_0x14241f,_0x3d0a75){const _0x1f479c=_0x1f47();return _0x5ede=function(_0x5edea5,_0x324ba8){_0x5edea5=_0x5edea5-0x86;let _0x5c7365=_0x1f479c[_0x5edea5];return _0x5c7365;},_0x5ede(_0x14241f,_0x3d0a75);}function _0x1f47(){const _0x52b2e8=['isOfficialPlugin','createUIElement','$text','createUserMarkerOperations','createElement','userPositionMarker','set','orderNumber','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','marker','getAttribute','destroy','conversion','469lwfKIm','isCollapsed','mouseenter','Escape','isObject','ck-user__marker-tooltip','size','plugins','62196SnLvwk','parent','isSimilar','user:position','ck-user__marker\x20','getSelectionClass','removeMarker','init','tableCell','name','root','user:','classList','4DKTfLh','model','getPositions','delete','render','mouseleave','getRange','getUserBySessionId','view','ck-user__selection','nodeAfter','highest','newRange','split','addMarker','isLimit','user:range','schema','change','mySessionId','getMarkerClass','editing','markerNameToElements','user:range:','12eXuFec','start','stopListening','has','remove','requires','false','color','update:user:range','toDomElement','getCustomProperty','3CaozIH','UserMarkers','for','get','undo','pluginName','isPremiumPlugin','setAttribute','applyOperation','element','markerToHighlight','getFirstRange','20WGUlfE','createRange','markers','getContainedElement','getStart','hasDomSelection','batch','contenteditable','599827VYpDlJ','markerName','afterInit','rootName','clear','_createdBatches','3303655RnLbZS','5966685oHBYBA','change:range','enqueueChange','deletionPosition','reconvertMarker','getNearestSelectionRange','hasContent','outerHTML','updateMarker','span','_domEmitter','toRange','commands','listenTo','spellcheck','markerRange','2601800HlOogz','oldRange','document','8716912ghOFrv','addEventListener','add','markerToElement','selection','user:position:','removeClass','checkChild','isDocumentOperation','detach','editor','textContent','startsWith','fromRange','end','data-session-id','28118981RAzdXK','type','innerHTML','$graveyard','mapper','isInline','ck-user__marker_hovered','keydown','editingDowncast','setCustomProperty'];_0x1f47=function(){return _0x52b2e8;};return _0x1f47();}(function(_0x3ddf5d,_0x14c237){const _0x4a9de3=_0x5ede,_0x375e3b=_0x3ddf5d();while(!![]){try{const _0x4a1dd6=-parseInt(_0x4a9de3(0x100))/0x1+-parseInt(_0x4a9de3(0x8a))/0x2*(-parseInt(_0x4a9de3(0xec))/0x3)+parseInt(_0x4a9de3(0xc9))/0x4*(-parseInt(_0x4a9de3(0x106))/0x5)+-parseInt(_0x4a9de3(0xbc))/0x6*(-parseInt(_0x4a9de3(0xb4))/0x7)+-parseInt(_0x4a9de3(0x8d))/0x8+-parseInt(_0x4a9de3(0x107))/0x9*(parseInt(_0x4a9de3(0xf8))/0xa)+parseInt(_0x4a9de3(0x9d))/0xb*(parseInt(_0x4a9de3(0xe1))/0xc);if(_0x4a1dd6===_0x14c237)break;else _0x375e3b['push'](_0x375e3b['shift']());}catch(_0x39caed){_0x375e3b['push'](_0x375e3b['shift']());}}}(_0x1f47,0xd5c47));import{Plugin as _0x208845}from'ckeditor5/src/core.js';import{global as _0x543bd6,DomEmitterMixin as _0x279998}from'ckeditor5/src/utils.js';import _0x3e292b from'./sessions.js';import{LiveRange as _0x322e6d}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x208845{[_0x45b121(0x111)]=new(_0x279998())();static get[_0x45b121(0xe6)](){return[_0x3e292b];}static get[_0x45b121(0xf1)](){const _0x4e0814=_0x45b121;return _0x4e0814(0xed);}static get[_0x45b121(0xa7)](){return!0x0;}static get[_0x45b121(0xf2)](){return!0x0;}[_0x45b121(0xc3)](){const _0x37fc56=_0x45b121,_0x3f27f8=this[_0x37fc56(0x97)],_0x3a0fa4=_0x3f27f8[_0x37fc56(0xbb)][_0x37fc56(0xef)](_0x3e292b);_0x3f27f8[_0x37fc56(0xb3)][_0x37fc56(0xee)](_0x37fc56(0xa5))[_0x37fc56(0x90)]({'model':_0x37fc56(0xbf),'view':(_0x127571,{writer:_0x46699b})=>function(_0x1a8cca,_0x433c70,_0x453aa7,_0x44bae2){const _0x52649b=_0x37fc56,_0x13bdae=_0x1a8cca[_0x52649b(0x101)][_0x52649b(0xd6)](':')[0x2],_0x137769=_0x453aa7[_0x52649b(0xd0)](_0x13bdae);if(!_0x137769||_0x13bdae===_0x453aa7[_0x52649b(0xdc)])return;if(!_0x44bae2[_0x52649b(0xca)][_0x52649b(0xda)][_0x52649b(0x94)](_0x1a8cca[_0x52649b(0x89)][_0x52649b(0xe2)],_0x52649b(0xa9)))return;const _0x17b763={'class':_0x52649b(0xc0)+_0x137769[_0x52649b(0xe8)][_0x52649b(0xdd)](),'data-name':_0x137769[_0x52649b(0xc5)],'data-session-id':_0x13bdae},_0x861d65=_0x44bae2[_0x52649b(0xca)][_0x52649b(0xfa)][_0x52649b(0xef)](_0x1a8cca[_0x52649b(0x101)]),_0x385822=_0x861d65[_0x52649b(0xfc)](),_0x3a8cfe=_0x385822[_0x52649b(0xd3)],_0x3c1da9=_0x44bae2[_0x52649b(0xca)][_0x52649b(0xda)];if(_0x3a8cfe&&_0x3c1da9[_0x52649b(0xb8)](_0x3a8cfe)&&_0x3c1da9[_0x52649b(0xa2)](_0x3a8cfe)&&!_0x44bae2[_0x52649b(0xca)][_0x52649b(0xfa)][_0x52649b(0xef)](_0x52649b(0xe0)+_0x13bdae)[_0x52649b(0xcf)]()[_0x52649b(0xb5)])return;const _0x5078e2=_0x385822[_0x52649b(0xbd)];return _0x44bae2[_0x52649b(0xca)][_0x52649b(0xda)][_0x52649b(0xd8)](_0x5078e2)&&!_0x44bae2[_0x52649b(0xca)][_0x52649b(0x10d)](_0x5078e2)&&(_0x17b763[_0x52649b(0xff)]=!0x1),function(_0x247999,_0x451034,_0x2007e7){const _0x4e09a2=_0x52649b,_0x21df33=_0x247999[_0x4e09a2(0xa8)](_0x4e09a2(0x110),_0x451034);return _0x247999[_0x4e09a2(0xa6)](_0x4e09a2(0xac),!0x0,_0x21df33),_0x21df33[_0x4e09a2(0xcd)]=function(_0x28cb45){const _0x585b99=_0x4e09a2,_0x48d300=this[_0x585b99(0xea)](_0x28cb45),_0x9b34e6=document[_0x585b99(0xab)](_0x585b99(0x110));return _0x9b34e6[_0x585b99(0xc8)][_0x585b99(0x8f)](_0x585b99(0xb9)),_0x9b34e6[_0x585b99(0xf3)](_0x585b99(0xff),_0x585b99(0xe7)),_0x9b34e6[_0x585b99(0xf3)](_0x585b99(0x88),_0x585b99(0xe7)),_0x9b34e6[_0x585b99(0x98)]=_0x2007e7[_0x585b99(0xc5)],_0x48d300[_0x585b99(0x9f)]=_0x585b99(0xaf)+_0x9b34e6[_0x585b99(0x10e)]+'⁠',_0x48d300[_0x585b99(0x8e)](_0x585b99(0xb6),()=>{const _0x323d43=_0x585b99;_0x48d300[_0x323d43(0xc8)][_0x323d43(0x8f)](_0x323d43(0xa3));}),_0x48d300[_0x585b99(0x8e)](_0x585b99(0xce),()=>{const _0x38ece0=_0x585b99;_0x48d300[_0x38ece0(0xc8)][_0x38ece0(0xe5)](_0x38ece0(0xa3));}),_0x48d300;},_0x21df33[_0x4e09a2(0xbe)]=function(_0x19d88b){const _0x373589=_0x4e09a2;return!(!this[_0x373589(0xeb)](_0x373589(0xac))||!_0x19d88b[_0x373589(0xeb)](_0x373589(0xac))||this[_0x373589(0xb1)](_0x373589(0x9c))!=_0x19d88b[_0x373589(0xb1)](_0x373589(0x9c)));},_0x21df33;}(_0x433c70,_0x17b763,_0x137769);}(_0x127571,_0x46699b,_0x3a0fa4,_0x3f27f8)}),_0x3f27f8[_0x37fc56(0xb3)][_0x37fc56(0xee)](_0x37fc56(0xa5))[_0x37fc56(0xf6)]({'model':_0x37fc56(0xd9),'view':_0x3d4046=>function(_0x305185,_0x353e5f){const _0x841a7=_0x37fc56,_0x4d82db=_0x305185[_0x841a7(0x101)][_0x841a7(0xd6)](':')[0x2];if(_0x4d82db===_0x353e5f[_0x841a7(0xdc)])return null;const _0x75a664=_0x353e5f[_0x841a7(0xd0)](_0x4d82db);if(!_0x75a664)return{'id':_0x4d82db,'classes':[]};return{'id':_0x4d82db,'classes':[_0x841a7(0xd2),_0x75a664[_0x841a7(0xe8)][_0x841a7(0xc1)]()],'attributes':{'data-session-id':_0x4d82db},'priority':0x7d0+_0x75a664[_0x841a7(0xae)]};}(_0x3d4046,_0x3a0fa4)}),function(_0x37bb6e){const _0x14f3f1=_0x37fc56,_0x189b66=_0x37bb6e[_0x14f3f1(0xca)],_0x4f5460=new Map(),_0x540b9e=_0x37bb6e[_0x14f3f1(0xbb)][_0x14f3f1(0xef)](_0x3e292b);_0x189b66[_0x14f3f1(0xfa)]['on'](_0x14f3f1(0xe9),(_0x3b92ee,_0x1ba796,_0x38e953,_0x1dbe2e)=>{const _0x43f592=_0x14f3f1;if(!_0x1dbe2e&&_0x4f5460[_0x43f592(0xef)](_0x1ba796[_0x43f592(0xc5)]))return _0x4f5460[_0x43f592(0xef)](_0x1ba796[_0x43f592(0xc5)])[_0x43f592(0x96)](),void _0x4f5460[_0x43f592(0xcc)](_0x1ba796[_0x43f592(0xc5)]);const _0x13202e=_0x1ba796[_0x43f592(0xc5)][_0x43f592(0xd6)](':')[0x2];if(_0x13202e===_0x540b9e[_0x43f592(0xdc)])return;const _0x9be00a=_0x43f592(0x92)+_0x13202e;_0x189b66[_0x43f592(0xfa)][_0x43f592(0xe4)](_0x9be00a)&&_0x37bb6e[_0x43f592(0xde)][_0x43f592(0x10b)](_0x9be00a),_0x1ba796['on'](_0x43f592(0x108),(_0x58ecb3,_0x4b2f64,_0x2178bd)=>{const _0x42fb5d=_0x43f592;if(_0x42fb5d(0xa0)!=_0x4b2f64[_0x42fb5d(0xc6)][_0x42fb5d(0x103)]&&_0x42fb5d(0xa0)==_0x1ba796[_0x42fb5d(0xcf)]()[_0x42fb5d(0xc6)][_0x42fb5d(0x103)]&&!_0x4f5460[_0x42fb5d(0xe4)](_0x1ba796[_0x42fb5d(0xc5)])){const _0x1b37f3=_0x189b66[_0x42fb5d(0xda)][_0x42fb5d(0x10c)](_0x2178bd[_0x42fb5d(0x10a)]);if(_0x1b37f3){const _0x5c1876=_0x322e6d[_0x42fb5d(0x9a)](_0x1b37f3);_0x4f5460[_0x42fb5d(0xad)](_0x1ba796[_0x42fb5d(0xc5)],_0x5c1876),_0x5c1876['on'](_0x42fb5d(0x108),(_0x2bce44,_0x2643c6,_0x6d14ae)=>{const _0x26626b=_0x42fb5d;if(_0x26626b(0xa0)==_0x5c1876[_0x26626b(0xc6)][_0x26626b(0x103)]){const _0x18341f=_0x189b66[_0x26626b(0xda)][_0x26626b(0x10c)](_0x6d14ae[_0x26626b(0x10a)]);_0x18341f?(_0x5c1876[_0x26626b(0xe2)]=_0x18341f[_0x26626b(0xe2)],_0x5c1876[_0x26626b(0x9b)]=_0x18341f[_0x26626b(0x9b)]):(_0x4f5460[_0x26626b(0xcc)](_0x1ba796[_0x26626b(0xc5)]),_0x5c1876[_0x26626b(0x96)]());}});}}});}),_0x189b66[_0x14f3f1(0x8c)]['on'](_0x14f3f1(0xdb),()=>{const _0x4b6e55=_0x14f3f1;_0x4f5460[_0x4b6e55(0xba)]>0x0&&_0x189b66[_0x4b6e55(0x109)]({'isUndoable':!0x1},_0x214e2d=>{const _0xdcd336=_0x4b6e55;for(const [_0x4096df,_0x524b70]of _0x4f5460)_0xdcd336(0xa0)==_0x189b66[_0xdcd336(0xfa)][_0xdcd336(0xef)](_0x4096df)[_0xdcd336(0xcf)]()[_0xdcd336(0xc6)][_0xdcd336(0x103)]&&(te(_0x4096df[_0xdcd336(0xd6)](':')[0x2],_0x524b70[_0xdcd336(0x112)](),_0x189b66,_0x214e2d),_0x524b70[_0xdcd336(0x96)]());_0x4f5460[_0xdcd336(0x104)]();});});}(_0x3f27f8),this[_0x37fc56(0x111)][_0x37fc56(0x87)](_0x543bd6[_0x37fc56(0x8c)],_0x37fc56(0xa4),(_0x1eda47,{key:_0x4f7240})=>{const _0x2af9db=_0x37fc56;_0x2af9db(0xb7)===_0x4f7240&&function(_0xdf1fee){const _0x24740c=_0x2af9db;_0xdf1fee[_0x24740c(0xde)][_0x24740c(0xd1)][_0x24740c(0xdb)](_0x2dce12=>{const _0x2d6401=_0x24740c;for(const _0x1717c8 of _0xdf1fee[_0x2d6401(0xca)][_0x2d6401(0xfa)]){if(!_0x1717c8[_0x2d6401(0xc5)][_0x2d6401(0x99)](_0x2d6401(0xbf)))continue;const _0x1d4933=_0xdf1fee[_0x2d6401(0xde)][_0x2d6401(0xa1)][_0x2d6401(0xdf)](_0x1717c8[_0x2d6401(0xc5)]);if(_0x1d4933){for(const _0x38268c of _0x1d4933)_0x2dce12[_0x2d6401(0x93)](_0x2d6401(0xa3),_0x38268c);}}});}(_0x3f27f8);},{'useCapture':!0x0});}[_0x45b121(0x102)](){const _0x176892=_0x45b121,_0x38e97c=this[_0x176892(0x97)],_0xf807e8=_0x38e97c[_0x176892(0x86)][_0x176892(0xef)](_0x176892(0xf0));_0xf807e8&&_0x38e97c[_0x176892(0xca)]['on'](_0x176892(0xf4),(_0x498f3f,_0x3d1d33)=>{const _0xb2b7ed=_0x176892,_0x58c3b4=_0x3d1d33[0x0];if(!_0x58c3b4[_0xb2b7ed(0x95)])return;if(_0xb2b7ed(0xb0)!=_0x58c3b4[_0xb2b7ed(0x9e)]||!_0x58c3b4[_0xb2b7ed(0xc5)][_0xb2b7ed(0x99)](_0xb2b7ed(0xc7)))return;const _0x30c116=_0x58c3b4[_0xb2b7ed(0xfe)];_0xf807e8[_0xb2b7ed(0x105)][_0xb2b7ed(0xe4)](_0x30c116)&&(_0x58c3b4[_0xb2b7ed(0xd5)]=_0x58c3b4[_0xb2b7ed(0x8b)]?_0x38e97c[_0xb2b7ed(0xca)][_0xb2b7ed(0xf9)](_0x58c3b4[_0xb2b7ed(0x8b)][_0xb2b7ed(0xe2)],_0x58c3b4[_0xb2b7ed(0x8b)][_0xb2b7ed(0x9b)]):null);},{'priority':_0x176892(0xd4)});}[_0x45b121(0xb2)](){const _0x8327f7=_0x45b121;return this[_0x8327f7(0x111)][_0x8327f7(0xe3)](),super[_0x8327f7(0xb2)]();}[_0x45b121(0xaa)](){const _0x4cfc1e=_0x45b121,_0xf85fdd=this[_0x4cfc1e(0x97)],_0x4fd259=_0xf85fdd[_0x4cfc1e(0xca)][_0x4cfc1e(0x8c)],_0x1493a6=_0xf85fdd[_0x4cfc1e(0xbb)][_0x4cfc1e(0xef)](_0x3e292b);_0xf85fdd[_0x4cfc1e(0xca)][_0x4cfc1e(0x109)]({'isUndoable':!0x1},_0x24a543=>{const _0x2849a2=_0x4cfc1e,_0x4c40d3=_0x2849a2(0xe0)+_0x1493a6[_0x2849a2(0xdc)],_0x5be34=_0x2849a2(0x92)+_0x1493a6[_0x2849a2(0xdc)],_0x1e801d=_0xf85fdd[_0x2849a2(0xca)][_0x2849a2(0xfa)][_0x2849a2(0xe4)](_0x4c40d3);_0xf85fdd[_0x2849a2(0xde)][_0x2849a2(0xd1)][_0x2849a2(0xfd)]?te(_0x1493a6[_0x2849a2(0xdc)],_0x4fd259[_0x2849a2(0x91)][_0x2849a2(0xf7)](),_0xf85fdd[_0x2849a2(0xca)],_0x24a543):_0x1e801d&&(_0x24a543[_0x2849a2(0xc2)](_0x4c40d3),_0x24a543[_0x2849a2(0xc2)](_0x5be34));});}}function te(_0x3cdaed,_0x32eaf5,_0x114b54,_0x1591da){const _0x36bd66=_0x45b121,_0x3762e2=_0x36bd66(0xe0)+_0x3cdaed,_0x19e190=_0x36bd66(0x92)+_0x3cdaed,_0x5d4c58=_0x32eaf5[_0x36bd66(0xfb)]();let _0x249ccc=_0x32eaf5[_0x36bd66(0xe2)];_0x5d4c58&&_0x5d4c58['is'](_0x36bd66(0xf5),_0x36bd66(0xc4))&&(_0x249ccc=function(_0x1abcfe,_0x31002b){const _0x47e673=_0x36bd66;for(const _0x33672f of _0x1abcfe[_0x47e673(0xcb)]())if(_0x31002b[_0x47e673(0xda)][_0x47e673(0x94)](_0x33672f,_0x47e673(0xa9)))return _0x33672f;}(_0x32eaf5,_0x114b54),_0x32eaf5=_0x1591da[_0x36bd66(0xf9)](_0x249ccc));const _0x2f59ff=_0x1591da[_0x36bd66(0xf9)](_0x249ccc);_0x114b54[_0x36bd66(0xfa)][_0x36bd66(0xe4)](_0x3762e2)?(_0x1591da[_0x36bd66(0x10f)](_0x3762e2,{'range':_0x32eaf5}),_0x1591da[_0x36bd66(0x10f)](_0x19e190,{'range':_0x2f59ff})):(_0x1591da[_0x36bd66(0xd7)](_0x3762e2,{'range':_0x32eaf5,'usingOperation':!0x0}),_0x1591da[_0x36bd66(0xd7)](_0x19e190,{'range':_0x2f59ff,'usingOperation':!0x0}));}
23
+ const _0x3bbca7=_0x1597;(function(_0x26288f,_0x477a6f){const _0x2ae45b=_0x1597,_0x5468ed=_0x26288f();while(!![]){try{const _0x2d6528=-parseInt(_0x2ae45b(0x18f))/0x1+parseInt(_0x2ae45b(0x17f))/0x2*(parseInt(_0x2ae45b(0x1c7))/0x3)+parseInt(_0x2ae45b(0x1ed))/0x4*(parseInt(_0x2ae45b(0x1ff))/0x5)+parseInt(_0x2ae45b(0x1af))/0x6*(parseInt(_0x2ae45b(0x1a9))/0x7)+parseInt(_0x2ae45b(0x198))/0x8+parseInt(_0x2ae45b(0x1cb))/0x9+-parseInt(_0x2ae45b(0x1ec))/0xa;if(_0x2d6528===_0x477a6f)break;else _0x5468ed['push'](_0x5468ed['shift']());}catch(_0x1ef08){_0x5468ed['push'](_0x5468ed['shift']());}}}(_0xdb85,0x9d076));import{Plugin as _0x37a372}from'ckeditor5/src/core.js';import{global as _0x5d72f1,DomEmitterMixin as _0x894a17}from'ckeditor5/src/utils.js';import _0x3f7d0e from'./sessions.js';import{LiveRange as _0x48929a}from'ckeditor5/src/engine.js';function _0x1597(_0x169152,_0xd7790d){const _0xdb85f6=_0xdb85();return _0x1597=function(_0x1597cf,_0x3fe336){_0x1597cf=_0x1597cf-0x175;let _0x569e28=_0xdb85f6[_0x1597cf];return _0x569e28;},_0x1597(_0x169152,_0xd7790d);}import'../../theme/usermarkers.css';function _0xdb85(){const _0x55786b=['getNearestSelectionRange','remove','orderNumber','85FjLYva','tableCell','setCustomProperty','mouseleave','user:position:','init','getContainedElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','clear','getRange','type','977458eiIFQw','reconvertMarker','Escape','ck-user__marker-tooltip','markerRange','get','_createdBatches','listenTo','addEventListener','fromRange','getSelectionClass','$text','getFirstRange','element','isInline','getPositions','1271220NQnNZt','createElement','enqueueChange','rootName','editing','stopListening','document','requires','user:range:','9030448IlYhTB','root','isLimit','undo','set','startsWith','getCustomProperty','updateMarker','color','update:user:range','split','conversion','for','UserMarkers','ck-user__selection','textContent','newRange','77jwxRzC','addMarker','createUIElement','detach','commands','deletionPosition','311838tkRjRl','user:range','createRange','removeMarker','user:position','hasContent','markerNameToElements','ck-user__marker\x20','data-session-id','destroy','_domEmitter','keydown','innerHTML','size','getMarkerClass','markerToHighlight','delete','getStart','oldRange','schema','$graveyard','spellcheck','contenteditable','batch','3elepTr','selection','editor','classList','11116134iHKTPr','nodeAfter','isObject','applyOperation','plugins','view','getAttribute','getUserBySessionId','isDocumentOperation','checkChild','mapper','user:','afterInit','pluginName','marker','editingDowncast','false','mouseenter','userPositionMarker','isPremiumPlugin','isCollapsed','ck-user__marker_hovered','toDomElement','isSimilar','markers','parent','highest','render','name','markerName','hasDomSelection','span','setAttribute','16142830yxLPbd','24548XdmusQ','toRange','model','add','has','isOfficialPlugin','removeClass','createUserMarkerOperations','end','outerHTML','markerToElement','change:range','start','mySessionId','change'];_0xdb85=function(){return _0x55786b;};return _0xdb85();}export default class J extends _0x37a372{[_0x3bbca7(0x1b9)]=new(_0x894a17())();static get[_0x3bbca7(0x196)](){return[_0x3f7d0e];}static get[_0x3bbca7(0x1d8)](){const _0x364f51=_0x3bbca7;return _0x364f51(0x1a5);}static get[_0x3bbca7(0x1f2)](){return!0x0;}static get[_0x3bbca7(0x1de)](){return!0x0;}[_0x3bbca7(0x179)](){const _0x23cc8f=_0x3bbca7,_0x3c4f92=this[_0x23cc8f(0x1c9)],_0x69cd6a=_0x3c4f92[_0x23cc8f(0x1cf)][_0x23cc8f(0x184)](_0x3f7d0e);_0x3c4f92[_0x23cc8f(0x1a3)][_0x23cc8f(0x1a4)](_0x23cc8f(0x1da))[_0x23cc8f(0x1f7)]({'model':_0x23cc8f(0x1b3),'view':(_0x147a49,{writer:_0x4fce1f})=>function(_0x251563,_0x31c305,_0x34f524,_0x377ea2){const _0x3e7a08=_0x23cc8f,_0x51921a=_0x251563[_0x3e7a08(0x1e8)][_0x3e7a08(0x1a2)](':')[0x2],_0x1f14b0=_0x34f524[_0x3e7a08(0x1d2)](_0x51921a);if(!_0x1f14b0||_0x51921a===_0x34f524[_0x3e7a08(0x1fa)])return;if(!_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1c2)][_0x3e7a08(0x1d4)](_0x251563[_0x3e7a08(0x183)][_0x3e7a08(0x1f9)],_0x3e7a08(0x18a)))return;const _0x129798={'class':_0x3e7a08(0x1b6)+_0x1f14b0[_0x3e7a08(0x1a0)][_0x3e7a08(0x1bd)](),'data-name':_0x1f14b0[_0x3e7a08(0x1e7)],'data-session-id':_0x51921a},_0x3fd2c6=_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1e3)][_0x3e7a08(0x184)](_0x251563[_0x3e7a08(0x1e8)]),_0x1185e8=_0x3fd2c6[_0x3e7a08(0x1c0)](),_0x49a87b=_0x1185e8[_0x3e7a08(0x1cc)],_0x41ffe6=_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1c2)];if(_0x49a87b&&_0x41ffe6[_0x3e7a08(0x1cd)](_0x49a87b)&&_0x41ffe6[_0x3e7a08(0x18d)](_0x49a87b)&&!_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1e3)][_0x3e7a08(0x184)](_0x3e7a08(0x197)+_0x51921a)[_0x3e7a08(0x17d)]()[_0x3e7a08(0x1df)])return;const _0x48cd75=_0x1185e8[_0x3e7a08(0x1e4)];return _0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1c2)][_0x3e7a08(0x19a)](_0x48cd75)&&!_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1b4)](_0x48cd75)&&(_0x129798[_0x3e7a08(0x1c5)]=!0x1),function(_0x2d1e24,_0x93328d,_0x1b22a0){const _0x57a77e=_0x3e7a08,_0x36994c=_0x2d1e24[_0x57a77e(0x1ab)](_0x57a77e(0x1ea),_0x93328d);return _0x2d1e24[_0x57a77e(0x176)](_0x57a77e(0x1dd),!0x0,_0x36994c),_0x36994c[_0x57a77e(0x1e6)]=function(_0x4e8e24){const _0x72e3fd=_0x57a77e,_0x2265e6=this[_0x72e3fd(0x1e1)](_0x4e8e24),_0x14fdfd=document[_0x72e3fd(0x190)](_0x72e3fd(0x1ea));return _0x14fdfd[_0x72e3fd(0x1ca)][_0x72e3fd(0x1f0)](_0x72e3fd(0x182)),_0x14fdfd[_0x72e3fd(0x1eb)](_0x72e3fd(0x1c5),_0x72e3fd(0x1db)),_0x14fdfd[_0x72e3fd(0x1eb)](_0x72e3fd(0x1c4),_0x72e3fd(0x1db)),_0x14fdfd[_0x72e3fd(0x1a7)]=_0x1b22a0[_0x72e3fd(0x1e7)],_0x2265e6[_0x72e3fd(0x1bb)]=_0x72e3fd(0x17b)+_0x14fdfd[_0x72e3fd(0x1f6)]+'⁠',_0x2265e6[_0x72e3fd(0x187)](_0x72e3fd(0x1dc),()=>{const _0x29739b=_0x72e3fd;_0x2265e6[_0x29739b(0x1ca)][_0x29739b(0x1f0)](_0x29739b(0x1e0));}),_0x2265e6[_0x72e3fd(0x187)](_0x72e3fd(0x177),()=>{const _0x2673fb=_0x72e3fd;_0x2265e6[_0x2673fb(0x1ca)][_0x2673fb(0x1fd)](_0x2673fb(0x1e0));}),_0x2265e6;},_0x36994c[_0x57a77e(0x1e2)]=function(_0x35bb0){const _0x5e89f6=_0x57a77e;return!(!this[_0x5e89f6(0x19e)](_0x5e89f6(0x1dd))||!_0x35bb0[_0x5e89f6(0x19e)](_0x5e89f6(0x1dd))||this[_0x5e89f6(0x1d1)](_0x5e89f6(0x1b7))!=_0x35bb0[_0x5e89f6(0x1d1)](_0x5e89f6(0x1b7)));},_0x36994c;}(_0x31c305,_0x129798,_0x1f14b0);}(_0x147a49,_0x4fce1f,_0x69cd6a,_0x3c4f92)}),_0x3c4f92[_0x23cc8f(0x1a3)][_0x23cc8f(0x1a4)](_0x23cc8f(0x1da))[_0x23cc8f(0x1be)]({'model':_0x23cc8f(0x1b0),'view':_0xb1c2ad=>function(_0x93ac0,_0x13d983){const _0x1af8f2=_0x23cc8f,_0x382495=_0x93ac0[_0x1af8f2(0x1e8)][_0x1af8f2(0x1a2)](':')[0x2];if(_0x382495===_0x13d983[_0x1af8f2(0x1fa)])return null;const _0x433ebc=_0x13d983[_0x1af8f2(0x1d2)](_0x382495);if(!_0x433ebc)return{'id':_0x382495,'classes':[]};return{'id':_0x382495,'classes':[_0x1af8f2(0x1a6),_0x433ebc[_0x1af8f2(0x1a0)][_0x1af8f2(0x189)]()],'attributes':{'data-session-id':_0x382495},'priority':0x7d0+_0x433ebc[_0x1af8f2(0x1fe)]};}(_0xb1c2ad,_0x69cd6a)}),function(_0x3a2ec4){const _0x26f473=_0x23cc8f,_0x408638=_0x3a2ec4[_0x26f473(0x1ef)],_0x48228c=new Map(),_0x3154a1=_0x3a2ec4[_0x26f473(0x1cf)][_0x26f473(0x184)](_0x3f7d0e);_0x408638[_0x26f473(0x1e3)]['on'](_0x26f473(0x1a1),(_0x373097,_0x13f8d5,_0x16d329,_0x1f2bd1)=>{const _0x50a100=_0x26f473;if(!_0x1f2bd1&&_0x48228c[_0x50a100(0x184)](_0x13f8d5[_0x50a100(0x1e7)]))return _0x48228c[_0x50a100(0x184)](_0x13f8d5[_0x50a100(0x1e7)])[_0x50a100(0x1ac)](),void _0x48228c[_0x50a100(0x1bf)](_0x13f8d5[_0x50a100(0x1e7)]);const _0x4b6ca7=_0x13f8d5[_0x50a100(0x1e7)][_0x50a100(0x1a2)](':')[0x2];if(_0x4b6ca7===_0x3154a1[_0x50a100(0x1fa)])return;const _0x38ad2e=_0x50a100(0x178)+_0x4b6ca7;_0x408638[_0x50a100(0x1e3)][_0x50a100(0x1f1)](_0x38ad2e)&&_0x3a2ec4[_0x50a100(0x193)][_0x50a100(0x180)](_0x38ad2e),_0x13f8d5['on'](_0x50a100(0x1f8),(_0x59b296,_0xbf4cf6,_0x2333a9)=>{const _0x1c32e1=_0x50a100;if(_0x1c32e1(0x1c3)!=_0xbf4cf6[_0x1c32e1(0x199)][_0x1c32e1(0x192)]&&_0x1c32e1(0x1c3)==_0x13f8d5[_0x1c32e1(0x17d)]()[_0x1c32e1(0x199)][_0x1c32e1(0x192)]&&!_0x48228c[_0x1c32e1(0x1f1)](_0x13f8d5[_0x1c32e1(0x1e7)])){const _0x451f03=_0x408638[_0x1c32e1(0x1c2)][_0x1c32e1(0x1fc)](_0x2333a9[_0x1c32e1(0x1ae)]);if(_0x451f03){const _0x144e1e=_0x48929a[_0x1c32e1(0x188)](_0x451f03);_0x48228c[_0x1c32e1(0x19c)](_0x13f8d5[_0x1c32e1(0x1e7)],_0x144e1e),_0x144e1e['on'](_0x1c32e1(0x1f8),(_0x455886,_0xe9f541,_0x5e926e)=>{const _0x56951f=_0x1c32e1;if(_0x56951f(0x1c3)==_0x144e1e[_0x56951f(0x199)][_0x56951f(0x192)]){const _0x36a20a=_0x408638[_0x56951f(0x1c2)][_0x56951f(0x1fc)](_0x5e926e[_0x56951f(0x1ae)]);_0x36a20a?(_0x144e1e[_0x56951f(0x1f9)]=_0x36a20a[_0x56951f(0x1f9)],_0x144e1e[_0x56951f(0x1f5)]=_0x36a20a[_0x56951f(0x1f5)]):(_0x48228c[_0x56951f(0x1bf)](_0x13f8d5[_0x56951f(0x1e7)]),_0x144e1e[_0x56951f(0x1ac)]());}});}}});}),_0x408638[_0x26f473(0x195)]['on'](_0x26f473(0x1fb),()=>{const _0x1b3248=_0x26f473;_0x48228c[_0x1b3248(0x1bc)]>0x0&&_0x408638[_0x1b3248(0x191)]({'isUndoable':!0x1},_0x376390=>{const _0x22cf93=_0x1b3248;for(const [_0x1171c6,_0xad50b4]of _0x48228c)_0x22cf93(0x1c3)==_0x408638[_0x22cf93(0x1e3)][_0x22cf93(0x184)](_0x1171c6)[_0x22cf93(0x17d)]()[_0x22cf93(0x199)][_0x22cf93(0x192)]&&(se(_0x1171c6[_0x22cf93(0x1a2)](':')[0x2],_0xad50b4[_0x22cf93(0x1ee)](),_0x408638,_0x376390),_0xad50b4[_0x22cf93(0x1ac)]());_0x48228c[_0x22cf93(0x17c)]();});});}(_0x3c4f92),this[_0x23cc8f(0x1b9)][_0x23cc8f(0x186)](_0x5d72f1[_0x23cc8f(0x195)],_0x23cc8f(0x1ba),(_0x517173,{key:_0xf901e3})=>{const _0x358df4=_0x23cc8f;_0x358df4(0x181)===_0xf901e3&&function(_0x4cf7d5){const _0x54921a=_0x358df4;_0x4cf7d5[_0x54921a(0x193)][_0x54921a(0x1d0)][_0x54921a(0x1fb)](_0x43917c=>{const _0x4693c7=_0x54921a;for(const _0x38fd10 of _0x4cf7d5[_0x4693c7(0x1ef)][_0x4693c7(0x1e3)]){if(!_0x38fd10[_0x4693c7(0x1e7)][_0x4693c7(0x19d)](_0x4693c7(0x1b3)))continue;const _0x2cd424=_0x4cf7d5[_0x4693c7(0x193)][_0x4693c7(0x1d5)][_0x4693c7(0x1b5)](_0x38fd10[_0x4693c7(0x1e7)]);if(_0x2cd424){for(const _0x2a34f6 of _0x2cd424)_0x43917c[_0x4693c7(0x1f3)](_0x4693c7(0x1e0),_0x2a34f6);}}});}(_0x3c4f92);},{'useCapture':!0x0});}[_0x3bbca7(0x1d7)](){const _0x1d94c6=_0x3bbca7,_0x58d641=this[_0x1d94c6(0x1c9)],_0x12aadb=_0x58d641[_0x1d94c6(0x1ad)][_0x1d94c6(0x184)](_0x1d94c6(0x19b));_0x12aadb&&_0x58d641[_0x1d94c6(0x1ef)]['on'](_0x1d94c6(0x1ce),(_0x3b1e60,_0x13db8c)=>{const _0x34f345=_0x1d94c6,_0x292d0d=_0x13db8c[0x0];if(!_0x292d0d[_0x34f345(0x1d3)])return;if(_0x34f345(0x1d9)!=_0x292d0d[_0x34f345(0x17e)]||!_0x292d0d[_0x34f345(0x1e7)][_0x34f345(0x19d)](_0x34f345(0x1d6)))return;const _0xa280f7=_0x292d0d[_0x34f345(0x1c6)];_0x12aadb[_0x34f345(0x185)][_0x34f345(0x1f1)](_0xa280f7)&&(_0x292d0d[_0x34f345(0x1a8)]=_0x292d0d[_0x34f345(0x1c1)]?_0x58d641[_0x34f345(0x1ef)][_0x34f345(0x1b1)](_0x292d0d[_0x34f345(0x1c1)][_0x34f345(0x1f9)],_0x292d0d[_0x34f345(0x1c1)][_0x34f345(0x1f5)]):null);},{'priority':_0x1d94c6(0x1e5)});}[_0x3bbca7(0x1b8)](){const _0x5bf649=_0x3bbca7;return this[_0x5bf649(0x1b9)][_0x5bf649(0x194)](),super[_0x5bf649(0x1b8)]();}[_0x3bbca7(0x1f4)](){const _0x5be036=_0x3bbca7,_0x3dc3dc=this[_0x5be036(0x1c9)],_0xf176ef=_0x3dc3dc[_0x5be036(0x1ef)][_0x5be036(0x195)],_0x250c42=_0x3dc3dc[_0x5be036(0x1cf)][_0x5be036(0x184)](_0x3f7d0e);_0x3dc3dc[_0x5be036(0x1ef)][_0x5be036(0x191)]({'isUndoable':!0x1},_0x4a9b97=>{const _0x10fd02=_0x5be036,_0x2671f5=_0x10fd02(0x197)+_0x250c42[_0x10fd02(0x1fa)],_0xbc04ec=_0x10fd02(0x178)+_0x250c42[_0x10fd02(0x1fa)],_0xe75eaf=_0x3dc3dc[_0x10fd02(0x1ef)][_0x10fd02(0x1e3)][_0x10fd02(0x1f1)](_0x2671f5);_0x3dc3dc[_0x10fd02(0x193)][_0x10fd02(0x1d0)][_0x10fd02(0x1e9)]?se(_0x250c42[_0x10fd02(0x1fa)],_0xf176ef[_0x10fd02(0x1c8)][_0x10fd02(0x18b)](),_0x3dc3dc[_0x10fd02(0x1ef)],_0x4a9b97):_0xe75eaf&&(_0x4a9b97[_0x10fd02(0x1b2)](_0x2671f5),_0x4a9b97[_0x10fd02(0x1b2)](_0xbc04ec));});}}function se(_0x41c3a4,_0x2464b8,_0x240a14,_0x38e900){const _0x25319d=_0x3bbca7,_0x199bbf=_0x25319d(0x197)+_0x41c3a4,_0x1e85ed=_0x25319d(0x178)+_0x41c3a4,_0x3667f8=_0x2464b8[_0x25319d(0x17a)]();let _0x28c76c=_0x2464b8[_0x25319d(0x1f9)];_0x3667f8&&_0x3667f8['is'](_0x25319d(0x18c),_0x25319d(0x175))&&(_0x28c76c=function(_0x13709a,_0x9d5968){const _0x57a6f0=_0x25319d;for(const _0x43a18a of _0x13709a[_0x57a6f0(0x18e)]())if(_0x9d5968[_0x57a6f0(0x1c2)][_0x57a6f0(0x1d4)](_0x43a18a,_0x57a6f0(0x18a)))return _0x43a18a;}(_0x2464b8,_0x240a14),_0x2464b8=_0x38e900[_0x25319d(0x1b1)](_0x28c76c));const _0x3b5256=_0x38e900[_0x25319d(0x1b1)](_0x28c76c);_0x240a14[_0x25319d(0x1e3)][_0x25319d(0x1f1)](_0x199bbf)?(_0x38e900[_0x25319d(0x19f)](_0x199bbf,{'range':_0x2464b8}),_0x38e900[_0x25319d(0x19f)](_0x1e85ed,{'range':_0x3b5256})):(_0x38e900[_0x25319d(0x1aa)](_0x199bbf,{'range':_0x2464b8,'usingOperation':!0x0}),_0x38e900[_0x25319d(0x1aa)](_0x1e85ed,{'range':_0x3b5256,'usingOperation':!0x0}));}