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

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 _0x38764c=_0x58ed;(function(_0x342b63,_0x3aadd8){const _0x546dee=_0x58ed,_0x19f87f=_0x342b63();while(!![]){try{const _0x396fea=parseInt(_0x546dee(0x93))/0x1+-parseInt(_0x546dee(0x90))/0x2*(-parseInt(_0x546dee(0x88))/0x3)+parseInt(_0x546dee(0x94))/0x4*(parseInt(_0x546dee(0xad))/0x5)+-parseInt(_0x546dee(0x89))/0x6*(-parseInt(_0x546dee(0xa2))/0x7)+parseInt(_0x546dee(0x98))/0x8*(parseInt(_0x546dee(0xa4))/0x9)+parseInt(_0x546dee(0xa5))/0xa+-parseInt(_0x546dee(0xac))/0xb;if(_0x396fea===_0x3aadd8)break;else _0x19f87f['push'](_0x19f87f['shift']());}catch(_0x55b2b2){_0x19f87f['push'](_0x19f87f['shift']());}}}(_0x5e3f,0x8e3d6));import{View as _0xc22dd9}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x269f02}from'ckeditor5/src/utils.js';import{getTranslation as _0x44271f}from'../../common-translations.js';function _0x5e3f(){const _0x2c40df=['list','element','25066030TxfPzM','70Tymldr','setTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3Yqudmd','274938NxdRrM','ck-presence-list__list','presencelist:hide','listenTo','relatedTarget','keystrokes','items','490294sRWYXQ','set','isExpanded','763539sXEPud','104736aVEyzo','hasPopup','focus','fire','2837896iHqzvr','contains','div','createCollection','aria-expanded','.ck-balloon-panel_with-arrow','setAttribute','bindTemplate','querySelector','.ck-presence-list__dropdown-list','35zaHkbX','removeAttribute','9uyOhsZ','9022300AyXrFy','presencelist:show','Connected\x20users\x20list','render','change:hasPopup'];_0x5e3f=function(){return _0x2c40df;};return _0x5e3f();}function _0x58ed(_0x34135c,_0x19d720){const _0x5e3fa0=_0x5e3f();return _0x58ed=function(_0x58ed94,_0x467522){_0x58ed94=_0x58ed94-0x86;let _0xf816f7=_0x5e3fa0[_0x58ed94];return _0xf816f7;},_0x58ed(_0x34135c,_0x19d720);}export default class ts extends _0xc22dd9{[_0x38764c(0x8f)];[_0x38764c(0x8e)];constructor(_0x3cd352){const _0xa1403d=_0x38764c;super(_0x3cd352);const _0x1a910d=this[_0xa1403d(0x9f)];this[_0xa1403d(0x8f)]=this[_0xa1403d(0x9b)](),this[_0xa1403d(0x8e)]=new _0x269f02(),this[_0xa1403d(0x91)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xa1403d(0x86)]({'tag':_0xa1403d(0x9a),'attributes':{'aria-haspopup':_0x1a910d['if'](_0xa1403d(0x95)),'aria-expanded':_0x1a910d['to'](_0xa1403d(0x92),_0x16c1e0=>this[_0xa1403d(0x95)]&&String(_0x16c1e0)),'aria-label':_0x1a910d['to'](_0xa1403d(0x95),_0x50f5df=>_0x44271f(_0x3cd352,_0x50f5df?_0xa1403d(0x87):_0xa1403d(0xa7))),'role':_0xa1403d(0xaa),'tabindex':_0x1a910d['to'](_0xa1403d(0x95),_0x45fe23=>!!_0x45fe23&&0x0),'class':['ck',_0xa1403d(0x8a)]},'children':this[_0xa1403d(0x8f)],'on':{'mouseenter':_0x1a910d['to'](()=>this[_0xa1403d(0x97)](_0xa1403d(0xa6))),'mouseleave':_0x1a910d['to'](_0xa64206=>{const _0x311eb9=_0xa1403d,_0xef3d67=_0xa64206,_0x36e051=document[_0x311eb9(0xa0)](_0x311eb9(0xa1)),_0x9a7d64=document[_0x311eb9(0xa0)](_0x311eb9(0x9d));_0x36e051?.[_0x311eb9(0x99)](_0xef3d67[_0x311eb9(0x8d)])||_0x9a7d64?.[_0x311eb9(0x99)](_0xef3d67[_0x311eb9(0x8d)])||this[_0x311eb9(0x97)](_0x311eb9(0x8b));})}}),this['on'](_0xa1403d(0xa9),(_0x2c3718,_0x4d7eff,_0x2e44d5)=>{const _0x24ca58=_0xa1403d;this[_0x24ca58(0xab)]&&(_0x2e44d5?this[_0x24ca58(0xab)][_0x24ca58(0x9e)](_0x24ca58(0x9c),String(this[_0x24ca58(0x92)])):this[_0x24ca58(0xab)][_0x24ca58(0xa3)](_0x24ca58(0x9c)));});}[_0x38764c(0x96)](){const _0x27c5a0=_0x38764c;this[_0x27c5a0(0xab)][_0x27c5a0(0x96)]();}[_0x38764c(0xa8)](){const _0xcfd34=_0x38764c;super[_0xcfd34(0xa8)](),this[_0xcfd34(0x8e)][_0xcfd34(0x8c)](this[_0xcfd34(0xab)]);}}
23
+ function _0x52e1(){const _0x3fc196=['createCollection','.ck-presence-list__dropdown-list','contains','focus','9jbEtAO','280537dHdVZC','listenTo','1096672YxFsyD','element','607146QzpJTb','2016460xKbGGd','presencelist:hide','items','removeAttribute','fire','div','4RLUpsA','querySelector','ck-presence-list__list','isExpanded','render','change:hasPopup','Connected\x20users\x20list','presencelist:show','2109613RefBeU','list','30946vTnUSX','keystrokes','setTemplate','aria-expanded','21VSXGiM','bindTemplate','641020lAKSpP','set','14LqBsoA','setAttribute','.ck-balloon-panel_with-arrow','hasPopup','relatedTarget','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)'];_0x52e1=function(){return _0x3fc196;};return _0x52e1();}const _0x144071=_0x14d7;(function(_0x1dfc1e,_0x2f7fe9){const _0xb2b18f=_0x14d7,_0x50c3a0=_0x1dfc1e();while(!![]){try{const _0x676ba4=-parseInt(_0xb2b18f(0xd0))/0x1+parseInt(_0xb2b18f(0xe5))/0x2*(parseInt(_0xb2b18f(0xe9))/0x3)+parseInt(_0xb2b18f(0xdb))/0x4*(-parseInt(_0xb2b18f(0xeb))/0x5)+-parseInt(_0xb2b18f(0xd4))/0x6*(-parseInt(_0xb2b18f(0xed))/0x7)+parseInt(_0xb2b18f(0xd2))/0x8*(-parseInt(_0xb2b18f(0xcf))/0x9)+parseInt(_0xb2b18f(0xd5))/0xa+parseInt(_0xb2b18f(0xe3))/0xb;if(_0x676ba4===_0x2f7fe9)break;else _0x50c3a0['push'](_0x50c3a0['shift']());}catch(_0x4af621){_0x50c3a0['push'](_0x50c3a0['shift']());}}}(_0x52e1,0x26a59));import{View as _0x376071}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3fa10a}from'ckeditor5/src/utils.js';import{getTranslation as _0x24c1ef}from'../../common-translations.js';function _0x14d7(_0x10f8c,_0x59c36b){const _0x52e122=_0x52e1();return _0x14d7=function(_0x14d7f0,_0x35d89d){_0x14d7f0=_0x14d7f0-0xc6;let _0x4f0044=_0x52e122[_0x14d7f0];return _0x4f0044;},_0x14d7(_0x10f8c,_0x59c36b);}export default class ts extends _0x376071{[_0x144071(0xd7)];[_0x144071(0xe6)];constructor(_0x305a0d){const _0x2bb1db=_0x144071;super(_0x305a0d);const _0x6672b4=this[_0x2bb1db(0xea)];this[_0x2bb1db(0xd7)]=this[_0x2bb1db(0xcb)](),this[_0x2bb1db(0xe6)]=new _0x3fa10a(),this[_0x2bb1db(0xec)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2bb1db(0xe7)]({'tag':_0x2bb1db(0xda),'attributes':{'aria-haspopup':_0x6672b4['if'](_0x2bb1db(0xc8)),'aria-expanded':_0x6672b4['to'](_0x2bb1db(0xde),_0x4e40dc=>this[_0x2bb1db(0xc8)]&&String(_0x4e40dc)),'aria-label':_0x6672b4['to'](_0x2bb1db(0xc8),_0x32ab03=>_0x24c1ef(_0x305a0d,_0x32ab03?_0x2bb1db(0xca):_0x2bb1db(0xe1))),'role':_0x2bb1db(0xe4),'tabindex':_0x6672b4['to'](_0x2bb1db(0xc8),_0x4ade71=>!!_0x4ade71&&0x0),'class':['ck',_0x2bb1db(0xdd)]},'children':this[_0x2bb1db(0xd7)],'on':{'mouseenter':_0x6672b4['to'](()=>this[_0x2bb1db(0xd9)](_0x2bb1db(0xe2))),'mouseleave':_0x6672b4['to'](_0x450788=>{const _0x2f13b7=_0x2bb1db,_0x3cc7de=_0x450788,_0x358c60=document[_0x2f13b7(0xdc)](_0x2f13b7(0xcc)),_0x128a95=document[_0x2f13b7(0xdc)](_0x2f13b7(0xc7));_0x358c60?.[_0x2f13b7(0xcd)](_0x3cc7de[_0x2f13b7(0xc9)])||_0x128a95?.[_0x2f13b7(0xcd)](_0x3cc7de[_0x2f13b7(0xc9)])||this[_0x2f13b7(0xd9)](_0x2f13b7(0xd6));})}}),this['on'](_0x2bb1db(0xe0),(_0x5e79fe,_0x4a903a,_0x3f0e48)=>{const _0x42cb3b=_0x2bb1db;this[_0x42cb3b(0xd3)]&&(_0x3f0e48?this[_0x42cb3b(0xd3)][_0x42cb3b(0xc6)](_0x42cb3b(0xe8),String(this[_0x42cb3b(0xde)])):this[_0x42cb3b(0xd3)][_0x42cb3b(0xd8)](_0x42cb3b(0xe8)));});}[_0x144071(0xce)](){const _0x2feb37=_0x144071;this[_0x2feb37(0xd3)][_0x2feb37(0xce)]();}[_0x144071(0xdf)](){const _0x4fd352=_0x144071;super[_0x4fd352(0xdf)](),this[_0x4fd352(0xe6)][_0x4fd352(0xd1)](this[_0x4fd352(0xd3)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d2c8a=_0x35ed;(function(_0x4a8664,_0x492a7c){const _0x3e7363=_0x35ed,_0x451000=_0x4a8664();while(!![]){try{const _0x26dd84=parseInt(_0x3e7363(0x199))/0x1+parseInt(_0x3e7363(0x1a2))/0x2*(-parseInt(_0x3e7363(0x192))/0x3)+parseInt(_0x3e7363(0x1a9))/0x4*(-parseInt(_0x3e7363(0x18f))/0x5)+parseInt(_0x3e7363(0x190))/0x6+-parseInt(_0x3e7363(0x1a4))/0x7+-parseInt(_0x3e7363(0x1a3))/0x8+parseInt(_0x3e7363(0x193))/0x9;if(_0x26dd84===_0x492a7c)break;else _0x451000['push'](_0x451000['shift']());}catch(_0x22cc58){_0x451000['push'](_0x451000['shift']());}}}(_0x5075,0x9b0ca));import{View as _0x2226e7}from'ckeditor5/src/ui.js';import _0x4b5545 from'./presencecounterview.js';import _0x9cf8de from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x35ed(_0x1ffa0b,_0x21a396){const _0x5075f2=_0x5075();return _0x35ed=function(_0x35ed3b,_0x23a8c9){_0x35ed3b=_0x35ed3b-0x18f;let _0x27c7ea=_0x5075f2[_0x35ed3b];return _0x27c7ea;},_0x35ed(_0x1ffa0b,_0x21a396);}export default class j extends _0x2226e7{[_0x3d2c8a(0x196)];[_0x3d2c8a(0x19d)];constructor(_0x5b2e84,_0x5d507a=0x6){const _0x2695c1=_0x3d2c8a;super(_0x5b2e84);const _0x4288d6=this[_0x2695c1(0x1a7)];this[_0x2695c1(0x19a)](_0x2695c1(0x19b),!0x0),this[_0x2695c1(0x196)]=new _0x4b5545(this[_0x2695c1(0x1aa)],_0x5d507a),this[_0x2695c1(0x19d)]=new _0x9cf8de(_0x5b2e84),this[_0x2695c1(0x19d)][_0x2695c1(0x195)](_0x2695c1(0x1a1))['to'](this,_0x2695c1(0x19b)),this[_0x2695c1(0x19e)](this[_0x2695c1(0x19d)][_0x2695c1(0x198)],_0x2695c1(0x1a5),()=>{const _0x3f3304=_0x2695c1;for(const _0x314542 of this[_0x3f3304(0x19d)][_0x3f3304(0x198)])_0x314542[_0x3f3304(0x191)]='s';this[_0x3f3304(0x19d)][_0x3f3304(0x198)][_0x3f3304(0x1a8)]&&(this[_0x3f3304(0x19d)][_0x3f3304(0x198)][_0x3f3304(0x1a8)][_0x3f3304(0x191)]='se');}),this[_0x2695c1(0x19c)]({'tag':_0x2695c1(0x19f),'attributes':{'class':['ck',_0x2695c1(0x1a6),_0x2695c1(0x194),_0x2695c1(0x1a0),_0x4288d6['if'](_0x2695c1(0x19b),_0x2695c1(0x197))]},'children':[this[_0x2695c1(0x19d)]]});}}function _0x5075(){const _0x3fad20=['1926462dkmQOT','tooltipPosition','3aOkEYc','19779165XSQSCW','ck-reset','bind','counterView','ck-presence-list--collapsed','items','874086Ghsehw','set','isCollapsed','setTemplate','inlineListView','listenTo','div','ck-rounded-corners','hasPopup','2002046xOcCVp','8193024YzpIGr','4857566aDUvVA','change','ck-presence-list','bindTemplate','first','154708tdCwza','locale','5JhRnCH'];_0x5075=function(){return _0x3fad20;};return _0x5075();}
23
+ const _0x428d37=_0x2a9b;function _0x2a9b(_0x5f090f,_0x4e9c16){const _0x18394a=_0x1839();return _0x2a9b=function(_0x2a9b6d,_0x5033f3){_0x2a9b6d=_0x2a9b6d-0x79;let _0x3cc3c0=_0x18394a[_0x2a9b6d];return _0x3cc3c0;},_0x2a9b(_0x5f090f,_0x4e9c16);}(function(_0x5a9e7b,_0x42b8ac){const _0xc22a6=_0x2a9b,_0x4ac2ea=_0x5a9e7b();while(!![]){try{const _0x21b17f=parseInt(_0xc22a6(0x91))/0x1+parseInt(_0xc22a6(0x8c))/0x2*(parseInt(_0xc22a6(0x96))/0x3)+parseInt(_0xc22a6(0x8d))/0x4*(parseInt(_0xc22a6(0x8b))/0x5)+parseInt(_0xc22a6(0x88))/0x6*(-parseInt(_0xc22a6(0x8e))/0x7)+parseInt(_0xc22a6(0x81))/0x8+parseInt(_0xc22a6(0x8a))/0x9*(-parseInt(_0xc22a6(0x79))/0xa)+-parseInt(_0xc22a6(0x89))/0xb;if(_0x21b17f===_0x42b8ac)break;else _0x4ac2ea['push'](_0x4ac2ea['shift']());}catch(_0x599a43){_0x4ac2ea['push'](_0x4ac2ea['shift']());}}}(_0x1839,0xead4b));function _0x1839(){const _0x3e1127=['ck-rounded-corners','ck-presence-list--collapsed','first','ck-presence-list','bindTemplate','5418114upSKAc','9406584sKgCFP','1251nsjJoI','322130LMGMeq','14ybWBYZ','4sOFKDQ','7TiFnSN','tooltipPosition','div','71407PwBcZC','locale','bind','change','set','699381oLmvZQ','69430DnsNzh','counterView','ck-reset','setTemplate','isCollapsed','items','inlineListView','hasPopup','15339080fNCyvS','listenTo'];_0x1839=function(){return _0x3e1127;};return _0x1839();}import{View as _0x294906}from'ckeditor5/src/ui.js';import _0x4d7667 from'./presencecounterview.js';import _0x1de865 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x294906{[_0x428d37(0x7a)];[_0x428d37(0x7f)];constructor(_0xd529b5,_0xa200f1=0x6){const _0x43cf24=_0x428d37;super(_0xd529b5);const _0x19b985=this[_0x43cf24(0x87)];this[_0x43cf24(0x95)](_0x43cf24(0x7d),!0x0),this[_0x43cf24(0x7a)]=new _0x4d7667(this[_0x43cf24(0x92)],_0xa200f1),this[_0x43cf24(0x7f)]=new _0x1de865(_0xd529b5),this[_0x43cf24(0x7f)][_0x43cf24(0x93)](_0x43cf24(0x80))['to'](this,_0x43cf24(0x7d)),this[_0x43cf24(0x82)](this[_0x43cf24(0x7f)][_0x43cf24(0x7e)],_0x43cf24(0x94),()=>{const _0x5850ae=_0x43cf24;for(const _0x1d5016 of this[_0x5850ae(0x7f)][_0x5850ae(0x7e)])_0x1d5016[_0x5850ae(0x8f)]='s';this[_0x5850ae(0x7f)][_0x5850ae(0x7e)][_0x5850ae(0x85)]&&(this[_0x5850ae(0x7f)][_0x5850ae(0x7e)][_0x5850ae(0x85)][_0x5850ae(0x8f)]='se');}),this[_0x43cf24(0x7c)]({'tag':_0x43cf24(0x90),'attributes':{'class':['ck',_0x43cf24(0x86),_0x43cf24(0x7b),_0x43cf24(0x83),_0x19b985['if'](_0x43cf24(0x7d),_0x43cf24(0x84))]},'children':[this[_0x43cf24(0x7f)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4bd7a5=_0x4d77;(function(_0x389cef,_0x501756){var _0x2cd927=_0x4d77,_0x56e493=_0x389cef();while(!![]){try{var _0x1ed229=-parseInt(_0x2cd927(0x19e))/0x1*(-parseInt(_0x2cd927(0x197))/0x2)+-parseInt(_0x2cd927(0x199))/0x3+parseInt(_0x2cd927(0x1a3))/0x4+parseInt(_0x2cd927(0x195))/0x5+-parseInt(_0x2cd927(0x19a))/0x6*(-parseInt(_0x2cd927(0x19f))/0x7)+-parseInt(_0x2cd927(0x19c))/0x8+parseInt(_0x2cd927(0x1a1))/0x9*(-parseInt(_0x2cd927(0x196))/0xa);if(_0x1ed229===_0x501756)break;else _0x56e493['push'](_0x56e493['shift']());}catch(_0x2efff7){_0x56e493['push'](_0x56e493['shift']());}}}(_0x5394,0xa0e4b));function _0x4d77(_0x17e190,_0x38dda2){var _0x539433=_0x5394();return _0x4d77=function(_0x4d772f,_0x349c77){_0x4d772f=_0x4d772f-0x195;var _0x58f233=_0x539433[_0x4d772f];return _0x58f233;},_0x4d77(_0x17e190,_0x38dda2);}function _0x5394(){var _0x5ba717=['PresenceList','795679zMveJy','7apZnPp','pluginName','33876VgMKqt','isOfficialPlugin','3185172FSFHxp','1726990lapGZK','1420ikxcKN','2AccHYF','requires','585609tVNtvT','3279978nxPHnk','isPremiumPlugin','8762584tjEedb'];_0x5394=function(){return _0x5ba717;};return _0x5394();}import{ContextPlugin as _0x54a2dc}from'ckeditor5/src/core.js';import _0x308859 from'./realtimecollaborativeediting/sessions.js';import _0x184940 from'./presencelist/presencelistui.js';export default class s extends _0x54a2dc{static get[_0x4bd7a5(0x198)](){return[_0x308859,_0x184940];}static get[_0x4bd7a5(0x1a0)](){var _0x5c044f=_0x4bd7a5;return _0x5c044f(0x19d);}static get[_0x4bd7a5(0x1a2)](){return!0x0;}static get[_0x4bd7a5(0x19b)](){return!0x0;}}
23
+ var _0xd4f6b=_0x1884;(function(_0x1a72f7,_0x4a9d9c){var _0x4aef79=_0x1884,_0x45fdda=_0x1a72f7();while(!![]){try{var _0x5372e1=parseInt(_0x4aef79(0x11b))/0x1*(-parseInt(_0x4aef79(0x11c))/0x2)+parseInt(_0x4aef79(0x123))/0x3+-parseInt(_0x4aef79(0x124))/0x4+parseInt(_0x4aef79(0x122))/0x5*(parseInt(_0x4aef79(0x11e))/0x6)+parseInt(_0x4aef79(0x121))/0x7+-parseInt(_0x4aef79(0x11f))/0x8*(-parseInt(_0x4aef79(0x127))/0x9)+-parseInt(_0x4aef79(0x128))/0xa*(-parseInt(_0x4aef79(0x120))/0xb);if(_0x5372e1===_0x4a9d9c)break;else _0x45fdda['push'](_0x45fdda['shift']());}catch(_0x31cc79){_0x45fdda['push'](_0x45fdda['shift']());}}}(_0x2073,0xe156e));import{ContextPlugin as _0x283ede}from'ckeditor5/src/core.js';function _0x1884(_0x1657ca,_0x4cd3e0){var _0x20736b=_0x2073();return _0x1884=function(_0x1884bd,_0x19a19b){_0x1884bd=_0x1884bd-0x11a;var _0x3a450d=_0x20736b[_0x1884bd];return _0x3a450d;},_0x1884(_0x1657ca,_0x4cd3e0);}import _0x927a21 from'./realtimecollaborativeediting/sessions.js';import _0x405dbd from'./presencelist/presencelistui.js';function _0x2073(){var _0x167b78=['15oSOENk','834969sARULY','5445596SrMeFZ','pluginName','isOfficialPlugin','6885189tUBfNt','170JXmuju','PresenceList','isPremiumPlugin','41Pbrxti','50538vpIMdZ','requires','727602AFVnoP','8vGSqPs','664631MqwjdM','6202812ZHpfUI'];_0x2073=function(){return _0x167b78;};return _0x2073();}export default class s extends _0x283ede{static get[_0xd4f6b(0x11d)](){return[_0x927a21,_0x405dbd];}static get[_0xd4f6b(0x125)](){var _0x7c2163=_0xd4f6b;return _0x7c2163(0x129);}static get[_0xd4f6b(0x126)](){return!0x0;}static get[_0xd4f6b(0x11a)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a67fa=_0x1f4b;(function(_0x35f137,_0x3c3fc9){const _0xa41689=_0x1f4b,_0x30b9d0=_0x35f137();while(!![]){try{const _0x1f5b17=-parseInt(_0xa41689(0x180))/0x1*(parseInt(_0xa41689(0x162))/0x2)+parseInt(_0xa41689(0x186))/0x3+parseInt(_0xa41689(0x178))/0x4*(-parseInt(_0xa41689(0x1a5))/0x5)+-parseInt(_0xa41689(0x1c7))/0x6*(parseInt(_0xa41689(0x191))/0x7)+-parseInt(_0xa41689(0x187))/0x8+parseInt(_0xa41689(0x1b6))/0x9*(parseInt(_0xa41689(0x18b))/0xa)+-parseInt(_0xa41689(0x17b))/0xb*(-parseInt(_0xa41689(0x163))/0xc);if(_0x1f5b17===_0x3c3fc9)break;else _0x30b9d0['push'](_0x30b9d0['shift']());}catch(_0x358126){_0x30b9d0['push'](_0x30b9d0['shift']());}}}(_0x2338,0x5a6f5));import{Context as _0xec5368,ContextPlugin as _0x226fff}from'ckeditor5/src/core.js';import{CKEditorError as _0x5f5a7a}from'ckeditor5/src/utils.js';import{Users as _0x2810e9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x531f85,User as _0x1473a3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1f468a from'../realtimecollaborativeediting/websocketgateway.js';function _0x2338(){const _0x297f41=['authorId','isPremiumPlugin','commentThreadResolved','cloud-services-internal-error:\x20Not\x20connected.','message','getCommentThreads','pluginName','from','addCommentThread','commentThreadRemoved','context','update','_services','45bMMVWG','off','CloudServicesCommentsAdapter','permissions','size','404','content','Permissions','cloudservicescommentsadapter-disconnect-not-exist','disconnect','_terminateService','assign','getConnectedSessions','keys','isOfficialPlugin','removeCommentThread','_setUpService','996nkPIAw','get','getMany','699506qYiWia','12899244VTwvFo','resolveCommentThread','removeComment','commentThreadId','listenTo','comments','updateCommentThread','reconnect','adapter','commentThreadAdded','CommentsRepository','addUser','reopenCommentThread','collaboration.channelId','addToReconnectionStack','_getService','connect','getCommentThread','commentThreadUpdated','config','delete','4PdhMat','requires','commentRemoved','11TNyazI','resolve','unregister','plugins','updateComment','2ubKqKS','startsWith','cloud-services-internal-error:\x20Request\x20timeout.','_fetchMissingUsersForThreads','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1154841rFOSVJ','3340912Jhwizq','commentAdded','add','addComment','810970poRLPU','mySessionId','deletedAt','commentThreadReopened','createdAt','destroy','10087TsdsZP','has','set','attributes','CommentsService','register','code','init','remove','reopen','cloudservicescommentsadapter-service-not-exist','map','resolvedBy','getComment','commentUpdated','_connectService','userId','commentId','getUser','cloudservicescommentsadapter-connect-already-connected','693110bNAFQE','sessionAdd:','resolvedAt','setPermissions'];_0x2338=function(){return _0x297f41;};return _0x2338();}function _0x1f4b(_0x51fb01,_0x3af04b){const _0x2338cc=_0x2338();return _0x1f4b=function(_0x1f4b16,_0x5e8eeb){_0x1f4b16=_0x1f4b16-0x162;let _0x5b5ded=_0x2338cc[_0x1f4b16];return _0x5b5ded;},_0x1f4b(_0x51fb01,_0x3af04b);}import _0x520cb2 from'../realtimecollaborativeediting/sessions.js';class a extends _0x226fff{static [_0x4a67fa(0x195)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x531f85)());[_0x4a67fa(0x1b5)];static get[_0x4a67fa(0x179)](){const _0x581a16=_0x4a67fa;return[_0x1f468a,_0x581a16(0x16d),_0x520cb2,_0x2810e9];}static get[_0x4a67fa(0x1af)](){const _0x2bda28=_0x4a67fa;return _0x2bda28(0x1b8);}static get[_0x4a67fa(0x1c4)](){return!0x0;}static get[_0x4a67fa(0x1aa)](){return!0x0;}constructor(_0x545eff){const _0x276f8b=_0x4a67fa;super(_0x545eff),this[_0x276f8b(0x1b5)]=new Map();}async[_0x4a67fa(0x198)](){const _0x5bbc36=_0x4a67fa,_0x4bac4a=this[_0x5bbc36(0x1b3)],_0x359d7e=_0x4bac4a[_0x5bbc36(0x17e)][_0x5bbc36(0x1c8)](_0x5bbc36(0x16d));if(_0x4bac4a[_0x5bbc36(0x17e)][_0x5bbc36(0x1c8)](_0x1f468a)[_0x5bbc36(0x171)](this),_0x359d7e[_0x5bbc36(0x16b)]={'addCommentThread':async({channelId:_0x272831,threadId:_0x1904fa,comments:_0x11e4ce,resolvedAt:_0xe8ae13,resolvedBy:_0x39a173,context:_0x24e487,attributes:_0xb6c9c7})=>{const _0x33ba78=_0x5bbc36,_0x17aef4=await this[_0x33ba78(0x172)](_0x272831)[_0x33ba78(0x1b1)]({'commentThreadId':_0x1904fa,'comments':_0x11e4ce[_0x33ba78(0x19c)](_0xceddc=>function(_0x506049,_0xedae68,_0x1e8766){const _0x2e56cc=_0x33ba78;return{'commentThreadId':_0x1e8766,'commentId':_0x506049[_0x2e56cc(0x1a2)],'userId':_0x506049[_0x2e56cc(0x1a9)],'content':_0x506049[_0x2e56cc(0x1bc)],'documentId':_0xedae68,'createdAt':_0x506049[_0x2e56cc(0x18f)],'attributes':_0x506049[_0x2e56cc(0x194)]||{}};}(_0xceddc,_0x272831,_0x1904fa)),'resolvedAt':_0xe8ae13,'resolvedBy':_0x39a173,'context':_0x24e487,'attributes':_0xb6c9c7})[_0x33ba78(0x184)](R);return{'threadId':_0x17aef4[_0x33ba78(0x166)],'comments':_0x17aef4[_0x33ba78(0x168)]};},'getCommentThread':async({channelId:_0x160a3c,threadId:_0x408f62})=>{const _0x21affa=_0x5bbc36,_0x90ac63=await this[_0x21affa(0x172)](_0x160a3c)[_0x21affa(0x174)](_0x408f62)[_0x21affa(0x184)](R);return _0x90ac63[_0x21affa(0x18d)]?null:(await this[_0x21affa(0x183)]([_0x90ac63]),{'threadId':_0x90ac63[_0x21affa(0x166)],'comments':_0x90ac63[_0x21affa(0x168)][_0x21affa(0x19c)](_),'context':_0x90ac63[_0x21affa(0x1b3)],'resolvedAt':_0x90ac63[_0x21affa(0x1a7)],'resolvedBy':_0x90ac63[_0x21affa(0x19d)],'attributes':_0x90ac63[_0x21affa(0x194)]||{}});},'updateCommentThread':async({channelId:_0x38760e,threadId:_0x20b32f,context:_0xc1994f,unlinkedAt:_0x18c5e6,attributes:_0x4cc115})=>this[_0x5bbc36(0x172)](_0x38760e)[_0x5bbc36(0x169)]({'commentThreadId':_0x20b32f,'context':_0xc1994f,'attributes':_0x4cc115,'unlinkedAt':_0x18c5e6})[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'resolveCommentThread':async({channelId:_0x570b8f,threadId:_0x34cb18})=>{const _0x3b692f=_0x5bbc36,_0x5c440f=await this[_0x3b692f(0x172)](_0x570b8f)[_0x3b692f(0x164)](_0x34cb18)[_0x3b692f(0x184)](S)[_0x3b692f(0x184)](R);return{'threadId':_0x5c440f[_0x3b692f(0x166)],'resolvedAt':_0x5c440f[_0x3b692f(0x1a7)],'resolvedBy':_0x5c440f[_0x3b692f(0x19d)]};},'reopenCommentThread':async({channelId:_0x37df95,threadId:_0x56fa24})=>this[_0x5bbc36(0x172)](_0x37df95)[_0x5bbc36(0x16f)](_0x56fa24)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'removeCommentThread':({channelId:_0x330e11,threadId:_0x469c35})=>this[_0x5bbc36(0x172)](_0x330e11)[_0x5bbc36(0x1c5)](_0x469c35)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'addComment':({channelId:_0x96caf5,threadId:_0x920438,commentId:_0x5c68c1,content:_0x52c8da,attributes:_0x36a9ee})=>this[_0x5bbc36(0x172)](_0x96caf5)[_0x5bbc36(0x18a)](_0x920438,_0x5c68c1,_0x52c8da,_0x36a9ee)[_0x5bbc36(0x184)](R),'updateComment':({channelId:_0x530263,threadId:_0x580808,commentId:_0xdd71a8,content:_0x3899b5,attributes:_0x17ad43})=>this[_0x5bbc36(0x172)](_0x530263)[_0x5bbc36(0x17f)](_0x580808,_0xdd71a8,_0x3899b5,_0x17ad43)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R),'removeComment':({channelId:_0x4036eb,threadId:_0x48cce9,commentId:_0x57db6e})=>this[_0x5bbc36(0x172)](_0x4036eb)[_0x5bbc36(0x165)](_0x48cce9,_0x57db6e)[_0x5bbc36(0x184)](S)[_0x5bbc36(0x184)](R)},_0x4bac4a instanceof _0xec5368){const _0x5761ae=_0x4bac4a[_0x5bbc36(0x176)][_0x5bbc36(0x1c8)](_0x5bbc36(0x170)),_0x2973ee=_0x4bac4a[_0x5bbc36(0x17e)][_0x5bbc36(0x1c8)](_0x520cb2);await this[_0x5bbc36(0x1c6)](_0x5761ae);const _0x4c5966=await this[_0x5bbc36(0x1b5)][_0x5bbc36(0x1c8)](_0x5761ae)[_0x5bbc36(0x1c2)]();this[_0x5bbc36(0x167)](_0x2973ee,_0x5bbc36(0x1a6)+_0x5761ae,(_0x54df2e,{session:_0x5e6379})=>{const _0x40d3f1=_0x5bbc36;_0x5e6379['id']===_0x2973ee[_0x40d3f1(0x18c)]&&(_0x54df2e[_0x40d3f1(0x1b7)](),this[_0x40d3f1(0x1b3)][_0x40d3f1(0x17e)][_0x40d3f1(0x1c8)](_0x40d3f1(0x1bd))[_0x40d3f1(0x1a8)](_0x5e6379[_0x40d3f1(0x1b9)],_0x5761ae));}),_0x2973ee[_0x5bbc36(0x196)](_0x5761ae,_0x4c5966);}}async[_0x4a67fa(0x1c6)](_0x21e876){const _0x3a237d=_0x4a67fa;if(this[_0x3a237d(0x1b5)][_0x3a237d(0x192)](_0x21e876))throw new _0x5f5a7a(_0x3a237d(0x1a4),null,{'channelId':_0x21e876});const _0x2985b1=this[_0x3a237d(0x1b3)][_0x3a237d(0x17e)][_0x3a237d(0x1c8)](_0x3a237d(0x16d)),_0x2a2110=new a[(_0x3a237d(0x195))](_0x21e876);this[_0x3a237d(0x1b5)][_0x3a237d(0x193)](_0x21e876,_0x2a2110),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x16c),(_0x21ec84,_0x1622b6)=>{const _0x449d2a=_0x3a237d,{commentThreadId:_0x543862,documentId:_0xa85d7e,context:_0x56a4ce,attributes:_0x2d2a1b,resolvedAt:_0x30e8bf,resolvedBy:_0x348d31,comments:_0x5b3091}=_0x1622b6;_0x2985b1[_0x449d2a(0x174)](_0x543862)||_0x2985b1[_0x449d2a(0x1b1)]({'threadId':_0x543862,'channelId':_0xa85d7e,'comments':_0x5b3091?_0x5b3091[_0x449d2a(0x19c)](_):[],'context':_0x56a4ce,'attributes':_0x2d2a1b,'resolvedAt':_0x30e8bf,'resolvedBy':_0x348d31,'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x175),(_0x526e2a,{commentThreadId:_0x503a58,documentId:_0x400f6b,context:_0x263d97,unlinkedAt:_0x184156,attributes:_0x36c27a})=>{const _0x30cba8=_0x3a237d;_0x2985b1[_0x30cba8(0x174)](_0x503a58)&&_0x2985b1[_0x30cba8(0x169)]({'threadId':_0x503a58,'channelId':_0x400f6b,'context':_0x263d97,'unlinkedAt':_0x184156,'attributes':_0x36c27a,'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x1ab),(_0x3b8812,{commentThreadId:_0x489cbd,resolvedBy:_0x5b4c77,resolvedAt:_0x114b69})=>{const _0xf36031=_0x3a237d,_0x400d11=_0x2985b1[_0xf36031(0x174)](_0x489cbd);_0x400d11&&_0x400d11[_0xf36031(0x17c)]({'resolvedBy':_0x5b4c77,'resolvedAt':_0x114b69,'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x18e),(_0x85dbaa,{commentThreadId:_0x3955ff})=>{const _0x3fbe3e=_0x3a237d,_0x958681=_0x2985b1[_0x3fbe3e(0x174)](_0x3955ff);_0x958681&&_0x958681[_0x3fbe3e(0x19a)]({'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x1b2),(_0xc285cc,{commentThreadId:_0x36eba6})=>{const _0x56d958=_0x3a237d,_0x55de30=_0x2985b1[_0x56d958(0x174)](_0x36eba6);_0x55de30&&_0x55de30[_0x56d958(0x199)]({'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x188),(_0x61677d,_0x15c719)=>{const _0x4c0a74=_0x3a237d,_0x14c92a=_0x15c719[_0x4c0a74(0x166)],_0x4a835b=_0x2985b1[_0x4c0a74(0x174)](_0x14c92a);_0x4a835b&&_0x4a835b[_0x4c0a74(0x18a)]({..._(_0x15c719),'isFromAdapter':!0x0});}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x19f),(_0x46c261,{commentThreadId:_0x35339a,commentId:_0x237e0c,content:_0x220cff,attributes:_0x4be134})=>{const _0x5827d3=_0x3a237d,_0x58f39a=_0x2985b1[_0x5827d3(0x174)](_0x35339a);if(_0x58f39a){const _0x5f15e8=_0x58f39a[_0x5827d3(0x19e)](_0x237e0c);_0x5f15e8&&_0x5f15e8[_0x5827d3(0x1b4)]({'content':_0x220cff,'attributes':_0x4be134,'isFromAdapter':!0x0});}}),this[_0x3a237d(0x167)](_0x2a2110,_0x3a237d(0x17a),(_0x19c9b4,{commentThreadId:_0x36cc22,commentId:_0x4640c0})=>{const _0x5b0907=_0x3a237d,_0x2b0aa0=_0x2985b1[_0x5b0907(0x174)](_0x36cc22);if(_0x2b0aa0){const _0x22b20b=_0x2b0aa0[_0x5b0907(0x19e)](_0x4640c0);_0x22b20b&&_0x22b20b[_0x5b0907(0x199)]({'isFromAdapter':!0x0});}}),await this[_0x3a237d(0x1a0)](_0x21e876);}[_0x4a67fa(0x190)](){const _0x2db6b0=_0x4a67fa;if(this[_0x2db6b0(0x1b3)]instanceof _0xec5368){const _0x34ffc3=this[_0x2db6b0(0x1b3)][_0x2db6b0(0x176)][_0x2db6b0(0x1c8)](_0x2db6b0(0x170));this[_0x2db6b0(0x1c0)](_0x34ffc3);}}[_0x4a67fa(0x1c0)](_0x2178ed){const _0x4a37eb=_0x4a67fa;if(!this[_0x4a37eb(0x1b5)][_0x4a37eb(0x192)](_0x2178ed))throw new _0x5f5a7a(_0x4a37eb(0x1be),null,{'channelId':_0x2178ed});this[_0x4a37eb(0x172)](_0x2178ed)[_0x4a37eb(0x1bf)](),this[_0x4a37eb(0x1b5)][_0x4a37eb(0x177)](_0x2178ed);}async[_0x4a67fa(0x16a)](){const _0x5d1fc9=_0x4a67fa;for(const _0x21bf1a of this[_0x5d1fc9(0x1b5)][_0x5d1fc9(0x1c3)]())await this[_0x5d1fc9(0x1a0)](_0x21bf1a);if(this[_0x5d1fc9(0x1b3)]instanceof _0xec5368){const _0x5577c8=this[_0x5d1fc9(0x1b3)][_0x5d1fc9(0x176)][_0x5d1fc9(0x1c8)](_0x5d1fc9(0x170)),_0x4da9fb=this[_0x5d1fc9(0x1b3)][_0x5d1fc9(0x17e)][_0x5d1fc9(0x1c8)](_0x520cb2);_0x4da9fb[_0x5d1fc9(0x17d)](_0x5577c8);const _0x2d0eb2=await this[_0x5d1fc9(0x1b5)][_0x5d1fc9(0x1c8)](_0x5577c8)[_0x5d1fc9(0x1c2)]();_0x4da9fb[_0x5d1fc9(0x196)](_0x5577c8,_0x2d0eb2);}}async[_0x4a67fa(0x1a0)](_0x519519){const _0x2ab33d=_0x4a67fa,{connection:_0x5bb064}=this[_0x2ab33d(0x1b3)][_0x2ab33d(0x17e)][_0x2ab33d(0x1c8)](_0x1f468a),_0x191cac=this[_0x2ab33d(0x1b3)][_0x2ab33d(0x17e)][_0x2ab33d(0x1c8)](_0x2ab33d(0x16d)),_0x69e6e=this[_0x2ab33d(0x1b5)][_0x2ab33d(0x1c8)](_0x519519),_0x2ba4d8=await _0x69e6e[_0x2ab33d(0x173)](_0x5bb064);await this[_0x2ab33d(0x183)](_0x2ba4d8);const _0x40652a=new Set(Array[_0x2ab33d(0x1b0)](_0x191cac[_0x2ab33d(0x1ae)]({'channelId':_0x519519}),_0x51bee4=>_0x51bee4['id']));for(const _0x140c6c of _0x2ba4d8)_0x140c6c[_0x2ab33d(0x18d)]||_0x40652a[_0x2ab33d(0x177)](_0x140c6c[_0x2ab33d(0x166)]);for(const _0x5f0358 of _0x40652a)_0x191cac[_0x2ab33d(0x174)](_0x5f0358)[_0x2ab33d(0x199)]({'isFromAdapter':!0x0});for(const _0x50a8db of _0x2ba4d8){let _0x3b94f5=_0x191cac[_0x2ab33d(0x174)](_0x50a8db[_0x2ab33d(0x166)]);const {commentThreadId:_0x52e6d8,context:_0x28f3fa,attributes:_0x599176,resolvedBy:_0x140274,resolvedAt:_0x937410,unlinkedAt:_0x191845,deletedAt:_0x764400}=_0x50a8db;if(_0x764400)continue;_0x3b94f5||(_0x3b94f5=_0x191cac[_0x2ab33d(0x1b1)]({'channelId':_0x519519,'threadId':_0x52e6d8,'context':_0x28f3fa,'attributes':_0x599176||{},'resolvedBy':_0x140274,'resolvedAt':_0x937410,'unlinkedAt':_0x191845,'isFromAdapter':!0x0}));const _0x3cd419=new Set(Array[_0x2ab33d(0x1b0)](_0x3b94f5[_0x2ab33d(0x168)],_0x3a1930=>_0x3a1930['id']));for(const _0x5f4c63 of _0x50a8db[_0x2ab33d(0x168)])_0x3cd419[_0x2ab33d(0x177)](_0x5f4c63[_0x2ab33d(0x1a2)]);for(const _0x343fad of _0x3cd419)_0x3b94f5[_0x2ab33d(0x19e)](_0x343fad)[_0x2ab33d(0x199)]({'isFromAdapter':!0x0});for(const _0x2aeca6 of _0x50a8db[_0x2ab33d(0x168)]){const _0x29c588=_0x3b94f5[_0x2ab33d(0x19e)](_0x2aeca6[_0x2ab33d(0x1a2)]);_0x29c588?_0x29c588[_0x2ab33d(0x1bc)]!==_0x2aeca6[_0x2ab33d(0x1bc)]&&_0x29c588[_0x2ab33d(0x1b4)]({'content':_0x2aeca6[_0x2ab33d(0x1bc)],'isFromAdapter':!0x0}):_0x3b94f5[_0x2ab33d(0x18a)](Object[_0x2ab33d(0x1c1)](_(_0x2aeca6),{'isFromAdapter':!0x0}));}}}[_0x4a67fa(0x172)](_0xf67a71){const _0x13fe6f=_0x4a67fa;if(!this[_0x13fe6f(0x1b5)][_0x13fe6f(0x192)](_0xf67a71))throw new _0x5f5a7a(_0x13fe6f(0x19b),null,{'channelId':_0xf67a71});return this[_0x13fe6f(0x1b5)][_0x13fe6f(0x1c8)](_0xf67a71);}async[_0x4a67fa(0x183)](_0xc60098){const _0x1d59ea=_0x4a67fa,_0x41bedd=this[_0x1d59ea(0x1b3)][_0x1d59ea(0x17e)][_0x1d59ea(0x1c8)](_0x2810e9),{connection:_0x52c643}=this[_0x1d59ea(0x1b3)][_0x1d59ea(0x17e)][_0x1d59ea(0x1c8)](_0x1f468a),_0x19b414=new Set();for(const {resolvedBy:_0x471e7c,comments:_0x39d62e}of _0xc60098){_0x471e7c&&!_0x41bedd[_0x1d59ea(0x1a3)](_0x471e7c)&&_0x19b414[_0x1d59ea(0x189)](_0x471e7c);for(const {userId:_0x583028}of _0x39d62e)_0x41bedd[_0x1d59ea(0x1a3)](_0x583028)||_0x19b414[_0x1d59ea(0x189)](_0x583028);}if(0x0===_0x19b414[_0x1d59ea(0x1ba)])return;const _0x4593ac=await _0x1473a3[_0x1d59ea(0x1c9)](_0x52c643,Array[_0x1d59ea(0x1b0)](_0x19b414));for(const _0x5e1109 of _0x4593ac)_0x41bedd[_0x1d59ea(0x1a3)](_0x5e1109['id'])||_0x41bedd[_0x1d59ea(0x16e)](_0x5e1109);}}export default a;async function S(_0x21aa3e){const _0x1a2d93=_0x4a67fa;if(_0x1a2d93(0x1bb)!==_0x21aa3e[_0x1a2d93(0x197)])throw _0x21aa3e;}function R(_0x40bc7c){const _0x227f07=_0x4a67fa;if((_0x14c013=_0x40bc7c)[_0x227f07(0x1ad)][_0x227f07(0x181)](_0x227f07(0x185))||_0x14c013[_0x227f07(0x1ad)][_0x227f07(0x181)](_0x227f07(0x1ac))||_0x14c013[_0x227f07(0x1ad)][_0x227f07(0x181)](_0x227f07(0x182)))return new Promise(()=>{});var _0x14c013;throw _0x40bc7c;}function _(_0x4cfbb6){const _0x31e834=_0x4a67fa;return{'threadId':_0x4cfbb6[_0x31e834(0x166)],'commentId':_0x4cfbb6[_0x31e834(0x1a2)],'content':_0x4cfbb6[_0x31e834(0x1bc)],'createdAt':_0x4cfbb6[_0x31e834(0x18f)],'authorId':_0x4cfbb6[_0x31e834(0x1a1)],'attributes':_0x4cfbb6[_0x31e834(0x194)]||{}};}
23
+ const _0xf1591a=_0x27da;(function(_0x4cea6e,_0x3a87d1){const _0xf04931=_0x27da,_0xfa8a7b=_0x4cea6e();while(!![]){try{const _0xcb179a=-parseInt(_0xf04931(0x20d))/0x1*(-parseInt(_0xf04931(0x1d4))/0x2)+parseInt(_0xf04931(0x1d9))/0x3*(-parseInt(_0xf04931(0x1f4))/0x4)+-parseInt(_0xf04931(0x1fe))/0x5+-parseInt(_0xf04931(0x1de))/0x6+parseInt(_0xf04931(0x1d3))/0x7*(parseInt(_0xf04931(0x215))/0x8)+parseInt(_0xf04931(0x1e1))/0x9*(parseInt(_0xf04931(0x1c4))/0xa)+parseInt(_0xf04931(0x1e9))/0xb;if(_0xcb179a===_0x3a87d1)break;else _0xfa8a7b['push'](_0xfa8a7b['shift']());}catch(_0x526a35){_0xfa8a7b['push'](_0xfa8a7b['shift']());}}}(_0x2318,0x37a08));function _0x2318(){const _0x44082f=['commentThreadAdded','2669898IHQDtb','updateCommentThread','resolvedBy','getUser','addUser','commentAdded','cloudservicescommentsadapter-connect-already-connected','_connectService','cloud-services-internal-error:\x20Request\x20timeout.','getConnectedSessions','sessionAdd:','60NejjoZ','update','createdAt','addComment','_services','off','destroy','commentId','remove','connect','2128710FNaBIT','comments','has','reconnect','deletedAt','set','cloudservicescommentsadapter-disconnect-not-exist','commentRemoved','commentThreadId','userId','resolvedAt','commentThreadUpdated','removeComment','setPermissions','config','181JbNlSt','getCommentThread','content','commentThreadRemoved','commentUpdated','adapter','size','collaboration.channelId','72GwPigM','reopen','plugins','_setUpService','removeCommentThread','keys','resolve','getCommentThreads','updateComment','commentThreadReopened','delete','isOfficialPlugin','catch','disconnect','404','context','Permissions','message','addCommentThread','unregister','startsWith','authorId','6940zDxvSV','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','add','register','code','requires','addToReconnectionStack','attributes','permissions','_getService','CommentsService','reopenCommentThread','init','isPremiumPlugin','338471JmecdY','2186zHbtuO','get','getComment','CloudServicesCommentsAdapter','assign','65646MUhnDm','from','listenTo','CommentsRepository','getMany','2032572KSTmOh','mySessionId','cloudservicescommentsadapter-service-not-exist','5769DCJIel','_terminateService','commentThreadResolved','map','_fetchMissingUsersForThreads','pluginName','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.'];_0x2318=function(){return _0x44082f;};return _0x2318();}import{Context as _0x52f926,ContextPlugin as _0x483000}from'ckeditor5/src/core.js';import{CKEditorError as _0x1a40c5}from'ckeditor5/src/utils.js';import{Users as _0x465582}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4d3c46,User as _0x26d0c8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x307520 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3a1edf from'../realtimecollaborativeediting/sessions.js';class a extends _0x483000{static [_0xf1591a(0x1cf)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4d3c46)());[_0xf1591a(0x1f8)];static get[_0xf1591a(0x1ca)](){const _0x9e58b5=_0xf1591a;return[_0x307520,_0x9e58b5(0x1dc),_0x3a1edf,_0x465582];}static get[_0xf1591a(0x1e6)](){const _0x48c115=_0xf1591a;return _0x48c115(0x1d7);}static get[_0xf1591a(0x1b9)](){return!0x0;}static get[_0xf1591a(0x1d2)](){return!0x0;}constructor(_0x45ee2c){const _0x2d6a46=_0xf1591a;super(_0x45ee2c),this[_0x2d6a46(0x1f8)]=new Map();}async[_0xf1591a(0x1d1)](){const _0x1138af=_0xf1591a,_0x5658ff=this[_0x1138af(0x1bd)],_0x36a38c=_0x5658ff[_0x1138af(0x217)][_0x1138af(0x1d5)](_0x1138af(0x1dc));if(_0x5658ff[_0x1138af(0x217)][_0x1138af(0x1d5)](_0x307520)[_0x1138af(0x1cb)](this),_0x36a38c[_0x1138af(0x212)]={'addCommentThread':async({channelId:_0x1441e9,threadId:_0x3fa84b,comments:_0x361224,resolvedAt:_0x521d4b,resolvedBy:_0x23a540,context:_0x2ef9ef,attributes:_0x11b98a})=>{const _0x4bcc5f=_0x1138af,_0x4b8e42=await this[_0x4bcc5f(0x1ce)](_0x1441e9)[_0x4bcc5f(0x1c0)]({'commentThreadId':_0x3fa84b,'comments':_0x361224[_0x4bcc5f(0x1e4)](_0x2d24b7=>function(_0x3d3d3c,_0x14fe75,_0x26304d){const _0x4eab8a=_0x4bcc5f;return{'commentThreadId':_0x26304d,'commentId':_0x3d3d3c[_0x4eab8a(0x1fb)],'userId':_0x3d3d3c[_0x4eab8a(0x1c3)],'content':_0x3d3d3c[_0x4eab8a(0x20f)],'documentId':_0x14fe75,'createdAt':_0x3d3d3c[_0x4eab8a(0x1f6)],'attributes':_0x3d3d3c[_0x4eab8a(0x1cc)]||{}};}(_0x2d24b7,_0x1441e9,_0x3fa84b)),'resolvedAt':_0x521d4b,'resolvedBy':_0x23a540,'context':_0x2ef9ef,'attributes':_0x11b98a})[_0x4bcc5f(0x1ba)](R);return{'threadId':_0x4b8e42[_0x4bcc5f(0x206)],'comments':_0x4b8e42[_0x4bcc5f(0x1ff)]};},'getCommentThread':async({channelId:_0xa47153,threadId:_0x3592d6})=>{const _0x4bef38=_0x1138af,_0x4724b4=await this[_0x4bef38(0x1ce)](_0xa47153)[_0x4bef38(0x20e)](_0x3592d6)[_0x4bef38(0x1ba)](R);return _0x4724b4[_0x4bef38(0x202)]?null:(await this[_0x4bef38(0x1e5)]([_0x4724b4]),{'threadId':_0x4724b4[_0x4bef38(0x206)],'comments':_0x4724b4[_0x4bef38(0x1ff)][_0x4bef38(0x1e4)](_),'context':_0x4724b4[_0x4bef38(0x1bd)],'resolvedAt':_0x4724b4[_0x4bef38(0x208)],'resolvedBy':_0x4724b4[_0x4bef38(0x1eb)],'attributes':_0x4724b4[_0x4bef38(0x1cc)]||{}});},'updateCommentThread':async({channelId:_0x4f7db3,threadId:_0xa68076,context:_0x3de4d5,unlinkedAt:_0x544630,attributes:_0x3b72f9})=>this[_0x1138af(0x1ce)](_0x4f7db3)[_0x1138af(0x1ea)]({'commentThreadId':_0xa68076,'context':_0x3de4d5,'attributes':_0x3b72f9,'unlinkedAt':_0x544630})[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'resolveCommentThread':async({channelId:_0x545450,threadId:_0x4625a1})=>{const _0xa8301f=_0x1138af,_0x1b8b74=await this[_0xa8301f(0x1ce)](_0x545450)[_0xa8301f(0x1c6)](_0x4625a1)[_0xa8301f(0x1ba)](S)[_0xa8301f(0x1ba)](R);return{'threadId':_0x1b8b74[_0xa8301f(0x206)],'resolvedAt':_0x1b8b74[_0xa8301f(0x208)],'resolvedBy':_0x1b8b74[_0xa8301f(0x1eb)]};},'reopenCommentThread':async({channelId:_0x5d7072,threadId:_0x298c08})=>this[_0x1138af(0x1ce)](_0x5d7072)[_0x1138af(0x1d0)](_0x298c08)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'removeCommentThread':({channelId:_0x1daa41,threadId:_0x3cf2cc})=>this[_0x1138af(0x1ce)](_0x1daa41)[_0x1138af(0x219)](_0x3cf2cc)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'addComment':({channelId:_0xa05df7,threadId:_0x1c5792,commentId:_0x275c0b,content:_0xfe138b,attributes:_0x3ae315})=>this[_0x1138af(0x1ce)](_0xa05df7)[_0x1138af(0x1f7)](_0x1c5792,_0x275c0b,_0xfe138b,_0x3ae315)[_0x1138af(0x1ba)](R),'updateComment':({channelId:_0x23f2ac,threadId:_0x3510c0,commentId:_0x244650,content:_0x38a6a7,attributes:_0x4e0d38})=>this[_0x1138af(0x1ce)](_0x23f2ac)[_0x1138af(0x1b6)](_0x3510c0,_0x244650,_0x38a6a7,_0x4e0d38)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R),'removeComment':({channelId:_0x5afb4f,threadId:_0x5e4543,commentId:_0x14161d})=>this[_0x1138af(0x1ce)](_0x5afb4f)[_0x1138af(0x20a)](_0x5e4543,_0x14161d)[_0x1138af(0x1ba)](S)[_0x1138af(0x1ba)](R)},_0x5658ff instanceof _0x52f926){const _0x57c3d6=_0x5658ff[_0x1138af(0x20c)][_0x1138af(0x1d5)](_0x1138af(0x214)),_0x191a1a=_0x5658ff[_0x1138af(0x217)][_0x1138af(0x1d5)](_0x3a1edf);await this[_0x1138af(0x218)](_0x57c3d6);const _0x32aba5=await this[_0x1138af(0x1f8)][_0x1138af(0x1d5)](_0x57c3d6)[_0x1138af(0x1f2)]();this[_0x1138af(0x1db)](_0x191a1a,_0x1138af(0x1f3)+_0x57c3d6,(_0x5b1b9e,{session:_0x51fa00})=>{const _0x338a29=_0x1138af;_0x51fa00['id']===_0x191a1a[_0x338a29(0x1df)]&&(_0x5b1b9e[_0x338a29(0x1f9)](),this[_0x338a29(0x1bd)][_0x338a29(0x217)][_0x338a29(0x1d5)](_0x338a29(0x1be))[_0x338a29(0x20b)](_0x51fa00[_0x338a29(0x1cd)],_0x57c3d6));}),_0x191a1a[_0x1138af(0x1c8)](_0x57c3d6,_0x32aba5);}}async[_0xf1591a(0x218)](_0x1913e8){const _0x2ee4d6=_0xf1591a;if(this[_0x2ee4d6(0x1f8)][_0x2ee4d6(0x200)](_0x1913e8))throw new _0x1a40c5(_0x2ee4d6(0x1ef),null,{'channelId':_0x1913e8});const _0x5a62c5=this[_0x2ee4d6(0x1bd)][_0x2ee4d6(0x217)][_0x2ee4d6(0x1d5)](_0x2ee4d6(0x1dc)),_0x113203=new a[(_0x2ee4d6(0x1cf))](_0x1913e8);this[_0x2ee4d6(0x1f8)][_0x2ee4d6(0x203)](_0x1913e8,_0x113203),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1e8),(_0x2b9273,_0x575084)=>{const _0x432c5b=_0x2ee4d6,{commentThreadId:_0x352838,documentId:_0x504161,context:_0x3c1318,attributes:_0x17c030,resolvedAt:_0x4e2608,resolvedBy:_0x325af0,comments:_0xffe384}=_0x575084;_0x5a62c5[_0x432c5b(0x20e)](_0x352838)||_0x5a62c5[_0x432c5b(0x1c0)]({'threadId':_0x352838,'channelId':_0x504161,'comments':_0xffe384?_0xffe384[_0x432c5b(0x1e4)](_):[],'context':_0x3c1318,'attributes':_0x17c030,'resolvedAt':_0x4e2608,'resolvedBy':_0x325af0,'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x209),(_0x3a91f0,{commentThreadId:_0x2ae457,documentId:_0x2b4ab1,context:_0x4062ea,unlinkedAt:_0x2b58bd,attributes:_0xbec0b6})=>{const _0x3bc55f=_0x2ee4d6;_0x5a62c5[_0x3bc55f(0x20e)](_0x2ae457)&&_0x5a62c5[_0x3bc55f(0x1ea)]({'threadId':_0x2ae457,'channelId':_0x2b4ab1,'context':_0x4062ea,'unlinkedAt':_0x2b58bd,'attributes':_0xbec0b6,'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1e3),(_0x655f52,{commentThreadId:_0x2a3890,resolvedBy:_0x3aa87d,resolvedAt:_0x4d02bc})=>{const _0x38f74b=_0x2ee4d6,_0x454922=_0x5a62c5[_0x38f74b(0x20e)](_0x2a3890);_0x454922&&_0x454922[_0x38f74b(0x21b)]({'resolvedBy':_0x3aa87d,'resolvedAt':_0x4d02bc,'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1b7),(_0x34d282,{commentThreadId:_0x5a8e6a})=>{const _0x17c212=_0x2ee4d6,_0x4342de=_0x5a62c5[_0x17c212(0x20e)](_0x5a8e6a);_0x4342de&&_0x4342de[_0x17c212(0x216)]({'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x210),(_0x563837,{commentThreadId:_0x5ca58b})=>{const _0x1f8c18=_0x2ee4d6,_0x5c70b4=_0x5a62c5[_0x1f8c18(0x20e)](_0x5ca58b);_0x5c70b4&&_0x5c70b4[_0x1f8c18(0x1fc)]({'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x1ee),(_0x17ec7a,_0x37730b)=>{const _0x4a0fff=_0x2ee4d6,_0x1ba883=_0x37730b[_0x4a0fff(0x206)],_0x5de8f7=_0x5a62c5[_0x4a0fff(0x20e)](_0x1ba883);_0x5de8f7&&_0x5de8f7[_0x4a0fff(0x1f7)]({..._(_0x37730b),'isFromAdapter':!0x0});}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x211),(_0x2b084b,{commentThreadId:_0x1e824c,commentId:_0x320fd0,content:_0x23d4f8,attributes:_0x2bad81})=>{const _0x1bd1ef=_0x2ee4d6,_0x582012=_0x5a62c5[_0x1bd1ef(0x20e)](_0x1e824c);if(_0x582012){const _0x235fef=_0x582012[_0x1bd1ef(0x1d6)](_0x320fd0);_0x235fef&&_0x235fef[_0x1bd1ef(0x1f5)]({'content':_0x23d4f8,'attributes':_0x2bad81,'isFromAdapter':!0x0});}}),this[_0x2ee4d6(0x1db)](_0x113203,_0x2ee4d6(0x205),(_0x485e1b,{commentThreadId:_0x1de342,commentId:_0x133208})=>{const _0x181825=_0x2ee4d6,_0x2cf68e=_0x5a62c5[_0x181825(0x20e)](_0x1de342);if(_0x2cf68e){const _0x2ea971=_0x2cf68e[_0x181825(0x1d6)](_0x133208);_0x2ea971&&_0x2ea971[_0x181825(0x1fc)]({'isFromAdapter':!0x0});}}),await this[_0x2ee4d6(0x1f0)](_0x1913e8);}[_0xf1591a(0x1fa)](){const _0x5a9bfa=_0xf1591a;if(this[_0x5a9bfa(0x1bd)]instanceof _0x52f926){const _0x4ff642=this[_0x5a9bfa(0x1bd)][_0x5a9bfa(0x20c)][_0x5a9bfa(0x1d5)](_0x5a9bfa(0x214));this[_0x5a9bfa(0x1e2)](_0x4ff642);}}[_0xf1591a(0x1e2)](_0x4678e7){const _0x2254f1=_0xf1591a;if(!this[_0x2254f1(0x1f8)][_0x2254f1(0x200)](_0x4678e7))throw new _0x1a40c5(_0x2254f1(0x204),null,{'channelId':_0x4678e7});this[_0x2254f1(0x1ce)](_0x4678e7)[_0x2254f1(0x1bb)](),this[_0x2254f1(0x1f8)][_0x2254f1(0x1b8)](_0x4678e7);}async[_0xf1591a(0x201)](){const _0x48dd6e=_0xf1591a;for(const _0x1e570d of this[_0x48dd6e(0x1f8)][_0x48dd6e(0x21a)]())await this[_0x48dd6e(0x1f0)](_0x1e570d);if(this[_0x48dd6e(0x1bd)]instanceof _0x52f926){const _0xa488e=this[_0x48dd6e(0x1bd)][_0x48dd6e(0x20c)][_0x48dd6e(0x1d5)](_0x48dd6e(0x214)),_0x380cc2=this[_0x48dd6e(0x1bd)][_0x48dd6e(0x217)][_0x48dd6e(0x1d5)](_0x3a1edf);_0x380cc2[_0x48dd6e(0x1c1)](_0xa488e);const _0x20b364=await this[_0x48dd6e(0x1f8)][_0x48dd6e(0x1d5)](_0xa488e)[_0x48dd6e(0x1f2)]();_0x380cc2[_0x48dd6e(0x1c8)](_0xa488e,_0x20b364);}}async[_0xf1591a(0x1f0)](_0x2f1d0d){const _0x1e8e8e=_0xf1591a,{connection:_0x4ea627}=this[_0x1e8e8e(0x1bd)][_0x1e8e8e(0x217)][_0x1e8e8e(0x1d5)](_0x307520),_0x3e60cb=this[_0x1e8e8e(0x1bd)][_0x1e8e8e(0x217)][_0x1e8e8e(0x1d5)](_0x1e8e8e(0x1dc)),_0x1c64ed=this[_0x1e8e8e(0x1f8)][_0x1e8e8e(0x1d5)](_0x2f1d0d),_0x3be162=await _0x1c64ed[_0x1e8e8e(0x1fd)](_0x4ea627);await this[_0x1e8e8e(0x1e5)](_0x3be162);const _0x47756d=new Set(Array[_0x1e8e8e(0x1da)](_0x3e60cb[_0x1e8e8e(0x1b5)]({'channelId':_0x2f1d0d}),_0x41ad7b=>_0x41ad7b['id']));for(const _0x1d7489 of _0x3be162)_0x1d7489[_0x1e8e8e(0x202)]||_0x47756d[_0x1e8e8e(0x1b8)](_0x1d7489[_0x1e8e8e(0x206)]);for(const _0x2135ad of _0x47756d)_0x3e60cb[_0x1e8e8e(0x20e)](_0x2135ad)[_0x1e8e8e(0x1fc)]({'isFromAdapter':!0x0});for(const _0x443255 of _0x3be162){let _0xa2a9d6=_0x3e60cb[_0x1e8e8e(0x20e)](_0x443255[_0x1e8e8e(0x206)]);const {commentThreadId:_0x1b8aec,context:_0x1c9367,attributes:_0x3690c4,resolvedBy:_0x4ea8db,resolvedAt:_0x524ef5,unlinkedAt:_0x4245f6,deletedAt:_0x34c3d9}=_0x443255;if(_0x34c3d9)continue;_0xa2a9d6||(_0xa2a9d6=_0x3e60cb[_0x1e8e8e(0x1c0)]({'channelId':_0x2f1d0d,'threadId':_0x1b8aec,'context':_0x1c9367,'attributes':_0x3690c4||{},'resolvedBy':_0x4ea8db,'resolvedAt':_0x524ef5,'unlinkedAt':_0x4245f6,'isFromAdapter':!0x0}));const _0x2aa309=new Set(Array[_0x1e8e8e(0x1da)](_0xa2a9d6[_0x1e8e8e(0x1ff)],_0x2bcb38=>_0x2bcb38['id']));for(const _0x2292f5 of _0x443255[_0x1e8e8e(0x1ff)])_0x2aa309[_0x1e8e8e(0x1b8)](_0x2292f5[_0x1e8e8e(0x1fb)]);for(const _0x566048 of _0x2aa309)_0xa2a9d6[_0x1e8e8e(0x1d6)](_0x566048)[_0x1e8e8e(0x1fc)]({'isFromAdapter':!0x0});for(const _0x762c3a of _0x443255[_0x1e8e8e(0x1ff)]){const _0x1b56fb=_0xa2a9d6[_0x1e8e8e(0x1d6)](_0x762c3a[_0x1e8e8e(0x1fb)]);_0x1b56fb?_0x1b56fb[_0x1e8e8e(0x20f)]!==_0x762c3a[_0x1e8e8e(0x20f)]&&_0x1b56fb[_0x1e8e8e(0x1f5)]({'content':_0x762c3a[_0x1e8e8e(0x20f)],'isFromAdapter':!0x0}):_0xa2a9d6[_0x1e8e8e(0x1f7)](Object[_0x1e8e8e(0x1d8)](_(_0x762c3a),{'isFromAdapter':!0x0}));}}}[_0xf1591a(0x1ce)](_0x4f2ebe){const _0x117c12=_0xf1591a;if(!this[_0x117c12(0x1f8)][_0x117c12(0x200)](_0x4f2ebe))throw new _0x1a40c5(_0x117c12(0x1e0),null,{'channelId':_0x4f2ebe});return this[_0x117c12(0x1f8)][_0x117c12(0x1d5)](_0x4f2ebe);}async[_0xf1591a(0x1e5)](_0x232268){const _0x39906c=_0xf1591a,_0x45a2d5=this[_0x39906c(0x1bd)][_0x39906c(0x217)][_0x39906c(0x1d5)](_0x465582),{connection:_0x2a3378}=this[_0x39906c(0x1bd)][_0x39906c(0x217)][_0x39906c(0x1d5)](_0x307520),_0x274b91=new Set();for(const {resolvedBy:_0x1fbe04,comments:_0xce18da}of _0x232268){_0x1fbe04&&!_0x45a2d5[_0x39906c(0x1ec)](_0x1fbe04)&&_0x274b91[_0x39906c(0x1c7)](_0x1fbe04);for(const {userId:_0x2963ce}of _0xce18da)_0x45a2d5[_0x39906c(0x1ec)](_0x2963ce)||_0x274b91[_0x39906c(0x1c7)](_0x2963ce);}if(0x0===_0x274b91[_0x39906c(0x213)])return;const _0x45104b=await _0x26d0c8[_0x39906c(0x1dd)](_0x2a3378,Array[_0x39906c(0x1da)](_0x274b91));for(const _0x13a1f3 of _0x45104b)_0x45a2d5[_0x39906c(0x1ec)](_0x13a1f3['id'])||_0x45a2d5[_0x39906c(0x1ed)](_0x13a1f3);}}export default a;async function S(_0x4db637){const _0x53c2e3=_0xf1591a;if(_0x53c2e3(0x1bc)!==_0x4db637[_0x53c2e3(0x1c9)])throw _0x4db637;}function _0x27da(_0x21e77c,_0x233235){const _0x23183c=_0x2318();return _0x27da=function(_0x27da08,_0x1da9e5){_0x27da08=_0x27da08-0x1b5;let _0x1d56e2=_0x23183c[_0x27da08];return _0x1d56e2;},_0x27da(_0x21e77c,_0x233235);}function R(_0x325fed){const _0x5d6298=_0xf1591a;if((_0x5b853f=_0x325fed)[_0x5d6298(0x1bf)][_0x5d6298(0x1c2)](_0x5d6298(0x1e7))||_0x5b853f[_0x5d6298(0x1bf)][_0x5d6298(0x1c2)](_0x5d6298(0x1c5))||_0x5b853f[_0x5d6298(0x1bf)][_0x5d6298(0x1c2)](_0x5d6298(0x1f1)))return new Promise(()=>{});var _0x5b853f;throw _0x325fed;}function _(_0x3a8363){const _0x212eae=_0xf1591a;return{'threadId':_0x3a8363[_0x212eae(0x206)],'commentId':_0x3a8363[_0x212eae(0x1fb)],'content':_0x3a8363[_0x212eae(0x20f)],'createdAt':_0x3a8363[_0x212eae(0x1f6)],'authorId':_0x3a8363[_0x212eae(0x207)],'attributes':_0x3a8363[_0x212eae(0x1cc)]||{}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x591a01=_0x3753;(function(_0x16351e,_0x22582a){const _0x4401c3=_0x3753,_0x15aa84=_0x16351e();while(!![]){try{const _0x27d0c5=-parseInt(_0x4401c3(0xc0))/0x1*(parseInt(_0x4401c3(0xbd))/0x2)+-parseInt(_0x4401c3(0xb5))/0x3*(-parseInt(_0x4401c3(0xb2))/0x4)+-parseInt(_0x4401c3(0xb1))/0x5*(-parseInt(_0x4401c3(0xac))/0x6)+parseInt(_0x4401c3(0xb6))/0x7*(parseInt(_0x4401c3(0xaf))/0x8)+-parseInt(_0x4401c3(0xa6))/0x9*(-parseInt(_0x4401c3(0xaa))/0xa)+-parseInt(_0x4401c3(0xc2))/0xb+-parseInt(_0x4401c3(0xb7))/0xc;if(_0x27d0c5===_0x22582a)break;else _0x15aa84['push'](_0x15aa84['shift']());}catch(_0x3d6390){_0x15aa84['push'](_0x15aa84['shift']());}}}(_0x9c8a,0x6c442));import{Plugin as _0x28a3dd}from'ckeditor5/src/core.js';import _0xd38366 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x9c8a(){const _0x20576b=['Comments','change:state','once','149004NLPsHq','RealTimeCollaborativeComments','get','listenTo','140CsyqVu','CommentsEditing','3071922lpOjLC','pluginName','isThreadsLoadingPaused','24niDEyR','config','5JGElwq','1143784dedXNR','plugins','requires','9CWZrYT','995309jyDYGf','629268dANfsx','switchReadOnly','destroy','isPremiumPlugin','collaboration.channelId','_terminateService','2nmyYMs','ready','_setUpService','766540klGiJe','connected','8423063HIGKEq','editor','isOfficialPlugin','init','CommentsRepository','data'];_0x9c8a=function(){return _0x20576b;};return _0x9c8a();}import _0x497a1a from'./realtimecollaborativeediting.js';function _0x3753(_0x1ca556,_0x35986f){const _0x9c8a3e=_0x9c8a();return _0x3753=function(_0x3753b9,_0x4f021a){_0x3753b9=_0x3753b9-0xa5;let _0xbe044a=_0x9c8a3e[_0x3753b9];return _0xbe044a;},_0x3753(_0x1ca556,_0x35986f);}import _0x51b38c from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x28a3dd{static get[_0x591a01(0xb4)](){const _0x3fd9e1=_0x591a01;return[_0x3fd9e1(0xc8),_0xd38366,_0x497a1a,_0x51b38c];}static get[_0x591a01(0xad)](){const _0x2ee1a0=_0x591a01;return _0x2ee1a0(0xa7);}static get[_0x591a01(0xc4)](){return!0x0;}static get[_0x591a01(0xba)](){return!0x0;}[_0x591a01(0xc5)](){const _0x5ed6b9=_0x591a01,_0x2dbb67=this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb3)][_0x5ed6b9(0xa8)](_0x51b38c),_0x35f3e3=this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb3)][_0x5ed6b9(0xa8)](_0x5ed6b9(0xab)),_0x2ec93a=this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb3)][_0x5ed6b9(0xa8)](_0xd38366);return this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xc7)][_0x5ed6b9(0xa5)](_0x5ed6b9(0xbe),()=>{const _0x2dbba2=_0x5ed6b9;this[_0x2dbba2(0xa9)](_0x2dbb67,_0x2dbba2(0xc9),(_0x4422d3,_0x423147,_0x48ff81)=>{const _0x279f15=_0x2dbba2;_0x35f3e3[_0x279f15(0xae)]=_0x279f15(0xc1)!==_0x48ff81;});}),this[_0x5ed6b9(0xa9)](_0x2dbb67,_0x5ed6b9(0xc9),(_0x5b7a1c,_0x45f75e,_0x4b8ef1)=>{const _0x451e6b=_0x5ed6b9;this[_0x451e6b(0xc3)][_0x451e6b(0xb3)][_0x451e6b(0xa8)](_0x451e6b(0xc6))[_0x451e6b(0xb8)](_0x451e6b(0xc1)!==_0x4b8ef1);}),_0x2ec93a[_0x5ed6b9(0xbf)](this[_0x5ed6b9(0xc3)][_0x5ed6b9(0xb0)][_0x5ed6b9(0xa8)](_0x5ed6b9(0xbb)));}[_0x591a01(0xb9)](){const _0x20ae78=_0x591a01;this[_0x20ae78(0xc3)][_0x20ae78(0xb3)][_0x20ae78(0xa8)](_0xd38366)[_0x20ae78(0xbc)](this[_0x20ae78(0xc3)][_0x20ae78(0xb0)][_0x20ae78(0xa8)](_0x20ae78(0xbb))),super[_0x20ae78(0xb9)]();}}
23
+ const _0x3aa204=_0x26bd;(function(_0x906c31,_0x589357){const _0x223f32=_0x26bd,_0x5a02d8=_0x906c31();while(!![]){try{const _0x20971b=-parseInt(_0x223f32(0x150))/0x1+parseInt(_0x223f32(0x14f))/0x2*(-parseInt(_0x223f32(0x160))/0x3)+-parseInt(_0x223f32(0x153))/0x4+-parseInt(_0x223f32(0x14d))/0x5+parseInt(_0x223f32(0x157))/0x6*(parseInt(_0x223f32(0x155))/0x7)+parseInt(_0x223f32(0x15f))/0x8+parseInt(_0x223f32(0x14b))/0x9;if(_0x20971b===_0x589357)break;else _0x5a02d8['push'](_0x5a02d8['shift']());}catch(_0x3ce28f){_0x5a02d8['push'](_0x5a02d8['shift']());}}}(_0x4c2a,0x732e4));function _0x26bd(_0x1044ec,_0x3f446f){const _0x4c2abb=_0x4c2a();return _0x26bd=function(_0x26bd58,_0x5cae7b){_0x26bd58=_0x26bd58-0x14a;let _0x352c2b=_0x4c2abb[_0x26bd58];return _0x352c2b;},_0x26bd(_0x1044ec,_0x3f446f);}import{Plugin as _0x4ef946}from'ckeditor5/src/core.js';import _0x32b360 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x4a6d76 from'./realtimecollaborativeediting.js';function _0x4c2a(){const _0x422c77=['config','listenTo','plugins','init','Comments','get','connected','change:state','_terminateService','13621527NrJlau','collaboration.channelId','1083505RyAeTH','isThreadsLoadingPaused','186096qEUQwf','322813WJnQtl','CommentsEditing','pluginName','1354068ofybvM','once','23366iaxXmd','editor','354oFwDgm','CommentsRepository','_setUpService','ready','switchReadOnly','data','isPremiumPlugin','destroy','836848pUHrcm','15aWUHrY','RealTimeCollaborativeComments','isOfficialPlugin','requires'];_0x4c2a=function(){return _0x422c77;};return _0x4c2a();}import _0x79d4b4 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4ef946{static get[_0x3aa204(0x163)](){const _0x4121b3=_0x3aa204;return[_0x4121b3(0x168),_0x32b360,_0x4a6d76,_0x79d4b4];}static get[_0x3aa204(0x152)](){const _0xd23341=_0x3aa204;return _0xd23341(0x161);}static get[_0x3aa204(0x162)](){return!0x0;}static get[_0x3aa204(0x15d)](){return!0x0;}[_0x3aa204(0x167)](){const _0x238139=_0x3aa204,_0x474f47=this[_0x238139(0x156)][_0x238139(0x166)][_0x238139(0x169)](_0x79d4b4),_0x5c05e3=this[_0x238139(0x156)][_0x238139(0x166)][_0x238139(0x169)](_0x238139(0x151)),_0x24ca4c=this[_0x238139(0x156)][_0x238139(0x166)][_0x238139(0x169)](_0x32b360);return this[_0x238139(0x156)][_0x238139(0x15c)][_0x238139(0x154)](_0x238139(0x15a),()=>{const _0x47bbc7=_0x238139;this[_0x47bbc7(0x165)](_0x474f47,_0x47bbc7(0x16b),(_0x1c6bbc,_0x287863,_0x2ac6f9)=>{const _0x2dd5a4=_0x47bbc7;_0x5c05e3[_0x2dd5a4(0x14e)]=_0x2dd5a4(0x16a)!==_0x2ac6f9;});}),this[_0x238139(0x165)](_0x474f47,_0x238139(0x16b),(_0x4adabc,_0x251cff,_0x1fe4d3)=>{const _0x3e8191=_0x238139;this[_0x3e8191(0x156)][_0x3e8191(0x166)][_0x3e8191(0x169)](_0x3e8191(0x158))[_0x3e8191(0x15b)](_0x3e8191(0x16a)!==_0x1fe4d3);}),_0x24ca4c[_0x238139(0x159)](this[_0x238139(0x156)][_0x238139(0x164)][_0x238139(0x169)](_0x238139(0x14c)));}[_0x3aa204(0x15e)](){const _0x550520=_0x3aa204;this[_0x550520(0x156)][_0x550520(0x166)][_0x550520(0x169)](_0x32b360)[_0x550520(0x14a)](this[_0x550520(0x156)][_0x550520(0x164)][_0x550520(0x169)](_0x550520(0x14c))),super[_0x550520(0x15e)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x93aba1=_0x3691;(function(_0x23ae5c,_0x52174c){const _0x40a1c6=_0x3691,_0x32e47d=_0x23ae5c();while(!![]){try{const _0x3671ac=-parseInt(_0x40a1c6(0x273))/0x1+-parseInt(_0x40a1c6(0x229))/0x2*(-parseInt(_0x40a1c6(0x279))/0x3)+-parseInt(_0x40a1c6(0x2a4))/0x4*(-parseInt(_0x40a1c6(0x2f2))/0x5)+parseInt(_0x40a1c6(0x271))/0x6*(-parseInt(_0x40a1c6(0x29d))/0x7)+-parseInt(_0x40a1c6(0x224))/0x8+parseInt(_0x40a1c6(0x27f))/0x9+parseInt(_0x40a1c6(0x2ee))/0xa*(-parseInt(_0x40a1c6(0x2ed))/0xb);if(_0x3671ac===_0x52174c)break;else _0x32e47d['push'](_0x32e47d['shift']());}catch(_0x52bafd){_0x32e47d['push'](_0x32e47d['shift']());}}}(_0x562d,0xea109));import{Plugin as _0x28589a,PendingActions as _0x4633e7}from'ckeditor5/src/core.js';import{CKEditorError as _0x2019b6,version as _0x330789,uid as _0x19a8d7}from'ckeditor5/src/utils.js';function _0x562d(){const _0x2deeb7=['push','_compressOperations','realtimecollaborationclient-init-connection-failed','enqueueChange','lastDocumentSession','_ignoredOperations','_hasSelectionChanged','RealTimeCollaborationClient','filter','disconnected','off','7577256fZsaus','map','path','fire','string','19060UlcvHk','root','_isEditingAllowed','createRoot','cloudDocumentVersion','lastOperationId','attributes','cs:removeUser','_applyOperationsSet','slice','isDocumentOperation','_saveOperationInBuffer','initData','targetPosition','finally','round','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient','ready','connected','batch','then','_sendBufferedOperationsDelayed','change:range','_disconnectService','getOperationAuthor','applyOperation','loadRoot','_isDisconnection','removeFromReconnectionStack','error','realtimecollaborationclient-init-service-incorrect-server-operation','startsWith','_waitUntilSynced','define','_isPendingUpdate','realtimecollaborationclient-init-document-already-initialized','register','InsertOperation','destroy','change:hasDomSelection','_shouldSendUpdate','_sendBufferedOperationsDelayId','stop','createPositionAt','addRootAttribute','_addKnownRoot','_connectService','$root','_currentBufferDelay','serverHistory','_connectAfterSessionHasBeenFlushed','_service','includes','_initSessionsHandling','404','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','Notification','editing','getRoot','_operationIdentifier','setIdForTheLastOperation','plugins','stopListening','_handleReceivedOperations','_isLoaded','decompress','_hasSynchronizationProblem','_sendBufferedOperations','collaboration','_handleExternalOperations','538806yabPDh','fromJSON','276629RnSWYo','marker','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isEnabled','high','_operationToId','417rLabLB','Permissions','offset','getMany','reset','collaboration-missing-channelid','16579890KmbeQE','_authorId','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','requires','locale','PENDING_ACTION_SENDING_DATA','_isConnected','view','data','Synchronization\x20issue','keys','type','rtc-destroyed','_channelId','remove','_setPendingAction','set','version','_fetchMissingUsers','_updateServerHistory','return','mySessionId','_handleReconnectionResponse','createRange','lastOperationAcceptedAt','permissions','userId','newRange','unregister','cloud-services-internal-error:\x20Not\x20connected.','105jqRbnQ','setPermissions','_baseBufferDelay','catch','apply','wasUndone','_offset','3577804xpsIHD','reconnection:\x20flushed\x20session','markers','cloud-services-internal-error:\x20Request\x20timeout.','_handleSendingSelectionMarkers','_crash','lastSyncVersion','editor','metadata','_compressor','realtimecollaborationclient-handleserverresponse','createPositionFromPath','createdAt','sessionCreatedAt','connection','currentDocumentSession','size','_disconnectionOperations','end','get','_shouldSendSelectionUpdate','_initThrowingOnDataSet','toJSON','_bufferRootLoad','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_knownRootNames','addRoot','directChange','from','CommentsOnly','realtimecollaborationclient-init-session-connection-error','config','CollaborativeEditingService','_handleServerResponse','disableReadOnlyMode','history','getConnectedSessions','bind','_isInit','realtimecollaborationclient-init-non-existent-root','_getAffectedRoot','change:_isPendingUpdate','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_lastServerVersion','_clearPendingAction','channelSessions','sessionId','getOperations','code','collaboration.channelId','disconnect','connect','start','isUndoneOperation','getDocumentDetails','baseVersion','rootName','_isAttached','createUserMarkerOperations','insert','realtimecollaborationclient-error','add','_document','_setUpDataInit','operationsReceived','_lastSyncedOperationId','model','roots','compress','document','cloudServices.bundleVersion','__className','_knownOperations','11VTXrqo','14262520cBRRtb','sessionAdd:','state','realtimecollaborationclient-sendbufferedoperations','10qgNLcY','getIdOfTheLastOperation','entries','clone','addUser','length','_decompressOperations','position','_refreshUserSelectionMarkers','_bufferedOperations','getUser','rtc-offline','409','_loadRoot','isReadOnly','real-time-collaboration','sendOperations','affectedSelectable','differ','_pendingAction','isPremiumPlugin','selection','forEach','suppressErrorInCollaboration','reconnect','wereChangesApplied','parse','move','addToReconnectionStack','_handleReconnectionError','realtimecollaborationclient-init-service-internal-error','showWarning','isOfficialPlugin','enableReadOnlyMode','listenTo','addOperation','document:write','change:_isEditingAllowed','rootsAttributes','_getOperationsFromInitData','pluginName','has','message','_handleInitialConnectionData','init','affectsData'];_0x562d=function(){return _0x2deeb7;};return _0x562d();}import{Notification as _0x2eac20}from'ckeditor5/src/ui.js';import{transformSets as _0x44e73f,NoOperation as _0x49c303,InsertOperation as _0x27e218,MarkerOperation as _0x4e5264,RootAttributeOperation as _0x60382b,OperationFactory as _0x4ffa25,History as _0x135e82}from'ckeditor5/src/engine.js';import _0x12ab0e from'./websocketgateway.js';import _0x2bd27b from'./sessions.js';function _0x3691(_0x2d96f7,_0x35e5ff){const _0x562d1e=_0x562d();return _0x3691=function(_0x369172,_0x4d4564){_0x369172=_0x369172-0x1f2;let _0x113527=_0x562d1e[_0x369172];return _0x113527;},_0x3691(_0x2d96f7,_0x35e5ff);}import _0x2c626b from'./usermarkers.js';import{getTranslation as _0x23916f}from'../common-translations.js';import{Compressor as _0x1571e8}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2b18b4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x36a0df,CollaborativeEditingService as _0x2eaf7f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;class l extends _0x28589a{static [_0x93aba1(0x2c4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2eaf7f)());[_0x93aba1(0x2a3)];[_0x93aba1(0x2d2)];[_0x93aba1(0x25b)];[_0x93aba1(0x28c)];[_0x93aba1(0x25d)];[_0x93aba1(0x2e2)];[_0x93aba1(0x2ad)];[_0x93aba1(0x1f4)];[_0x93aba1(0x2ec)];[_0x93aba1(0x2bd)];[_0x93aba1(0x1fe)];[_0x93aba1(0x21f)];[_0x93aba1(0x253)];[_0x93aba1(0x29f)];[_0x93aba1(0x25a)];[_0x93aba1(0x2e5)];[_0x93aba1(0x2b5)];[_0x93aba1(0x266)];static get[_0x93aba1(0x282)](){return[_0x12ab0e,_0x2bd27b,_0x2c626b,_0x4633e7,_0x2b18b4,_0x2eac20];}static get[_0x93aba1(0x213)](){const _0x5b21db=_0x93aba1;return _0x5b21db(0x220);}static get[_0x93aba1(0x20b)](){return!0x0;}static get[_0x93aba1(0x1ff)](){return!0x0;}get[_0x93aba1(0x22d)](){const _0x3eb4a4=_0x93aba1;return this[_0x3eb4a4(0x2cf)]+this[_0x3eb4a4(0x2a3)];}get[_0x93aba1(0x2cf)](){const _0x2a9137=_0x93aba1;return this[_0x2a9137(0x25b)][_0x2a9137(0x290)]-this[_0x2a9137(0x2a3)];}get[_0x93aba1(0x2aa)](){const _0x417653=_0x93aba1,_0x21a749=this[_0x417653(0x25b)][_0x417653(0x2d3)]();for(let _0x46b9d5=_0x21a749[_0x417653(0x2f7)]-0x1;_0x46b9d5>=0x0;_0x46b9d5--){const _0x2edd0f=_0x21a749[_0x46b9d5];if(!this[_0x417653(0x2b5)][_0x417653(0x214)](_0x2edd0f))return _0x2edd0f[_0x417653(0x2db)]+0x1-this[_0x417653(0x2a3)];}return 0x0;}constructor(_0x35389b){const _0x1d2d3b=_0x93aba1;if(super(_0x35389b),this[_0x1d2d3b(0x2a3)]=0x0,this[_0x1d2d3b(0x2d2)]=null,this[_0x1d2d3b(0x25b)]=new _0x135e82(),this[_0x1d2d3b(0x2ab)][_0x1d2d3b(0x2c3)][_0x1d2d3b(0x24b)](_0x1d2d3b(0x26f),{}),this[_0x1d2d3b(0x28c)]=this[_0x1d2d3b(0x2ab)][_0x1d2d3b(0x2c3)][_0x1d2d3b(0x2b7)](_0x1d2d3b(0x2d5)),!this[_0x1d2d3b(0x28c)])throw new _0x2019b6(_0x1d2d3b(0x27e),this);const _0x24b4fc=_0x35389b[_0x1d2d3b(0x2c3)][_0x1d2d3b(0x2b7)](_0x1d2d3b(0x2ea))||_0x330789;this[_0x1d2d3b(0x25d)]=new l[(_0x1d2d3b(0x2c4))](_0x24b4fc,this[_0x1d2d3b(0x28c)]),this[_0x1d2d3b(0x2e2)]=this[_0x1d2d3b(0x2ab)][_0x1d2d3b(0x2e6)][_0x1d2d3b(0x2e9)],this[_0x1d2d3b(0x2ad)]=new _0x1571e8(),this[_0x1d2d3b(0x1f4)]=[],this[_0x1d2d3b(0x2ec)]=new WeakSet(),this[_0x1d2d3b(0x2bd)]=new Set(),this[_0x1d2d3b(0x28f)](_0x1d2d3b(0x24c),!0x1),this[_0x1d2d3b(0x28f)](_0x1d2d3b(0x26d),!0x1),this[_0x1d2d3b(0x1fe)]=null,this[_0x1d2d3b(0x21f)]=!0x1,this[_0x1d2d3b(0x253)]=null,this[_0x1d2d3b(0x29f)]=0x12c,this[_0x1d2d3b(0x25a)]=this[_0x1d2d3b(0x29f)],this[_0x1d2d3b(0x2e5)]=null,this[_0x1d2d3b(0x2b5)]=new WeakSet(),this[_0x1d2d3b(0x266)]=new st(this[_0x1d2d3b(0x2b5)]);}[_0x93aba1(0x217)](){const _0x1003a9=_0x93aba1,_0x1d39de=this[_0x1003a9(0x2ab)],_0x171abf=_0x1d39de[_0x1003a9(0x268)][_0x1003a9(0x2b7)](_0x2b18b4),_0x1f9e52=_0x1d39de[_0x1003a9(0x268)][_0x1003a9(0x2b7)](_0x12ab0e);this[_0x1003a9(0x20d)](_0x171abf,_0x1003a9(0x242),(_0x6d2334,_0x24c151)=>{const _0x45e0a3=_0x1003a9,_0x17eb0c=_0x24c151[0x0];_0x17eb0c[_0x45e0a3(0x280)]&&(_0x6d2334[_0x45e0a3(0x293)]=_0x171abf[_0x45e0a3(0x1f5)](_0x17eb0c[_0x45e0a3(0x280)]),_0x6d2334[_0x45e0a3(0x254)]()),null===_0x17eb0c[_0x45e0a3(0x280)]&&(_0x6d2334[_0x45e0a3(0x293)]=null,_0x6d2334[_0x45e0a3(0x254)]());},{'priority':_0x1003a9(0x277)}),this[_0x1003a9(0x20d)](_0x1d39de[_0x1003a9(0x2e6)][_0x1003a9(0x2e9)][_0x1003a9(0x200)],_0x1003a9(0x240),(_0x923c88,_0x271666)=>{const _0x53cd5b=_0x1003a9;_0x271666[_0x53cd5b(0x2bf)]&&this[_0x53cd5b(0x1f3)]();}),this[_0x1003a9(0x20d)](_0x1d39de[_0x1003a9(0x264)][_0x1003a9(0x286)],_0x1003a9(0x251),()=>{const _0x4b6444=_0x1003a9;this[_0x4b6444(0x1f3)]();}),this[_0x1003a9(0x2b9)](),_0x1d39de[_0x1003a9(0x2e6)]['on'](_0x1003a9(0x243),(_0x4ab055,_0x142c35)=>{const _0x377fe1=_0x1003a9,_0x5e7a18=_0x142c35[0x0];_0x5e7a18[_0x377fe1(0x233)]&&(this[_0x377fe1(0x234)](_0x5e7a18),this[_0x377fe1(0x252)]()&&this[_0x377fe1(0x23f)]());}),this[_0x1003a9(0x2e3)](),this[_0x1003a9(0x2c9)](_0x1003a9(0x22b))['to'](_0x1f9e52,_0x1003a9(0x2f0),this,_0x1003a9(0x26d),(_0x30f032,_0x55730d)=>_0x1003a9(0x23c)===_0x30f032&&!_0x55730d),this['on'](_0x1003a9(0x210),()=>{const _0x957626=_0x1003a9;this[_0x957626(0x22b)]?_0x1d39de[_0x957626(0x2c6)](_0x957626(0x1f6)):_0x1d39de[_0x957626(0x20c)](_0x957626(0x1f6));}),this[_0x1003a9(0x22b)]?_0x1d39de[_0x1003a9(0x2c6)](_0x1003a9(0x1f6)):_0x1d39de[_0x1003a9(0x20c)](_0x1003a9(0x1f6)),this[_0x1003a9(0x28f)](_0x1003a9(0x285),!0x1);}async[_0x93aba1(0x203)](){const _0x1c5326=_0x93aba1,_0xe71898=this[_0x1c5326(0x2ab)][_0x1c5326(0x268)][_0x1c5326(0x2b7)](_0x2bd27b),_0x354f46=this[_0x1c5326(0x2ab)][_0x1c5326(0x268)][_0x1c5326(0x2b7)](_0x12ab0e);try{this[_0x1c5326(0x24c)]=!0x0,_0xe71898[_0x1c5326(0x29b)](this[_0x1c5326(0x28c)]);const _0x50f408=await this[_0x1c5326(0x25d)][_0x1c5326(0x203)](_0x354f46[_0x1c5326(0x2b2)],this[_0x1c5326(0x2aa)]);await this[_0x1c5326(0x295)](_0x50f408)&&(this[_0x1c5326(0x24c)]=!0x1,this[_0x1c5326(0x2d0)]());const _0x4f48fc=await this[_0x1c5326(0x25d)][_0x1c5326(0x2c8)]();_0xe71898[_0x1c5326(0x24e)](this[_0x1c5326(0x28c)],_0x4f48fc),this[_0x1c5326(0x2a8)](),this[_0x1c5326(0x285)]=!0x0;}catch(_0x2e05b9){if(function(_0xfa62d0){const _0x4b9bb8=_0x1c5326;return _0x4b9bb8(0x260)===_0xfa62d0[_0x4b9bb8(0x2d4)];}(_0x2e05b9)&&this[_0x1c5326(0x2d2)])await this[_0x1c5326(0x25c)]();else{if(function(_0xb5802a){const _0x9141ce=_0x1c5326;return _0x9141ce(0x1f7)===_0xb5802a[_0x9141ce(0x2d4)];}(_0x2e05b9)){const _0x48f8d1=_0x23916f(this[_0x1c5326(0x2ab)][_0x1c5326(0x283)],_0x1c5326(0x275));this[_0x1c5326(0x208)](_0x48f8d1);}else{if(!(_0x2e05b9 instanceof tt))throw _0x2e05b9;this[_0x1c5326(0x208)]();}}}}[_0x93aba1(0x250)](){const _0x56992d=_0x93aba1,_0x5476b5=this[_0x56992d(0x2ab)][_0x56992d(0x268)][_0x56992d(0x2b7)](_0x12ab0e),_0x175d17=this[_0x56992d(0x2ab)][_0x56992d(0x268)][_0x56992d(0x2b7)](_0x2bd27b);this[_0x56992d(0x2ab)][_0x56992d(0x20c)](_0x56992d(0x28b)),_0x175d17[_0x56992d(0x2d1)][_0x56992d(0x214)](this[_0x56992d(0x28c)])&&_0x175d17[_0x56992d(0x29b)](this[_0x56992d(0x28c)]),_0x5476b5[_0x56992d(0x246)](this),this[_0x56992d(0x241)](),super[_0x56992d(0x250)]();}async[_0x93aba1(0x295)](_0x55ff90){const _0x526fe9=_0x93aba1;if(this[_0x526fe9(0x2d2)]!==_0x55ff90[_0x526fe9(0x2d2)]&&this[_0x526fe9(0x2e5)]!==_0x55ff90[_0x526fe9(0x22e)])throw new tt();return this[_0x526fe9(0x2d2)]=_0x55ff90[_0x526fe9(0x2d2)],this[_0x526fe9(0x2c5)]([],{..._0x55ff90,'wereChangesApplied':!0x1,'data':_0x55ff90[_0x526fe9(0x287)]},_0x526fe9(0x203));}async[_0x93aba1(0x258)](_0x395a43,_0x7e795c=!0x1){const _0x57db1e=_0x93aba1,{connection:_0x5aa6c1}=this[_0x57db1e(0x2ab)][_0x57db1e(0x268)][_0x57db1e(0x2b7)](_0x12ab0e);l[_0x57db1e(0x2c4)][_0x57db1e(0x2c8)](_0x5aa6c1,this[_0x57db1e(0x28c)])[_0x57db1e(0x23e)](_0x643bff=>this[_0x57db1e(0x25f)](_0x643bff))[_0x57db1e(0x2a0)](_0x5bec7c=>{const _0x584abd=_0x57db1e;this[_0x584abd(0x2a9)](_0x584abd(0x2c2),_0x5bec7c);}),this[_0x57db1e(0x20d)](this[_0x57db1e(0x25d)],_0x57db1e(0x2e4),this[_0x57db1e(0x26a)][_0x57db1e(0x2c9)](this)),this[_0x57db1e(0x20d)](this[_0x57db1e(0x25d)],_0x57db1e(0x247),(_0x3eb6e9,_0xdf6e0f)=>{const _0x48fcec=_0x57db1e;this[_0x48fcec(0x2a9)](_0x48fcec(0x209),_0xdf6e0f);}),this[_0x57db1e(0x20d)](this[_0x57db1e(0x25d)],_0x57db1e(0x222),()=>{const _0x456e9d=_0x57db1e;this[_0x456e9d(0x285)]=!0x1;});const _0x4f9284=this[_0x57db1e(0x266)][_0x57db1e(0x2f3)](_0x395a43);this[_0x57db1e(0x24c)]=!0x0;const _0x32a49a=await this[_0x57db1e(0x25d)][_0x57db1e(0x2d7)](_0x5aa6c1,this[_0x57db1e(0x21a)](_0x395a43),_0x4f9284);if(this[_0x57db1e(0x2d2)]=_0x32a49a[_0x57db1e(0x2d2)],_0x7e795c){if(!_0x32a49a[_0x57db1e(0x204)])return void this[_0x57db1e(0x208)]();this[_0x57db1e(0x24c)]=!0x1,this[_0x57db1e(0x2d0)](),this[_0x57db1e(0x25b)][_0x57db1e(0x27d)](),this[_0x57db1e(0x2a3)]=_0x32a49a[_0x57db1e(0x27b)],this[_0x57db1e(0x25b)][_0x57db1e(0x290)]=this[_0x57db1e(0x2a3)],await this[_0x57db1e(0x2c5)](_0x395a43,_0x32a49a,_0x57db1e(0x2a5));}else await this[_0x57db1e(0x216)](_0x32a49a,_0x395a43);this[_0x57db1e(0x2a8)](),this[_0x57db1e(0x285)]=!0x0;}[_0x93aba1(0x2a8)](){const _0x470116=_0x93aba1,_0x2d4270=this[_0x470116(0x2ab)][_0x470116(0x268)][_0x470116(0x2b7)](_0x2bd27b),_0x4af963=this[_0x470116(0x2ab)][_0x470116(0x268)][_0x470116(0x2b7)](_0x2c626b),_0x17b24f=_0x2d4270[_0x470116(0x2d1)][_0x470116(0x2b7)](this[_0x470116(0x28c)]);_0x17b24f&&_0x17b24f[_0x470116(0x2f7)]>0x1?_0x4af963[_0x470116(0x2de)]():this[_0x470116(0x20d)](_0x2d4270,_0x470116(0x2ef)+this[_0x470116(0x28c)],()=>{const _0x262bcd=_0x470116;0x2===_0x2d4270[_0x262bcd(0x2d1)][_0x262bcd(0x2b7)](this[_0x262bcd(0x28c)])[_0x262bcd(0x2f7)]&&_0x4af963[_0x262bcd(0x2de)]();});}async[_0x93aba1(0x26a)](_0x3d8f85,_0x2535e1,_0x4dffff,_0x5062cb){const _0x5d7cf8=_0x93aba1;if(!this[_0x5d7cf8(0x24c)]&&this[_0x5d7cf8(0x2e2)][_0x5d7cf8(0x290)]==_0x2535e1){const _0x1d8cff=this[_0x5d7cf8(0x2f8)](_0x4dffff,_0x5062cb);await this[_0x5d7cf8(0x291)](_0x1d8cff),this[_0x5d7cf8(0x270)](_0x1d8cff,_0x2535e1,_0x4dffff[_0x5d7cf8(0x22e)])||this[_0x5d7cf8(0x2a9)](_0x5d7cf8(0x248));}}async[_0x93aba1(0x25c)](){const _0xd4b4ba=_0x93aba1;this[_0xd4b4ba(0x241)]();const {locale:_0x3f68e5}=this[_0xd4b4ba(0x2ab)];let _0x1f8fc5;try{_0x1f8fc5=await this[_0xd4b4ba(0x25d)][_0xd4b4ba(0x2da)]();}catch(_0x40c1cb){const _0xa4d554=_0x23916f(_0x3f68e5,_0xd4b4ba(0x2bc));return void this[_0xd4b4ba(0x208)](_0xa4d554);}const _0x327d69=_0x1f8fc5[_0xd4b4ba(0x2b3)]||_0x1f8fc5[_0xd4b4ba(0x21d)];if(this[_0xd4b4ba(0x2e5)]===_0x327d69[_0xd4b4ba(0x22e)])await this[_0xd4b4ba(0x258)](this[_0xd4b4ba(0x2ab)][_0xd4b4ba(0x2e6)][_0xd4b4ba(0x2e9)][_0xd4b4ba(0x2c7)][_0xd4b4ba(0x2d3)](),!0x0);else{const _0x1ed409=_0x23916f(_0x3f68e5,_0xd4b4ba(0x2ce));this[_0xd4b4ba(0x208)](_0x1ed409);}}[_0x93aba1(0x241)](){const _0x415686=_0x93aba1;this[_0x415686(0x25d)][_0x415686(0x2d6)](),this[_0x415686(0x1f4)]=[],clearTimeout(this[_0x415686(0x253)]),this[_0x415686(0x269)](this[_0x415686(0x25d)]);}[_0x93aba1(0x25f)](_0x593433){const _0x1b8d93=_0x93aba1,_0x57a6df=this[_0x1b8d93(0x2ab)][_0x1b8d93(0x268)][_0x1b8d93(0x2b7)](_0x2bd27b);this[_0x1b8d93(0x20d)](_0x57a6df,_0x1b8d93(0x2ef)+this[_0x1b8d93(0x28c)],(_0x39689e,{session:_0x8fe96a})=>{const _0x2f898f=_0x1b8d93;if(_0x8fe96a['id']===_0x57a6df[_0x2f898f(0x294)]){_0x39689e[_0x2f898f(0x223)]();const _0x394bcd=this[_0x2f898f(0x2ab)][_0x2f898f(0x268)][_0x2f898f(0x214)](_0x2f898f(0x2c1))&&this[_0x2f898f(0x2ab)][_0x2f898f(0x268)][_0x2f898f(0x2b7)](_0x2f898f(0x2c1));let _0x197f1e=_0x8fe96a[_0x2f898f(0x298)];_0x394bcd&&_0x394bcd[_0x2f898f(0x276)]&&(_0x197f1e=_0x197f1e[_0x2f898f(0x221)](_0x491ad7=>_0x2f898f(0x20f)!==_0x491ad7)),this[_0x2f898f(0x2ab)][_0x2f898f(0x268)][_0x2f898f(0x2b7)](_0x2f898f(0x27a))[_0x2f898f(0x29e)](_0x197f1e,this[_0x2f898f(0x28c)]);}}),_0x57a6df[_0x1b8d93(0x24e)](this[_0x1b8d93(0x28c)],_0x593433);}[_0x93aba1(0x2b9)](){const _0x306bb1=_0x93aba1,_0x3d47d2=this[_0x306bb1(0x2ab)][_0x306bb1(0x287)][_0x306bb1(0x28f)];this[_0x306bb1(0x2ab)][_0x306bb1(0x287)][_0x306bb1(0x28f)]=(..._0x5f0647)=>{const _0x452c02=_0x306bb1;if(!_0x5f0647[_0x5f0647[_0x452c02(0x2f7)]-0x1][_0x452c02(0x202)])throw new _0x2019b6(_0x452c02(0x239),this);_0x3d47d2[_0x452c02(0x2a1)](this[_0x452c02(0x2ab)][_0x452c02(0x287)],_0x5f0647);};}[_0x93aba1(0x2e3)](){const _0x5cf103=_0x93aba1;this[_0x5cf103(0x2ab)][_0x5cf103(0x287)]['on'](_0x5cf103(0x217),(_0x4e536e,[_0x241691])=>{const _0x3f29fe=_0x5cf103;if(this[_0x3f29fe(0x2e2)][_0x3f29fe(0x290)])throw new _0x2019b6(_0x3f29fe(0x24d),this);_0x4e536e[_0x3f29fe(0x254)](),this[_0x3f29fe(0x28e)]();const _0x7e37fc=this[_0x3f29fe(0x2ab)][_0x3f29fe(0x2c3)][_0x3f29fe(0x2b7)](_0x3f29fe(0x211)),_0x33cabf=this[_0x3f29fe(0x212)](_0x241691,_0x7e37fc);0x0==_0x33cabf[_0x3f29fe(0x2f7)]&&_0x33cabf[_0x3f29fe(0x219)](new _0x49c303(0x0)),_0x4e536e[_0x3f29fe(0x293)]=this[_0x3f29fe(0x258)](_0x33cabf)[_0x3f29fe(0x23e)](()=>{const _0x19e1d9=_0x3f29fe;this[_0x19e1d9(0x2ab)][_0x19e1d9(0x268)][_0x19e1d9(0x2b7)](_0x12ab0e)[_0x19e1d9(0x207)](this),this[_0x19e1d9(0x2ab)][_0x19e1d9(0x287)][_0x19e1d9(0x227)](_0x19e1d9(0x23b));})[_0x3f29fe(0x2a0)](_0x38d730=>this[_0x3f29fe(0x2a9)](_0x3f29fe(0x21b),_0x38d730))[_0x3f29fe(0x237)](()=>this[_0x3f29fe(0x2d0)]());},{'priority':_0x5cf103(0x277)}),this[_0x5cf103(0x2ab)]['on'](_0x5cf103(0x244),async(_0x4854c9,[_0x4070ac,_0x375bfc])=>{const _0xa735e=_0x5cf103;_0x4854c9[_0xa735e(0x254)]();const _0x2b0b24=this[_0xa735e(0x2ab)][_0xa735e(0x2e6)][_0xa735e(0x2e9)][_0xa735e(0x265)](_0x4070ac);if(!this[_0xa735e(0x2bd)][_0xa735e(0x214)](_0x4070ac)){const _0x53b28a=_0x375bfc&&_0x375bfc[_0xa735e(0x287)]?_0x375bfc[_0xa735e(0x287)]:'',_0x413565=_0x375bfc&&_0x375bfc[_0xa735e(0x22f)]?_0x375bfc[_0xa735e(0x22f)]:{};await this[_0xa735e(0x1f8)](_0x4070ac,_0x53b28a,_0x413565);}this[_0xa735e(0x2ab)][_0xa735e(0x2e6)][_0xa735e(0x21c)]({'isUndoable':!0x1},()=>{const _0x3d466e=_0xa735e;_0x2b0b24[_0x3d466e(0x26b)]=!0x0,this[_0x3d466e(0x2ab)][_0x3d466e(0x2e6)][_0x3d466e(0x2e9)][_0x3d466e(0x1fd)][_0x3d466e(0x2bb)](_0x2b0b24);});},{'priority':_0x5cf103(0x277)});}async[_0x93aba1(0x291)](_0x32346e){const _0xa59428=_0x93aba1,_0x3be1aa=this[_0xa59428(0x2ab)][_0xa59428(0x268)][_0xa59428(0x2b7)](_0x2b18b4),{connection:_0x19a5ac}=this[_0xa59428(0x2ab)][_0xa59428(0x268)][_0xa59428(0x2b7)](_0x12ab0e),_0x399e57=new Set();for(const _0x46d4d9 of _0x32346e){const _0x2d39a1=_0x46d4d9[_0xa59428(0x280)];_0x2d39a1&&!_0x3be1aa[_0xa59428(0x1f5)](_0x2d39a1)&&_0x399e57[_0xa59428(0x2e1)](_0x2d39a1);}if(0x0===_0x399e57[_0xa59428(0x2b4)])return;const _0x4f421f=await _0x36a0df[_0xa59428(0x27c)](_0x19a5ac,Array[_0xa59428(0x2c0)](_0x399e57));for(const _0x2fd6f6 of _0x4f421f)_0x3be1aa[_0xa59428(0x1f5)](_0x2fd6f6['id'])||_0x3be1aa[_0xa59428(0x2f6)](_0x2fd6f6);}[_0x93aba1(0x212)](_0x4f3e1b,_0x166e39={}){const _0x4a429c=_0x93aba1,_0x36e334=this[_0x4a429c(0x2ab)][_0x4a429c(0x2e6)],_0x539b17=[];let _0x40bafb=0x0;const _0x229331=_0x4a429c(0x228)==typeof _0x4f3e1b?{'main':_0x4f3e1b}:_0x4f3e1b;for(const _0x158e23 of Object[_0x4a429c(0x289)](_0x229331)){if(!this[_0x4a429c(0x2e2)][_0x4a429c(0x2e7)][_0x4a429c(0x214)](_0x158e23))throw new _0x2019b6(_0x4a429c(0x2cb),this);const _0x2fcbf3=this[_0x4a429c(0x2ab)][_0x4a429c(0x287)][_0x4a429c(0x205)](_0x229331[_0x158e23]),_0x5a4f3a=this[_0x4a429c(0x2e2)][_0x4a429c(0x265)](_0x158e23),_0x516492=new _0x27e218(_0x36e334[_0x4a429c(0x255)](_0x5a4f3a,0x0),_0x2fcbf3,_0x40bafb++);_0x539b17[_0x4a429c(0x219)](_0x516492);for(const [_0x44d034,_0x221762]of _0x2fcbf3[_0x4a429c(0x2a6)]){const _0x1b958d=_0x36e334[_0x4a429c(0x296)](_0x36e334[_0x4a429c(0x2af)](_0x5a4f3a,_0x221762[_0x4a429c(0x2d8)][_0x4a429c(0x226)][_0x4a429c(0x232)]()),_0x36e334[_0x4a429c(0x2af)](_0x5a4f3a,_0x221762[_0x4a429c(0x2b6)][_0x4a429c(0x226)][_0x4a429c(0x232)]())),_0x281416=new _0x4e5264(_0x44d034,null,_0x1b958d,_0x36e334[_0x4a429c(0x2a6)],!0x0,_0x40bafb++);_0x539b17[_0x4a429c(0x219)](_0x281416);}}if(_0x166e39)for(const [_0x158e85,_0x440c67]of Object[_0x4a429c(0x2f4)](_0x166e39)){const _0x482f12=_0x36e334[_0x4a429c(0x2e9)][_0x4a429c(0x265)](_0x158e85);if(!_0x482f12)throw new _0x2019b6(_0x4a429c(0x261),null);for(const [_0x43d136,_0x2a5d4c]of Object[_0x4a429c(0x2f4)](_0x440c67))if(null!==_0x2a5d4c){const _0x1385b4=new _0x60382b(_0x482f12,_0x43d136,null,_0x2a5d4c,_0x40bafb++);_0x539b17[_0x4a429c(0x219)](_0x1385b4);}}return _0x539b17;}async[_0x93aba1(0x1f8)](_0x1987ab,_0x5321f7,_0x1c464a){const _0x3e83a2=_0x93aba1;this[_0x3e83a2(0x212)]({[_0x1987ab]:_0x5321f7},{[_0x1987ab]:_0x1c464a})[_0x3e83a2(0x201)]((_0x386f91,_0x3bb24c)=>{const _0x196c4f=_0x3e83a2;_0x386f91[_0x196c4f(0x2db)]=this[_0x196c4f(0x2e2)][_0x196c4f(0x290)]+_0x3bb24c,_0x386f91[_0x196c4f(0x2ca)]=!0x0,this[_0x196c4f(0x234)](_0x386f91);}),this[_0x3e83a2(0x23f)](),await this[_0x3e83a2(0x24a)]();}async[_0x93aba1(0x216)](_0x51a5f5,_0x1bc05e){const _0x27888e=_0x93aba1;let _0x1ca59b;this[_0x27888e(0x2a3)]=_0x51a5f5[_0x27888e(0x27b)];const _0x1e9679=_0x51a5f5[_0x27888e(0x204)]&&!_0x51a5f5[_0x27888e(0x235)],_0x57b77e=_0x1e9679?0x0:_0x51a5f5[_0x27888e(0x287)][_0x27888e(0x2db)];if(_0x1bc05e[_0x27888e(0x201)](_0x54248c=>{const _0x483e1a=_0x27888e;_0x54248c[_0x483e1a(0x2ca)]=!0x0,_0x54248c[_0x483e1a(0x2b0)]=_0x51a5f5[_0x483e1a(0x2b1)],_0x54248c[_0x483e1a(0x280)]=null;}),_0x1e9679)_0x1ca59b=_0x1bc05e,this[_0x27888e(0x231)](_0x1ca59b,_0x1e9679);else{if(_0x51a5f5[_0x27888e(0x235)]){const _0x12483d=this[_0x27888e(0x212)](_0x51a5f5[_0x27888e(0x235)]);this[_0x27888e(0x2e2)][_0x27888e(0x2c7)][_0x27888e(0x290)]=-_0x12483d[_0x27888e(0x2f7)],_0x12483d[_0x27888e(0x201)](_0x5620fb=>{const _0x4b9eff=_0x27888e;_0x5620fb[_0x4b9eff(0x2db)]-=_0x12483d[_0x4b9eff(0x2f7)],_0x5620fb[_0x4b9eff(0x2b0)]=_0x51a5f5[_0x4b9eff(0x2b1)],_0x5620fb[_0x4b9eff(0x2ca)]=!0x0,_0x5620fb[_0x4b9eff(0x280)]=null;}),this[_0x27888e(0x231)](_0x12483d,!0x0),this[_0x27888e(0x25b)][_0x27888e(0x290)]=-_0x12483d[_0x27888e(0x2f7)]+this[_0x27888e(0x2a3)],this[_0x27888e(0x292)](_0x12483d);}this[_0x27888e(0x2e2)][_0x27888e(0x2c7)][_0x27888e(0x290)]=_0x57b77e,_0x1ca59b=this[_0x27888e(0x2f8)](_0x51a5f5[_0x27888e(0x287)],_0x51a5f5[_0x27888e(0x2ac)]),await this[_0x27888e(0x291)](_0x1ca59b),this[_0x27888e(0x231)](_0x1ca59b,_0x1e9679);}_0x51a5f5[_0x27888e(0x22e)]&&(this[_0x27888e(0x266)][_0x27888e(0x267)](_0x1ca59b,_0x51a5f5[_0x27888e(0x22e)]),this[_0x27888e(0x2e5)]=_0x51a5f5[_0x27888e(0x22e)]),this[_0x27888e(0x25b)][_0x27888e(0x290)]=_0x57b77e+this[_0x27888e(0x2a3)],this[_0x27888e(0x292)](_0x1ca59b),_0x1bc05e[_0x27888e(0x221)](_0x511f08=>{const _0xae97dd=_0x27888e,_0x272e76=this[_0xae97dd(0x2cc)](_0x511f08);return _0x272e76&&!this[_0xae97dd(0x2bd)][_0xae97dd(0x214)](_0x272e76);})[_0x27888e(0x201)]((_0x53e4bd,_0x3c9466)=>{const _0x41782a=_0x27888e;_0x53e4bd[_0x41782a(0x2db)]=this[_0x41782a(0x2e2)][_0x41782a(0x290)]+_0x3c9466,this[_0x41782a(0x234)](_0x53e4bd);}),this[_0x27888e(0x252)]()?(this[_0x27888e(0x25a)]=0x0,this[_0x27888e(0x23f)](!0x0),await this[_0x27888e(0x24a)]()):(this[_0x27888e(0x24c)]=!0x1,this[_0x27888e(0x2d0)]());}[_0x93aba1(0x2a9)](_0x4d18be,_0x21496e){const _0xbc2d1f=_0x93aba1,_0x7a68e3=_0x21496e&&_0x21496e[_0xbc2d1f(0x215)];if(_0x7a68e3&&_0x7a68e3[_0xbc2d1f(0x249)](_0xbc2d1f(0x23a)))throw _0x21496e;const _0x535286=this[_0xbc2d1f(0x2ab)][_0xbc2d1f(0x268)][_0xbc2d1f(0x2b7)](_0x12ab0e);throw this[_0xbc2d1f(0x24c)]=!0x0,_0x535286[_0xbc2d1f(0x2d6)](),this[_0xbc2d1f(0x2ab)][_0xbc2d1f(0x20c)](_0xbc2d1f(0x2e0)),new _0x2019b6(_0x4d18be,this[_0xbc2d1f(0x2ab)],_0x7a68e3?{'originalError':_0x7a68e3}:void 0x0);}[_0x93aba1(0x234)](_0x4895a6){const _0x36a406=_0x93aba1;this[_0x36a406(0x2ec)][_0x36a406(0x214)](_0x4895a6)||(this[_0x36a406(0x2ec)][_0x36a406(0x2e1)](_0x4895a6),this[_0x36a406(0x1f4)][_0x36a406(0x219)](_0x4895a6),this[_0x36a406(0x1fe)]||_0x36a406(0x274)==_0x4895a6[_0x36a406(0x28a)]&&!_0x4895a6[_0x36a406(0x218)]||this[_0x36a406(0x28e)]());}[_0x93aba1(0x23f)](_0x278c65=!0x1){const _0x922a9b=_0x93aba1;!_0x278c65&&this[_0x922a9b(0x24c)]||(this[_0x922a9b(0x24c)]=!0x0,clearTimeout(this[_0x922a9b(0x253)]),this[_0x922a9b(0x253)]=setTimeout(()=>{const _0x327d55=_0x922a9b;this[_0x327d55(0x26e)]()[_0x327d55(0x23e)](_0x521f63=>{const _0xbe7245=_0x327d55;_0x521f63&&(this[_0xbe7245(0x2d0)](),this[_0xbe7245(0x24c)]=!0x1);})[_0x327d55(0x2a0)](_0x298609=>{const _0x45406b=_0x327d55;this[_0x45406b(0x2d0)](),this[_0x45406b(0x24c)]=!0x1,function(_0x7ddd7d){const _0x2fa5e3=_0x45406b;return _0x7ddd7d[_0x2fa5e3(0x215)][_0x2fa5e3(0x249)](_0x2fa5e3(0x29c))||_0x7ddd7d[_0x2fa5e3(0x215)][_0x2fa5e3(0x249)](_0x2fa5e3(0x262))||_0x7ddd7d[_0x2fa5e3(0x215)][_0x2fa5e3(0x249)](_0x2fa5e3(0x2a7));}(_0x298609)||this[_0x45406b(0x2a9)](_0x298609[_0x45406b(0x215)],_0x298609);});},this[_0x922a9b(0x25a)]));}[_0x93aba1(0x24a)](){return new Promise(_0x54d604=>{const _0x3bc063=_0x3691;this['on'](_0x3bc063(0x2cd),()=>{_0x54d604();});});}async[_0x93aba1(0x26e)](){const _0x89b4c=_0x93aba1,_0x16b9fe=this[_0x89b4c(0x2ab)][_0x89b4c(0x268)][_0x89b4c(0x2b7)](_0x2c626b);if(this[_0x89b4c(0x2b8)]()&&(_0x16b9fe[_0x89b4c(0x2de)](),this[_0x89b4c(0x21f)]=!0x1),!this[_0x89b4c(0x252)]())return!0x0;const _0x2d9912=[...this[_0x89b4c(0x1f4)]];for(const _0x574408 of _0x2d9912)_0x574408[_0x89b4c(0x2a2)]=this[_0x89b4c(0x2e2)][_0x89b4c(0x2c7)][_0x89b4c(0x2d9)](_0x574408);const _0x48f847=this[_0x89b4c(0x266)][_0x89b4c(0x2f3)](_0x2d9912),_0x1ccc6c=Z++,_0x44a067=this[_0x89b4c(0x21a)](_0x2d9912),_0x4240bb=await this[_0x89b4c(0x25d)][_0x89b4c(0x1fb)](_0x44a067,_0x44a067[_0x89b4c(0x2db)],_0x48f847);try{return await this[_0x89b4c(0x2c5)](_0x2d9912,_0x4240bb,_0x1ccc6c);}catch(_0x216814){return this[_0x89b4c(0x2a9)](_0x89b4c(0x2f1),_0x216814);}}async[_0x93aba1(0x2c5)](_0x552b61,_0x1ea35a,_0x369090){const _0x2e5211=_0x93aba1;if(_0x2e5211(0x247)in _0x1ea35a)throw _0x1ea35a[_0x2e5211(0x247)];let _0x5b84e3=!0x1;if(_0x1ea35a[_0x2e5211(0x204)]){_0x1ea35a[_0x2e5211(0x22e)]&&(this[_0x2e5211(0x2e5)]=_0x1ea35a[_0x2e5211(0x22e)]),this[_0x2e5211(0x1f4)]=this[_0x2e5211(0x1f4)][_0x2e5211(0x221)](_0x4b6b8a=>!_0x552b61[_0x2e5211(0x25e)](_0x4b6b8a));for(const _0x27a013 of _0x552b61)_0x27a013[_0x2e5211(0x2b0)]=_0x2e5211(0x297)in _0x1ea35a&&_0x1ea35a[_0x2e5211(0x297)]||void 0x0;it(_0x552b61,_0x1ea35a[_0x2e5211(0x290)]-_0x552b61[_0x2e5211(0x2f7)]),this[_0x2e5211(0x292)](_0x552b61);const _0x2afb2d=_0x552b61[_0x2e5211(0x221)](_0x57edde=>{const _0x271728=_0x2e5211;if(!_0x57edde[_0x271728(0x2ca)])return!0x1;const _0x416a10=this[_0x271728(0x2cc)](_0x57edde);return _0x416a10&&!this[_0x271728(0x2bd)][_0x271728(0x214)](_0x416a10);});it(_0x2afb2d,this[_0x2e5211(0x2e2)][_0x2e5211(0x290)]),this[_0x2e5211(0x231)](_0x2afb2d),_0x5b84e3=!0x0,this[_0x2e5211(0x25a)]=this[_0x2e5211(0x29f)];}else{const _0x31e342=this[_0x2e5211(0x2f8)](_0x1ea35a[_0x2e5211(0x287)],_0x1ea35a[_0x2e5211(0x2ac)])[_0x2e5211(0x221)](_0x24a946=>_0x24a946[_0x2e5211(0x2db)]>=this[_0x2e5211(0x2cf)]);_0x31e342[_0x2e5211(0x201)](_0x34646f=>this[_0x2e5211(0x257)](_0x34646f)),this[_0x2e5211(0x1f4)]=this[_0x2e5211(0x1f4)][_0x2e5211(0x221)](_0x272ea3=>!_0x272ea3[_0x2e5211(0x2ca)]||!this[_0x2e5211(0x2bd)][_0x2e5211(0x214)](this[_0x2e5211(0x2cc)](_0x272ea3))),this[_0x2e5211(0x1f4)][_0x2e5211(0x2f7)]&&it(this[_0x2e5211(0x1f4)],this[_0x2e5211(0x1f4)][0x0][_0x2e5211(0x2db)]),await this[_0x2e5211(0x291)](_0x31e342),_0x5b84e3=this[_0x2e5211(0x270)](_0x31e342,_0x1ea35a[_0x2e5211(0x290)],_0x1ea35a[_0x2e5211(0x22e)]),this[_0x2e5211(0x25a)]=Math[_0x2e5211(0x238)](this[_0x2e5211(0x25a)]/0x2);}return _0x5b84e3?!this[_0x2e5211(0x252)]()||(this[_0x2e5211(0x23f)](!0x0),!0x1):this[_0x2e5211(0x2a9)](_0x2e5211(0x2ae));}[_0x93aba1(0x270)](_0x23dc74,_0x44f659,_0x3c23b2){const _0x1ae275=_0x93aba1;try{const _0x3dcb08={'document':this[_0x1ae275(0x2e2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4ba160,operationsB:_0xa5a6e5,originalOperations:_0x30b495}=_0x44e73f(_0x23dc74,this[_0x1ae275(0x1f4)],_0x3dcb08);it(_0x4ba160,this[_0x1ae275(0x2e2)][_0x1ae275(0x290)]),it(_0xa5a6e5,_0x44f659);for(const _0x3fce52 of _0x4ba160){const _0x455005=_0x30b495[_0x1ae275(0x2b7)](_0x3fce52);_0x3fce52[_0x1ae275(0x280)]=_0x455005?_0x455005[_0x1ae275(0x280)]:null;}_0x3c23b2&&(this[_0x1ae275(0x266)][_0x1ae275(0x267)](_0x23dc74,_0x3c23b2),this[_0x1ae275(0x2e5)]=_0x3c23b2),this[_0x1ae275(0x1f4)]=[..._0xa5a6e5],this[_0x1ae275(0x231)](_0x4ba160),this[_0x1ae275(0x292)](_0x23dc74);}catch(_0x4c4988){return console[_0x1ae275(0x247)](_0x4c4988),!0x1;}return!0x0;}[_0x93aba1(0x231)](_0x12ae00,_0x431d0f=!0x1){const _0x1a1bdc=_0x93aba1;this[_0x1a1bdc(0x2ab)][_0x1a1bdc(0x2e6)][_0x1a1bdc(0x21c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5cb2fc=>{const _0x27f293=_0x1a1bdc;for(const _0x8b6242 of _0x12ae00)this[_0x27f293(0x2ec)][_0x27f293(0x2e1)](_0x8b6242),this[_0x27f293(0x257)](_0x8b6242),_0x5cb2fc[_0x27f293(0x23d)][_0x27f293(0x20e)](_0x8b6242),this[_0x27f293(0x2ab)][_0x27f293(0x2e6)][_0x27f293(0x243)](_0x8b6242);});}[_0x93aba1(0x257)](_0x32dd3e){const _0x5a83a7=_0x93aba1,_0x1ab207=this[_0x5a83a7(0x2cc)](_0x32dd3e);_0x1ab207&&this[_0x5a83a7(0x2bd)][_0x5a83a7(0x2e1)](_0x1ab207);}[_0x93aba1(0x2cc)](_0x4813bb){const _0x5df399=_0x93aba1;let _0x3a10c2,_0xc91449;switch(_0x4813bb[_0x5df399(0x28a)]){case _0x5df399(0x2df):_0x3a10c2=_0x4813bb[_0x5df399(0x1f2)][_0x5df399(0x22a)];break;case _0x5df399(0x274):if(_0xc91449=_0x4813bb[_0x5df399(0x29a)],!_0xc91449)return null;_0x3a10c2=_0xc91449[_0x5df399(0x22a)];break;case _0x5df399(0x256):_0x3a10c2=_0x4813bb[_0x5df399(0x22a)];break;case _0x5df399(0x2be):_0x3a10c2=_0x4813bb[_0x5df399(0x1fc)];break;case _0x5df399(0x206):_0x3a10c2=_0x4813bb[_0x5df399(0x236)][_0x5df399(0x22a)];break;default:return null;}return _0x3a10c2[_0x5df399(0x2dc)];}[_0x93aba1(0x292)](_0x1c9784){const _0x240efc=_0x93aba1;_0x1c9784[_0x240efc(0x201)](_0x467a67=>{const _0x314ba0=_0x240efc,_0xb2a98a=_0x467a67[_0x314ba0(0x2f5)]();_0xb2a98a[_0x314ba0(0x280)]=_0x467a67[_0x314ba0(0x280)],_0xb2a98a[_0x314ba0(0x2ca)]=!!_0x467a67[_0x314ba0(0x2ca)],_0xb2a98a[_0x314ba0(0x2b0)]=_0x467a67[_0x314ba0(0x2b0)],_0xb2a98a[_0x314ba0(0x2db)]+=this[_0x314ba0(0x2a3)],_0x467a67[_0x314ba0(0x245)]&&this[_0x314ba0(0x2b5)][_0x314ba0(0x2e1)](_0xb2a98a),this[_0x314ba0(0x25b)][_0x314ba0(0x20e)](_0xb2a98a);});}[_0x93aba1(0x208)](_0x23103e){const _0x3a1c14=_0x93aba1,_0x54ad82=this[_0x3a1c14(0x2ab)][_0x3a1c14(0x268)][_0x3a1c14(0x2b7)](_0x3a1c14(0x263)),_0x557a01=this[_0x3a1c14(0x2ab)][_0x3a1c14(0x283)];_0x23103e||(_0x23103e=_0x23916f(_0x557a01,_0x3a1c14(0x281))),_0x54ad82[_0x3a1c14(0x20a)](_0x23103e,{'title':_0x23916f(_0x557a01,_0x3a1c14(0x288)),'namespace':_0x3a1c14(0x1fa)}),this[_0x3a1c14(0x26d)]=!0x0,clearTimeout(this[_0x3a1c14(0x253)]),this[_0x3a1c14(0x1f4)]=[],this[_0x3a1c14(0x2ab)][_0x3a1c14(0x268)][_0x3a1c14(0x2b7)](_0x12ab0e)[_0x3a1c14(0x2d6)]();}[_0x93aba1(0x28e)](){const _0x210fd2=_0x93aba1;this[_0x210fd2(0x1fe)]||(this[_0x210fd2(0x1fe)]=this[_0x210fd2(0x2ab)][_0x210fd2(0x268)][_0x210fd2(0x2b7)](_0x4633e7)[_0x210fd2(0x2e1)](_0x23916f(this[_0x210fd2(0x2ab)][_0x210fd2(0x283)],_0x210fd2(0x284))));}[_0x93aba1(0x2d0)](){const _0x3fca75=_0x93aba1;this[_0x3fca75(0x1fe)]&&(this[_0x3fca75(0x2ab)][_0x3fca75(0x268)][_0x3fca75(0x2b7)](_0x4633e7)[_0x3fca75(0x28d)](this[_0x3fca75(0x1fe)]),this[_0x3fca75(0x1fe)]=null);}[_0x93aba1(0x21a)](_0x26c8c9){const _0x638cfc=_0x93aba1,_0x197e66=_0x26c8c9[_0x638cfc(0x225)](_0xb96292=>_0xb96292[_0x638cfc(0x2ba)]());return this[_0x638cfc(0x2ad)][_0x638cfc(0x2e8)](_0x197e66);}[_0x93aba1(0x2f8)](_0x2009dc,_0x5532a4){const _0x35fc88=_0x93aba1;return this[_0x35fc88(0x2ad)][_0x35fc88(0x26c)](_0x2009dc)[_0x35fc88(0x225)]((_0x578b37,_0x1f8b6e)=>{const _0x440985=_0x35fc88,_0xe55d5f=_0x440985(0x217)==_0x5532a4[_0x1f8b6e][_0x440985(0x28a)];if(_0x440985(0x24f)==_0x578b37[_0x440985(0x2eb)]){const _0x343f09=_0x578b37[_0x440985(0x1f2)][_0x440985(0x22a)];!this[_0x440985(0x2e2)][_0x440985(0x265)](_0x343f09)&&(this[_0x440985(0x2e2)][_0x440985(0x22c)](_0x440985(0x259),_0x343f09)[_0x440985(0x2dd)]=!0x1);}const _0x553bae=_0x4ffa25[_0x440985(0x272)](_0x578b37,this[_0x440985(0x2e2)]);return _0x553bae[_0x440985(0x2a2)]=_0x578b37[_0x440985(0x2a2)],_0x553bae[_0x440985(0x2ca)]=_0xe55d5f,_0x553bae[_0x440985(0x280)]=_0xe55d5f?null:_0x5532a4[_0x1f8b6e][_0x440985(0x299)],_0x553bae[_0x440985(0x245)]=_0x440985(0x230)===_0x5532a4[_0x1f8b6e][_0x440985(0x28a)],_0x553bae[_0x440985(0x2b0)]=_0x5532a4[_0x1f8b6e][_0x440985(0x2b0)],_0x553bae;});}[_0x93aba1(0x1f3)](){const _0x4f8fc6=_0x93aba1;this[_0x4f8fc6(0x21f)]=!0x0,this[_0x4f8fc6(0x2b8)]()?this[_0x4f8fc6(0x23f)]():this[_0x4f8fc6(0x21f)]=!0x1;}[_0x93aba1(0x2b8)](){const _0xe947ac=_0x93aba1,_0x15348f=this[_0xe947ac(0x2ab)][_0xe947ac(0x268)][_0xe947ac(0x2b7)](_0x2bd27b)[_0xe947ac(0x2d1)][_0xe947ac(0x2b7)](this[_0xe947ac(0x28c)]);return!this[_0xe947ac(0x2ab)][_0xe947ac(0x1f9)]&&!!_0x15348f&&_0x15348f[_0xe947ac(0x2f7)]>0x1&&this[_0xe947ac(0x21f)];}[_0x93aba1(0x252)](){const _0x359b81=_0x93aba1;return this[_0x359b81(0x1f4)][_0x359b81(0x2f7)]>0x0||this[_0x359b81(0x2b8)]();}}export default l;class tt extends Error{}function it(_0x11f3a5,_0x1a0475){const _0x4b68f0=_0x93aba1;for(const _0x385844 of _0x11f3a5)_0x385844[_0x4b68f0(0x2db)]=_0x1a0475++;}class st{[_0x93aba1(0x21e)];[_0x93aba1(0x278)];constructor(_0x2831cf){const _0x5f4155=_0x93aba1;this[_0x5f4155(0x21e)]=_0x2831cf,this[_0x5f4155(0x278)]=new WeakMap();}[_0x93aba1(0x2f3)](_0x2798ea){const _0x4ac804=_0x93aba1;let _0x38bbe9=_0x2798ea[_0x4ac804(0x2f7)];for(;_0x38bbe9--;){const _0x1feee5=_0x2798ea[_0x38bbe9];if(!this[_0x4ac804(0x21e)][_0x4ac804(0x214)](_0x1feee5)){if(!this[_0x4ac804(0x278)][_0x4ac804(0x214)](_0x1feee5)){const _0x3808d2=_0x19a8d7()[_0x4ac804(0x232)](0x1,0x12);this[_0x4ac804(0x278)][_0x4ac804(0x28f)](_0x1feee5,_0x3808d2);}return this[_0x4ac804(0x278)][_0x4ac804(0x2b7)](_0x1feee5);}}}[_0x93aba1(0x267)](_0x9e0365,_0x1b50b3){const _0x5c5d70=_0x93aba1;if(!_0x1b50b3)return;let _0x43280d=_0x9e0365[_0x5c5d70(0x2f7)];for(;_0x43280d--;){const _0x1ac9c2=_0x9e0365[_0x43280d];this[_0x5c5d70(0x21e)][_0x5c5d70(0x214)](_0x1ac9c2)||this[_0x5c5d70(0x278)][_0x5c5d70(0x28f)](_0x1ac9c2,_0x1b50b3);}}}
23
+ const _0x1d9750=_0x1a1a;(function(_0x54bd6d,_0x4d6e60){const _0x6e4dca=_0x1a1a,_0x47b7ed=_0x54bd6d();while(!![]){try{const _0x106c4c=-parseInt(_0x6e4dca(0x186))/0x1+parseInt(_0x6e4dca(0x1ae))/0x2*(parseInt(_0x6e4dca(0x19d))/0x3)+parseInt(_0x6e4dca(0x19f))/0x4*(-parseInt(_0x6e4dca(0x1d1))/0x5)+-parseInt(_0x6e4dca(0x127))/0x6*(parseInt(_0x6e4dca(0x1bb))/0x7)+parseInt(_0x6e4dca(0x13f))/0x8+-parseInt(_0x6e4dca(0x15f))/0x9*(parseInt(_0x6e4dca(0x1f3))/0xa)+-parseInt(_0x6e4dca(0x14b))/0xb*(-parseInt(_0x6e4dca(0x16a))/0xc);if(_0x106c4c===_0x4d6e60)break;else _0x47b7ed['push'](_0x47b7ed['shift']());}catch(_0x2fd5a0){_0x47b7ed['push'](_0x47b7ed['shift']());}}}(_0x9479,0xd756d));import{Plugin as _0x2b2e06,PendingActions as _0x24976f}from'ckeditor5/src/core.js';import{CKEditorError as _0x459194,version as _0x34bc48,uid as _0x4c2d54}from'ckeditor5/src/utils.js';function _0x9479(){const _0x2ae602=['return','_loadRoot','finally','lastSyncVersion','_updateServerHistory','CollaborativeEditingService','_shouldSendUpdate','rtc-destroyed','baseVersion','getConnectedSessions','cloud-services-internal-error:\x20Not\x20connected.','plugins','setIdForTheLastOperation','forEach','404','selection','marker','_knownOperations','_setUpDataInit','affectedSelectable','change:_isPendingUpdate','_operationToId','getDocumentDetails','lastDocumentSession','_lastServerVersion','pluginName','1459249ucqsUN','getOperationAuthor','remove','RealTimeCollaborationClient','_handleReconnectionError','filter','then','history','keys','_handleExternalOperations','bind','disableReadOnlyMode','includes','suppressErrorInCollaboration','version','from','addUser','startsWith','operationsReceived','affectsData','data','disconnected','currentDocumentSession','3QFXuSI','_handleServerResponse','2716820dsYblG','_handleInitialConnectionData','realtimecollaborationclient-init-non-existent-root','_sendBufferedOperations','collaboration-missing-channelid','code','rootName','createdAt','_pendingAction','cloud-services-internal-error:\x20Request\x20timeout.','_initThrowingOnDataSet','lastOperationId','apply','_getAffectedRoot','unregister','2633002zoETCL','setPermissions','decompress','realtimecollaborationclient-init-service-incorrect-server-operation','stopListening','init','_applyOperationsSet','round','end','editing','isUndoneOperation','locale','_lastSyncedOperationId','8228472DiAXAJ','document','catch','isEnabled','define','start','applyOperation','CommentsOnly','enqueueChange','type','$root','_bufferRootLoad','position','_addKnownRoot','_disconnectService','error','_connectService','entries','metadata','realtimecollaborationclient-sendbufferedoperations','map','directChange','10UPXCgg','model','_disconnectionOperations','isReadOnly','_fetchMissingUsers','initData','listenTo','change:hasDomSelection','document:write','collaboration','_hasSynchronizationProblem','permissions','_compressOperations','createRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isLoaded','_saveOperationInBuffer','wereChangesApplied','_isEditingAllowed','sessionId','connected','removeFromReconnectionStack','high','move','compress','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','fire','realtimecollaborationclient-handleserverresponse','_bufferedOperations','push','_ignoredOperations','realtimecollaborationclient','Notification','_hasSelectionChanged','130yYZgAK','addRoot','InsertOperation','_connectAfterSessionHasBeenFlushed','reset','sessionCreatedAt','markers','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.','_waitUntilSynced','_authorId','loadRoot','path','connection','_channelId','reconnect','channelSessions','Permissions','createPositionFromPath','ready','isPremiumPlugin','_sendBufferedOperationsDelayed','_offset','newRange','get','roots','sendOperations','fromJSON','addToReconnectionStack','parse','__className','getUser','_sendBufferedOperationsDelayId','multi-root-editor-root-attributes-no-root','add','_baseBufferDelay','realtimecollaborationclient-init-document-already-initialized','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.','disconnect','state','root','_initSessionsHandling','set','enableReadOnlyMode','config','_compressor','cloudServices.bundleVersion','wasUndone','_getOperationsFromInitData','view','batch','_setPendingAction','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','clone','requires','mySessionId','change:_isEditingAllowed','connect','editor','_handleReconnectionResponse','_clearPendingAction','6OziqmK','lastOperationAcceptedAt','_isInit','_shouldSendSelectionUpdate','realtimecollaborationclient-init-session-connection-error','has','getIdOfTheLastOperation','createPositionAt','off','slice','_service','_isConnected','collaboration.channelId','attributes','getOperations','differ','toJSON','targetPosition','destroy','cs:removeUser','reconnection:\x20flushed\x20session','string','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','change:range','10958480unNwqI','realtimecollaborationclient-init-service-internal-error','_handleReceivedOperations','sessionAdd:','_refreshUserSelectionMarkers','cloudDocumentVersion','size','register','rootsAttributes','isDocumentOperation','length','_isDisconnection','842138WKQdFo','_document','_crash','addOperation','realtimecollaborationclient-error','addRootAttribute','Synchronization\x20issue','isOfficialPlugin','getMany','insert','realtimecollaborationclient-init-connection-failed','_handleSendingSelectionMarkers','showWarning','message','_isPendingUpdate','offset','rtc-offline','createRange','PENDING_ACTION_SENDING_DATA','_isAttached','1134711uWXxrI','serverHistory','createUserMarkerOperations','stop','409','real-time-collaboration','_decompressOperations','_operationIdentifier','userId','_currentBufferDelay','_knownRootNames','600rbLlYe','getRoot'];_0x9479=function(){return _0x2ae602;};return _0x9479();}import{Notification as _0x3e5185}from'ckeditor5/src/ui.js';import{transformSets as _0x2b03f5,NoOperation as _0x2afa1d,InsertOperation as _0x1833d2,MarkerOperation as _0x4f51ec,RootAttributeOperation as _0x229a96,OperationFactory as _0x21dae0,History as _0x20def2}from'ckeditor5/src/engine.js';import _0x37cbb4 from'./websocketgateway.js';import _0x30f466 from'./sessions.js';import _0x36c406 from'./usermarkers.js';import{getTranslation as _0x3bdffb}from'../common-translations.js';import{Compressor as _0x2fc9ea}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2aeab1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x165eb0,CollaborativeEditingService as _0x413d05}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x2b2e06{static [_0x1d9750(0x171)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x413d05)());[_0x1d9750(0x100)];[_0x1d9750(0x1e4)];[_0x1d9750(0x160)];[_0x1d9750(0xf8)];[_0x1d9750(0x131)];[_0x1d9750(0x14c)];[_0x1d9750(0x117)];[_0x1d9750(0x1ed)];[_0x1d9750(0x17d)];[_0x1d9750(0x169)];[_0x1d9750(0x1a7)];[_0x1d9750(0x1f2)];[_0x1d9750(0x10a)];[_0x1d9750(0x10d)];[_0x1d9750(0x168)];[_0x1d9750(0x1ba)];[_0x1d9750(0x1d3)];[_0x1d9750(0x166)];static get[_0x1d9750(0x120)](){return[_0x37cbb4,_0x30f466,_0x36c406,_0x24976f,_0x2aeab1,_0x3e5185];}static get[_0x1d9750(0x185)](){const _0x1553cb=_0x1d9750;return _0x1553cb(0x189);}static get[_0x1d9750(0x152)](){return!0x0;}static get[_0x1d9750(0xfe)](){return!0x0;}get[_0x1d9750(0x144)](){const _0x4fd34a=_0x1d9750;return this[_0x4fd34a(0x184)]+this[_0x4fd34a(0x100)];}get[_0x1d9750(0x184)](){const _0x2384a7=_0x1d9750;return this[_0x2384a7(0x160)][_0x2384a7(0x194)]-this[_0x2384a7(0x100)];}get[_0x1d9750(0x16f)](){const _0x36fba4=_0x1d9750,_0x5d8b96=this[_0x36fba4(0x160)][_0x36fba4(0x135)]();for(let _0x1c4d06=_0x5d8b96[_0x36fba4(0x149)]-0x1;_0x1c4d06>=0x0;_0x1c4d06--){const _0x7e130d=_0x5d8b96[_0x1c4d06];if(!this[_0x36fba4(0x1d3)][_0x36fba4(0x12c)](_0x7e130d))return _0x7e130d[_0x36fba4(0x174)]+0x1-this[_0x36fba4(0x100)];}return 0x0;}constructor(_0x4966e0){const _0x3b2cb0=_0x1d9750;if(super(_0x4966e0),this[_0x3b2cb0(0x100)]=0x0,this[_0x3b2cb0(0x1e4)]=null,this[_0x3b2cb0(0x160)]=new _0x20def2(),this[_0x3b2cb0(0x124)][_0x3b2cb0(0x116)][_0x3b2cb0(0x1bf)](_0x3b2cb0(0x1da),{}),this[_0x3b2cb0(0xf8)]=this[_0x3b2cb0(0x124)][_0x3b2cb0(0x116)][_0x3b2cb0(0x102)](_0x3b2cb0(0x133)),!this[_0x3b2cb0(0xf8)])throw new _0x459194(_0x3b2cb0(0x1a3),this);const _0x4cc8d7=_0x4966e0[_0x3b2cb0(0x116)][_0x3b2cb0(0x102)](_0x3b2cb0(0x118))||_0x34bc48;this[_0x3b2cb0(0x131)]=new l[(_0x3b2cb0(0x171))](_0x4cc8d7,this[_0x3b2cb0(0xf8)]),this[_0x3b2cb0(0x14c)]=this[_0x3b2cb0(0x124)][_0x3b2cb0(0x1d2)][_0x3b2cb0(0x1bc)],this[_0x3b2cb0(0x117)]=new _0x2fc9ea(),this[_0x3b2cb0(0x1ed)]=[],this[_0x3b2cb0(0x17d)]=new WeakSet(),this[_0x3b2cb0(0x169)]=new Set(),this[_0x3b2cb0(0x114)](_0x3b2cb0(0x159),!0x1),this[_0x3b2cb0(0x114)](_0x3b2cb0(0x1db),!0x1),this[_0x3b2cb0(0x1a7)]=null,this[_0x3b2cb0(0x1f2)]=!0x1,this[_0x3b2cb0(0x10a)]=null,this[_0x3b2cb0(0x10d)]=0x12c,this[_0x3b2cb0(0x168)]=this[_0x3b2cb0(0x10d)],this[_0x3b2cb0(0x1ba)]=null,this[_0x3b2cb0(0x1d3)]=new WeakSet(),this[_0x3b2cb0(0x166)]=new Y(this[_0x3b2cb0(0x1d3)]);}[_0x1d9750(0x1b3)](){const _0x51f1f4=_0x1d9750,_0x162662=this[_0x51f1f4(0x124)],_0x2aaf2e=_0x162662[_0x51f1f4(0x177)][_0x51f1f4(0x102)](_0x2aeab1),_0x4aba7e=_0x162662[_0x51f1f4(0x177)][_0x51f1f4(0x102)](_0x37cbb4);this[_0x51f1f4(0x1d7)](_0x2aaf2e,_0x51f1f4(0x187),(_0x85858e,_0x2ba511)=>{const _0x19e950=_0x51f1f4,_0x355c55=_0x2ba511[0x0];_0x355c55[_0x19e950(0xf4)]&&(_0x85858e[_0x19e950(0x16c)]=_0x2aaf2e[_0x19e950(0x109)](_0x355c55[_0x19e950(0xf4)]),_0x85858e[_0x19e950(0x162)]()),null===_0x355c55[_0x19e950(0xf4)]&&(_0x85858e[_0x19e950(0x16c)]=null,_0x85858e[_0x19e950(0x162)]());},{'priority':_0x51f1f4(0x1e7)}),this[_0x51f1f4(0x1d7)](_0x162662[_0x51f1f4(0x1d2)][_0x51f1f4(0x1bc)][_0x51f1f4(0x17b)],_0x51f1f4(0x13e),(_0x18bc77,_0x3332ad)=>{const _0x1976e8=_0x51f1f4;_0x3332ad[_0x1976e8(0x1d0)]&&this[_0x1976e8(0x143)]();}),this[_0x51f1f4(0x1d7)](_0x162662[_0x51f1f4(0x1b7)][_0x51f1f4(0x11b)],_0x51f1f4(0x1d8),()=>{const _0x4f7a54=_0x51f1f4;this[_0x4f7a54(0x143)]();}),this[_0x51f1f4(0x1a9)](),_0x162662[_0x51f1f4(0x1d2)]['on'](_0x51f1f4(0x1c1),(_0x4521b3,_0x53d286)=>{const _0x57fe9e=_0x51f1f4,_0x1e4b35=_0x53d286[0x0];_0x1e4b35[_0x57fe9e(0x148)]&&(this[_0x57fe9e(0x1e1)](_0x1e4b35),this[_0x57fe9e(0x172)]()&&this[_0x57fe9e(0xff)]());}),this[_0x51f1f4(0x17e)](),this[_0x51f1f4(0x190)](_0x51f1f4(0x1e3))['to'](_0x4aba7e,_0x51f1f4(0x111),this,_0x51f1f4(0x1db),(_0x189f03,_0x51112e)=>_0x51f1f4(0x1e5)===_0x189f03&&!_0x51112e),this['on'](_0x51f1f4(0x122),()=>{const _0x3766db=_0x51f1f4;this[_0x3766db(0x1e3)]?_0x162662[_0x3766db(0x191)](_0x3766db(0x15b)):_0x162662[_0x3766db(0x115)](_0x3766db(0x15b));}),this[_0x51f1f4(0x1e3)]?_0x162662[_0x51f1f4(0x191)](_0x51f1f4(0x15b)):_0x162662[_0x51f1f4(0x115)](_0x51f1f4(0x15b)),this[_0x51f1f4(0x114)](_0x51f1f4(0x132),!0x1);}async[_0x1d9750(0xf9)](){const _0x14f218=_0x1d9750,_0xf4a4fe=this[_0x14f218(0x124)][_0x14f218(0x177)][_0x14f218(0x102)](_0x30f466),_0x1051be=this[_0x14f218(0x124)][_0x14f218(0x177)][_0x14f218(0x102)](_0x37cbb4);try{this[_0x14f218(0x159)]=!0x0,_0xf4a4fe[_0x14f218(0x1ad)](this[_0x14f218(0xf8)]);const _0xa06431=await this[_0x14f218(0x131)][_0x14f218(0xf9)](_0x1051be[_0x14f218(0xf7)],this[_0x14f218(0x16f)]);await this[_0x14f218(0x125)](_0xa06431)&&(this[_0x14f218(0x159)]=!0x1,this[_0x14f218(0x126)]());const _0xa2b4d7=await this[_0x14f218(0x131)][_0x14f218(0x175)]();_0xf4a4fe[_0x14f218(0x146)](this[_0x14f218(0xf8)],_0xa2b4d7),this[_0x14f218(0x156)](),this[_0x14f218(0x132)]=!0x0;}catch(_0x4d1c2d){if(function(_0x4e249a){const _0x1e6f5d=_0x14f218;return _0x1e6f5d(0x17a)===_0x4e249a[_0x1e6f5d(0x1a4)];}(_0x4d1c2d)&&this[_0x14f218(0x1e4)])await this[_0x14f218(0x1f6)]();else{if(function(_0x5f004f){const _0x5385a4=_0x14f218;return _0x5385a4(0x163)===_0x5f004f[_0x5385a4(0x1a4)];}(_0x4d1c2d)){const _0x58c60f=_0x3bdffb(this[_0x14f218(0x124)][_0x14f218(0x1b9)],_0x14f218(0x11e));this[_0x14f218(0x18a)](_0x58c60f);}else{if(!(_0x4d1c2d instanceof Q))throw _0x4d1c2d;this[_0x14f218(0x18a)]();}}}}[_0x1d9750(0x139)](){const _0x416e65=_0x1d9750,_0x21e73d=this[_0x416e65(0x124)][_0x416e65(0x177)][_0x416e65(0x102)](_0x37cbb4),_0xa94a8=this[_0x416e65(0x124)][_0x416e65(0x177)][_0x416e65(0x102)](_0x30f466);this[_0x416e65(0x124)][_0x416e65(0x115)](_0x416e65(0x173)),_0xa94a8[_0x416e65(0xfa)][_0x416e65(0x12c)](this[_0x416e65(0xf8)])&&_0xa94a8[_0x416e65(0x1ad)](this[_0x416e65(0xf8)]),_0x21e73d[_0x416e65(0x1e6)](this),this[_0x416e65(0x1c9)](),super[_0x416e65(0x139)]();}async[_0x1d9750(0x125)](_0x29f9c1){const _0x551ed0=_0x1d9750;if(this[_0x551ed0(0x1e4)]!==_0x29f9c1[_0x551ed0(0x1e4)]&&this[_0x551ed0(0x1ba)]!==_0x29f9c1[_0x551ed0(0x1aa)])throw new Q();return this[_0x551ed0(0x1e4)]=_0x29f9c1[_0x551ed0(0x1e4)],this[_0x551ed0(0x19e)]([],{..._0x29f9c1,'wereChangesApplied':!0x1,'data':_0x29f9c1[_0x551ed0(0x19a)]},_0x551ed0(0xf9));}async[_0x1d9750(0x1cb)](_0x4fee5a,_0x161bdc=!0x1){const _0x4d5af4=_0x1d9750,{connection:_0x5e6fae}=this[_0x4d5af4(0x124)][_0x4d5af4(0x177)][_0x4d5af4(0x102)](_0x37cbb4);l[_0x4d5af4(0x171)][_0x4d5af4(0x175)](_0x5e6fae,this[_0x4d5af4(0xf8)])[_0x4d5af4(0x18c)](_0x295f72=>this[_0x4d5af4(0x113)](_0x295f72))[_0x4d5af4(0x1bd)](_0x5ec239=>{const _0x34125c=_0x4d5af4;this[_0x34125c(0x14d)](_0x34125c(0x12b),_0x5ec239);}),this[_0x4d5af4(0x1d7)](this[_0x4d5af4(0x131)],_0x4d5af4(0x198),this[_0x4d5af4(0x141)][_0x4d5af4(0x190)](this)),this[_0x4d5af4(0x1d7)](this[_0x4d5af4(0x131)],_0x4d5af4(0x1ca),(_0x296c64,_0x4c640f)=>{const _0x21e039=_0x4d5af4;this[_0x21e039(0x14d)](_0x21e039(0x140),_0x4c640f);}),this[_0x4d5af4(0x1d7)](this[_0x4d5af4(0x131)],_0x4d5af4(0x19b),()=>{const _0x487e2b=_0x4d5af4;this[_0x487e2b(0x132)]=!0x1;});const _0x1a24ea=this[_0x4d5af4(0x166)][_0x4d5af4(0x12d)](_0x4fee5a);this[_0x4d5af4(0x159)]=!0x0;const _0x252076=await this[_0x4d5af4(0x131)][_0x4d5af4(0x123)](_0x5e6fae,this[_0x4d5af4(0x1dd)](_0x4fee5a),_0x1a24ea);if(this[_0x4d5af4(0x1e4)]=_0x252076[_0x4d5af4(0x1e4)],_0x161bdc){if(!_0x252076[_0x4d5af4(0x1e2)])return void this[_0x4d5af4(0x18a)]();this[_0x4d5af4(0x159)]=!0x1,this[_0x4d5af4(0x126)](),this[_0x4d5af4(0x160)][_0x4d5af4(0x1f7)](),this[_0x4d5af4(0x100)]=_0x252076[_0x4d5af4(0x15a)],this[_0x4d5af4(0x160)][_0x4d5af4(0x194)]=this[_0x4d5af4(0x100)],await this[_0x4d5af4(0x19e)](_0x4fee5a,_0x252076,_0x4d5af4(0x13b));}else await this[_0x4d5af4(0x1a0)](_0x252076,_0x4fee5a);this[_0x4d5af4(0x156)](),this[_0x4d5af4(0x132)]=!0x0;}[_0x1d9750(0x156)](){const _0x562b53=_0x1d9750,_0x2e931f=this[_0x562b53(0x124)][_0x562b53(0x177)][_0x562b53(0x102)](_0x30f466),_0x4d4545=this[_0x562b53(0x124)][_0x562b53(0x177)][_0x562b53(0x102)](_0x36c406),_0x2e7bd9=_0x2e931f[_0x562b53(0xfa)][_0x562b53(0x102)](this[_0x562b53(0xf8)]);_0x2e7bd9&&_0x2e7bd9[_0x562b53(0x149)]>0x1?_0x4d4545[_0x562b53(0x161)]():this[_0x562b53(0x1d7)](_0x2e931f,_0x562b53(0x142)+this[_0x562b53(0xf8)],()=>{const _0x57009c=_0x562b53;0x2===_0x2e931f[_0x57009c(0xfa)][_0x57009c(0x102)](this[_0x57009c(0xf8)])[_0x57009c(0x149)]&&_0x4d4545[_0x57009c(0x161)]();});}async[_0x1d9750(0x141)](_0xf7eab8,_0x262943,_0x3e0306,_0x5c5c1e){const _0x9b0d1c=_0x1d9750;if(!this[_0x9b0d1c(0x159)]&&this[_0x9b0d1c(0x14c)][_0x9b0d1c(0x194)]==_0x262943){const _0x30646d=this[_0x9b0d1c(0x165)](_0x3e0306,_0x5c5c1e);await this[_0x9b0d1c(0x1d5)](_0x30646d),this[_0x9b0d1c(0x18f)](_0x30646d,_0x262943,_0x3e0306[_0x9b0d1c(0x1aa)])||this[_0x9b0d1c(0x14d)](_0x9b0d1c(0x1b1));}}async[_0x1d9750(0x1f6)](){const _0x453ce9=_0x1d9750;this[_0x453ce9(0x1c9)]();const {locale:_0x38d0d1}=this[_0x453ce9(0x124)];let _0x9895bc;try{_0x9895bc=await this[_0x453ce9(0x131)][_0x453ce9(0x182)]();}catch(_0x5de8b6){const _0x5dd424=_0x3bdffb(_0x38d0d1,_0x453ce9(0x1df));return void this[_0x453ce9(0x18a)](_0x5dd424);}const _0x4cf6a5=_0x9895bc[_0x453ce9(0x19c)]||_0x9895bc[_0x453ce9(0x183)];if(this[_0x453ce9(0x1ba)]===_0x4cf6a5[_0x453ce9(0x1aa)])await this[_0x453ce9(0x1cb)](this[_0x453ce9(0x124)][_0x453ce9(0x1d2)][_0x453ce9(0x1bc)][_0x453ce9(0x18d)][_0x453ce9(0x135)](),!0x0);else{const _0x13d711=_0x3bdffb(_0x38d0d1,_0x453ce9(0xf2));this[_0x453ce9(0x18a)](_0x13d711);}}[_0x1d9750(0x1c9)](){const _0x2ac860=_0x1d9750;this[_0x2ac860(0x131)][_0x2ac860(0x110)](),this[_0x2ac860(0x1ed)]=[],clearTimeout(this[_0x2ac860(0x10a)]),this[_0x2ac860(0x1b2)](this[_0x2ac860(0x131)]);}[_0x1d9750(0x113)](_0x446161){const _0x470df8=_0x1d9750,_0x505f6d=this[_0x470df8(0x124)][_0x470df8(0x177)][_0x470df8(0x102)](_0x30f466);this[_0x470df8(0x1d7)](_0x505f6d,_0x470df8(0x142)+this[_0x470df8(0xf8)],(_0x1f4f36,{session:_0x2a0c8b})=>{const _0x84adcf=_0x470df8;if(_0x2a0c8b['id']===_0x505f6d[_0x84adcf(0x121)]){_0x1f4f36[_0x84adcf(0x12f)]();const _0x573de8=this[_0x84adcf(0x124)][_0x84adcf(0x177)][_0x84adcf(0x12c)](_0x84adcf(0x1c2))&&this[_0x84adcf(0x124)][_0x84adcf(0x177)][_0x84adcf(0x102)](_0x84adcf(0x1c2));let _0x33e7eb=_0x2a0c8b[_0x84adcf(0x1dc)];_0x573de8&&_0x573de8[_0x84adcf(0x1be)]&&(_0x33e7eb=_0x33e7eb[_0x84adcf(0x18b)](_0x34c058=>_0x84adcf(0x1d9)!==_0x34c058)),this[_0x84adcf(0x124)][_0x84adcf(0x177)][_0x84adcf(0x102)](_0x84adcf(0xfb))[_0x84adcf(0x1af)](_0x33e7eb,this[_0x84adcf(0xf8)]);}}),_0x505f6d[_0x470df8(0x146)](this[_0x470df8(0xf8)],_0x446161);}[_0x1d9750(0x1a9)](){const _0x315921=_0x1d9750,_0x406409=this[_0x315921(0x124)][_0x315921(0x19a)][_0x315921(0x114)];this[_0x315921(0x124)][_0x315921(0x19a)][_0x315921(0x114)]=(..._0x1be783)=>{const _0x4403ad=_0x315921;if(!_0x1be783[_0x1be783[_0x4403ad(0x149)]-0x1][_0x4403ad(0x193)])throw new _0x459194(_0x4403ad(0x13d),this);_0x406409[_0x4403ad(0x1ab)](this[_0x4403ad(0x124)][_0x4403ad(0x19a)],_0x1be783);};}[_0x1d9750(0x17e)](){const _0x5b8a63=_0x1d9750;this[_0x5b8a63(0x124)][_0x5b8a63(0x19a)]['on'](_0x5b8a63(0x1b3),(_0x156da6,[_0x4c419e])=>{const _0x24a837=_0x5b8a63;if(this[_0x24a837(0x14c)][_0x24a837(0x194)])throw new _0x459194(_0x24a837(0x10e),this);_0x156da6[_0x24a837(0x162)](),this[_0x24a837(0x11d)]();const _0x18faf0=this[_0x24a837(0x124)][_0x24a837(0x116)][_0x24a837(0x102)](_0x24a837(0x147)),_0x288b67=this[_0x24a837(0x11a)](_0x4c419e,_0x18faf0);0x0==_0x288b67[_0x24a837(0x149)]&&_0x288b67[_0x24a837(0x1ee)](new _0x2afa1d(0x0)),_0x156da6[_0x24a837(0x16c)]=this[_0x24a837(0x1cb)](_0x288b67)[_0x24a837(0x18c)](()=>{const _0x1f67df=_0x24a837;this[_0x1f67df(0x124)][_0x1f67df(0x177)][_0x1f67df(0x102)](_0x37cbb4)[_0x1f67df(0x106)](this),this[_0x1f67df(0x124)][_0x1f67df(0x19a)][_0x1f67df(0x1eb)](_0x1f67df(0xfd));})[_0x24a837(0x1bd)](_0x4d2bd4=>this[_0x24a837(0x14d)](_0x24a837(0x155),_0x4d2bd4))[_0x24a837(0x16e)](()=>this[_0x24a837(0x126)]());},{'priority':_0x5b8a63(0x1e7)}),this[_0x5b8a63(0x124)]['on'](_0x5b8a63(0xf5),async(_0x46cfaf,[_0x360999,_0xeea9f3])=>{const _0x1d7e63=_0x5b8a63;_0x46cfaf[_0x1d7e63(0x162)]();const _0x258014=this[_0x1d7e63(0x124)][_0x1d7e63(0x1d2)][_0x1d7e63(0x1bc)][_0x1d7e63(0x16b)](_0x360999);if(!this[_0x1d7e63(0x169)][_0x1d7e63(0x12c)](_0x360999)){const _0x344dc2=_0xeea9f3&&_0xeea9f3[_0x1d7e63(0x19a)]?_0xeea9f3[_0x1d7e63(0x19a)]:'',_0x58741a=_0xeea9f3&&_0xeea9f3[_0x1d7e63(0x134)]?_0xeea9f3[_0x1d7e63(0x134)]:{};await this[_0x1d7e63(0x16d)](_0x360999,_0x344dc2,_0x58741a);}this[_0x1d7e63(0x124)][_0x1d7e63(0x1d2)][_0x1d7e63(0x1c3)]({'isUndoable':!0x1},()=>{const _0x4d8e89=_0x1d7e63;_0x258014[_0x4d8e89(0x1e0)]=!0x0,this[_0x4d8e89(0x124)][_0x4d8e89(0x1d2)][_0x4d8e89(0x1bc)][_0x4d8e89(0x136)][_0x4d8e89(0x1c6)](_0x258014);});},{'priority':_0x5b8a63(0x1e7)});}async[_0x1d9750(0x1d5)](_0x5f0bfd){const _0x311760=_0x1d9750,_0x31b816=this[_0x311760(0x124)][_0x311760(0x177)][_0x311760(0x102)](_0x2aeab1),{connection:_0x489486}=this[_0x311760(0x124)][_0x311760(0x177)][_0x311760(0x102)](_0x37cbb4),_0x1f1c23=new Set();for(const _0x2f817f of _0x5f0bfd){const _0x4a4009=_0x2f817f[_0x311760(0xf4)];_0x4a4009&&!_0x31b816[_0x311760(0x109)](_0x4a4009)&&_0x1f1c23[_0x311760(0x10c)](_0x4a4009);}if(0x0===_0x1f1c23[_0x311760(0x145)])return;const _0x44500a=await _0x165eb0[_0x311760(0x153)](_0x489486,Array[_0x311760(0x195)](_0x1f1c23));for(const _0x15ef35 of _0x44500a)_0x31b816[_0x311760(0x109)](_0x15ef35['id'])||_0x31b816[_0x311760(0x196)](_0x15ef35);}[_0x1d9750(0x11a)](_0x4bc8fc,_0x5cb42b={}){const _0x39d611=_0x1d9750,_0x3f8388=this[_0x39d611(0x124)][_0x39d611(0x1d2)],_0x65fb73=[];let _0x291ad5=0x0;const _0x1d4bfd=_0x39d611(0x13c)==typeof _0x4bc8fc?{'main':_0x4bc8fc}:_0x4bc8fc;for(const _0x5d3a74 of Object[_0x39d611(0x18e)](_0x1d4bfd)){if(!this[_0x39d611(0x14c)][_0x39d611(0x103)][_0x39d611(0x12c)](_0x5d3a74))throw new _0x459194(_0x39d611(0x1a1),this);const _0x2b2923=this[_0x39d611(0x124)][_0x39d611(0x19a)][_0x39d611(0x107)](_0x1d4bfd[_0x5d3a74]),_0x527c3f=this[_0x39d611(0x14c)][_0x39d611(0x16b)](_0x5d3a74),_0x2efa27=new _0x1833d2(_0x3f8388[_0x39d611(0x12e)](_0x527c3f,0x0),_0x2b2923,_0x291ad5++);_0x65fb73[_0x39d611(0x1ee)](_0x2efa27);for(const [_0x2e02ef,_0x175ca8]of _0x2b2923[_0x39d611(0xf1)]){const _0x4c3770=_0x3f8388[_0x39d611(0x15c)](_0x3f8388[_0x39d611(0xfc)](_0x527c3f,_0x175ca8[_0x39d611(0x1c0)][_0x39d611(0xf6)][_0x39d611(0x130)]()),_0x3f8388[_0x39d611(0xfc)](_0x527c3f,_0x175ca8[_0x39d611(0x1b6)][_0x39d611(0xf6)][_0x39d611(0x130)]())),_0x588bea=new _0x4f51ec(_0x2e02ef,null,_0x4c3770,_0x3f8388[_0x39d611(0xf1)],!0x0,_0x291ad5++);_0x65fb73[_0x39d611(0x1ee)](_0x588bea);}}if(_0x5cb42b)for(const [_0x3fb0df,_0xd6408a]of Object[_0x39d611(0x1cc)](_0x5cb42b)){const _0x3f640f=_0x3f8388[_0x39d611(0x1bc)][_0x39d611(0x16b)](_0x3fb0df);if(!_0x3f640f)throw new _0x459194(_0x39d611(0x10b),null);for(const [_0x5c8414,_0x403305]of Object[_0x39d611(0x1cc)](_0xd6408a))if(null!==_0x403305){const _0x4bc712=new _0x229a96(_0x3f640f,_0x5c8414,null,_0x403305,_0x291ad5++);_0x65fb73[_0x39d611(0x1ee)](_0x4bc712);}}return _0x65fb73;}async[_0x1d9750(0x16d)](_0x508f2f,_0x3eaabb,_0x2f4b44){const _0x2b7a7c=_0x1d9750;this[_0x2b7a7c(0x11a)]({[_0x508f2f]:_0x3eaabb},{[_0x508f2f]:_0x2f4b44})[_0x2b7a7c(0x179)]((_0x4fc152,_0x330501)=>{const _0x10eb79=_0x2b7a7c;_0x4fc152[_0x10eb79(0x174)]=this[_0x10eb79(0x14c)][_0x10eb79(0x194)]+_0x330501,_0x4fc152[_0x10eb79(0x129)]=!0x0,this[_0x10eb79(0x1e1)](_0x4fc152);}),this[_0x2b7a7c(0xff)](),await this[_0x2b7a7c(0xf3)]();}async[_0x1d9750(0x1a0)](_0x2f513d,_0x5be6f7){const _0x4a18b2=_0x1d9750;let _0x552bd4;this[_0x4a18b2(0x100)]=_0x2f513d[_0x4a18b2(0x15a)];const _0x472552=_0x2f513d[_0x4a18b2(0x1e2)]&&!_0x2f513d[_0x4a18b2(0x1d6)],_0x26be20=_0x472552?0x0:_0x2f513d[_0x4a18b2(0x19a)][_0x4a18b2(0x174)];if(_0x5be6f7[_0x4a18b2(0x179)](_0x589ba4=>{const _0x51cfa4=_0x4a18b2;_0x589ba4[_0x51cfa4(0x129)]=!0x0,_0x589ba4[_0x51cfa4(0x1a6)]=_0x2f513d[_0x51cfa4(0xf0)],_0x589ba4[_0x51cfa4(0xf4)]=null;}),_0x472552)_0x552bd4=_0x5be6f7,this[_0x4a18b2(0x1b4)](_0x552bd4,_0x472552);else{if(_0x2f513d[_0x4a18b2(0x1d6)]){const _0x5b86db=this[_0x4a18b2(0x11a)](_0x2f513d[_0x4a18b2(0x1d6)]);this[_0x4a18b2(0x14c)][_0x4a18b2(0x18d)][_0x4a18b2(0x194)]=-_0x5b86db[_0x4a18b2(0x149)],_0x5b86db[_0x4a18b2(0x179)](_0x591229=>{const _0x948798=_0x4a18b2;_0x591229[_0x948798(0x174)]-=_0x5b86db[_0x948798(0x149)],_0x591229[_0x948798(0x1a6)]=_0x2f513d[_0x948798(0xf0)],_0x591229[_0x948798(0x129)]=!0x0,_0x591229[_0x948798(0xf4)]=null;}),this[_0x4a18b2(0x1b4)](_0x5b86db,!0x0),this[_0x4a18b2(0x160)][_0x4a18b2(0x194)]=-_0x5b86db[_0x4a18b2(0x149)]+this[_0x4a18b2(0x100)],this[_0x4a18b2(0x170)](_0x5b86db);}this[_0x4a18b2(0x14c)][_0x4a18b2(0x18d)][_0x4a18b2(0x194)]=_0x26be20,_0x552bd4=this[_0x4a18b2(0x165)](_0x2f513d[_0x4a18b2(0x19a)],_0x2f513d[_0x4a18b2(0x1cd)]),await this[_0x4a18b2(0x1d5)](_0x552bd4),this[_0x4a18b2(0x1b4)](_0x552bd4,_0x472552);}_0x2f513d[_0x4a18b2(0x1aa)]&&(this[_0x4a18b2(0x166)][_0x4a18b2(0x178)](_0x552bd4,_0x2f513d[_0x4a18b2(0x1aa)]),this[_0x4a18b2(0x1ba)]=_0x2f513d[_0x4a18b2(0x1aa)]),this[_0x4a18b2(0x160)][_0x4a18b2(0x194)]=_0x26be20+this[_0x4a18b2(0x100)],this[_0x4a18b2(0x170)](_0x552bd4),_0x5be6f7[_0x4a18b2(0x18b)](_0x490400=>{const _0x50b673=_0x4a18b2,_0x15cce5=this[_0x50b673(0x1ac)](_0x490400);return _0x15cce5&&!this[_0x50b673(0x169)][_0x50b673(0x12c)](_0x15cce5);})[_0x4a18b2(0x179)]((_0x4e6017,_0x338024)=>{const _0x589725=_0x4a18b2;_0x4e6017[_0x589725(0x174)]=this[_0x589725(0x14c)][_0x589725(0x194)]+_0x338024,this[_0x589725(0x1e1)](_0x4e6017);}),this[_0x4a18b2(0x172)]()?(this[_0x4a18b2(0x168)]=0x0,this[_0x4a18b2(0xff)](!0x0),await this[_0x4a18b2(0xf3)]()):(this[_0x4a18b2(0x159)]=!0x1,this[_0x4a18b2(0x126)]());}[_0x1d9750(0x14d)](_0x518bd3,_0x128a16){const _0x5190a7=_0x1d9750,_0x29161b=_0x128a16&&_0x128a16[_0x5190a7(0x158)];if(_0x29161b&&_0x29161b[_0x5190a7(0x197)](_0x5190a7(0x1f0)))throw _0x128a16;const _0x245f0a=this[_0x5190a7(0x124)][_0x5190a7(0x177)][_0x5190a7(0x102)](_0x37cbb4);throw this[_0x5190a7(0x159)]=!0x0,_0x245f0a[_0x5190a7(0x110)](),this[_0x5190a7(0x124)][_0x5190a7(0x115)](_0x5190a7(0x14f)),new _0x459194(_0x518bd3,this[_0x5190a7(0x124)],_0x29161b?{'originalError':_0x29161b}:void 0x0);}[_0x1d9750(0x1e1)](_0xf5fb8a){const _0x3eebac=_0x1d9750;this[_0x3eebac(0x17d)][_0x3eebac(0x12c)](_0xf5fb8a)||(this[_0x3eebac(0x17d)][_0x3eebac(0x10c)](_0xf5fb8a),this[_0x3eebac(0x1ed)][_0x3eebac(0x1ee)](_0xf5fb8a),this[_0x3eebac(0x1a7)]||_0x3eebac(0x17c)==_0xf5fb8a[_0x3eebac(0x1c4)]&&!_0xf5fb8a[_0x3eebac(0x199)]||this[_0x3eebac(0x11d)]());}[_0x1d9750(0xff)](_0x2555a8=!0x1){const _0x4420a6=_0x1d9750;!_0x2555a8&&this[_0x4420a6(0x159)]||(this[_0x4420a6(0x159)]=!0x0,clearTimeout(this[_0x4420a6(0x10a)]),this[_0x4420a6(0x10a)]=setTimeout(()=>{const _0x5db52b=_0x4420a6;this[_0x5db52b(0x1a2)]()[_0x5db52b(0x18c)](_0x175409=>{const _0x51393f=_0x5db52b;_0x175409&&(this[_0x51393f(0x126)](),this[_0x51393f(0x159)]=!0x1);})[_0x5db52b(0x1bd)](_0x4c74ca=>{const _0x394f26=_0x5db52b;this[_0x394f26(0x126)](),this[_0x394f26(0x159)]=!0x1,function(_0x45cf12){const _0x1ab01f=_0x394f26;return _0x45cf12[_0x1ab01f(0x158)][_0x1ab01f(0x197)](_0x1ab01f(0x176))||_0x45cf12[_0x1ab01f(0x158)][_0x1ab01f(0x197)](_0x1ab01f(0x1ea))||_0x45cf12[_0x1ab01f(0x158)][_0x1ab01f(0x197)](_0x1ab01f(0x1a8));}(_0x4c74ca)||this[_0x394f26(0x14d)](_0x4c74ca[_0x394f26(0x158)],_0x4c74ca);});},this[_0x4420a6(0x168)]));}[_0x1d9750(0xf3)](){return new Promise(_0x51eb76=>{const _0x5f10d6=_0x1a1a;this['on'](_0x5f10d6(0x180),()=>{_0x51eb76();});});}async[_0x1d9750(0x1a2)](){const _0x409245=_0x1d9750,_0x5be5d2=this[_0x409245(0x124)][_0x409245(0x177)][_0x409245(0x102)](_0x36c406);if(this[_0x409245(0x12a)]()&&(_0x5be5d2[_0x409245(0x161)](),this[_0x409245(0x1f2)]=!0x1),!this[_0x409245(0x172)]())return!0x0;const _0x457fae=[...this[_0x409245(0x1ed)]];for(const _0x300e58 of _0x457fae)_0x300e58[_0x409245(0x119)]=this[_0x409245(0x14c)][_0x409245(0x18d)][_0x409245(0x1b8)](_0x300e58);const _0x4a2d36=this[_0x409245(0x166)][_0x409245(0x12d)](_0x457fae),_0x1e6d94=J++,_0x245a4d=this[_0x409245(0x1dd)](_0x457fae),_0x4e9a4b=await this[_0x409245(0x131)][_0x409245(0x104)](_0x245a4d,_0x245a4d[_0x409245(0x174)],_0x4a2d36);try{return await this[_0x409245(0x19e)](_0x457fae,_0x4e9a4b,_0x1e6d94);}catch(_0x17eabd){return this[_0x409245(0x14d)](_0x409245(0x1ce),_0x17eabd);}}async[_0x1d9750(0x19e)](_0xf0450,_0x10de8e,_0x253c7f){const _0x1bb5da=_0x1d9750;if(_0x1bb5da(0x1ca)in _0x10de8e)throw _0x10de8e[_0x1bb5da(0x1ca)];let _0x280971=!0x1;if(_0x10de8e[_0x1bb5da(0x1e2)]){_0x10de8e[_0x1bb5da(0x1aa)]&&(this[_0x1bb5da(0x1ba)]=_0x10de8e[_0x1bb5da(0x1aa)]),this[_0x1bb5da(0x1ed)]=this[_0x1bb5da(0x1ed)][_0x1bb5da(0x18b)](_0x1b8118=>!_0xf0450[_0x1bb5da(0x192)](_0x1b8118));for(const _0x12f47f of _0xf0450)_0x12f47f[_0x1bb5da(0x1a6)]=_0x1bb5da(0x128)in _0x10de8e&&_0x10de8e[_0x1bb5da(0x128)]||void 0x0;X(_0xf0450,_0x10de8e[_0x1bb5da(0x194)]-_0xf0450[_0x1bb5da(0x149)]),this[_0x1bb5da(0x170)](_0xf0450);const _0x1fce44=_0xf0450[_0x1bb5da(0x18b)](_0x8be8f=>{const _0x28e209=_0x1bb5da;if(!_0x8be8f[_0x28e209(0x129)])return!0x1;const _0x4cf129=this[_0x28e209(0x1ac)](_0x8be8f);return _0x4cf129&&!this[_0x28e209(0x169)][_0x28e209(0x12c)](_0x4cf129);});X(_0x1fce44,this[_0x1bb5da(0x14c)][_0x1bb5da(0x194)]),this[_0x1bb5da(0x1b4)](_0x1fce44),_0x280971=!0x0,this[_0x1bb5da(0x168)]=this[_0x1bb5da(0x10d)];}else{const _0x1514fa=this[_0x1bb5da(0x165)](_0x10de8e[_0x1bb5da(0x19a)],_0x10de8e[_0x1bb5da(0x1cd)])[_0x1bb5da(0x18b)](_0xa2246a=>_0xa2246a[_0x1bb5da(0x174)]>=this[_0x1bb5da(0x184)]);_0x1514fa[_0x1bb5da(0x179)](_0x4cab94=>this[_0x1bb5da(0x1c8)](_0x4cab94)),this[_0x1bb5da(0x1ed)]=this[_0x1bb5da(0x1ed)][_0x1bb5da(0x18b)](_0x560bc9=>!_0x560bc9[_0x1bb5da(0x129)]||!this[_0x1bb5da(0x169)][_0x1bb5da(0x12c)](this[_0x1bb5da(0x1ac)](_0x560bc9))),this[_0x1bb5da(0x1ed)][_0x1bb5da(0x149)]&&X(this[_0x1bb5da(0x1ed)],this[_0x1bb5da(0x1ed)][0x0][_0x1bb5da(0x174)]),await this[_0x1bb5da(0x1d5)](_0x1514fa),_0x280971=this[_0x1bb5da(0x18f)](_0x1514fa,_0x10de8e[_0x1bb5da(0x194)],_0x10de8e[_0x1bb5da(0x1aa)]),this[_0x1bb5da(0x168)]=Math[_0x1bb5da(0x1b5)](this[_0x1bb5da(0x168)]/0x2);}return _0x280971?!this[_0x1bb5da(0x172)]()||(this[_0x1bb5da(0xff)](!0x0),!0x1):this[_0x1bb5da(0x14d)](_0x1bb5da(0x1ec));}[_0x1d9750(0x18f)](_0x3ac120,_0x58accc,_0x3d77b4){const _0x4d76f4=_0x1d9750;try{const _0x10c257={'document':this[_0x4d76f4(0x14c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x286f9f,operationsB:_0x39cec5,originalOperations:_0x126aca}=_0x2b03f5(_0x3ac120,this[_0x4d76f4(0x1ed)],_0x10c257);X(_0x286f9f,this[_0x4d76f4(0x14c)][_0x4d76f4(0x194)]),X(_0x39cec5,_0x58accc);for(const _0x3d30be of _0x286f9f){const _0x5b2938=_0x126aca[_0x4d76f4(0x102)](_0x3d30be);_0x3d30be[_0x4d76f4(0xf4)]=_0x5b2938?_0x5b2938[_0x4d76f4(0xf4)]:null;}_0x3d77b4&&(this[_0x4d76f4(0x166)][_0x4d76f4(0x178)](_0x3ac120,_0x3d77b4),this[_0x4d76f4(0x1ba)]=_0x3d77b4),this[_0x4d76f4(0x1ed)]=[..._0x39cec5],this[_0x4d76f4(0x1b4)](_0x286f9f),this[_0x4d76f4(0x170)](_0x3ac120);}catch(_0x56a826){return console[_0x4d76f4(0x1ca)](_0x56a826),!0x1;}return!0x0;}[_0x1d9750(0x1b4)](_0x2d5312,_0x5e2886=!0x1){const _0x2f8d69=_0x1d9750;this[_0x2f8d69(0x124)][_0x2f8d69(0x1d2)][_0x2f8d69(0x1c3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2a4948=>{const _0x136a5a=_0x2f8d69;for(const _0x12c4fc of _0x2d5312)this[_0x136a5a(0x17d)][_0x136a5a(0x10c)](_0x12c4fc),this[_0x136a5a(0x1c8)](_0x12c4fc),_0x2a4948[_0x136a5a(0x11c)][_0x136a5a(0x14e)](_0x12c4fc),this[_0x136a5a(0x124)][_0x136a5a(0x1d2)][_0x136a5a(0x1c1)](_0x12c4fc);});}[_0x1d9750(0x1c8)](_0x49b262){const _0x1d0a9c=_0x1d9750,_0x315b0e=this[_0x1d0a9c(0x1ac)](_0x49b262);_0x315b0e&&this[_0x1d0a9c(0x169)][_0x1d0a9c(0x10c)](_0x315b0e);}[_0x1d9750(0x1ac)](_0x524db0){const _0x1be916=_0x1d9750;let _0x35b341,_0x50a481;switch(_0x524db0[_0x1be916(0x1c4)]){case _0x1be916(0x154):_0x35b341=_0x524db0[_0x1be916(0x1c7)][_0x1be916(0x112)];break;case _0x1be916(0x17c):if(_0x50a481=_0x524db0[_0x1be916(0x101)],!_0x50a481)return null;_0x35b341=_0x50a481[_0x1be916(0x112)];break;case _0x1be916(0x150):_0x35b341=_0x524db0[_0x1be916(0x112)];break;case _0x1be916(0x1f4):_0x35b341=_0x524db0[_0x1be916(0x17f)];break;case _0x1be916(0x1e8):_0x35b341=_0x524db0[_0x1be916(0x138)][_0x1be916(0x112)];break;default:return null;}return _0x35b341[_0x1be916(0x1a5)];}[_0x1d9750(0x170)](_0x4e9a12){const _0x33dedc=_0x1d9750;_0x4e9a12[_0x33dedc(0x179)](_0x1bd2b8=>{const _0x2de451=_0x33dedc,_0x2b1edd=_0x1bd2b8[_0x2de451(0x11f)]();_0x2b1edd[_0x2de451(0xf4)]=_0x1bd2b8[_0x2de451(0xf4)],_0x2b1edd[_0x2de451(0x129)]=!!_0x1bd2b8[_0x2de451(0x129)],_0x2b1edd[_0x2de451(0x1a6)]=_0x1bd2b8[_0x2de451(0x1a6)],_0x2b1edd[_0x2de451(0x174)]+=this[_0x2de451(0x100)],_0x1bd2b8[_0x2de451(0x14a)]&&this[_0x2de451(0x1d3)][_0x2de451(0x10c)](_0x2b1edd),this[_0x2de451(0x160)][_0x2de451(0x14e)](_0x2b1edd);});}[_0x1d9750(0x18a)](_0x1b4950){const _0x43969e=_0x1d9750,_0x566b4a=this[_0x43969e(0x124)][_0x43969e(0x177)][_0x43969e(0x102)](_0x43969e(0x1f1)),_0x2eb0b7=this[_0x43969e(0x124)][_0x43969e(0x1b9)];_0x1b4950||(_0x1b4950=_0x3bdffb(_0x2eb0b7,_0x43969e(0x10f))),_0x566b4a[_0x43969e(0x157)](_0x1b4950,{'title':_0x3bdffb(_0x2eb0b7,_0x43969e(0x151)),'namespace':_0x43969e(0x164)}),this[_0x43969e(0x1db)]=!0x0,clearTimeout(this[_0x43969e(0x10a)]),this[_0x43969e(0x1ed)]=[],this[_0x43969e(0x124)][_0x43969e(0x177)][_0x43969e(0x102)](_0x37cbb4)[_0x43969e(0x110)]();}[_0x1d9750(0x11d)](){const _0x225c05=_0x1d9750;this[_0x225c05(0x1a7)]||(this[_0x225c05(0x1a7)]=this[_0x225c05(0x124)][_0x225c05(0x177)][_0x225c05(0x102)](_0x24976f)[_0x225c05(0x10c)](_0x3bdffb(this[_0x225c05(0x124)][_0x225c05(0x1b9)],_0x225c05(0x15d))));}[_0x1d9750(0x126)](){const _0x3c4080=_0x1d9750;this[_0x3c4080(0x1a7)]&&(this[_0x3c4080(0x124)][_0x3c4080(0x177)][_0x3c4080(0x102)](_0x24976f)[_0x3c4080(0x188)](this[_0x3c4080(0x1a7)]),this[_0x3c4080(0x1a7)]=null);}[_0x1d9750(0x1dd)](_0x367edd){const _0x782ee3=_0x1d9750,_0x5ce415=_0x367edd[_0x782ee3(0x1cf)](_0x575f59=>_0x575f59[_0x782ee3(0x137)]());return this[_0x782ee3(0x117)][_0x782ee3(0x1e9)](_0x5ce415);}[_0x1d9750(0x165)](_0x3f9e9,_0x15ffc1){const _0x124199=_0x1d9750;return this[_0x124199(0x117)][_0x124199(0x1b0)](_0x3f9e9)[_0x124199(0x1cf)]((_0x218fa0,_0x21a254)=>{const _0x39810f=_0x124199,_0x3fb77c=_0x39810f(0x1b3)==_0x15ffc1[_0x21a254][_0x39810f(0x1c4)];if(_0x39810f(0x1f5)==_0x218fa0[_0x39810f(0x108)]){const _0x29101e=_0x218fa0[_0x39810f(0x1c7)][_0x39810f(0x112)];!this[_0x39810f(0x14c)][_0x39810f(0x16b)](_0x29101e)&&(this[_0x39810f(0x14c)][_0x39810f(0x1de)](_0x39810f(0x1c5),_0x29101e)[_0x39810f(0x15e)]=!0x1);}const _0x17dfac=_0x21dae0[_0x39810f(0x105)](_0x218fa0,this[_0x39810f(0x14c)]);return _0x17dfac[_0x39810f(0x119)]=_0x218fa0[_0x39810f(0x119)],_0x17dfac[_0x39810f(0x129)]=_0x3fb77c,_0x17dfac[_0x39810f(0xf4)]=_0x3fb77c?null:_0x15ffc1[_0x21a254][_0x39810f(0x167)],_0x17dfac[_0x39810f(0x14a)]=_0x39810f(0x13a)===_0x15ffc1[_0x21a254][_0x39810f(0x1c4)],_0x17dfac[_0x39810f(0x1a6)]=_0x15ffc1[_0x21a254][_0x39810f(0x1a6)],_0x17dfac;});}[_0x1d9750(0x143)](){const _0x2d58a3=_0x1d9750;this[_0x2d58a3(0x1f2)]=!0x0,this[_0x2d58a3(0x12a)]()?this[_0x2d58a3(0xff)]():this[_0x2d58a3(0x1f2)]=!0x1;}[_0x1d9750(0x12a)](){const _0x5da97d=_0x1d9750,_0x1a5746=this[_0x5da97d(0x124)][_0x5da97d(0x177)][_0x5da97d(0x102)](_0x30f466)[_0x5da97d(0xfa)][_0x5da97d(0x102)](this[_0x5da97d(0xf8)]);return!this[_0x5da97d(0x124)][_0x5da97d(0x1d4)]&&!!_0x1a5746&&_0x1a5746[_0x5da97d(0x149)]>0x1&&this[_0x5da97d(0x1f2)];}[_0x1d9750(0x172)](){const _0x3c504b=_0x1d9750;return this[_0x3c504b(0x1ed)][_0x3c504b(0x149)]>0x0||this[_0x3c504b(0x12a)]();}}export default l;class Q extends Error{}function X(_0x715983,_0x52046e){const _0x13596b=_0x1d9750;for(const _0x463d1e of _0x715983)_0x463d1e[_0x13596b(0x174)]=_0x52046e++;}function _0x1a1a(_0x467653,_0x3985b4){const _0x9479e6=_0x9479();return _0x1a1a=function(_0x1a1ad0,_0x18881b){_0x1a1ad0=_0x1a1ad0-0xf0;let _0x15866e=_0x9479e6[_0x1a1ad0];return _0x15866e;},_0x1a1a(_0x467653,_0x3985b4);}class Y{[_0x1d9750(0x1ef)];[_0x1d9750(0x181)];constructor(_0x1d36c5){const _0x1b061a=_0x1d9750;this[_0x1b061a(0x1ef)]=_0x1d36c5,this[_0x1b061a(0x181)]=new WeakMap();}[_0x1d9750(0x12d)](_0x1b17e7){const _0x181916=_0x1d9750;let _0x550734=_0x1b17e7[_0x181916(0x149)];for(;_0x550734--;){const _0x5e2737=_0x1b17e7[_0x550734];if(!this[_0x181916(0x1ef)][_0x181916(0x12c)](_0x5e2737)){if(!this[_0x181916(0x181)][_0x181916(0x12c)](_0x5e2737)){const _0x538be5=_0x4c2d54()[_0x181916(0x130)](0x1,0x12);this[_0x181916(0x181)][_0x181916(0x114)](_0x5e2737,_0x538be5);}return this[_0x181916(0x181)][_0x181916(0x102)](_0x5e2737);}}}[_0x1d9750(0x178)](_0x31b6bd,_0x2c4c31){const _0x166ea7=_0x1d9750;if(!_0x2c4c31)return;let _0x2d7b48=_0x31b6bd[_0x166ea7(0x149)];for(;_0x2d7b48--;){const _0x2d3125=_0x31b6bd[_0x2d7b48];this[_0x166ea7(0x1ef)][_0x166ea7(0x12c)](_0x2d3125)||this[_0x166ea7(0x181)][_0x166ea7(0x114)](_0x2d3125,_0x2c4c31);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8d9606=_0x1163;(function(_0x413226,_0x3a1601){const _0x374f52=_0x1163,_0x2e2f12=_0x413226();while(!![]){try{const _0x252e3b=-parseInt(_0x374f52(0xfe))/0x1*(parseInt(_0x374f52(0xf7))/0x2)+-parseInt(_0x374f52(0xe9))/0x3+-parseInt(_0x374f52(0xdd))/0x4+-parseInt(_0x374f52(0xe0))/0x5+-parseInt(_0x374f52(0xf3))/0x6+parseInt(_0x374f52(0xfa))/0x7*(parseInt(_0x374f52(0xd6))/0x8)+parseInt(_0x374f52(0xe4))/0x9;if(_0x252e3b===_0x3a1601)break;else _0x2e2f12['push'](_0x2e2f12['shift']());}catch(_0x4a4067){_0x2e2f12['push'](_0x2e2f12['shift']());}}}(_0xa578,0xe2e48));import{ContextPlugin as _0x440020}from'ckeditor5/src/core.js';import{Collection as _0x22275d,CKEditorError as _0xb93a91}from'ckeditor5/src/utils.js';function _0x1163(_0x24b3db,_0x4e4f32){const _0xa5786b=_0xa578();return _0x1163=function(_0x11633f,_0x797c66){_0x11633f=_0x11633f-0xc7;let _0x50e5a8=_0xa5786b[_0x11633f];return _0x50e5a8;},_0x1163(_0x24b3db,_0x4e4f32);}import _0x551630 from'./websocketgateway.js';import{Users as _0x343cbc}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xa578(){const _0x112a38=['pluginName','8467860caclUi','orderNumber','plugins','user','44NJDBVr','sessions-register-already-registered','addUser','161987ZjXwZA','channelSessions','connection','getUserSessions','6556SmrYDM','sessionAdd:','isMe','assign','fire','getUser','size','isOfficialPlugin','defineMe','forEach','sessionId','_handleSessionRemove','add','sessions-unregister-not-exist','change:state','Sessions','requires','_handleSessionAdd','role','_uniqueUsersCount','listenTo','216vZALBo','set','allConnectedUsers','values','stopListening','_users','getUserRole','2430168KFLQzi','init','register','8244740bGrFNm','mySessionId','getUserBySessionId','isPremiumPlugin','48278880FWEkUE','unregister','context','remove','state','3743229JYhOjx','has','_registeredSessions','_createUser','connected','channelConnectedUsers','delete','get','clear'];_0xa578=function(){return _0x112a38;};return _0xa578();}export default class i extends _0x440020{[_0x8d9606(0xfb)];[_0x8d9606(0xee)];[_0x8d9606(0xd8)];[_0x8d9606(0xeb)];[_0x8d9606(0xd4)];[_0x8d9606(0xdb)];static get[_0x8d9606(0xf2)](){const _0x2dd737=_0x8d9606;return _0x2dd737(0xd0);}static get[_0x8d9606(0xc8)](){return!0x0;}static get[_0x8d9606(0xe3)](){return!0x0;}static get[_0x8d9606(0xd1)](){return[_0x551630,_0x343cbc];}constructor(_0x5c2dff){const _0x14026e=_0x8d9606;super(_0x5c2dff),this[_0x14026e(0xfb)]=new Map(),this[_0x14026e(0xee)]=new Map(),this[_0x14026e(0xd8)]=new _0x22275d(),this[_0x14026e(0xeb)]=new Map(),this[_0x14026e(0xd4)]=0x0,this[_0x14026e(0xdb)]=this[_0x14026e(0xe6)][_0x14026e(0xf5)][_0x14026e(0xf0)](_0x343cbc);}[_0x8d9606(0xde)](){const _0x58222d=_0x8d9606,_0xdd7811=this[_0x58222d(0xe6)][_0x58222d(0xf5)][_0x58222d(0xf0)](_0x551630);this[_0x58222d(0xd5)](_0xdd7811,_0x58222d(0xcf),(_0x4e0299,_0x5ccbab,_0x496bd1)=>{const _0x305093=_0x58222d;if(_0x305093(0xed)!==_0x496bd1)this[_0x305093(0xfb)][_0x305093(0xca)](_0x4ca748=>_0x4ca748[_0x305093(0xf1)]()),this[_0x305093(0xee)][_0x305093(0xca)](_0x31b191=>_0x31b191[_0x305093(0xf1)]()),this[_0x305093(0xd8)][_0x305093(0xf1)]();else{for(const [_0xee7081,_0x42c9c2]of this[_0x305093(0xeb)])for(const _0x3f6e7d of _0x42c9c2)this[_0x305093(0xd2)](_0xee7081,_0x3f6e7d);}}),this[_0x58222d(0xec)](_0xdd7811[_0x58222d(0xfc)]['me'],!0x0);}[_0x8d9606(0xdf)](_0x1e4050,_0x404848){const _0x302bb5=_0x8d9606;if(this[_0x302bb5(0xeb)][_0x302bb5(0xea)](_0x1e4050))throw new _0xb93a91(_0x302bb5(0xf8),null,{'channelId':_0x1e4050});this[_0x302bb5(0xeb)][_0x302bb5(0xd7)](_0x1e4050,_0x404848),this[_0x302bb5(0xfb)][_0x302bb5(0xd7)](_0x1e4050,new _0x22275d()),this[_0x302bb5(0xee)][_0x302bb5(0xd7)](_0x1e4050,new _0x22275d()),this[_0x302bb5(0xd5)](_0x404848,_0x302bb5(0xcd),(_0x29d6a9,_0x534dab)=>this[_0x302bb5(0xd2)](_0x1e4050,_0x534dab)),this[_0x302bb5(0xd5)](_0x404848,_0x302bb5(0xe7),(_0x2eb929,_0x4d9c4b)=>this[_0x302bb5(0xcc)](_0x1e4050,_0x4d9c4b));for(const _0x36c31d of _0x404848)this[_0x302bb5(0xd2)](_0x1e4050,_0x36c31d);}[_0x8d9606(0xe5)](_0x1fdbe9){const _0x30ea24=_0x8d9606;if(!this[_0x30ea24(0xeb)][_0x30ea24(0xea)](_0x1fdbe9))throw new _0xb93a91(_0x30ea24(0xce),null,{'channelId':_0x1fdbe9});const _0x4174ce=this[_0x30ea24(0xeb)][_0x30ea24(0xf0)](_0x1fdbe9);this[_0x30ea24(0xda)](_0x4174ce);for(const _0x5c116d of _0x4174ce)_0x30ea24(0xed)===this[_0x30ea24(0xe6)][_0x30ea24(0xf5)][_0x30ea24(0xf0)](_0x551630)[_0x30ea24(0xe8)]&&this[_0x30ea24(0xcc)](_0x1fdbe9,_0x5c116d);this[_0x30ea24(0xeb)][_0x30ea24(0xef)](_0x1fdbe9),this[_0x30ea24(0xfb)][_0x30ea24(0xef)](_0x1fdbe9),this[_0x30ea24(0xee)][_0x30ea24(0xef)](_0x1fdbe9);}get[_0x8d9606(0xe1)](){const _0x5b4942=_0x8d9606;return this[_0x5b4942(0xe6)][_0x5b4942(0xf5)][_0x5b4942(0xf0)](_0x551630)[_0x5b4942(0xfc)][_0x5b4942(0xcb)];}[_0x8d9606(0xe2)](_0x575f5c){const _0x5d1743=_0x8d9606;for(const _0x4f44b5 of this[_0x5d1743(0xfb)][_0x5d1743(0xd9)]())for(const _0x513e3b of _0x4f44b5)if(_0x513e3b['id']===_0x575f5c)return _0x513e3b[_0x5d1743(0xf6)];}[_0x8d9606(0xfd)](_0x3abaa5,_0x3578ce){const _0x165539=_0x8d9606,_0x180927=_0x3578ce?[this[_0x165539(0xfb)][_0x165539(0xf0)](_0x3578ce)]:this[_0x165539(0xfb)][_0x165539(0xd9)](),_0x27c231=new Set();for(const _0x2e70ae of _0x180927)for(const _0x17e255 of _0x2e70ae)_0x17e255[_0x165539(0xf6)]['id']===_0x3abaa5['id']&&_0x27c231[_0x165539(0xcd)](_0x17e255['id']);return _0x27c231;}[_0x8d9606(0xdc)](_0x30a42f){const _0x107686=_0x8d9606;for(const _0x19fe95 of this[_0x107686(0xfb)][_0x107686(0xd9)]())for(const _0x51f54f of _0x19fe95)if(_0x51f54f[_0x107686(0xf6)]===_0x30a42f)return _0x51f54f[_0x107686(0xd3)];}[_0x8d9606(0xd2)](_0x420b46,_0x3f1257){const _0x9bdecc=_0x8d9606;if(_0x9bdecc(0xed)!==this[_0x9bdecc(0xe6)][_0x9bdecc(0xf5)][_0x9bdecc(0xf0)](_0x551630)[_0x9bdecc(0xe8)])return;const _0x21b7d4=_0x3f1257[_0x9bdecc(0xf6)],_0x3ca166=this[_0x9bdecc(0xdb)][_0x9bdecc(0x103)](_0x21b7d4['id'])||this[_0x9bdecc(0xec)](_0x21b7d4),_0x3d618e=Object[_0x9bdecc(0x101)]({},_0x3f1257,{'user':_0x3ca166});this[_0x9bdecc(0xfb)][_0x9bdecc(0xf0)](_0x420b46)[_0x9bdecc(0xcd)](_0x3d618e);const _0x2ef6be=this[_0x9bdecc(0xee)][_0x9bdecc(0xf0)](_0x420b46);_0x2ef6be[_0x9bdecc(0xea)](_0x3ca166['id'])||_0x2ef6be[_0x9bdecc(0xcd)](_0x3ca166),this[_0x9bdecc(0xd8)][_0x9bdecc(0xea)](_0x3ca166['id'])||this[_0x9bdecc(0xd8)][_0x9bdecc(0xcd)](_0x3ca166,_0x3ca166[_0x9bdecc(0x100)]?0x0:void 0x0),this[_0x9bdecc(0x102)](_0x9bdecc(0xff)+_0x420b46,{'channelId':_0x420b46,'session':_0x3d618e});}[_0x8d9606(0xcc)](_0x50f452,_0x21cf24){const _0x57de0e=_0x8d9606;if(_0x57de0e(0xed)!==this[_0x57de0e(0xe6)][_0x57de0e(0xf5)][_0x57de0e(0xf0)](_0x551630)[_0x57de0e(0xe8)])return;const _0xbb35e7=this[_0x57de0e(0xee)][_0x57de0e(0xf0)](_0x50f452),_0x3657eb=_0x21cf24[_0x57de0e(0xf6)];_0x3657eb['id']&&(this[_0x57de0e(0xfb)][_0x57de0e(0xf0)](_0x50f452)[_0x57de0e(0xe7)](_0x21cf24['id']),_0xbb35e7[_0x57de0e(0xea)](_0x3657eb['id'])&&!this[_0x57de0e(0xfd)](_0x3657eb,_0x50f452)[_0x57de0e(0xc7)]&&_0xbb35e7[_0x57de0e(0xe7)](_0x3657eb['id']),this[_0x57de0e(0xd8)][_0x57de0e(0xf0)](_0x3657eb['id'])&&!this[_0x57de0e(0xfd)](_0x3657eb)[_0x57de0e(0xc7)]&&this[_0x57de0e(0xd8)][_0x57de0e(0xe7)](_0x3657eb['id']));}[_0x8d9606(0xec)](_0x3d4ba9,_0x25f687){const _0x5344b9=_0x8d9606,_0x44f7fe=this[_0x5344b9(0xdb)][_0x5344b9(0xf9)](_0x3d4ba9);return _0x25f687&&this[_0x5344b9(0xdb)][_0x5344b9(0xc9)](_0x3d4ba9['id']),_0x44f7fe[_0x5344b9(0xf4)]=this[_0x5344b9(0xd4)]++,_0x44f7fe;}}
23
+ const _0x896413=_0xacab;(function(_0x11b221,_0x4aa31b){const _0x46275a=_0xacab,_0x12b4dc=_0x11b221();while(!![]){try{const _0x31759b=parseInt(_0x46275a(0xf2))/0x1+parseInt(_0x46275a(0x114))/0x2*(parseInt(_0x46275a(0x11a))/0x3)+-parseInt(_0x46275a(0xfe))/0x4+parseInt(_0x46275a(0xfa))/0x5+parseInt(_0x46275a(0xf1))/0x6*(parseInt(_0x46275a(0x104))/0x7)+parseInt(_0x46275a(0xef))/0x8*(parseInt(_0x46275a(0x100))/0x9)+-parseInt(_0x46275a(0xff))/0xa;if(_0x31759b===_0x4aa31b)break;else _0x12b4dc['push'](_0x12b4dc['shift']());}catch(_0x547e83){_0x12b4dc['push'](_0x12b4dc['shift']());}}}(_0x4400,0x4992d));function _0x4400(){const _0x2c2e40=['size','sessions-register-already-registered','fire','_createUser','add','_handleSessionRemove','context','_handleSessionAdd','_registeredSessions','role','isOfficialPlugin','_uniqueUsersCount','mySessionId','state','register','7844CtRDvp','forEach','connection','orderNumber','set','addUser','18WEKqKj','connected','getUserBySessionId','clear','_users','isMe','sessions-unregister-not-exist','getUserSessions','change:state','getUserRole','channelSessions','has','user','get','delete','Sessions','listenTo','sessionId','sessionAdd:','8IfeZNR','isPremiumPlugin','12lplEvB','324285RDdWUK','channelConnectedUsers','allConnectedUsers','plugins','pluginName','unregister','values','remove','1322500IMfVDn','stopListening','getUser','init','1885940pOkJTs','3183200JNtVaB','511479tFjLZa','requires','defineMe','assign','1477049ldlsiG'];_0x4400=function(){return _0x2c2e40;};return _0x4400();}import{ContextPlugin as _0x5674c6}from'ckeditor5/src/core.js';import{Collection as _0x41d251,CKEditorError as _0x196ca2}from'ckeditor5/src/utils.js';function _0xacab(_0x2aca1f,_0x3e4d48){const _0x44004a=_0x4400();return _0xacab=function(_0xacabcd,_0x93cebf){_0xacabcd=_0xacabcd-0xee;let _0x5ebf29=_0x44004a[_0xacabcd];return _0x5ebf29;},_0xacab(_0x2aca1f,_0x3e4d48);}import _0x10fdc2 from'./websocketgateway.js';import{Users as _0x29ce4a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x5674c6{[_0x896413(0x124)];[_0x896413(0xf3)];[_0x896413(0xf4)];[_0x896413(0x10d)];[_0x896413(0x110)];[_0x896413(0x11e)];static get[_0x896413(0xf6)](){const _0x5e9cae=_0x896413;return _0x5e9cae(0x129);}static get[_0x896413(0x10f)](){return!0x0;}static get[_0x896413(0xf0)](){return!0x0;}static get[_0x896413(0x101)](){return[_0x10fdc2,_0x29ce4a];}constructor(_0xcfaba2){const _0x1024c2=_0x896413;super(_0xcfaba2),this[_0x1024c2(0x124)]=new Map(),this[_0x1024c2(0xf3)]=new Map(),this[_0x1024c2(0xf4)]=new _0x41d251(),this[_0x1024c2(0x10d)]=new Map(),this[_0x1024c2(0x110)]=0x0,this[_0x1024c2(0x11e)]=this[_0x1024c2(0x10b)][_0x1024c2(0xf5)][_0x1024c2(0x127)](_0x29ce4a);}[_0x896413(0xfd)](){const _0x1e3ce1=_0x896413,_0x299d26=this[_0x1e3ce1(0x10b)][_0x1e3ce1(0xf5)][_0x1e3ce1(0x127)](_0x10fdc2);this[_0x1e3ce1(0x12a)](_0x299d26,_0x1e3ce1(0x122),(_0x1c7a9e,_0x6e7733,_0x3be656)=>{const _0x10c9bb=_0x1e3ce1;if(_0x10c9bb(0x11b)!==_0x3be656)this[_0x10c9bb(0x124)][_0x10c9bb(0x115)](_0x483b34=>_0x483b34[_0x10c9bb(0x11d)]()),this[_0x10c9bb(0xf3)][_0x10c9bb(0x115)](_0x267a17=>_0x267a17[_0x10c9bb(0x11d)]()),this[_0x10c9bb(0xf4)][_0x10c9bb(0x11d)]();else{for(const [_0x43a7b4,_0x370066]of this[_0x10c9bb(0x10d)])for(const _0x556cec of _0x370066)this[_0x10c9bb(0x10c)](_0x43a7b4,_0x556cec);}}),this[_0x1e3ce1(0x108)](_0x299d26[_0x1e3ce1(0x116)]['me'],!0x0);}[_0x896413(0x113)](_0x215c74,_0x2dbc73){const _0x2f8442=_0x896413;if(this[_0x2f8442(0x10d)][_0x2f8442(0x125)](_0x215c74))throw new _0x196ca2(_0x2f8442(0x106),null,{'channelId':_0x215c74});this[_0x2f8442(0x10d)][_0x2f8442(0x118)](_0x215c74,_0x2dbc73),this[_0x2f8442(0x124)][_0x2f8442(0x118)](_0x215c74,new _0x41d251()),this[_0x2f8442(0xf3)][_0x2f8442(0x118)](_0x215c74,new _0x41d251()),this[_0x2f8442(0x12a)](_0x2dbc73,_0x2f8442(0x109),(_0x48ac0d,_0x442649)=>this[_0x2f8442(0x10c)](_0x215c74,_0x442649)),this[_0x2f8442(0x12a)](_0x2dbc73,_0x2f8442(0xf9),(_0x379807,_0x1b38dd)=>this[_0x2f8442(0x10a)](_0x215c74,_0x1b38dd));for(const _0x2a23ef of _0x2dbc73)this[_0x2f8442(0x10c)](_0x215c74,_0x2a23ef);}[_0x896413(0xf7)](_0x11ec46){const _0x22c4e9=_0x896413;if(!this[_0x22c4e9(0x10d)][_0x22c4e9(0x125)](_0x11ec46))throw new _0x196ca2(_0x22c4e9(0x120),null,{'channelId':_0x11ec46});const _0xf81008=this[_0x22c4e9(0x10d)][_0x22c4e9(0x127)](_0x11ec46);this[_0x22c4e9(0xfb)](_0xf81008);for(const _0x2e1184 of _0xf81008)_0x22c4e9(0x11b)===this[_0x22c4e9(0x10b)][_0x22c4e9(0xf5)][_0x22c4e9(0x127)](_0x10fdc2)[_0x22c4e9(0x112)]&&this[_0x22c4e9(0x10a)](_0x11ec46,_0x2e1184);this[_0x22c4e9(0x10d)][_0x22c4e9(0x128)](_0x11ec46),this[_0x22c4e9(0x124)][_0x22c4e9(0x128)](_0x11ec46),this[_0x22c4e9(0xf3)][_0x22c4e9(0x128)](_0x11ec46);}get[_0x896413(0x111)](){const _0x28de59=_0x896413;return this[_0x28de59(0x10b)][_0x28de59(0xf5)][_0x28de59(0x127)](_0x10fdc2)[_0x28de59(0x116)][_0x28de59(0x12b)];}[_0x896413(0x11c)](_0x1dcc63){const _0x248779=_0x896413;for(const _0x7824d9 of this[_0x248779(0x124)][_0x248779(0xf8)]())for(const _0x139369 of _0x7824d9)if(_0x139369['id']===_0x1dcc63)return _0x139369[_0x248779(0x126)];}[_0x896413(0x121)](_0x316c49,_0x11ba85){const _0x1881bd=_0x896413,_0x4950ed=_0x11ba85?[this[_0x1881bd(0x124)][_0x1881bd(0x127)](_0x11ba85)]:this[_0x1881bd(0x124)][_0x1881bd(0xf8)](),_0x2a2350=new Set();for(const _0x2a800a of _0x4950ed)for(const _0x3f6c27 of _0x2a800a)_0x3f6c27[_0x1881bd(0x126)]['id']===_0x316c49['id']&&_0x2a2350[_0x1881bd(0x109)](_0x3f6c27['id']);return _0x2a2350;}[_0x896413(0x123)](_0x3e5309){const _0x759c2c=_0x896413;for(const _0x3771ae of this[_0x759c2c(0x124)][_0x759c2c(0xf8)]())for(const _0x1d261d of _0x3771ae)if(_0x1d261d[_0x759c2c(0x126)]===_0x3e5309)return _0x1d261d[_0x759c2c(0x10e)];}[_0x896413(0x10c)](_0x125e25,_0x5a89aa){const _0x4eef9d=_0x896413;if(_0x4eef9d(0x11b)!==this[_0x4eef9d(0x10b)][_0x4eef9d(0xf5)][_0x4eef9d(0x127)](_0x10fdc2)[_0x4eef9d(0x112)])return;const _0x4604c5=_0x5a89aa[_0x4eef9d(0x126)],_0x44044d=this[_0x4eef9d(0x11e)][_0x4eef9d(0xfc)](_0x4604c5['id'])||this[_0x4eef9d(0x108)](_0x4604c5),_0x33773b=Object[_0x4eef9d(0x103)]({},_0x5a89aa,{'user':_0x44044d});this[_0x4eef9d(0x124)][_0x4eef9d(0x127)](_0x125e25)[_0x4eef9d(0x109)](_0x33773b);const _0x2b8852=this[_0x4eef9d(0xf3)][_0x4eef9d(0x127)](_0x125e25);_0x2b8852[_0x4eef9d(0x125)](_0x44044d['id'])||_0x2b8852[_0x4eef9d(0x109)](_0x44044d),this[_0x4eef9d(0xf4)][_0x4eef9d(0x125)](_0x44044d['id'])||this[_0x4eef9d(0xf4)][_0x4eef9d(0x109)](_0x44044d,_0x44044d[_0x4eef9d(0x11f)]?0x0:void 0x0),this[_0x4eef9d(0x107)](_0x4eef9d(0xee)+_0x125e25,{'channelId':_0x125e25,'session':_0x33773b});}[_0x896413(0x10a)](_0x361c7e,_0x26ef55){const _0x841c02=_0x896413;if(_0x841c02(0x11b)!==this[_0x841c02(0x10b)][_0x841c02(0xf5)][_0x841c02(0x127)](_0x10fdc2)[_0x841c02(0x112)])return;const _0xb2872f=this[_0x841c02(0xf3)][_0x841c02(0x127)](_0x361c7e),_0x27b99d=_0x26ef55[_0x841c02(0x126)];_0x27b99d['id']&&(this[_0x841c02(0x124)][_0x841c02(0x127)](_0x361c7e)[_0x841c02(0xf9)](_0x26ef55['id']),_0xb2872f[_0x841c02(0x125)](_0x27b99d['id'])&&!this[_0x841c02(0x121)](_0x27b99d,_0x361c7e)[_0x841c02(0x105)]&&_0xb2872f[_0x841c02(0xf9)](_0x27b99d['id']),this[_0x841c02(0xf4)][_0x841c02(0x127)](_0x27b99d['id'])&&!this[_0x841c02(0x121)](_0x27b99d)[_0x841c02(0x105)]&&this[_0x841c02(0xf4)][_0x841c02(0xf9)](_0x27b99d['id']));}[_0x896413(0x108)](_0x56afa4,_0x1595bc){const _0x40e8d4=_0x896413,_0x3d4729=this[_0x40e8d4(0x11e)][_0x40e8d4(0x119)](_0x56afa4);return _0x1595bc&&this[_0x40e8d4(0x11e)][_0x40e8d4(0x102)](_0x56afa4['id']),_0x3d4729[_0x40e8d4(0x117)]=this[_0x40e8d4(0x110)]++,_0x3d4729;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bbca7=_0x1597;(function(_0x26288f,_0x477a6f){const _0x2ae45b=_0x1597,_0x5468ed=_0x26288f();while(!![]){try{const _0x2d6528=-parseInt(_0x2ae45b(0x18f))/0x1+parseInt(_0x2ae45b(0x17f))/0x2*(parseInt(_0x2ae45b(0x1c7))/0x3)+parseInt(_0x2ae45b(0x1ed))/0x4*(parseInt(_0x2ae45b(0x1ff))/0x5)+parseInt(_0x2ae45b(0x1af))/0x6*(parseInt(_0x2ae45b(0x1a9))/0x7)+parseInt(_0x2ae45b(0x198))/0x8+parseInt(_0x2ae45b(0x1cb))/0x9+-parseInt(_0x2ae45b(0x1ec))/0xa;if(_0x2d6528===_0x477a6f)break;else _0x5468ed['push'](_0x5468ed['shift']());}catch(_0x1ef08){_0x5468ed['push'](_0x5468ed['shift']());}}}(_0xdb85,0x9d076));import{Plugin as _0x37a372}from'ckeditor5/src/core.js';import{global as _0x5d72f1,DomEmitterMixin as _0x894a17}from'ckeditor5/src/utils.js';import _0x3f7d0e from'./sessions.js';import{LiveRange as _0x48929a}from'ckeditor5/src/engine.js';function _0x1597(_0x169152,_0xd7790d){const _0xdb85f6=_0xdb85();return _0x1597=function(_0x1597cf,_0x3fe336){_0x1597cf=_0x1597cf-0x175;let _0x569e28=_0xdb85f6[_0x1597cf];return _0x569e28;},_0x1597(_0x169152,_0xd7790d);}import'../../theme/usermarkers.css';function _0xdb85(){const _0x55786b=['getNearestSelectionRange','remove','orderNumber','85FjLYva','tableCell','setCustomProperty','mouseleave','user:position:','init','getContainedElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','clear','getRange','type','977458eiIFQw','reconvertMarker','Escape','ck-user__marker-tooltip','markerRange','get','_createdBatches','listenTo','addEventListener','fromRange','getSelectionClass','$text','getFirstRange','element','isInline','getPositions','1271220NQnNZt','createElement','enqueueChange','rootName','editing','stopListening','document','requires','user:range:','9030448IlYhTB','root','isLimit','undo','set','startsWith','getCustomProperty','updateMarker','color','update:user:range','split','conversion','for','UserMarkers','ck-user__selection','textContent','newRange','77jwxRzC','addMarker','createUIElement','detach','commands','deletionPosition','311838tkRjRl','user:range','createRange','removeMarker','user:position','hasContent','markerNameToElements','ck-user__marker\x20','data-session-id','destroy','_domEmitter','keydown','innerHTML','size','getMarkerClass','markerToHighlight','delete','getStart','oldRange','schema','$graveyard','spellcheck','contenteditable','batch','3elepTr','selection','editor','classList','11116134iHKTPr','nodeAfter','isObject','applyOperation','plugins','view','getAttribute','getUserBySessionId','isDocumentOperation','checkChild','mapper','user:','afterInit','pluginName','marker','editingDowncast','false','mouseenter','userPositionMarker','isPremiumPlugin','isCollapsed','ck-user__marker_hovered','toDomElement','isSimilar','markers','parent','highest','render','name','markerName','hasDomSelection','span','setAttribute','16142830yxLPbd','24548XdmusQ','toRange','model','add','has','isOfficialPlugin','removeClass','createUserMarkerOperations','end','outerHTML','markerToElement','change:range','start','mySessionId','change'];_0xdb85=function(){return _0x55786b;};return _0xdb85();}export default class J extends _0x37a372{[_0x3bbca7(0x1b9)]=new(_0x894a17())();static get[_0x3bbca7(0x196)](){return[_0x3f7d0e];}static get[_0x3bbca7(0x1d8)](){const _0x364f51=_0x3bbca7;return _0x364f51(0x1a5);}static get[_0x3bbca7(0x1f2)](){return!0x0;}static get[_0x3bbca7(0x1de)](){return!0x0;}[_0x3bbca7(0x179)](){const _0x23cc8f=_0x3bbca7,_0x3c4f92=this[_0x23cc8f(0x1c9)],_0x69cd6a=_0x3c4f92[_0x23cc8f(0x1cf)][_0x23cc8f(0x184)](_0x3f7d0e);_0x3c4f92[_0x23cc8f(0x1a3)][_0x23cc8f(0x1a4)](_0x23cc8f(0x1da))[_0x23cc8f(0x1f7)]({'model':_0x23cc8f(0x1b3),'view':(_0x147a49,{writer:_0x4fce1f})=>function(_0x251563,_0x31c305,_0x34f524,_0x377ea2){const _0x3e7a08=_0x23cc8f,_0x51921a=_0x251563[_0x3e7a08(0x1e8)][_0x3e7a08(0x1a2)](':')[0x2],_0x1f14b0=_0x34f524[_0x3e7a08(0x1d2)](_0x51921a);if(!_0x1f14b0||_0x51921a===_0x34f524[_0x3e7a08(0x1fa)])return;if(!_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1c2)][_0x3e7a08(0x1d4)](_0x251563[_0x3e7a08(0x183)][_0x3e7a08(0x1f9)],_0x3e7a08(0x18a)))return;const _0x129798={'class':_0x3e7a08(0x1b6)+_0x1f14b0[_0x3e7a08(0x1a0)][_0x3e7a08(0x1bd)](),'data-name':_0x1f14b0[_0x3e7a08(0x1e7)],'data-session-id':_0x51921a},_0x3fd2c6=_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1e3)][_0x3e7a08(0x184)](_0x251563[_0x3e7a08(0x1e8)]),_0x1185e8=_0x3fd2c6[_0x3e7a08(0x1c0)](),_0x49a87b=_0x1185e8[_0x3e7a08(0x1cc)],_0x41ffe6=_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1c2)];if(_0x49a87b&&_0x41ffe6[_0x3e7a08(0x1cd)](_0x49a87b)&&_0x41ffe6[_0x3e7a08(0x18d)](_0x49a87b)&&!_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1e3)][_0x3e7a08(0x184)](_0x3e7a08(0x197)+_0x51921a)[_0x3e7a08(0x17d)]()[_0x3e7a08(0x1df)])return;const _0x48cd75=_0x1185e8[_0x3e7a08(0x1e4)];return _0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1c2)][_0x3e7a08(0x19a)](_0x48cd75)&&!_0x377ea2[_0x3e7a08(0x1ef)][_0x3e7a08(0x1b4)](_0x48cd75)&&(_0x129798[_0x3e7a08(0x1c5)]=!0x1),function(_0x2d1e24,_0x93328d,_0x1b22a0){const _0x57a77e=_0x3e7a08,_0x36994c=_0x2d1e24[_0x57a77e(0x1ab)](_0x57a77e(0x1ea),_0x93328d);return _0x2d1e24[_0x57a77e(0x176)](_0x57a77e(0x1dd),!0x0,_0x36994c),_0x36994c[_0x57a77e(0x1e6)]=function(_0x4e8e24){const _0x72e3fd=_0x57a77e,_0x2265e6=this[_0x72e3fd(0x1e1)](_0x4e8e24),_0x14fdfd=document[_0x72e3fd(0x190)](_0x72e3fd(0x1ea));return _0x14fdfd[_0x72e3fd(0x1ca)][_0x72e3fd(0x1f0)](_0x72e3fd(0x182)),_0x14fdfd[_0x72e3fd(0x1eb)](_0x72e3fd(0x1c5),_0x72e3fd(0x1db)),_0x14fdfd[_0x72e3fd(0x1eb)](_0x72e3fd(0x1c4),_0x72e3fd(0x1db)),_0x14fdfd[_0x72e3fd(0x1a7)]=_0x1b22a0[_0x72e3fd(0x1e7)],_0x2265e6[_0x72e3fd(0x1bb)]=_0x72e3fd(0x17b)+_0x14fdfd[_0x72e3fd(0x1f6)]+'⁠',_0x2265e6[_0x72e3fd(0x187)](_0x72e3fd(0x1dc),()=>{const _0x29739b=_0x72e3fd;_0x2265e6[_0x29739b(0x1ca)][_0x29739b(0x1f0)](_0x29739b(0x1e0));}),_0x2265e6[_0x72e3fd(0x187)](_0x72e3fd(0x177),()=>{const _0x2673fb=_0x72e3fd;_0x2265e6[_0x2673fb(0x1ca)][_0x2673fb(0x1fd)](_0x2673fb(0x1e0));}),_0x2265e6;},_0x36994c[_0x57a77e(0x1e2)]=function(_0x35bb0){const _0x5e89f6=_0x57a77e;return!(!this[_0x5e89f6(0x19e)](_0x5e89f6(0x1dd))||!_0x35bb0[_0x5e89f6(0x19e)](_0x5e89f6(0x1dd))||this[_0x5e89f6(0x1d1)](_0x5e89f6(0x1b7))!=_0x35bb0[_0x5e89f6(0x1d1)](_0x5e89f6(0x1b7)));},_0x36994c;}(_0x31c305,_0x129798,_0x1f14b0);}(_0x147a49,_0x4fce1f,_0x69cd6a,_0x3c4f92)}),_0x3c4f92[_0x23cc8f(0x1a3)][_0x23cc8f(0x1a4)](_0x23cc8f(0x1da))[_0x23cc8f(0x1be)]({'model':_0x23cc8f(0x1b0),'view':_0xb1c2ad=>function(_0x93ac0,_0x13d983){const _0x1af8f2=_0x23cc8f,_0x382495=_0x93ac0[_0x1af8f2(0x1e8)][_0x1af8f2(0x1a2)](':')[0x2];if(_0x382495===_0x13d983[_0x1af8f2(0x1fa)])return null;const _0x433ebc=_0x13d983[_0x1af8f2(0x1d2)](_0x382495);if(!_0x433ebc)return{'id':_0x382495,'classes':[]};return{'id':_0x382495,'classes':[_0x1af8f2(0x1a6),_0x433ebc[_0x1af8f2(0x1a0)][_0x1af8f2(0x189)]()],'attributes':{'data-session-id':_0x382495},'priority':0x7d0+_0x433ebc[_0x1af8f2(0x1fe)]};}(_0xb1c2ad,_0x69cd6a)}),function(_0x3a2ec4){const _0x26f473=_0x23cc8f,_0x408638=_0x3a2ec4[_0x26f473(0x1ef)],_0x48228c=new Map(),_0x3154a1=_0x3a2ec4[_0x26f473(0x1cf)][_0x26f473(0x184)](_0x3f7d0e);_0x408638[_0x26f473(0x1e3)]['on'](_0x26f473(0x1a1),(_0x373097,_0x13f8d5,_0x16d329,_0x1f2bd1)=>{const _0x50a100=_0x26f473;if(!_0x1f2bd1&&_0x48228c[_0x50a100(0x184)](_0x13f8d5[_0x50a100(0x1e7)]))return _0x48228c[_0x50a100(0x184)](_0x13f8d5[_0x50a100(0x1e7)])[_0x50a100(0x1ac)](),void _0x48228c[_0x50a100(0x1bf)](_0x13f8d5[_0x50a100(0x1e7)]);const _0x4b6ca7=_0x13f8d5[_0x50a100(0x1e7)][_0x50a100(0x1a2)](':')[0x2];if(_0x4b6ca7===_0x3154a1[_0x50a100(0x1fa)])return;const _0x38ad2e=_0x50a100(0x178)+_0x4b6ca7;_0x408638[_0x50a100(0x1e3)][_0x50a100(0x1f1)](_0x38ad2e)&&_0x3a2ec4[_0x50a100(0x193)][_0x50a100(0x180)](_0x38ad2e),_0x13f8d5['on'](_0x50a100(0x1f8),(_0x59b296,_0xbf4cf6,_0x2333a9)=>{const _0x1c32e1=_0x50a100;if(_0x1c32e1(0x1c3)!=_0xbf4cf6[_0x1c32e1(0x199)][_0x1c32e1(0x192)]&&_0x1c32e1(0x1c3)==_0x13f8d5[_0x1c32e1(0x17d)]()[_0x1c32e1(0x199)][_0x1c32e1(0x192)]&&!_0x48228c[_0x1c32e1(0x1f1)](_0x13f8d5[_0x1c32e1(0x1e7)])){const _0x451f03=_0x408638[_0x1c32e1(0x1c2)][_0x1c32e1(0x1fc)](_0x2333a9[_0x1c32e1(0x1ae)]);if(_0x451f03){const _0x144e1e=_0x48929a[_0x1c32e1(0x188)](_0x451f03);_0x48228c[_0x1c32e1(0x19c)](_0x13f8d5[_0x1c32e1(0x1e7)],_0x144e1e),_0x144e1e['on'](_0x1c32e1(0x1f8),(_0x455886,_0xe9f541,_0x5e926e)=>{const _0x56951f=_0x1c32e1;if(_0x56951f(0x1c3)==_0x144e1e[_0x56951f(0x199)][_0x56951f(0x192)]){const _0x36a20a=_0x408638[_0x56951f(0x1c2)][_0x56951f(0x1fc)](_0x5e926e[_0x56951f(0x1ae)]);_0x36a20a?(_0x144e1e[_0x56951f(0x1f9)]=_0x36a20a[_0x56951f(0x1f9)],_0x144e1e[_0x56951f(0x1f5)]=_0x36a20a[_0x56951f(0x1f5)]):(_0x48228c[_0x56951f(0x1bf)](_0x13f8d5[_0x56951f(0x1e7)]),_0x144e1e[_0x56951f(0x1ac)]());}});}}});}),_0x408638[_0x26f473(0x195)]['on'](_0x26f473(0x1fb),()=>{const _0x1b3248=_0x26f473;_0x48228c[_0x1b3248(0x1bc)]>0x0&&_0x408638[_0x1b3248(0x191)]({'isUndoable':!0x1},_0x376390=>{const _0x22cf93=_0x1b3248;for(const [_0x1171c6,_0xad50b4]of _0x48228c)_0x22cf93(0x1c3)==_0x408638[_0x22cf93(0x1e3)][_0x22cf93(0x184)](_0x1171c6)[_0x22cf93(0x17d)]()[_0x22cf93(0x199)][_0x22cf93(0x192)]&&(se(_0x1171c6[_0x22cf93(0x1a2)](':')[0x2],_0xad50b4[_0x22cf93(0x1ee)](),_0x408638,_0x376390),_0xad50b4[_0x22cf93(0x1ac)]());_0x48228c[_0x22cf93(0x17c)]();});});}(_0x3c4f92),this[_0x23cc8f(0x1b9)][_0x23cc8f(0x186)](_0x5d72f1[_0x23cc8f(0x195)],_0x23cc8f(0x1ba),(_0x517173,{key:_0xf901e3})=>{const _0x358df4=_0x23cc8f;_0x358df4(0x181)===_0xf901e3&&function(_0x4cf7d5){const _0x54921a=_0x358df4;_0x4cf7d5[_0x54921a(0x193)][_0x54921a(0x1d0)][_0x54921a(0x1fb)](_0x43917c=>{const _0x4693c7=_0x54921a;for(const _0x38fd10 of _0x4cf7d5[_0x4693c7(0x1ef)][_0x4693c7(0x1e3)]){if(!_0x38fd10[_0x4693c7(0x1e7)][_0x4693c7(0x19d)](_0x4693c7(0x1b3)))continue;const _0x2cd424=_0x4cf7d5[_0x4693c7(0x193)][_0x4693c7(0x1d5)][_0x4693c7(0x1b5)](_0x38fd10[_0x4693c7(0x1e7)]);if(_0x2cd424){for(const _0x2a34f6 of _0x2cd424)_0x43917c[_0x4693c7(0x1f3)](_0x4693c7(0x1e0),_0x2a34f6);}}});}(_0x3c4f92);},{'useCapture':!0x0});}[_0x3bbca7(0x1d7)](){const _0x1d94c6=_0x3bbca7,_0x58d641=this[_0x1d94c6(0x1c9)],_0x12aadb=_0x58d641[_0x1d94c6(0x1ad)][_0x1d94c6(0x184)](_0x1d94c6(0x19b));_0x12aadb&&_0x58d641[_0x1d94c6(0x1ef)]['on'](_0x1d94c6(0x1ce),(_0x3b1e60,_0x13db8c)=>{const _0x34f345=_0x1d94c6,_0x292d0d=_0x13db8c[0x0];if(!_0x292d0d[_0x34f345(0x1d3)])return;if(_0x34f345(0x1d9)!=_0x292d0d[_0x34f345(0x17e)]||!_0x292d0d[_0x34f345(0x1e7)][_0x34f345(0x19d)](_0x34f345(0x1d6)))return;const _0xa280f7=_0x292d0d[_0x34f345(0x1c6)];_0x12aadb[_0x34f345(0x185)][_0x34f345(0x1f1)](_0xa280f7)&&(_0x292d0d[_0x34f345(0x1a8)]=_0x292d0d[_0x34f345(0x1c1)]?_0x58d641[_0x34f345(0x1ef)][_0x34f345(0x1b1)](_0x292d0d[_0x34f345(0x1c1)][_0x34f345(0x1f9)],_0x292d0d[_0x34f345(0x1c1)][_0x34f345(0x1f5)]):null);},{'priority':_0x1d94c6(0x1e5)});}[_0x3bbca7(0x1b8)](){const _0x5bf649=_0x3bbca7;return this[_0x5bf649(0x1b9)][_0x5bf649(0x194)](),super[_0x5bf649(0x1b8)]();}[_0x3bbca7(0x1f4)](){const _0x5be036=_0x3bbca7,_0x3dc3dc=this[_0x5be036(0x1c9)],_0xf176ef=_0x3dc3dc[_0x5be036(0x1ef)][_0x5be036(0x195)],_0x250c42=_0x3dc3dc[_0x5be036(0x1cf)][_0x5be036(0x184)](_0x3f7d0e);_0x3dc3dc[_0x5be036(0x1ef)][_0x5be036(0x191)]({'isUndoable':!0x1},_0x4a9b97=>{const _0x10fd02=_0x5be036,_0x2671f5=_0x10fd02(0x197)+_0x250c42[_0x10fd02(0x1fa)],_0xbc04ec=_0x10fd02(0x178)+_0x250c42[_0x10fd02(0x1fa)],_0xe75eaf=_0x3dc3dc[_0x10fd02(0x1ef)][_0x10fd02(0x1e3)][_0x10fd02(0x1f1)](_0x2671f5);_0x3dc3dc[_0x10fd02(0x193)][_0x10fd02(0x1d0)][_0x10fd02(0x1e9)]?se(_0x250c42[_0x10fd02(0x1fa)],_0xf176ef[_0x10fd02(0x1c8)][_0x10fd02(0x18b)](),_0x3dc3dc[_0x10fd02(0x1ef)],_0x4a9b97):_0xe75eaf&&(_0x4a9b97[_0x10fd02(0x1b2)](_0x2671f5),_0x4a9b97[_0x10fd02(0x1b2)](_0xbc04ec));});}}function se(_0x41c3a4,_0x2464b8,_0x240a14,_0x38e900){const _0x25319d=_0x3bbca7,_0x199bbf=_0x25319d(0x197)+_0x41c3a4,_0x1e85ed=_0x25319d(0x178)+_0x41c3a4,_0x3667f8=_0x2464b8[_0x25319d(0x17a)]();let _0x28c76c=_0x2464b8[_0x25319d(0x1f9)];_0x3667f8&&_0x3667f8['is'](_0x25319d(0x18c),_0x25319d(0x175))&&(_0x28c76c=function(_0x13709a,_0x9d5968){const _0x57a6f0=_0x25319d;for(const _0x43a18a of _0x13709a[_0x57a6f0(0x18e)]())if(_0x9d5968[_0x57a6f0(0x1c2)][_0x57a6f0(0x1d4)](_0x43a18a,_0x57a6f0(0x18a)))return _0x43a18a;}(_0x2464b8,_0x240a14),_0x2464b8=_0x38e900[_0x25319d(0x1b1)](_0x28c76c));const _0x3b5256=_0x38e900[_0x25319d(0x1b1)](_0x28c76c);_0x240a14[_0x25319d(0x1e3)][_0x25319d(0x1f1)](_0x199bbf)?(_0x38e900[_0x25319d(0x19f)](_0x199bbf,{'range':_0x2464b8}),_0x38e900[_0x25319d(0x19f)](_0x1e85ed,{'range':_0x3b5256})):(_0x38e900[_0x25319d(0x1aa)](_0x199bbf,{'range':_0x2464b8,'usingOperation':!0x0}),_0x38e900[_0x25319d(0x1aa)](_0x1e85ed,{'range':_0x3b5256,'usingOperation':!0x0}));}
23
+ const _0x4d0a3c=_0x3a5f;(function(_0x4fa6d6,_0x4aba9e){const _0x3bf95d=_0x3a5f,_0x124b61=_0x4fa6d6();while(!![]){try{const _0x3611c0=parseInt(_0x3bf95d(0x78))/0x1*(parseInt(_0x3bf95d(0x6b))/0x2)+parseInt(_0x3bf95d(0xd6))/0x3*(-parseInt(_0x3bf95d(0xb5))/0x4)+parseInt(_0x3bf95d(0xc6))/0x5*(parseInt(_0x3bf95d(0x86))/0x6)+parseInt(_0x3bf95d(0x83))/0x7*(parseInt(_0x3bf95d(0xa0))/0x8)+parseInt(_0x3bf95d(0x71))/0x9+parseInt(_0x3bf95d(0x95))/0xa+-parseInt(_0x3bf95d(0x8e))/0xb*(parseInt(_0x3bf95d(0xeb))/0xc);if(_0x3611c0===_0x4aba9e)break;else _0x124b61['push'](_0x124b61['shift']());}catch(_0x1b540f){_0x124b61['push'](_0x124b61['shift']());}}}(_0x4cdb,0x6c971));import{Plugin as _0x1d3b00}from'ckeditor5/src/core.js';function _0x3a5f(_0x416de0,_0x5eb365){const _0x4cdb9a=_0x4cdb();return _0x3a5f=function(_0x3a5f77,_0xbdc256){_0x3a5f77=_0x3a5f77-0x68;let _0xf6c20b=_0x4cdb9a[_0x3a5f77];return _0xf6c20b;},_0x3a5f(_0x416de0,_0x5eb365);}import{global as _0x26c00f,DomEmitterMixin as _0x425d62}from'ckeditor5/src/utils.js';function _0x4cdb(){const _0x18121d=['root','getContainedElement','add','false','getMarkerClass','getCustomProperty','101418SLljdc','rootName','reconvertMarker','isOfficialPlugin','isDocumentOperation','checkChild','5402925llSSXm','editing','data-session-id','detach','ck-user__selection','change:range','hasDomSelection','16vYFeje','has','createUserMarkerOperations','outerHTML','for','getStart','mouseenter','render','ck-user__marker-tooltip','updateMarker','name','12439QjQrRy','set','toRange','720324zzHiTM','undo','userPositionMarker','markerToHighlight','classList','getFirstRange','setAttribute','applyOperation','6688zWMWOV','innerHTML','change','isObject','editor','addEventListener','startsWith','1643720LNHEOc','start','clear','update:user:range','_domEmitter','span','user:','textContent','conversion','user:position','markerName','3376gTlGna','user:position:','fromRange','split','getUserBySessionId','remove','markerRange','setCustomProperty','isInline','afterInit','element','requires','mouseleave','mySessionId','get','markers','createRange','type','schema','stopListening','end','444184YJGIHx','markerNameToElements','ck-user__marker_hovered','deletionPosition','commands','keydown','getSelectionClass','user:range:','getPositions','isCollapsed','contenteditable','enqueueChange','color','isPremiumPlugin','view','tableCell','ck-user__marker\x20','25tVUBas','nodeAfter','orderNumber','mapper','oldRange','size','pluginName','createElement','parent','destroy','document','spellcheck','init','$text','user:range','selection','6EsmrZB','createUIElement','removeMarker','isSimilar','listenTo','editingDowncast','delete','removeClass','$graveyard','addMarker','plugins','UserMarkers','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','isLimit','highest','hasContent','marker','markerToElement','getNearestSelectionRange','_createdBatches','44592AqsLmF','Escape','model','toDomElement','getRange','newRange','batch'];_0x4cdb=function(){return _0x18121d;};return _0x4cdb();}import _0x221d4d from'./sessions.js';import{LiveRange as _0x4dc413}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x1d3b00{[_0x4d0a3c(0x99)]=new(_0x425d62())();static get[_0x4d0a3c(0xab)](){return[_0x221d4d];}static get[_0x4d0a3c(0xcc)](){const _0x2eabcd=_0x4d0a3c;return _0x2eabcd(0xe1);}static get[_0x4d0a3c(0x6e)](){return!0x0;}static get[_0x4d0a3c(0xc2)](){return!0x0;}[_0x4d0a3c(0xd2)](){const _0x159022=_0x4d0a3c,_0x28e01c=this[_0x159022(0x92)],_0x384cde=_0x28e01c[_0x159022(0xe0)][_0x159022(0xae)](_0x221d4d);_0x28e01c[_0x159022(0x9d)][_0x159022(0x7c)](_0x159022(0xdb))[_0x159022(0xe8)]({'model':_0x159022(0x9e),'view':(_0x3f2805,{writer:_0x3720e4})=>function(_0x58a9b8,_0x20822d,_0x58b5e2,_0x465144){const _0x51ba0e=_0x159022,_0x31d844=_0x58a9b8[_0x51ba0e(0x9f)][_0x51ba0e(0xa3)](':')[0x2],_0x153636=_0x58b5e2[_0x51ba0e(0xa4)](_0x31d844);if(!_0x153636||_0x31d844===_0x58b5e2[_0x51ba0e(0xad)])return;if(!_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xb2)][_0x51ba0e(0x70)](_0x58a9b8[_0x51ba0e(0xa6)][_0x51ba0e(0x96)],_0x51ba0e(0xd3)))return;const _0x1a6ad3={'class':_0x51ba0e(0xc5)+_0x153636[_0x51ba0e(0xc1)][_0x51ba0e(0x69)](),'data-name':_0x153636[_0x51ba0e(0x82)],'data-session-id':_0x31d844},_0x1bc982=_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xaf)][_0x51ba0e(0xae)](_0x58a9b8[_0x51ba0e(0x9f)]),_0x443160=_0x1bc982[_0x51ba0e(0x7d)](),_0x55e14e=_0x443160[_0x51ba0e(0xc7)],_0x345b18=_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xb2)];if(_0x55e14e&&_0x345b18[_0x51ba0e(0x91)](_0x55e14e)&&_0x345b18[_0x51ba0e(0xa8)](_0x55e14e)&&!_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xaf)][_0x51ba0e(0xae)](_0x51ba0e(0xbc)+_0x31d844)[_0x51ba0e(0xef)]()[_0x51ba0e(0xbe)])return;const _0x16af48=_0x443160[_0x51ba0e(0xce)];return _0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xb2)][_0x51ba0e(0xe4)](_0x16af48)&&!_0x465144[_0x51ba0e(0xed)][_0x51ba0e(0xe6)](_0x16af48)&&(_0x1a6ad3[_0x51ba0e(0xbf)]=!0x1),function(_0x2225d6,_0x513fda,_0x4401ff){const _0xd7c1e0=_0x51ba0e,_0x238ade=_0x2225d6[_0xd7c1e0(0xd7)](_0xd7c1e0(0x9a),_0x513fda);return _0x2225d6[_0xd7c1e0(0xa7)](_0xd7c1e0(0x88),!0x0,_0x238ade),_0x238ade[_0xd7c1e0(0x7f)]=function(_0x2d2b86){const _0x3725f9=_0xd7c1e0,_0x5cfe62=this[_0x3725f9(0xee)](_0x2d2b86),_0x200e06=document[_0x3725f9(0xcd)](_0x3725f9(0x9a));return _0x200e06[_0x3725f9(0x8a)][_0x3725f9(0xf4)](_0x3725f9(0x80)),_0x200e06[_0x3725f9(0x8c)](_0x3725f9(0xbf),_0x3725f9(0x68)),_0x200e06[_0x3725f9(0x8c)](_0x3725f9(0xd1),_0x3725f9(0x68)),_0x200e06[_0x3725f9(0x9c)]=_0x4401ff[_0x3725f9(0x82)],_0x5cfe62[_0x3725f9(0x8f)]=_0x3725f9(0xe2)+_0x200e06[_0x3725f9(0x7b)]+'⁠',_0x5cfe62[_0x3725f9(0x93)](_0x3725f9(0x7e),()=>{const _0x4417cd=_0x3725f9;_0x5cfe62[_0x4417cd(0x8a)][_0x4417cd(0xf4)](_0x4417cd(0xb7));}),_0x5cfe62[_0x3725f9(0x93)](_0x3725f9(0xac),()=>{const _0x630a2e=_0x3725f9;_0x5cfe62[_0x630a2e(0x8a)][_0x630a2e(0xa5)](_0x630a2e(0xb7));}),_0x5cfe62;},_0x238ade[_0xd7c1e0(0xd9)]=function(_0x5227a8){const _0x2a9d6e=_0xd7c1e0;return!(!this[_0x2a9d6e(0x6a)](_0x2a9d6e(0x88))||!_0x5227a8[_0x2a9d6e(0x6a)](_0x2a9d6e(0x88))||this[_0x2a9d6e(0xe3)](_0x2a9d6e(0x73))!=_0x5227a8[_0x2a9d6e(0xe3)](_0x2a9d6e(0x73)));},_0x238ade;}(_0x20822d,_0x1a6ad3,_0x153636);}(_0x3f2805,_0x3720e4,_0x384cde,_0x28e01c)}),_0x28e01c[_0x159022(0x9d)][_0x159022(0x7c)](_0x159022(0xdb))[_0x159022(0x89)]({'model':_0x159022(0xd4),'view':_0x5e7bf5=>function(_0x392197,_0x109c75){const _0x150470=_0x159022,_0x3a3d8b=_0x392197[_0x150470(0x9f)][_0x150470(0xa3)](':')[0x2];if(_0x3a3d8b===_0x109c75[_0x150470(0xad)])return null;const _0x1da90c=_0x109c75[_0x150470(0xa4)](_0x3a3d8b);if(!_0x1da90c)return{'id':_0x3a3d8b,'classes':[]};return{'id':_0x3a3d8b,'classes':[_0x150470(0x75),_0x1da90c[_0x150470(0xc1)][_0x150470(0xbb)]()],'attributes':{'data-session-id':_0x3a3d8b},'priority':0x7d0+_0x1da90c[_0x150470(0xc8)]};}(_0x5e7bf5,_0x384cde)}),function(_0x14635b){const _0x3dc7a7=_0x159022,_0x459d7c=_0x14635b[_0x3dc7a7(0xed)],_0x395e4f=new Map(),_0x8f794=_0x14635b[_0x3dc7a7(0xe0)][_0x3dc7a7(0xae)](_0x221d4d);_0x459d7c[_0x3dc7a7(0xaf)]['on'](_0x3dc7a7(0x98),(_0x1d3f7b,_0x54e40e,_0x44f616,_0x586cd2)=>{const _0x22445d=_0x3dc7a7;if(!_0x586cd2&&_0x395e4f[_0x22445d(0xae)](_0x54e40e[_0x22445d(0x82)]))return _0x395e4f[_0x22445d(0xae)](_0x54e40e[_0x22445d(0x82)])[_0x22445d(0x74)](),void _0x395e4f[_0x22445d(0xdc)](_0x54e40e[_0x22445d(0x82)]);const _0x591f84=_0x54e40e[_0x22445d(0x82)][_0x22445d(0xa3)](':')[0x2];if(_0x591f84===_0x8f794[_0x22445d(0xad)])return;const _0xd6e72f=_0x22445d(0xa1)+_0x591f84;_0x459d7c[_0x22445d(0xaf)][_0x22445d(0x79)](_0xd6e72f)&&_0x14635b[_0x22445d(0x72)][_0x22445d(0x6d)](_0xd6e72f),_0x54e40e['on'](_0x22445d(0x76),(_0x2bcdf9,_0x5287c7,_0x186ac4)=>{const _0x4b3ee5=_0x22445d;if(_0x4b3ee5(0xde)!=_0x5287c7[_0x4b3ee5(0xf2)][_0x4b3ee5(0x6c)]&&_0x4b3ee5(0xde)==_0x54e40e[_0x4b3ee5(0xef)]()[_0x4b3ee5(0xf2)][_0x4b3ee5(0x6c)]&&!_0x395e4f[_0x4b3ee5(0x79)](_0x54e40e[_0x4b3ee5(0x82)])){const _0x31787b=_0x459d7c[_0x4b3ee5(0xb2)][_0x4b3ee5(0xe9)](_0x186ac4[_0x4b3ee5(0xb8)]);if(_0x31787b){const _0x5e8317=_0x4dc413[_0x4b3ee5(0xa2)](_0x31787b);_0x395e4f[_0x4b3ee5(0x84)](_0x54e40e[_0x4b3ee5(0x82)],_0x5e8317),_0x5e8317['on'](_0x4b3ee5(0x76),(_0x3b4a4a,_0x521650,_0x16e877)=>{const _0x533864=_0x4b3ee5;if(_0x533864(0xde)==_0x5e8317[_0x533864(0xf2)][_0x533864(0x6c)]){const _0xae0930=_0x459d7c[_0x533864(0xb2)][_0x533864(0xe9)](_0x16e877[_0x533864(0xb8)]);_0xae0930?(_0x5e8317[_0x533864(0x96)]=_0xae0930[_0x533864(0x96)],_0x5e8317[_0x533864(0xb4)]=_0xae0930[_0x533864(0xb4)]):(_0x395e4f[_0x533864(0xdc)](_0x54e40e[_0x533864(0x82)]),_0x5e8317[_0x533864(0x74)]());}});}}});}),_0x459d7c[_0x3dc7a7(0xd0)]['on'](_0x3dc7a7(0x90),()=>{const _0x308001=_0x3dc7a7;_0x395e4f[_0x308001(0xcb)]>0x0&&_0x459d7c[_0x308001(0xc0)]({'isUndoable':!0x1},_0x19bc14=>{const _0x3df51d=_0x308001;for(const [_0x1d6d73,_0x16cdd3]of _0x395e4f)_0x3df51d(0xde)==_0x459d7c[_0x3df51d(0xaf)][_0x3df51d(0xae)](_0x1d6d73)[_0x3df51d(0xef)]()[_0x3df51d(0xf2)][_0x3df51d(0x6c)]&&(te(_0x1d6d73[_0x3df51d(0xa3)](':')[0x2],_0x16cdd3[_0x3df51d(0x85)](),_0x459d7c,_0x19bc14),_0x16cdd3[_0x3df51d(0x74)]());_0x395e4f[_0x3df51d(0x97)]();});});}(_0x28e01c),this[_0x159022(0x99)][_0x159022(0xda)](_0x26c00f[_0x159022(0xd0)],_0x159022(0xba),(_0x7e3557,{key:_0x4be8c4})=>{const _0x1118d0=_0x159022;_0x1118d0(0xec)===_0x4be8c4&&function(_0x163d5b){const _0x4d0a31=_0x1118d0;_0x163d5b[_0x4d0a31(0x72)][_0x4d0a31(0xc3)][_0x4d0a31(0x90)](_0x148e41=>{const _0x3077ff=_0x4d0a31;for(const _0xf15a16 of _0x163d5b[_0x3077ff(0xed)][_0x3077ff(0xaf)]){if(!_0xf15a16[_0x3077ff(0x82)][_0x3077ff(0x94)](_0x3077ff(0x9e)))continue;const _0x45004d=_0x163d5b[_0x3077ff(0x72)][_0x3077ff(0xc9)][_0x3077ff(0xb6)](_0xf15a16[_0x3077ff(0x82)]);if(_0x45004d){for(const _0x230b73 of _0x45004d)_0x148e41[_0x3077ff(0xdd)](_0x3077ff(0xb7),_0x230b73);}}});}(_0x28e01c);},{'useCapture':!0x0});}[_0x4d0a3c(0xa9)](){const _0x3fa64f=_0x4d0a3c,_0x1f1009=this[_0x3fa64f(0x92)],_0x27b6f9=_0x1f1009[_0x3fa64f(0xb9)][_0x3fa64f(0xae)](_0x3fa64f(0x87));_0x27b6f9&&_0x1f1009[_0x3fa64f(0xed)]['on'](_0x3fa64f(0x8d),(_0x17fedf,_0x5aa4e8)=>{const _0x5b1ff6=_0x3fa64f,_0x1b31c9=_0x5aa4e8[0x0];if(!_0x1b31c9[_0x5b1ff6(0x6f)])return;if(_0x5b1ff6(0xe7)!=_0x1b31c9[_0x5b1ff6(0xb1)]||!_0x1b31c9[_0x5b1ff6(0x82)][_0x5b1ff6(0x94)](_0x5b1ff6(0x9b)))return;const _0x577dcc=_0x1b31c9[_0x5b1ff6(0xf1)];_0x27b6f9[_0x5b1ff6(0xea)][_0x5b1ff6(0x79)](_0x577dcc)&&(_0x1b31c9[_0x5b1ff6(0xf0)]=_0x1b31c9[_0x5b1ff6(0xca)]?_0x1f1009[_0x5b1ff6(0xed)][_0x5b1ff6(0xb0)](_0x1b31c9[_0x5b1ff6(0xca)][_0x5b1ff6(0x96)],_0x1b31c9[_0x5b1ff6(0xca)][_0x5b1ff6(0xb4)]):null);},{'priority':_0x3fa64f(0xe5)});}[_0x4d0a3c(0xcf)](){const _0x5f0214=_0x4d0a3c;return this[_0x5f0214(0x99)][_0x5f0214(0xb3)](),super[_0x5f0214(0xcf)]();}[_0x4d0a3c(0x7a)](){const _0x481e84=_0x4d0a3c,_0x57368c=this[_0x481e84(0x92)],_0x2a4c66=_0x57368c[_0x481e84(0xed)][_0x481e84(0xd0)],_0x57a4a6=_0x57368c[_0x481e84(0xe0)][_0x481e84(0xae)](_0x221d4d);_0x57368c[_0x481e84(0xed)][_0x481e84(0xc0)]({'isUndoable':!0x1},_0x52554f=>{const _0x5d6c51=_0x481e84,_0x215486=_0x5d6c51(0xbc)+_0x57a4a6[_0x5d6c51(0xad)],_0x30433c=_0x5d6c51(0xa1)+_0x57a4a6[_0x5d6c51(0xad)],_0x2a76b4=_0x57368c[_0x5d6c51(0xed)][_0x5d6c51(0xaf)][_0x5d6c51(0x79)](_0x215486);_0x57368c[_0x5d6c51(0x72)][_0x5d6c51(0xc3)][_0x5d6c51(0x77)]?te(_0x57a4a6[_0x5d6c51(0xad)],_0x2a4c66[_0x5d6c51(0xd5)][_0x5d6c51(0x8b)](),_0x57368c[_0x5d6c51(0xed)],_0x52554f):_0x2a76b4&&(_0x52554f[_0x5d6c51(0xd8)](_0x215486),_0x52554f[_0x5d6c51(0xd8)](_0x30433c));});}}function te(_0x2ef51a,_0x344c19,_0x48bbd3,_0x50e7ae){const _0x24a681=_0x4d0a3c,_0x362ba2=_0x24a681(0xbc)+_0x2ef51a,_0x53b4cb=_0x24a681(0xa1)+_0x2ef51a,_0x3b498e=_0x344c19[_0x24a681(0xf3)]();let _0x3d4aa1=_0x344c19[_0x24a681(0x96)];_0x3b498e&&_0x3b498e['is'](_0x24a681(0xaa),_0x24a681(0xc4))&&(_0x3d4aa1=function(_0x338a0b,_0x57b18d){const _0x101663=_0x24a681;for(const _0x355bc7 of _0x338a0b[_0x101663(0xbd)]())if(_0x57b18d[_0x101663(0xb2)][_0x101663(0x70)](_0x355bc7,_0x101663(0xd3)))return _0x355bc7;}(_0x344c19,_0x48bbd3),_0x344c19=_0x50e7ae[_0x24a681(0xb0)](_0x3d4aa1));const _0x4651cf=_0x50e7ae[_0x24a681(0xb0)](_0x3d4aa1);_0x48bbd3[_0x24a681(0xaf)][_0x24a681(0x79)](_0x362ba2)?(_0x50e7ae[_0x24a681(0x81)](_0x362ba2,{'range':_0x344c19}),_0x50e7ae[_0x24a681(0x81)](_0x53b4cb,{'range':_0x4651cf})):(_0x50e7ae[_0x24a681(0xdf)](_0x362ba2,{'range':_0x344c19,'usingOperation':!0x0}),_0x50e7ae[_0x24a681(0xdf)](_0x53b4cb,{'range':_0x4651cf,'usingOperation':!0x0}));}