@ckeditor/ckeditor5-real-time-collaboration 47.7.5-alpha.0 → 47.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +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 _0x497192=_0x5903;(function(_0x307ad1,_0x486b4c){const _0xaf8440=_0x5903,_0x1a2bef=_0x307ad1();while(!![]){try{const _0x38cdad=-parseInt(_0xaf8440(0xa9))/0x1+parseInt(_0xaf8440(0xb5))/0x2*(-parseInt(_0xaf8440(0x9a))/0x3)+parseInt(_0xaf8440(0xcd))/0x4+parseInt(_0xaf8440(0xc3))/0x5*(parseInt(_0xaf8440(0xd1))/0x6)+parseInt(_0xaf8440(0xd9))/0x7*(-parseInt(_0xaf8440(0x96))/0x8)+-parseInt(_0xaf8440(0xb1))/0x9+parseInt(_0xaf8440(0xd6))/0xa;if(_0x38cdad===_0x486b4c)break;else _0x1a2bef['push'](_0x1a2bef['shift']());}catch(_0x6feca6){_0x1a2bef['push'](_0x1a2bef['shift']());}}}(_0x189e,0x72069));import{ContextPlugin as _0x2ad532}from'ckeditor5/src/core.js';function _0x189e(){const _0x2e5c79=['isInReconnectionStack','isPremiumPlugin','state','config','10264RkHokz','CloudServices','reconnect','initialReconnectionInterval','4749nOnObE','cloudServices.requestTimeout','context','addToReconnectionStack','online','_shouldPluginsReconnect','change:me','websocketgateway-missing-token','offline','Connected\x20users\x20limit\x20exceeded','_domEmitter','DISCONNECTED','pluginName','plugins','init','64730RxZcub','cloudservices-reconnection-error','destroy','connect','disconnect','token','code','connection','6939198HHzhbk','_isBrowserOffline','showWarning','websocketgateway-plugin-already-registered','688GkMmRY','has','CONNECTED','all','bind','delete','get','webSocketUrl','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','catch','_reconnect','constructor','limitExceeded','488260UVICjX','listenTo','WebSocketGateway','add','then','from','stopListening','requires','isOfficialPlugin','set','2602512nRTngI','cloudservices-init','websocketgateway-missing-websocket-url','connected','30hiqFfY','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.','cloudServices.connectionTimeout','_reconnectionStack','function','15218870SvQBUx','CONNECTING','define','4438IRNZdN','real-time-collaboration','error'];_0x189e=function(){return _0x2e5c79;};return _0x189e();}import{DomEmitterMixin as _0x5477d3,CKEditorError as _0x496979}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2f6f2f,WEB_SOCKET_GATEWAY_STATES as _0x338dfe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5903(_0x4ea61d,_0x80eb7e){const _0x189ef0=_0x189e();return _0x5903=function(_0x590354,_0x52cc54){_0x590354=_0x590354-0x92;let _0x4bef63=_0x189ef0[_0x590354];return _0x4bef63;},_0x5903(_0x4ea61d,_0x80eb7e);}import{Notification as _0x120b0b}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x2ad532{static [_0x497192(0xc5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2f6f2f)());static [_0x497192(0x99)]=0x3e8;[_0x497192(0xb0)];[_0x497192(0xd4)];[_0x497192(0x9f)];[_0x497192(0xa4)];static get[_0x497192(0xca)](){const _0x332194=_0x497192;return[_0x332194(0x97),_0x120b0b];}static get[_0x497192(0xa6)](){const _0x5c3a6e=_0x497192;return _0x5c3a6e(0xc5);}static get[_0x497192(0xcb)](){return!0x0;}static get[_0x497192(0x93)](){return!0x0;}constructor(_0x2f818c){const _0x2b27db=_0x497192;super(_0x2f818c),this[_0x2b27db(0xcc)](_0x2b27db(0x94),_0x338dfe[_0x2b27db(0xb7)]),this[_0x2b27db(0xcc)](_0x2b27db(0xb2),!0x1),this[_0x2b27db(0xd4)]=new Set(),this[_0x2b27db(0x9f)]=!0x1,this[_0x2b27db(0xa4)]=new(_0x5477d3())();}[_0x497192(0xa8)](){const _0x3a280f=_0x497192,_0x11c9c6=this[_0x3a280f(0x9c)],_0x54998b=_0x11c9c6[_0x3a280f(0xa7)][_0x3a280f(0xbb)](_0x3a280f(0x97)),_0x559e4f=_0x11c9c6[_0x3a280f(0xa7)][_0x3a280f(0xbb)](_0x120b0b);if(!_0x54998b[_0x3a280f(0xae)])throw new _0x496979(_0x3a280f(0xa1),this);if(!_0x54998b[_0x3a280f(0xbc)])throw new _0x496979(_0x3a280f(0xcf),this);return this[_0x3a280f(0xa4)][_0x3a280f(0xc4)](window,_0x3a280f(0xa2),()=>this[_0x3a280f(0xb2)]=!0x0),this[_0x3a280f(0xa4)][_0x3a280f(0xc4)](window,_0x3a280f(0x9e),()=>this[_0x3a280f(0xb2)]=!0x1),this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xd8)](_0x3a280f(0xd3),0xa),this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xd8)](_0x3a280f(0x9b),0x14),WebSocketGateway[_0x3a280f(0xc5)][_0x3a280f(0xac)](_0x54998b[_0x3a280f(0xae)],_0x54998b[_0x3a280f(0xbc)],{'timeout':0x3e8*this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xbb)](_0x3a280f(0xd3)),'requestTimeout':0x3e8*this[_0x3a280f(0x9c)][_0x3a280f(0x95)][_0x3a280f(0xbb)](_0x3a280f(0x9b))})[_0x3a280f(0xc7)](_0x3af72c=>{const _0x5e5e3c=_0x3a280f;if(this[_0x5e5e3c(0xb0)]=_0x3af72c,this[_0x5e5e3c(0xb9)](_0x5e5e3c(0x94))['to'](_0x3af72c,_0x5e5e3c(0x94),this,_0x5e5e3c(0xb2),(_0x25be8e,_0x423e60)=>(_0x5e5e3c(0xd0)!==_0x25be8e&&(this[_0x5e5e3c(0x9f)]=!0x0),_0x423e60||_0x25be8e!==_0x338dfe[_0x5e5e3c(0xb7)]?_0x338dfe[_0x5e5e3c(0xa5)]:this[_0x5e5e3c(0x94)]==_0x338dfe[_0x5e5e3c(0xa5)]&&this[_0x5e5e3c(0x9f)]?(this[_0x5e5e3c(0x9f)]=!0x1,this[_0x5e5e3c(0xc0)](),_0x338dfe[_0x5e5e3c(0xd7)]):_0x338dfe[_0x5e5e3c(0xb7)])),this[_0x5e5e3c(0xb0)]['on'](_0x5e5e3c(0xdb),(_0x303ecc,_0x4a529d)=>{const _0x4b9bb4=_0x5e5e3c;if(_0x4b9bb4(0xc2)!==_0x4a529d[_0x4b9bb4(0xaf)])throw console[_0x4b9bb4(0xdb)](_0x4a529d),new _0x496979(_0x4b9bb4(0xce),null,{'originalError':_0x4a529d});_0x559e4f[_0x4b9bb4(0xb3)](_0x4b9bb4(0xd2),{'title':_0x4b9bb4(0xa3),'namespace':_0x4b9bb4(0xda)});}),!_0x3af72c['me'])return new Promise(_0x3fbfe7=>_0x3af72c['on'](_0x5e5e3c(0xa0),_0x3fbfe7));})[_0x3a280f(0xbf)](_0x3ffc81=>{const _0x28d86c=_0x3a280f;throw console[_0x28d86c(0xdb)](_0x3ffc81),new _0x496979(_0x28d86c(0xce),null,{'originalError':_0x3ffc81});});}[_0x497192(0x9d)](_0x156571){const _0x124bbe=_0x497192;if(_0x124bbe(0xd5)!=typeof _0x156571[_0x124bbe(0x98)])throw new _0x496979(_0x124bbe(0xbd),this);if(this[_0x124bbe(0x92)](_0x156571))throw new _0x496979(_0x124bbe(0xb4),this,{'name':_0x156571[_0x124bbe(0xc1)][_0x124bbe(0xa6)]});this[_0x124bbe(0xd4)][_0x124bbe(0xc6)](_0x156571);}[_0x497192(0xbe)](_0x2ae699){const _0x2f9523=_0x497192;this[_0x2f9523(0xd4)][_0x2f9523(0xba)](_0x2ae699);}[_0x497192(0x92)](_0x1fd7c5){const _0x3a48ac=_0x497192;return this[_0x3a48ac(0xd4)][_0x3a48ac(0xb6)](_0x1fd7c5);}[_0x497192(0xc0)](){const _0x5addc1=_0x497192;return this[_0x5addc1(0xb0)][_0x5addc1(0x98)]()[_0x5addc1(0xc7)](()=>Promise[_0x5addc1(0xb8)](Array[_0x5addc1(0xc8)](this[_0x5addc1(0xd4)],_0x293085=>_0x293085[_0x5addc1(0x98)]())))[_0x5addc1(0xc7)](()=>this[_0x5addc1(0x94)]=_0x338dfe[_0x5addc1(0xb7)])[_0x5addc1(0xbf)](_0x4bcefc=>{const _0x228394=_0x5addc1;throw console[_0x228394(0xdb)](_0x4bcefc),new _0x496979(_0x228394(0xaa),this[_0x228394(0x9c)]);});}[_0x497192(0xad)](){const _0x25b1c0=_0x497192;this[_0x25b1c0(0xb0)]&&this[_0x25b1c0(0xb0)][_0x25b1c0(0xad)](),this[_0x25b1c0(0x94)]=_0x338dfe[_0x25b1c0(0xa5)],this[_0x25b1c0(0xa4)][_0x25b1c0(0xc9)]();}[_0x497192(0xab)](){const _0x1c6379=_0x497192;this[_0x1c6379(0xad)](),super[_0x1c6379(0xab)]();}}
23
+ const _0x36347a=_0x3ea2;function _0xa472(){const _0x1418bf=['cloudServices.requestTimeout','plugins','showWarning','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.','initialReconnectionInterval','126yiVYIb','16WrGjiD','limitExceeded','CloudServices','websocketgateway-plugin-already-registered','context','change:me','get','config','WebSocketGateway','7111202OoZAbF','offline','real-time-collaboration','CONNECTING','listenTo','define','24zAUJoo','add','websocketgateway-missing-token','has','6149296lrmBVA','state','isInReconnectionStack','isOfficialPlugin','destroy','_isBrowserOffline','36045ekObVY','error','token','207945vVarNb','then','reconnect','44294mgrlMg','_reconnectionStack','code','_reconnect','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','pluginName','set','function','bind','isPremiumPlugin','requires','webSocketUrl','cloudServices.connectionTimeout','addToReconnectionStack','connected','4655080iNHRPw','cloudservices-reconnection-error','stopListening','catch','from','all','constructor','delete','websocketgateway-missing-websocket-url','CONNECTED','_domEmitter','Connected\x20users\x20limit\x20exceeded','cloudservices-init','disconnect','connect','DISCONNECTED','init','online','connection','12369096ANSXKw','_shouldPluginsReconnect'];_0xa472=function(){return _0x1418bf;};return _0xa472();}(function(_0x321ba0,_0x240dc8){const _0x5453c4=_0x3ea2,_0x484186=_0x321ba0();while(!![]){try{const _0x5959e0=parseInt(_0x5453c4(0x16f))/0x1*(-parseInt(_0x5453c4(0x19a))/0x2)+-parseInt(_0x5453c4(0x169))/0x3*(-parseInt(_0x5453c4(0x15f))/0x4)+parseInt(_0x5453c4(0x16c))/0x5*(-parseInt(_0x5453c4(0x199))/0x6)+parseInt(_0x5453c4(0x159))/0x7+-parseInt(_0x5453c4(0x163))/0x8+parseInt(_0x5453c4(0x192))/0x9+parseInt(_0x5453c4(0x17f))/0xa;if(_0x5959e0===_0x240dc8)break;else _0x484186['push'](_0x484186['shift']());}catch(_0x5ca6d7){_0x484186['push'](_0x484186['shift']());}}}(_0xa472,0xe3675));import{ContextPlugin as _0x2b892a}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xce88e7,CKEditorError as _0x3ecb8e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x37adc4,WEB_SOCKET_GATEWAY_STATES as _0x3cece8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x95a03e}from'ckeditor5/src/ui.js';function _0x3ea2(_0x4a848d,_0x249e6b){const _0xa472e9=_0xa472();return _0x3ea2=function(_0x3ea24a,_0x51c105){_0x3ea24a=_0x3ea24a-0x152;let _0x252312=_0xa472e9[_0x3ea24a];return _0x252312;},_0x3ea2(_0x4a848d,_0x249e6b);}export class WebSocketGateway extends _0x2b892a{static [_0x36347a(0x158)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x37adc4)());static [_0x36347a(0x198)]=0x3e8;[_0x36347a(0x191)];[_0x36347a(0x170)];[_0x36347a(0x193)];[_0x36347a(0x189)];static get[_0x36347a(0x17a)](){const _0x355ec4=_0x36347a;return[_0x355ec4(0x152),_0x95a03e];}static get[_0x36347a(0x175)](){const _0x328854=_0x36347a;return _0x328854(0x158);}static get[_0x36347a(0x166)](){return!0x0;}static get[_0x36347a(0x179)](){return!0x0;}constructor(_0x2a7145){const _0x3d39a6=_0x36347a;super(_0x2a7145),this[_0x3d39a6(0x176)](_0x3d39a6(0x164),_0x3cece8[_0x3d39a6(0x188)]),this[_0x3d39a6(0x176)](_0x3d39a6(0x168),!0x1),this[_0x3d39a6(0x170)]=new Set(),this[_0x3d39a6(0x193)]=!0x1,this[_0x3d39a6(0x189)]=new(_0xce88e7())();}[_0x36347a(0x18f)](){const _0x24a5f6=_0x36347a,_0x4c9c5f=this[_0x24a5f6(0x154)],_0x321272=_0x4c9c5f[_0x24a5f6(0x195)][_0x24a5f6(0x156)](_0x24a5f6(0x152)),_0x2a816b=_0x4c9c5f[_0x24a5f6(0x195)][_0x24a5f6(0x156)](_0x95a03e);if(!_0x321272[_0x24a5f6(0x16b)])throw new _0x3ecb8e(_0x24a5f6(0x161),this);if(!_0x321272[_0x24a5f6(0x17b)])throw new _0x3ecb8e(_0x24a5f6(0x187),this);return this[_0x24a5f6(0x189)][_0x24a5f6(0x15d)](window,_0x24a5f6(0x15a),()=>this[_0x24a5f6(0x168)]=!0x0),this[_0x24a5f6(0x189)][_0x24a5f6(0x15d)](window,_0x24a5f6(0x190),()=>this[_0x24a5f6(0x168)]=!0x1),this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x15e)](_0x24a5f6(0x17c),0xa),this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x15e)](_0x24a5f6(0x194),0x14),WebSocketGateway[_0x24a5f6(0x158)][_0x24a5f6(0x18d)](_0x321272[_0x24a5f6(0x16b)],_0x321272[_0x24a5f6(0x17b)],{'timeout':0x3e8*this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x156)](_0x24a5f6(0x17c)),'requestTimeout':0x3e8*this[_0x24a5f6(0x154)][_0x24a5f6(0x157)][_0x24a5f6(0x156)](_0x24a5f6(0x194))})[_0x24a5f6(0x16d)](_0x17477d=>{const _0xbb9f97=_0x24a5f6;if(this[_0xbb9f97(0x191)]=_0x17477d,this[_0xbb9f97(0x178)](_0xbb9f97(0x164))['to'](_0x17477d,_0xbb9f97(0x164),this,_0xbb9f97(0x168),(_0x19c1b0,_0x55fced)=>(_0xbb9f97(0x17e)!==_0x19c1b0&&(this[_0xbb9f97(0x193)]=!0x0),_0x55fced||_0x19c1b0!==_0x3cece8[_0xbb9f97(0x188)]?_0x3cece8[_0xbb9f97(0x18e)]:this[_0xbb9f97(0x164)]==_0x3cece8[_0xbb9f97(0x18e)]&&this[_0xbb9f97(0x193)]?(this[_0xbb9f97(0x193)]=!0x1,this[_0xbb9f97(0x172)](),_0x3cece8[_0xbb9f97(0x15c)]):_0x3cece8[_0xbb9f97(0x188)])),this[_0xbb9f97(0x191)]['on'](_0xbb9f97(0x16a),(_0x4d0bb5,_0x171c8f)=>{const _0x5dca0e=_0xbb9f97;if(_0x5dca0e(0x19b)!==_0x171c8f[_0x5dca0e(0x171)])throw console[_0x5dca0e(0x16a)](_0x171c8f),new _0x3ecb8e(_0x5dca0e(0x18b),null,{'originalError':_0x171c8f});_0x2a816b[_0x5dca0e(0x196)](_0x5dca0e(0x197),{'title':_0x5dca0e(0x18a),'namespace':_0x5dca0e(0x15b)});}),!_0x17477d['me'])return new Promise(_0x48f546=>_0x17477d['on'](_0xbb9f97(0x155),_0x48f546));})[_0x24a5f6(0x182)](_0x5766b4=>{const _0x2f1bee=_0x24a5f6;throw console[_0x2f1bee(0x16a)](_0x5766b4),new _0x3ecb8e(_0x2f1bee(0x18b),null,{'originalError':_0x5766b4});});}[_0x36347a(0x17d)](_0x474d3e){const _0x454e4c=_0x36347a;if(_0x454e4c(0x177)!=typeof _0x474d3e[_0x454e4c(0x16e)])throw new _0x3ecb8e(_0x454e4c(0x173),this);if(this[_0x454e4c(0x165)](_0x474d3e))throw new _0x3ecb8e(_0x454e4c(0x153),this,{'name':_0x474d3e[_0x454e4c(0x185)][_0x454e4c(0x175)]});this[_0x454e4c(0x170)][_0x454e4c(0x160)](_0x474d3e);}[_0x36347a(0x174)](_0x10ded8){const _0x4471ef=_0x36347a;this[_0x4471ef(0x170)][_0x4471ef(0x186)](_0x10ded8);}[_0x36347a(0x165)](_0x1d026a){const _0x417cad=_0x36347a;return this[_0x417cad(0x170)][_0x417cad(0x162)](_0x1d026a);}[_0x36347a(0x172)](){const _0x4521f9=_0x36347a;return this[_0x4521f9(0x191)][_0x4521f9(0x16e)]()[_0x4521f9(0x16d)](()=>Promise[_0x4521f9(0x184)](Array[_0x4521f9(0x183)](this[_0x4521f9(0x170)],_0x2ddd35=>_0x2ddd35[_0x4521f9(0x16e)]())))[_0x4521f9(0x16d)](()=>this[_0x4521f9(0x164)]=_0x3cece8[_0x4521f9(0x188)])[_0x4521f9(0x182)](_0x138275=>{const _0x20cb19=_0x4521f9;throw console[_0x20cb19(0x16a)](_0x138275),new _0x3ecb8e(_0x20cb19(0x180),this[_0x20cb19(0x154)]);});}[_0x36347a(0x18c)](){const _0x28a55e=_0x36347a;this[_0x28a55e(0x191)]&&this[_0x28a55e(0x191)][_0x28a55e(0x18c)](),this[_0x28a55e(0x164)]=_0x3cece8[_0x28a55e(0x18e)],this[_0x28a55e(0x189)][_0x28a55e(0x181)]();}[_0x36347a(0x167)](){const _0xc66437=_0x36347a;this[_0xc66437(0x18c)](),super[_0xc66437(0x167)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ebf3c=_0x30bb;(function(_0x22281f,_0xa905d9){var _0x2d5c40=_0x30bb,_0x253714=_0x22281f();while(!![]){try{var _0x4ba18e=parseInt(_0x2d5c40(0x167))/0x1+parseInt(_0x2d5c40(0x162))/0x2*(parseInt(_0x2d5c40(0x166))/0x3)+-parseInt(_0x2d5c40(0x165))/0x4+-parseInt(_0x2d5c40(0x15a))/0x5+parseInt(_0x2d5c40(0x164))/0x6*(-parseInt(_0x2d5c40(0x15c))/0x7)+parseInt(_0x2d5c40(0x163))/0x8*(parseInt(_0x2d5c40(0x161))/0x9)+parseInt(_0x2d5c40(0x15e))/0xa;if(_0x4ba18e===_0xa905d9)break;else _0x253714['push'](_0x253714['shift']());}catch(_0x1dc404){_0x253714['push'](_0x253714['shift']());}}}(_0x54ba,0xf0c9e));import{Plugin as _0x3969ba}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4680e5}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x30bb(_0x5e980a,_0x9bf78c){var _0x54ba31=_0x54ba();return _0x30bb=function(_0x30bbd8,_0x46066b){_0x30bbd8=_0x30bbd8-0x15a;var _0x253be2=_0x54ba31[_0x30bbd8];return _0x253be2;},_0x30bb(_0x5e980a,_0x9bf78c);}export class RealTimeCollaborativeEditing extends _0x3969ba{static get[_0x3ebf3c(0x168)](){return[_0x4680e5];}static get[_0x3ebf3c(0x15f)](){var _0x5ea42c=_0x3ebf3c;return _0x5ea42c(0x15b);}static get[_0x3ebf3c(0x15d)](){return!0x0;}static get[_0x3ebf3c(0x160)](){return!0x0;}}function _0x54ba(){var _0x29866f=['pluginName','isPremiumPlugin','148491rSVjBj','2uoTfNs','304jyRcKl','41874xDkoXY','2139480UfoxSO','2989626QrimPe','212362BhZHzk','requires','9332815fkHDcW','RealTimeCollaborativeEditing','1197JVBetQ','isOfficialPlugin','27452460oAjoYt'];_0x54ba=function(){return _0x29866f;};return _0x54ba();}
23
+ var _0x3ec992=_0x11d6;function _0x1133(){var _0xa5a88d=['isOfficialPlugin','6mYlUzm','29688hvxyTb','638840hOxqNA','822076LMUDbD','14LongvH','5zUqBmp','1450803YWYzFM','pluginName','1628JNRvLv','RealTimeCollaborativeEditing','352251fNPbSG','requires','22822BCTHqV','110sATuUu','isPremiumPlugin','3215541hSFBau'];_0x1133=function(){return _0xa5a88d;};return _0x1133();}function _0x11d6(_0x1d61c0,_0x3ff89b){var _0x113308=_0x1133();return _0x11d6=function(_0x11d6c4,_0x3746fc){_0x11d6c4=_0x11d6c4-0x179;var _0x43ec3b=_0x113308[_0x11d6c4];return _0x43ec3b;},_0x11d6(_0x1d61c0,_0x3ff89b);}(function(_0x5bd598,_0x10fa18){var _0x5df065=_0x11d6,_0x141ed2=_0x5bd598();while(!![]){try{var _0x40820d=parseInt(_0x5df065(0x180))/0x1*(parseInt(_0x5df065(0x188))/0x2)+-parseInt(_0x5df065(0x182))/0x3+parseInt(_0x5df065(0x17f))/0x4*(parseInt(_0x5df065(0x181))/0x5)+-parseInt(_0x5df065(0x17c))/0x6*(parseInt(_0x5df065(0x17a))/0x7)+parseInt(_0x5df065(0x17e))/0x8+-parseInt(_0x5df065(0x186))/0x9*(-parseInt(_0x5df065(0x189))/0xa)+parseInt(_0x5df065(0x184))/0xb*(parseInt(_0x5df065(0x17d))/0xc);if(_0x40820d===_0x10fa18)break;else _0x141ed2['push'](_0x141ed2['shift']());}catch(_0x5ab8df){_0x141ed2['push'](_0x141ed2['shift']());}}}(_0x1133,0x48f5d));import{Plugin as _0x38bbdd}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x10f045}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x38bbdd{static get[_0x3ec992(0x187)](){return[_0x10f045];}static get[_0x3ec992(0x183)](){var _0x3ded89=_0x3ec992;return _0x3ded89(0x185);}static get[_0x3ec992(0x17b)](){return!0x0;}static get[_0x3ec992(0x179)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x461486=_0x8d13;(function(_0x2cd18d,_0x11b2b1){const _0x40292b=_0x8d13,_0x12f66d=_0x2cd18d();while(!![]){try{const _0x483bb1=-parseInt(_0x40292b(0x1fa))/0x1+-parseInt(_0x40292b(0x196))/0x2+-parseInt(_0x40292b(0x1d4))/0x3+parseInt(_0x40292b(0x1e1))/0x4+-parseInt(_0x40292b(0x1b1))/0x5*(parseInt(_0x40292b(0x1ac))/0x6)+-parseInt(_0x40292b(0x199))/0x7+-parseInt(_0x40292b(0x1bd))/0x8*(-parseInt(_0x40292b(0x1b2))/0x9);if(_0x483bb1===_0x11b2b1)break;else _0x12f66d['push'](_0x12f66d['shift']());}catch(_0x17ac88){_0x12f66d['push'](_0x12f66d['shift']());}}}(_0x1162,0x60d07));import{Plugin as _0x482f07}from'ckeditor5/src/core.js';import{version as _0xe401f1}from'ckeditor5/src/utils.js';import{Users as _0x372c2a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1162(){const _0x47c3d7=['add','_handleRevisionsUpdate','reconnect','_preventResendingRevisionData','collaboration.channelId','getRevision','connect','_update','fromVersion','_fetchMissingUsers','editor','authors','getRevisions','setRevisionData','cloud-services-internal-error:\x20Not\x20connected.','reInit','587814VbDUDe','isOfficialPlugin','get','isEmptyCurrent','400','15vNQlil','9037809DkyhlV','_revisionDataBuilder','state','CloudServicesRevisionHistoryAdapter','map','RevisionHistoryService','remove','_revisionTracker','affectsData','once','reverse','16UkgCPT','_oldOffset','sessionId','serverHistory','currentRevision','sendBufferedUpdates','bind','setSource','data','config','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isPendingUpdate','pluginName','length','startsWith','RevisionHistory','isConnected','_getLatestVersionFromServerOperations','connection','_waitForServiceReady','isPremiumPlugin','isBundleUploaded','getMany','141864PJecnM','authorsIds','cloud-services-internal-error:\x20Request\x20timeout.','_getLatestVersion','_handleReconnectionError','off','_createCurrentRevision','_revisions','buildRevisionData','revisionsUpdated','listenTo','type','change:_isPendingUpdate','1354336IjCDxz','_revisionHistoryService','diffData','marker','_bufferedUpdates','code','destroy','plugins','addToReconnectionStack','_isConnected','change:_isConnected','_lastRequestId','addRevisionData','then','_startingVersion','wrongRequestId','repository','baseVersion','isEnabled','getOperations','max','connected','updateRevisions','_bufferUpdate','_offset','452343jYceUQ','from','adapter','addUser','_fixRevision','toVersion','has','createdAt','CONNECTED','catch','getUser','size','creatorId','message','requires','1434338APRpMQ','RevisionTracker','keys','3078096yZLXqs','init','cloudServices.bundleVersion'];_0x1162=function(){return _0x47c3d7;};return _0x1162();}import{RealTimeCollaborationClient as _0xdf3e14}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x8d13(_0x2d3049,_0x124183){const _0x11620c=_0x1162();return _0x8d13=function(_0x8d134e,_0x589d7e){_0x8d134e=_0x8d134e-0x195;let _0x3e356f=_0x11620c[_0x8d134e];return _0x3e356f;},_0x8d13(_0x2d3049,_0x124183);}import{WebSocketGateway as _0x2e843e}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x33eb23}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x532d25,RevisionHistoryService as _0x36c297,User as _0x10a457,WEB_SOCKET_GATEWAY_STATES as _0x5ab20e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x482f07{static [_0x461486(0x1b7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x36c297)());[_0x461486(0x1ec)];[_0x461486(0x1b9)];[_0x461486(0x1e2)];[_0x461486(0x1be)];static get[_0x461486(0x195)](){const _0x4523ae=_0x461486;return[_0x2e843e,_0xdf3e14,_0x4523ae(0x1cc),_0x33eb23,_0x372c2a];}static get[_0x461486(0x1c9)](){const _0x281c8f=_0x461486;return _0x281c8f(0x1b5);}static get[_0x461486(0x1ad)](){return!0x0;}static get[_0x461486(0x1d1)](){return!0x0;}constructor(_0x407eaa){const _0x30dca5=_0x461486;super(_0x407eaa);const _0x3f55b6=this[_0x30dca5(0x1a6)][_0x30dca5(0x1c6)][_0x30dca5(0x1ae)](_0x30dca5(0x1a0));this[_0x30dca5(0x1ec)]=null,this[_0x30dca5(0x1b9)]=this[_0x30dca5(0x1a6)][_0x30dca5(0x1e8)][_0x30dca5(0x1ae)](_0x30dca5(0x197)),this[_0x30dca5(0x1e2)]=new CloudServicesRevisionHistoryAdapter[(_0x30dca5(0x1b7))](_0x3f55b6);}async[_0x461486(0x19a)](){const _0x26cca4=_0x461486,_0x58b9e6=this[_0x26cca4(0x1a6)][_0x26cca4(0x1e8)][_0x26cca4(0x1ae)](_0xdf3e14),_0x22deac=_0x58b9e6[_0x26cca4(0x1c0)],_0x561315=this[_0x26cca4(0x1a6)][_0x26cca4(0x1e8)][_0x26cca4(0x1ae)](_0x2e843e);this[_0x26cca4(0x1b9)][_0x26cca4(0x1c4)]({'history':_0x22deac,'getLatestVersion':()=>this[_0x26cca4(0x1d7)](),'getCurrentRevisionId':()=>_0x58b9e6[_0x26cca4(0x1bf)]});const _0x188c31=this[_0x26cca4(0x1a6)][_0x26cca4(0x1c6)][_0x26cca4(0x1ae)](_0x26cca4(0x19b))||_0xe401f1,_0x2a9b88=await _0x532d25[_0x26cca4(0x1d2)](_0x561315[_0x26cca4(0x1cf)],_0x188c31);this[_0x26cca4(0x1a6)][_0x26cca4(0x1e8)][_0x26cca4(0x1ae)](_0x26cca4(0x1cc))[_0x26cca4(0x1fc)]={'getRevision':async({revisionId:_0x4275d5})=>(await this[_0x26cca4(0x1d0)](),await this[_0x26cca4(0x1e2)][_0x26cca4(0x1a1)](_0x4275d5)),'updateRevisions':async _0x2b31a8=>{const _0x8553cb=_0x26cca4;await this[_0x8553cb(0x1d0)]();const _0x65484d=this[_0x8553cb(0x1b9)][_0x8553cb(0x1c1)];if(_0x2a9b88&&0x1===_0x2b31a8[_0x8553cb(0x1ca)]&&_0x2b31a8[0x0]['id']===_0x65484d['id'])return _0x2b31a8;for(const _0x2c881d of _0x2b31a8)_0x2c881d['id']===_0x65484d['id']&&(_0x2c881d[_0x8553cb(0x1af)]=_0x2c881d[_0x8553cb(0x1a4)]===_0x2c881d[_0x8553cb(0x1ff)]);return this[_0x8553cb(0x1e2)][_0x8553cb(0x1f7)](_0x2b31a8,this[_0x8553cb(0x1ec)])[_0x8553cb(0x1ee)](_0x1a396e=>(this[_0x8553cb(0x1ec)]=_0x1a396e,_0x2b31a8))[_0x8553cb(0x203)](_0x5230f8=>{const _0x43e033=_0x8553cb;if(b(_0x5230f8)||_0x43e033(0x1b0)===_0x5230f8[_0x43e033(0x1e6)]&&void 0x0!==_0x5230f8[_0x43e033(0x1c5)][_0x43e033(0x1f0)]){for(const _0x165082 of _0x2b31a8){!this[_0x43e033(0x1b9)][_0x43e033(0x1f1)][_0x43e033(0x1a1)](_0x165082['id'])||this[_0x43e033(0x1b9)][_0x43e033(0x1f8)](_0x165082['id'],_0x165082,!0x1);}if(b(_0x5230f8))throw _0x5230f8;return _0x2b31a8;}throw _0x5230f8;});}},this[_0x26cca4(0x1de)](this[_0x26cca4(0x1e2)],_0x26cca4(0x1dd),(_0x4d0d9d,{revisionsData:_0x3bd200,requestId:_0x5eb815})=>{const _0x1a53e7=_0x26cca4;Math[_0x1a53e7(0x1f5)](..._0x3bd200[_0x1a53e7(0x1b6)](_0x3d1508=>_0x3d1508[_0x1a53e7(0x1ff)]))>this[_0x1a53e7(0x1ce)]()-0x1?this[_0x1a53e7(0x1d7)]()[_0x1a53e7(0x1ee)](()=>{const _0x81ad49=_0x1a53e7;this[_0x81ad49(0x19d)](_0x3bd200,_0x5eb815);}):this[_0x1a53e7(0x19d)](_0x3bd200,_0x5eb815);});const {revisions:_0x388bbd,requestId:_0x5091c5}=await this[_0x26cca4(0x1e2)][_0x26cca4(0x1a2)](_0x561315[_0x26cca4(0x1cf)]);_0x561315[_0x26cca4(0x1e9)](this),this[_0x26cca4(0x1ec)]=_0x5091c5,await this[_0x26cca4(0x1a5)](_0x388bbd);for(const _0x4db62e of _0x388bbd)this[_0x26cca4(0x1b9)][_0x26cca4(0x1ed)](_0x4db62e);this[_0x26cca4(0x1de)](_0x58b9e6,_0x26cca4(0x1eb),(_0x3aebcc,_0x2de6f0,_0x561010)=>{const _0xcc1a9a=_0x26cca4;_0x561010&&(this[_0xcc1a9a(0x1be)]=_0x58b9e6[_0xcc1a9a(0x1f9)],_0x3aebcc[_0xcc1a9a(0x1d9)]());}),this[_0x26cca4(0x1b9)][_0x26cca4(0x1c3)](_0x26cca4(0x1f3))['to'](_0x561315,_0x26cca4(0x1b4),_0xc281a8=>_0xc281a8===_0x5ab20e[_0x26cca4(0x202)]);}async[_0x461486(0x19e)](){const _0x11bbee=_0x461486,_0x5aa38f=this[_0x11bbee(0x1a6)][_0x11bbee(0x1e8)][_0x11bbee(0x1ae)](_0x2e843e),_0x1559ff=this[_0x11bbee(0x1a6)][_0x11bbee(0x1e8)][_0x11bbee(0x1ae)](_0xdf3e14),_0x4c20b2=async()=>{const _0x51930a=_0x11bbee,_0x418422=this[_0x51930a(0x1b9)][_0x51930a(0x1c1)],_0x1bcffa=_0x418422['id'],_0x4750be=_0x1bcffa!==_0x1559ff[_0x51930a(0x1bf)];if(_0x4750be){const _0x1f2e60=_0x1559ff[_0x51930a(0x1f9)]-this[_0x51930a(0x1be)],_0x18dc7c=this[_0x51930a(0x1ce)]();this[_0x51930a(0x1b9)][_0x51930a(0x1b3)][_0x51930a(0x1ab)]();if(_0x418422[_0x51930a(0x1ff)]+_0x1f2e60!==_0x18dc7c){const _0x47b7fa=_0x418422[_0x51930a(0x1a4)]+_0x1f2e60,_0xfaad6a=this[_0x51930a(0x1a6)][_0x51930a(0x1e8)][_0x51930a(0x1ae)](_0x372c2a),_0x59fb90=this[_0x51930a(0x1b9)][_0x51930a(0x1dc)]({'revision':_0x418422,'from':_0x47b7fa,'to':_0x18dc7c});_0x59fb90['id']=_0x418422['id'];const _0x1c2832=_0x59fb90[_0x51930a(0x1d5)][_0x51930a(0x1b6)](_0x558f34=>_0xfaad6a[_0x51930a(0x204)](_0x558f34));_0x418422[_0x51930a(0x1a3)]({..._0x59fb90,'authors':_0x1c2832},!0x0),this[_0x51930a(0x1b9)][_0x51930a(0x1f8)](_0x418422['id'],_0x59fb90,!0x0);}this[_0x51930a(0x1b9)][_0x51930a(0x1ef)]=_0x18dc7c,(_0x418422[_0x51930a(0x1ff)]===_0x418422[_0x51930a(0x1a4)]&&!this[_0x51930a(0x1b9)][_0x51930a(0x1e5)][_0x51930a(0x200)](_0x1bcffa)&&this[_0x51930a(0x1b9)][_0x51930a(0x1f1)][_0x51930a(0x1db)][_0x51930a(0x1b8)](_0x1bcffa),this[_0x51930a(0x1b9)][_0x51930a(0x1da)](_0x18dc7c));}const {revisions:_0x1b8dea,requestId:_0x261d87}=await this[_0x51930a(0x1e2)][_0x51930a(0x19e)](_0x5aa38f[_0x51930a(0x1cf)],this[_0x51930a(0x1ec)]);_0x4750be&&_0x1b8dea[_0x51930a(0x1ca)]>0x0?_0x1559ff[_0x51930a(0x1d8)]():(await this[_0x51930a(0x1a5)](_0x1b8dea),this[_0x51930a(0x19d)](_0x1b8dea,_0x261d87),this[_0x51930a(0x1b9)][_0x51930a(0x1c2)]());};return _0x1559ff[_0x11bbee(0x1ea)]?_0x4c20b2():new Promise((_0x3f59b3,_0x585611)=>{const _0x58a5fd=_0x11bbee;_0x1559ff[_0x58a5fd(0x1bb)](_0x58a5fd(0x1eb),()=>{const _0x165524=_0x58a5fd;_0x4c20b2()[_0x165524(0x1ee)](_0x3f59b3)[_0x165524(0x203)](_0x585611);});});}[_0x461486(0x1e7)](){const _0x2267ef=_0x461486;super[_0x2267ef(0x1e7)]();}async[_0x461486(0x1d0)](){const _0x477166=_0x461486;this[_0x477166(0x1e2)][_0x477166(0x1cd)]||await new Promise(_0x5297ab=>{const _0x14529d=_0x477166;this[_0x14529d(0x1de)](this[_0x14529d(0x1e2)],_0x14529d(0x1f6),_0x4deccf=>{const _0x383d78=_0x14529d;_0x4deccf[_0x383d78(0x1d9)](),_0x5297ab();});});}[_0x461486(0x1ce)](){const _0x546798=_0x461486,_0x3b1e70=this[_0x546798(0x1a6)][_0x546798(0x1e8)][_0x546798(0x1ae)](_0xdf3e14)[_0x546798(0x1c0)][_0x546798(0x1f4)]()[_0x546798(0x1bc)]();for(const _0x5e37da of _0x3b1e70)if(_0x546798(0x1e4)!==_0x5e37da[_0x546798(0x1df)]||_0x5e37da[_0x546798(0x1ba)])return _0x5e37da[_0x546798(0x1f2)]+0x1;}[_0x461486(0x1d7)](){const _0x1793e8=_0x461486,_0x402f2f=this[_0x1793e8(0x1a6)][_0x1793e8(0x1e8)][_0x1793e8(0x1ae)](_0xdf3e14);return new Promise(_0x41b247=>{const _0x3ad383=_0x1793e8;_0x402f2f[_0x3ad383(0x1c8)]?_0x402f2f[_0x3ad383(0x1bb)](_0x3ad383(0x1e0),()=>{const _0x7ff46f=_0x3ad383;_0x41b247(this[_0x7ff46f(0x1ce)]());}):_0x41b247(this[_0x3ad383(0x1ce)]());});}[_0x461486(0x19d)](_0x3227bc,_0x46ba55){const _0x3ebf6f=_0x461486,_0x4f129d=this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1f1)];this[_0x3ebf6f(0x1ec)]=_0x46ba55;for(const _0x370217 of _0x3227bc){const _0x2a36bd=_0x4f129d[_0x3ebf6f(0x1a1)](_0x370217['id']);if(_0x2a36bd){if((_0x370217[_0x3ebf6f(0x1a4)]||_0x370217[_0x3ebf6f(0x1ff)])&&(_0x370217[_0x3ebf6f(0x1e3)]=null),_0x2a36bd===this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1c1)]){const _0x5f5978=Math[_0x3ebf6f(0x1f5)](_0x2a36bd[_0x3ebf6f(0x1ff)],_0x370217[_0x3ebf6f(0x1ff)]),_0x38024d=Math[_0x3ebf6f(0x1f5)](_0x2a36bd[_0x3ebf6f(0x1a4)],_0x370217[_0x3ebf6f(0x1a4)]);let _0x302aed;_0x2a36bd[_0x3ebf6f(0x1ff)]===_0x370217[_0x3ebf6f(0x1ff)]&&_0x2a36bd[_0x3ebf6f(0x1a4)]===_0x370217[_0x3ebf6f(0x1a4)]?(_0x302aed=!0x0,this[_0x3ebf6f(0x19f)](_0x370217)):_0x370217[_0x3ebf6f(0x1ff)]===_0x5f5978&&_0x370217[_0x3ebf6f(0x1a4)]===_0x38024d?_0x302aed=!0x1:(_0x2a36bd[_0x3ebf6f(0x1ff)]===_0x5f5978&&_0x2a36bd[_0x3ebf6f(0x1a4)]===_0x38024d||this[_0x3ebf6f(0x1fe)]({'revision':_0x2a36bd,'from':_0x38024d,'to':_0x5f5978}),_0x302aed=!0x0),_0x302aed&&(delete _0x370217[_0x3ebf6f(0x1a4)],delete _0x370217[_0x3ebf6f(0x1ff)],delete _0x370217[_0x3ebf6f(0x1e3)],delete _0x370217[_0x3ebf6f(0x201)],delete _0x370217[_0x3ebf6f(0x1d5)]);}this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1a9)](_0x370217),this[_0x3ebf6f(0x19f)](_0x370217);}else this[_0x3ebf6f(0x1b9)][_0x3ebf6f(0x1ed)](_0x370217);}const _0x586ac0=_0x4f129d[_0x3ebf6f(0x1a8)]();_0x586ac0[_0x3ebf6f(0x1bc)]();for(let _0x33698b=0x0;_0x33698b<_0x586ac0[_0x3ebf6f(0x1ca)]-0x1;_0x33698b++){const _0x208441=_0x586ac0[_0x33698b],_0x2c1480=_0x586ac0[_0x33698b+0x1];if(_0x208441[_0x3ebf6f(0x1a4)]<_0x2c1480[_0x3ebf6f(0x1ff)]){const _0x1ce40c=_0x2c1480[_0x3ebf6f(0x1ff)],_0xdf049c=Math[_0x3ebf6f(0x1f5)](_0x1ce40c,_0x208441[_0x3ebf6f(0x1ff)]);this[_0x3ebf6f(0x1fe)]({'revision':_0x208441,'from':_0x1ce40c,'to':_0xdf049c});}}}[_0x461486(0x1fe)]({revision:_0x1b7442,from:_0x450c19,to:_0x36c657}={}){const _0x31d101=_0x461486,_0x13bf6f=this[_0x31d101(0x1a6)][_0x31d101(0x1e8)][_0x31d101(0x1ae)](_0x372c2a),_0x435b3c=this[_0x31d101(0x1b9)][_0x31d101(0x1dc)]({'revision':_0x1b7442,'from':_0x450c19,'to':_0x36c657});_0x435b3c[_0x31d101(0x1a7)]=_0x435b3c[_0x31d101(0x1d5)][_0x31d101(0x1b6)](_0x58fc2a=>_0x13bf6f[_0x31d101(0x204)](_0x58fc2a)),_0x1b7442[_0x31d101(0x1a3)](_0x435b3c);}[_0x461486(0x19f)](_0x9e81ca){const _0x453b2a=_0x461486,_0x365487={};_0x365487['id']=_0x9e81ca['id'];for(const _0x5814df of Object[_0x453b2a(0x198)](_0x9e81ca))'id'!==_0x5814df&&(_0x365487[_0x5814df]=void 0x0);this[_0x453b2a(0x1b9)][_0x453b2a(0x1f8)](_0x365487['id'],_0x365487,!0x0);}async[_0x461486(0x1a5)](_0xe6fd41){const _0x2ee7f6=_0x461486,_0x1c9e4c=this[_0x2ee7f6(0x1a6)][_0x2ee7f6(0x1e8)][_0x2ee7f6(0x1ae)](_0x372c2a),{connection:_0x5b75ee}=this[_0x2ee7f6(0x1a6)][_0x2ee7f6(0x1e8)][_0x2ee7f6(0x1ae)](_0x2e843e),_0x2b698a=new Set();for(const _0x1e5c52 of _0xe6fd41){for(const _0x1bcfc7 of _0x1e5c52[_0x2ee7f6(0x1d5)])_0x385e13(_0x1bcfc7);_0x1e5c52[_0x2ee7f6(0x206)]&&_0x385e13(_0x1e5c52[_0x2ee7f6(0x206)]);}if(0x0===_0x2b698a[_0x2ee7f6(0x205)])return;const _0x5fbce4=await _0x10a457[_0x2ee7f6(0x1d3)](_0x5b75ee,Array[_0x2ee7f6(0x1fb)](_0x2b698a));for(const _0xb3798c of _0x5fbce4)_0x1c9e4c[_0x2ee7f6(0x204)](_0xb3798c['id'])||_0x1c9e4c[_0x2ee7f6(0x1fd)](_0xb3798c);function _0x385e13(_0x5a4fcd){const _0x99de86=_0x2ee7f6;_0x1c9e4c[_0x99de86(0x204)](_0x5a4fcd)||_0x2b698a[_0x99de86(0x19c)](_0x5a4fcd);}}}function b(_0x420ac4){const _0x29e281=_0x461486;return _0x420ac4[_0x29e281(0x207)][_0x29e281(0x1cb)](_0x29e281(0x1c7))||_0x420ac4[_0x29e281(0x207)][_0x29e281(0x1cb)](_0x29e281(0x1aa))||_0x420ac4[_0x29e281(0x207)][_0x29e281(0x1cb)](_0x29e281(0x1d6));}
23
+ function _0x4145(){const _0x417cc3=['1670048cfcmIg','plugins','marker','fromVersion','then','baseVersion','27139aeaKLJ','remove','has','addUser','getRevision','RevisionTracker','once','authorsIds','connected','_bufferedUpdates','pluginName','connect','keys','sendBufferedUpdates','repository','config','cloud-services-internal-error:\x20Not\x20connected.','get','change:_isConnected','getUser','message','RevisionHistory','_startingVersion','change:_isPendingUpdate','_waitForServiceReady','_isConnected','_fixRevision','reverse','_lastRequestId','isBundleUploaded','code','isEmptyCurrent','requires','936cHiYCM','3203754mMzxGA','serverHistory','_fetchMissingUsers','isEnabled','400','_revisions','size','_revisionHistoryService','reInit','sessionId','data','wrongRequestId','_getLatestVersion','isConnected','editor','off','1250KDGhgW','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','4372348vCPKpo','getOperations','authors','toVersion','_offset','map','setSource','4oBixCN','getRevisions','updateRevisions','state','setRevisionData','createdAt','cloudServices.bundleVersion','catch','CONNECTED','RevisionHistoryService','5lCmbZS','destroy','adapter','_update','_isPendingUpdate','210859gPfDqW','reconnect','isPremiumPlugin','length','init','addToReconnectionStack','_oldOffset','_handleRevisionsUpdate','addRevisionData','getMany','affectsData','from','_handleReconnectionError','_createCurrentRevision','isOfficialPlugin','_getLatestVersionFromServerOperations','revisionsUpdated','_preventResendingRevisionData','startsWith','_bufferUpdate','type','bind','currentRevision','4496598GriyHn','_revisionDataBuilder','buildRevisionData','807990JNDcrX','collaboration.channelId','listenTo','_revisionTracker','CloudServicesRevisionHistoryAdapter','connection','creatorId','diffData','max','cloud-services-internal-error:\x20Request\x20timeout.'];_0x4145=function(){return _0x417cc3;};return _0x4145();}function _0xde1e(_0x4e6f00,_0x30ab9d){const _0x414568=_0x4145();return _0xde1e=function(_0xde1e47,_0x56cee8){_0xde1e47=_0xde1e47-0x85;let _0x60f35c=_0x414568[_0xde1e47];return _0x60f35c;},_0xde1e(_0x4e6f00,_0x30ab9d);}const _0x189a31=_0xde1e;(function(_0x5e5a93,_0x277ab0){const _0x10fc5a=_0xde1e,_0xe7188a=_0x5e5a93();while(!![]){try{const _0x30d204=parseInt(_0x10fc5a(0xe1))/0x1+-parseInt(_0x10fc5a(0xae))/0x2*(parseInt(_0x10fc5a(0xd7))/0x3)+-parseInt(_0x10fc5a(0xa7))/0x4*(parseInt(_0x10fc5a(0xb8))/0x5)+-parseInt(_0x10fc5a(0x94))/0x6+parseInt(_0x10fc5a(0xe7))/0x7*(-parseInt(_0x10fc5a(0x93))/0x8)+-parseInt(_0x10fc5a(0xd4))/0x9+parseInt(_0x10fc5a(0xa4))/0xa*(parseInt(_0x10fc5a(0xbd))/0xb);if(_0x30d204===_0x277ab0)break;else _0xe7188a['push'](_0xe7188a['shift']());}catch(_0x10bf6b){_0xe7188a['push'](_0xe7188a['shift']());}}}(_0x4145,0xe7424));import{Plugin as _0x4a80ac}from'ckeditor5/src/core.js';import{version as _0x38a9f8}from'ckeditor5/src/utils.js';import{Users as _0x4ae23e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x482ab3}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x56b25a}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4a79c6}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x423a02,RevisionHistoryService as _0x3c5f1d,User as _0x24ef2d,WEB_SOCKET_GATEWAY_STATES as _0x29999a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4a80ac{static [_0x189a31(0xb7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3c5f1d)());[_0x189a31(0x8e)];[_0x189a31(0xda)];[_0x189a31(0x9b)];[_0x189a31(0xc3)];static get[_0x189a31(0x92)](){const _0x4325d7=_0x189a31;return[_0x56b25a,_0x482ab3,_0x4325d7(0x87),_0x4a79c6,_0x4ae23e];}static get[_0x189a31(0xf1)](){const _0x3973d6=_0x189a31;return _0x3973d6(0xdb);}static get[_0x189a31(0xcb)](){return!0x0;}static get[_0x189a31(0xbf)](){return!0x0;}constructor(_0x394488){const _0xdf9e98=_0x189a31;super(_0x394488);const _0x2aac01=this[_0xdf9e98(0xa2)][_0xdf9e98(0xf6)][_0xdf9e98(0xf8)](_0xdf9e98(0xd8));this[_0xdf9e98(0x8e)]=null,this[_0xdf9e98(0xda)]=this[_0xdf9e98(0xa2)][_0xdf9e98(0xe2)][_0xdf9e98(0xf8)](_0xdf9e98(0xec)),this[_0xdf9e98(0x9b)]=new CloudServicesRevisionHistoryAdapter[(_0xdf9e98(0xb7))](_0x2aac01);}async[_0x189a31(0xc1)](){const _0x43e6b7=_0x189a31,_0x4cdd28=this[_0x43e6b7(0xa2)][_0x43e6b7(0xe2)][_0x43e6b7(0xf8)](_0x482ab3),_0x13259f=_0x4cdd28[_0x43e6b7(0x95)],_0x16820c=this[_0x43e6b7(0xa2)][_0x43e6b7(0xe2)][_0x43e6b7(0xf8)](_0x56b25a);this[_0x43e6b7(0xda)][_0x43e6b7(0xad)]({'history':_0x13259f,'getLatestVersion':()=>this[_0x43e6b7(0xa0)](),'getCurrentRevisionId':()=>_0x4cdd28[_0x43e6b7(0x9d)]});const _0x69bb00=this[_0x43e6b7(0xa2)][_0x43e6b7(0xf6)][_0x43e6b7(0xf8)](_0x43e6b7(0xb4))||_0x38a9f8,_0x59a3b7=await _0x423a02[_0x43e6b7(0x8f)](_0x16820c[_0x43e6b7(0xdc)],_0x69bb00);this[_0x43e6b7(0xa2)][_0x43e6b7(0xe2)][_0x43e6b7(0xf8)](_0x43e6b7(0x87))[_0x43e6b7(0xba)]={'getRevision':async({revisionId:_0x4af84c})=>(await this[_0x43e6b7(0x8a)](),await this[_0x43e6b7(0x9b)][_0x43e6b7(0xeb)](_0x4af84c)),'updateRevisions':async _0x3b3b24=>{const _0x2d2691=_0x43e6b7;await this[_0x2d2691(0x8a)]();const _0x150ff3=this[_0x2d2691(0xda)][_0x2d2691(0xd3)];if(_0x59a3b7&&0x1===_0x3b3b24[_0x2d2691(0xc0)]&&_0x3b3b24[0x0]['id']===_0x150ff3['id'])return _0x3b3b24;for(const _0x4899ba of _0x3b3b24)_0x4899ba['id']===_0x150ff3['id']&&(_0x4899ba[_0x2d2691(0x91)]=_0x4899ba[_0x2d2691(0xe4)]===_0x4899ba[_0x2d2691(0xaa)]);return this[_0x2d2691(0x9b)][_0x2d2691(0xb0)](_0x3b3b24,this[_0x2d2691(0x8e)])[_0x2d2691(0xe5)](_0x33721b=>(this[_0x2d2691(0x8e)]=_0x33721b,_0x3b3b24))[_0x2d2691(0xb5)](_0x500c9d=>{const _0x37dfdc=_0x2d2691;if(st(_0x500c9d)||_0x37dfdc(0x98)===_0x500c9d[_0x37dfdc(0x90)]&&void 0x0!==_0x500c9d[_0x37dfdc(0x9e)][_0x37dfdc(0x9f)]){for(const _0x2f4c5d of _0x3b3b24){!this[_0x37dfdc(0xda)][_0x37dfdc(0xf5)][_0x37dfdc(0xeb)](_0x2f4c5d['id'])||this[_0x37dfdc(0xda)][_0x37dfdc(0xd0)](_0x2f4c5d['id'],_0x2f4c5d,!0x1);}if(st(_0x500c9d))throw _0x500c9d;return _0x3b3b24;}throw _0x500c9d;});}},this[_0x43e6b7(0xd9)](this[_0x43e6b7(0x9b)],_0x43e6b7(0xcd),(_0x5c0484,{revisionsData:_0x386bf2,requestId:_0x2ff16f})=>{const _0x2acc43=_0x43e6b7;Math[_0x2acc43(0xdf)](..._0x386bf2[_0x2acc43(0xac)](_0x5d0bc3=>_0x5d0bc3[_0x2acc43(0xaa)]))>this[_0x2acc43(0xcc)]()-0x1?this[_0x2acc43(0xa0)]()[_0x2acc43(0xe5)](()=>{const _0x517299=_0x2acc43;this[_0x517299(0xc4)](_0x386bf2,_0x2ff16f);}):this[_0x2acc43(0xc4)](_0x386bf2,_0x2ff16f);});const {revisions:_0x273130,requestId:_0x20b2e5}=await this[_0x43e6b7(0x9b)][_0x43e6b7(0xf2)](_0x16820c[_0x43e6b7(0xdc)]);_0x16820c[_0x43e6b7(0xc2)](this),this[_0x43e6b7(0x8e)]=_0x20b2e5,await this[_0x43e6b7(0x96)](_0x273130);for(const _0x4efbdc of _0x273130)this[_0x43e6b7(0xda)][_0x43e6b7(0xc5)](_0x4efbdc);this[_0x43e6b7(0xd9)](_0x4cdd28,_0x43e6b7(0xf9),(_0x3d0738,_0x3ec421,_0x4d64af)=>{const _0x27a996=_0x43e6b7;_0x4d64af&&(this[_0x27a996(0xc3)]=_0x4cdd28[_0x27a996(0xab)],_0x3d0738[_0x27a996(0xa3)]());}),this[_0x43e6b7(0xda)][_0x43e6b7(0xd2)](_0x43e6b7(0x97))['to'](_0x16820c,_0x43e6b7(0xb1),_0x53c1ca=>_0x53c1ca===_0x29999a[_0x43e6b7(0xb6)]);}async[_0x189a31(0xbe)](){const _0x53ac8a=_0x189a31,_0x3d7631=this[_0x53ac8a(0xa2)][_0x53ac8a(0xe2)][_0x53ac8a(0xf8)](_0x56b25a),_0x350253=this[_0x53ac8a(0xa2)][_0x53ac8a(0xe2)][_0x53ac8a(0xf8)](_0x482ab3),_0x50bfb0=async()=>{const _0x5bbc75=_0x53ac8a,_0x408617=this[_0x5bbc75(0xda)][_0x5bbc75(0xd3)],_0x4f38ac=_0x408617['id'],_0x1e04c6=_0x4f38ac!==_0x350253[_0x5bbc75(0x9d)];if(_0x1e04c6){const _0x338c51=_0x350253[_0x5bbc75(0xab)]-this[_0x5bbc75(0xc3)],_0x3b90f2=this[_0x5bbc75(0xcc)]();this[_0x5bbc75(0xda)][_0x5bbc75(0xd5)][_0x5bbc75(0x9c)]();if(_0x408617[_0x5bbc75(0xaa)]+_0x338c51!==_0x3b90f2){const _0x230ad2=_0x408617[_0x5bbc75(0xe4)]+_0x338c51,_0x15eb23=this[_0x5bbc75(0xa2)][_0x5bbc75(0xe2)][_0x5bbc75(0xf8)](_0x4ae23e),_0x362ff8=this[_0x5bbc75(0xda)][_0x5bbc75(0xd6)]({'revision':_0x408617,'from':_0x230ad2,'to':_0x3b90f2});_0x362ff8['id']=_0x408617['id'];const _0x129eb2=_0x362ff8[_0x5bbc75(0xee)][_0x5bbc75(0xac)](_0xda543c=>_0x15eb23[_0x5bbc75(0x85)](_0xda543c));_0x408617[_0x5bbc75(0xbb)]({..._0x362ff8,'authors':_0x129eb2},!0x0),this[_0x5bbc75(0xda)][_0x5bbc75(0xd0)](_0x408617['id'],_0x362ff8,!0x0);}this[_0x5bbc75(0xda)][_0x5bbc75(0x88)]=_0x3b90f2,(_0x408617[_0x5bbc75(0xaa)]===_0x408617[_0x5bbc75(0xe4)]&&!this[_0x5bbc75(0xda)][_0x5bbc75(0xf0)][_0x5bbc75(0xe9)](_0x4f38ac)&&this[_0x5bbc75(0xda)][_0x5bbc75(0xf5)][_0x5bbc75(0x99)][_0x5bbc75(0xe8)](_0x4f38ac),this[_0x5bbc75(0xda)][_0x5bbc75(0xca)](_0x3b90f2));}const {revisions:_0xfd0e97,requestId:_0x4e7f6e}=await this[_0x5bbc75(0x9b)][_0x5bbc75(0xbe)](_0x3d7631[_0x5bbc75(0xdc)],this[_0x5bbc75(0x8e)]);_0x1e04c6&&_0xfd0e97[_0x5bbc75(0xc0)]>0x0?_0x350253[_0x5bbc75(0xc9)]():(await this[_0x5bbc75(0x96)](_0xfd0e97),this[_0x5bbc75(0xc4)](_0xfd0e97,_0x4e7f6e),this[_0x5bbc75(0xda)][_0x5bbc75(0xf4)]());};return _0x350253[_0x53ac8a(0x8b)]?_0x50bfb0():new Promise((_0xdc7795,_0x3630e9)=>{const _0x1b04b2=_0x53ac8a;_0x350253[_0x1b04b2(0xed)](_0x1b04b2(0xf9),()=>{const _0x408a79=_0x1b04b2;_0x50bfb0()[_0x408a79(0xe5)](_0xdc7795)[_0x408a79(0xb5)](_0x3630e9);});});}[_0x189a31(0xb9)](){const _0x4eb32f=_0x189a31;super[_0x4eb32f(0xb9)]();}async[_0x189a31(0x8a)](){const _0x53339b=_0x189a31;this[_0x53339b(0x9b)][_0x53339b(0xa1)]||await new Promise(_0x528f2e=>{const _0xd87b7=_0x53339b;this[_0xd87b7(0xd9)](this[_0xd87b7(0x9b)],_0xd87b7(0xef),_0x27e8e5=>{const _0x4668a3=_0xd87b7;_0x27e8e5[_0x4668a3(0xa3)](),_0x528f2e();});});}[_0x189a31(0xcc)](){const _0x48be9a=_0x189a31,_0x3e89f4=this[_0x48be9a(0xa2)][_0x48be9a(0xe2)][_0x48be9a(0xf8)](_0x482ab3)[_0x48be9a(0x95)][_0x48be9a(0xa8)]()[_0x48be9a(0x8d)]();for(const _0x463c24 of _0x3e89f4)if(_0x48be9a(0xe3)!==_0x463c24[_0x48be9a(0xd1)]||_0x463c24[_0x48be9a(0xc7)])return _0x463c24[_0x48be9a(0xe6)]+0x1;}[_0x189a31(0xa0)](){const _0x30455b=_0x189a31,_0x5ee4a6=this[_0x30455b(0xa2)][_0x30455b(0xe2)][_0x30455b(0xf8)](_0x482ab3);return new Promise(_0x1d5ae3=>{const _0x7efb8e=_0x30455b;_0x5ee4a6[_0x7efb8e(0xbc)]?_0x5ee4a6[_0x7efb8e(0xed)](_0x7efb8e(0x89),()=>{const _0x92722=_0x7efb8e;_0x1d5ae3(this[_0x92722(0xcc)]());}):_0x1d5ae3(this[_0x7efb8e(0xcc)]());});}[_0x189a31(0xc4)](_0x46c30f,_0x10fe3b){const _0x23e9b2=_0x189a31,_0x7350c0=this[_0x23e9b2(0xda)][_0x23e9b2(0xf5)];this[_0x23e9b2(0x8e)]=_0x10fe3b;for(const _0x4584a6 of _0x46c30f){const _0x535d07=_0x7350c0[_0x23e9b2(0xeb)](_0x4584a6['id']);if(_0x535d07){if((_0x4584a6[_0x23e9b2(0xe4)]||_0x4584a6[_0x23e9b2(0xaa)])&&(_0x4584a6[_0x23e9b2(0xde)]=null),_0x535d07===this[_0x23e9b2(0xda)][_0x23e9b2(0xd3)]){const _0xd3d430=Math[_0x23e9b2(0xdf)](_0x535d07[_0x23e9b2(0xaa)],_0x4584a6[_0x23e9b2(0xaa)]),_0xb7e680=Math[_0x23e9b2(0xdf)](_0x535d07[_0x23e9b2(0xe4)],_0x4584a6[_0x23e9b2(0xe4)]);let _0x149ba5;_0x535d07[_0x23e9b2(0xaa)]===_0x4584a6[_0x23e9b2(0xaa)]&&_0x535d07[_0x23e9b2(0xe4)]===_0x4584a6[_0x23e9b2(0xe4)]?(_0x149ba5=!0x0,this[_0x23e9b2(0xce)](_0x4584a6)):_0x4584a6[_0x23e9b2(0xaa)]===_0xd3d430&&_0x4584a6[_0x23e9b2(0xe4)]===_0xb7e680?_0x149ba5=!0x1:(_0x535d07[_0x23e9b2(0xaa)]===_0xd3d430&&_0x535d07[_0x23e9b2(0xe4)]===_0xb7e680||this[_0x23e9b2(0x8c)]({'revision':_0x535d07,'from':_0xb7e680,'to':_0xd3d430}),_0x149ba5=!0x0),_0x149ba5&&(delete _0x4584a6[_0x23e9b2(0xe4)],delete _0x4584a6[_0x23e9b2(0xaa)],delete _0x4584a6[_0x23e9b2(0xde)],delete _0x4584a6[_0x23e9b2(0xb3)],delete _0x4584a6[_0x23e9b2(0xee)]);}this[_0x23e9b2(0xda)][_0x23e9b2(0xb2)](_0x4584a6),this[_0x23e9b2(0xce)](_0x4584a6);}else this[_0x23e9b2(0xda)][_0x23e9b2(0xc5)](_0x4584a6);}const _0x545be2=_0x7350c0[_0x23e9b2(0xaf)]();_0x545be2[_0x23e9b2(0x8d)]();for(let _0x2d2eae=0x0;_0x2d2eae<_0x545be2[_0x23e9b2(0xc0)]-0x1;_0x2d2eae++){const _0x468301=_0x545be2[_0x2d2eae],_0x231368=_0x545be2[_0x2d2eae+0x1];if(_0x468301[_0x23e9b2(0xe4)]<_0x231368[_0x23e9b2(0xaa)]){const _0x176a02=_0x231368[_0x23e9b2(0xaa)],_0x3f861d=Math[_0x23e9b2(0xdf)](_0x176a02,_0x468301[_0x23e9b2(0xaa)]);this[_0x23e9b2(0x8c)]({'revision':_0x468301,'from':_0x176a02,'to':_0x3f861d});}}}[_0x189a31(0x8c)]({revision:_0x12bd7d,from:_0x27c8c8,to:_0xe6e475}={}){const _0x4c3a87=_0x189a31,_0x132505=this[_0x4c3a87(0xa2)][_0x4c3a87(0xe2)][_0x4c3a87(0xf8)](_0x4ae23e),_0x344bac=this[_0x4c3a87(0xda)][_0x4c3a87(0xd6)]({'revision':_0x12bd7d,'from':_0x27c8c8,'to':_0xe6e475});_0x344bac[_0x4c3a87(0xa9)]=_0x344bac[_0x4c3a87(0xee)][_0x4c3a87(0xac)](_0x1ac473=>_0x132505[_0x4c3a87(0x85)](_0x1ac473)),_0x12bd7d[_0x4c3a87(0xbb)](_0x344bac);}[_0x189a31(0xce)](_0x48d7ab){const _0x76bde8=_0x189a31,_0x1584c3={};_0x1584c3['id']=_0x48d7ab['id'];for(const _0x57d0b6 of Object[_0x76bde8(0xf3)](_0x48d7ab))'id'!==_0x57d0b6&&(_0x1584c3[_0x57d0b6]=void 0x0);this[_0x76bde8(0xda)][_0x76bde8(0xd0)](_0x1584c3['id'],_0x1584c3,!0x0);}async[_0x189a31(0x96)](_0x13312a){const _0xc6fd68=_0x189a31,_0x41d4f8=this[_0xc6fd68(0xa2)][_0xc6fd68(0xe2)][_0xc6fd68(0xf8)](_0x4ae23e),{connection:_0x411656}=this[_0xc6fd68(0xa2)][_0xc6fd68(0xe2)][_0xc6fd68(0xf8)](_0x56b25a),_0x21921d=new Set();for(const _0x4bf476 of _0x13312a){for(const _0x53359f of _0x4bf476[_0xc6fd68(0xee)])_0xd73892(_0x53359f);_0x4bf476[_0xc6fd68(0xdd)]&&_0xd73892(_0x4bf476[_0xc6fd68(0xdd)]);}if(0x0===_0x21921d[_0xc6fd68(0x9a)])return;const _0x54d369=await _0x24ef2d[_0xc6fd68(0xc6)](_0x411656,Array[_0xc6fd68(0xc8)](_0x21921d));for(const _0x137aca of _0x54d369)_0x41d4f8[_0xc6fd68(0x85)](_0x137aca['id'])||_0x41d4f8[_0xc6fd68(0xea)](_0x137aca);function _0xd73892(_0x3c1108){const _0x709366=_0xc6fd68;_0x41d4f8[_0x709366(0x85)](_0x3c1108)||_0x21921d[_0x709366(0xa6)](_0x3c1108);}}}function st(_0x507f24){const _0x560717=_0x189a31;return _0x507f24[_0x560717(0x86)][_0x560717(0xcf)](_0x560717(0xa5))||_0x507f24[_0x560717(0x86)][_0x560717(0xcf)](_0x560717(0xf7))||_0x507f24[_0x560717(0x86)][_0x560717(0xcf)](_0x560717(0xe0));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44ed10=_0x4a3c;(function(_0x1e4b2b,_0x1af914){var _0x2902d1=_0x4a3c,_0x3ae65c=_0x1e4b2b();while(!![]){try{var _0x2eb6de=-parseInt(_0x2902d1(0x157))/0x1*(-parseInt(_0x2902d1(0x15c))/0x2)+parseInt(_0x2902d1(0x162))/0x3+-parseInt(_0x2902d1(0x163))/0x4+parseInt(_0x2902d1(0x156))/0x5+-parseInt(_0x2902d1(0x158))/0x6*(parseInt(_0x2902d1(0x160))/0x7)+-parseInt(_0x2902d1(0x15b))/0x8*(-parseInt(_0x2902d1(0x159))/0x9)+-parseInt(_0x2902d1(0x15f))/0xa;if(_0x2eb6de===_0x1af914)break;else _0x3ae65c['push'](_0x3ae65c['shift']());}catch(_0x274121){_0x3ae65c['push'](_0x3ae65c['shift']());}}}(_0x37ab,0x785ff));import{Plugin as _0x4289a9}from'ckeditor5/src/core.js';function _0x4a3c(_0x5967d5,_0x2f5b85){var _0x37ab43=_0x37ab();return _0x4a3c=function(_0x4a3ccc,_0x16e692){_0x4a3ccc=_0x4a3ccc-0x155;var _0x5c185d=_0x37ab43[_0x4a3ccc];return _0x5c185d;},_0x4a3c(_0x5967d5,_0x2f5b85);}import{CloudServicesRevisionHistoryAdapter as _0x5870a2}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x37ab(){var _0x59d31f=['6gGKYPQ','7269867toHGkV','RevisionHistory','8ywFjrg','1356454mbVyCQ','requires','RealTimeCollaborativeRevisionHistory','5295660vJZcjY','4230345qUdktv','pluginName','2408919fpVopX','3683904OYwPIb','isPremiumPlugin','isOfficialPlugin','1294845OAGixG','1WkDwGH'];_0x37ab=function(){return _0x59d31f;};return _0x37ab();}import{RealTimeCollaborativeEditing as _0x52e4dd}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x4289a9{static get[_0x44ed10(0x15d)](){var _0x590908=_0x44ed10;return[_0x590908(0x15a),_0x5870a2,_0x52e4dd];}static get[_0x44ed10(0x161)](){var _0x13f247=_0x44ed10;return _0x13f247(0x15e);}static get[_0x44ed10(0x155)](){return!0x0;}static get[_0x44ed10(0x164)](){return!0x0;}}
23
+ var _0x2037c3=_0xe254;(function(_0x240183,_0x3b7025){var _0x1f7a6e=_0xe254,_0x396181=_0x240183();while(!![]){try{var _0x4b883d=-parseInt(_0x1f7a6e(0xc6))/0x1+-parseInt(_0x1f7a6e(0xc9))/0x2+-parseInt(_0x1f7a6e(0xc5))/0x3+-parseInt(_0x1f7a6e(0xc8))/0x4*(parseInt(_0x1f7a6e(0xd4))/0x5)+parseInt(_0x1f7a6e(0xd2))/0x6+-parseInt(_0x1f7a6e(0xca))/0x7*(-parseInt(_0x1f7a6e(0xcc))/0x8)+-parseInt(_0x1f7a6e(0xd0))/0x9*(-parseInt(_0x1f7a6e(0xd1))/0xa);if(_0x4b883d===_0x3b7025)break;else _0x396181['push'](_0x396181['shift']());}catch(_0x36d9d0){_0x396181['push'](_0x396181['shift']());}}}(_0x50e5,0x70ac0));import{Plugin as _0x433947}from'ckeditor5/src/core.js';function _0x50e5(){var _0x3127a6=['2475756Xkkief','50FVLWyF','1152630kwFOXD','RevisionHistory','65kTrweg','1812657RDMlGl','699868jqhuZL','pluginName','17956lSEWAE','612264SCIgFv','245LhEdBW','RealTimeCollaborativeRevisionHistory','128584NqjjzA','isOfficialPlugin','isPremiumPlugin','requires'];_0x50e5=function(){return _0x3127a6;};return _0x50e5();}import{CloudServicesRevisionHistoryAdapter as _0x152085}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x5b3d96}from'./realtimecollaborativeediting.js';function _0xe254(_0x857e35,_0x48d108){var _0x50e57c=_0x50e5();return _0xe254=function(_0xe25444,_0x3452a9){_0xe25444=_0xe25444-0xc5;var _0x42cfcd=_0x50e57c[_0xe25444];return _0x42cfcd;},_0xe254(_0x857e35,_0x48d108);}export class RealTimeCollaborativeRevisionHistory extends _0x433947{static get[_0x2037c3(0xcf)](){var _0x4b24a0=_0x2037c3;return[_0x4b24a0(0xd3),_0x152085,_0x5b3d96];}static get[_0x2037c3(0xc7)](){var _0x5d147e=_0x2037c3;return _0x5d147e(0xcb);}static get[_0x2037c3(0xcd)](){return!0x0;}static get[_0x2037c3(0xce)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x58c4(_0x2f88b1,_0x431748){const _0x19af94=_0x19af();return _0x58c4=function(_0x58c498,_0xfe78dc){_0x58c498=_0x58c498-0xe1;let _0x2cde0d=_0x19af94[_0x58c498];return _0x2cde0d;},_0x58c4(_0x2f88b1,_0x431748);}const _0x41097a=_0x58c4;function _0x19af(){const _0x1992cb=['from','config','requires','pluginName','1166603JeAHFc','_fetchMissingUsersForThreads','addToReconnectionStack','size','get','catch','update','editor','getMany','addUser','delete','add','isPremiumPlugin','listenTo','find','set','_bufferedRequests','TrackChangesEditing','hasSuggestion','getUser','isConnected','18WUFDax','cloud-services-internal-error:\x20Request\x20timeout.','adapter','2851373tAVpTp','values','startsWith','connect','open','init','_waitForServiceReady','1012110GbIJpU','collaboration.channelId','suggestionUpdated','3289064dsaAGy','state','_trackChangesService','2Kstbfq','connected','message','plugins','1445812nUcYhp','cloud-services-internal-error:\x20Not\x20connected.','TrackChangesService','_saved','attributes','CloudServicesTrackChangesAdapter','2445545AioFrO','off','reconnect','type','getSuggestion','connection','originalSuggestionId','data','isOfficialPlugin','addSuggestionData','24933933gWhmGh','then'];_0x19af=function(){return _0x1992cb;};return _0x19af();}(function(_0x43ec97,_0x4577c5){const _0x34a037=_0x58c4,_0xa8c15c=_0x43ec97();while(!![]){try{const _0x4653c5=-parseInt(_0x34a037(0xe2))/0x1*(parseInt(_0x34a037(0x107))/0x2)+parseInt(_0x34a037(0x101))/0x3+parseInt(_0x34a037(0x10b))/0x4+parseInt(_0x34a037(0x111))/0x5*(-parseInt(_0x34a037(0xf7))/0x6)+-parseInt(_0x34a037(0xfa))/0x7+parseInt(_0x34a037(0x104))/0x8+parseInt(_0x34a037(0x11b))/0x9;if(_0x4653c5===_0x4577c5)break;else _0xa8c15c['push'](_0xa8c15c['shift']());}catch(_0x231a32){_0xa8c15c['push'](_0xa8c15c['shift']());}}}(_0x19af,0xccdd4));import{Plugin as _0x26e7c7}from'ckeditor5/src/core.js';import{User as _0x1ecba1,TrackChangesService as _0x4e116e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x26041e}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2371d0}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xbcb3d5}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x26e7c7{static [_0x41097a(0x10d)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4e116e)());[_0x41097a(0xf2)];[_0x41097a(0x106)];static get[_0x41097a(0x11f)](){const _0x5b019a=_0x41097a;return[_0x2371d0,_0x5b019a(0xf3),_0x26041e];}static get[_0x41097a(0xe1)](){const _0x418683=_0x41097a;return _0x418683(0x110);}static get[_0x41097a(0x119)](){return!0x0;}static get[_0x41097a(0xee)](){return!0x0;}constructor(_0x130e25){const _0x4761c1=_0x41097a;super(_0x130e25);const _0x15b4ab=this[_0x4761c1(0xe9)][_0x4761c1(0x11e)][_0x4761c1(0xe6)](_0x4761c1(0x102));this[_0x4761c1(0xf2)]=new Map(),this[_0x4761c1(0x106)]=new CloudServicesTrackChangesAdapter[(_0x4761c1(0x10d))](_0x15b4ab);}[_0x41097a(0xff)](){const _0x3434db=_0x41097a,_0x2b73bb=this[_0x3434db(0xe9)][_0x3434db(0x10a)][_0x3434db(0xe6)](_0x26041e),_0x458559=this[_0x3434db(0xe9)][_0x3434db(0x10a)][_0x3434db(0xe6)](_0x3434db(0xf3));return _0x458559[_0x3434db(0xf9)]={'getSuggestion':async _0x443217=>{const _0x2d5d83=_0x3434db;await this[_0x2d5d83(0x100)]();const _0x39ddc4=await this[_0x2d5d83(0x106)][_0x2d5d83(0xe6)](_0x443217)[_0x2d5d83(0xe7)](A);return await this[_0x2d5d83(0xe3)]([_0x39ddc4]),_0x39ddc4;},'addSuggestion':async({id:_0x2bb8f1,type:_0x45500d,data:_0x34507d,originalSuggestionId:_0x58966a,attributes:_0x55dca4})=>{const _0x12bcb5=_0x3434db;await this[_0x12bcb5(0x100)]();const _0x4b0832={'id':_0x2bb8f1,'type':_0x45500d,'data':_0x34507d,'originalSuggestionId':_0x58966a,'attributes':_0x55dca4},_0x23100c=await this[_0x12bcb5(0x106)][_0x12bcb5(0xed)](_0x2bb8f1,_0x45500d,_0x34507d,_0x58966a,_0x55dca4)[_0x12bcb5(0xe7)](_0x2c82ad=>{if(b(_0x2c82ad))return new Promise(_0x52b4ab=>{const _0x1c59cb=_0x58c4;this[_0x1c59cb(0xf2)][_0x1c59cb(0xf1)](_0x2bb8f1,{'resolve':_0x52b4ab,'suggestionData':_0x4b0832});});throw _0x2c82ad;});return this[_0x12bcb5(0xf2)][_0x12bcb5(0xec)](_0x2bb8f1),_0x23100c;},'updateSuggestion':async(_0x39a471,_0xa7c8ec)=>{const _0x566ff3=_0x3434db;if(await this[_0x566ff3(0x100)](),_0x566ff3(0xfe)!==_0xa7c8ec[_0x566ff3(0x105)])return this[_0x566ff3(0x106)][_0x566ff3(0xe8)](_0x39a471,_0xa7c8ec)[_0x566ff3(0xe7)](A);}},this[_0x3434db(0xef)](this[_0x3434db(0x106)],_0x3434db(0x103),(_0x284fe7,_0x581fea)=>{const _0x27ac2b=_0x3434db;_0x458559[_0x27ac2b(0xf4)](_0x581fea['id'])&&(_0x458559[_0x27ac2b(0x115)](_0x581fea['id'])[_0x27ac2b(0x10f)]=_0x581fea[_0x27ac2b(0x10f)]);}),this[_0x3434db(0x106)][_0x3434db(0xfd)](_0x2b73bb[_0x3434db(0x116)])[_0x3434db(0x11c)](_0xbf123d=>(_0x2b73bb[_0x3434db(0xe4)](this),this[_0x3434db(0xe3)](_0xbf123d)[_0x3434db(0x11c)](()=>{const _0x5510ee=_0x3434db;for(const _0xf0f3a3 of _0xbf123d){_0x458559[_0x5510ee(0x11a)](_0xf0f3a3)[_0x5510ee(0x10e)]=!0x0;}})));}async[_0x41097a(0x113)](){const _0x298b47=_0x41097a,_0x203135=this[_0x298b47(0xe9)][_0x298b47(0x10a)][_0x298b47(0xe6)](_0x298b47(0xf3)),{connection:_0x1424a9}=this[_0x298b47(0xe9)][_0x298b47(0x10a)][_0x298b47(0xe6)](_0x26041e),_0x542d26=await this[_0x298b47(0x106)][_0x298b47(0xfd)](_0x1424a9);await this[_0x298b47(0xe3)](_0x542d26);for(const {suggestionData:_0x3803c2,resolve:_0x742801}of this[_0x298b47(0xf2)][_0x298b47(0xfb)]()){let _0x3ebbda=_0x542d26[_0x298b47(0xf0)](_0x3cec41=>_0x3cec41['id']===_0x3803c2['id']);_0x3ebbda||(_0x3ebbda=await this[_0x298b47(0x106)][_0x298b47(0xed)](_0x3803c2['id'],_0x3803c2[_0x298b47(0x114)],_0x3803c2[_0x298b47(0x118)],_0x3803c2[_0x298b47(0x117)])),_0x742801(_0x3ebbda);}for(const _0x1b1f1a of _0x542d26)_0x203135[_0x298b47(0xf4)](_0x1b1f1a['id'])||_0x203135[_0x298b47(0x11a)](_0x1b1f1a);}async[_0x41097a(0x100)](){const _0x5c6ff5=_0x41097a;this[_0x5c6ff5(0x106)][_0x5c6ff5(0xf6)]||await new Promise(_0x4f149d=>{const _0x14a24c=_0x5c6ff5;this[_0x14a24c(0xef)](this[_0x14a24c(0x106)],_0x14a24c(0x108),_0x142426=>{const _0x258c36=_0x14a24c;_0x142426[_0x258c36(0x112)](),_0x4f149d();});});}async[_0x41097a(0xe3)](_0x50e522){const _0x4b8aa5=_0x41097a,_0xff52a6=this[_0x4b8aa5(0xe9)][_0x4b8aa5(0x10a)][_0x4b8aa5(0xe6)](_0xbcb3d5),{connection:_0x14c15c}=this[_0x4b8aa5(0xe9)][_0x4b8aa5(0x10a)][_0x4b8aa5(0xe6)](_0x26041e),_0x4b376e=new Set();for(const {authorId:_0xef6633}of _0x50e522)_0xff52a6[_0x4b8aa5(0xf5)](_0xef6633)||_0x4b376e[_0x4b8aa5(0xed)](_0xef6633);if(0x0===_0x4b376e[_0x4b8aa5(0xe5)])return;const _0x500f3a=await _0x1ecba1[_0x4b8aa5(0xea)](_0x14c15c,Array[_0x4b8aa5(0x11d)](_0x4b376e));for(const _0x2bb3a5 of _0x500f3a)_0xff52a6[_0x4b8aa5(0xf5)](_0x2bb3a5['id'])||_0xff52a6[_0x4b8aa5(0xeb)](_0x2bb3a5);}}function A(_0x51e452){if(b(_0x51e452))return new Promise(()=>{});throw _0x51e452;}function b(_0x55fc70){const _0x45e890=_0x41097a;return _0x55fc70[_0x45e890(0x109)][_0x45e890(0xfc)](_0x45e890(0x10c))||_0x55fc70[_0x45e890(0x109)][_0x45e890(0xfc)](_0x45e890(0xf8));}
23
+ const _0x338d3a=_0x1b76;(function(_0x1efe68,_0x1a9cfa){const _0xc79ae5=_0x1b76,_0x1c34b3=_0x1efe68();while(!![]){try{const _0x31e8fc=-parseInt(_0xc79ae5(0x164))/0x1+parseInt(_0xc79ae5(0x157))/0x2+-parseInt(_0xc79ae5(0x140))/0x3+parseInt(_0xc79ae5(0x147))/0x4*(-parseInt(_0xc79ae5(0x148))/0x5)+-parseInt(_0xc79ae5(0x128))/0x6+parseInt(_0xc79ae5(0x154))/0x7*(parseInt(_0xc79ae5(0x14e))/0x8)+parseInt(_0xc79ae5(0x14b))/0x9*(parseInt(_0xc79ae5(0x14c))/0xa);if(_0x31e8fc===_0x1a9cfa)break;else _0x1c34b3['push'](_0x1c34b3['shift']());}catch(_0x3c8e4f){_0x1c34b3['push'](_0x1c34b3['shift']());}}}(_0x5967,0xafca9));import{Plugin as _0x3dc7ba}from'ckeditor5/src/core.js';import{User as _0x597f6b,TrackChangesService as _0x254db6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x5967(){const _0x808a91=['_fetchMissingUsersForThreads','connected','1310861zwwXBR','adapter','delete','addToReconnectionStack','5371098WcNYJj','getUser','_trackChangesService','addSuggestionData','hasSuggestion','isPremiumPlugin','plugins','pluginName','add','originalSuggestionId','_bufferedRequests','then','isConnected','CloudServicesTrackChangesAdapter','init','collaboration.channelId','requires','from','editor','get','connection','startsWith','getSuggestion','message','3589500raSKzy','cloud-services-internal-error:\x20Not\x20connected.','suggestionUpdated','attributes','TrackChangesEditing','size','connect','26036vPLjlU','95WQHhWB','values','_waitForServiceReady','63TcvjoE','2316590LgXgjk','listenTo','29168eOOIcM','off','addUser','open','state','TrackChangesService','2471JTizOT','cloud-services-internal-error:\x20Request\x20timeout.','update','2675210tYbGDN','data','isOfficialPlugin','catch','set','find','reconnect','_saved','type','config','getMany'];_0x5967=function(){return _0x808a91;};return _0x5967();}import{WebSocketGateway as _0x32c621}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xc1210d}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x231d67}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x3dc7ba{static [_0x338d3a(0x153)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x254db6)());[_0x338d3a(0x132)];[_0x338d3a(0x12a)];static get[_0x338d3a(0x138)](){const _0x298e7a=_0x338d3a;return[_0xc1210d,_0x298e7a(0x144),_0x32c621];}static get[_0x338d3a(0x12f)](){const _0x131dd0=_0x338d3a;return _0x131dd0(0x135);}static get[_0x338d3a(0x159)](){return!0x0;}static get[_0x338d3a(0x12d)](){return!0x0;}constructor(_0x5b85a6){const _0x245eb4=_0x338d3a;super(_0x5b85a6);const _0x171ced=this[_0x245eb4(0x13a)][_0x245eb4(0x160)][_0x245eb4(0x13b)](_0x245eb4(0x137));this[_0x245eb4(0x132)]=new Map(),this[_0x245eb4(0x12a)]=new CloudServicesTrackChangesAdapter[(_0x245eb4(0x153))](_0x171ced);}[_0x338d3a(0x136)](){const _0x1102d1=_0x338d3a,_0x4fc7e5=this[_0x1102d1(0x13a)][_0x1102d1(0x12e)][_0x1102d1(0x13b)](_0x32c621),_0xec49ff=this[_0x1102d1(0x13a)][_0x1102d1(0x12e)][_0x1102d1(0x13b)](_0x1102d1(0x144));return _0xec49ff[_0x1102d1(0x165)]={'getSuggestion':async _0x1141c5=>{const _0x18d732=_0x1102d1;await this[_0x18d732(0x14a)]();const _0x3e60a4=await this[_0x18d732(0x12a)][_0x18d732(0x13b)](_0x1141c5)[_0x18d732(0x15a)](N);return await this[_0x18d732(0x162)]([_0x3e60a4]),_0x3e60a4;},'addSuggestion':async({id:_0x14aa13,type:_0x291359,data:_0x19ab2f,originalSuggestionId:_0x36781c,attributes:_0x930dd8})=>{const _0x3d9d3e=_0x1102d1;await this[_0x3d9d3e(0x14a)]();const _0x1973b8={'id':_0x14aa13,'type':_0x291359,'data':_0x19ab2f,'originalSuggestionId':_0x36781c,'attributes':_0x930dd8},_0x442188=await this[_0x3d9d3e(0x12a)][_0x3d9d3e(0x130)](_0x14aa13,_0x291359,_0x19ab2f,_0x36781c,_0x930dd8)[_0x3d9d3e(0x15a)](_0x9a3657=>{if(st(_0x9a3657))return new Promise(_0x1d3823=>{const _0x2e8322=_0x1b76;this[_0x2e8322(0x132)][_0x2e8322(0x15b)](_0x14aa13,{'resolve':_0x1d3823,'suggestionData':_0x1973b8});});throw _0x9a3657;});return this[_0x3d9d3e(0x132)][_0x3d9d3e(0x166)](_0x14aa13),_0x442188;},'updateSuggestion':async(_0x516f65,_0x54401d)=>{const _0x5cb3e5=_0x1102d1;if(await this[_0x5cb3e5(0x14a)](),_0x5cb3e5(0x151)!==_0x54401d[_0x5cb3e5(0x152)])return this[_0x5cb3e5(0x12a)][_0x5cb3e5(0x156)](_0x516f65,_0x54401d)[_0x5cb3e5(0x15a)](N);}},this[_0x1102d1(0x14d)](this[_0x1102d1(0x12a)],_0x1102d1(0x142),(_0xd1f8ed,_0x6d92dd)=>{const _0x337ee3=_0x1102d1;_0xec49ff[_0x337ee3(0x12c)](_0x6d92dd['id'])&&(_0xec49ff[_0x337ee3(0x13e)](_0x6d92dd['id'])[_0x337ee3(0x143)]=_0x6d92dd[_0x337ee3(0x143)]);}),this[_0x1102d1(0x12a)][_0x1102d1(0x146)](_0x4fc7e5[_0x1102d1(0x13c)])[_0x1102d1(0x133)](_0x44de77=>(_0x4fc7e5[_0x1102d1(0x127)](this),this[_0x1102d1(0x162)](_0x44de77)[_0x1102d1(0x133)](()=>{const _0xdc72fd=_0x1102d1;for(const _0x5b1f90 of _0x44de77){_0xec49ff[_0xdc72fd(0x12b)](_0x5b1f90)[_0xdc72fd(0x15e)]=!0x0;}})));}async[_0x338d3a(0x15d)](){const _0x3bcb75=_0x338d3a,_0xaf5538=this[_0x3bcb75(0x13a)][_0x3bcb75(0x12e)][_0x3bcb75(0x13b)](_0x3bcb75(0x144)),{connection:_0x5e0adb}=this[_0x3bcb75(0x13a)][_0x3bcb75(0x12e)][_0x3bcb75(0x13b)](_0x32c621),_0x3fdd00=await this[_0x3bcb75(0x12a)][_0x3bcb75(0x146)](_0x5e0adb);await this[_0x3bcb75(0x162)](_0x3fdd00);for(const {suggestionData:_0x4906b4,resolve:_0x157c6f}of this[_0x3bcb75(0x132)][_0x3bcb75(0x149)]()){let _0x12f3b4=_0x3fdd00[_0x3bcb75(0x15c)](_0x99e2f7=>_0x99e2f7['id']===_0x4906b4['id']);_0x12f3b4||(_0x12f3b4=await this[_0x3bcb75(0x12a)][_0x3bcb75(0x130)](_0x4906b4['id'],_0x4906b4[_0x3bcb75(0x15f)],_0x4906b4[_0x3bcb75(0x158)],_0x4906b4[_0x3bcb75(0x131)])),_0x157c6f(_0x12f3b4);}for(const _0x553acb of _0x3fdd00)_0xaf5538[_0x3bcb75(0x12c)](_0x553acb['id'])||_0xaf5538[_0x3bcb75(0x12b)](_0x553acb);}async[_0x338d3a(0x14a)](){const _0x1a737c=_0x338d3a;this[_0x1a737c(0x12a)][_0x1a737c(0x134)]||await new Promise(_0x10b040=>{const _0x4f569b=_0x1a737c;this[_0x4f569b(0x14d)](this[_0x4f569b(0x12a)],_0x4f569b(0x163),_0x52959c=>{const _0x40bda9=_0x4f569b;_0x52959c[_0x40bda9(0x14f)](),_0x10b040();});});}async[_0x338d3a(0x162)](_0x2d83bf){const _0x294ada=_0x338d3a,_0x354af8=this[_0x294ada(0x13a)][_0x294ada(0x12e)][_0x294ada(0x13b)](_0x231d67),{connection:_0x63e68a}=this[_0x294ada(0x13a)][_0x294ada(0x12e)][_0x294ada(0x13b)](_0x32c621),_0x6471a5=new Set();for(const {authorId:_0x583fa8}of _0x2d83bf)_0x354af8[_0x294ada(0x129)](_0x583fa8)||_0x6471a5[_0x294ada(0x130)](_0x583fa8);if(0x0===_0x6471a5[_0x294ada(0x145)])return;const _0x438b45=await _0x597f6b[_0x294ada(0x161)](_0x63e68a,Array[_0x294ada(0x139)](_0x6471a5));for(const _0x25225 of _0x438b45)_0x354af8[_0x294ada(0x129)](_0x25225['id'])||_0x354af8[_0x294ada(0x150)](_0x25225);}}function N(_0x24793b){if(st(_0x24793b))return new Promise(()=>{});throw _0x24793b;}function _0x1b76(_0x5ddc12,_0x36e054){const _0x59678f=_0x5967();return _0x1b76=function(_0x1b76b4,_0x13d295){_0x1b76b4=_0x1b76b4-0x127;let _0x1f4c5a=_0x59678f[_0x1b76b4];return _0x1f4c5a;},_0x1b76(_0x5ddc12,_0x36e054);}function st(_0xfc20f9){const _0xa6f402=_0x338d3a;return _0xfc20f9[_0xa6f402(0x13f)][_0xa6f402(0x13d)](_0xa6f402(0x141))||_0xfc20f9[_0xa6f402(0x13f)][_0xa6f402(0x13d)](_0xa6f402(0x155));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ef8(){var _0x1adad1=['10538IaDllw','1125054kxahXe','314947cGSqhb','16BfSmQO','33545AuFLSg','TrackChanges','isPremiumPlugin','1749834jDRbOl','6wwgheC','49300WmxLzM','pluginName','requires','RealTimeCollaborativeTrackChanges','isOfficialPlugin','5290pYuXhD','1338qgOclh','4398492zMVmVv'];_0x1ef8=function(){return _0x1adad1;};return _0x1ef8();}var _0x422c18=_0x477e;(function(_0xdc6f72,_0x489c70){var _0x3b35d8=_0x477e,_0x935699=_0xdc6f72();while(!![]){try{var _0xeee2d6=parseInt(_0x3b35d8(0x12a))/0x1+-parseInt(_0x3b35d8(0x129))/0x2+-parseInt(_0x3b35d8(0x130))/0x3*(-parseInt(_0x3b35d8(0x131))/0x4)+parseInt(_0x3b35d8(0x12c))/0x5*(parseInt(_0x3b35d8(0x126))/0x6)+-parseInt(_0x3b35d8(0x127))/0x7+-parseInt(_0x3b35d8(0x12b))/0x8*(parseInt(_0x3b35d8(0x12f))/0x9)+-parseInt(_0x3b35d8(0x125))/0xa*(-parseInt(_0x3b35d8(0x128))/0xb);if(_0xeee2d6===_0x489c70)break;else _0x935699['push'](_0x935699['shift']());}catch(_0x31bc56){_0x935699['push'](_0x935699['shift']());}}}(_0x1ef8,0xba37f));import{Plugin as _0x1a0ccd}from'ckeditor5/src/core.js';function _0x477e(_0x1b614e,_0x51db0e){var _0x1ef8c6=_0x1ef8();return _0x477e=function(_0x477e9c,_0x171370){_0x477e9c=_0x477e9c-0x125;var _0x5f4a3c=_0x1ef8c6[_0x477e9c];return _0x5f4a3c;},_0x477e(_0x1b614e,_0x51db0e);}import{CloudServicesTrackChangesAdapter as _0xc8a32}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x32dca9}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x1a0ccd{static get[_0x422c18(0x133)](){var _0x5ac596=_0x422c18;return[_0x32dca9,_0xc8a32,_0x5ac596(0x12d)];}static get[_0x422c18(0x132)](){var _0x5660d5=_0x422c18;return _0x5660d5(0x134);}static get[_0x422c18(0x135)](){return!0x0;}static get[_0x422c18(0x12e)](){return!0x0;}}
23
+ var _0x205fbf=_0x2a78;(function(_0x44a6cc,_0x4c6783){var _0x4d675f=_0x2a78,_0x22bca4=_0x44a6cc();while(!![]){try{var _0x1175ec=-parseInt(_0x4d675f(0x76))/0x1+parseInt(_0x4d675f(0x73))/0x2+-parseInt(_0x4d675f(0x77))/0x3*(parseInt(_0x4d675f(0x75))/0x4)+parseInt(_0x4d675f(0x7d))/0x5*(parseInt(_0x4d675f(0x7b))/0x6)+-parseInt(_0x4d675f(0x7e))/0x7*(-parseInt(_0x4d675f(0x7a))/0x8)+-parseInt(_0x4d675f(0x82))/0x9*(parseInt(_0x4d675f(0x74))/0xa)+parseInt(_0x4d675f(0x7f))/0xb;if(_0x1175ec===_0x4c6783)break;else _0x22bca4['push'](_0x22bca4['shift']());}catch(_0x16e221){_0x22bca4['push'](_0x22bca4['shift']());}}}(_0x5d61,0xbcc45));import{Plugin as _0x571fd6}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2509dd}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x26c73b}from'./realtimecollaborativecomments.js';function _0x2a78(_0x4b306b,_0x21219f){var _0x5d6144=_0x5d61();return _0x2a78=function(_0x2a78a1,_0x4e9023){_0x2a78a1=_0x2a78a1-0x73;var _0xd1e461=_0x5d6144[_0x2a78a1];return _0xd1e461;},_0x2a78(_0x4b306b,_0x21219f);}function _0x5d61(){var _0x32c0e8=['5ydpNQf','600922REURJm','20814607sHNwJA','pluginName','TrackChanges','90KiYldh','RealTimeCollaborativeTrackChanges','168646PJdCSg','571350UxeSQN','244EKweIN','1397327ZnJpmI','47631dncADD','requires','isOfficialPlugin','72GViojN','5767134QIAsTO','isPremiumPlugin'];_0x5d61=function(){return _0x32c0e8;};return _0x5d61();}export class RealTimeCollaborativeTrackChanges extends _0x571fd6{static get[_0x205fbf(0x78)](){var _0x3d8464=_0x205fbf;return[_0x26c73b,_0x2509dd,_0x3d8464(0x81)];}static get[_0x205fbf(0x80)](){var _0x3be9eb=_0x205fbf;return _0x3be9eb(0x83);}static get[_0x205fbf(0x79)](){return!0x0;}static get[_0x205fbf(0x7c)](){return!0x0;}}