@ckeditor/ckeditor5-real-time-collaboration 46.0.0 → 46.0.1-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 (171) 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.d.ts +0 -2
  152. package/src/index.js +1 -1
  153. package/src/presencelist/presencelistui.js +1 -1
  154. package/src/presencelist/view/presencecounterview.js +1 -1
  155. package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
  156. package/src/presencelist/view/presencedropdownlistview.js +1 -1
  157. package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
  158. package/src/presencelist/view/presenceinlinelistview.js +1 -1
  159. package/src/presencelist/view/presencelistview.js +1 -1
  160. package/src/presencelist.js +1 -1
  161. package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
  162. package/src/realtimecollaborativecomments.js +1 -1
  163. package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
  164. package/src/realtimecollaborativeediting/sessions.js +1 -1
  165. package/src/realtimecollaborativeediting/usermarkers.js +1 -1
  166. package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
  167. package/src/realtimecollaborativeediting.js +1 -1
  168. package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
  169. package/src/realtimecollaborativerevisionhistory.js +1 -1
  170. package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
  171. package/src/realtimecollaborativetrackchanges.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x53c4(_0x59a326,_0x46d4bf){const _0x5e76d5=_0x5e76();return _0x53c4=function(_0x53c4e0,_0x346289){_0x53c4e0=_0x53c4e0-0x1cc;let _0xb4ddf2=_0x5e76d5[_0x53c4e0];return _0xb4ddf2;},_0x53c4(_0x59a326,_0x46d4bf);}const _0xca0bda=_0x53c4;(function(_0xa772cb,_0x5a0bd3){const _0x261c9e=_0x53c4,_0x3355eb=_0xa772cb();while(!![]){try{const _0xa6f565=parseInt(_0x261c9e(0x1dd))/0x1*(-parseInt(_0x261c9e(0x1ee))/0x2)+parseInt(_0x261c9e(0x214))/0x3*(-parseInt(_0x261c9e(0x1ff))/0x4)+-parseInt(_0x261c9e(0x204))/0x5+-parseInt(_0x261c9e(0x1e9))/0x6+-parseInt(_0x261c9e(0x1d5))/0x7*(-parseInt(_0x261c9e(0x1cf))/0x8)+-parseInt(_0x261c9e(0x1fe))/0x9+parseInt(_0x261c9e(0x207))/0xa;if(_0xa6f565===_0x5a0bd3)break;else _0x3355eb['push'](_0x3355eb['shift']());}catch(_0x32bbc0){_0x3355eb['push'](_0x3355eb['shift']());}}}(_0x5e76,0x5537f));import{ContextPlugin as _0x12a306}from'ckeditor5/src/core.js';function _0x5e76(){const _0x2806f3=['_shouldPluginsReconnect','WebSocketGateway','cloudservices-init','showWarning','online','35otHRhV','_isBrowserOffline','requires','reconnect','all','token','error','delete','5960Emakbf','disconnect','webSocketUrl','limitExceeded','isPremiumPlugin','stopListening','then','websocketgateway-missing-websocket-url','listenTo','_reconnectionStack','DISCONNECTED','offline','1755468unwEas','define','cloudServices.connectionTimeout','has','CloudServices','202jyvqWr','isInReconnectionStack','CONNECTED','websocketgateway-plugin-already-registered','cloudServices.requestTimeout','real-time-collaboration','context','addToReconnectionStack','connected','cloudservices-reconnection-error','constructor','config','Connected\x20users\x20limit\x20exceeded','catch','set','code','6091236keZMEo','1924mFwQAF','websocketgateway-missing-token','get','bind','isOfficialPlugin','2942850iRHGyk','connection','change:me','22919620MjUpTR','state','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.','_reconnect','function','add','_domEmitter','CONNECTING','websocketgateway-invalid-plugin-interface','connect','removeFromReconnectionStack','destroy','pluginName','300GHgQFx','plugins','from','initialReconnectionInterval','init','424168cEdTxy'];_0x5e76=function(){return _0x2806f3;};return _0x5e76();}import{DomEmitterMixin as _0x3f0e00,CKEditorError as _0x1c2f67}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x21c71e,WEB_SOCKET_GATEWAY_STATES as _0x628d6e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x43f1d8}from'ckeditor5/src/ui.js';class n extends _0x12a306{static [_0xca0bda(0x1d1)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x21c71e)());static [_0xca0bda(0x1cd)]=0x3e8;[_0xca0bda(0x205)];[_0xca0bda(0x1e6)];[_0xca0bda(0x1d0)];[_0xca0bda(0x20d)];static get[_0xca0bda(0x1d7)](){const _0x1b33f1=_0xca0bda;return[_0x1b33f1(0x1ed),_0x43f1d8];}static get[_0xca0bda(0x213)](){const _0x35465e=_0xca0bda;return _0x35465e(0x1d1);}static get[_0xca0bda(0x203)](){return!0x0;}static get[_0xca0bda(0x1e1)](){return!0x0;}constructor(_0x3764df){const _0xb66268=_0xca0bda;super(_0x3764df),this[_0xb66268(0x1fc)](_0xb66268(0x208),_0x628d6e[_0xb66268(0x1f0)]),this[_0xb66268(0x1fc)](_0xb66268(0x1d6),!0x1),this[_0xb66268(0x1e6)]=new Set(),this[_0xb66268(0x1d0)]=!0x1,this[_0xb66268(0x20d)]=new(_0x3f0e00())();}[_0xca0bda(0x1ce)](){const _0x5b702c=_0xca0bda,_0x44ae59=this[_0x5b702c(0x1f4)],_0x443d84=_0x44ae59[_0x5b702c(0x215)][_0x5b702c(0x201)](_0x5b702c(0x1ed)),_0x3b52c9=_0x44ae59[_0x5b702c(0x215)][_0x5b702c(0x201)](_0x43f1d8);if(!_0x443d84[_0x5b702c(0x1da)])throw new _0x1c2f67(_0x5b702c(0x200),this);if(!_0x443d84[_0x5b702c(0x1df)])throw new _0x1c2f67(_0x5b702c(0x1e4),this);return this[_0x5b702c(0x20d)][_0x5b702c(0x1e5)](window,_0x5b702c(0x1e8),()=>this[_0x5b702c(0x1d6)]=!0x0),this[_0x5b702c(0x20d)][_0x5b702c(0x1e5)](window,_0x5b702c(0x1d4),()=>this[_0x5b702c(0x1d6)]=!0x1),this[_0x5b702c(0x1f4)][_0x5b702c(0x1f9)][_0x5b702c(0x1ea)](_0x5b702c(0x1eb),0xa),this[_0x5b702c(0x1f4)][_0x5b702c(0x1f9)][_0x5b702c(0x1ea)](_0x5b702c(0x1f2),0x14),n[_0x5b702c(0x1d1)][_0x5b702c(0x210)](_0x443d84[_0x5b702c(0x1da)],_0x443d84[_0x5b702c(0x1df)],{'timeout':0x3e8*this[_0x5b702c(0x1f4)][_0x5b702c(0x1f9)][_0x5b702c(0x201)](_0x5b702c(0x1eb)),'requestTimeout':0x3e8*this[_0x5b702c(0x1f4)][_0x5b702c(0x1f9)][_0x5b702c(0x201)](_0x5b702c(0x1f2))})[_0x5b702c(0x1e3)](_0x2d44cc=>{const _0x42eca1=_0x5b702c;if(this[_0x42eca1(0x205)]=_0x2d44cc,this[_0x42eca1(0x202)](_0x42eca1(0x208))['to'](_0x2d44cc,_0x42eca1(0x208),this,_0x42eca1(0x1d6),(_0x51514a,_0x597ddf)=>(_0x42eca1(0x1f6)!==_0x51514a&&(this[_0x42eca1(0x1d0)]=!0x0),_0x597ddf||_0x51514a!==_0x628d6e[_0x42eca1(0x1f0)]?_0x628d6e[_0x42eca1(0x1e7)]:this[_0x42eca1(0x208)]==_0x628d6e[_0x42eca1(0x1e7)]&&this[_0x42eca1(0x1d0)]?(this[_0x42eca1(0x1d0)]=!0x1,this[_0x42eca1(0x20a)](),_0x628d6e[_0x42eca1(0x20e)]):_0x628d6e[_0x42eca1(0x1f0)])),this[_0x42eca1(0x205)]['on'](_0x42eca1(0x1db),(_0x339f01,_0x261e58)=>{const _0x3ef31d=_0x42eca1;if(_0x3ef31d(0x1e0)!==_0x261e58[_0x3ef31d(0x1fd)])throw console[_0x3ef31d(0x1db)](_0x261e58),new _0x1c2f67(_0x3ef31d(0x1d2),null,{'originalError':_0x261e58});_0x3b52c9[_0x3ef31d(0x1d3)](_0x3ef31d(0x209),{'title':_0x3ef31d(0x1fa),'namespace':_0x3ef31d(0x1f3)});}),!_0x2d44cc['me'])return new Promise(_0x388f85=>_0x2d44cc['on'](_0x42eca1(0x206),_0x388f85));})[_0x5b702c(0x1fb)](_0x3f9ba6=>{const _0x3c1595=_0x5b702c;throw console[_0x3c1595(0x1db)](_0x3f9ba6),new _0x1c2f67(_0x3c1595(0x1d2),null,{'originalError':_0x3f9ba6});});}[_0xca0bda(0x1f5)](_0x16cef9){const _0x2514c3=_0xca0bda;if(_0x2514c3(0x20b)!=typeof _0x16cef9[_0x2514c3(0x1d8)])throw new _0x1c2f67(_0x2514c3(0x20f),this);if(this[_0x2514c3(0x1ef)](_0x16cef9))throw new _0x1c2f67(_0x2514c3(0x1f1),this,{'name':_0x16cef9[_0x2514c3(0x1f8)][_0x2514c3(0x213)]});this[_0x2514c3(0x1e6)][_0x2514c3(0x20c)](_0x16cef9);}[_0xca0bda(0x211)](_0x1475e4){const _0x4a31bb=_0xca0bda;this[_0x4a31bb(0x1e6)][_0x4a31bb(0x1dc)](_0x1475e4);}[_0xca0bda(0x1ef)](_0x1a97a9){const _0x251673=_0xca0bda;return this[_0x251673(0x1e6)][_0x251673(0x1ec)](_0x1a97a9);}[_0xca0bda(0x20a)](){const _0x331ae1=_0xca0bda;return this[_0x331ae1(0x205)][_0x331ae1(0x1d8)]()[_0x331ae1(0x1e3)](()=>Promise[_0x331ae1(0x1d9)](Array[_0x331ae1(0x1cc)](this[_0x331ae1(0x1e6)],_0xd33b59=>_0xd33b59[_0x331ae1(0x1d8)]())))[_0x331ae1(0x1e3)](()=>this[_0x331ae1(0x208)]=_0x628d6e[_0x331ae1(0x1f0)])[_0x331ae1(0x1fb)](_0x8858e9=>{const _0x20dee4=_0x331ae1;throw console[_0x20dee4(0x1db)](_0x8858e9),new _0x1c2f67(_0x20dee4(0x1f7),this[_0x20dee4(0x1f4)]);});}[_0xca0bda(0x1de)](){const _0x3ee3c9=_0xca0bda;this[_0x3ee3c9(0x205)]&&this[_0x3ee3c9(0x205)][_0x3ee3c9(0x1de)](),this[_0x3ee3c9(0x208)]=_0x628d6e[_0x3ee3c9(0x1e7)],this[_0x3ee3c9(0x20d)][_0x3ee3c9(0x1e2)]();}[_0xca0bda(0x212)](){const _0x5c5e28=_0xca0bda;this[_0x5c5e28(0x1de)](),super[_0x5c5e28(0x212)]();}}export{n as WebSocketGateway};
23
+ const _0xab6cb=_0x2474;(function(_0x3abdf1,_0xfd4811){const _0x2fb801=_0x2474,_0x333f2b=_0x3abdf1();while(!![]){try{const _0xf0ee3e=parseInt(_0x2fb801(0xb5))/0x1+parseInt(_0x2fb801(0x90))/0x2*(parseInt(_0x2fb801(0xc1))/0x3)+parseInt(_0x2fb801(0xc2))/0x4+parseInt(_0x2fb801(0xbd))/0x5+parseInt(_0x2fb801(0x84))/0x6+parseInt(_0x2fb801(0x8c))/0x7*(parseInt(_0x2fb801(0x7b))/0x8)+parseInt(_0x2fb801(0xb6))/0x9*(-parseInt(_0x2fb801(0x9b))/0xa);if(_0xf0ee3e===_0xfd4811)break;else _0x333f2b['push'](_0x333f2b['shift']());}catch(_0x212cd1){_0x333f2b['push'](_0x333f2b['shift']());}}}(_0x24e5,0xb288d));import{ContextPlugin as _0x365287}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x6edeb4,CKEditorError as _0xcb7c7c}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x365b77,WEB_SOCKET_GATEWAY_STATES as _0x513476}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x34b45f}from'ckeditor5/src/ui.js';class n extends _0x365287{static [_0xab6cb(0x83)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x365b77)());static [_0xab6cb(0xbf)]=0x3e8;[_0xab6cb(0x91)];[_0xab6cb(0xa9)];[_0xab6cb(0xb1)];[_0xab6cb(0x8e)];static get[_0xab6cb(0x8f)](){const _0x4cc95f=_0xab6cb;return[_0x4cc95f(0xa7),_0x34b45f];}static get[_0xab6cb(0xb7)](){const _0x2d1379=_0xab6cb;return _0x2d1379(0x83);}static get[_0xab6cb(0xb8)](){return!0x0;}static get[_0xab6cb(0x98)](){return!0x0;}constructor(_0x79964b){const _0x440728=_0xab6cb;super(_0x79964b),this[_0x440728(0xc0)](_0x440728(0x85),_0x513476[_0x440728(0x9d)]),this[_0x440728(0xc0)](_0x440728(0xac),!0x1),this[_0x440728(0xa9)]=new Set(),this[_0x440728(0xb1)]=!0x1,this[_0x440728(0x8e)]=new(_0x6edeb4())();}[_0xab6cb(0xbb)](){const _0x2f7f33=_0xab6cb,_0x3b4f67=this[_0x2f7f33(0xc3)],_0x1c6237=_0x3b4f67[_0x2f7f33(0x93)][_0x2f7f33(0x8d)](_0x2f7f33(0xa7)),_0xad7415=_0x3b4f67[_0x2f7f33(0x93)][_0x2f7f33(0x8d)](_0x34b45f);if(!_0x1c6237[_0x2f7f33(0xa1)])throw new _0xcb7c7c(_0x2f7f33(0x86),this);if(!_0x1c6237[_0x2f7f33(0x9f)])throw new _0xcb7c7c(_0x2f7f33(0x88),this);return this[_0x2f7f33(0x8e)][_0x2f7f33(0xbe)](window,_0x2f7f33(0x89),()=>this[_0x2f7f33(0xac)]=!0x0),this[_0x2f7f33(0x8e)][_0x2f7f33(0xbe)](window,_0x2f7f33(0x87),()=>this[_0x2f7f33(0xac)]=!0x1),this[_0x2f7f33(0xc3)][_0x2f7f33(0xb3)][_0x2f7f33(0xbc)](_0x2f7f33(0xa8),0xa),this[_0x2f7f33(0xc3)][_0x2f7f33(0xb3)][_0x2f7f33(0xbc)](_0x2f7f33(0xb2),0x14),n[_0x2f7f33(0x83)][_0x2f7f33(0x97)](_0x1c6237[_0x2f7f33(0xa1)],_0x1c6237[_0x2f7f33(0x9f)],{'timeout':0x3e8*this[_0x2f7f33(0xc3)][_0x2f7f33(0xb3)][_0x2f7f33(0x8d)](_0x2f7f33(0xa8)),'requestTimeout':0x3e8*this[_0x2f7f33(0xc3)][_0x2f7f33(0xb3)][_0x2f7f33(0x8d)](_0x2f7f33(0xb2))})[_0x2f7f33(0x80)](_0x29937a=>{const _0x2adeb1=_0x2f7f33;if(this[_0x2adeb1(0x91)]=_0x29937a,this[_0x2adeb1(0xaa)](_0x2adeb1(0x85))['to'](_0x29937a,_0x2adeb1(0x85),this,_0x2adeb1(0xac),(_0x4e26c2,_0x2b11a6)=>(_0x2adeb1(0x96)!==_0x4e26c2&&(this[_0x2adeb1(0xb1)]=!0x0),_0x2b11a6||_0x4e26c2!==_0x513476[_0x2adeb1(0x9d)]?_0x513476[_0x2adeb1(0xba)]:this[_0x2adeb1(0x85)]==_0x513476[_0x2adeb1(0xba)]&&this[_0x2adeb1(0xb1)]?(this[_0x2adeb1(0xb1)]=!0x1,this[_0x2adeb1(0xab)](),_0x513476[_0x2adeb1(0x9a)]):_0x513476[_0x2adeb1(0x9d)])),this[_0x2adeb1(0x91)]['on'](_0x2adeb1(0xa0),(_0x386893,_0x1b8daf)=>{const _0x303946=_0x2adeb1;if(_0x303946(0x7f)!==_0x1b8daf[_0x303946(0x99)])throw console[_0x303946(0xa0)](_0x1b8daf),new _0xcb7c7c(_0x303946(0x82),null,{'originalError':_0x1b8daf});_0xad7415[_0x303946(0x8a)](_0x303946(0x7d),{'title':_0x303946(0xa2),'namespace':_0x303946(0xa3)});}),!_0x29937a['me'])return new Promise(_0x4c2c90=>_0x29937a['on'](_0x2adeb1(0xaf),_0x4c2c90));})[_0x2f7f33(0xa5)](_0x8e53a2=>{const _0x4bbac2=_0x2f7f33;throw console[_0x4bbac2(0xa0)](_0x8e53a2),new _0xcb7c7c(_0x4bbac2(0x82),null,{'originalError':_0x8e53a2});});}[_0xab6cb(0xa4)](_0xaaedec){const _0x4d094c=_0xab6cb;if(_0x4d094c(0x94)!=typeof _0xaaedec[_0x4d094c(0xb4)])throw new _0xcb7c7c(_0x4d094c(0xae),this);if(this[_0x4d094c(0x7e)](_0xaaedec))throw new _0xcb7c7c(_0x4d094c(0xc4),this,{'name':_0xaaedec[_0x4d094c(0x92)][_0x4d094c(0xb7)]});this[_0x4d094c(0xa9)][_0x4d094c(0x81)](_0xaaedec);}[_0xab6cb(0xad)](_0x33cce7){const _0x5a28bc=_0xab6cb;this[_0x5a28bc(0xa9)][_0x5a28bc(0x8b)](_0x33cce7);}[_0xab6cb(0x7e)](_0x40d1a3){const _0x47e62b=_0xab6cb;return this[_0x47e62b(0xa9)][_0x47e62b(0xa6)](_0x40d1a3);}[_0xab6cb(0xab)](){const _0x90da22=_0xab6cb;return this[_0x90da22(0x91)][_0x90da22(0xb4)]()[_0x90da22(0x80)](()=>Promise[_0x90da22(0xb9)](Array[_0x90da22(0xb0)](this[_0x90da22(0xa9)],_0x227553=>_0x227553[_0x90da22(0xb4)]())))[_0x90da22(0x80)](()=>this[_0x90da22(0x85)]=_0x513476[_0x90da22(0x9d)])[_0x90da22(0xa5)](_0x593dbe=>{const _0x405c41=_0x90da22;throw console[_0x405c41(0xa0)](_0x593dbe),new _0xcb7c7c(_0x405c41(0x95),this[_0x405c41(0xc3)]);});}[_0xab6cb(0x7c)](){const _0x192c83=_0xab6cb;this[_0x192c83(0x91)]&&this[_0x192c83(0x91)][_0x192c83(0x7c)](),this[_0x192c83(0x85)]=_0x513476[_0x192c83(0xba)],this[_0x192c83(0x8e)][_0x192c83(0x9e)]();}[_0xab6cb(0x9c)](){const _0x462141=_0xab6cb;this[_0x462141(0x7c)](),super[_0x462141(0x9c)]();}}function _0x24e5(){const _0x3ca580=['addToReconnectionStack','catch','has','CloudServices','cloudServices.connectionTimeout','_reconnectionStack','bind','_reconnect','_isBrowserOffline','removeFromReconnectionStack','websocketgateway-invalid-plugin-interface','change:me','from','_shouldPluginsReconnect','cloudServices.requestTimeout','config','reconnect','586608ZtGxtq','37242207WtgpcK','pluginName','isOfficialPlugin','all','DISCONNECTED','init','define','1483620IyqIsa','listenTo','initialReconnectionInterval','set','69tBkNVs','3511924vByVqS','context','websocketgateway-plugin-already-registered','1776cLkkEn','disconnect','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.','isInReconnectionStack','limitExceeded','then','add','cloudservices-init','WebSocketGateway','7503108OyXPBG','state','websocketgateway-missing-token','online','websocketgateway-missing-websocket-url','offline','showWarning','delete','20678OdwUtc','get','_domEmitter','requires','104494ayadZu','connection','constructor','plugins','function','cloudservices-reconnection-error','connected','connect','isPremiumPlugin','code','CONNECTING','10kaNkmp','destroy','CONNECTED','stopListening','webSocketUrl','error','token','Connected\x20users\x20limit\x20exceeded','real-time-collaboration'];_0x24e5=function(){return _0x3ca580;};return _0x24e5();}function _0x2474(_0x5ee482,_0x56d663){const _0x24e5ad=_0x24e5();return _0x2474=function(_0x2474d5,_0x166912){_0x2474d5=_0x2474d5-0x7b;let _0x582173=_0x24e5ad[_0x2474d5];return _0x582173;},_0x2474(_0x5ee482,_0x56d663);}export{n as WebSocketGateway};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x42db57=_0x43d6;(function(_0x118cbc,_0x21a75d){var _0x57c504=_0x43d6,_0x359d04=_0x118cbc();while(!![]){try{var _0xcb1795=parseInt(_0x57c504(0x76))/0x1+-parseInt(_0x57c504(0x74))/0x2*(parseInt(_0x57c504(0x7f))/0x3)+-parseInt(_0x57c504(0x77))/0x4*(-parseInt(_0x57c504(0x7c))/0x5)+-parseInt(_0x57c504(0x7a))/0x6*(parseInt(_0x57c504(0x75))/0x7)+-parseInt(_0x57c504(0x82))/0x8+parseInt(_0x57c504(0x81))/0x9+-parseInt(_0x57c504(0x80))/0xa;if(_0xcb1795===_0x21a75d)break;else _0x359d04['push'](_0x359d04['shift']());}catch(_0x536cae){_0x359d04['push'](_0x359d04['shift']());}}}(_0x36fa,0xb3ca9));import{Plugin as _0x1b8ac5}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x57205d}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x1b8ac5{static get[_0x42db57(0x7b)](){return[_0x57205d];}static get[_0x42db57(0x78)](){var _0x21bf8c=_0x42db57;return _0x21bf8c(0x7e);}static get[_0x42db57(0x7d)](){return!0x0;}static get[_0x42db57(0x79)](){return!0x0;}}function _0x43d6(_0x1acbb9,_0x1d7aff){var _0x36fae4=_0x36fa();return _0x43d6=function(_0x43d656,_0x4d8912){_0x43d656=_0x43d656-0x74;var _0x35310d=_0x36fae4[_0x43d656];return _0x35310d;},_0x43d6(_0x1acbb9,_0x1d7aff);}function _0x36fa(){var _0x145cd2=['9192jQFAAD','pluginName','isPremiumPlugin','1614OqSTvw','requires','785nzmxIK','isOfficialPlugin','RealTimeCollaborativeEditing','21YWwVeO','1911040PZGMuN','7957089TXLAkT','12552IBNnBD','150794CilBRI','29379osnyiy','1340963LAvGlb'];_0x36fa=function(){return _0x145cd2;};return _0x36fa();}
23
+ function _0x3abe(_0x37e26f,_0x2c54b9){var _0x19b917=_0x19b9();return _0x3abe=function(_0x3abe2a,_0x5f0ea3){_0x3abe2a=_0x3abe2a-0x1e0;var _0x59c8a5=_0x19b917[_0x3abe2a];return _0x59c8a5;},_0x3abe(_0x37e26f,_0x2c54b9);}var _0x42d80f=_0x3abe;(function(_0x2ac1a3,_0x2b8df3){var _0x467e3b=_0x3abe,_0x3b03c2=_0x2ac1a3();while(!![]){try{var _0x39d4fc=parseInt(_0x467e3b(0x1e8))/0x1*(-parseInt(_0x467e3b(0x1e2))/0x2)+-parseInt(_0x467e3b(0x1e0))/0x3+-parseInt(_0x467e3b(0x1e1))/0x4+parseInt(_0x467e3b(0x1ec))/0x5+-parseInt(_0x467e3b(0x1e7))/0x6*(parseInt(_0x467e3b(0x1e3))/0x7)+parseInt(_0x467e3b(0x1e5))/0x8*(parseInt(_0x467e3b(0x1ea))/0x9)+parseInt(_0x467e3b(0x1ed))/0xa;if(_0x39d4fc===_0x2b8df3)break;else _0x3b03c2['push'](_0x3b03c2['shift']());}catch(_0x15f918){_0x3b03c2['push'](_0x3b03c2['shift']());}}}(_0x19b9,0x2b7df));import{Plugin as _0xbf682b}from'ckeditor5/src/core.js';function _0x19b9(){var _0x29075a=['31761MpDDcQ','isPremiumPlugin','924230qDnHIf','1324260FCSGHr','RealTimeCollaborativeEditing','717333dJvlve','129944ogXjXb','4zqGoKi','616399sApTyn','pluginName','664WaPAUK','requires','6CmCBMq','36191ShJnmo','isOfficialPlugin'];_0x19b9=function(){return _0x29075a;};return _0x19b9();}import{RealTimeCollaborationClient as _0x4d8814}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0xbf682b{static get[_0x42d80f(0x1e6)](){return[_0x4d8814];}static get[_0x42d80f(0x1e4)](){var _0x3ff054=_0x42d80f;return _0x3ff054(0x1ee);}static get[_0x42d80f(0x1e9)](){return!0x0;}static get[_0x42d80f(0x1eb)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2dd8(_0x47876e,_0x581a05){const _0x4bc802=_0x4bc8();return _0x2dd8=function(_0x2dd8d6,_0x513c7e){_0x2dd8d6=_0x2dd8d6-0x191;let _0x2f64ad=_0x4bc802[_0x2dd8d6];return _0x2f64ad;},_0x2dd8(_0x47876e,_0x581a05);}const _0x2a23e5=_0x2dd8;(function(_0x48aec6,_0x386b9c){const _0x4fa511=_0x2dd8,_0x8cfa73=_0x48aec6();while(!![]){try{const _0x1a1b96=-parseInt(_0x4fa511(0x1e6))/0x1*(-parseInt(_0x4fa511(0x1ea))/0x2)+-parseInt(_0x4fa511(0x202))/0x3*(parseInt(_0x4fa511(0x1d8))/0x4)+-parseInt(_0x4fa511(0x19c))/0x5+-parseInt(_0x4fa511(0x200))/0x6+-parseInt(_0x4fa511(0x1fe))/0x7+parseInt(_0x4fa511(0x1ec))/0x8+parseInt(_0x4fa511(0x1d0))/0x9;if(_0x1a1b96===_0x386b9c)break;else _0x8cfa73['push'](_0x8cfa73['shift']());}catch(_0x27a910){_0x8cfa73['push'](_0x8cfa73['shift']());}}}(_0x4bc8,0xe7867));import{Plugin as _0x346647}from'ckeditor5/src/core.js';import{version as _0x1c420f}from'ckeditor5/src/utils.js';import{Users as _0x4158ec}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4bc8(){const _0x27993b=['then','reconnect','_lastRequestId','2OqzzmO','config','7509288MThhtI','setRevisionData','authorsIds','collaboration.channelId','reverse','RevisionHistory','size','createdAt','listenTo','change:_isConnected','_revisionTracker','sendBufferedUpdates','_handleRevisionsUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','data','repository','getMany','adapter','12119408fBgRJB','map','8148468ONuTdv','addToReconnectionStack','48TzprQE','reInit','400','once','destroy','state','connect','RevisionTracker','catch','_createCurrentRevision','get','_startingVersion','_oldOffset','1172415gxtBHa','connected','isEmptyCurrent','getRevisions','_update','toVersion','add','getRevision','authors','creatorId','pluginName','_handleReconnectionError','_fixRevision','marker','_getLatestVersion','from','addUser','buildRevisionData','change:_isPendingUpdate','cloud-services-internal-error:\x20Not\x20connected.','addRevisionData','getOperations','type','isConnected','message','_revisions','wrongRequestId','_getLatestVersionFromServerOperations','_revisionHistoryService','off','isPremiumPlugin','baseVersion','fromVersion','cloudServices.bundleVersion','cloud-services-internal-error:\x20Request\x20timeout.','_bufferedUpdates','revisionsUpdated','startsWith','updateRevisions','isOfficialPlugin','keys','remove','currentRevision','_isConnected','isBundleUploaded','_offset','_isPendingUpdate','max','editor','_waitForServiceReady','_fetchMissingUsers','diffData','40099824ZYJLKa','CloudServicesRevisionHistoryAdapter','init','sessionId','serverHistory','has','connection','getUser','341840vtYisX','code','_preventResendingRevisionData','bind','CONNECTED','_revisionDataBuilder','length','isEnabled','RevisionHistoryService','_bufferUpdate','plugins','requires','affectsData','setSource','245395WnwGaq'];_0x4bc8=function(){return _0x27993b;};return _0x4bc8();}import{RealTimeCollaborationClient as _0x38367c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5b69e0}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1716bf}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x32d9f4,RevisionHistoryService as _0x575ee9,User as _0x917fca,WEB_SOCKET_GATEWAY_STATES as _0x273668}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x346647{static [_0x2a23e5(0x1e0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x575ee9)());[_0x2a23e5(0x1e9)];[_0x2a23e5(0x1f6)];[_0x2a23e5(0x1b8)];[_0x2a23e5(0x19b)];static get[_0x2a23e5(0x1e3)](){const _0x20d3cd=_0x2a23e5;return[_0x5b69e0,_0x38367c,_0x20d3cd(0x1f1),_0x1716bf,_0x4158ec];}static get[_0x2a23e5(0x1a6)](){const _0x10a533=_0x2a23e5;return _0x10a533(0x1d1);}static get[_0x2a23e5(0x1c3)](){return!0x0;}static get[_0x2a23e5(0x1ba)](){return!0x0;}constructor(_0x263e84){const _0x1332db=_0x2a23e5;super(_0x263e84);const _0x1d416b=this[_0x1332db(0x1cc)][_0x1332db(0x1eb)][_0x1332db(0x199)](_0x1332db(0x1ef));this[_0x1332db(0x1e9)]=null,this[_0x1332db(0x1f6)]=this[_0x1332db(0x1cc)][_0x1332db(0x1e2)][_0x1332db(0x199)](_0x1332db(0x196)),this[_0x1332db(0x1b8)]=new c[(_0x1332db(0x1e0))](_0x1d416b);}async[_0x2a23e5(0x1d2)](){const _0x54a0d4=_0x2a23e5,_0x4276fa=this[_0x54a0d4(0x1cc)][_0x54a0d4(0x1e2)][_0x54a0d4(0x199)](_0x38367c),_0x3e2523=_0x4276fa[_0x54a0d4(0x1d4)],_0x43c1ea=this[_0x54a0d4(0x1cc)][_0x54a0d4(0x1e2)][_0x54a0d4(0x199)](_0x5b69e0);this[_0x54a0d4(0x1f6)][_0x54a0d4(0x1e5)]({'history':_0x3e2523,'getLatestVersion':()=>this[_0x54a0d4(0x1aa)](),'getCurrentRevisionId':()=>_0x4276fa[_0x54a0d4(0x1d3)]});const _0x1a2427=this[_0x54a0d4(0x1cc)][_0x54a0d4(0x1eb)][_0x54a0d4(0x199)](_0x54a0d4(0x1bd))||_0x1c420f,_0xee80de=await _0x32d9f4[_0x54a0d4(0x1c8)](_0x43c1ea[_0x54a0d4(0x1d6)],_0x1a2427);this[_0x54a0d4(0x1cc)][_0x54a0d4(0x1e2)][_0x54a0d4(0x199)](_0x54a0d4(0x1f1))[_0x54a0d4(0x1fd)]={'getRevision':async({revisionId:_0x513a49})=>(await this[_0x54a0d4(0x1cd)](),await this[_0x54a0d4(0x1b8)][_0x54a0d4(0x1a3)](_0x513a49)),'updateRevisions':async _0x19bd44=>{const _0x1230dc=_0x54a0d4;await this[_0x1230dc(0x1cd)]();const _0x25133e=this[_0x1230dc(0x1f6)][_0x1230dc(0x1c6)];if(_0xee80de&&0x1===_0x19bd44[_0x1230dc(0x1de)]&&_0x19bd44[0x0]['id']===_0x25133e['id'])return _0x19bd44;for(const _0x2b3c12 of _0x19bd44)_0x2b3c12['id']===_0x25133e['id']&&(_0x2b3c12[_0x1230dc(0x19e)]=_0x2b3c12[_0x1230dc(0x1bc)]===_0x2b3c12[_0x1230dc(0x1a1)]);return this[_0x1230dc(0x1b8)][_0x1230dc(0x1c2)](_0x19bd44,this[_0x1230dc(0x1e9)])[_0x1230dc(0x1e7)](_0x141f11=>(this[_0x1230dc(0x1e9)]=_0x141f11,_0x19bd44))[_0x1230dc(0x197)](_0x29d47c=>{const _0x4c58bf=_0x1230dc;if(st(_0x29d47c)||_0x4c58bf(0x191)===_0x29d47c[_0x4c58bf(0x1d9)]&&void 0x0!==_0x29d47c[_0x4c58bf(0x1fa)][_0x4c58bf(0x1b6)]){for(const _0x140ee0 of _0x19bd44){!this[_0x4c58bf(0x1f6)][_0x4c58bf(0x1fb)][_0x4c58bf(0x1a3)](_0x140ee0['id'])||this[_0x4c58bf(0x1f6)][_0x4c58bf(0x1e1)](_0x140ee0['id'],_0x140ee0,!0x1);}if(st(_0x29d47c))throw _0x29d47c;return _0x19bd44;}throw _0x29d47c;});}},this[_0x54a0d4(0x1f4)](this[_0x54a0d4(0x1b8)],_0x54a0d4(0x1c0),(_0x48f057,{revisionsData:_0x3fdc4,requestId:_0x16ba6c})=>{const _0x1f3f23=_0x54a0d4;Math[_0x1f3f23(0x1cb)](..._0x3fdc4[_0x1f3f23(0x1ff)](_0x2e5a56=>_0x2e5a56[_0x1f3f23(0x1a1)]))>this[_0x1f3f23(0x1b7)]()-0x1?this[_0x1f3f23(0x1aa)]()[_0x1f3f23(0x1e7)](()=>{const _0x328e86=_0x1f3f23;this[_0x328e86(0x1f8)](_0x3fdc4,_0x16ba6c);}):this[_0x1f3f23(0x1f8)](_0x3fdc4,_0x16ba6c);});const {revisions:_0x292ddf,requestId:_0x5e0304}=await this[_0x54a0d4(0x1b8)][_0x54a0d4(0x195)](_0x43c1ea[_0x54a0d4(0x1d6)]);_0x43c1ea[_0x54a0d4(0x201)](this),this[_0x54a0d4(0x1e9)]=_0x5e0304,await this[_0x54a0d4(0x1ce)](_0x292ddf);for(const _0x5dff12 of _0x292ddf)this[_0x54a0d4(0x1f6)][_0x54a0d4(0x1b0)](_0x5dff12);this[_0x54a0d4(0x1f4)](_0x4276fa,_0x54a0d4(0x1f5),(_0x4ff8d8,_0x1d6f08,_0x23d198)=>{const _0xf28d46=_0x54a0d4;_0x23d198&&(this[_0xf28d46(0x19b)]=_0x4276fa[_0xf28d46(0x1c9)],_0x4ff8d8[_0xf28d46(0x1b9)]());}),this[_0x54a0d4(0x1f6)][_0x54a0d4(0x1db)](_0x54a0d4(0x1df))['to'](_0x43c1ea,_0x54a0d4(0x194),_0x353959=>_0x353959===_0x273668[_0x54a0d4(0x1dc)]);}async[_0x2a23e5(0x1e8)](){const _0x4a312c=_0x2a23e5,_0x314065=this[_0x4a312c(0x1cc)][_0x4a312c(0x1e2)][_0x4a312c(0x199)](_0x5b69e0),_0x5cc79f=this[_0x4a312c(0x1cc)][_0x4a312c(0x1e2)][_0x4a312c(0x199)](_0x38367c),_0x431c64=async()=>{const _0x72d363=_0x4a312c,_0x47fbec=this[_0x72d363(0x1f6)][_0x72d363(0x1c6)],_0x2b5ff0=_0x47fbec['id'],_0x2971bd=_0x2b5ff0!==_0x5cc79f[_0x72d363(0x1d3)];if(_0x2971bd){const _0x30e835=_0x5cc79f[_0x72d363(0x1c9)]-this[_0x72d363(0x19b)],_0x5a0048=this[_0x72d363(0x1b7)]();this[_0x72d363(0x1f6)][_0x72d363(0x1dd)][_0x72d363(0x203)]();if(_0x47fbec[_0x72d363(0x1a1)]+_0x30e835!==_0x5a0048){const _0x568f3b=_0x47fbec[_0x72d363(0x1bc)]+_0x30e835,_0x10b57e=this[_0x72d363(0x1cc)][_0x72d363(0x1e2)][_0x72d363(0x199)](_0x4158ec),_0x121820=this[_0x72d363(0x1f6)][_0x72d363(0x1ad)]({'revision':_0x47fbec,'from':_0x568f3b,'to':_0x5a0048});_0x121820['id']=_0x47fbec['id'];const _0xa1a7ba=_0x121820[_0x72d363(0x1ee)][_0x72d363(0x1ff)](_0x103514=>_0x10b57e[_0x72d363(0x1d7)](_0x103514));_0x47fbec[_0x72d363(0x1a0)]({..._0x121820,'authors':_0xa1a7ba},!0x0),this[_0x72d363(0x1f6)][_0x72d363(0x1e1)](_0x47fbec['id'],_0x121820,!0x0);}this[_0x72d363(0x1f6)][_0x72d363(0x19a)]=_0x5a0048,(_0x47fbec[_0x72d363(0x1a1)]===_0x47fbec[_0x72d363(0x1bc)]&&!this[_0x72d363(0x1f6)][_0x72d363(0x1bf)][_0x72d363(0x1d5)](_0x2b5ff0)&&this[_0x72d363(0x1f6)][_0x72d363(0x1fb)][_0x72d363(0x1b5)][_0x72d363(0x1c5)](_0x2b5ff0),this[_0x72d363(0x1f6)][_0x72d363(0x198)](_0x5a0048));}const {revisions:_0x378bc9,requestId:_0x424b11}=await this[_0x72d363(0x1b8)][_0x72d363(0x1e8)](_0x314065[_0x72d363(0x1d6)],this[_0x72d363(0x1e9)]);_0x2971bd&&_0x378bc9[_0x72d363(0x1de)]>0x0?_0x5cc79f[_0x72d363(0x1a7)]():(await this[_0x72d363(0x1ce)](_0x378bc9),this[_0x72d363(0x1f8)](_0x378bc9,_0x424b11),this[_0x72d363(0x1f6)][_0x72d363(0x1f7)]());};return _0x5cc79f[_0x4a312c(0x1c7)]?_0x431c64():new Promise((_0xca3033,_0x409842)=>{const _0x13d441=_0x4a312c;_0x5cc79f[_0x13d441(0x192)](_0x13d441(0x1f5),()=>{const _0x49cd70=_0x13d441;_0x431c64()[_0x49cd70(0x1e7)](_0xca3033)[_0x49cd70(0x197)](_0x409842);});});}[_0x2a23e5(0x193)](){const _0x3efe7a=_0x2a23e5;super[_0x3efe7a(0x193)]();}async[_0x2a23e5(0x1cd)](){const _0x4fa020=_0x2a23e5;this[_0x4fa020(0x1b8)][_0x4fa020(0x1b3)]||await new Promise(_0xf79326=>{const _0x186d5c=_0x4fa020;this[_0x186d5c(0x1f4)](this[_0x186d5c(0x1b8)],_0x186d5c(0x19d),_0x35dd72=>{const _0x51b990=_0x186d5c;_0x35dd72[_0x51b990(0x1b9)](),_0xf79326();});});}[_0x2a23e5(0x1b7)](){const _0x20f42c=_0x2a23e5,_0x2a1a2c=this[_0x20f42c(0x1cc)][_0x20f42c(0x1e2)][_0x20f42c(0x199)](_0x38367c)[_0x20f42c(0x1d4)][_0x20f42c(0x1b1)]()[_0x20f42c(0x1f0)]();for(const _0x188377 of _0x2a1a2c)if(_0x20f42c(0x1a9)!==_0x188377[_0x20f42c(0x1b2)]||_0x188377[_0x20f42c(0x1e4)])return _0x188377[_0x20f42c(0x1bb)]+0x1;}[_0x2a23e5(0x1aa)](){const _0x1dc3ae=_0x2a23e5,_0x10964f=this[_0x1dc3ae(0x1cc)][_0x1dc3ae(0x1e2)][_0x1dc3ae(0x199)](_0x38367c);return new Promise(_0x2da597=>{const _0x3416d5=_0x1dc3ae;_0x10964f[_0x3416d5(0x1ca)]?_0x10964f[_0x3416d5(0x192)](_0x3416d5(0x1ae),()=>{const _0x1e7c3c=_0x3416d5;_0x2da597(this[_0x1e7c3c(0x1b7)]());}):_0x2da597(this[_0x3416d5(0x1b7)]());});}[_0x2a23e5(0x1f8)](_0x107590,_0x3e817c){const _0x34c9f2=_0x2a23e5,_0x3cf1c4=this[_0x34c9f2(0x1f6)][_0x34c9f2(0x1fb)];this[_0x34c9f2(0x1e9)]=_0x3e817c;for(const _0x3d66cb of _0x107590){const _0x2bc8df=_0x3cf1c4[_0x34c9f2(0x1a3)](_0x3d66cb['id']);if(_0x2bc8df){if((_0x3d66cb[_0x34c9f2(0x1bc)]||_0x3d66cb[_0x34c9f2(0x1a1)])&&(_0x3d66cb[_0x34c9f2(0x1cf)]=null),_0x2bc8df===this[_0x34c9f2(0x1f6)][_0x34c9f2(0x1c6)]){const _0x591d63=Math[_0x34c9f2(0x1cb)](_0x2bc8df[_0x34c9f2(0x1a1)],_0x3d66cb[_0x34c9f2(0x1a1)]),_0x26b8f9=Math[_0x34c9f2(0x1cb)](_0x2bc8df[_0x34c9f2(0x1bc)],_0x3d66cb[_0x34c9f2(0x1bc)]);let _0x51ba7a;_0x2bc8df[_0x34c9f2(0x1a1)]===_0x3d66cb[_0x34c9f2(0x1a1)]&&_0x2bc8df[_0x34c9f2(0x1bc)]===_0x3d66cb[_0x34c9f2(0x1bc)]?(_0x51ba7a=!0x0,this[_0x34c9f2(0x1da)](_0x3d66cb)):_0x3d66cb[_0x34c9f2(0x1a1)]===_0x591d63&&_0x3d66cb[_0x34c9f2(0x1bc)]===_0x26b8f9?_0x51ba7a=!0x1:(_0x2bc8df[_0x34c9f2(0x1a1)]===_0x591d63&&_0x2bc8df[_0x34c9f2(0x1bc)]===_0x26b8f9||this[_0x34c9f2(0x1a8)]({'revision':_0x2bc8df,'from':_0x26b8f9,'to':_0x591d63}),_0x51ba7a=!0x0),_0x51ba7a&&(delete _0x3d66cb[_0x34c9f2(0x1bc)],delete _0x3d66cb[_0x34c9f2(0x1a1)],delete _0x3d66cb[_0x34c9f2(0x1cf)],delete _0x3d66cb[_0x34c9f2(0x1f3)],delete _0x3d66cb[_0x34c9f2(0x1ee)]);}this[_0x34c9f2(0x1f6)][_0x34c9f2(0x1ed)](_0x3d66cb),this[_0x34c9f2(0x1da)](_0x3d66cb);}else this[_0x34c9f2(0x1f6)][_0x34c9f2(0x1b0)](_0x3d66cb);}const _0x8aa2c=_0x3cf1c4[_0x34c9f2(0x19f)]();_0x8aa2c[_0x34c9f2(0x1f0)]();for(let _0x55764a=0x0;_0x55764a<_0x8aa2c[_0x34c9f2(0x1de)]-0x1;_0x55764a++){const _0x520c41=_0x8aa2c[_0x55764a],_0x1d77fe=_0x8aa2c[_0x55764a+0x1];if(_0x520c41[_0x34c9f2(0x1bc)]<_0x1d77fe[_0x34c9f2(0x1a1)]){const _0x529c24=_0x1d77fe[_0x34c9f2(0x1a1)],_0x3eecc7=Math[_0x34c9f2(0x1cb)](_0x529c24,_0x520c41[_0x34c9f2(0x1a1)]);this[_0x34c9f2(0x1a8)]({'revision':_0x520c41,'from':_0x529c24,'to':_0x3eecc7});}}}[_0x2a23e5(0x1a8)]({revision:_0x1b81f8,from:_0x4081df,to:_0x19f536}={}){const _0x108c2e=_0x2a23e5,_0x1388a3=this[_0x108c2e(0x1cc)][_0x108c2e(0x1e2)][_0x108c2e(0x199)](_0x4158ec),_0x3ade86=this[_0x108c2e(0x1f6)][_0x108c2e(0x1ad)]({'revision':_0x1b81f8,'from':_0x4081df,'to':_0x19f536});_0x3ade86[_0x108c2e(0x1a4)]=_0x3ade86[_0x108c2e(0x1ee)][_0x108c2e(0x1ff)](_0x5c0d5a=>_0x1388a3[_0x108c2e(0x1d7)](_0x5c0d5a)),_0x1b81f8[_0x108c2e(0x1a0)](_0x3ade86);}[_0x2a23e5(0x1da)](_0x4d051d){const _0x20ab8a=_0x2a23e5,_0x4787ad={};_0x4787ad['id']=_0x4d051d['id'];for(const _0x414cfd of Object[_0x20ab8a(0x1c4)](_0x4d051d))'id'!==_0x414cfd&&(_0x4787ad[_0x414cfd]=void 0x0);this[_0x20ab8a(0x1f6)][_0x20ab8a(0x1e1)](_0x4787ad['id'],_0x4787ad,!0x0);}async[_0x2a23e5(0x1ce)](_0xdd3516){const _0x34d978=_0x2a23e5,_0x14e195=this[_0x34d978(0x1cc)][_0x34d978(0x1e2)][_0x34d978(0x199)](_0x4158ec),{connection:_0x53e865}=this[_0x34d978(0x1cc)][_0x34d978(0x1e2)][_0x34d978(0x199)](_0x5b69e0),_0x39627b=new Set();for(const _0x273970 of _0xdd3516){for(const _0xac6b87 of _0x273970[_0x34d978(0x1ee)])_0x50aec5(_0xac6b87);_0x273970[_0x34d978(0x1a5)]&&_0x50aec5(_0x273970[_0x34d978(0x1a5)]);}if(0x0===_0x39627b[_0x34d978(0x1f2)])return;const _0x3c416a=await _0x917fca[_0x34d978(0x1fc)](_0x53e865,Array[_0x34d978(0x1ab)](_0x39627b));for(const _0x35314f of _0x3c416a)_0x14e195[_0x34d978(0x1d7)](_0x35314f['id'])||_0x14e195[_0x34d978(0x1ac)](_0x35314f);function _0x50aec5(_0x5f1d0f){const _0x5cd546=_0x34d978;_0x14e195[_0x5cd546(0x1d7)](_0x5f1d0f)||_0x39627b[_0x5cd546(0x1a2)](_0x5f1d0f);}}}export{c as CloudServicesRevisionHistoryAdapter};function st(_0x43ff94){const _0x5ead5b=_0x2a23e5;return _0x43ff94[_0x5ead5b(0x1b4)][_0x5ead5b(0x1c1)](_0x5ead5b(0x1f9))||_0x43ff94[_0x5ead5b(0x1b4)][_0x5ead5b(0x1c1)](_0x5ead5b(0x1af))||_0x43ff94[_0x5ead5b(0x1b4)][_0x5ead5b(0x1c1)](_0x5ead5b(0x1be));}
23
+ const _0x23083a=_0x42ec;(function(_0x427a18,_0x4d1438){const _0x104e01=_0x42ec,_0x5a8553=_0x427a18();while(!![]){try{const _0x4a99fb=parseInt(_0x104e01(0xa3))/0x1*(-parseInt(_0x104e01(0x89))/0x2)+parseInt(_0x104e01(0x8d))/0x3*(-parseInt(_0x104e01(0x80))/0x4)+parseInt(_0x104e01(0xae))/0x5+-parseInt(_0x104e01(0x87))/0x6+-parseInt(_0x104e01(0x8f))/0x7*(parseInt(_0x104e01(0x6f))/0x8)+parseInt(_0x104e01(0x9a))/0x9+parseInt(_0x104e01(0x70))/0xa;if(_0x4a99fb===_0x4d1438)break;else _0x5a8553['push'](_0x5a8553['shift']());}catch(_0x56d6bb){_0x5a8553['push'](_0x5a8553['shift']());}}}(_0x1d72,0xa941a));import{Plugin as _0x30a505}from'ckeditor5/src/core.js';import{version as _0x1a6ac9}from'ckeditor5/src/utils.js';import{Users as _0x620728}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2bf3c0}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4ec363}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x598cbf}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4b0edf,RevisionHistoryService as _0x10b53e,User as _0x2da03f,WEB_SOCKET_GATEWAY_STATES as _0x48f2d1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x30a505{static [_0x23083a(0x9f)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x10b53e)());[_0x23083a(0xc6)];[_0x23083a(0x7f)];[_0x23083a(0xd6)];[_0x23083a(0xa0)];static get[_0x23083a(0xa2)](){const _0x39a22a=_0x23083a;return[_0x4ec363,_0x2bf3c0,_0x39a22a(0xba),_0x598cbf,_0x620728];}static get[_0x23083a(0xb5)](){const _0x160639=_0x23083a;return _0x160639(0xd5);}static get[_0x23083a(0x83)](){return!0x0;}static get[_0x23083a(0x82)](){return!0x0;}constructor(_0x42ec3e){const _0x10ff26=_0x23083a;super(_0x42ec3e);const _0x10d766=this[_0x10ff26(0xd2)][_0x10ff26(0xb1)][_0x10ff26(0xc5)](_0x10ff26(0x8c));this[_0x10ff26(0xc6)]=null,this[_0x10ff26(0x7f)]=this[_0x10ff26(0xd2)][_0x10ff26(0x7d)][_0x10ff26(0xc5)](_0x10ff26(0x93)),this[_0x10ff26(0xd6)]=new c[(_0x10ff26(0x9f))](_0x10d766);}async[_0x23083a(0x6e)](){const _0x3850b8=_0x23083a,_0xaaa1cb=this[_0x3850b8(0xd2)][_0x3850b8(0x7d)][_0x3850b8(0xc5)](_0x2bf3c0),_0x98eb33=_0xaaa1cb[_0x3850b8(0xbb)],_0x3b3013=this[_0x3850b8(0xd2)][_0x3850b8(0x7d)][_0x3850b8(0xc5)](_0x4ec363);this[_0x3850b8(0x7f)][_0x3850b8(0x79)]({'history':_0x98eb33,'getLatestVersion':()=>this[_0x3850b8(0xb0)](),'getCurrentRevisionId':()=>_0xaaa1cb[_0x3850b8(0x86)]});const _0x556f97=this[_0x3850b8(0xd2)][_0x3850b8(0xb1)][_0x3850b8(0xc5)](_0x3850b8(0xc0))||_0x1a6ac9,_0x19b6e2=await _0x4b0edf[_0x3850b8(0xa9)](_0x3b3013[_0x3850b8(0x7c)],_0x556f97);this[_0x3850b8(0xd2)][_0x3850b8(0x7d)][_0x3850b8(0xc5)](_0x3850b8(0xba))[_0x3850b8(0x9b)]={'getRevision':async({revisionId:_0x165cd1})=>(await this[_0x3850b8(0xd7)](),await this[_0x3850b8(0xd6)][_0x3850b8(0xd3)](_0x165cd1)),'updateRevisions':async _0x344c44=>{const _0x29e9a7=_0x3850b8;await this[_0x29e9a7(0xd7)]();const _0x3dad16=this[_0x29e9a7(0x7f)][_0x29e9a7(0x96)];if(_0x19b6e2&&0x1===_0x344c44[_0x29e9a7(0x84)]&&_0x344c44[0x0]['id']===_0x3dad16['id'])return _0x344c44;for(const _0x7059b9 of _0x344c44)_0x7059b9['id']===_0x3dad16['id']&&(_0x7059b9[_0x29e9a7(0xb8)]=_0x7059b9[_0x29e9a7(0xaa)]===_0x7059b9[_0x29e9a7(0xbf)]);return this[_0x29e9a7(0xd6)][_0x29e9a7(0xcb)](_0x344c44,this[_0x29e9a7(0xc6)])[_0x29e9a7(0x69)](_0x4b5070=>(this[_0x29e9a7(0xc6)]=_0x4b5070,_0x344c44))[_0x29e9a7(0xab)](_0x1623ed=>{const _0x4d9e99=_0x29e9a7;if(M(_0x1623ed)||_0x4d9e99(0x92)===_0x1623ed[_0x4d9e99(0xa6)]&&void 0x0!==_0x1623ed[_0x4d9e99(0x7e)][_0x4d9e99(0xc4)]){for(const _0x2809c7 of _0x344c44){!this[_0x4d9e99(0x7f)][_0x4d9e99(0x98)][_0x4d9e99(0xd3)](_0x2809c7['id'])||this[_0x4d9e99(0x7f)][_0x4d9e99(0xad)](_0x2809c7['id'],_0x2809c7,!0x1);}if(M(_0x1623ed))throw _0x1623ed;return _0x344c44;}throw _0x1623ed;});}},this[_0x3850b8(0xb4)](this[_0x3850b8(0xd6)],_0x3850b8(0xb2),(_0x721183,{revisionsData:_0x4248c6,requestId:_0x1ec906})=>{const _0x2be0b3=_0x3850b8;Math[_0x2be0b3(0x6d)](..._0x4248c6[_0x2be0b3(0xd9)](_0x30b166=>_0x30b166[_0x2be0b3(0xbf)]))>this[_0x2be0b3(0xc9)]()-0x1?this[_0x2be0b3(0xb0)]()[_0x2be0b3(0x69)](()=>{const _0x50dd05=_0x2be0b3;this[_0x50dd05(0xa7)](_0x4248c6,_0x1ec906);}):this[_0x2be0b3(0xa7)](_0x4248c6,_0x1ec906);});const {revisions:_0x1380ba,requestId:_0x2871ef}=await this[_0x3850b8(0xd6)][_0x3850b8(0x74)](_0x3b3013[_0x3850b8(0x7c)]);_0x3b3013[_0x3850b8(0x6b)](this),this[_0x3850b8(0xc6)]=_0x2871ef,await this[_0x3850b8(0xa1)](_0x1380ba);for(const _0x133398 of _0x1380ba)this[_0x3850b8(0x7f)][_0x3850b8(0x9d)](_0x133398);this[_0x3850b8(0xb4)](_0xaaa1cb,_0x3850b8(0xb7),(_0x153579,_0x30e55d,_0x3b6357)=>{const _0x3aac4f=_0x3850b8;_0x3b6357&&(this[_0x3aac4f(0xa0)]=_0xaaa1cb[_0x3aac4f(0xdc)],_0x153579[_0x3aac4f(0x78)]());}),this[_0x3850b8(0x7f)][_0x3850b8(0xce)](_0x3850b8(0xbc))['to'](_0x3b3013,_0x3850b8(0xb3),_0x46b029=>_0x46b029===_0x48f2d1[_0x3850b8(0x6c)]);}async[_0x23083a(0xa5)](){const _0x42465a=_0x23083a,_0xbd35c8=this[_0x42465a(0xd2)][_0x42465a(0x7d)][_0x42465a(0xc5)](_0x4ec363),_0x3556fd=this[_0x42465a(0xd2)][_0x42465a(0x7d)][_0x42465a(0xc5)](_0x2bf3c0),_0x32bd4a=async()=>{const _0x47ebe7=_0x42465a,_0x446a5d=this[_0x47ebe7(0x7f)][_0x47ebe7(0x96)],_0xe51ebc=_0x446a5d['id'],_0x438dc4=_0xe51ebc!==_0x3556fd[_0x47ebe7(0x86)];if(_0x438dc4){const _0x11ad25=_0x3556fd[_0x47ebe7(0xdc)]-this[_0x47ebe7(0xa0)],_0x50bd22=this[_0x47ebe7(0xc9)]();this[_0x47ebe7(0x7f)][_0x47ebe7(0x90)][_0x47ebe7(0x88)]();if(_0x446a5d[_0x47ebe7(0xbf)]+_0x11ad25!==_0x50bd22){const _0x1e14c1=_0x446a5d[_0x47ebe7(0xaa)]+_0x11ad25,_0x54cdbb=this[_0x47ebe7(0xd2)][_0x47ebe7(0x7d)][_0x47ebe7(0xc5)](_0x620728),_0x8043c8=this[_0x47ebe7(0x7f)][_0x47ebe7(0xaf)]({'revision':_0x446a5d,'from':_0x1e14c1,'to':_0x50bd22});_0x8043c8['id']=_0x446a5d['id'];const _0x1e7c37=_0x8043c8[_0x47ebe7(0xc8)][_0x47ebe7(0xd9)](_0x4bc30c=>_0x54cdbb[_0x47ebe7(0xc3)](_0x4bc30c));_0x446a5d[_0x47ebe7(0xca)]({..._0x8043c8,'authors':_0x1e7c37},!0x0),this[_0x47ebe7(0x7f)][_0x47ebe7(0xad)](_0x446a5d['id'],_0x8043c8,!0x0);}this[_0x47ebe7(0x7f)][_0x47ebe7(0xac)]=_0x50bd22,(_0x446a5d[_0x47ebe7(0xbf)]===_0x446a5d[_0x47ebe7(0xaa)]&&!this[_0x47ebe7(0x7f)][_0x47ebe7(0x9e)][_0x47ebe7(0xcd)](_0xe51ebc)&&this[_0x47ebe7(0x7f)][_0x47ebe7(0x98)][_0x47ebe7(0xdb)][_0x47ebe7(0x85)](_0xe51ebc),this[_0x47ebe7(0x7f)][_0x47ebe7(0xa8)](_0x50bd22));}const {revisions:_0x27701f,requestId:_0x5dbc78}=await this[_0x47ebe7(0xd6)][_0x47ebe7(0xa5)](_0xbd35c8[_0x47ebe7(0x7c)],this[_0x47ebe7(0xc6)]);_0x438dc4&&_0x27701f[_0x47ebe7(0x84)]>0x0?_0x3556fd[_0x47ebe7(0xb9)]():(await this[_0x47ebe7(0xa1)](_0x27701f),this[_0x47ebe7(0xa7)](_0x27701f,_0x5dbc78),this[_0x47ebe7(0x7f)][_0x47ebe7(0x6a)]());};return _0x3556fd[_0x42465a(0xda)]?_0x32bd4a():new Promise((_0x429758,_0x2d2d1f)=>{const _0x743eaf=_0x42465a;_0x3556fd[_0x743eaf(0x99)](_0x743eaf(0xb7),()=>{const _0x21ad49=_0x743eaf;_0x32bd4a()[_0x21ad49(0x69)](_0x429758)[_0x21ad49(0xab)](_0x2d2d1f);});});}[_0x23083a(0x97)](){const _0x3b9fb7=_0x23083a;super[_0x3b9fb7(0x97)]();}async[_0x23083a(0xd7)](){const _0x429a42=_0x23083a;this[_0x429a42(0xd6)][_0x429a42(0xd8)]||await new Promise(_0x573222=>{const _0x91e690=_0x429a42;this[_0x91e690(0xb4)](this[_0x91e690(0xd6)],_0x91e690(0x7a),_0x2e3006=>{const _0x4189c7=_0x91e690;_0x2e3006[_0x4189c7(0x78)](),_0x573222();});});}[_0x23083a(0xc9)](){const _0x3950cd=_0x23083a,_0x1a43fe=this[_0x3950cd(0xd2)][_0x3950cd(0x7d)][_0x3950cd(0xc5)](_0x2bf3c0)[_0x3950cd(0xbb)][_0x3950cd(0x71)]()[_0x3950cd(0xb6)]();for(const _0x42d3af of _0x1a43fe)if(_0x3950cd(0xc7)!==_0x42d3af[_0x3950cd(0xbd)]||_0x42d3af[_0x3950cd(0x91)])return _0x42d3af[_0x3950cd(0xbe)]+0x1;}[_0x23083a(0xb0)](){const _0x2911bb=_0x23083a,_0x3f8378=this[_0x2911bb(0xd2)][_0x2911bb(0x7d)][_0x2911bb(0xc5)](_0x2bf3c0);return new Promise(_0x33355b=>{const _0x531382=_0x2911bb;_0x3f8378[_0x531382(0xc2)]?_0x3f8378[_0x531382(0x99)](_0x531382(0x95),()=>{const _0x11f39d=_0x531382;_0x33355b(this[_0x11f39d(0xc9)]());}):_0x33355b(this[_0x531382(0xc9)]());});}[_0x23083a(0xa7)](_0x12f28a,_0x46beb8){const _0x524837=_0x23083a,_0x15d05c=this[_0x524837(0x7f)][_0x524837(0x98)];this[_0x524837(0xc6)]=_0x46beb8;for(const _0x9cba88 of _0x12f28a){const _0x30c906=_0x15d05c[_0x524837(0xd3)](_0x9cba88['id']);if(_0x30c906){if((_0x9cba88[_0x524837(0xaa)]||_0x9cba88[_0x524837(0xbf)])&&(_0x9cba88[_0x524837(0x81)]=null),_0x30c906===this[_0x524837(0x7f)][_0x524837(0x96)]){const _0x3cb7ea=Math[_0x524837(0x6d)](_0x30c906[_0x524837(0xbf)],_0x9cba88[_0x524837(0xbf)]),_0x487828=Math[_0x524837(0x6d)](_0x30c906[_0x524837(0xaa)],_0x9cba88[_0x524837(0xaa)]);let _0x128d7a;_0x30c906[_0x524837(0xbf)]===_0x9cba88[_0x524837(0xbf)]&&_0x30c906[_0x524837(0xaa)]===_0x9cba88[_0x524837(0xaa)]?(_0x128d7a=!0x0,this[_0x524837(0xa4)](_0x9cba88)):_0x9cba88[_0x524837(0xbf)]===_0x3cb7ea&&_0x9cba88[_0x524837(0xaa)]===_0x487828?_0x128d7a=!0x1:(_0x30c906[_0x524837(0xbf)]===_0x3cb7ea&&_0x30c906[_0x524837(0xaa)]===_0x487828||this[_0x524837(0xd1)]({'revision':_0x30c906,'from':_0x487828,'to':_0x3cb7ea}),_0x128d7a=!0x0),_0x128d7a&&(delete _0x9cba88[_0x524837(0xaa)],delete _0x9cba88[_0x524837(0xbf)],delete _0x9cba88[_0x524837(0x81)],delete _0x9cba88[_0x524837(0xd4)],delete _0x9cba88[_0x524837(0xc8)]);}this[_0x524837(0x7f)][_0x524837(0x7b)](_0x9cba88),this[_0x524837(0xa4)](_0x9cba88);}else this[_0x524837(0x7f)][_0x524837(0x9d)](_0x9cba88);}const _0x1643fc=_0x15d05c[_0x524837(0xc1)]();_0x1643fc[_0x524837(0xb6)]();for(let _0x2858ac=0x0;_0x2858ac<_0x1643fc[_0x524837(0x84)]-0x1;_0x2858ac++){const _0x135630=_0x1643fc[_0x2858ac],_0x3e6f91=_0x1643fc[_0x2858ac+0x1];if(_0x135630[_0x524837(0xaa)]<_0x3e6f91[_0x524837(0xbf)]){const _0x3ec7a4=_0x3e6f91[_0x524837(0xbf)],_0x4efd65=Math[_0x524837(0x6d)](_0x3ec7a4,_0x135630[_0x524837(0xbf)]);this[_0x524837(0xd1)]({'revision':_0x135630,'from':_0x3ec7a4,'to':_0x4efd65});}}}[_0x23083a(0xd1)]({revision:_0x2afbdc,from:_0x418da7,to:_0x3a2b06}={}){const _0x184a3d=_0x23083a,_0x5bbb3c=this[_0x184a3d(0xd2)][_0x184a3d(0x7d)][_0x184a3d(0xc5)](_0x620728),_0xede869=this[_0x184a3d(0x7f)][_0x184a3d(0xaf)]({'revision':_0x2afbdc,'from':_0x418da7,'to':_0x3a2b06});_0xede869[_0x184a3d(0xcc)]=_0xede869[_0x184a3d(0xc8)][_0x184a3d(0xd9)](_0x43be98=>_0x5bbb3c[_0x184a3d(0xc3)](_0x43be98)),_0x2afbdc[_0x184a3d(0xca)](_0xede869);}[_0x23083a(0xa4)](_0x168bca){const _0x3372f2=_0x23083a,_0xf099f9={};_0xf099f9['id']=_0x168bca['id'];for(const _0x555482 of Object[_0x3372f2(0x76)](_0x168bca))'id'!==_0x555482&&(_0xf099f9[_0x555482]=void 0x0);this[_0x3372f2(0x7f)][_0x3372f2(0xad)](_0xf099f9['id'],_0xf099f9,!0x0);}async[_0x23083a(0xa1)](_0x22d053){const _0x31e20b=_0x23083a,_0x5a6c71=this[_0x31e20b(0xd2)][_0x31e20b(0x7d)][_0x31e20b(0xc5)](_0x620728),{connection:_0x1d307f}=this[_0x31e20b(0xd2)][_0x31e20b(0x7d)][_0x31e20b(0xc5)](_0x4ec363),_0x39e407=new Set();for(const _0x17dfff of _0x22d053){for(const _0xfa9163 of _0x17dfff[_0x31e20b(0xc8)])_0x1b2074(_0xfa9163);_0x17dfff[_0x31e20b(0xd0)]&&_0x1b2074(_0x17dfff[_0x31e20b(0xd0)]);}if(0x0===_0x39e407[_0x31e20b(0x94)])return;const _0x20c7c3=await _0x2da03f[_0x31e20b(0x73)](_0x1d307f,Array[_0x31e20b(0x8b)](_0x39e407));for(const _0x5f4a16 of _0x20c7c3)_0x5a6c71[_0x31e20b(0xc3)](_0x5f4a16['id'])||_0x5a6c71[_0x31e20b(0xcf)](_0x5f4a16);function _0x1b2074(_0x46febf){const _0x20371d=_0x31e20b;_0x5a6c71[_0x20371d(0xc3)](_0x46febf)||_0x39e407[_0x20371d(0x9c)](_0x46febf);}}}export{c as CloudServicesRevisionHistoryAdapter};function M(_0x1c1345){const _0x5437e4=_0x23083a;return _0x1c1345[_0x5437e4(0x8e)][_0x5437e4(0x8a)](_0x5437e4(0x75))||_0x1c1345[_0x5437e4(0x8e)][_0x5437e4(0x8a)](_0x5437e4(0x72))||_0x1c1345[_0x5437e4(0x8e)][_0x5437e4(0x8a)](_0x5437e4(0x77));}function _0x42ec(_0x573939,_0x5b4c4c){const _0x1d721a=_0x1d72();return _0x42ec=function(_0x42ecd7,_0x4a1a6b){_0x42ecd7=_0x42ecd7-0x69;let _0x408ce6=_0x1d721a[_0x42ecd7];return _0x408ce6;},_0x42ec(_0x573939,_0x5b4c4c);}function _0x1d72(){const _0x49792b=['updateRevisions','authors','has','bind','addUser','creatorId','_fixRevision','editor','getRevision','createdAt','CloudServicesRevisionHistoryAdapter','_revisionHistoryService','_waitForServiceReady','isConnected','map','_isConnected','_revisions','_offset','then','sendBufferedUpdates','addToReconnectionStack','CONNECTED','max','init','464NUzilf','14075510EAzrLQ','getOperations','cloud-services-internal-error:\x20Not\x20connected.','getMany','connect','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','keys','cloud-services-internal-error:\x20Request\x20timeout.','off','setSource','connected','setRevisionData','connection','plugins','data','_revisionTracker','187228pTXBPb','diffData','isPremiumPlugin','isOfficialPlugin','length','remove','sessionId','3595620hnvvjE','reInit','193878JbtEuI','startsWith','from','collaboration.channelId','15YJNaWE','message','50582ETyhpi','_revisionDataBuilder','affectsData','400','RevisionTracker','size','change:_isPendingUpdate','currentRevision','destroy','repository','once','7489764qCKetY','adapter','add','addRevisionData','_bufferedUpdates','RevisionHistoryService','_oldOffset','_fetchMissingUsers','requires','11aFOOEr','_preventResendingRevisionData','reconnect','code','_handleRevisionsUpdate','_createCurrentRevision','isBundleUploaded','fromVersion','catch','_startingVersion','_bufferUpdate','3861345vatZUm','buildRevisionData','_getLatestVersion','config','revisionsUpdated','state','listenTo','pluginName','reverse','change:_isConnected','isEmptyCurrent','_handleReconnectionError','RevisionHistory','serverHistory','isEnabled','type','baseVersion','toVersion','cloudServices.bundleVersion','getRevisions','_isPendingUpdate','getUser','wrongRequestId','get','_lastRequestId','marker','authorsIds','_getLatestVersionFromServerOperations','_update'];_0x1d72=function(){return _0x49792b;};return _0x1d72();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d88(){var _0x1b4444=['6099336fCfkKY','30216060tMsceW','272433efIuad','isOfficialPlugin','9445626VFMntY','51270alJeNI','RealTimeCollaborativeRevisionHistory','5qCNhIT','isPremiumPlugin','pluginName','5945684HTzOkn','26ehorDt','1045969PmkCWk','requires','693LJkiBy','RevisionHistory'];_0x4d88=function(){return _0x1b4444;};return _0x4d88();}var _0x345a6d=_0x51ea;(function(_0x58a238,_0x183d50){var _0x56f3ed=_0x51ea,_0x4f585f=_0x58a238();while(!![]){try{var _0x2cf1aa=parseInt(_0x56f3ed(0x73))/0x1+-parseInt(_0x56f3ed(0x72))/0x2*(parseInt(_0x56f3ed(0x79))/0x3)+-parseInt(_0x56f3ed(0x81))/0x4*(-parseInt(_0x56f3ed(0x7e))/0x5)+parseInt(_0x56f3ed(0x7c))/0x6*(parseInt(_0x56f3ed(0x75))/0x7)+parseInt(_0x56f3ed(0x77))/0x8+parseInt(_0x56f3ed(0x7b))/0x9+-parseInt(_0x56f3ed(0x78))/0xa;if(_0x2cf1aa===_0x183d50)break;else _0x4f585f['push'](_0x4f585f['shift']());}catch(_0xb85f66){_0x4f585f['push'](_0x4f585f['shift']());}}}(_0x4d88,0xf13df));import{Plugin as _0xc7d695}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x2aa52d}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x51ea(_0xc7ddb1,_0xee647b){var _0x4d88bd=_0x4d88();return _0x51ea=function(_0x51eac6,_0x1007ff){_0x51eac6=_0x51eac6-0x72;var _0x30c376=_0x4d88bd[_0x51eac6];return _0x30c376;},_0x51ea(_0xc7ddb1,_0xee647b);}import{RealTimeCollaborativeEditing as _0x3f08fc}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0xc7d695{static get[_0x345a6d(0x74)](){var _0xa59bae=_0x345a6d;return[_0xa59bae(0x76),_0x2aa52d,_0x3f08fc];}static get[_0x345a6d(0x80)](){var _0x3e8106=_0x345a6d;return _0x3e8106(0x7d);}static get[_0x345a6d(0x7a)](){return!0x0;}static get[_0x345a6d(0x7f)](){return!0x0;}}
23
+ var _0x57c556=_0x212c;function _0x212c(_0x22c8c9,_0x391ab4){var _0x4f9871=_0x4f98();return _0x212c=function(_0x212c20,_0x4ddbf9){_0x212c20=_0x212c20-0xe0;var _0x1aa813=_0x4f9871[_0x212c20];return _0x1aa813;},_0x212c(_0x22c8c9,_0x391ab4);}(function(_0x3f61d2,_0x727ecb){var _0x2d0246=_0x212c,_0x2f64d5=_0x3f61d2();while(!![]){try{var _0x3bce0=parseInt(_0x2d0246(0xf0))/0x1+-parseInt(_0x2d0246(0xe8))/0x2*(parseInt(_0x2d0246(0xe9))/0x3)+parseInt(_0x2d0246(0xe5))/0x4+-parseInt(_0x2d0246(0xea))/0x5*(-parseInt(_0x2d0246(0xeb))/0x6)+-parseInt(_0x2d0246(0xee))/0x7*(-parseInt(_0x2d0246(0xe3))/0x8)+parseInt(_0x2d0246(0xe0))/0x9*(-parseInt(_0x2d0246(0xed))/0xa)+parseInt(_0x2d0246(0xe2))/0xb;if(_0x3bce0===_0x727ecb)break;else _0x2f64d5['push'](_0x2f64d5['shift']());}catch(_0x3042ea){_0x2f64d5['push'](_0x2f64d5['shift']());}}}(_0x4f98,0x96a15));import{Plugin as _0x1ef359}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x307119}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x40416b}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x1ef359{static get[_0x57c556(0xef)](){var _0x2c9a38=_0x57c556;return[_0x2c9a38(0xec),_0x307119,_0x40416b];}static get[_0x57c556(0xe1)](){var _0x5b02a0=_0x57c556;return _0x5b02a0(0xe7);}static get[_0x57c556(0xe6)](){return!0x0;}static get[_0x57c556(0xe4)](){return!0x0;}}function _0x4f98(){var _0x56c509=['65994GYtfLo','RevisionHistory','42970ArFDbu','7YjccmC','requires','606627tVHgGU','2358mkjHBD','pluginName','9716377hCSdfw','857488buhDQY','isPremiumPlugin','738008OCFuyt','isOfficialPlugin','RealTimeCollaborativeRevisionHistory','18dEFflC','207258YzHqGe','265yDyXPJ'];_0x4f98=function(){return _0x56c509;};return _0x4f98();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f1ff8=_0x542d;(function(_0x2560dc,_0x5c5f26){const _0x1921f2=_0x542d,_0x12b58f=_0x2560dc();while(!![]){try{const _0x5c8e0b=parseInt(_0x1921f2(0x108))/0x1+-parseInt(_0x1921f2(0xfb))/0x2+parseInt(_0x1921f2(0x101))/0x3*(-parseInt(_0x1921f2(0x11f))/0x4)+-parseInt(_0x1921f2(0xf9))/0x5+-parseInt(_0x1921f2(0x120))/0x6*(-parseInt(_0x1921f2(0xec))/0x7)+-parseInt(_0x1921f2(0x102))/0x8*(parseInt(_0x1921f2(0x121))/0x9)+parseInt(_0x1921f2(0xe7))/0xa*(parseInt(_0x1921f2(0x124))/0xb);if(_0x5c8e0b===_0x5c5f26)break;else _0x12b58f['push'](_0x12b58f['shift']());}catch(_0x2f0a23){_0x12b58f['push'](_0x12b58f['shift']());}}}(_0x6fde,0xbf373));import{Plugin as _0x1a953e}from'ckeditor5/src/core.js';import{User as _0x51d11f,TrackChangesService as _0x57f926}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x542d(_0x574273,_0x3fc3c8){const _0x6fdef9=_0x6fde();return _0x542d=function(_0x542d66,_0x115531){_0x542d66=_0x542d66-0xe7;let _0x24472b=_0x6fdef9[_0x542d66];return _0x24472b;},_0x542d(_0x574273,_0x3fc3c8);}import{WebSocketGateway as _0x3a433e}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1cddcd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x134bcc}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x1a953e{static [_0x3f1ff8(0x10b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x57f926)());[_0x3f1ff8(0x10c)];[_0x3f1ff8(0xf6)];static get[_0x3f1ff8(0x117)](){const _0x308b09=_0x3f1ff8;return[_0x1cddcd,_0x308b09(0xfc),_0x3a433e];}static get[_0x3f1ff8(0xeb)](){const _0x14f5ca=_0x3f1ff8;return _0x14f5ca(0x126);}static get[_0x3f1ff8(0x10f)](){return!0x0;}static get[_0x3f1ff8(0x125)](){return!0x0;}constructor(_0x49c357){const _0x1d1938=_0x3f1ff8;super(_0x49c357);const _0x19a4ab=this[_0x1d1938(0xf7)][_0x1d1938(0x11b)][_0x1d1938(0xe8)](_0x1d1938(0xf3));this[_0x1d1938(0x10c)]=new Map(),this[_0x1d1938(0xf6)]=new m[(_0x1d1938(0x10b))](_0x19a4ab);}[_0x3f1ff8(0xf0)](){const _0x140edf=_0x3f1ff8,_0x2080b4=this[_0x140edf(0xf7)][_0x140edf(0x10e)][_0x140edf(0xe8)](_0x3a433e),_0x50a830=this[_0x140edf(0xf7)][_0x140edf(0x10e)][_0x140edf(0xe8)](_0x140edf(0xfc));return _0x50a830[_0x140edf(0xf8)]={'getSuggestion':async _0x5f4007=>{const _0x1b5aca=_0x140edf;await this[_0x1b5aca(0xea)]();const _0x4f3fef=await this[_0x1b5aca(0xf6)][_0x1b5aca(0xe8)](_0x5f4007)[_0x1b5aca(0x103)](A);return await this[_0x1b5aca(0x11a)]([_0x4f3fef]),_0x4f3fef;},'addSuggestion':async({id:_0x386a62,type:_0x5b8fc0,data:_0x2e9a5f,originalSuggestionId:_0x425969,attributes:_0x5c9aaa})=>{const _0x276864=_0x140edf;await this[_0x276864(0xea)]();const _0x44f724={'id':_0x386a62,'type':_0x5b8fc0,'data':_0x2e9a5f,'originalSuggestionId':_0x425969,'attributes':_0x5c9aaa},_0x3d60b6=await this[_0x276864(0xf6)][_0x276864(0xfd)](_0x386a62,_0x5b8fc0,_0x2e9a5f,_0x425969,_0x5c9aaa)[_0x276864(0x103)](_0x448faf=>{if(st(_0x448faf))return new Promise(_0x118a74=>{const _0x2d0e3f=_0x542d;this[_0x2d0e3f(0x10c)][_0x2d0e3f(0x104)](_0x386a62,{'resolve':_0x118a74,'suggestionData':_0x44f724});});throw _0x448faf;});return this[_0x276864(0x10c)][_0x276864(0xff)](_0x386a62),_0x3d60b6;},'updateSuggestion':async(_0x1bbec2,_0x494de4)=>{const _0xa5e17e=_0x140edf;if(await this[_0xa5e17e(0xea)](),_0xa5e17e(0xf2)!==_0x494de4[_0xa5e17e(0x113)])return this[_0xa5e17e(0xf6)][_0xa5e17e(0xf1)](_0x1bbec2,_0x494de4)[_0xa5e17e(0x103)](A);}},this[_0x140edf(0xf5)](this[_0x140edf(0xf6)],_0x140edf(0x115),(_0x21baa8,_0x56ccf4)=>{const _0x156407=_0x140edf;_0x50a830[_0x156407(0x118)](_0x56ccf4['id'])&&(_0x50a830[_0x156407(0x110)](_0x56ccf4['id'])[_0x156407(0x111)]=_0x56ccf4[_0x156407(0x111)]);}),this[_0x140edf(0xf6)][_0x140edf(0x123)](_0x2080b4[_0x140edf(0xee)])[_0x140edf(0x109)](_0x2c1a65=>(_0x2080b4[_0x140edf(0x11e)](this),this[_0x140edf(0x11a)](_0x2c1a65)[_0x140edf(0x109)](()=>{const _0x369c56=_0x140edf;for(const _0x1170b7 of _0x2c1a65){_0x50a830[_0x369c56(0x112)](_0x1170b7)[_0x369c56(0xe9)]=!0x0;}})));}async[_0x3f1ff8(0xf4)](){const _0x1f4772=_0x3f1ff8,_0x3c28f3=this[_0x1f4772(0xf7)][_0x1f4772(0x10e)][_0x1f4772(0xe8)](_0x1f4772(0xfc)),{connection:_0x5d8f0c}=this[_0x1f4772(0xf7)][_0x1f4772(0x10e)][_0x1f4772(0xe8)](_0x3a433e),_0x2fc7d4=await this[_0x1f4772(0xf6)][_0x1f4772(0x123)](_0x5d8f0c);await this[_0x1f4772(0x11a)](_0x2fc7d4);for(const {suggestionData:_0x56365b,resolve:_0x5c9317}of this[_0x1f4772(0x10c)][_0x1f4772(0x107)]()){let _0x13c923=_0x2fc7d4[_0x1f4772(0xef)](_0x5a605d=>_0x5a605d['id']===_0x56365b['id']);_0x13c923||(_0x13c923=await this[_0x1f4772(0xf6)][_0x1f4772(0xfd)](_0x56365b['id'],_0x56365b[_0x1f4772(0xed)],_0x56365b[_0x1f4772(0x105)],_0x56365b[_0x1f4772(0xfa)])),_0x5c9317(_0x13c923);}for(const _0x552aac of _0x2fc7d4)_0x3c28f3[_0x1f4772(0x118)](_0x552aac['id'])||_0x3c28f3[_0x1f4772(0x112)](_0x552aac);}async[_0x3f1ff8(0xea)](){const _0x593ce2=_0x3f1ff8;this[_0x593ce2(0xf6)][_0x593ce2(0x114)]||await new Promise(_0xce85d0=>{const _0x25619c=_0x593ce2;this[_0x25619c(0xf5)](this[_0x25619c(0xf6)],_0x25619c(0xfe),_0x19dbcc=>{const _0x4d320d=_0x25619c;_0x19dbcc[_0x4d320d(0x122)](),_0xce85d0();});});}async[_0x3f1ff8(0x11a)](_0x54b330){const _0x2b82c1=_0x3f1ff8,_0x11c04f=this[_0x2b82c1(0xf7)][_0x2b82c1(0x10e)][_0x2b82c1(0xe8)](_0x134bcc),{connection:_0x2d3afe}=this[_0x2b82c1(0xf7)][_0x2b82c1(0x10e)][_0x2b82c1(0xe8)](_0x3a433e),_0x4592fb=new Set();for(const {authorId:_0x39b658}of _0x54b330)_0x11c04f[_0x2b82c1(0x116)](_0x39b658)||_0x4592fb[_0x2b82c1(0xfd)](_0x39b658);if(0x0===_0x4592fb[_0x2b82c1(0x10d)])return;const _0x2368f9=await _0x51d11f[_0x2b82c1(0x11c)](_0x2d3afe,Array[_0x2b82c1(0x127)](_0x4592fb));for(const _0x1b4b5e of _0x2368f9)_0x11c04f[_0x2b82c1(0x116)](_0x1b4b5e['id'])||_0x11c04f[_0x2b82c1(0x106)](_0x1b4b5e);}}export{m as CloudServicesTrackChangesAdapter};function _0x6fde(){const _0x7a4d26=['delete','cloud-services-internal-error:\x20Request\x20timeout.','33GMzCsX','112YUKJvN','catch','set','data','addUser','values','1096385MpjWWv','then','startsWith','TrackChangesService','_bufferedRequests','size','plugins','isOfficialPlugin','getSuggestion','attributes','addSuggestionData','state','isConnected','suggestionUpdated','getUser','requires','hasSuggestion','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsersForThreads','config','getMany','message','addToReconnectionStack','527836zVnBeJ','2469654jtbuKb','492552SBwYJI','off','connect','38566VVdfHF','isPremiumPlugin','CloudServicesTrackChangesAdapter','from','9170PXGeHr','get','_saved','_waitForServiceReady','pluginName','21wXoYZN','type','connection','find','init','update','open','collaboration.channelId','reconnect','listenTo','_trackChangesService','editor','adapter','6111280zLEKud','originalSuggestionId','2645996qJnxim','TrackChangesEditing','add','connected'];_0x6fde=function(){return _0x7a4d26;};return _0x6fde();}function A(_0x55a790){if(st(_0x55a790))return new Promise(()=>{});throw _0x55a790;}function st(_0x39da04){const _0x2b5b72=_0x3f1ff8;return _0x39da04[_0x2b5b72(0x11d)][_0x2b5b72(0x10a)](_0x2b5b72(0x119))||_0x39da04[_0x2b5b72(0x11d)][_0x2b5b72(0x10a)](_0x2b5b72(0x100));}
23
+ const _0x49bb0b=_0xb673;(function(_0x225f9f,_0x88b1da){const _0xc6b6c5=_0xb673,_0x130ee0=_0x225f9f();while(!![]){try{const _0x4dbede=-parseInt(_0xc6b6c5(0x156))/0x1*(parseInt(_0xc6b6c5(0x162))/0x2)+parseInt(_0xc6b6c5(0x151))/0x3+parseInt(_0xc6b6c5(0x160))/0x4*(parseInt(_0xc6b6c5(0x13c))/0x5)+parseInt(_0xc6b6c5(0x152))/0x6+-parseInt(_0xc6b6c5(0x153))/0x7*(parseInt(_0xc6b6c5(0x126))/0x8)+parseInt(_0xc6b6c5(0x147))/0x9*(-parseInt(_0xc6b6c5(0x12d))/0xa)+parseInt(_0xc6b6c5(0x13b))/0xb;if(_0x4dbede===_0x88b1da)break;else _0x130ee0['push'](_0x130ee0['shift']());}catch(_0x3753e3){_0x130ee0['push'](_0x130ee0['shift']());}}}(_0x48f3,0x6d9e2));import{Plugin as _0x139a24}from'ckeditor5/src/core.js';import{User as _0x5160d2,TrackChangesService as _0x3cd4b8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x48f3(){const _0x170c22=['message','_saved','state','add','4488QbEgkF','cloud-services-internal-error:\x20Request\x20timeout.','hasSuggestion','values','CloudServicesTrackChangesAdapter','reconnect','adapter','175090oOrKPy','originalSuggestionId','_bufferedRequests','find','open','config','isConnected','connection','attributes','size','off','init','getUser','connected','3858888uooEvZ','15ZztPlT','suggestionUpdated','delete','_fetchMissingUsersForThreads','pluginName','connect','editor','then','cloud-services-internal-error:\x20Not\x20connected.','from','addSuggestionData','225FfGfJQ','isPremiumPlugin','set','catch','TrackChangesEditing','collaboration.channelId','getMany','listenTo','isOfficialPlugin','update','1179651vtBPHJ','3509880DPtbUz','9989Fxfzen','getSuggestion','data','39478hyWaDD','requires','plugins','_waitForServiceReady','_trackChangesService','startsWith','addUser','addToReconnectionStack','TrackChangesService','get','740868WWleQV','type','10uJgumE'];_0x48f3=function(){return _0x170c22;};return _0x48f3();}import{WebSocketGateway as _0x5061b}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1a59e6}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1c4e5d}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x139a24{static [_0x49bb0b(0x15e)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3cd4b8)());[_0x49bb0b(0x12f)];[_0x49bb0b(0x15a)];static get[_0x49bb0b(0x157)](){const _0x17d725=_0x49bb0b;return[_0x1a59e6,_0x17d725(0x14b),_0x5061b];}static get[_0x49bb0b(0x140)](){const _0x591a8f=_0x49bb0b;return _0x591a8f(0x12a);}static get[_0x49bb0b(0x14f)](){return!0x0;}static get[_0x49bb0b(0x148)](){return!0x0;}constructor(_0x24da27){const _0x561b90=_0x49bb0b;super(_0x24da27);const _0x185bb4=this[_0x561b90(0x142)][_0x561b90(0x132)][_0x561b90(0x15f)](_0x561b90(0x14c));this[_0x561b90(0x12f)]=new Map(),this[_0x561b90(0x15a)]=new m[(_0x561b90(0x15e))](_0x185bb4);}[_0x49bb0b(0x138)](){const _0x3d0cd0=_0x49bb0b,_0x4e542e=this[_0x3d0cd0(0x142)][_0x3d0cd0(0x158)][_0x3d0cd0(0x15f)](_0x5061b),_0x2f636c=this[_0x3d0cd0(0x142)][_0x3d0cd0(0x158)][_0x3d0cd0(0x15f)](_0x3d0cd0(0x14b));return _0x2f636c[_0x3d0cd0(0x12c)]={'getSuggestion':async _0x1fafdf=>{const _0x13eec3=_0x3d0cd0;await this[_0x13eec3(0x159)]();const _0x150bad=await this[_0x13eec3(0x15a)][_0x13eec3(0x15f)](_0x1fafdf)[_0x13eec3(0x14a)](A);return await this[_0x13eec3(0x13f)]([_0x150bad]),_0x150bad;},'addSuggestion':async({id:_0x27116d,type:_0x54965f,data:_0x3471ff,originalSuggestionId:_0x2a604f,attributes:_0x2da45b})=>{const _0x3afc6d=_0x3d0cd0;await this[_0x3afc6d(0x159)]();const _0x363d93={'id':_0x27116d,'type':_0x54965f,'data':_0x3471ff,'originalSuggestionId':_0x2a604f,'attributes':_0x2da45b},_0x580c43=await this[_0x3afc6d(0x15a)][_0x3afc6d(0x125)](_0x27116d,_0x54965f,_0x3471ff,_0x2a604f,_0x2da45b)[_0x3afc6d(0x14a)](_0x45ac82=>{if(M(_0x45ac82))return new Promise(_0x1b5e13=>{const _0x3d1694=_0xb673;this[_0x3d1694(0x12f)][_0x3d1694(0x149)](_0x27116d,{'resolve':_0x1b5e13,'suggestionData':_0x363d93});});throw _0x45ac82;});return this[_0x3afc6d(0x12f)][_0x3afc6d(0x13e)](_0x27116d),_0x580c43;},'updateSuggestion':async(_0x53efcc,_0x417f49)=>{const _0x1c7b27=_0x3d0cd0;if(await this[_0x1c7b27(0x159)](),_0x1c7b27(0x131)!==_0x417f49[_0x1c7b27(0x124)])return this[_0x1c7b27(0x15a)][_0x1c7b27(0x150)](_0x53efcc,_0x417f49)[_0x1c7b27(0x14a)](A);}},this[_0x3d0cd0(0x14e)](this[_0x3d0cd0(0x15a)],_0x3d0cd0(0x13d),(_0xde1373,_0x1b18f9)=>{const _0x5a777c=_0x3d0cd0;_0x2f636c[_0x5a777c(0x128)](_0x1b18f9['id'])&&(_0x2f636c[_0x5a777c(0x154)](_0x1b18f9['id'])[_0x5a777c(0x135)]=_0x1b18f9[_0x5a777c(0x135)]);}),this[_0x3d0cd0(0x15a)][_0x3d0cd0(0x141)](_0x4e542e[_0x3d0cd0(0x134)])[_0x3d0cd0(0x143)](_0x2d9a31=>(_0x4e542e[_0x3d0cd0(0x15d)](this),this[_0x3d0cd0(0x13f)](_0x2d9a31)[_0x3d0cd0(0x143)](()=>{const _0x5e817a=_0x3d0cd0;for(const _0x5e207d of _0x2d9a31){_0x2f636c[_0x5e817a(0x146)](_0x5e207d)[_0x5e817a(0x123)]=!0x0;}})));}async[_0x49bb0b(0x12b)](){const _0x654392=_0x49bb0b,_0x2fe284=this[_0x654392(0x142)][_0x654392(0x158)][_0x654392(0x15f)](_0x654392(0x14b)),{connection:_0x460fb4}=this[_0x654392(0x142)][_0x654392(0x158)][_0x654392(0x15f)](_0x5061b),_0x4c5e6a=await this[_0x654392(0x15a)][_0x654392(0x141)](_0x460fb4);await this[_0x654392(0x13f)](_0x4c5e6a);for(const {suggestionData:_0x5ace07,resolve:_0x48bf48}of this[_0x654392(0x12f)][_0x654392(0x129)]()){let _0x1d5887=_0x4c5e6a[_0x654392(0x130)](_0x343ed4=>_0x343ed4['id']===_0x5ace07['id']);_0x1d5887||(_0x1d5887=await this[_0x654392(0x15a)][_0x654392(0x125)](_0x5ace07['id'],_0x5ace07[_0x654392(0x161)],_0x5ace07[_0x654392(0x155)],_0x5ace07[_0x654392(0x12e)])),_0x48bf48(_0x1d5887);}for(const _0x5248ac of _0x4c5e6a)_0x2fe284[_0x654392(0x128)](_0x5248ac['id'])||_0x2fe284[_0x654392(0x146)](_0x5248ac);}async[_0x49bb0b(0x159)](){const _0x55c711=_0x49bb0b;this[_0x55c711(0x15a)][_0x55c711(0x133)]||await new Promise(_0x227e68=>{const _0x32f014=_0x55c711;this[_0x32f014(0x14e)](this[_0x32f014(0x15a)],_0x32f014(0x13a),_0x138d04=>{const _0x16fda4=_0x32f014;_0x138d04[_0x16fda4(0x137)](),_0x227e68();});});}async[_0x49bb0b(0x13f)](_0x420a91){const _0x5c1395=_0x49bb0b,_0x1eb18c=this[_0x5c1395(0x142)][_0x5c1395(0x158)][_0x5c1395(0x15f)](_0x1c4e5d),{connection:_0x43bd88}=this[_0x5c1395(0x142)][_0x5c1395(0x158)][_0x5c1395(0x15f)](_0x5061b),_0x14d870=new Set();for(const {authorId:_0x3da091}of _0x420a91)_0x1eb18c[_0x5c1395(0x139)](_0x3da091)||_0x14d870[_0x5c1395(0x125)](_0x3da091);if(0x0===_0x14d870[_0x5c1395(0x136)])return;const _0xdbe59e=await _0x5160d2[_0x5c1395(0x14d)](_0x43bd88,Array[_0x5c1395(0x145)](_0x14d870));for(const _0x1b61f0 of _0xdbe59e)_0x1eb18c[_0x5c1395(0x139)](_0x1b61f0['id'])||_0x1eb18c[_0x5c1395(0x15c)](_0x1b61f0);}}function _0xb673(_0x125839,_0xb2ed92){const _0x48f3ea=_0x48f3();return _0xb673=function(_0xb67385,_0x52e1e6){_0xb67385=_0xb67385-0x123;let _0x39031a=_0x48f3ea[_0xb67385];return _0x39031a;},_0xb673(_0x125839,_0xb2ed92);}export{m as CloudServicesTrackChangesAdapter};function A(_0x2e5ac1){if(M(_0x2e5ac1))return new Promise(()=>{});throw _0x2e5ac1;}function M(_0x5cdec0){const _0x5ca0e8=_0x49bb0b;return _0x5cdec0[_0x5ca0e8(0x163)][_0x5ca0e8(0x15b)](_0x5ca0e8(0x144))||_0x5cdec0[_0x5ca0e8(0x163)][_0x5ca0e8(0x15b)](_0x5ca0e8(0x127));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x82bf(){var _0x523b71=['44kyCRgS','213343DUOiBp','154kUgjIX','requires','845120HMIYwC','838710UvLPNP','10tHNCEP','19325tFMJqr','isOfficialPlugin','pluginName','71157aiKaMW','46536SMgphC','RealTimeCollaborativeTrackChanges','isPremiumPlugin','8OtOeUm','TrackChanges','264EXCuBz','180WitMrw','75002KNobyF'];_0x82bf=function(){return _0x523b71;};return _0x82bf();}var _0x4639ac=_0x2adb;(function(_0x245752,_0x362f00){var _0x25cca9=_0x2adb,_0x2c17ab=_0x245752();while(!![]){try{var _0x48af19=parseInt(_0x25cca9(0x6a))/0x1+-parseInt(_0x25cca9(0x71))/0x2*(-parseInt(_0x25cca9(0x75))/0x3)+parseInt(_0x25cca9(0x69))/0x4*(parseInt(_0x25cca9(0x72))/0x5)+-parseInt(_0x25cca9(0x76))/0x6*(-parseInt(_0x25cca9(0x6d))/0x7)+-parseInt(_0x25cca9(0x66))/0x8*(parseInt(_0x25cca9(0x70))/0x9)+-parseInt(_0x25cca9(0x6f))/0xa*(-parseInt(_0x25cca9(0x6b))/0xb)+parseInt(_0x25cca9(0x68))/0xc*(-parseInt(_0x25cca9(0x6c))/0xd);if(_0x48af19===_0x362f00)break;else _0x2c17ab['push'](_0x2c17ab['shift']());}catch(_0x514824){_0x2c17ab['push'](_0x2c17ab['shift']());}}}(_0x82bf,0x67052));import{Plugin as _0x591cd0}from'ckeditor5/src/core.js';function _0x2adb(_0x401d4d,_0x31bb4b){var _0x82bfea=_0x82bf();return _0x2adb=function(_0x2adb78,_0x11b189){_0x2adb78=_0x2adb78-0x64;var _0x3a2d14=_0x82bfea[_0x2adb78];return _0x3a2d14;},_0x2adb(_0x401d4d,_0x31bb4b);}import{CloudServicesTrackChangesAdapter as _0x4838dc}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x3c23c9}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x591cd0{static get[_0x4639ac(0x6e)](){var _0x43dcfb=_0x4639ac;return[_0x3c23c9,_0x4838dc,_0x43dcfb(0x67)];}static get[_0x4639ac(0x74)](){var _0x743f94=_0x4639ac;return _0x743f94(0x64);}static get[_0x4639ac(0x73)](){return!0x0;}static get[_0x4639ac(0x65)](){return!0x0;}}
23
+ var _0x1f4330=_0x1cf6;(function(_0x2b6244,_0xa67f06){var _0x3c0bb4=_0x1cf6,_0x38a3ff=_0x2b6244();while(!![]){try{var _0x50ad40=parseInt(_0x3c0bb4(0x126))/0x1+-parseInt(_0x3c0bb4(0x12d))/0x2+-parseInt(_0x3c0bb4(0x128))/0x3*(parseInt(_0x3c0bb4(0x11f))/0x4)+parseInt(_0x3c0bb4(0x129))/0x5+-parseInt(_0x3c0bb4(0x12c))/0x6*(parseInt(_0x3c0bb4(0x11e))/0x7)+parseInt(_0x3c0bb4(0x120))/0x8*(-parseInt(_0x3c0bb4(0x122))/0x9)+parseInt(_0x3c0bb4(0x125))/0xa;if(_0x50ad40===_0xa67f06)break;else _0x38a3ff['push'](_0x38a3ff['shift']());}catch(_0x546678){_0x38a3ff['push'](_0x38a3ff['shift']());}}}(_0x2400,0x70cb4));import{Plugin as _0x3b98f5}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x5a043f}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x5ce77a}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x3b98f5{static get[_0x1f4330(0x12b)](){var _0x4641e4=_0x1f4330;return[_0x5ce77a,_0x5a043f,_0x4641e4(0x12a)];}static get[_0x1f4330(0x124)](){var _0x40d85a=_0x1f4330;return _0x40d85a(0x123);}static get[_0x1f4330(0x127)](){return!0x0;}static get[_0x1f4330(0x121)](){return!0x0;}}function _0x1cf6(_0x96aabc,_0x196010){var _0x240078=_0x2400();return _0x1cf6=function(_0x1cf62e,_0x17b16a){_0x1cf62e=_0x1cf62e-0x11e;var _0x349f4d=_0x240078[_0x1cf62e];return _0x349f4d;},_0x1cf6(_0x96aabc,_0x196010);}function _0x2400(){var _0x43181b=['6FXybsW','1300044YkYGab','50701JKeMqH','8TpTNPG','10608lCBNwp','isPremiumPlugin','3501HAsmQx','RealTimeCollaborativeTrackChanges','pluginName','5775550xFRrCP','791560Qexndi','isOfficialPlugin','215778yBpSCk','2049100QNCrAp','TrackChanges','requires'];_0x2400=function(){return _0x43181b;};return _0x2400();}