@ckeditor/ckeditor5-real-time-collaboration 47.6.2 → 47.7.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x519383=_0x291b;function _0x291b(_0xc352ac,_0x4b183a){const _0x2cf4b8=_0x2cf4();return _0x291b=function(_0x291b94,_0x53d364){_0x291b94=_0x291b94-0x9e;let _0x150c4b=_0x2cf4b8[_0x291b94];return _0x150c4b;},_0x291b(_0xc352ac,_0x4b183a);}(function(_0xe6fce7,_0x1663f5){const _0x3f20d4=_0x291b,_0x1dfb28=_0xe6fce7();while(!![]){try{const _0x7d3ddc=parseInt(_0x3f20d4(0xd6))/0x1+-parseInt(_0x3f20d4(0xa2))/0x2*(parseInt(_0x3f20d4(0xd3))/0x3)+-parseInt(_0x3f20d4(0xe5))/0x4+-parseInt(_0x3f20d4(0xcf))/0x5*(-parseInt(_0x3f20d4(0xbe))/0x6)+-parseInt(_0x3f20d4(0xdf))/0x7+-parseInt(_0x3f20d4(0xaf))/0x8+parseInt(_0x3f20d4(0xe1))/0x9;if(_0x7d3ddc===_0x1663f5)break;else _0x1dfb28['push'](_0x1dfb28['shift']());}catch(_0x2924b2){_0x1dfb28['push'](_0x1dfb28['shift']());}}}(_0x2cf4,0xa35d0));import{ContextPlugin as _0x465056}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x194c9c,CKEditorError as _0x1e6bd8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x47b6f0,WEB_SOCKET_GATEWAY_STATES as _0x48fe61}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4f091f}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x465056{static [_0x519383(0xc3)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x47b6f0)());static [_0x519383(0xa9)]=0x3e8;[_0x519383(0xa4)];[_0x519383(0xdc)];[_0x519383(0xcb)];[_0x519383(0xb4)];static get[_0x519383(0xb0)](){const _0x2d04f1=_0x519383;return[_0x2d04f1(0xb5),_0x4f091f];}static get[_0x519383(0xa3)](){const _0x4c18d1=_0x519383;return _0x4c18d1(0xc3);}static get[_0x519383(0xab)](){return!0x0;}static get[_0x519383(0xb3)](){return!0x0;}constructor(_0x253f21){const _0x34a349=_0x519383;super(_0x253f21),this[_0x34a349(0xa7)](_0x34a349(0xc6),_0x48fe61[_0x34a349(0xe6)]),this[_0x34a349(0xa7)](_0x34a349(0xc2),!0x1),this[_0x34a349(0xdc)]=new Set(),this[_0x34a349(0xcb)]=!0x1,this[_0x34a349(0xb4)]=new(_0x194c9c())();}[_0x519383(0xa5)](){const _0x3cbdc3=_0x519383,_0x525a57=this[_0x3cbdc3(0xcc)],_0x3c65d8=_0x525a57[_0x3cbdc3(0xc5)][_0x3cbdc3(0xbc)](_0x3cbdc3(0xb5)),_0x4484f4=_0x525a57[_0x3cbdc3(0xc5)][_0x3cbdc3(0xbc)](_0x4f091f);if(!_0x3c65d8[_0x3cbdc3(0xde)])throw new _0x1e6bd8(_0x3cbdc3(0xa1),this);if(!_0x3c65d8[_0x3cbdc3(0xa8)])throw new _0x1e6bd8(_0x3cbdc3(0xd8),this);return this[_0x3cbdc3(0xb4)][_0x3cbdc3(0xc1)](window,_0x3cbdc3(0xd2),()=>this[_0x3cbdc3(0xc2)]=!0x0),this[_0x3cbdc3(0xb4)][_0x3cbdc3(0xc1)](window,_0x3cbdc3(0xb1),()=>this[_0x3cbdc3(0xc2)]=!0x1),this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbd)](_0x3cbdc3(0xcd),0xa),this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbd)](_0x3cbdc3(0xc7),0x14),WebSocketGateway[_0x3cbdc3(0xc3)][_0x3cbdc3(0x9f)](_0x3c65d8[_0x3cbdc3(0xde)],_0x3c65d8[_0x3cbdc3(0xa8)],{'timeout':0x3e8*this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbc)](_0x3cbdc3(0xcd)),'requestTimeout':0x3e8*this[_0x3cbdc3(0xcc)][_0x3cbdc3(0xc4)][_0x3cbdc3(0xbc)](_0x3cbdc3(0xc7))})[_0x3cbdc3(0xae)](_0xef8863=>{const _0x10d531=_0x3cbdc3;if(this[_0x10d531(0xa4)]=_0xef8863,this[_0x10d531(0xa0)](_0x10d531(0xc6))['to'](_0xef8863,_0x10d531(0xc6),this,_0x10d531(0xc2),(_0x21ed80,_0x68b6c2)=>(_0x10d531(0xb6)!==_0x21ed80&&(this[_0x10d531(0xcb)]=!0x0),_0x68b6c2||_0x21ed80!==_0x48fe61[_0x10d531(0xe6)]?_0x48fe61[_0x10d531(0xc9)]:this[_0x10d531(0xc6)]==_0x48fe61[_0x10d531(0xc9)]&&this[_0x10d531(0xcb)]?(this[_0x10d531(0xcb)]=!0x1,this[_0x10d531(0xdb)](),_0x48fe61[_0x10d531(0xa6)]):_0x48fe61[_0x10d531(0xe6)])),this[_0x10d531(0xa4)]['on'](_0x10d531(0xc8),(_0x3e5e8e,_0x56746e)=>{const _0x95dfdb=_0x10d531;if(_0x95dfdb(0xdd)!==_0x56746e[_0x95dfdb(0xd7)])throw console[_0x95dfdb(0xc8)](_0x56746e),new _0x1e6bd8(_0x95dfdb(0xe2),null,{'originalError':_0x56746e});_0x4484f4[_0x95dfdb(0xda)](_0x95dfdb(0xe0),{'title':_0x95dfdb(0xd0),'namespace':_0x95dfdb(0xbb)});}),!_0xef8863['me'])return new Promise(_0x1ab95a=>_0xef8863['on'](_0x10d531(0xe4),_0x1ab95a));})[_0x3cbdc3(0xbf)](_0xa8f892=>{const _0x4c0fe9=_0x3cbdc3;throw console[_0x4c0fe9(0xc8)](_0xa8f892),new _0x1e6bd8(_0x4c0fe9(0xe2),null,{'originalError':_0xa8f892});});}[_0x519383(0xd5)](_0x49e9ba){const _0x213673=_0x519383;if(_0x213673(0xc0)!=typeof _0x49e9ba[_0x213673(0xd4)])throw new _0x1e6bd8(_0x213673(0xce),this);if(this[_0x213673(0xd1)](_0x49e9ba))throw new _0x1e6bd8(_0x213673(0xd9),this,{'name':_0x49e9ba[_0x213673(0xb2)][_0x213673(0xa3)]});this[_0x213673(0xdc)][_0x213673(0xca)](_0x49e9ba);}[_0x519383(0xb9)](_0x1e3d2b){const _0x4156cf=_0x519383;this[_0x4156cf(0xdc)][_0x4156cf(0xad)](_0x1e3d2b);}[_0x519383(0xd1)](_0x5e3256){const _0x65443c=_0x519383;return this[_0x65443c(0xdc)][_0x65443c(0xac)](_0x5e3256);}[_0x519383(0xdb)](){const _0x203260=_0x519383;return this[_0x203260(0xa4)][_0x203260(0xd4)]()[_0x203260(0xae)](()=>Promise[_0x203260(0xe3)](Array[_0x203260(0xba)](this[_0x203260(0xdc)],_0xeb1674=>_0xeb1674[_0x203260(0xd4)]())))[_0x203260(0xae)](()=>this[_0x203260(0xc6)]=_0x48fe61[_0x203260(0xe6)])[_0x203260(0xbf)](_0x1393d0=>{const _0x57b600=_0x203260;throw console[_0x57b600(0xc8)](_0x1393d0),new _0x1e6bd8(_0x57b600(0x9e),this[_0x57b600(0xcc)]);});}[_0x519383(0xaa)](){const _0x2dfa83=_0x519383;this[_0x2dfa83(0xa4)]&&this[_0x2dfa83(0xa4)][_0x2dfa83(0xaa)](),this[_0x2dfa83(0xc6)]=_0x48fe61[_0x2dfa83(0xc9)],this[_0x2dfa83(0xb4)][_0x2dfa83(0xb8)]();}[_0x519383(0xb7)](){const _0x5646e3=_0x519383;this[_0x5646e3(0xaa)](),super[_0x5646e3(0xb7)]();}}function _0x2cf4(){const _0x4b9a20=['9466552UyzTYj','requires','online','constructor','isPremiumPlugin','_domEmitter','CloudServices','connected','destroy','stopListening','removeFromReconnectionStack','from','real-time-collaboration','get','define','1865058gINIiO','catch','function','listenTo','_isBrowserOffline','WebSocketGateway','config','plugins','state','cloudServices.requestTimeout','error','DISCONNECTED','add','_shouldPluginsReconnect','context','cloudServices.connectionTimeout','websocketgateway-invalid-plugin-interface','10BjPvfd','Connected\x20users\x20limit\x20exceeded','isInReconnectionStack','offline','3wQfQIf','reconnect','addToReconnectionStack','282339VrEkdn','code','websocketgateway-missing-websocket-url','websocketgateway-plugin-already-registered','showWarning','_reconnect','_reconnectionStack','limitExceeded','token','6079024otBMTh','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.','34573779Jmcbou','cloudservices-init','all','change:me','4614724kTOwFf','CONNECTED','cloudservices-reconnection-error','connect','bind','websocketgateway-missing-token','1741976mQPIxf','pluginName','connection','init','CONNECTING','set','webSocketUrl','initialReconnectionInterval','disconnect','isOfficialPlugin','has','delete','then'];_0x2cf4=function(){return _0x4b9a20;};return _0x2cf4();}
23
+ const _0x3bec3c=_0x8499;function _0x2207(){const _0x12bdf0=['_shouldPluginsReconnect','connection','786969vfeUpZ','_reconnectionStack','CloudServices','initialReconnectionInterval','cloudServices.connectionTimeout','connected','change:me','add','token','code','connect','then','limitExceeded','WebSocketGateway','467817mBMTvB','function','cloudservices-reconnection-error','isPremiumPlugin','123TdeZpx','state','config','DISCONNECTED','plugins','93953jtydty','websocketgateway-missing-token','_reconnect','removeFromReconnectionStack','constructor','error','stopListening','pluginName','offline','22IGUVQR','destroy','websocketgateway-invalid-plugin-interface','catch','Connected\x20users\x20limit\x20exceeded','15116iIooqj','websocketgateway-plugin-already-registered','_isBrowserOffline','isInReconnectionStack','cloudservices-init','websocketgateway-missing-websocket-url','2238468oTMKrP','has','real-time-collaboration','webSocketUrl','get','requires','from','CONNECTING','isOfficialPlugin','set','225764nQdCHm','_domEmitter','disconnect','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.','addToReconnectionStack','all','CONNECTED','12beZAFH','init','30khzkpn','define','listenTo','cloudServices.requestTimeout','delete','reconnect','8GHHiZy','709890rAqJlB','showWarning','online','bind','context'];_0x2207=function(){return _0x12bdf0;};return _0x2207();}(function(_0x388aa6,_0x36ff8a){const _0x440463=_0x8499,_0x2caace=_0x388aa6();while(!![]){try{const _0x33e112=parseInt(_0x440463(0xec))/0x1+parseInt(_0x440463(0x10a))/0x2+-parseInt(_0x440463(0xe7))/0x3*(parseInt(_0x440463(0xfa))/0x4)+-parseInt(_0x440463(0x11a))/0x5*(-parseInt(_0x440463(0x111))/0x6)+-parseInt(_0x440463(0xe3))/0x7*(parseInt(_0x440463(0x119))/0x8)+parseInt(_0x440463(0x121))/0x9*(parseInt(_0x440463(0x113))/0xa)+parseInt(_0x440463(0xf5))/0xb*(-parseInt(_0x440463(0x100))/0xc);if(_0x33e112===_0x36ff8a)break;else _0x2caace['push'](_0x2caace['shift']());}catch(_0x1f79cf){_0x2caace['push'](_0x2caace['shift']());}}}(_0x2207,0x26a3a));import{ContextPlugin as _0x2f144e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2635ed,CKEditorError as _0x22656a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1bc140,WEB_SOCKET_GATEWAY_STATES as _0xb5307b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x8499(_0x2991da,_0x428f4d){const _0x22074d=_0x2207();return _0x8499=function(_0x849986,_0x2a67d7){_0x849986=_0x849986-0xd9;let _0x1710d2=_0x22074d[_0x849986];return _0x1710d2;},_0x8499(_0x2991da,_0x428f4d);}import{Notification as _0x202b38}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x2f144e{static [_0x3bec3c(0xe2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1bc140)());static [_0x3bec3c(0x124)]=0x3e8;[_0x3bec3c(0x120)];[_0x3bec3c(0x122)];[_0x3bec3c(0x11f)];[_0x3bec3c(0x10b)];static get[_0x3bec3c(0x105)](){const _0x350200=_0x3bec3c;return[_0x350200(0x123),_0x202b38];}static get[_0x3bec3c(0xf3)](){const _0x4ead0c=_0x3bec3c;return _0x4ead0c(0xe2);}static get[_0x3bec3c(0x108)](){return!0x0;}static get[_0x3bec3c(0xe6)](){return!0x0;}constructor(_0x166ff7){const _0x404fd2=_0x3bec3c;super(_0x166ff7),this[_0x404fd2(0x109)](_0x404fd2(0xe8),_0xb5307b[_0x404fd2(0x110)]),this[_0x404fd2(0x109)](_0x404fd2(0xfc),!0x1),this[_0x404fd2(0x122)]=new Set(),this[_0x404fd2(0x11f)]=!0x1,this[_0x404fd2(0x10b)]=new(_0x2635ed())();}[_0x3bec3c(0x112)](){const _0x22217a=_0x3bec3c,_0x4c1b70=this[_0x22217a(0x11e)],_0x562283=_0x4c1b70[_0x22217a(0xeb)][_0x22217a(0x104)](_0x22217a(0x123)),_0x418be7=_0x4c1b70[_0x22217a(0xeb)][_0x22217a(0x104)](_0x202b38);if(!_0x562283[_0x22217a(0xdd)])throw new _0x22656a(_0x22217a(0xed),this);if(!_0x562283[_0x22217a(0x103)])throw new _0x22656a(_0x22217a(0xff),this);return this[_0x22217a(0x10b)][_0x22217a(0x115)](window,_0x22217a(0xf4),()=>this[_0x22217a(0xfc)]=!0x0),this[_0x22217a(0x10b)][_0x22217a(0x115)](window,_0x22217a(0x11c),()=>this[_0x22217a(0xfc)]=!0x1),this[_0x22217a(0x11e)][_0x22217a(0xe9)][_0x22217a(0x114)](_0x22217a(0xd9),0xa),this[_0x22217a(0x11e)][_0x22217a(0xe9)][_0x22217a(0x114)](_0x22217a(0x116),0x14),WebSocketGateway[_0x22217a(0xe2)][_0x22217a(0xdf)](_0x562283[_0x22217a(0xdd)],_0x562283[_0x22217a(0x103)],{'timeout':0x3e8*this[_0x22217a(0x11e)][_0x22217a(0xe9)][_0x22217a(0x104)](_0x22217a(0xd9)),'requestTimeout':0x3e8*this[_0x22217a(0x11e)][_0x22217a(0xe9)][_0x22217a(0x104)](_0x22217a(0x116))})[_0x22217a(0xe0)](_0x493e1a=>{const _0x313178=_0x22217a;if(this[_0x313178(0x120)]=_0x493e1a,this[_0x313178(0x11d)](_0x313178(0xe8))['to'](_0x493e1a,_0x313178(0xe8),this,_0x313178(0xfc),(_0x4348cc,_0x390ead)=>(_0x313178(0xda)!==_0x4348cc&&(this[_0x313178(0x11f)]=!0x0),_0x390ead||_0x4348cc!==_0xb5307b[_0x313178(0x110)]?_0xb5307b[_0x313178(0xea)]:this[_0x313178(0xe8)]==_0xb5307b[_0x313178(0xea)]&&this[_0x313178(0x11f)]?(this[_0x313178(0x11f)]=!0x1,this[_0x313178(0xee)](),_0xb5307b[_0x313178(0x107)]):_0xb5307b[_0x313178(0x110)])),this[_0x313178(0x120)]['on'](_0x313178(0xf1),(_0x1cee3f,_0x3e86ef)=>{const _0x35fd7c=_0x313178;if(_0x35fd7c(0xe1)!==_0x3e86ef[_0x35fd7c(0xde)])throw console[_0x35fd7c(0xf1)](_0x3e86ef),new _0x22656a(_0x35fd7c(0xfe),null,{'originalError':_0x3e86ef});_0x418be7[_0x35fd7c(0x11b)](_0x35fd7c(0x10d),{'title':_0x35fd7c(0xf9),'namespace':_0x35fd7c(0x102)});}),!_0x493e1a['me'])return new Promise(_0x4924f5=>_0x493e1a['on'](_0x313178(0xdb),_0x4924f5));})[_0x22217a(0xf8)](_0x2a130d=>{const _0x449c58=_0x22217a;throw console[_0x449c58(0xf1)](_0x2a130d),new _0x22656a(_0x449c58(0xfe),null,{'originalError':_0x2a130d});});}[_0x3bec3c(0x10e)](_0x4559e0){const _0x1ef16e=_0x3bec3c;if(_0x1ef16e(0xe4)!=typeof _0x4559e0[_0x1ef16e(0x118)])throw new _0x22656a(_0x1ef16e(0xf7),this);if(this[_0x1ef16e(0xfd)](_0x4559e0))throw new _0x22656a(_0x1ef16e(0xfb),this,{'name':_0x4559e0[_0x1ef16e(0xf0)][_0x1ef16e(0xf3)]});this[_0x1ef16e(0x122)][_0x1ef16e(0xdc)](_0x4559e0);}[_0x3bec3c(0xef)](_0x3efcc0){const _0x208d39=_0x3bec3c;this[_0x208d39(0x122)][_0x208d39(0x117)](_0x3efcc0);}[_0x3bec3c(0xfd)](_0x565d9e){const _0x3f57c=_0x3bec3c;return this[_0x3f57c(0x122)][_0x3f57c(0x101)](_0x565d9e);}[_0x3bec3c(0xee)](){const _0x44e6bf=_0x3bec3c;return this[_0x44e6bf(0x120)][_0x44e6bf(0x118)]()[_0x44e6bf(0xe0)](()=>Promise[_0x44e6bf(0x10f)](Array[_0x44e6bf(0x106)](this[_0x44e6bf(0x122)],_0x1100c0=>_0x1100c0[_0x44e6bf(0x118)]())))[_0x44e6bf(0xe0)](()=>this[_0x44e6bf(0xe8)]=_0xb5307b[_0x44e6bf(0x110)])[_0x44e6bf(0xf8)](_0x2987d6=>{const _0xbdfc0d=_0x44e6bf;throw console[_0xbdfc0d(0xf1)](_0x2987d6),new _0x22656a(_0xbdfc0d(0xe5),this[_0xbdfc0d(0x11e)]);});}[_0x3bec3c(0x10c)](){const _0x706e36=_0x3bec3c;this[_0x706e36(0x120)]&&this[_0x706e36(0x120)][_0x706e36(0x10c)](),this[_0x706e36(0xe8)]=_0xb5307b[_0x706e36(0xea)],this[_0x706e36(0x10b)][_0x706e36(0xf2)]();}[_0x3bec3c(0xf6)](){const _0x598b44=_0x3bec3c;this[_0x598b44(0x10c)](),super[_0x598b44(0xf6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x62b2(_0x3e25e6,_0x1ada60){var _0x55f04b=_0x55f0();return _0x62b2=function(_0x62b2d3,_0x30c8ab){_0x62b2d3=_0x62b2d3-0x1cf;var _0x33316c=_0x55f04b[_0x62b2d3];return _0x33316c;},_0x62b2(_0x3e25e6,_0x1ada60);}var _0x3afce8=_0x62b2;(function(_0x15c1ab,_0x4e8ada){var _0x3ee272=_0x62b2,_0x598439=_0x15c1ab();while(!![]){try{var _0x354fc8=parseInt(_0x3ee272(0x1db))/0x1*(parseInt(_0x3ee272(0x1d2))/0x2)+-parseInt(_0x3ee272(0x1d6))/0x3+parseInt(_0x3ee272(0x1d0))/0x4+parseInt(_0x3ee272(0x1d1))/0x5+-parseInt(_0x3ee272(0x1d4))/0x6+-parseInt(_0x3ee272(0x1d7))/0x7*(parseInt(_0x3ee272(0x1d5))/0x8)+parseInt(_0x3ee272(0x1da))/0x9;if(_0x354fc8===_0x4e8ada)break;else _0x598439['push'](_0x598439['shift']());}catch(_0x36e278){_0x598439['push'](_0x598439['shift']());}}}(_0x55f0,0xf0a47));import{Plugin as _0x531f6a}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2caf3c}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x55f0(){var _0x5645e0=['2418240czVugR','7zPqCZx','isOfficialPlugin','requires','32433174mfWyFt','23813FXfJBo','isPremiumPlugin','RealTimeCollaborativeEditing','1681632OuIGsi','1112905CgisBC','62IUiVdG','pluginName','11458992dJjyGz','10266360ycQiYf'];_0x55f0=function(){return _0x5645e0;};return _0x55f0();}export class RealTimeCollaborativeEditing extends _0x531f6a{static get[_0x3afce8(0x1d9)](){return[_0x2caf3c];}static get[_0x3afce8(0x1d3)](){var _0xd8e881=_0x3afce8;return _0xd8e881(0x1cf);}static get[_0x3afce8(0x1d8)](){return!0x0;}static get[_0x3afce8(0x1dc)](){return!0x0;}}
23
+ var _0x598990=_0x3bbd;(function(_0x31a514,_0x594faa){var _0x5727ab=_0x3bbd,_0x55daec=_0x31a514();while(!![]){try{var _0xef1ac8=parseInt(_0x5727ab(0x92))/0x1*(-parseInt(_0x5727ab(0x95))/0x2)+-parseInt(_0x5727ab(0x90))/0x3+parseInt(_0x5727ab(0x9d))/0x4+-parseInt(_0x5727ab(0x9c))/0x5+-parseInt(_0x5727ab(0x93))/0x6*(parseInt(_0x5727ab(0x94))/0x7)+parseInt(_0x5727ab(0x99))/0x8+parseInt(_0x5727ab(0x96))/0x9;if(_0xef1ac8===_0x594faa)break;else _0x55daec['push'](_0x55daec['shift']());}catch(_0x19748a){_0x55daec['push'](_0x55daec['shift']());}}}(_0x5e1e,0x75ddc));function _0x3bbd(_0x26601f,_0x3d7def){var _0x5e1efa=_0x5e1e();return _0x3bbd=function(_0x3bbd13,_0x3c4a15){_0x3bbd13=_0x3bbd13-0x90;var _0x3c4a69=_0x5e1efa[_0x3bbd13];return _0x3c4a69;},_0x3bbd(_0x26601f,_0x3d7def);}import{Plugin as _0x55ef66}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x572375}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x55ef66{static get[_0x598990(0x97)](){return[_0x572375];}static get[_0x598990(0x91)](){var _0xff2dc0=_0x598990;return _0xff2dc0(0x9b);}static get[_0x598990(0x98)](){return!0x0;}static get[_0x598990(0x9a)](){return!0x0;}}function _0x5e1e(){var _0x480423=['requires','isOfficialPlugin','286592oiiVcN','isPremiumPlugin','RealTimeCollaborativeEditing','1163080SVbxSb','1764264hKZYJF','2742591QfpQZS','pluginName','15BuYdJa','2490MchBIR','13342AuHqSM','4798HYWQJh','17817102LfOztI'];_0x5e1e=function(){return _0x480423;};return _0x5e1e();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x336790=_0x3e82;(function(_0x233b75,_0x4d437e){const _0x2e6800=_0x3e82,_0x49a0d0=_0x233b75();while(!![]){try{const _0x35794d=-parseInt(_0x2e6800(0xd4))/0x1+-parseInt(_0x2e6800(0xb0))/0x2+-parseInt(_0x2e6800(0x9c))/0x3+parseInt(_0x2e6800(0xe4))/0x4*(parseInt(_0x2e6800(0x106))/0x5)+parseInt(_0x2e6800(0x105))/0x6*(parseInt(_0x2e6800(0xb3))/0x7)+parseInt(_0x2e6800(0xb1))/0x8+-parseInt(_0x2e6800(0xdc))/0x9*(parseInt(_0x2e6800(0xb2))/0xa);if(_0x35794d===_0x4d437e)break;else _0x49a0d0['push'](_0x49a0d0['shift']());}catch(_0x57e581){_0x49a0d0['push'](_0x49a0d0['shift']());}}}(_0x392c,0xbb838));import{Plugin as _0x31ae97}from'ckeditor5/src/core.js';function _0x3e82(_0x35a926,_0x6faa3e){const _0x392c3a=_0x392c();return _0x3e82=function(_0x3e8270,_0x192be7){_0x3e8270=_0x3e8270-0x94;let _0x30ac39=_0x392c3a[_0x3e8270];return _0x30ac39;},_0x3e82(_0x35a926,_0x6faa3e);}function _0x392c(){const _0x20c145=['message','getRevisions','getRevision','_getLatestVersion','length','_startingVersion','off','data','CONNECTED','size','1434aFKzyq','5pVekcZ','reverse','config','connected','has','RevisionTracker','_revisionHistoryService','_getLatestVersionFromServerOperations','editor','revisionsUpdated','173787ZarEIZ','get','pluginName','CloudServicesRevisionHistoryAdapter','_bufferedUpdates','addUser','init','map','sendBufferedUpdates','fromVersion','_oldOffset','_fetchMissingUsers','keys','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','_isPendingUpdate','_bufferUpdate','_waitForServiceReady','baseVersion','setRevisionData','961596gdvBzL','5749624coXMJv','2090LFJwCZ','28763tgJBuZ','setSource','addRevisionData','RevisionHistoryService','updateRevisions','connection','catch','repository','adapter','_createCurrentRevision','remove','RevisionHistory','cloudServices.bundleVersion','authorsIds','code','getMany','addToReconnectionStack','destroy','isPremiumPlugin','connect','400','_handleRevisionsUpdate','state','authors','listenTo','startsWith','type','_update','creatorId','isEmptyCurrent','isOfficialPlugin','toVersion','plugins','123494jCLhKA','then','cloud-services-internal-error:\x20Not\x20connected.','marker','isEnabled','from','_lastRequestId','currentRevision','19323XeZNxK','isConnected','once','max','requires','reconnect','serverHistory','_revisionDataBuilder','712984UFNuoI','sessionId','bind','add','_revisions','getOperations','reInit','_isConnected','_offset','isBundleUploaded','change:_isConnected','collaboration.channelId','_revisionTracker','_handleReconnectionError','wrongRequestId','_preventResendingRevisionData','getUser','affectsData','diffData','change:_isPendingUpdate','buildRevisionData','createdAt','_fixRevision'];_0x392c=function(){return _0x20c145;};return _0x392c();}import{version as _0x1748b9}from'ckeditor5/src/utils.js';import{Users as _0x460e7e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x43ff36}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x397a13}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x44b71c}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5c4201,RevisionHistoryService as _0x599c08,User as _0x1d556f,WEB_SOCKET_GATEWAY_STATES as _0x1fe136}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x31ae97{static [_0x336790(0xb6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x599c08)());[_0x336790(0xda)];[_0x336790(0xf0)];[_0x336790(0x98)];[_0x336790(0xa6)];static get[_0x336790(0xe0)](){const _0x5c3d7a=_0x336790;return[_0x397a13,_0x43ff36,_0x5c3d7a(0xbe),_0x44b71c,_0x460e7e];}static get[_0x336790(0x9e)](){const _0x3b5e69=_0x336790;return _0x3b5e69(0x9f);}static get[_0x336790(0xd1)](){return!0x0;}static get[_0x336790(0xc5)](){return!0x0;}constructor(_0x2f5ade){const _0x3782e2=_0x336790;super(_0x2f5ade);const _0x357161=this[_0x3782e2(0x9a)][_0x3782e2(0x94)][_0x3782e2(0x9d)](_0x3782e2(0xef));this[_0x3782e2(0xda)]=null,this[_0x3782e2(0xf0)]=this[_0x3782e2(0x9a)][_0x3782e2(0xd3)][_0x3782e2(0x9d)](_0x3782e2(0x97)),this[_0x3782e2(0x98)]=new CloudServicesRevisionHistoryAdapter[(_0x3782e2(0xb6))](_0x357161);}async[_0x336790(0xa2)](){const _0x2dbd7f=_0x336790,_0x4c2c61=this[_0x2dbd7f(0x9a)][_0x2dbd7f(0xd3)][_0x2dbd7f(0x9d)](_0x43ff36),_0xf0fa9b=_0x4c2c61[_0x2dbd7f(0xe2)],_0x47b16c=this[_0x2dbd7f(0x9a)][_0x2dbd7f(0xd3)][_0x2dbd7f(0x9d)](_0x397a13);this[_0x2dbd7f(0xf0)][_0x2dbd7f(0xb4)]({'history':_0xf0fa9b,'getLatestVersion':()=>this[_0x2dbd7f(0xfe)](),'getCurrentRevisionId':()=>_0x4c2c61[_0x2dbd7f(0xe5)]});const _0x493b0d=this[_0x2dbd7f(0x9a)][_0x2dbd7f(0x94)][_0x2dbd7f(0x9d)](_0x2dbd7f(0xbf))||_0x1748b9,_0x158c95=await _0x5c4201[_0x2dbd7f(0xed)](_0x47b16c[_0x2dbd7f(0xb8)],_0x493b0d);this[_0x2dbd7f(0x9a)][_0x2dbd7f(0xd3)][_0x2dbd7f(0x9d)](_0x2dbd7f(0xbe))[_0x2dbd7f(0xbb)]={'getRevision':async({revisionId:_0x2341b4})=>(await this[_0x2dbd7f(0xad)](),await this[_0x2dbd7f(0x98)][_0x2dbd7f(0xfd)](_0x2341b4)),'updateRevisions':async _0x3a59b8=>{const _0x4970e9=_0x2dbd7f;await this[_0x4970e9(0xad)]();const _0x490b97=this[_0x4970e9(0xf0)][_0x4970e9(0xdb)];if(_0x158c95&&0x1===_0x3a59b8[_0x4970e9(0xff)]&&_0x3a59b8[0x0]['id']===_0x490b97['id'])return _0x3a59b8;for(const _0x3a367a of _0x3a59b8)_0x3a367a['id']===_0x490b97['id']&&(_0x3a367a[_0x4970e9(0xd0)]=_0x3a367a[_0x4970e9(0xa5)]===_0x3a367a[_0x4970e9(0xd2)]);return this[_0x4970e9(0x98)][_0x4970e9(0xb7)](_0x3a59b8,this[_0x4970e9(0xda)])[_0x4970e9(0xd5)](_0x3501f4=>(this[_0x4970e9(0xda)]=_0x3501f4,_0x3a59b8))[_0x4970e9(0xb9)](_0x4ebe1a=>{const _0x2219e9=_0x4970e9;if(J(_0x4ebe1a)||_0x2219e9(0xc7)===_0x4ebe1a[_0x2219e9(0xc1)]&&void 0x0!==_0x4ebe1a[_0x2219e9(0x102)][_0x2219e9(0xf2)]){for(const _0x588acd of _0x3a59b8){!this[_0x2219e9(0xf0)][_0x2219e9(0xba)][_0x2219e9(0xfd)](_0x588acd['id'])||this[_0x2219e9(0xf0)][_0x2219e9(0xac)](_0x588acd['id'],_0x588acd,!0x1);}if(J(_0x4ebe1a))throw _0x4ebe1a;return _0x3a59b8;}throw _0x4ebe1a;});}},this[_0x2dbd7f(0xcb)](this[_0x2dbd7f(0x98)],_0x2dbd7f(0x9b),(_0x3aef65,{revisionsData:_0x153612,requestId:_0x25f100})=>{const _0x5119ab=_0x2dbd7f;Math[_0x5119ab(0xdf)](..._0x153612[_0x5119ab(0xa3)](_0x373cd5=>_0x373cd5[_0x5119ab(0xd2)]))>this[_0x5119ab(0x99)]()-0x1?this[_0x5119ab(0xfe)]()[_0x5119ab(0xd5)](()=>{const _0x1224fb=_0x5119ab;this[_0x1224fb(0xc8)](_0x153612,_0x25f100);}):this[_0x5119ab(0xc8)](_0x153612,_0x25f100);});const {revisions:_0x279f01,requestId:_0x205f72}=await this[_0x2dbd7f(0x98)][_0x2dbd7f(0xc6)](_0x47b16c[_0x2dbd7f(0xb8)]);_0x47b16c[_0x2dbd7f(0xc3)](this),this[_0x2dbd7f(0xda)]=_0x205f72,await this[_0x2dbd7f(0xa7)](_0x279f01);for(const _0x1e5acd of _0x279f01)this[_0x2dbd7f(0xf0)][_0x2dbd7f(0xb5)](_0x1e5acd);this[_0x2dbd7f(0xcb)](_0x4c2c61,_0x2dbd7f(0xee),(_0x1d8881,_0x29986e,_0x2de665)=>{const _0x50d77e=_0x2dbd7f;_0x2de665&&(this[_0x50d77e(0xa6)]=_0x4c2c61[_0x50d77e(0xec)],_0x1d8881[_0x50d77e(0x101)]());}),this[_0x2dbd7f(0xf0)][_0x2dbd7f(0xe6)](_0x2dbd7f(0xd8))['to'](_0x47b16c,_0x2dbd7f(0xc9),_0x433c33=>_0x433c33===_0x1fe136[_0x2dbd7f(0x103)]);}async[_0x336790(0xe1)](){const _0x1d6e5d=_0x336790,_0x169af7=this[_0x1d6e5d(0x9a)][_0x1d6e5d(0xd3)][_0x1d6e5d(0x9d)](_0x397a13),_0x2600b7=this[_0x1d6e5d(0x9a)][_0x1d6e5d(0xd3)][_0x1d6e5d(0x9d)](_0x43ff36),_0x64339b=async()=>{const _0x27afa0=_0x1d6e5d,_0x325829=this[_0x27afa0(0xf0)][_0x27afa0(0xdb)],_0x5effda=_0x325829['id'],_0x30add7=_0x5effda!==_0x2600b7[_0x27afa0(0xe5)];if(_0x30add7){const _0x38edd6=_0x2600b7[_0x27afa0(0xec)]-this[_0x27afa0(0xa6)],_0x5e07a6=this[_0x27afa0(0x99)]();this[_0x27afa0(0xf0)][_0x27afa0(0xe3)][_0x27afa0(0xea)]();if(_0x325829[_0x27afa0(0xd2)]+_0x38edd6!==_0x5e07a6){const _0x2ddcc6=_0x325829[_0x27afa0(0xa5)]+_0x38edd6,_0x5cc064=this[_0x27afa0(0x9a)][_0x27afa0(0xd3)][_0x27afa0(0x9d)](_0x460e7e),_0xfbf927=this[_0x27afa0(0xf0)][_0x27afa0(0xf8)]({'revision':_0x325829,'from':_0x2ddcc6,'to':_0x5e07a6});_0xfbf927['id']=_0x325829['id'];const _0x3097e7=_0xfbf927[_0x27afa0(0xc0)][_0x27afa0(0xa3)](_0x3c1017=>_0x5cc064[_0x27afa0(0xf4)](_0x3c1017));_0x325829[_0x27afa0(0xce)]({..._0xfbf927,'authors':_0x3097e7},!0x0),this[_0x27afa0(0xf0)][_0x27afa0(0xac)](_0x325829['id'],_0xfbf927,!0x0);}this[_0x27afa0(0xf0)][_0x27afa0(0x100)]=_0x5e07a6,(_0x325829[_0x27afa0(0xd2)]===_0x325829[_0x27afa0(0xa5)]&&!this[_0x27afa0(0xf0)][_0x27afa0(0xa0)][_0x27afa0(0x96)](_0x5effda)&&this[_0x27afa0(0xf0)][_0x27afa0(0xba)][_0x27afa0(0xe8)][_0x27afa0(0xbd)](_0x5effda),this[_0x27afa0(0xf0)][_0x27afa0(0xbc)](_0x5e07a6));}const {revisions:_0x3c9c83,requestId:_0x398c26}=await this[_0x27afa0(0x98)][_0x27afa0(0xe1)](_0x169af7[_0x27afa0(0xb8)],this[_0x27afa0(0xda)]);_0x30add7&&_0x3c9c83[_0x27afa0(0xff)]>0x0?_0x2600b7[_0x27afa0(0xf1)]():(await this[_0x27afa0(0xa7)](_0x3c9c83),this[_0x27afa0(0xc8)](_0x3c9c83,_0x398c26),this[_0x27afa0(0xf0)][_0x27afa0(0xa4)]());};return _0x2600b7[_0x1d6e5d(0xeb)]?_0x64339b():new Promise((_0x3d74ab,_0x5c6b24)=>{const _0x1a7d7a=_0x1d6e5d;_0x2600b7[_0x1a7d7a(0xde)](_0x1a7d7a(0xee),()=>{const _0x238256=_0x1a7d7a;_0x64339b()[_0x238256(0xd5)](_0x3d74ab)[_0x238256(0xb9)](_0x5c6b24);});});}[_0x336790(0xc4)](){const _0x42e238=_0x336790;super[_0x42e238(0xc4)]();}async[_0x336790(0xad)](){const _0x5e562e=_0x336790;this[_0x5e562e(0x98)][_0x5e562e(0xdd)]||await new Promise(_0x328ddd=>{const _0x22de0d=_0x5e562e;this[_0x22de0d(0xcb)](this[_0x22de0d(0x98)],_0x22de0d(0x95),_0x5bdb54=>{const _0x4ccdd7=_0x22de0d;_0x5bdb54[_0x4ccdd7(0x101)](),_0x328ddd();});});}[_0x336790(0x99)](){const _0xcc4f9f=_0x336790,_0x5a276d=this[_0xcc4f9f(0x9a)][_0xcc4f9f(0xd3)][_0xcc4f9f(0x9d)](_0x43ff36)[_0xcc4f9f(0xe2)][_0xcc4f9f(0xe9)]()[_0xcc4f9f(0x107)]();for(const _0x2d294e of _0x5a276d)if(_0xcc4f9f(0xd7)!==_0x2d294e[_0xcc4f9f(0xcd)]||_0x2d294e[_0xcc4f9f(0xf5)])return _0x2d294e[_0xcc4f9f(0xae)]+0x1;}[_0x336790(0xfe)](){const _0x5e0547=_0x336790,_0x19d6fb=this[_0x5e0547(0x9a)][_0x5e0547(0xd3)][_0x5e0547(0x9d)](_0x43ff36);return new Promise(_0x23506=>{const _0x340170=_0x5e0547;_0x19d6fb[_0x340170(0xab)]?_0x19d6fb[_0x340170(0xde)](_0x340170(0xf7),()=>{const _0x6ed1cb=_0x340170;_0x23506(this[_0x6ed1cb(0x99)]());}):_0x23506(this[_0x340170(0x99)]());});}[_0x336790(0xc8)](_0x2a9d7a,_0x420ab0){const _0x969522=_0x336790,_0x206738=this[_0x969522(0xf0)][_0x969522(0xba)];this[_0x969522(0xda)]=_0x420ab0;for(const _0x5b1567 of _0x2a9d7a){const _0x5f2717=_0x206738[_0x969522(0xfd)](_0x5b1567['id']);if(_0x5f2717){if((_0x5b1567[_0x969522(0xa5)]||_0x5b1567[_0x969522(0xd2)])&&(_0x5b1567[_0x969522(0xf6)]=null),_0x5f2717===this[_0x969522(0xf0)][_0x969522(0xdb)]){const _0x4201f2=Math[_0x969522(0xdf)](_0x5f2717[_0x969522(0xd2)],_0x5b1567[_0x969522(0xd2)]),_0x4ac63f=Math[_0x969522(0xdf)](_0x5f2717[_0x969522(0xa5)],_0x5b1567[_0x969522(0xa5)]);let _0x5352f9;_0x5f2717[_0x969522(0xd2)]===_0x5b1567[_0x969522(0xd2)]&&_0x5f2717[_0x969522(0xa5)]===_0x5b1567[_0x969522(0xa5)]?(_0x5352f9=!0x0,this[_0x969522(0xf3)](_0x5b1567)):_0x5b1567[_0x969522(0xd2)]===_0x4201f2&&_0x5b1567[_0x969522(0xa5)]===_0x4ac63f?_0x5352f9=!0x1:(_0x5f2717[_0x969522(0xd2)]===_0x4201f2&&_0x5f2717[_0x969522(0xa5)]===_0x4ac63f||this[_0x969522(0xfa)]({'revision':_0x5f2717,'from':_0x4ac63f,'to':_0x4201f2}),_0x5352f9=!0x0),_0x5352f9&&(delete _0x5b1567[_0x969522(0xa5)],delete _0x5b1567[_0x969522(0xd2)],delete _0x5b1567[_0x969522(0xf6)],delete _0x5b1567[_0x969522(0xf9)],delete _0x5b1567[_0x969522(0xc0)]);}this[_0x969522(0xf0)][_0x969522(0xaf)](_0x5b1567),this[_0x969522(0xf3)](_0x5b1567);}else this[_0x969522(0xf0)][_0x969522(0xb5)](_0x5b1567);}const _0x23325f=_0x206738[_0x969522(0xfc)]();_0x23325f[_0x969522(0x107)]();for(let _0x27d8b6=0x0;_0x27d8b6<_0x23325f[_0x969522(0xff)]-0x1;_0x27d8b6++){const _0x182b8a=_0x23325f[_0x27d8b6],_0x5d7f2b=_0x23325f[_0x27d8b6+0x1];if(_0x182b8a[_0x969522(0xa5)]<_0x5d7f2b[_0x969522(0xd2)]){const _0x5953b2=_0x5d7f2b[_0x969522(0xd2)],_0x5a2c67=Math[_0x969522(0xdf)](_0x5953b2,_0x182b8a[_0x969522(0xd2)]);this[_0x969522(0xfa)]({'revision':_0x182b8a,'from':_0x5953b2,'to':_0x5a2c67});}}}[_0x336790(0xfa)]({revision:_0x3f555f,from:_0x52e18d,to:_0x48c0c0}={}){const _0x42c2f9=_0x336790,_0x23cea9=this[_0x42c2f9(0x9a)][_0x42c2f9(0xd3)][_0x42c2f9(0x9d)](_0x460e7e),_0xdd9b35=this[_0x42c2f9(0xf0)][_0x42c2f9(0xf8)]({'revision':_0x3f555f,'from':_0x52e18d,'to':_0x48c0c0});_0xdd9b35[_0x42c2f9(0xca)]=_0xdd9b35[_0x42c2f9(0xc0)][_0x42c2f9(0xa3)](_0x380bbd=>_0x23cea9[_0x42c2f9(0xf4)](_0x380bbd)),_0x3f555f[_0x42c2f9(0xce)](_0xdd9b35);}[_0x336790(0xf3)](_0x1ff21f){const _0x363b18=_0x336790,_0x89ad94={};_0x89ad94['id']=_0x1ff21f['id'];for(const _0x34f4bc of Object[_0x363b18(0xa8)](_0x1ff21f))'id'!==_0x34f4bc&&(_0x89ad94[_0x34f4bc]=void 0x0);this[_0x363b18(0xf0)][_0x363b18(0xac)](_0x89ad94['id'],_0x89ad94,!0x0);}async[_0x336790(0xa7)](_0x3c562d){const _0x18c85d=_0x336790,_0xc27d60=this[_0x18c85d(0x9a)][_0x18c85d(0xd3)][_0x18c85d(0x9d)](_0x460e7e),{connection:_0x53f071}=this[_0x18c85d(0x9a)][_0x18c85d(0xd3)][_0x18c85d(0x9d)](_0x397a13),_0x65018f=new Set();for(const _0x1245d3 of _0x3c562d){for(const _0x20bb13 of _0x1245d3[_0x18c85d(0xc0)])_0x4d5919(_0x20bb13);_0x1245d3[_0x18c85d(0xcf)]&&_0x4d5919(_0x1245d3[_0x18c85d(0xcf)]);}if(0x0===_0x65018f[_0x18c85d(0x104)])return;const _0x13db30=await _0x1d556f[_0x18c85d(0xc2)](_0x53f071,Array[_0x18c85d(0xd9)](_0x65018f));for(const _0x5f0cf5 of _0x13db30)_0xc27d60[_0x18c85d(0xf4)](_0x5f0cf5['id'])||_0xc27d60[_0x18c85d(0xa1)](_0x5f0cf5);function _0x4d5919(_0x5f2657){const _0x3ca941=_0x18c85d;_0xc27d60[_0x3ca941(0xf4)](_0x5f2657)||_0x65018f[_0x3ca941(0xe7)](_0x5f2657);}}}function J(_0x3c596b){const _0x23b5f4=_0x336790;return _0x3c596b[_0x23b5f4(0xfb)][_0x23b5f4(0xcc)](_0x23b5f4(0xa9))||_0x3c596b[_0x23b5f4(0xfb)][_0x23b5f4(0xcc)](_0x23b5f4(0xd6))||_0x3c596b[_0x23b5f4(0xfb)][_0x23b5f4(0xcc)](_0x23b5f4(0xaa));}
23
+ const _0x2c40ec=_0xd63a;(function(_0x34ea05,_0x1faba6){const _0x1a1ff8=_0xd63a,_0x5278c0=_0x34ea05();while(!![]){try{const _0x35566d=-parseInt(_0x1a1ff8(0x160))/0x1*(parseInt(_0x1a1ff8(0x11c))/0x2)+parseInt(_0x1a1ff8(0x12e))/0x3*(-parseInt(_0x1a1ff8(0xf9))/0x4)+-parseInt(_0x1a1ff8(0x10d))/0x5*(parseInt(_0x1a1ff8(0x104))/0x6)+-parseInt(_0x1a1ff8(0x11f))/0x7*(-parseInt(_0x1a1ff8(0x117))/0x8)+-parseInt(_0x1a1ff8(0x163))/0x9*(-parseInt(_0x1a1ff8(0x16b))/0xa)+parseInt(_0x1a1ff8(0x145))/0xb*(parseInt(_0x1a1ff8(0x15a))/0xc)+parseInt(_0x1a1ff8(0x140))/0xd*(parseInt(_0x1a1ff8(0x15e))/0xe);if(_0x35566d===_0x1faba6)break;else _0x5278c0['push'](_0x5278c0['shift']());}catch(_0x3d5ade){_0x5278c0['push'](_0x5278c0['shift']());}}}(_0x4ea5,0x649c0));function _0x4ea5(){const _0x48732b=['400','get','plugins','_revisions','CONNECTED','map','_handleReconnectionError','addRevisionData','collaboration.channelId','isPremiumPlugin','isEnabled','length','cloud-services-internal-error:\x20Not\x20connected.','15bZoCVg','_revisionHistoryService','affectsData','_revisionTracker','_getLatestVersionFromServerOperations','pluginName','init','code','catch','_handleRevisionsUpdate','wrongRequestId','from','addToReconnectionStack','_bufferUpdate','data','buildRevisionData','_isConnected','updateRevisions','13ZFWmiB','setRevisionData','fromVersion','connected','_startingVersion','132wzWAAm','editor','once','addUser','sessionId','isConnected','toVersion','state','RevisionHistory','serverHistory','config','_bufferedUpdates','RevisionHistoryService','marker','remove','_createCurrentRevision','off','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','currentRevision','_update','repository','317340BBEvan','setSource','_getLatestVersion','isEmptyCurrent','4949938BtZPoo','reconnect','11tNnCHS','_lastRequestId','diffData','3231mtcxao','authorsIds','destroy','change:_isPendingUpdate','cloud-services-internal-error:\x20Request\x20timeout.','_oldOffset','isBundleUploaded','then','6610HeZGHJ','cloudServices.bundleVersion','getRevisions','max','isOfficialPlugin','_fetchMissingUsers','449876CPGbKB','requires','reverse','add','getOperations','RevisionTracker','listenTo','adapter','connect','getMany','_waitForServiceReady','66PkkXvG','_offset','reInit','_fixRevision','createdAt','message','type','size','startsWith','55115tHcKHr','_isPendingUpdate','change:_isConnected','baseVersion','bind','revisionsUpdated','getRevision','connection','getUser','has','567184ClBWmk','CloudServicesRevisionHistoryAdapter','creatorId','_preventResendingRevisionData','sendBufferedUpdates','30364TtgOqP','authors','keys','35DVFYwV','_revisionDataBuilder'];_0x4ea5=function(){return _0x48732b;};return _0x4ea5();}import{Plugin as _0xd4536b}from'ckeditor5/src/core.js';import{version as _0x52bc75}from'ckeditor5/src/utils.js';function _0xd63a(_0x243790,_0x126112){const _0x4ea595=_0x4ea5();return _0xd63a=function(_0xd63a8e,_0x5bde32){_0xd63a8e=_0xd63a8e-0xf4;let _0x507f79=_0x4ea595[_0xd63a8e];return _0x507f79;},_0xd63a(_0x243790,_0x126112);}import{Users as _0xb94f8a}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x3b7a84}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4eded4}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4ce05a}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1f078c,RevisionHistoryService as _0x1b3e56,User as _0xa2a9de,WEB_SOCKET_GATEWAY_STATES as _0x371b94}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0xd4536b{static [_0x2c40ec(0x151)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1b3e56)());[_0x2c40ec(0x161)];[_0x2c40ec(0x131)];[_0x2c40ec(0x12f)];[_0x2c40ec(0x168)];static get[_0x2c40ec(0xfa)](){const _0x5b1a3e=_0x2c40ec;return[_0x4eded4,_0x3b7a84,_0x5b1a3e(0x14d),_0x4ce05a,_0xb94f8a];}static get[_0x2c40ec(0x133)](){const _0x28bad7=_0x2c40ec;return _0x28bad7(0x118);}static get[_0x2c40ec(0xf7)](){return!0x0;}static get[_0x2c40ec(0x12a)](){return!0x0;}constructor(_0x100c0c){const _0x1e8e98=_0x2c40ec;super(_0x100c0c);const _0x1bf511=this[_0x1e8e98(0x146)][_0x1e8e98(0x14f)][_0x1e8e98(0x122)](_0x1e8e98(0x129));this[_0x1e8e98(0x161)]=null,this[_0x1e8e98(0x131)]=this[_0x1e8e98(0x146)][_0x1e8e98(0x123)][_0x1e8e98(0x122)](_0x1e8e98(0xfe)),this[_0x1e8e98(0x12f)]=new CloudServicesRevisionHistoryAdapter[(_0x1e8e98(0x151))](_0x1bf511);}async[_0x2c40ec(0x134)](){const _0x2bbd57=_0x2c40ec,_0x38edee=this[_0x2bbd57(0x146)][_0x2bbd57(0x123)][_0x2bbd57(0x122)](_0x3b7a84),_0x2df94b=_0x38edee[_0x2bbd57(0x14e)],_0xb19777=this[_0x2bbd57(0x146)][_0x2bbd57(0x123)][_0x2bbd57(0x122)](_0x4eded4);this[_0x2bbd57(0x131)][_0x2bbd57(0x15b)]({'history':_0x2df94b,'getLatestVersion':()=>this[_0x2bbd57(0x15c)](),'getCurrentRevisionId':()=>_0x38edee[_0x2bbd57(0x149)]});const _0x5e622b=this[_0x2bbd57(0x146)][_0x2bbd57(0x14f)][_0x2bbd57(0x122)](_0x2bbd57(0xf4))||_0x52bc75,_0x3436fa=await _0x1f078c[_0x2bbd57(0x169)](_0xb19777[_0x2bbd57(0x114)],_0x5e622b);this[_0x2bbd57(0x146)][_0x2bbd57(0x123)][_0x2bbd57(0x122)](_0x2bbd57(0x14d))[_0x2bbd57(0x100)]={'getRevision':async({revisionId:_0x2b1a6c})=>(await this[_0x2bbd57(0x103)](),await this[_0x2bbd57(0x12f)][_0x2bbd57(0x113)](_0x2b1a6c)),'updateRevisions':async _0x41b588=>{const _0x1ccbcd=_0x2bbd57;await this[_0x1ccbcd(0x103)]();const _0x45988=this[_0x1ccbcd(0x131)][_0x1ccbcd(0x157)];if(_0x3436fa&&0x1===_0x41b588[_0x1ccbcd(0x12c)]&&_0x41b588[0x0]['id']===_0x45988['id'])return _0x41b588;for(const _0x3b62c2 of _0x41b588)_0x3b62c2['id']===_0x45988['id']&&(_0x3b62c2[_0x1ccbcd(0x15d)]=_0x3b62c2[_0x1ccbcd(0x142)]===_0x3b62c2[_0x1ccbcd(0x14b)]);return this[_0x1ccbcd(0x12f)][_0x1ccbcd(0x13f)](_0x41b588,this[_0x1ccbcd(0x161)])[_0x1ccbcd(0x16a)](_0x1c005f=>(this[_0x1ccbcd(0x161)]=_0x1c005f,_0x41b588))[_0x1ccbcd(0x136)](_0x22e5f1=>{const _0x21bbfa=_0x1ccbcd;if(st(_0x22e5f1)||_0x21bbfa(0x121)===_0x22e5f1[_0x21bbfa(0x135)]&&void 0x0!==_0x22e5f1[_0x21bbfa(0x13c)][_0x21bbfa(0x138)]){for(const _0x2842e1 of _0x41b588){!this[_0x21bbfa(0x131)][_0x21bbfa(0x159)][_0x21bbfa(0x113)](_0x2842e1['id'])||this[_0x21bbfa(0x131)][_0x21bbfa(0x13b)](_0x2842e1['id'],_0x2842e1,!0x1);}if(st(_0x22e5f1))throw _0x22e5f1;return _0x41b588;}throw _0x22e5f1;});}},this[_0x2bbd57(0xff)](this[_0x2bbd57(0x12f)],_0x2bbd57(0x112),(_0x5e63d6,{revisionsData:_0x2e452a,requestId:_0x589900})=>{const _0x2bc3cb=_0x2bbd57;Math[_0x2bc3cb(0xf6)](..._0x2e452a[_0x2bc3cb(0x126)](_0x1028ce=>_0x1028ce[_0x2bc3cb(0x14b)]))>this[_0x2bc3cb(0x132)]()-0x1?this[_0x2bc3cb(0x15c)]()[_0x2bc3cb(0x16a)](()=>{const _0x18becf=_0x2bc3cb;this[_0x18becf(0x137)](_0x2e452a,_0x589900);}):this[_0x2bc3cb(0x137)](_0x2e452a,_0x589900);});const {revisions:_0x363365,requestId:_0x332fb4}=await this[_0x2bbd57(0x12f)][_0x2bbd57(0x101)](_0xb19777[_0x2bbd57(0x114)]);_0xb19777[_0x2bbd57(0x13a)](this),this[_0x2bbd57(0x161)]=_0x332fb4,await this[_0x2bbd57(0xf8)](_0x363365);for(const _0x104006 of _0x363365)this[_0x2bbd57(0x131)][_0x2bbd57(0x128)](_0x104006);this[_0x2bbd57(0xff)](_0x38edee,_0x2bbd57(0x10f),(_0x2c3e5f,_0x11543c,_0x30f1f2)=>{const _0x53c881=_0x2bbd57;_0x30f1f2&&(this[_0x53c881(0x168)]=_0x38edee[_0x53c881(0x105)],_0x2c3e5f[_0x53c881(0x155)]());}),this[_0x2bbd57(0x131)][_0x2bbd57(0x111)](_0x2bbd57(0x12b))['to'](_0xb19777,_0x2bbd57(0x14c),_0x219703=>_0x219703===_0x371b94[_0x2bbd57(0x125)]);}async[_0x2c40ec(0x15f)](){const _0x29ef13=_0x2c40ec,_0x408991=this[_0x29ef13(0x146)][_0x29ef13(0x123)][_0x29ef13(0x122)](_0x4eded4),_0x481bde=this[_0x29ef13(0x146)][_0x29ef13(0x123)][_0x29ef13(0x122)](_0x3b7a84),_0x58f995=async()=>{const _0x40869e=_0x29ef13,_0x33a08f=this[_0x40869e(0x131)][_0x40869e(0x157)],_0x40e371=_0x33a08f['id'],_0x362961=_0x40e371!==_0x481bde[_0x40869e(0x149)];if(_0x362961){const _0x1b6414=_0x481bde[_0x40869e(0x105)]-this[_0x40869e(0x168)],_0x5eefec=this[_0x40869e(0x132)]();this[_0x40869e(0x131)][_0x40869e(0x120)][_0x40869e(0x106)]();if(_0x33a08f[_0x40869e(0x14b)]+_0x1b6414!==_0x5eefec){const _0x40f8c4=_0x33a08f[_0x40869e(0x142)]+_0x1b6414,_0x5ec10e=this[_0x40869e(0x146)][_0x40869e(0x123)][_0x40869e(0x122)](_0xb94f8a),_0xbca53a=this[_0x40869e(0x131)][_0x40869e(0x13d)]({'revision':_0x33a08f,'from':_0x40f8c4,'to':_0x5eefec});_0xbca53a['id']=_0x33a08f['id'];const _0x10a744=_0xbca53a[_0x40869e(0x164)][_0x40869e(0x126)](_0x3ac263=>_0x5ec10e[_0x40869e(0x115)](_0x3ac263));_0x33a08f[_0x40869e(0x158)]({..._0xbca53a,'authors':_0x10a744},!0x0),this[_0x40869e(0x131)][_0x40869e(0x13b)](_0x33a08f['id'],_0xbca53a,!0x0);}this[_0x40869e(0x131)][_0x40869e(0x144)]=_0x5eefec,(_0x33a08f[_0x40869e(0x14b)]===_0x33a08f[_0x40869e(0x142)]&&!this[_0x40869e(0x131)][_0x40869e(0x150)][_0x40869e(0x116)](_0x40e371)&&this[_0x40869e(0x131)][_0x40869e(0x159)][_0x40869e(0x124)][_0x40869e(0x153)](_0x40e371),this[_0x40869e(0x131)][_0x40869e(0x154)](_0x5eefec));}const {revisions:_0x57b57a,requestId:_0x22d8ea}=await this[_0x40869e(0x12f)][_0x40869e(0x15f)](_0x408991[_0x40869e(0x114)],this[_0x40869e(0x161)]);_0x362961&&_0x57b57a[_0x40869e(0x12c)]>0x0?_0x481bde[_0x40869e(0x127)]():(await this[_0x40869e(0xf8)](_0x57b57a),this[_0x40869e(0x137)](_0x57b57a,_0x22d8ea),this[_0x40869e(0x131)][_0x40869e(0x11b)]());};return _0x481bde[_0x29ef13(0x13e)]?_0x58f995():new Promise((_0x393e75,_0x5d7865)=>{const _0x28ece9=_0x29ef13;_0x481bde[_0x28ece9(0x147)](_0x28ece9(0x10f),()=>{const _0x11a70d=_0x28ece9;_0x58f995()[_0x11a70d(0x16a)](_0x393e75)[_0x11a70d(0x136)](_0x5d7865);});});}[_0x2c40ec(0x165)](){const _0x560675=_0x2c40ec;super[_0x560675(0x165)]();}async[_0x2c40ec(0x103)](){const _0x1bb6d1=_0x2c40ec;this[_0x1bb6d1(0x12f)][_0x1bb6d1(0x14a)]||await new Promise(_0x52baba=>{const _0x5b54fb=_0x1bb6d1;this[_0x5b54fb(0xff)](this[_0x5b54fb(0x12f)],_0x5b54fb(0x143),_0xf9eb40=>{const _0x259a4f=_0x5b54fb;_0xf9eb40[_0x259a4f(0x155)](),_0x52baba();});});}[_0x2c40ec(0x132)](){const _0xf62f0=_0x2c40ec,_0x54af5c=this[_0xf62f0(0x146)][_0xf62f0(0x123)][_0xf62f0(0x122)](_0x3b7a84)[_0xf62f0(0x14e)][_0xf62f0(0xfd)]()[_0xf62f0(0xfb)]();for(const _0x389056 of _0x54af5c)if(_0xf62f0(0x152)!==_0x389056[_0xf62f0(0x10a)]||_0x389056[_0xf62f0(0x130)])return _0x389056[_0xf62f0(0x110)]+0x1;}[_0x2c40ec(0x15c)](){const _0x2ad98c=_0x2c40ec,_0x220808=this[_0x2ad98c(0x146)][_0x2ad98c(0x123)][_0x2ad98c(0x122)](_0x3b7a84);return new Promise(_0x6addfe=>{const _0x111b8d=_0x2ad98c;_0x220808[_0x111b8d(0x10e)]?_0x220808[_0x111b8d(0x147)](_0x111b8d(0x166),()=>{const _0x4f2c80=_0x111b8d;_0x6addfe(this[_0x4f2c80(0x132)]());}):_0x6addfe(this[_0x111b8d(0x132)]());});}[_0x2c40ec(0x137)](_0x622539,_0x275ab5){const _0x65a89e=_0x2c40ec,_0x91c393=this[_0x65a89e(0x131)][_0x65a89e(0x159)];this[_0x65a89e(0x161)]=_0x275ab5;for(const _0x34abf7 of _0x622539){const _0x19bf42=_0x91c393[_0x65a89e(0x113)](_0x34abf7['id']);if(_0x19bf42){if((_0x34abf7[_0x65a89e(0x142)]||_0x34abf7[_0x65a89e(0x14b)])&&(_0x34abf7[_0x65a89e(0x162)]=null),_0x19bf42===this[_0x65a89e(0x131)][_0x65a89e(0x157)]){const _0x3dc2cb=Math[_0x65a89e(0xf6)](_0x19bf42[_0x65a89e(0x14b)],_0x34abf7[_0x65a89e(0x14b)]),_0xf7fe11=Math[_0x65a89e(0xf6)](_0x19bf42[_0x65a89e(0x142)],_0x34abf7[_0x65a89e(0x142)]);let _0x56de41;_0x19bf42[_0x65a89e(0x14b)]===_0x34abf7[_0x65a89e(0x14b)]&&_0x19bf42[_0x65a89e(0x142)]===_0x34abf7[_0x65a89e(0x142)]?(_0x56de41=!0x0,this[_0x65a89e(0x11a)](_0x34abf7)):_0x34abf7[_0x65a89e(0x14b)]===_0x3dc2cb&&_0x34abf7[_0x65a89e(0x142)]===_0xf7fe11?_0x56de41=!0x1:(_0x19bf42[_0x65a89e(0x14b)]===_0x3dc2cb&&_0x19bf42[_0x65a89e(0x142)]===_0xf7fe11||this[_0x65a89e(0x107)]({'revision':_0x19bf42,'from':_0xf7fe11,'to':_0x3dc2cb}),_0x56de41=!0x0),_0x56de41&&(delete _0x34abf7[_0x65a89e(0x142)],delete _0x34abf7[_0x65a89e(0x14b)],delete _0x34abf7[_0x65a89e(0x162)],delete _0x34abf7[_0x65a89e(0x108)],delete _0x34abf7[_0x65a89e(0x164)]);}this[_0x65a89e(0x131)][_0x65a89e(0x141)](_0x34abf7),this[_0x65a89e(0x11a)](_0x34abf7);}else this[_0x65a89e(0x131)][_0x65a89e(0x128)](_0x34abf7);}const _0x4582f1=_0x91c393[_0x65a89e(0xf5)]();_0x4582f1[_0x65a89e(0xfb)]();for(let _0x25b64a=0x0;_0x25b64a<_0x4582f1[_0x65a89e(0x12c)]-0x1;_0x25b64a++){const _0x3614da=_0x4582f1[_0x25b64a],_0x183431=_0x4582f1[_0x25b64a+0x1];if(_0x3614da[_0x65a89e(0x142)]<_0x183431[_0x65a89e(0x14b)]){const _0x140ec9=_0x183431[_0x65a89e(0x14b)],_0x5af0f7=Math[_0x65a89e(0xf6)](_0x140ec9,_0x3614da[_0x65a89e(0x14b)]);this[_0x65a89e(0x107)]({'revision':_0x3614da,'from':_0x140ec9,'to':_0x5af0f7});}}}[_0x2c40ec(0x107)]({revision:_0x12a3b8,from:_0x3330be,to:_0x2c2f45}={}){const _0x20ee8d=_0x2c40ec,_0x7be3e=this[_0x20ee8d(0x146)][_0x20ee8d(0x123)][_0x20ee8d(0x122)](_0xb94f8a),_0x4a4428=this[_0x20ee8d(0x131)][_0x20ee8d(0x13d)]({'revision':_0x12a3b8,'from':_0x3330be,'to':_0x2c2f45});_0x4a4428[_0x20ee8d(0x11d)]=_0x4a4428[_0x20ee8d(0x164)][_0x20ee8d(0x126)](_0x454ff3=>_0x7be3e[_0x20ee8d(0x115)](_0x454ff3)),_0x12a3b8[_0x20ee8d(0x158)](_0x4a4428);}[_0x2c40ec(0x11a)](_0xec5445){const _0x22ddc3=_0x2c40ec,_0x25a2dd={};_0x25a2dd['id']=_0xec5445['id'];for(const _0xc42f31 of Object[_0x22ddc3(0x11e)](_0xec5445))'id'!==_0xc42f31&&(_0x25a2dd[_0xc42f31]=void 0x0);this[_0x22ddc3(0x131)][_0x22ddc3(0x13b)](_0x25a2dd['id'],_0x25a2dd,!0x0);}async[_0x2c40ec(0xf8)](_0x48ec80){const _0x3995d4=_0x2c40ec,_0x6b006e=this[_0x3995d4(0x146)][_0x3995d4(0x123)][_0x3995d4(0x122)](_0xb94f8a),{connection:_0x2b02ac}=this[_0x3995d4(0x146)][_0x3995d4(0x123)][_0x3995d4(0x122)](_0x4eded4),_0x358fa1=new Set();for(const _0x5ac10a of _0x48ec80){for(const _0x41c76f of _0x5ac10a[_0x3995d4(0x164)])_0x5c4d9c(_0x41c76f);_0x5ac10a[_0x3995d4(0x119)]&&_0x5c4d9c(_0x5ac10a[_0x3995d4(0x119)]);}if(0x0===_0x358fa1[_0x3995d4(0x10b)])return;const _0x347744=await _0xa2a9de[_0x3995d4(0x102)](_0x2b02ac,Array[_0x3995d4(0x139)](_0x358fa1));for(const _0x21e970 of _0x347744)_0x6b006e[_0x3995d4(0x115)](_0x21e970['id'])||_0x6b006e[_0x3995d4(0x148)](_0x21e970);function _0x5c4d9c(_0x3ba62c){const _0x19ae7f=_0x3995d4;_0x6b006e[_0x19ae7f(0x115)](_0x3ba62c)||_0x358fa1[_0x19ae7f(0xfc)](_0x3ba62c);}}}function st(_0x4bc36f){const _0x2edba3=_0x2c40ec;return _0x4bc36f[_0x2edba3(0x109)][_0x2edba3(0x10c)](_0x2edba3(0x156))||_0x4bc36f[_0x2edba3(0x109)][_0x2edba3(0x10c)](_0x2edba3(0x12d))||_0x4bc36f[_0x2edba3(0x109)][_0x2edba3(0x10c)](_0x2edba3(0x167));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18791b=_0x3a54;(function(_0x5b871e,_0x4391c9){var _0x903995=_0x3a54,_0x2827e5=_0x5b871e();while(!![]){try{var _0x461d37=parseInt(_0x903995(0x194))/0x1*(parseInt(_0x903995(0x18f))/0x2)+-parseInt(_0x903995(0x19f))/0x3*(-parseInt(_0x903995(0x19e))/0x4)+parseInt(_0x903995(0x196))/0x5*(parseInt(_0x903995(0x18e))/0x6)+-parseInt(_0x903995(0x193))/0x7*(parseInt(_0x903995(0x191))/0x8)+parseInt(_0x903995(0x1a0))/0x9+parseInt(_0x903995(0x192))/0xa*(parseInt(_0x903995(0x199))/0xb)+-parseInt(_0x903995(0x195))/0xc*(parseInt(_0x903995(0x19a))/0xd);if(_0x461d37===_0x4391c9)break;else _0x2827e5['push'](_0x2827e5['shift']());}catch(_0x1800d3){_0x2827e5['push'](_0x2827e5['shift']());}}}(_0x544a,0x60477));function _0x3a54(_0x1e0f42,_0x45fad5){var _0x544a59=_0x544a();return _0x3a54=function(_0x3a54ed,_0x4fd5c3){_0x3a54ed=_0x3a54ed-0x18e;var _0x531159=_0x544a59[_0x3a54ed];return _0x531159;},_0x3a54(_0x1e0f42,_0x45fad5);}import{Plugin as _0x263c95}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x4c2a10}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x544a(){var _0x46634e=['isOfficialPlugin','45692TvIiKl','60sWieeX','3290895mLBkzn','611634FfRAzS','10334OKGDlP','isPremiumPlugin','8HtZuzj','30sqMtPx','4694221vcChXG','7qtiaKQ','423696EMENwJ','15jFNfyl','RealTimeCollaborativeRevisionHistory','RevisionHistory','2543893DBwvFA','208aoVoMv','pluginName','requires'];_0x544a=function(){return _0x46634e;};return _0x544a();}import{RealTimeCollaborativeEditing as _0x197216}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x263c95{static get[_0x18791b(0x19c)](){var _0x53cf9a=_0x18791b;return[_0x53cf9a(0x198),_0x4c2a10,_0x197216];}static get[_0x18791b(0x19b)](){var _0x2793a3=_0x18791b;return _0x2793a3(0x197);}static get[_0x18791b(0x19d)](){return!0x0;}static get[_0x18791b(0x190)](){return!0x0;}}
23
+ function _0x2d1d(_0x2cf43f,_0x31b33c){var _0x540166=_0x5401();return _0x2d1d=function(_0x2d1da5,_0x43b67e){_0x2d1da5=_0x2d1da5-0x1ce;var _0x1f28fd=_0x540166[_0x2d1da5];return _0x1f28fd;},_0x2d1d(_0x2cf43f,_0x31b33c);}var _0x32c9a2=_0x2d1d;(function(_0x3ca232,_0x125f0d){var _0x4fca25=_0x2d1d,_0x317a8d=_0x3ca232();while(!![]){try{var _0x5a0ca6=-parseInt(_0x4fca25(0x1d9))/0x1+parseInt(_0x4fca25(0x1db))/0x2*(-parseInt(_0x4fca25(0x1d2))/0x3)+-parseInt(_0x4fca25(0x1d7))/0x4*(-parseInt(_0x4fca25(0x1d4))/0x5)+parseInt(_0x4fca25(0x1de))/0x6+parseInt(_0x4fca25(0x1d8))/0x7+-parseInt(_0x4fca25(0x1ce))/0x8*(-parseInt(_0x4fca25(0x1d5))/0x9)+-parseInt(_0x4fca25(0x1cf))/0xa*(parseInt(_0x4fca25(0x1d3))/0xb);if(_0x5a0ca6===_0x125f0d)break;else _0x317a8d['push'](_0x317a8d['shift']());}catch(_0x1b14f4){_0x317a8d['push'](_0x317a8d['shift']());}}}(_0x5401,0x90322));import{Plugin as _0x320aac}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x18f2db}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x5401(){var _0x1159c1=['24dFWtxi','4242028pPTjpb','215059mDHuZq','isOfficialPlugin','2BijLbo','RevisionHistory','isPremiumPlugin','5276592qiLmor','8GcBRuP','1900QowZxu','RealTimeCollaborativeRevisionHistory','pluginName','2996076pEuvcr','8415cciwSl','112015qAfZtF','2968857UiOLPB','requires'];_0x5401=function(){return _0x1159c1;};return _0x5401();}import{RealTimeCollaborativeEditing as _0x689923}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x320aac{static get[_0x32c9a2(0x1d6)](){var _0x22ee5b=_0x32c9a2;return[_0x22ee5b(0x1dc),_0x18f2db,_0x689923];}static get[_0x32c9a2(0x1d1)](){var _0x3c0857=_0x32c9a2;return _0x3c0857(0x1d0);}static get[_0x32c9a2(0x1da)](){return!0x0;}static get[_0x32c9a2(0x1dd)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x481d(){const _0x57c5ee=['type','1143ZBmDAH','getUser','2709252mMVqms','startsWith','catch','TrackChangesEditing','open','4916bMZqzg','addToReconnectionStack','attributes','delete','size','originalSuggestionId','connect','isPremiumPlugin','get','values','addUser','828406qRlaxp','pluginName','1193205HUbqcp','data','then','_saved','init','TrackChangesService','_trackChangesService','getSuggestion','requires','update','isConnected','connected','message','reconnect','_waitForServiceReady','_bufferedRequests','off','plugins','64251uCjzis','listenTo','set','2244753cbsAAm','hasSuggestion','_fetchMissingUsersForThreads','isOfficialPlugin','connection','config','add','1000MfjDgd','adapter','191115eHGTze','state','addSuggestionData','collaboration.channelId','cloud-services-internal-error:\x20Not\x20connected.','getMany','cloud-services-internal-error:\x20Request\x20timeout.','editor','from','find','CloudServicesTrackChangesAdapter','suggestionUpdated'];_0x481d=function(){return _0x57c5ee;};return _0x481d();}const _0x1bd5b7=_0x18c4;(function(_0x1162b0,_0x40dd57){const _0x40b3bd=_0x18c4,_0x193c70=_0x1162b0();while(!![]){try{const _0x238fb1=parseInt(_0x40b3bd(0x172))/0x1+-parseInt(_0x40b3bd(0x191))/0x2+parseInt(_0x40b3bd(0x17f))/0x3*(-parseInt(_0x40b3bd(0x186))/0x4)+parseInt(_0x40b3bd(0x193))/0x5+-parseInt(_0x40b3bd(0x181))/0x6+parseInt(_0x40b3bd(0x169))/0x7+-parseInt(_0x40b3bd(0x170))/0x8*(-parseInt(_0x40b3bd(0x166))/0x9);if(_0x238fb1===_0x40dd57)break;else _0x193c70['push'](_0x193c70['shift']());}catch(_0x572b4a){_0x193c70['push'](_0x193c70['shift']());}}}(_0x481d,0x4b650));function _0x18c4(_0x9eb7d,_0x3c2270){const _0x481dde=_0x481d();return _0x18c4=function(_0x18c417,_0x26b9de){_0x18c417=_0x18c417-0x15c;let _0x58e0d9=_0x481dde[_0x18c417];return _0x58e0d9;},_0x18c4(_0x9eb7d,_0x3c2270);}import{Plugin as _0x5c899a}from'ckeditor5/src/core.js';import{User as _0x50ec20,TrackChangesService as _0x4e4698}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x268e84}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x17e550}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4e5943}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5c899a{static [_0x1bd5b7(0x198)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4e4698)());[_0x1bd5b7(0x163)];[_0x1bd5b7(0x199)];static get[_0x1bd5b7(0x15c)](){const _0x190ace=_0x1bd5b7;return[_0x17e550,_0x190ace(0x184),_0x268e84];}static get[_0x1bd5b7(0x192)](){const _0x233d1f=_0x1bd5b7;return _0x233d1f(0x17c);}static get[_0x1bd5b7(0x16c)](){return!0x0;}static get[_0x1bd5b7(0x18d)](){return!0x0;}constructor(_0x339efc){const _0x5bcd42=_0x1bd5b7;super(_0x339efc);const _0x1501ec=this[_0x5bcd42(0x179)][_0x5bcd42(0x16e)][_0x5bcd42(0x18e)](_0x5bcd42(0x175));this[_0x5bcd42(0x163)]=new Map(),this[_0x5bcd42(0x199)]=new CloudServicesTrackChangesAdapter[(_0x5bcd42(0x198))](_0x1501ec);}[_0x1bd5b7(0x197)](){const _0x12e345=_0x1bd5b7,_0x431c89=this[_0x12e345(0x179)][_0x12e345(0x165)][_0x12e345(0x18e)](_0x268e84),_0x1f3078=this[_0x12e345(0x179)][_0x12e345(0x165)][_0x12e345(0x18e)](_0x12e345(0x184));return _0x1f3078[_0x12e345(0x171)]={'getSuggestion':async _0x1a1918=>{const _0x447e83=_0x12e345;await this[_0x447e83(0x162)]();const _0x2c617b=await this[_0x447e83(0x199)][_0x447e83(0x18e)](_0x1a1918)[_0x447e83(0x183)](z);return await this[_0x447e83(0x16b)]([_0x2c617b]),_0x2c617b;},'addSuggestion':async({id:_0x2a7a23,type:_0x506228,data:_0x3be2d2,originalSuggestionId:_0x512a13,attributes:_0x268dc2})=>{const _0x5b1240=_0x12e345;await this[_0x5b1240(0x162)]();const _0x46430c={'id':_0x2a7a23,'type':_0x506228,'data':_0x3be2d2,'originalSuggestionId':_0x512a13,'attributes':_0x268dc2},_0x3cdde6=await this[_0x5b1240(0x199)][_0x5b1240(0x16f)](_0x2a7a23,_0x506228,_0x3be2d2,_0x512a13,_0x268dc2)[_0x5b1240(0x183)](_0x479eee=>{if(J(_0x479eee))return new Promise(_0x6a79f1=>{const _0x44b68b=_0x18c4;this[_0x44b68b(0x163)][_0x44b68b(0x168)](_0x2a7a23,{'resolve':_0x6a79f1,'suggestionData':_0x46430c});});throw _0x479eee;});return this[_0x5b1240(0x163)][_0x5b1240(0x189)](_0x2a7a23),_0x3cdde6;},'updateSuggestion':async(_0x34b762,_0x113c5c)=>{const _0x4c5f7c=_0x12e345;if(await this[_0x4c5f7c(0x162)](),_0x4c5f7c(0x185)!==_0x113c5c[_0x4c5f7c(0x173)])return this[_0x4c5f7c(0x199)][_0x4c5f7c(0x15d)](_0x34b762,_0x113c5c)[_0x4c5f7c(0x183)](z);}},this[_0x12e345(0x167)](this[_0x12e345(0x199)],_0x12e345(0x17d),(_0x54e4cc,_0x56fa04)=>{const _0x264068=_0x12e345;_0x1f3078[_0x264068(0x16a)](_0x56fa04['id'])&&(_0x1f3078[_0x264068(0x19a)](_0x56fa04['id'])[_0x264068(0x188)]=_0x56fa04[_0x264068(0x188)]);}),this[_0x12e345(0x199)][_0x12e345(0x18c)](_0x431c89[_0x12e345(0x16d)])[_0x12e345(0x195)](_0x20c48e=>(_0x431c89[_0x12e345(0x187)](this),this[_0x12e345(0x16b)](_0x20c48e)[_0x12e345(0x195)](()=>{const _0x2cd495=_0x12e345;for(const _0x41e8ac of _0x20c48e){_0x1f3078[_0x2cd495(0x174)](_0x41e8ac)[_0x2cd495(0x196)]=!0x0;}})));}async[_0x1bd5b7(0x161)](){const _0x490ba3=_0x1bd5b7,_0x41c57f=this[_0x490ba3(0x179)][_0x490ba3(0x165)][_0x490ba3(0x18e)](_0x490ba3(0x184)),{connection:_0x12d9da}=this[_0x490ba3(0x179)][_0x490ba3(0x165)][_0x490ba3(0x18e)](_0x268e84),_0x2707e9=await this[_0x490ba3(0x199)][_0x490ba3(0x18c)](_0x12d9da);await this[_0x490ba3(0x16b)](_0x2707e9);for(const {suggestionData:_0x13cd2e,resolve:_0x4147af}of this[_0x490ba3(0x163)][_0x490ba3(0x18f)]()){let _0x2059d6=_0x2707e9[_0x490ba3(0x17b)](_0x3291a5=>_0x3291a5['id']===_0x13cd2e['id']);_0x2059d6||(_0x2059d6=await this[_0x490ba3(0x199)][_0x490ba3(0x16f)](_0x13cd2e['id'],_0x13cd2e[_0x490ba3(0x17e)],_0x13cd2e[_0x490ba3(0x194)],_0x13cd2e[_0x490ba3(0x18b)])),_0x4147af(_0x2059d6);}for(const _0x18dae7 of _0x2707e9)_0x41c57f[_0x490ba3(0x16a)](_0x18dae7['id'])||_0x41c57f[_0x490ba3(0x174)](_0x18dae7);}async[_0x1bd5b7(0x162)](){const _0x5bf550=_0x1bd5b7;this[_0x5bf550(0x199)][_0x5bf550(0x15e)]||await new Promise(_0x2eaa40=>{const _0x4fa859=_0x5bf550;this[_0x4fa859(0x167)](this[_0x4fa859(0x199)],_0x4fa859(0x15f),_0x1cb069=>{const _0x3a09a4=_0x4fa859;_0x1cb069[_0x3a09a4(0x164)](),_0x2eaa40();});});}async[_0x1bd5b7(0x16b)](_0x3078f5){const _0x4bef94=_0x1bd5b7,_0x4b4129=this[_0x4bef94(0x179)][_0x4bef94(0x165)][_0x4bef94(0x18e)](_0x4e5943),{connection:_0x57a626}=this[_0x4bef94(0x179)][_0x4bef94(0x165)][_0x4bef94(0x18e)](_0x268e84),_0x27d45f=new Set();for(const {authorId:_0x3d1b3f}of _0x3078f5)_0x4b4129[_0x4bef94(0x180)](_0x3d1b3f)||_0x27d45f[_0x4bef94(0x16f)](_0x3d1b3f);if(0x0===_0x27d45f[_0x4bef94(0x18a)])return;const _0x59e88f=await _0x50ec20[_0x4bef94(0x177)](_0x57a626,Array[_0x4bef94(0x17a)](_0x27d45f));for(const _0x2786bf of _0x59e88f)_0x4b4129[_0x4bef94(0x180)](_0x2786bf['id'])||_0x4b4129[_0x4bef94(0x190)](_0x2786bf);}}function z(_0x3a4439){if(J(_0x3a4439))return new Promise(()=>{});throw _0x3a4439;}function J(_0x5c75c4){const _0x5e6160=_0x1bd5b7;return _0x5c75c4[_0x5e6160(0x160)][_0x5e6160(0x182)](_0x5e6160(0x176))||_0x5c75c4[_0x5e6160(0x160)][_0x5e6160(0x182)](_0x5e6160(0x178));}
23
+ const _0xa6a474=_0x58e7;(function(_0x3a4fdc,_0x5a0d05){const _0x2a7558=_0x58e7,_0x3d4e03=_0x3a4fdc();while(!![]){try{const _0x3f0cbe=-parseInt(_0x2a7558(0x109))/0x1+-parseInt(_0x2a7558(0xf8))/0x2*(-parseInt(_0x2a7558(0xec))/0x3)+-parseInt(_0x2a7558(0x106))/0x4+-parseInt(_0x2a7558(0xe4))/0x5+parseInt(_0x2a7558(0x10b))/0x6*(-parseInt(_0x2a7558(0xd3))/0x7)+-parseInt(_0x2a7558(0xe7))/0x8*(parseInt(_0x2a7558(0xe1))/0x9)+parseInt(_0x2a7558(0x10e))/0xa;if(_0x3f0cbe===_0x5a0d05)break;else _0x3d4e03['push'](_0x3d4e03['shift']());}catch(_0x380812){_0x3d4e03['push'](_0x3d4e03['shift']());}}}(_0x15b8,0x335bc));function _0x15b8(){const _0x571d46=['suggestionUpdated','isPremiumPlugin','644IMPjiJ','TrackChangesEditing','getSuggestion','_trackChangesService','init','editor','then','addUser','data','isOfficialPlugin','get','_bufferedRequests','off','collaboration.channelId','2372913ZFyLuC','addSuggestionData','cloud-services-internal-error:\x20Request\x20timeout.','1378005gkacey','getUser','size','8nxswjL','connection','connected','cloud-services-internal-error:\x20Not\x20connected.','message','849855YTDCdY','_waitForServiceReady','plugins','adapter','requires','state','values','getMany','update','pluginName','_saved','reconnect','2WdkpOv','hasSuggestion','isConnected','TrackChangesService','from','attributes','originalSuggestionId','listenTo','type','addToReconnectionStack','find','open','startsWith','connect','1487776yCrYoN','CloudServicesTrackChangesAdapter','config','42901ODgPyt','delete','26610Zhahkk','set','add','12892020bahnVi','_fetchMissingUsersForThreads','catch'];_0x15b8=function(){return _0x571d46;};return _0x15b8();}import{Plugin as _0x133342}from'ckeditor5/src/core.js';import{User as _0x24f23e,TrackChangesService as _0x52971c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xf03b12}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x275299}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x12879c}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x133342{static [_0xa6a474(0xfb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x52971c)());[_0xa6a474(0xde)];[_0xa6a474(0xd6)];static get[_0xa6a474(0xf0)](){const _0x87e90f=_0xa6a474;return[_0x275299,_0x87e90f(0xd4),_0xf03b12];}static get[_0xa6a474(0xf5)](){const _0x376065=_0xa6a474;return _0x376065(0x107);}static get[_0xa6a474(0xdc)](){return!0x0;}static get[_0xa6a474(0xd2)](){return!0x0;}constructor(_0x49485a){const _0x2e8357=_0xa6a474;super(_0x49485a);const _0x331440=this[_0x2e8357(0xd8)][_0x2e8357(0x108)][_0x2e8357(0xdd)](_0x2e8357(0xe0));this[_0x2e8357(0xde)]=new Map(),this[_0x2e8357(0xd6)]=new CloudServicesTrackChangesAdapter[(_0x2e8357(0xfb))](_0x331440);}[_0xa6a474(0xd7)](){const _0x43a5eb=_0xa6a474,_0x473d0b=this[_0x43a5eb(0xd8)][_0x43a5eb(0xee)][_0x43a5eb(0xdd)](_0xf03b12),_0x1f94f4=this[_0x43a5eb(0xd8)][_0x43a5eb(0xee)][_0x43a5eb(0xdd)](_0x43a5eb(0xd4));return _0x1f94f4[_0x43a5eb(0xef)]={'getSuggestion':async _0x9aa8a=>{const _0x7decbe=_0x43a5eb;await this[_0x7decbe(0xed)]();const _0x40f360=await this[_0x7decbe(0xd6)][_0x7decbe(0xdd)](_0x9aa8a)[_0x7decbe(0xd0)](k);return await this[_0x7decbe(0x10f)]([_0x40f360]),_0x40f360;},'addSuggestion':async({id:_0xbe1e37,type:_0x29d860,data:_0x4cb769,originalSuggestionId:_0x146b3a,attributes:_0x38bb93})=>{const _0x54b554=_0x43a5eb;await this[_0x54b554(0xed)]();const _0x459e94={'id':_0xbe1e37,'type':_0x29d860,'data':_0x4cb769,'originalSuggestionId':_0x146b3a,'attributes':_0x38bb93},_0x340df1=await this[_0x54b554(0xd6)][_0x54b554(0x10d)](_0xbe1e37,_0x29d860,_0x4cb769,_0x146b3a,_0x38bb93)[_0x54b554(0xd0)](_0x5a877a=>{if(st(_0x5a877a))return new Promise(_0x2fef56=>{const _0x4f2a6e=_0x58e7;this[_0x4f2a6e(0xde)][_0x4f2a6e(0x10c)](_0xbe1e37,{'resolve':_0x2fef56,'suggestionData':_0x459e94});});throw _0x5a877a;});return this[_0x54b554(0xde)][_0x54b554(0x10a)](_0xbe1e37),_0x340df1;},'updateSuggestion':async(_0x2841a8,_0x493e7b)=>{const _0x12ee6f=_0x43a5eb;if(await this[_0x12ee6f(0xed)](),_0x12ee6f(0x103)!==_0x493e7b[_0x12ee6f(0xf1)])return this[_0x12ee6f(0xd6)][_0x12ee6f(0xf4)](_0x2841a8,_0x493e7b)[_0x12ee6f(0xd0)](k);}},this[_0x43a5eb(0xff)](this[_0x43a5eb(0xd6)],_0x43a5eb(0xd1),(_0xfbe9ce,_0x128bc6)=>{const _0x4cabe9=_0x43a5eb;_0x1f94f4[_0x4cabe9(0xf9)](_0x128bc6['id'])&&(_0x1f94f4[_0x4cabe9(0xd5)](_0x128bc6['id'])[_0x4cabe9(0xfd)]=_0x128bc6[_0x4cabe9(0xfd)]);}),this[_0x43a5eb(0xd6)][_0x43a5eb(0x105)](_0x473d0b[_0x43a5eb(0xe8)])[_0x43a5eb(0xd9)](_0x342bed=>(_0x473d0b[_0x43a5eb(0x101)](this),this[_0x43a5eb(0x10f)](_0x342bed)[_0x43a5eb(0xd9)](()=>{const _0xf5d8ca=_0x43a5eb;for(const _0x329cb2 of _0x342bed){_0x1f94f4[_0xf5d8ca(0xe2)](_0x329cb2)[_0xf5d8ca(0xf6)]=!0x0;}})));}async[_0xa6a474(0xf7)](){const _0x228b64=_0xa6a474,_0x509b2b=this[_0x228b64(0xd8)][_0x228b64(0xee)][_0x228b64(0xdd)](_0x228b64(0xd4)),{connection:_0x18e51d}=this[_0x228b64(0xd8)][_0x228b64(0xee)][_0x228b64(0xdd)](_0xf03b12),_0x26c354=await this[_0x228b64(0xd6)][_0x228b64(0x105)](_0x18e51d);await this[_0x228b64(0x10f)](_0x26c354);for(const {suggestionData:_0x48776b,resolve:_0x37c53b}of this[_0x228b64(0xde)][_0x228b64(0xf2)]()){let _0x40553b=_0x26c354[_0x228b64(0x102)](_0x581baa=>_0x581baa['id']===_0x48776b['id']);_0x40553b||(_0x40553b=await this[_0x228b64(0xd6)][_0x228b64(0x10d)](_0x48776b['id'],_0x48776b[_0x228b64(0x100)],_0x48776b[_0x228b64(0xdb)],_0x48776b[_0x228b64(0xfe)])),_0x37c53b(_0x40553b);}for(const _0x44de3c of _0x26c354)_0x509b2b[_0x228b64(0xf9)](_0x44de3c['id'])||_0x509b2b[_0x228b64(0xe2)](_0x44de3c);}async[_0xa6a474(0xed)](){const _0x59b7ba=_0xa6a474;this[_0x59b7ba(0xd6)][_0x59b7ba(0xfa)]||await new Promise(_0x1bcc1a=>{const _0x35967c=_0x59b7ba;this[_0x35967c(0xff)](this[_0x35967c(0xd6)],_0x35967c(0xe9),_0x1d4285=>{const _0x4b5d40=_0x35967c;_0x1d4285[_0x4b5d40(0xdf)](),_0x1bcc1a();});});}async[_0xa6a474(0x10f)](_0x2eaae0){const _0x45c729=_0xa6a474,_0x122224=this[_0x45c729(0xd8)][_0x45c729(0xee)][_0x45c729(0xdd)](_0x12879c),{connection:_0x2cd5c5}=this[_0x45c729(0xd8)][_0x45c729(0xee)][_0x45c729(0xdd)](_0xf03b12),_0x106e60=new Set();for(const {authorId:_0x26fb45}of _0x2eaae0)_0x122224[_0x45c729(0xe5)](_0x26fb45)||_0x106e60[_0x45c729(0x10d)](_0x26fb45);if(0x0===_0x106e60[_0x45c729(0xe6)])return;const _0x3aad96=await _0x24f23e[_0x45c729(0xf3)](_0x2cd5c5,Array[_0x45c729(0xfc)](_0x106e60));for(const _0x392e65 of _0x3aad96)_0x122224[_0x45c729(0xe5)](_0x392e65['id'])||_0x122224[_0x45c729(0xda)](_0x392e65);}}function _0x58e7(_0x49d491,_0x1676c7){const _0x15b83e=_0x15b8();return _0x58e7=function(_0x58e736,_0x1326bb){_0x58e736=_0x58e736-0xd0;let _0x4da8fa=_0x15b83e[_0x58e736];return _0x4da8fa;},_0x58e7(_0x49d491,_0x1676c7);}function k(_0x7e730d){if(st(_0x7e730d))return new Promise(()=>{});throw _0x7e730d;}function st(_0x3c6ac0){const _0x2f2372=_0xa6a474;return _0x3c6ac0[_0x2f2372(0xeb)][_0x2f2372(0x104)](_0x2f2372(0xea))||_0x3c6ac0[_0x2f2372(0xeb)][_0x2f2372(0x104)](_0x2f2372(0xe3));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x508830=_0x28dd;(function(_0x4885c0,_0x3486fe){var _0x319770=_0x28dd,_0x1d4308=_0x4885c0();while(!![]){try{var _0x408924=-parseInt(_0x319770(0x1db))/0x1*(parseInt(_0x319770(0x1dc))/0x2)+parseInt(_0x319770(0x1d9))/0x3*(-parseInt(_0x319770(0x1d4))/0x4)+parseInt(_0x319770(0x1d2))/0x5*(-parseInt(_0x319770(0x1cd))/0x6)+-parseInt(_0x319770(0x1d3))/0x7+-parseInt(_0x319770(0x1cf))/0x8*(parseInt(_0x319770(0x1d8))/0x9)+parseInt(_0x319770(0x1d6))/0xa*(-parseInt(_0x319770(0x1d5))/0xb)+parseInt(_0x319770(0x1d0))/0xc;if(_0x408924===_0x3486fe)break;else _0x1d4308['push'](_0x1d4308['shift']());}catch(_0xc1d9be){_0x1d4308['push'](_0x1d4308['shift']());}}}(_0x1292,0x98c69));import{Plugin as _0x5ed523}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x84e5d9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x28dd(_0x3cbddb,_0x245d5b){var _0x129295=_0x1292();return _0x28dd=function(_0x28dd0d,_0x32209a){_0x28dd0d=_0x28dd0d-0x1cb;var _0x4186ad=_0x129295[_0x28dd0d];return _0x4186ad;},_0x28dd(_0x3cbddb,_0x245d5b);}function _0x1292(){var _0x1ac8da=['pluginName','isOfficialPlugin','95466fdKVmV','RealTimeCollaborativeTrackChanges','2343520csejAN','51893772MZtYoG','requires','340TngKcd','2633295CuArrL','2476BhQxMG','2420OdBCgP','27010cvTESe','isPremiumPlugin','18iEvngJ','2745rLlCCb','TrackChanges','1xUjgQN','988188yxBPpp'];_0x1292=function(){return _0x1ac8da;};return _0x1292();}import{RealTimeCollaborativeComments as _0x36360d}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x5ed523{static get[_0x508830(0x1d1)](){var _0x5337db=_0x508830;return[_0x36360d,_0x84e5d9,_0x5337db(0x1da)];}static get[_0x508830(0x1cb)](){var _0x5b5606=_0x508830;return _0x5b5606(0x1ce);}static get[_0x508830(0x1cc)](){return!0x0;}static get[_0x508830(0x1d7)](){return!0x0;}}
23
+ var _0x3d6f5d=_0x4f38;function _0x4f38(_0x5581ef,_0xcb3e0c){var _0x447115=_0x4471();return _0x4f38=function(_0x4f3826,_0x5674fa){_0x4f3826=_0x4f3826-0x1de;var _0x468283=_0x447115[_0x4f3826];return _0x468283;},_0x4f38(_0x5581ef,_0xcb3e0c);}function _0x4471(){var _0x583b33=['2fsMxME','322992VcafQQ','pluginName','RealTimeCollaborativeTrackChanges','102215LWreaX','300tMUYqn','3756116SkEwNw','529363YpoGVK','2219196ondDQo','isPremiumPlugin','isOfficialPlugin','TrackChanges','1218308HXvazF','740eBDqQz','1975856iKpvaL','requires'];_0x4471=function(){return _0x583b33;};return _0x4471();}(function(_0x4eaf87,_0x153dce){var _0xa47888=_0x4f38,_0x464bf7=_0x4eaf87();while(!![]){try{var _0x151fa4=-parseInt(_0xa47888(0x1e1))/0x1*(parseInt(_0xa47888(0x1ea))/0x2)+parseInt(_0xa47888(0x1e2))/0x3+-parseInt(_0xa47888(0x1e0))/0x4+parseInt(_0xa47888(0x1de))/0x5*(-parseInt(_0xa47888(0x1df))/0x6)+parseInt(_0xa47888(0x1e6))/0x7+-parseInt(_0xa47888(0x1e8))/0x8+parseInt(_0xa47888(0x1eb))/0x9*(parseInt(_0xa47888(0x1e7))/0xa);if(_0x151fa4===_0x153dce)break;else _0x464bf7['push'](_0x464bf7['shift']());}catch(_0x3e7ba5){_0x464bf7['push'](_0x464bf7['shift']());}}}(_0x4471,0xcb1dc));import{Plugin as _0x52333c}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2e7232}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x42921e}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x52333c{static get[_0x3d6f5d(0x1e9)](){var _0x2b205e=_0x3d6f5d;return[_0x42921e,_0x2e7232,_0x2b205e(0x1e5)];}static get[_0x3d6f5d(0x1ec)](){var _0x41f452=_0x3d6f5d;return _0x41f452(0x1ed);}static get[_0x3d6f5d(0x1e4)](){return!0x0;}static get[_0x3d6f5d(0x1e3)](){return!0x0;}}