@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.4 → 47.4.0-alpha.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 _0x49fbce=_0xb898;(function(_0x371bd0,_0x53c105){const _0x328abc=_0xb898,_0x5cea58=_0x371bd0();while(!![]){try{const _0x2d3442=-parseInt(_0x328abc(0xa9))/0x1*(parseInt(_0x328abc(0xd8))/0x2)+-parseInt(_0x328abc(0xc1))/0x3*(-parseInt(_0x328abc(0xa2))/0x4)+parseInt(_0x328abc(0xc2))/0x5*(parseInt(_0x328abc(0xa4))/0x6)+-parseInt(_0x328abc(0xd2))/0x7*(-parseInt(_0x328abc(0xb8))/0x8)+-parseInt(_0x328abc(0xc0))/0x9+-parseInt(_0x328abc(0xb0))/0xa*(-parseInt(_0x328abc(0x9a))/0xb)+parseInt(_0x328abc(0xc9))/0xc;if(_0x2d3442===_0x53c105)break;else _0x5cea58['push'](_0x5cea58['shift']());}catch(_0x37bf88){_0x5cea58['push'](_0x5cea58['shift']());}}}(_0x4f95,0xdff67));import{ContextPlugin as _0x56eddc}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x48bec,CKEditorError as _0x573265}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x45eb4e,WEB_SOCKET_GATEWAY_STATES as _0x1b57a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x32c8f7}from'ckeditor5/src/ui.js';function _0xb898(_0x284636,_0x6e37a0){const _0x4f953c=_0x4f95();return _0xb898=function(_0xb898d2,_0x27df29){_0xb898d2=_0xb898d2-0x91;let _0x142cf0=_0x4f953c[_0xb898d2];return _0x142cf0;},_0xb898(_0x284636,_0x6e37a0);}function _0x4f95(){const _0x1a07e5=['56YGbjDI','showWarning','add','all','delete','then','cloudServices.requestTimeout','_reconnect','code','real-time-collaboration','online','limitExceeded','cloudServices.connectionTimeout','requires','2105015EMwHiM','config','set','removeFromReconnectionStack','error','plugins','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.','token','1820dGsSdb','_isBrowserOffline','1554OdihGn','WebSocketGateway','cloudservices-reconnection-error','isOfficialPlugin','addToReconnectionStack','41365HzCmse','isPremiumPlugin','context','connected','isInReconnectionStack','pluginName','reconnect','10nyEWfc','CloudServices','catch','_reconnectionStack','destroy','CONNECTING','define','disconnect','11992qtoHKt','offline','has','_shouldPluginsReconnect','stopListening','bind','listenTo','_domEmitter','14577138yoFYag','6522PZZNqn','22415cjKDhZ','websocketgateway-invalid-plugin-interface','DISCONNECTED','websocketgateway-missing-websocket-url','cloudservices-init','connect','connection','1907016aZuLXx','Connected\x20users\x20limit\x20exceeded','function','state','constructor','websocketgateway-missing-token','CONNECTED','webSocketUrl','get','5579UscADR','init','initialReconnectionInterval','from','websocketgateway-plugin-already-registered','change:me'];_0x4f95=function(){return _0x1a07e5;};return _0x4f95();}export class WebSocketGateway extends _0x56eddc{static [_0x49fbce(0xa5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x45eb4e)());static [_0x49fbce(0xd4)]=0x3e8;[_0x49fbce(0xc8)];[_0x49fbce(0xb3)];[_0x49fbce(0xbb)];[_0x49fbce(0xbf)];static get[_0x49fbce(0x99)](){const _0x3d5568=_0x49fbce;return[_0x3d5568(0xb1),_0x32c8f7];}static get[_0x49fbce(0xae)](){const _0x426219=_0x49fbce;return _0x426219(0xa5);}static get[_0x49fbce(0xa7)](){return!0x0;}static get[_0x49fbce(0xaa)](){return!0x0;}constructor(_0x487416){const _0x290d9f=_0x49fbce;super(_0x487416),this[_0x290d9f(0x9c)](_0x290d9f(0xcc),_0x1b57a8[_0x290d9f(0xcf)]),this[_0x290d9f(0x9c)](_0x290d9f(0xa3),!0x1),this[_0x290d9f(0xb3)]=new Set(),this[_0x290d9f(0xbb)]=!0x1,this[_0x290d9f(0xbf)]=new(_0x48bec())();}[_0x49fbce(0xd3)](){const _0xb939ae=_0x49fbce,_0x1a2716=this[_0xb939ae(0xab)],_0x9edd29=_0x1a2716[_0xb939ae(0x9f)][_0xb939ae(0xd1)](_0xb939ae(0xb1)),_0x1b78a0=_0x1a2716[_0xb939ae(0x9f)][_0xb939ae(0xd1)](_0x32c8f7);if(!_0x9edd29[_0xb939ae(0xa1)])throw new _0x573265(_0xb939ae(0xce),this);if(!_0x9edd29[_0xb939ae(0xd0)])throw new _0x573265(_0xb939ae(0xc5),this);return this[_0xb939ae(0xbf)][_0xb939ae(0xbe)](window,_0xb939ae(0xb9),()=>this[_0xb939ae(0xa3)]=!0x0),this[_0xb939ae(0xbf)][_0xb939ae(0xbe)](window,_0xb939ae(0x96),()=>this[_0xb939ae(0xa3)]=!0x1),this[_0xb939ae(0xab)][_0xb939ae(0x9b)][_0xb939ae(0xb6)](_0xb939ae(0x98),0xa),this[_0xb939ae(0xab)][_0xb939ae(0x9b)][_0xb939ae(0xb6)](_0xb939ae(0x92),0x14),WebSocketGateway[_0xb939ae(0xa5)][_0xb939ae(0xc7)](_0x9edd29[_0xb939ae(0xa1)],_0x9edd29[_0xb939ae(0xd0)],{'timeout':0x3e8*this[_0xb939ae(0xab)][_0xb939ae(0x9b)][_0xb939ae(0xd1)](_0xb939ae(0x98)),'requestTimeout':0x3e8*this[_0xb939ae(0xab)][_0xb939ae(0x9b)][_0xb939ae(0xd1)](_0xb939ae(0x92))})[_0xb939ae(0x91)](_0x5597cd=>{const _0x413875=_0xb939ae;if(this[_0x413875(0xc8)]=_0x5597cd,this[_0x413875(0xbd)](_0x413875(0xcc))['to'](_0x5597cd,_0x413875(0xcc),this,_0x413875(0xa3),(_0x417841,_0x5d9e74)=>(_0x413875(0xac)!==_0x417841&&(this[_0x413875(0xbb)]=!0x0),_0x5d9e74||_0x417841!==_0x1b57a8[_0x413875(0xcf)]?_0x1b57a8[_0x413875(0xc4)]:this[_0x413875(0xcc)]==_0x1b57a8[_0x413875(0xc4)]&&this[_0x413875(0xbb)]?(this[_0x413875(0xbb)]=!0x1,this[_0x413875(0x93)](),_0x1b57a8[_0x413875(0xb5)]):_0x1b57a8[_0x413875(0xcf)])),this[_0x413875(0xc8)]['on'](_0x413875(0x9e),(_0x516eb8,_0x69d40d)=>{const _0x4bf935=_0x413875;if(_0x4bf935(0x97)!==_0x69d40d[_0x4bf935(0x94)])throw console[_0x4bf935(0x9e)](_0x69d40d),new _0x573265(_0x4bf935(0xc6),null,{'originalError':_0x69d40d});_0x1b78a0[_0x4bf935(0xd9)](_0x4bf935(0xa0),{'title':_0x4bf935(0xca),'namespace':_0x4bf935(0x95)});}),!_0x5597cd['me'])return new Promise(_0x47a881=>_0x5597cd['on'](_0x413875(0xd7),_0x47a881));})[_0xb939ae(0xb2)](_0x531725=>{const _0x1eb62d=_0xb939ae;throw console[_0x1eb62d(0x9e)](_0x531725),new _0x573265(_0x1eb62d(0xc6),null,{'originalError':_0x531725});});}[_0x49fbce(0xa8)](_0x52b1ca){const _0x8b5771=_0x49fbce;if(_0x8b5771(0xcb)!=typeof _0x52b1ca[_0x8b5771(0xaf)])throw new _0x573265(_0x8b5771(0xc3),this);if(this[_0x8b5771(0xad)](_0x52b1ca))throw new _0x573265(_0x8b5771(0xd6),this,{'name':_0x52b1ca[_0x8b5771(0xcd)][_0x8b5771(0xae)]});this[_0x8b5771(0xb3)][_0x8b5771(0xda)](_0x52b1ca);}[_0x49fbce(0x9d)](_0x1aed3d){const _0x1c4d73=_0x49fbce;this[_0x1c4d73(0xb3)][_0x1c4d73(0xdc)](_0x1aed3d);}[_0x49fbce(0xad)](_0x55e82a){const _0x56966b=_0x49fbce;return this[_0x56966b(0xb3)][_0x56966b(0xba)](_0x55e82a);}[_0x49fbce(0x93)](){const _0x525c4e=_0x49fbce;return this[_0x525c4e(0xc8)][_0x525c4e(0xaf)]()[_0x525c4e(0x91)](()=>Promise[_0x525c4e(0xdb)](Array[_0x525c4e(0xd5)](this[_0x525c4e(0xb3)],_0x1f940f=>_0x1f940f[_0x525c4e(0xaf)]())))[_0x525c4e(0x91)](()=>this[_0x525c4e(0xcc)]=_0x1b57a8[_0x525c4e(0xcf)])[_0x525c4e(0xb2)](_0x261bca=>{const _0x5edea1=_0x525c4e;throw console[_0x5edea1(0x9e)](_0x261bca),new _0x573265(_0x5edea1(0xa6),this[_0x5edea1(0xab)]);});}[_0x49fbce(0xb7)](){const _0x339372=_0x49fbce;this[_0x339372(0xc8)]&&this[_0x339372(0xc8)][_0x339372(0xb7)](),this[_0x339372(0xcc)]=_0x1b57a8[_0x339372(0xc4)],this[_0x339372(0xbf)][_0x339372(0xbc)]();}[_0x49fbce(0xb4)](){const _0x1c6c92=_0x49fbce;this[_0x1c6c92(0xb7)](),super[_0x1c6c92(0xb4)]();}}
23
+ const _0x46b211=_0x2850;(function(_0x26fd32,_0x2c9823){const _0x4c7403=_0x2850,_0x7ced19=_0x26fd32();while(!![]){try{const _0x41d76d=parseInt(_0x4c7403(0xce))/0x1*(parseInt(_0x4c7403(0xbd))/0x2)+parseInt(_0x4c7403(0xd4))/0x3+-parseInt(_0x4c7403(0x91))/0x4*(parseInt(_0x4c7403(0xa3))/0x5)+parseInt(_0x4c7403(0xbb))/0x6*(-parseInt(_0x4c7403(0xaa))/0x7)+parseInt(_0x4c7403(0xcc))/0x8*(parseInt(_0x4c7403(0x9f))/0x9)+-parseInt(_0x4c7403(0xbe))/0xa*(parseInt(_0x4c7403(0xa2))/0xb)+-parseInt(_0x4c7403(0xba))/0xc;if(_0x41d76d===_0x2c9823)break;else _0x7ced19['push'](_0x7ced19['shift']());}catch(_0x44bfe5){_0x7ced19['push'](_0x7ced19['shift']());}}}(_0xb8b7,0xeb05e));function _0xb8b7(){const _0x20ec66=['421944BjqAZt','has','15926GfoFZn','14660NMnIpl','connected','get','requires','catch','token','all','code','_domEmitter','showWarning','error','context','removeFromReconnectionStack','CONNECTED','10424ekMerf','add','223ndSPfA','online','connect','from','websocketgateway-missing-token','DISCONNECTED','3956973PKfVnj','limitExceeded','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.','state','Connected\x20users\x20limit\x20exceeded','isPremiumPlugin','isInReconnectionStack','plugins','connection','383848XPZXdt','cloudServices.connectionTimeout','set','_reconnect','cloudservices-init','websocketgateway-plugin-already-registered','websocketgateway-missing-websocket-url','bind','define','listenTo','constructor','delete','websocketgateway-invalid-plugin-interface','webSocketUrl','9225HIAiJG','pluginName','_reconnectionStack','4631LsyhcB','10dSqGTr','stopListening','cloudServices.requestTimeout','function','_isBrowserOffline','change:me','isOfficialPlugin','112pGlqRR','reconnect','destroy','real-time-collaboration','addToReconnectionStack','WebSocketGateway','disconnect','cloudservices-reconnection-error','initialReconnectionInterval','CloudServices','_shouldPluginsReconnect','then','config','init','CONNECTING','offline','18400404TYfDJf'];_0xb8b7=function(){return _0x20ec66;};return _0xb8b7();}function _0x2850(_0x2b9124,_0xe5df23){const _0xb8b70a=_0xb8b7();return _0x2850=function(_0x2850da,_0x559ad2){_0x2850da=_0x2850da-0x8a;let _0x4239fd=_0xb8b70a[_0x2850da];return _0x4239fd;},_0x2850(_0x2b9124,_0xe5df23);}import{ContextPlugin as _0x4a1982}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x299f58,CKEditorError as _0x59541c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1afece,WEB_SOCKET_GATEWAY_STATES as _0x3b9f8f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3658b2}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4a1982{static [_0x46b211(0xaf)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1afece)());static [_0x46b211(0xb2)]=0x3e8;[_0x46b211(0x90)];[_0x46b211(0xa1)];[_0x46b211(0xb4)];[_0x46b211(0xc6)];static get[_0x46b211(0xc1)](){const _0x57ddd6=_0x46b211;return[_0x57ddd6(0xb3),_0x3658b2];}static get[_0x46b211(0xa0)](){const _0x5b4423=_0x46b211;return _0x5b4423(0xaf);}static get[_0x46b211(0xa9)](){return!0x0;}static get[_0x46b211(0x8d)](){return!0x0;}constructor(_0x21a9bb){const _0x48d336=_0x46b211;super(_0x21a9bb),this[_0x48d336(0x93)](_0x48d336(0x8b),_0x3b9f8f[_0x48d336(0xcb)]),this[_0x48d336(0x93)](_0x48d336(0xa7),!0x1),this[_0x48d336(0xa1)]=new Set(),this[_0x48d336(0xb4)]=!0x1,this[_0x48d336(0xc6)]=new(_0x299f58())();}[_0x46b211(0xb7)](){const _0x11655f=_0x46b211,_0x163781=this[_0x11655f(0xc9)],_0x50ff9d=_0x163781[_0x11655f(0x8f)][_0x11655f(0xc0)](_0x11655f(0xb3)),_0x511a1a=_0x163781[_0x11655f(0x8f)][_0x11655f(0xc0)](_0x3658b2);if(!_0x50ff9d[_0x11655f(0xc3)])throw new _0x59541c(_0x11655f(0xd2),this);if(!_0x50ff9d[_0x11655f(0x9e)])throw new _0x59541c(_0x11655f(0x97),this);return this[_0x11655f(0xc6)][_0x11655f(0x9a)](window,_0x11655f(0xb9),()=>this[_0x11655f(0xa7)]=!0x0),this[_0x11655f(0xc6)][_0x11655f(0x9a)](window,_0x11655f(0xcf),()=>this[_0x11655f(0xa7)]=!0x1),this[_0x11655f(0xc9)][_0x11655f(0xb6)][_0x11655f(0x99)](_0x11655f(0x92),0xa),this[_0x11655f(0xc9)][_0x11655f(0xb6)][_0x11655f(0x99)](_0x11655f(0xa5),0x14),WebSocketGateway[_0x11655f(0xaf)][_0x11655f(0xd0)](_0x50ff9d[_0x11655f(0xc3)],_0x50ff9d[_0x11655f(0x9e)],{'timeout':0x3e8*this[_0x11655f(0xc9)][_0x11655f(0xb6)][_0x11655f(0xc0)](_0x11655f(0x92)),'requestTimeout':0x3e8*this[_0x11655f(0xc9)][_0x11655f(0xb6)][_0x11655f(0xc0)](_0x11655f(0xa5))})[_0x11655f(0xb5)](_0x1deb0d=>{const _0x44cc86=_0x11655f;if(this[_0x44cc86(0x90)]=_0x1deb0d,this[_0x44cc86(0x98)](_0x44cc86(0x8b))['to'](_0x1deb0d,_0x44cc86(0x8b),this,_0x44cc86(0xa7),(_0x3e7565,_0x156d4d)=>(_0x44cc86(0xbf)!==_0x3e7565&&(this[_0x44cc86(0xb4)]=!0x0),_0x156d4d||_0x3e7565!==_0x3b9f8f[_0x44cc86(0xcb)]?_0x3b9f8f[_0x44cc86(0xd3)]:this[_0x44cc86(0x8b)]==_0x3b9f8f[_0x44cc86(0xd3)]&&this[_0x44cc86(0xb4)]?(this[_0x44cc86(0xb4)]=!0x1,this[_0x44cc86(0x94)](),_0x3b9f8f[_0x44cc86(0xb8)]):_0x3b9f8f[_0x44cc86(0xcb)])),this[_0x44cc86(0x90)]['on'](_0x44cc86(0xc8),(_0x29001e,_0x195898)=>{const _0x545244=_0x44cc86;if(_0x545244(0xd5)!==_0x195898[_0x545244(0xc5)])throw console[_0x545244(0xc8)](_0x195898),new _0x59541c(_0x545244(0x95),null,{'originalError':_0x195898});_0x511a1a[_0x545244(0xc7)](_0x545244(0x8a),{'title':_0x545244(0x8c),'namespace':_0x545244(0xad)});}),!_0x1deb0d['me'])return new Promise(_0x5a9b39=>_0x1deb0d['on'](_0x44cc86(0xa8),_0x5a9b39));})[_0x11655f(0xc2)](_0x516176=>{const _0x592b3d=_0x11655f;throw console[_0x592b3d(0xc8)](_0x516176),new _0x59541c(_0x592b3d(0x95),null,{'originalError':_0x516176});});}[_0x46b211(0xae)](_0x4a77cb){const _0x28e352=_0x46b211;if(_0x28e352(0xa6)!=typeof _0x4a77cb[_0x28e352(0xab)])throw new _0x59541c(_0x28e352(0x9d),this);if(this[_0x28e352(0x8e)](_0x4a77cb))throw new _0x59541c(_0x28e352(0x96),this,{'name':_0x4a77cb[_0x28e352(0x9b)][_0x28e352(0xa0)]});this[_0x28e352(0xa1)][_0x28e352(0xcd)](_0x4a77cb);}[_0x46b211(0xca)](_0x2b9b01){const _0x2a4266=_0x46b211;this[_0x2a4266(0xa1)][_0x2a4266(0x9c)](_0x2b9b01);}[_0x46b211(0x8e)](_0x5d4ae2){const _0x53d903=_0x46b211;return this[_0x53d903(0xa1)][_0x53d903(0xbc)](_0x5d4ae2);}[_0x46b211(0x94)](){const _0x53d258=_0x46b211;return this[_0x53d258(0x90)][_0x53d258(0xab)]()[_0x53d258(0xb5)](()=>Promise[_0x53d258(0xc4)](Array[_0x53d258(0xd1)](this[_0x53d258(0xa1)],_0x3d5539=>_0x3d5539[_0x53d258(0xab)]())))[_0x53d258(0xb5)](()=>this[_0x53d258(0x8b)]=_0x3b9f8f[_0x53d258(0xcb)])[_0x53d258(0xc2)](_0x33e3e3=>{const _0x3ff33a=_0x53d258;throw console[_0x3ff33a(0xc8)](_0x33e3e3),new _0x59541c(_0x3ff33a(0xb1),this[_0x3ff33a(0xc9)]);});}[_0x46b211(0xb0)](){const _0x1b8366=_0x46b211;this[_0x1b8366(0x90)]&&this[_0x1b8366(0x90)][_0x1b8366(0xb0)](),this[_0x1b8366(0x8b)]=_0x3b9f8f[_0x1b8366(0xd3)],this[_0x1b8366(0xc6)][_0x1b8366(0xa4)]();}[_0x46b211(0xac)](){const _0x370b6c=_0x46b211;this[_0x370b6c(0xb0)](),super[_0x370b6c(0xac)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x8a9fc4=_0xfb67;(function(_0x11c7d2,_0x5c78ee){var _0x12acb6=_0xfb67,_0x5062bb=_0x11c7d2();while(!![]){try{var _0x273ae4=-parseInt(_0x12acb6(0xea))/0x1*(parseInt(_0x12acb6(0xe6))/0x2)+parseInt(_0x12acb6(0xe4))/0x3+-parseInt(_0x12acb6(0xdf))/0x4+-parseInt(_0x12acb6(0xe1))/0x5+-parseInt(_0x12acb6(0xe8))/0x6*(parseInt(_0x12acb6(0xe9))/0x7)+-parseInt(_0x12acb6(0xe7))/0x8*(-parseInt(_0x12acb6(0xde))/0x9)+parseInt(_0x12acb6(0xe3))/0xa*(parseInt(_0x12acb6(0xe0))/0xb);if(_0x273ae4===_0x5c78ee)break;else _0x5062bb['push'](_0x5062bb['shift']());}catch(_0x40a67c){_0x5062bb['push'](_0x5062bb['shift']());}}}(_0x20b6,0xc3e81));import{Plugin as _0x3fdb6e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2c1019}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0xfb67(_0x477367,_0xd6af93){var _0x20b66a=_0x20b6();return _0xfb67=function(_0xfb675b,_0x936150){_0xfb675b=_0xfb675b-0xdb;var _0xe76c=_0x20b66a[_0xfb675b];return _0xe76c;},_0xfb67(_0x477367,_0xd6af93);}function _0x20b6(){var _0x5cdf7f=['4129FXvmsU','isOfficialPlugin','isPremiumPlugin','pluginName','18HOKAWM','4402068AQVBdZ','22dEwTMw','684640SplDXc','RealTimeCollaborativeEditing','8531980qujbQv','1814898jPTVZS','requires','274EYNPmO','1825592SMEeIR','6XDCYOg','1135463tuItsM'];_0x20b6=function(){return _0x5cdf7f;};return _0x20b6();}export class RealTimeCollaborativeEditing extends _0x3fdb6e{static get[_0x8a9fc4(0xe5)](){return[_0x2c1019];}static get[_0x8a9fc4(0xdd)](){var _0x16746e=_0x8a9fc4;return _0x16746e(0xe2);}static get[_0x8a9fc4(0xdb)](){return!0x0;}static get[_0x8a9fc4(0xdc)](){return!0x0;}}
23
+ var _0x4418b6=_0xf4ed;(function(_0x3f0aa7,_0x2dd433){var _0x39ba76=_0xf4ed,_0x52483a=_0x3f0aa7();while(!![]){try{var _0x10ef65=parseInt(_0x39ba76(0x1c1))/0x1*(parseInt(_0x39ba76(0x1c9))/0x2)+-parseInt(_0x39ba76(0x1bc))/0x3*(parseInt(_0x39ba76(0x1c3))/0x4)+-parseInt(_0x39ba76(0x1c7))/0x5*(-parseInt(_0x39ba76(0x1bf))/0x6)+-parseInt(_0x39ba76(0x1bb))/0x7+-parseInt(_0x39ba76(0x1c6))/0x8+-parseInt(_0x39ba76(0x1c0))/0x9*(-parseInt(_0x39ba76(0x1c4))/0xa)+parseInt(_0x39ba76(0x1c2))/0xb;if(_0x10ef65===_0x2dd433)break;else _0x52483a['push'](_0x52483a['shift']());}catch(_0x1c34a6){_0x52483a['push'](_0x52483a['shift']());}}}(_0x310e,0x3628e));import{Plugin as _0x302b2d}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x24c430}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x302b2d{static get[_0x4418b6(0x1c5)](){return[_0x24c430];}static get[_0x4418b6(0x1bd)](){var _0x2628a9=_0x4418b6;return _0x2628a9(0x1ca);}static get[_0x4418b6(0x1c8)](){return!0x0;}static get[_0x4418b6(0x1be)](){return!0x0;}}function _0xf4ed(_0x242491,_0x2684d5){var _0x310ece=_0x310e();return _0xf4ed=function(_0xf4ed48,_0x4d05c5){_0xf4ed48=_0xf4ed48-0x1bb;var _0x29ee78=_0x310ece[_0xf4ed48];return _0x29ee78;},_0xf4ed(_0x242491,_0x2684d5);}function _0x310e(){var _0xcf1cb4=['604YBILzG','RealTimeCollaborativeEditing','1604099qFJRtb','21999donDsH','pluginName','isPremiumPlugin','482442zNNauQ','2839419dRtVRa','87HOBThc','1589940EKMcfb','100cIuJqc','10FQtRYy','requires','2032160bKRzoy','25oQrfNv','isOfficialPlugin'];_0x310e=function(){return _0xcf1cb4;};return _0x310e();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x282942=_0xbf73;(function(_0x8845cd,_0x3d20e3){const _0x2988a4=_0xbf73,_0x5971f9=_0x8845cd();while(!![]){try{const _0x4b141b=parseInt(_0x2988a4(0x246))/0x1*(parseInt(_0x2988a4(0x21e))/0x2)+parseInt(_0x2988a4(0x260))/0x3*(-parseInt(_0x2988a4(0x250))/0x4)+parseInt(_0x2988a4(0x248))/0x5+parseInt(_0x2988a4(0x236))/0x6+parseInt(_0x2988a4(0x227))/0x7+parseInt(_0x2988a4(0x224))/0x8*(-parseInt(_0x2988a4(0x1fd))/0x9)+-parseInt(_0x2988a4(0x24e))/0xa*(parseInt(_0x2988a4(0x24a))/0xb);if(_0x4b141b===_0x3d20e3)break;else _0x5971f9['push'](_0x5971f9['shift']());}catch(_0x404fe4){_0x5971f9['push'](_0x5971f9['shift']());}}}(_0x2ee5,0xee585));import{Plugin as _0x4b0ce3}from'ckeditor5/src/core.js';import{version as _0x574e7f}from'ckeditor5/src/utils.js';import{Users as _0x30888e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xbf73(_0x1d4126,_0x5ad0a6){const _0x2ee5a6=_0x2ee5();return _0xbf73=function(_0xbf7338,_0x593be){_0xbf7338=_0xbf7338-0x1f1;let _0x4a7590=_0x2ee5a6[_0xbf7338];return _0x4a7590;},_0xbf73(_0x1d4126,_0x5ad0a6);}import{RealTimeCollaborationClient as _0x5d384d}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x2ee5(){const _0x273b76=['type','isConnected','_createCurrentRevision','_getLatestVersionFromServerOperations','969154QeeNXE','_revisionHistoryService','cloud-services-internal-error:\x20Request\x20timeout.','addRevisionData','cloud-services-internal-error:\x20Not\x20connected.','getOperations','632AnMwcg','listenTo','_offset','5691910luevFU','keys','_revisions','reconnect','_waitForServiceReady','CONNECTED','editor','revisionsUpdated','_handleRevisionsUpdate','isOfficialPlugin','adapter','creatorId','init','_revisionTracker','state','5912406bBWzta','RevisionTracker','data','getMany','sessionId','_bufferUpdate','destroy','repository','get','pluginName','_preventResendingRevisionData','_getLatestVersion','wrongRequestId','CloudServicesRevisionHistoryAdapter','RevisionHistory','RevisionHistoryService','3eGPLzw','reInit','2015295oUjSif','_lastRequestId','22294019dKKgay','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','message','authorsIds','10ULUZtw','once','856VxURdm','_handleReconnectionError','connection','sendBufferedUpdates','add','startsWith','from','authors','max','has','createdAt','collaboration.channelId','400','change:_isConnected','buildRevisionData','diffData','8889dBYvDA','change:_isPendingUpdate','bind','serverHistory','connected','_fetchMissingUsers','remove','_oldOffset','requires','toVersion','getRevisions','map','_isPendingUpdate','code','isEnabled','_isConnected','_update','affectsData','2079DtYJSt','size','baseVersion','then','_bufferedUpdates','isEmptyCurrent','_revisionDataBuilder','isBundleUploaded','off','currentRevision','addUser','_fixRevision','fromVersion','marker','addToReconnectionStack','getRevision','config','setRevisionData','cloudServices.bundleVersion','plugins','getUser','length','updateRevisions','catch','reverse','isPremiumPlugin','connect','_startingVersion','setSource'];_0x2ee5=function(){return _0x273b76;};return _0x2ee5();}import{WebSocketGateway as _0x49dbd2}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x51c159}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4e2be5,RevisionHistoryService as _0xaf0df7,User as _0x1ddfb9,WEB_SOCKET_GATEWAY_STATES as _0x4b3e4f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4b0ce3{static [_0x282942(0x245)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xaf0df7)());[_0x282942(0x249)];[_0x282942(0x234)];[_0x282942(0x21f)];[_0x282942(0x1f2)];static get[_0x282942(0x1f3)](){const _0x19c245=_0x282942;return[_0x49dbd2,_0x5d384d,_0x19c245(0x244),_0x51c159,_0x30888e];}static get[_0x282942(0x23f)](){const _0x25d178=_0x282942;return _0x25d178(0x243);}static get[_0x282942(0x230)](){return!0x0;}static get[_0x282942(0x216)](){return!0x0;}constructor(_0x4b7213){const _0x163d6c=_0x282942;super(_0x4b7213);const _0x23aaba=this[_0x163d6c(0x22d)][_0x163d6c(0x20d)][_0x163d6c(0x23e)](_0x163d6c(0x25b));this[_0x163d6c(0x249)]=null,this[_0x163d6c(0x234)]=this[_0x163d6c(0x22d)][_0x163d6c(0x210)][_0x163d6c(0x23e)](_0x163d6c(0x237)),this[_0x163d6c(0x21f)]=new CloudServicesRevisionHistoryAdapter[(_0x163d6c(0x245))](_0x23aaba);}async[_0x282942(0x233)](){const _0xcaf2=_0x282942,_0x27d042=this[_0xcaf2(0x22d)][_0xcaf2(0x210)][_0xcaf2(0x23e)](_0x5d384d),_0x4ef1c8=_0x27d042[_0xcaf2(0x263)],_0x1865a7=this[_0xcaf2(0x22d)][_0xcaf2(0x210)][_0xcaf2(0x23e)](_0x49dbd2);this[_0xcaf2(0x234)][_0xcaf2(0x219)]({'history':_0x4ef1c8,'getLatestVersion':()=>this[_0xcaf2(0x241)](),'getCurrentRevisionId':()=>_0x27d042[_0xcaf2(0x23a)]});const _0x2d87ea=this[_0xcaf2(0x22d)][_0xcaf2(0x20d)][_0xcaf2(0x23e)](_0xcaf2(0x20f))||_0x574e7f,_0x107ed4=await _0x4e2be5[_0xcaf2(0x204)](_0x1865a7[_0xcaf2(0x252)],_0x2d87ea);this[_0xcaf2(0x22d)][_0xcaf2(0x210)][_0xcaf2(0x23e)](_0xcaf2(0x244))[_0xcaf2(0x231)]={'getRevision':async({revisionId:_0x5a4396})=>(await this[_0xcaf2(0x22b)](),await this[_0xcaf2(0x21f)][_0xcaf2(0x20c)](_0x5a4396)),'updateRevisions':async _0x5e7084=>{const _0x5979e3=_0xcaf2;await this[_0x5979e3(0x22b)]();const _0x28ad8a=this[_0x5979e3(0x234)][_0x5979e3(0x206)];if(_0x107ed4&&0x1===_0x5e7084[_0x5979e3(0x212)]&&_0x5e7084[0x0]['id']===_0x28ad8a['id'])return _0x5e7084;for(const _0x2da2fe of _0x5e7084)_0x2da2fe['id']===_0x28ad8a['id']&&(_0x2da2fe[_0x5979e3(0x202)]=_0x2da2fe[_0x5979e3(0x209)]===_0x2da2fe[_0x5979e3(0x1f4)]);return this[_0x5979e3(0x21f)][_0x5979e3(0x213)](_0x5e7084,this[_0x5979e3(0x249)])[_0x5979e3(0x200)](_0x4b319c=>(this[_0x5979e3(0x249)]=_0x4b319c,_0x5e7084))[_0x5979e3(0x214)](_0xb17386=>{const _0x1f1700=_0x5979e3;if(et(_0xb17386)||_0x1f1700(0x25c)===_0xb17386[_0x1f1700(0x1f8)]&&void 0x0!==_0xb17386[_0x1f1700(0x238)][_0x1f1700(0x242)]){for(const _0x16838b of _0x5e7084){!this[_0x1f1700(0x234)][_0x1f1700(0x23d)][_0x1f1700(0x20c)](_0x16838b['id'])||this[_0x1f1700(0x234)][_0x1f1700(0x23b)](_0x16838b['id'],_0x16838b,!0x1);}if(et(_0xb17386))throw _0xb17386;return _0x5e7084;}throw _0xb17386;});}},this[_0xcaf2(0x225)](this[_0xcaf2(0x21f)],_0xcaf2(0x22e),(_0x2cd9e5,{revisionsData:_0x233efb,requestId:_0x568958})=>{const _0x4e5e66=_0xcaf2;Math[_0x4e5e66(0x258)](..._0x233efb[_0x4e5e66(0x1f6)](_0x2b446e=>_0x2b446e[_0x4e5e66(0x1f4)]))>this[_0x4e5e66(0x21d)]()-0x1?this[_0x4e5e66(0x241)]()[_0x4e5e66(0x200)](()=>{const _0x3e4a9e=_0x4e5e66;this[_0x3e4a9e(0x22f)](_0x233efb,_0x568958);}):this[_0x4e5e66(0x22f)](_0x233efb,_0x568958);});const {revisions:_0x67e013,requestId:_0x482302}=await this[_0xcaf2(0x21f)][_0xcaf2(0x217)](_0x1865a7[_0xcaf2(0x252)]);_0x1865a7[_0xcaf2(0x20b)](this),this[_0xcaf2(0x249)]=_0x482302,await this[_0xcaf2(0x265)](_0x67e013);for(const _0x13a0b6 of _0x67e013)this[_0xcaf2(0x234)][_0xcaf2(0x221)](_0x13a0b6);this[_0xcaf2(0x225)](_0x27d042,_0xcaf2(0x25d),(_0x4b3587,_0x1258dd,_0x119c53)=>{const _0x4e008c=_0xcaf2;_0x119c53&&(this[_0x4e008c(0x1f2)]=_0x27d042[_0x4e008c(0x226)],_0x4b3587[_0x4e008c(0x205)]());}),this[_0xcaf2(0x234)][_0xcaf2(0x262)](_0xcaf2(0x1f9))['to'](_0x1865a7,_0xcaf2(0x235),_0x55f7c8=>_0x55f7c8===_0x4b3e4f[_0xcaf2(0x22c)]);}async[_0x282942(0x22a)](){const _0x4be65c=_0x282942,_0x51bbf5=this[_0x4be65c(0x22d)][_0x4be65c(0x210)][_0x4be65c(0x23e)](_0x49dbd2),_0x2ba5a5=this[_0x4be65c(0x22d)][_0x4be65c(0x210)][_0x4be65c(0x23e)](_0x5d384d),_0x5dabc4=async()=>{const _0x12aed8=_0x4be65c,_0x29825b=this[_0x12aed8(0x234)][_0x12aed8(0x206)],_0x472386=_0x29825b['id'],_0x32bf29=_0x472386!==_0x2ba5a5[_0x12aed8(0x23a)];if(_0x32bf29){const _0x1e6f4b=_0x2ba5a5[_0x12aed8(0x226)]-this[_0x12aed8(0x1f2)],_0xb291d6=this[_0x12aed8(0x21d)]();this[_0x12aed8(0x234)][_0x12aed8(0x203)][_0x12aed8(0x247)]();if(_0x29825b[_0x12aed8(0x1f4)]+_0x1e6f4b!==_0xb291d6){const _0x441ab8=_0x29825b[_0x12aed8(0x209)]+_0x1e6f4b,_0x25e975=this[_0x12aed8(0x22d)][_0x12aed8(0x210)][_0x12aed8(0x23e)](_0x30888e),_0x4882b5=this[_0x12aed8(0x234)][_0x12aed8(0x25e)]({'revision':_0x29825b,'from':_0x441ab8,'to':_0xb291d6});_0x4882b5['id']=_0x29825b['id'];const _0x5a6cbc=_0x4882b5[_0x12aed8(0x24d)][_0x12aed8(0x1f6)](_0x4f6714=>_0x25e975[_0x12aed8(0x211)](_0x4f6714));_0x29825b[_0x12aed8(0x1fb)]({..._0x4882b5,'authors':_0x5a6cbc},!0x0),this[_0x12aed8(0x234)][_0x12aed8(0x23b)](_0x29825b['id'],_0x4882b5,!0x0);}this[_0x12aed8(0x234)][_0x12aed8(0x218)]=_0xb291d6,(_0x29825b[_0x12aed8(0x1f4)]===_0x29825b[_0x12aed8(0x209)]&&!this[_0x12aed8(0x234)][_0x12aed8(0x201)][_0x12aed8(0x259)](_0x472386)&&this[_0x12aed8(0x234)][_0x12aed8(0x23d)][_0x12aed8(0x229)][_0x12aed8(0x1f1)](_0x472386),this[_0x12aed8(0x234)][_0x12aed8(0x21c)](_0xb291d6));}const {revisions:_0x5e6f1c,requestId:_0x1c82d7}=await this[_0x12aed8(0x21f)][_0x12aed8(0x22a)](_0x51bbf5[_0x12aed8(0x252)],this[_0x12aed8(0x249)]);_0x32bf29&&_0x5e6f1c[_0x12aed8(0x212)]>0x0?_0x2ba5a5[_0x12aed8(0x251)]():(await this[_0x12aed8(0x265)](_0x5e6f1c),this[_0x12aed8(0x22f)](_0x5e6f1c,_0x1c82d7),this[_0x12aed8(0x234)][_0x12aed8(0x253)]());};return _0x2ba5a5[_0x4be65c(0x1fa)]?_0x5dabc4():new Promise((_0x6067b3,_0xe2d93f)=>{const _0x1b9ef1=_0x4be65c;_0x2ba5a5[_0x1b9ef1(0x24f)](_0x1b9ef1(0x25d),()=>{const _0x5808d8=_0x1b9ef1;_0x5dabc4()[_0x5808d8(0x200)](_0x6067b3)[_0x5808d8(0x214)](_0xe2d93f);});});}[_0x282942(0x23c)](){const _0x32c912=_0x282942;super[_0x32c912(0x23c)]();}async[_0x282942(0x22b)](){const _0x3d162e=_0x282942;this[_0x3d162e(0x21f)][_0x3d162e(0x21b)]||await new Promise(_0x7fba4c=>{const _0x30d0dd=_0x3d162e;this[_0x30d0dd(0x225)](this[_0x30d0dd(0x21f)],_0x30d0dd(0x264),_0x2a86ff=>{const _0x1474ae=_0x30d0dd;_0x2a86ff[_0x1474ae(0x205)](),_0x7fba4c();});});}[_0x282942(0x21d)](){const _0x2245a1=_0x282942,_0x5a9c04=this[_0x2245a1(0x22d)][_0x2245a1(0x210)][_0x2245a1(0x23e)](_0x5d384d)[_0x2245a1(0x263)][_0x2245a1(0x223)]()[_0x2245a1(0x215)]();for(const _0x305af7 of _0x5a9c04)if(_0x2245a1(0x20a)!==_0x305af7[_0x2245a1(0x21a)]||_0x305af7[_0x2245a1(0x1fc)])return _0x305af7[_0x2245a1(0x1ff)]+0x1;}[_0x282942(0x241)](){const _0x42c145=_0x282942,_0x334a1c=this[_0x42c145(0x22d)][_0x42c145(0x210)][_0x42c145(0x23e)](_0x5d384d);return new Promise(_0x5e8b3f=>{const _0x263cc2=_0x42c145;_0x334a1c[_0x263cc2(0x1f7)]?_0x334a1c[_0x263cc2(0x24f)](_0x263cc2(0x261),()=>{const _0x175a19=_0x263cc2;_0x5e8b3f(this[_0x175a19(0x21d)]());}):_0x5e8b3f(this[_0x263cc2(0x21d)]());});}[_0x282942(0x22f)](_0x3d55e7,_0x59d818){const _0x4048bf=_0x282942,_0x4854a0=this[_0x4048bf(0x234)][_0x4048bf(0x23d)];this[_0x4048bf(0x249)]=_0x59d818;for(const _0x256d97 of _0x3d55e7){const _0x127e69=_0x4854a0[_0x4048bf(0x20c)](_0x256d97['id']);if(_0x127e69){if((_0x256d97[_0x4048bf(0x209)]||_0x256d97[_0x4048bf(0x1f4)])&&(_0x256d97[_0x4048bf(0x25f)]=null),_0x127e69===this[_0x4048bf(0x234)][_0x4048bf(0x206)]){const _0x3d120b=Math[_0x4048bf(0x258)](_0x127e69[_0x4048bf(0x1f4)],_0x256d97[_0x4048bf(0x1f4)]),_0x4a241f=Math[_0x4048bf(0x258)](_0x127e69[_0x4048bf(0x209)],_0x256d97[_0x4048bf(0x209)]);let _0x28a172;_0x127e69[_0x4048bf(0x1f4)]===_0x256d97[_0x4048bf(0x1f4)]&&_0x127e69[_0x4048bf(0x209)]===_0x256d97[_0x4048bf(0x209)]?(_0x28a172=!0x0,this[_0x4048bf(0x240)](_0x256d97)):_0x256d97[_0x4048bf(0x1f4)]===_0x3d120b&&_0x256d97[_0x4048bf(0x209)]===_0x4a241f?_0x28a172=!0x1:(_0x127e69[_0x4048bf(0x1f4)]===_0x3d120b&&_0x127e69[_0x4048bf(0x209)]===_0x4a241f||this[_0x4048bf(0x208)]({'revision':_0x127e69,'from':_0x4a241f,'to':_0x3d120b}),_0x28a172=!0x0),_0x28a172&&(delete _0x256d97[_0x4048bf(0x209)],delete _0x256d97[_0x4048bf(0x1f4)],delete _0x256d97[_0x4048bf(0x25f)],delete _0x256d97[_0x4048bf(0x25a)],delete _0x256d97[_0x4048bf(0x24d)]);}this[_0x4048bf(0x234)][_0x4048bf(0x20e)](_0x256d97),this[_0x4048bf(0x240)](_0x256d97);}else this[_0x4048bf(0x234)][_0x4048bf(0x221)](_0x256d97);}const _0x49505c=_0x4854a0[_0x4048bf(0x1f5)]();_0x49505c[_0x4048bf(0x215)]();for(let _0x1b094c=0x0;_0x1b094c<_0x49505c[_0x4048bf(0x212)]-0x1;_0x1b094c++){const _0x16f544=_0x49505c[_0x1b094c],_0x13c8b4=_0x49505c[_0x1b094c+0x1];if(_0x16f544[_0x4048bf(0x209)]<_0x13c8b4[_0x4048bf(0x1f4)]){const _0x1d583e=_0x13c8b4[_0x4048bf(0x1f4)],_0x532e38=Math[_0x4048bf(0x258)](_0x1d583e,_0x16f544[_0x4048bf(0x1f4)]);this[_0x4048bf(0x208)]({'revision':_0x16f544,'from':_0x1d583e,'to':_0x532e38});}}}[_0x282942(0x208)]({revision:_0x244c99,from:_0x34f450,to:_0x428547}={}){const _0x53eb1e=_0x282942,_0xd6e72a=this[_0x53eb1e(0x22d)][_0x53eb1e(0x210)][_0x53eb1e(0x23e)](_0x30888e),_0x32b70b=this[_0x53eb1e(0x234)][_0x53eb1e(0x25e)]({'revision':_0x244c99,'from':_0x34f450,'to':_0x428547});_0x32b70b[_0x53eb1e(0x257)]=_0x32b70b[_0x53eb1e(0x24d)][_0x53eb1e(0x1f6)](_0x3b5671=>_0xd6e72a[_0x53eb1e(0x211)](_0x3b5671)),_0x244c99[_0x53eb1e(0x1fb)](_0x32b70b);}[_0x282942(0x240)](_0x3065f8){const _0x34ecaf=_0x282942,_0x4321e7={};_0x4321e7['id']=_0x3065f8['id'];for(const _0x5b4947 of Object[_0x34ecaf(0x228)](_0x3065f8))'id'!==_0x5b4947&&(_0x4321e7[_0x5b4947]=void 0x0);this[_0x34ecaf(0x234)][_0x34ecaf(0x23b)](_0x4321e7['id'],_0x4321e7,!0x0);}async[_0x282942(0x265)](_0x5d22e3){const _0x462130=_0x282942,_0x4c3428=this[_0x462130(0x22d)][_0x462130(0x210)][_0x462130(0x23e)](_0x30888e),{connection:_0x22e9ce}=this[_0x462130(0x22d)][_0x462130(0x210)][_0x462130(0x23e)](_0x49dbd2),_0x44b2b9=new Set();for(const _0x513e78 of _0x5d22e3){for(const _0x1c5aa4 of _0x513e78[_0x462130(0x24d)])_0x33da2f(_0x1c5aa4);_0x513e78[_0x462130(0x232)]&&_0x33da2f(_0x513e78[_0x462130(0x232)]);}if(0x0===_0x44b2b9[_0x462130(0x1fe)])return;const _0x3c06f7=await _0x1ddfb9[_0x462130(0x239)](_0x22e9ce,Array[_0x462130(0x256)](_0x44b2b9));for(const _0x5a0d4b of _0x3c06f7)_0x4c3428[_0x462130(0x211)](_0x5a0d4b['id'])||_0x4c3428[_0x462130(0x207)](_0x5a0d4b);function _0x33da2f(_0x18281c){const _0x32dc5c=_0x462130;_0x4c3428[_0x32dc5c(0x211)](_0x18281c)||_0x44b2b9[_0x32dc5c(0x254)](_0x18281c);}}}function et(_0x1af25c){const _0x439b80=_0x282942;return _0x1af25c[_0x439b80(0x24c)][_0x439b80(0x255)](_0x439b80(0x24b))||_0x1af25c[_0x439b80(0x24c)][_0x439b80(0x255)](_0x439b80(0x222))||_0x1af25c[_0x439b80(0x24c)][_0x439b80(0x255)](_0x439b80(0x220));}
23
+ const _0x8a2e0a=_0x42d3;function _0x42d3(_0x5617fa,_0x5f4407){const _0x433df3=_0x433d();return _0x42d3=function(_0x42d3dc,_0x25ef89){_0x42d3dc=_0x42d3dc-0x1db;let _0x3ab758=_0x433df3[_0x42d3dc];return _0x3ab758;},_0x42d3(_0x5617fa,_0x5f4407);}(function(_0x55c476,_0x8af840){const _0x297549=_0x42d3,_0x49b997=_0x55c476();while(!![]){try{const _0xba266=-parseInt(_0x297549(0x1f5))/0x1*(parseInt(_0x297549(0x202))/0x2)+-parseInt(_0x297549(0x23f))/0x3*(-parseInt(_0x297549(0x223))/0x4)+parseInt(_0x297549(0x1ee))/0x5+parseInt(_0x297549(0x214))/0x6*(parseInt(_0x297549(0x24b))/0x7)+parseInt(_0x297549(0x206))/0x8*(-parseInt(_0x297549(0x230))/0x9)+parseInt(_0x297549(0x200))/0xa*(-parseInt(_0x297549(0x227))/0xb)+parseInt(_0x297549(0x1eb))/0xc*(parseInt(_0x297549(0x217))/0xd);if(_0xba266===_0x8af840)break;else _0x49b997['push'](_0x49b997['shift']());}catch(_0x190b08){_0x49b997['push'](_0x49b997['shift']());}}}(_0x433d,0x45fb4));import{Plugin as _0x3ea6b0}from'ckeditor5/src/core.js';import{version as _0x1230ec}from'ckeditor5/src/utils.js';function _0x433d(){const _0x4efae2=['connection','wrongRequestId','CloudServicesRevisionHistoryAdapter','type','addRevisionData','diffData','8212BlNIMg','get','toVersion','message','setRevisionData','destroy','CONNECTED','getMany','cloud-services-internal-error:\x20Request\x20timeout.','affectsData','_revisionTracker','1330xFmvFZ','adapter','12XDKZKq','off','_preventResendingRevisionData','isBundleUploaded','559464lqnogA','_update','_revisionHistoryService','marker','pluginName','_handleReconnectionError','repository','updateRevisions','_handleRevisionsUpdate','RevisionHistoryService','listenTo','isEmptyCurrent','_oldOffset','creatorId','3228ZCmFAx','sendBufferedUpdates','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','13zGLeju','collaboration.channelId','cloudServices.bundleVersion','startsWith','_createCurrentRevision','isPremiumPlugin','connected','currentRevision','_revisionDataBuilder','serverHistory','editor','reverse','1311628OrdNNh','authors','getRevisions','sessionId','14179hozNeO','addToReconnectionStack','once','_getLatestVersion','isEnabled','authorsIds','change:_isPendingUpdate','addUser','createdAt','18gtOynE','_isConnected','config','connect','_bufferedUpdates','reconnect','add','isConnected','fromVersion','state','RevisionTracker','bind','getOperations','change:_isConnected','_waitForServiceReady','3nMlZob','400','_isPendingUpdate','length','_revisions','max','keys','size','from','setSource','code','baseVersion','2331CrSvgD','_startingVersion','revisionsUpdated','remove','_getLatestVersionFromServerOperations','has','then','plugins','map','catch','_bufferUpdate','_fixRevision','_lastRequestId','cloud-services-internal-error:\x20Not\x20connected.','RevisionHistory','reInit','getUser','requires','_offset','data','init','getRevision','buildRevisionData','925068jpUWPq','isOfficialPlugin','_fetchMissingUsers','315345QGutXC'];_0x433d=function(){return _0x4efae2;};return _0x433d();}import{Users as _0x215f55}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4e41c2}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4c6e0f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x228f8b}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0xcf9255,RevisionHistoryService as _0x12d124,User as _0x48595c,WEB_SOCKET_GATEWAY_STATES as _0x45f7b1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x3ea6b0{static [_0x8a2e0a(0x20f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x12d124)());[_0x8a2e0a(0x1e0)];[_0x8a2e0a(0x1ff)];[_0x8a2e0a(0x208)];[_0x8a2e0a(0x212)];static get[_0x8a2e0a(0x1e5)](){const _0x1ed95a=_0x8a2e0a;return[_0x4c6e0f,_0x4e41c2,_0x1ed95a(0x1e2),_0x228f8b,_0x215f55];}static get[_0x8a2e0a(0x20a)](){const _0x4bf618=_0x8a2e0a;return _0x4bf618(0x1f1);}static get[_0x8a2e0a(0x1ec)](){return!0x0;}static get[_0x8a2e0a(0x21c)](){return!0x0;}constructor(_0x325acf){const _0x36fa15=_0x8a2e0a;super(_0x325acf);const _0xbdbfaa=this[_0x36fa15(0x221)][_0x36fa15(0x232)][_0x36fa15(0x1f6)](_0x36fa15(0x218));this[_0x36fa15(0x1e0)]=null,this[_0x36fa15(0x1ff)]=this[_0x36fa15(0x221)][_0x36fa15(0x1db)][_0x36fa15(0x1f6)](_0x36fa15(0x23a)),this[_0x36fa15(0x208)]=new CloudServicesRevisionHistoryAdapter[(_0x36fa15(0x20f))](_0xbdbfaa);}async[_0x8a2e0a(0x1e8)](){const _0x564318=_0x8a2e0a,_0xc27ca9=this[_0x564318(0x221)][_0x564318(0x1db)][_0x564318(0x1f6)](_0x4e41c2),_0x174935=_0xc27ca9[_0x564318(0x220)],_0x1bf681=this[_0x564318(0x221)][_0x564318(0x1db)][_0x564318(0x1f6)](_0x4c6e0f);this[_0x564318(0x1ff)][_0x564318(0x248)]({'history':_0x174935,'getLatestVersion':()=>this[_0x564318(0x22a)](),'getCurrentRevisionId':()=>_0xc27ca9[_0x564318(0x226)]});const _0x3ef562=this[_0x564318(0x221)][_0x564318(0x232)][_0x564318(0x1f6)](_0x564318(0x219))||_0x1230ec,_0x10fc99=await _0xcf9255[_0x564318(0x205)](_0x1bf681[_0x564318(0x1ef)],_0x3ef562);this[_0x564318(0x221)][_0x564318(0x1db)][_0x564318(0x1f6)](_0x564318(0x1e2))[_0x564318(0x201)]={'getRevision':async({revisionId:_0x449451})=>(await this[_0x564318(0x23e)](),await this[_0x564318(0x208)][_0x564318(0x1e9)](_0x449451)),'updateRevisions':async _0x53498d=>{const _0x3651fd=_0x564318;await this[_0x3651fd(0x23e)]();const _0x4556bf=this[_0x3651fd(0x1ff)][_0x3651fd(0x21e)];if(_0x10fc99&&0x1===_0x53498d[_0x3651fd(0x242)]&&_0x53498d[0x0]['id']===_0x4556bf['id'])return _0x53498d;for(const _0x59af61 of _0x53498d)_0x59af61['id']===_0x4556bf['id']&&(_0x59af61[_0x3651fd(0x211)]=_0x59af61[_0x3651fd(0x238)]===_0x59af61[_0x3651fd(0x1f7)]);return this[_0x3651fd(0x208)][_0x3651fd(0x20d)](_0x53498d,this[_0x3651fd(0x1e0)])[_0x3651fd(0x251)](_0x40dcbd=>(this[_0x3651fd(0x1e0)]=_0x40dcbd,_0x53498d))[_0x3651fd(0x1dd)](_0x2c342b=>{const _0x25dea2=_0x3651fd;if(st(_0x2c342b)||_0x25dea2(0x240)===_0x2c342b[_0x25dea2(0x249)]&&void 0x0!==_0x2c342b[_0x25dea2(0x1e7)][_0x25dea2(0x1f0)]){for(const _0x52e371 of _0x53498d){!this[_0x25dea2(0x1ff)][_0x25dea2(0x20c)][_0x25dea2(0x1e9)](_0x52e371['id'])||this[_0x25dea2(0x1ff)][_0x25dea2(0x1de)](_0x52e371['id'],_0x52e371,!0x1);}if(st(_0x2c342b))throw _0x2c342b;return _0x53498d;}throw _0x2c342b;});}},this[_0x564318(0x210)](this[_0x564318(0x208)],_0x564318(0x24d),(_0x4dd4b5,{revisionsData:_0x412f42,requestId:_0x542333})=>{const _0x4d0f49=_0x564318;Math[_0x4d0f49(0x244)](..._0x412f42[_0x4d0f49(0x1dc)](_0x354298=>_0x354298[_0x4d0f49(0x1f7)]))>this[_0x4d0f49(0x24f)]()-0x1?this[_0x4d0f49(0x22a)]()[_0x4d0f49(0x251)](()=>{const _0x385488=_0x4d0f49;this[_0x385488(0x20e)](_0x412f42,_0x542333);}):this[_0x4d0f49(0x20e)](_0x412f42,_0x542333);});const {revisions:_0x3aa47c,requestId:_0x3a4524}=await this[_0x564318(0x208)][_0x564318(0x233)](_0x1bf681[_0x564318(0x1ef)]);_0x1bf681[_0x564318(0x228)](this),this[_0x564318(0x1e0)]=_0x3a4524,await this[_0x564318(0x1ed)](_0x3aa47c);for(const _0x28a32c of _0x3aa47c)this[_0x564318(0x1ff)][_0x564318(0x1f3)](_0x28a32c);this[_0x564318(0x210)](_0xc27ca9,_0x564318(0x23d),(_0x4f6efa,_0x3b2be1,_0x3447bb)=>{const _0x5eb548=_0x564318;_0x3447bb&&(this[_0x5eb548(0x212)]=_0xc27ca9[_0x5eb548(0x1e6)],_0x4f6efa[_0x5eb548(0x203)]());}),this[_0x564318(0x1ff)][_0x564318(0x23b)](_0x564318(0x22b))['to'](_0x1bf681,_0x564318(0x239),_0x556e86=>_0x556e86===_0x45f7b1[_0x564318(0x1fb)]);}async[_0x8a2e0a(0x235)](){const _0x3a903d=_0x8a2e0a,_0xf59597=this[_0x3a903d(0x221)][_0x3a903d(0x1db)][_0x3a903d(0x1f6)](_0x4c6e0f),_0x131858=this[_0x3a903d(0x221)][_0x3a903d(0x1db)][_0x3a903d(0x1f6)](_0x4e41c2),_0x3dd54d=async()=>{const _0x598849=_0x3a903d,_0x5cf362=this[_0x598849(0x1ff)][_0x598849(0x21e)],_0x3a22cd=_0x5cf362['id'],_0x14d2fc=_0x3a22cd!==_0x131858[_0x598849(0x226)];if(_0x14d2fc){const _0x7aaf57=_0x131858[_0x598849(0x1e6)]-this[_0x598849(0x212)],_0x1f6d40=this[_0x598849(0x24f)]();this[_0x598849(0x1ff)][_0x598849(0x21f)][_0x598849(0x1e3)]();if(_0x5cf362[_0x598849(0x1f7)]+_0x7aaf57!==_0x1f6d40){const _0x4f64e8=_0x5cf362[_0x598849(0x238)]+_0x7aaf57,_0xfc2a19=this[_0x598849(0x221)][_0x598849(0x1db)][_0x598849(0x1f6)](_0x215f55),_0x51ae8e=this[_0x598849(0x1ff)][_0x598849(0x1ea)]({'revision':_0x5cf362,'from':_0x4f64e8,'to':_0x1f6d40});_0x51ae8e['id']=_0x5cf362['id'];const _0x1cbcff=_0x51ae8e[_0x598849(0x22c)][_0x598849(0x1dc)](_0x473c86=>_0xfc2a19[_0x598849(0x1e4)](_0x473c86));_0x5cf362[_0x598849(0x207)]({..._0x51ae8e,'authors':_0x1cbcff},!0x0),this[_0x598849(0x1ff)][_0x598849(0x1de)](_0x5cf362['id'],_0x51ae8e,!0x0);}this[_0x598849(0x1ff)][_0x598849(0x24c)]=_0x1f6d40,(_0x5cf362[_0x598849(0x1f7)]===_0x5cf362[_0x598849(0x238)]&&!this[_0x598849(0x1ff)][_0x598849(0x234)][_0x598849(0x250)](_0x3a22cd)&&this[_0x598849(0x1ff)][_0x598849(0x20c)][_0x598849(0x243)][_0x598849(0x24e)](_0x3a22cd),this[_0x598849(0x1ff)][_0x598849(0x21b)](_0x1f6d40));}const {revisions:_0x372b4d,requestId:_0x52fb5d}=await this[_0x598849(0x208)][_0x598849(0x235)](_0xf59597[_0x598849(0x1ef)],this[_0x598849(0x1e0)]);_0x14d2fc&&_0x372b4d[_0x598849(0x242)]>0x0?_0x131858[_0x598849(0x20b)]():(await this[_0x598849(0x1ed)](_0x372b4d),this[_0x598849(0x20e)](_0x372b4d,_0x52fb5d),this[_0x598849(0x1ff)][_0x598849(0x215)]());};return _0x131858[_0x3a903d(0x231)]?_0x3dd54d():new Promise((_0x399bb3,_0x4bbc4e)=>{const _0xcd44bd=_0x3a903d;_0x131858[_0xcd44bd(0x229)](_0xcd44bd(0x23d),()=>{const _0x7bfbb4=_0xcd44bd;_0x3dd54d()[_0x7bfbb4(0x251)](_0x399bb3)[_0x7bfbb4(0x1dd)](_0x4bbc4e);});});}[_0x8a2e0a(0x1fa)](){const _0x46a835=_0x8a2e0a;super[_0x46a835(0x1fa)]();}async[_0x8a2e0a(0x23e)](){const _0x309a38=_0x8a2e0a;this[_0x309a38(0x208)][_0x309a38(0x237)]||await new Promise(_0x198cdd=>{const _0x148ffa=_0x309a38;this[_0x148ffa(0x210)](this[_0x148ffa(0x208)],_0x148ffa(0x21d),_0x56eb44=>{const _0x5c61cc=_0x148ffa;_0x56eb44[_0x5c61cc(0x203)](),_0x198cdd();});});}[_0x8a2e0a(0x24f)](){const _0x13e3ac=_0x8a2e0a,_0x14ca36=this[_0x13e3ac(0x221)][_0x13e3ac(0x1db)][_0x13e3ac(0x1f6)](_0x4e41c2)[_0x13e3ac(0x220)][_0x13e3ac(0x23c)]()[_0x13e3ac(0x222)]();for(const _0x77e78d of _0x14ca36)if(_0x13e3ac(0x209)!==_0x77e78d[_0x13e3ac(0x1f2)]||_0x77e78d[_0x13e3ac(0x1fe)])return _0x77e78d[_0x13e3ac(0x24a)]+0x1;}[_0x8a2e0a(0x22a)](){const _0x5ec8fa=_0x8a2e0a,_0x2d556a=this[_0x5ec8fa(0x221)][_0x5ec8fa(0x1db)][_0x5ec8fa(0x1f6)](_0x4e41c2);return new Promise(_0x325971=>{const _0x180160=_0x5ec8fa;_0x2d556a[_0x180160(0x241)]?_0x2d556a[_0x180160(0x229)](_0x180160(0x22d),()=>{const _0x2578c8=_0x180160;_0x325971(this[_0x2578c8(0x24f)]());}):_0x325971(this[_0x180160(0x24f)]());});}[_0x8a2e0a(0x20e)](_0x4d9836,_0x21e699){const _0x951f0c=_0x8a2e0a,_0x1bb361=this[_0x951f0c(0x1ff)][_0x951f0c(0x20c)];this[_0x951f0c(0x1e0)]=_0x21e699;for(const _0x31be5c of _0x4d9836){const _0x25fb4b=_0x1bb361[_0x951f0c(0x1e9)](_0x31be5c['id']);if(_0x25fb4b){if((_0x31be5c[_0x951f0c(0x238)]||_0x31be5c[_0x951f0c(0x1f7)])&&(_0x31be5c[_0x951f0c(0x1f4)]=null),_0x25fb4b===this[_0x951f0c(0x1ff)][_0x951f0c(0x21e)]){const _0x4a60a5=Math[_0x951f0c(0x244)](_0x25fb4b[_0x951f0c(0x1f7)],_0x31be5c[_0x951f0c(0x1f7)]),_0x46f6fc=Math[_0x951f0c(0x244)](_0x25fb4b[_0x951f0c(0x238)],_0x31be5c[_0x951f0c(0x238)]);let _0x4903ea;_0x25fb4b[_0x951f0c(0x1f7)]===_0x31be5c[_0x951f0c(0x1f7)]&&_0x25fb4b[_0x951f0c(0x238)]===_0x31be5c[_0x951f0c(0x238)]?(_0x4903ea=!0x0,this[_0x951f0c(0x204)](_0x31be5c)):_0x31be5c[_0x951f0c(0x1f7)]===_0x4a60a5&&_0x31be5c[_0x951f0c(0x238)]===_0x46f6fc?_0x4903ea=!0x1:(_0x25fb4b[_0x951f0c(0x1f7)]===_0x4a60a5&&_0x25fb4b[_0x951f0c(0x238)]===_0x46f6fc||this[_0x951f0c(0x1df)]({'revision':_0x25fb4b,'from':_0x46f6fc,'to':_0x4a60a5}),_0x4903ea=!0x0),_0x4903ea&&(delete _0x31be5c[_0x951f0c(0x238)],delete _0x31be5c[_0x951f0c(0x1f7)],delete _0x31be5c[_0x951f0c(0x1f4)],delete _0x31be5c[_0x951f0c(0x22f)],delete _0x31be5c[_0x951f0c(0x22c)]);}this[_0x951f0c(0x1ff)][_0x951f0c(0x1f9)](_0x31be5c),this[_0x951f0c(0x204)](_0x31be5c);}else this[_0x951f0c(0x1ff)][_0x951f0c(0x1f3)](_0x31be5c);}const _0x3ca38c=_0x1bb361[_0x951f0c(0x225)]();_0x3ca38c[_0x951f0c(0x222)]();for(let _0xa56ef4=0x0;_0xa56ef4<_0x3ca38c[_0x951f0c(0x242)]-0x1;_0xa56ef4++){const _0x531b29=_0x3ca38c[_0xa56ef4],_0xb99988=_0x3ca38c[_0xa56ef4+0x1];if(_0x531b29[_0x951f0c(0x238)]<_0xb99988[_0x951f0c(0x1f7)]){const _0x3e3497=_0xb99988[_0x951f0c(0x1f7)],_0x32f9d6=Math[_0x951f0c(0x244)](_0x3e3497,_0x531b29[_0x951f0c(0x1f7)]);this[_0x951f0c(0x1df)]({'revision':_0x531b29,'from':_0x3e3497,'to':_0x32f9d6});}}}[_0x8a2e0a(0x1df)]({revision:_0x604748,from:_0x5b77a8,to:_0x20ad53}={}){const _0xc3c705=_0x8a2e0a,_0x55849e=this[_0xc3c705(0x221)][_0xc3c705(0x1db)][_0xc3c705(0x1f6)](_0x215f55),_0x56e805=this[_0xc3c705(0x1ff)][_0xc3c705(0x1ea)]({'revision':_0x604748,'from':_0x5b77a8,'to':_0x20ad53});_0x56e805[_0xc3c705(0x224)]=_0x56e805[_0xc3c705(0x22c)][_0xc3c705(0x1dc)](_0x4be6d4=>_0x55849e[_0xc3c705(0x1e4)](_0x4be6d4)),_0x604748[_0xc3c705(0x207)](_0x56e805);}[_0x8a2e0a(0x204)](_0x3f4d1a){const _0x22e553=_0x8a2e0a,_0x414074={};_0x414074['id']=_0x3f4d1a['id'];for(const _0xb41e44 of Object[_0x22e553(0x245)](_0x3f4d1a))'id'!==_0xb41e44&&(_0x414074[_0xb41e44]=void 0x0);this[_0x22e553(0x1ff)][_0x22e553(0x1de)](_0x414074['id'],_0x414074,!0x0);}async[_0x8a2e0a(0x1ed)](_0x5204d4){const _0x4c5f62=_0x8a2e0a,_0x3f18f5=this[_0x4c5f62(0x221)][_0x4c5f62(0x1db)][_0x4c5f62(0x1f6)](_0x215f55),{connection:_0x34e6ea}=this[_0x4c5f62(0x221)][_0x4c5f62(0x1db)][_0x4c5f62(0x1f6)](_0x4c6e0f),_0x4005ec=new Set();for(const _0x1eeeea of _0x5204d4){for(const _0x37c565 of _0x1eeeea[_0x4c5f62(0x22c)])_0x4f486a(_0x37c565);_0x1eeeea[_0x4c5f62(0x213)]&&_0x4f486a(_0x1eeeea[_0x4c5f62(0x213)]);}if(0x0===_0x4005ec[_0x4c5f62(0x246)])return;const _0x58005b=await _0x48595c[_0x4c5f62(0x1fc)](_0x34e6ea,Array[_0x4c5f62(0x247)](_0x4005ec));for(const _0x4d55a1 of _0x58005b)_0x3f18f5[_0x4c5f62(0x1e4)](_0x4d55a1['id'])||_0x3f18f5[_0x4c5f62(0x22e)](_0x4d55a1);function _0x4f486a(_0x35c203){const _0x235a92=_0x4c5f62;_0x3f18f5[_0x235a92(0x1e4)](_0x35c203)||_0x4005ec[_0x235a92(0x236)](_0x35c203);}}}function st(_0x529c84){const _0x55bd6c=_0x8a2e0a;return _0x529c84[_0x55bd6c(0x1f8)][_0x55bd6c(0x21a)](_0x55bd6c(0x216))||_0x529c84[_0x55bd6c(0x1f8)][_0x55bd6c(0x21a)](_0x55bd6c(0x1e1))||_0x529c84[_0x55bd6c(0x1f8)][_0x55bd6c(0x21a)](_0x55bd6c(0x1fd));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xea365=_0x41c8;function _0x41c8(_0x5eeb0c,_0x5de23b){var _0x519d75=_0x519d();return _0x41c8=function(_0x41c869,_0x2665e2){_0x41c869=_0x41c869-0xb7;var _0x519b87=_0x519d75[_0x41c869];return _0x519b87;},_0x41c8(_0x5eeb0c,_0x5de23b);}(function(_0x206eb1,_0x540ae0){var _0x5617fa=_0x41c8,_0x4183cb=_0x206eb1();while(!![]){try{var _0x45ae75=-parseInt(_0x5617fa(0xbd))/0x1+parseInt(_0x5617fa(0xc1))/0x2*(-parseInt(_0x5617fa(0xc6))/0x3)+parseInt(_0x5617fa(0xbe))/0x4+-parseInt(_0x5617fa(0xbb))/0x5*(-parseInt(_0x5617fa(0xbf))/0x6)+parseInt(_0x5617fa(0xb8))/0x7*(parseInt(_0x5617fa(0xc7))/0x8)+-parseInt(_0x5617fa(0xb7))/0x9*(-parseInt(_0x5617fa(0xc2))/0xa)+-parseInt(_0x5617fa(0xb9))/0xb;if(_0x45ae75===_0x540ae0)break;else _0x4183cb['push'](_0x4183cb['shift']());}catch(_0x40c8df){_0x4183cb['push'](_0x4183cb['shift']());}}}(_0x519d,0x61511));import{Plugin as _0x1c937f}from'ckeditor5/src/core.js';function _0x519d(){var _0x56eeef=['RevisionHistory','38AtwFKy','70mlwnnJ','RealTimeCollaborativeRevisionHistory','requires','isOfficialPlugin','29745aupued','40XOvCnJ','112833dCVDMa','669802pPCqxS','553960fjIdAV','isPremiumPlugin','1632385OGtdQx','pluginName','725999ZdsSOS','576840zvMQtd','12QZoKHj'];_0x519d=function(){return _0x56eeef;};return _0x519d();}import{CloudServicesRevisionHistoryAdapter as _0x114257}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x6bf9c3}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x1c937f{static get[_0xea365(0xc4)](){var _0xa415a4=_0xea365;return[_0xa415a4(0xc0),_0x114257,_0x6bf9c3];}static get[_0xea365(0xbc)](){var _0x4c9276=_0xea365;return _0x4c9276(0xc3);}static get[_0xea365(0xc5)](){return!0x0;}static get[_0xea365(0xba)](){return!0x0;}}
23
+ var _0x187a5f=_0x5bad;function _0x5bad(_0x6ac78e,_0x4e4b2d){var _0x297216=_0x2972();return _0x5bad=function(_0x5bada8,_0x291665){_0x5bada8=_0x5bada8-0x183;var _0x1c9a95=_0x297216[_0x5bada8];return _0x1c9a95;},_0x5bad(_0x6ac78e,_0x4e4b2d);}(function(_0x2b7bde,_0x5c92c6){var _0x3ce32a=_0x5bad,_0x4c6a3b=_0x2b7bde();while(!![]){try{var _0x4248b4=-parseInt(_0x3ce32a(0x18d))/0x1+parseInt(_0x3ce32a(0x18b))/0x2+parseInt(_0x3ce32a(0x187))/0x3+parseInt(_0x3ce32a(0x185))/0x4+-parseInt(_0x3ce32a(0x189))/0x5*(-parseInt(_0x3ce32a(0x18f))/0x6)+parseInt(_0x3ce32a(0x18e))/0x7*(-parseInt(_0x3ce32a(0x184))/0x8)+-parseInt(_0x3ce32a(0x188))/0x9;if(_0x4248b4===_0x5c92c6)break;else _0x4c6a3b['push'](_0x4c6a3b['shift']());}catch(_0x237b66){_0x4c6a3b['push'](_0x4c6a3b['shift']());}}}(_0x2972,0xe235c));import{Plugin as _0xb2eca9}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x56058e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x2972(){var _0x2b9d42=['18417zMKlLN','12MfOukg','isPremiumPlugin','RevisionHistory','RealTimeCollaborativeRevisionHistory','2384Fwvmuq','7343240JZdqpv','requires','2775456BRfRBD','12624003LJEcIl','1053055tLcgCj','isOfficialPlugin','3557636BxTDBT','pluginName','1847741ScRljq'];_0x2972=function(){return _0x2b9d42;};return _0x2972();}import{RealTimeCollaborativeEditing as _0xa6903e}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0xb2eca9{static get[_0x187a5f(0x186)](){var _0x41d203=_0x187a5f;return[_0x41d203(0x191),_0x56058e,_0xa6903e];}static get[_0x187a5f(0x18c)](){var _0x22e906=_0x187a5f;return _0x22e906(0x183);}static get[_0x187a5f(0x18a)](){return!0x0;}static get[_0x187a5f(0x190)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1df6a4=_0x2667;(function(_0xad8ab2,_0x3e7bd7){const _0x9bcfa3=_0x2667,_0x2ac1d3=_0xad8ab2();while(!![]){try{const _0x44e271=parseInt(_0x9bcfa3(0x1b1))/0x1+parseInt(_0x9bcfa3(0x19e))/0x2*(-parseInt(_0x9bcfa3(0x1c3))/0x3)+parseInt(_0x9bcfa3(0x1be))/0x4*(parseInt(_0x9bcfa3(0x1cd))/0x5)+-parseInt(_0x9bcfa3(0x1bc))/0x6+-parseInt(_0x9bcfa3(0x1cb))/0x7+-parseInt(_0x9bcfa3(0x1a5))/0x8+-parseInt(_0x9bcfa3(0x199))/0x9*(-parseInt(_0x9bcfa3(0x1ac))/0xa);if(_0x44e271===_0x3e7bd7)break;else _0x2ac1d3['push'](_0x2ac1d3['shift']());}catch(_0x4b9f94){_0x2ac1d3['push'](_0x2ac1d3['shift']());}}}(_0x5a45,0x826e2));function _0x2667(_0x140bf1,_0x2f2527){const _0x5a4557=_0x5a45();return _0x2667=function(_0x266701,_0x319134){_0x266701=_0x266701-0x191;let _0x201772=_0x5a4557[_0x266701];return _0x201772;},_0x2667(_0x140bf1,_0x2f2527);}import{Plugin as _0x53a53b}from'ckeditor5/src/core.js';import{User as _0x4cf4d3,TrackChangesService as _0x4f86f8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x117114}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2a0f72}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x43468f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a45(){const _0x27e906=['83367XDcSuU','_waitForServiceReady','getUser','editor','isPremiumPlugin','1061962cVOpRE','data','from','_trackChangesService','getMany','hasSuggestion','set','3228760UnmNNW','init','collaboration.channelId','size','message','pluginName','suggestionUpdated','500KkraDX','addSuggestionData','startsWith','cloud-services-internal-error:\x20Not\x20connected.','add','1031807elIWAE','TrackChangesService','get','listenTo','CloudServicesTrackChangesAdapter','delete','cloud-services-internal-error:\x20Request\x20timeout.','catch','_bufferedRequests','connect','addUser','5243334kbZXcl','plugins','15940WBsOfj','adapter','reconnect','find','state','3oTwPve','update','originalSuggestionId','connected','config','TrackChangesEditing','then','getSuggestion','1513715kkddFL','isConnected','1335wRwvNB','type','requires','_fetchMissingUsersForThreads','open','attributes','connection','off','isOfficialPlugin','addToReconnectionStack','_saved','values'];_0x5a45=function(){return _0x27e906;};return _0x5a45();}export class CloudServicesTrackChangesAdapter extends _0x53a53b{static [_0x1df6a4(0x1b2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4f86f8)());[_0x1df6a4(0x1b9)];[_0x1df6a4(0x1a1)];static get[_0x1df6a4(0x1cf)](){const _0x28d26c=_0x1df6a4;return[_0x2a0f72,_0x28d26c(0x1c8),_0x117114];}static get[_0x1df6a4(0x1aa)](){const _0x3c1415=_0x1df6a4;return _0x3c1415(0x1b5);}static get[_0x1df6a4(0x195)](){return!0x0;}static get[_0x1df6a4(0x19d)](){return!0x0;}constructor(_0x27475f){const _0x32e748=_0x1df6a4;super(_0x27475f);const _0xd0ebc2=this[_0x32e748(0x19c)][_0x32e748(0x1c7)][_0x32e748(0x1b3)](_0x32e748(0x1a7));this[_0x32e748(0x1b9)]=new Map(),this[_0x32e748(0x1a1)]=new CloudServicesTrackChangesAdapter[(_0x32e748(0x1b2))](_0xd0ebc2);}[_0x1df6a4(0x1a6)](){const _0x410edb=_0x1df6a4,_0x95dae2=this[_0x410edb(0x19c)][_0x410edb(0x1bd)][_0x410edb(0x1b3)](_0x117114),_0x429b90=this[_0x410edb(0x19c)][_0x410edb(0x1bd)][_0x410edb(0x1b3)](_0x410edb(0x1c8));return _0x429b90[_0x410edb(0x1bf)]={'getSuggestion':async _0x553dc7=>{const _0x33e522=_0x410edb;await this[_0x33e522(0x19a)]();const _0x59ff8e=await this[_0x33e522(0x1a1)][_0x33e522(0x1b3)](_0x553dc7)[_0x33e522(0x1b8)](A);return await this[_0x33e522(0x1d0)]([_0x59ff8e]),_0x59ff8e;},'addSuggestion':async({id:_0x57b41e,type:_0x44727c,data:_0x32c511,originalSuggestionId:_0x252c7b,attributes:_0x3db9b8})=>{const _0x127302=_0x410edb;await this[_0x127302(0x19a)]();const _0x16aab2={'id':_0x57b41e,'type':_0x44727c,'data':_0x32c511,'originalSuggestionId':_0x252c7b,'attributes':_0x3db9b8},_0x51f8a4=await this[_0x127302(0x1a1)][_0x127302(0x1b0)](_0x57b41e,_0x44727c,_0x32c511,_0x252c7b,_0x3db9b8)[_0x127302(0x1b8)](_0x596238=>{if(et(_0x596238))return new Promise(_0x54dd1=>{const _0x48e49d=_0x2667;this[_0x48e49d(0x1b9)][_0x48e49d(0x1a4)](_0x57b41e,{'resolve':_0x54dd1,'suggestionData':_0x16aab2});});throw _0x596238;});return this[_0x127302(0x1b9)][_0x127302(0x1b6)](_0x57b41e),_0x51f8a4;},'updateSuggestion':async(_0x416db7,_0x43d05c)=>{const _0x35a904=_0x410edb;if(await this[_0x35a904(0x19a)](),_0x35a904(0x191)!==_0x43d05c[_0x35a904(0x1c2)])return this[_0x35a904(0x1a1)][_0x35a904(0x1c4)](_0x416db7,_0x43d05c)[_0x35a904(0x1b8)](A);}},this[_0x410edb(0x1b4)](this[_0x410edb(0x1a1)],_0x410edb(0x1ab),(_0x1fe3b4,_0x4d9f6d)=>{const _0x19409e=_0x410edb;_0x429b90[_0x19409e(0x1a3)](_0x4d9f6d['id'])&&(_0x429b90[_0x19409e(0x1ca)](_0x4d9f6d['id'])[_0x19409e(0x192)]=_0x4d9f6d[_0x19409e(0x192)]);}),this[_0x410edb(0x1a1)][_0x410edb(0x1ba)](_0x95dae2[_0x410edb(0x193)])[_0x410edb(0x1c9)](_0x1aaa33=>(_0x95dae2[_0x410edb(0x196)](this),this[_0x410edb(0x1d0)](_0x1aaa33)[_0x410edb(0x1c9)](()=>{const _0x54d10d=_0x410edb;for(const _0x4f074d of _0x1aaa33){_0x429b90[_0x54d10d(0x1ad)](_0x4f074d)[_0x54d10d(0x197)]=!0x0;}})));}async[_0x1df6a4(0x1c0)](){const _0x26ee04=_0x1df6a4,_0x399bdb=this[_0x26ee04(0x19c)][_0x26ee04(0x1bd)][_0x26ee04(0x1b3)](_0x26ee04(0x1c8)),{connection:_0x36a934}=this[_0x26ee04(0x19c)][_0x26ee04(0x1bd)][_0x26ee04(0x1b3)](_0x117114),_0x20e4a0=await this[_0x26ee04(0x1a1)][_0x26ee04(0x1ba)](_0x36a934);await this[_0x26ee04(0x1d0)](_0x20e4a0);for(const {suggestionData:_0x1fdcbc,resolve:_0x5514e1}of this[_0x26ee04(0x1b9)][_0x26ee04(0x198)]()){let _0x2f8de1=_0x20e4a0[_0x26ee04(0x1c1)](_0x308285=>_0x308285['id']===_0x1fdcbc['id']);_0x2f8de1||(_0x2f8de1=await this[_0x26ee04(0x1a1)][_0x26ee04(0x1b0)](_0x1fdcbc['id'],_0x1fdcbc[_0x26ee04(0x1ce)],_0x1fdcbc[_0x26ee04(0x19f)],_0x1fdcbc[_0x26ee04(0x1c5)])),_0x5514e1(_0x2f8de1);}for(const _0xea5e17 of _0x20e4a0)_0x399bdb[_0x26ee04(0x1a3)](_0xea5e17['id'])||_0x399bdb[_0x26ee04(0x1ad)](_0xea5e17);}async[_0x1df6a4(0x19a)](){const _0x543a3b=_0x1df6a4;this[_0x543a3b(0x1a1)][_0x543a3b(0x1cc)]||await new Promise(_0x3920c1=>{const _0x4279e6=_0x543a3b;this[_0x4279e6(0x1b4)](this[_0x4279e6(0x1a1)],_0x4279e6(0x1c6),_0x29a299=>{const _0x55fdcc=_0x4279e6;_0x29a299[_0x55fdcc(0x194)](),_0x3920c1();});});}async[_0x1df6a4(0x1d0)](_0x53c14d){const _0x25057e=_0x1df6a4,_0xe7f3e8=this[_0x25057e(0x19c)][_0x25057e(0x1bd)][_0x25057e(0x1b3)](_0x43468f),{connection:_0x20c5d0}=this[_0x25057e(0x19c)][_0x25057e(0x1bd)][_0x25057e(0x1b3)](_0x117114),_0x5c85c7=new Set();for(const {authorId:_0x5dfe08}of _0x53c14d)_0xe7f3e8[_0x25057e(0x19b)](_0x5dfe08)||_0x5c85c7[_0x25057e(0x1b0)](_0x5dfe08);if(0x0===_0x5c85c7[_0x25057e(0x1a8)])return;const _0xb8bfa9=await _0x4cf4d3[_0x25057e(0x1a2)](_0x20c5d0,Array[_0x25057e(0x1a0)](_0x5c85c7));for(const _0x2cb9db of _0xb8bfa9)_0xe7f3e8[_0x25057e(0x19b)](_0x2cb9db['id'])||_0xe7f3e8[_0x25057e(0x1bb)](_0x2cb9db);}}function A(_0x149c2a){if(et(_0x149c2a))return new Promise(()=>{});throw _0x149c2a;}function et(_0xe108b9){const _0x6f3f3f=_0x1df6a4;return _0xe108b9[_0x6f3f3f(0x1a9)][_0x6f3f3f(0x1ae)](_0x6f3f3f(0x1af))||_0xe108b9[_0x6f3f3f(0x1a9)][_0x6f3f3f(0x1ae)](_0x6f3f3f(0x1b7));}
23
+ function _0x2fa3(){const _0x5e914e=['getUser','TrackChangesEditing','values','isConnected','30499nefYkH','22GUwihn','connect','delete','requires','connection','add','850794qvuPzi','1039800spsJZE','collaboration.channelId','size','8693KtYAIQ','154590FLfuSq','911152TwvfuK','addSuggestionData','12OWTsVB','connected','then','pluginName','addUser','init','get','14XsNLya','plugins','state','_waitForServiceReady','open','168EWjoDE','_saved','update','message','from','isOfficialPlugin','_trackChangesService','cloud-services-internal-error:\x20Not\x20connected.','hasSuggestion','_fetchMissingUsersForThreads','TrackChangesService','reconnect','listenTo','config','startsWith','_bufferedRequests','type','isPremiumPlugin','find','adapter','getMany','suggestionUpdated','set','originalSuggestionId','off','data','editor','catch','getSuggestion','attributes','CloudServicesTrackChangesAdapter','416304OegLph','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack'];_0x2fa3=function(){return _0x5e914e;};return _0x2fa3();}const _0x3c0042=_0x4fdf;function _0x4fdf(_0x1423b9,_0x501b16){const _0x2fa307=_0x2fa3();return _0x4fdf=function(_0x4fdfd5,_0x612ee2){_0x4fdfd5=_0x4fdfd5-0x6d;let _0xb752ed=_0x2fa307[_0x4fdfd5];return _0xb752ed;},_0x4fdf(_0x1423b9,_0x501b16);}(function(_0x2ad240,_0x30efe3){const _0x2d6d92=_0x4fdf,_0x43cb4e=_0x2ad240();while(!![]){try{const _0x5923a4=parseInt(_0x2d6d92(0x7f))/0x1*(-parseInt(_0x2d6d92(0x8a))/0x2)+parseInt(_0x2d6d92(0x7b))/0x3+-parseInt(_0x2d6d92(0x81))/0x4+parseInt(_0x2d6d92(0x80))/0x5*(-parseInt(_0x2d6d92(0x83))/0x6)+-parseInt(_0x2d6d92(0x74))/0x7*(-parseInt(_0x2d6d92(0x8f))/0x8)+-parseInt(_0x2d6d92(0x6d))/0x9+parseInt(_0x2d6d92(0x7c))/0xa*(parseInt(_0x2d6d92(0x75))/0xb);if(_0x5923a4===_0x30efe3)break;else _0x43cb4e['push'](_0x43cb4e['shift']());}catch(_0x36d1a8){_0x43cb4e['push'](_0x43cb4e['shift']());}}}(_0x2fa3,0x2d7d4));import{Plugin as _0x147575}from'ckeditor5/src/core.js';import{User as _0x4645f7,TrackChangesService as _0x45dd8f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x9b151f}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xb34fa2}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x50f13b}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x147575{static [_0x3c0042(0x99)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x45dd8f)());[_0x3c0042(0x9e)];[_0x3c0042(0x95)];static get[_0x3c0042(0x78)](){const _0x433359=_0x3c0042;return[_0xb34fa2,_0x433359(0x71),_0x9b151f];}static get[_0x3c0042(0x86)](){const _0xbdadab=_0x3c0042;return _0xbdadab(0xad);}static get[_0x3c0042(0x94)](){return!0x0;}static get[_0x3c0042(0xa0)](){return!0x0;}constructor(_0x569610){const _0x325c00=_0x3c0042;super(_0x569610);const _0x4b74de=this[_0x325c00(0xa9)][_0x325c00(0x9c)][_0x325c00(0x89)](_0x325c00(0x7d));this[_0x325c00(0x9e)]=new Map(),this[_0x325c00(0x95)]=new CloudServicesTrackChangesAdapter[(_0x325c00(0x99))](_0x4b74de);}[_0x3c0042(0x88)](){const _0x12f0f3=_0x3c0042,_0x39fd51=this[_0x12f0f3(0xa9)][_0x12f0f3(0x8b)][_0x12f0f3(0x89)](_0x9b151f),_0x3c498c=this[_0x12f0f3(0xa9)][_0x12f0f3(0x8b)][_0x12f0f3(0x89)](_0x12f0f3(0x71));return _0x3c498c[_0x12f0f3(0xa2)]={'getSuggestion':async _0x138c85=>{const _0x1ca66f=_0x12f0f3;await this[_0x1ca66f(0x8d)]();const _0x31931e=await this[_0x1ca66f(0x95)][_0x1ca66f(0x89)](_0x138c85)[_0x1ca66f(0xaa)](k);return await this[_0x1ca66f(0x98)]([_0x31931e]),_0x31931e;},'addSuggestion':async({id:_0x4347d0,type:_0x369737,data:_0x5adbd0,originalSuggestionId:_0x160665,attributes:_0x509dd4})=>{const _0x29888e=_0x12f0f3;await this[_0x29888e(0x8d)]();const _0x1269a5={'id':_0x4347d0,'type':_0x369737,'data':_0x5adbd0,'originalSuggestionId':_0x160665,'attributes':_0x509dd4},_0x102ac5=await this[_0x29888e(0x95)][_0x29888e(0x7a)](_0x4347d0,_0x369737,_0x5adbd0,_0x160665,_0x509dd4)[_0x29888e(0xaa)](_0x4ed7c6=>{if(st(_0x4ed7c6))return new Promise(_0x34bf11=>{const _0x37a141=_0x4fdf;this[_0x37a141(0x9e)][_0x37a141(0xa5)](_0x4347d0,{'resolve':_0x34bf11,'suggestionData':_0x1269a5});});throw _0x4ed7c6;});return this[_0x29888e(0x9e)][_0x29888e(0x77)](_0x4347d0),_0x102ac5;},'updateSuggestion':async(_0x5879fc,_0x3ddf21)=>{const _0x21bb7d=_0x12f0f3;if(await this[_0x21bb7d(0x8d)](),_0x21bb7d(0x8e)!==_0x3ddf21[_0x21bb7d(0x8c)])return this[_0x21bb7d(0x95)][_0x21bb7d(0x91)](_0x5879fc,_0x3ddf21)[_0x21bb7d(0xaa)](k);}},this[_0x12f0f3(0x9b)](this[_0x12f0f3(0x95)],_0x12f0f3(0xa4),(_0xce5993,_0x5b3123)=>{const _0x5ca2d9=_0x12f0f3;_0x3c498c[_0x5ca2d9(0x97)](_0x5b3123['id'])&&(_0x3c498c[_0x5ca2d9(0xab)](_0x5b3123['id'])[_0x5ca2d9(0xac)]=_0x5b3123[_0x5ca2d9(0xac)]);}),this[_0x12f0f3(0x95)][_0x12f0f3(0x76)](_0x39fd51[_0x12f0f3(0x79)])[_0x12f0f3(0x85)](_0x1cbe9d=>(_0x39fd51[_0x12f0f3(0x6f)](this),this[_0x12f0f3(0x98)](_0x1cbe9d)[_0x12f0f3(0x85)](()=>{const _0x2db0bd=_0x12f0f3;for(const _0x4befa3 of _0x1cbe9d){_0x3c498c[_0x2db0bd(0x82)](_0x4befa3)[_0x2db0bd(0x90)]=!0x0;}})));}async[_0x3c0042(0x9a)](){const _0x300417=_0x3c0042,_0xe5cf5c=this[_0x300417(0xa9)][_0x300417(0x8b)][_0x300417(0x89)](_0x300417(0x71)),{connection:_0x529e4b}=this[_0x300417(0xa9)][_0x300417(0x8b)][_0x300417(0x89)](_0x9b151f),_0x1cd5d8=await this[_0x300417(0x95)][_0x300417(0x76)](_0x529e4b);await this[_0x300417(0x98)](_0x1cd5d8);for(const {suggestionData:_0x78910,resolve:_0x35482f}of this[_0x300417(0x9e)][_0x300417(0x72)]()){let _0x10661d=_0x1cd5d8[_0x300417(0xa1)](_0x19844d=>_0x19844d['id']===_0x78910['id']);_0x10661d||(_0x10661d=await this[_0x300417(0x95)][_0x300417(0x7a)](_0x78910['id'],_0x78910[_0x300417(0x9f)],_0x78910[_0x300417(0xa8)],_0x78910[_0x300417(0xa6)])),_0x35482f(_0x10661d);}for(const _0x4318c9 of _0x1cd5d8)_0xe5cf5c[_0x300417(0x97)](_0x4318c9['id'])||_0xe5cf5c[_0x300417(0x82)](_0x4318c9);}async[_0x3c0042(0x8d)](){const _0x394105=_0x3c0042;this[_0x394105(0x95)][_0x394105(0x73)]||await new Promise(_0xadc614=>{const _0xfb2327=_0x394105;this[_0xfb2327(0x9b)](this[_0xfb2327(0x95)],_0xfb2327(0x84),_0x3ab83d=>{const _0x1ef787=_0xfb2327;_0x3ab83d[_0x1ef787(0xa7)](),_0xadc614();});});}async[_0x3c0042(0x98)](_0x5bfbc6){const _0x2648ad=_0x3c0042,_0x1e400f=this[_0x2648ad(0xa9)][_0x2648ad(0x8b)][_0x2648ad(0x89)](_0x50f13b),{connection:_0x1664ac}=this[_0x2648ad(0xa9)][_0x2648ad(0x8b)][_0x2648ad(0x89)](_0x9b151f),_0x4141b6=new Set();for(const {authorId:_0x593d2c}of _0x5bfbc6)_0x1e400f[_0x2648ad(0x70)](_0x593d2c)||_0x4141b6[_0x2648ad(0x7a)](_0x593d2c);if(0x0===_0x4141b6[_0x2648ad(0x7e)])return;const _0x24e855=await _0x4645f7[_0x2648ad(0xa3)](_0x1664ac,Array[_0x2648ad(0x93)](_0x4141b6));for(const _0x18a190 of _0x24e855)_0x1e400f[_0x2648ad(0x70)](_0x18a190['id'])||_0x1e400f[_0x2648ad(0x87)](_0x18a190);}}function k(_0x2f64e3){if(st(_0x2f64e3))return new Promise(()=>{});throw _0x2f64e3;}function st(_0x36af5a){const _0x107a95=_0x3c0042;return _0x36af5a[_0x107a95(0x92)][_0x107a95(0x9d)](_0x107a95(0x96))||_0x36af5a[_0x107a95(0x92)][_0x107a95(0x9d)](_0x107a95(0x6e));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x55757b=_0x212f;function _0x212f(_0x15314e,_0x2a6670){var _0x47cabc=_0x47ca();return _0x212f=function(_0x212ff4,_0x3c5c82){_0x212ff4=_0x212ff4-0x131;var _0xc21b0a=_0x47cabc[_0x212ff4];return _0xc21b0a;},_0x212f(_0x15314e,_0x2a6670);}(function(_0x64df52,_0x38c091){var _0x1691b6=_0x212f,_0x3b3750=_0x64df52();while(!![]){try{var _0x219d68=-parseInt(_0x1691b6(0x13c))/0x1+-parseInt(_0x1691b6(0x132))/0x2+-parseInt(_0x1691b6(0x135))/0x3*(-parseInt(_0x1691b6(0x13d))/0x4)+-parseInt(_0x1691b6(0x139))/0x5*(-parseInt(_0x1691b6(0x137))/0x6)+-parseInt(_0x1691b6(0x13b))/0x7+parseInt(_0x1691b6(0x13e))/0x8+parseInt(_0x1691b6(0x13a))/0x9;if(_0x219d68===_0x38c091)break;else _0x3b3750['push'](_0x3b3750['shift']());}catch(_0x27dee8){_0x3b3750['push'](_0x3b3750['shift']());}}}(_0x47ca,0x867b9));import{Plugin as _0x28b5fe}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x191992}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3a65f6}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x28b5fe{static get[_0x55757b(0x131)](){var _0x540397=_0x55757b;return[_0x3a65f6,_0x191992,_0x540397(0x136)];}static get[_0x55757b(0x138)](){var _0x78d352=_0x55757b;return _0x78d352(0x13f);}static get[_0x55757b(0x133)](){return!0x0;}static get[_0x55757b(0x134)](){return!0x0;}}function _0x47ca(){var _0x1d7b58=['RealTimeCollaborativeTrackChanges','requires','1329478WWjeCM','isOfficialPlugin','isPremiumPlugin','636ZqtfeZ','TrackChanges','241134KkkYsj','pluginName','65UUKGci','9706158SGhKPX','3124604wwSWmT','869542bHcnky','8060URCCDQ','4027160RxgLcw'];_0x47ca=function(){return _0x1d7b58;};return _0x47ca();}
23
+ function _0x17b5(){var _0x3551c0=['808416ziwdIM','240273FHqWLI','7JeNXFc','isPremiumPlugin','4215768CHqjQw','RealTimeCollaborativeTrackChanges','214740NwCppk','TrackChanges','159624UhdPWT','pluginName','requires','isOfficialPlugin','236329ypslBE','266254rDmDXt'];_0x17b5=function(){return _0x3551c0;};return _0x17b5();}function _0x44bd(_0x5bd6d8,_0x2023dd){var _0x17b54d=_0x17b5();return _0x44bd=function(_0x44bd55,_0x4de178){_0x44bd55=_0x44bd55-0x192;var _0x43269e=_0x17b54d[_0x44bd55];return _0x43269e;},_0x44bd(_0x5bd6d8,_0x2023dd);}var _0x3aeb0e=_0x44bd;(function(_0x1dd831,_0x532e62){var _0x104e71=_0x44bd,_0x34a01d=_0x1dd831();while(!![]){try{var _0x3b7b4b=-parseInt(_0x104e71(0x19f))/0x1+parseInt(_0x104e71(0x192))/0x2+-parseInt(_0x104e71(0x194))/0x3+-parseInt(_0x104e71(0x193))/0x4+parseInt(_0x104e71(0x199))/0x5+-parseInt(_0x104e71(0x19b))/0x6+parseInt(_0x104e71(0x195))/0x7*(parseInt(_0x104e71(0x197))/0x8);if(_0x3b7b4b===_0x532e62)break;else _0x34a01d['push'](_0x34a01d['shift']());}catch(_0x11b9ea){_0x34a01d['push'](_0x34a01d['shift']());}}}(_0x17b5,0x268de));import{Plugin as _0x50194b}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3a681b}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5b859f}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x50194b{static get[_0x3aeb0e(0x19d)](){var _0x5eb2be=_0x3aeb0e;return[_0x5b859f,_0x3a681b,_0x5eb2be(0x19a)];}static get[_0x3aeb0e(0x19c)](){var _0x414695=_0x3aeb0e;return _0x414695(0x198);}static get[_0x3aeb0e(0x19e)](){return!0x0;}static get[_0x3aeb0e(0x196)](){return!0x0;}}