@ckeditor/ckeditor5-real-time-collaboration 47.7.1 → 47.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1130a5=_0x50c3;function _0x50c3(_0x16dc4e,_0x23306f){const _0x24d359=_0x24d3();return _0x50c3=function(_0x50c342,_0x111e93){_0x50c342=_0x50c342-0x1af;let _0x3690bc=_0x24d359[_0x50c342];return _0x3690bc;},_0x50c3(_0x16dc4e,_0x23306f);}(function(_0x5d041c,_0xf45cb9){const _0x45bc70=_0x50c3,_0x5e47b1=_0x5d041c();while(!![]){try{const _0x5b6cdd=-parseInt(_0x45bc70(0x1c2))/0x1+-parseInt(_0x45bc70(0x1bc))/0x2+-parseInt(_0x45bc70(0x1b1))/0x3*(parseInt(_0x45bc70(0x1ee))/0x4)+parseInt(_0x45bc70(0x1f7))/0x5*(parseInt(_0x45bc70(0x1d2))/0x6)+parseInt(_0x45bc70(0x1db))/0x7+-parseInt(_0x45bc70(0x1b5))/0x8+parseInt(_0x45bc70(0x1c3))/0x9;if(_0x5b6cdd===_0xf45cb9)break;else _0x5e47b1['push'](_0x5e47b1['shift']());}catch(_0x28ac98){_0x5e47b1['push'](_0x5e47b1['shift']());}}}(_0x24d3,0x8df0e));import{ContextPlugin as _0x11c97e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4c2641,CKEditorError as _0x4ea45c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4ea4e9,WEB_SOCKET_GATEWAY_STATES as _0x5370ca}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x11d965}from'ckeditor5/src/ui.js';function _0x24d3(){const _0x587534=['1110844nCcEEz','get','_reconnectionStack','has','offline','listenTo','context','config','DISCONNECTED','5AAKeGm','change:me','error','3lZcYbN','catch','removeFromReconnectionStack','connected','6481912sMQofM','CONNECTING','websocketgateway-plugin-already-registered','_reconnect','add','websocketgateway-invalid-plugin-interface','limitExceeded','1080170xuoSkz','constructor','define','reconnect','addToReconnectionStack','showWarning','1027572dJUBmP','22307040JKZLvw','cloudservices-init','isPremiumPlugin','stopListening','_domEmitter','from','state','Connected\x20users\x20limit\x20exceeded','real-time-collaboration','cloudServices.requestTimeout','all','webSocketUrl','isOfficialPlugin','disconnect','online','121956VbUTQu','CloudServices','WebSocketGateway','set','isInReconnectionStack','websocketgateway-missing-token','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.','_shouldPluginsReconnect','bind','5166777mYCwxm','websocketgateway-missing-websocket-url','cloudServices.connectionTimeout','then','CONNECTED','pluginName','connection','code','initialReconnectionInterval','plugins','cloudservices-reconnection-error','token','destroy','connect','init','_isBrowserOffline','function','delete','requires'];_0x24d3=function(){return _0x587534;};return _0x24d3();}export class WebSocketGateway extends _0x11c97e{static [_0x1130a5(0x1d4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4ea4e9)());static [_0x1130a5(0x1e3)]=0x3e8;[_0x1130a5(0x1e1)];[_0x1130a5(0x1f0)];[_0x1130a5(0x1d9)];[_0x1130a5(0x1c7)];static get[_0x1130a5(0x1ed)](){const _0xeed9ec=_0x1130a5;return[_0xeed9ec(0x1d3),_0x11d965];}static get[_0x1130a5(0x1e0)](){const _0x31a203=_0x1130a5;return _0x31a203(0x1d4);}static get[_0x1130a5(0x1cf)](){return!0x0;}static get[_0x1130a5(0x1c5)](){return!0x0;}constructor(_0x5874c1){const _0x38cf8b=_0x1130a5;super(_0x5874c1),this[_0x38cf8b(0x1d5)](_0x38cf8b(0x1c9),_0x5370ca[_0x38cf8b(0x1df)]),this[_0x38cf8b(0x1d5)](_0x38cf8b(0x1ea),!0x1),this[_0x38cf8b(0x1f0)]=new Set(),this[_0x38cf8b(0x1d9)]=!0x1,this[_0x38cf8b(0x1c7)]=new(_0x4c2641())();}[_0x1130a5(0x1e9)](){const _0x1fb253=_0x1130a5,_0x4db9df=this[_0x1fb253(0x1f4)],_0x48484a=_0x4db9df[_0x1fb253(0x1e4)][_0x1fb253(0x1ef)](_0x1fb253(0x1d3)),_0x5aa6fd=_0x4db9df[_0x1fb253(0x1e4)][_0x1fb253(0x1ef)](_0x11d965);if(!_0x48484a[_0x1fb253(0x1e6)])throw new _0x4ea45c(_0x1fb253(0x1d7),this);if(!_0x48484a[_0x1fb253(0x1ce)])throw new _0x4ea45c(_0x1fb253(0x1dc),this);return this[_0x1fb253(0x1c7)][_0x1fb253(0x1f3)](window,_0x1fb253(0x1f2),()=>this[_0x1fb253(0x1ea)]=!0x0),this[_0x1fb253(0x1c7)][_0x1fb253(0x1f3)](window,_0x1fb253(0x1d1),()=>this[_0x1fb253(0x1ea)]=!0x1),this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1be)](_0x1fb253(0x1dd),0xa),this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1be)](_0x1fb253(0x1cc),0x14),WebSocketGateway[_0x1fb253(0x1d4)][_0x1fb253(0x1e8)](_0x48484a[_0x1fb253(0x1e6)],_0x48484a[_0x1fb253(0x1ce)],{'timeout':0x3e8*this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1ef)](_0x1fb253(0x1dd)),'requestTimeout':0x3e8*this[_0x1fb253(0x1f4)][_0x1fb253(0x1f5)][_0x1fb253(0x1ef)](_0x1fb253(0x1cc))})[_0x1fb253(0x1de)](_0xffa304=>{const _0x5c6e38=_0x1fb253;if(this[_0x5c6e38(0x1e1)]=_0xffa304,this[_0x5c6e38(0x1da)](_0x5c6e38(0x1c9))['to'](_0xffa304,_0x5c6e38(0x1c9),this,_0x5c6e38(0x1ea),(_0x4be42c,_0x9dddb2)=>(_0x5c6e38(0x1b4)!==_0x4be42c&&(this[_0x5c6e38(0x1d9)]=!0x0),_0x9dddb2||_0x4be42c!==_0x5370ca[_0x5c6e38(0x1df)]?_0x5370ca[_0x5c6e38(0x1f6)]:this[_0x5c6e38(0x1c9)]==_0x5370ca[_0x5c6e38(0x1f6)]&&this[_0x5c6e38(0x1d9)]?(this[_0x5c6e38(0x1d9)]=!0x1,this[_0x5c6e38(0x1b8)](),_0x5370ca[_0x5c6e38(0x1b6)]):_0x5370ca[_0x5c6e38(0x1df)])),this[_0x5c6e38(0x1e1)]['on'](_0x5c6e38(0x1b0),(_0x589745,_0x2b113a)=>{const _0x136e4b=_0x5c6e38;if(_0x136e4b(0x1bb)!==_0x2b113a[_0x136e4b(0x1e2)])throw console[_0x136e4b(0x1b0)](_0x2b113a),new _0x4ea45c(_0x136e4b(0x1c4),null,{'originalError':_0x2b113a});_0x5aa6fd[_0x136e4b(0x1c1)](_0x136e4b(0x1d8),{'title':_0x136e4b(0x1ca),'namespace':_0x136e4b(0x1cb)});}),!_0xffa304['me'])return new Promise(_0x40fbc3=>_0xffa304['on'](_0x5c6e38(0x1af),_0x40fbc3));})[_0x1fb253(0x1b2)](_0x26e5c2=>{const _0x4c9447=_0x1fb253;throw console[_0x4c9447(0x1b0)](_0x26e5c2),new _0x4ea45c(_0x4c9447(0x1c4),null,{'originalError':_0x26e5c2});});}[_0x1130a5(0x1c0)](_0x167157){const _0x3f1d26=_0x1130a5;if(_0x3f1d26(0x1eb)!=typeof _0x167157[_0x3f1d26(0x1bf)])throw new _0x4ea45c(_0x3f1d26(0x1ba),this);if(this[_0x3f1d26(0x1d6)](_0x167157))throw new _0x4ea45c(_0x3f1d26(0x1b7),this,{'name':_0x167157[_0x3f1d26(0x1bd)][_0x3f1d26(0x1e0)]});this[_0x3f1d26(0x1f0)][_0x3f1d26(0x1b9)](_0x167157);}[_0x1130a5(0x1b3)](_0x15012e){const _0x3bdc07=_0x1130a5;this[_0x3bdc07(0x1f0)][_0x3bdc07(0x1ec)](_0x15012e);}[_0x1130a5(0x1d6)](_0x4ff9f3){const _0x167a3d=_0x1130a5;return this[_0x167a3d(0x1f0)][_0x167a3d(0x1f1)](_0x4ff9f3);}[_0x1130a5(0x1b8)](){const _0x4516b0=_0x1130a5;return this[_0x4516b0(0x1e1)][_0x4516b0(0x1bf)]()[_0x4516b0(0x1de)](()=>Promise[_0x4516b0(0x1cd)](Array[_0x4516b0(0x1c8)](this[_0x4516b0(0x1f0)],_0x514090=>_0x514090[_0x4516b0(0x1bf)]())))[_0x4516b0(0x1de)](()=>this[_0x4516b0(0x1c9)]=_0x5370ca[_0x4516b0(0x1df)])[_0x4516b0(0x1b2)](_0x7eb5ae=>{const _0x4aa0ae=_0x4516b0;throw console[_0x4aa0ae(0x1b0)](_0x7eb5ae),new _0x4ea45c(_0x4aa0ae(0x1e5),this[_0x4aa0ae(0x1f4)]);});}[_0x1130a5(0x1d0)](){const _0x1709bd=_0x1130a5;this[_0x1709bd(0x1e1)]&&this[_0x1709bd(0x1e1)][_0x1709bd(0x1d0)](),this[_0x1709bd(0x1c9)]=_0x5370ca[_0x1709bd(0x1f6)],this[_0x1709bd(0x1c7)][_0x1709bd(0x1c6)]();}[_0x1130a5(0x1e7)](){const _0x55c88a=_0x1130a5;this[_0x55c88a(0x1d0)](),super[_0x55c88a(0x1e7)]();}}
23
+ const _0x42af2f=_0x3969;(function(_0x3a92bd,_0xb581d8){const _0x5d09ab=_0x3969,_0x4da469=_0x3a92bd();while(!![]){try{const _0x52275c=parseInt(_0x5d09ab(0xcf))/0x1*(parseInt(_0x5d09ab(0xdb))/0x2)+-parseInt(_0x5d09ab(0xaf))/0x3+-parseInt(_0x5d09ab(0xca))/0x4+parseInt(_0x5d09ab(0xc6))/0x5+-parseInt(_0x5d09ab(0xb1))/0x6*(-parseInt(_0x5d09ab(0xad))/0x7)+-parseInt(_0x5d09ab(0xdc))/0x8+parseInt(_0x5d09ab(0x96))/0x9*(parseInt(_0x5d09ab(0xd0))/0xa);if(_0x52275c===_0xb581d8)break;else _0x4da469['push'](_0x4da469['shift']());}catch(_0xd667a8){_0x4da469['push'](_0x4da469['shift']());}}}(_0x5a85,0xe6c96));function _0x5a85(){const _0x40e23e=['_reconnect','5691385avGkOk','bind','isOfficialPlugin','isInReconnectionStack','3421680TVjaOl','code','catch','_shouldPluginsReconnect','reconnect','1aqfwqY','5113430bRnpaD','websocketgateway-plugin-already-registered','webSocketUrl','destroy','connect','error','WebSocketGateway','websocketgateway-invalid-plugin-interface','define','DISCONNECTED','Connected\x20users\x20limit\x20exceeded','3450832mrYuNe','12561600hNQMaF','connected','real-time-collaboration','limitExceeded','9UkRlnG','config','init','_domEmitter','has','from','state','pluginName','requires','then','get','function','add','disconnect','constructor','offline','stopListening','isPremiumPlugin','context','websocketgateway-missing-token','removeFromReconnectionStack','all','addToReconnectionStack','8477qFBaHE','change:me','4996818XvWRMG','delete','8232CggoFp','cloudservices-init','online','cloudServices.connectionTimeout','set','initialReconnectionInterval','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.','_reconnectionStack','connection','CONNECTED','_isBrowserOffline','listenTo','cloudservices-reconnection-error','CONNECTING','token','cloudServices.requestTimeout','websocketgateway-missing-websocket-url','plugins','CloudServices'];_0x5a85=function(){return _0x40e23e;};return _0x5a85();}import{ContextPlugin as _0x256bfb}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x20f159,CKEditorError as _0x1eb1a8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x26ebae,WEB_SOCKET_GATEWAY_STATES as _0x4d68cc}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x404828}from'ckeditor5/src/ui.js';function _0x3969(_0x1858b1,_0x475a5){const _0x5a85b5=_0x5a85();return _0x3969=function(_0x3969d7,_0x4d03c1){_0x3969d7=_0x3969d7-0x93;let _0x1f72ce=_0x5a85b5[_0x3969d7];return _0x1f72ce;},_0x3969(_0x1858b1,_0x475a5);}export class WebSocketGateway extends _0x256bfb{static [_0x42af2f(0xd6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x26ebae)());static [_0x42af2f(0xb6)]=0x3e8;[_0x42af2f(0xba)];[_0x42af2f(0xb9)];[_0x42af2f(0xcd)];[_0x42af2f(0x99)];static get[_0x42af2f(0x9e)](){const _0x50ccf7=_0x42af2f;return[_0x50ccf7(0xc4),_0x404828];}static get[_0x42af2f(0x9d)](){const _0x3a7b28=_0x42af2f;return _0x3a7b28(0xd6);}static get[_0x42af2f(0xc8)](){return!0x0;}static get[_0x42af2f(0xa7)](){return!0x0;}constructor(_0x34f224){const _0x4be4ab=_0x42af2f;super(_0x34f224),this[_0x4be4ab(0xb5)](_0x4be4ab(0x9c),_0x4d68cc[_0x4be4ab(0xbb)]),this[_0x4be4ab(0xb5)](_0x4be4ab(0xbc),!0x1),this[_0x4be4ab(0xb9)]=new Set(),this[_0x4be4ab(0xcd)]=!0x1,this[_0x4be4ab(0x99)]=new(_0x20f159())();}[_0x42af2f(0x98)](){const _0x4e603c=_0x42af2f,_0xbab656=this[_0x4e603c(0xa8)],_0x347d3d=_0xbab656[_0x4e603c(0xc3)][_0x4e603c(0xa0)](_0x4e603c(0xc4)),_0x4ca4bc=_0xbab656[_0x4e603c(0xc3)][_0x4e603c(0xa0)](_0x404828);if(!_0x347d3d[_0x4e603c(0xc0)])throw new _0x1eb1a8(_0x4e603c(0xa9),this);if(!_0x347d3d[_0x4e603c(0xd2)])throw new _0x1eb1a8(_0x4e603c(0xc2),this);return this[_0x4e603c(0x99)][_0x4e603c(0xbd)](window,_0x4e603c(0xa5),()=>this[_0x4e603c(0xbc)]=!0x0),this[_0x4e603c(0x99)][_0x4e603c(0xbd)](window,_0x4e603c(0xb3),()=>this[_0x4e603c(0xbc)]=!0x1),this[_0x4e603c(0xa8)][_0x4e603c(0x97)][_0x4e603c(0xd8)](_0x4e603c(0xb4),0xa),this[_0x4e603c(0xa8)][_0x4e603c(0x97)][_0x4e603c(0xd8)](_0x4e603c(0xc1),0x14),WebSocketGateway[_0x4e603c(0xd6)][_0x4e603c(0xd4)](_0x347d3d[_0x4e603c(0xc0)],_0x347d3d[_0x4e603c(0xd2)],{'timeout':0x3e8*this[_0x4e603c(0xa8)][_0x4e603c(0x97)][_0x4e603c(0xa0)](_0x4e603c(0xb4)),'requestTimeout':0x3e8*this[_0x4e603c(0xa8)][_0x4e603c(0x97)][_0x4e603c(0xa0)](_0x4e603c(0xc1))})[_0x4e603c(0x9f)](_0xf51fca=>{const _0x2cb49c=_0x4e603c;if(this[_0x2cb49c(0xba)]=_0xf51fca,this[_0x2cb49c(0xc7)](_0x2cb49c(0x9c))['to'](_0xf51fca,_0x2cb49c(0x9c),this,_0x2cb49c(0xbc),(_0x4cbef2,_0x458181)=>(_0x2cb49c(0x93)!==_0x4cbef2&&(this[_0x2cb49c(0xcd)]=!0x0),_0x458181||_0x4cbef2!==_0x4d68cc[_0x2cb49c(0xbb)]?_0x4d68cc[_0x2cb49c(0xd9)]:this[_0x2cb49c(0x9c)]==_0x4d68cc[_0x2cb49c(0xd9)]&&this[_0x2cb49c(0xcd)]?(this[_0x2cb49c(0xcd)]=!0x1,this[_0x2cb49c(0xc5)](),_0x4d68cc[_0x2cb49c(0xbf)]):_0x4d68cc[_0x2cb49c(0xbb)])),this[_0x2cb49c(0xba)]['on'](_0x2cb49c(0xd5),(_0xe1662c,_0x3344fa)=>{const _0xedd401=_0x2cb49c;if(_0xedd401(0x95)!==_0x3344fa[_0xedd401(0xcb)])throw console[_0xedd401(0xd5)](_0x3344fa),new _0x1eb1a8(_0xedd401(0xb2),null,{'originalError':_0x3344fa});_0x4ca4bc[_0xedd401(0xb7)](_0xedd401(0xb8),{'title':_0xedd401(0xda),'namespace':_0xedd401(0x94)});}),!_0xf51fca['me'])return new Promise(_0x36181d=>_0xf51fca['on'](_0x2cb49c(0xae),_0x36181d));})[_0x4e603c(0xcc)](_0x302824=>{const _0x42c6cd=_0x4e603c;throw console[_0x42c6cd(0xd5)](_0x302824),new _0x1eb1a8(_0x42c6cd(0xb2),null,{'originalError':_0x302824});});}[_0x42af2f(0xac)](_0x1a93fc){const _0x3ba8bf=_0x42af2f;if(_0x3ba8bf(0xa1)!=typeof _0x1a93fc[_0x3ba8bf(0xce)])throw new _0x1eb1a8(_0x3ba8bf(0xd7),this);if(this[_0x3ba8bf(0xc9)](_0x1a93fc))throw new _0x1eb1a8(_0x3ba8bf(0xd1),this,{'name':_0x1a93fc[_0x3ba8bf(0xa4)][_0x3ba8bf(0x9d)]});this[_0x3ba8bf(0xb9)][_0x3ba8bf(0xa2)](_0x1a93fc);}[_0x42af2f(0xaa)](_0x14b3eb){const _0x2ac127=_0x42af2f;this[_0x2ac127(0xb9)][_0x2ac127(0xb0)](_0x14b3eb);}[_0x42af2f(0xc9)](_0x4dc93d){const _0x1ed3dd=_0x42af2f;return this[_0x1ed3dd(0xb9)][_0x1ed3dd(0x9a)](_0x4dc93d);}[_0x42af2f(0xc5)](){const _0x10eabc=_0x42af2f;return this[_0x10eabc(0xba)][_0x10eabc(0xce)]()[_0x10eabc(0x9f)](()=>Promise[_0x10eabc(0xab)](Array[_0x10eabc(0x9b)](this[_0x10eabc(0xb9)],_0x48ff30=>_0x48ff30[_0x10eabc(0xce)]())))[_0x10eabc(0x9f)](()=>this[_0x10eabc(0x9c)]=_0x4d68cc[_0x10eabc(0xbb)])[_0x10eabc(0xcc)](_0x5cd5fc=>{const _0x1a4038=_0x10eabc;throw console[_0x1a4038(0xd5)](_0x5cd5fc),new _0x1eb1a8(_0x1a4038(0xbe),this[_0x1a4038(0xa8)]);});}[_0x42af2f(0xa3)](){const _0x52b56c=_0x42af2f;this[_0x52b56c(0xba)]&&this[_0x52b56c(0xba)][_0x52b56c(0xa3)](),this[_0x52b56c(0x9c)]=_0x4d68cc[_0x52b56c(0xd9)],this[_0x52b56c(0x99)][_0x52b56c(0xa6)]();}[_0x42af2f(0xd3)](){const _0x289590=_0x42af2f;this[_0x289590(0xa3)](),super[_0x289590(0xd3)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5b685b=_0x3411;(function(_0x1f5ea4,_0x4998b8){var _0xf50e33=_0x3411,_0x5b3b51=_0x1f5ea4();while(!![]){try{var _0x3760a4=parseInt(_0xf50e33(0xbf))/0x1+-parseInt(_0xf50e33(0xb6))/0x2+parseInt(_0xf50e33(0xbd))/0x3+-parseInt(_0xf50e33(0xc2))/0x4*(-parseInt(_0xf50e33(0xbb))/0x5)+-parseInt(_0xf50e33(0xbe))/0x6*(-parseInt(_0xf50e33(0xc3))/0x7)+-parseInt(_0xf50e33(0xc1))/0x8+-parseInt(_0xf50e33(0xb7))/0x9;if(_0x3760a4===_0x4998b8)break;else _0x5b3b51['push'](_0x5b3b51['shift']());}catch(_0x4c94b6){_0x5b3b51['push'](_0x5b3b51['shift']());}}}(_0x3ac2,0x7babd));import{Plugin as _0xf4d70a}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x32a637}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3411(_0x4ec199,_0x102185){var _0x3ac27c=_0x3ac2();return _0x3411=function(_0x34110e,_0x3708b1){_0x34110e=_0x34110e-0xb6;var _0x149cd8=_0x3ac27c[_0x34110e];return _0x149cd8;},_0x3411(_0x4ec199,_0x102185);}export class RealTimeCollaborativeEditing extends _0xf4d70a{static get[_0x5b685b(0xb8)](){return[_0x32a637];}static get[_0x5b685b(0xba)](){var _0x536119=_0x5b685b;return _0x536119(0xbc);}static get[_0x5b685b(0xc0)](){return!0x0;}static get[_0x5b685b(0xb9)](){return!0x0;}}function _0x3ac2(){var _0x577696=['6583024xObbKm','563282orvEzG','2523600LDTKNB','requires','isPremiumPlugin','pluginName','1553945VZsvnV','RealTimeCollaborativeEditing','210357HtQACx','6yfAMFw','51514zJaVFe','isOfficialPlugin','2434048rjPupf','4bkVmhj'];_0x3ac2=function(){return _0x577696;};return _0x3ac2();}
23
+ var _0x3d155c=_0x562d;(function(_0x2f9489,_0x3263c3){var _0x46e9a8=_0x562d,_0x40b1cd=_0x2f9489();while(!![]){try{var _0x28230c=parseInt(_0x46e9a8(0x179))/0x1*(-parseInt(_0x46e9a8(0x176))/0x2)+-parseInt(_0x46e9a8(0x16f))/0x3+parseInt(_0x46e9a8(0x175))/0x4+-parseInt(_0x46e9a8(0x173))/0x5*(-parseInt(_0x46e9a8(0x177))/0x6)+parseInt(_0x46e9a8(0x174))/0x7+parseInt(_0x46e9a8(0x17a))/0x8*(parseInt(_0x46e9a8(0x17b))/0x9)+parseInt(_0x46e9a8(0x171))/0xa;if(_0x28230c===_0x3263c3)break;else _0x40b1cd['push'](_0x40b1cd['shift']());}catch(_0x36f309){_0x40b1cd['push'](_0x40b1cd['shift']());}}}(_0xbd03,0x69c7e));import{Plugin as _0x4a82cc}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x267773}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0xbd03(){var _0x337859=['pluginName','15yHqEkq','1478078bJAZkQ','84416tDXSDS','809300mxUOsV','366378mQYpIH','RealTimeCollaborativeEditing','2pHRisD','276400PhnLXr','45Usxgnb','requires','isPremiumPlugin','947868DcMxDs','isOfficialPlugin','9703370yKsQcZ'];_0xbd03=function(){return _0x337859;};return _0xbd03();}function _0x562d(_0x4df375,_0x124917){var _0xbd0337=_0xbd03();return _0x562d=function(_0x562d52,_0x27a30d){_0x562d52=_0x562d52-0x16d;var _0x439195=_0xbd0337[_0x562d52];return _0x439195;},_0x562d(_0x4df375,_0x124917);}export class RealTimeCollaborativeEditing extends _0x4a82cc{static get[_0x3d155c(0x16d)](){return[_0x267773];}static get[_0x3d155c(0x172)](){var _0x21236b=_0x3d155c;return _0x21236b(0x178);}static get[_0x3d155c(0x170)](){return!0x0;}static get[_0x3d155c(0x16e)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfd6a35=_0x442e;(function(_0x2f1850,_0x26bf91){const _0x1855c4=_0x442e,_0x552c5b=_0x2f1850();while(!![]){try{const _0x2ede82=parseInt(_0x1855c4(0x1ba))/0x1*(-parseInt(_0x1855c4(0x197))/0x2)+parseInt(_0x1855c4(0x1b8))/0x3*(-parseInt(_0x1855c4(0x1bb))/0x4)+parseInt(_0x1855c4(0x1eb))/0x5*(parseInt(_0x1855c4(0x206))/0x6)+-parseInt(_0x1855c4(0x1b1))/0x7+-parseInt(_0x1855c4(0x19a))/0x8+parseInt(_0x1855c4(0x209))/0x9*(-parseInt(_0x1855c4(0x1a3))/0xa)+parseInt(_0x1855c4(0x1a4))/0xb*(parseInt(_0x1855c4(0x1dc))/0xc);if(_0x2ede82===_0x26bf91)break;else _0x552c5b['push'](_0x552c5b['shift']());}catch(_0x47c3fe){_0x552c5b['push'](_0x552c5b['shift']());}}}(_0x2722,0xbeeca));import{Plugin as _0x4756a0}from'ckeditor5/src/core.js';import{version as _0x3a8ab2}from'ckeditor5/src/utils.js';import{Users as _0x12094e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x36218c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x2985f6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x20404b}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x32a91d,RevisionHistoryService as _0x42bf0e,User as _0x27e2c1,WEB_SOCKET_GATEWAY_STATES as _0x50dd8c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2722(){const _0x6f4974=['getUser','RevisionHistory','CONNECTED','then','destroy','_update','_waitForServiceReady','_isPendingUpdate','_createCurrentRevision','affectsData','toVersion','size','createdAt','RevisionTracker','addToReconnectionStack','adapter','_offset','marker','108IyqZWs','baseVersion','off','state','cloud-services-internal-error:\x20Not\x20connected.','getRevisions','isOfficialPlugin','isEnabled','code','sessionId','_getLatestVersionFromServerOperations','get','_bufferedUpdates','wrongRequestId','repository','4356655aTqlaI','cloud-services-internal-error:\x20Request\x20timeout.','_revisionDataBuilder','init','_oldOffset','creatorId','data','_handleReconnectionError','400','_revisions','keys','message','change:_isPendingUpdate','addRevisionData','once','reInit','buildRevisionData','_revisionHistoryService','isConnected','_handleRevisionsUpdate','type','_getLatestVersion','add','reverse','isEmptyCurrent','isBundleUploaded','collaboration.channelId','6iRGSHi','_bufferUpdate','RevisionHistoryService','258129csDXFk','requires','plugins','connected','1585884YRuMWc','from','max','5960808caZGAB','sendBufferedUpdates','updateRevisions','_lastRequestId','fromVersion','diffData','_isConnected','_fetchMissingUsers','cloudServices.bundleVersion','380bVuJwY','5132171NjdyYN','serverHistory','currentRevision','bind','config','getRevision','catch','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','listenTo','startsWith','setSource','connection','setRevisionData','1441482FAGwdg','pluginName','map','getOperations','reconnect','revisionsUpdated','CloudServicesRevisionHistoryAdapter','6207jfgLoo','editor','1tnFfRR','2812ohgQwV','connect','authors','change:_isConnected','length','addUser','isPremiumPlugin','getMany','_preventResendingRevisionData','_revisionTracker','remove','authorsIds','_startingVersion','_fixRevision','has'];_0x2722=function(){return _0x6f4974;};return _0x2722();}function _0x442e(_0xf0c7a1,_0x396d25){const _0x27221d=_0x2722();return _0x442e=function(_0x442e37,_0x189811){_0x442e37=_0x442e37-0x194;let _0x240766=_0x27221d[_0x442e37];return _0x240766;},_0x442e(_0xf0c7a1,_0x396d25);}export class CloudServicesRevisionHistoryAdapter extends _0x4756a0{static [_0xfd6a35(0x208)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x42bf0e)());[_0xfd6a35(0x19d)];[_0xfd6a35(0x1c4)];[_0xfd6a35(0x1fc)];[_0xfd6a35(0x1ef)];static get[_0xfd6a35(0x194)](){const _0x4f9418=_0xfd6a35;return[_0x2985f6,_0x36218c,_0x4f9418(0x1cb),_0x20404b,_0x12094e];}static get[_0xfd6a35(0x1b2)](){const _0x5edcc3=_0xfd6a35;return _0x5edcc3(0x1b7);}static get[_0xfd6a35(0x1e2)](){return!0x0;}static get[_0xfd6a35(0x1c1)](){return!0x0;}constructor(_0x18b5fb){const _0x13a0f9=_0xfd6a35;super(_0x18b5fb);const _0x5b238f=this[_0x13a0f9(0x1b9)][_0x13a0f9(0x1a8)][_0x13a0f9(0x1e7)](_0x13a0f9(0x205));this[_0x13a0f9(0x19d)]=null,this[_0x13a0f9(0x1c4)]=this[_0x13a0f9(0x1b9)][_0x13a0f9(0x195)][_0x13a0f9(0x1e7)](_0x13a0f9(0x1d7)),this[_0x13a0f9(0x1fc)]=new CloudServicesRevisionHistoryAdapter[(_0x13a0f9(0x208))](_0x5b238f);}async[_0xfd6a35(0x1ee)](){const _0x3432d7=_0xfd6a35,_0x35e16c=this[_0x3432d7(0x1b9)][_0x3432d7(0x195)][_0x3432d7(0x1e7)](_0x36218c),_0xacb32b=_0x35e16c[_0x3432d7(0x1a5)],_0x170818=this[_0x3432d7(0x1b9)][_0x3432d7(0x195)][_0x3432d7(0x1e7)](_0x2985f6);this[_0x3432d7(0x1c4)][_0x3432d7(0x1ae)]({'history':_0xacb32b,'getLatestVersion':()=>this[_0x3432d7(0x200)](),'getCurrentRevisionId':()=>_0x35e16c[_0x3432d7(0x1e5)]});const _0xf368cf=this[_0x3432d7(0x1b9)][_0x3432d7(0x1a8)][_0x3432d7(0x1e7)](_0x3432d7(0x1a2))||_0x3a8ab2,_0x5b0ace=await _0x32a91d[_0x3432d7(0x204)](_0x170818[_0x3432d7(0x1af)],_0xf368cf);this[_0x3432d7(0x1b9)][_0x3432d7(0x195)][_0x3432d7(0x1e7)](_0x3432d7(0x1cb))[_0x3432d7(0x1d9)]={'getRevision':async({revisionId:_0x5e3551})=>(await this[_0x3432d7(0x1d0)](),await this[_0x3432d7(0x1fc)][_0x3432d7(0x1a9)](_0x5e3551)),'updateRevisions':async _0x5d05a8=>{const _0x1ea7fe=_0x3432d7;await this[_0x1ea7fe(0x1d0)]();const _0x453fa2=this[_0x1ea7fe(0x1c4)][_0x1ea7fe(0x1a6)];if(_0x5b0ace&&0x1===_0x5d05a8[_0x1ea7fe(0x1bf)]&&_0x5d05a8[0x0]['id']===_0x453fa2['id'])return _0x5d05a8;for(const _0x47b7e6 of _0x5d05a8)_0x47b7e6['id']===_0x453fa2['id']&&(_0x47b7e6[_0x1ea7fe(0x203)]=_0x47b7e6[_0x1ea7fe(0x19e)]===_0x47b7e6[_0x1ea7fe(0x1d4)]);return this[_0x1ea7fe(0x1fc)][_0x1ea7fe(0x19c)](_0x5d05a8,this[_0x1ea7fe(0x19d)])[_0x1ea7fe(0x1cd)](_0x4435c8=>(this[_0x1ea7fe(0x19d)]=_0x4435c8,_0x5d05a8))[_0x1ea7fe(0x1aa)](_0x9ef8ac=>{const _0x506d33=_0x1ea7fe;if(et(_0x9ef8ac)||_0x506d33(0x1f3)===_0x9ef8ac[_0x506d33(0x1e4)]&&void 0x0!==_0x9ef8ac[_0x506d33(0x1f1)][_0x506d33(0x1e9)]){for(const _0x4f2b58 of _0x5d05a8){!this[_0x506d33(0x1c4)][_0x506d33(0x1ea)][_0x506d33(0x1a9)](_0x4f2b58['id'])||this[_0x506d33(0x1c4)][_0x506d33(0x207)](_0x4f2b58['id'],_0x4f2b58,!0x1);}if(et(_0x9ef8ac))throw _0x9ef8ac;return _0x5d05a8;}throw _0x9ef8ac;});}},this[_0x3432d7(0x1ac)](this[_0x3432d7(0x1fc)],_0x3432d7(0x1b6),(_0x3ea61c,{revisionsData:_0x27a4a3,requestId:_0x29b494})=>{const _0x33bae3=_0x3432d7;Math[_0x33bae3(0x199)](..._0x27a4a3[_0x33bae3(0x1b3)](_0x14ddde=>_0x14ddde[_0x33bae3(0x1d4)]))>this[_0x33bae3(0x1e6)]()-0x1?this[_0x33bae3(0x200)]()[_0x33bae3(0x1cd)](()=>{const _0x79c4cd=_0x33bae3;this[_0x79c4cd(0x1fe)](_0x27a4a3,_0x29b494);}):this[_0x33bae3(0x1fe)](_0x27a4a3,_0x29b494);});const {revisions:_0x48a03b,requestId:_0x4e4b07}=await this[_0x3432d7(0x1fc)][_0x3432d7(0x1bc)](_0x170818[_0x3432d7(0x1af)]);_0x170818[_0x3432d7(0x1d8)](this),this[_0x3432d7(0x19d)]=_0x4e4b07,await this[_0x3432d7(0x1a1)](_0x48a03b);for(const _0xca3882 of _0x48a03b)this[_0x3432d7(0x1c4)][_0x3432d7(0x1f8)](_0xca3882);this[_0x3432d7(0x1ac)](_0x35e16c,_0x3432d7(0x1be),(_0x494cde,_0xedb1c7,_0x3ab733)=>{const _0x17a61d=_0x3432d7;_0x3ab733&&(this[_0x17a61d(0x1ef)]=_0x35e16c[_0x17a61d(0x1da)],_0x494cde[_0x17a61d(0x1de)]());}),this[_0x3432d7(0x1c4)][_0x3432d7(0x1a7)](_0x3432d7(0x1e3))['to'](_0x170818,_0x3432d7(0x1df),_0x2f5e39=>_0x2f5e39===_0x50dd8c[_0x3432d7(0x1cc)]);}async[_0xfd6a35(0x1b5)](){const _0x3d50ab=_0xfd6a35,_0x270dd5=this[_0x3d50ab(0x1b9)][_0x3d50ab(0x195)][_0x3d50ab(0x1e7)](_0x2985f6),_0x2669a7=this[_0x3d50ab(0x1b9)][_0x3d50ab(0x195)][_0x3d50ab(0x1e7)](_0x36218c),_0x492f24=async()=>{const _0x5460c2=_0x3d50ab,_0xf5b1dc=this[_0x5460c2(0x1c4)][_0x5460c2(0x1a6)],_0x397d66=_0xf5b1dc['id'],_0x483fd1=_0x397d66!==_0x2669a7[_0x5460c2(0x1e5)];if(_0x483fd1){const _0x5d8606=_0x2669a7[_0x5460c2(0x1da)]-this[_0x5460c2(0x1ef)],_0x5ad383=this[_0x5460c2(0x1e6)]();this[_0x5460c2(0x1c4)][_0x5460c2(0x1ed)][_0x5460c2(0x1fa)]();if(_0xf5b1dc[_0x5460c2(0x1d4)]+_0x5d8606!==_0x5ad383){const _0x50d81d=_0xf5b1dc[_0x5460c2(0x19e)]+_0x5d8606,_0x379c77=this[_0x5460c2(0x1b9)][_0x5460c2(0x195)][_0x5460c2(0x1e7)](_0x12094e),_0x31b2a7=this[_0x5460c2(0x1c4)][_0x5460c2(0x1fb)]({'revision':_0xf5b1dc,'from':_0x50d81d,'to':_0x5ad383});_0x31b2a7['id']=_0xf5b1dc['id'];const _0x23541e=_0x31b2a7[_0x5460c2(0x1c6)][_0x5460c2(0x1b3)](_0x4d5ce0=>_0x379c77[_0x5460c2(0x1ca)](_0x4d5ce0));_0xf5b1dc[_0x5460c2(0x1cf)]({..._0x31b2a7,'authors':_0x23541e},!0x0),this[_0x5460c2(0x1c4)][_0x5460c2(0x207)](_0xf5b1dc['id'],_0x31b2a7,!0x0);}this[_0x5460c2(0x1c4)][_0x5460c2(0x1c7)]=_0x5ad383,(_0xf5b1dc[_0x5460c2(0x1d4)]===_0xf5b1dc[_0x5460c2(0x19e)]&&!this[_0x5460c2(0x1c4)][_0x5460c2(0x1e8)][_0x5460c2(0x1c9)](_0x397d66)&&this[_0x5460c2(0x1c4)][_0x5460c2(0x1ea)][_0x5460c2(0x1f4)][_0x5460c2(0x1c5)](_0x397d66),this[_0x5460c2(0x1c4)][_0x5460c2(0x1d2)](_0x5ad383));}const {revisions:_0x5edb72,requestId:_0x15ddd9}=await this[_0x5460c2(0x1fc)][_0x5460c2(0x1b5)](_0x270dd5[_0x5460c2(0x1af)],this[_0x5460c2(0x19d)]);_0x483fd1&&_0x5edb72[_0x5460c2(0x1bf)]>0x0?_0x2669a7[_0x5460c2(0x1f2)]():(await this[_0x5460c2(0x1a1)](_0x5edb72),this[_0x5460c2(0x1fe)](_0x5edb72,_0x15ddd9),this[_0x5460c2(0x1c4)][_0x5460c2(0x19b)]());};return _0x2669a7[_0x3d50ab(0x1a0)]?_0x492f24():new Promise((_0x5d9c2b,_0x1ed2de)=>{const _0x50a431=_0x3d50ab;_0x2669a7[_0x50a431(0x1f9)](_0x50a431(0x1be),()=>{const _0x5272d0=_0x50a431;_0x492f24()[_0x5272d0(0x1cd)](_0x5d9c2b)[_0x5272d0(0x1aa)](_0x1ed2de);});});}[_0xfd6a35(0x1ce)](){const _0x3352d6=_0xfd6a35;super[_0x3352d6(0x1ce)]();}async[_0xfd6a35(0x1d0)](){const _0x20070c=_0xfd6a35;this[_0x20070c(0x1fc)][_0x20070c(0x1fd)]||await new Promise(_0x2b8e03=>{const _0x13c954=_0x20070c;this[_0x13c954(0x1ac)](this[_0x13c954(0x1fc)],_0x13c954(0x196),_0xda574b=>{const _0x22a97e=_0x13c954;_0xda574b[_0x22a97e(0x1de)](),_0x2b8e03();});});}[_0xfd6a35(0x1e6)](){const _0x45176d=_0xfd6a35,_0x552a02=this[_0x45176d(0x1b9)][_0x45176d(0x195)][_0x45176d(0x1e7)](_0x36218c)[_0x45176d(0x1a5)][_0x45176d(0x1b4)]()[_0x45176d(0x202)]();for(const _0x46344f of _0x552a02)if(_0x45176d(0x1db)!==_0x46344f[_0x45176d(0x1ff)]||_0x46344f[_0x45176d(0x1d3)])return _0x46344f[_0x45176d(0x1dd)]+0x1;}[_0xfd6a35(0x200)](){const _0x156e7a=_0xfd6a35,_0x14870b=this[_0x156e7a(0x1b9)][_0x156e7a(0x195)][_0x156e7a(0x1e7)](_0x36218c);return new Promise(_0x17cb0c=>{const _0x1c498d=_0x156e7a;_0x14870b[_0x1c498d(0x1d1)]?_0x14870b[_0x1c498d(0x1f9)](_0x1c498d(0x1f7),()=>{const _0xf23ccd=_0x1c498d;_0x17cb0c(this[_0xf23ccd(0x1e6)]());}):_0x17cb0c(this[_0x1c498d(0x1e6)]());});}[_0xfd6a35(0x1fe)](_0x30ce44,_0x521a7c){const _0x21ad49=_0xfd6a35,_0x1e06c1=this[_0x21ad49(0x1c4)][_0x21ad49(0x1ea)];this[_0x21ad49(0x19d)]=_0x521a7c;for(const _0x5027ef of _0x30ce44){const _0x3b8624=_0x1e06c1[_0x21ad49(0x1a9)](_0x5027ef['id']);if(_0x3b8624){if((_0x5027ef[_0x21ad49(0x19e)]||_0x5027ef[_0x21ad49(0x1d4)])&&(_0x5027ef[_0x21ad49(0x19f)]=null),_0x3b8624===this[_0x21ad49(0x1c4)][_0x21ad49(0x1a6)]){const _0xdd3fb7=Math[_0x21ad49(0x199)](_0x3b8624[_0x21ad49(0x1d4)],_0x5027ef[_0x21ad49(0x1d4)]),_0x1f4b07=Math[_0x21ad49(0x199)](_0x3b8624[_0x21ad49(0x19e)],_0x5027ef[_0x21ad49(0x19e)]);let _0x5d95cb;_0x3b8624[_0x21ad49(0x1d4)]===_0x5027ef[_0x21ad49(0x1d4)]&&_0x3b8624[_0x21ad49(0x19e)]===_0x5027ef[_0x21ad49(0x19e)]?(_0x5d95cb=!0x0,this[_0x21ad49(0x1c3)](_0x5027ef)):_0x5027ef[_0x21ad49(0x1d4)]===_0xdd3fb7&&_0x5027ef[_0x21ad49(0x19e)]===_0x1f4b07?_0x5d95cb=!0x1:(_0x3b8624[_0x21ad49(0x1d4)]===_0xdd3fb7&&_0x3b8624[_0x21ad49(0x19e)]===_0x1f4b07||this[_0x21ad49(0x1c8)]({'revision':_0x3b8624,'from':_0x1f4b07,'to':_0xdd3fb7}),_0x5d95cb=!0x0),_0x5d95cb&&(delete _0x5027ef[_0x21ad49(0x19e)],delete _0x5027ef[_0x21ad49(0x1d4)],delete _0x5027ef[_0x21ad49(0x19f)],delete _0x5027ef[_0x21ad49(0x1d6)],delete _0x5027ef[_0x21ad49(0x1c6)]);}this[_0x21ad49(0x1c4)][_0x21ad49(0x1b0)](_0x5027ef),this[_0x21ad49(0x1c3)](_0x5027ef);}else this[_0x21ad49(0x1c4)][_0x21ad49(0x1f8)](_0x5027ef);}const _0x404d0e=_0x1e06c1[_0x21ad49(0x1e1)]();_0x404d0e[_0x21ad49(0x202)]();for(let _0x5e893c=0x0;_0x5e893c<_0x404d0e[_0x21ad49(0x1bf)]-0x1;_0x5e893c++){const _0x19b1d4=_0x404d0e[_0x5e893c],_0x3918ed=_0x404d0e[_0x5e893c+0x1];if(_0x19b1d4[_0x21ad49(0x19e)]<_0x3918ed[_0x21ad49(0x1d4)]){const _0x44abe9=_0x3918ed[_0x21ad49(0x1d4)],_0x4b6f88=Math[_0x21ad49(0x199)](_0x44abe9,_0x19b1d4[_0x21ad49(0x1d4)]);this[_0x21ad49(0x1c8)]({'revision':_0x19b1d4,'from':_0x44abe9,'to':_0x4b6f88});}}}[_0xfd6a35(0x1c8)]({revision:_0x1639d3,from:_0x233777,to:_0x5c5ebb}={}){const _0x4e60c9=_0xfd6a35,_0xd993e5=this[_0x4e60c9(0x1b9)][_0x4e60c9(0x195)][_0x4e60c9(0x1e7)](_0x12094e),_0x200ca1=this[_0x4e60c9(0x1c4)][_0x4e60c9(0x1fb)]({'revision':_0x1639d3,'from':_0x233777,'to':_0x5c5ebb});_0x200ca1[_0x4e60c9(0x1bd)]=_0x200ca1[_0x4e60c9(0x1c6)][_0x4e60c9(0x1b3)](_0x46f35d=>_0xd993e5[_0x4e60c9(0x1ca)](_0x46f35d)),_0x1639d3[_0x4e60c9(0x1cf)](_0x200ca1);}[_0xfd6a35(0x1c3)](_0x114a9e){const _0x30aedb=_0xfd6a35,_0x5a3222={};_0x5a3222['id']=_0x114a9e['id'];for(const _0xbcc6c0 of Object[_0x30aedb(0x1f5)](_0x114a9e))'id'!==_0xbcc6c0&&(_0x5a3222[_0xbcc6c0]=void 0x0);this[_0x30aedb(0x1c4)][_0x30aedb(0x207)](_0x5a3222['id'],_0x5a3222,!0x0);}async[_0xfd6a35(0x1a1)](_0x5c84e6){const _0x546ae7=_0xfd6a35,_0x315831=this[_0x546ae7(0x1b9)][_0x546ae7(0x195)][_0x546ae7(0x1e7)](_0x12094e),{connection:_0x56ed63}=this[_0x546ae7(0x1b9)][_0x546ae7(0x195)][_0x546ae7(0x1e7)](_0x2985f6),_0x5257e6=new Set();for(const _0x52aa5e of _0x5c84e6){for(const _0x288dc7 of _0x52aa5e[_0x546ae7(0x1c6)])_0x271aaa(_0x288dc7);_0x52aa5e[_0x546ae7(0x1f0)]&&_0x271aaa(_0x52aa5e[_0x546ae7(0x1f0)]);}if(0x0===_0x5257e6[_0x546ae7(0x1d5)])return;const _0x25a1e3=await _0x27e2c1[_0x546ae7(0x1c2)](_0x56ed63,Array[_0x546ae7(0x198)](_0x5257e6));for(const _0x2cf15a of _0x25a1e3)_0x315831[_0x546ae7(0x1ca)](_0x2cf15a['id'])||_0x315831[_0x546ae7(0x1c0)](_0x2cf15a);function _0x271aaa(_0x53385a){const _0x39f811=_0x546ae7;_0x315831[_0x39f811(0x1ca)](_0x53385a)||_0x5257e6[_0x39f811(0x201)](_0x53385a);}}}function et(_0x262b96){const _0xb8954e=_0xfd6a35;return _0x262b96[_0xb8954e(0x1f6)][_0xb8954e(0x1ad)](_0xb8954e(0x1ab))||_0x262b96[_0xb8954e(0x1f6)][_0xb8954e(0x1ad)](_0xb8954e(0x1e0))||_0x262b96[_0xb8954e(0x1f6)][_0xb8954e(0x1ad)](_0xb8954e(0x1ec));}
23
+ const _0x23be42=_0x1841;(function(_0x4216a3,_0x547c7e){const _0x377321=_0x1841,_0x500b7b=_0x4216a3();while(!![]){try{const _0x5e54a7=-parseInt(_0x377321(0x130))/0x1+-parseInt(_0x377321(0x13a))/0x2+-parseInt(_0x377321(0xe8))/0x3+parseInt(_0x377321(0x122))/0x4*(-parseInt(_0x377321(0xe1))/0x5)+-parseInt(_0x377321(0x12a))/0x6+-parseInt(_0x377321(0x12b))/0x7*(parseInt(_0x377321(0xf2))/0x8)+parseInt(_0x377321(0xe9))/0x9;if(_0x5e54a7===_0x547c7e)break;else _0x500b7b['push'](_0x500b7b['shift']());}catch(_0x3a899a){_0x500b7b['push'](_0x500b7b['shift']());}}}(_0x50a6,0xf273f));import{Plugin as _0x14e3c9}from'ckeditor5/src/core.js';import{version as _0x7e2be6}from'ckeditor5/src/utils.js';import{Users as _0x100d9e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1841(_0x1d15a7,_0x4cd4be){const _0x50a6e2=_0x50a6();return _0x1841=function(_0x184184,_0x3fa11c){_0x184184=_0x184184-0xcc;let _0x2fb71b=_0x50a6e2[_0x184184];return _0x2fb71b;},_0x1841(_0x1d15a7,_0x4cd4be);}import{RealTimeCollaborationClient as _0x2cff4b}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x162c95}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2ce73f}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x625a4d,RevisionHistoryService as _0x53f529,User as _0x7d71a0,WEB_SOCKET_GATEWAY_STATES as _0x3c72ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x50a6(){const _0x1280f5=['cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','size','RevisionHistory','40GxxlvO','type','revisionsUpdated','catch','fromVersion','_update','reInit','4144335nCdsor','79612353ZguuxP','_isPendingUpdate','_revisions','data','_handleReconnectionError','authorsIds','_oldOffset','listenTo','off','1553272MsdAOG','cloud-services-internal-error:\x20Not\x20connected.','state','_bufferUpdate','isConnected','requires','addUser','keys','_revisionHistoryService','isBundleUploaded','_getLatestVersionFromServerOperations','CloudServicesRevisionHistoryAdapter','serverHistory','has','bind','_bufferedUpdates','remove','setRevisionData','isOfficialPlugin','init','authors','_getLatestVersion','buildRevisionData','getOperations','cloud-services-internal-error:\x20Request\x20timeout.','setSource','_isConnected','createdAt','creatorId','plugins','updateRevisions','_createCurrentRevision','change:_isConnected','_handleRevisionsUpdate','repository','sessionId','change:_isPendingUpdate','marker','_revisionTracker','_lastRequestId','from','RevisionTracker','_revisionDataBuilder','pluginName','config','_startingVersion','code','CONNECTED','770344nCenDH','message','_fetchMissingUsers','getUser','reconnect','isPremiumPlugin','affectsData','then','6724992BemoUL','63JtzOBj','connected','isEnabled','isEmptyCurrent','editor','1457779nmCcDu','destroy','connect','wrongRequestId','getMany','_offset','get','adapter','startsWith','addRevisionData','1209110KkfIEn','_fixRevision','reverse','getRevisions','toVersion','getRevision','baseVersion','cloudServices.bundleVersion','RevisionHistoryService','_preventResendingRevisionData','currentRevision','sendBufferedUpdates','addToReconnectionStack','_waitForServiceReady','400','once','diffData','length','max','add','map','connection','collaboration.channelId'];_0x50a6=function(){return _0x1280f5;};return _0x50a6();}export class CloudServicesRevisionHistoryAdapter extends _0x14e3c9{static [_0x23be42(0xcf)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x53f529)());[_0x23be42(0x119)];[_0x23be42(0x118)];[_0x23be42(0xfa)];[_0x23be42(0xef)];static get[_0x23be42(0xf7)](){const _0x197792=_0x23be42;return[_0x162c95,_0x2cff4b,_0x197792(0xe0),_0x2ce73f,_0x100d9e];}static get[_0x23be42(0x11d)](){const _0x19a17d=_0x23be42;return _0x19a17d(0xfd);}static get[_0x23be42(0x104)](){return!0x0;}static get[_0x23be42(0x127)](){return!0x0;}constructor(_0x122fc5){const _0x1081ba=_0x23be42;super(_0x122fc5);const _0x1ac606=this[_0x1081ba(0x12f)][_0x1081ba(0x11e)][_0x1081ba(0x136)](_0x1081ba(0xdd));this[_0x1081ba(0x119)]=null,this[_0x1081ba(0x118)]=this[_0x1081ba(0x12f)][_0x1081ba(0x10f)][_0x1081ba(0x136)](_0x1081ba(0x11b)),this[_0x1081ba(0xfa)]=new CloudServicesRevisionHistoryAdapter[(_0x1081ba(0xcf))](_0x1ac606);}async[_0x23be42(0x105)](){const _0x58784e=_0x23be42,_0x4c05fe=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x2cff4b),_0x2fde7b=_0x4c05fe[_0x58784e(0xfe)],_0x25bd56=this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x162c95);this[_0x58784e(0x118)][_0x58784e(0x10b)]({'history':_0x2fde7b,'getLatestVersion':()=>this[_0x58784e(0x107)](),'getCurrentRevisionId':()=>_0x4c05fe[_0x58784e(0x115)]});const _0x11223d=this[_0x58784e(0x12f)][_0x58784e(0x11e)][_0x58784e(0x136)](_0x58784e(0xce))||_0x7e2be6,_0xafc5df=await _0x625a4d[_0x58784e(0xfb)](_0x25bd56[_0x58784e(0xdc)],_0x11223d);this[_0x58784e(0x12f)][_0x58784e(0x10f)][_0x58784e(0x136)](_0x58784e(0xe0))[_0x58784e(0x137)]={'getRevision':async({revisionId:_0x17d2e7})=>(await this[_0x58784e(0xd4)](),await this[_0x58784e(0xfa)][_0x58784e(0xcc)](_0x17d2e7)),'updateRevisions':async _0x152a03=>{const _0xd7c43f=_0x58784e;await this[_0xd7c43f(0xd4)]();const _0xb841e8=this[_0xd7c43f(0x118)][_0xd7c43f(0xd1)];if(_0xafc5df&&0x1===_0x152a03[_0xd7c43f(0xd8)]&&_0x152a03[0x0]['id']===_0xb841e8['id'])return _0x152a03;for(const _0x1ecb16 of _0x152a03)_0x1ecb16['id']===_0xb841e8['id']&&(_0x1ecb16[_0xd7c43f(0x12e)]=_0x1ecb16[_0xd7c43f(0xe5)]===_0x1ecb16[_0xd7c43f(0x13e)]);return this[_0xd7c43f(0xfa)][_0xd7c43f(0x110)](_0x152a03,this[_0xd7c43f(0x119)])[_0xd7c43f(0x129)](_0x23ed4d=>(this[_0xd7c43f(0x119)]=_0x23ed4d,_0x152a03))[_0xd7c43f(0xe4)](_0x1a9f73=>{const _0x367f0a=_0xd7c43f;if(I(_0x1a9f73)||_0x367f0a(0xd5)===_0x1a9f73[_0x367f0a(0x120)]&&void 0x0!==_0x1a9f73[_0x367f0a(0xec)][_0x367f0a(0x133)]){for(const _0x5e5fc0 of _0x152a03){!this[_0x367f0a(0x118)][_0x367f0a(0x114)][_0x367f0a(0xcc)](_0x5e5fc0['id'])||this[_0x367f0a(0x118)][_0x367f0a(0xf5)](_0x5e5fc0['id'],_0x5e5fc0,!0x1);}if(I(_0x1a9f73))throw _0x1a9f73;return _0x152a03;}throw _0x1a9f73;});}},this[_0x58784e(0xf0)](this[_0x58784e(0xfa)],_0x58784e(0xe3),(_0x270cde,{revisionsData:_0x265f90,requestId:_0x1d29c7})=>{const _0x3cc221=_0x58784e;Math[_0x3cc221(0xd9)](..._0x265f90[_0x3cc221(0xdb)](_0x450aa9=>_0x450aa9[_0x3cc221(0x13e)]))>this[_0x3cc221(0xfc)]()-0x1?this[_0x3cc221(0x107)]()[_0x3cc221(0x129)](()=>{const _0x3184b5=_0x3cc221;this[_0x3184b5(0x113)](_0x265f90,_0x1d29c7);}):this[_0x3cc221(0x113)](_0x265f90,_0x1d29c7);});const {revisions:_0x3907d7,requestId:_0x2f75c6}=await this[_0x58784e(0xfa)][_0x58784e(0x132)](_0x25bd56[_0x58784e(0xdc)]);_0x25bd56[_0x58784e(0xd3)](this),this[_0x58784e(0x119)]=_0x2f75c6,await this[_0x58784e(0x124)](_0x3907d7);for(const _0x178aaa of _0x3907d7)this[_0x58784e(0x118)][_0x58784e(0x139)](_0x178aaa);this[_0x58784e(0xf0)](_0x4c05fe,_0x58784e(0x112),(_0x181616,_0x291a2f,_0x5ce55c)=>{const _0x11f49e=_0x58784e;_0x5ce55c&&(this[_0x11f49e(0xef)]=_0x4c05fe[_0x11f49e(0x135)],_0x181616[_0x11f49e(0xf1)]());}),this[_0x58784e(0x118)][_0x58784e(0x100)](_0x58784e(0x12d))['to'](_0x25bd56,_0x58784e(0xf4),_0x11ae52=>_0x11ae52===_0x3c72ab[_0x58784e(0x121)]);}async[_0x23be42(0x126)](){const _0xc972e=_0x23be42,_0x5a9dad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x162c95),_0x4683ad=this[_0xc972e(0x12f)][_0xc972e(0x10f)][_0xc972e(0x136)](_0x2cff4b),_0x3a5ca1=async()=>{const _0x590095=_0xc972e,_0x2b08b4=this[_0x590095(0x118)][_0x590095(0xd1)],_0x82ecfc=_0x2b08b4['id'],_0x567688=_0x82ecfc!==_0x4683ad[_0x590095(0x115)];if(_0x567688){const _0x85cde9=_0x4683ad[_0x590095(0x135)]-this[_0x590095(0xef)],_0x3e8786=this[_0x590095(0xfc)]();this[_0x590095(0x118)][_0x590095(0x11c)][_0x590095(0xe7)]();if(_0x2b08b4[_0x590095(0x13e)]+_0x85cde9!==_0x3e8786){const _0x590587=_0x2b08b4[_0x590095(0xe5)]+_0x85cde9,_0x17b9d5=this[_0x590095(0x12f)][_0x590095(0x10f)][_0x590095(0x136)](_0x100d9e),_0x545004=this[_0x590095(0x118)][_0x590095(0x108)]({'revision':_0x2b08b4,'from':_0x590587,'to':_0x3e8786});_0x545004['id']=_0x2b08b4['id'];const _0x7f2bb7=_0x545004[_0x590095(0xee)][_0x590095(0xdb)](_0x597f7c=>_0x17b9d5[_0x590095(0x125)](_0x597f7c));_0x2b08b4[_0x590095(0xe6)]({..._0x545004,'authors':_0x7f2bb7},!0x0),this[_0x590095(0x118)][_0x590095(0xf5)](_0x2b08b4['id'],_0x545004,!0x0);}this[_0x590095(0x118)][_0x590095(0x11f)]=_0x3e8786,(_0x2b08b4[_0x590095(0x13e)]===_0x2b08b4[_0x590095(0xe5)]&&!this[_0x590095(0x118)][_0x590095(0x101)][_0x590095(0xff)](_0x82ecfc)&&this[_0x590095(0x118)][_0x590095(0x114)][_0x590095(0xeb)][_0x590095(0x102)](_0x82ecfc),this[_0x590095(0x118)][_0x590095(0x111)](_0x3e8786));}const {revisions:_0x1adda3,requestId:_0x592b3e}=await this[_0x590095(0xfa)][_0x590095(0x126)](_0x5a9dad[_0x590095(0xdc)],this[_0x590095(0x119)]);_0x567688&&_0x1adda3[_0x590095(0xd8)]>0x0?_0x4683ad[_0x590095(0xed)]():(await this[_0x590095(0x124)](_0x1adda3),this[_0x590095(0x113)](_0x1adda3,_0x592b3e),this[_0x590095(0x118)][_0x590095(0xd2)]());};return _0x4683ad[_0xc972e(0x10c)]?_0x3a5ca1():new Promise((_0x5b12f1,_0x4869c1)=>{const _0x578060=_0xc972e;_0x4683ad[_0x578060(0xd6)](_0x578060(0x112),()=>{const _0x3f40bc=_0x578060;_0x3a5ca1()[_0x3f40bc(0x129)](_0x5b12f1)[_0x3f40bc(0xe4)](_0x4869c1);});});}[_0x23be42(0x131)](){const _0x3f8777=_0x23be42;super[_0x3f8777(0x131)]();}async[_0x23be42(0xd4)](){const _0x19f343=_0x23be42;this[_0x19f343(0xfa)][_0x19f343(0xf6)]||await new Promise(_0x24b652=>{const _0x76408a=_0x19f343;this[_0x76408a(0xf0)](this[_0x76408a(0xfa)],_0x76408a(0x12c),_0x5c8147=>{const _0x28c99f=_0x76408a;_0x5c8147[_0x28c99f(0xf1)](),_0x24b652();});});}[_0x23be42(0xfc)](){const _0x5b7103=_0x23be42,_0x2ceac2=this[_0x5b7103(0x12f)][_0x5b7103(0x10f)][_0x5b7103(0x136)](_0x2cff4b)[_0x5b7103(0xfe)][_0x5b7103(0x109)]()[_0x5b7103(0x13c)]();for(const _0x55adde of _0x2ceac2)if(_0x5b7103(0x117)!==_0x55adde[_0x5b7103(0xe2)]||_0x55adde[_0x5b7103(0x128)])return _0x55adde[_0x5b7103(0xcd)]+0x1;}[_0x23be42(0x107)](){const _0x17f0af=_0x23be42,_0x1ddf8d=this[_0x17f0af(0x12f)][_0x17f0af(0x10f)][_0x17f0af(0x136)](_0x2cff4b);return new Promise(_0x1961aa=>{const _0x195d8e=_0x17f0af;_0x1ddf8d[_0x195d8e(0xea)]?_0x1ddf8d[_0x195d8e(0xd6)](_0x195d8e(0x116),()=>{const _0x2827d7=_0x195d8e;_0x1961aa(this[_0x2827d7(0xfc)]());}):_0x1961aa(this[_0x195d8e(0xfc)]());});}[_0x23be42(0x113)](_0x6846ab,_0x460a78){const _0x18b527=_0x23be42,_0x398869=this[_0x18b527(0x118)][_0x18b527(0x114)];this[_0x18b527(0x119)]=_0x460a78;for(const _0x37b022 of _0x6846ab){const _0x12a83b=_0x398869[_0x18b527(0xcc)](_0x37b022['id']);if(_0x12a83b){if((_0x37b022[_0x18b527(0xe5)]||_0x37b022[_0x18b527(0x13e)])&&(_0x37b022[_0x18b527(0xd7)]=null),_0x12a83b===this[_0x18b527(0x118)][_0x18b527(0xd1)]){const _0x5957cf=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0x13e)],_0x37b022[_0x18b527(0x13e)]),_0x1e3b6b=Math[_0x18b527(0xd9)](_0x12a83b[_0x18b527(0xe5)],_0x37b022[_0x18b527(0xe5)]);let _0x321839;_0x12a83b[_0x18b527(0x13e)]===_0x37b022[_0x18b527(0x13e)]&&_0x12a83b[_0x18b527(0xe5)]===_0x37b022[_0x18b527(0xe5)]?(_0x321839=!0x0,this[_0x18b527(0xd0)](_0x37b022)):_0x37b022[_0x18b527(0x13e)]===_0x5957cf&&_0x37b022[_0x18b527(0xe5)]===_0x1e3b6b?_0x321839=!0x1:(_0x12a83b[_0x18b527(0x13e)]===_0x5957cf&&_0x12a83b[_0x18b527(0xe5)]===_0x1e3b6b||this[_0x18b527(0x13b)]({'revision':_0x12a83b,'from':_0x1e3b6b,'to':_0x5957cf}),_0x321839=!0x0),_0x321839&&(delete _0x37b022[_0x18b527(0xe5)],delete _0x37b022[_0x18b527(0x13e)],delete _0x37b022[_0x18b527(0xd7)],delete _0x37b022[_0x18b527(0x10d)],delete _0x37b022[_0x18b527(0xee)]);}this[_0x18b527(0x118)][_0x18b527(0x103)](_0x37b022),this[_0x18b527(0xd0)](_0x37b022);}else this[_0x18b527(0x118)][_0x18b527(0x139)](_0x37b022);}const _0xb95af1=_0x398869[_0x18b527(0x13d)]();_0xb95af1[_0x18b527(0x13c)]();for(let _0x307bb5=0x0;_0x307bb5<_0xb95af1[_0x18b527(0xd8)]-0x1;_0x307bb5++){const _0x4c8bb1=_0xb95af1[_0x307bb5],_0x1f7586=_0xb95af1[_0x307bb5+0x1];if(_0x4c8bb1[_0x18b527(0xe5)]<_0x1f7586[_0x18b527(0x13e)]){const _0x456782=_0x1f7586[_0x18b527(0x13e)],_0x4a3cfd=Math[_0x18b527(0xd9)](_0x456782,_0x4c8bb1[_0x18b527(0x13e)]);this[_0x18b527(0x13b)]({'revision':_0x4c8bb1,'from':_0x456782,'to':_0x4a3cfd});}}}[_0x23be42(0x13b)]({revision:_0x4c4a87,from:_0x24f465,to:_0x453d64}={}){const _0x37a1e9=_0x23be42,_0x11e2c2=this[_0x37a1e9(0x12f)][_0x37a1e9(0x10f)][_0x37a1e9(0x136)](_0x100d9e),_0x426871=this[_0x37a1e9(0x118)][_0x37a1e9(0x108)]({'revision':_0x4c4a87,'from':_0x24f465,'to':_0x453d64});_0x426871[_0x37a1e9(0x106)]=_0x426871[_0x37a1e9(0xee)][_0x37a1e9(0xdb)](_0x1bb8a2=>_0x11e2c2[_0x37a1e9(0x125)](_0x1bb8a2)),_0x4c4a87[_0x37a1e9(0xe6)](_0x426871);}[_0x23be42(0xd0)](_0x276bc5){const _0x578c5e=_0x23be42,_0x21555d={};_0x21555d['id']=_0x276bc5['id'];for(const _0x4f57b8 of Object[_0x578c5e(0xf9)](_0x276bc5))'id'!==_0x4f57b8&&(_0x21555d[_0x4f57b8]=void 0x0);this[_0x578c5e(0x118)][_0x578c5e(0xf5)](_0x21555d['id'],_0x21555d,!0x0);}async[_0x23be42(0x124)](_0x49c0ba){const _0x475301=_0x23be42,_0x418db7=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x100d9e),{connection:_0x360f93}=this[_0x475301(0x12f)][_0x475301(0x10f)][_0x475301(0x136)](_0x162c95),_0x44c90a=new Set();for(const _0x4ced7f of _0x49c0ba){for(const _0x1ed355 of _0x4ced7f[_0x475301(0xee)])_0x108da7(_0x1ed355);_0x4ced7f[_0x475301(0x10e)]&&_0x108da7(_0x4ced7f[_0x475301(0x10e)]);}if(0x0===_0x44c90a[_0x475301(0xdf)])return;const _0xb9d596=await _0x7d71a0[_0x475301(0x134)](_0x360f93,Array[_0x475301(0x11a)](_0x44c90a));for(const _0x48f1c0 of _0xb9d596)_0x418db7[_0x475301(0x125)](_0x48f1c0['id'])||_0x418db7[_0x475301(0xf8)](_0x48f1c0);function _0x108da7(_0x57e61e){const _0x2407cd=_0x475301;_0x418db7[_0x2407cd(0x125)](_0x57e61e)||_0x44c90a[_0x2407cd(0xda)](_0x57e61e);}}}function I(_0x22a500){const _0x15253c=_0x23be42;return _0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xde))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0xf3))||_0x22a500[_0x15253c(0x123)][_0x15253c(0x138)](_0x15253c(0x10a));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51cbd2=_0x1c85;function _0x1c85(_0x8e57de,_0x5b113e){var _0x5bee8f=_0x5bee();return _0x1c85=function(_0x1c857d,_0x2ca79f){_0x1c857d=_0x1c857d-0x1f2;var _0x256748=_0x5bee8f[_0x1c857d];return _0x256748;},_0x1c85(_0x8e57de,_0x5b113e);}function _0x5bee(){var _0xadf8d4=['RevisionHistory','5DymGXA','54040xDpaZg','2985563UQzAus','545008tkxCTU','isOfficialPlugin','1693071hQKMAU','207tCmTDh','requires','2219256sFONAH','536638CBgQyd','pluginName','1791644aIeqSQ','isPremiumPlugin','RealTimeCollaborativeRevisionHistory'];_0x5bee=function(){return _0xadf8d4;};return _0x5bee();}(function(_0x332def,_0x250f9a){var _0x31e5dc=_0x1c85,_0x20d19b=_0x332def();while(!![]){try{var _0x3d375f=parseInt(_0x31e5dc(0x1f3))/0x1+parseInt(_0x31e5dc(0x1f9))/0x2+parseInt(_0x31e5dc(0x1f5))/0x3+parseInt(_0x31e5dc(0x1fb))/0x4*(-parseInt(_0x31e5dc(0x1ff))/0x5)+-parseInt(_0x31e5dc(0x1f8))/0x6+-parseInt(_0x31e5dc(0x1f2))/0x7+-parseInt(_0x31e5dc(0x200))/0x8*(-parseInt(_0x31e5dc(0x1f6))/0x9);if(_0x3d375f===_0x250f9a)break;else _0x20d19b['push'](_0x20d19b['shift']());}catch(_0x518e97){_0x20d19b['push'](_0x20d19b['shift']());}}}(_0x5bee,0x467f1));import{Plugin as _0xe86ec3}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x3e0c25}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x213416}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0xe86ec3{static get[_0x51cbd2(0x1f7)](){var _0x109001=_0x51cbd2;return[_0x109001(0x1fe),_0x3e0c25,_0x213416];}static get[_0x51cbd2(0x1fa)](){var _0x44b798=_0x51cbd2;return _0x44b798(0x1fd);}static get[_0x51cbd2(0x1f4)](){return!0x0;}static get[_0x51cbd2(0x1fc)](){return!0x0;}}
23
+ var _0x154813=_0x1d03;function _0x1d03(_0x4f623a,_0x12a321){var _0x92ddb4=_0x92dd();return _0x1d03=function(_0x1d0301,_0x5e1067){_0x1d0301=_0x1d0301-0x8b;var _0x258fb4=_0x92ddb4[_0x1d0301];return _0x258fb4;},_0x1d03(_0x4f623a,_0x12a321);}(function(_0x279ef7,_0x481919){var _0x14353d=_0x1d03,_0x5dba99=_0x279ef7();while(!![]){try{var _0x256926=-parseInt(_0x14353d(0x95))/0x1+-parseInt(_0x14353d(0x8f))/0x2+-parseInt(_0x14353d(0x9a))/0x3+-parseInt(_0x14353d(0x96))/0x4*(parseInt(_0x14353d(0x92))/0x5)+parseInt(_0x14353d(0x93))/0x6*(parseInt(_0x14353d(0x8d))/0x7)+-parseInt(_0x14353d(0x94))/0x8*(-parseInt(_0x14353d(0x97))/0x9)+-parseInt(_0x14353d(0x8e))/0xa*(parseInt(_0x14353d(0x99))/0xb);if(_0x256926===_0x481919)break;else _0x5dba99['push'](_0x5dba99['shift']());}catch(_0x17c3c5){_0x5dba99['push'](_0x5dba99['shift']());}}}(_0x92dd,0xb5a47));function _0x92dd(){var _0x205ce2=['76792iYrSmN','166985kNrnCZ','42888YvvpGs','999MeHfvQ','RealTimeCollaborativeRevisionHistory','11qRrgoy','414861uobqhR','requires','isOfficialPlugin','RevisionHistory','17269ItYhLC','511510FLwuJx','321610FHEQSq','isPremiumPlugin','pluginName','125kkBSjx','1128twGxvW'];_0x92dd=function(){return _0x205ce2;};return _0x92dd();}import{Plugin as _0x15f48f}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2ef7a9}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x4e5db4}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x15f48f{static get[_0x154813(0x9b)](){var _0x3cd772=_0x154813;return[_0x3cd772(0x8c),_0x2ef7a9,_0x4e5db4];}static get[_0x154813(0x91)](){var _0x2cd5b6=_0x154813;return _0x2cd5b6(0x98);}static get[_0x154813(0x8b)](){return!0x0;}static get[_0x154813(0x90)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x379e7c=_0x28eb;(function(_0x32ba75,_0x1f8cdb){const _0x55e4d7=_0x28eb,_0x5172bd=_0x32ba75();while(!![]){try{const _0x16edc4=parseInt(_0x55e4d7(0x1d5))/0x1*(parseInt(_0x55e4d7(0x1dc))/0x2)+-parseInt(_0x55e4d7(0x202))/0x3*(-parseInt(_0x55e4d7(0x203))/0x4)+parseInt(_0x55e4d7(0x1e5))/0x5+parseInt(_0x55e4d7(0x1e2))/0x6*(parseInt(_0x55e4d7(0x1fc))/0x7)+parseInt(_0x55e4d7(0x207))/0x8*(parseInt(_0x55e4d7(0x20f))/0x9)+-parseInt(_0x55e4d7(0x1ff))/0xa+-parseInt(_0x55e4d7(0x1e8))/0xb;if(_0x16edc4===_0x1f8cdb)break;else _0x5172bd['push'](_0x5172bd['shift']());}catch(_0x2e033d){_0x5172bd['push'](_0x5172bd['shift']());}}}(_0x3cc7,0xc3d85));import{Plugin as _0x5b0de8}from'ckeditor5/src/core.js';import{User as _0x769a18,TrackChangesService as _0x59aae1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4c1e4a}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3cc7(){const _0x4fe746=['originalSuggestionId','addUser','325650ivywoM','addToReconnectionStack','state','4059LWptGw','3776Rdrimj','CloudServicesTrackChangesAdapter','type','connected','584itSwxg','open','connection','getUser','adapter','cloud-services-internal-error:\x20Request\x20timeout.','size','_saved','110349jWTsSJ','requires','set','_waitForServiceReady','data','isPremiumPlugin','pluginName','65DDibZx','suggestionUpdated','init','get','then','addSuggestionData','update','4110VhjMDc','getMany','listenTo','_fetchMissingUsersForThreads','collaboration.channelId','config','21342VlbJUd','cloud-services-internal-error:\x20Not\x20connected.','reconnect','6116140UgROwr','TrackChangesService','_bufferedRequests','46384118plSITJ','off','_trackChangesService','catch','isOfficialPlugin','from','attributes','getSuggestion','plugins','connect','delete','startsWith','message','find','TrackChangesEditing','add','hasSuggestion','values','isConnected','editor','2996aeJbfd'];_0x3cc7=function(){return _0x4fe746;};return _0x3cc7();}function _0x28eb(_0xa46be1,_0x51692c){const _0x3cc727=_0x3cc7();return _0x28eb=function(_0x28eb0d,_0x3cf3bb){_0x28eb0d=_0x28eb0d-0x1cf;let _0x5063ee=_0x3cc727[_0x28eb0d];return _0x5063ee;},_0x28eb(_0xa46be1,_0x51692c);}import{CloudServicesCommentsAdapter as _0x4cd706}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4af37d}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5b0de8{static [_0x379e7c(0x1e6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x59aae1)());[_0x379e7c(0x1e7)];[_0x379e7c(0x1ea)];static get[_0x379e7c(0x1cf)](){const _0x5a77de=_0x379e7c;return[_0x4cd706,_0x5a77de(0x1f6),_0x4c1e4a];}static get[_0x379e7c(0x1d4)](){const _0x2dfd86=_0x379e7c;return _0x2dfd86(0x204);}static get[_0x379e7c(0x1ec)](){return!0x0;}static get[_0x379e7c(0x1d3)](){return!0x0;}constructor(_0x539105){const _0x4fa7d4=_0x379e7c;super(_0x539105);const _0x888469=this[_0x4fa7d4(0x1fb)][_0x4fa7d4(0x1e1)][_0x4fa7d4(0x1d8)](_0x4fa7d4(0x1e0));this[_0x4fa7d4(0x1e7)]=new Map(),this[_0x4fa7d4(0x1ea)]=new CloudServicesTrackChangesAdapter[(_0x4fa7d4(0x1e6))](_0x888469);}[_0x379e7c(0x1d7)](){const _0x3873ee=_0x379e7c,_0x525f8f=this[_0x3873ee(0x1fb)][_0x3873ee(0x1f0)][_0x3873ee(0x1d8)](_0x4c1e4a),_0x42ca25=this[_0x3873ee(0x1fb)][_0x3873ee(0x1f0)][_0x3873ee(0x1d8)](_0x3873ee(0x1f6));return _0x42ca25[_0x3873ee(0x20b)]={'getSuggestion':async _0x28a89e=>{const _0x416142=_0x3873ee;await this[_0x416142(0x1d1)]();const _0xde4c04=await this[_0x416142(0x1ea)][_0x416142(0x1d8)](_0x28a89e)[_0x416142(0x1eb)](k);return await this[_0x416142(0x1df)]([_0xde4c04]),_0xde4c04;},'addSuggestion':async({id:_0x571525,type:_0x1a5cb5,data:_0x398743,originalSuggestionId:_0x5d19fe,attributes:_0x1e7733})=>{const _0x16be8e=_0x3873ee;await this[_0x16be8e(0x1d1)]();const _0x5c3dba={'id':_0x571525,'type':_0x1a5cb5,'data':_0x398743,'originalSuggestionId':_0x5d19fe,'attributes':_0x1e7733},_0x35fae1=await this[_0x16be8e(0x1ea)][_0x16be8e(0x1f7)](_0x571525,_0x1a5cb5,_0x398743,_0x5d19fe,_0x1e7733)[_0x16be8e(0x1eb)](_0x205af1=>{if(et(_0x205af1))return new Promise(_0x4d41a7=>{const _0x48bf20=_0x28eb;this[_0x48bf20(0x1e7)][_0x48bf20(0x1d0)](_0x571525,{'resolve':_0x4d41a7,'suggestionData':_0x5c3dba});});throw _0x205af1;});return this[_0x16be8e(0x1e7)][_0x16be8e(0x1f2)](_0x571525),_0x35fae1;},'updateSuggestion':async(_0x2d1f9d,_0x59223c)=>{const _0x115248=_0x3873ee;if(await this[_0x115248(0x1d1)](),_0x115248(0x208)!==_0x59223c[_0x115248(0x201)])return this[_0x115248(0x1ea)][_0x115248(0x1db)](_0x2d1f9d,_0x59223c)[_0x115248(0x1eb)](k);}},this[_0x3873ee(0x1de)](this[_0x3873ee(0x1ea)],_0x3873ee(0x1d6),(_0x196ce3,_0x2b18da)=>{const _0x4df8db=_0x3873ee;_0x42ca25[_0x4df8db(0x1f8)](_0x2b18da['id'])&&(_0x42ca25[_0x4df8db(0x1ef)](_0x2b18da['id'])[_0x4df8db(0x1ee)]=_0x2b18da[_0x4df8db(0x1ee)]);}),this[_0x3873ee(0x1ea)][_0x3873ee(0x1f1)](_0x525f8f[_0x3873ee(0x209)])[_0x3873ee(0x1d9)](_0x80cd=>(_0x525f8f[_0x3873ee(0x200)](this),this[_0x3873ee(0x1df)](_0x80cd)[_0x3873ee(0x1d9)](()=>{const _0x33e7c9=_0x3873ee;for(const _0x2c1ee8 of _0x80cd){_0x42ca25[_0x33e7c9(0x1da)](_0x2c1ee8)[_0x33e7c9(0x20e)]=!0x0;}})));}async[_0x379e7c(0x1e4)](){const _0x5121b5=_0x379e7c,_0x2b9da5=this[_0x5121b5(0x1fb)][_0x5121b5(0x1f0)][_0x5121b5(0x1d8)](_0x5121b5(0x1f6)),{connection:_0x32cad1}=this[_0x5121b5(0x1fb)][_0x5121b5(0x1f0)][_0x5121b5(0x1d8)](_0x4c1e4a),_0x5d1c89=await this[_0x5121b5(0x1ea)][_0x5121b5(0x1f1)](_0x32cad1);await this[_0x5121b5(0x1df)](_0x5d1c89);for(const {suggestionData:_0x437669,resolve:_0x36e325}of this[_0x5121b5(0x1e7)][_0x5121b5(0x1f9)]()){let _0x89a298=_0x5d1c89[_0x5121b5(0x1f5)](_0x3c19df=>_0x3c19df['id']===_0x437669['id']);_0x89a298||(_0x89a298=await this[_0x5121b5(0x1ea)][_0x5121b5(0x1f7)](_0x437669['id'],_0x437669[_0x5121b5(0x205)],_0x437669[_0x5121b5(0x1d2)],_0x437669[_0x5121b5(0x1fd)])),_0x36e325(_0x89a298);}for(const _0xa06adb of _0x5d1c89)_0x2b9da5[_0x5121b5(0x1f8)](_0xa06adb['id'])||_0x2b9da5[_0x5121b5(0x1da)](_0xa06adb);}async[_0x379e7c(0x1d1)](){const _0x93e52=_0x379e7c;this[_0x93e52(0x1ea)][_0x93e52(0x1fa)]||await new Promise(_0x374c50=>{const _0x2708bd=_0x93e52;this[_0x2708bd(0x1de)](this[_0x2708bd(0x1ea)],_0x2708bd(0x206),_0x303bdd=>{const _0x8ae564=_0x2708bd;_0x303bdd[_0x8ae564(0x1e9)](),_0x374c50();});});}async[_0x379e7c(0x1df)](_0x57ab2d){const _0x3185bd=_0x379e7c,_0x41f319=this[_0x3185bd(0x1fb)][_0x3185bd(0x1f0)][_0x3185bd(0x1d8)](_0x4af37d),{connection:_0x146237}=this[_0x3185bd(0x1fb)][_0x3185bd(0x1f0)][_0x3185bd(0x1d8)](_0x4c1e4a),_0x542080=new Set();for(const {authorId:_0x544900}of _0x57ab2d)_0x41f319[_0x3185bd(0x20a)](_0x544900)||_0x542080[_0x3185bd(0x1f7)](_0x544900);if(0x0===_0x542080[_0x3185bd(0x20d)])return;const _0x4d6f09=await _0x769a18[_0x3185bd(0x1dd)](_0x146237,Array[_0x3185bd(0x1ed)](_0x542080));for(const _0x19bd47 of _0x4d6f09)_0x41f319[_0x3185bd(0x20a)](_0x19bd47['id'])||_0x41f319[_0x3185bd(0x1fe)](_0x19bd47);}}function k(_0x52acdb){if(et(_0x52acdb))return new Promise(()=>{});throw _0x52acdb;}function et(_0x263854){const _0x3a5ddc=_0x379e7c;return _0x263854[_0x3a5ddc(0x1f4)][_0x3a5ddc(0x1f3)](_0x3a5ddc(0x1e3))||_0x263854[_0x3a5ddc(0x1f4)][_0x3a5ddc(0x1f3)](_0x3a5ddc(0x20c));}
23
+ function _0x1a8c(){const _0x796ee3=['startsWith','2892780eSvGxz','498764uBXZhA','collaboration.channelId','originalSuggestionId','reconnect','catch','message','type','1606905RQdexA','adapter','off','get','listenTo','_trackChangesService','editor','size','connection','isConnected','7023604KtCURa','isOfficialPlugin','getUser','9UcYhKp','addUser','open','addSuggestionData','TrackChangesService','requires','init','pluginName','getMany','cloud-services-internal-error:\x20Request\x20timeout.','getSuggestion','plugins','state','20sxODcJ','from','5641947afzgZx','connect','find','isPremiumPlugin','addToReconnectionStack','connected','_fetchMissingUsersForThreads','26071460MUOKth','update','then','cloud-services-internal-error:\x20Not\x20connected.','hasSuggestion','config','set','attributes','suggestionUpdated','_saved','_waitForServiceReady','88607yUTxac','TrackChangesEditing','_bufferedRequests','add','CloudServicesTrackChangesAdapter','values','data','delete','8kYtNcE','11jqewhv'];_0x1a8c=function(){return _0x796ee3;};return _0x1a8c();}const _0x500933=_0x165b;(function(_0x429fe1,_0x44c93b){const _0x3914ca=_0x165b,_0x1dc286=_0x429fe1();while(!![]){try{const _0x1c2b41=-parseInt(_0x3914ca(0xf6))/0x1*(parseInt(_0x3914ca(0xe2))/0x2)+parseInt(_0x3914ca(0x116))/0x3*(parseInt(_0x3914ca(0x102))/0x4)+-parseInt(_0x3914ca(0x109))/0x5+parseInt(_0x3914ca(0x101))/0x6+-parseInt(_0x3914ca(0x113))/0x7+-parseInt(_0x3914ca(0xfe))/0x8*(parseInt(_0x3914ca(0xe4))/0x9)+parseInt(_0x3914ca(0xeb))/0xa*(parseInt(_0x3914ca(0xff))/0xb);if(_0x1c2b41===_0x44c93b)break;else _0x1dc286['push'](_0x1dc286['shift']());}catch(_0x162d4f){_0x1dc286['push'](_0x1dc286['shift']());}}}(_0x1a8c,0x98beb));function _0x165b(_0x5286b9,_0x243ddb){const _0x1a8c15=_0x1a8c();return _0x165b=function(_0x165b49,_0x543526){_0x165b49=_0x165b49-0xe1;let _0x5f1666=_0x1a8c15[_0x165b49];return _0x5f1666;},_0x165b(_0x5286b9,_0x243ddb);}import{Plugin as _0x1ebf07}from'ckeditor5/src/core.js';import{User as _0x4a572a,TrackChangesService as _0x3c246c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x29e963}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x594401}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x13cdf9}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x1ebf07{static [_0x500933(0x11a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3c246c)());[_0x500933(0xf8)];[_0x500933(0x10e)];static get[_0x500933(0x11b)](){const _0x13d380=_0x500933;return[_0x594401,_0x13d380(0xf7),_0x29e963];}static get[_0x500933(0x11d)](){const _0x373b8c=_0x500933;return _0x373b8c(0xfa);}static get[_0x500933(0x114)](){return!0x0;}static get[_0x500933(0xe7)](){return!0x0;}constructor(_0x43fcfb){const _0x1039a4=_0x500933;super(_0x43fcfb);const _0x393f99=this[_0x1039a4(0x10f)][_0x1039a4(0xf0)][_0x1039a4(0x10c)](_0x1039a4(0x103));this[_0x1039a4(0xf8)]=new Map(),this[_0x1039a4(0x10e)]=new CloudServicesTrackChangesAdapter[(_0x1039a4(0x11a))](_0x393f99);}[_0x500933(0x11c)](){const _0x3a2e53=_0x500933,_0x1e6a05=this[_0x3a2e53(0x10f)][_0x3a2e53(0x121)][_0x3a2e53(0x10c)](_0x29e963),_0x40e0ca=this[_0x3a2e53(0x10f)][_0x3a2e53(0x121)][_0x3a2e53(0x10c)](_0x3a2e53(0xf7));return _0x40e0ca[_0x3a2e53(0x10a)]={'getSuggestion':async _0x178439=>{const _0x2bce05=_0x3a2e53;await this[_0x2bce05(0xf5)]();const _0x353431=await this[_0x2bce05(0x10e)][_0x2bce05(0x10c)](_0x178439)[_0x2bce05(0x106)](et);return await this[_0x2bce05(0xea)]([_0x353431]),_0x353431;},'addSuggestion':async({id:_0x5c9226,type:_0x56e3cc,data:_0x50dd27,originalSuggestionId:_0x1f6e15,attributes:_0x54d295})=>{const _0x50749a=_0x3a2e53;await this[_0x50749a(0xf5)]();const _0x53e48e={'id':_0x5c9226,'type':_0x56e3cc,'data':_0x50dd27,'originalSuggestionId':_0x1f6e15,'attributes':_0x54d295},_0x19925e=await this[_0x50749a(0x10e)][_0x50749a(0xf9)](_0x5c9226,_0x56e3cc,_0x50dd27,_0x1f6e15,_0x54d295)[_0x50749a(0x106)](_0xc6e6c4=>{if(I(_0xc6e6c4))return new Promise(_0x30078c=>{const _0x1d9939=_0x165b;this[_0x1d9939(0xf8)][_0x1d9939(0xf1)](_0x5c9226,{'resolve':_0x30078c,'suggestionData':_0x53e48e});});throw _0xc6e6c4;});return this[_0x50749a(0xf8)][_0x50749a(0xfd)](_0x5c9226),_0x19925e;},'updateSuggestion':async(_0x40b25f,_0x2321ed)=>{const _0x16c794=_0x3a2e53;if(await this[_0x16c794(0xf5)](),_0x16c794(0x118)!==_0x2321ed[_0x16c794(0xe1)])return this[_0x16c794(0x10e)][_0x16c794(0xec)](_0x40b25f,_0x2321ed)[_0x16c794(0x106)](et);}},this[_0x3a2e53(0x10d)](this[_0x3a2e53(0x10e)],_0x3a2e53(0xf3),(_0x1998c7,_0x3d9960)=>{const _0x401f5d=_0x3a2e53;_0x40e0ca[_0x401f5d(0xef)](_0x3d9960['id'])&&(_0x40e0ca[_0x401f5d(0x120)](_0x3d9960['id'])[_0x401f5d(0xf2)]=_0x3d9960[_0x401f5d(0xf2)]);}),this[_0x3a2e53(0x10e)][_0x3a2e53(0xe5)](_0x1e6a05[_0x3a2e53(0x111)])[_0x3a2e53(0xed)](_0x5bdff2=>(_0x1e6a05[_0x3a2e53(0xe8)](this),this[_0x3a2e53(0xea)](_0x5bdff2)[_0x3a2e53(0xed)](()=>{const _0x26dad3=_0x3a2e53;for(const _0x368b50 of _0x5bdff2){_0x40e0ca[_0x26dad3(0x119)](_0x368b50)[_0x26dad3(0xf4)]=!0x0;}})));}async[_0x500933(0x105)](){const _0x1dfef3=_0x500933,_0x281918=this[_0x1dfef3(0x10f)][_0x1dfef3(0x121)][_0x1dfef3(0x10c)](_0x1dfef3(0xf7)),{connection:_0x38949c}=this[_0x1dfef3(0x10f)][_0x1dfef3(0x121)][_0x1dfef3(0x10c)](_0x29e963),_0x9c18a4=await this[_0x1dfef3(0x10e)][_0x1dfef3(0xe5)](_0x38949c);await this[_0x1dfef3(0xea)](_0x9c18a4);for(const {suggestionData:_0x419b2d,resolve:_0x3332b3}of this[_0x1dfef3(0xf8)][_0x1dfef3(0xfb)]()){let _0x3f988d=_0x9c18a4[_0x1dfef3(0xe6)](_0x4d5c07=>_0x4d5c07['id']===_0x419b2d['id']);_0x3f988d||(_0x3f988d=await this[_0x1dfef3(0x10e)][_0x1dfef3(0xf9)](_0x419b2d['id'],_0x419b2d[_0x1dfef3(0x108)],_0x419b2d[_0x1dfef3(0xfc)],_0x419b2d[_0x1dfef3(0x104)])),_0x3332b3(_0x3f988d);}for(const _0x4563b0 of _0x9c18a4)_0x281918[_0x1dfef3(0xef)](_0x4563b0['id'])||_0x281918[_0x1dfef3(0x119)](_0x4563b0);}async[_0x500933(0xf5)](){const _0x4a457b=_0x500933;this[_0x4a457b(0x10e)][_0x4a457b(0x112)]||await new Promise(_0x243ab3=>{const _0x24c35a=_0x4a457b;this[_0x24c35a(0x10d)](this[_0x24c35a(0x10e)],_0x24c35a(0xe9),_0x59c005=>{const _0x17b4e3=_0x24c35a;_0x59c005[_0x17b4e3(0x10b)](),_0x243ab3();});});}async[_0x500933(0xea)](_0x38e119){const _0x1d0de5=_0x500933,_0x2e41c3=this[_0x1d0de5(0x10f)][_0x1d0de5(0x121)][_0x1d0de5(0x10c)](_0x13cdf9),{connection:_0x3fdcf6}=this[_0x1d0de5(0x10f)][_0x1d0de5(0x121)][_0x1d0de5(0x10c)](_0x29e963),_0x4f5b13=new Set();for(const {authorId:_0x3cbec7}of _0x38e119)_0x2e41c3[_0x1d0de5(0x115)](_0x3cbec7)||_0x4f5b13[_0x1d0de5(0xf9)](_0x3cbec7);if(0x0===_0x4f5b13[_0x1d0de5(0x110)])return;const _0x5ae3fb=await _0x4a572a[_0x1d0de5(0x11e)](_0x3fdcf6,Array[_0x1d0de5(0xe3)](_0x4f5b13));for(const _0x31f7b4 of _0x5ae3fb)_0x2e41c3[_0x1d0de5(0x115)](_0x31f7b4['id'])||_0x2e41c3[_0x1d0de5(0x117)](_0x31f7b4);}}function et(_0x4d0c6c){if(I(_0x4d0c6c))return new Promise(()=>{});throw _0x4d0c6c;}function I(_0x250341){const _0x23b94d=_0x500933;return _0x250341[_0x23b94d(0x107)][_0x23b94d(0x100)](_0x23b94d(0xee))||_0x250341[_0x23b94d(0x107)][_0x23b94d(0x100)](_0x23b94d(0x11f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xbaa05e=_0x1a6e;function _0x1a6e(_0x58b9cc,_0x301b6d){var _0x10f588=_0x10f5();return _0x1a6e=function(_0x1a6eb1,_0x4771ac){_0x1a6eb1=_0x1a6eb1-0x145;var _0x323b23=_0x10f588[_0x1a6eb1];return _0x323b23;},_0x1a6e(_0x58b9cc,_0x301b6d);}(function(_0x659064,_0x3054d5){var _0x41382c=_0x1a6e,_0x139c66=_0x659064();while(!![]){try{var _0x2748f6=-parseInt(_0x41382c(0x14f))/0x1*(parseInt(_0x41382c(0x145))/0x2)+parseInt(_0x41382c(0x151))/0x3*(-parseInt(_0x41382c(0x14e))/0x4)+parseInt(_0x41382c(0x152))/0x5*(parseInt(_0x41382c(0x149))/0x6)+parseInt(_0x41382c(0x146))/0x7+parseInt(_0x41382c(0x154))/0x8+-parseInt(_0x41382c(0x14c))/0x9*(-parseInt(_0x41382c(0x153))/0xa)+-parseInt(_0x41382c(0x150))/0xb;if(_0x2748f6===_0x3054d5)break;else _0x139c66['push'](_0x139c66['shift']());}catch(_0x419d70){_0x139c66['push'](_0x139c66['shift']());}}}(_0x10f5,0xe23a2));import{Plugin as _0x546057}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0xdbdce9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x10f5(){var _0x2c3bb1=['75ZxaOAl','5ZSKwAs','5305790NfukbK','14590560ykhKlS','RealTimeCollaborativeTrackChanges','150882DnOaXh','7263333oNIkpM','isOfficialPlugin','requires','5129214tZRJst','pluginName','isPremiumPlugin','9jJfEor','TrackChanges','213240EWzGWO','17nQihlj','7755154MjPPuy'];_0x10f5=function(){return _0x2c3bb1;};return _0x10f5();}import{RealTimeCollaborativeComments as _0x437842}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x546057{static get[_0xbaa05e(0x148)](){var _0x1db829=_0xbaa05e;return[_0x437842,_0xdbdce9,_0x1db829(0x14d)];}static get[_0xbaa05e(0x14a)](){var _0x2b91ae=_0xbaa05e;return _0x2b91ae(0x155);}static get[_0xbaa05e(0x147)](){return!0x0;}static get[_0xbaa05e(0x14b)](){return!0x0;}}
23
+ function _0x3825(_0x3489ca,_0x4be256){var _0xbb8faa=_0xbb8f();return _0x3825=function(_0x38259b,_0x12058c){_0x38259b=_0x38259b-0x65;var _0x470667=_0xbb8faa[_0x38259b];return _0x470667;},_0x3825(_0x3489ca,_0x4be256);}function _0xbb8f(){var _0x4b6b7f=['196688ChIvhw','isOfficialPlugin','2707455ovZHXm','3RuEGsY','isPremiumPlugin','TrackChanges','requires','RealTimeCollaborativeTrackChanges','38802MMoNKB','1605048PlnfZc','7478910aFOPkq','pluginName','21vwoHYe','151500ianUHk','3720177iKxgKO','8feNceV'];_0xbb8f=function(){return _0x4b6b7f;};return _0xbb8f();}var _0x1d2cab=_0x3825;(function(_0x576c6a,_0x14a4d9){var _0x1adf41=_0x3825,_0x51fde1=_0x576c6a();while(!![]){try{var _0x36d032=-parseInt(_0x1adf41(0x66))/0x1*(parseInt(_0x1adf41(0x73))/0x2)+parseInt(_0x1adf41(0x65))/0x3+-parseInt(_0x1adf41(0x6c))/0x4+parseInt(_0x1adf41(0x70))/0x5+-parseInt(_0x1adf41(0x6b))/0x6*(parseInt(_0x1adf41(0x6f))/0x7)+-parseInt(_0x1adf41(0x72))/0x8*(parseInt(_0x1adf41(0x71))/0x9)+parseInt(_0x1adf41(0x6d))/0xa;if(_0x36d032===_0x14a4d9)break;else _0x51fde1['push'](_0x51fde1['shift']());}catch(_0x1e42df){_0x51fde1['push'](_0x51fde1['shift']());}}}(_0xbb8f,0x86acc));import{Plugin as _0x22af9c}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2a8dd4}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x44e3f9}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x22af9c{static get[_0x1d2cab(0x69)](){var _0x53e9dd=_0x1d2cab;return[_0x44e3f9,_0x2a8dd4,_0x53e9dd(0x68)];}static get[_0x1d2cab(0x6e)](){var _0x412521=_0x1d2cab;return _0x412521(0x6a);}static get[_0x1d2cab(0x74)](){return!0x0;}static get[_0x1d2cab(0x67)](){return!0x0;}}