@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.5 → 46.0.1-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b8571=_0x16df;function _0x5242(){const _0x3c5fa6=['online','506IHfOBV','3494rcRvSg','6CfHTkY','9OXdyMi','set','removeFromReconnectionStack','code','from','addToReconnectionStack','add','context','get','_reconnect','_isBrowserOffline','listenTo','isInReconnectionStack','connection','cloudservices-reconnection-error','limitExceeded','CloudServices','config','real-time-collaboration','114891hjVTTV','DISCONNECTED','change:me','WebSocketGateway','showWarning','reconnect','_shouldPluginsReconnect','39910xyOMQj','initialReconnectionInterval','destroy','function','then','bind','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.','pluginName','offline','cloudServices.requestTimeout','isOfficialPlugin','797350wKNTMv','init','connected','state','cloudServices.connectionTimeout','define','requires','1172460xNEIHm','websocketgateway-invalid-plugin-interface','71AhGsuz','stopListening','_domEmitter','token','166088BVentm','catch','disconnect','CONNECTED','websocketgateway-missing-websocket-url','delete','_reconnectionStack','websocketgateway-plugin-already-registered','websocketgateway-missing-token','connect','cloudservices-init','3tVideb','583384oGsoEv','plugins','webSocketUrl','CONNECTING','Connected\x20users\x20limit\x20exceeded','has','all','constructor','error','isPremiumPlugin'];_0x5242=function(){return _0x3c5fa6;};return _0x5242();}(function(_0x3a1abd,_0x250e94){const _0x55d6f9=_0x16df,_0x999049=_0x3a1abd();while(!![]){try{const _0x5c9457=parseInt(_0x55d6f9(0xfa))/0x1*(-parseInt(_0x55d6f9(0x116))/0x2)+parseInt(_0x55d6f9(0x109))/0x3*(parseInt(_0x55d6f9(0xfe))/0x4)+parseInt(_0x55d6f9(0x13d))/0x5+parseInt(_0x55d6f9(0x117))/0x6*(parseInt(_0x55d6f9(0x12b))/0x7)+parseInt(_0x55d6f9(0x10a))/0x8*(-parseInt(_0x55d6f9(0x118))/0x9)+-parseInt(_0x55d6f9(0x132))/0xa*(-parseInt(_0x55d6f9(0x115))/0xb)+-parseInt(_0x55d6f9(0xf8))/0xc;if(_0x5c9457===_0x250e94)break;else _0x999049['push'](_0x999049['shift']());}catch(_0x111edc){_0x999049['push'](_0x999049['shift']());}}}(_0x5242,0x19f56));import{ContextPlugin as _0x2bd3f5}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2db65e,CKEditorError as _0x56ee40}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2bbdd4,WEB_SOCKET_GATEWAY_STATES as _0xa8c997}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16df(_0x351db9,_0x58a1cd){const _0x52427e=_0x5242();return _0x16df=function(_0x16df23,_0x2b613b){_0x16df23=_0x16df23-0xf5;let _0x5061f3=_0x52427e[_0x16df23];return _0x5061f3;},_0x16df(_0x351db9,_0x58a1cd);}import{Notification as _0x407806}from'ckeditor5/src/ui.js';class n extends _0x2bd3f5{static [_0x2b8571(0x12e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2bbdd4)());static [_0x2b8571(0x133)]=0x3e8;[_0x2b8571(0x125)];[_0x2b8571(0x104)];[_0x2b8571(0x131)];[_0x2b8571(0xfc)];static get[_0x2b8571(0xf7)](){const _0x5d6280=_0x2b8571;return[_0x5d6280(0x128),_0x407806];}static get[_0x2b8571(0x139)](){const _0x2bc21b=_0x2b8571;return _0x2bc21b(0x12e);}static get[_0x2b8571(0x13c)](){return!0x0;}static get[_0x2b8571(0x113)](){return!0x0;}constructor(_0x3e6f06){const _0x4431e3=_0x2b8571;super(_0x3e6f06),this[_0x4431e3(0x119)](_0x4431e3(0x140),_0xa8c997[_0x4431e3(0x101)]),this[_0x4431e3(0x119)](_0x4431e3(0x122),!0x1),this[_0x4431e3(0x104)]=new Set(),this[_0x4431e3(0x131)]=!0x1,this[_0x4431e3(0xfc)]=new(_0x2db65e())();}[_0x2b8571(0x13e)](){const _0x1a2fa0=_0x2b8571,_0x410f83=this[_0x1a2fa0(0x11f)],_0x23dc00=_0x410f83[_0x1a2fa0(0x10b)][_0x1a2fa0(0x120)](_0x1a2fa0(0x128)),_0x4b988d=_0x410f83[_0x1a2fa0(0x10b)][_0x1a2fa0(0x120)](_0x407806);if(!_0x23dc00[_0x1a2fa0(0xfd)])throw new _0x56ee40(_0x1a2fa0(0x106),this);if(!_0x23dc00[_0x1a2fa0(0x10c)])throw new _0x56ee40(_0x1a2fa0(0x102),this);return this[_0x1a2fa0(0xfc)][_0x1a2fa0(0x123)](window,_0x1a2fa0(0x13a),()=>this[_0x1a2fa0(0x122)]=!0x0),this[_0x1a2fa0(0xfc)][_0x1a2fa0(0x123)](window,_0x1a2fa0(0x114),()=>this[_0x1a2fa0(0x122)]=!0x1),this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0xf6)](_0x1a2fa0(0xf5),0xa),this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0xf6)](_0x1a2fa0(0x13b),0x14),n[_0x1a2fa0(0x12e)][_0x1a2fa0(0x107)](_0x23dc00[_0x1a2fa0(0xfd)],_0x23dc00[_0x1a2fa0(0x10c)],{'timeout':0x3e8*this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0x120)](_0x1a2fa0(0xf5)),'requestTimeout':0x3e8*this[_0x1a2fa0(0x11f)][_0x1a2fa0(0x129)][_0x1a2fa0(0x120)](_0x1a2fa0(0x13b))})[_0x1a2fa0(0x136)](_0x226a9e=>{const _0x523654=_0x1a2fa0;if(this[_0x523654(0x125)]=_0x226a9e,this[_0x523654(0x137)](_0x523654(0x140))['to'](_0x226a9e,_0x523654(0x140),this,_0x523654(0x122),(_0x4d46da,_0x2a34df)=>(_0x523654(0x13f)!==_0x4d46da&&(this[_0x523654(0x131)]=!0x0),_0x2a34df||_0x4d46da!==_0xa8c997[_0x523654(0x101)]?_0xa8c997[_0x523654(0x12c)]:this[_0x523654(0x140)]==_0xa8c997[_0x523654(0x12c)]&&this[_0x523654(0x131)]?(this[_0x523654(0x131)]=!0x1,this[_0x523654(0x121)](),_0xa8c997[_0x523654(0x10d)]):_0xa8c997[_0x523654(0x101)])),this[_0x523654(0x125)]['on'](_0x523654(0x112),(_0xa71318,_0x36b3dd)=>{const _0x19d01e=_0x523654;if(_0x19d01e(0x127)!==_0x36b3dd[_0x19d01e(0x11b)])throw console[_0x19d01e(0x112)](_0x36b3dd),new _0x56ee40(_0x19d01e(0x108),null,{'originalError':_0x36b3dd});_0x4b988d[_0x19d01e(0x12f)](_0x19d01e(0x138),{'title':_0x19d01e(0x10e),'namespace':_0x19d01e(0x12a)});}),!_0x226a9e['me'])return new Promise(_0x2fa051=>_0x226a9e['on'](_0x523654(0x12d),_0x2fa051));})[_0x1a2fa0(0xff)](_0x1961d2=>{const _0x401dca=_0x1a2fa0;throw console[_0x401dca(0x112)](_0x1961d2),new _0x56ee40(_0x401dca(0x108),null,{'originalError':_0x1961d2});});}[_0x2b8571(0x11d)](_0x50896a){const _0x238109=_0x2b8571;if(_0x238109(0x135)!=typeof _0x50896a[_0x238109(0x130)])throw new _0x56ee40(_0x238109(0xf9),this);if(this[_0x238109(0x124)](_0x50896a))throw new _0x56ee40(_0x238109(0x105),this,{'name':_0x50896a[_0x238109(0x111)][_0x238109(0x139)]});this[_0x238109(0x104)][_0x238109(0x11e)](_0x50896a);}[_0x2b8571(0x11a)](_0x402262){const _0x3dde78=_0x2b8571;this[_0x3dde78(0x104)][_0x3dde78(0x103)](_0x402262);}[_0x2b8571(0x124)](_0x470158){const _0x5d9ca6=_0x2b8571;return this[_0x5d9ca6(0x104)][_0x5d9ca6(0x10f)](_0x470158);}[_0x2b8571(0x121)](){const _0x1f9b90=_0x2b8571;return this[_0x1f9b90(0x125)][_0x1f9b90(0x130)]()[_0x1f9b90(0x136)](()=>Promise[_0x1f9b90(0x110)](Array[_0x1f9b90(0x11c)](this[_0x1f9b90(0x104)],_0x3d0836=>_0x3d0836[_0x1f9b90(0x130)]())))[_0x1f9b90(0x136)](()=>this[_0x1f9b90(0x140)]=_0xa8c997[_0x1f9b90(0x101)])[_0x1f9b90(0xff)](_0x4afc09=>{const _0x391391=_0x1f9b90;throw console[_0x391391(0x112)](_0x4afc09),new _0x56ee40(_0x391391(0x126),this[_0x391391(0x11f)]);});}[_0x2b8571(0x100)](){const _0x221cdd=_0x2b8571;this[_0x221cdd(0x125)]&&this[_0x221cdd(0x125)][_0x221cdd(0x100)](),this[_0x221cdd(0x140)]=_0xa8c997[_0x221cdd(0x12c)],this[_0x221cdd(0xfc)][_0x221cdd(0xfb)]();}[_0x2b8571(0x134)](){const _0x52b6a8=_0x2b8571;this[_0x52b6a8(0x100)](),super[_0x52b6a8(0x134)]();}}export{n as WebSocketGateway};
23
+ function _0x1122(_0x104ba4,_0x132d81){const _0x4f2151=_0x4f21();return _0x1122=function(_0x11229b,_0x507b4e){_0x11229b=_0x11229b-0x1b7;let _0x199714=_0x4f2151[_0x11229b];return _0x199714;},_0x1122(_0x104ba4,_0x132d81);}const _0x49ca4b=_0x1122;(function(_0x150894,_0xf02e57){const _0x3eba87=_0x1122,_0x431b78=_0x150894();while(!![]){try{const _0x5ce65c=parseInt(_0x3eba87(0x1e0))/0x1+parseInt(_0x3eba87(0x1e6))/0x2*(parseInt(_0x3eba87(0x1fd))/0x3)+-parseInt(_0x3eba87(0x1c1))/0x4*(parseInt(_0x3eba87(0x1d4))/0x5)+parseInt(_0x3eba87(0x1f5))/0x6*(-parseInt(_0x3eba87(0x1cc))/0x7)+-parseInt(_0x3eba87(0x1e9))/0x8+-parseInt(_0x3eba87(0x1ff))/0x9+parseInt(_0x3eba87(0x1dd))/0xa;if(_0x5ce65c===_0xf02e57)break;else _0x431b78['push'](_0x431b78['shift']());}catch(_0x2717c3){_0x431b78['push'](_0x431b78['shift']());}}}(_0x4f21,0x6292e));import{ContextPlugin as _0x2676ec}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x42b9ea,CKEditorError as _0x23e694}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1bf3c8,WEB_SOCKET_GATEWAY_STATES as _0x1b181c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x344ece}from'ckeditor5/src/ui.js';class n extends _0x2676ec{static [_0x49ca4b(0x1f9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1bf3c8)());static [_0x49ca4b(0x1c0)]=0x3e8;[_0x49ca4b(0x1e7)];[_0x49ca4b(0x1f3)];[_0x49ca4b(0x1d8)];[_0x49ca4b(0x1d9)];static get[_0x49ca4b(0x1c8)](){const _0x1af973=_0x49ca4b;return[_0x1af973(0x1f8),_0x344ece];}static get[_0x49ca4b(0x1c6)](){const _0x4fe0fc=_0x49ca4b;return _0x4fe0fc(0x1f9);}static get[_0x49ca4b(0x1eb)](){return!0x0;}static get[_0x49ca4b(0x1d5)](){return!0x0;}constructor(_0x3c5f3e){const _0x57b28e=_0x49ca4b;super(_0x3c5f3e),this[_0x57b28e(0x1fb)](_0x57b28e(0x1f4),_0x1b181c[_0x57b28e(0x1d7)]),this[_0x57b28e(0x1fb)](_0x57b28e(0x1c5),!0x1),this[_0x57b28e(0x1f3)]=new Set(),this[_0x57b28e(0x1d8)]=!0x1,this[_0x57b28e(0x1d9)]=new(_0x42b9ea())();}[_0x49ca4b(0x1db)](){const _0x3c8540=_0x49ca4b,_0x5bc161=this[_0x3c8540(0x1e3)],_0x1f6f9e=_0x5bc161[_0x3c8540(0x1da)][_0x3c8540(0x1e5)](_0x3c8540(0x1f8)),_0x5e5cae=_0x5bc161[_0x3c8540(0x1da)][_0x3c8540(0x1e5)](_0x344ece);if(!_0x1f6f9e[_0x3c8540(0x1d1)])throw new _0x23e694(_0x3c8540(0x1c7),this);if(!_0x1f6f9e[_0x3c8540(0x1e8)])throw new _0x23e694(_0x3c8540(0x1b8),this);return this[_0x3c8540(0x1d9)][_0x3c8540(0x1d2)](window,_0x3c8540(0x1c4),()=>this[_0x3c8540(0x1c5)]=!0x0),this[_0x3c8540(0x1d9)][_0x3c8540(0x1d2)](window,_0x3c8540(0x1ea),()=>this[_0x3c8540(0x1c5)]=!0x1),this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1c2)](_0x3c8540(0x1b7),0xa),this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1c2)](_0x3c8540(0x1d3),0x14),n[_0x3c8540(0x1f9)][_0x3c8540(0x1dc)](_0x1f6f9e[_0x3c8540(0x1d1)],_0x1f6f9e[_0x3c8540(0x1e8)],{'timeout':0x3e8*this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1e5)](_0x3c8540(0x1b7)),'requestTimeout':0x3e8*this[_0x3c8540(0x1e3)][_0x3c8540(0x1cd)][_0x3c8540(0x1e5)](_0x3c8540(0x1d3))})[_0x3c8540(0x1d0)](_0x32e08b=>{const _0x3adada=_0x3c8540;if(this[_0x3adada(0x1e7)]=_0x32e08b,this[_0x3adada(0x1f0)](_0x3adada(0x1f4))['to'](_0x32e08b,_0x3adada(0x1f4),this,_0x3adada(0x1c5),(_0x26dcca,_0x42771c)=>(_0x3adada(0x1df)!==_0x26dcca&&(this[_0x3adada(0x1d8)]=!0x0),_0x42771c||_0x26dcca!==_0x1b181c[_0x3adada(0x1d7)]?_0x1b181c[_0x3adada(0x1b9)]:this[_0x3adada(0x1f4)]==_0x1b181c[_0x3adada(0x1b9)]&&this[_0x3adada(0x1d8)]?(this[_0x3adada(0x1d8)]=!0x1,this[_0x3adada(0x1ec)](),_0x1b181c[_0x3adada(0x1f1)]):_0x1b181c[_0x3adada(0x1d7)])),this[_0x3adada(0x1e7)]['on'](_0x3adada(0x1ca),(_0x4d228d,_0x144eee)=>{const _0x3852f8=_0x3adada;if(_0x3852f8(0x1ce)!==_0x144eee[_0x3852f8(0x1c3)])throw console[_0x3852f8(0x1ca)](_0x144eee),new _0x23e694(_0x3852f8(0x1cf),null,{'originalError':_0x144eee});_0x5e5cae[_0x3852f8(0x200)](_0x3852f8(0x1fe),{'title':_0x3852f8(0x1bf),'namespace':_0x3852f8(0x1e2)});}),!_0x32e08b['me'])return new Promise(_0x33c4fc=>_0x32e08b['on'](_0x3adada(0x1fc),_0x33c4fc));})[_0x3c8540(0x1ef)](_0x3d1d31=>{const _0x13e91a=_0x3c8540;throw console[_0x13e91a(0x1ca)](_0x3d1d31),new _0x23e694(_0x13e91a(0x1cf),null,{'originalError':_0x3d1d31});});}[_0x49ca4b(0x1c9)](_0x272a10){const _0x1df838=_0x49ca4b;if(_0x1df838(0x1ba)!=typeof _0x272a10[_0x1df838(0x1f2)])throw new _0x23e694(_0x1df838(0x1f6),this);if(this[_0x1df838(0x1be)](_0x272a10))throw new _0x23e694(_0x1df838(0x1f7),this,{'name':_0x272a10[_0x1df838(0x1ed)][_0x1df838(0x1c6)]});this[_0x1df838(0x1f3)][_0x1df838(0x1bd)](_0x272a10);}[_0x49ca4b(0x1cb)](_0x12c6bb){const _0x25f665=_0x49ca4b;this[_0x25f665(0x1f3)][_0x25f665(0x1ee)](_0x12c6bb);}[_0x49ca4b(0x1be)](_0x59f791){const _0x285e47=_0x49ca4b;return this[_0x285e47(0x1f3)][_0x285e47(0x1fa)](_0x59f791);}[_0x49ca4b(0x1ec)](){const _0x25e407=_0x49ca4b;return this[_0x25e407(0x1e7)][_0x25e407(0x1f2)]()[_0x25e407(0x1d0)](()=>Promise[_0x25e407(0x1e1)](Array[_0x25e407(0x1e4)](this[_0x25e407(0x1f3)],_0x563761=>_0x563761[_0x25e407(0x1f2)]())))[_0x25e407(0x1d0)](()=>this[_0x25e407(0x1f4)]=_0x1b181c[_0x25e407(0x1d7)])[_0x25e407(0x1ef)](_0x22ddd8=>{const _0x264a7e=_0x25e407;throw console[_0x264a7e(0x1ca)](_0x22ddd8),new _0x23e694(_0x264a7e(0x1bb),this[_0x264a7e(0x1e3)]);});}[_0x49ca4b(0x1de)](){const _0x513896=_0x49ca4b;this[_0x513896(0x1e7)]&&this[_0x513896(0x1e7)][_0x513896(0x1de)](),this[_0x513896(0x1f4)]=_0x1b181c[_0x513896(0x1b9)],this[_0x513896(0x1d9)][_0x513896(0x1bc)]();}[_0x49ca4b(0x1d6)](){const _0x544833=_0x49ca4b;this[_0x544833(0x1de)](),super[_0x544833(0x1d6)]();}}function _0x4f21(){const _0x11b4ea=['has','set','change:me','3210mLokov','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.','5317776ivoNmj','showWarning','cloudServices.connectionTimeout','websocketgateway-missing-websocket-url','DISCONNECTED','function','cloudservices-reconnection-error','stopListening','add','isInReconnectionStack','Connected\x20users\x20limit\x20exceeded','initialReconnectionInterval','8noiVvh','define','code','offline','_isBrowserOffline','pluginName','websocketgateway-missing-token','requires','addToReconnectionStack','error','removeFromReconnectionStack','239008ueDiSZ','config','limitExceeded','cloudservices-init','then','token','listenTo','cloudServices.requestTimeout','771730DfVIpS','isPremiumPlugin','destroy','CONNECTED','_shouldPluginsReconnect','_domEmitter','plugins','init','connect','12752900rLnsHl','disconnect','connected','363724PmqNwk','all','real-time-collaboration','context','from','get','452cLfsFa','connection','webSocketUrl','2708096YRVLAJ','online','isOfficialPlugin','_reconnect','constructor','delete','catch','bind','CONNECTING','reconnect','_reconnectionStack','state','42FvtUmi','websocketgateway-invalid-plugin-interface','websocketgateway-plugin-already-registered','CloudServices','WebSocketGateway'];_0x4f21=function(){return _0x11b4ea;};return _0x4f21();}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4f284d=_0x1ec5;(function(_0x3119cf,_0x416bd9){var _0x38730d=_0x1ec5,_0x29299a=_0x3119cf();while(!![]){try{var _0x4b5571=parseInt(_0x38730d(0x80))/0x1+parseInt(_0x38730d(0x77))/0x2*(parseInt(_0x38730d(0x7d))/0x3)+-parseInt(_0x38730d(0x78))/0x4*(parseInt(_0x38730d(0x7b))/0x5)+-parseInt(_0x38730d(0x7c))/0x6+parseInt(_0x38730d(0x75))/0x7+-parseInt(_0x38730d(0x76))/0x8+parseInt(_0x38730d(0x7e))/0x9*(parseInt(_0x38730d(0x81))/0xa);if(_0x4b5571===_0x416bd9)break;else _0x29299a['push'](_0x29299a['shift']());}catch(_0x2c9bd3){_0x29299a['push'](_0x29299a['shift']());}}}(_0x4446,0x90b01));import{Plugin as _0x336f42}from'ckeditor5/src/core.js';function _0x4446(){var _0x37084c=['8406656gdDQEP','9406VMHtiC','1435268OuQmKQ','isOfficialPlugin','pluginName','10QUOdxj','6899214QtpAQV','672DvJjVV','9CWohnN','RealTimeCollaborativeEditing','404440uBwMQd','10388030yFrjCV','requires','isPremiumPlugin','7099827BokVEg'];_0x4446=function(){return _0x37084c;};return _0x4446();}import{RealTimeCollaborationClient as _0x29c35f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1ec5(_0x54ae60,_0x230115){var _0x444670=_0x4446();return _0x1ec5=function(_0x1ec50c,_0xda9b0c){_0x1ec50c=_0x1ec50c-0x73;var _0xe9b51b=_0x444670[_0x1ec50c];return _0xe9b51b;},_0x1ec5(_0x54ae60,_0x230115);}export class RealTimeCollaborativeEditing extends _0x336f42{static get[_0x4f284d(0x73)](){return[_0x29c35f];}static get[_0x4f284d(0x7a)](){var _0xb427b8=_0x4f284d;return _0xb427b8(0x7f);}static get[_0x4f284d(0x79)](){return!0x0;}static get[_0x4f284d(0x74)](){return!0x0;}}
23
+ function _0x1710(){var _0x240897=['pluginName','371xKCOqA','RealTimeCollaborativeEditing','799574kyiXQG','5862uDdoAs','isPremiumPlugin','769945WgxRmw','15496SXGgyd','1XXMSdI','359628vuKBWK','5938449uAiCIG','1548LWLcnb','isOfficialPlugin','requires','4tMQHsc','3772690xCqqLM'];_0x1710=function(){return _0x240897;};return _0x1710();}var _0x13023d=_0x3ccb;function _0x3ccb(_0x4fd0eb,_0x490cca){var _0x171012=_0x1710();return _0x3ccb=function(_0x3ccb39,_0x158c6a){_0x3ccb39=_0x3ccb39-0x1b1;var _0x126a1e=_0x171012[_0x3ccb39];return _0x126a1e;},_0x3ccb(_0x4fd0eb,_0x490cca);}(function(_0x521df8,_0x3055bf){var _0x4a2cb2=_0x3ccb,_0x3c86cb=_0x521df8();while(!![]){try{var _0x3e41d9=parseInt(_0x4a2cb2(0x1bd))/0x1*(parseInt(_0x4a2cb2(0x1b8))/0x2)+-parseInt(_0x4a2cb2(0x1be))/0x3*(parseInt(_0x4a2cb2(0x1b3))/0x4)+-parseInt(_0x4a2cb2(0x1bb))/0x5+parseInt(_0x4a2cb2(0x1b9))/0x6*(parseInt(_0x4a2cb2(0x1b6))/0x7)+parseInt(_0x4a2cb2(0x1bc))/0x8*(parseInt(_0x4a2cb2(0x1c0))/0x9)+parseInt(_0x4a2cb2(0x1b4))/0xa+-parseInt(_0x4a2cb2(0x1bf))/0xb;if(_0x3e41d9===_0x3055bf)break;else _0x3c86cb['push'](_0x3c86cb['shift']());}catch(_0x2d87db){_0x3c86cb['push'](_0x3c86cb['shift']());}}}(_0x1710,0x55075));import{Plugin as _0x18ac9b}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x44ed9e}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x18ac9b{static get[_0x13023d(0x1b2)](){return[_0x44ed9e];}static get[_0x13023d(0x1b5)](){var _0x29a482=_0x13023d;return _0x29a482(0x1b7);}static get[_0x13023d(0x1b1)](){return!0x0;}static get[_0x13023d(0x1ba)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x229557=_0x4799;(function(_0x2ecc49,_0x2791a9){const _0x4c183a=_0x4799,_0x307ff7=_0x2ecc49();while(!![]){try{const _0xb6d5c6=-parseInt(_0x4c183a(0x18b))/0x1*(parseInt(_0x4c183a(0x18f))/0x2)+parseInt(_0x4c183a(0x141))/0x3*(parseInt(_0x4c183a(0x174))/0x4)+-parseInt(_0x4c183a(0x132))/0x5+-parseInt(_0x4c183a(0x12d))/0x6*(parseInt(_0x4c183a(0x122))/0x7)+parseInt(_0x4c183a(0x170))/0x8+-parseInt(_0x4c183a(0x166))/0x9+parseInt(_0x4c183a(0x126))/0xa;if(_0xb6d5c6===_0x2791a9)break;else _0x307ff7['push'](_0x307ff7['shift']());}catch(_0x3fd0b4){_0x307ff7['push'](_0x307ff7['shift']());}}}(_0x371b,0x293b7));import{Plugin as _0x34e3ff}from'ckeditor5/src/core.js';function _0x4799(_0xb10541,_0x5b0657){const _0x371b8b=_0x371b();return _0x4799=function(_0x479937,_0x1f5f8f){_0x479937=_0x479937-0x11f;let _0x21585a=_0x371b8b[_0x479937];return _0x21585a;},_0x4799(_0xb10541,_0x5b0657);}import{version as _0x494685}from'ckeditor5/src/utils.js';import{Users as _0x1572e6}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x49f82d}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3ba156}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1f7a71}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3196fa,RevisionHistoryService as _0x21d66b,User as _0x3f4fad,WEB_SOCKET_GATEWAY_STATES as _0x51622d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x34e3ff{static [_0x229557(0x14b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x21d66b)());[_0x229557(0x16f)];[_0x229557(0x168)];[_0x229557(0x12a)];[_0x229557(0x175)];static get[_0x229557(0x177)](){const _0x1c4400=_0x229557;return[_0x3ba156,_0x49f82d,_0x1c4400(0x13f),_0x1f7a71,_0x1572e6];}static get[_0x229557(0x14f)](){const _0x44f29a=_0x229557;return _0x44f29a(0x12e);}static get[_0x229557(0x167)](){return!0x0;}static get[_0x229557(0x18a)](){return!0x0;}constructor(_0x1d17ea){const _0x279cb9=_0x229557;super(_0x1d17ea);const _0x5ed839=this[_0x279cb9(0x184)][_0x279cb9(0x134)][_0x279cb9(0x14c)](_0x279cb9(0x152));this[_0x279cb9(0x16f)]=null,this[_0x279cb9(0x168)]=this[_0x279cb9(0x184)][_0x279cb9(0x147)][_0x279cb9(0x14c)](_0x279cb9(0x155)),this[_0x279cb9(0x12a)]=new c[(_0x279cb9(0x14b))](_0x5ed839);}async[_0x229557(0x181)](){const _0x5df2fc=_0x229557,_0x1dd356=this[_0x5df2fc(0x184)][_0x5df2fc(0x147)][_0x5df2fc(0x14c)](_0x49f82d),_0x5f3930=_0x1dd356[_0x5df2fc(0x189)],_0x3e85bc=this[_0x5df2fc(0x184)][_0x5df2fc(0x147)][_0x5df2fc(0x14c)](_0x3ba156);this[_0x5df2fc(0x168)][_0x5df2fc(0x131)]({'history':_0x5f3930,'getLatestVersion':()=>this[_0x5df2fc(0x183)](),'getCurrentRevisionId':()=>_0x1dd356[_0x5df2fc(0x180)]});const _0xce8b37=this[_0x5df2fc(0x184)][_0x5df2fc(0x134)][_0x5df2fc(0x14c)](_0x5df2fc(0x16b))||_0x494685,_0x5a4b62=await _0x3196fa[_0x5df2fc(0x120)](_0x3e85bc[_0x5df2fc(0x18e)],_0xce8b37);this[_0x5df2fc(0x184)][_0x5df2fc(0x147)][_0x5df2fc(0x14c)](_0x5df2fc(0x13f))[_0x5df2fc(0x145)]={'getRevision':async({revisionId:_0x46c282})=>(await this[_0x5df2fc(0x139)](),await this[_0x5df2fc(0x12a)][_0x5df2fc(0x14d)](_0x46c282)),'updateRevisions':async _0x3f3ae7=>{const _0xfadfb5=_0x5df2fc;await this[_0xfadfb5(0x139)]();const _0x1f6e9b=this[_0xfadfb5(0x168)][_0xfadfb5(0x16c)];if(_0x5a4b62&&0x1===_0x3f3ae7[_0xfadfb5(0x185)]&&_0x3f3ae7[0x0]['id']===_0x1f6e9b['id'])return _0x3f3ae7;for(const _0x3626c4 of _0x3f3ae7)_0x3626c4['id']===_0x1f6e9b['id']&&(_0x3626c4[_0xfadfb5(0x137)]=_0x3626c4[_0xfadfb5(0x178)]===_0x3626c4[_0xfadfb5(0x11f)]);return this[_0xfadfb5(0x12a)][_0xfadfb5(0x163)](_0x3f3ae7,this[_0xfadfb5(0x16f)])[_0xfadfb5(0x12c)](_0x1399b9=>(this[_0xfadfb5(0x16f)]=_0x1399b9,_0x3f3ae7))[_0xfadfb5(0x16a)](_0x597af7=>{const _0x11c3a7=_0xfadfb5;if(M(_0x597af7)||_0x11c3a7(0x13d)===_0x597af7[_0x11c3a7(0x15b)]&&void 0x0!==_0x597af7[_0x11c3a7(0x128)][_0x11c3a7(0x191)]){for(const _0x39a0d9 of _0x3f3ae7){!this[_0x11c3a7(0x168)][_0x11c3a7(0x164)][_0x11c3a7(0x14d)](_0x39a0d9['id'])||this[_0x11c3a7(0x168)][_0x11c3a7(0x133)](_0x39a0d9['id'],_0x39a0d9,!0x1);}if(M(_0x597af7))throw _0x597af7;return _0x3f3ae7;}throw _0x597af7;});}},this[_0x5df2fc(0x124)](this[_0x5df2fc(0x12a)],_0x5df2fc(0x15e),(_0x47f833,{revisionsData:_0xf4f459,requestId:_0x250449})=>{const _0xccba28=_0x5df2fc;Math[_0xccba28(0x15d)](..._0xf4f459[_0xccba28(0x192)](_0x3230d5=>_0x3230d5[_0xccba28(0x11f)]))>this[_0xccba28(0x12b)]()-0x1?this[_0xccba28(0x183)]()[_0xccba28(0x12c)](()=>{const _0x208101=_0xccba28;this[_0x208101(0x143)](_0xf4f459,_0x250449);}):this[_0xccba28(0x143)](_0xf4f459,_0x250449);});const {revisions:_0x2d6450,requestId:_0x5c07cd}=await this[_0x5df2fc(0x12a)][_0x5df2fc(0x17d)](_0x3e85bc[_0x5df2fc(0x18e)]);_0x3e85bc[_0x5df2fc(0x127)](this),this[_0x5df2fc(0x16f)]=_0x5c07cd,await this[_0x5df2fc(0x121)](_0x2d6450);for(const _0x2423b8 of _0x2d6450)this[_0x5df2fc(0x168)][_0x5df2fc(0x18c)](_0x2423b8);this[_0x5df2fc(0x124)](_0x1dd356,_0x5df2fc(0x138),(_0x28c032,_0x3a67a5,_0x308f91)=>{const _0x32b56c=_0x5df2fc;_0x308f91&&(this[_0x32b56c(0x175)]=_0x1dd356[_0x32b56c(0x158)],_0x28c032[_0x32b56c(0x15c)]());}),this[_0x5df2fc(0x168)][_0x5df2fc(0x17c)](_0x5df2fc(0x161))['to'](_0x3e85bc,_0x5df2fc(0x149),_0x1e983a=>_0x1e983a===_0x51622d[_0x5df2fc(0x159)]);}async[_0x229557(0x125)](){const _0x5960f5=_0x229557,_0x1dcc0e=this[_0x5960f5(0x184)][_0x5960f5(0x147)][_0x5960f5(0x14c)](_0x3ba156),_0x991512=this[_0x5960f5(0x184)][_0x5960f5(0x147)][_0x5960f5(0x14c)](_0x49f82d),_0x232c4c=async()=>{const _0x164e23=_0x5960f5,_0x48a038=this[_0x164e23(0x168)][_0x164e23(0x16c)],_0x31ac8b=_0x48a038['id'],_0x1e4259=_0x31ac8b!==_0x991512[_0x164e23(0x180)];if(_0x1e4259){const _0x5f4f5e=_0x991512[_0x164e23(0x158)]-this[_0x164e23(0x175)],_0x5c235c=this[_0x164e23(0x12b)]();this[_0x164e23(0x168)][_0x164e23(0x14e)][_0x164e23(0x188)]();if(_0x48a038[_0x164e23(0x11f)]+_0x5f4f5e!==_0x5c235c){const _0x45b983=_0x48a038[_0x164e23(0x178)]+_0x5f4f5e,_0x20257a=this[_0x164e23(0x184)][_0x164e23(0x147)][_0x164e23(0x14c)](_0x1572e6),_0x4e6499=this[_0x164e23(0x168)][_0x164e23(0x182)]({'revision':_0x48a038,'from':_0x45b983,'to':_0x5c235c});_0x4e6499['id']=_0x48a038['id'];const _0x50411c=_0x4e6499[_0x164e23(0x14a)][_0x164e23(0x192)](_0x3c8a4f=>_0x20257a[_0x164e23(0x129)](_0x3c8a4f));_0x48a038[_0x164e23(0x160)]({..._0x4e6499,'authors':_0x50411c},!0x0),this[_0x164e23(0x168)][_0x164e23(0x133)](_0x48a038['id'],_0x4e6499,!0x0);}this[_0x164e23(0x168)][_0x164e23(0x17f)]=_0x5c235c,(_0x48a038[_0x164e23(0x11f)]===_0x48a038[_0x164e23(0x178)]&&!this[_0x164e23(0x168)][_0x164e23(0x151)][_0x164e23(0x169)](_0x31ac8b)&&this[_0x164e23(0x168)][_0x164e23(0x164)][_0x164e23(0x172)][_0x164e23(0x135)](_0x31ac8b),this[_0x164e23(0x168)][_0x164e23(0x13c)](_0x5c235c));}const {revisions:_0x164d92,requestId:_0x2cbec0}=await this[_0x164e23(0x12a)][_0x164e23(0x125)](_0x1dcc0e[_0x164e23(0x18e)],this[_0x164e23(0x16f)]);_0x1e4259&&_0x164d92[_0x164e23(0x185)]>0x0?_0x991512[_0x164e23(0x190)]():(await this[_0x164e23(0x121)](_0x164d92),this[_0x164e23(0x143)](_0x164d92,_0x2cbec0),this[_0x164e23(0x168)][_0x164e23(0x146)]());};return _0x991512[_0x5960f5(0x165)]?_0x232c4c():new Promise((_0x5bcfd8,_0x1dac7f)=>{const _0x4ae009=_0x5960f5;_0x991512[_0x4ae009(0x187)](_0x4ae009(0x138),()=>{const _0x5d877c=_0x4ae009;_0x232c4c()[_0x5d877c(0x12c)](_0x5bcfd8)[_0x5d877c(0x16a)](_0x1dac7f);});});}[_0x229557(0x162)](){const _0x35c2f2=_0x229557;super[_0x35c2f2(0x162)]();}async[_0x229557(0x139)](){const _0xff709b=_0x229557;this[_0xff709b(0x12a)][_0xff709b(0x173)]||await new Promise(_0x1cf526=>{const _0x446b01=_0xff709b;this[_0x446b01(0x124)](this[_0x446b01(0x12a)],_0x446b01(0x142),_0x1bf424=>{const _0xd2a7c0=_0x446b01;_0x1bf424[_0xd2a7c0(0x15c)](),_0x1cf526();});});}[_0x229557(0x12b)](){const _0x2b78ec=_0x229557,_0x3ea99a=this[_0x2b78ec(0x184)][_0x2b78ec(0x147)][_0x2b78ec(0x14c)](_0x49f82d)[_0x2b78ec(0x189)][_0x2b78ec(0x154)]()[_0x2b78ec(0x157)]();for(const _0x3439b9 of _0x3ea99a)if(_0x2b78ec(0x140)!==_0x3439b9[_0x2b78ec(0x150)]||_0x3439b9[_0x2b78ec(0x15f)])return _0x3439b9[_0x2b78ec(0x186)]+0x1;}[_0x229557(0x183)](){const _0x2538e0=_0x229557,_0x4c4bdd=this[_0x2538e0(0x184)][_0x2538e0(0x147)][_0x2538e0(0x14c)](_0x49f82d);return new Promise(_0x48ec4f=>{const _0x5edb46=_0x2538e0;_0x4c4bdd[_0x5edb46(0x18d)]?_0x4c4bdd[_0x5edb46(0x187)](_0x5edb46(0x130),()=>{const _0x2c9a01=_0x5edb46;_0x48ec4f(this[_0x2c9a01(0x12b)]());}):_0x48ec4f(this[_0x5edb46(0x12b)]());});}[_0x229557(0x143)](_0x1587b1,_0x1a10a6){const _0x773847=_0x229557,_0x2f1356=this[_0x773847(0x168)][_0x773847(0x164)];this[_0x773847(0x16f)]=_0x1a10a6;for(const _0x57f98e of _0x1587b1){const _0x4d65e1=_0x2f1356[_0x773847(0x14d)](_0x57f98e['id']);if(_0x4d65e1){if((_0x57f98e[_0x773847(0x178)]||_0x57f98e[_0x773847(0x11f)])&&(_0x57f98e[_0x773847(0x123)]=null),_0x4d65e1===this[_0x773847(0x168)][_0x773847(0x16c)]){const _0x5c2976=Math[_0x773847(0x15d)](_0x4d65e1[_0x773847(0x11f)],_0x57f98e[_0x773847(0x11f)]),_0x473bd5=Math[_0x773847(0x15d)](_0x4d65e1[_0x773847(0x178)],_0x57f98e[_0x773847(0x178)]);let _0x27c09c;_0x4d65e1[_0x773847(0x11f)]===_0x57f98e[_0x773847(0x11f)]&&_0x4d65e1[_0x773847(0x178)]===_0x57f98e[_0x773847(0x178)]?(_0x27c09c=!0x0,this[_0x773847(0x136)](_0x57f98e)):_0x57f98e[_0x773847(0x11f)]===_0x5c2976&&_0x57f98e[_0x773847(0x178)]===_0x473bd5?_0x27c09c=!0x1:(_0x4d65e1[_0x773847(0x11f)]===_0x5c2976&&_0x4d65e1[_0x773847(0x178)]===_0x473bd5||this[_0x773847(0x13e)]({'revision':_0x4d65e1,'from':_0x473bd5,'to':_0x5c2976}),_0x27c09c=!0x0),_0x27c09c&&(delete _0x57f98e[_0x773847(0x178)],delete _0x57f98e[_0x773847(0x11f)],delete _0x57f98e[_0x773847(0x123)],delete _0x57f98e[_0x773847(0x12f)],delete _0x57f98e[_0x773847(0x14a)]);}this[_0x773847(0x168)][_0x773847(0x17a)](_0x57f98e),this[_0x773847(0x136)](_0x57f98e);}else this[_0x773847(0x168)][_0x773847(0x18c)](_0x57f98e);}const _0x61f603=_0x2f1356[_0x773847(0x176)]();_0x61f603[_0x773847(0x157)]();for(let _0x12d613=0x0;_0x12d613<_0x61f603[_0x773847(0x185)]-0x1;_0x12d613++){const _0x4973a7=_0x61f603[_0x12d613],_0x35fc54=_0x61f603[_0x12d613+0x1];if(_0x4973a7[_0x773847(0x178)]<_0x35fc54[_0x773847(0x11f)]){const _0x5f19b4=_0x35fc54[_0x773847(0x11f)],_0x10c04b=Math[_0x773847(0x15d)](_0x5f19b4,_0x4973a7[_0x773847(0x11f)]);this[_0x773847(0x13e)]({'revision':_0x4973a7,'from':_0x5f19b4,'to':_0x10c04b});}}}[_0x229557(0x13e)]({revision:_0xf8a238,from:_0x3b51b4,to:_0x3b98c2}={}){const _0x580aa9=_0x229557,_0x3655a2=this[_0x580aa9(0x184)][_0x580aa9(0x147)][_0x580aa9(0x14c)](_0x1572e6),_0x4fbb54=this[_0x580aa9(0x168)][_0x580aa9(0x182)]({'revision':_0xf8a238,'from':_0x3b51b4,'to':_0x3b98c2});_0x4fbb54[_0x580aa9(0x13a)]=_0x4fbb54[_0x580aa9(0x14a)][_0x580aa9(0x192)](_0x2a2cd9=>_0x3655a2[_0x580aa9(0x129)](_0x2a2cd9)),_0xf8a238[_0x580aa9(0x160)](_0x4fbb54);}[_0x229557(0x136)](_0x2f8ce7){const _0x12eddc=_0x229557,_0x3143c9={};_0x3143c9['id']=_0x2f8ce7['id'];for(const _0x581911 of Object[_0x12eddc(0x179)](_0x2f8ce7))'id'!==_0x581911&&(_0x3143c9[_0x581911]=void 0x0);this[_0x12eddc(0x168)][_0x12eddc(0x133)](_0x3143c9['id'],_0x3143c9,!0x0);}async[_0x229557(0x121)](_0x1f0a40){const _0x540c96=_0x229557,_0x5ec3ce=this[_0x540c96(0x184)][_0x540c96(0x147)][_0x540c96(0x14c)](_0x1572e6),{connection:_0x21816d}=this[_0x540c96(0x184)][_0x540c96(0x147)][_0x540c96(0x14c)](_0x3ba156),_0xfb9aa4=new Set();for(const _0x305365 of _0x1f0a40){for(const _0x52b4a7 of _0x305365[_0x540c96(0x14a)])_0x22da62(_0x52b4a7);_0x305365[_0x540c96(0x17e)]&&_0x22da62(_0x305365[_0x540c96(0x17e)]);}if(0x0===_0xfb9aa4[_0x540c96(0x148)])return;const _0x326d84=await _0x3f4fad[_0x540c96(0x13b)](_0x21816d,Array[_0x540c96(0x156)](_0xfb9aa4));for(const _0x51df66 of _0x326d84)_0x5ec3ce[_0x540c96(0x129)](_0x51df66['id'])||_0x5ec3ce[_0x540c96(0x144)](_0x51df66);function _0x22da62(_0x205339){const _0x5a0bcb=_0x540c96;_0x5ec3ce[_0x5a0bcb(0x129)](_0x205339)||_0xfb9aa4[_0x5a0bcb(0x17b)](_0x205339);}}}function _0x371b(){const _0x57dfc1=['_isPendingUpdate','connection','42Cxuaym','_handleReconnectionError','wrongRequestId','map','toVersion','isBundleUploaded','_fetchMissingUsers','110131wPFeDe','diffData','listenTo','reconnect','6969250UqJaRK','addToReconnectionStack','data','getUser','_revisionHistoryService','_getLatestVersionFromServerOperations','then','102PkOcWw','CloudServicesRevisionHistoryAdapter','createdAt','change:_isPendingUpdate','setSource','764875vriAyX','_bufferUpdate','config','remove','_preventResendingRevisionData','isEmptyCurrent','change:_isConnected','_waitForServiceReady','authors','getMany','_createCurrentRevision','400','_fixRevision','RevisionHistory','marker','84wCEWCy','connected','_handleRevisionsUpdate','addUser','adapter','sendBufferedUpdates','plugins','size','state','authorsIds','RevisionHistoryService','get','getRevision','_revisionDataBuilder','pluginName','type','_bufferedUpdates','collaboration.channelId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','getOperations','RevisionTracker','from','reverse','_offset','CONNECTED','startsWith','code','off','max','revisionsUpdated','affectsData','_update','isEnabled','destroy','updateRevisions','repository','_isConnected','1265328PShqfH','isOfficialPlugin','_revisionTracker','has','catch','cloudServices.bundleVersion','currentRevision','cloud-services-internal-error:\x20Not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','_lastRequestId','922984WalGvd','message','_revisions','isConnected','27900iAHyFT','_oldOffset','getRevisions','requires','fromVersion','keys','setRevisionData','add','bind','connect','creatorId','_startingVersion','sessionId','init','buildRevisionData','_getLatestVersion','editor','length','baseVersion','once','reInit','serverHistory','isPremiumPlugin','13223oVxasS','addRevisionData'];_0x371b=function(){return _0x57dfc1;};return _0x371b();}export{c as CloudServicesRevisionHistoryAdapter};function M(_0x3653f3){const _0x3f4b90=_0x229557;return _0x3653f3[_0x3f4b90(0x171)][_0x3f4b90(0x15a)](_0x3f4b90(0x153))||_0x3653f3[_0x3f4b90(0x171)][_0x3f4b90(0x15a)](_0x3f4b90(0x16d))||_0x3653f3[_0x3f4b90(0x171)][_0x3f4b90(0x15a)](_0x3f4b90(0x16e));}
23
+ const _0xec21e7=_0xf41e;(function(_0x1e8db8,_0x26691a){const _0x39a794=_0xf41e,_0x540c46=_0x1e8db8();while(!![]){try{const _0x15333e=parseInt(_0x39a794(0xa3))/0x1*(parseInt(_0x39a794(0xb7))/0x2)+-parseInt(_0x39a794(0x9f))/0x3*(-parseInt(_0x39a794(0xba))/0x4)+-parseInt(_0x39a794(0xdc))/0x5+-parseInt(_0x39a794(0x102))/0x6*(-parseInt(_0x39a794(0xa7))/0x7)+parseInt(_0x39a794(0xd0))/0x8*(parseInt(_0x39a794(0xb0))/0x9)+parseInt(_0x39a794(0xcd))/0xa+parseInt(_0x39a794(0xd4))/0xb*(-parseInt(_0x39a794(0xef))/0xc);if(_0x15333e===_0x26691a)break;else _0x540c46['push'](_0x540c46['shift']());}catch(_0x767a0){_0x540c46['push'](_0x540c46['shift']());}}}(_0x24e1,0xcd17a));import{Plugin as _0xd40577}from'ckeditor5/src/core.js';function _0xf41e(_0x32ec19,_0x28e6c2){const _0x24e1af=_0x24e1();return _0xf41e=function(_0xf41ee3,_0x50001a){_0xf41ee3=_0xf41ee3-0x9c;let _0x43b4d5=_0x24e1af[_0xf41ee3];return _0x43b4d5;},_0xf41e(_0x32ec19,_0x28e6c2);}import{version as _0x3e3d9e}from'ckeditor5/src/utils.js';function _0x24e1(){const _0x4ed4fc=['add','bind','fromVersion','map','reconnect','marker','_update','plugins','addToReconnectionStack','message','getMany','pluginName','then','isEmptyCurrent','buildRevisionData','connection','code','max','2269548AGdWjm','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','once','keys','currentRevision','cloud-services-internal-error:\x20Request\x20timeout.','length','isPremiumPlugin','connected','reverse','cloudServices.bundleVersion','_revisionHistoryService','toVersion','listenTo','isEnabled','_revisionDataBuilder','state','wrongRequestId','_revisionTracker','594XdTHQP','remove','editor','RevisionHistory','revisionsUpdated','change:_isPendingUpdate','setSource','sessionId','_getLatestVersion','CONNECTED','_bufferUpdate','_getLatestVersionFromServerOperations','config','getOperations','addRevisionData','_createCurrentRevision','400','authorsIds','isConnected','1728555LoFHak','isBundleUploaded','collaboration.channelId','destroy','82847ehQrUQ','reInit','_lastRequestId','_startingVersion','111482VJGmQK','baseVersion','_oldOffset','get','CloudServicesRevisionHistoryAdapter','off','_preventResendingRevisionData','getRevision','startsWith','26667devCNH','_fixRevision','_isPendingUpdate','createdAt','type','_revisions','creatorId','28QQlfsb','_bufferedUpdates','adapter','8zMFcVb','_waitForServiceReady','affectsData','_handleReconnectionError','_isConnected','addUser','RevisionHistoryService','getUser','serverHistory','data','RevisionTracker','diffData','isOfficialPlugin','repository','setRevisionData','init','requires','authors','_handleRevisionsUpdate','1331880IWmUOH','_offset','getRevisions','3176Ztotwx','cloud-services-internal-error:\x20Not\x20connected.','sendBufferedUpdates','_fetchMissingUsers','253HhkHuD','catch','size','updateRevisions','from','change:_isConnected','connect','has','41880oUGwmq'];_0x24e1=function(){return _0x4ed4fc;};return _0x24e1();}import{Users as _0xb0d2c1}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x48ca4f}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x48ebca}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5ad687}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x49e9b7,RevisionHistoryService as _0x3ba420,User as _0x4a0716,WEB_SOCKET_GATEWAY_STATES as _0x28efe0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0xd40577{static [_0xec21e7(0xc0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3ba420)());[_0xec21e7(0xa5)];[_0xec21e7(0x101)];[_0xec21e7(0xfa)];[_0xec21e7(0xa9)];static get[_0xec21e7(0xca)](){const _0x4d2f3b=_0xec21e7;return[_0x48ebca,_0x48ca4f,_0x4d2f3b(0x105),_0x5ad687,_0xb0d2c1];}static get[_0xec21e7(0xe8)](){const _0x21871c=_0xec21e7;return _0x21871c(0xab);}static get[_0xec21e7(0xc6)](){return!0x0;}static get[_0xec21e7(0xf6)](){return!0x0;}constructor(_0x108701){const _0x164a84=_0xec21e7;super(_0x108701);const _0x57be35=this[_0x164a84(0x104)][_0x164a84(0x10e)][_0x164a84(0xaa)](_0x164a84(0xa1));this[_0x164a84(0xa5)]=null,this[_0x164a84(0x101)]=this[_0x164a84(0x104)][_0x164a84(0xe4)][_0x164a84(0xaa)](_0x164a84(0xc4)),this[_0x164a84(0xfa)]=new c[(_0x164a84(0xc0))](_0x57be35);}async[_0xec21e7(0xc9)](){const _0x24ea1e=_0xec21e7,_0x53bb55=this[_0x24ea1e(0x104)][_0x24ea1e(0xe4)][_0x24ea1e(0xaa)](_0x48ca4f),_0x4a1bcc=_0x53bb55[_0x24ea1e(0xc2)],_0x5cc730=this[_0x24ea1e(0x104)][_0x24ea1e(0xe4)][_0x24ea1e(0xaa)](_0x48ebca);this[_0x24ea1e(0x101)][_0x24ea1e(0x108)]({'history':_0x4a1bcc,'getLatestVersion':()=>this[_0x24ea1e(0x10a)](),'getCurrentRevisionId':()=>_0x53bb55[_0x24ea1e(0x109)]});const _0x51ec1c=this[_0x24ea1e(0x104)][_0x24ea1e(0x10e)][_0x24ea1e(0xaa)](_0x24ea1e(0xf9))||_0x3e3d9e,_0x3282ab=await _0x49e9b7[_0x24ea1e(0xa0)](_0x5cc730[_0x24ea1e(0xec)],_0x51ec1c);this[_0x24ea1e(0x104)][_0x24ea1e(0xe4)][_0x24ea1e(0xaa)](_0x24ea1e(0x105))[_0x24ea1e(0xb9)]={'getRevision':async({revisionId:_0xf11b88})=>(await this[_0x24ea1e(0xbb)](),await this[_0x24ea1e(0xfa)][_0x24ea1e(0xae)](_0xf11b88)),'updateRevisions':async _0x11cc90=>{const _0x3a5d1c=_0x24ea1e;await this[_0x3a5d1c(0xbb)]();const _0x26a737=this[_0x3a5d1c(0x101)][_0x3a5d1c(0xf3)];if(_0x3282ab&&0x1===_0x11cc90[_0x3a5d1c(0xf5)]&&_0x11cc90[0x0]['id']===_0x26a737['id'])return _0x11cc90;for(const _0x554fd9 of _0x11cc90)_0x554fd9['id']===_0x26a737['id']&&(_0x554fd9[_0x3a5d1c(0xea)]=_0x554fd9[_0x3a5d1c(0xdf)]===_0x554fd9[_0x3a5d1c(0xfb)]);return this[_0x3a5d1c(0xfa)][_0x3a5d1c(0xd7)](_0x11cc90,this[_0x3a5d1c(0xa5)])[_0x3a5d1c(0xe9)](_0x5d9260=>(this[_0x3a5d1c(0xa5)]=_0x5d9260,_0x11cc90))[_0x3a5d1c(0xd5)](_0x1d783a=>{const _0x222781=_0x3a5d1c;if(b(_0x1d783a)||_0x222781(0x9c)===_0x1d783a[_0x222781(0xed)]&&void 0x0!==_0x1d783a[_0x222781(0xc3)][_0x222781(0x100)]){for(const _0x3f26a9 of _0x11cc90){!this[_0x222781(0x101)][_0x222781(0xc7)][_0x222781(0xae)](_0x3f26a9['id'])||this[_0x222781(0x101)][_0x222781(0x10c)](_0x3f26a9['id'],_0x3f26a9,!0x1);}if(b(_0x1d783a))throw _0x1d783a;return _0x11cc90;}throw _0x1d783a;});}},this[_0x24ea1e(0xfc)](this[_0x24ea1e(0xfa)],_0x24ea1e(0x106),(_0x2a0b98,{revisionsData:_0xd30113,requestId:_0x29a0c9})=>{const _0x2004e0=_0x24ea1e;Math[_0x2004e0(0xee)](..._0xd30113[_0x2004e0(0xe0)](_0x1e20a0=>_0x1e20a0[_0x2004e0(0xfb)]))>this[_0x2004e0(0x10d)]()-0x1?this[_0x2004e0(0x10a)]()[_0x2004e0(0xe9)](()=>{const _0x55e4e7=_0x2004e0;this[_0x55e4e7(0xcc)](_0xd30113,_0x29a0c9);}):this[_0x2004e0(0xcc)](_0xd30113,_0x29a0c9);});const {revisions:_0x659ecb,requestId:_0x59e6f1}=await this[_0x24ea1e(0xfa)][_0x24ea1e(0xda)](_0x5cc730[_0x24ea1e(0xec)]);_0x5cc730[_0x24ea1e(0xe5)](this),this[_0x24ea1e(0xa5)]=_0x59e6f1,await this[_0x24ea1e(0xd3)](_0x659ecb);for(const _0x29d781 of _0x659ecb)this[_0x24ea1e(0x101)][_0x24ea1e(0x110)](_0x29d781);this[_0x24ea1e(0xfc)](_0x53bb55,_0x24ea1e(0xd9),(_0x56ebaf,_0x4f541a,_0xddcfb)=>{const _0x51740b=_0x24ea1e;_0xddcfb&&(this[_0x51740b(0xa9)]=_0x53bb55[_0x51740b(0xce)],_0x56ebaf[_0x51740b(0xac)]());}),this[_0x24ea1e(0x101)][_0x24ea1e(0xde)](_0x24ea1e(0xfd))['to'](_0x5cc730,_0x24ea1e(0xff),_0x296904=>_0x296904===_0x28efe0[_0x24ea1e(0x10b)]);}async[_0xec21e7(0xe1)](){const _0x1a8dd4=_0xec21e7,_0x1e3e41=this[_0x1a8dd4(0x104)][_0x1a8dd4(0xe4)][_0x1a8dd4(0xaa)](_0x48ebca),_0x4df73f=this[_0x1a8dd4(0x104)][_0x1a8dd4(0xe4)][_0x1a8dd4(0xaa)](_0x48ca4f),_0x14eafe=async()=>{const _0x8b1b6e=_0x1a8dd4,_0x40ed80=this[_0x8b1b6e(0x101)][_0x8b1b6e(0xf3)],_0x3fa089=_0x40ed80['id'],_0x398ee0=_0x3fa089!==_0x4df73f[_0x8b1b6e(0x109)];if(_0x398ee0){const _0x4242df=_0x4df73f[_0x8b1b6e(0xce)]-this[_0x8b1b6e(0xa9)],_0x4dcf6c=this[_0x8b1b6e(0x10d)]();this[_0x8b1b6e(0x101)][_0x8b1b6e(0xfe)][_0x8b1b6e(0xa4)]();if(_0x40ed80[_0x8b1b6e(0xfb)]+_0x4242df!==_0x4dcf6c){const _0x48431e=_0x40ed80[_0x8b1b6e(0xdf)]+_0x4242df,_0x223ebb=this[_0x8b1b6e(0x104)][_0x8b1b6e(0xe4)][_0x8b1b6e(0xaa)](_0xb0d2c1),_0x47ccd2=this[_0x8b1b6e(0x101)][_0x8b1b6e(0xeb)]({'revision':_0x40ed80,'from':_0x48431e,'to':_0x4dcf6c});_0x47ccd2['id']=_0x40ed80['id'];const _0x46bec8=_0x47ccd2[_0x8b1b6e(0x9d)][_0x8b1b6e(0xe0)](_0x2d91ce=>_0x223ebb[_0x8b1b6e(0xc1)](_0x2d91ce));_0x40ed80[_0x8b1b6e(0xe3)]({..._0x47ccd2,'authors':_0x46bec8},!0x0),this[_0x8b1b6e(0x101)][_0x8b1b6e(0x10c)](_0x40ed80['id'],_0x47ccd2,!0x0);}this[_0x8b1b6e(0x101)][_0x8b1b6e(0xa6)]=_0x4dcf6c,(_0x40ed80[_0x8b1b6e(0xfb)]===_0x40ed80[_0x8b1b6e(0xdf)]&&!this[_0x8b1b6e(0x101)][_0x8b1b6e(0xb8)][_0x8b1b6e(0xdb)](_0x3fa089)&&this[_0x8b1b6e(0x101)][_0x8b1b6e(0xc7)][_0x8b1b6e(0xb5)][_0x8b1b6e(0x103)](_0x3fa089),this[_0x8b1b6e(0x101)][_0x8b1b6e(0x111)](_0x4dcf6c));}const {revisions:_0x37e510,requestId:_0x49b381}=await this[_0x8b1b6e(0xfa)][_0x8b1b6e(0xe1)](_0x1e3e41[_0x8b1b6e(0xec)],this[_0x8b1b6e(0xa5)]);_0x398ee0&&_0x37e510[_0x8b1b6e(0xf5)]>0x0?_0x4df73f[_0x8b1b6e(0xbd)]():(await this[_0x8b1b6e(0xd3)](_0x37e510),this[_0x8b1b6e(0xcc)](_0x37e510,_0x49b381),this[_0x8b1b6e(0x101)][_0x8b1b6e(0xd2)]());};return _0x4df73f[_0x1a8dd4(0xbe)]?_0x14eafe():new Promise((_0x9c3f40,_0x3fda05)=>{const _0x237f13=_0x1a8dd4;_0x4df73f[_0x237f13(0xf1)](_0x237f13(0xd9),()=>{const _0xfb5894=_0x237f13;_0x14eafe()[_0xfb5894(0xe9)](_0x9c3f40)[_0xfb5894(0xd5)](_0x3fda05);});});}[_0xec21e7(0xa2)](){const _0xcdd3dd=_0xec21e7;super[_0xcdd3dd(0xa2)]();}async[_0xec21e7(0xbb)](){const _0x5cff0e=_0xec21e7;this[_0x5cff0e(0xfa)][_0x5cff0e(0x9e)]||await new Promise(_0x16f3da=>{const _0xdf98bf=_0x5cff0e;this[_0xdf98bf(0xfc)](this[_0xdf98bf(0xfa)],_0xdf98bf(0xf7),_0x5a7a34=>{const _0x106927=_0xdf98bf;_0x5a7a34[_0x106927(0xac)](),_0x16f3da();});});}[_0xec21e7(0x10d)](){const _0x62d3eb=_0xec21e7,_0x313240=this[_0x62d3eb(0x104)][_0x62d3eb(0xe4)][_0x62d3eb(0xaa)](_0x48ca4f)[_0x62d3eb(0xc2)][_0x62d3eb(0x10f)]()[_0x62d3eb(0xf8)]();for(const _0x20f1a5 of _0x313240)if(_0x62d3eb(0xe2)!==_0x20f1a5[_0x62d3eb(0xb4)]||_0x20f1a5[_0x62d3eb(0xbc)])return _0x20f1a5[_0x62d3eb(0xa8)]+0x1;}[_0xec21e7(0x10a)](){const _0x3593e6=_0xec21e7,_0x39a5ac=this[_0x3593e6(0x104)][_0x3593e6(0xe4)][_0x3593e6(0xaa)](_0x48ca4f);return new Promise(_0x2e8d92=>{const _0x19fadc=_0x3593e6;_0x39a5ac[_0x19fadc(0xb2)]?_0x39a5ac[_0x19fadc(0xf1)](_0x19fadc(0x107),()=>{const _0x3af881=_0x19fadc;_0x2e8d92(this[_0x3af881(0x10d)]());}):_0x2e8d92(this[_0x19fadc(0x10d)]());});}[_0xec21e7(0xcc)](_0xf8f87a,_0x2ab973){const _0x2d99f0=_0xec21e7,_0x4f7098=this[_0x2d99f0(0x101)][_0x2d99f0(0xc7)];this[_0x2d99f0(0xa5)]=_0x2ab973;for(const _0x1b04b0 of _0xf8f87a){const _0x1f4737=_0x4f7098[_0x2d99f0(0xae)](_0x1b04b0['id']);if(_0x1f4737){if((_0x1b04b0[_0x2d99f0(0xdf)]||_0x1b04b0[_0x2d99f0(0xfb)])&&(_0x1b04b0[_0x2d99f0(0xc5)]=null),_0x1f4737===this[_0x2d99f0(0x101)][_0x2d99f0(0xf3)]){const _0x446128=Math[_0x2d99f0(0xee)](_0x1f4737[_0x2d99f0(0xfb)],_0x1b04b0[_0x2d99f0(0xfb)]),_0x1b7109=Math[_0x2d99f0(0xee)](_0x1f4737[_0x2d99f0(0xdf)],_0x1b04b0[_0x2d99f0(0xdf)]);let _0x1990b3;_0x1f4737[_0x2d99f0(0xfb)]===_0x1b04b0[_0x2d99f0(0xfb)]&&_0x1f4737[_0x2d99f0(0xdf)]===_0x1b04b0[_0x2d99f0(0xdf)]?(_0x1990b3=!0x0,this[_0x2d99f0(0xad)](_0x1b04b0)):_0x1b04b0[_0x2d99f0(0xfb)]===_0x446128&&_0x1b04b0[_0x2d99f0(0xdf)]===_0x1b7109?_0x1990b3=!0x1:(_0x1f4737[_0x2d99f0(0xfb)]===_0x446128&&_0x1f4737[_0x2d99f0(0xdf)]===_0x1b7109||this[_0x2d99f0(0xb1)]({'revision':_0x1f4737,'from':_0x1b7109,'to':_0x446128}),_0x1990b3=!0x0),_0x1990b3&&(delete _0x1b04b0[_0x2d99f0(0xdf)],delete _0x1b04b0[_0x2d99f0(0xfb)],delete _0x1b04b0[_0x2d99f0(0xc5)],delete _0x1b04b0[_0x2d99f0(0xb3)],delete _0x1b04b0[_0x2d99f0(0x9d)]);}this[_0x2d99f0(0x101)][_0x2d99f0(0xc8)](_0x1b04b0),this[_0x2d99f0(0xad)](_0x1b04b0);}else this[_0x2d99f0(0x101)][_0x2d99f0(0x110)](_0x1b04b0);}const _0x504cee=_0x4f7098[_0x2d99f0(0xcf)]();_0x504cee[_0x2d99f0(0xf8)]();for(let _0x3f6ae1=0x0;_0x3f6ae1<_0x504cee[_0x2d99f0(0xf5)]-0x1;_0x3f6ae1++){const _0x362039=_0x504cee[_0x3f6ae1],_0x373895=_0x504cee[_0x3f6ae1+0x1];if(_0x362039[_0x2d99f0(0xdf)]<_0x373895[_0x2d99f0(0xfb)]){const _0x26c79c=_0x373895[_0x2d99f0(0xfb)],_0xbfafb2=Math[_0x2d99f0(0xee)](_0x26c79c,_0x362039[_0x2d99f0(0xfb)]);this[_0x2d99f0(0xb1)]({'revision':_0x362039,'from':_0x26c79c,'to':_0xbfafb2});}}}[_0xec21e7(0xb1)]({revision:_0xce2089,from:_0x219201,to:_0x2cda14}={}){const _0x21514f=_0xec21e7,_0x1e1173=this[_0x21514f(0x104)][_0x21514f(0xe4)][_0x21514f(0xaa)](_0xb0d2c1),_0x311ced=this[_0x21514f(0x101)][_0x21514f(0xeb)]({'revision':_0xce2089,'from':_0x219201,'to':_0x2cda14});_0x311ced[_0x21514f(0xcb)]=_0x311ced[_0x21514f(0x9d)][_0x21514f(0xe0)](_0x5da33d=>_0x1e1173[_0x21514f(0xc1)](_0x5da33d)),_0xce2089[_0x21514f(0xe3)](_0x311ced);}[_0xec21e7(0xad)](_0x2e6ba6){const _0x28331f=_0xec21e7,_0x48f883={};_0x48f883['id']=_0x2e6ba6['id'];for(const _0x26f9be of Object[_0x28331f(0xf2)](_0x2e6ba6))'id'!==_0x26f9be&&(_0x48f883[_0x26f9be]=void 0x0);this[_0x28331f(0x101)][_0x28331f(0x10c)](_0x48f883['id'],_0x48f883,!0x0);}async[_0xec21e7(0xd3)](_0x244351){const _0x1f58b0=_0xec21e7,_0x52b771=this[_0x1f58b0(0x104)][_0x1f58b0(0xe4)][_0x1f58b0(0xaa)](_0xb0d2c1),{connection:_0x431d36}=this[_0x1f58b0(0x104)][_0x1f58b0(0xe4)][_0x1f58b0(0xaa)](_0x48ebca),_0x4a51e1=new Set();for(const _0x54b43a of _0x244351){for(const _0x25d6c5 of _0x54b43a[_0x1f58b0(0x9d)])_0x5e57dd(_0x25d6c5);_0x54b43a[_0x1f58b0(0xb6)]&&_0x5e57dd(_0x54b43a[_0x1f58b0(0xb6)]);}if(0x0===_0x4a51e1[_0x1f58b0(0xd6)])return;const _0x4061ea=await _0x4a0716[_0x1f58b0(0xe7)](_0x431d36,Array[_0x1f58b0(0xd8)](_0x4a51e1));for(const _0x29d23a of _0x4061ea)_0x52b771[_0x1f58b0(0xc1)](_0x29d23a['id'])||_0x52b771[_0x1f58b0(0xbf)](_0x29d23a);function _0x5e57dd(_0x1ba880){const _0x553703=_0x1f58b0;_0x52b771[_0x553703(0xc1)](_0x1ba880)||_0x4a51e1[_0x553703(0xdd)](_0x1ba880);}}}export{c as CloudServicesRevisionHistoryAdapter};function b(_0x47d002){const _0x70ed5c=_0xec21e7;return _0x47d002[_0x70ed5c(0xe6)][_0x70ed5c(0xaf)](_0x70ed5c(0xf0))||_0x47d002[_0x70ed5c(0xe6)][_0x70ed5c(0xaf)](_0x70ed5c(0xd1))||_0x47d002[_0x70ed5c(0xe6)][_0x70ed5c(0xaf)](_0x70ed5c(0xf4));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46354e=_0x2105;(function(_0x496993,_0xb5667f){var _0x737176=_0x2105,_0x5582f9=_0x496993();while(!![]){try{var _0x1ef3b4=parseInt(_0x737176(0x1b1))/0x1+-parseInt(_0x737176(0x1b0))/0x2+-parseInt(_0x737176(0x1ae))/0x3+-parseInt(_0x737176(0x1b3))/0x4*(parseInt(_0x737176(0x1b5))/0x5)+parseInt(_0x737176(0x1ba))/0x6+parseInt(_0x737176(0x1b8))/0x7+parseInt(_0x737176(0x1b7))/0x8;if(_0x1ef3b4===_0xb5667f)break;else _0x5582f9['push'](_0x5582f9['shift']());}catch(_0x171e06){_0x5582f9['push'](_0x5582f9['shift']());}}}(_0x8614,0x32a33));function _0x8614(){var _0x1a274d=['RealTimeCollaborativeRevisionHistory','700502FQRrkJ','206048MDdCQQ','isOfficialPlugin','5516vGVHQp','requires','85WWpBaJ','isPremiumPlugin','870496WUamSn','806890gYsuIv','pluginName','947892oCLCQa','RevisionHistory','21021MdYwOe'];_0x8614=function(){return _0x1a274d;};return _0x8614();}import{Plugin as _0x43d832}from'ckeditor5/src/core.js';function _0x2105(_0xd0b113,_0x2b45dd){var _0x86142=_0x8614();return _0x2105=function(_0x210516,_0x3a0d95){_0x210516=_0x210516-0x1ae;var _0x4943ff=_0x86142[_0x210516];return _0x4943ff;},_0x2105(_0xd0b113,_0x2b45dd);}import{CloudServicesRevisionHistoryAdapter as _0x2a1def}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0xad7b3a}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x43d832{static get[_0x46354e(0x1b4)](){var _0x59548a=_0x46354e;return[_0x59548a(0x1bb),_0x2a1def,_0xad7b3a];}static get[_0x46354e(0x1b9)](){var _0x44409c=_0x46354e;return _0x44409c(0x1af);}static get[_0x46354e(0x1b2)](){return!0x0;}static get[_0x46354e(0x1b6)](){return!0x0;}}
23
+ function _0x3754(){var _0x17e3d1=['5oyNCmd','isOfficialPlugin','requires','pluginName','3453288TizTrO','10TooUsF','RealTimeCollaborativeRevisionHistory','5259330HkwWOi','1193478lPnJmi','12891fljMNA','266112VyUyoV','isPremiumPlugin','138HaZndI','RevisionHistory','3909150vRjckL','167364XhUazi'];_0x3754=function(){return _0x17e3d1;};return _0x3754();}function _0x18b0(_0x1f693a,_0x3ad582){var _0x375413=_0x3754();return _0x18b0=function(_0x18b0b8,_0xbb1911){_0x18b0b8=_0x18b0b8-0x8f;var _0x3e51d4=_0x375413[_0x18b0b8];return _0x3e51d4;},_0x18b0(_0x1f693a,_0x3ad582);}var _0x5a4fc8=_0x18b0;(function(_0x458aac,_0x39c6ec){var _0xd2b623=_0x18b0,_0x47e4c0=_0x458aac();while(!![]){try{var _0x2792a2=parseInt(_0xd2b623(0x98))/0x1+-parseInt(_0xd2b623(0x95))/0x2*(-parseInt(_0xd2b623(0x92))/0x3)+parseInt(_0xd2b623(0x93))/0x4+parseInt(_0xd2b623(0x99))/0x5*(parseInt(_0xd2b623(0x91))/0x6)+-parseInt(_0xd2b623(0x97))/0x7+-parseInt(_0xd2b623(0x9d))/0x8+parseInt(_0xd2b623(0x90))/0x9*(parseInt(_0xd2b623(0x9e))/0xa);if(_0x2792a2===_0x39c6ec)break;else _0x47e4c0['push'](_0x47e4c0['shift']());}catch(_0x9df770){_0x47e4c0['push'](_0x47e4c0['shift']());}}}(_0x3754,0x4efe5));import{Plugin as _0x5210de}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x16ee7e}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x54718c}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x5210de{static get[_0x5a4fc8(0x9b)](){var _0x5eecc0=_0x5a4fc8;return[_0x5eecc0(0x96),_0x16ee7e,_0x54718c];}static get[_0x5a4fc8(0x9c)](){var _0x2845e7=_0x5a4fc8;return _0x2845e7(0x8f);}static get[_0x5a4fc8(0x9a)](){return!0x0;}static get[_0x5a4fc8(0x94)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x313b(){const _0x18b1d9=['editor','state','set','message','add','pluginName','data','requires','attributes','reconnect','open','isPremiumPlugin','150GJlDhg','CloudServicesTrackChangesAdapter','originalSuggestionId','TrackChangesEditing','init','12228rcXkEM','catch','then','29609866MfAhoB','find','isConnected','hasSuggestion','6UiMLZx','addToReconnectionStack','911574SfBAfI','getSuggestion','size','collaboration.channelId','adapter','listenTo','connection','isOfficialPlugin','connected','getUser','addUser','_fetchMissingUsersForThreads','7QWKSvN','off','config','_waitForServiceReady','connect','values','_bufferedRequests','TrackChangesService','delete','833575carekT','_trackChangesService','addSuggestionData','plugins','suggestionUpdated','cloud-services-internal-error:\x20Request\x20timeout.','type','cloud-services-internal-error:\x20Not\x20connected.','from','809272OaAPla','_saved','351171CxvYSh','248097MjLTvO','get','getMany','744CYnAhd','update','startsWith'];_0x313b=function(){return _0x18b1d9;};return _0x313b();}const _0x2d5c5d=_0x2255;(function(_0xc75ad1,_0x511dd1){const _0xd235af=_0x2255,_0x1f0942=_0xc75ad1();while(!![]){try{const _0x1e468d=parseInt(_0xd235af(0x1b5))/0x1*(-parseInt(_0xd235af(0x1d3))/0x2)+-parseInt(_0xd235af(0x1cc))/0x3*(parseInt(_0xd235af(0x1b8))/0x4)+parseInt(_0xd235af(0x1a9))/0x5+-parseInt(_0xd235af(0x1d5))/0x6+-parseInt(_0xd235af(0x1a0))/0x7*(parseInt(_0xd235af(0x1b2))/0x8)+parseInt(_0xd235af(0x1b4))/0x9*(-parseInt(_0xd235af(0x1c7))/0xa)+parseInt(_0xd235af(0x1cf))/0xb;if(_0x1e468d===_0x511dd1)break;else _0x1f0942['push'](_0x1f0942['shift']());}catch(_0x549b2f){_0x1f0942['push'](_0x1f0942['shift']());}}}(_0x313b,0x7e659));function _0x2255(_0x2c3249,_0x1fc619){const _0x313b3e=_0x313b();return _0x2255=function(_0x225591,_0x2ccb7a){_0x225591=_0x225591-0x19b;let _0xdf8214=_0x313b3e[_0x225591];return _0xdf8214;},_0x2255(_0x2c3249,_0x1fc619);}import{Plugin as _0x56d77d}from'ckeditor5/src/core.js';import{User as _0xc93293,TrackChangesService as _0x1c6294}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x563e06}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x158c9e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x39a25a}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x56d77d{static [_0x2d5c5d(0x1a7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1c6294)());[_0x2d5c5d(0x1a6)];[_0x2d5c5d(0x1aa)];static get[_0x2d5c5d(0x1c2)](){const _0x311c3d=_0x2d5c5d;return[_0x158c9e,_0x311c3d(0x1ca),_0x563e06];}static get[_0x2d5c5d(0x1c0)](){const _0x17f8ae=_0x2d5c5d;return _0x17f8ae(0x1c8);}static get[_0x2d5c5d(0x19b)](){return!0x0;}static get[_0x2d5c5d(0x1c6)](){return!0x0;}constructor(_0x5a609a){const _0x433d06=_0x2d5c5d;super(_0x5a609a);const _0xab68c1=this[_0x433d06(0x1bb)][_0x433d06(0x1a2)][_0x433d06(0x1b6)](_0x433d06(0x1d8));this[_0x433d06(0x1a6)]=new Map(),this[_0x433d06(0x1aa)]=new m[(_0x433d06(0x1a7))](_0xab68c1);}[_0x2d5c5d(0x1cb)](){const _0x135f36=_0x2d5c5d,_0xdb8bc5=this[_0x135f36(0x1bb)][_0x135f36(0x1ac)][_0x135f36(0x1b6)](_0x563e06),_0x5b86be=this[_0x135f36(0x1bb)][_0x135f36(0x1ac)][_0x135f36(0x1b6)](_0x135f36(0x1ca));return _0x5b86be[_0x135f36(0x1d9)]={'getSuggestion':async _0x435b80=>{const _0x527a4b=_0x135f36;await this[_0x527a4b(0x1a3)]();const _0x18b32b=await this[_0x527a4b(0x1aa)][_0x527a4b(0x1b6)](_0x435b80)[_0x527a4b(0x1cd)](A);return await this[_0x527a4b(0x19f)]([_0x18b32b]),_0x18b32b;},'addSuggestion':async({id:_0x4f4e4d,type:_0x406cdf,data:_0x21a6e6,originalSuggestionId:_0x2a3499,attributes:_0xa85048})=>{const _0x169284=_0x135f36;await this[_0x169284(0x1a3)]();const _0x32ac37={'id':_0x4f4e4d,'type':_0x406cdf,'data':_0x21a6e6,'originalSuggestionId':_0x2a3499,'attributes':_0xa85048},_0x89d547=await this[_0x169284(0x1aa)][_0x169284(0x1bf)](_0x4f4e4d,_0x406cdf,_0x21a6e6,_0x2a3499,_0xa85048)[_0x169284(0x1cd)](_0x44cb14=>{if(M(_0x44cb14))return new Promise(_0x540a3d=>{const _0x56131a=_0x2255;this[_0x56131a(0x1a6)][_0x56131a(0x1bd)](_0x4f4e4d,{'resolve':_0x540a3d,'suggestionData':_0x32ac37});});throw _0x44cb14;});return this[_0x169284(0x1a6)][_0x169284(0x1a8)](_0x4f4e4d),_0x89d547;},'updateSuggestion':async(_0x4685ba,_0xcb4e79)=>{const _0x1c9d79=_0x135f36;if(await this[_0x1c9d79(0x1a3)](),_0x1c9d79(0x1c5)!==_0xcb4e79[_0x1c9d79(0x1bc)])return this[_0x1c9d79(0x1aa)][_0x1c9d79(0x1b9)](_0x4685ba,_0xcb4e79)[_0x1c9d79(0x1cd)](A);}},this[_0x135f36(0x1da)](this[_0x135f36(0x1aa)],_0x135f36(0x1ad),(_0x153db7,_0xb53318)=>{const _0x5bdedf=_0x135f36;_0x5b86be[_0x5bdedf(0x1d2)](_0xb53318['id'])&&(_0x5b86be[_0x5bdedf(0x1d6)](_0xb53318['id'])[_0x5bdedf(0x1c3)]=_0xb53318[_0x5bdedf(0x1c3)]);}),this[_0x135f36(0x1aa)][_0x135f36(0x1a4)](_0xdb8bc5[_0x135f36(0x1db)])[_0x135f36(0x1ce)](_0x49b448=>(_0xdb8bc5[_0x135f36(0x1d4)](this),this[_0x135f36(0x19f)](_0x49b448)[_0x135f36(0x1ce)](()=>{const _0x134ea7=_0x135f36;for(const _0x4b7298 of _0x49b448){_0x5b86be[_0x134ea7(0x1ab)](_0x4b7298)[_0x134ea7(0x1b3)]=!0x0;}})));}async[_0x2d5c5d(0x1c4)](){const _0xef8b0e=_0x2d5c5d,_0x1bd921=this[_0xef8b0e(0x1bb)][_0xef8b0e(0x1ac)][_0xef8b0e(0x1b6)](_0xef8b0e(0x1ca)),{connection:_0x337c71}=this[_0xef8b0e(0x1bb)][_0xef8b0e(0x1ac)][_0xef8b0e(0x1b6)](_0x563e06),_0x1def87=await this[_0xef8b0e(0x1aa)][_0xef8b0e(0x1a4)](_0x337c71);await this[_0xef8b0e(0x19f)](_0x1def87);for(const {suggestionData:_0x1f2d79,resolve:_0x409fdf}of this[_0xef8b0e(0x1a6)][_0xef8b0e(0x1a5)]()){let _0x564436=_0x1def87[_0xef8b0e(0x1d0)](_0x17bf1a=>_0x17bf1a['id']===_0x1f2d79['id']);_0x564436||(_0x564436=await this[_0xef8b0e(0x1aa)][_0xef8b0e(0x1bf)](_0x1f2d79['id'],_0x1f2d79[_0xef8b0e(0x1af)],_0x1f2d79[_0xef8b0e(0x1c1)],_0x1f2d79[_0xef8b0e(0x1c9)])),_0x409fdf(_0x564436);}for(const _0x5ab029 of _0x1def87)_0x1bd921[_0xef8b0e(0x1d2)](_0x5ab029['id'])||_0x1bd921[_0xef8b0e(0x1ab)](_0x5ab029);}async[_0x2d5c5d(0x1a3)](){const _0x31cbfe=_0x2d5c5d;this[_0x31cbfe(0x1aa)][_0x31cbfe(0x1d1)]||await new Promise(_0x2948b1=>{const _0x298548=_0x31cbfe;this[_0x298548(0x1da)](this[_0x298548(0x1aa)],_0x298548(0x19c),_0x413aa9=>{const _0x42999d=_0x298548;_0x413aa9[_0x42999d(0x1a1)](),_0x2948b1();});});}async[_0x2d5c5d(0x19f)](_0xef3e78){const _0x5d665d=_0x2d5c5d,_0x223718=this[_0x5d665d(0x1bb)][_0x5d665d(0x1ac)][_0x5d665d(0x1b6)](_0x39a25a),{connection:_0x1c6b05}=this[_0x5d665d(0x1bb)][_0x5d665d(0x1ac)][_0x5d665d(0x1b6)](_0x563e06),_0xa5930b=new Set();for(const {authorId:_0x18dec6}of _0xef3e78)_0x223718[_0x5d665d(0x19d)](_0x18dec6)||_0xa5930b[_0x5d665d(0x1bf)](_0x18dec6);if(0x0===_0xa5930b[_0x5d665d(0x1d7)])return;const _0xeb78ac=await _0xc93293[_0x5d665d(0x1b7)](_0x1c6b05,Array[_0x5d665d(0x1b1)](_0xa5930b));for(const _0x4c590e of _0xeb78ac)_0x223718[_0x5d665d(0x19d)](_0x4c590e['id'])||_0x223718[_0x5d665d(0x19e)](_0x4c590e);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x437577){if(M(_0x437577))return new Promise(()=>{});throw _0x437577;}function M(_0x391a3c){const _0x2fa9de=_0x2d5c5d;return _0x391a3c[_0x2fa9de(0x1be)][_0x2fa9de(0x1ba)](_0x2fa9de(0x1b0))||_0x391a3c[_0x2fa9de(0x1be)][_0x2fa9de(0x1ba)](_0x2fa9de(0x1ae));}
23
+ const _0x4b7b6b=_0x2e3a;(function(_0x3ae696,_0x524f1e){const _0x5935e7=_0x2e3a,_0x599a5e=_0x3ae696();while(!![]){try{const _0x52058b=-parseInt(_0x5935e7(0x1d9))/0x1*(-parseInt(_0x5935e7(0x1f3))/0x2)+-parseInt(_0x5935e7(0x1d2))/0x3*(-parseInt(_0x5935e7(0x1d4))/0x4)+parseInt(_0x5935e7(0x1d5))/0x5+-parseInt(_0x5935e7(0x1d8))/0x6*(parseInt(_0x5935e7(0x1ec))/0x7)+parseInt(_0x5935e7(0x1ed))/0x8*(-parseInt(_0x5935e7(0x1cb))/0x9)+parseInt(_0x5935e7(0x1d1))/0xa*(parseInt(_0x5935e7(0x1c7))/0xb)+-parseInt(_0x5935e7(0x1c9))/0xc*(parseInt(_0x5935e7(0x202))/0xd);if(_0x52058b===_0x524f1e)break;else _0x599a5e['push'](_0x599a5e['shift']());}catch(_0x128f2b){_0x599a5e['push'](_0x599a5e['shift']());}}}(_0x3f6d,0xadfd8));function _0x2e3a(_0x1b9f93,_0x19fd9d){const _0x3f6dca=_0x3f6d();return _0x2e3a=function(_0x2e3aca,_0x4142ac){_0x2e3aca=_0x2e3aca-0x1c3;let _0x3b9760=_0x3f6dca[_0x2e3aca];return _0x3b9760;},_0x2e3a(_0x1b9f93,_0x19fd9d);}import{Plugin as _0x58deb7}from'ckeditor5/src/core.js';import{User as _0x171faa,TrackChangesService as _0x5dfe77}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x657bd6}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x395d89}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1f439f}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x58deb7{static [_0x4b7b6b(0x1cc)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5dfe77)());[_0x4b7b6b(0x1c4)];[_0x4b7b6b(0x1e7)];static get[_0x4b7b6b(0x1d7)](){const _0x31a757=_0x4b7b6b;return[_0x395d89,_0x31a757(0x200),_0x657bd6];}static get[_0x4b7b6b(0x1dd)](){const _0x22e259=_0x4b7b6b;return _0x22e259(0x1f5);}static get[_0x4b7b6b(0x1f6)](){return!0x0;}static get[_0x4b7b6b(0x1fa)](){return!0x0;}constructor(_0x4def3a){const _0x1fd2bd=_0x4b7b6b;super(_0x4def3a);const _0x2f00ea=this[_0x1fd2bd(0x1eb)][_0x1fd2bd(0x1e0)][_0x1fd2bd(0x1ea)](_0x1fd2bd(0x1e5));this[_0x1fd2bd(0x1c4)]=new Map(),this[_0x1fd2bd(0x1e7)]=new m[(_0x1fd2bd(0x1cc))](_0x2f00ea);}[_0x4b7b6b(0x1c3)](){const _0x107eb3=_0x4b7b6b,_0x4ae525=this[_0x107eb3(0x1eb)][_0x107eb3(0x1fe)][_0x107eb3(0x1ea)](_0x657bd6),_0x9a7743=this[_0x107eb3(0x1eb)][_0x107eb3(0x1fe)][_0x107eb3(0x1ea)](_0x107eb3(0x200));return _0x9a7743[_0x107eb3(0x1e6)]={'getSuggestion':async _0x57cecf=>{const _0x51937b=_0x107eb3;await this[_0x51937b(0x201)]();const _0x2bd566=await this[_0x51937b(0x1e7)][_0x51937b(0x1ea)](_0x57cecf)[_0x51937b(0x1f0)](A);return await this[_0x51937b(0x1ce)]([_0x2bd566]),_0x2bd566;},'addSuggestion':async({id:_0x2bbf4c,type:_0x228b5f,data:_0x1b7765,originalSuggestionId:_0x4b7b23,attributes:_0x4a3e35})=>{const _0x174605=_0x107eb3;await this[_0x174605(0x201)]();const _0x467df1={'id':_0x2bbf4c,'type':_0x228b5f,'data':_0x1b7765,'originalSuggestionId':_0x4b7b23,'attributes':_0x4a3e35},_0x2db87c=await this[_0x174605(0x1e7)][_0x174605(0x1cf)](_0x2bbf4c,_0x228b5f,_0x1b7765,_0x4b7b23,_0x4a3e35)[_0x174605(0x1f0)](_0x40ca73=>{if(b(_0x40ca73))return new Promise(_0x2fa1f1=>{const _0x491540=_0x2e3a;this[_0x491540(0x1c4)][_0x491540(0x1ee)](_0x2bbf4c,{'resolve':_0x2fa1f1,'suggestionData':_0x467df1});});throw _0x40ca73;});return this[_0x174605(0x1c4)][_0x174605(0x1fd)](_0x2bbf4c),_0x2db87c;},'updateSuggestion':async(_0x39b9f0,_0x33e44b)=>{const _0x5af36f=_0x107eb3;if(await this[_0x5af36f(0x201)](),_0x5af36f(0x1e9)!==_0x33e44b[_0x5af36f(0x1df)])return this[_0x5af36f(0x1e7)][_0x5af36f(0x1c6)](_0x39b9f0,_0x33e44b)[_0x5af36f(0x1f0)](A);}},this[_0x107eb3(0x1f8)](this[_0x107eb3(0x1e7)],_0x107eb3(0x203),(_0xb46cd0,_0x2d64b7)=>{const _0x709e9e=_0x107eb3;_0x9a7743[_0x709e9e(0x1f4)](_0x2d64b7['id'])&&(_0x9a7743[_0x709e9e(0x1fc)](_0x2d64b7['id'])[_0x709e9e(0x1db)]=_0x2d64b7[_0x709e9e(0x1db)]);}),this[_0x107eb3(0x1e7)][_0x107eb3(0x1c5)](_0x4ae525[_0x107eb3(0x1ff)])[_0x107eb3(0x1de)](_0x399e9a=>(_0x4ae525[_0x107eb3(0x1f2)](this),this[_0x107eb3(0x1ce)](_0x399e9a)[_0x107eb3(0x1de)](()=>{const _0x10b8de=_0x107eb3;for(const _0x2f2105 of _0x399e9a){_0x9a7743[_0x10b8de(0x1d6)](_0x2f2105)[_0x10b8de(0x1f9)]=!0x0;}})));}async[_0x4b7b6b(0x1da)](){const _0x36a08b=_0x4b7b6b,_0x5bfa15=this[_0x36a08b(0x1eb)][_0x36a08b(0x1fe)][_0x36a08b(0x1ea)](_0x36a08b(0x200)),{connection:_0x5cd9a3}=this[_0x36a08b(0x1eb)][_0x36a08b(0x1fe)][_0x36a08b(0x1ea)](_0x657bd6),_0x2b884f=await this[_0x36a08b(0x1e7)][_0x36a08b(0x1c5)](_0x5cd9a3);await this[_0x36a08b(0x1ce)](_0x2b884f);for(const {suggestionData:_0x121e48,resolve:_0x36985e}of this[_0x36a08b(0x1c4)][_0x36a08b(0x1f1)]()){let _0x353585=_0x2b884f[_0x36a08b(0x1ca)](_0x1a135d=>_0x1a135d['id']===_0x121e48['id']);_0x353585||(_0x353585=await this[_0x36a08b(0x1e7)][_0x36a08b(0x1cf)](_0x121e48['id'],_0x121e48[_0x36a08b(0x1e2)],_0x121e48[_0x36a08b(0x1dc)],_0x121e48[_0x36a08b(0x1e8)])),_0x36985e(_0x353585);}for(const _0x52e91a of _0x2b884f)_0x5bfa15[_0x36a08b(0x1f4)](_0x52e91a['id'])||_0x5bfa15[_0x36a08b(0x1d6)](_0x52e91a);}async[_0x4b7b6b(0x201)](){const _0x4a33e4=_0x4b7b6b;this[_0x4a33e4(0x1e7)][_0x4a33e4(0x1cd)]||await new Promise(_0x1d4663=>{const _0xc7a125=_0x4a33e4;this[_0xc7a125(0x1f8)](this[_0xc7a125(0x1e7)],_0xc7a125(0x1ef),_0x4cda68=>{const _0x1537fb=_0xc7a125;_0x4cda68[_0x1537fb(0x1c8)](),_0x1d4663();});});}async[_0x4b7b6b(0x1ce)](_0x40cd11){const _0x5010a4=_0x4b7b6b,_0xcde9b4=this[_0x5010a4(0x1eb)][_0x5010a4(0x1fe)][_0x5010a4(0x1ea)](_0x1f439f),{connection:_0x539ffa}=this[_0x5010a4(0x1eb)][_0x5010a4(0x1fe)][_0x5010a4(0x1ea)](_0x657bd6),_0x2e0011=new Set();for(const {authorId:_0x2573ae}of _0x40cd11)_0xcde9b4[_0x5010a4(0x1fb)](_0x2573ae)||_0x2e0011[_0x5010a4(0x1cf)](_0x2573ae);if(0x0===_0x2e0011[_0x5010a4(0x1f7)])return;const _0x10e988=await _0x171faa[_0x5010a4(0x1d0)](_0x539ffa,Array[_0x5010a4(0x1d3)](_0x2e0011));for(const _0xbc8c55 of _0x10e988)_0xcde9b4[_0x5010a4(0x1fb)](_0xbc8c55['id'])||_0xcde9b4[_0x5010a4(0x1e4)](_0xbc8c55);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x4a842d){if(b(_0x4a842d))return new Promise(()=>{});throw _0x4a842d;}function _0x3f6d(){const _0x428f61=['update','83171VExeff','off','59016PUqBlv','find','289584rgiTCh','TrackChangesService','isConnected','_fetchMissingUsersForThreads','add','getMany','1750TBMJpX','85449SOqNwW','from','140dTiZzO','5438260hzzYFn','addSuggestionData','requires','954ypjQCF','1SDrRta','reconnect','attributes','data','pluginName','then','state','config','cloud-services-internal-error:\x20Not\x20connected.','type','startsWith','addUser','collaboration.channelId','adapter','_trackChangesService','originalSuggestionId','open','get','editor','15365cPNyPj','56PnfGNz','set','connected','catch','values','addToReconnectionStack','1502562xOKstf','hasSuggestion','CloudServicesTrackChangesAdapter','isOfficialPlugin','size','listenTo','_saved','isPremiumPlugin','getUser','getSuggestion','delete','plugins','connection','TrackChangesEditing','_waitForServiceReady','7592OYUEiB','suggestionUpdated','message','cloud-services-internal-error:\x20Request\x20timeout.','init','_bufferedRequests','connect'];_0x3f6d=function(){return _0x428f61;};return _0x3f6d();}function b(_0x3943b4){const _0x2b412d=_0x4b7b6b;return _0x3943b4[_0x2b412d(0x204)][_0x2b412d(0x1e3)](_0x2b412d(0x1e1))||_0x3943b4[_0x2b412d(0x204)][_0x2b412d(0x1e3)](_0x2b412d(0x205));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b0679=_0x94ad;function _0x94ad(_0x37f50b,_0x30a4ae){var _0x42cf8d=_0x42cf();return _0x94ad=function(_0x94ad9d,_0xfd43f8){_0x94ad9d=_0x94ad9d-0x19a;var _0xec91e9=_0x42cf8d[_0x94ad9d];return _0xec91e9;},_0x94ad(_0x37f50b,_0x30a4ae);}(function(_0x38af0f,_0x1d0a80){var _0x1c3a5a=_0x94ad,_0x40b650=_0x38af0f();while(!![]){try{var _0x366680=-parseInt(_0x1c3a5a(0x1a7))/0x1+parseInt(_0x1c3a5a(0x1a5))/0x2*(parseInt(_0x1c3a5a(0x19a))/0x3)+parseInt(_0x1c3a5a(0x1a0))/0x4*(-parseInt(_0x1c3a5a(0x1a6))/0x5)+-parseInt(_0x1c3a5a(0x19f))/0x6+-parseInt(_0x1c3a5a(0x19b))/0x7*(-parseInt(_0x1c3a5a(0x19d))/0x8)+parseInt(_0x1c3a5a(0x19c))/0x9+-parseInt(_0x1c3a5a(0x1aa))/0xa*(-parseInt(_0x1c3a5a(0x1a9))/0xb);if(_0x366680===_0x1d0a80)break;else _0x40b650['push'](_0x40b650['shift']());}catch(_0xe18769){_0x40b650['push'](_0x40b650['shift']());}}}(_0x42cf,0x36a96));import{Plugin as _0x2a9f49}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x174642}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x4648c8}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x2a9f49{static get[_0x2b0679(0x1a1)](){var _0x49933e=_0x2b0679;return[_0x4648c8,_0x174642,_0x49933e(0x19e)];}static get[_0x2b0679(0x1a2)](){var _0x18c498=_0x2b0679;return _0x18c498(0x1a8);}static get[_0x2b0679(0x1a4)](){return!0x0;}static get[_0x2b0679(0x1a3)](){return!0x0;}}function _0x42cf(){var _0x227db4=['315165iVHbcV','158809QhDGla','1745307DTVjHp','24dBtAyu','TrackChanges','890718gKvjmQ','40CHIXZn','requires','pluginName','isPremiumPlugin','isOfficialPlugin','4ZzaGXw','24760YUVOgb','207088ljHCyK','RealTimeCollaborativeTrackChanges','1725471JWmPQe','10tgGgYD'];_0x42cf=function(){return _0x227db4;};return _0x42cf();}
23
+ var _0x28db08=_0x4c69;function _0x4c69(_0x366032,_0x40f99a){var _0x2c004a=_0x2c00();return _0x4c69=function(_0x4c69b1,_0x20d5bf){_0x4c69b1=_0x4c69b1-0x108;var _0x469afb=_0x2c004a[_0x4c69b1];return _0x469afb;},_0x4c69(_0x366032,_0x40f99a);}(function(_0x5a0b7e,_0xa8722b){var _0x6410c6=_0x4c69,_0x1be7ed=_0x5a0b7e();while(!![]){try{var _0x50468b=-parseInt(_0x6410c6(0x109))/0x1+parseInt(_0x6410c6(0x108))/0x2+parseInt(_0x6410c6(0x10a))/0x3+-parseInt(_0x6410c6(0x10d))/0x4+parseInt(_0x6410c6(0x10f))/0x5*(-parseInt(_0x6410c6(0x116))/0x6)+parseInt(_0x6410c6(0x111))/0x7*(-parseInt(_0x6410c6(0x10c))/0x8)+parseInt(_0x6410c6(0x10e))/0x9;if(_0x50468b===_0xa8722b)break;else _0x1be7ed['push'](_0x1be7ed['shift']());}catch(_0x5e45fc){_0x1be7ed['push'](_0x1be7ed['shift']());}}}(_0x2c00,0x9f8ad));import{Plugin as _0x3b646d}from'ckeditor5/src/core.js';function _0x2c00(){var _0x3a5168=['1400592XzkLBU','937071McAEuo','24201EHTOlg','pluginName','8kwkwEl','522912LmzVOt','19101573EqbfWY','5253285Rvrjik','isOfficialPlugin','411733zGGSol','isPremiumPlugin','requires','TrackChanges','RealTimeCollaborativeTrackChanges','6nzUtjT'];_0x2c00=function(){return _0x3a5168;};return _0x2c00();}import{CloudServicesTrackChangesAdapter as _0x91e8fb}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x287388}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3b646d{static get[_0x28db08(0x113)](){var _0x2f75aa=_0x28db08;return[_0x287388,_0x91e8fb,_0x2f75aa(0x114)];}static get[_0x28db08(0x10b)](){var _0x417a01=_0x28db08;return _0x417a01(0x115);}static get[_0x28db08(0x110)](){return!0x0;}static get[_0x28db08(0x112)](){return!0x0;}}