@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.1 → 47.0.0-alpha.3

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 +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 _0x5a1d1c=_0x52bb;(function(_0xef1622,_0x213626){const _0xb41041=_0x52bb,_0x155c7c=_0xef1622();while(!![]){try{const _0x161ac0=parseInt(_0xb41041(0x190))/0x1+-parseInt(_0xb41041(0x1a1))/0x2+parseInt(_0xb41041(0x1b6))/0x3+-parseInt(_0xb41041(0x1af))/0x4*(parseInt(_0xb41041(0x195))/0x5)+-parseInt(_0xb41041(0x1a7))/0x6*(parseInt(_0xb41041(0x1a5))/0x7)+-parseInt(_0xb41041(0x1a6))/0x8*(-parseInt(_0xb41041(0x1ac))/0x9)+parseInt(_0xb41041(0x1c4))/0xa*(parseInt(_0xb41041(0x1b3))/0xb);if(_0x161ac0===_0x213626)break;else _0x155c7c['push'](_0x155c7c['shift']());}catch(_0x1101c6){_0x155c7c['push'](_0x155c7c['shift']());}}}(_0x1990,0x5e062));function _0x52bb(_0x7201ec,_0x401089){const _0x1990dc=_0x1990();return _0x52bb=function(_0x52bb15,_0x18aa65){_0x52bb15=_0x52bb15-0x17d;let _0x1aefce=_0x1990dc[_0x52bb15];return _0x1aefce;},_0x52bb(_0x7201ec,_0x401089);}import{ContextPlugin as _0x131caf}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2f1c49,CKEditorError as _0x748b99}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3393da,WEB_SOCKET_GATEWAY_STATES as _0x44cc52}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1990(){const _0x10734d=['324775JsLqUg','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.','define','code','websocketgateway-missing-token','3507765BdJsWu','stopListening','add','constructor','bind','limitExceeded','websocketgateway-missing-websocket-url','set','websocketgateway-invalid-plugin-interface','reconnect','isOfficialPlugin','showWarning','1120734JrJXnw','CONNECTING','cloudservices-init','WebSocketGateway','196yhwVhK','16pspLbn','98784LyfZXe','destroy','error','connect','cloudservices-reconnection-error','3188637PXXcEZ','_reconnect','get','4yXSmhv','cloudServices.connectionTimeout','requires','all','77vDCmvO','function','real-time-collaboration','1118412rzpaKN','_domEmitter','state','change:me','delete','CONNECTED','DISCONNECTED','isInReconnectionStack','_shouldPluginsReconnect','from','_reconnectionStack','Connected\x20users\x20limit\x20exceeded','has','init','1002670MlLhes','token','catch','connection','context','offline','listenTo','CloudServices','isPremiumPlugin','initialReconnectionInterval','then','online','addToReconnectionStack','pluginName','webSocketUrl','cloudServices.requestTimeout','websocketgateway-plugin-already-registered','config','disconnect','connected','_isBrowserOffline','plugins','removeFromReconnectionStack'];_0x1990=function(){return _0x10734d;};return _0x1990();}import{Notification as _0x5364b5}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x131caf{static [_0x5a1d1c(0x1a4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3393da)());static [_0x5a1d1c(0x182)]=0x3e8;[_0x5a1d1c(0x1c7)];[_0x5a1d1c(0x1c0)];[_0x5a1d1c(0x1be)];[_0x5a1d1c(0x1b7)];static get[_0x5a1d1c(0x1b1)](){const _0x52145d=_0x5a1d1c;return[_0x52145d(0x180),_0x5364b5];}static get[_0x5a1d1c(0x186)](){const _0xc0093d=_0x5a1d1c;return _0xc0093d(0x1a4);}static get[_0x5a1d1c(0x19f)](){return!0x0;}static get[_0x5a1d1c(0x181)](){return!0x0;}constructor(_0x4c1bb){const _0x2710f5=_0x5a1d1c;super(_0x4c1bb),this[_0x2710f5(0x19c)](_0x2710f5(0x1b8),_0x44cc52[_0x2710f5(0x1bb)]),this[_0x2710f5(0x19c)](_0x2710f5(0x18d),!0x1),this[_0x2710f5(0x1c0)]=new Set(),this[_0x2710f5(0x1be)]=!0x1,this[_0x2710f5(0x1b7)]=new(_0x2f1c49())();}[_0x5a1d1c(0x1c3)](){const _0x589af7=_0x5a1d1c,_0x471f47=this[_0x589af7(0x17d)],_0x13c7da=_0x471f47[_0x589af7(0x18e)][_0x589af7(0x1ae)](_0x589af7(0x180)),_0x573d9a=_0x471f47[_0x589af7(0x18e)][_0x589af7(0x1ae)](_0x5364b5);if(!_0x13c7da[_0x589af7(0x1c5)])throw new _0x748b99(_0x589af7(0x194),this);if(!_0x13c7da[_0x589af7(0x187)])throw new _0x748b99(_0x589af7(0x19b),this);return this[_0x589af7(0x1b7)][_0x589af7(0x17f)](window,_0x589af7(0x17e),()=>this[_0x589af7(0x18d)]=!0x0),this[_0x589af7(0x1b7)][_0x589af7(0x17f)](window,_0x589af7(0x184),()=>this[_0x589af7(0x18d)]=!0x1),this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x192)](_0x589af7(0x1b0),0xa),this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x192)](_0x589af7(0x188),0x14),WebSocketGateway[_0x589af7(0x1a4)][_0x589af7(0x1aa)](_0x13c7da[_0x589af7(0x1c5)],_0x13c7da[_0x589af7(0x187)],{'timeout':0x3e8*this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x1ae)](_0x589af7(0x1b0)),'requestTimeout':0x3e8*this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x1ae)](_0x589af7(0x188))})[_0x589af7(0x183)](_0x2fbb1a=>{const _0x26fb16=_0x589af7;if(this[_0x26fb16(0x1c7)]=_0x2fbb1a,this[_0x26fb16(0x199)](_0x26fb16(0x1b8))['to'](_0x2fbb1a,_0x26fb16(0x1b8),this,_0x26fb16(0x18d),(_0x45fdc2,_0x22edbb)=>(_0x26fb16(0x18c)!==_0x45fdc2&&(this[_0x26fb16(0x1be)]=!0x0),_0x22edbb||_0x45fdc2!==_0x44cc52[_0x26fb16(0x1bb)]?_0x44cc52[_0x26fb16(0x1bc)]:this[_0x26fb16(0x1b8)]==_0x44cc52[_0x26fb16(0x1bc)]&&this[_0x26fb16(0x1be)]?(this[_0x26fb16(0x1be)]=!0x1,this[_0x26fb16(0x1ad)](),_0x44cc52[_0x26fb16(0x1a2)]):_0x44cc52[_0x26fb16(0x1bb)])),this[_0x26fb16(0x1c7)]['on'](_0x26fb16(0x1a9),(_0x3af371,_0xd5cd96)=>{const _0x286f53=_0x26fb16;if(_0x286f53(0x19a)!==_0xd5cd96[_0x286f53(0x193)])throw console[_0x286f53(0x1a9)](_0xd5cd96),new _0x748b99(_0x286f53(0x1a3),null,{'originalError':_0xd5cd96});_0x573d9a[_0x286f53(0x1a0)](_0x286f53(0x191),{'title':_0x286f53(0x1c1),'namespace':_0x286f53(0x1b5)});}),!_0x2fbb1a['me'])return new Promise(_0x47b859=>_0x2fbb1a['on'](_0x26fb16(0x1b9),_0x47b859));})[_0x589af7(0x1c6)](_0x3c86ce=>{const _0x10bda5=_0x589af7;throw console[_0x10bda5(0x1a9)](_0x3c86ce),new _0x748b99(_0x10bda5(0x1a3),null,{'originalError':_0x3c86ce});});}[_0x5a1d1c(0x185)](_0x3346a1){const _0x1f95ea=_0x5a1d1c;if(_0x1f95ea(0x1b4)!=typeof _0x3346a1[_0x1f95ea(0x19e)])throw new _0x748b99(_0x1f95ea(0x19d),this);if(this[_0x1f95ea(0x1bd)](_0x3346a1))throw new _0x748b99(_0x1f95ea(0x189),this,{'name':_0x3346a1[_0x1f95ea(0x198)][_0x1f95ea(0x186)]});this[_0x1f95ea(0x1c0)][_0x1f95ea(0x197)](_0x3346a1);}[_0x5a1d1c(0x18f)](_0x1b9418){const _0x436cde=_0x5a1d1c;this[_0x436cde(0x1c0)][_0x436cde(0x1ba)](_0x1b9418);}[_0x5a1d1c(0x1bd)](_0x15482a){const _0x23d8f1=_0x5a1d1c;return this[_0x23d8f1(0x1c0)][_0x23d8f1(0x1c2)](_0x15482a);}[_0x5a1d1c(0x1ad)](){const _0x229c38=_0x5a1d1c;return this[_0x229c38(0x1c7)][_0x229c38(0x19e)]()[_0x229c38(0x183)](()=>Promise[_0x229c38(0x1b2)](Array[_0x229c38(0x1bf)](this[_0x229c38(0x1c0)],_0x3eb1e0=>_0x3eb1e0[_0x229c38(0x19e)]())))[_0x229c38(0x183)](()=>this[_0x229c38(0x1b8)]=_0x44cc52[_0x229c38(0x1bb)])[_0x229c38(0x1c6)](_0x4c88fa=>{const _0xb59293=_0x229c38;throw console[_0xb59293(0x1a9)](_0x4c88fa),new _0x748b99(_0xb59293(0x1ab),this[_0xb59293(0x17d)]);});}[_0x5a1d1c(0x18b)](){const _0x3f9926=_0x5a1d1c;this[_0x3f9926(0x1c7)]&&this[_0x3f9926(0x1c7)][_0x3f9926(0x18b)](),this[_0x3f9926(0x1b8)]=_0x44cc52[_0x3f9926(0x1bc)],this[_0x3f9926(0x1b7)][_0x3f9926(0x196)]();}[_0x5a1d1c(0x1a8)](){const _0x25eec1=_0x5a1d1c;this[_0x25eec1(0x18b)](),super[_0x25eec1(0x1a8)]();}}
23
+ const _0x5df131=_0x2bd8;(function(_0x17c30e,_0x17c361){const _0x31d77f=_0x2bd8,_0x317cc3=_0x17c30e();while(!![]){try{const _0x51061f=-parseInt(_0x31d77f(0x163))/0x1+parseInt(_0x31d77f(0x12f))/0x2+parseInt(_0x31d77f(0x149))/0x3+parseInt(_0x31d77f(0x153))/0x4*(parseInt(_0x31d77f(0x14c))/0x5)+parseInt(_0x31d77f(0x14b))/0x6+-parseInt(_0x31d77f(0x162))/0x7+-parseInt(_0x31d77f(0x135))/0x8;if(_0x51061f===_0x17c361)break;else _0x317cc3['push'](_0x317cc3['shift']());}catch(_0x2a9b87){_0x317cc3['push'](_0x317cc3['shift']());}}}(_0x8654,0x6a461));import{ContextPlugin as _0x4eb19f}from'ckeditor5/src/core.js';function _0x8654(){const _0x117cc0=['showWarning','stopListening','1681296yAcxLe','initialReconnectionInterval','destroy','Connected\x20users\x20limit\x20exceeded','set','_domEmitter','3797408WsdcEy','get','addToReconnectionStack','WebSocketGateway','cloudservices-init','webSocketUrl','limitExceeded','bind','cloudServices.requestTimeout','disconnect','catch','connection','then','isOfficialPlugin','removeFromReconnectionStack','websocketgateway-missing-token','_reconnectionStack','init','offline','_reconnect','69948ePtsHM','CONNECTED','1902876HoGzzO','1298810lwkNTu','constructor','connected','requires','plugins','has','state','4kNpErW','from','add','token','change:me','isInReconnectionStack','CloudServices','define','CONNECTING','websocketgateway-invalid-plugin-interface','code','online','connect','config','context','720391JJyynJ','427986kyXLUm','listenTo','real-time-collaboration','reconnect','websocketgateway-plugin-already-registered','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.','error','isPremiumPlugin','DISCONNECTED','delete','all','_shouldPluginsReconnect','websocketgateway-missing-websocket-url','cloudservices-reconnection-error','_isBrowserOffline','cloudServices.connectionTimeout','function','pluginName'];_0x8654=function(){return _0x117cc0;};return _0x8654();}import{DomEmitterMixin as _0x2054e5,CKEditorError as _0x358df3}from'ckeditor5/src/utils.js';function _0x2bd8(_0x49f0a5,_0x395996){const _0x8654d8=_0x8654();return _0x2bd8=function(_0x2bd87a,_0x3dde56){_0x2bd87a=_0x2bd87a-0x12f;let _0x3b923b=_0x8654d8[_0x2bd87a];return _0x3b923b;},_0x2bd8(_0x49f0a5,_0x395996);}import{WebSocketGateway as _0x15954b,WEB_SOCKET_GATEWAY_STATES as _0x4648e8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x30e13e}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4eb19f{static [_0x5df131(0x138)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x15954b)());static [_0x5df131(0x130)]=0x3e8;[_0x5df131(0x140)];[_0x5df131(0x145)];[_0x5df131(0x16e)];[_0x5df131(0x134)];static get[_0x5df131(0x14f)](){const _0x3bc005=_0x5df131;return[_0x3bc005(0x159),_0x30e13e];}static get[_0x5df131(0x174)](){const _0x49977f=_0x5df131;return _0x49977f(0x138);}static get[_0x5df131(0x142)](){return!0x0;}static get[_0x5df131(0x16a)](){return!0x0;}constructor(_0x297ac5){const _0x567b89=_0x5df131;super(_0x297ac5),this[_0x567b89(0x133)](_0x567b89(0x152),_0x4648e8[_0x567b89(0x14a)]),this[_0x567b89(0x133)](_0x567b89(0x171),!0x1),this[_0x567b89(0x145)]=new Set(),this[_0x567b89(0x16e)]=!0x1,this[_0x567b89(0x134)]=new(_0x2054e5())();}[_0x5df131(0x146)](){const _0x1de26d=_0x5df131,_0x302cfa=this[_0x1de26d(0x161)],_0x4005c3=_0x302cfa[_0x1de26d(0x150)][_0x1de26d(0x136)](_0x1de26d(0x159)),_0x443be9=_0x302cfa[_0x1de26d(0x150)][_0x1de26d(0x136)](_0x30e13e);if(!_0x4005c3[_0x1de26d(0x156)])throw new _0x358df3(_0x1de26d(0x144),this);if(!_0x4005c3[_0x1de26d(0x13a)])throw new _0x358df3(_0x1de26d(0x16f),this);return this[_0x1de26d(0x134)][_0x1de26d(0x164)](window,_0x1de26d(0x147),()=>this[_0x1de26d(0x171)]=!0x0),this[_0x1de26d(0x134)][_0x1de26d(0x164)](window,_0x1de26d(0x15e),()=>this[_0x1de26d(0x171)]=!0x1),this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x15a)](_0x1de26d(0x172),0xa),this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x15a)](_0x1de26d(0x13d),0x14),WebSocketGateway[_0x1de26d(0x138)][_0x1de26d(0x15f)](_0x4005c3[_0x1de26d(0x156)],_0x4005c3[_0x1de26d(0x13a)],{'timeout':0x3e8*this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x136)](_0x1de26d(0x172)),'requestTimeout':0x3e8*this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x136)](_0x1de26d(0x13d))})[_0x1de26d(0x141)](_0x5d9bb0=>{const _0x12419d=_0x1de26d;if(this[_0x12419d(0x140)]=_0x5d9bb0,this[_0x12419d(0x13c)](_0x12419d(0x152))['to'](_0x5d9bb0,_0x12419d(0x152),this,_0x12419d(0x171),(_0x88621d,_0x1c8d04)=>(_0x12419d(0x14e)!==_0x88621d&&(this[_0x12419d(0x16e)]=!0x0),_0x1c8d04||_0x88621d!==_0x4648e8[_0x12419d(0x14a)]?_0x4648e8[_0x12419d(0x16b)]:this[_0x12419d(0x152)]==_0x4648e8[_0x12419d(0x16b)]&&this[_0x12419d(0x16e)]?(this[_0x12419d(0x16e)]=!0x1,this[_0x12419d(0x148)](),_0x4648e8[_0x12419d(0x15b)]):_0x4648e8[_0x12419d(0x14a)])),this[_0x12419d(0x140)]['on'](_0x12419d(0x169),(_0x40e9f5,_0x1f46ff)=>{const _0x5478be=_0x12419d;if(_0x5478be(0x13b)!==_0x1f46ff[_0x5478be(0x15d)])throw console[_0x5478be(0x169)](_0x1f46ff),new _0x358df3(_0x5478be(0x139),null,{'originalError':_0x1f46ff});_0x443be9[_0x5478be(0x175)](_0x5478be(0x168),{'title':_0x5478be(0x132),'namespace':_0x5478be(0x165)});}),!_0x5d9bb0['me'])return new Promise(_0x511de8=>_0x5d9bb0['on'](_0x12419d(0x157),_0x511de8));})[_0x1de26d(0x13f)](_0x445e80=>{const _0x3ffaa0=_0x1de26d;throw console[_0x3ffaa0(0x169)](_0x445e80),new _0x358df3(_0x3ffaa0(0x139),null,{'originalError':_0x445e80});});}[_0x5df131(0x137)](_0x150025){const _0x39f6f7=_0x5df131;if(_0x39f6f7(0x173)!=typeof _0x150025[_0x39f6f7(0x166)])throw new _0x358df3(_0x39f6f7(0x15c),this);if(this[_0x39f6f7(0x158)](_0x150025))throw new _0x358df3(_0x39f6f7(0x167),this,{'name':_0x150025[_0x39f6f7(0x14d)][_0x39f6f7(0x174)]});this[_0x39f6f7(0x145)][_0x39f6f7(0x155)](_0x150025);}[_0x5df131(0x143)](_0x29e9c3){const _0x3ff43c=_0x5df131;this[_0x3ff43c(0x145)][_0x3ff43c(0x16c)](_0x29e9c3);}[_0x5df131(0x158)](_0x39f4da){const _0x154765=_0x5df131;return this[_0x154765(0x145)][_0x154765(0x151)](_0x39f4da);}[_0x5df131(0x148)](){const _0xe1c28=_0x5df131;return this[_0xe1c28(0x140)][_0xe1c28(0x166)]()[_0xe1c28(0x141)](()=>Promise[_0xe1c28(0x16d)](Array[_0xe1c28(0x154)](this[_0xe1c28(0x145)],_0x39a4c9=>_0x39a4c9[_0xe1c28(0x166)]())))[_0xe1c28(0x141)](()=>this[_0xe1c28(0x152)]=_0x4648e8[_0xe1c28(0x14a)])[_0xe1c28(0x13f)](_0x35fbda=>{const _0x4a8365=_0xe1c28;throw console[_0x4a8365(0x169)](_0x35fbda),new _0x358df3(_0x4a8365(0x170),this[_0x4a8365(0x161)]);});}[_0x5df131(0x13e)](){const _0x4fd2e2=_0x5df131;this[_0x4fd2e2(0x140)]&&this[_0x4fd2e2(0x140)][_0x4fd2e2(0x13e)](),this[_0x4fd2e2(0x152)]=_0x4648e8[_0x4fd2e2(0x16b)],this[_0x4fd2e2(0x134)][_0x4fd2e2(0x176)]();}[_0x5df131(0x131)](){const _0x327cbb=_0x5df131;this[_0x327cbb(0x13e)](),super[_0x327cbb(0x131)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1554(){var _0x1038e7=['2917638qJxLkj','1KuMbgo','pluginName','1667004QXcpji','8OiQlRe','6932023xgTGYP','isOfficialPlugin','60nxxBjm','2964820fmXRby','615822oesgMW','isPremiumPlugin','15iTFRjE','3305137osZFIU','RealTimeCollaborativeEditing','requires','12940299cPWcKf'];_0x1554=function(){return _0x1038e7;};return _0x1554();}var _0x18d822=_0x1c02;(function(_0x4e7e82,_0x11234d){var _0x2a9cbb=_0x1c02,_0x2d9698=_0x4e7e82();while(!![]){try{var _0x59cc59=-parseInt(_0x2a9cbb(0x140))/0x1*(-parseInt(_0x2a9cbb(0x138))/0x2)+parseInt(_0x2a9cbb(0x142))/0x3+parseInt(_0x2a9cbb(0x137))/0x4+-parseInt(_0x2a9cbb(0x13a))/0x5*(parseInt(_0x2a9cbb(0x13f))/0x6)+-parseInt(_0x2a9cbb(0x134))/0x7*(-parseInt(_0x2a9cbb(0x143))/0x8)+parseInt(_0x2a9cbb(0x13e))/0x9+parseInt(_0x2a9cbb(0x136))/0xa*(-parseInt(_0x2a9cbb(0x13b))/0xb);if(_0x59cc59===_0x11234d)break;else _0x2d9698['push'](_0x2d9698['shift']());}catch(_0x1f845e){_0x2d9698['push'](_0x2d9698['shift']());}}}(_0x1554,0xbc4bf));import{Plugin as _0x46de1c}from'ckeditor5/src/core.js';function _0x1c02(_0x248483,_0x16061b){var _0x155434=_0x1554();return _0x1c02=function(_0x1c02f8,_0x1046b4){_0x1c02f8=_0x1c02f8-0x134;var _0x3db4c4=_0x155434[_0x1c02f8];return _0x3db4c4;},_0x1c02(_0x248483,_0x16061b);}import{RealTimeCollaborationClient as _0xd76797}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x46de1c{static get[_0x18d822(0x13d)](){return[_0xd76797];}static get[_0x18d822(0x141)](){var _0x41c068=_0x18d822;return _0x41c068(0x13c);}static get[_0x18d822(0x135)](){return!0x0;}static get[_0x18d822(0x139)](){return!0x0;}}
23
+ var _0x4279f6=_0x44ec;(function(_0x2637a8,_0x58e7b1){var _0x3731ef=_0x44ec,_0xf7ae80=_0x2637a8();while(!![]){try{var _0x49197f=-parseInt(_0x3731ef(0x1f3))/0x1+-parseInt(_0x3731ef(0x1f5))/0x2*(parseInt(_0x3731ef(0x1ef))/0x3)+parseInt(_0x3731ef(0x1f0))/0x4*(parseInt(_0x3731ef(0x1f9))/0x5)+parseInt(_0x3731ef(0x1f1))/0x6+-parseInt(_0x3731ef(0x1ea))/0x7+parseInt(_0x3731ef(0x1f2))/0x8*(-parseInt(_0x3731ef(0x1ed))/0x9)+-parseInt(_0x3731ef(0x1ec))/0xa*(-parseInt(_0x3731ef(0x1f4))/0xb);if(_0x49197f===_0x58e7b1)break;else _0xf7ae80['push'](_0xf7ae80['shift']());}catch(_0x1b4b2a){_0xf7ae80['push'](_0xf7ae80['shift']());}}}(_0x2f4e,0xeedc3));function _0x44ec(_0x954cfb,_0x3b2d97){var _0x2f4edf=_0x2f4e();return _0x44ec=function(_0x44ec5e,_0x201618){_0x44ec5e=_0x44ec5e-0x1ea;var _0xc5d25=_0x2f4edf[_0x44ec5e];return _0xc5d25;},_0x44ec(_0x954cfb,_0x3b2d97);}import{Plugin as _0x107123}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1b548f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x107123{static get[_0x4279f6(0x1f6)](){return[_0x1b548f];}static get[_0x4279f6(0x1ee)](){var _0x1ad08c=_0x4279f6;return _0x1ad08c(0x1f7);}static get[_0x4279f6(0x1eb)](){return!0x0;}static get[_0x4279f6(0x1f8)](){return!0x0;}}function _0x2f4e(){var _0x41065f=['8omQQgM','1356913duSTww','22Mmzydu','6AkDMGz','requires','RealTimeCollaborativeEditing','isPremiumPlugin','10bWVIsD','1348130OTDGRj','isOfficialPlugin','9395210EhFhCJ','11010033iyBvVd','pluginName','979911RywyRG','3552764gtszgp','6454188YTkrHb'];_0x2f4e=function(){return _0x41065f;};return _0x2f4e();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35fea0=_0xee06;function _0xee06(_0x47545b,_0x1574a1){const _0x3d2f49=_0x3d2f();return _0xee06=function(_0xee06d4,_0x110f44){_0xee06d4=_0xee06d4-0x115;let _0x188275=_0x3d2f49[_0xee06d4];return _0x188275;},_0xee06(_0x47545b,_0x1574a1);}(function(_0x381981,_0x185f5a){const _0x169033=_0xee06,_0xf6ea20=_0x381981();while(!![]){try{const _0x34e8c8=parseInt(_0x169033(0x155))/0x1*(-parseInt(_0x169033(0x17f))/0x2)+parseInt(_0x169033(0x16b))/0x3*(-parseInt(_0x169033(0x168))/0x4)+parseInt(_0x169033(0x15e))/0x5+parseInt(_0x169033(0x12f))/0x6*(-parseInt(_0x169033(0x117))/0x7)+parseInt(_0x169033(0x12a))/0x8*(parseInt(_0x169033(0x128))/0x9)+-parseInt(_0x169033(0x11e))/0xa*(parseInt(_0x169033(0x171))/0xb)+-parseInt(_0x169033(0x14e))/0xc*(-parseInt(_0x169033(0x163))/0xd);if(_0x34e8c8===_0x185f5a)break;else _0xf6ea20['push'](_0xf6ea20['shift']());}catch(_0x25cc17){_0xf6ea20['push'](_0xf6ea20['shift']());}}}(_0x3d2f,0x9f169));import{Plugin as _0x4ef222}from'ckeditor5/src/core.js';import{version as _0x2b5b2d}from'ckeditor5/src/utils.js';import{Users as _0x2419ea}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4ec214}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x8d9d02}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1c7453}from'../realtimecollaborativeediting/sessions.js';function _0x3d2f(){const _0x4df05f=['catch','71JMOgcV','isEmptyCurrent','_isPendingUpdate','_offset','_fetchMissingUsers','bind','_bufferedUpdates','requires','cloudServices.bundleVersion','686745cGhgab','setSource','add','authors','cloud-services-internal-error:\x20Request\x20timeout.','13AoIQLg','init','state','affectsData','max','2388BkisyJ','400','creatorId','987wrdiGk','diffData','sessionId','length','_fixRevision','RevisionHistory','60335zGLMmp','_lastRequestId','getRevision','_oldOffset','collaboration.channelId','then','getOperations','message','remove','config','has','from','reconnect','_preventResendingRevisionData','21542USXtPs','isConnected','isBundleUploaded','createdAt','sendBufferedUpdates','_startingVersion','_getLatestVersionFromServerOperations','baseVersion','serverHistory','isEnabled','getUser','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','_handleRevisionsUpdate','get','8264067IOMziK','change:_isConnected','reInit','RevisionHistoryService','_revisionTracker','addToReconnectionStack','_revisions','350dKNlGS','authorsIds','destroy','repository','startsWith','revisionsUpdated','data','_handleReconnectionError','connection','_revisionHistoryService','18iCZPID','once','2066528hbjJmK','wrongRequestId','_revisionDataBuilder','type','map','6cbIkPB','size','keys','buildRevisionData','RevisionTracker','CONNECTED','CloudServicesRevisionHistoryAdapter','marker','toVersion','adapter','_getLatestVersion','_waitForServiceReady','getMany','_update','isOfficialPlugin','setRevisionData','fromVersion','connect','change:_isPendingUpdate','connected','listenTo','code','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','currentRevision','reverse','pluginName','_bufferUpdate','editor','_isConnected','getRevisions','27976248kLjelb','off','plugins','addUser','_createCurrentRevision','updateRevisions'];_0x3d2f=function(){return _0x4df05f;};return _0x3d2f();}import{EditorService as _0xdef473,RevisionHistoryService as _0x1b4502,User as _0x247f7e,WEB_SOCKET_GATEWAY_STATES as _0xf61f72}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4ef222{static [_0x35fea0(0x11a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1b4502)());[_0x35fea0(0x172)];[_0x35fea0(0x11b)];[_0x35fea0(0x127)];[_0x35fea0(0x174)];static get[_0x35fea0(0x15c)](){const _0xa92fda=_0x35fea0;return[_0x8d9d02,_0x4ec214,_0xa92fda(0x170),_0x1c7453,_0x2419ea];}static get[_0x35fea0(0x149)](){const _0x1567fa=_0x35fea0;return _0x1567fa(0x135);}static get[_0x35fea0(0x13d)](){return!0x0;}static get[_0x35fea0(0x18a)](){return!0x0;}constructor(_0x3b330e){const _0x668cfb=_0x35fea0;super(_0x3b330e);const _0x17acde=this[_0x668cfb(0x14b)][_0x668cfb(0x17a)][_0x668cfb(0x116)](_0x668cfb(0x175));this[_0x668cfb(0x172)]=null,this[_0x668cfb(0x11b)]=this[_0x668cfb(0x14b)][_0x668cfb(0x150)][_0x668cfb(0x116)](_0x668cfb(0x133)),this[_0x668cfb(0x127)]=new CloudServicesRevisionHistoryAdapter[(_0x668cfb(0x11a))](_0x17acde);}async[_0x35fea0(0x164)](){const _0x2e76ab=_0x35fea0,_0x21d588=this[_0x2e76ab(0x14b)][_0x2e76ab(0x150)][_0x2e76ab(0x116)](_0x4ec214),_0x5473b4=_0x21d588[_0x2e76ab(0x187)],_0x473ed4=this[_0x2e76ab(0x14b)][_0x2e76ab(0x150)][_0x2e76ab(0x116)](_0x8d9d02);this[_0x2e76ab(0x11b)][_0x2e76ab(0x15f)]({'history':_0x5473b4,'getLatestVersion':()=>this[_0x2e76ab(0x139)](),'getCurrentRevisionId':()=>_0x21d588[_0x2e76ab(0x16d)]});const _0x470c81=this[_0x2e76ab(0x14b)][_0x2e76ab(0x17a)][_0x2e76ab(0x116)](_0x2e76ab(0x15d))||_0x2b5b2d,_0x39ee6a=await _0xdef473[_0x2e76ab(0x181)](_0x473ed4[_0x2e76ab(0x126)],_0x470c81);this[_0x2e76ab(0x14b)][_0x2e76ab(0x150)][_0x2e76ab(0x116)](_0x2e76ab(0x170))[_0x2e76ab(0x138)]={'getRevision':async({revisionId:_0xbd87f7})=>(await this[_0x2e76ab(0x13a)](),await this[_0x2e76ab(0x127)][_0x2e76ab(0x173)](_0xbd87f7)),'updateRevisions':async _0x3f4381=>{const _0xf4cc1=_0x2e76ab;await this[_0xf4cc1(0x13a)]();const _0x266f26=this[_0xf4cc1(0x11b)][_0xf4cc1(0x147)];if(_0x39ee6a&&0x1===_0x3f4381[_0xf4cc1(0x16e)]&&_0x3f4381[0x0]['id']===_0x266f26['id'])return _0x3f4381;for(const _0x2f84f7 of _0x3f4381)_0x2f84f7['id']===_0x266f26['id']&&(_0x2f84f7[_0xf4cc1(0x156)]=_0x2f84f7[_0xf4cc1(0x13f)]===_0x2f84f7[_0xf4cc1(0x137)]);return this[_0xf4cc1(0x127)][_0xf4cc1(0x153)](_0x3f4381,this[_0xf4cc1(0x172)])[_0xf4cc1(0x176)](_0x1a0b5b=>(this[_0xf4cc1(0x172)]=_0x1a0b5b,_0x3f4381))[_0xf4cc1(0x154)](_0x437c8d=>{const _0x415833=_0xf4cc1;if(I(_0x437c8d)||_0x415833(0x169)===_0x437c8d[_0x415833(0x144)]&&void 0x0!==_0x437c8d[_0x415833(0x124)][_0x415833(0x12b)]){for(const _0x1ec306 of _0x3f4381){!this[_0x415833(0x11b)][_0x415833(0x121)][_0x415833(0x173)](_0x1ec306['id'])||this[_0x415833(0x11b)][_0x415833(0x14a)](_0x1ec306['id'],_0x1ec306,!0x1);}if(I(_0x437c8d))throw _0x437c8d;return _0x3f4381;}throw _0x437c8d;});}},this[_0x2e76ab(0x143)](this[_0x2e76ab(0x127)],_0x2e76ab(0x123),(_0x3ea434,{revisionsData:_0x30e449,requestId:_0x971fcc})=>{const _0x5720ae=_0x2e76ab;Math[_0x5720ae(0x167)](..._0x30e449[_0x5720ae(0x12e)](_0x503499=>_0x503499[_0x5720ae(0x137)]))>this[_0x5720ae(0x185)]()-0x1?this[_0x5720ae(0x139)]()[_0x5720ae(0x176)](()=>{const _0x1ba4e9=_0x5720ae;this[_0x1ba4e9(0x115)](_0x30e449,_0x971fcc);}):this[_0x5720ae(0x115)](_0x30e449,_0x971fcc);});const {revisions:_0x18c788,requestId:_0x522343}=await this[_0x2e76ab(0x127)][_0x2e76ab(0x140)](_0x473ed4[_0x2e76ab(0x126)]);_0x473ed4[_0x2e76ab(0x11c)](this),this[_0x2e76ab(0x172)]=_0x522343,await this[_0x2e76ab(0x159)](_0x18c788);for(const _0x47d0ec of _0x18c788)this[_0x2e76ab(0x11b)][_0x2e76ab(0x146)](_0x47d0ec);this[_0x2e76ab(0x143)](_0x21d588,_0x2e76ab(0x118),(_0xadff24,_0x25a72a,_0x2b262e)=>{const _0x2261c7=_0x2e76ab;_0x2b262e&&(this[_0x2261c7(0x174)]=_0x21d588[_0x2261c7(0x158)],_0xadff24[_0x2261c7(0x14f)]());}),this[_0x2e76ab(0x11b)][_0x2e76ab(0x15a)](_0x2e76ab(0x188))['to'](_0x473ed4,_0x2e76ab(0x165),_0x2bf244=>_0x2bf244===_0xf61f72[_0x2e76ab(0x134)]);}async[_0x35fea0(0x17d)](){const _0x2fdb16=_0x35fea0,_0xe251b6=this[_0x2fdb16(0x14b)][_0x2fdb16(0x150)][_0x2fdb16(0x116)](_0x8d9d02),_0x2140bd=this[_0x2fdb16(0x14b)][_0x2fdb16(0x150)][_0x2fdb16(0x116)](_0x4ec214),_0x32ad9=async()=>{const _0xe9fe80=_0x2fdb16,_0x21f205=this[_0xe9fe80(0x11b)][_0xe9fe80(0x147)],_0x1d893d=_0x21f205['id'],_0x5b3452=_0x1d893d!==_0x2140bd[_0xe9fe80(0x16d)];if(_0x5b3452){const _0x166767=_0x2140bd[_0xe9fe80(0x158)]-this[_0xe9fe80(0x174)],_0x6aaa39=this[_0xe9fe80(0x185)]();this[_0xe9fe80(0x11b)][_0xe9fe80(0x12c)][_0xe9fe80(0x119)]();if(_0x21f205[_0xe9fe80(0x137)]+_0x166767!==_0x6aaa39){const _0x4a9557=_0x21f205[_0xe9fe80(0x13f)]+_0x166767,_0x11cf46=this[_0xe9fe80(0x14b)][_0xe9fe80(0x150)][_0xe9fe80(0x116)](_0x2419ea),_0x530675=this[_0xe9fe80(0x11b)][_0xe9fe80(0x132)]({'revision':_0x21f205,'from':_0x4a9557,'to':_0x6aaa39});_0x530675['id']=_0x21f205['id'];const _0x3baa64=_0x530675[_0xe9fe80(0x11f)][_0xe9fe80(0x12e)](_0x2561cf=>_0x11cf46[_0xe9fe80(0x189)](_0x2561cf));_0x21f205[_0xe9fe80(0x13c)]({..._0x530675,'authors':_0x3baa64},!0x0),this[_0xe9fe80(0x11b)][_0xe9fe80(0x14a)](_0x21f205['id'],_0x530675,!0x0);}this[_0xe9fe80(0x11b)][_0xe9fe80(0x184)]=_0x6aaa39,(_0x21f205[_0xe9fe80(0x137)]===_0x21f205[_0xe9fe80(0x13f)]&&!this[_0xe9fe80(0x11b)][_0xe9fe80(0x15b)][_0xe9fe80(0x17b)](_0x1d893d)&&this[_0xe9fe80(0x11b)][_0xe9fe80(0x121)][_0xe9fe80(0x11d)][_0xe9fe80(0x179)](_0x1d893d),this[_0xe9fe80(0x11b)][_0xe9fe80(0x152)](_0x6aaa39));}const {revisions:_0x1e181b,requestId:_0x4b9726}=await this[_0xe9fe80(0x127)][_0xe9fe80(0x17d)](_0xe251b6[_0xe9fe80(0x126)],this[_0xe9fe80(0x172)]);_0x5b3452&&_0x1e181b[_0xe9fe80(0x16e)]>0x0?_0x2140bd[_0xe9fe80(0x125)]():(await this[_0xe9fe80(0x159)](_0x1e181b),this[_0xe9fe80(0x115)](_0x1e181b,_0x4b9726),this[_0xe9fe80(0x11b)][_0xe9fe80(0x183)]());};return _0x2140bd[_0x2fdb16(0x14c)]?_0x32ad9():new Promise((_0x25ede6,_0x2d4962)=>{const _0x1d5afa=_0x2fdb16;_0x2140bd[_0x1d5afa(0x129)](_0x1d5afa(0x118),()=>{const _0x53da71=_0x1d5afa;_0x32ad9()[_0x53da71(0x176)](_0x25ede6)[_0x53da71(0x154)](_0x2d4962);});});}[_0x35fea0(0x120)](){const _0x71afbd=_0x35fea0;super[_0x71afbd(0x120)]();}async[_0x35fea0(0x13a)](){const _0x177e18=_0x35fea0;this[_0x177e18(0x127)][_0x177e18(0x180)]||await new Promise(_0x4bd529=>{const _0x316b93=_0x177e18;this[_0x316b93(0x143)](this[_0x316b93(0x127)],_0x316b93(0x142),_0x48a19e=>{const _0x4d9d49=_0x316b93;_0x48a19e[_0x4d9d49(0x14f)](),_0x4bd529();});});}[_0x35fea0(0x185)](){const _0x57f040=_0x35fea0,_0x5a5658=this[_0x57f040(0x14b)][_0x57f040(0x150)][_0x57f040(0x116)](_0x4ec214)[_0x57f040(0x187)][_0x57f040(0x177)]()[_0x57f040(0x148)]();for(const _0x4f666d of _0x5a5658)if(_0x57f040(0x136)!==_0x4f666d[_0x57f040(0x12d)]||_0x4f666d[_0x57f040(0x166)])return _0x4f666d[_0x57f040(0x186)]+0x1;}[_0x35fea0(0x139)](){const _0x395265=_0x35fea0,_0x4cd192=this[_0x395265(0x14b)][_0x395265(0x150)][_0x395265(0x116)](_0x4ec214);return new Promise(_0x2036e1=>{const _0x5031dd=_0x395265;_0x4cd192[_0x5031dd(0x157)]?_0x4cd192[_0x5031dd(0x129)](_0x5031dd(0x141),()=>{const _0x2c3717=_0x5031dd;_0x2036e1(this[_0x2c3717(0x185)]());}):_0x2036e1(this[_0x5031dd(0x185)]());});}[_0x35fea0(0x115)](_0x1a76f7,_0x8b695b){const _0x1c8f36=_0x35fea0,_0x5c620f=this[_0x1c8f36(0x11b)][_0x1c8f36(0x121)];this[_0x1c8f36(0x172)]=_0x8b695b;for(const _0x34eb7b of _0x1a76f7){const _0x3f6265=_0x5c620f[_0x1c8f36(0x173)](_0x34eb7b['id']);if(_0x3f6265){if((_0x34eb7b[_0x1c8f36(0x13f)]||_0x34eb7b[_0x1c8f36(0x137)])&&(_0x34eb7b[_0x1c8f36(0x16c)]=null),_0x3f6265===this[_0x1c8f36(0x11b)][_0x1c8f36(0x147)]){const _0x111a4c=Math[_0x1c8f36(0x167)](_0x3f6265[_0x1c8f36(0x137)],_0x34eb7b[_0x1c8f36(0x137)]),_0x6ce75b=Math[_0x1c8f36(0x167)](_0x3f6265[_0x1c8f36(0x13f)],_0x34eb7b[_0x1c8f36(0x13f)]);let _0x1761a3;_0x3f6265[_0x1c8f36(0x137)]===_0x34eb7b[_0x1c8f36(0x137)]&&_0x3f6265[_0x1c8f36(0x13f)]===_0x34eb7b[_0x1c8f36(0x13f)]?(_0x1761a3=!0x0,this[_0x1c8f36(0x17e)](_0x34eb7b)):_0x34eb7b[_0x1c8f36(0x137)]===_0x111a4c&&_0x34eb7b[_0x1c8f36(0x13f)]===_0x6ce75b?_0x1761a3=!0x1:(_0x3f6265[_0x1c8f36(0x137)]===_0x111a4c&&_0x3f6265[_0x1c8f36(0x13f)]===_0x6ce75b||this[_0x1c8f36(0x16f)]({'revision':_0x3f6265,'from':_0x6ce75b,'to':_0x111a4c}),_0x1761a3=!0x0),_0x1761a3&&(delete _0x34eb7b[_0x1c8f36(0x13f)],delete _0x34eb7b[_0x1c8f36(0x137)],delete _0x34eb7b[_0x1c8f36(0x16c)],delete _0x34eb7b[_0x1c8f36(0x182)],delete _0x34eb7b[_0x1c8f36(0x11f)]);}this[_0x1c8f36(0x11b)][_0x1c8f36(0x13e)](_0x34eb7b),this[_0x1c8f36(0x17e)](_0x34eb7b);}else this[_0x1c8f36(0x11b)][_0x1c8f36(0x146)](_0x34eb7b);}const _0x47bef9=_0x5c620f[_0x1c8f36(0x14d)]();_0x47bef9[_0x1c8f36(0x148)]();for(let _0x21803a=0x0;_0x21803a<_0x47bef9[_0x1c8f36(0x16e)]-0x1;_0x21803a++){const _0x1b6812=_0x47bef9[_0x21803a],_0x5917c4=_0x47bef9[_0x21803a+0x1];if(_0x1b6812[_0x1c8f36(0x13f)]<_0x5917c4[_0x1c8f36(0x137)]){const _0x1b48ab=_0x5917c4[_0x1c8f36(0x137)],_0x326ca9=Math[_0x1c8f36(0x167)](_0x1b48ab,_0x1b6812[_0x1c8f36(0x137)]);this[_0x1c8f36(0x16f)]({'revision':_0x1b6812,'from':_0x1b48ab,'to':_0x326ca9});}}}[_0x35fea0(0x16f)]({revision:_0x7171f0,from:_0x321f2b,to:_0x4d4249}={}){const _0x56439b=_0x35fea0,_0x197210=this[_0x56439b(0x14b)][_0x56439b(0x150)][_0x56439b(0x116)](_0x2419ea),_0x5246c3=this[_0x56439b(0x11b)][_0x56439b(0x132)]({'revision':_0x7171f0,'from':_0x321f2b,'to':_0x4d4249});_0x5246c3[_0x56439b(0x161)]=_0x5246c3[_0x56439b(0x11f)][_0x56439b(0x12e)](_0x251ef3=>_0x197210[_0x56439b(0x189)](_0x251ef3)),_0x7171f0[_0x56439b(0x13c)](_0x5246c3);}[_0x35fea0(0x17e)](_0x5ad538){const _0x4c43c0=_0x35fea0,_0x10dfb0={};_0x10dfb0['id']=_0x5ad538['id'];for(const _0x297a1c of Object[_0x4c43c0(0x131)](_0x5ad538))'id'!==_0x297a1c&&(_0x10dfb0[_0x297a1c]=void 0x0);this[_0x4c43c0(0x11b)][_0x4c43c0(0x14a)](_0x10dfb0['id'],_0x10dfb0,!0x0);}async[_0x35fea0(0x159)](_0x6f4757){const _0x1167e4=_0x35fea0,_0x5e3ace=this[_0x1167e4(0x14b)][_0x1167e4(0x150)][_0x1167e4(0x116)](_0x2419ea),{connection:_0x492176}=this[_0x1167e4(0x14b)][_0x1167e4(0x150)][_0x1167e4(0x116)](_0x8d9d02),_0x562614=new Set();for(const _0x56624e of _0x6f4757){for(const _0x14f45a of _0x56624e[_0x1167e4(0x11f)])_0x1886c5(_0x14f45a);_0x56624e[_0x1167e4(0x16a)]&&_0x1886c5(_0x56624e[_0x1167e4(0x16a)]);}if(0x0===_0x562614[_0x1167e4(0x130)])return;const _0x1342bd=await _0x247f7e[_0x1167e4(0x13b)](_0x492176,Array[_0x1167e4(0x17c)](_0x562614));for(const _0x12d10e of _0x1342bd)_0x5e3ace[_0x1167e4(0x189)](_0x12d10e['id'])||_0x5e3ace[_0x1167e4(0x151)](_0x12d10e);function _0x1886c5(_0x12c0aa){const _0x2bfb87=_0x1167e4;_0x5e3ace[_0x2bfb87(0x189)](_0x12c0aa)||_0x562614[_0x2bfb87(0x160)](_0x12c0aa);}}}function I(_0xf17c18){const _0x5b4efe=_0x35fea0;return _0xf17c18[_0x5b4efe(0x178)][_0x5b4efe(0x122)](_0x5b4efe(0x145))||_0xf17c18[_0x5b4efe(0x178)][_0x5b4efe(0x122)](_0x5b4efe(0x18b))||_0xf17c18[_0x5b4efe(0x178)][_0x5b4efe(0x122)](_0x5b4efe(0x162));}
23
+ function _0x1517(_0x2b66e4,_0x2184e3){const _0x54022f=_0x5402();return _0x1517=function(_0x151718,_0xad47c5){_0x151718=_0x151718-0xbb;let _0x70dd11=_0x54022f[_0x151718];return _0x70dd11;},_0x1517(_0x2b66e4,_0x2184e3);}const _0x280e33=_0x1517;(function(_0x2f74ab,_0x4432b3){const _0x334e42=_0x1517,_0x1567be=_0x2f74ab();while(!![]){try{const _0x33f037=parseInt(_0x334e42(0xdb))/0x1+parseInt(_0x334e42(0xee))/0x2+-parseInt(_0x334e42(0x115))/0x3*(parseInt(_0x334e42(0xc3))/0x4)+-parseInt(_0x334e42(0x124))/0x5*(parseInt(_0x334e42(0xf2))/0x6)+-parseInt(_0x334e42(0xe4))/0x7+-parseInt(_0x334e42(0xfd))/0x8+parseInt(_0x334e42(0xe5))/0x9;if(_0x33f037===_0x4432b3)break;else _0x1567be['push'](_0x1567be['shift']());}catch(_0x405c0c){_0x1567be['push'](_0x1567be['shift']());}}}(_0x5402,0xeb63b));function _0x5402(){const _0x4b04ea=['setSource','_lastRequestId','data','getOperations','reInit','_createCurrentRevision','_getLatestVersionFromServerOperations','listenTo','getUser','add','code','getMany','authors','sendBufferedUpdates','bind','addRevisionData','connect','_isConnected','isOfficialPlugin','getRevisions','updateRevisions','_bufferedUpdates','1152679FcaCju','RevisionHistory','_handleRevisionsUpdate','max','sessionId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','creatorId','_revisionHistoryService','setRevisionData','9075787pGkKTp','19401966HzMqgO','wrongRequestId','change:_isConnected','config','has','then','createdAt','cloud-services-internal-error:\x20Not\x20connected.','_fixRevision','1768984MQRDwF','connected','authorsIds','_revisions','12qRlwQk','addToReconnectionStack','requires','RevisionTracker','connection','buildRevisionData','off','size','message','400','change:_isPendingUpdate','2185608EntiUc','_preventResendingRevisionData','_offset','_bufferUpdate','init','get','addUser','_oldOffset','_isPendingUpdate','marker','isPremiumPlugin','isEmptyCurrent','fromVersion','cloud-services-internal-error:\x20Request\x20timeout.','toVersion','pluginName','affectsData','reconnect','editor','_startingVersion','_update','_revisionDataBuilder','collaboration.channelId','reverse','6JJyUuL','length','revisionsUpdated','destroy','_fetchMissingUsers','isBundleUploaded','once','cloudServices.bundleVersion','baseVersion','isEnabled','startsWith','CloudServicesRevisionHistoryAdapter','plugins','state','adapter','3138350tjkDoq','repository','map','_waitForServiceReady','serverHistory','remove','_handleReconnectionError','type','CONNECTED','keys','diffData','from','catch','isConnected','currentRevision','_revisionTracker','getRevision','_getLatestVersion','807416RWEetZ','RevisionHistoryService'];_0x5402=function(){return _0x4b04ea;};return _0x5402();}import{Plugin as _0xba9507}from'ckeditor5/src/core.js';import{version as _0x30741d}from'ckeditor5/src/utils.js';import{Users as _0x59b89d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x26334c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4f8c9f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x12f3e0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x228c59,RevisionHistoryService as _0x1d16b0,User as _0x5cd858,WEB_SOCKET_GATEWAY_STATES as _0x3e38e0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0xba9507{static [_0x280e33(0xc4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1d16b0)());[_0x280e33(0xc6)];[_0x280e33(0xc0)];[_0x280e33(0xe2)];[_0x280e33(0x104)];static get[_0x280e33(0xf4)](){const _0x532937=_0x280e33;return[_0x4f8c9f,_0x26334c,_0x532937(0xdc),_0x12f3e0,_0x59b89d];}static get[_0x280e33(0x10c)](){const _0x82a9f8=_0x280e33;return _0x82a9f8(0x120);}static get[_0x280e33(0xd7)](){return!0x0;}static get[_0x280e33(0x107)](){return!0x0;}constructor(_0x19c33b){const _0xd6b1dd=_0x280e33;super(_0x19c33b);const _0x3485a5=this[_0xd6b1dd(0x10f)][_0xd6b1dd(0xe8)][_0xd6b1dd(0x102)](_0xd6b1dd(0x113));this[_0xd6b1dd(0xc6)]=null,this[_0xd6b1dd(0xc0)]=this[_0xd6b1dd(0x10f)][_0xd6b1dd(0x121)][_0xd6b1dd(0x102)](_0xd6b1dd(0xf5)),this[_0xd6b1dd(0xe2)]=new CloudServicesRevisionHistoryAdapter[(_0xd6b1dd(0xc4))](_0x3485a5);}async[_0x280e33(0x101)](){const _0x278303=_0x280e33,_0x37b388=this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x26334c),_0x7fdd39=_0x37b388[_0x278303(0x128)],_0x2e427c=this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x4f8c9f);this[_0x278303(0xc0)][_0x278303(0xc5)]({'history':_0x7fdd39,'getLatestVersion':()=>this[_0x278303(0xc2)](),'getCurrentRevisionId':()=>_0x37b388[_0x278303(0xdf)]});const _0x14d7eb=this[_0x278303(0x10f)][_0x278303(0xe8)][_0x278303(0x102)](_0x278303(0x11c))||_0x30741d,_0xf6f215=await _0x228c59[_0x278303(0x11a)](_0x2e427c[_0x278303(0xf6)],_0x14d7eb);this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x278303(0xdc))[_0x278303(0x123)]={'getRevision':async({revisionId:_0x490319})=>(await this[_0x278303(0x127)](),await this[_0x278303(0xe2)][_0x278303(0xc1)](_0x490319)),'updateRevisions':async _0x19b984=>{const _0x7ccd6b=_0x278303;await this[_0x7ccd6b(0x127)]();const _0x3e3f3e=this[_0x7ccd6b(0xc0)][_0x7ccd6b(0xbf)];if(_0xf6f215&&0x1===_0x19b984[_0x7ccd6b(0x116)]&&_0x19b984[0x0]['id']===_0x3e3f3e['id'])return _0x19b984;for(const _0x79a098 of _0x19b984)_0x79a098['id']===_0x3e3f3e['id']&&(_0x79a098[_0x7ccd6b(0x108)]=_0x79a098[_0x7ccd6b(0x109)]===_0x79a098[_0x7ccd6b(0x10b)]);return this[_0x7ccd6b(0xe2)][_0x7ccd6b(0xd9)](_0x19b984,this[_0x7ccd6b(0xc6)])[_0x7ccd6b(0xea)](_0xa2987d=>(this[_0x7ccd6b(0xc6)]=_0xa2987d,_0x19b984))[_0x7ccd6b(0xbd)](_0x10f187=>{const _0x568e67=_0x7ccd6b;if(st(_0x10f187)||_0x568e67(0xfb)===_0x10f187[_0x568e67(0xcf)]&&void 0x0!==_0x10f187[_0x568e67(0xc7)][_0x568e67(0xe6)]){for(const _0x205511 of _0x19b984){!this[_0x568e67(0xc0)][_0x568e67(0x125)][_0x568e67(0xc1)](_0x205511['id'])||this[_0x568e67(0xc0)][_0x568e67(0x100)](_0x205511['id'],_0x205511,!0x1);}if(st(_0x10f187))throw _0x10f187;return _0x19b984;}throw _0x10f187;});}},this[_0x278303(0xcc)](this[_0x278303(0xe2)],_0x278303(0x117),(_0x37a928,{revisionsData:_0x6c7c8a,requestId:_0x48e9de})=>{const _0x309105=_0x278303;Math[_0x309105(0xde)](..._0x6c7c8a[_0x309105(0x126)](_0x3b7fae=>_0x3b7fae[_0x309105(0x10b)]))>this[_0x309105(0xcb)]()-0x1?this[_0x309105(0xc2)]()[_0x309105(0xea)](()=>{const _0x5ce8a5=_0x309105;this[_0x5ce8a5(0xdd)](_0x6c7c8a,_0x48e9de);}):this[_0x309105(0xdd)](_0x6c7c8a,_0x48e9de);});const {revisions:_0x412a5e,requestId:_0x2fc829}=await this[_0x278303(0xe2)][_0x278303(0xd5)](_0x2e427c[_0x278303(0xf6)]);_0x2e427c[_0x278303(0xf3)](this),this[_0x278303(0xc6)]=_0x2fc829,await this[_0x278303(0x119)](_0x412a5e);for(const _0x2e9369 of _0x412a5e)this[_0x278303(0xc0)][_0x278303(0xd4)](_0x2e9369);this[_0x278303(0xcc)](_0x37b388,_0x278303(0xe7),(_0x24abbb,_0x2b0fad,_0x936b80)=>{const _0x421bec=_0x278303;_0x936b80&&(this[_0x421bec(0x104)]=_0x37b388[_0x421bec(0xff)],_0x24abbb[_0x421bec(0xf8)]());}),this[_0x278303(0xc0)][_0x278303(0xd3)](_0x278303(0x11e))['to'](_0x2e427c,_0x278303(0x122),_0x3b7a87=>_0x3b7a87===_0x3e38e0[_0x278303(0x12c)]);}async[_0x280e33(0x10e)](){const _0xf2c7cf=_0x280e33,_0x49bee4=this[_0xf2c7cf(0x10f)][_0xf2c7cf(0x121)][_0xf2c7cf(0x102)](_0x4f8c9f),_0x2cb0e9=this[_0xf2c7cf(0x10f)][_0xf2c7cf(0x121)][_0xf2c7cf(0x102)](_0x26334c),_0x3bc2fd=async()=>{const _0xeaed8e=_0xf2c7cf,_0xcfda6c=this[_0xeaed8e(0xc0)][_0xeaed8e(0xbf)],_0x58d38a=_0xcfda6c['id'],_0xade895=_0x58d38a!==_0x2cb0e9[_0xeaed8e(0xdf)];if(_0xade895){const _0x14fe8f=_0x2cb0e9[_0xeaed8e(0xff)]-this[_0xeaed8e(0x104)],_0x390d1d=this[_0xeaed8e(0xcb)]();this[_0xeaed8e(0xc0)][_0xeaed8e(0x112)][_0xeaed8e(0xc9)]();if(_0xcfda6c[_0xeaed8e(0x10b)]+_0x14fe8f!==_0x390d1d){const _0xfa7d28=_0xcfda6c[_0xeaed8e(0x109)]+_0x14fe8f,_0x51fa24=this[_0xeaed8e(0x10f)][_0xeaed8e(0x121)][_0xeaed8e(0x102)](_0x59b89d),_0x192d4f=this[_0xeaed8e(0xc0)][_0xeaed8e(0xf7)]({'revision':_0xcfda6c,'from':_0xfa7d28,'to':_0x390d1d});_0x192d4f['id']=_0xcfda6c['id'];const _0x483ef5=_0x192d4f[_0xeaed8e(0xf0)][_0xeaed8e(0x126)](_0x15d2a0=>_0x51fa24[_0xeaed8e(0xcd)](_0x15d2a0));_0xcfda6c[_0xeaed8e(0x111)]({..._0x192d4f,'authors':_0x483ef5},!0x0),this[_0xeaed8e(0xc0)][_0xeaed8e(0x100)](_0xcfda6c['id'],_0x192d4f,!0x0);}this[_0xeaed8e(0xc0)][_0xeaed8e(0x110)]=_0x390d1d,(_0xcfda6c[_0xeaed8e(0x10b)]===_0xcfda6c[_0xeaed8e(0x109)]&&!this[_0xeaed8e(0xc0)][_0xeaed8e(0xda)][_0xeaed8e(0xe9)](_0x58d38a)&&this[_0xeaed8e(0xc0)][_0xeaed8e(0x125)][_0xeaed8e(0xf1)][_0xeaed8e(0x129)](_0x58d38a),this[_0xeaed8e(0xc0)][_0xeaed8e(0xca)](_0x390d1d));}const {revisions:_0x429db5,requestId:_0x5a7211}=await this[_0xeaed8e(0xe2)][_0xeaed8e(0x10e)](_0x49bee4[_0xeaed8e(0xf6)],this[_0xeaed8e(0xc6)]);_0xade895&&_0x429db5[_0xeaed8e(0x116)]>0x0?_0x2cb0e9[_0xeaed8e(0x12a)]():(await this[_0xeaed8e(0x119)](_0x429db5),this[_0xeaed8e(0xdd)](_0x429db5,_0x5a7211),this[_0xeaed8e(0xc0)][_0xeaed8e(0xd2)]());};return _0x2cb0e9[_0xf2c7cf(0xd6)]?_0x3bc2fd():new Promise((_0x4afc8f,_0x5105ed)=>{const _0x3f43b6=_0xf2c7cf;_0x2cb0e9[_0x3f43b6(0x11b)](_0x3f43b6(0xe7),()=>{const _0x176905=_0x3f43b6;_0x3bc2fd()[_0x176905(0xea)](_0x4afc8f)[_0x176905(0xbd)](_0x5105ed);});});}[_0x280e33(0x118)](){const _0x65b56e=_0x280e33;super[_0x65b56e(0x118)]();}async[_0x280e33(0x127)](){const _0x524a73=_0x280e33;this[_0x524a73(0xe2)][_0x524a73(0xbe)]||await new Promise(_0x58b2c2=>{const _0x5a0b17=_0x524a73;this[_0x5a0b17(0xcc)](this[_0x5a0b17(0xe2)],_0x5a0b17(0xef),_0x280873=>{const _0x5bae81=_0x5a0b17;_0x280873[_0x5bae81(0xf8)](),_0x58b2c2();});});}[_0x280e33(0xcb)](){const _0x1075d5=_0x280e33,_0x45d41d=this[_0x1075d5(0x10f)][_0x1075d5(0x121)][_0x1075d5(0x102)](_0x26334c)[_0x1075d5(0x128)][_0x1075d5(0xc8)]()[_0x1075d5(0x114)]();for(const _0x27b46e of _0x45d41d)if(_0x1075d5(0x106)!==_0x27b46e[_0x1075d5(0x12b)]||_0x27b46e[_0x1075d5(0x10d)])return _0x27b46e[_0x1075d5(0x11d)]+0x1;}[_0x280e33(0xc2)](){const _0x398c82=_0x280e33,_0x183ede=this[_0x398c82(0x10f)][_0x398c82(0x121)][_0x398c82(0x102)](_0x26334c);return new Promise(_0x10fb1c=>{const _0x2e8333=_0x398c82;_0x183ede[_0x2e8333(0x105)]?_0x183ede[_0x2e8333(0x11b)](_0x2e8333(0xfc),()=>{const _0x19421d=_0x2e8333;_0x10fb1c(this[_0x19421d(0xcb)]());}):_0x10fb1c(this[_0x2e8333(0xcb)]());});}[_0x280e33(0xdd)](_0x3236b3,_0x38a6a9){const _0x2d55c0=_0x280e33,_0x1ca8ae=this[_0x2d55c0(0xc0)][_0x2d55c0(0x125)];this[_0x2d55c0(0xc6)]=_0x38a6a9;for(const _0x5e4d95 of _0x3236b3){const _0x50c4ca=_0x1ca8ae[_0x2d55c0(0xc1)](_0x5e4d95['id']);if(_0x50c4ca){if((_0x5e4d95[_0x2d55c0(0x109)]||_0x5e4d95[_0x2d55c0(0x10b)])&&(_0x5e4d95[_0x2d55c0(0xbb)]=null),_0x50c4ca===this[_0x2d55c0(0xc0)][_0x2d55c0(0xbf)]){const _0x92f083=Math[_0x2d55c0(0xde)](_0x50c4ca[_0x2d55c0(0x10b)],_0x5e4d95[_0x2d55c0(0x10b)]),_0x33b955=Math[_0x2d55c0(0xde)](_0x50c4ca[_0x2d55c0(0x109)],_0x5e4d95[_0x2d55c0(0x109)]);let _0x132015;_0x50c4ca[_0x2d55c0(0x10b)]===_0x5e4d95[_0x2d55c0(0x10b)]&&_0x50c4ca[_0x2d55c0(0x109)]===_0x5e4d95[_0x2d55c0(0x109)]?(_0x132015=!0x0,this[_0x2d55c0(0xfe)](_0x5e4d95)):_0x5e4d95[_0x2d55c0(0x10b)]===_0x92f083&&_0x5e4d95[_0x2d55c0(0x109)]===_0x33b955?_0x132015=!0x1:(_0x50c4ca[_0x2d55c0(0x10b)]===_0x92f083&&_0x50c4ca[_0x2d55c0(0x109)]===_0x33b955||this[_0x2d55c0(0xed)]({'revision':_0x50c4ca,'from':_0x33b955,'to':_0x92f083}),_0x132015=!0x0),_0x132015&&(delete _0x5e4d95[_0x2d55c0(0x109)],delete _0x5e4d95[_0x2d55c0(0x10b)],delete _0x5e4d95[_0x2d55c0(0xbb)],delete _0x5e4d95[_0x2d55c0(0xeb)],delete _0x5e4d95[_0x2d55c0(0xf0)]);}this[_0x2d55c0(0xc0)][_0x2d55c0(0xe3)](_0x5e4d95),this[_0x2d55c0(0xfe)](_0x5e4d95);}else this[_0x2d55c0(0xc0)][_0x2d55c0(0xd4)](_0x5e4d95);}const _0xf8a473=_0x1ca8ae[_0x2d55c0(0xd8)]();_0xf8a473[_0x2d55c0(0x114)]();for(let _0x421448=0x0;_0x421448<_0xf8a473[_0x2d55c0(0x116)]-0x1;_0x421448++){const _0xc04f58=_0xf8a473[_0x421448],_0x17348d=_0xf8a473[_0x421448+0x1];if(_0xc04f58[_0x2d55c0(0x109)]<_0x17348d[_0x2d55c0(0x10b)]){const _0x43343f=_0x17348d[_0x2d55c0(0x10b)],_0x50b5d0=Math[_0x2d55c0(0xde)](_0x43343f,_0xc04f58[_0x2d55c0(0x10b)]);this[_0x2d55c0(0xed)]({'revision':_0xc04f58,'from':_0x43343f,'to':_0x50b5d0});}}}[_0x280e33(0xed)]({revision:_0x3d4d98,from:_0x424128,to:_0x19b4a4}={}){const _0x4ed023=_0x280e33,_0xd884ce=this[_0x4ed023(0x10f)][_0x4ed023(0x121)][_0x4ed023(0x102)](_0x59b89d),_0x2504d1=this[_0x4ed023(0xc0)][_0x4ed023(0xf7)]({'revision':_0x3d4d98,'from':_0x424128,'to':_0x19b4a4});_0x2504d1[_0x4ed023(0xd1)]=_0x2504d1[_0x4ed023(0xf0)][_0x4ed023(0x126)](_0x350227=>_0xd884ce[_0x4ed023(0xcd)](_0x350227)),_0x3d4d98[_0x4ed023(0x111)](_0x2504d1);}[_0x280e33(0xfe)](_0x425861){const _0x42f7e7=_0x280e33,_0x34727c={};_0x34727c['id']=_0x425861['id'];for(const _0x22bbdb of Object[_0x42f7e7(0x12d)](_0x425861))'id'!==_0x22bbdb&&(_0x34727c[_0x22bbdb]=void 0x0);this[_0x42f7e7(0xc0)][_0x42f7e7(0x100)](_0x34727c['id'],_0x34727c,!0x0);}async[_0x280e33(0x119)](_0x51cc67){const _0x2a3bbc=_0x280e33,_0x2c900f=this[_0x2a3bbc(0x10f)][_0x2a3bbc(0x121)][_0x2a3bbc(0x102)](_0x59b89d),{connection:_0x5a5e4f}=this[_0x2a3bbc(0x10f)][_0x2a3bbc(0x121)][_0x2a3bbc(0x102)](_0x4f8c9f),_0x27b501=new Set();for(const _0x3a3206 of _0x51cc67){for(const _0x13d094 of _0x3a3206[_0x2a3bbc(0xf0)])_0x268317(_0x13d094);_0x3a3206[_0x2a3bbc(0xe1)]&&_0x268317(_0x3a3206[_0x2a3bbc(0xe1)]);}if(0x0===_0x27b501[_0x2a3bbc(0xf9)])return;const _0x540582=await _0x5cd858[_0x2a3bbc(0xd0)](_0x5a5e4f,Array[_0x2a3bbc(0xbc)](_0x27b501));for(const _0x4c344b of _0x540582)_0x2c900f[_0x2a3bbc(0xcd)](_0x4c344b['id'])||_0x2c900f[_0x2a3bbc(0x103)](_0x4c344b);function _0x268317(_0x1d7d2e){const _0x13eefa=_0x2a3bbc;_0x2c900f[_0x13eefa(0xcd)](_0x1d7d2e)||_0x27b501[_0x13eefa(0xce)](_0x1d7d2e);}}}function st(_0x4022e7){const _0x4c20d4=_0x280e33;return _0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0xe0))||_0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0xec))||_0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0x10a));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x23bb9e=_0x1ca3;(function(_0xaa77ce,_0x3eed7a){var _0x34dbde=_0x1ca3,_0x34493b=_0xaa77ce();while(!![]){try{var _0x4073a5=-parseInt(_0x34dbde(0x8f))/0x1*(-parseInt(_0x34dbde(0x9c))/0x2)+parseInt(_0x34dbde(0x91))/0x3*(parseInt(_0x34dbde(0x96))/0x4)+parseInt(_0x34dbde(0x8e))/0x5*(parseInt(_0x34dbde(0x97))/0x6)+-parseInt(_0x34dbde(0x98))/0x7+parseInt(_0x34dbde(0x95))/0x8*(-parseInt(_0x34dbde(0x99))/0x9)+parseInt(_0x34dbde(0x9d))/0xa*(parseInt(_0x34dbde(0x93))/0xb)+-parseInt(_0x34dbde(0x9e))/0xc*(-parseInt(_0x34dbde(0xa0))/0xd);if(_0x4073a5===_0x3eed7a)break;else _0x34493b['push'](_0x34493b['shift']());}catch(_0x5947ba){_0x34493b['push'](_0x34493b['shift']());}}}(_0x4d5d,0x8c076));import{Plugin as _0x5ab888}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x565f96}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x587ed0}from'./realtimecollaborativeediting.js';function _0x1ca3(_0x5730f8,_0x3ee328){var _0x4d5d14=_0x4d5d();return _0x1ca3=function(_0x1ca34b,_0x33762b){_0x1ca34b=_0x1ca34b-0x8e;var _0x35e5f6=_0x4d5d14[_0x1ca34b];return _0x35e5f6;},_0x1ca3(_0x5730f8,_0x3ee328);}function _0x4d5d(){var _0x421dc3=['242370MnuyGU','6312bPCxKp','requires','1430NSRKLo','704440npoZZC','97YZJddQ','pluginName','3WBlFKt','RealTimeCollaborativeRevisionHistory','451EHCYqd','isOfficialPlugin','52568mqvZpa','1532152QQcqWO','24hspNFJ','3290910GQdLHm','1467jDdKAa','isPremiumPlugin','RevisionHistory','2404NOJcbg'];_0x4d5d=function(){return _0x421dc3;};return _0x4d5d();}export class RealTimeCollaborativeRevisionHistory extends _0x5ab888{static get[_0x23bb9e(0x9f)](){var _0x569154=_0x23bb9e;return[_0x569154(0x9b),_0x565f96,_0x587ed0];}static get[_0x23bb9e(0x90)](){var _0x5b969b=_0x23bb9e;return _0x5b969b(0x92);}static get[_0x23bb9e(0x94)](){return!0x0;}static get[_0x23bb9e(0x9a)](){return!0x0;}}
23
+ var _0x1fcfe1=_0x3426;(function(_0x107d5b,_0x497cce){var _0x48794a=_0x3426,_0x2953cb=_0x107d5b();while(!![]){try{var _0x41c57f=-parseInt(_0x48794a(0x12d))/0x1+-parseInt(_0x48794a(0x130))/0x2+-parseInt(_0x48794a(0x12f))/0x3*(-parseInt(_0x48794a(0x13a))/0x4)+parseInt(_0x48794a(0x132))/0x5+-parseInt(_0x48794a(0x12e))/0x6*(-parseInt(_0x48794a(0x138))/0x7)+parseInt(_0x48794a(0x12c))/0x8+parseInt(_0x48794a(0x139))/0x9*(-parseInt(_0x48794a(0x133))/0xa);if(_0x41c57f===_0x497cce)break;else _0x2953cb['push'](_0x2953cb['shift']());}catch(_0xe923f){_0x2953cb['push'](_0x2953cb['shift']());}}}(_0x7fda,0x7994e));import{Plugin as _0x20ea72}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x55050f}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3426(_0x4e4010,_0x59eb57){var _0x7fdaa7=_0x7fda();return _0x3426=function(_0x342610,_0x51feeb){_0x342610=_0x342610-0x12b;var _0x41be45=_0x7fdaa7[_0x342610];return _0x41be45;},_0x3426(_0x4e4010,_0x59eb57);}import{RealTimeCollaborativeEditing as _0x125fa5}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x20ea72{static get[_0x1fcfe1(0x131)](){var _0xef7bd=_0x1fcfe1;return[_0xef7bd(0x12b),_0x55050f,_0x125fa5];}static get[_0x1fcfe1(0x135)](){var _0x1e54b9=_0x1fcfe1;return _0x1e54b9(0x137);}static get[_0x1fcfe1(0x136)](){return!0x0;}static get[_0x1fcfe1(0x134)](){return!0x0;}}function _0x7fda(){var _0x4c06d7=['isOfficialPlugin','RealTimeCollaborativeRevisionHistory','7FRzWaJ','386874FTrAnn','4jgIkNN','RevisionHistory','3299624KkurMr','546781xfwdDJ','4615074fNQQSB','756996FAiCPo','863542cSQFqx','requires','3866740NGuYjf','170GVRBiV','isPremiumPlugin','pluginName'];_0x7fda=function(){return _0x4c06d7;};return _0x7fda();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xde167f=_0x2108;(function(_0x49feed,_0x16a980){const _0x4a6877=_0x2108,_0x164633=_0x49feed();while(!![]){try{const _0x5b843a=-parseInt(_0x4a6877(0x11d))/0x1+-parseInt(_0x4a6877(0x127))/0x2+parseInt(_0x4a6877(0x108))/0x3+-parseInt(_0x4a6877(0x10a))/0x4*(parseInt(_0x4a6877(0x115))/0x5)+-parseInt(_0x4a6877(0x103))/0x6+parseInt(_0x4a6877(0x113))/0x7+parseInt(_0x4a6877(0x12e))/0x8;if(_0x5b843a===_0x16a980)break;else _0x164633['push'](_0x164633['shift']());}catch(_0x2e8414){_0x164633['push'](_0x164633['shift']());}}}(_0x36da,0x241be));import{Plugin as _0x5da955}from'ckeditor5/src/core.js';function _0x2108(_0x48ec70,_0x3eca09){const _0x36da59=_0x36da();return _0x2108=function(_0x21088c,_0x444c38){_0x21088c=_0x21088c-0xf3;let _0x106d88=_0x36da59[_0x21088c];return _0x106d88;},_0x2108(_0x48ec70,_0x3eca09);}import{User as _0x426362,TrackChangesService as _0x483cb7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3c1598}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x29849e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x6f87fc}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5da955{static [_0xde167f(0x128)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x483cb7)());[_0xde167f(0xf6)];[_0xde167f(0x11b)];static get[_0xde167f(0x12b)](){const _0xeb49f4=_0xde167f;return[_0x29849e,_0xeb49f4(0xfb),_0x3c1598];}static get[_0xde167f(0x12d)](){const _0x1e9f9b=_0xde167f;return _0x1e9f9b(0x106);}static get[_0xde167f(0xf9)](){return!0x0;}static get[_0xde167f(0xfa)](){return!0x0;}constructor(_0xfefbff){const _0x5a0baa=_0xde167f;super(_0xfefbff);const _0x5a7bee=this[_0x5a0baa(0x129)][_0x5a0baa(0x10b)][_0x5a0baa(0xf4)](_0x5a0baa(0x12a));this[_0x5a0baa(0xf6)]=new Map(),this[_0x5a0baa(0x11b)]=new CloudServicesTrackChangesAdapter[(_0x5a0baa(0x128))](_0x5a7bee);}[_0xde167f(0x119)](){const _0x154ecc=_0xde167f,_0x121060=this[_0x154ecc(0x129)][_0x154ecc(0x121)][_0x154ecc(0xf4)](_0x3c1598),_0x5ced52=this[_0x154ecc(0x129)][_0x154ecc(0x121)][_0x154ecc(0xf4)](_0x154ecc(0xfb));return _0x5ced52[_0x154ecc(0xfc)]={'getSuggestion':async _0x5ad190=>{const _0x328c1b=_0x154ecc;await this[_0x328c1b(0xfe)]();const _0x2b1294=await this[_0x328c1b(0x11b)][_0x328c1b(0xf4)](_0x5ad190)[_0x328c1b(0x125)](B);return await this[_0x328c1b(0x11f)]([_0x2b1294]),_0x2b1294;},'addSuggestion':async({id:_0x142dd7,type:_0x2d0a3e,data:_0x7c2c13,originalSuggestionId:_0x1bdcb6,attributes:_0x9ca9e1})=>{const _0x21f2ef=_0x154ecc;await this[_0x21f2ef(0xfe)]();const _0x14e2ca={'id':_0x142dd7,'type':_0x2d0a3e,'data':_0x7c2c13,'originalSuggestionId':_0x1bdcb6,'attributes':_0x9ca9e1},_0x50b51d=await this[_0x21f2ef(0x11b)][_0x21f2ef(0x122)](_0x142dd7,_0x2d0a3e,_0x7c2c13,_0x1bdcb6,_0x9ca9e1)[_0x21f2ef(0x125)](_0x1bdebd=>{if(I(_0x1bdebd))return new Promise(_0x16d1c3=>{const _0x48a710=_0x2108;this[_0x48a710(0xf6)][_0x48a710(0x124)](_0x142dd7,{'resolve':_0x16d1c3,'suggestionData':_0x14e2ca});});throw _0x1bdebd;});return this[_0x21f2ef(0xf6)][_0x21f2ef(0x116)](_0x142dd7),_0x50b51d;},'updateSuggestion':async(_0x5b2f6c,_0x2b50fe)=>{const _0x3c7593=_0x154ecc;if(await this[_0x3c7593(0xfe)](),_0x3c7593(0xf8)!==_0x2b50fe[_0x3c7593(0xf7)])return this[_0x3c7593(0x11b)][_0x3c7593(0x100)](_0x5b2f6c,_0x2b50fe)[_0x3c7593(0x125)](B);}},this[_0x154ecc(0xfd)](this[_0x154ecc(0x11b)],_0x154ecc(0x130),(_0x4e9ca0,_0x2e7a08)=>{const _0x43d512=_0x154ecc;_0x5ced52[_0x43d512(0x12f)](_0x2e7a08['id'])&&(_0x5ced52[_0x43d512(0xf3)](_0x2e7a08['id'])[_0x43d512(0x11e)]=_0x2e7a08[_0x43d512(0x11e)]);}),this[_0x154ecc(0x11b)][_0x154ecc(0x111)](_0x121060[_0x154ecc(0x102)])[_0x154ecc(0x107)](_0x3c0588=>(_0x121060[_0x154ecc(0x11a)](this),this[_0x154ecc(0x11f)](_0x3c0588)[_0x154ecc(0x107)](()=>{const _0x5d2deb=_0x154ecc;for(const _0x837c66 of _0x3c0588){_0x5ced52[_0x5d2deb(0x12c)](_0x837c66)[_0x5d2deb(0x11c)]=!0x0;}})));}async[_0xde167f(0x112)](){const _0x678a20=_0xde167f,_0x249366=this[_0x678a20(0x129)][_0x678a20(0x121)][_0x678a20(0xf4)](_0x678a20(0xfb)),{connection:_0x2fe46f}=this[_0x678a20(0x129)][_0x678a20(0x121)][_0x678a20(0xf4)](_0x3c1598),_0x25a46c=await this[_0x678a20(0x11b)][_0x678a20(0x111)](_0x2fe46f);await this[_0x678a20(0x11f)](_0x25a46c);for(const {suggestionData:_0xeee99d,resolve:_0x3e3c18}of this[_0x678a20(0xf6)][_0x678a20(0x126)]()){let _0x139ba2=_0x25a46c[_0x678a20(0x114)](_0x4ec185=>_0x4ec185['id']===_0xeee99d['id']);_0x139ba2||(_0x139ba2=await this[_0x678a20(0x11b)][_0x678a20(0x122)](_0xeee99d['id'],_0xeee99d[_0x678a20(0x118)],_0xeee99d[_0x678a20(0x10f)],_0xeee99d[_0x678a20(0x109)])),_0x3e3c18(_0x139ba2);}for(const _0x5e52bd of _0x25a46c)_0x249366[_0x678a20(0x12f)](_0x5e52bd['id'])||_0x249366[_0x678a20(0x12c)](_0x5e52bd);}async[_0xde167f(0xfe)](){const _0x2d481c=_0xde167f;this[_0x2d481c(0x11b)][_0x2d481c(0xf5)]||await new Promise(_0x43ae27=>{const _0x52ec17=_0x2d481c;this[_0x52ec17(0xfd)](this[_0x52ec17(0x11b)],_0x52ec17(0x104),_0x15d809=>{const _0x568351=_0x52ec17;_0x15d809[_0x568351(0x110)](),_0x43ae27();});});}async[_0xde167f(0x11f)](_0x2caef1){const _0x2d6e16=_0xde167f,_0x443fdb=this[_0x2d6e16(0x129)][_0x2d6e16(0x121)][_0x2d6e16(0xf4)](_0x6f87fc),{connection:_0x5536ee}=this[_0x2d6e16(0x129)][_0x2d6e16(0x121)][_0x2d6e16(0xf4)](_0x3c1598),_0x14b1e5=new Set();for(const {authorId:_0x3d25f5}of _0x2caef1)_0x443fdb[_0x2d6e16(0x10e)](_0x3d25f5)||_0x14b1e5[_0x2d6e16(0x122)](_0x3d25f5);if(0x0===_0x14b1e5[_0x2d6e16(0x10c)])return;const _0x2c17d9=await _0x426362[_0x2d6e16(0x117)](_0x5536ee,Array[_0x2d6e16(0x120)](_0x14b1e5));for(const _0x3b93f4 of _0x2c17d9)_0x443fdb[_0x2d6e16(0x10e)](_0x3b93f4['id'])||_0x443fdb[_0x2d6e16(0x10d)](_0x3b93f4);}}function B(_0x3d9486){if(I(_0x3d9486))return new Promise(()=>{});throw _0x3d9486;}function _0x36da(){const _0x1a9b12=['catch','values','363564ciJWwZ','TrackChangesService','editor','collaboration.channelId','requires','addSuggestionData','pluginName','4374560vmvzce','hasSuggestion','suggestionUpdated','getSuggestion','get','isConnected','_bufferedRequests','state','open','isOfficialPlugin','isPremiumPlugin','TrackChangesEditing','adapter','listenTo','_waitForServiceReady','message','update','cloud-services-internal-error:\x20Not\x20connected.','connection','1200894mHAddc','connected','startsWith','CloudServicesTrackChangesAdapter','then','150972RmrPCx','originalSuggestionId','5276cTgHoP','config','size','addUser','getUser','data','off','connect','reconnect','1930299LIkIvH','find','955eMrWAc','delete','getMany','type','init','addToReconnectionStack','_trackChangesService','_saved','91139uQewwP','attributes','_fetchMissingUsersForThreads','from','plugins','add','cloud-services-internal-error:\x20Request\x20timeout.','set'];_0x36da=function(){return _0x1a9b12;};return _0x36da();}function I(_0x11f0a9){const _0x56cd68=_0xde167f;return _0x11f0a9[_0x56cd68(0xff)][_0x56cd68(0x105)](_0x56cd68(0x101))||_0x11f0a9[_0x56cd68(0xff)][_0x56cd68(0x105)](_0x56cd68(0x123));}
23
+ const _0x4210dd=_0x5d7e;(function(_0x36e21f,_0x339fd1){const _0x108f10=_0x5d7e,_0xa458ca=_0x36e21f();while(!![]){try{const _0x10cb93=parseInt(_0x108f10(0x1c1))/0x1+parseInt(_0x108f10(0x1ac))/0x2*(parseInt(_0x108f10(0x1a5))/0x3)+parseInt(_0x108f10(0x1c6))/0x4*(parseInt(_0x108f10(0x1b6))/0x5)+-parseInt(_0x108f10(0x192))/0x6+-parseInt(_0x108f10(0x1a1))/0x7*(-parseInt(_0x108f10(0x1a4))/0x8)+-parseInt(_0x108f10(0x1c3))/0x9+-parseInt(_0x108f10(0x1b0))/0xa*(parseInt(_0x108f10(0x1a0))/0xb);if(_0x10cb93===_0x339fd1)break;else _0xa458ca['push'](_0xa458ca['shift']());}catch(_0x15dad2){_0xa458ca['push'](_0xa458ca['shift']());}}}(_0x2261,0xef2f7));import{Plugin as _0x18be06}from'ckeditor5/src/core.js';import{User as _0x4605c9,TrackChangesService as _0x3d5fea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x286e78}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x22355b}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x2261(){const _0x1774ba=['1708669KluEwx','delete','1919961HSTzRQ','from','suggestionUpdated','13036isUtXd','TrackChangesEditing','originalSuggestionId','catch','type','requires','update','connected','data','_bufferedRequests','startsWith','reconnect','editor','4594260tUtofV','cloud-services-internal-error:\x20Not\x20connected.','then','_fetchMissingUsersForThreads','attributes','pluginName','isOfficialPlugin','_saved','collaboration.channelId','isConnected','get','init','connection','cloud-services-internal-error:\x20Request\x20timeout.','77QAwrnM','7hyOXcO','plugins','addUser','14669096ghaiwT','1954338jFwmsv','listenTo','addSuggestionData','adapter','_waitForServiceReady','getMany','find','6aymyDZ','addToReconnectionStack','values','getSuggestion','5440570grKFUm','off','connect','state','isPremiumPlugin','open','415XEZUAD','hasSuggestion','message','getUser','set','CloudServicesTrackChangesAdapter','add','size','_trackChangesService','config','TrackChangesService'];_0x2261=function(){return _0x1774ba;};return _0x2261();}import{Users as _0x51b572}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x18be06{static [_0x4210dd(0x1c0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3d5fea)());[_0x4210dd(0x18e)];[_0x4210dd(0x1be)];static get[_0x4210dd(0x18a)](){const _0x18e458=_0x4210dd;return[_0x22355b,_0x18e458(0x1c7),_0x286e78];}static get[_0x4210dd(0x197)](){const _0x807ea4=_0x4210dd;return _0x807ea4(0x1bb);}static get[_0x4210dd(0x198)](){return!0x0;}static get[_0x4210dd(0x1b4)](){return!0x0;}constructor(_0x1202a7){const _0x24e6bb=_0x4210dd;super(_0x1202a7);const _0x208c68=this[_0x24e6bb(0x191)][_0x24e6bb(0x1bf)][_0x24e6bb(0x19c)](_0x24e6bb(0x19a));this[_0x24e6bb(0x18e)]=new Map(),this[_0x24e6bb(0x1be)]=new CloudServicesTrackChangesAdapter[(_0x24e6bb(0x1c0))](_0x208c68);}[_0x4210dd(0x19d)](){const _0x4311a9=_0x4210dd,_0x3cb912=this[_0x4311a9(0x191)][_0x4311a9(0x1a2)][_0x4311a9(0x19c)](_0x286e78),_0x131800=this[_0x4311a9(0x191)][_0x4311a9(0x1a2)][_0x4311a9(0x19c)](_0x4311a9(0x1c7));return _0x131800[_0x4311a9(0x1a8)]={'getSuggestion':async _0x4d753a=>{const _0x29935d=_0x4311a9;await this[_0x29935d(0x1a9)]();const _0x1f7b8c=await this[_0x29935d(0x1be)][_0x29935d(0x19c)](_0x4d753a)[_0x29935d(0x1c9)](A);return await this[_0x29935d(0x195)]([_0x1f7b8c]),_0x1f7b8c;},'addSuggestion':async({id:_0xb9396f,type:_0x34a5a2,data:_0x502bb5,originalSuggestionId:_0x28ab9d,attributes:_0x10118e})=>{const _0x33aca2=_0x4311a9;await this[_0x33aca2(0x1a9)]();const _0x2dbf39={'id':_0xb9396f,'type':_0x34a5a2,'data':_0x502bb5,'originalSuggestionId':_0x28ab9d,'attributes':_0x10118e},_0xfb6a23=await this[_0x33aca2(0x1be)][_0x33aca2(0x1bc)](_0xb9396f,_0x34a5a2,_0x502bb5,_0x28ab9d,_0x10118e)[_0x33aca2(0x1c9)](_0x5166bb=>{if(st(_0x5166bb))return new Promise(_0x56b993=>{const _0x120d6d=_0x5d7e;this[_0x120d6d(0x18e)][_0x120d6d(0x1ba)](_0xb9396f,{'resolve':_0x56b993,'suggestionData':_0x2dbf39});});throw _0x5166bb;});return this[_0x33aca2(0x18e)][_0x33aca2(0x1c2)](_0xb9396f),_0xfb6a23;},'updateSuggestion':async(_0x45523c,_0x1f6300)=>{const _0x316b18=_0x4311a9;if(await this[_0x316b18(0x1a9)](),_0x316b18(0x1b5)!==_0x1f6300[_0x316b18(0x1b3)])return this[_0x316b18(0x1be)][_0x316b18(0x18b)](_0x45523c,_0x1f6300)[_0x316b18(0x1c9)](A);}},this[_0x4311a9(0x1a6)](this[_0x4311a9(0x1be)],_0x4311a9(0x1c5),(_0x4e06bc,_0x2e0ada)=>{const _0x3528c9=_0x4311a9;_0x131800[_0x3528c9(0x1b7)](_0x2e0ada['id'])&&(_0x131800[_0x3528c9(0x1af)](_0x2e0ada['id'])[_0x3528c9(0x196)]=_0x2e0ada[_0x3528c9(0x196)]);}),this[_0x4311a9(0x1be)][_0x4311a9(0x1b2)](_0x3cb912[_0x4311a9(0x19e)])[_0x4311a9(0x194)](_0x28267a=>(_0x3cb912[_0x4311a9(0x1ad)](this),this[_0x4311a9(0x195)](_0x28267a)[_0x4311a9(0x194)](()=>{const _0x2deb3d=_0x4311a9;for(const _0xe28c4d of _0x28267a){_0x131800[_0x2deb3d(0x1a7)](_0xe28c4d)[_0x2deb3d(0x199)]=!0x0;}})));}async[_0x4210dd(0x190)](){const _0xb50a38=_0x4210dd,_0x4c4d20=this[_0xb50a38(0x191)][_0xb50a38(0x1a2)][_0xb50a38(0x19c)](_0xb50a38(0x1c7)),{connection:_0xbf2b6e}=this[_0xb50a38(0x191)][_0xb50a38(0x1a2)][_0xb50a38(0x19c)](_0x286e78),_0xe3523b=await this[_0xb50a38(0x1be)][_0xb50a38(0x1b2)](_0xbf2b6e);await this[_0xb50a38(0x195)](_0xe3523b);for(const {suggestionData:_0x152361,resolve:_0x3f0068}of this[_0xb50a38(0x18e)][_0xb50a38(0x1ae)]()){let _0xb8cf0a=_0xe3523b[_0xb50a38(0x1ab)](_0x2686a9=>_0x2686a9['id']===_0x152361['id']);_0xb8cf0a||(_0xb8cf0a=await this[_0xb50a38(0x1be)][_0xb50a38(0x1bc)](_0x152361['id'],_0x152361[_0xb50a38(0x189)],_0x152361[_0xb50a38(0x18d)],_0x152361[_0xb50a38(0x1c8)])),_0x3f0068(_0xb8cf0a);}for(const _0x208782 of _0xe3523b)_0x4c4d20[_0xb50a38(0x1b7)](_0x208782['id'])||_0x4c4d20[_0xb50a38(0x1a7)](_0x208782);}async[_0x4210dd(0x1a9)](){const _0x4b3a6c=_0x4210dd;this[_0x4b3a6c(0x1be)][_0x4b3a6c(0x19b)]||await new Promise(_0x3d0391=>{const _0x34e836=_0x4b3a6c;this[_0x34e836(0x1a6)](this[_0x34e836(0x1be)],_0x34e836(0x18c),_0x25f4fe=>{const _0x75e75e=_0x34e836;_0x25f4fe[_0x75e75e(0x1b1)](),_0x3d0391();});});}async[_0x4210dd(0x195)](_0x18dc0e){const _0x55e879=_0x4210dd,_0xefcc46=this[_0x55e879(0x191)][_0x55e879(0x1a2)][_0x55e879(0x19c)](_0x51b572),{connection:_0x16bd75}=this[_0x55e879(0x191)][_0x55e879(0x1a2)][_0x55e879(0x19c)](_0x286e78),_0x2bf968=new Set();for(const {authorId:_0x45db25}of _0x18dc0e)_0xefcc46[_0x55e879(0x1b9)](_0x45db25)||_0x2bf968[_0x55e879(0x1bc)](_0x45db25);if(0x0===_0x2bf968[_0x55e879(0x1bd)])return;const _0x13d0f5=await _0x4605c9[_0x55e879(0x1aa)](_0x16bd75,Array[_0x55e879(0x1c4)](_0x2bf968));for(const _0x1d92ab of _0x13d0f5)_0xefcc46[_0x55e879(0x1b9)](_0x1d92ab['id'])||_0xefcc46[_0x55e879(0x1a3)](_0x1d92ab);}}function _0x5d7e(_0x55ae76,_0x31d130){const _0x226160=_0x2261();return _0x5d7e=function(_0x5d7e68,_0x56f372){_0x5d7e68=_0x5d7e68-0x189;let _0x7564df=_0x226160[_0x5d7e68];return _0x7564df;},_0x5d7e(_0x55ae76,_0x31d130);}function A(_0x1cf491){if(st(_0x1cf491))return new Promise(()=>{});throw _0x1cf491;}function st(_0x1b4718){const _0x3b9c31=_0x4210dd;return _0x1b4718[_0x3b9c31(0x1b8)][_0x3b9c31(0x18f)](_0x3b9c31(0x193))||_0x1b4718[_0x3b9c31(0x1b8)][_0x3b9c31(0x18f)](_0x3b9c31(0x19f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5f5b99=_0xd43a;(function(_0x46082a,_0xccfa51){var _0x1b5d4e=_0xd43a,_0x2838ee=_0x46082a();while(!![]){try{var _0x569a4d=parseInt(_0x1b5d4e(0xee))/0x1*(parseInt(_0x1b5d4e(0xeb))/0x2)+parseInt(_0x1b5d4e(0xf3))/0x3*(-parseInt(_0x1b5d4e(0xf0))/0x4)+parseInt(_0x1b5d4e(0xea))/0x5*(parseInt(_0x1b5d4e(0xf6))/0x6)+-parseInt(_0x1b5d4e(0xe7))/0x7+parseInt(_0x1b5d4e(0xf5))/0x8+-parseInt(_0x1b5d4e(0xe6))/0x9*(-parseInt(_0x1b5d4e(0xe9))/0xa)+parseInt(_0x1b5d4e(0xe8))/0xb*(-parseInt(_0x1b5d4e(0xe5))/0xc);if(_0x569a4d===_0xccfa51)break;else _0x2838ee['push'](_0x2838ee['shift']());}catch(_0x67b1b6){_0x2838ee['push'](_0x2838ee['shift']());}}}(_0x3332,0x57a15));import{Plugin as _0x403cf0}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x56f7b0}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0xd43a(_0x359f5c,_0x4e04f8){var _0x333297=_0x3332();return _0xd43a=function(_0xd43a3f,_0x12cfd0){_0xd43a3f=_0xd43a3f-0xe5;var _0x325f7c=_0x333297[_0xd43a3f];return _0x325f7c;},_0xd43a(_0x359f5c,_0x4e04f8);}import{RealTimeCollaborativeComments as _0x4666cb}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x403cf0{static get[_0x5f5b99(0xef)](){var _0xbec648=_0x5f5b99;return[_0x4666cb,_0x56f7b0,_0xbec648(0xf4)];}static get[_0x5f5b99(0xf2)](){var _0x567b69=_0x5f5b99;return _0x567b69(0xf1);}static get[_0x5f5b99(0xed)](){return!0x0;}static get[_0x5f5b99(0xec)](){return!0x0;}}function _0x3332(){var _0x4da842=['requires','88BXOONE','RealTimeCollaborativeTrackChanges','pluginName','10653urfpqA','TrackChanges','3429048XlXeQL','77304YYKvgS','2902812FFXHmI','769689zNXdxu','4406913dvoUNn','11fFvWEn','10tkgKiw','200NoUFej','2RvqMoi','isPremiumPlugin','isOfficialPlugin','279003KXkAVF'];_0x3332=function(){return _0x4da842;};return _0x3332();}
23
+ var _0x306030=_0x2f93;(function(_0x4e528d,_0x3df349){var _0x5451f5=_0x2f93,_0x1543df=_0x4e528d();while(!![]){try{var _0x50cfb7=parseInt(_0x5451f5(0x123))/0x1+parseInt(_0x5451f5(0x12c))/0x2+-parseInt(_0x5451f5(0x122))/0x3*(-parseInt(_0x5451f5(0x128))/0x4)+parseInt(_0x5451f5(0x12d))/0x5*(-parseInt(_0x5451f5(0x12a))/0x6)+-parseInt(_0x5451f5(0x121))/0x7+parseInt(_0x5451f5(0x125))/0x8+-parseInt(_0x5451f5(0x129))/0x9;if(_0x50cfb7===_0x3df349)break;else _0x1543df['push'](_0x1543df['shift']());}catch(_0xf4baa9){_0x1543df['push'](_0x1543df['shift']());}}}(_0x4afa,0x73f2a));function _0x4afa(){var _0x56add1=['TrackChanges','4955992rIIxty','RealTimeCollaborativeTrackChanges','pluginName','332UruTGD','9733797hWRejY','1569822uUCgRI','isPremiumPlugin','595942OxYrav','5TArtTm','isOfficialPlugin','requires','218778RXHwaq','12399Vhvkgw','588837BSdsFu'];_0x4afa=function(){return _0x56add1;};return _0x4afa();}function _0x2f93(_0x7bfcf,_0x3b926f){var _0x4afa55=_0x4afa();return _0x2f93=function(_0x2f9315,_0x2b53e3){_0x2f9315=_0x2f9315-0x11f;var _0x3bb12b=_0x4afa55[_0x2f9315];return _0x3bb12b;},_0x2f93(_0x7bfcf,_0x3b926f);}import{Plugin as _0x201a4a}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3faed7}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x165d38}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x201a4a{static get[_0x306030(0x120)](){var _0x5cbc3c=_0x306030;return[_0x165d38,_0x3faed7,_0x5cbc3c(0x124)];}static get[_0x306030(0x127)](){var _0x263279=_0x306030;return _0x263279(0x126);}static get[_0x306030(0x11f)](){return!0x0;}static get[_0x306030(0x12b)](){return!0x0;}}