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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,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 _0x3423ea=_0x14e0;(function(_0x3c45a2,_0x33e42d){const _0x9c63d9=_0x14e0,_0x54ed0b=_0x3c45a2();while(!![]){try{const _0x3fffa0=parseInt(_0x9c63d9(0x19e))/0x1*(parseInt(_0x9c63d9(0x1be))/0x2)+parseInt(_0x9c63d9(0x1a0))/0x3+-parseInt(_0x9c63d9(0x1de))/0x4*(-parseInt(_0x9c63d9(0x1c9))/0x5)+parseInt(_0x9c63d9(0x1d9))/0x6*(parseInt(_0x9c63d9(0x1d4))/0x7)+-parseInt(_0x9c63d9(0x1e6))/0x8*(-parseInt(_0x9c63d9(0x1b3))/0x9)+parseInt(_0x9c63d9(0x1b5))/0xa+-parseInt(_0x9c63d9(0x1b8))/0xb;if(_0x3fffa0===_0x33e42d)break;else _0x54ed0b['push'](_0x54ed0b['shift']());}catch(_0x47a6cf){_0x54ed0b['push'](_0x54ed0b['shift']());}}}(_0x54cd,0x43007));import{ContextPlugin as _0x150d06}from'ckeditor5/src/core.js';function _0x14e0(_0x18dd48,_0x2a3e0a){const _0x54cdc0=_0x54cd();return _0x14e0=function(_0x14e083,_0xb7a8ab){_0x14e083=_0x14e083-0x19e;let _0x42c2da=_0x54cdc0[_0x14e083];return _0x42c2da;},_0x14e0(_0x18dd48,_0x2a3e0a);}import{DomEmitterMixin as _0x3a8287,CKEditorError as _0x27167b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x50e9bd,WEB_SOCKET_GATEWAY_STATES as _0xb90548}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2e2c8b}from'ckeditor5/src/ui.js';function _0x54cd(){const _0x5da6b6=['online','token','isOfficialPlugin','_domEmitter','connect','addToReconnectionStack','websocketgateway-missing-websocket-url','40boaWAm','from','requires','initialReconnectionInterval','destroy','plugins','reconnect','cloudServices.connectionTimeout','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.','websocketgateway-invalid-plugin-interface','isInReconnectionStack','7GlHipz','stopListening','showWarning','all','config','1786722pTXpSK','listenTo','CONNECTING','cloudServices.requestTimeout','then','71668kNXGak','function','Connected\x20users\x20limit\x20exceeded','limitExceeded','webSocketUrl','catch','disconnect','change:me','24Sjwmyy','WebSocketGateway','has','227qHFxKK','code','1482591RvCvsf','websocketgateway-plugin-already-registered','init','DISCONNECTED','add','offline','constructor','isPremiumPlugin','_shouldPluginsReconnect','cloudservices-init','connected','_reconnect','real-time-collaboration','_isBrowserOffline','define','bind','websocketgateway-missing-token','connection','get','1471329lKuwIx','error','932900ZSrsEj','state','set','19531237ybnxFi','removeFromReconnectionStack','pluginName','context','CloudServices','delete','4678pColYu','_reconnectionStack','CONNECTED','cloudservices-reconnection-error'];_0x54cd=function(){return _0x5da6b6;};return _0x54cd();}export class WebSocketGateway extends _0x150d06{static [_0x3423ea(0x1e7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x50e9bd)());static [_0x3423ea(0x1cc)]=0x3e8;[_0x3423ea(0x1b1)];[_0x3423ea(0x1bf)];[_0x3423ea(0x1a8)];[_0x3423ea(0x1c5)];static get[_0x3423ea(0x1cb)](){const _0x314bf0=_0x3423ea;return[_0x314bf0(0x1bc),_0x2e2c8b];}static get[_0x3423ea(0x1ba)](){const _0x4a6e76=_0x3423ea;return _0x4a6e76(0x1e7);}static get[_0x3423ea(0x1c4)](){return!0x0;}static get[_0x3423ea(0x1a7)](){return!0x0;}constructor(_0x3f9149){const _0x6b2a56=_0x3423ea;super(_0x3f9149),this[_0x6b2a56(0x1b7)](_0x6b2a56(0x1b6),_0xb90548[_0x6b2a56(0x1c0)]),this[_0x6b2a56(0x1b7)](_0x6b2a56(0x1ad),!0x1),this[_0x6b2a56(0x1bf)]=new Set(),this[_0x6b2a56(0x1a8)]=!0x1,this[_0x6b2a56(0x1c5)]=new(_0x3a8287())();}[_0x3423ea(0x1a2)](){const _0x10ee0a=_0x3423ea,_0x151a9c=this[_0x10ee0a(0x1bb)],_0x33b1f1=_0x151a9c[_0x10ee0a(0x1ce)][_0x10ee0a(0x1b2)](_0x10ee0a(0x1bc)),_0x35f475=_0x151a9c[_0x10ee0a(0x1ce)][_0x10ee0a(0x1b2)](_0x2e2c8b);if(!_0x33b1f1[_0x10ee0a(0x1c3)])throw new _0x27167b(_0x10ee0a(0x1b0),this);if(!_0x33b1f1[_0x10ee0a(0x1e2)])throw new _0x27167b(_0x10ee0a(0x1c8),this);return this[_0x10ee0a(0x1c5)][_0x10ee0a(0x1da)](window,_0x10ee0a(0x1a5),()=>this[_0x10ee0a(0x1ad)]=!0x0),this[_0x10ee0a(0x1c5)][_0x10ee0a(0x1da)](window,_0x10ee0a(0x1c2),()=>this[_0x10ee0a(0x1ad)]=!0x1),this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1ae)](_0x10ee0a(0x1d0),0xa),this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1ae)](_0x10ee0a(0x1dc),0x14),WebSocketGateway[_0x10ee0a(0x1e7)][_0x10ee0a(0x1c6)](_0x33b1f1[_0x10ee0a(0x1c3)],_0x33b1f1[_0x10ee0a(0x1e2)],{'timeout':0x3e8*this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1b2)](_0x10ee0a(0x1d0)),'requestTimeout':0x3e8*this[_0x10ee0a(0x1bb)][_0x10ee0a(0x1d8)][_0x10ee0a(0x1b2)](_0x10ee0a(0x1dc))})[_0x10ee0a(0x1dd)](_0x42547f=>{const _0x2f418f=_0x10ee0a;if(this[_0x2f418f(0x1b1)]=_0x42547f,this[_0x2f418f(0x1af)](_0x2f418f(0x1b6))['to'](_0x42547f,_0x2f418f(0x1b6),this,_0x2f418f(0x1ad),(_0x1e74db,_0x257aa6)=>(_0x2f418f(0x1aa)!==_0x1e74db&&(this[_0x2f418f(0x1a8)]=!0x0),_0x257aa6||_0x1e74db!==_0xb90548[_0x2f418f(0x1c0)]?_0xb90548[_0x2f418f(0x1a3)]:this[_0x2f418f(0x1b6)]==_0xb90548[_0x2f418f(0x1a3)]&&this[_0x2f418f(0x1a8)]?(this[_0x2f418f(0x1a8)]=!0x1,this[_0x2f418f(0x1ab)](),_0xb90548[_0x2f418f(0x1db)]):_0xb90548[_0x2f418f(0x1c0)])),this[_0x2f418f(0x1b1)]['on'](_0x2f418f(0x1b4),(_0x1b0ed2,_0x48edc8)=>{const _0x4f53fc=_0x2f418f;if(_0x4f53fc(0x1e1)!==_0x48edc8[_0x4f53fc(0x19f)])throw console[_0x4f53fc(0x1b4)](_0x48edc8),new _0x27167b(_0x4f53fc(0x1a9),null,{'originalError':_0x48edc8});_0x35f475[_0x4f53fc(0x1d6)](_0x4f53fc(0x1d1),{'title':_0x4f53fc(0x1e0),'namespace':_0x4f53fc(0x1ac)});}),!_0x42547f['me'])return new Promise(_0x38bbda=>_0x42547f['on'](_0x2f418f(0x1e5),_0x38bbda));})[_0x10ee0a(0x1e3)](_0x2473b4=>{const _0x19d1ae=_0x10ee0a;throw console[_0x19d1ae(0x1b4)](_0x2473b4),new _0x27167b(_0x19d1ae(0x1a9),null,{'originalError':_0x2473b4});});}[_0x3423ea(0x1c7)](_0x27f3de){const _0x3a4c01=_0x3423ea;if(_0x3a4c01(0x1df)!=typeof _0x27f3de[_0x3a4c01(0x1cf)])throw new _0x27167b(_0x3a4c01(0x1d2),this);if(this[_0x3a4c01(0x1d3)](_0x27f3de))throw new _0x27167b(_0x3a4c01(0x1a1),this,{'name':_0x27f3de[_0x3a4c01(0x1a6)][_0x3a4c01(0x1ba)]});this[_0x3a4c01(0x1bf)][_0x3a4c01(0x1a4)](_0x27f3de);}[_0x3423ea(0x1b9)](_0x457a67){const _0x2ce15c=_0x3423ea;this[_0x2ce15c(0x1bf)][_0x2ce15c(0x1bd)](_0x457a67);}[_0x3423ea(0x1d3)](_0x2c45a0){const _0x14f099=_0x3423ea;return this[_0x14f099(0x1bf)][_0x14f099(0x1e8)](_0x2c45a0);}[_0x3423ea(0x1ab)](){const _0x29c192=_0x3423ea;return this[_0x29c192(0x1b1)][_0x29c192(0x1cf)]()[_0x29c192(0x1dd)](()=>Promise[_0x29c192(0x1d7)](Array[_0x29c192(0x1ca)](this[_0x29c192(0x1bf)],_0x37433f=>_0x37433f[_0x29c192(0x1cf)]())))[_0x29c192(0x1dd)](()=>this[_0x29c192(0x1b6)]=_0xb90548[_0x29c192(0x1c0)])[_0x29c192(0x1e3)](_0x16f3a8=>{const _0xc79094=_0x29c192;throw console[_0xc79094(0x1b4)](_0x16f3a8),new _0x27167b(_0xc79094(0x1c1),this[_0xc79094(0x1bb)]);});}[_0x3423ea(0x1e4)](){const _0xbee612=_0x3423ea;this[_0xbee612(0x1b1)]&&this[_0xbee612(0x1b1)][_0xbee612(0x1e4)](),this[_0xbee612(0x1b6)]=_0xb90548[_0xbee612(0x1a3)],this[_0xbee612(0x1c5)][_0xbee612(0x1d5)]();}[_0x3423ea(0x1cd)](){const _0x20bfc9=_0x3423ea;this[_0x20bfc9(0x1e4)](),super[_0x20bfc9(0x1cd)]();}}
@@ -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
+ const _0x4491e0=_0x5af0;(function(_0x1bc979,_0x31e156){const _0xaa64ce=_0x5af0,_0x22ae93=_0x1bc979();while(!![]){try{const _0x544543=-parseInt(_0xaa64ce(0xa0))/0x1+parseInt(_0xaa64ce(0xac))/0x2+parseInt(_0xaa64ce(0x9b))/0x3*(parseInt(_0xaa64ce(0xa4))/0x4)+parseInt(_0xaa64ce(0xa5))/0x5*(-parseInt(_0xaa64ce(0x74))/0x6)+-parseInt(_0xaa64ce(0x93))/0x7*(parseInt(_0xaa64ce(0x8b))/0x8)+parseInt(_0xaa64ce(0x81))/0x9*(parseInt(_0xaa64ce(0x97))/0xa)+parseInt(_0xaa64ce(0x8a))/0xb*(-parseInt(_0xaa64ce(0x84))/0xc);if(_0x544543===_0x31e156)break;else _0x22ae93['push'](_0x22ae93['shift']());}catch(_0x3aadbd){_0x22ae93['push'](_0x22ae93['shift']());}}}(_0x63d0,0xe9522));import{Plugin as _0x4f6cdc}from'ckeditor5/src/core.js';import{User as _0x2028a6,TrackChangesService as _0x14e8f6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3210c8}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4ccf9a}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3b9a6e}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x4f6cdc{static [_0x4491e0(0xa2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x14e8f6)());[_0x4491e0(0x91)];[_0x4491e0(0x85)];static get[_0x4491e0(0x94)](){const _0x5bd345=_0x4491e0;return[_0x4ccf9a,_0x5bd345(0xa3),_0x3210c8];}static get[_0x4491e0(0x6c)](){const _0x162411=_0x4491e0;return _0x162411(0x88);}static get[_0x4491e0(0x80)](){return!0x0;}static get[_0x4491e0(0x72)](){return!0x0;}constructor(_0x32ea8a){const _0x3df1e7=_0x4491e0;super(_0x32ea8a);const _0xd5ed67=this[_0x3df1e7(0x7f)][_0x3df1e7(0x6e)][_0x3df1e7(0x82)](_0x3df1e7(0x79));this[_0x3df1e7(0x91)]=new Map(),this[_0x3df1e7(0x85)]=new CloudServicesTrackChangesAdapter[(_0x3df1e7(0xa2))](_0xd5ed67);}[_0x4491e0(0x75)](){const _0x1f2431=_0x4491e0,_0x3534d9=this[_0x1f2431(0x7f)][_0x1f2431(0x9e)][_0x1f2431(0x82)](_0x3210c8),_0x31f01f=this[_0x1f2431(0x7f)][_0x1f2431(0x9e)][_0x1f2431(0x82)](_0x1f2431(0xa3));return _0x31f01f[_0x1f2431(0x8f)]={'getSuggestion':async _0x30964a=>{const _0x331f3a=_0x1f2431;await this[_0x331f3a(0x6d)]();const _0x3cae2c=await this[_0x331f3a(0x85)][_0x331f3a(0x82)](_0x30964a)[_0x331f3a(0x87)](B);return await this[_0x331f3a(0x83)]([_0x3cae2c]),_0x3cae2c;},'addSuggestion':async({id:_0x58784d,type:_0x1c76c0,data:_0x1b8ec8,originalSuggestionId:_0x512559,attributes:_0x5c5161})=>{const _0x989013=_0x1f2431;await this[_0x989013(0x6d)]();const _0x4bbfb0={'id':_0x58784d,'type':_0x1c76c0,'data':_0x1b8ec8,'originalSuggestionId':_0x512559,'attributes':_0x5c5161},_0x5a81f0=await this[_0x989013(0x85)][_0x989013(0xa6)](_0x58784d,_0x1c76c0,_0x1b8ec8,_0x512559,_0x5c5161)[_0x989013(0x87)](_0x20f4ed=>{if(I(_0x20f4ed))return new Promise(_0x55fd9b=>{const _0x3f6166=_0x5af0;this[_0x3f6166(0x91)][_0x3f6166(0xa7)](_0x58784d,{'resolve':_0x55fd9b,'suggestionData':_0x4bbfb0});});throw _0x20f4ed;});return this[_0x989013(0x91)][_0x989013(0xa1)](_0x58784d),_0x5a81f0;},'updateSuggestion':async(_0x396baa,_0x238324)=>{const _0x35d8d8=_0x1f2431;if(await this[_0x35d8d8(0x6d)](),_0x35d8d8(0x89)!==_0x238324[_0x35d8d8(0x7a)])return this[_0x35d8d8(0x85)][_0x35d8d8(0x71)](_0x396baa,_0x238324)[_0x35d8d8(0x87)](B);}},this[_0x1f2431(0x7b)](this[_0x1f2431(0x85)],_0x1f2431(0xa9),(_0x3fd0e5,_0x41c2fb)=>{const _0x4938fc=_0x1f2431;_0x31f01f[_0x4938fc(0x90)](_0x41c2fb['id'])&&(_0x31f01f[_0x4938fc(0x8d)](_0x41c2fb['id'])[_0x4938fc(0x9f)]=_0x41c2fb[_0x4938fc(0x9f)]);}),this[_0x1f2431(0x85)][_0x1f2431(0x92)](_0x3534d9[_0x1f2431(0x96)])[_0x1f2431(0xaa)](_0x57693c=>(_0x3534d9[_0x1f2431(0x76)](this),this[_0x1f2431(0x83)](_0x57693c)[_0x1f2431(0xaa)](()=>{const _0x429a51=_0x1f2431;for(const _0x3c4fc7 of _0x57693c){_0x31f01f[_0x429a51(0x70)](_0x3c4fc7)[_0x429a51(0x9c)]=!0x0;}})));}async[_0x4491e0(0x99)](){const _0x25e9fd=_0x4491e0,_0x16ce0f=this[_0x25e9fd(0x7f)][_0x25e9fd(0x9e)][_0x25e9fd(0x82)](_0x25e9fd(0xa3)),{connection:_0x35c05e}=this[_0x25e9fd(0x7f)][_0x25e9fd(0x9e)][_0x25e9fd(0x82)](_0x3210c8),_0x52222b=await this[_0x25e9fd(0x85)][_0x25e9fd(0x92)](_0x35c05e);await this[_0x25e9fd(0x83)](_0x52222b);for(const {suggestionData:_0xce8b5b,resolve:_0x3a61da}of this[_0x25e9fd(0x91)][_0x25e9fd(0x78)]()){let _0x162f45=_0x52222b[_0x25e9fd(0x7d)](_0x2a1a69=>_0x2a1a69['id']===_0xce8b5b['id']);_0x162f45||(_0x162f45=await this[_0x25e9fd(0x85)][_0x25e9fd(0xa6)](_0xce8b5b['id'],_0xce8b5b[_0x25e9fd(0x77)],_0xce8b5b[_0x25e9fd(0x9d)],_0xce8b5b[_0x25e9fd(0x9a)])),_0x3a61da(_0x162f45);}for(const _0x50a36b of _0x52222b)_0x16ce0f[_0x25e9fd(0x90)](_0x50a36b['id'])||_0x16ce0f[_0x25e9fd(0x70)](_0x50a36b);}async[_0x4491e0(0x6d)](){const _0x35b68e=_0x4491e0;this[_0x35b68e(0x85)][_0x35b68e(0x7e)]||await new Promise(_0x10347d=>{const _0x5b2110=_0x35b68e;this[_0x5b2110(0x7b)](this[_0x5b2110(0x85)],_0x5b2110(0x6b),_0xe82d61=>{const _0x3ea026=_0x5b2110;_0xe82d61[_0x3ea026(0xab)](),_0x10347d();});});}async[_0x4491e0(0x83)](_0x138a97){const _0x20c00f=_0x4491e0,_0x811e=this[_0x20c00f(0x7f)][_0x20c00f(0x9e)][_0x20c00f(0x82)](_0x3b9a6e),{connection:_0xb1289a}=this[_0x20c00f(0x7f)][_0x20c00f(0x9e)][_0x20c00f(0x82)](_0x3210c8),_0x4052d1=new Set();for(const {authorId:_0x29e2cf}of _0x138a97)_0x811e[_0x20c00f(0x98)](_0x29e2cf)||_0x4052d1[_0x20c00f(0xa6)](_0x29e2cf);if(0x0===_0x4052d1[_0x20c00f(0x6f)])return;const _0x3f3427=await _0x2028a6[_0x20c00f(0x73)](_0xb1289a,Array[_0x20c00f(0x86)](_0x4052d1));for(const _0x50e8d2 of _0x3f3427)_0x811e[_0x20c00f(0x98)](_0x50e8d2['id'])||_0x811e[_0x20c00f(0xa8)](_0x50e8d2);}}function B(_0x194e49){if(I(_0x194e49))return new Promise(()=>{});throw _0x194e49;}function _0x5af0(_0x2da785,_0x214a27){const _0x63d058=_0x63d0();return _0x5af0=function(_0x5af07a,_0x2563fe){_0x5af07a=_0x5af07a-0x6b;let _0x24e089=_0x63d058[_0x5af07a];return _0x24e089;},_0x5af0(_0x2da785,_0x214a27);}function _0x63d0(){const _0x4b2856=['_saved','data','plugins','attributes','173911hmTMEi','delete','TrackChangesService','TrackChangesEditing','1974636doVjIE','3268345jzoidR','add','set','addUser','suggestionUpdated','then','off','880574ilSEjr','connected','pluginName','_waitForServiceReady','config','size','addSuggestionData','update','isPremiumPlugin','getMany','6zDHZlr','init','addToReconnectionStack','type','values','collaboration.channelId','state','listenTo','cloud-services-internal-error:\x20Request\x20timeout.','find','isConnected','editor','isOfficialPlugin','994671ayRLMZ','get','_fetchMissingUsersForThreads','181428FnzpQq','_trackChangesService','from','catch','CloudServicesTrackChangesAdapter','open','110OoAkLR','2985016USlQXf','cloud-services-internal-error:\x20Not\x20connected.','getSuggestion','startsWith','adapter','hasSuggestion','_bufferedRequests','connect','35oWkiOX','requires','message','connection','170NRWCGH','getUser','reconnect','originalSuggestionId','9FWBubx'];_0x63d0=function(){return _0x4b2856;};return _0x63d0();}function I(_0x558d8b){const _0xcb7eb8=_0x4491e0;return _0x558d8b[_0xcb7eb8(0x95)][_0xcb7eb8(0x8e)](_0xcb7eb8(0x8c))||_0x558d8b[_0xcb7eb8(0x95)][_0xcb7eb8(0x8e)](_0xcb7eb8(0x7c));}
@@ -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;}}