@ckeditor/ckeditor5-real-time-collaboration 47.7.5 → 47.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x521449=_0x2357;(function(_0x203e12,_0xa46549){const _0x70ee38=_0x2357,_0xd54501=_0x203e12();while(!![]){try{const _0x3e168d=parseInt(_0x70ee38(0xc5))/0x1+parseInt(_0x70ee38(0x90))/0x2*(-parseInt(_0x70ee38(0xbe))/0x3)+-parseInt(_0x70ee38(0xcb))/0x4+parseInt(_0x70ee38(0x9d))/0x5+-parseInt(_0x70ee38(0xa2))/0x6*(-parseInt(_0x70ee38(0xb5))/0x7)+parseInt(_0x70ee38(0xa7))/0x8+-parseInt(_0x70ee38(0xc6))/0x9*(-parseInt(_0x70ee38(0x8a))/0xa);if(_0x3e168d===_0xa46549)break;else _0xd54501['push'](_0xd54501['shift']());}catch(_0x24800e){_0xd54501['push'](_0xd54501['shift']());}}}(_0x28f3,0xa0db7));import{ContextPlugin as _0x57d84f}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3d2c28,CKEditorError as _0x40be91}from'ckeditor5/src/utils.js';function _0x28f3(){const _0x3cd0ab=['47673BWymHm','cloudServices.requestTimeout','websocketgateway-missing-websocket-url','WebSocketGateway','removeFromReconnectionStack','1661052iOiCwn','from','code','set','connect','function','error','websocketgateway-plugin-already-registered','isInReconnectionStack','200wdwnrX','_domEmitter','plugins','CONNECTED','websocketgateway-invalid-plugin-interface','reconnect','2biGuBg','change:me','offline','catch','constructor','destroy','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','then','cloudservices-reconnection-error','init','state','stopListening','CONNECTING','2284220wBwQTq','addToReconnectionStack','webSocketUrl','pluginName','_isBrowserOffline','636beOtvO','has','define','token','disconnect','2559888IJPbRb','showWarning','config','connection','_reconnectionStack','context','_reconnect','DISCONNECTED','requires','Connected\x20users\x20limit\x20exceeded','add','real-time-collaboration','isPremiumPlugin','CloudServices','52703ilmPUs','bind','isOfficialPlugin','websocketgateway-missing-token','initialReconnectionInterval','online','listenTo','connected','_shouldPluginsReconnect','3069324DsZCtL','cloudservices-init','get','delete','all','cloudServices.connectionTimeout','limitExceeded','416398KzgLPl'];_0x28f3=function(){return _0x3cd0ab;};return _0x28f3();}import{WebSocketGateway as _0x8da628,WEB_SOCKET_GATEWAY_STATES as _0x52b5a7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5a2d52}from'ckeditor5/src/ui.js';function _0x2357(_0x396f50,_0xe4fc10){const _0x28f31e=_0x28f3();return _0x2357=function(_0x23576e,_0x26d203){_0x23576e=_0x23576e-0x83;let _0x2309d9=_0x28f31e[_0x23576e];return _0x2309d9;},_0x2357(_0x396f50,_0xe4fc10);}export class WebSocketGateway extends _0x57d84f{static [_0x521449(0xc9)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x8da628)());static [_0x521449(0xb9)]=0x3e8;[_0x521449(0xaa)];[_0x521449(0xab)];[_0x521449(0xbd)];[_0x521449(0x8b)];static get[_0x521449(0xaf)](){const _0x59ca70=_0x521449;return[_0x59ca70(0xb4),_0x5a2d52];}static get[_0x521449(0xa0)](){const _0x465403=_0x521449;return _0x465403(0xc9);}static get[_0x521449(0xb7)](){return!0x0;}static get[_0x521449(0xb3)](){return!0x0;}constructor(_0xdb1232){const _0x2da3fc=_0x521449;super(_0xdb1232),this[_0x2da3fc(0x84)](_0x2da3fc(0x9a),_0x52b5a7[_0x2da3fc(0x8d)]),this[_0x2da3fc(0x84)](_0x2da3fc(0xa1),!0x1),this[_0x2da3fc(0xab)]=new Set(),this[_0x2da3fc(0xbd)]=!0x1,this[_0x2da3fc(0x8b)]=new(_0x3d2c28())();}[_0x521449(0x99)](){const _0x196d72=_0x521449,_0x484ed8=this[_0x196d72(0xac)],_0x2a6ebb=_0x484ed8[_0x196d72(0x8c)][_0x196d72(0xc0)](_0x196d72(0xb4)),_0x3fe8bc=_0x484ed8[_0x196d72(0x8c)][_0x196d72(0xc0)](_0x5a2d52);if(!_0x2a6ebb[_0x196d72(0xa5)])throw new _0x40be91(_0x196d72(0xb8),this);if(!_0x2a6ebb[_0x196d72(0x9f)])throw new _0x40be91(_0x196d72(0xc8),this);return this[_0x196d72(0x8b)][_0x196d72(0xbb)](window,_0x196d72(0x92),()=>this[_0x196d72(0xa1)]=!0x0),this[_0x196d72(0x8b)][_0x196d72(0xbb)](window,_0x196d72(0xba),()=>this[_0x196d72(0xa1)]=!0x1),this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xa4)](_0x196d72(0xc3),0xa),this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xa4)](_0x196d72(0xc7),0x14),WebSocketGateway[_0x196d72(0xc9)][_0x196d72(0x85)](_0x2a6ebb[_0x196d72(0xa5)],_0x2a6ebb[_0x196d72(0x9f)],{'timeout':0x3e8*this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xc0)](_0x196d72(0xc3)),'requestTimeout':0x3e8*this[_0x196d72(0xac)][_0x196d72(0xa9)][_0x196d72(0xc0)](_0x196d72(0xc7))})[_0x196d72(0x97)](_0x5e4345=>{const _0x20c053=_0x196d72;if(this[_0x20c053(0xaa)]=_0x5e4345,this[_0x20c053(0xb6)](_0x20c053(0x9a))['to'](_0x5e4345,_0x20c053(0x9a),this,_0x20c053(0xa1),(_0x1e9d9c,_0xbf09a0)=>(_0x20c053(0xbc)!==_0x1e9d9c&&(this[_0x20c053(0xbd)]=!0x0),_0xbf09a0||_0x1e9d9c!==_0x52b5a7[_0x20c053(0x8d)]?_0x52b5a7[_0x20c053(0xae)]:this[_0x20c053(0x9a)]==_0x52b5a7[_0x20c053(0xae)]&&this[_0x20c053(0xbd)]?(this[_0x20c053(0xbd)]=!0x1,this[_0x20c053(0xad)](),_0x52b5a7[_0x20c053(0x9c)]):_0x52b5a7[_0x20c053(0x8d)])),this[_0x20c053(0xaa)]['on'](_0x20c053(0x87),(_0x3c980c,_0xe9b6cd)=>{const _0x2c247e=_0x20c053;if(_0x2c247e(0xc4)!==_0xe9b6cd[_0x2c247e(0x83)])throw console[_0x2c247e(0x87)](_0xe9b6cd),new _0x40be91(_0x2c247e(0xbf),null,{'originalError':_0xe9b6cd});_0x3fe8bc[_0x2c247e(0xa8)](_0x2c247e(0x96),{'title':_0x2c247e(0xb0),'namespace':_0x2c247e(0xb2)});}),!_0x5e4345['me'])return new Promise(_0x364ffd=>_0x5e4345['on'](_0x20c053(0x91),_0x364ffd));})[_0x196d72(0x93)](_0x4e3de2=>{const _0x2107b7=_0x196d72;throw console[_0x2107b7(0x87)](_0x4e3de2),new _0x40be91(_0x2107b7(0xbf),null,{'originalError':_0x4e3de2});});}[_0x521449(0x9e)](_0x150442){const _0x317625=_0x521449;if(_0x317625(0x86)!=typeof _0x150442[_0x317625(0x8f)])throw new _0x40be91(_0x317625(0x8e),this);if(this[_0x317625(0x89)](_0x150442))throw new _0x40be91(_0x317625(0x88),this,{'name':_0x150442[_0x317625(0x94)][_0x317625(0xa0)]});this[_0x317625(0xab)][_0x317625(0xb1)](_0x150442);}[_0x521449(0xca)](_0x1be7bf){const _0x28e220=_0x521449;this[_0x28e220(0xab)][_0x28e220(0xc1)](_0x1be7bf);}[_0x521449(0x89)](_0x4689f3){const _0x8b20b2=_0x521449;return this[_0x8b20b2(0xab)][_0x8b20b2(0xa3)](_0x4689f3);}[_0x521449(0xad)](){const _0x5b0687=_0x521449;return this[_0x5b0687(0xaa)][_0x5b0687(0x8f)]()[_0x5b0687(0x97)](()=>Promise[_0x5b0687(0xc2)](Array[_0x5b0687(0xcc)](this[_0x5b0687(0xab)],_0xd77d81=>_0xd77d81[_0x5b0687(0x8f)]())))[_0x5b0687(0x97)](()=>this[_0x5b0687(0x9a)]=_0x52b5a7[_0x5b0687(0x8d)])[_0x5b0687(0x93)](_0x10e5f7=>{const _0xf3c8f=_0x5b0687;throw console[_0xf3c8f(0x87)](_0x10e5f7),new _0x40be91(_0xf3c8f(0x98),this[_0xf3c8f(0xac)]);});}[_0x521449(0xa6)](){const _0x89000c=_0x521449;this[_0x89000c(0xaa)]&&this[_0x89000c(0xaa)][_0x89000c(0xa6)](),this[_0x89000c(0x9a)]=_0x52b5a7[_0x89000c(0xae)],this[_0x89000c(0x8b)][_0x89000c(0x9b)]();}[_0x521449(0x95)](){const _0x349080=_0x521449;this[_0x349080(0xa6)](),super[_0x349080(0x95)]();}}
23
+ const _0x36347a=_0x3ea2;function _0xa472(){const _0x1418bf=['cloudServices.requestTimeout','plugins','showWarning','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','initialReconnectionInterval','126yiVYIb','16WrGjiD','limitExceeded','CloudServices','websocketgateway-plugin-already-registered','context','change:me','get','config','WebSocketGateway','7111202OoZAbF','offline','real-time-collaboration','CONNECTING','listenTo','define','24zAUJoo','add','websocketgateway-missing-token','has','6149296lrmBVA','state','isInReconnectionStack','isOfficialPlugin','destroy','_isBrowserOffline','36045ekObVY','error','token','207945vVarNb','then','reconnect','44294mgrlMg','_reconnectionStack','code','_reconnect','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','pluginName','set','function','bind','isPremiumPlugin','requires','webSocketUrl','cloudServices.connectionTimeout','addToReconnectionStack','connected','4655080iNHRPw','cloudservices-reconnection-error','stopListening','catch','from','all','constructor','delete','websocketgateway-missing-websocket-url','CONNECTED','_domEmitter','Connected\x20users\x20limit\x20exceeded','cloudservices-init','disconnect','connect','DISCONNECTED','init','online','connection','12369096ANSXKw','_shouldPluginsReconnect'];_0xa472=function(){return _0x1418bf;};return _0xa472();}(function(_0x321ba0,_0x240dc8){const _0x5453c4=_0x3ea2,_0x484186=_0x321ba0();while(!![]){try{const _0x5959e0=parseInt(_0x5453c4(0x16f))/0x1*(-parseInt(_0x5453c4(0x19a))/0x2)+-parseInt(_0x5453c4(0x169))/0x3*(-parseInt(_0x5453c4(0x15f))/0x4)+parseInt(_0x5453c4(0x16c))/0x5*(-parseInt(_0x5453c4(0x199))/0x6)+parseInt(_0x5453c4(0x159))/0x7+-parseInt(_0x5453c4(0x163))/0x8+parseInt(_0x5453c4(0x192))/0x9+parseInt(_0x5453c4(0x17f))/0xa;if(_0x5959e0===_0x240dc8)break;else _0x484186['push'](_0x484186['shift']());}catch(_0x5ca6d7){_0x484186['push'](_0x484186['shift']());}}}(_0xa472,0xe3675));import{ContextPlugin as _0x2b892a}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xce88e7,CKEditorError as _0x3ecb8e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x37adc4,WEB_SOCKET_GATEWAY_STATES as _0x3cece8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x95a03e}from'ckeditor5/src/ui.js';function _0x3ea2(_0x4a848d,_0x249e6b){const _0xa472e9=_0xa472();return _0x3ea2=function(_0x3ea24a,_0x51c105){_0x3ea24a=_0x3ea24a-0x152;let _0x252312=_0xa472e9[_0x3ea24a];return _0x252312;},_0x3ea2(_0x4a848d,_0x249e6b);}export class WebSocketGateway extends _0x2b892a{static [_0x36347a(0x158)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x37adc4)());static [_0x36347a(0x198)]=0x3e8;[_0x36347a(0x191)];[_0x36347a(0x170)];[_0x36347a(0x193)];[_0x36347a(0x189)];static get[_0x36347a(0x17a)](){const _0x355ec4=_0x36347a;return[_0x355ec4(0x152),_0x95a03e];}static get[_0x36347a(0x175)](){const _0x328854=_0x36347a;return _0x328854(0x158);}static get[_0x36347a(0x166)](){return!0x0;}static get[_0x36347a(0x179)](){return!0x0;}constructor(_0x2a7145){const _0x3d39a6=_0x36347a;super(_0x2a7145),this[_0x3d39a6(0x176)](_0x3d39a6(0x164),_0x3cece8[_0x3d39a6(0x188)]),this[_0x3d39a6(0x176)](_0x3d39a6(0x168),!0x1),this[_0x3d39a6(0x170)]=new Set(),this[_0x3d39a6(0x193)]=!0x1,this[_0x3d39a6(0x189)]=new(_0xce88e7())();}[_0x36347a(0x18f)](){const _0x24a5f6=_0x36347a,_0x4c9c5f=this[_0x24a5f6(0x154)],_0x321272=_0x4c9c5f[_0x24a5f6(0x195)][_0x24a5f6(0x156)](_0x24a5f6(0x152)),_0x2a816b=_0x4c9c5f[_0x24a5f6(0x195)][_0x24a5f6(0x156)](_0x95a03e);if(!_0x321272[_0x24a5f6(0x16b)])throw new _0x3ecb8e(_0x24a5f6(0x161),this);if(!_0x321272[_0x24a5f6(0x17b)])throw new _0x3ecb8e(_0x24a5f6(0x187),this);return this[_0x24a5f6(0x189)][_0x24a5f6(0x15d)](window,_0x24a5f6(0x15a),()=>this[_0x24a5f6(0x168)]=!0x0),this[_0x24a5f6(0x189)][_0x24a5f6(0x15d)](window,_0x24a5f6(0x190),()=>this[_0x24a5f6(0x168)]=!0x1),this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x15e)](_0x24a5f6(0x17c),0xa),this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x15e)](_0x24a5f6(0x194),0x14),WebSocketGateway[_0x24a5f6(0x158)][_0x24a5f6(0x18d)](_0x321272[_0x24a5f6(0x16b)],_0x321272[_0x24a5f6(0x17b)],{'timeout':0x3e8*this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x156)](_0x24a5f6(0x17c)),'requestTimeout':0x3e8*this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x156)](_0x24a5f6(0x194))})[_0x24a5f6(0x16d)](_0x17477d=>{const _0xbb9f97=_0x24a5f6;if(this[_0xbb9f97(0x191)]=_0x17477d,this[_0xbb9f97(0x178)](_0xbb9f97(0x164))['to'](_0x17477d,_0xbb9f97(0x164),this,_0xbb9f97(0x168),(_0x19c1b0,_0x55fced)=>(_0xbb9f97(0x17e)!==_0x19c1b0&&(this[_0xbb9f97(0x193)]=!0x0),_0x55fced||_0x19c1b0!==_0x3cece8[_0xbb9f97(0x188)]?_0x3cece8[_0xbb9f97(0x18e)]:this[_0xbb9f97(0x164)]==_0x3cece8[_0xbb9f97(0x18e)]&&this[_0xbb9f97(0x193)]?(this[_0xbb9f97(0x193)]=!0x1,this[_0xbb9f97(0x172)](),_0x3cece8[_0xbb9f97(0x15c)]):_0x3cece8[_0xbb9f97(0x188)])),this[_0xbb9f97(0x191)]['on'](_0xbb9f97(0x16a),(_0x4d0bb5,_0x171c8f)=>{const _0x5dca0e=_0xbb9f97;if(_0x5dca0e(0x19b)!==_0x171c8f[_0x5dca0e(0x171)])throw console[_0x5dca0e(0x16a)](_0x171c8f),new _0x3ecb8e(_0x5dca0e(0x18b),null,{'originalError':_0x171c8f});_0x2a816b[_0x5dca0e(0x196)](_0x5dca0e(0x197),{'title':_0x5dca0e(0x18a),'namespace':_0x5dca0e(0x15b)});}),!_0x17477d['me'])return new Promise(_0x48f546=>_0x17477d['on'](_0xbb9f97(0x155),_0x48f546));})[_0x24a5f6(0x182)](_0x5766b4=>{const _0x2f1bee=_0x24a5f6;throw console[_0x2f1bee(0x16a)](_0x5766b4),new _0x3ecb8e(_0x2f1bee(0x18b),null,{'originalError':_0x5766b4});});}[_0x36347a(0x17d)](_0x474d3e){const _0x454e4c=_0x36347a;if(_0x454e4c(0x177)!=typeof _0x474d3e[_0x454e4c(0x16e)])throw new _0x3ecb8e(_0x454e4c(0x173),this);if(this[_0x454e4c(0x165)](_0x474d3e))throw new _0x3ecb8e(_0x454e4c(0x153),this,{'name':_0x474d3e[_0x454e4c(0x185)][_0x454e4c(0x175)]});this[_0x454e4c(0x170)][_0x454e4c(0x160)](_0x474d3e);}[_0x36347a(0x174)](_0x10ded8){const _0x4471ef=_0x36347a;this[_0x4471ef(0x170)][_0x4471ef(0x186)](_0x10ded8);}[_0x36347a(0x165)](_0x1d026a){const _0x417cad=_0x36347a;return this[_0x417cad(0x170)][_0x417cad(0x162)](_0x1d026a);}[_0x36347a(0x172)](){const _0x4521f9=_0x36347a;return this[_0x4521f9(0x191)][_0x4521f9(0x16e)]()[_0x4521f9(0x16d)](()=>Promise[_0x4521f9(0x184)](Array[_0x4521f9(0x183)](this[_0x4521f9(0x170)],_0x2ddd35=>_0x2ddd35[_0x4521f9(0x16e)]())))[_0x4521f9(0x16d)](()=>this[_0x4521f9(0x164)]=_0x3cece8[_0x4521f9(0x188)])[_0x4521f9(0x182)](_0x138275=>{const _0x20cb19=_0x4521f9;throw console[_0x20cb19(0x16a)](_0x138275),new _0x3ecb8e(_0x20cb19(0x180),this[_0x20cb19(0x154)]);});}[_0x36347a(0x18c)](){const _0x28a55e=_0x36347a;this[_0x28a55e(0x191)]&&this[_0x28a55e(0x191)][_0x28a55e(0x18c)](),this[_0x28a55e(0x164)]=_0x3cece8[_0x28a55e(0x18e)],this[_0x28a55e(0x189)][_0x28a55e(0x181)]();}[_0x36347a(0x167)](){const _0xc66437=_0x36347a;this[_0xc66437(0x18c)](),super[_0xc66437(0x167)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5933fd=_0x5bac;function _0x5bac(_0x54f42f,_0x46c89b){var _0x540e5a=_0x540e();return _0x5bac=function(_0x5bac7a,_0x26c0ce){_0x5bac7a=_0x5bac7a-0x100;var _0xc99981=_0x540e5a[_0x5bac7a];return _0xc99981;},_0x5bac(_0x54f42f,_0x46c89b);}(function(_0x84b69e,_0xeb638d){var _0x592aff=_0x5bac,_0xf68509=_0x84b69e();while(!![]){try{var _0x3cf7ef=parseInt(_0x592aff(0x10b))/0x1+parseInt(_0x592aff(0x105))/0x2*(parseInt(_0x592aff(0x104))/0x3)+-parseInt(_0x592aff(0x107))/0x4*(-parseInt(_0x592aff(0x10d))/0x5)+-parseInt(_0x592aff(0x100))/0x6+parseInt(_0x592aff(0x102))/0x7+-parseInt(_0x592aff(0x10a))/0x8*(parseInt(_0x592aff(0x10e))/0x9)+parseInt(_0x592aff(0x10f))/0xa*(-parseInt(_0x592aff(0x101))/0xb);if(_0x3cf7ef===_0xeb638d)break;else _0xf68509['push'](_0xf68509['shift']());}catch(_0x2d40af){_0xf68509['push'](_0xf68509['shift']());}}}(_0x540e,0x46cc1));import{Plugin as _0x2f8b32}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1161f5}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x540e(){var _0x2bfbaf=['9TqeDZq','3068900QtHSAc','2348130nrmQjY','22TUDDHj','3134376WnKDzw','isOfficialPlugin','1699647rVTJlq','2QzqUJs','pluginName','8sFtNtg','RealTimeCollaborativeEditing','requires','415976lLXRQg','202330BhNQqE','isPremiumPlugin','326175PrjBRW'];_0x540e=function(){return _0x2bfbaf;};return _0x540e();}export class RealTimeCollaborativeEditing extends _0x2f8b32{static get[_0x5933fd(0x109)](){return[_0x1161f5];}static get[_0x5933fd(0x106)](){var _0x5cd34a=_0x5933fd;return _0x5cd34a(0x108);}static get[_0x5933fd(0x103)](){return!0x0;}static get[_0x5933fd(0x10c)](){return!0x0;}}
23
+ var _0x3ec992=_0x11d6;function _0x1133(){var _0xa5a88d=['isOfficialPlugin','6mYlUzm','29688hvxyTb','638840hOxqNA','822076LMUDbD','14LongvH','5zUqBmp','1450803YWYzFM','pluginName','1628JNRvLv','RealTimeCollaborativeEditing','352251fNPbSG','requires','22822BCTHqV','110sATuUu','isPremiumPlugin','3215541hSFBau'];_0x1133=function(){return _0xa5a88d;};return _0x1133();}function _0x11d6(_0x1d61c0,_0x3ff89b){var _0x113308=_0x1133();return _0x11d6=function(_0x11d6c4,_0x3746fc){_0x11d6c4=_0x11d6c4-0x179;var _0x43ec3b=_0x113308[_0x11d6c4];return _0x43ec3b;},_0x11d6(_0x1d61c0,_0x3ff89b);}(function(_0x5bd598,_0x10fa18){var _0x5df065=_0x11d6,_0x141ed2=_0x5bd598();while(!![]){try{var _0x40820d=parseInt(_0x5df065(0x180))/0x1*(parseInt(_0x5df065(0x188))/0x2)+-parseInt(_0x5df065(0x182))/0x3+parseInt(_0x5df065(0x17f))/0x4*(parseInt(_0x5df065(0x181))/0x5)+-parseInt(_0x5df065(0x17c))/0x6*(parseInt(_0x5df065(0x17a))/0x7)+parseInt(_0x5df065(0x17e))/0x8+-parseInt(_0x5df065(0x186))/0x9*(-parseInt(_0x5df065(0x189))/0xa)+parseInt(_0x5df065(0x184))/0xb*(parseInt(_0x5df065(0x17d))/0xc);if(_0x40820d===_0x10fa18)break;else _0x141ed2['push'](_0x141ed2['shift']());}catch(_0x5ab8df){_0x141ed2['push'](_0x141ed2['shift']());}}}(_0x1133,0x48f5d));import{Plugin as _0x38bbdd}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x10f045}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x38bbdd{static get[_0x3ec992(0x187)](){return[_0x10f045];}static get[_0x3ec992(0x183)](){var _0x3ded89=_0x3ec992;return _0x3ded89(0x185);}static get[_0x3ec992(0x17b)](){return!0x0;}static get[_0x3ec992(0x179)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1643fa=_0x85ee;(function(_0x58b6ef,_0x1cf68b){const _0x2b733c=_0x85ee,_0x2ec373=_0x58b6ef();while(!![]){try{const _0x31e399=parseInt(_0x2b733c(0x21b))/0x1+parseInt(_0x2b733c(0x1f5))/0x2+parseInt(_0x2b733c(0x207))/0x3*(parseInt(_0x2b733c(0x1e5))/0x4)+parseInt(_0x2b733c(0x1fd))/0x5+-parseInt(_0x2b733c(0x1cc))/0x6+-parseInt(_0x2b733c(0x237))/0x7*(parseInt(_0x2b733c(0x211))/0x8)+parseInt(_0x2b733c(0x1fb))/0x9*(parseInt(_0x2b733c(0x1e9))/0xa);if(_0x31e399===_0x1cf68b)break;else _0x2ec373['push'](_0x2ec373['shift']());}catch(_0x27bbab){_0x2ec373['push'](_0x2ec373['shift']());}}}(_0x29ff,0xc385a));import{Plugin as _0x71054b}from'ckeditor5/src/core.js';import{version as _0x32b3ea}from'ckeditor5/src/utils.js';import{Users as _0x4c10a5}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x1faf2e}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x14d2ac}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x6700b1}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3b0fb7,RevisionHistoryService as _0x4fbf41,User as _0x4f42e3,WEB_SOCKET_GATEWAY_STATES as _0x1a414e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x85ee(_0x4d6f02,_0x7071c1){const _0x29ff20=_0x29ff();return _0x85ee=function(_0x85eead,_0x47498c){_0x85eead=_0x85eead-0x1c7;let _0xefa17b=_0x29ff20[_0x85eead];return _0xefa17b;},_0x85ee(_0x4d6f02,_0x7071c1);}function _0x29ff(){const _0x286e1c=['18911ofRdAE','diffData','affectsData','serverHistory','editor','addUser','remove','addRevisionData','data','_fetchMissingUsers','has','revisionsUpdated','_fixRevision','RevisionHistory','collaboration.channelId','setRevisionData','code','RevisionHistoryService','isPremiumPlugin','toVersion','isBundleUploaded','isEnabled','change:_isPendingUpdate','cloudServices.bundleVersion','catch','connect','repository','_revisions','3817737GbTFPY','getRevision','buildRevisionData','authorsIds','cloud-services-internal-error:\x20Not\x20connected.','CONNECTED','change:_isConnected','_revisionTracker','from','5824632QLjqVq','_bufferedUpdates','connection','pluginName','config','startsWith','reconnect','authors','_oldOffset','cloud-services-internal-error:\x20Request\x20timeout.','isEmptyCurrent','RevisionTracker','type','_startingVersion','CloudServicesRevisionHistoryAdapter','setSource','reverse','_isConnected','getMany','createdAt','getOperations','currentRevision','requires','_isPendingUpdate','adapter','1894588vNjsky','map','get','marker','10yqgHIC','reInit','bind','fromVersion','add','wrongRequestId','_waitForServiceReady','connected','_getLatestVersion','getRevisions','_bufferUpdate','once','518858HdKxXK','destroy','off','_revisionHistoryService','isConnected','_offset','1405323pUfNbB','_getLatestVersionFromServerOperations','4676200vhxibu','getUser','state','init','_handleRevisionsUpdate','then','_lastRequestId','addToReconnectionStack','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','keys','6nWpBDV','listenTo','_createCurrentRevision','400','isOfficialPlugin','_preventResendingRevisionData','length','creatorId','_revisionDataBuilder','updateRevisions','8cukUeG','plugins','size','sessionId','message','max','baseVersion','_update','sendBufferedUpdates','_handleReconnectionError'];_0x29ff=function(){return _0x286e1c;};return _0x29ff();}export class CloudServicesRevisionHistoryAdapter extends _0x71054b{static [_0x1643fa(0x22c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4fbf41)());[_0x1643fa(0x203)];[_0x1643fa(0x1ca)];[_0x1643fa(0x1f8)];[_0x1643fa(0x1d4)];static get[_0x1643fa(0x1e2)](){const _0x4e73d8=_0x1643fa;return[_0x14d2ac,_0x1faf2e,_0x4e73d8(0x228),_0x6700b1,_0x4c10a5];}static get[_0x1643fa(0x1cf)](){const _0x57ef2b=_0x1643fa;return _0x57ef2b(0x1da);}static get[_0x1643fa(0x20b)](){return!0x0;}static get[_0x1643fa(0x22d)](){return!0x0;}constructor(_0x3772ef){const _0x68d182=_0x1643fa;super(_0x3772ef);const _0x47f638=this[_0x68d182(0x21f)][_0x68d182(0x1d0)][_0x68d182(0x1e7)](_0x68d182(0x229));this[_0x68d182(0x203)]=null,this[_0x68d182(0x1ca)]=this[_0x68d182(0x21f)][_0x68d182(0x212)][_0x68d182(0x1e7)](_0x68d182(0x1d7)),this[_0x68d182(0x1f8)]=new CloudServicesRevisionHistoryAdapter[(_0x68d182(0x22c))](_0x47f638);}async[_0x1643fa(0x200)](){const _0x5ef4ae=_0x1643fa,_0xb0bb0d=this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x212)][_0x5ef4ae(0x1e7)](_0x1faf2e),_0x5d4d49=_0xb0bb0d[_0x5ef4ae(0x21e)],_0x21b738=this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x212)][_0x5ef4ae(0x1e7)](_0x14d2ac);this[_0x5ef4ae(0x1ca)][_0x5ef4ae(0x1db)]({'history':_0x5d4d49,'getLatestVersion':()=>this[_0x5ef4ae(0x1f1)](),'getCurrentRevisionId':()=>_0xb0bb0d[_0x5ef4ae(0x214)]});const _0x321e10=this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x1d0)][_0x5ef4ae(0x1e7)](_0x5ef4ae(0x232))||_0x32b3ea,_0x3bf874=await _0x3b0fb7[_0x5ef4ae(0x22f)](_0x21b738[_0x5ef4ae(0x1ce)],_0x321e10);this[_0x5ef4ae(0x21f)][_0x5ef4ae(0x212)][_0x5ef4ae(0x1e7)](_0x5ef4ae(0x228))[_0x5ef4ae(0x1e4)]={'getRevision':async({revisionId:_0x807c8f})=>(await this[_0x5ef4ae(0x1ef)](),await this[_0x5ef4ae(0x1f8)][_0x5ef4ae(0x238)](_0x807c8f)),'updateRevisions':async _0x4f72e4=>{const _0x338fac=_0x5ef4ae;await this[_0x338fac(0x1ef)]();const _0x1410cf=this[_0x338fac(0x1ca)][_0x338fac(0x1e1)];if(_0x3bf874&&0x1===_0x4f72e4[_0x338fac(0x20d)]&&_0x4f72e4[0x0]['id']===_0x1410cf['id'])return _0x4f72e4;for(const _0x1f4db1 of _0x4f72e4)_0x1f4db1['id']===_0x1410cf['id']&&(_0x1f4db1[_0x338fac(0x1d6)]=_0x1f4db1[_0x338fac(0x1ec)]===_0x1f4db1[_0x338fac(0x22e)]);return this[_0x338fac(0x1f8)][_0x338fac(0x210)](_0x4f72e4,this[_0x338fac(0x203)])[_0x338fac(0x202)](_0x58b1f7=>(this[_0x338fac(0x203)]=_0x58b1f7,_0x4f72e4))[_0x338fac(0x233)](_0x42a035=>{const _0x4c9b42=_0x338fac;if(st(_0x42a035)||_0x4c9b42(0x20a)===_0x42a035[_0x4c9b42(0x22b)]&&void 0x0!==_0x42a035[_0x4c9b42(0x223)][_0x4c9b42(0x1ee)]){for(const _0x4310a3 of _0x4f72e4){!this[_0x4c9b42(0x1ca)][_0x4c9b42(0x235)][_0x4c9b42(0x238)](_0x4310a3['id'])||this[_0x4c9b42(0x1ca)][_0x4c9b42(0x1f3)](_0x4310a3['id'],_0x4310a3,!0x1);}if(st(_0x42a035))throw _0x42a035;return _0x4f72e4;}throw _0x42a035;});}},this[_0x5ef4ae(0x208)](this[_0x5ef4ae(0x1f8)],_0x5ef4ae(0x226),(_0x5ba219,{revisionsData:_0x11fb2c,requestId:_0x496c19})=>{const _0x20effe=_0x5ef4ae;Math[_0x20effe(0x216)](..._0x11fb2c[_0x20effe(0x1e6)](_0x282f87=>_0x282f87[_0x20effe(0x22e)]))>this[_0x20effe(0x1fc)]()-0x1?this[_0x20effe(0x1f1)]()[_0x20effe(0x202)](()=>{const _0x113088=_0x20effe;this[_0x113088(0x201)](_0x11fb2c,_0x496c19);}):this[_0x20effe(0x201)](_0x11fb2c,_0x496c19);});const {revisions:_0x50e803,requestId:_0x215936}=await this[_0x5ef4ae(0x1f8)][_0x5ef4ae(0x234)](_0x21b738[_0x5ef4ae(0x1ce)]);_0x21b738[_0x5ef4ae(0x204)](this),this[_0x5ef4ae(0x203)]=_0x215936,await this[_0x5ef4ae(0x224)](_0x50e803);for(const _0x7a4b5 of _0x50e803)this[_0x5ef4ae(0x1ca)][_0x5ef4ae(0x222)](_0x7a4b5);this[_0x5ef4ae(0x208)](_0xb0bb0d,_0x5ef4ae(0x1c9),(_0x299c39,_0x3a5ae2,_0x2ef890)=>{const _0x49de61=_0x5ef4ae;_0x2ef890&&(this[_0x49de61(0x1d4)]=_0xb0bb0d[_0x49de61(0x1fa)],_0x299c39[_0x49de61(0x1f7)]());}),this[_0x5ef4ae(0x1ca)][_0x5ef4ae(0x1eb)](_0x5ef4ae(0x230))['to'](_0x21b738,_0x5ef4ae(0x1ff),_0x5e6987=>_0x5e6987===_0x1a414e[_0x5ef4ae(0x1c8)]);}async[_0x1643fa(0x1d2)](){const _0x2d8f49=_0x1643fa,_0x30868d=this[_0x2d8f49(0x21f)][_0x2d8f49(0x212)][_0x2d8f49(0x1e7)](_0x14d2ac),_0x28458b=this[_0x2d8f49(0x21f)][_0x2d8f49(0x212)][_0x2d8f49(0x1e7)](_0x1faf2e),_0x2011b8=async()=>{const _0x28ab7a=_0x2d8f49,_0x233dc6=this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1e1)],_0x345b5f=_0x233dc6['id'],_0x3fe74f=_0x345b5f!==_0x28458b[_0x28ab7a(0x214)];if(_0x3fe74f){const _0x55741e=_0x28458b[_0x28ab7a(0x1fa)]-this[_0x28ab7a(0x1d4)],_0x5ed017=this[_0x28ab7a(0x1fc)]();this[_0x28ab7a(0x1ca)][_0x28ab7a(0x20f)][_0x28ab7a(0x1ea)]();if(_0x233dc6[_0x28ab7a(0x22e)]+_0x55741e!==_0x5ed017){const _0x24fb79=_0x233dc6[_0x28ab7a(0x1ec)]+_0x55741e,_0x493f69=this[_0x28ab7a(0x21f)][_0x28ab7a(0x212)][_0x28ab7a(0x1e7)](_0x4c10a5),_0x36606c=this[_0x28ab7a(0x1ca)][_0x28ab7a(0x239)]({'revision':_0x233dc6,'from':_0x24fb79,'to':_0x5ed017});_0x36606c['id']=_0x233dc6['id'];const _0x25de61=_0x36606c[_0x28ab7a(0x23a)][_0x28ab7a(0x1e6)](_0x3ffdf9=>_0x493f69[_0x28ab7a(0x1fe)](_0x3ffdf9));_0x233dc6[_0x28ab7a(0x218)]({..._0x36606c,'authors':_0x25de61},!0x0),this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1f3)](_0x233dc6['id'],_0x36606c,!0x0);}this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1d9)]=_0x5ed017,(_0x233dc6[_0x28ab7a(0x22e)]===_0x233dc6[_0x28ab7a(0x1ec)]&&!this[_0x28ab7a(0x1ca)][_0x28ab7a(0x1cd)][_0x28ab7a(0x225)](_0x345b5f)&&this[_0x28ab7a(0x1ca)][_0x28ab7a(0x235)][_0x28ab7a(0x236)][_0x28ab7a(0x221)](_0x345b5f),this[_0x28ab7a(0x1ca)][_0x28ab7a(0x209)](_0x5ed017));}const {revisions:_0x920bc4,requestId:_0x46f68f}=await this[_0x28ab7a(0x1f8)][_0x28ab7a(0x1d2)](_0x30868d[_0x28ab7a(0x1ce)],this[_0x28ab7a(0x203)]);_0x3fe74f&&_0x920bc4[_0x28ab7a(0x20d)]>0x0?_0x28458b[_0x28ab7a(0x21a)]():(await this[_0x28ab7a(0x224)](_0x920bc4),this[_0x28ab7a(0x201)](_0x920bc4,_0x46f68f),this[_0x28ab7a(0x1ca)][_0x28ab7a(0x219)]());};return _0x28458b[_0x2d8f49(0x1dd)]?_0x2011b8():new Promise((_0x26d5fe,_0x4e51ac)=>{const _0x4ff344=_0x2d8f49;_0x28458b[_0x4ff344(0x1f4)](_0x4ff344(0x1c9),()=>{const _0x37f75e=_0x4ff344;_0x2011b8()[_0x37f75e(0x202)](_0x26d5fe)[_0x37f75e(0x233)](_0x4e51ac);});});}[_0x1643fa(0x1f6)](){const _0x594519=_0x1643fa;super[_0x594519(0x1f6)]();}async[_0x1643fa(0x1ef)](){const _0x590a26=_0x1643fa;this[_0x590a26(0x1f8)][_0x590a26(0x1f9)]||await new Promise(_0x507e5d=>{const _0x4da262=_0x590a26;this[_0x4da262(0x208)](this[_0x4da262(0x1f8)],_0x4da262(0x1f0),_0x9a9f14=>{const _0x31ca2b=_0x4da262;_0x9a9f14[_0x31ca2b(0x1f7)](),_0x507e5d();});});}[_0x1643fa(0x1fc)](){const _0x4c2f5a=_0x1643fa,_0x4e5a6c=this[_0x4c2f5a(0x21f)][_0x4c2f5a(0x212)][_0x4c2f5a(0x1e7)](_0x1faf2e)[_0x4c2f5a(0x21e)][_0x4c2f5a(0x1e0)]()[_0x4c2f5a(0x1dc)]();for(const _0x48e46e of _0x4e5a6c)if(_0x4c2f5a(0x1e8)!==_0x48e46e[_0x4c2f5a(0x1d8)]||_0x48e46e[_0x4c2f5a(0x21d)])return _0x48e46e[_0x4c2f5a(0x217)]+0x1;}[_0x1643fa(0x1f1)](){const _0x4a5d19=_0x1643fa,_0x3b40d0=this[_0x4a5d19(0x21f)][_0x4a5d19(0x212)][_0x4a5d19(0x1e7)](_0x1faf2e);return new Promise(_0x1dafe9=>{const _0x6596f2=_0x4a5d19;_0x3b40d0[_0x6596f2(0x1e3)]?_0x3b40d0[_0x6596f2(0x1f4)](_0x6596f2(0x231),()=>{const _0x290471=_0x6596f2;_0x1dafe9(this[_0x290471(0x1fc)]());}):_0x1dafe9(this[_0x6596f2(0x1fc)]());});}[_0x1643fa(0x201)](_0x248221,_0x2e0bc3){const _0x55a99b=_0x1643fa,_0x369f2e=this[_0x55a99b(0x1ca)][_0x55a99b(0x235)];this[_0x55a99b(0x203)]=_0x2e0bc3;for(const _0xdc5f0c of _0x248221){const _0x4eac90=_0x369f2e[_0x55a99b(0x238)](_0xdc5f0c['id']);if(_0x4eac90){if((_0xdc5f0c[_0x55a99b(0x1ec)]||_0xdc5f0c[_0x55a99b(0x22e)])&&(_0xdc5f0c[_0x55a99b(0x21c)]=null),_0x4eac90===this[_0x55a99b(0x1ca)][_0x55a99b(0x1e1)]){const _0x48aa5c=Math[_0x55a99b(0x216)](_0x4eac90[_0x55a99b(0x22e)],_0xdc5f0c[_0x55a99b(0x22e)]),_0x3de4c8=Math[_0x55a99b(0x216)](_0x4eac90[_0x55a99b(0x1ec)],_0xdc5f0c[_0x55a99b(0x1ec)]);let _0x509324;_0x4eac90[_0x55a99b(0x22e)]===_0xdc5f0c[_0x55a99b(0x22e)]&&_0x4eac90[_0x55a99b(0x1ec)]===_0xdc5f0c[_0x55a99b(0x1ec)]?(_0x509324=!0x0,this[_0x55a99b(0x20c)](_0xdc5f0c)):_0xdc5f0c[_0x55a99b(0x22e)]===_0x48aa5c&&_0xdc5f0c[_0x55a99b(0x1ec)]===_0x3de4c8?_0x509324=!0x1:(_0x4eac90[_0x55a99b(0x22e)]===_0x48aa5c&&_0x4eac90[_0x55a99b(0x1ec)]===_0x3de4c8||this[_0x55a99b(0x227)]({'revision':_0x4eac90,'from':_0x3de4c8,'to':_0x48aa5c}),_0x509324=!0x0),_0x509324&&(delete _0xdc5f0c[_0x55a99b(0x1ec)],delete _0xdc5f0c[_0x55a99b(0x22e)],delete _0xdc5f0c[_0x55a99b(0x21c)],delete _0xdc5f0c[_0x55a99b(0x1df)],delete _0xdc5f0c[_0x55a99b(0x23a)]);}this[_0x55a99b(0x1ca)][_0x55a99b(0x22a)](_0xdc5f0c),this[_0x55a99b(0x20c)](_0xdc5f0c);}else this[_0x55a99b(0x1ca)][_0x55a99b(0x222)](_0xdc5f0c);}const _0x1aef07=_0x369f2e[_0x55a99b(0x1f2)]();_0x1aef07[_0x55a99b(0x1dc)]();for(let _0x4c9e75=0x0;_0x4c9e75<_0x1aef07[_0x55a99b(0x20d)]-0x1;_0x4c9e75++){const _0x3fd4a6=_0x1aef07[_0x4c9e75],_0x584529=_0x1aef07[_0x4c9e75+0x1];if(_0x3fd4a6[_0x55a99b(0x1ec)]<_0x584529[_0x55a99b(0x22e)]){const _0x437db8=_0x584529[_0x55a99b(0x22e)],_0x2be0df=Math[_0x55a99b(0x216)](_0x437db8,_0x3fd4a6[_0x55a99b(0x22e)]);this[_0x55a99b(0x227)]({'revision':_0x3fd4a6,'from':_0x437db8,'to':_0x2be0df});}}}[_0x1643fa(0x227)]({revision:_0x4d0a40,from:_0x17eafe,to:_0xd7b3e9}={}){const _0x53ad43=_0x1643fa,_0x81c89b=this[_0x53ad43(0x21f)][_0x53ad43(0x212)][_0x53ad43(0x1e7)](_0x4c10a5),_0x5e3808=this[_0x53ad43(0x1ca)][_0x53ad43(0x239)]({'revision':_0x4d0a40,'from':_0x17eafe,'to':_0xd7b3e9});_0x5e3808[_0x53ad43(0x1d3)]=_0x5e3808[_0x53ad43(0x23a)][_0x53ad43(0x1e6)](_0x24230f=>_0x81c89b[_0x53ad43(0x1fe)](_0x24230f)),_0x4d0a40[_0x53ad43(0x218)](_0x5e3808);}[_0x1643fa(0x20c)](_0x54fac3){const _0x181808=_0x1643fa,_0x172e28={};_0x172e28['id']=_0x54fac3['id'];for(const _0x34bd88 of Object[_0x181808(0x206)](_0x54fac3))'id'!==_0x34bd88&&(_0x172e28[_0x34bd88]=void 0x0);this[_0x181808(0x1ca)][_0x181808(0x1f3)](_0x172e28['id'],_0x172e28,!0x0);}async[_0x1643fa(0x224)](_0x45d9da){const _0x654be=_0x1643fa,_0xccfe74=this[_0x654be(0x21f)][_0x654be(0x212)][_0x654be(0x1e7)](_0x4c10a5),{connection:_0xbc25dc}=this[_0x654be(0x21f)][_0x654be(0x212)][_0x654be(0x1e7)](_0x14d2ac),_0xee5ed=new Set();for(const _0x547eff of _0x45d9da){for(const _0x551785 of _0x547eff[_0x654be(0x23a)])_0x525926(_0x551785);_0x547eff[_0x654be(0x20e)]&&_0x525926(_0x547eff[_0x654be(0x20e)]);}if(0x0===_0xee5ed[_0x654be(0x213)])return;const _0x8096a8=await _0x4f42e3[_0x654be(0x1de)](_0xbc25dc,Array[_0x654be(0x1cb)](_0xee5ed));for(const _0x42f335 of _0x8096a8)_0xccfe74[_0x654be(0x1fe)](_0x42f335['id'])||_0xccfe74[_0x654be(0x220)](_0x42f335);function _0x525926(_0x512360){const _0xb4438c=_0x654be;_0xccfe74[_0xb4438c(0x1fe)](_0x512360)||_0xee5ed[_0xb4438c(0x1ed)](_0x512360);}}}function st(_0x1418a4){const _0x108dfd=_0x1643fa;return _0x1418a4[_0x108dfd(0x215)][_0x108dfd(0x1d1)](_0x108dfd(0x205))||_0x1418a4[_0x108dfd(0x215)][_0x108dfd(0x1d1)](_0x108dfd(0x1c7))||_0x1418a4[_0x108dfd(0x215)][_0x108dfd(0x1d1)](_0x108dfd(0x1d5));}
23
+ function _0x4145(){const _0x417cc3=['1670048cfcmIg','plugins','marker','fromVersion','then','baseVersion','27139aeaKLJ','remove','has','addUser','getRevision','RevisionTracker','once','authorsIds','connected','_bufferedUpdates','pluginName','connect','keys','sendBufferedUpdates','repository','config','cloud-services-internal-error:\x20Not\x20connected.','get','change:_isConnected','getUser','message','RevisionHistory','_startingVersion','change:_isPendingUpdate','_waitForServiceReady','_isConnected','_fixRevision','reverse','_lastRequestId','isBundleUploaded','code','isEmptyCurrent','requires','936cHiYCM','3203754mMzxGA','serverHistory','_fetchMissingUsers','isEnabled','400','_revisions','size','_revisionHistoryService','reInit','sessionId','data','wrongRequestId','_getLatestVersion','isConnected','editor','off','1250KDGhgW','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','4372348vCPKpo','getOperations','authors','toVersion','_offset','map','setSource','4oBixCN','getRevisions','updateRevisions','state','setRevisionData','createdAt','cloudServices.bundleVersion','catch','CONNECTED','RevisionHistoryService','5lCmbZS','destroy','adapter','_update','_isPendingUpdate','210859gPfDqW','reconnect','isPremiumPlugin','length','init','addToReconnectionStack','_oldOffset','_handleRevisionsUpdate','addRevisionData','getMany','affectsData','from','_handleReconnectionError','_createCurrentRevision','isOfficialPlugin','_getLatestVersionFromServerOperations','revisionsUpdated','_preventResendingRevisionData','startsWith','_bufferUpdate','type','bind','currentRevision','4496598GriyHn','_revisionDataBuilder','buildRevisionData','807990JNDcrX','collaboration.channelId','listenTo','_revisionTracker','CloudServicesRevisionHistoryAdapter','connection','creatorId','diffData','max','cloud-services-internal-error:\x20Request\x20timeout.'];_0x4145=function(){return _0x417cc3;};return _0x4145();}function _0xde1e(_0x4e6f00,_0x30ab9d){const _0x414568=_0x4145();return _0xde1e=function(_0xde1e47,_0x56cee8){_0xde1e47=_0xde1e47-0x85;let _0x60f35c=_0x414568[_0xde1e47];return _0x60f35c;},_0xde1e(_0x4e6f00,_0x30ab9d);}const _0x189a31=_0xde1e;(function(_0x5e5a93,_0x277ab0){const _0x10fc5a=_0xde1e,_0xe7188a=_0x5e5a93();while(!![]){try{const _0x30d204=parseInt(_0x10fc5a(0xe1))/0x1+-parseInt(_0x10fc5a(0xae))/0x2*(parseInt(_0x10fc5a(0xd7))/0x3)+-parseInt(_0x10fc5a(0xa7))/0x4*(parseInt(_0x10fc5a(0xb8))/0x5)+-parseInt(_0x10fc5a(0x94))/0x6+parseInt(_0x10fc5a(0xe7))/0x7*(-parseInt(_0x10fc5a(0x93))/0x8)+-parseInt(_0x10fc5a(0xd4))/0x9+parseInt(_0x10fc5a(0xa4))/0xa*(parseInt(_0x10fc5a(0xbd))/0xb);if(_0x30d204===_0x277ab0)break;else _0xe7188a['push'](_0xe7188a['shift']());}catch(_0x10bf6b){_0xe7188a['push'](_0xe7188a['shift']());}}}(_0x4145,0xe7424));import{Plugin as _0x4a80ac}from'ckeditor5/src/core.js';import{version as _0x38a9f8}from'ckeditor5/src/utils.js';import{Users as _0x4ae23e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x482ab3}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x56b25a}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4a79c6}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x423a02,RevisionHistoryService as _0x3c5f1d,User as _0x24ef2d,WEB_SOCKET_GATEWAY_STATES as _0x29999a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4a80ac{static [_0x189a31(0xb7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3c5f1d)());[_0x189a31(0x8e)];[_0x189a31(0xda)];[_0x189a31(0x9b)];[_0x189a31(0xc3)];static get[_0x189a31(0x92)](){const _0x4325d7=_0x189a31;return[_0x56b25a,_0x482ab3,_0x4325d7(0x87),_0x4a79c6,_0x4ae23e];}static get[_0x189a31(0xf1)](){const _0x3973d6=_0x189a31;return _0x3973d6(0xdb);}static get[_0x189a31(0xcb)](){return!0x0;}static get[_0x189a31(0xbf)](){return!0x0;}constructor(_0x394488){const _0xdf9e98=_0x189a31;super(_0x394488);const _0x2aac01=this[_0xdf9e98(0xa2)][_0xdf9e98(0xf6)][_0xdf9e98(0xf8)](_0xdf9e98(0xd8));this[_0xdf9e98(0x8e)]=null,this[_0xdf9e98(0xda)]=this[_0xdf9e98(0xa2)][_0xdf9e98(0xe2)][_0xdf9e98(0xf8)](_0xdf9e98(0xec)),this[_0xdf9e98(0x9b)]=new CloudServicesRevisionHistoryAdapter[(_0xdf9e98(0xb7))](_0x2aac01);}async[_0x189a31(0xc1)](){const _0x43e6b7=_0x189a31,_0x4cdd28=this[_0x43e6b7(0xa2)][_0x43e6b7(0xe2)][_0x43e6b7(0xf8)](_0x482ab3),_0x13259f=_0x4cdd28[_0x43e6b7(0x95)],_0x16820c=this[_0x43e6b7(0xa2)][_0x43e6b7(0xe2)][_0x43e6b7(0xf8)](_0x56b25a);this[_0x43e6b7(0xda)][_0x43e6b7(0xad)]({'history':_0x13259f,'getLatestVersion':()=>this[_0x43e6b7(0xa0)](),'getCurrentRevisionId':()=>_0x4cdd28[_0x43e6b7(0x9d)]});const _0x69bb00=this[_0x43e6b7(0xa2)][_0x43e6b7(0xf6)][_0x43e6b7(0xf8)](_0x43e6b7(0xb4))||_0x38a9f8,_0x59a3b7=await _0x423a02[_0x43e6b7(0x8f)](_0x16820c[_0x43e6b7(0xdc)],_0x69bb00);this[_0x43e6b7(0xa2)][_0x43e6b7(0xe2)][_0x43e6b7(0xf8)](_0x43e6b7(0x87))[_0x43e6b7(0xba)]={'getRevision':async({revisionId:_0x4af84c})=>(await this[_0x43e6b7(0x8a)](),await this[_0x43e6b7(0x9b)][_0x43e6b7(0xeb)](_0x4af84c)),'updateRevisions':async _0x3b3b24=>{const _0x2d2691=_0x43e6b7;await this[_0x2d2691(0x8a)]();const _0x150ff3=this[_0x2d2691(0xda)][_0x2d2691(0xd3)];if(_0x59a3b7&&0x1===_0x3b3b24[_0x2d2691(0xc0)]&&_0x3b3b24[0x0]['id']===_0x150ff3['id'])return _0x3b3b24;for(const _0x4899ba of _0x3b3b24)_0x4899ba['id']===_0x150ff3['id']&&(_0x4899ba[_0x2d2691(0x91)]=_0x4899ba[_0x2d2691(0xe4)]===_0x4899ba[_0x2d2691(0xaa)]);return this[_0x2d2691(0x9b)][_0x2d2691(0xb0)](_0x3b3b24,this[_0x2d2691(0x8e)])[_0x2d2691(0xe5)](_0x33721b=>(this[_0x2d2691(0x8e)]=_0x33721b,_0x3b3b24))[_0x2d2691(0xb5)](_0x500c9d=>{const _0x37dfdc=_0x2d2691;if(st(_0x500c9d)||_0x37dfdc(0x98)===_0x500c9d[_0x37dfdc(0x90)]&&void 0x0!==_0x500c9d[_0x37dfdc(0x9e)][_0x37dfdc(0x9f)]){for(const _0x2f4c5d of _0x3b3b24){!this[_0x37dfdc(0xda)][_0x37dfdc(0xf5)][_0x37dfdc(0xeb)](_0x2f4c5d['id'])||this[_0x37dfdc(0xda)][_0x37dfdc(0xd0)](_0x2f4c5d['id'],_0x2f4c5d,!0x1);}if(st(_0x500c9d))throw _0x500c9d;return _0x3b3b24;}throw _0x500c9d;});}},this[_0x43e6b7(0xd9)](this[_0x43e6b7(0x9b)],_0x43e6b7(0xcd),(_0x5c0484,{revisionsData:_0x386bf2,requestId:_0x2ff16f})=>{const _0x2acc43=_0x43e6b7;Math[_0x2acc43(0xdf)](..._0x386bf2[_0x2acc43(0xac)](_0x5d0bc3=>_0x5d0bc3[_0x2acc43(0xaa)]))>this[_0x2acc43(0xcc)]()-0x1?this[_0x2acc43(0xa0)]()[_0x2acc43(0xe5)](()=>{const _0x517299=_0x2acc43;this[_0x517299(0xc4)](_0x386bf2,_0x2ff16f);}):this[_0x2acc43(0xc4)](_0x386bf2,_0x2ff16f);});const {revisions:_0x273130,requestId:_0x20b2e5}=await this[_0x43e6b7(0x9b)][_0x43e6b7(0xf2)](_0x16820c[_0x43e6b7(0xdc)]);_0x16820c[_0x43e6b7(0xc2)](this),this[_0x43e6b7(0x8e)]=_0x20b2e5,await this[_0x43e6b7(0x96)](_0x273130);for(const _0x4efbdc of _0x273130)this[_0x43e6b7(0xda)][_0x43e6b7(0xc5)](_0x4efbdc);this[_0x43e6b7(0xd9)](_0x4cdd28,_0x43e6b7(0xf9),(_0x3d0738,_0x3ec421,_0x4d64af)=>{const _0x27a996=_0x43e6b7;_0x4d64af&&(this[_0x27a996(0xc3)]=_0x4cdd28[_0x27a996(0xab)],_0x3d0738[_0x27a996(0xa3)]());}),this[_0x43e6b7(0xda)][_0x43e6b7(0xd2)](_0x43e6b7(0x97))['to'](_0x16820c,_0x43e6b7(0xb1),_0x53c1ca=>_0x53c1ca===_0x29999a[_0x43e6b7(0xb6)]);}async[_0x189a31(0xbe)](){const _0x53ac8a=_0x189a31,_0x3d7631=this[_0x53ac8a(0xa2)][_0x53ac8a(0xe2)][_0x53ac8a(0xf8)](_0x56b25a),_0x350253=this[_0x53ac8a(0xa2)][_0x53ac8a(0xe2)][_0x53ac8a(0xf8)](_0x482ab3),_0x50bfb0=async()=>{const _0x5bbc75=_0x53ac8a,_0x408617=this[_0x5bbc75(0xda)][_0x5bbc75(0xd3)],_0x4f38ac=_0x408617['id'],_0x1e04c6=_0x4f38ac!==_0x350253[_0x5bbc75(0x9d)];if(_0x1e04c6){const _0x338c51=_0x350253[_0x5bbc75(0xab)]-this[_0x5bbc75(0xc3)],_0x3b90f2=this[_0x5bbc75(0xcc)]();this[_0x5bbc75(0xda)][_0x5bbc75(0xd5)][_0x5bbc75(0x9c)]();if(_0x408617[_0x5bbc75(0xaa)]+_0x338c51!==_0x3b90f2){const _0x230ad2=_0x408617[_0x5bbc75(0xe4)]+_0x338c51,_0x15eb23=this[_0x5bbc75(0xa2)][_0x5bbc75(0xe2)][_0x5bbc75(0xf8)](_0x4ae23e),_0x362ff8=this[_0x5bbc75(0xda)][_0x5bbc75(0xd6)]({'revision':_0x408617,'from':_0x230ad2,'to':_0x3b90f2});_0x362ff8['id']=_0x408617['id'];const _0x129eb2=_0x362ff8[_0x5bbc75(0xee)][_0x5bbc75(0xac)](_0xda543c=>_0x15eb23[_0x5bbc75(0x85)](_0xda543c));_0x408617[_0x5bbc75(0xbb)]({..._0x362ff8,'authors':_0x129eb2},!0x0),this[_0x5bbc75(0xda)][_0x5bbc75(0xd0)](_0x408617['id'],_0x362ff8,!0x0);}this[_0x5bbc75(0xda)][_0x5bbc75(0x88)]=_0x3b90f2,(_0x408617[_0x5bbc75(0xaa)]===_0x408617[_0x5bbc75(0xe4)]&&!this[_0x5bbc75(0xda)][_0x5bbc75(0xf0)][_0x5bbc75(0xe9)](_0x4f38ac)&&this[_0x5bbc75(0xda)][_0x5bbc75(0xf5)][_0x5bbc75(0x99)][_0x5bbc75(0xe8)](_0x4f38ac),this[_0x5bbc75(0xda)][_0x5bbc75(0xca)](_0x3b90f2));}const {revisions:_0xfd0e97,requestId:_0x4e7f6e}=await this[_0x5bbc75(0x9b)][_0x5bbc75(0xbe)](_0x3d7631[_0x5bbc75(0xdc)],this[_0x5bbc75(0x8e)]);_0x1e04c6&&_0xfd0e97[_0x5bbc75(0xc0)]>0x0?_0x350253[_0x5bbc75(0xc9)]():(await this[_0x5bbc75(0x96)](_0xfd0e97),this[_0x5bbc75(0xc4)](_0xfd0e97,_0x4e7f6e),this[_0x5bbc75(0xda)][_0x5bbc75(0xf4)]());};return _0x350253[_0x53ac8a(0x8b)]?_0x50bfb0():new Promise((_0xdc7795,_0x3630e9)=>{const _0x1b04b2=_0x53ac8a;_0x350253[_0x1b04b2(0xed)](_0x1b04b2(0xf9),()=>{const _0x408a79=_0x1b04b2;_0x50bfb0()[_0x408a79(0xe5)](_0xdc7795)[_0x408a79(0xb5)](_0x3630e9);});});}[_0x189a31(0xb9)](){const _0x4eb32f=_0x189a31;super[_0x4eb32f(0xb9)]();}async[_0x189a31(0x8a)](){const _0x53339b=_0x189a31;this[_0x53339b(0x9b)][_0x53339b(0xa1)]||await new Promise(_0x528f2e=>{const _0xd87b7=_0x53339b;this[_0xd87b7(0xd9)](this[_0xd87b7(0x9b)],_0xd87b7(0xef),_0x27e8e5=>{const _0x4668a3=_0xd87b7;_0x27e8e5[_0x4668a3(0xa3)](),_0x528f2e();});});}[_0x189a31(0xcc)](){const _0x48be9a=_0x189a31,_0x3e89f4=this[_0x48be9a(0xa2)][_0x48be9a(0xe2)][_0x48be9a(0xf8)](_0x482ab3)[_0x48be9a(0x95)][_0x48be9a(0xa8)]()[_0x48be9a(0x8d)]();for(const _0x463c24 of _0x3e89f4)if(_0x48be9a(0xe3)!==_0x463c24[_0x48be9a(0xd1)]||_0x463c24[_0x48be9a(0xc7)])return _0x463c24[_0x48be9a(0xe6)]+0x1;}[_0x189a31(0xa0)](){const _0x30455b=_0x189a31,_0x5ee4a6=this[_0x30455b(0xa2)][_0x30455b(0xe2)][_0x30455b(0xf8)](_0x482ab3);return new Promise(_0x1d5ae3=>{const _0x7efb8e=_0x30455b;_0x5ee4a6[_0x7efb8e(0xbc)]?_0x5ee4a6[_0x7efb8e(0xed)](_0x7efb8e(0x89),()=>{const _0x92722=_0x7efb8e;_0x1d5ae3(this[_0x92722(0xcc)]());}):_0x1d5ae3(this[_0x7efb8e(0xcc)]());});}[_0x189a31(0xc4)](_0x46c30f,_0x10fe3b){const _0x23e9b2=_0x189a31,_0x7350c0=this[_0x23e9b2(0xda)][_0x23e9b2(0xf5)];this[_0x23e9b2(0x8e)]=_0x10fe3b;for(const _0x4584a6 of _0x46c30f){const _0x535d07=_0x7350c0[_0x23e9b2(0xeb)](_0x4584a6['id']);if(_0x535d07){if((_0x4584a6[_0x23e9b2(0xe4)]||_0x4584a6[_0x23e9b2(0xaa)])&&(_0x4584a6[_0x23e9b2(0xde)]=null),_0x535d07===this[_0x23e9b2(0xda)][_0x23e9b2(0xd3)]){const _0xd3d430=Math[_0x23e9b2(0xdf)](_0x535d07[_0x23e9b2(0xaa)],_0x4584a6[_0x23e9b2(0xaa)]),_0xb7e680=Math[_0x23e9b2(0xdf)](_0x535d07[_0x23e9b2(0xe4)],_0x4584a6[_0x23e9b2(0xe4)]);let _0x149ba5;_0x535d07[_0x23e9b2(0xaa)]===_0x4584a6[_0x23e9b2(0xaa)]&&_0x535d07[_0x23e9b2(0xe4)]===_0x4584a6[_0x23e9b2(0xe4)]?(_0x149ba5=!0x0,this[_0x23e9b2(0xce)](_0x4584a6)):_0x4584a6[_0x23e9b2(0xaa)]===_0xd3d430&&_0x4584a6[_0x23e9b2(0xe4)]===_0xb7e680?_0x149ba5=!0x1:(_0x535d07[_0x23e9b2(0xaa)]===_0xd3d430&&_0x535d07[_0x23e9b2(0xe4)]===_0xb7e680||this[_0x23e9b2(0x8c)]({'revision':_0x535d07,'from':_0xb7e680,'to':_0xd3d430}),_0x149ba5=!0x0),_0x149ba5&&(delete _0x4584a6[_0x23e9b2(0xe4)],delete _0x4584a6[_0x23e9b2(0xaa)],delete _0x4584a6[_0x23e9b2(0xde)],delete _0x4584a6[_0x23e9b2(0xb3)],delete _0x4584a6[_0x23e9b2(0xee)]);}this[_0x23e9b2(0xda)][_0x23e9b2(0xb2)](_0x4584a6),this[_0x23e9b2(0xce)](_0x4584a6);}else this[_0x23e9b2(0xda)][_0x23e9b2(0xc5)](_0x4584a6);}const _0x545be2=_0x7350c0[_0x23e9b2(0xaf)]();_0x545be2[_0x23e9b2(0x8d)]();for(let _0x2d2eae=0x0;_0x2d2eae<_0x545be2[_0x23e9b2(0xc0)]-0x1;_0x2d2eae++){const _0x468301=_0x545be2[_0x2d2eae],_0x231368=_0x545be2[_0x2d2eae+0x1];if(_0x468301[_0x23e9b2(0xe4)]<_0x231368[_0x23e9b2(0xaa)]){const _0x176a02=_0x231368[_0x23e9b2(0xaa)],_0x3f861d=Math[_0x23e9b2(0xdf)](_0x176a02,_0x468301[_0x23e9b2(0xaa)]);this[_0x23e9b2(0x8c)]({'revision':_0x468301,'from':_0x176a02,'to':_0x3f861d});}}}[_0x189a31(0x8c)]({revision:_0x12bd7d,from:_0x27c8c8,to:_0xe6e475}={}){const _0x4c3a87=_0x189a31,_0x132505=this[_0x4c3a87(0xa2)][_0x4c3a87(0xe2)][_0x4c3a87(0xf8)](_0x4ae23e),_0x344bac=this[_0x4c3a87(0xda)][_0x4c3a87(0xd6)]({'revision':_0x12bd7d,'from':_0x27c8c8,'to':_0xe6e475});_0x344bac[_0x4c3a87(0xa9)]=_0x344bac[_0x4c3a87(0xee)][_0x4c3a87(0xac)](_0x1ac473=>_0x132505[_0x4c3a87(0x85)](_0x1ac473)),_0x12bd7d[_0x4c3a87(0xbb)](_0x344bac);}[_0x189a31(0xce)](_0x48d7ab){const _0x76bde8=_0x189a31,_0x1584c3={};_0x1584c3['id']=_0x48d7ab['id'];for(const _0x57d0b6 of Object[_0x76bde8(0xf3)](_0x48d7ab))'id'!==_0x57d0b6&&(_0x1584c3[_0x57d0b6]=void 0x0);this[_0x76bde8(0xda)][_0x76bde8(0xd0)](_0x1584c3['id'],_0x1584c3,!0x0);}async[_0x189a31(0x96)](_0x13312a){const _0xc6fd68=_0x189a31,_0x41d4f8=this[_0xc6fd68(0xa2)][_0xc6fd68(0xe2)][_0xc6fd68(0xf8)](_0x4ae23e),{connection:_0x411656}=this[_0xc6fd68(0xa2)][_0xc6fd68(0xe2)][_0xc6fd68(0xf8)](_0x56b25a),_0x21921d=new Set();for(const _0x4bf476 of _0x13312a){for(const _0x53359f of _0x4bf476[_0xc6fd68(0xee)])_0xd73892(_0x53359f);_0x4bf476[_0xc6fd68(0xdd)]&&_0xd73892(_0x4bf476[_0xc6fd68(0xdd)]);}if(0x0===_0x21921d[_0xc6fd68(0x9a)])return;const _0x54d369=await _0x24ef2d[_0xc6fd68(0xc6)](_0x411656,Array[_0xc6fd68(0xc8)](_0x21921d));for(const _0x137aca of _0x54d369)_0x41d4f8[_0xc6fd68(0x85)](_0x137aca['id'])||_0x41d4f8[_0xc6fd68(0xea)](_0x137aca);function _0xd73892(_0x3c1108){const _0x709366=_0xc6fd68;_0x41d4f8[_0x709366(0x85)](_0x3c1108)||_0x21921d[_0x709366(0xa6)](_0x3c1108);}}}function st(_0x507f24){const _0x560717=_0x189a31;return _0x507f24[_0x560717(0x86)][_0x560717(0xcf)](_0x560717(0xa5))||_0x507f24[_0x560717(0x86)][_0x560717(0xcf)](_0x560717(0xf7))||_0x507f24[_0x560717(0x86)][_0x560717(0xcf)](_0x560717(0xe0));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b12(_0x37cf4a,_0x2cd896){var _0x6ebff6=_0x6ebf();return _0x5b12=function(_0x5b12be,_0x578fa4){_0x5b12be=_0x5b12be-0x8c;var _0x1268bf=_0x6ebff6[_0x5b12be];return _0x1268bf;},_0x5b12(_0x37cf4a,_0x2cd896);}function _0x6ebf(){var _0x12ab60=['4195872DaPhzr','559050OJlGuR','436866WQuqZN','RevisionHistory','48987AMquhg','5gVknJK','986AVreKX','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','28xEBGqy','460JLqWYI','1189236Zufwqb','isPremiumPlugin','requires','190gqheOL','pluginName','7563765KYgXtm'];_0x6ebf=function(){return _0x12ab60;};return _0x6ebf();}var _0x3bb112=_0x5b12;(function(_0x27bbd0,_0x408da6){var _0x20d6bf=_0x5b12,_0x45f651=_0x27bbd0();while(!![]){try{var _0x5e699e=-parseInt(_0x20d6bf(0x8d))/0x1*(-parseInt(_0x20d6bf(0x95))/0x2)+-parseInt(_0x20d6bf(0x99))/0x3+parseInt(_0x20d6bf(0x92))/0x4*(-parseInt(_0x20d6bf(0x8c))/0x5)+parseInt(_0x20d6bf(0x9a))/0x6*(parseInt(_0x20d6bf(0x90))/0x7)+-parseInt(_0x20d6bf(0x98))/0x8+parseInt(_0x20d6bf(0x9c))/0x9*(parseInt(_0x20d6bf(0x91))/0xa)+parseInt(_0x20d6bf(0x97))/0xb;if(_0x5e699e===_0x408da6)break;else _0x45f651['push'](_0x45f651['shift']());}catch(_0x464923){_0x45f651['push'](_0x45f651['shift']());}}}(_0x6ebf,0x4cd8c));import{Plugin as _0x3e4c56}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x49d623}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x3d165c}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x3e4c56{static get[_0x3bb112(0x94)](){var _0x15f8e1=_0x3bb112;return[_0x15f8e1(0x9b),_0x49d623,_0x3d165c];}static get[_0x3bb112(0x96)](){var _0x1d69dc=_0x3bb112;return _0x1d69dc(0x8f);}static get[_0x3bb112(0x8e)](){return!0x0;}static get[_0x3bb112(0x93)](){return!0x0;}}
23
+ var _0x2037c3=_0xe254;(function(_0x240183,_0x3b7025){var _0x1f7a6e=_0xe254,_0x396181=_0x240183();while(!![]){try{var _0x4b883d=-parseInt(_0x1f7a6e(0xc6))/0x1+-parseInt(_0x1f7a6e(0xc9))/0x2+-parseInt(_0x1f7a6e(0xc5))/0x3+-parseInt(_0x1f7a6e(0xc8))/0x4*(parseInt(_0x1f7a6e(0xd4))/0x5)+parseInt(_0x1f7a6e(0xd2))/0x6+-parseInt(_0x1f7a6e(0xca))/0x7*(-parseInt(_0x1f7a6e(0xcc))/0x8)+-parseInt(_0x1f7a6e(0xd0))/0x9*(-parseInt(_0x1f7a6e(0xd1))/0xa);if(_0x4b883d===_0x3b7025)break;else _0x396181['push'](_0x396181['shift']());}catch(_0x36d9d0){_0x396181['push'](_0x396181['shift']());}}}(_0x50e5,0x70ac0));import{Plugin as _0x433947}from'ckeditor5/src/core.js';function _0x50e5(){var _0x3127a6=['2475756Xkkief','50FVLWyF','1152630kwFOXD','RevisionHistory','65kTrweg','1812657RDMlGl','699868jqhuZL','pluginName','17956lSEWAE','612264SCIgFv','245LhEdBW','RealTimeCollaborativeRevisionHistory','128584NqjjzA','isOfficialPlugin','isPremiumPlugin','requires'];_0x50e5=function(){return _0x3127a6;};return _0x50e5();}import{CloudServicesRevisionHistoryAdapter as _0x152085}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x5b3d96}from'./realtimecollaborativeediting.js';function _0xe254(_0x857e35,_0x48d108){var _0x50e57c=_0x50e5();return _0xe254=function(_0xe25444,_0x3452a9){_0xe25444=_0xe25444-0xc5;var _0x42cfcd=_0x50e57c[_0xe25444];return _0x42cfcd;},_0xe254(_0x857e35,_0x48d108);}export class RealTimeCollaborativeRevisionHistory extends _0x433947{static get[_0x2037c3(0xcf)](){var _0x4b24a0=_0x2037c3;return[_0x4b24a0(0xd3),_0x152085,_0x5b3d96];}static get[_0x2037c3(0xc7)](){var _0x5d147e=_0x2037c3;return _0x5d147e(0xcb);}static get[_0x2037c3(0xcd)](){return!0x0;}static get[_0x2037c3(0xce)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x336e81=_0x1a56;function _0x250a(){const _0x24645f=['10259046pDGkQX','_trackChangesService','addSuggestionData','_waitForServiceReady','state','off','update','_fetchMissingUsersForThreads','open','data','listenTo','adapter','add','config','TrackChangesEditing','getSuggestion','collaboration.channelId','pluginName','type','originalSuggestionId','getUser','connected','requires','then','attributes','isOfficialPlugin','from','CloudServicesTrackChangesAdapter','catch','find','233504eZuBQa','connection','_saved','size','hasSuggestion','editor','194806iPlUUH','init','delete','getMany','get','cloud-services-internal-error:\x20Not\x20connected.','1498368DtxSlD','values','922672hlKASi','plugins','isPremiumPlugin','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','addUser','addToReconnectionStack','3573990gutiEB','_bufferedRequests','954LdXRCr','3230823hGGDcp','message','set','TrackChangesService','connect','reconnect','5RNEEIH','suggestionUpdated','startsWith'];_0x250a=function(){return _0x24645f;};return _0x250a();}(function(_0x4ba399,_0x3b6274){const _0x4b958b=_0x1a56,_0x3e7212=_0x4ba399();while(!![]){try{const _0x3b4ad3=-parseInt(_0x4b958b(0x1e4))/0x1*(-parseInt(_0x4b958b(0x1cc))/0x2)+-parseInt(_0x4b958b(0x1de))/0x3+parseInt(_0x4b958b(0x1d4))/0x4+-parseInt(_0x4b958b(0x1db))/0x5+parseInt(_0x4b958b(0x1d2))/0x6+-parseInt(_0x4b958b(0x1e7))/0x7+-parseInt(_0x4b958b(0x1c6))/0x8*(-parseInt(_0x4b958b(0x1dd))/0x9);if(_0x3b4ad3===_0x3b6274)break;else _0x3e7212['push'](_0x3e7212['shift']());}catch(_0x161879){_0x3e7212['push'](_0x3e7212['shift']());}}}(_0x250a,0xc44b6));import{Plugin as _0x512165}from'ckeditor5/src/core.js';import{User as _0x5b9b23,TrackChangesService as _0x24d3d4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4ec1fe}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x3540ed}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x36879c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1a56(_0x4ba8ae,_0x556261){const _0x250a78=_0x250a();return _0x1a56=function(_0x1a56f3,_0xf41989){_0x1a56f3=_0x1a56f3-0x1c0;let _0x55c77f=_0x250a78[_0x1a56f3];return _0x55c77f;},_0x1a56(_0x4ba8ae,_0x556261);}export class CloudServicesTrackChangesAdapter extends _0x512165{static [_0x336e81(0x1e1)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x24d3d4)());[_0x336e81(0x1dc)];[_0x336e81(0x1e8)];static get[_0x336e81(0x1fd)](){const _0x3245ba=_0x336e81;return[_0x3540ed,_0x3245ba(0x1f5),_0x4ec1fe];}static get[_0x336e81(0x1f8)](){const _0x32c0bb=_0x336e81;return _0x32c0bb(0x1c3);}static get[_0x336e81(0x1c1)](){return!0x0;}static get[_0x336e81(0x1d6)](){return!0x0;}constructor(_0xaecaee){const _0x3a7115=_0x336e81;super(_0xaecaee);const _0x7313cd=this[_0x3a7115(0x1cb)][_0x3a7115(0x1f4)][_0x3a7115(0x1d0)](_0x3a7115(0x1f7));this[_0x3a7115(0x1dc)]=new Map(),this[_0x3a7115(0x1e8)]=new CloudServicesTrackChangesAdapter[(_0x3a7115(0x1e1))](_0x7313cd);}[_0x336e81(0x1cd)](){const _0x29e60d=_0x336e81,_0x3caee7=this[_0x29e60d(0x1cb)][_0x29e60d(0x1d5)][_0x29e60d(0x1d0)](_0x4ec1fe),_0x481da3=this[_0x29e60d(0x1cb)][_0x29e60d(0x1d5)][_0x29e60d(0x1d0)](_0x29e60d(0x1f5));return _0x481da3[_0x29e60d(0x1f2)]={'getSuggestion':async _0x2c22b3=>{const _0xe5e54d=_0x29e60d;await this[_0xe5e54d(0x1ea)]();const _0x402cc7=await this[_0xe5e54d(0x1e8)][_0xe5e54d(0x1d0)](_0x2c22b3)[_0xe5e54d(0x1c4)](Y);return await this[_0xe5e54d(0x1ee)]([_0x402cc7]),_0x402cc7;},'addSuggestion':async({id:_0x17a0a2,type:_0x3c07f8,data:_0x4ca557,originalSuggestionId:_0x4fc77a,attributes:_0x3d4fcb})=>{const _0x2e2320=_0x29e60d;await this[_0x2e2320(0x1ea)]();const _0x551c9b={'id':_0x17a0a2,'type':_0x3c07f8,'data':_0x4ca557,'originalSuggestionId':_0x4fc77a,'attributes':_0x3d4fcb},_0xffc131=await this[_0x2e2320(0x1e8)][_0x2e2320(0x1f3)](_0x17a0a2,_0x3c07f8,_0x4ca557,_0x4fc77a,_0x3d4fcb)[_0x2e2320(0x1c4)](_0x5bbf6a=>{if(st(_0x5bbf6a))return new Promise(_0x319927=>{const _0x5250f4=_0x1a56;this[_0x5250f4(0x1dc)][_0x5250f4(0x1e0)](_0x17a0a2,{'resolve':_0x319927,'suggestionData':_0x551c9b});});throw _0x5bbf6a;});return this[_0x2e2320(0x1dc)][_0x2e2320(0x1ce)](_0x17a0a2),_0xffc131;},'updateSuggestion':async(_0x34090f,_0x1d1fd8)=>{const _0x590a6a=_0x29e60d;if(await this[_0x590a6a(0x1ea)](),_0x590a6a(0x1ef)!==_0x1d1fd8[_0x590a6a(0x1eb)])return this[_0x590a6a(0x1e8)][_0x590a6a(0x1ed)](_0x34090f,_0x1d1fd8)[_0x590a6a(0x1c4)](Y);}},this[_0x29e60d(0x1f1)](this[_0x29e60d(0x1e8)],_0x29e60d(0x1e5),(_0x33f35d,_0x2176be)=>{const _0x1a78be=_0x29e60d;_0x481da3[_0x1a78be(0x1ca)](_0x2176be['id'])&&(_0x481da3[_0x1a78be(0x1f6)](_0x2176be['id'])[_0x1a78be(0x1c0)]=_0x2176be[_0x1a78be(0x1c0)]);}),this[_0x29e60d(0x1e8)][_0x29e60d(0x1e2)](_0x3caee7[_0x29e60d(0x1c7)])[_0x29e60d(0x1fe)](_0x3445ca=>(_0x3caee7[_0x29e60d(0x1da)](this),this[_0x29e60d(0x1ee)](_0x3445ca)[_0x29e60d(0x1fe)](()=>{const _0x4779be=_0x29e60d;for(const _0x308d22 of _0x3445ca){_0x481da3[_0x4779be(0x1e9)](_0x308d22)[_0x4779be(0x1c8)]=!0x0;}})));}async[_0x336e81(0x1e3)](){const _0x24c44b=_0x336e81,_0x308de4=this[_0x24c44b(0x1cb)][_0x24c44b(0x1d5)][_0x24c44b(0x1d0)](_0x24c44b(0x1f5)),{connection:_0x2579fb}=this[_0x24c44b(0x1cb)][_0x24c44b(0x1d5)][_0x24c44b(0x1d0)](_0x4ec1fe),_0x4a5c83=await this[_0x24c44b(0x1e8)][_0x24c44b(0x1e2)](_0x2579fb);await this[_0x24c44b(0x1ee)](_0x4a5c83);for(const {suggestionData:_0x2ec40c,resolve:_0x2f7e6a}of this[_0x24c44b(0x1dc)][_0x24c44b(0x1d3)]()){let _0x298ae1=_0x4a5c83[_0x24c44b(0x1c5)](_0x1a98d1=>_0x1a98d1['id']===_0x2ec40c['id']);_0x298ae1||(_0x298ae1=await this[_0x24c44b(0x1e8)][_0x24c44b(0x1f3)](_0x2ec40c['id'],_0x2ec40c[_0x24c44b(0x1f9)],_0x2ec40c[_0x24c44b(0x1f0)],_0x2ec40c[_0x24c44b(0x1fa)])),_0x2f7e6a(_0x298ae1);}for(const _0x177980 of _0x4a5c83)_0x308de4[_0x24c44b(0x1ca)](_0x177980['id'])||_0x308de4[_0x24c44b(0x1e9)](_0x177980);}async[_0x336e81(0x1ea)](){const _0x4e115a=_0x336e81;this[_0x4e115a(0x1e8)][_0x4e115a(0x1d8)]||await new Promise(_0x42cd8e=>{const _0x4bf15b=_0x4e115a;this[_0x4bf15b(0x1f1)](this[_0x4bf15b(0x1e8)],_0x4bf15b(0x1fc),_0x39ecda=>{const _0x12c3d3=_0x4bf15b;_0x39ecda[_0x12c3d3(0x1ec)](),_0x42cd8e();});});}async[_0x336e81(0x1ee)](_0x27b535){const _0x2d566f=_0x336e81,_0xeac4c8=this[_0x2d566f(0x1cb)][_0x2d566f(0x1d5)][_0x2d566f(0x1d0)](_0x36879c),{connection:_0x3e7da3}=this[_0x2d566f(0x1cb)][_0x2d566f(0x1d5)][_0x2d566f(0x1d0)](_0x4ec1fe),_0x2d3f4c=new Set();for(const {authorId:_0x3d9fa1}of _0x27b535)_0xeac4c8[_0x2d566f(0x1fb)](_0x3d9fa1)||_0x2d3f4c[_0x2d566f(0x1f3)](_0x3d9fa1);if(0x0===_0x2d3f4c[_0x2d566f(0x1c9)])return;const _0x48a58c=await _0x5b9b23[_0x2d566f(0x1cf)](_0x3e7da3,Array[_0x2d566f(0x1c2)](_0x2d3f4c));for(const _0x535372 of _0x48a58c)_0xeac4c8[_0x2d566f(0x1fb)](_0x535372['id'])||_0xeac4c8[_0x2d566f(0x1d9)](_0x535372);}}function Y(_0xf74889){if(st(_0xf74889))return new Promise(()=>{});throw _0xf74889;}function st(_0x1bcde4){const _0x5252ed=_0x336e81;return _0x1bcde4[_0x5252ed(0x1df)][_0x5252ed(0x1e6)](_0x5252ed(0x1d1))||_0x1bcde4[_0x5252ed(0x1df)][_0x5252ed(0x1e6)](_0x5252ed(0x1d7));}
23
+ const _0x338d3a=_0x1b76;(function(_0x1efe68,_0x1a9cfa){const _0xc79ae5=_0x1b76,_0x1c34b3=_0x1efe68();while(!![]){try{const _0x31e8fc=-parseInt(_0xc79ae5(0x164))/0x1+parseInt(_0xc79ae5(0x157))/0x2+-parseInt(_0xc79ae5(0x140))/0x3+parseInt(_0xc79ae5(0x147))/0x4*(-parseInt(_0xc79ae5(0x148))/0x5)+-parseInt(_0xc79ae5(0x128))/0x6+parseInt(_0xc79ae5(0x154))/0x7*(parseInt(_0xc79ae5(0x14e))/0x8)+parseInt(_0xc79ae5(0x14b))/0x9*(parseInt(_0xc79ae5(0x14c))/0xa);if(_0x31e8fc===_0x1a9cfa)break;else _0x1c34b3['push'](_0x1c34b3['shift']());}catch(_0x3c8e4f){_0x1c34b3['push'](_0x1c34b3['shift']());}}}(_0x5967,0xafca9));import{Plugin as _0x3dc7ba}from'ckeditor5/src/core.js';import{User as _0x597f6b,TrackChangesService as _0x254db6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5967(){const _0x808a91=['_fetchMissingUsersForThreads','connected','1310861zwwXBR','adapter','delete','addToReconnectionStack','5371098WcNYJj','getUser','_trackChangesService','addSuggestionData','hasSuggestion','isPremiumPlugin','plugins','pluginName','add','originalSuggestionId','_bufferedRequests','then','isConnected','CloudServicesTrackChangesAdapter','init','collaboration.channelId','requires','from','editor','get','connection','startsWith','getSuggestion','message','3589500raSKzy','cloud-services-internal-error:\x20Not\x20connected.','suggestionUpdated','attributes','TrackChangesEditing','size','connect','26036vPLjlU','95WQHhWB','values','_waitForServiceReady','63TcvjoE','2316590LgXgjk','listenTo','29168eOOIcM','off','addUser','open','state','TrackChangesService','2471JTizOT','cloud-services-internal-error:\x20Request\x20timeout.','update','2675210tYbGDN','data','isOfficialPlugin','catch','set','find','reconnect','_saved','type','config','getMany'];_0x5967=function(){return _0x808a91;};return _0x5967();}import{WebSocketGateway as _0x32c621}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xc1210d}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x231d67}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x3dc7ba{static [_0x338d3a(0x153)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x254db6)());[_0x338d3a(0x132)];[_0x338d3a(0x12a)];static get[_0x338d3a(0x138)](){const _0x298e7a=_0x338d3a;return[_0xc1210d,_0x298e7a(0x144),_0x32c621];}static get[_0x338d3a(0x12f)](){const _0x131dd0=_0x338d3a;return _0x131dd0(0x135);}static get[_0x338d3a(0x159)](){return!0x0;}static get[_0x338d3a(0x12d)](){return!0x0;}constructor(_0x5b85a6){const _0x245eb4=_0x338d3a;super(_0x5b85a6);const _0x171ced=this[_0x245eb4(0x13a)][_0x245eb4(0x160)][_0x245eb4(0x13b)](_0x245eb4(0x137));this[_0x245eb4(0x132)]=new Map(),this[_0x245eb4(0x12a)]=new CloudServicesTrackChangesAdapter[(_0x245eb4(0x153))](_0x171ced);}[_0x338d3a(0x136)](){const _0x1102d1=_0x338d3a,_0x4fc7e5=this[_0x1102d1(0x13a)][_0x1102d1(0x12e)][_0x1102d1(0x13b)](_0x32c621),_0xec49ff=this[_0x1102d1(0x13a)][_0x1102d1(0x12e)][_0x1102d1(0x13b)](_0x1102d1(0x144));return _0xec49ff[_0x1102d1(0x165)]={'getSuggestion':async _0x1141c5=>{const _0x18d732=_0x1102d1;await this[_0x18d732(0x14a)]();const _0x3e60a4=await this[_0x18d732(0x12a)][_0x18d732(0x13b)](_0x1141c5)[_0x18d732(0x15a)](N);return await this[_0x18d732(0x162)]([_0x3e60a4]),_0x3e60a4;},'addSuggestion':async({id:_0x14aa13,type:_0x291359,data:_0x19ab2f,originalSuggestionId:_0x36781c,attributes:_0x930dd8})=>{const _0x3d9d3e=_0x1102d1;await this[_0x3d9d3e(0x14a)]();const _0x1973b8={'id':_0x14aa13,'type':_0x291359,'data':_0x19ab2f,'originalSuggestionId':_0x36781c,'attributes':_0x930dd8},_0x442188=await this[_0x3d9d3e(0x12a)][_0x3d9d3e(0x130)](_0x14aa13,_0x291359,_0x19ab2f,_0x36781c,_0x930dd8)[_0x3d9d3e(0x15a)](_0x9a3657=>{if(st(_0x9a3657))return new Promise(_0x1d3823=>{const _0x2e8322=_0x1b76;this[_0x2e8322(0x132)][_0x2e8322(0x15b)](_0x14aa13,{'resolve':_0x1d3823,'suggestionData':_0x1973b8});});throw _0x9a3657;});return this[_0x3d9d3e(0x132)][_0x3d9d3e(0x166)](_0x14aa13),_0x442188;},'updateSuggestion':async(_0x516f65,_0x54401d)=>{const _0x5cb3e5=_0x1102d1;if(await this[_0x5cb3e5(0x14a)](),_0x5cb3e5(0x151)!==_0x54401d[_0x5cb3e5(0x152)])return this[_0x5cb3e5(0x12a)][_0x5cb3e5(0x156)](_0x516f65,_0x54401d)[_0x5cb3e5(0x15a)](N);}},this[_0x1102d1(0x14d)](this[_0x1102d1(0x12a)],_0x1102d1(0x142),(_0xd1f8ed,_0x6d92dd)=>{const _0x337ee3=_0x1102d1;_0xec49ff[_0x337ee3(0x12c)](_0x6d92dd['id'])&&(_0xec49ff[_0x337ee3(0x13e)](_0x6d92dd['id'])[_0x337ee3(0x143)]=_0x6d92dd[_0x337ee3(0x143)]);}),this[_0x1102d1(0x12a)][_0x1102d1(0x146)](_0x4fc7e5[_0x1102d1(0x13c)])[_0x1102d1(0x133)](_0x44de77=>(_0x4fc7e5[_0x1102d1(0x127)](this),this[_0x1102d1(0x162)](_0x44de77)[_0x1102d1(0x133)](()=>{const _0xdc72fd=_0x1102d1;for(const _0x5b1f90 of _0x44de77){_0xec49ff[_0xdc72fd(0x12b)](_0x5b1f90)[_0xdc72fd(0x15e)]=!0x0;}})));}async[_0x338d3a(0x15d)](){const _0x3bcb75=_0x338d3a,_0xaf5538=this[_0x3bcb75(0x13a)][_0x3bcb75(0x12e)][_0x3bcb75(0x13b)](_0x3bcb75(0x144)),{connection:_0x5e0adb}=this[_0x3bcb75(0x13a)][_0x3bcb75(0x12e)][_0x3bcb75(0x13b)](_0x32c621),_0x3fdd00=await this[_0x3bcb75(0x12a)][_0x3bcb75(0x146)](_0x5e0adb);await this[_0x3bcb75(0x162)](_0x3fdd00);for(const {suggestionData:_0x4906b4,resolve:_0x157c6f}of this[_0x3bcb75(0x132)][_0x3bcb75(0x149)]()){let _0x12f3b4=_0x3fdd00[_0x3bcb75(0x15c)](_0x99e2f7=>_0x99e2f7['id']===_0x4906b4['id']);_0x12f3b4||(_0x12f3b4=await this[_0x3bcb75(0x12a)][_0x3bcb75(0x130)](_0x4906b4['id'],_0x4906b4[_0x3bcb75(0x15f)],_0x4906b4[_0x3bcb75(0x158)],_0x4906b4[_0x3bcb75(0x131)])),_0x157c6f(_0x12f3b4);}for(const _0x553acb of _0x3fdd00)_0xaf5538[_0x3bcb75(0x12c)](_0x553acb['id'])||_0xaf5538[_0x3bcb75(0x12b)](_0x553acb);}async[_0x338d3a(0x14a)](){const _0x1a737c=_0x338d3a;this[_0x1a737c(0x12a)][_0x1a737c(0x134)]||await new Promise(_0x10b040=>{const _0x4f569b=_0x1a737c;this[_0x4f569b(0x14d)](this[_0x4f569b(0x12a)],_0x4f569b(0x163),_0x52959c=>{const _0x40bda9=_0x4f569b;_0x52959c[_0x40bda9(0x14f)](),_0x10b040();});});}async[_0x338d3a(0x162)](_0x2d83bf){const _0x294ada=_0x338d3a,_0x354af8=this[_0x294ada(0x13a)][_0x294ada(0x12e)][_0x294ada(0x13b)](_0x231d67),{connection:_0x63e68a}=this[_0x294ada(0x13a)][_0x294ada(0x12e)][_0x294ada(0x13b)](_0x32c621),_0x6471a5=new Set();for(const {authorId:_0x583fa8}of _0x2d83bf)_0x354af8[_0x294ada(0x129)](_0x583fa8)||_0x6471a5[_0x294ada(0x130)](_0x583fa8);if(0x0===_0x6471a5[_0x294ada(0x145)])return;const _0x438b45=await _0x597f6b[_0x294ada(0x161)](_0x63e68a,Array[_0x294ada(0x139)](_0x6471a5));for(const _0x25225 of _0x438b45)_0x354af8[_0x294ada(0x129)](_0x25225['id'])||_0x354af8[_0x294ada(0x150)](_0x25225);}}function N(_0x24793b){if(st(_0x24793b))return new Promise(()=>{});throw _0x24793b;}function _0x1b76(_0x5ddc12,_0x36e054){const _0x59678f=_0x5967();return _0x1b76=function(_0x1b76b4,_0x13d295){_0x1b76b4=_0x1b76b4-0x127;let _0x1f4c5a=_0x59678f[_0x1b76b4];return _0x1f4c5a;},_0x1b76(_0x5ddc12,_0x36e054);}function st(_0xfc20f9){const _0xa6f402=_0x338d3a;return _0xfc20f9[_0xa6f402(0x13f)][_0xa6f402(0x13d)](_0xa6f402(0x141))||_0xfc20f9[_0xa6f402(0x13f)][_0xa6f402(0x13d)](_0xa6f402(0x155));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7d7f63=_0x2b29;(function(_0x1861bb,_0x38b5b0){var _0xeb658=_0x2b29,_0x3c7b52=_0x1861bb();while(!![]){try{var _0x3d3f20=parseInt(_0xeb658(0xf6))/0x1*(parseInt(_0xeb658(0x103))/0x2)+parseInt(_0xeb658(0xf2))/0x3*(parseInt(_0xeb658(0xf7))/0x4)+-parseInt(_0xeb658(0x100))/0x5*(parseInt(_0xeb658(0xff))/0x6)+-parseInt(_0xeb658(0xfc))/0x7+parseInt(_0xeb658(0xf9))/0x8*(parseInt(_0xeb658(0xf3))/0x9)+parseInt(_0xeb658(0xf8))/0xa*(parseInt(_0xeb658(0xfd))/0xb)+-parseInt(_0xeb658(0xfe))/0xc*(parseInt(_0xeb658(0xf5))/0xd);if(_0x3d3f20===_0x38b5b0)break;else _0x3c7b52['push'](_0x3c7b52['shift']());}catch(_0x52cf20){_0x3c7b52['push'](_0x3c7b52['shift']());}}}(_0x59ad,0xe856b));function _0x59ad(){var _0x1bbd33=['320RZSctN','RealTimeCollaborativeTrackChanges','TrackChanges','5595310VHaiOm','428549ilLixM','12GDxAFm','1073346iYpqee','20BzABsF','isPremiumPlugin','requires','3729854wDQVgZ','isOfficialPlugin','299601mjJMGq','35946XebTEM','pluginName','2138084sHZzKz','1wHrlkr','4cPSFht','130YHalNK'];_0x59ad=function(){return _0x1bbd33;};return _0x59ad();}import{Plugin as _0x160baa}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x539275}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x2b29(_0x1306df,_0x71e529){var _0x59ad36=_0x59ad();return _0x2b29=function(_0x2b29a5,_0x236f56){_0x2b29a5=_0x2b29a5-0xf2;var _0x579c60=_0x59ad36[_0x2b29a5];return _0x579c60;},_0x2b29(_0x1306df,_0x71e529);}import{RealTimeCollaborativeComments as _0x338ee5}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x160baa{static get[_0x7d7f63(0x102)](){var _0x400d23=_0x7d7f63;return[_0x338ee5,_0x539275,_0x400d23(0xfb)];}static get[_0x7d7f63(0xf4)](){var _0x17ef5b=_0x7d7f63;return _0x17ef5b(0xfa);}static get[_0x7d7f63(0x104)](){return!0x0;}static get[_0x7d7f63(0x101)](){return!0x0;}}
23
+ var _0x205fbf=_0x2a78;(function(_0x44a6cc,_0x4c6783){var _0x4d675f=_0x2a78,_0x22bca4=_0x44a6cc();while(!![]){try{var _0x1175ec=-parseInt(_0x4d675f(0x76))/0x1+parseInt(_0x4d675f(0x73))/0x2+-parseInt(_0x4d675f(0x77))/0x3*(parseInt(_0x4d675f(0x75))/0x4)+parseInt(_0x4d675f(0x7d))/0x5*(parseInt(_0x4d675f(0x7b))/0x6)+-parseInt(_0x4d675f(0x7e))/0x7*(-parseInt(_0x4d675f(0x7a))/0x8)+-parseInt(_0x4d675f(0x82))/0x9*(parseInt(_0x4d675f(0x74))/0xa)+parseInt(_0x4d675f(0x7f))/0xb;if(_0x1175ec===_0x4c6783)break;else _0x22bca4['push'](_0x22bca4['shift']());}catch(_0x16e221){_0x22bca4['push'](_0x22bca4['shift']());}}}(_0x5d61,0xbcc45));import{Plugin as _0x571fd6}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2509dd}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x26c73b}from'./realtimecollaborativecomments.js';function _0x2a78(_0x4b306b,_0x21219f){var _0x5d6144=_0x5d61();return _0x2a78=function(_0x2a78a1,_0x4e9023){_0x2a78a1=_0x2a78a1-0x73;var _0xd1e461=_0x5d6144[_0x2a78a1];return _0xd1e461;},_0x2a78(_0x4b306b,_0x21219f);}function _0x5d61(){var _0x32c0e8=['5ydpNQf','600922REURJm','20814607sHNwJA','pluginName','TrackChanges','90KiYldh','RealTimeCollaborativeTrackChanges','168646PJdCSg','571350UxeSQN','244EKweIN','1397327ZnJpmI','47631dncADD','requires','isOfficialPlugin','72GViojN','5767134QIAsTO','isPremiumPlugin'];_0x5d61=function(){return _0x32c0e8;};return _0x5d61();}export class RealTimeCollaborativeTrackChanges extends _0x571fd6{static get[_0x205fbf(0x78)](){var _0x3d8464=_0x205fbf;return[_0x26c73b,_0x2509dd,_0x3d8464(0x81)];}static get[_0x205fbf(0x80)](){var _0x3be9eb=_0x205fbf;return _0x3be9eb(0x83);}static get[_0x205fbf(0x79)](){return!0x0;}static get[_0x205fbf(0x7c)](){return!0x0;}}