@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.4 → 47.0.0-alpha.5

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 _0x1763bb=_0x5028;function _0x3654(){const _0x3962fa=['DISCONNECTED','_reconnect','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.','change:me','define','state','CONNECTING','disconnect','877568dOKGuj','websocketgateway-missing-websocket-url','CloudServices','141bqWGem','327468bZmESQ','isInReconnectionStack','destroy','delete','get','isOfficialPlugin','50JcXSLX','from','148761FfKLgv','config','cloudservices-init','WebSocketGateway','54DEBdAB','listenTo','_shouldPluginsReconnect','online','isPremiumPlugin','websocketgateway-invalid-plugin-interface','set','all','_isBrowserOffline','cloudServices.connectionTimeout','bind','real-time-collaboration','addToReconnectionStack','stopListening','673104zASJgc','webSocketUrl','showWarning','token','connect','has','Connected\x20users\x20limit\x20exceeded','requires','_reconnectionStack','removeFromReconnectionStack','error','CONNECTED','limitExceeded','init','context','pluginName','code','initialReconnectionInterval','22oEoVel','catch','plugins','connection','7LUTTty','websocketgateway-plugin-already-registered','4764536qYcNyN','then','cloudServices.requestTimeout','add','_domEmitter','10180QDgIyz','offline','cloudservices-reconnection-error','websocketgateway-missing-token','reconnect','function','79155dMIElB','constructor','connected'];_0x3654=function(){return _0x3962fa;};return _0x3654();}(function(_0x58b1cd,_0xfd1a78){const _0x439ca1=_0x5028,_0x30dc20=_0x58b1cd();while(!![]){try{const _0x2a4877=parseInt(_0x439ca1(0x173))/0x1+-parseInt(_0x439ca1(0x16f))/0x2+parseInt(_0x439ca1(0x172))/0x3*(parseInt(_0x439ca1(0x1aa))/0x4)+parseInt(_0x439ca1(0x1b0))/0x5*(-parseInt(_0x439ca1(0x17f))/0x6)+parseInt(_0x439ca1(0x1a3))/0x7*(parseInt(_0x439ca1(0x1a5))/0x8)+-parseInt(_0x439ca1(0x17b))/0x9*(-parseInt(_0x439ca1(0x179))/0xa)+-parseInt(_0x439ca1(0x19f))/0xb*(parseInt(_0x439ca1(0x18d))/0xc);if(_0x2a4877===_0xfd1a78)break;else _0x30dc20['push'](_0x30dc20['shift']());}catch(_0xbf53b0){_0x30dc20['push'](_0x30dc20['shift']());}}}(_0x3654,0x696e8));function _0x5028(_0x585414,_0x559853){const _0x365480=_0x3654();return _0x5028=function(_0x50285d,_0x139f85){_0x50285d=_0x50285d-0x16b;let _0x5adfeb=_0x365480[_0x50285d];return _0x5adfeb;},_0x5028(_0x585414,_0x559853);}import{ContextPlugin as _0x7ed3c}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2ab19b,CKEditorError as _0x158944}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4af9b2,WEB_SOCKET_GATEWAY_STATES as _0x47f58c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1dc20d}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x7ed3c{static [_0x1763bb(0x17e)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4af9b2)());static [_0x1763bb(0x19e)]=0x3e8;[_0x1763bb(0x1a2)];[_0x1763bb(0x195)];[_0x1763bb(0x181)];[_0x1763bb(0x1a9)];static get[_0x1763bb(0x194)](){const _0x184597=_0x1763bb;return[_0x184597(0x171),_0x1dc20d];}static get[_0x1763bb(0x19c)](){const _0x1bff58=_0x1763bb;return _0x1bff58(0x17e);}static get[_0x1763bb(0x178)](){return!0x0;}static get[_0x1763bb(0x183)](){return!0x0;}constructor(_0x16b260){const _0x4353a4=_0x1763bb;super(_0x16b260),this[_0x4353a4(0x185)](_0x4353a4(0x16c),_0x47f58c[_0x4353a4(0x198)]),this[_0x4353a4(0x185)](_0x4353a4(0x187),!0x1),this[_0x4353a4(0x195)]=new Set(),this[_0x4353a4(0x181)]=!0x1,this[_0x4353a4(0x1a9)]=new(_0x2ab19b())();}[_0x1763bb(0x19a)](){const _0x300283=_0x1763bb,_0x272856=this[_0x300283(0x19b)],_0x9613e3=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x300283(0x171)),_0x3b1253=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x1dc20d);if(!_0x9613e3[_0x300283(0x190)])throw new _0x158944(_0x300283(0x1ad),this);if(!_0x9613e3[_0x300283(0x18e)])throw new _0x158944(_0x300283(0x170),this);return this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x1ab),()=>this[_0x300283(0x187)]=!0x0),this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x182),()=>this[_0x300283(0x187)]=!0x1),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x188),0xa),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x1a7),0x14),WebSocketGateway[_0x300283(0x17e)][_0x300283(0x191)](_0x9613e3[_0x300283(0x190)],_0x9613e3[_0x300283(0x18e)],{'timeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x188)),'requestTimeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x1a7))})[_0x300283(0x1a6)](_0x1f738e=>{const _0xa8746e=_0x300283;if(this[_0xa8746e(0x1a2)]=_0x1f738e,this[_0xa8746e(0x189)](_0xa8746e(0x16c))['to'](_0x1f738e,_0xa8746e(0x16c),this,_0xa8746e(0x187),(_0x3c51ba,_0x15dbf5)=>(_0xa8746e(0x1b2)!==_0x3c51ba&&(this[_0xa8746e(0x181)]=!0x0),_0x15dbf5||_0x3c51ba!==_0x47f58c[_0xa8746e(0x198)]?_0x47f58c[_0xa8746e(0x1b3)]:this[_0xa8746e(0x16c)]==_0x47f58c[_0xa8746e(0x1b3)]&&this[_0xa8746e(0x181)]?(this[_0xa8746e(0x181)]=!0x1,this[_0xa8746e(0x1b4)](),_0x47f58c[_0xa8746e(0x16d)]):_0x47f58c[_0xa8746e(0x198)])),this[_0xa8746e(0x1a2)]['on'](_0xa8746e(0x197),(_0x1aa77f,_0x493a72)=>{const _0x47fded=_0xa8746e;if(_0x47fded(0x199)!==_0x493a72[_0x47fded(0x19d)])throw console[_0x47fded(0x197)](_0x493a72),new _0x158944(_0x47fded(0x17d),null,{'originalError':_0x493a72});_0x3b1253[_0x47fded(0x18f)](_0x47fded(0x1b5),{'title':_0x47fded(0x193),'namespace':_0x47fded(0x18a)});}),!_0x1f738e['me'])return new Promise(_0x39de9a=>_0x1f738e['on'](_0xa8746e(0x1b6),_0x39de9a));})[_0x300283(0x1a0)](_0x56d2c4=>{const _0x1da2c6=_0x300283;throw console[_0x1da2c6(0x197)](_0x56d2c4),new _0x158944(_0x1da2c6(0x17d),null,{'originalError':_0x56d2c4});});}[_0x1763bb(0x18b)](_0x18e03c){const _0x2fe363=_0x1763bb;if(_0x2fe363(0x1af)!=typeof _0x18e03c[_0x2fe363(0x1ae)])throw new _0x158944(_0x2fe363(0x184),this);if(this[_0x2fe363(0x174)](_0x18e03c))throw new _0x158944(_0x2fe363(0x1a4),this,{'name':_0x18e03c[_0x2fe363(0x1b1)][_0x2fe363(0x19c)]});this[_0x2fe363(0x195)][_0x2fe363(0x1a8)](_0x18e03c);}[_0x1763bb(0x196)](_0x2f7b42){const _0x465ae6=_0x1763bb;this[_0x465ae6(0x195)][_0x465ae6(0x176)](_0x2f7b42);}[_0x1763bb(0x174)](_0x4e0e4d){const _0x302b65=_0x1763bb;return this[_0x302b65(0x195)][_0x302b65(0x192)](_0x4e0e4d);}[_0x1763bb(0x1b4)](){const _0x1a8113=_0x1763bb;return this[_0x1a8113(0x1a2)][_0x1a8113(0x1ae)]()[_0x1a8113(0x1a6)](()=>Promise[_0x1a8113(0x186)](Array[_0x1a8113(0x17a)](this[_0x1a8113(0x195)],_0x58f278=>_0x58f278[_0x1a8113(0x1ae)]())))[_0x1a8113(0x1a6)](()=>this[_0x1a8113(0x16c)]=_0x47f58c[_0x1a8113(0x198)])[_0x1a8113(0x1a0)](_0x4e80bd=>{const _0x5205a5=_0x1a8113;throw console[_0x5205a5(0x197)](_0x4e80bd),new _0x158944(_0x5205a5(0x1ac),this[_0x5205a5(0x19b)]);});}[_0x1763bb(0x16e)](){const _0x4937b5=_0x1763bb;this[_0x4937b5(0x1a2)]&&this[_0x4937b5(0x1a2)][_0x4937b5(0x16e)](),this[_0x4937b5(0x16c)]=_0x47f58c[_0x4937b5(0x1b3)],this[_0x4937b5(0x1a9)][_0x4937b5(0x18c)]();}[_0x1763bb(0x175)](){const _0x3cfcf2=_0x1763bb;this[_0x3cfcf2(0x16e)](),super[_0x3cfcf2(0x175)]();}}
23
+ const _0x4d7b85=_0x6cae;(function(_0xc25ad0,_0x5da4b7){const _0x50d82d=_0x6cae,_0x17c6fc=_0xc25ad0();while(!![]){try{const _0xac5382=parseInt(_0x50d82d(0x157))/0x1+parseInt(_0x50d82d(0x151))/0x2*(parseInt(_0x50d82d(0x112))/0x3)+parseInt(_0x50d82d(0x13e))/0x4+parseInt(_0x50d82d(0x138))/0x5+-parseInt(_0x50d82d(0x12b))/0x6+parseInt(_0x50d82d(0x153))/0x7*(parseInt(_0x50d82d(0x118))/0x8)+parseInt(_0x50d82d(0x140))/0x9*(-parseInt(_0x50d82d(0x132))/0xa);if(_0xac5382===_0x5da4b7)break;else _0x17c6fc['push'](_0x17c6fc['shift']());}catch(_0x1bd1fe){_0x17c6fc['push'](_0x17c6fc['shift']());}}}(_0xc91b,0x6d194));import{ContextPlugin as _0x4690c2}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x1ce5c8,CKEditorError as _0x5392e0}from'ckeditor5/src/utils.js';function _0x6cae(_0x3364ab,_0x5533e1){const _0xc91b04=_0xc91b();return _0x6cae=function(_0x6cae20,_0x4205c7){_0x6cae20=_0x6cae20-0x10e;let _0x3c66be=_0xc91b04[_0x6cae20];return _0x3c66be;},_0x6cae(_0x3364ab,_0x5533e1);}import{WebSocketGateway as _0x4917df,WEB_SOCKET_GATEWAY_STATES as _0x5f23ea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x48e191}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4690c2{static [_0x4d7b85(0x135)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4917df)());static [_0x4d7b85(0x11b)]=0x3e8;[_0x4d7b85(0x150)];[_0x4d7b85(0x128)];[_0x4d7b85(0x124)];[_0x4d7b85(0x10f)];static get[_0x4d7b85(0x119)](){const _0xc83f4c=_0x4d7b85;return[_0xc83f4c(0x133),_0x48e191];}static get[_0x4d7b85(0x117)](){const _0x6f178b=_0x4d7b85;return _0x6f178b(0x135);}static get[_0x4d7b85(0x126)](){return!0x0;}static get[_0x4d7b85(0x148)](){return!0x0;}constructor(_0x499919){const _0x576b20=_0x4d7b85;super(_0x499919),this[_0x576b20(0x127)](_0x576b20(0x11d),_0x5f23ea[_0x576b20(0x11a)]),this[_0x576b20(0x127)](_0x576b20(0x11c),!0x1),this[_0x576b20(0x128)]=new Set(),this[_0x576b20(0x124)]=!0x1,this[_0x576b20(0x10f)]=new(_0x1ce5c8())();}[_0x4d7b85(0x142)](){const _0x498960=_0x4d7b85,_0x1394dd=this[_0x498960(0x155)],_0x30540f=_0x1394dd[_0x498960(0x149)][_0x498960(0x125)](_0x498960(0x133)),_0x2747b4=_0x1394dd[_0x498960(0x149)][_0x498960(0x125)](_0x48e191);if(!_0x30540f[_0x498960(0x14b)])throw new _0x5392e0(_0x498960(0x11e),this);if(!_0x30540f[_0x498960(0x136)])throw new _0x5392e0(_0x498960(0x146),this);return this[_0x498960(0x10f)][_0x498960(0x116)](window,_0x498960(0x145),()=>this[_0x498960(0x11c)]=!0x0),this[_0x498960(0x10f)][_0x498960(0x116)](window,_0x498960(0x141),()=>this[_0x498960(0x11c)]=!0x1),this[_0x498960(0x155)][_0x498960(0x123)][_0x498960(0x11f)](_0x498960(0x14f),0xa),this[_0x498960(0x155)][_0x498960(0x123)][_0x498960(0x11f)](_0x498960(0x139),0x14),WebSocketGateway[_0x498960(0x135)][_0x498960(0x120)](_0x30540f[_0x498960(0x14b)],_0x30540f[_0x498960(0x136)],{'timeout':0x3e8*this[_0x498960(0x155)][_0x498960(0x123)][_0x498960(0x125)](_0x498960(0x14f)),'requestTimeout':0x3e8*this[_0x498960(0x155)][_0x498960(0x123)][_0x498960(0x125)](_0x498960(0x139))})[_0x498960(0x114)](_0x2812ab=>{const _0x122cfb=_0x498960;if(this[_0x122cfb(0x150)]=_0x2812ab,this[_0x122cfb(0x144)](_0x122cfb(0x11d))['to'](_0x2812ab,_0x122cfb(0x11d),this,_0x122cfb(0x11c),(_0x41b53b,_0x2d0054)=>(_0x122cfb(0x131)!==_0x41b53b&&(this[_0x122cfb(0x124)]=!0x0),_0x2d0054||_0x41b53b!==_0x5f23ea[_0x122cfb(0x11a)]?_0x5f23ea[_0x122cfb(0x13f)]:this[_0x122cfb(0x11d)]==_0x5f23ea[_0x122cfb(0x13f)]&&this[_0x122cfb(0x124)]?(this[_0x122cfb(0x124)]=!0x1,this[_0x122cfb(0x12c)](),_0x5f23ea[_0x122cfb(0x115)]):_0x5f23ea[_0x122cfb(0x11a)])),this[_0x122cfb(0x150)]['on'](_0x122cfb(0x12e),(_0x25da34,_0x1a3278)=>{const _0x5f2809=_0x122cfb;if(_0x5f2809(0x12a)!==_0x1a3278[_0x5f2809(0x12d)])throw console[_0x5f2809(0x12e)](_0x1a3278),new _0x5392e0(_0x5f2809(0x154),null,{'originalError':_0x1a3278});_0x2747b4[_0x5f2809(0x129)](_0x5f2809(0x14e),{'title':_0x5f2809(0x113),'namespace':_0x5f2809(0x156)});}),!_0x2812ab['me'])return new Promise(_0x3c01c0=>_0x2812ab['on'](_0x122cfb(0x130),_0x3c01c0));})[_0x498960(0x10e)](_0x46f648=>{const _0x40d243=_0x498960;throw console[_0x40d243(0x12e)](_0x46f648),new _0x5392e0(_0x40d243(0x154),null,{'originalError':_0x46f648});});}[_0x4d7b85(0x110)](_0xcb1922){const _0x4a3fa1=_0x4d7b85;if(_0x4a3fa1(0x13d)!=typeof _0xcb1922[_0x4a3fa1(0x14d)])throw new _0x5392e0(_0x4a3fa1(0x13b),this);if(this[_0x4a3fa1(0x121)](_0xcb1922))throw new _0x5392e0(_0x4a3fa1(0x13c),this,{'name':_0xcb1922[_0x4a3fa1(0x143)][_0x4a3fa1(0x117)]});this[_0x4a3fa1(0x128)][_0x4a3fa1(0x111)](_0xcb1922);}[_0x4d7b85(0x147)](_0x542c50){const _0x37f429=_0x4d7b85;this[_0x37f429(0x128)][_0x37f429(0x122)](_0x542c50);}[_0x4d7b85(0x121)](_0x1ec078){const _0x2407d2=_0x4d7b85;return this[_0x2407d2(0x128)][_0x2407d2(0x134)](_0x1ec078);}[_0x4d7b85(0x12c)](){const _0x2de616=_0x4d7b85;return this[_0x2de616(0x150)][_0x2de616(0x14d)]()[_0x2de616(0x114)](()=>Promise[_0x2de616(0x13a)](Array[_0x2de616(0x12f)](this[_0x2de616(0x128)],_0x3f56e7=>_0x3f56e7[_0x2de616(0x14d)]())))[_0x2de616(0x114)](()=>this[_0x2de616(0x11d)]=_0x5f23ea[_0x2de616(0x11a)])[_0x2de616(0x10e)](_0x163aa1=>{const _0x2ac7df=_0x2de616;throw console[_0x2ac7df(0x12e)](_0x163aa1),new _0x5392e0(_0x2ac7df(0x14c),this[_0x2ac7df(0x155)]);});}[_0x4d7b85(0x137)](){const _0x2a8a45=_0x4d7b85;this[_0x2a8a45(0x150)]&&this[_0x2a8a45(0x150)][_0x2a8a45(0x137)](),this[_0x2a8a45(0x11d)]=_0x5f23ea[_0x2a8a45(0x13f)],this[_0x2a8a45(0x10f)][_0x2a8a45(0x152)]();}[_0x4d7b85(0x14a)](){const _0x41a603=_0x4d7b85;this[_0x41a603(0x137)](),super[_0x41a603(0x14a)]();}}function _0xc91b(){const _0x56a2be=['online','init','constructor','bind','offline','websocketgateway-missing-websocket-url','removeFromReconnectionStack','isPremiumPlugin','plugins','destroy','token','cloudservices-reconnection-error','reconnect','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','cloudServices.connectionTimeout','connection','2SAoucW','stopListening','2229017vIfvgh','cloudservices-init','context','real-time-collaboration','659834pYajXj','catch','_domEmitter','addToReconnectionStack','add','973821XWFhxT','Connected\x20users\x20limit\x20exceeded','then','CONNECTING','listenTo','pluginName','16wOCnoo','requires','CONNECTED','initialReconnectionInterval','_isBrowserOffline','state','websocketgateway-missing-token','define','connect','isInReconnectionStack','delete','config','_shouldPluginsReconnect','get','isOfficialPlugin','set','_reconnectionStack','showWarning','limitExceeded','1246590UZapCu','_reconnect','code','error','from','change:me','connected','18350loAzSA','CloudServices','has','WebSocketGateway','webSocketUrl','disconnect','81500VADlyb','cloudServices.requestTimeout','all','websocketgateway-invalid-plugin-interface','websocketgateway-plugin-already-registered','function','3129200PqxqAU','DISCONNECTED','8658ZsZwyJ'];_0xc91b=function(){return _0x56a2be;};return _0xc91b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4279f6=_0x44ec;(function(_0x2637a8,_0x58e7b1){var _0x3731ef=_0x44ec,_0xf7ae80=_0x2637a8();while(!![]){try{var _0x49197f=-parseInt(_0x3731ef(0x1f3))/0x1+-parseInt(_0x3731ef(0x1f5))/0x2*(parseInt(_0x3731ef(0x1ef))/0x3)+parseInt(_0x3731ef(0x1f0))/0x4*(parseInt(_0x3731ef(0x1f9))/0x5)+parseInt(_0x3731ef(0x1f1))/0x6+-parseInt(_0x3731ef(0x1ea))/0x7+parseInt(_0x3731ef(0x1f2))/0x8*(-parseInt(_0x3731ef(0x1ed))/0x9)+-parseInt(_0x3731ef(0x1ec))/0xa*(-parseInt(_0x3731ef(0x1f4))/0xb);if(_0x49197f===_0x58e7b1)break;else _0xf7ae80['push'](_0xf7ae80['shift']());}catch(_0x1b4b2a){_0xf7ae80['push'](_0xf7ae80['shift']());}}}(_0x2f4e,0xeedc3));function _0x44ec(_0x954cfb,_0x3b2d97){var _0x2f4edf=_0x2f4e();return _0x44ec=function(_0x44ec5e,_0x201618){_0x44ec5e=_0x44ec5e-0x1ea;var _0xc5d25=_0x2f4edf[_0x44ec5e];return _0xc5d25;},_0x44ec(_0x954cfb,_0x3b2d97);}import{Plugin as _0x107123}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x1b548f}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x107123{static get[_0x4279f6(0x1f6)](){return[_0x1b548f];}static get[_0x4279f6(0x1ee)](){var _0x1ad08c=_0x4279f6;return _0x1ad08c(0x1f7);}static get[_0x4279f6(0x1eb)](){return!0x0;}static get[_0x4279f6(0x1f8)](){return!0x0;}}function _0x2f4e(){var _0x41065f=['8omQQgM','1356913duSTww','22Mmzydu','6AkDMGz','requires','RealTimeCollaborativeEditing','isPremiumPlugin','10bWVIsD','1348130OTDGRj','isOfficialPlugin','9395210EhFhCJ','11010033iyBvVd','pluginName','979911RywyRG','3552764gtszgp','6454188YTkrHb'];_0x2f4e=function(){return _0x41065f;};return _0x2f4e();}
23
+ function _0x32f7(){var _0x47e7cf=['24rlGWpo','1332265kVFBYW','1717584eJjGnN','4679403lZPKKx','1198sFTTfj','11106670AYMOJc','1471414VUMRZg','7775312rANWKw','isOfficialPlugin','18hlUfwe','isPremiumPlugin','requires','pluginName','RealTimeCollaborativeEditing','498JqfOax'];_0x32f7=function(){return _0x47e7cf;};return _0x32f7();}var _0x19b7f0=_0x1a7d;(function(_0x3d7896,_0x3bbf2d){var _0x12e706=_0x1a7d,_0x1ebe12=_0x3d7896();while(!![]){try{var _0x172044=parseInt(_0x12e706(0x1cd))/0x1*(parseInt(_0x12e706(0x1d2))/0x2)+-parseInt(_0x12e706(0x1d1))/0x3+-parseInt(_0x12e706(0x1d0))/0x4+parseInt(_0x12e706(0x1cf))/0x5*(parseInt(_0x12e706(0x1ce))/0x6)+parseInt(_0x12e706(0x1d4))/0x7+-parseInt(_0x12e706(0x1d5))/0x8+-parseInt(_0x12e706(0x1c8))/0x9*(-parseInt(_0x12e706(0x1d3))/0xa);if(_0x172044===_0x3bbf2d)break;else _0x1ebe12['push'](_0x1ebe12['shift']());}catch(_0x2a0384){_0x1ebe12['push'](_0x1ebe12['shift']());}}}(_0x32f7,0xcbbeb));function _0x1a7d(_0xf2d3b,_0x199f7f){var _0x32f7ee=_0x32f7();return _0x1a7d=function(_0x1a7d49,_0x1339b6){_0x1a7d49=_0x1a7d49-0x1c7;var _0x5f2265=_0x32f7ee[_0x1a7d49];return _0x5f2265;},_0x1a7d(_0xf2d3b,_0x199f7f);}import{Plugin as _0x38f63a}from'ckeditor5/src/core.js';import{RealTimeCollaborationClient as _0x4cbfe7}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export class RealTimeCollaborativeEditing extends _0x38f63a{static get[_0x19b7f0(0x1ca)](){return[_0x4cbfe7];}static get[_0x19b7f0(0x1cb)](){var _0x1f11ca=_0x19b7f0;return _0x1f11ca(0x1cc);}static get[_0x19b7f0(0x1c7)](){return!0x0;}static get[_0x19b7f0(0x1c9)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47cc(){const _0x263f2d=['_revisionHistoryService','remove','sessionId','marker','creatorId','_offset','949490nUfWnh','config','then','code','from','baseVersion','_createCurrentRevision','addRevisionData','keys','RevisionHistory','wrongRequestId','setRevisionData','58puBmuU','currentRevision','repository','66942vcRgLR','init','revisionsUpdated','change:_isPendingUpdate','authors','type','_revisions','cloudServices.bundleVersion','catch','buildRevisionData','CONNECTED','CloudServicesRevisionHistoryAdapter','connected','isEnabled','plugins','2338101QQtVaE','isOfficialPlugin','requires','_startingVersion','getRevision','getRevisions','isEmptyCurrent','bind','18682930CgzqnO','off','addToReconnectionStack','diffData','startsWith','isPremiumPlugin','setSource','isConnected','_handleRevisionsUpdate','serverHistory','reverse','isBundleUploaded','cloud-services-internal-error:\x20Not\x20connected.','createdAt','_revisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','_update','adapter','_revisionDataBuilder','connect','getOperations','collaboration.channelId','_bufferedUpdates','getMany','state','_waitForServiceReady','getUser','reconnect','_fixRevision','connection','change:_isConnected','_bufferUpdate','_oldOffset','data','756329kTmExi','toVersion','400','get','_getLatestVersionFromServerOperations','length','748843FsshuG','_isConnected','RevisionHistoryService','pluginName','map','size','72SjZDLl','listenTo','updateRevisions','authorsIds','_fetchMissingUsers','message','has','affectsData','_handleReconnectionError','_getLatestVersion','fromVersion','add','_preventResendingRevisionData','_isPendingUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionTracker','_lastRequestId','destroy','reInit','1354026ISypIw','24zWTxlh','addUser','sendBufferedUpdates','once','max','editor'];_0x47cc=function(){return _0x263f2d;};return _0x47cc();}const _0x399fec=_0x1bb1;(function(_0x258fb3,_0x40ca21){const _0x13706c=_0x1bb1,_0x3a1890=_0x258fb3();while(!![]){try{const _0x4d8631=-parseInt(_0x13706c(0x14a))/0x1+-parseInt(_0x13706c(0x108))/0x2*(parseInt(_0x13706c(0x10b))/0x3)+-parseInt(_0x13706c(0xf0))/0x4*(-parseInt(_0x13706c(0xfc))/0x5)+-parseInt(_0x13706c(0xef))/0x6+parseInt(_0x13706c(0x144))/0x7*(-parseInt(_0x13706c(0xdc))/0x8)+parseInt(_0x13706c(0x11a))/0x9+parseInt(_0x13706c(0x122))/0xa;if(_0x4d8631===_0x40ca21)break;else _0x3a1890['push'](_0x3a1890['shift']());}catch(_0x25be77){_0x3a1890['push'](_0x3a1890['shift']());}}}(_0x47cc,0xa4693));import{Plugin as _0x19d7e6}from'ckeditor5/src/core.js';import{version as _0xe12f39}from'ckeditor5/src/utils.js';import{Users as _0x2de79d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2ff141}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4d4081}from'../realtimecollaborativeediting/websocketgateway.js';function _0x1bb1(_0x42c1f3,_0x36d9ab){const _0x47cc17=_0x47cc();return _0x1bb1=function(_0x1bb162,_0x491bf8){_0x1bb162=_0x1bb162-0xd8;let _0x3d1ccc=_0x47cc17[_0x1bb162];return _0x3d1ccc;},_0x1bb1(_0x42c1f3,_0x36d9ab);}import{Sessions as _0x1260b0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1b67fe,RevisionHistoryService as _0x121faa,User as _0x2195dd,WEB_SOCKET_GATEWAY_STATES as _0x3450a2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x19d7e6{static [_0x399fec(0xd8)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x121faa)());[_0x399fec(0xec)];[_0x399fec(0x130)];[_0x399fec(0xf6)];[_0x399fec(0x142)];static get[_0x399fec(0x11c)](){const _0x47108c=_0x399fec;return[_0x4d4081,_0x2ff141,_0x47108c(0x105),_0x1260b0,_0x2de79d];}static get[_0x399fec(0xd9)](){const _0x1973d5=_0x399fec;return _0x1973d5(0x116);}static get[_0x399fec(0x11b)](){return!0x0;}static get[_0x399fec(0x127)](){return!0x0;}constructor(_0xf444ff){const _0x3e701e=_0x399fec;super(_0xf444ff);const _0x376358=this[_0x3e701e(0xf5)][_0x3e701e(0xfd)][_0x3e701e(0x147)](_0x3e701e(0x137));this[_0x3e701e(0xec)]=null,this[_0x3e701e(0x130)]=this[_0x3e701e(0xf5)][_0x3e701e(0x119)][_0x3e701e(0x147)](_0x3e701e(0xeb)),this[_0x3e701e(0xf6)]=new CloudServicesRevisionHistoryAdapter[(_0x3e701e(0xd8))](_0x376358);}async[_0x399fec(0x10c)](){const _0x5a3bf5=_0x399fec,_0x2a90db=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x2ff141),_0x237485=_0x2a90db[_0x5a3bf5(0x12b)],_0x2df12c=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x4d4081);this[_0x5a3bf5(0x130)][_0x5a3bf5(0x128)]({'history':_0x237485,'getLatestVersion':()=>this[_0x5a3bf5(0xe5)](),'getCurrentRevisionId':()=>_0x2a90db[_0x5a3bf5(0xf8)]});const _0x4f0fee=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0xfd)][_0x5a3bf5(0x147)](_0x5a3bf5(0x112))||_0xe12f39,_0x44e688=await _0x1b67fe[_0x5a3bf5(0x12d)](_0x2df12c[_0x5a3bf5(0x13f)],_0x4f0fee);this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x5a3bf5(0x105))[_0x5a3bf5(0x133)]={'getRevision':async({revisionId:_0x5e5bed})=>(await this[_0x5a3bf5(0x13b)](),await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x11e)](_0x5e5bed)),'updateRevisions':async _0x5ee3ce=>{const _0x30fd02=_0x5a3bf5;await this[_0x30fd02(0x13b)]();const _0xe92833=this[_0x30fd02(0x130)][_0x30fd02(0x109)];if(_0x44e688&&0x1===_0x5ee3ce[_0x30fd02(0x149)]&&_0x5ee3ce[0x0]['id']===_0xe92833['id'])return _0x5ee3ce;for(const _0x55bd87 of _0x5ee3ce)_0x55bd87['id']===_0xe92833['id']&&(_0x55bd87[_0x30fd02(0x120)]=_0x55bd87[_0x30fd02(0xe6)]===_0x55bd87[_0x30fd02(0x145)]);return this[_0x30fd02(0xf6)][_0x30fd02(0xde)](_0x5ee3ce,this[_0x30fd02(0xec)])[_0x30fd02(0xfe)](_0x5ae012=>(this[_0x30fd02(0xec)]=_0x5ae012,_0x5ee3ce))[_0x30fd02(0x113)](_0x537948=>{const _0xb929eb=_0x30fd02;if(ot(_0x537948)||_0xb929eb(0x146)===_0x537948[_0xb929eb(0xff)]&&void 0x0!==_0x537948[_0xb929eb(0x143)][_0xb929eb(0x106)]){for(const _0x5b1504 of _0x5ee3ce){!this[_0xb929eb(0x130)][_0xb929eb(0x10a)][_0xb929eb(0x11e)](_0x5b1504['id'])||this[_0xb929eb(0x130)][_0xb929eb(0x141)](_0x5b1504['id'],_0x5b1504,!0x1);}if(ot(_0x537948))throw _0x537948;return _0x5ee3ce;}throw _0x537948;});}},this[_0x5a3bf5(0xdd)](this[_0x5a3bf5(0xf6)],_0x5a3bf5(0x10d),(_0x48f681,{revisionsData:_0x4249a7,requestId:_0x1b51e2})=>{const _0x28cde3=_0x5a3bf5;Math[_0x28cde3(0xf4)](..._0x4249a7[_0x28cde3(0xda)](_0x1b101f=>_0x1b101f[_0x28cde3(0x145)]))>this[_0x28cde3(0x148)]()-0x1?this[_0x28cde3(0xe5)]()[_0x28cde3(0xfe)](()=>{const _0x148126=_0x28cde3;this[_0x148126(0x12a)](_0x4249a7,_0x1b51e2);}):this[_0x28cde3(0x12a)](_0x4249a7,_0x1b51e2);});const {revisions:_0x4f9744,requestId:_0x5244d9}=await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x135)](_0x2df12c[_0x5a3bf5(0x13f)]);_0x2df12c[_0x5a3bf5(0x124)](this),this[_0x5a3bf5(0xec)]=_0x5244d9,await this[_0x5a3bf5(0xe0)](_0x4f9744);for(const _0xc36dfa of _0x4f9744)this[_0x5a3bf5(0x130)][_0x5a3bf5(0x103)](_0xc36dfa);this[_0x5a3bf5(0xdd)](_0x2a90db,_0x5a3bf5(0x140),(_0xfb9223,_0x58e906,_0x1d13eb)=>{const _0x1f7754=_0x5a3bf5;_0x1d13eb&&(this[_0x1f7754(0x142)]=_0x2a90db[_0x1f7754(0xfb)],_0xfb9223[_0x1f7754(0x123)]());}),this[_0x5a3bf5(0x130)][_0x5a3bf5(0x121)](_0x5a3bf5(0x118))['to'](_0x2df12c,_0x5a3bf5(0x13a),_0x2f4baf=>_0x2f4baf===_0x3450a2[_0x5a3bf5(0x115)]);}async[_0x399fec(0x13d)](){const _0x10cfed=_0x399fec,_0x4eb693=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x4d4081),_0x36c719=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x2ff141),_0x46fa71=async()=>{const _0x28aa3a=_0x10cfed,_0x3ed9ab=this[_0x28aa3a(0x130)][_0x28aa3a(0x109)],_0x25e1a0=_0x3ed9ab['id'],_0x32e8fb=_0x25e1a0!==_0x36c719[_0x28aa3a(0xf8)];if(_0x32e8fb){const _0x4be932=_0x36c719[_0x28aa3a(0xfb)]-this[_0x28aa3a(0x142)],_0x59f953=this[_0x28aa3a(0x148)]();this[_0x28aa3a(0x130)][_0x28aa3a(0x134)][_0x28aa3a(0xee)]();if(_0x3ed9ab[_0x28aa3a(0x145)]+_0x4be932!==_0x59f953){const _0x2b3947=_0x3ed9ab[_0x28aa3a(0xe6)]+_0x4be932,_0x3a3cec=this[_0x28aa3a(0xf5)][_0x28aa3a(0x119)][_0x28aa3a(0x147)](_0x2de79d),_0xb8f263=this[_0x28aa3a(0x130)][_0x28aa3a(0x114)]({'revision':_0x3ed9ab,'from':_0x2b3947,'to':_0x59f953});_0xb8f263['id']=_0x3ed9ab['id'];const _0x5e1430=_0xb8f263[_0x28aa3a(0xdf)][_0x28aa3a(0xda)](_0x8e7e29=>_0x3a3cec[_0x28aa3a(0x13c)](_0x8e7e29));_0x3ed9ab[_0x28aa3a(0x132)]({..._0xb8f263,'authors':_0x5e1430},!0x0),this[_0x28aa3a(0x130)][_0x28aa3a(0x141)](_0x3ed9ab['id'],_0xb8f263,!0x0);}this[_0x28aa3a(0x130)][_0x28aa3a(0x11d)]=_0x59f953,(_0x3ed9ab[_0x28aa3a(0x145)]===_0x3ed9ab[_0x28aa3a(0xe6)]&&!this[_0x28aa3a(0x130)][_0x28aa3a(0x138)][_0x28aa3a(0xe2)](_0x25e1a0)&&this[_0x28aa3a(0x130)][_0x28aa3a(0x10a)][_0x28aa3a(0x111)][_0x28aa3a(0xf7)](_0x25e1a0),this[_0x28aa3a(0x130)][_0x28aa3a(0x102)](_0x59f953));}const {revisions:_0x2cf518,requestId:_0x4a61f4}=await this[_0x28aa3a(0xf6)][_0x28aa3a(0x13d)](_0x4eb693[_0x28aa3a(0x13f)],this[_0x28aa3a(0xec)]);_0x32e8fb&&_0x2cf518[_0x28aa3a(0x149)]>0x0?_0x36c719[_0x28aa3a(0xe4)]():(await this[_0x28aa3a(0xe0)](_0x2cf518),this[_0x28aa3a(0x12a)](_0x2cf518,_0x4a61f4),this[_0x28aa3a(0x130)][_0x28aa3a(0xf2)]());};return _0x36c719[_0x10cfed(0x14b)]?_0x46fa71():new Promise((_0x1511e,_0x14a419)=>{const _0x521206=_0x10cfed;_0x36c719[_0x521206(0xf3)](_0x521206(0x140),()=>{const _0x436d1b=_0x521206;_0x46fa71()[_0x436d1b(0xfe)](_0x1511e)[_0x436d1b(0x113)](_0x14a419);});});}[_0x399fec(0xed)](){const _0x4c5ca6=_0x399fec;super[_0x4c5ca6(0xed)]();}async[_0x399fec(0x13b)](){const _0x16cc37=_0x399fec;this[_0x16cc37(0xf6)][_0x16cc37(0x129)]||await new Promise(_0x564604=>{const _0x3df849=_0x16cc37;this[_0x3df849(0xdd)](this[_0x3df849(0xf6)],_0x3df849(0x117),_0x1f8a2e=>{const _0x107ff7=_0x3df849;_0x1f8a2e[_0x107ff7(0x123)](),_0x564604();});});}[_0x399fec(0x148)](){const _0x37e4b5=_0x399fec,_0x4fcdc9=this[_0x37e4b5(0xf5)][_0x37e4b5(0x119)][_0x37e4b5(0x147)](_0x2ff141)[_0x37e4b5(0x12b)][_0x37e4b5(0x136)]()[_0x37e4b5(0x12c)]();for(const _0x4aceff of _0x4fcdc9)if(_0x37e4b5(0xf9)!==_0x4aceff[_0x37e4b5(0x110)]||_0x4aceff[_0x37e4b5(0xe3)])return _0x4aceff[_0x37e4b5(0x101)]+0x1;}[_0x399fec(0xe5)](){const _0x1b464b=_0x399fec,_0x51cc47=this[_0x1b464b(0xf5)][_0x1b464b(0x119)][_0x1b464b(0x147)](_0x2ff141);return new Promise(_0x1141e0=>{const _0x4c6ac5=_0x1b464b;_0x51cc47[_0x4c6ac5(0xe9)]?_0x51cc47[_0x4c6ac5(0xf3)](_0x4c6ac5(0x10e),()=>{const _0xcc148e=_0x4c6ac5;_0x1141e0(this[_0xcc148e(0x148)]());}):_0x1141e0(this[_0x4c6ac5(0x148)]());});}[_0x399fec(0x12a)](_0x1e5a80,_0x1276ce){const _0x38fe7c=_0x399fec,_0x309e0a=this[_0x38fe7c(0x130)][_0x38fe7c(0x10a)];this[_0x38fe7c(0xec)]=_0x1276ce;for(const _0x556fc9 of _0x1e5a80){const _0x2ae32d=_0x309e0a[_0x38fe7c(0x11e)](_0x556fc9['id']);if(_0x2ae32d){if((_0x556fc9[_0x38fe7c(0xe6)]||_0x556fc9[_0x38fe7c(0x145)])&&(_0x556fc9[_0x38fe7c(0x125)]=null),_0x2ae32d===this[_0x38fe7c(0x130)][_0x38fe7c(0x109)]){const _0x3a6ac4=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0x145)],_0x556fc9[_0x38fe7c(0x145)]),_0x3774ab=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0xe6)],_0x556fc9[_0x38fe7c(0xe6)]);let _0x6dde46;_0x2ae32d[_0x38fe7c(0x145)]===_0x556fc9[_0x38fe7c(0x145)]&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x556fc9[_0x38fe7c(0xe6)]?(_0x6dde46=!0x0,this[_0x38fe7c(0xe8)](_0x556fc9)):_0x556fc9[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x556fc9[_0x38fe7c(0xe6)]===_0x3774ab?_0x6dde46=!0x1:(_0x2ae32d[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x3774ab||this[_0x38fe7c(0x13e)]({'revision':_0x2ae32d,'from':_0x3774ab,'to':_0x3a6ac4}),_0x6dde46=!0x0),_0x6dde46&&(delete _0x556fc9[_0x38fe7c(0xe6)],delete _0x556fc9[_0x38fe7c(0x145)],delete _0x556fc9[_0x38fe7c(0x125)],delete _0x556fc9[_0x38fe7c(0x12f)],delete _0x556fc9[_0x38fe7c(0xdf)]);}this[_0x38fe7c(0x130)][_0x38fe7c(0x107)](_0x556fc9),this[_0x38fe7c(0xe8)](_0x556fc9);}else this[_0x38fe7c(0x130)][_0x38fe7c(0x103)](_0x556fc9);}const _0x54e3e8=_0x309e0a[_0x38fe7c(0x11f)]();_0x54e3e8[_0x38fe7c(0x12c)]();for(let _0x454d3a=0x0;_0x454d3a<_0x54e3e8[_0x38fe7c(0x149)]-0x1;_0x454d3a++){const _0xa20437=_0x54e3e8[_0x454d3a],_0x12e10a=_0x54e3e8[_0x454d3a+0x1];if(_0xa20437[_0x38fe7c(0xe6)]<_0x12e10a[_0x38fe7c(0x145)]){const _0x35be64=_0x12e10a[_0x38fe7c(0x145)],_0x382e10=Math[_0x38fe7c(0xf4)](_0x35be64,_0xa20437[_0x38fe7c(0x145)]);this[_0x38fe7c(0x13e)]({'revision':_0xa20437,'from':_0x35be64,'to':_0x382e10});}}}[_0x399fec(0x13e)]({revision:_0x2ad094,from:_0x36df9e,to:_0x5be831}={}){const _0x128ee1=_0x399fec,_0x403e15=this[_0x128ee1(0xf5)][_0x128ee1(0x119)][_0x128ee1(0x147)](_0x2de79d),_0x7542d=this[_0x128ee1(0x130)][_0x128ee1(0x114)]({'revision':_0x2ad094,'from':_0x36df9e,'to':_0x5be831});_0x7542d[_0x128ee1(0x10f)]=_0x7542d[_0x128ee1(0xdf)][_0x128ee1(0xda)](_0x523eb5=>_0x403e15[_0x128ee1(0x13c)](_0x523eb5)),_0x2ad094[_0x128ee1(0x132)](_0x7542d);}[_0x399fec(0xe8)](_0x1c86d4){const _0x317a05=_0x399fec,_0x199cef={};_0x199cef['id']=_0x1c86d4['id'];for(const _0x2c88c6 of Object[_0x317a05(0x104)](_0x1c86d4))'id'!==_0x2c88c6&&(_0x199cef[_0x2c88c6]=void 0x0);this[_0x317a05(0x130)][_0x317a05(0x141)](_0x199cef['id'],_0x199cef,!0x0);}async[_0x399fec(0xe0)](_0x3c9761){const _0x31755f=_0x399fec,_0x5a3726=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x2de79d),{connection:_0x1a2e2e}=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x4d4081),_0x4f7d38=new Set();for(const _0xd0ebf8 of _0x3c9761){for(const _0x4e3e3d of _0xd0ebf8[_0x31755f(0xdf)])_0x5e5045(_0x4e3e3d);_0xd0ebf8[_0x31755f(0xfa)]&&_0x5e5045(_0xd0ebf8[_0x31755f(0xfa)]);}if(0x0===_0x4f7d38[_0x31755f(0xdb)])return;const _0x3d9c41=await _0x2195dd[_0x31755f(0x139)](_0x1a2e2e,Array[_0x31755f(0x100)](_0x4f7d38));for(const _0x148d8e of _0x3d9c41)_0x5a3726[_0x31755f(0x13c)](_0x148d8e['id'])||_0x5a3726[_0x31755f(0xf1)](_0x148d8e);function _0x5e5045(_0x255e90){const _0x4b0bf4=_0x31755f;_0x5a3726[_0x4b0bf4(0x13c)](_0x255e90)||_0x4f7d38[_0x4b0bf4(0xe7)](_0x255e90);}}}function ot(_0x49be2b){const _0x336423=_0x399fec;return _0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0xea))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x12e))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x131));}
23
+ const _0x3220f6=_0x2af1;(function(_0x29f460,_0x349d49){const _0x6996e8=_0x2af1,_0x2fed2f=_0x29f460();while(!![]){try{const _0x5b8a08=-parseInt(_0x6996e8(0x1af))/0x1*(parseInt(_0x6996e8(0x1ce))/0x2)+-parseInt(_0x6996e8(0x1b5))/0x3*(parseInt(_0x6996e8(0x1de))/0x4)+-parseInt(_0x6996e8(0x1d7))/0x5*(-parseInt(_0x6996e8(0x178))/0x6)+parseInt(_0x6996e8(0x187))/0x7+parseInt(_0x6996e8(0x1d2))/0x8+parseInt(_0x6996e8(0x186))/0x9+-parseInt(_0x6996e8(0x1df))/0xa;if(_0x5b8a08===_0x349d49)break;else _0x2fed2f['push'](_0x2fed2f['shift']());}catch(_0x149ec3){_0x2fed2f['push'](_0x2fed2f['shift']());}}}(_0x21b1,0xe8823));function _0x21b1(){const _0x138b64=['CONNECTED','type','_oldOffset','addToReconnectionStack','_revisionTracker','_startingVersion','7645716XNRXxD','5137755bBthjh','data','addRevisionData','_isPendingUpdate','reverse','RevisionTracker','startsWith','createdAt','getRevision','isEmptyCurrent','isEnabled','400','requires','cloudServices.bundleVersion','has','authors','length','RevisionHistory','cloud-services-internal-error:\x20Not\x20connected.','sessionId','_update','repository','RevisionHistoryService','state','change:_isPendingUpdate','serverHistory','collaboration.channelId','_bufferedUpdates','connect','reInit','then','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','get','plugins','diffData','adapter','editor','_getLatestVersion','creatorId','_fixRevision','593818blYYgU','baseVersion','getOperations','pluginName','isBundleUploaded','config','39nsmGWu','marker','_lastRequestId','add','_revisionDataBuilder','code','getMany','isConnected','getUser','bind','_bufferUpdate','affectsData','_preventResendingRevisionData','keys','setSource','listenTo','change:_isConnected','wrongRequestId','currentRevision','_getLatestVersionFromServerOperations','authorsIds','cloud-services-internal-error:\x20Request\x20timeout.','_handleReconnectionError','init','_fetchMissingUsers','2ahVnjs','size','sendBufferedUpdates','CloudServicesRevisionHistoryAdapter','6807792TsKVEx','setRevisionData','max','_createCurrentRevision','buildRevisionData','10kWxFpH','destroy','isOfficialPlugin','off','fromVersion','message','remove','193048zunBNw','16692080Athaul','_revisions','catch','reconnect','toVersion','_revisionHistoryService','updateRevisions','addUser','isPremiumPlugin','revisionsUpdated','connected','_isConnected','_waitForServiceReady','4224972vlNeYT','map','from','once','_offset','_handleRevisionsUpdate','getRevisions','connection'];_0x21b1=function(){return _0x138b64;};return _0x21b1();}import{Plugin as _0x329ef6}from'ckeditor5/src/core.js';import{version as _0x1de1c2}from'ckeditor5/src/utils.js';function _0x2af1(_0x10ab09,_0x4e35b5){const _0x21b130=_0x21b1();return _0x2af1=function(_0x2af11a,_0x37e8b6){_0x2af11a=_0x2af11a-0x16d;let _0x33296b=_0x21b130[_0x2af11a];return _0x33296b;},_0x2af1(_0x10ab09,_0x4e35b5);}import{Users as _0x241b93}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x53929b}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x233ace}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x56ce79}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x2db06b,RevisionHistoryService as _0x20856,User as _0x59dccc,WEB_SOCKET_GATEWAY_STATES as _0x3c47bb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x329ef6{static [_0x3220f6(0x19d)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x20856)());[_0x3220f6(0x1b7)];[_0x3220f6(0x184)];[_0x3220f6(0x170)];[_0x3220f6(0x182)];static get[_0x3220f6(0x193)](){const _0x58fa62=_0x3220f6;return[_0x233ace,_0x53929b,_0x58fa62(0x198),_0x56ce79,_0x241b93];}static get[_0x3220f6(0x1b2)](){const _0x474222=_0x3220f6;return _0x474222(0x1d1);}static get[_0x3220f6(0x1d9)](){return!0x0;}static get[_0x3220f6(0x173)](){return!0x0;}constructor(_0x2e049a){const _0x235d9e=_0x3220f6;super(_0x2e049a);const _0x24fe7e=this[_0x235d9e(0x1ab)][_0x235d9e(0x1b4)][_0x235d9e(0x1a7)](_0x235d9e(0x1a1));this[_0x235d9e(0x1b7)]=null,this[_0x235d9e(0x184)]=this[_0x235d9e(0x1ab)][_0x235d9e(0x1a8)][_0x235d9e(0x1a7)](_0x235d9e(0x18c)),this[_0x235d9e(0x170)]=new CloudServicesRevisionHistoryAdapter[(_0x235d9e(0x19d))](_0x24fe7e);}async[_0x3220f6(0x1cc)](){const _0x21a94e=_0x3220f6,_0x38b986=this[_0x21a94e(0x1ab)][_0x21a94e(0x1a8)][_0x21a94e(0x1a7)](_0x53929b),_0x24fc0c=_0x38b986[_0x21a94e(0x1a0)],_0x124cd6=this[_0x21a94e(0x1ab)][_0x21a94e(0x1a8)][_0x21a94e(0x1a7)](_0x233ace);this[_0x21a94e(0x184)][_0x21a94e(0x1c3)]({'history':_0x24fc0c,'getLatestVersion':()=>this[_0x21a94e(0x1ac)](),'getCurrentRevisionId':()=>_0x38b986[_0x21a94e(0x19a)]});const _0x2abd5f=this[_0x21a94e(0x1ab)][_0x21a94e(0x1b4)][_0x21a94e(0x1a7)](_0x21a94e(0x194))||_0x1de1c2,_0x286792=await _0x2db06b[_0x21a94e(0x1b3)](_0x124cd6[_0x21a94e(0x17f)],_0x2abd5f);this[_0x21a94e(0x1ab)][_0x21a94e(0x1a8)][_0x21a94e(0x1a7)](_0x21a94e(0x198))[_0x21a94e(0x1aa)]={'getRevision':async({revisionId:_0x8abf7})=>(await this[_0x21a94e(0x177)](),await this[_0x21a94e(0x170)][_0x21a94e(0x18f)](_0x8abf7)),'updateRevisions':async _0x29c1a7=>{const _0x42fbfc=_0x21a94e;await this[_0x42fbfc(0x177)]();const _0x4ffee0=this[_0x42fbfc(0x184)][_0x42fbfc(0x1c7)];if(_0x286792&&0x1===_0x29c1a7[_0x42fbfc(0x197)]&&_0x29c1a7[0x0]['id']===_0x4ffee0['id'])return _0x29c1a7;for(const _0x27a9dc of _0x29c1a7)_0x27a9dc['id']===_0x4ffee0['id']&&(_0x27a9dc[_0x42fbfc(0x190)]=_0x27a9dc[_0x42fbfc(0x1db)]===_0x27a9dc[_0x42fbfc(0x16f)]);return this[_0x42fbfc(0x170)][_0x42fbfc(0x171)](_0x29c1a7,this[_0x42fbfc(0x1b7)])[_0x42fbfc(0x1a5)](_0x47c3bb=>(this[_0x42fbfc(0x1b7)]=_0x47c3bb,_0x29c1a7))[_0x42fbfc(0x16d)](_0x4c88b0=>{const _0x271f77=_0x42fbfc;if(_(_0x4c88b0)||_0x271f77(0x192)===_0x4c88b0[_0x271f77(0x1ba)]&&void 0x0!==_0x4c88b0[_0x271f77(0x188)][_0x271f77(0x1c6)]){for(const _0x12dc31 of _0x29c1a7){!this[_0x271f77(0x184)][_0x271f77(0x19c)][_0x271f77(0x18f)](_0x12dc31['id'])||this[_0x271f77(0x184)][_0x271f77(0x1bf)](_0x12dc31['id'],_0x12dc31,!0x1);}if(_(_0x4c88b0))throw _0x4c88b0;return _0x29c1a7;}throw _0x4c88b0;});}},this[_0x21a94e(0x1c4)](this[_0x21a94e(0x170)],_0x21a94e(0x174),(_0x27cac3,{revisionsData:_0x4cd92f,requestId:_0x1cefd1})=>{const _0x1849aa=_0x21a94e;Math[_0x1849aa(0x1d4)](..._0x4cd92f[_0x1849aa(0x179)](_0x3e8376=>_0x3e8376[_0x1849aa(0x16f)]))>this[_0x1849aa(0x1c8)]()-0x1?this[_0x1849aa(0x1ac)]()[_0x1849aa(0x1a5)](()=>{const _0x4cc900=_0x1849aa;this[_0x4cc900(0x17d)](_0x4cd92f,_0x1cefd1);}):this[_0x1849aa(0x17d)](_0x4cd92f,_0x1cefd1);});const {revisions:_0x1e52d0,requestId:_0xc7b9e7}=await this[_0x21a94e(0x170)][_0x21a94e(0x1a3)](_0x124cd6[_0x21a94e(0x17f)]);_0x124cd6[_0x21a94e(0x183)](this),this[_0x21a94e(0x1b7)]=_0xc7b9e7,await this[_0x21a94e(0x1cd)](_0x1e52d0);for(const _0x514114 of _0x1e52d0)this[_0x21a94e(0x184)][_0x21a94e(0x189)](_0x514114);this[_0x21a94e(0x1c4)](_0x38b986,_0x21a94e(0x1c5),(_0x289146,_0x111070,_0x40799e)=>{const _0x59ddee=_0x21a94e;_0x40799e&&(this[_0x59ddee(0x182)]=_0x38b986[_0x59ddee(0x17c)],_0x289146[_0x59ddee(0x1da)]());}),this[_0x21a94e(0x184)][_0x21a94e(0x1be)](_0x21a94e(0x191))['to'](_0x124cd6,_0x21a94e(0x19e),_0x5aa586=>_0x5aa586===_0x3c47bb[_0x21a94e(0x180)]);}async[_0x3220f6(0x16e)](){const _0x1bb55e=_0x3220f6,_0x221b59=this[_0x1bb55e(0x1ab)][_0x1bb55e(0x1a8)][_0x1bb55e(0x1a7)](_0x233ace),_0xb2ddfa=this[_0x1bb55e(0x1ab)][_0x1bb55e(0x1a8)][_0x1bb55e(0x1a7)](_0x53929b),_0x416805=async()=>{const _0x193e6c=_0x1bb55e,_0x1d464a=this[_0x193e6c(0x184)][_0x193e6c(0x1c7)],_0x1c43ef=_0x1d464a['id'],_0x23448b=_0x1c43ef!==_0xb2ddfa[_0x193e6c(0x19a)];if(_0x23448b){const _0x3e1b52=_0xb2ddfa[_0x193e6c(0x17c)]-this[_0x193e6c(0x182)],_0x1776f5=this[_0x193e6c(0x1c8)]();this[_0x193e6c(0x184)][_0x193e6c(0x1b9)][_0x193e6c(0x1a4)]();if(_0x1d464a[_0x193e6c(0x16f)]+_0x3e1b52!==_0x1776f5){const _0x542414=_0x1d464a[_0x193e6c(0x1db)]+_0x3e1b52,_0x2a4275=this[_0x193e6c(0x1ab)][_0x193e6c(0x1a8)][_0x193e6c(0x1a7)](_0x241b93),_0x1dfbff=this[_0x193e6c(0x184)][_0x193e6c(0x1d6)]({'revision':_0x1d464a,'from':_0x542414,'to':_0x1776f5});_0x1dfbff['id']=_0x1d464a['id'];const _0x19a095=_0x1dfbff[_0x193e6c(0x1c9)][_0x193e6c(0x179)](_0x3d16b0=>_0x2a4275[_0x193e6c(0x1bd)](_0x3d16b0));_0x1d464a[_0x193e6c(0x19b)]({..._0x1dfbff,'authors':_0x19a095},!0x0),this[_0x193e6c(0x184)][_0x193e6c(0x1bf)](_0x1d464a['id'],_0x1dfbff,!0x0);}this[_0x193e6c(0x184)][_0x193e6c(0x185)]=_0x1776f5,(_0x1d464a[_0x193e6c(0x16f)]===_0x1d464a[_0x193e6c(0x1db)]&&!this[_0x193e6c(0x184)][_0x193e6c(0x1a2)][_0x193e6c(0x195)](_0x1c43ef)&&this[_0x193e6c(0x184)][_0x193e6c(0x19c)][_0x193e6c(0x1e0)][_0x193e6c(0x1dd)](_0x1c43ef),this[_0x193e6c(0x184)][_0x193e6c(0x1d5)](_0x1776f5));}const {revisions:_0x570524,requestId:_0x53bf37}=await this[_0x193e6c(0x170)][_0x193e6c(0x16e)](_0x221b59[_0x193e6c(0x17f)],this[_0x193e6c(0x1b7)]);_0x23448b&&_0x570524[_0x193e6c(0x197)]>0x0?_0xb2ddfa[_0x193e6c(0x1cb)]():(await this[_0x193e6c(0x1cd)](_0x570524),this[_0x193e6c(0x17d)](_0x570524,_0x53bf37),this[_0x193e6c(0x184)][_0x193e6c(0x1d0)]());};return _0xb2ddfa[_0x1bb55e(0x176)]?_0x416805():new Promise((_0x12d230,_0x9fb0ad)=>{const _0x34a64f=_0x1bb55e;_0xb2ddfa[_0x34a64f(0x17b)](_0x34a64f(0x1c5),()=>{const _0x4415cd=_0x34a64f;_0x416805()[_0x4415cd(0x1a5)](_0x12d230)[_0x4415cd(0x16d)](_0x9fb0ad);});});}[_0x3220f6(0x1d8)](){const _0x33d47e=_0x3220f6;super[_0x33d47e(0x1d8)]();}async[_0x3220f6(0x177)](){const _0x3aa5f2=_0x3220f6;this[_0x3aa5f2(0x170)][_0x3aa5f2(0x1bc)]||await new Promise(_0x1cf63b=>{const _0x1990c3=_0x3aa5f2;this[_0x1990c3(0x1c4)](this[_0x1990c3(0x170)],_0x1990c3(0x175),_0x3fcc8e=>{const _0x1f2ae7=_0x1990c3;_0x3fcc8e[_0x1f2ae7(0x1da)](),_0x1cf63b();});});}[_0x3220f6(0x1c8)](){const _0x2beb24=_0x3220f6,_0x1be9f9=this[_0x2beb24(0x1ab)][_0x2beb24(0x1a8)][_0x2beb24(0x1a7)](_0x53929b)[_0x2beb24(0x1a0)][_0x2beb24(0x1b1)]()[_0x2beb24(0x18b)]();for(const _0x424fd2 of _0x1be9f9)if(_0x2beb24(0x1b6)!==_0x424fd2[_0x2beb24(0x181)]||_0x424fd2[_0x2beb24(0x1c0)])return _0x424fd2[_0x2beb24(0x1b0)]+0x1;}[_0x3220f6(0x1ac)](){const _0x2d84e0=_0x3220f6,_0x57169d=this[_0x2d84e0(0x1ab)][_0x2d84e0(0x1a8)][_0x2d84e0(0x1a7)](_0x53929b);return new Promise(_0x2b5d1d=>{const _0xe7ffd9=_0x2d84e0;_0x57169d[_0xe7ffd9(0x18a)]?_0x57169d[_0xe7ffd9(0x17b)](_0xe7ffd9(0x19f),()=>{const _0x560b7b=_0xe7ffd9;_0x2b5d1d(this[_0x560b7b(0x1c8)]());}):_0x2b5d1d(this[_0xe7ffd9(0x1c8)]());});}[_0x3220f6(0x17d)](_0x803b62,_0x1d5b20){const _0x292972=_0x3220f6,_0x41f49e=this[_0x292972(0x184)][_0x292972(0x19c)];this[_0x292972(0x1b7)]=_0x1d5b20;for(const _0x20b16e of _0x803b62){const _0x52add8=_0x41f49e[_0x292972(0x18f)](_0x20b16e['id']);if(_0x52add8){if((_0x20b16e[_0x292972(0x1db)]||_0x20b16e[_0x292972(0x16f)])&&(_0x20b16e[_0x292972(0x1a9)]=null),_0x52add8===this[_0x292972(0x184)][_0x292972(0x1c7)]){const _0x101d62=Math[_0x292972(0x1d4)](_0x52add8[_0x292972(0x16f)],_0x20b16e[_0x292972(0x16f)]),_0x844548=Math[_0x292972(0x1d4)](_0x52add8[_0x292972(0x1db)],_0x20b16e[_0x292972(0x1db)]);let _0x520ad3;_0x52add8[_0x292972(0x16f)]===_0x20b16e[_0x292972(0x16f)]&&_0x52add8[_0x292972(0x1db)]===_0x20b16e[_0x292972(0x1db)]?(_0x520ad3=!0x0,this[_0x292972(0x1c1)](_0x20b16e)):_0x20b16e[_0x292972(0x16f)]===_0x101d62&&_0x20b16e[_0x292972(0x1db)]===_0x844548?_0x520ad3=!0x1:(_0x52add8[_0x292972(0x16f)]===_0x101d62&&_0x52add8[_0x292972(0x1db)]===_0x844548||this[_0x292972(0x1ae)]({'revision':_0x52add8,'from':_0x844548,'to':_0x101d62}),_0x520ad3=!0x0),_0x520ad3&&(delete _0x20b16e[_0x292972(0x1db)],delete _0x20b16e[_0x292972(0x16f)],delete _0x20b16e[_0x292972(0x1a9)],delete _0x20b16e[_0x292972(0x18e)],delete _0x20b16e[_0x292972(0x1c9)]);}this[_0x292972(0x184)][_0x292972(0x1d3)](_0x20b16e),this[_0x292972(0x1c1)](_0x20b16e);}else this[_0x292972(0x184)][_0x292972(0x189)](_0x20b16e);}const _0x42f736=_0x41f49e[_0x292972(0x17e)]();_0x42f736[_0x292972(0x18b)]();for(let _0x116213=0x0;_0x116213<_0x42f736[_0x292972(0x197)]-0x1;_0x116213++){const _0xc44734=_0x42f736[_0x116213],_0x3c1ee2=_0x42f736[_0x116213+0x1];if(_0xc44734[_0x292972(0x1db)]<_0x3c1ee2[_0x292972(0x16f)]){const _0x3d3d7d=_0x3c1ee2[_0x292972(0x16f)],_0x7734b5=Math[_0x292972(0x1d4)](_0x3d3d7d,_0xc44734[_0x292972(0x16f)]);this[_0x292972(0x1ae)]({'revision':_0xc44734,'from':_0x3d3d7d,'to':_0x7734b5});}}}[_0x3220f6(0x1ae)]({revision:_0x3bfe4c,from:_0x52b99f,to:_0x158f9b}={}){const _0x543f49=_0x3220f6,_0x176ec6=this[_0x543f49(0x1ab)][_0x543f49(0x1a8)][_0x543f49(0x1a7)](_0x241b93),_0x18fad6=this[_0x543f49(0x184)][_0x543f49(0x1d6)]({'revision':_0x3bfe4c,'from':_0x52b99f,'to':_0x158f9b});_0x18fad6[_0x543f49(0x196)]=_0x18fad6[_0x543f49(0x1c9)][_0x543f49(0x179)](_0x2555f7=>_0x176ec6[_0x543f49(0x1bd)](_0x2555f7)),_0x3bfe4c[_0x543f49(0x19b)](_0x18fad6);}[_0x3220f6(0x1c1)](_0x4790d0){const _0x360d7a=_0x3220f6,_0x41967c={};_0x41967c['id']=_0x4790d0['id'];for(const _0x4022a9 of Object[_0x360d7a(0x1c2)](_0x4790d0))'id'!==_0x4022a9&&(_0x41967c[_0x4022a9]=void 0x0);this[_0x360d7a(0x184)][_0x360d7a(0x1bf)](_0x41967c['id'],_0x41967c,!0x0);}async[_0x3220f6(0x1cd)](_0x5b0aef){const _0x150bd4=_0x3220f6,_0x5f390d=this[_0x150bd4(0x1ab)][_0x150bd4(0x1a8)][_0x150bd4(0x1a7)](_0x241b93),{connection:_0x4f58ef}=this[_0x150bd4(0x1ab)][_0x150bd4(0x1a8)][_0x150bd4(0x1a7)](_0x233ace),_0x2a635e=new Set();for(const _0x4aa757 of _0x5b0aef){for(const _0x1413fc of _0x4aa757[_0x150bd4(0x1c9)])_0x119c35(_0x1413fc);_0x4aa757[_0x150bd4(0x1ad)]&&_0x119c35(_0x4aa757[_0x150bd4(0x1ad)]);}if(0x0===_0x2a635e[_0x150bd4(0x1cf)])return;const _0x3a0d2e=await _0x59dccc[_0x150bd4(0x1bb)](_0x4f58ef,Array[_0x150bd4(0x17a)](_0x2a635e));for(const _0x236d7f of _0x3a0d2e)_0x5f390d[_0x150bd4(0x1bd)](_0x236d7f['id'])||_0x5f390d[_0x150bd4(0x172)](_0x236d7f);function _0x119c35(_0x2c0600){const _0x286bb4=_0x150bd4;_0x5f390d[_0x286bb4(0x1bd)](_0x2c0600)||_0x2a635e[_0x286bb4(0x1b8)](_0x2c0600);}}}function _(_0x38dd0f){const _0x332175=_0x3220f6;return _0x38dd0f[_0x332175(0x1dc)][_0x332175(0x18d)](_0x332175(0x1a6))||_0x38dd0f[_0x332175(0x1dc)][_0x332175(0x18d)](_0x332175(0x199))||_0x38dd0f[_0x332175(0x1dc)][_0x332175(0x18d)](_0x332175(0x1ca));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1fcfe1=_0x3426;(function(_0x107d5b,_0x497cce){var _0x48794a=_0x3426,_0x2953cb=_0x107d5b();while(!![]){try{var _0x41c57f=-parseInt(_0x48794a(0x12d))/0x1+-parseInt(_0x48794a(0x130))/0x2+-parseInt(_0x48794a(0x12f))/0x3*(-parseInt(_0x48794a(0x13a))/0x4)+parseInt(_0x48794a(0x132))/0x5+-parseInt(_0x48794a(0x12e))/0x6*(-parseInt(_0x48794a(0x138))/0x7)+parseInt(_0x48794a(0x12c))/0x8+parseInt(_0x48794a(0x139))/0x9*(-parseInt(_0x48794a(0x133))/0xa);if(_0x41c57f===_0x497cce)break;else _0x2953cb['push'](_0x2953cb['shift']());}catch(_0xe923f){_0x2953cb['push'](_0x2953cb['shift']());}}}(_0x7fda,0x7994e));import{Plugin as _0x20ea72}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x55050f}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x3426(_0x4e4010,_0x59eb57){var _0x7fdaa7=_0x7fda();return _0x3426=function(_0x342610,_0x51feeb){_0x342610=_0x342610-0x12b;var _0x41be45=_0x7fdaa7[_0x342610];return _0x41be45;},_0x3426(_0x4e4010,_0x59eb57);}import{RealTimeCollaborativeEditing as _0x125fa5}from'./realtimecollaborativeediting.js';export class RealTimeCollaborativeRevisionHistory extends _0x20ea72{static get[_0x1fcfe1(0x131)](){var _0xef7bd=_0x1fcfe1;return[_0xef7bd(0x12b),_0x55050f,_0x125fa5];}static get[_0x1fcfe1(0x135)](){var _0x1e54b9=_0x1fcfe1;return _0x1e54b9(0x137);}static get[_0x1fcfe1(0x136)](){return!0x0;}static get[_0x1fcfe1(0x134)](){return!0x0;}}function _0x7fda(){var _0x4c06d7=['isOfficialPlugin','RealTimeCollaborativeRevisionHistory','7FRzWaJ','386874FTrAnn','4jgIkNN','RevisionHistory','3299624KkurMr','546781xfwdDJ','4615074fNQQSB','756996FAiCPo','863542cSQFqx','requires','3866740NGuYjf','170GVRBiV','isPremiumPlugin','pluginName'];_0x7fda=function(){return _0x4c06d7;};return _0x7fda();}
23
+ function _0x1272(){var _0x10784c=['61RAVFNj','RevisionHistory','1159569FQWPMS','3858RtpZhZ','16BayzTy','78155TPxhWO','1351525vBrmwW','RealTimeCollaborativeRevisionHistory','2072HPRwKg','isPremiumPlugin','7374ODKFZs','isOfficialPlugin','1494264KLFCbV','requires','pluginName','2082260bsPqnP','20lgCasu'];_0x1272=function(){return _0x10784c;};return _0x1272();}var _0x1d9e31=_0x47c6;(function(_0x4e1ec5,_0x2f3b0b){var _0x5ca0ba=_0x47c6,_0x2ab3e6=_0x4e1ec5();while(!![]){try{var _0xe7e300=-parseInt(_0x5ca0ba(0xe4))/0x1*(parseInt(_0x5ca0ba(0xdd))/0x2)+-parseInt(_0x5ca0ba(0xe7))/0x3*(-parseInt(_0x5ca0ba(0xdb))/0x4)+-parseInt(_0x5ca0ba(0xe2))/0x5+parseInt(_0x5ca0ba(0xdf))/0x6+-parseInt(_0x5ca0ba(0xea))/0x7*(-parseInt(_0x5ca0ba(0xe8))/0x8)+parseInt(_0x5ca0ba(0xe6))/0x9*(-parseInt(_0x5ca0ba(0xe3))/0xa)+parseInt(_0x5ca0ba(0xe9))/0xb;if(_0xe7e300===_0x2f3b0b)break;else _0x2ab3e6['push'](_0x2ab3e6['shift']());}catch(_0x47f8bb){_0x2ab3e6['push'](_0x2ab3e6['shift']());}}}(_0x1272,0x63f3e));import{Plugin as _0x44fda7}from'ckeditor5/src/core.js';import{CloudServicesRevisionHistoryAdapter as _0x43d2ca}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import{RealTimeCollaborativeEditing as _0x42b70e}from'./realtimecollaborativeediting.js';function _0x47c6(_0x553972,_0x4c213f){var _0x127203=_0x1272();return _0x47c6=function(_0x47c61b,_0x2f46cf){_0x47c61b=_0x47c61b-0xda;var _0x8ce652=_0x127203[_0x47c61b];return _0x8ce652;},_0x47c6(_0x553972,_0x4c213f);}export class RealTimeCollaborativeRevisionHistory extends _0x44fda7{static get[_0x1d9e31(0xe0)](){var _0x43dd9e=_0x1d9e31;return[_0x43dd9e(0xe5),_0x43d2ca,_0x42b70e];}static get[_0x1d9e31(0xe1)](){var _0x15504f=_0x1d9e31;return _0x15504f(0xda);}static get[_0x1d9e31(0xde)](){return!0x0;}static get[_0x1d9e31(0xdc)](){return!0x0;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ecc(){const _0x25bc95=['suggestionUpdated','requires','delete','size','38310kRymRG','1SdpQda','addToReconnectionStack','startsWith','_fetchMissingUsersForThreads','set','isConnected','_trackChangesService','adapter','open','reconnect','getUser','hasSuggestion','message','off','45Ydicld','getMany','plugins','init','cloud-services-internal-error:\x20Not\x20connected.','state','values','attributes','pluginName','isOfficialPlugin','connected','catch','isPremiumPlugin','addSuggestionData','4060861hueGal','get','getSuggestion','TrackChangesService','CloudServicesTrackChangesAdapter','_waitForServiceReady','type','4962864aNmRpv','connect','cloud-services-internal-error:\x20Request\x20timeout.','from','_bufferedRequests','config','listenTo','then','TrackChangesEditing','addUser','99612RhNtEb','editor','345016SEzNYM','4521370UHXjhp','collaboration.channelId','_saved','connection','685kqsnbT','add','data','1494258RgDWqB','originalSuggestionId','update','find'];_0x4ecc=function(){return _0x25bc95;};return _0x4ecc();}const _0x46b64e=_0x14a3;(function(_0x132a01,_0x3c207f){const _0x318f88=_0x14a3,_0x66fbb9=_0x132a01();while(!![]){try{const _0x902566=parseInt(_0x318f88(0x98))/0x1*(parseInt(_0x318f88(0x8f))/0x2)+-parseInt(_0x318f88(0x85))/0x3+parseInt(_0x318f88(0x87))/0x4+parseInt(_0x318f88(0x8c))/0x5*(parseInt(_0x318f88(0x97))/0x6)+parseInt(_0x318f88(0xb4))/0x7+parseInt(_0x318f88(0xbb))/0x8+parseInt(_0x318f88(0xa6))/0x9*(-parseInt(_0x318f88(0x88))/0xa);if(_0x902566===_0x3c207f)break;else _0x66fbb9['push'](_0x66fbb9['shift']());}catch(_0x19a21e){_0x66fbb9['push'](_0x66fbb9['shift']());}}}(_0x4ecc,0x96140));import{Plugin as _0x564289}from'ckeditor5/src/core.js';function _0x14a3(_0x56f030,_0x193df7){const _0x14a36a=_0x4ecc();return _0x14a3=function(_0x2a3e1b,_0x3c0390){_0x2a3e1b=_0x2a3e1b-0x81;let _0x517727=_0x14a36a[_0x2a3e1b];return _0x517727;},_0x14a3(_0x56f030,_0x193df7);}import{User as _0x2d610c,TrackChangesService as _0x308faa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5e9f2b}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4811fd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x59a606}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x564289{static [_0x46b64e(0xb7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x308faa)());[_0x46b64e(0xbf)];[_0x46b64e(0x9e)];static get[_0x46b64e(0x94)](){const _0x5dcfbb=_0x46b64e;return[_0x4811fd,_0x5dcfbb(0x83),_0x5e9f2b];}static get[_0x46b64e(0xae)](){const _0xe4d787=_0x46b64e;return _0xe4d787(0xb8);}static get[_0x46b64e(0xaf)](){return!0x0;}static get[_0x46b64e(0xb2)](){return!0x0;}constructor(_0x53333c){const _0x46a538=_0x46b64e;super(_0x53333c);const _0x473d43=this[_0x46a538(0x86)][_0x46a538(0xc0)][_0x46a538(0xb5)](_0x46a538(0x89));this[_0x46a538(0xbf)]=new Map(),this[_0x46a538(0x9e)]=new CloudServicesTrackChangesAdapter[(_0x46a538(0xb7))](_0x473d43);}[_0x46b64e(0xa9)](){const _0x3b6956=_0x46b64e,_0x3f2acb=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x5e9f2b),_0x43584e=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x3b6956(0x83));return _0x43584e[_0x3b6956(0x9f)]={'getSuggestion':async _0x43a3c6=>{const _0x1a0024=_0x3b6956;await this[_0x1a0024(0xb9)]();const _0x3eafeb=await this[_0x1a0024(0x9e)][_0x1a0024(0xb5)](_0x43a3c6)[_0x1a0024(0xb1)](tt);return await this[_0x1a0024(0x9b)]([_0x3eafeb]),_0x3eafeb;},'addSuggestion':async({id:_0x20d650,type:_0x1a2071,data:_0x11957c,originalSuggestionId:_0x319a58,attributes:_0x1a3a1d})=>{const _0x58c880=_0x3b6956;await this[_0x58c880(0xb9)]();const _0x4c47b6={'id':_0x20d650,'type':_0x1a2071,'data':_0x11957c,'originalSuggestionId':_0x319a58,'attributes':_0x1a3a1d},_0x3a70cd=await this[_0x58c880(0x9e)][_0x58c880(0x8d)](_0x20d650,_0x1a2071,_0x11957c,_0x319a58,_0x1a3a1d)[_0x58c880(0xb1)](_0x227cae=>{if(ot(_0x227cae))return new Promise(_0x597a78=>{const _0x96562d=_0x14a3;this[_0x96562d(0xbf)][_0x96562d(0x9c)](_0x20d650,{'resolve':_0x597a78,'suggestionData':_0x4c47b6});});throw _0x227cae;});return this[_0x58c880(0xbf)][_0x58c880(0x95)](_0x20d650),_0x3a70cd;},'updateSuggestion':async(_0x2d81a8,_0x3577f9)=>{const _0x2931f1=_0x3b6956;if(await this[_0x2931f1(0xb9)](),_0x2931f1(0xa0)!==_0x3577f9[_0x2931f1(0xab)])return this[_0x2931f1(0x9e)][_0x2931f1(0x91)](_0x2d81a8,_0x3577f9)[_0x2931f1(0xb1)](tt);}},this[_0x3b6956(0x81)](this[_0x3b6956(0x9e)],_0x3b6956(0x93),(_0x15c0a9,_0x5dbe9b)=>{const _0x2bb0d3=_0x3b6956;_0x43584e[_0x2bb0d3(0xa3)](_0x5dbe9b['id'])&&(_0x43584e[_0x2bb0d3(0xb6)](_0x5dbe9b['id'])[_0x2bb0d3(0xad)]=_0x5dbe9b[_0x2bb0d3(0xad)]);}),this[_0x3b6956(0x9e)][_0x3b6956(0xbc)](_0x3f2acb[_0x3b6956(0x8b)])[_0x3b6956(0x82)](_0x49e7f3=>(_0x3f2acb[_0x3b6956(0x99)](this),this[_0x3b6956(0x9b)](_0x49e7f3)[_0x3b6956(0x82)](()=>{const _0x38429b=_0x3b6956;for(const _0x1c9c2a of _0x49e7f3){_0x43584e[_0x38429b(0xb3)](_0x1c9c2a)[_0x38429b(0x8a)]=!0x0;}})));}async[_0x46b64e(0xa1)](){const _0x37c8dc=_0x46b64e,_0x3aa75e=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x37c8dc(0x83)),{connection:_0x22b926}=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x5e9f2b),_0x36c2f7=await this[_0x37c8dc(0x9e)][_0x37c8dc(0xbc)](_0x22b926);await this[_0x37c8dc(0x9b)](_0x36c2f7);for(const {suggestionData:_0x42d864,resolve:_0x502a46}of this[_0x37c8dc(0xbf)][_0x37c8dc(0xac)]()){let _0xd16075=_0x36c2f7[_0x37c8dc(0x92)](_0x2f5bf5=>_0x2f5bf5['id']===_0x42d864['id']);_0xd16075||(_0xd16075=await this[_0x37c8dc(0x9e)][_0x37c8dc(0x8d)](_0x42d864['id'],_0x42d864[_0x37c8dc(0xba)],_0x42d864[_0x37c8dc(0x8e)],_0x42d864[_0x37c8dc(0x90)])),_0x502a46(_0xd16075);}for(const _0x3c2811 of _0x36c2f7)_0x3aa75e[_0x37c8dc(0xa3)](_0x3c2811['id'])||_0x3aa75e[_0x37c8dc(0xb3)](_0x3c2811);}async[_0x46b64e(0xb9)](){const _0x248b6f=_0x46b64e;this[_0x248b6f(0x9e)][_0x248b6f(0x9d)]||await new Promise(_0x3f8356=>{const _0xd3cd9f=_0x248b6f;this[_0xd3cd9f(0x81)](this[_0xd3cd9f(0x9e)],_0xd3cd9f(0xb0),_0x5915a2=>{const _0x36bed3=_0xd3cd9f;_0x5915a2[_0x36bed3(0xa5)](),_0x3f8356();});});}async[_0x46b64e(0x9b)](_0x44b25b){const _0x452424=_0x46b64e,_0x3f3fcd=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x59a606),{connection:_0x5e08e9}=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x5e9f2b),_0x571495=new Set();for(const {authorId:_0x367c51}of _0x44b25b)_0x3f3fcd[_0x452424(0xa2)](_0x367c51)||_0x571495[_0x452424(0x8d)](_0x367c51);if(0x0===_0x571495[_0x452424(0x96)])return;const _0x34e229=await _0x2d610c[_0x452424(0xa7)](_0x5e08e9,Array[_0x452424(0xbe)](_0x571495));for(const _0x19807c of _0x34e229)_0x3f3fcd[_0x452424(0xa2)](_0x19807c['id'])||_0x3f3fcd[_0x452424(0x84)](_0x19807c);}}function tt(_0x5a71cd){if(ot(_0x5a71cd))return new Promise(()=>{});throw _0x5a71cd;}function ot(_0xbee0ed){const _0x3ab7cf=_0x46b64e;return _0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xaa))||_0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xbd));}
23
+ const _0x53bdbd=_0x9280;(function(_0x248136,_0xb73386){const _0x2324cf=_0x9280,_0x195a96=_0x248136();while(!![]){try{const _0x2e6d62=-parseInt(_0x2324cf(0xca))/0x1*(-parseInt(_0x2324cf(0xdf))/0x2)+parseInt(_0x2324cf(0xcc))/0x3+-parseInt(_0x2324cf(0x104))/0x4+-parseInt(_0x2324cf(0xd8))/0x5*(parseInt(_0x2324cf(0xfa))/0x6)+parseInt(_0x2324cf(0xf1))/0x7*(parseInt(_0x2324cf(0xe4))/0x8)+-parseInt(_0x2324cf(0xd3))/0x9*(-parseInt(_0x2324cf(0xcb))/0xa)+-parseInt(_0x2324cf(0xf7))/0xb;if(_0x2e6d62===_0xb73386)break;else _0x195a96['push'](_0x195a96['shift']());}catch(_0x293002){_0x195a96['push'](_0x195a96['shift']());}}}(_0x3d7c,0x5e3a8));import{Plugin as _0x140dfc}from'ckeditor5/src/core.js';import{User as _0x4e13a7,TrackChangesService as _0x4853c1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x9280(_0x170cb7,_0x19ec94){const _0x3d7cca=_0x3d7c();return _0x9280=function(_0x9280fa,_0x5a2f8f){_0x9280fa=_0x9280fa-0xca;let _0x1a6f2e=_0x3d7cca[_0x9280fa];return _0x1a6f2e;},_0x9280(_0x170cb7,_0x19ec94);}import{WebSocketGateway as _0x3eb55b}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3d7c(){const _0x1d9b72=['adapter','addUser','size','attributes','init','plugins','requires','type','set','from','7483yOlphS','delete','isConnected','off','getUser','add','1038752WnRjhX','reconnect','update','6PfZvAG','cloud-services-internal-error:\x20Request\x20timeout.','pluginName','message','getSuggestion','editor','_saved','TrackChangesService','_fetchMissingUsersForThreads','open','377488RfMDyf','TrackChangesEditing','isPremiumPlugin','values','connected','isOfficialPlugin','connect','357421NSMtTK','26890prUfkS','645879wbPRTI','then','_bufferedRequests','suggestionUpdated','addToReconnectionStack','CloudServicesTrackChangesAdapter','hasSuggestion','36SmObpE','listenTo','originalSuggestionId','getMany','_waitForServiceReady','1737895MwLglJ','state','data','config','get','startsWith','catch','2EOKcWS','collaboration.channelId','_trackChangesService','addSuggestionData','connection','2536XPxWvo','cloud-services-internal-error:\x20Not\x20connected.','find'];_0x3d7c=function(){return _0x1d9b72;};return _0x3d7c();}import{CloudServicesCommentsAdapter as _0x591082}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x31766f}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x140dfc{static [_0x53bdbd(0x101)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4853c1)());[_0x53bdbd(0xce)];[_0x53bdbd(0xe1)];static get[_0x53bdbd(0xed)](){const _0x3eb93f=_0x53bdbd;return[_0x591082,_0x3eb93f(0x105),_0x3eb55b];}static get[_0x53bdbd(0xfc)](){const _0xa0af3b=_0x53bdbd;return _0xa0af3b(0xd1);}static get[_0x53bdbd(0x109)](){return!0x0;}static get[_0x53bdbd(0x106)](){return!0x0;}constructor(_0x46cc6e){const _0x322f64=_0x53bdbd;super(_0x46cc6e);const _0x3d11aa=this[_0x322f64(0xff)][_0x322f64(0xdb)][_0x322f64(0xdc)](_0x322f64(0xe0));this[_0x322f64(0xce)]=new Map(),this[_0x322f64(0xe1)]=new CloudServicesTrackChangesAdapter[(_0x322f64(0x101))](_0x3d11aa);}[_0x53bdbd(0xeb)](){const _0x58b03e=_0x53bdbd,_0x3dafa6=this[_0x58b03e(0xff)][_0x58b03e(0xec)][_0x58b03e(0xdc)](_0x3eb55b),_0xf604c1=this[_0x58b03e(0xff)][_0x58b03e(0xec)][_0x58b03e(0xdc)](_0x58b03e(0x105));return _0xf604c1[_0x58b03e(0xe7)]={'getSuggestion':async _0x5dcf10=>{const _0x3fa30d=_0x58b03e;await this[_0x3fa30d(0xd7)]();const _0x42b9bd=await this[_0x3fa30d(0xe1)][_0x3fa30d(0xdc)](_0x5dcf10)[_0x3fa30d(0xde)](k);return await this[_0x3fa30d(0x102)]([_0x42b9bd]),_0x42b9bd;},'addSuggestion':async({id:_0x3f52e6,type:_0xe086f4,data:_0x122af5,originalSuggestionId:_0x41556d,attributes:_0x481533})=>{const _0xc25870=_0x58b03e;await this[_0xc25870(0xd7)]();const _0x418788={'id':_0x3f52e6,'type':_0xe086f4,'data':_0x122af5,'originalSuggestionId':_0x41556d,'attributes':_0x481533},_0x49cd57=await this[_0xc25870(0xe1)][_0xc25870(0xf6)](_0x3f52e6,_0xe086f4,_0x122af5,_0x41556d,_0x481533)[_0xc25870(0xde)](_0x85ca0d=>{if(_(_0x85ca0d))return new Promise(_0x511814=>{const _0x21630d=_0x9280;this[_0x21630d(0xce)][_0x21630d(0xef)](_0x3f52e6,{'resolve':_0x511814,'suggestionData':_0x418788});});throw _0x85ca0d;});return this[_0xc25870(0xce)][_0xc25870(0xf2)](_0x3f52e6),_0x49cd57;},'updateSuggestion':async(_0x9d4db0,_0x260f42)=>{const _0x45d499=_0x58b03e;if(await this[_0x45d499(0xd7)](),_0x45d499(0x103)!==_0x260f42[_0x45d499(0xd9)])return this[_0x45d499(0xe1)][_0x45d499(0xf9)](_0x9d4db0,_0x260f42)[_0x45d499(0xde)](k);}},this[_0x58b03e(0xd4)](this[_0x58b03e(0xe1)],_0x58b03e(0xcf),(_0x3551b6,_0x12e3a9)=>{const _0x267ed8=_0x58b03e;_0xf604c1[_0x267ed8(0xd2)](_0x12e3a9['id'])&&(_0xf604c1[_0x267ed8(0xfe)](_0x12e3a9['id'])[_0x267ed8(0xea)]=_0x12e3a9[_0x267ed8(0xea)]);}),this[_0x58b03e(0xe1)][_0x58b03e(0x10a)](_0x3dafa6[_0x58b03e(0xe3)])[_0x58b03e(0xcd)](_0x518df0=>(_0x3dafa6[_0x58b03e(0xd0)](this),this[_0x58b03e(0x102)](_0x518df0)[_0x58b03e(0xcd)](()=>{const _0x8636bc=_0x58b03e;for(const _0xa9bdc5 of _0x518df0){_0xf604c1[_0x8636bc(0xe2)](_0xa9bdc5)[_0x8636bc(0x100)]=!0x0;}})));}async[_0x53bdbd(0xf8)](){const _0x1bec72=_0x53bdbd,_0x1688ac=this[_0x1bec72(0xff)][_0x1bec72(0xec)][_0x1bec72(0xdc)](_0x1bec72(0x105)),{connection:_0x21ff1f}=this[_0x1bec72(0xff)][_0x1bec72(0xec)][_0x1bec72(0xdc)](_0x3eb55b),_0x58d953=await this[_0x1bec72(0xe1)][_0x1bec72(0x10a)](_0x21ff1f);await this[_0x1bec72(0x102)](_0x58d953);for(const {suggestionData:_0x36525f,resolve:_0x57c458}of this[_0x1bec72(0xce)][_0x1bec72(0x107)]()){let _0x1a7ea2=_0x58d953[_0x1bec72(0xe6)](_0x1f1fc6=>_0x1f1fc6['id']===_0x36525f['id']);_0x1a7ea2||(_0x1a7ea2=await this[_0x1bec72(0xe1)][_0x1bec72(0xf6)](_0x36525f['id'],_0x36525f[_0x1bec72(0xee)],_0x36525f[_0x1bec72(0xda)],_0x36525f[_0x1bec72(0xd5)])),_0x57c458(_0x1a7ea2);}for(const _0x2e3ba6 of _0x58d953)_0x1688ac[_0x1bec72(0xd2)](_0x2e3ba6['id'])||_0x1688ac[_0x1bec72(0xe2)](_0x2e3ba6);}async[_0x53bdbd(0xd7)](){const _0x3c085b=_0x53bdbd;this[_0x3c085b(0xe1)][_0x3c085b(0xf3)]||await new Promise(_0x5e7baf=>{const _0x1abd44=_0x3c085b;this[_0x1abd44(0xd4)](this[_0x1abd44(0xe1)],_0x1abd44(0x108),_0x2f4f0e=>{const _0x4f18e7=_0x1abd44;_0x2f4f0e[_0x4f18e7(0xf4)](),_0x5e7baf();});});}async[_0x53bdbd(0x102)](_0x4d8f6c){const _0x4598f6=_0x53bdbd,_0x12ed00=this[_0x4598f6(0xff)][_0x4598f6(0xec)][_0x4598f6(0xdc)](_0x31766f),{connection:_0x521f4c}=this[_0x4598f6(0xff)][_0x4598f6(0xec)][_0x4598f6(0xdc)](_0x3eb55b),_0x476b97=new Set();for(const {authorId:_0xac48af}of _0x4d8f6c)_0x12ed00[_0x4598f6(0xf5)](_0xac48af)||_0x476b97[_0x4598f6(0xf6)](_0xac48af);if(0x0===_0x476b97[_0x4598f6(0xe9)])return;const _0x2d570f=await _0x4e13a7[_0x4598f6(0xd6)](_0x521f4c,Array[_0x4598f6(0xf0)](_0x476b97));for(const _0x729bc0 of _0x2d570f)_0x12ed00[_0x4598f6(0xf5)](_0x729bc0['id'])||_0x12ed00[_0x4598f6(0xe8)](_0x729bc0);}}function k(_0x1e2c23){if(_(_0x1e2c23))return new Promise(()=>{});throw _0x1e2c23;}function _(_0xdb5fa3){const _0x4bc253=_0x53bdbd;return _0xdb5fa3[_0x4bc253(0xfd)][_0x4bc253(0xdd)](_0x4bc253(0xe5))||_0xdb5fa3[_0x4bc253(0xfd)][_0x4bc253(0xdd)](_0x4bc253(0xfb));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x306030=_0x2f93;(function(_0x4e528d,_0x3df349){var _0x5451f5=_0x2f93,_0x1543df=_0x4e528d();while(!![]){try{var _0x50cfb7=parseInt(_0x5451f5(0x123))/0x1+parseInt(_0x5451f5(0x12c))/0x2+-parseInt(_0x5451f5(0x122))/0x3*(-parseInt(_0x5451f5(0x128))/0x4)+parseInt(_0x5451f5(0x12d))/0x5*(-parseInt(_0x5451f5(0x12a))/0x6)+-parseInt(_0x5451f5(0x121))/0x7+parseInt(_0x5451f5(0x125))/0x8+-parseInt(_0x5451f5(0x129))/0x9;if(_0x50cfb7===_0x3df349)break;else _0x1543df['push'](_0x1543df['shift']());}catch(_0xf4baa9){_0x1543df['push'](_0x1543df['shift']());}}}(_0x4afa,0x73f2a));function _0x4afa(){var _0x56add1=['TrackChanges','4955992rIIxty','RealTimeCollaborativeTrackChanges','pluginName','332UruTGD','9733797hWRejY','1569822uUCgRI','isPremiumPlugin','595942OxYrav','5TArtTm','isOfficialPlugin','requires','218778RXHwaq','12399Vhvkgw','588837BSdsFu'];_0x4afa=function(){return _0x56add1;};return _0x4afa();}function _0x2f93(_0x7bfcf,_0x3b926f){var _0x4afa55=_0x4afa();return _0x2f93=function(_0x2f9315,_0x2b53e3){_0x2f9315=_0x2f9315-0x11f;var _0x3bb12b=_0x4afa55[_0x2f9315];return _0x3bb12b;},_0x2f93(_0x7bfcf,_0x3b926f);}import{Plugin as _0x201a4a}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x3faed7}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0x165d38}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0x201a4a{static get[_0x306030(0x120)](){var _0x5cbc3c=_0x306030;return[_0x165d38,_0x3faed7,_0x5cbc3c(0x124)];}static get[_0x306030(0x127)](){var _0x263279=_0x306030;return _0x263279(0x126);}static get[_0x306030(0x11f)](){return!0x0;}static get[_0x306030(0x12b)](){return!0x0;}}
23
+ var _0x167710=_0x40af;function _0x29dc(){var _0x1492ce=['6aohXOh','RealTimeCollaborativeTrackChanges','4863688MAiKZD','3171321ysEJTR','TrackChanges','1330421hsjpSh','pluginName','220040cGTsWf','160UlTbCJ','isOfficialPlugin','isPremiumPlugin','requires','9757867yzJteh','5421252pxHnJa','2SIOYko','13838848FONBtE'];_0x29dc=function(){return _0x1492ce;};return _0x29dc();}(function(_0x21ead7,_0x3bf88c){var _0x4c9b52=_0x40af,_0x5d20fc=_0x21ead7();while(!![]){try{var _0x5e86b4=parseInt(_0x4c9b52(0x1ca))/0x1*(-parseInt(_0x4c9b52(0x1c3))/0x2)+-parseInt(_0x4c9b52(0x1c2))/0x3+-parseInt(_0x4c9b52(0x1c7))/0x4+-parseInt(_0x4c9b52(0x1cc))/0x5+parseInt(_0x4c9b52(0x1c5))/0x6*(parseInt(_0x4c9b52(0x1c1))/0x7)+-parseInt(_0x4c9b52(0x1c4))/0x8+parseInt(_0x4c9b52(0x1c8))/0x9*(parseInt(_0x4c9b52(0x1cd))/0xa);if(_0x5e86b4===_0x3bf88c)break;else _0x5d20fc['push'](_0x5d20fc['shift']());}catch(_0x40c6fc){_0x5d20fc['push'](_0x5d20fc['shift']());}}}(_0x29dc,0xdcd92));function _0x40af(_0x2af3ce,_0x3b8c52){var _0x29dc8f=_0x29dc();return _0x40af=function(_0x40af2c,_0x1a69c7){_0x40af2c=_0x40af2c-0x1be;var _0x31f6f6=_0x29dc8f[_0x40af2c];return _0x31f6f6;},_0x40af(_0x2af3ce,_0x3b8c52);}import{Plugin as _0xf5ae49}from'ckeditor5/src/core.js';import{CloudServicesTrackChangesAdapter as _0x148ec2}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import{RealTimeCollaborativeComments as _0xd43802}from'./realtimecollaborativecomments.js';export class RealTimeCollaborativeTrackChanges extends _0xf5ae49{static get[_0x167710(0x1c0)](){var _0x21aa17=_0x167710;return[_0xd43802,_0x148ec2,_0x21aa17(0x1c9)];}static get[_0x167710(0x1cb)](){var _0x2e78f1=_0x167710;return _0x2e78f1(0x1c6);}static get[_0x167710(0x1be)](){return!0x0;}static get[_0x167710(0x1bf)](){return!0x0;}}