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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x106fc3=_0x2dc2;function _0xbd4d(){const _0x442881=['keystrokes','items','1463110rdMxqR','hasPopup','div','.ck-balloon-panel_with-arrow','144YsONLY','focus','10helXSl','2762784QmVNVk','Connected\x20users\x20list','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','aria-expanded','presencelist:hide','isExpanded','relatedTarget','954508DqpLGE','766088IVezqU','bindTemplate','.ck-presence-list__dropdown-list','setTemplate','3549UdhUsv','createCollection','25832thJotW','presencelist:show','setAttribute','querySelector','element','set','list','2901070mSUMMN','2492397WmveOL','contains','ck-presence-list__list','listenTo','render','removeAttribute'];_0xbd4d=function(){return _0x442881;};return _0xbd4d();}(function(_0x29dc4d,_0x2a9250){const _0xe43081=_0x2dc2,_0x428937=_0x29dc4d();while(!![]){try{const _0x2daaf5=-parseInt(_0xe43081(0x1a6))/0x1+-parseInt(_0xe43081(0x18c))/0x2+-parseInt(_0xe43081(0x18d))/0x3+parseInt(_0xe43081(0x1a5))/0x4*(-parseInt(_0xe43081(0x19b))/0x5)+parseInt(_0xe43081(0x19c))/0x6+parseInt(_0xe43081(0x1aa))/0x7*(parseInt(_0xe43081(0x1ac))/0x8)+-parseInt(_0xe43081(0x199))/0x9*(-parseInt(_0xe43081(0x195))/0xa);if(_0x2daaf5===_0x2a9250)break;else _0x428937['push'](_0x428937['shift']());}catch(_0x2cb599){_0x428937['push'](_0x428937['shift']());}}}(_0xbd4d,0xdf1cb));import{View as _0x4cb79f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x410d71}from'ckeditor5/src/utils.js';function _0x2dc2(_0x443334,_0x485602){const _0xbd4d6d=_0xbd4d();return _0x2dc2=function(_0x2dc250,_0x30b80e){_0x2dc250=_0x2dc250-0x188;let _0x4301bb=_0xbd4d6d[_0x2dc250];return _0x4301bb;},_0x2dc2(_0x443334,_0x485602);}import{getTranslation as _0x3cd7d9}from'../../common-translations.js';export class PresenceInlineListView extends _0x4cb79f{[_0x106fc3(0x194)];[_0x106fc3(0x193)];constructor(_0x4b40c4){const _0x42ff34=_0x106fc3;super(_0x4b40c4);const _0x27bde6=this[_0x42ff34(0x1a7)];this[_0x42ff34(0x194)]=this[_0x42ff34(0x1ab)](),this[_0x42ff34(0x193)]=new _0x410d71(),this[_0x42ff34(0x18a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x42ff34(0x1a9)]({'tag':_0x42ff34(0x197),'attributes':{'aria-haspopup':_0x27bde6['if'](_0x42ff34(0x196)),'aria-expanded':_0x27bde6['to'](_0x42ff34(0x1a3),_0x3883c6=>this[_0x42ff34(0x196)]&&String(_0x3883c6)),'aria-label':_0x27bde6['to'](_0x42ff34(0x196),_0x541f9c=>_0x3cd7d9(_0x4b40c4,_0x541f9c?_0x42ff34(0x19f):_0x42ff34(0x19d))),'role':_0x42ff34(0x18b),'tabindex':_0x27bde6['to'](_0x42ff34(0x196),_0x132061=>!!_0x132061&&0x0),'class':['ck',_0x42ff34(0x18f)]},'children':this[_0x42ff34(0x194)],'on':{'mouseenter':_0x27bde6['to'](()=>this[_0x42ff34(0x19e)](_0x42ff34(0x1ad))),'mouseleave':_0x27bde6['to'](_0x40a15d=>{const _0x5b1870=_0x42ff34,_0x2c210a=_0x40a15d,_0x309bbf=document[_0x5b1870(0x188)](_0x5b1870(0x1a8)),_0x32454c=document[_0x5b1870(0x188)](_0x5b1870(0x198));_0x309bbf?.[_0x5b1870(0x18e)](_0x2c210a[_0x5b1870(0x1a4)])||_0x32454c?.[_0x5b1870(0x18e)](_0x2c210a[_0x5b1870(0x1a4)])||this[_0x5b1870(0x19e)](_0x5b1870(0x1a2));})}}),this['on'](_0x42ff34(0x1a0),(_0x57801,_0x2cabc1,_0xde1e48)=>{const _0x68b548=_0x42ff34;this[_0x68b548(0x189)]&&(_0xde1e48?this[_0x68b548(0x189)][_0x68b548(0x1ae)](_0x68b548(0x1a1),String(this[_0x68b548(0x1a3)])):this[_0x68b548(0x189)][_0x68b548(0x192)](_0x68b548(0x1a1)));});}[_0x106fc3(0x19a)](){const _0x5b9e84=_0x106fc3;this[_0x5b9e84(0x189)][_0x5b9e84(0x19a)]();}[_0x106fc3(0x191)](){const _0x24ecae=_0x106fc3;super[_0x24ecae(0x191)](),this[_0x24ecae(0x193)][_0x24ecae(0x190)](this[_0x24ecae(0x189)]);}}
23
+ const _0x1c5fbd=_0x3904;(function(_0x3189d9,_0x3c83b5){const _0x3d5a9c=_0x3904,_0x213581=_0x3189d9();while(!![]){try{const _0x4c744f=parseInt(_0x3d5a9c(0x181))/0x1*(-parseInt(_0x3d5a9c(0x191))/0x2)+parseInt(_0x3d5a9c(0x182))/0x3*(parseInt(_0x3d5a9c(0x17d))/0x4)+parseInt(_0x3d5a9c(0x196))/0x5*(-parseInt(_0x3d5a9c(0x185))/0x6)+parseInt(_0x3d5a9c(0x183))/0x7+parseInt(_0x3d5a9c(0x19a))/0x8*(parseInt(_0x3d5a9c(0x189))/0x9)+parseInt(_0x3d5a9c(0x184))/0xa*(-parseInt(_0x3d5a9c(0x199))/0xb)+-parseInt(_0x3d5a9c(0x19c))/0xc;if(_0x4c744f===_0x3c83b5)break;else _0x213581['push'](_0x213581['shift']());}catch(_0x5cf256){_0x213581['push'](_0x213581['shift']());}}}(_0xecd9,0x97993));import{View as _0x44faa9}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1226d3}from'ckeditor5/src/utils.js';import{getTranslation as _0x57f1e7}from'../../common-translations.js';function _0x3904(_0x320194,_0x56cbb5){const _0xecd9d8=_0xecd9();return _0x3904=function(_0x390487,_0x1267eb){_0x390487=_0x390487-0x17d;let _0x90cbd2=_0xecd9d8[_0x390487];return _0x90cbd2;},_0x3904(_0x320194,_0x56cbb5);}export class PresenceInlineListView extends _0x44faa9{[_0x1c5fbd(0x1a5)];[_0x1c5fbd(0x1a2)];constructor(_0x4e53fa){const _0x489c33=_0x1c5fbd;super(_0x4e53fa);const _0x200155=this[_0x489c33(0x18b)];this[_0x489c33(0x1a5)]=this[_0x489c33(0x17e)](),this[_0x489c33(0x1a2)]=new _0x1226d3(),this[_0x489c33(0x187)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x489c33(0x18c)]({'tag':_0x489c33(0x195),'attributes':{'aria-haspopup':_0x200155['if'](_0x489c33(0x19f)),'aria-expanded':_0x200155['to'](_0x489c33(0x188),_0x1be2b1=>this[_0x489c33(0x19f)]&&String(_0x1be2b1)),'aria-label':_0x200155['to'](_0x489c33(0x19f),_0x2c580c=>_0x57f1e7(_0x4e53fa,_0x2c580c?_0x489c33(0x18a):_0x489c33(0x194))),'role':_0x489c33(0x197),'tabindex':_0x200155['to'](_0x489c33(0x19f),_0x490904=>!!_0x490904&&0x0),'class':['ck',_0x489c33(0x1a4)]},'children':this[_0x489c33(0x1a5)],'on':{'mouseenter':_0x200155['to'](()=>this[_0x489c33(0x180)](_0x489c33(0x198))),'mouseleave':_0x200155['to'](_0x205a7e=>{const _0x1c63e3=_0x489c33,_0x21ecbe=_0x205a7e,_0x252a8e=document[_0x1c63e3(0x19e)](_0x1c63e3(0x18d)),_0x4c536f=document[_0x1c63e3(0x19e)](_0x1c63e3(0x190));_0x252a8e?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||_0x4c536f?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||this[_0x1c63e3(0x180)](_0x1c63e3(0x186));})}}),this['on'](_0x489c33(0x18e),(_0x288ee1,_0x27559e,_0x483249)=>{const _0x40f976=_0x489c33;this[_0x40f976(0x1a1)]&&(_0x483249?this[_0x40f976(0x1a1)][_0x40f976(0x17f)](_0x40f976(0x1a0),String(this[_0x40f976(0x188)])):this[_0x40f976(0x1a1)][_0x40f976(0x19d)](_0x40f976(0x1a0)));});}[_0x1c5fbd(0x18f)](){const _0x3b635b=_0x1c5fbd;this[_0x3b635b(0x1a1)][_0x3b635b(0x18f)]();}[_0x1c5fbd(0x19b)](){const _0x16ce09=_0x1c5fbd;super[_0x16ce09(0x19b)](),this[_0x16ce09(0x1a2)][_0x16ce09(0x1a3)](this[_0x16ce09(0x1a1)]);}}function _0xecd9(){const _0x47e2f8=['8HIjOiC','createCollection','setAttribute','fire','21501odIonW','1166244SZMqmR','6608532WMRUud','472430ULFmAY','1416THxAnj','presencelist:hide','set','isExpanded','1017AQxurL','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','setTemplate','.ck-presence-list__dropdown-list','change:hasPopup','focus','.ck-balloon-panel_with-arrow','6KbGuvb','contains','relatedTarget','Connected\x20users\x20list','div','20665DWONwE','list','presencelist:show','55bcnLUI','38536BmgUjM','render','4426080NaLItP','removeAttribute','querySelector','hasPopup','aria-expanded','element','keystrokes','listenTo','ck-presence-list__list','items'];_0xecd9=function(){return _0x47e2f8;};return _0xecd9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33bf2f=_0x4909;(function(_0x1a4af3,_0x494d38){const _0xede353=_0x4909,_0x23eda7=_0x1a4af3();while(!![]){try{const _0x1ce7ae=parseInt(_0xede353(0x189))/0x1*(parseInt(_0xede353(0x178))/0x2)+-parseInt(_0xede353(0x17c))/0x3*(parseInt(_0xede353(0x184))/0x4)+-parseInt(_0xede353(0x187))/0x5*(-parseInt(_0xede353(0x176))/0x6)+-parseInt(_0xede353(0x18a))/0x7+-parseInt(_0xede353(0x18c))/0x8+parseInt(_0xede353(0x183))/0x9+parseInt(_0xede353(0x177))/0xa*(parseInt(_0xede353(0x190))/0xb);if(_0x1ce7ae===_0x494d38)break;else _0x23eda7['push'](_0x23eda7['shift']());}catch(_0x584d02){_0x23eda7['push'](_0x23eda7['shift']());}}}(_0x4ca9,0xb20f9));import{View as _0x5cb570}from'ckeditor5/src/ui.js';function _0x4909(_0x129e86,_0x34526a){const _0x4ca962=_0x4ca9();return _0x4909=function(_0x490962,_0x2933fd){_0x490962=_0x490962-0x173;let _0x3d2d96=_0x4ca962[_0x490962];return _0x3d2d96;},_0x4909(_0x129e86,_0x34526a);}import{PresenceCounterView as _0x591481}from'./presencecounterview.js';import{PresenceInlineListView as _0x5adf22}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4ca9(){const _0x2b1595=['hasPopup','7980968cSyDVS','isCollapsed','ck-presence-list','div','209VjNQTW','change','listenTo','locale','12tbjuvj','1058410FrcldY','1198xwSXuq','set','bindTemplate','ck-presence-list--collapsed','3HgAOaS','tooltipPosition','items','counterView','setTemplate','inlineListView','bind','8024283woaUoq','4574748crdmBf','first','ck-reset','2068420moIBCJ','ck-rounded-corners','311GLaSlj','7319046pEpChS'];_0x4ca9=function(){return _0x2b1595;};return _0x4ca9();}export class PresenceListView extends _0x5cb570{[_0x33bf2f(0x17f)];[_0x33bf2f(0x181)];constructor(_0x34d05d,_0x16222f=0x6){const _0x3d4da6=_0x33bf2f;super(_0x34d05d);const _0x444156=this[_0x3d4da6(0x17a)];this[_0x3d4da6(0x179)](_0x3d4da6(0x18d),!0x0),this[_0x3d4da6(0x17f)]=new _0x591481(this[_0x3d4da6(0x175)],_0x16222f),this[_0x3d4da6(0x181)]=new _0x5adf22(_0x34d05d),this[_0x3d4da6(0x181)][_0x3d4da6(0x182)](_0x3d4da6(0x18b))['to'](this,_0x3d4da6(0x18d)),this[_0x3d4da6(0x174)](this[_0x3d4da6(0x181)][_0x3d4da6(0x17e)],_0x3d4da6(0x173),()=>{const _0x228487=_0x3d4da6;for(const _0xd88815 of this[_0x228487(0x181)][_0x228487(0x17e)])_0xd88815[_0x228487(0x17d)]='s';this[_0x228487(0x181)][_0x228487(0x17e)][_0x228487(0x185)]&&(this[_0x228487(0x181)][_0x228487(0x17e)][_0x228487(0x185)][_0x228487(0x17d)]='se');}),this[_0x3d4da6(0x180)]({'tag':_0x3d4da6(0x18f),'attributes':{'class':['ck',_0x3d4da6(0x18e),_0x3d4da6(0x186),_0x3d4da6(0x188),_0x444156['if'](_0x3d4da6(0x18d),_0x3d4da6(0x17b))]},'children':[this[_0x3d4da6(0x181)]]});}}
23
+ const _0x2699f4=_0x255d;(function(_0xb08b0d,_0x4e1145){const _0x5812bb=_0x255d,_0x435f4a=_0xb08b0d();while(!![]){try{const _0x1b2bcf=-parseInt(_0x5812bb(0x1a3))/0x1+parseInt(_0x5812bb(0x19b))/0x2+parseInt(_0x5812bb(0x1a7))/0x3*(parseInt(_0x5812bb(0x1a2))/0x4)+parseInt(_0x5812bb(0x199))/0x5*(parseInt(_0x5812bb(0x1a4))/0x6)+-parseInt(_0x5812bb(0x19a))/0x7+parseInt(_0x5812bb(0x1a5))/0x8*(-parseInt(_0x5812bb(0x19e))/0x9)+parseInt(_0x5812bb(0x19d))/0xa;if(_0x1b2bcf===_0x4e1145)break;else _0x435f4a['push'](_0x435f4a['shift']());}catch(_0x1d12a3){_0x435f4a['push'](_0x435f4a['shift']());}}}(_0x4fa9,0xef4c5));import{View as _0x4414b8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x33ef7d}from'./presencecounterview.js';import{PresenceInlineListView as _0x458bab}from'./presenceinlinelistview.js';function _0x255d(_0x38aae5,_0x168d4f){const _0x4fa9db=_0x4fa9();return _0x255d=function(_0x255d35,_0x2eac20){_0x255d35=_0x255d35-0x18d;let _0x19a50a=_0x4fa9db[_0x255d35];return _0x19a50a;},_0x255d(_0x38aae5,_0x168d4f);}import'../../../theme/presencelist.css';function _0x4fa9(){const _0x10c2f6=['bindTemplate','3HFDDcs','isCollapsed','setTemplate','tooltipPosition','locale','ck-presence-list','ck-presence-list--collapsed','listenTo','change','items','bind','hasPopup','set','ck-reset','counterView','1708885LZKvoZ','4920013pWYvKP','334478sFtutz','ck-rounded-corners','28964410CsXZVm','275679pwhKgE','div','inlineListView','first','171528xWzJPl','1428374HdOoWu','6Snldxm','88FHXrux'];_0x4fa9=function(){return _0x10c2f6;};return _0x4fa9();}export class PresenceListView extends _0x4414b8{[_0x2699f4(0x198)];[_0x2699f4(0x1a0)];constructor(_0x421e6e,_0x2198b2=0x6){const _0x1a2825=_0x2699f4;super(_0x421e6e);const _0x159b29=this[_0x1a2825(0x1a6)];this[_0x1a2825(0x196)](_0x1a2825(0x1a8),!0x0),this[_0x1a2825(0x198)]=new _0x33ef7d(this[_0x1a2825(0x18e)],_0x2198b2),this[_0x1a2825(0x1a0)]=new _0x458bab(_0x421e6e),this[_0x1a2825(0x1a0)][_0x1a2825(0x194)](_0x1a2825(0x195))['to'](this,_0x1a2825(0x1a8)),this[_0x1a2825(0x191)](this[_0x1a2825(0x1a0)][_0x1a2825(0x193)],_0x1a2825(0x192),()=>{const _0x42177b=_0x1a2825;for(const _0x5d6857 of this[_0x42177b(0x1a0)][_0x42177b(0x193)])_0x5d6857[_0x42177b(0x18d)]='s';this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)]&&(this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)][_0x42177b(0x18d)]='se');}),this[_0x1a2825(0x1a9)]({'tag':_0x1a2825(0x19f),'attributes':{'class':['ck',_0x1a2825(0x18f),_0x1a2825(0x197),_0x1a2825(0x19c),_0x159b29['if'](_0x1a2825(0x1a8),_0x1a2825(0x190))]},'children':[this[_0x1a2825(0x1a0)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1fbdf1=_0x50df;function _0x1563(){var _0x2d0d33=['22004380kZyqzd','PresenceList','requires','1222OtWnnM','2138994ITPCfr','7iXxfyz','1580752qQYVse','1556525nhiglp','isOfficialPlugin','4114722OdApvB','5121AeMNaC','pluginName','1588cnfXTt','isPremiumPlugin','443KmVWNw'];_0x1563=function(){return _0x2d0d33;};return _0x1563();}(function(_0x163819,_0xdad06d){var _0x1d01f2=_0x50df,_0x4b30fc=_0x163819();while(!![]){try{var _0x3927ba=-parseInt(_0x1d01f2(0x1a3))/0x1*(-parseInt(_0x1d01f2(0x1a7))/0x2)+-parseInt(_0x1d01f2(0x19f))/0x3*(parseInt(_0x1d01f2(0x1a1))/0x4)+-parseInt(_0x1d01f2(0x19c))/0x5+-parseInt(_0x1d01f2(0x19e))/0x6*(parseInt(_0x1d01f2(0x1a9))/0x7)+-parseInt(_0x1d01f2(0x19b))/0x8+-parseInt(_0x1d01f2(0x1a8))/0x9+parseInt(_0x1d01f2(0x1a4))/0xa;if(_0x3927ba===_0xdad06d)break;else _0x4b30fc['push'](_0x4b30fc['shift']());}catch(_0x108fd8){_0x4b30fc['push'](_0x4b30fc['shift']());}}}(_0x1563,0x58278));function _0x50df(_0x28a866,_0xc43390){var _0x1563c6=_0x1563();return _0x50df=function(_0x50df44,_0x47ded8){_0x50df44=_0x50df44-0x19b;var _0x165517=_0x1563c6[_0x50df44];return _0x165517;},_0x50df(_0x28a866,_0xc43390);}import{ContextPlugin as _0x2f7828}from'ckeditor5/src/core.js';import{Sessions as _0x53068a}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5760d1}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2f7828{static get[_0x1fbdf1(0x1a6)](){return[_0x53068a,_0x5760d1];}static get[_0x1fbdf1(0x1a0)](){var _0x49db60=_0x1fbdf1;return _0x49db60(0x1a5);}static get[_0x1fbdf1(0x19d)](){return!0x0;}static get[_0x1fbdf1(0x1a2)](){return!0x0;}}
23
+ var _0x31ca4c=_0x6106;(function(_0x2497af,_0x6c730a){var _0x402923=_0x6106,_0x23ee6f=_0x2497af();while(!![]){try{var _0x2ebf2c=parseInt(_0x402923(0xf3))/0x1+-parseInt(_0x402923(0xef))/0x2+parseInt(_0x402923(0xf6))/0x3+parseInt(_0x402923(0xf0))/0x4+-parseInt(_0x402923(0xed))/0x5*(-parseInt(_0x402923(0xf7))/0x6)+parseInt(_0x402923(0xfa))/0x7*(-parseInt(_0x402923(0xf1))/0x8)+-parseInt(_0x402923(0xf9))/0x9;if(_0x2ebf2c===_0x6c730a)break;else _0x23ee6f['push'](_0x23ee6f['shift']());}catch(_0x31bbd5){_0x23ee6f['push'](_0x23ee6f['shift']());}}}(_0x45d8,0x39bcb));import{ContextPlugin as _0xb8cf5b}from'ckeditor5/src/core.js';import{Sessions as _0x1b4291}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5f0a1d}from'./presencelist/presencelistui.js';export class PresenceList extends _0xb8cf5b{static get[_0x31ca4c(0xf5)](){return[_0x1b4291,_0x5f0a1d];}static get[_0x31ca4c(0xf8)](){var _0x50834b=_0x31ca4c;return _0x50834b(0xee);}static get[_0x31ca4c(0xf2)](){return!0x0;}static get[_0x31ca4c(0xf4)](){return!0x0;}}function _0x6106(_0x7d557c,_0x38b7c7){var _0x45d859=_0x45d8();return _0x6106=function(_0x610603,_0x3052b6){_0x610603=_0x610603-0xed;var _0x59d5ec=_0x45d859[_0x610603];return _0x59d5ec;},_0x6106(_0x7d557c,_0x38b7c7);}function _0x45d8(){var _0x310280=['12hwpTaM','pluginName','4146147jWPeja','196vUYGnG','423210JeppPH','PresenceList','409948sJUsUy','1876136SIbdNC','57696LBkuOQ','isOfficialPlugin','297509UileaY','isPremiumPlugin','requires','504771MWEisY'];_0x45d8=function(){return _0x310280;};return _0x45d8();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11a11e=_0x51fe;(function(_0x564fce,_0x5c51c7){const _0x171e54=_0x51fe,_0x297145=_0x564fce();while(!![]){try{const _0x5e95d0=-parseInt(_0x171e54(0x11d))/0x1*(-parseInt(_0x171e54(0xf6))/0x2)+parseInt(_0x171e54(0xde))/0x3*(parseInt(_0x171e54(0x112))/0x4)+-parseInt(_0x171e54(0xf1))/0x5+-parseInt(_0x171e54(0x127))/0x6+-parseInt(_0x171e54(0x138))/0x7*(parseInt(_0x171e54(0xf4))/0x8)+parseInt(_0x171e54(0x119))/0x9*(parseInt(_0x171e54(0x109))/0xa)+-parseInt(_0x171e54(0x111))/0xb*(-parseInt(_0x171e54(0x104))/0xc);if(_0x5e95d0===_0x5c51c7)break;else _0x297145['push'](_0x297145['shift']());}catch(_0x363ffb){_0x297145['push'](_0x297145['shift']());}}}(_0x560d,0xc7341));import{Context as _0x41a3dc,ContextPlugin as _0x4e0408}from'ckeditor5/src/core.js';function _0x51fe(_0x5441da,_0x20bc8c){const _0x560d7c=_0x560d();return _0x51fe=function(_0x51fe52,_0x3227bb){_0x51fe52=_0x51fe52-0xd7;let _0x4e1927=_0x560d7c[_0x51fe52];return _0x4e1927;},_0x51fe(_0x5441da,_0x20bc8c);}import{CKEditorError as _0xb635eb}from'ckeditor5/src/utils.js';import{Users as _0x3b1230}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x57ed83,User as _0x8c0705}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x13780a}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5cb6b8}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4e0408{static [_0x11a11e(0x118)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x57ed83)());[_0x11a11e(0xe8)];static get[_0x11a11e(0x13b)](){const _0x2e702b=_0x11a11e;return[_0x13780a,_0x2e702b(0xff),_0x5cb6b8,_0x3b1230];}static get[_0x11a11e(0x12a)](){const _0x242924=_0x11a11e;return _0x242924(0xee);}static get[_0x11a11e(0x10f)](){return!0x0;}static get[_0x11a11e(0x12c)](){return!0x0;}constructor(_0x3bd0b1){const _0x59f05d=_0x11a11e;super(_0x3bd0b1),this[_0x59f05d(0xe8)]=new Map();}async[_0x11a11e(0x120)](){const _0x37bd17=_0x11a11e,_0x4a1772=this[_0x37bd17(0x13e)],_0x231954=_0x4a1772[_0x37bd17(0x134)][_0x37bd17(0x10e)](_0x37bd17(0xff));if(_0x4a1772[_0x37bd17(0x134)][_0x37bd17(0x10e)](_0x13780a)[_0x37bd17(0xdc)](this),_0x231954[_0x37bd17(0xf3)]={'addCommentThread':async({channelId:_0x5eb27a,threadId:_0x314ba8,comments:_0x5fede1,resolvedAt:_0x1a9fd8,resolvedBy:_0x429251,context:_0x187079,attributes:_0x2202de})=>{const _0x2a2acb=_0x37bd17,_0x5bdb5a=await this[_0x2a2acb(0x12b)](_0x5eb27a)[_0x2a2acb(0x108)]({'commentThreadId':_0x314ba8,'comments':_0x5fede1[_0x2a2acb(0xf0)](_0x4d52c3=>function(_0x6f4f70,_0xe940f0,_0x3cde94){const _0x972f84=_0x2a2acb;return{'commentThreadId':_0x3cde94,'commentId':_0x6f4f70[_0x972f84(0x135)],'userId':_0x6f4f70[_0x972f84(0x126)],'content':_0x6f4f70[_0x972f84(0x114)],'documentId':_0xe940f0,'createdAt':_0x6f4f70[_0x972f84(0xdf)],'attributes':_0x6f4f70[_0x972f84(0x12f)]||{}};}(_0x4d52c3,_0x5eb27a,_0x314ba8)),'resolvedAt':_0x1a9fd8,'resolvedBy':_0x429251,'context':_0x187079,'attributes':_0x2202de})[_0x2a2acb(0x110)](tt);return{'threadId':_0x5bdb5a[_0x2a2acb(0xe4)],'comments':_0x5bdb5a[_0x2a2acb(0xeb)]};},'getCommentThread':async({channelId:_0x4f4a1b,threadId:_0x49a8a7})=>{const _0x51c3f6=_0x37bd17,_0x495ae6=await this[_0x51c3f6(0x12b)](_0x4f4a1b)[_0x51c3f6(0xd8)](_0x49a8a7)[_0x51c3f6(0x110)](Z)[_0x51c3f6(0x110)](tt);return _0x495ae6?_0x495ae6[_0x51c3f6(0x12e)]?null:(await this[_0x51c3f6(0x117)]([_0x495ae6]),{'threadId':_0x495ae6[_0x51c3f6(0xe4)],'comments':_0x495ae6[_0x51c3f6(0xeb)][_0x51c3f6(0xf0)](et),'context':_0x495ae6[_0x51c3f6(0x13e)],'resolvedAt':_0x495ae6[_0x51c3f6(0x11c)],'resolvedBy':_0x495ae6[_0x51c3f6(0x133)],'attributes':_0x495ae6[_0x51c3f6(0x12f)]||{}}):null;},'updateCommentThread':async({channelId:_0xc213ec,threadId:_0x561d79,context:_0x31f5f7,unlinkedAt:_0x2bf960,attributes:_0x5d580a})=>this[_0x37bd17(0x12b)](_0xc213ec)[_0x37bd17(0xfc)]({'commentThreadId':_0x561d79,'context':_0x31f5f7,'attributes':_0x5d580a,'unlinkedAt':_0x2bf960})[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'resolveCommentThread':async({channelId:_0x1693eb,threadId:_0x1239aa})=>{const _0x58a111=_0x37bd17,_0x4a746d=await this[_0x58a111(0x12b)](_0x1693eb)[_0x58a111(0x10d)](_0x1239aa)[_0x58a111(0x110)](Z)[_0x58a111(0x110)](tt);return{'threadId':_0x4a746d[_0x58a111(0xe4)],'resolvedAt':_0x4a746d[_0x58a111(0x11c)],'resolvedBy':_0x4a746d[_0x58a111(0x133)]};},'reopenCommentThread':async({channelId:_0x39cd1f,threadId:_0x15d6ac})=>this[_0x37bd17(0x12b)](_0x39cd1f)[_0x37bd17(0x125)](_0x15d6ac)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'removeCommentThread':({channelId:_0x49d770,threadId:_0x498f47})=>this[_0x37bd17(0x12b)](_0x49d770)[_0x37bd17(0x128)](_0x498f47)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'addComment':({channelId:_0x2fc721,threadId:_0x27ce13,commentId:_0x1af190,content:_0x13341e,attributes:_0x341b9c})=>this[_0x37bd17(0x12b)](_0x2fc721)[_0x37bd17(0x107)](_0x27ce13,_0x1af190,_0x13341e,_0x341b9c)[_0x37bd17(0x110)](tt),'updateComment':({channelId:_0x4df005,threadId:_0x31785a,commentId:_0x426312,content:_0x52d837,attributes:_0x42721b})=>this[_0x37bd17(0x12b)](_0x4df005)[_0x37bd17(0xd9)](_0x31785a,_0x426312,_0x52d837,_0x42721b)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'removeComment':({channelId:_0x492c56,threadId:_0x21a577,commentId:_0x9aec72})=>this[_0x37bd17(0x12b)](_0x492c56)[_0x37bd17(0x11e)](_0x21a577,_0x9aec72)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt)},_0x4a1772 instanceof _0x41a3dc){const _0xafaad3=_0x4a1772[_0x37bd17(0x113)][_0x37bd17(0x10e)](_0x37bd17(0x100)),_0x1186be=_0x4a1772[_0x37bd17(0x134)][_0x37bd17(0x10e)](_0x5cb6b8);await this[_0x37bd17(0x11a)](_0xafaad3);const _0xe97fb7=await this[_0x37bd17(0xe8)][_0x37bd17(0x10e)](_0xafaad3)[_0x37bd17(0xe9)]();this[_0x37bd17(0xe6)](_0x1186be,_0x37bd17(0x116)+_0xafaad3,(_0x422ac3,{session:_0x2f1e84})=>{const _0x46ab2a=_0x37bd17;_0x2f1e84['id']===_0x1186be[_0x46ab2a(0x137)]&&(_0x422ac3[_0x46ab2a(0xdd)](),this[_0x46ab2a(0x13e)][_0x46ab2a(0x134)][_0x46ab2a(0x10e)](_0x46ab2a(0xd7))[_0x46ab2a(0x103)](_0x2f1e84[_0x46ab2a(0x13a)],_0xafaad3));}),_0x1186be[_0x37bd17(0x11b)](_0xafaad3,_0xe97fb7);}}async[_0x11a11e(0x11a)](_0x38faff){const _0x23a6ad=_0x11a11e;if(this[_0x23a6ad(0xe8)][_0x23a6ad(0x139)](_0x38faff))throw new _0xb635eb(_0x23a6ad(0xed),null,{'channelId':_0x38faff});const _0x193354=this[_0x23a6ad(0x13e)][_0x23a6ad(0x134)][_0x23a6ad(0x10e)](_0x23a6ad(0xff)),_0x3242ea=new CloudServicesCommentsAdapter[(_0x23a6ad(0x118))](_0x38faff);this[_0x23a6ad(0xe8)][_0x23a6ad(0x121)](_0x38faff,_0x3242ea),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xdb),(_0x148560,_0x2a2ae8)=>{const _0x199cae=_0x23a6ad,{commentThreadId:_0x147ed2,documentId:_0x4ebd5f,context:_0x11f13d,attributes:_0x3a7578,resolvedAt:_0x19c8d1,resolvedBy:_0x4bf6b9,comments:_0x33b1a3}=_0x2a2ae8;_0x193354[_0x199cae(0xd8)](_0x147ed2)||_0x193354[_0x199cae(0x108)]({'threadId':_0x147ed2,'channelId':_0x4ebd5f,'comments':_0x33b1a3?_0x33b1a3[_0x199cae(0xf0)](et):[],'context':_0x11f13d,'attributes':_0x3a7578,'resolvedAt':_0x19c8d1,'resolvedBy':_0x4bf6b9,'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0x11f),(_0xcdf1d9,{commentThreadId:_0x46c432,documentId:_0x2a6561,context:_0x4aa5cd,unlinkedAt:_0x4e98bd,attributes:_0x50dd6c})=>{const _0x36a4a5=_0x23a6ad;_0x193354[_0x36a4a5(0xd8)](_0x46c432)&&_0x193354[_0x36a4a5(0xfc)]({'threadId':_0x46c432,'channelId':_0x2a6561,'context':_0x4aa5cd,'unlinkedAt':_0x4e98bd,'attributes':_0x50dd6c,'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0x106),(_0x4ce7d2,{commentThreadId:_0x4e3f0f,resolvedBy:_0x1aa16f,resolvedAt:_0x11f7ba})=>{const _0x4d2603=_0x23a6ad,_0x441818=_0x193354[_0x4d2603(0xd8)](_0x4e3f0f);_0x441818&&_0x441818[_0x4d2603(0x10c)]({'resolvedBy':_0x1aa16f,'resolvedAt':_0x11f7ba,'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0x136),(_0x434ea7,{commentThreadId:_0xdba482})=>{const _0x91aba3=_0x23a6ad,_0x4cad51=_0x193354[_0x91aba3(0xd8)](_0xdba482);_0x4cad51&&_0x4cad51[_0x91aba3(0xfa)]({'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xe5),(_0xf62cc2,{commentThreadId:_0x4526ad})=>{const _0x485959=_0x23a6ad,_0x23594c=_0x193354[_0x485959(0xd8)](_0x4526ad);_0x23594c&&_0x23594c[_0x485959(0xef)]({'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xea),(_0xbf047d,_0x571669)=>{const _0x502854=_0x23a6ad,_0x15a0b0=_0x571669[_0x502854(0xe4)],_0x165d3c=_0x193354[_0x502854(0xd8)](_0x15a0b0);_0x165d3c&&_0x165d3c[_0x502854(0x107)]({...et(_0x571669),'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xf8),(_0x5f5494,{commentThreadId:_0x1635ee,commentId:_0x2681b9,content:_0x4ed1b1,attributes:_0x408955})=>{const _0x10ce9f=_0x23a6ad,_0x5b5064=_0x193354[_0x10ce9f(0xd8)](_0x1635ee);if(_0x5b5064){const _0x153b51=_0x5b5064[_0x10ce9f(0x124)](_0x2681b9);_0x153b51&&_0x153b51[_0x10ce9f(0x123)]({'content':_0x4ed1b1,'attributes':_0x408955,'isFromAdapter':!0x0});}}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xf9),(_0x4c5a5e,{commentThreadId:_0x2d0241,commentId:_0x4cfd53})=>{const _0x90e657=_0x23a6ad,_0x3818dc=_0x193354[_0x90e657(0xd8)](_0x2d0241);if(_0x3818dc){const _0x5323ff=_0x3818dc[_0x90e657(0x124)](_0x4cfd53);_0x5323ff&&_0x5323ff[_0x90e657(0xef)]({'isFromAdapter':!0x0});}}),await this[_0x23a6ad(0x12d)](_0x38faff);}[_0x11a11e(0xec)](){const _0x315c8e=_0x11a11e;if(this[_0x315c8e(0x13e)]instanceof _0x41a3dc){const _0x1ee42b=this[_0x315c8e(0x13e)][_0x315c8e(0x113)][_0x315c8e(0x10e)](_0x315c8e(0x100));this[_0x315c8e(0xfd)](_0x1ee42b);}}[_0x11a11e(0xfd)](_0x30a073){const _0x9b6e70=_0x11a11e;if(!this[_0x9b6e70(0xe8)][_0x9b6e70(0x139)](_0x30a073))throw new _0xb635eb(_0x9b6e70(0xf2),null,{'channelId':_0x30a073});this[_0x9b6e70(0x12b)](_0x30a073)[_0x9b6e70(0xfe)](),this[_0x9b6e70(0xe8)][_0x9b6e70(0xe1)](_0x30a073);}async[_0x11a11e(0xf5)](){const _0x50508c=_0x11a11e;for(const _0x24d179 of this[_0x50508c(0xe8)][_0x50508c(0x102)]())await this[_0x50508c(0x12d)](_0x24d179);if(this[_0x50508c(0x13e)]instanceof _0x41a3dc){const _0x1ce0ce=this[_0x50508c(0x13e)][_0x50508c(0x113)][_0x50508c(0x10e)](_0x50508c(0x100)),_0x4e99a2=this[_0x50508c(0x13e)][_0x50508c(0x134)][_0x50508c(0x10e)](_0x5cb6b8);_0x4e99a2[_0x50508c(0x10a)](_0x1ce0ce);const _0x8081f5=await this[_0x50508c(0xe8)][_0x50508c(0x10e)](_0x1ce0ce)[_0x50508c(0xe9)]();_0x4e99a2[_0x50508c(0x11b)](_0x1ce0ce,_0x8081f5);}}async[_0x11a11e(0x12d)](_0x2f5fe5){const _0x5d093a=_0x11a11e,{connection:_0x5d78f8}=this[_0x5d093a(0x13e)][_0x5d093a(0x134)][_0x5d093a(0x10e)](_0x13780a),_0x5651c4=this[_0x5d093a(0x13e)][_0x5d093a(0x134)][_0x5d093a(0x10e)](_0x5d093a(0xff)),_0x1f2b30=this[_0x5d093a(0xe8)][_0x5d093a(0x10e)](_0x2f5fe5),_0x5f3e20=await _0x1f2b30[_0x5d093a(0x101)](_0x5d78f8);await this[_0x5d093a(0x117)](_0x5f3e20);const _0x59b1b4=new Set(Array[_0x5d093a(0xda)](_0x5651c4[_0x5d093a(0x130)]({'channelId':_0x2f5fe5}),_0x3ed7e0=>_0x3ed7e0['id']));for(const _0xe81526 of _0x5f3e20)_0xe81526[_0x5d093a(0x12e)]||_0x59b1b4[_0x5d093a(0xe1)](_0xe81526[_0x5d093a(0xe4)]);for(const _0x2422df of _0x59b1b4)_0x5651c4[_0x5d093a(0xd8)](_0x2422df)[_0x5d093a(0xef)]({'isFromAdapter':!0x0});for(const _0x34dd76 of _0x5f3e20){let _0x4dfc5f=_0x5651c4[_0x5d093a(0xd8)](_0x34dd76[_0x5d093a(0xe4)]);const {commentThreadId:_0x32e57d,context:_0xd84d9e,attributes:_0x251467,resolvedBy:_0x5c223,resolvedAt:_0x21c9ef,unlinkedAt:_0x1855d6,deletedAt:_0x387856}=_0x34dd76;if(_0x387856)continue;_0x4dfc5f||(_0x4dfc5f=_0x5651c4[_0x5d093a(0x108)]({'channelId':_0x2f5fe5,'threadId':_0x32e57d,'context':_0xd84d9e,'attributes':_0x251467||{},'resolvedBy':_0x5c223,'resolvedAt':_0x21c9ef,'unlinkedAt':_0x1855d6,'isFromAdapter':!0x0}));const _0x2d9290=new Set(Array[_0x5d093a(0xda)](_0x4dfc5f[_0x5d093a(0xeb)],_0x4de09c=>_0x4de09c['id']));for(const _0x23d715 of _0x34dd76[_0x5d093a(0xeb)])_0x2d9290[_0x5d093a(0xe1)](_0x23d715[_0x5d093a(0x135)]);for(const _0x421239 of _0x2d9290)_0x4dfc5f[_0x5d093a(0x124)](_0x421239)[_0x5d093a(0xef)]({'isFromAdapter':!0x0});for(const _0x412aaf of _0x34dd76[_0x5d093a(0xeb)]){const _0x36c585=_0x4dfc5f[_0x5d093a(0x124)](_0x412aaf[_0x5d093a(0x135)]);_0x36c585?_0x36c585[_0x5d093a(0x114)]!==_0x412aaf[_0x5d093a(0x114)]&&_0x36c585[_0x5d093a(0x123)]({'content':_0x412aaf[_0x5d093a(0x114)],'isFromAdapter':!0x0}):_0x4dfc5f[_0x5d093a(0x107)](Object[_0x5d093a(0x10b)](et(_0x412aaf),{'isFromAdapter':!0x0}));}}}[_0x11a11e(0x12b)](_0xb97239){const _0x53acf3=_0x11a11e;if(!this[_0x53acf3(0xe8)][_0x53acf3(0x139)](_0xb97239))throw new _0xb635eb(_0x53acf3(0x115),null,{'channelId':_0xb97239});return this[_0x53acf3(0xe8)][_0x53acf3(0x10e)](_0xb97239);}async[_0x11a11e(0x117)](_0x28a574){const _0x547a6b=_0x11a11e,_0x498458=this[_0x547a6b(0x13e)][_0x547a6b(0x134)][_0x547a6b(0x10e)](_0x3b1230),{connection:_0x7fddc6}=this[_0x547a6b(0x13e)][_0x547a6b(0x134)][_0x547a6b(0x10e)](_0x13780a),_0x31799b=new Set();for(const {resolvedBy:_0x57291e,comments:_0xbfd8c8}of _0x28a574){_0x57291e&&!_0x498458[_0x547a6b(0x132)](_0x57291e)&&_0x31799b[_0x547a6b(0x131)](_0x57291e);for(const {userId:_0x2b7c86}of _0xbfd8c8)_0x498458[_0x547a6b(0x132)](_0x2b7c86)||_0x31799b[_0x547a6b(0x131)](_0x2b7c86);}if(0x0===_0x31799b[_0x547a6b(0xe0)])return;const _0x5339ea=await _0x8c0705[_0x547a6b(0x129)](_0x7fddc6,Array[_0x547a6b(0xda)](_0x31799b));for(const _0x59aa7f of _0x5339ea)_0x498458[_0x547a6b(0x132)](_0x59aa7f['id'])||_0x498458[_0x547a6b(0x13c)](_0x59aa7f);}}function _0x560d(){const _0x14b984=['disconnect','CommentsRepository','collaboration.channelId','connect','keys','setPermissions','412812GwynzM','cloud-services-internal-error:\x20Not\x20connected.','commentThreadResolved','addComment','addCommentThread','378790NEiqpq','unregister','assign','resolve','resolveCommentThread','get','isOfficialPlugin','catch','308OVaBMK','114676GFTjiq','config','content','cloudservicescommentsadapter-service-not-exist','sessionAdd:','_fetchMissingUsersForThreads','CommentsService','117gTJILA','_setUpService','register','resolvedAt','104138MPkMDx','removeComment','commentThreadUpdated','init','set','code','update','getComment','reopenCommentThread','authorId','2322498wyKfSh','removeCommentThread','getMany','pluginName','_getService','isPremiumPlugin','_connectService','deletedAt','attributes','getCommentThreads','add','getUser','resolvedBy','plugins','commentId','commentThreadReopened','mySessionId','2605253qhzkiS','has','permissions','requires','addUser','message','context','Permissions','getCommentThread','updateComment','from','commentThreadAdded','addToReconnectionStack','off','3fJxOzv','createdAt','size','delete','userId','startsWith','commentThreadId','commentThreadRemoved','listenTo','404','_services','getConnectedSessions','commentAdded','comments','destroy','cloudservicescommentsadapter-connect-already-connected','CloudServicesCommentsAdapter','remove','map','1329560woFtCc','cloudservicescommentsadapter-disconnect-not-exist','adapter','16LtJwET','reconnect','14UrRCvi','cloud-services-internal-error:\x20Request\x20timeout.','commentUpdated','commentRemoved','reopen','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','updateCommentThread','_terminateService'];_0x560d=function(){return _0x14b984;};return _0x560d();}async function Z(_0x5a6de3){const _0x84cd11=_0x11a11e;if(_0x84cd11(0xe7)!==_0x5a6de3[_0x84cd11(0x122)])throw _0x5a6de3;}function tt(_0xbffcc7){const _0x420d60=_0x11a11e;if((_0x639e63=_0xbffcc7)[_0x420d60(0x13d)][_0x420d60(0xe3)](_0x420d60(0xfb))||_0x639e63[_0x420d60(0x13d)][_0x420d60(0xe3)](_0x420d60(0x105))||_0x639e63[_0x420d60(0x13d)][_0x420d60(0xe3)](_0x420d60(0xf7)))return new Promise(()=>{});var _0x639e63;throw _0xbffcc7;}function et(_0x1cce5d){const _0x1a02b3=_0x11a11e;return{'threadId':_0x1cce5d[_0x1a02b3(0xe4)],'commentId':_0x1cce5d[_0x1a02b3(0x135)],'content':_0x1cce5d[_0x1a02b3(0x114)],'createdAt':_0x1cce5d[_0x1a02b3(0xdf)],'authorId':_0x1cce5d[_0x1a02b3(0xe2)],'attributes':_0x1cce5d[_0x1a02b3(0x12f)]||{}};}
23
+ const _0x252b77=_0xd625;(function(_0x4df3fc,_0x5c5e49){const _0x2af2b3=_0xd625,_0x236ed3=_0x4df3fc();while(!![]){try{const _0x2390ac=parseInt(_0x2af2b3(0xbd))/0x1+parseInt(_0x2af2b3(0xad))/0x2+parseInt(_0x2af2b3(0xc6))/0x3*(-parseInt(_0x2af2b3(0xb7))/0x4)+parseInt(_0x2af2b3(0xd8))/0x5*(-parseInt(_0x2af2b3(0xdd))/0x6)+parseInt(_0x2af2b3(0xde))/0x7*(-parseInt(_0x2af2b3(0xec))/0x8)+-parseInt(_0x2af2b3(0xd9))/0x9*(-parseInt(_0x2af2b3(0xfb))/0xa)+-parseInt(_0x2af2b3(0xb2))/0xb*(-parseInt(_0x2af2b3(0xa7))/0xc);if(_0x2390ac===_0x5c5e49)break;else _0x236ed3['push'](_0x236ed3['shift']());}catch(_0x35aad0){_0x236ed3['push'](_0x236ed3['shift']());}}}(_0x225a,0x6e935));import{Context as _0x15bc32,ContextPlugin as _0x227437}from'ckeditor5/src/core.js';import{CKEditorError as _0x381e19}from'ckeditor5/src/utils.js';function _0xd625(_0x4a0dc8,_0xac226d){const _0x225ab6=_0x225a();return _0xd625=function(_0xd625ed,_0x4092e2){_0xd625ed=_0xd625ed-0xa4;let _0xa54c3e=_0x225ab6[_0xd625ed];return _0xa54c3e;},_0xd625(_0x4a0dc8,_0xac226d);}import{Users as _0x3ef70d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x100ae6,User as _0x25d22e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x31d550}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xb29762}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x227437{static [_0x252b77(0xd6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x100ae6)());[_0x252b77(0xed)];static get[_0x252b77(0xf9)](){const _0xe19e3a=_0x252b77;return[_0x31d550,_0xe19e3a(0xc1),_0xb29762,_0x3ef70d];}static get[_0x252b77(0xee)](){const _0x51e056=_0x252b77;return _0x51e056(0xce);}static get[_0x252b77(0xba)](){return!0x0;}static get[_0x252b77(0xf7)](){return!0x0;}constructor(_0x48d17d){const _0x49564e=_0x252b77;super(_0x48d17d),this[_0x49564e(0xed)]=new Map();}async[_0x252b77(0xc0)](){const _0x39efec=_0x252b77,_0x5d43a4=this[_0x39efec(0xd5)],_0x37a51f=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x39efec(0xc1));if(_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x31d550)[_0x39efec(0xfc)](this),_0x37a51f[_0x39efec(0x101)]={'addCommentThread':async({channelId:_0x403c82,threadId:_0x35471e,comments:_0x5d79c4,resolvedAt:_0x53b194,resolvedBy:_0x18c6f8,context:_0x36de35,attributes:_0x4feb01})=>{const _0x3bc38d=_0x39efec,_0x1a230f=await this[_0x3bc38d(0x102)](_0x403c82)[_0x3bc38d(0xcb)]({'commentThreadId':_0x35471e,'comments':_0x5d79c4[_0x3bc38d(0xb3)](_0x5be646=>function(_0x4d9791,_0x3b0dc0,_0x162287){const _0x51c91f=_0x3bc38d;return{'commentThreadId':_0x162287,'commentId':_0x4d9791[_0x51c91f(0xd7)],'userId':_0x4d9791[_0x51c91f(0xeb)],'content':_0x4d9791[_0x51c91f(0xdb)],'documentId':_0x3b0dc0,'createdAt':_0x4d9791[_0x51c91f(0xca)],'attributes':_0x4d9791[_0x51c91f(0xd2)]||{}};}(_0x5be646,_0x403c82,_0x35471e)),'resolvedAt':_0x53b194,'resolvedBy':_0x18c6f8,'context':_0x36de35,'attributes':_0x4feb01})[_0x3bc38d(0xcc)](k);return{'threadId':_0x1a230f[_0x3bc38d(0xe8)],'comments':_0x1a230f[_0x3bc38d(0xe4)]};},'getCommentThread':async({channelId:_0x5d90b3,threadId:_0x564372})=>{const _0x3e1a83=_0x39efec,_0x3df9a2=await this[_0x3e1a83(0x102)](_0x5d90b3)[_0x3e1a83(0xc5)](_0x564372)[_0x3e1a83(0xcc)](F)[_0x3e1a83(0xcc)](k);return _0x3df9a2?_0x3df9a2[_0x3e1a83(0xbf)]?null:(await this[_0x3e1a83(0xb6)]([_0x3df9a2]),{'threadId':_0x3df9a2[_0x3e1a83(0xe8)],'comments':_0x3df9a2[_0x3e1a83(0xe4)][_0x3e1a83(0xb3)](S),'context':_0x3df9a2[_0x3e1a83(0xd5)],'resolvedAt':_0x3df9a2[_0x3e1a83(0x106)],'resolvedBy':_0x3df9a2[_0x3e1a83(0xaf)],'attributes':_0x3df9a2[_0x3e1a83(0xd2)]||{}}):null;},'updateCommentThread':async({channelId:_0x4a7ac1,threadId:_0x5bd241,context:_0x99c3ed,unlinkedAt:_0x509b5d,attributes:_0x1a5568})=>this[_0x39efec(0x102)](_0x4a7ac1)[_0x39efec(0xb5)]({'commentThreadId':_0x5bd241,'context':_0x99c3ed,'attributes':_0x1a5568,'unlinkedAt':_0x509b5d})[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'resolveCommentThread':async({channelId:_0x44e05f,threadId:_0x16cc3c})=>{const _0x4e8c04=_0x39efec,_0x1954bd=await this[_0x4e8c04(0x102)](_0x44e05f)[_0x4e8c04(0xe3)](_0x16cc3c)[_0x4e8c04(0xcc)](F)[_0x4e8c04(0xcc)](k);return{'threadId':_0x1954bd[_0x4e8c04(0xe8)],'resolvedAt':_0x1954bd[_0x4e8c04(0x106)],'resolvedBy':_0x1954bd[_0x4e8c04(0xaf)]};},'reopenCommentThread':async({channelId:_0x15c72f,threadId:_0x2cb8ea})=>this[_0x39efec(0x102)](_0x15c72f)[_0x39efec(0xae)](_0x2cb8ea)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeCommentThread':({channelId:_0x51125f,threadId:_0x2c5729})=>this[_0x39efec(0x102)](_0x51125f)[_0x39efec(0xea)](_0x2c5729)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'addComment':({channelId:_0x43a41b,threadId:_0x4ce562,commentId:_0x3ce710,content:_0x25af49,attributes:_0x299e06})=>this[_0x39efec(0x102)](_0x43a41b)[_0x39efec(0xd0)](_0x4ce562,_0x3ce710,_0x25af49,_0x299e06)[_0x39efec(0xcc)](k),'updateComment':({channelId:_0x301de8,threadId:_0x245f98,commentId:_0x2102e0,content:_0x42b193,attributes:_0x5cedb9})=>this[_0x39efec(0x102)](_0x301de8)[_0x39efec(0xbc)](_0x245f98,_0x2102e0,_0x42b193,_0x5cedb9)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeComment':({channelId:_0x221fcd,threadId:_0x17aa99,commentId:_0x2b4b03})=>this[_0x39efec(0x102)](_0x221fcd)[_0x39efec(0xac)](_0x17aa99,_0x2b4b03)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k)},_0x5d43a4 instanceof _0x15bc32){const _0x47e7c6=_0x5d43a4[_0x39efec(0xa8)][_0x39efec(0xe7)](_0x39efec(0x108)),_0x432209=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0xb29762);await this[_0x39efec(0x109)](_0x47e7c6);const _0x3f33fb=await this[_0x39efec(0xed)][_0x39efec(0xe7)](_0x47e7c6)[_0x39efec(0xb8)]();this[_0x39efec(0xe0)](_0x432209,_0x39efec(0xfe)+_0x47e7c6,(_0x4195ec,{session:_0x444262})=>{const _0x4d137b=_0x39efec;_0x444262['id']===_0x432209[_0x4d137b(0x100)]&&(_0x4195ec[_0x4d137b(0xc9)](),this[_0x4d137b(0xd5)][_0x4d137b(0xb1)][_0x4d137b(0xe7)](_0x4d137b(0xf8))[_0x4d137b(0x103)](_0x444262[_0x4d137b(0x104)],_0x47e7c6));}),_0x432209[_0x39efec(0xa4)](_0x47e7c6,_0x3f33fb);}}async[_0x252b77(0x109)](_0x3c0aea){const _0x37f898=_0x252b77;if(this[_0x37f898(0xed)][_0x37f898(0xdc)](_0x3c0aea))throw new _0x381e19(_0x37f898(0x10a),null,{'channelId':_0x3c0aea});const _0x20c38d=this[_0x37f898(0xd5)][_0x37f898(0xb1)][_0x37f898(0xe7)](_0x37f898(0xc1)),_0x18b4ec=new CloudServicesCommentsAdapter[(_0x37f898(0xd6))](_0x3c0aea);this[_0x37f898(0xed)][_0x37f898(0xc7)](_0x3c0aea,_0x18b4ec),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf3),(_0x3bf28a,_0x166cef)=>{const _0x436ac0=_0x37f898,{commentThreadId:_0x4407b7,documentId:_0x4872ec,context:_0x5ce6e3,attributes:_0x1b7960,resolvedAt:_0x3bd325,resolvedBy:_0x458bf2,comments:_0x2d2969}=_0x166cef;_0x20c38d[_0x436ac0(0xc5)](_0x4407b7)||_0x20c38d[_0x436ac0(0xcb)]({'threadId':_0x4407b7,'channelId':_0x4872ec,'comments':_0x2d2969?_0x2d2969[_0x436ac0(0xb3)](S):[],'context':_0x5ce6e3,'attributes':_0x1b7960,'resolvedAt':_0x3bd325,'resolvedBy':_0x458bf2,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xd1),(_0x1a8ab6,{commentThreadId:_0xdee2e2,documentId:_0x177fc4,context:_0x1fe3eb,unlinkedAt:_0x622afc,attributes:_0x479fd3})=>{const _0x4abb1e=_0x37f898;_0x20c38d[_0x4abb1e(0xc5)](_0xdee2e2)&&_0x20c38d[_0x4abb1e(0xb5)]({'threadId':_0xdee2e2,'channelId':_0x177fc4,'context':_0x1fe3eb,'unlinkedAt':_0x622afc,'attributes':_0x479fd3,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf6),(_0x4802f4,{commentThreadId:_0xe229bd,resolvedBy:_0x8942c5,resolvedAt:_0x432c74})=>{const _0x328903=_0x37f898,_0x40a3d5=_0x20c38d[_0x328903(0xc5)](_0xe229bd);_0x40a3d5&&_0x40a3d5[_0x328903(0xf1)]({'resolvedBy':_0x8942c5,'resolvedAt':_0x432c74,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xfa),(_0x4f0091,{commentThreadId:_0x5c8d00})=>{const _0x3edf26=_0x37f898,_0x557887=_0x20c38d[_0x3edf26(0xc5)](_0x5c8d00);_0x557887&&_0x557887[_0x3edf26(0xab)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xe9),(_0x1db594,{commentThreadId:_0x2b5f46})=>{const _0x4456f9=_0x37f898,_0x579443=_0x20c38d[_0x4456f9(0xc5)](_0x2b5f46);_0x579443&&_0x579443[_0x4456f9(0xf4)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xaa),(_0x5014ce,_0x2a7e1d)=>{const _0x5ee35f=_0x37f898,_0x2ea57f=_0x2a7e1d[_0x5ee35f(0xe8)],_0x4a78cd=_0x20c38d[_0x5ee35f(0xc5)](_0x2ea57f);_0x4a78cd&&_0x4a78cd[_0x5ee35f(0xd0)]({...S(_0x2a7e1d),'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc4),(_0x20de01,{commentThreadId:_0x1eaca8,commentId:_0x1e7e1e,content:_0x28c918,attributes:_0x1fcf1e})=>{const _0x172f9f=_0x37f898,_0x314f7d=_0x20c38d[_0x172f9f(0xc5)](_0x1eaca8);if(_0x314f7d){const _0x34ca88=_0x314f7d[_0x172f9f(0xc2)](_0x1e7e1e);_0x34ca88&&_0x34ca88[_0x172f9f(0xe1)]({'content':_0x28c918,'attributes':_0x1fcf1e,'isFromAdapter':!0x0});}}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc8),(_0x51f481,{commentThreadId:_0x520c80,commentId:_0x531267})=>{const _0x19f1e7=_0x37f898,_0x13a18e=_0x20c38d[_0x19f1e7(0xc5)](_0x520c80);if(_0x13a18e){const _0x31bdbe=_0x13a18e[_0x19f1e7(0xc2)](_0x531267);_0x31bdbe&&_0x31bdbe[_0x19f1e7(0xf4)]({'isFromAdapter':!0x0});}}),await this[_0x37f898(0xcf)](_0x3c0aea);}[_0x252b77(0xda)](){const _0x5ca83c=_0x252b77;if(this[_0x5ca83c(0xd5)]instanceof _0x15bc32){const _0x1e7027=this[_0x5ca83c(0xd5)][_0x5ca83c(0xa8)][_0x5ca83c(0xe7)](_0x5ca83c(0x108));this[_0x5ca83c(0xa9)](_0x1e7027);}}[_0x252b77(0xa9)](_0x548867){const _0x2e64d1=_0x252b77;if(!this[_0x2e64d1(0xed)][_0x2e64d1(0xdc)](_0x548867))throw new _0x381e19(_0x2e64d1(0xdf),null,{'channelId':_0x548867});this[_0x2e64d1(0x102)](_0x548867)[_0x2e64d1(0xbe)](),this[_0x2e64d1(0xed)][_0x2e64d1(0xff)](_0x548867);}async[_0x252b77(0xe6)](){const _0x3f0118=_0x252b77;for(const _0x15005c of this[_0x3f0118(0xed)][_0x3f0118(0x105)]())await this[_0x3f0118(0xcf)](_0x15005c);if(this[_0x3f0118(0xd5)]instanceof _0x15bc32){const _0x15a6d7=this[_0x3f0118(0xd5)][_0x3f0118(0xa8)][_0x3f0118(0xe7)](_0x3f0118(0x108)),_0x1740bb=this[_0x3f0118(0xd5)][_0x3f0118(0xb1)][_0x3f0118(0xe7)](_0xb29762);_0x1740bb[_0x3f0118(0xfd)](_0x15a6d7);const _0xfe49b1=await this[_0x3f0118(0xed)][_0x3f0118(0xe7)](_0x15a6d7)[_0x3f0118(0xb8)]();_0x1740bb[_0x3f0118(0xa4)](_0x15a6d7,_0xfe49b1);}}async[_0x252b77(0xcf)](_0x4d5118){const _0xc1f9a2=_0x252b77,{connection:_0x2b2f52}=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0x31d550),_0x12e54c=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0xc1f9a2(0xc1)),_0x5568f8=this[_0xc1f9a2(0xed)][_0xc1f9a2(0xe7)](_0x4d5118),_0x4ad3b6=await _0x5568f8[_0xc1f9a2(0xcd)](_0x2b2f52);await this[_0xc1f9a2(0xb6)](_0x4ad3b6);const _0x3f61fb=new Set(Array[_0xc1f9a2(0xb9)](_0x12e54c[_0xc1f9a2(0xf5)]({'channelId':_0x4d5118}),_0x41b3a3=>_0x41b3a3['id']));for(const _0x5bbec9 of _0x4ad3b6)_0x5bbec9[_0xc1f9a2(0xbf)]||_0x3f61fb[_0xc1f9a2(0xff)](_0x5bbec9[_0xc1f9a2(0xe8)]);for(const _0x47b130 of _0x3f61fb)_0x12e54c[_0xc1f9a2(0xc5)](_0x47b130)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0x1ac554 of _0x4ad3b6){let _0x1728b9=_0x12e54c[_0xc1f9a2(0xc5)](_0x1ac554[_0xc1f9a2(0xe8)]);const {commentThreadId:_0xa3e2bd,context:_0x1b55ec,attributes:_0x4c5f18,resolvedBy:_0x2b5677,resolvedAt:_0x3bd309,unlinkedAt:_0x3a1f75,deletedAt:_0x34b065}=_0x1ac554;if(_0x34b065)continue;_0x1728b9||(_0x1728b9=_0x12e54c[_0xc1f9a2(0xcb)]({'channelId':_0x4d5118,'threadId':_0xa3e2bd,'context':_0x1b55ec,'attributes':_0x4c5f18||{},'resolvedBy':_0x2b5677,'resolvedAt':_0x3bd309,'unlinkedAt':_0x3a1f75,'isFromAdapter':!0x0}));const _0x1e212d=new Set(Array[_0xc1f9a2(0xb9)](_0x1728b9[_0xc1f9a2(0xe4)],_0x330102=>_0x330102['id']));for(const _0x8092e4 of _0x1ac554[_0xc1f9a2(0xe4)])_0x1e212d[_0xc1f9a2(0xff)](_0x8092e4[_0xc1f9a2(0xd7)]);for(const _0x3016d9 of _0x1e212d)_0x1728b9[_0xc1f9a2(0xc2)](_0x3016d9)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0xbc7d8a of _0x1ac554[_0xc1f9a2(0xe4)]){const _0x5dfac8=_0x1728b9[_0xc1f9a2(0xc2)](_0xbc7d8a[_0xc1f9a2(0xd7)]);_0x5dfac8?_0x5dfac8[_0xc1f9a2(0xdb)]!==_0xbc7d8a[_0xc1f9a2(0xdb)]&&_0x5dfac8[_0xc1f9a2(0xe1)]({'content':_0xbc7d8a[_0xc1f9a2(0xdb)],'isFromAdapter':!0x0}):_0x1728b9[_0xc1f9a2(0xd0)](Object[_0xc1f9a2(0xe5)](S(_0xbc7d8a),{'isFromAdapter':!0x0}));}}}[_0x252b77(0x102)](_0x4b70f0){const _0x4debef=_0x252b77;if(!this[_0x4debef(0xed)][_0x4debef(0xdc)](_0x4b70f0))throw new _0x381e19(_0x4debef(0xf2),null,{'channelId':_0x4b70f0});return this[_0x4debef(0xed)][_0x4debef(0xe7)](_0x4b70f0);}async[_0x252b77(0xb6)](_0xed981a){const _0x28e912=_0x252b77,_0x4b3de0=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x3ef70d),{connection:_0x5b7fd6}=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x31d550),_0x4ced52=new Set();for(const {resolvedBy:_0x136b3a,comments:_0x3bcc95}of _0xed981a){_0x136b3a&&!_0x4b3de0[_0x28e912(0xbb)](_0x136b3a)&&_0x4ced52[_0x28e912(0xf0)](_0x136b3a);for(const {userId:_0x249a01}of _0x3bcc95)_0x4b3de0[_0x28e912(0xbb)](_0x249a01)||_0x4ced52[_0x28e912(0xf0)](_0x249a01);}if(0x0===_0x4ced52[_0x28e912(0xb0)])return;const _0xf9ec52=await _0x25d22e[_0x28e912(0xd4)](_0x5b7fd6,Array[_0x28e912(0xb9)](_0x4ced52));for(const _0x1cdf58 of _0xf9ec52)_0x4b3de0[_0x28e912(0xbb)](_0x1cdf58['id'])||_0x4b3de0[_0x28e912(0xef)](_0x1cdf58);}}async function F(_0x300992){const _0x38d5a1=_0x252b77;if(_0x38d5a1(0xb4)!==_0x300992[_0x38d5a1(0xa6)])throw _0x300992;}function k(_0x4edb7a){const _0x46961e=_0x252b77;if((_0x261ff3=_0x4edb7a)[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xa5))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0x10b))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xd3)))return new Promise(()=>{});var _0x261ff3;throw _0x4edb7a;}function _0x225a(){const _0x29084c=['reconnect','get','commentThreadId','commentThreadRemoved','removeCommentThread','authorId','410704RYUBPT','_services','pluginName','addUser','add','resolve','cloudservicescommentsadapter-service-not-exist','commentThreadAdded','remove','getCommentThreads','commentThreadResolved','isPremiumPlugin','Permissions','requires','commentThreadReopened','10UiHdIH','addToReconnectionStack','unregister','sessionAdd:','delete','mySessionId','adapter','_getService','setPermissions','permissions','keys','resolvedAt','startsWith','collaboration.channelId','_setUpService','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','register','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','code','48vSNpRB','config','_terminateService','commentAdded','reopen','removeComment','1230246DHFZCv','reopenCommentThread','resolvedBy','size','plugins','276353xlQmJo','map','404','updateCommentThread','_fetchMissingUsersForThreads','148RwFccQ','getConnectedSessions','from','isOfficialPlugin','getUser','updateComment','667099jBsZlF','disconnect','deletedAt','init','CommentsRepository','getComment','message','commentUpdated','getCommentThread','3582YMLzfI','set','commentRemoved','off','createdAt','addCommentThread','catch','connect','CloudServicesCommentsAdapter','_connectService','addComment','commentThreadUpdated','attributes','cloud-services-internal-error:\x20Request\x20timeout.','getMany','context','CommentsService','commentId','255dVcSke','284382GwJJWS','destroy','content','has','53550NKSCuo','63OKfOpm','cloudservicescommentsadapter-disconnect-not-exist','listenTo','update','userId','resolveCommentThread','comments','assign'];_0x225a=function(){return _0x29084c;};return _0x225a();}function S(_0x1a8866){const _0x4a6312=_0x252b77;return{'threadId':_0x1a8866[_0x4a6312(0xe8)],'commentId':_0x1a8866[_0x4a6312(0xd7)],'content':_0x1a8866[_0x4a6312(0xdb)],'createdAt':_0x1a8866[_0x4a6312(0xca)],'authorId':_0x1a8866[_0x4a6312(0xe2)],'attributes':_0x1a8866[_0x4a6312(0xd2)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b0c6e=_0x345a;function _0x345a(_0x241adf,_0x4b2c1b){const _0x136241=_0x1362();return _0x345a=function(_0x345ad2,_0x31e1e1){_0x345ad2=_0x345ad2-0x188;let _0x48cc7d=_0x136241[_0x345ad2];return _0x48cc7d;},_0x345a(_0x241adf,_0x4b2c1b);}(function(_0x2e2cf1,_0x63e98d){const _0x17ddff=_0x345a,_0x4c3a00=_0x2e2cf1();while(!![]){try{const _0x1b8754=parseInt(_0x17ddff(0x1a8))/0x1+parseInt(_0x17ddff(0x19d))/0x2+parseInt(_0x17ddff(0x19a))/0x3+-parseInt(_0x17ddff(0x188))/0x4*(-parseInt(_0x17ddff(0x18c))/0x5)+-parseInt(_0x17ddff(0x1a2))/0x6+parseInt(_0x17ddff(0x199))/0x7*(-parseInt(_0x17ddff(0x197))/0x8)+-parseInt(_0x17ddff(0x18a))/0x9;if(_0x1b8754===_0x63e98d)break;else _0x4c3a00['push'](_0x4c3a00['shift']());}catch(_0xda447c){_0x4c3a00['push'](_0x4c3a00['shift']());}}}(_0x1362,0xee075));import{Plugin as _0x4340d3}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0xc9094e}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1a224f}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x17c99a}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4340d3{static get[_0x4b0c6e(0x18e)](){const _0x551f10=_0x4b0c6e;return[_0x551f10(0x191),_0xc9094e,_0x1a224f,_0x17c99a];}static get[_0x4b0c6e(0x19c)](){const _0x12863c=_0x4b0c6e;return _0x12863c(0x195);}static get[_0x4b0c6e(0x19e)](){return!0x0;}static get[_0x4b0c6e(0x1a7)](){return!0x0;}[_0x4b0c6e(0x19b)](){const _0x313108=_0x4b0c6e,_0xd9bfa4=this[_0x313108(0x1a1)][_0x313108(0x1a4)][_0x313108(0x194)](_0x17c99a),_0x2cb4a7=this[_0x313108(0x1a1)][_0x313108(0x1a4)][_0x313108(0x194)](_0x313108(0x189)),_0x5a660c=this[_0x313108(0x1a1)][_0x313108(0x1a4)][_0x313108(0x194)](_0xc9094e);return this[_0x313108(0x1a1)][_0x313108(0x18f)][_0x313108(0x19f)](_0x313108(0x190),()=>{const _0xbe9459=_0x313108;this[_0xbe9459(0x196)](_0xd9bfa4,_0xbe9459(0x192),(_0x86f01f,_0xfc2399,_0x3bbd2c)=>{const _0x35e3c1=_0xbe9459;_0x2cb4a7[_0x35e3c1(0x198)]=_0x35e3c1(0x1a0)!==_0x3bbd2c;});}),this[_0x313108(0x196)](_0xd9bfa4,_0x313108(0x192),(_0x4f5768,_0x2df3ef,_0x5c30d5)=>{const _0x2190c7=_0x313108;this[_0x2190c7(0x1a1)][_0x2190c7(0x1a4)][_0x2190c7(0x194)](_0x2190c7(0x1a3))[_0x2190c7(0x193)](_0x2190c7(0x1a0)!==_0x5c30d5);}),_0x5a660c[_0x313108(0x18b)](this[_0x313108(0x1a1)][_0x313108(0x1a6)][_0x313108(0x194)](_0x313108(0x1a9)));}[_0x4b0c6e(0x1a5)](){const _0x25f6c5=_0x4b0c6e;this[_0x25f6c5(0x1a1)][_0x25f6c5(0x1a4)][_0x25f6c5(0x194)](_0xc9094e)[_0x25f6c5(0x18d)](this[_0x25f6c5(0x1a1)][_0x25f6c5(0x1a6)][_0x25f6c5(0x194)](_0x25f6c5(0x1a9))),super[_0x25f6c5(0x1a5)]();}}function _0x1362(){const _0x386acf=['destroy','config','isPremiumPlugin','1901582PEcalo','collaboration.channelId','701628TwHtpt','CommentsEditing','15362046kccDTk','_setUpService','35hYGIox','_terminateService','requires','data','ready','Comments','change:state','switchReadOnly','get','RealTimeCollaborativeComments','listenTo','8bzLgbz','isThreadsLoadingPaused','9468907AuCgoO','99768qFtmQe','init','pluginName','3471170VlnlwY','isOfficialPlugin','once','connected','editor','5182272jSwSlR','CommentsRepository','plugins'];_0x1362=function(){return _0x386acf;};return _0x1362();}
23
+ const _0x19b9ea=_0x349d;(function(_0x55f3db,_0x182ef7){const _0x3ef9b0=_0x349d,_0x48a2dd=_0x55f3db();while(!![]){try{const _0x573795=parseInt(_0x3ef9b0(0x1f9))/0x1+parseInt(_0x3ef9b0(0x1fe))/0x2+parseInt(_0x3ef9b0(0x202))/0x3+-parseInt(_0x3ef9b0(0x1e9))/0x4+parseInt(_0x3ef9b0(0x1fb))/0x5*(parseInt(_0x3ef9b0(0x1ff))/0x6)+-parseInt(_0x3ef9b0(0x201))/0x7*(-parseInt(_0x3ef9b0(0x200))/0x8)+-parseInt(_0x3ef9b0(0x1fa))/0x9;if(_0x573795===_0x182ef7)break;else _0x48a2dd['push'](_0x48a2dd['shift']());}catch(_0x5decdc){_0x48a2dd['push'](_0x48a2dd['shift']());}}}(_0x290f,0xc82bc));import{Plugin as _0x4e75e0}from'ckeditor5/src/core.js';function _0x349d(_0x230b6b,_0x188c61){const _0x290fef=_0x290f();return _0x349d=function(_0x349d0b,_0x7b60bb){_0x349d0b=_0x349d0b-0x1e6;let _0x375075=_0x290fef[_0x349d0b];return _0x375075;},_0x349d(_0x230b6b,_0x188c61);}import{CloudServicesCommentsAdapter as _0x47570d}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3fcafa}from'./realtimecollaborativeediting.js';function _0x290f(){const _0x262e6f=['CommentsEditing','editor','isPremiumPlugin','_terminateService','3478480rahScy','_setUpService','connected','listenTo','RealTimeCollaborativeComments','destroy','init','requires','plugins','CommentsRepository','Comments','collaboration.channelId','change:state','switchReadOnly','pluginName','data','672386XseZoM','14061303kAIEPZ','1903745iMeoWi','get','isThreadsLoadingPaused','1083750IznnkL','12QPmELh','56XLYrWD','411551NefPbx','2593731SnSHEp','isOfficialPlugin','ready','once','config'];_0x290f=function(){return _0x262e6f;};return _0x290f();}import{WebSocketGateway as _0xdfb510}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4e75e0{static get[_0x19b9ea(0x1f0)](){const _0x26bbe9=_0x19b9ea;return[_0x26bbe9(0x1f3),_0x47570d,_0x3fcafa,_0xdfb510];}static get[_0x19b9ea(0x1f7)](){const _0x39f529=_0x19b9ea;return _0x39f529(0x1ed);}static get[_0x19b9ea(0x203)](){return!0x0;}static get[_0x19b9ea(0x1e7)](){return!0x0;}[_0x19b9ea(0x1ef)](){const _0x3ae982=_0x19b9ea,_0x979d7a=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0xdfb510),_0x25c57b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x3ae982(0x207)),_0xf5382b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x47570d);return this[_0x3ae982(0x1e6)][_0x3ae982(0x1f8)][_0x3ae982(0x205)](_0x3ae982(0x204),()=>{const _0x5c241f=_0x3ae982;this[_0x5c241f(0x1ec)](_0x979d7a,_0x5c241f(0x1f5),(_0x32ebb7,_0x4f3e60,_0x275a67)=>{const _0x428427=_0x5c241f;_0x25c57b[_0x428427(0x1fd)]=_0x428427(0x1eb)!==_0x275a67;});}),this[_0x3ae982(0x1ec)](_0x979d7a,_0x3ae982(0x1f5),(_0x4f7e79,_0x451115,_0x1ee248)=>{const _0x1a9c57=_0x3ae982;this[_0x1a9c57(0x1e6)][_0x1a9c57(0x1f1)][_0x1a9c57(0x1fc)](_0x1a9c57(0x1f2))[_0x1a9c57(0x1f6)](_0x1a9c57(0x1eb)!==_0x1ee248);}),_0xf5382b[_0x3ae982(0x1ea)](this[_0x3ae982(0x1e6)][_0x3ae982(0x206)][_0x3ae982(0x1fc)](_0x3ae982(0x1f4)));}[_0x19b9ea(0x1ee)](){const _0x3b760b=_0x19b9ea;this[_0x3b760b(0x1e6)][_0x3b760b(0x1f1)][_0x3b760b(0x1fc)](_0x47570d)[_0x3b760b(0x1e8)](this[_0x3b760b(0x1e6)][_0x3b760b(0x206)][_0x3b760b(0x1fc)](_0x3b760b(0x1f4))),super[_0x3b760b(0x1ee)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4106fb=_0x3c9d;(function(_0x17b42b,_0x294e3d){const _0x219f89=_0x3c9d,_0x565b30=_0x17b42b();while(!![]){try{const _0x2e6f62=-parseInt(_0x219f89(0x266))/0x1*(-parseInt(_0x219f89(0x251))/0x2)+-parseInt(_0x219f89(0x19a))/0x3*(-parseInt(_0x219f89(0x209))/0x4)+parseInt(_0x219f89(0x26a))/0x5*(-parseInt(_0x219f89(0x1c8))/0x6)+-parseInt(_0x219f89(0x222))/0x7*(-parseInt(_0x219f89(0x1af))/0x8)+parseInt(_0x219f89(0x1d8))/0x9+parseInt(_0x219f89(0x228))/0xa*(-parseInt(_0x219f89(0x20c))/0xb)+-parseInt(_0x219f89(0x1a8))/0xc*(parseInt(_0x219f89(0x24d))/0xd);if(_0x2e6f62===_0x294e3d)break;else _0x565b30['push'](_0x565b30['shift']());}catch(_0x160020){_0x565b30['push'](_0x565b30['shift']());}}}(_0xc6cf,0xce24e));function _0xc6cf(){const _0x182d3e=['real-time-collaboration','start','_handleSendingSelectionMarkers','$root','newRange','_initThrowingOnDataSet','_operationToId','lastSyncVersion','realtimecollaborationclient-init-service-incorrect-server-operation','batch','1236SflEij','model','CollaborativeEditingService','parse','isOfficialPlugin','data','bind','2528QLaVWP','decompress','keys','_handleReceivedOperations','realtimecollaborationclient-init-session-connection-error','_decompressOperations','permissions','removeFromReconnectionStack','rootsAttributes','register','history','isReadOnly','getMany','404','lastDocumentSession','rootName','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleInitialConnectionData','change:_isEditingAllowed','wasUndone','cs:removeUser','get','_connectAfterSessionHasBeenFlushed','_isEditingAllowed','_isInit','54sboZGW','reconnection:\x20flushed\x20session','toJSON','reset','_pendingAction','set','_disconnectService','finally','operationsReceived','affectsData','document:write','_fetchMissingUsers','getOperations','offset','_channelId','length','3016728QJSDbY','remove','differ','_sendBufferedOperationsDelayId','Permissions','getUser','forEach','createPositionAt','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.','_getAffectedRoot','state','_lastServerVersion','version','path','_sendBufferedOperations','_waitUntilSynced','realtimecollaborationclient-init-non-existent-root','affectedSelectable','marker','realtimecollaborationclient-init-service-internal-error','startsWith','createRange','unregister','enqueueChange','map','addRootAttribute','_knownRootNames','realtimecollaborationclient-init-document-already-initialized','editing','_loadRoot','_document','_initSessionsHandling','addRoot','type','_offset','_setUpDataInit','end','_operationIdentifier','channelSessions','_isDisconnection','getOperationAuthor','destroy','getIdOfTheLastOperation','listenTo','rtc-offline','_saveOperationInBuffer','loadRoot','suppressErrorInCollaboration','disconnected','4uvouwW','getRoot','createPositionFromPath','4841023IKfPHj','root','compress','config','fire','off','_ignoredOperations','_hasSynchronizationProblem','_handleReconnectionResponse','apply','high','connection','change:hasDomSelection','_baseBufferDelay','filter','_connectService','directChange','realtimecollaborationclient-error','from','catch','sessionId','cloudServices.bundleVersion','15841njJxvr','__className','createUserMarkerOperations','clone','lastOperationId','_handleReconnectionError','10VhIMas','getConnectedSessions','initData','attributes','then','init','collaboration','ready','markers','realtimecollaborationclient-handleserverresponse','size','collaboration-missing-channelid','addOperation','change:_isPendingUpdate','change:range','Synchronization\x20issue','409','_updateServerHistory','multi-root-editor-root-attributes-no-root','_knownOperations','insert','_bufferRootLoad','cloud-services-internal-error:\x20Request\x20timeout.','targetPosition','InsertOperation','_authorId','createdAt','_applyOperationsSet','move','code','baseVersion','document','round','metadata','_compressOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','define','119093wMMMMj','message','showWarning','_shouldSendUpdate','7394SsJnSG','_getOperationsFromInitData','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isAttached','_handleExternalOperations','isDocumentOperation','_currentBufferDelay','_sendBufferedOperationsDelayed','connected','RealTimeCollaborationClient','addUser','CommentsOnly','realtimecollaborationclient','view','isEnabled','isPremiumPlugin','applyOperation','setPermissions','rtc-destroyed','add','reconnect','173LYKhVj','disconnect','cloudDocumentVersion','wereChangesApplied','418885tbhIcs','realtimecollaborationclient-sendbufferedoperations','Notification','isUndoneOperation','addToReconnectionStack','_shouldSendSelectionUpdate','fromJSON','push','_clearPendingAction','userId','setIdForTheLastOperation','requires','enableReadOnlyMode','_isPendingUpdate','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.','plugins','connect','stop','_disconnectionOperations','_setPendingAction','_service','mySessionId','has','collaboration.channelId','locale','includes','slice','getDocumentDetails','return','entries','_bufferedOperations','sessionAdd:','position','string','disableReadOnlyMode','createRoot','currentDocumentSession','_lastSyncedOperationId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stopListening','PENDING_ACTION_SENDING_DATA','_isLoaded','sessionCreatedAt','_refreshUserSelectionMarkers','realtimecollaborationclient-init-connection-failed','sendOperations','roots','_addKnownRoot','error','_hasSelectionChanged','_compressor','selection','pluginName','_handleServerResponse','_isConnected','editor','cloud-services-internal-error:\x20Not\x20connected.','3876462ArGOdO','_crash','lastOperationAcceptedAt','serverHistory'];_0xc6cf=function(){return _0x182d3e;};return _0xc6cf();}import{Plugin as _0x408efc,PendingActions as _0x9e5b59}from'ckeditor5/src/core.js';import{CKEditorError as _0x513711,version as _0x5cb66f,uid as _0x3d9f4b}from'ckeditor5/src/utils.js';import{Notification as _0x4764ec}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x354d6c,NoOperation as _0x25b940,InsertOperation as _0x4d5b00,MarkerOperation as _0x32299d,RootAttributeOperation as _0x858a6a,OperationFactory as _0x347884,History as _0x54dbb1}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x22a6c4}from'./websocketgateway.js';import{Sessions as _0xad28a1}from'./sessions.js';import{UserMarkers as _0x14d685}from'./usermarkers.js';import{getTranslation as _0x1e43c8}from'../common-translations.js';import{Compressor as _0x5951ad}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x417b0d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x561321,CollaborativeEditingService as _0x1ec07f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x408efc{static [_0x4106fb(0x1aa)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1ec07f)());[_0x4106fb(0x1fa)];[_0x4106fb(0x220)];[_0x4106fb(0x19d)];[_0x4106fb(0x1d6)];[_0x4106fb(0x175)];[_0x4106fb(0x1f6)];[_0x4106fb(0x193)];[_0x4106fb(0x17f)];[_0x4106fb(0x23b)];[_0x4106fb(0x1f2)];[_0x4106fb(0x1cc)];[_0x4106fb(0x192)];[_0x4106fb(0x1db)];[_0x4106fb(0x219)];[_0x4106fb(0x257)];[_0x4106fb(0x186)];[_0x4106fb(0x173)];[_0x4106fb(0x1fd)];static get[_0x4106fb(0x16c)](){return[_0x22a6c4,_0xad28a1,_0x14d685,_0x9e5b59,_0x417b0d,_0x4764ec];}static get[_0x4106fb(0x195)](){const _0x34c3ea=_0x4106fb;return _0x34c3ea(0x25a);}static get[_0x4106fb(0x1ac)](){return!0x0;}static get[_0x4106fb(0x260)](){return!0x0;}get[_0x4106fb(0x268)](){const _0x463923=_0x4106fb;return this[_0x463923(0x1e3)]+this[_0x463923(0x1fa)];}get[_0x4106fb(0x1e3)](){const _0x4259d5=_0x4106fb;return this[_0x4259d5(0x19d)][_0x4259d5(0x1e4)]-this[_0x4259d5(0x1fa)];}get[_0x4106fb(0x1a5)](){const _0x4482f1=_0x4106fb,_0x4bc7cf=this[_0x4482f1(0x19d)][_0x4482f1(0x1d4)]();for(let _0x24c0e5=_0x4bc7cf[_0x4482f1(0x1d7)]-0x1;_0x24c0e5>=0x0;_0x24c0e5--){const _0x20f98b=_0x4bc7cf[_0x24c0e5];if(!this[_0x4482f1(0x173)][_0x4482f1(0x177)](_0x20f98b))return _0x20f98b[_0x4482f1(0x246)]+0x1-this[_0x4482f1(0x1fa)];}return 0x0;}constructor(_0x54d371){const _0x3d81c6=_0x4106fb;if(super(_0x54d371),this[_0x3d81c6(0x1fa)]=0x0,this[_0x3d81c6(0x220)]=null,this[_0x3d81c6(0x19d)]=new _0x54dbb1(),this[_0x3d81c6(0x198)][_0x3d81c6(0x20f)][_0x3d81c6(0x24c)](_0x3d81c6(0x22e),{}),this[_0x3d81c6(0x1d6)]=this[_0x3d81c6(0x198)][_0x3d81c6(0x20f)][_0x3d81c6(0x1c4)](_0x3d81c6(0x178)),!this[_0x3d81c6(0x1d6)])throw new _0x513711(_0x3d81c6(0x233),this);const _0x2f0664=_0x54d371[_0x3d81c6(0x20f)][_0x3d81c6(0x1c4)](_0x3d81c6(0x221))||_0x5cb66f;this[_0x3d81c6(0x175)]=new RealTimeCollaborationClient[(_0x3d81c6(0x1aa))](_0x2f0664,this[_0x3d81c6(0x1d6)]),this[_0x3d81c6(0x1f6)]=this[_0x3d81c6(0x198)][_0x3d81c6(0x1a9)][_0x3d81c6(0x247)],this[_0x3d81c6(0x193)]=new _0x5951ad(),this[_0x3d81c6(0x17f)]=[],this[_0x3d81c6(0x23b)]=new WeakSet(),this[_0x3d81c6(0x1f2)]=new Set(),this[_0x3d81c6(0x1cd)](_0x3d81c6(0x16e),!0x1),this[_0x3d81c6(0x1cd)](_0x3d81c6(0x213),!0x1),this[_0x3d81c6(0x1cc)]=null,this[_0x3d81c6(0x192)]=!0x1,this[_0x3d81c6(0x1db)]=null,this[_0x3d81c6(0x219)]=0x12c,this[_0x3d81c6(0x257)]=this[_0x3d81c6(0x219)],this[_0x3d81c6(0x186)]=null,this[_0x3d81c6(0x173)]=new WeakSet(),this[_0x3d81c6(0x1fd)]=new F(this[_0x3d81c6(0x173)]);}[_0x4106fb(0x22d)](){const _0x72feb8=_0x4106fb,_0x102a82=this[_0x72feb8(0x198)],_0x166745=_0x102a82[_0x72feb8(0x170)][_0x72feb8(0x1c4)](_0x417b0d),_0x40c2eb=_0x102a82[_0x72feb8(0x170)][_0x72feb8(0x1c4)](_0x22a6c4);this[_0x72feb8(0x203)](_0x166745,_0x72feb8(0x200),(_0x47d117,_0x5b2a95)=>{const _0xf3e88=_0x72feb8,_0x5108f5=_0x5b2a95[0x0];_0x5108f5[_0xf3e88(0x241)]&&(_0x47d117[_0xf3e88(0x17d)]=_0x166745[_0xf3e88(0x1dd)](_0x5108f5[_0xf3e88(0x241)]),_0x47d117[_0xf3e88(0x172)]()),null===_0x5108f5[_0xf3e88(0x241)]&&(_0x47d117[_0xf3e88(0x17d)]=null,_0x47d117[_0xf3e88(0x172)]());},{'priority':_0x72feb8(0x216)}),this[_0x72feb8(0x203)](_0x102a82[_0x72feb8(0x1a9)][_0x72feb8(0x247)][_0x72feb8(0x194)],_0x72feb8(0x236),(_0x2d4264,_0x41c052)=>{const _0x4fb7fb=_0x72feb8;_0x41c052[_0x4fb7fb(0x21c)]&&this[_0x4fb7fb(0x18c)]();}),this[_0x72feb8(0x203)](_0x102a82[_0x72feb8(0x1f4)][_0x72feb8(0x25e)],_0x72feb8(0x218),()=>{const _0x2aa43a=_0x72feb8;this[_0x2aa43a(0x18c)]();}),this[_0x72feb8(0x1a3)](),_0x102a82[_0x72feb8(0x1a9)]['on'](_0x72feb8(0x261),(_0x438462,_0x21cd42)=>{const _0x550fbc=_0x72feb8,_0x4e3a13=_0x21cd42[0x0];_0x4e3a13[_0x550fbc(0x256)]&&(this[_0x550fbc(0x205)](_0x4e3a13),this[_0x550fbc(0x250)]()&&this[_0x550fbc(0x258)]());}),this[_0x72feb8(0x1fb)](),this[_0x72feb8(0x1ae)](_0x72feb8(0x1c6))['to'](_0x40c2eb,_0x72feb8(0x1e2),this,_0x72feb8(0x213),(_0x6e67b7,_0x2e39e7)=>_0x72feb8(0x259)===_0x6e67b7&&!_0x2e39e7),this['on'](_0x72feb8(0x1c1),()=>{const _0x3640c2=_0x72feb8;this[_0x3640c2(0x1c6)]?_0x102a82[_0x3640c2(0x183)](_0x3640c2(0x204)):_0x102a82[_0x3640c2(0x16d)](_0x3640c2(0x204));}),this[_0x72feb8(0x1c6)]?_0x102a82[_0x72feb8(0x183)](_0x72feb8(0x204)):_0x102a82[_0x72feb8(0x16d)](_0x72feb8(0x204)),this[_0x72feb8(0x1cd)](_0x72feb8(0x197),!0x1);}async[_0x4106fb(0x265)](){const _0xd5053e=_0x4106fb,_0x4ab1fc=this[_0xd5053e(0x198)][_0xd5053e(0x170)][_0xd5053e(0x1c4)](_0xad28a1),_0x6fbe58=this[_0xd5053e(0x198)][_0xd5053e(0x170)][_0xd5053e(0x1c4)](_0x22a6c4);try{this[_0xd5053e(0x16e)]=!0x0,_0x4ab1fc[_0xd5053e(0x1ee)](this[_0xd5053e(0x1d6)]);const _0xd0310b=await this[_0xd5053e(0x175)][_0xd5053e(0x265)](_0x6fbe58[_0xd5053e(0x217)],this[_0xd5053e(0x1a5)]);await this[_0xd5053e(0x214)](_0xd0310b)&&(this[_0xd5053e(0x16e)]=!0x1,this[_0xd5053e(0x169)]());const _0x32cb68=await this[_0xd5053e(0x175)][_0xd5053e(0x229)]();_0x4ab1fc[_0xd5053e(0x1b8)](this[_0xd5053e(0x1d6)],_0x32cb68),this[_0xd5053e(0x1a0)](),this[_0xd5053e(0x197)]=!0x0;}catch(_0x4dc706){if(function(_0x5cc49b){const _0x2b21ca=_0xd5053e;return _0x2b21ca(0x1bc)===_0x5cc49b[_0x2b21ca(0x245)];}(_0x4dc706)&&this[_0xd5053e(0x220)])await this[_0xd5053e(0x1c5)]();else{if(function(_0x574d15){const _0x33fe25=_0xd5053e;return _0x33fe25(0x238)===_0x574d15[_0x33fe25(0x245)];}(_0x4dc706)){const _0x3feab8=_0x1e43c8(this[_0xd5053e(0x198)][_0xd5053e(0x179)],_0xd5053e(0x253));this[_0xd5053e(0x227)](_0x3feab8);}else{if(!(_0x4dc706 instanceof V))throw _0x4dc706;this[_0xd5053e(0x227)]();}}}}[_0x4106fb(0x201)](){const _0x499e87=_0x4106fb,_0x67d31f=this[_0x499e87(0x198)][_0x499e87(0x170)][_0x499e87(0x1c4)](_0x22a6c4),_0x239532=this[_0x499e87(0x198)][_0x499e87(0x170)][_0x499e87(0x1c4)](_0xad28a1);this[_0x499e87(0x198)][_0x499e87(0x16d)](_0x499e87(0x263)),_0x239532[_0x499e87(0x1fe)][_0x499e87(0x177)](this[_0x499e87(0x1d6)])&&_0x239532[_0x499e87(0x1ee)](this[_0x499e87(0x1d6)]),_0x67d31f[_0x499e87(0x1b6)](this),this[_0x499e87(0x1ce)](),super[_0x499e87(0x201)]();}async[_0x4106fb(0x214)](_0x4e285){const _0x2a082b=_0x4106fb;if(this[_0x2a082b(0x220)]!==_0x4e285[_0x2a082b(0x220)]&&this[_0x2a082b(0x186)]!==_0x4e285[_0x2a082b(0x226)])throw new V();return this[_0x2a082b(0x220)]=_0x4e285[_0x2a082b(0x220)],this[_0x2a082b(0x196)]([],{..._0x4e285,'wereChangesApplied':!0x1,'data':_0x4e285[_0x2a082b(0x1ad)]},_0x2a082b(0x265));}async[_0x4106fb(0x21b)](_0x175cc8,_0x2bfa69=!0x1){const _0x4222f2=_0x4106fb,{connection:_0x513ed5}=this[_0x4222f2(0x198)][_0x4222f2(0x170)][_0x4222f2(0x1c4)](_0x22a6c4);RealTimeCollaborationClient[_0x4222f2(0x1aa)][_0x4222f2(0x229)](_0x513ed5,this[_0x4222f2(0x1d6)])[_0x4222f2(0x22c)](_0x575734=>this[_0x4222f2(0x1f7)](_0x575734))[_0x4222f2(0x21f)](_0x20c653=>{const _0x4bcafa=_0x4222f2;this[_0x4bcafa(0x19b)](_0x4bcafa(0x1b3),_0x20c653);}),this[_0x4222f2(0x203)](this[_0x4222f2(0x175)],_0x4222f2(0x1d0),this[_0x4222f2(0x1b2)][_0x4222f2(0x1ae)](this)),this[_0x4222f2(0x203)](this[_0x4222f2(0x175)],_0x4222f2(0x191),(_0x3ee0f0,_0x25fd39)=>{const _0x45411a=_0x4222f2;this[_0x45411a(0x19b)](_0x45411a(0x1eb),_0x25fd39);}),this[_0x4222f2(0x203)](this[_0x4222f2(0x175)],_0x4222f2(0x208),()=>{const _0x432bc5=_0x4222f2;this[_0x432bc5(0x197)]=!0x1;});const _0x40ac00=this[_0x4222f2(0x1fd)][_0x4222f2(0x202)](_0x175cc8);this[_0x4222f2(0x16e)]=!0x0;const _0x506fcf=await this[_0x4222f2(0x175)][_0x4222f2(0x171)](_0x513ed5,this[_0x4222f2(0x24a)](_0x175cc8),_0x40ac00);if(this[_0x4222f2(0x220)]=_0x506fcf[_0x4222f2(0x220)],_0x2bfa69){if(!_0x506fcf[_0x4222f2(0x269)])return void this[_0x4222f2(0x227)]();this[_0x4222f2(0x16e)]=!0x1,this[_0x4222f2(0x169)](),this[_0x4222f2(0x19d)][_0x4222f2(0x1cb)](),this[_0x4222f2(0x1fa)]=_0x506fcf[_0x4222f2(0x1d5)],this[_0x4222f2(0x19d)][_0x4222f2(0x1e4)]=this[_0x4222f2(0x1fa)],await this[_0x4222f2(0x196)](_0x175cc8,_0x506fcf,_0x4222f2(0x1c9));}else await this[_0x4222f2(0x1c0)](_0x506fcf,_0x175cc8);this[_0x4222f2(0x1a0)](),this[_0x4222f2(0x197)]=!0x0;}[_0x4106fb(0x1a0)](){const _0x110650=_0x4106fb,_0x331ca2=this[_0x110650(0x198)][_0x110650(0x170)][_0x110650(0x1c4)](_0xad28a1),_0x843cbe=this[_0x110650(0x198)][_0x110650(0x170)][_0x110650(0x1c4)](_0x14d685),_0x22a597=_0x331ca2[_0x110650(0x1fe)][_0x110650(0x1c4)](this[_0x110650(0x1d6)]);_0x22a597&&_0x22a597[_0x110650(0x1d7)]>0x1?_0x843cbe[_0x110650(0x224)]():this[_0x110650(0x203)](_0x331ca2,_0x110650(0x180)+this[_0x110650(0x1d6)],()=>{const _0x3d697b=_0x110650;0x2===_0x331ca2[_0x3d697b(0x1fe)][_0x3d697b(0x1c4)](this[_0x3d697b(0x1d6)])[_0x3d697b(0x1d7)]&&_0x843cbe[_0x3d697b(0x224)]();});}async[_0x4106fb(0x1b2)](_0x2c4bcc,_0x474c7d,_0x39a768,_0x212b1d){const _0x5c4234=_0x4106fb;if(!this[_0x5c4234(0x16e)]&&this[_0x5c4234(0x1f6)][_0x5c4234(0x1e4)]==_0x474c7d){const _0x5c99db=this[_0x5c4234(0x1b4)](_0x39a768,_0x212b1d);await this[_0x5c4234(0x1d3)](_0x5c99db),this[_0x5c4234(0x255)](_0x5c99db,_0x474c7d,_0x39a768[_0x5c4234(0x226)])||this[_0x5c4234(0x19b)](_0x5c4234(0x1a6));}}async[_0x4106fb(0x1c5)](){const _0x29cc83=_0x4106fb;this[_0x29cc83(0x1ce)]();const {locale:_0x2edabf}=this[_0x29cc83(0x198)];let _0x12144f;try{_0x12144f=await this[_0x29cc83(0x175)][_0x29cc83(0x17c)]();}catch{const _0x9ea04d=_0x1e43c8(_0x2edabf,_0x29cc83(0x1bf));return void this[_0x29cc83(0x227)](_0x9ea04d);}const _0x29ef4b=_0x12144f[_0x29cc83(0x185)]||_0x12144f[_0x29cc83(0x1bd)];if(this[_0x29cc83(0x186)]!==_0x29ef4b[_0x29cc83(0x226)]){const _0x4f415d=_0x1e43c8(_0x2edabf,_0x29cc83(0x1e0));return void this[_0x29cc83(0x227)](_0x4f415d);}await this[_0x29cc83(0x21b)](this[_0x29cc83(0x198)][_0x29cc83(0x1a9)][_0x29cc83(0x247)][_0x29cc83(0x1b9)][_0x29cc83(0x1d4)](),!0x0);}[_0x4106fb(0x1ce)](){const _0x185a2f=_0x4106fb;this[_0x185a2f(0x175)][_0x185a2f(0x267)](),this[_0x185a2f(0x17f)]=[],clearTimeout(this[_0x185a2f(0x1db)]),this[_0x185a2f(0x188)](this[_0x185a2f(0x175)]);}[_0x4106fb(0x1f7)](_0x58e405){const _0x7dcc06=_0x4106fb,_0x829b9d=this[_0x7dcc06(0x198)][_0x7dcc06(0x170)][_0x7dcc06(0x1c4)](_0xad28a1);this[_0x7dcc06(0x203)](_0x829b9d,_0x7dcc06(0x180)+this[_0x7dcc06(0x1d6)],(_0x29661d,{session:_0x701e87})=>{const _0x1531f4=_0x7dcc06;if(_0x701e87['id']===_0x829b9d[_0x1531f4(0x176)]){_0x29661d[_0x1531f4(0x211)]();const _0x1aa8fd=this[_0x1531f4(0x198)][_0x1531f4(0x170)][_0x1531f4(0x177)](_0x1531f4(0x25c))&&this[_0x1531f4(0x198)][_0x1531f4(0x170)][_0x1531f4(0x1c4)](_0x1531f4(0x25c));let _0x180705=_0x701e87[_0x1531f4(0x1b5)];_0x1aa8fd&&_0x1aa8fd[_0x1531f4(0x25f)]&&(_0x180705=_0x180705[_0x1531f4(0x21a)](_0x3667a4=>_0x1531f4(0x1d2)!==_0x3667a4)),this[_0x1531f4(0x198)][_0x1531f4(0x170)][_0x1531f4(0x1c4)](_0x1531f4(0x1dc))[_0x1531f4(0x262)](_0x180705,this[_0x1531f4(0x1d6)]);}}),_0x829b9d[_0x7dcc06(0x1b8)](this[_0x7dcc06(0x1d6)],_0x58e405);}[_0x4106fb(0x1a3)](){const _0x2a119e=_0x4106fb,_0x2d344d=this[_0x2a119e(0x198)][_0x2a119e(0x1ad)][_0x2a119e(0x1cd)];this[_0x2a119e(0x198)][_0x2a119e(0x1ad)][_0x2a119e(0x1cd)]=(..._0xa71fca)=>{const _0x5ca0d7=_0x2a119e;if(!_0xa71fca[_0xa71fca[_0x5ca0d7(0x1d7)]-0x1][_0x5ca0d7(0x207)])throw new _0x513711(_0x5ca0d7(0x24b),this);_0x2d344d[_0x5ca0d7(0x215)](this[_0x5ca0d7(0x198)][_0x5ca0d7(0x1ad)],_0xa71fca);};}[_0x4106fb(0x1fb)](){const _0x58bc90=_0x4106fb;this[_0x58bc90(0x198)][_0x58bc90(0x1ad)]['on'](_0x58bc90(0x22d),(_0x3392d4,[_0x203674])=>{const _0x2075ff=_0x58bc90;if(this[_0x2075ff(0x1f6)][_0x2075ff(0x1e4)])throw new _0x513711(_0x2075ff(0x1f3),this);_0x3392d4[_0x2075ff(0x172)](),this[_0x2075ff(0x174)]();const _0x111535=this[_0x2075ff(0x198)][_0x2075ff(0x20f)][_0x2075ff(0x1c4)](_0x2075ff(0x1b7)),_0x4bfa6c=this[_0x2075ff(0x252)](_0x203674,_0x111535);0x0==_0x4bfa6c[_0x2075ff(0x1d7)]&&_0x4bfa6c[_0x2075ff(0x168)](new _0x25b940(0x0)),_0x3392d4[_0x2075ff(0x17d)]=this[_0x2075ff(0x21b)](_0x4bfa6c)[_0x2075ff(0x22c)](()=>{const _0x22ddab=_0x2075ff;this[_0x22ddab(0x198)][_0x22ddab(0x170)][_0x22ddab(0x1c4)](_0x22a6c4)[_0x22ddab(0x26e)](this),this[_0x22ddab(0x198)][_0x22ddab(0x1ad)][_0x22ddab(0x210)](_0x22ddab(0x22f));})[_0x2075ff(0x21f)](_0x5978c9=>this[_0x2075ff(0x19b)](_0x2075ff(0x18d),_0x5978c9))[_0x2075ff(0x1cf)](()=>this[_0x2075ff(0x169)]());},{'priority':_0x58bc90(0x216)}),this[_0x58bc90(0x198)]['on'](_0x58bc90(0x206),async(_0x288adc,[_0x451d97,_0x279a37])=>{const _0x327af1=_0x58bc90;_0x288adc[_0x327af1(0x172)]();const _0x42082a=this[_0x327af1(0x198)][_0x327af1(0x1a9)][_0x327af1(0x247)][_0x327af1(0x20a)](_0x451d97);if(!this[_0x327af1(0x1f2)][_0x327af1(0x177)](_0x451d97)){const _0x1b3d12=_0x279a37&&_0x279a37[_0x327af1(0x1ad)]?_0x279a37[_0x327af1(0x1ad)]:'',_0x471bef=_0x279a37&&_0x279a37[_0x327af1(0x22b)]?_0x279a37[_0x327af1(0x22b)]:{};await this[_0x327af1(0x1f5)](_0x451d97,_0x1b3d12,_0x471bef);}this[_0x327af1(0x198)][_0x327af1(0x1a9)][_0x327af1(0x1ef)]({'isUndoable':!0x1},()=>{const _0x515fd8=_0x327af1;_0x42082a[_0x515fd8(0x18a)]=!0x0,this[_0x515fd8(0x198)][_0x515fd8(0x1a9)][_0x515fd8(0x247)][_0x515fd8(0x1da)][_0x515fd8(0x23d)](_0x42082a);});},{'priority':_0x58bc90(0x216)});}async[_0x4106fb(0x1d3)](_0x5882e9){const _0x3190cd=_0x4106fb,_0x25003b=this[_0x3190cd(0x198)][_0x3190cd(0x170)][_0x3190cd(0x1c4)](_0x417b0d),{connection:_0x15da1d}=this[_0x3190cd(0x198)][_0x3190cd(0x170)][_0x3190cd(0x1c4)](_0x22a6c4),_0x1e6d3b=new Set();for(const _0xf9e80 of _0x5882e9){const _0x1797f2=_0xf9e80[_0x3190cd(0x241)];_0x1797f2&&!_0x25003b[_0x3190cd(0x1dd)](_0x1797f2)&&_0x1e6d3b[_0x3190cd(0x264)](_0x1797f2);}if(0x0===_0x1e6d3b[_0x3190cd(0x232)])return;const _0x55ae05=await _0x561321[_0x3190cd(0x1bb)](_0x15da1d,Array[_0x3190cd(0x21e)](_0x1e6d3b));for(const _0xd3cbf0 of _0x55ae05)_0x25003b[_0x3190cd(0x1dd)](_0xd3cbf0['id'])||_0x25003b[_0x3190cd(0x25b)](_0xd3cbf0);}[_0x4106fb(0x252)](_0x2b7adb,_0x5ef734={}){const _0x24d163=_0x4106fb,_0x5a0e34=this[_0x24d163(0x198)][_0x24d163(0x1a9)],_0x1db243=[];let _0x4ffe21=0x0;const _0x4083f4=_0x24d163(0x182)==typeof _0x2b7adb?{'main':_0x2b7adb}:_0x2b7adb;for(const _0x4ae121 of Object[_0x24d163(0x1b1)](_0x4083f4)){if(!this[_0x24d163(0x1f6)][_0x24d163(0x18f)][_0x24d163(0x177)](_0x4ae121))throw new _0x513711(_0x24d163(0x1e8),this);const _0x1929a7=this[_0x24d163(0x198)][_0x24d163(0x1ad)][_0x24d163(0x1ab)](_0x4083f4[_0x4ae121]),_0x221dba=this[_0x24d163(0x1f6)][_0x24d163(0x20a)](_0x4ae121),_0xb95223=new _0x4d5b00(_0x5a0e34[_0x24d163(0x1df)](_0x221dba,0x0),_0x1929a7,_0x4ffe21++);_0x1db243[_0x24d163(0x168)](_0xb95223);for(const [_0x5c724d,_0x6acd68]of _0x1929a7[_0x24d163(0x230)]){const _0x284b7f=_0x5a0e34[_0x24d163(0x1ed)](_0x5a0e34[_0x24d163(0x20b)](_0x221dba,_0x6acd68[_0x24d163(0x19f)][_0x24d163(0x1e5)][_0x24d163(0x17b)]()),_0x5a0e34[_0x24d163(0x20b)](_0x221dba,_0x6acd68[_0x24d163(0x1fc)][_0x24d163(0x1e5)][_0x24d163(0x17b)]())),_0x1f5e61=new _0x32299d(_0x5c724d,null,_0x284b7f,_0x5a0e34[_0x24d163(0x230)],!0x0,_0x4ffe21++);_0x1db243[_0x24d163(0x168)](_0x1f5e61);}}if(_0x5ef734)for(const [_0x137623,_0x45c2a2]of Object[_0x24d163(0x17e)](_0x5ef734)){const _0x507e2c=_0x5a0e34[_0x24d163(0x247)][_0x24d163(0x20a)](_0x137623);if(!_0x507e2c)throw new _0x513711(_0x24d163(0x23a),null);for(const [_0x8a6b2b,_0x180a29]of Object[_0x24d163(0x17e)](_0x45c2a2))if(null!==_0x180a29){const _0x262a86=new _0x858a6a(_0x507e2c,_0x8a6b2b,null,_0x180a29,_0x4ffe21++);_0x1db243[_0x24d163(0x168)](_0x262a86);}}return _0x1db243;}async[_0x4106fb(0x1f5)](_0x4a7f64,_0x2f8a17,_0x337fe8){const _0x56e8d2=_0x4106fb;this[_0x56e8d2(0x252)]({[_0x4a7f64]:_0x2f8a17},{[_0x4a7f64]:_0x337fe8})[_0x56e8d2(0x1de)]((_0x51b9b1,_0x4e0a06)=>{const _0x20a48d=_0x56e8d2;_0x51b9b1[_0x20a48d(0x246)]=this[_0x20a48d(0x1f6)][_0x20a48d(0x1e4)]+_0x4e0a06,_0x51b9b1[_0x20a48d(0x1c7)]=!0x0,this[_0x20a48d(0x205)](_0x51b9b1);}),this[_0x56e8d2(0x258)](),await this[_0x56e8d2(0x1e7)]();}async[_0x4106fb(0x1c0)](_0x4bc427,_0x4be5fb){const _0x37e3bc=_0x4106fb;let _0x4ef399;this[_0x37e3bc(0x1fa)]=_0x4bc427[_0x37e3bc(0x1d5)];const _0x1fb553=_0x4bc427[_0x37e3bc(0x269)]&&!_0x4bc427[_0x37e3bc(0x22a)],_0x39796f=_0x1fb553?0x0:_0x4bc427[_0x37e3bc(0x1ad)][_0x37e3bc(0x246)];if(_0x4be5fb[_0x37e3bc(0x1de)](_0x8c78cc=>{const _0x3e334b=_0x37e3bc;_0x8c78cc[_0x3e334b(0x1c7)]=!0x0,_0x8c78cc[_0x3e334b(0x242)]=_0x4bc427[_0x3e334b(0x18b)],_0x8c78cc[_0x3e334b(0x241)]=null;}),_0x1fb553)_0x4ef399=_0x4be5fb,this[_0x37e3bc(0x243)](_0x4ef399,_0x1fb553);else{if(_0x4bc427[_0x37e3bc(0x22a)]){const _0x388025=this[_0x37e3bc(0x252)](_0x4bc427[_0x37e3bc(0x22a)]);this[_0x37e3bc(0x1f6)][_0x37e3bc(0x1b9)][_0x37e3bc(0x1e4)]=-_0x388025[_0x37e3bc(0x1d7)],_0x388025[_0x37e3bc(0x1de)](_0x296ec4=>{const _0x2c0cad=_0x37e3bc;_0x296ec4[_0x2c0cad(0x246)]-=_0x388025[_0x2c0cad(0x1d7)],_0x296ec4[_0x2c0cad(0x242)]=_0x4bc427[_0x2c0cad(0x18b)],_0x296ec4[_0x2c0cad(0x1c7)]=!0x0,_0x296ec4[_0x2c0cad(0x241)]=null;}),this[_0x37e3bc(0x243)](_0x388025,!0x0),this[_0x37e3bc(0x19d)][_0x37e3bc(0x1e4)]=-_0x388025[_0x37e3bc(0x1d7)]+this[_0x37e3bc(0x1fa)],this[_0x37e3bc(0x239)](_0x388025);}this[_0x37e3bc(0x1f6)][_0x37e3bc(0x1b9)][_0x37e3bc(0x1e4)]=_0x39796f,_0x4ef399=this[_0x37e3bc(0x1b4)](_0x4bc427[_0x37e3bc(0x1ad)],_0x4bc427[_0x37e3bc(0x249)]),await this[_0x37e3bc(0x1d3)](_0x4ef399),this[_0x37e3bc(0x243)](_0x4ef399,_0x1fb553);}_0x4bc427[_0x37e3bc(0x226)]&&(this[_0x37e3bc(0x1fd)][_0x37e3bc(0x16b)](_0x4ef399,_0x4bc427[_0x37e3bc(0x226)]),this[_0x37e3bc(0x186)]=_0x4bc427[_0x37e3bc(0x226)]),this[_0x37e3bc(0x19d)][_0x37e3bc(0x1e4)]=_0x39796f+this[_0x37e3bc(0x1fa)],this[_0x37e3bc(0x239)](_0x4ef399),_0x4be5fb[_0x37e3bc(0x21a)](_0x1c90f0=>{const _0x386356=_0x37e3bc,_0x2b0728=this[_0x386356(0x1e1)](_0x1c90f0);return _0x2b0728&&!this[_0x386356(0x1f2)][_0x386356(0x177)](_0x2b0728);})[_0x37e3bc(0x1de)]((_0x547f8d,_0x33e727)=>{const _0x1f45e8=_0x37e3bc;_0x547f8d[_0x1f45e8(0x246)]=this[_0x1f45e8(0x1f6)][_0x1f45e8(0x1e4)]+_0x33e727,this[_0x1f45e8(0x205)](_0x547f8d);}),this[_0x37e3bc(0x250)]()?(this[_0x37e3bc(0x257)]=0x0,this[_0x37e3bc(0x258)](!0x0),await this[_0x37e3bc(0x1e7)]()):(this[_0x37e3bc(0x16e)]=!0x1,this[_0x37e3bc(0x169)]());}[_0x4106fb(0x19b)](_0x1732a4,_0x25d775){const _0x3a67ee=_0x4106fb,_0x3a0c06=_0x25d775&&_0x25d775[_0x3a67ee(0x24e)];if(_0x3a0c06&&_0x3a0c06[_0x3a67ee(0x1ec)](_0x3a67ee(0x25d)))throw _0x25d775;const _0x372a4b=this[_0x3a67ee(0x198)][_0x3a67ee(0x170)][_0x3a67ee(0x1c4)](_0x22a6c4);throw this[_0x3a67ee(0x16e)]=!0x0,_0x372a4b[_0x3a67ee(0x267)](),this[_0x3a67ee(0x198)][_0x3a67ee(0x16d)](_0x3a67ee(0x21d)),new _0x513711(_0x1732a4,this[_0x3a67ee(0x198)],_0x3a0c06?{'originalError':_0x3a0c06}:void 0x0);}[_0x4106fb(0x205)](_0x414bd5){const _0x5241fc=_0x4106fb;this[_0x5241fc(0x23b)][_0x5241fc(0x177)](_0x414bd5)||(this[_0x5241fc(0x23b)][_0x5241fc(0x264)](_0x414bd5),this[_0x5241fc(0x17f)][_0x5241fc(0x168)](_0x414bd5),this[_0x5241fc(0x1cc)]||_0x5241fc(0x1ea)==_0x414bd5[_0x5241fc(0x1f9)]&&!_0x414bd5[_0x5241fc(0x1d1)]||this[_0x5241fc(0x174)]());}[_0x4106fb(0x258)](_0x5beecd=!0x1){const _0x158b8e=_0x4106fb;!_0x5beecd&&this[_0x158b8e(0x16e)]||(this[_0x158b8e(0x16e)]=!0x0,clearTimeout(this[_0x158b8e(0x1db)]),this[_0x158b8e(0x1db)]=setTimeout(()=>{const _0x193591=_0x158b8e;this[_0x193591(0x1e6)]()[_0x193591(0x22c)](_0x22ec17=>{const _0x5887ec=_0x193591;_0x22ec17&&(this[_0x5887ec(0x169)](),this[_0x5887ec(0x16e)]=!0x1);})[_0x193591(0x21f)](_0x10ec1c=>{const _0x15a440=_0x193591;this[_0x15a440(0x169)](),this[_0x15a440(0x16e)]=!0x1,function(_0xc92201){const _0x117d9a=_0x15a440;return _0xc92201[_0x117d9a(0x24e)][_0x117d9a(0x1ec)](_0x117d9a(0x199))||_0xc92201[_0x117d9a(0x24e)][_0x117d9a(0x1ec)](_0x117d9a(0x187))||_0xc92201[_0x117d9a(0x24e)][_0x117d9a(0x1ec)](_0x117d9a(0x23e));}(_0x10ec1c)||this[_0x15a440(0x19b)](_0x10ec1c[_0x15a440(0x24e)],_0x10ec1c);});},this[_0x158b8e(0x257)]));}[_0x4106fb(0x1e7)](){return new Promise(_0x219816=>{const _0x1d47e8=_0x3c9d;this['on'](_0x1d47e8(0x235),()=>{_0x219816();});});}async[_0x4106fb(0x1e6)](){const _0x598350=_0x4106fb,_0x2128c9=this[_0x598350(0x198)][_0x598350(0x170)][_0x598350(0x1c4)](_0x14d685);if(this[_0x598350(0x26f)]()&&(_0x2128c9[_0x598350(0x224)](),this[_0x598350(0x192)]=!0x1),!this[_0x598350(0x250)]())return!0x0;const _0x31551e=[...this[_0x598350(0x17f)]];for(const _0x8328c0 of _0x31551e)_0x8328c0[_0x598350(0x1c2)]=this[_0x598350(0x1f6)][_0x598350(0x1b9)][_0x598350(0x26d)](_0x8328c0);const _0x39e2d2=this[_0x598350(0x1fd)][_0x598350(0x202)](_0x31551e),_0x478fd3=H++,_0x4fa804=this[_0x598350(0x24a)](_0x31551e),_0x11be0b=await this[_0x598350(0x175)][_0x598350(0x18e)](_0x4fa804,_0x4fa804[_0x598350(0x246)],_0x39e2d2);try{return await this[_0x598350(0x196)](_0x31551e,_0x11be0b,_0x478fd3);}catch(_0x3da1f2){return this[_0x598350(0x19b)](_0x598350(0x26b),_0x3da1f2);}}async[_0x4106fb(0x196)](_0x49020e,_0x59f576,_0x3558a3){const _0x54ec36=_0x4106fb;if(_0x54ec36(0x191)in _0x59f576)throw _0x59f576[_0x54ec36(0x191)];let _0x2e0b1f=!0x1;if(_0x59f576[_0x54ec36(0x269)]){_0x59f576[_0x54ec36(0x226)]&&(this[_0x54ec36(0x186)]=_0x59f576[_0x54ec36(0x226)]),this[_0x54ec36(0x17f)]=this[_0x54ec36(0x17f)][_0x54ec36(0x21a)](_0x2ec0a=>!_0x49020e[_0x54ec36(0x17a)](_0x2ec0a));for(const _0x11250c of _0x49020e)_0x11250c[_0x54ec36(0x242)]=_0x54ec36(0x19c)in _0x59f576&&_0x59f576[_0x54ec36(0x19c)]||void 0x0;W(_0x49020e,_0x59f576[_0x54ec36(0x1e4)]-_0x49020e[_0x54ec36(0x1d7)]),this[_0x54ec36(0x239)](_0x49020e);const _0x386d46=_0x49020e[_0x54ec36(0x21a)](_0x946a10=>{const _0x5ec7c6=_0x54ec36;if(!_0x946a10[_0x5ec7c6(0x1c7)])return!0x1;const _0x516ee5=this[_0x5ec7c6(0x1e1)](_0x946a10);return _0x516ee5&&!this[_0x5ec7c6(0x1f2)][_0x5ec7c6(0x177)](_0x516ee5);});W(_0x386d46,this[_0x54ec36(0x1f6)][_0x54ec36(0x1e4)]),this[_0x54ec36(0x243)](_0x386d46),_0x2e0b1f=!0x0,this[_0x54ec36(0x257)]=this[_0x54ec36(0x219)];}else{const _0x5f006c=this[_0x54ec36(0x1b4)](_0x59f576[_0x54ec36(0x1ad)],_0x59f576[_0x54ec36(0x249)])[_0x54ec36(0x21a)](_0x3b9381=>_0x3b9381[_0x54ec36(0x246)]>=this[_0x54ec36(0x1e3)]);_0x5f006c[_0x54ec36(0x1de)](_0x4d3624=>this[_0x54ec36(0x190)](_0x4d3624)),this[_0x54ec36(0x17f)]=this[_0x54ec36(0x17f)][_0x54ec36(0x21a)](_0x1a3c3d=>!_0x1a3c3d[_0x54ec36(0x1c7)]||!this[_0x54ec36(0x1f2)][_0x54ec36(0x177)](this[_0x54ec36(0x1e1)](_0x1a3c3d))),this[_0x54ec36(0x17f)][_0x54ec36(0x1d7)]&&W(this[_0x54ec36(0x17f)],this[_0x54ec36(0x17f)][0x0][_0x54ec36(0x246)]),await this[_0x54ec36(0x1d3)](_0x5f006c),_0x2e0b1f=this[_0x54ec36(0x255)](_0x5f006c,_0x59f576[_0x54ec36(0x1e4)],_0x59f576[_0x54ec36(0x226)]),this[_0x54ec36(0x257)]=Math[_0x54ec36(0x248)](this[_0x54ec36(0x257)]/0x2);}return _0x2e0b1f?!this[_0x54ec36(0x250)]()||(this[_0x54ec36(0x258)](!0x0),!0x1):this[_0x54ec36(0x19b)](_0x54ec36(0x231));}[_0x4106fb(0x255)](_0x2b1fc0,_0x3d6fe0,_0x4ecf9c){const _0x45f12c=_0x4106fb;try{const _0x37402c={'document':this[_0x45f12c(0x1f6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x401373,operationsB:_0x24c202,originalOperations:_0x3882b0}=_0x354d6c(_0x2b1fc0,this[_0x45f12c(0x17f)],_0x37402c);W(_0x401373,this[_0x45f12c(0x1f6)][_0x45f12c(0x1e4)]),W(_0x24c202,_0x3d6fe0);for(const _0x167e43 of _0x401373){const _0x59f822=_0x3882b0[_0x45f12c(0x1c4)](_0x167e43);_0x167e43[_0x45f12c(0x241)]=_0x59f822?_0x59f822[_0x45f12c(0x241)]:null;}_0x4ecf9c&&(this[_0x45f12c(0x1fd)][_0x45f12c(0x16b)](_0x2b1fc0,_0x4ecf9c),this[_0x45f12c(0x186)]=_0x4ecf9c),this[_0x45f12c(0x17f)]=[..._0x24c202],this[_0x45f12c(0x243)](_0x401373),this[_0x45f12c(0x239)](_0x2b1fc0);}catch(_0x165ebd){return console[_0x45f12c(0x191)](_0x165ebd),!0x1;}return!0x0;}[_0x4106fb(0x243)](_0x2ec650,_0x1122b6=!0x1){const _0x40378f=_0x4106fb;this[_0x40378f(0x198)][_0x40378f(0x1a9)][_0x40378f(0x1ef)]({'isUndoable':!0x1,'isLocal':!0x1},_0x224d5d=>{const _0x5dc9fa=_0x40378f;for(const _0x341b05 of _0x2ec650)this[_0x5dc9fa(0x23b)][_0x5dc9fa(0x264)](_0x341b05),this[_0x5dc9fa(0x190)](_0x341b05),_0x224d5d[_0x5dc9fa(0x1a7)][_0x5dc9fa(0x234)](_0x341b05),this[_0x5dc9fa(0x198)][_0x5dc9fa(0x1a9)][_0x5dc9fa(0x261)](_0x341b05);});}[_0x4106fb(0x190)](_0x1758aa){const _0x2825b1=_0x4106fb,_0x2234d6=this[_0x2825b1(0x1e1)](_0x1758aa);_0x2234d6&&this[_0x2825b1(0x1f2)][_0x2825b1(0x264)](_0x2234d6);}[_0x4106fb(0x1e1)](_0xb8d301){const _0xd2eb28=_0x4106fb;let _0xb93039,_0x408940;switch(_0xb8d301[_0xd2eb28(0x1f9)]){case _0xd2eb28(0x23c):_0xb93039=_0xb8d301[_0xd2eb28(0x181)][_0xd2eb28(0x20d)];break;case _0xd2eb28(0x1ea):if(_0x408940=_0xb8d301[_0xd2eb28(0x1a2)],!_0x408940)return null;_0xb93039=_0x408940[_0xd2eb28(0x20d)];break;case _0xd2eb28(0x1f1):_0xb93039=_0xb8d301[_0xd2eb28(0x20d)];break;case _0xd2eb28(0x1f8):_0xb93039=_0xb8d301[_0xd2eb28(0x1e9)];break;case _0xd2eb28(0x244):_0xb93039=_0xb8d301[_0xd2eb28(0x23f)][_0xd2eb28(0x20d)];break;default:return null;}return _0xb93039[_0xd2eb28(0x1be)];}[_0x4106fb(0x239)](_0x5b9723){const _0xad01e4=_0x4106fb;_0x5b9723[_0xad01e4(0x1de)](_0x5f5b04=>{const _0x295d09=_0xad01e4,_0x5a5800=_0x5f5b04[_0x295d09(0x225)]();_0x5a5800[_0x295d09(0x241)]=_0x5f5b04[_0x295d09(0x241)],_0x5a5800[_0x295d09(0x1c7)]=!!_0x5f5b04[_0x295d09(0x1c7)],_0x5a5800[_0x295d09(0x242)]=_0x5f5b04[_0x295d09(0x242)],_0x5a5800[_0x295d09(0x246)]+=this[_0x295d09(0x1fa)],_0x5f5b04[_0x295d09(0x1ff)]&&this[_0x295d09(0x173)][_0x295d09(0x264)](_0x5a5800),this[_0x295d09(0x19d)][_0x295d09(0x234)](_0x5a5800);});}[_0x4106fb(0x227)](_0xe59f99){const _0x40e36c=_0x4106fb,_0x4de2c9=this[_0x40e36c(0x198)][_0x40e36c(0x170)][_0x40e36c(0x1c4)](_0x40e36c(0x26c)),_0xae8c5c=this[_0x40e36c(0x198)][_0x40e36c(0x179)];_0xe59f99||(_0xe59f99=_0x1e43c8(_0xae8c5c,_0x40e36c(0x16f))),_0x4de2c9[_0x40e36c(0x24f)](_0xe59f99,{'title':_0x1e43c8(_0xae8c5c,_0x40e36c(0x237)),'namespace':_0x40e36c(0x19e)}),this[_0x40e36c(0x213)]=!0x0,clearTimeout(this[_0x40e36c(0x1db)]),this[_0x40e36c(0x17f)]=[],this[_0x40e36c(0x198)][_0x40e36c(0x170)][_0x40e36c(0x1c4)](_0x22a6c4)[_0x40e36c(0x267)]();}[_0x4106fb(0x174)](){const _0x59a00c=_0x4106fb;this[_0x59a00c(0x1cc)]||(this[_0x59a00c(0x1cc)]=this[_0x59a00c(0x198)][_0x59a00c(0x170)][_0x59a00c(0x1c4)](_0x9e5b59)[_0x59a00c(0x264)](_0x1e43c8(this[_0x59a00c(0x198)][_0x59a00c(0x179)],_0x59a00c(0x189))));}[_0x4106fb(0x169)](){const _0x37fecc=_0x4106fb;this[_0x37fecc(0x1cc)]&&(this[_0x37fecc(0x198)][_0x37fecc(0x170)][_0x37fecc(0x1c4)](_0x9e5b59)[_0x37fecc(0x1d9)](this[_0x37fecc(0x1cc)]),this[_0x37fecc(0x1cc)]=null);}[_0x4106fb(0x24a)](_0x16ff75){const _0x2870c3=_0x4106fb,_0x51dbfe=_0x16ff75[_0x2870c3(0x1f0)](_0x543e7d=>_0x543e7d[_0x2870c3(0x1ca)]());return this[_0x2870c3(0x193)][_0x2870c3(0x20e)](_0x51dbfe);}[_0x4106fb(0x1b4)](_0x2ae8d8,_0x570bbb){const _0x601a17=_0x4106fb;return this[_0x601a17(0x193)][_0x601a17(0x1b0)](_0x2ae8d8)[_0x601a17(0x1f0)]((_0x55a09b,_0x1220d8)=>{const _0x26de58=_0x601a17,_0x5ac00c=_0x26de58(0x22d)==_0x570bbb[_0x1220d8][_0x26de58(0x1f9)];if(_0x26de58(0x240)==_0x55a09b[_0x26de58(0x223)]){const _0x382ff7=_0x55a09b[_0x26de58(0x181)][_0x26de58(0x20d)];!this[_0x26de58(0x1f6)][_0x26de58(0x20a)](_0x382ff7)&&(this[_0x26de58(0x1f6)][_0x26de58(0x184)](_0x26de58(0x1a1),_0x382ff7)[_0x26de58(0x254)]=!0x1);}const _0x1c479a=_0x347884[_0x26de58(0x270)](_0x55a09b,this[_0x26de58(0x1f6)]);return _0x1c479a[_0x26de58(0x1c2)]=_0x55a09b[_0x26de58(0x1c2)],_0x1c479a[_0x26de58(0x1c7)]=_0x5ac00c,_0x1c479a[_0x26de58(0x241)]=_0x5ac00c?null:_0x570bbb[_0x1220d8][_0x26de58(0x16a)],_0x1c479a[_0x26de58(0x1ff)]=_0x26de58(0x1c3)===_0x570bbb[_0x1220d8][_0x26de58(0x1f9)],_0x1c479a[_0x26de58(0x242)]=_0x570bbb[_0x1220d8][_0x26de58(0x242)],_0x1c479a;});}[_0x4106fb(0x18c)](){const _0xa1b8e1=_0x4106fb;this[_0xa1b8e1(0x192)]=!0x0,this[_0xa1b8e1(0x26f)]()?this[_0xa1b8e1(0x258)]():this[_0xa1b8e1(0x192)]=!0x1;}[_0x4106fb(0x26f)](){const _0xab3de7=_0x4106fb,_0x5282ba=this[_0xab3de7(0x198)][_0xab3de7(0x170)][_0xab3de7(0x1c4)](_0xad28a1)[_0xab3de7(0x1fe)][_0xab3de7(0x1c4)](this[_0xab3de7(0x1d6)]);return!this[_0xab3de7(0x198)][_0xab3de7(0x1ba)]&&!!_0x5282ba&&_0x5282ba[_0xab3de7(0x1d7)]>0x1&&this[_0xab3de7(0x192)];}[_0x4106fb(0x250)](){const _0x37e281=_0x4106fb;return this[_0x37e281(0x17f)][_0x37e281(0x1d7)]>0x0||this[_0x37e281(0x26f)]();}}class V extends Error{}function _0x3c9d(_0x3c1399,_0x135019){const _0xc6cf3=_0xc6cf();return _0x3c9d=function(_0x3c9d3e,_0xefd3e6){_0x3c9d3e=_0x3c9d3e-0x168;let _0x496b79=_0xc6cf3[_0x3c9d3e];return _0x496b79;},_0x3c9d(_0x3c1399,_0x135019);}function W(_0x2bc02a,_0x56856c){const _0xe807d3=_0x4106fb;for(const _0x272717 of _0x2bc02a)_0x272717[_0xe807d3(0x246)]=_0x56856c++;}class F{[_0x4106fb(0x212)];[_0x4106fb(0x1a4)];constructor(_0x379ce5){const _0x212434=_0x4106fb;this[_0x212434(0x212)]=_0x379ce5,this[_0x212434(0x1a4)]=new WeakMap();}[_0x4106fb(0x202)](_0x38f45f){const _0x350624=_0x4106fb;let _0xf0e1da=_0x38f45f[_0x350624(0x1d7)];for(;_0xf0e1da--;){const _0x10a4a2=_0x38f45f[_0xf0e1da];if(!this[_0x350624(0x212)][_0x350624(0x177)](_0x10a4a2)){if(!this[_0x350624(0x1a4)][_0x350624(0x177)](_0x10a4a2)){const _0x3d65e4=_0x3d9f4b()[_0x350624(0x17b)](0x1,0x12);this[_0x350624(0x1a4)][_0x350624(0x1cd)](_0x10a4a2,_0x3d65e4);}return this[_0x350624(0x1a4)][_0x350624(0x1c4)](_0x10a4a2);}}}[_0x4106fb(0x16b)](_0x2ba536,_0x168bf1){const _0x4fed42=_0x4106fb;if(!_0x168bf1)return;let _0x9e107c=_0x2ba536[_0x4fed42(0x1d7)];for(;_0x9e107c--;){const _0x26f35c=_0x2ba536[_0x9e107c];this[_0x4fed42(0x212)][_0x4fed42(0x177)](_0x26f35c)||this[_0x4fed42(0x1a4)][_0x4fed42(0x1cd)](_0x26f35c,_0x168bf1);}}}
23
+ const _0x35432b=_0x40df;(function(_0x5e470b,_0x19e542){const _0x32b415=_0x40df,_0x27d212=_0x5e470b();while(!![]){try{const _0x15f601=-parseInt(_0x32b415(0x19a))/0x1*(parseInt(_0x32b415(0x111))/0x2)+-parseInt(_0x32b415(0x194))/0x3*(parseInt(_0x32b415(0x10a))/0x4)+parseInt(_0x32b415(0x1bd))/0x5+parseInt(_0x32b415(0x11a))/0x6+parseInt(_0x32b415(0x197))/0x7*(-parseInt(_0x32b415(0x181))/0x8)+parseInt(_0x32b415(0x17e))/0x9*(-parseInt(_0x32b415(0xc8))/0xa)+parseInt(_0x32b415(0xc9))/0xb;if(_0x15f601===_0x19e542)break;else _0x27d212['push'](_0x27d212['shift']());}catch(_0x8f61d2){_0x27d212['push'](_0x27d212['shift']());}}}(_0x35b2,0xa57fc));import{Plugin as _0x5a7a56,PendingActions as _0x2e9a93}from'ckeditor5/src/core.js';import{CKEditorError as _0x8d2547,version as _0x5d150f,uid as _0x2ffcae}from'ckeditor5/src/utils.js';import{Notification as _0x278c50}from'ckeditor5/src/ui.js';function _0x35b2(){const _0x1c6a38=['loadRoot','newRange','move','change:_isEditingAllowed','lastSyncVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isConnected','entries','createUserMarkerOperations','roots','string','isPremiumPlugin','suppressErrorInCollaboration','_knownRootNames','baseVersion','insert','startsWith','Notification','plugins','multi-root-editor-root-attributes-no-root','_loadRoot','_isLoaded','config','editing','_addKnownRoot','serverHistory','state','_initThrowingOnDataSet','_decompressOperations','_handleInitialConnectionData','_channelId','error','_operationIdentifier','Permissions','enqueueChange','path','from','sessionCreatedAt','wereChangesApplied','targetPosition','initData','listenTo','currentDocumentSession','editor','slice','parse','bind','version','lastOperationId','permissions','remove','_refreshUserSelectionMarkers','sessionAdd:','_document','disableReadOnlyMode','_compressOperations','_applyOperationsSet','clone','addRoot','409','has','CommentsOnly','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.','createRoot','createdAt','filter','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-service-internal-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','metadata','batch','PENDING_ACTION_SENDING_DATA','_shouldSendSelectionUpdate','selection','showWarning','decompress','addRootAttribute','_saveOperationInBuffer','_handleExternalOperations','_getOperationsFromInitData','addToReconnectionStack','disconnect','realtimecollaborationclient-error','realtimecollaborationclient-init-document-already-initialized','type','return','_pendingAction','channelSessions','disconnected','round','getOperationAuthor','_currentBufferDelay','_connectService','fire','_disconnectService','_sendBufferedOperations','rootsAttributes','477xaYXhl','_knownOperations','document','96IUwAwm','createRange','collaboration-missing-channelid','_hasSelectionChanged','_sendBufferedOperationsDelayId','addUser','affectedSelectable','unregister','_updateServerHistory','data','_hasSynchronizationProblem','start','_waitUntilSynced','createPositionFromPath','realtimecollaborationclient-init-non-existent-root','404','sendOperations','_connectAfterSessionHasBeenFlushed','register','153kzNiCC','removeFromReconnectionStack','collaboration','698278ZtregQ','toJSON','_isDisconnection','1osJnUY','rootName','getRoot','code','_offset','CollaborativeEditingService','forEach','requires','map','_bufferedOperations','_initSessionsHandling','_authorId','getIdOfTheLastOperation','connection','setPermissions','_sendBufferedOperationsDelayed','change:range','keys','_getAffectedRoot','stopListening','_lastSyncedOperationId','length','sessionId','_operationToId','_disconnectionOperations','markers','change:_isPendingUpdate','high','_compressor','isOfficialPlugin','cloud-services-internal-error:\x20Request\x20timeout.','operationsReceived','getOperations','rtc-destroyed','includes','26160BKZxtY','_setUpDataInit','finally','realtimecollaborationclient-init-connection-failed','getMany','InsertOperation','apply','fromJSON','_lastServerVersion','_setPendingAction','connect','__className','RealTimeCollaborationClient','_baseBufferDelay','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.','_bufferRootLoad','ready','realtimecollaborationclient-handleserverresponse','156630MvNiTc','30585841IlnRdh','get','realtimecollaborationclient','rtc-offline','_handleReconnectionError','_isEditingAllowed','collaboration.channelId','root','cloudServices.bundleVersion','reconnection:\x20flushed\x20session','set','stop','_handleReceivedOperations','locale','setIdForTheLastOperation','getUser','add','affectsData','_shouldSendUpdate','_clearPendingAction','_handleServerResponse','cs:removeUser','realtimecollaborationclient-init-session-connection-error','Synchronization\x20issue','_isAttached','history','real-time-collaboration','define','destroy','marker','addOperation','_isInit','getDocumentDetails','_handleReconnectionResponse','_ignoredOperations','_service','wasUndone','document:write','createPositionAt','then','offset','model','reconnect','size','lastOperationAcceptedAt','message','applyOperation','differ','off','change:hasDomSelection','_handleSendingSelectionMarkers','connected','reset','end','directChange','view','_crash','isReadOnly','getConnectedSessions','mySessionId','pluginName','compress','init','lastDocumentSession','_fetchMissingUsers','16096RdaXvV','attributes','_isPendingUpdate','$root','isDocumentOperation','enableReadOnlyMode','position','285220MrQzhU','isEnabled','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-sendbufferedoperations','userId','realtimecollaborationclient-init-service-incorrect-server-operation','cloudDocumentVersion','isUndoneOperation','catch','1602852FJQUcl'];_0x35b2=function(){return _0x1c6a38;};return _0x35b2();}import{transformOperationSets as _0x25eca8,NoOperation as _0x261110,InsertOperation as _0x1c5d40,MarkerOperation as _0x195287,RootAttributeOperation as _0x46e98a,OperationFactory as _0x3dbd72,History as _0x268ccc}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3e8eea}from'./websocketgateway.js';import{Sessions as _0x49072b}from'./sessions.js';import{UserMarkers as _0x58ab1f}from'./usermarkers.js';import{getTranslation as _0x4c7266}from'../common-translations.js';import{Compressor as _0x5a158e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2b9cb9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40df(_0xc44897,_0x28ac44){const _0x35b230=_0x35b2();return _0x40df=function(_0x40df0d,_0x464dc5){_0x40df0d=_0x40df0d-0xc1;let _0x424d29=_0x35b230[_0x40df0d];return _0x424d29;},_0x40df(_0xc44897,_0x28ac44);}import{User as _0x24f185,CollaborativeEditingService as _0x7fb618}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x5a7a56{static [_0x35432b(0x19f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x7fb618)());[_0x35432b(0x19e)];[_0x35432b(0x1b0)];[_0x35432b(0x134)];[_0x35432b(0x139)];[_0x35432b(0xec)];[_0x35432b(0x150)];[_0x35432b(0x1b6)];[_0x35432b(0x1a3)];[_0x35432b(0x17f)];[_0x35432b(0x128)];[_0x35432b(0x173)];[_0x35432b(0x184)];[_0x35432b(0x185)];[_0x35432b(0xc3)];[_0x35432b(0x178)];[_0x35432b(0x1ae)];[_0x35432b(0x1b2)];[_0x35432b(0x13b)];static get[_0x35432b(0x1a1)](){return[_0x3e8eea,_0x49072b,_0x58ab1f,_0x2e9a93,_0x2b9cb9,_0x278c50];}static get[_0x35432b(0x105)](){const _0x3933fe=_0x35432b;return _0x3933fe(0xc2);}static get[_0x35432b(0x1b7)](){return!0x0;}static get[_0x35432b(0x126)](){return!0x0;}get[_0x35432b(0x117)](){const _0x169a4b=_0x35432b;return this[_0x169a4b(0x1c5)]+this[_0x169a4b(0x19e)];}get[_0x35432b(0x1c5)](){const _0x1a2c51=_0x35432b;return this[_0x1a2c51(0x134)][_0x1a2c51(0x14a)]-this[_0x1a2c51(0x19e)];}get[_0x35432b(0x11f)](){const _0x4e1f1c=_0x35432b,_0x4bd418=this[_0x4e1f1c(0x134)][_0x4e1f1c(0x1ba)]();for(let _0x4ebbbb=_0x4bd418[_0x4e1f1c(0x1af)]-0x1;_0x4ebbbb>=0x0;_0x4ebbbb--){const _0x349157=_0x4bd418[_0x4ebbbb];if(!this[_0x4e1f1c(0x1b2)][_0x4e1f1c(0x157)](_0x349157))return _0x349157[_0x4e1f1c(0x129)]+0x1-this[_0x4e1f1c(0x19e)];}return 0x0;}constructor(_0x2aaafe){const _0x3c6317=_0x35432b;if(super(_0x2aaafe),this[_0x3c6317(0x19e)]=0x0,this[_0x3c6317(0x1b0)]=null,this[_0x3c6317(0x134)]=new _0x268ccc(),this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xe4)](_0x3c6317(0x196),{}),this[_0x3c6317(0x139)]=this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xcf)),!this[_0x3c6317(0x139)])throw new _0x8d2547(_0x3c6317(0x183),this);const _0x20f29c=_0x2aaafe[_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xd1))||_0x5d150f;this[_0x3c6317(0xec)]=new RealTimeCollaborationClient[(_0x3c6317(0x19f))](_0x20f29c,this[_0x3c6317(0x139)]),this[_0x3c6317(0x150)]=this[_0x3c6317(0x146)][_0x3c6317(0xf2)][_0x3c6317(0x180)],this[_0x3c6317(0x1b6)]=new _0x5a158e(),this[_0x3c6317(0x1a3)]=[],this[_0x3c6317(0x17f)]=new WeakSet(),this[_0x3c6317(0x128)]=new Set(),this[_0x3c6317(0xd3)](_0x3c6317(0x10c),!0x1),this[_0x3c6317(0xd3)](_0x3c6317(0x18b),!0x1),this[_0x3c6317(0x173)]=null,this[_0x3c6317(0x184)]=!0x1,this[_0x3c6317(0x185)]=null,this[_0x3c6317(0xc3)]=0x12c,this[_0x3c6317(0x178)]=this[_0x3c6317(0xc3)],this[_0x3c6317(0x1ae)]=null,this[_0x3c6317(0x1b2)]=new WeakSet(),this[_0x3c6317(0x13b)]=new J(this[_0x3c6317(0x1b2)]);}[_0x35432b(0x107)](){const _0x1abb3c=_0x35432b,_0x26d1b7=this[_0x1abb3c(0x146)],_0x358952=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x2b9cb9),_0x1c3710=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x3e8eea);this[_0x1abb3c(0x144)](_0x358952,_0x1abb3c(0x177),(_0x1ccb44,_0x6aacd2)=>{const _0x411e1f=_0x1abb3c,_0x6188f9=_0x6aacd2[0x0];_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=_0x358952[_0x411e1f(0xd8)](_0x6188f9[_0x411e1f(0x1a5)]),_0x1ccb44[_0x411e1f(0xd4)]()),null===_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=null,_0x1ccb44[_0x411e1f(0xd4)]());},{'priority':_0x1abb3c(0x1b5)}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0xf2)][_0x1abb3c(0x180)][_0x1abb3c(0x166)],_0x1abb3c(0x1aa),(_0x231686,_0x3d45f5)=>{const _0xddf7e8=_0x1abb3c;_0x3d45f5[_0xddf7e8(0xff)]&&this[_0xddf7e8(0x14e)]();}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0x132)][_0x1abb3c(0x100)],_0x1abb3c(0xfa),()=>{const _0x577db9=_0x1abb3c;this[_0x577db9(0x14e)]();}),this[_0x1abb3c(0x136)](),_0x26d1b7[_0x1abb3c(0xf2)]['on'](_0x1abb3c(0xf7),(_0x531e08,_0x2e3d6a)=>{const _0x26eff8=_0x1abb3c,_0x2718fa=_0x2e3d6a[0x0];_0x2718fa[_0x26eff8(0x10e)]&&(this[_0x26eff8(0x16a)](_0x2718fa),this[_0x26eff8(0xdb)]()&&this[_0x26eff8(0x1a9)]());}),this[_0x1abb3c(0x1be)](),this[_0x1abb3c(0x149)](_0x1abb3c(0xce))['to'](_0x1c3710,_0x1abb3c(0x135),this,_0x1abb3c(0x18b),(_0xa230b2,_0x596718)=>_0x1abb3c(0xfc)===_0xa230b2&&!_0x596718),this['on'](_0x1abb3c(0x11e),()=>{const _0x259d9a=_0x1abb3c;this[_0x259d9a(0xce)]?_0x26d1b7[_0x259d9a(0x151)](_0x259d9a(0xcc)):_0x26d1b7[_0x259d9a(0x10f)](_0x259d9a(0xcc));}),this[_0x1abb3c(0xce)]?_0x26d1b7[_0x1abb3c(0x151)](_0x1abb3c(0xcc)):_0x26d1b7[_0x1abb3c(0x10f)](_0x1abb3c(0xcc)),this[_0x1abb3c(0xd3)](_0x1abb3c(0x121),!0x1);}async[_0x35432b(0xf3)](){const _0x300247=_0x35432b,_0xedc9a8=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x49072b),_0x43fc6e=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x3e8eea);try{this[_0x300247(0x10c)]=!0x0,_0xedc9a8[_0x300247(0x188)](this[_0x300247(0x139)]);const _0x3a9519=await this[_0x300247(0xec)][_0x300247(0xf3)](_0x43fc6e[_0x300247(0x1a7)],this[_0x300247(0x11f)]);await this[_0x300247(0xea)](_0x3a9519)&&(this[_0x300247(0x10c)]=!0x1,this[_0x300247(0xdc)]());const _0x3c9e7e=await this[_0x300247(0xec)][_0x300247(0x103)]();_0xedc9a8[_0x300247(0x193)](this[_0x300247(0x139)],_0x3c9e7e),this[_0x300247(0xfb)](),this[_0x300247(0x121)]=!0x0;}catch(_0x36101b){if(function(_0x19cf16){const _0x5baa17=_0x300247;return _0x5baa17(0x190)===_0x19cf16[_0x5baa17(0x19d)];}(_0x36101b)&&this[_0x300247(0x1b0)])await this[_0x300247(0x192)]();else{if(function(_0x4aeaf1){const _0xcb6a6d=_0x300247;return _0xcb6a6d(0x156)===_0x4aeaf1[_0xcb6a6d(0x19d)];}(_0x36101b)){const _0x283549=_0x4c7266(this[_0x300247(0x146)][_0x300247(0xd6)],_0x300247(0x15f));this[_0x300247(0xcd)](_0x283549);}else{if(!(_0x36101b instanceof $))throw _0x36101b;this[_0x300247(0xcd)]();}}}}[_0x35432b(0xe5)](){const _0x5a604f=_0x35432b,_0x2f069b=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x3e8eea),_0x58ab97=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x49072b);this[_0x5a604f(0x146)][_0x5a604f(0x10f)](_0x5a604f(0x1bb)),_0x58ab97[_0x5a604f(0x174)][_0x5a604f(0x157)](this[_0x5a604f(0x139)])&&_0x58ab97[_0x5a604f(0x188)](this[_0x5a604f(0x139)]),_0x2f069b[_0x5a604f(0x195)](this),this[_0x5a604f(0x17b)](),super[_0x5a604f(0xe5)]();}async[_0x35432b(0xea)](_0x41a69b){const _0x4b4400=_0x35432b;if(this[_0x4b4400(0x1b0)]!==_0x41a69b[_0x4b4400(0x1b0)]&&this[_0x4b4400(0x1ae)]!==_0x41a69b[_0x4b4400(0x14b)])throw new $();return this[_0x4b4400(0x1b0)]=_0x41a69b[_0x4b4400(0x1b0)],this[_0x4b4400(0xdd)]([],{..._0x41a69b,'wereChangesApplied':!0x1,'data':_0x41a69b[_0x4b4400(0x18a)]},_0x4b4400(0xf3));}async[_0x35432b(0x179)](_0x241c65,_0x2e1d96=!0x1){const _0x526f7f=_0x35432b,{connection:_0x3c8811}=this[_0x526f7f(0x146)][_0x526f7f(0x12d)][_0x526f7f(0xca)](_0x3e8eea);RealTimeCollaborationClient[_0x526f7f(0x19f)][_0x526f7f(0x103)](_0x3c8811,this[_0x526f7f(0x139)])[_0x526f7f(0xf0)](_0x25aea1=>this[_0x526f7f(0x1a4)](_0x25aea1))[_0x526f7f(0x119)](_0x35c8ba=>{const _0x2e13ae=_0x526f7f;this[_0x2e13ae(0x101)](_0x2e13ae(0xdf),_0x35c8ba);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x1b9),this[_0x526f7f(0xd5)][_0x526f7f(0x149)](this)),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x13a),(_0x3ae0fc,_0x546c5c)=>{const _0x4d71ea=_0x526f7f;this[_0x4d71ea(0x101)](_0x4d71ea(0x15e),_0x546c5c);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x175),()=>{const _0x25f1c3=_0x526f7f;this[_0x25f1c3(0x121)]=!0x1;});const _0x23e9a1=this[_0x526f7f(0x13b)][_0x526f7f(0x1a6)](_0x241c65);this[_0x526f7f(0x10c)]=!0x0;const _0x1d763e=await this[_0x526f7f(0xec)][_0x526f7f(0x1c7)](_0x3c8811,this[_0x526f7f(0x152)](_0x241c65),_0x23e9a1);if(this[_0x526f7f(0x1b0)]=_0x1d763e[_0x526f7f(0x1b0)],_0x2e1d96){if(!_0x1d763e[_0x526f7f(0x141)])return void this[_0x526f7f(0xcd)]();this[_0x526f7f(0x10c)]=!0x1,this[_0x526f7f(0xdc)](),this[_0x526f7f(0x134)][_0x526f7f(0xfd)](),this[_0x526f7f(0x19e)]=_0x1d763e[_0x526f7f(0xf1)],this[_0x526f7f(0x134)][_0x526f7f(0x14a)]=this[_0x526f7f(0x19e)],await this[_0x526f7f(0xdd)](_0x241c65,_0x1d763e,_0x526f7f(0xd2));}else await this[_0x526f7f(0x138)](_0x1d763e,_0x241c65);this[_0x526f7f(0xfb)](),this[_0x526f7f(0x121)]=!0x0;}[_0x35432b(0xfb)](){const _0x4e19fe=_0x35432b,_0x280779=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x49072b),_0x40a569=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x58ab1f),_0x1e49f3=_0x280779[_0x4e19fe(0x174)][_0x4e19fe(0xca)](this[_0x4e19fe(0x139)]);_0x1e49f3&&_0x1e49f3[_0x4e19fe(0x1af)]>0x1?_0x40a569[_0x4e19fe(0x123)]():this[_0x4e19fe(0x144)](_0x280779,_0x4e19fe(0x14f)+this[_0x4e19fe(0x139)],()=>{const _0x46415b=_0x4e19fe;0x2===_0x280779[_0x46415b(0x174)][_0x46415b(0xca)](this[_0x46415b(0x139)])[_0x46415b(0x1af)]&&_0x40a569[_0x46415b(0x123)]();});}async[_0x35432b(0xd5)](_0x3a4e42,_0x5ae5b8,_0xd2bfb7,_0x19fa1e){const _0x4fc476=_0x35432b;if(!this[_0x4fc476(0x10c)]&&this[_0x4fc476(0x150)][_0x4fc476(0x14a)]==_0x5ae5b8){const _0x22da81=this[_0x4fc476(0x137)](_0xd2bfb7,_0x19fa1e);await this[_0x4fc476(0x109)](_0x22da81),this[_0x4fc476(0x16b)](_0x22da81,_0x5ae5b8,_0xd2bfb7[_0x4fc476(0x14b)])||this[_0x4fc476(0x101)](_0x4fc476(0x116));}}async[_0x35432b(0x192)](){const _0x33b712=_0x35432b;this[_0x33b712(0x17b)]();const {locale:_0x10b88b}=this[_0x33b712(0x146)];let _0x84ee40;try{_0x84ee40=await this[_0x33b712(0xec)][_0x33b712(0xe9)]();}catch{const _0x4974d1=_0x4c7266(_0x10b88b,_0x33b712(0x15d));return void this[_0x33b712(0xcd)](_0x4974d1);}const _0x1b67b5=_0x84ee40[_0x33b712(0x145)]||_0x84ee40[_0x33b712(0x108)];if(this[_0x33b712(0x1ae)]!==_0x1b67b5[_0x33b712(0x14b)]){const _0x52824f=_0x4c7266(_0x10b88b,_0x33b712(0x159));return void this[_0x33b712(0xcd)](_0x52824f);}await this[_0x33b712(0x179)](this[_0x33b712(0x146)][_0x33b712(0xf2)][_0x33b712(0x180)][_0x33b712(0xe2)][_0x33b712(0x1ba)](),!0x0);}[_0x35432b(0x17b)](){const _0x963b46=_0x35432b;this[_0x963b46(0xec)][_0x963b46(0x16e)](),this[_0x963b46(0x1a3)]=[],clearTimeout(this[_0x963b46(0x185)]),this[_0x963b46(0x1ad)](this[_0x963b46(0xec)]);}[_0x35432b(0x1a4)](_0x57588b){const _0x30906b=_0x35432b,_0x2be26c=this[_0x30906b(0x146)][_0x30906b(0x12d)][_0x30906b(0xca)](_0x49072b);this[_0x30906b(0x144)](_0x2be26c,_0x30906b(0x14f)+this[_0x30906b(0x139)],(_0x656dfc,{session:_0xd88fd7})=>{const _0x430ad8=_0x30906b;if(_0xd88fd7['id']===_0x2be26c[_0x430ad8(0x104)]){_0x656dfc[_0x430ad8(0xf9)]();const _0x5b4448=this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0x157)](_0x430ad8(0x158))&&this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x158));let _0xbfc042=_0xd88fd7[_0x430ad8(0x14c)];_0x5b4448&&_0x5b4448[_0x430ad8(0x112)]&&(_0xbfc042=_0xbfc042[_0x430ad8(0x15c)](_0x144c9a=>_0x430ad8(0xee)!==_0x144c9a)),this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x13c))[_0x430ad8(0x1a8)](_0xbfc042,this[_0x430ad8(0x139)]);}}),_0x2be26c[_0x30906b(0x193)](this[_0x30906b(0x139)],_0x57588b);}[_0x35432b(0x136)](){const _0x41d237=_0x35432b,_0x414198=this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)];this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)]=(..._0x271d7c)=>{const _0x31fc0d=_0x41d237;if(!_0x271d7c[_0x271d7c[_0x31fc0d(0x1af)]-0x1][_0x31fc0d(0x127)])throw new _0x8d2547(_0x31fc0d(0x120),this);_0x414198[_0x31fc0d(0x1c3)](this[_0x31fc0d(0x146)][_0x31fc0d(0x18a)],_0x271d7c);};}[_0x35432b(0x1be)](){const _0x1553a5=_0x35432b;this[_0x1553a5(0x146)][_0x1553a5(0x18a)]['on'](_0x1553a5(0x107),(_0x4c8cf5,[_0x4101bc])=>{const _0xb961b5=_0x1553a5;if(this[_0xb961b5(0x150)][_0xb961b5(0x14a)])throw new _0x8d2547(_0xb961b5(0x170),this);_0x4c8cf5[_0xb961b5(0xd4)](),this[_0xb961b5(0x1c6)]();const _0x2d4c2f=this[_0xb961b5(0x146)][_0xb961b5(0x131)][_0xb961b5(0xca)](_0xb961b5(0x17d)),_0x49a0c8=this[_0xb961b5(0x16c)](_0x4101bc,_0x2d4c2f);0x0==_0x49a0c8[_0xb961b5(0x1af)]&&_0x49a0c8[_0xb961b5(0x160)](new _0x261110(0x0)),_0x4c8cf5[_0xb961b5(0x172)]=this[_0xb961b5(0x179)](_0x49a0c8)[_0xb961b5(0xf0)](()=>{const _0x1f340f=_0xb961b5;this[_0x1f340f(0x146)][_0x1f340f(0x12d)][_0x1f340f(0xca)](_0x3e8eea)[_0x1f340f(0x16d)](this),this[_0x1f340f(0x146)][_0x1f340f(0x18a)][_0x1f340f(0x17a)](_0x1f340f(0xc6));})[_0xb961b5(0x119)](_0xdba9d6=>this[_0xb961b5(0x101)](_0xb961b5(0x1c0),_0xdba9d6))[_0xb961b5(0x1bf)](()=>this[_0xb961b5(0xdc)]());},{'priority':_0x1553a5(0x1b5)}),this[_0x1553a5(0x146)]['on'](_0x1553a5(0x11b),async(_0x1a36d1,[_0x5d2022,_0x1550ca])=>{const _0x5a0099=_0x1553a5;_0x1a36d1[_0x5a0099(0xd4)]();const _0x384415=this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x180)][_0x5a0099(0x19c)](_0x5d2022);if(!this[_0x5a0099(0x128)][_0x5a0099(0x157)](_0x5d2022)){const _0x23349b=_0x1550ca&&_0x1550ca[_0x5a0099(0x18a)]?_0x1550ca[_0x5a0099(0x18a)]:'',_0x349fdb=_0x1550ca&&_0x1550ca[_0x5a0099(0x10b)]?_0x1550ca[_0x5a0099(0x10b)]:{};await this[_0x5a0099(0x12f)](_0x5d2022,_0x23349b,_0x349fdb);}this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x13d)]({'isUndoable':!0x1},()=>{const _0x5af431=_0x5a0099;_0x384415[_0x5af431(0x130)]=!0x0,this[_0x5af431(0x146)][_0x5af431(0xf2)][_0x5af431(0x180)][_0x5af431(0xf8)][_0x5af431(0xc5)](_0x384415);});},{'priority':_0x1553a5(0x1b5)});}async[_0x35432b(0x109)](_0x5b9e10){const _0x12fd3b=_0x35432b,_0x1f4734=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x2b9cb9),{connection:_0x55c7d5}=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x3e8eea),_0x530aa7=new Set();for(const _0x2ff385 of _0x5b9e10){const _0x3655b2=_0x2ff385[_0x12fd3b(0x1a5)];_0x3655b2&&!_0x1f4734[_0x12fd3b(0xd8)](_0x3655b2)&&_0x530aa7[_0x12fd3b(0xd9)](_0x3655b2);}if(0x0===_0x530aa7[_0x12fd3b(0xf4)])return;const _0x44eacc=await _0x24f185[_0x12fd3b(0x1c1)](_0x55c7d5,Array[_0x12fd3b(0x13f)](_0x530aa7));for(const _0x1ff660 of _0x44eacc)_0x1f4734[_0x12fd3b(0xd8)](_0x1ff660['id'])||_0x1f4734[_0x12fd3b(0x186)](_0x1ff660);}[_0x35432b(0x16c)](_0x42a319,_0x14c3b6={}){const _0x1aa656=_0x35432b,_0x4f96cc=this[_0x1aa656(0x146)][_0x1aa656(0xf2)],_0x117b66=[];let _0x360ad3=0x0;const _0x49d8a4=_0x1aa656(0x125)==typeof _0x42a319?{'main':_0x42a319}:_0x42a319;for(const _0x1caf22 of Object[_0x1aa656(0x1ab)](_0x49d8a4)){if(!this[_0x1aa656(0x150)][_0x1aa656(0x124)][_0x1aa656(0x157)](_0x1caf22))throw new _0x8d2547(_0x1aa656(0x18f),this);const _0x2bdbe7=this[_0x1aa656(0x146)][_0x1aa656(0x18a)][_0x1aa656(0x148)](_0x49d8a4[_0x1caf22]),_0x576785=this[_0x1aa656(0x150)][_0x1aa656(0x19c)](_0x1caf22),_0xbedd38=new _0x1c5d40(_0x4f96cc[_0x1aa656(0xef)](_0x576785,0x0),_0x2bdbe7,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0xbedd38);for(const [_0x36151e,_0x1f5c5e]of _0x2bdbe7[_0x1aa656(0x1b3)]){const _0x5c7329=_0x4f96cc[_0x1aa656(0x182)](_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0x18c)][_0x1aa656(0x13e)][_0x1aa656(0x147)]()),_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0xfe)][_0x1aa656(0x13e)][_0x1aa656(0x147)]())),_0x3d77e3=new _0x195287(_0x36151e,null,_0x5c7329,_0x4f96cc[_0x1aa656(0x1b3)],!0x0,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x3d77e3);}}if(_0x14c3b6)for(const [_0x634578,_0x1a16a3]of Object[_0x1aa656(0x122)](_0x14c3b6)){const _0x36bf90=_0x4f96cc[_0x1aa656(0x180)][_0x1aa656(0x19c)](_0x634578);if(!_0x36bf90)throw new _0x8d2547(_0x1aa656(0x12e),null);for(const [_0x4269af,_0x15483c]of Object[_0x1aa656(0x122)](_0x1a16a3))if(null!==_0x15483c){const _0x326b78=new _0x46e98a(_0x36bf90,_0x4269af,null,_0x15483c,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x326b78);}}return _0x117b66;}async[_0x35432b(0x12f)](_0x586ab7,_0x16aa30,_0x2d8266){const _0x15d061=_0x35432b;this[_0x15d061(0x16c)]({[_0x586ab7]:_0x16aa30},{[_0x586ab7]:_0x2d8266})[_0x15d061(0x1a0)]((_0x306f91,_0x2ad94f)=>{const _0x147ebb=_0x15d061;_0x306f91[_0x147ebb(0x129)]=this[_0x147ebb(0x150)][_0x147ebb(0x14a)]+_0x2ad94f,_0x306f91[_0x147ebb(0xe8)]=!0x0,this[_0x147ebb(0x16a)](_0x306f91);}),this[_0x15d061(0x1a9)](),await this[_0x15d061(0x18d)]();}async[_0x35432b(0x138)](_0x4fe6c6,_0x1aaee7){const _0x267f75=_0x35432b;let _0x5aa0a8;this[_0x267f75(0x19e)]=_0x4fe6c6[_0x267f75(0xf1)];const _0x5c9fc9=_0x4fe6c6[_0x267f75(0x141)]&&!_0x4fe6c6[_0x267f75(0x143)],_0x22bfc3=_0x5c9fc9?0x0:_0x4fe6c6[_0x267f75(0x18a)][_0x267f75(0x129)];if(_0x1aaee7[_0x267f75(0x1a0)](_0x1bd12c=>{const _0xbeddd1=_0x267f75;_0x1bd12c[_0xbeddd1(0xe8)]=!0x0,_0x1bd12c[_0xbeddd1(0x15b)]=_0x4fe6c6[_0xbeddd1(0x140)],_0x1bd12c[_0xbeddd1(0x1a5)]=null;}),_0x5c9fc9)_0x5aa0a8=_0x1aaee7,this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);else{if(_0x4fe6c6[_0x267f75(0x143)]){const _0x58f253=this[_0x267f75(0x16c)](_0x4fe6c6[_0x267f75(0x143)]);this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)],_0x58f253[_0x267f75(0x1a0)](_0x39fae5=>{const _0x65337b=_0x267f75;_0x39fae5[_0x65337b(0x129)]-=_0x58f253[_0x65337b(0x1af)],_0x39fae5[_0x65337b(0x15b)]=_0x4fe6c6[_0x65337b(0x140)],_0x39fae5[_0x65337b(0xe8)]=!0x0,_0x39fae5[_0x65337b(0x1a5)]=null;}),this[_0x267f75(0x153)](_0x58f253,!0x0),this[_0x267f75(0x134)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)]+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x58f253);}this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=_0x22bfc3,_0x5aa0a8=this[_0x267f75(0x137)](_0x4fe6c6[_0x267f75(0x18a)],_0x4fe6c6[_0x267f75(0x162)]),await this[_0x267f75(0x109)](_0x5aa0a8),this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);}_0x4fe6c6[_0x267f75(0x14b)]&&(this[_0x267f75(0x13b)][_0x267f75(0xd7)](_0x5aa0a8,_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x1ae)]=_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x134)][_0x267f75(0x14a)]=_0x22bfc3+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x5aa0a8),_0x1aaee7[_0x267f75(0x15c)](_0x52fd7c=>{const _0x2595b6=_0x267f75,_0x58750e=this[_0x2595b6(0x1ac)](_0x52fd7c);return _0x58750e&&!this[_0x2595b6(0x128)][_0x2595b6(0x157)](_0x58750e);})[_0x267f75(0x1a0)]((_0x5eceb1,_0x43fa32)=>{const _0x13a9e5=_0x267f75;_0x5eceb1[_0x13a9e5(0x129)]=this[_0x13a9e5(0x150)][_0x13a9e5(0x14a)]+_0x43fa32,this[_0x13a9e5(0x16a)](_0x5eceb1);}),this[_0x267f75(0xdb)]()?(this[_0x267f75(0x178)]=0x0,this[_0x267f75(0x1a9)](!0x0),await this[_0x267f75(0x18d)]()):(this[_0x267f75(0x10c)]=!0x1,this[_0x267f75(0xdc)]());}[_0x35432b(0x101)](_0x3fc90a,_0x56a292){const _0x5c5d1b=_0x35432b,_0x3c16a1=_0x56a292&&_0x56a292[_0x5c5d1b(0xf6)];if(_0x3c16a1&&_0x3c16a1[_0x5c5d1b(0x12b)](_0x5c5d1b(0xcb)))throw _0x56a292;const _0x24d36a=this[_0x5c5d1b(0x146)][_0x5c5d1b(0x12d)][_0x5c5d1b(0xca)](_0x3e8eea);throw this[_0x5c5d1b(0x10c)]=!0x0,_0x24d36a[_0x5c5d1b(0x16e)](),this[_0x5c5d1b(0x146)][_0x5c5d1b(0x10f)](_0x5c5d1b(0x16f)),new _0x8d2547(_0x3fc90a,this[_0x5c5d1b(0x146)],_0x3c16a1?{'originalError':_0x3c16a1}:void 0x0);}[_0x35432b(0x16a)](_0xb92079){const _0x2db916=_0x35432b;this[_0x2db916(0x17f)][_0x2db916(0x157)](_0xb92079)||(this[_0x2db916(0x17f)][_0x2db916(0xd9)](_0xb92079),this[_0x2db916(0x1a3)][_0x2db916(0x160)](_0xb92079),this[_0x2db916(0x173)]||_0x2db916(0xe6)==_0xb92079[_0x2db916(0x171)]&&!_0xb92079[_0x2db916(0xda)]||this[_0x2db916(0x1c6)]());}[_0x35432b(0x1a9)](_0x5af70f=!0x1){const _0x4414b9=_0x35432b;!_0x5af70f&&this[_0x4414b9(0x10c)]||(this[_0x4414b9(0x10c)]=!0x0,clearTimeout(this[_0x4414b9(0x185)]),this[_0x4414b9(0x185)]=setTimeout(()=>{const _0x2b6605=_0x4414b9;this[_0x2b6605(0x17c)]()[_0x2b6605(0xf0)](_0x406bac=>{const _0x545a91=_0x2b6605;_0x406bac&&(this[_0x545a91(0xdc)](),this[_0x545a91(0x10c)]=!0x1);})[_0x2b6605(0x119)](_0x3379cd=>{const _0x412160=_0x2b6605;this[_0x412160(0xdc)](),this[_0x412160(0x10c)]=!0x1,function(_0xc924db){const _0x190b75=_0x412160;return _0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x113))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x161))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x1b8));}(_0x3379cd)||this[_0x412160(0x101)](_0x3379cd[_0x412160(0xf6)],_0x3379cd);});},this[_0x4414b9(0x178)]));}[_0x35432b(0x18d)](){return new Promise(_0x57729a=>{const _0x47108b=_0x40df;this['on'](_0x47108b(0x1b4),()=>{_0x57729a();});});}async[_0x35432b(0x17c)](){const _0x2f393c=_0x35432b,_0x4b0495=this[_0x2f393c(0x146)][_0x2f393c(0x12d)][_0x2f393c(0xca)](_0x58ab1f);if(this[_0x2f393c(0x165)]()&&(_0x4b0495[_0x2f393c(0x123)](),this[_0x2f393c(0x184)]=!0x1),!this[_0x2f393c(0xdb)]())return!0x0;const _0x21708b=[...this[_0x2f393c(0x1a3)]];for(const _0x148037 of _0x21708b)_0x148037[_0x2f393c(0xed)]=this[_0x2f393c(0x150)][_0x2f393c(0xe2)][_0x2f393c(0x118)](_0x148037);const _0x3bbedf=this[_0x2f393c(0x13b)][_0x2f393c(0x1a6)](_0x21708b),_0x14ffcf=G++,_0x13769c=this[_0x2f393c(0x152)](_0x21708b),_0x7a9311=await this[_0x2f393c(0xec)][_0x2f393c(0x191)](_0x13769c,_0x13769c[_0x2f393c(0x129)],_0x3bbedf);try{return await this[_0x2f393c(0xdd)](_0x21708b,_0x7a9311,_0x14ffcf);}catch(_0x1b9761){return this[_0x2f393c(0x101)](_0x2f393c(0x114),_0x1b9761);}}async[_0x35432b(0xdd)](_0x31d65d,_0x13b21c,_0x417f63){const _0xc26efc=_0x35432b;if(_0xc26efc(0x13a)in _0x13b21c)throw _0x13b21c[_0xc26efc(0x13a)];let _0x6521d6=!0x1;if(_0x13b21c[_0xc26efc(0x141)]){_0x13b21c[_0xc26efc(0x14b)]&&(this[_0xc26efc(0x1ae)]=_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x4c90e8=>!_0x31d65d[_0xc26efc(0x1bc)](_0x4c90e8));for(const _0x3980ee of _0x31d65d)_0x3980ee[_0xc26efc(0x15b)]=_0xc26efc(0xf5)in _0x13b21c&&_0x13b21c[_0xc26efc(0xf5)]||void 0x0;K(_0x31d65d,_0x13b21c[_0xc26efc(0x14a)]-_0x31d65d[_0xc26efc(0x1af)]),this[_0xc26efc(0x189)](_0x31d65d);const _0x406f3a=_0x31d65d[_0xc26efc(0x15c)](_0x5dbd2b=>{const _0x426f99=_0xc26efc;if(!_0x5dbd2b[_0x426f99(0xe8)])return!0x1;const _0xba347e=this[_0x426f99(0x1ac)](_0x5dbd2b);return _0xba347e&&!this[_0x426f99(0x128)][_0x426f99(0x157)](_0xba347e);});K(_0x406f3a,this[_0xc26efc(0x150)][_0xc26efc(0x14a)]),this[_0xc26efc(0x153)](_0x406f3a),_0x6521d6=!0x0,this[_0xc26efc(0x178)]=this[_0xc26efc(0xc3)];}else{const _0x38b2b7=this[_0xc26efc(0x137)](_0x13b21c[_0xc26efc(0x18a)],_0x13b21c[_0xc26efc(0x162)])[_0xc26efc(0x15c)](_0x114d01=>_0x114d01[_0xc26efc(0x129)]>=this[_0xc26efc(0x1c5)]);_0x38b2b7[_0xc26efc(0x1a0)](_0x124bf3=>this[_0xc26efc(0x133)](_0x124bf3)),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x3eeb1d=>!_0x3eeb1d[_0xc26efc(0xe8)]||!this[_0xc26efc(0x128)][_0xc26efc(0x157)](this[_0xc26efc(0x1ac)](_0x3eeb1d))),this[_0xc26efc(0x1a3)][_0xc26efc(0x1af)]&&K(this[_0xc26efc(0x1a3)],this[_0xc26efc(0x1a3)][0x0][_0xc26efc(0x129)]),await this[_0xc26efc(0x109)](_0x38b2b7),_0x6521d6=this[_0xc26efc(0x16b)](_0x38b2b7,_0x13b21c[_0xc26efc(0x14a)],_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x178)]=Math[_0xc26efc(0x176)](this[_0xc26efc(0x178)]/0x2);}return _0x6521d6?!this[_0xc26efc(0xdb)]()||(this[_0xc26efc(0x1a9)](!0x0),!0x1):this[_0xc26efc(0x101)](_0xc26efc(0xc7));}[_0x35432b(0x16b)](_0xd695be,_0x22f961,_0x58e44a){const _0x499e00=_0x35432b;try{const _0x5f10ba={'document':this[_0x499e00(0x150)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x441330,operationsB:_0x48f236,originalOperations:_0x230ee3}=_0x25eca8(_0xd695be,this[_0x499e00(0x1a3)],_0x5f10ba);K(_0x441330,this[_0x499e00(0x150)][_0x499e00(0x14a)]),K(_0x48f236,_0x22f961);for(const _0x142ef9 of _0x441330){const _0x200300=_0x230ee3[_0x499e00(0xca)](_0x142ef9);_0x142ef9[_0x499e00(0x1a5)]=_0x200300?_0x200300[_0x499e00(0x1a5)]:null;}_0x58e44a&&(this[_0x499e00(0x13b)][_0x499e00(0xd7)](_0xd695be,_0x58e44a),this[_0x499e00(0x1ae)]=_0x58e44a),this[_0x499e00(0x1a3)]=[..._0x48f236],this[_0x499e00(0x153)](_0x441330),this[_0x499e00(0x189)](_0xd695be);}catch(_0x3acb12){return console[_0x499e00(0x13a)](_0x3acb12),!0x1;}return!0x0;}[_0x35432b(0x153)](_0x3c7ae,_0x46287b=!0x1){const _0x2dd7a4=_0x35432b;this[_0x2dd7a4(0x146)][_0x2dd7a4(0xf2)][_0x2dd7a4(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x565c6d=>{const _0x20fa46=_0x2dd7a4;for(const _0x3963f4 of _0x3c7ae)this[_0x20fa46(0x17f)][_0x20fa46(0xd9)](_0x3963f4),this[_0x20fa46(0x133)](_0x3963f4),_0x565c6d[_0x20fa46(0x163)][_0x20fa46(0xe7)](_0x3963f4),this[_0x20fa46(0x146)][_0x20fa46(0xf2)][_0x20fa46(0xf7)](_0x3963f4);});}[_0x35432b(0x133)](_0x25aabf){const _0x2e7c78=_0x35432b,_0x160d8d=this[_0x2e7c78(0x1ac)](_0x25aabf);_0x160d8d&&this[_0x2e7c78(0x128)][_0x2e7c78(0xd9)](_0x160d8d);}[_0x35432b(0x1ac)](_0x5afeb9){const _0x1bab51=_0x35432b;let _0x9585e0,_0x5a9810;switch(_0x5afeb9[_0x1bab51(0x171)]){case _0x1bab51(0x12a):_0x9585e0=_0x5afeb9[_0x1bab51(0x110)][_0x1bab51(0xd0)];break;case _0x1bab51(0xe6):if(_0x5a9810=_0x5afeb9[_0x1bab51(0x11c)],!_0x5a9810)return null;_0x9585e0=_0x5a9810[_0x1bab51(0xd0)];break;case _0x1bab51(0x169):_0x9585e0=_0x5afeb9[_0x1bab51(0xd0)];break;case _0x1bab51(0x155):_0x9585e0=_0x5afeb9[_0x1bab51(0x187)];break;case _0x1bab51(0x11d):_0x9585e0=_0x5afeb9[_0x1bab51(0x142)][_0x1bab51(0xd0)];break;default:return null;}return _0x9585e0[_0x1bab51(0x19b)];}[_0x35432b(0x189)](_0x5a9d93){const _0x4c3697=_0x35432b;_0x5a9d93[_0x4c3697(0x1a0)](_0x52e1a2=>{const _0xee49e2=_0x4c3697,_0x2d69df=_0x52e1a2[_0xee49e2(0x154)]();_0x2d69df[_0xee49e2(0x1a5)]=_0x52e1a2[_0xee49e2(0x1a5)],_0x2d69df[_0xee49e2(0xe8)]=!!_0x52e1a2[_0xee49e2(0xe8)],_0x2d69df[_0xee49e2(0x15b)]=_0x52e1a2[_0xee49e2(0x15b)],_0x2d69df[_0xee49e2(0x129)]+=this[_0xee49e2(0x19e)],_0x52e1a2[_0xee49e2(0x199)]&&this[_0xee49e2(0x1b2)][_0xee49e2(0xd9)](_0x2d69df),this[_0xee49e2(0x134)][_0xee49e2(0xe7)](_0x2d69df);});}[_0x35432b(0xcd)](_0x592737){const _0x2bd0dc=_0x35432b,_0x321441=this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x2bd0dc(0x12c)),_0x40f0e8=this[_0x2bd0dc(0x146)][_0x2bd0dc(0xd6)];_0x592737||(_0x592737=_0x4c7266(_0x40f0e8,_0x2bd0dc(0xc4))),_0x321441[_0x2bd0dc(0x167)](_0x592737,{'title':_0x4c7266(_0x40f0e8,_0x2bd0dc(0xe0)),'namespace':_0x2bd0dc(0xe3)}),this[_0x2bd0dc(0x18b)]=!0x0,clearTimeout(this[_0x2bd0dc(0x185)]),this[_0x2bd0dc(0x1a3)]=[],this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x3e8eea)[_0x2bd0dc(0x16e)]();}[_0x35432b(0x1c6)](){const _0x2fc93f=_0x35432b;this[_0x2fc93f(0x173)]||(this[_0x2fc93f(0x173)]=this[_0x2fc93f(0x146)][_0x2fc93f(0x12d)][_0x2fc93f(0xca)](_0x2e9a93)[_0x2fc93f(0xd9)](_0x4c7266(this[_0x2fc93f(0x146)][_0x2fc93f(0xd6)],_0x2fc93f(0x164))));}[_0x35432b(0xdc)](){const _0x3296a6=_0x35432b;this[_0x3296a6(0x173)]&&(this[_0x3296a6(0x146)][_0x3296a6(0x12d)][_0x3296a6(0xca)](_0x2e9a93)[_0x3296a6(0x14d)](this[_0x3296a6(0x173)]),this[_0x3296a6(0x173)]=null);}[_0x35432b(0x152)](_0x2d1eaa){const _0x12f9d0=_0x35432b,_0x369c24=_0x2d1eaa[_0x12f9d0(0x1a2)](_0xf2c9d8=>_0xf2c9d8[_0x12f9d0(0x198)]());return this[_0x12f9d0(0x1b6)][_0x12f9d0(0x106)](_0x369c24);}[_0x35432b(0x137)](_0x3f1279,_0x56d43f){const _0x15657f=_0x35432b;return this[_0x15657f(0x1b6)][_0x15657f(0x168)](_0x3f1279)[_0x15657f(0x1a2)]((_0x3ed847,_0x5a0857)=>{const _0x130932=_0x15657f,_0x4bac5c=_0x130932(0x107)==_0x56d43f[_0x5a0857][_0x130932(0x171)];if(_0x130932(0x1c2)==_0x3ed847[_0x130932(0xc1)]){const _0x8649c7=_0x3ed847[_0x130932(0x110)][_0x130932(0xd0)];!this[_0x130932(0x150)][_0x130932(0x19c)](_0x8649c7)&&(this[_0x130932(0x150)][_0x130932(0x15a)](_0x130932(0x10d),_0x8649c7)[_0x130932(0xe1)]=!0x1);}const _0xddc270=_0x3dbd72[_0x130932(0x1c4)](_0x3ed847,this[_0x130932(0x150)]);return _0xddc270[_0x130932(0xed)]=_0x3ed847[_0x130932(0xed)],_0xddc270[_0x130932(0xe8)]=_0x4bac5c,_0xddc270[_0x130932(0x1a5)]=_0x4bac5c?null:_0x56d43f[_0x5a0857][_0x130932(0x115)],_0xddc270[_0x130932(0x199)]=_0x130932(0xde)===_0x56d43f[_0x5a0857][_0x130932(0x171)],_0xddc270[_0x130932(0x15b)]=_0x56d43f[_0x5a0857][_0x130932(0x15b)],_0xddc270;});}[_0x35432b(0x14e)](){const _0x13c22c=_0x35432b;this[_0x13c22c(0x184)]=!0x0,this[_0x13c22c(0x165)]()?this[_0x13c22c(0x1a9)]():this[_0x13c22c(0x184)]=!0x1;}[_0x35432b(0x165)](){const _0x469578=_0x35432b,_0x560bb2=this[_0x469578(0x146)][_0x469578(0x12d)][_0x469578(0xca)](_0x49072b)[_0x469578(0x174)][_0x469578(0xca)](this[_0x469578(0x139)]);return!this[_0x469578(0x146)][_0x469578(0x102)]&&!!_0x560bb2&&_0x560bb2[_0x469578(0x1af)]>0x1&&this[_0x469578(0x184)];}[_0x35432b(0xdb)](){const _0x3a9147=_0x35432b;return this[_0x3a9147(0x1a3)][_0x3a9147(0x1af)]>0x0||this[_0x3a9147(0x165)]();}}class $ extends Error{}function K(_0x4220af,_0x221e85){const _0x18421d=_0x35432b;for(const _0x3f3df7 of _0x4220af)_0x3f3df7[_0x18421d(0x129)]=_0x221e85++;}class J{[_0x35432b(0xeb)];[_0x35432b(0x1b1)];constructor(_0x88cb58){const _0x3154e1=_0x35432b;this[_0x3154e1(0xeb)]=_0x88cb58,this[_0x3154e1(0x1b1)]=new WeakMap();}[_0x35432b(0x1a6)](_0x529bc6){const _0x28d33f=_0x35432b;let _0x44eb53=_0x529bc6[_0x28d33f(0x1af)];for(;_0x44eb53--;){const _0x5016f6=_0x529bc6[_0x44eb53];if(!this[_0x28d33f(0xeb)][_0x28d33f(0x157)](_0x5016f6)){if(!this[_0x28d33f(0x1b1)][_0x28d33f(0x157)](_0x5016f6)){const _0xe03aa9=_0x2ffcae()[_0x28d33f(0x147)](0x1,0x12);this[_0x28d33f(0x1b1)][_0x28d33f(0xd3)](_0x5016f6,_0xe03aa9);}return this[_0x28d33f(0x1b1)][_0x28d33f(0xca)](_0x5016f6);}}}[_0x35432b(0xd7)](_0x1c0b9d,_0x209a70){const _0x10633d=_0x35432b;if(!_0x209a70)return;let _0x5df41c=_0x1c0b9d[_0x10633d(0x1af)];for(;_0x5df41c--;){const _0x489770=_0x1c0b9d[_0x5df41c];this[_0x10633d(0xeb)][_0x10633d(0x157)](_0x489770)||this[_0x10633d(0x1b1)][_0x10633d(0xd3)](_0x489770,_0x209a70);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x33bc(){const _0x34d7ae=['_registeredSessions','register','2036637yrfZOZ','add','Sessions','defineMe','allConnectedUsers','4328555snyMAO','values','state','_handleSessionAdd','set','sessionAdd:','600RUdisl','14685250wdoXUO','mySessionId','assign','_createUser','isOfficialPlugin','channelSessions','has','sessions-unregister-not-exist','fire','remove','_users','context','507660eWRwyW','init','channelConnectedUsers','requires','stopListening','orderNumber','2NmiBxF','509011jlVMZn','connection','change:state','clear','role','isPremiumPlugin','connected','hiddenInPresenceList','956106ZUKmPi','plugins','addUser','6957QHzvsf','_uniqueUsersCount','getUser','forEach','get','isMe','getUserSessions','listenTo','delete','unregister','sessions-register-already-registered','getUserBySessionId','pluginName','getUserRole','user','5nPodrR','_handleSessionRemove','sessionId','11vgBhsv','size'];_0x33bc=function(){return _0x34d7ae;};return _0x33bc();}const _0xa19923=_0x3604;(function(_0x3c5842,_0x549063){const _0xed99f6=_0x3604,_0xb3d54d=_0x3c5842();while(!![]){try{const _0x321774=-parseInt(_0xed99f6(0x15b))/0x1*(-parseInt(_0xed99f6(0x15a))/0x2)+-parseInt(_0xed99f6(0x13c))/0x3+-parseInt(_0xed99f6(0x154))/0x4+parseInt(_0xed99f6(0x175))/0x5*(-parseInt(_0xed99f6(0x163))/0x6)+-parseInt(_0xed99f6(0x141))/0x7+parseInt(_0xed99f6(0x147))/0x8*(parseInt(_0xed99f6(0x166))/0x9)+parseInt(_0xed99f6(0x148))/0xa*(parseInt(_0xed99f6(0x138))/0xb);if(_0x321774===_0x549063)break;else _0xb3d54d['push'](_0xb3d54d['shift']());}catch(_0x462a33){_0xb3d54d['push'](_0xb3d54d['shift']());}}}(_0x33bc,0x6e5a1));import{ContextPlugin as _0x47e28b}from'ckeditor5/src/core.js';import{Collection as _0x5415a6,CKEditorError as _0xec0fcd}from'ckeditor5/src/utils.js';function _0x3604(_0x22f27d,_0x2cbc0b){const _0x33bc78=_0x33bc();return _0x3604=function(_0x360404,_0x2d7ff2){_0x360404=_0x360404-0x137;let _0x587c26=_0x33bc78[_0x360404];return _0x587c26;},_0x3604(_0x22f27d,_0x2cbc0b);}import{WebSocketGateway as _0x19bbbf}from'./websocketgateway.js';import{Users as _0x2d2d9e}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x47e28b{[_0xa19923(0x14d)];[_0xa19923(0x156)];[_0xa19923(0x140)];[_0xa19923(0x13a)];[_0xa19923(0x167)];[_0xa19923(0x152)];static get[_0xa19923(0x172)](){const _0x4c1e90=_0xa19923;return _0x4c1e90(0x13e);}static get[_0xa19923(0x14c)](){return!0x0;}static get[_0xa19923(0x160)](){return!0x0;}static get[_0xa19923(0x157)](){return[_0x19bbbf,_0x2d2d9e];}constructor(_0xd027e9){const _0x2eb5d7=_0xa19923;super(_0xd027e9),this[_0x2eb5d7(0x14d)]=new Map(),this[_0x2eb5d7(0x156)]=new Map(),this[_0x2eb5d7(0x140)]=new _0x5415a6(),this[_0x2eb5d7(0x13a)]=new Map(),this[_0x2eb5d7(0x167)]=0x0,this[_0x2eb5d7(0x152)]=this[_0x2eb5d7(0x153)][_0x2eb5d7(0x164)][_0x2eb5d7(0x16a)](_0x2d2d9e);}[_0xa19923(0x155)](){const _0x387e42=_0xa19923,_0x14e9f4=this[_0x387e42(0x153)][_0x387e42(0x164)][_0x387e42(0x16a)](_0x19bbbf);this[_0x387e42(0x16d)](_0x14e9f4,_0x387e42(0x15d),(_0x293238,_0x56a5d6,_0x51863d)=>{const _0x3440de=_0x387e42;if(_0x3440de(0x161)!==_0x51863d)this[_0x3440de(0x14d)][_0x3440de(0x169)](_0x149aa5=>_0x149aa5[_0x3440de(0x15e)]()),this[_0x3440de(0x156)][_0x3440de(0x169)](_0x114b7c=>_0x114b7c[_0x3440de(0x15e)]()),this[_0x3440de(0x140)][_0x3440de(0x15e)]();else{for(const [_0x39b237,_0xa7fa8d]of this[_0x3440de(0x13a)])for(const _0x340125 of _0xa7fa8d)this[_0x3440de(0x144)](_0x39b237,_0x340125);}}),this[_0x387e42(0x14b)](_0x14e9f4[_0x387e42(0x15c)]['me'],!0x0);}[_0xa19923(0x13b)](_0x4a78a4,_0x577cc8){const _0x21428d=_0xa19923;if(this[_0x21428d(0x13a)][_0x21428d(0x14e)](_0x4a78a4))throw new _0xec0fcd(_0x21428d(0x170),null,{'channelId':_0x4a78a4});this[_0x21428d(0x13a)][_0x21428d(0x145)](_0x4a78a4,_0x577cc8),this[_0x21428d(0x14d)][_0x21428d(0x145)](_0x4a78a4,new _0x5415a6()),this[_0x21428d(0x156)][_0x21428d(0x145)](_0x4a78a4,new _0x5415a6()),this[_0x21428d(0x16d)](_0x577cc8,_0x21428d(0x13d),(_0x557ed0,_0x25245c)=>this[_0x21428d(0x144)](_0x4a78a4,_0x25245c)),this[_0x21428d(0x16d)](_0x577cc8,_0x21428d(0x151),(_0x12ae20,_0x16cd49)=>this[_0x21428d(0x176)](_0x4a78a4,_0x16cd49));for(const _0x3a13a2 of _0x577cc8)this[_0x21428d(0x144)](_0x4a78a4,_0x3a13a2);}[_0xa19923(0x16f)](_0x52a3fd){const _0x3868ba=_0xa19923;if(!this[_0x3868ba(0x13a)][_0x3868ba(0x14e)](_0x52a3fd))throw new _0xec0fcd(_0x3868ba(0x14f),null,{'channelId':_0x52a3fd});const _0x426d28=this[_0x3868ba(0x13a)][_0x3868ba(0x16a)](_0x52a3fd);this[_0x3868ba(0x158)](_0x426d28);for(const _0x4a29ca of _0x426d28)_0x3868ba(0x161)===this[_0x3868ba(0x153)][_0x3868ba(0x164)][_0x3868ba(0x16a)](_0x19bbbf)[_0x3868ba(0x143)]&&this[_0x3868ba(0x176)](_0x52a3fd,_0x4a29ca);this[_0x3868ba(0x13a)][_0x3868ba(0x16e)](_0x52a3fd),this[_0x3868ba(0x14d)][_0x3868ba(0x16e)](_0x52a3fd),this[_0x3868ba(0x156)][_0x3868ba(0x16e)](_0x52a3fd);}get[_0xa19923(0x149)](){const _0x740b46=_0xa19923;return this[_0x740b46(0x153)][_0x740b46(0x164)][_0x740b46(0x16a)](_0x19bbbf)[_0x740b46(0x15c)][_0x740b46(0x137)];}[_0xa19923(0x171)](_0x37650c){const _0xee72b8=_0xa19923;for(const _0x5ad50f of this[_0xee72b8(0x14d)][_0xee72b8(0x142)]())for(const _0x2c8ed3 of _0x5ad50f)if(_0x2c8ed3['id']===_0x37650c)return _0x2c8ed3[_0xee72b8(0x174)];}[_0xa19923(0x16c)](_0x5051d3,_0x3a09c3){const _0x31d1a6=_0xa19923,_0xbbf677=_0x3a09c3?[this[_0x31d1a6(0x14d)][_0x31d1a6(0x16a)](_0x3a09c3)]:this[_0x31d1a6(0x14d)][_0x31d1a6(0x142)](),_0x2ccf20=new Set();for(const _0x5e2886 of _0xbbf677)for(const _0x201377 of _0x5e2886)_0x201377[_0x31d1a6(0x174)]['id']===_0x5051d3['id']&&_0x2ccf20[_0x31d1a6(0x13d)](_0x201377['id']);return _0x2ccf20;}[_0xa19923(0x173)](_0x58e5b7){const _0x89059e=_0xa19923;for(const _0x2f6411 of this[_0x89059e(0x14d)][_0x89059e(0x142)]())for(const _0x4020a2 of _0x2f6411)if(_0x4020a2[_0x89059e(0x174)]===_0x58e5b7)return _0x4020a2[_0x89059e(0x15f)];}[_0xa19923(0x144)](_0x3d77f7,_0x51b29b){const _0x402d66=_0xa19923;if(_0x402d66(0x161)!==this[_0x402d66(0x153)][_0x402d66(0x164)][_0x402d66(0x16a)](_0x19bbbf)[_0x402d66(0x143)])return;const _0x905329=_0x51b29b[_0x402d66(0x174)],_0x31c371=this[_0x402d66(0x152)][_0x402d66(0x168)](_0x905329['id'])||this[_0x402d66(0x14b)](_0x905329),_0x3c505a=Object[_0x402d66(0x14a)]({},_0x51b29b,{'user':_0x31c371});if(this[_0x402d66(0x14d)][_0x402d66(0x16a)](_0x3d77f7)[_0x402d66(0x13d)](_0x3c505a),!_0x905329[_0x402d66(0x162)]){const _0x111dd8=this[_0x402d66(0x156)][_0x402d66(0x16a)](_0x3d77f7);_0x111dd8[_0x402d66(0x14e)](_0x31c371['id'])||_0x111dd8[_0x402d66(0x13d)](_0x31c371),this[_0x402d66(0x140)][_0x402d66(0x14e)](_0x31c371['id'])||_0x905329[_0x402d66(0x162)]||this[_0x402d66(0x140)][_0x402d66(0x13d)](_0x31c371,_0x31c371[_0x402d66(0x16b)]?0x0:void 0x0);}this[_0x402d66(0x150)](_0x402d66(0x146)+_0x3d77f7,{'channelId':_0x3d77f7,'session':_0x3c505a});}[_0xa19923(0x176)](_0x34a0fe,_0x295bef){const _0x12f61e=_0xa19923;if(_0x12f61e(0x161)!==this[_0x12f61e(0x153)][_0x12f61e(0x164)][_0x12f61e(0x16a)](_0x19bbbf)[_0x12f61e(0x143)])return;const _0x13416d=this[_0x12f61e(0x156)][_0x12f61e(0x16a)](_0x34a0fe),_0x5d881e=_0x295bef[_0x12f61e(0x174)];_0x5d881e['id']&&(this[_0x12f61e(0x14d)][_0x12f61e(0x16a)](_0x34a0fe)[_0x12f61e(0x151)](_0x295bef['id']),_0x13416d[_0x12f61e(0x14e)](_0x5d881e['id'])&&!this[_0x12f61e(0x16c)](_0x5d881e,_0x34a0fe)[_0x12f61e(0x139)]&&_0x13416d[_0x12f61e(0x151)](_0x5d881e['id']),this[_0x12f61e(0x140)][_0x12f61e(0x16a)](_0x5d881e['id'])&&!this[_0x12f61e(0x16c)](_0x5d881e)[_0x12f61e(0x139)]&&this[_0x12f61e(0x140)][_0x12f61e(0x151)](_0x5d881e['id']));}[_0xa19923(0x14b)](_0x3eca26,_0xb56d09){const _0x5b87a3=_0xa19923,_0x27ad4f=this[_0x5b87a3(0x152)][_0x5b87a3(0x165)](_0x3eca26);return _0xb56d09&&this[_0x5b87a3(0x152)][_0x5b87a3(0x13f)](_0x3eca26['id']),_0x27ad4f[_0x5b87a3(0x159)]=this[_0x5b87a3(0x167)]++,_0x27ad4f;}}
23
+ const _0x23a124=_0x4df8;function _0x4df8(_0x35a051,_0x11364){const _0x30dda8=_0x30dd();return _0x4df8=function(_0x4df84c,_0x17a1f6){_0x4df84c=_0x4df84c-0xe1;let _0x2d32b9=_0x30dda8[_0x4df84c];return _0x2d32b9;},_0x4df8(_0x35a051,_0x11364);}(function(_0x19c52a,_0x372a10){const _0x26e373=_0x4df8,_0x2c50c2=_0x19c52a();while(!![]){try{const _0xe3943a=-parseInt(_0x26e373(0xed))/0x1*(parseInt(_0x26e373(0xe6))/0x2)+parseInt(_0x26e373(0x102))/0x3*(parseInt(_0x26e373(0x11c))/0x4)+parseInt(_0x26e373(0xe3))/0x5+parseInt(_0x26e373(0x111))/0x6*(-parseInt(_0x26e373(0xfb))/0x7)+-parseInt(_0x26e373(0x10c))/0x8+-parseInt(_0x26e373(0xf9))/0x9*(-parseInt(_0x26e373(0xf3))/0xa)+-parseInt(_0x26e373(0xe8))/0xb*(parseInt(_0x26e373(0x110))/0xc);if(_0xe3943a===_0x372a10)break;else _0x2c50c2['push'](_0x2c50c2['shift']());}catch(_0x1992eb){_0x2c50c2['push'](_0x2c50c2['shift']());}}}(_0x30dd,0xbed74));import{ContextPlugin as _0x5c34fe}from'ckeditor5/src/core.js';import{Collection as _0x296a3b,CKEditorError as _0x49d0c1}from'ckeditor5/src/utils.js';function _0x30dd(){const _0x18ce63=['get','plugins','63gTUYWc','forEach','681555kPIQVI','addUser','remove','delete','clear','allConnectedUsers','context','135cBcJLv','orderNumber','requires','init','size','_handleSessionAdd','getUser','isMe','_uniqueUsersCount','_users','4141120EgFUrK','mySessionId','_handleSessionRemove','role','9035256fgKImA','24LNnRcA','getUserSessions','has','getUserBySessionId','sessionAdd:','_registeredSessions','assign','listenTo','pluginName','isOfficialPlugin','unregister','33148ZYWIsz','channelSessions','Sessions','add','register','sessions-unregister-not-exist','_createUser','sessions-register-already-registered','5840730dfeMFn','getUserRole','change:state','314akUgBa','sessionId','11AhEDks','state','connected','channelConnectedUsers','set','2903eeKuQG','user','values','isPremiumPlugin','fire','defineMe','1937760hIzKMP','stopListening','hiddenInPresenceList','connection'];_0x30dd=function(){return _0x18ce63;};return _0x30dd();}import{WebSocketGateway as _0x3e7ab7}from'./websocketgateway.js';import{Users as _0x2d8c4c}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5c34fe{[_0x23a124(0x11d)];[_0x23a124(0xeb)];[_0x23a124(0x100)];[_0x23a124(0x116)];[_0x23a124(0x10a)];[_0x23a124(0x10b)];static get[_0x23a124(0x119)](){const _0x31f39e=_0x23a124;return _0x31f39e(0x11e);}static get[_0x23a124(0x11a)](){return!0x0;}static get[_0x23a124(0xf0)](){return!0x0;}static get[_0x23a124(0x104)](){return[_0x3e7ab7,_0x2d8c4c];}constructor(_0x44b341){const _0x57e68e=_0x23a124;super(_0x44b341),this[_0x57e68e(0x11d)]=new Map(),this[_0x57e68e(0xeb)]=new Map(),this[_0x57e68e(0x100)]=new _0x296a3b(),this[_0x57e68e(0x116)]=new Map(),this[_0x57e68e(0x10a)]=0x0,this[_0x57e68e(0x10b)]=this[_0x57e68e(0x101)][_0x57e68e(0xf8)][_0x57e68e(0xf7)](_0x2d8c4c);}[_0x23a124(0x105)](){const _0x3a223d=_0x23a124,_0x4e4dab=this[_0x3a223d(0x101)][_0x3a223d(0xf8)][_0x3a223d(0xf7)](_0x3e7ab7);this[_0x3a223d(0x118)](_0x4e4dab,_0x3a223d(0xe5),(_0x168e12,_0x165af5,_0x42d27d)=>{const _0x21cf8a=_0x3a223d;if(_0x21cf8a(0xea)!==_0x42d27d)this[_0x21cf8a(0x11d)][_0x21cf8a(0xfa)](_0x125b8c=>_0x125b8c[_0x21cf8a(0xff)]()),this[_0x21cf8a(0xeb)][_0x21cf8a(0xfa)](_0x35223d=>_0x35223d[_0x21cf8a(0xff)]()),this[_0x21cf8a(0x100)][_0x21cf8a(0xff)]();else{for(const [_0x52c8d8,_0x3c2696]of this[_0x21cf8a(0x116)])for(const _0x42633b of _0x3c2696)this[_0x21cf8a(0x107)](_0x52c8d8,_0x42633b);}}),this[_0x3a223d(0xe1)](_0x4e4dab[_0x3a223d(0xf6)]['me'],!0x0);}[_0x23a124(0x120)](_0x25106a,_0x445dc5){const _0xb080a4=_0x23a124;if(this[_0xb080a4(0x116)][_0xb080a4(0x113)](_0x25106a))throw new _0x49d0c1(_0xb080a4(0xe2),null,{'channelId':_0x25106a});this[_0xb080a4(0x116)][_0xb080a4(0xec)](_0x25106a,_0x445dc5),this[_0xb080a4(0x11d)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0xeb)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0x11f),(_0x7b2061,_0x57e61f)=>this[_0xb080a4(0x107)](_0x25106a,_0x57e61f)),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0xfd),(_0x2ec06d,_0x26c2ad)=>this[_0xb080a4(0x10e)](_0x25106a,_0x26c2ad));for(const _0x2bfc42 of _0x445dc5)this[_0xb080a4(0x107)](_0x25106a,_0x2bfc42);}[_0x23a124(0x11b)](_0xa49413){const _0x16ac9c=_0x23a124;if(!this[_0x16ac9c(0x116)][_0x16ac9c(0x113)](_0xa49413))throw new _0x49d0c1(_0x16ac9c(0x121),null,{'channelId':_0xa49413});const _0x1e6ca6=this[_0x16ac9c(0x116)][_0x16ac9c(0xf7)](_0xa49413);this[_0x16ac9c(0xf4)](_0x1e6ca6);for(const _0x30daf9 of _0x1e6ca6)_0x16ac9c(0xea)===this[_0x16ac9c(0x101)][_0x16ac9c(0xf8)][_0x16ac9c(0xf7)](_0x3e7ab7)[_0x16ac9c(0xe9)]&&this[_0x16ac9c(0x10e)](_0xa49413,_0x30daf9);this[_0x16ac9c(0x116)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0x11d)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0xeb)][_0x16ac9c(0xfe)](_0xa49413);}get[_0x23a124(0x10d)](){const _0x13e652=_0x23a124;return this[_0x13e652(0x101)][_0x13e652(0xf8)][_0x13e652(0xf7)](_0x3e7ab7)[_0x13e652(0xf6)][_0x13e652(0xe7)];}[_0x23a124(0x114)](_0x148714){const _0x5daf53=_0x23a124;for(const _0x543ba6 of this[_0x5daf53(0x11d)][_0x5daf53(0xef)]())for(const _0x5121f4 of _0x543ba6)if(_0x5121f4['id']===_0x148714)return _0x5121f4[_0x5daf53(0xee)];}[_0x23a124(0x112)](_0x1934e0,_0x3fd731){const _0x861c89=_0x23a124,_0x16a7cb=_0x3fd731?[this[_0x861c89(0x11d)][_0x861c89(0xf7)](_0x3fd731)]:this[_0x861c89(0x11d)][_0x861c89(0xef)](),_0x7af0ad=new Set();for(const _0x33244b of _0x16a7cb)for(const _0x2cdd00 of _0x33244b)_0x2cdd00[_0x861c89(0xee)]['id']===_0x1934e0['id']&&_0x7af0ad[_0x861c89(0x11f)](_0x2cdd00['id']);return _0x7af0ad;}[_0x23a124(0xe4)](_0x2c5e95){const _0xa5fc22=_0x23a124;for(const _0x46d509 of this[_0xa5fc22(0x11d)][_0xa5fc22(0xef)]())for(const _0x40f5a4 of _0x46d509)if(_0x40f5a4[_0xa5fc22(0xee)]===_0x2c5e95)return _0x40f5a4[_0xa5fc22(0x10f)];}[_0x23a124(0x107)](_0x416843,_0x95c322){const _0x257704=_0x23a124;if(_0x257704(0xea)!==this[_0x257704(0x101)][_0x257704(0xf8)][_0x257704(0xf7)](_0x3e7ab7)[_0x257704(0xe9)])return;const _0x2f1204=_0x95c322[_0x257704(0xee)],_0x406b27=this[_0x257704(0x10b)][_0x257704(0x108)](_0x2f1204['id'])||this[_0x257704(0xe1)](_0x2f1204),_0x58f5e4=Object[_0x257704(0x117)]({},_0x95c322,{'user':_0x406b27});if(this[_0x257704(0x11d)][_0x257704(0xf7)](_0x416843)[_0x257704(0x11f)](_0x58f5e4),!_0x2f1204[_0x257704(0xf5)]){const _0xd2ae2c=this[_0x257704(0xeb)][_0x257704(0xf7)](_0x416843);_0xd2ae2c[_0x257704(0x113)](_0x406b27['id'])||_0xd2ae2c[_0x257704(0x11f)](_0x406b27),this[_0x257704(0x100)][_0x257704(0x113)](_0x406b27['id'])||_0x2f1204[_0x257704(0xf5)]||this[_0x257704(0x100)][_0x257704(0x11f)](_0x406b27,_0x406b27[_0x257704(0x109)]?0x0:void 0x0);}this[_0x257704(0xf1)](_0x257704(0x115)+_0x416843,{'channelId':_0x416843,'session':_0x58f5e4});}[_0x23a124(0x10e)](_0x12f74e,_0x2450b9){const _0x4a963c=_0x23a124;if(_0x4a963c(0xea)!==this[_0x4a963c(0x101)][_0x4a963c(0xf8)][_0x4a963c(0xf7)](_0x3e7ab7)[_0x4a963c(0xe9)])return;const _0x425cfb=this[_0x4a963c(0xeb)][_0x4a963c(0xf7)](_0x12f74e),_0x1fc9a4=_0x2450b9[_0x4a963c(0xee)];_0x1fc9a4['id']&&(this[_0x4a963c(0x11d)][_0x4a963c(0xf7)](_0x12f74e)[_0x4a963c(0xfd)](_0x2450b9['id']),_0x425cfb[_0x4a963c(0x113)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4,_0x12f74e)[_0x4a963c(0x106)]&&_0x425cfb[_0x4a963c(0xfd)](_0x1fc9a4['id']),this[_0x4a963c(0x100)][_0x4a963c(0xf7)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4)[_0x4a963c(0x106)]&&this[_0x4a963c(0x100)][_0x4a963c(0xfd)](_0x1fc9a4['id']));}[_0x23a124(0xe1)](_0x127bd0,_0x63e002){const _0x1666ee=_0x23a124,_0x466a63=this[_0x1666ee(0x10b)][_0x1666ee(0xfc)](_0x127bd0);return _0x63e002&&this[_0x1666ee(0x10b)][_0x1666ee(0xf2)](_0x127bd0['id']),_0x466a63[_0x1666ee(0x103)]=this[_0x1666ee(0x10a)]++,_0x466a63;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x566a(){const _0x35e657=['133165jBJUtA','end','spellcheck','split','oldRange','commands','type','add','view','isLimit','getPositions','setAttribute','clear','toRange','start','user:position:','mouseenter','highest','color','root','startsWith','selection','editing','applyOperation','span','mouseleave','element','createUIElement','6257800qQXNNJ','markerRange','marker','markerNameToElements','afterInit','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker\x20','contenteditable','getAttribute','has','requires','getFirstRange','detach','140OGEWBf','getNearestSelectionRange','set','schema','markerToHighlight','fromRange','size','stopListening','isDocumentOperation','tableCell','update:user:range','user:range','12075200pIyByH','user:position','init','$text','setCustomProperty','newRange','_domEmitter','user:','hasDomSelection','editor','isInline','ck-user__marker-tooltip','getSelectionClass','mySessionId','501BEThXZ','removeClass','outerHTML','data-session-id','createElement','change:range','addMarker','nodeAfter','hasContent','toDomElement','createUserMarkerOperations','parent','classList','mapper','addEventListener','undo','innerHTML','isSimilar','enqueueChange','editingDowncast','listenTo','pluginName','markerName','for','getUserBySessionId','name','markerToElement','removeMarker','131089PPPUux','model','isCollapsed','user:range:','ck-user__selection','checkChild','destroy','change','remove','batch','conversion','226cOBeUo','getContainedElement','Escape','rootName','6KsCCxV','getStart','reconvertMarker','updateMarker','deletionPosition','delete','document','false','userPositionMarker','_createdBatches','keydown','329972hYGVsM','textContent','1190196BWEAWv','getRange','isPremiumPlugin','ck-user__marker_hovered','$graveyard','markers','createRange','getCustomProperty','isObject','get','getMarkerClass','render','plugins','orderNumber','UserMarkers','isOfficialPlugin'];_0x566a=function(){return _0x35e657;};return _0x566a();}const _0x3378cf=_0x5349;(function(_0xb7f4cb,_0x223e6c){const _0x38e8dd=_0x5349,_0x2a8955=_0xb7f4cb();while(!![]){try{const _0xec9b1e=-parseInt(_0x38e8dd(0x186))/0x1+-parseInt(_0x38e8dd(0x177))/0x2*(parseInt(_0x38e8dd(0x150))/0x3)+parseInt(_0x38e8dd(0x1c1))/0x4*(-parseInt(_0x38e8dd(0x198))/0x5)+parseInt(_0x38e8dd(0x17b))/0x6*(parseInt(_0x38e8dd(0x16c))/0x7)+parseInt(_0x38e8dd(0x1b4))/0x8+-parseInt(_0x38e8dd(0x188))/0x9+parseInt(_0x38e8dd(0x142))/0xa;if(_0xec9b1e===_0x223e6c)break;else _0x2a8955['push'](_0x2a8955['shift']());}catch(_0x5bf891){_0x2a8955['push'](_0x2a8955['shift']());}}}(_0x566a,0x9151e));import{Plugin as _0x48f7b4}from'ckeditor5/src/core.js';import{global as _0x598bff,DomEmitterMixin as _0x39a044}from'ckeditor5/src/utils.js';import{Sessions as _0x5d3db9}from'./sessions.js';import{ModelLiveRange as _0x265157}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x48f7b4{[_0x3378cf(0x148)]=new(_0x39a044())();static get[_0x3378cf(0x1be)](){return[_0x5d3db9];}static get[_0x3378cf(0x165)](){const _0x6d7eba=_0x3378cf;return _0x6d7eba(0x196);}static get[_0x3378cf(0x197)](){return!0x0;}static get[_0x3378cf(0x18a)](){return!0x0;}[_0x3378cf(0x144)](){const _0x39fc8b=_0x3378cf,_0xdec034=this[_0x39fc8b(0x14b)],_0x1b1709=_0xdec034[_0x39fc8b(0x194)][_0x39fc8b(0x191)](_0x5d3db9);_0xdec034[_0x39fc8b(0x176)][_0x39fc8b(0x167)](_0x39fc8b(0x163))[_0x39fc8b(0x16a)]({'model':_0x39fc8b(0x143),'view':(_0x1beae6,{writer:_0x2c328e})=>function(_0x4cbf7f,_0x43fce7,_0x58992d,_0x510dfc){const _0x317f9d=_0x39fc8b,_0x2c3aff=_0x4cbf7f[_0x317f9d(0x166)][_0x317f9d(0x19b)](':')[0x2],_0x20a5c1=_0x58992d[_0x317f9d(0x168)](_0x2c3aff);if(!_0x20a5c1||_0x2c3aff===_0x58992d[_0x317f9d(0x14f)])return;if(!_0x510dfc[_0x317f9d(0x16d)][_0x317f9d(0x1c4)][_0x317f9d(0x171)](_0x4cbf7f[_0x317f9d(0x1b5)][_0x317f9d(0x1a6)],_0x317f9d(0x145)))return;const _0x5ec307={'class':_0x317f9d(0x1ba)+_0x20a5c1[_0x317f9d(0x1aa)][_0x317f9d(0x192)](),'data-name':_0x20a5c1[_0x317f9d(0x169)],'data-session-id':_0x2c3aff},_0x262e19=_0x510dfc[_0x317f9d(0x16d)][_0x317f9d(0x18d)][_0x317f9d(0x191)](_0x4cbf7f[_0x317f9d(0x166)]),_0x310ba1=_0x262e19[_0x317f9d(0x17c)](),_0x598cf2=_0x310ba1[_0x317f9d(0x157)],_0xd3fc2e=_0x510dfc[_0x317f9d(0x16d)][_0x317f9d(0x1c4)];if(_0x598cf2&&_0xd3fc2e[_0x317f9d(0x190)](_0x598cf2)&&_0xd3fc2e[_0x317f9d(0x14c)](_0x598cf2)&&!_0x510dfc[_0x317f9d(0x16d)][_0x317f9d(0x18d)][_0x317f9d(0x191)](_0x317f9d(0x16f)+_0x2c3aff)[_0x317f9d(0x189)]()[_0x317f9d(0x16e)])return;const _0xd82cc3=_0x310ba1[_0x317f9d(0x15b)];return _0x510dfc[_0x317f9d(0x16d)][_0x317f9d(0x1c4)][_0x317f9d(0x1a1)](_0xd82cc3)&&!_0x510dfc[_0x317f9d(0x16d)][_0x317f9d(0x158)](_0xd82cc3)&&(_0x5ec307[_0x317f9d(0x1bb)]=!0x1),function(_0x4dc305,_0x11ae56,_0x461ebe){const _0x50f760=_0x317f9d,_0x1b8dac=_0x4dc305[_0x50f760(0x1b3)](_0x50f760(0x1b0),_0x11ae56);return _0x4dc305[_0x50f760(0x146)](_0x50f760(0x183),!0x0,_0x1b8dac),_0x1b8dac[_0x50f760(0x193)]=function(_0x5d8bd6){const _0x41fd92=_0x50f760,_0x2a5139=this[_0x41fd92(0x159)](_0x5d8bd6),_0x46c458=document[_0x41fd92(0x154)](_0x41fd92(0x1b0));return _0x46c458[_0x41fd92(0x15c)][_0x41fd92(0x19f)](_0x41fd92(0x14d)),_0x46c458[_0x41fd92(0x1a3)](_0x41fd92(0x1bb),_0x41fd92(0x182)),_0x46c458[_0x41fd92(0x1a3)](_0x41fd92(0x19a),_0x41fd92(0x182)),_0x46c458[_0x41fd92(0x187)]=_0x461ebe[_0x41fd92(0x169)],_0x2a5139[_0x41fd92(0x160)]=_0x41fd92(0x1b9)+_0x46c458[_0x41fd92(0x152)]+'⁠',_0x2a5139[_0x41fd92(0x15e)](_0x41fd92(0x1a8),()=>{const _0x3b0855=_0x41fd92;_0x2a5139[_0x3b0855(0x15c)][_0x3b0855(0x19f)](_0x3b0855(0x18b));}),_0x2a5139[_0x41fd92(0x15e)](_0x41fd92(0x1b1),()=>{const _0x4d076f=_0x41fd92;_0x2a5139[_0x4d076f(0x15c)][_0x4d076f(0x174)](_0x4d076f(0x18b));}),_0x2a5139;},_0x1b8dac[_0x50f760(0x161)]=function(_0xcb57cb){const _0x62fc26=_0x50f760;return!(!this[_0x62fc26(0x18f)](_0x62fc26(0x183))||!_0xcb57cb[_0x62fc26(0x18f)](_0x62fc26(0x183))||this[_0x62fc26(0x1bc)](_0x62fc26(0x153))!=_0xcb57cb[_0x62fc26(0x1bc)](_0x62fc26(0x153)));},_0x1b8dac;}(_0x43fce7,_0x5ec307,_0x20a5c1);}(_0x1beae6,_0x2c328e,_0x1b1709,_0xdec034)}),_0xdec034[_0x39fc8b(0x176)][_0x39fc8b(0x167)](_0x39fc8b(0x163))[_0x39fc8b(0x1c5)]({'model':_0x39fc8b(0x141),'view':_0x103f9f=>function(_0x767c89,_0xe12a2a){const _0x1e1303=_0x39fc8b,_0x1d14aa=_0x767c89[_0x1e1303(0x166)][_0x1e1303(0x19b)](':')[0x2];if(_0x1d14aa===_0xe12a2a[_0x1e1303(0x14f)])return null;const _0x5612c8=_0xe12a2a[_0x1e1303(0x168)](_0x1d14aa);if(!_0x5612c8)return{'id':_0x1d14aa,'classes':[]};return{'id':_0x1d14aa,'classes':[_0x1e1303(0x170),_0x5612c8[_0x1e1303(0x1aa)][_0x1e1303(0x14e)]()],'attributes':{'data-session-id':_0x1d14aa},'priority':0x7d0+_0x5612c8[_0x1e1303(0x195)]};}(_0x103f9f,_0x1b1709)}),function(_0x56676e){const _0x3b2772=_0x39fc8b,_0x4d870b=_0x56676e[_0x3b2772(0x16d)],_0xee289=new Map(),_0x4a1a70=_0x56676e[_0x3b2772(0x194)][_0x3b2772(0x191)](_0x5d3db9);_0x4d870b[_0x3b2772(0x18d)]['on'](_0x3b2772(0x140),(_0x13ca2e,_0x3e0df5,_0x84af3d,_0x4cd63c)=>{const _0x5a5d5a=_0x3b2772;if(!_0x4cd63c&&_0xee289[_0x5a5d5a(0x191)](_0x3e0df5[_0x5a5d5a(0x169)]))return _0xee289[_0x5a5d5a(0x191)](_0x3e0df5[_0x5a5d5a(0x169)])[_0x5a5d5a(0x1c0)](),void _0xee289[_0x5a5d5a(0x180)](_0x3e0df5[_0x5a5d5a(0x169)]);const _0x59144e=_0x3e0df5[_0x5a5d5a(0x169)][_0x5a5d5a(0x19b)](':')[0x2];if(_0x59144e===_0x4a1a70[_0x5a5d5a(0x14f)])return;const _0x26f1b5=_0x5a5d5a(0x1a7)+_0x59144e;_0x4d870b[_0x5a5d5a(0x18d)][_0x5a5d5a(0x1bd)](_0x26f1b5)&&_0x56676e[_0x5a5d5a(0x1ae)][_0x5a5d5a(0x17d)](_0x26f1b5),_0x3e0df5['on'](_0x5a5d5a(0x155),(_0x43981b,_0xc037b2,_0x57e98f)=>{const _0x33e5fd=_0x5a5d5a;if(_0x33e5fd(0x18c)!=_0xc037b2[_0x33e5fd(0x1ab)][_0x33e5fd(0x17a)]&&_0x33e5fd(0x18c)==_0x3e0df5[_0x33e5fd(0x189)]()[_0x33e5fd(0x1ab)][_0x33e5fd(0x17a)]&&!_0xee289[_0x33e5fd(0x1bd)](_0x3e0df5[_0x33e5fd(0x169)])){const _0x3e5ed4=_0x4d870b[_0x33e5fd(0x1c4)][_0x33e5fd(0x1c2)](_0x57e98f[_0x33e5fd(0x17f)]);if(_0x3e5ed4){const _0x367638=_0x265157[_0x33e5fd(0x13b)](_0x3e5ed4);_0xee289[_0x33e5fd(0x1c3)](_0x3e0df5[_0x33e5fd(0x169)],_0x367638),_0x367638['on'](_0x33e5fd(0x155),(_0x329093,_0x5e1aba,_0x1e6df7)=>{const _0x4ae966=_0x33e5fd;if(_0x4ae966(0x18c)==_0x367638[_0x4ae966(0x1ab)][_0x4ae966(0x17a)]){const _0x450f4f=_0x4d870b[_0x4ae966(0x1c4)][_0x4ae966(0x1c2)](_0x1e6df7[_0x4ae966(0x17f)]);_0x450f4f?(_0x367638[_0x4ae966(0x1a6)]=_0x450f4f[_0x4ae966(0x1a6)],_0x367638[_0x4ae966(0x199)]=_0x450f4f[_0x4ae966(0x199)]):(_0xee289[_0x4ae966(0x180)](_0x3e0df5[_0x4ae966(0x169)]),_0x367638[_0x4ae966(0x1c0)]());}});}}});}),_0x4d870b[_0x3b2772(0x181)]['on'](_0x3b2772(0x173),()=>{const _0x2c8a3a=_0x3b2772;_0xee289[_0x2c8a3a(0x13c)]>0x0&&_0x4d870b[_0x2c8a3a(0x162)]({'isUndoable':!0x1},_0x33d91f=>{const _0x1a3d63=_0x2c8a3a;for(const [_0x2faddd,_0x224a60]of _0xee289)_0x1a3d63(0x18c)==_0x4d870b[_0x1a3d63(0x18d)][_0x1a3d63(0x191)](_0x2faddd)[_0x1a3d63(0x189)]()[_0x1a3d63(0x1ab)][_0x1a3d63(0x17a)]&&(J(_0x2faddd[_0x1a3d63(0x19b)](':')[0x2],_0x224a60[_0x1a3d63(0x1a5)](),_0x4d870b,_0x33d91f),_0x224a60[_0x1a3d63(0x1c0)]());_0xee289[_0x1a3d63(0x1a4)]();});});}(_0xdec034),this[_0x39fc8b(0x148)][_0x39fc8b(0x164)](_0x598bff[_0x39fc8b(0x181)],_0x39fc8b(0x185),(_0x8cd608,{key:_0x4c26d7})=>{const _0x244dcf=_0x39fc8b;_0x244dcf(0x179)===_0x4c26d7&&function(_0x494d1d){const _0x5aa660=_0x244dcf;_0x494d1d[_0x5aa660(0x1ae)][_0x5aa660(0x1a0)][_0x5aa660(0x173)](_0x52c75d=>{const _0x1411b0=_0x5aa660;for(const _0xde0533 of _0x494d1d[_0x1411b0(0x16d)][_0x1411b0(0x18d)]){if(!_0xde0533[_0x1411b0(0x169)][_0x1411b0(0x1ac)](_0x1411b0(0x143)))continue;const _0x5a23a4=_0x494d1d[_0x1411b0(0x1ae)][_0x1411b0(0x15d)][_0x1411b0(0x1b7)](_0xde0533[_0x1411b0(0x169)]);if(_0x5a23a4){for(const _0x280f94 of _0x5a23a4)_0x52c75d[_0x1411b0(0x151)](_0x1411b0(0x18b),_0x280f94);}}});}(_0xdec034);},{'useCapture':!0x0});}[_0x3378cf(0x1b8)](){const _0x3766fa=_0x3378cf,_0x1a536f=this[_0x3766fa(0x14b)],_0x14a081=_0x1a536f[_0x3766fa(0x19d)][_0x3766fa(0x191)](_0x3766fa(0x15f));_0x14a081&&_0x1a536f[_0x3766fa(0x16d)]['on'](_0x3766fa(0x1af),(_0xf797ae,_0x224c30)=>{const _0x43163a=_0x3766fa,_0x30f572=_0x224c30[0x0];if(!_0x30f572[_0x43163a(0x13e)])return;if(_0x43163a(0x1b6)!=_0x30f572[_0x43163a(0x19e)]||!_0x30f572[_0x43163a(0x169)][_0x43163a(0x1ac)](_0x43163a(0x149)))return;const _0x329b8c=_0x30f572[_0x43163a(0x175)];_0x14a081[_0x43163a(0x184)][_0x43163a(0x1bd)](_0x329b8c)&&(_0x30f572[_0x43163a(0x147)]=_0x30f572[_0x43163a(0x19c)]?_0x1a536f[_0x43163a(0x16d)][_0x43163a(0x18e)](_0x30f572[_0x43163a(0x19c)][_0x43163a(0x1a6)],_0x30f572[_0x43163a(0x19c)][_0x43163a(0x199)]):null);},{'priority':_0x3766fa(0x1a9)});}[_0x3378cf(0x172)](){const _0x113df9=_0x3378cf;return this[_0x113df9(0x148)][_0x113df9(0x13d)](),super[_0x113df9(0x172)]();}[_0x3378cf(0x15a)](){const _0x263f26=_0x3378cf,_0x3c1e7e=this[_0x263f26(0x14b)],_0x4fc330=_0x3c1e7e[_0x263f26(0x16d)][_0x263f26(0x181)],_0x116133=_0x3c1e7e[_0x263f26(0x194)][_0x263f26(0x191)](_0x5d3db9);_0x3c1e7e[_0x263f26(0x16d)][_0x263f26(0x162)]({'isUndoable':!0x1},_0x67c64c=>{const _0x3b560f=_0x263f26,_0x1ec6dc=_0x3b560f(0x16f)+_0x116133[_0x3b560f(0x14f)],_0x301eab=_0x3b560f(0x1a7)+_0x116133[_0x3b560f(0x14f)],_0x51c419=_0x3c1e7e[_0x3b560f(0x16d)][_0x3b560f(0x18d)][_0x3b560f(0x1bd)](_0x1ec6dc);_0x3c1e7e[_0x3b560f(0x1ae)][_0x3b560f(0x1a0)][_0x3b560f(0x14a)]?J(_0x116133[_0x3b560f(0x14f)],_0x4fc330[_0x3b560f(0x1ad)][_0x3b560f(0x1bf)](),_0x3c1e7e[_0x3b560f(0x16d)],_0x67c64c):_0x51c419&&(_0x67c64c[_0x3b560f(0x16b)](_0x1ec6dc),_0x67c64c[_0x3b560f(0x16b)](_0x301eab));});}}function _0x5349(_0x2e7c89,_0x2360ce){const _0x566ac3=_0x566a();return _0x5349=function(_0x534962,_0x4a8993){_0x534962=_0x534962-0x13b;let _0xe21a25=_0x566ac3[_0x534962];return _0xe21a25;},_0x5349(_0x2e7c89,_0x2360ce);}function J(_0x5e0b39,_0x26cf78,_0x8c7973,_0x974a3f){const _0x2fd031=_0x3378cf,_0x325772=_0x2fd031(0x16f)+_0x5e0b39,_0x5a05c9=_0x2fd031(0x1a7)+_0x5e0b39,_0x4be094=_0x26cf78[_0x2fd031(0x178)]();let _0x3fc14b=_0x26cf78[_0x2fd031(0x1a6)];if(_0x4be094&&_0x4be094['is'](_0x2fd031(0x1b2),_0x2fd031(0x13f))){const _0x14d84c=function(_0x2709d1,_0x4eff20){const _0x22c267=_0x2fd031;for(const _0x445756 of _0x2709d1[_0x22c267(0x1a2)]())if(_0x4eff20[_0x22c267(0x1c4)][_0x22c267(0x171)](_0x445756,_0x22c267(0x145)))return _0x445756;}(_0x26cf78,_0x8c7973);_0x14d84c&&(_0x3fc14b=_0x14d84c,_0x26cf78=_0x974a3f[_0x2fd031(0x18e)](_0x3fc14b));}const _0x530e1a=_0x974a3f[_0x2fd031(0x18e)](_0x3fc14b);_0x8c7973[_0x2fd031(0x18d)][_0x2fd031(0x1bd)](_0x325772)?(_0x974a3f[_0x2fd031(0x17e)](_0x325772,{'range':_0x26cf78}),_0x974a3f[_0x2fd031(0x17e)](_0x5a05c9,{'range':_0x530e1a})):(_0x974a3f[_0x2fd031(0x156)](_0x325772,{'range':_0x26cf78,'usingOperation':!0x0}),_0x974a3f[_0x2fd031(0x156)](_0x5a05c9,{'range':_0x530e1a,'usingOperation':!0x0}));}
23
+ const _0x3ca79c=_0xd126;function _0x2538(){const _0x268868=['newRange','_createdBatches','516FiyRTo','createUIElement','user:position:','remove','1bbIhWx','getPositions','isPremiumPlugin','toRange','getContainedElement','UserMarkers','6269010bxnVeq','mouseleave','clear','schema','start','false','getNearestSelectionRange','isCollapsed','color','removeClass','setCustomProperty','toDomElement','_domEmitter','selection','spellcheck','markerRange','removeMarker','marker','getStart','ck-user__marker\x20','createElement','3lYyqgO','9uaoWwG','275219hbuNSu','addMarker','root','isOfficialPlugin','$graveyard','data-session-id','tableCell','oldRange','rootName','user:range:','listenTo','fromRange','editing','destroy','name','orderNumber','mouseenter','keydown','$text','for','model','textContent','ck-user__marker-tooltip','editingDowncast','hasDomSelection','detach','commands','userPositionMarker','contenteditable','createRange','startsWith','render','isInline','isSimilar','change:range','user:','conversion','requires','outerHTML','markerToElement','12086710JIzzvD','isDocumentOperation','getMarkerClass','reconvertMarker','document','getRange','delete','ck-user__selection','pluginName','enqueueChange','deletionPosition','update:user:range','split','updateMarker','add','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','set','getAttribute','6186zKTqIF','classList','setAttribute','has','undo','markers','highest','isLimit','span','431764iyRWua','innerHTML','hasContent','afterInit','296aGVFUe','getUserBySessionId','view','mapper','getSelectionClass','225576uyuGTQ','markerNameToElements','element','user:position','user:range','527654ZhmfYO','markerName','init','getCustomProperty','ck-user__marker_hovered','addEventListener','parent','stopListening','isObject','applyOperation','nodeAfter','getFirstRange','batch','change','editor','type','createUserMarkerOperations','plugins','size','mySessionId','end','markerToHighlight','4260iNgSWe','checkChild','Escape'];_0x2538=function(){return _0x268868;};return _0x2538();}function _0xd126(_0x3a8426,_0x28a8d6){const _0x253891=_0x2538();return _0xd126=function(_0xd1269a,_0x1868ee){_0xd1269a=_0xd1269a-0x125;let _0x1cb877=_0x253891[_0xd1269a];return _0x1cb877;},_0xd126(_0x3a8426,_0x28a8d6);}(function(_0x11cdda,_0x45dfcd){const _0x2fbec6=_0xd126,_0x4905ef=_0x11cdda();while(!![]){try{const _0x141e8c=parseInt(_0x2fbec6(0x19c))/0x1*(parseInt(_0x2fbec6(0x17d))/0x2)+parseInt(_0x2fbec6(0x129))/0x3*(parseInt(_0x2fbec6(0x16f))/0x4)+-parseInt(_0x2fbec6(0x193))/0x5*(-parseInt(_0x2fbec6(0x166))/0x6)+-parseInt(_0x2fbec6(0x12b))/0x7*(parseInt(_0x2fbec6(0x173))/0x8)+-parseInt(_0x2fbec6(0x12a))/0x9*(-parseInt(_0x2fbec6(0x153))/0xa)+parseInt(_0x2fbec6(0x1a2))/0xb+-parseInt(_0x2fbec6(0x198))/0xc*(parseInt(_0x2fbec6(0x178))/0xd);if(_0x141e8c===_0x45dfcd)break;else _0x4905ef['push'](_0x4905ef['shift']());}catch(_0x3fe0e8){_0x4905ef['push'](_0x4905ef['shift']());}}}(_0x2538,0xca1f8));import{Plugin as _0x5be099}from'ckeditor5/src/core.js';import{global as _0xea0329,DomEmitterMixin as _0x5b54a5}from'ckeditor5/src/utils.js';import{Sessions as _0x27c69c}from'./sessions.js';import{ModelLiveRange as _0x2cdbb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x5be099{[_0x3ca79c(0x1ae)]=new(_0x5b54a5())();static get[_0x3ca79c(0x150)](){return[_0x27c69c];}static get[_0x3ca79c(0x15b)](){const _0x217fcf=_0x3ca79c;return _0x217fcf(0x1a1);}static get[_0x3ca79c(0x12e)](){return!0x0;}static get[_0x3ca79c(0x19e)](){return!0x0;}[_0x3ca79c(0x17f)](){const _0x5f02ea=_0x3ca79c,_0x41c12f=this[_0x5f02ea(0x18b)],_0x155256=_0x41c12f[_0x5f02ea(0x18e)][_0x5f02ea(0x163)](_0x27c69c);_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x152)]({'model':_0x5f02ea(0x17b),'view':(_0x4b0ede,{writer:_0x28ee31})=>function(_0x381025,_0x3efa83,_0x16a297,_0x510f29){const _0x405a4f=_0x5f02ea,_0x59061b=_0x381025[_0x405a4f(0x17e)][_0x405a4f(0x15f)](':')[0x2],_0x307b23=_0x16a297[_0x405a4f(0x174)](_0x59061b);if(!_0x307b23||_0x59061b===_0x16a297[_0x405a4f(0x190)])return;if(!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x194)](_0x381025[_0x405a4f(0x1b1)][_0x405a4f(0x1a6)],_0x405a4f(0x13d)))return;const _0x20a414={'class':_0x405a4f(0x127)+_0x307b23[_0x405a4f(0x1aa)][_0x405a4f(0x155)](),'data-name':_0x307b23[_0x405a4f(0x139)],'data-session-id':_0x59061b},_0x505deb=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x381025[_0x405a4f(0x17e)]),_0x5ef4bb=_0x505deb[_0x405a4f(0x126)](),_0x33a790=_0x5ef4bb[_0x405a4f(0x187)],_0x4e2970=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)];if(_0x33a790&&_0x4e2970[_0x405a4f(0x185)](_0x33a790)&&_0x4e2970[_0x405a4f(0x14b)](_0x33a790)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x405a4f(0x134)+_0x59061b)[_0x405a4f(0x158)]()[_0x405a4f(0x1a9)])return;const _0x1641a8=_0x5ef4bb[_0x405a4f(0x183)];return _0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x16d)](_0x1641a8)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x171)](_0x1641a8)&&(_0x20a414[_0x405a4f(0x147)]=!0x1),function(_0x25a96d,_0x472e24,_0x412a4c){const _0x4a5ed2=_0x405a4f,_0x1ce1eb=_0x25a96d[_0x4a5ed2(0x199)](_0x4a5ed2(0x16e),_0x472e24);return _0x25a96d[_0x4a5ed2(0x1ac)](_0x4a5ed2(0x146),!0x0,_0x1ce1eb),_0x1ce1eb[_0x4a5ed2(0x14a)]=function(_0x5b026a){const _0x2c90d4=_0x4a5ed2,_0xca9501=this[_0x2c90d4(0x1ad)](_0x5b026a),_0x353357=document[_0x2c90d4(0x128)](_0x2c90d4(0x16e));return _0x353357[_0x2c90d4(0x167)][_0x2c90d4(0x161)](_0x2c90d4(0x141)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x147),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x1b0),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x140)]=_0x412a4c[_0x2c90d4(0x139)],_0xca9501[_0x2c90d4(0x170)]=_0x2c90d4(0x162)+_0x353357[_0x2c90d4(0x151)]+'⁠',_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x13b),()=>{const _0x5d7111=_0x2c90d4;_0xca9501[_0x5d7111(0x167)][_0x5d7111(0x161)](_0x5d7111(0x181));}),_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x1a3),()=>{const _0x360eee=_0x2c90d4;_0xca9501[_0x360eee(0x167)][_0x360eee(0x19b)](_0x360eee(0x181));}),_0xca9501;},_0x1ce1eb[_0x4a5ed2(0x14c)]=function(_0x338aa3){const _0x3be9bb=_0x4a5ed2;return!(!this[_0x3be9bb(0x180)](_0x3be9bb(0x146))||!_0x338aa3[_0x3be9bb(0x180)](_0x3be9bb(0x146))||this[_0x3be9bb(0x165)](_0x3be9bb(0x130))!=_0x338aa3[_0x3be9bb(0x165)](_0x3be9bb(0x130)));},_0x1ce1eb;}(_0x3efa83,_0x20a414,_0x307b23);}(_0x4b0ede,_0x28ee31,_0x155256,_0x41c12f)}),_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x192)]({'model':_0x5f02ea(0x17c),'view':_0x5b31f9=>function(_0x5c506e,_0x5555c9){const _0x2f9f80=_0x5f02ea,_0x2cce21=_0x5c506e[_0x2f9f80(0x17e)][_0x2f9f80(0x15f)](':')[0x2];if(_0x2cce21===_0x5555c9[_0x2f9f80(0x190)])return null;const _0x12c843=_0x5555c9[_0x2f9f80(0x174)](_0x2cce21);if(!_0x12c843)return{'id':_0x2cce21,'classes':[]};return{'id':_0x2cce21,'classes':[_0x2f9f80(0x15a),_0x12c843[_0x2f9f80(0x1aa)][_0x2f9f80(0x177)]()],'attributes':{'data-session-id':_0x2cce21},'priority':0x7d0+_0x12c843[_0x2f9f80(0x13a)]};}(_0x5b31f9,_0x155256)}),function(_0x49ea98){const _0x47b878=_0x5f02ea,_0xa4f0dd=_0x49ea98[_0x47b878(0x13f)],_0x1e0a26=new Map(),_0x3ef685=_0x49ea98[_0x47b878(0x18e)][_0x47b878(0x163)](_0x27c69c);_0xa4f0dd[_0x47b878(0x16b)]['on'](_0x47b878(0x15e),(_0x922422,_0x29f905,_0x172efd,_0x36a8a6)=>{const _0xc9e73f=_0x47b878;if(!_0x36a8a6&&_0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)]))return _0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)])[_0xc9e73f(0x144)](),void _0x1e0a26[_0xc9e73f(0x159)](_0x29f905[_0xc9e73f(0x139)]);const _0x20465a=_0x29f905[_0xc9e73f(0x139)][_0xc9e73f(0x15f)](':')[0x2];if(_0x20465a===_0x3ef685[_0xc9e73f(0x190)])return;const _0x5dc1c7=_0xc9e73f(0x19a)+_0x20465a;_0xa4f0dd[_0xc9e73f(0x16b)][_0xc9e73f(0x169)](_0x5dc1c7)&&_0x49ea98[_0xc9e73f(0x137)][_0xc9e73f(0x156)](_0x5dc1c7),_0x29f905['on'](_0xc9e73f(0x14d),(_0x3c9d4e,_0x20a60a,_0x133234)=>{const _0x5feb0e=_0xc9e73f;if(_0x5feb0e(0x12f)!=_0x20a60a[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&_0x5feb0e(0x12f)==_0x29f905[_0x5feb0e(0x158)]()[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&!_0x1e0a26[_0x5feb0e(0x169)](_0x29f905[_0x5feb0e(0x139)])){const _0x46aded=_0xa4f0dd[_0x5feb0e(0x1a5)][_0x5feb0e(0x1a8)](_0x133234[_0x5feb0e(0x15d)]);if(_0x46aded){const _0x4dfa3d=_0x2cdbb8[_0x5feb0e(0x136)](_0x46aded);_0x1e0a26[_0x5feb0e(0x164)](_0x29f905[_0x5feb0e(0x139)],_0x4dfa3d),_0x4dfa3d['on'](_0x5feb0e(0x14d),(_0x19f75a,_0x2cfc97,_0x81ca37)=>{const _0x53ee5a=_0x5feb0e;if(_0x53ee5a(0x12f)==_0x4dfa3d[_0x53ee5a(0x12d)][_0x53ee5a(0x133)]){const _0x551493=_0xa4f0dd[_0x53ee5a(0x1a5)][_0x53ee5a(0x1a8)](_0x81ca37[_0x53ee5a(0x15d)]);_0x551493?(_0x4dfa3d[_0x53ee5a(0x1a6)]=_0x551493[_0x53ee5a(0x1a6)],_0x4dfa3d[_0x53ee5a(0x191)]=_0x551493[_0x53ee5a(0x191)]):(_0x1e0a26[_0x53ee5a(0x159)](_0x29f905[_0x53ee5a(0x139)]),_0x4dfa3d[_0x53ee5a(0x144)]());}});}}});}),_0xa4f0dd[_0x47b878(0x157)]['on'](_0x47b878(0x18a),()=>{const _0x363898=_0x47b878;_0x1e0a26[_0x363898(0x18f)]>0x0&&_0xa4f0dd[_0x363898(0x15c)]({'isUndoable':!0x1},_0x27da9b=>{const _0xf2f1c3=_0x363898;for(const [_0x84a8c5,_0x14f0c0]of _0x1e0a26)_0xf2f1c3(0x12f)==_0xa4f0dd[_0xf2f1c3(0x16b)][_0xf2f1c3(0x163)](_0x84a8c5)[_0xf2f1c3(0x158)]()[_0xf2f1c3(0x12d)][_0xf2f1c3(0x133)]&&(Z(_0x84a8c5[_0xf2f1c3(0x15f)](':')[0x2],_0x14f0c0[_0xf2f1c3(0x19f)](),_0xa4f0dd,_0x27da9b),_0x14f0c0[_0xf2f1c3(0x144)]());_0x1e0a26[_0xf2f1c3(0x1a4)]();});});}(_0x41c12f),this[_0x5f02ea(0x1ae)][_0x5f02ea(0x135)](_0xea0329[_0x5f02ea(0x157)],_0x5f02ea(0x13c),(_0x44da52,{key:_0x58b69c})=>{const _0x1fedba=_0x5f02ea;_0x1fedba(0x195)===_0x58b69c&&function(_0x1484fd){const _0x256b94=_0x1fedba;_0x1484fd[_0x256b94(0x137)][_0x256b94(0x175)][_0x256b94(0x18a)](_0x57b137=>{const _0xbabf67=_0x256b94;for(const _0x3d659f of _0x1484fd[_0xbabf67(0x13f)][_0xbabf67(0x16b)]){if(!_0x3d659f[_0xbabf67(0x139)][_0xbabf67(0x149)](_0xbabf67(0x17b)))continue;const _0x1905b3=_0x1484fd[_0xbabf67(0x137)][_0xbabf67(0x176)][_0xbabf67(0x179)](_0x3d659f[_0xbabf67(0x139)]);if(_0x1905b3){for(const _0x29fe30 of _0x1905b3)_0x57b137[_0xbabf67(0x1ab)](_0xbabf67(0x181),_0x29fe30);}}});}(_0x41c12f);},{'useCapture':!0x0});}[_0x3ca79c(0x172)](){const _0x19b12d=_0x3ca79c,_0xfdca7a=this[_0x19b12d(0x18b)],_0x19230a=_0xfdca7a[_0x19b12d(0x145)][_0x19b12d(0x163)](_0x19b12d(0x16a));_0x19230a&&_0xfdca7a[_0x19b12d(0x13f)]['on'](_0x19b12d(0x186),(_0x56261e,_0x14d216)=>{const _0x41990c=_0x19b12d,_0x24fae2=_0x14d216[0x0];if(!_0x24fae2[_0x41990c(0x154)])return;if(_0x41990c(0x125)!=_0x24fae2[_0x41990c(0x18c)]||!_0x24fae2[_0x41990c(0x139)][_0x41990c(0x149)](_0x41990c(0x14e)))return;const _0x443c37=_0x24fae2[_0x41990c(0x189)];_0x19230a[_0x41990c(0x197)][_0x41990c(0x169)](_0x443c37)&&(_0x24fae2[_0x41990c(0x196)]=_0x24fae2[_0x41990c(0x132)]?_0xfdca7a[_0x41990c(0x13f)][_0x41990c(0x148)](_0x24fae2[_0x41990c(0x132)][_0x41990c(0x1a6)],_0x24fae2[_0x41990c(0x132)][_0x41990c(0x191)]):null);},{'priority':_0x19b12d(0x16c)});}[_0x3ca79c(0x138)](){const _0x27baf8=_0x3ca79c;return this[_0x27baf8(0x1ae)][_0x27baf8(0x184)](),super[_0x27baf8(0x138)]();}[_0x3ca79c(0x18d)](){const _0x9995b0=_0x3ca79c,_0x222be4=this[_0x9995b0(0x18b)],_0x5b39d0=_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x157)],_0x201d64=_0x222be4[_0x9995b0(0x18e)][_0x9995b0(0x163)](_0x27c69c);_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x15c)]({'isUndoable':!0x1},_0x257eb4=>{const _0x55c7c9=_0x9995b0,_0x13579d=_0x55c7c9(0x134)+_0x201d64[_0x55c7c9(0x190)],_0x594398=_0x55c7c9(0x19a)+_0x201d64[_0x55c7c9(0x190)],_0x510883=_0x222be4[_0x55c7c9(0x13f)][_0x55c7c9(0x16b)][_0x55c7c9(0x169)](_0x13579d);_0x222be4[_0x55c7c9(0x137)][_0x55c7c9(0x175)][_0x55c7c9(0x143)]?Z(_0x201d64[_0x55c7c9(0x190)],_0x5b39d0[_0x55c7c9(0x1af)][_0x55c7c9(0x188)](),_0x222be4[_0x55c7c9(0x13f)],_0x257eb4):_0x510883&&(_0x257eb4[_0x55c7c9(0x1b2)](_0x13579d),_0x257eb4[_0x55c7c9(0x1b2)](_0x594398));});}}function Z(_0x3d1933,_0x2b6969,_0x1ad735,_0x2e76ef){const _0x2b1b7d=_0x3ca79c,_0x3288af=_0x2b1b7d(0x134)+_0x3d1933,_0x143928=_0x2b1b7d(0x19a)+_0x3d1933,_0x3403f8=_0x2b6969[_0x2b1b7d(0x1a0)]();let _0x4546d8=_0x2b6969[_0x2b1b7d(0x1a6)];if(_0x3403f8&&_0x3403f8['is'](_0x2b1b7d(0x17a),_0x2b1b7d(0x131))){const _0x94ea64=function(_0xb4d7a0,_0x56701e){const _0x18011b=_0x2b1b7d;for(const _0x564e91 of _0xb4d7a0[_0x18011b(0x19d)]())if(_0x56701e[_0x18011b(0x1a5)][_0x18011b(0x194)](_0x564e91,_0x18011b(0x13d)))return _0x564e91;}(_0x2b6969,_0x1ad735);_0x94ea64&&(_0x4546d8=_0x94ea64,_0x2b6969=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8));}const _0x4a3106=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8);_0x1ad735[_0x2b1b7d(0x16b)][_0x2b1b7d(0x169)](_0x3288af)?(_0x2e76ef[_0x2b1b7d(0x160)](_0x3288af,{'range':_0x2b6969}),_0x2e76ef[_0x2b1b7d(0x160)](_0x143928,{'range':_0x4a3106})):(_0x2e76ef[_0x2b1b7d(0x12c)](_0x3288af,{'range':_0x2b6969,'usingOperation':!0x0}),_0x2e76ef[_0x2b1b7d(0x12c)](_0x143928,{'range':_0x4a3106,'usingOperation':!0x0}));}