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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/real-time-collaboration.js +2 -2
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +14 -14
  150. package/src/common-translations.js +1 -1
  151. package/src/index.js +1 -1
  152. package/src/presencelist/presencelistui.js +1 -1
  153. package/src/presencelist/view/presencecounterview.js +1 -1
  154. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  156. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  158. package/src/presencelist/view/presencelistview.js +1 -1
  159. package/src/presencelist.js +1 -1
  160. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  161. package/src/realtimecollaborativecomments.js +1 -1
  162. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  163. package/src/realtimecollaborativeediting/sessions.js +1 -1
  164. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  165. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  166. package/src/realtimecollaborativeediting.js +1 -1
  167. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  168. package/src/realtimecollaborativerevisionhistory.js +1 -1
  169. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  170. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x278007=_0x4fea;(function(_0x34a24b,_0x3b913c){const _0x2da63e=_0x4fea,_0x2d8e72=_0x34a24b();while(!![]){try{const _0x5d4f17=-parseInt(_0x2da63e(0xc4))/0x1*(-parseInt(_0x2da63e(0xbb))/0x2)+-parseInt(_0x2da63e(0xcb))/0x3+parseInt(_0x2da63e(0xd6))/0x4+-parseInt(_0x2da63e(0xd4))/0x5+-parseInt(_0x2da63e(0xae))/0x6*(parseInt(_0x2da63e(0xc0))/0x7)+-parseInt(_0x2da63e(0xa8))/0x8+parseInt(_0x2da63e(0xe4))/0x9*(parseInt(_0x2da63e(0xd9))/0xa);if(_0x5d4f17===_0x3b913c)break;else _0x2d8e72['push'](_0x2d8e72['shift']());}catch(_0x20e621){_0x2d8e72['push'](_0x2d8e72['shift']());}}}(_0x1efb,0x21f46));import{ContextPlugin as _0x23a38b}from'ckeditor5/src/core.js';function _0x1efb(){const _0x371f32=['offline','config','13igKRaK','cloudservices-init','Connected\x20users\x20limit\x20exceeded','delete','DISCONNECTED','isOfficialPlugin','reconnect','793407oreNhA','define','cloudservices-reconnection-error','websocketgateway-missing-websocket-url','from','websocketgateway-plugin-already-registered','_reconnect','constructor','_reconnectionStack','380850JzcHAl','connection','173852OCwTsm','_domEmitter','removeFromReconnectionStack','875970mlnzXj','connect','CONNECTED','connected','online','then','WebSocketGateway','isPremiumPlugin','CloudServices','websocketgateway-invalid-plugin-interface','requires','45JpPnmL','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.','_shouldPluginsReconnect','real-time-collaboration','cloudServices.requestTimeout','set','addToReconnectionStack','bind','webSocketUrl','showWarning','context','change:me','plugins','function','1139240JjRaea','_isBrowserOffline','disconnect','pluginName','code','CONNECTING','713226bOAakr','init','add','error','cloudServices.connectionTimeout','limitExceeded','has','stopListening','all','destroy','state','token','listenTo','39930AFKdbt','isInReconnectionStack','catch','websocketgateway-missing-token','get','7adTSri','initialReconnectionInterval'];_0x1efb=function(){return _0x371f32;};return _0x1efb();}import{DomEmitterMixin as _0x589403,CKEditorError as _0x3c3087}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5b8d1a,WEB_SOCKET_GATEWAY_STATES as _0x203bdd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2ff692}from'ckeditor5/src/ui.js';class n extends _0x23a38b{static [_0x278007(0xdf)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5b8d1a)());static [_0x278007(0xc1)]=0x3e8;[_0x278007(0xd5)];[_0x278007(0xd3)];[_0x278007(0x9c)];[_0x278007(0xd7)];static get[_0x278007(0xe3)](){const _0x337b90=_0x278007;return[_0x337b90(0xe1),_0x2ff692];}static get[_0x278007(0xab)](){const _0x2e94d1=_0x278007;return _0x2e94d1(0xdf);}static get[_0x278007(0xc9)](){return!0x0;}static get[_0x278007(0xe0)](){return!0x0;}constructor(_0x1bd252){const _0x2b2a9f=_0x278007;super(_0x1bd252),this[_0x2b2a9f(0x9f)](_0x2b2a9f(0xb8),_0x203bdd[_0x2b2a9f(0xdb)]),this[_0x2b2a9f(0x9f)](_0x2b2a9f(0xa9),!0x1),this[_0x2b2a9f(0xd3)]=new Set(),this[_0x2b2a9f(0x9c)]=!0x1,this[_0x2b2a9f(0xd7)]=new(_0x589403())();}[_0x278007(0xaf)](){const _0x2e3eb6=_0x278007,_0x339ab7=this[_0x2e3eb6(0xa4)],_0x135922=_0x339ab7[_0x2e3eb6(0xa6)][_0x2e3eb6(0xbf)](_0x2e3eb6(0xe1)),_0x4c93ed=_0x339ab7[_0x2e3eb6(0xa6)][_0x2e3eb6(0xbf)](_0x2ff692);if(!_0x135922[_0x2e3eb6(0xb9)])throw new _0x3c3087(_0x2e3eb6(0xbe),this);if(!_0x135922[_0x2e3eb6(0xa2)])throw new _0x3c3087(_0x2e3eb6(0xce),this);return this[_0x2e3eb6(0xd7)][_0x2e3eb6(0xba)](window,_0x2e3eb6(0xc2),()=>this[_0x2e3eb6(0xa9)]=!0x0),this[_0x2e3eb6(0xd7)][_0x2e3eb6(0xba)](window,_0x2e3eb6(0xdd),()=>this[_0x2e3eb6(0xa9)]=!0x1),this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xcc)](_0x2e3eb6(0xb2),0xa),this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xcc)](_0x2e3eb6(0x9e),0x14),n[_0x2e3eb6(0xdf)][_0x2e3eb6(0xda)](_0x135922[_0x2e3eb6(0xb9)],_0x135922[_0x2e3eb6(0xa2)],{'timeout':0x3e8*this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xbf)](_0x2e3eb6(0xb2)),'requestTimeout':0x3e8*this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xbf)](_0x2e3eb6(0x9e))})[_0x2e3eb6(0xde)](_0x5e8301=>{const _0x9b9cec=_0x2e3eb6;if(this[_0x9b9cec(0xd5)]=_0x5e8301,this[_0x9b9cec(0xa1)](_0x9b9cec(0xb8))['to'](_0x5e8301,_0x9b9cec(0xb8),this,_0x9b9cec(0xa9),(_0x418e79,_0x242133)=>(_0x9b9cec(0xdc)!==_0x418e79&&(this[_0x9b9cec(0x9c)]=!0x0),_0x242133||_0x418e79!==_0x203bdd[_0x9b9cec(0xdb)]?_0x203bdd[_0x9b9cec(0xc8)]:this[_0x9b9cec(0xb8)]==_0x203bdd[_0x9b9cec(0xc8)]&&this[_0x9b9cec(0x9c)]?(this[_0x9b9cec(0x9c)]=!0x1,this[_0x9b9cec(0xd1)](),_0x203bdd[_0x9b9cec(0xad)]):_0x203bdd[_0x9b9cec(0xdb)])),this[_0x9b9cec(0xd5)]['on'](_0x9b9cec(0xb1),(_0x3c2db2,_0x42a8ad)=>{const _0x5b7018=_0x9b9cec;if(_0x5b7018(0xb3)!==_0x42a8ad[_0x5b7018(0xac)])throw console[_0x5b7018(0xb1)](_0x42a8ad),new _0x3c3087(_0x5b7018(0xc5),null,{'originalError':_0x42a8ad});_0x4c93ed[_0x5b7018(0xa3)](_0x5b7018(0xe5),{'title':_0x5b7018(0xc6),'namespace':_0x5b7018(0x9d)});}),!_0x5e8301['me'])return new Promise(_0xe0bb91=>_0x5e8301['on'](_0x9b9cec(0xa5),_0xe0bb91));})[_0x2e3eb6(0xbd)](_0x3e49d1=>{const _0x19e6ed=_0x2e3eb6;throw console[_0x19e6ed(0xb1)](_0x3e49d1),new _0x3c3087(_0x19e6ed(0xc5),null,{'originalError':_0x3e49d1});});}[_0x278007(0xa0)](_0x2351a7){const _0x274752=_0x278007;if(_0x274752(0xa7)!=typeof _0x2351a7[_0x274752(0xca)])throw new _0x3c3087(_0x274752(0xe2),this);if(this[_0x274752(0xbc)](_0x2351a7))throw new _0x3c3087(_0x274752(0xd0),this,{'name':_0x2351a7[_0x274752(0xd2)][_0x274752(0xab)]});this[_0x274752(0xd3)][_0x274752(0xb0)](_0x2351a7);}[_0x278007(0xd8)](_0x119ab1){const _0x42b8aa=_0x278007;this[_0x42b8aa(0xd3)][_0x42b8aa(0xc7)](_0x119ab1);}[_0x278007(0xbc)](_0x1c6e7e){const _0x45d152=_0x278007;return this[_0x45d152(0xd3)][_0x45d152(0xb4)](_0x1c6e7e);}[_0x278007(0xd1)](){const _0x3feca4=_0x278007;return this[_0x3feca4(0xd5)][_0x3feca4(0xca)]()[_0x3feca4(0xde)](()=>Promise[_0x3feca4(0xb6)](Array[_0x3feca4(0xcf)](this[_0x3feca4(0xd3)],_0x9b7991=>_0x9b7991[_0x3feca4(0xca)]())))[_0x3feca4(0xde)](()=>this[_0x3feca4(0xb8)]=_0x203bdd[_0x3feca4(0xdb)])[_0x3feca4(0xbd)](_0x11fac4=>{const _0x15197a=_0x3feca4;throw console[_0x15197a(0xb1)](_0x11fac4),new _0x3c3087(_0x15197a(0xcd),this[_0x15197a(0xa4)]);});}[_0x278007(0xaa)](){const _0x4a058e=_0x278007;this[_0x4a058e(0xd5)]&&this[_0x4a058e(0xd5)][_0x4a058e(0xaa)](),this[_0x4a058e(0xb8)]=_0x203bdd[_0x4a058e(0xc8)],this[_0x4a058e(0xd7)][_0x4a058e(0xb5)]();}[_0x278007(0xb7)](){const _0x6ad9e1=_0x278007;this[_0x6ad9e1(0xaa)](),super[_0x6ad9e1(0xb7)]();}}function _0x4fea(_0x3d6ccc,_0x56cbd3){const _0x1efbcf=_0x1efb();return _0x4fea=function(_0x4fea43,_0x1712f0){_0x4fea43=_0x4fea43-0x9c;let _0x2a1731=_0x1efbcf[_0x4fea43];return _0x2a1731;},_0x4fea(_0x3d6ccc,_0x56cbd3);}export{n as WebSocketGateway};
23
+ const _0x296705=_0x54c6;(function(_0x589d2b,_0xf25783){const _0x37b763=_0x54c6,_0x2bfdb6=_0x589d2b();while(!![]){try{const _0x58c2dd=parseInt(_0x37b763(0x12f))/0x1+-parseInt(_0x37b763(0x147))/0x2+-parseInt(_0x37b763(0x119))/0x3+-parseInt(_0x37b763(0x10b))/0x4+-parseInt(_0x37b763(0x14f))/0x5*(parseInt(_0x37b763(0x140))/0x6)+-parseInt(_0x37b763(0x13f))/0x7+parseInt(_0x37b763(0x141))/0x8;if(_0x58c2dd===_0xf25783)break;else _0x2bfdb6['push'](_0x2bfdb6['shift']());}catch(_0x4832f9){_0x2bfdb6['push'](_0x2bfdb6['shift']());}}}(_0xb811,0xd27ce));function _0xb811(){const _0x5417ea=['then','delete','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.','_domEmitter','Connected\x20users\x20limit\x20exceeded','pluginName','connection','init','offline','catch','WebSocketGateway','has','set','websocketgateway-missing-websocket-url','destroy','disconnect','DISCONNECTED','removeFromReconnectionStack','836163SHtIyR','requires','isOfficialPlugin','isInReconnectionStack','state','function','cloudServices.requestTimeout','_reconnectionStack','webSocketUrl','change:me','token','_shouldPluginsReconnect','constructor','plugins','stopListening','CONNECTING','9636858HVDGgM','174itBGyr','51702240qNHsFz','define','initialReconnectionInterval','connected','cloudservices-reconnection-error','limitExceeded','2778458WJWsNZ','addToReconnectionStack','add','from','showWarning','code','cloudservices-init','config','296160aPkDhX','online','isPremiumPlugin','real-time-collaboration','3604476rgQzuY','error','CloudServices','context','_isBrowserOffline','CONNECTED','websocketgateway-plugin-already-registered','connect','get','reconnect','websocketgateway-missing-token','bind','cloudServices.connectionTimeout','listenTo','3156045nDXfQY','_reconnect','websocketgateway-invalid-plugin-interface','all'];_0xb811=function(){return _0x5417ea;};return _0xb811();}import{ContextPlugin as _0x462dd5}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x366b52,CKEditorError as _0x58d3fe}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x105b5e,WEB_SOCKET_GATEWAY_STATES as _0x34b18c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1185f0}from'ckeditor5/src/ui.js';class n extends _0x462dd5{static [_0x296705(0x127)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x105b5e)());static [_0x296705(0x143)]=0x3e8;[_0x296705(0x123)];[_0x296705(0x136)];[_0x296705(0x13a)];[_0x296705(0x120)];static get[_0x296705(0x130)](){const _0x6f3a01=_0x296705;return[_0x6f3a01(0x10d),_0x1185f0];}static get[_0x296705(0x122)](){const _0x363b72=_0x296705;return _0x363b72(0x127);}static get[_0x296705(0x131)](){return!0x0;}static get[_0x296705(0x151)](){return!0x0;}constructor(_0x4fa3ac){const _0xc17f83=_0x296705;super(_0x4fa3ac),this[_0xc17f83(0x129)](_0xc17f83(0x133),_0x34b18c[_0xc17f83(0x110)]),this[_0xc17f83(0x129)](_0xc17f83(0x10f),!0x1),this[_0xc17f83(0x136)]=new Set(),this[_0xc17f83(0x13a)]=!0x1,this[_0xc17f83(0x120)]=new(_0x366b52())();}[_0x296705(0x124)](){const _0x4fe647=_0x296705,_0x4d504d=this[_0x4fe647(0x10e)],_0x3caafc=_0x4d504d[_0x4fe647(0x13c)][_0x4fe647(0x113)](_0x4fe647(0x10d)),_0xf00fc4=_0x4d504d[_0x4fe647(0x13c)][_0x4fe647(0x113)](_0x1185f0);if(!_0x3caafc[_0x4fe647(0x139)])throw new _0x58d3fe(_0x4fe647(0x115),this);if(!_0x3caafc[_0x4fe647(0x137)])throw new _0x58d3fe(_0x4fe647(0x12a),this);return this[_0x4fe647(0x120)][_0x4fe647(0x118)](window,_0x4fe647(0x125),()=>this[_0x4fe647(0x10f)]=!0x0),this[_0x4fe647(0x120)][_0x4fe647(0x118)](window,_0x4fe647(0x150),()=>this[_0x4fe647(0x10f)]=!0x1),this[_0x4fe647(0x10e)][_0x4fe647(0x14e)][_0x4fe647(0x142)](_0x4fe647(0x117),0xa),this[_0x4fe647(0x10e)][_0x4fe647(0x14e)][_0x4fe647(0x142)](_0x4fe647(0x135),0x14),n[_0x4fe647(0x127)][_0x4fe647(0x112)](_0x3caafc[_0x4fe647(0x139)],_0x3caafc[_0x4fe647(0x137)],{'timeout':0x3e8*this[_0x4fe647(0x10e)][_0x4fe647(0x14e)][_0x4fe647(0x113)](_0x4fe647(0x117)),'requestTimeout':0x3e8*this[_0x4fe647(0x10e)][_0x4fe647(0x14e)][_0x4fe647(0x113)](_0x4fe647(0x135))})[_0x4fe647(0x11d)](_0x3a8c18=>{const _0x1d4531=_0x4fe647;if(this[_0x1d4531(0x123)]=_0x3a8c18,this[_0x1d4531(0x116)](_0x1d4531(0x133))['to'](_0x3a8c18,_0x1d4531(0x133),this,_0x1d4531(0x10f),(_0x4a9bfe,_0x23944c)=>(_0x1d4531(0x144)!==_0x4a9bfe&&(this[_0x1d4531(0x13a)]=!0x0),_0x23944c||_0x4a9bfe!==_0x34b18c[_0x1d4531(0x110)]?_0x34b18c[_0x1d4531(0x12d)]:this[_0x1d4531(0x133)]==_0x34b18c[_0x1d4531(0x12d)]&&this[_0x1d4531(0x13a)]?(this[_0x1d4531(0x13a)]=!0x1,this[_0x1d4531(0x11a)](),_0x34b18c[_0x1d4531(0x13e)]):_0x34b18c[_0x1d4531(0x110)])),this[_0x1d4531(0x123)]['on'](_0x1d4531(0x10c),(_0x255279,_0x5bff93)=>{const _0x20d63f=_0x1d4531;if(_0x20d63f(0x146)!==_0x5bff93[_0x20d63f(0x14c)])throw console[_0x20d63f(0x10c)](_0x5bff93),new _0x58d3fe(_0x20d63f(0x14d),null,{'originalError':_0x5bff93});_0xf00fc4[_0x20d63f(0x14b)](_0x20d63f(0x11f),{'title':_0x20d63f(0x121),'namespace':_0x20d63f(0x10a)});}),!_0x3a8c18['me'])return new Promise(_0x729cd=>_0x3a8c18['on'](_0x1d4531(0x138),_0x729cd));})[_0x4fe647(0x126)](_0x41bbb4=>{const _0x4ef419=_0x4fe647;throw console[_0x4ef419(0x10c)](_0x41bbb4),new _0x58d3fe(_0x4ef419(0x14d),null,{'originalError':_0x41bbb4});});}[_0x296705(0x148)](_0x20248f){const _0x3c5524=_0x296705;if(_0x3c5524(0x134)!=typeof _0x20248f[_0x3c5524(0x114)])throw new _0x58d3fe(_0x3c5524(0x11b),this);if(this[_0x3c5524(0x132)](_0x20248f))throw new _0x58d3fe(_0x3c5524(0x111),this,{'name':_0x20248f[_0x3c5524(0x13b)][_0x3c5524(0x122)]});this[_0x3c5524(0x136)][_0x3c5524(0x149)](_0x20248f);}[_0x296705(0x12e)](_0xf345ec){const _0x192053=_0x296705;this[_0x192053(0x136)][_0x192053(0x11e)](_0xf345ec);}[_0x296705(0x132)](_0x442e1c){const _0x1538a0=_0x296705;return this[_0x1538a0(0x136)][_0x1538a0(0x128)](_0x442e1c);}[_0x296705(0x11a)](){const _0x461ce0=_0x296705;return this[_0x461ce0(0x123)][_0x461ce0(0x114)]()[_0x461ce0(0x11d)](()=>Promise[_0x461ce0(0x11c)](Array[_0x461ce0(0x14a)](this[_0x461ce0(0x136)],_0xe9e0a9=>_0xe9e0a9[_0x461ce0(0x114)]())))[_0x461ce0(0x11d)](()=>this[_0x461ce0(0x133)]=_0x34b18c[_0x461ce0(0x110)])[_0x461ce0(0x126)](_0x23a235=>{const _0x341197=_0x461ce0;throw console[_0x341197(0x10c)](_0x23a235),new _0x58d3fe(_0x341197(0x145),this[_0x341197(0x10e)]);});}[_0x296705(0x12c)](){const _0x52a0bb=_0x296705;this[_0x52a0bb(0x123)]&&this[_0x52a0bb(0x123)][_0x52a0bb(0x12c)](),this[_0x52a0bb(0x133)]=_0x34b18c[_0x52a0bb(0x12d)],this[_0x52a0bb(0x120)][_0x52a0bb(0x13d)]();}[_0x296705(0x12b)](){const _0x5618f8=_0x296705;this[_0x5618f8(0x12c)](),super[_0x5618f8(0x12b)]();}}function _0x54c6(_0x5b229,_0x458449){const _0xb811df=_0xb811();return _0x54c6=function(_0x54c693,_0x2760d2){_0x54c693=_0x54c693-0x10a;let _0x40917f=_0xb811df[_0x54c693];return _0x40917f;},_0x54c6(_0x5b229,_0x458449);}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x111006=_0x144b;function _0x144b(_0x365d60,_0x45c41d){var _0x282fac=_0x282f();return _0x144b=function(_0x144bc9,_0x558a4e){_0x144bc9=_0x144bc9-0x1cc;var _0x501385=_0x282fac[_0x144bc9];return _0x501385;},_0x144b(_0x365d60,_0x45c41d);}(function(_0xf3a96a,_0x51116c){var _0xdecaf=_0x144b,_0x4fc2ea=_0xf3a96a();while(!![]){try{var _0x27bc8e=parseInt(_0xdecaf(0x1d9))/0x1*(-parseInt(_0xdecaf(0x1d0))/0x2)+-parseInt(_0xdecaf(0x1db))/0x3*(-parseInt(_0xdecaf(0x1d1))/0x4)+parseInt(_0xdecaf(0x1d2))/0x5+-parseInt(_0xdecaf(0x1da))/0x6*(parseInt(_0xdecaf(0x1d8))/0x7)+parseInt(_0xdecaf(0x1d6))/0x8*(-parseInt(_0xdecaf(0x1d7))/0x9)+parseInt(_0xdecaf(0x1dc))/0xa*(-parseInt(_0xdecaf(0x1ce))/0xb)+parseInt(_0xdecaf(0x1d5))/0xc;if(_0x27bc8e===_0x51116c)break;else _0x4fc2ea['push'](_0x4fc2ea['shift']());}catch(_0x9894d2){_0x4fc2ea['push'](_0x4fc2ea['shift']());}}}(_0x282f,0xcec89));function _0x282f(){var _0x5b7430=['requires','1906724uFjEtF','2000hHronj','4081545KYnsSj','RealTimeCollaborativeEditing','pluginName','30923268cOCWyT','568OZaglw','167211WbnSlj','77qHHwxr','1FkXnNG','259002ftKRce','10086CZURQK','50xUFooA','isPremiumPlugin','isOfficialPlugin','3255901WdDmxL'];_0x282f=function(){return _0x5b7430;};return _0x282f();}import{Plugin as _0x3d1395}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x50ae46}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x3d1395{static get[_0x111006(0x1cf)](){return[_0x50ae46];}static get[_0x111006(0x1d4)](){var _0x157d29=_0x111006;return _0x157d29(0x1d3);}static get[_0x111006(0x1cd)](){return!0x0;}static get[_0x111006(0x1cc)](){return!0x0;}}
23
+ function _0x29da(_0x1eca60,_0x4995ad){var _0x37fa6b=_0x37fa();return _0x29da=function(_0x29da85,_0x25f839){_0x29da85=_0x29da85-0x1ba;var _0x10ad1c=_0x37fa6b[_0x29da85];return _0x10ad1c;},_0x29da(_0x1eca60,_0x4995ad);}var _0xa12825=_0x29da;function _0x37fa(){var _0x3ff98e=['11432MWuLQv','isOfficialPlugin','requires','120hlTbwS','RealTimeCollaborativeEditing','4863085VaFRhj','397179xyRDdv','2313412MdCoQs','43231203ZSumPC','8481696RrNAql','pluginName','966Zwyiag','isPremiumPlugin','85372QWzSTU'];_0x37fa=function(){return _0x3ff98e;};return _0x37fa();}(function(_0x86fded,_0x17db96){var _0x1720d7=_0x29da,_0x1b6e98=_0x86fded();while(!![]){try{var _0x3df157=parseInt(_0x1720d7(0x1c0))/0x1+-parseInt(_0x1720d7(0x1c1))/0x2+parseInt(_0x1720d7(0x1c5))/0x3*(-parseInt(_0x1720d7(0x1ba))/0x4)+-parseInt(_0x1720d7(0x1bf))/0x5+-parseInt(_0x1720d7(0x1c3))/0x6+-parseInt(_0x1720d7(0x1c7))/0x7*(-parseInt(_0x1720d7(0x1bd))/0x8)+parseInt(_0x1720d7(0x1c2))/0x9;if(_0x3df157===_0x17db96)break;else _0x1b6e98['push'](_0x1b6e98['shift']());}catch(_0x435935){_0x1b6e98['push'](_0x1b6e98['shift']());}}}(_0x37fa,0xe0b33));import{Plugin as _0x4b812e}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2fb2a3}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x4b812e{static get[_0xa12825(0x1bc)](){return[_0x2fb2a3];}static get[_0xa12825(0x1c4)](){var _0x1a6372=_0xa12825;return _0x1a6372(0x1be);}static get[_0xa12825(0x1bb)](){return!0x0;}static get[_0xa12825(0x1c6)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x111c3b=_0x390c;(function(_0x4d915d,_0x27f2f6){const _0x44a290=_0x390c,_0x1b58be=_0x4d915d();while(!![]){try{const _0x1621c1=parseInt(_0x44a290(0x19d))/0x1*(-parseInt(_0x44a290(0x1b6))/0x2)+-parseInt(_0x44a290(0x18e))/0x3+parseInt(_0x44a290(0x169))/0x4*(-parseInt(_0x44a290(0x18f))/0x5)+parseInt(_0x44a290(0x1c4))/0x6*(-parseInt(_0x44a290(0x1a8))/0x7)+parseInt(_0x44a290(0x184))/0x8*(-parseInt(_0x44a290(0x1bc))/0x9)+parseInt(_0x44a290(0x195))/0xa*(parseInt(_0x44a290(0x1c1))/0xb)+parseInt(_0x44a290(0x170))/0xc;if(_0x1621c1===_0x27f2f6)break;else _0x1b58be['push'](_0x1b58be['shift']());}catch(_0x4085c8){_0x1b58be['push'](_0x1b58be['shift']());}}}(_0x36b2,0x61438));import{Plugin as _0x84a0f4}from'ckeditor5/src/core.js';function _0x36b2(){const _0x474f71=['buildRevisionData','CONNECTED','isConnected','serverHistory','_handleReconnectionError','change:_isConnected','reInit','_bufferUpdate','_offset','toVersion','length','sessionId','connected','addRevisionData','message','cloud-services-internal-error:\x20Request\x20timeout.','_fixRevision','_waitForServiceReady','8oMUgQz','remove','fromVersion','plugins','editor','type','collaboration.channelId','18523080DBOaMW','once','affectsData','init','getMany','connection','_startingVersion','_createCurrentRevision','cloud-services-internal-error:\x20Not\x20connected.','setSource','data','requires','_fetchMissingUsers','off','_revisionTracker','_revisionHistoryService','isOfficialPlugin','reverse','_isPendingUpdate','size','379112uWeFUU','RevisionHistory','add','getOperations','map','_handleRevisionsUpdate','setRevisionData','_preventResendingRevisionData','revisionsUpdated','updateRevisions','1661508pCqmZk','1071330YAkhMa','then','creatorId','pluginName','from','_revisions','1887190BkRcRL','_bufferedUpdates','catch','get','change:_isPendingUpdate','_oldOffset','isBundleUploaded','getUser','311EPphGv','keys','baseVersion','startsWith','addToReconnectionStack','max','isPremiumPlugin','_isConnected','getRevision','bind','has','757876nGdXvx','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','sendBufferedUpdates','RevisionTracker','getRevisions','_update','_getLatestVersion','state','cloudServices.bundleVersion','isEnabled','listenTo','diffData','RevisionHistoryService','_revisionDataBuilder','2468LDkIbk','wrongRequestId','_lastRequestId','isEmptyCurrent','repository','authors','45QuHCbN','reconnect','createdAt','adapter','code','33WFdjcc','marker','addUser','6JowHwj','destroy','400','CloudServicesRevisionHistoryAdapter','config','_getLatestVersionFromServerOperations','connect','authorsIds','currentRevision'];_0x36b2=function(){return _0x474f71;};return _0x36b2();}import{version as _0x2267fc}from'ckeditor5/src/utils.js';import{Users as _0x38764b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x390c(_0x1463db,_0x4c2209){const _0x36b2ef=_0x36b2();return _0x390c=function(_0x390c05,_0x3f741b){_0x390c05=_0x390c05-0x153;let _0x404233=_0x36b2ef[_0x390c05];return _0x404233;},_0x390c(_0x1463db,_0x4c2209);}import{RealTimeCollaborationClient as _0x59f2c4}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x3caa24}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4e4e6d}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x303f9a,RevisionHistoryService as _0x44aae6,User as _0x2f8856,WEB_SOCKET_GATEWAY_STATES as _0x409a5d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x84a0f4{static [_0x111c3b(0x1b4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x44aae6)());[_0x111c3b(0x1b8)];[_0x111c3b(0x17e)];[_0x111c3b(0x17f)];[_0x111c3b(0x19a)];static get[_0x111c3b(0x17b)](){const _0x5da788=_0x111c3b;return[_0x3caa24,_0x59f2c4,_0x5da788(0x185),_0x4e4e6d,_0x38764b];}static get[_0x111c3b(0x192)](){const _0x3ab4a5=_0x111c3b;return _0x3ab4a5(0x1c7);}static get[_0x111c3b(0x180)](){return!0x0;}static get[_0x111c3b(0x1a3)](){return!0x0;}constructor(_0x198f74){const _0x31e7d7=_0x111c3b;super(_0x198f74);const _0x5ed334=this[_0x31e7d7(0x16d)][_0x31e7d7(0x1c8)][_0x31e7d7(0x198)](_0x31e7d7(0x16f));this[_0x31e7d7(0x1b8)]=null,this[_0x31e7d7(0x17e)]=this[_0x31e7d7(0x16d)][_0x31e7d7(0x16c)][_0x31e7d7(0x198)](_0x31e7d7(0x1ab)),this[_0x31e7d7(0x17f)]=new c[(_0x31e7d7(0x1b4))](_0x5ed334);}async[_0x111c3b(0x173)](){const _0x4cee6d=_0x111c3b,_0x2798ad=this[_0x4cee6d(0x16d)][_0x4cee6d(0x16c)][_0x4cee6d(0x198)](_0x59f2c4),_0x20d752=_0x2798ad[_0x4cee6d(0x15a)],_0x36dae1=this[_0x4cee6d(0x16d)][_0x4cee6d(0x16c)][_0x4cee6d(0x198)](_0x3caa24);this[_0x4cee6d(0x17e)][_0x4cee6d(0x179)]({'history':_0x20d752,'getLatestVersion':()=>this[_0x4cee6d(0x1ae)](),'getCurrentRevisionId':()=>_0x2798ad[_0x4cee6d(0x162)]});const _0x59512f=this[_0x4cee6d(0x16d)][_0x4cee6d(0x1c8)][_0x4cee6d(0x198)](_0x4cee6d(0x1b0))||_0x2267fc,_0x3b1da4=await _0x303f9a[_0x4cee6d(0x19b)](_0x36dae1[_0x4cee6d(0x175)],_0x59512f);this[_0x4cee6d(0x16d)][_0x4cee6d(0x16c)][_0x4cee6d(0x198)](_0x4cee6d(0x185))[_0x4cee6d(0x1bf)]={'getRevision':async({revisionId:_0x24d4c9})=>(await this[_0x4cee6d(0x168)](),await this[_0x4cee6d(0x17f)][_0x4cee6d(0x1a5)](_0x24d4c9)),'updateRevisions':async _0x4bc82c=>{const _0x5537a8=_0x4cee6d;await this[_0x5537a8(0x168)]();const _0x565d0a=this[_0x5537a8(0x17e)][_0x5537a8(0x156)];if(_0x3b1da4&&0x1===_0x4bc82c[_0x5537a8(0x161)]&&_0x4bc82c[0x0]['id']===_0x565d0a['id'])return _0x4bc82c;for(const _0x3f9b80 of _0x4bc82c)_0x3f9b80['id']===_0x565d0a['id']&&(_0x3f9b80[_0x5537a8(0x1b9)]=_0x3f9b80[_0x5537a8(0x16b)]===_0x3f9b80[_0x5537a8(0x160)]);return this[_0x5537a8(0x17f)][_0x5537a8(0x18d)](_0x4bc82c,this[_0x5537a8(0x1b8)])[_0x5537a8(0x190)](_0x231be0=>(this[_0x5537a8(0x1b8)]=_0x231be0,_0x4bc82c))[_0x5537a8(0x197)](_0x308455=>{const _0x24eab1=_0x5537a8;if(q(_0x308455)||_0x24eab1(0x1c6)===_0x308455[_0x24eab1(0x1c0)]&&void 0x0!==_0x308455[_0x24eab1(0x17a)][_0x24eab1(0x1b7)]){for(const _0x228b82 of _0x4bc82c){!this[_0x24eab1(0x17e)][_0x24eab1(0x1ba)][_0x24eab1(0x1a5)](_0x228b82['id'])||this[_0x24eab1(0x17e)][_0x24eab1(0x15e)](_0x228b82['id'],_0x228b82,!0x1);}if(q(_0x308455))throw _0x308455;return _0x4bc82c;}throw _0x308455;});}},this[_0x4cee6d(0x1b2)](this[_0x4cee6d(0x17f)],_0x4cee6d(0x18c),(_0x470155,{revisionsData:_0x58db94,requestId:_0x180640})=>{const _0x30dd17=_0x4cee6d;Math[_0x30dd17(0x1a2)](..._0x58db94[_0x30dd17(0x188)](_0x442692=>_0x442692[_0x30dd17(0x160)]))>this[_0x30dd17(0x153)]()-0x1?this[_0x30dd17(0x1ae)]()[_0x30dd17(0x190)](()=>{const _0x69e4c1=_0x30dd17;this[_0x69e4c1(0x189)](_0x58db94,_0x180640);}):this[_0x30dd17(0x189)](_0x58db94,_0x180640);});const {revisions:_0x3e4d1e,requestId:_0x1c4348}=await this[_0x4cee6d(0x17f)][_0x4cee6d(0x154)](_0x36dae1[_0x4cee6d(0x175)]);_0x36dae1[_0x4cee6d(0x1a1)](this),this[_0x4cee6d(0x1b8)]=_0x1c4348,await this[_0x4cee6d(0x17c)](_0x3e4d1e);for(const _0x4f9004 of _0x3e4d1e)this[_0x4cee6d(0x17e)][_0x4cee6d(0x164)](_0x4f9004);this[_0x4cee6d(0x1b2)](_0x2798ad,_0x4cee6d(0x15c),(_0x108aca,_0x419899,_0x50200e)=>{const _0x3d3830=_0x4cee6d;_0x50200e&&(this[_0x3d3830(0x19a)]=_0x2798ad[_0x3d3830(0x15f)],_0x108aca[_0x3d3830(0x17d)]());}),this[_0x4cee6d(0x17e)][_0x4cee6d(0x1a6)](_0x4cee6d(0x1b1))['to'](_0x36dae1,_0x4cee6d(0x1af),_0xfdac86=>_0xfdac86===_0x409a5d[_0x4cee6d(0x158)]);}async[_0x111c3b(0x1bd)](){const _0x199152=_0x111c3b,_0x4726bf=this[_0x199152(0x16d)][_0x199152(0x16c)][_0x199152(0x198)](_0x3caa24),_0x121b68=this[_0x199152(0x16d)][_0x199152(0x16c)][_0x199152(0x198)](_0x59f2c4),_0x99966=async()=>{const _0x21dc89=_0x199152,_0x3a8100=this[_0x21dc89(0x17e)][_0x21dc89(0x156)],_0x1ed3e7=_0x3a8100['id'],_0x1a727a=_0x1ed3e7!==_0x121b68[_0x21dc89(0x162)];if(_0x1a727a){const _0x56d2a9=_0x121b68[_0x21dc89(0x15f)]-this[_0x21dc89(0x19a)],_0xee87d9=this[_0x21dc89(0x153)]();this[_0x21dc89(0x17e)][_0x21dc89(0x1b5)][_0x21dc89(0x15d)]();if(_0x3a8100[_0x21dc89(0x160)]+_0x56d2a9!==_0xee87d9){const _0x20332c=_0x3a8100[_0x21dc89(0x16b)]+_0x56d2a9,_0x102637=this[_0x21dc89(0x16d)][_0x21dc89(0x16c)][_0x21dc89(0x198)](_0x38764b),_0xee270f=this[_0x21dc89(0x17e)][_0x21dc89(0x157)]({'revision':_0x3a8100,'from':_0x20332c,'to':_0xee87d9});_0xee270f['id']=_0x3a8100['id'];const _0x378b44=_0xee270f[_0x21dc89(0x155)][_0x21dc89(0x188)](_0x12367e=>_0x102637[_0x21dc89(0x19c)](_0x12367e));_0x3a8100[_0x21dc89(0x1ad)]({..._0xee270f,'authors':_0x378b44},!0x0),this[_0x21dc89(0x17e)][_0x21dc89(0x15e)](_0x3a8100['id'],_0xee270f,!0x0);}this[_0x21dc89(0x17e)][_0x21dc89(0x176)]=_0xee87d9,(_0x3a8100[_0x21dc89(0x160)]===_0x3a8100[_0x21dc89(0x16b)]&&!this[_0x21dc89(0x17e)][_0x21dc89(0x196)][_0x21dc89(0x1a7)](_0x1ed3e7)&&this[_0x21dc89(0x17e)][_0x21dc89(0x1ba)][_0x21dc89(0x194)][_0x21dc89(0x16a)](_0x1ed3e7),this[_0x21dc89(0x17e)][_0x21dc89(0x177)](_0xee87d9));}const {revisions:_0x249336,requestId:_0x1f98e7}=await this[_0x21dc89(0x17f)][_0x21dc89(0x1bd)](_0x4726bf[_0x21dc89(0x175)],this[_0x21dc89(0x1b8)]);_0x1a727a&&_0x249336[_0x21dc89(0x161)]>0x0?_0x121b68[_0x21dc89(0x15b)]():(await this[_0x21dc89(0x17c)](_0x249336),this[_0x21dc89(0x189)](_0x249336,_0x1f98e7),this[_0x21dc89(0x17e)][_0x21dc89(0x1aa)]());};return _0x121b68[_0x199152(0x1a4)]?_0x99966():new Promise((_0x3640f6,_0x4f0d4c)=>{const _0x1bba30=_0x199152;_0x121b68[_0x1bba30(0x171)](_0x1bba30(0x15c),()=>{const _0x433cb6=_0x1bba30;_0x99966()[_0x433cb6(0x190)](_0x3640f6)[_0x433cb6(0x197)](_0x4f0d4c);});});}[_0x111c3b(0x1c5)](){const _0x48442d=_0x111c3b;super[_0x48442d(0x1c5)]();}async[_0x111c3b(0x168)](){const _0x1ef8a8=_0x111c3b;this[_0x1ef8a8(0x17f)][_0x1ef8a8(0x159)]||await new Promise(_0x260c25=>{const _0x1f01c3=_0x1ef8a8;this[_0x1f01c3(0x1b2)](this[_0x1f01c3(0x17f)],_0x1f01c3(0x163),_0x33347e=>{const _0x4a59af=_0x1f01c3;_0x33347e[_0x4a59af(0x17d)](),_0x260c25();});});}[_0x111c3b(0x153)](){const _0x849781=_0x111c3b,_0x3a6fdd=this[_0x849781(0x16d)][_0x849781(0x16c)][_0x849781(0x198)](_0x59f2c4)[_0x849781(0x15a)][_0x849781(0x187)]()[_0x849781(0x181)]();for(const _0x55659e of _0x3a6fdd)if(_0x849781(0x1c2)!==_0x55659e[_0x849781(0x16e)]||_0x55659e[_0x849781(0x172)])return _0x55659e[_0x849781(0x19f)]+0x1;}[_0x111c3b(0x1ae)](){const _0x3218bd=_0x111c3b,_0x1ceaae=this[_0x3218bd(0x16d)][_0x3218bd(0x16c)][_0x3218bd(0x198)](_0x59f2c4);return new Promise(_0x324dc3=>{const _0x564c24=_0x3218bd;_0x1ceaae[_0x564c24(0x182)]?_0x1ceaae[_0x564c24(0x171)](_0x564c24(0x199),()=>{const _0x4f7a56=_0x564c24;_0x324dc3(this[_0x4f7a56(0x153)]());}):_0x324dc3(this[_0x564c24(0x153)]());});}[_0x111c3b(0x189)](_0x1626f2,_0x1fa771){const _0x1e4607=_0x111c3b,_0x1180f0=this[_0x1e4607(0x17e)][_0x1e4607(0x1ba)];this[_0x1e4607(0x1b8)]=_0x1fa771;for(const _0xdb96ec of _0x1626f2){const _0x53fcf1=_0x1180f0[_0x1e4607(0x1a5)](_0xdb96ec['id']);if(_0x53fcf1){if((_0xdb96ec[_0x1e4607(0x16b)]||_0xdb96ec[_0x1e4607(0x160)])&&(_0xdb96ec[_0x1e4607(0x1b3)]=null),_0x53fcf1===this[_0x1e4607(0x17e)][_0x1e4607(0x156)]){const _0x59f102=Math[_0x1e4607(0x1a2)](_0x53fcf1[_0x1e4607(0x160)],_0xdb96ec[_0x1e4607(0x160)]),_0x72ae59=Math[_0x1e4607(0x1a2)](_0x53fcf1[_0x1e4607(0x16b)],_0xdb96ec[_0x1e4607(0x16b)]);let _0x1c2262;_0x53fcf1[_0x1e4607(0x160)]===_0xdb96ec[_0x1e4607(0x160)]&&_0x53fcf1[_0x1e4607(0x16b)]===_0xdb96ec[_0x1e4607(0x16b)]?(_0x1c2262=!0x0,this[_0x1e4607(0x18b)](_0xdb96ec)):_0xdb96ec[_0x1e4607(0x160)]===_0x59f102&&_0xdb96ec[_0x1e4607(0x16b)]===_0x72ae59?_0x1c2262=!0x1:(_0x53fcf1[_0x1e4607(0x160)]===_0x59f102&&_0x53fcf1[_0x1e4607(0x16b)]===_0x72ae59||this[_0x1e4607(0x167)]({'revision':_0x53fcf1,'from':_0x72ae59,'to':_0x59f102}),_0x1c2262=!0x0),_0x1c2262&&(delete _0xdb96ec[_0x1e4607(0x16b)],delete _0xdb96ec[_0x1e4607(0x160)],delete _0xdb96ec[_0x1e4607(0x1b3)],delete _0xdb96ec[_0x1e4607(0x1be)],delete _0xdb96ec[_0x1e4607(0x155)]);}this[_0x1e4607(0x17e)][_0x1e4607(0x18a)](_0xdb96ec),this[_0x1e4607(0x18b)](_0xdb96ec);}else this[_0x1e4607(0x17e)][_0x1e4607(0x164)](_0xdb96ec);}const _0x44e02a=_0x1180f0[_0x1e4607(0x1ac)]();_0x44e02a[_0x1e4607(0x181)]();for(let _0x492e3c=0x0;_0x492e3c<_0x44e02a[_0x1e4607(0x161)]-0x1;_0x492e3c++){const _0x3e0393=_0x44e02a[_0x492e3c],_0x692f3=_0x44e02a[_0x492e3c+0x1];if(_0x3e0393[_0x1e4607(0x16b)]<_0x692f3[_0x1e4607(0x160)]){const _0x2980c7=_0x692f3[_0x1e4607(0x160)],_0xa00e28=Math[_0x1e4607(0x1a2)](_0x2980c7,_0x3e0393[_0x1e4607(0x160)]);this[_0x1e4607(0x167)]({'revision':_0x3e0393,'from':_0x2980c7,'to':_0xa00e28});}}}[_0x111c3b(0x167)]({revision:_0x5dec03,from:_0x43ae15,to:_0x284bea}={}){const _0x35fd6c=_0x111c3b,_0x230e76=this[_0x35fd6c(0x16d)][_0x35fd6c(0x16c)][_0x35fd6c(0x198)](_0x38764b),_0x3b43e0=this[_0x35fd6c(0x17e)][_0x35fd6c(0x157)]({'revision':_0x5dec03,'from':_0x43ae15,'to':_0x284bea});_0x3b43e0[_0x35fd6c(0x1bb)]=_0x3b43e0[_0x35fd6c(0x155)][_0x35fd6c(0x188)](_0x3f629f=>_0x230e76[_0x35fd6c(0x19c)](_0x3f629f)),_0x5dec03[_0x35fd6c(0x1ad)](_0x3b43e0);}[_0x111c3b(0x18b)](_0x23fec4){const _0xd85583=_0x111c3b,_0x152a4e={};_0x152a4e['id']=_0x23fec4['id'];for(const _0x390a79 of Object[_0xd85583(0x19e)](_0x23fec4))'id'!==_0x390a79&&(_0x152a4e[_0x390a79]=void 0x0);this[_0xd85583(0x17e)][_0xd85583(0x15e)](_0x152a4e['id'],_0x152a4e,!0x0);}async[_0x111c3b(0x17c)](_0x3bfabf){const _0x5b31b4=_0x111c3b,_0x543291=this[_0x5b31b4(0x16d)][_0x5b31b4(0x16c)][_0x5b31b4(0x198)](_0x38764b),{connection:_0x3c76eb}=this[_0x5b31b4(0x16d)][_0x5b31b4(0x16c)][_0x5b31b4(0x198)](_0x3caa24),_0x40c488=new Set();for(const _0x5c3d25 of _0x3bfabf){for(const _0x473152 of _0x5c3d25[_0x5b31b4(0x155)])_0x2971dd(_0x473152);_0x5c3d25[_0x5b31b4(0x191)]&&_0x2971dd(_0x5c3d25[_0x5b31b4(0x191)]);}if(0x0===_0x40c488[_0x5b31b4(0x183)])return;const _0x30dc17=await _0x2f8856[_0x5b31b4(0x174)](_0x3c76eb,Array[_0x5b31b4(0x193)](_0x40c488));for(const _0x383f82 of _0x30dc17)_0x543291[_0x5b31b4(0x19c)](_0x383f82['id'])||_0x543291[_0x5b31b4(0x1c3)](_0x383f82);function _0x2971dd(_0x4c6bf9){const _0x2e7fc8=_0x5b31b4;_0x543291[_0x2e7fc8(0x19c)](_0x4c6bf9)||_0x40c488[_0x2e7fc8(0x186)](_0x4c6bf9);}}}export{c as CloudServicesRevisionHistoryAdapter};function q(_0x238b22){const _0x1ad963=_0x111c3b;return _0x238b22[_0x1ad963(0x165)][_0x1ad963(0x1a0)](_0x1ad963(0x1a9))||_0x238b22[_0x1ad963(0x165)][_0x1ad963(0x1a0)](_0x1ad963(0x178))||_0x238b22[_0x1ad963(0x165)][_0x1ad963(0x1a0)](_0x1ad963(0x166));}
23
+ const _0x4576ae=_0x52b3;function _0x2039(){const _0x605ace=['_isConnected','reverse','connection','3753129BuVniu','469687QeYHWh','_revisionDataBuilder','get','editor','_bufferedUpdates','collaboration.channelId','4162110kTBwuM','_waitForServiceReady','400','requires','getUser','bind','isPremiumPlugin','_getLatestVersion','isOfficialPlugin','reInit','RevisionHistory','_isPendingUpdate','listenTo','_fixRevision','getMany','sessionId','_handleRevisionsUpdate','add','max','sendBufferedUpdates','code','revisionsUpdated','setRevisionData','adapter','remove','cloud-services-internal-error:\x20Not\x20connected.','_oldOffset','serverHistory','keys','baseVersion','RevisionTracker','connect','authors','456wlHHqG','reconnect','setSource','message','length','_getLatestVersionFromServerOperations','wrongRequestId','authorsIds','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','data','1583604yRmJVO','_preventResendingRevisionData','size','has','_offset','_revisionTracker','isConnected','pluginName','init','_handleReconnectionError','createdAt','change:_isConnected','connected','updateRevisions','destroy','22946PLqmnh','repository','isBundleUploaded','map','_fetchMissingUsers','_revisions','CONNECTED','diffData','3500puLBMs','state','fromVersion','toVersion','marker','currentRevision','once','_lastRequestId','getRevisions','catch','isEnabled','25221654RgandL','addUser','buildRevisionData','addToReconnectionStack','config','cloud-services-internal-error:\x20Request\x20timeout.','_createCurrentRevision','change:_isPendingUpdate','_startingVersion','RevisionHistoryService','isEmptyCurrent','then','startsWith','off','2fmQkim','_update','cloudServices.bundleVersion','affectsData','CloudServicesRevisionHistoryAdapter','getOperations','plugins','_revisionHistoryService','getRevision','type','from','_bufferUpdate','creatorId','addRevisionData'];_0x2039=function(){return _0x605ace;};return _0x2039();}(function(_0x4f9bc3,_0x4acb71){const _0x8a2772=_0x52b3,_0x19eef8=_0x4f9bc3();while(!![]){try{const _0x4c7349=parseInt(_0x8a2772(0xe1))/0x1*(parseInt(_0x8a2772(0xcf))/0x2)+-parseInt(_0x8a2772(0xe0))/0x3+-parseInt(_0x8a2772(0xb6))/0x4+-parseInt(_0x8a2772(0xe7))/0x5+-parseInt(_0x8a2772(0x9f))/0x6+-parseInt(_0x8a2772(0xae))/0x7*(parseInt(_0x8a2772(0x95))/0x8)+parseInt(_0x8a2772(0xc1))/0x9;if(_0x4c7349===_0x4acb71)break;else _0x19eef8['push'](_0x19eef8['shift']());}catch(_0x51e5c0){_0x19eef8['push'](_0x19eef8['shift']());}}}(_0x2039,0xb3ecd));import{Plugin as _0xe088d7}from'ckeditor5/src/core.js';function _0x52b3(_0x4d049b,_0x38dbcd){const _0x203954=_0x2039();return _0x52b3=function(_0x52b31b,_0x4faa59){_0x52b31b=_0x52b31b-0x7b;let _0x80089a=_0x203954[_0x52b31b];return _0x80089a;},_0x52b3(_0x4d049b,_0x38dbcd);}import{version as _0xe8d34f}from'ckeditor5/src/utils.js';import{Users as _0x51a371}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x10b417}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x345567}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x2b8d8b}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1355b6,RevisionHistoryService as _0x12a04e,User as _0x142dc0,WEB_SOCKET_GATEWAY_STATES as _0x1e29df}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0xe088d7{static [_0x4576ae(0xca)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x12a04e)());[_0x4576ae(0xbd)];[_0x4576ae(0xa4)];[_0x4576ae(0xd6)];[_0x4576ae(0x8e)];static get[_0x4576ae(0xea)](){const _0x487f1d=_0x4576ae;return[_0x345567,_0x10b417,_0x487f1d(0x7e),_0x2b8d8b,_0x51a371];}static get[_0x4576ae(0xa6)](){const _0x2e57e1=_0x4576ae;return _0x2e57e1(0xd3);}static get[_0x4576ae(0x7c)](){return!0x0;}static get[_0x4576ae(0xed)](){return!0x0;}constructor(_0x2c7c25){const _0x5dde68=_0x4576ae;super(_0x2c7c25);const _0x4b8f30=this[_0x5dde68(0xe4)][_0x5dde68(0xc5)][_0x5dde68(0xe3)](_0x5dde68(0xe6));this[_0x5dde68(0xbd)]=null,this[_0x5dde68(0xa4)]=this[_0x5dde68(0xe4)][_0x5dde68(0xd5)][_0x5dde68(0xe3)](_0x5dde68(0x92)),this[_0x5dde68(0xd6)]=new c[(_0x5dde68(0xca))](_0x4b8f30);}async[_0x4576ae(0xa7)](){const _0x3a6387=_0x4576ae,_0x1e12ef=this[_0x3a6387(0xe4)][_0x3a6387(0xd5)][_0x3a6387(0xe3)](_0x10b417),_0x3bc7e6=_0x1e12ef[_0x3a6387(0x8f)],_0xa60ebe=this[_0x3a6387(0xe4)][_0x3a6387(0xd5)][_0x3a6387(0xe3)](_0x345567);this[_0x3a6387(0xa4)][_0x3a6387(0x97)]({'history':_0x3bc7e6,'getLatestVersion':()=>this[_0x3a6387(0x7b)](),'getCurrentRevisionId':()=>_0x1e12ef[_0x3a6387(0x83)]});const _0x263ddc=this[_0x3a6387(0xe4)][_0x3a6387(0xc5)][_0x3a6387(0xe3)](_0x3a6387(0xd1))||_0xe8d34f,_0x3394c2=await _0x1355b6[_0x3a6387(0xb0)](_0xa60ebe[_0x3a6387(0xdf)],_0x263ddc);this[_0x3a6387(0xe4)][_0x3a6387(0xd5)][_0x3a6387(0xe3)](_0x3a6387(0x7e))[_0x3a6387(0x8b)]={'getRevision':async({revisionId:_0x4b5dca})=>(await this[_0x3a6387(0xe8)](),await this[_0x3a6387(0xd6)][_0x3a6387(0xd7)](_0x4b5dca)),'updateRevisions':async _0x1df173=>{const _0x210335=_0x3a6387;await this[_0x210335(0xe8)]();const _0x2d2613=this[_0x210335(0xa4)][_0x210335(0xbb)];if(_0x3394c2&&0x1===_0x1df173[_0x210335(0x99)]&&_0x1df173[0x0]['id']===_0x2d2613['id'])return _0x1df173;for(const _0xe9d62f of _0x1df173)_0xe9d62f['id']===_0x2d2613['id']&&(_0xe9d62f[_0x210335(0xcb)]=_0xe9d62f[_0x210335(0xb8)]===_0xe9d62f[_0x210335(0xb9)]);return this[_0x210335(0xd6)][_0x210335(0xac)](_0x1df173,this[_0x210335(0xbd)])[_0x210335(0xcc)](_0x2821c0=>(this[_0x210335(0xbd)]=_0x2821c0,_0x1df173))[_0x210335(0xbf)](_0x474e80=>{const _0x138ce4=_0x210335;if(q(_0x474e80)||_0x138ce4(0xe9)===_0x474e80[_0x138ce4(0x88)]&&void 0x0!==_0x474e80[_0x138ce4(0x9e)][_0x138ce4(0x9b)]){for(const _0x196f34 of _0x1df173){!this[_0x138ce4(0xa4)][_0x138ce4(0xaf)][_0x138ce4(0xd7)](_0x196f34['id'])||this[_0x138ce4(0xa4)][_0x138ce4(0xda)](_0x196f34['id'],_0x196f34,!0x1);}if(q(_0x474e80))throw _0x474e80;return _0x1df173;}throw _0x474e80;});}},this[_0x3a6387(0x80)](this[_0x3a6387(0xd6)],_0x3a6387(0x89),(_0x465824,{revisionsData:_0x2b8713,requestId:_0x2c0073})=>{const _0x58dbbc=_0x3a6387;Math[_0x58dbbc(0x86)](..._0x2b8713[_0x58dbbc(0xb1)](_0x401dbd=>_0x401dbd[_0x58dbbc(0xb9)]))>this[_0x58dbbc(0x9a)]()-0x1?this[_0x58dbbc(0x7b)]()[_0x58dbbc(0xcc)](()=>{const _0x26d9b6=_0x58dbbc;this[_0x26d9b6(0x84)](_0x2b8713,_0x2c0073);}):this[_0x58dbbc(0x84)](_0x2b8713,_0x2c0073);});const {revisions:_0x51af77,requestId:_0x11aa3b}=await this[_0x3a6387(0xd6)][_0x3a6387(0x93)](_0xa60ebe[_0x3a6387(0xdf)]);_0xa60ebe[_0x3a6387(0xc4)](this),this[_0x3a6387(0xbd)]=_0x11aa3b,await this[_0x3a6387(0xb2)](_0x51af77);for(const _0x2d073d of _0x51af77)this[_0x3a6387(0xa4)][_0x3a6387(0xdc)](_0x2d073d);this[_0x3a6387(0x80)](_0x1e12ef,_0x3a6387(0xaa),(_0x56c36d,_0x1d448b,_0x1a0083)=>{const _0x3f7f50=_0x3a6387;_0x1a0083&&(this[_0x3f7f50(0x8e)]=_0x1e12ef[_0x3f7f50(0xa3)],_0x56c36d[_0x3f7f50(0xce)]());}),this[_0x3a6387(0xa4)][_0x3a6387(0xec)](_0x3a6387(0xc0))['to'](_0xa60ebe,_0x3a6387(0xb7),_0x49422a=>_0x49422a===_0x1e29df[_0x3a6387(0xb4)]);}async[_0x4576ae(0x96)](){const _0x596d3c=_0x4576ae,_0x375eaa=this[_0x596d3c(0xe4)][_0x596d3c(0xd5)][_0x596d3c(0xe3)](_0x345567),_0xd0256b=this[_0x596d3c(0xe4)][_0x596d3c(0xd5)][_0x596d3c(0xe3)](_0x10b417),_0x23ec3f=async()=>{const _0x534e43=_0x596d3c,_0x47e590=this[_0x534e43(0xa4)][_0x534e43(0xbb)],_0xc5089=_0x47e590['id'],_0x539fe5=_0xc5089!==_0xd0256b[_0x534e43(0x83)];if(_0x539fe5){const _0xf9be15=_0xd0256b[_0x534e43(0xa3)]-this[_0x534e43(0x8e)],_0x5a47e5=this[_0x534e43(0x9a)]();this[_0x534e43(0xa4)][_0x534e43(0xe2)][_0x534e43(0x7d)]();if(_0x47e590[_0x534e43(0xb9)]+_0xf9be15!==_0x5a47e5){const _0x2e8758=_0x47e590[_0x534e43(0xb8)]+_0xf9be15,_0x46bab6=this[_0x534e43(0xe4)][_0x534e43(0xd5)][_0x534e43(0xe3)](_0x51a371),_0x475ded=this[_0x534e43(0xa4)][_0x534e43(0xc3)]({'revision':_0x47e590,'from':_0x2e8758,'to':_0x5a47e5});_0x475ded['id']=_0x47e590['id'];const _0x5e52bf=_0x475ded[_0x534e43(0x9c)][_0x534e43(0xb1)](_0x9b434b=>_0x46bab6[_0x534e43(0xeb)](_0x9b434b));_0x47e590[_0x534e43(0xd0)]({..._0x475ded,'authors':_0x5e52bf},!0x0),this[_0x534e43(0xa4)][_0x534e43(0xda)](_0x47e590['id'],_0x475ded,!0x0);}this[_0x534e43(0xa4)][_0x534e43(0xc9)]=_0x5a47e5,(_0x47e590[_0x534e43(0xb9)]===_0x47e590[_0x534e43(0xb8)]&&!this[_0x534e43(0xa4)][_0x534e43(0xe5)][_0x534e43(0xa2)](_0xc5089)&&this[_0x534e43(0xa4)][_0x534e43(0xaf)][_0x534e43(0xb3)][_0x534e43(0x8c)](_0xc5089),this[_0x534e43(0xa4)][_0x534e43(0xc7)](_0x5a47e5));}const {revisions:_0x17e894,requestId:_0x14f08e}=await this[_0x534e43(0xd6)][_0x534e43(0x96)](_0x375eaa[_0x534e43(0xdf)],this[_0x534e43(0xbd)]);_0x539fe5&&_0x17e894[_0x534e43(0x99)]>0x0?_0xd0256b[_0x534e43(0xa8)]():(await this[_0x534e43(0xb2)](_0x17e894),this[_0x534e43(0x84)](_0x17e894,_0x14f08e),this[_0x534e43(0xa4)][_0x534e43(0x87)]());};return _0xd0256b[_0x596d3c(0xdd)]?_0x23ec3f():new Promise((_0x4d664a,_0x2c30f1)=>{const _0x323579=_0x596d3c;_0xd0256b[_0x323579(0xbc)](_0x323579(0xaa),()=>{const _0xb3d726=_0x323579;_0x23ec3f()[_0xb3d726(0xcc)](_0x4d664a)[_0xb3d726(0xbf)](_0x2c30f1);});});}[_0x4576ae(0xad)](){const _0x265673=_0x4576ae;super[_0x265673(0xad)]();}async[_0x4576ae(0xe8)](){const _0x3590c5=_0x4576ae;this[_0x3590c5(0xd6)][_0x3590c5(0xa5)]||await new Promise(_0x41b6e8=>{const _0x495273=_0x3590c5;this[_0x495273(0x80)](this[_0x495273(0xd6)],_0x495273(0xab),_0x4951f6=>{const _0x1096d1=_0x495273;_0x4951f6[_0x1096d1(0xce)](),_0x41b6e8();});});}[_0x4576ae(0x9a)](){const _0xc11d15=_0x4576ae,_0x533d5a=this[_0xc11d15(0xe4)][_0xc11d15(0xd5)][_0xc11d15(0xe3)](_0x10b417)[_0xc11d15(0x8f)][_0xc11d15(0xd4)]()[_0xc11d15(0xde)]();for(const _0x7f6ac8 of _0x533d5a)if(_0xc11d15(0xba)!==_0x7f6ac8[_0xc11d15(0xd8)]||_0x7f6ac8[_0xc11d15(0xd2)])return _0x7f6ac8[_0xc11d15(0x91)]+0x1;}[_0x4576ae(0x7b)](){const _0x21e468=_0x4576ae,_0x332377=this[_0x21e468(0xe4)][_0x21e468(0xd5)][_0x21e468(0xe3)](_0x10b417);return new Promise(_0x2ee943=>{const _0x4b807d=_0x21e468;_0x332377[_0x4b807d(0x7f)]?_0x332377[_0x4b807d(0xbc)](_0x4b807d(0xc8),()=>{const _0xd7547d=_0x4b807d;_0x2ee943(this[_0xd7547d(0x9a)]());}):_0x2ee943(this[_0x4b807d(0x9a)]());});}[_0x4576ae(0x84)](_0x14c8d4,_0x33e7b6){const _0x41beea=_0x4576ae,_0x50c7f2=this[_0x41beea(0xa4)][_0x41beea(0xaf)];this[_0x41beea(0xbd)]=_0x33e7b6;for(const _0x8e936b of _0x14c8d4){const _0x253021=_0x50c7f2[_0x41beea(0xd7)](_0x8e936b['id']);if(_0x253021){if((_0x8e936b[_0x41beea(0xb8)]||_0x8e936b[_0x41beea(0xb9)])&&(_0x8e936b[_0x41beea(0xb5)]=null),_0x253021===this[_0x41beea(0xa4)][_0x41beea(0xbb)]){const _0x20549f=Math[_0x41beea(0x86)](_0x253021[_0x41beea(0xb9)],_0x8e936b[_0x41beea(0xb9)]),_0x42a3c4=Math[_0x41beea(0x86)](_0x253021[_0x41beea(0xb8)],_0x8e936b[_0x41beea(0xb8)]);let _0x299229;_0x253021[_0x41beea(0xb9)]===_0x8e936b[_0x41beea(0xb9)]&&_0x253021[_0x41beea(0xb8)]===_0x8e936b[_0x41beea(0xb8)]?(_0x299229=!0x0,this[_0x41beea(0xa0)](_0x8e936b)):_0x8e936b[_0x41beea(0xb9)]===_0x20549f&&_0x8e936b[_0x41beea(0xb8)]===_0x42a3c4?_0x299229=!0x1:(_0x253021[_0x41beea(0xb9)]===_0x20549f&&_0x253021[_0x41beea(0xb8)]===_0x42a3c4||this[_0x41beea(0x81)]({'revision':_0x253021,'from':_0x42a3c4,'to':_0x20549f}),_0x299229=!0x0),_0x299229&&(delete _0x8e936b[_0x41beea(0xb8)],delete _0x8e936b[_0x41beea(0xb9)],delete _0x8e936b[_0x41beea(0xb5)],delete _0x8e936b[_0x41beea(0xa9)],delete _0x8e936b[_0x41beea(0x9c)]);}this[_0x41beea(0xa4)][_0x41beea(0x8a)](_0x8e936b),this[_0x41beea(0xa0)](_0x8e936b);}else this[_0x41beea(0xa4)][_0x41beea(0xdc)](_0x8e936b);}const _0x1e2f14=_0x50c7f2[_0x41beea(0xbe)]();_0x1e2f14[_0x41beea(0xde)]();for(let _0x6bc491=0x0;_0x6bc491<_0x1e2f14[_0x41beea(0x99)]-0x1;_0x6bc491++){const _0xd2fd12=_0x1e2f14[_0x6bc491],_0x50c1f5=_0x1e2f14[_0x6bc491+0x1];if(_0xd2fd12[_0x41beea(0xb8)]<_0x50c1f5[_0x41beea(0xb9)]){const _0x1a3ba6=_0x50c1f5[_0x41beea(0xb9)],_0x130371=Math[_0x41beea(0x86)](_0x1a3ba6,_0xd2fd12[_0x41beea(0xb9)]);this[_0x41beea(0x81)]({'revision':_0xd2fd12,'from':_0x1a3ba6,'to':_0x130371});}}}[_0x4576ae(0x81)]({revision:_0x114422,from:_0x5acd50,to:_0x486d56}={}){const _0x6bc4e4=_0x4576ae,_0xc8cba9=this[_0x6bc4e4(0xe4)][_0x6bc4e4(0xd5)][_0x6bc4e4(0xe3)](_0x51a371),_0x302c7f=this[_0x6bc4e4(0xa4)][_0x6bc4e4(0xc3)]({'revision':_0x114422,'from':_0x5acd50,'to':_0x486d56});_0x302c7f[_0x6bc4e4(0x94)]=_0x302c7f[_0x6bc4e4(0x9c)][_0x6bc4e4(0xb1)](_0x3b7f81=>_0xc8cba9[_0x6bc4e4(0xeb)](_0x3b7f81)),_0x114422[_0x6bc4e4(0xd0)](_0x302c7f);}[_0x4576ae(0xa0)](_0x1cebba){const _0x2238b5=_0x4576ae,_0x5e3ce1={};_0x5e3ce1['id']=_0x1cebba['id'];for(const _0xee4296 of Object[_0x2238b5(0x90)](_0x1cebba))'id'!==_0xee4296&&(_0x5e3ce1[_0xee4296]=void 0x0);this[_0x2238b5(0xa4)][_0x2238b5(0xda)](_0x5e3ce1['id'],_0x5e3ce1,!0x0);}async[_0x4576ae(0xb2)](_0x5b24ed){const _0x2b87eb=_0x4576ae,_0x31eb8b=this[_0x2b87eb(0xe4)][_0x2b87eb(0xd5)][_0x2b87eb(0xe3)](_0x51a371),{connection:_0x6bb2bc}=this[_0x2b87eb(0xe4)][_0x2b87eb(0xd5)][_0x2b87eb(0xe3)](_0x345567),_0x33f744=new Set();for(const _0x387872 of _0x5b24ed){for(const _0xea5dc6 of _0x387872[_0x2b87eb(0x9c)])_0x4b0991(_0xea5dc6);_0x387872[_0x2b87eb(0xdb)]&&_0x4b0991(_0x387872[_0x2b87eb(0xdb)]);}if(0x0===_0x33f744[_0x2b87eb(0xa1)])return;const _0x458868=await _0x142dc0[_0x2b87eb(0x82)](_0x6bb2bc,Array[_0x2b87eb(0xd9)](_0x33f744));for(const _0x2f8ec2 of _0x458868)_0x31eb8b[_0x2b87eb(0xeb)](_0x2f8ec2['id'])||_0x31eb8b[_0x2b87eb(0xc2)](_0x2f8ec2);function _0x4b0991(_0x496440){const _0x5b5459=_0x2b87eb;_0x31eb8b[_0x5b5459(0xeb)](_0x496440)||_0x33f744[_0x5b5459(0x85)](_0x496440);}}}export{c as CloudServicesRevisionHistoryAdapter};function q(_0x2424cc){const _0x1c54c0=_0x4576ae;return _0x2424cc[_0x1c54c0(0x98)][_0x1c54c0(0xcd)](_0x1c54c0(0x9d))||_0x2424cc[_0x1c54c0(0x98)][_0x1c54c0(0xcd)](_0x1c54c0(0x8d))||_0x2424cc[_0x1c54c0(0x98)][_0x1c54c0(0xcd)](_0x1c54c0(0xc6));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b73(_0x2a3f28,_0x26397e){var _0x382f25=_0x382f();return _0x3b73=function(_0x3b73e8,_0x392b85){_0x3b73e8=_0x3b73e8-0x161;var _0x371d67=_0x382f25[_0x3b73e8];return _0x371d67;},_0x3b73(_0x2a3f28,_0x26397e);}var _0xeddcef=_0x3b73;(function(_0x696a3,_0x562bfa){var _0x2c5224=_0x3b73,_0x4af2e1=_0x696a3();while(!![]){try{var _0x21d3b3=parseInt(_0x2c5224(0x165))/0x1+-parseInt(_0x2c5224(0x168))/0x2+parseInt(_0x2c5224(0x167))/0x3*(-parseInt(_0x2c5224(0x16b))/0x4)+-parseInt(_0x2c5224(0x16e))/0x5+parseInt(_0x2c5224(0x164))/0x6+-parseInt(_0x2c5224(0x163))/0x7*(parseInt(_0x2c5224(0x161))/0x8)+parseInt(_0x2c5224(0x162))/0x9;if(_0x21d3b3===_0x562bfa)break;else _0x4af2e1['push'](_0x4af2e1['shift']());}catch(_0x2919f9){_0x4af2e1['push'](_0x4af2e1['shift']());}}}(_0x382f,0x781d0));import{Plugin as _0x599376}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x26fc64}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x382f(){var _0x493468=['4715298YunoSO','825763wOETgX','RealTimeCollaborativeRevisionHistory','3yCGohI','82038jiqcRc','isPremiumPlugin','RevisionHistory','536804OBBkwM','isOfficialPlugin','pluginName','3531295tOtvmV','requires','8vCckcF','4115520SDBEkc','4868241VxEAKy'];_0x382f=function(){return _0x493468;};return _0x382f();}import{RealTimeCollaborativeEditing as _0x1a2a76}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x599376{static get[_0xeddcef(0x16f)](){var _0x33b10c=_0xeddcef;return[_0x33b10c(0x16a),_0x26fc64,_0x1a2a76];}static get[_0xeddcef(0x16d)](){var _0x18c710=_0xeddcef;return _0x18c710(0x166);}static get[_0xeddcef(0x16c)](){return!0x0;}static get[_0xeddcef(0x169)](){return!0x0;}}
23
+ function _0x132d(){var _0x46c6ed=['31336okKHBI','558tpgonl','49698960RMdurn','3137553mCrnKO','RealTimeCollaborativeRevisionHistory','1635953HwvIfq','927pqrZJg','10024Uglpny','RevisionHistory','requires','193430rWrnCF','5CRlJYe','isPremiumPlugin','pluginName','7025020IcwYqt','isOfficialPlugin'];_0x132d=function(){return _0x46c6ed;};return _0x132d();}var _0x270f71=_0x5c2a;(function(_0x4df5de,_0x3486c7){var _0x306e94=_0x5c2a,_0x44d57d=_0x4df5de();while(!![]){try{var _0x50d838=-parseInt(_0x306e94(0xd2))/0x1+-parseInt(_0x306e94(0xd7))/0x2+-parseInt(_0x306e94(0xd0))/0x3+-parseInt(_0x306e94(0xcb))/0x4*(parseInt(_0x306e94(0xd8))/0x5)+-parseInt(_0x306e94(0xce))/0x6*(-parseInt(_0x306e94(0xd4))/0x7)+-parseInt(_0x306e94(0xcd))/0x8*(-parseInt(_0x306e94(0xd3))/0x9)+parseInt(_0x306e94(0xcf))/0xa;if(_0x50d838===_0x3486c7)break;else _0x44d57d['push'](_0x44d57d['shift']());}catch(_0x2257e7){_0x44d57d['push'](_0x44d57d['shift']());}}}(_0x132d,0xed3e5));import{Plugin as _0x4a1582}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x19443c}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x294a51}from'./realtimecollaborativeediting.js';function _0x5c2a(_0x5019b6,_0x373078){var _0x132dfb=_0x132d();return _0x5c2a=function(_0x5c2a16,_0x463fca){_0x5c2a16=_0x5c2a16-0xca;var _0x510c60=_0x132dfb[_0x5c2a16];return _0x510c60;},_0x5c2a(_0x5019b6,_0x373078);}export class RealTimeCollaborativeRevisionHistory extends _0x4a1582{static get[_0x270f71(0xd6)](){var _0x17937f=_0x270f71;return[_0x17937f(0xd5),_0x19443c,_0x294a51];}static get[_0x270f71(0xca)](){var _0x22e2dc=_0x270f71;return _0x22e2dc(0xd1);}static get[_0x270f71(0xcc)](){return!0x0;}static get[_0x270f71(0xd9)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cc7c0=_0x2ac2;(function(_0x3122a3,_0x2b1a3a){const _0x5a539c=_0x2ac2,_0x3a2164=_0x3122a3();while(!![]){try{const _0x473338=-parseInt(_0x5a539c(0x197))/0x1+-parseInt(_0x5a539c(0x161))/0x2*(-parseInt(_0x5a539c(0x182))/0x3)+-parseInt(_0x5a539c(0x187))/0x4*(-parseInt(_0x5a539c(0x18a))/0x5)+parseInt(_0x5a539c(0x165))/0x6*(parseInt(_0x5a539c(0x16d))/0x7)+-parseInt(_0x5a539c(0x17f))/0x8+parseInt(_0x5a539c(0x170))/0x9+-parseInt(_0x5a539c(0x189))/0xa;if(_0x473338===_0x2b1a3a)break;else _0x3a2164['push'](_0x3a2164['shift']());}catch(_0x81b279){_0x3a2164['push'](_0x3a2164['shift']());}}}(_0x1c32,0xdcd56));import{Plugin as _0x15af06}from'ckeditor5/src/core.js';import{User as _0x4281fa,TrackChangesService as _0x177437}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1254d6}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2ac2(_0x12f90c,_0x2799b7){const _0x1c32e2=_0x1c32();return _0x2ac2=function(_0x2ac28a,_0x10e2f2){_0x2ac28a=_0x2ac28a-0x159;let _0x3ab890=_0x1c32e2[_0x2ac28a];return _0x3ab890;},_0x2ac2(_0x12f90c,_0x2799b7);}import{CloudServicesCommentsAdapter as _0x48e6a5}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4732aa}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x15af06{static [_0x4cc7c0(0x194)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x177437)());[_0x4cc7c0(0x190)];[_0x4cc7c0(0x188)];static get[_0x4cc7c0(0x181)](){const _0x39ef1e=_0x4cc7c0;return[_0x48e6a5,_0x39ef1e(0x15b),_0x1254d6];}static get[_0x4cc7c0(0x175)](){const _0x555474=_0x4cc7c0;return _0x555474(0x18c);}static get[_0x4cc7c0(0x15e)](){return!0x0;}static get[_0x4cc7c0(0x15c)](){return!0x0;}constructor(_0x25d310){const _0x2dbff4=_0x4cc7c0;super(_0x25d310);const _0x359246=this[_0x2dbff4(0x16c)][_0x2dbff4(0x18e)][_0x2dbff4(0x159)](_0x2dbff4(0x168));this[_0x2dbff4(0x190)]=new Map(),this[_0x2dbff4(0x188)]=new m[(_0x2dbff4(0x194))](_0x359246);}[_0x4cc7c0(0x191)](){const _0x46b2c3=_0x4cc7c0,_0xe6def=this[_0x46b2c3(0x16c)][_0x46b2c3(0x15f)][_0x46b2c3(0x159)](_0x1254d6),_0x3d8865=this[_0x46b2c3(0x16c)][_0x46b2c3(0x15f)][_0x46b2c3(0x159)](_0x46b2c3(0x15b));return _0x3d8865[_0x46b2c3(0x171)]={'getSuggestion':async _0x31f770=>{const _0x4646e6=_0x46b2c3;await this[_0x4646e6(0x185)]();const _0x3d4741=await this[_0x4646e6(0x188)][_0x4646e6(0x159)](_0x31f770)[_0x4646e6(0x16a)](k);return await this[_0x4646e6(0x192)]([_0x3d4741]),_0x3d4741;},'addSuggestion':async({id:_0x191890,type:_0x2fb869,data:_0x5a1499,originalSuggestionId:_0x123a13,attributes:_0x20f32c})=>{const _0x4f7fcb=_0x46b2c3;await this[_0x4f7fcb(0x185)]();const _0x4d139f={'id':_0x191890,'type':_0x2fb869,'data':_0x5a1499,'originalSuggestionId':_0x123a13,'attributes':_0x20f32c},_0x4cc076=await this[_0x4f7fcb(0x188)][_0x4f7fcb(0x198)](_0x191890,_0x2fb869,_0x5a1499,_0x123a13,_0x20f32c)[_0x4f7fcb(0x16a)](_0x5827ef=>{if(q(_0x5827ef))return new Promise(_0xd62575=>{const _0x440fba=_0x2ac2;this[_0x440fba(0x190)][_0x440fba(0x162)](_0x191890,{'resolve':_0xd62575,'suggestionData':_0x4d139f});});throw _0x5827ef;});return this[_0x4f7fcb(0x190)][_0x4f7fcb(0x195)](_0x191890),_0x4cc076;},'updateSuggestion':async(_0x3520cf,_0x3c46c4)=>{const _0x1ac5e9=_0x46b2c3;if(await this[_0x1ac5e9(0x185)](),_0x1ac5e9(0x172)!==_0x3c46c4[_0x1ac5e9(0x164)])return this[_0x1ac5e9(0x188)][_0x1ac5e9(0x15d)](_0x3520cf,_0x3c46c4)[_0x1ac5e9(0x16a)](k);}},this[_0x46b2c3(0x18b)](this[_0x46b2c3(0x188)],_0x46b2c3(0x178),(_0x3a13ec,_0x8ecf8)=>{const _0x3f3607=_0x46b2c3;_0x3d8865[_0x3f3607(0x184)](_0x8ecf8['id'])&&(_0x3d8865[_0x3f3607(0x166)](_0x8ecf8['id'])[_0x3f3607(0x163)]=_0x8ecf8[_0x3f3607(0x163)]);}),this[_0x46b2c3(0x188)][_0x46b2c3(0x17c)](_0xe6def[_0x46b2c3(0x16f)])[_0x46b2c3(0x167)](_0x5f1e9a=>(_0xe6def[_0x46b2c3(0x186)](this),this[_0x46b2c3(0x192)](_0x5f1e9a)[_0x46b2c3(0x167)](()=>{const _0x9222e9=_0x46b2c3;for(const _0x48b474 of _0x5f1e9a){_0x3d8865[_0x9222e9(0x18d)](_0x48b474)[_0x9222e9(0x174)]=!0x0;}})));}async[_0x4cc7c0(0x17e)](){const _0x563446=_0x4cc7c0,_0x346715=this[_0x563446(0x16c)][_0x563446(0x15f)][_0x563446(0x159)](_0x563446(0x15b)),{connection:_0x23ce5a}=this[_0x563446(0x16c)][_0x563446(0x15f)][_0x563446(0x159)](_0x1254d6),_0x5e399d=await this[_0x563446(0x188)][_0x563446(0x17c)](_0x23ce5a);await this[_0x563446(0x192)](_0x5e399d);for(const {suggestionData:_0x353be1,resolve:_0xd432ee}of this[_0x563446(0x190)][_0x563446(0x17a)]()){let _0x3b4435=_0x5e399d[_0x563446(0x17b)](_0x2cda14=>_0x2cda14['id']===_0x353be1['id']);_0x3b4435||(_0x3b4435=await this[_0x563446(0x188)][_0x563446(0x198)](_0x353be1['id'],_0x353be1[_0x563446(0x169)],_0x353be1[_0x563446(0x173)],_0x353be1[_0x563446(0x180)])),_0xd432ee(_0x3b4435);}for(const _0x40cff8 of _0x5e399d)_0x346715[_0x563446(0x184)](_0x40cff8['id'])||_0x346715[_0x563446(0x18d)](_0x40cff8);}async[_0x4cc7c0(0x185)](){const _0x4d5e7e=_0x4cc7c0;this[_0x4d5e7e(0x188)][_0x4d5e7e(0x17d)]||await new Promise(_0x5885d9=>{const _0x2868dc=_0x4d5e7e;this[_0x2868dc(0x18b)](this[_0x2868dc(0x188)],_0x2868dc(0x196),_0xdf20ee=>{const _0x458aad=_0x2868dc;_0xdf20ee[_0x458aad(0x16e)](),_0x5885d9();});});}async[_0x4cc7c0(0x192)](_0x3c9338){const _0x27a8bb=_0x4cc7c0,_0x41045c=this[_0x27a8bb(0x16c)][_0x27a8bb(0x15f)][_0x27a8bb(0x159)](_0x4732aa),{connection:_0x59ba84}=this[_0x27a8bb(0x16c)][_0x27a8bb(0x15f)][_0x27a8bb(0x159)](_0x1254d6),_0x115996=new Set();for(const {authorId:_0x44a1db}of _0x3c9338)_0x41045c[_0x27a8bb(0x160)](_0x44a1db)||_0x115996[_0x27a8bb(0x198)](_0x44a1db);if(0x0===_0x115996[_0x27a8bb(0x18f)])return;const _0x1c6680=await _0x4281fa[_0x27a8bb(0x177)](_0x59ba84,Array[_0x27a8bb(0x193)](_0x115996));for(const _0x546115 of _0x1c6680)_0x41045c[_0x27a8bb(0x160)](_0x546115['id'])||_0x41045c[_0x27a8bb(0x183)](_0x546115);}}function _0x1c32(){const _0x5f4ea7=['_fetchMissingUsersForThreads','from','TrackChangesService','delete','connected','327653JFhiey','add','get','startsWith','TrackChangesEditing','isPremiumPlugin','update','isOfficialPlugin','plugins','getUser','168664pskwsz','set','attributes','state','18tOVBbd','getSuggestion','then','collaboration.channelId','type','catch','cloud-services-internal-error:\x20Request\x20timeout.','editor','1238111hjUsyw','off','connection','10408014ZSSUeq','adapter','open','data','_saved','pluginName','cloud-services-internal-error:\x20Not\x20connected.','getMany','suggestionUpdated','message','values','find','connect','isConnected','reconnect','11039920bvqYbK','originalSuggestionId','requires','36DTuxDR','addUser','hasSuggestion','_waitForServiceReady','addToReconnectionStack','5874868wRrgkP','_trackChangesService','15555890FtZkSo','5JpFdMx','listenTo','CloudServicesTrackChangesAdapter','addSuggestionData','config','size','_bufferedRequests','init'];_0x1c32=function(){return _0x5f4ea7;};return _0x1c32();}export{m as CloudServicesTrackChangesAdapter};function k(_0x41f269){if(q(_0x41f269))return new Promise(()=>{});throw _0x41f269;}function q(_0x1f6ae1){const _0x19ddd5=_0x4cc7c0;return _0x1f6ae1[_0x19ddd5(0x179)][_0x19ddd5(0x15a)](_0x19ddd5(0x176))||_0x1f6ae1[_0x19ddd5(0x179)][_0x19ddd5(0x15a)](_0x19ddd5(0x16b));}
23
+ const _0x106378=_0x4269;(function(_0xf5bba8,_0x21e1a8){const _0x44ac88=_0x4269,_0x488fce=_0xf5bba8();while(!![]){try{const _0x3c436f=parseInt(_0x44ac88(0x1a9))/0x1*(parseInt(_0x44ac88(0x185))/0x2)+parseInt(_0x44ac88(0x1b6))/0x3*(parseInt(_0x44ac88(0x182))/0x4)+-parseInt(_0x44ac88(0x194))/0x5+parseInt(_0x44ac88(0x184))/0x6+parseInt(_0x44ac88(0x1a2))/0x7*(-parseInt(_0x44ac88(0x188))/0x8)+-parseInt(_0x44ac88(0x1ab))/0x9*(-parseInt(_0x44ac88(0x1a3))/0xa)+-parseInt(_0x44ac88(0x1a8))/0xb;if(_0x3c436f===_0x21e1a8)break;else _0x488fce['push'](_0x488fce['shift']());}catch(_0x38ae70){_0x488fce['push'](_0x488fce['shift']());}}}(_0xef57,0x74003));import{Plugin as _0x149e58}from'ckeditor5/src/core.js';import{User as _0x3d3181,TrackChangesService as _0x41cc20}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x18efa0}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4269(_0x3815b1,_0x90094a){const _0xef57ce=_0xef57();return _0x4269=function(_0x4269f4,_0x37b04c){_0x4269f4=_0x4269f4-0x177;let _0x5ce2d1=_0xef57ce[_0x4269f4];return _0x5ce2d1;},_0x4269(_0x3815b1,_0x90094a);}function _0xef57(){const _0x479dde=['getSuggestion','99IQEClM','attributes','open','cloud-services-internal-error:\x20Request\x20timeout.','startsWith','originalSuggestionId','addSuggestionData','getMany','connect','CloudServicesTrackChangesAdapter','size','33BaEbTI','find','_waitForServiceReady','values','isOfficialPlugin','set','pluginName','getUser','TrackChangesEditing','editor','init','then','from','96436Upiuep','isPremiumPlugin','372846dTpNMU','202OnyTjV','update','_trackChangesService','199688NMspmU','message','type','hasSuggestion','cloud-services-internal-error:\x20Not\x20connected.','suggestionUpdated','isConnected','addUser','state','requires','_bufferedRequests','delete','142170SkzMLO','_saved','TrackChangesService','addToReconnectionStack','data','listenTo','plugins','config','collaboration.channelId','add','catch','off','_fetchMissingUsersForThreads','get','203mOrGdt','148870QGsYMr','connected','reconnect','connection','adapter','1178166WJLPoP','8351AHETBI'];_0xef57=function(){return _0x479dde;};return _0xef57();}import{CloudServicesCommentsAdapter as _0x4acc6b}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2d5244}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x149e58{static [_0x106378(0x196)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x41cc20)());[_0x106378(0x192)];[_0x106378(0x187)];static get[_0x106378(0x191)](){const _0x672dc7=_0x106378;return[_0x4acc6b,_0x672dc7(0x17d),_0x18efa0];}static get[_0x106378(0x17b)](){const _0x1f7719=_0x106378;return _0x1f7719(0x1b4);}static get[_0x106378(0x179)](){return!0x0;}static get[_0x106378(0x183)](){return!0x0;}constructor(_0x26690e){const _0x507575=_0x106378;super(_0x26690e);const _0x57f344=this[_0x507575(0x17e)][_0x507575(0x19b)][_0x507575(0x1a1)](_0x507575(0x19c));this[_0x507575(0x192)]=new Map(),this[_0x507575(0x187)]=new m[(_0x507575(0x196))](_0x57f344);}[_0x106378(0x17f)](){const _0x2c2eb5=_0x106378,_0x3b53e5=this[_0x2c2eb5(0x17e)][_0x2c2eb5(0x19a)][_0x2c2eb5(0x1a1)](_0x18efa0),_0x369c60=this[_0x2c2eb5(0x17e)][_0x2c2eb5(0x19a)][_0x2c2eb5(0x1a1)](_0x2c2eb5(0x17d));return _0x369c60[_0x2c2eb5(0x1a7)]={'getSuggestion':async _0x3d7857=>{const _0x240852=_0x2c2eb5;await this[_0x240852(0x177)]();const _0x2fc1dc=await this[_0x240852(0x187)][_0x240852(0x1a1)](_0x3d7857)[_0x240852(0x19e)](k);return await this[_0x240852(0x1a0)]([_0x2fc1dc]),_0x2fc1dc;},'addSuggestion':async({id:_0x1e04b9,type:_0x14028d,data:_0xc4b20a,originalSuggestionId:_0x589d63,attributes:_0x3309fb})=>{const _0x4d11f6=_0x2c2eb5;await this[_0x4d11f6(0x177)]();const _0x5db2fc={'id':_0x1e04b9,'type':_0x14028d,'data':_0xc4b20a,'originalSuggestionId':_0x589d63,'attributes':_0x3309fb},_0x2e3241=await this[_0x4d11f6(0x187)][_0x4d11f6(0x19d)](_0x1e04b9,_0x14028d,_0xc4b20a,_0x589d63,_0x3309fb)[_0x4d11f6(0x19e)](_0x13bf4a=>{if(q(_0x13bf4a))return new Promise(_0x16d0f7=>{const _0x1bb500=_0x4269;this[_0x1bb500(0x192)][_0x1bb500(0x17a)](_0x1e04b9,{'resolve':_0x16d0f7,'suggestionData':_0x5db2fc});});throw _0x13bf4a;});return this[_0x4d11f6(0x192)][_0x4d11f6(0x193)](_0x1e04b9),_0x2e3241;},'updateSuggestion':async(_0x3bf967,_0x1d90a7)=>{const _0x4899d7=_0x2c2eb5;if(await this[_0x4899d7(0x177)](),_0x4899d7(0x1ad)!==_0x1d90a7[_0x4899d7(0x190)])return this[_0x4899d7(0x187)][_0x4899d7(0x186)](_0x3bf967,_0x1d90a7)[_0x4899d7(0x19e)](k);}},this[_0x2c2eb5(0x199)](this[_0x2c2eb5(0x187)],_0x2c2eb5(0x18d),(_0x531bb6,_0x35f55f)=>{const _0x2af089=_0x2c2eb5;_0x369c60[_0x2af089(0x18b)](_0x35f55f['id'])&&(_0x369c60[_0x2af089(0x1aa)](_0x35f55f['id'])[_0x2af089(0x1ac)]=_0x35f55f[_0x2af089(0x1ac)]);}),this[_0x2c2eb5(0x187)][_0x2c2eb5(0x1b3)](_0x3b53e5[_0x2c2eb5(0x1a6)])[_0x2c2eb5(0x180)](_0x54bfd8=>(_0x3b53e5[_0x2c2eb5(0x197)](this),this[_0x2c2eb5(0x1a0)](_0x54bfd8)[_0x2c2eb5(0x180)](()=>{const _0x20eb6c=_0x2c2eb5;for(const _0x5c8636 of _0x54bfd8){_0x369c60[_0x20eb6c(0x1b1)](_0x5c8636)[_0x20eb6c(0x195)]=!0x0;}})));}async[_0x106378(0x1a5)](){const _0x44a219=_0x106378,_0xea90bc=this[_0x44a219(0x17e)][_0x44a219(0x19a)][_0x44a219(0x1a1)](_0x44a219(0x17d)),{connection:_0x39eebc}=this[_0x44a219(0x17e)][_0x44a219(0x19a)][_0x44a219(0x1a1)](_0x18efa0),_0x2a2acd=await this[_0x44a219(0x187)][_0x44a219(0x1b3)](_0x39eebc);await this[_0x44a219(0x1a0)](_0x2a2acd);for(const {suggestionData:_0x372533,resolve:_0x335804}of this[_0x44a219(0x192)][_0x44a219(0x178)]()){let _0x5da699=_0x2a2acd[_0x44a219(0x1b7)](_0x3fc094=>_0x3fc094['id']===_0x372533['id']);_0x5da699||(_0x5da699=await this[_0x44a219(0x187)][_0x44a219(0x19d)](_0x372533['id'],_0x372533[_0x44a219(0x18a)],_0x372533[_0x44a219(0x198)],_0x372533[_0x44a219(0x1b0)])),_0x335804(_0x5da699);}for(const _0x12ffa0 of _0x2a2acd)_0xea90bc[_0x44a219(0x18b)](_0x12ffa0['id'])||_0xea90bc[_0x44a219(0x1b1)](_0x12ffa0);}async[_0x106378(0x177)](){const _0x40ba12=_0x106378;this[_0x40ba12(0x187)][_0x40ba12(0x18e)]||await new Promise(_0x58e7c9=>{const _0x406c7c=_0x40ba12;this[_0x406c7c(0x199)](this[_0x406c7c(0x187)],_0x406c7c(0x1a4),_0x35f670=>{const _0x112d97=_0x406c7c;_0x35f670[_0x112d97(0x19f)](),_0x58e7c9();});});}async[_0x106378(0x1a0)](_0x1399d3){const _0x14eefd=_0x106378,_0x1a6ab5=this[_0x14eefd(0x17e)][_0x14eefd(0x19a)][_0x14eefd(0x1a1)](_0x2d5244),{connection:_0x448b85}=this[_0x14eefd(0x17e)][_0x14eefd(0x19a)][_0x14eefd(0x1a1)](_0x18efa0),_0x1d5fe0=new Set();for(const {authorId:_0x2bbaa5}of _0x1399d3)_0x1a6ab5[_0x14eefd(0x17c)](_0x2bbaa5)||_0x1d5fe0[_0x14eefd(0x19d)](_0x2bbaa5);if(0x0===_0x1d5fe0[_0x14eefd(0x1b5)])return;const _0x32c2ac=await _0x3d3181[_0x14eefd(0x1b2)](_0x448b85,Array[_0x14eefd(0x181)](_0x1d5fe0));for(const _0x2af02d of _0x32c2ac)_0x1a6ab5[_0x14eefd(0x17c)](_0x2af02d['id'])||_0x1a6ab5[_0x14eefd(0x18f)](_0x2af02d);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x156dc1){if(q(_0x156dc1))return new Promise(()=>{});throw _0x156dc1;}function q(_0x2fde7e){const _0xff97bb=_0x106378;return _0x2fde7e[_0xff97bb(0x189)][_0xff97bb(0x1af)](_0xff97bb(0x18c))||_0x2fde7e[_0xff97bb(0x189)][_0xff97bb(0x1af)](_0xff97bb(0x1ae));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x49c0(){var _0x350a2c=['TrackChanges','isOfficialPlugin','3042663wHAEYC','isPremiumPlugin','4015224bJpuzK','9863480quayVB','1666910ZzbwFk','24GfsPUr','RealTimeCollaborativeTrackChanges','5176RDHaLn','1198445RXYVXB','14854aSieRb','requires','27xxAecg','97442nemhfX','pluginName','23TQkvyQ'];_0x49c0=function(){return _0x350a2c;};return _0x49c0();}var _0x30a291=_0x199c;(function(_0x4fb376,_0xb1e4a8){var _0x7104f0=_0x199c,_0x3e522d=_0x4fb376();while(!![]){try{var _0x4a9467=-parseInt(_0x7104f0(0x1da))/0x1*(-parseInt(_0x7104f0(0x1d8))/0x2)+-parseInt(_0x7104f0(0x1dd))/0x3+parseInt(_0x7104f0(0x1e2))/0x4*(parseInt(_0x7104f0(0x1d4))/0x5)+-parseInt(_0x7104f0(0x1df))/0x6+parseInt(_0x7104f0(0x1d5))/0x7*(parseInt(_0x7104f0(0x1e4))/0x8)+-parseInt(_0x7104f0(0x1d7))/0x9*(parseInt(_0x7104f0(0x1e1))/0xa)+-parseInt(_0x7104f0(0x1e0))/0xb;if(_0x4a9467===_0xb1e4a8)break;else _0x3e522d['push'](_0x3e522d['shift']());}catch(_0x34a92e){_0x3e522d['push'](_0x3e522d['shift']());}}}(_0x49c0,0xcfe11));import{Plugin as _0x4a68ef}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x5cf528}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x199c(_0x1715bd,_0x5aa177){var _0x49c029=_0x49c0();return _0x199c=function(_0x199ca6,_0x4fa884){_0x199ca6=_0x199ca6-0x1d4;var _0x9f282e=_0x49c029[_0x199ca6];return _0x9f282e;},_0x199c(_0x1715bd,_0x5aa177);}import{RealTimeCollaborativeComments as _0x55904e}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x4a68ef{static get[_0x30a291(0x1d6)](){var _0x4a5837=_0x30a291;return[_0x55904e,_0x5cf528,_0x4a5837(0x1db)];}static get[_0x30a291(0x1d9)](){var _0x35baec=_0x30a291;return _0x35baec(0x1e3);}static get[_0x30a291(0x1dc)](){return!0x0;}static get[_0x30a291(0x1de)](){return!0x0;}}
23
+ var _0x49d389=_0x183b;(function(_0x40cb3e,_0x487ff5){var _0x487c93=_0x183b,_0x169ae8=_0x40cb3e();while(!![]){try{var _0x15a52b=parseInt(_0x487c93(0x98))/0x1+parseInt(_0x487c93(0xa1))/0x2*(parseInt(_0x487c93(0x99))/0x3)+-parseInt(_0x487c93(0x9a))/0x4+parseInt(_0x487c93(0xa4))/0x5+parseInt(_0x487c93(0xa0))/0x6+-parseInt(_0x487c93(0x96))/0x7*(-parseInt(_0x487c93(0x9d))/0x8)+parseInt(_0x487c93(0xa3))/0x9*(-parseInt(_0x487c93(0xa2))/0xa);if(_0x15a52b===_0x487ff5)break;else _0x169ae8['push'](_0x169ae8['shift']());}catch(_0x152516){_0x169ae8['push'](_0x169ae8['shift']());}}}(_0xe36d,0x56456));function _0xe36d(){var _0x5eaa5a=['isPremiumPlugin','TrackChanges','3568086gjlsrI','4prWoBu','260pTRUGZ','333783lgOuCM','2929585wLizsM','RealTimeCollaborativeTrackChanges','3907855XrWGjj','isOfficialPlugin','251608pPNPvJ','6942AhsFfD','2709884uZcnZr','pluginName','requires','8TLUUES'];_0xe36d=function(){return _0x5eaa5a;};return _0xe36d();}import{Plugin as _0x43ecce}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3bc45a}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x183b(_0x163d93,_0x2dfa8f){var _0xe36d9=_0xe36d();return _0x183b=function(_0x183b29,_0x4b66a4){_0x183b29=_0x183b29-0x95;var _0x4c8e58=_0xe36d9[_0x183b29];return _0x4c8e58;},_0x183b(_0x163d93,_0x2dfa8f);}import{RealTimeCollaborativeComments as _0x4e8e84}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x43ecce{static get[_0x49d389(0x9c)](){var _0x549af1=_0x49d389;return[_0x4e8e84,_0x3bc45a,_0x549af1(0x9f)];}static get[_0x49d389(0x9b)](){var _0x565928=_0x49d389;return _0x565928(0x95);}static get[_0x49d389(0x97)](){return!0x0;}static get[_0x49d389(0x9e)](){return!0x0;}}