@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.0 → 47.0.0-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 +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 _0x550a9c=_0xb24d;(function(_0x5d17f4,_0x410b6c){const _0x526ee2=_0xb24d,_0xfacfa4=_0x5d17f4();while(!![]){try{const _0x5e87e5=parseInt(_0x526ee2(0xe3))/0x1*(parseInt(_0x526ee2(0xff))/0x2)+-parseInt(_0x526ee2(0x11a))/0x3+parseInt(_0x526ee2(0x111))/0x4*(parseInt(_0x526ee2(0xef))/0x5)+parseInt(_0x526ee2(0x119))/0x6*(parseInt(_0x526ee2(0x124))/0x7)+parseInt(_0x526ee2(0xee))/0x8+-parseInt(_0x526ee2(0x117))/0x9+parseInt(_0x526ee2(0xec))/0xa*(-parseInt(_0x526ee2(0x10b))/0xb);if(_0x5e87e5===_0x410b6c)break;else _0xfacfa4['push'](_0xfacfa4['shift']());}catch(_0x52ecad){_0xfacfa4['push'](_0xfacfa4['shift']());}}}(_0x181e,0xd3e09));import{ContextPlugin as _0x2693c2}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x45470a,CKEditorError as _0x406b5c}from'ckeditor5/src/utils.js';function _0xb24d(_0x54129a,_0x17b7c4){const _0x181e2e=_0x181e();return _0xb24d=function(_0xb24d9f,_0x4eda13){_0xb24d9f=_0xb24d9f-0xe0;let _0xc4fd40=_0x181e2e[_0xb24d9f];return _0xc4fd40;},_0xb24d(_0x54129a,_0x17b7c4);}import{WebSocketGateway as _0x3d97a4,WEB_SOCKET_GATEWAY_STATES as _0x2301d3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x5431fc}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x2693c2{static [_0x550a9c(0xf0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3d97a4)());static [_0x550a9c(0x10f)]=0x3e8;[_0x550a9c(0x112)];[_0x550a9c(0x105)];[_0x550a9c(0x11e)];[_0x550a9c(0xe6)];static get[_0x550a9c(0xfe)](){const _0x4081ec=_0x550a9c;return[_0x4081ec(0xe2),_0x5431fc];}static get[_0x550a9c(0x122)](){const _0x58d479=_0x550a9c;return _0x58d479(0xf0);}static get[_0x550a9c(0x100)](){return!0x0;}static get[_0x550a9c(0xf3)](){return!0x0;}constructor(_0x27389c){const _0x451a2d=_0x550a9c;super(_0x27389c),this[_0x451a2d(0x125)](_0x451a2d(0x103),_0x2301d3[_0x451a2d(0x101)]),this[_0x451a2d(0x125)](_0x451a2d(0xfd),!0x1),this[_0x451a2d(0x105)]=new Set(),this[_0x451a2d(0x11e)]=!0x1,this[_0x451a2d(0xe6)]=new(_0x45470a())();}[_0x550a9c(0x129)](){const _0x43f91f=_0x550a9c,_0x594aea=this[_0x43f91f(0x11b)],_0x5944c8=_0x594aea[_0x43f91f(0xfc)][_0x43f91f(0xed)](_0x43f91f(0xe2)),_0x225e0e=_0x594aea[_0x43f91f(0xfc)][_0x43f91f(0xed)](_0x5431fc);if(!_0x5944c8[_0x43f91f(0x11c)])throw new _0x406b5c(_0x43f91f(0xe7),this);if(!_0x5944c8[_0x43f91f(0x10c)])throw new _0x406b5c(_0x43f91f(0x104),this);return this[_0x43f91f(0xe6)][_0x43f91f(0xfb)](window,_0x43f91f(0xf9),()=>this[_0x43f91f(0xfd)]=!0x0),this[_0x43f91f(0xe6)][_0x43f91f(0xfb)](window,_0x43f91f(0xe8),()=>this[_0x43f91f(0xfd)]=!0x1),this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xe5)](_0x43f91f(0xe4),0xa),this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xe5)](_0x43f91f(0x107),0x14),WebSocketGateway[_0x43f91f(0xf0)][_0x43f91f(0x110)](_0x5944c8[_0x43f91f(0x11c)],_0x5944c8[_0x43f91f(0x10c)],{'timeout':0x3e8*this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xed)](_0x43f91f(0xe4)),'requestTimeout':0x3e8*this[_0x43f91f(0x11b)][_0x43f91f(0x108)][_0x43f91f(0xed)](_0x43f91f(0x107))})[_0x43f91f(0x109)](_0x5efc79=>{const _0x2a6c9f=_0x43f91f;if(this[_0x2a6c9f(0x112)]=_0x5efc79,this[_0x2a6c9f(0x121)](_0x2a6c9f(0x103))['to'](_0x5efc79,_0x2a6c9f(0x103),this,_0x2a6c9f(0xfd),(_0x23a297,_0x572f58)=>(_0x2a6c9f(0x118)!==_0x23a297&&(this[_0x2a6c9f(0x11e)]=!0x0),_0x572f58||_0x23a297!==_0x2301d3[_0x2a6c9f(0x101)]?_0x2301d3[_0x2a6c9f(0x126)]:this[_0x2a6c9f(0x103)]==_0x2301d3[_0x2a6c9f(0x126)]&&this[_0x2a6c9f(0x11e)]?(this[_0x2a6c9f(0x11e)]=!0x1,this[_0x2a6c9f(0x114)](),_0x2301d3[_0x2a6c9f(0x128)]):_0x2301d3[_0x2a6c9f(0x101)])),this[_0x2a6c9f(0x112)]['on'](_0x2a6c9f(0x116),(_0x595e71,_0x41b573)=>{const _0x15f94a=_0x2a6c9f;if(_0x15f94a(0xfa)!==_0x41b573[_0x15f94a(0xf4)])throw console[_0x15f94a(0x116)](_0x41b573),new _0x406b5c(_0x15f94a(0x115),null,{'originalError':_0x41b573});_0x225e0e[_0x15f94a(0x123)](_0x15f94a(0xf7),{'title':_0x15f94a(0xf6),'namespace':_0x15f94a(0xf2)});}),!_0x5efc79['me'])return new Promise(_0x3d0737=>_0x5efc79['on'](_0x2a6c9f(0xe1),_0x3d0737));})[_0x43f91f(0x102)](_0x502017=>{const _0x3491c8=_0x43f91f;throw console[_0x3491c8(0x116)](_0x502017),new _0x406b5c(_0x3491c8(0x115),null,{'originalError':_0x502017});});}[_0x550a9c(0xeb)](_0x17a612){const _0x39ae0f=_0x550a9c;if(_0x39ae0f(0xe0)!=typeof _0x17a612[_0x39ae0f(0x12a)])throw new _0x406b5c(_0x39ae0f(0xf5),this);if(this[_0x39ae0f(0xe9)](_0x17a612))throw new _0x406b5c(_0x39ae0f(0xea),this,{'name':_0x17a612[_0x39ae0f(0x106)][_0x39ae0f(0x122)]});this[_0x39ae0f(0x105)][_0x39ae0f(0x11f)](_0x17a612);}[_0x550a9c(0xf8)](_0x5ebc91){const _0x156479=_0x550a9c;this[_0x156479(0x105)][_0x156479(0x10d)](_0x5ebc91);}[_0x550a9c(0xe9)](_0x1e2239){const _0x66742b=_0x550a9c;return this[_0x66742b(0x105)][_0x66742b(0x113)](_0x1e2239);}[_0x550a9c(0x114)](){const _0x545e5a=_0x550a9c;return this[_0x545e5a(0x112)][_0x545e5a(0x12a)]()[_0x545e5a(0x109)](()=>Promise[_0x545e5a(0x127)](Array[_0x545e5a(0xf1)](this[_0x545e5a(0x105)],_0x4cdabd=>_0x4cdabd[_0x545e5a(0x12a)]())))[_0x545e5a(0x109)](()=>this[_0x545e5a(0x103)]=_0x2301d3[_0x545e5a(0x101)])[_0x545e5a(0x102)](_0x3981a4=>{const _0x421cba=_0x545e5a;throw console[_0x421cba(0x116)](_0x3981a4),new _0x406b5c(_0x421cba(0x10e),this[_0x421cba(0x11b)]);});}[_0x550a9c(0x10a)](){const _0xa6fb28=_0x550a9c;this[_0xa6fb28(0x112)]&&this[_0xa6fb28(0x112)][_0xa6fb28(0x10a)](),this[_0xa6fb28(0x103)]=_0x2301d3[_0xa6fb28(0x126)],this[_0xa6fb28(0xe6)][_0xa6fb28(0x120)]();}[_0x550a9c(0x11d)](){const _0x1fc7bb=_0x550a9c;this[_0x1fc7bb(0x10a)](),super[_0x1fc7bb(0x11d)]();}}function _0x181e(){const _0x235f7b=['delete','cloudservices-reconnection-error','initialReconnectionInterval','connect','854800ujoYXY','connection','has','_reconnect','cloudservices-init','error','5082363MlgIKr','connected','6SCtDXu','3772623forkXu','context','token','destroy','_shouldPluginsReconnect','add','stopListening','bind','pluginName','showWarning','973672NVBlgj','set','DISCONNECTED','all','CONNECTING','init','reconnect','function','change:me','CloudServices','29462hIciBd','cloudServices.connectionTimeout','define','_domEmitter','websocketgateway-missing-token','online','isInReconnectionStack','websocketgateway-plugin-already-registered','addToReconnectionStack','500XwrcIK','get','7676584iGmwXU','30kTSxNw','WebSocketGateway','from','real-time-collaboration','isPremiumPlugin','code','websocketgateway-invalid-plugin-interface','Connected\x20users\x20limit\x20exceeded','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.','removeFromReconnectionStack','offline','limitExceeded','listenTo','plugins','_isBrowserOffline','requires','88PQAGvg','isOfficialPlugin','CONNECTED','catch','state','websocketgateway-missing-websocket-url','_reconnectionStack','constructor','cloudServices.requestTimeout','config','then','disconnect','217162yjQsiC','webSocketUrl'];_0x181e=function(){return _0x235f7b;};return _0x181e();}
23
+ const _0x5a1d1c=_0x52bb;(function(_0xef1622,_0x213626){const _0xb41041=_0x52bb,_0x155c7c=_0xef1622();while(!![]){try{const _0x161ac0=parseInt(_0xb41041(0x190))/0x1+-parseInt(_0xb41041(0x1a1))/0x2+parseInt(_0xb41041(0x1b6))/0x3+-parseInt(_0xb41041(0x1af))/0x4*(parseInt(_0xb41041(0x195))/0x5)+-parseInt(_0xb41041(0x1a7))/0x6*(parseInt(_0xb41041(0x1a5))/0x7)+-parseInt(_0xb41041(0x1a6))/0x8*(-parseInt(_0xb41041(0x1ac))/0x9)+parseInt(_0xb41041(0x1c4))/0xa*(parseInt(_0xb41041(0x1b3))/0xb);if(_0x161ac0===_0x213626)break;else _0x155c7c['push'](_0x155c7c['shift']());}catch(_0x1101c6){_0x155c7c['push'](_0x155c7c['shift']());}}}(_0x1990,0x5e062));function _0x52bb(_0x7201ec,_0x401089){const _0x1990dc=_0x1990();return _0x52bb=function(_0x52bb15,_0x18aa65){_0x52bb15=_0x52bb15-0x17d;let _0x1aefce=_0x1990dc[_0x52bb15];return _0x1aefce;},_0x52bb(_0x7201ec,_0x401089);}import{ContextPlugin as _0x131caf}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2f1c49,CKEditorError as _0x748b99}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3393da,WEB_SOCKET_GATEWAY_STATES as _0x44cc52}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1990(){const _0x10734d=['324775JsLqUg','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.','define','code','websocketgateway-missing-token','3507765BdJsWu','stopListening','add','constructor','bind','limitExceeded','websocketgateway-missing-websocket-url','set','websocketgateway-invalid-plugin-interface','reconnect','isOfficialPlugin','showWarning','1120734JrJXnw','CONNECTING','cloudservices-init','WebSocketGateway','196yhwVhK','16pspLbn','98784LyfZXe','destroy','error','connect','cloudservices-reconnection-error','3188637PXXcEZ','_reconnect','get','4yXSmhv','cloudServices.connectionTimeout','requires','all','77vDCmvO','function','real-time-collaboration','1118412rzpaKN','_domEmitter','state','change:me','delete','CONNECTED','DISCONNECTED','isInReconnectionStack','_shouldPluginsReconnect','from','_reconnectionStack','Connected\x20users\x20limit\x20exceeded','has','init','1002670MlLhes','token','catch','connection','context','offline','listenTo','CloudServices','isPremiumPlugin','initialReconnectionInterval','then','online','addToReconnectionStack','pluginName','webSocketUrl','cloudServices.requestTimeout','websocketgateway-plugin-already-registered','config','disconnect','connected','_isBrowserOffline','plugins','removeFromReconnectionStack'];_0x1990=function(){return _0x10734d;};return _0x1990();}import{Notification as _0x5364b5}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x131caf{static [_0x5a1d1c(0x1a4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3393da)());static [_0x5a1d1c(0x182)]=0x3e8;[_0x5a1d1c(0x1c7)];[_0x5a1d1c(0x1c0)];[_0x5a1d1c(0x1be)];[_0x5a1d1c(0x1b7)];static get[_0x5a1d1c(0x1b1)](){const _0x52145d=_0x5a1d1c;return[_0x52145d(0x180),_0x5364b5];}static get[_0x5a1d1c(0x186)](){const _0xc0093d=_0x5a1d1c;return _0xc0093d(0x1a4);}static get[_0x5a1d1c(0x19f)](){return!0x0;}static get[_0x5a1d1c(0x181)](){return!0x0;}constructor(_0x4c1bb){const _0x2710f5=_0x5a1d1c;super(_0x4c1bb),this[_0x2710f5(0x19c)](_0x2710f5(0x1b8),_0x44cc52[_0x2710f5(0x1bb)]),this[_0x2710f5(0x19c)](_0x2710f5(0x18d),!0x1),this[_0x2710f5(0x1c0)]=new Set(),this[_0x2710f5(0x1be)]=!0x1,this[_0x2710f5(0x1b7)]=new(_0x2f1c49())();}[_0x5a1d1c(0x1c3)](){const _0x589af7=_0x5a1d1c,_0x471f47=this[_0x589af7(0x17d)],_0x13c7da=_0x471f47[_0x589af7(0x18e)][_0x589af7(0x1ae)](_0x589af7(0x180)),_0x573d9a=_0x471f47[_0x589af7(0x18e)][_0x589af7(0x1ae)](_0x5364b5);if(!_0x13c7da[_0x589af7(0x1c5)])throw new _0x748b99(_0x589af7(0x194),this);if(!_0x13c7da[_0x589af7(0x187)])throw new _0x748b99(_0x589af7(0x19b),this);return this[_0x589af7(0x1b7)][_0x589af7(0x17f)](window,_0x589af7(0x17e),()=>this[_0x589af7(0x18d)]=!0x0),this[_0x589af7(0x1b7)][_0x589af7(0x17f)](window,_0x589af7(0x184),()=>this[_0x589af7(0x18d)]=!0x1),this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x192)](_0x589af7(0x1b0),0xa),this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x192)](_0x589af7(0x188),0x14),WebSocketGateway[_0x589af7(0x1a4)][_0x589af7(0x1aa)](_0x13c7da[_0x589af7(0x1c5)],_0x13c7da[_0x589af7(0x187)],{'timeout':0x3e8*this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x1ae)](_0x589af7(0x1b0)),'requestTimeout':0x3e8*this[_0x589af7(0x17d)][_0x589af7(0x18a)][_0x589af7(0x1ae)](_0x589af7(0x188))})[_0x589af7(0x183)](_0x2fbb1a=>{const _0x26fb16=_0x589af7;if(this[_0x26fb16(0x1c7)]=_0x2fbb1a,this[_0x26fb16(0x199)](_0x26fb16(0x1b8))['to'](_0x2fbb1a,_0x26fb16(0x1b8),this,_0x26fb16(0x18d),(_0x45fdc2,_0x22edbb)=>(_0x26fb16(0x18c)!==_0x45fdc2&&(this[_0x26fb16(0x1be)]=!0x0),_0x22edbb||_0x45fdc2!==_0x44cc52[_0x26fb16(0x1bb)]?_0x44cc52[_0x26fb16(0x1bc)]:this[_0x26fb16(0x1b8)]==_0x44cc52[_0x26fb16(0x1bc)]&&this[_0x26fb16(0x1be)]?(this[_0x26fb16(0x1be)]=!0x1,this[_0x26fb16(0x1ad)](),_0x44cc52[_0x26fb16(0x1a2)]):_0x44cc52[_0x26fb16(0x1bb)])),this[_0x26fb16(0x1c7)]['on'](_0x26fb16(0x1a9),(_0x3af371,_0xd5cd96)=>{const _0x286f53=_0x26fb16;if(_0x286f53(0x19a)!==_0xd5cd96[_0x286f53(0x193)])throw console[_0x286f53(0x1a9)](_0xd5cd96),new _0x748b99(_0x286f53(0x1a3),null,{'originalError':_0xd5cd96});_0x573d9a[_0x286f53(0x1a0)](_0x286f53(0x191),{'title':_0x286f53(0x1c1),'namespace':_0x286f53(0x1b5)});}),!_0x2fbb1a['me'])return new Promise(_0x47b859=>_0x2fbb1a['on'](_0x26fb16(0x1b9),_0x47b859));})[_0x589af7(0x1c6)](_0x3c86ce=>{const _0x10bda5=_0x589af7;throw console[_0x10bda5(0x1a9)](_0x3c86ce),new _0x748b99(_0x10bda5(0x1a3),null,{'originalError':_0x3c86ce});});}[_0x5a1d1c(0x185)](_0x3346a1){const _0x1f95ea=_0x5a1d1c;if(_0x1f95ea(0x1b4)!=typeof _0x3346a1[_0x1f95ea(0x19e)])throw new _0x748b99(_0x1f95ea(0x19d),this);if(this[_0x1f95ea(0x1bd)](_0x3346a1))throw new _0x748b99(_0x1f95ea(0x189),this,{'name':_0x3346a1[_0x1f95ea(0x198)][_0x1f95ea(0x186)]});this[_0x1f95ea(0x1c0)][_0x1f95ea(0x197)](_0x3346a1);}[_0x5a1d1c(0x18f)](_0x1b9418){const _0x436cde=_0x5a1d1c;this[_0x436cde(0x1c0)][_0x436cde(0x1ba)](_0x1b9418);}[_0x5a1d1c(0x1bd)](_0x15482a){const _0x23d8f1=_0x5a1d1c;return this[_0x23d8f1(0x1c0)][_0x23d8f1(0x1c2)](_0x15482a);}[_0x5a1d1c(0x1ad)](){const _0x229c38=_0x5a1d1c;return this[_0x229c38(0x1c7)][_0x229c38(0x19e)]()[_0x229c38(0x183)](()=>Promise[_0x229c38(0x1b2)](Array[_0x229c38(0x1bf)](this[_0x229c38(0x1c0)],_0x3eb1e0=>_0x3eb1e0[_0x229c38(0x19e)]())))[_0x229c38(0x183)](()=>this[_0x229c38(0x1b8)]=_0x44cc52[_0x229c38(0x1bb)])[_0x229c38(0x1c6)](_0x4c88fa=>{const _0xb59293=_0x229c38;throw console[_0xb59293(0x1a9)](_0x4c88fa),new _0x748b99(_0xb59293(0x1ab),this[_0xb59293(0x17d)]);});}[_0x5a1d1c(0x18b)](){const _0x3f9926=_0x5a1d1c;this[_0x3f9926(0x1c7)]&&this[_0x3f9926(0x1c7)][_0x3f9926(0x18b)](),this[_0x3f9926(0x1b8)]=_0x44cc52[_0x3f9926(0x1bc)],this[_0x3f9926(0x1b7)][_0x3f9926(0x196)]();}[_0x5a1d1c(0x1a8)](){const _0x25eec1=_0x5a1d1c;this[_0x25eec1(0x18b)](),super[_0x25eec1(0x1a8)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x536357=_0x135e;(function(_0x31e234,_0x1d5e63){var _0x1641f5=_0x135e,_0x1a39a8=_0x31e234();while(!![]){try{var _0x2a6ba3=-parseInt(_0x1641f5(0x77))/0x1+-parseInt(_0x1641f5(0x6f))/0x2*(-parseInt(_0x1641f5(0x72))/0x3)+-parseInt(_0x1641f5(0x75))/0x4*(-parseInt(_0x1641f5(0x78))/0x5)+-parseInt(_0x1641f5(0x73))/0x6*(-parseInt(_0x1641f5(0x79))/0x7)+-parseInt(_0x1641f5(0x74))/0x8*(-parseInt(_0x1641f5(0x7a))/0x9)+parseInt(_0x1641f5(0x6e))/0xa+-parseInt(_0x1641f5(0x6c))/0xb;if(_0x2a6ba3===_0x1d5e63)break;else _0x1a39a8['push'](_0x1a39a8['shift']());}catch(_0x5dcc9e){_0x1a39a8['push'](_0x1a39a8['shift']());}}}(_0x3ec8,0x6140d));function _0x135e(_0x259a26,_0x3df92e){var _0x3ec8fc=_0x3ec8();return _0x135e=function(_0x135e9a,_0x1e2e6c){_0x135e9a=_0x135e9a-0x6c;var _0x3941d8=_0x3ec8fc[_0x135e9a];return _0x3941d8;},_0x135e(_0x259a26,_0x3df92e);}import{Plugin as _0x4c84a1}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x2737bd}from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x3ec8(){var _0x1ba79e=['26166vAxmCj','10072ZnexlG','7836aPdMZD','RealTimeCollaborativeEditing','405558YHhVWZ','95NyZtAV','455HwysXp','2043TyHiCr','pluginName','3124605VFSMcX','isOfficialPlugin','1338020QFGaRj','23978CsaMeO','requires','isPremiumPlugin','87IRUVMK'];_0x3ec8=function(){return _0x1ba79e;};return _0x3ec8();}export class RealTimeCollaborativeEditing extends _0x4c84a1{static get[_0x536357(0x70)](){return[_0x2737bd];}static get[_0x536357(0x7b)](){var _0xb48555=_0x536357;return _0xb48555(0x76);}static get[_0x536357(0x6d)](){return!0x0;}static get[_0x536357(0x71)](){return!0x0;}}
23
+ function _0x1554(){var _0x1038e7=['2917638qJxLkj','1KuMbgo','pluginName','1667004QXcpji','8OiQlRe','6932023xgTGYP','isOfficialPlugin','60nxxBjm','2964820fmXRby','615822oesgMW','isPremiumPlugin','15iTFRjE','3305137osZFIU','RealTimeCollaborativeEditing','requires','12940299cPWcKf'];_0x1554=function(){return _0x1038e7;};return _0x1554();}var _0x18d822=_0x1c02;(function(_0x4e7e82,_0x11234d){var _0x2a9cbb=_0x1c02,_0x2d9698=_0x4e7e82();while(!![]){try{var _0x59cc59=-parseInt(_0x2a9cbb(0x140))/0x1*(-parseInt(_0x2a9cbb(0x138))/0x2)+parseInt(_0x2a9cbb(0x142))/0x3+parseInt(_0x2a9cbb(0x137))/0x4+-parseInt(_0x2a9cbb(0x13a))/0x5*(parseInt(_0x2a9cbb(0x13f))/0x6)+-parseInt(_0x2a9cbb(0x134))/0x7*(-parseInt(_0x2a9cbb(0x143))/0x8)+parseInt(_0x2a9cbb(0x13e))/0x9+parseInt(_0x2a9cbb(0x136))/0xa*(-parseInt(_0x2a9cbb(0x13b))/0xb);if(_0x59cc59===_0x11234d)break;else _0x2d9698['push'](_0x2d9698['shift']());}catch(_0x1f845e){_0x2d9698['push'](_0x2d9698['shift']());}}}(_0x1554,0xbc4bf));import{Plugin as _0x46de1c}from'ckeditor5/src/core.js';function _0x1c02(_0x248483,_0x16061b){var _0x155434=_0x1554();return _0x1c02=function(_0x1c02f8,_0x1046b4){_0x1c02f8=_0x1c02f8-0x134;var _0x3db4c4=_0x155434[_0x1c02f8];return _0x3db4c4;},_0x1c02(_0x248483,_0x16061b);}import{RealTimeCollaborationClient as _0xd76797}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x46de1c{static get[_0x18d822(0x13d)](){return[_0xd76797];}static get[_0x18d822(0x141)](){var _0x41c068=_0x18d822;return _0x41c068(0x13c);}static get[_0x18d822(0x135)](){return!0x0;}static get[_0x18d822(0x139)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c59e6=_0x4cca;(function(_0x388eaf,_0x42e1fd){const _0x5404bd=_0x4cca,_0x5712d2=_0x388eaf();while(!![]){try{const _0xbcdc0d=-parseInt(_0x5404bd(0x18b))/0x1*(parseInt(_0x5404bd(0x15a))/0x2)+-parseInt(_0x5404bd(0x13a))/0x3*(parseInt(_0x5404bd(0x173))/0x4)+parseInt(_0x5404bd(0x157))/0x5*(parseInt(_0x5404bd(0x134))/0x6)+-parseInt(_0x5404bd(0x183))/0x7*(-parseInt(_0x5404bd(0x172))/0x8)+parseInt(_0x5404bd(0x156))/0x9+parseInt(_0x5404bd(0x198))/0xa+-parseInt(_0x5404bd(0x177))/0xb;if(_0xbcdc0d===_0x42e1fd)break;else _0x5712d2['push'](_0x5712d2['shift']());}catch(_0x3ea892){_0x5712d2['push'](_0x5712d2['shift']());}}}(_0x338f,0xa7181));import{Plugin as _0x1c20eb}from'ckeditor5/src/core.js';import{version as _0x5b0072}from'ckeditor5/src/utils.js';import{Users as _0x5cc4bb}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2799a2}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x338f(){const _0x39f49a=['isEnabled','keys','_startingVersion','cloud-services-internal-error:\x20Request\x20timeout.','connection','97FIcPpl','sessionId','buildRevisionData','collaboration.channelId','authors','isEmptyCurrent','_preventResendingRevisionData','pluginName','_oldOffset','_isPendingUpdate','type','cloudServices.bundleVersion','addRevisionData','8401240qxIqMp','startsWith','_getLatestVersion','CONNECTED','listenTo','_fetchMissingUsers','isBundleUploaded','remove','authorsIds','reconnect','_bufferedUpdates','getOperations','_getLatestVersionFromServerOperations','addToReconnectionStack','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','adapter','change:_isConnected','3844398RbdQzs','reInit','_createCurrentRevision','state','connected','getUser','10365iRvomQ','off','reverse','requires','setSource','RevisionTracker','updateRevisions','_offset','_revisions','400','init','addUser','catch','message','setRevisionData','CloudServicesRevisionHistoryAdapter','creatorId','change:_isPendingUpdate','has','length','sendBufferedUpdates','_waitForServiceReady','once','getRevision','RevisionHistory','marker','then','isConnected','2445021uyEIHE','5VoDDBE','_revisionDataBuilder','serverHistory','4966wcphHh','_isConnected','getMany','config','add','_bufferUpdate','data','_update','_handleReconnectionError','_fixRevision','RevisionHistoryService','size','isPremiumPlugin','_revisionHistoryService','fromVersion','map','_revisionTracker','get','editor','toVersion','affectsData','cloud-services-internal-error:\x20Not\x20connected.','bind','diffData','5080DBHdxM','328tkBZNV','repository','isOfficialPlugin','wrongRequestId','9406078NUIuTP','plugins','_handleRevisionsUpdate','max','connect','destroy','baseVersion','revisionsUpdated','currentRevision','createdAt','_lastRequestId','code','3430NNzcUr','getRevisions','from'];_0x338f=function(){return _0x39f49a;};return _0x338f();}import{WebSocketGateway as _0x34a304}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4cca(_0x46cfb8,_0x259a51){const _0x338f59=_0x338f();return _0x4cca=function(_0x4cca9e,_0x15e271){_0x4cca9e=_0x4cca9e-0x126;let _0x39716b=_0x338f59[_0x4cca9e];return _0x39716b;},_0x4cca(_0x46cfb8,_0x259a51);}import{Sessions as _0x1f0b32}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x483693,RevisionHistoryService as _0x4e02a8,User as _0x1acfa0,WEB_SOCKET_GATEWAY_STATES as _0x3e77cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x1c20eb{static [_0x4c59e6(0x164)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4e02a8)());[_0x4c59e6(0x181)];[_0x4c59e6(0x16a)];[_0x4c59e6(0x167)];[_0x4c59e6(0x193)];static get[_0x4c59e6(0x13d)](){const _0x1fe59e=_0x4c59e6;return[_0x34a304,_0x2799a2,_0x1fe59e(0x152),_0x1f0b32,_0x5cc4bb];}static get[_0x4c59e6(0x192)](){const _0x4aafa9=_0x4c59e6;return _0x4aafa9(0x149);}static get[_0x4c59e6(0x175)](){return!0x0;}static get[_0x4c59e6(0x166)](){return!0x0;}constructor(_0x542674){const _0x427a06=_0x4c59e6;super(_0x542674);const _0x2a3f78=this[_0x427a06(0x16c)][_0x427a06(0x15d)][_0x427a06(0x16b)](_0x427a06(0x18e));this[_0x427a06(0x181)]=null,this[_0x427a06(0x16a)]=this[_0x427a06(0x16c)][_0x427a06(0x178)][_0x427a06(0x16b)](_0x427a06(0x13f)),this[_0x427a06(0x167)]=new CloudServicesRevisionHistoryAdapter[(_0x427a06(0x164))](_0x2a3f78);}async[_0x4c59e6(0x144)](){const _0x19f698=_0x4c59e6,_0x54681f=this[_0x19f698(0x16c)][_0x19f698(0x178)][_0x19f698(0x16b)](_0x2799a2),_0x7d3b8a=_0x54681f[_0x19f698(0x159)],_0x303c7b=this[_0x19f698(0x16c)][_0x19f698(0x178)][_0x19f698(0x16b)](_0x34a304);this[_0x19f698(0x16a)][_0x19f698(0x13e)]({'history':_0x7d3b8a,'getLatestVersion':()=>this[_0x19f698(0x19a)](),'getCurrentRevisionId':()=>_0x54681f[_0x19f698(0x18c)]});const _0xb9f6b4=this[_0x19f698(0x16c)][_0x19f698(0x15d)][_0x19f698(0x16b)](_0x19f698(0x196))||_0x5b0072,_0x40d7fb=await _0x483693[_0x19f698(0x129)](_0x303c7b[_0x19f698(0x18a)],_0xb9f6b4);this[_0x19f698(0x16c)][_0x19f698(0x178)][_0x19f698(0x16b)](_0x19f698(0x152))[_0x19f698(0x132)]={'getRevision':async({revisionId:_0xb7edba})=>(await this[_0x19f698(0x14f)](),await this[_0x19f698(0x167)][_0x19f698(0x151)](_0xb7edba)),'updateRevisions':async _0x2a5fa1=>{const _0x164869=_0x19f698;await this[_0x164869(0x14f)]();const _0x457ea7=this[_0x164869(0x16a)][_0x164869(0x17f)];if(_0x40d7fb&&0x1===_0x2a5fa1[_0x164869(0x14d)]&&_0x2a5fa1[0x0]['id']===_0x457ea7['id'])return _0x2a5fa1;for(const _0x216dbb of _0x2a5fa1)_0x216dbb['id']===_0x457ea7['id']&&(_0x216dbb[_0x164869(0x190)]=_0x216dbb[_0x164869(0x168)]===_0x216dbb[_0x164869(0x16d)]);return this[_0x164869(0x167)][_0x164869(0x140)](_0x2a5fa1,this[_0x164869(0x181)])[_0x164869(0x154)](_0x268ce8=>(this[_0x164869(0x181)]=_0x268ce8,_0x2a5fa1))[_0x164869(0x146)](_0x4ac576=>{const _0x3bef58=_0x164869;if(q(_0x4ac576)||_0x3bef58(0x143)===_0x4ac576[_0x3bef58(0x182)]&&void 0x0!==_0x4ac576[_0x3bef58(0x160)][_0x3bef58(0x176)]){for(const _0xf74628 of _0x2a5fa1){!this[_0x3bef58(0x16a)][_0x3bef58(0x174)][_0x3bef58(0x151)](_0xf74628['id'])||this[_0x3bef58(0x16a)][_0x3bef58(0x15f)](_0xf74628['id'],_0xf74628,!0x1);}if(q(_0x4ac576))throw _0x4ac576;return _0x2a5fa1;}throw _0x4ac576;});}},this[_0x19f698(0x127)](this[_0x19f698(0x167)],_0x19f698(0x17e),(_0x334161,{revisionsData:_0x14426f,requestId:_0xa308cb})=>{const _0x23b5f4=_0x19f698;Math[_0x23b5f4(0x17a)](..._0x14426f[_0x23b5f4(0x169)](_0x91b41a=>_0x91b41a[_0x23b5f4(0x16d)]))>this[_0x23b5f4(0x12f)]()-0x1?this[_0x23b5f4(0x19a)]()[_0x23b5f4(0x154)](()=>{const _0x4e9c09=_0x23b5f4;this[_0x4e9c09(0x179)](_0x14426f,_0xa308cb);}):this[_0x23b5f4(0x179)](_0x14426f,_0xa308cb);});const {revisions:_0x3730f7,requestId:_0x11342a}=await this[_0x19f698(0x167)][_0x19f698(0x17b)](_0x303c7b[_0x19f698(0x18a)]);_0x303c7b[_0x19f698(0x130)](this),this[_0x19f698(0x181)]=_0x11342a,await this[_0x19f698(0x128)](_0x3730f7);for(const _0x549ed9 of _0x3730f7)this[_0x19f698(0x16a)][_0x19f698(0x197)](_0x549ed9);this[_0x19f698(0x127)](_0x54681f,_0x19f698(0x133),(_0x523a5f,_0x3785ab,_0xeaa623)=>{const _0x125802=_0x19f698;_0xeaa623&&(this[_0x125802(0x193)]=_0x54681f[_0x125802(0x141)],_0x523a5f[_0x125802(0x13b)]());}),this[_0x19f698(0x16a)][_0x19f698(0x170)](_0x19f698(0x186))['to'](_0x303c7b,_0x19f698(0x137),_0x179a7d=>_0x179a7d===_0x3e77cb[_0x19f698(0x126)]);}async[_0x4c59e6(0x12c)](){const _0x705e5d=_0x4c59e6,_0x89ffbe=this[_0x705e5d(0x16c)][_0x705e5d(0x178)][_0x705e5d(0x16b)](_0x34a304),_0x471024=this[_0x705e5d(0x16c)][_0x705e5d(0x178)][_0x705e5d(0x16b)](_0x2799a2),_0x39449d=async()=>{const _0x43af7c=_0x705e5d,_0x4fd439=this[_0x43af7c(0x16a)][_0x43af7c(0x17f)],_0x39df87=_0x4fd439['id'],_0x3b04ec=_0x39df87!==_0x471024[_0x43af7c(0x18c)];if(_0x3b04ec){const _0x3935fe=_0x471024[_0x43af7c(0x141)]-this[_0x43af7c(0x193)],_0x203954=this[_0x43af7c(0x12f)]();this[_0x43af7c(0x16a)][_0x43af7c(0x158)][_0x43af7c(0x135)]();if(_0x4fd439[_0x43af7c(0x16d)]+_0x3935fe!==_0x203954){const _0x91ad96=_0x4fd439[_0x43af7c(0x168)]+_0x3935fe,_0x41d930=this[_0x43af7c(0x16c)][_0x43af7c(0x178)][_0x43af7c(0x16b)](_0x5cc4bb),_0x1f71a8=this[_0x43af7c(0x16a)][_0x43af7c(0x18d)]({'revision':_0x4fd439,'from':_0x91ad96,'to':_0x203954});_0x1f71a8['id']=_0x4fd439['id'];const _0x40e27a=_0x1f71a8[_0x43af7c(0x12b)][_0x43af7c(0x169)](_0x44f9ec=>_0x41d930[_0x43af7c(0x139)](_0x44f9ec));_0x4fd439[_0x43af7c(0x161)]({..._0x1f71a8,'authors':_0x40e27a},!0x0),this[_0x43af7c(0x16a)][_0x43af7c(0x15f)](_0x4fd439['id'],_0x1f71a8,!0x0);}this[_0x43af7c(0x16a)][_0x43af7c(0x188)]=_0x203954,(_0x4fd439[_0x43af7c(0x16d)]===_0x4fd439[_0x43af7c(0x168)]&&!this[_0x43af7c(0x16a)][_0x43af7c(0x12d)][_0x43af7c(0x14c)](_0x39df87)&&this[_0x43af7c(0x16a)][_0x43af7c(0x174)][_0x43af7c(0x142)][_0x43af7c(0x12a)](_0x39df87),this[_0x43af7c(0x16a)][_0x43af7c(0x136)](_0x203954));}const {revisions:_0x493717,requestId:_0x6ff17f}=await this[_0x43af7c(0x167)][_0x43af7c(0x12c)](_0x89ffbe[_0x43af7c(0x18a)],this[_0x43af7c(0x181)]);_0x3b04ec&&_0x493717[_0x43af7c(0x14d)]>0x0?_0x471024[_0x43af7c(0x162)]():(await this[_0x43af7c(0x128)](_0x493717),this[_0x43af7c(0x179)](_0x493717,_0x6ff17f),this[_0x43af7c(0x16a)][_0x43af7c(0x14e)]());};return _0x471024[_0x705e5d(0x15b)]?_0x39449d():new Promise((_0x57b5b3,_0x53e5d7)=>{const _0x1dfcad=_0x705e5d;_0x471024[_0x1dfcad(0x150)](_0x1dfcad(0x133),()=>{const _0x29aabb=_0x1dfcad;_0x39449d()[_0x29aabb(0x154)](_0x57b5b3)[_0x29aabb(0x146)](_0x53e5d7);});});}[_0x4c59e6(0x17c)](){const _0x57c8da=_0x4c59e6;super[_0x57c8da(0x17c)]();}async[_0x4c59e6(0x14f)](){const _0x31848b=_0x4c59e6;this[_0x31848b(0x167)][_0x31848b(0x155)]||await new Promise(_0x539647=>{const _0x5988b7=_0x31848b;this[_0x5988b7(0x127)](this[_0x5988b7(0x167)],_0x5988b7(0x138),_0x5dc300=>{const _0x2efbf3=_0x5988b7;_0x5dc300[_0x2efbf3(0x13b)](),_0x539647();});});}[_0x4c59e6(0x12f)](){const _0x1ce833=_0x4c59e6,_0x1cefa9=this[_0x1ce833(0x16c)][_0x1ce833(0x178)][_0x1ce833(0x16b)](_0x2799a2)[_0x1ce833(0x159)][_0x1ce833(0x12e)]()[_0x1ce833(0x13c)]();for(const _0x4ca703 of _0x1cefa9)if(_0x1ce833(0x153)!==_0x4ca703[_0x1ce833(0x195)]||_0x4ca703[_0x1ce833(0x16e)])return _0x4ca703[_0x1ce833(0x17d)]+0x1;}[_0x4c59e6(0x19a)](){const _0x12caca=_0x4c59e6,_0x2dabdf=this[_0x12caca(0x16c)][_0x12caca(0x178)][_0x12caca(0x16b)](_0x2799a2);return new Promise(_0x2b0ec8=>{const _0xec1973=_0x12caca;_0x2dabdf[_0xec1973(0x194)]?_0x2dabdf[_0xec1973(0x150)](_0xec1973(0x14b),()=>{const _0x890513=_0xec1973;_0x2b0ec8(this[_0x890513(0x12f)]());}):_0x2b0ec8(this[_0xec1973(0x12f)]());});}[_0x4c59e6(0x179)](_0x41a4c8,_0x22230e){const _0x7ca82d=_0x4c59e6,_0x1f355b=this[_0x7ca82d(0x16a)][_0x7ca82d(0x174)];this[_0x7ca82d(0x181)]=_0x22230e;for(const _0xd3f6f4 of _0x41a4c8){const _0x495e20=_0x1f355b[_0x7ca82d(0x151)](_0xd3f6f4['id']);if(_0x495e20){if((_0xd3f6f4[_0x7ca82d(0x168)]||_0xd3f6f4[_0x7ca82d(0x16d)])&&(_0xd3f6f4[_0x7ca82d(0x171)]=null),_0x495e20===this[_0x7ca82d(0x16a)][_0x7ca82d(0x17f)]){const _0x444586=Math[_0x7ca82d(0x17a)](_0x495e20[_0x7ca82d(0x16d)],_0xd3f6f4[_0x7ca82d(0x16d)]),_0x2aeb4d=Math[_0x7ca82d(0x17a)](_0x495e20[_0x7ca82d(0x168)],_0xd3f6f4[_0x7ca82d(0x168)]);let _0xf3a5f2;_0x495e20[_0x7ca82d(0x16d)]===_0xd3f6f4[_0x7ca82d(0x16d)]&&_0x495e20[_0x7ca82d(0x168)]===_0xd3f6f4[_0x7ca82d(0x168)]?(_0xf3a5f2=!0x0,this[_0x7ca82d(0x191)](_0xd3f6f4)):_0xd3f6f4[_0x7ca82d(0x16d)]===_0x444586&&_0xd3f6f4[_0x7ca82d(0x168)]===_0x2aeb4d?_0xf3a5f2=!0x1:(_0x495e20[_0x7ca82d(0x16d)]===_0x444586&&_0x495e20[_0x7ca82d(0x168)]===_0x2aeb4d||this[_0x7ca82d(0x163)]({'revision':_0x495e20,'from':_0x2aeb4d,'to':_0x444586}),_0xf3a5f2=!0x0),_0xf3a5f2&&(delete _0xd3f6f4[_0x7ca82d(0x168)],delete _0xd3f6f4[_0x7ca82d(0x16d)],delete _0xd3f6f4[_0x7ca82d(0x171)],delete _0xd3f6f4[_0x7ca82d(0x180)],delete _0xd3f6f4[_0x7ca82d(0x12b)]);}this[_0x7ca82d(0x16a)][_0x7ca82d(0x148)](_0xd3f6f4),this[_0x7ca82d(0x191)](_0xd3f6f4);}else this[_0x7ca82d(0x16a)][_0x7ca82d(0x197)](_0xd3f6f4);}const _0x2ff79f=_0x1f355b[_0x7ca82d(0x184)]();_0x2ff79f[_0x7ca82d(0x13c)]();for(let _0x4ce395=0x0;_0x4ce395<_0x2ff79f[_0x7ca82d(0x14d)]-0x1;_0x4ce395++){const _0x13ab05=_0x2ff79f[_0x4ce395],_0x2e3c24=_0x2ff79f[_0x4ce395+0x1];if(_0x13ab05[_0x7ca82d(0x168)]<_0x2e3c24[_0x7ca82d(0x16d)]){const _0x1bab5a=_0x2e3c24[_0x7ca82d(0x16d)],_0x4a420d=Math[_0x7ca82d(0x17a)](_0x1bab5a,_0x13ab05[_0x7ca82d(0x16d)]);this[_0x7ca82d(0x163)]({'revision':_0x13ab05,'from':_0x1bab5a,'to':_0x4a420d});}}}[_0x4c59e6(0x163)]({revision:_0x2dab1e,from:_0x3e18dd,to:_0x17b40a}={}){const _0x122e18=_0x4c59e6,_0x54776d=this[_0x122e18(0x16c)][_0x122e18(0x178)][_0x122e18(0x16b)](_0x5cc4bb),_0x3842ad=this[_0x122e18(0x16a)][_0x122e18(0x18d)]({'revision':_0x2dab1e,'from':_0x3e18dd,'to':_0x17b40a});_0x3842ad[_0x122e18(0x18f)]=_0x3842ad[_0x122e18(0x12b)][_0x122e18(0x169)](_0x5a406c=>_0x54776d[_0x122e18(0x139)](_0x5a406c)),_0x2dab1e[_0x122e18(0x161)](_0x3842ad);}[_0x4c59e6(0x191)](_0x419cd6){const _0x2ff46b=_0x4c59e6,_0x432975={};_0x432975['id']=_0x419cd6['id'];for(const _0x3aa2bb of Object[_0x2ff46b(0x187)](_0x419cd6))'id'!==_0x3aa2bb&&(_0x432975[_0x3aa2bb]=void 0x0);this[_0x2ff46b(0x16a)][_0x2ff46b(0x15f)](_0x432975['id'],_0x432975,!0x0);}async[_0x4c59e6(0x128)](_0x8b71a){const _0x34bed7=_0x4c59e6,_0x3aa3c1=this[_0x34bed7(0x16c)][_0x34bed7(0x178)][_0x34bed7(0x16b)](_0x5cc4bb),{connection:_0x42f3f2}=this[_0x34bed7(0x16c)][_0x34bed7(0x178)][_0x34bed7(0x16b)](_0x34a304),_0x20ce7e=new Set();for(const _0xfec4a7 of _0x8b71a){for(const _0x320c39 of _0xfec4a7[_0x34bed7(0x12b)])_0x4a04db(_0x320c39);_0xfec4a7[_0x34bed7(0x14a)]&&_0x4a04db(_0xfec4a7[_0x34bed7(0x14a)]);}if(0x0===_0x20ce7e[_0x34bed7(0x165)])return;const _0x262886=await _0x1acfa0[_0x34bed7(0x15c)](_0x42f3f2,Array[_0x34bed7(0x185)](_0x20ce7e));for(const _0x2b22a0 of _0x262886)_0x3aa3c1[_0x34bed7(0x139)](_0x2b22a0['id'])||_0x3aa3c1[_0x34bed7(0x145)](_0x2b22a0);function _0x4a04db(_0x59b551){const _0x5f2160=_0x34bed7;_0x3aa3c1[_0x5f2160(0x139)](_0x59b551)||_0x20ce7e[_0x5f2160(0x15e)](_0x59b551);}}}function q(_0x310744){const _0x3794a9=_0x4c59e6;return _0x310744[_0x3794a9(0x147)][_0x3794a9(0x199)](_0x3794a9(0x131))||_0x310744[_0x3794a9(0x147)][_0x3794a9(0x199)](_0x3794a9(0x16f))||_0x310744[_0x3794a9(0x147)][_0x3794a9(0x199)](_0x3794a9(0x189));}
23
+ const _0x35fea0=_0xee06;function _0xee06(_0x47545b,_0x1574a1){const _0x3d2f49=_0x3d2f();return _0xee06=function(_0xee06d4,_0x110f44){_0xee06d4=_0xee06d4-0x115;let _0x188275=_0x3d2f49[_0xee06d4];return _0x188275;},_0xee06(_0x47545b,_0x1574a1);}(function(_0x381981,_0x185f5a){const _0x169033=_0xee06,_0xf6ea20=_0x381981();while(!![]){try{const _0x34e8c8=parseInt(_0x169033(0x155))/0x1*(-parseInt(_0x169033(0x17f))/0x2)+parseInt(_0x169033(0x16b))/0x3*(-parseInt(_0x169033(0x168))/0x4)+parseInt(_0x169033(0x15e))/0x5+parseInt(_0x169033(0x12f))/0x6*(-parseInt(_0x169033(0x117))/0x7)+parseInt(_0x169033(0x12a))/0x8*(parseInt(_0x169033(0x128))/0x9)+-parseInt(_0x169033(0x11e))/0xa*(parseInt(_0x169033(0x171))/0xb)+-parseInt(_0x169033(0x14e))/0xc*(-parseInt(_0x169033(0x163))/0xd);if(_0x34e8c8===_0x185f5a)break;else _0xf6ea20['push'](_0xf6ea20['shift']());}catch(_0x25cc17){_0xf6ea20['push'](_0xf6ea20['shift']());}}}(_0x3d2f,0x9f169));import{Plugin as _0x4ef222}from'ckeditor5/src/core.js';import{version as _0x2b5b2d}from'ckeditor5/src/utils.js';import{Users as _0x2419ea}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4ec214}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x8d9d02}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1c7453}from'../realtimecollaborativeediting/sessions.js';function _0x3d2f(){const _0x4df05f=['catch','71JMOgcV','isEmptyCurrent','_isPendingUpdate','_offset','_fetchMissingUsers','bind','_bufferedUpdates','requires','cloudServices.bundleVersion','686745cGhgab','setSource','add','authors','cloud-services-internal-error:\x20Request\x20timeout.','13AoIQLg','init','state','affectsData','max','2388BkisyJ','400','creatorId','987wrdiGk','diffData','sessionId','length','_fixRevision','RevisionHistory','60335zGLMmp','_lastRequestId','getRevision','_oldOffset','collaboration.channelId','then','getOperations','message','remove','config','has','from','reconnect','_preventResendingRevisionData','21542USXtPs','isConnected','isBundleUploaded','createdAt','sendBufferedUpdates','_startingVersion','_getLatestVersionFromServerOperations','baseVersion','serverHistory','isEnabled','getUser','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','_handleRevisionsUpdate','get','8264067IOMziK','change:_isConnected','reInit','RevisionHistoryService','_revisionTracker','addToReconnectionStack','_revisions','350dKNlGS','authorsIds','destroy','repository','startsWith','revisionsUpdated','data','_handleReconnectionError','connection','_revisionHistoryService','18iCZPID','once','2066528hbjJmK','wrongRequestId','_revisionDataBuilder','type','map','6cbIkPB','size','keys','buildRevisionData','RevisionTracker','CONNECTED','CloudServicesRevisionHistoryAdapter','marker','toVersion','adapter','_getLatestVersion','_waitForServiceReady','getMany','_update','isOfficialPlugin','setRevisionData','fromVersion','connect','change:_isPendingUpdate','connected','listenTo','code','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','currentRevision','reverse','pluginName','_bufferUpdate','editor','_isConnected','getRevisions','27976248kLjelb','off','plugins','addUser','_createCurrentRevision','updateRevisions'];_0x3d2f=function(){return _0x4df05f;};return _0x3d2f();}import{EditorService as _0xdef473,RevisionHistoryService as _0x1b4502,User as _0x247f7e,WEB_SOCKET_GATEWAY_STATES as _0xf61f72}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x4ef222{static [_0x35fea0(0x11a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1b4502)());[_0x35fea0(0x172)];[_0x35fea0(0x11b)];[_0x35fea0(0x127)];[_0x35fea0(0x174)];static get[_0x35fea0(0x15c)](){const _0xa92fda=_0x35fea0;return[_0x8d9d02,_0x4ec214,_0xa92fda(0x170),_0x1c7453,_0x2419ea];}static get[_0x35fea0(0x149)](){const _0x1567fa=_0x35fea0;return _0x1567fa(0x135);}static get[_0x35fea0(0x13d)](){return!0x0;}static get[_0x35fea0(0x18a)](){return!0x0;}constructor(_0x3b330e){const _0x668cfb=_0x35fea0;super(_0x3b330e);const _0x17acde=this[_0x668cfb(0x14b)][_0x668cfb(0x17a)][_0x668cfb(0x116)](_0x668cfb(0x175));this[_0x668cfb(0x172)]=null,this[_0x668cfb(0x11b)]=this[_0x668cfb(0x14b)][_0x668cfb(0x150)][_0x668cfb(0x116)](_0x668cfb(0x133)),this[_0x668cfb(0x127)]=new CloudServicesRevisionHistoryAdapter[(_0x668cfb(0x11a))](_0x17acde);}async[_0x35fea0(0x164)](){const _0x2e76ab=_0x35fea0,_0x21d588=this[_0x2e76ab(0x14b)][_0x2e76ab(0x150)][_0x2e76ab(0x116)](_0x4ec214),_0x5473b4=_0x21d588[_0x2e76ab(0x187)],_0x473ed4=this[_0x2e76ab(0x14b)][_0x2e76ab(0x150)][_0x2e76ab(0x116)](_0x8d9d02);this[_0x2e76ab(0x11b)][_0x2e76ab(0x15f)]({'history':_0x5473b4,'getLatestVersion':()=>this[_0x2e76ab(0x139)](),'getCurrentRevisionId':()=>_0x21d588[_0x2e76ab(0x16d)]});const _0x470c81=this[_0x2e76ab(0x14b)][_0x2e76ab(0x17a)][_0x2e76ab(0x116)](_0x2e76ab(0x15d))||_0x2b5b2d,_0x39ee6a=await _0xdef473[_0x2e76ab(0x181)](_0x473ed4[_0x2e76ab(0x126)],_0x470c81);this[_0x2e76ab(0x14b)][_0x2e76ab(0x150)][_0x2e76ab(0x116)](_0x2e76ab(0x170))[_0x2e76ab(0x138)]={'getRevision':async({revisionId:_0xbd87f7})=>(await this[_0x2e76ab(0x13a)](),await this[_0x2e76ab(0x127)][_0x2e76ab(0x173)](_0xbd87f7)),'updateRevisions':async _0x3f4381=>{const _0xf4cc1=_0x2e76ab;await this[_0xf4cc1(0x13a)]();const _0x266f26=this[_0xf4cc1(0x11b)][_0xf4cc1(0x147)];if(_0x39ee6a&&0x1===_0x3f4381[_0xf4cc1(0x16e)]&&_0x3f4381[0x0]['id']===_0x266f26['id'])return _0x3f4381;for(const _0x2f84f7 of _0x3f4381)_0x2f84f7['id']===_0x266f26['id']&&(_0x2f84f7[_0xf4cc1(0x156)]=_0x2f84f7[_0xf4cc1(0x13f)]===_0x2f84f7[_0xf4cc1(0x137)]);return this[_0xf4cc1(0x127)][_0xf4cc1(0x153)](_0x3f4381,this[_0xf4cc1(0x172)])[_0xf4cc1(0x176)](_0x1a0b5b=>(this[_0xf4cc1(0x172)]=_0x1a0b5b,_0x3f4381))[_0xf4cc1(0x154)](_0x437c8d=>{const _0x415833=_0xf4cc1;if(I(_0x437c8d)||_0x415833(0x169)===_0x437c8d[_0x415833(0x144)]&&void 0x0!==_0x437c8d[_0x415833(0x124)][_0x415833(0x12b)]){for(const _0x1ec306 of _0x3f4381){!this[_0x415833(0x11b)][_0x415833(0x121)][_0x415833(0x173)](_0x1ec306['id'])||this[_0x415833(0x11b)][_0x415833(0x14a)](_0x1ec306['id'],_0x1ec306,!0x1);}if(I(_0x437c8d))throw _0x437c8d;return _0x3f4381;}throw _0x437c8d;});}},this[_0x2e76ab(0x143)](this[_0x2e76ab(0x127)],_0x2e76ab(0x123),(_0x3ea434,{revisionsData:_0x30e449,requestId:_0x971fcc})=>{const _0x5720ae=_0x2e76ab;Math[_0x5720ae(0x167)](..._0x30e449[_0x5720ae(0x12e)](_0x503499=>_0x503499[_0x5720ae(0x137)]))>this[_0x5720ae(0x185)]()-0x1?this[_0x5720ae(0x139)]()[_0x5720ae(0x176)](()=>{const _0x1ba4e9=_0x5720ae;this[_0x1ba4e9(0x115)](_0x30e449,_0x971fcc);}):this[_0x5720ae(0x115)](_0x30e449,_0x971fcc);});const {revisions:_0x18c788,requestId:_0x522343}=await this[_0x2e76ab(0x127)][_0x2e76ab(0x140)](_0x473ed4[_0x2e76ab(0x126)]);_0x473ed4[_0x2e76ab(0x11c)](this),this[_0x2e76ab(0x172)]=_0x522343,await this[_0x2e76ab(0x159)](_0x18c788);for(const _0x47d0ec of _0x18c788)this[_0x2e76ab(0x11b)][_0x2e76ab(0x146)](_0x47d0ec);this[_0x2e76ab(0x143)](_0x21d588,_0x2e76ab(0x118),(_0xadff24,_0x25a72a,_0x2b262e)=>{const _0x2261c7=_0x2e76ab;_0x2b262e&&(this[_0x2261c7(0x174)]=_0x21d588[_0x2261c7(0x158)],_0xadff24[_0x2261c7(0x14f)]());}),this[_0x2e76ab(0x11b)][_0x2e76ab(0x15a)](_0x2e76ab(0x188))['to'](_0x473ed4,_0x2e76ab(0x165),_0x2bf244=>_0x2bf244===_0xf61f72[_0x2e76ab(0x134)]);}async[_0x35fea0(0x17d)](){const _0x2fdb16=_0x35fea0,_0xe251b6=this[_0x2fdb16(0x14b)][_0x2fdb16(0x150)][_0x2fdb16(0x116)](_0x8d9d02),_0x2140bd=this[_0x2fdb16(0x14b)][_0x2fdb16(0x150)][_0x2fdb16(0x116)](_0x4ec214),_0x32ad9=async()=>{const _0xe9fe80=_0x2fdb16,_0x21f205=this[_0xe9fe80(0x11b)][_0xe9fe80(0x147)],_0x1d893d=_0x21f205['id'],_0x5b3452=_0x1d893d!==_0x2140bd[_0xe9fe80(0x16d)];if(_0x5b3452){const _0x166767=_0x2140bd[_0xe9fe80(0x158)]-this[_0xe9fe80(0x174)],_0x6aaa39=this[_0xe9fe80(0x185)]();this[_0xe9fe80(0x11b)][_0xe9fe80(0x12c)][_0xe9fe80(0x119)]();if(_0x21f205[_0xe9fe80(0x137)]+_0x166767!==_0x6aaa39){const _0x4a9557=_0x21f205[_0xe9fe80(0x13f)]+_0x166767,_0x11cf46=this[_0xe9fe80(0x14b)][_0xe9fe80(0x150)][_0xe9fe80(0x116)](_0x2419ea),_0x530675=this[_0xe9fe80(0x11b)][_0xe9fe80(0x132)]({'revision':_0x21f205,'from':_0x4a9557,'to':_0x6aaa39});_0x530675['id']=_0x21f205['id'];const _0x3baa64=_0x530675[_0xe9fe80(0x11f)][_0xe9fe80(0x12e)](_0x2561cf=>_0x11cf46[_0xe9fe80(0x189)](_0x2561cf));_0x21f205[_0xe9fe80(0x13c)]({..._0x530675,'authors':_0x3baa64},!0x0),this[_0xe9fe80(0x11b)][_0xe9fe80(0x14a)](_0x21f205['id'],_0x530675,!0x0);}this[_0xe9fe80(0x11b)][_0xe9fe80(0x184)]=_0x6aaa39,(_0x21f205[_0xe9fe80(0x137)]===_0x21f205[_0xe9fe80(0x13f)]&&!this[_0xe9fe80(0x11b)][_0xe9fe80(0x15b)][_0xe9fe80(0x17b)](_0x1d893d)&&this[_0xe9fe80(0x11b)][_0xe9fe80(0x121)][_0xe9fe80(0x11d)][_0xe9fe80(0x179)](_0x1d893d),this[_0xe9fe80(0x11b)][_0xe9fe80(0x152)](_0x6aaa39));}const {revisions:_0x1e181b,requestId:_0x4b9726}=await this[_0xe9fe80(0x127)][_0xe9fe80(0x17d)](_0xe251b6[_0xe9fe80(0x126)],this[_0xe9fe80(0x172)]);_0x5b3452&&_0x1e181b[_0xe9fe80(0x16e)]>0x0?_0x2140bd[_0xe9fe80(0x125)]():(await this[_0xe9fe80(0x159)](_0x1e181b),this[_0xe9fe80(0x115)](_0x1e181b,_0x4b9726),this[_0xe9fe80(0x11b)][_0xe9fe80(0x183)]());};return _0x2140bd[_0x2fdb16(0x14c)]?_0x32ad9():new Promise((_0x25ede6,_0x2d4962)=>{const _0x1d5afa=_0x2fdb16;_0x2140bd[_0x1d5afa(0x129)](_0x1d5afa(0x118),()=>{const _0x53da71=_0x1d5afa;_0x32ad9()[_0x53da71(0x176)](_0x25ede6)[_0x53da71(0x154)](_0x2d4962);});});}[_0x35fea0(0x120)](){const _0x71afbd=_0x35fea0;super[_0x71afbd(0x120)]();}async[_0x35fea0(0x13a)](){const _0x177e18=_0x35fea0;this[_0x177e18(0x127)][_0x177e18(0x180)]||await new Promise(_0x4bd529=>{const _0x316b93=_0x177e18;this[_0x316b93(0x143)](this[_0x316b93(0x127)],_0x316b93(0x142),_0x48a19e=>{const _0x4d9d49=_0x316b93;_0x48a19e[_0x4d9d49(0x14f)](),_0x4bd529();});});}[_0x35fea0(0x185)](){const _0x57f040=_0x35fea0,_0x5a5658=this[_0x57f040(0x14b)][_0x57f040(0x150)][_0x57f040(0x116)](_0x4ec214)[_0x57f040(0x187)][_0x57f040(0x177)]()[_0x57f040(0x148)]();for(const _0x4f666d of _0x5a5658)if(_0x57f040(0x136)!==_0x4f666d[_0x57f040(0x12d)]||_0x4f666d[_0x57f040(0x166)])return _0x4f666d[_0x57f040(0x186)]+0x1;}[_0x35fea0(0x139)](){const _0x395265=_0x35fea0,_0x4cd192=this[_0x395265(0x14b)][_0x395265(0x150)][_0x395265(0x116)](_0x4ec214);return new Promise(_0x2036e1=>{const _0x5031dd=_0x395265;_0x4cd192[_0x5031dd(0x157)]?_0x4cd192[_0x5031dd(0x129)](_0x5031dd(0x141),()=>{const _0x2c3717=_0x5031dd;_0x2036e1(this[_0x2c3717(0x185)]());}):_0x2036e1(this[_0x5031dd(0x185)]());});}[_0x35fea0(0x115)](_0x1a76f7,_0x8b695b){const _0x1c8f36=_0x35fea0,_0x5c620f=this[_0x1c8f36(0x11b)][_0x1c8f36(0x121)];this[_0x1c8f36(0x172)]=_0x8b695b;for(const _0x34eb7b of _0x1a76f7){const _0x3f6265=_0x5c620f[_0x1c8f36(0x173)](_0x34eb7b['id']);if(_0x3f6265){if((_0x34eb7b[_0x1c8f36(0x13f)]||_0x34eb7b[_0x1c8f36(0x137)])&&(_0x34eb7b[_0x1c8f36(0x16c)]=null),_0x3f6265===this[_0x1c8f36(0x11b)][_0x1c8f36(0x147)]){const _0x111a4c=Math[_0x1c8f36(0x167)](_0x3f6265[_0x1c8f36(0x137)],_0x34eb7b[_0x1c8f36(0x137)]),_0x6ce75b=Math[_0x1c8f36(0x167)](_0x3f6265[_0x1c8f36(0x13f)],_0x34eb7b[_0x1c8f36(0x13f)]);let _0x1761a3;_0x3f6265[_0x1c8f36(0x137)]===_0x34eb7b[_0x1c8f36(0x137)]&&_0x3f6265[_0x1c8f36(0x13f)]===_0x34eb7b[_0x1c8f36(0x13f)]?(_0x1761a3=!0x0,this[_0x1c8f36(0x17e)](_0x34eb7b)):_0x34eb7b[_0x1c8f36(0x137)]===_0x111a4c&&_0x34eb7b[_0x1c8f36(0x13f)]===_0x6ce75b?_0x1761a3=!0x1:(_0x3f6265[_0x1c8f36(0x137)]===_0x111a4c&&_0x3f6265[_0x1c8f36(0x13f)]===_0x6ce75b||this[_0x1c8f36(0x16f)]({'revision':_0x3f6265,'from':_0x6ce75b,'to':_0x111a4c}),_0x1761a3=!0x0),_0x1761a3&&(delete _0x34eb7b[_0x1c8f36(0x13f)],delete _0x34eb7b[_0x1c8f36(0x137)],delete _0x34eb7b[_0x1c8f36(0x16c)],delete _0x34eb7b[_0x1c8f36(0x182)],delete _0x34eb7b[_0x1c8f36(0x11f)]);}this[_0x1c8f36(0x11b)][_0x1c8f36(0x13e)](_0x34eb7b),this[_0x1c8f36(0x17e)](_0x34eb7b);}else this[_0x1c8f36(0x11b)][_0x1c8f36(0x146)](_0x34eb7b);}const _0x47bef9=_0x5c620f[_0x1c8f36(0x14d)]();_0x47bef9[_0x1c8f36(0x148)]();for(let _0x21803a=0x0;_0x21803a<_0x47bef9[_0x1c8f36(0x16e)]-0x1;_0x21803a++){const _0x1b6812=_0x47bef9[_0x21803a],_0x5917c4=_0x47bef9[_0x21803a+0x1];if(_0x1b6812[_0x1c8f36(0x13f)]<_0x5917c4[_0x1c8f36(0x137)]){const _0x1b48ab=_0x5917c4[_0x1c8f36(0x137)],_0x326ca9=Math[_0x1c8f36(0x167)](_0x1b48ab,_0x1b6812[_0x1c8f36(0x137)]);this[_0x1c8f36(0x16f)]({'revision':_0x1b6812,'from':_0x1b48ab,'to':_0x326ca9});}}}[_0x35fea0(0x16f)]({revision:_0x7171f0,from:_0x321f2b,to:_0x4d4249}={}){const _0x56439b=_0x35fea0,_0x197210=this[_0x56439b(0x14b)][_0x56439b(0x150)][_0x56439b(0x116)](_0x2419ea),_0x5246c3=this[_0x56439b(0x11b)][_0x56439b(0x132)]({'revision':_0x7171f0,'from':_0x321f2b,'to':_0x4d4249});_0x5246c3[_0x56439b(0x161)]=_0x5246c3[_0x56439b(0x11f)][_0x56439b(0x12e)](_0x251ef3=>_0x197210[_0x56439b(0x189)](_0x251ef3)),_0x7171f0[_0x56439b(0x13c)](_0x5246c3);}[_0x35fea0(0x17e)](_0x5ad538){const _0x4c43c0=_0x35fea0,_0x10dfb0={};_0x10dfb0['id']=_0x5ad538['id'];for(const _0x297a1c of Object[_0x4c43c0(0x131)](_0x5ad538))'id'!==_0x297a1c&&(_0x10dfb0[_0x297a1c]=void 0x0);this[_0x4c43c0(0x11b)][_0x4c43c0(0x14a)](_0x10dfb0['id'],_0x10dfb0,!0x0);}async[_0x35fea0(0x159)](_0x6f4757){const _0x1167e4=_0x35fea0,_0x5e3ace=this[_0x1167e4(0x14b)][_0x1167e4(0x150)][_0x1167e4(0x116)](_0x2419ea),{connection:_0x492176}=this[_0x1167e4(0x14b)][_0x1167e4(0x150)][_0x1167e4(0x116)](_0x8d9d02),_0x562614=new Set();for(const _0x56624e of _0x6f4757){for(const _0x14f45a of _0x56624e[_0x1167e4(0x11f)])_0x1886c5(_0x14f45a);_0x56624e[_0x1167e4(0x16a)]&&_0x1886c5(_0x56624e[_0x1167e4(0x16a)]);}if(0x0===_0x562614[_0x1167e4(0x130)])return;const _0x1342bd=await _0x247f7e[_0x1167e4(0x13b)](_0x492176,Array[_0x1167e4(0x17c)](_0x562614));for(const _0x12d10e of _0x1342bd)_0x5e3ace[_0x1167e4(0x189)](_0x12d10e['id'])||_0x5e3ace[_0x1167e4(0x151)](_0x12d10e);function _0x1886c5(_0x12c0aa){const _0x2bfb87=_0x1167e4;_0x5e3ace[_0x2bfb87(0x189)](_0x12c0aa)||_0x562614[_0x2bfb87(0x160)](_0x12c0aa);}}}function I(_0xf17c18){const _0x5b4efe=_0x35fea0;return _0xf17c18[_0x5b4efe(0x178)][_0x5b4efe(0x122)](_0x5b4efe(0x145))||_0xf17c18[_0x5b4efe(0x178)][_0x5b4efe(0x122)](_0x5b4efe(0x18b))||_0xf17c18[_0x5b4efe(0x178)][_0x5b4efe(0x122)](_0x5b4efe(0x162));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x440ba2=_0x14a4;(function(_0x175525,_0x4f9f18){var _0x17837b=_0x14a4,_0x147779=_0x175525();while(!![]){try{var _0x414780=-parseInt(_0x17837b(0x95))/0x1*(parseInt(_0x17837b(0x9b))/0x2)+parseInt(_0x17837b(0x91))/0x3*(-parseInt(_0x17837b(0x9e))/0x4)+-parseInt(_0x17837b(0x93))/0x5+parseInt(_0x17837b(0x98))/0x6*(parseInt(_0x17837b(0xa0))/0x7)+parseInt(_0x17837b(0x8f))/0x8+-parseInt(_0x17837b(0x90))/0x9*(parseInt(_0x17837b(0x97))/0xa)+parseInt(_0x17837b(0x9c))/0xb*(parseInt(_0x17837b(0x9d))/0xc);if(_0x414780===_0x4f9f18)break;else _0x147779['push'](_0x147779['shift']());}catch(_0x3ffaba){_0x147779['push'](_0x147779['shift']());}}}(_0x573b,0x3fb9d));import{Plugin as _0x5dc113}from'ckeditor5/src/core.js';function _0x14a4(_0x3a831e,_0x322cb1){var _0x573bb0=_0x573b();return _0x14a4=function(_0x14a4d6,_0x22673a){_0x14a4d6=_0x14a4d6-0x8f;var _0x4e06e9=_0x573bb0[_0x14a4d6];return _0x4e06e9;},_0x14a4(_0x3a831e,_0x322cb1);}import{CloudServicesRevisionHistoryAdapter as _0x4854f8}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x21351f}from'./realtimecollaborativeediting.js';function _0x573b(){var _0x399ecf=['isPremiumPlugin','3130grZuND','12RjHHCt','pluginName','requires','8yhgTSO','500951baWPGd','36YHMMsJ','114780jsOUIT','isOfficialPlugin','787507voxIqv','3661144cXOGjF','6228FzmUgv','3nzeCvW','RevisionHistory','1420840vaVZEd','RealTimeCollaborativeRevisionHistory','7197QeusYG'];_0x573b=function(){return _0x399ecf;};return _0x573b();}export class RealTimeCollaborativeRevisionHistory extends _0x5dc113{static get[_0x440ba2(0x9a)](){var _0xe4a398=_0x440ba2;return[_0xe4a398(0x92),_0x4854f8,_0x21351f];}static get[_0x440ba2(0x99)](){var _0x26c06e=_0x440ba2;return _0x26c06e(0x94);}static get[_0x440ba2(0x9f)](){return!0x0;}static get[_0x440ba2(0x96)](){return!0x0;}}
23
+ var _0x23bb9e=_0x1ca3;(function(_0xaa77ce,_0x3eed7a){var _0x34dbde=_0x1ca3,_0x34493b=_0xaa77ce();while(!![]){try{var _0x4073a5=-parseInt(_0x34dbde(0x8f))/0x1*(-parseInt(_0x34dbde(0x9c))/0x2)+parseInt(_0x34dbde(0x91))/0x3*(parseInt(_0x34dbde(0x96))/0x4)+parseInt(_0x34dbde(0x8e))/0x5*(parseInt(_0x34dbde(0x97))/0x6)+-parseInt(_0x34dbde(0x98))/0x7+parseInt(_0x34dbde(0x95))/0x8*(-parseInt(_0x34dbde(0x99))/0x9)+parseInt(_0x34dbde(0x9d))/0xa*(parseInt(_0x34dbde(0x93))/0xb)+-parseInt(_0x34dbde(0x9e))/0xc*(-parseInt(_0x34dbde(0xa0))/0xd);if(_0x4073a5===_0x3eed7a)break;else _0x34493b['push'](_0x34493b['shift']());}catch(_0x5947ba){_0x34493b['push'](_0x34493b['shift']());}}}(_0x4d5d,0x8c076));import{Plugin as _0x5ab888}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x565f96}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x587ed0}from'./realtimecollaborativeediting.js';function _0x1ca3(_0x5730f8,_0x3ee328){var _0x4d5d14=_0x4d5d();return _0x1ca3=function(_0x1ca34b,_0x33762b){_0x1ca34b=_0x1ca34b-0x8e;var _0x35e5f6=_0x4d5d14[_0x1ca34b];return _0x35e5f6;},_0x1ca3(_0x5730f8,_0x3ee328);}function _0x4d5d(){var _0x421dc3=['242370MnuyGU','6312bPCxKp','requires','1430NSRKLo','704440npoZZC','97YZJddQ','pluginName','3WBlFKt','RealTimeCollaborativeRevisionHistory','451EHCYqd','isOfficialPlugin','52568mqvZpa','1532152QQcqWO','24hspNFJ','3290910GQdLHm','1467jDdKAa','isPremiumPlugin','RevisionHistory','2404NOJcbg'];_0x4d5d=function(){return _0x421dc3;};return _0x4d5d();}export class RealTimeCollaborativeRevisionHistory extends _0x5ab888{static get[_0x23bb9e(0x9f)](){var _0x569154=_0x23bb9e;return[_0x569154(0x9b),_0x565f96,_0x587ed0];}static get[_0x23bb9e(0x90)](){var _0x5b969b=_0x23bb9e;return _0x5b969b(0x92);}static get[_0x23bb9e(0x94)](){return!0x0;}static get[_0x23bb9e(0x9a)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29c2a5=_0x6292;(function(_0x38609a,_0x33b9d6){const _0x5212d0=_0x6292,_0x38fc16=_0x38609a();while(!![]){try{const _0x524be5=parseInt(_0x5212d0(0xaa))/0x1+parseInt(_0x5212d0(0xa2))/0x2+parseInt(_0x5212d0(0xa1))/0x3+-parseInt(_0x5212d0(0x99))/0x4*(-parseInt(_0x5212d0(0xa3))/0x5)+parseInt(_0x5212d0(0x81))/0x6+-parseInt(_0x5212d0(0x82))/0x7+parseInt(_0x5212d0(0x7b))/0x8*(-parseInt(_0x5212d0(0xa5))/0x9);if(_0x524be5===_0x33b9d6)break;else _0x38fc16['push'](_0x38fc16['shift']());}catch(_0x5554e6){_0x38fc16['push'](_0x38fc16['shift']());}}}(_0x3ad7,0x7d8f3));import{Plugin as _0x10e64f}from'ckeditor5/src/core.js';function _0x6292(_0x5352ab,_0x1c6015){const _0x3ad705=_0x3ad7();return _0x6292=function(_0x62928,_0x336f5f){_0x62928=_0x62928-0x77;let _0x213882=_0x3ad705[_0x62928];return _0x213882;},_0x6292(_0x5352ab,_0x1c6015);}function _0x3ad7(){const _0x2fa878=['_bufferedRequests','data','connect','cloud-services-internal-error:\x20Not\x20connected.','277555PcZYwp','add','CloudServicesTrackChangesAdapter','_saved','hasSuggestion','_waitForServiceReady','isOfficialPlugin','requires','delete','editor','update','open','init','isPremiumPlugin','from','_fetchMissingUsersForThreads','12838456NpcEjL','listenTo','then','plugins','find','pluginName','1352406QLBQNr','3985422Ghoyre','TrackChangesEditing','suggestionUpdated','getSuggestion','TrackChangesService','config','cloud-services-internal-error:\x20Request\x20timeout.','addSuggestionData','values','connected','get','reconnect','_trackChangesService','off','addToReconnectionStack','addUser','adapter','isConnected','getMany','set','state','attributes','originalSuggestionId','44xOmWLf','connection','getUser','message','startsWith','collaboration.channelId','type','size','2807052gTczFL','555402UIBKFP','441865vbWYEV','catch','9UpHSuU'];_0x3ad7=function(){return _0x2fa878;};return _0x3ad7();}import{User as _0x4a32ba,TrackChangesService as _0x51bf7c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x105038}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x22370a}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x266cf8}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x10e64f{static [_0x29c2a5(0x86)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x51bf7c)());[_0x29c2a5(0xa6)];[_0x29c2a5(0x8e)];static get[_0x29c2a5(0xb1)](){const _0x535d16=_0x29c2a5;return[_0x22370a,_0x535d16(0x83),_0x105038];}static get[_0x29c2a5(0x80)](){const _0x38b0a9=_0x29c2a5;return _0x38b0a9(0xac);}static get[_0x29c2a5(0xb0)](){return!0x0;}static get[_0x29c2a5(0x78)](){return!0x0;}constructor(_0x307bad){const _0x4fe853=_0x29c2a5;super(_0x307bad);const _0x144e97=this[_0x4fe853(0xb3)][_0x4fe853(0x87)][_0x4fe853(0x8c)](_0x4fe853(0x9e));this[_0x4fe853(0xa6)]=new Map(),this[_0x4fe853(0x8e)]=new CloudServicesTrackChangesAdapter[(_0x4fe853(0x86))](_0x144e97);}[_0x29c2a5(0x77)](){const _0x507497=_0x29c2a5,_0x4fbf5e=this[_0x507497(0xb3)][_0x507497(0x7e)][_0x507497(0x8c)](_0x105038),_0x6afac7=this[_0x507497(0xb3)][_0x507497(0x7e)][_0x507497(0x8c)](_0x507497(0x83));return _0x6afac7[_0x507497(0x92)]={'getSuggestion':async _0x24d135=>{const _0x1a9797=_0x507497;await this[_0x1a9797(0xaf)]();const _0x391331=await this[_0x1a9797(0x8e)][_0x1a9797(0x8c)](_0x24d135)[_0x1a9797(0xa4)](k);return await this[_0x1a9797(0x7a)]([_0x391331]),_0x391331;},'addSuggestion':async({id:_0x459741,type:_0x2ec1ac,data:_0x2b7c93,originalSuggestionId:_0x1ebbea,attributes:_0x1676f0})=>{const _0xc3c804=_0x507497;await this[_0xc3c804(0xaf)]();const _0x12d3d4={'id':_0x459741,'type':_0x2ec1ac,'data':_0x2b7c93,'originalSuggestionId':_0x1ebbea,'attributes':_0x1676f0},_0x501e6a=await this[_0xc3c804(0x8e)][_0xc3c804(0xab)](_0x459741,_0x2ec1ac,_0x2b7c93,_0x1ebbea,_0x1676f0)[_0xc3c804(0xa4)](_0x291c1a=>{if(q(_0x291c1a))return new Promise(_0x42f4bb=>{const _0x171406=_0x6292;this[_0x171406(0xa6)][_0x171406(0x95)](_0x459741,{'resolve':_0x42f4bb,'suggestionData':_0x12d3d4});});throw _0x291c1a;});return this[_0xc3c804(0xa6)][_0xc3c804(0xb2)](_0x459741),_0x501e6a;},'updateSuggestion':async(_0x52e3c0,_0x48ec2d)=>{const _0x3bdb9a=_0x507497;if(await this[_0x3bdb9a(0xaf)](),_0x3bdb9a(0xb5)!==_0x48ec2d[_0x3bdb9a(0x96)])return this[_0x3bdb9a(0x8e)][_0x3bdb9a(0xb4)](_0x52e3c0,_0x48ec2d)[_0x3bdb9a(0xa4)](k);}},this[_0x507497(0x7c)](this[_0x507497(0x8e)],_0x507497(0x84),(_0x326274,_0x57eba2)=>{const _0x2d87ab=_0x507497;_0x6afac7[_0x2d87ab(0xae)](_0x57eba2['id'])&&(_0x6afac7[_0x2d87ab(0x85)](_0x57eba2['id'])[_0x2d87ab(0x97)]=_0x57eba2[_0x2d87ab(0x97)]);}),this[_0x507497(0x8e)][_0x507497(0xa8)](_0x4fbf5e[_0x507497(0x9a)])[_0x507497(0x7d)](_0x33809f=>(_0x4fbf5e[_0x507497(0x90)](this),this[_0x507497(0x7a)](_0x33809f)[_0x507497(0x7d)](()=>{const _0x55c3f2=_0x507497;for(const _0x471b84 of _0x33809f){_0x6afac7[_0x55c3f2(0x89)](_0x471b84)[_0x55c3f2(0xad)]=!0x0;}})));}async[_0x29c2a5(0x8d)](){const _0x105af4=_0x29c2a5,_0x904d1a=this[_0x105af4(0xb3)][_0x105af4(0x7e)][_0x105af4(0x8c)](_0x105af4(0x83)),{connection:_0xe7c4f2}=this[_0x105af4(0xb3)][_0x105af4(0x7e)][_0x105af4(0x8c)](_0x105038),_0x159204=await this[_0x105af4(0x8e)][_0x105af4(0xa8)](_0xe7c4f2);await this[_0x105af4(0x7a)](_0x159204);for(const {suggestionData:_0x41af0b,resolve:_0x3b88d6}of this[_0x105af4(0xa6)][_0x105af4(0x8a)]()){let _0x351a19=_0x159204[_0x105af4(0x7f)](_0x13b1ad=>_0x13b1ad['id']===_0x41af0b['id']);_0x351a19||(_0x351a19=await this[_0x105af4(0x8e)][_0x105af4(0xab)](_0x41af0b['id'],_0x41af0b[_0x105af4(0x9f)],_0x41af0b[_0x105af4(0xa7)],_0x41af0b[_0x105af4(0x98)])),_0x3b88d6(_0x351a19);}for(const _0x73744f of _0x159204)_0x904d1a[_0x105af4(0xae)](_0x73744f['id'])||_0x904d1a[_0x105af4(0x89)](_0x73744f);}async[_0x29c2a5(0xaf)](){const _0x50b1da=_0x29c2a5;this[_0x50b1da(0x8e)][_0x50b1da(0x93)]||await new Promise(_0x52ffde=>{const _0x1b6881=_0x50b1da;this[_0x1b6881(0x7c)](this[_0x1b6881(0x8e)],_0x1b6881(0x8b),_0x4f6fc4=>{const _0x2ea419=_0x1b6881;_0x4f6fc4[_0x2ea419(0x8f)](),_0x52ffde();});});}async[_0x29c2a5(0x7a)](_0xd506fc){const _0x4565d8=_0x29c2a5,_0x14ed15=this[_0x4565d8(0xb3)][_0x4565d8(0x7e)][_0x4565d8(0x8c)](_0x266cf8),{connection:_0x5aa5ad}=this[_0x4565d8(0xb3)][_0x4565d8(0x7e)][_0x4565d8(0x8c)](_0x105038),_0x1a7ee4=new Set();for(const {authorId:_0xdf248b}of _0xd506fc)_0x14ed15[_0x4565d8(0x9b)](_0xdf248b)||_0x1a7ee4[_0x4565d8(0xab)](_0xdf248b);if(0x0===_0x1a7ee4[_0x4565d8(0xa0)])return;const _0x2d43e7=await _0x4a32ba[_0x4565d8(0x94)](_0x5aa5ad,Array[_0x4565d8(0x79)](_0x1a7ee4));for(const _0x281aed of _0x2d43e7)_0x14ed15[_0x4565d8(0x9b)](_0x281aed['id'])||_0x14ed15[_0x4565d8(0x91)](_0x281aed);}}function k(_0x3807f1){if(q(_0x3807f1))return new Promise(()=>{});throw _0x3807f1;}function q(_0x48ace8){const _0x8cc761=_0x29c2a5;return _0x48ace8[_0x8cc761(0x9c)][_0x8cc761(0x9d)](_0x8cc761(0xa9))||_0x48ace8[_0x8cc761(0x9c)][_0x8cc761(0x9d)](_0x8cc761(0x88));}
23
+ const _0xde167f=_0x2108;(function(_0x49feed,_0x16a980){const _0x4a6877=_0x2108,_0x164633=_0x49feed();while(!![]){try{const _0x5b843a=-parseInt(_0x4a6877(0x11d))/0x1+-parseInt(_0x4a6877(0x127))/0x2+parseInt(_0x4a6877(0x108))/0x3+-parseInt(_0x4a6877(0x10a))/0x4*(parseInt(_0x4a6877(0x115))/0x5)+-parseInt(_0x4a6877(0x103))/0x6+parseInt(_0x4a6877(0x113))/0x7+parseInt(_0x4a6877(0x12e))/0x8;if(_0x5b843a===_0x16a980)break;else _0x164633['push'](_0x164633['shift']());}catch(_0x2e8414){_0x164633['push'](_0x164633['shift']());}}}(_0x36da,0x241be));import{Plugin as _0x5da955}from'ckeditor5/src/core.js';function _0x2108(_0x48ec70,_0x3eca09){const _0x36da59=_0x36da();return _0x2108=function(_0x21088c,_0x444c38){_0x21088c=_0x21088c-0xf3;let _0x106d88=_0x36da59[_0x21088c];return _0x106d88;},_0x2108(_0x48ec70,_0x3eca09);}import{User as _0x426362,TrackChangesService as _0x483cb7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3c1598}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x29849e}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x6f87fc}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5da955{static [_0xde167f(0x128)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x483cb7)());[_0xde167f(0xf6)];[_0xde167f(0x11b)];static get[_0xde167f(0x12b)](){const _0xeb49f4=_0xde167f;return[_0x29849e,_0xeb49f4(0xfb),_0x3c1598];}static get[_0xde167f(0x12d)](){const _0x1e9f9b=_0xde167f;return _0x1e9f9b(0x106);}static get[_0xde167f(0xf9)](){return!0x0;}static get[_0xde167f(0xfa)](){return!0x0;}constructor(_0xfefbff){const _0x5a0baa=_0xde167f;super(_0xfefbff);const _0x5a7bee=this[_0x5a0baa(0x129)][_0x5a0baa(0x10b)][_0x5a0baa(0xf4)](_0x5a0baa(0x12a));this[_0x5a0baa(0xf6)]=new Map(),this[_0x5a0baa(0x11b)]=new CloudServicesTrackChangesAdapter[(_0x5a0baa(0x128))](_0x5a7bee);}[_0xde167f(0x119)](){const _0x154ecc=_0xde167f,_0x121060=this[_0x154ecc(0x129)][_0x154ecc(0x121)][_0x154ecc(0xf4)](_0x3c1598),_0x5ced52=this[_0x154ecc(0x129)][_0x154ecc(0x121)][_0x154ecc(0xf4)](_0x154ecc(0xfb));return _0x5ced52[_0x154ecc(0xfc)]={'getSuggestion':async _0x5ad190=>{const _0x328c1b=_0x154ecc;await this[_0x328c1b(0xfe)]();const _0x2b1294=await this[_0x328c1b(0x11b)][_0x328c1b(0xf4)](_0x5ad190)[_0x328c1b(0x125)](B);return await this[_0x328c1b(0x11f)]([_0x2b1294]),_0x2b1294;},'addSuggestion':async({id:_0x142dd7,type:_0x2d0a3e,data:_0x7c2c13,originalSuggestionId:_0x1bdcb6,attributes:_0x9ca9e1})=>{const _0x21f2ef=_0x154ecc;await this[_0x21f2ef(0xfe)]();const _0x14e2ca={'id':_0x142dd7,'type':_0x2d0a3e,'data':_0x7c2c13,'originalSuggestionId':_0x1bdcb6,'attributes':_0x9ca9e1},_0x50b51d=await this[_0x21f2ef(0x11b)][_0x21f2ef(0x122)](_0x142dd7,_0x2d0a3e,_0x7c2c13,_0x1bdcb6,_0x9ca9e1)[_0x21f2ef(0x125)](_0x1bdebd=>{if(I(_0x1bdebd))return new Promise(_0x16d1c3=>{const _0x48a710=_0x2108;this[_0x48a710(0xf6)][_0x48a710(0x124)](_0x142dd7,{'resolve':_0x16d1c3,'suggestionData':_0x14e2ca});});throw _0x1bdebd;});return this[_0x21f2ef(0xf6)][_0x21f2ef(0x116)](_0x142dd7),_0x50b51d;},'updateSuggestion':async(_0x5b2f6c,_0x2b50fe)=>{const _0x3c7593=_0x154ecc;if(await this[_0x3c7593(0xfe)](),_0x3c7593(0xf8)!==_0x2b50fe[_0x3c7593(0xf7)])return this[_0x3c7593(0x11b)][_0x3c7593(0x100)](_0x5b2f6c,_0x2b50fe)[_0x3c7593(0x125)](B);}},this[_0x154ecc(0xfd)](this[_0x154ecc(0x11b)],_0x154ecc(0x130),(_0x4e9ca0,_0x2e7a08)=>{const _0x43d512=_0x154ecc;_0x5ced52[_0x43d512(0x12f)](_0x2e7a08['id'])&&(_0x5ced52[_0x43d512(0xf3)](_0x2e7a08['id'])[_0x43d512(0x11e)]=_0x2e7a08[_0x43d512(0x11e)]);}),this[_0x154ecc(0x11b)][_0x154ecc(0x111)](_0x121060[_0x154ecc(0x102)])[_0x154ecc(0x107)](_0x3c0588=>(_0x121060[_0x154ecc(0x11a)](this),this[_0x154ecc(0x11f)](_0x3c0588)[_0x154ecc(0x107)](()=>{const _0x5d2deb=_0x154ecc;for(const _0x837c66 of _0x3c0588){_0x5ced52[_0x5d2deb(0x12c)](_0x837c66)[_0x5d2deb(0x11c)]=!0x0;}})));}async[_0xde167f(0x112)](){const _0x678a20=_0xde167f,_0x249366=this[_0x678a20(0x129)][_0x678a20(0x121)][_0x678a20(0xf4)](_0x678a20(0xfb)),{connection:_0x2fe46f}=this[_0x678a20(0x129)][_0x678a20(0x121)][_0x678a20(0xf4)](_0x3c1598),_0x25a46c=await this[_0x678a20(0x11b)][_0x678a20(0x111)](_0x2fe46f);await this[_0x678a20(0x11f)](_0x25a46c);for(const {suggestionData:_0xeee99d,resolve:_0x3e3c18}of this[_0x678a20(0xf6)][_0x678a20(0x126)]()){let _0x139ba2=_0x25a46c[_0x678a20(0x114)](_0x4ec185=>_0x4ec185['id']===_0xeee99d['id']);_0x139ba2||(_0x139ba2=await this[_0x678a20(0x11b)][_0x678a20(0x122)](_0xeee99d['id'],_0xeee99d[_0x678a20(0x118)],_0xeee99d[_0x678a20(0x10f)],_0xeee99d[_0x678a20(0x109)])),_0x3e3c18(_0x139ba2);}for(const _0x5e52bd of _0x25a46c)_0x249366[_0x678a20(0x12f)](_0x5e52bd['id'])||_0x249366[_0x678a20(0x12c)](_0x5e52bd);}async[_0xde167f(0xfe)](){const _0x2d481c=_0xde167f;this[_0x2d481c(0x11b)][_0x2d481c(0xf5)]||await new Promise(_0x43ae27=>{const _0x52ec17=_0x2d481c;this[_0x52ec17(0xfd)](this[_0x52ec17(0x11b)],_0x52ec17(0x104),_0x15d809=>{const _0x568351=_0x52ec17;_0x15d809[_0x568351(0x110)](),_0x43ae27();});});}async[_0xde167f(0x11f)](_0x2caef1){const _0x2d6e16=_0xde167f,_0x443fdb=this[_0x2d6e16(0x129)][_0x2d6e16(0x121)][_0x2d6e16(0xf4)](_0x6f87fc),{connection:_0x5536ee}=this[_0x2d6e16(0x129)][_0x2d6e16(0x121)][_0x2d6e16(0xf4)](_0x3c1598),_0x14b1e5=new Set();for(const {authorId:_0x3d25f5}of _0x2caef1)_0x443fdb[_0x2d6e16(0x10e)](_0x3d25f5)||_0x14b1e5[_0x2d6e16(0x122)](_0x3d25f5);if(0x0===_0x14b1e5[_0x2d6e16(0x10c)])return;const _0x2c17d9=await _0x426362[_0x2d6e16(0x117)](_0x5536ee,Array[_0x2d6e16(0x120)](_0x14b1e5));for(const _0x3b93f4 of _0x2c17d9)_0x443fdb[_0x2d6e16(0x10e)](_0x3b93f4['id'])||_0x443fdb[_0x2d6e16(0x10d)](_0x3b93f4);}}function B(_0x3d9486){if(I(_0x3d9486))return new Promise(()=>{});throw _0x3d9486;}function _0x36da(){const _0x1a9b12=['catch','values','363564ciJWwZ','TrackChangesService','editor','collaboration.channelId','requires','addSuggestionData','pluginName','4374560vmvzce','hasSuggestion','suggestionUpdated','getSuggestion','get','isConnected','_bufferedRequests','state','open','isOfficialPlugin','isPremiumPlugin','TrackChangesEditing','adapter','listenTo','_waitForServiceReady','message','update','cloud-services-internal-error:\x20Not\x20connected.','connection','1200894mHAddc','connected','startsWith','CloudServicesTrackChangesAdapter','then','150972RmrPCx','originalSuggestionId','5276cTgHoP','config','size','addUser','getUser','data','off','connect','reconnect','1930299LIkIvH','find','955eMrWAc','delete','getMany','type','init','addToReconnectionStack','_trackChangesService','_saved','91139uQewwP','attributes','_fetchMissingUsersForThreads','from','plugins','add','cloud-services-internal-error:\x20Request\x20timeout.','set'];_0x36da=function(){return _0x1a9b12;};return _0x36da();}function I(_0x11f0a9){const _0x56cd68=_0xde167f;return _0x11f0a9[_0x56cd68(0xff)][_0x56cd68(0x105)](_0x56cd68(0x101))||_0x11f0a9[_0x56cd68(0xff)][_0x56cd68(0x105)](_0x56cd68(0x123));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf4bb63=_0x2328;(function(_0x95605c,_0x1c0d7e){var _0x3a1049=_0x2328,_0x28610e=_0x95605c();while(!![]){try{var _0x550d01=parseInt(_0x3a1049(0x10b))/0x1*(-parseInt(_0x3a1049(0x108))/0x2)+parseInt(_0x3a1049(0x10c))/0x3*(parseInt(_0x3a1049(0xfc))/0x4)+-parseInt(_0x3a1049(0x10a))/0x5+-parseInt(_0x3a1049(0x100))/0x6+parseInt(_0x3a1049(0x103))/0x7+parseInt(_0x3a1049(0x101))/0x8*(parseInt(_0x3a1049(0x102))/0x9)+parseInt(_0x3a1049(0xff))/0xa*(-parseInt(_0x3a1049(0xfe))/0xb);if(_0x550d01===_0x1c0d7e)break;else _0x28610e['push'](_0x28610e['shift']());}catch(_0xe79f52){_0x28610e['push'](_0x28610e['shift']());}}}(_0x3cff,0x9e22d));function _0x2328(_0x213f12,_0x471d8a){var _0x3cff58=_0x3cff();return _0x2328=function(_0x232895,_0x26419a){_0x232895=_0x232895-0xfc;var _0x27aa7f=_0x3cff58[_0x232895];return _0x27aa7f;},_0x2328(_0x213f12,_0x471d8a);}import{Plugin as _0x57e4ad}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x2b15c9}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x54f76c}from'./realtimecollaborativecomments.js';function _0x3cff(){var _0xbc60bd=['1106991pABzPN','5110434qlOhfh','TrackChanges','isPremiumPlugin','requires','RealTimeCollaborativeTrackChanges','74662WJyjlX','pluginName','1020815RvRzux','16WHyQBG','194676iKqtaY','4cEeZoI','isOfficialPlugin','33xjklak','269490pMXIdl','2969478IVSmrm','80hqBlzO'];_0x3cff=function(){return _0xbc60bd;};return _0x3cff();}export class RealTimeCollaborativeTrackChanges extends _0x57e4ad{static get[_0xf4bb63(0x106)](){var _0x434083=_0xf4bb63;return[_0x54f76c,_0x2b15c9,_0x434083(0x104)];}static get[_0xf4bb63(0x109)](){var _0x51a557=_0xf4bb63;return _0x51a557(0x107);}static get[_0xf4bb63(0xfd)](){return!0x0;}static get[_0xf4bb63(0x105)](){return!0x0;}}
23
+ var _0x5f5b99=_0xd43a;(function(_0x46082a,_0xccfa51){var _0x1b5d4e=_0xd43a,_0x2838ee=_0x46082a();while(!![]){try{var _0x569a4d=parseInt(_0x1b5d4e(0xee))/0x1*(parseInt(_0x1b5d4e(0xeb))/0x2)+parseInt(_0x1b5d4e(0xf3))/0x3*(-parseInt(_0x1b5d4e(0xf0))/0x4)+parseInt(_0x1b5d4e(0xea))/0x5*(parseInt(_0x1b5d4e(0xf6))/0x6)+-parseInt(_0x1b5d4e(0xe7))/0x7+parseInt(_0x1b5d4e(0xf5))/0x8+-parseInt(_0x1b5d4e(0xe6))/0x9*(-parseInt(_0x1b5d4e(0xe9))/0xa)+parseInt(_0x1b5d4e(0xe8))/0xb*(-parseInt(_0x1b5d4e(0xe5))/0xc);if(_0x569a4d===_0xccfa51)break;else _0x2838ee['push'](_0x2838ee['shift']());}catch(_0x67b1b6){_0x2838ee['push'](_0x2838ee['shift']());}}}(_0x3332,0x57a15));import{Plugin as _0x403cf0}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x56f7b0}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0xd43a(_0x359f5c,_0x4e04f8){var _0x333297=_0x3332();return _0xd43a=function(_0xd43a3f,_0x12cfd0){_0xd43a3f=_0xd43a3f-0xe5;var _0x325f7c=_0x333297[_0xd43a3f];return _0x325f7c;},_0xd43a(_0x359f5c,_0x4e04f8);}import{RealTimeCollaborativeComments as _0x4666cb}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x403cf0{static get[_0x5f5b99(0xef)](){var _0xbec648=_0x5f5b99;return[_0x4666cb,_0x56f7b0,_0xbec648(0xf4)];}static get[_0x5f5b99(0xf2)](){var _0x567b69=_0x5f5b99;return _0x567b69(0xf1);}static get[_0x5f5b99(0xed)](){return!0x0;}static get[_0x5f5b99(0xec)](){return!0x0;}}function _0x3332(){var _0x4da842=['requires','88BXOONE','RealTimeCollaborativeTrackChanges','pluginName','10653urfpqA','TrackChanges','3429048XlXeQL','77304YYKvgS','2902812FFXHmI','769689zNXdxu','4406913dvoUNn','11fFvWEn','10tkgKiw','200NoUFej','2RvqMoi','isPremiumPlugin','isOfficialPlugin','279003KXkAVF'];_0x3332=function(){return _0x4da842;};return _0x3332();}