@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.9 → 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 _0x2cbfbf=_0x276a;function _0x276a(_0x452671,_0x3828e2){const _0x2c7af5=_0x2c7a();return _0x276a=function(_0x276a30,_0x565766){_0x276a30=_0x276a30-0xa4;let _0x44bf66=_0x2c7af5[_0x276a30];return _0x44bf66;},_0x276a(_0x452671,_0x3828e2);}(function(_0x2bd89c,_0x2e5a23){const _0x40cf82=_0x276a,_0x211fc0=_0x2bd89c();while(!![]){try{const _0x340bdb=-parseInt(_0x40cf82(0xb8))/0x1+parseInt(_0x40cf82(0xa4))/0x2+parseInt(_0x40cf82(0xc3))/0x3+parseInt(_0x40cf82(0xc6))/0x4+-parseInt(_0x40cf82(0xa5))/0x5+parseInt(_0x40cf82(0xa9))/0x6+parseInt(_0x40cf82(0xb1))/0x7*(parseInt(_0x40cf82(0xac))/0x8);if(_0x340bdb===_0x2e5a23)break;else _0x211fc0['push'](_0x211fc0['shift']());}catch(_0x53a62a){_0x211fc0['push'](_0x211fc0['shift']());}}}(_0x2c7a,0x28f0e));import{View as _0x3d02c5}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x29b88f}from'ckeditor5/src/utils.js';import{getTranslation as _0x2004c6}from'../../common-translations.js';export default class ts extends _0x3d02c5{[_0x2cbfbf(0xaf)];[_0x2cbfbf(0xbd)];constructor(_0x17843e){const _0xed389c=_0x2cbfbf;super(_0x17843e);const _0x3c0e82=this[_0xed389c(0xa8)];this[_0xed389c(0xaf)]=this[_0xed389c(0xbb)](),this[_0xed389c(0xbd)]=new _0x29b88f(),this[_0xed389c(0xb0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xed389c(0xaa)]({'tag':_0xed389c(0xc8),'attributes':{'aria-haspopup':_0x3c0e82['if'](_0xed389c(0xbe)),'aria-expanded':_0x3c0e82['to'](_0xed389c(0xc5),_0x1a13ad=>this[_0xed389c(0xbe)]&&String(_0x1a13ad)),'aria-label':_0x3c0e82['to'](_0xed389c(0xbe),_0x493a3b=>_0x2004c6(_0x17843e,_0x493a3b?_0xed389c(0xb2):_0xed389c(0xbc))),'role':_0xed389c(0xb6),'tabindex':_0x3c0e82['to'](_0xed389c(0xbe),_0x2a4e0c=>!!_0x2a4e0c&&0x0),'class':['ck',_0xed389c(0xae)]},'children':this[_0xed389c(0xaf)],'on':{'mouseenter':_0x3c0e82['to'](()=>this[_0xed389c(0xad)](_0xed389c(0xa6))),'mouseleave':_0x3c0e82['to'](_0x3835d4=>{const _0xc94500=_0xed389c,_0x485908=_0x3835d4,_0x250b74=document[_0xc94500(0xab)](_0xc94500(0xa7)),_0x29e626=document[_0xc94500(0xab)](_0xc94500(0xb7));_0x250b74?.[_0xc94500(0xc4)](_0x485908[_0xc94500(0xb9)])||_0x29e626?.[_0xc94500(0xc4)](_0x485908[_0xc94500(0xb9)])||this[_0xc94500(0xad)](_0xc94500(0xb5));})}}),this['on'](_0xed389c(0xb3),(_0x5a3145,_0x1eecaf,_0x49431c)=>{const _0x3ebf68=_0xed389c;this[_0x3ebf68(0xba)]&&(_0x49431c?this[_0x3ebf68(0xba)][_0x3ebf68(0xc2)](_0x3ebf68(0xc0),String(this[_0x3ebf68(0xc5)])):this[_0x3ebf68(0xba)][_0x3ebf68(0xc1)](_0x3ebf68(0xc0)));});}[_0x2cbfbf(0xc7)](){const _0x138bc8=_0x2cbfbf;this[_0x138bc8(0xba)][_0x138bc8(0xc7)]();}[_0x2cbfbf(0xb4)](){const _0x3b2364=_0x2cbfbf;super[_0x3b2364(0xb4)](),this[_0x3b2364(0xbd)][_0x3b2364(0xbf)](this[_0x3b2364(0xba)]);}}function _0x2c7a(){const _0x2ce290=['setAttribute','620610iHGjWh','contains','isExpanded','29592ViEKMh','focus','div','326522VTYJnr','1158350rjjSMt','presencelist:show','.ck-presence-list__dropdown-list','bindTemplate','1206954rYvmNW','setTemplate','querySelector','16zTQEmC','fire','ck-presence-list__list','items','set','9905klUFsc','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','render','presencelist:hide','list','.ck-balloon-panel_with-arrow','182154MCPgZV','relatedTarget','element','createCollection','Connected\x20users\x20list','keystrokes','hasPopup','listenTo','aria-expanded','removeAttribute'];_0x2c7a=function(){return _0x2ce290;};return _0x2c7a();}
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 _0x5ecaa6=_0x1c59;function _0x4167(){const _0x583e5d=['set','counterView','124580oPDAEu','change','ck-presence-list--collapsed','hasPopup','387KJfwtZ','listenTo','1538qMbBIL','136lUnQAb','ck-reset','items','locale','ck-presence-list','166uLXOzA','20ypIHmd','div','6929244QopHoc','bind','bindTemplate','inlineListView','ck-rounded-corners','setTemplate','isCollapsed','tooltipPosition','first','6243118FDDezC','24892527rWiaUL','281760PGooTD','4398HxNtrt'];_0x4167=function(){return _0x583e5d;};return _0x4167();}(function(_0x3baeba,_0x4b3d55){const _0x2c25cc=_0x1c59,_0x9e4e2b=_0x3baeba();while(!![]){try{const _0xde83f4=-parseInt(_0x2c25cc(0x170))/0x1*(parseInt(_0x2c25cc(0x16a))/0x2)+-parseInt(_0x2c25cc(0x17f))/0x3*(parseInt(_0x2c25cc(0x16b))/0x4)+-parseInt(_0x2c25cc(0x164))/0x5+-parseInt(_0x2c25cc(0x173))/0x6+-parseInt(_0x2c25cc(0x17c))/0x7+-parseInt(_0x2c25cc(0x17e))/0x8*(parseInt(_0x2c25cc(0x168))/0x9)+parseInt(_0x2c25cc(0x171))/0xa*(parseInt(_0x2c25cc(0x17d))/0xb);if(_0xde83f4===_0x4b3d55)break;else _0x9e4e2b['push'](_0x9e4e2b['shift']());}catch(_0x3e21b1){_0x9e4e2b['push'](_0x9e4e2b['shift']());}}}(_0x4167,0xba1b4));import{View as _0x532659}from'ckeditor5/src/ui.js';function _0x1c59(_0x49fa6e,_0x25c808){const _0x41673a=_0x4167();return _0x1c59=function(_0x1c5916,_0x29490c){_0x1c5916=_0x1c5916-0x164;let _0x1a6214=_0x41673a[_0x1c5916];return _0x1a6214;},_0x1c59(_0x49fa6e,_0x25c808);}import _0x2d1cb5 from'./presencecounterview.js';import _0xad72a from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x532659{[_0x5ecaa6(0x181)];[_0x5ecaa6(0x176)];constructor(_0x3488dd,_0x4be6a5=0x6){const _0x4a0ecf=_0x5ecaa6;super(_0x3488dd);const _0x1d4311=this[_0x4a0ecf(0x175)];this[_0x4a0ecf(0x180)](_0x4a0ecf(0x179),!0x0),this[_0x4a0ecf(0x181)]=new _0x2d1cb5(this[_0x4a0ecf(0x16e)],_0x4be6a5),this[_0x4a0ecf(0x176)]=new _0xad72a(_0x3488dd),this[_0x4a0ecf(0x176)][_0x4a0ecf(0x174)](_0x4a0ecf(0x167))['to'](this,_0x4a0ecf(0x179)),this[_0x4a0ecf(0x169)](this[_0x4a0ecf(0x176)][_0x4a0ecf(0x16d)],_0x4a0ecf(0x165),()=>{const _0x4c81ae=_0x4a0ecf;for(const _0x521091 of this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)])_0x521091[_0x4c81ae(0x17a)]='s';this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)][_0x4c81ae(0x17b)]&&(this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)][_0x4c81ae(0x17b)][_0x4c81ae(0x17a)]='se');}),this[_0x4a0ecf(0x178)]({'tag':_0x4a0ecf(0x172),'attributes':{'class':['ck',_0x4a0ecf(0x16f),_0x4a0ecf(0x16c),_0x4a0ecf(0x177),_0x1d4311['if'](_0x4a0ecf(0x179),_0x4a0ecf(0x166))]},'children':[this[_0x4a0ecf(0x176)]]});}}
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
- function _0x2680(_0xbf928b,_0x585a86){var _0x588bad=_0x588b();return _0x2680=function(_0x26800c,_0x1bcf1d){_0x26800c=_0x26800c-0x1e6;var _0x2ae100=_0x588bad[_0x26800c];return _0x2ae100;},_0x2680(_0xbf928b,_0x585a86);}var _0x414b12=_0x2680;(function(_0x18db4f,_0xd2109c){var _0x4b9577=_0x2680,_0x4c72a8=_0x18db4f();while(!![]){try{var _0x388cf2=parseInt(_0x4b9577(0x1eb))/0x1+parseInt(_0x4b9577(0x1ec))/0x2*(parseInt(_0x4b9577(0x1e6))/0x3)+parseInt(_0x4b9577(0x1f0))/0x4*(parseInt(_0x4b9577(0x1ed))/0x5)+-parseInt(_0x4b9577(0x1e8))/0x6+parseInt(_0x4b9577(0x1e9))/0x7+parseInt(_0x4b9577(0x1f1))/0x8+-parseInt(_0x4b9577(0x1ee))/0x9;if(_0x388cf2===_0xd2109c)break;else _0x4c72a8['push'](_0x4c72a8['shift']());}catch(_0x497cb8){_0x4c72a8['push'](_0x4c72a8['shift']());}}}(_0x588b,0xdc9ee));import{ContextPlugin as _0xe15647}from'ckeditor5/src/core.js';import _0xd2b632 from'./realtimecollaborativeediting/sessions.js';function _0x588b(){var _0x189e0e=['pluginName','14193vumklO','isPremiumPlugin','6982518DzegXD','8072750mvJQRC','PresenceList','1255133mfZdDu','376GUGRLY','8030195dSqqLb','33047181FwaEmi','isOfficialPlugin','4JRyUeY','6683792yxNUyf','requires'];_0x588b=function(){return _0x189e0e;};return _0x588b();}import _0x172fef from'./presencelist/presencelistui.js';export default class s extends _0xe15647{static get[_0x414b12(0x1f2)](){return[_0xd2b632,_0x172fef];}static get[_0x414b12(0x1f3)](){var _0xcaf156=_0x414b12;return _0xcaf156(0x1ea);}static get[_0x414b12(0x1ef)](){return!0x0;}static get[_0x414b12(0x1e7)](){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
- const _0x18496a=_0x53ed;(function(_0x12cc59,_0x1a0039){const _0x51b36d=_0x53ed,_0x85340c=_0x12cc59();while(!![]){try{const _0x2aa4ab=-parseInt(_0x51b36d(0x6c))/0x1*(parseInt(_0x51b36d(0xb7))/0x2)+parseInt(_0x51b36d(0xaf))/0x3+-parseInt(_0x51b36d(0xab))/0x4+parseInt(_0x51b36d(0xac))/0x5+parseInt(_0x51b36d(0xb6))/0x6*(parseInt(_0x51b36d(0x86))/0x7)+-parseInt(_0x51b36d(0x7c))/0x8+parseInt(_0x51b36d(0xbf))/0x9;if(_0x2aa4ab===_0x1a0039)break;else _0x85340c['push'](_0x85340c['shift']());}catch(_0x29922f){_0x85340c['push'](_0x85340c['shift']());}}}(_0x1f3e,0xabac9));import{Context as _0x1f48c7,ContextPlugin as _0x1cf487}from'ckeditor5/src/core.js';import{CKEditorError as _0x25f0d7}from'ckeditor5/src/utils.js';import{Users as _0x8550c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2f1362,User as _0x45d9f2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xf60dcb from'../realtimecollaborativeediting/websocketgateway.js';import _0x17f920 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1cf487{static [_0x18496a(0x96)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2f1362)());[_0x18496a(0xc2)];static get[_0x18496a(0x6e)](){const _0x144241=_0x18496a;return[_0xf60dcb,_0x144241(0xa8),_0x17f920,_0x8550c6];}static get[_0x18496a(0xb3)](){const _0xa1639c=_0x18496a;return _0xa1639c(0xb0);}static get[_0x18496a(0x9e)](){return!0x0;}static get[_0x18496a(0x8b)](){return!0x0;}constructor(_0x1694d3){const _0x1d7974=_0x18496a;super(_0x1694d3),this[_0x1d7974(0xc2)]=new Map();}async[_0x18496a(0x93)](){const _0x2397ef=_0x18496a,_0x3baa5f=this[_0x2397ef(0xb5)],_0x4e64d9=_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0x2397ef(0xa8));if(_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0xf60dcb)[_0x2397ef(0x97)](this),_0x4e64d9[_0x2397ef(0x8a)]={'addCommentThread':async({channelId:_0x4123b5,threadId:_0x2f5bf3,comments:_0x3dee4f,resolvedAt:_0x4369b4,resolvedBy:_0x376821,context:_0x32861e,attributes:_0x52a39f})=>{const _0x33295b=_0x2397ef,_0x2795e8=await this[_0x33295b(0xa3)](_0x4123b5)[_0x33295b(0x98)]({'commentThreadId':_0x2f5bf3,'comments':_0x3dee4f[_0x33295b(0xc0)](_0x244a76=>function(_0x1b8985,_0x1491b0,_0x1656c1){const _0x22f51a=_0x33295b;return{'commentThreadId':_0x1656c1,'commentId':_0x1b8985[_0x22f51a(0x79)],'userId':_0x1b8985[_0x22f51a(0x70)],'content':_0x1b8985[_0x22f51a(0x80)],'documentId':_0x1491b0,'createdAt':_0x1b8985[_0x22f51a(0xb1)],'attributes':_0x1b8985[_0x22f51a(0xbb)]||{}};}(_0x244a76,_0x4123b5,_0x2f5bf3)),'resolvedAt':_0x4369b4,'resolvedBy':_0x376821,'context':_0x32861e,'attributes':_0x52a39f})[_0x33295b(0x94)](R);return{'threadId':_0x2795e8[_0x33295b(0xa0)],'comments':_0x2795e8[_0x33295b(0x77)]};},'getCommentThread':async({channelId:_0x1b6d2e,threadId:_0x30022a})=>{const _0xc2da26=_0x2397ef,_0xcaf751=await this[_0xc2da26(0xa3)](_0x1b6d2e)[_0xc2da26(0xc7)](_0x30022a)[_0xc2da26(0x94)](R);return _0xcaf751[_0xc2da26(0x76)]?null:(await this[_0xc2da26(0x9a)]([_0xcaf751]),{'threadId':_0xcaf751[_0xc2da26(0xa0)],'comments':_0xcaf751[_0xc2da26(0x77)][_0xc2da26(0xc0)](_),'context':_0xcaf751[_0xc2da26(0xb5)],'resolvedAt':_0xcaf751[_0xc2da26(0x7d)],'resolvedBy':_0xcaf751[_0xc2da26(0xa4)],'attributes':_0xcaf751[_0xc2da26(0xbb)]||{}});},'updateCommentThread':async({channelId:_0x5d77a8,threadId:_0x5154d3,context:_0x3399b6,unlinkedAt:_0x747cce,attributes:_0x4a2084})=>this[_0x2397ef(0xa3)](_0x5d77a8)[_0x2397ef(0x6a)]({'commentThreadId':_0x5154d3,'context':_0x3399b6,'attributes':_0x4a2084,'unlinkedAt':_0x747cce})[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'resolveCommentThread':async({channelId:_0x2d858c,threadId:_0x1163b3})=>{const _0x3b4aad=_0x2397ef,_0x3aab36=await this[_0x3b4aad(0xa3)](_0x2d858c)[_0x3b4aad(0x72)](_0x1163b3)[_0x3b4aad(0x94)](S)[_0x3b4aad(0x94)](R);return{'threadId':_0x3aab36[_0x3b4aad(0xa0)],'resolvedAt':_0x3aab36[_0x3b4aad(0x7d)],'resolvedBy':_0x3aab36[_0x3b4aad(0xa4)]};},'reopenCommentThread':async({channelId:_0x5d2cf8,threadId:_0xedcaaf})=>this[_0x2397ef(0xa3)](_0x5d2cf8)[_0x2397ef(0xa6)](_0xedcaaf)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'removeCommentThread':({channelId:_0x399c83,threadId:_0x3dc4fa})=>this[_0x2397ef(0xa3)](_0x399c83)[_0x2397ef(0xad)](_0x3dc4fa)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'addComment':({channelId:_0x59283e,threadId:_0x7b385f,commentId:_0x2a07d6,content:_0x2fe95f,attributes:_0x52fff7})=>this[_0x2397ef(0xa3)](_0x59283e)[_0x2397ef(0x7b)](_0x7b385f,_0x2a07d6,_0x2fe95f,_0x52fff7)[_0x2397ef(0x94)](R),'updateComment':({channelId:_0x1d1c73,threadId:_0x1cb940,commentId:_0x241b37,content:_0x22575b,attributes:_0x1565db})=>this[_0x2397ef(0xa3)](_0x1d1c73)[_0x2397ef(0xc1)](_0x1cb940,_0x241b37,_0x22575b,_0x1565db)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'removeComment':({channelId:_0x3c5561,threadId:_0x5ab83b,commentId:_0x4c1bef})=>this[_0x2397ef(0xa3)](_0x3c5561)[_0x2397ef(0x73)](_0x5ab83b,_0x4c1bef)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R)},_0x3baa5f instanceof _0x1f48c7){const _0x52620d=_0x3baa5f[_0x2397ef(0x90)][_0x2397ef(0x69)](_0x2397ef(0x95)),_0x1a0496=_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0x17f920);await this[_0x2397ef(0xc4)](_0x52620d);const _0xebbdf9=await this[_0x2397ef(0xc2)][_0x2397ef(0x69)](_0x52620d)[_0x2397ef(0xa9)]();this[_0x2397ef(0x91)](_0x1a0496,_0x2397ef(0x84)+_0x52620d,(_0x59ba6c,{session:_0xf412fa})=>{const _0x3b33de=_0x2397ef;_0xf412fa['id']===_0x1a0496[_0x3b33de(0xb8)]&&(_0x59ba6c[_0x3b33de(0x87)](),this[_0x3b33de(0xb5)][_0x3b33de(0x92)][_0x3b33de(0x69)](_0x3b33de(0x89))[_0x3b33de(0x78)](_0xf412fa[_0x3b33de(0xb2)],_0x52620d));}),_0x1a0496[_0x2397ef(0x74)](_0x52620d,_0xebbdf9);}}async[_0x18496a(0xc4)](_0x3c3be0){const _0x4bca77=_0x18496a;if(this[_0x4bca77(0xc2)][_0x4bca77(0xbe)](_0x3c3be0))throw new _0x25f0d7(_0x4bca77(0x8f),null,{'channelId':_0x3c3be0});const _0x14ee4b=this[_0x4bca77(0xb5)][_0x4bca77(0x92)][_0x4bca77(0x69)](_0x4bca77(0xa8)),_0xc354d2=new a[(_0x4bca77(0x96))](_0x3c3be0);this[_0x4bca77(0xc2)][_0x4bca77(0x71)](_0x3c3be0,_0xc354d2),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xa2),(_0x27cfb0,_0xcd1148)=>{const _0x6155b4=_0x4bca77,{commentThreadId:_0x167572,documentId:_0xa8e963,context:_0x3a932c,attributes:_0x479aaf,resolvedAt:_0x48bccf,resolvedBy:_0x168351,comments:_0xfe93b}=_0xcd1148;_0x14ee4b[_0x6155b4(0xc7)](_0x167572)||_0x14ee4b[_0x6155b4(0x98)]({'threadId':_0x167572,'channelId':_0xa8e963,'comments':_0xfe93b?_0xfe93b[_0x6155b4(0xc0)](_):[],'context':_0x3a932c,'attributes':_0x479aaf,'resolvedAt':_0x48bccf,'resolvedBy':_0x168351,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x7a),(_0x10f1c7,{commentThreadId:_0x5b5fb2,documentId:_0xce02c8,context:_0x3e1770,unlinkedAt:_0x5f2c3b,attributes:_0x7bc3e1})=>{const _0x32c002=_0x4bca77;_0x14ee4b[_0x32c002(0xc7)](_0x5b5fb2)&&_0x14ee4b[_0x32c002(0x6a)]({'threadId':_0x5b5fb2,'channelId':_0xce02c8,'context':_0x3e1770,'unlinkedAt':_0x5f2c3b,'attributes':_0x7bc3e1,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x7f),(_0x2afe8e,{commentThreadId:_0x1f93ec,resolvedBy:_0x15e7f3,resolvedAt:_0xefca57})=>{const _0x36f0eb=_0x4bca77,_0x5b3879=_0x14ee4b[_0x36f0eb(0xc7)](_0x1f93ec);_0x5b3879&&_0x5b3879[_0x36f0eb(0x9d)]({'resolvedBy':_0x15e7f3,'resolvedAt':_0xefca57,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x65),(_0x1fb8db,{commentThreadId:_0x5b68af})=>{const _0x49af58=_0x4bca77,_0x2d6a40=_0x14ee4b[_0x49af58(0xc7)](_0x5b68af);_0x2d6a40&&_0x2d6a40[_0x49af58(0x66)]({'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x8c),(_0x462d20,{commentThreadId:_0x2689dd})=>{const _0x2fcf7f=_0x4bca77,_0x1a2263=_0x14ee4b[_0x2fcf7f(0xc7)](_0x2689dd);_0x1a2263&&_0x1a2263[_0x2fcf7f(0xc9)]({'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xb4),(_0x2fd127,_0x4436c3)=>{const _0x9f648d=_0x4bca77,_0x5c788f=_0x4436c3[_0x9f648d(0xa0)],_0x4acae3=_0x14ee4b[_0x9f648d(0xc7)](_0x5c788f);_0x4acae3&&_0x4acae3[_0x9f648d(0x7b)]({..._(_0x4436c3),'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x9f),(_0x218b30,{commentThreadId:_0x22827b,commentId:_0x2d7e41,content:_0x5f247f,attributes:_0x467d93})=>{const _0x35f922=_0x4bca77,_0x5a2bef=_0x14ee4b[_0x35f922(0xc7)](_0x22827b);if(_0x5a2bef){const _0x43465e=_0x5a2bef[_0x35f922(0x67)](_0x2d7e41);_0x43465e&&_0x43465e[_0x35f922(0xc8)]({'content':_0x5f247f,'attributes':_0x467d93,'isFromAdapter':!0x0});}}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xbd),(_0xb6ca64,{commentThreadId:_0x2fb06b,commentId:_0x476235})=>{const _0x3fb887=_0x4bca77,_0x1ad0d2=_0x14ee4b[_0x3fb887(0xc7)](_0x2fb06b);if(_0x1ad0d2){const _0x59bd26=_0x1ad0d2[_0x3fb887(0x67)](_0x476235);_0x59bd26&&_0x59bd26[_0x3fb887(0xc9)]({'isFromAdapter':!0x0});}}),await this[_0x4bca77(0x6d)](_0x3c3be0);}[_0x18496a(0x85)](){const _0x3494d7=_0x18496a;if(this[_0x3494d7(0xb5)]instanceof _0x1f48c7){const _0x3769a3=this[_0x3494d7(0xb5)][_0x3494d7(0x90)][_0x3494d7(0x69)](_0x3494d7(0x95));this[_0x3494d7(0xc5)](_0x3769a3);}}[_0x18496a(0xc5)](_0x1eb208){const _0x50064e=_0x18496a;if(!this[_0x50064e(0xc2)][_0x50064e(0xbe)](_0x1eb208))throw new _0x25f0d7(_0x50064e(0x8e),null,{'channelId':_0x1eb208});this[_0x50064e(0xa3)](_0x1eb208)[_0x50064e(0xc6)](),this[_0x50064e(0xc2)][_0x50064e(0x81)](_0x1eb208);}async[_0x18496a(0x68)](){const _0x244815=_0x18496a;for(const _0x3d283c of this[_0x244815(0xc2)][_0x244815(0xc3)]())await this[_0x244815(0x6d)](_0x3d283c);if(this[_0x244815(0xb5)]instanceof _0x1f48c7){const _0x4f0125=this[_0x244815(0xb5)][_0x244815(0x90)][_0x244815(0x69)](_0x244815(0x95)),_0x3a257b=this[_0x244815(0xb5)][_0x244815(0x92)][_0x244815(0x69)](_0x17f920);_0x3a257b[_0x244815(0xbc)](_0x4f0125);const _0x18dc4d=await this[_0x244815(0xc2)][_0x244815(0x69)](_0x4f0125)[_0x244815(0xa9)]();_0x3a257b[_0x244815(0x74)](_0x4f0125,_0x18dc4d);}}async[_0x18496a(0x6d)](_0x1af6cb){const _0x2d3cab=_0x18496a,{connection:_0x3f4fd7}=this[_0x2d3cab(0xb5)][_0x2d3cab(0x92)][_0x2d3cab(0x69)](_0xf60dcb),_0x5612b0=this[_0x2d3cab(0xb5)][_0x2d3cab(0x92)][_0x2d3cab(0x69)](_0x2d3cab(0xa8)),_0x306984=this[_0x2d3cab(0xc2)][_0x2d3cab(0x69)](_0x1af6cb),_0x24c392=await _0x306984[_0x2d3cab(0x7e)](_0x3f4fd7);await this[_0x2d3cab(0x9a)](_0x24c392);const _0x428065=new Set(Array[_0x2d3cab(0x82)](_0x5612b0[_0x2d3cab(0xa1)]({'channelId':_0x1af6cb}),_0x109693=>_0x109693['id']));for(const _0x5d8cb5 of _0x24c392)_0x5d8cb5[_0x2d3cab(0x76)]||_0x428065[_0x2d3cab(0x81)](_0x5d8cb5[_0x2d3cab(0xa0)]);for(const _0x96e065 of _0x428065)_0x5612b0[_0x2d3cab(0xc7)](_0x96e065)[_0x2d3cab(0xc9)]({'isFromAdapter':!0x0});for(const _0x3d583f of _0x24c392){let _0x230bc2=_0x5612b0[_0x2d3cab(0xc7)](_0x3d583f[_0x2d3cab(0xa0)]);const {commentThreadId:_0x2bf8d7,context:_0x5469c3,attributes:_0x480481,resolvedBy:_0x25516c,resolvedAt:_0x60b8be,unlinkedAt:_0x4cc051,deletedAt:_0x458ec0}=_0x3d583f;if(_0x458ec0)continue;_0x230bc2||(_0x230bc2=_0x5612b0[_0x2d3cab(0x98)]({'channelId':_0x1af6cb,'threadId':_0x2bf8d7,'context':_0x5469c3,'attributes':_0x480481||{},'resolvedBy':_0x25516c,'resolvedAt':_0x60b8be,'unlinkedAt':_0x4cc051,'isFromAdapter':!0x0}));const _0x53a337=new Set(Array[_0x2d3cab(0x82)](_0x230bc2[_0x2d3cab(0x77)],_0x5af1ab=>_0x5af1ab['id']));for(const _0x39245c of _0x3d583f[_0x2d3cab(0x77)])_0x53a337[_0x2d3cab(0x81)](_0x39245c[_0x2d3cab(0x79)]);for(const _0x3664f8 of _0x53a337)_0x230bc2[_0x2d3cab(0x67)](_0x3664f8)[_0x2d3cab(0xc9)]({'isFromAdapter':!0x0});for(const _0x526766 of _0x3d583f[_0x2d3cab(0x77)]){const _0x1ad5b4=_0x230bc2[_0x2d3cab(0x67)](_0x526766[_0x2d3cab(0x79)]);_0x1ad5b4?_0x1ad5b4[_0x2d3cab(0x80)]!==_0x526766[_0x2d3cab(0x80)]&&_0x1ad5b4[_0x2d3cab(0xc8)]({'content':_0x526766[_0x2d3cab(0x80)],'isFromAdapter':!0x0}):_0x230bc2[_0x2d3cab(0x7b)](Object[_0x2d3cab(0x9c)](_(_0x526766),{'isFromAdapter':!0x0}));}}}[_0x18496a(0xa3)](_0x2859c1){const _0x2b6b74=_0x18496a;if(!this[_0x2b6b74(0xc2)][_0x2b6b74(0xbe)](_0x2859c1))throw new _0x25f0d7(_0x2b6b74(0xb9),null,{'channelId':_0x2859c1});return this[_0x2b6b74(0xc2)][_0x2b6b74(0x69)](_0x2859c1);}async[_0x18496a(0x9a)](_0x1792d7){const _0x147b45=_0x18496a,_0x1b28cb=this[_0x147b45(0xb5)][_0x147b45(0x92)][_0x147b45(0x69)](_0x8550c6),{connection:_0x278b63}=this[_0x147b45(0xb5)][_0x147b45(0x92)][_0x147b45(0x69)](_0xf60dcb),_0x2e39db=new Set();for(const {resolvedBy:_0x52f170,comments:_0x2d465b}of _0x1792d7){_0x52f170&&!_0x1b28cb[_0x147b45(0x8d)](_0x52f170)&&_0x2e39db[_0x147b45(0xaa)](_0x52f170);for(const {userId:_0x55d584}of _0x2d465b)_0x1b28cb[_0x147b45(0x8d)](_0x55d584)||_0x2e39db[_0x147b45(0xaa)](_0x55d584);}if(0x0===_0x2e39db[_0x147b45(0xa7)])return;const _0x46d53f=await _0x45d9f2[_0x147b45(0xa5)](_0x278b63,Array[_0x147b45(0x82)](_0x2e39db));for(const _0x495b01 of _0x46d53f)_0x1b28cb[_0x147b45(0x8d)](_0x495b01['id'])||_0x1b28cb[_0x147b45(0xae)](_0x495b01);}}function _0x1f3e(){const _0x50a1cb=['2891832qXnXzR','resolvedAt','connect','commentThreadResolved','content','delete','from','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','sessionAdd:','destroy','1654485KVGsdf','off','startsWith','Permissions','adapter','isPremiumPlugin','commentThreadRemoved','getUser','cloudservicescommentsadapter-disconnect-not-exist','cloudservicescommentsadapter-connect-already-connected','config','listenTo','plugins','init','catch','collaboration.channelId','CommentsService','addToReconnectionStack','addCommentThread','code','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Not\x20connected.','assign','resolve','isOfficialPlugin','commentUpdated','commentThreadId','getCommentThreads','commentThreadAdded','_getService','resolvedBy','getMany','reopenCommentThread','size','CommentsRepository','getConnectedSessions','add','2661368DiWoMV','1044285SUwklq','removeCommentThread','addUser','999756qoVWZj','CloudServicesCommentsAdapter','createdAt','permissions','pluginName','commentAdded','context','6xqoaoK','2lJuMKf','mySessionId','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','attributes','unregister','commentRemoved','has','17076303KMcxdI','map','updateComment','_services','keys','_setUpService','_terminateService','disconnect','getCommentThread','update','remove','commentThreadReopened','reopen','getComment','reconnect','get','updateCommentThread','userId','945833blZFYw','_connectService','requires','404','authorId','set','resolveCommentThread','removeComment','register','message','deletedAt','comments','setPermissions','commentId','commentThreadUpdated','addComment'];_0x1f3e=function(){return _0x50a1cb;};return _0x1f3e();}export default a;async function S(_0x290e6d){const _0x1cb05f=_0x18496a;if(_0x1cb05f(0x6f)!==_0x290e6d[_0x1cb05f(0x99)])throw _0x290e6d;}function _0x53ed(_0x12a22f,_0x70012e){const _0x1f3e76=_0x1f3e();return _0x53ed=function(_0x53edec,_0x37be0b){_0x53edec=_0x53edec-0x65;let _0xc949ea=_0x1f3e76[_0x53edec];return _0xc949ea;},_0x53ed(_0x12a22f,_0x70012e);}function R(_0x5c52cb){const _0x2de83e=_0x18496a;if((_0x4c4e90=_0x5c52cb)[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0x83))||_0x4c4e90[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0x9b))||_0x4c4e90[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0xba)))return new Promise(()=>{});var _0x4c4e90;throw _0x5c52cb;}function _(_0x801b6c){const _0x8b904e=_0x18496a;return{'threadId':_0x801b6c[_0x8b904e(0xa0)],'commentId':_0x801b6c[_0x8b904e(0x79)],'content':_0x801b6c[_0x8b904e(0x80)],'createdAt':_0x801b6c[_0x8b904e(0xb1)],'authorId':_0x801b6c[_0x8b904e(0x6b)],'attributes':_0x801b6c[_0x8b904e(0xbb)]||{}};}
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 _0x3dd280=_0x2638;(function(_0x3e59ef,_0x4a3da1){const _0x2e77fe=_0x2638,_0x439a71=_0x3e59ef();while(!![]){try{const _0x4d26db=-parseInt(_0x2e77fe(0x17c))/0x1+-parseInt(_0x2e77fe(0x194))/0x2*(-parseInt(_0x2e77fe(0x178))/0x3)+parseInt(_0x2e77fe(0x187))/0x4+parseInt(_0x2e77fe(0x180))/0x5+parseInt(_0x2e77fe(0x190))/0x6*(parseInt(_0x2e77fe(0x17f))/0x7)+-parseInt(_0x2e77fe(0x18b))/0x8+-parseInt(_0x2e77fe(0x175))/0x9;if(_0x4d26db===_0x4a3da1)break;else _0x439a71['push'](_0x439a71['shift']());}catch(_0x5cc170){_0x439a71['push'](_0x439a71['shift']());}}}(_0x1cae,0x45412));function _0x1cae(){const _0x48acee=['init','data','7351353nWVfSl','once','RealTimeCollaborativeComments','6927wsyDqt','isPremiumPlugin','CommentsRepository','plugins','22299YTVjRg','CommentsEditing','pluginName','7STSGmE','1444040VKqSxS','isThreadsLoadingPaused','switchReadOnly','destroy','change:state','Comments','collaboration.channelId','1858860gFZbcV','requires','listenTo','_terminateService','1596856aLEpnN','editor','config','ready','_setUpService','517710BWkzRZ','isOfficialPlugin','get','connected','418VvUPSj'];_0x1cae=function(){return _0x48acee;};return _0x1cae();}import{Plugin as _0x4593eb}from'ckeditor5/src/core.js';function _0x2638(_0x38d7df,_0x12417b){const _0x1cae7f=_0x1cae();return _0x2638=function(_0x2638e3,_0x566ab3){_0x2638e3=_0x2638e3-0x173;let _0x570fad=_0x1cae7f[_0x2638e3];return _0x570fad;},_0x2638(_0x38d7df,_0x12417b);}import _0x5d5bce from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2b524c from'./realtimecollaborativeediting.js';import _0x9488ae from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4593eb{static get[_0x3dd280(0x188)](){const _0x328b2e=_0x3dd280;return[_0x328b2e(0x185),_0x5d5bce,_0x2b524c,_0x9488ae];}static get[_0x3dd280(0x17e)](){const _0xce5b04=_0x3dd280;return _0xce5b04(0x177);}static get[_0x3dd280(0x191)](){return!0x0;}static get[_0x3dd280(0x179)](){return!0x0;}[_0x3dd280(0x173)](){const _0x558767=_0x3dd280,_0xb07699=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x9488ae),_0x199e0d=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x558767(0x17d)),_0x31d777=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x5d5bce);return this[_0x558767(0x18c)][_0x558767(0x174)][_0x558767(0x176)](_0x558767(0x18e),()=>{const _0x5c0d8c=_0x558767;this[_0x5c0d8c(0x189)](_0xb07699,_0x5c0d8c(0x184),(_0x7d3235,_0x4f446f,_0x4d11b1)=>{const _0x3ae917=_0x5c0d8c;_0x199e0d[_0x3ae917(0x181)]=_0x3ae917(0x193)!==_0x4d11b1;});}),this[_0x558767(0x189)](_0xb07699,_0x558767(0x184),(_0x19d3d4,_0xc4b5dc,_0x53d5ed)=>{const _0x300113=_0x558767;this[_0x300113(0x18c)][_0x300113(0x17b)][_0x300113(0x192)](_0x300113(0x17a))[_0x300113(0x182)](_0x300113(0x193)!==_0x53d5ed);}),_0x31d777[_0x558767(0x18f)](this[_0x558767(0x18c)][_0x558767(0x18d)][_0x558767(0x192)](_0x558767(0x186)));}[_0x3dd280(0x183)](){const _0x2ddcf8=_0x3dd280;this[_0x2ddcf8(0x18c)][_0x2ddcf8(0x17b)][_0x2ddcf8(0x192)](_0x5d5bce)[_0x2ddcf8(0x18a)](this[_0x2ddcf8(0x18c)][_0x2ddcf8(0x18d)][_0x2ddcf8(0x192)](_0x2ddcf8(0x186))),super[_0x2ddcf8(0x183)]();}}
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 _0x8aace7=_0x19e0;(function(_0x77e591,_0x3fd41c){const _0x48c3ce=_0x19e0,_0x5c8bc2=_0x77e591();while(!![]){try{const _0x3e9d03=parseInt(_0x48c3ce(0xe0))/0x1*(-parseInt(_0x48c3ce(0x1ba))/0x2)+parseInt(_0x48c3ce(0x166))/0x3+parseInt(_0x48c3ce(0x14f))/0x4+parseInt(_0x48c3ce(0x14c))/0x5*(-parseInt(_0x48c3ce(0x1aa))/0x6)+-parseInt(_0x48c3ce(0x1a3))/0x7*(parseInt(_0x48c3ce(0xca))/0x8)+parseInt(_0x48c3ce(0x167))/0x9+parseInt(_0x48c3ce(0x121))/0xa;if(_0x3e9d03===_0x3fd41c)break;else _0x5c8bc2['push'](_0x5c8bc2['shift']());}catch(_0x170612){_0x5c8bc2['push'](_0x5c8bc2['shift']());}}}(_0x1216,0x862bc));function _0x1216(){const _0x3ff66a=['isOfficialPlugin','end','disconnected','editing','_isEditingAllowed','_fetchMissingUsers','409','_decompressOperations','includes','isReadOnly','_handleServerResponse','__className','affectsData','_compressor','insert','_offset','getDocumentDetails','string','_loadRoot','_crash','realtimecollaborationclient','1894227ykbDfo','493434AqtFCx','plugins','_channelId','_ignoredOperations','path','editor','_hasSelectionChanged','view','_connectAfterSessionHasBeenFlushed','differ','cs:removeUser','applyOperation','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.','enableReadOnlyMode','lastDocumentSession','suppressErrorInCollaboration','apply','catch','decompress','slice','_bufferRootLoad','CollaborativeEditingService','realtimecollaborationclient-init-service-incorrect-server-operation','_service','define','addUser','CommentsOnly','clone','_handleInitialConnectionData','roots','has','collaboration','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_disconnectService','getUser','_setUpDataInit','_sendBufferedOperations','createPositionFromPath','fire','realtimecollaborationclient-handleserverresponse','showWarning','PENDING_ACTION_SENDING_DATA','sessionCreatedAt','map','remove','_compressOperations','addToReconnectionStack','serverHistory','_isAttached','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Not\x20connected.','_sendBufferedOperationsDelayId','_operationIdentifier','stop','mySessionId','reconnect','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','_getAffectedRoot','history','21BIWKIw','targetPosition','entries','_knownOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_lastServerVersion','disconnect','6FGuUAc','isPremiumPlugin','_isPendingUpdate','change:_isEditingAllowed','_isDisconnection','_currentBufferDelay','from','_handleReconnectionError','get','set','addOperation','setIdForTheLastOperation','then','add','_bufferedOperations','_lastSyncedOperationId','674sBKfUh','filter','batch','getRoot','version','createdAt','cloudDocumentVersion','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.','initData','enqueueChange','realtimecollaborationclient-init-service-internal-error','_handleSendingSelectionMarkers','type','directChange','getConnectedSessions','_applyOperationsSet','_pendingAction','model','_handleReconnectionResponse','Synchronization\x20issue','off','finally','814488diftCA','size','setPermissions','createUserMarkerOperations','real-time-collaboration','fromJSON','addRoot','unregister','sendOperations','currentDocumentSession','init','wasUndone','start','lastSyncVersion','addRootAttribute','length','loadRoot','state','_knownRootNames','_isConnected','InsertOperation','cloud-services-internal-error:\x20Request\x20timeout.','2363bRKnlK','parse','document','error','sessionAdd:','operationsReceived','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','newRange','_authorId','lastOperationAcceptedAt','config','_refreshUserSelectionMarkers','disableReadOnlyMode','compress','connect','rtc-destroyed','change:_isPendingUpdate','removeFromReconnectionStack','connection','reconnection:\x20flushed\x20session','document:write','_sendBufferedOperationsDelayed','_waitUntilSynced','wereChangesApplied','marker','pluginName','getMany','ready','isDocumentOperation','keys','isUndoneOperation','Notification','_isInit','realtimecollaborationclient-init-session-connection-error','_disconnectionOperations','_shouldSendSelectionUpdate','RealTimeCollaborationClient','_document','_addKnownRoot','lastOperationId','cloudServices.bundleVersion','return','404','requires','data','push','channelSessions','markers','getOperations','stopListening','_isLoaded','affectedSelectable','_initSessionsHandling','forEach','baseVersion','collaboration-missing-channelid','_saveOperationInBuffer','Permissions','startsWith','_handleReceivedOperations','selection','position','_hasSynchronizationProblem','rootName','locale','11041950rpuuRN','realtimecollaborationclient-init-non-existent-root','connected','_clearPendingAction','rootsAttributes','toJSON','offset','isEnabled','listenTo','bind','userId','permissions','realtimecollaborationclient-error','createRange','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-document-already-initialized','_updateServerHistory','$root','createRoot','_shouldSendUpdate','getOperationAuthor','_handleExternalOperations','message','root','realtimecollaborationclient-init-connection-failed','sessionId','_baseBufferDelay','code','high','register','realtimecollaborationclient-sendbufferedoperations','getIdOfTheLastOperation','change:hasDomSelection','_setPendingAction','createPositionAt','_operationToId','destroy','_connectService','reset','move','attributes','collaboration.channelId','1191035oGYNZz','_getOperationsFromInitData','round','396420UfKpVJ','rtc-offline'];_0x1216=function(){return _0x3ff66a;};return _0x1216();}import{Plugin as _0xfefefa,PendingActions as _0x45f940}from'ckeditor5/src/core.js';import{CKEditorError as _0x177fa4,version as _0x4dc0bf,uid as _0x784d0f}from'ckeditor5/src/utils.js';import{Notification as _0x367f02}from'ckeditor5/src/ui.js';import{transformSets as _0xcb1b1d,NoOperation as _0x1c3440,InsertOperation as _0x14a164,MarkerOperation as _0x5394b2,RootAttributeOperation as _0x552bec,OperationFactory as _0x17046d,History as _0x1b2fa9}from'ckeditor5/src/engine.js';import _0x2c94ee from'./websocketgateway.js';import _0x1d051a from'./sessions.js';import _0x3a7e68 from'./usermarkers.js';import{getTranslation as _0x556c4d}from'../common-translations.js';function _0x19e0(_0xbc787,_0x201cf9){const _0x12168c=_0x1216();return _0x19e0=function(_0x19e0e1,_0x47ac8e){_0x19e0e1=_0x19e0e1-0xbc;let _0x5840fe=_0x12168c[_0x19e0e1];return _0x5840fe;},_0x19e0(_0xbc787,_0x201cf9);}import{Compressor as _0x541159}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x54fe80}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1ab4f8,CollaborativeEditingService as _0x40286f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0xfefefa{static [_0x8aace7(0x17c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x40286f)());[_0x8aace7(0x160)];[_0x8aace7(0x13b)];[_0x8aace7(0x196)];[_0x8aace7(0x169)];[_0x8aace7(0x17e)];[_0x8aace7(0x105)];[_0x8aace7(0x15e)];[_0x8aace7(0x1b8)];[_0x8aace7(0x1a6)];[_0x8aace7(0xdc)];[_0x8aace7(0xc4)];[_0x8aace7(0x16d)];[_0x8aace7(0x19a)];[_0x8aace7(0x13c)];[_0x8aace7(0x1af)];[_0x8aace7(0x1b9)];[_0x8aace7(0x102)];[_0x8aace7(0x19b)];static get[_0x8aace7(0x10b)](){return[_0x2c94ee,_0x1d051a,_0x3a7e68,_0x45f940,_0x54fe80,_0x367f02];}static get[_0x8aace7(0xf9)](){const _0x3de79d=_0x8aace7;return _0x3de79d(0x104);}static get[_0x8aace7(0x151)](){return!0x0;}static get[_0x8aace7(0x1ab)](){return!0x0;}get[_0x8aace7(0x1c0)](){const _0x25329f=_0x8aace7;return this[_0x25329f(0x1a8)]+this[_0x25329f(0x160)];}get[_0x8aace7(0x1a8)](){const _0x2580ef=_0x8aace7;return this[_0x2580ef(0x196)][_0x2580ef(0x1be)]-this[_0x2580ef(0x160)];}get[_0x8aace7(0xd7)](){const _0x49146d=_0x8aace7,_0x16d230=this[_0x49146d(0x196)][_0x49146d(0x110)]();for(let _0xfeba3a=_0x16d230[_0x49146d(0xd9)]-0x1;_0xfeba3a>=0x0;_0xfeba3a--){const _0x200c0a=_0x16d230[_0xfeba3a];if(!this[_0x49146d(0x102)][_0x49146d(0x185)](_0x200c0a))return _0x200c0a[_0x49146d(0x116)]+0x1-this[_0x49146d(0x160)];}return 0x0;}constructor(_0x5a7500){const _0x28beab=_0x8aace7;if(super(_0x5a7500),this[_0x28beab(0x160)]=0x0,this[_0x28beab(0x13b)]=null,this[_0x28beab(0x196)]=new _0x1b2fa9(),this[_0x28beab(0x16c)][_0x28beab(0xea)][_0x28beab(0x17f)](_0x28beab(0x186),{}),this[_0x28beab(0x169)]=this[_0x28beab(0x16c)][_0x28beab(0xea)][_0x28beab(0x1b2)](_0x28beab(0x14b)),!this[_0x28beab(0x169)])throw new _0x177fa4(_0x28beab(0x117),this);const _0x183e6c=_0x5a7500[_0x28beab(0xea)][_0x28beab(0x1b2)](_0x28beab(0x108))||_0x4dc0bf;this[_0x28beab(0x17e)]=new l[(_0x28beab(0x17c))](_0x183e6c,this[_0x28beab(0x169)]),this[_0x28beab(0x105)]=this[_0x28beab(0x16c)][_0x28beab(0xc5)][_0x28beab(0xe2)],this[_0x28beab(0x15e)]=new _0x541159(),this[_0x28beab(0x1b8)]=[],this[_0x28beab(0x1a6)]=new WeakSet(),this[_0x28beab(0xdc)]=new Set(),this[_0x28beab(0x1b3)](_0x28beab(0x1ac),!0x1),this[_0x28beab(0x1b3)](_0x28beab(0x11e),!0x1),this[_0x28beab(0xc4)]=null,this[_0x28beab(0x16d)]=!0x1,this[_0x28beab(0x19a)]=null,this[_0x28beab(0x13c)]=0x12c,this[_0x28beab(0x1af)]=this[_0x28beab(0x13c)],this[_0x28beab(0x1b9)]=null,this[_0x28beab(0x102)]=new WeakSet(),this[_0x28beab(0x19b)]=new Y(this[_0x28beab(0x102)]);}[_0x8aace7(0xd4)](){const _0x5181ee=_0x8aace7,_0x573a24=this[_0x5181ee(0x16c)],_0x1acbac=_0x573a24[_0x5181ee(0x168)][_0x5181ee(0x1b2)](_0x54fe80),_0x5b10a2=_0x573a24[_0x5181ee(0x168)][_0x5181ee(0x1b2)](_0x2c94ee);this[_0x5181ee(0x129)](_0x1acbac,_0x5181ee(0x136),(_0x59b9d2,_0x295dc7)=>{const _0x2504ac=_0x5181ee,_0x29ee1c=_0x295dc7[0x0];_0x29ee1c[_0x2504ac(0xe8)]&&(_0x59b9d2[_0x2504ac(0x109)]=_0x1acbac[_0x2504ac(0x189)](_0x29ee1c[_0x2504ac(0xe8)]),_0x59b9d2[_0x2504ac(0x19c)]()),null===_0x29ee1c[_0x2504ac(0xe8)]&&(_0x59b9d2[_0x2504ac(0x109)]=null,_0x59b9d2[_0x2504ac(0x19c)]());},{'priority':_0x5181ee(0x13e)}),this[_0x5181ee(0x129)](_0x573a24[_0x5181ee(0xc5)][_0x5181ee(0xe2)][_0x5181ee(0x11c)],_0x5181ee(0x1a0),(_0x2c5ba4,_0x2cc49b)=>{const _0x493e6c=_0x5181ee;_0x2cc49b[_0x493e6c(0xc1)]&&this[_0x493e6c(0xeb)]();}),this[_0x5181ee(0x129)](_0x573a24[_0x5181ee(0x154)][_0x5181ee(0x16e)],_0x5181ee(0x142),()=>{const _0x582c4f=_0x5181ee;this[_0x582c4f(0xeb)]();}),this[_0x5181ee(0x130)](),_0x573a24[_0x5181ee(0xc5)]['on'](_0x5181ee(0x172),(_0x2e1ce4,_0x484047)=>{const _0x3ef932=_0x5181ee,_0x4a9890=_0x484047[0x0];_0x4a9890[_0x3ef932(0xfc)]&&(this[_0x3ef932(0x118)](_0x4a9890),this[_0x3ef932(0x135)]()&&this[_0x3ef932(0xf5)]());}),this[_0x5181ee(0x18a)](),this[_0x5181ee(0x12a)](_0x5181ee(0x155))['to'](_0x5b10a2,_0x5181ee(0xdb),this,_0x5181ee(0x11e),(_0x578cb4,_0x1505fb)=>_0x5181ee(0x123)===_0x578cb4&&!_0x1505fb),this['on'](_0x5181ee(0x1ad),()=>{const _0x5a6bae=_0x5181ee;this[_0x5a6bae(0x155)]?_0x573a24[_0x5a6bae(0xec)](_0x5a6bae(0x150)):_0x573a24[_0x5a6bae(0x174)](_0x5a6bae(0x150));}),this[_0x5181ee(0x155)]?_0x573a24[_0x5181ee(0xec)](_0x5181ee(0x150)):_0x573a24[_0x5181ee(0x174)](_0x5181ee(0x150)),this[_0x5181ee(0x1b3)](_0x5181ee(0xdd),!0x1);}async[_0x8aace7(0x19e)](){const _0x543688=_0x8aace7,_0x2fa43d=this[_0x543688(0x16c)][_0x543688(0x168)][_0x543688(0x1b2)](_0x1d051a),_0x2d3e38=this[_0x543688(0x16c)][_0x543688(0x168)][_0x543688(0x1b2)](_0x2c94ee);try{this[_0x543688(0x1ac)]=!0x0,_0x2fa43d[_0x543688(0xd1)](this[_0x543688(0x169)]);const _0x110465=await this[_0x543688(0x17e)][_0x543688(0x19e)](_0x2d3e38[_0x543688(0xf2)],this[_0x543688(0xd7)]);await this[_0x543688(0xc6)](_0x110465)&&(this[_0x543688(0x1ac)]=!0x1,this[_0x543688(0x124)]());const _0x5a2804=await this[_0x543688(0x17e)][_0x543688(0xc2)]();_0x2fa43d[_0x543688(0x13f)](this[_0x543688(0x169)],_0x5a2804),this[_0x543688(0xbf)](),this[_0x543688(0xdd)]=!0x0;}catch(_0x19d7fe){if(function(_0x2eb91a){const _0x34126d=_0x543688;return _0x34126d(0x10a)===_0x2eb91a[_0x34126d(0x13d)];}(_0x19d7fe)&&this[_0x543688(0x13b)])await this[_0x543688(0x16f)]();else{if(function(_0x25a3fc){const _0x5eb725=_0x543688;return _0x5eb725(0x157)===_0x25a3fc[_0x5eb725(0x13d)];}(_0x19d7fe)){const _0x38f02b=_0x556c4d(this[_0x543688(0x16c)][_0x543688(0x120)],_0x543688(0x19f));this[_0x543688(0x1b1)](_0x38f02b);}else{if(!(_0x19d7fe instanceof Q))throw _0x19d7fe;this[_0x543688(0x1b1)]();}}}}[_0x8aace7(0x146)](){const _0x3488b1=_0x8aace7,_0x52945b=this[_0x3488b1(0x16c)][_0x3488b1(0x168)][_0x3488b1(0x1b2)](_0x2c94ee),_0xc4844a=this[_0x3488b1(0x16c)][_0x3488b1(0x168)][_0x3488b1(0x1b2)](_0x1d051a);this[_0x3488b1(0x16c)][_0x3488b1(0x174)](_0x3488b1(0xef)),_0xc4844a[_0x3488b1(0x10e)][_0x3488b1(0x185)](this[_0x3488b1(0x169)])&&_0xc4844a[_0x3488b1(0xd1)](this[_0x3488b1(0x169)]),_0x52945b[_0x3488b1(0xf1)](this),this[_0x3488b1(0x188)](),super[_0x3488b1(0x146)]();}async[_0x8aace7(0xc6)](_0x551d08){const _0x89791f=_0x8aace7;if(this[_0x89791f(0x13b)]!==_0x551d08[_0x89791f(0x13b)]&&this[_0x89791f(0x1b9)]!==_0x551d08[_0x89791f(0x107)])throw new Q();return this[_0x89791f(0x13b)]=_0x551d08[_0x89791f(0x13b)],this[_0x89791f(0x15b)]([],{..._0x551d08,'wereChangesApplied':!0x1,'data':_0x551d08[_0x89791f(0x10c)]},_0x89791f(0x19e));}async[_0x8aace7(0x147)](_0x1a8c5a,_0x506bad=!0x1){const _0x2174ff=_0x8aace7,{connection:_0x96a921}=this[_0x2174ff(0x16c)][_0x2174ff(0x168)][_0x2174ff(0x1b2)](_0x2c94ee);l[_0x2174ff(0x17c)][_0x2174ff(0xc2)](_0x96a921,this[_0x2174ff(0x169)])[_0x2174ff(0x1b6)](_0x3f0339=>this[_0x2174ff(0x114)](_0x3f0339))[_0x2174ff(0x178)](_0x4aa7db=>{const _0x3ec59b=_0x2174ff;this[_0x3ec59b(0x164)](_0x3ec59b(0x101),_0x4aa7db);}),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0xe5),this[_0x2174ff(0x11b)][_0x2174ff(0x12a)](this)),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0xe3),(_0x2721ea,_0x4cba94)=>{const _0x151047=_0x2174ff;this[_0x151047(0x164)](_0x151047(0xbe),_0x4cba94);}),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0x153),()=>{const _0x1e421e=_0x2174ff;this[_0x1e421e(0xdd)]=!0x1;});const _0x180ea0=this[_0x2174ff(0x19b)][_0x2174ff(0x141)](_0x1a8c5a);this[_0x2174ff(0x1ac)]=!0x0;const _0x44a1a8=await this[_0x2174ff(0x17e)][_0x2174ff(0xee)](_0x96a921,this[_0x2174ff(0x194)](_0x1a8c5a),_0x180ea0);if(this[_0x2174ff(0x13b)]=_0x44a1a8[_0x2174ff(0x13b)],_0x506bad){if(!_0x44a1a8[_0x2174ff(0xf7)])return void this[_0x2174ff(0x1b1)]();this[_0x2174ff(0x1ac)]=!0x1,this[_0x2174ff(0x124)](),this[_0x2174ff(0x196)][_0x2174ff(0x148)](),this[_0x2174ff(0x160)]=_0x44a1a8[_0x2174ff(0x127)],this[_0x2174ff(0x196)][_0x2174ff(0x1be)]=this[_0x2174ff(0x160)],await this[_0x2174ff(0x15b)](_0x1a8c5a,_0x44a1a8,_0x2174ff(0xf3));}else await this[_0x2174ff(0x183)](_0x44a1a8,_0x1a8c5a);this[_0x2174ff(0xbf)](),this[_0x2174ff(0xdd)]=!0x0;}[_0x8aace7(0xbf)](){const _0x208234=_0x8aace7,_0x2f2f47=this[_0x208234(0x16c)][_0x208234(0x168)][_0x208234(0x1b2)](_0x1d051a),_0x89d9c8=this[_0x208234(0x16c)][_0x208234(0x168)][_0x208234(0x1b2)](_0x3a7e68),_0xe054c3=_0x2f2f47[_0x208234(0x10e)][_0x208234(0x1b2)](this[_0x208234(0x169)]);_0xe054c3&&_0xe054c3[_0x208234(0xd9)]>0x1?_0x89d9c8[_0x208234(0xcd)]():this[_0x208234(0x129)](_0x2f2f47,_0x208234(0xe4)+this[_0x208234(0x169)],()=>{const _0x477b26=_0x208234;0x2===_0x2f2f47[_0x477b26(0x10e)][_0x477b26(0x1b2)](this[_0x477b26(0x169)])[_0x477b26(0xd9)]&&_0x89d9c8[_0x477b26(0xcd)]();});}async[_0x8aace7(0x11b)](_0x3c1bae,_0x2df286,_0x485c98,_0x252ce5){const _0x5bdfa5=_0x8aace7;if(!this[_0x5bdfa5(0x1ac)]&&this[_0x5bdfa5(0x105)][_0x5bdfa5(0x1be)]==_0x2df286){const _0x3f5129=this[_0x5bdfa5(0x158)](_0x485c98,_0x252ce5);await this[_0x5bdfa5(0x156)](_0x3f5129),this[_0x5bdfa5(0x137)](_0x3f5129,_0x2df286,_0x485c98[_0x5bdfa5(0x107)])||this[_0x5bdfa5(0x164)](_0x5bdfa5(0x17d));}}async[_0x8aace7(0x16f)](){const _0xd3438f=_0x8aace7;this[_0xd3438f(0x188)]();const {locale:_0x5f576d}=this[_0xd3438f(0x16c)];let _0x3299d3;try{_0x3299d3=await this[_0xd3438f(0x17e)][_0xd3438f(0x161)]();}catch(_0xcdd176){const _0x44511e=_0x556c4d(_0x5f576d,_0xd3438f(0x187));return void this[_0xd3438f(0x1b1)](_0x44511e);}const _0x18f4d7=_0x3299d3[_0xd3438f(0xd3)]||_0x3299d3[_0xd3438f(0x175)];if(this[_0xd3438f(0x1b9)]===_0x18f4d7[_0xd3438f(0x107)])await this[_0xd3438f(0x147)](this[_0xd3438f(0x16c)][_0xd3438f(0xc5)][_0xd3438f(0xe2)][_0xd3438f(0x1a2)][_0xd3438f(0x110)](),!0x0);else{const _0x572fda=_0x556c4d(_0x5f576d,_0xd3438f(0x1c1));this[_0xd3438f(0x1b1)](_0x572fda);}}[_0x8aace7(0x188)](){const _0xcb0434=_0x8aace7;this[_0xcb0434(0x17e)][_0xcb0434(0x1a9)](),this[_0xcb0434(0x1b8)]=[],clearTimeout(this[_0xcb0434(0x19a)]),this[_0xcb0434(0x111)](this[_0xcb0434(0x17e)]);}[_0x8aace7(0x114)](_0x4937f9){const _0x23e2b9=_0x8aace7,_0x427cc3=this[_0x23e2b9(0x16c)][_0x23e2b9(0x168)][_0x23e2b9(0x1b2)](_0x1d051a);this[_0x23e2b9(0x129)](_0x427cc3,_0x23e2b9(0xe4)+this[_0x23e2b9(0x169)],(_0x2ec024,{session:_0x2f6a51})=>{const _0x3ced70=_0x23e2b9;if(_0x2f6a51['id']===_0x427cc3[_0x3ced70(0x19d)]){_0x2ec024[_0x3ced70(0xc8)]();const _0x411279=this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x185)](_0x3ced70(0x181))&&this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x1b2)](_0x3ced70(0x181));let _0x29dcba=_0x2f6a51[_0x3ced70(0x12c)];_0x411279&&_0x411279[_0x3ced70(0x128)]&&(_0x29dcba=_0x29dcba[_0x3ced70(0x1bb)](_0x1a1eed=>_0x3ced70(0xf4)!==_0x1a1eed)),this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x1b2)](_0x3ced70(0x119))[_0x3ced70(0xcc)](_0x29dcba,this[_0x3ced70(0x169)]);}}),_0x427cc3[_0x23e2b9(0x13f)](this[_0x23e2b9(0x169)],_0x4937f9);}[_0x8aace7(0x130)](){const _0x2726a5=_0x8aace7,_0x59c569=this[_0x2726a5(0x16c)][_0x2726a5(0x10c)][_0x2726a5(0x1b3)];this[_0x2726a5(0x16c)][_0x2726a5(0x10c)][_0x2726a5(0x1b3)]=(..._0x594616)=>{const _0x8ce405=_0x2726a5;if(!_0x594616[_0x594616[_0x8ce405(0xd9)]-0x1][_0x8ce405(0x176)])throw new _0x177fa4(_0x8ce405(0x1a7),this);_0x59c569[_0x8ce405(0x177)](this[_0x8ce405(0x16c)][_0x8ce405(0x10c)],_0x594616);};}[_0x8aace7(0x18a)](){const _0x3be3ba=_0x8aace7;this[_0x3be3ba(0x16c)][_0x3be3ba(0x10c)]['on'](_0x3be3ba(0xd4),(_0x3de558,[_0x437e13])=>{const _0x2b778e=_0x3be3ba;if(this[_0x2b778e(0x105)][_0x2b778e(0x1be)])throw new _0x177fa4(_0x2b778e(0x131),this);_0x3de558[_0x2b778e(0x19c)](),this[_0x2b778e(0x143)]();const _0x282ab1=this[_0x2b778e(0x16c)][_0x2b778e(0xea)][_0x2b778e(0x1b2)](_0x2b778e(0x125)),_0x41a786=this[_0x2b778e(0x14d)](_0x437e13,_0x282ab1);0x0==_0x41a786[_0x2b778e(0xd9)]&&_0x41a786[_0x2b778e(0x10d)](new _0x1c3440(0x0)),_0x3de558[_0x2b778e(0x109)]=this[_0x2b778e(0x147)](_0x41a786)[_0x2b778e(0x1b6)](()=>{const _0x96923b=_0x2b778e;this[_0x96923b(0x16c)][_0x96923b(0x168)][_0x96923b(0x1b2)](_0x2c94ee)[_0x96923b(0x195)](this),this[_0x96923b(0x16c)][_0x96923b(0x10c)][_0x96923b(0x18d)](_0x96923b(0xfb));})[_0x2b778e(0x178)](_0xa6931a=>this[_0x2b778e(0x164)](_0x2b778e(0x13a),_0xa6931a))[_0x2b778e(0xc9)](()=>this[_0x2b778e(0x124)]());},{'priority':_0x3be3ba(0x13e)}),this[_0x3be3ba(0x16c)]['on'](_0x3be3ba(0xda),async(_0x52b1fa,[_0x7f62e8,_0x23fdcb])=>{const _0x2e4535=_0x3be3ba;_0x52b1fa[_0x2e4535(0x19c)]();const _0x2fcfcf=this[_0x2e4535(0x16c)][_0x2e4535(0xc5)][_0x2e4535(0xe2)][_0x2e4535(0x1bd)](_0x7f62e8);if(!this[_0x2e4535(0xdc)][_0x2e4535(0x185)](_0x7f62e8)){const _0x599c49=_0x23fdcb&&_0x23fdcb[_0x2e4535(0x10c)]?_0x23fdcb[_0x2e4535(0x10c)]:'',_0x21c57b=_0x23fdcb&&_0x23fdcb[_0x2e4535(0x14a)]?_0x23fdcb[_0x2e4535(0x14a)]:{};await this[_0x2e4535(0x163)](_0x7f62e8,_0x599c49,_0x21c57b);}this[_0x2e4535(0x16c)][_0x2e4535(0xc5)][_0x2e4535(0xbd)]({'isUndoable':!0x1},()=>{const _0x5153e2=_0x2e4535;_0x2fcfcf[_0x5153e2(0x112)]=!0x0,this[_0x5153e2(0x16c)][_0x5153e2(0xc5)][_0x5153e2(0xe2)][_0x5153e2(0x170)][_0x5153e2(0x17b)](_0x2fcfcf);});},{'priority':_0x3be3ba(0x13e)});}async[_0x8aace7(0x156)](_0x4ef30c){const _0x20e18e=_0x8aace7,_0x24ba67=this[_0x20e18e(0x16c)][_0x20e18e(0x168)][_0x20e18e(0x1b2)](_0x54fe80),{connection:_0xf63e75}=this[_0x20e18e(0x16c)][_0x20e18e(0x168)][_0x20e18e(0x1b2)](_0x2c94ee),_0xbe6dcb=new Set();for(const _0x53c27a of _0x4ef30c){const _0xb0b3b2=_0x53c27a[_0x20e18e(0xe8)];_0xb0b3b2&&!_0x24ba67[_0x20e18e(0x189)](_0xb0b3b2)&&_0xbe6dcb[_0x20e18e(0x1b7)](_0xb0b3b2);}if(0x0===_0xbe6dcb[_0x20e18e(0xcb)])return;const _0x40a86c=await _0x1ab4f8[_0x20e18e(0xfa)](_0xf63e75,Array[_0x20e18e(0x1b0)](_0xbe6dcb));for(const _0x3fa21f of _0x40a86c)_0x24ba67[_0x20e18e(0x189)](_0x3fa21f['id'])||_0x24ba67[_0x20e18e(0x180)](_0x3fa21f);}[_0x8aace7(0x14d)](_0xb4f453,_0x2d3c0e={}){const _0x4d0e46=_0x8aace7,_0x23f36f=this[_0x4d0e46(0x16c)][_0x4d0e46(0xc5)],_0xb23d17=[];let _0x2b5f62=0x0;const _0x5bbf5c=_0x4d0e46(0x162)==typeof _0xb4f453?{'main':_0xb4f453}:_0xb4f453;for(const _0xadabb9 of Object[_0x4d0e46(0xfd)](_0x5bbf5c)){if(!this[_0x4d0e46(0x105)][_0x4d0e46(0x184)][_0x4d0e46(0x185)](_0xadabb9))throw new _0x177fa4(_0x4d0e46(0x122),this);const _0x3ee213=this[_0x4d0e46(0x16c)][_0x4d0e46(0x10c)][_0x4d0e46(0xe1)](_0x5bbf5c[_0xadabb9]),_0x1b377b=this[_0x4d0e46(0x105)][_0x4d0e46(0x1bd)](_0xadabb9),_0x2b10aa=new _0x14a164(_0x23f36f[_0x4d0e46(0x144)](_0x1b377b,0x0),_0x3ee213,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x2b10aa);for(const [_0x322b4d,_0x14363b]of _0x3ee213[_0x4d0e46(0x10f)]){const _0x4b83b9=_0x23f36f[_0x4d0e46(0x12e)](_0x23f36f[_0x4d0e46(0x18c)](_0x1b377b,_0x14363b[_0x4d0e46(0xd6)][_0x4d0e46(0x16b)][_0x4d0e46(0x17a)]()),_0x23f36f[_0x4d0e46(0x18c)](_0x1b377b,_0x14363b[_0x4d0e46(0x152)][_0x4d0e46(0x16b)][_0x4d0e46(0x17a)]())),_0x43031e=new _0x5394b2(_0x322b4d,null,_0x4b83b9,_0x23f36f[_0x4d0e46(0x10f)],!0x0,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x43031e);}}if(_0x2d3c0e)for(const [_0x2c9216,_0xb6a038]of Object[_0x4d0e46(0x1a5)](_0x2d3c0e)){const _0x39e39a=_0x23f36f[_0x4d0e46(0xe2)][_0x4d0e46(0x1bd)](_0x2c9216);if(!_0x39e39a)throw new _0x177fa4(_0x4d0e46(0x198),null);for(const [_0x1783f5,_0x1c9ac8]of Object[_0x4d0e46(0x1a5)](_0xb6a038))if(null!==_0x1c9ac8){const _0x46671f=new _0x552bec(_0x39e39a,_0x1783f5,null,_0x1c9ac8,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x46671f);}}return _0xb23d17;}async[_0x8aace7(0x163)](_0x1e873c,_0x25c8c9,_0x56cbba){const _0x12644f=_0x8aace7;this[_0x12644f(0x14d)]({[_0x1e873c]:_0x25c8c9},{[_0x1e873c]:_0x56cbba})[_0x12644f(0x115)]((_0x2ad9cb,_0x4bc5e5)=>{const _0x3195fd=_0x12644f;_0x2ad9cb[_0x3195fd(0x116)]=this[_0x3195fd(0x105)][_0x3195fd(0x1be)]+_0x4bc5e5,_0x2ad9cb[_0x3195fd(0x100)]=!0x0,this[_0x3195fd(0x118)](_0x2ad9cb);}),this[_0x12644f(0xf5)](),await this[_0x12644f(0xf6)]();}async[_0x8aace7(0x183)](_0x593464,_0x44f1a2){const _0x3ad349=_0x8aace7;let _0x56d619;this[_0x3ad349(0x160)]=_0x593464[_0x3ad349(0x127)];const _0x18bbb2=_0x593464[_0x3ad349(0xf7)]&&!_0x593464[_0x3ad349(0xbc)],_0x57ab84=_0x18bbb2?0x0:_0x593464[_0x3ad349(0x10c)][_0x3ad349(0x116)];if(_0x44f1a2[_0x3ad349(0x115)](_0x593e55=>{const _0x49ed3c=_0x3ad349;_0x593e55[_0x49ed3c(0x100)]=!0x0,_0x593e55[_0x49ed3c(0x1bf)]=_0x593464[_0x49ed3c(0x191)],_0x593e55[_0x49ed3c(0xe8)]=null;}),_0x18bbb2)_0x56d619=_0x44f1a2,this[_0x3ad349(0xc3)](_0x56d619,_0x18bbb2);else{if(_0x593464[_0x3ad349(0xbc)]){const _0x4033b3=this[_0x3ad349(0x14d)](_0x593464[_0x3ad349(0xbc)]);this[_0x3ad349(0x105)][_0x3ad349(0x1a2)][_0x3ad349(0x1be)]=-_0x4033b3[_0x3ad349(0xd9)],_0x4033b3[_0x3ad349(0x115)](_0x2ef433=>{const _0x5ebe32=_0x3ad349;_0x2ef433[_0x5ebe32(0x116)]-=_0x4033b3[_0x5ebe32(0xd9)],_0x2ef433[_0x5ebe32(0x1bf)]=_0x593464[_0x5ebe32(0x191)],_0x2ef433[_0x5ebe32(0x100)]=!0x0,_0x2ef433[_0x5ebe32(0xe8)]=null;}),this[_0x3ad349(0xc3)](_0x4033b3,!0x0),this[_0x3ad349(0x196)][_0x3ad349(0x1be)]=-_0x4033b3[_0x3ad349(0xd9)]+this[_0x3ad349(0x160)],this[_0x3ad349(0x132)](_0x4033b3);}this[_0x3ad349(0x105)][_0x3ad349(0x1a2)][_0x3ad349(0x1be)]=_0x57ab84,_0x56d619=this[_0x3ad349(0x158)](_0x593464[_0x3ad349(0x10c)],_0x593464[_0x3ad349(0x12f)]),await this[_0x3ad349(0x156)](_0x56d619),this[_0x3ad349(0xc3)](_0x56d619,_0x18bbb2);}_0x593464[_0x3ad349(0x107)]&&(this[_0x3ad349(0x19b)][_0x3ad349(0x1b5)](_0x56d619,_0x593464[_0x3ad349(0x107)]),this[_0x3ad349(0x1b9)]=_0x593464[_0x3ad349(0x107)]),this[_0x3ad349(0x196)][_0x3ad349(0x1be)]=_0x57ab84+this[_0x3ad349(0x160)],this[_0x3ad349(0x132)](_0x56d619),_0x44f1a2[_0x3ad349(0x1bb)](_0x207aaf=>{const _0x24d7d4=_0x3ad349,_0x186e64=this[_0x24d7d4(0x1a1)](_0x207aaf);return _0x186e64&&!this[_0x24d7d4(0xdc)][_0x24d7d4(0x185)](_0x186e64);})[_0x3ad349(0x115)]((_0x2b3869,_0x35cf24)=>{const _0x58f2bf=_0x3ad349;_0x2b3869[_0x58f2bf(0x116)]=this[_0x58f2bf(0x105)][_0x58f2bf(0x1be)]+_0x35cf24,this[_0x58f2bf(0x118)](_0x2b3869);}),this[_0x3ad349(0x135)]()?(this[_0x3ad349(0x1af)]=0x0,this[_0x3ad349(0xf5)](!0x0),await this[_0x3ad349(0xf6)]()):(this[_0x3ad349(0x1ac)]=!0x1,this[_0x3ad349(0x124)]());}[_0x8aace7(0x164)](_0x2044c5,_0x1011df){const _0x55107f=_0x8aace7,_0x42e528=_0x1011df&&_0x1011df[_0x55107f(0x138)];if(_0x42e528&&_0x42e528[_0x55107f(0x11a)](_0x55107f(0x165)))throw _0x1011df;const _0x40f13e=this[_0x55107f(0x16c)][_0x55107f(0x168)][_0x55107f(0x1b2)](_0x2c94ee);throw this[_0x55107f(0x1ac)]=!0x0,_0x40f13e[_0x55107f(0x1a9)](),this[_0x55107f(0x16c)][_0x55107f(0x174)](_0x55107f(0x12d)),new _0x177fa4(_0x2044c5,this[_0x55107f(0x16c)],_0x42e528?{'originalError':_0x42e528}:void 0x0);}[_0x8aace7(0x118)](_0xafb0e){const _0x1a9376=_0x8aace7;this[_0x1a9376(0x1a6)][_0x1a9376(0x185)](_0xafb0e)||(this[_0x1a9376(0x1a6)][_0x1a9376(0x1b7)](_0xafb0e),this[_0x1a9376(0x1b8)][_0x1a9376(0x10d)](_0xafb0e),this[_0x1a9376(0xc4)]||_0x1a9376(0xf8)==_0xafb0e[_0x1a9376(0xc0)]&&!_0xafb0e[_0x1a9376(0x15d)]||this[_0x1a9376(0x143)]());}[_0x8aace7(0xf5)](_0x4d1276=!0x1){const _0x5b2ce6=_0x8aace7;!_0x4d1276&&this[_0x5b2ce6(0x1ac)]||(this[_0x5b2ce6(0x1ac)]=!0x0,clearTimeout(this[_0x5b2ce6(0x19a)]),this[_0x5b2ce6(0x19a)]=setTimeout(()=>{const _0x3712d2=_0x5b2ce6;this[_0x3712d2(0x18b)]()[_0x3712d2(0x1b6)](_0x3553b0=>{const _0x1b9389=_0x3712d2;_0x3553b0&&(this[_0x1b9389(0x124)](),this[_0x1b9389(0x1ac)]=!0x1);})[_0x3712d2(0x178)](_0x11e225=>{const _0x25f1c6=_0x3712d2;this[_0x25f1c6(0x124)](),this[_0x25f1c6(0x1ac)]=!0x1,function(_0x120f3e){const _0x4d39e9=_0x25f1c6;return _0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0x199))||_0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0xe6))||_0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0xdf));}(_0x11e225)||this[_0x25f1c6(0x164)](_0x11e225[_0x25f1c6(0x138)],_0x11e225);});},this[_0x5b2ce6(0x1af)]));}[_0x8aace7(0xf6)](){return new Promise(_0x336342=>{const _0x56dfd6=_0x19e0;this['on'](_0x56dfd6(0xf0),()=>{_0x336342();});});}async[_0x8aace7(0x18b)](){const _0x2b1c10=_0x8aace7,_0x2348aa=this[_0x2b1c10(0x16c)][_0x2b1c10(0x168)][_0x2b1c10(0x1b2)](_0x3a7e68);if(this[_0x2b1c10(0x103)]()&&(_0x2348aa[_0x2b1c10(0xcd)](),this[_0x2b1c10(0x16d)]=!0x1),!this[_0x2b1c10(0x135)]())return!0x0;const _0x2072a4=[...this[_0x2b1c10(0x1b8)]];for(const _0x5dda07 of _0x2072a4)_0x5dda07[_0x2b1c10(0xd5)]=this[_0x2b1c10(0x105)][_0x2b1c10(0x1a2)][_0x2b1c10(0xfe)](_0x5dda07);const _0x388df5=this[_0x2b1c10(0x19b)][_0x2b1c10(0x141)](_0x2072a4),_0x4d97a1=J++,_0x5c7130=this[_0x2b1c10(0x194)](_0x2072a4),_0x2e063c=await this[_0x2b1c10(0x17e)][_0x2b1c10(0xd2)](_0x5c7130,_0x5c7130[_0x2b1c10(0x116)],_0x388df5);try{return await this[_0x2b1c10(0x15b)](_0x2072a4,_0x2e063c,_0x4d97a1);}catch(_0x91e20f){return this[_0x2b1c10(0x164)](_0x2b1c10(0x140),_0x91e20f);}}async[_0x8aace7(0x15b)](_0x88bf48,_0x3cb5e1,_0x546b38){const _0x4fce7b=_0x8aace7;if(_0x4fce7b(0xe3)in _0x3cb5e1)throw _0x3cb5e1[_0x4fce7b(0xe3)];let _0x40136f=!0x1;if(_0x3cb5e1[_0x4fce7b(0xf7)]){_0x3cb5e1[_0x4fce7b(0x107)]&&(this[_0x4fce7b(0x1b9)]=_0x3cb5e1[_0x4fce7b(0x107)]),this[_0x4fce7b(0x1b8)]=this[_0x4fce7b(0x1b8)][_0x4fce7b(0x1bb)](_0x36db7b=>!_0x88bf48[_0x4fce7b(0x159)](_0x36db7b));for(const _0x107c8f of _0x88bf48)_0x107c8f[_0x4fce7b(0x1bf)]=_0x4fce7b(0xe9)in _0x3cb5e1&&_0x3cb5e1[_0x4fce7b(0xe9)]||void 0x0;X(_0x88bf48,_0x3cb5e1[_0x4fce7b(0x1be)]-_0x88bf48[_0x4fce7b(0xd9)]),this[_0x4fce7b(0x132)](_0x88bf48);const _0x99764f=_0x88bf48[_0x4fce7b(0x1bb)](_0x17b335=>{const _0x39cd52=_0x4fce7b;if(!_0x17b335[_0x39cd52(0x100)])return!0x1;const _0xd7bbfb=this[_0x39cd52(0x1a1)](_0x17b335);return _0xd7bbfb&&!this[_0x39cd52(0xdc)][_0x39cd52(0x185)](_0xd7bbfb);});X(_0x99764f,this[_0x4fce7b(0x105)][_0x4fce7b(0x1be)]),this[_0x4fce7b(0xc3)](_0x99764f),_0x40136f=!0x0,this[_0x4fce7b(0x1af)]=this[_0x4fce7b(0x13c)];}else{const _0x1951fc=this[_0x4fce7b(0x158)](_0x3cb5e1[_0x4fce7b(0x10c)],_0x3cb5e1[_0x4fce7b(0x12f)])[_0x4fce7b(0x1bb)](_0xed61e7=>_0xed61e7[_0x4fce7b(0x116)]>=this[_0x4fce7b(0x1a8)]);_0x1951fc[_0x4fce7b(0x115)](_0x2d38d5=>this[_0x4fce7b(0x106)](_0x2d38d5)),this[_0x4fce7b(0x1b8)]=this[_0x4fce7b(0x1b8)][_0x4fce7b(0x1bb)](_0x2e40a9=>!_0x2e40a9[_0x4fce7b(0x100)]||!this[_0x4fce7b(0xdc)][_0x4fce7b(0x185)](this[_0x4fce7b(0x1a1)](_0x2e40a9))),this[_0x4fce7b(0x1b8)][_0x4fce7b(0xd9)]&&X(this[_0x4fce7b(0x1b8)],this[_0x4fce7b(0x1b8)][0x0][_0x4fce7b(0x116)]),await this[_0x4fce7b(0x156)](_0x1951fc),_0x40136f=this[_0x4fce7b(0x137)](_0x1951fc,_0x3cb5e1[_0x4fce7b(0x1be)],_0x3cb5e1[_0x4fce7b(0x107)]),this[_0x4fce7b(0x1af)]=Math[_0x4fce7b(0x14e)](this[_0x4fce7b(0x1af)]/0x2);}return _0x40136f?!this[_0x4fce7b(0x135)]()||(this[_0x4fce7b(0xf5)](!0x0),!0x1):this[_0x4fce7b(0x164)](_0x4fce7b(0x18e));}[_0x8aace7(0x137)](_0x53fb3d,_0x43d63c,_0x58da90){const _0x2cc05c=_0x8aace7;try{const _0x1abf48={'document':this[_0x2cc05c(0x105)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xdc4529,operationsB:_0x158e2d,originalOperations:_0x3d10a6}=_0xcb1b1d(_0x53fb3d,this[_0x2cc05c(0x1b8)],_0x1abf48);X(_0xdc4529,this[_0x2cc05c(0x105)][_0x2cc05c(0x1be)]),X(_0x158e2d,_0x43d63c);for(const _0x38d8a5 of _0xdc4529){const _0x5c0ba9=_0x3d10a6[_0x2cc05c(0x1b2)](_0x38d8a5);_0x38d8a5[_0x2cc05c(0xe8)]=_0x5c0ba9?_0x5c0ba9[_0x2cc05c(0xe8)]:null;}_0x58da90&&(this[_0x2cc05c(0x19b)][_0x2cc05c(0x1b5)](_0x53fb3d,_0x58da90),this[_0x2cc05c(0x1b9)]=_0x58da90),this[_0x2cc05c(0x1b8)]=[..._0x158e2d],this[_0x2cc05c(0xc3)](_0xdc4529),this[_0x2cc05c(0x132)](_0x53fb3d);}catch(_0x3404aa){return console[_0x2cc05c(0xe3)](_0x3404aa),!0x1;}return!0x0;}[_0x8aace7(0xc3)](_0x23bec1,_0x3d5d7d=!0x1){const _0x27da0a=_0x8aace7;this[_0x27da0a(0x16c)][_0x27da0a(0xc5)][_0x27da0a(0xbd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x468c76=>{const _0x3a8911=_0x27da0a;for(const _0xba6a3e of _0x23bec1)this[_0x3a8911(0x1a6)][_0x3a8911(0x1b7)](_0xba6a3e),this[_0x3a8911(0x106)](_0xba6a3e),_0x468c76[_0x3a8911(0x1bc)][_0x3a8911(0x1b4)](_0xba6a3e),this[_0x3a8911(0x16c)][_0x3a8911(0xc5)][_0x3a8911(0x172)](_0xba6a3e);});}[_0x8aace7(0x106)](_0x291795){const _0x2e1c7b=_0x8aace7,_0x3bdfd5=this[_0x2e1c7b(0x1a1)](_0x291795);_0x3bdfd5&&this[_0x2e1c7b(0xdc)][_0x2e1c7b(0x1b7)](_0x3bdfd5);}[_0x8aace7(0x1a1)](_0x28168d){const _0x4596b2=_0x8aace7;let _0x34817c,_0x16a5c5;switch(_0x28168d[_0x4596b2(0xc0)]){case _0x4596b2(0x15f):_0x34817c=_0x28168d[_0x4596b2(0x11d)][_0x4596b2(0x139)];break;case _0x4596b2(0xf8):if(_0x16a5c5=_0x28168d[_0x4596b2(0xe7)],!_0x16a5c5)return null;_0x34817c=_0x16a5c5[_0x4596b2(0x139)];break;case _0x4596b2(0xd8):_0x34817c=_0x28168d[_0x4596b2(0x139)];break;case _0x4596b2(0xd0):_0x34817c=_0x28168d[_0x4596b2(0x113)];break;case _0x4596b2(0x149):_0x34817c=_0x28168d[_0x4596b2(0x1a4)][_0x4596b2(0x139)];break;default:return null;}return _0x34817c[_0x4596b2(0x11f)];}[_0x8aace7(0x132)](_0x33da0f){const _0x35bde0=_0x8aace7;_0x33da0f[_0x35bde0(0x115)](_0x2324a9=>{const _0x54563d=_0x35bde0,_0xac218e=_0x2324a9[_0x54563d(0x182)]();_0xac218e[_0x54563d(0xe8)]=_0x2324a9[_0x54563d(0xe8)],_0xac218e[_0x54563d(0x100)]=!!_0x2324a9[_0x54563d(0x100)],_0xac218e[_0x54563d(0x1bf)]=_0x2324a9[_0x54563d(0x1bf)],_0xac218e[_0x54563d(0x116)]+=this[_0x54563d(0x160)],_0x2324a9[_0x54563d(0x1ae)]&&this[_0x54563d(0x102)][_0x54563d(0x1b7)](_0xac218e),this[_0x54563d(0x196)][_0x54563d(0x1b4)](_0xac218e);});}[_0x8aace7(0x1b1)](_0x1fc9a2){const _0x1d4e70=_0x8aace7,_0x1103d6=this[_0x1d4e70(0x16c)][_0x1d4e70(0x168)][_0x1d4e70(0x1b2)](_0x1d4e70(0xff)),_0x1407fd=this[_0x1d4e70(0x16c)][_0x1d4e70(0x120)];_0x1fc9a2||(_0x1fc9a2=_0x556c4d(_0x1407fd,_0x1d4e70(0x173))),_0x1103d6[_0x1d4e70(0x18f)](_0x1fc9a2,{'title':_0x556c4d(_0x1407fd,_0x1d4e70(0xc7)),'namespace':_0x1d4e70(0xce)}),this[_0x1d4e70(0x11e)]=!0x0,clearTimeout(this[_0x1d4e70(0x19a)]),this[_0x1d4e70(0x1b8)]=[],this[_0x1d4e70(0x16c)][_0x1d4e70(0x168)][_0x1d4e70(0x1b2)](_0x2c94ee)[_0x1d4e70(0x1a9)]();}[_0x8aace7(0x143)](){const _0x3f555e=_0x8aace7;this[_0x3f555e(0xc4)]||(this[_0x3f555e(0xc4)]=this[_0x3f555e(0x16c)][_0x3f555e(0x168)][_0x3f555e(0x1b2)](_0x45f940)[_0x3f555e(0x1b7)](_0x556c4d(this[_0x3f555e(0x16c)][_0x3f555e(0x120)],_0x3f555e(0x190))));}[_0x8aace7(0x124)](){const _0x5d8d3b=_0x8aace7;this[_0x5d8d3b(0xc4)]&&(this[_0x5d8d3b(0x16c)][_0x5d8d3b(0x168)][_0x5d8d3b(0x1b2)](_0x45f940)[_0x5d8d3b(0x193)](this[_0x5d8d3b(0xc4)]),this[_0x5d8d3b(0xc4)]=null);}[_0x8aace7(0x194)](_0x2b6396){const _0x5e061f=_0x8aace7,_0x50e593=_0x2b6396[_0x5e061f(0x192)](_0x2333ad=>_0x2333ad[_0x5e061f(0x126)]());return this[_0x5e061f(0x15e)][_0x5e061f(0xed)](_0x50e593);}[_0x8aace7(0x158)](_0x275161,_0x5ac604){const _0x151e3a=_0x8aace7;return this[_0x151e3a(0x15e)][_0x151e3a(0x179)](_0x275161)[_0x151e3a(0x192)]((_0x53c2c6,_0x3f8348)=>{const _0x206644=_0x151e3a,_0x59f0de=_0x206644(0xd4)==_0x5ac604[_0x3f8348][_0x206644(0xc0)];if(_0x206644(0xde)==_0x53c2c6[_0x206644(0x15c)]){const _0xd10848=_0x53c2c6[_0x206644(0x11d)][_0x206644(0x139)];!this[_0x206644(0x105)][_0x206644(0x1bd)](_0xd10848)&&(this[_0x206644(0x105)][_0x206644(0x134)](_0x206644(0x133),_0xd10848)[_0x206644(0x197)]=!0x1);}const _0x3c170e=_0x17046d[_0x206644(0xcf)](_0x53c2c6,this[_0x206644(0x105)]);return _0x3c170e[_0x206644(0xd5)]=_0x53c2c6[_0x206644(0xd5)],_0x3c170e[_0x206644(0x100)]=_0x59f0de,_0x3c170e[_0x206644(0xe8)]=_0x59f0de?null:_0x5ac604[_0x3f8348][_0x206644(0x12b)],_0x3c170e[_0x206644(0x1ae)]=_0x206644(0x171)===_0x5ac604[_0x3f8348][_0x206644(0xc0)],_0x3c170e[_0x206644(0x1bf)]=_0x5ac604[_0x3f8348][_0x206644(0x1bf)],_0x3c170e;});}[_0x8aace7(0xeb)](){const _0x51103f=_0x8aace7;this[_0x51103f(0x16d)]=!0x0,this[_0x51103f(0x103)]()?this[_0x51103f(0xf5)]():this[_0x51103f(0x16d)]=!0x1;}[_0x8aace7(0x103)](){const _0x3fd009=_0x8aace7,_0x1bf649=this[_0x3fd009(0x16c)][_0x3fd009(0x168)][_0x3fd009(0x1b2)](_0x1d051a)[_0x3fd009(0x10e)][_0x3fd009(0x1b2)](this[_0x3fd009(0x169)]);return!this[_0x3fd009(0x16c)][_0x3fd009(0x15a)]&&!!_0x1bf649&&_0x1bf649[_0x3fd009(0xd9)]>0x1&&this[_0x3fd009(0x16d)];}[_0x8aace7(0x135)](){const _0x1ea72e=_0x8aace7;return this[_0x1ea72e(0x1b8)][_0x1ea72e(0xd9)]>0x0||this[_0x1ea72e(0x103)]();}}export default l;class Q extends Error{}function X(_0x488478,_0x26c2b3){const _0x4707b1=_0x8aace7;for(const _0x438095 of _0x488478)_0x438095[_0x4707b1(0x116)]=_0x26c2b3++;}class Y{[_0x8aace7(0x16a)];[_0x8aace7(0x145)];constructor(_0x173760){const _0x5465dd=_0x8aace7;this[_0x5465dd(0x16a)]=_0x173760,this[_0x5465dd(0x145)]=new WeakMap();}[_0x8aace7(0x141)](_0x407426){const _0x457896=_0x8aace7;let _0x7e2c9b=_0x407426[_0x457896(0xd9)];for(;_0x7e2c9b--;){const _0x348c8d=_0x407426[_0x7e2c9b];if(!this[_0x457896(0x16a)][_0x457896(0x185)](_0x348c8d)){if(!this[_0x457896(0x145)][_0x457896(0x185)](_0x348c8d)){const _0x4d19a2=_0x784d0f()[_0x457896(0x17a)](0x1,0x12);this[_0x457896(0x145)][_0x457896(0x1b3)](_0x348c8d,_0x4d19a2);}return this[_0x457896(0x145)][_0x457896(0x1b2)](_0x348c8d);}}}[_0x8aace7(0x1b5)](_0x5a2749,_0x575b15){const _0x1357a3=_0x8aace7;if(!_0x575b15)return;let _0x24d927=_0x5a2749[_0x1357a3(0xd9)];for(;_0x24d927--;){const _0x95a412=_0x5a2749[_0x24d927];this[_0x1357a3(0x16a)][_0x1357a3(0x185)](_0x95a412)||this[_0x1357a3(0x145)][_0x1357a3(0x1b3)](_0x95a412,_0x575b15);}}}
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
- const _0x137201=_0x5104;(function(_0xa1ce9b,_0x24bcef){const _0x4c6d02=_0x5104,_0x4d4969=_0xa1ce9b();while(!![]){try{const _0xa94d06=parseInt(_0x4c6d02(0x1a1))/0x1+parseInt(_0x4c6d02(0x1c1))/0x2*(parseInt(_0x4c6d02(0x1b7))/0x3)+parseInt(_0x4c6d02(0x1c9))/0x4+parseInt(_0x4c6d02(0x1d9))/0x5+-parseInt(_0x4c6d02(0x1d0))/0x6*(parseInt(_0x4c6d02(0x1ae))/0x7)+-parseInt(_0x4c6d02(0x1d5))/0x8*(-parseInt(_0x4c6d02(0x1db))/0x9)+-parseInt(_0x4c6d02(0x1a2))/0xa*(parseInt(_0x4c6d02(0x1a8))/0xb);if(_0xa94d06===_0x24bcef)break;else _0x4d4969['push'](_0x4d4969['shift']());}catch(_0xf14bc2){_0x4d4969['push'](_0x4d4969['shift']());}}}(_0x2a86,0x45383));import{ContextPlugin as _0x3950f2}from'ckeditor5/src/core.js';import{Collection as _0x15acb4,CKEditorError as _0x26a413}from'ckeditor5/src/utils.js';import _0x2d0141 from'./websocketgateway.js';import{Users as _0x53dd8f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5104(_0x586f4e,_0x5e589c){const _0x2a86cd=_0x2a86();return _0x5104=function(_0x51045,_0x2941ec){_0x51045=_0x51045-0x1a1;let _0xd8ba38=_0x2a86cd[_0x51045];return _0xd8ba38;},_0x5104(_0x586f4e,_0x5e589c);}function _0x2a86(){const _0x2d15a2=['2154272pGKxjT','init','mySessionId','Sessions','defineMe','get','allConnectedUsers','18996IKatnS','role','getUserRole','unregister','assign','273432UxJUXC','sessions-register-already-registered','sessions-unregister-not-exist','remove','1219340JyoDUX','connected','18BgBRGr','add','forEach','getUser','_handleSessionAdd','404067IMvNhC','1603470EgkcpV','isPremiumPlugin','fire','listenTo','register','connection','99jkEOfH','getUserSessions','_handleSessionRemove','user','pluginName','channelSessions','189OvBLsh','getUserBySessionId','_uniqueUsersCount','addUser','delete','clear','isOfficialPlugin','requires','stopListening','1671801qCfrPv','sessionId','sessionAdd:','change:state','_createUser','values','size','_users','context','set','2YRWkZe','_registeredSessions','channelConnectedUsers','state','plugins','orderNumber','has','isMe'];_0x2a86=function(){return _0x2d15a2;};return _0x2a86();}export default class i extends _0x3950f2{[_0x137201(0x1ad)];[_0x137201(0x1c3)];[_0x137201(0x1cf)];[_0x137201(0x1c2)];[_0x137201(0x1b0)];[_0x137201(0x1be)];static get[_0x137201(0x1ac)](){const _0x3aaf6a=_0x137201;return _0x3aaf6a(0x1cc);}static get[_0x137201(0x1b4)](){return!0x0;}static get[_0x137201(0x1a3)](){return!0x0;}static get[_0x137201(0x1b5)](){return[_0x2d0141,_0x53dd8f];}constructor(_0x812712){const _0x6a2b29=_0x137201;super(_0x812712),this[_0x6a2b29(0x1ad)]=new Map(),this[_0x6a2b29(0x1c3)]=new Map(),this[_0x6a2b29(0x1cf)]=new _0x15acb4(),this[_0x6a2b29(0x1c2)]=new Map(),this[_0x6a2b29(0x1b0)]=0x0,this[_0x6a2b29(0x1be)]=this[_0x6a2b29(0x1bf)][_0x6a2b29(0x1c5)][_0x6a2b29(0x1ce)](_0x53dd8f);}[_0x137201(0x1ca)](){const _0x53fb68=_0x137201,_0x59b3d3=this[_0x53fb68(0x1bf)][_0x53fb68(0x1c5)][_0x53fb68(0x1ce)](_0x2d0141);this[_0x53fb68(0x1a5)](_0x59b3d3,_0x53fb68(0x1ba),(_0x5449e8,_0x35a8d6,_0x2ee64d)=>{const _0x459a3d=_0x53fb68;if(_0x459a3d(0x1da)!==_0x2ee64d)this[_0x459a3d(0x1ad)][_0x459a3d(0x1dd)](_0x1c69ff=>_0x1c69ff[_0x459a3d(0x1b3)]()),this[_0x459a3d(0x1c3)][_0x459a3d(0x1dd)](_0x48fe96=>_0x48fe96[_0x459a3d(0x1b3)]()),this[_0x459a3d(0x1cf)][_0x459a3d(0x1b3)]();else{for(const [_0x365fca,_0x2834b6]of this[_0x459a3d(0x1c2)])for(const _0x4777dd of _0x2834b6)this[_0x459a3d(0x1df)](_0x365fca,_0x4777dd);}}),this[_0x53fb68(0x1bb)](_0x59b3d3[_0x53fb68(0x1a7)]['me'],!0x0);}[_0x137201(0x1a6)](_0x4e77ef,_0x530e54){const _0x42f2d8=_0x137201;if(this[_0x42f2d8(0x1c2)][_0x42f2d8(0x1c7)](_0x4e77ef))throw new _0x26a413(_0x42f2d8(0x1d6),null,{'channelId':_0x4e77ef});this[_0x42f2d8(0x1c2)][_0x42f2d8(0x1c0)](_0x4e77ef,_0x530e54),this[_0x42f2d8(0x1ad)][_0x42f2d8(0x1c0)](_0x4e77ef,new _0x15acb4()),this[_0x42f2d8(0x1c3)][_0x42f2d8(0x1c0)](_0x4e77ef,new _0x15acb4()),this[_0x42f2d8(0x1a5)](_0x530e54,_0x42f2d8(0x1dc),(_0x564fe6,_0x3cefd0)=>this[_0x42f2d8(0x1df)](_0x4e77ef,_0x3cefd0)),this[_0x42f2d8(0x1a5)](_0x530e54,_0x42f2d8(0x1d8),(_0x50a44e,_0x448ff2)=>this[_0x42f2d8(0x1aa)](_0x4e77ef,_0x448ff2));for(const _0x13643d of _0x530e54)this[_0x42f2d8(0x1df)](_0x4e77ef,_0x13643d);}[_0x137201(0x1d3)](_0x205a4c){const _0x4d6320=_0x137201;if(!this[_0x4d6320(0x1c2)][_0x4d6320(0x1c7)](_0x205a4c))throw new _0x26a413(_0x4d6320(0x1d7),null,{'channelId':_0x205a4c});const _0x58f346=this[_0x4d6320(0x1c2)][_0x4d6320(0x1ce)](_0x205a4c);this[_0x4d6320(0x1b6)](_0x58f346);for(const _0x43187e of _0x58f346)_0x4d6320(0x1da)===this[_0x4d6320(0x1bf)][_0x4d6320(0x1c5)][_0x4d6320(0x1ce)](_0x2d0141)[_0x4d6320(0x1c4)]&&this[_0x4d6320(0x1aa)](_0x205a4c,_0x43187e);this[_0x4d6320(0x1c2)][_0x4d6320(0x1b2)](_0x205a4c),this[_0x4d6320(0x1ad)][_0x4d6320(0x1b2)](_0x205a4c),this[_0x4d6320(0x1c3)][_0x4d6320(0x1b2)](_0x205a4c);}get[_0x137201(0x1cb)](){const _0x56baa0=_0x137201;return this[_0x56baa0(0x1bf)][_0x56baa0(0x1c5)][_0x56baa0(0x1ce)](_0x2d0141)[_0x56baa0(0x1a7)][_0x56baa0(0x1b8)];}[_0x137201(0x1af)](_0x593636){const _0x5e2714=_0x137201;for(const _0x4fed6b of this[_0x5e2714(0x1ad)][_0x5e2714(0x1bc)]())for(const _0x5342d0 of _0x4fed6b)if(_0x5342d0['id']===_0x593636)return _0x5342d0[_0x5e2714(0x1ab)];}[_0x137201(0x1a9)](_0x1500f8,_0x58cc28){const _0x312826=_0x137201,_0x15f9c0=_0x58cc28?[this[_0x312826(0x1ad)][_0x312826(0x1ce)](_0x58cc28)]:this[_0x312826(0x1ad)][_0x312826(0x1bc)](),_0x577956=new Set();for(const _0xdce5ed of _0x15f9c0)for(const _0xc8a6ac of _0xdce5ed)_0xc8a6ac[_0x312826(0x1ab)]['id']===_0x1500f8['id']&&_0x577956[_0x312826(0x1dc)](_0xc8a6ac['id']);return _0x577956;}[_0x137201(0x1d2)](_0x4877b0){const _0x2ff123=_0x137201;for(const _0xaf580f of this[_0x2ff123(0x1ad)][_0x2ff123(0x1bc)]())for(const _0x57cd38 of _0xaf580f)if(_0x57cd38[_0x2ff123(0x1ab)]===_0x4877b0)return _0x57cd38[_0x2ff123(0x1d1)];}[_0x137201(0x1df)](_0x48f62c,_0x4dd915){const _0x7b8702=_0x137201;if(_0x7b8702(0x1da)!==this[_0x7b8702(0x1bf)][_0x7b8702(0x1c5)][_0x7b8702(0x1ce)](_0x2d0141)[_0x7b8702(0x1c4)])return;const _0xafba3d=_0x4dd915[_0x7b8702(0x1ab)],_0x40d510=this[_0x7b8702(0x1be)][_0x7b8702(0x1de)](_0xafba3d['id'])||this[_0x7b8702(0x1bb)](_0xafba3d),_0x3b0500=Object[_0x7b8702(0x1d4)]({},_0x4dd915,{'user':_0x40d510});this[_0x7b8702(0x1ad)][_0x7b8702(0x1ce)](_0x48f62c)[_0x7b8702(0x1dc)](_0x3b0500);const _0x1bbf24=this[_0x7b8702(0x1c3)][_0x7b8702(0x1ce)](_0x48f62c);_0x1bbf24[_0x7b8702(0x1c7)](_0x40d510['id'])||_0x1bbf24[_0x7b8702(0x1dc)](_0x40d510),this[_0x7b8702(0x1cf)][_0x7b8702(0x1c7)](_0x40d510['id'])||this[_0x7b8702(0x1cf)][_0x7b8702(0x1dc)](_0x40d510,_0x40d510[_0x7b8702(0x1c8)]?0x0:void 0x0),this[_0x7b8702(0x1a4)](_0x7b8702(0x1b9)+_0x48f62c,{'channelId':_0x48f62c,'session':_0x3b0500});}[_0x137201(0x1aa)](_0xaaa680,_0xc897d6){const _0x55dd20=_0x137201;if(_0x55dd20(0x1da)!==this[_0x55dd20(0x1bf)][_0x55dd20(0x1c5)][_0x55dd20(0x1ce)](_0x2d0141)[_0x55dd20(0x1c4)])return;const _0x4fd56a=this[_0x55dd20(0x1c3)][_0x55dd20(0x1ce)](_0xaaa680),_0x5f0103=_0xc897d6[_0x55dd20(0x1ab)];_0x5f0103['id']&&(this[_0x55dd20(0x1ad)][_0x55dd20(0x1ce)](_0xaaa680)[_0x55dd20(0x1d8)](_0xc897d6['id']),_0x4fd56a[_0x55dd20(0x1c7)](_0x5f0103['id'])&&!this[_0x55dd20(0x1a9)](_0x5f0103,_0xaaa680)[_0x55dd20(0x1bd)]&&_0x4fd56a[_0x55dd20(0x1d8)](_0x5f0103['id']),this[_0x55dd20(0x1cf)][_0x55dd20(0x1ce)](_0x5f0103['id'])&&!this[_0x55dd20(0x1a9)](_0x5f0103)[_0x55dd20(0x1bd)]&&this[_0x55dd20(0x1cf)][_0x55dd20(0x1d8)](_0x5f0103['id']));}[_0x137201(0x1bb)](_0x750577,_0xe799fc){const _0x492508=_0x137201,_0x15b091=this[_0x492508(0x1be)][_0x492508(0x1b1)](_0x750577);return _0xe799fc&&this[_0x492508(0x1be)][_0x492508(0x1cd)](_0x750577['id']),_0x15b091[_0x492508(0x1c6)]=this[_0x492508(0x1b0)]++,_0x15b091;}}
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 _0x585351=_0x3909;function _0x43b2(){const _0x59dc9f=['hasContent','for','classList','enqueueChange','9byQGtN','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','1300741OIdbZh','39jRTuQT','pluginName','nodeAfter','type','data-session-id','user:','has','editor','Escape','innerHTML','user:range','removeClass','change:range','$text','isSimilar','markerRange','oldRange','batch','getContainedElement','getRange','387130qzWTet','ck-user__marker\x20','editingDowncast','addMarker','markerToElement','root','stopListening','user:position:','plugins','afterInit','ck-user__selection','set','model','marker','start','render','setAttribute','60yMbRsu','listenTo','markerToHighlight','change','mouseleave','clear','_domEmitter','size','UserMarkers','document','commands','createUIElement','isLimit','isDocumentOperation','name','get','deletionPosition','userPositionMarker','$graveyard','applyOperation','createElement','color','markerName','getMarkerClass','init','getStart','tableCell','view','outerHTML','1670648uQSnrq','fromRange','newRange','editing','reconvertMarker','getPositions','contenteditable','markerNameToElements','conversion','update:user:range','createUserMarkerOperations','setCustomProperty','spellcheck','isInline','parent','isObject','hasDomSelection','updateMarker','mapper','startsWith','highest','getCustomProperty','destroy','getSelectionClass','mySessionId','getFirstRange','user:range:','keydown','markers','toDomElement','undo','157375nRMFuO','2282312vToIVZ','isOfficialPlugin','addEventListener','52528hRdMvC','_createdBatches','span','isCollapsed','34XzZriL','removeMarker','orderNumber','schema','55udnsYl','remove','ck-user__marker_hovered','false','checkChild','mouseenter','selection','delete','createRange','user:position','split','6KrzJic','5378MeknyW','textContent','getUserBySessionId','element','add','isPremiumPlugin','end','getNearestSelectionRange','getAttribute','requires','detach','rootName','toRange'];_0x43b2=function(){return _0x59dc9f;};return _0x43b2();}(function(_0x1d8293,_0x4a6819){const _0x44d388=_0x3909,_0x4f310d=_0x1d8293();while(!![]){try{const _0x5ac3ea=-parseInt(_0x44d388(0x13a))/0x1*(-parseInt(_0x44d388(0x12a))/0x2)+-parseInt(_0x44d388(0x14f))/0x3*(parseInt(_0x44d388(0x126))/0x4)+parseInt(_0x44d388(0x122))/0x5*(parseInt(_0x44d388(0x139))/0x6)+parseInt(_0x44d388(0x103))/0x7+parseInt(_0x44d388(0x123))/0x8*(parseInt(_0x44d388(0x14b))/0x9)+-parseInt(_0x44d388(0x163))/0xa*(-parseInt(_0x44d388(0x12e))/0xb)+parseInt(_0x44d388(0x174))/0xc*(-parseInt(_0x44d388(0x14e))/0xd);if(_0x5ac3ea===_0x4a6819)break;else _0x4f310d['push'](_0x4f310d['shift']());}catch(_0x55c3bc){_0x4f310d['push'](_0x4f310d['shift']());}}}(_0x43b2,0x295ca));import{Plugin as _0x5f1172}from'ckeditor5/src/core.js';function _0x3909(_0x377b05,_0x4aa45c){const _0x43b2ac=_0x43b2();return _0x3909=function(_0x3909c3,_0x48a085){_0x3909c3=_0x3909c3-0xed;let _0x38555d=_0x43b2ac[_0x3909c3];return _0x38555d;},_0x3909(_0x377b05,_0x4aa45c);}import{global as _0x4ab384,DomEmitterMixin as _0x4353b2}from'ckeditor5/src/utils.js';import _0x17b4b4 from'./sessions.js';import{LiveRange as _0xa4d461}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x5f1172{[_0x585351(0x17a)]=new(_0x4353b2())();static get[_0x585351(0x143)](){return[_0x17b4b4];}static get[_0x585351(0x150)](){const _0x41d233=_0x585351;return _0x41d233(0xee);}static get[_0x585351(0x124)](){return!0x0;}static get[_0x585351(0x13f)](){return!0x0;}[_0x585351(0xfe)](){const _0x754afa=_0x585351,_0x4f92ca=this[_0x754afa(0x156)],_0x5a5153=_0x4f92ca[_0x754afa(0x16b)][_0x754afa(0xf5)](_0x17b4b4);_0x4f92ca[_0x754afa(0x10b)][_0x754afa(0x148)](_0x754afa(0x165))[_0x754afa(0x167)]({'model':_0x754afa(0x137),'view':(_0x1399ff,{writer:_0x10031e})=>function(_0x51ee3f,_0x254f63,_0x2db115,_0x13b30b){const _0x293cf5=_0x754afa,_0x513bc5=_0x51ee3f[_0x293cf5(0xfc)][_0x293cf5(0x138)](':')[0x2],_0x1fc3d0=_0x2db115[_0x293cf5(0x13c)](_0x513bc5);if(!_0x1fc3d0||_0x513bc5===_0x2db115[_0x293cf5(0x11b)])return;if(!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)][_0x293cf5(0x132)](_0x51ee3f[_0x293cf5(0x15e)][_0x293cf5(0x171)],_0x293cf5(0x15c)))return;const _0x36e93b={'class':_0x293cf5(0x164)+_0x1fc3d0[_0x293cf5(0xfb)][_0x293cf5(0xfd)](),'data-name':_0x1fc3d0[_0x293cf5(0xf4)],'data-session-id':_0x513bc5},_0x29c817=_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x11f)][_0x293cf5(0xf5)](_0x51ee3f[_0x293cf5(0xfc)]),_0x28fc70=_0x29c817[_0x293cf5(0xff)](),_0x4bf580=_0x28fc70[_0x293cf5(0x151)],_0x5e62ec=_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)];if(_0x4bf580&&_0x5e62ec[_0x293cf5(0x112)](_0x4bf580)&&_0x5e62ec[_0x293cf5(0x110)](_0x4bf580)&&!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x11f)][_0x293cf5(0xf5)](_0x293cf5(0x11d)+_0x513bc5)[_0x293cf5(0x162)]()[_0x293cf5(0x129)])return;const _0x505198=_0x28fc70[_0x293cf5(0x111)];return _0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)][_0x293cf5(0xf2)](_0x505198)&&!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x147)](_0x505198)&&(_0x36e93b[_0x293cf5(0x109)]=!0x1),function(_0x4bef4e,_0x2a5234,_0xef3bf7){const _0x316430=_0x293cf5,_0x29f0f7=_0x4bef4e[_0x316430(0xf1)](_0x316430(0x128),_0x2a5234);return _0x4bef4e[_0x316430(0x10e)](_0x316430(0xf7),!0x0,_0x29f0f7),_0x29f0f7[_0x316430(0x172)]=function(_0x397cca){const _0x323d98=_0x316430,_0x54df85=this[_0x323d98(0x120)](_0x397cca),_0xfc58ef=document[_0x323d98(0xfa)](_0x323d98(0x128));return _0xfc58ef[_0x323d98(0x149)][_0x323d98(0x13e)](_0x323d98(0x14d)),_0xfc58ef[_0x323d98(0x173)](_0x323d98(0x109),_0x323d98(0x131)),_0xfc58ef[_0x323d98(0x173)](_0x323d98(0x10f),_0x323d98(0x131)),_0xfc58ef[_0x323d98(0x13b)]=_0xef3bf7[_0x323d98(0xf4)],_0x54df85[_0x323d98(0x158)]=_0x323d98(0x14c)+_0xfc58ef[_0x323d98(0x102)]+'⁠',_0x54df85[_0x323d98(0x125)](_0x323d98(0x133),()=>{const _0x4e4656=_0x323d98;_0x54df85[_0x4e4656(0x149)][_0x4e4656(0x13e)](_0x4e4656(0x130));}),_0x54df85[_0x323d98(0x125)](_0x323d98(0x178),()=>{const _0x1f6133=_0x323d98;_0x54df85[_0x1f6133(0x149)][_0x1f6133(0x12f)](_0x1f6133(0x130));}),_0x54df85;},_0x29f0f7[_0x316430(0x15d)]=function(_0x2a3278){const _0xe24b62=_0x316430;return!(!this[_0xe24b62(0x118)](_0xe24b62(0xf7))||!_0x2a3278[_0xe24b62(0x118)](_0xe24b62(0xf7))||this[_0xe24b62(0x142)](_0xe24b62(0x153))!=_0x2a3278[_0xe24b62(0x142)](_0xe24b62(0x153)));},_0x29f0f7;}(_0x254f63,_0x36e93b,_0x1fc3d0);}(_0x1399ff,_0x10031e,_0x5a5153,_0x4f92ca)}),_0x4f92ca[_0x754afa(0x10b)][_0x754afa(0x148)](_0x754afa(0x165))[_0x754afa(0x176)]({'model':_0x754afa(0x159),'view':_0x1451ee=>function(_0x13fc84,_0x31bd0c){const _0x189450=_0x754afa,_0x16fe46=_0x13fc84[_0x189450(0xfc)][_0x189450(0x138)](':')[0x2];if(_0x16fe46===_0x31bd0c[_0x189450(0x11b)])return null;const _0x2f7e85=_0x31bd0c[_0x189450(0x13c)](_0x16fe46);if(!_0x2f7e85)return{'id':_0x16fe46,'classes':[]};return{'id':_0x16fe46,'classes':[_0x189450(0x16d),_0x2f7e85[_0x189450(0xfb)][_0x189450(0x11a)]()],'attributes':{'data-session-id':_0x16fe46},'priority':0x7d0+_0x2f7e85[_0x189450(0x12c)]};}(_0x1451ee,_0x5a5153)}),function(_0x558442){const _0x5abc0b=_0x754afa,_0x1f8732=_0x558442[_0x5abc0b(0x16f)],_0x3feadf=new Map(),_0x2b2b01=_0x558442[_0x5abc0b(0x16b)][_0x5abc0b(0xf5)](_0x17b4b4);_0x1f8732[_0x5abc0b(0x11f)]['on'](_0x5abc0b(0x10c),(_0x10c7f6,_0x2fe9c8,_0x3e6417,_0x2ec950)=>{const _0x28b778=_0x5abc0b;if(!_0x2ec950&&_0x3feadf[_0x28b778(0xf5)](_0x2fe9c8[_0x28b778(0xf4)]))return _0x3feadf[_0x28b778(0xf5)](_0x2fe9c8[_0x28b778(0xf4)])[_0x28b778(0x144)](),void _0x3feadf[_0x28b778(0x135)](_0x2fe9c8[_0x28b778(0xf4)]);const _0x37dab2=_0x2fe9c8[_0x28b778(0xf4)][_0x28b778(0x138)](':')[0x2];if(_0x37dab2===_0x2b2b01[_0x28b778(0x11b)])return;const _0x3cf9b8=_0x28b778(0x16a)+_0x37dab2;_0x1f8732[_0x28b778(0x11f)][_0x28b778(0x155)](_0x3cf9b8)&&_0x558442[_0x28b778(0x106)][_0x28b778(0x107)](_0x3cf9b8),_0x2fe9c8['on'](_0x28b778(0x15b),(_0x244858,_0x5ee15a,_0x424c5a)=>{const _0x503f20=_0x28b778;if(_0x503f20(0xf8)!=_0x5ee15a[_0x503f20(0x168)][_0x503f20(0x145)]&&_0x503f20(0xf8)==_0x2fe9c8[_0x503f20(0x162)]()[_0x503f20(0x168)][_0x503f20(0x145)]&&!_0x3feadf[_0x503f20(0x155)](_0x2fe9c8[_0x503f20(0xf4)])){const _0x2d3944=_0x1f8732[_0x503f20(0x12d)][_0x503f20(0x141)](_0x424c5a[_0x503f20(0xf6)]);if(_0x2d3944){const _0x1877d4=_0xa4d461[_0x503f20(0x104)](_0x2d3944);_0x3feadf[_0x503f20(0x16e)](_0x2fe9c8[_0x503f20(0xf4)],_0x1877d4),_0x1877d4['on'](_0x503f20(0x15b),(_0x51007d,_0xff6a96,_0x3da864)=>{const _0x26098d=_0x503f20;if(_0x26098d(0xf8)==_0x1877d4[_0x26098d(0x168)][_0x26098d(0x145)]){const _0x440c61=_0x1f8732[_0x26098d(0x12d)][_0x26098d(0x141)](_0x3da864[_0x26098d(0xf6)]);_0x440c61?(_0x1877d4[_0x26098d(0x171)]=_0x440c61[_0x26098d(0x171)],_0x1877d4[_0x26098d(0x140)]=_0x440c61[_0x26098d(0x140)]):(_0x3feadf[_0x26098d(0x135)](_0x2fe9c8[_0x26098d(0xf4)]),_0x1877d4[_0x26098d(0x144)]());}});}}});}),_0x1f8732[_0x5abc0b(0xef)]['on'](_0x5abc0b(0x177),()=>{const _0x4e4f80=_0x5abc0b;_0x3feadf[_0x4e4f80(0xed)]>0x0&&_0x1f8732[_0x4e4f80(0x14a)]({'isUndoable':!0x1},_0x487344=>{const _0x28d20c=_0x4e4f80;for(const [_0x28d636,_0x33ee79]of _0x3feadf)_0x28d20c(0xf8)==_0x1f8732[_0x28d20c(0x11f)][_0x28d20c(0xf5)](_0x28d636)[_0x28d20c(0x162)]()[_0x28d20c(0x168)][_0x28d20c(0x145)]&&(te(_0x28d636[_0x28d20c(0x138)](':')[0x2],_0x33ee79[_0x28d20c(0x146)](),_0x1f8732,_0x487344),_0x33ee79[_0x28d20c(0x144)]());_0x3feadf[_0x28d20c(0x179)]();});});}(_0x4f92ca),this[_0x754afa(0x17a)][_0x754afa(0x175)](_0x4ab384[_0x754afa(0xef)],_0x754afa(0x11e),(_0x16db90,{key:_0x5212ca})=>{const _0x3d9ed3=_0x754afa;_0x3d9ed3(0x157)===_0x5212ca&&function(_0x154040){const _0x17d92f=_0x3d9ed3;_0x154040[_0x17d92f(0x106)][_0x17d92f(0x101)][_0x17d92f(0x177)](_0x54f1a4=>{const _0x45ac92=_0x17d92f;for(const _0xdb0c5a of _0x154040[_0x45ac92(0x16f)][_0x45ac92(0x11f)]){if(!_0xdb0c5a[_0x45ac92(0xf4)][_0x45ac92(0x116)](_0x45ac92(0x137)))continue;const _0x5d3d63=_0x154040[_0x45ac92(0x106)][_0x45ac92(0x115)][_0x45ac92(0x10a)](_0xdb0c5a[_0x45ac92(0xf4)]);if(_0x5d3d63){for(const _0x5c5002 of _0x5d3d63)_0x54f1a4[_0x45ac92(0x15a)](_0x45ac92(0x130),_0x5c5002);}}});}(_0x4f92ca);},{'useCapture':!0x0});}[_0x585351(0x16c)](){const _0x26be91=_0x585351,_0x3aa87d=this[_0x26be91(0x156)],_0x19cee1=_0x3aa87d[_0x26be91(0xf0)][_0x26be91(0xf5)](_0x26be91(0x121));_0x19cee1&&_0x3aa87d[_0x26be91(0x16f)]['on'](_0x26be91(0xf9),(_0x2899d8,_0x3dafbf)=>{const _0x346f34=_0x26be91,_0xde1093=_0x3dafbf[0x0];if(!_0xde1093[_0x346f34(0xf3)])return;if(_0x346f34(0x170)!=_0xde1093[_0x346f34(0x152)]||!_0xde1093[_0x346f34(0xf4)][_0x346f34(0x116)](_0x346f34(0x154)))return;const _0x453dc4=_0xde1093[_0x346f34(0x160)];_0x19cee1[_0x346f34(0x127)][_0x346f34(0x155)](_0x453dc4)&&(_0xde1093[_0x346f34(0x105)]=_0xde1093[_0x346f34(0x15f)]?_0x3aa87d[_0x346f34(0x16f)][_0x346f34(0x136)](_0xde1093[_0x346f34(0x15f)][_0x346f34(0x171)],_0xde1093[_0x346f34(0x15f)][_0x346f34(0x140)]):null);},{'priority':_0x26be91(0x117)});}[_0x585351(0x119)](){const _0x219626=_0x585351;return this[_0x219626(0x17a)][_0x219626(0x169)](),super[_0x219626(0x119)]();}[_0x585351(0x10d)](){const _0x47fe20=_0x585351,_0x446ffc=this[_0x47fe20(0x156)],_0x373224=_0x446ffc[_0x47fe20(0x16f)][_0x47fe20(0xef)],_0x393b36=_0x446ffc[_0x47fe20(0x16b)][_0x47fe20(0xf5)](_0x17b4b4);_0x446ffc[_0x47fe20(0x16f)][_0x47fe20(0x14a)]({'isUndoable':!0x1},_0x52cbf3=>{const _0x2ecafc=_0x47fe20,_0x441779=_0x2ecafc(0x11d)+_0x393b36[_0x2ecafc(0x11b)],_0x21c1c3=_0x2ecafc(0x16a)+_0x393b36[_0x2ecafc(0x11b)],_0x1c1e15=_0x446ffc[_0x2ecafc(0x16f)][_0x2ecafc(0x11f)][_0x2ecafc(0x155)](_0x441779);_0x446ffc[_0x2ecafc(0x106)][_0x2ecafc(0x101)][_0x2ecafc(0x113)]?te(_0x393b36[_0x2ecafc(0x11b)],_0x373224[_0x2ecafc(0x134)][_0x2ecafc(0x11c)](),_0x446ffc[_0x2ecafc(0x16f)],_0x52cbf3):_0x1c1e15&&(_0x52cbf3[_0x2ecafc(0x12b)](_0x441779),_0x52cbf3[_0x2ecafc(0x12b)](_0x21c1c3));});}}function te(_0x56698e,_0x56292b,_0x5982b8,_0x38ff9e){const _0x1e5060=_0x585351,_0x126bbf=_0x1e5060(0x11d)+_0x56698e,_0x2a43bd=_0x1e5060(0x16a)+_0x56698e,_0x125d6c=_0x56292b[_0x1e5060(0x161)]();let _0x24f3c3=_0x56292b[_0x1e5060(0x171)];_0x125d6c&&_0x125d6c['is'](_0x1e5060(0x13d),_0x1e5060(0x100))&&(_0x24f3c3=function(_0x39a2f1,_0x4d2d45){const _0x231cd1=_0x1e5060;for(const _0x2757fa of _0x39a2f1[_0x231cd1(0x108)]())if(_0x4d2d45[_0x231cd1(0x12d)][_0x231cd1(0x132)](_0x2757fa,_0x231cd1(0x15c)))return _0x2757fa;}(_0x56292b,_0x5982b8),_0x56292b=_0x38ff9e[_0x1e5060(0x136)](_0x24f3c3));const _0x463282=_0x38ff9e[_0x1e5060(0x136)](_0x24f3c3);_0x5982b8[_0x1e5060(0x11f)][_0x1e5060(0x155)](_0x126bbf)?(_0x38ff9e[_0x1e5060(0x114)](_0x126bbf,{'range':_0x56292b}),_0x38ff9e[_0x1e5060(0x114)](_0x2a43bd,{'range':_0x463282})):(_0x38ff9e[_0x1e5060(0x166)](_0x126bbf,{'range':_0x56292b,'usingOperation':!0x0}),_0x38ff9e[_0x1e5060(0x166)](_0x2a43bd,{'range':_0x463282,'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}));}