@ckeditor/ckeditor5-real-time-collaboration 46.1.1-alpha.0 → 46.1.1-alpha.2

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 _0x503924=_0x35ab;function _0x35ab(_0xac573d,_0x261dfd){const _0x297263=_0x2972();return _0x35ab=function(_0x35ab8f,_0x3f34ea){_0x35ab8f=_0x35ab8f-0x163;let _0x184a31=_0x297263[_0x35ab8f];return _0x184a31;},_0x35ab(_0xac573d,_0x261dfd);}(function(_0x5dffe0,_0x301c59){const _0x56d1ee=_0x35ab,_0x692a13=_0x5dffe0();while(!![]){try{const _0x49a78c=-parseInt(_0x56d1ee(0x1ac))/0x1*(-parseInt(_0x56d1ee(0x170))/0x2)+-parseInt(_0x56d1ee(0x19a))/0x3*(-parseInt(_0x56d1ee(0x173))/0x4)+parseInt(_0x56d1ee(0x16b))/0x5*(-parseInt(_0x56d1ee(0x18a))/0x6)+parseInt(_0x56d1ee(0x195))/0x7*(parseInt(_0x56d1ee(0x192))/0x8)+-parseInt(_0x56d1ee(0x179))/0x9*(-parseInt(_0x56d1ee(0x1ae))/0xa)+-parseInt(_0x56d1ee(0x16a))/0xb+parseInt(_0x56d1ee(0x182))/0xc*(parseInt(_0x56d1ee(0x19d))/0xd);if(_0x49a78c===_0x301c59)break;else _0x692a13['push'](_0x692a13['shift']());}catch(_0x21a89e){_0x692a13['push'](_0x692a13['shift']());}}}(_0x2972,0xe4e69));import{ContextPlugin as _0x33d5e4}from'ckeditor5/src/core.js';function _0x2972(){const _0x2eb7f9=['cloudServices.requestTimeout','webSocketUrl','7109224tnzRzr','state','_reconnectionStack','7iJnNbx','CloudServices','bind','init','limitExceeded','81lyVuhv','requires','isOfficialPlugin','13molRzg','cloudservices-init','cloudServices.connectionTimeout','connection','destroy','websocketgateway-plugin-already-registered','CONNECTING','from','removeFromReconnectionStack','constructor','error','token','config','disconnect','CONNECTED','7525jeXejb','websocketgateway-invalid-plugin-interface','29050kSsIbb','define','listenTo','set','real-time-collaboration','then','stopListening','websocketgateway-missing-token','pluginName','14802480kdnBgd','4543525zWwngo','offline','isPremiumPlugin','initialReconnectionInterval','plugins','22CJYSpb','function','showWarning','196876tCAwTb','addToReconnectionStack','change:me','connected','all','reconnect','1899twJVEh','_domEmitter','context','isInReconnectionStack','add','DISCONNECTED','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.','WebSocketGateway','websocketgateway-missing-websocket-url','14248452TZIqRS','get','delete','_isBrowserOffline','_reconnect','cloudservices-reconnection-error','has','online','12mUTdHf','code','connect','Connected\x20users\x20limit\x20exceeded','catch','_shouldPluginsReconnect'];_0x2972=function(){return _0x2eb7f9;};return _0x2972();}import{DomEmitterMixin as _0x4743fe,CKEditorError as _0x287295}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x490f17,WEB_SOCKET_GATEWAY_STATES as _0x5ae3e6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x399829}from'ckeditor5/src/ui.js';class n extends _0x33d5e4{static [_0x503924(0x180)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x490f17)());static [_0x503924(0x16e)]=0x3e8;[_0x503924(0x1a0)];[_0x503924(0x194)];[_0x503924(0x18f)];[_0x503924(0x17a)];static get[_0x503924(0x19b)](){const _0xd1640f=_0x503924;return[_0xd1640f(0x196),_0x399829];}static get[_0x503924(0x169)](){const _0x24b64a=_0x503924;return _0x24b64a(0x180);}static get[_0x503924(0x19c)](){return!0x0;}static get[_0x503924(0x16d)](){return!0x0;}constructor(_0x1dbca8){const _0x1db5d8=_0x503924;super(_0x1dbca8),this[_0x1db5d8(0x164)](_0x1db5d8(0x193),_0x5ae3e6[_0x1db5d8(0x1ab)]),this[_0x1db5d8(0x164)](_0x1db5d8(0x185),!0x1),this[_0x1db5d8(0x194)]=new Set(),this[_0x1db5d8(0x18f)]=!0x1,this[_0x1db5d8(0x17a)]=new(_0x4743fe())();}[_0x503924(0x198)](){const _0x259dc9=_0x503924,_0x2e79d1=this[_0x259dc9(0x17b)],_0x3cb40f=_0x2e79d1[_0x259dc9(0x16f)][_0x259dc9(0x183)](_0x259dc9(0x196)),_0x28d6ba=_0x2e79d1[_0x259dc9(0x16f)][_0x259dc9(0x183)](_0x399829);if(!_0x3cb40f[_0x259dc9(0x1a8)])throw new _0x287295(_0x259dc9(0x168),this);if(!_0x3cb40f[_0x259dc9(0x191)])throw new _0x287295(_0x259dc9(0x181),this);return this[_0x259dc9(0x17a)][_0x259dc9(0x163)](window,_0x259dc9(0x16c),()=>this[_0x259dc9(0x185)]=!0x0),this[_0x259dc9(0x17a)][_0x259dc9(0x163)](window,_0x259dc9(0x189),()=>this[_0x259dc9(0x185)]=!0x1),this[_0x259dc9(0x17b)][_0x259dc9(0x1a9)][_0x259dc9(0x1af)](_0x259dc9(0x19f),0xa),this[_0x259dc9(0x17b)][_0x259dc9(0x1a9)][_0x259dc9(0x1af)](_0x259dc9(0x190),0x14),n[_0x259dc9(0x180)][_0x259dc9(0x18c)](_0x3cb40f[_0x259dc9(0x1a8)],_0x3cb40f[_0x259dc9(0x191)],{'timeout':0x3e8*this[_0x259dc9(0x17b)][_0x259dc9(0x1a9)][_0x259dc9(0x183)](_0x259dc9(0x19f)),'requestTimeout':0x3e8*this[_0x259dc9(0x17b)][_0x259dc9(0x1a9)][_0x259dc9(0x183)](_0x259dc9(0x190))})[_0x259dc9(0x166)](_0x5aa26d=>{const _0x48bb76=_0x259dc9;if(this[_0x48bb76(0x1a0)]=_0x5aa26d,this[_0x48bb76(0x197)](_0x48bb76(0x193))['to'](_0x5aa26d,_0x48bb76(0x193),this,_0x48bb76(0x185),(_0x26fffc,_0x2d93ed)=>(_0x48bb76(0x176)!==_0x26fffc&&(this[_0x48bb76(0x18f)]=!0x0),_0x2d93ed||_0x26fffc!==_0x5ae3e6[_0x48bb76(0x1ab)]?_0x5ae3e6[_0x48bb76(0x17e)]:this[_0x48bb76(0x193)]==_0x5ae3e6[_0x48bb76(0x17e)]&&this[_0x48bb76(0x18f)]?(this[_0x48bb76(0x18f)]=!0x1,this[_0x48bb76(0x186)](),_0x5ae3e6[_0x48bb76(0x1a3)]):_0x5ae3e6[_0x48bb76(0x1ab)])),this[_0x48bb76(0x1a0)]['on'](_0x48bb76(0x1a7),(_0x3f4be1,_0x5c3f58)=>{const _0x5f3622=_0x48bb76;if(_0x5f3622(0x199)!==_0x5c3f58[_0x5f3622(0x18b)])throw console[_0x5f3622(0x1a7)](_0x5c3f58),new _0x287295(_0x5f3622(0x19e),null,{'originalError':_0x5c3f58});_0x28d6ba[_0x5f3622(0x172)](_0x5f3622(0x17f),{'title':_0x5f3622(0x18d),'namespace':_0x5f3622(0x165)});}),!_0x5aa26d['me'])return new Promise(_0x4699d1=>_0x5aa26d['on'](_0x48bb76(0x175),_0x4699d1));})[_0x259dc9(0x18e)](_0x5c7983=>{const _0x3035ee=_0x259dc9;throw console[_0x3035ee(0x1a7)](_0x5c7983),new _0x287295(_0x3035ee(0x19e),null,{'originalError':_0x5c7983});});}[_0x503924(0x174)](_0x550d4d){const _0x222b3b=_0x503924;if(_0x222b3b(0x171)!=typeof _0x550d4d[_0x222b3b(0x178)])throw new _0x287295(_0x222b3b(0x1ad),this);if(this[_0x222b3b(0x17c)](_0x550d4d))throw new _0x287295(_0x222b3b(0x1a2),this,{'name':_0x550d4d[_0x222b3b(0x1a6)][_0x222b3b(0x169)]});this[_0x222b3b(0x194)][_0x222b3b(0x17d)](_0x550d4d);}[_0x503924(0x1a5)](_0x1da3a8){const _0x9269b9=_0x503924;this[_0x9269b9(0x194)][_0x9269b9(0x184)](_0x1da3a8);}[_0x503924(0x17c)](_0xbcd9ec){const _0x5720e3=_0x503924;return this[_0x5720e3(0x194)][_0x5720e3(0x188)](_0xbcd9ec);}[_0x503924(0x186)](){const _0xbd3a48=_0x503924;return this[_0xbd3a48(0x1a0)][_0xbd3a48(0x178)]()[_0xbd3a48(0x166)](()=>Promise[_0xbd3a48(0x177)](Array[_0xbd3a48(0x1a4)](this[_0xbd3a48(0x194)],_0x16acf3=>_0x16acf3[_0xbd3a48(0x178)]())))[_0xbd3a48(0x166)](()=>this[_0xbd3a48(0x193)]=_0x5ae3e6[_0xbd3a48(0x1ab)])[_0xbd3a48(0x18e)](_0x24a776=>{const _0x4e166f=_0xbd3a48;throw console[_0x4e166f(0x1a7)](_0x24a776),new _0x287295(_0x4e166f(0x187),this[_0x4e166f(0x17b)]);});}[_0x503924(0x1aa)](){const _0x3d9a55=_0x503924;this[_0x3d9a55(0x1a0)]&&this[_0x3d9a55(0x1a0)][_0x3d9a55(0x1aa)](),this[_0x3d9a55(0x193)]=_0x5ae3e6[_0x3d9a55(0x17e)],this[_0x3d9a55(0x17a)][_0x3d9a55(0x167)]();}[_0x503924(0x1a1)](){const _0x4f887b=_0x503924;this[_0x4f887b(0x1aa)](),super[_0x4f887b(0x1a1)]();}}export{n as WebSocketGateway};
23
+ const _0x8f477f=_0x19d1;(function(_0x4efe17,_0x13598f){const _0x3b37ee=_0x19d1,_0x579fa1=_0x4efe17();while(!![]){try{const _0xe6cbaf=-parseInt(_0x3b37ee(0x12c))/0x1+-parseInt(_0x3b37ee(0x13b))/0x2*(parseInt(_0x3b37ee(0x148))/0x3)+-parseInt(_0x3b37ee(0x11f))/0x4*(-parseInt(_0x3b37ee(0x11d))/0x5)+parseInt(_0x3b37ee(0x117))/0x6*(-parseInt(_0x3b37ee(0x13f))/0x7)+-parseInt(_0x3b37ee(0x14f))/0x8+-parseInt(_0x3b37ee(0x144))/0x9*(-parseInt(_0x3b37ee(0x134))/0xa)+parseInt(_0x3b37ee(0x115))/0xb;if(_0xe6cbaf===_0x13598f)break;else _0x579fa1['push'](_0x579fa1['shift']());}catch(_0x389ba5){_0x579fa1['push'](_0x579fa1['shift']());}}}(_0x33cb,0xd9551));import{ContextPlugin as _0x5c4ac7}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5a1146,CKEditorError as _0x289be0}from'ckeditor5/src/utils.js';function _0x19d1(_0x81bca7,_0x30ef39){const _0x33cb7b=_0x33cb();return _0x19d1=function(_0x19d144,_0x459428){_0x19d144=_0x19d144-0x114;let _0x3937c1=_0x33cb7b[_0x19d144];return _0x3937c1;},_0x19d1(_0x81bca7,_0x30ef39);}import{WebSocketGateway as _0x9d1670,WEB_SOCKET_GATEWAY_STATES as _0x574688}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0xf8277a}from'ckeditor5/src/ui.js';class n extends _0x5c4ac7{static [_0x8f477f(0x12b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x9d1670)());static [_0x8f477f(0x12a)]=0x3e8;[_0x8f477f(0x119)];[_0x8f477f(0x125)];[_0x8f477f(0x15c)];[_0x8f477f(0x156)];static get[_0x8f477f(0x14a)](){const _0xb02380=_0x8f477f;return[_0xb02380(0x13c),_0xf8277a];}static get[_0x8f477f(0x12d)](){const _0x33e352=_0x8f477f;return _0x33e352(0x12b);}static get[_0x8f477f(0x124)](){return!0x0;}static get[_0x8f477f(0x154)](){return!0x0;}constructor(_0x163ac2){const _0x4ee394=_0x8f477f;super(_0x163ac2),this[_0x4ee394(0x130)](_0x4ee394(0x147),_0x574688[_0x4ee394(0x138)]),this[_0x4ee394(0x130)](_0x4ee394(0x157),!0x1),this[_0x4ee394(0x125)]=new Set(),this[_0x4ee394(0x15c)]=!0x1,this[_0x4ee394(0x156)]=new(_0x5a1146())();}[_0x8f477f(0x116)](){const _0xe357c9=_0x8f477f,_0x562c97=this[_0xe357c9(0x159)],_0x1d796b=_0x562c97[_0xe357c9(0x14e)][_0xe357c9(0x12f)](_0xe357c9(0x13c)),_0x5ef2b3=_0x562c97[_0xe357c9(0x14e)][_0xe357c9(0x12f)](_0xf8277a);if(!_0x1d796b[_0xe357c9(0x146)])throw new _0x289be0(_0xe357c9(0x137),this);if(!_0x1d796b[_0xe357c9(0x139)])throw new _0x289be0(_0xe357c9(0x122),this);return this[_0xe357c9(0x156)][_0xe357c9(0x135)](window,_0xe357c9(0x120),()=>this[_0xe357c9(0x157)]=!0x0),this[_0xe357c9(0x156)][_0xe357c9(0x135)](window,_0xe357c9(0x14b),()=>this[_0xe357c9(0x157)]=!0x1),this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x15d)](_0xe357c9(0x143),0xa),this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x15d)](_0xe357c9(0x136),0x14),n[_0xe357c9(0x12b)][_0xe357c9(0x151)](_0x1d796b[_0xe357c9(0x146)],_0x1d796b[_0xe357c9(0x139)],{'timeout':0x3e8*this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x12f)](_0xe357c9(0x143)),'requestTimeout':0x3e8*this[_0xe357c9(0x159)][_0xe357c9(0x129)][_0xe357c9(0x12f)](_0xe357c9(0x136))})[_0xe357c9(0x141)](_0x59991f=>{const _0x10e1f4=_0xe357c9;if(this[_0x10e1f4(0x119)]=_0x59991f,this[_0x10e1f4(0x11e)](_0x10e1f4(0x147))['to'](_0x59991f,_0x10e1f4(0x147),this,_0x10e1f4(0x157),(_0x5ea6eb,_0x5eac63)=>(_0x10e1f4(0x132)!==_0x5ea6eb&&(this[_0x10e1f4(0x15c)]=!0x0),_0x5eac63||_0x5ea6eb!==_0x574688[_0x10e1f4(0x138)]?_0x574688[_0x10e1f4(0x128)]:this[_0x10e1f4(0x147)]==_0x574688[_0x10e1f4(0x128)]&&this[_0x10e1f4(0x15c)]?(this[_0x10e1f4(0x15c)]=!0x1,this[_0x10e1f4(0x12e)](),_0x574688[_0x10e1f4(0x133)]):_0x574688[_0x10e1f4(0x138)])),this[_0x10e1f4(0x119)]['on'](_0x10e1f4(0x118),(_0x53e156,_0x2b267d)=>{const _0x26bbf1=_0x10e1f4;if(_0x26bbf1(0x127)!==_0x2b267d[_0x26bbf1(0x153)])throw console[_0x26bbf1(0x118)](_0x2b267d),new _0x289be0(_0x26bbf1(0x114),null,{'originalError':_0x2b267d});_0x5ef2b3[_0x26bbf1(0x126)](_0x26bbf1(0x145),{'title':_0x26bbf1(0x15a),'namespace':_0x26bbf1(0x14d)});}),!_0x59991f['me'])return new Promise(_0x2d9992=>_0x59991f['on'](_0x10e1f4(0x121),_0x2d9992));})[_0xe357c9(0x11c)](_0x49bb94=>{const _0x4b1493=_0xe357c9;throw console[_0x4b1493(0x118)](_0x49bb94),new _0x289be0(_0x4b1493(0x114),null,{'originalError':_0x49bb94});});}[_0x8f477f(0x11a)](_0x2fdfd6){const _0x53ef31=_0x8f477f;if(_0x53ef31(0x11b)!=typeof _0x2fdfd6[_0x53ef31(0x149)])throw new _0x289be0(_0x53ef31(0x150),this);if(this[_0x53ef31(0x131)](_0x2fdfd6))throw new _0x289be0(_0x53ef31(0x13d),this,{'name':_0x2fdfd6[_0x53ef31(0x142)][_0x53ef31(0x12d)]});this[_0x53ef31(0x125)][_0x53ef31(0x13a)](_0x2fdfd6);}[_0x8f477f(0x15e)](_0x5da2cf){const _0x538291=_0x8f477f;this[_0x538291(0x125)][_0x538291(0x13e)](_0x5da2cf);}[_0x8f477f(0x131)](_0x463568){const _0x52c7fc=_0x8f477f;return this[_0x52c7fc(0x125)][_0x52c7fc(0x123)](_0x463568);}[_0x8f477f(0x12e)](){const _0x41b6c3=_0x8f477f;return this[_0x41b6c3(0x119)][_0x41b6c3(0x149)]()[_0x41b6c3(0x141)](()=>Promise[_0x41b6c3(0x155)](Array[_0x41b6c3(0x14c)](this[_0x41b6c3(0x125)],_0x2d2ce8=>_0x2d2ce8[_0x41b6c3(0x149)]())))[_0x41b6c3(0x141)](()=>this[_0x41b6c3(0x147)]=_0x574688[_0x41b6c3(0x138)])[_0x41b6c3(0x11c)](_0x428167=>{const _0x3688c0=_0x41b6c3;throw console[_0x3688c0(0x118)](_0x428167),new _0x289be0(_0x3688c0(0x158),this[_0x3688c0(0x159)]);});}[_0x8f477f(0x152)](){const _0x23d769=_0x8f477f;this[_0x23d769(0x119)]&&this[_0x23d769(0x119)][_0x23d769(0x152)](),this[_0x23d769(0x147)]=_0x574688[_0x23d769(0x128)],this[_0x23d769(0x156)][_0x23d769(0x140)]();}[_0x8f477f(0x15b)](){const _0x5a64eb=_0x8f477f;this[_0x5a64eb(0x152)](),super[_0x5a64eb(0x15b)]();}}export{n as WebSocketGateway};function _0x33cb(){const _0x51156a=['context','Connected\x20users\x20limit\x20exceeded','destroy','_shouldPluginsReconnect','define','removeFromReconnectionStack','cloudservices-init','41117274JyRcMc','init','4917918UsijBy','error','connection','addToReconnectionStack','function','catch','4080185jYXsIK','bind','4JsOXUx','offline','change:me','websocketgateway-missing-websocket-url','has','isOfficialPlugin','_reconnectionStack','showWarning','limitExceeded','DISCONNECTED','config','initialReconnectionInterval','WebSocketGateway','1711627DmoUiu','pluginName','_reconnect','get','set','isInReconnectionStack','connected','CONNECTING','7390etsWnR','listenTo','cloudServices.requestTimeout','websocketgateway-missing-token','CONNECTED','webSocketUrl','add','2IwSfKQ','CloudServices','websocketgateway-plugin-already-registered','delete','7oWBIZx','stopListening','then','constructor','cloudServices.connectionTimeout','3843rVenYh','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.','token','state','1894845ntSLUD','reconnect','requires','online','from','real-time-collaboration','plugins','6531488svLzJi','websocketgateway-invalid-plugin-interface','connect','disconnect','code','isPremiumPlugin','all','_domEmitter','_isBrowserOffline','cloudservices-reconnection-error'];_0x33cb=function(){return _0x51156a;};return _0x33cb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e99(_0x14d13c,_0x458ec3){var _0x3ec55a=_0x3ec5();return _0x3e99=function(_0x3e99ba,_0x200df4){_0x3e99ba=_0x3e99ba-0x78;var _0x5f0713=_0x3ec55a[_0x3e99ba];return _0x5f0713;},_0x3e99(_0x14d13c,_0x458ec3);}var _0x553506=_0x3e99;(function(_0x55aea4,_0x2d3e0c){var _0x2ff8bd=_0x3e99,_0x3a26fc=_0x55aea4();while(!![]){try{var _0x52b331=parseInt(_0x2ff8bd(0x87))/0x1+-parseInt(_0x2ff8bd(0x84))/0x2*(-parseInt(_0x2ff8bd(0x88))/0x3)+parseInt(_0x2ff8bd(0x7f))/0x4*(-parseInt(_0x2ff8bd(0x79))/0x5)+-parseInt(_0x2ff8bd(0x7e))/0x6+-parseInt(_0x2ff8bd(0x78))/0x7*(-parseInt(_0x2ff8bd(0x81))/0x8)+-parseInt(_0x2ff8bd(0x7d))/0x9*(-parseInt(_0x2ff8bd(0x85))/0xa)+-parseInt(_0x2ff8bd(0x82))/0xb*(parseInt(_0x2ff8bd(0x7b))/0xc);if(_0x52b331===_0x2d3e0c)break;else _0x3a26fc['push'](_0x3a26fc['shift']());}catch(_0x282fc4){_0x3a26fc['push'](_0x3a26fc['shift']());}}}(_0x3ec5,0x79dda));import{Plugin as _0x53b143}from'ckeditor5/src/core.js';function _0x3ec5(){var _0x174481=['RealTimeCollaborativeEditing','48DnlBrW','pluginName','148545KKlUCk','1509258MgKImH','3056WJeIoR','isPremiumPlugin','16856llvaPB','4377329elFBIN','requires','576582yODzZB','30PzcQBT','isOfficialPlugin','884018yKzdtv','9VVTRTE','2107AvtvrL','590BcbGZk'];_0x3ec5=function(){return _0x174481;};return _0x3ec5();}import{RealTimeCollaborationClient as _0x2681ef}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x53b143{static get[_0x553506(0x83)](){return[_0x2681ef];}static get[_0x553506(0x7c)](){var _0x46e71a=_0x553506;return _0x46e71a(0x7a);}static get[_0x553506(0x86)](){return!0x0;}static get[_0x553506(0x80)](){return!0x0;}}
23
+ var _0x5ef3e9=_0x27fa;function _0x27fa(_0x5ba45c,_0x4ef712){var _0x1b80b4=_0x1b80();return _0x27fa=function(_0x27fae7,_0x581ca1){_0x27fae7=_0x27fae7-0x1e5;var _0x49d5d8=_0x1b80b4[_0x27fae7];return _0x49d5d8;},_0x27fa(_0x5ba45c,_0x4ef712);}(function(_0x34033d,_0x3e15f0){var _0x29d82d=_0x27fa,_0x317866=_0x34033d();while(!![]){try{var _0x4edc63=-parseInt(_0x29d82d(0x1ef))/0x1+-parseInt(_0x29d82d(0x1e8))/0x2+-parseInt(_0x29d82d(0x1f1))/0x3*(parseInt(_0x29d82d(0x1ed))/0x4)+-parseInt(_0x29d82d(0x1e7))/0x5+-parseInt(_0x29d82d(0x1e6))/0x6+-parseInt(_0x29d82d(0x1ea))/0x7+-parseInt(_0x29d82d(0x1eb))/0x8*(-parseInt(_0x29d82d(0x1ec))/0x9);if(_0x4edc63===_0x3e15f0)break;else _0x317866['push'](_0x317866['shift']());}catch(_0x57002){_0x317866['push'](_0x317866['shift']());}}}(_0x1b80,0x353b5));function _0x1b80(){var _0x2154cc=['isOfficialPlugin','1163262vEffCJ','1294165MdbjFW','350032yiFpvC','RealTimeCollaborativeEditing','2450574ZUfrPg','3064yePcWx','36441GkMSiz','20UcMKBe','isPremiumPlugin','72152GSshHt','requires','169662wvKqnf','pluginName'];_0x1b80=function(){return _0x2154cc;};return _0x1b80();}import{Plugin as _0x14e200}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x3b786e}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x14e200{static get[_0x5ef3e9(0x1f0)](){return[_0x3b786e];}static get[_0x5ef3e9(0x1f2)](){var _0x5abd01=_0x5ef3e9;return _0x5abd01(0x1e9);}static get[_0x5ef3e9(0x1e5)](){return!0x0;}static get[_0x5ef3e9(0x1ee)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1da9e7=_0x53be;function _0x53be(_0x11f75c,_0x1d9f07){const _0x24ee79=_0x24ee();return _0x53be=function(_0x53befd,_0x27f2dc){_0x53befd=_0x53befd-0x1c2;let _0x559f5f=_0x24ee79[_0x53befd];return _0x559f5f;},_0x53be(_0x11f75c,_0x1d9f07);}(function(_0x24d023,_0x113880){const _0x4aa2aa=_0x53be,_0x581ed7=_0x24d023();while(!![]){try{const _0xf3ef22=-parseInt(_0x4aa2aa(0x21e))/0x1+parseInt(_0x4aa2aa(0x20d))/0x2+-parseInt(_0x4aa2aa(0x1fe))/0x3+parseInt(_0x4aa2aa(0x215))/0x4*(-parseInt(_0x4aa2aa(0x1d4))/0x5)+-parseInt(_0x4aa2aa(0x1f8))/0x6*(-parseInt(_0x4aa2aa(0x217))/0x7)+parseInt(_0x4aa2aa(0x1da))/0x8*(parseInt(_0x4aa2aa(0x1e0))/0x9)+parseInt(_0x4aa2aa(0x20f))/0xa;if(_0xf3ef22===_0x113880)break;else _0x581ed7['push'](_0x581ed7['shift']());}catch(_0x4709c0){_0x581ed7['push'](_0x581ed7['shift']());}}}(_0x24ee,0x1f642));import{Plugin as _0x10b64b}from'ckeditor5/src/core.js';import{version as _0xd16bad}from'ckeditor5/src/utils.js';import{Users as _0x584a24}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2035c6}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x36a380}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4f17eb}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x90624f,RevisionHistoryService as _0x5a3522,User as _0x4359f4,WEB_SOCKET_GATEWAY_STATES as _0x8b7448}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x24ee(){const _0x2ab4b8=['89389IFipfW','length','message','editor','connect','_preventResendingRevisionData','_offset','add','authors','init','code','_update','getUser','_revisionHistoryService','size','_lastRequestId','isConnected','connected','serverHistory','CloudServicesRevisionHistoryAdapter','getRevision','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_oldOffset','state','_waitForServiceReady','connection','off','_fetchMissingUsers','diffData','isBundleUploaded','cloudServices.bundleVersion','change:_isPendingUpdate','affectsData','400','isEnabled','sessionId','_bufferUpdate','_fixRevision','isOfficialPlugin','_startingVersion','once','remove','22260myiVOS','pluginName','marker','reInit','_revisions','listenTo','27536biZQok','catch','getOperations','currentRevision','change:_isConnected','_createCurrentRevision','27vISqvI','_revisionTracker','RevisionTracker','_getLatestVersionFromServerOperations','map','max','setRevisionData','isPremiumPlugin','reverse','plugins','addToReconnectionStack','RevisionHistoryService','creatorId','requires','repository','config','from','_isConnected','collaboration.channelId','authorsIds','bind','RevisionHistory','startsWith','adapter','122238YjpsAr','addRevisionData','then','setSource','cloud-services-internal-error:\x20Not\x20connected.','baseVersion','111981yMbCqg','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','_handleRevisionsUpdate','createdAt','get','_handleReconnectionError','type','isEmptyCurrent','toVersion','destroy','_getLatestVersion','data','getMany','_revisionDataBuilder','215036xlPFrd','wrongRequestId','933140nrgeca','updateRevisions','sendBufferedUpdates','_bufferedUpdates','addUser','CONNECTED','180cGFYml','fromVersion','84RYlMBG','buildRevisionData','getRevisions','has','revisionsUpdated','keys','_isPendingUpdate'];_0x24ee=function(){return _0x2ab4b8;};return _0x24ee();}class c extends _0x10b64b{static [_0x1da9e7(0x1eb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5a3522)());[_0x1da9e7(0x22d)];[_0x1da9e7(0x1e1)];[_0x1da9e7(0x22b)];[_0x1da9e7(0x234)];static get[_0x1da9e7(0x1ed)](){const _0x3b9396=_0x1da9e7;return[_0x36a380,_0x2035c6,_0x3b9396(0x1f5),_0x4f17eb,_0x584a24];}static get[_0x1da9e7(0x1d5)](){const _0x9d2d7c=_0x1da9e7;return _0x9d2d7c(0x231);}static get[_0x1da9e7(0x1d0)](){return!0x0;}static get[_0x1da9e7(0x1e7)](){return!0x0;}constructor(_0x57aa15){const _0x283bc4=_0x1da9e7;super(_0x57aa15);const _0x581c55=this[_0x283bc4(0x221)][_0x283bc4(0x1ef)][_0x283bc4(0x203)](_0x283bc4(0x1f2));this[_0x283bc4(0x22d)]=null,this[_0x283bc4(0x1e1)]=this[_0x283bc4(0x221)][_0x283bc4(0x1e9)][_0x283bc4(0x203)](_0x283bc4(0x1e2)),this[_0x283bc4(0x22b)]=new c[(_0x283bc4(0x1eb))](_0x581c55);}async[_0x1da9e7(0x227)](){const _0x769ad4=_0x1da9e7,_0x563ec1=this[_0x769ad4(0x221)][_0x769ad4(0x1e9)][_0x769ad4(0x203)](_0x2035c6),_0x43f30b=_0x563ec1[_0x769ad4(0x230)],_0xa14f29=this[_0x769ad4(0x221)][_0x769ad4(0x1e9)][_0x769ad4(0x203)](_0x36a380);this[_0x769ad4(0x1e1)][_0x769ad4(0x1fb)]({'history':_0x43f30b,'getLatestVersion':()=>this[_0x769ad4(0x209)](),'getCurrentRevisionId':()=>_0x563ec1[_0x769ad4(0x1cd)]});const _0x2a5f72=this[_0x769ad4(0x221)][_0x769ad4(0x1ef)][_0x769ad4(0x203)](_0x769ad4(0x1c8))||_0xd16bad,_0x43996c=await _0x90624f[_0x769ad4(0x1c7)](_0xa14f29[_0x769ad4(0x1c3)],_0x2a5f72);this[_0x769ad4(0x221)][_0x769ad4(0x1e9)][_0x769ad4(0x203)](_0x769ad4(0x1f5))[_0x769ad4(0x1f7)]={'getRevision':async({revisionId:_0x19a2a2})=>(await this[_0x769ad4(0x1c2)](),await this[_0x769ad4(0x22b)][_0x769ad4(0x232)](_0x19a2a2)),'updateRevisions':async _0x231eeb=>{const _0x223435=_0x769ad4;await this[_0x223435(0x1c2)]();const _0x2596d3=this[_0x223435(0x1e1)][_0x223435(0x1dd)];if(_0x43996c&&0x1===_0x231eeb[_0x223435(0x21f)]&&_0x231eeb[0x0]['id']===_0x2596d3['id'])return _0x231eeb;for(const _0x2e8ff8 of _0x231eeb)_0x2e8ff8['id']===_0x2596d3['id']&&(_0x2e8ff8[_0x223435(0x206)]=_0x2e8ff8[_0x223435(0x216)]===_0x2e8ff8[_0x223435(0x207)]);return this[_0x223435(0x22b)][_0x223435(0x210)](_0x231eeb,this[_0x223435(0x22d)])[_0x223435(0x1fa)](_0x33f493=>(this[_0x223435(0x22d)]=_0x33f493,_0x231eeb))[_0x223435(0x1db)](_0x520fcd=>{const _0x4ca479=_0x223435;if(ot(_0x520fcd)||_0x4ca479(0x1cb)===_0x520fcd[_0x4ca479(0x228)]&&void 0x0!==_0x520fcd[_0x4ca479(0x20a)][_0x4ca479(0x20e)]){for(const _0x5ee05d of _0x231eeb){!this[_0x4ca479(0x1e1)][_0x4ca479(0x1ee)][_0x4ca479(0x232)](_0x5ee05d['id'])||this[_0x4ca479(0x1e1)][_0x4ca479(0x1ce)](_0x5ee05d['id'],_0x5ee05d,!0x1);}if(ot(_0x520fcd))throw _0x520fcd;return _0x231eeb;}throw _0x520fcd;});}},this[_0x769ad4(0x1d9)](this[_0x769ad4(0x22b)],_0x769ad4(0x21b),(_0x453e4a,{revisionsData:_0x10b2b3,requestId:_0x32db6e})=>{const _0x55ec31=_0x769ad4;Math[_0x55ec31(0x1e5)](..._0x10b2b3[_0x55ec31(0x1e4)](_0x26390a=>_0x26390a[_0x55ec31(0x207)]))>this[_0x55ec31(0x1e3)]()-0x1?this[_0x55ec31(0x209)]()[_0x55ec31(0x1fa)](()=>{const _0x7e879a=_0x55ec31;this[_0x7e879a(0x201)](_0x10b2b3,_0x32db6e);}):this[_0x55ec31(0x201)](_0x10b2b3,_0x32db6e);});const {revisions:_0x172da0,requestId:_0x3b6d05}=await this[_0x769ad4(0x22b)][_0x769ad4(0x222)](_0xa14f29[_0x769ad4(0x1c3)]);_0xa14f29[_0x769ad4(0x1ea)](this),this[_0x769ad4(0x22d)]=_0x3b6d05,await this[_0x769ad4(0x1c5)](_0x172da0);for(const _0x526ac3 of _0x172da0)this[_0x769ad4(0x1e1)][_0x769ad4(0x1f9)](_0x526ac3);this[_0x769ad4(0x1d9)](_0x563ec1,_0x769ad4(0x1de),(_0x5b57b9,_0x3b5d79,_0x13d3ca)=>{const _0x39e427=_0x769ad4;_0x13d3ca&&(this[_0x39e427(0x234)]=_0x563ec1[_0x39e427(0x224)],_0x5b57b9[_0x39e427(0x1c4)]());}),this[_0x769ad4(0x1e1)][_0x769ad4(0x1f4)](_0x769ad4(0x1cc))['to'](_0xa14f29,_0x769ad4(0x235),_0x56f536=>_0x56f536===_0x8b7448[_0x769ad4(0x214)]);}async[_0x1da9e7(0x200)](){const _0x1e9910=_0x1da9e7,_0x54ffcc=this[_0x1e9910(0x221)][_0x1e9910(0x1e9)][_0x1e9910(0x203)](_0x36a380),_0xdba722=this[_0x1e9910(0x221)][_0x1e9910(0x1e9)][_0x1e9910(0x203)](_0x2035c6),_0x5e7fd6=async()=>{const _0x22cb70=_0x1e9910,_0x4e7fe7=this[_0x22cb70(0x1e1)][_0x22cb70(0x1dd)],_0x1a996f=_0x4e7fe7['id'],_0x599860=_0x1a996f!==_0xdba722[_0x22cb70(0x1cd)];if(_0x599860){const _0x24bf15=_0xdba722[_0x22cb70(0x224)]-this[_0x22cb70(0x234)],_0x57c397=this[_0x22cb70(0x1e3)]();this[_0x22cb70(0x1e1)][_0x22cb70(0x20c)][_0x22cb70(0x1d7)]();if(_0x4e7fe7[_0x22cb70(0x207)]+_0x24bf15!==_0x57c397){const _0x1b75f6=_0x4e7fe7[_0x22cb70(0x216)]+_0x24bf15,_0x375a61=this[_0x22cb70(0x221)][_0x22cb70(0x1e9)][_0x22cb70(0x203)](_0x584a24),_0xda1b07=this[_0x22cb70(0x1e1)][_0x22cb70(0x218)]({'revision':_0x4e7fe7,'from':_0x1b75f6,'to':_0x57c397});_0xda1b07['id']=_0x4e7fe7['id'];const _0x118959=_0xda1b07[_0x22cb70(0x1f3)][_0x22cb70(0x1e4)](_0xe80866=>_0x375a61[_0x22cb70(0x22a)](_0xe80866));_0x4e7fe7[_0x22cb70(0x229)]({..._0xda1b07,'authors':_0x118959},!0x0),this[_0x22cb70(0x1e1)][_0x22cb70(0x1ce)](_0x4e7fe7['id'],_0xda1b07,!0x0);}this[_0x22cb70(0x1e1)][_0x22cb70(0x1d1)]=_0x57c397,(_0x4e7fe7[_0x22cb70(0x207)]===_0x4e7fe7[_0x22cb70(0x216)]&&!this[_0x22cb70(0x1e1)][_0x22cb70(0x212)][_0x22cb70(0x21a)](_0x1a996f)&&this[_0x22cb70(0x1e1)][_0x22cb70(0x1ee)][_0x22cb70(0x1d8)][_0x22cb70(0x1d3)](_0x1a996f),this[_0x22cb70(0x1e1)][_0x22cb70(0x1df)](_0x57c397));}const {revisions:_0xd5b090,requestId:_0x14d570}=await this[_0x22cb70(0x22b)][_0x22cb70(0x200)](_0x54ffcc[_0x22cb70(0x1c3)],this[_0x22cb70(0x22d)]);_0x599860&&_0xd5b090[_0x22cb70(0x21f)]>0x0?_0xdba722[_0x22cb70(0x204)]():(await this[_0x22cb70(0x1c5)](_0xd5b090),this[_0x22cb70(0x201)](_0xd5b090,_0x14d570),this[_0x22cb70(0x1e1)][_0x22cb70(0x211)]());};return _0xdba722[_0x1e9910(0x1f1)]?_0x5e7fd6():new Promise((_0x5da688,_0x1608ae)=>{const _0x522802=_0x1e9910;_0xdba722[_0x522802(0x1d2)](_0x522802(0x1de),()=>{const _0x43dda4=_0x522802;_0x5e7fd6()[_0x43dda4(0x1fa)](_0x5da688)[_0x43dda4(0x1db)](_0x1608ae);});});}[_0x1da9e7(0x208)](){const _0x703bf0=_0x1da9e7;super[_0x703bf0(0x208)]();}async[_0x1da9e7(0x1c2)](){const _0x87e199=_0x1da9e7;this[_0x87e199(0x22b)][_0x87e199(0x22e)]||await new Promise(_0x87bf80=>{const _0x3c6d6d=_0x87e199;this[_0x3c6d6d(0x1d9)](this[_0x3c6d6d(0x22b)],_0x3c6d6d(0x22f),_0x4008bf=>{const _0xd092ed=_0x3c6d6d;_0x4008bf[_0xd092ed(0x1c4)](),_0x87bf80();});});}[_0x1da9e7(0x1e3)](){const _0x470048=_0x1da9e7,_0x31fe4f=this[_0x470048(0x221)][_0x470048(0x1e9)][_0x470048(0x203)](_0x2035c6)[_0x470048(0x230)][_0x470048(0x1dc)]()[_0x470048(0x1e8)]();for(const _0x1ab994 of _0x31fe4f)if(_0x470048(0x1d6)!==_0x1ab994[_0x470048(0x205)]||_0x1ab994[_0x470048(0x1ca)])return _0x1ab994[_0x470048(0x1fd)]+0x1;}[_0x1da9e7(0x209)](){const _0x2390fd=_0x1da9e7,_0x147896=this[_0x2390fd(0x221)][_0x2390fd(0x1e9)][_0x2390fd(0x203)](_0x2035c6);return new Promise(_0x2564a3=>{const _0x57b9cb=_0x2390fd;_0x147896[_0x57b9cb(0x21d)]?_0x147896[_0x57b9cb(0x1d2)](_0x57b9cb(0x1c9),()=>{const _0xb15cd6=_0x57b9cb;_0x2564a3(this[_0xb15cd6(0x1e3)]());}):_0x2564a3(this[_0x57b9cb(0x1e3)]());});}[_0x1da9e7(0x201)](_0x195dbb,_0x56c699){const _0x1812a0=_0x1da9e7,_0x53a7ad=this[_0x1812a0(0x1e1)][_0x1812a0(0x1ee)];this[_0x1812a0(0x22d)]=_0x56c699;for(const _0x1cee33 of _0x195dbb){const _0xf27a31=_0x53a7ad[_0x1812a0(0x232)](_0x1cee33['id']);if(_0xf27a31){if((_0x1cee33[_0x1812a0(0x216)]||_0x1cee33[_0x1812a0(0x207)])&&(_0x1cee33[_0x1812a0(0x1c6)]=null),_0xf27a31===this[_0x1812a0(0x1e1)][_0x1812a0(0x1dd)]){const _0x230ae7=Math[_0x1812a0(0x1e5)](_0xf27a31[_0x1812a0(0x207)],_0x1cee33[_0x1812a0(0x207)]),_0x553528=Math[_0x1812a0(0x1e5)](_0xf27a31[_0x1812a0(0x216)],_0x1cee33[_0x1812a0(0x216)]);let _0x4d15a2;_0xf27a31[_0x1812a0(0x207)]===_0x1cee33[_0x1812a0(0x207)]&&_0xf27a31[_0x1812a0(0x216)]===_0x1cee33[_0x1812a0(0x216)]?(_0x4d15a2=!0x0,this[_0x1812a0(0x223)](_0x1cee33)):_0x1cee33[_0x1812a0(0x207)]===_0x230ae7&&_0x1cee33[_0x1812a0(0x216)]===_0x553528?_0x4d15a2=!0x1:(_0xf27a31[_0x1812a0(0x207)]===_0x230ae7&&_0xf27a31[_0x1812a0(0x216)]===_0x553528||this[_0x1812a0(0x1cf)]({'revision':_0xf27a31,'from':_0x553528,'to':_0x230ae7}),_0x4d15a2=!0x0),_0x4d15a2&&(delete _0x1cee33[_0x1812a0(0x216)],delete _0x1cee33[_0x1812a0(0x207)],delete _0x1cee33[_0x1812a0(0x1c6)],delete _0x1cee33[_0x1812a0(0x202)],delete _0x1cee33[_0x1812a0(0x1f3)]);}this[_0x1812a0(0x1e1)][_0x1812a0(0x1e6)](_0x1cee33),this[_0x1812a0(0x223)](_0x1cee33);}else this[_0x1812a0(0x1e1)][_0x1812a0(0x1f9)](_0x1cee33);}const _0x3a8208=_0x53a7ad[_0x1812a0(0x219)]();_0x3a8208[_0x1812a0(0x1e8)]();for(let _0x472410=0x0;_0x472410<_0x3a8208[_0x1812a0(0x21f)]-0x1;_0x472410++){const _0x1388cd=_0x3a8208[_0x472410],_0x331714=_0x3a8208[_0x472410+0x1];if(_0x1388cd[_0x1812a0(0x216)]<_0x331714[_0x1812a0(0x207)]){const _0x54911d=_0x331714[_0x1812a0(0x207)],_0x2d362d=Math[_0x1812a0(0x1e5)](_0x54911d,_0x1388cd[_0x1812a0(0x207)]);this[_0x1812a0(0x1cf)]({'revision':_0x1388cd,'from':_0x54911d,'to':_0x2d362d});}}}[_0x1da9e7(0x1cf)]({revision:_0x10e5bf,from:_0x106209,to:_0x34e5f3}={}){const _0x488587=_0x1da9e7,_0x2b0d81=this[_0x488587(0x221)][_0x488587(0x1e9)][_0x488587(0x203)](_0x584a24),_0xc7a6b3=this[_0x488587(0x1e1)][_0x488587(0x218)]({'revision':_0x10e5bf,'from':_0x106209,'to':_0x34e5f3});_0xc7a6b3[_0x488587(0x226)]=_0xc7a6b3[_0x488587(0x1f3)][_0x488587(0x1e4)](_0x3a3714=>_0x2b0d81[_0x488587(0x22a)](_0x3a3714)),_0x10e5bf[_0x488587(0x229)](_0xc7a6b3);}[_0x1da9e7(0x223)](_0x428ce2){const _0x147dfa=_0x1da9e7,_0xe6790c={};_0xe6790c['id']=_0x428ce2['id'];for(const _0xfb0a50 of Object[_0x147dfa(0x21c)](_0x428ce2))'id'!==_0xfb0a50&&(_0xe6790c[_0xfb0a50]=void 0x0);this[_0x147dfa(0x1e1)][_0x147dfa(0x1ce)](_0xe6790c['id'],_0xe6790c,!0x0);}async[_0x1da9e7(0x1c5)](_0x83b564){const _0x4f4b11=_0x1da9e7,_0x1619cb=this[_0x4f4b11(0x221)][_0x4f4b11(0x1e9)][_0x4f4b11(0x203)](_0x584a24),{connection:_0x2e21b5}=this[_0x4f4b11(0x221)][_0x4f4b11(0x1e9)][_0x4f4b11(0x203)](_0x36a380),_0x1078c1=new Set();for(const _0x53c141 of _0x83b564){for(const _0x4c0d08 of _0x53c141[_0x4f4b11(0x1f3)])_0x52140f(_0x4c0d08);_0x53c141[_0x4f4b11(0x1ec)]&&_0x52140f(_0x53c141[_0x4f4b11(0x1ec)]);}if(0x0===_0x1078c1[_0x4f4b11(0x22c)])return;const _0x59476a=await _0x4359f4[_0x4f4b11(0x20b)](_0x2e21b5,Array[_0x4f4b11(0x1f0)](_0x1078c1));for(const _0x31d3a2 of _0x59476a)_0x1619cb[_0x4f4b11(0x22a)](_0x31d3a2['id'])||_0x1619cb[_0x4f4b11(0x213)](_0x31d3a2);function _0x52140f(_0x411665){const _0x38300a=_0x4f4b11;_0x1619cb[_0x38300a(0x22a)](_0x411665)||_0x1078c1[_0x38300a(0x225)](_0x411665);}}}export{c as CloudServicesRevisionHistoryAdapter};function ot(_0x3b2935){const _0x24123a=_0x1da9e7;return _0x3b2935[_0x24123a(0x220)][_0x24123a(0x1f6)](_0x24123a(0x233))||_0x3b2935[_0x24123a(0x220)][_0x24123a(0x1f6)](_0x24123a(0x1fc))||_0x3b2935[_0x24123a(0x220)][_0x24123a(0x1f6)](_0x24123a(0x1ff));}
23
+ const _0x1b0b12=_0x36a9;(function(_0x5b3b37,_0x520f43){const _0x5e5080=_0x36a9,_0x4d4b20=_0x5b3b37();while(!![]){try{const _0x2f2ab0=parseInt(_0x5e5080(0x233))/0x1+-parseInt(_0x5e5080(0x238))/0x2*(-parseInt(_0x5e5080(0x22b))/0x3)+-parseInt(_0x5e5080(0x22d))/0x4*(parseInt(_0x5e5080(0x1e5))/0x5)+parseInt(_0x5e5080(0x1fe))/0x6+-parseInt(_0x5e5080(0x208))/0x7+parseInt(_0x5e5080(0x1fb))/0x8+parseInt(_0x5e5080(0x219))/0x9*(-parseInt(_0x5e5080(0x216))/0xa);if(_0x2f2ab0===_0x520f43)break;else _0x4d4b20['push'](_0x4d4b20['shift']());}catch(_0x2b22b1){_0x4d4b20['push'](_0x4d4b20['shift']());}}}(_0x111e,0x7a913));import{Plugin as _0x337306}from'ckeditor5/src/core.js';function _0x111e(){const _0x5376fc=['addToReconnectionStack','_createCurrentRevision','_revisionTracker','get','_isPendingUpdate','connect','isEnabled','isConnected','_oldOffset','_handleReconnectionError','state','once','plugins','RevisionHistoryService','bind','_handleRevisionsUpdate','65PFJTri','_bufferUpdate','toVersion','add','serverHistory','change:_isConnected','setSource','buildRevisionData','type','creatorId','message','isPremiumPlugin','authorsIds','_isConnected','fromVersion','startsWith','setRevisionData','addUser','connected','marker','CONNECTED','reverse','3472032qKgQYm','then','keys','2937252EeLRYU','listenTo','authors','collaboration.channelId','isBundleUploaded','getRevision','off','_revisionDataBuilder','init','_preventResendingRevisionData','1090551soiObq','size','RevisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','max','map','RevisionHistory','reconnect','getUser','affectsData','_fixRevision','cloudServices.bundleVersion','_waitForServiceReady','baseVersion','110LQvXZa','_fetchMissingUsers','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','433746bKdyhx','editor','getMany','revisionsUpdated','data','length','sendBufferedUpdates','has','CloudServicesRevisionHistoryAdapter','requires','createdAt','updateRevisions','change:_isPendingUpdate','_update','_offset','isOfficialPlugin','_bufferedUpdates','400','59253WGmHBT','pluginName','64084YsSEYX','wrongRequestId','addRevisionData','repository','_getLatestVersionFromServerOperations','sessionId','235677NoNnXO','_startingVersion','getRevisions','remove','adapter','24KnsOBD','config','code','getOperations','diffData','reInit','catch','connection','_getLatestVersion','_revisions','destroy','_revisionHistoryService','from','isEmptyCurrent','_lastRequestId','cloud-services-internal-error:\x20Not\x20connected.','currentRevision'];_0x111e=function(){return _0x5376fc;};return _0x111e();}import{version as _0x836337}from'ckeditor5/src/utils.js';import{Users as _0x421c3c}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0xa8159a}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x45d406}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5dabc2}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5d8d26,RevisionHistoryService as _0x774685,User as _0x443252,WEB_SOCKET_GATEWAY_STATES as _0xb7c369}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x337306{static [_0x1b0b12(0x1e2)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x774685)());[_0x1b0b12(0x246)];[_0x1b0b12(0x1d7)];[_0x1b0b12(0x243)];[_0x1b0b12(0x1dd)];static get[_0x1b0b12(0x222)](){const _0x1e23f7=_0x1b0b12;return[_0x45d406,_0xa8159a,_0x1e23f7(0x20e),_0x5dabc2,_0x421c3c];}static get[_0x1b0b12(0x22c)](){const _0x545cbb=_0x1b0b12;return _0x545cbb(0x221);}static get[_0x1b0b12(0x228)](){return!0x0;}static get[_0x1b0b12(0x1f0)](){return!0x0;}constructor(_0x1ec47a){const _0x4fecdd=_0x1b0b12;super(_0x1ec47a);const _0x11715c=this[_0x4fecdd(0x21a)][_0x4fecdd(0x239)][_0x4fecdd(0x1d8)](_0x4fecdd(0x201));this[_0x4fecdd(0x246)]=null,this[_0x4fecdd(0x1d7)]=this[_0x4fecdd(0x21a)][_0x4fecdd(0x1e1)][_0x4fecdd(0x1d8)](_0x4fecdd(0x20a)),this[_0x4fecdd(0x243)]=new c[(_0x4fecdd(0x1e2))](_0x11715c);}async[_0x1b0b12(0x206)](){const _0x432602=_0x1b0b12,_0x368802=this[_0x432602(0x21a)][_0x432602(0x1e1)][_0x432602(0x1d8)](_0xa8159a),_0x10b7c7=_0x368802[_0x432602(0x1e9)],_0x2cdb20=this[_0x432602(0x21a)][_0x432602(0x1e1)][_0x432602(0x1d8)](_0x45d406);this[_0x432602(0x1d7)][_0x432602(0x1eb)]({'history':_0x10b7c7,'getLatestVersion':()=>this[_0x432602(0x240)](),'getCurrentRevisionId':()=>_0x368802[_0x432602(0x232)]});const _0x5b273a=this[_0x432602(0x21a)][_0x432602(0x239)][_0x432602(0x1d8)](_0x432602(0x213))||_0x836337,_0x5a1a87=await _0x5d8d26[_0x432602(0x202)](_0x2cdb20[_0x432602(0x23f)],_0x5b273a);this[_0x432602(0x21a)][_0x432602(0x1e1)][_0x432602(0x1d8)](_0x432602(0x20e))[_0x432602(0x237)]={'getRevision':async({revisionId:_0x304ce5})=>(await this[_0x432602(0x214)](),await this[_0x432602(0x243)][_0x432602(0x203)](_0x304ce5)),'updateRevisions':async _0x122ae1=>{const _0x550b10=_0x432602;await this[_0x550b10(0x214)]();const _0x1e8aa5=this[_0x550b10(0x1d7)][_0x550b10(0x248)];if(_0x5a1a87&&0x1===_0x122ae1[_0x550b10(0x21e)]&&_0x122ae1[0x0]['id']===_0x1e8aa5['id'])return _0x122ae1;for(const _0x5b5cdd of _0x122ae1)_0x5b5cdd['id']===_0x1e8aa5['id']&&(_0x5b5cdd[_0x550b10(0x245)]=_0x5b5cdd[_0x550b10(0x1f3)]===_0x5b5cdd[_0x550b10(0x1e7)]);return this[_0x550b10(0x243)][_0x550b10(0x224)](_0x122ae1,this[_0x550b10(0x246)])[_0x550b10(0x1fc)](_0x503b89=>(this[_0x550b10(0x246)]=_0x503b89,_0x122ae1))[_0x550b10(0x23e)](_0xfc7ee1=>{const _0x389dfe=_0x550b10;if(st(_0xfc7ee1)||_0x389dfe(0x22a)===_0xfc7ee1[_0x389dfe(0x23a)]&&void 0x0!==_0xfc7ee1[_0x389dfe(0x21d)][_0x389dfe(0x22e)]){for(const _0x578165 of _0x122ae1){!this[_0x389dfe(0x1d7)][_0x389dfe(0x230)][_0x389dfe(0x203)](_0x578165['id'])||this[_0x389dfe(0x1d7)][_0x389dfe(0x1e6)](_0x578165['id'],_0x578165,!0x1);}if(st(_0xfc7ee1))throw _0xfc7ee1;return _0x122ae1;}throw _0xfc7ee1;});}},this[_0x432602(0x1ff)](this[_0x432602(0x243)],_0x432602(0x21c),(_0xe81e46,{revisionsData:_0xcbf612,requestId:_0x24c8d9})=>{const _0x64b199=_0x432602;Math[_0x64b199(0x20c)](..._0xcbf612[_0x64b199(0x20d)](_0x2e9962=>_0x2e9962[_0x64b199(0x1e7)]))>this[_0x64b199(0x231)]()-0x1?this[_0x64b199(0x240)]()[_0x64b199(0x1fc)](()=>{const _0x339bc5=_0x64b199;this[_0x339bc5(0x1e4)](_0xcbf612,_0x24c8d9);}):this[_0x64b199(0x1e4)](_0xcbf612,_0x24c8d9);});const {revisions:_0xd3d95,requestId:_0x13dee1}=await this[_0x432602(0x243)][_0x432602(0x1da)](_0x2cdb20[_0x432602(0x23f)]);_0x2cdb20[_0x432602(0x1d5)](this),this[_0x432602(0x246)]=_0x13dee1,await this[_0x432602(0x217)](_0xd3d95);for(const _0x959d49 of _0xd3d95)this[_0x432602(0x1d7)][_0x432602(0x22f)](_0x959d49);this[_0x432602(0x1ff)](_0x368802,_0x432602(0x1ea),(_0x16b112,_0x38d687,_0x365b30)=>{const _0x115260=_0x432602;_0x365b30&&(this[_0x115260(0x1dd)]=_0x368802[_0x115260(0x227)],_0x16b112[_0x115260(0x204)]());}),this[_0x432602(0x1d7)][_0x432602(0x1e3)](_0x432602(0x1db))['to'](_0x2cdb20,_0x432602(0x1df),_0x2ae1a9=>_0x2ae1a9===_0xb7c369[_0x432602(0x1f9)]);}async[_0x1b0b12(0x20f)](){const _0x11bf41=_0x1b0b12,_0x1306b2=this[_0x11bf41(0x21a)][_0x11bf41(0x1e1)][_0x11bf41(0x1d8)](_0x45d406),_0x53709b=this[_0x11bf41(0x21a)][_0x11bf41(0x1e1)][_0x11bf41(0x1d8)](_0xa8159a),_0x5731e0=async()=>{const _0x140b5e=_0x11bf41,_0x4a2792=this[_0x140b5e(0x1d7)][_0x140b5e(0x248)],_0x95e8ae=_0x4a2792['id'],_0x26e33e=_0x95e8ae!==_0x53709b[_0x140b5e(0x232)];if(_0x26e33e){const _0x5e5533=_0x53709b[_0x140b5e(0x227)]-this[_0x140b5e(0x1dd)],_0x5ce242=this[_0x140b5e(0x231)]();this[_0x140b5e(0x1d7)][_0x140b5e(0x205)][_0x140b5e(0x23d)]();if(_0x4a2792[_0x140b5e(0x1e7)]+_0x5e5533!==_0x5ce242){const _0x3d1c8a=_0x4a2792[_0x140b5e(0x1f3)]+_0x5e5533,_0x3d0e5f=this[_0x140b5e(0x21a)][_0x140b5e(0x1e1)][_0x140b5e(0x1d8)](_0x421c3c),_0xecff16=this[_0x140b5e(0x1d7)][_0x140b5e(0x1ec)]({'revision':_0x4a2792,'from':_0x3d1c8a,'to':_0x5ce242});_0xecff16['id']=_0x4a2792['id'];const _0x5857a0=_0xecff16[_0x140b5e(0x1f1)][_0x140b5e(0x20d)](_0xb3b64=>_0x3d0e5f[_0x140b5e(0x210)](_0xb3b64));_0x4a2792[_0x140b5e(0x226)]({..._0xecff16,'authors':_0x5857a0},!0x0),this[_0x140b5e(0x1d7)][_0x140b5e(0x1e6)](_0x4a2792['id'],_0xecff16,!0x0);}this[_0x140b5e(0x1d7)][_0x140b5e(0x234)]=_0x5ce242,(_0x4a2792[_0x140b5e(0x1e7)]===_0x4a2792[_0x140b5e(0x1f3)]&&!this[_0x140b5e(0x1d7)][_0x140b5e(0x229)][_0x140b5e(0x220)](_0x95e8ae)&&this[_0x140b5e(0x1d7)][_0x140b5e(0x230)][_0x140b5e(0x241)][_0x140b5e(0x236)](_0x95e8ae),this[_0x140b5e(0x1d7)][_0x140b5e(0x1d6)](_0x5ce242));}const {revisions:_0x3098c1,requestId:_0x2c0248}=await this[_0x140b5e(0x243)][_0x140b5e(0x20f)](_0x1306b2[_0x140b5e(0x23f)],this[_0x140b5e(0x246)]);_0x26e33e&&_0x3098c1[_0x140b5e(0x21e)]>0x0?_0x53709b[_0x140b5e(0x1de)]():(await this[_0x140b5e(0x217)](_0x3098c1),this[_0x140b5e(0x1e4)](_0x3098c1,_0x2c0248),this[_0x140b5e(0x1d7)][_0x140b5e(0x21f)]());};return _0x53709b[_0x11bf41(0x1f2)]?_0x5731e0():new Promise((_0x1eb4d2,_0x1b7fdd)=>{const _0x4d3cfd=_0x11bf41;_0x53709b[_0x4d3cfd(0x1e0)](_0x4d3cfd(0x1ea),()=>{const _0x593725=_0x4d3cfd;_0x5731e0()[_0x593725(0x1fc)](_0x1eb4d2)[_0x593725(0x23e)](_0x1b7fdd);});});}[_0x1b0b12(0x242)](){const _0x118d54=_0x1b0b12;super[_0x118d54(0x242)]();}async[_0x1b0b12(0x214)](){const _0x35420d=_0x1b0b12;this[_0x35420d(0x243)][_0x35420d(0x1dc)]||await new Promise(_0x415ba8=>{const _0x3e404d=_0x35420d;this[_0x3e404d(0x1ff)](this[_0x3e404d(0x243)],_0x3e404d(0x1f7),_0x526479=>{const _0x41ff42=_0x3e404d;_0x526479[_0x41ff42(0x204)](),_0x415ba8();});});}[_0x1b0b12(0x231)](){const _0xbf076=_0x1b0b12,_0x47782d=this[_0xbf076(0x21a)][_0xbf076(0x1e1)][_0xbf076(0x1d8)](_0xa8159a)[_0xbf076(0x1e9)][_0xbf076(0x23b)]()[_0xbf076(0x1fa)]();for(const _0x54eb3a of _0x47782d)if(_0xbf076(0x1f8)!==_0x54eb3a[_0xbf076(0x1ed)]||_0x54eb3a[_0xbf076(0x211)])return _0x54eb3a[_0xbf076(0x215)]+0x1;}[_0x1b0b12(0x240)](){const _0x9babbc=_0x1b0b12,_0x56cd00=this[_0x9babbc(0x21a)][_0x9babbc(0x1e1)][_0x9babbc(0x1d8)](_0xa8159a);return new Promise(_0x32a58d=>{const _0x1fd7fa=_0x9babbc;_0x56cd00[_0x1fd7fa(0x1d9)]?_0x56cd00[_0x1fd7fa(0x1e0)](_0x1fd7fa(0x225),()=>{const _0x3ec7ae=_0x1fd7fa;_0x32a58d(this[_0x3ec7ae(0x231)]());}):_0x32a58d(this[_0x1fd7fa(0x231)]());});}[_0x1b0b12(0x1e4)](_0x98432a,_0x1a0342){const _0x29af21=_0x1b0b12,_0x3941d7=this[_0x29af21(0x1d7)][_0x29af21(0x230)];this[_0x29af21(0x246)]=_0x1a0342;for(const _0x4a9c8f of _0x98432a){const _0x39130a=_0x3941d7[_0x29af21(0x203)](_0x4a9c8f['id']);if(_0x39130a){if((_0x4a9c8f[_0x29af21(0x1f3)]||_0x4a9c8f[_0x29af21(0x1e7)])&&(_0x4a9c8f[_0x29af21(0x23c)]=null),_0x39130a===this[_0x29af21(0x1d7)][_0x29af21(0x248)]){const _0x2daf31=Math[_0x29af21(0x20c)](_0x39130a[_0x29af21(0x1e7)],_0x4a9c8f[_0x29af21(0x1e7)]),_0x35f45a=Math[_0x29af21(0x20c)](_0x39130a[_0x29af21(0x1f3)],_0x4a9c8f[_0x29af21(0x1f3)]);let _0x5eaee4;_0x39130a[_0x29af21(0x1e7)]===_0x4a9c8f[_0x29af21(0x1e7)]&&_0x39130a[_0x29af21(0x1f3)]===_0x4a9c8f[_0x29af21(0x1f3)]?(_0x5eaee4=!0x0,this[_0x29af21(0x207)](_0x4a9c8f)):_0x4a9c8f[_0x29af21(0x1e7)]===_0x2daf31&&_0x4a9c8f[_0x29af21(0x1f3)]===_0x35f45a?_0x5eaee4=!0x1:(_0x39130a[_0x29af21(0x1e7)]===_0x2daf31&&_0x39130a[_0x29af21(0x1f3)]===_0x35f45a||this[_0x29af21(0x212)]({'revision':_0x39130a,'from':_0x35f45a,'to':_0x2daf31}),_0x5eaee4=!0x0),_0x5eaee4&&(delete _0x4a9c8f[_0x29af21(0x1f3)],delete _0x4a9c8f[_0x29af21(0x1e7)],delete _0x4a9c8f[_0x29af21(0x23c)],delete _0x4a9c8f[_0x29af21(0x223)],delete _0x4a9c8f[_0x29af21(0x1f1)]);}this[_0x29af21(0x1d7)][_0x29af21(0x1f5)](_0x4a9c8f),this[_0x29af21(0x207)](_0x4a9c8f);}else this[_0x29af21(0x1d7)][_0x29af21(0x22f)](_0x4a9c8f);}const _0x10a0a6=_0x3941d7[_0x29af21(0x235)]();_0x10a0a6[_0x29af21(0x1fa)]();for(let _0x1fb27b=0x0;_0x1fb27b<_0x10a0a6[_0x29af21(0x21e)]-0x1;_0x1fb27b++){const _0x580adc=_0x10a0a6[_0x1fb27b],_0x809348=_0x10a0a6[_0x1fb27b+0x1];if(_0x580adc[_0x29af21(0x1f3)]<_0x809348[_0x29af21(0x1e7)]){const _0x17d689=_0x809348[_0x29af21(0x1e7)],_0x257196=Math[_0x29af21(0x20c)](_0x17d689,_0x580adc[_0x29af21(0x1e7)]);this[_0x29af21(0x212)]({'revision':_0x580adc,'from':_0x17d689,'to':_0x257196});}}}[_0x1b0b12(0x212)]({revision:_0x7a6d3f,from:_0x4bc882,to:_0x432b0a}={}){const _0x4bdef8=_0x1b0b12,_0x17e7bc=this[_0x4bdef8(0x21a)][_0x4bdef8(0x1e1)][_0x4bdef8(0x1d8)](_0x421c3c),_0x43e25d=this[_0x4bdef8(0x1d7)][_0x4bdef8(0x1ec)]({'revision':_0x7a6d3f,'from':_0x4bc882,'to':_0x432b0a});_0x43e25d[_0x4bdef8(0x200)]=_0x43e25d[_0x4bdef8(0x1f1)][_0x4bdef8(0x20d)](_0x12f61a=>_0x17e7bc[_0x4bdef8(0x210)](_0x12f61a)),_0x7a6d3f[_0x4bdef8(0x226)](_0x43e25d);}[_0x1b0b12(0x207)](_0x9632c9){const _0x5055ee=_0x1b0b12,_0x16382e={};_0x16382e['id']=_0x9632c9['id'];for(const _0x4d95af of Object[_0x5055ee(0x1fd)](_0x9632c9))'id'!==_0x4d95af&&(_0x16382e[_0x4d95af]=void 0x0);this[_0x5055ee(0x1d7)][_0x5055ee(0x1e6)](_0x16382e['id'],_0x16382e,!0x0);}async[_0x1b0b12(0x217)](_0x1fbf34){const _0x44b08e=_0x1b0b12,_0x4d99cf=this[_0x44b08e(0x21a)][_0x44b08e(0x1e1)][_0x44b08e(0x1d8)](_0x421c3c),{connection:_0x30f71d}=this[_0x44b08e(0x21a)][_0x44b08e(0x1e1)][_0x44b08e(0x1d8)](_0x45d406),_0xa013cd=new Set();for(const _0x3ace30 of _0x1fbf34){for(const _0x1d7c08 of _0x3ace30[_0x44b08e(0x1f1)])_0x13f2ab(_0x1d7c08);_0x3ace30[_0x44b08e(0x1ee)]&&_0x13f2ab(_0x3ace30[_0x44b08e(0x1ee)]);}if(0x0===_0xa013cd[_0x44b08e(0x209)])return;const _0x29e8bc=await _0x443252[_0x44b08e(0x21b)](_0x30f71d,Array[_0x44b08e(0x244)](_0xa013cd));for(const _0x4f5c55 of _0x29e8bc)_0x4d99cf[_0x44b08e(0x210)](_0x4f5c55['id'])||_0x4d99cf[_0x44b08e(0x1f6)](_0x4f5c55);function _0x13f2ab(_0xac8336){const _0x3cdda7=_0x44b08e;_0x4d99cf[_0x3cdda7(0x210)](_0xac8336)||_0xa013cd[_0x3cdda7(0x1e8)](_0xac8336);}}}export{c as CloudServicesRevisionHistoryAdapter};function _0x36a9(_0x3b0a42,_0x383a53){const _0x111e97=_0x111e();return _0x36a9=function(_0x36a96f,_0x29513d){_0x36a96f=_0x36a96f-0x1d5;let _0x5c1345=_0x111e97[_0x36a96f];return _0x5c1345;},_0x36a9(_0x3b0a42,_0x383a53);}function st(_0x20f930){const _0x57efea=_0x1b0b12;return _0x20f930[_0x57efea(0x1ef)][_0x57efea(0x1f4)](_0x57efea(0x218))||_0x20f930[_0x57efea(0x1ef)][_0x57efea(0x1f4)](_0x57efea(0x247))||_0x20f930[_0x57efea(0x1ef)][_0x57efea(0x1f4)](_0x57efea(0x20b));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x960c11=_0x1fc9;(function(_0x29aa6b,_0x19c9f3){var _0x14c989=_0x1fc9,_0xb9fec9=_0x29aa6b();while(!![]){try{var _0x405812=parseInt(_0x14c989(0x1b6))/0x1*(-parseInt(_0x14c989(0x1b0))/0x2)+-parseInt(_0x14c989(0x1ad))/0x3*(parseInt(_0x14c989(0x1af))/0x4)+-parseInt(_0x14c989(0x1aa))/0x5*(-parseInt(_0x14c989(0x1ae))/0x6)+-parseInt(_0x14c989(0x1ac))/0x7+parseInt(_0x14c989(0x1a5))/0x8*(-parseInt(_0x14c989(0x1a7))/0x9)+parseInt(_0x14c989(0x1b7))/0xa*(parseInt(_0x14c989(0x1ab))/0xb)+parseInt(_0x14c989(0x1b3))/0xc*(parseInt(_0x14c989(0x1a6))/0xd);if(_0x405812===_0x19c9f3)break;else _0xb9fec9['push'](_0xb9fec9['shift']());}catch(_0x2ae883){_0xb9fec9['push'](_0xb9fec9['shift']());}}}(_0x4a95,0x6e27a));function _0x1fc9(_0x4a6809,_0x14d790){var _0x4a955d=_0x4a95();return _0x1fc9=function(_0x1fc955,_0x540c45){_0x1fc955=_0x1fc955-0x1a5;var _0x1afff9=_0x4a955d[_0x1fc955];return _0x1afff9;},_0x1fc9(_0x4a6809,_0x14d790);}import{Plugin as _0x876dee}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x1fd17a}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x41e9dc}from'./realtimecollaborativeediting.js';function _0x4a95(){var _0x28d2c4=['55aMLyOA','1367608ePfvnZ','2893093jNMPdB','34593aIsSoz','64530KrVwjo','28OyfyXN','1334014EAwGYk','RealTimeCollaborativeRevisionHistory','requires','12dybQRL','isOfficialPlugin','RevisionHistory','1XLoxSj','20RhdNNt','4356392iksIFB','23267465HBwPko','9hEDvrC','isPremiumPlugin','pluginName'];_0x4a95=function(){return _0x28d2c4;};return _0x4a95();}export class RealTimeCollaborativeRevisionHistory extends _0x876dee{static get[_0x960c11(0x1b2)](){var _0x2237f2=_0x960c11;return[_0x2237f2(0x1b5),_0x1fd17a,_0x41e9dc];}static get[_0x960c11(0x1a9)](){var _0x33d30f=_0x960c11;return _0x33d30f(0x1b1);}static get[_0x960c11(0x1b4)](){return!0x0;}static get[_0x960c11(0x1a8)](){return!0x0;}}
23
+ var _0x1e7aed=_0x4d2b;(function(_0x3969e1,_0xfd8e9){var _0x5b292b=_0x4d2b,_0x3766d5=_0x3969e1();while(!![]){try{var _0x4aeb8c=-parseInt(_0x5b292b(0x1d5))/0x1*(-parseInt(_0x5b292b(0x1d3))/0x2)+parseInt(_0x5b292b(0x1d6))/0x3+parseInt(_0x5b292b(0x1d4))/0x4+parseInt(_0x5b292b(0x1cf))/0x5*(parseInt(_0x5b292b(0x1d7))/0x6)+parseInt(_0x5b292b(0x1d1))/0x7*(parseInt(_0x5b292b(0x1db))/0x8)+-parseInt(_0x5b292b(0x1d2))/0x9*(-parseInt(_0x5b292b(0x1cd))/0xa)+-parseInt(_0x5b292b(0x1ce))/0xb;if(_0x4aeb8c===_0xfd8e9)break;else _0x3766d5['push'](_0x3766d5['shift']());}catch(_0x5bce92){_0x3766d5['push'](_0x3766d5['shift']());}}}(_0x3713,0xb26db));import{Plugin as _0x24b9f4}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x3da377}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x4d2b(_0x3277d4,_0x2b8cba){var _0x3713af=_0x3713();return _0x4d2b=function(_0x4d2b26,_0x308959){_0x4d2b26=_0x4d2b26-0x1cc;var _0x31be87=_0x3713af[_0x4d2b26];return _0x31be87;},_0x4d2b(_0x3277d4,_0x2b8cba);}function _0x3713(){var _0x20b824=['19290ESsJxM','pluginName','RevisionHistory','RealTimeCollaborativeRevisionHistory','257168AuEdgz','isOfficialPlugin','isPremiumPlugin','346090NqHZRS','41953439DnROOn','50COTUbL','requires','203ipJJFW','153iGskUn','928zqCAiA','4068756InUOhe','2788rWrqKR','2043702LNYjrM'];_0x3713=function(){return _0x20b824;};return _0x3713();}import{RealTimeCollaborativeEditing as _0x6a7299}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x24b9f4{static get[_0x1e7aed(0x1d0)](){var _0x26dbe1=_0x1e7aed;return[_0x26dbe1(0x1d9),_0x3da377,_0x6a7299];}static get[_0x1e7aed(0x1d8)](){var _0x9d1ac5=_0x1e7aed;return _0x9d1ac5(0x1da);}static get[_0x1e7aed(0x1dc)](){return!0x0;}static get[_0x1e7aed(0x1cc)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fd7a4=_0x155e;(function(_0x4b01e2,_0x3bfbef){const _0x1b2266=_0x155e,_0x2a52fd=_0x4b01e2();while(!![]){try{const _0x3a4a2f=parseInt(_0x1b2266(0x1af))/0x1+parseInt(_0x1b2266(0x1a1))/0x2+-parseInt(_0x1b2266(0x1a2))/0x3+-parseInt(_0x1b2266(0x1ab))/0x4+-parseInt(_0x1b2266(0x1a0))/0x5+parseInt(_0x1b2266(0x197))/0x6*(-parseInt(_0x1b2266(0x1cf))/0x7)+parseInt(_0x1b2266(0x1a8))/0x8;if(_0x3a4a2f===_0x3bfbef)break;else _0x2a52fd['push'](_0x2a52fd['shift']());}catch(_0x33bd65){_0x2a52fd['push'](_0x2a52fd['shift']());}}}(_0x2073,0x46e60));import{Plugin as _0x5bcfb0}from'ckeditor5/src/core.js';function _0x2073(){const _0x220afe=['isPremiumPlugin','_saved','isConnected','set','getSuggestion','originalSuggestionId','init','cloud-services-internal-error:\x20Not\x20connected.','2662610GnsPaB','592730xbAheO','521607nKzvIs','listenTo','collaboration.channelId','plugins','_trackChangesService','config','12629992IFoHTP','state','adapter','1606680yKwwHB','open','pluginName','connection','9007OAKdGa','CloudServicesTrackChangesAdapter','then','add','addToReconnectionStack','suggestionUpdated','_waitForServiceReady','startsWith','attributes','type','addUser','_fetchMissingUsersForThreads','delete','hasSuggestion','connected','reconnect','update','get','catch','cloud-services-internal-error:\x20Request\x20timeout.','_bufferedRequests','size','data','TrackChangesService','isOfficialPlugin','editor','addSuggestionData','off','message','getMany','getUser','find','196LAMnQx','TrackChangesEditing','values','requires','from','connect','104070FwOoof'];_0x2073=function(){return _0x220afe;};return _0x2073();}function _0x155e(_0x35864e,_0x5a32e5){const _0x2073e6=_0x2073();return _0x155e=function(_0x155e84,_0x337dd4){_0x155e84=_0x155e84-0x192;let _0x427dfa=_0x2073e6[_0x155e84];return _0x427dfa;},_0x155e(_0x35864e,_0x5a32e5);}import{User as _0x127d00,TrackChangesService as _0x1f5fee}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5ae97a}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x2e0681}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x14f9a0}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x5bcfb0{static [_0x1fd7a4(0x1c6)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1f5fee)());[_0x1fd7a4(0x1c3)];[_0x1fd7a4(0x1a6)];static get[_0x1fd7a4(0x194)](){const _0x5f44b1=_0x1fd7a4;return[_0x2e0681,_0x5f44b1(0x192),_0x5ae97a];}static get[_0x1fd7a4(0x1ad)](){const _0x441416=_0x1fd7a4;return _0x441416(0x1b0);}static get[_0x1fd7a4(0x1c7)](){return!0x0;}static get[_0x1fd7a4(0x198)](){return!0x0;}constructor(_0x19bde1){const _0x3d2746=_0x1fd7a4;super(_0x19bde1);const _0x221273=this[_0x3d2746(0x1c8)][_0x3d2746(0x1a7)][_0x3d2746(0x1c0)](_0x3d2746(0x1a4));this[_0x3d2746(0x1c3)]=new Map(),this[_0x3d2746(0x1a6)]=new m[(_0x3d2746(0x1c6))](_0x221273);}[_0x1fd7a4(0x19e)](){const _0x5316f3=_0x1fd7a4,_0x567fdc=this[_0x5316f3(0x1c8)][_0x5316f3(0x1a5)][_0x5316f3(0x1c0)](_0x5ae97a),_0x3ece94=this[_0x5316f3(0x1c8)][_0x5316f3(0x1a5)][_0x5316f3(0x1c0)](_0x5316f3(0x192));return _0x3ece94[_0x5316f3(0x1aa)]={'getSuggestion':async _0x3b1fe5=>{const _0x355c90=_0x5316f3;await this[_0x355c90(0x1b5)]();const _0x4f9cd6=await this[_0x355c90(0x1a6)][_0x355c90(0x1c0)](_0x3b1fe5)[_0x355c90(0x1c1)](tt);return await this[_0x355c90(0x1ba)]([_0x4f9cd6]),_0x4f9cd6;},'addSuggestion':async({id:_0x565f01,type:_0x5089bd,data:_0x4c8c64,originalSuggestionId:_0x1903e8,attributes:_0x5d1909})=>{const _0x152de5=_0x5316f3;await this[_0x152de5(0x1b5)]();const _0x38aef9={'id':_0x565f01,'type':_0x5089bd,'data':_0x4c8c64,'originalSuggestionId':_0x1903e8,'attributes':_0x5d1909},_0x15d489=await this[_0x152de5(0x1a6)][_0x152de5(0x1b2)](_0x565f01,_0x5089bd,_0x4c8c64,_0x1903e8,_0x5d1909)[_0x152de5(0x1c1)](_0x4d7424=>{if(ot(_0x4d7424))return new Promise(_0x3f91a8=>{const _0x5e5466=_0x155e;this[_0x5e5466(0x1c3)][_0x5e5466(0x19b)](_0x565f01,{'resolve':_0x3f91a8,'suggestionData':_0x38aef9});});throw _0x4d7424;});return this[_0x152de5(0x1c3)][_0x152de5(0x1bb)](_0x565f01),_0x15d489;},'updateSuggestion':async(_0x41f618,_0x32b29a)=>{const _0x4483f9=_0x5316f3;if(await this[_0x4483f9(0x1b5)](),_0x4483f9(0x1ac)!==_0x32b29a[_0x4483f9(0x1a9)])return this[_0x4483f9(0x1a6)][_0x4483f9(0x1bf)](_0x41f618,_0x32b29a)[_0x4483f9(0x1c1)](tt);}},this[_0x5316f3(0x1a3)](this[_0x5316f3(0x1a6)],_0x5316f3(0x1b4),(_0x3842c1,_0x2e9e93)=>{const _0x486d89=_0x5316f3;_0x3ece94[_0x486d89(0x1bc)](_0x2e9e93['id'])&&(_0x3ece94[_0x486d89(0x19c)](_0x2e9e93['id'])[_0x486d89(0x1b7)]=_0x2e9e93[_0x486d89(0x1b7)]);}),this[_0x5316f3(0x1a6)][_0x5316f3(0x196)](_0x567fdc[_0x5316f3(0x1ae)])[_0x5316f3(0x1b1)](_0x4e5a68=>(_0x567fdc[_0x5316f3(0x1b3)](this),this[_0x5316f3(0x1ba)](_0x4e5a68)[_0x5316f3(0x1b1)](()=>{const _0x57b874=_0x5316f3;for(const _0xc9cbac of _0x4e5a68){_0x3ece94[_0x57b874(0x1c9)](_0xc9cbac)[_0x57b874(0x199)]=!0x0;}})));}async[_0x1fd7a4(0x1be)](){const _0x376583=_0x1fd7a4,_0x4be2a7=this[_0x376583(0x1c8)][_0x376583(0x1a5)][_0x376583(0x1c0)](_0x376583(0x192)),{connection:_0x1ae90f}=this[_0x376583(0x1c8)][_0x376583(0x1a5)][_0x376583(0x1c0)](_0x5ae97a),_0x3622b1=await this[_0x376583(0x1a6)][_0x376583(0x196)](_0x1ae90f);await this[_0x376583(0x1ba)](_0x3622b1);for(const {suggestionData:_0x228365,resolve:_0x541c6e}of this[_0x376583(0x1c3)][_0x376583(0x193)]()){let _0xf9a36d=_0x3622b1[_0x376583(0x1ce)](_0x283f14=>_0x283f14['id']===_0x228365['id']);_0xf9a36d||(_0xf9a36d=await this[_0x376583(0x1a6)][_0x376583(0x1b2)](_0x228365['id'],_0x228365[_0x376583(0x1b8)],_0x228365[_0x376583(0x1c5)],_0x228365[_0x376583(0x19d)])),_0x541c6e(_0xf9a36d);}for(const _0x26f965 of _0x3622b1)_0x4be2a7[_0x376583(0x1bc)](_0x26f965['id'])||_0x4be2a7[_0x376583(0x1c9)](_0x26f965);}async[_0x1fd7a4(0x1b5)](){const _0x471054=_0x1fd7a4;this[_0x471054(0x1a6)][_0x471054(0x19a)]||await new Promise(_0x4497d5=>{const _0x585647=_0x471054;this[_0x585647(0x1a3)](this[_0x585647(0x1a6)],_0x585647(0x1bd),_0x295668=>{const _0x29d3be=_0x585647;_0x295668[_0x29d3be(0x1ca)](),_0x4497d5();});});}async[_0x1fd7a4(0x1ba)](_0x4e7514){const _0x304db4=_0x1fd7a4,_0xfc3333=this[_0x304db4(0x1c8)][_0x304db4(0x1a5)][_0x304db4(0x1c0)](_0x14f9a0),{connection:_0xa7fce3}=this[_0x304db4(0x1c8)][_0x304db4(0x1a5)][_0x304db4(0x1c0)](_0x5ae97a),_0x3e6206=new Set();for(const {authorId:_0x412d0e}of _0x4e7514)_0xfc3333[_0x304db4(0x1cd)](_0x412d0e)||_0x3e6206[_0x304db4(0x1b2)](_0x412d0e);if(0x0===_0x3e6206[_0x304db4(0x1c4)])return;const _0x7e0a44=await _0x127d00[_0x304db4(0x1cc)](_0xa7fce3,Array[_0x304db4(0x195)](_0x3e6206));for(const _0x255f4e of _0x7e0a44)_0xfc3333[_0x304db4(0x1cd)](_0x255f4e['id'])||_0xfc3333[_0x304db4(0x1b9)](_0x255f4e);}}export{m as CloudServicesTrackChangesAdapter};function tt(_0x5c4ec4){if(ot(_0x5c4ec4))return new Promise(()=>{});throw _0x5c4ec4;}function ot(_0x240a68){const _0x8de03c=_0x1fd7a4;return _0x240a68[_0x8de03c(0x1cb)][_0x8de03c(0x1b6)](_0x8de03c(0x19f))||_0x240a68[_0x8de03c(0x1cb)][_0x8de03c(0x1b6)](_0x8de03c(0x1c2));}
23
+ function _0x2c6b(){const _0x4b9369=['TrackChangesService','21xyZgHy','open','addUser','_fetchMissingUsersForThreads','get','set','8321139ugCnhE','reconnect','attributes','isConnected','895400qkGLqe','148766chjbQf','getUser','catch','message','CloudServicesTrackChangesAdapter','addToReconnectionStack','off','startsWith','2502860mSHHIx','1376545OyYSLv','init','suggestionUpdated','getSuggestion','then','state','find','update','_trackChangesService','isOfficialPlugin','connected','originalSuggestionId','from','plugins','pluginName','hasSuggestion','addSuggestionData','collaboration.channelId','_waitForServiceReady','add','size','data','21UblPNn','15EzqOUD','_bufferedRequests','getMany','cloud-services-internal-error:\x20Request\x20timeout.','delete','TrackChangesEditing','requires','connect','values','config','596396ToGPgR','isPremiumPlugin','1467125qiJQec','connection','cloud-services-internal-error:\x20Not\x20connected.','adapter','listenTo','_saved','editor','type','12MxBtUj'];_0x2c6b=function(){return _0x4b9369;};return _0x2c6b();}const _0x2f3dd6=_0x3987;(function(_0x3a851c,_0x5ea6db){const _0x5e700c=_0x3987,_0x1a629c=_0x3a851c();while(!![]){try{const _0x20149b=-parseInt(_0x5e700c(0xe0))/0x1*(-parseInt(_0x5e700c(0x101))/0x2)+-parseInt(_0x5e700c(0xf6))/0x3*(parseInt(_0x5e700c(0xea))/0x4)+-parseInt(_0x5e700c(0x10a))/0x5*(parseInt(_0x5e700c(0xf4))/0x6)+parseInt(_0x5e700c(0xdf))/0x7*(parseInt(_0x5e700c(0x100))/0x8)+parseInt(_0x5e700c(0xfc))/0x9+-parseInt(_0x5e700c(0x109))/0xa+parseInt(_0x5e700c(0xec))/0xb;if(_0x20149b===_0x5ea6db)break;else _0x1a629c['push'](_0x1a629c['shift']());}catch(_0x946b40){_0x1a629c['push'](_0x1a629c['shift']());}}}(_0x2c6b,0xa2525));import{Plugin as _0x52eb33}from'ckeditor5/src/core.js';import{User as _0x248659,TrackChangesService as _0x357112}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1ed95f}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x45a52e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3ef7e6}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x52eb33{static [_0x2f3dd6(0xf5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x357112)());[_0x2f3dd6(0xe1)];[_0x2f3dd6(0x112)];static get[_0x2f3dd6(0xe6)](){const _0xbc8f51=_0x2f3dd6;return[_0x45a52e,_0xbc8f51(0xe5),_0x1ed95f];}static get[_0x2f3dd6(0x118)](){const _0x45f8cf=_0x2f3dd6;return _0x45f8cf(0x105);}static get[_0x2f3dd6(0x113)](){return!0x0;}static get[_0x2f3dd6(0xeb)](){return!0x0;}constructor(_0x21bae4){const _0x1e591c=_0x2f3dd6;super(_0x21bae4);const _0x499529=this[_0x1e591c(0xf2)][_0x1e591c(0xe9)][_0x1e591c(0xfa)](_0x1e591c(0x11b));this[_0x1e591c(0xe1)]=new Map(),this[_0x1e591c(0x112)]=new m[(_0x1e591c(0xf5))](_0x499529);}[_0x2f3dd6(0x10b)](){const _0x5b6caf=_0x2f3dd6,_0x1c6f3f=this[_0x5b6caf(0xf2)][_0x5b6caf(0x117)][_0x5b6caf(0xfa)](_0x1ed95f),_0x279e84=this[_0x5b6caf(0xf2)][_0x5b6caf(0x117)][_0x5b6caf(0xfa)](_0x5b6caf(0xe5));return _0x279e84[_0x5b6caf(0xef)]={'getSuggestion':async _0x1ccca1=>{const _0x1b7dfb=_0x5b6caf;await this[_0x1b7dfb(0x11c)]();const _0x32f919=await this[_0x1b7dfb(0x112)][_0x1b7dfb(0xfa)](_0x1ccca1)[_0x1b7dfb(0x103)](k);return await this[_0x1b7dfb(0xf9)]([_0x32f919]),_0x32f919;},'addSuggestion':async({id:_0x4bce42,type:_0x1094aa,data:_0x16e3ec,originalSuggestionId:_0x7951bb,attributes:_0x1cebdd})=>{const _0x17d881=_0x5b6caf;await this[_0x17d881(0x11c)]();const _0x2c68a2={'id':_0x4bce42,'type':_0x1094aa,'data':_0x16e3ec,'originalSuggestionId':_0x7951bb,'attributes':_0x1cebdd},_0x156db4=await this[_0x17d881(0x112)][_0x17d881(0x11d)](_0x4bce42,_0x1094aa,_0x16e3ec,_0x7951bb,_0x1cebdd)[_0x17d881(0x103)](_0x51e65d=>{if(st(_0x51e65d))return new Promise(_0x271f64=>{const _0x2a982b=_0x3987;this[_0x2a982b(0xe1)][_0x2a982b(0xfb)](_0x4bce42,{'resolve':_0x271f64,'suggestionData':_0x2c68a2});});throw _0x51e65d;});return this[_0x17d881(0xe1)][_0x17d881(0xe4)](_0x4bce42),_0x156db4;},'updateSuggestion':async(_0x290c2b,_0x3124f3)=>{const _0x41cd35=_0x5b6caf;if(await this[_0x41cd35(0x11c)](),_0x41cd35(0xf7)!==_0x3124f3[_0x41cd35(0x10f)])return this[_0x41cd35(0x112)][_0x41cd35(0x111)](_0x290c2b,_0x3124f3)[_0x41cd35(0x103)](k);}},this[_0x5b6caf(0xf0)](this[_0x5b6caf(0x112)],_0x5b6caf(0x10c),(_0x3d87ed,_0x2ede13)=>{const _0x339c70=_0x5b6caf;_0x279e84[_0x339c70(0x119)](_0x2ede13['id'])&&(_0x279e84[_0x339c70(0x10d)](_0x2ede13['id'])[_0x339c70(0xfe)]=_0x2ede13[_0x339c70(0xfe)]);}),this[_0x5b6caf(0x112)][_0x5b6caf(0xe7)](_0x1c6f3f[_0x5b6caf(0xed)])[_0x5b6caf(0x10e)](_0xfa1767=>(_0x1c6f3f[_0x5b6caf(0x106)](this),this[_0x5b6caf(0xf9)](_0xfa1767)[_0x5b6caf(0x10e)](()=>{const _0xc1a2ff=_0x5b6caf;for(const _0x280807 of _0xfa1767){_0x279e84[_0xc1a2ff(0x11a)](_0x280807)[_0xc1a2ff(0xf1)]=!0x0;}})));}async[_0x2f3dd6(0xfd)](){const _0x506522=_0x2f3dd6,_0x452dd7=this[_0x506522(0xf2)][_0x506522(0x117)][_0x506522(0xfa)](_0x506522(0xe5)),{connection:_0xac849}=this[_0x506522(0xf2)][_0x506522(0x117)][_0x506522(0xfa)](_0x1ed95f),_0x1d870b=await this[_0x506522(0x112)][_0x506522(0xe7)](_0xac849);await this[_0x506522(0xf9)](_0x1d870b);for(const {suggestionData:_0x5d6716,resolve:_0x411f0a}of this[_0x506522(0xe1)][_0x506522(0xe8)]()){let _0x42cf4d=_0x1d870b[_0x506522(0x110)](_0x3bc945=>_0x3bc945['id']===_0x5d6716['id']);_0x42cf4d||(_0x42cf4d=await this[_0x506522(0x112)][_0x506522(0x11d)](_0x5d6716['id'],_0x5d6716[_0x506522(0xf3)],_0x5d6716[_0x506522(0xde)],_0x5d6716[_0x506522(0x115)])),_0x411f0a(_0x42cf4d);}for(const _0x5d0278 of _0x1d870b)_0x452dd7[_0x506522(0x119)](_0x5d0278['id'])||_0x452dd7[_0x506522(0x11a)](_0x5d0278);}async[_0x2f3dd6(0x11c)](){const _0x14de1a=_0x2f3dd6;this[_0x14de1a(0x112)][_0x14de1a(0xff)]||await new Promise(_0x8c6b89=>{const _0x5e3483=_0x14de1a;this[_0x5e3483(0xf0)](this[_0x5e3483(0x112)],_0x5e3483(0x114),_0x5cb863=>{const _0x4584df=_0x5e3483;_0x5cb863[_0x4584df(0x107)](),_0x8c6b89();});});}async[_0x2f3dd6(0xf9)](_0x42b967){const _0x61aaf7=_0x2f3dd6,_0x5e6e87=this[_0x61aaf7(0xf2)][_0x61aaf7(0x117)][_0x61aaf7(0xfa)](_0x3ef7e6),{connection:_0x13cb0f}=this[_0x61aaf7(0xf2)][_0x61aaf7(0x117)][_0x61aaf7(0xfa)](_0x1ed95f),_0x2706f2=new Set();for(const {authorId:_0x29de62}of _0x42b967)_0x5e6e87[_0x61aaf7(0x102)](_0x29de62)||_0x2706f2[_0x61aaf7(0x11d)](_0x29de62);if(0x0===_0x2706f2[_0x61aaf7(0xdd)])return;const _0x523751=await _0x248659[_0x61aaf7(0xe2)](_0x13cb0f,Array[_0x61aaf7(0x116)](_0x2706f2));for(const _0x28a23e of _0x523751)_0x5e6e87[_0x61aaf7(0x102)](_0x28a23e['id'])||_0x5e6e87[_0x61aaf7(0xf8)](_0x28a23e);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x3f9f5e){if(st(_0x3f9f5e))return new Promise(()=>{});throw _0x3f9f5e;}function _0x3987(_0x241813,_0x53deb7){const _0x2c6b24=_0x2c6b();return _0x3987=function(_0x398778,_0x116ae2){_0x398778=_0x398778-0xdd;let _0x2e8e8c=_0x2c6b24[_0x398778];return _0x2e8e8c;},_0x3987(_0x241813,_0x53deb7);}function st(_0x341e3a){const _0x598574=_0x2f3dd6;return _0x341e3a[_0x598574(0x104)][_0x598574(0x108)](_0x598574(0xee))||_0x341e3a[_0x598574(0x104)][_0x598574(0x108)](_0x598574(0xe3));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7a9033=_0x9c99;(function(_0x231ed3,_0x4cf8b3){var _0x30d7b1=_0x9c99,_0x289c1c=_0x231ed3();while(!![]){try{var _0x3c1fc0=parseInt(_0x30d7b1(0x12a))/0x1*(-parseInt(_0x30d7b1(0x12d))/0x2)+-parseInt(_0x30d7b1(0x126))/0x3+-parseInt(_0x30d7b1(0x130))/0x4*(-parseInt(_0x30d7b1(0x127))/0x5)+parseInt(_0x30d7b1(0x125))/0x6*(-parseInt(_0x30d7b1(0x12f))/0x7)+-parseInt(_0x30d7b1(0x132))/0x8*(parseInt(_0x30d7b1(0x122))/0x9)+parseInt(_0x30d7b1(0x12b))/0xa*(-parseInt(_0x30d7b1(0x133))/0xb)+parseInt(_0x30d7b1(0x131))/0xc;if(_0x3c1fc0===_0x4cf8b3)break;else _0x289c1c['push'](_0x289c1c['shift']());}catch(_0x8b71cd){_0x289c1c['push'](_0x289c1c['shift']());}}}(_0x2cbf,0x656f0));function _0x2cbf(){var _0x6bd85f=['671430FVvefC','35kPpJAQ','RealTimeCollaborativeTrackChanges','TrackChanges','4bRvPAn','10310QmGwRj','isOfficialPlugin','379894eIIFzB','pluginName','957488nMORog','394180GfdgTi','22615344HdyaKH','45736jFglQR','7909Vobvin','468ZjJyEb','requires','isPremiumPlugin','6dulCDL'];_0x2cbf=function(){return _0x6bd85f;};return _0x2cbf();}function _0x9c99(_0xae64e,_0xf09903){var _0x2cbff9=_0x2cbf();return _0x9c99=function(_0x9c99b9,_0x31a49d){_0x9c99b9=_0x9c99b9-0x122;var _0xbd48d7=_0x2cbff9[_0x9c99b9];return _0xbd48d7;},_0x9c99(_0xae64e,_0xf09903);}import{Plugin as _0x50c22a}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x594b57}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x1b6fac}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x50c22a{static get[_0x7a9033(0x123)](){var _0x1cd03b=_0x7a9033;return[_0x1b6fac,_0x594b57,_0x1cd03b(0x129)];}static get[_0x7a9033(0x12e)](){var _0x5e36eb=_0x7a9033;return _0x5e36eb(0x128);}static get[_0x7a9033(0x12c)](){return!0x0;}static get[_0x7a9033(0x124)](){return!0x0;}}
23
+ function _0x5ad5(){var _0x14099b=['TrackChanges','isOfficialPlugin','854919qgJdWy','7EeCLTv','8259132rMbsPn','1AuQBbv','6537410DYYMaz','110kBvjta','isPremiumPlugin','3708micZNj','24dmOPTr','927QzRcoN','666266enNfWL','pluginName','870040AMMaRP','requires','RealTimeCollaborativeTrackChanges','1069850KrAFJS'];_0x5ad5=function(){return _0x14099b;};return _0x5ad5();}function _0x2b15(_0x1c65cb,_0x37a13a){var _0x5ad51e=_0x5ad5();return _0x2b15=function(_0x2b15e6,_0x22706b){_0x2b15e6=_0x2b15e6-0x1a8;var _0x49d47f=_0x5ad51e[_0x2b15e6];return _0x49d47f;},_0x2b15(_0x1c65cb,_0x37a13a);}var _0x1734a1=_0x2b15;(function(_0x4cb892,_0x5bacbe){var _0x45434e=_0x2b15,_0xd8ab81=_0x4cb892();while(!![]){try{var _0x292e95=parseInt(_0x45434e(0x1b2))/0x1*(-parseInt(_0x45434e(0x1b9))/0x2)+-parseInt(_0x45434e(0x1b8))/0x3*(parseInt(_0x45434e(0x1b6))/0x4)+parseInt(_0x45434e(0x1ac))/0x5+parseInt(_0x45434e(0x1b1))/0x6+parseInt(_0x45434e(0x1b0))/0x7*(-parseInt(_0x45434e(0x1a9))/0x8)+parseInt(_0x45434e(0x1af))/0x9*(parseInt(_0x45434e(0x1b4))/0xa)+-parseInt(_0x45434e(0x1b3))/0xb*(parseInt(_0x45434e(0x1b7))/0xc);if(_0x292e95===_0x5bacbe)break;else _0xd8ab81['push'](_0xd8ab81['shift']());}catch(_0x1b15f5){_0xd8ab81['push'](_0xd8ab81['shift']());}}}(_0x5ad5,0xaf66a));import{Plugin as _0x59a2c2}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x468c00}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x2d402b}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x59a2c2{static get[_0x1734a1(0x1aa)](){var _0x5572b3=_0x1734a1;return[_0x2d402b,_0x468c00,_0x5572b3(0x1ad)];}static get[_0x1734a1(0x1a8)](){var _0x4d831e=_0x1734a1;return _0x4d831e(0x1ab);}static get[_0x1734a1(0x1ae)](){return!0x0;}static get[_0x1734a1(0x1b5)](){return!0x0;}}