@ckeditor/ckeditor5-real-time-collaboration 47.7.0 → 47.7.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +15 -15
  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
- function _0x227b(_0x3b07dd,_0x1bc82d){const _0x205612=_0x2056();return _0x227b=function(_0x227b59,_0x46d9c3){_0x227b59=_0x227b59-0x195;let _0x391b21=_0x205612[_0x227b59];return _0x391b21;},_0x227b(_0x3b07dd,_0x1bc82d);}const _0x78a945=_0x227b;function _0x2056(){const _0x2e7070=['ck-presence-list__list','.ck-presence-list__dropdown-list','15763528HxLROJ','9DYpObf','1454bPMoZc','items','removeAttribute','presencelist:show','focus','contains','1337VAfgWB','40eSHcbv','11207300PRlAfW','.ck-balloon-panel_with-arrow','Connected\x20users\x20list','element','change:hasPopup','aria-expanded','372310vcbuVw','list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','4295247IEiLgL','933DblRsQ','6966616zlHSQO','setTemplate','div','hasPopup','keystrokes','setAttribute','8394OuChJY','set','isExpanded','render','createCollection','listenTo','relatedTarget','querySelector','bindTemplate','fire','presencelist:hide'];_0x2056=function(){return _0x2e7070;};return _0x2056();}(function(_0x59bc9e,_0x144600){const _0x246895=_0x227b,_0x4f2521=_0x59bc9e();while(!![]){try{const _0x584123=-parseInt(_0x246895(0x1b8))/0x1*(-parseInt(_0x246895(0x1a6))/0x2)+parseInt(_0x246895(0x1b7))/0x3+parseInt(_0x246895(0x1ad))/0x4*(parseInt(_0x246895(0x1b4))/0x5)+-parseInt(_0x246895(0x197))/0x6*(parseInt(_0x246895(0x1ac))/0x7)+parseInt(_0x246895(0x1b9))/0x8*(parseInt(_0x246895(0x1a5))/0x9)+-parseInt(_0x246895(0x1ae))/0xa+-parseInt(_0x246895(0x1a4))/0xb;if(_0x584123===_0x144600)break;else _0x4f2521['push'](_0x4f2521['shift']());}catch(_0x2dca83){_0x4f2521['push'](_0x4f2521['shift']());}}}(_0x2056,0xdcd34));import{View as _0x1ebc66}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3944ed}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c46f3}from'../../common-translations.js';export class PresenceInlineListView extends _0x1ebc66{[_0x78a945(0x1a7)];[_0x78a945(0x195)];constructor(_0xbc2f88){const _0x3ca042=_0x78a945;super(_0xbc2f88);const _0x236e7b=this[_0x3ca042(0x19f)];this[_0x3ca042(0x1a7)]=this[_0x3ca042(0x19b)](),this[_0x3ca042(0x195)]=new _0x3944ed(),this[_0x3ca042(0x198)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3ca042(0x1ba)]({'tag':_0x3ca042(0x1bb),'attributes':{'aria-haspopup':_0x236e7b['if'](_0x3ca042(0x1bc)),'aria-expanded':_0x236e7b['to'](_0x3ca042(0x199),_0x5174c9=>this[_0x3ca042(0x1bc)]&&String(_0x5174c9)),'aria-label':_0x236e7b['to'](_0x3ca042(0x1bc),_0x43c77c=>_0x4c46f3(_0xbc2f88,_0x43c77c?_0x3ca042(0x1b6):_0x3ca042(0x1b0))),'role':_0x3ca042(0x1b5),'tabindex':_0x236e7b['to'](_0x3ca042(0x1bc),_0x6d55f4=>!!_0x6d55f4&&0x0),'class':['ck',_0x3ca042(0x1a2)]},'children':this[_0x3ca042(0x1a7)],'on':{'mouseenter':_0x236e7b['to'](()=>this[_0x3ca042(0x1a0)](_0x3ca042(0x1a9))),'mouseleave':_0x236e7b['to'](_0xef951f=>{const _0x2d7aaa=_0x3ca042,_0x2dc484=_0xef951f,_0x1ba928=document[_0x2d7aaa(0x19e)](_0x2d7aaa(0x1a3)),_0x1c689b=document[_0x2d7aaa(0x19e)](_0x2d7aaa(0x1af));_0x1ba928?.[_0x2d7aaa(0x1ab)](_0x2dc484[_0x2d7aaa(0x19d)])||_0x1c689b?.[_0x2d7aaa(0x1ab)](_0x2dc484[_0x2d7aaa(0x19d)])||this[_0x2d7aaa(0x1a0)](_0x2d7aaa(0x1a1));})}}),this['on'](_0x3ca042(0x1b2),(_0x33ab94,_0x2cb21e,_0x30c5a7)=>{const _0x4702d8=_0x3ca042;this[_0x4702d8(0x1b1)]&&(_0x30c5a7?this[_0x4702d8(0x1b1)][_0x4702d8(0x196)](_0x4702d8(0x1b3),String(this[_0x4702d8(0x199)])):this[_0x4702d8(0x1b1)][_0x4702d8(0x1a8)](_0x4702d8(0x1b3)));});}[_0x78a945(0x1aa)](){const _0x34a0dd=_0x78a945;this[_0x34a0dd(0x1b1)][_0x34a0dd(0x1aa)]();}[_0x78a945(0x19a)](){const _0x2d7e24=_0x78a945;super[_0x2d7e24(0x19a)](),this[_0x2d7e24(0x195)][_0x2d7e24(0x19c)](this[_0x2d7e24(0x1b1)]);}}
23
+ const _0x16001d=_0x48b1;function _0x1110(){const _0x3ccbae=['4pVEtgt','2061180MSKBQD','117158qNbDfl','312RyqtNN','setTemplate','6125waBVsG','ck-presence-list__list','contains','bindTemplate','element','9OBCflx','3689MiXtPh','1974759eaghts','Connected\x20users\x20list','fire','items','presencelist:show','change:hasPopup','listenTo','.ck-presence-list__dropdown-list','531609sppTdf','setAttribute','6976ZBIUgo','1416TbAnVF','querySelector','2233746AVJsRw','presencelist:hide','removeAttribute','isExpanded','focus','.ck-balloon-panel_with-arrow','keystrokes','hasPopup','set','relatedTarget','createCollection','aria-expanded','render','list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','10STZuMq','div'];_0x1110=function(){return _0x3ccbae;};return _0x1110();}(function(_0x41dc76,_0x2837b2){const _0x350d45=_0x48b1,_0x47b3a1=_0x41dc76();while(!![]){try{const _0x5ed5f4=parseInt(_0x350d45(0xa2))/0x1*(parseInt(_0x350d45(0x9a))/0x2)+-parseInt(_0x350d45(0xa4))/0x3*(-parseInt(_0x350d45(0x98))/0x4)+parseInt(_0x350d45(0x9d))/0x5*(parseInt(_0x350d45(0xaf))/0x6)+parseInt(_0x350d45(0xa3))/0x7*(parseInt(_0x350d45(0xae))/0x8)+-parseInt(_0x350d45(0x87))/0x9*(parseInt(_0x350d45(0x96))/0xa)+-parseInt(_0x350d45(0x99))/0xb+parseInt(_0x350d45(0x9b))/0xc*(-parseInt(_0x350d45(0xac))/0xd);if(_0x5ed5f4===_0x2837b2)break;else _0x47b3a1['push'](_0x47b3a1['shift']());}catch(_0x110e69){_0x47b3a1['push'](_0x47b3a1['shift']());}}}(_0x1110,0x6a474));import{View as _0xe6210a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x46a006}from'ckeditor5/src/utils.js';function _0x48b1(_0x53fa55,_0x420d2a){const _0x111075=_0x1110();return _0x48b1=function(_0x48b160,_0x500724){_0x48b160=_0x48b160-0x87;let _0x3f2969=_0x111075[_0x48b160];return _0x3f2969;},_0x48b1(_0x53fa55,_0x420d2a);}import{getTranslation as _0xcbdc27}from'../../common-translations.js';export class PresenceInlineListView extends _0xe6210a{[_0x16001d(0xa7)];[_0x16001d(0x8d)];constructor(_0xd4a175){const _0x17aaa8=_0x16001d;super(_0xd4a175);const _0x101946=this[_0x17aaa8(0xa0)];this[_0x17aaa8(0xa7)]=this[_0x17aaa8(0x91)](),this[_0x17aaa8(0x8d)]=new _0x46a006(),this[_0x17aaa8(0x8f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x17aaa8(0x9c)]({'tag':_0x17aaa8(0x97),'attributes':{'aria-haspopup':_0x101946['if'](_0x17aaa8(0x8e)),'aria-expanded':_0x101946['to'](_0x17aaa8(0x8a),_0x4830b7=>this[_0x17aaa8(0x8e)]&&String(_0x4830b7)),'aria-label':_0x101946['to'](_0x17aaa8(0x8e),_0x4d1db2=>_0xcbdc27(_0xd4a175,_0x4d1db2?_0x17aaa8(0x95):_0x17aaa8(0xa5))),'role':_0x17aaa8(0x94),'tabindex':_0x101946['to'](_0x17aaa8(0x8e),_0x32fcae=>!!_0x32fcae&&0x0),'class':['ck',_0x17aaa8(0x9e)]},'children':this[_0x17aaa8(0xa7)],'on':{'mouseenter':_0x101946['to'](()=>this[_0x17aaa8(0xa6)](_0x17aaa8(0xa8))),'mouseleave':_0x101946['to'](_0x5c0a6b=>{const _0x45a84c=_0x17aaa8,_0x3b22eb=_0x5c0a6b,_0x1e46cf=document[_0x45a84c(0xb0)](_0x45a84c(0xab)),_0x3c2342=document[_0x45a84c(0xb0)](_0x45a84c(0x8c));_0x1e46cf?.[_0x45a84c(0x9f)](_0x3b22eb[_0x45a84c(0x90)])||_0x3c2342?.[_0x45a84c(0x9f)](_0x3b22eb[_0x45a84c(0x90)])||this[_0x45a84c(0xa6)](_0x45a84c(0x88));})}}),this['on'](_0x17aaa8(0xa9),(_0xe33b62,_0x3839fd,_0x5da1db)=>{const _0x5660d2=_0x17aaa8;this[_0x5660d2(0xa1)]&&(_0x5da1db?this[_0x5660d2(0xa1)][_0x5660d2(0xad)](_0x5660d2(0x92),String(this[_0x5660d2(0x8a)])):this[_0x5660d2(0xa1)][_0x5660d2(0x89)](_0x5660d2(0x92)));});}[_0x16001d(0x8b)](){const _0x194609=_0x16001d;this[_0x194609(0xa1)][_0x194609(0x8b)]();}[_0x16001d(0x93)](){const _0x3b12cb=_0x16001d;super[_0x3b12cb(0x93)](),this[_0x3b12cb(0x8d)][_0x3b12cb(0xaa)](this[_0x3b12cb(0xa1)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd72ff4=_0x3e5e;(function(_0x19b572,_0x971c5c){const _0x5a0202=_0x3e5e,_0xaf38a6=_0x19b572();while(!![]){try{const _0x1236d3=parseInt(_0x5a0202(0xed))/0x1+parseInt(_0x5a0202(0xd8))/0x2+-parseInt(_0x5a0202(0xe5))/0x3*(-parseInt(_0x5a0202(0xd9))/0x4)+parseInt(_0x5a0202(0xe9))/0x5+-parseInt(_0x5a0202(0xeb))/0x6+-parseInt(_0x5a0202(0xdf))/0x7*(-parseInt(_0x5a0202(0xe0))/0x8)+-parseInt(_0x5a0202(0xe3))/0x9;if(_0x1236d3===_0x971c5c)break;else _0xaf38a6['push'](_0xaf38a6['shift']());}catch(_0x44180a){_0xaf38a6['push'](_0xaf38a6['shift']());}}}(_0x2c37,0xf0f21));import{View as _0x321972}from'ckeditor5/src/ui.js';function _0x2c37(){const _0x387a27=['counterView','ck-presence-list--collapsed','ck-presence-list','7tXHVgX','500952TuqSkW','ck-rounded-corners','setTemplate','24641883UTpRZp','listenTo','6lpGJkY','first','set','inlineListView','3389580xXXjEE','items','2775120klChhn','bind','896538vVIdgw','tooltipPosition','isCollapsed','hasPopup','locale','div','ck-reset','2921346QksRiW','2179348osUuuq','change','bindTemplate'];_0x2c37=function(){return _0x387a27;};return _0x2c37();}import{PresenceCounterView as _0x476f35}from'./presencecounterview.js';import{PresenceInlineListView as _0x1f5072}from'./presenceinlinelistview.js';function _0x3e5e(_0x5a8bd4,_0x3fd716){const _0x2c372d=_0x2c37();return _0x3e5e=function(_0x3e5e4d,_0x540d4f){_0x3e5e4d=_0x3e5e4d-0xd6;let _0x26350f=_0x2c372d[_0x3e5e4d];return _0x26350f;},_0x3e5e(_0x5a8bd4,_0x3fd716);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x321972{[_0xd72ff4(0xdc)];[_0xd72ff4(0xe8)];constructor(_0x3d40da,_0x1c3080=0x6){const _0x45d4c4=_0xd72ff4;super(_0x3d40da);const _0x4e594e=this[_0x45d4c4(0xdb)];this[_0x45d4c4(0xe7)](_0x45d4c4(0xef),!0x0),this[_0x45d4c4(0xdc)]=new _0x476f35(this[_0x45d4c4(0xf1)],_0x1c3080),this[_0x45d4c4(0xe8)]=new _0x1f5072(_0x3d40da),this[_0x45d4c4(0xe8)][_0x45d4c4(0xec)](_0x45d4c4(0xf0))['to'](this,_0x45d4c4(0xef)),this[_0x45d4c4(0xe4)](this[_0x45d4c4(0xe8)][_0x45d4c4(0xea)],_0x45d4c4(0xda),()=>{const _0xf5ce2=_0x45d4c4;for(const _0x19f6c5 of this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)])_0x19f6c5[_0xf5ce2(0xee)]='s';this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)][_0xf5ce2(0xe6)]&&(this[_0xf5ce2(0xe8)][_0xf5ce2(0xea)][_0xf5ce2(0xe6)][_0xf5ce2(0xee)]='se');}),this[_0x45d4c4(0xe2)]({'tag':_0x45d4c4(0xd6),'attributes':{'class':['ck',_0x45d4c4(0xde),_0x45d4c4(0xd7),_0x45d4c4(0xe1),_0x4e594e['if'](_0x45d4c4(0xef),_0x45d4c4(0xdd))]},'children':[this[_0x45d4c4(0xe8)]]});}}
23
+ const _0x3cf5fc=_0x3d47;(function(_0x266704,_0x301a30){const _0x442688=_0x3d47,_0x332b60=_0x266704();while(!![]){try{const _0x2a2608=parseInt(_0x442688(0xdf))/0x1+parseInt(_0x442688(0xde))/0x2*(parseInt(_0x442688(0xdd))/0x3)+parseInt(_0x442688(0xe0))/0x4*(parseInt(_0x442688(0xca))/0x5)+-parseInt(_0x442688(0xcc))/0x6*(-parseInt(_0x442688(0xd8))/0x7)+parseInt(_0x442688(0xcb))/0x8+parseInt(_0x442688(0xe1))/0x9*(-parseInt(_0x442688(0xd4))/0xa)+parseInt(_0x442688(0xd3))/0xb*(-parseInt(_0x442688(0xdc))/0xc);if(_0x2a2608===_0x301a30)break;else _0x332b60['push'](_0x332b60['shift']());}catch(_0x3f27ff){_0x332b60['push'](_0x332b60['shift']());}}}(_0xaf52,0xb7342));function _0xaf52(){const _0x28ec08=['431668OjQXKR','63TgZKzy','listenTo','isCollapsed','ck-presence-list--collapsed','div','hasPopup','items','change','10wcQhJu','11445800zXRQag','6BdjJOA','ck-reset','inlineListView','tooltipPosition','set','ck-presence-list','first','10124521QNZuPy','1465630kdMKDP','counterView','bind','setTemplate','5312069cLvjPl','ck-rounded-corners','bindTemplate','locale','36LUeqGb','15EyMcrL','536396oxEojD','791160bHpKDW'];_0xaf52=function(){return _0x28ec08;};return _0xaf52();}function _0x3d47(_0x595175,_0x4d7ebc){const _0xaf5228=_0xaf52();return _0x3d47=function(_0x3d471a,_0x18e4bc){_0x3d471a=_0x3d471a-0xc7;let _0x4b8655=_0xaf5228[_0x3d471a];return _0x4b8655;},_0x3d47(_0x595175,_0x4d7ebc);}import{View as _0x3aa270}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5ec30c}from'./presencecounterview.js';import{PresenceInlineListView as _0x26999d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3aa270{[_0x3cf5fc(0xd5)];[_0x3cf5fc(0xce)];constructor(_0xc400be,_0x579b5e=0x6){const _0x14abff=_0x3cf5fc;super(_0xc400be);const _0x4f46c3=this[_0x14abff(0xda)];this[_0x14abff(0xd0)](_0x14abff(0xe3),!0x0),this[_0x14abff(0xd5)]=new _0x5ec30c(this[_0x14abff(0xdb)],_0x579b5e),this[_0x14abff(0xce)]=new _0x26999d(_0xc400be),this[_0x14abff(0xce)][_0x14abff(0xd6)](_0x14abff(0xc7))['to'](this,_0x14abff(0xe3)),this[_0x14abff(0xe2)](this[_0x14abff(0xce)][_0x14abff(0xc8)],_0x14abff(0xc9),()=>{const _0x2898c8=_0x14abff;for(const _0x46875e of this[_0x2898c8(0xce)][_0x2898c8(0xc8)])_0x46875e[_0x2898c8(0xcf)]='s';this[_0x2898c8(0xce)][_0x2898c8(0xc8)][_0x2898c8(0xd2)]&&(this[_0x2898c8(0xce)][_0x2898c8(0xc8)][_0x2898c8(0xd2)][_0x2898c8(0xcf)]='se');}),this[_0x14abff(0xd7)]({'tag':_0x14abff(0xe5),'attributes':{'class':['ck',_0x14abff(0xd1),_0x14abff(0xcd),_0x14abff(0xd9),_0x4f46c3['if'](_0x14abff(0xe3),_0x14abff(0xe4))]},'children':[this[_0x14abff(0xce)]]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3fed49=_0x34c8;function _0x34c8(_0x1738e4,_0x2daf0f){var _0xe2ce4d=_0xe2ce();return _0x34c8=function(_0x34c8ec,_0x58e836){_0x34c8ec=_0x34c8ec-0x17c;var _0x29fbd7=_0xe2ce4d[_0x34c8ec];return _0x29fbd7;},_0x34c8(_0x1738e4,_0x2daf0f);}(function(_0x196f0b,_0x5a78fd){var _0x20f5e3=_0x34c8,_0x5aaeb7=_0x196f0b();while(!![]){try{var _0x337834=parseInt(_0x20f5e3(0x186))/0x1*(-parseInt(_0x20f5e3(0x17d))/0x2)+parseInt(_0x20f5e3(0x185))/0x3+-parseInt(_0x20f5e3(0x183))/0x4*(parseInt(_0x20f5e3(0x18b))/0x5)+-parseInt(_0x20f5e3(0x180))/0x6+parseInt(_0x20f5e3(0x187))/0x7+-parseInt(_0x20f5e3(0x188))/0x8*(-parseInt(_0x20f5e3(0x182))/0x9)+parseInt(_0x20f5e3(0x18a))/0xa*(parseInt(_0x20f5e3(0x17e))/0xb);if(_0x337834===_0x5a78fd)break;else _0x5aaeb7['push'](_0x5aaeb7['shift']());}catch(_0x25abb7){_0x5aaeb7['push'](_0x5aaeb7['shift']());}}}(_0xe2ce,0xbf82b));import{ContextPlugin as _0x534bcf}from'ckeditor5/src/core.js';import{Sessions as _0xb50748}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0xe0fcf3}from'./presencelist/presencelistui.js';export class PresenceList extends _0x534bcf{static get[_0x3fed49(0x189)](){return[_0xb50748,_0xe0fcf3];}static get[_0x3fed49(0x181)](){var _0x1a2bad=_0x3fed49;return _0x1a2bad(0x17f);}static get[_0x3fed49(0x17c)](){return!0x0;}static get[_0x3fed49(0x184)](){return!0x0;}}function _0xe2ce(){var _0x1f9264=['77HfcQcs','PresenceList','8104602apHLFI','pluginName','63kczzDu','4EIiieO','isPremiumPlugin','1840962vzhAya','2rDvTGf','3006255YbkjGL','727688hfujKq','requires','2402890WQURyk','6114545EcjugR','isOfficialPlugin','3766QcdMOh'];_0xe2ce=function(){return _0x1f9264;};return _0xe2ce();}
23
+ var _0x5ce99f=_0xf0bf;function _0xf0bf(_0x2366aa,_0x43c080){var _0x54760a=_0x5476();return _0xf0bf=function(_0xf0bf1e,_0xe1a9e2){_0xf0bf1e=_0xf0bf1e-0x1a3;var _0x5d8628=_0x54760a[_0xf0bf1e];return _0x5d8628;},_0xf0bf(_0x2366aa,_0x43c080);}(function(_0x1ed184,_0x8a9faf){var _0x5ede53=_0xf0bf,_0x667071=_0x1ed184();while(!![]){try{var _0x476a13=-parseInt(_0x5ede53(0x1aa))/0x1*(-parseInt(_0x5ede53(0x1a3))/0x2)+parseInt(_0x5ede53(0x1af))/0x3+-parseInt(_0x5ede53(0x1a9))/0x4*(parseInt(_0x5ede53(0x1a4))/0x5)+parseInt(_0x5ede53(0x1b0))/0x6+parseInt(_0x5ede53(0x1a5))/0x7+-parseInt(_0x5ede53(0x1a6))/0x8+parseInt(_0x5ede53(0x1a8))/0x9;if(_0x476a13===_0x8a9faf)break;else _0x667071['push'](_0x667071['shift']());}catch(_0x711f04){_0x667071['push'](_0x667071['shift']());}}}(_0x5476,0x733c4));import{ContextPlugin as _0x17685e}from'ckeditor5/src/core.js';function _0x5476(){var _0x4c2ef4=['PresenceList','751662TVledw','71670mjMSjE','6088vXioju','10430aXwVRk','571207iYOsCk','4550976vPnAOa','isOfficialPlugin','9478998XJrmap','1740fWjXas','181fHKBwQ','requires','isPremiumPlugin','pluginName'];_0x5476=function(){return _0x4c2ef4;};return _0x5476();}import{Sessions as _0x5262fe}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x32a7eb}from'./presencelist/presencelistui.js';export class PresenceList extends _0x17685e{static get[_0x5ce99f(0x1ab)](){return[_0x5262fe,_0x32a7eb];}static get[_0x5ce99f(0x1ad)](){var _0x326a4c=_0x5ce99f;return _0x326a4c(0x1ae);}static get[_0x5ce99f(0x1a7)](){return!0x0;}static get[_0x5ce99f(0x1ac)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1799d2=_0x1109;function _0x438a(){const _0x18f8db=['startsWith','config','reconnect','context','404','register','from','get','listenTo','commentThreadResolved','_setUpService','removeComment','Permissions','commentUpdated','update','destroy','commentThreadAdded','CommentsRepository','addToReconnectionStack','requires','149470KPYIaR','commentThreadUpdated','commentThreadRemoved','_services','isOfficialPlugin','getCommentThread','resolve','collaboration.channelId','_fetchMissingUsersForThreads','commentAdded','assign','getUser','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','off','6pzcZjx','sessionAdd:','disconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1334PeepEx','getMany','11KNMwjF','1076120MPEswL','pluginName','cloudservicescommentsadapter-disconnect-not-exist','add','cloudservicescommentsadapter-service-not-exist','CommentsService','deletedAt','reopen','mySessionId','content','unregister','resolveCommentThread','keys','resolvedBy','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','size','updateCommentThread','setPermissions','permissions','adapter','catch','delete','commentThreadId','connect','userId','3114cNNZIY','commentRemoved','addComment','set','9KLdzdb','_terminateService','map','remove','cloud-services-internal-error:\x20Request\x20timeout.','message','removeCommentThread','reopenCommentThread','commentId','has','CloudServicesCommentsAdapter','getComment','_connectService','code','addCommentThread','comments','createdAt','531527xWUUeG','attributes','resolvedAt','authorId','_getService','addUser','5315751wHRtKZ','3472184WRfRGz','getCommentThreads','getConnectedSessions','init','1754465GaQgjU','plugins','updateComment'];_0x438a=function(){return _0x18f8db;};return _0x438a();}(function(_0x5fad5e,_0x578c89){const _0x140d35=_0x1109,_0x2a0c1a=_0x5fad5e();while(!![]){try{const _0xeec091=-parseInt(_0x140d35(0x163))/0x1+-parseInt(_0x140d35(0x198))/0x2*(-parseInt(_0x140d35(0x1b5))/0x3)+-parseInt(_0x140d35(0x16a))/0x4+parseInt(_0x140d35(0x16e))/0x5*(parseInt(_0x140d35(0x194))/0x6)+parseInt(_0x140d35(0x169))/0x7+-parseInt(_0x140d35(0x19b))/0x8*(-parseInt(_0x140d35(0x1b9))/0x9)+-parseInt(_0x140d35(0x185))/0xa*(-parseInt(_0x140d35(0x19a))/0xb);if(_0xeec091===_0x578c89)break;else _0x2a0c1a['push'](_0x2a0c1a['shift']());}catch(_0xe64dcd){_0x2a0c1a['push'](_0x2a0c1a['shift']());}}}(_0x438a,0x86e49));import{Context as _0x3332f8,ContextPlugin as _0x584720}from'ckeditor5/src/core.js';import{CKEditorError as _0x2de265}from'ckeditor5/src/utils.js';import{Users as _0x3d96a1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xe0f9e0,User as _0x37b7f5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3e86e4}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x138adb}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x584720{static [_0x1799d2(0x1a0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xe0f9e0)());[_0x1799d2(0x188)];static get[_0x1799d2(0x184)](){const _0x13aa72=_0x1799d2;return[_0x3e86e4,_0x13aa72(0x182),_0x138adb,_0x3d96a1];}static get[_0x1799d2(0x19c)](){const _0x1ae5d6=_0x1799d2;return _0x1ae5d6(0x15c);}static get[_0x1799d2(0x189)](){return!0x0;}static get[_0x1799d2(0x191)](){return!0x0;}constructor(_0x182f51){const _0x421b57=_0x1799d2;super(_0x182f51),this[_0x421b57(0x188)]=new Map();}async[_0x1799d2(0x16d)](){const _0x1c258d=_0x1799d2,_0x52b8ad=this[_0x1c258d(0x174)],_0x58e530=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x1c258d(0x182));if(_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x3e86e4)[_0x1c258d(0x183)](this),_0x58e530[_0x1c258d(0x1af)]={'addCommentThread':async({channelId:_0x2436e3,threadId:_0x4d0d71,comments:_0x4212e7,resolvedAt:_0x57208b,resolvedBy:_0x3a268c,context:_0x2fb992,attributes:_0x107d48})=>{const _0x3eabee=_0x1c258d,_0x2707e3=await this[_0x3eabee(0x167)](_0x2436e3)[_0x3eabee(0x160)]({'commentThreadId':_0x4d0d71,'comments':_0x4212e7[_0x3eabee(0x1bb)](_0x2ff5eb=>function(_0x41f9ff,_0x534b3c,_0x13069e){const _0x4552bd=_0x3eabee;return{'commentThreadId':_0x13069e,'commentId':_0x41f9ff[_0x4552bd(0x15a)],'userId':_0x41f9ff[_0x4552bd(0x166)],'content':_0x41f9ff[_0x4552bd(0x1a4)],'documentId':_0x534b3c,'createdAt':_0x41f9ff[_0x4552bd(0x162)],'attributes':_0x41f9ff[_0x4552bd(0x164)]||{}};}(_0x2ff5eb,_0x2436e3,_0x4d0d71)),'resolvedAt':_0x57208b,'resolvedBy':_0x3a268c,'context':_0x2fb992,'attributes':_0x107d48})[_0x3eabee(0x1b0)](A);return{'threadId':_0x2707e3[_0x3eabee(0x1b2)],'comments':_0x2707e3[_0x3eabee(0x161)]};},'getCommentThread':async({channelId:_0x8de70a,threadId:_0xb12339})=>{const _0x468d62=_0x1c258d,_0xd22cf7=await this[_0x468d62(0x167)](_0x8de70a)[_0x468d62(0x18a)](_0xb12339)[_0x468d62(0x1b0)](f)[_0x468d62(0x1b0)](A);return _0xd22cf7?_0xd22cf7[_0x468d62(0x1a1)]?null:(await this[_0x468d62(0x18d)]([_0xd22cf7]),{'threadId':_0xd22cf7[_0x468d62(0x1b2)],'comments':_0xd22cf7[_0x468d62(0x161)][_0x468d62(0x1bb)](p),'context':_0xd22cf7[_0x468d62(0x174)],'resolvedAt':_0xd22cf7[_0x468d62(0x165)],'resolvedBy':_0xd22cf7[_0x468d62(0x1a8)],'attributes':_0xd22cf7[_0x468d62(0x164)]||{}}):null;},'updateCommentThread':async({channelId:_0x43dc58,threadId:_0xc0a935,context:_0x319ccf,unlinkedAt:_0x341636,attributes:_0x5b709e})=>this[_0x1c258d(0x167)](_0x43dc58)[_0x1c258d(0x1ac)]({'commentThreadId':_0xc0a935,'context':_0x319ccf,'attributes':_0x5b709e,'unlinkedAt':_0x341636})[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'resolveCommentThread':async({channelId:_0x26b1bc,threadId:_0x10ffa1})=>{const _0x2d3165=_0x1c258d,_0x5b2f8b=await this[_0x2d3165(0x167)](_0x26b1bc)[_0x2d3165(0x1a6)](_0x10ffa1)[_0x2d3165(0x1b0)](f)[_0x2d3165(0x1b0)](A);return{'threadId':_0x5b2f8b[_0x2d3165(0x1b2)],'resolvedAt':_0x5b2f8b[_0x2d3165(0x165)],'resolvedBy':_0x5b2f8b[_0x2d3165(0x1a8)]};},'reopenCommentThread':async({channelId:_0x285acd,threadId:_0xb8a80f})=>this[_0x1c258d(0x167)](_0x285acd)[_0x1c258d(0x1c0)](_0xb8a80f)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeCommentThread':({channelId:_0x55dae6,threadId:_0x5d89ec})=>this[_0x1c258d(0x167)](_0x55dae6)[_0x1c258d(0x1bf)](_0x5d89ec)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'addComment':({channelId:_0x476219,threadId:_0x56c2ec,commentId:_0x2cf907,content:_0x3f3cc3,attributes:_0x44ec5c})=>this[_0x1c258d(0x167)](_0x476219)[_0x1c258d(0x1b7)](_0x56c2ec,_0x2cf907,_0x3f3cc3,_0x44ec5c)[_0x1c258d(0x1b0)](A),'updateComment':({channelId:_0x146391,threadId:_0x3ebc56,commentId:_0x531755,content:_0x5c579e,attributes:_0x30c7cf})=>this[_0x1c258d(0x167)](_0x146391)[_0x1c258d(0x170)](_0x3ebc56,_0x531755,_0x5c579e,_0x30c7cf)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeComment':({channelId:_0x139c4a,threadId:_0x422c68,commentId:_0x5a4ccb})=>this[_0x1c258d(0x167)](_0x139c4a)[_0x1c258d(0x17c)](_0x422c68,_0x5a4ccb)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A)},_0x52b8ad instanceof _0x3332f8){const _0x563d4c=_0x52b8ad[_0x1c258d(0x172)][_0x1c258d(0x178)](_0x1c258d(0x18c)),_0x1610bc=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x138adb);await this[_0x1c258d(0x17b)](_0x563d4c);const _0xc36c68=await this[_0x1c258d(0x188)][_0x1c258d(0x178)](_0x563d4c)[_0x1c258d(0x16c)]();this[_0x1c258d(0x179)](_0x1610bc,_0x1c258d(0x195)+_0x563d4c,(_0x1dfb50,{session:_0xa1cfd3})=>{const _0x58a5fd=_0x1c258d;_0xa1cfd3['id']===_0x1610bc[_0x58a5fd(0x1a3)]&&(_0x1dfb50[_0x58a5fd(0x193)](),this[_0x58a5fd(0x174)][_0x58a5fd(0x16f)][_0x58a5fd(0x178)](_0x58a5fd(0x17d))[_0x58a5fd(0x1ad)](_0xa1cfd3[_0x58a5fd(0x1ae)],_0x563d4c));}),_0x1610bc[_0x1c258d(0x176)](_0x563d4c,_0xc36c68);}}async[_0x1799d2(0x17b)](_0x33d530){const _0x450b79=_0x1799d2;if(this[_0x450b79(0x188)][_0x450b79(0x15b)](_0x33d530))throw new _0x2de265(_0x450b79(0x1a9),null,{'channelId':_0x33d530});const _0x158009=this[_0x450b79(0x174)][_0x450b79(0x16f)][_0x450b79(0x178)](_0x450b79(0x182)),_0x8107ad=new CloudServicesCommentsAdapter[(_0x450b79(0x1a0))](_0x33d530);this[_0x450b79(0x188)][_0x450b79(0x1b8)](_0x33d530,_0x8107ad),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x181),(_0x4c09f9,_0x1e19aa)=>{const _0x2edff2=_0x450b79,{commentThreadId:_0x3d2d37,documentId:_0x54fd4f,context:_0x1b2ed4,attributes:_0x5a84c7,resolvedAt:_0x14bf9e,resolvedBy:_0xc9e962,comments:_0x425e08}=_0x1e19aa;_0x158009[_0x2edff2(0x18a)](_0x3d2d37)||_0x158009[_0x2edff2(0x160)]({'threadId':_0x3d2d37,'channelId':_0x54fd4f,'comments':_0x425e08?_0x425e08[_0x2edff2(0x1bb)](p):[],'context':_0x1b2ed4,'attributes':_0x5a84c7,'resolvedAt':_0x14bf9e,'resolvedBy':_0xc9e962,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x186),(_0x161bf1,{commentThreadId:_0x272a87,documentId:_0xc8974d,context:_0x5d53c9,unlinkedAt:_0x30a98e,attributes:_0x2bae4a})=>{const _0x601629=_0x450b79;_0x158009[_0x601629(0x18a)](_0x272a87)&&_0x158009[_0x601629(0x1ac)]({'threadId':_0x272a87,'channelId':_0xc8974d,'context':_0x5d53c9,'unlinkedAt':_0x30a98e,'attributes':_0x2bae4a,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17a),(_0xbfb9ff,{commentThreadId:_0x58a214,resolvedBy:_0x122c9e,resolvedAt:_0x25244b})=>{const _0x48d8eb=_0x450b79,_0x3c02f0=_0x158009[_0x48d8eb(0x18a)](_0x58a214);_0x3c02f0&&_0x3c02f0[_0x48d8eb(0x18b)]({'resolvedBy':_0x122c9e,'resolvedAt':_0x25244b,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1aa),(_0x4c2561,{commentThreadId:_0x26a35b})=>{const _0xf8db67=_0x450b79,_0x4c1d31=_0x158009[_0xf8db67(0x18a)](_0x26a35b);_0x4c1d31&&_0x4c1d31[_0xf8db67(0x1a2)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x187),(_0x15f991,{commentThreadId:_0xc4bc08})=>{const _0x2d51e9=_0x450b79,_0x36730a=_0x158009[_0x2d51e9(0x18a)](_0xc4bc08);_0x36730a&&_0x36730a[_0x2d51e9(0x1bc)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x18e),(_0x369483,_0x4510c5)=>{const _0x29a47c=_0x450b79,_0x1adeea=_0x4510c5[_0x29a47c(0x1b2)],_0x201331=_0x158009[_0x29a47c(0x18a)](_0x1adeea);_0x201331&&_0x201331[_0x29a47c(0x1b7)]({...p(_0x4510c5),'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17e),(_0x36c7af,{commentThreadId:_0x5ca615,commentId:_0x5e53ed,content:_0x3d51ef,attributes:_0x21eb30})=>{const _0x59305e=_0x450b79,_0xb2e9fb=_0x158009[_0x59305e(0x18a)](_0x5ca615);if(_0xb2e9fb){const _0x2eb40c=_0xb2e9fb[_0x59305e(0x15d)](_0x5e53ed);_0x2eb40c&&_0x2eb40c[_0x59305e(0x17f)]({'content':_0x3d51ef,'attributes':_0x21eb30,'isFromAdapter':!0x0});}}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1b6),(_0x4f7caa,{commentThreadId:_0x790528,commentId:_0x42fe28})=>{const _0xca30e9=_0x450b79,_0x4a9de0=_0x158009[_0xca30e9(0x18a)](_0x790528);if(_0x4a9de0){const _0x444d3d=_0x4a9de0[_0xca30e9(0x15d)](_0x42fe28);_0x444d3d&&_0x444d3d[_0xca30e9(0x1bc)]({'isFromAdapter':!0x0});}}),await this[_0x450b79(0x15e)](_0x33d530);}[_0x1799d2(0x180)](){const _0x25119e=_0x1799d2;if(this[_0x25119e(0x174)]instanceof _0x3332f8){const _0x5e9e3b=this[_0x25119e(0x174)][_0x25119e(0x172)][_0x25119e(0x178)](_0x25119e(0x18c));this[_0x25119e(0x1ba)](_0x5e9e3b);}}[_0x1799d2(0x1ba)](_0x4cbf85){const _0x36ecb0=_0x1799d2;if(!this[_0x36ecb0(0x188)][_0x36ecb0(0x15b)](_0x4cbf85))throw new _0x2de265(_0x36ecb0(0x19d),null,{'channelId':_0x4cbf85});this[_0x36ecb0(0x167)](_0x4cbf85)[_0x36ecb0(0x196)](),this[_0x36ecb0(0x188)][_0x36ecb0(0x1b1)](_0x4cbf85);}async[_0x1799d2(0x173)](){const _0x1b7451=_0x1799d2;for(const _0x3cb3b9 of this[_0x1b7451(0x188)][_0x1b7451(0x1a7)]())await this[_0x1b7451(0x15e)](_0x3cb3b9);if(this[_0x1b7451(0x174)]instanceof _0x3332f8){const _0x1b67f7=this[_0x1b7451(0x174)][_0x1b7451(0x172)][_0x1b7451(0x178)](_0x1b7451(0x18c)),_0x49a8d6=this[_0x1b7451(0x174)][_0x1b7451(0x16f)][_0x1b7451(0x178)](_0x138adb);_0x49a8d6[_0x1b7451(0x1a5)](_0x1b67f7);const _0x43da3b=await this[_0x1b7451(0x188)][_0x1b7451(0x178)](_0x1b67f7)[_0x1b7451(0x16c)]();_0x49a8d6[_0x1b7451(0x176)](_0x1b67f7,_0x43da3b);}}async[_0x1799d2(0x15e)](_0x3efee0){const _0x184dc2=_0x1799d2,{connection:_0x1cc874}=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x3e86e4),_0x2befdd=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x184dc2(0x182)),_0x198965=this[_0x184dc2(0x188)][_0x184dc2(0x178)](_0x3efee0),_0x534732=await _0x198965[_0x184dc2(0x1b3)](_0x1cc874);await this[_0x184dc2(0x18d)](_0x534732);const _0x52047e=new Set(Array[_0x184dc2(0x177)](_0x2befdd[_0x184dc2(0x16b)]({'channelId':_0x3efee0}),_0x4bd3b6=>_0x4bd3b6['id']));for(const _0x1311ca of _0x534732)_0x1311ca[_0x184dc2(0x1a1)]||_0x52047e[_0x184dc2(0x1b1)](_0x1311ca[_0x184dc2(0x1b2)]);for(const _0x13e119 of _0x52047e)_0x2befdd[_0x184dc2(0x18a)](_0x13e119)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x26e4e5 of _0x534732){let _0x33182a=_0x2befdd[_0x184dc2(0x18a)](_0x26e4e5[_0x184dc2(0x1b2)]);const {commentThreadId:_0x4bac93,context:_0x474b8e,attributes:_0x4a0483,resolvedBy:_0x354834,resolvedAt:_0x54e50b,unlinkedAt:_0x334a88,deletedAt:_0x5bd38f}=_0x26e4e5;if(_0x5bd38f)continue;_0x33182a||(_0x33182a=_0x2befdd[_0x184dc2(0x160)]({'channelId':_0x3efee0,'threadId':_0x4bac93,'context':_0x474b8e,'attributes':_0x4a0483||{},'resolvedBy':_0x354834,'resolvedAt':_0x54e50b,'unlinkedAt':_0x334a88,'isFromAdapter':!0x0}));const _0x2d39b2=new Set(Array[_0x184dc2(0x177)](_0x33182a[_0x184dc2(0x161)],_0x55ef46=>_0x55ef46['id']));for(const _0x23b6ea of _0x26e4e5[_0x184dc2(0x161)])_0x2d39b2[_0x184dc2(0x1b1)](_0x23b6ea[_0x184dc2(0x15a)]);for(const _0x235947 of _0x2d39b2)_0x33182a[_0x184dc2(0x15d)](_0x235947)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x5ab7d6 of _0x26e4e5[_0x184dc2(0x161)]){const _0x1738aa=_0x33182a[_0x184dc2(0x15d)](_0x5ab7d6[_0x184dc2(0x15a)]);_0x1738aa?_0x1738aa[_0x184dc2(0x1a4)]!==_0x5ab7d6[_0x184dc2(0x1a4)]&&_0x1738aa[_0x184dc2(0x17f)]({'content':_0x5ab7d6[_0x184dc2(0x1a4)],'isFromAdapter':!0x0}):_0x33182a[_0x184dc2(0x1b7)](Object[_0x184dc2(0x18f)](p(_0x5ab7d6),{'isFromAdapter':!0x0}));}}}[_0x1799d2(0x167)](_0x538cfd){const _0x278505=_0x1799d2;if(!this[_0x278505(0x188)][_0x278505(0x15b)](_0x538cfd))throw new _0x2de265(_0x278505(0x19f),null,{'channelId':_0x538cfd});return this[_0x278505(0x188)][_0x278505(0x178)](_0x538cfd);}async[_0x1799d2(0x18d)](_0x84cb94){const _0x5a229d=_0x1799d2,_0x3d9756=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3d96a1),{connection:_0x21b3d2}=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3e86e4),_0xb2208c=new Set();for(const {resolvedBy:_0x440a84,comments:_0x496907}of _0x84cb94){_0x440a84&&!_0x3d9756[_0x5a229d(0x190)](_0x440a84)&&_0xb2208c[_0x5a229d(0x19e)](_0x440a84);for(const {userId:_0x106924}of _0x496907)_0x3d9756[_0x5a229d(0x190)](_0x106924)||_0xb2208c[_0x5a229d(0x19e)](_0x106924);}if(0x0===_0xb2208c[_0x5a229d(0x1ab)])return;const _0x5bec96=await _0x37b7f5[_0x5a229d(0x199)](_0x21b3d2,Array[_0x5a229d(0x177)](_0xb2208c));for(const _0x3f97b3 of _0x5bec96)_0x3d9756[_0x5a229d(0x190)](_0x3f97b3['id'])||_0x3d9756[_0x5a229d(0x168)](_0x3f97b3);}}async function f(_0x27d1f2){const _0x57c227=_0x1799d2;if(_0x57c227(0x175)!==_0x27d1f2[_0x57c227(0x15f)])throw _0x27d1f2;}function _0x1109(_0x5c0458,_0xfd5825){const _0x438a96=_0x438a();return _0x1109=function(_0x1109d2,_0x2032aa){_0x1109d2=_0x1109d2-0x15a;let _0x38d512=_0x438a96[_0x1109d2];return _0x38d512;},_0x1109(_0x5c0458,_0xfd5825);}function A(_0x471601){const _0x201a7d=_0x1799d2;if((_0x1507e8=_0x471601)[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x197))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x192))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x1bd)))return new Promise(()=>{});var _0x1507e8;throw _0x471601;}function p(_0x2ae4d0){const _0x1a7f5e=_0x1799d2;return{'threadId':_0x2ae4d0[_0x1a7f5e(0x1b2)],'commentId':_0x2ae4d0[_0x1a7f5e(0x15a)],'content':_0x2ae4d0[_0x1a7f5e(0x1a4)],'createdAt':_0x2ae4d0[_0x1a7f5e(0x162)],'authorId':_0x2ae4d0[_0x1a7f5e(0x1b4)],'attributes':_0x2ae4d0[_0x1a7f5e(0x164)]||{}};}
23
+ function _0x4577(_0x3bad25,_0x458596){const _0x1899ca=_0x1899();return _0x4577=function(_0x4577d6,_0x393980){_0x4577d6=_0x4577d6-0xe1;let _0x51dbd5=_0x1899ca[_0x4577d6];return _0x51dbd5;},_0x4577(_0x3bad25,_0x458596);}const _0xfb1eb4=_0x4577;(function(_0x2eeb2b,_0x55acd1){const _0x268846=_0x4577,_0x50c1ef=_0x2eeb2b();while(!![]){try{const _0x13ce04=-parseInt(_0x268846(0xfd))/0x1*(-parseInt(_0x268846(0x144))/0x2)+-parseInt(_0x268846(0xe4))/0x3*(-parseInt(_0x268846(0x12d))/0x4)+parseInt(_0x268846(0x100))/0x5+-parseInt(_0x268846(0xec))/0x6+parseInt(_0x268846(0x135))/0x7+-parseInt(_0x268846(0x142))/0x8+-parseInt(_0x268846(0xeb))/0x9*(parseInt(_0x268846(0xfc))/0xa);if(_0x13ce04===_0x55acd1)break;else _0x50c1ef['push'](_0x50c1ef['shift']());}catch(_0x55aab7){_0x50c1ef['push'](_0x50c1ef['shift']());}}}(_0x1899,0x90f3c));import{Context as _0x1d0845,ContextPlugin as _0x49f296}from'ckeditor5/src/core.js';import{CKEditorError as _0x39b0ab}from'ckeditor5/src/utils.js';import{Users as _0x43e508}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x8013ad,User as _0x236fe0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x56d380}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1dce99}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x49f296{static [_0xfb1eb4(0x11e)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x8013ad)());[_0xfb1eb4(0xe2)];static get[_0xfb1eb4(0x129)](){const _0x1fb17e=_0xfb1eb4;return[_0x56d380,_0x1fb17e(0x133),_0x1dce99,_0x43e508];}static get[_0xfb1eb4(0x13e)](){const _0x1c1803=_0xfb1eb4;return _0x1c1803(0x12f);}static get[_0xfb1eb4(0xe5)](){return!0x0;}static get[_0xfb1eb4(0x109)](){return!0x0;}constructor(_0x1d3606){const _0x58a49b=_0xfb1eb4;super(_0x1d3606),this[_0x58a49b(0xe2)]=new Map();}async[_0xfb1eb4(0x106)](){const _0x2c2c0f=_0xfb1eb4,_0x56e77a=this[_0x2c2c0f(0xfa)],_0x424e79=_0x56e77a[_0x2c2c0f(0x139)][_0x2c2c0f(0x117)](_0x2c2c0f(0x133));if(_0x56e77a[_0x2c2c0f(0x139)][_0x2c2c0f(0x117)](_0x56d380)[_0x2c2c0f(0x123)](this),_0x424e79[_0x2c2c0f(0x101)]={'addCommentThread':async({channelId:_0x3deba7,threadId:_0x231a64,comments:_0x306a09,resolvedAt:_0x282ca9,resolvedBy:_0x487a98,context:_0x3b4bcb,attributes:_0x230888})=>{const _0x46153e=_0x2c2c0f,_0x50cc1f=await this[_0x46153e(0x104)](_0x3deba7)[_0x46153e(0x131)]({'commentThreadId':_0x231a64,'comments':_0x306a09[_0x46153e(0x10b)](_0x402a42=>function(_0x383cc2,_0xf4afa7,_0x439eff){const _0x456d67=_0x46153e;return{'commentThreadId':_0x439eff,'commentId':_0x383cc2[_0x456d67(0x13d)],'userId':_0x383cc2[_0x456d67(0xf0)],'content':_0x383cc2[_0x456d67(0x107)],'documentId':_0xf4afa7,'createdAt':_0x383cc2[_0x456d67(0xed)],'attributes':_0x383cc2[_0x456d67(0xe7)]||{}};}(_0x402a42,_0x3deba7,_0x231a64)),'resolvedAt':_0x282ca9,'resolvedBy':_0x487a98,'context':_0x3b4bcb,'attributes':_0x230888})[_0x46153e(0x110)](A);return{'threadId':_0x50cc1f[_0x46153e(0x124)],'comments':_0x50cc1f[_0x46153e(0x114)]};},'getCommentThread':async({channelId:_0x1168ed,threadId:_0xa31fb9})=>{const _0x42fbe0=_0x2c2c0f,_0x6fcfa7=await this[_0x42fbe0(0x104)](_0x1168ed)[_0x42fbe0(0x13c)](_0xa31fb9)[_0x42fbe0(0x110)](f)[_0x42fbe0(0x110)](A);return _0x6fcfa7?_0x6fcfa7[_0x42fbe0(0xf3)]?null:(await this[_0x42fbe0(0x134)]([_0x6fcfa7]),{'threadId':_0x6fcfa7[_0x42fbe0(0x124)],'comments':_0x6fcfa7[_0x42fbe0(0x114)][_0x42fbe0(0x10b)](p),'context':_0x6fcfa7[_0x42fbe0(0xfa)],'resolvedAt':_0x6fcfa7[_0x42fbe0(0x118)],'resolvedBy':_0x6fcfa7[_0x42fbe0(0xf9)],'attributes':_0x6fcfa7[_0x42fbe0(0xe7)]||{}}):null;},'updateCommentThread':async({channelId:_0x1c1a54,threadId:_0x3a2bca,context:_0x28af0e,unlinkedAt:_0x3295fb,attributes:_0x2801f6})=>this[_0x2c2c0f(0x104)](_0x1c1a54)[_0x2c2c0f(0x136)]({'commentThreadId':_0x3a2bca,'context':_0x28af0e,'attributes':_0x2801f6,'unlinkedAt':_0x3295fb})[_0x2c2c0f(0x110)](f)[_0x2c2c0f(0x110)](A),'resolveCommentThread':async({channelId:_0x51f4bc,threadId:_0x46ab9e})=>{const _0x34b973=_0x2c2c0f,_0x5c8a4c=await this[_0x34b973(0x104)](_0x51f4bc)[_0x34b973(0x146)](_0x46ab9e)[_0x34b973(0x110)](f)[_0x34b973(0x110)](A);return{'threadId':_0x5c8a4c[_0x34b973(0x124)],'resolvedAt':_0x5c8a4c[_0x34b973(0x118)],'resolvedBy':_0x5c8a4c[_0x34b973(0xf9)]};},'reopenCommentThread':async({channelId:_0x551756,threadId:_0x3644b2})=>this[_0x2c2c0f(0x104)](_0x551756)[_0x2c2c0f(0xf1)](_0x3644b2)[_0x2c2c0f(0x110)](f)[_0x2c2c0f(0x110)](A),'removeCommentThread':({channelId:_0x5f3c30,threadId:_0x2f89fc})=>this[_0x2c2c0f(0x104)](_0x5f3c30)[_0x2c2c0f(0xe6)](_0x2f89fc)[_0x2c2c0f(0x110)](f)[_0x2c2c0f(0x110)](A),'addComment':({channelId:_0x178f2e,threadId:_0x215297,commentId:_0x3e5375,content:_0x15c435,attributes:_0x96096a})=>this[_0x2c2c0f(0x104)](_0x178f2e)[_0x2c2c0f(0x111)](_0x215297,_0x3e5375,_0x15c435,_0x96096a)[_0x2c2c0f(0x110)](A),'updateComment':({channelId:_0x1a0ff2,threadId:_0x5117e5,commentId:_0x174a19,content:_0x1e140b,attributes:_0x2120de})=>this[_0x2c2c0f(0x104)](_0x1a0ff2)[_0x2c2c0f(0xfb)](_0x5117e5,_0x174a19,_0x1e140b,_0x2120de)[_0x2c2c0f(0x110)](f)[_0x2c2c0f(0x110)](A),'removeComment':({channelId:_0x322b64,threadId:_0x13be8d,commentId:_0x5ab8c9})=>this[_0x2c2c0f(0x104)](_0x322b64)[_0x2c2c0f(0xf8)](_0x13be8d,_0x5ab8c9)[_0x2c2c0f(0x110)](f)[_0x2c2c0f(0x110)](A)},_0x56e77a instanceof _0x1d0845){const _0xfba564=_0x56e77a[_0x2c2c0f(0x12a)][_0x2c2c0f(0x117)](_0x2c2c0f(0x130)),_0x45f8fc=_0x56e77a[_0x2c2c0f(0x139)][_0x2c2c0f(0x117)](_0x1dce99);await this[_0x2c2c0f(0xe9)](_0xfba564);const _0x8cfb9e=await this[_0x2c2c0f(0xe2)][_0x2c2c0f(0x117)](_0xfba564)[_0x2c2c0f(0xf4)]();this[_0x2c2c0f(0x141)](_0x45f8fc,_0x2c2c0f(0x10f)+_0xfba564,(_0x251eaa,{session:_0xc8ffdb})=>{const _0x3506e6=_0x2c2c0f;_0xc8ffdb['id']===_0x45f8fc[_0x3506e6(0x138)]&&(_0x251eaa[_0x3506e6(0xf6)](),this[_0x3506e6(0xfa)][_0x3506e6(0x139)][_0x3506e6(0x117)](_0x3506e6(0x115))[_0x3506e6(0x121)](_0xc8ffdb[_0x3506e6(0x108)],_0xfba564));}),_0x45f8fc[_0x2c2c0f(0x12e)](_0xfba564,_0x8cfb9e);}}async[_0xfb1eb4(0xe9)](_0x346e04){const _0x30f00d=_0xfb1eb4;if(this[_0x30f00d(0xe2)][_0x30f00d(0x13f)](_0x346e04))throw new _0x39b0ab(_0x30f00d(0xf7),null,{'channelId':_0x346e04});const _0x268ad4=this[_0x30f00d(0xfa)][_0x30f00d(0x139)][_0x30f00d(0x117)](_0x30f00d(0x133)),_0x47d2a9=new CloudServicesCommentsAdapter[(_0x30f00d(0x11e))](_0x346e04);this[_0x30f00d(0xe2)][_0x30f00d(0xee)](_0x346e04,_0x47d2a9),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0x10c),(_0xe2f02b,_0x5d4d67)=>{const _0x1c06e0=_0x30f00d,{commentThreadId:_0x3435eb,documentId:_0x16fb92,context:_0x553e30,attributes:_0x2ea1ab,resolvedAt:_0x2774a1,resolvedBy:_0x5cbdf1,comments:_0xb9a591}=_0x5d4d67;_0x268ad4[_0x1c06e0(0x13c)](_0x3435eb)||_0x268ad4[_0x1c06e0(0x131)]({'threadId':_0x3435eb,'channelId':_0x16fb92,'comments':_0xb9a591?_0xb9a591[_0x1c06e0(0x10b)](p):[],'context':_0x553e30,'attributes':_0x2ea1ab,'resolvedAt':_0x2774a1,'resolvedBy':_0x5cbdf1,'isFromAdapter':!0x0});}),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0x112),(_0x3a58a3,{commentThreadId:_0x4ddd5a,documentId:_0x4f2e44,context:_0x43f87d,unlinkedAt:_0x1960e0,attributes:_0x4ca9a9})=>{const _0x4df08d=_0x30f00d;_0x268ad4[_0x4df08d(0x13c)](_0x4ddd5a)&&_0x268ad4[_0x4df08d(0x136)]({'threadId':_0x4ddd5a,'channelId':_0x4f2e44,'context':_0x43f87d,'unlinkedAt':_0x1960e0,'attributes':_0x4ca9a9,'isFromAdapter':!0x0});}),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0x120),(_0x2e5460,{commentThreadId:_0x3d9a21,resolvedBy:_0xcdbb23,resolvedAt:_0x31cc0b})=>{const _0x531f36=_0x30f00d,_0x273983=_0x268ad4[_0x531f36(0x13c)](_0x3d9a21);_0x273983&&_0x273983[_0x531f36(0xfe)]({'resolvedBy':_0xcdbb23,'resolvedAt':_0x31cc0b,'isFromAdapter':!0x0});}),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0xef),(_0x2f6da0,{commentThreadId:_0x5f3e99})=>{const _0x19f267=_0x30f00d,_0x1de117=_0x268ad4[_0x19f267(0x13c)](_0x5f3e99);_0x1de117&&_0x1de117[_0x19f267(0x10a)]({'isFromAdapter':!0x0});}),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0x143),(_0x1b50e3,{commentThreadId:_0x3929d8})=>{const _0x165a87=_0x30f00d,_0x59ab5d=_0x268ad4[_0x165a87(0x13c)](_0x3929d8);_0x59ab5d&&_0x59ab5d[_0x165a87(0x11a)]({'isFromAdapter':!0x0});}),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0x126),(_0x2fb780,_0x95035a)=>{const _0x54a25d=_0x30f00d,_0x52953f=_0x95035a[_0x54a25d(0x124)],_0x31b7f3=_0x268ad4[_0x54a25d(0x13c)](_0x52953f);_0x31b7f3&&_0x31b7f3[_0x54a25d(0x111)]({...p(_0x95035a),'isFromAdapter':!0x0});}),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0x127),(_0x357410,{commentThreadId:_0x1425bb,commentId:_0x58cbbe,content:_0x44acbd,attributes:_0x311996})=>{const _0x1bf5cb=_0x30f00d,_0x3d9897=_0x268ad4[_0x1bf5cb(0x13c)](_0x1425bb);if(_0x3d9897){const _0x296aeb=_0x3d9897[_0x1bf5cb(0xe8)](_0x58cbbe);_0x296aeb&&_0x296aeb[_0x1bf5cb(0x103)]({'content':_0x44acbd,'attributes':_0x311996,'isFromAdapter':!0x0});}}),this[_0x30f00d(0x141)](_0x47d2a9,_0x30f00d(0x11d),(_0x519088,{commentThreadId:_0x57c422,commentId:_0x1384a4})=>{const _0x27d3c2=_0x30f00d,_0x2454cc=_0x268ad4[_0x27d3c2(0x13c)](_0x57c422);if(_0x2454cc){const _0x33bc61=_0x2454cc[_0x27d3c2(0xe8)](_0x1384a4);_0x33bc61&&_0x33bc61[_0x27d3c2(0x11a)]({'isFromAdapter':!0x0});}}),await this[_0x30f00d(0x11b)](_0x346e04);}[_0xfb1eb4(0x12c)](){const _0x383a26=_0xfb1eb4;if(this[_0x383a26(0xfa)]instanceof _0x1d0845){const _0x34b003=this[_0x383a26(0xfa)][_0x383a26(0x12a)][_0x383a26(0x117)](_0x383a26(0x130));this[_0x383a26(0xff)](_0x34b003);}}[_0xfb1eb4(0xff)](_0x31f52b){const _0x224f0b=_0xfb1eb4;if(!this[_0x224f0b(0xe2)][_0x224f0b(0x13f)](_0x31f52b))throw new _0x39b0ab(_0x224f0b(0x128),null,{'channelId':_0x31f52b});this[_0x224f0b(0x104)](_0x31f52b)[_0x224f0b(0x12b)](),this[_0x224f0b(0xe2)][_0x224f0b(0x102)](_0x31f52b);}async[_0xfb1eb4(0x10d)](){const _0x21bdc6=_0xfb1eb4;for(const _0x2eb9e1 of this[_0x21bdc6(0xe2)][_0x21bdc6(0x140)]())await this[_0x21bdc6(0x11b)](_0x2eb9e1);if(this[_0x21bdc6(0xfa)]instanceof _0x1d0845){const _0x52d477=this[_0x21bdc6(0xfa)][_0x21bdc6(0x12a)][_0x21bdc6(0x117)](_0x21bdc6(0x130)),_0x35ce5d=this[_0x21bdc6(0xfa)][_0x21bdc6(0x139)][_0x21bdc6(0x117)](_0x1dce99);_0x35ce5d[_0x21bdc6(0xf5)](_0x52d477);const _0x4b6e66=await this[_0x21bdc6(0xe2)][_0x21bdc6(0x117)](_0x52d477)[_0x21bdc6(0xf4)]();_0x35ce5d[_0x21bdc6(0x12e)](_0x52d477,_0x4b6e66);}}async[_0xfb1eb4(0x11b)](_0x480bf6){const _0x41dd6f=_0xfb1eb4,{connection:_0x354f02}=this[_0x41dd6f(0xfa)][_0x41dd6f(0x139)][_0x41dd6f(0x117)](_0x56d380),_0x2e49e9=this[_0x41dd6f(0xfa)][_0x41dd6f(0x139)][_0x41dd6f(0x117)](_0x41dd6f(0x133)),_0x2bd999=this[_0x41dd6f(0xe2)][_0x41dd6f(0x117)](_0x480bf6),_0x4bd9b6=await _0x2bd999[_0x41dd6f(0x113)](_0x354f02);await this[_0x41dd6f(0x134)](_0x4bd9b6);const _0x237459=new Set(Array[_0x41dd6f(0x13b)](_0x2e49e9[_0x41dd6f(0xe1)]({'channelId':_0x480bf6}),_0x10146b=>_0x10146b['id']));for(const _0x1835b4 of _0x4bd9b6)_0x1835b4[_0x41dd6f(0xf3)]||_0x237459[_0x41dd6f(0x102)](_0x1835b4[_0x41dd6f(0x124)]);for(const _0x2c3542 of _0x237459)_0x2e49e9[_0x41dd6f(0x13c)](_0x2c3542)[_0x41dd6f(0x11a)]({'isFromAdapter':!0x0});for(const _0x17d923 of _0x4bd9b6){let _0x2a48bc=_0x2e49e9[_0x41dd6f(0x13c)](_0x17d923[_0x41dd6f(0x124)]);const {commentThreadId:_0x5cb4c7,context:_0x2a352a,attributes:_0xc256c8,resolvedBy:_0x2f7d97,resolvedAt:_0x5463f6,unlinkedAt:_0x2b7082,deletedAt:_0x3f5bb8}=_0x17d923;if(_0x3f5bb8)continue;_0x2a48bc||(_0x2a48bc=_0x2e49e9[_0x41dd6f(0x131)]({'channelId':_0x480bf6,'threadId':_0x5cb4c7,'context':_0x2a352a,'attributes':_0xc256c8||{},'resolvedBy':_0x2f7d97,'resolvedAt':_0x5463f6,'unlinkedAt':_0x2b7082,'isFromAdapter':!0x0}));const _0x16e113=new Set(Array[_0x41dd6f(0x13b)](_0x2a48bc[_0x41dd6f(0x114)],_0x4cd842=>_0x4cd842['id']));for(const _0x3a8050 of _0x17d923[_0x41dd6f(0x114)])_0x16e113[_0x41dd6f(0x102)](_0x3a8050[_0x41dd6f(0x13d)]);for(const _0x4b1124 of _0x16e113)_0x2a48bc[_0x41dd6f(0xe8)](_0x4b1124)[_0x41dd6f(0x11a)]({'isFromAdapter':!0x0});for(const _0x420a6d of _0x17d923[_0x41dd6f(0x114)]){const _0x497348=_0x2a48bc[_0x41dd6f(0xe8)](_0x420a6d[_0x41dd6f(0x13d)]);_0x497348?_0x497348[_0x41dd6f(0x107)]!==_0x420a6d[_0x41dd6f(0x107)]&&_0x497348[_0x41dd6f(0x103)]({'content':_0x420a6d[_0x41dd6f(0x107)],'isFromAdapter':!0x0}):_0x2a48bc[_0x41dd6f(0x111)](Object[_0x41dd6f(0x125)](p(_0x420a6d),{'isFromAdapter':!0x0}));}}}[_0xfb1eb4(0x104)](_0x272b09){const _0x4a45c5=_0xfb1eb4;if(!this[_0x4a45c5(0xe2)][_0x4a45c5(0x13f)](_0x272b09))throw new _0x39b0ab(_0x4a45c5(0x105),null,{'channelId':_0x272b09});return this[_0x4a45c5(0xe2)][_0x4a45c5(0x117)](_0x272b09);}async[_0xfb1eb4(0x134)](_0x10b9d8){const _0xc3eef2=_0xfb1eb4,_0x1f4ac4=this[_0xc3eef2(0xfa)][_0xc3eef2(0x139)][_0xc3eef2(0x117)](_0x43e508),{connection:_0x31f549}=this[_0xc3eef2(0xfa)][_0xc3eef2(0x139)][_0xc3eef2(0x117)](_0x56d380),_0x49a82b=new Set();for(const {resolvedBy:_0xd15914,comments:_0x52dcc8}of _0x10b9d8){_0xd15914&&!_0x1f4ac4[_0xc3eef2(0x145)](_0xd15914)&&_0x49a82b[_0xc3eef2(0x13a)](_0xd15914);for(const {userId:_0x5383c0}of _0x52dcc8)_0x1f4ac4[_0xc3eef2(0x145)](_0x5383c0)||_0x49a82b[_0xc3eef2(0x13a)](_0x5383c0);}if(0x0===_0x49a82b[_0xc3eef2(0x119)])return;const _0x572fb5=await _0x236fe0[_0xc3eef2(0x137)](_0x31f549,Array[_0xc3eef2(0x13b)](_0x49a82b));for(const _0x15fae9 of _0x572fb5)_0x1f4ac4[_0xc3eef2(0x145)](_0x15fae9['id'])||_0x1f4ac4[_0xc3eef2(0x122)](_0x15fae9);}}async function f(_0x267d1b){const _0x5633b9=_0xfb1eb4;if(_0x5633b9(0x116)!==_0x267d1b[_0x5633b9(0xea)])throw _0x267d1b;}function A(_0x8a13bd){const _0x2790a5=_0xfb1eb4;if((_0x5479ab=_0x8a13bd)[_0x2790a5(0xe3)][_0x2790a5(0x132)](_0x2790a5(0x10e))||_0x5479ab[_0x2790a5(0xe3)][_0x2790a5(0x132)](_0x2790a5(0x11c))||_0x5479ab[_0x2790a5(0xe3)][_0x2790a5(0x132)](_0x2790a5(0xf2)))return new Promise(()=>{});var _0x5479ab;throw _0x8a13bd;}function p(_0x3c4362){const _0x2cfc5c=_0xfb1eb4;return{'threadId':_0x3c4362[_0x2cfc5c(0x124)],'commentId':_0x3c4362[_0x2cfc5c(0x13d)],'content':_0x3c4362[_0x2cfc5c(0x107)],'createdAt':_0x3c4362[_0x2cfc5c(0xed)],'authorId':_0x3c4362[_0x2cfc5c(0x11f)],'attributes':_0x3c4362[_0x2cfc5c(0xe7)]||{}};}function _0x1899(){const _0x4b4ff1=['CloudServicesCommentsAdapter','collaboration.channelId','addCommentThread','startsWith','CommentsRepository','_fetchMissingUsersForThreads','5272071ZynmIw','updateCommentThread','getMany','mySessionId','plugins','add','from','getCommentThread','commentId','pluginName','has','keys','listenTo','6344720IGnSfu','commentThreadRemoved','2041532xodIrB','getUser','resolveCommentThread','getCommentThreads','_services','message','3uOtEzg','isOfficialPlugin','removeCommentThread','attributes','getComment','_setUpService','code','153ntCSpp','2507622AzrPQl','createdAt','set','commentThreadReopened','authorId','reopenCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','deletedAt','getConnectedSessions','unregister','off','cloudservicescommentsadapter-connect-already-connected','removeComment','resolvedBy','context','updateComment','937700mTGWAi','1jjcAFE','resolve','_terminateService','4216350tKSrfz','adapter','delete','update','_getService','cloudservicescommentsadapter-service-not-exist','init','content','permissions','isPremiumPlugin','reopen','map','commentThreadAdded','reconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','sessionAdd:','catch','addComment','commentThreadUpdated','connect','comments','Permissions','404','get','resolvedAt','size','remove','_connectService','cloud-services-internal-error:\x20Not\x20connected.','commentRemoved','CommentsService','userId','commentThreadResolved','setPermissions','addUser','addToReconnectionStack','commentThreadId','assign','commentAdded','commentUpdated','cloudservicescommentsadapter-disconnect-not-exist','requires','config','disconnect','destroy','3126608fUUmEe','register'];_0x1899=function(){return _0x4b4ff1;};return _0x1899();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37af(){const _0x2a6287=['destroy','config','Comments','5430990PyILQr','1426878sfcBsU','6RGMrZR','_terminateService','ready','once','listenTo','2271770pTdlMA','requires','13069424BmLxec','init','7BdmsAW','2897525cdlpHv','_setUpService','isOfficialPlugin','767417nGqPsj','connected','plugins','pluginName','get','985272tsYWOq','RealTimeCollaborativeComments','CommentsRepository','data','isThreadsLoadingPaused','editor','isPremiumPlugin','collaboration.channelId','switchReadOnly','change:state','9TIRWdA','CommentsEditing'];_0x37af=function(){return _0x2a6287;};return _0x37af();}const _0x26efbb=_0x2a5d;(function(_0x5d41ed,_0x18dbb5){const _0x1684d2=_0x2a5d,_0x40bccd=_0x5d41ed();while(!![]){try{const _0x27dc13=parseInt(_0x1684d2(0xc2))/0x1+-parseInt(_0x1684d2(0xb4))/0x2+-parseInt(_0x1684d2(0xb3))/0x3+parseInt(_0x1684d2(0xc7))/0x4+-parseInt(_0x1684d2(0xbf))/0x5*(-parseInt(_0x1684d2(0xb5))/0x6)+parseInt(_0x1684d2(0xbe))/0x7*(parseInt(_0x1684d2(0xbc))/0x8)+-parseInt(_0x1684d2(0xae))/0x9*(-parseInt(_0x1684d2(0xba))/0xa);if(_0x27dc13===_0x18dbb5)break;else _0x40bccd['push'](_0x40bccd['shift']());}catch(_0x31126a){_0x40bccd['push'](_0x40bccd['shift']());}}}(_0x37af,0xe3216));import{Plugin as _0xadc5e3}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2d58a7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x53a50f}from'./realtimecollaborativeediting.js';function _0x2a5d(_0x35ce52,_0x4a6f5c){const _0x37afdd=_0x37af();return _0x2a5d=function(_0x2a5dd1,_0x489c4b){_0x2a5dd1=_0x2a5dd1-0xa7;let _0x4836d0=_0x37afdd[_0x2a5dd1];return _0x4836d0;},_0x2a5d(_0x35ce52,_0x4a6f5c);}import{WebSocketGateway as _0x4bce6f}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xadc5e3{static get[_0x26efbb(0xbb)](){const _0x36fcce=_0x26efbb;return[_0x36fcce(0xb2),_0x2d58a7,_0x53a50f,_0x4bce6f];}static get[_0x26efbb(0xc5)](){const _0x51cbaa=_0x26efbb;return _0x51cbaa(0xc8);}static get[_0x26efbb(0xc1)](){return!0x0;}static get[_0x26efbb(0xaa)](){return!0x0;}[_0x26efbb(0xbd)](){const _0x1179b6=_0x26efbb,_0x20d6db=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x4bce6f),_0x416443=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x1179b6(0xaf)),_0x59fc48=this[_0x1179b6(0xa9)][_0x1179b6(0xc4)][_0x1179b6(0xc6)](_0x2d58a7);return this[_0x1179b6(0xa9)][_0x1179b6(0xa7)][_0x1179b6(0xb8)](_0x1179b6(0xb7),()=>{const _0x1c1386=_0x1179b6;this[_0x1c1386(0xb9)](_0x20d6db,_0x1c1386(0xad),(_0x727fbe,_0x450957,_0x3b51bf)=>{const _0x4a979b=_0x1c1386;_0x416443[_0x4a979b(0xa8)]=_0x4a979b(0xc3)!==_0x3b51bf;});}),this[_0x1179b6(0xb9)](_0x20d6db,_0x1179b6(0xad),(_0x332f16,_0x1da212,_0x1f49d9)=>{const _0x564bdc=_0x1179b6;this[_0x564bdc(0xa9)][_0x564bdc(0xc4)][_0x564bdc(0xc6)](_0x564bdc(0xc9))[_0x564bdc(0xac)](_0x564bdc(0xc3)!==_0x1f49d9);}),_0x59fc48[_0x1179b6(0xc0)](this[_0x1179b6(0xa9)][_0x1179b6(0xb1)][_0x1179b6(0xc6)](_0x1179b6(0xab)));}[_0x26efbb(0xb0)](){const _0x36f486=_0x26efbb;this[_0x36f486(0xa9)][_0x36f486(0xc4)][_0x36f486(0xc6)](_0x2d58a7)[_0x36f486(0xb6)](this[_0x36f486(0xa9)][_0x36f486(0xb1)][_0x36f486(0xc6)](_0x36f486(0xab))),super[_0x36f486(0xb0)]();}}
23
+ const _0x3dcd1b=_0x31b6;(function(_0x7575ac,_0x4711c8){const _0x52e8fa=_0x31b6,_0x571879=_0x7575ac();while(!![]){try{const _0x3c6f62=-parseInt(_0x52e8fa(0x125))/0x1*(parseInt(_0x52e8fa(0x107))/0x2)+-parseInt(_0x52e8fa(0x115))/0x3*(parseInt(_0x52e8fa(0x112))/0x4)+parseInt(_0x52e8fa(0x109))/0x5+-parseInt(_0x52e8fa(0x122))/0x6+-parseInt(_0x52e8fa(0x10f))/0x7+parseInt(_0x52e8fa(0x114))/0x8*(parseInt(_0x52e8fa(0x10c))/0x9)+parseInt(_0x52e8fa(0x120))/0xa;if(_0x3c6f62===_0x4711c8)break;else _0x571879['push'](_0x571879['shift']());}catch(_0xc52aa0){_0x571879['push'](_0x571879['shift']());}}}(_0x1ed3,0x1af4c));import{Plugin as _0x6e0caa}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2fb6d5}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x275e3c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x268f87}from'./realtimecollaborativeediting/websocketgateway.js';function _0x31b6(_0x5e7b93,_0x152163){const _0x1ed3d2=_0x1ed3();return _0x31b6=function(_0x31b601,_0x5b93eb){_0x31b601=_0x31b601-0x106;let _0x2e0180=_0x1ed3d2[_0x31b601];return _0x2e0180;},_0x31b6(_0x5e7b93,_0x152163);}function _0x1ed3(){const _0x1cf23c=['Comments','collaboration.channelId','177214CiFyXb','isThreadsLoadingPaused','63935TDkyyG','listenTo','data','14346XSlmiO','plugins','config','446880ZOTkix','CommentsRepository','CommentsEditing','3628zRlKzF','get','8BLbfFb','243xjapVr','RealTimeCollaborativeComments','isPremiumPlugin','editor','destroy','switchReadOnly','change:state','once','pluginName','connected','ready','5489670kjAxfM','_setUpService','830490gkDlfE','init','requires','2DaWTqz','isOfficialPlugin','_terminateService'];_0x1ed3=function(){return _0x1cf23c;};return _0x1ed3();}export class RealTimeCollaborativeComments extends _0x6e0caa{static get[_0x3dcd1b(0x124)](){const _0x408328=_0x3dcd1b;return[_0x408328(0x128),_0x2fb6d5,_0x275e3c,_0x268f87];}static get[_0x3dcd1b(0x11d)](){const _0x507f62=_0x3dcd1b;return _0x507f62(0x116);}static get[_0x3dcd1b(0x126)](){return!0x0;}static get[_0x3dcd1b(0x117)](){return!0x0;}[_0x3dcd1b(0x123)](){const _0x4e0a20=_0x3dcd1b,_0x3a38ea=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x268f87),_0x557333=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x4e0a20(0x111)),_0xdf8397=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x2fb6d5);return this[_0x4e0a20(0x118)][_0x4e0a20(0x10b)][_0x4e0a20(0x11c)](_0x4e0a20(0x11f),()=>{const _0x234548=_0x4e0a20;this[_0x234548(0x10a)](_0x3a38ea,_0x234548(0x11b),(_0x4ed670,_0x446959,_0x35fdd2)=>{const _0x18d39c=_0x234548;_0x557333[_0x18d39c(0x108)]=_0x18d39c(0x11e)!==_0x35fdd2;});}),this[_0x4e0a20(0x10a)](_0x3a38ea,_0x4e0a20(0x11b),(_0x218e2e,_0x430921,_0x14212e)=>{const _0x349250=_0x4e0a20;this[_0x349250(0x118)][_0x349250(0x10d)][_0x349250(0x113)](_0x349250(0x110))[_0x349250(0x11a)](_0x349250(0x11e)!==_0x14212e);}),_0xdf8397[_0x4e0a20(0x121)](this[_0x4e0a20(0x118)][_0x4e0a20(0x10e)][_0x4e0a20(0x113)](_0x4e0a20(0x106)));}[_0x3dcd1b(0x119)](){const _0x492701=_0x3dcd1b;this[_0x492701(0x118)][_0x492701(0x10d)][_0x492701(0x113)](_0x2fb6d5)[_0x492701(0x127)](this[_0x492701(0x118)][_0x492701(0x10e)][_0x492701(0x113)](_0x492701(0x106))),super[_0x492701(0x119)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26d242=_0xe5ab;(function(_0x2aa4fd,_0x17d6a4){const _0x3b38c7=_0xe5ab,_0x5556eb=_0x2aa4fd();while(!![]){try{const _0x57d641=-parseInt(_0x3b38c7(0x157))/0x1*(parseInt(_0x3b38c7(0x7b))/0x2)+-parseInt(_0x3b38c7(0x16e))/0x3+-parseInt(_0x3b38c7(0x9f))/0x4+-parseInt(_0x3b38c7(0x111))/0x5*(parseInt(_0x3b38c7(0x127))/0x6)+parseInt(_0x3b38c7(0x165))/0x7*(parseInt(_0x3b38c7(0x17d))/0x8)+parseInt(_0x3b38c7(0xde))/0x9+parseInt(_0x3b38c7(0x101))/0xa;if(_0x57d641===_0x17d6a4)break;else _0x5556eb['push'](_0x5556eb['shift']());}catch(_0x9ea713){_0x5556eb['push'](_0x5556eb['shift']());}}}(_0x1412,0x6736a));function _0xe5ab(_0x5e0751,_0x2b2bfc){const _0x141272=_0x1412();return _0xe5ab=function(_0xe5ab71,_0x298233){_0xe5ab71=_0xe5ab71-0x79;let _0x16c43d=_0x141272[_0xe5ab71];return _0x16c43d;},_0xe5ab(_0x5e0751,_0x2b2bfc);}import{Plugin as _0x36847c,PendingActions as _0x5c3be5}from'ckeditor5/src/core.js';import{CKEditorError as _0x50a0b9,version as _0x29ba18,uid as _0x4a8868}from'ckeditor5/src/utils.js';import{Notification as _0x3ace31}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x30a7c4,NoOperation as _0x328ec9,InsertOperation as _0x5b750a,MarkerOperation as _0x1768ee,RootAttributeOperation as _0x15ff31,OperationFactory as _0x2a60df,History as _0xc52ba0}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x38d046}from'./websocketgateway.js';import{Sessions as _0x1adf10}from'./sessions.js';import{UserMarkers as _0x395f5d}from'./usermarkers.js';import{getTranslation as _0x3e8d08}from'../common-translations.js';import{Compressor as _0x49feac}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5e3fe2}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x21e716,CollaborativeEditingService as _0x570639}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x36847c{static [_0x26d242(0xa6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x570639)());[_0x26d242(0x16b)];[_0x26d242(0x11c)];[_0x26d242(0x9d)];[_0x26d242(0x105)];[_0x26d242(0xa8)];[_0x26d242(0x16c)];[_0x26d242(0x130)];[_0x26d242(0x7f)];[_0x26d242(0x98)];[_0x26d242(0x137)];[_0x26d242(0xf9)];[_0x26d242(0x169)];[_0x26d242(0x178)];[_0x26d242(0xed)];[_0x26d242(0x110)];[_0x26d242(0x12e)];[_0x26d242(0xf0)];[_0x26d242(0x90)];static get[_0x26d242(0xf4)](){return[_0x38d046,_0x1adf10,_0x395f5d,_0x5c3be5,_0x5e3fe2,_0x3ace31];}static get[_0x26d242(0xea)](){const _0x3043c6=_0x26d242;return _0x3043c6(0x156);}static get[_0x26d242(0x87)](){return!0x0;}static get[_0x26d242(0x97)](){return!0x0;}get[_0x26d242(0xfd)](){const _0x8e7fe0=_0x26d242;return this[_0x8e7fe0(0x14b)]+this[_0x8e7fe0(0x16b)];}get[_0x26d242(0x14b)](){const _0x57e6ad=_0x26d242;return this[_0x57e6ad(0x9d)][_0x57e6ad(0x81)]-this[_0x57e6ad(0x16b)];}get[_0x26d242(0x122)](){const _0x39a84d=_0x26d242,_0x540363=this[_0x39a84d(0x9d)][_0x39a84d(0x166)]();for(let _0x49ec2d=_0x540363[_0x39a84d(0x145)]-0x1;_0x49ec2d>=0x0;_0x49ec2d--){const _0x4ce993=_0x540363[_0x49ec2d];if(!this[_0x39a84d(0xf0)][_0x39a84d(0x14c)](_0x4ce993))return _0x4ce993[_0x39a84d(0xd0)]+0x1-this[_0x39a84d(0x16b)];}return 0x0;}constructor(_0x56da5f){const _0x56d326=_0x26d242;if(super(_0x56da5f),this[_0x56d326(0x16b)]=0x0,this[_0x56d326(0x11c)]=null,this[_0x56d326(0x9d)]=new _0xc52ba0(),this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xab)](_0x56d326(0x150),{}),this[_0x56d326(0x105)]=this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x7d)),!this[_0x56d326(0x105)])throw new _0x50a0b9(_0x56d326(0x10e),this);const _0x4571e1=_0x56da5f[_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x179))||_0x29ba18;this[_0x56d326(0xa8)]=new RealTimeCollaborationClient[(_0x56d326(0xa6))](_0x4571e1,this[_0x56d326(0x105)]),this[_0x56d326(0x16c)]=this[_0x56d326(0xd2)][_0x56d326(0xcc)][_0x56d326(0xb6)],this[_0x56d326(0x130)]=new _0x49feac(),this[_0x56d326(0x7f)]=[],this[_0x56d326(0x98)]=new WeakSet(),this[_0x56d326(0x137)]=new Set(),this[_0x56d326(0x92)](_0x56d326(0x8c),!0x1),this[_0x56d326(0x92)](_0x56d326(0xbd),!0x1),this[_0x56d326(0xf9)]=null,this[_0x56d326(0x169)]=!0x1,this[_0x56d326(0x178)]=null,this[_0x56d326(0xed)]=0x12c,this[_0x56d326(0x110)]=this[_0x56d326(0xed)],this[_0x56d326(0x12e)]=null,this[_0x56d326(0xf0)]=new WeakSet(),this[_0x56d326(0x90)]=new J(this[_0x56d326(0xf0)]);}[_0x26d242(0x10f)](){const _0x3e0940=_0x26d242,_0x2f6b6d=this[_0x3e0940(0xd2)],_0x252701=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x5e3fe2),_0x480805=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x38d046);this[_0x3e0940(0x147)](_0x252701,_0x3e0940(0x132),(_0x1310a8,_0x3cbfe6)=>{const _0xa4c316=_0x3e0940,_0x57211c=_0x3cbfe6[0x0];_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=_0x252701[_0xa4c316(0x13f)](_0x57211c[_0xa4c316(0x11e)]),_0x1310a8[_0xa4c316(0x96)]()),null===_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=null,_0x1310a8[_0xa4c316(0x96)]());},{'priority':_0x3e0940(0xad)}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xcc)][_0x3e0940(0xb6)][_0x3e0940(0x8b)],_0x3e0940(0x113),(_0x316874,_0x2cf6f0)=>{const _0x32997f=_0x3e0940;_0x2cf6f0[_0x32997f(0xb3)]&&this[_0x32997f(0x121)]();}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xd8)][_0x3e0940(0x144)],_0x3e0940(0xd6),()=>{const _0x3318ae=_0x3e0940;this[_0x3318ae(0x121)]();}),this[_0x3e0940(0x162)](),_0x2f6b6d[_0x3e0940(0xcc)]['on'](_0x3e0940(0xa9),(_0x29e420,_0x335939)=>{const _0x1784f3=_0x3e0940,_0x2565a2=_0x335939[0x0];_0x2565a2[_0x1784f3(0x161)]&&(this[_0x1784f3(0x15d)](_0x2565a2),this[_0x1784f3(0x173)]()&&this[_0x1784f3(0x152)]());}),this[_0x3e0940(0x14f)](),this[_0x3e0940(0xd7)](_0x3e0940(0x119))['to'](_0x480805,_0x3e0940(0xc4),this,_0x3e0940(0xbd),(_0x5bf17a,_0x40b0ae)=>_0x3e0940(0x8f)===_0x5bf17a&&!_0x40b0ae),this['on'](_0x3e0940(0x13b),()=>{const _0x1899c5=_0x3e0940;this[_0x1899c5(0x119)]?_0x2f6b6d[_0x1899c5(0x83)](_0x1899c5(0x154)):_0x2f6b6d[_0x1899c5(0x9e)](_0x1899c5(0x154));}),this[_0x3e0940(0x119)]?_0x2f6b6d[_0x3e0940(0x83)](_0x3e0940(0x154)):_0x2f6b6d[_0x3e0940(0x9e)](_0x3e0940(0x154)),this[_0x3e0940(0x92)](_0x3e0940(0xc8),!0x1);}async[_0x26d242(0x84)](){const _0x2b67fb=_0x26d242,_0xb387e5=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x1adf10),_0x395039=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x38d046);try{this[_0x2b67fb(0x8c)]=!0x0,_0xb387e5[_0x2b67fb(0x142)](this[_0x2b67fb(0x105)]);const _0x57d8bb=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x84)](_0x395039[_0x2b67fb(0xbb)],this[_0x2b67fb(0x122)]);await this[_0x2b67fb(0x9a)](_0x57d8bb)&&(this[_0x2b67fb(0x8c)]=!0x1,this[_0x2b67fb(0xf5)]());const _0x3d3a08=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x13d)]();_0xb387e5[_0x2b67fb(0xf2)](this[_0x2b67fb(0x105)],_0x3d3a08),this[_0x2b67fb(0x9c)](),this[_0x2b67fb(0xc8)]=!0x0;}catch(_0x2a7e16){if(function(_0x10faae){const _0x2e0ec=_0x2b67fb;return _0x2e0ec(0x138)===_0x10faae[_0x2e0ec(0x135)];}(_0x2a7e16)&&this[_0x2b67fb(0x11c)])await this[_0x2b67fb(0x109)]();else{if(function(_0x468752){const _0x4f0aa0=_0x2b67fb;return _0x4f0aa0(0xbf)===_0x468752[_0x4f0aa0(0x135)];}(_0x2a7e16)){const _0xdc4bd2=_0x3e8d08(this[_0x2b67fb(0xd2)][_0x2b67fb(0xc9)],_0x2b67fb(0x143));this[_0x2b67fb(0x102)](_0xdc4bd2);}else{if(!(_0x2a7e16 instanceof $))throw _0x2a7e16;this[_0x2b67fb(0x102)]();}}}}[_0x26d242(0xd9)](){const _0x11afb2=_0x26d242,_0x288f08=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x38d046),_0x2c7bbc=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x1adf10);this[_0x11afb2(0xd2)][_0x11afb2(0x9e)](_0x11afb2(0xb4)),_0x2c7bbc[_0x11afb2(0x141)][_0x11afb2(0x14c)](this[_0x11afb2(0x105)])&&_0x2c7bbc[_0x11afb2(0x142)](this[_0x11afb2(0x105)]),_0x288f08[_0x11afb2(0xa4)](this),this[_0x11afb2(0x15c)](),super[_0x11afb2(0xd9)]();}async[_0x26d242(0x9a)](_0x467128){const _0x1f28a0=_0x26d242;if(this[_0x1f28a0(0x11c)]!==_0x467128[_0x1f28a0(0x11c)]&&this[_0x1f28a0(0x12e)]!==_0x467128[_0x1f28a0(0x170)])throw new $();return this[_0x1f28a0(0x11c)]=_0x467128[_0x1f28a0(0x11c)],this[_0x1f28a0(0x160)]([],{..._0x467128,'wereChangesApplied':!0x1,'data':_0x467128[_0x1f28a0(0xfa)]},_0x1f28a0(0x84));}async[_0x26d242(0x14a)](_0x35eb46,_0x2f4ebf=!0x1){const _0x523167=_0x26d242,{connection:_0x4ca4ff}=this[_0x523167(0xd2)][_0x523167(0x11a)][_0x523167(0xe3)](_0x38d046);RealTimeCollaborationClient[_0x523167(0xa6)][_0x523167(0x13d)](_0x4ca4ff,this[_0x523167(0x105)])[_0x523167(0xa0)](_0x1d157a=>this[_0x523167(0xce)](_0x1d157a))[_0x523167(0x85)](_0x3ff39c=>{const _0x49ecdb=_0x523167;this[_0x49ecdb(0x82)](_0x49ecdb(0x16a),_0x3ff39c);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xae),this[_0x523167(0xda)][_0x523167(0xd7)](this)),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xe6),(_0x576977,_0x444eda)=>{const _0x4d21b0=_0x523167;this[_0x4d21b0(0x82)](_0x4d21b0(0xa1),_0x444eda);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xf7),()=>{const _0x54a299=_0x523167;this[_0x54a299(0xc8)]=!0x1;});const _0x36cf79=this[_0x523167(0x90)][_0x523167(0x134)](_0x35eb46);this[_0x523167(0x8c)]=!0x0;const _0x4a07ca=await this[_0x523167(0xa8)][_0x523167(0xe2)](_0x4ca4ff,this[_0x523167(0x93)](_0x35eb46),_0x36cf79);if(this[_0x523167(0x11c)]=_0x4a07ca[_0x523167(0x11c)],_0x2f4ebf){if(!_0x4a07ca[_0x523167(0x139)])return void this[_0x523167(0x102)]();this[_0x523167(0x8c)]=!0x1,this[_0x523167(0xf5)](),this[_0x523167(0x9d)][_0x523167(0x103)](),this[_0x523167(0x16b)]=_0x4a07ca[_0x523167(0xe4)],this[_0x523167(0x9d)][_0x523167(0x81)]=this[_0x523167(0x16b)],await this[_0x523167(0x160)](_0x35eb46,_0x4a07ca,_0x523167(0x167));}else await this[_0x523167(0x174)](_0x4a07ca,_0x35eb46);this[_0x523167(0x9c)](),this[_0x523167(0xc8)]=!0x0;}[_0x26d242(0x9c)](){const _0x404fe3=_0x26d242,_0xe2d9eb=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x1adf10),_0x2cf986=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x395f5d),_0x230d49=_0xe2d9eb[_0x404fe3(0x141)][_0x404fe3(0xe3)](this[_0x404fe3(0x105)]);_0x230d49&&_0x230d49[_0x404fe3(0x145)]>0x1?_0x2cf986[_0x404fe3(0xfc)]():this[_0x404fe3(0x147)](_0xe2d9eb,_0x404fe3(0xeb)+this[_0x404fe3(0x105)],()=>{const _0x21d876=_0x404fe3;0x2===_0xe2d9eb[_0x21d876(0x141)][_0x21d876(0xe3)](this[_0x21d876(0x105)])[_0x21d876(0x145)]&&_0x2cf986[_0x21d876(0xfc)]();});}async[_0x26d242(0xda)](_0x5c8698,_0x7ec980,_0x99aff,_0x8e4cc3){const _0x1b3e8b=_0x26d242;if(!this[_0x1b3e8b(0x8c)]&&this[_0x1b3e8b(0x16c)][_0x1b3e8b(0x81)]==_0x7ec980){const _0x40c36e=this[_0x1b3e8b(0x175)](_0x99aff,_0x8e4cc3);await this[_0x1b3e8b(0x13e)](_0x40c36e),this[_0x1b3e8b(0x7c)](_0x40c36e,_0x7ec980,_0x99aff[_0x1b3e8b(0x170)])||this[_0x1b3e8b(0x82)](_0x1b3e8b(0x16f));}}async[_0x26d242(0x109)](){const _0x5cb841=_0x26d242;this[_0x5cb841(0x15c)]();const {locale:_0x3b4956}=this[_0x5cb841(0xd2)];let _0x3e8b34;try{_0x3e8b34=await this[_0x5cb841(0xa8)][_0x5cb841(0x89)]();}catch{const _0x37c62f=_0x3e8d08(_0x3b4956,_0x5cb841(0x155));return void this[_0x5cb841(0x102)](_0x37c62f);}const _0x2233f2=_0x3e8b34[_0x5cb841(0x17b)]||_0x3e8b34[_0x5cb841(0x10d)];if(this[_0x5cb841(0x12e)]!==_0x2233f2[_0x5cb841(0x170)]){const _0xc0ba58=_0x3e8d08(_0x3b4956,_0x5cb841(0xdc));return void this[_0x5cb841(0x102)](_0xc0ba58);}await this[_0x5cb841(0x14a)](this[_0x5cb841(0xd2)][_0x5cb841(0xcc)][_0x5cb841(0xb6)][_0x5cb841(0x79)][_0x5cb841(0x166)](),!0x0);}[_0x26d242(0x15c)](){const _0x401108=_0x26d242;this[_0x401108(0xa8)][_0x401108(0xdb)](),this[_0x401108(0x7f)]=[],clearTimeout(this[_0x401108(0x178)]),this[_0x401108(0xb9)](this[_0x401108(0xa8)]);}[_0x26d242(0xce)](_0x4b7278){const _0x4ee1df=_0x26d242,_0x142d2e=this[_0x4ee1df(0xd2)][_0x4ee1df(0x11a)][_0x4ee1df(0xe3)](_0x1adf10);this[_0x4ee1df(0x147)](_0x142d2e,_0x4ee1df(0xeb)+this[_0x4ee1df(0x105)],(_0x37906a,{session:_0x3fa1d4})=>{const _0x38a6f0=_0x4ee1df;if(_0x3fa1d4['id']===_0x142d2e[_0x38a6f0(0x10b)]){_0x37906a[_0x38a6f0(0xec)]();const _0x3f5295=this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0x14c)](_0x38a6f0(0x112))&&this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x112));let _0x5b8f4c=_0x3fa1d4[_0x38a6f0(0xb5)];_0x3f5295&&_0x3f5295[_0x38a6f0(0xe7)]&&(_0x5b8f4c=_0x5b8f4c[_0x38a6f0(0x128)](_0x4d2335=>_0x38a6f0(0xba)!==_0x4d2335)),this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x12a))[_0x38a6f0(0x8a)](_0x5b8f4c,this[_0x38a6f0(0x105)]);}}),_0x142d2e[_0x4ee1df(0xf2)](this[_0x4ee1df(0x105)],_0x4b7278);}[_0x26d242(0x162)](){const _0x4d2bc5=_0x26d242,_0x2807d3=this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)];this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)]=(..._0x18d4f0)=>{const _0x49f9b0=_0x4d2bc5;if(!_0x18d4f0[_0x18d4f0[_0x49f9b0(0x145)]-0x1][_0x49f9b0(0x11f)])throw new _0x50a0b9(_0x49f9b0(0xb0),this);_0x2807d3[_0x49f9b0(0xcf)](this[_0x49f9b0(0xd2)][_0x49f9b0(0xfa)],_0x18d4f0);};}[_0x26d242(0x14f)](){const _0x1c46dd=_0x26d242;this[_0x1c46dd(0xd2)][_0x1c46dd(0xfa)]['on'](_0x1c46dd(0x10f),(_0x15518b,[_0x7325e])=>{const _0x39f800=_0x1c46dd;if(this[_0x39f800(0x16c)][_0x39f800(0x81)])throw new _0x50a0b9(_0x39f800(0xa3),this);_0x15518b[_0x39f800(0x96)](),this[_0x39f800(0xcb)]();const _0x3dad78=this[_0x39f800(0xd2)][_0x39f800(0x126)][_0x39f800(0xe3)](_0x39f800(0xc7)),_0x506764=this[_0x39f800(0x17c)](_0x7325e,_0x3dad78);0x0==_0x506764[_0x39f800(0x145)]&&_0x506764[_0x39f800(0xb1)](new _0x328ec9(0x0)),_0x15518b[_0x39f800(0xfb)]=this[_0x39f800(0x14a)](_0x506764)[_0x39f800(0xa0)](()=>{const _0x16f3ab=_0x39f800;this[_0x16f3ab(0xd2)][_0x16f3ab(0x11a)][_0x16f3ab(0xe3)](_0x38d046)[_0x16f3ab(0x107)](this),this[_0x16f3ab(0xd2)][_0x16f3ab(0xfa)][_0x16f3ab(0x8d)](_0x16f3ab(0x168));})[_0x39f800(0x85)](_0x496f6b=>this[_0x39f800(0x82)](_0x39f800(0x9b),_0x496f6b))[_0x39f800(0x123)](()=>this[_0x39f800(0xf5)]());},{'priority':_0x1c46dd(0xad)}),this[_0x1c46dd(0xd2)]['on'](_0x1c46dd(0x120),async(_0x45d723,[_0x30239b,_0x689bad])=>{const _0x1e0624=_0x1c46dd;_0x45d723[_0x1e0624(0x96)]();const _0x18b186=this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0xb6)][_0x1e0624(0xd5)](_0x30239b);if(!this[_0x1e0624(0x137)][_0x1e0624(0x14c)](_0x30239b)){const _0x3aad3f=_0x689bad&&_0x689bad[_0x1e0624(0xfa)]?_0x689bad[_0x1e0624(0xfa)]:'',_0x366fda=_0x689bad&&_0x689bad[_0x1e0624(0xc5)]?_0x689bad[_0x1e0624(0xc5)]:{};await this[_0x1e0624(0xa2)](_0x30239b,_0x3aad3f,_0x366fda);}this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0x10a)]({'isUndoable':!0x1},()=>{const _0x5a1e03=_0x1e0624;_0x18b186[_0x5a1e03(0x151)]=!0x0,this[_0x5a1e03(0xd2)][_0x5a1e03(0xcc)][_0x5a1e03(0xb6)][_0x5a1e03(0x116)][_0x5a1e03(0xee)](_0x18b186);});},{'priority':_0x1c46dd(0xad)});}async[_0x26d242(0x13e)](_0x44334a){const _0x4af3b7=_0x26d242,_0x4f8fd3=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x5e3fe2),{connection:_0x311409}=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x38d046),_0x1fcf77=new Set();for(const _0x166266 of _0x44334a){const _0x902ea1=_0x166266[_0x4af3b7(0x11e)];_0x902ea1&&!_0x4f8fd3[_0x4af3b7(0x13f)](_0x902ea1)&&_0x1fcf77[_0x4af3b7(0xf3)](_0x902ea1);}if(0x0===_0x1fcf77[_0x4af3b7(0x7e)])return;const _0x43250f=await _0x21e716[_0x4af3b7(0x171)](_0x311409,Array[_0x4af3b7(0x15a)](_0x1fcf77));for(const _0x177a3a of _0x43250f)_0x4f8fd3[_0x4af3b7(0x13f)](_0x177a3a['id'])||_0x4f8fd3[_0x4af3b7(0x12c)](_0x177a3a);}[_0x26d242(0x17c)](_0x22fd02,_0x1bf133={}){const _0x255f77=_0x26d242,_0x50c800=this[_0x255f77(0xd2)][_0x255f77(0xcc)],_0x100244=[];let _0x402928=0x0;const _0x2bcf68=_0x255f77(0xd1)==typeof _0x22fd02?{'main':_0x22fd02}:_0x22fd02;for(const _0x71d8f8 of Object[_0x255f77(0xe5)](_0x2bcf68)){if(!this[_0x255f77(0x16c)][_0x255f77(0xef)][_0x255f77(0x14c)](_0x71d8f8))throw new _0x50a0b9(_0x255f77(0xa5),this);const _0x14fded=this[_0x255f77(0xd2)][_0x255f77(0xfa)][_0x255f77(0x136)](_0x2bcf68[_0x71d8f8]),_0x11a656=this[_0x255f77(0x16c)][_0x255f77(0xd5)](_0x71d8f8),_0x80227a=new _0x5b750a(_0x50c800[_0x255f77(0xc6)](_0x11a656,0x0),_0x14fded,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x80227a);for(const [_0x5e4041,_0x3a22f6]of _0x14fded[_0x255f77(0xbc)]){const _0x1118de=_0x50c800[_0x255f77(0xe8)](_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0x17e)][_0x255f77(0xaa)][_0x255f77(0xc0)]()),_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0xff)][_0x255f77(0xaa)][_0x255f77(0xc0)]())),_0x433edf=new _0x1768ee(_0x5e4041,null,_0x1118de,_0x50c800[_0x255f77(0xbc)],!0x0,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x433edf);}}if(_0x1bf133)for(const [_0x3a5618,_0x1e1115]of Object[_0x255f77(0x15e)](_0x1bf133)){const _0x5335e9=_0x50c800[_0x255f77(0xb6)][_0x255f77(0xd5)](_0x3a5618);if(!_0x5335e9)throw new _0x50a0b9(_0x255f77(0xca),null);for(const [_0x3b3b2f,_0x3cb0fc]of Object[_0x255f77(0x15e)](_0x1e1115))if(null!==_0x3cb0fc){const _0x29073a=new _0x15ff31(_0x5335e9,_0x3b3b2f,null,_0x3cb0fc,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x29073a);}}return _0x100244;}async[_0x26d242(0xa2)](_0x5c10b1,_0x6ed28f,_0xfbe8b8){const _0x3e4ee6=_0x26d242;this[_0x3e4ee6(0x17c)]({[_0x5c10b1]:_0x6ed28f},{[_0x5c10b1]:_0xfbe8b8})[_0x3e4ee6(0xb2)]((_0x4148fc,_0x4525ac)=>{const _0x3f3bd6=_0x3e4ee6;_0x4148fc[_0x3f3bd6(0xd0)]=this[_0x3f3bd6(0x16c)][_0x3f3bd6(0x81)]+_0x4525ac,_0x4148fc[_0x3f3bd6(0xe1)]=!0x0,this[_0x3f3bd6(0x15d)](_0x4148fc);}),this[_0x3e4ee6(0x152)](),await this[_0x3e4ee6(0x158)]();}async[_0x26d242(0x174)](_0x42726a,_0x4a37e4){const _0x508c60=_0x26d242;let _0x3e6f2b;this[_0x508c60(0x16b)]=_0x42726a[_0x508c60(0xe4)];const _0x489c31=_0x42726a[_0x508c60(0x139)]&&!_0x42726a[_0x508c60(0x117)],_0x467bdc=_0x489c31?0x0:_0x42726a[_0x508c60(0xfa)][_0x508c60(0xd0)];if(_0x4a37e4[_0x508c60(0xb2)](_0x2d38e1=>{const _0x5cd501=_0x508c60;_0x2d38e1[_0x5cd501(0xe1)]=!0x0,_0x2d38e1[_0x5cd501(0x153)]=_0x42726a[_0x5cd501(0x91)],_0x2d38e1[_0x5cd501(0x11e)]=null;}),_0x489c31)_0x3e6f2b=_0x4a37e4,this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);else{if(_0x42726a[_0x508c60(0x117)]){const _0x20db31=this[_0x508c60(0x17c)](_0x42726a[_0x508c60(0x117)]);this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)],_0x20db31[_0x508c60(0xb2)](_0x215280=>{const _0x3b5baa=_0x508c60;_0x215280[_0x3b5baa(0xd0)]-=_0x20db31[_0x3b5baa(0x145)],_0x215280[_0x3b5baa(0x153)]=_0x42726a[_0x3b5baa(0x91)],_0x215280[_0x3b5baa(0xe1)]=!0x0,_0x215280[_0x3b5baa(0x11e)]=null;}),this[_0x508c60(0x16d)](_0x20db31,!0x0),this[_0x508c60(0x9d)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)]+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x20db31);}this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=_0x467bdc,_0x3e6f2b=this[_0x508c60(0x175)](_0x42726a[_0x508c60(0xfa)],_0x42726a[_0x508c60(0x13c)]),await this[_0x508c60(0x13e)](_0x3e6f2b),this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);}_0x42726a[_0x508c60(0x170)]&&(this[_0x508c60(0x90)][_0x508c60(0xc2)](_0x3e6f2b,_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x12e)]=_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x9d)][_0x508c60(0x81)]=_0x467bdc+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x3e6f2b),_0x4a37e4[_0x508c60(0x128)](_0x250c9f=>{const _0x23fea6=_0x508c60,_0x2bab68=this[_0x23fea6(0x17a)](_0x250c9f);return _0x2bab68&&!this[_0x23fea6(0x137)][_0x23fea6(0x14c)](_0x2bab68);})[_0x508c60(0xb2)]((_0x5c4761,_0x2aab75)=>{const _0x14528e=_0x508c60;_0x5c4761[_0x14528e(0xd0)]=this[_0x14528e(0x16c)][_0x14528e(0x81)]+_0x2aab75,this[_0x14528e(0x15d)](_0x5c4761);}),this[_0x508c60(0x173)]()?(this[_0x508c60(0x110)]=0x0,this[_0x508c60(0x152)](!0x0),await this[_0x508c60(0x158)]()):(this[_0x508c60(0x8c)]=!0x1,this[_0x508c60(0xf5)]());}[_0x26d242(0x82)](_0x176bef,_0x460d06){const _0x230c16=_0x26d242,_0x145f36=_0x460d06&&_0x460d06[_0x230c16(0xd4)];if(_0x145f36&&_0x145f36[_0x230c16(0x94)](_0x230c16(0x86)))throw _0x460d06;const _0x1f6ca5=this[_0x230c16(0xd2)][_0x230c16(0x11a)][_0x230c16(0xe3)](_0x38d046);throw this[_0x230c16(0x8c)]=!0x0,_0x1f6ca5[_0x230c16(0xdb)](),this[_0x230c16(0xd2)][_0x230c16(0x9e)](_0x230c16(0x7a)),new _0x50a0b9(_0x176bef,this[_0x230c16(0xd2)],_0x145f36?{'originalError':_0x145f36}:void 0x0);}[_0x26d242(0x15d)](_0x7aa987){const _0x2bbdff=_0x26d242;this[_0x2bbdff(0x98)][_0x2bbdff(0x14c)](_0x7aa987)||(this[_0x2bbdff(0x98)][_0x2bbdff(0xf3)](_0x7aa987),this[_0x2bbdff(0x7f)][_0x2bbdff(0xb1)](_0x7aa987),this[_0x2bbdff(0xf9)]||_0x2bbdff(0x118)==_0x7aa987[_0x2bbdff(0x80)]&&!_0x7aa987[_0x2bbdff(0x104)]||this[_0x2bbdff(0xcb)]());}[_0x26d242(0x152)](_0x41532f=!0x1){const _0x4c0742=_0x26d242;!_0x41532f&&this[_0x4c0742(0x8c)]||(this[_0x4c0742(0x8c)]=!0x0,clearTimeout(this[_0x4c0742(0x178)]),this[_0x4c0742(0x178)]=setTimeout(()=>{const _0x30abcf=_0x4c0742;this[_0x30abcf(0xc3)]()[_0x30abcf(0xa0)](_0x557bbe=>{const _0x4fab7c=_0x30abcf;_0x557bbe&&(this[_0x4fab7c(0xf5)](),this[_0x4fab7c(0x8c)]=!0x1);})[_0x30abcf(0x85)](_0x178ce5=>{const _0x447493=_0x30abcf;this[_0x447493(0xf5)](),this[_0x447493(0x8c)]=!0x1,function(_0x16f665){const _0x35c3a8=_0x447493;return _0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x15b))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x159))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x13a));}(_0x178ce5)||this[_0x447493(0x82)](_0x178ce5[_0x447493(0xd4)],_0x178ce5);});},this[_0x4c0742(0x110)]));}[_0x26d242(0x158)](){return new Promise(_0x3d10d2=>{const _0x1366ca=_0xe5ab;this['on'](_0x1366ca(0xf8),()=>{_0x3d10d2();});});}async[_0x26d242(0xc3)](){const _0x4a6681=_0x26d242,_0x1ef5b9=this[_0x4a6681(0xd2)][_0x4a6681(0x11a)][_0x4a6681(0xe3)](_0x395f5d);if(this[_0x4a6681(0xf1)]()&&(_0x1ef5b9[_0x4a6681(0xfc)](),this[_0x4a6681(0x169)]=!0x1),!this[_0x4a6681(0x173)]())return!0x0;const _0xcb9492=[...this[_0x4a6681(0x7f)]];for(const _0x243732 of _0xcb9492)_0x243732[_0x4a6681(0xb8)]=this[_0x4a6681(0x16c)][_0x4a6681(0x79)][_0x4a6681(0xe9)](_0x243732);const _0x82e743=this[_0x4a6681(0x90)][_0x4a6681(0x134)](_0xcb9492),_0x2762d0=G++,_0x552d9c=this[_0x4a6681(0x93)](_0xcb9492),_0x2358ec=await this[_0x4a6681(0xa8)][_0x4a6681(0x146)](_0x552d9c,_0x552d9c[_0x4a6681(0xd0)],_0x82e743);try{return await this[_0x4a6681(0x160)](_0xcb9492,_0x2358ec,_0x2762d0);}catch(_0x487d17){return this[_0x4a6681(0x82)](_0x4a6681(0x163),_0x487d17);}}async[_0x26d242(0x160)](_0x3d61fa,_0x15c387,_0x1f8ca2){const _0xdb1fe3=_0x26d242;if(_0xdb1fe3(0xe6)in _0x15c387)throw _0x15c387[_0xdb1fe3(0xe6)];let _0x475afa=!0x1;if(_0x15c387[_0xdb1fe3(0x139)]){_0x15c387[_0xdb1fe3(0x170)]&&(this[_0xdb1fe3(0x12e)]=_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x466f0f=>!_0x3d61fa[_0xdb1fe3(0x124)](_0x466f0f));for(const _0x10b93e of _0x3d61fa)_0x10b93e[_0xdb1fe3(0x153)]=_0xdb1fe3(0xfe)in _0x15c387&&_0x15c387[_0xdb1fe3(0xfe)]||void 0x0;K(_0x3d61fa,_0x15c387[_0xdb1fe3(0x81)]-_0x3d61fa[_0xdb1fe3(0x145)]),this[_0xdb1fe3(0x114)](_0x3d61fa);const _0x3fb8d5=_0x3d61fa[_0xdb1fe3(0x128)](_0x1993fb=>{const _0x1b37f9=_0xdb1fe3;if(!_0x1993fb[_0x1b37f9(0xe1)])return!0x1;const _0x4164f7=this[_0x1b37f9(0x17a)](_0x1993fb);return _0x4164f7&&!this[_0x1b37f9(0x137)][_0x1b37f9(0x14c)](_0x4164f7);});K(_0x3fb8d5,this[_0xdb1fe3(0x16c)][_0xdb1fe3(0x81)]),this[_0xdb1fe3(0x16d)](_0x3fb8d5),_0x475afa=!0x0,this[_0xdb1fe3(0x110)]=this[_0xdb1fe3(0xed)];}else{const _0x31b79d=this[_0xdb1fe3(0x175)](_0x15c387[_0xdb1fe3(0xfa)],_0x15c387[_0xdb1fe3(0x13c)])[_0xdb1fe3(0x128)](_0x1e201b=>_0x1e201b[_0xdb1fe3(0xd0)]>=this[_0xdb1fe3(0x14b)]);_0x31b79d[_0xdb1fe3(0xb2)](_0x2cfab8=>this[_0xdb1fe3(0x11d)](_0x2cfab8)),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x35c62a=>!_0x35c62a[_0xdb1fe3(0xe1)]||!this[_0xdb1fe3(0x137)][_0xdb1fe3(0x14c)](this[_0xdb1fe3(0x17a)](_0x35c62a))),this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x145)]&&K(this[_0xdb1fe3(0x7f)],this[_0xdb1fe3(0x7f)][0x0][_0xdb1fe3(0xd0)]),await this[_0xdb1fe3(0x13e)](_0x31b79d),_0x475afa=this[_0xdb1fe3(0x7c)](_0x31b79d,_0x15c387[_0xdb1fe3(0x81)],_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x110)]=Math[_0xdb1fe3(0x172)](this[_0xdb1fe3(0x110)]/0x2);}return _0x475afa?!this[_0xdb1fe3(0x173)]()||(this[_0xdb1fe3(0x152)](!0x0),!0x1):this[_0xdb1fe3(0x82)](_0xdb1fe3(0x88));}[_0x26d242(0x7c)](_0x8ad63b,_0x549acd,_0x44c18c){const _0x5c0ae0=_0x26d242;try{const _0x18a00d={'document':this[_0x5c0ae0(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x25459e,operationsB:_0x315929,originalOperations:_0x1a88bb}=_0x30a7c4(_0x8ad63b,this[_0x5c0ae0(0x7f)],_0x18a00d);K(_0x25459e,this[_0x5c0ae0(0x16c)][_0x5c0ae0(0x81)]),K(_0x315929,_0x549acd);for(const _0xef920e of _0x25459e){const _0x2613ba=_0x1a88bb[_0x5c0ae0(0xe3)](_0xef920e);_0xef920e[_0x5c0ae0(0x11e)]=_0x2613ba?_0x2613ba[_0x5c0ae0(0x11e)]:null;}_0x44c18c&&(this[_0x5c0ae0(0x90)][_0x5c0ae0(0xc2)](_0x8ad63b,_0x44c18c),this[_0x5c0ae0(0x12e)]=_0x44c18c),this[_0x5c0ae0(0x7f)]=[..._0x315929],this[_0x5c0ae0(0x16d)](_0x25459e),this[_0x5c0ae0(0x114)](_0x8ad63b);}catch(_0x501f0f){return console[_0x5c0ae0(0xe6)](_0x501f0f),!0x1;}return!0x0;}[_0x26d242(0x16d)](_0x1811d5,_0x57d22f=!0x1){const _0x5700ab=_0x26d242;this[_0x5700ab(0xd2)][_0x5700ab(0xcc)][_0x5700ab(0x10a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5c888b=>{const _0x5b7030=_0x5700ab;for(const _0x2a6ad5 of _0x1811d5)this[_0x5b7030(0x98)][_0x5b7030(0xf3)](_0x2a6ad5),this[_0x5b7030(0x11d)](_0x2a6ad5),_0x5c888b[_0x5b7030(0x148)][_0x5b7030(0xd3)](_0x2a6ad5),this[_0x5b7030(0xd2)][_0x5b7030(0xcc)][_0x5b7030(0xa9)](_0x2a6ad5);});}[_0x26d242(0x11d)](_0xb7e6c9){const _0x507c07=_0x26d242,_0x7f9bba=this[_0x507c07(0x17a)](_0xb7e6c9);_0x7f9bba&&this[_0x507c07(0x137)][_0x507c07(0xf3)](_0x7f9bba);}[_0x26d242(0x17a)](_0x11c7cf){const _0x1509d0=_0x26d242;let _0x6813e5,_0xeff81;switch(_0x11c7cf[_0x1509d0(0x80)]){case _0x1509d0(0x176):_0x6813e5=_0x11c7cf[_0x1509d0(0x15f)][_0x1509d0(0x133)];break;case _0x1509d0(0x118):if(_0xeff81=_0x11c7cf[_0x1509d0(0x11b)],!_0xeff81)return null;_0x6813e5=_0xeff81[_0x1509d0(0x133)];break;case _0x1509d0(0x177):_0x6813e5=_0x11c7cf[_0x1509d0(0x133)];break;case _0x1509d0(0x8e):_0x6813e5=_0x11c7cf[_0x1509d0(0x129)];break;case _0x1509d0(0x125):_0x6813e5=_0x11c7cf[_0x1509d0(0x164)][_0x1509d0(0x133)];break;default:return null;}return _0x6813e5[_0x1509d0(0x10c)];}[_0x26d242(0x114)](_0x5186f9){const _0x48430a=_0x26d242;_0x5186f9[_0x48430a(0xb2)](_0x14c015=>{const _0x5a5917=_0x48430a,_0x516cda=_0x14c015[_0x5a5917(0xb7)]();_0x516cda[_0x5a5917(0x11e)]=_0x14c015[_0x5a5917(0x11e)],_0x516cda[_0x5a5917(0xe1)]=!!_0x14c015[_0x5a5917(0xe1)],_0x516cda[_0x5a5917(0x153)]=_0x14c015[_0x5a5917(0x153)],_0x516cda[_0x5a5917(0xd0)]+=this[_0x5a5917(0x16b)],_0x14c015[_0x5a5917(0x149)]&&this[_0x5a5917(0xf0)][_0x5a5917(0xf3)](_0x516cda),this[_0x5a5917(0x9d)][_0x5a5917(0xd3)](_0x516cda);});}[_0x26d242(0x102)](_0x7c2c95){const _0x3cdd4d=_0x26d242,_0x5478b9=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x3cdd4d(0xdd)),_0x487ee8=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0xc9)];_0x7c2c95||(_0x7c2c95=_0x3e8d08(_0x487ee8,_0x3cdd4d(0x12b))),_0x5478b9[_0x3cdd4d(0x108)](_0x7c2c95,{'title':_0x3e8d08(_0x487ee8,_0x3cdd4d(0xaf)),'namespace':_0x3cdd4d(0xbe)}),this[_0x3cdd4d(0xbd)]=!0x0,clearTimeout(this[_0x3cdd4d(0x178)]),this[_0x3cdd4d(0x7f)]=[],this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x38d046)[_0x3cdd4d(0xdb)]();}[_0x26d242(0xcb)](){const _0x311a60=_0x26d242;this[_0x311a60(0xf9)]||(this[_0x311a60(0xf9)]=this[_0x311a60(0xd2)][_0x311a60(0x11a)][_0x311a60(0xe3)](_0x5c3be5)[_0x311a60(0xf3)](_0x3e8d08(this[_0x311a60(0xd2)][_0x311a60(0xc9)],_0x311a60(0xcd))));}[_0x26d242(0xf5)](){const _0x569d0b=_0x26d242;this[_0x569d0b(0xf9)]&&(this[_0x569d0b(0xd2)][_0x569d0b(0x11a)][_0x569d0b(0xe3)](_0x5c3be5)[_0x569d0b(0xf6)](this[_0x569d0b(0xf9)]),this[_0x569d0b(0xf9)]=null);}[_0x26d242(0x93)](_0x2ea370){const _0x209fa1=_0x26d242,_0x413e4b=_0x2ea370[_0x209fa1(0x12f)](_0x13e688=>_0x13e688[_0x209fa1(0xc1)]());return this[_0x209fa1(0x130)][_0x209fa1(0x14e)](_0x413e4b);}[_0x26d242(0x175)](_0x28c597,_0x4e6883){const _0x1a5250=_0x26d242;return this[_0x1a5250(0x130)][_0x1a5250(0xac)](_0x28c597)[_0x1a5250(0x12f)]((_0x21f3e2,_0x21e01b)=>{const _0x4f0dea=_0x1a5250,_0x41fcd1=_0x4f0dea(0x10f)==_0x4e6883[_0x21e01b][_0x4f0dea(0x80)];if(_0x4f0dea(0x99)==_0x21f3e2[_0x4f0dea(0xa7)]){const _0x384839=_0x21f3e2[_0x4f0dea(0x15f)][_0x4f0dea(0x133)];!this[_0x4f0dea(0x16c)][_0x4f0dea(0xd5)](_0x384839)&&(this[_0x4f0dea(0x16c)][_0x4f0dea(0x95)](_0x4f0dea(0x140),_0x384839)[_0x4f0dea(0xdf)]=!0x1);}const _0x50e9f1=_0x2a60df[_0x4f0dea(0x115)](_0x21f3e2,this[_0x4f0dea(0x16c)]);return _0x50e9f1[_0x4f0dea(0xb8)]=_0x21f3e2[_0x4f0dea(0xb8)],_0x50e9f1[_0x4f0dea(0xe1)]=_0x41fcd1,_0x50e9f1[_0x4f0dea(0x11e)]=_0x41fcd1?null:_0x4e6883[_0x21e01b][_0x4f0dea(0x14d)],_0x50e9f1[_0x4f0dea(0x149)]=_0x4f0dea(0x100)===_0x4e6883[_0x21e01b][_0x4f0dea(0x80)],_0x50e9f1[_0x4f0dea(0x153)]=_0x4e6883[_0x21e01b][_0x4f0dea(0x153)],_0x50e9f1;});}[_0x26d242(0x121)](){const _0x2cc285=_0x26d242;this[_0x2cc285(0x169)]=!0x0,this[_0x2cc285(0xf1)]()?this[_0x2cc285(0x152)]():this[_0x2cc285(0x169)]=!0x1;}[_0x26d242(0xf1)](){const _0x6b4f3c=_0x26d242,_0x4714dd=this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x11a)][_0x6b4f3c(0xe3)](_0x1adf10)[_0x6b4f3c(0x141)][_0x6b4f3c(0xe3)](this[_0x6b4f3c(0x105)]);return!this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x131)]&&!!_0x4714dd&&_0x4714dd[_0x6b4f3c(0x145)]>0x1&&this[_0x6b4f3c(0x169)];}[_0x26d242(0x173)](){const _0x5f4277=_0x26d242;return this[_0x5f4277(0x7f)][_0x5f4277(0x145)]>0x0||this[_0x5f4277(0xf1)]();}}class $ extends Error{}function _0x1412(){const _0x483313=['1342164LoPOuu','then','realtimecollaborationclient-init-service-internal-error','_loadRoot','realtimecollaborationclient-init-document-already-initialized','removeFromReconnectionStack','realtimecollaborationclient-init-non-existent-root','CollaborativeEditingService','__className','_service','applyOperation','path','define','decompress','high','operationsReceived','Synchronization\x20issue','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','push','forEach','directChange','rtc-destroyed','permissions','document','clone','wasUndone','stopListening','document:write','connection','markers','_hasSynchronizationProblem','real-time-collaboration','409','slice','toJSON','setIdForTheLastOperation','_sendBufferedOperations','state','attributes','createPositionAt','rootsAttributes','_isConnected','locale','multi-root-editor-root-attributes-no-root','_setPendingAction','model','PENDING_ACTION_SENDING_DATA','_initSessionsHandling','apply','baseVersion','string','editor','addOperation','message','getRoot','change:hasDomSelection','bind','editing','destroy','_handleReceivedOperations','disconnect','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.','Notification','2752254QzlNAY','_isAttached','_ignoredOperations','_isInit','connect','get','offset','keys','error','isEnabled','createRange','isUndoneOperation','pluginName','sessionAdd:','off','_baseBufferDelay','_bufferRootLoad','roots','_disconnectionOperations','_shouldSendSelectionUpdate','register','add','requires','_clearPendingAction','remove','disconnected','change:_isPendingUpdate','_pendingAction','data','return','createUserMarkerOperations','cloudDocumentVersion','lastOperationAcceptedAt','end','cs:removeUser','17333770WGOZam','_handleReconnectionError','reset','affectsData','_channelId','createPositionFromPath','addToReconnectionStack','showWarning','_connectAfterSessionHasBeenFlushed','enqueueChange','mySessionId','rootName','lastDocumentSession','collaboration-missing-channelid','init','_currentBufferDelay','452415HzyVlL','CommentsOnly','change:range','_updateServerHistory','fromJSON','differ','initData','marker','_isEditingAllowed','plugins','newRange','sessionId','_addKnownRoot','_authorId','suppressErrorInCollaboration','loadRoot','_refreshUserSelectionMarkers','lastSyncVersion','finally','includes','move','config','12VeTEeY','filter','affectedSelectable','Permissions','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.','addUser','_operationToId','_lastSyncedOperationId','map','_compressor','isReadOnly','getOperationAuthor','root','getIdOfTheLastOperation','code','parse','_knownRootNames','404','wereChangesApplied','cloud-services-internal-error:\x20Request\x20timeout.','change:_isEditingAllowed','metadata','getConnectedSessions','_fetchMissingUsers','getUser','$root','channelSessions','unregister','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','view','length','sendOperations','listenTo','batch','_isDisconnection','_connectService','_lastServerVersion','has','userId','compress','_setUpDataInit','collaboration','_isLoaded','_sendBufferedOperationsDelayed','createdAt','rtc-offline','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','RealTimeCollaborationClient','183UfCWId','_waitUntilSynced','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','from','cloud-services-internal-error:\x20Not\x20connected.','_disconnectService','_saveOperationInBuffer','entries','position','_handleServerResponse','isDocumentOperation','_initThrowingOnDataSet','realtimecollaborationclient-sendbufferedoperations','targetPosition','29533fcmThg','getOperations','reconnection:\x20flushed\x20session','ready','_hasSelectionChanged','realtimecollaborationclient-init-session-connection-error','_offset','_document','_applyOperationsSet','1485567tdVRED','realtimecollaborationclient-init-service-incorrect-server-operation','lastOperationId','getMany','round','_shouldSendUpdate','_handleInitialConnectionData','_decompressOperations','insert','addRootAttribute','_sendBufferedOperationsDelayId','cloudServices.bundleVersion','_getAffectedRoot','currentDocumentSession','_getOperationsFromInitData','72AyokKU','start','history','realtimecollaborationclient-error','7024poxrBV','_handleExternalOperations','collaboration.channelId','size','_bufferedOperations','type','version','_crash','disableReadOnlyMode','reconnect','catch','realtimecollaborationclient','isOfficialPlugin','realtimecollaborationclient-handleserverresponse','getDocumentDetails','setPermissions','selection','_isPendingUpdate','fire','addRoot','connected','_operationIdentifier','sessionCreatedAt','set','_compressOperations','startsWith','createRoot','stop','isPremiumPlugin','_knownOperations','InsertOperation','_handleReconnectionResponse','realtimecollaborationclient-init-connection-failed','_handleSendingSelectionMarkers','serverHistory','enableReadOnlyMode'];_0x1412=function(){return _0x483313;};return _0x1412();}function K(_0x39e77a,_0x3a2fce){const _0x39fe3e=_0x26d242;for(const _0x462ef4 of _0x39e77a)_0x462ef4[_0x39fe3e(0xd0)]=_0x3a2fce++;}class J{[_0x26d242(0xe0)];[_0x26d242(0x12d)];constructor(_0x3eeecb){const _0x59b898=_0x26d242;this[_0x59b898(0xe0)]=_0x3eeecb,this[_0x59b898(0x12d)]=new WeakMap();}[_0x26d242(0x134)](_0x476851){const _0x16691b=_0x26d242;let _0x23aaae=_0x476851[_0x16691b(0x145)];for(;_0x23aaae--;){const _0x3459c5=_0x476851[_0x23aaae];if(!this[_0x16691b(0xe0)][_0x16691b(0x14c)](_0x3459c5)){if(!this[_0x16691b(0x12d)][_0x16691b(0x14c)](_0x3459c5)){const _0x252263=_0x4a8868()[_0x16691b(0xc0)](0x1,0x12);this[_0x16691b(0x12d)][_0x16691b(0x92)](_0x3459c5,_0x252263);}return this[_0x16691b(0x12d)][_0x16691b(0xe3)](_0x3459c5);}}}[_0x26d242(0xc2)](_0x4b0135,_0x54cec9){const _0x4ebb3f=_0x26d242;if(!_0x54cec9)return;let _0x383ca5=_0x4b0135[_0x4ebb3f(0x145)];for(;_0x383ca5--;){const _0xaaff7a=_0x4b0135[_0x383ca5];this[_0x4ebb3f(0xe0)][_0x4ebb3f(0x14c)](_0xaaff7a)||this[_0x4ebb3f(0x12d)][_0x4ebb3f(0x92)](_0xaaff7a,_0x54cec9);}}}
23
+ const _0x264939=_0x1a15;(function(_0xfb2a55,_0x2b6a71){const _0x360c6b=_0x1a15,_0x200016=_0xfb2a55();while(!![]){try{const _0x2bc5c4=parseInt(_0x360c6b(0x17b))/0x1*(parseInt(_0x360c6b(0x22c))/0x2)+-parseInt(_0x360c6b(0x218))/0x3+parseInt(_0x360c6b(0x18d))/0x4*(-parseInt(_0x360c6b(0x1d5))/0x5)+-parseInt(_0x360c6b(0x150))/0x6*(-parseInt(_0x360c6b(0x16f))/0x7)+parseInt(_0x360c6b(0x20f))/0x8+-parseInt(_0x360c6b(0x20d))/0x9*(parseInt(_0x360c6b(0x197))/0xa)+parseInt(_0x360c6b(0x1a1))/0xb*(-parseInt(_0x360c6b(0x229))/0xc);if(_0x2bc5c4===_0x2b6a71)break;else _0x200016['push'](_0x200016['shift']());}catch(_0x57a090){_0x200016['push'](_0x200016['shift']());}}}(_0x401c,0x79810));import{Plugin as _0x5b5b18,PendingActions as _0x5799d3}from'ckeditor5/src/core.js';import{CKEditorError as _0x64b15,version as _0x468f0c,uid as _0x1ec591}from'ckeditor5/src/utils.js';import{Notification as _0x30ebe8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xf51051,NoOperation as _0x1532fb,InsertOperation as _0x5601d8,MarkerOperation as _0x441a49,RootAttributeOperation as _0x57ed81,OperationFactory as _0xc3187a,History as _0x593fca}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2f1c69}from'./websocketgateway.js';import{Sessions as _0x18961c}from'./sessions.js';function _0x1a15(_0x3f8f48,_0x32ce40){const _0x401c23=_0x401c();return _0x1a15=function(_0x1a1542,_0x152210){_0x1a1542=_0x1a1542-0x12e;let _0x3c2274=_0x401c23[_0x1a1542];return _0x3c2274;},_0x1a15(_0x3f8f48,_0x32ce40);}import{UserMarkers as _0xece1bc}from'./usermarkers.js';import{getTranslation as _0x19f334}from'../common-translations.js';import{Compressor as _0x21887b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x15d6e7}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x447f0c,CollaborativeEditingService as _0xf1c7bc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x5b5b18{static [_0x264939(0x22b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xf1c7bc)());[_0x264939(0x178)];[_0x264939(0x21f)];[_0x264939(0x1fa)];[_0x264939(0x17e)];[_0x264939(0x210)];[_0x264939(0x230)];[_0x264939(0x199)];[_0x264939(0x1e1)];[_0x264939(0x21c)];[_0x264939(0x1af)];[_0x264939(0x216)];[_0x264939(0x174)];[_0x264939(0x193)];[_0x264939(0x1a7)];[_0x264939(0x166)];[_0x264939(0x1b3)];[_0x264939(0x1b9)];[_0x264939(0x1e7)];static get[_0x264939(0x1fb)](){return[_0x2f1c69,_0x18961c,_0xece1bc,_0x5799d3,_0x15d6e7,_0x30ebe8];}static get[_0x264939(0x16b)](){const _0x3388a8=_0x264939;return _0x3388a8(0x226);}static get[_0x264939(0x1e5)](){return!0x0;}static get[_0x264939(0x204)](){return!0x0;}get[_0x264939(0x1e4)](){const _0x369218=_0x264939;return this[_0x369218(0x138)]+this[_0x369218(0x178)];}get[_0x264939(0x138)](){const _0x222cb9=_0x264939;return this[_0x222cb9(0x1fa)][_0x222cb9(0x1b4)]-this[_0x222cb9(0x178)];}get[_0x264939(0x144)](){const _0x31c121=_0x264939,_0x3e7b4e=this[_0x31c121(0x1fa)][_0x31c121(0x16a)]();for(let _0x4b22e6=_0x3e7b4e[_0x31c121(0x18a)]-0x1;_0x4b22e6>=0x0;_0x4b22e6--){const _0x2f976d=_0x3e7b4e[_0x4b22e6];if(!this[_0x31c121(0x1b9)][_0x31c121(0x195)](_0x2f976d))return _0x2f976d[_0x31c121(0x185)]+0x1-this[_0x31c121(0x178)];}return 0x0;}constructor(_0x5296ce){const _0x195af6=_0x264939;if(super(_0x5296ce),this[_0x195af6(0x178)]=0x0,this[_0x195af6(0x21f)]=null,this[_0x195af6(0x1fa)]=new _0x593fca(),this[_0x195af6(0x22a)][_0x195af6(0x1b5)][_0x195af6(0x133)](_0x195af6(0x1d6),{}),this[_0x195af6(0x17e)]=this[_0x195af6(0x22a)][_0x195af6(0x1b5)][_0x195af6(0x19e)](_0x195af6(0x17c)),!this[_0x195af6(0x17e)])throw new _0x64b15(_0x195af6(0x223),this);const _0x493881=_0x5296ce[_0x195af6(0x1b5)][_0x195af6(0x19e)](_0x195af6(0x21a))||_0x468f0c;this[_0x195af6(0x210)]=new RealTimeCollaborationClient[(_0x195af6(0x22b))](_0x493881,this[_0x195af6(0x17e)]),this[_0x195af6(0x230)]=this[_0x195af6(0x22a)][_0x195af6(0x211)][_0x195af6(0x191)],this[_0x195af6(0x199)]=new _0x21887b(),this[_0x195af6(0x1e1)]=[],this[_0x195af6(0x21c)]=new WeakSet(),this[_0x195af6(0x1af)]=new Set(),this[_0x195af6(0x1f2)](_0x195af6(0x142),!0x1),this[_0x195af6(0x1f2)](_0x195af6(0x1dd),!0x1),this[_0x195af6(0x216)]=null,this[_0x195af6(0x174)]=!0x1,this[_0x195af6(0x193)]=null,this[_0x195af6(0x1a7)]=0x12c,this[_0x195af6(0x166)]=this[_0x195af6(0x1a7)],this[_0x195af6(0x1b3)]=null,this[_0x195af6(0x1b9)]=new WeakSet(),this[_0x195af6(0x1e7)]=new J(this[_0x195af6(0x1b9)]);}[_0x264939(0x234)](){const _0xefba2=_0x264939,_0x97d9ad=this[_0xefba2(0x22a)],_0x4b12c7=_0x97d9ad[_0xefba2(0x170)][_0xefba2(0x19e)](_0x15d6e7),_0x4f8b6d=_0x97d9ad[_0xefba2(0x170)][_0xefba2(0x19e)](_0x2f1c69);this[_0xefba2(0x1cb)](_0x4b12c7,_0xefba2(0x1bf),(_0x2b4f6c,_0x2e88d6)=>{const _0x3681c6=_0xefba2,_0x49a705=_0x2e88d6[0x0];_0x49a705[_0x3681c6(0x183)]&&(_0x2b4f6c[_0x3681c6(0x22f)]=_0x4b12c7[_0x3681c6(0x179)](_0x49a705[_0x3681c6(0x183)]),_0x2b4f6c[_0x3681c6(0x231)]()),null===_0x49a705[_0x3681c6(0x183)]&&(_0x2b4f6c[_0x3681c6(0x22f)]=null,_0x2b4f6c[_0x3681c6(0x231)]());},{'priority':_0xefba2(0x16e)}),this[_0xefba2(0x1cb)](_0x97d9ad[_0xefba2(0x211)][_0xefba2(0x191)][_0xefba2(0x145)],_0xefba2(0x157),(_0x1018f2,_0x26a77a)=>{const _0xce4852=_0xefba2;_0x26a77a[_0xce4852(0x186)]&&this[_0xce4852(0x177)]();}),this[_0xefba2(0x1cb)](_0x97d9ad[_0xefba2(0x15f)][_0xefba2(0x1c3)],_0xefba2(0x1fc),()=>{const _0xa20a73=_0xefba2;this[_0xa20a73(0x177)]();}),this[_0xefba2(0x151)](),_0x97d9ad[_0xefba2(0x211)]['on'](_0xefba2(0x1f5),(_0x58fae6,_0x2d7613)=>{const _0x2e5e45=_0xefba2,_0x535814=_0x2d7613[0x0];_0x535814[_0x2e5e45(0x136)]&&(this[_0x2e5e45(0x1d3)](_0x535814),this[_0x2e5e45(0x219)]()&&this[_0x2e5e45(0x22d)]());}),this[_0xefba2(0x188)](),this[_0xefba2(0x19d)](_0xefba2(0x162))['to'](_0x4f8b6d,_0xefba2(0x14e),this,_0xefba2(0x1dd),(_0x5a9969,_0x5021ff)=>_0xefba2(0x1a2)===_0x5a9969&&!_0x5021ff),this['on'](_0xefba2(0x172),()=>{const _0x26cf61=_0xefba2;this[_0x26cf61(0x162)]?_0x97d9ad[_0x26cf61(0x140)](_0x26cf61(0x220)):_0x97d9ad[_0x26cf61(0x15e)](_0x26cf61(0x220));}),this[_0xefba2(0x162)]?_0x97d9ad[_0xefba2(0x140)](_0xefba2(0x220)):_0x97d9ad[_0xefba2(0x15e)](_0xefba2(0x220)),this[_0xefba2(0x1f2)](_0xefba2(0x212),!0x1);}async[_0x264939(0x1d4)](){const _0x333fc8=_0x264939,_0x2dcb66=this[_0x333fc8(0x22a)][_0x333fc8(0x170)][_0x333fc8(0x19e)](_0x18961c),_0xdef38b=this[_0x333fc8(0x22a)][_0x333fc8(0x170)][_0x333fc8(0x19e)](_0x2f1c69);try{this[_0x333fc8(0x142)]=!0x0,_0x2dcb66[_0x333fc8(0x16c)](this[_0x333fc8(0x17e)]);const _0x1e5b51=await this[_0x333fc8(0x210)][_0x333fc8(0x1d4)](_0xdef38b[_0x333fc8(0x14b)],this[_0x333fc8(0x144)]);await this[_0x333fc8(0x141)](_0x1e5b51)&&(this[_0x333fc8(0x142)]=!0x1,this[_0x333fc8(0x20b)]());const _0x2ad6c7=await this[_0x333fc8(0x210)][_0x333fc8(0x135)]();_0x2dcb66[_0x333fc8(0x1c7)](this[_0x333fc8(0x17e)],_0x2ad6c7),this[_0x333fc8(0x19a)](),this[_0x333fc8(0x212)]=!0x0;}catch(_0x3d6c53){if(function(_0x1d5977){const _0xecdf66=_0x333fc8;return _0xecdf66(0x228)===_0x1d5977[_0xecdf66(0x1ae)];}(_0x3d6c53)&&this[_0x333fc8(0x21f)])await this[_0x333fc8(0x203)]();else{if(function(_0x4c7ece){const _0x3044f0=_0x333fc8;return _0x3044f0(0x21b)===_0x4c7ece[_0x3044f0(0x1ae)];}(_0x3d6c53)){const _0x2c421e=_0x19f334(this[_0x333fc8(0x22a)][_0x333fc8(0x152)],_0x333fc8(0x14c));this[_0x333fc8(0x213)](_0x2c421e);}else{if(!(_0x3d6c53 instanceof $))throw _0x3d6c53;this[_0x333fc8(0x213)]();}}}}[_0x264939(0x1f4)](){const _0x2cd0a4=_0x264939,_0x47c689=this[_0x2cd0a4(0x22a)][_0x2cd0a4(0x170)][_0x2cd0a4(0x19e)](_0x2f1c69),_0x1d8a43=this[_0x2cd0a4(0x22a)][_0x2cd0a4(0x170)][_0x2cd0a4(0x19e)](_0x18961c);this[_0x2cd0a4(0x22a)][_0x2cd0a4(0x15e)](_0x2cd0a4(0x1bc)),_0x1d8a43[_0x2cd0a4(0x148)][_0x2cd0a4(0x195)](this[_0x2cd0a4(0x17e)])&&_0x1d8a43[_0x2cd0a4(0x16c)](this[_0x2cd0a4(0x17e)]),_0x47c689[_0x2cd0a4(0x1e3)](this),this[_0x2cd0a4(0x21d)](),super[_0x2cd0a4(0x1f4)]();}async[_0x264939(0x141)](_0x5e8b5f){const _0x223d76=_0x264939;if(this[_0x223d76(0x21f)]!==_0x5e8b5f[_0x223d76(0x21f)]&&this[_0x223d76(0x1b3)]!==_0x5e8b5f[_0x223d76(0x1ef)])throw new $();return this[_0x223d76(0x21f)]=_0x5e8b5f[_0x223d76(0x21f)],this[_0x223d76(0x20a)]([],{..._0x5e8b5f,'wereChangesApplied':!0x1,'data':_0x5e8b5f[_0x223d76(0x139)]},_0x223d76(0x1d4));}async[_0x264939(0x1ac)](_0x2a37f4,_0x1f2b8c=!0x1){const _0x980a42=_0x264939,{connection:_0x5b7622}=this[_0x980a42(0x22a)][_0x980a42(0x170)][_0x980a42(0x19e)](_0x2f1c69);RealTimeCollaborationClient[_0x980a42(0x22b)][_0x980a42(0x135)](_0x5b7622,this[_0x980a42(0x17e)])[_0x980a42(0x1d2)](_0x8123f7=>this[_0x980a42(0x13e)](_0x8123f7))[_0x980a42(0x1a9)](_0x344e60=>{const _0x592351=_0x980a42;this[_0x592351(0x12f)](_0x592351(0x176),_0x344e60);}),this[_0x980a42(0x1cb)](this[_0x980a42(0x210)],_0x980a42(0x1b8),this[_0x980a42(0x1e0)][_0x980a42(0x19d)](this)),this[_0x980a42(0x1cb)](this[_0x980a42(0x210)],_0x980a42(0x1be),(_0xff1456,_0x96ede5)=>{const _0x12a8ba=_0x980a42;this[_0x12a8ba(0x12f)](_0x12a8ba(0x20e),_0x96ede5);}),this[_0x980a42(0x1cb)](this[_0x980a42(0x210)],_0x980a42(0x207),()=>{const _0x43ebb0=_0x980a42;this[_0x43ebb0(0x212)]=!0x1;});const _0x52c199=this[_0x980a42(0x1e7)][_0x980a42(0x1f0)](_0x2a37f4);this[_0x980a42(0x142)]=!0x0;const _0x5e0f4b=await this[_0x980a42(0x210)][_0x980a42(0x1f9)](_0x5b7622,this[_0x980a42(0x169)](_0x2a37f4),_0x52c199);if(this[_0x980a42(0x21f)]=_0x5e0f4b[_0x980a42(0x21f)],_0x1f2b8c){if(!_0x5e0f4b[_0x980a42(0x17a)])return void this[_0x980a42(0x213)]();this[_0x980a42(0x142)]=!0x1,this[_0x980a42(0x20b)](),this[_0x980a42(0x1fa)][_0x980a42(0x1cd)](),this[_0x980a42(0x178)]=_0x5e0f4b[_0x980a42(0x1ff)],this[_0x980a42(0x1fa)][_0x980a42(0x1b4)]=this[_0x980a42(0x178)],await this[_0x980a42(0x20a)](_0x2a37f4,_0x5e0f4b,_0x980a42(0x1cf));}else await this[_0x980a42(0x227)](_0x5e0f4b,_0x2a37f4);this[_0x980a42(0x19a)](),this[_0x980a42(0x212)]=!0x0;}[_0x264939(0x19a)](){const _0x2986a3=_0x264939,_0x38c389=this[_0x2986a3(0x22a)][_0x2986a3(0x170)][_0x2986a3(0x19e)](_0x18961c),_0x1f859d=this[_0x2986a3(0x22a)][_0x2986a3(0x170)][_0x2986a3(0x19e)](_0xece1bc),_0x2bcebd=_0x38c389[_0x2986a3(0x148)][_0x2986a3(0x19e)](this[_0x2986a3(0x17e)]);_0x2bcebd&&_0x2bcebd[_0x2986a3(0x18a)]>0x1?_0x1f859d[_0x2986a3(0x1b0)]():this[_0x2986a3(0x1cb)](_0x38c389,_0x2986a3(0x1ec)+this[_0x2986a3(0x17e)],()=>{const _0x51fd23=_0x2986a3;0x2===_0x38c389[_0x51fd23(0x148)][_0x51fd23(0x19e)](this[_0x51fd23(0x17e)])[_0x51fd23(0x18a)]&&_0x1f859d[_0x51fd23(0x1b0)]();});}async[_0x264939(0x1e0)](_0xa17107,_0x2820c6,_0x529401,_0x1d23c4){const _0x101ebd=_0x264939;if(!this[_0x101ebd(0x142)]&&this[_0x101ebd(0x230)][_0x101ebd(0x1b4)]==_0x2820c6){const _0x325cee=this[_0x101ebd(0x1ed)](_0x529401,_0x1d23c4);await this[_0x101ebd(0x1c6)](_0x325cee),this[_0x101ebd(0x1a5)](_0x325cee,_0x2820c6,_0x529401[_0x101ebd(0x1ef)])||this[_0x101ebd(0x12f)](_0x101ebd(0x181));}}async[_0x264939(0x203)](){const _0x299c89=_0x264939;this[_0x299c89(0x21d)]();const {locale:_0x3f0a0f}=this[_0x299c89(0x22a)];let _0x2f2c4e;try{_0x2f2c4e=await this[_0x299c89(0x210)][_0x299c89(0x233)]();}catch{const _0x5970f1=_0x19f334(_0x3f0a0f,_0x299c89(0x17d));return void this[_0x299c89(0x213)](_0x5970f1);}const _0x3e16d4=_0x2f2c4e[_0x299c89(0x13f)]||_0x2f2c4e[_0x299c89(0x134)];if(this[_0x299c89(0x1b3)]!==_0x3e16d4[_0x299c89(0x1ef)]){const _0x4e0cad=_0x19f334(_0x3f0a0f,_0x299c89(0x130));return void this[_0x299c89(0x213)](_0x4e0cad);}await this[_0x299c89(0x1ac)](this[_0x299c89(0x22a)][_0x299c89(0x211)][_0x299c89(0x191)][_0x299c89(0x1e8)][_0x299c89(0x16a)](),!0x0);}[_0x264939(0x21d)](){const _0xaf4928=_0x264939;this[_0xaf4928(0x210)][_0xaf4928(0x1cc)](),this[_0xaf4928(0x1e1)]=[],clearTimeout(this[_0xaf4928(0x193)]),this[_0xaf4928(0x205)](this[_0xaf4928(0x210)]);}[_0x264939(0x13e)](_0x21179f){const _0x383e7e=_0x264939,_0xebbb0a=this[_0x383e7e(0x22a)][_0x383e7e(0x170)][_0x383e7e(0x19e)](_0x18961c);this[_0x383e7e(0x1cb)](_0xebbb0a,_0x383e7e(0x1ec)+this[_0x383e7e(0x17e)],(_0x34da8c,{session:_0xd186b3})=>{const _0x2508f5=_0x383e7e;if(_0xd186b3['id']===_0xebbb0a[_0x2508f5(0x1b7)]){_0x34da8c[_0x2508f5(0x18e)]();const _0x493a48=this[_0x2508f5(0x22a)][_0x2508f5(0x170)][_0x2508f5(0x195)](_0x2508f5(0x209))&&this[_0x2508f5(0x22a)][_0x2508f5(0x170)][_0x2508f5(0x19e)](_0x2508f5(0x209));let _0x4db95e=_0xd186b3[_0x2508f5(0x1dc)];_0x493a48&&_0x493a48[_0x2508f5(0x189)]&&(_0x4db95e=_0x4db95e[_0x2508f5(0x224)](_0x53d62e=>_0x2508f5(0x131)!==_0x53d62e)),this[_0x2508f5(0x22a)][_0x2508f5(0x170)][_0x2508f5(0x19e)](_0x2508f5(0x155))[_0x2508f5(0x1db)](_0x4db95e,this[_0x2508f5(0x17e)]);}}),_0xebbb0a[_0x383e7e(0x1c7)](this[_0x383e7e(0x17e)],_0x21179f);}[_0x264939(0x151)](){const _0x3c3afd=_0x264939,_0x1bc669=this[_0x3c3afd(0x22a)][_0x3c3afd(0x139)][_0x3c3afd(0x1f2)];this[_0x3c3afd(0x22a)][_0x3c3afd(0x139)][_0x3c3afd(0x1f2)]=(..._0x1032cd)=>{const _0x5013c4=_0x3c3afd;if(!_0x1032cd[_0x1032cd[_0x5013c4(0x18a)]-0x1][_0x5013c4(0x1e6)])throw new _0x64b15(_0x5013c4(0x1fe),this);_0x1bc669[_0x5013c4(0x194)](this[_0x5013c4(0x22a)][_0x5013c4(0x139)],_0x1032cd);};}[_0x264939(0x188)](){const _0xd8653f=_0x264939;this[_0xd8653f(0x22a)][_0xd8653f(0x139)]['on'](_0xd8653f(0x234),(_0x48913f,[_0x3eb4af])=>{const _0x2cf248=_0xd8653f;if(this[_0x2cf248(0x230)][_0x2cf248(0x1b4)])throw new _0x64b15(_0x2cf248(0x206),this);_0x48913f[_0x2cf248(0x231)](),this[_0x2cf248(0x1ad)]();const _0x3d9545=this[_0x2cf248(0x22a)][_0x2cf248(0x1b5)][_0x2cf248(0x19e)](_0x2cf248(0x1a3)),_0x599764=this[_0x2cf248(0x1aa)](_0x3eb4af,_0x3d9545);0x0==_0x599764[_0x2cf248(0x18a)]&&_0x599764[_0x2cf248(0x1f8)](new _0x1532fb(0x0)),_0x48913f[_0x2cf248(0x22f)]=this[_0x2cf248(0x1ac)](_0x599764)[_0x2cf248(0x1d2)](()=>{const _0x1b56fe=_0x2cf248;this[_0x1b56fe(0x22a)][_0x1b56fe(0x170)][_0x1b56fe(0x19e)](_0x2f1c69)[_0x1b56fe(0x161)](this),this[_0x1b56fe(0x22a)][_0x1b56fe(0x139)][_0x1b56fe(0x15d)](_0x1b56fe(0x1bd));})[_0x2cf248(0x1a9)](_0x13b586=>this[_0x2cf248(0x12f)](_0x2cf248(0x214),_0x13b586))[_0x2cf248(0x1a8)](()=>this[_0x2cf248(0x20b)]());},{'priority':_0xd8653f(0x16e)}),this[_0xd8653f(0x22a)]['on'](_0xd8653f(0x15c),async(_0x13578e,[_0x313613,_0x4a20c3])=>{const _0x35576f=_0xd8653f;_0x13578e[_0x35576f(0x231)]();const _0x2da626=this[_0x35576f(0x22a)][_0x35576f(0x211)][_0x35576f(0x191)][_0x35576f(0x184)](_0x313613);if(!this[_0x35576f(0x1af)][_0x35576f(0x195)](_0x313613)){const _0x39a5e2=_0x4a20c3&&_0x4a20c3[_0x35576f(0x139)]?_0x4a20c3[_0x35576f(0x139)]:'',_0x1b8cce=_0x4a20c3&&_0x4a20c3[_0x35576f(0x19f)]?_0x4a20c3[_0x35576f(0x19f)]:{};await this[_0x35576f(0x1c5)](_0x313613,_0x39a5e2,_0x1b8cce);}this[_0x35576f(0x22a)][_0x35576f(0x211)][_0x35576f(0x1e9)]({'isUndoable':!0x1},()=>{const _0x4a9422=_0x35576f;_0x2da626[_0x4a9422(0x200)]=!0x0,this[_0x4a9422(0x22a)][_0x4a9422(0x211)][_0x4a9422(0x191)][_0x4a9422(0x1fd)][_0x4a9422(0x132)](_0x2da626);});},{'priority':_0xd8653f(0x16e)});}async[_0x264939(0x1c6)](_0x148bee){const _0x151adc=_0x264939,_0x19a5d4=this[_0x151adc(0x22a)][_0x151adc(0x170)][_0x151adc(0x19e)](_0x15d6e7),{connection:_0xd23802}=this[_0x151adc(0x22a)][_0x151adc(0x170)][_0x151adc(0x19e)](_0x2f1c69),_0x52771b=new Set();for(const _0x18c0f7 of _0x148bee){const _0x2379c5=_0x18c0f7[_0x151adc(0x183)];_0x2379c5&&!_0x19a5d4[_0x151adc(0x179)](_0x2379c5)&&_0x52771b[_0x151adc(0x232)](_0x2379c5);}if(0x0===_0x52771b[_0x151adc(0x221)])return;const _0x3d694d=await _0x447f0c[_0x151adc(0x198)](_0xd23802,Array[_0x151adc(0x18b)](_0x52771b));for(const _0x334499 of _0x3d694d)_0x19a5d4[_0x151adc(0x179)](_0x334499['id'])||_0x19a5d4[_0x151adc(0x154)](_0x334499);}[_0x264939(0x1aa)](_0x1a1da1,_0x3d2492={}){const _0x5214bc=_0x264939,_0x115006=this[_0x5214bc(0x22a)][_0x5214bc(0x211)],_0x537451=[];let _0x3bf040=0x0;const _0x24f0bd=_0x5214bc(0x1b1)==typeof _0x1a1da1?{'main':_0x1a1da1}:_0x1a1da1;for(const _0x23fadd of Object[_0x5214bc(0x1c9)](_0x24f0bd)){if(!this[_0x5214bc(0x230)][_0x5214bc(0x215)][_0x5214bc(0x195)](_0x23fadd))throw new _0x64b15(_0x5214bc(0x187),this);const _0x43129b=this[_0x5214bc(0x22a)][_0x5214bc(0x139)][_0x5214bc(0x1df)](_0x24f0bd[_0x23fadd]),_0x3496db=this[_0x5214bc(0x230)][_0x5214bc(0x184)](_0x23fadd),_0x3bf17f=new _0x5601d8(_0x115006[_0x5214bc(0x208)](_0x3496db,0x0),_0x43129b,_0x3bf040++);_0x537451[_0x5214bc(0x1f8)](_0x3bf17f);for(const [_0x5a05e4,_0x971a3]of _0x43129b[_0x5214bc(0x146)]){const _0x1094bc=_0x115006[_0x5214bc(0x190)](_0x115006[_0x5214bc(0x1eb)](_0x3496db,_0x971a3[_0x5214bc(0x175)][_0x5214bc(0x21e)][_0x5214bc(0x14d)]()),_0x115006[_0x5214bc(0x1eb)](_0x3496db,_0x971a3[_0x5214bc(0x1d0)][_0x5214bc(0x21e)][_0x5214bc(0x14d)]())),_0x2e2baf=new _0x441a49(_0x5a05e4,null,_0x1094bc,_0x115006[_0x5214bc(0x146)],!0x0,_0x3bf040++);_0x537451[_0x5214bc(0x1f8)](_0x2e2baf);}}if(_0x3d2492)for(const [_0x361b92,_0x4d01dc]of Object[_0x5214bc(0x1c1)](_0x3d2492)){const _0x2f4a06=_0x115006[_0x5214bc(0x191)][_0x5214bc(0x184)](_0x361b92);if(!_0x2f4a06)throw new _0x64b15(_0x5214bc(0x168),null);for(const [_0x1a58f0,_0x554de3]of Object[_0x5214bc(0x1c1)](_0x4d01dc))if(null!==_0x554de3){const _0x30e6e9=new _0x57ed81(_0x2f4a06,_0x1a58f0,null,_0x554de3,_0x3bf040++);_0x537451[_0x5214bc(0x1f8)](_0x30e6e9);}}return _0x537451;}async[_0x264939(0x1c5)](_0x5079dc,_0x1e9529,_0x289412){const _0x5918c4=_0x264939;this[_0x5918c4(0x1aa)]({[_0x5079dc]:_0x1e9529},{[_0x5079dc]:_0x289412})[_0x5918c4(0x1d7)]((_0x1555ea,_0x2b1461)=>{const _0xfaf187=_0x5918c4;_0x1555ea[_0xfaf187(0x185)]=this[_0xfaf187(0x230)][_0xfaf187(0x1b4)]+_0x2b1461,_0x1555ea[_0xfaf187(0x15b)]=!0x0,this[_0xfaf187(0x1d3)](_0x1555ea);}),this[_0x5918c4(0x22d)](),await this[_0x5918c4(0x192)]();}async[_0x264939(0x227)](_0x1ce7de,_0x3a5e20){const _0x12994e=_0x264939;let _0x94ad5;this[_0x12994e(0x178)]=_0x1ce7de[_0x12994e(0x1ff)];const _0x3bfdfc=_0x1ce7de[_0x12994e(0x17a)]&&!_0x1ce7de[_0x12994e(0x1bb)],_0x540b4c=_0x3bfdfc?0x0:_0x1ce7de[_0x12994e(0x139)][_0x12994e(0x185)];if(_0x3a5e20[_0x12994e(0x1d7)](_0x487159=>{const _0x1b8bd0=_0x12994e;_0x487159[_0x1b8bd0(0x15b)]=!0x0,_0x487159[_0x1b8bd0(0x19b)]=_0x1ce7de[_0x1b8bd0(0x1ab)],_0x487159[_0x1b8bd0(0x183)]=null;}),_0x3bfdfc)_0x94ad5=_0x3a5e20,this[_0x12994e(0x1d9)](_0x94ad5,_0x3bfdfc);else{if(_0x1ce7de[_0x12994e(0x1bb)]){const _0x18bad6=this[_0x12994e(0x1aa)](_0x1ce7de[_0x12994e(0x1bb)]);this[_0x12994e(0x230)][_0x12994e(0x1e8)][_0x12994e(0x1b4)]=-_0x18bad6[_0x12994e(0x18a)],_0x18bad6[_0x12994e(0x1d7)](_0xe3f351=>{const _0x369e7b=_0x12994e;_0xe3f351[_0x369e7b(0x185)]-=_0x18bad6[_0x369e7b(0x18a)],_0xe3f351[_0x369e7b(0x19b)]=_0x1ce7de[_0x369e7b(0x1ab)],_0xe3f351[_0x369e7b(0x15b)]=!0x0,_0xe3f351[_0x369e7b(0x183)]=null;}),this[_0x12994e(0x1d9)](_0x18bad6,!0x0),this[_0x12994e(0x1fa)][_0x12994e(0x1b4)]=-_0x18bad6[_0x12994e(0x18a)]+this[_0x12994e(0x178)],this[_0x12994e(0x18f)](_0x18bad6);}this[_0x12994e(0x230)][_0x12994e(0x1e8)][_0x12994e(0x1b4)]=_0x540b4c,_0x94ad5=this[_0x12994e(0x1ed)](_0x1ce7de[_0x12994e(0x139)],_0x1ce7de[_0x12994e(0x165)]),await this[_0x12994e(0x1c6)](_0x94ad5),this[_0x12994e(0x1d9)](_0x94ad5,_0x3bfdfc);}_0x1ce7de[_0x12994e(0x1ef)]&&(this[_0x12994e(0x1e7)][_0x12994e(0x1c4)](_0x94ad5,_0x1ce7de[_0x12994e(0x1ef)]),this[_0x12994e(0x1b3)]=_0x1ce7de[_0x12994e(0x1ef)]),this[_0x12994e(0x1fa)][_0x12994e(0x1b4)]=_0x540b4c+this[_0x12994e(0x178)],this[_0x12994e(0x18f)](_0x94ad5),_0x3a5e20[_0x12994e(0x224)](_0x38a6f2=>{const _0x59c3c3=_0x12994e,_0x3b57a8=this[_0x59c3c3(0x202)](_0x38a6f2);return _0x3b57a8&&!this[_0x59c3c3(0x1af)][_0x59c3c3(0x195)](_0x3b57a8);})[_0x12994e(0x1d7)]((_0x392ec0,_0x1f8993)=>{const _0x553372=_0x12994e;_0x392ec0[_0x553372(0x185)]=this[_0x553372(0x230)][_0x553372(0x1b4)]+_0x1f8993,this[_0x553372(0x1d3)](_0x392ec0);}),this[_0x12994e(0x219)]()?(this[_0x12994e(0x166)]=0x0,this[_0x12994e(0x22d)](!0x0),await this[_0x12994e(0x192)]()):(this[_0x12994e(0x142)]=!0x1,this[_0x12994e(0x20b)]());}[_0x264939(0x12f)](_0x18412a,_0x3b8914){const _0x40746b=_0x264939,_0x56ee36=_0x3b8914&&_0x3b8914[_0x40746b(0x1f7)];if(_0x56ee36&&_0x56ee36[_0x40746b(0x1e2)](_0x40746b(0x1b2)))throw _0x3b8914;const _0x1db739=this[_0x40746b(0x22a)][_0x40746b(0x170)][_0x40746b(0x19e)](_0x2f1c69);throw this[_0x40746b(0x142)]=!0x0,_0x1db739[_0x40746b(0x1cc)](),this[_0x40746b(0x22a)][_0x40746b(0x15e)](_0x40746b(0x13a)),new _0x64b15(_0x18412a,this[_0x40746b(0x22a)],_0x56ee36?{'originalError':_0x56ee36}:void 0x0);}[_0x264939(0x1d3)](_0x4559be){const _0x2edb51=_0x264939;this[_0x2edb51(0x21c)][_0x2edb51(0x195)](_0x4559be)||(this[_0x2edb51(0x21c)][_0x2edb51(0x232)](_0x4559be),this[_0x2edb51(0x1e1)][_0x2edb51(0x1f8)](_0x4559be),this[_0x2edb51(0x216)]||_0x2edb51(0x15a)==_0x4559be[_0x2edb51(0x1a4)]&&!_0x4559be[_0x2edb51(0x160)]||this[_0x2edb51(0x1ad)]());}[_0x264939(0x22d)](_0x531c57=!0x1){const _0x1b8134=_0x264939;!_0x531c57&&this[_0x1b8134(0x142)]||(this[_0x1b8134(0x142)]=!0x0,clearTimeout(this[_0x1b8134(0x193)]),this[_0x1b8134(0x193)]=setTimeout(()=>{const _0x508935=_0x1b8134;this[_0x508935(0x1de)]()[_0x508935(0x1d2)](_0x230b49=>{const _0x5a38db=_0x508935;_0x230b49&&(this[_0x5a38db(0x20b)](),this[_0x5a38db(0x142)]=!0x1);})[_0x508935(0x1a9)](_0x3470e3=>{const _0x114f56=_0x508935;this[_0x114f56(0x20b)](),this[_0x114f56(0x142)]=!0x1,function(_0x1cb444){const _0x3053f4=_0x114f56;return _0x1cb444[_0x3053f4(0x1f7)][_0x3053f4(0x1e2)](_0x3053f4(0x182))||_0x1cb444[_0x3053f4(0x1f7)][_0x3053f4(0x1e2)](_0x3053f4(0x1b6))||_0x1cb444[_0x3053f4(0x1f7)][_0x3053f4(0x1e2)](_0x3053f4(0x1ba));}(_0x3470e3)||this[_0x114f56(0x12f)](_0x3470e3[_0x114f56(0x1f7)],_0x3470e3);});},this[_0x1b8134(0x166)]));}[_0x264939(0x192)](){return new Promise(_0x211deb=>{const _0x541516=_0x1a15;this['on'](_0x541516(0x1d1),()=>{_0x211deb();});});}async[_0x264939(0x1de)](){const _0x167fd6=_0x264939,_0x118c30=this[_0x167fd6(0x22a)][_0x167fd6(0x170)][_0x167fd6(0x19e)](_0xece1bc);if(this[_0x167fd6(0x171)]()&&(_0x118c30[_0x167fd6(0x1b0)](),this[_0x167fd6(0x174)]=!0x1),!this[_0x167fd6(0x219)]())return!0x0;const _0x511c4d=[...this[_0x167fd6(0x1e1)]];for(const _0x4a8ba0 of _0x511c4d)_0x4a8ba0[_0x167fd6(0x1c8)]=this[_0x167fd6(0x230)][_0x167fd6(0x1e8)][_0x167fd6(0x164)](_0x4a8ba0);const _0x4397d5=this[_0x167fd6(0x1e7)][_0x167fd6(0x1f0)](_0x511c4d),_0x16c1c3=G++,_0x2c37bd=this[_0x167fd6(0x169)](_0x511c4d),_0x382289=await this[_0x167fd6(0x210)][_0x167fd6(0x1f1)](_0x2c37bd,_0x2c37bd[_0x167fd6(0x185)],_0x4397d5);try{return await this[_0x167fd6(0x20a)](_0x511c4d,_0x382289,_0x16c1c3);}catch(_0x1667b7){return this[_0x167fd6(0x12f)](_0x167fd6(0x20c),_0x1667b7);}}async[_0x264939(0x20a)](_0x382cb8,_0x4b1bdb,_0x466eb5){const _0x5d66db=_0x264939;if(_0x5d66db(0x1be)in _0x4b1bdb)throw _0x4b1bdb[_0x5d66db(0x1be)];let _0x139943=!0x1;if(_0x4b1bdb[_0x5d66db(0x17a)]){_0x4b1bdb[_0x5d66db(0x1ef)]&&(this[_0x5d66db(0x1b3)]=_0x4b1bdb[_0x5d66db(0x1ef)]),this[_0x5d66db(0x1e1)]=this[_0x5d66db(0x1e1)][_0x5d66db(0x224)](_0x1ea17e=>!_0x382cb8[_0x5d66db(0x153)](_0x1ea17e));for(const _0x32330d of _0x382cb8)_0x32330d[_0x5d66db(0x19b)]=_0x5d66db(0x1a0)in _0x4b1bdb&&_0x4b1bdb[_0x5d66db(0x1a0)]||void 0x0;K(_0x382cb8,_0x4b1bdb[_0x5d66db(0x1b4)]-_0x382cb8[_0x5d66db(0x18a)]),this[_0x5d66db(0x18f)](_0x382cb8);const _0x4d1b9c=_0x382cb8[_0x5d66db(0x224)](_0x197178=>{const _0x5cc4c9=_0x5d66db;if(!_0x197178[_0x5cc4c9(0x15b)])return!0x1;const _0x7b6321=this[_0x5cc4c9(0x202)](_0x197178);return _0x7b6321&&!this[_0x5cc4c9(0x1af)][_0x5cc4c9(0x195)](_0x7b6321);});K(_0x4d1b9c,this[_0x5d66db(0x230)][_0x5d66db(0x1b4)]),this[_0x5d66db(0x1d9)](_0x4d1b9c),_0x139943=!0x0,this[_0x5d66db(0x166)]=this[_0x5d66db(0x1a7)];}else{const _0x1c67ca=this[_0x5d66db(0x1ed)](_0x4b1bdb[_0x5d66db(0x139)],_0x4b1bdb[_0x5d66db(0x165)])[_0x5d66db(0x224)](_0x3a3d44=>_0x3a3d44[_0x5d66db(0x185)]>=this[_0x5d66db(0x138)]);_0x1c67ca[_0x5d66db(0x1d7)](_0x5142d2=>this[_0x5d66db(0x217)](_0x5142d2)),this[_0x5d66db(0x1e1)]=this[_0x5d66db(0x1e1)][_0x5d66db(0x224)](_0x5cfe7b=>!_0x5cfe7b[_0x5d66db(0x15b)]||!this[_0x5d66db(0x1af)][_0x5d66db(0x195)](this[_0x5d66db(0x202)](_0x5cfe7b))),this[_0x5d66db(0x1e1)][_0x5d66db(0x18a)]&&K(this[_0x5d66db(0x1e1)],this[_0x5d66db(0x1e1)][0x0][_0x5d66db(0x185)]),await this[_0x5d66db(0x1c6)](_0x1c67ca),_0x139943=this[_0x5d66db(0x1a5)](_0x1c67ca,_0x4b1bdb[_0x5d66db(0x1b4)],_0x4b1bdb[_0x5d66db(0x1ef)]),this[_0x5d66db(0x166)]=Math[_0x5d66db(0x13b)](this[_0x5d66db(0x166)]/0x2);}return _0x139943?!this[_0x5d66db(0x219)]()||(this[_0x5d66db(0x22d)](!0x0),!0x1):this[_0x5d66db(0x12f)](_0x5d66db(0x1c0));}[_0x264939(0x1a5)](_0x526e1a,_0x33d194,_0x433193){const _0x2b7da8=_0x264939;try{const _0x524d26={'document':this[_0x2b7da8(0x230)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1ec04f,operationsB:_0x29faab,originalOperations:_0x10858a}=_0xf51051(_0x526e1a,this[_0x2b7da8(0x1e1)],_0x524d26);K(_0x1ec04f,this[_0x2b7da8(0x230)][_0x2b7da8(0x1b4)]),K(_0x29faab,_0x33d194);for(const _0x3019bd of _0x1ec04f){const _0x5def44=_0x10858a[_0x2b7da8(0x19e)](_0x3019bd);_0x3019bd[_0x2b7da8(0x183)]=_0x5def44?_0x5def44[_0x2b7da8(0x183)]:null;}_0x433193&&(this[_0x2b7da8(0x1e7)][_0x2b7da8(0x1c4)](_0x526e1a,_0x433193),this[_0x2b7da8(0x1b3)]=_0x433193),this[_0x2b7da8(0x1e1)]=[..._0x29faab],this[_0x2b7da8(0x1d9)](_0x1ec04f),this[_0x2b7da8(0x18f)](_0x526e1a);}catch(_0x3f677c){return console[_0x2b7da8(0x1be)](_0x3f677c),!0x1;}return!0x0;}[_0x264939(0x1d9)](_0x52c9ea,_0x1d7ed6=!0x1){const _0x1be496=_0x264939;this[_0x1be496(0x22a)][_0x1be496(0x211)][_0x1be496(0x1e9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x414b2b=>{const _0x71b039=_0x1be496;for(const _0xfd5a28 of _0x52c9ea)this[_0x71b039(0x21c)][_0x71b039(0x232)](_0xfd5a28),this[_0x71b039(0x217)](_0xfd5a28),_0x414b2b[_0x71b039(0x201)][_0x71b039(0x14a)](_0xfd5a28),this[_0x71b039(0x22a)][_0x71b039(0x211)][_0x71b039(0x1f5)](_0xfd5a28);});}[_0x264939(0x217)](_0x3e54f8){const _0x1ac439=_0x264939,_0x2f3dd5=this[_0x1ac439(0x202)](_0x3e54f8);_0x2f3dd5&&this[_0x1ac439(0x1af)][_0x1ac439(0x232)](_0x2f3dd5);}[_0x264939(0x202)](_0x32e834){const _0x3e4150=_0x264939;let _0x5a8dcd,_0x159572;switch(_0x32e834[_0x3e4150(0x1a4)]){case _0x3e4150(0x163):_0x5a8dcd=_0x32e834[_0x3e4150(0x147)][_0x3e4150(0x13d)];break;case _0x3e4150(0x15a):if(_0x159572=_0x32e834[_0x3e4150(0x17f)],!_0x159572)return null;_0x5a8dcd=_0x159572[_0x3e4150(0x13d)];break;case _0x3e4150(0x159):_0x5a8dcd=_0x32e834[_0x3e4150(0x13d)];break;case _0x3e4150(0x225):_0x5a8dcd=_0x32e834[_0x3e4150(0x1ee)];break;case _0x3e4150(0x149):_0x5a8dcd=_0x32e834[_0x3e4150(0x1a6)][_0x3e4150(0x13d)];break;default:return null;}return _0x5a8dcd[_0x3e4150(0x13c)];}[_0x264939(0x18f)](_0x575f54){const _0xb18993=_0x264939;_0x575f54[_0xb18993(0x1d7)](_0x4a8f64=>{const _0x5474be=_0xb18993,_0x5d7658=_0x4a8f64[_0x5474be(0x1ca)]();_0x5d7658[_0x5474be(0x183)]=_0x4a8f64[_0x5474be(0x183)],_0x5d7658[_0x5474be(0x15b)]=!!_0x4a8f64[_0x5474be(0x15b)],_0x5d7658[_0x5474be(0x19b)]=_0x4a8f64[_0x5474be(0x19b)],_0x5d7658[_0x5474be(0x185)]+=this[_0x5474be(0x178)],_0x4a8f64[_0x5474be(0x1f6)]&&this[_0x5474be(0x1b9)][_0x5474be(0x232)](_0x5d7658),this[_0x5474be(0x1fa)][_0x5474be(0x14a)](_0x5d7658);});}[_0x264939(0x213)](_0x1c6923){const _0x3be52d=_0x264939,_0x3acfaa=this[_0x3be52d(0x22a)][_0x3be52d(0x170)][_0x3be52d(0x19e)](_0x3be52d(0x222)),_0x361c59=this[_0x3be52d(0x22a)][_0x3be52d(0x152)];_0x1c6923||(_0x1c6923=_0x19f334(_0x361c59,_0x3be52d(0x1ce))),_0x3acfaa[_0x3be52d(0x22e)](_0x1c6923,{'title':_0x19f334(_0x361c59,_0x3be52d(0x1d8)),'namespace':_0x3be52d(0x137)}),this[_0x3be52d(0x1dd)]=!0x0,clearTimeout(this[_0x3be52d(0x193)]),this[_0x3be52d(0x1e1)]=[],this[_0x3be52d(0x22a)][_0x3be52d(0x170)][_0x3be52d(0x19e)](_0x2f1c69)[_0x3be52d(0x1cc)]();}[_0x264939(0x1ad)](){const _0x67ed7c=_0x264939;this[_0x67ed7c(0x216)]||(this[_0x67ed7c(0x216)]=this[_0x67ed7c(0x22a)][_0x67ed7c(0x170)][_0x67ed7c(0x19e)](_0x5799d3)[_0x67ed7c(0x232)](_0x19f334(this[_0x67ed7c(0x22a)][_0x67ed7c(0x152)],_0x67ed7c(0x1c2))));}[_0x264939(0x20b)](){const _0xb1051=_0x264939;this[_0xb1051(0x216)]&&(this[_0xb1051(0x22a)][_0xb1051(0x170)][_0xb1051(0x19e)](_0x5799d3)[_0xb1051(0x18c)](this[_0xb1051(0x216)]),this[_0xb1051(0x216)]=null);}[_0x264939(0x169)](_0x4f4392){const _0x4039f7=_0x264939,_0x3adc19=_0x4f4392[_0x4039f7(0x196)](_0x679c3e=>_0x679c3e[_0x4039f7(0x167)]());return this[_0x4039f7(0x199)][_0x4039f7(0x1f3)](_0x3adc19);}[_0x264939(0x1ed)](_0x1c4b39,_0x119cb1){const _0x6e07f3=_0x264939;return this[_0x6e07f3(0x199)][_0x6e07f3(0x16d)](_0x1c4b39)[_0x6e07f3(0x196)]((_0x46cd6e,_0xb672b5)=>{const _0xa19d7d=_0x6e07f3,_0x3c206d=_0xa19d7d(0x234)==_0x119cb1[_0xb672b5][_0xa19d7d(0x1a4)];if(_0xa19d7d(0x1da)==_0x46cd6e[_0xa19d7d(0x1ea)]){const _0x27f1e6=_0x46cd6e[_0xa19d7d(0x147)][_0xa19d7d(0x13d)];!this[_0xa19d7d(0x230)][_0xa19d7d(0x184)](_0x27f1e6)&&(this[_0xa19d7d(0x230)][_0xa19d7d(0x143)](_0xa19d7d(0x19c),_0x27f1e6)[_0xa19d7d(0x173)]=!0x1);}const _0x3f503e=_0xc3187a[_0xa19d7d(0x156)](_0x46cd6e,this[_0xa19d7d(0x230)]);return _0x3f503e[_0xa19d7d(0x1c8)]=_0x46cd6e[_0xa19d7d(0x1c8)],_0x3f503e[_0xa19d7d(0x15b)]=_0x3c206d,_0x3f503e[_0xa19d7d(0x183)]=_0x3c206d?null:_0x119cb1[_0xb672b5][_0xa19d7d(0x180)],_0x3f503e[_0xa19d7d(0x1f6)]=_0xa19d7d(0x12e)===_0x119cb1[_0xb672b5][_0xa19d7d(0x1a4)],_0x3f503e[_0xa19d7d(0x19b)]=_0x119cb1[_0xb672b5][_0xa19d7d(0x19b)],_0x3f503e;});}[_0x264939(0x177)](){const _0x5a5914=_0x264939;this[_0x5a5914(0x174)]=!0x0,this[_0x5a5914(0x171)]()?this[_0x5a5914(0x22d)]():this[_0x5a5914(0x174)]=!0x1;}[_0x264939(0x171)](){const _0x34446e=_0x264939,_0x2b43f6=this[_0x34446e(0x22a)][_0x34446e(0x170)][_0x34446e(0x19e)](_0x18961c)[_0x34446e(0x148)][_0x34446e(0x19e)](this[_0x34446e(0x17e)]);return!this[_0x34446e(0x22a)][_0x34446e(0x235)]&&!!_0x2b43f6&&_0x2b43f6[_0x34446e(0x18a)]>0x1&&this[_0x34446e(0x174)];}[_0x264939(0x219)](){const _0x90eb60=_0x264939;return this[_0x90eb60(0x1e1)][_0x90eb60(0x18a)]>0x0||this[_0x90eb60(0x171)]();}}class $ extends Error{}function K(_0x294796,_0x2739b0){const _0x2b4669=_0x264939;for(const _0x255c9a of _0x294796)_0x255c9a[_0x2b4669(0x185)]=_0x2739b0++;}class J{[_0x264939(0x14f)];[_0x264939(0x158)];constructor(_0x2ff305){const _0x42d94c=_0x264939;this[_0x42d94c(0x14f)]=_0x2ff305,this[_0x42d94c(0x158)]=new WeakMap();}[_0x264939(0x1f0)](_0x21d566){const _0x1e2784=_0x264939;let _0x1c5f9b=_0x21d566[_0x1e2784(0x18a)];for(;_0x1c5f9b--;){const _0x2a6b67=_0x21d566[_0x1c5f9b];if(!this[_0x1e2784(0x14f)][_0x1e2784(0x195)](_0x2a6b67)){if(!this[_0x1e2784(0x158)][_0x1e2784(0x195)](_0x2a6b67)){const _0x5d104c=_0x1ec591()[_0x1e2784(0x14d)](0x1,0x12);this[_0x1e2784(0x158)][_0x1e2784(0x1f2)](_0x2a6b67,_0x5d104c);}return this[_0x1e2784(0x158)][_0x1e2784(0x19e)](_0x2a6b67);}}}[_0x264939(0x1c4)](_0x509012,_0x30e0f8){const _0x3e80a2=_0x264939;if(!_0x30e0f8)return;let _0x447569=_0x509012[_0x3e80a2(0x18a)];for(;_0x447569--;){const _0x497bda=_0x509012[_0x447569];this[_0x3e80a2(0x14f)][_0x3e80a2(0x195)](_0x497bda)||this[_0x3e80a2(0x158)][_0x3e80a2(0x1f2)](_0x497bda,_0x30e0f8);}}}function _0x401c(){const _0xdff3e9=['permissions','_hasSynchronizationProblem','_sendBufferedOperations','parse','_handleReceivedOperations','_bufferedOperations','startsWith','removeFromReconnectionStack','cloudDocumentVersion','isOfficialPlugin','suppressErrorInCollaboration','_operationIdentifier','history','enqueueChange','__className','createPositionFromPath','sessionAdd:','_decompressOperations','affectedSelectable','lastOperationId','getIdOfTheLastOperation','sendOperations','set','compress','destroy','applyOperation','_isDisconnection','message','push','connect','serverHistory','requires','change:hasDomSelection','differ','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','offset','_isLoaded','batch','_getAffectedRoot','_connectAfterSessionHasBeenFlushed','isPremiumPlugin','stopListening','realtimecollaborationclient-init-document-already-initialized','disconnected','createPositionAt','CommentsOnly','_handleServerResponse','_clearPendingAction','realtimecollaborationclient-sendbufferedoperations','117poLvgA','realtimecollaborationclient-init-service-internal-error','3726464RSQeRx','_service','model','_isConnected','_handleReconnectionError','realtimecollaborationclient-init-connection-failed','roots','_pendingAction','_addKnownRoot','2771493jzqncq','_shouldSendUpdate','cloudServices.bundleVersion','409','_knownOperations','_disconnectService','path','sessionId','rtc-offline','size','Notification','collaboration-missing-channelid','filter','addRoot','RealTimeCollaborationClient','_handleInitialConnectionData','404','336DVkCam','editor','CollaborativeEditingService','430vQOrHM','_sendBufferedOperationsDelayed','showWarning','return','_document','stop','add','getDocumentDetails','init','isReadOnly','cs:removeUser','_crash','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.','document:write','_bufferRootLoad','define','lastDocumentSession','getConnectedSessions','isDocumentOperation','real-time-collaboration','_lastServerVersion','data','realtimecollaborationclient-error','round','rootName','root','_initSessionsHandling','currentDocumentSession','disableReadOnlyMode','_handleReconnectionResponse','_isPendingUpdate','createRoot','lastSyncVersion','selection','markers','position','channelSessions','move','addOperation','connection','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','slice','state','_ignoredOperations','6IZJBrt','_initThrowingOnDataSet','locale','includes','addUser','Permissions','fromJSON','change:range','_operationToId','addRootAttribute','marker','_isInit','loadRoot','fire','enableReadOnlyMode','editing','affectsData','addToReconnectionStack','_isEditingAllowed','insert','isUndoneOperation','metadata','_currentBufferDelay','toJSON','multi-root-editor-root-attributes-no-root','_compressOperations','getOperations','pluginName','unregister','decompress','high','4743956QJgOkO','plugins','_shouldSendSelectionUpdate','change:_isEditingAllowed','_isAttached','_hasSelectionChanged','start','realtimecollaborationclient-init-session-connection-error','_refreshUserSelectionMarkers','_offset','getUser','wereChangesApplied','3023pwDFQf','collaboration.channelId','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','newRange','userId','realtimecollaborationclient-init-service-incorrect-server-operation','cloud-services-internal-error:\x20Not\x20connected.','_authorId','getRoot','baseVersion','directChange','realtimecollaborationclient-init-non-existent-root','_setUpDataInit','isEnabled','length','from','remove','4XiHuUS','off','_updateServerHistory','createRange','document','_waitUntilSynced','_sendBufferedOperationsDelayId','apply','has','map','80650wpeHYK','getMany','_compressor','_handleSendingSelectionMarkers','createdAt','$root','bind','get','attributes','lastOperationAcceptedAt','93643bUXTds','connected','rootsAttributes','type','_handleExternalOperations','targetPosition','_baseBufferDelay','finally','catch','_getOperationsFromInitData','sessionCreatedAt','_connectService','_setPendingAction','code','_knownRootNames','createUserMarkerOperations','string','realtimecollaborationclient','_lastSyncedOperationId','version','config','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','mySessionId','operationsReceived','_disconnectionOperations','cloud-services-internal-error:\x20Request\x20timeout.','initData','rtc-destroyed','ready','error','getOperationAuthor','realtimecollaborationclient-handleserverresponse','entries','PENDING_ACTION_SENDING_DATA','view','setIdForTheLastOperation','_loadRoot','_fetchMissingUsers','register','wasUndone','keys','clone','listenTo','disconnect','reset','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.','reconnection:\x20flushed\x20session','end','change:_isPendingUpdate','then','_saveOperationInBuffer','reconnect','143705YJqygz','collaboration','forEach','Synchronization\x20issue','_applyOperationsSet','InsertOperation','setPermissions'];_0x401c=function(){return _0xdff3e9;};return _0x401c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10c694=_0x6342;(function(_0x2a8c15,_0x9ee7fb){const _0x282fd4=_0x6342,_0x70c4b8=_0x2a8c15();while(!![]){try{const _0x1b39bc=-parseInt(_0x282fd4(0x1f9))/0x1*(parseInt(_0x282fd4(0x1d7))/0x2)+-parseInt(_0x282fd4(0x1ee))/0x3*(-parseInt(_0x282fd4(0x1e9))/0x4)+parseInt(_0x282fd4(0x1f7))/0x5+parseInt(_0x282fd4(0x1fe))/0x6+parseInt(_0x282fd4(0x1e4))/0x7+parseInt(_0x282fd4(0x1ec))/0x8*(parseInt(_0x282fd4(0x1f1))/0x9)+parseInt(_0x282fd4(0x1ff))/0xa*(-parseInt(_0x282fd4(0x1e0))/0xb);if(_0x1b39bc===_0x9ee7fb)break;else _0x70c4b8['push'](_0x70c4b8['shift']());}catch(_0x3550ca){_0x70c4b8['push'](_0x70c4b8['shift']());}}}(_0x5efe,0x18bd8));import{ContextPlugin as _0x4b2d74}from'ckeditor5/src/core.js';import{Collection as _0x44db04,CKEditorError as _0x1bf6f8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3cf548}from'./websocketgateway.js';function _0x6342(_0x3ffab2,_0x5b72fc){const _0x5efe10=_0x5efe();return _0x6342=function(_0x634273,_0x202763){_0x634273=_0x634273-0x1c1;let _0x374f13=_0x5efe10[_0x634273];return _0x374f13;},_0x6342(_0x3ffab2,_0x5b72fc);}import{Users as _0x85de98}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x4b2d74{[_0x10c694(0x1e5)];[_0x10c694(0x1cd)];[_0x10c694(0x1e3)];[_0x10c694(0x1fb)];[_0x10c694(0x1df)];[_0x10c694(0x1c8)];static get[_0x10c694(0x1dd)](){const _0x8ebfd9=_0x10c694;return _0x8ebfd9(0x1fa);}static get[_0x10c694(0x1eb)](){return!0x0;}static get[_0x10c694(0x1f5)](){return!0x0;}static get[_0x10c694(0x1c4)](){return[_0x3cf548,_0x85de98];}constructor(_0x54b884){const _0x5e8d2e=_0x10c694;super(_0x54b884),this[_0x5e8d2e(0x1e5)]=new Map(),this[_0x5e8d2e(0x1cd)]=new Map(),this[_0x5e8d2e(0x1e3)]=new _0x44db04(),this[_0x5e8d2e(0x1fb)]=new Map(),this[_0x5e8d2e(0x1df)]=0x0,this[_0x5e8d2e(0x1c8)]=this[_0x5e8d2e(0x1fd)][_0x5e8d2e(0x1c3)][_0x5e8d2e(0x1e1)](_0x85de98);}[_0x10c694(0x1f2)](){const _0x57e202=_0x10c694,_0x40cbf7=this[_0x57e202(0x1fd)][_0x57e202(0x1c3)][_0x57e202(0x1e1)](_0x3cf548);this[_0x57e202(0x1cf)](_0x40cbf7,_0x57e202(0x1e8),(_0x3a646a,_0x5e63e6,_0x48f832)=>{const _0x110bac=_0x57e202;if(_0x110bac(0x1f6)!==_0x48f832)this[_0x110bac(0x1e5)][_0x110bac(0x1d8)](_0x1e10e4=>_0x1e10e4[_0x110bac(0x1cb)]()),this[_0x110bac(0x1cd)][_0x110bac(0x1d8)](_0x4086d9=>_0x4086d9[_0x110bac(0x1cb)]()),this[_0x110bac(0x1e3)][_0x110bac(0x1cb)]();else{for(const [_0x272590,_0x1e13b3]of this[_0x110bac(0x1fb)])for(const _0x44d237 of _0x1e13b3)this[_0x110bac(0x1c1)](_0x272590,_0x44d237);}}),this[_0x57e202(0x1c5)](_0x40cbf7[_0x57e202(0x1da)]['me'],!0x0);}[_0x10c694(0x1ce)](_0xb996ce,_0x44e8bd){const _0x437f4a=_0x10c694;if(this[_0x437f4a(0x1fb)][_0x437f4a(0x1c9)](_0xb996ce))throw new _0x1bf6f8(_0x437f4a(0x1dc),null,{'channelId':_0xb996ce});this[_0x437f4a(0x1fb)][_0x437f4a(0x1d6)](_0xb996ce,_0x44e8bd),this[_0x437f4a(0x1e5)][_0x437f4a(0x1d6)](_0xb996ce,new _0x44db04()),this[_0x437f4a(0x1cd)][_0x437f4a(0x1d6)](_0xb996ce,new _0x44db04()),this[_0x437f4a(0x1cf)](_0x44e8bd,_0x437f4a(0x1f8),(_0x557e21,_0x549505)=>this[_0x437f4a(0x1c1)](_0xb996ce,_0x549505)),this[_0x437f4a(0x1cf)](_0x44e8bd,_0x437f4a(0x1f3),(_0x56294b,_0x157ba6)=>this[_0x437f4a(0x1d5)](_0xb996ce,_0x157ba6));for(const _0x7ff3a0 of _0x44e8bd)this[_0x437f4a(0x1c1)](_0xb996ce,_0x7ff3a0);}[_0x10c694(0x1cc)](_0x508945){const _0x2474e5=_0x10c694;if(!this[_0x2474e5(0x1fb)][_0x2474e5(0x1c9)](_0x508945))throw new _0x1bf6f8(_0x2474e5(0x1d0),null,{'channelId':_0x508945});const _0x1223ff=this[_0x2474e5(0x1fb)][_0x2474e5(0x1e1)](_0x508945);this[_0x2474e5(0x1d2)](_0x1223ff);for(const _0x3829dd of _0x1223ff)_0x2474e5(0x1f6)===this[_0x2474e5(0x1fd)][_0x2474e5(0x1c3)][_0x2474e5(0x1e1)](_0x3cf548)[_0x2474e5(0x1d9)]&&this[_0x2474e5(0x1d5)](_0x508945,_0x3829dd);this[_0x2474e5(0x1fb)][_0x2474e5(0x1d1)](_0x508945),this[_0x2474e5(0x1e5)][_0x2474e5(0x1d1)](_0x508945),this[_0x2474e5(0x1cd)][_0x2474e5(0x1d1)](_0x508945);}get[_0x10c694(0x1de)](){const _0x4b46e6=_0x10c694;return this[_0x4b46e6(0x1fd)][_0x4b46e6(0x1c3)][_0x4b46e6(0x1e1)](_0x3cf548)[_0x4b46e6(0x1da)][_0x4b46e6(0x1c2)];}[_0x10c694(0x1fc)](_0x5cf68a){const _0x34c8f4=_0x10c694;for(const _0x4f6519 of this[_0x34c8f4(0x1e5)][_0x34c8f4(0x1c7)]())for(const _0x1e3dfb of _0x4f6519)if(_0x1e3dfb['id']===_0x5cf68a)return _0x1e3dfb[_0x34c8f4(0x1d4)];}[_0x10c694(0x1db)](_0x3d19ae,_0x4c40c0){const _0x34f781=_0x10c694,_0x4453c6=_0x4c40c0?[this[_0x34f781(0x1e5)][_0x34f781(0x1e1)](_0x4c40c0)]:this[_0x34f781(0x1e5)][_0x34f781(0x1c7)](),_0x3a53ab=new Set();for(const _0x517d21 of _0x4453c6)for(const _0x4cc705 of _0x517d21)_0x4cc705[_0x34f781(0x1d4)]['id']===_0x3d19ae['id']&&_0x3a53ab[_0x34f781(0x1f8)](_0x4cc705['id']);return _0x3a53ab;}[_0x10c694(0x1ed)](_0x24a2e0){const _0xa71353=_0x10c694;for(const _0x46d2bc of this[_0xa71353(0x1e5)][_0xa71353(0x1c7)]())for(const _0x20918b of _0x46d2bc)if(_0x20918b[_0xa71353(0x1d4)]===_0x24a2e0)return _0x20918b[_0xa71353(0x1f4)];}[_0x10c694(0x1c1)](_0x349581,_0x50d8af){const _0xf7d563=_0x10c694;if(_0xf7d563(0x1f6)!==this[_0xf7d563(0x1fd)][_0xf7d563(0x1c3)][_0xf7d563(0x1e1)](_0x3cf548)[_0xf7d563(0x1d9)])return;const _0x6af260=_0x50d8af[_0xf7d563(0x1d4)],_0x3d661b=this[_0xf7d563(0x1c8)][_0xf7d563(0x1ea)](_0x6af260['id'])||this[_0xf7d563(0x1c5)](_0x6af260),_0x471224=Object[_0xf7d563(0x1c6)]({},_0x50d8af,{'user':_0x3d661b});if(this[_0xf7d563(0x1e5)][_0xf7d563(0x1e1)](_0x349581)[_0xf7d563(0x1f8)](_0x471224),!_0x6af260[_0xf7d563(0x1ca)]){const _0x27fecf=this[_0xf7d563(0x1cd)][_0xf7d563(0x1e1)](_0x349581);_0x27fecf[_0xf7d563(0x1c9)](_0x3d661b['id'])||_0x27fecf[_0xf7d563(0x1f8)](_0x3d661b),this[_0xf7d563(0x1e3)][_0xf7d563(0x1c9)](_0x3d661b['id'])||_0x6af260[_0xf7d563(0x1ca)]||this[_0xf7d563(0x1e3)][_0xf7d563(0x1f8)](_0x3d661b,_0x3d661b[_0xf7d563(0x1d3)]?0x0:void 0x0);}this[_0xf7d563(0x1ef)](_0xf7d563(0x1e6)+_0x349581,{'channelId':_0x349581,'session':_0x471224});}[_0x10c694(0x1d5)](_0x597199,_0xeef927){const _0x2ab852=_0x10c694;if(_0x2ab852(0x1f6)!==this[_0x2ab852(0x1fd)][_0x2ab852(0x1c3)][_0x2ab852(0x1e1)](_0x3cf548)[_0x2ab852(0x1d9)])return;const _0x4edccb=this[_0x2ab852(0x1cd)][_0x2ab852(0x1e1)](_0x597199),_0x11b863=_0xeef927[_0x2ab852(0x1d4)];_0x11b863['id']&&(this[_0x2ab852(0x1e5)][_0x2ab852(0x1e1)](_0x597199)[_0x2ab852(0x1f3)](_0xeef927['id']),_0x4edccb[_0x2ab852(0x1c9)](_0x11b863['id'])&&!this[_0x2ab852(0x1db)](_0x11b863,_0x597199)[_0x2ab852(0x200)]&&_0x4edccb[_0x2ab852(0x1f3)](_0x11b863['id']),this[_0x2ab852(0x1e3)][_0x2ab852(0x1e1)](_0x11b863['id'])&&!this[_0x2ab852(0x1db)](_0x11b863)[_0x2ab852(0x200)]&&this[_0x2ab852(0x1e3)][_0x2ab852(0x1f3)](_0x11b863['id']));}[_0x10c694(0x1c5)](_0x2bb9b5,_0x32079c){const _0x4b501b=_0x10c694,_0x4c3f69=this[_0x4b501b(0x1c8)][_0x4b501b(0x1e2)](_0x2bb9b5);return _0x32079c&&this[_0x4b501b(0x1c8)][_0x4b501b(0x1e7)](_0x2bb9b5['id']),_0x4c3f69[_0x4b501b(0x1f0)]=this[_0x4b501b(0x1df)]++,_0x4c3f69;}}function _0x5efe(){const _0x51618f=['656859vqZhya','channelSessions','sessionAdd:','defineMe','change:state','224OFDSng','getUser','isOfficialPlugin','48424lgVQwG','getUserRole','10257ieyCXi','fire','orderNumber','18SxNlFC','init','remove','role','isPremiumPlugin','connected','153465HoCNHb','add','1lOpQYA','Sessions','_registeredSessions','getUserBySessionId','context','801234LOGQbu','2745590ZWvUib','size','_handleSessionAdd','sessionId','plugins','requires','_createUser','assign','values','_users','has','hiddenInPresenceList','clear','unregister','channelConnectedUsers','register','listenTo','sessions-unregister-not-exist','delete','stopListening','isMe','user','_handleSessionRemove','set','171488Qklmcz','forEach','state','connection','getUserSessions','sessions-register-already-registered','pluginName','mySessionId','_uniqueUsersCount','11lQxEiY','get','addUser','allConnectedUsers'];_0x5efe=function(){return _0x51618f;};return _0x5efe();}
23
+ const _0x36d1de=_0x5d6e;(function(_0x5704c7,_0x3c5c50){const _0x2a85e7=_0x5d6e,_0x49b553=_0x5704c7();while(!![]){try{const _0x1265e9=-parseInt(_0x2a85e7(0xb1))/0x1*(parseInt(_0x2a85e7(0x90))/0x2)+parseInt(_0x2a85e7(0xaf))/0x3+-parseInt(_0x2a85e7(0xad))/0x4+-parseInt(_0x2a85e7(0x95))/0x5*(parseInt(_0x2a85e7(0x88))/0x6)+-parseInt(_0x2a85e7(0xc0))/0x7*(parseInt(_0x2a85e7(0xa9))/0x8)+-parseInt(_0x2a85e7(0xb7))/0x9*(-parseInt(_0x2a85e7(0xa8))/0xa)+parseInt(_0x2a85e7(0xc5))/0xb;if(_0x1265e9===_0x3c5c50)break;else _0x49b553['push'](_0x49b553['shift']());}catch(_0x205261){_0x49b553['push'](_0x49b553['shift']());}}}(_0x4b2f,0xca1cb));import{ContextPlugin as _0x35a13d}from'ckeditor5/src/core.js';import{Collection as _0x52b91e,CKEditorError as _0x881d88}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4293f2}from'./websocketgateway.js';function _0x5d6e(_0x5f5be1,_0x472036){const _0x4b2f76=_0x4b2f();return _0x5d6e=function(_0x5d6e10,_0x4b8f91){_0x5d6e10=_0x5d6e10-0x86;let _0x223fb3=_0x4b2f76[_0x5d6e10];return _0x223fb3;},_0x5d6e(_0x5f5be1,_0x472036);}import{Users as _0x4216f9}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x35a13d{[_0x36d1de(0x94)];[_0x36d1de(0xc3)];[_0x36d1de(0x96)];[_0x36d1de(0xb4)];[_0x36d1de(0xa1)];[_0x36d1de(0xbd)];static get[_0x36d1de(0xab)](){const _0x4f3345=_0x36d1de;return _0x4f3345(0xbc);}static get[_0x36d1de(0xbe)](){return!0x0;}static get[_0x36d1de(0x9e)](){return!0x0;}static get[_0x36d1de(0xa4)](){return[_0x4293f2,_0x4216f9];}constructor(_0x4982cb){const _0x4ace2e=_0x36d1de;super(_0x4982cb),this[_0x4ace2e(0x94)]=new Map(),this[_0x4ace2e(0xc3)]=new Map(),this[_0x4ace2e(0x96)]=new _0x52b91e(),this[_0x4ace2e(0xb4)]=new Map(),this[_0x4ace2e(0xa1)]=0x0,this[_0x4ace2e(0xbd)]=this[_0x4ace2e(0x8d)][_0x4ace2e(0xb2)][_0x4ace2e(0x92)](_0x4216f9);}[_0x36d1de(0xae)](){const _0x1ef026=_0x36d1de,_0x354d34=this[_0x1ef026(0x8d)][_0x1ef026(0xb2)][_0x1ef026(0x92)](_0x4293f2);this[_0x1ef026(0xc2)](_0x354d34,_0x1ef026(0xac),(_0x31c68d,_0x3ef688,_0x4c5f26)=>{const _0x18064f=_0x1ef026;if(_0x18064f(0xa3)!==_0x4c5f26)this[_0x18064f(0x94)][_0x18064f(0x98)](_0x5419b6=>_0x5419b6[_0x18064f(0xa7)]()),this[_0x18064f(0xc3)][_0x18064f(0x98)](_0xf3c130=>_0xf3c130[_0x18064f(0xa7)]()),this[_0x18064f(0x96)][_0x18064f(0xa7)]();else{for(const [_0x1f9e53,_0x4a2a98]of this[_0x18064f(0xb4)])for(const _0x41b41e of _0x4a2a98)this[_0x18064f(0xa2)](_0x1f9e53,_0x41b41e);}}),this[_0x1ef026(0xbf)](_0x354d34[_0x1ef026(0xb0)]['me'],!0x0);}[_0x36d1de(0x86)](_0x670d0a,_0x44d771){const _0x2b903c=_0x36d1de;if(this[_0x2b903c(0xb4)][_0x2b903c(0x99)](_0x670d0a))throw new _0x881d88(_0x2b903c(0xb6),null,{'channelId':_0x670d0a});this[_0x2b903c(0xb4)][_0x2b903c(0x8f)](_0x670d0a,_0x44d771),this[_0x2b903c(0x94)][_0x2b903c(0x8f)](_0x670d0a,new _0x52b91e()),this[_0x2b903c(0xc3)][_0x2b903c(0x8f)](_0x670d0a,new _0x52b91e()),this[_0x2b903c(0xc2)](_0x44d771,_0x2b903c(0xa6),(_0x26ac74,_0x4bdd1a)=>this[_0x2b903c(0xa2)](_0x670d0a,_0x4bdd1a)),this[_0x2b903c(0xc2)](_0x44d771,_0x2b903c(0x9d),(_0x341a6d,_0x8045c6)=>this[_0x2b903c(0x8b)](_0x670d0a,_0x8045c6));for(const _0x296af8 of _0x44d771)this[_0x2b903c(0xa2)](_0x670d0a,_0x296af8);}[_0x36d1de(0xc1)](_0x74ba80){const _0x44e6e9=_0x36d1de;if(!this[_0x44e6e9(0xb4)][_0x44e6e9(0x99)](_0x74ba80))throw new _0x881d88(_0x44e6e9(0x93),null,{'channelId':_0x74ba80});const _0x157de5=this[_0x44e6e9(0xb4)][_0x44e6e9(0x92)](_0x74ba80);this[_0x44e6e9(0xa0)](_0x157de5);for(const _0x2e2ea3 of _0x157de5)_0x44e6e9(0xa3)===this[_0x44e6e9(0x8d)][_0x44e6e9(0xb2)][_0x44e6e9(0x92)](_0x4293f2)[_0x44e6e9(0x91)]&&this[_0x44e6e9(0x8b)](_0x74ba80,_0x2e2ea3);this[_0x44e6e9(0xb4)][_0x44e6e9(0xaa)](_0x74ba80),this[_0x44e6e9(0x94)][_0x44e6e9(0xaa)](_0x74ba80),this[_0x44e6e9(0xc3)][_0x44e6e9(0xaa)](_0x74ba80);}get[_0x36d1de(0x9b)](){const _0x1233a4=_0x36d1de;return this[_0x1233a4(0x8d)][_0x1233a4(0xb2)][_0x1233a4(0x92)](_0x4293f2)[_0x1233a4(0xb0)][_0x1233a4(0x87)];}[_0x36d1de(0xa5)](_0x182dc2){const _0x485597=_0x36d1de;for(const _0xb985ec of this[_0x485597(0x94)][_0x485597(0xb5)]())for(const _0xcc13b2 of _0xb985ec)if(_0xcc13b2['id']===_0x182dc2)return _0xcc13b2[_0x485597(0xb3)];}[_0x36d1de(0xbb)](_0xba117,_0x33aa24){const _0x212f6c=_0x36d1de,_0x393c7c=_0x33aa24?[this[_0x212f6c(0x94)][_0x212f6c(0x92)](_0x33aa24)]:this[_0x212f6c(0x94)][_0x212f6c(0xb5)](),_0x378b23=new Set();for(const _0x5f32b7 of _0x393c7c)for(const _0x106a47 of _0x5f32b7)_0x106a47[_0x212f6c(0xb3)]['id']===_0xba117['id']&&_0x378b23[_0x212f6c(0xa6)](_0x106a47['id']);return _0x378b23;}[_0x36d1de(0x9c)](_0x328f65){const _0x58be76=_0x36d1de;for(const _0x13bfd3 of this[_0x58be76(0x94)][_0x58be76(0xb5)]())for(const _0x310f62 of _0x13bfd3)if(_0x310f62[_0x58be76(0xb3)]===_0x328f65)return _0x310f62[_0x58be76(0x8a)];}[_0x36d1de(0xa2)](_0xf3fc23,_0x402ac5){const _0x2959eb=_0x36d1de;if(_0x2959eb(0xa3)!==this[_0x2959eb(0x8d)][_0x2959eb(0xb2)][_0x2959eb(0x92)](_0x4293f2)[_0x2959eb(0x91)])return;const _0x5da483=_0x402ac5[_0x2959eb(0xb3)],_0x17f86c=this[_0x2959eb(0xbd)][_0x2959eb(0x9f)](_0x5da483['id'])||this[_0x2959eb(0xbf)](_0x5da483),_0x10b250=Object[_0x2959eb(0xc4)]({},_0x402ac5,{'user':_0x17f86c});if(this[_0x2959eb(0x94)][_0x2959eb(0x92)](_0xf3fc23)[_0x2959eb(0xa6)](_0x10b250),!_0x5da483[_0x2959eb(0xb9)]){const _0x5175a9=this[_0x2959eb(0xc3)][_0x2959eb(0x92)](_0xf3fc23);_0x5175a9[_0x2959eb(0x99)](_0x17f86c['id'])||_0x5175a9[_0x2959eb(0xa6)](_0x17f86c),this[_0x2959eb(0x96)][_0x2959eb(0x99)](_0x17f86c['id'])||_0x5da483[_0x2959eb(0xb9)]||this[_0x2959eb(0x96)][_0x2959eb(0xa6)](_0x17f86c,_0x17f86c[_0x2959eb(0xba)]?0x0:void 0x0);}this[_0x2959eb(0x97)](_0x2959eb(0x9a)+_0xf3fc23,{'channelId':_0xf3fc23,'session':_0x10b250});}[_0x36d1de(0x8b)](_0x46e4d7,_0x100c39){const _0x2645c9=_0x36d1de;if(_0x2645c9(0xa3)!==this[_0x2645c9(0x8d)][_0x2645c9(0xb2)][_0x2645c9(0x92)](_0x4293f2)[_0x2645c9(0x91)])return;const _0x4cd09f=this[_0x2645c9(0xc3)][_0x2645c9(0x92)](_0x46e4d7),_0x19d76c=_0x100c39[_0x2645c9(0xb3)];_0x19d76c['id']&&(this[_0x2645c9(0x94)][_0x2645c9(0x92)](_0x46e4d7)[_0x2645c9(0x9d)](_0x100c39['id']),_0x4cd09f[_0x2645c9(0x99)](_0x19d76c['id'])&&!this[_0x2645c9(0xbb)](_0x19d76c,_0x46e4d7)[_0x2645c9(0x89)]&&_0x4cd09f[_0x2645c9(0x9d)](_0x19d76c['id']),this[_0x2645c9(0x96)][_0x2645c9(0x92)](_0x19d76c['id'])&&!this[_0x2645c9(0xbb)](_0x19d76c)[_0x2645c9(0x89)]&&this[_0x2645c9(0x96)][_0x2645c9(0x9d)](_0x19d76c['id']));}[_0x36d1de(0xbf)](_0x4c2146,_0x1d684b){const _0x50f26d=_0x36d1de,_0x278f94=this[_0x50f26d(0xbd)][_0x50f26d(0x8c)](_0x4c2146);return _0x1d684b&&this[_0x50f26d(0xbd)][_0x50f26d(0x8e)](_0x4c2146['id']),_0x278f94[_0x50f26d(0xb8)]=this[_0x50f26d(0xa1)]++,_0x278f94;}}function _0x4b2f(){const _0x5c64f1=['has','sessionAdd:','mySessionId','getUserRole','remove','isPremiumPlugin','getUser','stopListening','_uniqueUsersCount','_handleSessionAdd','connected','requires','getUserBySessionId','add','clear','4784660FjepdD','32sUiwyT','delete','pluginName','change:state','2836924tYdiDs','init','4064994pnXJBa','connection','16493haLeuT','plugins','user','_registeredSessions','values','sessions-register-already-registered','27YXyWhp','orderNumber','hiddenInPresenceList','isMe','getUserSessions','Sessions','_users','isOfficialPlugin','_createUser','2346064QLKpoK','unregister','listenTo','channelConnectedUsers','assign','27216530XLYiXs','register','sessionId','12rPPPHl','size','role','_handleSessionRemove','addUser','context','defineMe','set','196VpJXrs','state','get','sessions-unregister-not-exist','channelSessions','1926555aoQjXt','allConnectedUsers','fire','forEach'];_0x4b2f=function(){return _0x5c64f1;};return _0x4b2f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a55e8=_0x58f5;(function(_0x2feb71,_0x29293c){const _0x5dbf4d=_0x58f5,_0xebabd4=_0x2feb71();while(!![]){try{const _0x31ed05=parseInt(_0x5dbf4d(0x77))/0x1*(parseInt(_0x5dbf4d(0x9b))/0x2)+-parseInt(_0x5dbf4d(0xc6))/0x3+-parseInt(_0x5dbf4d(0xa5))/0x4*(parseInt(_0x5dbf4d(0x81))/0x5)+parseInt(_0x5dbf4d(0xb5))/0x6+parseInt(_0x5dbf4d(0x6f))/0x7+parseInt(_0x5dbf4d(0xbd))/0x8*(-parseInt(_0x5dbf4d(0x8b))/0x9)+parseInt(_0x5dbf4d(0x73))/0xa*(parseInt(_0x5dbf4d(0x80))/0xb);if(_0x31ed05===_0x29293c)break;else _0xebabd4['push'](_0xebabd4['shift']());}catch(_0x4d5cc3){_0xebabd4['push'](_0xebabd4['shift']());}}}(_0x10a5,0xb5354));import{Plugin as _0x49c223}from'ckeditor5/src/core.js';import{global as _0xa46b4,DomEmitterMixin as _0x543cd4}from'ckeditor5/src/utils.js';import{Sessions as _0x56389d}from'./sessions.js';function _0x58f5(_0x3f458d,_0x4b8f77){const _0x10a58a=_0x10a5();return _0x58f5=function(_0x58f579,_0x5770c1){_0x58f579=_0x58f579-0x6d;let _0xc328f9=_0x10a58a[_0x58f579];return _0xc328f9;},_0x58f5(_0x3f458d,_0x4b8f77);}import{ModelLiveRange as _0x149c4a}from'ckeditor5/src/engine.js';function _0x10a5(){const _0x57d852=['3561615KyqoIy','startsWith','getPositions','getSelectionClass','plugins','orderNumber','setAttribute','getMarkerClass','getFirstRange','set','markerName','checkChild','markerToHighlight','addMarker','element','hasContent','isSimilar','delete','$text','innerHTML','userPositionMarker','clear','setCustomProperty','change','getUserBySessionId','Escape','stopListening','size','deletionPosition','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','ck-user__marker-tooltip','isObject','hasDomSelection','createElement','reconvertMarker','afterInit','editing','detach','isLimit','updateMarker','for','isPremiumPlugin','textContent','span','getContainedElement','start','markerNameToElements','addEventListener','name','mapper','removeMarker','applyOperation','6168834qWyGzX','root','get','schema','370vIqqCo','_domEmitter','batch','getCustomProperty','3387erSnyG','requires','conversion','isDocumentOperation','type','isInline','mouseenter','model','classList','337238uQAVVo','500650vVmxfu','ck-user__selection','destroy','false','tableCell','keydown','getRange','ck-user__marker_hovered','spellcheck','nodeAfter','153lFCuvz','fromRange','newRange','oldRange','editingDowncast','toDomElement','user:','toRange','createUserMarkerOperations','removeClass','markers','mouseleave','init','getNearestSelectionRange','createUIElement','isCollapsed','386zGNzAL','render','has','parent','update:user:range','end','undo','highest','outerHTML','split','48KEtvXN','pluginName','_createdBatches','color','remove','markerRange','user:range:','$graveyard','document','enqueueChange','contenteditable','mySessionId','isOfficialPlugin','editor','add','getStart','7592010mhmnXx','change:range','commands','createRange','view','selection','data-session-id','ck-user__marker\x20','378184ZnqmYN','user:position','UserMarkers','user:range','listenTo','marker','user:position:','markerToElement','rootName'];_0x10a5=function(){return _0x57d852;};return _0x10a5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x49c223{[_0x2a55e8(0x74)]=new(_0x543cd4())();static get[_0x2a55e8(0x78)](){return[_0x56389d];}static get[_0x2a55e8(0xa6)](){const _0x3e5e38=_0x2a55e8;return _0x3e5e38(0xbf);}static get[_0x2a55e8(0xb1)](){return!0x0;}static get[_0x2a55e8(0xf0)](){return!0x0;}[_0x2a55e8(0x97)](){const _0x91aaed=_0x2a55e8,_0x2214cd=this[_0x91aaed(0xb2)],_0x51f45a=_0x2214cd[_0x91aaed(0xca)][_0x91aaed(0x71)](_0x56389d);_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xc4)]({'model':_0x91aaed(0xbe),'view':(_0x25197f,{writer:_0x275eb1})=>function(_0x19cc9a,_0x39eb47,_0x3eb26b,_0x28ed57){const _0x1146a6=_0x91aaed,_0x12554d=_0x19cc9a[_0x1146a6(0xd0)][_0x1146a6(0xa4)](':')[0x2],_0x3ca327=_0x3eb26b[_0x1146a6(0xde)](_0x12554d);if(!_0x3ca327||_0x12554d===_0x3eb26b[_0x1146a6(0xb0)])return;if(!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xd1)](_0x19cc9a[_0x1146a6(0xaa)][_0x1146a6(0xf4)],_0x1146a6(0xd8)))return;const _0xa363cb={'class':_0x1146a6(0xbc)+_0x3ca327[_0x1146a6(0xa8)][_0x1146a6(0xcd)](),'data-name':_0x3ca327[_0x1146a6(0xf7)],'data-session-id':_0x12554d},_0x2527f8=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x19cc9a[_0x1146a6(0xd0)]),_0x348141=_0x2527f8[_0x1146a6(0xb4)](),_0x38e69f=_0x348141[_0x1146a6(0x8a)],_0x41e62a=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)];if(_0x38e69f&&_0x41e62a[_0x1146a6(0xe6)](_0x38e69f)&&_0x41e62a[_0x1146a6(0x7c)](_0x38e69f)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x1146a6(0xab)+_0x12554d)[_0x1146a6(0x87)]()[_0x1146a6(0x9a)])return;const _0x587dda=_0x348141[_0x1146a6(0x9e)];return _0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xed)](_0x587dda)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0xd5)](_0x587dda)&&(_0xa363cb[_0x1146a6(0xaf)]=!0x1),function(_0x40255f,_0x5a7ad2,_0x448f20){const _0x4536f6=_0x1146a6,_0x4fe3f0=_0x40255f[_0x4536f6(0x99)](_0x4536f6(0xf2),_0x5a7ad2);return _0x40255f[_0x4536f6(0xdc)](_0x4536f6(0xda),!0x0,_0x4fe3f0),_0x4fe3f0[_0x4536f6(0x9c)]=function(_0x61c869){const _0x27ca26=_0x4536f6,_0x2099ff=this[_0x27ca26(0x90)](_0x61c869),_0x4afea7=document[_0x27ca26(0xe8)](_0x27ca26(0xf2));return _0x4afea7[_0x27ca26(0x7f)][_0x27ca26(0xb3)](_0x27ca26(0xe5)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0xaf),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0x89),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xf1)]=_0x448f20[_0x27ca26(0xf7)],_0x2099ff[_0x27ca26(0xd9)]=_0x27ca26(0xe3)+_0x4afea7[_0x27ca26(0xa3)]+'⁠',_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x7d),()=>{const _0x202cc2=_0x27ca26;_0x2099ff[_0x202cc2(0x7f)][_0x202cc2(0xb3)](_0x202cc2(0x88));}),_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x96),()=>{const _0x55c2f6=_0x27ca26;_0x2099ff[_0x55c2f6(0x7f)][_0x55c2f6(0xa9)](_0x55c2f6(0x88));}),_0x2099ff;},_0x4fe3f0[_0x4536f6(0xd6)]=function(_0x48d392){const _0x2c786e=_0x4536f6;return!(!this[_0x2c786e(0x76)](_0x2c786e(0xda))||!_0x48d392[_0x2c786e(0x76)](_0x2c786e(0xda))||this[_0x2c786e(0xe4)](_0x2c786e(0xbb))!=_0x48d392[_0x2c786e(0xe4)](_0x2c786e(0xbb)));},_0x4fe3f0;}(_0x39eb47,_0xa363cb,_0x3ca327);}(_0x25197f,_0x275eb1,_0x51f45a,_0x2214cd)}),_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xd2)]({'model':_0x91aaed(0xc0),'view':_0x45bf0e=>function(_0x4e2edf,_0x5f3d3a){const _0x46a8b1=_0x91aaed,_0x4526f4=_0x4e2edf[_0x46a8b1(0xd0)][_0x46a8b1(0xa4)](':')[0x2];if(_0x4526f4===_0x5f3d3a[_0x46a8b1(0xb0)])return null;const _0x3c2601=_0x5f3d3a[_0x46a8b1(0xde)](_0x4526f4);if(!_0x3c2601)return{'id':_0x4526f4,'classes':[]};return{'id':_0x4526f4,'classes':[_0x46a8b1(0x82),_0x3c2601[_0x46a8b1(0xa8)][_0x46a8b1(0xc9)]()],'attributes':{'data-session-id':_0x4526f4},'priority':0x7d0+_0x3c2601[_0x46a8b1(0xcb)]};}(_0x45bf0e,_0x51f45a)}),function(_0x37df2a){const _0x5d9545=_0x91aaed,_0x297f58=_0x37df2a[_0x5d9545(0x7e)],_0x4c8d77=new Map(),_0x5e6b29=_0x37df2a[_0x5d9545(0xca)][_0x5d9545(0x71)](_0x56389d);_0x297f58[_0x5d9545(0x95)]['on'](_0x5d9545(0x9f),(_0x2180d3,_0x16d5e1,_0x6274e2,_0xea5783)=>{const _0x3cf5f6=_0x5d9545;if(!_0xea5783&&_0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)]))return _0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)])[_0x3cf5f6(0xec)](),void _0x4c8d77[_0x3cf5f6(0xd7)](_0x16d5e1[_0x3cf5f6(0xf7)]);const _0x50ef6a=_0x16d5e1[_0x3cf5f6(0xf7)][_0x3cf5f6(0xa4)](':')[0x2];if(_0x50ef6a===_0x5e6b29[_0x3cf5f6(0xb0)])return;const _0x880d61=_0x3cf5f6(0xc3)+_0x50ef6a;_0x297f58[_0x3cf5f6(0x95)][_0x3cf5f6(0x9d)](_0x880d61)&&_0x37df2a[_0x3cf5f6(0xeb)][_0x3cf5f6(0xe9)](_0x880d61),_0x16d5e1['on'](_0x3cf5f6(0xb6),(_0x2faf2b,_0x51477e,_0x506522)=>{const _0x2b1a6a=_0x3cf5f6;if(_0x2b1a6a(0xac)!=_0x51477e[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&_0x2b1a6a(0xac)==_0x16d5e1[_0x2b1a6a(0x87)]()[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&!_0x4c8d77[_0x2b1a6a(0x9d)](_0x16d5e1[_0x2b1a6a(0xf7)])){const _0x414ec2=_0x297f58[_0x2b1a6a(0x72)][_0x2b1a6a(0x98)](_0x506522[_0x2b1a6a(0xe2)]);if(_0x414ec2){const _0x21e14d=_0x149c4a[_0x2b1a6a(0x8c)](_0x414ec2);_0x4c8d77[_0x2b1a6a(0xcf)](_0x16d5e1[_0x2b1a6a(0xf7)],_0x21e14d),_0x21e14d['on'](_0x2b1a6a(0xb6),(_0x15c8b3,_0x2690ef,_0x497ce8)=>{const _0x12fa27=_0x2b1a6a;if(_0x12fa27(0xac)==_0x21e14d[_0x12fa27(0x70)][_0x12fa27(0xc5)]){const _0x537eee=_0x297f58[_0x12fa27(0x72)][_0x12fa27(0x98)](_0x497ce8[_0x12fa27(0xe2)]);_0x537eee?(_0x21e14d[_0x12fa27(0xf4)]=_0x537eee[_0x12fa27(0xf4)],_0x21e14d[_0x12fa27(0xa0)]=_0x537eee[_0x12fa27(0xa0)]):(_0x4c8d77[_0x12fa27(0xd7)](_0x16d5e1[_0x12fa27(0xf7)]),_0x21e14d[_0x12fa27(0xec)]());}});}}});}),_0x297f58[_0x5d9545(0xad)]['on'](_0x5d9545(0xdd),()=>{const _0x553f29=_0x5d9545;_0x4c8d77[_0x553f29(0xe1)]>0x0&&_0x297f58[_0x553f29(0xae)]({'isUndoable':!0x1},_0x466b0a=>{const _0x363b50=_0x553f29;for(const [_0x12780a,_0x26c664]of _0x4c8d77)_0x363b50(0xac)==_0x297f58[_0x363b50(0x95)][_0x363b50(0x71)](_0x12780a)[_0x363b50(0x87)]()[_0x363b50(0x70)][_0x363b50(0xc5)]&&(Z(_0x12780a[_0x363b50(0xa4)](':')[0x2],_0x26c664[_0x363b50(0x92)](),_0x297f58,_0x466b0a),_0x26c664[_0x363b50(0xec)]());_0x4c8d77[_0x363b50(0xdb)]();});});}(_0x2214cd),this[_0x91aaed(0x74)][_0x91aaed(0xc1)](_0xa46b4[_0x91aaed(0xad)],_0x91aaed(0x86),(_0x288d99,{key:_0x422a89})=>{const _0x377870=_0x91aaed;_0x377870(0xdf)===_0x422a89&&function(_0x33f4d9){const _0x5dfb17=_0x377870;_0x33f4d9[_0x5dfb17(0xeb)][_0x5dfb17(0xb9)][_0x5dfb17(0xdd)](_0x1f70b2=>{const _0x37c096=_0x5dfb17;for(const _0x4d4a1e of _0x33f4d9[_0x37c096(0x7e)][_0x37c096(0x95)]){if(!_0x4d4a1e[_0x37c096(0xf7)][_0x37c096(0xc7)](_0x37c096(0xbe)))continue;const _0x3b07fd=_0x33f4d9[_0x37c096(0xeb)][_0x37c096(0xf8)][_0x37c096(0xf5)](_0x4d4a1e[_0x37c096(0xf7)]);if(_0x3b07fd){for(const _0x51b041 of _0x3b07fd)_0x1f70b2[_0x37c096(0x94)](_0x37c096(0x88),_0x51b041);}}});}(_0x2214cd);},{'useCapture':!0x0});}[_0x2a55e8(0xea)](){const _0x3a87e3=_0x2a55e8,_0x40fa5d=this[_0x3a87e3(0xb2)],_0x158d13=_0x40fa5d[_0x3a87e3(0xb7)][_0x3a87e3(0x71)](_0x3a87e3(0xa1));_0x158d13&&_0x40fa5d[_0x3a87e3(0x7e)]['on'](_0x3a87e3(0x6e),(_0x46fc1f,_0x3ecf42)=>{const _0x40b661=_0x3a87e3,_0x4e7217=_0x3ecf42[0x0];if(!_0x4e7217[_0x40b661(0x7a)])return;if(_0x40b661(0xc2)!=_0x4e7217[_0x40b661(0x7b)]||!_0x4e7217[_0x40b661(0xf7)][_0x40b661(0xc7)](_0x40b661(0x91)))return;const _0x1b3254=_0x4e7217[_0x40b661(0x75)];_0x158d13[_0x40b661(0xa7)][_0x40b661(0x9d)](_0x1b3254)&&(_0x4e7217[_0x40b661(0x8d)]=_0x4e7217[_0x40b661(0x8e)]?_0x40fa5d[_0x40b661(0x7e)][_0x40b661(0xb8)](_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xf4)],_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xa0)]):null);},{'priority':_0x3a87e3(0xa2)});}[_0x2a55e8(0x83)](){const _0x15fa10=_0x2a55e8;return this[_0x15fa10(0x74)][_0x15fa10(0xe0)](),super[_0x15fa10(0x83)]();}[_0x2a55e8(0x93)](){const _0x435966=_0x2a55e8,_0x5d4bb7=this[_0x435966(0xb2)],_0x2344d3=_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xad)],_0x395b6c=_0x5d4bb7[_0x435966(0xca)][_0x435966(0x71)](_0x56389d);_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xae)]({'isUndoable':!0x1},_0x86a9ba=>{const _0x119905=_0x435966,_0x539905=_0x119905(0xab)+_0x395b6c[_0x119905(0xb0)],_0x1226b8=_0x119905(0xc3)+_0x395b6c[_0x119905(0xb0)],_0x4e1e72=_0x5d4bb7[_0x119905(0x7e)][_0x119905(0x95)][_0x119905(0x9d)](_0x539905);_0x5d4bb7[_0x119905(0xeb)][_0x119905(0xb9)][_0x119905(0xe7)]?Z(_0x395b6c[_0x119905(0xb0)],_0x2344d3[_0x119905(0xba)][_0x119905(0xce)](),_0x5d4bb7[_0x119905(0x7e)],_0x86a9ba):_0x4e1e72&&(_0x86a9ba[_0x119905(0x6d)](_0x539905),_0x86a9ba[_0x119905(0x6d)](_0x1226b8));});}}function Z(_0x5beab5,_0x3fb664,_0x44eb8d,_0x31af05){const _0x54dc31=_0x2a55e8,_0x1f84eb=_0x54dc31(0xab)+_0x5beab5,_0x36128f=_0x54dc31(0xc3)+_0x5beab5,_0xd02169=_0x3fb664[_0x54dc31(0xf3)]();let _0x564ea9=_0x3fb664[_0x54dc31(0xf4)];if(_0xd02169&&_0xd02169['is'](_0x54dc31(0xd4),_0x54dc31(0x85))){const _0x9022ff=function(_0x26e627,_0x5d5377){const _0x4dadd5=_0x54dc31;for(const _0x2e7d76 of _0x26e627[_0x4dadd5(0xc8)]())if(_0x5d5377[_0x4dadd5(0x72)][_0x4dadd5(0xd1)](_0x2e7d76,_0x4dadd5(0xd8)))return _0x2e7d76;}(_0x3fb664,_0x44eb8d);_0x9022ff&&(_0x564ea9=_0x9022ff,_0x3fb664=_0x31af05[_0x54dc31(0xb8)](_0x564ea9));}const _0x2b05ee=_0x31af05[_0x54dc31(0xb8)](_0x564ea9);_0x44eb8d[_0x54dc31(0x95)][_0x54dc31(0x9d)](_0x1f84eb)?(_0x31af05[_0x54dc31(0xee)](_0x1f84eb,{'range':_0x3fb664}),_0x31af05[_0x54dc31(0xee)](_0x36128f,{'range':_0x2b05ee})):(_0x31af05[_0x54dc31(0xd3)](_0x1f84eb,{'range':_0x3fb664,'usingOperation':!0x0}),_0x31af05[_0x54dc31(0xd3)](_0x36128f,{'range':_0x2b05ee,'usingOperation':!0x0}));}
23
+ const _0x3d0427=_0x45f8;(function(_0x21cc6c,_0xab0445){const _0x36fb06=_0x45f8,_0x15a396=_0x21cc6c();while(!![]){try{const _0x279c20=parseInt(_0x36fb06(0x121))/0x1+parseInt(_0x36fb06(0xd7))/0x2+-parseInt(_0x36fb06(0xe6))/0x3+parseInt(_0x36fb06(0x142))/0x4+parseInt(_0x36fb06(0x124))/0x5*(parseInt(_0x36fb06(0x13c))/0x6)+parseInt(_0x36fb06(0xea))/0x7*(parseInt(_0x36fb06(0x123))/0x8)+-parseInt(_0x36fb06(0x107))/0x9*(parseInt(_0x36fb06(0x105))/0xa);if(_0x279c20===_0xab0445)break;else _0x15a396['push'](_0x15a396['shift']());}catch(_0x348f4b){_0x15a396['push'](_0x15a396['shift']());}}}(_0x57b5,0x740b2));function _0x45f8(_0x2784ef,_0x3eb876){const _0x57b5a2=_0x57b5();return _0x45f8=function(_0x45f834,_0xb6b86a){_0x45f834=_0x45f834-0xc0;let _0x2725d7=_0x57b5a2[_0x45f834];return _0x2725d7;},_0x45f8(_0x2784ef,_0x3eb876);}import{Plugin as _0x324809}from'ckeditor5/src/core.js';import{global as _0x178a35,DomEmitterMixin as _0xead13d}from'ckeditor5/src/utils.js';import{Sessions as _0x1fb713}from'./sessions.js';import{ModelLiveRange as _0x39fe1f}from'ckeditor5/src/engine.js';function _0x57b5(){const _0x4ed85b=['update:user:range','detach','toRange','getFirstRange','set','reconvertMarker','type','addEventListener','parent','createUserMarkerOperations','getAttribute','isCollapsed','span','markerName','user:range','Escape','batch','selection','change:range','destroy','user:position','orderNumber','removeClass','editingDowncast','root','innerHTML','344692PMlTeL','tableCell','markerToHighlight','hasContent','$graveyard','listenTo','rootName','setAttribute','spellcheck','isDocumentOperation','deletionPosition','createUIElement','oldRange','isPremiumPlugin','getSelectionClass','1358298QSGXtQ','startsWith','outerHTML','_domEmitter','52220fPeudo','updateMarker','get','$text','name','isSimilar','getNearestSelectionRange','keydown','schema','render','mySessionId','ck-user__selection','ck-user__marker-tooltip','setCustomProperty','user:position:','getPositions','_createdBatches','for','createElement','createRange','removeMarker','mouseleave','getMarkerClass','clear','getContainedElement','editing','commands','10DkOqjX','view','7245738uLibFy','stopListening','add','toDomElement','checkChild','data-session-id','element','start','nodeAfter','document','model','markerToElement','undo','delete','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerRange','fromRange','getCustomProperty','afterInit','isInline','UserMarkers','marker','editor','mouseenter','user:range:','highest','455412lzbPwC','isLimit','88UjKwFV','39670DttWls','textContent','classList','size','change','user:','enqueueChange','hasDomSelection','isObject','ck-user__marker_hovered','conversion','applyOperation','end','markerNameToElements','ck-user__marker\x20','remove','markers','pluginName','newRange','getRange','plugins','false','split','mapper','474nnBWAO','requires','userPositionMarker','getUserBySessionId','getStart','isOfficialPlugin','1586232sncxdh','color','addMarker','init','has','contenteditable'];_0x57b5=function(){return _0x4ed85b;};return _0x57b5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x324809{[_0x3d0427(0xe9)]=new(_0xead13d())();static get[_0x3d0427(0x13d)](){return[_0x1fb713];}static get[_0x3d0427(0x135)](){const _0x1fcf14=_0x3d0427;return _0x1fcf14(0x11b);}static get[_0x3d0427(0x141)](){return!0x0;}static get[_0x3d0427(0xe4)](){return!0x0;}[_0x3d0427(0x145)](){const _0x128fca=_0x3d0427,_0x490909=this[_0x128fca(0x11d)],_0xfd8efb=_0x490909[_0x128fca(0x138)][_0x128fca(0xec)](_0x1fb713);_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0x112)]({'model':_0x128fca(0xd1),'view':(_0x5b0182,{writer:_0x3df093})=>function(_0x347bfb,_0x3c8f6a,_0x51c961,_0x40c1c5){const _0x3e4244=_0x128fca,_0x3ae33a=_0x347bfb[_0x3e4244(0xca)][_0x3e4244(0x13a)](':')[0x2],_0x5a3b40=_0x51c961[_0x3e4244(0x13f)](_0x3ae33a);if(!_0x5a3b40||_0x3ae33a===_0x51c961[_0x3e4244(0xf4)])return;if(!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x10b)](_0x347bfb[_0x3e4244(0x116)][_0x3e4244(0x10e)],_0x3e4244(0xed)))return;const _0x2fde86={'class':_0x3e4244(0x132)+_0x5a3b40[_0x3e4244(0x143)][_0x3e4244(0x100)](),'data-name':_0x5a3b40[_0x3e4244(0xee)],'data-session-id':_0x3ae33a},_0x5329b2=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x347bfb[_0x3e4244(0xca)]),_0x906cec=_0x5329b2[_0x3e4244(0x140)](),_0x351957=_0x906cec[_0x3e4244(0x10f)],_0x1a1f28=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)];if(_0x351957&&_0x1a1f28[_0x3e4244(0x12c)](_0x351957)&&_0x1a1f28[_0x3e4244(0x11a)](_0x351957)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x3e4244(0x11f)+_0x3ae33a)[_0x3e4244(0x137)]()[_0x3e4244(0xc8)])return;const _0x18124e=_0x906cec[_0x3e4244(0xc5)];return _0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x122)](_0x18124e)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xda)](_0x18124e)&&(_0x2fde86[_0x3e4244(0x147)]=!0x1),function(_0x594e3b,_0x3e2458,_0x155bf9){const _0x3828a3=_0x3e4244,_0x1824aa=_0x594e3b[_0x3828a3(0xe2)](_0x3828a3(0xc9),_0x3e2458);return _0x594e3b[_0x3828a3(0xf7)](_0x3828a3(0x13e),!0x0,_0x1824aa),_0x1824aa[_0x3828a3(0xf3)]=function(_0x5e047d){const _0x130893=_0x3828a3,_0x90ed2c=this[_0x130893(0x10a)](_0x5e047d),_0x325297=document[_0x130893(0xfc)](_0x130893(0xc9));return _0x325297[_0x130893(0x126)][_0x130893(0x109)](_0x130893(0xf6)),_0x325297[_0x130893(0xde)](_0x130893(0x147),_0x130893(0x139)),_0x325297[_0x130893(0xde)](_0x130893(0xdf),_0x130893(0x139)),_0x325297[_0x130893(0x125)]=_0x155bf9[_0x130893(0xee)],_0x90ed2c[_0x130893(0xd6)]=_0x130893(0x115)+_0x325297[_0x130893(0xe8)]+'⁠',_0x90ed2c[_0x130893(0xc4)](_0x130893(0x11e),()=>{const _0x6b7cf4=_0x130893;_0x90ed2c[_0x6b7cf4(0x126)][_0x6b7cf4(0x109)](_0x6b7cf4(0x12d));}),_0x90ed2c[_0x130893(0xc4)](_0x130893(0xff),()=>{const _0x5b3245=_0x130893;_0x90ed2c[_0x5b3245(0x126)][_0x5b3245(0x133)](_0x5b3245(0x12d));}),_0x90ed2c;},_0x1824aa[_0x3828a3(0xef)]=function(_0xfa5d70){const _0x5e44ac=_0x3828a3;return!(!this[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||!_0xfa5d70[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||this[_0x5e44ac(0xc7)](_0x5e44ac(0x10c))!=_0xfa5d70[_0x5e44ac(0xc7)](_0x5e44ac(0x10c)));},_0x1824aa;}(_0x3c8f6a,_0x2fde86,_0x5a3b40);}(_0x5b0182,_0x3df093,_0xfd8efb,_0x490909)}),_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0xd9)]({'model':_0x128fca(0xcb),'view':_0x5833a5=>function(_0x3e9295,_0x42570a){const _0x5fd429=_0x128fca,_0x364a40=_0x3e9295[_0x5fd429(0xca)][_0x5fd429(0x13a)](':')[0x2];if(_0x364a40===_0x42570a[_0x5fd429(0xf4)])return null;const _0x5638be=_0x42570a[_0x5fd429(0x13f)](_0x364a40);if(!_0x5638be)return{'id':_0x364a40,'classes':[]};return{'id':_0x364a40,'classes':[_0x5fd429(0xf5),_0x5638be[_0x5fd429(0x143)][_0x5fd429(0xe5)]()],'attributes':{'data-session-id':_0x364a40},'priority':0x7d0+_0x5638be[_0x5fd429(0xd2)]};}(_0x5833a5,_0xfd8efb)}),function(_0x207c3d){const _0x4f1119=_0x128fca,_0x43417a=_0x207c3d[_0x4f1119(0x111)],_0x4ac599=new Map(),_0x2c6ca6=_0x207c3d[_0x4f1119(0x138)][_0x4f1119(0xec)](_0x1fb713);_0x43417a[_0x4f1119(0x134)]['on'](_0x4f1119(0x148),(_0x229d57,_0x364bdd,_0x2ecd62,_0x6911f9)=>{const _0x49a473=_0x4f1119;if(!_0x6911f9&&_0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)]))return _0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)])[_0x49a473(0x149)](),void _0x4ac599[_0x49a473(0x114)](_0x364bdd[_0x49a473(0xee)]);const _0x1f8d01=_0x364bdd[_0x49a473(0xee)][_0x49a473(0x13a)](':')[0x2];if(_0x1f8d01===_0x2c6ca6[_0x49a473(0xf4)])return;const _0x1cab5b=_0x49a473(0xf8)+_0x1f8d01;_0x43417a[_0x49a473(0x134)][_0x49a473(0x146)](_0x1cab5b)&&_0x207c3d[_0x49a473(0x103)][_0x49a473(0xc2)](_0x1cab5b),_0x364bdd['on'](_0x49a473(0xcf),(_0xde64ff,_0x478abf,_0x8359b5)=>{const _0x363140=_0x49a473;if(_0x363140(0xdb)!=_0x478abf[_0x363140(0xd5)][_0x363140(0xdd)]&&_0x363140(0xdb)==_0x364bdd[_0x363140(0x137)]()[_0x363140(0xd5)][_0x363140(0xdd)]&&!_0x4ac599[_0x363140(0x146)](_0x364bdd[_0x363140(0xee)])){const _0x3f2b01=_0x43417a[_0x363140(0xf2)][_0x363140(0xf0)](_0x8359b5[_0x363140(0xe1)]);if(_0x3f2b01){const _0x424650=_0x39fe1f[_0x363140(0x117)](_0x3f2b01);_0x4ac599[_0x363140(0xc1)](_0x364bdd[_0x363140(0xee)],_0x424650),_0x424650['on'](_0x363140(0xcf),(_0x281a86,_0x5dfe89,_0x30f25c)=>{const _0x24f8f5=_0x363140;if(_0x24f8f5(0xdb)==_0x424650[_0x24f8f5(0xd5)][_0x24f8f5(0xdd)]){const _0x4b9dfc=_0x43417a[_0x24f8f5(0xf2)][_0x24f8f5(0xf0)](_0x30f25c[_0x24f8f5(0xe1)]);_0x4b9dfc?(_0x424650[_0x24f8f5(0x10e)]=_0x4b9dfc[_0x24f8f5(0x10e)],_0x424650[_0x24f8f5(0x130)]=_0x4b9dfc[_0x24f8f5(0x130)]):(_0x4ac599[_0x24f8f5(0x114)](_0x364bdd[_0x24f8f5(0xee)]),_0x424650[_0x24f8f5(0x149)]());}});}}});}),_0x43417a[_0x4f1119(0x110)]['on'](_0x4f1119(0x128),()=>{const _0x4b896b=_0x4f1119;_0x4ac599[_0x4b896b(0x127)]>0x0&&_0x43417a[_0x4b896b(0x12a)]({'isUndoable':!0x1},_0x5851d6=>{const _0x415f30=_0x4b896b;for(const [_0x1d8a91,_0x36c38c]of _0x4ac599)_0x415f30(0xdb)==_0x43417a[_0x415f30(0x134)][_0x415f30(0xec)](_0x1d8a91)[_0x415f30(0x137)]()[_0x415f30(0xd5)][_0x415f30(0xdd)]&&(Z(_0x1d8a91[_0x415f30(0x13a)](':')[0x2],_0x36c38c[_0x415f30(0x14a)](),_0x43417a,_0x5851d6),_0x36c38c[_0x415f30(0x149)]());_0x4ac599[_0x415f30(0x101)]();});});}(_0x490909),this[_0x128fca(0xe9)][_0x128fca(0xdc)](_0x178a35[_0x128fca(0x110)],_0x128fca(0xf1),(_0x53ff10,{key:_0x229b31})=>{const _0x4de026=_0x128fca;_0x4de026(0xcc)===_0x229b31&&function(_0x273500){const _0x4ec599=_0x4de026;_0x273500[_0x4ec599(0x103)][_0x4ec599(0x106)][_0x4ec599(0x128)](_0x1b541d=>{const _0x1f1bb0=_0x4ec599;for(const _0x920288 of _0x273500[_0x1f1bb0(0x111)][_0x1f1bb0(0x134)]){if(!_0x920288[_0x1f1bb0(0xee)][_0x1f1bb0(0xe7)](_0x1f1bb0(0xd1)))continue;const _0x5749e9=_0x273500[_0x1f1bb0(0x103)][_0x1f1bb0(0x13b)][_0x1f1bb0(0x131)](_0x920288[_0x1f1bb0(0xee)]);if(_0x5749e9){for(const _0x1d9910 of _0x5749e9)_0x1b541d[_0x1f1bb0(0xd3)](_0x1f1bb0(0x12d),_0x1d9910);}}});}(_0x490909);},{'useCapture':!0x0});}[_0x3d0427(0x119)](){const _0x9ea5f6=_0x3d0427,_0x1d5236=this[_0x9ea5f6(0x11d)],_0xcec3e3=_0x1d5236[_0x9ea5f6(0x104)][_0x9ea5f6(0xec)](_0x9ea5f6(0x113));_0xcec3e3&&_0x1d5236[_0x9ea5f6(0x111)]['on'](_0x9ea5f6(0x12f),(_0x2a583b,_0x169030)=>{const _0x6f770f=_0x9ea5f6,_0x3d93a4=_0x169030[0x0];if(!_0x3d93a4[_0x6f770f(0xe0)])return;if(_0x6f770f(0x11c)!=_0x3d93a4[_0x6f770f(0xc3)]||!_0x3d93a4[_0x6f770f(0xee)][_0x6f770f(0xe7)](_0x6f770f(0x129)))return;const _0x474f49=_0x3d93a4[_0x6f770f(0xcd)];_0xcec3e3[_0x6f770f(0xfa)][_0x6f770f(0x146)](_0x474f49)&&(_0x3d93a4[_0x6f770f(0x136)]=_0x3d93a4[_0x6f770f(0xe3)]?_0x1d5236[_0x6f770f(0x111)][_0x6f770f(0xfd)](_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x10e)],_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x130)]):null);},{'priority':_0x9ea5f6(0x120)});}[_0x3d0427(0xd0)](){const _0x444d0b=_0x3d0427;return this[_0x444d0b(0xe9)][_0x444d0b(0x108)](),super[_0x444d0b(0xd0)]();}[_0x3d0427(0xc6)](){const _0x4f67e0=_0x3d0427,_0x1978bc=this[_0x4f67e0(0x11d)],_0x2befb0=_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x110)],_0x18c553=_0x1978bc[_0x4f67e0(0x138)][_0x4f67e0(0xec)](_0x1fb713);_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x12a)]({'isUndoable':!0x1},_0x1f112f=>{const _0x1dd8c5=_0x4f67e0,_0x3f50a3=_0x1dd8c5(0x11f)+_0x18c553[_0x1dd8c5(0xf4)],_0x45cb7e=_0x1dd8c5(0xf8)+_0x18c553[_0x1dd8c5(0xf4)],_0x439d52=_0x1978bc[_0x1dd8c5(0x111)][_0x1dd8c5(0x134)][_0x1dd8c5(0x146)](_0x3f50a3);_0x1978bc[_0x1dd8c5(0x103)][_0x1dd8c5(0x106)][_0x1dd8c5(0x12b)]?Z(_0x18c553[_0x1dd8c5(0xf4)],_0x2befb0[_0x1dd8c5(0xce)][_0x1dd8c5(0xc0)](),_0x1978bc[_0x1dd8c5(0x111)],_0x1f112f):_0x439d52&&(_0x1f112f[_0x1dd8c5(0xfe)](_0x3f50a3),_0x1f112f[_0x1dd8c5(0xfe)](_0x45cb7e));});}}function Z(_0x4dc61d,_0x142e2b,_0x408e18,_0x18679f){const _0x49ee25=_0x3d0427,_0x2c9f37=_0x49ee25(0x11f)+_0x4dc61d,_0x2b12b2=_0x49ee25(0xf8)+_0x4dc61d,_0x4e963e=_0x142e2b[_0x49ee25(0x102)]();let _0x315709=_0x142e2b[_0x49ee25(0x10e)];if(_0x4e963e&&_0x4e963e['is'](_0x49ee25(0x10d),_0x49ee25(0xd8))){const _0xd048f6=function(_0x24fc6d,_0x24374e){const _0x1b10a5=_0x49ee25;for(const _0x1674d9 of _0x24fc6d[_0x1b10a5(0xf9)]())if(_0x24374e[_0x1b10a5(0xf2)][_0x1b10a5(0x10b)](_0x1674d9,_0x1b10a5(0xed)))return _0x1674d9;}(_0x142e2b,_0x408e18);_0xd048f6&&(_0x315709=_0xd048f6,_0x142e2b=_0x18679f[_0x49ee25(0xfd)](_0x315709));}const _0x53f674=_0x18679f[_0x49ee25(0xfd)](_0x315709);_0x408e18[_0x49ee25(0x134)][_0x49ee25(0x146)](_0x2c9f37)?(_0x18679f[_0x49ee25(0xeb)](_0x2c9f37,{'range':_0x142e2b}),_0x18679f[_0x49ee25(0xeb)](_0x2b12b2,{'range':_0x53f674})):(_0x18679f[_0x49ee25(0x144)](_0x2c9f37,{'range':_0x142e2b,'usingOperation':!0x0}),_0x18679f[_0x49ee25(0x144)](_0x2b12b2,{'range':_0x53f674,'usingOperation':!0x0}));}