@ckeditor/ckeditor5-real-time-collaboration 47.4.0 → 47.5.0-alpha.1

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 +16 -16
  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 _0x1b883c=_0x5a88;function _0x5a88(_0x3f2b39,_0x18dacf){const _0x3c95b6=_0x3c95();return _0x5a88=function(_0x5a8832,_0x547b38){_0x5a8832=_0x5a8832-0x14e;let _0xf0e967=_0x3c95b6[_0x5a8832];return _0xf0e967;},_0x5a88(_0x3f2b39,_0x18dacf);}(function(_0x597c9d,_0x6c5b44){const _0x9156e8=_0x5a88,_0x1dea1f=_0x597c9d();while(!![]){try{const _0x49a614=parseInt(_0x9156e8(0x185))/0x1+-parseInt(_0x9156e8(0x16e))/0x2+-parseInt(_0x9156e8(0x196))/0x3+-parseInt(_0x9156e8(0x195))/0x4*(-parseInt(_0x9156e8(0x191))/0x5)+parseInt(_0x9156e8(0x170))/0x6*(parseInt(_0x9156e8(0x192))/0x7)+parseInt(_0x9156e8(0x176))/0x8*(parseInt(_0x9156e8(0x15d))/0x9)+-parseInt(_0x9156e8(0x14f))/0xa;if(_0x49a614===_0x6c5b44)break;else _0x1dea1f['push'](_0x1dea1f['shift']());}catch(_0x5736d8){_0x1dea1f['push'](_0x1dea1f['shift']());}}}(_0x3c95,0xbde9b));import{ContextPlugin as _0x1c4a65}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2bf45d,CKEditorError as _0x49985d}from'ckeditor5/src/utils.js';function _0x3c95(){const _0x91cea5=['change:me','error','Connected\x20users\x20limit\x20exceeded','webSocketUrl','get','state','listenTo','initialReconnectionInterval','_reconnect','delete','stopListening','1273715FstszZ','DISCONNECTED','_domEmitter','showWarning','function','connection','websocketgateway-missing-websocket-url','WebSocketGateway','isInReconnectionStack','CONNECTED','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','10UTldti','210eWaJKc','context','_reconnectionStack','3082492ffuHbF','506952vxgkcw','bind','isPremiumPlugin','36987850zYlzBG','reconnect','websocketgateway-plugin-already-registered','_isBrowserOffline','then','set','constructor','has','code','from','real-time-collaboration','disconnect','cloudservices-reconnection-error','pluginName','18VAHlUS','CloudServices','_shouldPluginsReconnect','connected','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.','online','token','requires','isOfficialPlugin','addToReconnectionStack','catch','connect','cloudServices.connectionTimeout','add','init','offline','cloudServices.requestTimeout','217698EzQdFc','limitExceeded','185490fHBVdF','cloudservices-init','CONNECTING','websocketgateway-missing-token','define','config','4048360jsuONZ','plugins','all','destroy'];_0x3c95=function(){return _0x91cea5;};return _0x3c95();}import{WebSocketGateway as _0x248116,WEB_SOCKET_GATEWAY_STATES as _0x79ea2f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5d7fb8}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x1c4a65{static [_0x1b883c(0x18c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x248116)());static [_0x1b883c(0x181)]=0x3e8;[_0x1b883c(0x18a)];[_0x1b883c(0x194)];[_0x1b883c(0x15f)];[_0x1b883c(0x187)];static get[_0x1b883c(0x164)](){const _0x343fac=_0x1b883c;return[_0x343fac(0x15e),_0x5d7fb8];}static get[_0x1b883c(0x15c)](){const _0x126761=_0x1b883c;return _0x126761(0x18c);}static get[_0x1b883c(0x165)](){return!0x0;}static get[_0x1b883c(0x14e)](){return!0x0;}constructor(_0x295663){const _0xd07859=_0x1b883c;super(_0x295663),this[_0xd07859(0x154)](_0xd07859(0x17f),_0x79ea2f[_0xd07859(0x18e)]),this[_0xd07859(0x154)](_0xd07859(0x152),!0x1),this[_0xd07859(0x194)]=new Set(),this[_0xd07859(0x15f)]=!0x1,this[_0xd07859(0x187)]=new(_0x2bf45d())();}[_0x1b883c(0x16b)](){const _0x3ef235=_0x1b883c,_0x181d70=this[_0x3ef235(0x193)],_0x53de7d=_0x181d70[_0x3ef235(0x177)][_0x3ef235(0x17e)](_0x3ef235(0x15e)),_0x529faf=_0x181d70[_0x3ef235(0x177)][_0x3ef235(0x17e)](_0x5d7fb8);if(!_0x53de7d[_0x3ef235(0x163)])throw new _0x49985d(_0x3ef235(0x173),this);if(!_0x53de7d[_0x3ef235(0x17d)])throw new _0x49985d(_0x3ef235(0x18b),this);return this[_0x3ef235(0x187)][_0x3ef235(0x180)](window,_0x3ef235(0x16c),()=>this[_0x3ef235(0x152)]=!0x0),this[_0x3ef235(0x187)][_0x3ef235(0x180)](window,_0x3ef235(0x162),()=>this[_0x3ef235(0x152)]=!0x1),this[_0x3ef235(0x193)][_0x3ef235(0x175)][_0x3ef235(0x174)](_0x3ef235(0x169),0xa),this[_0x3ef235(0x193)][_0x3ef235(0x175)][_0x3ef235(0x174)](_0x3ef235(0x16d),0x14),WebSocketGateway[_0x3ef235(0x18c)][_0x3ef235(0x168)](_0x53de7d[_0x3ef235(0x163)],_0x53de7d[_0x3ef235(0x17d)],{'timeout':0x3e8*this[_0x3ef235(0x193)][_0x3ef235(0x175)][_0x3ef235(0x17e)](_0x3ef235(0x169)),'requestTimeout':0x3e8*this[_0x3ef235(0x193)][_0x3ef235(0x175)][_0x3ef235(0x17e)](_0x3ef235(0x16d))})[_0x3ef235(0x153)](_0x59b34c=>{const _0x1793d9=_0x3ef235;if(this[_0x1793d9(0x18a)]=_0x59b34c,this[_0x1793d9(0x197)](_0x1793d9(0x17f))['to'](_0x59b34c,_0x1793d9(0x17f),this,_0x1793d9(0x152),(_0x357ba8,_0x3a8fdc)=>(_0x1793d9(0x160)!==_0x357ba8&&(this[_0x1793d9(0x15f)]=!0x0),_0x3a8fdc||_0x357ba8!==_0x79ea2f[_0x1793d9(0x18e)]?_0x79ea2f[_0x1793d9(0x186)]:this[_0x1793d9(0x17f)]==_0x79ea2f[_0x1793d9(0x186)]&&this[_0x1793d9(0x15f)]?(this[_0x1793d9(0x15f)]=!0x1,this[_0x1793d9(0x182)](),_0x79ea2f[_0x1793d9(0x172)]):_0x79ea2f[_0x1793d9(0x18e)])),this[_0x1793d9(0x18a)]['on'](_0x1793d9(0x17b),(_0x25d2f0,_0x29f42f)=>{const _0x27d764=_0x1793d9;if(_0x27d764(0x16f)!==_0x29f42f[_0x27d764(0x157)])throw console[_0x27d764(0x17b)](_0x29f42f),new _0x49985d(_0x27d764(0x171),null,{'originalError':_0x29f42f});_0x529faf[_0x27d764(0x188)](_0x27d764(0x161),{'title':_0x27d764(0x17c),'namespace':_0x27d764(0x159)});}),!_0x59b34c['me'])return new Promise(_0x3a1952=>_0x59b34c['on'](_0x1793d9(0x17a),_0x3a1952));})[_0x3ef235(0x167)](_0x5b7a95=>{const _0x466a54=_0x3ef235;throw console[_0x466a54(0x17b)](_0x5b7a95),new _0x49985d(_0x466a54(0x171),null,{'originalError':_0x5b7a95});});}[_0x1b883c(0x166)](_0x9c918e){const _0x493dd7=_0x1b883c;if(_0x493dd7(0x189)!=typeof _0x9c918e[_0x493dd7(0x150)])throw new _0x49985d(_0x493dd7(0x18f),this);if(this[_0x493dd7(0x18d)](_0x9c918e))throw new _0x49985d(_0x493dd7(0x151),this,{'name':_0x9c918e[_0x493dd7(0x155)][_0x493dd7(0x15c)]});this[_0x493dd7(0x194)][_0x493dd7(0x16a)](_0x9c918e);}[_0x1b883c(0x190)](_0x1e95be){const _0x3841cf=_0x1b883c;this[_0x3841cf(0x194)][_0x3841cf(0x183)](_0x1e95be);}[_0x1b883c(0x18d)](_0x464669){const _0x1b6e05=_0x1b883c;return this[_0x1b6e05(0x194)][_0x1b6e05(0x156)](_0x464669);}[_0x1b883c(0x182)](){const _0x3822cf=_0x1b883c;return this[_0x3822cf(0x18a)][_0x3822cf(0x150)]()[_0x3822cf(0x153)](()=>Promise[_0x3822cf(0x178)](Array[_0x3822cf(0x158)](this[_0x3822cf(0x194)],_0x2f6c8e=>_0x2f6c8e[_0x3822cf(0x150)]())))[_0x3822cf(0x153)](()=>this[_0x3822cf(0x17f)]=_0x79ea2f[_0x3822cf(0x18e)])[_0x3822cf(0x167)](_0x250e33=>{const _0x50762a=_0x3822cf;throw console[_0x50762a(0x17b)](_0x250e33),new _0x49985d(_0x50762a(0x15b),this[_0x50762a(0x193)]);});}[_0x1b883c(0x15a)](){const _0x253d25=_0x1b883c;this[_0x253d25(0x18a)]&&this[_0x253d25(0x18a)][_0x253d25(0x15a)](),this[_0x253d25(0x17f)]=_0x79ea2f[_0x253d25(0x186)],this[_0x253d25(0x187)][_0x253d25(0x184)]();}[_0x1b883c(0x179)](){const _0x47812e=_0x1b883c;this[_0x47812e(0x15a)](),super[_0x47812e(0x179)]();}}
23
+ const _0x2484be=_0x1972;(function(_0x25eace,_0x3d717d){const _0x543246=_0x1972,_0x2462a1=_0x25eace();while(!![]){try{const _0x4eba9e=-parseInt(_0x543246(0x13c))/0x1+parseInt(_0x543246(0x134))/0x2+parseInt(_0x543246(0x11a))/0x3*(-parseInt(_0x543246(0x11b))/0x4)+-parseInt(_0x543246(0x143))/0x5*(parseInt(_0x543246(0x128))/0x6)+parseInt(_0x543246(0x159))/0x7+parseInt(_0x543246(0x11c))/0x8*(-parseInt(_0x543246(0x12b))/0x9)+-parseInt(_0x543246(0x149))/0xa*(-parseInt(_0x543246(0x151))/0xb);if(_0x4eba9e===_0x3d717d)break;else _0x2462a1['push'](_0x2462a1['shift']());}catch(_0x5913e8){_0x2462a1['push'](_0x2462a1['shift']());}}}(_0x4493,0xe9d97));import{ContextPlugin as _0xd96a9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4a2f1a,CKEditorError as _0x3b8d38}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x528e82,WEB_SOCKET_GATEWAY_STATES as _0x2e4212}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1972(_0x383faf,_0x21fc30){const _0x44936e=_0x4493();return _0x1972=function(_0x1972ea,_0x7edc3e){_0x1972ea=_0x1972ea-0x116;let _0x5405e9=_0x44936e[_0x1972ea];return _0x5405e9;},_0x1972(_0x383faf,_0x21fc30);}import{Notification as _0x1bb923}from'ckeditor5/src/ui.js';function _0x4493(){const _0x5a9199=['get','requires','bind','init','all','isOfficialPlugin','websocketgateway-plugin-already-registered','then','websocketgateway-missing-token','real-time-collaboration','limitExceeded','2517858IGvfvi','4zMyHkn','8PyNpOx','DISCONNECTED','token','webSocketUrl','cloudServices.requestTimeout','WebSocketGateway','websocketgateway-missing-websocket-url','CONNECTED','Connected\x20users\x20limit\x20exceeded','_reconnectionStack','has','plugins','8706342iZhtSx','from','connected','14131935jQjYCR','showWarning','context','reconnect','online','removeFromReconnectionStack','pluginName','listenTo','connection','2114762VRglUm','delete','destroy','define','_shouldPluginsReconnect','function','cloudservices-reconnection-error','CONNECTING','1355431gJXeUP','cloudServices.connectionTimeout','state','_isBrowserOffline','error','code','CloudServices','5oiGAZu','config','add','change:me','_reconnect','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.','15790PCHFUf','catch','disconnect','isInReconnectionStack','offline','initialReconnectionInterval','cloudservices-init','constructor','35596PERRYP','set','_domEmitter','stopListening','addToReconnectionStack','isPremiumPlugin','connect','websocketgateway-invalid-plugin-interface','47677ydrOdg'];_0x4493=function(){return _0x5a9199;};return _0x4493();}export class WebSocketGateway extends _0xd96a9{static [_0x2484be(0x121)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x528e82)());static [_0x2484be(0x14e)]=0x3e8;[_0x2484be(0x133)];[_0x2484be(0x125)];[_0x2484be(0x138)];[_0x2484be(0x153)];static get[_0x2484be(0x15b)](){const _0x3eebd3=_0x2484be;return[_0x3eebd3(0x142),_0x1bb923];}static get[_0x2484be(0x131)](){const _0x1c5781=_0x2484be;return _0x1c5781(0x121);}static get[_0x2484be(0x15f)](){return!0x0;}static get[_0x2484be(0x156)](){return!0x0;}constructor(_0x534a77){const _0x2b51dd=_0x2484be;super(_0x534a77),this[_0x2b51dd(0x152)](_0x2b51dd(0x13e),_0x2e4212[_0x2b51dd(0x123)]),this[_0x2b51dd(0x152)](_0x2b51dd(0x13f),!0x1),this[_0x2b51dd(0x125)]=new Set(),this[_0x2b51dd(0x138)]=!0x1,this[_0x2b51dd(0x153)]=new(_0x4a2f1a())();}[_0x2484be(0x15d)](){const _0x567da8=_0x2484be,_0x271358=this[_0x567da8(0x12d)],_0x4ed9e0=_0x271358[_0x567da8(0x127)][_0x567da8(0x15a)](_0x567da8(0x142)),_0x5be0af=_0x271358[_0x567da8(0x127)][_0x567da8(0x15a)](_0x1bb923);if(!_0x4ed9e0[_0x567da8(0x11e)])throw new _0x3b8d38(_0x567da8(0x117),this);if(!_0x4ed9e0[_0x567da8(0x11f)])throw new _0x3b8d38(_0x567da8(0x122),this);return this[_0x567da8(0x153)][_0x567da8(0x132)](window,_0x567da8(0x14d),()=>this[_0x567da8(0x13f)]=!0x0),this[_0x567da8(0x153)][_0x567da8(0x132)](window,_0x567da8(0x12f),()=>this[_0x567da8(0x13f)]=!0x1),this[_0x567da8(0x12d)][_0x567da8(0x144)][_0x567da8(0x137)](_0x567da8(0x13d),0xa),this[_0x567da8(0x12d)][_0x567da8(0x144)][_0x567da8(0x137)](_0x567da8(0x120),0x14),WebSocketGateway[_0x567da8(0x121)][_0x567da8(0x157)](_0x4ed9e0[_0x567da8(0x11e)],_0x4ed9e0[_0x567da8(0x11f)],{'timeout':0x3e8*this[_0x567da8(0x12d)][_0x567da8(0x144)][_0x567da8(0x15a)](_0x567da8(0x13d)),'requestTimeout':0x3e8*this[_0x567da8(0x12d)][_0x567da8(0x144)][_0x567da8(0x15a)](_0x567da8(0x120))})[_0x567da8(0x116)](_0x59bf60=>{const _0x5918a4=_0x567da8;if(this[_0x5918a4(0x133)]=_0x59bf60,this[_0x5918a4(0x15c)](_0x5918a4(0x13e))['to'](_0x59bf60,_0x5918a4(0x13e),this,_0x5918a4(0x13f),(_0x4307a8,_0x5bf522)=>(_0x5918a4(0x12a)!==_0x4307a8&&(this[_0x5918a4(0x138)]=!0x0),_0x5bf522||_0x4307a8!==_0x2e4212[_0x5918a4(0x123)]?_0x2e4212[_0x5918a4(0x11d)]:this[_0x5918a4(0x13e)]==_0x2e4212[_0x5918a4(0x11d)]&&this[_0x5918a4(0x138)]?(this[_0x5918a4(0x138)]=!0x1,this[_0x5918a4(0x147)](),_0x2e4212[_0x5918a4(0x13b)]):_0x2e4212[_0x5918a4(0x123)])),this[_0x5918a4(0x133)]['on'](_0x5918a4(0x140),(_0x1f0ba4,_0x26974d)=>{const _0xc583b1=_0x5918a4;if(_0xc583b1(0x119)!==_0x26974d[_0xc583b1(0x141)])throw console[_0xc583b1(0x140)](_0x26974d),new _0x3b8d38(_0xc583b1(0x14f),null,{'originalError':_0x26974d});_0x5be0af[_0xc583b1(0x12c)](_0xc583b1(0x148),{'title':_0xc583b1(0x124),'namespace':_0xc583b1(0x118)});}),!_0x59bf60['me'])return new Promise(_0x49b3f5=>_0x59bf60['on'](_0x5918a4(0x146),_0x49b3f5));})[_0x567da8(0x14a)](_0x4ebb9a=>{const _0x3dab56=_0x567da8;throw console[_0x3dab56(0x140)](_0x4ebb9a),new _0x3b8d38(_0x3dab56(0x14f),null,{'originalError':_0x4ebb9a});});}[_0x2484be(0x155)](_0x2ced3c){const _0x5133f3=_0x2484be;if(_0x5133f3(0x139)!=typeof _0x2ced3c[_0x5133f3(0x12e)])throw new _0x3b8d38(_0x5133f3(0x158),this);if(this[_0x5133f3(0x14c)](_0x2ced3c))throw new _0x3b8d38(_0x5133f3(0x160),this,{'name':_0x2ced3c[_0x5133f3(0x150)][_0x5133f3(0x131)]});this[_0x5133f3(0x125)][_0x5133f3(0x145)](_0x2ced3c);}[_0x2484be(0x130)](_0x5eee22){const _0x4d8b9b=_0x2484be;this[_0x4d8b9b(0x125)][_0x4d8b9b(0x135)](_0x5eee22);}[_0x2484be(0x14c)](_0x4f0536){const _0x3dce2c=_0x2484be;return this[_0x3dce2c(0x125)][_0x3dce2c(0x126)](_0x4f0536);}[_0x2484be(0x147)](){const _0x11116f=_0x2484be;return this[_0x11116f(0x133)][_0x11116f(0x12e)]()[_0x11116f(0x116)](()=>Promise[_0x11116f(0x15e)](Array[_0x11116f(0x129)](this[_0x11116f(0x125)],_0x51a587=>_0x51a587[_0x11116f(0x12e)]())))[_0x11116f(0x116)](()=>this[_0x11116f(0x13e)]=_0x2e4212[_0x11116f(0x123)])[_0x11116f(0x14a)](_0xcc0409=>{const _0xc56c5d=_0x11116f;throw console[_0xc56c5d(0x140)](_0xcc0409),new _0x3b8d38(_0xc56c5d(0x13a),this[_0xc56c5d(0x12d)]);});}[_0x2484be(0x14b)](){const _0x3fa394=_0x2484be;this[_0x3fa394(0x133)]&&this[_0x3fa394(0x133)][_0x3fa394(0x14b)](),this[_0x3fa394(0x13e)]=_0x2e4212[_0x3fa394(0x11d)],this[_0x3fa394(0x153)][_0x3fa394(0x154)]();}[_0x2484be(0x136)](){const _0x125477=_0x2484be;this[_0x125477(0x14b)](),super[_0x125477(0x136)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4418b6=_0xf4ed;(function(_0x3f0aa7,_0x2dd433){var _0x39ba76=_0xf4ed,_0x52483a=_0x3f0aa7();while(!![]){try{var _0x10ef65=parseInt(_0x39ba76(0x1c1))/0x1*(parseInt(_0x39ba76(0x1c9))/0x2)+-parseInt(_0x39ba76(0x1bc))/0x3*(parseInt(_0x39ba76(0x1c3))/0x4)+-parseInt(_0x39ba76(0x1c7))/0x5*(-parseInt(_0x39ba76(0x1bf))/0x6)+-parseInt(_0x39ba76(0x1bb))/0x7+-parseInt(_0x39ba76(0x1c6))/0x8+-parseInt(_0x39ba76(0x1c0))/0x9*(-parseInt(_0x39ba76(0x1c4))/0xa)+parseInt(_0x39ba76(0x1c2))/0xb;if(_0x10ef65===_0x2dd433)break;else _0x52483a['push'](_0x52483a['shift']());}catch(_0x1c34a6){_0x52483a['push'](_0x52483a['shift']());}}}(_0x310e,0x3628e));import{Plugin as _0x302b2d}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x24c430}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x302b2d{static get[_0x4418b6(0x1c5)](){return[_0x24c430];}static get[_0x4418b6(0x1bd)](){var _0x2628a9=_0x4418b6;return _0x2628a9(0x1ca);}static get[_0x4418b6(0x1c8)](){return!0x0;}static get[_0x4418b6(0x1be)](){return!0x0;}}function _0xf4ed(_0x242491,_0x2684d5){var _0x310ece=_0x310e();return _0xf4ed=function(_0xf4ed48,_0x4d05c5){_0xf4ed48=_0xf4ed48-0x1bb;var _0x29ee78=_0x310ece[_0xf4ed48];return _0x29ee78;},_0xf4ed(_0x242491,_0x2684d5);}function _0x310e(){var _0xcf1cb4=['604YBILzG','RealTimeCollaborativeEditing','1604099qFJRtb','21999donDsH','pluginName','isPremiumPlugin','482442zNNauQ','2839419dRtVRa','87HOBThc','1589940EKMcfb','100cIuJqc','10FQtRYy','requires','2032160bKRzoy','25oQrfNv','isOfficialPlugin'];_0x310e=function(){return _0xcf1cb4;};return _0x310e();}
23
+ var _0x3b75f2=_0x1921;(function(_0x580476,_0x16865b){var _0x57706e=_0x1921,_0x101b97=_0x580476();while(!![]){try{var _0x3d5b8a=parseInt(_0x57706e(0xc7))/0x1*(parseInt(_0x57706e(0xbb))/0x2)+parseInt(_0x57706e(0xba))/0x3*(-parseInt(_0x57706e(0xbd))/0x4)+-parseInt(_0x57706e(0xc0))/0x5*(-parseInt(_0x57706e(0xc6))/0x6)+parseInt(_0x57706e(0xb6))/0x7*(-parseInt(_0x57706e(0xc2))/0x8)+parseInt(_0x57706e(0xc3))/0x9*(parseInt(_0x57706e(0xbe))/0xa)+-parseInt(_0x57706e(0xbf))/0xb*(-parseInt(_0x57706e(0xbc))/0xc)+parseInt(_0x57706e(0xc4))/0xd;if(_0x3d5b8a===_0x16865b)break;else _0x101b97['push'](_0x101b97['shift']());}catch(_0x51da92){_0x101b97['push'](_0x101b97['shift']());}}}(_0x4e1c,0x19ad6));function _0x1921(_0x48768a,_0x2c135e){var _0x4e1c6c=_0x4e1c();return _0x1921=function(_0x19217f,_0x4f1b15){_0x19217f=_0x19217f-0xb6;var _0x1911c8=_0x4e1c6c[_0x19217f];return _0x1911c8;},_0x1921(_0x48768a,_0x2c135e);}import{Plugin as _0x15a3dc}from'ckeditor5/src/core.js';function _0x4e1c(){var _0x525216=['RealTimeCollaborativeEditing','23922PnetvH','2bCQheE','12dxdXAC','52iGhZOX','2890NuUbUo','852599BkUSDX','5EvUBHq','isPremiumPlugin','1588072TCNunJ','6507OEtPfD','87958uiOXRx','requires','278184QSWRYN','67759nHmZwJ','7gIWexc','isOfficialPlugin','pluginName'];_0x4e1c=function(){return _0x525216;};return _0x4e1c();}import{RealTimeCollaborationClient as _0xda0ca0}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x15a3dc{static get[_0x3b75f2(0xc5)](){return[_0xda0ca0];}static get[_0x3b75f2(0xb8)](){var _0x114a2a=_0x3b75f2;return _0x114a2a(0xb9);}static get[_0x3b75f2(0xb7)](){return!0x0;}static get[_0x3b75f2(0xc1)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cae30=_0x4945;(function(_0x27084a,_0x5ab13f){const _0x4f23f8=_0x4945,_0x14f9d4=_0x27084a();while(!![]){try{const _0x592735=-parseInt(_0x4f23f8(0x182))/0x1*(parseInt(_0x4f23f8(0x16d))/0x2)+parseInt(_0x4f23f8(0x1b0))/0x3*(-parseInt(_0x4f23f8(0x186))/0x4)+-parseInt(_0x4f23f8(0x172))/0x5+-parseInt(_0x4f23f8(0x18a))/0x6*(parseInt(_0x4f23f8(0x1aa))/0x7)+-parseInt(_0x4f23f8(0x17a))/0x8+parseInt(_0x4f23f8(0x1af))/0x9+parseInt(_0x4f23f8(0x1c7))/0xa;if(_0x592735===_0x5ab13f)break;else _0x14f9d4['push'](_0x14f9d4['shift']());}catch(_0x27b5bd){_0x14f9d4['push'](_0x14f9d4['shift']());}}}(_0x4de7,0xf2d91));import{Plugin as _0x52ed5f}from'ckeditor5/src/core.js';function _0x4de7(){const _0x4cdb89=['_isPendingUpdate','add','fromVersion','39679930lKixRr','type','adapter','CloudServicesRevisionHistoryAdapter','connection','has','destroy','createdAt','reInit','keys','revisionsUpdated','addUser','getMany','_revisionTracker','getRevisions','getOperations','bind','CONNECTED','once','startsWith','pluginName','_revisionDataBuilder','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','sendBufferedUpdates','code','setRevisionData','2998pScvYh','_bufferUpdate','reconnect','authors','marker','2879990DqlHQI','getUser','currentRevision','getRevision','remove','_fixRevision','connected','_waitForServiceReady','10903680UxdGda','setSource','_offset','config','init','editor','isConnected','isEnabled','609jwICft','sessionId','plugins','_isConnected','27172NGlIwQ','change:_isConnected','_oldOffset','isPremiumPlugin','18ZIuehz','cloud-services-internal-error:\x20Not\x20connected.','off','isEmptyCurrent','collaboration.channelId','size','baseVersion','catch','length','_revisions','_update','from','requires','_handleRevisionsUpdate','_getLatestVersion','data','repository','serverHistory','diffData','isOfficialPlugin','then','_getLatestVersionFromServerOperations','_handleReconnectionError','_lastRequestId','cloud-services-internal-error:\x20Request\x20timeout.','_fetchMissingUsers','listenTo','isBundleUploaded','_bufferedUpdates','reverse','buildRevisionData','updateRevisions','1034530dPfHof','addToReconnectionStack','400','message','change:_isPendingUpdate','7910613iHPxkx','246odYPZW','_createCurrentRevision','map','get','RevisionHistoryService','connect','RevisionHistory','_preventResendingRevisionData','toVersion','creatorId','max','affectsData','addRevisionData','cloudServices.bundleVersion','authorsIds','_revisionHistoryService','RevisionTracker','state','_startingVersion','wrongRequestId'];_0x4de7=function(){return _0x4cdb89;};return _0x4de7();}import{version as _0x1b7086}from'ckeditor5/src/utils.js';import{Users as _0x49ac99}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x5a5e48}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4bd860}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3a1368}from'../realtimecollaborativeediting/sessions.js';function _0x4945(_0x2f235,_0x3768a0){const _0x4de708=_0x4de7();return _0x4945=function(_0x494543,_0x3bc4c6){_0x494543=_0x494543-0x158;let _0x473cac=_0x4de708[_0x494543];return _0x473cac;},_0x4945(_0x2f235,_0x3768a0);}import{EditorService as _0x481efa,RevisionHistoryService as _0x11b19a,User as _0x19182b,WEB_SOCKET_GATEWAY_STATES as _0x44c41a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x52ed5f{static [_0x1cae30(0x1b4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x11b19a)());[_0x1cae30(0x1a1)];[_0x1cae30(0x160)];[_0x1cae30(0x1bf)];[_0x1cae30(0x188)];static get[_0x1cae30(0x196)](){const _0x5832a8=_0x1cae30;return[_0x4bd860,_0x5a5e48,_0x5832a8(0x1b6),_0x3a1368,_0x49ac99];}static get[_0x1cae30(0x167)](){const _0x964fdc=_0x1cae30;return _0x964fdc(0x1ca);}static get[_0x1cae30(0x19d)](){return!0x0;}static get[_0x1cae30(0x189)](){return!0x0;}constructor(_0x1ea562){const _0x670daf=_0x1cae30;super(_0x1ea562);const _0x5119d1=this[_0x670daf(0x17f)][_0x670daf(0x17d)][_0x670daf(0x1b3)](_0x670daf(0x18e));this[_0x670daf(0x1a1)]=null,this[_0x670daf(0x160)]=this[_0x670daf(0x17f)][_0x670daf(0x184)][_0x670daf(0x1b3)](_0x670daf(0x1c0)),this[_0x670daf(0x1bf)]=new CloudServicesRevisionHistoryAdapter[(_0x670daf(0x1b4))](_0x5119d1);}async[_0x1cae30(0x17e)](){const _0x373957=_0x1cae30,_0x261ad9=this[_0x373957(0x17f)][_0x373957(0x184)][_0x373957(0x1b3)](_0x5a5e48),_0x401608=_0x261ad9[_0x373957(0x19b)],_0x89a3ed=this[_0x373957(0x17f)][_0x373957(0x184)][_0x373957(0x1b3)](_0x4bd860);this[_0x373957(0x160)][_0x373957(0x17b)]({'history':_0x401608,'getLatestVersion':()=>this[_0x373957(0x198)](),'getCurrentRevisionId':()=>_0x261ad9[_0x373957(0x183)]});const _0x25c1cb=this[_0x373957(0x17f)][_0x373957(0x17d)][_0x373957(0x1b3)](_0x373957(0x1bd))||_0x1b7086,_0x1a2047=await _0x481efa[_0x373957(0x1a5)](_0x89a3ed[_0x373957(0x1cb)],_0x25c1cb);this[_0x373957(0x17f)][_0x373957(0x184)][_0x373957(0x1b3)](_0x373957(0x1b6))[_0x373957(0x1c9)]={'getRevision':async({revisionId:_0x5c60a7})=>(await this[_0x373957(0x179)](),await this[_0x373957(0x1bf)][_0x373957(0x175)](_0x5c60a7)),'updateRevisions':async _0xcea2c7=>{const _0x106ef5=_0x373957;await this[_0x106ef5(0x179)]();const _0x24f3d6=this[_0x106ef5(0x160)][_0x106ef5(0x174)];if(_0x1a2047&&0x1===_0xcea2c7[_0x106ef5(0x192)]&&_0xcea2c7[0x0]['id']===_0x24f3d6['id'])return _0xcea2c7;for(const _0xa0a2eb of _0xcea2c7)_0xa0a2eb['id']===_0x24f3d6['id']&&(_0xa0a2eb[_0x106ef5(0x18d)]=_0xa0a2eb[_0x106ef5(0x1c6)]===_0xa0a2eb[_0x106ef5(0x1b8)]);return this[_0x106ef5(0x1bf)][_0x106ef5(0x1a9)](_0xcea2c7,this[_0x106ef5(0x1a1)])[_0x106ef5(0x19e)](_0x506735=>(this[_0x106ef5(0x1a1)]=_0x506735,_0xcea2c7))[_0x106ef5(0x191)](_0x1db16b=>{const _0x3e4b15=_0x106ef5;if(L(_0x1db16b)||_0x3e4b15(0x1ac)===_0x1db16b[_0x3e4b15(0x16b)]&&void 0x0!==_0x1db16b[_0x3e4b15(0x199)][_0x3e4b15(0x1c3)]){for(const _0x5f32ca of _0xcea2c7){!this[_0x3e4b15(0x160)][_0x3e4b15(0x19a)][_0x3e4b15(0x175)](_0x5f32ca['id'])||this[_0x3e4b15(0x160)][_0x3e4b15(0x16e)](_0x5f32ca['id'],_0x5f32ca,!0x1);}if(L(_0x1db16b))throw _0x1db16b;return _0xcea2c7;}throw _0x1db16b;});}},this[_0x373957(0x1a4)](this[_0x373957(0x1bf)],_0x373957(0x15d),(_0x3b1ed1,{revisionsData:_0x21baa8,requestId:_0x2e9347})=>{const _0x46c9fd=_0x373957;Math[_0x46c9fd(0x1ba)](..._0x21baa8[_0x46c9fd(0x1b2)](_0x7f2890=>_0x7f2890[_0x46c9fd(0x1b8)]))>this[_0x46c9fd(0x19f)]()-0x1?this[_0x46c9fd(0x198)]()[_0x46c9fd(0x19e)](()=>{const _0x2c4bcd=_0x46c9fd;this[_0x2c4bcd(0x197)](_0x21baa8,_0x2e9347);}):this[_0x46c9fd(0x197)](_0x21baa8,_0x2e9347);});const {revisions:_0x5adff0,requestId:_0x58548e}=await this[_0x373957(0x1bf)][_0x373957(0x1b5)](_0x89a3ed[_0x373957(0x1cb)]);_0x89a3ed[_0x373957(0x1ab)](this),this[_0x373957(0x1a1)]=_0x58548e,await this[_0x373957(0x1a3)](_0x5adff0);for(const _0x351c42 of _0x5adff0)this[_0x373957(0x160)][_0x373957(0x1bc)](_0x351c42);this[_0x373957(0x1a4)](_0x261ad9,_0x373957(0x187),(_0x4e2d53,_0x302ffa,_0x49ea69)=>{const _0x4188d6=_0x373957;_0x49ea69&&(this[_0x4188d6(0x188)]=_0x261ad9[_0x4188d6(0x17c)],_0x4e2d53[_0x4188d6(0x18c)]());}),this[_0x373957(0x160)][_0x373957(0x163)](_0x373957(0x181))['to'](_0x89a3ed,_0x373957(0x1c1),_0x18be41=>_0x18be41===_0x44c41a[_0x373957(0x164)]);}async[_0x1cae30(0x16f)](){const _0x8acd52=_0x1cae30,_0x36f96f=this[_0x8acd52(0x17f)][_0x8acd52(0x184)][_0x8acd52(0x1b3)](_0x4bd860),_0x188f16=this[_0x8acd52(0x17f)][_0x8acd52(0x184)][_0x8acd52(0x1b3)](_0x5a5e48),_0xc1520a=async()=>{const _0x2edf1a=_0x8acd52,_0x4571c4=this[_0x2edf1a(0x160)][_0x2edf1a(0x174)],_0x17c903=_0x4571c4['id'],_0x1f5630=_0x17c903!==_0x188f16[_0x2edf1a(0x183)];if(_0x1f5630){const _0x2ad802=_0x188f16[_0x2edf1a(0x17c)]-this[_0x2edf1a(0x188)],_0x46d9f9=this[_0x2edf1a(0x19f)]();this[_0x2edf1a(0x160)][_0x2edf1a(0x168)][_0x2edf1a(0x15b)]();if(_0x4571c4[_0x2edf1a(0x1b8)]+_0x2ad802!==_0x46d9f9){const _0x126e18=_0x4571c4[_0x2edf1a(0x1c6)]+_0x2ad802,_0x146d01=this[_0x2edf1a(0x17f)][_0x2edf1a(0x184)][_0x2edf1a(0x1b3)](_0x49ac99),_0x57e486=this[_0x2edf1a(0x160)][_0x2edf1a(0x1a8)]({'revision':_0x4571c4,'from':_0x126e18,'to':_0x46d9f9});_0x57e486['id']=_0x4571c4['id'];const _0x4a1f70=_0x57e486[_0x2edf1a(0x1be)][_0x2edf1a(0x1b2)](_0x5ba8a1=>_0x146d01[_0x2edf1a(0x173)](_0x5ba8a1));_0x4571c4[_0x2edf1a(0x194)]({..._0x57e486,'authors':_0x4a1f70},!0x0),this[_0x2edf1a(0x160)][_0x2edf1a(0x16e)](_0x4571c4['id'],_0x57e486,!0x0);}this[_0x2edf1a(0x160)][_0x2edf1a(0x1c2)]=_0x46d9f9,(_0x4571c4[_0x2edf1a(0x1b8)]===_0x4571c4[_0x2edf1a(0x1c6)]&&!this[_0x2edf1a(0x160)][_0x2edf1a(0x1a6)][_0x2edf1a(0x158)](_0x17c903)&&this[_0x2edf1a(0x160)][_0x2edf1a(0x19a)][_0x2edf1a(0x193)][_0x2edf1a(0x176)](_0x17c903),this[_0x2edf1a(0x160)][_0x2edf1a(0x1b1)](_0x46d9f9));}const {revisions:_0x165cff,requestId:_0x5dfc58}=await this[_0x2edf1a(0x1bf)][_0x2edf1a(0x16f)](_0x36f96f[_0x2edf1a(0x1cb)],this[_0x2edf1a(0x1a1)]);_0x1f5630&&_0x165cff[_0x2edf1a(0x192)]>0x0?_0x188f16[_0x2edf1a(0x1a0)]():(await this[_0x2edf1a(0x1a3)](_0x165cff),this[_0x2edf1a(0x197)](_0x165cff,_0x5dfc58),this[_0x2edf1a(0x160)][_0x2edf1a(0x16a)]());};return _0x188f16[_0x8acd52(0x185)]?_0xc1520a():new Promise((_0x3b0baf,_0x77d7d1)=>{const _0xa549ac=_0x8acd52;_0x188f16[_0xa549ac(0x165)](_0xa549ac(0x187),()=>{const _0xc91ba6=_0xa549ac;_0xc1520a()[_0xc91ba6(0x19e)](_0x3b0baf)[_0xc91ba6(0x191)](_0x77d7d1);});});}[_0x1cae30(0x159)](){const _0x38588e=_0x1cae30;super[_0x38588e(0x159)]();}async[_0x1cae30(0x179)](){const _0x45f6da=_0x1cae30;this[_0x45f6da(0x1bf)][_0x45f6da(0x180)]||await new Promise(_0x4cd30d=>{const _0xe92653=_0x45f6da;this[_0xe92653(0x1a4)](this[_0xe92653(0x1bf)],_0xe92653(0x178),_0x4bd485=>{const _0x193896=_0xe92653;_0x4bd485[_0x193896(0x18c)](),_0x4cd30d();});});}[_0x1cae30(0x19f)](){const _0x1afb51=_0x1cae30,_0x3cbf93=this[_0x1afb51(0x17f)][_0x1afb51(0x184)][_0x1afb51(0x1b3)](_0x5a5e48)[_0x1afb51(0x19b)][_0x1afb51(0x162)]()[_0x1afb51(0x1a7)]();for(const _0x19ef2b of _0x3cbf93)if(_0x1afb51(0x171)!==_0x19ef2b[_0x1afb51(0x1c8)]||_0x19ef2b[_0x1afb51(0x1bb)])return _0x19ef2b[_0x1afb51(0x190)]+0x1;}[_0x1cae30(0x198)](){const _0x5ff0a3=_0x1cae30,_0xd490ef=this[_0x5ff0a3(0x17f)][_0x5ff0a3(0x184)][_0x5ff0a3(0x1b3)](_0x5a5e48);return new Promise(_0x45ee03=>{const _0x3d8dd8=_0x5ff0a3;_0xd490ef[_0x3d8dd8(0x1c4)]?_0xd490ef[_0x3d8dd8(0x165)](_0x3d8dd8(0x1ae),()=>{const _0x387be0=_0x3d8dd8;_0x45ee03(this[_0x387be0(0x19f)]());}):_0x45ee03(this[_0x3d8dd8(0x19f)]());});}[_0x1cae30(0x197)](_0x37ef93,_0x596527){const _0x459ce4=_0x1cae30,_0x1c4319=this[_0x459ce4(0x160)][_0x459ce4(0x19a)];this[_0x459ce4(0x1a1)]=_0x596527;for(const _0x53a35a of _0x37ef93){const _0xd0186c=_0x1c4319[_0x459ce4(0x175)](_0x53a35a['id']);if(_0xd0186c){if((_0x53a35a[_0x459ce4(0x1c6)]||_0x53a35a[_0x459ce4(0x1b8)])&&(_0x53a35a[_0x459ce4(0x19c)]=null),_0xd0186c===this[_0x459ce4(0x160)][_0x459ce4(0x174)]){const _0x2034f5=Math[_0x459ce4(0x1ba)](_0xd0186c[_0x459ce4(0x1b8)],_0x53a35a[_0x459ce4(0x1b8)]),_0x58f92f=Math[_0x459ce4(0x1ba)](_0xd0186c[_0x459ce4(0x1c6)],_0x53a35a[_0x459ce4(0x1c6)]);let _0x1bd137;_0xd0186c[_0x459ce4(0x1b8)]===_0x53a35a[_0x459ce4(0x1b8)]&&_0xd0186c[_0x459ce4(0x1c6)]===_0x53a35a[_0x459ce4(0x1c6)]?(_0x1bd137=!0x0,this[_0x459ce4(0x1b7)](_0x53a35a)):_0x53a35a[_0x459ce4(0x1b8)]===_0x2034f5&&_0x53a35a[_0x459ce4(0x1c6)]===_0x58f92f?_0x1bd137=!0x1:(_0xd0186c[_0x459ce4(0x1b8)]===_0x2034f5&&_0xd0186c[_0x459ce4(0x1c6)]===_0x58f92f||this[_0x459ce4(0x177)]({'revision':_0xd0186c,'from':_0x58f92f,'to':_0x2034f5}),_0x1bd137=!0x0),_0x1bd137&&(delete _0x53a35a[_0x459ce4(0x1c6)],delete _0x53a35a[_0x459ce4(0x1b8)],delete _0x53a35a[_0x459ce4(0x19c)],delete _0x53a35a[_0x459ce4(0x15a)],delete _0x53a35a[_0x459ce4(0x1be)]);}this[_0x459ce4(0x160)][_0x459ce4(0x16c)](_0x53a35a),this[_0x459ce4(0x1b7)](_0x53a35a);}else this[_0x459ce4(0x160)][_0x459ce4(0x1bc)](_0x53a35a);}const _0x132c52=_0x1c4319[_0x459ce4(0x161)]();_0x132c52[_0x459ce4(0x1a7)]();for(let _0x453c90=0x0;_0x453c90<_0x132c52[_0x459ce4(0x192)]-0x1;_0x453c90++){const _0x1d4eea=_0x132c52[_0x453c90],_0x309f8e=_0x132c52[_0x453c90+0x1];if(_0x1d4eea[_0x459ce4(0x1c6)]<_0x309f8e[_0x459ce4(0x1b8)]){const _0x3af19a=_0x309f8e[_0x459ce4(0x1b8)],_0x4f6df4=Math[_0x459ce4(0x1ba)](_0x3af19a,_0x1d4eea[_0x459ce4(0x1b8)]);this[_0x459ce4(0x177)]({'revision':_0x1d4eea,'from':_0x3af19a,'to':_0x4f6df4});}}}[_0x1cae30(0x177)]({revision:_0x347381,from:_0x2682a0,to:_0x5f24cb}={}){const _0x5f2141=_0x1cae30,_0x2b41c1=this[_0x5f2141(0x17f)][_0x5f2141(0x184)][_0x5f2141(0x1b3)](_0x49ac99),_0x3aa55e=this[_0x5f2141(0x160)][_0x5f2141(0x1a8)]({'revision':_0x347381,'from':_0x2682a0,'to':_0x5f24cb});_0x3aa55e[_0x5f2141(0x170)]=_0x3aa55e[_0x5f2141(0x1be)][_0x5f2141(0x1b2)](_0x5207ef=>_0x2b41c1[_0x5f2141(0x173)](_0x5207ef)),_0x347381[_0x5f2141(0x194)](_0x3aa55e);}[_0x1cae30(0x1b7)](_0x586b47){const _0x4a463f=_0x1cae30,_0xdb0299={};_0xdb0299['id']=_0x586b47['id'];for(const _0x44ccbd of Object[_0x4a463f(0x15c)](_0x586b47))'id'!==_0x44ccbd&&(_0xdb0299[_0x44ccbd]=void 0x0);this[_0x4a463f(0x160)][_0x4a463f(0x16e)](_0xdb0299['id'],_0xdb0299,!0x0);}async[_0x1cae30(0x1a3)](_0x602d20){const _0x4050a5=_0x1cae30,_0x15e1fe=this[_0x4050a5(0x17f)][_0x4050a5(0x184)][_0x4050a5(0x1b3)](_0x49ac99),{connection:_0x33bacf}=this[_0x4050a5(0x17f)][_0x4050a5(0x184)][_0x4050a5(0x1b3)](_0x4bd860),_0x1c90a2=new Set();for(const _0x317b68 of _0x602d20){for(const _0x46b9eb of _0x317b68[_0x4050a5(0x1be)])_0x29e763(_0x46b9eb);_0x317b68[_0x4050a5(0x1b9)]&&_0x29e763(_0x317b68[_0x4050a5(0x1b9)]);}if(0x0===_0x1c90a2[_0x4050a5(0x18f)])return;const _0x351f01=await _0x19182b[_0x4050a5(0x15f)](_0x33bacf,Array[_0x4050a5(0x195)](_0x1c90a2));for(const _0x345c7d of _0x351f01)_0x15e1fe[_0x4050a5(0x173)](_0x345c7d['id'])||_0x15e1fe[_0x4050a5(0x15e)](_0x345c7d);function _0x29e763(_0x4e2805){const _0x935444=_0x4050a5;_0x15e1fe[_0x935444(0x173)](_0x4e2805)||_0x1c90a2[_0x935444(0x1c5)](_0x4e2805);}}}function L(_0x3bd876){const _0x134941=_0x1cae30;return _0x3bd876[_0x134941(0x1ad)][_0x134941(0x166)](_0x134941(0x169))||_0x3bd876[_0x134941(0x1ad)][_0x134941(0x166)](_0x134941(0x18b))||_0x3bd876[_0x134941(0x1ad)][_0x134941(0x166)](_0x134941(0x1a2));}
23
+ const _0x21affa=_0x4e1b;(function(_0x50613d,_0x2465ba){const _0x1580d0=_0x4e1b,_0x3435fb=_0x50613d();while(!![]){try{const _0x293b87=-parseInt(_0x1580d0(0xea))/0x1*(parseInt(_0x1580d0(0xf9))/0x2)+parseInt(_0x1580d0(0xe5))/0x3+-parseInt(_0x1580d0(0xaa))/0x4*(-parseInt(_0x1580d0(0xf0))/0x5)+-parseInt(_0x1580d0(0xca))/0x6+-parseInt(_0x1580d0(0xd7))/0x7+-parseInt(_0x1580d0(0xe2))/0x8+-parseInt(_0x1580d0(0x103))/0x9*(-parseInt(_0x1580d0(0x104))/0xa);if(_0x293b87===_0x2465ba)break;else _0x3435fb['push'](_0x3435fb['shift']());}catch(_0x1d1bce){_0x3435fb['push'](_0x3435fb['shift']());}}}(_0x1d5c,0xa3c9e));import{Plugin as _0x58f73a}from'ckeditor5/src/core.js';import{version as _0x43ffbb}from'ckeditor5/src/utils.js';import{Users as _0x216640}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x5efcf3}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x4e1b(_0x5033a6,_0x53b796){const _0x1d5cac=_0x1d5c();return _0x4e1b=function(_0x4e1bff,_0x43c06a){_0x4e1bff=_0x4e1bff-0xa9;let _0x107117=_0x1d5cac[_0x4e1bff];return _0x107117;},_0x4e1b(_0x5033a6,_0x53b796);}import{WebSocketGateway as _0x819f05}from'../realtimecollaborativeediting/websocketgateway.js';function _0x1d5c(){const _0x589457=['getOperations','listenTo','get','794416dkvqUm','change:_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','creatorId','CONNECTED','collaboration.channelId','RevisionHistory','map','pluginName','_startingVersion','45dZRcYP','7041130mmukIJ','_update','_getLatestVersion','off','authorsIds','has','_handleReconnectionError','getRevisions','createdAt','_oldOffset','currentRevision','max','setRevisionData','keys','startsWith','diffData','isConnected','once','isEmptyCurrent','_preventResendingRevisionData','destroy','RevisionTracker','connected','marker','revisionsUpdated','requires','4MEDiOd','change:_isPendingUpdate','addUser','isEnabled','message','code','from','fromVersion','authors','_revisionHistoryService','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','reconnect','setSource','then','serverHistory','_bufferedUpdates','getRevision','data','baseVersion','sendBufferedUpdates','getUser','isOfficialPlugin','_revisions','_createCurrentRevision','sessionId','updateRevisions','editor','adapter','size','isBundleUploaded','type','_getLatestVersionFromServerOperations','4041174nMQyGB','length','plugins','addRevisionData','_isPendingUpdate','init','_offset','400','_bufferUpdate','add','buildRevisionData','wrongRequestId','catch','8987615TugCLn','remove','connection','bind','_fixRevision','_handleRevisionsUpdate','_isConnected','CloudServicesRevisionHistoryAdapter','reverse','addToReconnectionStack','isPremiumPlugin','9112352fBcvTe','_waitForServiceReady','connect','630084GdNWOS','reInit','repository','state','_revisionDataBuilder','3UpAeTe','cloudServices.bundleVersion','_lastRequestId','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsers','config','6142135OHGDBJ','RevisionHistoryService','getMany','toVersion','affectsData','_revisionTracker'];_0x1d5c=function(){return _0x589457;};return _0x1d5c();}import{Sessions as _0x103d9d}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x2a0627,RevisionHistoryService as _0x48d700,User as _0x40af8f,WEB_SOCKET_GATEWAY_STATES as _0x4f9c2f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x58f73a{static [_0x21affa(0xf1)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x48d700)());[_0x21affa(0xec)];[_0x21affa(0xf5)];[_0x21affa(0xb3)];[_0x21affa(0x10d)];static get[_0x21affa(0xa9)](){const _0x4ac494=_0x21affa;return[_0x819f05,_0x5efcf3,_0x4ac494(0xff),_0x103d9d,_0x216640];}static get[_0x21affa(0x101)](){const _0x1c1a63=_0x21affa;return _0x1c1a63(0xde);}static get[_0x21affa(0xbf)](){return!0x0;}static get[_0x21affa(0xe1)](){return!0x0;}constructor(_0x3ee601){const _0x366cde=_0x21affa;super(_0x3ee601);const _0x2b25d0=this[_0x366cde(0xc4)][_0x366cde(0xef)][_0x366cde(0xf8)](_0x366cde(0xfe));this[_0x366cde(0xec)]=null,this[_0x366cde(0xf5)]=this[_0x366cde(0xc4)][_0x366cde(0xcc)][_0x366cde(0xf8)](_0x366cde(0x119)),this[_0x366cde(0xb3)]=new CloudServicesRevisionHistoryAdapter[(_0x366cde(0xf1))](_0x2b25d0);}async[_0x21affa(0xcf)](){const _0x2844f3=_0x21affa,_0x464468=this[_0x2844f3(0xc4)][_0x2844f3(0xcc)][_0x2844f3(0xf8)](_0x5efcf3),_0x226818=_0x464468[_0x2844f3(0xb8)],_0x4ba1a6=this[_0x2844f3(0xc4)][_0x2844f3(0xcc)][_0x2844f3(0xf8)](_0x819f05);this[_0x2844f3(0xf5)][_0x2844f3(0xb6)]({'history':_0x226818,'getLatestVersion':()=>this[_0x2844f3(0x106)](),'getCurrentRevisionId':()=>_0x464468[_0x2844f3(0xc2)]});const _0x5f431f=this[_0x2844f3(0xc4)][_0x2844f3(0xef)][_0x2844f3(0xf8)](_0x2844f3(0xeb))||_0x43ffbb,_0xaafb86=await _0x2a0627[_0x2844f3(0xc7)](_0x4ba1a6[_0x2844f3(0xd9)],_0x5f431f);this[_0x2844f3(0xc4)][_0x2844f3(0xcc)][_0x2844f3(0xf8)](_0x2844f3(0xff))[_0x2844f3(0xc5)]={'getRevision':async({revisionId:_0x271bf2})=>(await this[_0x2844f3(0xe3)](),await this[_0x2844f3(0xb3)][_0x2844f3(0xba)](_0x271bf2)),'updateRevisions':async _0x2e5920=>{const _0x7bd127=_0x2844f3;await this[_0x7bd127(0xe3)]();const _0x45addf=this[_0x7bd127(0xf5)][_0x7bd127(0x10e)];if(_0xaafb86&&0x1===_0x2e5920[_0x7bd127(0xcb)]&&_0x2e5920[0x0]['id']===_0x45addf['id'])return _0x2e5920;for(const _0x5825f6 of _0x2e5920)_0x5825f6['id']===_0x45addf['id']&&(_0x5825f6[_0x7bd127(0x116)]=_0x5825f6[_0x7bd127(0xb1)]===_0x5825f6[_0x7bd127(0xf3)]);return this[_0x7bd127(0xb3)][_0x7bd127(0xc3)](_0x2e5920,this[_0x7bd127(0xec)])[_0x7bd127(0xb7)](_0x18ec77=>(this[_0x7bd127(0xec)]=_0x18ec77,_0x2e5920))[_0x7bd127(0xd6)](_0x41ad6a=>{const _0x6c5837=_0x7bd127;if(ot(_0x41ad6a)||_0x6c5837(0xd1)===_0x41ad6a[_0x6c5837(0xaf)]&&void 0x0!==_0x41ad6a[_0x6c5837(0xbb)][_0x6c5837(0xd5)]){for(const _0x10ad76 of _0x2e5920){!this[_0x6c5837(0xf5)][_0x6c5837(0xe7)][_0x6c5837(0xba)](_0x10ad76['id'])||this[_0x6c5837(0xf5)][_0x6c5837(0xd2)](_0x10ad76['id'],_0x10ad76,!0x1);}if(ot(_0x41ad6a))throw _0x41ad6a;return _0x2e5920;}throw _0x41ad6a;});}},this[_0x2844f3(0xf7)](this[_0x2844f3(0xb3)],_0x2844f3(0x11c),(_0x1b69ad,{revisionsData:_0x4df506,requestId:_0x23135e})=>{const _0x1a5aab=_0x2844f3;Math[_0x1a5aab(0x10f)](..._0x4df506[_0x1a5aab(0x100)](_0x336baf=>_0x336baf[_0x1a5aab(0xf3)]))>this[_0x1a5aab(0xc9)]()-0x1?this[_0x1a5aab(0x106)]()[_0x1a5aab(0xb7)](()=>{const _0x534e63=_0x1a5aab;this[_0x534e63(0xdc)](_0x4df506,_0x23135e);}):this[_0x1a5aab(0xdc)](_0x4df506,_0x23135e);});const {revisions:_0x381f44,requestId:_0x2b1945}=await this[_0x2844f3(0xb3)][_0x2844f3(0xe4)](_0x4ba1a6[_0x2844f3(0xd9)]);_0x4ba1a6[_0x2844f3(0xe0)](this),this[_0x2844f3(0xec)]=_0x2b1945,await this[_0x2844f3(0xee)](_0x381f44);for(const _0x7f05bc of _0x381f44)this[_0x2844f3(0xf5)][_0x2844f3(0xcd)](_0x7f05bc);this[_0x2844f3(0xf7)](_0x464468,_0x2844f3(0xfa),(_0x5c92a2,_0xe3d991,_0x48251e)=>{const _0x3fe1f5=_0x2844f3;_0x48251e&&(this[_0x3fe1f5(0x10d)]=_0x464468[_0x3fe1f5(0xd0)],_0x5c92a2[_0x3fe1f5(0x107)]());}),this[_0x2844f3(0xf5)][_0x2844f3(0xda)](_0x2844f3(0xad))['to'](_0x4ba1a6,_0x2844f3(0xe8),_0x5a0d3f=>_0x5a0d3f===_0x4f9c2f[_0x2844f3(0xfd)]);}async[_0x21affa(0xb5)](){const _0x58b91d=_0x21affa,_0xf73430=this[_0x58b91d(0xc4)][_0x58b91d(0xcc)][_0x58b91d(0xf8)](_0x819f05),_0x4dd267=this[_0x58b91d(0xc4)][_0x58b91d(0xcc)][_0x58b91d(0xf8)](_0x5efcf3),_0x494d6e=async()=>{const _0x54fd24=_0x58b91d,_0x13e57f=this[_0x54fd24(0xf5)][_0x54fd24(0x10e)],_0x3e9ba0=_0x13e57f['id'],_0x2409af=_0x3e9ba0!==_0x4dd267[_0x54fd24(0xc2)];if(_0x2409af){const _0x2b2d6e=_0x4dd267[_0x54fd24(0xd0)]-this[_0x54fd24(0x10d)],_0x87b49f=this[_0x54fd24(0xc9)]();this[_0x54fd24(0xf5)][_0x54fd24(0xe9)][_0x54fd24(0xe6)]();if(_0x13e57f[_0x54fd24(0xf3)]+_0x2b2d6e!==_0x87b49f){const _0x6a526b=_0x13e57f[_0x54fd24(0xb1)]+_0x2b2d6e,_0x1039f4=this[_0x54fd24(0xc4)][_0x54fd24(0xcc)][_0x54fd24(0xf8)](_0x216640),_0x52fd01=this[_0x54fd24(0xf5)][_0x54fd24(0xd4)]({'revision':_0x13e57f,'from':_0x6a526b,'to':_0x87b49f});_0x52fd01['id']=_0x13e57f['id'];const _0x203141=_0x52fd01[_0x54fd24(0x108)][_0x54fd24(0x100)](_0x1fc044=>_0x1039f4[_0x54fd24(0xbe)](_0x1fc044));_0x13e57f[_0x54fd24(0x105)]({..._0x52fd01,'authors':_0x203141},!0x0),this[_0x54fd24(0xf5)][_0x54fd24(0xd2)](_0x13e57f['id'],_0x52fd01,!0x0);}this[_0x54fd24(0xf5)][_0x54fd24(0x102)]=_0x87b49f,(_0x13e57f[_0x54fd24(0xf3)]===_0x13e57f[_0x54fd24(0xb1)]&&!this[_0x54fd24(0xf5)][_0x54fd24(0xb9)][_0x54fd24(0x109)](_0x3e9ba0)&&this[_0x54fd24(0xf5)][_0x54fd24(0xe7)][_0x54fd24(0xc0)][_0x54fd24(0xd8)](_0x3e9ba0),this[_0x54fd24(0xf5)][_0x54fd24(0xc1)](_0x87b49f));}const {revisions:_0x14c651,requestId:_0x5d2277}=await this[_0x54fd24(0xb3)][_0x54fd24(0xb5)](_0xf73430[_0x54fd24(0xd9)],this[_0x54fd24(0xec)]);_0x2409af&&_0x14c651[_0x54fd24(0xcb)]>0x0?_0x4dd267[_0x54fd24(0x10a)]():(await this[_0x54fd24(0xee)](_0x14c651),this[_0x54fd24(0xdc)](_0x14c651,_0x5d2277),this[_0x54fd24(0xf5)][_0x54fd24(0xbd)]());};return _0x4dd267[_0x58b91d(0xdd)]?_0x494d6e():new Promise((_0x5785d1,_0x5df012)=>{const _0x338f9c=_0x58b91d;_0x4dd267[_0x338f9c(0x115)](_0x338f9c(0xfa),()=>{const _0x12358e=_0x338f9c;_0x494d6e()[_0x12358e(0xb7)](_0x5785d1)[_0x12358e(0xd6)](_0x5df012);});});}[_0x21affa(0x118)](){const _0x27b011=_0x21affa;super[_0x27b011(0x118)]();}async[_0x21affa(0xe3)](){const _0x4765a1=_0x21affa;this[_0x4765a1(0xb3)][_0x4765a1(0x114)]||await new Promise(_0x49beed=>{const _0x3fc785=_0x4765a1;this[_0x3fc785(0xf7)](this[_0x3fc785(0xb3)],_0x3fc785(0x11a),_0x24ffdf=>{const _0x564ff3=_0x3fc785;_0x24ffdf[_0x564ff3(0x107)](),_0x49beed();});});}[_0x21affa(0xc9)](){const _0x459122=_0x21affa,_0x16467b=this[_0x459122(0xc4)][_0x459122(0xcc)][_0x459122(0xf8)](_0x5efcf3)[_0x459122(0xb8)][_0x459122(0xf6)]()[_0x459122(0xdf)]();for(const _0x464e30 of _0x16467b)if(_0x459122(0x11b)!==_0x464e30[_0x459122(0xc8)]||_0x464e30[_0x459122(0xf4)])return _0x464e30[_0x459122(0xbc)]+0x1;}[_0x21affa(0x106)](){const _0x1e5a56=_0x21affa,_0x9aa6d1=this[_0x1e5a56(0xc4)][_0x1e5a56(0xcc)][_0x1e5a56(0xf8)](_0x5efcf3);return new Promise(_0x4ec3eb=>{const _0x18e008=_0x1e5a56;_0x9aa6d1[_0x18e008(0xce)]?_0x9aa6d1[_0x18e008(0x115)](_0x18e008(0xab),()=>{const _0x2dc813=_0x18e008;_0x4ec3eb(this[_0x2dc813(0xc9)]());}):_0x4ec3eb(this[_0x18e008(0xc9)]());});}[_0x21affa(0xdc)](_0xac9b7,_0x57a997){const _0x4451e5=_0x21affa,_0x37b0cd=this[_0x4451e5(0xf5)][_0x4451e5(0xe7)];this[_0x4451e5(0xec)]=_0x57a997;for(const _0x49fe0b of _0xac9b7){const _0x18e2ac=_0x37b0cd[_0x4451e5(0xba)](_0x49fe0b['id']);if(_0x18e2ac){if((_0x49fe0b[_0x4451e5(0xb1)]||_0x49fe0b[_0x4451e5(0xf3)])&&(_0x49fe0b[_0x4451e5(0x113)]=null),_0x18e2ac===this[_0x4451e5(0xf5)][_0x4451e5(0x10e)]){const _0x4c2318=Math[_0x4451e5(0x10f)](_0x18e2ac[_0x4451e5(0xf3)],_0x49fe0b[_0x4451e5(0xf3)]),_0x27b220=Math[_0x4451e5(0x10f)](_0x18e2ac[_0x4451e5(0xb1)],_0x49fe0b[_0x4451e5(0xb1)]);let _0x32beb;_0x18e2ac[_0x4451e5(0xf3)]===_0x49fe0b[_0x4451e5(0xf3)]&&_0x18e2ac[_0x4451e5(0xb1)]===_0x49fe0b[_0x4451e5(0xb1)]?(_0x32beb=!0x0,this[_0x4451e5(0x117)](_0x49fe0b)):_0x49fe0b[_0x4451e5(0xf3)]===_0x4c2318&&_0x49fe0b[_0x4451e5(0xb1)]===_0x27b220?_0x32beb=!0x1:(_0x18e2ac[_0x4451e5(0xf3)]===_0x4c2318&&_0x18e2ac[_0x4451e5(0xb1)]===_0x27b220||this[_0x4451e5(0xdb)]({'revision':_0x18e2ac,'from':_0x27b220,'to':_0x4c2318}),_0x32beb=!0x0),_0x32beb&&(delete _0x49fe0b[_0x4451e5(0xb1)],delete _0x49fe0b[_0x4451e5(0xf3)],delete _0x49fe0b[_0x4451e5(0x113)],delete _0x49fe0b[_0x4451e5(0x10c)],delete _0x49fe0b[_0x4451e5(0x108)]);}this[_0x4451e5(0xf5)][_0x4451e5(0x110)](_0x49fe0b),this[_0x4451e5(0x117)](_0x49fe0b);}else this[_0x4451e5(0xf5)][_0x4451e5(0xcd)](_0x49fe0b);}const _0x4db0e4=_0x37b0cd[_0x4451e5(0x10b)]();_0x4db0e4[_0x4451e5(0xdf)]();for(let _0x2f4ea9=0x0;_0x2f4ea9<_0x4db0e4[_0x4451e5(0xcb)]-0x1;_0x2f4ea9++){const _0x86d575=_0x4db0e4[_0x2f4ea9],_0x382c13=_0x4db0e4[_0x2f4ea9+0x1];if(_0x86d575[_0x4451e5(0xb1)]<_0x382c13[_0x4451e5(0xf3)]){const _0x1a01a0=_0x382c13[_0x4451e5(0xf3)],_0x4377e0=Math[_0x4451e5(0x10f)](_0x1a01a0,_0x86d575[_0x4451e5(0xf3)]);this[_0x4451e5(0xdb)]({'revision':_0x86d575,'from':_0x1a01a0,'to':_0x4377e0});}}}[_0x21affa(0xdb)]({revision:_0x265ddf,from:_0x5895ca,to:_0x44eb5a}={}){const _0x432b3a=_0x21affa,_0x35da36=this[_0x432b3a(0xc4)][_0x432b3a(0xcc)][_0x432b3a(0xf8)](_0x216640),_0x444b80=this[_0x432b3a(0xf5)][_0x432b3a(0xd4)]({'revision':_0x265ddf,'from':_0x5895ca,'to':_0x44eb5a});_0x444b80[_0x432b3a(0xb2)]=_0x444b80[_0x432b3a(0x108)][_0x432b3a(0x100)](_0x1a0ea8=>_0x35da36[_0x432b3a(0xbe)](_0x1a0ea8)),_0x265ddf[_0x432b3a(0x105)](_0x444b80);}[_0x21affa(0x117)](_0x4a442d){const _0x4422b8=_0x21affa,_0x4cc09a={};_0x4cc09a['id']=_0x4a442d['id'];for(const _0x1652be of Object[_0x4422b8(0x111)](_0x4a442d))'id'!==_0x1652be&&(_0x4cc09a[_0x1652be]=void 0x0);this[_0x4422b8(0xf5)][_0x4422b8(0xd2)](_0x4cc09a['id'],_0x4cc09a,!0x0);}async[_0x21affa(0xee)](_0x2ae21c){const _0x5780be=_0x21affa,_0x52a01d=this[_0x5780be(0xc4)][_0x5780be(0xcc)][_0x5780be(0xf8)](_0x216640),{connection:_0x2063ca}=this[_0x5780be(0xc4)][_0x5780be(0xcc)][_0x5780be(0xf8)](_0x819f05),_0x8b57e8=new Set();for(const _0x42ff25 of _0x2ae21c){for(const _0x52dcdb of _0x42ff25[_0x5780be(0x108)])_0x5622e4(_0x52dcdb);_0x42ff25[_0x5780be(0xfc)]&&_0x5622e4(_0x42ff25[_0x5780be(0xfc)]);}if(0x0===_0x8b57e8[_0x5780be(0xc6)])return;const _0x17392e=await _0x40af8f[_0x5780be(0xf2)](_0x2063ca,Array[_0x5780be(0xb0)](_0x8b57e8));for(const _0x4e121e of _0x17392e)_0x52a01d[_0x5780be(0xbe)](_0x4e121e['id'])||_0x52a01d[_0x5780be(0xac)](_0x4e121e);function _0x5622e4(_0x4afb19){const _0x9290e4=_0x5780be;_0x52a01d[_0x9290e4(0xbe)](_0x4afb19)||_0x8b57e8[_0x9290e4(0xd3)](_0x4afb19);}}}function ot(_0x1c3893){const _0x1ec27b=_0x21affa;return _0x1c3893[_0x1ec27b(0xae)][_0x1ec27b(0x112)](_0x1ec27b(0xb4))||_0x1c3893[_0x1ec27b(0xae)][_0x1ec27b(0x112)](_0x1ec27b(0xed))||_0x1c3893[_0x1ec27b(0xae)][_0x1ec27b(0x112)](_0x1ec27b(0xfb));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x187a5f=_0x5bad;function _0x5bad(_0x6ac78e,_0x4e4b2d){var _0x297216=_0x2972();return _0x5bad=function(_0x5bada8,_0x291665){_0x5bada8=_0x5bada8-0x183;var _0x1c9a95=_0x297216[_0x5bada8];return _0x1c9a95;},_0x5bad(_0x6ac78e,_0x4e4b2d);}(function(_0x2b7bde,_0x5c92c6){var _0x3ce32a=_0x5bad,_0x4c6a3b=_0x2b7bde();while(!![]){try{var _0x4248b4=-parseInt(_0x3ce32a(0x18d))/0x1+parseInt(_0x3ce32a(0x18b))/0x2+parseInt(_0x3ce32a(0x187))/0x3+parseInt(_0x3ce32a(0x185))/0x4+-parseInt(_0x3ce32a(0x189))/0x5*(-parseInt(_0x3ce32a(0x18f))/0x6)+parseInt(_0x3ce32a(0x18e))/0x7*(-parseInt(_0x3ce32a(0x184))/0x8)+-parseInt(_0x3ce32a(0x188))/0x9;if(_0x4248b4===_0x5c92c6)break;else _0x4c6a3b['push'](_0x4c6a3b['shift']());}catch(_0x237b66){_0x4c6a3b['push'](_0x4c6a3b['shift']());}}}(_0x2972,0xe235c));import{Plugin as _0xb2eca9}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x56058e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x2972(){var _0x2b9d42=['18417zMKlLN','12MfOukg','isPremiumPlugin','RevisionHistory','RealTimeCollaborativeRevisionHistory','2384Fwvmuq','7343240JZdqpv','requires','2775456BRfRBD','12624003LJEcIl','1053055tLcgCj','isOfficialPlugin','3557636BxTDBT','pluginName','1847741ScRljq'];_0x2972=function(){return _0x2b9d42;};return _0x2972();}import{RealTimeCollaborativeEditing as _0xa6903e}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0xb2eca9{static get[_0x187a5f(0x186)](){var _0x41d203=_0x187a5f;return[_0x41d203(0x191),_0x56058e,_0xa6903e];}static get[_0x187a5f(0x18c)](){var _0x22e906=_0x187a5f;return _0x22e906(0x183);}static get[_0x187a5f(0x18a)](){return!0x0;}static get[_0x187a5f(0x190)](){return!0x0;}}
23
+ var _0x4f4342=_0x47b8;function _0x47b8(_0x5a7047,_0x1dd6bd){var _0x59afbc=_0x59af();return _0x47b8=function(_0x47b895,_0x4ed394){_0x47b895=_0x47b895-0x118;var _0x58b637=_0x59afbc[_0x47b895];return _0x58b637;},_0x47b8(_0x5a7047,_0x1dd6bd);}(function(_0x5c8255,_0xa6ad1c){var _0x267e9a=_0x47b8,_0x222e69=_0x5c8255();while(!![]){try{var _0x1ba5f6=-parseInt(_0x267e9a(0x11c))/0x1*(parseInt(_0x267e9a(0x11b))/0x2)+-parseInt(_0x267e9a(0x123))/0x3*(-parseInt(_0x267e9a(0x127))/0x4)+-parseInt(_0x267e9a(0x122))/0x5+parseInt(_0x267e9a(0x119))/0x6+parseInt(_0x267e9a(0x125))/0x7+-parseInt(_0x267e9a(0x121))/0x8*(parseInt(_0x267e9a(0x11e))/0x9)+-parseInt(_0x267e9a(0x124))/0xa*(-parseInt(_0x267e9a(0x118))/0xb);if(_0x1ba5f6===_0xa6ad1c)break;else _0x222e69['push'](_0x222e69['shift']());}catch(_0x3140e0){_0x222e69['push'](_0x222e69['shift']());}}}(_0x59af,0x46a77));import{Plugin as _0x2fb7eb}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x5061bd}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x59af(){var _0x410d98=['2097571uIJwmX','isPremiumPlugin','86632DkMiup','requires','284801AKOWuN','1684602meaQcu','pluginName','130kWKfjY','6129azLOaL','isOfficialPlugin','9CpbcWK','RealTimeCollaborativeRevisionHistory','RevisionHistory','4596640zMclaY','2354725aOVOBi','27ACEriv','370qcnfWq'];_0x59af=function(){return _0x410d98;};return _0x59af();}import{RealTimeCollaborativeEditing as _0x3bc962}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x2fb7eb{static get[_0x4f4342(0x128)](){var _0x2c05aa=_0x4f4342;return[_0x2c05aa(0x120),_0x5061bd,_0x3bc962];}static get[_0x4f4342(0x11a)](){var _0x199422=_0x4f4342;return _0x199422(0x11f);}static get[_0x4f4342(0x11d)](){return!0x0;}static get[_0x4f4342(0x126)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52656f=_0x18bc;(function(_0x591610,_0x552905){const _0x460762=_0x18bc,_0x28ed8e=_0x591610();while(!![]){try{const _0x3223da=parseInt(_0x460762(0x109))/0x1+-parseInt(_0x460762(0x111))/0x2+parseInt(_0x460762(0xe0))/0x3*(parseInt(_0x460762(0xea))/0x4)+-parseInt(_0x460762(0xd6))/0x5*(-parseInt(_0x460762(0xdd))/0x6)+parseInt(_0x460762(0xf5))/0x7+-parseInt(_0x460762(0xfc))/0x8+-parseInt(_0x460762(0xdb))/0x9;if(_0x3223da===_0x552905)break;else _0x28ed8e['push'](_0x28ed8e['shift']());}catch(_0x442d31){_0x28ed8e['push'](_0x28ed8e['shift']());}}}(_0x57c9,0xb715e));import{Plugin as _0x527ff8}from'ckeditor5/src/core.js';import{User as _0x2dade0,TrackChangesService as _0x2da8d2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x48d65c}from'../realtimecollaborativeediting/websocketgateway.js';function _0x18bc(_0x25ec4f,_0x2e9f22){const _0x57c951=_0x57c9();return _0x18bc=function(_0x18bc7b,_0x2ada52){_0x18bc7b=_0x18bc7b-0xd3;let _0x564934=_0x57c951[_0x18bc7b];return _0x564934;},_0x18bc(_0x25ec4f,_0x2e9f22);}import{CloudServicesCommentsAdapter as _0x2081e0}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x172150}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x527ff8{static [_0x52656f(0x10a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2da8d2)());[_0x52656f(0x102)];[_0x52656f(0xd4)];static get[_0x52656f(0xd7)](){const _0x3a858e=_0x52656f;return[_0x2081e0,_0x3a858e(0xde),_0x48d65c];}static get[_0x52656f(0xe8)](){const _0x2fe2b1=_0x52656f;return _0x2fe2b1(0xfd);}static get[_0x52656f(0x10d)](){return!0x0;}static get[_0x52656f(0xd5)](){return!0x0;}constructor(_0x53633f){const _0x319807=_0x52656f;super(_0x53633f);const _0x41888e=this[_0x319807(0xe1)][_0x319807(0x103)][_0x319807(0xd3)](_0x319807(0xec));this[_0x319807(0x102)]=new Map(),this[_0x319807(0xd4)]=new CloudServicesTrackChangesAdapter[(_0x319807(0x10a))](_0x41888e);}[_0x52656f(0xd8)](){const _0x1ca3aa=_0x52656f,_0x1e7f94=this[_0x1ca3aa(0xe1)][_0x1ca3aa(0xe9)][_0x1ca3aa(0xd3)](_0x48d65c),_0x12ef8b=this[_0x1ca3aa(0xe1)][_0x1ca3aa(0xe9)][_0x1ca3aa(0xd3)](_0x1ca3aa(0xde));return _0x12ef8b[_0x1ca3aa(0x107)]={'getSuggestion':async _0x5638e1=>{const _0x31976f=_0x1ca3aa;await this[_0x31976f(0xf6)]();const _0x173a4f=await this[_0x31976f(0xd4)][_0x31976f(0xd3)](_0x5638e1)[_0x31976f(0xf9)](nt);return await this[_0x31976f(0xdf)]([_0x173a4f]),_0x173a4f;},'addSuggestion':async({id:_0x4978a1,type:_0x228d85,data:_0x57b863,originalSuggestionId:_0x2720af,attributes:_0x4213db})=>{const _0x10b466=_0x1ca3aa;await this[_0x10b466(0xf6)]();const _0x223dbb={'id':_0x4978a1,'type':_0x228d85,'data':_0x57b863,'originalSuggestionId':_0x2720af,'attributes':_0x4213db},_0x184959=await this[_0x10b466(0xd4)][_0x10b466(0xfa)](_0x4978a1,_0x228d85,_0x57b863,_0x2720af,_0x4213db)[_0x10b466(0xf9)](_0x2ac53b=>{if(L(_0x2ac53b))return new Promise(_0x97e6d9=>{const _0x22f639=_0x18bc;this[_0x22f639(0x102)][_0x22f639(0xfb)](_0x4978a1,{'resolve':_0x97e6d9,'suggestionData':_0x223dbb});});throw _0x2ac53b;});return this[_0x10b466(0x102)][_0x10b466(0x105)](_0x4978a1),_0x184959;},'updateSuggestion':async(_0x37eb87,_0x5ea7ca)=>{const _0x1e8752=_0x1ca3aa;if(await this[_0x1e8752(0xf6)](),_0x1e8752(0x10e)!==_0x5ea7ca[_0x1e8752(0xf4)])return this[_0x1e8752(0xd4)][_0x1e8752(0xf2)](_0x37eb87,_0x5ea7ca)[_0x1e8752(0xf9)](nt);}},this[_0x1ca3aa(0x10b)](this[_0x1ca3aa(0xd4)],_0x1ca3aa(0x10f),(_0x434956,_0x418838)=>{const _0x578dd5=_0x1ca3aa;_0x12ef8b[_0x578dd5(0x100)](_0x418838['id'])&&(_0x12ef8b[_0x578dd5(0x110)](_0x418838['id'])[_0x578dd5(0x108)]=_0x418838[_0x578dd5(0x108)]);}),this[_0x1ca3aa(0xd4)][_0x1ca3aa(0xef)](_0x1e7f94[_0x1ca3aa(0xf7)])[_0x1ca3aa(0xeb)](_0x5e0571=>(_0x1e7f94[_0x1ca3aa(0xe3)](this),this[_0x1ca3aa(0xdf)](_0x5e0571)[_0x1ca3aa(0xeb)](()=>{const _0x368b2b=_0x1ca3aa;for(const _0x4f3795 of _0x5e0571){_0x12ef8b[_0x368b2b(0xf8)](_0x4f3795)[_0x368b2b(0xff)]=!0x0;}})));}async[_0x52656f(0xdc)](){const _0x2e3c29=_0x52656f,_0x31c734=this[_0x2e3c29(0xe1)][_0x2e3c29(0xe9)][_0x2e3c29(0xd3)](_0x2e3c29(0xde)),{connection:_0x4788dd}=this[_0x2e3c29(0xe1)][_0x2e3c29(0xe9)][_0x2e3c29(0xd3)](_0x48d65c),_0x1a6287=await this[_0x2e3c29(0xd4)][_0x2e3c29(0xef)](_0x4788dd);await this[_0x2e3c29(0xdf)](_0x1a6287);for(const {suggestionData:_0x2ad5e8,resolve:_0x56f2fb}of this[_0x2e3c29(0x102)][_0x2e3c29(0xe6)]()){let _0x19b8d9=_0x1a6287[_0x2e3c29(0xe4)](_0x146b89=>_0x146b89['id']===_0x2ad5e8['id']);_0x19b8d9||(_0x19b8d9=await this[_0x2e3c29(0xd4)][_0x2e3c29(0xfa)](_0x2ad5e8['id'],_0x2ad5e8[_0x2e3c29(0xda)],_0x2ad5e8[_0x2e3c29(0xed)],_0x2ad5e8[_0x2e3c29(0xf3)])),_0x56f2fb(_0x19b8d9);}for(const _0x27cb85 of _0x1a6287)_0x31c734[_0x2e3c29(0x100)](_0x27cb85['id'])||_0x31c734[_0x2e3c29(0xf8)](_0x27cb85);}async[_0x52656f(0xf6)](){const _0x1b1206=_0x52656f;this[_0x1b1206(0xd4)][_0x1b1206(0xd9)]||await new Promise(_0x1354c6=>{const _0x5aca0c=_0x1b1206;this[_0x5aca0c(0x10b)](this[_0x5aca0c(0xd4)],_0x5aca0c(0xe2),_0x57144a=>{const _0xa7eab3=_0x5aca0c;_0x57144a[_0xa7eab3(0x101)](),_0x1354c6();});});}async[_0x52656f(0xdf)](_0x374eee){const _0x221b86=_0x52656f,_0x2b0774=this[_0x221b86(0xe1)][_0x221b86(0xe9)][_0x221b86(0xd3)](_0x172150),{connection:_0x32f0b8}=this[_0x221b86(0xe1)][_0x221b86(0xe9)][_0x221b86(0xd3)](_0x48d65c),_0x24b022=new Set();for(const {authorId:_0x317890}of _0x374eee)_0x2b0774[_0x221b86(0x10c)](_0x317890)||_0x24b022[_0x221b86(0xfa)](_0x317890);if(0x0===_0x24b022[_0x221b86(0xf1)])return;const _0x3a4eda=await _0x2dade0[_0x221b86(0xe5)](_0x32f0b8,Array[_0x221b86(0x104)](_0x24b022));for(const _0x5a6320 of _0x3a4eda)_0x2b0774[_0x221b86(0x10c)](_0x5a6320['id'])||_0x2b0774[_0x221b86(0xee)](_0x5a6320);}}function nt(_0x504028){if(L(_0x504028))return new Promise(()=>{});throw _0x504028;}function _0x57c9(){const _0x18e94b=['cloud-services-internal-error:\x20Request\x20timeout.','_saved','hasSuggestion','off','_bufferedRequests','config','from','delete','message','adapter','attributes','475081JcmEky','TrackChangesService','listenTo','getUser','isOfficialPlugin','open','suggestionUpdated','getSuggestion','2247630yOPUfq','get','_trackChangesService','isPremiumPlugin','2546460rseviu','requires','init','isConnected','type','1343466accGvh','reconnect','12fTkEnv','TrackChangesEditing','_fetchMissingUsersForThreads','2358ScBvUG','editor','connected','addToReconnectionStack','find','getMany','values','startsWith','pluginName','plugins','4372EoDcZn','then','collaboration.channelId','data','addUser','connect','cloud-services-internal-error:\x20Not\x20connected.','size','update','originalSuggestionId','state','248395xVaqWz','_waitForServiceReady','connection','addSuggestionData','catch','add','set','2921928oDgXFd','CloudServicesTrackChangesAdapter'];_0x57c9=function(){return _0x18e94b;};return _0x57c9();}function L(_0x155607){const _0x2dba84=_0x52656f;return _0x155607[_0x2dba84(0x106)][_0x2dba84(0xe7)](_0x2dba84(0xf0))||_0x155607[_0x2dba84(0x106)][_0x2dba84(0xe7)](_0x2dba84(0xfe));}
23
+ function _0x2b0b(_0x539694,_0x535bcb){const _0x1a8d0c=_0x1a8d();return _0x2b0b=function(_0x2b0b10,_0x593326){_0x2b0b10=_0x2b0b10-0x6d;let _0x32e01e=_0x1a8d0c[_0x2b0b10];return _0x32e01e;},_0x2b0b(_0x539694,_0x535bcb);}const _0xf1d14=_0x2b0b;(function(_0x2542ac,_0x43b212){const _0x457f58=_0x2b0b,_0x5a07cf=_0x2542ac();while(!![]){try{const _0x10a811=-parseInt(_0x457f58(0x8b))/0x1*(parseInt(_0x457f58(0x92))/0x2)+-parseInt(_0x457f58(0xa9))/0x3+-parseInt(_0x457f58(0x79))/0x4*(-parseInt(_0x457f58(0x7a))/0x5)+parseInt(_0x457f58(0x86))/0x6+parseInt(_0x457f58(0xa4))/0x7+-parseInt(_0x457f58(0x73))/0x8+parseInt(_0x457f58(0xac))/0x9*(-parseInt(_0x457f58(0x9b))/0xa);if(_0x10a811===_0x43b212)break;else _0x5a07cf['push'](_0x5a07cf['shift']());}catch(_0x4d5b09){_0x5a07cf['push'](_0x5a07cf['shift']());}}}(_0x1a8d,0xda6ff));import{Plugin as _0x88b838}from'ckeditor5/src/core.js';import{User as _0x3a1ca9,TrackChangesService as _0x372d0f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4ad846}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x265120}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4b1c41}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1a8d(){const _0x4db04c=['config','init','find','744015kXXPOn','connected','getMany','isPremiumPlugin','_saved','add','suggestionUpdated','2prIpBX','getSuggestion','listenTo','data','originalSuggestionId','then','get','connect','connection','855450ERijiH','TrackChangesService','requires','_bufferedRequests','cloud-services-internal-error:\x20Not\x20connected.','size','reconnect','from','pluginName','12518954KlxuKl','CloudServicesTrackChangesAdapter','_waitForServiceReady','adapter','plugins','3358200ufFGPS','attributes','_trackChangesService','27xZiUPf','editor','state','type','update','TrackChangesEditing','message','4740432OvyLCY','isConnected','delete','getUser','hasSuggestion','collaboration.channelId','316580DyzonP','35JdSbkW','_fetchMissingUsersForThreads','addToReconnectionStack','catch','addSuggestionData','open','set','values','addUser','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','startsWith','7589316rotFBt','off'];_0x1a8d=function(){return _0x4db04c;};return _0x1a8d();}export class CloudServicesTrackChangesAdapter extends _0x88b838{static [_0xf1d14(0x9c)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x372d0f)());[_0xf1d14(0x9e)];[_0xf1d14(0xab)];static get[_0xf1d14(0x9d)](){const _0x5ec149=_0xf1d14;return[_0x265120,_0x5ec149(0x71),_0x4ad846];}static get[_0xf1d14(0xa3)](){const _0x4f54f1=_0xf1d14;return _0x4f54f1(0xa5);}static get[_0xf1d14(0x84)](){return!0x0;}static get[_0xf1d14(0x8e)](){return!0x0;}constructor(_0x22e940){const _0x17b60a=_0xf1d14;super(_0x22e940);const _0x5d046e=this[_0x17b60a(0x6d)][_0x17b60a(0x88)][_0x17b60a(0x98)](_0x17b60a(0x78));this[_0x17b60a(0x9e)]=new Map(),this[_0x17b60a(0xab)]=new CloudServicesTrackChangesAdapter[(_0x17b60a(0x9c))](_0x5d046e);}[_0xf1d14(0x89)](){const _0x284983=_0xf1d14,_0x4fb466=this[_0x284983(0x6d)][_0x284983(0xa8)][_0x284983(0x98)](_0x4ad846),_0x5bb3b3=this[_0x284983(0x6d)][_0x284983(0xa8)][_0x284983(0x98)](_0x284983(0x71));return _0x5bb3b3[_0x284983(0xa7)]={'getSuggestion':async _0x3dba40=>{const _0x218778=_0x284983;await this[_0x218778(0xa6)]();const _0x2269cd=await this[_0x218778(0xab)][_0x218778(0x98)](_0x3dba40)[_0x218778(0x7d)](tt);return await this[_0x218778(0x7b)]([_0x2269cd]),_0x2269cd;},'addSuggestion':async({id:_0x40af89,type:_0x2594d3,data:_0xd718de,originalSuggestionId:_0x1cff16,attributes:_0xb0a49f})=>{const _0x1e7dbb=_0x284983;await this[_0x1e7dbb(0xa6)]();const _0xb853e4={'id':_0x40af89,'type':_0x2594d3,'data':_0xd718de,'originalSuggestionId':_0x1cff16,'attributes':_0xb0a49f},_0x39ea34=await this[_0x1e7dbb(0xab)][_0x1e7dbb(0x90)](_0x40af89,_0x2594d3,_0xd718de,_0x1cff16,_0xb0a49f)[_0x1e7dbb(0x7d)](_0x25a87c=>{if(ot(_0x25a87c))return new Promise(_0x148d03=>{const _0x29eb6b=_0x2b0b;this[_0x29eb6b(0x9e)][_0x29eb6b(0x80)](_0x40af89,{'resolve':_0x148d03,'suggestionData':_0xb853e4});});throw _0x25a87c;});return this[_0x1e7dbb(0x9e)][_0x1e7dbb(0x75)](_0x40af89),_0x39ea34;},'updateSuggestion':async(_0x3e1e6f,_0x344654)=>{const _0x4c80b3=_0x284983;if(await this[_0x4c80b3(0xa6)](),_0x4c80b3(0x7f)!==_0x344654[_0x4c80b3(0x6e)])return this[_0x4c80b3(0xab)][_0x4c80b3(0x70)](_0x3e1e6f,_0x344654)[_0x4c80b3(0x7d)](tt);}},this[_0x284983(0x94)](this[_0x284983(0xab)],_0x284983(0x91),(_0x3f5c5a,_0x2d10dd)=>{const _0x39a08f=_0x284983;_0x5bb3b3[_0x39a08f(0x77)](_0x2d10dd['id'])&&(_0x5bb3b3[_0x39a08f(0x93)](_0x2d10dd['id'])[_0x39a08f(0xaa)]=_0x2d10dd[_0x39a08f(0xaa)]);}),this[_0x284983(0xab)][_0x284983(0x99)](_0x4fb466[_0x284983(0x9a)])[_0x284983(0x97)](_0x20b012=>(_0x4fb466[_0x284983(0x7c)](this),this[_0x284983(0x7b)](_0x20b012)[_0x284983(0x97)](()=>{const _0x332906=_0x284983;for(const _0x4bd60d of _0x20b012){_0x5bb3b3[_0x332906(0x7e)](_0x4bd60d)[_0x332906(0x8f)]=!0x0;}})));}async[_0xf1d14(0xa1)](){const _0x7ad356=_0xf1d14,_0x3f0f48=this[_0x7ad356(0x6d)][_0x7ad356(0xa8)][_0x7ad356(0x98)](_0x7ad356(0x71)),{connection:_0x39c8f5}=this[_0x7ad356(0x6d)][_0x7ad356(0xa8)][_0x7ad356(0x98)](_0x4ad846),_0x4928a5=await this[_0x7ad356(0xab)][_0x7ad356(0x99)](_0x39c8f5);await this[_0x7ad356(0x7b)](_0x4928a5);for(const {suggestionData:_0x61770a,resolve:_0x412907}of this[_0x7ad356(0x9e)][_0x7ad356(0x81)]()){let _0x13496b=_0x4928a5[_0x7ad356(0x8a)](_0x220443=>_0x220443['id']===_0x61770a['id']);_0x13496b||(_0x13496b=await this[_0x7ad356(0xab)][_0x7ad356(0x90)](_0x61770a['id'],_0x61770a[_0x7ad356(0x6f)],_0x61770a[_0x7ad356(0x95)],_0x61770a[_0x7ad356(0x96)])),_0x412907(_0x13496b);}for(const _0x3f8b74 of _0x4928a5)_0x3f0f48[_0x7ad356(0x77)](_0x3f8b74['id'])||_0x3f0f48[_0x7ad356(0x7e)](_0x3f8b74);}async[_0xf1d14(0xa6)](){const _0x18111c=_0xf1d14;this[_0x18111c(0xab)][_0x18111c(0x74)]||await new Promise(_0x4a28e6=>{const _0x3c63df=_0x18111c;this[_0x3c63df(0x94)](this[_0x3c63df(0xab)],_0x3c63df(0x8c),_0x1db6b7=>{const _0x27fa7f=_0x3c63df;_0x1db6b7[_0x27fa7f(0x87)](),_0x4a28e6();});});}async[_0xf1d14(0x7b)](_0x399519){const _0x2a02c8=_0xf1d14,_0x3f4d95=this[_0x2a02c8(0x6d)][_0x2a02c8(0xa8)][_0x2a02c8(0x98)](_0x4b1c41),{connection:_0x1e3186}=this[_0x2a02c8(0x6d)][_0x2a02c8(0xa8)][_0x2a02c8(0x98)](_0x4ad846),_0x46db3b=new Set();for(const {authorId:_0x302e52}of _0x399519)_0x3f4d95[_0x2a02c8(0x76)](_0x302e52)||_0x46db3b[_0x2a02c8(0x90)](_0x302e52);if(0x0===_0x46db3b[_0x2a02c8(0xa0)])return;const _0x40166d=await _0x3a1ca9[_0x2a02c8(0x8d)](_0x1e3186,Array[_0x2a02c8(0xa2)](_0x46db3b));for(const _0x1b2f68 of _0x40166d)_0x3f4d95[_0x2a02c8(0x76)](_0x1b2f68['id'])||_0x3f4d95[_0x2a02c8(0x82)](_0x1b2f68);}}function tt(_0x401813){if(ot(_0x401813))return new Promise(()=>{});throw _0x401813;}function ot(_0x78c1b2){const _0x431709=_0xf1d14;return _0x78c1b2[_0x431709(0x72)][_0x431709(0x85)](_0x431709(0x9f))||_0x78c1b2[_0x431709(0x72)][_0x431709(0x85)](_0x431709(0x83));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x17b5(){var _0x3551c0=['808416ziwdIM','240273FHqWLI','7JeNXFc','isPremiumPlugin','4215768CHqjQw','RealTimeCollaborativeTrackChanges','214740NwCppk','TrackChanges','159624UhdPWT','pluginName','requires','isOfficialPlugin','236329ypslBE','266254rDmDXt'];_0x17b5=function(){return _0x3551c0;};return _0x17b5();}function _0x44bd(_0x5bd6d8,_0x2023dd){var _0x17b54d=_0x17b5();return _0x44bd=function(_0x44bd55,_0x4de178){_0x44bd55=_0x44bd55-0x192;var _0x43269e=_0x17b54d[_0x44bd55];return _0x43269e;},_0x44bd(_0x5bd6d8,_0x2023dd);}var _0x3aeb0e=_0x44bd;(function(_0x1dd831,_0x532e62){var _0x104e71=_0x44bd,_0x34a01d=_0x1dd831();while(!![]){try{var _0x3b7b4b=-parseInt(_0x104e71(0x19f))/0x1+parseInt(_0x104e71(0x192))/0x2+-parseInt(_0x104e71(0x194))/0x3+-parseInt(_0x104e71(0x193))/0x4+parseInt(_0x104e71(0x199))/0x5+-parseInt(_0x104e71(0x19b))/0x6+parseInt(_0x104e71(0x195))/0x7*(parseInt(_0x104e71(0x197))/0x8);if(_0x3b7b4b===_0x532e62)break;else _0x34a01d['push'](_0x34a01d['shift']());}catch(_0x11b9ea){_0x34a01d['push'](_0x34a01d['shift']());}}}(_0x17b5,0x268de));import{Plugin as _0x50194b}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3a681b}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5b859f}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x50194b{static get[_0x3aeb0e(0x19d)](){var _0x5eb2be=_0x3aeb0e;return[_0x5b859f,_0x3a681b,_0x5eb2be(0x19a)];}static get[_0x3aeb0e(0x19c)](){var _0x414695=_0x3aeb0e;return _0x414695(0x198);}static get[_0x3aeb0e(0x19e)](){return!0x0;}static get[_0x3aeb0e(0x196)](){return!0x0;}}
23
+ var _0x3c5c3d=_0xfcb2;(function(_0x3516e8,_0x7f399a){var _0x3d3bcb=_0xfcb2,_0x5214f0=_0x3516e8();while(!![]){try{var _0x3274b5=parseInt(_0x3d3bcb(0x1c0))/0x1*(parseInt(_0x3d3bcb(0x1b9))/0x2)+-parseInt(_0x3d3bcb(0x1bb))/0x3*(-parseInt(_0x3d3bcb(0x1ba))/0x4)+-parseInt(_0x3d3bcb(0x1bc))/0x5+parseInt(_0x3d3bcb(0x1b5))/0x6+parseInt(_0x3d3bcb(0x1be))/0x7+parseInt(_0x3d3bcb(0x1b6))/0x8+-parseInt(_0x3d3bcb(0x1c1))/0x9;if(_0x3274b5===_0x7f399a)break;else _0x5214f0['push'](_0x5214f0['shift']());}catch(_0x2e9cf4){_0x5214f0['push'](_0x5214f0['shift']());}}}(_0x4dd4,0x76e21));import{Plugin as _0x287202}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x5d2b5c}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x2e9dff}from'./realtimecollaborativecomments.js';function _0xfcb2(_0x561ff1,_0x29f9ad){var _0x4dd485=_0x4dd4();return _0xfcb2=function(_0xfcb288,_0x2a45b8){_0xfcb288=_0xfcb288-0x1b3;var _0x55db15=_0x4dd485[_0xfcb288];return _0x55db15;},_0xfcb2(_0x561ff1,_0x29f9ad);}function _0x4dd4(){var _0x4d499c=['5702598SyQyCT','3587104eOmmTm','pluginName','requires','47924iGvQlJ','72316UMXQuM','111xkVJOy','3149905KwUMuC','isPremiumPlugin','4052650bDIDAC','RealTimeCollaborativeTrackChanges','7QRTQIP','15277518cewExw','isOfficialPlugin','TrackChanges'];_0x4dd4=function(){return _0x4d499c;};return _0x4dd4();}export class RealTimeCollaborativeTrackChanges extends _0x287202{static get[_0x3c5c3d(0x1b8)](){var _0x367467=_0x3c5c3d;return[_0x2e9dff,_0x5d2b5c,_0x367467(0x1b4)];}static get[_0x3c5c3d(0x1b7)](){var _0xaa84a1=_0x3c5c3d;return _0xaa84a1(0x1bf);}static get[_0x3c5c3d(0x1b3)](){return!0x0;}static get[_0x3c5c3d(0x1bd)](){return!0x0;}}