@ckeditor/ckeditor5-real-time-collaboration 47.2.0 → 47.3.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 -4
  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 +14 -14
  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 _0x4b6c59=_0x42b8;(function(_0x49b0e1,_0x31c9fd){const _0x1b9ba5=_0x42b8,_0x4b6b29=_0x49b0e1();while(!![]){try{const _0x1588ae=-parseInt(_0x1b9ba5(0x15b))/0x1+parseInt(_0x1b9ba5(0x15f))/0x2*(-parseInt(_0x1b9ba5(0x163))/0x3)+parseInt(_0x1b9ba5(0x160))/0x4*(-parseInt(_0x1b9ba5(0x17a))/0x5)+parseInt(_0x1b9ba5(0x175))/0x6*(-parseInt(_0x1b9ba5(0x16d))/0x7)+-parseInt(_0x1b9ba5(0x159))/0x8+parseInt(_0x1b9ba5(0x16f))/0x9*(-parseInt(_0x1b9ba5(0x170))/0xa)+parseInt(_0x1b9ba5(0x158))/0xb*(parseInt(_0x1b9ba5(0x176))/0xc);if(_0x1588ae===_0x31c9fd)break;else _0x4b6b29['push'](_0x4b6b29['shift']());}catch(_0x40a7e4){_0x4b6b29['push'](_0x4b6b29['shift']());}}}(_0x2869,0x3ce64));import{View as _0x569ce6}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3d2edd}from'ckeditor5/src/utils.js';function _0x42b8(_0x21444b,_0x27d15e){const _0x2869fc=_0x2869();return _0x42b8=function(_0x42b81a,_0x232c1f){_0x42b81a=_0x42b81a-0x156;let _0x215848=_0x2869fc[_0x42b81a];return _0x215848;},_0x42b8(_0x21444b,_0x27d15e);}import{getTranslation as _0x262591}from'../../common-translations.js';function _0x2869(){const _0x5571fb=['set','Connected\x20users\x20list','aria-expanded','listenTo','21589183zQnAdO','3532136DYIGYG','createCollection','423819EacDuV','querySelector','hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','26FxzzBa','144UeIuCz','removeAttribute','setAttribute','111696OwMEYH','.ck-presence-list__dropdown-list','change:hasPopup','element','presencelist:show','setTemplate','keystrokes','isExpanded','focus','fire','49sWxiCX','render','9UEfEdG','1716290AXLDXY','list','.ck-balloon-panel_with-arrow','contains','items','128232vcxNSb','12ApIZdQ','div','relatedTarget','bindTemplate','5920wVdbTo','ck-presence-list__list','presencelist:hide'];_0x2869=function(){return _0x5571fb;};return _0x2869();}export class PresenceInlineListView extends _0x569ce6{[_0x4b6c59(0x174)];[_0x4b6c59(0x169)];constructor(_0x151fec){const _0x1f96a6=_0x4b6c59;super(_0x151fec);const _0x5e3981=this[_0x1f96a6(0x179)];this[_0x1f96a6(0x174)]=this[_0x1f96a6(0x15a)](),this[_0x1f96a6(0x169)]=new _0x3d2edd(),this[_0x1f96a6(0x17d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1f96a6(0x168)]({'tag':_0x1f96a6(0x177),'attributes':{'aria-haspopup':_0x5e3981['if'](_0x1f96a6(0x15d)),'aria-expanded':_0x5e3981['to'](_0x1f96a6(0x16a),_0x3b08db=>this[_0x1f96a6(0x15d)]&&String(_0x3b08db)),'aria-label':_0x5e3981['to'](_0x1f96a6(0x15d),_0x3ee40a=>_0x262591(_0x151fec,_0x3ee40a?_0x1f96a6(0x15e):_0x1f96a6(0x17e))),'role':_0x1f96a6(0x171),'tabindex':_0x5e3981['to'](_0x1f96a6(0x15d),_0x4fd615=>!!_0x4fd615&&0x0),'class':['ck',_0x1f96a6(0x17b)]},'children':this[_0x1f96a6(0x174)],'on':{'mouseenter':_0x5e3981['to'](()=>this[_0x1f96a6(0x16c)](_0x1f96a6(0x167))),'mouseleave':_0x5e3981['to'](_0x2672aa=>{const _0x20be86=_0x1f96a6,_0x1348e5=_0x2672aa,_0x9559e5=document[_0x20be86(0x15c)](_0x20be86(0x164)),_0x1f7fa5=document[_0x20be86(0x15c)](_0x20be86(0x172));_0x9559e5?.[_0x20be86(0x173)](_0x1348e5[_0x20be86(0x178)])||_0x1f7fa5?.[_0x20be86(0x173)](_0x1348e5[_0x20be86(0x178)])||this[_0x20be86(0x16c)](_0x20be86(0x17c));})}}),this['on'](_0x1f96a6(0x165),(_0x1bd0bc,_0x32efed,_0x1d2625)=>{const _0x550059=_0x1f96a6;this[_0x550059(0x166)]&&(_0x1d2625?this[_0x550059(0x166)][_0x550059(0x162)](_0x550059(0x156),String(this[_0x550059(0x16a)])):this[_0x550059(0x166)][_0x550059(0x161)](_0x550059(0x156)));});}[_0x4b6c59(0x16b)](){const _0x1b1c54=_0x4b6c59;this[_0x1b1c54(0x166)][_0x1b1c54(0x16b)]();}[_0x4b6c59(0x16e)](){const _0x39ff1e=_0x4b6c59;super[_0x39ff1e(0x16e)](),this[_0x39ff1e(0x169)][_0x39ff1e(0x157)](this[_0x39ff1e(0x166)]);}}
23
+ const _0x3e05f6=_0x5d20;function _0x2d6b(){const _0x347016=['listenTo','272304AQPZzL','ck-presence-list__list','.ck-presence-list__dropdown-list','339846yUYZVv','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','contains','setAttribute','fire','div','133JxneZW','780822wteWoz','setTemplate','set','presencelist:hide','.ck-balloon-panel_with-arrow','list','focus','Connected\x20users\x20list','bindTemplate','removeAttribute','aria-expanded','render','querySelector','6TXMjMc','keystrokes','185842xPPTZU','relatedTarget','presencelist:show','2195iVtmVE','change:hasPopup','createCollection','isExpanded','2916250XcOTCE','119576iRaiLf','hasPopup','2466ziCaCa','element','items'];_0x2d6b=function(){return _0x347016;};return _0x2d6b();}(function(_0x4db28b,_0xa0b333){const _0x16f280=_0x5d20,_0x2907d4=_0x4db28b();while(!![]){try{const _0x48bdca=-parseInt(_0x16f280(0x1cb))/0x1+parseInt(_0x16f280(0x1c9))/0x2*(-parseInt(_0x16f280(0x1b5))/0x3)+parseInt(_0x16f280(0x1b2))/0x4+parseInt(_0x16f280(0x1ce))/0x5*(parseInt(_0x16f280(0x1d5))/0x6)+parseInt(_0x16f280(0x1bb))/0x7*(parseInt(_0x16f280(0x1d3))/0x8)+-parseInt(_0x16f280(0x1bc))/0x9+parseInt(_0x16f280(0x1d2))/0xa;if(_0x48bdca===_0xa0b333)break;else _0x2907d4['push'](_0x2907d4['shift']());}catch(_0x37a459){_0x2907d4['push'](_0x2907d4['shift']());}}}(_0x2d6b,0x33add));import{View as _0x2ea3be}from'ckeditor5/src/ui.js';function _0x5d20(_0x2e6e78,_0x53c92c){const _0x2d6bc0=_0x2d6b();return _0x5d20=function(_0x5d209f,_0x2e00e2){_0x5d209f=_0x5d209f-0x1af;let _0x54c35b=_0x2d6bc0[_0x5d209f];return _0x54c35b;},_0x5d20(_0x2e6e78,_0x53c92c);}import{KeystrokeHandler as _0x1a35a8}from'ckeditor5/src/utils.js';import{getTranslation as _0x3ba706}from'../../common-translations.js';export class PresenceInlineListView extends _0x2ea3be{[_0x3e05f6(0x1b0)];[_0x3e05f6(0x1ca)];constructor(_0x51915b){const _0x571dbc=_0x3e05f6;super(_0x51915b);const _0x36b04a=this[_0x571dbc(0x1c4)];this[_0x571dbc(0x1b0)]=this[_0x571dbc(0x1d0)](),this[_0x571dbc(0x1ca)]=new _0x1a35a8(),this[_0x571dbc(0x1be)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x571dbc(0x1bd)]({'tag':_0x571dbc(0x1ba),'attributes':{'aria-haspopup':_0x36b04a['if'](_0x571dbc(0x1d4)),'aria-expanded':_0x36b04a['to'](_0x571dbc(0x1d1),_0x5462c7=>this[_0x571dbc(0x1d4)]&&String(_0x5462c7)),'aria-label':_0x36b04a['to'](_0x571dbc(0x1d4),_0xa34203=>_0x3ba706(_0x51915b,_0xa34203?_0x571dbc(0x1b6):_0x571dbc(0x1c3))),'role':_0x571dbc(0x1c1),'tabindex':_0x36b04a['to'](_0x571dbc(0x1d4),_0x3bef33=>!!_0x3bef33&&0x0),'class':['ck',_0x571dbc(0x1b3)]},'children':this[_0x571dbc(0x1b0)],'on':{'mouseenter':_0x36b04a['to'](()=>this[_0x571dbc(0x1b9)](_0x571dbc(0x1cd))),'mouseleave':_0x36b04a['to'](_0x109bdc=>{const _0x39694e=_0x571dbc,_0x11a5b0=_0x109bdc,_0x4eb0fc=document[_0x39694e(0x1c8)](_0x39694e(0x1b4)),_0x184138=document[_0x39694e(0x1c8)](_0x39694e(0x1c0));_0x4eb0fc?.[_0x39694e(0x1b7)](_0x11a5b0[_0x39694e(0x1cc)])||_0x184138?.[_0x39694e(0x1b7)](_0x11a5b0[_0x39694e(0x1cc)])||this[_0x39694e(0x1b9)](_0x39694e(0x1bf));})}}),this['on'](_0x571dbc(0x1cf),(_0x1c6c67,_0x419197,_0x24d15e)=>{const _0x3d5529=_0x571dbc;this[_0x3d5529(0x1af)]&&(_0x24d15e?this[_0x3d5529(0x1af)][_0x3d5529(0x1b8)](_0x3d5529(0x1c6),String(this[_0x3d5529(0x1d1)])):this[_0x3d5529(0x1af)][_0x3d5529(0x1c5)](_0x3d5529(0x1c6)));});}[_0x3e05f6(0x1c2)](){const _0x50885d=_0x3e05f6;this[_0x50885d(0x1af)][_0x50885d(0x1c2)]();}[_0x3e05f6(0x1c7)](){const _0x4ee223=_0x3e05f6;super[_0x4ee223(0x1c7)](),this[_0x4ee223(0x1ca)][_0x4ee223(0x1b1)](this[_0x4ee223(0x1af)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2705(){const _0x134484=['inlineListView','listenTo','16070211pEGonX','ck-reset','set','ck-rounded-corners','first','div','4305684vadKcQ','isCollapsed','16818AbWULW','setTemplate','bindTemplate','bind','tooltipPosition','change','1210056RfDUry','ck-presence-list','2890944VswLGt','7aiKHCW','hasPopup','2418580QuJWFd','locale','items','1647905dtrqRq','ck-presence-list--collapsed','54RunaTY','counterView'];_0x2705=function(){return _0x134484;};return _0x2705();}const _0x3d381e=_0x1b9f;(function(_0x9794,_0x5eec21){const _0x4bdfe8=_0x1b9f,_0x255635=_0x9794();while(!![]){try{const _0x25e532=-parseInt(_0x4bdfe8(0x13b))/0x1*(-parseInt(_0x4bdfe8(0x12f))/0x2)+parseInt(_0x4bdfe8(0x125))/0x3+parseInt(_0x4bdfe8(0x12a))/0x4+parseInt(_0x4bdfe8(0x12d))/0x5+parseInt(_0x4bdfe8(0x139))/0x6*(parseInt(_0x4bdfe8(0x128))/0x7)+-parseInt(_0x4bdfe8(0x127))/0x8+-parseInt(_0x4bdfe8(0x133))/0x9;if(_0x25e532===_0x5eec21)break;else _0x255635['push'](_0x255635['shift']());}catch(_0x235a4d){_0x255635['push'](_0x255635['shift']());}}}(_0x2705,0x5875b));function _0x1b9f(_0xcffe93,_0x599185){const _0x27057f=_0x2705();return _0x1b9f=function(_0x1b9f3a,_0x1f65f0){_0x1b9f3a=_0x1b9f3a-0x123;let _0x484fc8=_0x27057f[_0x1b9f3a];return _0x484fc8;},_0x1b9f(_0xcffe93,_0x599185);}import{View as _0x509ac1}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x430e05}from'./presencecounterview.js';import{PresenceInlineListView as _0x3faf26}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x509ac1{[_0x3d381e(0x130)];[_0x3d381e(0x131)];constructor(_0x1fada4,_0x5c4207=0x6){const _0x3720d7=_0x3d381e;super(_0x1fada4);const _0x21d2a4=this[_0x3720d7(0x13d)];this[_0x3720d7(0x135)](_0x3720d7(0x13a),!0x0),this[_0x3720d7(0x130)]=new _0x430e05(this[_0x3720d7(0x12b)],_0x5c4207),this[_0x3720d7(0x131)]=new _0x3faf26(_0x1fada4),this[_0x3720d7(0x131)][_0x3720d7(0x13e)](_0x3720d7(0x129))['to'](this,_0x3720d7(0x13a)),this[_0x3720d7(0x132)](this[_0x3720d7(0x131)][_0x3720d7(0x12c)],_0x3720d7(0x124),()=>{const _0x2c848c=_0x3720d7;for(const _0x48a5c8 of this[_0x2c848c(0x131)][_0x2c848c(0x12c)])_0x48a5c8[_0x2c848c(0x123)]='s';this[_0x2c848c(0x131)][_0x2c848c(0x12c)][_0x2c848c(0x137)]&&(this[_0x2c848c(0x131)][_0x2c848c(0x12c)][_0x2c848c(0x137)][_0x2c848c(0x123)]='se');}),this[_0x3720d7(0x13c)]({'tag':_0x3720d7(0x138),'attributes':{'class':['ck',_0x3720d7(0x126),_0x3720d7(0x134),_0x3720d7(0x136),_0x21d2a4['if'](_0x3720d7(0x13a),_0x3720d7(0x12e))]},'children':[this[_0x3720d7(0x131)]]});}}
23
+ function _0x1041(){const _0x23de6a=['1429810fpeAXR','1289220GakFSk','change','16726FxzWwZ','set','items','inlineListView','258832JYhGiX','listenTo','bindTemplate','locale','counterView','setTemplate','50RLzWmd','hasPopup','96QkMvNM','tooltipPosition','div','isCollapsed','bind','ck-rounded-corners','8GyTRqh','ck-presence-list--collapsed','1985031ASzGWM','first','4796LesdFF','ck-presence-list','2131704YDNuGd','ck-reset'];_0x1041=function(){return _0x23de6a;};return _0x1041();}const _0x3810f5=_0x2200;(function(_0x1b8b78,_0x1e3dd3){const _0xc28333=_0x2200,_0x5cbfc2=_0x1b8b78();while(!![]){try{const _0x3a0a53=parseInt(_0xc28333(0x112))/0x1+parseInt(_0xc28333(0x10b))/0x2*(parseInt(_0xc28333(0x101))/0x3)+-parseInt(_0xc28333(0x110))/0x4+-parseInt(_0xc28333(0x10f))/0x5+-parseInt(_0xc28333(0x10d))/0x6+-parseInt(_0xc28333(0x116))/0x7*(parseInt(_0xc28333(0x107))/0x8)+parseInt(_0xc28333(0x109))/0x9*(parseInt(_0xc28333(0xff))/0xa);if(_0x3a0a53===_0x1e3dd3)break;else _0x5cbfc2['push'](_0x5cbfc2['shift']());}catch(_0x54ebb7){_0x5cbfc2['push'](_0x5cbfc2['shift']());}}}(_0x1041,0x2fc92));import{View as _0x5c23c1}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x14e933}from'./presencecounterview.js';function _0x2200(_0x11b7b7,_0x2fd7c1){const _0x104155=_0x1041();return _0x2200=function(_0x22007f,_0xabd747){_0x22007f=_0x22007f-0xfd;let _0x4b2bbc=_0x104155[_0x22007f];return _0x4b2bbc;},_0x2200(_0x11b7b7,_0x2fd7c1);}import{PresenceInlineListView as _0x4d133c}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5c23c1{[_0x3810f5(0xfd)];[_0x3810f5(0x115)];constructor(_0x24cd0f,_0x3042bd=0x6){const _0x5b9e18=_0x3810f5;super(_0x24cd0f);const _0x4937f3=this[_0x5b9e18(0x118)];this[_0x5b9e18(0x113)](_0x5b9e18(0x104),!0x0),this[_0x5b9e18(0xfd)]=new _0x14e933(this[_0x5b9e18(0x119)],_0x3042bd),this[_0x5b9e18(0x115)]=new _0x4d133c(_0x24cd0f),this[_0x5b9e18(0x115)][_0x5b9e18(0x105)](_0x5b9e18(0x100))['to'](this,_0x5b9e18(0x104)),this[_0x5b9e18(0x117)](this[_0x5b9e18(0x115)][_0x5b9e18(0x114)],_0x5b9e18(0x111),()=>{const _0x3b6d80=_0x5b9e18;for(const _0x33e2c4 of this[_0x3b6d80(0x115)][_0x3b6d80(0x114)])_0x33e2c4[_0x3b6d80(0x102)]='s';this[_0x3b6d80(0x115)][_0x3b6d80(0x114)][_0x3b6d80(0x10a)]&&(this[_0x3b6d80(0x115)][_0x3b6d80(0x114)][_0x3b6d80(0x10a)][_0x3b6d80(0x102)]='se');}),this[_0x5b9e18(0xfe)]({'tag':_0x5b9e18(0x103),'attributes':{'class':['ck',_0x5b9e18(0x10c),_0x5b9e18(0x10e),_0x5b9e18(0x106),_0x4937f3['if'](_0x5b9e18(0x104),_0x5b9e18(0x108))]},'children':[this[_0x5b9e18(0x115)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x40192d=_0x24dd;function _0x50ca(){var _0x4980b6=['pluginName','318453fObguN','requires','1295OsIOms','2567870qhXEQs','PresenceList','2dTuWDe','isPremiumPlugin','10652koiTGr','isOfficialPlugin','615ukopVk','1392840LtdmHH','188972UVYFQB','1110753suXDSe','8472dSSvoJ','11XGHYDo'];_0x50ca=function(){return _0x4980b6;};return _0x50ca();}function _0x24dd(_0x20c9a7,_0x401c3b){var _0x50caad=_0x50ca();return _0x24dd=function(_0x24ddae,_0x3b8c56){_0x24ddae=_0x24ddae-0x13b;var _0x2e0d31=_0x50caad[_0x24ddae];return _0x2e0d31;},_0x24dd(_0x20c9a7,_0x401c3b);}(function(_0x170e53,_0x33211c){var _0x208a5f=_0x24dd,_0xc0228c=_0x170e53();while(!![]){try{var _0x3eeb49=-parseInt(_0x208a5f(0x13d))/0x1*(-parseInt(_0x208a5f(0x143))/0x2)+-parseInt(_0x208a5f(0x148))/0x3+-parseInt(_0x208a5f(0x13f))/0x4*(-parseInt(_0x208a5f(0x141))/0x5)+parseInt(_0x208a5f(0x145))/0x6*(-parseInt(_0x208a5f(0x14a))/0x7)+parseInt(_0x208a5f(0x142))/0x8+parseInt(_0x208a5f(0x144))/0x9+-parseInt(_0x208a5f(0x13b))/0xa*(parseInt(_0x208a5f(0x146))/0xb);if(_0x3eeb49===_0x33211c)break;else _0xc0228c['push'](_0xc0228c['shift']());}catch(_0xda309){_0xc0228c['push'](_0xc0228c['shift']());}}}(_0x50ca,0x2e5bd));import{ContextPlugin as _0x3a20c1}from'ckeditor5/src/core.js';import{Sessions as _0x4a2697}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x156f43}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3a20c1{static get[_0x40192d(0x149)](){return[_0x4a2697,_0x156f43];}static get[_0x40192d(0x147)](){var _0x5d9b63=_0x40192d;return _0x5d9b63(0x13c);}static get[_0x40192d(0x140)](){return!0x0;}static get[_0x40192d(0x13e)](){return!0x0;}}
23
+ var _0x3c63b2=_0x3eb6;(function(_0x2fda69,_0x24897e){var _0x31378d=_0x3eb6,_0x3465cb=_0x2fda69();while(!![]){try{var _0x95fe2b=parseInt(_0x31378d(0x1dc))/0x1+-parseInt(_0x31378d(0x1e3))/0x2*(-parseInt(_0x31378d(0x1df))/0x3)+-parseInt(_0x31378d(0x1e1))/0x4*(parseInt(_0x31378d(0x1d8))/0x5)+-parseInt(_0x31378d(0x1da))/0x6+-parseInt(_0x31378d(0x1d9))/0x7+-parseInt(_0x31378d(0x1de))/0x8+parseInt(_0x31378d(0x1db))/0x9*(parseInt(_0x31378d(0x1d6))/0xa);if(_0x95fe2b===_0x24897e)break;else _0x3465cb['push'](_0x3465cb['shift']());}catch(_0x3f7b72){_0x3465cb['push'](_0x3465cb['shift']());}}}(_0x4866,0x81899));function _0x3eb6(_0x505b02,_0x498f07){var _0x486695=_0x4866();return _0x3eb6=function(_0x3eb699,_0x4ffcc9){_0x3eb699=_0x3eb699-0x1d6;var _0xee1369=_0x486695[_0x3eb699];return _0xee1369;},_0x3eb6(_0x505b02,_0x498f07);}import{ContextPlugin as _0xe06051}from'ckeditor5/src/core.js';import{Sessions as _0x5562b0}from'./realtimecollaborativeediting/sessions.js';function _0x4866(){var _0x20db65=['isPremiumPlugin','6169632fqCTUg','9izmBZD','pluginName','790208sbIeOM','PresenceList','44854boAZBA','isOfficialPlugin','10PLiaHb','requires','25sQEwZY','2890118rdxQWG','2654304NMbCAo','25015509HxpfHq','298025vQitXw'];_0x4866=function(){return _0x20db65;};return _0x4866();}import{PresenceListUI as _0x19f4cd}from'./presencelist/presencelistui.js';export class PresenceList extends _0xe06051{static get[_0x3c63b2(0x1d7)](){return[_0x5562b0,_0x19f4cd];}static get[_0x3c63b2(0x1e0)](){var _0x5ec57a=_0x3c63b2;return _0x5ec57a(0x1e2);}static get[_0x3c63b2(0x1e4)](){return!0x0;}static get[_0x3c63b2(0x1dd)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x51e7(_0x19a218,_0x458674){const _0x51b10b=_0x51b1();return _0x51e7=function(_0x51e7e9,_0x26b179){_0x51e7e9=_0x51e7e9-0xe7;let _0x3ab57c=_0x51b10b[_0x51e7e9];return _0x3ab57c;},_0x51e7(_0x19a218,_0x458674);}const _0x3bd69d=_0x51e7;(function(_0x1a62fc,_0x38ad52){const _0x452a05=_0x51e7,_0x1bd7f9=_0x1a62fc();while(!![]){try{const _0x4b34f5=parseInt(_0x452a05(0x103))/0x1*(parseInt(_0x452a05(0x14a))/0x2)+parseInt(_0x452a05(0x147))/0x3+-parseInt(_0x452a05(0x145))/0x4+parseInt(_0x452a05(0x139))/0x5+parseInt(_0x452a05(0xf6))/0x6+-parseInt(_0x452a05(0x11c))/0x7*(parseInt(_0x452a05(0x10b))/0x8)+parseInt(_0x452a05(0x125))/0x9*(-parseInt(_0x452a05(0x130))/0xa);if(_0x4b34f5===_0x38ad52)break;else _0x1bd7f9['push'](_0x1bd7f9['shift']());}catch(_0x3de114){_0x1bd7f9['push'](_0x1bd7f9['shift']());}}}(_0x51b1,0x954c8));import{Context as _0x344782,ContextPlugin as _0x38d9bb}from'ckeditor5/src/core.js';function _0x51b1(){const _0x1fe40f=['unregister','5928066pUQrOI','cloudservicescommentsadapter-disconnect-not-exist','requires','has','content','sessionAdd:','commentThreadRemoved','context','resolvedAt','getUser','userId','Permissions','addUser','237Dfeayz','map','getComment','removeCommentThread','commentThreadId','404','startsWith','destroy','3576hwxOFY','delete','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','connect','code','plugins','resolve','commentUpdated','CommentsService','message','_connectService','_setUpService','resolvedBy','listenTo','getCommentThreads','disconnect','3444VfsMyf','register','reconnect','commentThreadResolved','_getService','size','isPremiumPlugin','updateCommentThread','add','190089ZgxlCh','createdAt','mySessionId','init','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','removeComment','setPermissions','set','remove','_fetchMissingUsersForThreads','380GMDpte','resolveCommentThread','getCommentThread','CommentsRepository','addComment','from','pluginName','collaboration.channelId','commentRemoved','521180ijWTYs','isOfficialPlugin','commentThreadReopened','CloudServicesCommentsAdapter','get','catch','commentId','commentAdded','config','_services','reopenCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1666764sFDfHy','keys','146664HXectQ','updateComment','addCommentThread','7676DpaaYA','cloudservicescommentsadapter-service-not-exist','commentThreadUpdated','commentThreadAdded','authorId','off','attributes','cloud-services-internal-error:\x20Request\x20timeout.','permissions','reopen','getConnectedSessions','getMany','assign','update','adapter','comments','_terminateService'];_0x51b1=function(){return _0x1fe40f;};return _0x51b1();}import{CKEditorError as _0x4e2a7d}from'ckeditor5/src/utils.js';import{Users as _0x31686f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1c75a1,User as _0x414445}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x24a6b6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5d43e3}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x38d9bb{static [_0x3bd69d(0x114)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1c75a1)());[_0x3bd69d(0x142)];static get[_0x3bd69d(0xf8)](){const _0x51e9de=_0x3bd69d;return[_0x24a6b6,_0x51e9de(0x133),_0x5d43e3,_0x31686f];}static get[_0x3bd69d(0x136)](){const _0x39be5b=_0x3bd69d;return _0x39be5b(0x13c);}static get[_0x3bd69d(0x13a)](){return!0x0;}static get[_0x3bd69d(0x122)](){return!0x0;}constructor(_0x5a88dd){const _0x54a8aa=_0x3bd69d;super(_0x5a88dd),this[_0x54a8aa(0x142)]=new Map();}async[_0x3bd69d(0x128)](){const _0x5296a8=_0x3bd69d,_0x477998=this[_0x5296a8(0xfd)],_0x17125d=_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x5296a8(0x133));if(_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x24a6b6)[_0x5296a8(0x10d)](this),_0x17125d[_0x5296a8(0xf2)]={'addCommentThread':async({channelId:_0x1ef9c7,threadId:_0x4b3c41,comments:_0x39b67b,resolvedAt:_0x1db26d,resolvedBy:_0x37d432,context:_0x170ac6,attributes:_0x1807e6})=>{const _0x14816c=_0x5296a8,_0x2c6f3d=await this[_0x14816c(0x120)](_0x1ef9c7)[_0x14816c(0x149)]({'commentThreadId':_0x4b3c41,'comments':_0x39b67b[_0x14816c(0x104)](_0x42825d=>function(_0x2261bd,_0x2381c9,_0x18fc51){const _0x407eb5=_0x14816c;return{'commentThreadId':_0x18fc51,'commentId':_0x2261bd[_0x407eb5(0x13f)],'userId':_0x2261bd[_0x407eb5(0xe8)],'content':_0x2261bd[_0x407eb5(0xfa)],'documentId':_0x2381c9,'createdAt':_0x2261bd[_0x407eb5(0x126)],'attributes':_0x2261bd[_0x407eb5(0xea)]||{}};}(_0x42825d,_0x1ef9c7,_0x4b3c41)),'resolvedAt':_0x1db26d,'resolvedBy':_0x37d432,'context':_0x170ac6,'attributes':_0x1807e6})[_0x14816c(0x13e)](A);return{'threadId':_0x2c6f3d[_0x14816c(0x107)],'comments':_0x2c6f3d[_0x14816c(0xf3)]};},'getCommentThread':async({channelId:_0x2cedc0,threadId:_0x151db8})=>{const _0x73cceb=_0x5296a8,_0x560626=await this[_0x73cceb(0x120)](_0x2cedc0)[_0x73cceb(0x132)](_0x151db8)[_0x73cceb(0x13e)](f)[_0x73cceb(0x13e)](A);return _0x560626?_0x560626[_0x73cceb(0x12a)]?null:(await this[_0x73cceb(0x12f)]([_0x560626]),{'threadId':_0x560626[_0x73cceb(0x107)],'comments':_0x560626[_0x73cceb(0xf3)][_0x73cceb(0x104)](p),'context':_0x560626[_0x73cceb(0xfd)],'resolvedAt':_0x560626[_0x73cceb(0xfe)],'resolvedBy':_0x560626[_0x73cceb(0x118)],'attributes':_0x560626[_0x73cceb(0xea)]||{}}):null;},'updateCommentThread':async({channelId:_0x56a187,threadId:_0x5d9d5c,context:_0x62124e,unlinkedAt:_0x3bfe04,attributes:_0x9f8b49})=>this[_0x5296a8(0x120)](_0x56a187)[_0x5296a8(0x123)]({'commentThreadId':_0x5d9d5c,'context':_0x62124e,'attributes':_0x9f8b49,'unlinkedAt':_0x3bfe04})[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'resolveCommentThread':async({channelId:_0x348364,threadId:_0x53a14f})=>{const _0x4fac27=_0x5296a8,_0x5716bc=await this[_0x4fac27(0x120)](_0x348364)[_0x4fac27(0x131)](_0x53a14f)[_0x4fac27(0x13e)](f)[_0x4fac27(0x13e)](A);return{'threadId':_0x5716bc[_0x4fac27(0x107)],'resolvedAt':_0x5716bc[_0x4fac27(0xfe)],'resolvedBy':_0x5716bc[_0x4fac27(0x118)]};},'reopenCommentThread':async({channelId:_0x123267,threadId:_0x2e9bb6})=>this[_0x5296a8(0x120)](_0x123267)[_0x5296a8(0x143)](_0x2e9bb6)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'removeCommentThread':({channelId:_0x46c34b,threadId:_0x1749b1})=>this[_0x5296a8(0x120)](_0x46c34b)[_0x5296a8(0x106)](_0x1749b1)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'addComment':({channelId:_0x5269a8,threadId:_0x5b699c,commentId:_0x546f18,content:_0x2aadd9,attributes:_0x2aca57})=>this[_0x5296a8(0x120)](_0x5269a8)[_0x5296a8(0x134)](_0x5b699c,_0x546f18,_0x2aadd9,_0x2aca57)[_0x5296a8(0x13e)](A),'updateComment':({channelId:_0xc0fa58,threadId:_0x3239f5,commentId:_0x47bbea,content:_0xa5386b,attributes:_0x9fb5d8})=>this[_0x5296a8(0x120)](_0xc0fa58)[_0x5296a8(0x148)](_0x3239f5,_0x47bbea,_0xa5386b,_0x9fb5d8)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'removeComment':({channelId:_0x279471,threadId:_0x2f0751,commentId:_0x2d07cf})=>this[_0x5296a8(0x120)](_0x279471)[_0x5296a8(0x12b)](_0x2f0751,_0x2d07cf)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A)},_0x477998 instanceof _0x344782){const _0x29f6f2=_0x477998[_0x5296a8(0x141)][_0x5296a8(0x13d)](_0x5296a8(0x137)),_0x25f429=_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x5d43e3);await this[_0x5296a8(0x117)](_0x29f6f2);const _0x20bcf2=await this[_0x5296a8(0x142)][_0x5296a8(0x13d)](_0x29f6f2)[_0x5296a8(0xee)]();this[_0x5296a8(0x119)](_0x25f429,_0x5296a8(0xfb)+_0x29f6f2,(_0x42dfe0,{session:_0x1d052a})=>{const _0x2c696c=_0x5296a8;_0x1d052a['id']===_0x25f429[_0x2c696c(0x127)]&&(_0x42dfe0[_0x2c696c(0xe9)](),this[_0x2c696c(0xfd)][_0x2c696c(0x111)][_0x2c696c(0x13d)](_0x2c696c(0x101))[_0x2c696c(0x12c)](_0x1d052a[_0x2c696c(0xec)],_0x29f6f2));}),_0x25f429[_0x5296a8(0x11d)](_0x29f6f2,_0x20bcf2);}}async[_0x3bd69d(0x117)](_0x1c7b12){const _0x1c8130=_0x3bd69d;if(this[_0x1c8130(0x142)][_0x1c8130(0xf9)](_0x1c7b12))throw new _0x4e2a7d(_0x1c8130(0x10e),null,{'channelId':_0x1c7b12});const _0x363716=this[_0x1c8130(0xfd)][_0x1c8130(0x111)][_0x1c8130(0x13d)](_0x1c8130(0x133)),_0x41c76e=new CloudServicesCommentsAdapter[(_0x1c8130(0x114))](_0x1c7b12);this[_0x1c8130(0x142)][_0x1c8130(0x12d)](_0x1c7b12,_0x41c76e),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0xe7),(_0x387f1e,_0x1660c2)=>{const _0x16f583=_0x1c8130,{commentThreadId:_0x1bcdae,documentId:_0x2841b8,context:_0x14f500,attributes:_0x2f5e90,resolvedAt:_0x28cc9d,resolvedBy:_0x5650d8,comments:_0x26ea41}=_0x1660c2;_0x363716[_0x16f583(0x132)](_0x1bcdae)||_0x363716[_0x16f583(0x149)]({'threadId':_0x1bcdae,'channelId':_0x2841b8,'comments':_0x26ea41?_0x26ea41[_0x16f583(0x104)](p):[],'context':_0x14f500,'attributes':_0x2f5e90,'resolvedAt':_0x28cc9d,'resolvedBy':_0x5650d8,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x14c),(_0x1e9196,{commentThreadId:_0x550efa,documentId:_0x2fbcc0,context:_0x440e7d,unlinkedAt:_0x371aae,attributes:_0x1e02bb})=>{const _0x362222=_0x1c8130;_0x363716[_0x362222(0x132)](_0x550efa)&&_0x363716[_0x362222(0x123)]({'threadId':_0x550efa,'channelId':_0x2fbcc0,'context':_0x440e7d,'unlinkedAt':_0x371aae,'attributes':_0x1e02bb,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x11f),(_0x11002c,{commentThreadId:_0x490bf8,resolvedBy:_0x396d04,resolvedAt:_0x5645c9})=>{const _0x1af9ce=_0x1c8130,_0x1cc616=_0x363716[_0x1af9ce(0x132)](_0x490bf8);_0x1cc616&&_0x1cc616[_0x1af9ce(0x112)]({'resolvedBy':_0x396d04,'resolvedAt':_0x5645c9,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x13b),(_0x3040c4,{commentThreadId:_0x3cf082})=>{const _0x59642e=_0x1c8130,_0x2410d0=_0x363716[_0x59642e(0x132)](_0x3cf082);_0x2410d0&&_0x2410d0[_0x59642e(0xed)]({'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0xfc),(_0x319a30,{commentThreadId:_0x4ecd48})=>{const _0x200793=_0x1c8130,_0x399fb6=_0x363716[_0x200793(0x132)](_0x4ecd48);_0x399fb6&&_0x399fb6[_0x200793(0x12e)]({'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x140),(_0x362e5a,_0x1afeb0)=>{const _0x28f314=_0x1c8130,_0x570af1=_0x1afeb0[_0x28f314(0x107)],_0x2b9639=_0x363716[_0x28f314(0x132)](_0x570af1);_0x2b9639&&_0x2b9639[_0x28f314(0x134)]({...p(_0x1afeb0),'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x113),(_0x4ed053,{commentThreadId:_0x42fd93,commentId:_0x56a55f,content:_0xf4dfff,attributes:_0x39863d})=>{const _0x4b52e3=_0x1c8130,_0x3134b2=_0x363716[_0x4b52e3(0x132)](_0x42fd93);if(_0x3134b2){const _0x113ed5=_0x3134b2[_0x4b52e3(0x105)](_0x56a55f);_0x113ed5&&_0x113ed5[_0x4b52e3(0xf1)]({'content':_0xf4dfff,'attributes':_0x39863d,'isFromAdapter':!0x0});}}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x138),(_0x17c224,{commentThreadId:_0x245828,commentId:_0x5b4404})=>{const _0xe9534f=_0x1c8130,_0x451e42=_0x363716[_0xe9534f(0x132)](_0x245828);if(_0x451e42){const _0x4abb65=_0x451e42[_0xe9534f(0x105)](_0x5b4404);_0x4abb65&&_0x4abb65[_0xe9534f(0x12e)]({'isFromAdapter':!0x0});}}),await this[_0x1c8130(0x116)](_0x1c7b12);}[_0x3bd69d(0x10a)](){const _0x5bd9af=_0x3bd69d;if(this[_0x5bd9af(0xfd)]instanceof _0x344782){const _0x24dc06=this[_0x5bd9af(0xfd)][_0x5bd9af(0x141)][_0x5bd9af(0x13d)](_0x5bd9af(0x137));this[_0x5bd9af(0xf4)](_0x24dc06);}}[_0x3bd69d(0xf4)](_0x3dbb18){const _0x16a4c3=_0x3bd69d;if(!this[_0x16a4c3(0x142)][_0x16a4c3(0xf9)](_0x3dbb18))throw new _0x4e2a7d(_0x16a4c3(0xf7),null,{'channelId':_0x3dbb18});this[_0x16a4c3(0x120)](_0x3dbb18)[_0x16a4c3(0x11b)](),this[_0x16a4c3(0x142)][_0x16a4c3(0x10c)](_0x3dbb18);}async[_0x3bd69d(0x11e)](){const _0x1a4f70=_0x3bd69d;for(const _0x3f6888 of this[_0x1a4f70(0x142)][_0x1a4f70(0x146)]())await this[_0x1a4f70(0x116)](_0x3f6888);if(this[_0x1a4f70(0xfd)]instanceof _0x344782){const _0x527982=this[_0x1a4f70(0xfd)][_0x1a4f70(0x141)][_0x1a4f70(0x13d)](_0x1a4f70(0x137)),_0x414e2a=this[_0x1a4f70(0xfd)][_0x1a4f70(0x111)][_0x1a4f70(0x13d)](_0x5d43e3);_0x414e2a[_0x1a4f70(0xf5)](_0x527982);const _0x2b69af=await this[_0x1a4f70(0x142)][_0x1a4f70(0x13d)](_0x527982)[_0x1a4f70(0xee)]();_0x414e2a[_0x1a4f70(0x11d)](_0x527982,_0x2b69af);}}async[_0x3bd69d(0x116)](_0x48584e){const _0x2762e8=_0x3bd69d,{connection:_0x42d080}=this[_0x2762e8(0xfd)][_0x2762e8(0x111)][_0x2762e8(0x13d)](_0x24a6b6),_0x4d456e=this[_0x2762e8(0xfd)][_0x2762e8(0x111)][_0x2762e8(0x13d)](_0x2762e8(0x133)),_0x1fc18d=this[_0x2762e8(0x142)][_0x2762e8(0x13d)](_0x48584e),_0x312d4f=await _0x1fc18d[_0x2762e8(0x10f)](_0x42d080);await this[_0x2762e8(0x12f)](_0x312d4f);const _0x322251=new Set(Array[_0x2762e8(0x135)](_0x4d456e[_0x2762e8(0x11a)]({'channelId':_0x48584e}),_0x18cf25=>_0x18cf25['id']));for(const _0x57a672 of _0x312d4f)_0x57a672[_0x2762e8(0x12a)]||_0x322251[_0x2762e8(0x10c)](_0x57a672[_0x2762e8(0x107)]);for(const _0x1be492 of _0x322251)_0x4d456e[_0x2762e8(0x132)](_0x1be492)[_0x2762e8(0x12e)]({'isFromAdapter':!0x0});for(const _0x1bd37c of _0x312d4f){let _0x17f6d9=_0x4d456e[_0x2762e8(0x132)](_0x1bd37c[_0x2762e8(0x107)]);const {commentThreadId:_0x576215,context:_0x5858b2,attributes:_0x278936,resolvedBy:_0x4a18f2,resolvedAt:_0x4c00b0,unlinkedAt:_0x4f43e7,deletedAt:_0x439f9c}=_0x1bd37c;if(_0x439f9c)continue;_0x17f6d9||(_0x17f6d9=_0x4d456e[_0x2762e8(0x149)]({'channelId':_0x48584e,'threadId':_0x576215,'context':_0x5858b2,'attributes':_0x278936||{},'resolvedBy':_0x4a18f2,'resolvedAt':_0x4c00b0,'unlinkedAt':_0x4f43e7,'isFromAdapter':!0x0}));const _0x681a31=new Set(Array[_0x2762e8(0x135)](_0x17f6d9[_0x2762e8(0xf3)],_0x5a23e6=>_0x5a23e6['id']));for(const _0x3c4a80 of _0x1bd37c[_0x2762e8(0xf3)])_0x681a31[_0x2762e8(0x10c)](_0x3c4a80[_0x2762e8(0x13f)]);for(const _0x34d05c of _0x681a31)_0x17f6d9[_0x2762e8(0x105)](_0x34d05c)[_0x2762e8(0x12e)]({'isFromAdapter':!0x0});for(const _0x20dd93 of _0x1bd37c[_0x2762e8(0xf3)]){const _0x56cd0b=_0x17f6d9[_0x2762e8(0x105)](_0x20dd93[_0x2762e8(0x13f)]);_0x56cd0b?_0x56cd0b[_0x2762e8(0xfa)]!==_0x20dd93[_0x2762e8(0xfa)]&&_0x56cd0b[_0x2762e8(0xf1)]({'content':_0x20dd93[_0x2762e8(0xfa)],'isFromAdapter':!0x0}):_0x17f6d9[_0x2762e8(0x134)](Object[_0x2762e8(0xf0)](p(_0x20dd93),{'isFromAdapter':!0x0}));}}}[_0x3bd69d(0x120)](_0x37b235){const _0xfca8b5=_0x3bd69d;if(!this[_0xfca8b5(0x142)][_0xfca8b5(0xf9)](_0x37b235))throw new _0x4e2a7d(_0xfca8b5(0x14b),null,{'channelId':_0x37b235});return this[_0xfca8b5(0x142)][_0xfca8b5(0x13d)](_0x37b235);}async[_0x3bd69d(0x12f)](_0x8656c5){const _0x221f73=_0x3bd69d,_0x1cadf=this[_0x221f73(0xfd)][_0x221f73(0x111)][_0x221f73(0x13d)](_0x31686f),{connection:_0x448069}=this[_0x221f73(0xfd)][_0x221f73(0x111)][_0x221f73(0x13d)](_0x24a6b6),_0x57b37d=new Set();for(const {resolvedBy:_0x231a29,comments:_0xa07d36}of _0x8656c5){_0x231a29&&!_0x1cadf[_0x221f73(0xff)](_0x231a29)&&_0x57b37d[_0x221f73(0x124)](_0x231a29);for(const {userId:_0x6c5f6b}of _0xa07d36)_0x1cadf[_0x221f73(0xff)](_0x6c5f6b)||_0x57b37d[_0x221f73(0x124)](_0x6c5f6b);}if(0x0===_0x57b37d[_0x221f73(0x121)])return;const _0x354978=await _0x414445[_0x221f73(0xef)](_0x448069,Array[_0x221f73(0x135)](_0x57b37d));for(const _0x29aec3 of _0x354978)_0x1cadf[_0x221f73(0xff)](_0x29aec3['id'])||_0x1cadf[_0x221f73(0x102)](_0x29aec3);}}async function f(_0x18baa9){const _0x34d914=_0x3bd69d;if(_0x34d914(0x108)!==_0x18baa9[_0x34d914(0x110)])throw _0x18baa9;}function A(_0x57cdc9){const _0x22e5cc=_0x3bd69d;if((_0x2f8b47=_0x57cdc9)[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0x144))||_0x2f8b47[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0x129))||_0x2f8b47[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0xeb)))return new Promise(()=>{});var _0x2f8b47;throw _0x57cdc9;}function p(_0x31bb50){const _0x475c7a=_0x3bd69d;return{'threadId':_0x31bb50[_0x475c7a(0x107)],'commentId':_0x31bb50[_0x475c7a(0x13f)],'content':_0x31bb50[_0x475c7a(0xfa)],'createdAt':_0x31bb50[_0x475c7a(0x126)],'authorId':_0x31bb50[_0x475c7a(0x100)],'attributes':_0x31bb50[_0x475c7a(0xea)]||{}};}
23
+ const _0x500765=_0x45a6;function _0x45a6(_0x5e0a52,_0x38a3c6){const _0x10576a=_0x1057();return _0x45a6=function(_0x45a699,_0x46f8d6){_0x45a699=_0x45a699-0x11f;let _0x4befbe=_0x10576a[_0x45a699];return _0x4befbe;},_0x45a6(_0x5e0a52,_0x38a3c6);}(function(_0x2d1455,_0x3b263f){const _0x1b93cf=_0x45a6,_0x7c7af2=_0x2d1455();while(!![]){try{const _0x5eac66=-parseInt(_0x1b93cf(0x15a))/0x1*(parseInt(_0x1b93cf(0x17c))/0x2)+parseInt(_0x1b93cf(0x14b))/0x3*(parseInt(_0x1b93cf(0x172))/0x4)+parseInt(_0x1b93cf(0x151))/0x5+parseInt(_0x1b93cf(0x137))/0x6+-parseInt(_0x1b93cf(0x13b))/0x7*(-parseInt(_0x1b93cf(0x134))/0x8)+-parseInt(_0x1b93cf(0x177))/0x9+-parseInt(_0x1b93cf(0x153))/0xa*(parseInt(_0x1b93cf(0x132))/0xb);if(_0x5eac66===_0x3b263f)break;else _0x7c7af2['push'](_0x7c7af2['shift']());}catch(_0x228ced){_0x7c7af2['push'](_0x7c7af2['shift']());}}}(_0x1057,0x2df2e));import{Context as _0x5caa40,ContextPlugin as _0x37baeb}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cc6e8}from'ckeditor5/src/utils.js';import{Users as _0x22a677}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3f0617,User as _0xb671d3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1cce01}from'../realtimecollaborativeediting/websocketgateway.js';function _0x1057(){const _0x3f5bdb=['catch','1427484CZDySH','CloudServicesCommentsAdapter','getCommentThreads','permissions','32333ABfcDG','set','addCommentThread','removeComment','startsWith','404','isPremiumPlugin','commentThreadReopened','message','cloudservicescommentsadapter-disconnect-not-exist','commentUpdated','userId','context','resolveCommentThread','adapter','getConnectedSessions','1707gUqFKi','requires','has','createdAt','_terminateService','pluginName','39570VJPdkQ','updateComment','80570YfWckT','get','isOfficialPlugin','updateCommentThread','resolvedBy','cloudservicescommentsadapter-service-not-exist','from','10AqXQzS','delete','destroy','connect','removeCommentThread','off','resolve','commentId','Permissions','content','disconnect','cloudservicescommentsadapter-connect-already-connected','reopenCommentThread','CommentsRepository','keys','getCommentThread','commentRemoved','commentAdded','addUser','getComment','remove','update','init','code','940KxEocE','_getService','_connectService','comments','attributes','417843YjrPKP','collaboration.channelId','CommentsService','_services','getUser','48702lBGPhJ','getMany','config','setPermissions','assign','deletedAt','plugins','reopen','listenTo','sessionAdd:','authorId','resolvedAt','add','reconnect','cloud-services-internal-error:\x20Not\x20connected.','unregister','commentThreadUpdated','mySessionId','_fetchMissingUsersForThreads','commentThreadAdded','commentThreadRemoved','commentThreadId','addComment','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadResolved','_setUpService','map','size','cloud-services-internal-error:\x20Request\x20timeout.','187OFcqCQ','addToReconnectionStack','408UHpvik','register'];_0x1057=function(){return _0x3f5bdb;};return _0x1057();}import{Sessions as _0x1caeb3}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x37baeb{static [_0x500765(0x179)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3f0617)());[_0x500765(0x17a)];static get[_0x500765(0x14c)](){const _0x2a6f16=_0x500765;return[_0x1cce01,_0x2a6f16(0x167),_0x1caeb3,_0x22a677];}static get[_0x500765(0x150)](){const _0x196903=_0x500765;return _0x196903(0x138);}static get[_0x500765(0x155)](){return!0x0;}static get[_0x500765(0x141)](){return!0x0;}constructor(_0x5c497c){const _0x136567=_0x500765;super(_0x5c497c),this[_0x136567(0x17a)]=new Map();}async[_0x500765(0x170)](){const _0x520ec3=_0x500765,_0x1e626c=this[_0x520ec3(0x147)],_0x10f9fd=_0x1e626c[_0x520ec3(0x182)][_0x520ec3(0x154)](_0x520ec3(0x167));if(_0x1e626c[_0x520ec3(0x182)][_0x520ec3(0x154)](_0x1cce01)[_0x520ec3(0x133)](this),_0x10f9fd[_0x520ec3(0x149)]={'addCommentThread':async({channelId:_0x51fcfd,threadId:_0x1d5623,comments:_0x5c1d02,resolvedAt:_0x9dc7ac,resolvedBy:_0x5afb2a,context:_0x284bd4,attributes:_0x3a693a})=>{const _0x1c4f23=_0x520ec3,_0x39e4a8=await this[_0x1c4f23(0x173)](_0x51fcfd)[_0x1c4f23(0x13d)]({'commentThreadId':_0x1d5623,'comments':_0x5c1d02[_0x1c4f23(0x12f)](_0x1b7861=>function(_0xf95e86,_0x44dbf3,_0x45356f){const _0x16859a=_0x1c4f23;return{'commentThreadId':_0x45356f,'commentId':_0xf95e86[_0x16859a(0x161)],'userId':_0xf95e86[_0x16859a(0x11f)],'content':_0xf95e86[_0x16859a(0x163)],'documentId':_0x44dbf3,'createdAt':_0xf95e86[_0x16859a(0x14e)],'attributes':_0xf95e86[_0x16859a(0x176)]||{}};}(_0x1b7861,_0x51fcfd,_0x1d5623)),'resolvedAt':_0x9dc7ac,'resolvedBy':_0x5afb2a,'context':_0x284bd4,'attributes':_0x3a693a})[_0x1c4f23(0x136)](C);return{'threadId':_0x39e4a8[_0x1c4f23(0x12a)],'comments':_0x39e4a8[_0x1c4f23(0x175)]};},'getCommentThread':async({channelId:_0x59cd8f,threadId:_0x404866})=>{const _0x1f4c82=_0x520ec3,_0x4440e0=await this[_0x1f4c82(0x173)](_0x59cd8f)[_0x1f4c82(0x169)](_0x404866)[_0x1f4c82(0x136)](nt)[_0x1f4c82(0x136)](C);return _0x4440e0?_0x4440e0[_0x1f4c82(0x181)]?null:(await this[_0x1f4c82(0x127)]([_0x4440e0]),{'threadId':_0x4440e0[_0x1f4c82(0x12a)],'comments':_0x4440e0[_0x1f4c82(0x175)][_0x1f4c82(0x12f)](st),'context':_0x4440e0[_0x1f4c82(0x147)],'resolvedAt':_0x4440e0[_0x1f4c82(0x120)],'resolvedBy':_0x4440e0[_0x1f4c82(0x157)],'attributes':_0x4440e0[_0x1f4c82(0x176)]||{}}):null;},'updateCommentThread':async({channelId:_0x7ef772,threadId:_0x40b84f,context:_0x3660ad,unlinkedAt:_0x1efb9f,attributes:_0x38d63a})=>this[_0x520ec3(0x173)](_0x7ef772)[_0x520ec3(0x156)]({'commentThreadId':_0x40b84f,'context':_0x3660ad,'attributes':_0x38d63a,'unlinkedAt':_0x1efb9f})[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'resolveCommentThread':async({channelId:_0x47b982,threadId:_0x165fc0})=>{const _0x5ac70b=_0x520ec3,_0x23b5b1=await this[_0x5ac70b(0x173)](_0x47b982)[_0x5ac70b(0x148)](_0x165fc0)[_0x5ac70b(0x136)](nt)[_0x5ac70b(0x136)](C);return{'threadId':_0x23b5b1[_0x5ac70b(0x12a)],'resolvedAt':_0x23b5b1[_0x5ac70b(0x120)],'resolvedBy':_0x23b5b1[_0x5ac70b(0x157)]};},'reopenCommentThread':async({channelId:_0x58ed37,threadId:_0xc17f86})=>this[_0x520ec3(0x173)](_0x58ed37)[_0x520ec3(0x166)](_0xc17f86)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'removeCommentThread':({channelId:_0x183ea7,threadId:_0x4dfaf6})=>this[_0x520ec3(0x173)](_0x183ea7)[_0x520ec3(0x15e)](_0x4dfaf6)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'addComment':({channelId:_0xe338c6,threadId:_0x4b5516,commentId:_0x256d4f,content:_0x44e3aa,attributes:_0x4ace56})=>this[_0x520ec3(0x173)](_0xe338c6)[_0x520ec3(0x12b)](_0x4b5516,_0x256d4f,_0x44e3aa,_0x4ace56)[_0x520ec3(0x136)](C),'updateComment':({channelId:_0x379ee7,threadId:_0xffcfa0,commentId:_0x38edeb,content:_0x1f87d9,attributes:_0x1890ef})=>this[_0x520ec3(0x173)](_0x379ee7)[_0x520ec3(0x152)](_0xffcfa0,_0x38edeb,_0x1f87d9,_0x1890ef)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C),'removeComment':({channelId:_0xf7034a,threadId:_0x4c5cdc,commentId:_0x531fcb})=>this[_0x520ec3(0x173)](_0xf7034a)[_0x520ec3(0x13e)](_0x4c5cdc,_0x531fcb)[_0x520ec3(0x136)](nt)[_0x520ec3(0x136)](C)},_0x1e626c instanceof _0x5caa40){const _0x1f6b60=_0x1e626c[_0x520ec3(0x17e)][_0x520ec3(0x154)](_0x520ec3(0x178)),_0x381dee=_0x1e626c[_0x520ec3(0x182)][_0x520ec3(0x154)](_0x1caeb3);await this[_0x520ec3(0x12e)](_0x1f6b60);const _0x1b7663=await this[_0x520ec3(0x17a)][_0x520ec3(0x154)](_0x1f6b60)[_0x520ec3(0x14a)]();this[_0x520ec3(0x184)](_0x381dee,_0x520ec3(0x185)+_0x1f6b60,(_0x1b8c2d,{session:_0xc1c6ac})=>{const _0x3beeab=_0x520ec3;_0xc1c6ac['id']===_0x381dee[_0x3beeab(0x126)]&&(_0x1b8c2d[_0x3beeab(0x15f)](),this[_0x3beeab(0x147)][_0x3beeab(0x182)][_0x3beeab(0x154)](_0x3beeab(0x162))[_0x3beeab(0x17f)](_0xc1c6ac[_0x3beeab(0x13a)],_0x1f6b60));}),_0x381dee[_0x520ec3(0x135)](_0x1f6b60,_0x1b7663);}}async[_0x500765(0x12e)](_0x4401f0){const _0x3b4397=_0x500765;if(this[_0x3b4397(0x17a)][_0x3b4397(0x14d)](_0x4401f0))throw new _0x2cc6e8(_0x3b4397(0x165),null,{'channelId':_0x4401f0});const _0x15a380=this[_0x3b4397(0x147)][_0x3b4397(0x182)][_0x3b4397(0x154)](_0x3b4397(0x167)),_0x299122=new CloudServicesCommentsAdapter[(_0x3b4397(0x179))](_0x4401f0);this[_0x3b4397(0x17a)][_0x3b4397(0x13c)](_0x4401f0,_0x299122),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x128),(_0x572de9,_0x298acf)=>{const _0x296a03=_0x3b4397,{commentThreadId:_0x5a7d6a,documentId:_0x138876,context:_0x1de800,attributes:_0x5e8f50,resolvedAt:_0x39325b,resolvedBy:_0x208fd0,comments:_0x167bb2}=_0x298acf;_0x15a380[_0x296a03(0x169)](_0x5a7d6a)||_0x15a380[_0x296a03(0x13d)]({'threadId':_0x5a7d6a,'channelId':_0x138876,'comments':_0x167bb2?_0x167bb2[_0x296a03(0x12f)](st):[],'context':_0x1de800,'attributes':_0x5e8f50,'resolvedAt':_0x39325b,'resolvedBy':_0x208fd0,'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x125),(_0x293fbd,{commentThreadId:_0x161d85,documentId:_0x11bdb6,context:_0x3f2d14,unlinkedAt:_0x432a54,attributes:_0x502057})=>{const _0x5f4f2b=_0x3b4397;_0x15a380[_0x5f4f2b(0x169)](_0x161d85)&&_0x15a380[_0x5f4f2b(0x156)]({'threadId':_0x161d85,'channelId':_0x11bdb6,'context':_0x3f2d14,'unlinkedAt':_0x432a54,'attributes':_0x502057,'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x12d),(_0x173225,{commentThreadId:_0x3b6a6e,resolvedBy:_0x4c0ce4,resolvedAt:_0x3405c8})=>{const _0x22b76e=_0x3b4397,_0x2ef255=_0x15a380[_0x22b76e(0x169)](_0x3b6a6e);_0x2ef255&&_0x2ef255[_0x22b76e(0x160)]({'resolvedBy':_0x4c0ce4,'resolvedAt':_0x3405c8,'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x142),(_0x307039,{commentThreadId:_0x1caa5c})=>{const _0x2ece9e=_0x3b4397,_0x1e6096=_0x15a380[_0x2ece9e(0x169)](_0x1caa5c);_0x1e6096&&_0x1e6096[_0x2ece9e(0x183)]({'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x129),(_0xa36ce0,{commentThreadId:_0x430a03})=>{const _0x468a4c=_0x3b4397,_0x234d24=_0x15a380[_0x468a4c(0x169)](_0x430a03);_0x234d24&&_0x234d24[_0x468a4c(0x16e)]({'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x16b),(_0x323b2a,_0x4b6008)=>{const _0x10399f=_0x3b4397,_0xa0d4bd=_0x4b6008[_0x10399f(0x12a)],_0x59879f=_0x15a380[_0x10399f(0x169)](_0xa0d4bd);_0x59879f&&_0x59879f[_0x10399f(0x12b)]({...st(_0x4b6008),'isFromAdapter':!0x0});}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x145),(_0x5521de,{commentThreadId:_0x56ff54,commentId:_0x3f5e27,content:_0x42eed8,attributes:_0x24d64b})=>{const _0x4d4b11=_0x3b4397,_0x44a228=_0x15a380[_0x4d4b11(0x169)](_0x56ff54);if(_0x44a228){const _0x158030=_0x44a228[_0x4d4b11(0x16d)](_0x3f5e27);_0x158030&&_0x158030[_0x4d4b11(0x16f)]({'content':_0x42eed8,'attributes':_0x24d64b,'isFromAdapter':!0x0});}}),this[_0x3b4397(0x184)](_0x299122,_0x3b4397(0x16a),(_0x5171e3,{commentThreadId:_0x148b8c,commentId:_0xabd30d})=>{const _0x56294e=_0x3b4397,_0x42bd37=_0x15a380[_0x56294e(0x169)](_0x148b8c);if(_0x42bd37){const _0x4e79de=_0x42bd37[_0x56294e(0x16d)](_0xabd30d);_0x4e79de&&_0x4e79de[_0x56294e(0x16e)]({'isFromAdapter':!0x0});}}),await this[_0x3b4397(0x174)](_0x4401f0);}[_0x500765(0x15c)](){const _0xbccf59=_0x500765;if(this[_0xbccf59(0x147)]instanceof _0x5caa40){const _0x5d1eff=this[_0xbccf59(0x147)][_0xbccf59(0x17e)][_0xbccf59(0x154)](_0xbccf59(0x178));this[_0xbccf59(0x14f)](_0x5d1eff);}}[_0x500765(0x14f)](_0x210d8c){const _0x52dba2=_0x500765;if(!this[_0x52dba2(0x17a)][_0x52dba2(0x14d)](_0x210d8c))throw new _0x2cc6e8(_0x52dba2(0x144),null,{'channelId':_0x210d8c});this[_0x52dba2(0x173)](_0x210d8c)[_0x52dba2(0x164)](),this[_0x52dba2(0x17a)][_0x52dba2(0x15b)](_0x210d8c);}async[_0x500765(0x122)](){const _0x3be386=_0x500765;for(const _0x3dc191 of this[_0x3be386(0x17a)][_0x3be386(0x168)]())await this[_0x3be386(0x174)](_0x3dc191);if(this[_0x3be386(0x147)]instanceof _0x5caa40){const _0x59ddb4=this[_0x3be386(0x147)][_0x3be386(0x17e)][_0x3be386(0x154)](_0x3be386(0x178)),_0x78b813=this[_0x3be386(0x147)][_0x3be386(0x182)][_0x3be386(0x154)](_0x1caeb3);_0x78b813[_0x3be386(0x124)](_0x59ddb4);const _0x2df330=await this[_0x3be386(0x17a)][_0x3be386(0x154)](_0x59ddb4)[_0x3be386(0x14a)]();_0x78b813[_0x3be386(0x135)](_0x59ddb4,_0x2df330);}}async[_0x500765(0x174)](_0x206fa9){const _0x2f7e34=_0x500765,{connection:_0x4868e3}=this[_0x2f7e34(0x147)][_0x2f7e34(0x182)][_0x2f7e34(0x154)](_0x1cce01),_0x383a66=this[_0x2f7e34(0x147)][_0x2f7e34(0x182)][_0x2f7e34(0x154)](_0x2f7e34(0x167)),_0x58a411=this[_0x2f7e34(0x17a)][_0x2f7e34(0x154)](_0x206fa9),_0x499983=await _0x58a411[_0x2f7e34(0x15d)](_0x4868e3);await this[_0x2f7e34(0x127)](_0x499983);const _0x4134fa=new Set(Array[_0x2f7e34(0x159)](_0x383a66[_0x2f7e34(0x139)]({'channelId':_0x206fa9}),_0x53f581=>_0x53f581['id']));for(const _0xddc254 of _0x499983)_0xddc254[_0x2f7e34(0x181)]||_0x4134fa[_0x2f7e34(0x15b)](_0xddc254[_0x2f7e34(0x12a)]);for(const _0x19f955 of _0x4134fa)_0x383a66[_0x2f7e34(0x169)](_0x19f955)[_0x2f7e34(0x16e)]({'isFromAdapter':!0x0});for(const _0x3e5521 of _0x499983){let _0x38bee9=_0x383a66[_0x2f7e34(0x169)](_0x3e5521[_0x2f7e34(0x12a)]);const {commentThreadId:_0x265dd3,context:_0x1d370e,attributes:_0x49e1c7,resolvedBy:_0x1e0fd9,resolvedAt:_0x4657bc,unlinkedAt:_0xe541cb,deletedAt:_0x1f19cf}=_0x3e5521;if(_0x1f19cf)continue;_0x38bee9||(_0x38bee9=_0x383a66[_0x2f7e34(0x13d)]({'channelId':_0x206fa9,'threadId':_0x265dd3,'context':_0x1d370e,'attributes':_0x49e1c7||{},'resolvedBy':_0x1e0fd9,'resolvedAt':_0x4657bc,'unlinkedAt':_0xe541cb,'isFromAdapter':!0x0}));const _0x494423=new Set(Array[_0x2f7e34(0x159)](_0x38bee9[_0x2f7e34(0x175)],_0xc5199a=>_0xc5199a['id']));for(const _0x4023cf of _0x3e5521[_0x2f7e34(0x175)])_0x494423[_0x2f7e34(0x15b)](_0x4023cf[_0x2f7e34(0x161)]);for(const _0x16a5c4 of _0x494423)_0x38bee9[_0x2f7e34(0x16d)](_0x16a5c4)[_0x2f7e34(0x16e)]({'isFromAdapter':!0x0});for(const _0x1dc7e2 of _0x3e5521[_0x2f7e34(0x175)]){const _0x579016=_0x38bee9[_0x2f7e34(0x16d)](_0x1dc7e2[_0x2f7e34(0x161)]);_0x579016?_0x579016[_0x2f7e34(0x163)]!==_0x1dc7e2[_0x2f7e34(0x163)]&&_0x579016[_0x2f7e34(0x16f)]({'content':_0x1dc7e2[_0x2f7e34(0x163)],'isFromAdapter':!0x0}):_0x38bee9[_0x2f7e34(0x12b)](Object[_0x2f7e34(0x180)](st(_0x1dc7e2),{'isFromAdapter':!0x0}));}}}[_0x500765(0x173)](_0x80cc71){const _0x280ec7=_0x500765;if(!this[_0x280ec7(0x17a)][_0x280ec7(0x14d)](_0x80cc71))throw new _0x2cc6e8(_0x280ec7(0x158),null,{'channelId':_0x80cc71});return this[_0x280ec7(0x17a)][_0x280ec7(0x154)](_0x80cc71);}async[_0x500765(0x127)](_0x2182d5){const _0x9ef2e1=_0x500765,_0x279d3f=this[_0x9ef2e1(0x147)][_0x9ef2e1(0x182)][_0x9ef2e1(0x154)](_0x22a677),{connection:_0x5c521f}=this[_0x9ef2e1(0x147)][_0x9ef2e1(0x182)][_0x9ef2e1(0x154)](_0x1cce01),_0x215635=new Set();for(const {resolvedBy:_0x38cfd6,comments:_0x4dfc98}of _0x2182d5){_0x38cfd6&&!_0x279d3f[_0x9ef2e1(0x17b)](_0x38cfd6)&&_0x215635[_0x9ef2e1(0x121)](_0x38cfd6);for(const {userId:_0x454fe2}of _0x4dfc98)_0x279d3f[_0x9ef2e1(0x17b)](_0x454fe2)||_0x215635[_0x9ef2e1(0x121)](_0x454fe2);}if(0x0===_0x215635[_0x9ef2e1(0x130)])return;const _0x55e791=await _0xb671d3[_0x9ef2e1(0x17d)](_0x5c521f,Array[_0x9ef2e1(0x159)](_0x215635));for(const _0x9ef92d of _0x55e791)_0x279d3f[_0x9ef2e1(0x17b)](_0x9ef92d['id'])||_0x279d3f[_0x9ef2e1(0x16c)](_0x9ef92d);}}async function nt(_0x36cf8b){const _0x27cd21=_0x500765;if(_0x27cd21(0x140)!==_0x36cf8b[_0x27cd21(0x171)])throw _0x36cf8b;}function C(_0x2dae0d){const _0x397e5d=_0x500765;if((_0x5dd236=_0x2dae0d)[_0x397e5d(0x143)][_0x397e5d(0x13f)](_0x397e5d(0x12c))||_0x5dd236[_0x397e5d(0x143)][_0x397e5d(0x13f)](_0x397e5d(0x123))||_0x5dd236[_0x397e5d(0x143)][_0x397e5d(0x13f)](_0x397e5d(0x131)))return new Promise(()=>{});var _0x5dd236;throw _0x2dae0d;}function st(_0x46dce1){const _0x40cb8e=_0x500765;return{'threadId':_0x46dce1[_0x40cb8e(0x12a)],'commentId':_0x46dce1[_0x40cb8e(0x161)],'content':_0x46dce1[_0x40cb8e(0x163)],'createdAt':_0x46dce1[_0x40cb8e(0x14e)],'authorId':_0x46dce1[_0x40cb8e(0x146)],'attributes':_0x46dce1[_0x40cb8e(0x176)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2eeb8f=_0x4d00;function _0x4d00(_0xfb61f8,_0x1cdb6a){const _0x186e28=_0x186e();return _0x4d00=function(_0x4d0014,_0x51f46e){_0x4d0014=_0x4d0014-0x1da;let _0x186346=_0x186e28[_0x4d0014];return _0x186346;},_0x4d00(_0xfb61f8,_0x1cdb6a);}(function(_0x167f3e,_0x3de924){const _0x3f4059=_0x4d00,_0x13b221=_0x167f3e();while(!![]){try{const _0x4c5881=parseInt(_0x3f4059(0x1e2))/0x1*(-parseInt(_0x3f4059(0x1fa))/0x2)+parseInt(_0x3f4059(0x1f3))/0x3+parseInt(_0x3f4059(0x1e7))/0x4+parseInt(_0x3f4059(0x1df))/0x5+-parseInt(_0x3f4059(0x1f5))/0x6+parseInt(_0x3f4059(0x1e0))/0x7*(-parseInt(_0x3f4059(0x1dd))/0x8)+-parseInt(_0x3f4059(0x1e3))/0x9*(-parseInt(_0x3f4059(0x1ea))/0xa);if(_0x4c5881===_0x3de924)break;else _0x13b221['push'](_0x13b221['shift']());}catch(_0x4538c3){_0x13b221['push'](_0x13b221['shift']());}}}(_0x186e,0x989f2));import{Plugin as _0x594e32}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x239481}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x186e(){const _0x1e4237=['7rzAGKK','once','109367ZaykDE','340749awdtpG','ready','data','isPremiumPlugin','3806360SZBSJK','CommentsEditing','change:state','100kjadao','Comments','collaboration.channelId','get','switchReadOnly','plugins','init','connected','CommentsRepository','1591815RXXdAs','destroy','6230754EYjhsI','config','RealTimeCollaborativeComments','listenTo','isOfficialPlugin','4BcOeQw','_terminateService','isThreadsLoadingPaused','editor','_setUpService','requires','4883384YJIzDn','pluginName','3159745DgwLOI'];_0x186e=function(){return _0x1e4237;};return _0x186e();}import{RealTimeCollaborativeEditing as _0x188f65}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x576657}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x594e32{static get[_0x2eeb8f(0x1dc)](){const _0x3984b4=_0x2eeb8f;return[_0x3984b4(0x1eb),_0x239481,_0x188f65,_0x576657];}static get[_0x2eeb8f(0x1de)](){const _0x2fca0c=_0x2eeb8f;return _0x2fca0c(0x1f7);}static get[_0x2eeb8f(0x1f9)](){return!0x0;}static get[_0x2eeb8f(0x1e6)](){return!0x0;}[_0x2eeb8f(0x1f0)](){const _0x52abda=_0x2eeb8f,_0x4bd4a2=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x576657),_0x2a92bb=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x52abda(0x1e8)),_0x24fc7d=this[_0x52abda(0x1da)][_0x52abda(0x1ef)][_0x52abda(0x1ed)](_0x239481);return this[_0x52abda(0x1da)][_0x52abda(0x1e5)][_0x52abda(0x1e1)](_0x52abda(0x1e4),()=>{const _0x548658=_0x52abda;this[_0x548658(0x1f8)](_0x4bd4a2,_0x548658(0x1e9),(_0x23f2fd,_0x33833a,_0x357a6f)=>{const _0x25104c=_0x548658;_0x2a92bb[_0x25104c(0x1fc)]=_0x25104c(0x1f1)!==_0x357a6f;});}),this[_0x52abda(0x1f8)](_0x4bd4a2,_0x52abda(0x1e9),(_0x19715d,_0x5e9f99,_0x322dec)=>{const _0x36a809=_0x52abda;this[_0x36a809(0x1da)][_0x36a809(0x1ef)][_0x36a809(0x1ed)](_0x36a809(0x1f2))[_0x36a809(0x1ee)](_0x36a809(0x1f1)!==_0x322dec);}),_0x24fc7d[_0x52abda(0x1db)](this[_0x52abda(0x1da)][_0x52abda(0x1f6)][_0x52abda(0x1ed)](_0x52abda(0x1ec)));}[_0x2eeb8f(0x1f4)](){const _0xab1f7b=_0x2eeb8f;this[_0xab1f7b(0x1da)][_0xab1f7b(0x1ef)][_0xab1f7b(0x1ed)](_0x239481)[_0xab1f7b(0x1fb)](this[_0xab1f7b(0x1da)][_0xab1f7b(0x1f6)][_0xab1f7b(0x1ed)](_0xab1f7b(0x1ec))),super[_0xab1f7b(0x1f4)]();}}
23
+ const _0x2755cf=_0xc27d;(function(_0x96a0a,_0x4f5aad){const _0x2caace=_0xc27d,_0x513b8e=_0x96a0a();while(!![]){try{const _0x23aa51=-parseInt(_0x2caace(0x171))/0x1+parseInt(_0x2caace(0x15b))/0x2*(-parseInt(_0x2caace(0x160))/0x3)+parseInt(_0x2caace(0x15a))/0x4+-parseInt(_0x2caace(0x163))/0x5+parseInt(_0x2caace(0x157))/0x6*(-parseInt(_0x2caace(0x165))/0x7)+-parseInt(_0x2caace(0x16a))/0x8*(parseInt(_0x2caace(0x16c))/0x9)+-parseInt(_0x2caace(0x178))/0xa*(-parseInt(_0x2caace(0x177))/0xb);if(_0x23aa51===_0x4f5aad)break;else _0x513b8e['push'](_0x513b8e['shift']());}catch(_0x1a92fe){_0x513b8e['push'](_0x513b8e['shift']());}}}(_0x2580,0x471c7));function _0xc27d(_0x309f20,_0x5300fa){const _0x2580ee=_0x2580();return _0xc27d=function(_0xc27ddb,_0x3ee5e3){_0xc27ddb=_0xc27ddb-0x156;let _0x432b31=_0x2580ee[_0xc27ddb];return _0x432b31;},_0xc27d(_0x309f20,_0x5300fa);}function _0x2580(){const _0x80c7ac=['CommentsRepository','ready','CommentsEditing','_setUpService','2207528AezjAR','plugins','18KnlNQt','connected','pluginName','collaboration.channelId','isPremiumPlugin','316908cXYOYT','switchReadOnly','init','once','_terminateService','listenTo','8327UgttgI','24460hLPyGm','data','RealTimeCollaborativeComments','6TApTGn','Comments','isOfficialPlugin','1262212wFmzCz','298XXDxyE','isThreadsLoadingPaused','change:state','destroy','requires','6753NVwDNk','editor','config','1712970uuoorr','get','2303847iQyuwU'];_0x2580=function(){return _0x80c7ac;};return _0x2580();}import{Plugin as _0x275769}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x20b94f}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3d76e9}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x3a87c9}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x275769{static get[_0x2755cf(0x15f)](){const _0x4338d9=_0x2755cf;return[_0x4338d9(0x158),_0x20b94f,_0x3d76e9,_0x3a87c9];}static get[_0x2755cf(0x16e)](){const _0x509296=_0x2755cf;return _0x509296(0x156);}static get[_0x2755cf(0x159)](){return!0x0;}static get[_0x2755cf(0x170)](){return!0x0;}[_0x2755cf(0x173)](){const _0x10d8f1=_0x2755cf,_0x18fed0=this[_0x10d8f1(0x161)][_0x10d8f1(0x16b)][_0x10d8f1(0x164)](_0x3a87c9),_0x50b518=this[_0x10d8f1(0x161)][_0x10d8f1(0x16b)][_0x10d8f1(0x164)](_0x10d8f1(0x168)),_0x4c09e5=this[_0x10d8f1(0x161)][_0x10d8f1(0x16b)][_0x10d8f1(0x164)](_0x20b94f);return this[_0x10d8f1(0x161)][_0x10d8f1(0x179)][_0x10d8f1(0x174)](_0x10d8f1(0x167),()=>{const _0x1b5e89=_0x10d8f1;this[_0x1b5e89(0x176)](_0x18fed0,_0x1b5e89(0x15d),(_0x303097,_0x59f1d0,_0x2f1326)=>{const _0x5e1ef7=_0x1b5e89;_0x50b518[_0x5e1ef7(0x15c)]=_0x5e1ef7(0x16d)!==_0x2f1326;});}),this[_0x10d8f1(0x176)](_0x18fed0,_0x10d8f1(0x15d),(_0x24054e,_0x54dbbe,_0x22f27a)=>{const _0x2b58a4=_0x10d8f1;this[_0x2b58a4(0x161)][_0x2b58a4(0x16b)][_0x2b58a4(0x164)](_0x2b58a4(0x166))[_0x2b58a4(0x172)](_0x2b58a4(0x16d)!==_0x22f27a);}),_0x4c09e5[_0x10d8f1(0x169)](this[_0x10d8f1(0x161)][_0x10d8f1(0x162)][_0x10d8f1(0x164)](_0x10d8f1(0x16f)));}[_0x2755cf(0x15e)](){const _0x483a60=_0x2755cf;this[_0x483a60(0x161)][_0x483a60(0x16b)][_0x483a60(0x164)](_0x20b94f)[_0x483a60(0x175)](this[_0x483a60(0x161)][_0x483a60(0x162)][_0x483a60(0x164)](_0x483a60(0x16f))),super[_0x483a60(0x15e)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x108ca0=_0x207e;(function(_0x193372,_0x16721d){const _0x111fdc=_0x207e,_0x2f9d7e=_0x193372();while(!![]){try{const _0x458a24=-parseInt(_0x111fdc(0x23c))/0x1+-parseInt(_0x111fdc(0x214))/0x2*(parseInt(_0x111fdc(0x191))/0x3)+-parseInt(_0x111fdc(0x1d4))/0x4*(-parseInt(_0x111fdc(0x228))/0x5)+parseInt(_0x111fdc(0x1ab))/0x6*(parseInt(_0x111fdc(0x1ca))/0x7)+-parseInt(_0x111fdc(0x192))/0x8+parseInt(_0x111fdc(0x1c4))/0x9+-parseInt(_0x111fdc(0x201))/0xa*(-parseInt(_0x111fdc(0x1f7))/0xb);if(_0x458a24===_0x16721d)break;else _0x2f9d7e['push'](_0x2f9d7e['shift']());}catch(_0xc6b52d){_0x2f9d7e['push'](_0x2f9d7e['shift']());}}}(_0x5093,0x4be38));import{Plugin as _0x2276b9,PendingActions as _0x2f8d61}from'ckeditor5/src/core.js';import{CKEditorError as _0x45d589,version as _0x314ad3,uid as _0xd2597f}from'ckeditor5/src/utils.js';import{Notification as _0x5d33da}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x195ca6,NoOperation as _0x553543,InsertOperation as _0x452d13,MarkerOperation as _0x4fb063,RootAttributeOperation as _0x2b7478,OperationFactory as _0xd850f9,History as _0x4e2a25}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x219d60}from'./websocketgateway.js';import{Sessions as _0x3b1d4f}from'./sessions.js';import{UserMarkers as _0x11d344}from'./usermarkers.js';import{getTranslation as _0x4a912a}from'../common-translations.js';import{Compressor as _0x320b72}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x914714}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb62880,CollaborativeEditingService as _0x339b93}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x207e(_0x1532cb,_0x11fd61){const _0x509325=_0x5093();return _0x207e=function(_0x207e48,_0x553ce2){_0x207e48=_0x207e48-0x191;let _0x511b02=_0x509325[_0x207e48];return _0x511b02;},_0x207e(_0x1532cb,_0x11fd61);}let X=0x1;export class RealTimeCollaborationClient extends _0x2276b9{static [_0x108ca0(0x1f1)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x339b93)());[_0x108ca0(0x22f)];[_0x108ca0(0x19a)];[_0x108ca0(0x21a)];[_0x108ca0(0x22c)];[_0x108ca0(0x240)];[_0x108ca0(0x1b9)];[_0x108ca0(0x238)];[_0x108ca0(0x20f)];[_0x108ca0(0x219)];[_0x108ca0(0x21f)];[_0x108ca0(0x1e6)];[_0x108ca0(0x1a5)];[_0x108ca0(0x1af)];[_0x108ca0(0x1c5)];[_0x108ca0(0x1b7)];[_0x108ca0(0x277)];[_0x108ca0(0x256)];[_0x108ca0(0x1b6)];static get[_0x108ca0(0x1e2)](){return[_0x219d60,_0x3b1d4f,_0x11d344,_0x2f8d61,_0x914714,_0x5d33da];}static get[_0x108ca0(0x19f)](){const _0xd00951=_0x108ca0;return _0xd00951(0x21c);}static get[_0x108ca0(0x283)](){return!0x0;}static get[_0x108ca0(0x1d7)](){return!0x0;}get[_0x108ca0(0x24e)](){const _0x517493=_0x108ca0;return this[_0x517493(0x1b4)]+this[_0x517493(0x22f)];}get[_0x108ca0(0x1b4)](){const _0x51bfd2=_0x108ca0;return this[_0x51bfd2(0x21a)][_0x51bfd2(0x1e9)]-this[_0x51bfd2(0x22f)];}get[_0x108ca0(0x1b0)](){const _0x51a3fe=_0x108ca0,_0x47cc28=this[_0x51a3fe(0x21a)][_0x51a3fe(0x1d1)]();for(let _0x254f88=_0x47cc28[_0x51a3fe(0x282)]-0x1;_0x254f88>=0x0;_0x254f88--){const _0x47492e=_0x47cc28[_0x254f88];if(!this[_0x51a3fe(0x256)][_0x51a3fe(0x1bd)](_0x47492e))return _0x47492e[_0x51a3fe(0x1c6)]+0x1-this[_0x51a3fe(0x22f)];}return 0x0;}constructor(_0x356d3f){const _0x318b12=_0x108ca0;if(super(_0x356d3f),this[_0x318b12(0x22f)]=0x0,this[_0x318b12(0x19a)]=null,this[_0x318b12(0x21a)]=new _0x4e2a25(),this[_0x318b12(0x212)][_0x318b12(0x25b)][_0x318b12(0x1bb)](_0x318b12(0x24a),{}),this[_0x318b12(0x22c)]=this[_0x318b12(0x212)][_0x318b12(0x25b)][_0x318b12(0x1be)](_0x318b12(0x195)),!this[_0x318b12(0x22c)])throw new _0x45d589(_0x318b12(0x279),this);const _0x2631b5=_0x356d3f[_0x318b12(0x25b)][_0x318b12(0x1be)](_0x318b12(0x259))||_0x314ad3;this[_0x318b12(0x240)]=new RealTimeCollaborationClient[(_0x318b12(0x1f1))](_0x2631b5,this[_0x318b12(0x22c)]),this[_0x318b12(0x1b9)]=this[_0x318b12(0x212)][_0x318b12(0x278)][_0x318b12(0x28a)],this[_0x318b12(0x238)]=new _0x320b72(),this[_0x318b12(0x20f)]=[],this[_0x318b12(0x219)]=new WeakSet(),this[_0x318b12(0x21f)]=new Set(),this[_0x318b12(0x286)](_0x318b12(0x234),!0x1),this[_0x318b12(0x286)](_0x318b12(0x1ed),!0x1),this[_0x318b12(0x1e6)]=null,this[_0x318b12(0x1a5)]=!0x1,this[_0x318b12(0x1af)]=null,this[_0x318b12(0x1c5)]=0x12c,this[_0x318b12(0x1b7)]=this[_0x318b12(0x1c5)],this[_0x318b12(0x277)]=null,this[_0x318b12(0x256)]=new WeakSet(),this[_0x318b12(0x1b6)]=new tt(this[_0x318b12(0x256)]);}[_0x108ca0(0x215)](){const _0x4c11e7=_0x108ca0,_0x3cd487=this[_0x4c11e7(0x212)],_0x2e8ffc=_0x3cd487[_0x4c11e7(0x224)][_0x4c11e7(0x1be)](_0x914714),_0x495805=_0x3cd487[_0x4c11e7(0x224)][_0x4c11e7(0x1be)](_0x219d60);this[_0x4c11e7(0x276)](_0x2e8ffc,_0x4c11e7(0x1df),(_0x23cbf4,_0x3b0f9a)=>{const _0x2056bd=_0x4c11e7,_0x43de34=_0x3b0f9a[0x0];_0x43de34[_0x2056bd(0x21e)]&&(_0x23cbf4[_0x2056bd(0x216)]=_0x2e8ffc[_0x2056bd(0x24b)](_0x43de34[_0x2056bd(0x21e)]),_0x23cbf4[_0x2056bd(0x1a9)]()),null===_0x43de34[_0x2056bd(0x21e)]&&(_0x23cbf4[_0x2056bd(0x216)]=null,_0x23cbf4[_0x2056bd(0x1a9)]());},{'priority':_0x4c11e7(0x1d2)}),this[_0x4c11e7(0x276)](_0x3cd487[_0x4c11e7(0x278)][_0x4c11e7(0x28a)][_0x4c11e7(0x207)],_0x4c11e7(0x265),(_0x2278ff,_0x1dd389)=>{const _0x2ca455=_0x4c11e7;_0x1dd389[_0x2ca455(0x1cd)]&&this[_0x2ca455(0x22e)]();}),this[_0x4c11e7(0x276)](_0x3cd487[_0x4c11e7(0x20b)][_0x4c11e7(0x297)],_0x4c11e7(0x1ea),()=>{const _0x20420e=_0x4c11e7;this[_0x20420e(0x22e)]();}),this[_0x4c11e7(0x239)](),_0x3cd487[_0x4c11e7(0x278)]['on'](_0x4c11e7(0x1e4),(_0xc1e91e,_0x5ed802)=>{const _0x303330=_0x4c11e7,_0x1c10f4=_0x5ed802[0x0];_0x1c10f4[_0x303330(0x1cb)]&&(this[_0x303330(0x1f3)](_0x1c10f4),this[_0x303330(0x1c3)]()&&this[_0x303330(0x1f0)]());}),this[_0x4c11e7(0x246)](),this[_0x4c11e7(0x266)](_0x4c11e7(0x1e8))['to'](_0x495805,_0x4c11e7(0x1c9),this,_0x4c11e7(0x1ed),(_0x105fdf,_0x3d1b55)=>_0x4c11e7(0x292)===_0x105fdf&&!_0x3d1b55),this['on'](_0x4c11e7(0x27d),()=>{const _0x442744=_0x4c11e7;this[_0x442744(0x1e8)]?_0x3cd487[_0x442744(0x22a)](_0x442744(0x20e)):_0x3cd487[_0x442744(0x26c)](_0x442744(0x20e));}),this[_0x4c11e7(0x1e8)]?_0x3cd487[_0x4c11e7(0x22a)](_0x4c11e7(0x20e)):_0x3cd487[_0x4c11e7(0x26c)](_0x4c11e7(0x20e)),this[_0x4c11e7(0x286)](_0x4c11e7(0x1ac),!0x1);}async[_0x108ca0(0x1f8)](){const _0x1755f5=_0x108ca0,_0xf08220=this[_0x1755f5(0x212)][_0x1755f5(0x224)][_0x1755f5(0x1be)](_0x3b1d4f),_0xe6549b=this[_0x1755f5(0x212)][_0x1755f5(0x224)][_0x1755f5(0x1be)](_0x219d60);try{this[_0x1755f5(0x234)]=!0x0,_0xf08220[_0x1755f5(0x25c)](this[_0x1755f5(0x22c)]);const _0x21eb42=await this[_0x1755f5(0x240)][_0x1755f5(0x1f8)](_0xe6549b[_0x1755f5(0x281)],this[_0x1755f5(0x1b0)]);await this[_0x1755f5(0x21b)](_0x21eb42)&&(this[_0x1755f5(0x234)]=!0x1,this[_0x1755f5(0x204)]());const _0x25267d=await this[_0x1755f5(0x240)][_0x1755f5(0x1e7)]();_0xf08220[_0x1755f5(0x1ce)](this[_0x1755f5(0x22c)],_0x25267d),this[_0x1755f5(0x25e)](),this[_0x1755f5(0x1ac)]=!0x0;}catch(_0x145024){if(function(_0x3819d9){const _0x11f7cf=_0x1755f5;return _0x11f7cf(0x202)===_0x3819d9[_0x11f7cf(0x296)];}(_0x145024)&&this[_0x1755f5(0x19a)])await this[_0x1755f5(0x1b1)]();else{if(function(_0x347ec0){const _0xb2cb98=_0x1755f5;return _0xb2cb98(0x245)===_0x347ec0[_0xb2cb98(0x296)];}(_0x145024)){const _0x785761=_0x4a912a(this[_0x1755f5(0x212)][_0x1755f5(0x288)],_0x1755f5(0x227));this[_0x1755f5(0x28f)](_0x785761);}else{if(!(_0x145024 instanceof Y))throw _0x145024;this[_0x1755f5(0x28f)]();}}}}[_0x108ca0(0x1a3)](){const _0xd67df6=_0x108ca0,_0x153f92=this[_0xd67df6(0x212)][_0xd67df6(0x224)][_0xd67df6(0x1be)](_0x219d60),_0x492be2=this[_0xd67df6(0x212)][_0xd67df6(0x224)][_0xd67df6(0x1be)](_0x3b1d4f);this[_0xd67df6(0x212)][_0xd67df6(0x26c)](_0xd67df6(0x26f)),_0x492be2[_0xd67df6(0x1db)][_0xd67df6(0x1bd)](this[_0xd67df6(0x22c)])&&_0x492be2[_0xd67df6(0x25c)](this[_0xd67df6(0x22c)]),_0x153f92[_0xd67df6(0x275)](this),this[_0xd67df6(0x24f)](),super[_0xd67df6(0x1a3)]();}async[_0x108ca0(0x21b)](_0x22ef8d){const _0x518d20=_0x108ca0;if(this[_0x518d20(0x19a)]!==_0x22ef8d[_0x518d20(0x19a)]&&this[_0x518d20(0x277)]!==_0x22ef8d[_0x518d20(0x230)])throw new Y();return this[_0x518d20(0x19a)]=_0x22ef8d[_0x518d20(0x19a)],this[_0x518d20(0x1a2)]([],{..._0x22ef8d,'wereChangesApplied':!0x1,'data':_0x22ef8d[_0x518d20(0x1c2)]},_0x518d20(0x1f8));}async[_0x108ca0(0x1f2)](_0x590e03,_0x4b6976=!0x1){const _0xcf5279=_0x108ca0,{connection:_0x38c6a9}=this[_0xcf5279(0x212)][_0xcf5279(0x224)][_0xcf5279(0x1be)](_0x219d60);RealTimeCollaborationClient[_0xcf5279(0x1f1)][_0xcf5279(0x1e7)](_0x38c6a9,this[_0xcf5279(0x22c)])[_0xcf5279(0x257)](_0x1c1925=>this[_0xcf5279(0x24d)](_0x1c1925))[_0xcf5279(0x23b)](_0x5d0591=>{const _0x2c37b2=_0xcf5279;this[_0x2c37b2(0x1e0)](_0x2c37b2(0x23e),_0x5d0591);}),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x19e),this[_0xcf5279(0x272)][_0xcf5279(0x266)](this)),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x295),(_0x1670bf,_0x24e950)=>{const _0x18570f=_0xcf5279;this[_0x18570f(0x1e0)](_0x18570f(0x27b),_0x24e950);}),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x217),()=>{const _0x56f8be=_0xcf5279;this[_0x56f8be(0x1ac)]=!0x1;});const _0x4f2ea5=this[_0xcf5279(0x1b6)][_0xcf5279(0x1a0)](_0x590e03);this[_0xcf5279(0x234)]=!0x0;const _0x4de543=await this[_0xcf5279(0x240)][_0xcf5279(0x25a)](_0x38c6a9,this[_0xcf5279(0x1fe)](_0x590e03),_0x4f2ea5);if(this[_0xcf5279(0x19a)]=_0x4de543[_0xcf5279(0x19a)],_0x4b6976){if(!_0x4de543[_0xcf5279(0x194)])return void this[_0xcf5279(0x28f)]();this[_0xcf5279(0x234)]=!0x1,this[_0xcf5279(0x204)](),this[_0xcf5279(0x21a)][_0xcf5279(0x248)](),this[_0xcf5279(0x22f)]=_0x4de543[_0xcf5279(0x221)],this[_0xcf5279(0x21a)][_0xcf5279(0x1e9)]=this[_0xcf5279(0x22f)],await this[_0xcf5279(0x1a2)](_0x590e03,_0x4de543,_0xcf5279(0x1e3));}else await this[_0xcf5279(0x269)](_0x4de543,_0x590e03);this[_0xcf5279(0x25e)](),this[_0xcf5279(0x1ac)]=!0x0;}[_0x108ca0(0x25e)](){const _0x6d61d4=_0x108ca0,_0x1a629c=this[_0x6d61d4(0x212)][_0x6d61d4(0x224)][_0x6d61d4(0x1be)](_0x3b1d4f),_0xe7bc73=this[_0x6d61d4(0x212)][_0x6d61d4(0x224)][_0x6d61d4(0x1be)](_0x11d344),_0x3521a6=_0x1a629c[_0x6d61d4(0x1db)][_0x6d61d4(0x1be)](this[_0x6d61d4(0x22c)]);_0x3521a6&&_0x3521a6[_0x6d61d4(0x282)]>0x1?_0xe7bc73[_0x6d61d4(0x1a1)]():this[_0x6d61d4(0x276)](_0x1a629c,_0x6d61d4(0x236)+this[_0x6d61d4(0x22c)],()=>{const _0x724773=_0x6d61d4;0x2===_0x1a629c[_0x724773(0x1db)][_0x724773(0x1be)](this[_0x724773(0x22c)])[_0x724773(0x282)]&&_0xe7bc73[_0x724773(0x1a1)]();});}async[_0x108ca0(0x272)](_0x4b3fe0,_0x2b6f97,_0x32d8c8,_0x443944){const _0x1bdf46=_0x108ca0;if(!this[_0x1bdf46(0x234)]&&this[_0x1bdf46(0x1b9)][_0x1bdf46(0x1e9)]==_0x2b6f97){const _0x2ae1cb=this[_0x1bdf46(0x1d8)](_0x32d8c8,_0x443944);await this[_0x1bdf46(0x222)](_0x2ae1cb),this[_0x1bdf46(0x1fb)](_0x2ae1cb,_0x2b6f97,_0x32d8c8[_0x1bdf46(0x230)])||this[_0x1bdf46(0x1e0)](_0x1bdf46(0x1a7));}}async[_0x108ca0(0x1b1)](){const _0x59d440=_0x108ca0;this[_0x59d440(0x24f)]();const {locale:_0x14b81e}=this[_0x59d440(0x212)];let _0x58a0d7;try{_0x58a0d7=await this[_0x59d440(0x240)][_0x59d440(0x27f)]();}catch{const _0x523174=_0x4a912a(_0x14b81e,_0x59d440(0x253));return void this[_0x59d440(0x28f)](_0x523174);}const _0x3a842b=_0x58a0d7[_0x59d440(0x232)]||_0x58a0d7[_0x59d440(0x21d)];if(this[_0x59d440(0x277)]!==_0x3a842b[_0x59d440(0x230)]){const _0x119d4f=_0x4a912a(_0x14b81e,_0x59d440(0x258));return void this[_0x59d440(0x28f)](_0x119d4f);}await this[_0x59d440(0x1f2)](this[_0x59d440(0x212)][_0x59d440(0x278)][_0x59d440(0x28a)][_0x59d440(0x26b)][_0x59d440(0x1d1)](),!0x0);}[_0x108ca0(0x24f)](){const _0x5bd513=_0x108ca0;this[_0x5bd513(0x240)][_0x5bd513(0x1d6)](),this[_0x5bd513(0x20f)]=[],clearTimeout(this[_0x5bd513(0x1af)]),this[_0x5bd513(0x1ff)](this[_0x5bd513(0x240)]);}[_0x108ca0(0x24d)](_0x1b3f11){const _0x1dbf33=_0x108ca0,_0x2d0ed2=this[_0x1dbf33(0x212)][_0x1dbf33(0x224)][_0x1dbf33(0x1be)](_0x3b1d4f);this[_0x1dbf33(0x276)](_0x2d0ed2,_0x1dbf33(0x236)+this[_0x1dbf33(0x22c)],(_0x59ee36,{session:_0x4d8c7c})=>{const _0x2d6178=_0x1dbf33;if(_0x4d8c7c['id']===_0x2d0ed2[_0x2d6178(0x250)]){_0x59ee36[_0x2d6178(0x223)]();const _0x416cc0=this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1bd)](_0x2d6178(0x20d))&&this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1be)](_0x2d6178(0x20d));let _0x256c1e=_0x4d8c7c[_0x2d6178(0x209)];_0x416cc0&&_0x416cc0[_0x2d6178(0x1c1)]&&(_0x256c1e=_0x256c1e[_0x2d6178(0x1dc)](_0x2ab153=>_0x2d6178(0x23a)!==_0x2ab153)),this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1be)](_0x2d6178(0x23f))[_0x2d6178(0x1d5)](_0x256c1e,this[_0x2d6178(0x22c)]);}}),_0x2d0ed2[_0x1dbf33(0x1ce)](this[_0x1dbf33(0x22c)],_0x1b3f11);}[_0x108ca0(0x239)](){const _0x4ded23=_0x108ca0,_0x5ce893=this[_0x4ded23(0x212)][_0x4ded23(0x1c2)][_0x4ded23(0x286)];this[_0x4ded23(0x212)][_0x4ded23(0x1c2)][_0x4ded23(0x286)]=(..._0x291d02)=>{const _0x3f6648=_0x4ded23;if(!_0x291d02[_0x291d02[_0x3f6648(0x282)]-0x1][_0x3f6648(0x1bf)])throw new _0x45d589(_0x3f6648(0x284),this);_0x5ce893[_0x3f6648(0x254)](this[_0x3f6648(0x212)][_0x3f6648(0x1c2)],_0x291d02);};}[_0x108ca0(0x246)](){const _0x36fc67=_0x108ca0;this[_0x36fc67(0x212)][_0x36fc67(0x1c2)]['on'](_0x36fc67(0x215),(_0x3c145b,[_0x99b451])=>{const _0x34e324=_0x36fc67;if(this[_0x34e324(0x1b9)][_0x34e324(0x1e9)])throw new _0x45d589(_0x34e324(0x271),this);_0x3c145b[_0x34e324(0x1a9)](),this[_0x34e324(0x1e1)]();const _0x19745d=this[_0x34e324(0x212)][_0x34e324(0x25b)][_0x34e324(0x1be)](_0x34e324(0x1b8)),_0x30f651=this[_0x34e324(0x285)](_0x99b451,_0x19745d);0x0==_0x30f651[_0x34e324(0x282)]&&_0x30f651[_0x34e324(0x263)](new _0x553543(0x0)),_0x3c145b[_0x34e324(0x216)]=this[_0x34e324(0x1f2)](_0x30f651)[_0x34e324(0x257)](()=>{const _0x1961f9=_0x34e324;this[_0x1961f9(0x212)][_0x1961f9(0x224)][_0x1961f9(0x1be)](_0x219d60)[_0x1961f9(0x200)](this),this[_0x1961f9(0x212)][_0x1961f9(0x1c2)][_0x1961f9(0x28c)](_0x1961f9(0x210));})[_0x34e324(0x23b)](_0x5cc00b=>this[_0x34e324(0x1e0)](_0x34e324(0x231),_0x5cc00b))[_0x34e324(0x1da)](()=>this[_0x34e324(0x204)]());},{'priority':_0x36fc67(0x1d2)}),this[_0x36fc67(0x212)]['on'](_0x36fc67(0x1ad),async(_0x74f709,[_0x35f71f,_0xe44095])=>{const _0xa29ad2=_0x36fc67;_0x74f709[_0xa29ad2(0x1a9)]();const _0x5ae485=this[_0xa29ad2(0x212)][_0xa29ad2(0x278)][_0xa29ad2(0x28a)][_0xa29ad2(0x274)](_0x35f71f);if(!this[_0xa29ad2(0x21f)][_0xa29ad2(0x1bd)](_0x35f71f)){const _0x104519=_0xe44095&&_0xe44095[_0xa29ad2(0x1c2)]?_0xe44095[_0xa29ad2(0x1c2)]:'',_0x839911=_0xe44095&&_0xe44095[_0xa29ad2(0x1a4)]?_0xe44095[_0xa29ad2(0x1a4)]:{};await this[_0xa29ad2(0x241)](_0x35f71f,_0x104519,_0x839911);}this[_0xa29ad2(0x212)][_0xa29ad2(0x278)][_0xa29ad2(0x23d)]({'isUndoable':!0x1},()=>{const _0x52b112=_0xa29ad2;_0x5ae485[_0x52b112(0x1f5)]=!0x0,this[_0x52b112(0x212)][_0x52b112(0x278)][_0x52b112(0x28a)][_0x52b112(0x1b3)][_0x52b112(0x1ba)](_0x5ae485);});},{'priority':_0x36fc67(0x1d2)});}async[_0x108ca0(0x222)](_0x1c687a){const _0xc063cc=_0x108ca0,_0x24cc6d=this[_0xc063cc(0x212)][_0xc063cc(0x224)][_0xc063cc(0x1be)](_0x914714),{connection:_0x41f347}=this[_0xc063cc(0x212)][_0xc063cc(0x224)][_0xc063cc(0x1be)](_0x219d60),_0x168d6c=new Set();for(const _0x31f217 of _0x1c687a){const _0x5cb640=_0x31f217[_0xc063cc(0x21e)];_0x5cb640&&!_0x24cc6d[_0xc063cc(0x24b)](_0x5cb640)&&_0x168d6c[_0xc063cc(0x1aa)](_0x5cb640);}if(0x0===_0x168d6c[_0xc063cc(0x247)])return;const _0x343b6a=await _0xb62880[_0xc063cc(0x27e)](_0x41f347,Array[_0xc063cc(0x211)](_0x168d6c));for(const _0x4732d8 of _0x343b6a)_0x24cc6d[_0xc063cc(0x24b)](_0x4732d8['id'])||_0x24cc6d[_0xc063cc(0x196)](_0x4732d8);}[_0x108ca0(0x285)](_0x330914,_0xce6ae4={}){const _0x462758=_0x108ca0,_0x3765d4=this[_0x462758(0x212)][_0x462758(0x278)],_0xb33c29=[];let _0xbd3332=0x0;const _0x4ca6ac=_0x462758(0x198)==typeof _0x330914?{'main':_0x330914}:_0x330914;for(const _0x48321a of Object[_0x462758(0x25d)](_0x4ca6ac)){if(!this[_0x462758(0x1b9)][_0x462758(0x226)][_0x462758(0x1bd)](_0x48321a))throw new _0x45d589(_0x462758(0x267),this);const _0x59b17c=this[_0x462758(0x212)][_0x462758(0x1c2)][_0x462758(0x1e5)](_0x4ca6ac[_0x48321a]),_0xa642ca=this[_0x462758(0x1b9)][_0x462758(0x274)](_0x48321a),_0x97c4a6=new _0x452d13(_0x3765d4[_0x462758(0x287)](_0xa642ca,0x0),_0x59b17c,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x97c4a6);for(const [_0x404fb7,_0x5005c2]of _0x59b17c[_0x462758(0x19b)]){const _0x55cb7c=_0x3765d4[_0x462758(0x193)](_0x3765d4[_0x462758(0x20a)](_0xa642ca,_0x5005c2[_0x462758(0x1ef)][_0x462758(0x233)][_0x462758(0x220)]()),_0x3765d4[_0x462758(0x20a)](_0xa642ca,_0x5005c2[_0x462758(0x268)][_0x462758(0x233)][_0x462758(0x220)]())),_0x3945ec=new _0x4fb063(_0x404fb7,null,_0x55cb7c,_0x3765d4[_0x462758(0x19b)],!0x0,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x3945ec);}}if(_0xce6ae4)for(const [_0x57abaf,_0x501bc8]of Object[_0x462758(0x24c)](_0xce6ae4)){const _0x1bac7b=_0x3765d4[_0x462758(0x28a)][_0x462758(0x274)](_0x57abaf);if(!_0x1bac7b)throw new _0x45d589(_0x462758(0x1f6),null);for(const [_0x576cde,_0x5507c1]of Object[_0x462758(0x24c)](_0x501bc8))if(null!==_0x5507c1){const _0x32db8e=new _0x2b7478(_0x1bac7b,_0x576cde,null,_0x5507c1,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x32db8e);}}return _0xb33c29;}async[_0x108ca0(0x241)](_0x2d61fb,_0x30e780,_0x10d3fc){const _0x5f3447=_0x108ca0;this[_0x5f3447(0x285)]({[_0x2d61fb]:_0x30e780},{[_0x2d61fb]:_0x10d3fc})[_0x5f3447(0x26e)]((_0x1f7a34,_0x2ed0c1)=>{const _0x43e259=_0x5f3447;_0x1f7a34[_0x43e259(0x1c6)]=this[_0x43e259(0x1b9)][_0x43e259(0x1e9)]+_0x2ed0c1,_0x1f7a34[_0x43e259(0x19d)]=!0x0,this[_0x43e259(0x1f3)](_0x1f7a34);}),this[_0x5f3447(0x1f0)](),await this[_0x5f3447(0x206)]();}async[_0x108ca0(0x269)](_0x459c13,_0x347503){const _0x2d7018=_0x108ca0;let _0x5a6335;this[_0x2d7018(0x22f)]=_0x459c13[_0x2d7018(0x221)];const _0x152d91=_0x459c13[_0x2d7018(0x194)]&&!_0x459c13[_0x2d7018(0x1d0)],_0x1a55e9=_0x152d91?0x0:_0x459c13[_0x2d7018(0x1c2)][_0x2d7018(0x1c6)];if(_0x347503[_0x2d7018(0x26e)](_0x3ecbb7=>{const _0x309fcf=_0x2d7018;_0x3ecbb7[_0x309fcf(0x19d)]=!0x0,_0x3ecbb7[_0x309fcf(0x26d)]=_0x459c13[_0x309fcf(0x260)],_0x3ecbb7[_0x309fcf(0x21e)]=null;}),_0x152d91)_0x5a6335=_0x347503,this[_0x2d7018(0x1d9)](_0x5a6335,_0x152d91);else{if(_0x459c13[_0x2d7018(0x1d0)]){const _0x58b9b7=this[_0x2d7018(0x285)](_0x459c13[_0x2d7018(0x1d0)]);this[_0x2d7018(0x1b9)][_0x2d7018(0x26b)][_0x2d7018(0x1e9)]=-_0x58b9b7[_0x2d7018(0x282)],_0x58b9b7[_0x2d7018(0x26e)](_0x3c7958=>{const _0x5b1919=_0x2d7018;_0x3c7958[_0x5b1919(0x1c6)]-=_0x58b9b7[_0x5b1919(0x282)],_0x3c7958[_0x5b1919(0x26d)]=_0x459c13[_0x5b1919(0x260)],_0x3c7958[_0x5b1919(0x19d)]=!0x0,_0x3c7958[_0x5b1919(0x21e)]=null;}),this[_0x2d7018(0x1d9)](_0x58b9b7,!0x0),this[_0x2d7018(0x21a)][_0x2d7018(0x1e9)]=-_0x58b9b7[_0x2d7018(0x282)]+this[_0x2d7018(0x22f)],this[_0x2d7018(0x1c8)](_0x58b9b7);}this[_0x2d7018(0x1b9)][_0x2d7018(0x26b)][_0x2d7018(0x1e9)]=_0x1a55e9,_0x5a6335=this[_0x2d7018(0x1d8)](_0x459c13[_0x2d7018(0x1c2)],_0x459c13[_0x2d7018(0x1bc)]),await this[_0x2d7018(0x222)](_0x5a6335),this[_0x2d7018(0x1d9)](_0x5a6335,_0x152d91);}_0x459c13[_0x2d7018(0x230)]&&(this[_0x2d7018(0x1b6)][_0x2d7018(0x225)](_0x5a6335,_0x459c13[_0x2d7018(0x230)]),this[_0x2d7018(0x277)]=_0x459c13[_0x2d7018(0x230)]),this[_0x2d7018(0x21a)][_0x2d7018(0x1e9)]=_0x1a55e9+this[_0x2d7018(0x22f)],this[_0x2d7018(0x1c8)](_0x5a6335),_0x347503[_0x2d7018(0x1dc)](_0x33f0b4=>{const _0x4619c8=_0x2d7018,_0x315f22=this[_0x4619c8(0x1cc)](_0x33f0b4);return _0x315f22&&!this[_0x4619c8(0x21f)][_0x4619c8(0x1bd)](_0x315f22);})[_0x2d7018(0x26e)]((_0x32b4cc,_0x593129)=>{const _0x334450=_0x2d7018;_0x32b4cc[_0x334450(0x1c6)]=this[_0x334450(0x1b9)][_0x334450(0x1e9)]+_0x593129,this[_0x334450(0x1f3)](_0x32b4cc);}),this[_0x2d7018(0x1c3)]()?(this[_0x2d7018(0x1b7)]=0x0,this[_0x2d7018(0x1f0)](!0x0),await this[_0x2d7018(0x206)]()):(this[_0x2d7018(0x234)]=!0x1,this[_0x2d7018(0x204)]());}[_0x108ca0(0x1e0)](_0x606aa5,_0x2cbc63){const _0x23113e=_0x108ca0,_0x2979d2=_0x2cbc63&&_0x2cbc63[_0x23113e(0x1de)];if(_0x2979d2&&_0x2979d2[_0x23113e(0x28e)](_0x23113e(0x242)))throw _0x2cbc63;const _0x280102=this[_0x23113e(0x212)][_0x23113e(0x224)][_0x23113e(0x1be)](_0x219d60);throw this[_0x23113e(0x234)]=!0x0,_0x280102[_0x23113e(0x1d6)](),this[_0x23113e(0x212)][_0x23113e(0x26c)](_0x23113e(0x28b)),new _0x45d589(_0x606aa5,this[_0x23113e(0x212)],_0x2979d2?{'originalError':_0x2979d2}:void 0x0);}[_0x108ca0(0x1f3)](_0x1360d6){const _0x254bdb=_0x108ca0;this[_0x254bdb(0x219)][_0x254bdb(0x1bd)](_0x1360d6)||(this[_0x254bdb(0x219)][_0x254bdb(0x1aa)](_0x1360d6),this[_0x254bdb(0x20f)][_0x254bdb(0x263)](_0x1360d6),this[_0x254bdb(0x1e6)]||_0x254bdb(0x1ec)==_0x1360d6[_0x254bdb(0x26a)]&&!_0x1360d6[_0x254bdb(0x294)]||this[_0x254bdb(0x1e1)]());}[_0x108ca0(0x1f0)](_0x5cc766=!0x1){const _0x7dba9b=_0x108ca0;!_0x5cc766&&this[_0x7dba9b(0x234)]||(this[_0x7dba9b(0x234)]=!0x0,clearTimeout(this[_0x7dba9b(0x1af)]),this[_0x7dba9b(0x1af)]=setTimeout(()=>{const _0xf15320=_0x7dba9b;this[_0xf15320(0x22d)]()[_0xf15320(0x257)](_0x315750=>{const _0x2c3218=_0xf15320;_0x315750&&(this[_0x2c3218(0x204)](),this[_0x2c3218(0x234)]=!0x1);})[_0xf15320(0x23b)](_0x51db2f=>{const _0xa9084d=_0xf15320;this[_0xa9084d(0x204)](),this[_0xa9084d(0x234)]=!0x1,function(_0x2113c8){const _0x3a8b02=_0xa9084d;return _0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x19c))||_0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x252))||_0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x22b));}(_0x51db2f)||this[_0xa9084d(0x1e0)](_0x51db2f[_0xa9084d(0x1de)],_0x51db2f);});},this[_0x7dba9b(0x1b7)]));}[_0x108ca0(0x206)](){return new Promise(_0x1fa57d=>{const _0x4821c8=_0x207e;this['on'](_0x4821c8(0x199),()=>{_0x1fa57d();});});}async[_0x108ca0(0x22d)](){const _0x38767b=_0x108ca0,_0x30ef6a=this[_0x38767b(0x212)][_0x38767b(0x224)][_0x38767b(0x1be)](_0x11d344);if(this[_0x38767b(0x249)]()&&(_0x30ef6a[_0x38767b(0x1a1)](),this[_0x38767b(0x1a5)]=!0x1),!this[_0x38767b(0x1c3)]())return!0x0;const _0x2a2483=[...this[_0x38767b(0x20f)]];for(const _0x50e4f2 of _0x2a2483)_0x50e4f2[_0x38767b(0x213)]=this[_0x38767b(0x1b9)][_0x38767b(0x26b)][_0x38767b(0x197)](_0x50e4f2);const _0x44bcc6=this[_0x38767b(0x1b6)][_0x38767b(0x1a0)](_0x2a2483),_0x5acc8d=X++,_0x5a5429=this[_0x38767b(0x1fe)](_0x2a2483),_0x11fc3d=await this[_0x38767b(0x240)][_0x38767b(0x1fa)](_0x5a5429,_0x5a5429[_0x38767b(0x1c6)],_0x44bcc6);try{return await this[_0x38767b(0x1a2)](_0x2a2483,_0x11fc3d,_0x5acc8d);}catch(_0xa56adb){return this[_0x38767b(0x1e0)](_0x38767b(0x1f9),_0xa56adb);}}async[_0x108ca0(0x1a2)](_0x5067af,_0x4ad972,_0x184e15){const _0x349123=_0x108ca0;if(_0x349123(0x295)in _0x4ad972)throw _0x4ad972[_0x349123(0x295)];let _0x397e18=!0x1;if(_0x4ad972[_0x349123(0x194)]){_0x4ad972[_0x349123(0x230)]&&(this[_0x349123(0x277)]=_0x4ad972[_0x349123(0x230)]),this[_0x349123(0x20f)]=this[_0x349123(0x20f)][_0x349123(0x1dc)](_0x1f4530=>!_0x5067af[_0x349123(0x243)](_0x1f4530));for(const _0x1e0009 of _0x5067af)_0x1e0009[_0x349123(0x26d)]=_0x349123(0x1b2)in _0x4ad972&&_0x4ad972[_0x349123(0x1b2)]||void 0x0;Z(_0x5067af,_0x4ad972[_0x349123(0x1e9)]-_0x5067af[_0x349123(0x282)]),this[_0x349123(0x1c8)](_0x5067af);const _0x260a02=_0x5067af[_0x349123(0x1dc)](_0x4810c3=>{const _0x35b1e0=_0x349123;if(!_0x4810c3[_0x35b1e0(0x19d)])return!0x1;const _0x1b2395=this[_0x35b1e0(0x1cc)](_0x4810c3);return _0x1b2395&&!this[_0x35b1e0(0x21f)][_0x35b1e0(0x1bd)](_0x1b2395);});Z(_0x260a02,this[_0x349123(0x1b9)][_0x349123(0x1e9)]),this[_0x349123(0x1d9)](_0x260a02),_0x397e18=!0x0,this[_0x349123(0x1b7)]=this[_0x349123(0x1c5)];}else{const _0x1897b7=this[_0x349123(0x1d8)](_0x4ad972[_0x349123(0x1c2)],_0x4ad972[_0x349123(0x1bc)])[_0x349123(0x1dc)](_0x3fe833=>_0x3fe833[_0x349123(0x1c6)]>=this[_0x349123(0x1b4)]);_0x1897b7[_0x349123(0x26e)](_0x1e1f2c=>this[_0x349123(0x1c0)](_0x1e1f2c)),this[_0x349123(0x20f)]=this[_0x349123(0x20f)][_0x349123(0x1dc)](_0xab8f70=>!_0xab8f70[_0x349123(0x19d)]||!this[_0x349123(0x21f)][_0x349123(0x1bd)](this[_0x349123(0x1cc)](_0xab8f70))),this[_0x349123(0x20f)][_0x349123(0x282)]&&Z(this[_0x349123(0x20f)],this[_0x349123(0x20f)][0x0][_0x349123(0x1c6)]),await this[_0x349123(0x222)](_0x1897b7),_0x397e18=this[_0x349123(0x1fb)](_0x1897b7,_0x4ad972[_0x349123(0x1e9)],_0x4ad972[_0x349123(0x230)]),this[_0x349123(0x1b7)]=Math[_0x349123(0x264)](this[_0x349123(0x1b7)]/0x2);}return _0x397e18?!this[_0x349123(0x1c3)]()||(this[_0x349123(0x1f0)](!0x0),!0x1):this[_0x349123(0x1e0)](_0x349123(0x28d));}[_0x108ca0(0x1fb)](_0x3c5085,_0x1c63a3,_0x355882){const _0x803417=_0x108ca0;try{const _0x28d177={'document':this[_0x803417(0x1b9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd7a663,operationsB:_0x102646,originalOperations:_0x3799d3}=_0x195ca6(_0x3c5085,this[_0x803417(0x20f)],_0x28d177);Z(_0xd7a663,this[_0x803417(0x1b9)][_0x803417(0x1e9)]),Z(_0x102646,_0x1c63a3);for(const _0x2aa3d2 of _0xd7a663){const _0x1dc5a1=_0x3799d3[_0x803417(0x1be)](_0x2aa3d2);_0x2aa3d2[_0x803417(0x21e)]=_0x1dc5a1?_0x1dc5a1[_0x803417(0x21e)]:null;}_0x355882&&(this[_0x803417(0x1b6)][_0x803417(0x225)](_0x3c5085,_0x355882),this[_0x803417(0x277)]=_0x355882),this[_0x803417(0x20f)]=[..._0x102646],this[_0x803417(0x1d9)](_0xd7a663),this[_0x803417(0x1c8)](_0x3c5085);}catch(_0x4948c8){return console[_0x803417(0x295)](_0x4948c8),!0x1;}return!0x0;}[_0x108ca0(0x1d9)](_0x559918,_0x52c260=!0x1){const _0x40e6f1=_0x108ca0;this[_0x40e6f1(0x212)][_0x40e6f1(0x278)][_0x40e6f1(0x23d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55b2b0=>{const _0x24f5f0=_0x40e6f1;for(const _0x3cf344 of _0x559918)this[_0x24f5f0(0x219)][_0x24f5f0(0x1aa)](_0x3cf344),this[_0x24f5f0(0x1c0)](_0x3cf344),_0x55b2b0[_0x24f5f0(0x1cf)][_0x24f5f0(0x1dd)](_0x3cf344),this[_0x24f5f0(0x212)][_0x24f5f0(0x278)][_0x24f5f0(0x1e4)](_0x3cf344);});}[_0x108ca0(0x1c0)](_0xb956c5){const _0x3b212b=_0x108ca0,_0x498465=this[_0x3b212b(0x1cc)](_0xb956c5);_0x498465&&this[_0x3b212b(0x21f)][_0x3b212b(0x1aa)](_0x498465);}[_0x108ca0(0x1cc)](_0x399ae2){const _0x870418=_0x108ca0;let _0x6cafc9,_0x267bc3;switch(_0x399ae2[_0x870418(0x26a)]){case _0x870418(0x280):_0x6cafc9=_0x399ae2[_0x870418(0x251)][_0x870418(0x1fc)];break;case _0x870418(0x1ec):if(_0x267bc3=_0x399ae2[_0x870418(0x255)],!_0x267bc3)return null;_0x6cafc9=_0x267bc3[_0x870418(0x1fc)];break;case _0x870418(0x290):_0x6cafc9=_0x399ae2[_0x870418(0x1fc)];break;case _0x870418(0x1a8):_0x6cafc9=_0x399ae2[_0x870418(0x289)];break;case _0x870418(0x20c):_0x6cafc9=_0x399ae2[_0x870418(0x27a)][_0x870418(0x1fc)];break;default:return null;}return _0x6cafc9[_0x870418(0x218)];}[_0x108ca0(0x1c8)](_0x326dc9){const _0x3897b6=_0x108ca0;_0x326dc9[_0x3897b6(0x26e)](_0x504f1d=>{const _0xbafa6f=_0x3897b6,_0x23bbfa=_0x504f1d[_0xbafa6f(0x270)]();_0x23bbfa[_0xbafa6f(0x21e)]=_0x504f1d[_0xbafa6f(0x21e)],_0x23bbfa[_0xbafa6f(0x19d)]=!!_0x504f1d[_0xbafa6f(0x19d)],_0x23bbfa[_0xbafa6f(0x26d)]=_0x504f1d[_0xbafa6f(0x26d)],_0x23bbfa[_0xbafa6f(0x1c6)]+=this[_0xbafa6f(0x22f)],_0x504f1d[_0xbafa6f(0x208)]&&this[_0xbafa6f(0x256)][_0xbafa6f(0x1aa)](_0x23bbfa),this[_0xbafa6f(0x21a)][_0xbafa6f(0x1dd)](_0x23bbfa);});}[_0x108ca0(0x28f)](_0x3f0ce9){const _0x445c42=_0x108ca0,_0x47ec4e=this[_0x445c42(0x212)][_0x445c42(0x224)][_0x445c42(0x1be)](_0x445c42(0x27c)),_0x559106=this[_0x445c42(0x212)][_0x445c42(0x288)];_0x3f0ce9||(_0x3f0ce9=_0x4a912a(_0x559106,_0x445c42(0x1d3))),_0x47ec4e[_0x445c42(0x244)](_0x3f0ce9,{'title':_0x4a912a(_0x559106,_0x445c42(0x1c7)),'namespace':_0x445c42(0x25f)}),this[_0x445c42(0x1ed)]=!0x0,clearTimeout(this[_0x445c42(0x1af)]),this[_0x445c42(0x20f)]=[],this[_0x445c42(0x212)][_0x445c42(0x224)][_0x445c42(0x1be)](_0x219d60)[_0x445c42(0x1d6)]();}[_0x108ca0(0x1e1)](){const _0x47e7d4=_0x108ca0;this[_0x47e7d4(0x1e6)]||(this[_0x47e7d4(0x1e6)]=this[_0x47e7d4(0x212)][_0x47e7d4(0x224)][_0x47e7d4(0x1be)](_0x2f8d61)[_0x47e7d4(0x1aa)](_0x4a912a(this[_0x47e7d4(0x212)][_0x47e7d4(0x288)],_0x47e7d4(0x1b5))));}[_0x108ca0(0x204)](){const _0x3a6297=_0x108ca0;this[_0x3a6297(0x1e6)]&&(this[_0x3a6297(0x212)][_0x3a6297(0x224)][_0x3a6297(0x1be)](_0x2f8d61)[_0x3a6297(0x291)](this[_0x3a6297(0x1e6)]),this[_0x3a6297(0x1e6)]=null);}[_0x108ca0(0x1fe)](_0x50b92d){const _0x32014e=_0x108ca0,_0x576e90=_0x50b92d[_0x32014e(0x261)](_0x4880fb=>_0x4880fb[_0x32014e(0x1a6)]());return this[_0x32014e(0x238)][_0x32014e(0x237)](_0x576e90);}[_0x108ca0(0x1d8)](_0x3fd621,_0x2e323c){const _0xae4fa6=_0x108ca0;return this[_0xae4fa6(0x238)][_0xae4fa6(0x1fd)](_0x3fd621)[_0xae4fa6(0x261)]((_0x4707b8,_0x4cb5bc)=>{const _0x7acbfb=_0xae4fa6,_0x551846=_0x7acbfb(0x215)==_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26a)];if(_0x7acbfb(0x203)==_0x4707b8[_0x7acbfb(0x205)]){const _0x1a78e9=_0x4707b8[_0x7acbfb(0x251)][_0x7acbfb(0x1fc)];!this[_0x7acbfb(0x1b9)][_0x7acbfb(0x274)](_0x1a78e9)&&(this[_0x7acbfb(0x1b9)][_0x7acbfb(0x1eb)](_0x7acbfb(0x273),_0x1a78e9)[_0x7acbfb(0x1f4)]=!0x1);}const _0x431677=_0xd850f9[_0x7acbfb(0x229)](_0x4707b8,this[_0x7acbfb(0x1b9)]);return _0x431677[_0x7acbfb(0x213)]=_0x4707b8[_0x7acbfb(0x213)],_0x431677[_0x7acbfb(0x19d)]=_0x551846,_0x431677[_0x7acbfb(0x21e)]=_0x551846?null:_0x2e323c[_0x4cb5bc][_0x7acbfb(0x235)],_0x431677[_0x7acbfb(0x208)]=_0x7acbfb(0x1ae)===_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26a)],_0x431677[_0x7acbfb(0x26d)]=_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26d)],_0x431677;});}[_0x108ca0(0x22e)](){const _0x455009=_0x108ca0;this[_0x455009(0x1a5)]=!0x0,this[_0x455009(0x249)]()?this[_0x455009(0x1f0)]():this[_0x455009(0x1a5)]=!0x1;}[_0x108ca0(0x249)](){const _0x48c636=_0x108ca0,_0x11784b=this[_0x48c636(0x212)][_0x48c636(0x224)][_0x48c636(0x1be)](_0x3b1d4f)[_0x48c636(0x1db)][_0x48c636(0x1be)](this[_0x48c636(0x22c)]);return!this[_0x48c636(0x212)][_0x48c636(0x1ee)]&&!!_0x11784b&&_0x11784b[_0x48c636(0x282)]>0x1&&this[_0x48c636(0x1a5)];}[_0x108ca0(0x1c3)](){const _0x418184=_0x108ca0;return this[_0x418184(0x20f)][_0x418184(0x282)]>0x0||this[_0x418184(0x249)]();}}class Y extends Error{}function _0x5093(){const _0x13525f=['_sendBufferedOperations','_refreshUserSelectionMarkers','_offset','lastOperationId','realtimecollaborationclient-init-connection-failed','currentDocumentSession','path','_isPendingUpdate','userId','sessionAdd:','compress','_compressor','_initThrowingOnDataSet','document:write','catch','333899LZYFcC','enqueueChange','realtimecollaborationclient-init-session-connection-error','Permissions','_service','_loadRoot','realtimecollaborationclient','includes','showWarning','409','_setUpDataInit','size','reset','_shouldSendSelectionUpdate','collaboration','getUser','entries','_initSessionsHandling','cloudDocumentVersion','_disconnectService','mySessionId','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','apply','newRange','_disconnectionOperations','then','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.','cloudServices.bundleVersion','connect','config','unregister','keys','_handleSendingSelectionMarkers','real-time-collaboration','sessionCreatedAt','map','_operationToId','push','round','change:range','bind','realtimecollaborationclient-init-non-existent-root','end','_handleInitialConnectionData','type','history','enableReadOnlyMode','createdAt','forEach','rtc-destroyed','clone','realtimecollaborationclient-init-document-already-initialized','_handleReceivedOperations','$root','getRoot','removeFromReconnectionStack','listenTo','_lastSyncedOperationId','model','collaboration-missing-channelid','targetPosition','realtimecollaborationclient-init-service-internal-error','Notification','change:_isEditingAllowed','getMany','getDocumentDetails','insert','connection','length','isOfficialPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_getOperationsFromInitData','set','createPositionAt','locale','affectedSelectable','document','realtimecollaborationclient-error','fire','realtimecollaborationclient-handleserverresponse','startsWith','_handleReconnectionError','addRootAttribute','remove','connected','_ignoredOperations','affectsData','error','code','view','1629tcljbv','2031640qEXrLA','createRange','wereChangesApplied','collaboration.channelId','addUser','isUndoneOperation','string','change:_isPendingUpdate','sessionId','markers','cloud-services-internal-error:\x20Not\x20connected.','_isInit','operationsReceived','pluginName','getIdOfTheLastOperation','createUserMarkerOperations','_handleServerResponse','destroy','attributes','_hasSelectionChanged','toJSON','realtimecollaborationclient-init-service-incorrect-server-operation','addRoot','stop','add','467358FUbbkE','_isConnected','loadRoot','cs:removeUser','_sendBufferedOperationsDelayId','lastSyncVersion','_connectAfterSessionHasBeenFlushed','lastOperationAcceptedAt','differ','_lastServerVersion','PENDING_ACTION_SENDING_DATA','_operationIdentifier','_currentBufferDelay','rootsAttributes','_document','_bufferRootLoad','define','metadata','has','get','suppressErrorInCollaboration','_addKnownRoot','isEnabled','data','_shouldSendUpdate','2424600JleGKH','_baseBufferDelay','baseVersion','Synchronization\x20issue','_updateServerHistory','state','28mKzClT','isDocumentOperation','_getAffectedRoot','directChange','register','batch','initData','getOperations','high','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.','236baMYGy','setPermissions','disconnect','isPremiumPlugin','_decompressOperations','_applyOperationsSet','finally','channelSessions','filter','addOperation','message','getOperationAuthor','_crash','_setPendingAction','requires','reconnection:\x20flushed\x20session','applyOperation','parse','_pendingAction','getConnectedSessions','_isEditingAllowed','version','change:hasDomSelection','createRoot','marker','_hasSynchronizationProblem','isReadOnly','start','_sendBufferedOperationsDelayed','CollaborativeEditingService','_connectService','_saveOperationInBuffer','_isAttached','_isLoaded','multi-root-editor-root-attributes-no-root','9300621CKjpWa','reconnect','realtimecollaborationclient-sendbufferedoperations','sendOperations','_handleExternalOperations','root','decompress','_compressOperations','stopListening','addToReconnectionStack','10yQptnU','404','InsertOperation','_clearPendingAction','__className','_waitUntilSynced','selection','_isDisconnection','permissions','createPositionFromPath','editing','move','CommentsOnly','rtc-offline','_bufferedOperations','ready','from','editor','wasUndone','1992uFSSmp','init','return','disconnected','rootName','_knownOperations','serverHistory','_handleReconnectionResponse','RealTimeCollaborationClient','lastDocumentSession','_authorId','_knownRootNames','slice','offset','_fetchMissingUsers','off','plugins','setIdForTheLastOperation','roots','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','1105QgRYwG','fromJSON','disableReadOnlyMode','cloud-services-internal-error:\x20Request\x20timeout.','_channelId'];_0x5093=function(){return _0x13525f;};return _0x5093();}function Z(_0x5d71a4,_0x38ab64){const _0x13577a=_0x108ca0;for(const _0x516c7e of _0x5d71a4)_0x516c7e[_0x13577a(0x1c6)]=_0x38ab64++;}class tt{[_0x108ca0(0x293)];[_0x108ca0(0x262)];constructor(_0x86d975){const _0x2d028f=_0x108ca0;this[_0x2d028f(0x293)]=_0x86d975,this[_0x2d028f(0x262)]=new WeakMap();}[_0x108ca0(0x1a0)](_0x7641ac){const _0x173a06=_0x108ca0;let _0x3aea28=_0x7641ac[_0x173a06(0x282)];for(;_0x3aea28--;){const _0x2c6c8b=_0x7641ac[_0x3aea28];if(!this[_0x173a06(0x293)][_0x173a06(0x1bd)](_0x2c6c8b)){if(!this[_0x173a06(0x262)][_0x173a06(0x1bd)](_0x2c6c8b)){const _0x14891f=_0xd2597f()[_0x173a06(0x220)](0x1,0x12);this[_0x173a06(0x262)][_0x173a06(0x286)](_0x2c6c8b,_0x14891f);}return this[_0x173a06(0x262)][_0x173a06(0x1be)](_0x2c6c8b);}}}[_0x108ca0(0x225)](_0x583845,_0x1be79b){const _0x128bca=_0x108ca0;if(!_0x1be79b)return;let _0x2d60a8=_0x583845[_0x128bca(0x282)];for(;_0x2d60a8--;){const _0x4647e8=_0x583845[_0x2d60a8];this[_0x128bca(0x293)][_0x128bca(0x1bd)](_0x4647e8)||this[_0x128bca(0x262)][_0x128bca(0x286)](_0x4647e8,_0x1be79b);}}}
23
+ const _0x314188=_0x504d;(function(_0x4ebc2f,_0x254b1f){const _0x20fb54=_0x504d,_0x1ba7db=_0x4ebc2f();while(!![]){try{const _0x2845ff=-parseInt(_0x20fb54(0x1e0))/0x1*(-parseInt(_0x20fb54(0x163))/0x2)+parseInt(_0x20fb54(0x1e9))/0x3+parseInt(_0x20fb54(0x25b))/0x4+-parseInt(_0x20fb54(0x16b))/0x5*(parseInt(_0x20fb54(0x239))/0x6)+-parseInt(_0x20fb54(0x24a))/0x7*(parseInt(_0x20fb54(0x1ef))/0x8)+parseInt(_0x20fb54(0x1d1))/0x9+-parseInt(_0x20fb54(0x15c))/0xa*(-parseInt(_0x20fb54(0x217))/0xb);if(_0x2845ff===_0x254b1f)break;else _0x1ba7db['push'](_0x1ba7db['shift']());}catch(_0x497575){_0x1ba7db['push'](_0x1ba7db['shift']());}}}(_0x4f61,0x98c5f));import{Plugin as _0x4a2675,PendingActions as _0x2facc6}from'ckeditor5/src/core.js';import{CKEditorError as _0x1947c2,version as _0x3fd533,uid as _0x42bbfa}from'ckeditor5/src/utils.js';import{Notification as _0x50bed7}from'ckeditor5/src/ui.js';function _0x4f61(){const _0x22d9ac=['sessionCreatedAt','insert','setPermissions','_setPendingAction','disconnect','reconnect','forEach','_document','_handleExternalOperations','disconnected','real-time-collaboration','_disconnectService','_setUpDataInit','CollaborativeEditingService','_clearPendingAction','_bufferedOperations','_isAttached','state','change:_isPendingUpdate','_saveOperationInBuffer','getUser','_isInit','message','move','realtimecollaborationclient-handleserverresponse','document','position','disableReadOnlyMode','markers','wereChangesApplied','attributes','loadRoot','multi-root-editor-root-attributes-no-root','cloudServices.bundleVersion','marker','createUserMarkerOperations','parse','startsWith','stop','stopListening','cs:removeUser','length','selection','_initSessionsHandling','requires','_bufferRootLoad','userId','_isDisconnection','_loadRoot','enqueueChange','roots','_service','apply','collaboration','add','_connectService','lastOperationAcceptedAt','slice','sendOperations','_compressOperations','_handleReconnectionError','Permissions','connect','9276588SNVpzM','CommentsOnly','_handleReconnectionResponse','high','removeFromReconnectionStack','editor','_knownOperations','get','applyOperation','addOperation','permissions','decompress','operationsReceived','_offset','set','46719hVEFum','_shouldSendUpdate','addUser','rtc-destroyed','addRootAttribute','config','fromJSON','mySessionId','_decompressOperations','308007mzHDpS','return','clone','404','has','_crash','88mcjdqe','getMany','sessionId','createdAt','_channelId','_addKnownRoot','listenTo','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.','off','realtimecollaborationclient-sendbufferedoperations','init','locale','includes','_isPendingUpdate','wasUndone','lastOperationId','code','from','Synchronization\x20issue','change:_isEditingAllowed','lastDocumentSession','toJSON','Notification','end','keys','remove','size','_isConnected','serverHistory','batch','getConnectedSessions','start','isUndoneOperation','realtimecollaborationclient-init-session-connection-error','createPositionAt','_handleInitialConnectionData','_isEditingAllowed','channelSessions','_baseBufferDelay','entries','92081gHdnFe','realtimecollaborationclient-error','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connection','cloudDocumentVersion','sessionAdd:','_refreshUserSelectionMarkers','createRange','_pendingAction','push','_applyOperationsSet','change:range','_knownRootNames','baseVersion','getDocumentDetails','path','enableReadOnlyMode','type','_ignoredOperations','compress','realtimecollaborationclient-init-document-already-initialized','getIdOfTheLastOperation','_connectAfterSessionHasBeenFlushed','setIdForTheLastOperation','newRange','_handleReceivedOperations','_hasSynchronizationProblem','isEnabled','root','getOperationAuthor','_getAffectedRoot','realtimecollaborationclient-init-service-internal-error','rootName','history','362694hlmOoZ','cloud-services-internal-error:\x20Not\x20connected.','InsertOperation','version','isPremiumPlugin','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','unregister','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.','affectedSelectable','filter','isDocumentOperation','_fetchMissingUsers','collaboration-missing-channelid','rtc-offline','targetPosition','realtimecollaborationclient-init-non-existent-root','bind','738437WwvwIt','round','lastSyncVersion','ready','register','showWarning','_getOperationsFromInitData','pluginName','getRoot','map','document:write','suppressErrorInCollaboration','cloud-services-internal-error:\x20Request\x20timeout.','_hasSelectionChanged','realtimecollaborationclient-init-connection-failed','metadata','affectsData','735872mBbweV','_lastServerVersion','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getOperations','error','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','addToReconnectionStack','fire','550VgzTUs','destroy','isOfficialPlugin','createPositionFromPath','view','_compressor','_sendBufferedOperations','34STssHX','rootsAttributes','_operationIdentifier','_operationToId','_updateServerHistory','currentDocumentSession','_sendBufferedOperationsDelayId','_authorId','65LnNjHj','collaboration.channelId','initData','addRoot','_currentBufferDelay','data','directChange','_waitUntilSynced','_shouldSendSelectionUpdate','plugins','_isLoaded','change:hasDomSelection','RealTimeCollaborationClient','PENDING_ACTION_SENDING_DATA','$root','createRoot','catch','finally','_sendBufferedOperationsDelayed','editing','then','connected','realtimecollaborationclient','_handleSendingSelectionMarkers','_handleServerResponse','realtimecollaborationclient-init-service-incorrect-server-operation','_lastSyncedOperationId','offset','_initThrowingOnDataSet','reconnection:\x20flushed\x20session','define','differ','__className','409','reset','_disconnectionOperations','model','isReadOnly','string'];_0x4f61=function(){return _0x22d9ac;};return _0x4f61();}import{transformOperationSets as _0x1a3c7e,NoOperation as _0x2a2463,InsertOperation as _0x5554f3,MarkerOperation as _0x4c17d2,RootAttributeOperation as _0x524c59,OperationFactory as _0x51f79e,History as _0x300b74}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1a53aa}from'./websocketgateway.js';import{Sessions as _0x17b746}from'./sessions.js';import{UserMarkers as _0x18f0a0}from'./usermarkers.js';import{getTranslation as _0x525cf8}from'../common-translations.js';import{Compressor as _0x39191b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5d0bc4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3c3db3,CollaborativeEditingService as _0x4e20b9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let F=0x1;export class RealTimeCollaborationClient extends _0x4a2675{static [_0x314188(0x19f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4e20b9)());[_0x314188(0x1de)];[_0x314188(0x1f1)];[_0x314188(0x20b)];[_0x314188(0x1f3)];[_0x314188(0x1c5)];[_0x314188(0x199)];[_0x314188(0x161)];[_0x314188(0x1a1)];[_0x314188(0x1d7)];[_0x314188(0x223)];[_0x314188(0x21f)];[_0x314188(0x257)];[_0x314188(0x169)];[_0x314188(0x215)];[_0x314188(0x16f)];[_0x314188(0x185)];[_0x314188(0x18e)];[_0x314188(0x165)];static get[_0x314188(0x1be)](){return[_0x1a53aa,_0x17b746,_0x18f0a0,_0x2facc6,_0x5d0bc4,_0x50bed7];}static get[_0x314188(0x251)](){const _0x721d3a=_0x314188;return _0x721d3a(0x177);}static get[_0x314188(0x15e)](){return!0x0;}static get[_0x314188(0x23d)](){return!0x0;}get[_0x314188(0x21b)](){const _0x3854b9=_0x314188;return this[_0x3854b9(0x25c)]+this[_0x3854b9(0x1de)];}get[_0x314188(0x25c)](){const _0x3cbc7c=_0x314188;return this[_0x3cbc7c(0x20b)][_0x3cbc7c(0x23c)]-this[_0x3cbc7c(0x1de)];}get[_0x314188(0x24c)](){const _0x47b77c=_0x314188,_0x18961c=this[_0x47b77c(0x20b)][_0x47b77c(0x157)]();for(let _0xcdbdee=_0x18961c[_0x47b77c(0x1bb)]-0x1;_0xcdbdee>=0x0;_0xcdbdee--){const _0x18ba04=_0x18961c[_0xcdbdee];if(!this[_0x47b77c(0x18e)][_0x47b77c(0x1ed)](_0x18ba04))return _0x18ba04[_0x47b77c(0x224)]+0x1-this[_0x47b77c(0x1de)];}return 0x0;}constructor(_0x3c7f7d){const _0x40969d=_0x314188;if(super(_0x3c7f7d),this[_0x40969d(0x1de)]=0x0,this[_0x40969d(0x1f1)]=null,this[_0x40969d(0x20b)]=new _0x300b74(),this[_0x40969d(0x1d6)][_0x40969d(0x1e5)][_0x40969d(0x189)](_0x40969d(0x1c7),{}),this[_0x40969d(0x1f3)]=this[_0x40969d(0x1d6)][_0x40969d(0x1e5)][_0x40969d(0x1d8)](_0x40969d(0x16c)),!this[_0x40969d(0x1f3)])throw new _0x1947c2(_0x40969d(0x245),this);const _0xd971d8=_0x3c7f7d[_0x40969d(0x1e5)][_0x40969d(0x1d8)](_0x40969d(0x1b3))||_0x3fd533;this[_0x40969d(0x1c5)]=new RealTimeCollaborationClient[(_0x40969d(0x19f))](_0xd971d8,this[_0x40969d(0x1f3)]),this[_0x40969d(0x199)]=this[_0x40969d(0x1d6)][_0x40969d(0x18f)][_0x40969d(0x1ab)],this[_0x40969d(0x161)]=new _0x39191b(),this[_0x40969d(0x1a1)]=[],this[_0x40969d(0x1d7)]=new WeakSet(),this[_0x40969d(0x223)]=new Set(),this[_0x40969d(0x1df)](_0x40969d(0x1fc),!0x1),this[_0x40969d(0x1df)](_0x40969d(0x231),!0x1),this[_0x40969d(0x21f)]=null,this[_0x40969d(0x257)]=!0x1,this[_0x40969d(0x169)]=null,this[_0x40969d(0x215)]=0x12c,this[_0x40969d(0x16f)]=this[_0x40969d(0x215)],this[_0x40969d(0x185)]=null,this[_0x40969d(0x18e)]=new WeakSet(),this[_0x40969d(0x165)]=new $(this[_0x40969d(0x18e)]);}[_0x314188(0x1f9)](){const _0x30e981=_0x314188,_0x25823a=this[_0x30e981(0x1d6)],_0x3f2bc4=_0x25823a[_0x30e981(0x174)][_0x30e981(0x1d8)](_0x5d0bc4),_0x5125e9=_0x25823a[_0x30e981(0x174)][_0x30e981(0x1d8)](_0x1a53aa);this[_0x30e981(0x1f5)](_0x3f2bc4,_0x30e981(0x234),(_0x58ae5d,_0x8d4ee6)=>{const _0x5ee0e7=_0x30e981,_0x183023=_0x8d4ee6[0x0];_0x183023[_0x5ee0e7(0x16a)]&&(_0x58ae5d[_0x5ee0e7(0x1ea)]=_0x3f2bc4[_0x5ee0e7(0x1a6)](_0x183023[_0x5ee0e7(0x16a)]),_0x58ae5d[_0x5ee0e7(0x1b8)]()),null===_0x183023[_0x5ee0e7(0x16a)]&&(_0x58ae5d[_0x5ee0e7(0x1ea)]=null,_0x58ae5d[_0x5ee0e7(0x1b8)]());},{'priority':_0x30e981(0x1d4)}),this[_0x30e981(0x1f5)](_0x25823a[_0x30e981(0x18f)][_0x30e981(0x1ab)][_0x30e981(0x1bc)],_0x30e981(0x222),(_0x8b6a84,_0x5af8a1)=>{const _0x3888f3=_0x30e981;_0x5af8a1[_0x3888f3(0x171)]&&this[_0x3888f3(0x21d)]();}),this[_0x30e981(0x1f5)](_0x25823a[_0x30e981(0x17e)][_0x30e981(0x160)],_0x30e981(0x176),()=>{const _0x54d534=_0x30e981;this[_0x54d534(0x21d)]();}),this[_0x30e981(0x187)](),_0x25823a[_0x30e981(0x18f)]['on'](_0x30e981(0x1d9),(_0x1e7ae4,_0xcec0a3)=>{const _0x466a5e=_0x30e981,_0x51fd16=_0xcec0a3[0x0];_0x51fd16[_0x466a5e(0x243)]&&(this[_0x466a5e(0x1a5)](_0x51fd16),this[_0x466a5e(0x1e1)]()&&this[_0x466a5e(0x17d)]());}),this[_0x30e981(0x19e)](),this[_0x30e981(0x249)](_0x30e981(0x213))['to'](_0x5125e9,_0x30e981(0x1a3),this,_0x30e981(0x231),(_0x38d7d0,_0x7d0524)=>_0x30e981(0x180)===_0x38d7d0&&!_0x7d0524),this['on'](_0x30e981(0x202),()=>{const _0x413e9b=_0x30e981;this[_0x413e9b(0x213)]?_0x25823a[_0x413e9b(0x1ad)](_0x413e9b(0x246)):_0x25823a[_0x413e9b(0x227)](_0x413e9b(0x246));}),this[_0x30e981(0x213)]?_0x25823a[_0x30e981(0x1ad)](_0x30e981(0x246)):_0x25823a[_0x30e981(0x227)](_0x30e981(0x246)),this[_0x30e981(0x1df)](_0x30e981(0x20a),!0x1);}async[_0x314188(0x197)](){const _0x1998d5=_0x314188,_0x887f00=this[_0x1998d5(0x1d6)][_0x1998d5(0x174)][_0x1998d5(0x1d8)](_0x17b746),_0x16e44e=this[_0x1998d5(0x1d6)][_0x1998d5(0x174)][_0x1998d5(0x1d8)](_0x1a53aa);try{this[_0x1998d5(0x1fc)]=!0x0,_0x887f00[_0x1998d5(0x23f)](this[_0x1998d5(0x1f3)]);const _0x1dfc37=await this[_0x1998d5(0x1c5)][_0x1998d5(0x197)](_0x16e44e[_0x1998d5(0x21a)],this[_0x1998d5(0x24c)]);await this[_0x1998d5(0x1d3)](_0x1dfc37)&&(this[_0x1998d5(0x1fc)]=!0x1,this[_0x1998d5(0x1a0)]());const _0x556e29=await this[_0x1998d5(0x1c5)][_0x1998d5(0x20d)]();_0x887f00[_0x1998d5(0x24e)](this[_0x1998d5(0x1f3)],_0x556e29),this[_0x1998d5(0x182)](),this[_0x1998d5(0x20a)]=!0x0;}catch(_0x157b48){if(function(_0x3ac555){const _0x6db989=_0x1998d5;return _0x6db989(0x1ec)===_0x3ac555[_0x6db989(0x1ff)];}(_0x157b48)&&this[_0x1998d5(0x1f1)])await this[_0x1998d5(0x22d)]();else{if(function(_0x3a7810){const _0x522722=_0x1998d5;return _0x522722(0x18c)===_0x3a7810[_0x522722(0x1ff)];}(_0x157b48)){const _0x17d8bb=_0x525cf8(this[_0x1998d5(0x1d6)][_0x1998d5(0x1fa)],_0x1998d5(0x25d));this[_0x1998d5(0x1ce)](_0x17d8bb);}else{if(!(_0x157b48 instanceof q))throw _0x157b48;this[_0x1998d5(0x1ce)]();}}}}[_0x314188(0x15d)](){const _0x59ff8b=_0x314188,_0x2ae43a=this[_0x59ff8b(0x1d6)][_0x59ff8b(0x174)][_0x59ff8b(0x1d8)](_0x1a53aa),_0x336374=this[_0x59ff8b(0x1d6)][_0x59ff8b(0x174)][_0x59ff8b(0x1d8)](_0x17b746);this[_0x59ff8b(0x1d6)][_0x59ff8b(0x227)](_0x59ff8b(0x1e3)),_0x336374[_0x59ff8b(0x214)][_0x59ff8b(0x1ed)](this[_0x59ff8b(0x1f3)])&&_0x336374[_0x59ff8b(0x23f)](this[_0x59ff8b(0x1f3)]),_0x2ae43a[_0x59ff8b(0x1d5)](this),this[_0x59ff8b(0x19d)](),super[_0x59ff8b(0x15d)]();}async[_0x314188(0x1d3)](_0x530165){const _0x361962=_0x314188;if(this[_0x361962(0x1f1)]!==_0x530165[_0x361962(0x1f1)]&&this[_0x361962(0x185)]!==_0x530165[_0x361962(0x1fe)])throw new q();return this[_0x361962(0x1f1)]=_0x530165[_0x361962(0x1f1)],this[_0x361962(0x183)]([],{..._0x530165,'wereChangesApplied':!0x1,'data':_0x530165[_0x361962(0x170)]},_0x361962(0x197));}async[_0x314188(0x1c9)](_0x5b1cd2,_0x5c9a8a=!0x1){const _0x4bc50a=_0x314188,{connection:_0x32cd39}=this[_0x4bc50a(0x1d6)][_0x4bc50a(0x174)][_0x4bc50a(0x1d8)](_0x1a53aa);RealTimeCollaborationClient[_0x4bc50a(0x19f)][_0x4bc50a(0x20d)](_0x32cd39,this[_0x4bc50a(0x1f3)])[_0x4bc50a(0x17f)](_0x4eef9b=>this[_0x4bc50a(0x1bd)](_0x4eef9b))[_0x4bc50a(0x17b)](_0x4c5512=>{const _0x4197e1=_0x4bc50a;this[_0x4197e1(0x1ee)](_0x4197e1(0x210),_0x4c5512);}),this[_0x4bc50a(0x1f5)](this[_0x4bc50a(0x1c5)],_0x4bc50a(0x1dd),this[_0x4bc50a(0x230)][_0x4bc50a(0x249)](this)),this[_0x4bc50a(0x1f5)](this[_0x4bc50a(0x1c5)],_0x4bc50a(0x158),(_0x406f8b,_0x5f5ceb)=>{const _0x4152cc=_0x4bc50a;this[_0x4152cc(0x1ee)](_0x4152cc(0x236),_0x5f5ceb);}),this[_0x4bc50a(0x1f5)](this[_0x4bc50a(0x1c5)],_0x4bc50a(0x19b),()=>{const _0x433b9d=_0x4bc50a;this[_0x433b9d(0x20a)]=!0x1;});const _0x29e959=this[_0x4bc50a(0x165)][_0x4bc50a(0x22c)](_0x5b1cd2);this[_0x4bc50a(0x1fc)]=!0x0;const _0x4d8673=await this[_0x4bc50a(0x1c5)][_0x4bc50a(0x1d0)](_0x32cd39,this[_0x4bc50a(0x1cd)](_0x5b1cd2),_0x29e959);if(this[_0x4bc50a(0x1f1)]=_0x4d8673[_0x4bc50a(0x1f1)],_0x5c9a8a){if(!_0x4d8673[_0x4bc50a(0x1af)])return void this[_0x4bc50a(0x1ce)]();this[_0x4bc50a(0x1fc)]=!0x1,this[_0x4bc50a(0x1a0)](),this[_0x4bc50a(0x20b)][_0x4bc50a(0x18d)](),this[_0x4bc50a(0x1de)]=_0x4d8673[_0x4bc50a(0x186)],this[_0x4bc50a(0x20b)][_0x4bc50a(0x23c)]=this[_0x4bc50a(0x1de)],await this[_0x4bc50a(0x183)](_0x5b1cd2,_0x4d8673,_0x4bc50a(0x188));}else await this[_0x4bc50a(0x212)](_0x4d8673,_0x5b1cd2);this[_0x4bc50a(0x182)](),this[_0x4bc50a(0x20a)]=!0x0;}[_0x314188(0x182)](){const _0x430993=_0x314188,_0x5ef113=this[_0x430993(0x1d6)][_0x430993(0x174)][_0x430993(0x1d8)](_0x17b746),_0x1e897d=this[_0x430993(0x1d6)][_0x430993(0x174)][_0x430993(0x1d8)](_0x18f0a0),_0x443bb6=_0x5ef113[_0x430993(0x214)][_0x430993(0x1d8)](this[_0x430993(0x1f3)]);_0x443bb6&&_0x443bb6[_0x430993(0x1bb)]>0x1?_0x1e897d[_0x430993(0x1b5)]():this[_0x430993(0x1f5)](_0x5ef113,_0x430993(0x21c)+this[_0x430993(0x1f3)],()=>{const _0xe69d0e=_0x430993;0x2===_0x5ef113[_0xe69d0e(0x214)][_0xe69d0e(0x1d8)](this[_0xe69d0e(0x1f3)])[_0xe69d0e(0x1bb)]&&_0x1e897d[_0xe69d0e(0x1b5)]();});}async[_0x314188(0x230)](_0x5513aa,_0x4ee1dd,_0x400400,_0x345106){const _0x5f2103=_0x314188;if(!this[_0x5f2103(0x1fc)]&&this[_0x5f2103(0x199)][_0x5f2103(0x23c)]==_0x4ee1dd){const _0x5f3425=this[_0x5f2103(0x1e8)](_0x400400,_0x345106);await this[_0x5f2103(0x244)](_0x5f3425),this[_0x5f2103(0x19a)](_0x5f3425,_0x4ee1dd,_0x400400[_0x5f2103(0x1fe)])||this[_0x5f2103(0x1ee)](_0x5f2103(0x184));}}async[_0x314188(0x22d)](){const _0x48ea5e=_0x314188;this[_0x48ea5e(0x19d)]();const {locale:_0x2943f8}=this[_0x48ea5e(0x1d6)];let _0x324da2;try{_0x324da2=await this[_0x48ea5e(0x1c5)][_0x48ea5e(0x225)]();}catch{const _0x41acbe=_0x525cf8(_0x2943f8,_0x48ea5e(0x219));return void this[_0x48ea5e(0x1ce)](_0x41acbe);}const _0x4af307=_0x324da2[_0x48ea5e(0x168)]||_0x324da2[_0x48ea5e(0x203)];if(this[_0x48ea5e(0x185)]!==_0x4af307[_0x48ea5e(0x1fe)]){const _0x288357=_0x525cf8(_0x2943f8,_0x48ea5e(0x240));return void this[_0x48ea5e(0x1ce)](_0x288357);}await this[_0x48ea5e(0x1c9)](this[_0x48ea5e(0x1d6)][_0x48ea5e(0x18f)][_0x48ea5e(0x1ab)][_0x48ea5e(0x238)][_0x48ea5e(0x157)](),!0x0);}[_0x314188(0x19d)](){const _0x22afcb=_0x314188;this[_0x22afcb(0x1c5)][_0x22afcb(0x196)](),this[_0x22afcb(0x1a1)]=[],clearTimeout(this[_0x22afcb(0x169)]),this[_0x22afcb(0x1b9)](this[_0x22afcb(0x1c5)]);}[_0x314188(0x1bd)](_0x1a38c8){const _0x294113=_0x314188,_0x19b2a7=this[_0x294113(0x1d6)][_0x294113(0x174)][_0x294113(0x1d8)](_0x17b746);this[_0x294113(0x1f5)](_0x19b2a7,_0x294113(0x21c)+this[_0x294113(0x1f3)],(_0xb18f33,{session:_0x4439d5})=>{const _0x51f7c0=_0x294113;if(_0x4439d5['id']===_0x19b2a7[_0x51f7c0(0x1e7)]){_0xb18f33[_0x51f7c0(0x1f7)]();const _0x428d76=this[_0x51f7c0(0x1d6)][_0x51f7c0(0x174)][_0x51f7c0(0x1ed)](_0x51f7c0(0x1d2))&&this[_0x51f7c0(0x1d6)][_0x51f7c0(0x174)][_0x51f7c0(0x1d8)](_0x51f7c0(0x1d2));let _0x21699c=_0x4439d5[_0x51f7c0(0x1db)];_0x428d76&&_0x428d76[_0x51f7c0(0x232)]&&(_0x21699c=_0x21699c[_0x51f7c0(0x242)](_0xc14699=>_0x51f7c0(0x254)!==_0xc14699)),this[_0x51f7c0(0x1d6)][_0x51f7c0(0x174)][_0x51f7c0(0x1d8)](_0x51f7c0(0x1cf))[_0x51f7c0(0x194)](_0x21699c,this[_0x51f7c0(0x1f3)]);}}),_0x19b2a7[_0x294113(0x24e)](this[_0x294113(0x1f3)],_0x1a38c8);}[_0x314188(0x187)](){const _0x6acc96=_0x314188,_0x538990=this[_0x6acc96(0x1d6)][_0x6acc96(0x170)][_0x6acc96(0x1df)];this[_0x6acc96(0x1d6)][_0x6acc96(0x170)][_0x6acc96(0x1df)]=(..._0x129c5c)=>{const _0xb3c4f8=_0x6acc96;if(!_0x129c5c[_0x129c5c[_0xb3c4f8(0x1bb)]-0x1][_0xb3c4f8(0x255)])throw new _0x1947c2(_0xb3c4f8(0x159),this);_0x538990[_0xb3c4f8(0x1c6)](this[_0xb3c4f8(0x1d6)][_0xb3c4f8(0x170)],_0x129c5c);};}[_0x314188(0x19e)](){const _0xf21168=_0x314188;this[_0xf21168(0x1d6)][_0xf21168(0x170)]['on'](_0xf21168(0x1f9),(_0xa95b62,[_0x254671])=>{const _0x240c5d=_0xf21168;if(this[_0x240c5d(0x199)][_0x240c5d(0x23c)])throw new _0x1947c2(_0x240c5d(0x22b),this);_0xa95b62[_0x240c5d(0x1b8)](),this[_0x240c5d(0x195)]();const _0x18a280=this[_0x240c5d(0x1d6)][_0x240c5d(0x1e5)][_0x240c5d(0x1d8)](_0x240c5d(0x164)),_0x16bad1=this[_0x240c5d(0x250)](_0x254671,_0x18a280);0x0==_0x16bad1[_0x240c5d(0x1bb)]&&_0x16bad1[_0x240c5d(0x220)](new _0x2a2463(0x0)),_0xa95b62[_0x240c5d(0x1ea)]=this[_0x240c5d(0x1c9)](_0x16bad1)[_0x240c5d(0x17f)](()=>{const _0x1df172=_0x240c5d;this[_0x1df172(0x1d6)][_0x1df172(0x174)][_0x1df172(0x1d8)](_0x1a53aa)[_0x1df172(0x15a)](this),this[_0x1df172(0x1d6)][_0x1df172(0x170)][_0x1df172(0x15b)](_0x1df172(0x24d));})[_0x240c5d(0x17b)](_0x3006eb=>this[_0x240c5d(0x1ee)](_0x240c5d(0x258),_0x3006eb))[_0x240c5d(0x17c)](()=>this[_0x240c5d(0x1a0)]());},{'priority':_0xf21168(0x1d4)}),this[_0xf21168(0x1d6)]['on'](_0xf21168(0x1b1),async(_0x5478dc,[_0x378e65,_0x2d661d])=>{const _0x4e9c8e=_0xf21168;_0x5478dc[_0x4e9c8e(0x1b8)]();const _0x348bbf=this[_0x4e9c8e(0x1d6)][_0x4e9c8e(0x18f)][_0x4e9c8e(0x1ab)][_0x4e9c8e(0x252)](_0x378e65);if(!this[_0x4e9c8e(0x223)][_0x4e9c8e(0x1ed)](_0x378e65)){const _0x4e4c21=_0x2d661d&&_0x2d661d[_0x4e9c8e(0x170)]?_0x2d661d[_0x4e9c8e(0x170)]:'',_0x38d899=_0x2d661d&&_0x2d661d[_0x4e9c8e(0x1b0)]?_0x2d661d[_0x4e9c8e(0x1b0)]:{};await this[_0x4e9c8e(0x1c2)](_0x378e65,_0x4e4c21,_0x38d899);}this[_0x4e9c8e(0x1d6)][_0x4e9c8e(0x18f)][_0x4e9c8e(0x1c3)]({'isUndoable':!0x1},()=>{const _0x5eae66=_0x4e9c8e;_0x348bbf[_0x5eae66(0x175)]=!0x0,this[_0x5eae66(0x1d6)][_0x5eae66(0x18f)][_0x5eae66(0x1ab)][_0x5eae66(0x18a)][_0x5eae66(0x1bf)](_0x348bbf);});},{'priority':_0xf21168(0x1d4)});}async[_0x314188(0x244)](_0x3510c1){const _0x2327e0=_0x314188,_0xd923ce=this[_0x2327e0(0x1d6)][_0x2327e0(0x174)][_0x2327e0(0x1d8)](_0x5d0bc4),{connection:_0x48937c}=this[_0x2327e0(0x1d6)][_0x2327e0(0x174)][_0x2327e0(0x1d8)](_0x1a53aa),_0x43a695=new Set();for(const _0xeee89a of _0x3510c1){const _0x3cdb07=_0xeee89a[_0x2327e0(0x16a)];_0x3cdb07&&!_0xd923ce[_0x2327e0(0x1a6)](_0x3cdb07)&&_0x43a695[_0x2327e0(0x1c8)](_0x3cdb07);}if(0x0===_0x43a695[_0x2327e0(0x209)])return;const _0xf94fb2=await _0x3c3db3[_0x2327e0(0x1f0)](_0x48937c,Array[_0x2327e0(0x200)](_0x43a695));for(const _0x415c2c of _0xf94fb2)_0xd923ce[_0x2327e0(0x1a6)](_0x415c2c['id'])||_0xd923ce[_0x2327e0(0x1e2)](_0x415c2c);}[_0x314188(0x250)](_0x2c5c56,_0x2bdc9e={}){const _0x52dea9=_0x314188,_0x588aeb=this[_0x52dea9(0x1d6)][_0x52dea9(0x18f)],_0x375682=[];let _0x5654bf=0x0;const _0x5bec09=_0x52dea9(0x191)==typeof _0x2c5c56?{'main':_0x2c5c56}:_0x2c5c56;for(const _0x41db75 of Object[_0x52dea9(0x207)](_0x5bec09)){if(!this[_0x52dea9(0x199)][_0x52dea9(0x1c4)][_0x52dea9(0x1ed)](_0x41db75))throw new _0x1947c2(_0x52dea9(0x248),this);const _0x369b38=this[_0x52dea9(0x1d6)][_0x52dea9(0x170)][_0x52dea9(0x1b6)](_0x5bec09[_0x41db75]),_0x590dea=this[_0x52dea9(0x199)][_0x52dea9(0x252)](_0x41db75),_0x10af29=new _0x5554f3(_0x588aeb[_0x52dea9(0x211)](_0x590dea,0x0),_0x369b38,_0x5654bf++);_0x375682[_0x52dea9(0x220)](_0x10af29);for(const [_0x3beb74,_0x407d25]of _0x369b38[_0x52dea9(0x1ae)]){const _0x17e3cc=_0x588aeb[_0x52dea9(0x21e)](_0x588aeb[_0x52dea9(0x15f)](_0x590dea,_0x407d25[_0x52dea9(0x20e)][_0x52dea9(0x226)][_0x52dea9(0x1cb)]()),_0x588aeb[_0x52dea9(0x15f)](_0x590dea,_0x407d25[_0x52dea9(0x206)][_0x52dea9(0x226)][_0x52dea9(0x1cb)]())),_0xf4aa05=new _0x4c17d2(_0x3beb74,null,_0x17e3cc,_0x588aeb[_0x52dea9(0x1ae)],!0x0,_0x5654bf++);_0x375682[_0x52dea9(0x220)](_0xf4aa05);}}if(_0x2bdc9e)for(const [_0x36366b,_0x4228ff]of Object[_0x52dea9(0x216)](_0x2bdc9e)){const _0x5d7901=_0x588aeb[_0x52dea9(0x1ab)][_0x52dea9(0x252)](_0x36366b);if(!_0x5d7901)throw new _0x1947c2(_0x52dea9(0x1b2),null);for(const [_0x2cbc18,_0x359764]of Object[_0x52dea9(0x216)](_0x4228ff))if(null!==_0x359764){const _0x8b41cf=new _0x524c59(_0x5d7901,_0x2cbc18,null,_0x359764,_0x5654bf++);_0x375682[_0x52dea9(0x220)](_0x8b41cf);}}return _0x375682;}async[_0x314188(0x1c2)](_0x226495,_0xab871c,_0x1dd705){const _0x3105a4=_0x314188;this[_0x3105a4(0x250)]({[_0x226495]:_0xab871c},{[_0x226495]:_0x1dd705})[_0x3105a4(0x198)]((_0x43cee4,_0x273c5a)=>{const _0x5f1ca8=_0x3105a4;_0x43cee4[_0x5f1ca8(0x224)]=this[_0x5f1ca8(0x199)][_0x5f1ca8(0x23c)]+_0x273c5a,_0x43cee4[_0x5f1ca8(0x1a7)]=!0x0,this[_0x5f1ca8(0x1a5)](_0x43cee4);}),this[_0x3105a4(0x17d)](),await this[_0x3105a4(0x172)]();}async[_0x314188(0x212)](_0x3c4f4e,_0x4317d5){const _0x46611f=_0x314188;let _0x14574a;this[_0x46611f(0x1de)]=_0x3c4f4e[_0x46611f(0x186)];const _0x9df2ec=_0x3c4f4e[_0x46611f(0x1af)]&&!_0x3c4f4e[_0x46611f(0x16d)],_0x5c0e6e=_0x9df2ec?0x0:_0x3c4f4e[_0x46611f(0x170)][_0x46611f(0x224)];if(_0x4317d5[_0x46611f(0x198)](_0x58b149=>{const _0x1ccbf8=_0x46611f;_0x58b149[_0x1ccbf8(0x1a7)]=!0x0,_0x58b149[_0x1ccbf8(0x1f2)]=_0x3c4f4e[_0x1ccbf8(0x192)],_0x58b149[_0x1ccbf8(0x16a)]=null;}),_0x9df2ec)_0x14574a=_0x4317d5,this[_0x46611f(0x221)](_0x14574a,_0x9df2ec);else{if(_0x3c4f4e[_0x46611f(0x16d)]){const _0x362e0b=this[_0x46611f(0x250)](_0x3c4f4e[_0x46611f(0x16d)]);this[_0x46611f(0x199)][_0x46611f(0x238)][_0x46611f(0x23c)]=-_0x362e0b[_0x46611f(0x1bb)],_0x362e0b[_0x46611f(0x198)](_0x283ee5=>{const _0x17c4e0=_0x46611f;_0x283ee5[_0x17c4e0(0x224)]-=_0x362e0b[_0x17c4e0(0x1bb)],_0x283ee5[_0x17c4e0(0x1f2)]=_0x3c4f4e[_0x17c4e0(0x192)],_0x283ee5[_0x17c4e0(0x1a7)]=!0x0,_0x283ee5[_0x17c4e0(0x16a)]=null;}),this[_0x46611f(0x221)](_0x362e0b,!0x0),this[_0x46611f(0x20b)][_0x46611f(0x23c)]=-_0x362e0b[_0x46611f(0x1bb)]+this[_0x46611f(0x1de)],this[_0x46611f(0x167)](_0x362e0b);}this[_0x46611f(0x199)][_0x46611f(0x238)][_0x46611f(0x23c)]=_0x5c0e6e,_0x14574a=this[_0x46611f(0x1e8)](_0x3c4f4e[_0x46611f(0x170)],_0x3c4f4e[_0x46611f(0x259)]),await this[_0x46611f(0x244)](_0x14574a),this[_0x46611f(0x221)](_0x14574a,_0x9df2ec);}_0x3c4f4e[_0x46611f(0x1fe)]&&(this[_0x46611f(0x165)][_0x46611f(0x22e)](_0x14574a,_0x3c4f4e[_0x46611f(0x1fe)]),this[_0x46611f(0x185)]=_0x3c4f4e[_0x46611f(0x1fe)]),this[_0x46611f(0x20b)][_0x46611f(0x23c)]=_0x5c0e6e+this[_0x46611f(0x1de)],this[_0x46611f(0x167)](_0x14574a),_0x4317d5[_0x46611f(0x242)](_0xc53ace=>{const _0x5907a5=_0x46611f,_0x3dfc76=this[_0x5907a5(0x235)](_0xc53ace);return _0x3dfc76&&!this[_0x5907a5(0x223)][_0x5907a5(0x1ed)](_0x3dfc76);})[_0x46611f(0x198)]((_0x369ada,_0x5ab4e9)=>{const _0x1abc70=_0x46611f;_0x369ada[_0x1abc70(0x224)]=this[_0x1abc70(0x199)][_0x1abc70(0x23c)]+_0x5ab4e9,this[_0x1abc70(0x1a5)](_0x369ada);}),this[_0x46611f(0x1e1)]()?(this[_0x46611f(0x16f)]=0x0,this[_0x46611f(0x17d)](!0x0),await this[_0x46611f(0x172)]()):(this[_0x46611f(0x1fc)]=!0x1,this[_0x46611f(0x1a0)]());}[_0x314188(0x1ee)](_0x26c63f,_0x41dcbf){const _0x285386=_0x314188,_0x265079=_0x41dcbf&&_0x41dcbf[_0x285386(0x1a8)];if(_0x265079&&_0x265079[_0x285386(0x1b7)](_0x285386(0x181)))throw _0x41dcbf;const _0x519840=this[_0x285386(0x1d6)][_0x285386(0x174)][_0x285386(0x1d8)](_0x1a53aa);throw this[_0x285386(0x1fc)]=!0x0,_0x519840[_0x285386(0x196)](),this[_0x285386(0x1d6)][_0x285386(0x227)](_0x285386(0x218)),new _0x1947c2(_0x26c63f,this[_0x285386(0x1d6)],_0x265079?{'originalError':_0x265079}:void 0x0);}[_0x314188(0x1a5)](_0x41d124){const _0x5622a7=_0x314188;this[_0x5622a7(0x1d7)][_0x5622a7(0x1ed)](_0x41d124)||(this[_0x5622a7(0x1d7)][_0x5622a7(0x1c8)](_0x41d124),this[_0x5622a7(0x1a1)][_0x5622a7(0x220)](_0x41d124),this[_0x5622a7(0x21f)]||_0x5622a7(0x1b4)==_0x41d124[_0x5622a7(0x228)]&&!_0x41d124[_0x5622a7(0x25a)]||this[_0x5622a7(0x195)]());}[_0x314188(0x17d)](_0xbc30b6=!0x1){const _0x33cf5d=_0x314188;!_0xbc30b6&&this[_0x33cf5d(0x1fc)]||(this[_0x33cf5d(0x1fc)]=!0x0,clearTimeout(this[_0x33cf5d(0x169)]),this[_0x33cf5d(0x169)]=setTimeout(()=>{const _0x3edcff=_0x33cf5d;this[_0x3edcff(0x162)]()[_0x3edcff(0x17f)](_0x5c0a82=>{const _0x5e1ecf=_0x3edcff;_0x5c0a82&&(this[_0x5e1ecf(0x1a0)](),this[_0x5e1ecf(0x1fc)]=!0x1);})[_0x3edcff(0x17b)](_0x40e4a1=>{const _0x5eab5d=_0x3edcff;this[_0x5eab5d(0x1a0)](),this[_0x5eab5d(0x1fc)]=!0x1,function(_0xec9242){const _0x59c362=_0x5eab5d;return _0xec9242[_0x59c362(0x1a8)][_0x59c362(0x1b7)](_0x59c362(0x23a))||_0xec9242[_0x59c362(0x1a8)][_0x59c362(0x1b7)](_0x59c362(0x23e))||_0xec9242[_0x59c362(0x1a8)][_0x59c362(0x1b7)](_0x59c362(0x256));}(_0x40e4a1)||this[_0x5eab5d(0x1ee)](_0x40e4a1[_0x5eab5d(0x1a8)],_0x40e4a1);});},this[_0x33cf5d(0x16f)]));}[_0x314188(0x172)](){return new Promise(_0x3c18f1=>{const _0x4ab165=_0x504d;this['on'](_0x4ab165(0x1a4),()=>{_0x3c18f1();});});}async[_0x314188(0x162)](){const _0x42d2cc=_0x314188,_0x30a62d=this[_0x42d2cc(0x1d6)][_0x42d2cc(0x174)][_0x42d2cc(0x1d8)](_0x18f0a0);if(this[_0x42d2cc(0x173)]()&&(_0x30a62d[_0x42d2cc(0x1b5)](),this[_0x42d2cc(0x257)]=!0x1),!this[_0x42d2cc(0x1e1)]())return!0x0;const _0x438936=[...this[_0x42d2cc(0x1a1)]];for(const _0x1a7de1 of _0x438936)_0x1a7de1[_0x42d2cc(0x1fd)]=this[_0x42d2cc(0x199)][_0x42d2cc(0x238)][_0x42d2cc(0x20f)](_0x1a7de1);const _0x58344e=this[_0x42d2cc(0x165)][_0x42d2cc(0x22c)](_0x438936),_0x56b831=F++,_0x5c0691=this[_0x42d2cc(0x1cd)](_0x438936),_0x622751=await this[_0x42d2cc(0x1c5)][_0x42d2cc(0x1cc)](_0x5c0691,_0x5c0691[_0x42d2cc(0x224)],_0x58344e);try{return await this[_0x42d2cc(0x183)](_0x438936,_0x622751,_0x56b831);}catch(_0x13ecf4){return this[_0x42d2cc(0x1ee)](_0x42d2cc(0x1f8),_0x13ecf4);}}async[_0x314188(0x183)](_0x24dc7c,_0x35ad67,_0x4242aa){const _0x2504d4=_0x314188;if(_0x2504d4(0x158)in _0x35ad67)throw _0x35ad67[_0x2504d4(0x158)];let _0x462d9c=!0x1;if(_0x35ad67[_0x2504d4(0x1af)]){_0x35ad67[_0x2504d4(0x1fe)]&&(this[_0x2504d4(0x185)]=_0x35ad67[_0x2504d4(0x1fe)]),this[_0x2504d4(0x1a1)]=this[_0x2504d4(0x1a1)][_0x2504d4(0x242)](_0x24e1c7=>!_0x24dc7c[_0x2504d4(0x1fb)](_0x24e1c7));for(const _0x1814b7 of _0x24dc7c)_0x1814b7[_0x2504d4(0x1f2)]=_0x2504d4(0x1ca)in _0x35ad67&&_0x35ad67[_0x2504d4(0x1ca)]||void 0x0;G(_0x24dc7c,_0x35ad67[_0x2504d4(0x23c)]-_0x24dc7c[_0x2504d4(0x1bb)]),this[_0x2504d4(0x167)](_0x24dc7c);const _0x5b67e5=_0x24dc7c[_0x2504d4(0x242)](_0x15ac9b=>{const _0x1b9b46=_0x2504d4;if(!_0x15ac9b[_0x1b9b46(0x1a7)])return!0x1;const _0x2b4814=this[_0x1b9b46(0x235)](_0x15ac9b);return _0x2b4814&&!this[_0x1b9b46(0x223)][_0x1b9b46(0x1ed)](_0x2b4814);});G(_0x5b67e5,this[_0x2504d4(0x199)][_0x2504d4(0x23c)]),this[_0x2504d4(0x221)](_0x5b67e5),_0x462d9c=!0x0,this[_0x2504d4(0x16f)]=this[_0x2504d4(0x215)];}else{const _0x496a3c=this[_0x2504d4(0x1e8)](_0x35ad67[_0x2504d4(0x170)],_0x35ad67[_0x2504d4(0x259)])[_0x2504d4(0x242)](_0x1e6376=>_0x1e6376[_0x2504d4(0x224)]>=this[_0x2504d4(0x25c)]);_0x496a3c[_0x2504d4(0x198)](_0xa37bdb=>this[_0x2504d4(0x1f4)](_0xa37bdb)),this[_0x2504d4(0x1a1)]=this[_0x2504d4(0x1a1)][_0x2504d4(0x242)](_0x3a16c3=>!_0x3a16c3[_0x2504d4(0x1a7)]||!this[_0x2504d4(0x223)][_0x2504d4(0x1ed)](this[_0x2504d4(0x235)](_0x3a16c3))),this[_0x2504d4(0x1a1)][_0x2504d4(0x1bb)]&&G(this[_0x2504d4(0x1a1)],this[_0x2504d4(0x1a1)][0x0][_0x2504d4(0x224)]),await this[_0x2504d4(0x244)](_0x496a3c),_0x462d9c=this[_0x2504d4(0x19a)](_0x496a3c,_0x35ad67[_0x2504d4(0x23c)],_0x35ad67[_0x2504d4(0x1fe)]),this[_0x2504d4(0x16f)]=Math[_0x2504d4(0x24b)](this[_0x2504d4(0x16f)]/0x2);}return _0x462d9c?!this[_0x2504d4(0x1e1)]()||(this[_0x2504d4(0x17d)](!0x0),!0x1):this[_0x2504d4(0x1ee)](_0x2504d4(0x1aa));}[_0x314188(0x19a)](_0x3fddae,_0x220900,_0x592412){const _0x557a8d=_0x314188;try{const _0x371502={'document':this[_0x557a8d(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x587011,operationsB:_0x3e742c,originalOperations:_0x1ffd7e}=_0x1a3c7e(_0x3fddae,this[_0x557a8d(0x1a1)],_0x371502);G(_0x587011,this[_0x557a8d(0x199)][_0x557a8d(0x23c)]),G(_0x3e742c,_0x220900);for(const _0x1792c1 of _0x587011){const _0x3e1fa2=_0x1ffd7e[_0x557a8d(0x1d8)](_0x1792c1);_0x1792c1[_0x557a8d(0x16a)]=_0x3e1fa2?_0x3e1fa2[_0x557a8d(0x16a)]:null;}_0x592412&&(this[_0x557a8d(0x165)][_0x557a8d(0x22e)](_0x3fddae,_0x592412),this[_0x557a8d(0x185)]=_0x592412),this[_0x557a8d(0x1a1)]=[..._0x3e742c],this[_0x557a8d(0x221)](_0x587011),this[_0x557a8d(0x167)](_0x3fddae);}catch(_0x272ac1){return console[_0x557a8d(0x158)](_0x272ac1),!0x1;}return!0x0;}[_0x314188(0x221)](_0xc56fc3,_0x18b88a=!0x1){const _0x57ecab=_0x314188;this[_0x57ecab(0x1d6)][_0x57ecab(0x18f)][_0x57ecab(0x1c3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x217342=>{const _0x1280c4=_0x57ecab;for(const _0x414f8f of _0xc56fc3)this[_0x1280c4(0x1d7)][_0x1280c4(0x1c8)](_0x414f8f),this[_0x1280c4(0x1f4)](_0x414f8f),_0x217342[_0x1280c4(0x20c)][_0x1280c4(0x1da)](_0x414f8f),this[_0x1280c4(0x1d6)][_0x1280c4(0x18f)][_0x1280c4(0x1d9)](_0x414f8f);});}[_0x314188(0x1f4)](_0x273f2e){const _0x437146=_0x314188,_0x3d4dd7=this[_0x437146(0x235)](_0x273f2e);_0x3d4dd7&&this[_0x437146(0x223)][_0x437146(0x1c8)](_0x3d4dd7);}[_0x314188(0x235)](_0x47b8b5){const _0x5ca355=_0x314188;let _0x5d02eb,_0x2c2c45;switch(_0x47b8b5[_0x5ca355(0x228)]){case _0x5ca355(0x193):_0x5d02eb=_0x47b8b5[_0x5ca355(0x1ac)][_0x5ca355(0x233)];break;case _0x5ca355(0x1b4):if(_0x2c2c45=_0x47b8b5[_0x5ca355(0x22f)],!_0x2c2c45)return null;_0x5d02eb=_0x2c2c45[_0x5ca355(0x233)];break;case _0x5ca355(0x1e4):_0x5d02eb=_0x47b8b5[_0x5ca355(0x233)];break;case _0x5ca355(0x16e):_0x5d02eb=_0x47b8b5[_0x5ca355(0x241)];break;case _0x5ca355(0x1a9):_0x5d02eb=_0x47b8b5[_0x5ca355(0x247)][_0x5ca355(0x233)];break;default:return null;}return _0x5d02eb[_0x5ca355(0x237)];}[_0x314188(0x167)](_0x1640e0){const _0x2ec3f3=_0x314188;_0x1640e0[_0x2ec3f3(0x198)](_0x5aa08a=>{const _0x5762ae=_0x2ec3f3,_0x3fbcb8=_0x5aa08a[_0x5762ae(0x1eb)]();_0x3fbcb8[_0x5762ae(0x16a)]=_0x5aa08a[_0x5762ae(0x16a)],_0x3fbcb8[_0x5762ae(0x1a7)]=!!_0x5aa08a[_0x5762ae(0x1a7)],_0x3fbcb8[_0x5762ae(0x1f2)]=_0x5aa08a[_0x5762ae(0x1f2)],_0x3fbcb8[_0x5762ae(0x224)]+=this[_0x5762ae(0x1de)],_0x5aa08a[_0x5762ae(0x1c1)]&&this[_0x5762ae(0x18e)][_0x5762ae(0x1c8)](_0x3fbcb8),this[_0x5762ae(0x20b)][_0x5762ae(0x1da)](_0x3fbcb8);});}[_0x314188(0x1ce)](_0x504177){const _0x3fc604=_0x314188,_0x372dc5=this[_0x3fc604(0x1d6)][_0x3fc604(0x174)][_0x3fc604(0x1d8)](_0x3fc604(0x205)),_0x3ed63e=this[_0x3fc604(0x1d6)][_0x3fc604(0x1fa)];_0x504177||(_0x504177=_0x525cf8(_0x3ed63e,_0x3fc604(0x1f6))),_0x372dc5[_0x3fc604(0x24f)](_0x504177,{'title':_0x525cf8(_0x3ed63e,_0x3fc604(0x201)),'namespace':_0x3fc604(0x19c)}),this[_0x3fc604(0x231)]=!0x0,clearTimeout(this[_0x3fc604(0x169)]),this[_0x3fc604(0x1a1)]=[],this[_0x3fc604(0x1d6)][_0x3fc604(0x174)][_0x3fc604(0x1d8)](_0x1a53aa)[_0x3fc604(0x196)]();}[_0x314188(0x195)](){const _0x4c61dd=_0x314188;this[_0x4c61dd(0x21f)]||(this[_0x4c61dd(0x21f)]=this[_0x4c61dd(0x1d6)][_0x4c61dd(0x174)][_0x4c61dd(0x1d8)](_0x2facc6)[_0x4c61dd(0x1c8)](_0x525cf8(this[_0x4c61dd(0x1d6)][_0x4c61dd(0x1fa)],_0x4c61dd(0x178))));}[_0x314188(0x1a0)](){const _0x204ef8=_0x314188;this[_0x204ef8(0x21f)]&&(this[_0x204ef8(0x1d6)][_0x204ef8(0x174)][_0x204ef8(0x1d8)](_0x2facc6)[_0x204ef8(0x208)](this[_0x204ef8(0x21f)]),this[_0x204ef8(0x21f)]=null);}[_0x314188(0x1cd)](_0x303d3b){const _0x185bc1=_0x314188,_0x25b6a8=_0x303d3b[_0x185bc1(0x253)](_0x546b19=>_0x546b19[_0x185bc1(0x204)]());return this[_0x185bc1(0x161)][_0x185bc1(0x22a)](_0x25b6a8);}[_0x314188(0x1e8)](_0x155f54,_0x3d435d){const _0xc17c94=_0x314188;return this[_0xc17c94(0x161)][_0xc17c94(0x1dc)](_0x155f54)[_0xc17c94(0x253)]((_0x1d557,_0x21a786)=>{const _0x89fc19=_0xc17c94,_0x42f110=_0x89fc19(0x1f9)==_0x3d435d[_0x21a786][_0x89fc19(0x228)];if(_0x89fc19(0x23b)==_0x1d557[_0x89fc19(0x18b)]){const _0x48feac=_0x1d557[_0x89fc19(0x1ac)][_0x89fc19(0x233)];!this[_0x89fc19(0x199)][_0x89fc19(0x252)](_0x48feac)&&(this[_0x89fc19(0x199)][_0x89fc19(0x17a)](_0x89fc19(0x179),_0x48feac)[_0x89fc19(0x1a2)]=!0x1);}const _0xe160e9=_0x51f79e[_0x89fc19(0x1e6)](_0x1d557,this[_0x89fc19(0x199)]);return _0xe160e9[_0x89fc19(0x1fd)]=_0x1d557[_0x89fc19(0x1fd)],_0xe160e9[_0x89fc19(0x1a7)]=_0x42f110,_0xe160e9[_0x89fc19(0x16a)]=_0x42f110?null:_0x3d435d[_0x21a786][_0x89fc19(0x1c0)],_0xe160e9[_0x89fc19(0x1c1)]=_0x89fc19(0x1ba)===_0x3d435d[_0x21a786][_0x89fc19(0x228)],_0xe160e9[_0x89fc19(0x1f2)]=_0x3d435d[_0x21a786][_0x89fc19(0x1f2)],_0xe160e9;});}[_0x314188(0x21d)](){const _0x2f477c=_0x314188;this[_0x2f477c(0x257)]=!0x0,this[_0x2f477c(0x173)]()?this[_0x2f477c(0x17d)]():this[_0x2f477c(0x257)]=!0x1;}[_0x314188(0x173)](){const _0x59683f=_0x314188,_0xa5bc37=this[_0x59683f(0x1d6)][_0x59683f(0x174)][_0x59683f(0x1d8)](_0x17b746)[_0x59683f(0x214)][_0x59683f(0x1d8)](this[_0x59683f(0x1f3)]);return!this[_0x59683f(0x1d6)][_0x59683f(0x190)]&&!!_0xa5bc37&&_0xa5bc37[_0x59683f(0x1bb)]>0x1&&this[_0x59683f(0x257)];}[_0x314188(0x1e1)](){const _0x3b24d1=_0x314188;return this[_0x3b24d1(0x1a1)][_0x3b24d1(0x1bb)]>0x0||this[_0x3b24d1(0x173)]();}}function _0x504d(_0x536655,_0x2c684e){const _0x4f6136=_0x4f61();return _0x504d=function(_0x504daa,_0x226f7e){_0x504daa=_0x504daa-0x157;let _0x4ceefa=_0x4f6136[_0x504daa];return _0x4ceefa;},_0x504d(_0x536655,_0x2c684e);}class q extends Error{}function G(_0x11f679,_0x24933d){const _0x54eb7c=_0x314188;for(const _0x51e0c9 of _0x11f679)_0x51e0c9[_0x54eb7c(0x224)]=_0x24933d++;}class ${[_0x314188(0x229)];[_0x314188(0x166)];constructor(_0x42d1ed){const _0x18e8d0=_0x314188;this[_0x18e8d0(0x229)]=_0x42d1ed,this[_0x18e8d0(0x166)]=new WeakMap();}[_0x314188(0x22c)](_0x526063){const _0x4bfe2b=_0x314188;let _0x205dee=_0x526063[_0x4bfe2b(0x1bb)];for(;_0x205dee--;){const _0x3eda1c=_0x526063[_0x205dee];if(!this[_0x4bfe2b(0x229)][_0x4bfe2b(0x1ed)](_0x3eda1c)){if(!this[_0x4bfe2b(0x166)][_0x4bfe2b(0x1ed)](_0x3eda1c)){const _0x16a9b9=_0x42bbfa()[_0x4bfe2b(0x1cb)](0x1,0x12);this[_0x4bfe2b(0x166)][_0x4bfe2b(0x1df)](_0x3eda1c,_0x16a9b9);}return this[_0x4bfe2b(0x166)][_0x4bfe2b(0x1d8)](_0x3eda1c);}}}[_0x314188(0x22e)](_0x8b55df,_0xee0c0d){const _0x53bbb6=_0x314188;if(!_0xee0c0d)return;let _0x1e468b=_0x8b55df[_0x53bbb6(0x1bb)];for(;_0x1e468b--;){const _0x504b58=_0x8b55df[_0x1e468b];this[_0x53bbb6(0x229)][_0x53bbb6(0x1ed)](_0x504b58)||this[_0x53bbb6(0x166)][_0x53bbb6(0x1df)](_0x504b58,_0xee0c0d);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a9e37=_0x3c2a;(function(_0x207170,_0x2c132f){const _0x397ad7=_0x3c2a,_0x1e253c=_0x207170();while(!![]){try{const _0x433609=parseInt(_0x397ad7(0x1ce))/0x1+-parseInt(_0x397ad7(0x1d7))/0x2*(parseInt(_0x397ad7(0x1c6))/0x3)+-parseInt(_0x397ad7(0x1c1))/0x4*(parseInt(_0x397ad7(0x1d8))/0x5)+-parseInt(_0x397ad7(0x1b5))/0x6*(-parseInt(_0x397ad7(0x1e9))/0x7)+parseInt(_0x397ad7(0x1f2))/0x8*(-parseInt(_0x397ad7(0x1e4))/0x9)+parseInt(_0x397ad7(0x1dd))/0xa+-parseInt(_0x397ad7(0x1b7))/0xb*(-parseInt(_0x397ad7(0x1d9))/0xc);if(_0x433609===_0x2c132f)break;else _0x1e253c['push'](_0x1e253c['shift']());}catch(_0x91ccc0){_0x1e253c['push'](_0x1e253c['shift']());}}}(_0x24ab,0x67e65));function _0x3c2a(_0x5204c3,_0x14a058){const _0x24abb0=_0x24ab();return _0x3c2a=function(_0x3c2a16,_0x3788cb){_0x3c2a16=_0x3c2a16-0x1b5;let _0xb55000=_0x24abb0[_0x3c2a16];return _0xb55000;},_0x3c2a(_0x5204c3,_0x14a058);}function _0x24ab(){const _0xa21d35=['assign','_users','channelConnectedUsers','set','allConnectedUsers','getUserSessions','16048edhQVH','_registeredSessions','_uniqueUsersCount','init','listenTo','18IDyhcH','requires','fire','register','role','delete','addUser','forEach','272066gPQqLi','user','orderNumber','values','sessions-register-already-registered','sessions-unregister-not-exist','pluginName','stopListening','getUserRole','16818MnmAaE','450NkTFtO','36seRnvs','isMe','defineMe','_createUser','723800tbwYeo','isOfficialPlugin','getUser','size','mySessionId','context','sessionId','13491KWRkRd','connection','channelSessions','_handleSessionAdd','change:state','7UNBvvM','unregister','get','remove','add','hiddenInPresenceList','Sessions','plugins','state','4000wAxiYV','_handleSessionRemove','clear','has','57972HMjIYe','connected','4519163XUnrEA','isPremiumPlugin','sessionAdd:','getUserBySessionId'];_0x24ab=function(){return _0xa21d35;};return _0x24ab();}import{ContextPlugin as _0x3cb601}from'ckeditor5/src/core.js';import{Collection as _0x4a6d8e,CKEditorError as _0x366bc9}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x223c7d}from'./websocketgateway.js';import{Users as _0x3d6e89}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3cb601{[_0x3a9e37(0x1e6)];[_0x3a9e37(0x1bd)];[_0x3a9e37(0x1bf)];[_0x3a9e37(0x1c2)];[_0x3a9e37(0x1c3)];[_0x3a9e37(0x1bc)];static get[_0x3a9e37(0x1d4)](){const _0x288fd7=_0x3a9e37;return _0x288fd7(0x1ef);}static get[_0x3a9e37(0x1de)](){return!0x0;}static get[_0x3a9e37(0x1b8)](){return!0x0;}static get[_0x3a9e37(0x1c7)](){return[_0x223c7d,_0x3d6e89];}constructor(_0x328ea4){const _0x524eaf=_0x3a9e37;super(_0x328ea4),this[_0x524eaf(0x1e6)]=new Map(),this[_0x524eaf(0x1bd)]=new Map(),this[_0x524eaf(0x1bf)]=new _0x4a6d8e(),this[_0x524eaf(0x1c2)]=new Map(),this[_0x524eaf(0x1c3)]=0x0,this[_0x524eaf(0x1bc)]=this[_0x524eaf(0x1e2)][_0x524eaf(0x1f0)][_0x524eaf(0x1eb)](_0x3d6e89);}[_0x3a9e37(0x1c4)](){const _0x54e70a=_0x3a9e37,_0x4fa54d=this[_0x54e70a(0x1e2)][_0x54e70a(0x1f0)][_0x54e70a(0x1eb)](_0x223c7d);this[_0x54e70a(0x1c5)](_0x4fa54d,_0x54e70a(0x1e8),(_0x263487,_0x4cc848,_0x55dea2)=>{const _0x5bc7fd=_0x54e70a;if(_0x5bc7fd(0x1b6)!==_0x55dea2)this[_0x5bc7fd(0x1e6)][_0x5bc7fd(0x1cd)](_0x46d519=>_0x46d519[_0x5bc7fd(0x1f4)]()),this[_0x5bc7fd(0x1bd)][_0x5bc7fd(0x1cd)](_0x23c8a3=>_0x23c8a3[_0x5bc7fd(0x1f4)]()),this[_0x5bc7fd(0x1bf)][_0x5bc7fd(0x1f4)]();else{for(const [_0x140d40,_0x44a6c4]of this[_0x5bc7fd(0x1c2)])for(const _0x172323 of _0x44a6c4)this[_0x5bc7fd(0x1e7)](_0x140d40,_0x172323);}}),this[_0x54e70a(0x1dc)](_0x4fa54d[_0x54e70a(0x1e5)]['me'],!0x0);}[_0x3a9e37(0x1c9)](_0x4a4473,_0x142ee9){const _0x47d568=_0x3a9e37;if(this[_0x47d568(0x1c2)][_0x47d568(0x1f5)](_0x4a4473))throw new _0x366bc9(_0x47d568(0x1d2),null,{'channelId':_0x4a4473});this[_0x47d568(0x1c2)][_0x47d568(0x1be)](_0x4a4473,_0x142ee9),this[_0x47d568(0x1e6)][_0x47d568(0x1be)](_0x4a4473,new _0x4a6d8e()),this[_0x47d568(0x1bd)][_0x47d568(0x1be)](_0x4a4473,new _0x4a6d8e()),this[_0x47d568(0x1c5)](_0x142ee9,_0x47d568(0x1ed),(_0x554f64,_0x268f1a)=>this[_0x47d568(0x1e7)](_0x4a4473,_0x268f1a)),this[_0x47d568(0x1c5)](_0x142ee9,_0x47d568(0x1ec),(_0x1c9835,_0x4ec6be)=>this[_0x47d568(0x1f3)](_0x4a4473,_0x4ec6be));for(const _0x3aa194 of _0x142ee9)this[_0x47d568(0x1e7)](_0x4a4473,_0x3aa194);}[_0x3a9e37(0x1ea)](_0x23c6b4){const _0x454909=_0x3a9e37;if(!this[_0x454909(0x1c2)][_0x454909(0x1f5)](_0x23c6b4))throw new _0x366bc9(_0x454909(0x1d3),null,{'channelId':_0x23c6b4});const _0x235433=this[_0x454909(0x1c2)][_0x454909(0x1eb)](_0x23c6b4);this[_0x454909(0x1d5)](_0x235433);for(const _0xf46461 of _0x235433)_0x454909(0x1b6)===this[_0x454909(0x1e2)][_0x454909(0x1f0)][_0x454909(0x1eb)](_0x223c7d)[_0x454909(0x1f1)]&&this[_0x454909(0x1f3)](_0x23c6b4,_0xf46461);this[_0x454909(0x1c2)][_0x454909(0x1cb)](_0x23c6b4),this[_0x454909(0x1e6)][_0x454909(0x1cb)](_0x23c6b4),this[_0x454909(0x1bd)][_0x454909(0x1cb)](_0x23c6b4);}get[_0x3a9e37(0x1e1)](){const _0x2fe05f=_0x3a9e37;return this[_0x2fe05f(0x1e2)][_0x2fe05f(0x1f0)][_0x2fe05f(0x1eb)](_0x223c7d)[_0x2fe05f(0x1e5)][_0x2fe05f(0x1e3)];}[_0x3a9e37(0x1ba)](_0x1f1efa){const _0x57d9fc=_0x3a9e37;for(const _0x365d22 of this[_0x57d9fc(0x1e6)][_0x57d9fc(0x1d1)]())for(const _0x259712 of _0x365d22)if(_0x259712['id']===_0x1f1efa)return _0x259712[_0x57d9fc(0x1cf)];}[_0x3a9e37(0x1c0)](_0x40f401,_0xebe008){const _0x2600e8=_0x3a9e37,_0x1af88a=_0xebe008?[this[_0x2600e8(0x1e6)][_0x2600e8(0x1eb)](_0xebe008)]:this[_0x2600e8(0x1e6)][_0x2600e8(0x1d1)](),_0x1e6d65=new Set();for(const _0x679661 of _0x1af88a)for(const _0x5d0f58 of _0x679661)_0x5d0f58[_0x2600e8(0x1cf)]['id']===_0x40f401['id']&&_0x1e6d65[_0x2600e8(0x1ed)](_0x5d0f58['id']);return _0x1e6d65;}[_0x3a9e37(0x1d6)](_0x17c837){const _0x40da74=_0x3a9e37;for(const _0xb80f13 of this[_0x40da74(0x1e6)][_0x40da74(0x1d1)]())for(const _0x5c72f6 of _0xb80f13)if(_0x5c72f6[_0x40da74(0x1cf)]===_0x17c837)return _0x5c72f6[_0x40da74(0x1ca)];}[_0x3a9e37(0x1e7)](_0x5224e9,_0x4395bc){const _0x14dea5=_0x3a9e37;if(_0x14dea5(0x1b6)!==this[_0x14dea5(0x1e2)][_0x14dea5(0x1f0)][_0x14dea5(0x1eb)](_0x223c7d)[_0x14dea5(0x1f1)])return;const _0x1b5309=_0x4395bc[_0x14dea5(0x1cf)],_0x27d092=this[_0x14dea5(0x1bc)][_0x14dea5(0x1df)](_0x1b5309['id'])||this[_0x14dea5(0x1dc)](_0x1b5309),_0x54dfdd=Object[_0x14dea5(0x1bb)]({},_0x4395bc,{'user':_0x27d092});if(this[_0x14dea5(0x1e6)][_0x14dea5(0x1eb)](_0x5224e9)[_0x14dea5(0x1ed)](_0x54dfdd),!_0x1b5309[_0x14dea5(0x1ee)]){const _0x248797=this[_0x14dea5(0x1bd)][_0x14dea5(0x1eb)](_0x5224e9);_0x248797[_0x14dea5(0x1f5)](_0x27d092['id'])||_0x248797[_0x14dea5(0x1ed)](_0x27d092),this[_0x14dea5(0x1bf)][_0x14dea5(0x1f5)](_0x27d092['id'])||_0x1b5309[_0x14dea5(0x1ee)]||this[_0x14dea5(0x1bf)][_0x14dea5(0x1ed)](_0x27d092,_0x27d092[_0x14dea5(0x1da)]?0x0:void 0x0);}this[_0x14dea5(0x1c8)](_0x14dea5(0x1b9)+_0x5224e9,{'channelId':_0x5224e9,'session':_0x54dfdd});}[_0x3a9e37(0x1f3)](_0x47f69a,_0x3a4a3c){const _0x4c307d=_0x3a9e37;if(_0x4c307d(0x1b6)!==this[_0x4c307d(0x1e2)][_0x4c307d(0x1f0)][_0x4c307d(0x1eb)](_0x223c7d)[_0x4c307d(0x1f1)])return;const _0x35004e=this[_0x4c307d(0x1bd)][_0x4c307d(0x1eb)](_0x47f69a),_0x52452d=_0x3a4a3c[_0x4c307d(0x1cf)];_0x52452d['id']&&(this[_0x4c307d(0x1e6)][_0x4c307d(0x1eb)](_0x47f69a)[_0x4c307d(0x1ec)](_0x3a4a3c['id']),_0x35004e[_0x4c307d(0x1f5)](_0x52452d['id'])&&!this[_0x4c307d(0x1c0)](_0x52452d,_0x47f69a)[_0x4c307d(0x1e0)]&&_0x35004e[_0x4c307d(0x1ec)](_0x52452d['id']),this[_0x4c307d(0x1bf)][_0x4c307d(0x1eb)](_0x52452d['id'])&&!this[_0x4c307d(0x1c0)](_0x52452d)[_0x4c307d(0x1e0)]&&this[_0x4c307d(0x1bf)][_0x4c307d(0x1ec)](_0x52452d['id']));}[_0x3a9e37(0x1dc)](_0x56a675,_0x99915a){const _0x6e505=_0x3a9e37,_0x33178f=this[_0x6e505(0x1bc)][_0x6e505(0x1cc)](_0x56a675);return _0x99915a&&this[_0x6e505(0x1bc)][_0x6e505(0x1db)](_0x56a675['id']),_0x33178f[_0x6e505(0x1d0)]=this[_0x6e505(0x1c3)]++,_0x33178f;}}
23
+ const _0x250a4d=_0x3cd4;(function(_0x1771b0,_0x1fe6db){const _0x582ed6=_0x3cd4,_0xbc139b=_0x1771b0();while(!![]){try{const _0x24db2e=-parseInt(_0x582ed6(0x16e))/0x1*(parseInt(_0x582ed6(0x16a))/0x2)+parseInt(_0x582ed6(0x14f))/0x3+-parseInt(_0x582ed6(0x149))/0x4*(parseInt(_0x582ed6(0x158))/0x5)+parseInt(_0x582ed6(0x156))/0x6+parseInt(_0x582ed6(0x15d))/0x7*(-parseInt(_0x582ed6(0x16d))/0x8)+parseInt(_0x582ed6(0x145))/0x9+-parseInt(_0x582ed6(0x14a))/0xa;if(_0x24db2e===_0x1fe6db)break;else _0xbc139b['push'](_0xbc139b['shift']());}catch(_0x563f11){_0xbc139b['push'](_0xbc139b['shift']());}}}(_0x4aaa,0x29aef));import{ContextPlugin as _0xfb0173}from'ckeditor5/src/core.js';function _0x4aaa(){const _0x24de6f=['Sessions','context','hiddenInPresenceList','channelSessions','385935vDRxMh','remove','state','requires','connection','assign','register','1160472kawDbl','init','442415dYXeml','getUserRole','add','getUserBySessionId','has','122801IJAcFC','_handleSessionRemove','_uniqueUsersCount','size','sessions-register-already-registered','_registeredSessions','channelConnectedUsers','pluginName','sessions-unregister-not-exist','plugins','change:state','isPremiumPlugin','_users','1532xwhXRv','_handleSessionAdd','values','64xKumJp','153PIRObJ','unregister','role','addUser','set','_createUser','sessionAdd:','defineMe','listenTo','mySessionId','user','forEach','delete','allConnectedUsers','getUserSessions','isMe','clear','connected','fire','getUser','isOfficialPlugin','sessionId','3029094dBNQTI','orderNumber','stopListening','get','4ADCYdA','1418630TrIAsx'];_0x4aaa=function(){return _0x24de6f;};return _0x4aaa();}import{Collection as _0x1f312d,CKEditorError as _0x182810}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x442b89}from'./websocketgateway.js';import{Users as _0x11f6a4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3cd4(_0x3dff6b,_0x870c28){const _0x4aaa61=_0x4aaa();return _0x3cd4=function(_0x3cd41f,_0x3ca1cf){_0x3cd41f=_0x3cd41f-0x138;let _0x118968=_0x4aaa61[_0x3cd41f];return _0x118968;},_0x3cd4(_0x3dff6b,_0x870c28);}export class Sessions extends _0xfb0173{[_0x250a4d(0x14e)];[_0x250a4d(0x163)];[_0x250a4d(0x13c)];[_0x250a4d(0x162)];[_0x250a4d(0x15f)];[_0x250a4d(0x169)];static get[_0x250a4d(0x164)](){const _0x3f6ab9=_0x250a4d;return _0x3f6ab9(0x14b);}static get[_0x250a4d(0x143)](){return!0x0;}static get[_0x250a4d(0x168)](){return!0x0;}static get[_0x250a4d(0x152)](){return[_0x442b89,_0x11f6a4];}constructor(_0x3c78cf){const _0x4147cc=_0x250a4d;super(_0x3c78cf),this[_0x4147cc(0x14e)]=new Map(),this[_0x4147cc(0x163)]=new Map(),this[_0x4147cc(0x13c)]=new _0x1f312d(),this[_0x4147cc(0x162)]=new Map(),this[_0x4147cc(0x15f)]=0x0,this[_0x4147cc(0x169)]=this[_0x4147cc(0x14c)][_0x4147cc(0x166)][_0x4147cc(0x148)](_0x11f6a4);}[_0x250a4d(0x157)](){const _0x34cfa5=_0x250a4d,_0x156775=this[_0x34cfa5(0x14c)][_0x34cfa5(0x166)][_0x34cfa5(0x148)](_0x442b89);this[_0x34cfa5(0x176)](_0x156775,_0x34cfa5(0x167),(_0x22cef3,_0x4e773f,_0x2abb38)=>{const _0xec6096=_0x34cfa5;if(_0xec6096(0x140)!==_0x2abb38)this[_0xec6096(0x14e)][_0xec6096(0x13a)](_0x5bc25f=>_0x5bc25f[_0xec6096(0x13f)]()),this[_0xec6096(0x163)][_0xec6096(0x13a)](_0x3c9ddd=>_0x3c9ddd[_0xec6096(0x13f)]()),this[_0xec6096(0x13c)][_0xec6096(0x13f)]();else{for(const [_0x396a70,_0x56763b]of this[_0xec6096(0x162)])for(const _0x378a35 of _0x56763b)this[_0xec6096(0x16b)](_0x396a70,_0x378a35);}}),this[_0x34cfa5(0x173)](_0x156775[_0x34cfa5(0x153)]['me'],!0x0);}[_0x250a4d(0x155)](_0x31d8d9,_0xee673){const _0x12248b=_0x250a4d;if(this[_0x12248b(0x162)][_0x12248b(0x15c)](_0x31d8d9))throw new _0x182810(_0x12248b(0x161),null,{'channelId':_0x31d8d9});this[_0x12248b(0x162)][_0x12248b(0x172)](_0x31d8d9,_0xee673),this[_0x12248b(0x14e)][_0x12248b(0x172)](_0x31d8d9,new _0x1f312d()),this[_0x12248b(0x163)][_0x12248b(0x172)](_0x31d8d9,new _0x1f312d()),this[_0x12248b(0x176)](_0xee673,_0x12248b(0x15a),(_0x1ddc99,_0x1f7546)=>this[_0x12248b(0x16b)](_0x31d8d9,_0x1f7546)),this[_0x12248b(0x176)](_0xee673,_0x12248b(0x150),(_0x1f5370,_0x2682f6)=>this[_0x12248b(0x15e)](_0x31d8d9,_0x2682f6));for(const _0x9c40e8 of _0xee673)this[_0x12248b(0x16b)](_0x31d8d9,_0x9c40e8);}[_0x250a4d(0x16f)](_0x42ceaf){const _0x3acc0e=_0x250a4d;if(!this[_0x3acc0e(0x162)][_0x3acc0e(0x15c)](_0x42ceaf))throw new _0x182810(_0x3acc0e(0x165),null,{'channelId':_0x42ceaf});const _0x5b94f2=this[_0x3acc0e(0x162)][_0x3acc0e(0x148)](_0x42ceaf);this[_0x3acc0e(0x147)](_0x5b94f2);for(const _0x191977 of _0x5b94f2)_0x3acc0e(0x140)===this[_0x3acc0e(0x14c)][_0x3acc0e(0x166)][_0x3acc0e(0x148)](_0x442b89)[_0x3acc0e(0x151)]&&this[_0x3acc0e(0x15e)](_0x42ceaf,_0x191977);this[_0x3acc0e(0x162)][_0x3acc0e(0x13b)](_0x42ceaf),this[_0x3acc0e(0x14e)][_0x3acc0e(0x13b)](_0x42ceaf),this[_0x3acc0e(0x163)][_0x3acc0e(0x13b)](_0x42ceaf);}get[_0x250a4d(0x138)](){const _0xe13edc=_0x250a4d;return this[_0xe13edc(0x14c)][_0xe13edc(0x166)][_0xe13edc(0x148)](_0x442b89)[_0xe13edc(0x153)][_0xe13edc(0x144)];}[_0x250a4d(0x15b)](_0xcf0819){const _0x173d56=_0x250a4d;for(const _0x534540 of this[_0x173d56(0x14e)][_0x173d56(0x16c)]())for(const _0x5070a5 of _0x534540)if(_0x5070a5['id']===_0xcf0819)return _0x5070a5[_0x173d56(0x139)];}[_0x250a4d(0x13d)](_0x3d77a2,_0x1577ef){const _0x5488ab=_0x250a4d,_0x18b92f=_0x1577ef?[this[_0x5488ab(0x14e)][_0x5488ab(0x148)](_0x1577ef)]:this[_0x5488ab(0x14e)][_0x5488ab(0x16c)](),_0x2e021f=new Set();for(const _0x232371 of _0x18b92f)for(const _0x4105d6 of _0x232371)_0x4105d6[_0x5488ab(0x139)]['id']===_0x3d77a2['id']&&_0x2e021f[_0x5488ab(0x15a)](_0x4105d6['id']);return _0x2e021f;}[_0x250a4d(0x159)](_0x5e22b4){const _0x4ebbf9=_0x250a4d;for(const _0x2eb080 of this[_0x4ebbf9(0x14e)][_0x4ebbf9(0x16c)]())for(const _0x282e44 of _0x2eb080)if(_0x282e44[_0x4ebbf9(0x139)]===_0x5e22b4)return _0x282e44[_0x4ebbf9(0x170)];}[_0x250a4d(0x16b)](_0x49ddea,_0x3eabc9){const _0xd74794=_0x250a4d;if(_0xd74794(0x140)!==this[_0xd74794(0x14c)][_0xd74794(0x166)][_0xd74794(0x148)](_0x442b89)[_0xd74794(0x151)])return;const _0x7ee7dd=_0x3eabc9[_0xd74794(0x139)],_0x5b6652=this[_0xd74794(0x169)][_0xd74794(0x142)](_0x7ee7dd['id'])||this[_0xd74794(0x173)](_0x7ee7dd),_0x54829e=Object[_0xd74794(0x154)]({},_0x3eabc9,{'user':_0x5b6652});if(this[_0xd74794(0x14e)][_0xd74794(0x148)](_0x49ddea)[_0xd74794(0x15a)](_0x54829e),!_0x7ee7dd[_0xd74794(0x14d)]){const _0xe0740c=this[_0xd74794(0x163)][_0xd74794(0x148)](_0x49ddea);_0xe0740c[_0xd74794(0x15c)](_0x5b6652['id'])||_0xe0740c[_0xd74794(0x15a)](_0x5b6652),this[_0xd74794(0x13c)][_0xd74794(0x15c)](_0x5b6652['id'])||_0x7ee7dd[_0xd74794(0x14d)]||this[_0xd74794(0x13c)][_0xd74794(0x15a)](_0x5b6652,_0x5b6652[_0xd74794(0x13e)]?0x0:void 0x0);}this[_0xd74794(0x141)](_0xd74794(0x174)+_0x49ddea,{'channelId':_0x49ddea,'session':_0x54829e});}[_0x250a4d(0x15e)](_0x325448,_0xa9dfbd){const _0x48ffe1=_0x250a4d;if(_0x48ffe1(0x140)!==this[_0x48ffe1(0x14c)][_0x48ffe1(0x166)][_0x48ffe1(0x148)](_0x442b89)[_0x48ffe1(0x151)])return;const _0x379838=this[_0x48ffe1(0x163)][_0x48ffe1(0x148)](_0x325448),_0x46eb8f=_0xa9dfbd[_0x48ffe1(0x139)];_0x46eb8f['id']&&(this[_0x48ffe1(0x14e)][_0x48ffe1(0x148)](_0x325448)[_0x48ffe1(0x150)](_0xa9dfbd['id']),_0x379838[_0x48ffe1(0x15c)](_0x46eb8f['id'])&&!this[_0x48ffe1(0x13d)](_0x46eb8f,_0x325448)[_0x48ffe1(0x160)]&&_0x379838[_0x48ffe1(0x150)](_0x46eb8f['id']),this[_0x48ffe1(0x13c)][_0x48ffe1(0x148)](_0x46eb8f['id'])&&!this[_0x48ffe1(0x13d)](_0x46eb8f)[_0x48ffe1(0x160)]&&this[_0x48ffe1(0x13c)][_0x48ffe1(0x150)](_0x46eb8f['id']));}[_0x250a4d(0x173)](_0x32db8e,_0x21ec0b){const _0x181bc1=_0x250a4d,_0x1404ab=this[_0x181bc1(0x169)][_0x181bc1(0x171)](_0x32db8e);return _0x21ec0b&&this[_0x181bc1(0x169)][_0x181bc1(0x175)](_0x32db8e['id']),_0x1404ab[_0x181bc1(0x146)]=this[_0x181bc1(0x15f)]++,_0x1404ab;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32326d=_0x4a17;(function(_0x400bf0,_0x18f78f){const _0x1a814f=_0x4a17,_0x11af21=_0x400bf0();while(!![]){try{const _0x59249a=-parseInt(_0x1a814f(0x6f))/0x1*(-parseInt(_0x1a814f(0x75))/0x2)+parseInt(_0x1a814f(0x8e))/0x3*(parseInt(_0x1a814f(0xd9))/0x4)+parseInt(_0x1a814f(0x6d))/0x5+parseInt(_0x1a814f(0x8c))/0x6+parseInt(_0x1a814f(0x7a))/0x7+parseInt(_0x1a814f(0xc0))/0x8*(parseInt(_0x1a814f(0xf2))/0x9)+parseInt(_0x1a814f(0x7e))/0xa*(-parseInt(_0x1a814f(0x72))/0xb);if(_0x59249a===_0x18f78f)break;else _0x11af21['push'](_0x11af21['shift']());}catch(_0x3001e6){_0x11af21['push'](_0x11af21['shift']());}}}(_0xff96,0x52b83));import{Plugin as _0x1774ab}from'ckeditor5/src/core.js';function _0x4a17(_0x2c64d4,_0x2a8076){const _0xff9693=_0xff96();return _0x4a17=function(_0x4a179c,_0x53f710){_0x4a179c=_0x4a179c-0x68;let _0xd17dd7=_0xff9693[_0x4a179c];return _0xd17dd7;},_0x4a17(_0x2c64d4,_0x2a8076);}import{global as _0x3c273b,DomEmitterMixin as _0x304139}from'ckeditor5/src/utils.js';function _0xff96(){const _0x5dc55e=['791924GSYtYu','getMarkerClass','getAttribute','marker','getSelectionClass','user:','undo','addMarker','remove','Escape','setCustomProperty','user:position','requires','getPositions','change','name','mouseleave','toRange','stopListening','$text','editing','start','markerRange','commands','removeClass','9TjwVsk','markerName','checkChild','userPositionMarker','mySessionId','applyOperation','classList','1980530ZxeDfS','getUserBySessionId','2111FkuRBu','markerToHighlight','nodeAfter','55kNAiXi','mapper','getStart','218puJgnY','isDocumentOperation','init','end','selection','4018532thketa','oldRange','isObject','addEventListener','4047150mytfQR','root','startsWith','getCustomProperty','change:range','highest','fromRange','isPremiumPlugin','span','get','hasDomSelection','getNearestSelectionRange','isInline','user:range','3467208PITHLy','getFirstRange','6EMNcQY','plugins','textContent','markerNameToElements','listenTo','_domEmitter','removeMarker','keydown','_createdBatches','document','$graveyard','delete','false','tableCell','model','clear','isSimilar','isCollapsed','mouseenter','size','isOfficialPlugin','reconvertMarker','setAttribute','pluginName','schema','createElement','createRange','createUIElement','toDomElement','ck-user__marker-tooltip','getContainedElement','markers','element','deletionPosition','ck-user__marker_hovered','markerToElement','spellcheck','data-session-id','render','for','add','user:position:','update:user:range','type','contenteditable','color','ck-user__marker\x20','innerHTML','ck-user__selection','editingDowncast','1506264GxtpNs','batch','editor','detach','afterInit','user:range:','conversion','split','UserMarkers','outerHTML','enqueueChange','isLimit','newRange','rootName','set','has','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','view','parent','hasContent','createUserMarkerOperations','getRange','orderNumber','destroy','updateMarker'];_0xff96=function(){return _0x5dc55e;};return _0xff96();}import{Sessions as _0x15ea52}from'./sessions.js';import{ModelLiveRange as _0x1142a8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x1774ab{[_0x32326d(0x93)]=new(_0x304139())();static get[_0x32326d(0xe5)](){return[_0x15ea52];}static get[_0x32326d(0xa5)](){const _0x5d7393=_0x32326d;return _0x5d7393(0xc8);}static get[_0x32326d(0xa2)](){return!0x0;}static get[_0x32326d(0x85)](){return!0x0;}[_0x32326d(0x77)](){const _0xcc7fcd=_0x32326d,_0xc7e11f=this[_0xcc7fcd(0xc2)],_0x51c8ac=_0xc7e11f[_0xcc7fcd(0x8f)][_0xcc7fcd(0x87)](_0x15ea52);_0xc7e11f[_0xcc7fcd(0xc6)][_0xcc7fcd(0xb5)](_0xcc7fcd(0xbf))[_0xcc7fcd(0xb1)]({'model':_0xcc7fcd(0xe4),'view':(_0x117c76,{writer:_0x635d21})=>function(_0x5f16e4,_0x10a725,_0x1a9a27,_0x20fece){const _0x28f9d4=_0xcc7fcd,_0x4697f2=_0x5f16e4[_0x28f9d4(0xf3)][_0x28f9d4(0xc7)](':')[0x2],_0x12741b=_0x1a9a27[_0x28f9d4(0x6e)](_0x4697f2);if(!_0x12741b||_0x4697f2===_0x1a9a27[_0x28f9d4(0x6a)])return;if(!_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xa6)][_0x28f9d4(0x68)](_0x5f16e4[_0x28f9d4(0xef)][_0x28f9d4(0xee)],_0x28f9d4(0xec)))return;const _0x126e90={'class':_0x28f9d4(0xbc)+_0x12741b[_0x28f9d4(0xbb)][_0x28f9d4(0xda)](),'data-name':_0x12741b[_0x28f9d4(0xe8)],'data-session-id':_0x4697f2},_0x3a2dc2=_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xad)][_0x28f9d4(0x87)](_0x5f16e4[_0x28f9d4(0xf3)]),_0x403fd8=_0x3a2dc2[_0x28f9d4(0x74)](),_0x22eae2=_0x403fd8[_0x28f9d4(0x71)],_0x16a0e3=_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xa6)];if(_0x22eae2&&_0x16a0e3[_0x28f9d4(0x7c)](_0x22eae2)&&_0x16a0e3[_0x28f9d4(0x8a)](_0x22eae2)&&!_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xad)][_0x28f9d4(0x87)](_0x28f9d4(0xc5)+_0x4697f2)[_0x28f9d4(0xd5)]()[_0x28f9d4(0x9f)])return;const _0x4ad6cb=_0x403fd8[_0x28f9d4(0xd2)];return _0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xa6)][_0x28f9d4(0xcb)](_0x4ad6cb)&&!_0x20fece[_0x28f9d4(0x9c)][_0x28f9d4(0xd3)](_0x4ad6cb)&&(_0x126e90[_0x28f9d4(0xba)]=!0x1),function(_0x7c7dde,_0xcbad08,_0x221902){const _0x36acce=_0x28f9d4,_0x3746d6=_0x7c7dde[_0x36acce(0xa9)](_0x36acce(0x86),_0xcbad08);return _0x7c7dde[_0x36acce(0xe3)](_0x36acce(0x69),!0x0,_0x3746d6),_0x3746d6[_0x36acce(0xb4)]=function(_0x2d680d){const _0x4908b2=_0x36acce,_0x289e04=this[_0x4908b2(0xaa)](_0x2d680d),_0x47e85b=document[_0x4908b2(0xa7)](_0x4908b2(0x86));return _0x47e85b[_0x4908b2(0x6c)][_0x4908b2(0xb6)](_0x4908b2(0xab)),_0x47e85b[_0x4908b2(0xa4)](_0x4908b2(0xba),_0x4908b2(0x9a)),_0x47e85b[_0x4908b2(0xa4)](_0x4908b2(0xb2),_0x4908b2(0x9a)),_0x47e85b[_0x4908b2(0x90)]=_0x221902[_0x4908b2(0xe8)],_0x289e04[_0x4908b2(0xbd)]=_0x4908b2(0xd0)+_0x47e85b[_0x4908b2(0xc9)]+'⁠',_0x289e04[_0x4908b2(0x7d)](_0x4908b2(0xa0),()=>{const _0x37b50b=_0x4908b2;_0x289e04[_0x37b50b(0x6c)][_0x37b50b(0xb6)](_0x37b50b(0xb0));}),_0x289e04[_0x4908b2(0x7d)](_0x4908b2(0xe9),()=>{const _0x5a0434=_0x4908b2;_0x289e04[_0x5a0434(0x6c)][_0x5a0434(0xe1)](_0x5a0434(0xb0));}),_0x289e04;},_0x3746d6[_0x36acce(0x9e)]=function(_0x7024b9){const _0x432629=_0x36acce;return!(!this[_0x432629(0x81)](_0x432629(0x69))||!_0x7024b9[_0x432629(0x81)](_0x432629(0x69))||this[_0x432629(0xdb)](_0x432629(0xb3))!=_0x7024b9[_0x432629(0xdb)](_0x432629(0xb3)));},_0x3746d6;}(_0x10a725,_0x126e90,_0x12741b);}(_0x117c76,_0x635d21,_0x51c8ac,_0xc7e11f)}),_0xc7e11f[_0xcc7fcd(0xc6)][_0xcc7fcd(0xb5)](_0xcc7fcd(0xbf))[_0xcc7fcd(0x70)]({'model':_0xcc7fcd(0x8b),'view':_0x3eaad8=>function(_0x3d2a05,_0x1c0db1){const _0x1981b9=_0xcc7fcd,_0x55aa3b=_0x3d2a05[_0x1981b9(0xf3)][_0x1981b9(0xc7)](':')[0x2];if(_0x55aa3b===_0x1c0db1[_0x1981b9(0x6a)])return null;const _0x5bc774=_0x1c0db1[_0x1981b9(0x6e)](_0x55aa3b);if(!_0x5bc774)return{'id':_0x55aa3b,'classes':[]};return{'id':_0x55aa3b,'classes':[_0x1981b9(0xbe),_0x5bc774[_0x1981b9(0xbb)][_0x1981b9(0xdd)]()],'attributes':{'data-session-id':_0x55aa3b},'priority':0x7d0+_0x5bc774[_0x1981b9(0xd6)]};}(_0x3eaad8,_0x51c8ac)}),function(_0x14e38e){const _0x498d85=_0xcc7fcd,_0x4f50a1=_0x14e38e[_0x498d85(0x9c)],_0xe8f2dc=new Map(),_0x3890de=_0x14e38e[_0x498d85(0x8f)][_0x498d85(0x87)](_0x15ea52);_0x4f50a1[_0x498d85(0xad)]['on'](_0x498d85(0xb8),(_0x45dbab,_0x416e84,_0x5811ce,_0x2634c4)=>{const _0x41e150=_0x498d85;if(!_0x2634c4&&_0xe8f2dc[_0x41e150(0x87)](_0x416e84[_0x41e150(0xe8)]))return _0xe8f2dc[_0x41e150(0x87)](_0x416e84[_0x41e150(0xe8)])[_0x41e150(0xc3)](),void _0xe8f2dc[_0x41e150(0x99)](_0x416e84[_0x41e150(0xe8)]);const _0x8dacf6=_0x416e84[_0x41e150(0xe8)][_0x41e150(0xc7)](':')[0x2];if(_0x8dacf6===_0x3890de[_0x41e150(0x6a)])return;const _0x578636=_0x41e150(0xb7)+_0x8dacf6;_0x4f50a1[_0x41e150(0xad)][_0x41e150(0xcf)](_0x578636)&&_0x14e38e[_0x41e150(0xed)][_0x41e150(0xa3)](_0x578636),_0x416e84['on'](_0x41e150(0x82),(_0x1bb0bd,_0x4d536d,_0x587d60)=>{const _0x187d04=_0x41e150;if(_0x187d04(0x98)!=_0x4d536d[_0x187d04(0x7f)][_0x187d04(0xcd)]&&_0x187d04(0x98)==_0x416e84[_0x187d04(0xd5)]()[_0x187d04(0x7f)][_0x187d04(0xcd)]&&!_0xe8f2dc[_0x187d04(0xcf)](_0x416e84[_0x187d04(0xe8)])){const _0x1d8176=_0x4f50a1[_0x187d04(0xa6)][_0x187d04(0x89)](_0x587d60[_0x187d04(0xaf)]);if(_0x1d8176){const _0x1c8fa4=_0x1142a8[_0x187d04(0x84)](_0x1d8176);_0xe8f2dc[_0x187d04(0xce)](_0x416e84[_0x187d04(0xe8)],_0x1c8fa4),_0x1c8fa4['on'](_0x187d04(0x82),(_0x22857e,_0x560b66,_0xb1c943)=>{const _0x1717d6=_0x187d04;if(_0x1717d6(0x98)==_0x1c8fa4[_0x1717d6(0x7f)][_0x1717d6(0xcd)]){const _0x2d6d25=_0x4f50a1[_0x1717d6(0xa6)][_0x1717d6(0x89)](_0xb1c943[_0x1717d6(0xaf)]);_0x2d6d25?(_0x1c8fa4[_0x1717d6(0xee)]=_0x2d6d25[_0x1717d6(0xee)],_0x1c8fa4[_0x1717d6(0x78)]=_0x2d6d25[_0x1717d6(0x78)]):(_0xe8f2dc[_0x1717d6(0x99)](_0x416e84[_0x1717d6(0xe8)]),_0x1c8fa4[_0x1717d6(0xc3)]());}});}}});}),_0x4f50a1[_0x498d85(0x97)]['on'](_0x498d85(0xe7),()=>{const _0x33e61a=_0x498d85;_0xe8f2dc[_0x33e61a(0xa1)]>0x0&&_0x4f50a1[_0x33e61a(0xca)]({'isUndoable':!0x1},_0x3bceac=>{const _0x1a6030=_0x33e61a;for(const [_0x489f8d,_0x5b034e]of _0xe8f2dc)_0x1a6030(0x98)==_0x4f50a1[_0x1a6030(0xad)][_0x1a6030(0x87)](_0x489f8d)[_0x1a6030(0xd5)]()[_0x1a6030(0x7f)][_0x1a6030(0xcd)]&&(te(_0x489f8d[_0x1a6030(0xc7)](':')[0x2],_0x5b034e[_0x1a6030(0xea)](),_0x4f50a1,_0x3bceac),_0x5b034e[_0x1a6030(0xc3)]());_0xe8f2dc[_0x1a6030(0x9d)]();});});}(_0xc7e11f),this[_0xcc7fcd(0x93)][_0xcc7fcd(0x92)](_0x3c273b[_0xcc7fcd(0x97)],_0xcc7fcd(0x95),(_0x3032df,{key:_0x2c41b0})=>{const _0x15e871=_0xcc7fcd;_0x15e871(0xe2)===_0x2c41b0&&function(_0x3dbb21){const _0x11e668=_0x15e871;_0x3dbb21[_0x11e668(0xed)][_0x11e668(0xd1)][_0x11e668(0xe7)](_0x5bbfda=>{const _0x94fdde=_0x11e668;for(const _0x378073 of _0x3dbb21[_0x94fdde(0x9c)][_0x94fdde(0xad)]){if(!_0x378073[_0x94fdde(0xe8)][_0x94fdde(0x80)](_0x94fdde(0xe4)))continue;const _0x2183c7=_0x3dbb21[_0x94fdde(0xed)][_0x94fdde(0x73)][_0x94fdde(0x91)](_0x378073[_0x94fdde(0xe8)]);if(_0x2183c7){for(const _0x55af3d of _0x2183c7)_0x5bbfda[_0x94fdde(0xf1)](_0x94fdde(0xb0),_0x55af3d);}}});}(_0xc7e11f);},{'useCapture':!0x0});}[_0x32326d(0xc4)](){const _0x4d8f67=_0x32326d,_0x5c2899=this[_0x4d8f67(0xc2)],_0x20dc10=_0x5c2899[_0x4d8f67(0xf0)][_0x4d8f67(0x87)](_0x4d8f67(0xdf));_0x20dc10&&_0x5c2899[_0x4d8f67(0x9c)]['on'](_0x4d8f67(0x6b),(_0x19e367,_0x471f28)=>{const _0x688a5f=_0x4d8f67,_0x2cd0f0=_0x471f28[0x0];if(!_0x2cd0f0[_0x688a5f(0x76)])return;if(_0x688a5f(0xdc)!=_0x2cd0f0[_0x688a5f(0xb9)]||!_0x2cd0f0[_0x688a5f(0xe8)][_0x688a5f(0x80)](_0x688a5f(0xde)))return;const _0x597012=_0x2cd0f0[_0x688a5f(0xc1)];_0x20dc10[_0x688a5f(0x96)][_0x688a5f(0xcf)](_0x597012)&&(_0x2cd0f0[_0x688a5f(0xcc)]=_0x2cd0f0[_0x688a5f(0x7b)]?_0x5c2899[_0x688a5f(0x9c)][_0x688a5f(0xa8)](_0x2cd0f0[_0x688a5f(0x7b)][_0x688a5f(0xee)],_0x2cd0f0[_0x688a5f(0x7b)][_0x688a5f(0x78)]):null);},{'priority':_0x4d8f67(0x83)});}[_0x32326d(0xd7)](){const _0xadcc49=_0x32326d;return this[_0xadcc49(0x93)][_0xadcc49(0xeb)](),super[_0xadcc49(0xd7)]();}[_0x32326d(0xd4)](){const _0x4728d8=_0x32326d,_0x329a15=this[_0x4728d8(0xc2)],_0x2cf974=_0x329a15[_0x4728d8(0x9c)][_0x4728d8(0x97)],_0x3817c3=_0x329a15[_0x4728d8(0x8f)][_0x4728d8(0x87)](_0x15ea52);_0x329a15[_0x4728d8(0x9c)][_0x4728d8(0xca)]({'isUndoable':!0x1},_0x50480d=>{const _0x72a901=_0x4728d8,_0x4ff6af=_0x72a901(0xc5)+_0x3817c3[_0x72a901(0x6a)],_0x35ec04=_0x72a901(0xb7)+_0x3817c3[_0x72a901(0x6a)],_0x2a3541=_0x329a15[_0x72a901(0x9c)][_0x72a901(0xad)][_0x72a901(0xcf)](_0x4ff6af);_0x329a15[_0x72a901(0xed)][_0x72a901(0xd1)][_0x72a901(0x88)]?te(_0x3817c3[_0x72a901(0x6a)],_0x2cf974[_0x72a901(0x79)][_0x72a901(0x8d)](),_0x329a15[_0x72a901(0x9c)],_0x50480d):_0x2a3541&&(_0x50480d[_0x72a901(0x94)](_0x4ff6af),_0x50480d[_0x72a901(0x94)](_0x35ec04));});}}function te(_0x23abcc,_0x377ebd,_0x406f49,_0x6e872f){const _0x563019=_0x32326d,_0x152b61=_0x563019(0xc5)+_0x23abcc,_0x148031=_0x563019(0xb7)+_0x23abcc,_0x99f00f=_0x377ebd[_0x563019(0xac)]();let _0x506bc3=_0x377ebd[_0x563019(0xee)];if(_0x99f00f&&_0x99f00f['is'](_0x563019(0xae),_0x563019(0x9b))){const _0x309386=function(_0x5ce791,_0x501136){const _0x545346=_0x563019;for(const _0x2d1fd0 of _0x5ce791[_0x545346(0xe6)]())if(_0x501136[_0x545346(0xa6)][_0x545346(0x68)](_0x2d1fd0,_0x545346(0xec)))return _0x2d1fd0;}(_0x377ebd,_0x406f49);_0x309386&&(_0x506bc3=_0x309386,_0x377ebd=_0x6e872f[_0x563019(0xa8)](_0x506bc3));}const _0x2fc5fa=_0x6e872f[_0x563019(0xa8)](_0x506bc3);_0x406f49[_0x563019(0xad)][_0x563019(0xcf)](_0x152b61)?(_0x6e872f[_0x563019(0xd8)](_0x152b61,{'range':_0x377ebd}),_0x6e872f[_0x563019(0xd8)](_0x148031,{'range':_0x2fc5fa})):(_0x6e872f[_0x563019(0xe0)](_0x152b61,{'range':_0x377ebd,'usingOperation':!0x0}),_0x6e872f[_0x563019(0xe0)](_0x148031,{'range':_0x2fc5fa,'usingOperation':!0x0}));}
23
+ function _0x1ff3(_0x815ab9,_0x3b04cb){const _0x2fc13d=_0x2fc1();return _0x1ff3=function(_0x1ff335,_0x4d4672){_0x1ff335=_0x1ff335-0x1ab;let _0x4e49c2=_0x2fc13d[_0x1ff335];return _0x4e49c2;},_0x1ff3(_0x815ab9,_0x3b04cb);}const _0x3e3438=_0x1ff3;(function(_0x4eb75e,_0x2c1267){const _0x146da0=_0x1ff3,_0x2ff586=_0x4eb75e();while(!![]){try{const _0x5302ae=-parseInt(_0x146da0(0x211))/0x1*(parseInt(_0x146da0(0x1f5))/0x2)+parseInt(_0x146da0(0x1c4))/0x3+-parseInt(_0x146da0(0x20e))/0x4*(-parseInt(_0x146da0(0x1c7))/0x5)+parseInt(_0x146da0(0x235))/0x6*(parseInt(_0x146da0(0x1ad))/0x7)+-parseInt(_0x146da0(0x1bd))/0x8+-parseInt(_0x146da0(0x1d9))/0x9+-parseInt(_0x146da0(0x1d3))/0xa;if(_0x5302ae===_0x2c1267)break;else _0x2ff586['push'](_0x2ff586['shift']());}catch(_0x4c84ef){_0x2ff586['push'](_0x2ff586['shift']());}}}(_0x2fc1,0x8243d));import{Plugin as _0x3d7f7a}from'ckeditor5/src/core.js';import{global as _0x1c9274,DomEmitterMixin as _0x22e807}from'ckeditor5/src/utils.js';import{Sessions as _0x2ae2f7}from'./sessions.js';import{ModelLiveRange as _0xaa9b84}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x2fc1(){const _0x3ba305=['applyOperation','deletionPosition','root','orderNumber','checkChild','getAttribute','user:','hasDomSelection','init','outerHTML','listenTo','enqueueChange','selection','element','rootName','conversion','change','size','model','isInline','plugins','isDocumentOperation','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markers','batch','toDomElement','nodeAfter','color','6mhdTsr','hasContent','update:user:range','541653OKlblJ','oldRange','getSelectionClass','commands','false','end','getStart','afterInit','requires','has','toRange','UserMarkers','name','user:range','detach','editingDowncast','3006160moWvGQ','data-session-id','setCustomProperty','mouseenter','$text','getFirstRange','$graveyard','2281653zoeBHh','getNearestSelectionRange','schema','1800340ZcSiYy','render','createRange','tableCell','isLimit','add','setAttribute','innerHTML','ck-user__selection','createElement','isPremiumPlugin','markerRange','812120oKtDlY','remove','user:position:','user:position','set','isSimilar','1429425HKXZLh','markerToHighlight','contenteditable','_createdBatches','keydown','reconvertMarker','getCustomProperty','pluginName','markerNameToElements','isObject','classList','start','fromRange','createUIElement','undo','removeClass','_domEmitter','spellcheck','stopListening','ck-user__marker_hovered','mapper','getPositions','marker','editing','getContainedElement','get','change:range','delete','164SQEyjZ','document','view','type','split','updateMarker','editor','highest','isCollapsed','newRange','markerName','for','getMarkerClass','isOfficialPlugin','parent','createUserMarkerOperations','ck-user__marker\x20','getRange','user:range:','addEventListener','removeMarker','addMarker','Escape','startsWith','destroy','4IHDnUa','mouseleave','markerToElement','593vbOWVA','textContent','userPositionMarker','mySessionId','span','getUserBySessionId','clear','ck-user__marker-tooltip'];_0x2fc1=function(){return _0x3ba305;};return _0x2fc1();}export class UserMarkers extends _0x3d7f7a{[_0x3e3438(0x1e9)]=new(_0x22e807())();static get[_0x3e3438(0x1b5)](){return[_0x2ae2f7];}static get[_0x3e3438(0x1e0)](){const _0x1c046b=_0x3e3438;return _0x1c046b(0x1b8);}static get[_0x3e3438(0x202)](){return!0x0;}static get[_0x3e3438(0x1d1)](){return!0x0;}[_0x3e3438(0x221)](){const _0xc66dbf=_0x3e3438,_0x4d1d4f=this[_0xc66dbf(0x1fb)],_0x1cd637=_0x4d1d4f[_0xc66dbf(0x22d)][_0xc66dbf(0x1f2)](_0x2ae2f7);_0x4d1d4f[_0xc66dbf(0x228)][_0xc66dbf(0x200)](_0xc66dbf(0x1bc))[_0xc66dbf(0x210)]({'model':_0xc66dbf(0x1d6),'view':(_0xe448d3,{writer:_0xe29a69})=>function(_0x29152c,_0x2bd2f5,_0x52ee82,_0x32610a){const _0x4c1d33=_0xc66dbf,_0x8c7e7f=_0x29152c[_0x4c1d33(0x1ff)][_0x4c1d33(0x1f9)](':')[0x2],_0x3faf9b=_0x52ee82[_0x4c1d33(0x216)](_0x8c7e7f);if(!_0x3faf9b||_0x8c7e7f===_0x52ee82[_0x4c1d33(0x214)])return;if(!_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1c6)][_0x4c1d33(0x21d)](_0x29152c[_0x4c1d33(0x1d2)][_0x4c1d33(0x1e4)],_0x4c1d33(0x1c1)))return;const _0x67950={'class':_0x4c1d33(0x205)+_0x3faf9b[_0x4c1d33(0x234)][_0x4c1d33(0x201)](),'data-name':_0x3faf9b[_0x4c1d33(0x1b9)],'data-session-id':_0x8c7e7f},_0x4f0c09=_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x230)][_0x4c1d33(0x1f2)](_0x29152c[_0x4c1d33(0x1ff)]),_0x1ef265=_0x4f0c09[_0x4c1d33(0x1b3)](),_0x3e5dec=_0x1ef265[_0x4c1d33(0x233)],_0x3a9707=_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1c6)];if(_0x3e5dec&&_0x3a9707[_0x4c1d33(0x1e2)](_0x3e5dec)&&_0x3a9707[_0x4c1d33(0x22c)](_0x3e5dec)&&!_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x230)][_0x4c1d33(0x1f2)](_0x4c1d33(0x207)+_0x8c7e7f)[_0x4c1d33(0x206)]()[_0x4c1d33(0x1fd)])return;const _0x110977=_0x1ef265[_0x4c1d33(0x203)];return _0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1c6)][_0x4c1d33(0x1cb)](_0x110977)&&!_0x32610a[_0x4c1d33(0x22b)][_0x4c1d33(0x1ab)](_0x110977)&&(_0x67950[_0x4c1d33(0x1db)]=!0x1),function(_0x45a1e8,_0x40a6af,_0x211b8b){const _0xd088ae=_0x4c1d33,_0xeb2325=_0x45a1e8[_0xd088ae(0x1e6)](_0xd088ae(0x215),_0x40a6af);return _0x45a1e8[_0xd088ae(0x1bf)](_0xd088ae(0x213),!0x0,_0xeb2325),_0xeb2325[_0xd088ae(0x1c8)]=function(_0x10142d){const _0x39a0b4=_0xd088ae,_0x19fffa=this[_0x39a0b4(0x232)](_0x10142d),_0x5c4d28=document[_0x39a0b4(0x1d0)](_0x39a0b4(0x215));return _0x5c4d28[_0x39a0b4(0x1e3)][_0x39a0b4(0x1cc)](_0x39a0b4(0x218)),_0x5c4d28[_0x39a0b4(0x1cd)](_0x39a0b4(0x1db),_0x39a0b4(0x1b1)),_0x5c4d28[_0x39a0b4(0x1cd)](_0x39a0b4(0x1ea),_0x39a0b4(0x1b1)),_0x5c4d28[_0x39a0b4(0x212)]=_0x211b8b[_0x39a0b4(0x1b9)],_0x19fffa[_0x39a0b4(0x1ce)]=_0x39a0b4(0x22f)+_0x5c4d28[_0x39a0b4(0x222)]+'⁠',_0x19fffa[_0x39a0b4(0x208)](_0x39a0b4(0x1c0),()=>{const _0x454665=_0x39a0b4;_0x19fffa[_0x454665(0x1e3)][_0x454665(0x1cc)](_0x454665(0x1ec));}),_0x19fffa[_0x39a0b4(0x208)](_0x39a0b4(0x20f),()=>{const _0x46edf7=_0x39a0b4;_0x19fffa[_0x46edf7(0x1e3)][_0x46edf7(0x1d4)](_0x46edf7(0x1ec));}),_0x19fffa;},_0xeb2325[_0xd088ae(0x1d8)]=function(_0x51c7c5){const _0x262df6=_0xd088ae;return!(!this[_0x262df6(0x1df)](_0x262df6(0x213))||!_0x51c7c5[_0x262df6(0x1df)](_0x262df6(0x213))||this[_0x262df6(0x21e)](_0x262df6(0x1be))!=_0x51c7c5[_0x262df6(0x21e)](_0x262df6(0x1be)));},_0xeb2325;}(_0x2bd2f5,_0x67950,_0x3faf9b);}(_0xe448d3,_0xe29a69,_0x1cd637,_0x4d1d4f)}),_0x4d1d4f[_0xc66dbf(0x228)][_0xc66dbf(0x200)](_0xc66dbf(0x1bc))[_0xc66dbf(0x1da)]({'model':_0xc66dbf(0x1ba),'view':_0x53b486=>function(_0x438064,_0x3ab130){const _0x4ee02e=_0xc66dbf,_0x4c6240=_0x438064[_0x4ee02e(0x1ff)][_0x4ee02e(0x1f9)](':')[0x2];if(_0x4c6240===_0x3ab130[_0x4ee02e(0x214)])return null;const _0x65b4ff=_0x3ab130[_0x4ee02e(0x216)](_0x4c6240);if(!_0x65b4ff)return{'id':_0x4c6240,'classes':[]};return{'id':_0x4c6240,'classes':[_0x4ee02e(0x1cf),_0x65b4ff[_0x4ee02e(0x234)][_0x4ee02e(0x1af)]()],'attributes':{'data-session-id':_0x4c6240},'priority':0x7d0+_0x65b4ff[_0x4ee02e(0x21c)]};}(_0x53b486,_0x1cd637)}),function(_0x31e216){const _0x121d6b=_0xc66dbf,_0x152ea6=_0x31e216[_0x121d6b(0x22b)],_0x30d9dd=new Map(),_0x2babc6=_0x31e216[_0x121d6b(0x22d)][_0x121d6b(0x1f2)](_0x2ae2f7);_0x152ea6[_0x121d6b(0x230)]['on'](_0x121d6b(0x1ac),(_0x275685,_0x245221,_0x115170,_0x59d496)=>{const _0x402bde=_0x121d6b;if(!_0x59d496&&_0x30d9dd[_0x402bde(0x1f2)](_0x245221[_0x402bde(0x1b9)]))return _0x30d9dd[_0x402bde(0x1f2)](_0x245221[_0x402bde(0x1b9)])[_0x402bde(0x1bb)](),void _0x30d9dd[_0x402bde(0x1f4)](_0x245221[_0x402bde(0x1b9)]);const _0x56b855=_0x245221[_0x402bde(0x1b9)][_0x402bde(0x1f9)](':')[0x2];if(_0x56b855===_0x2babc6[_0x402bde(0x214)])return;const _0x394b21=_0x402bde(0x1d5)+_0x56b855;_0x152ea6[_0x402bde(0x230)][_0x402bde(0x1b6)](_0x394b21)&&_0x31e216[_0x402bde(0x1f0)][_0x402bde(0x1de)](_0x394b21),_0x245221['on'](_0x402bde(0x1f3),(_0x38167d,_0x13a4f0,_0xf57b5a)=>{const _0x57c3a5=_0x402bde;if(_0x57c3a5(0x1c3)!=_0x13a4f0[_0x57c3a5(0x21b)][_0x57c3a5(0x227)]&&_0x57c3a5(0x1c3)==_0x245221[_0x57c3a5(0x206)]()[_0x57c3a5(0x21b)][_0x57c3a5(0x227)]&&!_0x30d9dd[_0x57c3a5(0x1b6)](_0x245221[_0x57c3a5(0x1b9)])){const _0x470c39=_0x152ea6[_0x57c3a5(0x1c6)][_0x57c3a5(0x1c5)](_0xf57b5a[_0x57c3a5(0x21a)]);if(_0x470c39){const _0x3a5340=_0xaa9b84[_0x57c3a5(0x1e5)](_0x470c39);_0x30d9dd[_0x57c3a5(0x1d7)](_0x245221[_0x57c3a5(0x1b9)],_0x3a5340),_0x3a5340['on'](_0x57c3a5(0x1f3),(_0x51bc70,_0x4457f7,_0xf7acd7)=>{const _0x5ca675=_0x57c3a5;if(_0x5ca675(0x1c3)==_0x3a5340[_0x5ca675(0x21b)][_0x5ca675(0x227)]){const _0x281912=_0x152ea6[_0x5ca675(0x1c6)][_0x5ca675(0x1c5)](_0xf7acd7[_0x5ca675(0x21a)]);_0x281912?(_0x3a5340[_0x5ca675(0x1e4)]=_0x281912[_0x5ca675(0x1e4)],_0x3a5340[_0x5ca675(0x1b2)]=_0x281912[_0x5ca675(0x1b2)]):(_0x30d9dd[_0x5ca675(0x1f4)](_0x245221[_0x5ca675(0x1b9)]),_0x3a5340[_0x5ca675(0x1bb)]());}});}}});}),_0x152ea6[_0x121d6b(0x1f6)]['on'](_0x121d6b(0x229),()=>{const _0x6c57c9=_0x121d6b;_0x30d9dd[_0x6c57c9(0x22a)]>0x0&&_0x152ea6[_0x6c57c9(0x224)]({'isUndoable':!0x1},_0x43111f=>{const _0x25754b=_0x6c57c9;for(const [_0x4128e5,_0x2ea2b4]of _0x30d9dd)_0x25754b(0x1c3)==_0x152ea6[_0x25754b(0x230)][_0x25754b(0x1f2)](_0x4128e5)[_0x25754b(0x206)]()[_0x25754b(0x21b)][_0x25754b(0x227)]&&(X(_0x4128e5[_0x25754b(0x1f9)](':')[0x2],_0x2ea2b4[_0x25754b(0x1b7)](),_0x152ea6,_0x43111f),_0x2ea2b4[_0x25754b(0x1bb)]());_0x30d9dd[_0x25754b(0x217)]();});});}(_0x4d1d4f),this[_0xc66dbf(0x1e9)][_0xc66dbf(0x223)](_0x1c9274[_0xc66dbf(0x1f6)],_0xc66dbf(0x1dd),(_0x51330a,{key:_0x4d535f})=>{const _0x77354=_0xc66dbf;_0x77354(0x20b)===_0x4d535f&&function(_0x4cae68){const _0x2dcf89=_0x77354;_0x4cae68[_0x2dcf89(0x1f0)][_0x2dcf89(0x1f7)][_0x2dcf89(0x229)](_0x482c26=>{const _0x44f5a6=_0x2dcf89;for(const _0x50fec8 of _0x4cae68[_0x44f5a6(0x22b)][_0x44f5a6(0x230)]){if(!_0x50fec8[_0x44f5a6(0x1b9)][_0x44f5a6(0x20c)](_0x44f5a6(0x1d6)))continue;const _0x5e7006=_0x4cae68[_0x44f5a6(0x1f0)][_0x44f5a6(0x1ed)][_0x44f5a6(0x1e1)](_0x50fec8[_0x44f5a6(0x1b9)]);if(_0x5e7006){for(const _0x1d903f of _0x5e7006)_0x482c26[_0x44f5a6(0x1e8)](_0x44f5a6(0x1ec),_0x1d903f);}}});}(_0x4d1d4f);},{'useCapture':!0x0});}[_0x3e3438(0x1b4)](){const _0x99ad5c=_0x3e3438,_0x4cdb17=this[_0x99ad5c(0x1fb)],_0x1e950d=_0x4cdb17[_0x99ad5c(0x1b0)][_0x99ad5c(0x1f2)](_0x99ad5c(0x1e7));_0x1e950d&&_0x4cdb17[_0x99ad5c(0x22b)]['on'](_0x99ad5c(0x219),(_0x5b6afc,_0x2ce169)=>{const _0x29b901=_0x99ad5c,_0x3d8f13=_0x2ce169[0x0];if(!_0x3d8f13[_0x29b901(0x22e)])return;if(_0x29b901(0x1ef)!=_0x3d8f13[_0x29b901(0x1f8)]||!_0x3d8f13[_0x29b901(0x1b9)][_0x29b901(0x20c)](_0x29b901(0x21f)))return;const _0x574170=_0x3d8f13[_0x29b901(0x231)];_0x1e950d[_0x29b901(0x1dc)][_0x29b901(0x1b6)](_0x574170)&&(_0x3d8f13[_0x29b901(0x1fe)]=_0x3d8f13[_0x29b901(0x1ae)]?_0x4cdb17[_0x29b901(0x22b)][_0x29b901(0x1c9)](_0x3d8f13[_0x29b901(0x1ae)][_0x29b901(0x1e4)],_0x3d8f13[_0x29b901(0x1ae)][_0x29b901(0x1b2)]):null);},{'priority':_0x99ad5c(0x1fc)});}[_0x3e3438(0x20d)](){const _0x5a2bf0=_0x3e3438;return this[_0x5a2bf0(0x1e9)][_0x5a2bf0(0x1eb)](),super[_0x5a2bf0(0x20d)]();}[_0x3e3438(0x204)](){const _0x4d54d1=_0x3e3438,_0x20a3a3=this[_0x4d54d1(0x1fb)],_0x4aac6b=_0x20a3a3[_0x4d54d1(0x22b)][_0x4d54d1(0x1f6)],_0x265340=_0x20a3a3[_0x4d54d1(0x22d)][_0x4d54d1(0x1f2)](_0x2ae2f7);_0x20a3a3[_0x4d54d1(0x22b)][_0x4d54d1(0x224)]({'isUndoable':!0x1},_0x2b43aa=>{const _0x3f82ee=_0x4d54d1,_0x5293d4=_0x3f82ee(0x207)+_0x265340[_0x3f82ee(0x214)],_0x133177=_0x3f82ee(0x1d5)+_0x265340[_0x3f82ee(0x214)],_0xf18218=_0x20a3a3[_0x3f82ee(0x22b)][_0x3f82ee(0x230)][_0x3f82ee(0x1b6)](_0x5293d4);_0x20a3a3[_0x3f82ee(0x1f0)][_0x3f82ee(0x1f7)][_0x3f82ee(0x220)]?X(_0x265340[_0x3f82ee(0x214)],_0x4aac6b[_0x3f82ee(0x225)][_0x3f82ee(0x1c2)](),_0x20a3a3[_0x3f82ee(0x22b)],_0x2b43aa):_0xf18218&&(_0x2b43aa[_0x3f82ee(0x209)](_0x5293d4),_0x2b43aa[_0x3f82ee(0x209)](_0x133177));});}}function X(_0x3bab5e,_0x5f0f49,_0x2a4fe8,_0x1e57cb){const _0x2a18e4=_0x3e3438,_0x9636a5=_0x2a18e4(0x207)+_0x3bab5e,_0x409df0=_0x2a18e4(0x1d5)+_0x3bab5e,_0x1ff7ce=_0x5f0f49[_0x2a18e4(0x1f1)]();let _0x185c6a=_0x5f0f49[_0x2a18e4(0x1e4)];if(_0x1ff7ce&&_0x1ff7ce['is'](_0x2a18e4(0x226),_0x2a18e4(0x1ca))){const _0x294522=function(_0x24ca7e,_0x347300){const _0x1e2ee7=_0x2a18e4;for(const _0x5deab4 of _0x24ca7e[_0x1e2ee7(0x1ee)]())if(_0x347300[_0x1e2ee7(0x1c6)][_0x1e2ee7(0x21d)](_0x5deab4,_0x1e2ee7(0x1c1)))return _0x5deab4;}(_0x5f0f49,_0x2a4fe8);_0x294522&&(_0x185c6a=_0x294522,_0x5f0f49=_0x1e57cb[_0x2a18e4(0x1c9)](_0x185c6a));}const _0x220bf5=_0x1e57cb[_0x2a18e4(0x1c9)](_0x185c6a);_0x2a4fe8[_0x2a18e4(0x230)][_0x2a18e4(0x1b6)](_0x9636a5)?(_0x1e57cb[_0x2a18e4(0x1fa)](_0x9636a5,{'range':_0x5f0f49}),_0x1e57cb[_0x2a18e4(0x1fa)](_0x409df0,{'range':_0x220bf5})):(_0x1e57cb[_0x2a18e4(0x20a)](_0x9636a5,{'range':_0x5f0f49,'usingOperation':!0x0}),_0x1e57cb[_0x2a18e4(0x20a)](_0x409df0,{'range':_0x220bf5,'usingOperation':!0x0}));}