@ckeditor/ckeditor5-real-time-collaboration 43.3.1 → 44.0.0-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 (175) hide show
  1. package/README.md +16 -6
  2. package/build/real-time-collaboration.js +1 -1
  3. package/dist/augmentation.d.ts +8 -1
  4. package/dist/index.js +6 -6
  5. package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
  6. package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
  7. package/dist/translations/af.js +1 -1
  8. package/dist/translations/af.umd.js +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/ast.js +1 -1
  12. package/dist/translations/ast.umd.js +1 -1
  13. package/dist/translations/az.js +1 -1
  14. package/dist/translations/az.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +9 -9
  152. package/src/augmentation.d.ts +8 -1
  153. package/src/common-translations.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/presencelist/presencelistui.js +1 -1
  156. package/src/presencelist/view/presencecounterview.js +1 -1
  157. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  158. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  159. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  160. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  161. package/src/presencelist/view/presencelistview.js +1 -1
  162. package/src/presencelist.js +1 -1
  163. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
  164. package/src/realtimecollaborativecomments.js +1 -1
  165. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
  166. package/src/realtimecollaborativeediting/sessions.js +1 -1
  167. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  168. package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
  169. package/src/realtimecollaborativeediting.js +1 -1
  170. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +12 -0
  171. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
  172. package/src/realtimecollaborativerevisionhistory.js +1 -1
  173. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +12 -0
  174. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
  175. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10776e=_0x2bcf;(function(_0x2dfe6a,_0xa8434a){const _0x57cb0b=_0x2bcf,_0x1e1a98=_0x2dfe6a();while(!![]){try{const _0x3df26d=-parseInt(_0x57cb0b(0x1f0))/0x1*(parseInt(_0x57cb0b(0x216))/0x2)+parseInt(_0x57cb0b(0x206))/0x3+-parseInt(_0x57cb0b(0x211))/0x4+parseInt(_0x57cb0b(0x1f7))/0x5*(parseInt(_0x57cb0b(0x212))/0x6)+-parseInt(_0x57cb0b(0x1e8))/0x7*(parseInt(_0x57cb0b(0x1eb))/0x8)+-parseInt(_0x57cb0b(0x200))/0x9+-parseInt(_0x57cb0b(0x218))/0xa*(-parseInt(_0x57cb0b(0x1d2))/0xb);if(_0x3df26d===_0xa8434a)break;else _0x1e1a98['push'](_0x1e1a98['shift']());}catch(_0xeedf51){_0x1e1a98['push'](_0x1e1a98['shift']());}}}(_0x2ecc,0xb7337));import{ContextPlugin as _0xa554ee}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x295950,CKEditorError as _0x4b9ad3}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1da529,WEB_SOCKET_GATEWAY_STATES as _0x553c28}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x49792a}from'ckeditor5/src/ui.js';class c extends _0xa554ee{static get[_0x10776e(0x219)](){const _0x252faf=_0x10776e;return[_0x252faf(0x202),_0x49792a];}static get[_0x10776e(0x1fc)](){const _0x26ffa9=_0x10776e;return _0x26ffa9(0x1e6);}static get[_0x10776e(0x1f2)](){return!0x0;}static get[_0x10776e(0x20f)](){return!0x0;}constructor(_0x9500ad){const _0x5db48b=_0x10776e;super(_0x9500ad),this[_0x5db48b(0x1d8)](_0x5db48b(0x201),_0x553c28[_0x5db48b(0x208)]),this[_0x5db48b(0x1d8)](_0x5db48b(0x1f1),!0x1),this[_0x5db48b(0x1fe)]=new Set(),this[_0x5db48b(0x213)]=!0x1,this[_0x5db48b(0x1de)]=Object[_0x5db48b(0x20c)](_0x295950);}[_0x10776e(0x210)](){const _0x469f58=_0x10776e,_0x742991=this[_0x469f58(0x21b)],_0x1a0e78=_0x742991[_0x469f58(0x1f3)][_0x469f58(0x1e2)](_0x469f58(0x202)),_0x5e8f4f=_0x742991[_0x469f58(0x1f3)][_0x469f58(0x1e2)](_0x49792a);if(!_0x1a0e78[_0x469f58(0x205)])throw new _0x4b9ad3(_0x469f58(0x207),this);if(!_0x1a0e78[_0x469f58(0x21a)])throw new _0x4b9ad3(_0x469f58(0x204),this);return this[_0x469f58(0x1de)][_0x469f58(0x1fb)](window,_0x469f58(0x1ed),()=>this[_0x469f58(0x1f1)]=!0x0),this[_0x469f58(0x1de)][_0x469f58(0x1fb)](window,_0x469f58(0x1e7),()=>this[_0x469f58(0x1f1)]=!0x1),this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e1)](_0x469f58(0x20b),0xa),this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e1)](_0x469f58(0x214),0x14),c[_0x469f58(0x1e6)][_0x469f58(0x1ee)](_0x1a0e78[_0x469f58(0x205)],_0x1a0e78[_0x469f58(0x21a)],{'timeout':0x3e8*this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e2)](_0x469f58(0x20b)),'requestTimeout':0x3e8*this[_0x469f58(0x21b)][_0x469f58(0x20e)][_0x469f58(0x1e2)](_0x469f58(0x214))})[_0x469f58(0x21c)](_0x6acbef=>{const _0x29301c=_0x469f58;if(this[_0x29301c(0x1dd)]=_0x6acbef,this[_0x29301c(0x1e3)](_0x29301c(0x201))['to'](_0x6acbef,_0x29301c(0x201),this,_0x29301c(0x1f1),(_0x531c30,_0xa75a35)=>(_0x29301c(0x1f5)!==_0x531c30&&(this[_0x29301c(0x213)]=!0x0),_0xa75a35||_0x531c30!==_0x553c28[_0x29301c(0x208)]?_0x553c28[_0x29301c(0x1e9)]:this[_0x29301c(0x201)]==_0x553c28[_0x29301c(0x1e9)]&&this[_0x29301c(0x213)]?(this[_0x29301c(0x213)]=!0x1,this[_0x29301c(0x1ef)](),_0x553c28[_0x29301c(0x1fd)]):_0x553c28[_0x29301c(0x208)])),this[_0x29301c(0x1dd)]['on'](_0x29301c(0x1d3),(_0x14441f,_0x256401)=>{const _0x10a5fd=_0x29301c;if(_0x10a5fd(0x215)!==_0x256401[_0x10a5fd(0x1f9)])throw console[_0x10a5fd(0x1d3)](_0x256401),new _0x4b9ad3(_0x10a5fd(0x217),null,{'originalError':_0x256401});_0x5e8f4f[_0x10a5fd(0x209)](_0x10a5fd(0x1dc),{'title':_0x10a5fd(0x21d),'namespace':_0x10a5fd(0x1e5)});}),!_0x6acbef['me'])return new Promise(_0x4f0a41=>_0x6acbef['on'](_0x29301c(0x20d),_0x4f0a41));})[_0x469f58(0x1ff)](_0x576f29=>{const _0x2c5c7c=_0x469f58;throw console[_0x2c5c7c(0x1d3)](_0x576f29),new _0x4b9ad3(_0x2c5c7c(0x217),null,{'originalError':_0x576f29});});}[_0x10776e(0x1db)](_0x1f168a){const _0x3575bf=_0x10776e;if(_0x3575bf(0x1f6)!=typeof _0x1f168a[_0x3575bf(0x1e0)])throw new _0x4b9ad3(_0x3575bf(0x1df),this);if(this[_0x3575bf(0x1da)](_0x1f168a))throw new _0x4b9ad3(_0x3575bf(0x1d4),this,{'name':_0x1f168a[_0x3575bf(0x1d7)][_0x3575bf(0x1fc)]});this[_0x3575bf(0x1fe)][_0x3575bf(0x1d6)](_0x1f168a);}[_0x10776e(0x20a)](_0x329074){const _0x5b14b7=_0x10776e;this[_0x5b14b7(0x1fe)][_0x5b14b7(0x203)](_0x329074);}[_0x10776e(0x1da)](_0x2957cb){const _0x2f025b=_0x10776e;return this[_0x2f025b(0x1fe)][_0x2f025b(0x1fa)](_0x2957cb);}[_0x10776e(0x1ef)](){const _0x4345d3=_0x10776e;return this[_0x4345d3(0x1dd)][_0x4345d3(0x1e0)]()[_0x4345d3(0x21c)](()=>Promise[_0x4345d3(0x1ea)](Array[_0x4345d3(0x1e4)](this[_0x4345d3(0x1fe)],_0x4fb607=>_0x4fb607[_0x4345d3(0x1e0)]())))[_0x4345d3(0x21c)](()=>this[_0x4345d3(0x201)]=_0x553c28[_0x4345d3(0x208)])[_0x4345d3(0x1ff)](_0x5da479=>{const _0x1cce57=_0x4345d3;throw console[_0x1cce57(0x1d3)](_0x5da479),new _0x4b9ad3(_0x1cce57(0x1d5),this[_0x1cce57(0x21b)]);});}[_0x10776e(0x1f4)](){const _0x389d9e=_0x10776e;this[_0x389d9e(0x1dd)]&&this[_0x389d9e(0x1dd)][_0x389d9e(0x1f8)](),this[_0x389d9e(0x201)]=_0x553c28[_0x389d9e(0x1e9)],this[_0x389d9e(0x1de)][_0x389d9e(0x1d9)](),super[_0x389d9e(0x1f4)]();}}function _0x2bcf(_0x9d7d9d,_0xa9893){const _0x2ecc6c=_0x2ecc();return _0x2bcf=function(_0x2bcf98,_0xa59dc1){_0x2bcf98=_0x2bcf98-0x1d2;let _0x77e0fc=_0x2ecc6c[_0x2bcf98];return _0x77e0fc;},_0x2bcf(_0x9d7d9d,_0xa9893);}c[_0x10776e(0x1e6)]=_0x1da529,c[_0x10776e(0x1ec)]=0x3e8;export default c;function _0x2ecc(){const _0x39f477=['catch','11743875FXEMgi','state','CloudServices','delete','websocketgateway-missing-websocket-url','token','1535778IDMQYE','websocketgateway-missing-token','CONNECTED','showWarning','removeFromReconnectionStack','cloudServices.connectionTimeout','create','change:me','config','isPremiumPlugin','init','4412896PHFYDM','214620IPBnNH','_shouldPluginsReconnect','cloudServices.requestTimeout','limitExceeded','2ZrFXeE','cloudservices-init','20gKoSyy','requires','webSocketUrl','context','then','Connected\x20users\x20limit\x20exceeded','16097026CQoLif','error','websocketgateway-plugin-already-registered','cloudservices-reconnection-error','add','constructor','set','stopListening','isInReconnectionStack','addToReconnectionStack','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.','connection','_domEmitter','websocketgateway-invalid-plugin-interface','reconnect','define','get','bind','from','real-time-collaboration','WebSocketGateway','online','4137aoYytK','DISCONNECTED','all','568oaOBUR','initialReconnectionInterval','offline','connect','_reconnect','560137jLdOAh','_isBrowserOffline','isOfficialPlugin','plugins','destroy','connected','function','45VettcZ','disconnect','code','has','listenTo','pluginName','CONNECTING','_reconnectionStack'];_0x2ecc=function(){return _0x39f477;};return _0x2ecc();}
23
+ const _0x5bab29=_0x34cf;(function(_0xd86d3a,_0x1b366e){const _0x183347=_0x34cf,_0x22aa9b=_0xd86d3a();while(!![]){try{const _0x3c52b8=-parseInt(_0x183347(0x20c))/0x1*(parseInt(_0x183347(0x208))/0x2)+-parseInt(_0x183347(0x20a))/0x3+parseInt(_0x183347(0x218))/0x4+parseInt(_0x183347(0x20d))/0x5+parseInt(_0x183347(0x1f2))/0x6*(-parseInt(_0x183347(0x220))/0x7)+-parseInt(_0x183347(0x1e3))/0x8*(parseInt(_0x183347(0x1e9))/0x9)+parseInt(_0x183347(0x1df))/0xa;if(_0x3c52b8===_0x1b366e)break;else _0x22aa9b['push'](_0x22aa9b['shift']());}catch(_0x55549c){_0x22aa9b['push'](_0x22aa9b['shift']());}}}(_0x1217,0x38b11));import{ContextPlugin as _0x38ebdb}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x29f8b5,CKEditorError as _0x1a02e7}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x46217f,WEB_SOCKET_GATEWAY_STATES as _0x36ebc3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x843f61}from'ckeditor5/src/ui.js';class c extends _0x38ebdb{static get[_0x5bab29(0x1e4)](){const _0x5141d1=_0x5bab29;return[_0x5141d1(0x21b),_0x843f61];}static get[_0x5bab29(0x1ee)](){const _0x1efcad=_0x5bab29;return _0x1efcad(0x1eb);}static get[_0x5bab29(0x1fd)](){return!0x0;}static get[_0x5bab29(0x1e8)](){return!0x0;}constructor(_0x5514c6){const _0x1c49b2=_0x5bab29;super(_0x5514c6),this[_0x1c49b2(0x216)](_0x1c49b2(0x1ed),_0x36ebc3[_0x1c49b2(0x213)]),this[_0x1c49b2(0x216)](_0x1c49b2(0x1f1),!0x1),this[_0x1c49b2(0x200)]=new Set(),this[_0x1c49b2(0x21c)]=!0x1,this[_0x1c49b2(0x202)]=Object[_0x1c49b2(0x1e6)](_0x29f8b5);}[_0x5bab29(0x210)](){const _0x3fd961=_0x5bab29,_0x461aa9=this[_0x3fd961(0x1f7)],_0x1c7792=_0x461aa9[_0x3fd961(0x203)][_0x3fd961(0x228)](_0x3fd961(0x21b)),_0x447322=_0x461aa9[_0x3fd961(0x203)][_0x3fd961(0x228)](_0x843f61);if(!_0x1c7792[_0x3fd961(0x1f6)])throw new _0x1a02e7(_0x3fd961(0x1f0),this);if(!_0x1c7792[_0x3fd961(0x1f4)])throw new _0x1a02e7(_0x3fd961(0x1fa),this);return this[_0x3fd961(0x202)][_0x3fd961(0x1e1)](window,_0x3fd961(0x222),()=>this[_0x3fd961(0x1f1)]=!0x0),this[_0x3fd961(0x202)][_0x3fd961(0x1e1)](window,_0x3fd961(0x1f3),()=>this[_0x3fd961(0x1f1)]=!0x1),this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x1ec)](_0x3fd961(0x227),0xa),this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x1ec)](_0x3fd961(0x229),0x14),c[_0x3fd961(0x1eb)][_0x3fd961(0x20e)](_0x1c7792[_0x3fd961(0x1f6)],_0x1c7792[_0x3fd961(0x1f4)],{'timeout':0x3e8*this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x228)](_0x3fd961(0x227)),'requestTimeout':0x3e8*this[_0x3fd961(0x1f7)][_0x3fd961(0x21d)][_0x3fd961(0x228)](_0x3fd961(0x229))})[_0x3fd961(0x1ff)](_0x322141=>{const _0x1b6025=_0x3fd961;if(this[_0x1b6025(0x217)]=_0x322141,this[_0x1b6025(0x1f5)](_0x1b6025(0x1ed))['to'](_0x322141,_0x1b6025(0x1ed),this,_0x1b6025(0x1f1),(_0x334179,_0x5c2f93)=>(_0x1b6025(0x21a)!==_0x334179&&(this[_0x1b6025(0x21c)]=!0x0),_0x5c2f93||_0x334179!==_0x36ebc3[_0x1b6025(0x213)]?_0x36ebc3[_0x1b6025(0x212)]:this[_0x1b6025(0x1ed)]==_0x36ebc3[_0x1b6025(0x212)]&&this[_0x1b6025(0x21c)]?(this[_0x1b6025(0x21c)]=!0x1,this[_0x1b6025(0x1e5)](),_0x36ebc3[_0x1b6025(0x1e2)]):_0x36ebc3[_0x1b6025(0x213)])),this[_0x1b6025(0x217)]['on'](_0x1b6025(0x1f9),(_0x323896,_0x5ed609)=>{const _0x258343=_0x1b6025;if(_0x258343(0x201)!==_0x5ed609[_0x258343(0x206)])throw console[_0x258343(0x1f9)](_0x5ed609),new _0x1a02e7(_0x258343(0x221),null,{'originalError':_0x5ed609});_0x447322[_0x258343(0x226)](_0x258343(0x1fb),{'title':_0x258343(0x21e),'namespace':_0x258343(0x214)});}),!_0x322141['me'])return new Promise(_0x2c6b10=>_0x322141['on'](_0x1b6025(0x1fc),_0x2c6b10));})[_0x3fd961(0x1ef)](_0x44048a=>{const _0x2551ac=_0x3fd961;throw console[_0x2551ac(0x1f9)](_0x44048a),new _0x1a02e7(_0x2551ac(0x221),null,{'originalError':_0x44048a});});}[_0x5bab29(0x20f)](_0x304364){const _0x2bceed=_0x5bab29;if(_0x2bceed(0x20b)!=typeof _0x304364[_0x2bceed(0x224)])throw new _0x1a02e7(_0x2bceed(0x1ea),this);if(this[_0x2bceed(0x1f8)](_0x304364))throw new _0x1a02e7(_0x2bceed(0x211),this,{'name':_0x304364[_0x2bceed(0x215)][_0x2bceed(0x1ee)]});this[_0x2bceed(0x200)][_0x2bceed(0x1e7)](_0x304364);}[_0x5bab29(0x1fe)](_0x5e1924){const _0x477663=_0x5bab29;this[_0x477663(0x200)][_0x477663(0x225)](_0x5e1924);}[_0x5bab29(0x1f8)](_0x1b18a1){const _0x1ec48a=_0x5bab29;return this[_0x1ec48a(0x200)][_0x1ec48a(0x204)](_0x1b18a1);}[_0x5bab29(0x1e5)](){const _0x401a7d=_0x5bab29;return this[_0x401a7d(0x217)][_0x401a7d(0x224)]()[_0x401a7d(0x1ff)](()=>Promise[_0x401a7d(0x223)](Array[_0x401a7d(0x205)](this[_0x401a7d(0x200)],_0x3ed671=>_0x3ed671[_0x401a7d(0x224)]())))[_0x401a7d(0x1ff)](()=>this[_0x401a7d(0x1ed)]=_0x36ebc3[_0x401a7d(0x213)])[_0x401a7d(0x1ef)](_0x2f4941=>{const _0x29cfa7=_0x401a7d;throw console[_0x29cfa7(0x1f9)](_0x2f4941),new _0x1a02e7(_0x29cfa7(0x1e0),this[_0x29cfa7(0x1f7)]);});}[_0x5bab29(0x207)](){const _0x25c37f=_0x5bab29;this[_0x25c37f(0x217)]&&this[_0x25c37f(0x217)][_0x25c37f(0x209)](),this[_0x25c37f(0x1ed)]=_0x36ebc3[_0x25c37f(0x212)],this[_0x25c37f(0x202)][_0x25c37f(0x21f)](),super[_0x25c37f(0x207)]();}}function _0x34cf(_0x5b3f34,_0x4d58d0){const _0x1217dc=_0x1217();return _0x34cf=function(_0x34cfae,_0x1878ce){_0x34cfae=_0x34cfae-0x1df;let _0x5c108a=_0x1217dc[_0x34cfae];return _0x5c108a;},_0x34cf(_0x5b3f34,_0x4d58d0);}c[_0x5bab29(0x1eb)]=_0x46217f,c[_0x5bab29(0x219)]=0x3e8;function _0x1217(){const _0x290a8e=['get','cloudServices.requestTimeout','9451230enBsOu','cloudservices-reconnection-error','listenTo','CONNECTING','54104WrPivm','requires','_reconnect','create','add','isPremiumPlugin','261dRqvzT','websocketgateway-invalid-plugin-interface','WebSocketGateway','define','state','pluginName','catch','websocketgateway-missing-token','_isBrowserOffline','754398hISotC','online','webSocketUrl','bind','token','context','isInReconnectionStack','error','websocketgateway-missing-websocket-url','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.','change:me','isOfficialPlugin','removeFromReconnectionStack','then','_reconnectionStack','limitExceeded','_domEmitter','plugins','has','from','code','destroy','196ZtsoJN','disconnect','228753bERWCw','function','4282GCYpog','747255fphwHB','connect','addToReconnectionStack','init','websocketgateway-plugin-already-registered','DISCONNECTED','CONNECTED','real-time-collaboration','constructor','set','connection','827392zgaMee','initialReconnectionInterval','connected','CloudServices','_shouldPluginsReconnect','config','Connected\x20users\x20limit\x20exceeded','stopListening','21RgDsOP','cloudservices-init','offline','all','reconnect','delete','showWarning','cloudServices.connectionTimeout'];_0x1217=function(){return _0x290a8e;};return _0x1217();}export default c;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xbb8b7d=_0x2183;(function(_0x325373,_0x1fe139){var _0x2610dc=_0x2183,_0x26c5ec=_0x325373();while(!![]){try{var _0x3b73eb=-parseInt(_0x2610dc(0xc8))/0x1*(-parseInt(_0x2610dc(0xc0))/0x2)+-parseInt(_0x2610dc(0xcc))/0x3*(-parseInt(_0x2610dc(0xc7))/0x4)+parseInt(_0x2610dc(0xcb))/0x5*(parseInt(_0x2610dc(0xcd))/0x6)+parseInt(_0x2610dc(0xc6))/0x7*(parseInt(_0x2610dc(0xd0))/0x8)+-parseInt(_0x2610dc(0xc3))/0x9*(parseInt(_0x2610dc(0xc5))/0xa)+parseInt(_0x2610dc(0xca))/0xb+-parseInt(_0x2610dc(0xc4))/0xc;if(_0x3b73eb===_0x1fe139)break;else _0x26c5ec['push'](_0x26c5ec['shift']());}catch(_0x18f11c){_0x26c5ec['push'](_0x26c5ec['shift']());}}}(_0x58e5,0xd9322));function _0x2183(_0x5d037c,_0x1c2543){var _0x58e530=_0x58e5();return _0x2183=function(_0x218343,_0x803fe9){_0x218343=_0x218343-0xc0;var _0x268776=_0x58e530[_0x218343];return _0x268776;},_0x2183(_0x5d037c,_0x1c2543);}import{Plugin as _0x3801e0}from'ckeditor5/src/core.js';function _0x58e5(){var _0x5991f9=['45PXzmdO','110301HhGVZx','7086IUoMPI','isOfficialPlugin','isPremiumPlugin','8tCoQQc','64306OQKYQc','requires','pluginName','243bwhRyu','4471908UiimCy','640810MLlSQU','2558458fJqMZM','92JdaudY','47NekQwP','RealTimeCollaborativeEditing','2854775xiJnVp'];_0x58e5=function(){return _0x5991f9;};return _0x58e5();}import _0x5881ff from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x3801e0{static get[_0xbb8b7d(0xc1)](){return[_0x5881ff];}static get[_0xbb8b7d(0xc2)](){var _0xafd33b=_0xbb8b7d;return _0xafd33b(0xc9);}static get[_0xbb8b7d(0xce)](){return!0x0;}static get[_0xbb8b7d(0xcf)](){return!0x0;}}
23
+ function _0x5a8c(){var _0x27b1f8=['isPremiumPlugin','isOfficialPlugin','6616372dtuSzZ','RealTimeCollaborativeEditing','592497VkTlBd','31137BreLmF','539795JbEeuz','114YMLPIN','pluginName','requires','8243472CVMhAV','7324230HUJYEh','4869584OYQQgE'];_0x5a8c=function(){return _0x27b1f8;};return _0x5a8c();}function _0x33a2(_0xbf95ee,_0x5031c1){var _0x5a8c13=_0x5a8c();return _0x33a2=function(_0x33a23f,_0x599e65){_0x33a23f=_0x33a23f-0xb9;var _0x8265a7=_0x5a8c13[_0x33a23f];return _0x8265a7;},_0x33a2(_0xbf95ee,_0x5031c1);}var _0x1b0957=_0x33a2;(function(_0x24c368,_0x28e07){var _0x4530c6=_0x33a2,_0x46aa31=_0x24c368();while(!![]){try{var _0x2c834c=-parseInt(_0x4530c6(0xba))/0x1+-parseInt(_0x4530c6(0xbd))/0x2*(parseInt(_0x4530c6(0xbb))/0x3)+-parseInt(_0x4530c6(0xc2))/0x4+parseInt(_0x4530c6(0xbc))/0x5+parseInt(_0x4530c6(0xc1))/0x6+parseInt(_0x4530c6(0xc5))/0x7+parseInt(_0x4530c6(0xc0))/0x8;if(_0x2c834c===_0x28e07)break;else _0x46aa31['push'](_0x46aa31['shift']());}catch(_0x3b2f86){_0x46aa31['push'](_0x46aa31['shift']());}}}(_0x5a8c,0xdc68e));import{Plugin as _0x2027d8}from'ckeditor5/src/core.js';import _0x344ee9 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x2027d8{static get[_0x1b0957(0xbf)](){return[_0x344ee9];}static get[_0x1b0957(0xbe)](){var _0x29edf4=_0x1b0957;return _0x29edf4(0xb9);}static get[_0x1b0957(0xc4)](){return!0x0;}static get[_0x1b0957(0xc3)](){return!0x0;}}
@@ -21,6 +21,18 @@ export default class CloudServicesRevisionHistoryAdapter extends Plugin implemen
21
21
  * @inheritDoc
22
22
  */
23
23
  static get requires(): readonly [typeof WebSocketGateway, typeof RealTimeCollaborationClient, "RevisionTracker", typeof Sessions, typeof Users];
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get pluginName(): "CloudServicesRevisionHistoryAdapter";
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isOfficialPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get isPremiumPlugin(): true;
24
36
  /**
25
37
  * @inheritDoc
26
38
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a1a96=_0x4bc6;(function(_0x2955c3,_0x30f07a){const _0x550e3e=_0x4bc6,_0x323996=_0x2955c3();while(!![]){try{const _0x4d7b2b=-parseInt(_0x550e3e(0x23e))/0x1+parseInt(_0x550e3e(0x259))/0x2*(-parseInt(_0x550e3e(0x235))/0x3)+parseInt(_0x550e3e(0x1f4))/0x4*(-parseInt(_0x550e3e(0x21a))/0x5)+-parseInt(_0x550e3e(0x231))/0x6+parseInt(_0x550e3e(0x247))/0x7*(-parseInt(_0x550e3e(0x1fe))/0x8)+-parseInt(_0x550e3e(0x207))/0x9+parseInt(_0x550e3e(0x21d))/0xa;if(_0x4d7b2b===_0x30f07a)break;else _0x323996['push'](_0x323996['shift']());}catch(_0x44cd9a){_0x323996['push'](_0x323996['shift']());}}}(_0x68b1,0x79902));import{Plugin as _0x435042}from'ckeditor5/src/core.js';import{version as _0x2b01b7}from'ckeditor5/src/utils.js';function _0x4bc6(_0x3c8904,_0x3c6c2e){const _0x68b139=_0x68b1();return _0x4bc6=function(_0x4bc64a,_0x1252a1){_0x4bc64a=_0x4bc64a-0x1f0;let _0xdf4678=_0x68b139[_0x4bc64a];return _0xdf4678;},_0x4bc6(_0x3c8904,_0x3c6c2e);}import{Users as _0x45c0a0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1f5204 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x4c4b9b from'../realtimecollaborativeediting/websocketgateway.js';import _0x50b09a from'../realtimecollaborativeediting/sessions.js';function _0x68b1(){const _0x1ed261=['isEnabled','updateRevisions','sendBufferedUpdates','listenTo','112AElZzB','RevisionHistoryService','code','_revisions','currentRevision','map','sessionId','catch','_lastRequestId','4535136SBXZkB','_revisionHistoryService','change:_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','fromVersion','reverse','from','addUser','reconnect','_handleRevisionsUpdate','connection','editor','_fetchMissingUsers','remove','startsWith','size','length','_fixRevision','type','100QkLVGq','_revisionDataBuilder','buildRevisionData','36626370UnnmFv','has','keys','adapter','get','config','destroy','wrongRequestId','creatorId','cloud-services-internal-error:\x20Not\x20connected.','bind','_bufferUpdate','createdAt','cloudServices.bundleVersion','revisionsUpdated','_oldOffset','requires','authors','getRevision','_offset','4495206aDqMds','isBundleUploaded','connected','affectsData','234EHPeba','isConnected','then','connect','change:_isPendingUpdate','max','once','_isConnected','getMany','58208aQnAAD','_getLatestVersion','_update','getRevisions','_isPendingUpdate','marker','setRevisionData','_startingVersion','_revisionTracker','322294uBcyqd','init','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','data','add','baseVersion','toVersion','reInit','state','_handleReconnectionError','message','RevisionTracker','CONNECTED','authorsIds','_bufferedUpdates','repository','collaboration.channelId','_getLatestVersionFromServerOperations','16886xvFrRO','_createCurrentRevision','addRevisionData','_preventResendingRevisionData','plugins','getOperations','isEmptyCurrent','addToReconnectionStack','setSource','diffData','110052IyAeAB','serverHistory','getUser','400','off','_waitForServiceReady'];_0x68b1=function(){return _0x1ed261;};return _0x68b1();}import{EditorService as _0x51cefe,RevisionHistoryService as _0x5ebc8,User as _0x3e6860,WEB_SOCKET_GATEWAY_STATES as _0x1db8a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x435042{static get[_0x1a1a96(0x22d)](){const _0x5e4a0e=_0x1a1a96;return[_0x4c4b9b,_0x1f5204,_0x5e4a0e(0x252),_0x50b09a,_0x45c0a0];}constructor(_0x1ed304){const _0x14752b=_0x1a1a96;super(_0x1ed304);const _0x371fcc=this[_0x14752b(0x212)][_0x14752b(0x222)][_0x14752b(0x221)](_0x14752b(0x257));this[_0x14752b(0x206)]=null,this[_0x14752b(0x246)]=this[_0x14752b(0x212)][_0x14752b(0x25d)][_0x14752b(0x221)](_0x14752b(0x252)),this[_0x14752b(0x208)]=new u[(_0x14752b(0x1ff))](_0x371fcc);}async[_0x1a1a96(0x248)](){const _0x2b3709=_0x1a1a96,_0x264cc1=this[_0x2b3709(0x212)][_0x2b3709(0x25d)][_0x2b3709(0x221)](_0x1f5204),_0x1fece6=_0x264cc1[_0x2b3709(0x1f5)],_0x1fec5b=this[_0x2b3709(0x212)][_0x2b3709(0x25d)][_0x2b3709(0x221)](_0x4c4b9b);this[_0x2b3709(0x246)][_0x2b3709(0x1f2)]({'history':_0x1fece6,'getLatestVersion':()=>this[_0x2b3709(0x23f)](),'getCurrentRevisionId':()=>_0x264cc1[_0x2b3709(0x204)]});const _0x3010ae=this[_0x2b3709(0x212)][_0x2b3709(0x222)][_0x2b3709(0x221)](_0x2b3709(0x22a))||_0x2b01b7,_0x13bd70=await _0x51cefe[_0x2b3709(0x232)](_0x1fec5b[_0x2b3709(0x211)],_0x3010ae);this[_0x2b3709(0x246)][_0x2b3709(0x220)]={'getRevision':async({revisionId:_0xe030c0})=>(await this[_0x2b3709(0x1f9)](),await this[_0x2b3709(0x208)][_0x2b3709(0x22f)](_0xe030c0)),'updateRevisions':async _0xbb6f86=>{const _0x4bb23e=_0x2b3709;await this[_0x4bb23e(0x1f9)]();const _0x3158af=this[_0x4bb23e(0x246)][_0x4bb23e(0x202)];if(_0x13bd70&&0x1===_0xbb6f86[_0x4bb23e(0x217)]&&_0xbb6f86[0x0]['id']===_0x3158af['id'])return _0xbb6f86;for(const _0x195503 of _0xbb6f86)_0x195503['id']===_0x3158af['id']&&(_0x195503[_0x4bb23e(0x1f0)]=_0x195503[_0x4bb23e(0x20b)]===_0x195503[_0x4bb23e(0x24d)]);return this[_0x4bb23e(0x208)][_0x4bb23e(0x1fb)](_0xbb6f86,this[_0x4bb23e(0x206)])[_0x4bb23e(0x237)](_0x599a98=>(this[_0x4bb23e(0x206)]=_0x599a98,_0xbb6f86))[_0x4bb23e(0x205)](_0x91f01a=>{const _0x527e0b=_0x4bb23e;if(rt(_0x91f01a)||_0x527e0b(0x1f7)===_0x91f01a[_0x527e0b(0x200)]&&void 0x0!==_0x91f01a[_0x527e0b(0x24a)][_0x527e0b(0x224)]){for(const _0x13a082 of _0xbb6f86){!this[_0x527e0b(0x246)][_0x527e0b(0x256)][_0x527e0b(0x22f)](_0x13a082['id'])||this[_0x527e0b(0x246)][_0x527e0b(0x228)](_0x13a082['id'],_0x13a082,!0x1);}if(rt(_0x91f01a))throw _0x91f01a;return _0xbb6f86;}throw _0x91f01a;});}},this[_0x2b3709(0x1fd)](this[_0x2b3709(0x208)],_0x2b3709(0x22b),(_0x391b93,{revisionsData:_0x4b8171,requestId:_0x50c998})=>{const _0x8ce4ae=_0x2b3709;Math[_0x8ce4ae(0x23a)](..._0x4b8171[_0x8ce4ae(0x203)](_0x154107=>_0x154107[_0x8ce4ae(0x24d)]))>this[_0x8ce4ae(0x258)]()-0x1?this[_0x8ce4ae(0x23f)]()[_0x8ce4ae(0x237)](()=>{const _0x2b1034=_0x8ce4ae;this[_0x2b1034(0x210)](_0x4b8171,_0x50c998);}):this[_0x8ce4ae(0x210)](_0x4b8171,_0x50c998);});const {revisions:_0xb07ec9,requestId:_0x596287}=await this[_0x2b3709(0x208)][_0x2b3709(0x238)](_0x1fec5b[_0x2b3709(0x211)]);_0x1fec5b[_0x2b3709(0x1f1)](this),this[_0x2b3709(0x206)]=_0x596287,await this[_0x2b3709(0x213)](_0xb07ec9);for(const _0x25eaa5 of _0xb07ec9)this[_0x2b3709(0x246)][_0x2b3709(0x25b)](_0x25eaa5);this[_0x2b3709(0x1fd)](_0x264cc1,_0x2b3709(0x209),(_0xdd29e3,_0x24371d,_0x3502d7)=>{const _0x34e0ef=_0x2b3709;_0x3502d7&&(this[_0x34e0ef(0x22c)]=_0x264cc1[_0x34e0ef(0x230)],_0xdd29e3[_0x34e0ef(0x1f8)]());}),this[_0x2b3709(0x246)][_0x2b3709(0x227)](_0x2b3709(0x1fa))['to'](_0x1fec5b,_0x2b3709(0x24f),_0x372ec8=>_0x372ec8===_0x1db8a8[_0x2b3709(0x253)]);}async[_0x1a1a96(0x20f)](){const _0x1e9ef3=_0x1a1a96,_0xe3c5d9=this[_0x1e9ef3(0x212)][_0x1e9ef3(0x25d)][_0x1e9ef3(0x221)](_0x4c4b9b),_0x260453=this[_0x1e9ef3(0x212)][_0x1e9ef3(0x25d)][_0x1e9ef3(0x221)](_0x1f5204),_0x7c2363=async()=>{const _0x3c6b4c=_0x1e9ef3,_0x1012e1=this[_0x3c6b4c(0x246)][_0x3c6b4c(0x202)],_0x1bfc06=_0x1012e1['id'],_0x18caf5=_0x1bfc06!==_0x260453[_0x3c6b4c(0x204)];if(_0x18caf5){const _0xd7719b=_0x260453[_0x3c6b4c(0x230)]-this[_0x3c6b4c(0x22c)],_0x40872c=this[_0x3c6b4c(0x258)]();this[_0x3c6b4c(0x246)][_0x3c6b4c(0x21b)][_0x3c6b4c(0x24e)]();if(_0x1012e1[_0x3c6b4c(0x24d)]+_0xd7719b!==_0x40872c){const _0x37814c=_0x1012e1[_0x3c6b4c(0x20b)]+_0xd7719b,_0x2471cf=this[_0x3c6b4c(0x212)][_0x3c6b4c(0x25d)][_0x3c6b4c(0x221)](_0x45c0a0),_0x613492=this[_0x3c6b4c(0x246)][_0x3c6b4c(0x21c)]({'revision':_0x1012e1,'from':_0x37814c,'to':_0x40872c});_0x613492['id']=_0x1012e1['id'];const _0x5f553a=_0x613492[_0x3c6b4c(0x254)][_0x3c6b4c(0x203)](_0x2fd667=>_0x2471cf[_0x3c6b4c(0x1f6)](_0x2fd667));_0x1012e1[_0x3c6b4c(0x240)]({..._0x613492,'authors':_0x5f553a},!0x0),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x228)](_0x1012e1['id'],_0x613492,!0x0);}this[_0x3c6b4c(0x246)][_0x3c6b4c(0x245)]=_0x40872c,(_0x1012e1[_0x3c6b4c(0x24d)]===_0x1012e1[_0x3c6b4c(0x20b)]&&!this[_0x3c6b4c(0x246)][_0x3c6b4c(0x255)][_0x3c6b4c(0x21e)](_0x1bfc06)&&this[_0x3c6b4c(0x246)][_0x3c6b4c(0x256)][_0x3c6b4c(0x201)][_0x3c6b4c(0x214)](_0x1bfc06),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x25a)](_0x40872c));}const {revisions:_0x47f5bd,requestId:_0x273553}=await this[_0x3c6b4c(0x208)][_0x3c6b4c(0x20f)](_0xe3c5d9[_0x3c6b4c(0x211)],this[_0x3c6b4c(0x206)]);_0x18caf5&&_0x47f5bd[_0x3c6b4c(0x217)]>0x0?_0x260453[_0x3c6b4c(0x250)]():(await this[_0x3c6b4c(0x213)](_0x47f5bd),this[_0x3c6b4c(0x210)](_0x47f5bd,_0x273553),this[_0x3c6b4c(0x246)][_0x3c6b4c(0x1fc)]());};return _0x260453[_0x1e9ef3(0x23c)]?_0x7c2363():new Promise((_0x4959bd,_0x1d4f45)=>{const _0x56ad90=_0x1e9ef3;_0x260453[_0x56ad90(0x23b)](_0x56ad90(0x209),()=>{const _0x1d6dac=_0x56ad90;_0x7c2363()[_0x1d6dac(0x237)](_0x4959bd)[_0x1d6dac(0x205)](_0x1d4f45);});});}[_0x1a1a96(0x223)](){const _0x28c6a9=_0x1a1a96;super[_0x28c6a9(0x223)]();}async[_0x1a1a96(0x1f9)](){const _0x440053=_0x1a1a96;this[_0x440053(0x208)][_0x440053(0x236)]||await new Promise(_0x1108eb=>{const _0x199d6a=_0x440053;this[_0x199d6a(0x1fd)](this[_0x199d6a(0x208)],_0x199d6a(0x233),_0x46f29d=>{const _0xdcb0bc=_0x199d6a;_0x46f29d[_0xdcb0bc(0x1f8)](),_0x1108eb();});});}[_0x1a1a96(0x258)](){const _0x55b188=_0x1a1a96,_0x470c09=this[_0x55b188(0x212)][_0x55b188(0x25d)][_0x55b188(0x221)](_0x1f5204)[_0x55b188(0x1f5)][_0x55b188(0x25e)]()[_0x55b188(0x20c)]();for(const _0x4295e4 of _0x470c09)if(_0x55b188(0x243)!==_0x4295e4[_0x55b188(0x219)]||_0x4295e4[_0x55b188(0x234)])return _0x4295e4[_0x55b188(0x24c)]+0x1;}[_0x1a1a96(0x23f)](){const _0x96f0d5=_0x1a1a96,_0x4b484e=this[_0x96f0d5(0x212)][_0x96f0d5(0x25d)][_0x96f0d5(0x221)](_0x1f5204);return new Promise(_0x43fe9f=>{const _0x31ddc6=_0x96f0d5;_0x4b484e[_0x31ddc6(0x242)]?_0x4b484e[_0x31ddc6(0x23b)](_0x31ddc6(0x239),()=>{const _0x1c6f5f=_0x31ddc6;_0x43fe9f(this[_0x1c6f5f(0x258)]());}):_0x43fe9f(this[_0x31ddc6(0x258)]());});}[_0x1a1a96(0x210)](_0x59c335,_0x110aa9){const _0x2beff6=_0x1a1a96,_0x210361=this[_0x2beff6(0x246)][_0x2beff6(0x256)];this[_0x2beff6(0x206)]=_0x110aa9;for(const _0x444963 of _0x59c335){const _0x3403ad=_0x210361[_0x2beff6(0x22f)](_0x444963['id']);if(_0x3403ad){if((_0x444963[_0x2beff6(0x20b)]||_0x444963[_0x2beff6(0x24d)])&&(_0x444963[_0x2beff6(0x1f3)]=null),_0x3403ad===this[_0x2beff6(0x246)][_0x2beff6(0x202)]){const _0x2cb0e3=Math[_0x2beff6(0x23a)](_0x3403ad[_0x2beff6(0x24d)],_0x444963[_0x2beff6(0x24d)]),_0x55fb42=Math[_0x2beff6(0x23a)](_0x3403ad[_0x2beff6(0x20b)],_0x444963[_0x2beff6(0x20b)]);let _0x2240c3;_0x3403ad[_0x2beff6(0x24d)]===_0x444963[_0x2beff6(0x24d)]&&_0x3403ad[_0x2beff6(0x20b)]===_0x444963[_0x2beff6(0x20b)]?(_0x2240c3=!0x0,this[_0x2beff6(0x25c)](_0x444963)):_0x444963[_0x2beff6(0x24d)]===_0x2cb0e3&&_0x444963[_0x2beff6(0x20b)]===_0x55fb42?_0x2240c3=!0x1:(_0x3403ad[_0x2beff6(0x24d)]===_0x2cb0e3&&_0x3403ad[_0x2beff6(0x20b)]===_0x55fb42||this[_0x2beff6(0x218)]({'revision':_0x3403ad,'from':_0x55fb42,'to':_0x2cb0e3}),_0x2240c3=!0x0),_0x2240c3&&(delete _0x444963[_0x2beff6(0x20b)],delete _0x444963[_0x2beff6(0x24d)],delete _0x444963[_0x2beff6(0x1f3)],delete _0x444963[_0x2beff6(0x229)],delete _0x444963[_0x2beff6(0x254)]);}this[_0x2beff6(0x246)][_0x2beff6(0x244)](_0x444963),this[_0x2beff6(0x25c)](_0x444963);}else this[_0x2beff6(0x246)][_0x2beff6(0x25b)](_0x444963);}const _0x1cba2c=_0x210361[_0x2beff6(0x241)]();_0x1cba2c[_0x2beff6(0x20c)]();for(let _0x28fc98=0x0;_0x28fc98<_0x1cba2c[_0x2beff6(0x217)]-0x1;_0x28fc98++){const _0x171fc1=_0x1cba2c[_0x28fc98],_0x3ced62=_0x1cba2c[_0x28fc98+0x1];if(_0x171fc1[_0x2beff6(0x20b)]<_0x3ced62[_0x2beff6(0x24d)]){const _0x57740a=_0x3ced62[_0x2beff6(0x24d)],_0x38f57d=Math[_0x2beff6(0x23a)](_0x57740a,_0x171fc1[_0x2beff6(0x24d)]);this[_0x2beff6(0x218)]({'revision':_0x171fc1,'from':_0x57740a,'to':_0x38f57d});}}}[_0x1a1a96(0x218)]({revision:_0x277f1d,from:_0x2c5a53,to:_0x20f50d}={}){const _0x54b707=_0x1a1a96,_0x44f730=this[_0x54b707(0x212)][_0x54b707(0x25d)][_0x54b707(0x221)](_0x45c0a0),_0x18ed9f=this[_0x54b707(0x246)][_0x54b707(0x21c)]({'revision':_0x277f1d,'from':_0x2c5a53,'to':_0x20f50d});_0x18ed9f[_0x54b707(0x22e)]=_0x18ed9f[_0x54b707(0x254)][_0x54b707(0x203)](_0x4cfaf9=>_0x44f730[_0x54b707(0x1f6)](_0x4cfaf9)),_0x277f1d[_0x54b707(0x240)](_0x18ed9f);}[_0x1a1a96(0x25c)](_0x4abf8a){const _0x10d3b5=_0x1a1a96,_0x30f19e={};_0x30f19e['id']=_0x4abf8a['id'];for(const _0x41962b of Object[_0x10d3b5(0x21f)](_0x4abf8a))'id'!==_0x41962b&&(_0x30f19e[_0x41962b]=void 0x0);this[_0x10d3b5(0x246)][_0x10d3b5(0x228)](_0x30f19e['id'],_0x30f19e,!0x0);}async[_0x1a1a96(0x213)](_0x5142e8){const _0x3bb78f=_0x1a1a96,_0x5f3b5f=this[_0x3bb78f(0x212)][_0x3bb78f(0x25d)][_0x3bb78f(0x221)](_0x45c0a0),{connection:_0x2164f2}=this[_0x3bb78f(0x212)][_0x3bb78f(0x25d)][_0x3bb78f(0x221)](_0x4c4b9b),_0x13c106=new Set();for(const _0xbcabac of _0x5142e8){for(const _0x30b6bd of _0xbcabac[_0x3bb78f(0x254)])_0x2d41e4(_0x30b6bd);_0xbcabac[_0x3bb78f(0x225)]&&_0x2d41e4(_0xbcabac[_0x3bb78f(0x225)]);}if(0x0===_0x13c106[_0x3bb78f(0x216)])return;const _0x816081=await _0x3e6860[_0x3bb78f(0x23d)](_0x2164f2,Array[_0x3bb78f(0x20d)](_0x13c106));for(const _0x4407ca of _0x816081)_0x5f3b5f[_0x3bb78f(0x1f6)](_0x4407ca['id'])||_0x5f3b5f[_0x3bb78f(0x20e)](_0x4407ca);function _0x2d41e4(_0x2560e7){const _0x3e92a3=_0x3bb78f;_0x5f3b5f[_0x3e92a3(0x1f6)](_0x2560e7)||_0x13c106[_0x3e92a3(0x24b)](_0x2560e7);}}}u[_0x1a1a96(0x1ff)]=_0x5ebc8;export default u;function rt(_0x32a979){const _0x4413a3=_0x1a1a96;return _0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x249))||_0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x226))||_0x32a979[_0x4413a3(0x251)][_0x4413a3(0x215)](_0x4413a3(0x20a));}
23
+ const _0x2fbfcd=_0x1d13;(function(_0x4e91a5,_0x5b56f4){const _0x2dce78=_0x1d13,_0x19afc1=_0x4e91a5();while(!![]){try{const _0xf4bc76=parseInt(_0x2dce78(0x228))/0x1*(parseInt(_0x2dce78(0x221))/0x2)+parseInt(_0x2dce78(0x1d8))/0x3*(-parseInt(_0x2dce78(0x203))/0x4)+-parseInt(_0x2dce78(0x1d5))/0x5+-parseInt(_0x2dce78(0x1e8))/0x6+-parseInt(_0x2dce78(0x1ec))/0x7+-parseInt(_0x2dce78(0x1ff))/0x8+parseInt(_0x2dce78(0x219))/0x9;if(_0xf4bc76===_0x5b56f4)break;else _0x19afc1['push'](_0x19afc1['shift']());}catch(_0x19625b){_0x19afc1['push'](_0x19afc1['shift']());}}}(_0x2f89,0x78cf3));import{Plugin as _0x17e00b}from'ckeditor5/src/core.js';import{version as _0x53fe3a}from'ckeditor5/src/utils.js';import{Users as _0x4fce53}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1d13(_0x24716c,_0x466588){const _0x2f89cd=_0x2f89();return _0x1d13=function(_0x1d1342,_0x23af8d){_0x1d1342=_0x1d1342-0x1d4;let _0x424239=_0x2f89cd[_0x1d1342];return _0x424239;},_0x1d13(_0x24716c,_0x466588);}import _0x20bff0 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1dc1c5 from'../realtimecollaborativeediting/websocketgateway.js';import _0x269b1a from'../realtimecollaborativeediting/sessions.js';function _0x2f89(){const _0x1d2b27=['_getLatestVersionFromServerOperations','buildRevisionData','connect','_revisionHistoryService','has','authors','_lastRequestId','getMany','CONNECTED','repository','RevisionTracker','connected','revisionsUpdated','bind','28384002wihaJn','_handleReconnectionError','get','toVersion','reInit','400','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','227262OvksGY','cloud-services-internal-error:\x20Request\x20timeout.','keys','_handleRevisionsUpdate','addUser','fromVersion','change:_isConnected','3Ftwadr','reverse','requires','_preventResendingRevisionData','_revisions','from','remove','_update','cloudServices.bundleVersion','_startingVersion','max','_getLatestVersion','isPremiumPlugin','data','RevisionHistoryService','size','pluginName','diffData','getUser','setSource','editor','_bufferedUpdates','map','_offset','type','affectsData','then','code','marker','getRevision','init','2030115tIYJPS','wrongRequestId','serverHistory','312861OYsfmM','baseVersion','isEmptyCurrent','isOfficialPlugin','_isPendingUpdate','_isConnected','currentRevision','length','_revisionTracker','getRevisions','creatorId','getOperations','off','_fixRevision','startsWith','_bufferUpdate','5391504dfkVjm','CloudServicesRevisionHistoryAdapter','destroy','plugins','1582238VnZbNF','_revisionDataBuilder','addRevisionData','_oldOffset','_createCurrentRevision','updateRevisions','createdAt','isConnected','change:_isPendingUpdate','cloud-services-internal-error:\x20Not\x20connected.','authorsIds','once','addToReconnectionStack','collaboration.channelId','sessionId','reconnect','config','setRevisionData','isEnabled','6747784RFZtXj','message','listenTo','_waitForServiceReady','24VLktRv','sendBufferedUpdates','catch','adapter','state','isBundleUploaded','_fetchMissingUsers','connection'];_0x2f89=function(){return _0x1d2b27;};return _0x2f89();}import{EditorService as _0x57d327,RevisionHistoryService as _0x4cd824,User as _0x586c5a,WEB_SOCKET_GATEWAY_STATES as _0x32e26d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x17e00b{static get[_0x2fbfcd(0x22a)](){const _0x4586e3=_0x2fbfcd;return[_0x1dc1c5,_0x20bff0,_0x4586e3(0x215),_0x269b1a,_0x4fce53];}static get[_0x2fbfcd(0x238)](){const _0x34a273=_0x2fbfcd;return _0x34a273(0x1e9);}static get[_0x2fbfcd(0x1db)](){return!0x0;}static get[_0x2fbfcd(0x234)](){return!0x0;}constructor(_0x349547){const _0x2001d4=_0x2fbfcd;super(_0x349547);const _0x40f495=this[_0x2001d4(0x23c)][_0x2001d4(0x1fc)][_0x2001d4(0x21b)](_0x2001d4(0x1f9));this[_0x2001d4(0x211)]=null,this[_0x2001d4(0x1e0)]=this[_0x2001d4(0x23c)][_0x2001d4(0x1eb)][_0x2001d4(0x21b)](_0x2001d4(0x215)),this[_0x2001d4(0x20e)]=new u[(_0x2001d4(0x236))](_0x40f495);}async[_0x2fbfcd(0x1d4)](){const _0x14dd57=_0x2fbfcd,_0x35adf1=this[_0x14dd57(0x23c)][_0x14dd57(0x1eb)][_0x14dd57(0x21b)](_0x20bff0),_0x250bc4=_0x35adf1[_0x14dd57(0x1d7)],_0x4a6fb4=this[_0x14dd57(0x23c)][_0x14dd57(0x1eb)][_0x14dd57(0x21b)](_0x1dc1c5);this[_0x14dd57(0x1e0)][_0x14dd57(0x23b)]({'history':_0x250bc4,'getLatestVersion':()=>this[_0x14dd57(0x233)](),'getCurrentRevisionId':()=>_0x35adf1[_0x14dd57(0x1fa)]});const _0x217a90=this[_0x14dd57(0x23c)][_0x14dd57(0x1fc)][_0x14dd57(0x21b)](_0x14dd57(0x230))||_0x53fe3a,_0x19ff51=await _0x57d327[_0x14dd57(0x208)](_0x4a6fb4[_0x14dd57(0x20a)],_0x217a90);this[_0x14dd57(0x1e0)][_0x14dd57(0x206)]={'getRevision':async({revisionId:_0x49c47c})=>(await this[_0x14dd57(0x202)](),await this[_0x14dd57(0x20e)][_0x14dd57(0x245)](_0x49c47c)),'updateRevisions':async _0x2b88da=>{const _0x528f9a=_0x14dd57;await this[_0x528f9a(0x202)]();const _0x21072e=this[_0x528f9a(0x1e0)][_0x528f9a(0x1de)];if(_0x19ff51&&0x1===_0x2b88da[_0x528f9a(0x1df)]&&_0x2b88da[0x0]['id']===_0x21072e['id'])return _0x2b88da;for(const _0x4bbd32 of _0x2b88da)_0x4bbd32['id']===_0x21072e['id']&&(_0x4bbd32[_0x528f9a(0x1da)]=_0x4bbd32[_0x528f9a(0x226)]===_0x4bbd32[_0x528f9a(0x21c)]);return this[_0x528f9a(0x20e)][_0x528f9a(0x1f1)](_0x2b88da,this[_0x528f9a(0x211)])[_0x528f9a(0x242)](_0x3550aa=>(this[_0x528f9a(0x211)]=_0x3550aa,_0x2b88da))[_0x528f9a(0x205)](_0x11554e=>{const _0x57820e=_0x528f9a;if(X(_0x11554e)||_0x57820e(0x21e)===_0x11554e[_0x57820e(0x243)]&&void 0x0!==_0x11554e[_0x57820e(0x235)][_0x57820e(0x1d6)]){for(const _0x356615 of _0x2b88da){!this[_0x57820e(0x1e0)][_0x57820e(0x214)][_0x57820e(0x245)](_0x356615['id'])||this[_0x57820e(0x1e0)][_0x57820e(0x1e7)](_0x356615['id'],_0x356615,!0x1);}if(X(_0x11554e))throw _0x11554e;return _0x2b88da;}throw _0x11554e;});}},this[_0x14dd57(0x201)](this[_0x14dd57(0x20e)],_0x14dd57(0x217),(_0x2b43ba,{revisionsData:_0x3d15f9,requestId:_0x432d73})=>{const _0x1f5f2a=_0x14dd57;Math[_0x1f5f2a(0x232)](..._0x3d15f9[_0x1f5f2a(0x23e)](_0x28c497=>_0x28c497[_0x1f5f2a(0x21c)]))>this[_0x1f5f2a(0x20b)]()-0x1?this[_0x1f5f2a(0x233)]()[_0x1f5f2a(0x242)](()=>{const _0x3e7ae2=_0x1f5f2a;this[_0x3e7ae2(0x224)](_0x3d15f9,_0x432d73);}):this[_0x1f5f2a(0x224)](_0x3d15f9,_0x432d73);});const {revisions:_0x229318,requestId:_0x7157eb}=await this[_0x14dd57(0x20e)][_0x14dd57(0x20d)](_0x4a6fb4[_0x14dd57(0x20a)]);_0x4a6fb4[_0x14dd57(0x1f8)](this),this[_0x14dd57(0x211)]=_0x7157eb,await this[_0x14dd57(0x209)](_0x229318);for(const _0x217574 of _0x229318)this[_0x14dd57(0x1e0)][_0x14dd57(0x1ee)](_0x217574);this[_0x14dd57(0x201)](_0x35adf1,_0x14dd57(0x227),(_0x5b3569,_0x2175e2,_0x3973e0)=>{const _0x39c4cd=_0x14dd57;_0x3973e0&&(this[_0x39c4cd(0x1ef)]=_0x35adf1[_0x39c4cd(0x23f)],_0x5b3569[_0x39c4cd(0x1e4)]());}),this[_0x14dd57(0x1e0)][_0x14dd57(0x218)](_0x14dd57(0x1fe))['to'](_0x4a6fb4,_0x14dd57(0x207),_0x1a98ac=>_0x1a98ac===_0x32e26d[_0x14dd57(0x213)]);}async[_0x2fbfcd(0x1fb)](){const _0x51589d=_0x2fbfcd,_0x126313=this[_0x51589d(0x23c)][_0x51589d(0x1eb)][_0x51589d(0x21b)](_0x1dc1c5),_0x53a33e=this[_0x51589d(0x23c)][_0x51589d(0x1eb)][_0x51589d(0x21b)](_0x20bff0),_0x2c6ebd=async()=>{const _0x4c138e=_0x51589d,_0x357041=this[_0x4c138e(0x1e0)][_0x4c138e(0x1de)],_0x16a8cb=_0x357041['id'],_0x593f7f=_0x16a8cb!==_0x53a33e[_0x4c138e(0x1fa)];if(_0x593f7f){const _0x33718e=_0x53a33e[_0x4c138e(0x23f)]-this[_0x4c138e(0x1ef)],_0x2a48d8=this[_0x4c138e(0x20b)]();this[_0x4c138e(0x1e0)][_0x4c138e(0x1ed)][_0x4c138e(0x21d)]();if(_0x357041[_0x4c138e(0x21c)]+_0x33718e!==_0x2a48d8){const _0x1b88b4=_0x357041[_0x4c138e(0x226)]+_0x33718e,_0x42f9ce=this[_0x4c138e(0x23c)][_0x4c138e(0x1eb)][_0x4c138e(0x21b)](_0x4fce53),_0x4059fc=this[_0x4c138e(0x1e0)][_0x4c138e(0x20c)]({'revision':_0x357041,'from':_0x1b88b4,'to':_0x2a48d8});_0x4059fc['id']=_0x357041['id'];const _0x9a1f83=_0x4059fc[_0x4c138e(0x1f6)][_0x4c138e(0x23e)](_0x2ecadb=>_0x42f9ce[_0x4c138e(0x23a)](_0x2ecadb));_0x357041[_0x4c138e(0x22f)]({..._0x4059fc,'authors':_0x9a1f83},!0x0),this[_0x4c138e(0x1e0)][_0x4c138e(0x1e7)](_0x357041['id'],_0x4059fc,!0x0);}this[_0x4c138e(0x1e0)][_0x4c138e(0x231)]=_0x2a48d8,(_0x357041[_0x4c138e(0x21c)]===_0x357041[_0x4c138e(0x226)]&&!this[_0x4c138e(0x1e0)][_0x4c138e(0x23d)][_0x4c138e(0x20f)](_0x16a8cb)&&this[_0x4c138e(0x1e0)][_0x4c138e(0x214)][_0x4c138e(0x22c)][_0x4c138e(0x22e)](_0x16a8cb),this[_0x4c138e(0x1e0)][_0x4c138e(0x1f0)](_0x2a48d8));}const {revisions:_0x4b3894,requestId:_0x3008b9}=await this[_0x4c138e(0x20e)][_0x4c138e(0x1fb)](_0x126313[_0x4c138e(0x20a)],this[_0x4c138e(0x211)]);_0x593f7f&&_0x4b3894[_0x4c138e(0x1df)]>0x0?_0x53a33e[_0x4c138e(0x21a)]():(await this[_0x4c138e(0x209)](_0x4b3894),this[_0x4c138e(0x224)](_0x4b3894,_0x3008b9),this[_0x4c138e(0x1e0)][_0x4c138e(0x204)]());};return _0x53a33e[_0x51589d(0x1dd)]?_0x2c6ebd():new Promise((_0x182bd1,_0x16269a)=>{const _0x3e4884=_0x51589d;_0x53a33e[_0x3e4884(0x1f7)](_0x3e4884(0x227),()=>{const _0x3867c8=_0x3e4884;_0x2c6ebd()[_0x3867c8(0x242)](_0x182bd1)[_0x3867c8(0x205)](_0x16269a);});});}[_0x2fbfcd(0x1ea)](){const _0xa189c3=_0x2fbfcd;super[_0xa189c3(0x1ea)]();}async[_0x2fbfcd(0x202)](){const _0x1949b6=_0x2fbfcd;this[_0x1949b6(0x20e)][_0x1949b6(0x1f3)]||await new Promise(_0x53b5ec=>{const _0x4bd02a=_0x1949b6;this[_0x4bd02a(0x201)](this[_0x4bd02a(0x20e)],_0x4bd02a(0x216),_0x4edc3a=>{const _0x53c1b7=_0x4bd02a;_0x4edc3a[_0x53c1b7(0x1e4)](),_0x53b5ec();});});}[_0x2fbfcd(0x20b)](){const _0x50609f=_0x2fbfcd,_0x5af79b=this[_0x50609f(0x23c)][_0x50609f(0x1eb)][_0x50609f(0x21b)](_0x20bff0)[_0x50609f(0x1d7)][_0x50609f(0x1e3)]()[_0x50609f(0x229)]();for(const _0x52ac68 of _0x5af79b)if(_0x50609f(0x244)!==_0x52ac68[_0x50609f(0x240)]||_0x52ac68[_0x50609f(0x241)])return _0x52ac68[_0x50609f(0x1d9)]+0x1;}[_0x2fbfcd(0x233)](){const _0x425403=_0x2fbfcd,_0x2601c5=this[_0x425403(0x23c)][_0x425403(0x1eb)][_0x425403(0x21b)](_0x20bff0);return new Promise(_0x523a1d=>{const _0x28d46d=_0x425403;_0x2601c5[_0x28d46d(0x1dc)]?_0x2601c5[_0x28d46d(0x1f7)](_0x28d46d(0x1f4),()=>{const _0x24a8a9=_0x28d46d;_0x523a1d(this[_0x24a8a9(0x20b)]());}):_0x523a1d(this[_0x28d46d(0x20b)]());});}[_0x2fbfcd(0x224)](_0x473105,_0x20fa2a){const _0x1b9462=_0x2fbfcd,_0x5c424b=this[_0x1b9462(0x1e0)][_0x1b9462(0x214)];this[_0x1b9462(0x211)]=_0x20fa2a;for(const _0x3c66e1 of _0x473105){const _0x1a8a9a=_0x5c424b[_0x1b9462(0x245)](_0x3c66e1['id']);if(_0x1a8a9a){if((_0x3c66e1[_0x1b9462(0x226)]||_0x3c66e1[_0x1b9462(0x21c)])&&(_0x3c66e1[_0x1b9462(0x239)]=null),_0x1a8a9a===this[_0x1b9462(0x1e0)][_0x1b9462(0x1de)]){const _0x258dc6=Math[_0x1b9462(0x232)](_0x1a8a9a[_0x1b9462(0x21c)],_0x3c66e1[_0x1b9462(0x21c)]),_0x10b236=Math[_0x1b9462(0x232)](_0x1a8a9a[_0x1b9462(0x226)],_0x3c66e1[_0x1b9462(0x226)]);let _0x591bcb;_0x1a8a9a[_0x1b9462(0x21c)]===_0x3c66e1[_0x1b9462(0x21c)]&&_0x1a8a9a[_0x1b9462(0x226)]===_0x3c66e1[_0x1b9462(0x226)]?(_0x591bcb=!0x0,this[_0x1b9462(0x22b)](_0x3c66e1)):_0x3c66e1[_0x1b9462(0x21c)]===_0x258dc6&&_0x3c66e1[_0x1b9462(0x226)]===_0x10b236?_0x591bcb=!0x1:(_0x1a8a9a[_0x1b9462(0x21c)]===_0x258dc6&&_0x1a8a9a[_0x1b9462(0x226)]===_0x10b236||this[_0x1b9462(0x1e5)]({'revision':_0x1a8a9a,'from':_0x10b236,'to':_0x258dc6}),_0x591bcb=!0x0),_0x591bcb&&(delete _0x3c66e1[_0x1b9462(0x226)],delete _0x3c66e1[_0x1b9462(0x21c)],delete _0x3c66e1[_0x1b9462(0x239)],delete _0x3c66e1[_0x1b9462(0x1f2)],delete _0x3c66e1[_0x1b9462(0x1f6)]);}this[_0x1b9462(0x1e0)][_0x1b9462(0x1fd)](_0x3c66e1),this[_0x1b9462(0x22b)](_0x3c66e1);}else this[_0x1b9462(0x1e0)][_0x1b9462(0x1ee)](_0x3c66e1);}const _0x12c161=_0x5c424b[_0x1b9462(0x1e1)]();_0x12c161[_0x1b9462(0x229)]();for(let _0xafd382=0x0;_0xafd382<_0x12c161[_0x1b9462(0x1df)]-0x1;_0xafd382++){const _0x44bc80=_0x12c161[_0xafd382],_0x20a896=_0x12c161[_0xafd382+0x1];if(_0x44bc80[_0x1b9462(0x226)]<_0x20a896[_0x1b9462(0x21c)]){const _0x2dddc0=_0x20a896[_0x1b9462(0x21c)],_0x42f9a7=Math[_0x1b9462(0x232)](_0x2dddc0,_0x44bc80[_0x1b9462(0x21c)]);this[_0x1b9462(0x1e5)]({'revision':_0x44bc80,'from':_0x2dddc0,'to':_0x42f9a7});}}}[_0x2fbfcd(0x1e5)]({revision:_0x2b8d5e,from:_0x47f242,to:_0x4a6475}={}){const _0x460625=_0x2fbfcd,_0x2b6b35=this[_0x460625(0x23c)][_0x460625(0x1eb)][_0x460625(0x21b)](_0x4fce53),_0x3a9490=this[_0x460625(0x1e0)][_0x460625(0x20c)]({'revision':_0x2b8d5e,'from':_0x47f242,'to':_0x4a6475});_0x3a9490[_0x460625(0x210)]=_0x3a9490[_0x460625(0x1f6)][_0x460625(0x23e)](_0x5d184d=>_0x2b6b35[_0x460625(0x23a)](_0x5d184d)),_0x2b8d5e[_0x460625(0x22f)](_0x3a9490);}[_0x2fbfcd(0x22b)](_0x149fba){const _0x413bca=_0x2fbfcd,_0xfc0d54={};_0xfc0d54['id']=_0x149fba['id'];for(const _0x32a01e of Object[_0x413bca(0x223)](_0x149fba))'id'!==_0x32a01e&&(_0xfc0d54[_0x32a01e]=void 0x0);this[_0x413bca(0x1e0)][_0x413bca(0x1e7)](_0xfc0d54['id'],_0xfc0d54,!0x0);}async[_0x2fbfcd(0x209)](_0x3b7b2f){const _0x1087a2=_0x2fbfcd,_0x56e887=this[_0x1087a2(0x23c)][_0x1087a2(0x1eb)][_0x1087a2(0x21b)](_0x4fce53),{connection:_0x4a30aa}=this[_0x1087a2(0x23c)][_0x1087a2(0x1eb)][_0x1087a2(0x21b)](_0x1dc1c5),_0x2baa14=new Set();for(const _0x50f650 of _0x3b7b2f){for(const _0x5bb95b of _0x50f650[_0x1087a2(0x1f6)])_0x69171b(_0x5bb95b);_0x50f650[_0x1087a2(0x1e2)]&&_0x69171b(_0x50f650[_0x1087a2(0x1e2)]);}if(0x0===_0x2baa14[_0x1087a2(0x237)])return;const _0x1ef9b3=await _0x586c5a[_0x1087a2(0x212)](_0x4a30aa,Array[_0x1087a2(0x22d)](_0x2baa14));for(const _0x5a3a70 of _0x1ef9b3)_0x56e887[_0x1087a2(0x23a)](_0x5a3a70['id'])||_0x56e887[_0x1087a2(0x225)](_0x5a3a70);function _0x69171b(_0xe11521){const _0x52a01a=_0x1087a2;_0x56e887[_0x52a01a(0x23a)](_0xe11521)||_0x2baa14[_0x52a01a(0x220)](_0xe11521);}}}u[_0x2fbfcd(0x236)]=_0x4cd824;export default u;function X(_0xcea660){const _0x35c6ba=_0x2fbfcd;return _0xcea660[_0x35c6ba(0x200)][_0x35c6ba(0x1e6)](_0x35c6ba(0x21f))||_0xcea660[_0x35c6ba(0x200)][_0x35c6ba(0x1e6)](_0x35c6ba(0x1f5))||_0xcea660[_0x35c6ba(0x200)][_0x35c6ba(0x1e6)](_0x35c6ba(0x222));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d8f6e=_0x2b7c;(function(_0x10259a,_0x396815){var _0x96cc7b=_0x2b7c,_0x828c19=_0x10259a();while(!![]){try{var _0x148984=parseInt(_0x96cc7b(0xa8))/0x1*(-parseInt(_0x96cc7b(0x9c))/0x2)+-parseInt(_0x96cc7b(0x9e))/0x3*(parseInt(_0x96cc7b(0x9a))/0x4)+-parseInt(_0x96cc7b(0xa4))/0x5+-parseInt(_0x96cc7b(0xa7))/0x6+parseInt(_0x96cc7b(0xa6))/0x7+parseInt(_0x96cc7b(0xa3))/0x8*(parseInt(_0x96cc7b(0xa9))/0x9)+-parseInt(_0x96cc7b(0xa5))/0xa*(-parseInt(_0x96cc7b(0xa1))/0xb);if(_0x148984===_0x396815)break;else _0x828c19['push'](_0x828c19['shift']());}catch(_0x6c1fa7){_0x828c19['push'](_0x828c19['shift']());}}}(_0x1f85,0x91334));function _0x1f85(){var _0x19fb9e=['795534HAFaDR','isPremiumPlugin','pluginName','710666OiZvlq','RealTimeCollaborativeRevisionHistory','136fyjbBq','312200YtfqHc','230xZdhEE','3964121zdtCLo','4855188KMxNxq','2UyjMxm','66411SCgvOA','requires','4JamQyT','isOfficialPlugin','446128BusFMK','RevisionHistory'];_0x1f85=function(){return _0x19fb9e;};return _0x1f85();}function _0x2b7c(_0x35ea16,_0x40db8a){var _0x1f8587=_0x1f85();return _0x2b7c=function(_0x2b7cad,_0x21ec16){_0x2b7cad=_0x2b7cad-0x99;var _0x1f5380=_0x1f8587[_0x2b7cad];return _0x1f5380;},_0x2b7c(_0x35ea16,_0x40db8a);}import{Plugin as _0xe19268}from'ckeditor5/src/core.js';import _0x18adce from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x530e1c from'./realtimecollaborativeediting.js';export default class g extends _0xe19268{static get[_0x5d8f6e(0x99)](){var _0x3e76d0=_0x5d8f6e;return[_0x3e76d0(0x9d),_0x18adce,_0x530e1c];}static get[_0x5d8f6e(0xa0)](){var _0xca0fd2=_0x5d8f6e;return _0xca0fd2(0xa2);}static get[_0x5d8f6e(0x9b)](){return!0x0;}static get[_0x5d8f6e(0x9f)](){return!0x0;}}
23
+ function _0x281f(){var _0x253007=['12373ygLPrk','5765214pqcroo','39979050uHoDZk','isPremiumPlugin','1593908AEFOWt','requires','RevisionHistory','205ubXwOR','182466QyezRO','3197376CHqSVa','isOfficialPlugin','9468160KNEQRc','RealTimeCollaborativeRevisionHistory','pluginName','3cXvkXG','284Dwdcvu'];_0x281f=function(){return _0x253007;};return _0x281f();}var _0x1f0f17=_0x2641;(function(_0x378170,_0x254005){var _0x5a5c3a=_0x2641,_0x49915a=_0x378170();while(!![]){try{var _0xf6b482=-parseInt(_0x5a5c3a(0x161))/0x1*(-parseInt(_0x5a5c3a(0x160))/0x2)+-parseInt(_0x5a5c3a(0x15f))/0x3*(parseInt(_0x5a5c3a(0x165))/0x4)+parseInt(_0x5a5c3a(0x168))/0x5*(parseInt(_0x5a5c3a(0x159))/0x6)+parseInt(_0x5a5c3a(0x162))/0x7+parseInt(_0x5a5c3a(0x15c))/0x8+parseInt(_0x5a5c3a(0x15a))/0x9+-parseInt(_0x5a5c3a(0x163))/0xa;if(_0xf6b482===_0x254005)break;else _0x49915a['push'](_0x49915a['shift']());}catch(_0x657807){_0x49915a['push'](_0x49915a['shift']());}}}(_0x281f,0xecc5d));import{Plugin as _0x33fb4a}from'ckeditor5/src/core.js';function _0x2641(_0x2820e0,_0x322350){var _0x281f2c=_0x281f();return _0x2641=function(_0x26419e,_0x392877){_0x26419e=_0x26419e-0x159;var _0x1d7667=_0x281f2c[_0x26419e];return _0x1d7667;},_0x2641(_0x2820e0,_0x322350);}import _0x231782 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x17cba0 from'./realtimecollaborativeediting.js';export default class g extends _0x33fb4a{static get[_0x1f0f17(0x166)](){var _0x3cab9d=_0x1f0f17;return[_0x3cab9d(0x167),_0x231782,_0x17cba0];}static get[_0x1f0f17(0x15e)](){var _0xbb6773=_0x1f0f17;return _0xbb6773(0x15d);}static get[_0x1f0f17(0x15b)](){return!0x0;}static get[_0x1f0f17(0x164)](){return!0x0;}}
@@ -19,6 +19,18 @@ export default class CloudServicesTrackChangesAdapter extends Plugin implements
19
19
  * @inheritDoc
20
20
  */
21
21
  static get requires(): readonly [typeof CloudServicesCommentsAdapter, "TrackChangesEditing", typeof WebSocketGateway];
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "CloudServicesTrackChangesAdapter";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static get isPremiumPlugin(): true;
22
34
  /**
23
35
  * @inheritDoc
24
36
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x399b22=_0x864a;function _0x5702(){const _0x257282=['then','attributes','startsWith','getUser','off','_fetchMissingUsersForThreads','304Fobnll','from','collaboration.channelId','1721348rBIrHW','getSuggestion','_waitForServiceReady','6531nhXWLv','addSuggestionData','values','set','371308cCNJiy','config','get','find','connected','connect','plugins','addToReconnectionStack','add','isConnected','adapter','data','delete','listenTo','_trackChangesService','getMany','connection','requires','_bufferedRequests','catch','398165weEtHf','open','480642UiJGUa','TrackChangesService','update','cloud-services-internal-error:\x20Not\x20connected.','editor','originalSuggestionId','message','init','state','size','reconnect','hasSuggestion','2519022RgcrZQ','addUser','261820cRfYLM','type','TrackChangesEditing','cloud-services-internal-error:\x20Request\x20timeout.','_saved','suggestionUpdated'];_0x5702=function(){return _0x257282;};return _0x5702();}(function(_0x480b26,_0x2663ba){const _0x369df9=_0x864a,_0x5ea7c4=_0x480b26();while(!![]){try{const _0x182657=parseInt(_0x369df9(0x188))/0x1+parseInt(_0x369df9(0x172))/0x2+-parseInt(_0x369df9(0x164))/0x3+-parseInt(_0x369df9(0x181))/0x4+-parseInt(_0x369df9(0x162))/0x5+parseInt(_0x369df9(0x170))/0x6+parseInt(_0x369df9(0x184))/0x7*(parseInt(_0x369df9(0x17e))/0x8);if(_0x182657===_0x2663ba)break;else _0x5ea7c4['push'](_0x5ea7c4['shift']());}catch(_0x170d7f){_0x5ea7c4['push'](_0x5ea7c4['shift']());}}}(_0x5702,0x4625d));import{Plugin as _0x398d67}from'ckeditor5/src/core.js';import{User as _0x47fb43,TrackChangesService as _0x36bd17}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x516501 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2481cb from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x864a(_0x432ce9,_0x3f3f90){const _0x57027f=_0x5702();return _0x864a=function(_0x864af2,_0xed0d14){_0x864af2=_0x864af2-0x15e;let _0x6b4d5f=_0x57027f[_0x864af2];return _0x6b4d5f;},_0x864a(_0x432ce9,_0x3f3f90);}import{Users as _0x43535c}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x398d67{static get[_0x399b22(0x15f)](){const _0x32633b=_0x399b22;return[_0x2481cb,_0x32633b(0x174),_0x516501];}constructor(_0x36ba88){const _0x1677cf=_0x399b22;super(_0x36ba88);const _0x3a9308=this[_0x1677cf(0x168)][_0x1677cf(0x189)][_0x1677cf(0x18a)](_0x1677cf(0x180));this[_0x1677cf(0x160)]=new Map(),this[_0x1677cf(0x196)]=new f[(_0x1677cf(0x165))](_0x3a9308);}[_0x399b22(0x16b)](){const _0x4d9be9=_0x399b22,_0xe43546=this[_0x4d9be9(0x168)][_0x4d9be9(0x18e)][_0x4d9be9(0x18a)](_0x516501),_0x446016=this[_0x4d9be9(0x168)][_0x4d9be9(0x18e)][_0x4d9be9(0x18a)](_0x4d9be9(0x174));return _0x446016[_0x4d9be9(0x192)]={'getSuggestion':async _0x3077e2=>{const _0x59ca24=_0x4d9be9;await this[_0x59ca24(0x183)]();const _0x6c4bea=await this[_0x59ca24(0x196)][_0x59ca24(0x18a)](_0x3077e2)[_0x59ca24(0x161)](ot);return await this[_0x59ca24(0x17d)]([_0x6c4bea]),_0x6c4bea;},'addSuggestion':async({id:_0x38b474,type:_0x408c8f,data:_0x150f86,originalSuggestionId:_0x4886c0,attributes:_0x16b76c})=>{const _0xe058b6=_0x4d9be9;await this[_0xe058b6(0x183)]();const _0x232cfa={'id':_0x38b474,'type':_0x408c8f,'data':_0x150f86,'originalSuggestionId':_0x4886c0,'attributes':_0x16b76c},_0x523d19=await this[_0xe058b6(0x196)][_0xe058b6(0x190)](_0x38b474,_0x408c8f,_0x150f86,_0x4886c0,_0x16b76c)[_0xe058b6(0x161)](_0x491998=>{if(rt(_0x491998))return new Promise(_0x535875=>{const _0x18e4d4=_0x864a;this[_0x18e4d4(0x160)][_0x18e4d4(0x187)](_0x38b474,{'resolve':_0x535875,'suggestionData':_0x232cfa});});throw _0x491998;});return this[_0xe058b6(0x160)][_0xe058b6(0x194)](_0x38b474),_0x523d19;},'updateSuggestion':async(_0x57b97d,_0x3bb0a4)=>{const _0x27cd86=_0x4d9be9;if(await this[_0x27cd86(0x183)](),_0x27cd86(0x163)!==_0x3bb0a4[_0x27cd86(0x16c)])return this[_0x27cd86(0x196)][_0x27cd86(0x166)](_0x57b97d,_0x3bb0a4)[_0x27cd86(0x161)](ot);}},this[_0x4d9be9(0x195)](this[_0x4d9be9(0x196)],_0x4d9be9(0x177),(_0x531cee,_0x5e26a1)=>{const _0x4c229b=_0x4d9be9;_0x446016[_0x4c229b(0x16f)](_0x5e26a1['id'])&&(_0x446016[_0x4c229b(0x182)](_0x5e26a1['id'])[_0x4c229b(0x179)]=_0x5e26a1[_0x4c229b(0x179)]);}),this[_0x4d9be9(0x196)][_0x4d9be9(0x18d)](_0xe43546[_0x4d9be9(0x15e)])[_0x4d9be9(0x178)](_0x17063d=>(_0xe43546[_0x4d9be9(0x18f)](this),this[_0x4d9be9(0x17d)](_0x17063d)[_0x4d9be9(0x178)](()=>{const _0x233a27=_0x4d9be9;for(const _0x55f856 of _0x17063d){_0x446016[_0x233a27(0x185)](_0x55f856)[_0x233a27(0x176)]=!0x0;}})));}async[_0x399b22(0x16e)](){const _0x5a0127=_0x399b22,_0x4412cd=this[_0x5a0127(0x168)][_0x5a0127(0x18e)][_0x5a0127(0x18a)](_0x5a0127(0x174)),{connection:_0x378b65}=this[_0x5a0127(0x168)][_0x5a0127(0x18e)][_0x5a0127(0x18a)](_0x516501),_0x3f5bf4=await this[_0x5a0127(0x196)][_0x5a0127(0x18d)](_0x378b65);await this[_0x5a0127(0x17d)](_0x3f5bf4);for(const {suggestionData:_0x4e54e3,resolve:_0x5d6fce}of this[_0x5a0127(0x160)][_0x5a0127(0x186)]()){let _0x2bda72=_0x3f5bf4[_0x5a0127(0x18b)](_0x14cae0=>_0x14cae0['id']===_0x4e54e3['id']);_0x2bda72||(_0x2bda72=await this[_0x5a0127(0x196)][_0x5a0127(0x190)](_0x4e54e3['id'],_0x4e54e3[_0x5a0127(0x173)],_0x4e54e3[_0x5a0127(0x193)],_0x4e54e3[_0x5a0127(0x169)])),_0x5d6fce(_0x2bda72);}for(const _0x2d6139 of _0x3f5bf4)_0x4412cd[_0x5a0127(0x16f)](_0x2d6139['id'])||_0x4412cd[_0x5a0127(0x185)](_0x2d6139);}async[_0x399b22(0x183)](){const _0x2b7550=_0x399b22;this[_0x2b7550(0x196)][_0x2b7550(0x191)]||await new Promise(_0x4035b4=>{const _0x482e5b=_0x2b7550;this[_0x482e5b(0x195)](this[_0x482e5b(0x196)],_0x482e5b(0x18c),_0xe5b51a=>{const _0x4e5350=_0x482e5b;_0xe5b51a[_0x4e5350(0x17c)](),_0x4035b4();});});}async[_0x399b22(0x17d)](_0xc4e454){const _0x434fa7=_0x399b22,_0x384bef=this[_0x434fa7(0x168)][_0x434fa7(0x18e)][_0x434fa7(0x18a)](_0x43535c),{connection:_0x1b7455}=this[_0x434fa7(0x168)][_0x434fa7(0x18e)][_0x434fa7(0x18a)](_0x516501),_0x1a8f28=new Set();for(const {authorId:_0xfbc55f}of _0xc4e454)_0x384bef[_0x434fa7(0x17b)](_0xfbc55f)||_0x1a8f28[_0x434fa7(0x190)](_0xfbc55f);if(0x0===_0x1a8f28[_0x434fa7(0x16d)])return;const _0x134fff=await _0x47fb43[_0x434fa7(0x197)](_0x1b7455,Array[_0x434fa7(0x17f)](_0x1a8f28));for(const _0x44b149 of _0x134fff)_0x384bef[_0x434fa7(0x17b)](_0x44b149['id'])||_0x384bef[_0x434fa7(0x171)](_0x44b149);}}f[_0x399b22(0x165)]=_0x36bd17;export default f;function ot(_0x2167c7){if(rt(_0x2167c7))return new Promise(()=>{});throw _0x2167c7;}function rt(_0x3dbaf8){const _0x1d438f=_0x399b22;return _0x3dbaf8[_0x1d438f(0x16a)][_0x1d438f(0x17a)](_0x1d438f(0x167))||_0x3dbaf8[_0x1d438f(0x16a)][_0x1d438f(0x17a)](_0x1d438f(0x175));}
23
+ function _0x14df(){const _0x33b8a7=['delete','pluginName','640758NTfBbj','config','startsWith','TrackChangesEditing','12ihhRsn','_bufferedRequests','message','init','requires','_saved','catch','_trackChangesService','update','state','TrackChangesService','12aGCVxz','isConnected','4420122JfsEpQ','data','7QlIGpI','addUser','88966PAYegt','reconnect','values','adapter','add','plugins','then','268815PqOYMb','_waitForServiceReady','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','addSuggestionData','collaboration.channelId','set','351999daMFpI','originalSuggestionId','open','3812934VKeirh','getSuggestion','from','isPremiumPlugin','editor','isOfficialPlugin','getUser','size','connected','type','hasSuggestion','get','140dAaFcw','suggestionUpdated','addToReconnectionStack','connect','find','_fetchMissingUsersForThreads','8JIbyAs','connection','24213662ocIhpQ','CloudServicesTrackChangesAdapter','cloud-services-internal-error:\x20Not\x20connected.','getMany','off','attributes'];_0x14df=function(){return _0x33b8a7;};return _0x14df();}const _0x2f4fab=_0x3963;(function(_0x3658a7,_0x212c8d){const _0x27e0f9=_0x3963,_0xbaf0e0=_0x3658a7();while(!![]){try{const _0x50b1f6=-parseInt(_0x27e0f9(0x20c))/0x1*(-parseInt(_0x27e0f9(0x20e))/0x2)+-parseInt(_0x27e0f9(0x1f9))/0x3+-parseInt(_0x27e0f9(0x1fd))/0x4*(parseInt(_0x27e0f9(0x215))/0x5)+-parseInt(_0x27e0f9(0x1dd))/0x6+parseInt(_0x27e0f9(0x20a))/0x7*(-parseInt(_0x27e0f9(0x1ef))/0x8)+-parseInt(_0x27e0f9(0x1da))/0x9*(parseInt(_0x27e0f9(0x1e9))/0xa)+parseInt(_0x27e0f9(0x1f1))/0xb*(parseInt(_0x27e0f9(0x208))/0xc);if(_0x50b1f6===_0x212c8d)break;else _0xbaf0e0['push'](_0xbaf0e0['shift']());}catch(_0x27d0ee){_0xbaf0e0['push'](_0xbaf0e0['shift']());}}}(_0x14df,0x4eebb));import{Plugin as _0x4eaa9d}from'ckeditor5/src/core.js';import{User as _0x4600aa,TrackChangesService as _0x5846b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1662a2 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1efa26 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1437c1}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x4eaa9d{static get[_0x2f4fab(0x201)](){const _0x51088c=_0x2f4fab;return[_0x1efa26,_0x51088c(0x1fc),_0x1662a2];}static get[_0x2f4fab(0x1f8)](){const _0x2b0c27=_0x2f4fab;return _0x2b0c27(0x1f2);}static get[_0x2f4fab(0x1e2)](){return!0x0;}static get[_0x2f4fab(0x1e0)](){return!0x0;}constructor(_0x104e2c){const _0x15dd49=_0x2f4fab;super(_0x104e2c);const _0x6c4429=this[_0x15dd49(0x1e1)][_0x15dd49(0x1fa)][_0x15dd49(0x1e8)](_0x15dd49(0x1d8));this[_0x15dd49(0x1fe)]=new Map(),this[_0x15dd49(0x204)]=new f[(_0x15dd49(0x207))](_0x6c4429);}[_0x2f4fab(0x200)](){const _0x3a5804=_0x2f4fab,_0x28ae4e=this[_0x3a5804(0x1e1)][_0x3a5804(0x213)][_0x3a5804(0x1e8)](_0x1662a2),_0x2fe6b7=this[_0x3a5804(0x1e1)][_0x3a5804(0x213)][_0x3a5804(0x1e8)](_0x3a5804(0x1fc));return _0x2fe6b7[_0x3a5804(0x211)]={'getSuggestion':async _0x33d2bf=>{const _0xe588a6=_0x3a5804;await this[_0xe588a6(0x1d4)]();const _0x29ac13=await this[_0xe588a6(0x204)][_0xe588a6(0x1e8)](_0x33d2bf)[_0xe588a6(0x203)](w);return await this[_0xe588a6(0x1ee)]([_0x29ac13]),_0x29ac13;},'addSuggestion':async({id:_0x34777b,type:_0x1b2c64,data:_0x583e45,originalSuggestionId:_0x1aa697,attributes:_0x498b6f})=>{const _0x41aa9d=_0x3a5804;await this[_0x41aa9d(0x1d4)]();const _0x1c043e={'id':_0x34777b,'type':_0x1b2c64,'data':_0x583e45,'originalSuggestionId':_0x1aa697,'attributes':_0x498b6f},_0x375abe=await this[_0x41aa9d(0x204)][_0x41aa9d(0x212)](_0x34777b,_0x1b2c64,_0x583e45,_0x1aa697,_0x498b6f)[_0x41aa9d(0x203)](_0x5a58ad=>{if(X(_0x5a58ad))return new Promise(_0x222ada=>{const _0x4748e1=_0x3963;this[_0x4748e1(0x1fe)][_0x4748e1(0x1d9)](_0x34777b,{'resolve':_0x222ada,'suggestionData':_0x1c043e});});throw _0x5a58ad;});return this[_0x41aa9d(0x1fe)][_0x41aa9d(0x1f7)](_0x34777b),_0x375abe;},'updateSuggestion':async(_0x17f067,_0x218fd3)=>{const _0xd5da92=_0x3a5804;if(await this[_0xd5da92(0x1d4)](),_0xd5da92(0x1dc)!==_0x218fd3[_0xd5da92(0x206)])return this[_0xd5da92(0x204)][_0xd5da92(0x205)](_0x17f067,_0x218fd3)[_0xd5da92(0x203)](w);}},this[_0x3a5804(0x1d6)](this[_0x3a5804(0x204)],_0x3a5804(0x1ea),(_0x4e3581,_0x23b330)=>{const _0x44e7da=_0x3a5804;_0x2fe6b7[_0x44e7da(0x1e7)](_0x23b330['id'])&&(_0x2fe6b7[_0x44e7da(0x1de)](_0x23b330['id'])[_0x44e7da(0x1f6)]=_0x23b330[_0x44e7da(0x1f6)]);}),this[_0x3a5804(0x204)][_0x3a5804(0x1ec)](_0x28ae4e[_0x3a5804(0x1f0)])[_0x3a5804(0x214)](_0xdfad47=>(_0x28ae4e[_0x3a5804(0x1eb)](this),this[_0x3a5804(0x1ee)](_0xdfad47)[_0x3a5804(0x214)](()=>{const _0x3c56b4=_0x3a5804;for(const _0x3005ec of _0xdfad47){_0x2fe6b7[_0x3c56b4(0x1d7)](_0x3005ec)[_0x3c56b4(0x202)]=!0x0;}})));}async[_0x2f4fab(0x20f)](){const _0x4bf6a0=_0x2f4fab,_0x16528a=this[_0x4bf6a0(0x1e1)][_0x4bf6a0(0x213)][_0x4bf6a0(0x1e8)](_0x4bf6a0(0x1fc)),{connection:_0x5a6281}=this[_0x4bf6a0(0x1e1)][_0x4bf6a0(0x213)][_0x4bf6a0(0x1e8)](_0x1662a2),_0x6176a2=await this[_0x4bf6a0(0x204)][_0x4bf6a0(0x1ec)](_0x5a6281);await this[_0x4bf6a0(0x1ee)](_0x6176a2);for(const {suggestionData:_0x30d12f,resolve:_0xdf6610}of this[_0x4bf6a0(0x1fe)][_0x4bf6a0(0x210)]()){let _0x1abff0=_0x6176a2[_0x4bf6a0(0x1ed)](_0x5ed7af=>_0x5ed7af['id']===_0x30d12f['id']);_0x1abff0||(_0x1abff0=await this[_0x4bf6a0(0x204)][_0x4bf6a0(0x212)](_0x30d12f['id'],_0x30d12f[_0x4bf6a0(0x1e6)],_0x30d12f[_0x4bf6a0(0x20b)],_0x30d12f[_0x4bf6a0(0x1db)])),_0xdf6610(_0x1abff0);}for(const _0x23a417 of _0x6176a2)_0x16528a[_0x4bf6a0(0x1e7)](_0x23a417['id'])||_0x16528a[_0x4bf6a0(0x1d7)](_0x23a417);}async[_0x2f4fab(0x1d4)](){const _0x4eb10b=_0x2f4fab;this[_0x4eb10b(0x204)][_0x4eb10b(0x209)]||await new Promise(_0x85832e=>{const _0x503e70=_0x4eb10b;this[_0x503e70(0x1d6)](this[_0x503e70(0x204)],_0x503e70(0x1e5),_0x4f451b=>{const _0x1cbeb9=_0x503e70;_0x4f451b[_0x1cbeb9(0x1f5)](),_0x85832e();});});}async[_0x2f4fab(0x1ee)](_0x4293d9){const _0x311b8f=_0x2f4fab,_0x475e9e=this[_0x311b8f(0x1e1)][_0x311b8f(0x213)][_0x311b8f(0x1e8)](_0x1437c1),{connection:_0x171bc4}=this[_0x311b8f(0x1e1)][_0x311b8f(0x213)][_0x311b8f(0x1e8)](_0x1662a2),_0x366fab=new Set();for(const {authorId:_0x139df6}of _0x4293d9)_0x475e9e[_0x311b8f(0x1e3)](_0x139df6)||_0x366fab[_0x311b8f(0x212)](_0x139df6);if(0x0===_0x366fab[_0x311b8f(0x1e4)])return;const _0x376593=await _0x4600aa[_0x311b8f(0x1f4)](_0x171bc4,Array[_0x311b8f(0x1df)](_0x366fab));for(const _0x4399bb of _0x376593)_0x475e9e[_0x311b8f(0x1e3)](_0x4399bb['id'])||_0x475e9e[_0x311b8f(0x20d)](_0x4399bb);}}f[_0x2f4fab(0x207)]=_0x5846b4;export default f;function _0x3963(_0x517aa5,_0x2b1824){const _0x14df67=_0x14df();return _0x3963=function(_0x396325,_0x246348){_0x396325=_0x396325-0x1d4;let _0x2f234c=_0x14df67[_0x396325];return _0x2f234c;},_0x3963(_0x517aa5,_0x2b1824);}function w(_0x12f704){if(X(_0x12f704))return new Promise(()=>{});throw _0x12f704;}function X(_0x51aabc){const _0x45cfb9=_0x2f4fab;return _0x51aabc[_0x45cfb9(0x1ff)][_0x45cfb9(0x1fb)](_0x45cfb9(0x1f3))||_0x51aabc[_0x45cfb9(0x1ff)][_0x45cfb9(0x1fb)](_0x45cfb9(0x1d5));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5cf9da=_0x32b3;(function(_0x14d177,_0x3ea93d){var _0x5d9d78=_0x32b3,_0x147f63=_0x14d177();while(!![]){try{var _0xd54802=parseInt(_0x5d9d78(0x1be))/0x1+parseInt(_0x5d9d78(0x1c7))/0x2+-parseInt(_0x5d9d78(0x1c3))/0x3*(-parseInt(_0x5d9d78(0x1cc))/0x4)+parseInt(_0x5d9d78(0x1c6))/0x5*(parseInt(_0x5d9d78(0x1c1))/0x6)+parseInt(_0x5d9d78(0x1c2))/0x7+-parseInt(_0x5d9d78(0x1c9))/0x8+parseInt(_0x5d9d78(0x1c4))/0x9*(-parseInt(_0x5d9d78(0x1c0))/0xa);if(_0xd54802===_0x3ea93d)break;else _0x147f63['push'](_0x147f63['shift']());}catch(_0x524083){_0x147f63['push'](_0x147f63['shift']());}}}(_0x2ef4,0x2e9bc));import{Plugin as _0x399b90}from'ckeditor5/src/core.js';function _0x32b3(_0x49e5dc,_0x3432b7){var _0x2ef43e=_0x2ef4();return _0x32b3=function(_0x32b3b2,_0x4d1270){_0x32b3b2=_0x32b3b2-0x1be;var _0x5725dd=_0x2ef43e[_0x32b3b2];return _0x5725dd;},_0x32b3(_0x49e5dc,_0x3432b7);}function _0x2ef4(){var _0x40e048=['RealTimeCollaborativeTrackChanges','260sYvYkq','296664wIQJKB','isOfficialPlugin','1180576DkXhsp','isPremiumPlugin','pluginName','4ojEopr','TrackChanges','178599DrtMWB','requires','6868130jRdbCM','37266tnPnkw','1849981LXxBII','333321MHENzD','9vQdLgg'];_0x2ef4=function(){return _0x40e048;};return _0x2ef4();}import _0x166e25 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x3ed8fe from'./realtimecollaborativecomments.js';export default class p extends _0x399b90{static get[_0x5cf9da(0x1bf)](){var _0x318260=_0x5cf9da;return[_0x3ed8fe,_0x166e25,_0x318260(0x1cd)];}static get[_0x5cf9da(0x1cb)](){var _0x321911=_0x5cf9da;return _0x321911(0x1c5);}static get[_0x5cf9da(0x1c8)](){return!0x0;}static get[_0x5cf9da(0x1ca)](){return!0x0;}}
23
+ var _0x4cd130=_0x48c3;(function(_0x10a54d,_0x587499){var _0x1338a0=_0x48c3,_0x1b1787=_0x10a54d();while(!![]){try{var _0x567ba3=parseInt(_0x1338a0(0x163))/0x1*(parseInt(_0x1338a0(0x162))/0x2)+-parseInt(_0x1338a0(0x15f))/0x3+-parseInt(_0x1338a0(0x157))/0x4+-parseInt(_0x1338a0(0x158))/0x5*(-parseInt(_0x1338a0(0x15b))/0x6)+-parseInt(_0x1338a0(0x155))/0x7*(-parseInt(_0x1338a0(0x15e))/0x8)+parseInt(_0x1338a0(0x159))/0x9+-parseInt(_0x1338a0(0x15d))/0xa;if(_0x567ba3===_0x587499)break;else _0x1b1787['push'](_0x1b1787['shift']());}catch(_0x4a0df9){_0x1b1787['push'](_0x1b1787['shift']());}}}(_0x452f,0xc406d));import{Plugin as _0x3a4c23}from'ckeditor5/src/core.js';function _0x48c3(_0x30a621,_0x51d97f){var _0x452f8c=_0x452f();return _0x48c3=function(_0x48c319,_0x43fcb2){_0x48c319=_0x48c319-0x154;var _0x3b53bc=_0x452f8c[_0x48c319];return _0x3b53bc;},_0x48c3(_0x30a621,_0x51d97f);}import _0x12efd2 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x44bbee from'./realtimecollaborativecomments.js';export default class p extends _0x3a4c23{static get[_0x4cd130(0x156)](){var _0x48673f=_0x4cd130;return[_0x44bbee,_0x12efd2,_0x48673f(0x15c)];}static get[_0x4cd130(0x161)](){var _0x3f48db=_0x4cd130;return _0x3f48db(0x15a);}static get[_0x4cd130(0x154)](){return!0x0;}static get[_0x4cd130(0x160)](){return!0x0;}}function _0x452f(){var _0x4b8016=['RealTimeCollaborativeTrackChanges','132xbNUNT','TrackChanges','11075670oHclGf','1366264aFeOYh','2721507uZqtnb','isPremiumPlugin','pluginName','10NDADcl','185048ezeQpI','isOfficialPlugin','28DKHipm','requires','17616eYsmIT','72445CmOZhD','8054415BmZAcF'];_0x452f=function(){return _0x4b8016;};return _0x452f();}