@ckeditor/ckeditor5-real-time-collaboration 46.0.2-alpha.0 → 46.0.2-alpha.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 _0x28a35c=_0x1b67;(function(_0x337d1a,_0x4436ba){const _0x5cb6a3=_0x1b67,_0xc9b46a=_0x337d1a();while(!![]){try{const _0x340cec=-parseInt(_0x5cb6a3(0x181))/0x1+parseInt(_0x5cb6a3(0x1a0))/0x2*(parseInt(_0x5cb6a3(0x183))/0x3)+parseInt(_0x5cb6a3(0x1a6))/0x4*(parseInt(_0x5cb6a3(0x16e))/0x5)+parseInt(_0x5cb6a3(0x15a))/0x6*(parseInt(_0x5cb6a3(0x176))/0x7)+parseInt(_0x5cb6a3(0x194))/0x8*(parseInt(_0x5cb6a3(0x1a4))/0x9)+parseInt(_0x5cb6a3(0x17f))/0xa*(-parseInt(_0x5cb6a3(0x198))/0xb)+-parseInt(_0x5cb6a3(0x16d))/0xc*(-parseInt(_0x5cb6a3(0x190))/0xd);if(_0x340cec===_0x4436ba)break;else _0xc9b46a['push'](_0xc9b46a['shift']());}catch(_0x1ed061){_0xc9b46a['push'](_0xc9b46a['shift']());}}}(_0x9d14,0xf08c6));import{ContextPlugin as _0x4082d0}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x31341f,CKEditorError as _0x534068}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3fb367,WEB_SOCKET_GATEWAY_STATES as _0x743841}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x27b671}from'ckeditor5/src/ui.js';function _0x9d14(){const _0x537690=['limitExceeded','webSocketUrl','websocketgateway-plugin-already-registered','DISCONNECTED','listenTo','bind','set','define','WebSocketGateway','8196htlPPD','235DFOIDV','_shouldPluginsReconnect','cloudServices.requestTimeout','has','from','delete','context','stopListening','4783044PcwRwl','destroy','connected','CONNECTING','get','initialReconnectionInterval','plugins','isOfficialPlugin','state','1470dNeQBw','websocketgateway-missing-token','1407255mZEMIq','change:me','3TqBlKK','code','pluginName','cloudServices.connectionTimeout','removeFromReconnectionStack','requires','real-time-collaboration','CONNECTED','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.','config','Connected\x20users\x20limit\x20exceeded','add','CloudServices','42211JDvwXR','disconnect','connection','showWarning','8dZBYRs','_domEmitter','websocketgateway-missing-websocket-url','init','130383VNmDxn','isPremiumPlugin','cloudservices-reconnection-error','token','addToReconnectionStack','cloudservices-init','_isBrowserOffline','error','638974PtsMWO','connect','_reconnectionStack','all','194706LSvBIg','isInReconnectionStack','17832cHFbNu','12SySGHC','function','then','_reconnect','online','offline','constructor','catch','reconnect','websocketgateway-invalid-plugin-interface'];_0x9d14=function(){return _0x537690;};return _0x9d14();}function _0x1b67(_0x55c138,_0x6149a6){const _0x9d14e5=_0x9d14();return _0x1b67=function(_0x1b676a,_0x2685fc){_0x1b676a=_0x1b676a-0x15a;let _0x4db343=_0x9d14e5[_0x1b676a];return _0x4db343;},_0x1b67(_0x55c138,_0x6149a6);}class n extends _0x4082d0{static [_0x28a35c(0x16c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3fb367)());static [_0x28a35c(0x17b)]=0x3e8;[_0x28a35c(0x192)];[_0x28a35c(0x1a2)];[_0x28a35c(0x16f)];[_0x28a35c(0x195)];static get[_0x28a35c(0x188)](){const _0x58e497=_0x28a35c;return[_0x58e497(0x18f),_0x27b671];}static get[_0x28a35c(0x185)](){const _0x45b817=_0x28a35c;return _0x45b817(0x16c);}static get[_0x28a35c(0x17d)](){return!0x0;}static get[_0x28a35c(0x199)](){return!0x0;}constructor(_0x55fe57){const _0x53206f=_0x28a35c;super(_0x55fe57),this[_0x53206f(0x16a)](_0x53206f(0x17e),_0x743841[_0x53206f(0x18a)]),this[_0x53206f(0x16a)](_0x53206f(0x19e),!0x1),this[_0x53206f(0x1a2)]=new Set(),this[_0x53206f(0x16f)]=!0x1,this[_0x53206f(0x195)]=new(_0x31341f())();}[_0x28a35c(0x197)](){const _0x4e888e=_0x28a35c,_0x301970=this[_0x4e888e(0x174)],_0x224994=_0x301970[_0x4e888e(0x17c)][_0x4e888e(0x17a)](_0x4e888e(0x18f)),_0x34bd6b=_0x301970[_0x4e888e(0x17c)][_0x4e888e(0x17a)](_0x27b671);if(!_0x224994[_0x4e888e(0x19b)])throw new _0x534068(_0x4e888e(0x180),this);if(!_0x224994[_0x4e888e(0x165)])throw new _0x534068(_0x4e888e(0x196),this);return this[_0x4e888e(0x195)][_0x4e888e(0x168)](window,_0x4e888e(0x15f),()=>this[_0x4e888e(0x19e)]=!0x0),this[_0x4e888e(0x195)][_0x4e888e(0x168)](window,_0x4e888e(0x15e),()=>this[_0x4e888e(0x19e)]=!0x1),this[_0x4e888e(0x174)][_0x4e888e(0x18c)][_0x4e888e(0x16b)](_0x4e888e(0x186),0xa),this[_0x4e888e(0x174)][_0x4e888e(0x18c)][_0x4e888e(0x16b)](_0x4e888e(0x170),0x14),n[_0x4e888e(0x16c)][_0x4e888e(0x1a1)](_0x224994[_0x4e888e(0x19b)],_0x224994[_0x4e888e(0x165)],{'timeout':0x3e8*this[_0x4e888e(0x174)][_0x4e888e(0x18c)][_0x4e888e(0x17a)](_0x4e888e(0x186)),'requestTimeout':0x3e8*this[_0x4e888e(0x174)][_0x4e888e(0x18c)][_0x4e888e(0x17a)](_0x4e888e(0x170))})[_0x4e888e(0x15c)](_0x19b0aa=>{const _0x536284=_0x4e888e;if(this[_0x536284(0x192)]=_0x19b0aa,this[_0x536284(0x169)](_0x536284(0x17e))['to'](_0x19b0aa,_0x536284(0x17e),this,_0x536284(0x19e),(_0x43c9bb,_0x300529)=>(_0x536284(0x178)!==_0x43c9bb&&(this[_0x536284(0x16f)]=!0x0),_0x300529||_0x43c9bb!==_0x743841[_0x536284(0x18a)]?_0x743841[_0x536284(0x167)]:this[_0x536284(0x17e)]==_0x743841[_0x536284(0x167)]&&this[_0x536284(0x16f)]?(this[_0x536284(0x16f)]=!0x1,this[_0x536284(0x15d)](),_0x743841[_0x536284(0x179)]):_0x743841[_0x536284(0x18a)])),this[_0x536284(0x192)]['on'](_0x536284(0x19f),(_0x318876,_0xb98a96)=>{const _0x30ab2f=_0x536284;if(_0x30ab2f(0x164)!==_0xb98a96[_0x30ab2f(0x184)])throw console[_0x30ab2f(0x19f)](_0xb98a96),new _0x534068(_0x30ab2f(0x19d),null,{'originalError':_0xb98a96});_0x34bd6b[_0x30ab2f(0x193)](_0x30ab2f(0x18b),{'title':_0x30ab2f(0x18d),'namespace':_0x30ab2f(0x189)});}),!_0x19b0aa['me'])return new Promise(_0x7c251c=>_0x19b0aa['on'](_0x536284(0x182),_0x7c251c));})[_0x4e888e(0x161)](_0x33876e=>{const _0xc8302f=_0x4e888e;throw console[_0xc8302f(0x19f)](_0x33876e),new _0x534068(_0xc8302f(0x19d),null,{'originalError':_0x33876e});});}[_0x28a35c(0x19c)](_0x1588ab){const _0x559028=_0x28a35c;if(_0x559028(0x15b)!=typeof _0x1588ab[_0x559028(0x162)])throw new _0x534068(_0x559028(0x163),this);if(this[_0x559028(0x1a5)](_0x1588ab))throw new _0x534068(_0x559028(0x166),this,{'name':_0x1588ab[_0x559028(0x160)][_0x559028(0x185)]});this[_0x559028(0x1a2)][_0x559028(0x18e)](_0x1588ab);}[_0x28a35c(0x187)](_0x523cd9){const _0x4b4579=_0x28a35c;this[_0x4b4579(0x1a2)][_0x4b4579(0x173)](_0x523cd9);}[_0x28a35c(0x1a5)](_0x42cf9b){const _0x1d58f6=_0x28a35c;return this[_0x1d58f6(0x1a2)][_0x1d58f6(0x171)](_0x42cf9b);}[_0x28a35c(0x15d)](){const _0x330147=_0x28a35c;return this[_0x330147(0x192)][_0x330147(0x162)]()[_0x330147(0x15c)](()=>Promise[_0x330147(0x1a3)](Array[_0x330147(0x172)](this[_0x330147(0x1a2)],_0x470584=>_0x470584[_0x330147(0x162)]())))[_0x330147(0x15c)](()=>this[_0x330147(0x17e)]=_0x743841[_0x330147(0x18a)])[_0x330147(0x161)](_0xb27f3d=>{const _0x2cda9e=_0x330147;throw console[_0x2cda9e(0x19f)](_0xb27f3d),new _0x534068(_0x2cda9e(0x19a),this[_0x2cda9e(0x174)]);});}[_0x28a35c(0x191)](){const _0x35e292=_0x28a35c;this[_0x35e292(0x192)]&&this[_0x35e292(0x192)][_0x35e292(0x191)](),this[_0x35e292(0x17e)]=_0x743841[_0x35e292(0x167)],this[_0x35e292(0x195)][_0x35e292(0x175)]();}[_0x28a35c(0x177)](){const _0x16da5b=_0x28a35c;this[_0x16da5b(0x191)](),super[_0x16da5b(0x177)]();}}export{n as WebSocketGateway};
23
+ const _0x1b6743=_0x2345;(function(_0x537c21,_0x3296db){const _0x5c3eef=_0x2345,_0x2f36b9=_0x537c21();while(!![]){try{const _0x3dfc01=parseInt(_0x5c3eef(0x7b))/0x1*(-parseInt(_0x5c3eef(0x79))/0x2)+-parseInt(_0x5c3eef(0x9a))/0x3+parseInt(_0x5c3eef(0x94))/0x4+parseInt(_0x5c3eef(0x75))/0x5*(-parseInt(_0x5c3eef(0x9d))/0x6)+parseInt(_0x5c3eef(0xbc))/0x7+parseInt(_0x5c3eef(0x76))/0x8+parseInt(_0x5c3eef(0xa7))/0x9;if(_0x3dfc01===_0x3296db)break;else _0x2f36b9['push'](_0x2f36b9['shift']());}catch(_0x56c6ec){_0x2f36b9['push'](_0x2f36b9['shift']());}}}(_0x9aa9,0x240b7));import{ContextPlugin as _0x441171}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x380f50,CKEditorError as _0x768248}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x91ee5c,WEB_SOCKET_GATEWAY_STATES as _0xff6a3a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x450639}from'ckeditor5/src/ui.js';class n extends _0x441171{static [_0x1b6743(0xba)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x91ee5c)());static [_0x1b6743(0x82)]=0x3e8;[_0x1b6743(0x78)];[_0x1b6743(0xb4)];[_0x1b6743(0x8b)];[_0x1b6743(0xb7)];static get[_0x1b6743(0xb5)](){const _0x5c9227=_0x1b6743;return[_0x5c9227(0x90),_0x450639];}static get[_0x1b6743(0xa2)](){const _0x18cb4c=_0x1b6743;return _0x18cb4c(0xba);}static get[_0x1b6743(0x9c)](){return!0x0;}static get[_0x1b6743(0xaa)](){return!0x0;}constructor(_0x3bc019){const _0x347d11=_0x1b6743;super(_0x3bc019),this[_0x347d11(0xbb)](_0x347d11(0x92),_0xff6a3a[_0x347d11(0x87)]),this[_0x347d11(0xbb)](_0x347d11(0xa5),!0x1),this[_0x347d11(0xb4)]=new Set(),this[_0x347d11(0x8b)]=!0x1,this[_0x347d11(0xb7)]=new(_0x380f50())();}[_0x1b6743(0xae)](){const _0x57ba43=_0x1b6743,_0x5e8d7d=this[_0x57ba43(0x85)],_0x2af8e4=_0x5e8d7d[_0x57ba43(0x7f)][_0x57ba43(0x9b)](_0x57ba43(0x90)),_0x5c564b=_0x5e8d7d[_0x57ba43(0x7f)][_0x57ba43(0x9b)](_0x450639);if(!_0x2af8e4[_0x57ba43(0xaf)])throw new _0x768248(_0x57ba43(0x7d),this);if(!_0x2af8e4[_0x57ba43(0xa0)])throw new _0x768248(_0x57ba43(0xb2),this);return this[_0x57ba43(0xb7)][_0x57ba43(0x98)](window,_0x57ba43(0x77),()=>this[_0x57ba43(0xa5)]=!0x0),this[_0x57ba43(0xb7)][_0x57ba43(0x98)](window,_0x57ba43(0xa1),()=>this[_0x57ba43(0xa5)]=!0x1),this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0xb3)](_0x57ba43(0xa9),0xa),this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0xb3)](_0x57ba43(0x7e),0x14),n[_0x57ba43(0xba)][_0x57ba43(0x9f)](_0x2af8e4[_0x57ba43(0xaf)],_0x2af8e4[_0x57ba43(0xa0)],{'timeout':0x3e8*this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0x9b)](_0x57ba43(0xa9)),'requestTimeout':0x3e8*this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0x9b)](_0x57ba43(0x7e))})[_0x57ba43(0xa4)](_0x3f5877=>{const _0x4f4c77=_0x57ba43;if(this[_0x4f4c77(0x78)]=_0x3f5877,this[_0x4f4c77(0x84)](_0x4f4c77(0x92))['to'](_0x3f5877,_0x4f4c77(0x92),this,_0x4f4c77(0xa5),(_0x5bfd1,_0x37c47b)=>(_0x4f4c77(0x81)!==_0x5bfd1&&(this[_0x4f4c77(0x8b)]=!0x0),_0x37c47b||_0x5bfd1!==_0xff6a3a[_0x4f4c77(0x87)]?_0xff6a3a[_0x4f4c77(0xa3)]:this[_0x4f4c77(0x92)]==_0xff6a3a[_0x4f4c77(0xa3)]&&this[_0x4f4c77(0x8b)]?(this[_0x4f4c77(0x8b)]=!0x1,this[_0x4f4c77(0x9e)](),_0xff6a3a[_0x4f4c77(0x96)]):_0xff6a3a[_0x4f4c77(0x87)])),this[_0x4f4c77(0x78)]['on'](_0x4f4c77(0x8e),(_0x191028,_0x4a83a4)=>{const _0x1b9acb=_0x4f4c77;if(_0x1b9acb(0xb9)!==_0x4a83a4[_0x1b9acb(0x80)])throw console[_0x1b9acb(0x8e)](_0x4a83a4),new _0x768248(_0x1b9acb(0x7a),null,{'originalError':_0x4a83a4});_0x5c564b[_0x1b9acb(0x89)](_0x1b9acb(0xa8),{'title':_0x1b9acb(0x86),'namespace':_0x1b9acb(0xb0)});}),!_0x3f5877['me'])return new Promise(_0x5c2fbd=>_0x3f5877['on'](_0x4f4c77(0x91),_0x5c2fbd));})[_0x57ba43(0x97)](_0xbc48ed=>{const _0x11f5a4=_0x57ba43;throw console[_0x11f5a4(0x8e)](_0xbc48ed),new _0x768248(_0x11f5a4(0x7a),null,{'originalError':_0xbc48ed});});}[_0x1b6743(0x74)](_0x5ae02e){const _0x55bff4=_0x1b6743;if(_0x55bff4(0x83)!=typeof _0x5ae02e[_0x55bff4(0x8f)])throw new _0x768248(_0x55bff4(0xad),this);if(this[_0x55bff4(0xb6)](_0x5ae02e))throw new _0x768248(_0x55bff4(0xac),this,{'name':_0x5ae02e[_0x55bff4(0xb8)][_0x55bff4(0xa2)]});this[_0x55bff4(0xb4)][_0x55bff4(0x99)](_0x5ae02e);}[_0x1b6743(0x88)](_0x16a323){const _0x1ef8b7=_0x1b6743;this[_0x1ef8b7(0xb4)][_0x1ef8b7(0x8c)](_0x16a323);}[_0x1b6743(0xb6)](_0x930d6d){const _0x77b163=_0x1b6743;return this[_0x77b163(0xb4)][_0x77b163(0xab)](_0x930d6d);}[_0x1b6743(0x9e)](){const _0x54d614=_0x1b6743;return this[_0x54d614(0x78)][_0x54d614(0x8f)]()[_0x54d614(0xa4)](()=>Promise[_0x54d614(0x8a)](Array[_0x54d614(0x8d)](this[_0x54d614(0xb4)],_0x34f70c=>_0x34f70c[_0x54d614(0x8f)]())))[_0x54d614(0xa4)](()=>this[_0x54d614(0x92)]=_0xff6a3a[_0x54d614(0x87)])[_0x54d614(0x97)](_0x2a5238=>{const _0x400b40=_0x54d614;throw console[_0x400b40(0x8e)](_0x2a5238),new _0x768248(_0x400b40(0x95),this[_0x400b40(0x85)]);});}[_0x1b6743(0xb1)](){const _0x3a2bbb=_0x1b6743;this[_0x3a2bbb(0x78)]&&this[_0x3a2bbb(0x78)][_0x3a2bbb(0xb1)](),this[_0x3a2bbb(0x92)]=_0xff6a3a[_0x3a2bbb(0xa3)],this[_0x3a2bbb(0xb7)][_0x3a2bbb(0x93)]();}[_0x1b6743(0x7c)](){const _0xafc230=_0x1b6743;this[_0xafc230(0xb1)](),super[_0xafc230(0x7c)]();}}function _0x9aa9(){const _0x254b8e=['pluginName','DISCONNECTED','then','_isBrowserOffline','config','3416589ujMqCu','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','cloudServices.connectionTimeout','isPremiumPlugin','has','websocketgateway-plugin-already-registered','websocketgateway-invalid-plugin-interface','init','token','real-time-collaboration','disconnect','websocketgateway-missing-websocket-url','define','_reconnectionStack','requires','isInReconnectionStack','_domEmitter','constructor','limitExceeded','WebSocketGateway','set','1543073iMLvJi','addToReconnectionStack','80ogKtQw','493112NJKVkT','offline','connection','98gBBrYt','cloudservices-init','5901lDmYqI','destroy','websocketgateway-missing-token','cloudServices.requestTimeout','plugins','code','connected','initialReconnectionInterval','function','bind','context','Connected\x20users\x20limit\x20exceeded','CONNECTED','removeFromReconnectionStack','showWarning','all','_shouldPluginsReconnect','delete','from','error','reconnect','CloudServices','change:me','state','stopListening','588940YTgzvm','cloudservices-reconnection-error','CONNECTING','catch','listenTo','add','431430VFzZnf','get','isOfficialPlugin','85626HxGfHM','_reconnect','connect','webSocketUrl','online'];_0x9aa9=function(){return _0x254b8e;};return _0x9aa9();}function _0x2345(_0x248ae9,_0x3939ba){const _0x9aa9c=_0x9aa9();return _0x2345=function(_0x234573,_0x5589dc){_0x234573=_0x234573-0x74;let _0x5bb4c4=_0x9aa9c[_0x234573];return _0x5bb4c4;},_0x2345(_0x248ae9,_0x3939ba);}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46ac03=_0x5afc;(function(_0x4260b5,_0x2b31a2){var _0xb11e2d=_0x5afc,_0x2d1df8=_0x4260b5();while(!![]){try{var _0x48f7f8=-parseInt(_0xb11e2d(0x1be))/0x1*(-parseInt(_0xb11e2d(0x1bb))/0x2)+parseInt(_0xb11e2d(0x1b4))/0x3+-parseInt(_0xb11e2d(0x1b1))/0x4+-parseInt(_0xb11e2d(0x1b2))/0x5*(parseInt(_0xb11e2d(0x1b9))/0x6)+parseInt(_0xb11e2d(0x1b0))/0x7*(-parseInt(_0xb11e2d(0x1ba))/0x8)+parseInt(_0xb11e2d(0x1b8))/0x9+parseInt(_0xb11e2d(0x1b3))/0xa;if(_0x48f7f8===_0x2b31a2)break;else _0x2d1df8['push'](_0x2d1df8['shift']());}catch(_0x209932){_0x2d1df8['push'](_0x2d1df8['shift']());}}}(_0x15ff,0x7c4e1));import{Plugin as _0x4a63f0}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x31f283}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x5afc(_0x286afe,_0x57a1e3){var _0x15ff48=_0x15ff();return _0x5afc=function(_0x5afc25,_0x268da8){_0x5afc25=_0x5afc25-0x1b0;var _0x376fa8=_0x15ff48[_0x5afc25];return _0x376fa8;},_0x5afc(_0x286afe,_0x57a1e3);}export class RealTimeCollaborativeEditing extends _0x4a63f0{static get[_0x46ac03(0x1b7)](){return[_0x31f283];}static get[_0x46ac03(0x1bc)](){var _0x1427ee=_0x46ac03;return _0x1427ee(0x1bd);}static get[_0x46ac03(0x1b5)](){return!0x0;}static get[_0x46ac03(0x1b6)](){return!0x0;}}function _0x15ff(){var _0x3cf26f=['424eVrQia','2JoumoO','pluginName','RealTimeCollaborativeEditing','516259BEBJwz','50806OAVmLw','1839640xlPXgU','26715yVXGsy','7401990EnVJnu','185673lpZCIF','isOfficialPlugin','isPremiumPlugin','requires','8877978IiVLIF','1068Zkuecq'];_0x15ff=function(){return _0x3cf26f;};return _0x15ff();}
23
+ function _0x40c9(){var _0x5b3808=['375625LLencZ','3678GnfkND','18aqiZSa','33480xTPWor','RealTimeCollaborativeEditing','3577XcthRi','526510uHnmhZ','836216cNhRMV','1636782ZVBCxu','15PPrpEt','pluginName','requires','isPremiumPlugin','isOfficialPlugin','286488ScmJQi'];_0x40c9=function(){return _0x5b3808;};return _0x40c9();}var _0x51eeaf=_0x1a13;(function(_0x332265,_0x460fc7){var _0x1a3003=_0x1a13,_0x2f4e20=_0x332265();while(!![]){try{var _0x2a589f=-parseInt(_0x1a3003(0x75))/0x1*(-parseInt(_0x1a3003(0x7e))/0x2)+parseInt(_0x1a3003(0x74))/0x3+-parseInt(_0x1a3003(0x7a))/0x4+parseInt(_0x1a3003(0x7b))/0x5+parseInt(_0x1a3003(0x7c))/0x6*(-parseInt(_0x1a3003(0x80))/0x7)+-parseInt(_0x1a3003(0x82))/0x8+parseInt(_0x1a3003(0x7d))/0x9*(-parseInt(_0x1a3003(0x81))/0xa);if(_0x2a589f===_0x460fc7)break;else _0x2f4e20['push'](_0x2f4e20['shift']());}catch(_0x10943f){_0x2f4e20['push'](_0x2f4e20['shift']());}}}(_0x40c9,0x43a85));import{Plugin as _0x2946da}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x586ecc}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1a13(_0x2c6554,_0x38ac16){var _0x40c9ee=_0x40c9();return _0x1a13=function(_0x1a13b8,_0x1e3998){_0x1a13b8=_0x1a13b8-0x74;var _0x4059e5=_0x40c9ee[_0x1a13b8];return _0x4059e5;},_0x1a13(_0x2c6554,_0x38ac16);}export class RealTimeCollaborativeEditing extends _0x2946da{static get[_0x51eeaf(0x77)](){return[_0x586ecc];}static get[_0x51eeaf(0x76)](){var _0x44ebd7=_0x51eeaf;return _0x44ebd7(0x7f);}static get[_0x51eeaf(0x79)](){return!0x0;}static get[_0x51eeaf(0x78)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a87f4=_0x5b6f;(function(_0x52e6fa,_0xbb1350){const _0x5eff73=_0x5b6f,_0x51d57a=_0x52e6fa();while(!![]){try{const _0x3713d3=parseInt(_0x5eff73(0xe4))/0x1+-parseInt(_0x5eff73(0x11f))/0x2*(-parseInt(_0x5eff73(0xe3))/0x3)+parseInt(_0x5eff73(0xf1))/0x4*(-parseInt(_0x5eff73(0x148))/0x5)+-parseInt(_0x5eff73(0x10e))/0x6+parseInt(_0x5eff73(0xdb))/0x7*(parseInt(_0x5eff73(0x10b))/0x8)+parseInt(_0x5eff73(0x14a))/0x9+parseInt(_0x5eff73(0x117))/0xa;if(_0x3713d3===_0xbb1350)break;else _0x51d57a['push'](_0x51d57a['shift']());}catch(_0xc5a018){_0x51d57a['push'](_0x51d57a['shift']());}}}(_0x58ef,0x2f1de));function _0x58ef(){const _0x1f17fe=['_preventResendingRevisionData','adapter','affectsData','_fixRevision','pluginName','268710zfcFJp','RevisionTracker','2346966VtXbog','RevisionHistory','change:_isPendingUpdate','getUser','getRevision','21ZNBHcx','state','isOfficialPlugin','getRevisions','off','creatorId','currentRevision','code','138048hSnrtb','90511UQlMvX','from','get','_offset','isPremiumPlugin','_waitForServiceReady','CloudServicesRevisionHistoryAdapter','message','400','diffData','change:_isConnected','plugins','data','16kqvxlw','marker','updateRevisions','_handleReconnectionError','isEnabled','toVersion','wrongRequestId','_revisionHistoryService','config','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','requires','createdAt','getOperations','_startingVersion','RevisionHistoryService','_fetchMissingUsers','buildRevisionData','fromVersion','_revisionDataBuilder','addUser','_getLatestVersionFromServerOperations','max','init','setRevisionData','authors','cloud-services-internal-error:\x20Not\x20connected.','38056JHGxuv','destroy','connected','2104836gFGlbd','type','_getLatestVersion','repository','size','startsWith','_oldOffset','reverse','_bufferUpdate','2091440aYbOfP','reconnect','_isConnected','setSource','_handleRevisionsUpdate','sendBufferedUpdates','baseVersion','serverHistory','8SVBDPw','cloud-services-internal-error:\x20Request\x20timeout.','_createCurrentRevision','addToReconnectionStack','bind','remove','_update','revisionsUpdated','_revisionTracker','_revisions','CONNECTED','catch','connect','addRevisionData','listenTo','collaboration.channelId','has','authorsIds','connection','add','once','_lastRequestId','then','cloudServices.bundleVersion','length','isConnected','sessionId','isBundleUploaded','getMany','editor','isEmptyCurrent','keys','_bufferedUpdates','map','reInit','_isPendingUpdate'];_0x58ef=function(){return _0x1f17fe;};return _0x58ef();}import{Plugin as _0x20a303}from'ckeditor5/src/core.js';function _0x5b6f(_0x4170f8,_0x4d4a61){const _0x58efee=_0x58ef();return _0x5b6f=function(_0x5b6ff5,_0x46a435){_0x5b6ff5=_0x5b6ff5-0xdb;let _0x44f0bf=_0x58efee[_0x5b6ff5];return _0x44f0bf;},_0x5b6f(_0x4170f8,_0x4d4a61);}import{version as _0x2ddb11}from'ckeditor5/src/utils.js';import{Users as _0x4bb846}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4e4b6a}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x450d9c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x26e5d0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x3dd68,RevisionHistoryService as _0x5ebcb3,User as _0x4e505f,WEB_SOCKET_GATEWAY_STATES as _0x35f644}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x20a303{static [_0x4a87f4(0xff)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5ebcb3)());[_0x4a87f4(0x134)];[_0x4a87f4(0x127)];[_0x4a87f4(0xf8)];[_0x4a87f4(0x114)];static get[_0x4a87f4(0xfb)](){const _0x4fb514=_0x4a87f4;return[_0x450d9c,_0x4e4b6a,_0x4fb514(0x14b),_0x26e5d0,_0x4bb846];}static get[_0x4a87f4(0x147)](){const _0x5eae18=_0x4a87f4;return _0x5eae18(0xea);}static get[_0x4a87f4(0xdd)](){return!0x0;}static get[_0x4a87f4(0xe8)](){return!0x0;}constructor(_0x45b5ed){const _0x543e5b=_0x4a87f4;super(_0x45b5ed);const _0x2e3ce0=this[_0x543e5b(0x13c)][_0x543e5b(0xf9)][_0x543e5b(0xe6)](_0x543e5b(0x12e));this[_0x543e5b(0x134)]=null,this[_0x543e5b(0x127)]=this[_0x543e5b(0x13c)][_0x543e5b(0xef)][_0x543e5b(0xe6)](_0x543e5b(0x149)),this[_0x543e5b(0xf8)]=new c[(_0x543e5b(0xff))](_0x2e3ce0);}async[_0x4a87f4(0x107)](){const _0x3e1a15=_0x4a87f4,_0x30b301=this[_0x3e1a15(0x13c)][_0x3e1a15(0xef)][_0x3e1a15(0xe6)](_0x4e4b6a),_0x56d20e=_0x30b301[_0x3e1a15(0x11e)],_0x2001fa=this[_0x3e1a15(0x13c)][_0x3e1a15(0xef)][_0x3e1a15(0xe6)](_0x450d9c);this[_0x3e1a15(0x127)][_0x3e1a15(0x11a)]({'history':_0x56d20e,'getLatestVersion':()=>this[_0x3e1a15(0x110)](),'getCurrentRevisionId':()=>_0x30b301[_0x3e1a15(0x139)]});const _0x34831d=this[_0x3e1a15(0x13c)][_0x3e1a15(0xf9)][_0x3e1a15(0xe6)](_0x3e1a15(0x136))||_0x2ddb11,_0x518419=await _0x3dd68[_0x3e1a15(0x13a)](_0x2001fa[_0x3e1a15(0x131)],_0x34831d);this[_0x3e1a15(0x13c)][_0x3e1a15(0xef)][_0x3e1a15(0xe6)](_0x3e1a15(0x14b))[_0x3e1a15(0x144)]={'getRevision':async({revisionId:_0x3fdbf0})=>(await this[_0x3e1a15(0xe9)](),await this[_0x3e1a15(0xf8)][_0x3e1a15(0x14e)](_0x3fdbf0)),'updateRevisions':async _0x2cfa5d=>{const _0x4dfb70=_0x3e1a15;await this[_0x4dfb70(0xe9)]();const _0x4a7ad4=this[_0x4dfb70(0x127)][_0x4dfb70(0xe1)];if(_0x518419&&0x1===_0x2cfa5d[_0x4dfb70(0x137)]&&_0x2cfa5d[0x0]['id']===_0x4a7ad4['id'])return _0x2cfa5d;for(const _0x23b35c of _0x2cfa5d)_0x23b35c['id']===_0x4a7ad4['id']&&(_0x23b35c[_0x4dfb70(0x13d)]=_0x23b35c[_0x4dfb70(0x102)]===_0x23b35c[_0x4dfb70(0xf6)]);return this[_0x4dfb70(0xf8)][_0x4dfb70(0xf3)](_0x2cfa5d,this[_0x4dfb70(0x134)])[_0x4dfb70(0x135)](_0x31628d=>(this[_0x4dfb70(0x134)]=_0x31628d,_0x2cfa5d))[_0x4dfb70(0x12a)](_0x2647f3=>{const _0x271093=_0x4dfb70;if(q(_0x2647f3)||_0x271093(0xec)===_0x2647f3[_0x271093(0xe2)]&&void 0x0!==_0x2647f3[_0x271093(0xf0)][_0x271093(0xf7)]){for(const _0x446839 of _0x2cfa5d){!this[_0x271093(0x127)][_0x271093(0x111)][_0x271093(0x14e)](_0x446839['id'])||this[_0x271093(0x127)][_0x271093(0x116)](_0x446839['id'],_0x446839,!0x1);}if(q(_0x2647f3))throw _0x2647f3;return _0x2cfa5d;}throw _0x2647f3;});}},this[_0x3e1a15(0x12d)](this[_0x3e1a15(0xf8)],_0x3e1a15(0x126),(_0x8c0204,{revisionsData:_0x10edaf,requestId:_0x117994})=>{const _0x59916b=_0x3e1a15;Math[_0x59916b(0x106)](..._0x10edaf[_0x59916b(0x140)](_0x33b00a=>_0x33b00a[_0x59916b(0xf6)]))>this[_0x59916b(0x105)]()-0x1?this[_0x59916b(0x110)]()[_0x59916b(0x135)](()=>{const _0x2cac62=_0x59916b;this[_0x2cac62(0x11b)](_0x10edaf,_0x117994);}):this[_0x59916b(0x11b)](_0x10edaf,_0x117994);});const {revisions:_0x1256d3,requestId:_0x49ab34}=await this[_0x3e1a15(0xf8)][_0x3e1a15(0x12b)](_0x2001fa[_0x3e1a15(0x131)]);_0x2001fa[_0x3e1a15(0x122)](this),this[_0x3e1a15(0x134)]=_0x49ab34,await this[_0x3e1a15(0x100)](_0x1256d3);for(const _0x4b8637 of _0x1256d3)this[_0x3e1a15(0x127)][_0x3e1a15(0x12c)](_0x4b8637);this[_0x3e1a15(0x12d)](_0x30b301,_0x3e1a15(0xee),(_0x3f93fc,_0x4331b6,_0x5b05f0)=>{const _0x463322=_0x3e1a15;_0x5b05f0&&(this[_0x463322(0x114)]=_0x30b301[_0x463322(0xe7)],_0x3f93fc[_0x463322(0xdf)]());}),this[_0x3e1a15(0x127)][_0x3e1a15(0x123)](_0x3e1a15(0xf5))['to'](_0x2001fa,_0x3e1a15(0xdc),_0x841f6f=>_0x841f6f===_0x35f644[_0x3e1a15(0x129)]);}async[_0x4a87f4(0x118)](){const _0x26baf0=_0x4a87f4,_0x563bd8=this[_0x26baf0(0x13c)][_0x26baf0(0xef)][_0x26baf0(0xe6)](_0x450d9c),_0x1e36a8=this[_0x26baf0(0x13c)][_0x26baf0(0xef)][_0x26baf0(0xe6)](_0x4e4b6a),_0x51f715=async()=>{const _0x18203b=_0x26baf0,_0x568f54=this[_0x18203b(0x127)][_0x18203b(0xe1)],_0x1e9999=_0x568f54['id'],_0x4d40e7=_0x1e9999!==_0x1e36a8[_0x18203b(0x139)];if(_0x4d40e7){const _0x126451=_0x1e36a8[_0x18203b(0xe7)]-this[_0x18203b(0x114)],_0x3b7fd9=this[_0x18203b(0x105)]();this[_0x18203b(0x127)][_0x18203b(0x103)][_0x18203b(0x141)]();if(_0x568f54[_0x18203b(0xf6)]+_0x126451!==_0x3b7fd9){const _0x405018=_0x568f54[_0x18203b(0x102)]+_0x126451,_0x1609ef=this[_0x18203b(0x13c)][_0x18203b(0xef)][_0x18203b(0xe6)](_0x4bb846),_0x27239b=this[_0x18203b(0x127)][_0x18203b(0x101)]({'revision':_0x568f54,'from':_0x405018,'to':_0x3b7fd9});_0x27239b['id']=_0x568f54['id'];const _0x209b3b=_0x27239b[_0x18203b(0x130)][_0x18203b(0x140)](_0x173095=>_0x1609ef[_0x18203b(0x14d)](_0x173095));_0x568f54[_0x18203b(0x125)]({..._0x27239b,'authors':_0x209b3b},!0x0),this[_0x18203b(0x127)][_0x18203b(0x116)](_0x568f54['id'],_0x27239b,!0x0);}this[_0x18203b(0x127)][_0x18203b(0xfe)]=_0x3b7fd9,(_0x568f54[_0x18203b(0xf6)]===_0x568f54[_0x18203b(0x102)]&&!this[_0x18203b(0x127)][_0x18203b(0x13f)][_0x18203b(0x12f)](_0x1e9999)&&this[_0x18203b(0x127)][_0x18203b(0x111)][_0x18203b(0x128)][_0x18203b(0x124)](_0x1e9999),this[_0x18203b(0x127)][_0x18203b(0x121)](_0x3b7fd9));}const {revisions:_0x44e8fd,requestId:_0xa1fd6f}=await this[_0x18203b(0xf8)][_0x18203b(0x118)](_0x563bd8[_0x18203b(0x131)],this[_0x18203b(0x134)]);_0x4d40e7&&_0x44e8fd[_0x18203b(0x137)]>0x0?_0x1e36a8[_0x18203b(0xf4)]():(await this[_0x18203b(0x100)](_0x44e8fd),this[_0x18203b(0x11b)](_0x44e8fd,_0xa1fd6f),this[_0x18203b(0x127)][_0x18203b(0x11c)]());};return _0x1e36a8[_0x26baf0(0x119)]?_0x51f715():new Promise((_0x42daf4,_0x20419d)=>{const _0x2b111e=_0x26baf0;_0x1e36a8[_0x2b111e(0x133)](_0x2b111e(0xee),()=>{const _0x24d861=_0x2b111e;_0x51f715()[_0x24d861(0x135)](_0x42daf4)[_0x24d861(0x12a)](_0x20419d);});});}[_0x4a87f4(0x10c)](){const _0x6c5de6=_0x4a87f4;super[_0x6c5de6(0x10c)]();}async[_0x4a87f4(0xe9)](){const _0x123af5=_0x4a87f4;this[_0x123af5(0xf8)][_0x123af5(0x138)]||await new Promise(_0x45f281=>{const _0x3002a7=_0x123af5;this[_0x3002a7(0x12d)](this[_0x3002a7(0xf8)],_0x3002a7(0x10d),_0x112c98=>{const _0x4d9cb1=_0x3002a7;_0x112c98[_0x4d9cb1(0xdf)](),_0x45f281();});});}[_0x4a87f4(0x105)](){const _0x1453ac=_0x4a87f4,_0x181054=this[_0x1453ac(0x13c)][_0x1453ac(0xef)][_0x1453ac(0xe6)](_0x4e4b6a)[_0x1453ac(0x11e)][_0x1453ac(0xfd)]()[_0x1453ac(0x115)]();for(const _0x2043a5 of _0x181054)if(_0x1453ac(0xf2)!==_0x2043a5[_0x1453ac(0x10f)]||_0x2043a5[_0x1453ac(0x145)])return _0x2043a5[_0x1453ac(0x11d)]+0x1;}[_0x4a87f4(0x110)](){const _0x168e6a=_0x4a87f4,_0x46682f=this[_0x168e6a(0x13c)][_0x168e6a(0xef)][_0x168e6a(0xe6)](_0x4e4b6a);return new Promise(_0x674e8b=>{const _0x177550=_0x168e6a;_0x46682f[_0x177550(0x142)]?_0x46682f[_0x177550(0x133)](_0x177550(0x14c),()=>{const _0x4a6f29=_0x177550;_0x674e8b(this[_0x4a6f29(0x105)]());}):_0x674e8b(this[_0x177550(0x105)]());});}[_0x4a87f4(0x11b)](_0x157ac3,_0x14cd2d){const _0x7478bf=_0x4a87f4,_0x355960=this[_0x7478bf(0x127)][_0x7478bf(0x111)];this[_0x7478bf(0x134)]=_0x14cd2d;for(const _0x53dd88 of _0x157ac3){const _0x5d079a=_0x355960[_0x7478bf(0x14e)](_0x53dd88['id']);if(_0x5d079a){if((_0x53dd88[_0x7478bf(0x102)]||_0x53dd88[_0x7478bf(0xf6)])&&(_0x53dd88[_0x7478bf(0xed)]=null),_0x5d079a===this[_0x7478bf(0x127)][_0x7478bf(0xe1)]){const _0x258dcd=Math[_0x7478bf(0x106)](_0x5d079a[_0x7478bf(0xf6)],_0x53dd88[_0x7478bf(0xf6)]),_0xcc6964=Math[_0x7478bf(0x106)](_0x5d079a[_0x7478bf(0x102)],_0x53dd88[_0x7478bf(0x102)]);let _0xf5bb85;_0x5d079a[_0x7478bf(0xf6)]===_0x53dd88[_0x7478bf(0xf6)]&&_0x5d079a[_0x7478bf(0x102)]===_0x53dd88[_0x7478bf(0x102)]?(_0xf5bb85=!0x0,this[_0x7478bf(0x143)](_0x53dd88)):_0x53dd88[_0x7478bf(0xf6)]===_0x258dcd&&_0x53dd88[_0x7478bf(0x102)]===_0xcc6964?_0xf5bb85=!0x1:(_0x5d079a[_0x7478bf(0xf6)]===_0x258dcd&&_0x5d079a[_0x7478bf(0x102)]===_0xcc6964||this[_0x7478bf(0x146)]({'revision':_0x5d079a,'from':_0xcc6964,'to':_0x258dcd}),_0xf5bb85=!0x0),_0xf5bb85&&(delete _0x53dd88[_0x7478bf(0x102)],delete _0x53dd88[_0x7478bf(0xf6)],delete _0x53dd88[_0x7478bf(0xed)],delete _0x53dd88[_0x7478bf(0xfc)],delete _0x53dd88[_0x7478bf(0x130)]);}this[_0x7478bf(0x127)][_0x7478bf(0x108)](_0x53dd88),this[_0x7478bf(0x143)](_0x53dd88);}else this[_0x7478bf(0x127)][_0x7478bf(0x12c)](_0x53dd88);}const _0x551702=_0x355960[_0x7478bf(0xde)]();_0x551702[_0x7478bf(0x115)]();for(let _0x224bdc=0x0;_0x224bdc<_0x551702[_0x7478bf(0x137)]-0x1;_0x224bdc++){const _0x29aa67=_0x551702[_0x224bdc],_0x1b9467=_0x551702[_0x224bdc+0x1];if(_0x29aa67[_0x7478bf(0x102)]<_0x1b9467[_0x7478bf(0xf6)]){const _0x652477=_0x1b9467[_0x7478bf(0xf6)],_0x2dd51d=Math[_0x7478bf(0x106)](_0x652477,_0x29aa67[_0x7478bf(0xf6)]);this[_0x7478bf(0x146)]({'revision':_0x29aa67,'from':_0x652477,'to':_0x2dd51d});}}}[_0x4a87f4(0x146)]({revision:_0x1e52c2,from:_0x57fe4a,to:_0x2f3045}={}){const _0x2e8462=_0x4a87f4,_0x2f7d4c=this[_0x2e8462(0x13c)][_0x2e8462(0xef)][_0x2e8462(0xe6)](_0x4bb846),_0x3c5a1f=this[_0x2e8462(0x127)][_0x2e8462(0x101)]({'revision':_0x1e52c2,'from':_0x57fe4a,'to':_0x2f3045});_0x3c5a1f[_0x2e8462(0x109)]=_0x3c5a1f[_0x2e8462(0x130)][_0x2e8462(0x140)](_0x5650d7=>_0x2f7d4c[_0x2e8462(0x14d)](_0x5650d7)),_0x1e52c2[_0x2e8462(0x125)](_0x3c5a1f);}[_0x4a87f4(0x143)](_0x1fc0e6){const _0x12623d=_0x4a87f4,_0x350674={};_0x350674['id']=_0x1fc0e6['id'];for(const _0x46ba85 of Object[_0x12623d(0x13e)](_0x1fc0e6))'id'!==_0x46ba85&&(_0x350674[_0x46ba85]=void 0x0);this[_0x12623d(0x127)][_0x12623d(0x116)](_0x350674['id'],_0x350674,!0x0);}async[_0x4a87f4(0x100)](_0x272ad0){const _0x126cfd=_0x4a87f4,_0x343af6=this[_0x126cfd(0x13c)][_0x126cfd(0xef)][_0x126cfd(0xe6)](_0x4bb846),{connection:_0x3bc53f}=this[_0x126cfd(0x13c)][_0x126cfd(0xef)][_0x126cfd(0xe6)](_0x450d9c),_0x189ba8=new Set();for(const _0x1a3644 of _0x272ad0){for(const _0x156fe7 of _0x1a3644[_0x126cfd(0x130)])_0x4bd835(_0x156fe7);_0x1a3644[_0x126cfd(0xe0)]&&_0x4bd835(_0x1a3644[_0x126cfd(0xe0)]);}if(0x0===_0x189ba8[_0x126cfd(0x112)])return;const _0x1dd436=await _0x4e505f[_0x126cfd(0x13b)](_0x3bc53f,Array[_0x126cfd(0xe5)](_0x189ba8));for(const _0xa6e862 of _0x1dd436)_0x343af6[_0x126cfd(0x14d)](_0xa6e862['id'])||_0x343af6[_0x126cfd(0x104)](_0xa6e862);function _0x4bd835(_0x478813){const _0x2339ec=_0x126cfd;_0x343af6[_0x2339ec(0x14d)](_0x478813)||_0x189ba8[_0x2339ec(0x132)](_0x478813);}}}export{c as CloudServicesRevisionHistoryAdapter};function q(_0x5ed84){const _0x233cdc=_0x4a87f4;return _0x5ed84[_0x233cdc(0xeb)][_0x233cdc(0x113)](_0x233cdc(0xfa))||_0x5ed84[_0x233cdc(0xeb)][_0x233cdc(0x113)](_0x233cdc(0x10a))||_0x5ed84[_0x233cdc(0xeb)][_0x233cdc(0x113)](_0x233cdc(0x120));}
23
+ const _0x1d9906=_0x40ec;function _0x161c(){const _0x306541=['type','_bufferUpdate','isEnabled','getRevisions','_handleReconnectionError','requires','_getLatestVersion','4axjHqD','serverHistory','_isConnected','creatorId','_lastRequestId','createdAt','off','updateRevisions','reverse','RevisionTracker','9IFBvwr','repository','_createCurrentRevision','pluginName','sessionId','reInit','getUser','_waitForServiceReady','_preventResendingRevisionData','length','wrongRequestId','adapter','change:_isConnected','_getLatestVersionFromServerOperations','connect','message','fromVersion','bind','_startingVersion','change:_isPendingUpdate','buildRevisionData','RevisionHistory','size','5095705cyOFLi','init','catch','733140isjLAG','_revisions','diffData','getMany','startsWith','affectsData','_update','setSource','keys','authors','552FLqgkO','marker','_bufferedUpdates','cloud-services-internal-error:\x20Request\x20timeout.','_revisionDataBuilder','4313716JCDDrg','code','isConnected','remove','state','has','plugins','setRevisionData','isPremiumPlugin','17885290SHmjpj','400','currentRevision','CONNECTED','RevisionHistoryService','getRevision','reconnect','isEmptyCurrent','baseVersion','connected','editor','_fixRevision','destroy','_handleRevisionsUpdate','_revisionHistoryService','addUser','map','max','data','CloudServicesRevisionHistoryAdapter','cloud-services-internal-error:\x20Not\x20connected.','from','_offset','addRevisionData','addToReconnectionStack','connection','1171125XlJzlc','authorsIds','once','_oldOffset','isOfficialPlugin','_isPendingUpdate','_fetchMissingUsers','config','listenTo','6692496rLHpBH','cloudServices.bundleVersion','sendBufferedUpdates','get','add','_revisionTracker','isBundleUploaded','getOperations','toVersion','collaboration.channelId','then','122017cwoMZl','revisionsUpdated','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.'];_0x161c=function(){return _0x306541;};return _0x161c();}(function(_0x13171f,_0x395630){const _0x467ae3=_0x40ec,_0x2c251e=_0x13171f();while(!![]){try{const _0x353fbf=-parseInt(_0x467ae3(0x10e))/0x1+-parseInt(_0x467ae3(0x15e))/0x2*(-parseInt(_0x467ae3(0x140))/0x3)+parseInt(_0x467ae3(0x11d))/0x4+-parseInt(_0x467ae3(0x10b))/0x5+parseInt(_0x467ae3(0x149))/0x6+parseInt(_0x467ae3(0x154))/0x7*(parseInt(_0x467ae3(0x118))/0x8)+-parseInt(_0x467ae3(0x168))/0x9*(parseInt(_0x467ae3(0x126))/0xa);if(_0x353fbf===_0x395630)break;else _0x2c251e['push'](_0x2c251e['shift']());}catch(_0xbe42e6){_0x2c251e['push'](_0x2c251e['shift']());}}}(_0x161c,0x9b66c));import{Plugin as _0x1fbf62}from'ckeditor5/src/core.js';import{version as _0x3b6cf0}from'ckeditor5/src/utils.js';import{Users as _0x243d82}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x18eaf8}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x40ec(_0x2b0e57,_0x1a629d){const _0x161c79=_0x161c();return _0x40ec=function(_0x40ecc1,_0x5599ff){_0x40ecc1=_0x40ecc1-0x108;let _0x3ea2f0=_0x161c79[_0x40ecc1];return _0x3ea2f0;},_0x40ec(_0x2b0e57,_0x1a629d);}import{WebSocketGateway as _0xcf135}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xb010ee}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x561514,RevisionHistoryService as _0x5786a0,User as _0x1e6b0d,WEB_SOCKET_GATEWAY_STATES as _0x3f2e3a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x1fbf62{static [_0x1d9906(0x12a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5786a0)());[_0x1d9906(0x162)];[_0x1d9906(0x14e)];[_0x1d9906(0x134)];[_0x1d9906(0x143)];static get[_0x1d9906(0x15c)](){const _0x5650ba=_0x1d9906;return[_0xcf135,_0x18eaf8,_0x5650ba(0x109),_0xb010ee,_0x243d82];}static get[_0x1d9906(0x16b)](){const _0x1a63c5=_0x1d9906;return _0x1a63c5(0x139);}static get[_0x1d9906(0x144)](){return!0x0;}static get[_0x1d9906(0x125)](){return!0x0;}constructor(_0x167265){const _0xaf441c=_0x1d9906;super(_0x167265);const _0x1b957a=this[_0xaf441c(0x130)][_0xaf441c(0x147)][_0xaf441c(0x14c)](_0xaf441c(0x152));this[_0xaf441c(0x162)]=null,this[_0xaf441c(0x14e)]=this[_0xaf441c(0x130)][_0xaf441c(0x123)][_0xaf441c(0x14c)](_0xaf441c(0x167)),this[_0xaf441c(0x134)]=new c[(_0xaf441c(0x12a))](_0x1b957a);}async[_0x1d9906(0x10c)](){const _0x431170=_0x1d9906,_0x5b4ceb=this[_0x431170(0x130)][_0x431170(0x123)][_0x431170(0x14c)](_0x18eaf8),_0x5dbe57=_0x5b4ceb[_0x431170(0x15f)],_0x2d3086=this[_0x431170(0x130)][_0x431170(0x123)][_0x431170(0x14c)](_0xcf135);this[_0x431170(0x14e)][_0x431170(0x115)]({'history':_0x5dbe57,'getLatestVersion':()=>this[_0x431170(0x15d)](),'getCurrentRevisionId':()=>_0x5b4ceb[_0x431170(0x16c)]});const _0x4bd465=this[_0x431170(0x130)][_0x431170(0x147)][_0x431170(0x14c)](_0x431170(0x14a))||_0x3b6cf0,_0x30a5b5=await _0x561514[_0x431170(0x14f)](_0x2d3086[_0x431170(0x13f)],_0x4bd465);this[_0x431170(0x130)][_0x431170(0x123)][_0x431170(0x14c)](_0x431170(0x109))[_0x431170(0x173)]={'getRevision':async({revisionId:_0x19f31b})=>(await this[_0x431170(0x16f)](),await this[_0x431170(0x134)][_0x431170(0x12b)](_0x19f31b)),'updateRevisions':async _0x438287=>{const _0x3ef24f=_0x431170;await this[_0x3ef24f(0x16f)]();const _0x197440=this[_0x3ef24f(0x14e)][_0x3ef24f(0x128)];if(_0x30a5b5&&0x1===_0x438287[_0x3ef24f(0x171)]&&_0x438287[0x0]['id']===_0x197440['id'])return _0x438287;for(const _0x132497 of _0x438287)_0x132497['id']===_0x197440['id']&&(_0x132497[_0x3ef24f(0x12d)]=_0x132497[_0x3ef24f(0x178)]===_0x132497[_0x3ef24f(0x151)]);return this[_0x3ef24f(0x134)][_0x3ef24f(0x165)](_0x438287,this[_0x3ef24f(0x162)])[_0x3ef24f(0x153)](_0x51c189=>(this[_0x3ef24f(0x162)]=_0x51c189,_0x438287))[_0x3ef24f(0x10d)](_0x5eb146=>{const _0xc5fb56=_0x3ef24f;if(Z(_0x5eb146)||_0xc5fb56(0x127)===_0x5eb146[_0xc5fb56(0x11e)]&&void 0x0!==_0x5eb146[_0xc5fb56(0x138)][_0xc5fb56(0x172)]){for(const _0x453e1d of _0x438287){!this[_0xc5fb56(0x14e)][_0xc5fb56(0x169)][_0xc5fb56(0x12b)](_0x453e1d['id'])||this[_0xc5fb56(0x14e)][_0xc5fb56(0x158)](_0x453e1d['id'],_0x453e1d,!0x1);}if(Z(_0x5eb146))throw _0x5eb146;return _0x438287;}throw _0x5eb146;});}},this[_0x431170(0x148)](this[_0x431170(0x134)],_0x431170(0x155),(_0xae8549,{revisionsData:_0x106aed,requestId:_0x2adf30})=>{const _0x56a1bf=_0x431170;Math[_0x56a1bf(0x137)](..._0x106aed[_0x56a1bf(0x136)](_0x5c735d=>_0x5c735d[_0x56a1bf(0x151)]))>this[_0x56a1bf(0x175)]()-0x1?this[_0x56a1bf(0x15d)]()[_0x56a1bf(0x153)](()=>{const _0x5106d8=_0x56a1bf;this[_0x5106d8(0x133)](_0x106aed,_0x2adf30);}):this[_0x56a1bf(0x133)](_0x106aed,_0x2adf30);});const {revisions:_0x499475,requestId:_0x4b2980}=await this[_0x431170(0x134)][_0x431170(0x176)](_0x2d3086[_0x431170(0x13f)]);_0x2d3086[_0x431170(0x13e)](this),this[_0x431170(0x162)]=_0x4b2980,await this[_0x431170(0x146)](_0x499475);for(const _0x52cb45 of _0x499475)this[_0x431170(0x14e)][_0x431170(0x13d)](_0x52cb45);this[_0x431170(0x148)](_0x5b4ceb,_0x431170(0x174),(_0x283df6,_0x47c895,_0x51ec88)=>{const _0x284870=_0x431170;_0x51ec88&&(this[_0x284870(0x143)]=_0x5b4ceb[_0x284870(0x13c)],_0x283df6[_0x284870(0x164)]());}),this[_0x431170(0x14e)][_0x431170(0x179)](_0x431170(0x159))['to'](_0x2d3086,_0x431170(0x121),_0x38305a=>_0x38305a===_0x3f2e3a[_0x431170(0x129)]);}async[_0x1d9906(0x12c)](){const _0x5b5b2e=_0x1d9906,_0x5bebe9=this[_0x5b5b2e(0x130)][_0x5b5b2e(0x123)][_0x5b5b2e(0x14c)](_0xcf135),_0x51ba31=this[_0x5b5b2e(0x130)][_0x5b5b2e(0x123)][_0x5b5b2e(0x14c)](_0x18eaf8),_0x163d60=async()=>{const _0x3451f9=_0x5b5b2e,_0x11be52=this[_0x3451f9(0x14e)][_0x3451f9(0x128)],_0x2ed3c7=_0x11be52['id'],_0x215fae=_0x2ed3c7!==_0x51ba31[_0x3451f9(0x16c)];if(_0x215fae){const _0x19909c=_0x51ba31[_0x3451f9(0x13c)]-this[_0x3451f9(0x143)],_0x518ba7=this[_0x3451f9(0x175)]();this[_0x3451f9(0x14e)][_0x3451f9(0x11c)][_0x3451f9(0x16d)]();if(_0x11be52[_0x3451f9(0x151)]+_0x19909c!==_0x518ba7){const _0x4af494=_0x11be52[_0x3451f9(0x178)]+_0x19909c,_0x4a9341=this[_0x3451f9(0x130)][_0x3451f9(0x123)][_0x3451f9(0x14c)](_0x243d82),_0x21bb42=this[_0x3451f9(0x14e)][_0x3451f9(0x108)]({'revision':_0x11be52,'from':_0x4af494,'to':_0x518ba7});_0x21bb42['id']=_0x11be52['id'];const _0x5a77d6=_0x21bb42[_0x3451f9(0x141)][_0x3451f9(0x136)](_0x1c72e3=>_0x4a9341[_0x3451f9(0x16e)](_0x1c72e3));_0x11be52[_0x3451f9(0x114)]({..._0x21bb42,'authors':_0x5a77d6},!0x0),this[_0x3451f9(0x14e)][_0x3451f9(0x158)](_0x11be52['id'],_0x21bb42,!0x0);}this[_0x3451f9(0x14e)][_0x3451f9(0x17a)]=_0x518ba7,(_0x11be52[_0x3451f9(0x151)]===_0x11be52[_0x3451f9(0x178)]&&!this[_0x3451f9(0x14e)][_0x3451f9(0x11a)][_0x3451f9(0x122)](_0x2ed3c7)&&this[_0x3451f9(0x14e)][_0x3451f9(0x169)][_0x3451f9(0x10f)][_0x3451f9(0x120)](_0x2ed3c7),this[_0x3451f9(0x14e)][_0x3451f9(0x16a)](_0x518ba7));}const {revisions:_0x92496f,requestId:_0x25d183}=await this[_0x3451f9(0x134)][_0x3451f9(0x12c)](_0x5bebe9[_0x3451f9(0x13f)],this[_0x3451f9(0x162)]);_0x215fae&&_0x92496f[_0x3451f9(0x171)]>0x0?_0x51ba31[_0x3451f9(0x15b)]():(await this[_0x3451f9(0x146)](_0x92496f),this[_0x3451f9(0x133)](_0x92496f,_0x25d183),this[_0x3451f9(0x14e)][_0x3451f9(0x14b)]());};return _0x51ba31[_0x5b5b2e(0x160)]?_0x163d60():new Promise((_0x340e22,_0x44667c)=>{const _0xb26afd=_0x5b5b2e;_0x51ba31[_0xb26afd(0x142)](_0xb26afd(0x174),()=>{const _0x31326e=_0xb26afd;_0x163d60()[_0x31326e(0x153)](_0x340e22)[_0x31326e(0x10d)](_0x44667c);});});}[_0x1d9906(0x132)](){const _0x173367=_0x1d9906;super[_0x173367(0x132)]();}async[_0x1d9906(0x16f)](){const _0x554e91=_0x1d9906;this[_0x554e91(0x134)][_0x554e91(0x11f)]||await new Promise(_0x2227c5=>{const _0x4beca3=_0x554e91;this[_0x4beca3(0x148)](this[_0x4beca3(0x134)],_0x4beca3(0x12f),_0x2f2ada=>{const _0x39edea=_0x4beca3;_0x2f2ada[_0x39edea(0x164)](),_0x2227c5();});});}[_0x1d9906(0x175)](){const _0x2fb807=_0x1d9906,_0x113710=this[_0x2fb807(0x130)][_0x2fb807(0x123)][_0x2fb807(0x14c)](_0x18eaf8)[_0x2fb807(0x15f)][_0x2fb807(0x150)]()[_0x2fb807(0x166)]();for(const _0x9596b9 of _0x113710)if(_0x2fb807(0x119)!==_0x9596b9[_0x2fb807(0x157)]||_0x9596b9[_0x2fb807(0x113)])return _0x9596b9[_0x2fb807(0x12e)]+0x1;}[_0x1d9906(0x15d)](){const _0x3065a9=_0x1d9906,_0x4ddc15=this[_0x3065a9(0x130)][_0x3065a9(0x123)][_0x3065a9(0x14c)](_0x18eaf8);return new Promise(_0x2ed9ee=>{const _0x2c0acb=_0x3065a9;_0x4ddc15[_0x2c0acb(0x145)]?_0x4ddc15[_0x2c0acb(0x142)](_0x2c0acb(0x17b),()=>{const _0x44a551=_0x2c0acb;_0x2ed9ee(this[_0x44a551(0x175)]());}):_0x2ed9ee(this[_0x2c0acb(0x175)]());});}[_0x1d9906(0x133)](_0x3b6b9d,_0x58d6ae){const _0x118669=_0x1d9906,_0x4e2f92=this[_0x118669(0x14e)][_0x118669(0x169)];this[_0x118669(0x162)]=_0x58d6ae;for(const _0x348c4f of _0x3b6b9d){const _0x5e1d78=_0x4e2f92[_0x118669(0x12b)](_0x348c4f['id']);if(_0x5e1d78){if((_0x348c4f[_0x118669(0x178)]||_0x348c4f[_0x118669(0x151)])&&(_0x348c4f[_0x118669(0x110)]=null),_0x5e1d78===this[_0x118669(0x14e)][_0x118669(0x128)]){const _0x50d306=Math[_0x118669(0x137)](_0x5e1d78[_0x118669(0x151)],_0x348c4f[_0x118669(0x151)]),_0x5a3ded=Math[_0x118669(0x137)](_0x5e1d78[_0x118669(0x178)],_0x348c4f[_0x118669(0x178)]);let _0xf3fd95;_0x5e1d78[_0x118669(0x151)]===_0x348c4f[_0x118669(0x151)]&&_0x5e1d78[_0x118669(0x178)]===_0x348c4f[_0x118669(0x178)]?(_0xf3fd95=!0x0,this[_0x118669(0x170)](_0x348c4f)):_0x348c4f[_0x118669(0x151)]===_0x50d306&&_0x348c4f[_0x118669(0x178)]===_0x5a3ded?_0xf3fd95=!0x1:(_0x5e1d78[_0x118669(0x151)]===_0x50d306&&_0x5e1d78[_0x118669(0x178)]===_0x5a3ded||this[_0x118669(0x131)]({'revision':_0x5e1d78,'from':_0x5a3ded,'to':_0x50d306}),_0xf3fd95=!0x0),_0xf3fd95&&(delete _0x348c4f[_0x118669(0x178)],delete _0x348c4f[_0x118669(0x151)],delete _0x348c4f[_0x118669(0x110)],delete _0x348c4f[_0x118669(0x163)],delete _0x348c4f[_0x118669(0x141)]);}this[_0x118669(0x14e)][_0x118669(0x124)](_0x348c4f),this[_0x118669(0x170)](_0x348c4f);}else this[_0x118669(0x14e)][_0x118669(0x13d)](_0x348c4f);}const _0x1b587a=_0x4e2f92[_0x118669(0x15a)]();_0x1b587a[_0x118669(0x166)]();for(let _0x5ca08a=0x0;_0x5ca08a<_0x1b587a[_0x118669(0x171)]-0x1;_0x5ca08a++){const _0x2bce59=_0x1b587a[_0x5ca08a],_0x4770b2=_0x1b587a[_0x5ca08a+0x1];if(_0x2bce59[_0x118669(0x178)]<_0x4770b2[_0x118669(0x151)]){const _0x2ce2f4=_0x4770b2[_0x118669(0x151)],_0x366dcd=Math[_0x118669(0x137)](_0x2ce2f4,_0x2bce59[_0x118669(0x151)]);this[_0x118669(0x131)]({'revision':_0x2bce59,'from':_0x2ce2f4,'to':_0x366dcd});}}}[_0x1d9906(0x131)]({revision:_0x113b42,from:_0x1921cf,to:_0x4cc223}={}){const _0xb1cdb5=_0x1d9906,_0x2363a5=this[_0xb1cdb5(0x130)][_0xb1cdb5(0x123)][_0xb1cdb5(0x14c)](_0x243d82),_0x58ae83=this[_0xb1cdb5(0x14e)][_0xb1cdb5(0x108)]({'revision':_0x113b42,'from':_0x1921cf,'to':_0x4cc223});_0x58ae83[_0xb1cdb5(0x117)]=_0x58ae83[_0xb1cdb5(0x141)][_0xb1cdb5(0x136)](_0x10e3b2=>_0x2363a5[_0xb1cdb5(0x16e)](_0x10e3b2)),_0x113b42[_0xb1cdb5(0x114)](_0x58ae83);}[_0x1d9906(0x170)](_0x382767){const _0x8ee7fc=_0x1d9906,_0xe79824={};_0xe79824['id']=_0x382767['id'];for(const _0x192ee7 of Object[_0x8ee7fc(0x116)](_0x382767))'id'!==_0x192ee7&&(_0xe79824[_0x192ee7]=void 0x0);this[_0x8ee7fc(0x14e)][_0x8ee7fc(0x158)](_0xe79824['id'],_0xe79824,!0x0);}async[_0x1d9906(0x146)](_0x510007){const _0x20ec66=_0x1d9906,_0x4fca51=this[_0x20ec66(0x130)][_0x20ec66(0x123)][_0x20ec66(0x14c)](_0x243d82),{connection:_0x5b3e62}=this[_0x20ec66(0x130)][_0x20ec66(0x123)][_0x20ec66(0x14c)](_0xcf135),_0x3a7716=new Set();for(const _0xd1fda5 of _0x510007){for(const _0x15729f of _0xd1fda5[_0x20ec66(0x141)])_0x1665c7(_0x15729f);_0xd1fda5[_0x20ec66(0x161)]&&_0x1665c7(_0xd1fda5[_0x20ec66(0x161)]);}if(0x0===_0x3a7716[_0x20ec66(0x10a)])return;const _0x45682f=await _0x1e6b0d[_0x20ec66(0x111)](_0x5b3e62,Array[_0x20ec66(0x13b)](_0x3a7716));for(const _0x2fd1d3 of _0x45682f)_0x4fca51[_0x20ec66(0x16e)](_0x2fd1d3['id'])||_0x4fca51[_0x20ec66(0x135)](_0x2fd1d3);function _0x1665c7(_0x32c9f0){const _0x5efbef=_0x20ec66;_0x4fca51[_0x5efbef(0x16e)](_0x32c9f0)||_0x3a7716[_0x5efbef(0x14d)](_0x32c9f0);}}}export{c as CloudServicesRevisionHistoryAdapter};function Z(_0x19e14d){const _0x182f63=_0x1d9906;return _0x19e14d[_0x182f63(0x177)][_0x182f63(0x112)](_0x182f63(0x156))||_0x19e14d[_0x182f63(0x177)][_0x182f63(0x112)](_0x182f63(0x13a))||_0x19e14d[_0x182f63(0x177)][_0x182f63(0x112)](_0x182f63(0x11b));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2876a4=_0x3c4b;(function(_0x5a304b,_0x309c7a){var _0x521912=_0x3c4b,_0x4f2b53=_0x5a304b();while(!![]){try{var _0x46a987=parseInt(_0x521912(0xa1))/0x1*(parseInt(_0x521912(0x9c))/0x2)+parseInt(_0x521912(0x95))/0x3*(parseInt(_0x521912(0x9b))/0x4)+parseInt(_0x521912(0xa4))/0x5+parseInt(_0x521912(0x9f))/0x6+-parseInt(_0x521912(0xa2))/0x7*(parseInt(_0x521912(0x99))/0x8)+-parseInt(_0x521912(0x98))/0x9+-parseInt(_0x521912(0xa3))/0xa*(-parseInt(_0x521912(0x9e))/0xb);if(_0x46a987===_0x309c7a)break;else _0x4f2b53['push'](_0x4f2b53['shift']());}catch(_0x29ea1f){_0x4f2b53['push'](_0x4f2b53['shift']());}}}(_0x1e12,0x93fce));import{Plugin as _0x5a4003}from'ckeditor5/src/core.js';function _0x1e12(){var _0x3ed3f6=['isOfficialPlugin','RealTimeCollaborativeRevisionHistory','6241698ISKUhI','1107192PZNtuh','pluginName','12448KESGns','57628hWItDL','requires','22FsSXqo','4890486DXjRbz','isPremiumPlugin','4QePFlw','35unQKcb','116010wOPAXK','3805840ZnnyDg','RevisionHistory','267XgHiYf'];_0x1e12=function(){return _0x3ed3f6;};return _0x1e12();}import{CloudServicesRevisionHistoryAdapter as _0x243f67}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x4d6352}from'./realtimecollaborativeediting.js';function _0x3c4b(_0x50cce9,_0x4cf534){var _0x1e12c2=_0x1e12();return _0x3c4b=function(_0x3c4b9d,_0xfbd60c){_0x3c4b9d=_0x3c4b9d-0x94;var _0x5967c0=_0x1e12c2[_0x3c4b9d];return _0x5967c0;},_0x3c4b(_0x50cce9,_0x4cf534);}export class RealTimeCollaborativeRevisionHistory extends _0x5a4003{static get[_0x2876a4(0x9d)](){var _0x57d760=_0x2876a4;return[_0x57d760(0x94),_0x243f67,_0x4d6352];}static get[_0x2876a4(0x9a)](){var _0x4d1160=_0x2876a4;return _0x4d1160(0x97);}static get[_0x2876a4(0x96)](){return!0x0;}static get[_0x2876a4(0xa0)](){return!0x0;}}
23
+ function _0x3db6(_0x671f8e,_0x42e2ad){var _0x48e9d2=_0x48e9();return _0x3db6=function(_0x3db609,_0x37c5cd){_0x3db609=_0x3db609-0x1ae;var _0x242c8b=_0x48e9d2[_0x3db609];return _0x242c8b;},_0x3db6(_0x671f8e,_0x42e2ad);}function _0x48e9(){var _0x379959=['4837536ioNfzQ','69lzbYlr','RealTimeCollaborativeRevisionHistory','11030FNpcXd','2182135vHFsfm','1242988csvNrf','pluginName','232036RWkJpD','10667685fPPFyu','RevisionHistory','2oXvyvH','requires','9585CmQwbl','1994927emCFog','isPremiumPlugin','isOfficialPlugin','6fqOLWB'];_0x48e9=function(){return _0x379959;};return _0x48e9();}var _0xd3b0c5=_0x3db6;(function(_0x11c7b9,_0x32f3fd){var _0x262d98=_0x3db6,_0x219cf4=_0x11c7b9();while(!![]){try{var _0x42734b=parseInt(_0x262d98(0x1ae))/0x1*(-parseInt(_0x262d98(0x1b3))/0x2)+parseInt(_0x262d98(0x1bb))/0x3*(parseInt(_0x262d98(0x1b0))/0x4)+parseInt(_0x262d98(0x1be))/0x5*(-parseInt(_0x262d98(0x1b9))/0x6)+parseInt(_0x262d98(0x1b1))/0x7+parseInt(_0x262d98(0x1ba))/0x8+parseInt(_0x262d98(0x1b5))/0x9*(-parseInt(_0x262d98(0x1bd))/0xa)+parseInt(_0x262d98(0x1b6))/0xb;if(_0x42734b===_0x32f3fd)break;else _0x219cf4['push'](_0x219cf4['shift']());}catch(_0x1f7e5b){_0x219cf4['push'](_0x219cf4['shift']());}}}(_0x48e9,0xc0e55));import{Plugin as _0x103c06}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2ccd74}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x325f92}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x103c06{static get[_0xd3b0c5(0x1b4)](){var _0x33ea76=_0xd3b0c5;return[_0x33ea76(0x1b2),_0x2ccd74,_0x325f92];}static get[_0xd3b0c5(0x1af)](){var _0x2c7971=_0xd3b0c5;return _0x2c7971(0x1bc);}static get[_0xd3b0c5(0x1b8)](){return!0x0;}static get[_0xd3b0c5(0x1b7)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5107ea=_0x2529;(function(_0x11f43b,_0x479c23){const _0x4e3ebb=_0x2529,_0x5cb948=_0x11f43b();while(!![]){try{const _0x33fdf9=-parseInt(_0x4e3ebb(0x169))/0x1+-parseInt(_0x4e3ebb(0x199))/0x2+-parseInt(_0x4e3ebb(0x18a))/0x3+-parseInt(_0x4e3ebb(0x16f))/0x4+-parseInt(_0x4e3ebb(0x168))/0x5+-parseInt(_0x4e3ebb(0x16b))/0x6+parseInt(_0x4e3ebb(0x198))/0x7;if(_0x33fdf9===_0x479c23)break;else _0x5cb948['push'](_0x5cb948['shift']());}catch(_0x3195eb){_0x5cb948['push'](_0x5cb948['shift']());}}}(_0x34f8,0x6fa53));import{Plugin as _0x3ff1d0}from'ckeditor5/src/core.js';import{User as _0x2d6298,TrackChangesService as _0x4963ab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x34f8(){const _0x1e2feb=['isConnected','4369365FIUOvE','416823yFUuTA','startsWith','1943784pvQwfD','_bufferedRequests','delete','pluginName','1703148itKwlT','editor','suggestionUpdated','requires','add','then','isPremiumPlugin','open','addToReconnectionStack','listenTo','cloud-services-internal-error:\x20Request\x20timeout.','config','off','_trackChangesService','find','type','get','init','set','data','getSuggestion','size','catch','cloud-services-internal-error:\x20Not\x20connected.','connect','adapter','_saved','1657356CHbEer','state','_waitForServiceReady','plugins','getMany','reconnect','TrackChangesService','message','hasSuggestion','update','attributes','CloudServicesTrackChangesAdapter','originalSuggestionId','getUser','22155042nVxtHM','229616tnpmlJ','_fetchMissingUsersForThreads','TrackChangesEditing','collaboration.channelId','addUser','connected','addSuggestionData','connection','from','values','isOfficialPlugin'];_0x34f8=function(){return _0x1e2feb;};return _0x34f8();}import{WebSocketGateway as _0xf80ba6}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1c5885}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xf756c7}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x3ff1d0{static [_0x5107ea(0x190)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4963ab)());[_0x5107ea(0x16c)];[_0x5107ea(0x17c)];static get[_0x5107ea(0x172)](){const _0x546205=_0x5107ea;return[_0x1c5885,_0x546205(0x15e),_0xf80ba6];}static get[_0x5107ea(0x16e)](){const _0x4eb614=_0x5107ea;return _0x4eb614(0x195);}static get[_0x5107ea(0x166)](){return!0x0;}static get[_0x5107ea(0x175)](){return!0x0;}constructor(_0x123ffd){const _0x4e049d=_0x5107ea;super(_0x123ffd);const _0x1ab771=this[_0x4e049d(0x170)][_0x4e049d(0x17a)][_0x4e049d(0x17f)](_0x4e049d(0x15f));this[_0x4e049d(0x16c)]=new Map(),this[_0x4e049d(0x17c)]=new m[(_0x4e049d(0x190))](_0x1ab771);}[_0x5107ea(0x180)](){const _0x5bcc0b=_0x5107ea,_0x3e5ca5=this[_0x5bcc0b(0x170)][_0x5bcc0b(0x18d)][_0x5bcc0b(0x17f)](_0xf80ba6),_0x448ad4=this[_0x5bcc0b(0x170)][_0x5bcc0b(0x18d)][_0x5bcc0b(0x17f)](_0x5bcc0b(0x15e));return _0x448ad4[_0x5bcc0b(0x188)]={'getSuggestion':async _0x5cec6a=>{const _0x45ef56=_0x5bcc0b;await this[_0x45ef56(0x18c)]();const _0x5dd590=await this[_0x45ef56(0x17c)][_0x45ef56(0x17f)](_0x5cec6a)[_0x45ef56(0x185)](k);return await this[_0x45ef56(0x15d)]([_0x5dd590]),_0x5dd590;},'addSuggestion':async({id:_0x4c4a69,type:_0x427ca1,data:_0x53bf7f,originalSuggestionId:_0x3aabbb,attributes:_0x55fe17})=>{const _0x314044=_0x5bcc0b;await this[_0x314044(0x18c)]();const _0x5f0dd6={'id':_0x4c4a69,'type':_0x427ca1,'data':_0x53bf7f,'originalSuggestionId':_0x3aabbb,'attributes':_0x55fe17},_0x4a813a=await this[_0x314044(0x17c)][_0x314044(0x173)](_0x4c4a69,_0x427ca1,_0x53bf7f,_0x3aabbb,_0x55fe17)[_0x314044(0x185)](_0x371cef=>{if(q(_0x371cef))return new Promise(_0x291b79=>{const _0xbc7469=_0x2529;this[_0xbc7469(0x16c)][_0xbc7469(0x181)](_0x4c4a69,{'resolve':_0x291b79,'suggestionData':_0x5f0dd6});});throw _0x371cef;});return this[_0x314044(0x16c)][_0x314044(0x16d)](_0x4c4a69),_0x4a813a;},'updateSuggestion':async(_0x5f5b77,_0x2cc238)=>{const _0x4d9615=_0x5bcc0b;if(await this[_0x4d9615(0x18c)](),_0x4d9615(0x176)!==_0x2cc238[_0x4d9615(0x18b)])return this[_0x4d9615(0x17c)][_0x4d9615(0x193)](_0x5f5b77,_0x2cc238)[_0x4d9615(0x185)](k);}},this[_0x5bcc0b(0x178)](this[_0x5bcc0b(0x17c)],_0x5bcc0b(0x171),(_0x2f1fe0,_0x135354)=>{const _0x20447e=_0x5bcc0b;_0x448ad4[_0x20447e(0x192)](_0x135354['id'])&&(_0x448ad4[_0x20447e(0x183)](_0x135354['id'])[_0x20447e(0x194)]=_0x135354[_0x20447e(0x194)]);}),this[_0x5bcc0b(0x17c)][_0x5bcc0b(0x187)](_0x3e5ca5[_0x5bcc0b(0x163)])[_0x5bcc0b(0x174)](_0x1af4b6=>(_0x3e5ca5[_0x5bcc0b(0x177)](this),this[_0x5bcc0b(0x15d)](_0x1af4b6)[_0x5bcc0b(0x174)](()=>{const _0x575caf=_0x5bcc0b;for(const _0x22f3ab of _0x1af4b6){_0x448ad4[_0x575caf(0x162)](_0x22f3ab)[_0x575caf(0x189)]=!0x0;}})));}async[_0x5107ea(0x18f)](){const _0x1595a3=_0x5107ea,_0x4a1061=this[_0x1595a3(0x170)][_0x1595a3(0x18d)][_0x1595a3(0x17f)](_0x1595a3(0x15e)),{connection:_0x17e8f3}=this[_0x1595a3(0x170)][_0x1595a3(0x18d)][_0x1595a3(0x17f)](_0xf80ba6),_0x17d470=await this[_0x1595a3(0x17c)][_0x1595a3(0x187)](_0x17e8f3);await this[_0x1595a3(0x15d)](_0x17d470);for(const {suggestionData:_0x290c05,resolve:_0x81fe55}of this[_0x1595a3(0x16c)][_0x1595a3(0x165)]()){let _0x198672=_0x17d470[_0x1595a3(0x17d)](_0x4606fc=>_0x4606fc['id']===_0x290c05['id']);_0x198672||(_0x198672=await this[_0x1595a3(0x17c)][_0x1595a3(0x173)](_0x290c05['id'],_0x290c05[_0x1595a3(0x17e)],_0x290c05[_0x1595a3(0x182)],_0x290c05[_0x1595a3(0x196)])),_0x81fe55(_0x198672);}for(const _0x409f7a of _0x17d470)_0x4a1061[_0x1595a3(0x192)](_0x409f7a['id'])||_0x4a1061[_0x1595a3(0x162)](_0x409f7a);}async[_0x5107ea(0x18c)](){const _0x1f7cae=_0x5107ea;this[_0x1f7cae(0x17c)][_0x1f7cae(0x167)]||await new Promise(_0x5560f8=>{const _0x18ceb7=_0x1f7cae;this[_0x18ceb7(0x178)](this[_0x18ceb7(0x17c)],_0x18ceb7(0x161),_0x2d0932=>{const _0x466ed7=_0x18ceb7;_0x2d0932[_0x466ed7(0x17b)](),_0x5560f8();});});}async[_0x5107ea(0x15d)](_0x2ce893){const _0xb29247=_0x5107ea,_0x1775b4=this[_0xb29247(0x170)][_0xb29247(0x18d)][_0xb29247(0x17f)](_0xf756c7),{connection:_0x3cae39}=this[_0xb29247(0x170)][_0xb29247(0x18d)][_0xb29247(0x17f)](_0xf80ba6),_0x4e913b=new Set();for(const {authorId:_0x4a6665}of _0x2ce893)_0x1775b4[_0xb29247(0x197)](_0x4a6665)||_0x4e913b[_0xb29247(0x173)](_0x4a6665);if(0x0===_0x4e913b[_0xb29247(0x184)])return;const _0x19ed56=await _0x2d6298[_0xb29247(0x18e)](_0x3cae39,Array[_0xb29247(0x164)](_0x4e913b));for(const _0x3c186f of _0x19ed56)_0x1775b4[_0xb29247(0x197)](_0x3c186f['id'])||_0x1775b4[_0xb29247(0x160)](_0x3c186f);}}function _0x2529(_0x3bcc9c,_0x487ad0){const _0x34f82d=_0x34f8();return _0x2529=function(_0x252989,_0x585649){_0x252989=_0x252989-0x15d;let _0x58465e=_0x34f82d[_0x252989];return _0x58465e;},_0x2529(_0x3bcc9c,_0x487ad0);}export{m as CloudServicesTrackChangesAdapter};function k(_0x52ef84){if(q(_0x52ef84))return new Promise(()=>{});throw _0x52ef84;}function q(_0x31d4ab){const _0x43dd65=_0x5107ea;return _0x31d4ab[_0x43dd65(0x191)][_0x43dd65(0x16a)](_0x43dd65(0x186))||_0x31d4ab[_0x43dd65(0x191)][_0x43dd65(0x16a)](_0x43dd65(0x179));}
23
+ const _0x4ddb6d=_0x57e4;(function(_0x2a7993,_0x38ae7c){const _0x30ba5c=_0x57e4,_0x1a0cba=_0x2a7993();while(!![]){try{const _0x1650b1=parseInt(_0x30ba5c(0x174))/0x1*(parseInt(_0x30ba5c(0x151))/0x2)+parseInt(_0x30ba5c(0x154))/0x3+parseInt(_0x30ba5c(0x14a))/0x4+-parseInt(_0x30ba5c(0x16f))/0x5*(parseInt(_0x30ba5c(0x14c))/0x6)+parseInt(_0x30ba5c(0x156))/0x7+-parseInt(_0x30ba5c(0x15e))/0x8+-parseInt(_0x30ba5c(0x15c))/0x9;if(_0x1650b1===_0x38ae7c)break;else _0x1a0cba['push'](_0x1a0cba['shift']());}catch(_0x5c85c4){_0x1a0cba['push'](_0x1a0cba['shift']());}}}(_0x3805,0x403e1));import{Plugin as _0x35e978}from'ckeditor5/src/core.js';import{User as _0x8f259,TrackChangesService as _0x154b18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4480b6}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x297a81}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x57e4(_0x395175,_0x2e1b25){const _0x3805e2=_0x3805();return _0x57e4=function(_0x57e42e,_0x4d92a5){_0x57e42e=_0x57e42e-0x147;let _0x4eb9a8=_0x3805e2[_0x57e42e];return _0x4eb9a8;},_0x57e4(_0x395175,_0x2e1b25);}function _0x3805(){const _0x4c7b35=['then','connection','isOfficialPlugin','2203983JCfgOo','connected','1870816usKbyw','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','reconnect','find','data','off','addToReconnectionStack','startsWith','getMany','_bufferedRequests','add','init','catch','_fetchMissingUsersForThreads','type','state','30oIyQzp','suggestionUpdated','_waitForServiceReady','requires','addSuggestionData','2037oUcUjV','get','size','delete','getUser','connect','config','TrackChangesService','values','adapter','plugins','open','set','from','pluginName','listenTo','CloudServicesTrackChangesAdapter','addUser','collaboration.channelId','editor','_saved','79064TPWjYf','hasSuggestion','59154zFILPA','update','isPremiumPlugin','originalSuggestionId','TrackChangesEditing','484YWmwFP','cloud-services-internal-error:\x20Not\x20connected.','message','790449wGIdln','_trackChangesService','173789TTkmUv','getSuggestion','attributes'];_0x3805=function(){return _0x4c7b35;};return _0x3805();}import{Users as _0x580186}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x35e978{static [_0x4ddb6d(0x17b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x154b18)());[_0x4ddb6d(0x168)];[_0x4ddb6d(0x155)];static get[_0x4ddb6d(0x172)](){const _0x38faf5=_0x4ddb6d;return[_0x297a81,_0x38faf5(0x150),_0x4480b6];}static get[_0x4ddb6d(0x182)](){const _0x21b041=_0x4ddb6d;return _0x21b041(0x184);}static get[_0x4ddb6d(0x15b)](){return!0x0;}static get[_0x4ddb6d(0x14e)](){return!0x0;}constructor(_0x4de458){const _0x36a26d=_0x4ddb6d;super(_0x4de458);const _0x266f20=this[_0x36a26d(0x148)][_0x36a26d(0x17a)][_0x36a26d(0x175)](_0x36a26d(0x147));this[_0x36a26d(0x168)]=new Map(),this[_0x36a26d(0x155)]=new m[(_0x36a26d(0x17b))](_0x266f20);}[_0x4ddb6d(0x16a)](){const _0x49d101=_0x4ddb6d,_0x2593a1=this[_0x49d101(0x148)][_0x49d101(0x17e)][_0x49d101(0x175)](_0x4480b6),_0x253df0=this[_0x49d101(0x148)][_0x49d101(0x17e)][_0x49d101(0x175)](_0x49d101(0x150));return _0x253df0[_0x49d101(0x17d)]={'getSuggestion':async _0x172e93=>{const _0x4359d6=_0x49d101;await this[_0x4359d6(0x171)]();const _0x536e74=await this[_0x4359d6(0x155)][_0x4359d6(0x175)](_0x172e93)[_0x4359d6(0x16b)](Y);return await this[_0x4359d6(0x16c)]([_0x536e74]),_0x536e74;},'addSuggestion':async({id:_0x19d140,type:_0x4d8234,data:_0x5014bd,originalSuggestionId:_0x364fd1,attributes:_0x4d9fda})=>{const _0x51d450=_0x49d101;await this[_0x51d450(0x171)]();const _0x55625c={'id':_0x19d140,'type':_0x4d8234,'data':_0x5014bd,'originalSuggestionId':_0x364fd1,'attributes':_0x4d9fda},_0x3a185f=await this[_0x51d450(0x155)][_0x51d450(0x169)](_0x19d140,_0x4d8234,_0x5014bd,_0x364fd1,_0x4d9fda)[_0x51d450(0x16b)](_0x2e1fd1=>{if(Z(_0x2e1fd1))return new Promise(_0x2db64b=>{const _0x13b05f=_0x57e4;this[_0x13b05f(0x168)][_0x13b05f(0x180)](_0x19d140,{'resolve':_0x2db64b,'suggestionData':_0x55625c});});throw _0x2e1fd1;});return this[_0x51d450(0x168)][_0x51d450(0x177)](_0x19d140),_0x3a185f;},'updateSuggestion':async(_0x208de5,_0x3d5dd5)=>{const _0xd2c74f=_0x49d101;if(await this[_0xd2c74f(0x171)](),_0xd2c74f(0x17f)!==_0x3d5dd5[_0xd2c74f(0x16e)])return this[_0xd2c74f(0x155)][_0xd2c74f(0x14d)](_0x208de5,_0x3d5dd5)[_0xd2c74f(0x16b)](Y);}},this[_0x49d101(0x183)](this[_0x49d101(0x155)],_0x49d101(0x170),(_0x39e244,_0xcdda4d)=>{const _0x404361=_0x49d101;_0x253df0[_0x404361(0x14b)](_0xcdda4d['id'])&&(_0x253df0[_0x404361(0x157)](_0xcdda4d['id'])[_0x404361(0x158)]=_0xcdda4d[_0x404361(0x158)]);}),this[_0x49d101(0x155)][_0x49d101(0x179)](_0x2593a1[_0x49d101(0x15a)])[_0x49d101(0x159)](_0x25591d=>(_0x2593a1[_0x49d101(0x165)](this),this[_0x49d101(0x16c)](_0x25591d)[_0x49d101(0x159)](()=>{const _0x4caf0b=_0x49d101;for(const _0x5a9479 of _0x25591d){_0x253df0[_0x4caf0b(0x173)](_0x5a9479)[_0x4caf0b(0x149)]=!0x0;}})));}async[_0x4ddb6d(0x161)](){const _0x375d29=_0x4ddb6d,_0x306e88=this[_0x375d29(0x148)][_0x375d29(0x17e)][_0x375d29(0x175)](_0x375d29(0x150)),{connection:_0x8549be}=this[_0x375d29(0x148)][_0x375d29(0x17e)][_0x375d29(0x175)](_0x4480b6),_0x3eefee=await this[_0x375d29(0x155)][_0x375d29(0x179)](_0x8549be);await this[_0x375d29(0x16c)](_0x3eefee);for(const {suggestionData:_0x5f126c,resolve:_0x2a39fd}of this[_0x375d29(0x168)][_0x375d29(0x17c)]()){let _0x518279=_0x3eefee[_0x375d29(0x162)](_0x1efd73=>_0x1efd73['id']===_0x5f126c['id']);_0x518279||(_0x518279=await this[_0x375d29(0x155)][_0x375d29(0x169)](_0x5f126c['id'],_0x5f126c[_0x375d29(0x16d)],_0x5f126c[_0x375d29(0x163)],_0x5f126c[_0x375d29(0x14f)])),_0x2a39fd(_0x518279);}for(const _0x20d906 of _0x3eefee)_0x306e88[_0x375d29(0x14b)](_0x20d906['id'])||_0x306e88[_0x375d29(0x173)](_0x20d906);}async[_0x4ddb6d(0x171)](){const _0xf034ce=_0x4ddb6d;this[_0xf034ce(0x155)][_0xf034ce(0x160)]||await new Promise(_0x2570e9=>{const _0x4db3cc=_0xf034ce;this[_0x4db3cc(0x183)](this[_0x4db3cc(0x155)],_0x4db3cc(0x15d),_0x4c0264=>{const _0x96412d=_0x4db3cc;_0x4c0264[_0x96412d(0x164)](),_0x2570e9();});});}async[_0x4ddb6d(0x16c)](_0x20e288){const _0x315974=_0x4ddb6d,_0x1d78da=this[_0x315974(0x148)][_0x315974(0x17e)][_0x315974(0x175)](_0x580186),{connection:_0x440f09}=this[_0x315974(0x148)][_0x315974(0x17e)][_0x315974(0x175)](_0x4480b6),_0x420990=new Set();for(const {authorId:_0x2b4ae2}of _0x20e288)_0x1d78da[_0x315974(0x178)](_0x2b4ae2)||_0x420990[_0x315974(0x169)](_0x2b4ae2);if(0x0===_0x420990[_0x315974(0x176)])return;const _0x3cfd9f=await _0x8f259[_0x315974(0x167)](_0x440f09,Array[_0x315974(0x181)](_0x420990));for(const _0x4bc8a6 of _0x3cfd9f)_0x1d78da[_0x315974(0x178)](_0x4bc8a6['id'])||_0x1d78da[_0x315974(0x185)](_0x4bc8a6);}}export{m as CloudServicesTrackChangesAdapter};function Y(_0x5970ac){if(Z(_0x5970ac))return new Promise(()=>{});throw _0x5970ac;}function Z(_0x5bd9ab){const _0x790da3=_0x4ddb6d;return _0x5bd9ab[_0x790da3(0x153)][_0x790da3(0x166)](_0x790da3(0x152))||_0x5bd9ab[_0x790da3(0x153)][_0x790da3(0x166)](_0x790da3(0x15f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x309fa8=_0x3148;(function(_0x414c2d,_0x43e2ae){var _0x13580e=_0x3148,_0x5c443a=_0x414c2d();while(!![]){try{var _0x2dbd57=parseInt(_0x13580e(0x12e))/0x1+-parseInt(_0x13580e(0x12d))/0x2+-parseInt(_0x13580e(0x12a))/0x3+-parseInt(_0x13580e(0x125))/0x4+parseInt(_0x13580e(0x132))/0x5+parseInt(_0x13580e(0x131))/0x6*(parseInt(_0x13580e(0x12c))/0x7)+-parseInt(_0x13580e(0x130))/0x8;if(_0x2dbd57===_0x43e2ae)break;else _0x5c443a['push'](_0x5c443a['shift']());}catch(_0x576465){_0x5c443a['push'](_0x5c443a['shift']());}}}(_0x1657,0xa7782));function _0x3148(_0x2a05f1,_0x23032d){var _0x1657ea=_0x1657();return _0x3148=function(_0x31480,_0x4104a6){_0x31480=_0x31480-0x125;var _0x246280=_0x1657ea[_0x31480];return _0x246280;},_0x3148(_0x2a05f1,_0x23032d);}import{Plugin as _0x21859a}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x252e8c}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x1b2c6c}from'./realtimecollaborativecomments.js';function _0x1657(){var _0x1e4f93=['1517720flZzXv','pluginName','requires','isOfficialPlugin','RealTimeCollaborativeTrackChanges','1217127ebdpDH','TrackChanges','550949odMkgO','2540190gTmOhp','1088117dOjSmk','isPremiumPlugin','1776984RLeaXy','84dbrkoi','3866480YJoiDO'];_0x1657=function(){return _0x1e4f93;};return _0x1657();}export class RealTimeCollaborativeTrackChanges extends _0x21859a{static get[_0x309fa8(0x127)](){var _0x515bec=_0x309fa8;return[_0x1b2c6c,_0x252e8c,_0x515bec(0x12b)];}static get[_0x309fa8(0x126)](){var _0x2365e4=_0x309fa8;return _0x2365e4(0x129);}static get[_0x309fa8(0x128)](){return!0x0;}static get[_0x309fa8(0x12f)](){return!0x0;}}
23
+ var _0x111774=_0x42d4;(function(_0x2bed16,_0x30501d){var _0x5cc974=_0x42d4,_0x23066b=_0x2bed16();while(!![]){try{var _0x50ff38=-parseInt(_0x5cc974(0x156))/0x1+-parseInt(_0x5cc974(0x15c))/0x2*(-parseInt(_0x5cc974(0x14f))/0x3)+-parseInt(_0x5cc974(0x157))/0x4*(-parseInt(_0x5cc974(0x152))/0x5)+-parseInt(_0x5cc974(0x155))/0x6*(-parseInt(_0x5cc974(0x153))/0x7)+parseInt(_0x5cc974(0x158))/0x8+-parseInt(_0x5cc974(0x150))/0x9*(parseInt(_0x5cc974(0x14e))/0xa)+-parseInt(_0x5cc974(0x151))/0xb;if(_0x50ff38===_0x30501d)break;else _0x23066b['push'](_0x23066b['shift']());}catch(_0x4436ba){_0x23066b['push'](_0x23066b['shift']());}}}(_0x513a,0xe292a));function _0x513a(){var _0x1c6db1=['4DXihJs','12371984NfvMdv','pluginName','requires','isOfficialPlugin','77838xBKbaL','TrackChanges','RealTimeCollaborativeTrackChanges','47360JRQMuR','87hHCqsW','720mYAFCB','25362458IDVGWW','6353055mUhwrd','658zbTusV','isPremiumPlugin','654GCPmca','343406kWQSDs'];_0x513a=function(){return _0x1c6db1;};return _0x513a();}function _0x42d4(_0x1c8700,_0x14c430){var _0x513a30=_0x513a();return _0x42d4=function(_0x42d4a9,_0x142636){_0x42d4a9=_0x42d4a9-0x14e;var _0x5ae0d5=_0x513a30[_0x42d4a9];return _0x5ae0d5;},_0x42d4(_0x1c8700,_0x14c430);}import{Plugin as _0x6bba65}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0xd13975}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5de8fe}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x6bba65{static get[_0x111774(0x15a)](){var _0x275b3e=_0x111774;return[_0x5de8fe,_0xd13975,_0x275b3e(0x15d)];}static get[_0x111774(0x159)](){var _0x4b45c1=_0x111774;return _0x4b45c1(0x15e);}static get[_0x111774(0x15b)](){return!0x0;}static get[_0x111774(0x154)](){return!0x0;}}